@juejin-opensource/jusage 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/rank-rho9cnvt.js","assets/env-zw6gWqFK.js","assets/index-Cx78OSHq.js","assets/pricing-BG8I1tLI.js","assets/index-Y8p4IgcB.js","assets/download-Ce2CqEkq.js","assets/ChevronDown-CBnDSnT1.js","assets/dashboard-Dj9OZI8h.js","assets/dashboard-QA2DxQpC.css"])))=>i.map(i=>d[i]);
2
- var Ag=e=>{throw TypeError(e)};var Lg=(e,t,l)=>t.has(e)||Ag("Cannot "+l);var kg=(e,t,l)=>(Lg(e,t,"read from private field"),l?l.call(e):t.get(e)),Ng=(e,t,l)=>t.has(e)?Ag("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,l),Xd=(e,t,l,r)=>(Lg(e,t,"write to private field"),r?r.call(e,l):t.set(e,l),l);function l8(e,t){for(var l=0;l<t.length;l++){const r=t[l];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const u of s.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function l(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=l(i);fetch(i.href,s)}})();function gy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wd={exports:{}},po={};/**
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/rank-BYr_YPZj.js","assets/env-C1SSlRgu.js","assets/index-C0e96pRE.js","assets/pricing-D-4md3s8.js","assets/download-BJbOqei8.js","assets/ChevronDown-BMySI3-K.js","assets/dashboard-BT3j8KDK.js","assets/dashboard-QA2DxQpC.css"])))=>i.map(i=>d[i]);
2
+ var Ag=e=>{throw TypeError(e)};var Lg=(e,t,l)=>t.has(e)||Ag("Cannot "+l);var kg=(e,t,l)=>(Lg(e,t,"read from private field"),l?l.call(e):t.get(e)),Ng=(e,t,l)=>t.has(e)?Ag("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,l),Xd=(e,t,l,r)=>(Lg(e,t,"write to private field"),r?r.call(e,l):t.set(e,l),l);function a8(e,t){for(var l=0;l<t.length;l++){const r=t[l];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const u of s.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function l(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=l(i);fetch(i.href,s)}})();function by(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wd={exports:{}},po={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
5
5
  *
@@ -7,7 +7,7 @@ var Ag=e=>{throw TypeError(e)};var Lg=(e,t,l)=>t.has(e)||Ag("Cannot "+l);var kg=
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var Dg;function a8(){if(Dg)return po;Dg=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function l(r,i,s){var u=null;if(s!==void 0&&(u=""+s),i.key!==void 0&&(u=""+i.key),"key"in i){s={};for(var f in i)f!=="key"&&(s[f]=i[f])}else s=i;return i=s.ref,{$$typeof:e,type:r,key:u,ref:i!==void 0?i:null,props:s}}return po.Fragment=t,po.jsx=l,po.jsxs=l,po}var $g;function r8(){return $g||($g=1,Wd.exports=a8()),Wd.exports}var E=r8(),Zd={exports:{}},Te={};/**
10
+ */var Dg;function r8(){if(Dg)return po;Dg=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function l(r,i,s){var u=null;if(s!==void 0&&(u=""+s),i.key!==void 0&&(u=""+i.key),"key"in i){s={};for(var f in i)f!=="key"&&(s[f]=i[f])}else s=i;return i=s.ref,{$$typeof:e,type:r,key:u,ref:i!==void 0?i:null,props:s}}return po.Fragment=t,po.jsx=l,po.jsxs=l,po}var $g;function i8(){return $g||($g=1,Wd.exports=r8()),Wd.exports}var E=i8(),Zd={exports:{}},Te={};/**
11
11
  * @license React
12
12
  * react.production.js
13
13
  *
@@ -15,7 +15,7 @@ var Ag=e=>{throw TypeError(e)};var Lg=(e,t,l)=>t.has(e)||Ag("Cannot "+l);var kg=
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var zg;function i8(){if(zg)return Te;zg=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),v=Symbol.iterator;function w(D){return D===null||typeof D!="object"?null:(D=v&&D[v]||D["@@iterator"],typeof D=="function"?D:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,C={};function N(D,Q,se){this.props=D,this.context=Q,this.refs=C,this.updater=se||x}N.prototype.isReactComponent={},N.prototype.setState=function(D,Q){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,Q,"setState")},N.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function M(){}M.prototype=N.prototype;function L(D,Q,se){this.props=D,this.context=Q,this.refs=C,this.updater=se||x}var k=L.prototype=new M;k.constructor=L,T(k,N.prototype),k.isPureReactComponent=!0;var B=Array.isArray;function G(){}var $={H:null,A:null,T:null,S:null},A=Object.prototype.hasOwnProperty;function U(D,Q,se){var ce=se.ref;return{$$typeof:e,type:D,key:Q,ref:ce!==void 0?ce:null,props:se}}function K(D,Q){return U(D.type,Q,D.props)}function q(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function te(D){var Q={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(se){return Q[se]})}var ne=/\/+/g;function j(D,Q){return typeof D=="object"&&D!==null&&D.key!=null?te(""+D.key):Q.toString(36)}function Y(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(G,G):(D.status="pending",D.then(function(Q){D.status==="pending"&&(D.status="fulfilled",D.value=Q)},function(Q){D.status==="pending"&&(D.status="rejected",D.reason=Q)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function z(D,Q,se,ce,H){var ie=typeof D;(ie==="undefined"||ie==="boolean")&&(D=null);var xe=!1;if(D===null)xe=!0;else switch(ie){case"bigint":case"string":case"number":xe=!0;break;case"object":switch(D.$$typeof){case e:case t:xe=!0;break;case p:return xe=D._init,z(xe(D._payload),Q,se,ce,H)}}if(xe)return H=H(D),xe=ce===""?"."+j(D,0):ce,B(H)?(se="",xe!=null&&(se=xe.replace(ne,"$&/")+"/"),z(H,Q,se,"",function(Lt){return Lt})):H!=null&&(q(H)&&(H=K(H,se+(H.key==null||D&&D.key===H.key?"":(""+H.key).replace(ne,"$&/")+"/")+xe)),Q.push(H)),1;xe=0;var Ae=ce===""?".":ce+":";if(B(D))for(var de=0;de<D.length;de++)ce=D[de],ie=Ae+j(ce,de),xe+=z(ce,Q,se,ie,H);else if(de=w(D),typeof de=="function")for(D=de.call(D),de=0;!(ce=D.next()).done;)ce=ce.value,ie=Ae+j(ce,de++),xe+=z(ce,Q,se,ie,H);else if(ie==="object"){if(typeof D.then=="function")return z(Y(D),Q,se,ce,H);throw Q=String(D),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return xe}function O(D,Q,se){if(D==null)return D;var ce=[],H=0;return z(D,ce,"","",function(ie){return Q.call(se,ie,H++)}),ce}function oe(D){if(D._status===-1){var Q=D._result;Q=Q(),Q.then(function(se){(D._status===0||D._status===-1)&&(D._status=1,D._result=se)},function(se){(D._status===0||D._status===-1)&&(D._status=2,D._result=se)}),D._status===-1&&(D._status=0,D._result=Q)}if(D._status===1)return D._result.default;throw D._result}var J=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},_={map:O,forEach:function(D,Q,se){O(D,function(){Q.apply(this,arguments)},se)},count:function(D){var Q=0;return O(D,function(){Q++}),Q},toArray:function(D){return O(D,function(Q){return Q})||[]},only:function(D){if(!q(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return Te.Activity=b,Te.Children=_,Te.Component=N,Te.Fragment=l,Te.Profiler=i,Te.PureComponent=L,Te.StrictMode=r,Te.Suspense=d,Te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,Te.__COMPILER_RUNTIME={__proto__:null,c:function(D){return $.H.useMemoCache(D)}},Te.cache=function(D){return function(){return D.apply(null,arguments)}},Te.cacheSignal=function(){return null},Te.cloneElement=function(D,Q,se){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var ce=T({},D.props),H=D.key;if(Q!=null)for(ie in Q.key!==void 0&&(H=""+Q.key),Q)!A.call(Q,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&Q.ref===void 0||(ce[ie]=Q[ie]);var ie=arguments.length-2;if(ie===1)ce.children=se;else if(1<ie){for(var xe=Array(ie),Ae=0;Ae<ie;Ae++)xe[Ae]=arguments[Ae+2];ce.children=xe}return U(D.type,H,ce)},Te.createContext=function(D){return D={$$typeof:u,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:s,_context:D},D},Te.createElement=function(D,Q,se){var ce,H={},ie=null;if(Q!=null)for(ce in Q.key!==void 0&&(ie=""+Q.key),Q)A.call(Q,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(H[ce]=Q[ce]);var xe=arguments.length-2;if(xe===1)H.children=se;else if(1<xe){for(var Ae=Array(xe),de=0;de<xe;de++)Ae[de]=arguments[de+2];H.children=Ae}if(D&&D.defaultProps)for(ce in xe=D.defaultProps,xe)H[ce]===void 0&&(H[ce]=xe[ce]);return U(D,ie,H)},Te.createRef=function(){return{current:null}},Te.forwardRef=function(D){return{$$typeof:f,render:D}},Te.isValidElement=q,Te.lazy=function(D){return{$$typeof:p,_payload:{_status:-1,_result:D},_init:oe}},Te.memo=function(D,Q){return{$$typeof:h,type:D,compare:Q===void 0?null:Q}},Te.startTransition=function(D){var Q=$.T,se={};$.T=se;try{var ce=D(),H=$.S;H!==null&&H(se,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(G,J)}catch(ie){J(ie)}finally{Q!==null&&se.types!==null&&(Q.types=se.types),$.T=Q}},Te.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},Te.use=function(D){return $.H.use(D)},Te.useActionState=function(D,Q,se){return $.H.useActionState(D,Q,se)},Te.useCallback=function(D,Q){return $.H.useCallback(D,Q)},Te.useContext=function(D){return $.H.useContext(D)},Te.useDebugValue=function(){},Te.useDeferredValue=function(D,Q){return $.H.useDeferredValue(D,Q)},Te.useEffect=function(D,Q){return $.H.useEffect(D,Q)},Te.useEffectEvent=function(D){return $.H.useEffectEvent(D)},Te.useId=function(){return $.H.useId()},Te.useImperativeHandle=function(D,Q,se){return $.H.useImperativeHandle(D,Q,se)},Te.useInsertionEffect=function(D,Q){return $.H.useInsertionEffect(D,Q)},Te.useLayoutEffect=function(D,Q){return $.H.useLayoutEffect(D,Q)},Te.useMemo=function(D,Q){return $.H.useMemo(D,Q)},Te.useOptimistic=function(D,Q){return $.H.useOptimistic(D,Q)},Te.useReducer=function(D,Q,se){return $.H.useReducer(D,Q,se)},Te.useRef=function(D){return $.H.useRef(D)},Te.useState=function(D){return $.H.useState(D)},Te.useSyncExternalStore=function(D,Q,se){return $.H.useSyncExternalStore(D,Q,se)},Te.useTransition=function(){return $.H.useTransition()},Te.version="19.2.7",Te}var Pg;function Vo(){return Pg||(Pg=1,Zd.exports=i8()),Zd.exports}var y=Vo();const V=gy(y),o8=l8({__proto__:null,default:V},[y]);var Qd={exports:{}},go={},Jd={exports:{}},e0={};/**
18
+ */var zg;function o8(){if(zg)return Te;zg=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),v=Symbol.iterator;function w(D){return D===null||typeof D!="object"?null:(D=v&&D[v]||D["@@iterator"],typeof D=="function"?D:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,C={};function N(D,Q,se){this.props=D,this.context=Q,this.refs=C,this.updater=se||x}N.prototype.isReactComponent={},N.prototype.setState=function(D,Q){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,Q,"setState")},N.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function M(){}M.prototype=N.prototype;function L(D,Q,se){this.props=D,this.context=Q,this.refs=C,this.updater=se||x}var k=L.prototype=new M;k.constructor=L,T(k,N.prototype),k.isPureReactComponent=!0;var B=Array.isArray;function G(){}var $={H:null,A:null,T:null,S:null},A=Object.prototype.hasOwnProperty;function U(D,Q,se){var ce=se.ref;return{$$typeof:e,type:D,key:Q,ref:ce!==void 0?ce:null,props:se}}function K(D,Q){return U(D.type,Q,D.props)}function q(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function te(D){var Q={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(se){return Q[se]})}var ne=/\/+/g;function j(D,Q){return typeof D=="object"&&D!==null&&D.key!=null?te(""+D.key):Q.toString(36)}function Y(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(G,G):(D.status="pending",D.then(function(Q){D.status==="pending"&&(D.status="fulfilled",D.value=Q)},function(Q){D.status==="pending"&&(D.status="rejected",D.reason=Q)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function z(D,Q,se,ce,H){var ie=typeof D;(ie==="undefined"||ie==="boolean")&&(D=null);var xe=!1;if(D===null)xe=!0;else switch(ie){case"bigint":case"string":case"number":xe=!0;break;case"object":switch(D.$$typeof){case e:case t:xe=!0;break;case p:return xe=D._init,z(xe(D._payload),Q,se,ce,H)}}if(xe)return H=H(D),xe=ce===""?"."+j(D,0):ce,B(H)?(se="",xe!=null&&(se=xe.replace(ne,"$&/")+"/"),z(H,Q,se,"",function(Lt){return Lt})):H!=null&&(q(H)&&(H=K(H,se+(H.key==null||D&&D.key===H.key?"":(""+H.key).replace(ne,"$&/")+"/")+xe)),Q.push(H)),1;xe=0;var Ae=ce===""?".":ce+":";if(B(D))for(var de=0;de<D.length;de++)ce=D[de],ie=Ae+j(ce,de),xe+=z(ce,Q,se,ie,H);else if(de=w(D),typeof de=="function")for(D=de.call(D),de=0;!(ce=D.next()).done;)ce=ce.value,ie=Ae+j(ce,de++),xe+=z(ce,Q,se,ie,H);else if(ie==="object"){if(typeof D.then=="function")return z(Y(D),Q,se,ce,H);throw Q=String(D),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return xe}function O(D,Q,se){if(D==null)return D;var ce=[],H=0;return z(D,ce,"","",function(ie){return Q.call(se,ie,H++)}),ce}function oe(D){if(D._status===-1){var Q=D._result;Q=Q(),Q.then(function(se){(D._status===0||D._status===-1)&&(D._status=1,D._result=se)},function(se){(D._status===0||D._status===-1)&&(D._status=2,D._result=se)}),D._status===-1&&(D._status=0,D._result=Q)}if(D._status===1)return D._result.default;throw D._result}var J=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},_={map:O,forEach:function(D,Q,se){O(D,function(){Q.apply(this,arguments)},se)},count:function(D){var Q=0;return O(D,function(){Q++}),Q},toArray:function(D){return O(D,function(Q){return Q})||[]},only:function(D){if(!q(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return Te.Activity=b,Te.Children=_,Te.Component=N,Te.Fragment=l,Te.Profiler=i,Te.PureComponent=L,Te.StrictMode=r,Te.Suspense=d,Te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,Te.__COMPILER_RUNTIME={__proto__:null,c:function(D){return $.H.useMemoCache(D)}},Te.cache=function(D){return function(){return D.apply(null,arguments)}},Te.cacheSignal=function(){return null},Te.cloneElement=function(D,Q,se){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var ce=T({},D.props),H=D.key;if(Q!=null)for(ie in Q.key!==void 0&&(H=""+Q.key),Q)!A.call(Q,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&Q.ref===void 0||(ce[ie]=Q[ie]);var ie=arguments.length-2;if(ie===1)ce.children=se;else if(1<ie){for(var xe=Array(ie),Ae=0;Ae<ie;Ae++)xe[Ae]=arguments[Ae+2];ce.children=xe}return U(D.type,H,ce)},Te.createContext=function(D){return D={$$typeof:u,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:s,_context:D},D},Te.createElement=function(D,Q,se){var ce,H={},ie=null;if(Q!=null)for(ce in Q.key!==void 0&&(ie=""+Q.key),Q)A.call(Q,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(H[ce]=Q[ce]);var xe=arguments.length-2;if(xe===1)H.children=se;else if(1<xe){for(var Ae=Array(xe),de=0;de<xe;de++)Ae[de]=arguments[de+2];H.children=Ae}if(D&&D.defaultProps)for(ce in xe=D.defaultProps,xe)H[ce]===void 0&&(H[ce]=xe[ce]);return U(D,ie,H)},Te.createRef=function(){return{current:null}},Te.forwardRef=function(D){return{$$typeof:f,render:D}},Te.isValidElement=q,Te.lazy=function(D){return{$$typeof:p,_payload:{_status:-1,_result:D},_init:oe}},Te.memo=function(D,Q){return{$$typeof:h,type:D,compare:Q===void 0?null:Q}},Te.startTransition=function(D){var Q=$.T,se={};$.T=se;try{var ce=D(),H=$.S;H!==null&&H(se,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(G,J)}catch(ie){J(ie)}finally{Q!==null&&se.types!==null&&(Q.types=se.types),$.T=Q}},Te.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},Te.use=function(D){return $.H.use(D)},Te.useActionState=function(D,Q,se){return $.H.useActionState(D,Q,se)},Te.useCallback=function(D,Q){return $.H.useCallback(D,Q)},Te.useContext=function(D){return $.H.useContext(D)},Te.useDebugValue=function(){},Te.useDeferredValue=function(D,Q){return $.H.useDeferredValue(D,Q)},Te.useEffect=function(D,Q){return $.H.useEffect(D,Q)},Te.useEffectEvent=function(D){return $.H.useEffectEvent(D)},Te.useId=function(){return $.H.useId()},Te.useImperativeHandle=function(D,Q,se){return $.H.useImperativeHandle(D,Q,se)},Te.useInsertionEffect=function(D,Q){return $.H.useInsertionEffect(D,Q)},Te.useLayoutEffect=function(D,Q){return $.H.useLayoutEffect(D,Q)},Te.useMemo=function(D,Q){return $.H.useMemo(D,Q)},Te.useOptimistic=function(D,Q){return $.H.useOptimistic(D,Q)},Te.useReducer=function(D,Q,se){return $.H.useReducer(D,Q,se)},Te.useRef=function(D){return $.H.useRef(D)},Te.useState=function(D){return $.H.useState(D)},Te.useSyncExternalStore=function(D,Q,se){return $.H.useSyncExternalStore(D,Q,se)},Te.useTransition=function(){return $.H.useTransition()},Te.version="19.2.7",Te}var Pg;function Vo(){return Pg||(Pg=1,Zd.exports=o8()),Zd.exports}var y=Vo();const V=by(y),s8=a8({__proto__:null,default:V},[y]);var Qd={exports:{}},go={},Jd={exports:{}},e0={};/**
19
19
  * @license React
20
20
  * scheduler.production.js
21
21
  *
@@ -23,7 +23,7 @@ var Ag=e=>{throw TypeError(e)};var Lg=(e,t,l)=>t.has(e)||Ag("Cannot "+l);var kg=
23
23
  *
24
24
  * This source code is licensed under the MIT license found in the
25
25
  * LICENSE file in the root directory of this source tree.
26
- */var Og;function s8(){return Og||(Og=1,(function(e){function t(z,O){var oe=z.length;z.push(O);e:for(;0<oe;){var J=oe-1>>>1,_=z[J];if(0<i(_,O))z[J]=O,z[oe]=_,oe=J;else break e}}function l(z){return z.length===0?null:z[0]}function r(z){if(z.length===0)return null;var O=z[0],oe=z.pop();if(oe!==O){z[0]=oe;e:for(var J=0,_=z.length,D=_>>>1;J<D;){var Q=2*(J+1)-1,se=z[Q],ce=Q+1,H=z[ce];if(0>i(se,oe))ce<_&&0>i(H,se)?(z[J]=H,z[ce]=oe,J=ce):(z[J]=se,z[Q]=oe,J=Q);else if(ce<_&&0>i(H,oe))z[J]=H,z[ce]=oe,J=ce;else break e}}return O}function i(z,O){var oe=z.sortIndex-O.sortIndex;return oe!==0?oe:z.id-O.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var d=[],h=[],p=1,b=null,v=3,w=!1,x=!1,T=!1,C=!1,N=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function k(z){for(var O=l(h);O!==null;){if(O.callback===null)r(h);else if(O.startTime<=z)r(h),O.sortIndex=O.expirationTime,t(d,O);else break;O=l(h)}}function B(z){if(T=!1,k(z),!x)if(l(d)!==null)x=!0,G||(G=!0,te());else{var O=l(h);O!==null&&Y(B,O.startTime-z)}}var G=!1,$=-1,A=5,U=-1;function K(){return C?!0:!(e.unstable_now()-U<A)}function q(){if(C=!1,G){var z=e.unstable_now();U=z;var O=!0;try{e:{x=!1,T&&(T=!1,M($),$=-1),w=!0;var oe=v;try{t:{for(k(z),b=l(d);b!==null&&!(b.expirationTime>z&&K());){var J=b.callback;if(typeof J=="function"){b.callback=null,v=b.priorityLevel;var _=J(b.expirationTime<=z);if(z=e.unstable_now(),typeof _=="function"){b.callback=_,k(z),O=!0;break t}b===l(d)&&r(d),k(z)}else r(d);b=l(d)}if(b!==null)O=!0;else{var D=l(h);D!==null&&Y(B,D.startTime-z),O=!1}}break e}finally{b=null,v=oe,w=!1}O=void 0}}finally{O?te():G=!1}}}var te;if(typeof L=="function")te=function(){L(q)};else if(typeof MessageChannel<"u"){var ne=new MessageChannel,j=ne.port2;ne.port1.onmessage=q,te=function(){j.postMessage(null)}}else te=function(){N(q,0)};function Y(z,O){$=N(function(){z(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_next=function(z){switch(v){case 1:case 2:case 3:var O=3;break;default:O=v}var oe=v;v=O;try{return z()}finally{v=oe}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(z,O){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var oe=v;v=z;try{return O()}finally{v=oe}},e.unstable_scheduleCallback=function(z,O,oe){var J=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?J+oe:J):oe=J,z){case 1:var _=-1;break;case 2:_=250;break;case 5:_=1073741823;break;case 4:_=1e4;break;default:_=5e3}return _=oe+_,z={id:p++,callback:O,priorityLevel:z,startTime:oe,expirationTime:_,sortIndex:-1},oe>J?(z.sortIndex=oe,t(h,z),l(d)===null&&z===l(h)&&(T?(M($),$=-1):T=!0,Y(B,oe-J))):(z.sortIndex=_,t(d,z),x||w||(x=!0,G||(G=!0,te()))),z},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(z){var O=v;return function(){var oe=v;v=O;try{return z.apply(this,arguments)}finally{v=oe}}}})(e0)),e0}var jg;function c8(){return jg||(jg=1,Jd.exports=s8()),Jd.exports}var t0={exports:{}},Bt={};/**
26
+ */var Og;function c8(){return Og||(Og=1,(function(e){function t(z,O){var oe=z.length;z.push(O);e:for(;0<oe;){var J=oe-1>>>1,_=z[J];if(0<i(_,O))z[J]=O,z[oe]=_,oe=J;else break e}}function l(z){return z.length===0?null:z[0]}function r(z){if(z.length===0)return null;var O=z[0],oe=z.pop();if(oe!==O){z[0]=oe;e:for(var J=0,_=z.length,D=_>>>1;J<D;){var Q=2*(J+1)-1,se=z[Q],ce=Q+1,H=z[ce];if(0>i(se,oe))ce<_&&0>i(H,se)?(z[J]=H,z[ce]=oe,J=ce):(z[J]=se,z[Q]=oe,J=Q);else if(ce<_&&0>i(H,oe))z[J]=H,z[ce]=oe,J=ce;else break e}}return O}function i(z,O){var oe=z.sortIndex-O.sortIndex;return oe!==0?oe:z.id-O.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var d=[],h=[],p=1,b=null,v=3,w=!1,x=!1,T=!1,C=!1,N=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function k(z){for(var O=l(h);O!==null;){if(O.callback===null)r(h);else if(O.startTime<=z)r(h),O.sortIndex=O.expirationTime,t(d,O);else break;O=l(h)}}function B(z){if(T=!1,k(z),!x)if(l(d)!==null)x=!0,G||(G=!0,te());else{var O=l(h);O!==null&&Y(B,O.startTime-z)}}var G=!1,$=-1,A=5,U=-1;function K(){return C?!0:!(e.unstable_now()-U<A)}function q(){if(C=!1,G){var z=e.unstable_now();U=z;var O=!0;try{e:{x=!1,T&&(T=!1,M($),$=-1),w=!0;var oe=v;try{t:{for(k(z),b=l(d);b!==null&&!(b.expirationTime>z&&K());){var J=b.callback;if(typeof J=="function"){b.callback=null,v=b.priorityLevel;var _=J(b.expirationTime<=z);if(z=e.unstable_now(),typeof _=="function"){b.callback=_,k(z),O=!0;break t}b===l(d)&&r(d),k(z)}else r(d);b=l(d)}if(b!==null)O=!0;else{var D=l(h);D!==null&&Y(B,D.startTime-z),O=!1}}break e}finally{b=null,v=oe,w=!1}O=void 0}}finally{O?te():G=!1}}}var te;if(typeof L=="function")te=function(){L(q)};else if(typeof MessageChannel<"u"){var ne=new MessageChannel,j=ne.port2;ne.port1.onmessage=q,te=function(){j.postMessage(null)}}else te=function(){N(q,0)};function Y(z,O){$=N(function(){z(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_next=function(z){switch(v){case 1:case 2:case 3:var O=3;break;default:O=v}var oe=v;v=O;try{return z()}finally{v=oe}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(z,O){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var oe=v;v=z;try{return O()}finally{v=oe}},e.unstable_scheduleCallback=function(z,O,oe){var J=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?J+oe:J):oe=J,z){case 1:var _=-1;break;case 2:_=250;break;case 5:_=1073741823;break;case 4:_=1e4;break;default:_=5e3}return _=oe+_,z={id:p++,callback:O,priorityLevel:z,startTime:oe,expirationTime:_,sortIndex:-1},oe>J?(z.sortIndex=oe,t(h,z),l(d)===null&&z===l(h)&&(T?(M($),$=-1):T=!0,Y(B,oe-J))):(z.sortIndex=_,t(d,z),x||w||(x=!0,G||(G=!0,te()))),z},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(z){var O=v;return function(){var oe=v;v=O;try{return z.apply(this,arguments)}finally{v=oe}}}})(e0)),e0}var jg;function u8(){return jg||(jg=1,Jd.exports=c8()),Jd.exports}var t0={exports:{}},Bt={};/**
27
27
  * @license React
28
28
  * react-dom.production.js
29
29
  *
@@ -31,7 +31,7 @@ var Ag=e=>{throw TypeError(e)};var Lg=(e,t,l)=>t.has(e)||Ag("Cannot "+l);var kg=
31
31
  *
32
32
  * This source code is licensed under the MIT license found in the
33
33
  * LICENSE file in the root directory of this source tree.
34
- */var Ig;function u8(){if(Ig)return Bt;Ig=1;var e=Vo();function t(d){var h="https://react.dev/errors/"+d;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)h+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+d+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var r={d:{f:l,r:function(){throw Error(t(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},i=Symbol.for("react.portal");function s(d,h,p){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:b==null?null:""+b,children:d,containerInfo:h,implementation:p}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(d,h){if(d==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Bt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Bt.createPortal=function(d,h){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return s(d,h,null,p)},Bt.flushSync=function(d){var h=u.T,p=r.p;try{if(u.T=null,r.p=2,d)return d()}finally{u.T=h,r.p=p,r.d.f()}},Bt.preconnect=function(d,h){typeof d=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(d,h))},Bt.prefetchDNS=function(d){typeof d=="string"&&r.d.D(d)},Bt.preinit=function(d,h){if(typeof d=="string"&&h&&typeof h.as=="string"){var p=h.as,b=f(p,h.crossOrigin),v=typeof h.integrity=="string"?h.integrity:void 0,w=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;p==="style"?r.d.S(d,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:b,integrity:v,fetchPriority:w}):p==="script"&&r.d.X(d,{crossOrigin:b,integrity:v,fetchPriority:w,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Bt.preinitModule=function(d,h){if(typeof d=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var p=f(h.as,h.crossOrigin);r.d.M(d,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(d)},Bt.preload=function(d,h){if(typeof d=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var p=h.as,b=f(p,h.crossOrigin);r.d.L(d,p,{crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Bt.preloadModule=function(d,h){if(typeof d=="string")if(h){var p=f(h.as,h.crossOrigin);r.d.m(d,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(d)},Bt.requestFormReset=function(d){r.d.r(d)},Bt.unstable_batchedUpdates=function(d,h){return d(h)},Bt.useFormState=function(d,h,p){return u.H.useFormState(d,h,p)},Bt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Bt.version="19.2.7",Bt}var Bg;function by(){if(Bg)return t0.exports;Bg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),t0.exports=u8(),t0.exports}/**
34
+ */var Ig;function f8(){if(Ig)return Bt;Ig=1;var e=Vo();function t(d){var h="https://react.dev/errors/"+d;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)h+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+d+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var r={d:{f:l,r:function(){throw Error(t(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},i=Symbol.for("react.portal");function s(d,h,p){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:b==null?null:""+b,children:d,containerInfo:h,implementation:p}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(d,h){if(d==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Bt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Bt.createPortal=function(d,h){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return s(d,h,null,p)},Bt.flushSync=function(d){var h=u.T,p=r.p;try{if(u.T=null,r.p=2,d)return d()}finally{u.T=h,r.p=p,r.d.f()}},Bt.preconnect=function(d,h){typeof d=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(d,h))},Bt.prefetchDNS=function(d){typeof d=="string"&&r.d.D(d)},Bt.preinit=function(d,h){if(typeof d=="string"&&h&&typeof h.as=="string"){var p=h.as,b=f(p,h.crossOrigin),v=typeof h.integrity=="string"?h.integrity:void 0,w=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;p==="style"?r.d.S(d,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:b,integrity:v,fetchPriority:w}):p==="script"&&r.d.X(d,{crossOrigin:b,integrity:v,fetchPriority:w,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Bt.preinitModule=function(d,h){if(typeof d=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var p=f(h.as,h.crossOrigin);r.d.M(d,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(d)},Bt.preload=function(d,h){if(typeof d=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var p=h.as,b=f(p,h.crossOrigin);r.d.L(d,p,{crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Bt.preloadModule=function(d,h){if(typeof d=="string")if(h){var p=f(h.as,h.crossOrigin);r.d.m(d,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(d)},Bt.requestFormReset=function(d){r.d.r(d)},Bt.unstable_batchedUpdates=function(d,h){return d(h)},Bt.useFormState=function(d,h,p){return u.H.useFormState(d,h,p)},Bt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Bt.version="19.2.7",Bt}var Bg;function vy(){if(Bg)return t0.exports;Bg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),t0.exports=f8(),t0.exports}/**
35
35
  * @license React
36
36
  * react-dom-client.production.js
37
37
  *
@@ -39,15 +39,15 @@ var Ag=e=>{throw TypeError(e)};var Lg=(e,t,l)=>t.has(e)||Ag("Cannot "+l);var kg=
39
39
  *
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
- */var Hg;function f8(){if(Hg)return go;Hg=1;var e=c8(),t=Vo(),l=by();function r(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)a+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function s(n){var a=n,o=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(o=a.return),n=a.return;while(n)}return a.tag===3?o:null}function u(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function f(n){if(n.tag===31){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function d(n){if(s(n)!==n)throw Error(r(188))}function h(n){var a=n.alternate;if(!a){if(a=s(n),a===null)throw Error(r(188));return a!==n?null:n}for(var o=n,c=a;;){var m=o.return;if(m===null)break;var g=m.alternate;if(g===null){if(c=m.return,c!==null){o=c;continue}break}if(m.child===g.child){for(g=m.child;g;){if(g===o)return d(m),n;if(g===c)return d(m),a;g=g.sibling}throw Error(r(188))}if(o.return!==c.return)o=m,c=g;else{for(var S=!1,R=m.child;R;){if(R===o){S=!0,o=m,c=g;break}if(R===c){S=!0,c=m,o=g;break}R=R.sibling}if(!S){for(R=g.child;R;){if(R===o){S=!0,o=g,c=m;break}if(R===c){S=!0,c=g,o=m;break}R=R.sibling}if(!S)throw Error(r(189))}}if(o.alternate!==c)throw Error(r(190))}if(o.tag!==3)throw Error(r(188));return o.stateNode.current===o?n:a}function p(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=p(n),a!==null)return a;n=n.sibling}return null}var b=Object.assign,v=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),K=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function te(n){return n===null||typeof n!="object"?null:(n=q&&n[q]||n["@@iterator"],typeof n=="function"?n:null)}var ne=Symbol.for("react.client.reference");function j(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===ne?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case T:return"Fragment";case N:return"Profiler";case C:return"StrictMode";case B:return"Suspense";case G:return"SuspenseList";case U:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case x:return"Portal";case L:return n.displayName||"Context";case M:return(n._context.displayName||"Context")+".Consumer";case k:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case $:return a=n.displayName||null,a!==null?a:j(n.type)||"Memo";case A:a=n._payload,n=n._init;try{return j(n(a))}catch{}}return null}var Y=Array.isArray,z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},J=[],_=-1;function D(n){return{current:n}}function Q(n){0>_||(n.current=J[_],J[_]=null,_--)}function se(n,a){_++,J[_]=n.current,n.current=a}var ce=D(null),H=D(null),ie=D(null),xe=D(null);function Ae(n,a){switch(se(ie,a),se(H,n),se(ce,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?Zp(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=Zp(a),n=Qp(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Q(ce),se(ce,n)}function de(){Q(ce),Q(H),Q(ie)}function Lt(n){n.memoizedState!==null&&se(xe,n);var a=ce.current,o=Qp(a,n.type);a!==o&&(se(H,n),se(ce,o))}function it(n){H.current===n&&(Q(ce),Q(H)),xe.current===n&&(Q(xe),uo._currentValue=oe)}var ue,fe;function Ee(n){if(ue===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);ue=a&&a[1]||"",fe=-1<o.stack.indexOf(`
42
+ */var Hg;function d8(){if(Hg)return go;Hg=1;var e=u8(),t=Vo(),l=vy();function r(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)a+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function s(n){var a=n,o=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(o=a.return),n=a.return;while(n)}return a.tag===3?o:null}function u(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function f(n){if(n.tag===31){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function d(n){if(s(n)!==n)throw Error(r(188))}function h(n){var a=n.alternate;if(!a){if(a=s(n),a===null)throw Error(r(188));return a!==n?null:n}for(var o=n,c=a;;){var m=o.return;if(m===null)break;var g=m.alternate;if(g===null){if(c=m.return,c!==null){o=c;continue}break}if(m.child===g.child){for(g=m.child;g;){if(g===o)return d(m),n;if(g===c)return d(m),a;g=g.sibling}throw Error(r(188))}if(o.return!==c.return)o=m,c=g;else{for(var S=!1,R=m.child;R;){if(R===o){S=!0,o=m,c=g;break}if(R===c){S=!0,c=m,o=g;break}R=R.sibling}if(!S){for(R=g.child;R;){if(R===o){S=!0,o=g,c=m;break}if(R===c){S=!0,c=g,o=m;break}R=R.sibling}if(!S)throw Error(r(189))}}if(o.alternate!==c)throw Error(r(190))}if(o.tag!==3)throw Error(r(188));return o.stateNode.current===o?n:a}function p(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=p(n),a!==null)return a;n=n.sibling}return null}var b=Object.assign,v=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),K=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function te(n){return n===null||typeof n!="object"?null:(n=q&&n[q]||n["@@iterator"],typeof n=="function"?n:null)}var ne=Symbol.for("react.client.reference");function j(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===ne?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case T:return"Fragment";case N:return"Profiler";case C:return"StrictMode";case B:return"Suspense";case G:return"SuspenseList";case U:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case x:return"Portal";case L:return n.displayName||"Context";case M:return(n._context.displayName||"Context")+".Consumer";case k:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case $:return a=n.displayName||null,a!==null?a:j(n.type)||"Memo";case A:a=n._payload,n=n._init;try{return j(n(a))}catch{}}return null}var Y=Array.isArray,z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},J=[],_=-1;function D(n){return{current:n}}function Q(n){0>_||(n.current=J[_],J[_]=null,_--)}function se(n,a){_++,J[_]=n.current,n.current=a}var ce=D(null),H=D(null),ie=D(null),xe=D(null);function Ae(n,a){switch(se(ie,a),se(H,n),se(ce,null),a.nodeType){case 9:case 11:n=(n=a.documentElement)&&(n=n.namespaceURI)?Zp(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=Zp(a),n=Qp(a,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Q(ce),se(ce,n)}function de(){Q(ce),Q(H),Q(ie)}function Lt(n){n.memoizedState!==null&&se(xe,n);var a=ce.current,o=Qp(a,n.type);a!==o&&(se(H,n),se(ce,o))}function it(n){H.current===n&&(Q(ce),Q(H)),xe.current===n&&(Q(xe),uo._currentValue=oe)}var ue,fe;function Ee(n){if(ue===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);ue=a&&a[1]||"",fe=-1<o.stack.indexOf(`
43
43
  at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
44
44
  `+ue+n+fe}var _e=!1;function Fe(n,a){if(!n||_e)return"";_e=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(a){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(ee){var Z=ee}Reflect.construct(n,[],re)}else{try{re.call()}catch(ee){Z=ee}n.call(re.prototype)}}else{try{throw Error()}catch(ee){Z=ee}(re=n())&&typeof re.catch=="function"&&re.catch(function(){})}}catch(ee){if(ee&&Z&&typeof ee.stack=="string")return[ee.stack,Z.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=c.DetermineComponentFrameRoot(),S=g[0],R=g[1];if(S&&R){var P=S.split(`
45
45
  `),W=R.split(`
46
46
  `);for(m=c=0;c<P.length&&!P[c].includes("DetermineComponentFrameRoot");)c++;for(;m<W.length&&!W[m].includes("DetermineComponentFrameRoot");)m++;if(c===P.length||m===W.length)for(c=P.length-1,m=W.length-1;1<=c&&0<=m&&P[c]!==W[m];)m--;for(;1<=c&&0<=m;c--,m--)if(P[c]!==W[m]){if(c!==1||m!==1)do if(c--,m--,0>m||P[c]!==W[m]){var le=`
47
47
  `+P[c].replace(" at new "," at ");return n.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",n.displayName)),le}while(1<=c&&0<=m);break}}}finally{_e=!1,Error.prepareStackTrace=o}return(o=n?n.displayName||n.name:"")?Ee(o):""}function kt(n,a){switch(n.tag){case 26:case 27:case 5:return Ee(n.type);case 16:return Ee("Lazy");case 13:return n.child!==a&&a!==null?Ee("Suspense Fallback"):Ee("Suspense");case 19:return Ee("SuspenseList");case 0:case 15:return Fe(n.type,!1);case 11:return Fe(n.type.render,!1);case 1:return Fe(n.type,!0);case 31:return Ee("Activity");default:return""}}function Sn(n){try{var a="",o=null;do a+=kt(n,o),o=n,n=n.return;while(n);return a}catch(c){return`
48
48
  Error generating stack: `+c.message+`
49
- `+c.stack}}var pt=Object.prototype.hasOwnProperty,jn=e.unstable_scheduleCallback,Si=e.unstable_cancelCallback,Qo=e.unstable_shouldYield,Pu=e.unstable_requestPaint,It=e.unstable_now,Ye=e.unstable_getCurrentPriorityLevel,Nt=e.unstable_ImmediatePriority,Gn=e.unstable_UserBlockingPriority,fr=e.unstable_NormalPriority,I6=e.unstable_LowPriority,N2=e.unstable_IdlePriority,B6=e.log,H6=e.unstable_setDisableYieldValue,wi=null,ln=null;function $l(n){if(typeof B6=="function"&&H6(n),ln&&typeof ln.setStrictMode=="function")try{ln.setStrictMode(wi,n)}catch{}}var an=Math.clz32?Math.clz32:F6,K6=Math.log,U6=Math.LN2;function F6(n){return n>>>=0,n===0?32:31-(K6(n)/U6|0)|0}var Jo=256,es=262144,ts=4194304;function Ca(n){var a=n&42;if(a!==0)return a;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function ns(n,a,o){var c=n.pendingLanes;if(c===0)return 0;var m=0,g=n.suspendedLanes,S=n.pingedLanes;n=n.warmLanes;var R=c&134217727;return R!==0?(c=R&~g,c!==0?m=Ca(c):(S&=R,S!==0?m=Ca(S):o||(o=R&~n,o!==0&&(m=Ca(o))))):(R=c&~g,R!==0?m=Ca(R):S!==0?m=Ca(S):o||(o=c&~n,o!==0&&(m=Ca(o)))),m===0?0:a!==0&&a!==m&&(a&g)===0&&(g=m&-m,o=a&-a,g>=o||g===32&&(o&4194048)!==0)?a:m}function Ei(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function V6(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function D2(){var n=ts;return ts<<=1,(ts&62914560)===0&&(ts=4194304),n}function Ou(n){for(var a=[],o=0;31>o;o++)a.push(n);return a}function Ci(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function _6(n,a,o,c,m,g){var S=n.pendingLanes;n.pendingLanes=o,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=o,n.entangledLanes&=o,n.errorRecoveryDisabledLanes&=o,n.shellSuspendCounter=0;var R=n.entanglements,P=n.expirationTimes,W=n.hiddenUpdates;for(o=S&~o;0<o;){var le=31-an(o),re=1<<le;R[le]=0,P[le]=-1;var Z=W[le];if(Z!==null)for(W[le]=null,le=0;le<Z.length;le++){var ee=Z[le];ee!==null&&(ee.lane&=-536870913)}o&=~re}c!==0&&$2(n,c,0),g!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=g&~(S&~a))}function $2(n,a,o){n.pendingLanes|=a,n.suspendedLanes&=~a;var c=31-an(a);n.entangledLanes|=a,n.entanglements[c]=n.entanglements[c]|1073741824|o&261930}function z2(n,a){var o=n.entangledLanes|=a;for(n=n.entanglements;o;){var c=31-an(o),m=1<<c;m&a|n[c]&a&&(n[c]|=a),o&=~m}}function P2(n,a){var o=a&-a;return o=(o&42)!==0?1:ju(o),(o&(n.suspendedLanes|a))!==0?0:o}function ju(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Iu(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function O2(){var n=O.p;return n!==0?n:(n=window.event,n===void 0?32:Sg(n.type))}function j2(n,a){var o=O.p;try{return O.p=n,a()}finally{O.p=o}}var zl=Math.random().toString(36).slice(2),Dt="__reactFiber$"+zl,Vt="__reactProps$"+zl,dr="__reactContainer$"+zl,Bu="__reactEvents$"+zl,G6="__reactListeners$"+zl,q6="__reactHandles$"+zl,I2="__reactResources$"+zl,Ti="__reactMarker$"+zl;function Hu(n){delete n[Dt],delete n[Vt],delete n[Bu],delete n[G6],delete n[q6]}function hr(n){var a=n[Dt];if(a)return a;for(var o=n.parentNode;o;){if(a=o[dr]||o[Dt]){if(o=a.alternate,a.child!==null||o!==null&&o.child!==null)for(n=rg(n);n!==null;){if(o=n[Dt])return o;n=rg(n)}return a}n=o,o=n.parentNode}return null}function mr(n){if(n=n[Dt]||n[dr]){var a=n.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return n}return null}function Ri(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error(r(33))}function pr(n){var a=n[I2];return a||(a=n[I2]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Tt(n){n[Ti]=!0}var B2=new Set,H2={};function Ta(n,a){gr(n,a),gr(n+"Capture",a)}function gr(n,a){for(H2[n]=a,n=0;n<a.length;n++)B2.add(a[n])}var Y6=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),K2={},U2={};function X6(n){return pt.call(U2,n)?!0:pt.call(K2,n)?!1:Y6.test(n)?U2[n]=!0:(K2[n]=!0,!1)}function ls(n,a,o){if(X6(a))if(o===null)n.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var c=a.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){n.removeAttribute(a);return}}n.setAttribute(a,""+o)}}function as(n,a,o){if(o===null)n.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}n.setAttribute(a,""+o)}}function rl(n,a,o,c){if(c===null)n.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(o);return}n.setAttributeNS(a,o,""+c)}}function wn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function F2(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function W6(n,a,o){var c=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);if(!n.hasOwnProperty(a)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var m=c.get,g=c.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return m.call(this)},set:function(S){o=""+S,g.call(this,S)}}),Object.defineProperty(n,a,{enumerable:c.enumerable}),{getValue:function(){return o},setValue:function(S){o=""+S},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Ku(n){if(!n._valueTracker){var a=F2(n)?"checked":"value";n._valueTracker=W6(n,a,""+n[a])}}function V2(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var o=a.getValue(),c="";return n&&(c=F2(n)?n.checked?"true":"false":n.value),n=c,n!==o?(a.setValue(n),!0):!1}function rs(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var Z6=/[\n"\\]/g;function En(n){return n.replace(Z6,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Uu(n,a,o,c,m,g,S,R){n.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?n.type=S:n.removeAttribute("type"),a!=null?S==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+wn(a)):n.value!==""+wn(a)&&(n.value=""+wn(a)):S!=="submit"&&S!=="reset"||n.removeAttribute("value"),a!=null?Fu(n,S,wn(a)):o!=null?Fu(n,S,wn(o)):c!=null&&n.removeAttribute("value"),m==null&&g!=null&&(n.defaultChecked=!!g),m!=null&&(n.checked=m&&typeof m!="function"&&typeof m!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?n.name=""+wn(R):n.removeAttribute("name")}function _2(n,a,o,c,m,g,S,R){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.type=g),a!=null||o!=null){if(!(g!=="submit"&&g!=="reset"||a!=null)){Ku(n);return}o=o!=null?""+wn(o):"",a=a!=null?""+wn(a):o,R||a===n.value||(n.value=a),n.defaultValue=a}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=R?n.checked:!!c,n.defaultChecked=!!c,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(n.name=S),Ku(n)}function Fu(n,a,o){a==="number"&&rs(n.ownerDocument)===n||n.defaultValue===""+o||(n.defaultValue=""+o)}function br(n,a,o,c){if(n=n.options,a){a={};for(var m=0;m<o.length;m++)a["$"+o[m]]=!0;for(o=0;o<n.length;o++)m=a.hasOwnProperty("$"+n[o].value),n[o].selected!==m&&(n[o].selected=m),m&&c&&(n[o].defaultSelected=!0)}else{for(o=""+wn(o),a=null,m=0;m<n.length;m++){if(n[m].value===o){n[m].selected=!0,c&&(n[m].defaultSelected=!0);return}a!==null||n[m].disabled||(a=n[m])}a!==null&&(a.selected=!0)}}function G2(n,a,o){if(a!=null&&(a=""+wn(a),a!==n.value&&(n.value=a),o==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=o!=null?""+wn(o):""}function q2(n,a,o,c){if(a==null){if(c!=null){if(o!=null)throw Error(r(92));if(Y(c)){if(1<c.length)throw Error(r(93));c=c[0]}o=c}o==null&&(o=""),a=o}o=wn(a),n.defaultValue=o,c=n.textContent,c===o&&c!==""&&c!==null&&(n.value=c),Ku(n)}function vr(n,a){if(a){var o=n.firstChild;if(o&&o===n.lastChild&&o.nodeType===3){o.nodeValue=a;return}}n.textContent=a}var Q6=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Y2(n,a,o){var c=a.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?c?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":c?n.setProperty(a,o):typeof o!="number"||o===0||Q6.has(a)?a==="float"?n.cssFloat=o:n[a]=(""+o).trim():n[a]=o+"px"}function X2(n,a,o){if(a!=null&&typeof a!="object")throw Error(r(62));if(n=n.style,o!=null){for(var c in o)!o.hasOwnProperty(c)||a!=null&&a.hasOwnProperty(c)||(c.indexOf("--")===0?n.setProperty(c,""):c==="float"?n.cssFloat="":n[c]="");for(var m in a)c=a[m],a.hasOwnProperty(m)&&o[m]!==c&&Y2(n,m,c)}else for(var g in a)a.hasOwnProperty(g)&&Y2(n,g,a[g])}function Vu(n){if(n.indexOf("-")===-1)return!1;switch(n){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 J6=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),e7=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function is(n){return e7.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function il(){}var _u=null;function Gu(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var yr=null,xr=null;function W2(n){var a=mr(n);if(a&&(n=a.stateNode)){var o=n[Vt]||null;e:switch(n=a.stateNode,a.type){case"input":if(Uu(n,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),a=o.name,o.type==="radio"&&a!=null){for(o=n;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+En(""+a)+'"][type="radio"]'),a=0;a<o.length;a++){var c=o[a];if(c!==n&&c.form===n.form){var m=c[Vt]||null;if(!m)throw Error(r(90));Uu(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(a=0;a<o.length;a++)c=o[a],c.form===n.form&&V2(c)}break e;case"textarea":G2(n,o.value,o.defaultValue);break e;case"select":a=o.value,a!=null&&br(n,!!o.multiple,a,!1)}}}var qu=!1;function Z2(n,a,o){if(qu)return n(a,o);qu=!0;try{var c=n(a);return c}finally{if(qu=!1,(yr!==null||xr!==null)&&(qs(),yr&&(a=yr,n=xr,xr=yr=null,W2(a),n)))for(a=0;a<n.length;a++)W2(n[a])}}function Mi(n,a){var o=n.stateNode;if(o===null)return null;var c=o[Vt]||null;if(c===null)return null;o=c[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(o&&typeof o!="function")throw Error(r(231,a,typeof o));return o}var ol=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yu=!1;if(ol)try{var Ai={};Object.defineProperty(Ai,"passive",{get:function(){Yu=!0}}),window.addEventListener("test",Ai,Ai),window.removeEventListener("test",Ai,Ai)}catch{Yu=!1}var Pl=null,Xu=null,os=null;function Q2(){if(os)return os;var n,a=Xu,o=a.length,c,m="value"in Pl?Pl.value:Pl.textContent,g=m.length;for(n=0;n<o&&a[n]===m[n];n++);var S=o-n;for(c=1;c<=S&&a[o-c]===m[g-c];c++);return os=m.slice(n,1<c?1-c:void 0)}function ss(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function cs(){return!0}function J2(){return!1}function _t(n){function a(o,c,m,g,S){this._reactName=o,this._targetInst=m,this.type=c,this.nativeEvent=g,this.target=S,this.currentTarget=null;for(var R in n)n.hasOwnProperty(R)&&(o=n[R],this[R]=o?o(g):g[R]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?cs:J2,this.isPropagationStopped=J2,this}return b(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=cs)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=cs)},persist:function(){},isPersistent:cs}),a}var Ra={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},us=_t(Ra),Li=b({},Ra,{view:0,detail:0}),t7=_t(Li),Wu,Zu,ki,fs=b({},Li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ju,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==ki&&(ki&&n.type==="mousemove"?(Wu=n.screenX-ki.screenX,Zu=n.screenY-ki.screenY):Zu=Wu=0,ki=n),Wu)},movementY:function(n){return"movementY"in n?n.movementY:Zu}}),em=_t(fs),n7=b({},fs,{dataTransfer:0}),l7=_t(n7),a7=b({},Li,{relatedTarget:0}),Qu=_t(a7),r7=b({},Ra,{animationName:0,elapsedTime:0,pseudoElement:0}),i7=_t(r7),o7=b({},Ra,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),s7=_t(o7),c7=b({},Ra,{data:0}),tm=_t(c7),u7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},f7={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},d7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function h7(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=d7[n])?!!a[n]:!1}function Ju(){return h7}var m7=b({},Li,{key:function(n){if(n.key){var a=u7[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=ss(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?f7[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ju,charCode:function(n){return n.type==="keypress"?ss(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?ss(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),p7=_t(m7),g7=b({},fs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),nm=_t(g7),b7=b({},Li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ju}),v7=_t(b7),y7=b({},Ra,{propertyName:0,elapsedTime:0,pseudoElement:0}),x7=_t(y7),S7=b({},fs,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),w7=_t(S7),E7=b({},Ra,{newState:0,oldState:0}),C7=_t(E7),T7=[9,13,27,32],ef=ol&&"CompositionEvent"in window,Ni=null;ol&&"documentMode"in document&&(Ni=document.documentMode);var R7=ol&&"TextEvent"in window&&!Ni,lm=ol&&(!ef||Ni&&8<Ni&&11>=Ni),am=" ",rm=!1;function im(n,a){switch(n){case"keyup":return T7.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function om(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Sr=!1;function M7(n,a){switch(n){case"compositionend":return om(a);case"keypress":return a.which!==32?null:(rm=!0,am);case"textInput":return n=a.data,n===am&&rm?null:n;default:return null}}function A7(n,a){if(Sr)return n==="compositionend"||!ef&&im(n,a)?(n=Q2(),os=Xu=Pl=null,Sr=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return lm&&a.locale!=="ko"?null:a.data;default:return null}}var L7={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function sm(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!L7[n.type]:a==="textarea"}function cm(n,a,o,c){yr?xr?xr.push(c):xr=[c]:yr=c,a=ec(a,"onChange"),0<a.length&&(o=new us("onChange","change",null,o,c),n.push({event:o,listeners:a}))}var Di=null,$i=null;function k7(n){_p(n,0)}function ds(n){var a=Ri(n);if(V2(a))return n}function um(n,a){if(n==="change")return a}var fm=!1;if(ol){var tf;if(ol){var nf="oninput"in document;if(!nf){var dm=document.createElement("div");dm.setAttribute("oninput","return;"),nf=typeof dm.oninput=="function"}tf=nf}else tf=!1;fm=tf&&(!document.documentMode||9<document.documentMode)}function hm(){Di&&(Di.detachEvent("onpropertychange",mm),$i=Di=null)}function mm(n){if(n.propertyName==="value"&&ds($i)){var a=[];cm(a,$i,n,Gu(n)),Z2(k7,a)}}function N7(n,a,o){n==="focusin"?(hm(),Di=a,$i=o,Di.attachEvent("onpropertychange",mm)):n==="focusout"&&hm()}function D7(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return ds($i)}function $7(n,a){if(n==="click")return ds(a)}function z7(n,a){if(n==="input"||n==="change")return ds(a)}function P7(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var rn=typeof Object.is=="function"?Object.is:P7;function zi(n,a){if(rn(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var o=Object.keys(n),c=Object.keys(a);if(o.length!==c.length)return!1;for(c=0;c<o.length;c++){var m=o[c];if(!pt.call(a,m)||!rn(n[m],a[m]))return!1}return!0}function pm(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function gm(n,a){var o=pm(n);n=0;for(var c;o;){if(o.nodeType===3){if(c=n+o.textContent.length,n<=a&&c>=a)return{node:o,offset:a-n};n=c}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=pm(o)}}function bm(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?bm(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function vm(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=rs(n.document);a instanceof n.HTMLIFrameElement;){try{var o=typeof a.contentWindow.location.href=="string"}catch{o=!1}if(o)n=a.contentWindow;else break;a=rs(n.document)}return a}function lf(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var O7=ol&&"documentMode"in document&&11>=document.documentMode,wr=null,af=null,Pi=null,rf=!1;function ym(n,a,o){var c=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;rf||wr==null||wr!==rs(c)||(c=wr,"selectionStart"in c&&lf(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Pi&&zi(Pi,c)||(Pi=c,c=ec(af,"onSelect"),0<c.length&&(a=new us("onSelect","select",null,a,o),n.push({event:a,listeners:c}),a.target=wr)))}function Ma(n,a){var o={};return o[n.toLowerCase()]=a.toLowerCase(),o["Webkit"+n]="webkit"+a,o["Moz"+n]="moz"+a,o}var Er={animationend:Ma("Animation","AnimationEnd"),animationiteration:Ma("Animation","AnimationIteration"),animationstart:Ma("Animation","AnimationStart"),transitionrun:Ma("Transition","TransitionRun"),transitionstart:Ma("Transition","TransitionStart"),transitioncancel:Ma("Transition","TransitionCancel"),transitionend:Ma("Transition","TransitionEnd")},of={},xm={};ol&&(xm=document.createElement("div").style,"AnimationEvent"in window||(delete Er.animationend.animation,delete Er.animationiteration.animation,delete Er.animationstart.animation),"TransitionEvent"in window||delete Er.transitionend.transition);function Aa(n){if(of[n])return of[n];if(!Er[n])return n;var a=Er[n],o;for(o in a)if(a.hasOwnProperty(o)&&o in xm)return of[n]=a[o];return n}var Sm=Aa("animationend"),wm=Aa("animationiteration"),Em=Aa("animationstart"),j7=Aa("transitionrun"),I7=Aa("transitionstart"),B7=Aa("transitioncancel"),Cm=Aa("transitionend"),Tm=new Map,sf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");sf.push("scrollEnd");function In(n,a){Tm.set(n,a),Ta(a,[n])}var hs=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Cn=[],Cr=0,cf=0;function ms(){for(var n=Cr,a=cf=Cr=0;a<n;){var o=Cn[a];Cn[a++]=null;var c=Cn[a];Cn[a++]=null;var m=Cn[a];Cn[a++]=null;var g=Cn[a];if(Cn[a++]=null,c!==null&&m!==null){var S=c.pending;S===null?m.next=m:(m.next=S.next,S.next=m),c.pending=m}g!==0&&Rm(o,m,g)}}function ps(n,a,o,c){Cn[Cr++]=n,Cn[Cr++]=a,Cn[Cr++]=o,Cn[Cr++]=c,cf|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function uf(n,a,o,c){return ps(n,a,o,c),gs(n)}function La(n,a){return ps(n,null,null,a),gs(n)}function Rm(n,a,o){n.lanes|=o;var c=n.alternate;c!==null&&(c.lanes|=o);for(var m=!1,g=n.return;g!==null;)g.childLanes|=o,c=g.alternate,c!==null&&(c.childLanes|=o),g.tag===22&&(n=g.stateNode,n===null||n._visibility&1||(m=!0)),n=g,g=g.return;return n.tag===3?(g=n.stateNode,m&&a!==null&&(m=31-an(o),n=g.hiddenUpdates,c=n[m],c===null?n[m]=[a]:c.push(a),a.lane=o|536870912),g):null}function gs(n){if(50<lo)throw lo=0,yd=null,Error(r(185));for(var a=n.return;a!==null;)n=a,a=n.return;return n.tag===3?n.stateNode:null}var Tr={};function H7(n,a,o,c){this.tag=n,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function on(n,a,o,c){return new H7(n,a,o,c)}function ff(n){return n=n.prototype,!(!n||!n.isReactComponent)}function sl(n,a){var o=n.alternate;return o===null?(o=on(n.tag,a,n.key,n.mode),o.elementType=n.elementType,o.type=n.type,o.stateNode=n.stateNode,o.alternate=n,n.alternate=o):(o.pendingProps=a,o.type=n.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=n.flags&65011712,o.childLanes=n.childLanes,o.lanes=n.lanes,o.child=n.child,o.memoizedProps=n.memoizedProps,o.memoizedState=n.memoizedState,o.updateQueue=n.updateQueue,a=n.dependencies,o.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},o.sibling=n.sibling,o.index=n.index,o.ref=n.ref,o.refCleanup=n.refCleanup,o}function Mm(n,a){n.flags&=65011714;var o=n.alternate;return o===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=o.childLanes,n.lanes=o.lanes,n.child=o.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=o.memoizedProps,n.memoizedState=o.memoizedState,n.updateQueue=o.updateQueue,n.type=o.type,a=o.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),n}function bs(n,a,o,c,m,g){var S=0;if(c=n,typeof n=="function")ff(n)&&(S=1);else if(typeof n=="string")S=_S(n,o,ce.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case U:return n=on(31,o,a,m),n.elementType=U,n.lanes=g,n;case T:return ka(o.children,m,g,a);case C:S=8,m|=24;break;case N:return n=on(12,o,a,m|2),n.elementType=N,n.lanes=g,n;case B:return n=on(13,o,a,m),n.elementType=B,n.lanes=g,n;case G:return n=on(19,o,a,m),n.elementType=G,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case L:S=10;break e;case M:S=9;break e;case k:S=11;break e;case $:S=14;break e;case A:S=16,c=null;break e}S=29,o=Error(r(130,n===null?"null":typeof n,"")),c=null}return a=on(S,o,a,m),a.elementType=n,a.type=c,a.lanes=g,a}function ka(n,a,o,c){return n=on(7,n,c,a),n.lanes=o,n}function df(n,a,o){return n=on(6,n,null,a),n.lanes=o,n}function Am(n){var a=on(18,null,null,0);return a.stateNode=n,a}function hf(n,a,o){return a=on(4,n.children!==null?n.children:[],n.key,a),a.lanes=o,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var Lm=new WeakMap;function Tn(n,a){if(typeof n=="object"&&n!==null){var o=Lm.get(n);return o!==void 0?o:(a={value:n,source:a,stack:Sn(a)},Lm.set(n,a),a)}return{value:n,source:a,stack:Sn(a)}}var Rr=[],Mr=0,vs=null,Oi=0,Rn=[],Mn=0,Ol=null,qn=1,Yn="";function cl(n,a){Rr[Mr++]=Oi,Rr[Mr++]=vs,vs=n,Oi=a}function km(n,a,o){Rn[Mn++]=qn,Rn[Mn++]=Yn,Rn[Mn++]=Ol,Ol=n;var c=qn;n=Yn;var m=32-an(c)-1;c&=~(1<<m),o+=1;var g=32-an(a)+m;if(30<g){var S=m-m%5;g=(c&(1<<S)-1).toString(32),c>>=S,m-=S,qn=1<<32-an(a)+m|o<<m|c,Yn=g+n}else qn=1<<g|o<<m|c,Yn=n}function mf(n){n.return!==null&&(cl(n,1),km(n,1,0))}function pf(n){for(;n===vs;)vs=Rr[--Mr],Rr[Mr]=null,Oi=Rr[--Mr],Rr[Mr]=null;for(;n===Ol;)Ol=Rn[--Mn],Rn[Mn]=null,Yn=Rn[--Mn],Rn[Mn]=null,qn=Rn[--Mn],Rn[Mn]=null}function Nm(n,a){Rn[Mn++]=qn,Rn[Mn++]=Yn,Rn[Mn++]=Ol,qn=a.id,Yn=a.overflow,Ol=n}var $t=null,nt=null,je=!1,jl=null,An=!1,gf=Error(r(519));function Il(n){var a=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ji(Tn(a,n)),gf}function Dm(n){var a=n.stateNode,o=n.type,c=n.memoizedProps;switch(a[Dt]=n,a[Vt]=c,o){case"dialog":$e("cancel",a),$e("close",a);break;case"iframe":case"object":case"embed":$e("load",a);break;case"video":case"audio":for(o=0;o<ro.length;o++)$e(ro[o],a);break;case"source":$e("error",a);break;case"img":case"image":case"link":$e("error",a),$e("load",a);break;case"details":$e("toggle",a);break;case"input":$e("invalid",a),_2(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":$e("invalid",a);break;case"textarea":$e("invalid",a),q2(a,c.value,c.defaultValue,c.children)}o=c.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||a.textContent===""+o||c.suppressHydrationWarning===!0||Xp(a.textContent,o)?(c.popover!=null&&($e("beforetoggle",a),$e("toggle",a)),c.onScroll!=null&&$e("scroll",a),c.onScrollEnd!=null&&$e("scrollend",a),c.onClick!=null&&(a.onclick=il),a=!0):a=!1,a||Il(n,!0)}function $m(n){for($t=n.return;$t;)switch($t.tag){case 5:case 31:case 13:An=!1;return;case 27:case 3:An=!0;return;default:$t=$t.return}}function Ar(n){if(n!==$t)return!1;if(!je)return $m(n),je=!0,!1;var a=n.tag,o;if((o=a!==3&&a!==27)&&((o=a===5)&&(o=n.type,o=!(o!=="form"&&o!=="button")||zd(n.type,n.memoizedProps)),o=!o),o&&nt&&Il(n),$m(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));nt=ag(n)}else if(a===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));nt=ag(n)}else a===27?(a=nt,Ql(n.type)?(n=Bd,Bd=null,nt=n):nt=a):nt=$t?kn(n.stateNode.nextSibling):null;return!0}function Na(){nt=$t=null,je=!1}function bf(){var n=jl;return n!==null&&(Xt===null?Xt=n:Xt.push.apply(Xt,n),jl=null),n}function ji(n){jl===null?jl=[n]:jl.push(n)}var vf=D(null),Da=null,ul=null;function Bl(n,a,o){se(vf,a._currentValue),a._currentValue=o}function fl(n){n._currentValue=vf.current,Q(vf)}function yf(n,a,o){for(;n!==null;){var c=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,c!==null&&(c.childLanes|=a)):c!==null&&(c.childLanes&a)!==a&&(c.childLanes|=a),n===o)break;n=n.return}}function xf(n,a,o,c){var m=n.child;for(m!==null&&(m.return=n);m!==null;){var g=m.dependencies;if(g!==null){var S=m.child;g=g.firstContext;e:for(;g!==null;){var R=g;g=m;for(var P=0;P<a.length;P++)if(R.context===a[P]){g.lanes|=o,R=g.alternate,R!==null&&(R.lanes|=o),yf(g.return,o,n),c||(S=null);break e}g=R.next}}else if(m.tag===18){if(S=m.return,S===null)throw Error(r(341));S.lanes|=o,g=S.alternate,g!==null&&(g.lanes|=o),yf(S,o,n),S=null}else S=m.child;if(S!==null)S.return=m;else for(S=m;S!==null;){if(S===n){S=null;break}if(m=S.sibling,m!==null){m.return=S.return,S=m;break}S=S.return}m=S}}function Lr(n,a,o,c){n=null;for(var m=a,g=!1;m!==null;){if(!g){if((m.flags&524288)!==0)g=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var S=m.alternate;if(S===null)throw Error(r(387));if(S=S.memoizedProps,S!==null){var R=m.type;rn(m.pendingProps.value,S.value)||(n!==null?n.push(R):n=[R])}}else if(m===xe.current){if(S=m.alternate,S===null)throw Error(r(387));S.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(n!==null?n.push(uo):n=[uo])}m=m.return}n!==null&&xf(a,n,o,c),a.flags|=262144}function ys(n){for(n=n.firstContext;n!==null;){if(!rn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function $a(n){Da=n,ul=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function zt(n){return zm(Da,n)}function xs(n,a){return Da===null&&$a(n),zm(n,a)}function zm(n,a){var o=a._currentValue;if(a={context:a,memoizedValue:o,next:null},ul===null){if(n===null)throw Error(r(308));ul=a,n.dependencies={lanes:0,firstContext:a},n.flags|=524288}else ul=ul.next=a;return o}var K7=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(o,c){n.push(c)}};this.abort=function(){a.aborted=!0,n.forEach(function(o){return o()})}},U7=e.unstable_scheduleCallback,F7=e.unstable_NormalPriority,gt={$$typeof:L,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Sf(){return{controller:new K7,data:new Map,refCount:0}}function Ii(n){n.refCount--,n.refCount===0&&U7(F7,function(){n.controller.abort()})}var Bi=null,wf=0,kr=0,Nr=null;function V7(n,a){if(Bi===null){var o=Bi=[];wf=0,kr=Td(),Nr={status:"pending",value:void 0,then:function(c){o.push(c)}}}return wf++,a.then(Pm,Pm),a}function Pm(){if(--wf===0&&Bi!==null){Nr!==null&&(Nr.status="fulfilled");var n=Bi;Bi=null,kr=0,Nr=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function _7(n,a){var o=[],c={status:"pending",value:null,reason:null,then:function(m){o.push(m)}};return n.then(function(){c.status="fulfilled",c.value=a;for(var m=0;m<o.length;m++)(0,o[m])(a)},function(m){for(c.status="rejected",c.reason=m,m=0;m<o.length;m++)(0,o[m])(void 0)}),c}var Om=z.S;z.S=function(n,a){yp=It(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&V7(n,a),Om!==null&&Om(n,a)};var za=D(null);function Ef(){var n=za.current;return n!==null?n:Qe.pooledCache}function Ss(n,a){a===null?se(za,za.current):se(za,a.pool)}function jm(){var n=Ef();return n===null?null:{parent:gt._currentValue,pool:n}}var Dr=Error(r(460)),Cf=Error(r(474)),ws=Error(r(542)),Es={then:function(){}};function Im(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Bm(n,a,o){switch(o=n[o],o===void 0?n.push(a):o!==a&&(a.then(il,il),a=o),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Km(n),n;default:if(typeof a.status=="string")a.then(il,il);else{if(n=Qe,n!==null&&100<n.shellSuspendCounter)throw Error(r(482));n=a,n.status="pending",n.then(function(c){if(a.status==="pending"){var m=a;m.status="fulfilled",m.value=c}},function(c){if(a.status==="pending"){var m=a;m.status="rejected",m.reason=c}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Km(n),n}throw Oa=a,Dr}}function Pa(n){try{var a=n._init;return a(n._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(Oa=o,Dr):o}}var Oa=null;function Hm(){if(Oa===null)throw Error(r(459));var n=Oa;return Oa=null,n}function Km(n){if(n===Dr||n===ws)throw Error(r(483))}var $r=null,Hi=0;function Cs(n){var a=Hi;return Hi+=1,$r===null&&($r=[]),Bm($r,n,a)}function Ki(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function Ts(n,a){throw a.$$typeof===v?Error(r(525)):(n=Object.prototype.toString.call(a),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)))}function Um(n){function a(F,I){if(n){var X=F.deletions;X===null?(F.deletions=[I],F.flags|=16):X.push(I)}}function o(F,I){if(!n)return null;for(;I!==null;)a(F,I),I=I.sibling;return null}function c(F){for(var I=new Map;F!==null;)F.key!==null?I.set(F.key,F):I.set(F.index,F),F=F.sibling;return I}function m(F,I){return F=sl(F,I),F.index=0,F.sibling=null,F}function g(F,I,X){return F.index=X,n?(X=F.alternate,X!==null?(X=X.index,X<I?(F.flags|=67108866,I):X):(F.flags|=67108866,I)):(F.flags|=1048576,I)}function S(F){return n&&F.alternate===null&&(F.flags|=67108866),F}function R(F,I,X,ae){return I===null||I.tag!==6?(I=df(X,F.mode,ae),I.return=F,I):(I=m(I,X),I.return=F,I)}function P(F,I,X,ae){var Se=X.type;return Se===T?le(F,I,X.props.children,ae,X.key):I!==null&&(I.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===A&&Pa(Se)===I.type)?(I=m(I,X.props),Ki(I,X),I.return=F,I):(I=bs(X.type,X.key,X.props,null,F.mode,ae),Ki(I,X),I.return=F,I)}function W(F,I,X,ae){return I===null||I.tag!==4||I.stateNode.containerInfo!==X.containerInfo||I.stateNode.implementation!==X.implementation?(I=hf(X,F.mode,ae),I.return=F,I):(I=m(I,X.children||[]),I.return=F,I)}function le(F,I,X,ae,Se){return I===null||I.tag!==7?(I=ka(X,F.mode,ae,Se),I.return=F,I):(I=m(I,X),I.return=F,I)}function re(F,I,X){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return I=df(""+I,F.mode,X),I.return=F,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case w:return X=bs(I.type,I.key,I.props,null,F.mode,X),Ki(X,I),X.return=F,X;case x:return I=hf(I,F.mode,X),I.return=F,I;case A:return I=Pa(I),re(F,I,X)}if(Y(I)||te(I))return I=ka(I,F.mode,X,null),I.return=F,I;if(typeof I.then=="function")return re(F,Cs(I),X);if(I.$$typeof===L)return re(F,xs(F,I),X);Ts(F,I)}return null}function Z(F,I,X,ae){var Se=I!==null?I.key:null;if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return Se!==null?null:R(F,I,""+X,ae);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case w:return X.key===Se?P(F,I,X,ae):null;case x:return X.key===Se?W(F,I,X,ae):null;case A:return X=Pa(X),Z(F,I,X,ae)}if(Y(X)||te(X))return Se!==null?null:le(F,I,X,ae,null);if(typeof X.then=="function")return Z(F,I,Cs(X),ae);if(X.$$typeof===L)return Z(F,I,xs(F,X),ae);Ts(F,X)}return null}function ee(F,I,X,ae,Se){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return F=F.get(X)||null,R(I,F,""+ae,Se);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case w:return F=F.get(ae.key===null?X:ae.key)||null,P(I,F,ae,Se);case x:return F=F.get(ae.key===null?X:ae.key)||null,W(I,F,ae,Se);case A:return ae=Pa(ae),ee(F,I,X,ae,Se)}if(Y(ae)||te(ae))return F=F.get(X)||null,le(I,F,ae,Se,null);if(typeof ae.then=="function")return ee(F,I,X,Cs(ae),Se);if(ae.$$typeof===L)return ee(F,I,X,xs(I,ae),Se);Ts(I,ae)}return null}function be(F,I,X,ae){for(var Se=null,Ke=null,ye=I,Me=I=0,Oe=null;ye!==null&&Me<X.length;Me++){ye.index>Me?(Oe=ye,ye=null):Oe=ye.sibling;var Ue=Z(F,ye,X[Me],ae);if(Ue===null){ye===null&&(ye=Oe);break}n&&ye&&Ue.alternate===null&&a(F,ye),I=g(Ue,I,Me),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue,ye=Oe}if(Me===X.length)return o(F,ye),je&&cl(F,Me),Se;if(ye===null){for(;Me<X.length;Me++)ye=re(F,X[Me],ae),ye!==null&&(I=g(ye,I,Me),Ke===null?Se=ye:Ke.sibling=ye,Ke=ye);return je&&cl(F,Me),Se}for(ye=c(ye);Me<X.length;Me++)Oe=ee(ye,F,Me,X[Me],ae),Oe!==null&&(n&&Oe.alternate!==null&&ye.delete(Oe.key===null?Me:Oe.key),I=g(Oe,I,Me),Ke===null?Se=Oe:Ke.sibling=Oe,Ke=Oe);return n&&ye.forEach(function(la){return a(F,la)}),je&&cl(F,Me),Se}function we(F,I,X,ae){if(X==null)throw Error(r(151));for(var Se=null,Ke=null,ye=I,Me=I=0,Oe=null,Ue=X.next();ye!==null&&!Ue.done;Me++,Ue=X.next()){ye.index>Me?(Oe=ye,ye=null):Oe=ye.sibling;var la=Z(F,ye,Ue.value,ae);if(la===null){ye===null&&(ye=Oe);break}n&&ye&&la.alternate===null&&a(F,ye),I=g(la,I,Me),Ke===null?Se=la:Ke.sibling=la,Ke=la,ye=Oe}if(Ue.done)return o(F,ye),je&&cl(F,Me),Se;if(ye===null){for(;!Ue.done;Me++,Ue=X.next())Ue=re(F,Ue.value,ae),Ue!==null&&(I=g(Ue,I,Me),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue);return je&&cl(F,Me),Se}for(ye=c(ye);!Ue.done;Me++,Ue=X.next())Ue=ee(ye,F,Me,Ue.value,ae),Ue!==null&&(n&&Ue.alternate!==null&&ye.delete(Ue.key===null?Me:Ue.key),I=g(Ue,I,Me),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue);return n&&ye.forEach(function(n8){return a(F,n8)}),je&&cl(F,Me),Se}function Ze(F,I,X,ae){if(typeof X=="object"&&X!==null&&X.type===T&&X.key===null&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case w:e:{for(var Se=X.key;I!==null;){if(I.key===Se){if(Se=X.type,Se===T){if(I.tag===7){o(F,I.sibling),ae=m(I,X.props.children),ae.return=F,F=ae;break e}}else if(I.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===A&&Pa(Se)===I.type){o(F,I.sibling),ae=m(I,X.props),Ki(ae,X),ae.return=F,F=ae;break e}o(F,I);break}else a(F,I);I=I.sibling}X.type===T?(ae=ka(X.props.children,F.mode,ae,X.key),ae.return=F,F=ae):(ae=bs(X.type,X.key,X.props,null,F.mode,ae),Ki(ae,X),ae.return=F,F=ae)}return S(F);case x:e:{for(Se=X.key;I!==null;){if(I.key===Se)if(I.tag===4&&I.stateNode.containerInfo===X.containerInfo&&I.stateNode.implementation===X.implementation){o(F,I.sibling),ae=m(I,X.children||[]),ae.return=F,F=ae;break e}else{o(F,I);break}else a(F,I);I=I.sibling}ae=hf(X,F.mode,ae),ae.return=F,F=ae}return S(F);case A:return X=Pa(X),Ze(F,I,X,ae)}if(Y(X))return be(F,I,X,ae);if(te(X)){if(Se=te(X),typeof Se!="function")throw Error(r(150));return X=Se.call(X),we(F,I,X,ae)}if(typeof X.then=="function")return Ze(F,I,Cs(X),ae);if(X.$$typeof===L)return Ze(F,I,xs(F,X),ae);Ts(F,X)}return typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint"?(X=""+X,I!==null&&I.tag===6?(o(F,I.sibling),ae=m(I,X),ae.return=F,F=ae):(o(F,I),ae=df(X,F.mode,ae),ae.return=F,F=ae),S(F)):o(F,I)}return function(F,I,X,ae){try{Hi=0;var Se=Ze(F,I,X,ae);return $r=null,Se}catch(ye){if(ye===Dr||ye===ws)throw ye;var Ke=on(29,ye,null,F.mode);return Ke.lanes=ae,Ke.return=F,Ke}finally{}}}var ja=Um(!0),Fm=Um(!1),Hl=!1;function Tf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Rf(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Kl(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Ul(n,a,o){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(Ve&2)!==0){var m=c.pending;return m===null?a.next=a:(a.next=m.next,m.next=a),c.pending=a,a=gs(n),Rm(n,null,o),a}return ps(n,c,a,o),gs(n)}function Ui(n,a,o){if(a=a.updateQueue,a!==null&&(a=a.shared,(o&4194048)!==0)){var c=a.lanes;c&=n.pendingLanes,o|=c,a.lanes=o,z2(n,o)}}function Mf(n,a){var o=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,o===c)){var m=null,g=null;if(o=o.firstBaseUpdate,o!==null){do{var S={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};g===null?m=g=S:g=g.next=S,o=o.next}while(o!==null);g===null?m=g=a:g=g.next=a}else m=g=a;o={baseState:c.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:c.shared,callbacks:c.callbacks},n.updateQueue=o;return}n=o.lastBaseUpdate,n===null?o.firstBaseUpdate=a:n.next=a,o.lastBaseUpdate=a}var Af=!1;function Fi(){if(Af){var n=Nr;if(n!==null)throw n}}function Vi(n,a,o,c){Af=!1;var m=n.updateQueue;Hl=!1;var g=m.firstBaseUpdate,S=m.lastBaseUpdate,R=m.shared.pending;if(R!==null){m.shared.pending=null;var P=R,W=P.next;P.next=null,S===null?g=W:S.next=W,S=P;var le=n.alternate;le!==null&&(le=le.updateQueue,R=le.lastBaseUpdate,R!==S&&(R===null?le.firstBaseUpdate=W:R.next=W,le.lastBaseUpdate=P))}if(g!==null){var re=m.baseState;S=0,le=W=P=null,R=g;do{var Z=R.lane&-536870913,ee=Z!==R.lane;if(ee?(Pe&Z)===Z:(c&Z)===Z){Z!==0&&Z===kr&&(Af=!0),le!==null&&(le=le.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var be=n,we=R;Z=a;var Ze=o;switch(we.tag){case 1:if(be=we.payload,typeof be=="function"){re=be.call(Ze,re,Z);break e}re=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=we.payload,Z=typeof be=="function"?be.call(Ze,re,Z):be,Z==null)break e;re=b({},re,Z);break e;case 2:Hl=!0}}Z=R.callback,Z!==null&&(n.flags|=64,ee&&(n.flags|=8192),ee=m.callbacks,ee===null?m.callbacks=[Z]:ee.push(Z))}else ee={lane:Z,tag:R.tag,payload:R.payload,callback:R.callback,next:null},le===null?(W=le=ee,P=re):le=le.next=ee,S|=Z;if(R=R.next,R===null){if(R=m.shared.pending,R===null)break;ee=R,R=ee.next,ee.next=null,m.lastBaseUpdate=ee,m.shared.pending=null}}while(!0);le===null&&(P=re),m.baseState=P,m.firstBaseUpdate=W,m.lastBaseUpdate=le,g===null&&(m.shared.lanes=0),ql|=S,n.lanes=S,n.memoizedState=re}}function Vm(n,a){if(typeof n!="function")throw Error(r(191,n));n.call(a)}function _m(n,a){var o=n.callbacks;if(o!==null)for(n.callbacks=null,n=0;n<o.length;n++)Vm(o[n],a)}var zr=D(null),Rs=D(0);function Gm(n,a){n=xl,se(Rs,n),se(zr,a),xl=n|a.baseLanes}function Lf(){se(Rs,xl),se(zr,zr.current)}function kf(){xl=Rs.current,Q(zr),Q(Rs)}var sn=D(null),Ln=null;function Fl(n){var a=n.alternate;se(ft,ft.current&1),se(sn,n),Ln===null&&(a===null||zr.current!==null||a.memoizedState!==null)&&(Ln=n)}function Nf(n){se(ft,ft.current),se(sn,n),Ln===null&&(Ln=n)}function qm(n){n.tag===22?(se(ft,ft.current),se(sn,n),Ln===null&&(Ln=n)):Vl()}function Vl(){se(ft,ft.current),se(sn,sn.current)}function cn(n){Q(sn),Ln===n&&(Ln=null),Q(ft)}var ft=D(0);function Ms(n){for(var a=n;a!==null;){if(a.tag===13){var o=a.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||jd(o)||Id(o)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var dl=0,Re=null,Xe=null,bt=null,As=!1,Pr=!1,Ia=!1,Ls=0,_i=0,Or=null,G7=0;function ot(){throw Error(r(321))}function Df(n,a){if(a===null)return!1;for(var o=0;o<a.length&&o<n.length;o++)if(!rn(n[o],a[o]))return!1;return!0}function $f(n,a,o,c,m,g){return dl=g,Re=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,z.H=n===null||n.memoizedState===null?k1:Yf,Ia=!1,g=o(c,m),Ia=!1,Pr&&(g=Xm(a,o,c,m)),Ym(n),g}function Ym(n){z.H=Yi;var a=Xe!==null&&Xe.next!==null;if(dl=0,bt=Xe=Re=null,As=!1,_i=0,Or=null,a)throw Error(r(300));n===null||vt||(n=n.dependencies,n!==null&&ys(n)&&(vt=!0))}function Xm(n,a,o,c){Re=n;var m=0;do{if(Pr&&(Or=null),_i=0,Pr=!1,25<=m)throw Error(r(301));if(m+=1,bt=Xe=null,n.updateQueue!=null){var g=n.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}z.H=N1,g=a(o,c)}while(Pr);return g}function q7(){var n=z.H,a=n.useState()[0];return a=typeof a.then=="function"?Gi(a):a,n=n.useState()[0],(Xe!==null?Xe.memoizedState:null)!==n&&(Re.flags|=1024),a}function zf(){var n=Ls!==0;return Ls=0,n}function Pf(n,a,o){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~o}function Of(n){if(As){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}As=!1}dl=0,bt=Xe=Re=null,Pr=!1,_i=Ls=0,Or=null}function Kt(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bt===null?Re.memoizedState=bt=n:bt=bt.next=n,bt}function dt(){if(Xe===null){var n=Re.alternate;n=n!==null?n.memoizedState:null}else n=Xe.next;var a=bt===null?Re.memoizedState:bt.next;if(a!==null)bt=a,Xe=n;else{if(n===null)throw Re.alternate===null?Error(r(467)):Error(r(310));Xe=n,n={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},bt===null?Re.memoizedState=bt=n:bt=bt.next=n}return bt}function ks(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Gi(n){var a=_i;return _i+=1,Or===null&&(Or=[]),n=Bm(Or,n,a),a=Re,(bt===null?a.memoizedState:bt.next)===null&&(a=a.alternate,z.H=a===null||a.memoizedState===null?k1:Yf),n}function Ns(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Gi(n);if(n.$$typeof===L)return zt(n)}throw Error(r(438,String(n)))}function jf(n){var a=null,o=Re.updateQueue;if(o!==null&&(a=o.memoCache),a==null){var c=Re.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(a={data:c.data.map(function(m){return m.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),o===null&&(o=ks(),Re.updateQueue=o),o.memoCache=a,o=a.data[a.index],o===void 0)for(o=a.data[a.index]=Array(n),c=0;c<n;c++)o[c]=K;return a.index++,o}function hl(n,a){return typeof a=="function"?a(n):a}function Ds(n){var a=dt();return If(a,Xe,n)}function If(n,a,o){var c=n.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=o;var m=n.baseQueue,g=c.pending;if(g!==null){if(m!==null){var S=m.next;m.next=g.next,g.next=S}a.baseQueue=m=g,c.pending=null}if(g=n.baseState,m===null)n.memoizedState=g;else{a=m.next;var R=S=null,P=null,W=a,le=!1;do{var re=W.lane&-536870913;if(re!==W.lane?(Pe&re)===re:(dl&re)===re){var Z=W.revertLane;if(Z===0)P!==null&&(P=P.next={lane:0,revertLane:0,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),re===kr&&(le=!0);else if((dl&Z)===Z){W=W.next,Z===kr&&(le=!0);continue}else re={lane:0,revertLane:W.revertLane,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},P===null?(R=P=re,S=g):P=P.next=re,Re.lanes|=Z,ql|=Z;re=W.action,Ia&&o(g,re),g=W.hasEagerState?W.eagerState:o(g,re)}else Z={lane:re,revertLane:W.revertLane,gesture:W.gesture,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},P===null?(R=P=Z,S=g):P=P.next=Z,Re.lanes|=re,ql|=re;W=W.next}while(W!==null&&W!==a);if(P===null?S=g:P.next=R,!rn(g,n.memoizedState)&&(vt=!0,le&&(o=Nr,o!==null)))throw o;n.memoizedState=g,n.baseState=S,n.baseQueue=P,c.lastRenderedState=g}return m===null&&(c.lanes=0),[n.memoizedState,c.dispatch]}function Bf(n){var a=dt(),o=a.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=n;var c=o.dispatch,m=o.pending,g=a.memoizedState;if(m!==null){o.pending=null;var S=m=m.next;do g=n(g,S.action),S=S.next;while(S!==m);rn(g,a.memoizedState)||(vt=!0),a.memoizedState=g,a.baseQueue===null&&(a.baseState=g),o.lastRenderedState=g}return[g,c]}function Wm(n,a,o){var c=Re,m=dt(),g=je;if(g){if(o===void 0)throw Error(r(407));o=o()}else o=a();var S=!rn((Xe||m).memoizedState,o);if(S&&(m.memoizedState=o,vt=!0),m=m.queue,Uf(Jm.bind(null,c,m,n),[n]),m.getSnapshot!==a||S||bt!==null&&bt.memoizedState.tag&1){if(c.flags|=2048,jr(9,{destroy:void 0},Qm.bind(null,c,m,o,a),null),Qe===null)throw Error(r(349));g||(dl&127)!==0||Zm(c,a,o)}return o}function Zm(n,a,o){n.flags|=16384,n={getSnapshot:a,value:o},a=Re.updateQueue,a===null?(a=ks(),Re.updateQueue=a,a.stores=[n]):(o=a.stores,o===null?a.stores=[n]:o.push(n))}function Qm(n,a,o,c){a.value=o,a.getSnapshot=c,e1(a)&&t1(n)}function Jm(n,a,o){return o(function(){e1(a)&&t1(n)})}function e1(n){var a=n.getSnapshot;n=n.value;try{var o=a();return!rn(n,o)}catch{return!0}}function t1(n){var a=La(n,2);a!==null&&Wt(a,n,2)}function Hf(n){var a=Kt();if(typeof n=="function"){var o=n;if(n=o(),Ia){$l(!0);try{o()}finally{$l(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:hl,lastRenderedState:n},a}function n1(n,a,o,c){return n.baseState=o,If(n,Xe,typeof c=="function"?c:hl)}function Y7(n,a,o,c,m){if(Ps(n))throw Error(r(485));if(n=a.action,n!==null){var g={payload:m,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){g.listeners.push(S)}};z.T!==null?o(!0):g.isTransition=!1,c(g),o=a.pending,o===null?(g.next=a.pending=g,l1(a,g)):(g.next=o.next,a.pending=o.next=g)}}function l1(n,a){var o=a.action,c=a.payload,m=n.state;if(a.isTransition){var g=z.T,S={};z.T=S;try{var R=o(m,c),P=z.S;P!==null&&P(S,R),a1(n,a,R)}catch(W){Kf(n,a,W)}finally{g!==null&&S.types!==null&&(g.types=S.types),z.T=g}}else try{g=o(m,c),a1(n,a,g)}catch(W){Kf(n,a,W)}}function a1(n,a,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(c){r1(n,a,c)},function(c){return Kf(n,a,c)}):r1(n,a,o)}function r1(n,a,o){a.status="fulfilled",a.value=o,i1(a),n.state=o,a=n.pending,a!==null&&(o=a.next,o===a?n.pending=null:(o=o.next,a.next=o,l1(n,o)))}function Kf(n,a,o){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do a.status="rejected",a.reason=o,i1(a),a=a.next;while(a!==c)}n.action=null}function i1(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function o1(n,a){return a}function s1(n,a){if(je){var o=Qe.formState;if(o!==null){e:{var c=Re;if(je){if(nt){t:{for(var m=nt,g=An;m.nodeType!==8;){if(!g){m=null;break t}if(m=kn(m.nextSibling),m===null){m=null;break t}}g=m.data,m=g==="F!"||g==="F"?m:null}if(m){nt=kn(m.nextSibling),c=m.data==="F!";break e}}Il(c)}c=!1}c&&(a=o[0])}}return o=Kt(),o.memoizedState=o.baseState=a,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o1,lastRenderedState:a},o.queue=c,o=M1.bind(null,Re,c),c.dispatch=o,c=Hf(!1),g=qf.bind(null,Re,!1,c.queue),c=Kt(),m={state:a,dispatch:null,action:n,pending:null},c.queue=m,o=Y7.bind(null,Re,m,g,o),m.dispatch=o,c.memoizedState=n,[a,o,!1]}function c1(n){var a=dt();return u1(a,Xe,n)}function u1(n,a,o){if(a=If(n,a,o1)[0],n=Ds(hl)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var c=Gi(a)}catch(S){throw S===Dr?ws:S}else c=a;a=dt();var m=a.queue,g=m.dispatch;return o!==a.memoizedState&&(Re.flags|=2048,jr(9,{destroy:void 0},X7.bind(null,m,o),null)),[c,g,n]}function X7(n,a){n.action=a}function f1(n){var a=dt(),o=Xe;if(o!==null)return u1(a,o,n);dt(),a=a.memoizedState,o=dt();var c=o.queue.dispatch;return o.memoizedState=n,[a,c,!1]}function jr(n,a,o,c){return n={tag:n,create:o,deps:c,inst:a,next:null},a=Re.updateQueue,a===null&&(a=ks(),Re.updateQueue=a),o=a.lastEffect,o===null?a.lastEffect=n.next=n:(c=o.next,o.next=n,n.next=c,a.lastEffect=n),n}function d1(){return dt().memoizedState}function $s(n,a,o,c){var m=Kt();Re.flags|=n,m.memoizedState=jr(1|a,{destroy:void 0},o,c===void 0?null:c)}function zs(n,a,o,c){var m=dt();c=c===void 0?null:c;var g=m.memoizedState.inst;Xe!==null&&c!==null&&Df(c,Xe.memoizedState.deps)?m.memoizedState=jr(a,g,o,c):(Re.flags|=n,m.memoizedState=jr(1|a,g,o,c))}function h1(n,a){$s(8390656,8,n,a)}function Uf(n,a){zs(2048,8,n,a)}function W7(n){Re.flags|=4;var a=Re.updateQueue;if(a===null)a=ks(),Re.updateQueue=a,a.events=[n];else{var o=a.events;o===null?a.events=[n]:o.push(n)}}function m1(n){var a=dt().memoizedState;return W7({ref:a,nextImpl:n}),function(){if((Ve&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}function p1(n,a){return zs(4,2,n,a)}function g1(n,a){return zs(4,4,n,a)}function b1(n,a){if(typeof a=="function"){n=n();var o=a(n);return function(){typeof o=="function"?o():a(null)}}if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function v1(n,a,o){o=o!=null?o.concat([n]):null,zs(4,4,b1.bind(null,a,n),o)}function Ff(){}function y1(n,a){var o=dt();a=a===void 0?null:a;var c=o.memoizedState;return a!==null&&Df(a,c[1])?c[0]:(o.memoizedState=[n,a],n)}function x1(n,a){var o=dt();a=a===void 0?null:a;var c=o.memoizedState;if(a!==null&&Df(a,c[1]))return c[0];if(c=n(),Ia){$l(!0);try{n()}finally{$l(!1)}}return o.memoizedState=[c,a],c}function Vf(n,a,o){return o===void 0||(dl&1073741824)!==0&&(Pe&261930)===0?n.memoizedState=a:(n.memoizedState=o,n=Sp(),Re.lanes|=n,ql|=n,o)}function S1(n,a,o,c){return rn(o,a)?o:zr.current!==null?(n=Vf(n,o,c),rn(n,a)||(vt=!0),n):(dl&42)===0||(dl&1073741824)!==0&&(Pe&261930)===0?(vt=!0,n.memoizedState=o):(n=Sp(),Re.lanes|=n,ql|=n,a)}function w1(n,a,o,c,m){var g=O.p;O.p=g!==0&&8>g?g:8;var S=z.T,R={};z.T=R,qf(n,!1,a,o);try{var P=m(),W=z.S;if(W!==null&&W(R,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var le=_7(P,c);qi(n,a,le,dn(n))}else qi(n,a,c,dn(n))}catch(re){qi(n,a,{then:function(){},status:"rejected",reason:re},dn())}finally{O.p=g,S!==null&&R.types!==null&&(S.types=R.types),z.T=S}}function Z7(){}function _f(n,a,o,c){if(n.tag!==5)throw Error(r(476));var m=E1(n).queue;w1(n,m,a,oe,o===null?Z7:function(){return C1(n),o(c)})}function E1(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hl,lastRenderedState:oe},next:null};var o={};return a.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hl,lastRenderedState:o},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function C1(n){var a=E1(n);a.next===null&&(a=n.alternate.memoizedState),qi(n,a.next.queue,{},dn())}function Gf(){return zt(uo)}function T1(){return dt().memoizedState}function R1(){return dt().memoizedState}function Q7(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var o=dn();n=Kl(o);var c=Ul(a,n,o);c!==null&&(Wt(c,a,o),Ui(c,a,o)),a={cache:Sf()},n.payload=a;return}a=a.return}}function J7(n,a,o){var c=dn();o={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Ps(n)?A1(a,o):(o=uf(n,a,o,c),o!==null&&(Wt(o,n,c),L1(o,a,c)))}function M1(n,a,o){var c=dn();qi(n,a,o,c)}function qi(n,a,o,c){var m={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Ps(n))A1(a,m);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=a.lastRenderedReducer,g!==null))try{var S=a.lastRenderedState,R=g(S,o);if(m.hasEagerState=!0,m.eagerState=R,rn(R,S))return ps(n,a,m,0),Qe===null&&ms(),!1}catch{}finally{}if(o=uf(n,a,m,c),o!==null)return Wt(o,n,c),L1(o,a,c),!0}return!1}function qf(n,a,o,c){if(c={lane:2,revertLane:Td(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Ps(n)){if(a)throw Error(r(479))}else a=uf(n,o,c,2),a!==null&&Wt(a,n,2)}function Ps(n){var a=n.alternate;return n===Re||a!==null&&a===Re}function A1(n,a){Pr=As=!0;var o=n.pending;o===null?a.next=a:(a.next=o.next,o.next=a),n.pending=a}function L1(n,a,o){if((o&4194048)!==0){var c=a.lanes;c&=n.pendingLanes,o|=c,a.lanes=o,z2(n,o)}}var Yi={readContext:zt,use:Ns,useCallback:ot,useContext:ot,useEffect:ot,useImperativeHandle:ot,useLayoutEffect:ot,useInsertionEffect:ot,useMemo:ot,useReducer:ot,useRef:ot,useState:ot,useDebugValue:ot,useDeferredValue:ot,useTransition:ot,useSyncExternalStore:ot,useId:ot,useHostTransitionStatus:ot,useFormState:ot,useActionState:ot,useOptimistic:ot,useMemoCache:ot,useCacheRefresh:ot};Yi.useEffectEvent=ot;var k1={readContext:zt,use:Ns,useCallback:function(n,a){return Kt().memoizedState=[n,a===void 0?null:a],n},useContext:zt,useEffect:h1,useImperativeHandle:function(n,a,o){o=o!=null?o.concat([n]):null,$s(4194308,4,b1.bind(null,a,n),o)},useLayoutEffect:function(n,a){return $s(4194308,4,n,a)},useInsertionEffect:function(n,a){$s(4,2,n,a)},useMemo:function(n,a){var o=Kt();a=a===void 0?null:a;var c=n();if(Ia){$l(!0);try{n()}finally{$l(!1)}}return o.memoizedState=[c,a],c},useReducer:function(n,a,o){var c=Kt();if(o!==void 0){var m=o(a);if(Ia){$l(!0);try{o(a)}finally{$l(!1)}}}else m=a;return c.memoizedState=c.baseState=m,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:m},c.queue=n,n=n.dispatch=J7.bind(null,Re,n),[c.memoizedState,n]},useRef:function(n){var a=Kt();return n={current:n},a.memoizedState=n},useState:function(n){n=Hf(n);var a=n.queue,o=M1.bind(null,Re,a);return a.dispatch=o,[n.memoizedState,o]},useDebugValue:Ff,useDeferredValue:function(n,a){var o=Kt();return Vf(o,n,a)},useTransition:function(){var n=Hf(!1);return n=w1.bind(null,Re,n.queue,!0,!1),Kt().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,o){var c=Re,m=Kt();if(je){if(o===void 0)throw Error(r(407));o=o()}else{if(o=a(),Qe===null)throw Error(r(349));(Pe&127)!==0||Zm(c,a,o)}m.memoizedState=o;var g={value:o,getSnapshot:a};return m.queue=g,h1(Jm.bind(null,c,g,n),[n]),c.flags|=2048,jr(9,{destroy:void 0},Qm.bind(null,c,g,o,a),null),o},useId:function(){var n=Kt(),a=Qe.identifierPrefix;if(je){var o=Yn,c=qn;o=(c&~(1<<32-an(c)-1)).toString(32)+o,a="_"+a+"R_"+o,o=Ls++,0<o&&(a+="H"+o.toString(32)),a+="_"}else o=G7++,a="_"+a+"r_"+o.toString(32)+"_";return n.memoizedState=a},useHostTransitionStatus:Gf,useFormState:s1,useActionState:s1,useOptimistic:function(n){var a=Kt();a.memoizedState=a.baseState=n;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=o,a=qf.bind(null,Re,!0,o),o.dispatch=a,[n,a]},useMemoCache:jf,useCacheRefresh:function(){return Kt().memoizedState=Q7.bind(null,Re)},useEffectEvent:function(n){var a=Kt(),o={impl:n};return a.memoizedState=o,function(){if((Ve&2)!==0)throw Error(r(440));return o.impl.apply(void 0,arguments)}}},Yf={readContext:zt,use:Ns,useCallback:y1,useContext:zt,useEffect:Uf,useImperativeHandle:v1,useInsertionEffect:p1,useLayoutEffect:g1,useMemo:x1,useReducer:Ds,useRef:d1,useState:function(){return Ds(hl)},useDebugValue:Ff,useDeferredValue:function(n,a){var o=dt();return S1(o,Xe.memoizedState,n,a)},useTransition:function(){var n=Ds(hl)[0],a=dt().memoizedState;return[typeof n=="boolean"?n:Gi(n),a]},useSyncExternalStore:Wm,useId:T1,useHostTransitionStatus:Gf,useFormState:c1,useActionState:c1,useOptimistic:function(n,a){var o=dt();return n1(o,Xe,n,a)},useMemoCache:jf,useCacheRefresh:R1};Yf.useEffectEvent=m1;var N1={readContext:zt,use:Ns,useCallback:y1,useContext:zt,useEffect:Uf,useImperativeHandle:v1,useInsertionEffect:p1,useLayoutEffect:g1,useMemo:x1,useReducer:Bf,useRef:d1,useState:function(){return Bf(hl)},useDebugValue:Ff,useDeferredValue:function(n,a){var o=dt();return Xe===null?Vf(o,n,a):S1(o,Xe.memoizedState,n,a)},useTransition:function(){var n=Bf(hl)[0],a=dt().memoizedState;return[typeof n=="boolean"?n:Gi(n),a]},useSyncExternalStore:Wm,useId:T1,useHostTransitionStatus:Gf,useFormState:f1,useActionState:f1,useOptimistic:function(n,a){var o=dt();return Xe!==null?n1(o,Xe,n,a):(o.baseState=n,[n,o.queue.dispatch])},useMemoCache:jf,useCacheRefresh:R1};N1.useEffectEvent=m1;function Xf(n,a,o,c){a=n.memoizedState,o=o(c,a),o=o==null?a:b({},a,o),n.memoizedState=o,n.lanes===0&&(n.updateQueue.baseState=o)}var Wf={enqueueSetState:function(n,a,o){n=n._reactInternals;var c=dn(),m=Kl(c);m.payload=a,o!=null&&(m.callback=o),a=Ul(n,m,c),a!==null&&(Wt(a,n,c),Ui(a,n,c))},enqueueReplaceState:function(n,a,o){n=n._reactInternals;var c=dn(),m=Kl(c);m.tag=1,m.payload=a,o!=null&&(m.callback=o),a=Ul(n,m,c),a!==null&&(Wt(a,n,c),Ui(a,n,c))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var o=dn(),c=Kl(o);c.tag=2,a!=null&&(c.callback=a),a=Ul(n,c,o),a!==null&&(Wt(a,n,o),Ui(a,n,o))}};function D1(n,a,o,c,m,g,S){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,g,S):a.prototype&&a.prototype.isPureReactComponent?!zi(o,c)||!zi(m,g):!0}function $1(n,a,o,c){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(o,c),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(o,c),a.state!==n&&Wf.enqueueReplaceState(a,a.state,null)}function Ba(n,a){var o=a;if("ref"in a){o={};for(var c in a)c!=="ref"&&(o[c]=a[c])}if(n=n.defaultProps){o===a&&(o=b({},o));for(var m in n)o[m]===void 0&&(o[m]=n[m])}return o}function z1(n){hs(n)}function P1(n){console.error(n)}function O1(n){hs(n)}function Os(n,a){try{var o=n.onUncaughtError;o(a.value,{componentStack:a.stack})}catch(c){setTimeout(function(){throw c})}}function j1(n,a,o){try{var c=n.onCaughtError;c(o.value,{componentStack:o.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function Zf(n,a,o){return o=Kl(o),o.tag=3,o.payload={element:null},o.callback=function(){Os(n,a)},o}function I1(n){return n=Kl(n),n.tag=3,n}function B1(n,a,o,c){var m=o.type.getDerivedStateFromError;if(typeof m=="function"){var g=c.value;n.payload=function(){return m(g)},n.callback=function(){j1(a,o,c)}}var S=o.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(n.callback=function(){j1(a,o,c),typeof m!="function"&&(Yl===null?Yl=new Set([this]):Yl.add(this));var R=c.stack;this.componentDidCatch(c.value,{componentStack:R!==null?R:""})})}function eS(n,a,o,c,m){if(o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(a=o.alternate,a!==null&&Lr(a,o,m,!0),o=sn.current,o!==null){switch(o.tag){case 31:case 13:return Ln===null?Ys():o.alternate===null&&st===0&&(st=3),o.flags&=-257,o.flags|=65536,o.lanes=m,c===Es?o.flags|=16384:(a=o.updateQueue,a===null?o.updateQueue=new Set([c]):a.add(c),wd(n,c,m)),!1;case 22:return o.flags|=65536,c===Es?o.flags|=16384:(a=o.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([c])},o.updateQueue=a):(o=a.retryQueue,o===null?a.retryQueue=new Set([c]):o.add(c)),wd(n,c,m)),!1}throw Error(r(435,o.tag))}return wd(n,c,m),Ys(),!1}if(je)return a=sn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=m,c!==gf&&(n=Error(r(422),{cause:c}),ji(Tn(n,o)))):(c!==gf&&(a=Error(r(423),{cause:c}),ji(Tn(a,o))),n=n.current.alternate,n.flags|=65536,m&=-m,n.lanes|=m,c=Tn(c,o),m=Zf(n.stateNode,c,m),Mf(n,m),st!==4&&(st=2)),!1;var g=Error(r(520),{cause:c});if(g=Tn(g,o),no===null?no=[g]:no.push(g),st!==4&&(st=2),a===null)return!0;c=Tn(c,o),o=a;do{switch(o.tag){case 3:return o.flags|=65536,n=m&-m,o.lanes|=n,n=Zf(o.stateNode,c,n),Mf(o,n),!1;case 1:if(a=o.type,g=o.stateNode,(o.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Yl===null||!Yl.has(g))))return o.flags|=65536,m&=-m,o.lanes|=m,m=I1(m),B1(m,n,o,c),Mf(o,m),!1}o=o.return}while(o!==null);return!1}var Qf=Error(r(461)),vt=!1;function Pt(n,a,o,c){a.child=n===null?Fm(a,null,o,c):ja(a,n.child,o,c)}function H1(n,a,o,c,m){o=o.render;var g=a.ref;if("ref"in c){var S={};for(var R in c)R!=="ref"&&(S[R]=c[R])}else S=c;return $a(a),c=$f(n,a,o,S,g,m),R=zf(),n!==null&&!vt?(Pf(n,a,m),ml(n,a,m)):(je&&R&&mf(a),a.flags|=1,Pt(n,a,c,m),a.child)}function K1(n,a,o,c,m){if(n===null){var g=o.type;return typeof g=="function"&&!ff(g)&&g.defaultProps===void 0&&o.compare===null?(a.tag=15,a.type=g,U1(n,a,g,c,m)):(n=bs(o.type,null,c,a,a.mode,m),n.ref=a.ref,n.return=a,a.child=n)}if(g=n.child,!id(n,m)){var S=g.memoizedProps;if(o=o.compare,o=o!==null?o:zi,o(S,c)&&n.ref===a.ref)return ml(n,a,m)}return a.flags|=1,n=sl(g,c),n.ref=a.ref,n.return=a,a.child=n}function U1(n,a,o,c,m){if(n!==null){var g=n.memoizedProps;if(zi(g,c)&&n.ref===a.ref)if(vt=!1,a.pendingProps=c=g,id(n,m))(n.flags&131072)!==0&&(vt=!0);else return a.lanes=n.lanes,ml(n,a,m)}return Jf(n,a,o,c,m)}function F1(n,a,o,c){var m=c.children,g=n!==null?n.memoizedState:null;if(n===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((a.flags&128)!==0){if(g=g!==null?g.baseLanes|o:o,n!==null){for(c=a.child=n.child,m=0;c!==null;)m=m|c.lanes|c.childLanes,c=c.sibling;c=m&~g}else c=0,a.child=null;return V1(n,a,g,o,c)}if((o&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&Ss(a,g!==null?g.cachePool:null),g!==null?Gm(a,g):Lf(),qm(a);else return c=a.lanes=536870912,V1(n,a,g!==null?g.baseLanes|o:o,o,c)}else g!==null?(Ss(a,g.cachePool),Gm(a,g),Vl(),a.memoizedState=null):(n!==null&&Ss(a,null),Lf(),Vl());return Pt(n,a,m,o),a.child}function Xi(n,a){return n!==null&&n.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function V1(n,a,o,c,m){var g=Ef();return g=g===null?null:{parent:gt._currentValue,pool:g},a.memoizedState={baseLanes:o,cachePool:g},n!==null&&Ss(a,null),Lf(),qm(a),n!==null&&Lr(n,a,c,!0),a.childLanes=m,null}function js(n,a){return a=Bs({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function _1(n,a,o){return ja(a,n.child,null,o),n=js(a,a.pendingProps),n.flags|=2,cn(a),a.memoizedState=null,n}function tS(n,a,o){var c=a.pendingProps,m=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(je){if(c.mode==="hidden")return n=js(a,c),a.lanes=536870912,Xi(null,n);if(Nf(a),(n=nt)?(n=lg(n,An),n=n!==null&&n.data==="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:Ol!==null?{id:qn,overflow:Yn}:null,retryLane:536870912,hydrationErrors:null},o=Am(n),o.return=a,a.child=o,$t=a,nt=null)):n=null,n===null)throw Il(a);return a.lanes=536870912,null}return js(a,c)}var g=n.memoizedState;if(g!==null){var S=g.dehydrated;if(Nf(a),m)if(a.flags&256)a.flags&=-257,a=_1(n,a,o);else if(a.memoizedState!==null)a.child=n.child,a.flags|=128,a=null;else throw Error(r(558));else if(vt||Lr(n,a,o,!1),m=(o&n.childLanes)!==0,vt||m){if(c=Qe,c!==null&&(S=P2(c,o),S!==0&&S!==g.retryLane))throw g.retryLane=S,La(n,S),Wt(c,n,S),Qf;Ys(),a=_1(n,a,o)}else n=g.treeContext,nt=kn(S.nextSibling),$t=a,je=!0,jl=null,An=!1,n!==null&&Nm(a,n),a=js(a,c),a.flags|=4096;return a}return n=sl(n.child,{mode:c.mode,children:c.children}),n.ref=a.ref,a.child=n,n.return=a,n}function Is(n,a){var o=a.ref;if(o===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(r(284));(n===null||n.ref!==o)&&(a.flags|=4194816)}}function Jf(n,a,o,c,m){return $a(a),o=$f(n,a,o,c,void 0,m),c=zf(),n!==null&&!vt?(Pf(n,a,m),ml(n,a,m)):(je&&c&&mf(a),a.flags|=1,Pt(n,a,o,m),a.child)}function G1(n,a,o,c,m,g){return $a(a),a.updateQueue=null,o=Xm(a,c,o,m),Ym(n),c=zf(),n!==null&&!vt?(Pf(n,a,g),ml(n,a,g)):(je&&c&&mf(a),a.flags|=1,Pt(n,a,o,g),a.child)}function q1(n,a,o,c,m){if($a(a),a.stateNode===null){var g=Tr,S=o.contextType;typeof S=="object"&&S!==null&&(g=zt(S)),g=new o(c,g),a.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=Wf,a.stateNode=g,g._reactInternals=a,g=a.stateNode,g.props=c,g.state=a.memoizedState,g.refs={},Tf(a),S=o.contextType,g.context=typeof S=="object"&&S!==null?zt(S):Tr,g.state=a.memoizedState,S=o.getDerivedStateFromProps,typeof S=="function"&&(Xf(a,o,S,c),g.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(S=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),S!==g.state&&Wf.enqueueReplaceState(g,g.state,null),Vi(a,c,g,m),Fi(),g.state=a.memoizedState),typeof g.componentDidMount=="function"&&(a.flags|=4194308),c=!0}else if(n===null){g=a.stateNode;var R=a.memoizedProps,P=Ba(o,R);g.props=P;var W=g.context,le=o.contextType;S=Tr,typeof le=="object"&&le!==null&&(S=zt(le));var re=o.getDerivedStateFromProps;le=typeof re=="function"||typeof g.getSnapshotBeforeUpdate=="function",R=a.pendingProps!==R,le||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(R||W!==S)&&$1(a,g,c,S),Hl=!1;var Z=a.memoizedState;g.state=Z,Vi(a,c,g,m),Fi(),W=a.memoizedState,R||Z!==W||Hl?(typeof re=="function"&&(Xf(a,o,re,c),W=a.memoizedState),(P=Hl||D1(a,o,P,c,Z,W,S))?(le||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(a.flags|=4194308)):(typeof g.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=c,a.memoizedState=W),g.props=c,g.state=W,g.context=S,c=P):(typeof g.componentDidMount=="function"&&(a.flags|=4194308),c=!1)}else{g=a.stateNode,Rf(n,a),S=a.memoizedProps,le=Ba(o,S),g.props=le,re=a.pendingProps,Z=g.context,W=o.contextType,P=Tr,typeof W=="object"&&W!==null&&(P=zt(W)),R=o.getDerivedStateFromProps,(W=typeof R=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(S!==re||Z!==P)&&$1(a,g,c,P),Hl=!1,Z=a.memoizedState,g.state=Z,Vi(a,c,g,m),Fi();var ee=a.memoizedState;S!==re||Z!==ee||Hl||n!==null&&n.dependencies!==null&&ys(n.dependencies)?(typeof R=="function"&&(Xf(a,o,R,c),ee=a.memoizedState),(le=Hl||D1(a,o,le,c,Z,ee,P)||n!==null&&n.dependencies!==null&&ys(n.dependencies))?(W||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,ee,P),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,ee,P)),typeof g.componentDidUpdate=="function"&&(a.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof g.componentDidUpdate!="function"||S===n.memoizedProps&&Z===n.memoizedState||(a.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===n.memoizedProps&&Z===n.memoizedState||(a.flags|=1024),a.memoizedProps=c,a.memoizedState=ee),g.props=c,g.state=ee,g.context=P,c=le):(typeof g.componentDidUpdate!="function"||S===n.memoizedProps&&Z===n.memoizedState||(a.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===n.memoizedProps&&Z===n.memoizedState||(a.flags|=1024),c=!1)}return g=c,Is(n,a),c=(a.flags&128)!==0,g||c?(g=a.stateNode,o=c&&typeof o.getDerivedStateFromError!="function"?null:g.render(),a.flags|=1,n!==null&&c?(a.child=ja(a,n.child,null,m),a.child=ja(a,null,o,m)):Pt(n,a,o,m),a.memoizedState=g.state,n=a.child):n=ml(n,a,m),n}function Y1(n,a,o,c){return Na(),a.flags|=256,Pt(n,a,o,c),a.child}var ed={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function td(n){return{baseLanes:n,cachePool:jm()}}function nd(n,a,o){return n=n!==null?n.childLanes&~o:0,a&&(n|=fn),n}function X1(n,a,o){var c=a.pendingProps,m=!1,g=(a.flags&128)!==0,S;if((S=g)||(S=n!==null&&n.memoizedState===null?!1:(ft.current&2)!==0),S&&(m=!0,a.flags&=-129),S=(a.flags&32)!==0,a.flags&=-33,n===null){if(je){if(m?Fl(a):Vl(),(n=nt)?(n=lg(n,An),n=n!==null&&n.data!=="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:Ol!==null?{id:qn,overflow:Yn}:null,retryLane:536870912,hydrationErrors:null},o=Am(n),o.return=a,a.child=o,$t=a,nt=null)):n=null,n===null)throw Il(a);return Id(n)?a.lanes=32:a.lanes=536870912,null}var R=c.children;return c=c.fallback,m?(Vl(),m=a.mode,R=Bs({mode:"hidden",children:R},m),c=ka(c,m,o,null),R.return=a,c.return=a,R.sibling=c,a.child=R,c=a.child,c.memoizedState=td(o),c.childLanes=nd(n,S,o),a.memoizedState=ed,Xi(null,c)):(Fl(a),ld(a,R))}var P=n.memoizedState;if(P!==null&&(R=P.dehydrated,R!==null)){if(g)a.flags&256?(Fl(a),a.flags&=-257,a=ad(n,a,o)):a.memoizedState!==null?(Vl(),a.child=n.child,a.flags|=128,a=null):(Vl(),R=c.fallback,m=a.mode,c=Bs({mode:"visible",children:c.children},m),R=ka(R,m,o,null),R.flags|=2,c.return=a,R.return=a,c.sibling=R,a.child=c,ja(a,n.child,null,o),c=a.child,c.memoizedState=td(o),c.childLanes=nd(n,S,o),a.memoizedState=ed,a=Xi(null,c));else if(Fl(a),Id(R)){if(S=R.nextSibling&&R.nextSibling.dataset,S)var W=S.dgst;S=W,c=Error(r(419)),c.stack="",c.digest=S,ji({value:c,source:null,stack:null}),a=ad(n,a,o)}else if(vt||Lr(n,a,o,!1),S=(o&n.childLanes)!==0,vt||S){if(S=Qe,S!==null&&(c=P2(S,o),c!==0&&c!==P.retryLane))throw P.retryLane=c,La(n,c),Wt(S,n,c),Qf;jd(R)||Ys(),a=ad(n,a,o)}else jd(R)?(a.flags|=192,a.child=n.child,a=null):(n=P.treeContext,nt=kn(R.nextSibling),$t=a,je=!0,jl=null,An=!1,n!==null&&Nm(a,n),a=ld(a,c.children),a.flags|=4096);return a}return m?(Vl(),R=c.fallback,m=a.mode,P=n.child,W=P.sibling,c=sl(P,{mode:"hidden",children:c.children}),c.subtreeFlags=P.subtreeFlags&65011712,W!==null?R=sl(W,R):(R=ka(R,m,o,null),R.flags|=2),R.return=a,c.return=a,c.sibling=R,a.child=c,Xi(null,c),c=a.child,R=n.child.memoizedState,R===null?R=td(o):(m=R.cachePool,m!==null?(P=gt._currentValue,m=m.parent!==P?{parent:P,pool:P}:m):m=jm(),R={baseLanes:R.baseLanes|o,cachePool:m}),c.memoizedState=R,c.childLanes=nd(n,S,o),a.memoizedState=ed,Xi(n.child,c)):(Fl(a),o=n.child,n=o.sibling,o=sl(o,{mode:"visible",children:c.children}),o.return=a,o.sibling=null,n!==null&&(S=a.deletions,S===null?(a.deletions=[n],a.flags|=16):S.push(n)),a.child=o,a.memoizedState=null,o)}function ld(n,a){return a=Bs({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function Bs(n,a){return n=on(22,n,null,a),n.lanes=0,n}function ad(n,a,o){return ja(a,n.child,null,o),n=ld(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function W1(n,a,o){n.lanes|=a;var c=n.alternate;c!==null&&(c.lanes|=a),yf(n.return,a,o)}function rd(n,a,o,c,m,g){var S=n.memoizedState;S===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:c,tail:o,tailMode:m,treeForkCount:g}:(S.isBackwards=a,S.rendering=null,S.renderingStartTime=0,S.last=c,S.tail=o,S.tailMode=m,S.treeForkCount=g)}function Z1(n,a,o){var c=a.pendingProps,m=c.revealOrder,g=c.tail;c=c.children;var S=ft.current,R=(S&2)!==0;if(R?(S=S&1|2,a.flags|=128):S&=1,se(ft,S),Pt(n,a,c,o),c=je?Oi:0,!R&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&W1(n,o,a);else if(n.tag===19)W1(n,o,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(m){case"forwards":for(o=a.child,m=null;o!==null;)n=o.alternate,n!==null&&Ms(n)===null&&(m=o),o=o.sibling;o=m,o===null?(m=a.child,a.child=null):(m=o.sibling,o.sibling=null),rd(a,!1,m,o,g,c);break;case"backwards":case"unstable_legacy-backwards":for(o=null,m=a.child,a.child=null;m!==null;){if(n=m.alternate,n!==null&&Ms(n)===null){a.child=m;break}n=m.sibling,m.sibling=o,o=m,m=n}rd(a,!0,o,null,g,c);break;case"together":rd(a,!1,null,null,void 0,c);break;default:a.memoizedState=null}return a.child}function ml(n,a,o){if(n!==null&&(a.dependencies=n.dependencies),ql|=a.lanes,(o&a.childLanes)===0)if(n!==null){if(Lr(n,a,o,!1),(o&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error(r(153));if(a.child!==null){for(n=a.child,o=sl(n,n.pendingProps),a.child=o,o.return=a;n.sibling!==null;)n=n.sibling,o=o.sibling=sl(n,n.pendingProps),o.return=a;o.sibling=null}return a.child}function id(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&ys(n)))}function nS(n,a,o){switch(a.tag){case 3:Ae(a,a.stateNode.containerInfo),Bl(a,gt,n.memoizedState.cache),Na();break;case 27:case 5:Lt(a);break;case 4:Ae(a,a.stateNode.containerInfo);break;case 10:Bl(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Nf(a),null;break;case 13:var c=a.memoizedState;if(c!==null)return c.dehydrated!==null?(Fl(a),a.flags|=128,null):(o&a.child.childLanes)!==0?X1(n,a,o):(Fl(a),n=ml(n,a,o),n!==null?n.sibling:null);Fl(a);break;case 19:var m=(n.flags&128)!==0;if(c=(o&a.childLanes)!==0,c||(Lr(n,a,o,!1),c=(o&a.childLanes)!==0),m){if(c)return Z1(n,a,o);a.flags|=128}if(m=a.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),se(ft,ft.current),c)break;return null;case 22:return a.lanes=0,F1(n,a,o,a.pendingProps);case 24:Bl(a,gt,n.memoizedState.cache)}return ml(n,a,o)}function Q1(n,a,o){if(n!==null)if(n.memoizedProps!==a.pendingProps)vt=!0;else{if(!id(n,o)&&(a.flags&128)===0)return vt=!1,nS(n,a,o);vt=(n.flags&131072)!==0}else vt=!1,je&&(a.flags&1048576)!==0&&km(a,Oi,a.index);switch(a.lanes=0,a.tag){case 16:e:{var c=a.pendingProps;if(n=Pa(a.elementType),a.type=n,typeof n=="function")ff(n)?(c=Ba(n,c),a.tag=1,a=q1(null,a,n,c,o)):(a.tag=0,a=Jf(null,a,n,c,o));else{if(n!=null){var m=n.$$typeof;if(m===k){a.tag=11,a=H1(null,a,n,c,o);break e}else if(m===$){a.tag=14,a=K1(null,a,n,c,o);break e}}throw a=j(n)||n,Error(r(306,a,""))}}return a;case 0:return Jf(n,a,a.type,a.pendingProps,o);case 1:return c=a.type,m=Ba(c,a.pendingProps),q1(n,a,c,m,o);case 3:e:{if(Ae(a,a.stateNode.containerInfo),n===null)throw Error(r(387));c=a.pendingProps;var g=a.memoizedState;m=g.element,Rf(n,a),Vi(a,c,null,o);var S=a.memoizedState;if(c=S.cache,Bl(a,gt,c),c!==g.cache&&xf(a,[gt],o,!0),Fi(),c=S.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:S.cache},a.updateQueue.baseState=g,a.memoizedState=g,a.flags&256){a=Y1(n,a,c,o);break e}else if(c!==m){m=Tn(Error(r(424)),a),ji(m),a=Y1(n,a,c,o);break e}else{switch(n=a.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(nt=kn(n.firstChild),$t=a,je=!0,jl=null,An=!0,o=Fm(a,null,c,o),a.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(Na(),c===m){a=ml(n,a,o);break e}Pt(n,a,c,o)}a=a.child}return a;case 26:return Is(n,a),n===null?(o=cg(a.type,null,a.pendingProps,null))?a.memoizedState=o:je||(o=a.type,n=a.pendingProps,c=tc(ie.current).createElement(o),c[Dt]=a,c[Vt]=n,Ot(c,o,n),Tt(c),a.stateNode=c):a.memoizedState=cg(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return Lt(a),n===null&&je&&(c=a.stateNode=ig(a.type,a.pendingProps,ie.current),$t=a,An=!0,m=nt,Ql(a.type)?(Bd=m,nt=kn(c.firstChild)):nt=m),Pt(n,a,a.pendingProps.children,o),Is(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&je&&((m=c=nt)&&(c=DS(c,a.type,a.pendingProps,An),c!==null?(a.stateNode=c,$t=a,nt=kn(c.firstChild),An=!1,m=!0):m=!1),m||Il(a)),Lt(a),m=a.type,g=a.pendingProps,S=n!==null?n.memoizedProps:null,c=g.children,zd(m,g)?c=null:S!==null&&zd(m,S)&&(a.flags|=32),a.memoizedState!==null&&(m=$f(n,a,q7,null,null,o),uo._currentValue=m),Is(n,a),Pt(n,a,c,o),a.child;case 6:return n===null&&je&&((n=o=nt)&&(o=$S(o,a.pendingProps,An),o!==null?(a.stateNode=o,$t=a,nt=null,n=!0):n=!1),n||Il(a)),null;case 13:return X1(n,a,o);case 4:return Ae(a,a.stateNode.containerInfo),c=a.pendingProps,n===null?a.child=ja(a,null,c,o):Pt(n,a,c,o),a.child;case 11:return H1(n,a,a.type,a.pendingProps,o);case 7:return Pt(n,a,a.pendingProps,o),a.child;case 8:return Pt(n,a,a.pendingProps.children,o),a.child;case 12:return Pt(n,a,a.pendingProps.children,o),a.child;case 10:return c=a.pendingProps,Bl(a,a.type,c.value),Pt(n,a,c.children,o),a.child;case 9:return m=a.type._context,c=a.pendingProps.children,$a(a),m=zt(m),c=c(m),a.flags|=1,Pt(n,a,c,o),a.child;case 14:return K1(n,a,a.type,a.pendingProps,o);case 15:return U1(n,a,a.type,a.pendingProps,o);case 19:return Z1(n,a,o);case 31:return tS(n,a,o);case 22:return F1(n,a,o,a.pendingProps);case 24:return $a(a),c=zt(gt),n===null?(m=Ef(),m===null&&(m=Qe,g=Sf(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=o),m=g),a.memoizedState={parent:c,cache:m},Tf(a),Bl(a,gt,m)):((n.lanes&o)!==0&&(Rf(n,a),Vi(a,null,null,o),Fi()),m=n.memoizedState,g=a.memoizedState,m.parent!==c?(m={parent:c,cache:c},a.memoizedState=m,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=m),Bl(a,gt,c)):(c=g.cache,Bl(a,gt,c),c!==m.cache&&xf(a,[gt],o,!0))),Pt(n,a,a.pendingProps.children,o),a.child;case 29:throw a.pendingProps}throw Error(r(156,a.tag))}function pl(n){n.flags|=4}function od(n,a,o,c,m){if((a=(n.mode&32)!==0)&&(a=!1),a){if(n.flags|=16777216,(m&335544128)===m)if(n.stateNode.complete)n.flags|=8192;else if(Tp())n.flags|=8192;else throw Oa=Es,Cf}else n.flags&=-16777217}function J1(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!mg(a))if(Tp())n.flags|=8192;else throw Oa=Es,Cf}function Hs(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?D2():536870912,n.lanes|=a,Kr|=a)}function Wi(n,a){if(!je)switch(n.tailMode){case"hidden":a=n.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?n.tail=null:o.sibling=null;break;case"collapsed":o=n.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function lt(n){var a=n.alternate!==null&&n.alternate.child===n.child,o=0,c=0;if(a)for(var m=n.child;m!==null;)o|=m.lanes|m.childLanes,c|=m.subtreeFlags&65011712,c|=m.flags&65011712,m.return=n,m=m.sibling;else for(m=n.child;m!==null;)o|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=n,m=m.sibling;return n.subtreeFlags|=c,n.childLanes=o,a}function lS(n,a,o){var c=a.pendingProps;switch(pf(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(a),null;case 1:return lt(a),null;case 3:return o=a.stateNode,c=null,n!==null&&(c=n.memoizedState.cache),a.memoizedState.cache!==c&&(a.flags|=2048),fl(gt),de(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(n===null||n.child===null)&&(Ar(a)?pl(a):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,bf())),lt(a),null;case 26:var m=a.type,g=a.memoizedState;return n===null?(pl(a),g!==null?(lt(a),J1(a,g)):(lt(a),od(a,m,null,c,o))):g?g!==n.memoizedState?(pl(a),lt(a),J1(a,g)):(lt(a),a.flags&=-16777217):(n=n.memoizedProps,n!==c&&pl(a),lt(a),od(a,m,n,c,o)),null;case 27:if(it(a),o=ie.current,m=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==c&&pl(a);else{if(!c){if(a.stateNode===null)throw Error(r(166));return lt(a),null}n=ce.current,Ar(a)?Dm(a):(n=ig(m,c,o),a.stateNode=n,pl(a))}return lt(a),null;case 5:if(it(a),m=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==c&&pl(a);else{if(!c){if(a.stateNode===null)throw Error(r(166));return lt(a),null}if(g=ce.current,Ar(a))Dm(a);else{var S=tc(ie.current);switch(g){case 1:g=S.createElementNS("http://www.w3.org/2000/svg",m);break;case 2:g=S.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;default:switch(m){case"svg":g=S.createElementNS("http://www.w3.org/2000/svg",m);break;case"math":g=S.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;case"script":g=S.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof c.is=="string"?S.createElement("select",{is:c.is}):S.createElement("select"),c.multiple?g.multiple=!0:c.size&&(g.size=c.size);break;default:g=typeof c.is=="string"?S.createElement(m,{is:c.is}):S.createElement(m)}}g[Dt]=a,g[Vt]=c;e:for(S=a.child;S!==null;){if(S.tag===5||S.tag===6)g.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===a)break e;for(;S.sibling===null;){if(S.return===null||S.return===a)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}a.stateNode=g;e:switch(Ot(g,m,c),m){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&pl(a)}}return lt(a),od(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,o),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==c&&pl(a);else{if(typeof c!="string"&&a.stateNode===null)throw Error(r(166));if(n=ie.current,Ar(a)){if(n=a.stateNode,o=a.memoizedProps,c=null,m=$t,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}n[Dt]=a,n=!!(n.nodeValue===o||c!==null&&c.suppressHydrationWarning===!0||Xp(n.nodeValue,o)),n||Il(a,!0)}else n=tc(n).createTextNode(c),n[Dt]=a,a.stateNode=n}return lt(a),null;case 31:if(o=a.memoizedState,n===null||n.memoizedState!==null){if(c=Ar(a),o!==null){if(n===null){if(!c)throw Error(r(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(557));n[Dt]=a}else Na(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;lt(a),n=!1}else o=bf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=o),n=!0;if(!n)return a.flags&256?(cn(a),a):(cn(a),null);if((a.flags&128)!==0)throw Error(r(558))}return lt(a),null;case 13:if(c=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(m=Ar(a),c!==null&&c.dehydrated!==null){if(n===null){if(!m)throw Error(r(318));if(m=a.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(r(317));m[Dt]=a}else Na(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;lt(a),m=!1}else m=bf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return a.flags&256?(cn(a),a):(cn(a),null)}return cn(a),(a.flags&128)!==0?(a.lanes=o,a):(o=c!==null,n=n!==null&&n.memoizedState!==null,o&&(c=a.child,m=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(m=c.alternate.memoizedState.cachePool.pool),g=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(g=c.memoizedState.cachePool.pool),g!==m&&(c.flags|=2048)),o!==n&&o&&(a.child.flags|=8192),Hs(a,a.updateQueue),lt(a),null);case 4:return de(),n===null&&Ld(a.stateNode.containerInfo),lt(a),null;case 10:return fl(a.type),lt(a),null;case 19:if(Q(ft),c=a.memoizedState,c===null)return lt(a),null;if(m=(a.flags&128)!==0,g=c.rendering,g===null)if(m)Wi(c,!1);else{if(st!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(g=Ms(n),g!==null){for(a.flags|=128,Wi(c,!1),n=g.updateQueue,a.updateQueue=n,Hs(a,n),a.subtreeFlags=0,n=o,o=a.child;o!==null;)Mm(o,n),o=o.sibling;return se(ft,ft.current&1|2),je&&cl(a,c.treeForkCount),a.child}n=n.sibling}c.tail!==null&&It()>_s&&(a.flags|=128,m=!0,Wi(c,!1),a.lanes=4194304)}else{if(!m)if(n=Ms(g),n!==null){if(a.flags|=128,m=!0,n=n.updateQueue,a.updateQueue=n,Hs(a,n),Wi(c,!0),c.tail===null&&c.tailMode==="hidden"&&!g.alternate&&!je)return lt(a),null}else 2*It()-c.renderingStartTime>_s&&o!==536870912&&(a.flags|=128,m=!0,Wi(c,!1),a.lanes=4194304);c.isBackwards?(g.sibling=a.child,a.child=g):(n=c.last,n!==null?n.sibling=g:a.child=g,c.last=g)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=It(),n.sibling=null,o=ft.current,se(ft,m?o&1|2:o&1),je&&cl(a,c.treeForkCount),n):(lt(a),null);case 22:case 23:return cn(a),kf(),c=a.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(a.flags|=8192):c&&(a.flags|=8192),c?(o&536870912)!==0&&(a.flags&128)===0&&(lt(a),a.subtreeFlags&6&&(a.flags|=8192)):lt(a),o=a.updateQueue,o!==null&&Hs(a,o.retryQueue),o=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==o&&(a.flags|=2048),n!==null&&Q(za),null;case 24:return o=null,n!==null&&(o=n.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),fl(gt),lt(a),null;case 25:return null;case 30:return null}throw Error(r(156,a.tag))}function aS(n,a){switch(pf(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return fl(gt),de(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return it(a),null;case 31:if(a.memoizedState!==null){if(cn(a),a.alternate===null)throw Error(r(340));Na()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(cn(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(r(340));Na()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return Q(ft),null;case 4:return de(),null;case 10:return fl(a.type),null;case 22:case 23:return cn(a),kf(),n!==null&&Q(za),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return fl(gt),null;case 25:return null;default:return null}}function ep(n,a){switch(pf(a),a.tag){case 3:fl(gt),de();break;case 26:case 27:case 5:it(a);break;case 4:de();break;case 31:a.memoizedState!==null&&cn(a);break;case 13:cn(a);break;case 19:Q(ft);break;case 10:fl(a.type);break;case 22:case 23:cn(a),kf(),n!==null&&Q(za);break;case 24:fl(gt)}}function Zi(n,a){try{var o=a.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var m=c.next;o=m;do{if((o.tag&n)===n){c=void 0;var g=o.create,S=o.inst;c=g(),S.destroy=c}o=o.next}while(o!==m)}}catch(R){qe(a,a.return,R)}}function _l(n,a,o){try{var c=a.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var g=m.next;c=g;do{if((c.tag&n)===n){var S=c.inst,R=S.destroy;if(R!==void 0){S.destroy=void 0,m=a;var P=o,W=R;try{W()}catch(le){qe(m,P,le)}}}c=c.next}while(c!==g)}}catch(le){qe(a,a.return,le)}}function tp(n){var a=n.updateQueue;if(a!==null){var o=n.stateNode;try{_m(a,o)}catch(c){qe(n,n.return,c)}}}function np(n,a,o){o.props=Ba(n.type,n.memoizedProps),o.state=n.memoizedState;try{o.componentWillUnmount()}catch(c){qe(n,a,c)}}function Qi(n,a){try{var o=n.ref;if(o!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof o=="function"?n.refCleanup=o(c):o.current=c}}catch(m){qe(n,a,m)}}function Xn(n,a){var o=n.ref,c=n.refCleanup;if(o!==null)if(typeof c=="function")try{c()}catch(m){qe(n,a,m)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(m){qe(n,a,m)}else o.current=null}function lp(n){var a=n.type,o=n.memoizedProps,c=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":o.autoFocus&&c.focus();break e;case"img":o.src?c.src=o.src:o.srcSet&&(c.srcset=o.srcSet)}}catch(m){qe(n,n.return,m)}}function sd(n,a,o){try{var c=n.stateNode;RS(c,n.type,o,a),c[Vt]=a}catch(m){qe(n,n.return,m)}}function ap(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ql(n.type)||n.tag===4}function cd(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||ap(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Ql(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function ud(n,a,o){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(n,a):(a=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,a.appendChild(n),o=o._reactRootContainer,o!=null||a.onclick!==null||(a.onclick=il));else if(c!==4&&(c===27&&Ql(n.type)&&(o=n.stateNode,a=null),n=n.child,n!==null))for(ud(n,a,o),n=n.sibling;n!==null;)ud(n,a,o),n=n.sibling}function Ks(n,a,o){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?o.insertBefore(n,a):o.appendChild(n);else if(c!==4&&(c===27&&Ql(n.type)&&(o=n.stateNode),n=n.child,n!==null))for(Ks(n,a,o),n=n.sibling;n!==null;)Ks(n,a,o),n=n.sibling}function rp(n){var a=n.stateNode,o=n.memoizedProps;try{for(var c=n.type,m=a.attributes;m.length;)a.removeAttributeNode(m[0]);Ot(a,c,o),a[Dt]=n,a[Vt]=o}catch(g){qe(n,n.return,g)}}var gl=!1,yt=!1,fd=!1,ip=typeof WeakSet=="function"?WeakSet:Set,Rt=null;function rS(n,a){if(n=n.containerInfo,Dd=sc,n=vm(n),lf(n)){if("selectionStart"in n)var o={start:n.selectionStart,end:n.selectionEnd};else e:{o=(o=n.ownerDocument)&&o.defaultView||window;var c=o.getSelection&&o.getSelection();if(c&&c.rangeCount!==0){o=c.anchorNode;var m=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{o.nodeType,g.nodeType}catch{o=null;break e}var S=0,R=-1,P=-1,W=0,le=0,re=n,Z=null;t:for(;;){for(var ee;re!==o||m!==0&&re.nodeType!==3||(R=S+m),re!==g||c!==0&&re.nodeType!==3||(P=S+c),re.nodeType===3&&(S+=re.nodeValue.length),(ee=re.firstChild)!==null;)Z=re,re=ee;for(;;){if(re===n)break t;if(Z===o&&++W===m&&(R=S),Z===g&&++le===c&&(P=S),(ee=re.nextSibling)!==null)break;re=Z,Z=re.parentNode}re=ee}o=R===-1||P===-1?null:{start:R,end:P}}else o=null}o=o||{start:0,end:0}}else o=null;for($d={focusedElem:n,selectionRange:o},sc=!1,Rt=a;Rt!==null;)if(a=Rt,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,Rt=n;else for(;Rt!==null;){switch(a=Rt,g=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(o=0;o<n.length;o++)m=n[o],m.ref.impl=m.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&g!==null){n=void 0,o=a,m=g.memoizedProps,g=g.memoizedState,c=o.stateNode;try{var be=Ba(o.type,m);n=c.getSnapshotBeforeUpdate(be,g),c.__reactInternalSnapshotBeforeUpdate=n}catch(we){qe(o,o.return,we)}}break;case 3:if((n&1024)!==0){if(n=a.stateNode.containerInfo,o=n.nodeType,o===9)Od(n);else if(o===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Od(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(r(163))}if(n=a.sibling,n!==null){n.return=a.return,Rt=n;break}Rt=a.return}}function op(n,a,o){var c=o.flags;switch(o.tag){case 0:case 11:case 15:vl(n,o),c&4&&Zi(5,o);break;case 1:if(vl(n,o),c&4)if(n=o.stateNode,a===null)try{n.componentDidMount()}catch(S){qe(o,o.return,S)}else{var m=Ba(o.type,a.memoizedProps);a=a.memoizedState;try{n.componentDidUpdate(m,a,n.__reactInternalSnapshotBeforeUpdate)}catch(S){qe(o,o.return,S)}}c&64&&tp(o),c&512&&Qi(o,o.return);break;case 3:if(vl(n,o),c&64&&(n=o.updateQueue,n!==null)){if(a=null,o.child!==null)switch(o.child.tag){case 27:case 5:a=o.child.stateNode;break;case 1:a=o.child.stateNode}try{_m(n,a)}catch(S){qe(o,o.return,S)}}break;case 27:a===null&&c&4&&rp(o);case 26:case 5:vl(n,o),a===null&&c&4&&lp(o),c&512&&Qi(o,o.return);break;case 12:vl(n,o);break;case 31:vl(n,o),c&4&&up(n,o);break;case 13:vl(n,o),c&4&&fp(n,o),c&64&&(n=o.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(o=mS.bind(null,o),zS(n,o))));break;case 22:if(c=o.memoizedState!==null||gl,!c){a=a!==null&&a.memoizedState!==null||yt,m=gl;var g=yt;gl=c,(yt=a)&&!g?yl(n,o,(o.subtreeFlags&8772)!==0):vl(n,o),gl=m,yt=g}break;case 30:break;default:vl(n,o)}}function sp(n){var a=n.alternate;a!==null&&(n.alternate=null,sp(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Hu(a)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var at=null,Gt=!1;function bl(n,a,o){for(o=o.child;o!==null;)cp(n,a,o),o=o.sibling}function cp(n,a,o){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(wi,o)}catch{}switch(o.tag){case 26:yt||Xn(o,a),bl(n,a,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:yt||Xn(o,a);var c=at,m=Gt;Ql(o.type)&&(at=o.stateNode,Gt=!1),bl(n,a,o),oo(o.stateNode),at=c,Gt=m;break;case 5:yt||Xn(o,a);case 6:if(c=at,m=Gt,at=null,bl(n,a,o),at=c,Gt=m,at!==null)if(Gt)try{(at.nodeType===9?at.body:at.nodeName==="HTML"?at.ownerDocument.body:at).removeChild(o.stateNode)}catch(g){qe(o,a,g)}else try{at.removeChild(o.stateNode)}catch(g){qe(o,a,g)}break;case 18:at!==null&&(Gt?(n=at,tg(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,o.stateNode),Xr(n)):tg(at,o.stateNode));break;case 4:c=at,m=Gt,at=o.stateNode.containerInfo,Gt=!0,bl(n,a,o),at=c,Gt=m;break;case 0:case 11:case 14:case 15:_l(2,o,a),yt||_l(4,o,a),bl(n,a,o);break;case 1:yt||(Xn(o,a),c=o.stateNode,typeof c.componentWillUnmount=="function"&&np(o,a,c)),bl(n,a,o);break;case 21:bl(n,a,o);break;case 22:yt=(c=yt)||o.memoizedState!==null,bl(n,a,o),yt=c;break;default:bl(n,a,o)}}function up(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Xr(n)}catch(o){qe(a,a.return,o)}}}function fp(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Xr(n)}catch(o){qe(a,a.return,o)}}function iS(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new ip),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new ip),a;default:throw Error(r(435,n.tag))}}function Us(n,a){var o=iS(n);a.forEach(function(c){if(!o.has(c)){o.add(c);var m=pS.bind(null,n,c);c.then(m,m)}})}function qt(n,a){var o=a.deletions;if(o!==null)for(var c=0;c<o.length;c++){var m=o[c],g=n,S=a,R=S;e:for(;R!==null;){switch(R.tag){case 27:if(Ql(R.type)){at=R.stateNode,Gt=!1;break e}break;case 5:at=R.stateNode,Gt=!1;break e;case 3:case 4:at=R.stateNode.containerInfo,Gt=!0;break e}R=R.return}if(at===null)throw Error(r(160));cp(g,S,m),at=null,Gt=!1,g=m.alternate,g!==null&&(g.return=null),m.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)dp(a,n),a=a.sibling}var Bn=null;function dp(n,a){var o=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:qt(a,n),Yt(n),c&4&&(_l(3,n,n.return),Zi(3,n),_l(5,n,n.return));break;case 1:qt(a,n),Yt(n),c&512&&(yt||o===null||Xn(o,o.return)),c&64&&gl&&(n=n.updateQueue,n!==null&&(c=n.callbacks,c!==null&&(o=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=o===null?c:o.concat(c))));break;case 26:var m=Bn;if(qt(a,n),Yt(n),c&512&&(yt||o===null||Xn(o,o.return)),c&4){var g=o!==null?o.memoizedState:null;if(c=n.memoizedState,o===null)if(c===null)if(n.stateNode===null){e:{c=n.type,o=n.memoizedProps,m=m.ownerDocument||m;t:switch(c){case"title":g=m.getElementsByTagName("title")[0],(!g||g[Ti]||g[Dt]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=m.createElement(c),m.head.insertBefore(g,m.querySelector("head > title"))),Ot(g,c,o),g[Dt]=n,Tt(g),c=g;break e;case"link":var S=dg("link","href",m).get(c+(o.href||""));if(S){for(var R=0;R<S.length;R++)if(g=S[R],g.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&g.getAttribute("rel")===(o.rel==null?null:o.rel)&&g.getAttribute("title")===(o.title==null?null:o.title)&&g.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){S.splice(R,1);break t}}g=m.createElement(c),Ot(g,c,o),m.head.appendChild(g);break;case"meta":if(S=dg("meta","content",m).get(c+(o.content||""))){for(R=0;R<S.length;R++)if(g=S[R],g.getAttribute("content")===(o.content==null?null:""+o.content)&&g.getAttribute("name")===(o.name==null?null:o.name)&&g.getAttribute("property")===(o.property==null?null:o.property)&&g.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&g.getAttribute("charset")===(o.charSet==null?null:o.charSet)){S.splice(R,1);break t}}g=m.createElement(c),Ot(g,c,o),m.head.appendChild(g);break;default:throw Error(r(468,c))}g[Dt]=n,Tt(g),c=g}n.stateNode=c}else hg(m,n.type,n.stateNode);else n.stateNode=fg(m,c,n.memoizedProps);else g!==c?(g===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):g.count--,c===null?hg(m,n.type,n.stateNode):fg(m,c,n.memoizedProps)):c===null&&n.stateNode!==null&&sd(n,n.memoizedProps,o.memoizedProps)}break;case 27:qt(a,n),Yt(n),c&512&&(yt||o===null||Xn(o,o.return)),o!==null&&c&4&&sd(n,n.memoizedProps,o.memoizedProps);break;case 5:if(qt(a,n),Yt(n),c&512&&(yt||o===null||Xn(o,o.return)),n.flags&32){m=n.stateNode;try{vr(m,"")}catch(be){qe(n,n.return,be)}}c&4&&n.stateNode!=null&&(m=n.memoizedProps,sd(n,m,o!==null?o.memoizedProps:m)),c&1024&&(fd=!0);break;case 6:if(qt(a,n),Yt(n),c&4){if(n.stateNode===null)throw Error(r(162));c=n.memoizedProps,o=n.stateNode;try{o.nodeValue=c}catch(be){qe(n,n.return,be)}}break;case 3:if(ac=null,m=Bn,Bn=nc(a.containerInfo),qt(a,n),Bn=m,Yt(n),c&4&&o!==null&&o.memoizedState.isDehydrated)try{Xr(a.containerInfo)}catch(be){qe(n,n.return,be)}fd&&(fd=!1,hp(n));break;case 4:c=Bn,Bn=nc(n.stateNode.containerInfo),qt(a,n),Yt(n),Bn=c;break;case 12:qt(a,n),Yt(n);break;case 31:qt(a,n),Yt(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Us(n,c)));break;case 13:qt(a,n),Yt(n),n.child.flags&8192&&n.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Vs=It()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Us(n,c)));break;case 22:m=n.memoizedState!==null;var P=o!==null&&o.memoizedState!==null,W=gl,le=yt;if(gl=W||m,yt=le||P,qt(a,n),yt=le,gl=W,Yt(n),c&8192)e:for(a=n.stateNode,a._visibility=m?a._visibility&-2:a._visibility|1,m&&(o===null||P||gl||yt||Ha(n)),o=null,a=n;;){if(a.tag===5||a.tag===26){if(o===null){P=o=a;try{if(g=P.stateNode,m)S=g.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{R=P.stateNode;var re=P.memoizedProps.style,Z=re!=null&&re.hasOwnProperty("display")?re.display:null;R.style.display=Z==null||typeof Z=="boolean"?"":(""+Z).trim()}}catch(be){qe(P,P.return,be)}}}else if(a.tag===6){if(o===null){P=a;try{P.stateNode.nodeValue=m?"":P.memoizedProps}catch(be){qe(P,P.return,be)}}}else if(a.tag===18){if(o===null){P=a;try{var ee=P.stateNode;m?ng(ee,!0):ng(P.stateNode,!1)}catch(be){qe(P,P.return,be)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;o===a&&(o=null),a=a.return}o===a&&(o=null),a.sibling.return=a.return,a=a.sibling}c&4&&(c=n.updateQueue,c!==null&&(o=c.retryQueue,o!==null&&(c.retryQueue=null,Us(n,o))));break;case 19:qt(a,n),Yt(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Us(n,c)));break;case 30:break;case 21:break;default:qt(a,n),Yt(n)}}function Yt(n){var a=n.flags;if(a&2){try{for(var o,c=n.return;c!==null;){if(ap(c)){o=c;break}c=c.return}if(o==null)throw Error(r(160));switch(o.tag){case 27:var m=o.stateNode,g=cd(n);Ks(n,g,m);break;case 5:var S=o.stateNode;o.flags&32&&(vr(S,""),o.flags&=-33);var R=cd(n);Ks(n,R,S);break;case 3:case 4:var P=o.stateNode.containerInfo,W=cd(n);ud(n,W,P);break;default:throw Error(r(161))}}catch(le){qe(n,n.return,le)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function hp(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;hp(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function vl(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)op(n,a.alternate,a),a=a.sibling}function Ha(n){for(n=n.child;n!==null;){var a=n;switch(a.tag){case 0:case 11:case 14:case 15:_l(4,a,a.return),Ha(a);break;case 1:Xn(a,a.return);var o=a.stateNode;typeof o.componentWillUnmount=="function"&&np(a,a.return,o),Ha(a);break;case 27:oo(a.stateNode);case 26:case 5:Xn(a,a.return),Ha(a);break;case 22:a.memoizedState===null&&Ha(a);break;case 30:Ha(a);break;default:Ha(a)}n=n.sibling}}function yl(n,a,o){for(o=o&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var c=a.alternate,m=n,g=a,S=g.flags;switch(g.tag){case 0:case 11:case 15:yl(m,g,o),Zi(4,g);break;case 1:if(yl(m,g,o),c=g,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(W){qe(c,c.return,W)}if(c=g,m=c.updateQueue,m!==null){var R=c.stateNode;try{var P=m.shared.hiddenCallbacks;if(P!==null)for(m.shared.hiddenCallbacks=null,m=0;m<P.length;m++)Vm(P[m],R)}catch(W){qe(c,c.return,W)}}o&&S&64&&tp(g),Qi(g,g.return);break;case 27:rp(g);case 26:case 5:yl(m,g,o),o&&c===null&&S&4&&lp(g),Qi(g,g.return);break;case 12:yl(m,g,o);break;case 31:yl(m,g,o),o&&S&4&&up(m,g);break;case 13:yl(m,g,o),o&&S&4&&fp(m,g);break;case 22:g.memoizedState===null&&yl(m,g,o),Qi(g,g.return);break;case 30:break;default:yl(m,g,o)}a=a.sibling}}function dd(n,a){var o=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==o&&(n!=null&&n.refCount++,o!=null&&Ii(o))}function hd(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&Ii(n))}function Hn(n,a,o,c){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)mp(n,a,o,c),a=a.sibling}function mp(n,a,o,c){var m=a.flags;switch(a.tag){case 0:case 11:case 15:Hn(n,a,o,c),m&2048&&Zi(9,a);break;case 1:Hn(n,a,o,c);break;case 3:Hn(n,a,o,c),m&2048&&(n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&Ii(n)));break;case 12:if(m&2048){Hn(n,a,o,c),n=a.stateNode;try{var g=a.memoizedProps,S=g.id,R=g.onPostCommit;typeof R=="function"&&R(S,a.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(P){qe(a,a.return,P)}}else Hn(n,a,o,c);break;case 31:Hn(n,a,o,c);break;case 13:Hn(n,a,o,c);break;case 23:break;case 22:g=a.stateNode,S=a.alternate,a.memoizedState!==null?g._visibility&2?Hn(n,a,o,c):Ji(n,a):g._visibility&2?Hn(n,a,o,c):(g._visibility|=2,Ir(n,a,o,c,(a.subtreeFlags&10256)!==0||!1)),m&2048&&dd(S,a);break;case 24:Hn(n,a,o,c),m&2048&&hd(a.alternate,a);break;default:Hn(n,a,o,c)}}function Ir(n,a,o,c,m){for(m=m&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var g=n,S=a,R=o,P=c,W=S.flags;switch(S.tag){case 0:case 11:case 15:Ir(g,S,R,P,m),Zi(8,S);break;case 23:break;case 22:var le=S.stateNode;S.memoizedState!==null?le._visibility&2?Ir(g,S,R,P,m):Ji(g,S):(le._visibility|=2,Ir(g,S,R,P,m)),m&&W&2048&&dd(S.alternate,S);break;case 24:Ir(g,S,R,P,m),m&&W&2048&&hd(S.alternate,S);break;default:Ir(g,S,R,P,m)}a=a.sibling}}function Ji(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var o=n,c=a,m=c.flags;switch(c.tag){case 22:Ji(o,c),m&2048&&dd(c.alternate,c);break;case 24:Ji(o,c),m&2048&&hd(c.alternate,c);break;default:Ji(o,c)}a=a.sibling}}var eo=8192;function Br(n,a,o){if(n.subtreeFlags&eo)for(n=n.child;n!==null;)pp(n,a,o),n=n.sibling}function pp(n,a,o){switch(n.tag){case 26:Br(n,a,o),n.flags&eo&&n.memoizedState!==null&&GS(o,Bn,n.memoizedState,n.memoizedProps);break;case 5:Br(n,a,o);break;case 3:case 4:var c=Bn;Bn=nc(n.stateNode.containerInfo),Br(n,a,o),Bn=c;break;case 22:n.memoizedState===null&&(c=n.alternate,c!==null&&c.memoizedState!==null?(c=eo,eo=16777216,Br(n,a,o),eo=c):Br(n,a,o));break;default:Br(n,a,o)}}function gp(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function to(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var o=0;o<a.length;o++){var c=a[o];Rt=c,vp(c,n)}gp(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)bp(n),n=n.sibling}function bp(n){switch(n.tag){case 0:case 11:case 15:to(n),n.flags&2048&&_l(9,n,n.return);break;case 3:to(n);break;case 12:to(n);break;case 22:var a=n.stateNode;n.memoizedState!==null&&a._visibility&2&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,Fs(n)):to(n);break;default:to(n)}}function Fs(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var o=0;o<a.length;o++){var c=a[o];Rt=c,vp(c,n)}gp(n)}for(n=n.child;n!==null;){switch(a=n,a.tag){case 0:case 11:case 15:_l(8,a,a.return),Fs(a);break;case 22:o=a.stateNode,o._visibility&2&&(o._visibility&=-3,Fs(a));break;default:Fs(a)}n=n.sibling}}function vp(n,a){for(;Rt!==null;){var o=Rt;switch(o.tag){case 0:case 11:case 15:_l(8,o,a);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var c=o.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Ii(o.memoizedState.cache)}if(c=o.child,c!==null)c.return=o,Rt=c;else e:for(o=n;Rt!==null;){c=Rt;var m=c.sibling,g=c.return;if(sp(c),c===o){Rt=null;break e}if(m!==null){m.return=g,Rt=m;break e}Rt=g}}}var oS={getCacheForType:function(n){var a=zt(gt),o=a.data.get(n);return o===void 0&&(o=n(),a.data.set(n,o)),o},cacheSignal:function(){return zt(gt).controller.signal}},sS=typeof WeakMap=="function"?WeakMap:Map,Ve=0,Qe=null,De=null,Pe=0,Ge=0,un=null,Gl=!1,Hr=!1,md=!1,xl=0,st=0,ql=0,Ka=0,pd=0,fn=0,Kr=0,no=null,Xt=null,gd=!1,Vs=0,yp=0,_s=1/0,Gs=null,Yl=null,St=0,Xl=null,Ur=null,Sl=0,bd=0,vd=null,xp=null,lo=0,yd=null;function dn(){return(Ve&2)!==0&&Pe!==0?Pe&-Pe:z.T!==null?Td():O2()}function Sp(){if(fn===0)if((Pe&536870912)===0||je){var n=es;es<<=1,(es&3932160)===0&&(es=262144),fn=n}else fn=536870912;return n=sn.current,n!==null&&(n.flags|=32),fn}function Wt(n,a,o){(n===Qe&&(Ge===2||Ge===9)||n.cancelPendingCommit!==null)&&(Fr(n,0),Wl(n,Pe,fn,!1)),Ci(n,o),((Ve&2)===0||n!==Qe)&&(n===Qe&&((Ve&2)===0&&(Ka|=o),st===4&&Wl(n,Pe,fn,!1)),Wn(n))}function wp(n,a,o){if((Ve&6)!==0)throw Error(r(327));var c=!o&&(a&127)===0&&(a&n.expiredLanes)===0||Ei(n,a),m=c?fS(n,a):Sd(n,a,!0),g=c;do{if(m===0){Hr&&!c&&Wl(n,a,0,!1);break}else{if(o=n.current.alternate,g&&!cS(o)){m=Sd(n,a,!1),g=!1;continue}if(m===2){if(g=a,n.errorRecoveryDisabledLanes&g)var S=0;else S=n.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){a=S;e:{var R=n;m=no;var P=R.current.memoizedState.isDehydrated;if(P&&(Fr(R,S).flags|=256),S=Sd(R,S,!1),S!==2){if(md&&!P){R.errorRecoveryDisabledLanes|=g,Ka|=g,m=4;break e}g=Xt,Xt=m,g!==null&&(Xt===null?Xt=g:Xt.push.apply(Xt,g))}m=S}if(g=!1,m!==2)continue}}if(m===1){Fr(n,0),Wl(n,a,0,!0);break}e:{switch(c=n,g=m,g){case 0:case 1:throw Error(r(345));case 4:if((a&4194048)!==a)break;case 6:Wl(c,a,fn,!Gl);break e;case 2:Xt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(m=Vs+300-It(),10<m)){if(Wl(c,a,fn,!Gl),ns(c,0,!0)!==0)break e;Sl=a,c.timeoutHandle=Jp(Ep.bind(null,c,o,Xt,Gs,gd,a,fn,Ka,Kr,Gl,g,"Throttled",-0,0),m);break e}Ep(c,o,Xt,Gs,gd,a,fn,Ka,Kr,Gl,g,null,-0,0)}}break}while(!0);Wn(n)}function Ep(n,a,o,c,m,g,S,R,P,W,le,re,Z,ee){if(n.timeoutHandle=-1,re=a.subtreeFlags,re&8192||(re&16785408)===16785408){re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:il},pp(a,g,re);var be=(g&62914560)===g?Vs-It():(g&4194048)===g?yp-It():0;if(be=qS(re,be),be!==null){Sl=g,n.cancelPendingCommit=be(Np.bind(null,n,a,g,o,c,m,S,R,P,le,re,null,Z,ee)),Wl(n,g,S,!W);return}}Np(n,a,g,o,c,m,S,R,P)}function cS(n){for(var a=n;;){var o=a.tag;if((o===0||o===11||o===15)&&a.flags&16384&&(o=a.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var c=0;c<o.length;c++){var m=o[c],g=m.getSnapshot;m=m.value;try{if(!rn(g(),m))return!1}catch{return!1}}if(o=a.child,a.subtreeFlags&16384&&o!==null)o.return=a,a=o;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Wl(n,a,o,c){a&=~pd,a&=~Ka,n.suspendedLanes|=a,n.pingedLanes&=~a,c&&(n.warmLanes|=a),c=n.expirationTimes;for(var m=a;0<m;){var g=31-an(m),S=1<<g;c[g]=-1,m&=~S}o!==0&&$2(n,o,a)}function qs(){return(Ve&6)===0?(ao(0),!1):!0}function xd(){if(De!==null){if(Ge===0)var n=De.return;else n=De,ul=Da=null,Of(n),$r=null,Hi=0,n=De;for(;n!==null;)ep(n.alternate,n),n=n.return;De=null}}function Fr(n,a){var o=n.timeoutHandle;o!==-1&&(n.timeoutHandle=-1,LS(o)),o=n.cancelPendingCommit,o!==null&&(n.cancelPendingCommit=null,o()),Sl=0,xd(),Qe=n,De=o=sl(n.current,null),Pe=a,Ge=0,un=null,Gl=!1,Hr=Ei(n,a),md=!1,Kr=fn=pd=Ka=ql=st=0,Xt=no=null,gd=!1,(a&8)!==0&&(a|=a&32);var c=n.entangledLanes;if(c!==0)for(n=n.entanglements,c&=a;0<c;){var m=31-an(c),g=1<<m;a|=n[m],c&=~g}return xl=a,ms(),o}function Cp(n,a){Re=null,z.H=Yi,a===Dr||a===ws?(a=Hm(),Ge=3):a===Cf?(a=Hm(),Ge=4):Ge=a===Qf?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,un=a,De===null&&(st=1,Os(n,Tn(a,n.current)))}function Tp(){var n=sn.current;return n===null?!0:(Pe&4194048)===Pe?Ln===null:(Pe&62914560)===Pe||(Pe&536870912)!==0?n===Ln:!1}function Rp(){var n=z.H;return z.H=Yi,n===null?Yi:n}function Mp(){var n=z.A;return z.A=oS,n}function Ys(){st=4,Gl||(Pe&4194048)!==Pe&&sn.current!==null||(Hr=!0),(ql&134217727)===0&&(Ka&134217727)===0||Qe===null||Wl(Qe,Pe,fn,!1)}function Sd(n,a,o){var c=Ve;Ve|=2;var m=Rp(),g=Mp();(Qe!==n||Pe!==a)&&(Gs=null,Fr(n,a)),a=!1;var S=st;e:do try{if(Ge!==0&&De!==null){var R=De,P=un;switch(Ge){case 8:xd(),S=6;break e;case 3:case 2:case 9:case 6:sn.current===null&&(a=!0);var W=Ge;if(Ge=0,un=null,Vr(n,R,P,W),o&&Hr){S=0;break e}break;default:W=Ge,Ge=0,un=null,Vr(n,R,P,W)}}uS(),S=st;break}catch(le){Cp(n,le)}while(!0);return a&&n.shellSuspendCounter++,ul=Da=null,Ve=c,z.H=m,z.A=g,De===null&&(Qe=null,Pe=0,ms()),S}function uS(){for(;De!==null;)Ap(De)}function fS(n,a){var o=Ve;Ve|=2;var c=Rp(),m=Mp();Qe!==n||Pe!==a?(Gs=null,_s=It()+500,Fr(n,a)):Hr=Ei(n,a);e:do try{if(Ge!==0&&De!==null){a=De;var g=un;t:switch(Ge){case 1:Ge=0,un=null,Vr(n,a,g,1);break;case 2:case 9:if(Im(g)){Ge=0,un=null,Lp(a);break}a=function(){Ge!==2&&Ge!==9||Qe!==n||(Ge=7),Wn(n)},g.then(a,a);break e;case 3:Ge=7;break e;case 4:Ge=5;break e;case 7:Im(g)?(Ge=0,un=null,Lp(a)):(Ge=0,un=null,Vr(n,a,g,7));break;case 5:var S=null;switch(De.tag){case 26:S=De.memoizedState;case 5:case 27:var R=De;if(S?mg(S):R.stateNode.complete){Ge=0,un=null;var P=R.sibling;if(P!==null)De=P;else{var W=R.return;W!==null?(De=W,Xs(W)):De=null}break t}}Ge=0,un=null,Vr(n,a,g,5);break;case 6:Ge=0,un=null,Vr(n,a,g,6);break;case 8:xd(),st=6;break e;default:throw Error(r(462))}}dS();break}catch(le){Cp(n,le)}while(!0);return ul=Da=null,z.H=c,z.A=m,Ve=o,De!==null?0:(Qe=null,Pe=0,ms(),st)}function dS(){for(;De!==null&&!Qo();)Ap(De)}function Ap(n){var a=Q1(n.alternate,n,xl);n.memoizedProps=n.pendingProps,a===null?Xs(n):De=a}function Lp(n){var a=n,o=a.alternate;switch(a.tag){case 15:case 0:a=G1(o,a,a.pendingProps,a.type,void 0,Pe);break;case 11:a=G1(o,a,a.pendingProps,a.type.render,a.ref,Pe);break;case 5:Of(a);default:ep(o,a),a=De=Mm(a,xl),a=Q1(o,a,xl)}n.memoizedProps=n.pendingProps,a===null?Xs(n):De=a}function Vr(n,a,o,c){ul=Da=null,Of(a),$r=null,Hi=0;var m=a.return;try{if(eS(n,m,a,o,Pe)){st=1,Os(n,Tn(o,n.current)),De=null;return}}catch(g){if(m!==null)throw De=m,g;st=1,Os(n,Tn(o,n.current)),De=null;return}a.flags&32768?(je||c===1?n=!0:Hr||(Pe&536870912)!==0?n=!1:(Gl=n=!0,(c===2||c===9||c===3||c===6)&&(c=sn.current,c!==null&&c.tag===13&&(c.flags|=16384))),kp(a,n)):Xs(a)}function Xs(n){var a=n;do{if((a.flags&32768)!==0){kp(a,Gl);return}n=a.return;var o=lS(a.alternate,a,xl);if(o!==null){De=o;return}if(a=a.sibling,a!==null){De=a;return}De=a=n}while(a!==null);st===0&&(st=5)}function kp(n,a){do{var o=aS(n.alternate,n);if(o!==null){o.flags&=32767,De=o;return}if(o=n.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!a&&(n=n.sibling,n!==null)){De=n;return}De=n=o}while(n!==null);st=6,De=null}function Np(n,a,o,c,m,g,S,R,P){n.cancelPendingCommit=null;do Ws();while(St!==0);if((Ve&6)!==0)throw Error(r(327));if(a!==null){if(a===n.current)throw Error(r(177));if(g=a.lanes|a.childLanes,g|=cf,_6(n,o,g,S,R,P),n===Qe&&(De=Qe=null,Pe=0),Ur=a,Xl=n,Sl=o,bd=g,vd=m,xp=c,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,gS(fr,function(){return Op(),null})):(n.callbackNode=null,n.callbackPriority=0),c=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||c){c=z.T,z.T=null,m=O.p,O.p=2,S=Ve,Ve|=4;try{rS(n,a,o)}finally{Ve=S,O.p=m,z.T=c}}St=1,Dp(),$p(),zp()}}function Dp(){if(St===1){St=0;var n=Xl,a=Ur,o=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||o){o=z.T,z.T=null;var c=O.p;O.p=2;var m=Ve;Ve|=4;try{dp(a,n);var g=$d,S=vm(n.containerInfo),R=g.focusedElem,P=g.selectionRange;if(S!==R&&R&&R.ownerDocument&&bm(R.ownerDocument.documentElement,R)){if(P!==null&&lf(R)){var W=P.start,le=P.end;if(le===void 0&&(le=W),"selectionStart"in R)R.selectionStart=W,R.selectionEnd=Math.min(le,R.value.length);else{var re=R.ownerDocument||document,Z=re&&re.defaultView||window;if(Z.getSelection){var ee=Z.getSelection(),be=R.textContent.length,we=Math.min(P.start,be),Ze=P.end===void 0?we:Math.min(P.end,be);!ee.extend&&we>Ze&&(S=Ze,Ze=we,we=S);var F=gm(R,we),I=gm(R,Ze);if(F&&I&&(ee.rangeCount!==1||ee.anchorNode!==F.node||ee.anchorOffset!==F.offset||ee.focusNode!==I.node||ee.focusOffset!==I.offset)){var X=re.createRange();X.setStart(F.node,F.offset),ee.removeAllRanges(),we>Ze?(ee.addRange(X),ee.extend(I.node,I.offset)):(X.setEnd(I.node,I.offset),ee.addRange(X))}}}}for(re=[],ee=R;ee=ee.parentNode;)ee.nodeType===1&&re.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<re.length;R++){var ae=re[R];ae.element.scrollLeft=ae.left,ae.element.scrollTop=ae.top}}sc=!!Dd,$d=Dd=null}finally{Ve=m,O.p=c,z.T=o}}n.current=a,St=2}}function $p(){if(St===2){St=0;var n=Xl,a=Ur,o=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||o){o=z.T,z.T=null;var c=O.p;O.p=2;var m=Ve;Ve|=4;try{op(n,a.alternate,a)}finally{Ve=m,O.p=c,z.T=o}}St=3}}function zp(){if(St===4||St===3){St=0,Pu();var n=Xl,a=Ur,o=Sl,c=xp;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?St=5:(St=0,Ur=Xl=null,Pp(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(Yl=null),Iu(o),a=a.stateNode,ln&&typeof ln.onCommitFiberRoot=="function")try{ln.onCommitFiberRoot(wi,a,void 0,(a.current.flags&128)===128)}catch{}if(c!==null){a=z.T,m=O.p,O.p=2,z.T=null;try{for(var g=n.onRecoverableError,S=0;S<c.length;S++){var R=c[S];g(R.value,{componentStack:R.stack})}}finally{z.T=a,O.p=m}}(Sl&3)!==0&&Ws(),Wn(n),m=n.pendingLanes,(o&261930)!==0&&(m&42)!==0?n===yd?lo++:(lo=0,yd=n):lo=0,ao(0)}}function Pp(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,Ii(a)))}function Ws(){return Dp(),$p(),zp(),Op()}function Op(){if(St!==5)return!1;var n=Xl,a=bd;bd=0;var o=Iu(Sl),c=z.T,m=O.p;try{O.p=32>o?32:o,z.T=null,o=vd,vd=null;var g=Xl,S=Sl;if(St=0,Ur=Xl=null,Sl=0,(Ve&6)!==0)throw Error(r(331));var R=Ve;if(Ve|=4,bp(g.current),mp(g,g.current,S,o),Ve=R,ao(0,!1),ln&&typeof ln.onPostCommitFiberRoot=="function")try{ln.onPostCommitFiberRoot(wi,g)}catch{}return!0}finally{O.p=m,z.T=c,Pp(n,a)}}function jp(n,a,o){a=Tn(o,a),a=Zf(n.stateNode,a,2),n=Ul(n,a,2),n!==null&&(Ci(n,2),Wn(n))}function qe(n,a,o){if(n.tag===3)jp(n,n,o);else for(;a!==null;){if(a.tag===3){jp(a,n,o);break}else if(a.tag===1){var c=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Yl===null||!Yl.has(c))){n=Tn(o,n),o=I1(2),c=Ul(a,o,2),c!==null&&(B1(o,c,a,n),Ci(c,2),Wn(c));break}}a=a.return}}function wd(n,a,o){var c=n.pingCache;if(c===null){c=n.pingCache=new sS;var m=new Set;c.set(a,m)}else m=c.get(a),m===void 0&&(m=new Set,c.set(a,m));m.has(o)||(md=!0,m.add(o),n=hS.bind(null,n,a,o),a.then(n,n))}function hS(n,a,o){var c=n.pingCache;c!==null&&c.delete(a),n.pingedLanes|=n.suspendedLanes&o,n.warmLanes&=~o,Qe===n&&(Pe&o)===o&&(st===4||st===3&&(Pe&62914560)===Pe&&300>It()-Vs?(Ve&2)===0&&Fr(n,0):pd|=o,Kr===Pe&&(Kr=0)),Wn(n)}function Ip(n,a){a===0&&(a=D2()),n=La(n,a),n!==null&&(Ci(n,a),Wn(n))}function mS(n){var a=n.memoizedState,o=0;a!==null&&(o=a.retryLane),Ip(n,o)}function pS(n,a){var o=0;switch(n.tag){case 31:case 13:var c=n.stateNode,m=n.memoizedState;m!==null&&(o=m.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(r(314))}c!==null&&c.delete(a),Ip(n,o)}function gS(n,a){return jn(n,a)}var Zs=null,_r=null,Ed=!1,Qs=!1,Cd=!1,Zl=0;function Wn(n){n!==_r&&n.next===null&&(_r===null?Zs=_r=n:_r=_r.next=n),Qs=!0,Ed||(Ed=!0,vS())}function ao(n,a){if(!Cd&&Qs){Cd=!0;do for(var o=!1,c=Zs;c!==null;){if(n!==0){var m=c.pendingLanes;if(m===0)var g=0;else{var S=c.suspendedLanes,R=c.pingedLanes;g=(1<<31-an(42|n)+1)-1,g&=m&~(S&~R),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(o=!0,Up(c,g))}else g=Pe,g=ns(c,c===Qe?g:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(g&3)===0||Ei(c,g)||(o=!0,Up(c,g));c=c.next}while(o);Cd=!1}}function bS(){Bp()}function Bp(){Qs=Ed=!1;var n=0;Zl!==0&&AS()&&(n=Zl);for(var a=It(),o=null,c=Zs;c!==null;){var m=c.next,g=Hp(c,a);g===0?(c.next=null,o===null?Zs=m:o.next=m,m===null&&(_r=o)):(o=c,(n!==0||(g&3)!==0)&&(Qs=!0)),c=m}St!==0&&St!==5||ao(n),Zl!==0&&(Zl=0)}function Hp(n,a){for(var o=n.suspendedLanes,c=n.pingedLanes,m=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var S=31-an(g),R=1<<S,P=m[S];P===-1?((R&o)===0||(R&c)!==0)&&(m[S]=V6(R,a)):P<=a&&(n.expiredLanes|=R),g&=~R}if(a=Qe,o=Pe,o=ns(n,n===a?o:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c=n.callbackNode,o===0||n===a&&(Ge===2||Ge===9)||n.cancelPendingCommit!==null)return c!==null&&c!==null&&Si(c),n.callbackNode=null,n.callbackPriority=0;if((o&3)===0||Ei(n,o)){if(a=o&-o,a===n.callbackPriority)return a;switch(c!==null&&Si(c),Iu(o)){case 2:case 8:o=Gn;break;case 32:o=fr;break;case 268435456:o=N2;break;default:o=fr}return c=Kp.bind(null,n),o=jn(o,c),n.callbackPriority=a,n.callbackNode=o,a}return c!==null&&c!==null&&Si(c),n.callbackPriority=2,n.callbackNode=null,2}function Kp(n,a){if(St!==0&&St!==5)return n.callbackNode=null,n.callbackPriority=0,null;var o=n.callbackNode;if(Ws()&&n.callbackNode!==o)return null;var c=Pe;return c=ns(n,n===Qe?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(wp(n,c,a),Hp(n,It()),n.callbackNode!=null&&n.callbackNode===o?Kp.bind(null,n):null)}function Up(n,a){if(Ws())return null;wp(n,a,!0)}function vS(){kS(function(){(Ve&6)!==0?jn(Nt,bS):Bp()})}function Td(){if(Zl===0){var n=kr;n===0&&(n=Jo,Jo<<=1,(Jo&261888)===0&&(Jo=256)),Zl=n}return Zl}function Fp(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:is(""+n)}function Vp(n,a){var o=a.ownerDocument.createElement("input");return o.name=a.name,o.value=a.value,n.id&&o.setAttribute("form",n.id),a.parentNode.insertBefore(o,a),n=new FormData(n),o.parentNode.removeChild(o),n}function yS(n,a,o,c,m){if(a==="submit"&&o&&o.stateNode===m){var g=Fp((m[Vt]||null).action),S=c.submitter;S&&(a=(a=S[Vt]||null)?Fp(a.formAction):S.getAttribute("formAction"),a!==null&&(g=a,S=null));var R=new us("action","action",null,c,m);n.push({event:R,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Zl!==0){var P=S?Vp(m,S):new FormData(m);_f(o,{pending:!0,data:P,method:m.method,action:g},null,P)}}else typeof g=="function"&&(R.preventDefault(),P=S?Vp(m,S):new FormData(m),_f(o,{pending:!0,data:P,method:m.method,action:g},g,P))},currentTarget:m}]})}}for(var Rd=0;Rd<sf.length;Rd++){var Md=sf[Rd],xS=Md.toLowerCase(),SS=Md[0].toUpperCase()+Md.slice(1);In(xS,"on"+SS)}In(Sm,"onAnimationEnd"),In(wm,"onAnimationIteration"),In(Em,"onAnimationStart"),In("dblclick","onDoubleClick"),In("focusin","onFocus"),In("focusout","onBlur"),In(j7,"onTransitionRun"),In(I7,"onTransitionStart"),In(B7,"onTransitionCancel"),In(Cm,"onTransitionEnd"),gr("onMouseEnter",["mouseout","mouseover"]),gr("onMouseLeave",["mouseout","mouseover"]),gr("onPointerEnter",["pointerout","pointerover"]),gr("onPointerLeave",["pointerout","pointerover"]),Ta("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ta("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ta("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ta("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ta("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ta("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ro="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),wS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ro));function _p(n,a){a=(a&4)!==0;for(var o=0;o<n.length;o++){var c=n[o],m=c.event;c=c.listeners;e:{var g=void 0;if(a)for(var S=c.length-1;0<=S;S--){var R=c[S],P=R.instance,W=R.currentTarget;if(R=R.listener,P!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=W;try{g(m)}catch(le){hs(le)}m.currentTarget=null,g=P}else for(S=0;S<c.length;S++){if(R=c[S],P=R.instance,W=R.currentTarget,R=R.listener,P!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=W;try{g(m)}catch(le){hs(le)}m.currentTarget=null,g=P}}}}function $e(n,a){var o=a[Bu];o===void 0&&(o=a[Bu]=new Set);var c=n+"__bubble";o.has(c)||(Gp(a,n,2,!1),o.add(c))}function Ad(n,a,o){var c=0;a&&(c|=4),Gp(o,n,c,a)}var Js="_reactListening"+Math.random().toString(36).slice(2);function Ld(n){if(!n[Js]){n[Js]=!0,B2.forEach(function(o){o!=="selectionchange"&&(wS.has(o)||Ad(o,!1,n),Ad(o,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[Js]||(a[Js]=!0,Ad("selectionchange",!1,a))}}function Gp(n,a,o,c){switch(Sg(a)){case 2:var m=WS;break;case 8:m=ZS;break;default:m=Vd}o=m.bind(null,a,o,n),m=void 0,!Yu||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(m=!0),c?m!==void 0?n.addEventListener(a,o,{capture:!0,passive:m}):n.addEventListener(a,o,!0):m!==void 0?n.addEventListener(a,o,{passive:m}):n.addEventListener(a,o,!1)}function kd(n,a,o,c,m){var g=c;if((a&1)===0&&(a&2)===0&&c!==null)e:for(;;){if(c===null)return;var S=c.tag;if(S===3||S===4){var R=c.stateNode.containerInfo;if(R===m)break;if(S===4)for(S=c.return;S!==null;){var P=S.tag;if((P===3||P===4)&&S.stateNode.containerInfo===m)return;S=S.return}for(;R!==null;){if(S=hr(R),S===null)return;if(P=S.tag,P===5||P===6||P===26||P===27){c=g=S;continue e}R=R.parentNode}}c=c.return}Z2(function(){var W=g,le=Gu(o),re=[];e:{var Z=Tm.get(n);if(Z!==void 0){var ee=us,be=n;switch(n){case"keypress":if(ss(o)===0)break e;case"keydown":case"keyup":ee=p7;break;case"focusin":be="focus",ee=Qu;break;case"focusout":be="blur",ee=Qu;break;case"beforeblur":case"afterblur":ee=Qu;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ee=em;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=l7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=v7;break;case Sm:case wm:case Em:ee=i7;break;case Cm:ee=x7;break;case"scroll":case"scrollend":ee=t7;break;case"wheel":ee=w7;break;case"copy":case"cut":case"paste":ee=s7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=nm;break;case"toggle":case"beforetoggle":ee=C7}var we=(a&4)!==0,Ze=!we&&(n==="scroll"||n==="scrollend"),F=we?Z!==null?Z+"Capture":null:Z;we=[];for(var I=W,X;I!==null;){var ae=I;if(X=ae.stateNode,ae=ae.tag,ae!==5&&ae!==26&&ae!==27||X===null||F===null||(ae=Mi(I,F),ae!=null&&we.push(io(I,ae,X))),Ze)break;I=I.return}0<we.length&&(Z=new ee(Z,be,null,o,le),re.push({event:Z,listeners:we}))}}if((a&7)===0){e:{if(Z=n==="mouseover"||n==="pointerover",ee=n==="mouseout"||n==="pointerout",Z&&o!==_u&&(be=o.relatedTarget||o.fromElement)&&(hr(be)||be[dr]))break e;if((ee||Z)&&(Z=le.window===le?le:(Z=le.ownerDocument)?Z.defaultView||Z.parentWindow:window,ee?(be=o.relatedTarget||o.toElement,ee=W,be=be?hr(be):null,be!==null&&(Ze=s(be),we=be.tag,be!==Ze||we!==5&&we!==27&&we!==6)&&(be=null)):(ee=null,be=W),ee!==be)){if(we=em,ae="onMouseLeave",F="onMouseEnter",I="mouse",(n==="pointerout"||n==="pointerover")&&(we=nm,ae="onPointerLeave",F="onPointerEnter",I="pointer"),Ze=ee==null?Z:Ri(ee),X=be==null?Z:Ri(be),Z=new we(ae,I+"leave",ee,o,le),Z.target=Ze,Z.relatedTarget=X,ae=null,hr(le)===W&&(we=new we(F,I+"enter",be,o,le),we.target=X,we.relatedTarget=Ze,ae=we),Ze=ae,ee&&be)t:{for(we=ES,F=ee,I=be,X=0,ae=F;ae;ae=we(ae))X++;ae=0;for(var Se=I;Se;Se=we(Se))ae++;for(;0<X-ae;)F=we(F),X--;for(;0<ae-X;)I=we(I),ae--;for(;X--;){if(F===I||I!==null&&F===I.alternate){we=F;break t}F=we(F),I=we(I)}we=null}else we=null;ee!==null&&qp(re,Z,ee,we,!1),be!==null&&Ze!==null&&qp(re,Ze,be,we,!0)}}e:{if(Z=W?Ri(W):window,ee=Z.nodeName&&Z.nodeName.toLowerCase(),ee==="select"||ee==="input"&&Z.type==="file")var Ke=um;else if(sm(Z))if(fm)Ke=z7;else{Ke=D7;var ye=N7}else ee=Z.nodeName,!ee||ee.toLowerCase()!=="input"||Z.type!=="checkbox"&&Z.type!=="radio"?W&&Vu(W.elementType)&&(Ke=um):Ke=$7;if(Ke&&(Ke=Ke(n,W))){cm(re,Ke,o,le);break e}ye&&ye(n,Z,W),n==="focusout"&&W&&Z.type==="number"&&W.memoizedProps.value!=null&&Fu(Z,"number",Z.value)}switch(ye=W?Ri(W):window,n){case"focusin":(sm(ye)||ye.contentEditable==="true")&&(wr=ye,af=W,Pi=null);break;case"focusout":Pi=af=wr=null;break;case"mousedown":rf=!0;break;case"contextmenu":case"mouseup":case"dragend":rf=!1,ym(re,o,le);break;case"selectionchange":if(O7)break;case"keydown":case"keyup":ym(re,o,le)}var Me;if(ef)e:{switch(n){case"compositionstart":var Oe="onCompositionStart";break e;case"compositionend":Oe="onCompositionEnd";break e;case"compositionupdate":Oe="onCompositionUpdate";break e}Oe=void 0}else Sr?im(n,o)&&(Oe="onCompositionEnd"):n==="keydown"&&o.keyCode===229&&(Oe="onCompositionStart");Oe&&(lm&&o.locale!=="ko"&&(Sr||Oe!=="onCompositionStart"?Oe==="onCompositionEnd"&&Sr&&(Me=Q2()):(Pl=le,Xu="value"in Pl?Pl.value:Pl.textContent,Sr=!0)),ye=ec(W,Oe),0<ye.length&&(Oe=new tm(Oe,n,null,o,le),re.push({event:Oe,listeners:ye}),Me?Oe.data=Me:(Me=om(o),Me!==null&&(Oe.data=Me)))),(Me=R7?M7(n,o):A7(n,o))&&(Oe=ec(W,"onBeforeInput"),0<Oe.length&&(ye=new tm("onBeforeInput","beforeinput",null,o,le),re.push({event:ye,listeners:Oe}),ye.data=Me)),yS(re,n,W,o,le)}_p(re,a)})}function io(n,a,o){return{instance:n,listener:a,currentTarget:o}}function ec(n,a){for(var o=a+"Capture",c=[];n!==null;){var m=n,g=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||g===null||(m=Mi(n,o),m!=null&&c.unshift(io(n,m,g)),m=Mi(n,a),m!=null&&c.push(io(n,m,g))),n.tag===3)return c;n=n.return}return[]}function ES(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function qp(n,a,o,c,m){for(var g=a._reactName,S=[];o!==null&&o!==c;){var R=o,P=R.alternate,W=R.stateNode;if(R=R.tag,P!==null&&P===c)break;R!==5&&R!==26&&R!==27||W===null||(P=W,m?(W=Mi(o,g),W!=null&&S.unshift(io(o,W,P))):m||(W=Mi(o,g),W!=null&&S.push(io(o,W,P)))),o=o.return}S.length!==0&&n.push({event:a,listeners:S})}var CS=/\r\n?/g,TS=/\u0000|\uFFFD/g;function Yp(n){return(typeof n=="string"?n:""+n).replace(CS,`
50
- `).replace(TS,"")}function Xp(n,a){return a=Yp(a),Yp(n)===a}function We(n,a,o,c,m,g){switch(o){case"children":typeof c=="string"?a==="body"||a==="textarea"&&c===""||vr(n,c):(typeof c=="number"||typeof c=="bigint")&&a!=="body"&&vr(n,""+c);break;case"className":as(n,"class",c);break;case"tabIndex":as(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":as(n,o,c);break;case"style":X2(n,c,g);break;case"data":if(a!=="object"){as(n,"data",c);break}case"src":case"href":if(c===""&&(a!=="a"||o!=="href")){n.removeAttribute(o);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(o);break}c=is(""+c),n.setAttribute(o,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(o==="formAction"?(a!=="input"&&We(n,a,"name",m.name,m,null),We(n,a,"formEncType",m.formEncType,m,null),We(n,a,"formMethod",m.formMethod,m,null),We(n,a,"formTarget",m.formTarget,m,null)):(We(n,a,"encType",m.encType,m,null),We(n,a,"method",m.method,m,null),We(n,a,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(o);break}c=is(""+c),n.setAttribute(o,c);break;case"onClick":c!=null&&(n.onclick=il);break;case"onScroll":c!=null&&$e("scroll",n);break;case"onScrollEnd":c!=null&&$e("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(o=c.__html,o!=null){if(m.children!=null)throw Error(r(60));n.innerHTML=o}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}o=is(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(o,""+c):n.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(o,""):n.removeAttribute(o);break;case"capture":case"download":c===!0?n.setAttribute(o,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(o,c):n.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(o,c):n.removeAttribute(o);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(o):n.setAttribute(o,c);break;case"popover":$e("beforetoggle",n),$e("toggle",n),ls(n,"popover",c);break;case"xlinkActuate":rl(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":rl(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":rl(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":rl(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":rl(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":rl(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":rl(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":rl(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":rl(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":ls(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=J6.get(o)||o,ls(n,o,c))}}function Nd(n,a,o,c,m,g){switch(o){case"style":X2(n,c,g);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(o=c.__html,o!=null){if(m.children!=null)throw Error(r(60));n.innerHTML=o}}break;case"children":typeof c=="string"?vr(n,c):(typeof c=="number"||typeof c=="bigint")&&vr(n,""+c);break;case"onScroll":c!=null&&$e("scroll",n);break;case"onScrollEnd":c!=null&&$e("scrollend",n);break;case"onClick":c!=null&&(n.onclick=il);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!H2.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(m=o.endsWith("Capture"),a=o.slice(2,m?o.length-7:void 0),g=n[Vt]||null,g=g!=null?g[o]:null,typeof g=="function"&&n.removeEventListener(a,g,m),typeof c=="function")){typeof g!="function"&&g!==null&&(o in n?n[o]=null:n.hasAttribute(o)&&n.removeAttribute(o)),n.addEventListener(a,c,m);break e}o in n?n[o]=c:c===!0?n.setAttribute(o,""):ls(n,o,c)}}}function Ot(n,a,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$e("error",n),$e("load",n);var c=!1,m=!1,g;for(g in o)if(o.hasOwnProperty(g)){var S=o[g];if(S!=null)switch(g){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:We(n,a,g,S,o,null)}}m&&We(n,a,"srcSet",o.srcSet,o,null),c&&We(n,a,"src",o.src,o,null);return;case"input":$e("invalid",n);var R=g=S=m=null,P=null,W=null;for(c in o)if(o.hasOwnProperty(c)){var le=o[c];if(le!=null)switch(c){case"name":m=le;break;case"type":S=le;break;case"checked":P=le;break;case"defaultChecked":W=le;break;case"value":g=le;break;case"defaultValue":R=le;break;case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(r(137,a));break;default:We(n,a,c,le,o,null)}}_2(n,g,R,P,W,S,m,!1);return;case"select":$e("invalid",n),c=S=g=null;for(m in o)if(o.hasOwnProperty(m)&&(R=o[m],R!=null))switch(m){case"value":g=R;break;case"defaultValue":S=R;break;case"multiple":c=R;default:We(n,a,m,R,o,null)}a=g,o=S,n.multiple=!!c,a!=null?br(n,!!c,a,!1):o!=null&&br(n,!!c,o,!0);return;case"textarea":$e("invalid",n),g=m=c=null;for(S in o)if(o.hasOwnProperty(S)&&(R=o[S],R!=null))switch(S){case"value":c=R;break;case"defaultValue":m=R;break;case"children":g=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(r(91));break;default:We(n,a,S,R,o,null)}q2(n,c,m,g);return;case"option":for(P in o)if(o.hasOwnProperty(P)&&(c=o[P],c!=null))switch(P){case"selected":n.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:We(n,a,P,c,o,null)}return;case"dialog":$e("beforetoggle",n),$e("toggle",n),$e("cancel",n),$e("close",n);break;case"iframe":case"object":$e("load",n);break;case"video":case"audio":for(c=0;c<ro.length;c++)$e(ro[c],n);break;case"image":$e("error",n),$e("load",n);break;case"details":$e("toggle",n);break;case"embed":case"source":case"link":$e("error",n),$e("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(W in o)if(o.hasOwnProperty(W)&&(c=o[W],c!=null))switch(W){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:We(n,a,W,c,o,null)}return;default:if(Vu(a)){for(le in o)o.hasOwnProperty(le)&&(c=o[le],c!==void 0&&Nd(n,a,le,c,o,void 0));return}}for(R in o)o.hasOwnProperty(R)&&(c=o[R],c!=null&&We(n,a,R,c,o,null))}function RS(n,a,o,c){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,g=null,S=null,R=null,P=null,W=null,le=null;for(ee in o){var re=o[ee];if(o.hasOwnProperty(ee)&&re!=null)switch(ee){case"checked":break;case"value":break;case"defaultValue":P=re;default:c.hasOwnProperty(ee)||We(n,a,ee,null,c,re)}}for(var Z in c){var ee=c[Z];if(re=o[Z],c.hasOwnProperty(Z)&&(ee!=null||re!=null))switch(Z){case"type":g=ee;break;case"name":m=ee;break;case"checked":W=ee;break;case"defaultChecked":le=ee;break;case"value":S=ee;break;case"defaultValue":R=ee;break;case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(r(137,a));break;default:ee!==re&&We(n,a,Z,ee,c,re)}}Uu(n,S,R,P,W,le,g,m);return;case"select":ee=S=R=Z=null;for(g in o)if(P=o[g],o.hasOwnProperty(g)&&P!=null)switch(g){case"value":break;case"multiple":ee=P;default:c.hasOwnProperty(g)||We(n,a,g,null,c,P)}for(m in c)if(g=c[m],P=o[m],c.hasOwnProperty(m)&&(g!=null||P!=null))switch(m){case"value":Z=g;break;case"defaultValue":R=g;break;case"multiple":S=g;default:g!==P&&We(n,a,m,g,c,P)}a=R,o=S,c=ee,Z!=null?br(n,!!o,Z,!1):!!c!=!!o&&(a!=null?br(n,!!o,a,!0):br(n,!!o,o?[]:"",!1));return;case"textarea":ee=Z=null;for(R in o)if(m=o[R],o.hasOwnProperty(R)&&m!=null&&!c.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:We(n,a,R,null,c,m)}for(S in c)if(m=c[S],g=o[S],c.hasOwnProperty(S)&&(m!=null||g!=null))switch(S){case"value":Z=m;break;case"defaultValue":ee=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(r(91));break;default:m!==g&&We(n,a,S,m,c,g)}G2(n,Z,ee);return;case"option":for(var be in o)if(Z=o[be],o.hasOwnProperty(be)&&Z!=null&&!c.hasOwnProperty(be))switch(be){case"selected":n.selected=!1;break;default:We(n,a,be,null,c,Z)}for(P in c)if(Z=c[P],ee=o[P],c.hasOwnProperty(P)&&Z!==ee&&(Z!=null||ee!=null))switch(P){case"selected":n.selected=Z&&typeof Z!="function"&&typeof Z!="symbol";break;default:We(n,a,P,Z,c,ee)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var we in o)Z=o[we],o.hasOwnProperty(we)&&Z!=null&&!c.hasOwnProperty(we)&&We(n,a,we,null,c,Z);for(W in c)if(Z=c[W],ee=o[W],c.hasOwnProperty(W)&&Z!==ee&&(Z!=null||ee!=null))switch(W){case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(r(137,a));break;default:We(n,a,W,Z,c,ee)}return;default:if(Vu(a)){for(var Ze in o)Z=o[Ze],o.hasOwnProperty(Ze)&&Z!==void 0&&!c.hasOwnProperty(Ze)&&Nd(n,a,Ze,void 0,c,Z);for(le in c)Z=c[le],ee=o[le],!c.hasOwnProperty(le)||Z===ee||Z===void 0&&ee===void 0||Nd(n,a,le,Z,c,ee);return}}for(var F in o)Z=o[F],o.hasOwnProperty(F)&&Z!=null&&!c.hasOwnProperty(F)&&We(n,a,F,null,c,Z);for(re in c)Z=c[re],ee=o[re],!c.hasOwnProperty(re)||Z===ee||Z==null&&ee==null||We(n,a,re,Z,c,ee)}function Wp(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function MS(){if(typeof performance.getEntriesByType=="function"){for(var n=0,a=0,o=performance.getEntriesByType("resource"),c=0;c<o.length;c++){var m=o[c],g=m.transferSize,S=m.initiatorType,R=m.duration;if(g&&R&&Wp(S)){for(S=0,R=m.responseEnd,c+=1;c<o.length;c++){var P=o[c],W=P.startTime;if(W>R)break;var le=P.transferSize,re=P.initiatorType;le&&Wp(re)&&(P=P.responseEnd,S+=le*(P<R?1:(R-W)/(P-W)))}if(--c,a+=8*(g+S)/(m.duration/1e3),n++,10<n)break}}if(0<n)return a/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var Dd=null,$d=null;function tc(n){return n.nodeType===9?n:n.ownerDocument}function Zp(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Qp(n,a){if(n===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&a==="foreignObject"?0:n}function zd(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Pd=null;function AS(){var n=window.event;return n&&n.type==="popstate"?n===Pd?!1:(Pd=n,!0):(Pd=null,!1)}var Jp=typeof setTimeout=="function"?setTimeout:void 0,LS=typeof clearTimeout=="function"?clearTimeout:void 0,eg=typeof Promise=="function"?Promise:void 0,kS=typeof queueMicrotask=="function"?queueMicrotask:typeof eg<"u"?function(n){return eg.resolve(null).then(n).catch(NS)}:Jp;function NS(n){setTimeout(function(){throw n})}function Ql(n){return n==="head"}function tg(n,a){var o=a,c=0;do{var m=o.nextSibling;if(n.removeChild(o),m&&m.nodeType===8)if(o=m.data,o==="/$"||o==="/&"){if(c===0){n.removeChild(m),Xr(a);return}c--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")c++;else if(o==="html")oo(n.ownerDocument.documentElement);else if(o==="head"){o=n.ownerDocument.head,oo(o);for(var g=o.firstChild;g;){var S=g.nextSibling,R=g.nodeName;g[Ti]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&g.rel.toLowerCase()==="stylesheet"||o.removeChild(g),g=S}}else o==="body"&&oo(n.ownerDocument.body);o=m}while(o);Xr(a)}function ng(n,a){var o=n;n=0;do{var c=o.nextSibling;if(o.nodeType===1?a?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(a?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),c&&c.nodeType===8)if(o=c.data,o==="/$"){if(n===0)break;n--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||n++;o=c}while(o)}function Od(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var o=a;switch(a=a.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Od(o),Hu(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}n.removeChild(o)}}function DS(n,a,o,c){for(;n.nodeType===1;){var m=o;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!c&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(c){if(!n[Ti])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(g=n.getAttribute("rel"),g==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(g!==m.rel||n.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||n.getAttribute("title")!==(m.title==null?null:m.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(g=n.getAttribute("src"),(g!==(m.src==null?null:m.src)||n.getAttribute("type")!==(m.type==null?null:m.type)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&g&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){var g=m.name==null?null:""+m.name;if(m.type==="hidden"&&n.getAttribute("name")===g)return n}else return n;if(n=kn(n.nextSibling),n===null)break}return null}function $S(n,a,o){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!o||(n=kn(n.nextSibling),n===null))return null;return n}function lg(n,a){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!a||(n=kn(n.nextSibling),n===null))return null;return n}function jd(n){return n.data==="$?"||n.data==="$~"}function Id(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function zS(n,a){var o=n.ownerDocument;if(n.data==="$~")n._reactRetry=a;else if(n.data!=="$?"||o.readyState!=="loading")a();else{var c=function(){a(),o.removeEventListener("DOMContentLoaded",c)};o.addEventListener("DOMContentLoaded",c),n._reactRetry=c}}function kn(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return n}var Bd=null;function ag(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var o=n.data;if(o==="/$"||o==="/&"){if(a===0)return kn(n.nextSibling);a--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||a++}n=n.nextSibling}return null}function rg(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var o=n.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(a===0)return n;a--}else o!=="/$"&&o!=="/&"||a++}n=n.previousSibling}return null}function ig(n,a,o){switch(a=tc(o),n){case"html":if(n=a.documentElement,!n)throw Error(r(452));return n;case"head":if(n=a.head,!n)throw Error(r(453));return n;case"body":if(n=a.body,!n)throw Error(r(454));return n;default:throw Error(r(451))}}function oo(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);Hu(n)}var Nn=new Map,og=new Set;function nc(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var wl=O.d;O.d={f:PS,r:OS,D:jS,C:IS,L:BS,m:HS,X:US,S:KS,M:FS};function PS(){var n=wl.f(),a=qs();return n||a}function OS(n){var a=mr(n);a!==null&&a.tag===5&&a.type==="form"?C1(a):wl.r(n)}var Gr=typeof document>"u"?null:document;function sg(n,a,o){var c=Gr;if(c&&typeof a=="string"&&a){var m=En(a);m='link[rel="'+n+'"][href="'+m+'"]',typeof o=="string"&&(m+='[crossorigin="'+o+'"]'),og.has(m)||(og.add(m),n={rel:n,crossOrigin:o,href:a},c.querySelector(m)===null&&(a=c.createElement("link"),Ot(a,"link",n),Tt(a),c.head.appendChild(a)))}}function jS(n){wl.D(n),sg("dns-prefetch",n,null)}function IS(n,a){wl.C(n,a),sg("preconnect",n,a)}function BS(n,a,o){wl.L(n,a,o);var c=Gr;if(c&&n&&a){var m='link[rel="preload"][as="'+En(a)+'"]';a==="image"&&o&&o.imageSrcSet?(m+='[imagesrcset="'+En(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(m+='[imagesizes="'+En(o.imageSizes)+'"]')):m+='[href="'+En(n)+'"]';var g=m;switch(a){case"style":g=qr(n);break;case"script":g=Yr(n)}Nn.has(g)||(n=b({rel:"preload",href:a==="image"&&o&&o.imageSrcSet?void 0:n,as:a},o),Nn.set(g,n),c.querySelector(m)!==null||a==="style"&&c.querySelector(so(g))||a==="script"&&c.querySelector(co(g))||(a=c.createElement("link"),Ot(a,"link",n),Tt(a),c.head.appendChild(a)))}}function HS(n,a){wl.m(n,a);var o=Gr;if(o&&n){var c=a&&typeof a.as=="string"?a.as:"script",m='link[rel="modulepreload"][as="'+En(c)+'"][href="'+En(n)+'"]',g=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Yr(n)}if(!Nn.has(g)&&(n=b({rel:"modulepreload",href:n},a),Nn.set(g,n),o.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(co(g)))return}c=o.createElement("link"),Ot(c,"link",n),Tt(c),o.head.appendChild(c)}}}function KS(n,a,o){wl.S(n,a,o);var c=Gr;if(c&&n){var m=pr(c).hoistableStyles,g=qr(n);a=a||"default";var S=m.get(g);if(!S){var R={loading:0,preload:null};if(S=c.querySelector(so(g)))R.loading=5;else{n=b({rel:"stylesheet",href:n,"data-precedence":a},o),(o=Nn.get(g))&&Hd(n,o);var P=S=c.createElement("link");Tt(P),Ot(P,"link",n),P._p=new Promise(function(W,le){P.onload=W,P.onerror=le}),P.addEventListener("load",function(){R.loading|=1}),P.addEventListener("error",function(){R.loading|=2}),R.loading|=4,lc(S,a,c)}S={type:"stylesheet",instance:S,count:1,state:R},m.set(g,S)}}}function US(n,a){wl.X(n,a);var o=Gr;if(o&&n){var c=pr(o).hoistableScripts,m=Yr(n),g=c.get(m);g||(g=o.querySelector(co(m)),g||(n=b({src:n,async:!0},a),(a=Nn.get(m))&&Kd(n,a),g=o.createElement("script"),Tt(g),Ot(g,"link",n),o.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function FS(n,a){wl.M(n,a);var o=Gr;if(o&&n){var c=pr(o).hoistableScripts,m=Yr(n),g=c.get(m);g||(g=o.querySelector(co(m)),g||(n=b({src:n,async:!0,type:"module"},a),(a=Nn.get(m))&&Kd(n,a),g=o.createElement("script"),Tt(g),Ot(g,"link",n),o.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function cg(n,a,o,c){var m=(m=ie.current)?nc(m):null;if(!m)throw Error(r(446));switch(n){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(a=qr(o.href),o=pr(m).hoistableStyles,c=o.get(a),c||(c={type:"style",instance:null,count:0,state:null},o.set(a,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){n=qr(o.href);var g=pr(m).hoistableStyles,S=g.get(n);if(S||(m=m.ownerDocument||m,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(n,S),(g=m.querySelector(so(n)))&&!g._p&&(S.instance=g,S.state.loading=5),Nn.has(n)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Nn.set(n,o),g||VS(m,n,o,S.state))),a&&c===null)throw Error(r(528,""));return S}if(a&&c!==null)throw Error(r(529,""));return null;case"script":return a=o.async,o=o.src,typeof o=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Yr(o),o=pr(m).hoistableScripts,c=o.get(a),c||(c={type:"script",instance:null,count:0,state:null},o.set(a,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,n))}}function qr(n){return'href="'+En(n)+'"'}function so(n){return'link[rel="stylesheet"]['+n+"]"}function ug(n){return b({},n,{"data-precedence":n.precedence,precedence:null})}function VS(n,a,o,c){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?c.loading=1:(a=n.createElement("link"),c.preload=a,a.addEventListener("load",function(){return c.loading|=1}),a.addEventListener("error",function(){return c.loading|=2}),Ot(a,"link",o),Tt(a),n.head.appendChild(a))}function Yr(n){return'[src="'+En(n)+'"]'}function co(n){return"script[async]"+n}function fg(n,a,o){if(a.count++,a.instance===null)switch(a.type){case"style":var c=n.querySelector('style[data-href~="'+En(o.href)+'"]');if(c)return a.instance=c,Tt(c),c;var m=b({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),Tt(c),Ot(c,"style",m),lc(c,o.precedence,n),a.instance=c;case"stylesheet":m=qr(o.href);var g=n.querySelector(so(m));if(g)return a.state.loading|=4,a.instance=g,Tt(g),g;c=ug(o),(m=Nn.get(m))&&Hd(c,m),g=(n.ownerDocument||n).createElement("link"),Tt(g);var S=g;return S._p=new Promise(function(R,P){S.onload=R,S.onerror=P}),Ot(g,"link",c),a.state.loading|=4,lc(g,o.precedence,n),a.instance=g;case"script":return g=Yr(o.src),(m=n.querySelector(co(g)))?(a.instance=m,Tt(m),m):(c=o,(m=Nn.get(g))&&(c=b({},o),Kd(c,m)),n=n.ownerDocument||n,m=n.createElement("script"),Tt(m),Ot(m,"link",c),n.head.appendChild(m),a.instance=m);case"void":return null;default:throw Error(r(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(c=a.instance,a.state.loading|=4,lc(c,o.precedence,n));return a.instance}function lc(n,a,o){for(var c=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,g=m,S=0;S<c.length;S++){var R=c[S];if(R.dataset.precedence===a)g=R;else if(g!==m)break}g?g.parentNode.insertBefore(n,g.nextSibling):(a=o.nodeType===9?o.head:o,a.insertBefore(n,a.firstChild))}function Hd(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Kd(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var ac=null;function dg(n,a,o){if(ac===null){var c=new Map,m=ac=new Map;m.set(o,c)}else m=ac,c=m.get(o),c||(c=new Map,m.set(o,c));if(c.has(n))return c;for(c.set(n,null),o=o.getElementsByTagName(n),m=0;m<o.length;m++){var g=o[m];if(!(g[Ti]||g[Dt]||n==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var S=g.getAttribute(a)||"";S=n+S;var R=c.get(S);R?R.push(g):c.set(S,[g])}}return c}function hg(n,a,o){n=n.ownerDocument||n,n.head.insertBefore(o,a==="title"?n.querySelector("head > title"):null)}function _S(n,a,o){if(o===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function mg(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function GS(n,a,o,c){if(o.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var m=qr(c.href),g=a.querySelector(so(m));if(g){a=g._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=rc.bind(n),a.then(n,n)),o.state.loading|=4,o.instance=g,Tt(g);return}g=a.ownerDocument||a,c=ug(c),(m=Nn.get(m))&&Hd(c,m),g=g.createElement("link"),Tt(g);var S=g;S._p=new Promise(function(R,P){S.onload=R,S.onerror=P}),Ot(g,"link",c),o.instance=g}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(o,a),(a=o.state.preload)&&(o.state.loading&3)===0&&(n.count++,o=rc.bind(n),a.addEventListener("load",o),a.addEventListener("error",o))}}var Ud=0;function qS(n,a){return n.stylesheets&&n.count===0&&oc(n,n.stylesheets),0<n.count||0<n.imgCount?function(o){var c=setTimeout(function(){if(n.stylesheets&&oc(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4+a);0<n.imgBytes&&Ud===0&&(Ud=62500*MS());var m=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&oc(n,n.stylesheets),n.unsuspend)){var g=n.unsuspend;n.unsuspend=null,g()}},(n.imgBytes>Ud?50:800)+a);return n.unsuspend=o,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(m)}}:null}function rc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)oc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var ic=null;function oc(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,ic=new Map,a.forEach(YS,n),ic=null,rc.call(n))}function YS(n,a){if(!(a.state.loading&4)){var o=ic.get(n);if(o)var c=o.get(null);else{o=new Map,ic.set(n,o);for(var m=n.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<m.length;g++){var S=m[g];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(o.set(S.dataset.precedence,S),c=S)}c&&o.set(null,c)}m=a.instance,S=m.getAttribute("data-precedence"),g=o.get(S)||c,g===c&&o.set(null,m),o.set(S,m),this.count++,c=rc.bind(this),m.addEventListener("load",c),m.addEventListener("error",c),g?g.parentNode.insertBefore(m,g.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(m,n.firstChild)),a.state.loading|=4}}var uo={$$typeof:L,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function XS(n,a,o,c,m,g,S,R,P){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ou(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ou(0),this.hiddenUpdates=Ou(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=g,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=P,this.incompleteTransitions=new Map}function pg(n,a,o,c,m,g,S,R,P,W,le,re){return n=new XS(n,a,o,S,P,W,le,re,R),a=1,g===!0&&(a|=24),g=on(3,null,null,a),n.current=g,g.stateNode=n,a=Sf(),a.refCount++,n.pooledCache=a,a.refCount++,g.memoizedState={element:c,isDehydrated:o,cache:a},Tf(g),n}function gg(n){return n?(n=Tr,n):Tr}function bg(n,a,o,c,m,g){m=gg(m),c.context===null?c.context=m:c.pendingContext=m,c=Kl(a),c.payload={element:o},g=g===void 0?null:g,g!==null&&(c.callback=g),o=Ul(n,c,a),o!==null&&(Wt(o,n,a),Ui(o,n,a))}function vg(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var o=n.retryLane;n.retryLane=o!==0&&o<a?o:a}}function Fd(n,a){vg(n,a),(n=n.alternate)&&vg(n,a)}function yg(n){if(n.tag===13||n.tag===31){var a=La(n,67108864);a!==null&&Wt(a,n,67108864),Fd(n,67108864)}}function xg(n){if(n.tag===13||n.tag===31){var a=dn();a=ju(a);var o=La(n,a);o!==null&&Wt(o,n,a),Fd(n,a)}}var sc=!0;function WS(n,a,o,c){var m=z.T;z.T=null;var g=O.p;try{O.p=2,Vd(n,a,o,c)}finally{O.p=g,z.T=m}}function ZS(n,a,o,c){var m=z.T;z.T=null;var g=O.p;try{O.p=8,Vd(n,a,o,c)}finally{O.p=g,z.T=m}}function Vd(n,a,o,c){if(sc){var m=_d(c);if(m===null)kd(n,a,c,cc,o),wg(n,c);else if(JS(m,n,a,o,c))c.stopPropagation();else if(wg(n,c),a&4&&-1<QS.indexOf(n)){for(;m!==null;){var g=mr(m);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var S=Ca(g.pendingLanes);if(S!==0){var R=g;for(R.pendingLanes|=2,R.entangledLanes|=2;S;){var P=1<<31-an(S);R.entanglements[1]|=P,S&=~P}Wn(g),(Ve&6)===0&&(_s=It()+500,ao(0))}}break;case 31:case 13:R=La(g,2),R!==null&&Wt(R,g,2),qs(),Fd(g,2)}if(g=_d(c),g===null&&kd(n,a,c,cc,o),g===m)break;m=g}m!==null&&c.stopPropagation()}else kd(n,a,c,null,o)}}function _d(n){return n=Gu(n),Gd(n)}var cc=null;function Gd(n){if(cc=null,n=hr(n),n!==null){var a=s(n);if(a===null)n=null;else{var o=a.tag;if(o===13){if(n=u(a),n!==null)return n;n=null}else if(o===31){if(n=f(a),n!==null)return n;n=null}else if(o===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return cc=n,null}function Sg(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ye()){case Nt:return 2;case Gn:return 8;case fr:case I6:return 32;case N2:return 268435456;default:return 32}default:return 32}}var qd=!1,Jl=null,ea=null,ta=null,fo=new Map,ho=new Map,na=[],QS="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function wg(n,a){switch(n){case"focusin":case"focusout":Jl=null;break;case"dragenter":case"dragleave":ea=null;break;case"mouseover":case"mouseout":ta=null;break;case"pointerover":case"pointerout":fo.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":ho.delete(a.pointerId)}}function mo(n,a,o,c,m,g){return n===null||n.nativeEvent!==g?(n={blockedOn:a,domEventName:o,eventSystemFlags:c,nativeEvent:g,targetContainers:[m]},a!==null&&(a=mr(a),a!==null&&yg(a)),n):(n.eventSystemFlags|=c,a=n.targetContainers,m!==null&&a.indexOf(m)===-1&&a.push(m),n)}function JS(n,a,o,c,m){switch(a){case"focusin":return Jl=mo(Jl,n,a,o,c,m),!0;case"dragenter":return ea=mo(ea,n,a,o,c,m),!0;case"mouseover":return ta=mo(ta,n,a,o,c,m),!0;case"pointerover":var g=m.pointerId;return fo.set(g,mo(fo.get(g)||null,n,a,o,c,m)),!0;case"gotpointercapture":return g=m.pointerId,ho.set(g,mo(ho.get(g)||null,n,a,o,c,m)),!0}return!1}function Eg(n){var a=hr(n.target);if(a!==null){var o=s(a);if(o!==null){if(a=o.tag,a===13){if(a=u(o),a!==null){n.blockedOn=a,j2(n.priority,function(){xg(o)});return}}else if(a===31){if(a=f(o),a!==null){n.blockedOn=a,j2(n.priority,function(){xg(o)});return}}else if(a===3&&o.stateNode.current.memoizedState.isDehydrated){n.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}n.blockedOn=null}function uc(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var o=_d(n.nativeEvent);if(o===null){o=n.nativeEvent;var c=new o.constructor(o.type,o);_u=c,o.target.dispatchEvent(c),_u=null}else return a=mr(o),a!==null&&yg(a),n.blockedOn=o,!1;a.shift()}return!0}function Cg(n,a,o){uc(n)&&o.delete(a)}function e8(){qd=!1,Jl!==null&&uc(Jl)&&(Jl=null),ea!==null&&uc(ea)&&(ea=null),ta!==null&&uc(ta)&&(ta=null),fo.forEach(Cg),ho.forEach(Cg)}function fc(n,a){n.blockedOn===a&&(n.blockedOn=null,qd||(qd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,e8)))}var dc=null;function Tg(n){dc!==n&&(dc=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){dc===n&&(dc=null);for(var a=0;a<n.length;a+=3){var o=n[a],c=n[a+1],m=n[a+2];if(typeof c!="function"){if(Gd(c||o)===null)continue;break}var g=mr(o);g!==null&&(n.splice(a,3),a-=3,_f(g,{pending:!0,data:m,method:o.method,action:c},c,m))}}))}function Xr(n){function a(P){return fc(P,n)}Jl!==null&&fc(Jl,n),ea!==null&&fc(ea,n),ta!==null&&fc(ta,n),fo.forEach(a),ho.forEach(a);for(var o=0;o<na.length;o++){var c=na[o];c.blockedOn===n&&(c.blockedOn=null)}for(;0<na.length&&(o=na[0],o.blockedOn===null);)Eg(o),o.blockedOn===null&&na.shift();if(o=(n.ownerDocument||n).$$reactFormReplay,o!=null)for(c=0;c<o.length;c+=3){var m=o[c],g=o[c+1],S=m[Vt]||null;if(typeof g=="function")S||Tg(o);else if(S){var R=null;if(g&&g.hasAttribute("formAction")){if(m=g,S=g[Vt]||null)R=S.formAction;else if(Gd(m)!==null)continue}else R=S.action;typeof R=="function"?o[c+1]=R:(o.splice(c,3),c-=3),Tg(o)}}}function Rg(){function n(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(S){return m=S})},focusReset:"manual",scroll:"manual"})}function a(){m!==null&&(m(),m=null),c||setTimeout(o,20)}function o(){if(!c&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,m=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(o,100),function(){c=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),m!==null&&(m(),m=null)}}}function Yd(n){this._internalRoot=n}hc.prototype.render=Yd.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(r(409));var o=a.current,c=dn();bg(o,c,n,a,null,null)},hc.prototype.unmount=Yd.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;bg(n.current,2,null,n,null,null),qs(),a[dr]=null}};function hc(n){this._internalRoot=n}hc.prototype.unstable_scheduleHydration=function(n){if(n){var a=O2();n={blockedOn:null,target:n,priority:a};for(var o=0;o<na.length&&a!==0&&a<na[o].priority;o++);na.splice(o,0,n),o===0&&Eg(n)}};var Mg=t.version;if(Mg!=="19.2.7")throw Error(r(527,Mg,"19.2.7"));O.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=h(a),n=n!==null?p(n):null,n=n===null?null:n.stateNode,n};var t8={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var mc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!mc.isDisabled&&mc.supportsFiber)try{wi=mc.inject(t8),ln=mc}catch{}}return go.createRoot=function(n,a){if(!i(n))throw Error(r(299));var o=!1,c="",m=z1,g=P1,S=O1;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(m=a.onUncaughtError),a.onCaughtError!==void 0&&(g=a.onCaughtError),a.onRecoverableError!==void 0&&(S=a.onRecoverableError)),a=pg(n,1,!1,null,null,o,c,null,m,g,S,Rg),n[dr]=a.current,Ld(n),new Yd(a)},go.hydrateRoot=function(n,a,o){if(!i(n))throw Error(r(299));var c=!1,m="",g=z1,S=P1,R=O1,P=null;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onUncaughtError!==void 0&&(g=o.onUncaughtError),o.onCaughtError!==void 0&&(S=o.onCaughtError),o.onRecoverableError!==void 0&&(R=o.onRecoverableError),o.formState!==void 0&&(P=o.formState)),a=pg(n,1,!0,a,o??null,c,m,P,g,S,R,Rg),a.context=gg(null),o=a.current,c=dn(),c=ju(c),m=Kl(c),m.callback=null,Ul(o,m,c),o=c,a.current.lanes=o,Ci(a,o),Wn(a),n[dr]=a.current,Ld(n),new hc(a)},go.version="19.2.7",go}var Kg;function d8(){if(Kg)return Qd.exports;Kg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Qd.exports=f8(),Qd.exports}var h8=d8(),Ug=y.use,Co=typeof window<"u"?y.useLayoutEffect:y.useEffect;function n0(e){const t=y.useRef({value:e,prev:null}),l=t.current.value;return e!==l&&(t.current={value:e,prev:l}),t.current.prev}function m8(e,t,l={},r={}){y.useEffect(()=>{if(!e.current||r.disabled||typeof IntersectionObserver!="function")return;const i=new IntersectionObserver(([s])=>{t(s)},l);return i.observe(e.current),()=>{i.disconnect()}},[t,l,r.disabled,e])}function p8(e){const t=y.useRef(null);return y.useImperativeHandle(e,()=>t.current,[]),t}const vy=!1;function Do(e){return e[e.length-1]}function g8(e){return typeof e=="function"}function qa(e,t){return g8(e)?e(t):e}const yy=Object.prototype.hasOwnProperty,Fg=Object.prototype.propertyIsEnumerable;function xy(e){for(const t in e)if(yy.call(e,t))return!0;return!1}const b8=()=>Object.create(null),Ua=(e,t)=>Ya(e,t,b8);function Ya(e,t,l=()=>({}),r=0){if(e===t)return e;if(r>500)return t;const i=t,s=Gg(e)&&Gg(i);if(!s&&!(Vc(e)&&Vc(i)))return i;const u=s?e:Vg(e);if(!u)return i;const f=s?i:Vg(i);if(!f)return i;const d=u.length,h=f.length,p=s?new Array(h):l();let b=0;for(let v=0;v<h;v++){const w=s?v:f[v],x=e[w],T=i[w];if(x===T){p[w]=x,(s?v<d:yy.call(e,w))&&b++;continue}if(x===null||T===null||typeof x!="object"||typeof T!="object"){p[w]=T;continue}const C=Ya(x,T,l,r+1);p[w]=C,C===x&&b++}return d===h&&b===d?e:p}function Vg(e){const t=Object.getOwnPropertyNames(e);for(const i of t)if(!Fg.call(e,i))return!1;const l=Object.getOwnPropertySymbols(e);if(l.length===0)return t;const r=t;for(const i of l){if(!Fg.call(e,i))return!1;r.push(i)}return r}function Vc(e){if(!_g(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const l=t.prototype;return!(!_g(l)||!l.hasOwnProperty("isPrototypeOf"))}function _g(e){return Object.prototype.toString.call(e)==="[object Object]"}function Gg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Za(e,t,l){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!Za(e[r],t[r],l))return!1;return!0}if(Vc(e)&&Vc(t)){const r=(l==null?void 0:l.ignoreUndefined)??!0;if(l!=null&&l.partial){for(const u in t)if((!r||t[u]!==void 0)&&!Za(e[u],t[u],l))return!1;return!0}let i=0;if(!r)i=Object.keys(e).length;else for(const u in e)e[u]!==void 0&&i++;let s=0;for(const u in t)if((!r||t[u]!==void 0)&&(s++,s>i||!Za(e[u],t[u],l)))return!1;return i===s}return!1}function pi(e){let t,l;const r=new Promise((i,s)=>{t=i,l=s});return r.status="pending",r.resolve=i=>{r.status="resolved",r.value=i,t(i),e==null||e(i)},r.reject=i=>{r.status="rejected",l(i)},r}function v8(e){return typeof(e==null?void 0:e.message)!="string"?!1:e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed")}function $o(e){return!!(e&&typeof e=="object"&&typeof e.then=="function")}const y8=/[\x00-\x1f\x7f"<>`{}]/g;function x8(e){return e.replace(y8,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function qg(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,l=>{try{return decodeURI(l)}catch{return l}})}return x8(t)}const S8=["http:","https:","mailto:","tel:"];function _c(e,t){if(!e)return!1;try{const l=new URL(e);return!t.has(l.protocol)}catch{return!1}}function bo(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};const t=/%25|%5C/gi;let l=0,r="",i;for(;(i=t.exec(e))!==null;)r+=qg(e.slice(l,i.index))+i[0],l=t.lastIndex;r=r+qg(l?e.slice(l):e);let s=!1;return r.startsWith("//")&&(s=!0,r="/"+r.replace(/^\/+/,"")),{path:r,handledProtocolRelativeURL:s}}function w8(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function E8(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(e[l]!==t[l])return!1;return!0}function Rl(){throw new Error("Invariant failed")}function zo(e){const t=new Map;let l,r;const i=s=>{s.next&&(s.prev?(s.prev.next=s.next,s.next.prev=s.prev,s.next=void 0,r&&(r.next=s,s.prev=r)):(s.next.prev=void 0,l=s.next,s.next=void 0,r&&(s.prev=r,r.next=s)),r=s)};return{get(s){const u=t.get(s);if(u)return i(u),u.value},set(s,u){if(t.size>=e&&l){const d=l;t.delete(d.key),d.next&&(l=d.next,d.next.prev=void 0),d===r&&(r=void 0)}const f=t.get(s);if(f)f.value=u,i(f);else{const d={key:s,value:u,prev:r};r&&(r.next=d),r=d,l||(l=d),t.set(s,d)}},clear(){t.clear(),l=void 0,r=void 0}}}const ua=4,Sy=5;function C8(e){const t=e.indexOf("{");if(t===-1)return null;const l=e.indexOf("}",t);return l===-1||t+1>=e.length?null:[t,l]}function wy(e,t,l=new Uint16Array(6)){const r=e.indexOf("/",t),i=r===-1?e.length:r,s=e.substring(t,i);if(!s||!s.includes("$"))return l[0]=0,l[1]=t,l[2]=t,l[3]=i,l[4]=i,l[5]=i,l;if(s==="$"){const f=e.length;return l[0]=2,l[1]=t,l[2]=t,l[3]=f,l[4]=f,l[5]=f,l}if(s.charCodeAt(0)===36)return l[0]=1,l[1]=t,l[2]=t+1,l[3]=i,l[4]=i,l[5]=i,l;const u=C8(s);if(u){const[f,d]=u,h=s.charCodeAt(f+1);if(h===45){if(f+2<s.length&&s.charCodeAt(f+2)===36){const p=f+3,b=d;if(p<b)return l[0]=3,l[1]=t+f,l[2]=t+p,l[3]=t+b,l[4]=t+d+1,l[5]=i,l}}else if(h===36){const p=f+1,b=f+2;return b===d?(l[0]=2,l[1]=t+f,l[2]=t+p,l[3]=t+b,l[4]=t+d+1,l[5]=e.length,l):(l[0]=1,l[1]=t+f,l[2]=t+b,l[3]=t+d,l[4]=t+d+1,l[5]=i,l)}}return l[0]=0,l[1]=t,l[2]=t,l[3]=i,l[4]=i,l[5]=i,l}function gu(e,t,l,r,i,s,u){var d,h,p,b,v,w,x,T,C,N;u==null||u(l);let f=r;{const M=l.fullPath??l.from,L=M.length,k=((d=l.options)==null?void 0:d.caseSensitive)??e,B=((p=(h=l.options)==null?void 0:h.params)==null?void 0:p.parse)??((b=l.options)==null?void 0:b.parseParams);for(;f<L;){const $=wy(M,f,t);let A;const U=f,K=$[5];switch(f=K+1,s++,$[0]){case 0:{const q=M.substring($[2],$[3]);if(k){const te=(v=i.static)==null?void 0:v.get(q);if(te)A=te;else{i.static??(i.static=new Map);const ne=Xa(l.fullPath??l.from);ne.parent=i,ne.depth=s,A=ne,i.static.set(q,ne)}}else{const te=q.toLowerCase(),ne=(w=i.staticInsensitive)==null?void 0:w.get(te);if(ne)A=ne;else{i.staticInsensitive??(i.staticInsensitive=new Map);const j=Xa(l.fullPath??l.from);j.parent=i,j.depth=s,A=j,i.staticInsensitive.set(te,j)}}break}case 1:{const q=M.substring(U,$[1]),te=M.substring($[4],K),ne=k&&!!(q||te),j=q?ne?q:q.toLowerCase():void 0,Y=te?ne?te:te.toLowerCase():void 0,z=!B&&((x=i.dynamic)==null?void 0:x.find(O=>!O.parse&&O.caseSensitive===ne&&O.prefix===j&&O.suffix===Y));if(z)A=z;else{const O=a0(1,l.fullPath??l.from,ne,j,Y);A=O,O.depth=s,O.parent=i,i.dynamic??(i.dynamic=[]),i.dynamic.push(O)}break}case 3:{const q=M.substring(U,$[1]),te=M.substring($[4],K),ne=k&&!!(q||te),j=q?ne?q:q.toLowerCase():void 0,Y=te?ne?te:te.toLowerCase():void 0,z=!B&&((T=i.optional)==null?void 0:T.find(O=>!O.parse&&O.caseSensitive===ne&&O.prefix===j&&O.suffix===Y));if(z)A=z;else{const O=a0(3,l.fullPath??l.from,ne,j,Y);A=O,O.parent=i,O.depth=s,i.optional??(i.optional=[]),i.optional.push(O)}break}case 2:{const q=M.substring(U,$[1]),te=M.substring($[4],K),ne=k&&!!(q||te),j=q?ne?q:q.toLowerCase():void 0,Y=te?ne?te:te.toLowerCase():void 0,z=a0(2,l.fullPath??l.from,ne,j,Y);A=z,z.parent=i,z.depth=s,i.wildcard??(i.wildcard=[]),i.wildcard.push(z)}}i=A}if(B&&l.children&&!l.isRoot&&l.id&&l.id.charCodeAt(l.id.lastIndexOf("/")+1)===95){const $=Xa(l.fullPath??l.from);$.kind=Sy,$.parent=i,s++,$.depth=s,i.pathless??(i.pathless=[]),i.pathless.push($),i=$}const G=(l.path||!l.children)&&!l.isRoot;if(G&&M.endsWith("/")){const $=Xa(l.fullPath??l.from);$.kind=ua,$.parent=i,s++,$.depth=s,i.index=$,i=$}i.parse=B??null,i.priority=((N=(C=l.options)==null?void 0:C.params)==null?void 0:N.priority)??0,G&&!i.route&&(i.route=l,i.fullPath=l.fullPath??l.from)}if(l.children)for(const M of l.children)gu(e,t,M,f,i,s,u)}function l0(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function sa(e){var t,l,r;if(e.pathless)for(const i of e.pathless)sa(i);if(e.static)for(const i of e.static.values())sa(i);if(e.staticInsensitive)for(const i of e.staticInsensitive.values())sa(i);if((t=e.dynamic)!=null&&t.length){e.dynamic.sort(l0);for(const i of e.dynamic)sa(i)}if((l=e.optional)!=null&&l.length){e.optional.sort(l0);for(const i of e.optional)sa(i)}if((r=e.wildcard)!=null&&r.length){e.wildcard.sort(l0);for(const i of e.wildcard)sa(i)}}function Xa(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function a0(e,t,l,r,i){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:l,prefix:r,suffix:i}}function T8(e,t){const l=Xa("/"),r=new Uint16Array(6);for(const i of e)gu(!1,r,i,1,l,0);sa(l),t.masksTree=l,t.flatCache=zo(1e3)}function R8(e,t){e||(e="/");const l=t.flatCache.get(e);if(l)return l;const r=$h(e,t.masksTree);return t.flatCache.set(e,r),r}function M8(e,t,l,r,i){e||(e="/"),r||(r="/");const s=t?`case\0${e}`:e;let u=i.singleCache.get(s);return u||(u=Xa("/"),gu(t,new Uint16Array(6),{from:e},1,u,0),i.singleCache.set(s,u)),$h(r,u,l)}function A8(e,t,l=!1){const r=l?e:`nofuzz\0${e}`,i=t.matchCache.get(r);if(i!==void 0)return i;e||(e="/");let s;try{s=$h(e,t.segmentTree,l)}catch(u){if(u instanceof URIError)s=null;else throw u}return s&&(s.branch=Cy(s.route)),t.matchCache.set(r,s),s}function L8(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function k8(e,t=!1,l){const r=Xa(e.fullPath),i=new Uint16Array(6),s={},u={};let f=0;return gu(t,i,e,1,r,0,d=>{if(l==null||l(d,f),d.id in s&&Rl(),s[d.id]=d,f!==0&&d.path){const h=L8(d.fullPath);(!u[h]||d.fullPath.endsWith("/"))&&(u[h]=d)}f++}),sa(r),{processedTree:{segmentTree:r,singleCache:zo(1e3),matchCache:zo(1e3),flatCache:null,masksTree:null},routesById:s,routesByPath:u}}function $h(e,t,l=!1){const r=e.split("/"),i=D8(e,r,t,l);if(!i)return null;const[s]=Ey(e,r,i);return{route:i.node.route,rawParams:s}}function Ey(e,t,l){var p,b,v,w,x,T,C,N,M,L;const r=N8(l.node);let i=null;const s=Object.create(null);let u=((p=l.extract)==null?void 0:p.part)??0,f=((b=l.extract)==null?void 0:b.node)??0,d=((v=l.extract)==null?void 0:v.path)??0,h=((w=l.extract)==null?void 0:w.segment)??0;for(;f<r.length;u++,f++,d++,h++){const k=r[f];if(k.kind===ua)break;if(k.kind===Sy){h--,u--,d--;continue}const B=t[u],G=d;if(B&&(d+=B.length),k.kind===1){i??(i=l.node.fullPath.split("/"));const $=i[h],A=((x=k.prefix)==null?void 0:x.length)??0;if($.charCodeAt(A)===123){const U=((T=k.suffix)==null?void 0:T.length)??0,K=$.substring(A+2,$.length-U-1),q=B.substring(A,B.length-U);s[K]=decodeURIComponent(q)}else{const U=$.substring(1);s[U]=decodeURIComponent(B)}}else if(k.kind===3){if(l.skipped&1<<f){u--,d=G-1;continue}i??(i=l.node.fullPath.split("/"));const $=i[h],A=((C=k.prefix)==null?void 0:C.length)??0,U=((N=k.suffix)==null?void 0:N.length)??0,K=$.substring(A+3,$.length-U-1),q=k.suffix||k.prefix?B.substring(A,B.length-U):B;q&&(s[K]=decodeURIComponent(q))}else if(k.kind===2){const $=k,A=e.substring(G+(((M=$.prefix)==null?void 0:M.length)??0),e.length-(((L=$.suffix)==null?void 0:L.length)??0)),U=decodeURIComponent(A);s["*"]=U,s._splat=U;break}}return l.rawParams&&Object.assign(s,l.rawParams),[s,{part:u,node:f,path:d,segment:h}]}function Cy(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function N8(e){const t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function D8(e,t,l,r){if(e==="/"&&l.index)return{node:l.index,skipped:0};const i=!Do(t),s=i&&e!=="/",u=t.length-(i?1:0),f=[{node:l,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let d=null,h=null;for(;f.length;){const p=f.pop(),{node:b,index:v,skipped:w,depth:x,statics:T,dynamics:C,optionals:N}=p;let{extract:M,rawParams:L}=p;if(b.kind===2&&b.route&&!gc(h,p))continue;if(b.parse){if(!Yg(e,t,p))continue;L=p.rawParams,M=p.extract}r&&b.route&&b.kind!==ua&&gc(d,p)&&(d=p);const k=v===u;if(k&&(b.route&&(!s||b.kind===ua||b.kind===2)&&gc(h,p)&&(h=p),!b.optional&&!b.wildcard&&!b.index&&!b.pathless))continue;const B=k?void 0:t[v];let G;if(k&&b.index){const $={node:b.index,index:v,skipped:w,depth:x+1,statics:T,dynamics:C,optionals:N,extract:M,rawParams:L};let A=!0;if(b.index.parse&&(Yg(e,t,$)||(A=!1)),A){if(!C&&!N&&!w&&$8(T,u))return $;gc(h,$)&&(h=$)}}if(b.wildcard)for(let $=b.wildcard.length-1;$>=0;$--){const A=b.wildcard[$],{prefix:U,suffix:K}=A;if(!(U&&(k||!(A.caseSensitive?B:G??(G=B.toLowerCase())).startsWith(U)))){if(K){if(k)continue;const q=t.slice(v).join("/").slice(-K.length);if((A.caseSensitive?q:q.toLowerCase())!==K)continue}f.push({node:A,index:u,skipped:w,depth:x+1,statics:T,dynamics:C,optionals:N,extract:M,rawParams:L})}}if(b.optional){const $=w|1<<x,A=x+1;for(let U=b.optional.length-1;U>=0;U--){const K=b.optional[U];f.push({node:K,index:v,skipped:$,depth:A,statics:T,dynamics:C,optionals:N,extract:M,rawParams:L})}if(!k)for(let U=b.optional.length-1;U>=0;U--){const K=b.optional[U],{prefix:q,suffix:te}=K;if(q||te){const ne=K.caseSensitive?B:G??(G=B.toLowerCase());if(q&&!ne.startsWith(q)||te&&!ne.endsWith(te))continue}f.push({node:K,index:v+1,skipped:w,depth:A,statics:T,dynamics:C,optionals:N+pc(u,v),extract:M,rawParams:L})}}if(!k&&b.dynamic&&B)for(let $=b.dynamic.length-1;$>=0;$--){const A=b.dynamic[$],{prefix:U,suffix:K}=A;if(U||K){const q=A.caseSensitive?B:G??(G=B.toLowerCase());if(U&&!q.startsWith(U)||K&&!q.endsWith(K))continue}f.push({node:A,index:v+1,skipped:w,depth:x+1,statics:T,dynamics:C+pc(u,v),optionals:N,extract:M,rawParams:L})}if(!k&&b.staticInsensitive){const $=b.staticInsensitive.get(G??(G=B.toLowerCase()));$&&f.push({node:$,index:v+1,skipped:w,depth:x+1,statics:T+pc(u,v),dynamics:C,optionals:N,extract:M,rawParams:L})}if(!k&&b.static){const $=b.static.get(B);$&&f.push({node:$,index:v+1,skipped:w,depth:x+1,statics:T+pc(u,v),dynamics:C,optionals:N,extract:M,rawParams:L})}if(b.pathless){const $=x+1;for(let A=b.pathless.length-1;A>=0;A--){const U=b.pathless[A];f.push({node:U,index:v,skipped:w,depth:$,statics:T,dynamics:C,optionals:N,extract:M,rawParams:L})}}}if(h)return h;if(r&&d){let p=d.index;for(let v=0;v<d.index;v++)p+=t[v].length;const b=p===e.length?"/":e.slice(p);return d.rawParams??(d.rawParams=Object.create(null)),d.rawParams["**"]=decodeURIComponent(b),d}return null}function pc(e,t){return 2**(e-t-1)}function $8(e,t){return e===2**(t-1)-1}function Yg(e,t,l){let r,i;try{[r,i]=Ey(e,t,l)}catch{return null}if(l.rawParams=r,l.extract=i,!l.node.parse)return!0;try{if(l.node.parse(r)===!1)return null}catch{}return!0}function gc(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===ua)>(e.node.kind===ua)||t.node.kind===ua==(e.node.kind===ua)&&t.depth>e.depth))):!0}function Pc(e){return zh(e.filter(t=>t!==void 0).join("/"))}function zh(e){return e.replace(/\/{2,}/g,"/")}function Ty(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Tl(e){const t=e.length;return t>1&&e[t-1]==="/"?e.replace(/\/{1,}$/,""):e}function Ry(e){return Tl(Ty(e))}function Gc(e,t){return e!=null&&e.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function z8(e,t,l){return Gc(e,l)===Gc(t,l)}function P8({base:e,to:t,trailingSlash:l="never",cache:r}){const i=t.startsWith("/"),s=!i&&t===".";let u;if(r){u=i?t:s?e:e+"\0"+t;const h=r.get(u);if(h)return h}let f;if(s)f=e.split("/");else if(i)f=t.split("/");else{for(f=e.split("/");f.length>1&&Do(f)==="";)f.pop();const h=t.split("/");for(let p=0,b=h.length;p<b;p++){const v=h[p];v===""?p?p===b-1&&f.push(v):f=[v]:v===".."?f.pop():v==="."||f.push(v)}}f.length>1&&(Do(f)===""?l==="never"&&f.pop():l==="always"&&f.push(""));const d=zh(f.join("/"))||"/";return u&&r&&r.set(u,d),d}function O8(e){const t=new Map(e.map(i=>[encodeURIComponent(i),i])),l=Array.from(t.keys()).map(i=>i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),r=new RegExp(l,"g");return i=>i.replace(r,s=>t.get(s)??s)}function r0(e,t,l){const r=t[e];return typeof r!="string"?r:e==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split("/").map(i=>Wg(i,l)).join("/"):Wg(r,l)}function Xg({path:e,params:t,decoder:l,...r}){let i=!1;const s=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:s,isMissingParams:i};if(!e.includes("$"))return{interpolatedPath:e,usedParams:s,isMissingParams:i};const u=e.length;let f=0,d,h="";for(;f<u;){const p=f;d=wy(e,p,d);const b=d[5];if(f=b+1,p===b)continue;const v=d[0];if(v===0){h+="/"+e.substring(p,b);continue}if(v===2){const w=t._splat;s._splat=w,s["*"]=w;const x=e.substring(p,d[1]),T=e.substring(d[4],b);if(!w){i=!0,(x||T)&&(h+="/"+x+T);continue}const C=r0("_splat",t,l);h+="/"+x+C+T;continue}if(v===1){const w=e.substring(d[2],d[3]);!i&&!(w in t)&&(i=!0),s[w]=t[w];const x=e.substring(p,d[1]),T=e.substring(d[4],b),C=r0(w,t,l)??"undefined";h+="/"+x+C+T;continue}if(v===3){const w=e.substring(d[2],d[3]),x=t[w];if(x==null)continue;s[w]=x;const T=e.substring(p,d[1]),C=e.substring(d[4],b),N=r0(w,t,l)??"";h+="/"+T+N+C;continue}}return e.endsWith("/")&&(h+="/"),{usedParams:s,interpolatedPath:h||"/",isMissingParams:i}}function Wg(e,t){const l=encodeURIComponent(e);return(t==null?void 0:t(l))??l}function Ht(e){return(e==null?void 0:e.isNotFound)===!0}function j8(){try{return sessionStorage}catch{return}}const I8="tsr-scroll-restoration-v1_3",si=j8();function B8(){try{return JSON.parse((si==null?void 0:si.getItem("tsr-scroll-restoration-v1_3"))||"{}")}catch{return{}}}function H8(){try{si==null||si.setItem(I8,JSON.stringify(oa))}catch{}}const oa=B8(),Zg="data-scroll-restoration-id",K8=e=>e.state.__TSR_key||e.href;function U8(e){const t=e.getAttribute(Zg);if(t)return`[${Zg}="${t}"]`;let l="",r=e,i;for(;i=r.parentNode;){let s=1,u=r;for(;u=u.previousElementSibling;)s++;const f=`${r.localName}:nth-child(${s})`;l=l?`${f} > ${l}`:f,r=i}return l}let bc=!1;const Oc="window";function U0(e){try{return typeof e=="function"?e():document.querySelector(e)}catch{}}function Qg(e){const t=new Set;for(const l of e){if(l===Oc)continue;const r=U0(l);r&&t.add(r)}return t}function F8(e,t){const l=e.options.scrollRestoration,r=e._scroll;l&&(r.restoring=!0);const i=e.options.getScrollRestorationKey||K8,s=new Set,u=f=>{const d=oa[f]||(oa[f]={});for(const h of s)h===document?d[Oc]={scrollX,scrollY}:h.isConnected&&(d[U8(h)]={scrollX:h.scrollLeft,scrollY:h.scrollTop})};l&&!r.restoration&&(r.restoration=!0,bc=!1,history.scrollRestoration="manual",document.addEventListener("scroll",f=>{bc||s.add(f.target)},!0),e.subscribe("onBeforeLoad",f=>{f.fromLocation&&u(i(f.fromLocation)),s.clear()}),addEventListener("pagehide",()=>{u(i(e.stores.resolvedLocation.get()??e.stores.location.get())),H8()})),!r.reset&&(r.reset=!0,e.subscribe("onRendered",f=>{var T;const d=e.options.scrollRestorationBehavior,h=e.options.scrollToTopSelectors,p=r.next,b=r.hash;let v;if(s.clear(),r.next=!0,r.hash=!1,typeof e.options.scrollRestoration=="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;const w=i(f.toLocation),x=f.fromLocation&&i(f.fromLocation);if(r.restoring&&x&&x!==w){const C=oa[x];if(C){let N=oa[w];for(const M in C){if(M===Oc){if(p)continue}else{const L=U0(M);if(!L||p&&h&&(v??(v=Qg(h)),v.has(L)))continue}N||(N=oa[w]={}),N[M]??(N[M]=C[M])}}}bc=!0;try{const C=f.toLocation.hash,N=f.toLocation.state.__hashScrollIntoViewOptions??!0;let M=!1;if(p){!C&&h&&(v??(v=Qg(h)));const L=C&&N&&b,k=r.restoring?oa[w]:void 0;if(k)for(const B in k){const{scrollX:G,scrollY:$}=k[B];if(B===Oc){if(L)continue;scrollTo({top:$,left:G,behavior:d}),M=!0}else{const A=U0(B);A&&(A.scrollLeft=G,A.scrollTop=$,v==null||v.delete(A))}}if(!C){const B={top:0,left:0,behavior:d};if(M||scrollTo(B),v)for(const G of v)G.scrollTo(B)}}!M&&C&&N&&((T=document.getElementById(C))==null||T.scrollIntoView(N))}finally{bc=!1}}))}function V8(e,t=String){const l=new URLSearchParams;for(const r in e){const i=e[r];i!==void 0&&l.set(r,t(i))}return l.toString()}function i0(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function _8(e){const t=new URLSearchParams(e),l=Object.create(null);for(const[r,i]of t.entries()){const s=l[r];s==null?l[r]=i0(i):Array.isArray(s)?s.push(i0(i)):l[r]=[s,i0(i)]}return l}const G8=Y8(JSON.parse),q8=X8(JSON.stringify,JSON.parse);function Y8(e){return t=>{t[0]==="?"&&(t=t.substring(1));const l=_8(t);for(const r in l){const i=l[r];if(typeof i=="string")try{l[r]=e(i)}catch{}}return l}}function X8(e,t){const l=typeof t=="function";function r(i){if(typeof i=="object"&&i!==null)try{return e(i)}catch{}else if(l&&typeof i=="string")try{return t(i),e(i)}catch{}return i}return i=>{const s=V8(i,r);return s?`?${s}`:""}}const Qa="__root__";function bu(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href=="string")try{new URL(e.href),e.reloadDocument=!0}catch{}const t=new Headers(e.headers);e.href&&t.get("Location")===null&&t.set("Location",e.href);const l=new Response(null,{status:e.statusCode,headers:t});if(l.options=e,e.throw)throw l;return l}function tn(e){return e instanceof Response&&!!e.options}function W8(e){return{input:({url:t})=>{for(const l of e)t=F0(l,t);return t},output:({url:t})=>{for(let l=e.length-1;l>=0;l--)t=My(e[l],t);return t}}}function Z8(e){const t=Ry(e.basepath),l=`/${t}`,r=e.caseSensitive?l:l.toLowerCase(),i=`${r}/`;return{input:({url:s})=>{const u=e.caseSensitive?s.pathname:s.pathname.toLowerCase();return u===r?s.pathname="/":u.startsWith(i)&&(s.pathname=s.pathname.slice(l.length)),s},output:({url:s})=>(s.pathname=Pc(["/",t,s.pathname]),s)}}function F0(e,t){var r;const l=(r=e==null?void 0:e.input)==null?void 0:r.call(e,{url:t});if(l){if(typeof l=="string")return new URL(l);if(l instanceof URL)return l}return t}function My(e,t){var r;const l=(r=e==null?void 0:e.output)==null?void 0:r.call(e,{url:t});if(l){if(typeof l=="string")return new URL(l);if(l instanceof URL)return l}return t}function Q8(e,t){const{createMutableStore:l,createReadonlyStore:r,batch:i,init:s}=t,u=new Map,f=new Map,d=new Map,h=l(e.status),p=l(e.loadedAt),b=l(e.isLoading),v=l(e.isTransitioning),w=l(e.location),x=l(e.resolvedLocation),T=l(e.statusCode),C=l(e.redirect),N=l([]),M=l([]),L=l([]),k=r(()=>o0(u,N.get())),B=r(()=>o0(f,M.get())),G=r(()=>o0(d,L.get())),$=r(()=>N.get()[0]),A=r(()=>N.get().some(O=>{var oe;return((oe=u.get(O))==null?void 0:oe.get().status)==="pending"})),U=r(()=>{var O;return{locationHref:w.get().href,resolvedLocationHref:(O=x.get())==null?void 0:O.href,status:h.get()}}),K=r(()=>({status:h.get(),loadedAt:p.get(),isLoading:b.get(),isTransitioning:v.get(),matches:k.get(),location:w.get(),resolvedLocation:x.get(),statusCode:T.get(),redirect:C.get()})),q=zo(64);function te(O){let oe=q.get(O);return oe||(oe=r(()=>{const J=N.get();for(const _ of J){const D=u.get(_);if(D&&D.routeId===O)return D.get()}}),q.set(O,oe)),oe}const ne={status:h,loadedAt:p,isLoading:b,isTransitioning:v,location:w,resolvedLocation:x,statusCode:T,redirect:C,matchesId:N,pendingIds:M,cachedIds:L,matches:k,pendingMatches:B,cachedMatches:G,firstId:$,hasPending:A,matchRouteDeps:U,matchStores:u,pendingMatchStores:f,cachedMatchStores:d,__store:K,getRouteMatchStore:te,setMatches:j,setPending:Y,setCached:z};j(e.matches),s==null||s(ne);function j(O){s0(O,u,N,l,i)}function Y(O){s0(O,f,M,l,i)}function z(O){s0(O,d,L,l,i)}return ne}function o0(e,t){const l=[];for(const r of t){const i=e.get(r);i&&l.push(i.get())}return l}function s0(e,t,l,r,i){const s=e.map(f=>f.id),u=new Set(s);i(()=>{for(const f of t.keys())u.has(f)||t.delete(f);for(const f of e){const d=t.get(f.id);if(!d){const h=r(f);h.routeId=f.routeId,t.set(f.id,h);continue}d.routeId=f.routeId,d.get()!==f&&d.set(f)}E8(l.get(),s)||l.set(s)})}const V0=e=>{var t;if(!e.rendered)return e.rendered=!0,(t=e.onReady)==null?void 0:t.call(e)},J8=e=>e.stores.matchesId.get().some(t=>{var l;return(l=e.stores.matchStores.get(t))==null?void 0:l.get()._forcePending}),vu=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),Ja=(e,t,l=!0)=>{const r={...e.router.options.context??{}},i=l?t:t-1;for(let s=0;s<=i;s++){const u=e.matches[s];if(!u)continue;const f=e.router.getMatch(u.id);f&&Object.assign(r,f.__routeContext,f.__beforeLoadContext)}return r},Jg=(e,t)=>{if(!e.matches.length)return;const l=t.routeId,r=e.matches.findIndex(u=>u.routeId===e.router.routeTree.id),i=r>=0?r:0;let s=l?e.matches.findIndex(u=>u.routeId===l):e.firstBadMatchIndex??e.matches.length-1;s<0&&(s=i);for(let u=s;u>=0;u--){const f=e.matches[u];if(e.router.looseRoutesById[f.routeId].options.notFoundComponent)return u}return l?s:i},fa=(e,t,l)=>{var r,i,s;if(!(!tn(l)&&!Ht(l)))throw tn(l)&&l.redirectHandled&&!l.options.reloadDocument||(t&&((r=t._nonReactive.beforeLoadPromise)==null||r.resolve(),(i=t._nonReactive.loaderPromise)==null||i.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=l,e.updateMatch(t.id,u=>({...u,status:tn(l)?"redirected":Ht(l)?"notFound":u.status==="pending"?"success":u.status,context:Ja(e,t.index),isFetching:!1,error:l})),Ht(l)&&!l.routeId&&(l.routeId=t.routeId),(s=t._nonReactive.loadPromise)==null||s.resolve()),tn(l)&&(e.rendered=!0,l.options._fromLocation=e.location,l.redirectHandled=!0,l=e.router.resolveRedirect(l))),l},Ay=(e,t)=>{const l=e.router.getMatch(t);return!!(!l||l._nonReactive.dehydrated)},eb=(e,t,l)=>{const r=Ja(e,l);e.updateMatch(t,i=>({...i,context:r}))},vo=(e,t,l)=>{var u,f;const{id:r,routeId:i}=e.matches[t],s=e.router.looseRoutesById[i];if(l instanceof Promise)throw l;e.firstBadMatchIndex??(e.firstBadMatchIndex=t),fa(e,e.router.getMatch(r),l);try{(f=(u=s.options).onError)==null||f.call(u,l)}catch(d){l=d,fa(e,e.router.getMatch(r),l)}e.updateMatch(r,d=>{var h,p;return(h=d._nonReactive.beforeLoadPromise)==null||h.resolve(),d._nonReactive.beforeLoadPromise=void 0,(p=d._nonReactive.loadPromise)==null||p.resolve(),{...d,error:l,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController}}),!e.preload&&!tn(l)&&!Ht(l)&&(e.serialError??(e.serialError=l))},Ly=(e,t,l,r)=>{var s;if(r._nonReactive.pendingTimeout!==void 0)return;const i=l.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!vu(e,t)&&(l.options.loader||l.options.beforeLoad||Ny(l))&&typeof i=="number"&&i!==1/0&&(l.options.pendingComponent??((s=e.router.options)==null?void 0:s.defaultPendingComponent))){const u=setTimeout(()=>{V0(e)},i);r._nonReactive.pendingTimeout=u}},e9=(e,t,l)=>{const r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;Ly(e,t,l,r);const i=()=>{const s=e.router.getMatch(t);s.preload&&(s.status==="redirected"||s.status==="notFound")&&fa(e,s,s.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},t9=(e,t,l,r)=>{const i=e.router.getMatch(t);let s=i._nonReactive.loadPromise;i._nonReactive.loadPromise=pi(()=>{s==null||s.resolve(),s=void 0});const{paramsError:u,searchError:f}=i;u&&vo(e,l,u),f&&vo(e,l,f),Ly(e,t,r,i);const d=new AbortController;let h=!1;const p=()=>{h||(h=!0,e.updateMatch(t,k=>({...k,isFetching:"beforeLoad",fetchCount:k.fetchCount+1,abortController:d})))},b=()=>{var k;(k=i._nonReactive.beforeLoadPromise)==null||k.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,B=>({...B,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{p(),b()});return}i._nonReactive.beforeLoadPromise=pi();const v={...Ja(e,l,!1),...i.__routeContext},{search:w,params:x,cause:T}=i,C=vu(e,t),N={search:w,abortController:d,params:x,preload:C,context:v,location:e.location,navigate:k=>e.router.navigate({...k,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:C?"preload":T,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},M=k=>{if(k===void 0){e.router.batch(()=>{p(),b()});return}(tn(k)||Ht(k))&&(p(),vo(e,l,k)),e.router.batch(()=>{p(),e.updateMatch(t,B=>({...B,__beforeLoadContext:k})),b()})};let L;try{if(L=r.options.beforeLoad(N),$o(L))return p(),L.catch(k=>{vo(e,l,k)}).then(M)}catch(k){p(),vo(e,l,k)}M(L)},n9=(e,t)=>{const{id:l,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],s=()=>f(),u=()=>t9(e,l,t,i),f=()=>{if(Ay(e,l))return;const d=e9(e,l,i);return $o(d)?d.then(u):u()};return s()},l9=(e,t,l)=>{var s,u,f,d,h,p;const r=e.router.getMatch(t);if(!r||!l.options.head&&!l.options.scripts&&!l.options.headers)return;const i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([(u=(s=l.options).head)==null?void 0:u.call(s,i),(d=(f=l.options).scripts)==null?void 0:d.call(f,i),(p=(h=l.options).headers)==null?void 0:p.call(h,i)]).then(([b,v,w])=>({meta:b==null?void 0:b.meta,links:b==null?void 0:b.links,headScripts:b==null?void 0:b.scripts,headers:w,scripts:v,styles:b==null?void 0:b.styles}))},ky=(e,t,l,r,i)=>{const s=t[r-1],{params:u,loaderDeps:f,abortController:d,cause:h}=e.router.getMatch(l),p=Ja(e,r),b=vu(e,l);return{params:u,deps:f,preload:!!b,parentMatchPromise:s,abortController:d,context:p,location:e.location,navigate:v=>e.router.navigate({...v,_fromLocation:e.location}),cause:b?"preload":h,route:i,...e.router.options.additionalContext}},tb=async(e,t,l,r,i)=>{var s,u,f,d,h;try{const p=e.router.getMatch(l);try{(!(vy??e.router.isServer)||p.ssr===!0)&&Po(i);const b=i.options.loader,v=typeof b=="function"?b:b==null?void 0:b.handler,w=v==null?void 0:v(ky(e,t,l,r,i)),x=!!v&&$o(w);if((x||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||p._nonReactive.minPendingPromise)&&e.updateMatch(l,C=>({...C,isFetching:"loader"})),v){const C=x?await w:w;fa(e,e.router.getMatch(l),C),C!==void 0&&e.updateMatch(l,N=>({...N,loaderData:C}))}i._lazyPromise&&await i._lazyPromise;const T=p._nonReactive.minPendingPromise;T&&await T,i._componentsPromise&&await i._componentsPromise,e.updateMatch(l,C=>({...C,error:void 0,context:Ja(e,r),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(b){let v=b;if((v==null?void 0:v.name)==="AbortError"){if(p.abortController.signal.aborted){(s=p._nonReactive.loaderPromise)==null||s.resolve(),p._nonReactive.loaderPromise=void 0;return}e.updateMatch(l,x=>({...x,status:x.status==="pending"?"success":x.status,isFetching:!1,context:Ja(e,r)}));return}const w=p._nonReactive.minPendingPromise;w&&await w,Ht(b)&&await((f=(u=i.options.notFoundComponent)==null?void 0:u.preload)==null?void 0:f.call(u)),fa(e,e.router.getMatch(l),b);try{(h=(d=i.options).onError)==null||h.call(d,b)}catch(x){v=x,fa(e,e.router.getMatch(l),x)}!tn(v)&&!Ht(v)&&await Po(i,["errorComponent"]),e.updateMatch(l,x=>({...x,error:v,context:Ja(e,r),status:"error",isFetching:!1}))}}catch(p){const b=e.router.getMatch(l);b&&(b._nonReactive.loaderPromise=void 0),fa(e,b,p)}},a9=async(e,t,l)=>{var w,x,T,C;async function r(N,M,L,k,B){const G=Date.now()-M.updatedAt,$=N?B.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:B.options.staleTime??e.router.options.defaultStaleTime??0,A=B.options.shouldReload,U=typeof A=="function"?A(ky(e,t,i,l,B)):A,{status:K,invalid:q}=k,te=G>=$&&(!!e.forceStaleReload||k.cause==="enter"||L!==void 0&&L!==k.id);u=K==="success"&&(q||(U??te)),N&&B.options.preload===!1||(u&&!e.sync&&p?(f=!0,(async()=>{var ne,j;try{await tb(e,t,i,l,B);const Y=e.router.getMatch(i);(ne=Y._nonReactive.loaderPromise)==null||ne.resolve(),(j=Y._nonReactive.loadPromise)==null||j.resolve(),Y._nonReactive.loaderPromise=void 0,Y._nonReactive.loadPromise=void 0}catch(Y){tn(Y)&&await e.router.navigate(Y.options)}})()):K!=="success"||u?await tb(e,t,i,l,B):eb(e,i,l))}const{id:i,routeId:s}=e.matches[l];let u=!1,f=!1;const d=e.router.looseRoutesById[s],h=d.options.loader,p=((typeof h=="function"||h==null?void 0:h.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(Ay(e,i)){if(!e.router.getMatch(i))return e.matches[l];eb(e,i,l)}else{const N=e.router.getMatch(i),M=e.router.stores.matchesId.get()[l],L=((w=M&&e.router.stores.matchStores.get(M)||null)==null?void 0:w.routeId)===s?M:(x=e.router.stores.matches.get().find(B=>B.routeId===s))==null?void 0:x.id,k=vu(e,i);if(N._nonReactive.loaderPromise){if(N.status==="success"&&!e.sync&&!N.preload&&p)return N;await N._nonReactive.loaderPromise;const B=e.router.getMatch(i),G=B._nonReactive.error||B.error;G&&fa(e,B,G),B.status==="pending"&&await r(k,N,L,B,d)}else{const B=k&&!e.router.stores.matchStores.has(i),G=e.router.getMatch(i);G._nonReactive.loaderPromise=pi(),B!==G.preload&&e.updateMatch(i,$=>({...$,preload:B})),await r(k,N,L,G,d)}}const b=e.router.getMatch(i);f||((T=b._nonReactive.loaderPromise)==null||T.resolve(),(C=b._nonReactive.loadPromise)==null||C.resolve(),b._nonReactive.loadPromise=void 0),clearTimeout(b._nonReactive.pendingTimeout),b._nonReactive.pendingTimeout=void 0,f||(b._nonReactive.loaderPromise=void 0),b._nonReactive.dehydrated=void 0;const v=f?b.isFetching:!1;return v!==b.isFetching||b.invalid!==!1?(e.updateMatch(i,N=>({...N,isFetching:v,invalid:!1})),e.router.getMatch(i)):b};async function nb(e){var v,w;const t=e,l=[];J8(t.router)&&V0(t);let r;for(let x=0;x<t.matches.length;x++){try{const T=n9(t,x);$o(T)&&await T}catch(T){if(tn(T))throw T;if(Ht(T))r=T;else if(!t.preload)throw T;break}if(t.serialError||t.firstBadMatchIndex!=null)break}const i=t.firstBadMatchIndex??t.matches.length,s=r&&!t.preload?Jg(t,r):void 0,u=r&&t.preload?0:s!==void 0?Math.min(s+1,i):i;let f,d;for(let x=0;x<u;x++)l.push(a9(t,l,x));try{await Promise.all(l)}catch{const x=await Promise.allSettled(l);for(const T of x){if(T.status!=="rejected")continue;const C=T.reason;if(tn(C))throw C;Ht(C)?f??(f=C):d??(d=C)}if(d!==void 0)throw d}const h=f??(r&&!t.preload?r:void 0);let p=t.firstBadMatchIndex!==void 0?t.firstBadMatchIndex:t.matches.length-1;if(!h&&r&&t.preload)return t.matches;if(h){const x=Jg(t,h);x===void 0&&Rl();const T=t.matches[x],C=t.router.looseRoutesById[T.routeId],N=(v=t.router.options)==null?void 0:v.defaultNotFoundComponent;!C.options.notFoundComponent&&N&&(C.options.notFoundComponent=N),h.routeId=T.routeId;const M=T.routeId===t.router.routeTree.id;t.updateMatch(T.id,L=>({...L,...M?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:h},isFetching:!1})),p=x,await Po(C,["notFoundComponent"])}else if(!t.preload){const x=t.matches[0];x.globalNotFound||(w=t.router.getMatch(x.id))!=null&&w.globalNotFound&&t.updateMatch(x.id,T=>({...T,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){const x=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await Po(x,["errorComponent"])}for(let x=0;x<=p;x++){const{id:T,routeId:C}=t.matches[x],N=t.router.looseRoutesById[C];try{const M=l9(t,T,N);if(M){const L=await M;t.updateMatch(T,k=>({...k,...L}))}}catch(M){console.error(`Error executing head for route ${C}:`,M)}}const b=V0(t);if($o(b)&&await b,h)throw h;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function lb(e,t){const l=t.map(r=>{var i,s;return(s=(i=e.options[r])==null?void 0:i.preload)==null?void 0:s.call(i)}).filter(Boolean);if(l.length!==0)return Promise.all(l)}function Po(e,t=jc){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(r=>{const{id:i,...s}=r.options;Object.assign(e.options,s),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);const l=()=>e._componentsLoaded?void 0:t===jc?(()=>{if(e._componentsPromise===void 0){const r=lb(e,jc);r?e._componentsPromise=r.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():lb(e,t);return e._lazyPromise?e._lazyPromise.then(l):l()}function Ny(e){var t;for(const l of jc)if((t=e.options[l])!=null&&t.preload)return!0;return!1}const jc=["component","errorComponent","pendingComponent","notFoundComponent"];var ma="__TSR_index",ab="popstate",rb="beforeunload";function r9(e){let t=e.getLocation();const l=new Set,r=u=>{t=e.getLocation(),l.forEach(f=>f({location:t,action:u}))},i=u=>{e.notifyOnIndexChange??!0?r(u):t=e.getLocation()},s=async({task:u,navigateOpts:f,...d})=>{var b,v;if((f==null?void 0:f.ignoreBlocker)??!1){u();return}const h=((b=e.getBlockers)==null?void 0:b.call(e))??[],p=d.type==="PUSH"||d.type==="REPLACE";if(typeof document<"u"&&h.length&&p)for(const w of h){const x=qc(d.path,d.state);if(await w.blockerFn({currentLocation:t,nextLocation:x,action:d.type})){(v=e.onBlocked)==null||v.call(e);return}}u()};return{get location(){return t},get length(){return e.getLength()},subscribers:l,subscribe:u=>(l.add(u),()=>{l.delete(u)}),push:(u,f,d)=>{const h=t.state[ma];f=ib(h+1,f),s({task:()=>{e.pushState(u,f),r({type:"PUSH"})},navigateOpts:d,type:"PUSH",path:u,state:f})},replace:(u,f,d)=>{const h=t.state[ma];f=ib(h,f),s({task:()=>{e.replaceState(u,f),r({type:"REPLACE"})},navigateOpts:d,type:"REPLACE",path:u,state:f})},go:(u,f)=>{s({task:()=>{e.go(u),i({type:"GO",index:u})},navigateOpts:f,type:"GO"})},back:u=>{s({task:()=>{e.back((u==null?void 0:u.ignoreBlocker)??!1),i({type:"BACK"})},navigateOpts:u,type:"BACK"})},forward:u=>{s({task:()=>{e.forward((u==null?void 0:u.ignoreBlocker)??!1),i({type:"FORWARD"})},navigateOpts:u,type:"FORWARD"})},canGoBack:()=>t.state[ma]!==0,createHref:u=>e.createHref(u),block:u=>{var d;if(!e.setBlockers)return()=>{};const f=((d=e.getBlockers)==null?void 0:d.call(e))??[];return e.setBlockers([...f,u]),()=>{var p,b;const h=((p=e.getBlockers)==null?void 0:p.call(e))??[];(b=e.setBlockers)==null||b.call(e,h.filter(v=>v!==u))}},flush:()=>{var u;return(u=e.flush)==null?void 0:u.call(e)},destroy:()=>{var u;return(u=e.destroy)==null?void 0:u.call(e)},notify:r}}function ib(e,t){t||(t={});const l=Ph();return{...t,key:l,__TSR_key:l,[ma]:e}}function i9(e){var A,U;const t=typeof document<"u"?window:void 0,l=t.history.pushState,r=t.history.replaceState;let i=[];const s=()=>i,u=K=>i=K,f=(K=>K),d=(()=>qc(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!((A=t.history.state)!=null&&A.__TSR_key)&&!((U=t.history.state)!=null&&U.key)){const K=Ph();t.history.replaceState({[ma]:0,key:K,__TSR_key:K},"")}let h=d(),p,b=!1,v=!1,w=!1,x=!1;const T=()=>h;let C,N;const M=()=>{C&&($._ignoreSubscribers=!0,(C.isPush?t.history.pushState:t.history.replaceState)(C.state,"",C.href),$._ignoreSubscribers=!1,C=void 0,N=void 0,p=void 0)},L=(K,q,te)=>{const ne=f(q);N||(p=h),h=qc(q,te),C={href:ne,state:te,isPush:(C==null?void 0:C.isPush)||K==="push"},N||(N=Promise.resolve().then(()=>M()))},k=K=>{h=d(),$.notify({type:K})},B=async()=>{if(v){v=!1;return}const K=d(),q=K.state[ma]-h.state[ma],te=q===1,ne=q===-1,j=!te&&!ne||b;b=!1;const Y=j?"GO":ne?"BACK":"FORWARD",z=j?{type:"GO",index:q}:{type:ne?"BACK":"FORWARD"};if(w)w=!1;else{const O=s();if(typeof document<"u"&&O.length){for(const oe of O)if(await oe.blockerFn({currentLocation:h,nextLocation:K,action:Y})){v=!0,t.history.go(1),$.notify(z);return}}}h=d(),$.notify(z)},G=K=>{if(x){x=!1;return}let q=!1;const te=s();if(typeof document<"u"&&te.length)for(const ne of te){const j=ne.enableBeforeUnload??!0;if(j===!0){q=!0;break}if(typeof j=="function"&&j()===!0){q=!0;break}}if(q)return K.preventDefault(),K.returnValue=""},$=r9({getLocation:T,getLength:()=>t.history.length,pushState:(K,q)=>L("push",K,q),replaceState:(K,q)=>L("replace",K,q),back:K=>(K&&(w=!0),x=!0,t.history.back()),forward:K=>{K&&(w=!0),x=!0,t.history.forward()},go:K=>{b=!0,t.history.go(K)},createHref:K=>f(K),flush:M,destroy:()=>{t.history.pushState=l,t.history.replaceState=r,t.removeEventListener(rb,G,{capture:!0}),t.removeEventListener(ab,B)},onBlocked:()=>{p&&h!==p&&(h=p)},getBlockers:s,setBlockers:u,notifyOnIndexChange:!1});return t.addEventListener(rb,G,{capture:!0}),t.addEventListener(ab,B),t.history.pushState=function(...K){const q=l.apply(t.history,K);return $._ignoreSubscribers||k("PUSH"),q},t.history.replaceState=function(...K){const q=r.apply(t.history,K);return $._ignoreSubscribers||k("REPLACE"),q},$}function o9(e){let t=e.replace(/[\x00-\x1f\x7f]/g,"");return t.startsWith("//")&&(t="/"+t.replace(/^\/+/,"")),t}function qc(e,t){const l=o9(e),r=l.indexOf("#"),i=l.indexOf("?"),s=Ph();return{href:l,pathname:l.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:l.length),hash:r>-1?l.substring(r):"",search:i>-1?l.slice(i,r===-1?void 0:r):"",state:t||{[ma]:0,key:s,__TSR_key:s}}}function Ph(){return(Math.random()+1).toString(36).substring(7)}function ci(e,t){const l=t,r=e;return{fromLocation:l,toLocation:r,pathChanged:(l==null?void 0:l.pathname)!==r.pathname,hrefChanged:(l==null?void 0:l.href)!==r.href,hashChanged:(l==null?void 0:l.hash)!==r.hash}}var s9=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.lightweightCache=new WeakMap,this.startTransition=l=>l(),this.update=l=>{var p;const r=this.options,i=this.basepath??(r==null?void 0:r.basepath)??"/",s=this.basepath===void 0,u=r==null?void 0:r.rewrite;if(this.options={...r,...l},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=O8(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=i9()),this.origin=this.options.origin,this.origin||(window!=null&&window.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let b;this.resolvePathCache=zo(1e3),b=this.buildRouteTree(),this.setRoutes(b)}if(!this.stores&&this.latestLocation){const b=this.getStoreConfig(this);this.batch=b.batch,this.stores=Q8(u9(this.latestLocation),b),F8(this)}let f=!1;const d=this.options.basepath??"/",h=this.options.rewrite;if(s||i!==d||u!==h){this.basepath=d;const b=[],v=Ry(d);v&&v!=="/"&&b.push(Z8({basepath:d})),h&&b.push(h),this.rewrite=b.length===0?void 0:b.length===1?b[0]:W8(b),this.history&&this.updateLatestLocation(),f=!0}f&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof((p=window.CSS)==null?void 0:p.supports)=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const l=k8(this.routeTree,this.options.caseSensitive,(r,i)=>{r.init({originalIndex:i})});return this.options.routeMasks&&T8(this.options.routeMasks,l.processedTree),l},this.subscribe=(l,r)=>{const i={eventType:l,fn:r};return this.subscribers.add(i),()=>{this.subscribers.delete(i)}},this.emit=l=>{this.subscribers.forEach(r=>{r.eventType===l.type&&r.fn(l)})},this.parseLocation=(l,r)=>{const i=({pathname:d,search:h,hash:p,href:b,state:v})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(d)){const N=this.options.parseSearch(h),M=this.options.stringifySearch(N);return{href:d+M+p,publicHref:d+M+p,pathname:bo(d).path,external:!1,searchStr:M,search:Ua(r==null?void 0:r.search,N),hash:bo(p.slice(1)).path,state:Ya(r==null?void 0:r.state,v)}}const w=new URL(b,this.origin),x=F0(this.rewrite,w),T=this.options.parseSearch(x.search),C=this.options.stringifySearch(T);return x.search=C,{href:x.href.replace(x.origin,""),publicHref:b,pathname:bo(x.pathname).path,external:!!this.rewrite&&x.origin!==this.origin,searchStr:C,search:Ua(r==null?void 0:r.search,T),hash:bo(x.hash.slice(1)).path,state:Ya(r==null?void 0:r.state,v)}},s=i(l),{__tempLocation:u,__tempKey:f}=s.state;if(u&&(!f||f===this.tempLocationKey)){const d=i(u);return d.state.key=s.state.key,d.state.__TSR_key=s.state.__TSR_key,delete d.state.__tempLocation,{...d,maskedLocation:s}}return s},this.resolvePathWithBase=(l,r)=>P8({base:l,to:r.includes("//")?zh(r):r,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(l,r,i)=>typeof l=="string"?this.matchRoutesInternal({pathname:l,search:r},i):this.matchRoutesInternal(l,r),this.getMatchedRoutes=l=>f9({pathname:l,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=l=>{const r=this.getMatch(l);r&&(r.abortController.abort(),clearTimeout(r._nonReactive.pendingTimeout),r._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(l=>{this.cancelMatch(l)}),this.stores.matchesId.get().forEach(l=>{var i;if(this.stores.pendingMatchStores.has(l))return;const r=(i=this.stores.matchStores.get(l))==null?void 0:i.get();r&&(r.status==="pending"||r.isFetching==="loader")&&this.cancelMatch(l)})},this.buildLocation=l=>{const r=(s={})=>{var q,te;const u=s._fromLocation||this.pendingBuiltLocation||this.latestLocation,f=this.matchRoutesLightweight(u);s.from;const d=s.unsafeRelative==="path"?u.pathname:s.from??f.fullPath,h=s.to?`${s.to}`:void 0,p=f.search,b=Object.assign(Object.create(null),f.params),v=(h==null?void 0:h.charCodeAt(0))===47?"/":this.resolvePathWithBase(d,"."),w=h?this.resolvePathWithBase(v,h):v,x=s.params===!1||s.params===null?Object.create(null):(s.params??!0)===!0?b:Object.assign(b,qa(s.params,b)),T=this.routesByPath[Tl(w)];let C;if(T)C=this.getRouteBranch(T);else if(w.includes("$"))C=[];else{const ne=this.getMatchedRoutes(w);C=ne.matchedRoutes,this.options.notFoundRoute&&(!ne.foundRoute||ne.foundRoute.path!=="/"&&ne.routeParams["**"])&&(C=[...C,this.options.notFoundRoute])}if(C.length&&xy(x))for(const ne of C){const j=((q=ne.options.params)==null?void 0:q.stringify)??ne.options.stringifyParams;if(j)try{Object.assign(x,j(x))}catch{}}const N=l.leaveParams?w:bo(Xg({path:w,params:x,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let M=p;if(l._includeValidateSearch&&((te=this.options.search)!=null&&te.strict)){const ne={};C.forEach(j=>{if(j.options.validateSearch)try{Object.assign(ne,Ic(j.options.validateSearch,{...ne,...M}))}catch{}}),M=ne}M=d9({search:M,dest:s,destRoutes:C,_includeValidateSearch:l._includeValidateSearch}),M=Ua(p,M);const L=this.options.stringifySearch(M),k=s.hash===!0?u.hash:s.hash?qa(s.hash,u.hash):void 0,B=k?`#${k}`:"";let G=s.state===!0?u.state:s.state?qa(s.state,u.state):{};G=Ya(u.state,G);const $=`${N}${L}${B}`;let A,U,K=!1;if(this.rewrite){const ne=new URL($,this.origin),j=My(this.rewrite,ne);A=ne.href.replace(ne.origin,""),j.origin!==this.origin?(U=j.href,K=!0):U=j.pathname+j.search+j.hash}else A=w8($),U=A;return{publicHref:U,href:A,pathname:N,search:M,searchStr:L,state:G,hash:k??"",external:K,unmaskOnReload:s.unmaskOnReload}},i=(s={},u)=>{const f=r(s);let d=u?r(u):void 0;if(!d){const h=Object.create(null);if(this.options.routeMasks){const p=R8(f.pathname,this.processedTree);if(p){Object.assign(h,p.rawParams);const{from:b,params:v,...w}=p.route,x=v===!1||v===null?Object.create(null):(v??!0)===!0?h:Object.assign(h,qa(v,h));u={from:l.from,...w,params:x},d=r(u)}}}return d&&(f.maskedLocation=d),f};return l.mask?i(l,{from:l.from,...l.mask}):i(l)},this.commitLocation=async({viewTransition:l,ignoreBlocker:r,...i})=>{let s;const u=()=>{const h=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];h.forEach(b=>{i.state[b]=this.latestLocation.state[b]});const p=Za(i.state,this.latestLocation.state);return h.forEach(b=>{delete i.state[b]}),p},f=Tl(this.latestLocation.href)===Tl(i.href);let d=this.commitLocationPromise;if(this.commitLocationPromise=pi(()=>{d==null||d.resolve(),d=void 0}),f&&u())this.load();else{let{maskedLocation:h,hashScrollIntoView:p,...b}=i;h&&(b={...h,state:{...h.state,__tempKey:void 0,__tempLocation:{...b,search:b.searchStr,state:{...b.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(b.unmaskOnReload??this.options.unmaskOnReload??!1)&&(b.state.__tempKey=this.tempLocationKey)),b.state.__hashScrollIntoViewOptions=p??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=l,s=i.replace?"REPLACE":"PUSH",this.history[s==="REPLACE"?"replace":"push"](b.publicHref,b.state,{ignoreBlocker:r})}return this._scroll.next=i.resetScroll??!0,this.history.subscribers.size||this.load(s?{action:{type:s}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:l,resetScroll:r,hashScrollIntoView:i,viewTransition:s,ignoreBlocker:u,href:f,...d}={})=>{if(f){const b=this.history.location.state.__TSR_index,v=qc(f,{__TSR_index:l?b:b+1}),w=new URL(v.pathname,this.origin);d.to=F0(this.rewrite,w).pathname,d.search=this.options.parseSearch(v.search),d.hash=v.hash.slice(1)}const h=this.buildLocation({...d,_includeValidateSearch:!0});this.pendingBuiltLocation=h;const p=this.commitLocation({...h,viewTransition:s,replace:l,resetScroll:r,hashScrollIntoView:i,ignoreBlocker:u});return queueMicrotask(()=>{this.pendingBuiltLocation===h&&(this.pendingBuiltLocation=void 0)}),p},this.navigate=async({to:l,reloadDocument:r,href:i,publicHref:s,...u})=>{var d,h;let f=!1;if(i)try{new URL(`${i}`),f=!0}catch{}if(f&&!r&&(r=!0),r){if(l!==void 0||!i){const b=this.buildLocation({to:l,...u});i=i??b.publicHref,s=s??b.publicHref}const p=!f&&s?s:i;if(_c(p,this.protocolAllowlist))return;if(!u.ignoreBlocker){const b=((h=(d=this.history).getBlockers)==null?void 0:h.call(d))??[];for(const v of b)if(v!=null&&v.blockerFn&&await v.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return}u.replace?window.location.replace(p):window.location.href=p;return}return this.buildAndCommitLocation({...u,href:i,to:l,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const l=this.matchRoutes(this.latestLocation),r=this.stores.cachedMatches.get().filter(i=>!l.some(s=>s.id===i.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(l),this.stores.setCached(r)})},this.load=async l=>{var h;const r=(h=l==null?void 0:l.action)==null?void 0:h.type;let i,s,u;const f=this.stores.resolvedLocation.get()??this.stores.location.get();for(u=new Promise(p=>{this.startTransition(async()=>{var b;try{this.beforeLoad(),r&&(this._scroll.hash=r==="PUSH"||r==="REPLACE");const v=this.latestLocation,w=ci(v,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...w}),this.emit({type:"onBeforeLoad",...w}),await nb({router:this,sync:l==null?void 0:l.sync,forceStaleReload:f.href===v.href,matches:this.stores.pendingMatches.get(),location:v,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{var M,L;let x=null,T=null,C=null,N=null;this.batch(()=>{const k=this.stores.pendingMatches.get(),B=k.length,G=this.stores.matches.get();x=B?G.filter(U=>!this.stores.pendingMatchStores.has(U.id)):null;const $=new Set;for(const U of this.stores.pendingMatchStores.values())U.routeId&&$.add(U.routeId);const A=new Set;for(const U of this.stores.matchStores.values())U.routeId&&A.add(U.routeId);T=B?G.filter(U=>!$.has(U.routeId)):null,C=B?k.filter(U=>!A.has(U.routeId)):null,N=B?k.filter(U=>A.has(U.routeId)):G,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),B&&(this.stores.setMatches(k),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...x.filter(U=>U.status!=="error"&&U.status!=="notFound"&&U.status!=="redirected")]),this.clearExpiredCache())});for(const[k,B]of[[T,"onLeave"],[C,"onEnter"],[N,"onStay"]])if(k)for(const G of k)(L=(M=this.looseRoutesById[G.routeId].options)[B])==null||L.call(M,G)})})}})}catch(v){tn(v)?(i=v,this.navigate({...i.options,replace:!0,ignoreBlocker:!0})):Ht(v)&&(s=v);const w=i?i.status:s?404:this.stores.matches.get().some(x=>x.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(w),this.stores.redirect.set(i)})}this.latestLoadPromise===u&&((b=this.commitLocationPromise)==null||b.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),p()})}),this.latestLoadPromise=u,await u;this.latestLoadPromise&&u!==this.latestLoadPromise;)await this.latestLoadPromise;let d;this.hasNotFoundMatch()?d=404:this.stores.matches.get().some(p=>p.status==="error")&&(d=500),d!==void 0&&this.stores.statusCode.set(d)},this.startViewTransition=l=>{const r=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,r&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let i;if(typeof r=="object"&&this.isViewTransitionTypesSupported){const s=this.latestLocation,u=this.stores.resolvedLocation.get(),f=typeof r.types=="function"?r.types(ci(s,u)):r.types;if(f===!1){l();return}i={update:l,types:f}}else i=l;document.startViewTransition(i)}else l()},this.updateMatch=(l,r)=>{this.startTransition(()=>{const i=this.stores.pendingMatchStores.get(l);if(i){i.set(r);return}const s=this.stores.matchStores.get(l);if(s){s.set(r);return}const u=this.stores.cachedMatchStores.get(l);if(u){const f=r(u.get());f.status==="redirected"?this.stores.cachedMatchStores.delete(l)&&this.stores.cachedIds.set(d=>d.filter(h=>h!==l)):u.set(f)}})},this.getMatch=l=>{var r,i,s;return((r=this.stores.cachedMatchStores.get(l))==null?void 0:r.get())??((i=this.stores.pendingMatchStores.get(l))==null?void 0:i.get())??((s=this.stores.matchStores.get(l))==null?void 0:s.get())},this.invalidate=l=>{const r=i=>{var s;return((s=l==null?void 0:l.filter)==null?void 0:s.call(l,i))??!0?{...i,invalid:!0,...l!=null&&l.forcePending||i.status==="error"||i.status==="notFound"?{status:"pending",error:void 0}:void 0}:i};return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(r)),this.stores.setCached(this.stores.cachedMatches.get().map(r)),this.stores.setPending(this.stores.pendingMatches.get().map(r))}),this.shouldViewTransition=!1,this.load({sync:l==null?void 0:l.sync})},this.getParsedLocationHref=l=>l.publicHref||"/",this.resolveRedirect=l=>{const r=l.headers.get("Location");if(!l.options.href||l.options._builtLocation){const i=l.options._builtLocation??this.buildLocation(l.options),s=this.getParsedLocationHref(i);l.options.href=s,l.headers.set("Location",s)}else if(r)try{const i=new URL(r);if(this.origin&&i.origin===this.origin){const s=i.pathname+i.search+i.hash;l.options.href=s,l.headers.set("Location",s)}}catch{}if(l.options.href&&!l.options._builtLocation&&_c(l.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return l.headers.get("Location")||l.headers.set("Location",l.options.href),l},this.clearCache=l=>{const r=l==null?void 0:l.filter;r!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(i=>!r(i))):this.stores.setCached([])},this.clearExpiredCache=()=>{const l=Date.now(),r=i=>{const s=this.looseRoutesById[i.routeId];if(!s.options.loader)return!0;const u=(i.preload?s.options.preloadGcTime??this.options.defaultPreloadGcTime:s.options.gcTime??this.options.defaultGcTime)??300*1e3;return i.status==="error"?!0:l-i.updatedAt>=u};this.clearCache({filter:r})},this.loadRouteChunk=Po,this.preloadRoute=async l=>{const r=l._builtLocation??this.buildLocation(l);let i=this.matchRoutes(r,{throwOnError:!0,preload:!0,dest:l});const s=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),u=new Set([...s,...this.stores.cachedIds.get()]),f=i.filter(d=>!u.has(d.id));if(f.length){const d=this.stores.cachedMatches.get();this.stores.setCached([...d,...f])}try{return i=await nb({router:this,matches:i,location:r,preload:!0,updateMatch:(d,h)=>{s.has(d)?i=i.map(p=>p.id===d?h(p):p):this.updateMatch(d,h)}}),i}catch(d){if(tn(d))return d.options.reloadDocument?void 0:await this.preloadRoute({...d.options,_fromLocation:r});Ht(d)||console.error(d);return}},this.matchRoute=(l,r)=>{const i={...l,to:l.to?this.resolvePathWithBase(l.from||"",l.to):void 0,params:l.params||{},leaveParams:!0},s=this.buildLocation(i);if(r!=null&&r.pending&&this.stores.status.get()!=="pending")return!1;const u=((r==null?void 0:r.pending)===void 0?!this.stores.isLoading.get():r.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),f=M8(s.pathname,(r==null?void 0:r.caseSensitive)??!1,(r==null?void 0:r.fuzzy)??!1,u.pathname,this.processedTree);return!f||l.params&&!Za(f.rawParams,l.params,{partial:!0})?!1:(r==null?void 0:r.includeSearch)??!0?Za(u.search,s.search,{partial:!0})?f.rawParams:!1:f.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(l=>l.status==="notFound"||l.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??q8,parseSearch:e.parseSearch??G8,protocolAllowlist:e.protocolAllowlist??S8}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:l}){this.routesById=e,this.routesByPath=t,this.processedTree=l;const r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=Cy(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e!=null&&e.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){var p,b;const l=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParams:i}=l;let{matchedRoutes:s}=l,u=!1;(r?r.path!=="/"&&i["**"]:Tl(e.pathname))&&(this.options.notFoundRoute?s=[...s,this.options.notFoundRoute]:u=!0);const f=u?m9(this.options.notFoundMode,s):void 0,d=new Array(s.length),h=new Map;for(const v of this.stores.matchStores.values())v.routeId&&h.set(v.routeId,v.get());for(let v=0;v<s.length;v++){const w=s[v],x=d[v-1];let T,C,N;{const j=(x==null?void 0:x.search)??e.search,Y=(x==null?void 0:x._strictSearch)??void 0;try{const z=Ic(w.options.validateSearch,{...j})??void 0;T={...j,...z},C={...Y,...z},N=void 0}catch(z){let O=z;if(z instanceof Yc||(O=new Yc(z.message,{cause:z})),t!=null&&t.throwOnError)throw O;T=j,C={},N=O}}const M=((b=(p=w.options).loaderDeps)==null?void 0:b.call(p,{search:T}))??"",L=M?JSON.stringify(M):"",{interpolatedPath:k,usedParams:B}=Xg({path:w.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),G=w.id+k+L,$=this.getMatch(G),A=h.get(w.id),U=($==null?void 0:$._strictParams)??B;let K;if(!$)try{ob(w,U)}catch(j){if(Ht(j)||tn(j)?K=j:K=new c9(j.message,{cause:j}),t!=null&&t.throwOnError)throw K}Object.assign(i,U);const q=A?"stay":"enter";let te;if($)te={...$,cause:q,params:(A==null?void 0:A.params)??i,_strictParams:U,search:Ua(A?A.search:$.search,T),_strictSearch:C};else{const j=w.options.loader||w.options.beforeLoad||w.lazyFn||Ny(w)?"pending":"success";te={id:G,ssr:w.options.ssr,index:v,routeId:w.id,params:(A==null?void 0:A.params)??i,_strictParams:U,pathname:k,updatedAt:Date.now(),search:A?Ua(A.search,T):T,_strictSearch:C,searchError:void 0,status:j,isFetching:!1,error:void 0,paramsError:K,__routeContext:void 0,_nonReactive:{loadPromise:pi()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:q,loaderDeps:A?Ya(A.loaderDeps,M):M,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:w.options.staticData||{},fullPath:w.fullPath}}t!=null&&t.preload||(te.globalNotFound=f===w.id),te.searchError=N;const ne=this.getParentContext(x);te.context={...ne,...te.__routeContext,...te.__beforeLoadContext},d[v]=te}for(let v=0;v<d.length;v++){const w=d[v],x=this.looseRoutesById[w.routeId],T=this.getMatch(w.id),C=h.get(w.routeId);if(w.params=C?Ua(C.params,i):i,!T){const N=d[v-1],M=this.getParentContext(N);if(x.options.context){const L={deps:w.loaderDeps,params:w.params,context:M??{},location:e,navigate:k=>this.navigate({...k,_fromLocation:e}),buildLocation:this.buildLocation,cause:w.cause,abortController:w.abortController,preload:!!w.preload,matches:d,routeId:x.id};w.__routeContext=x.options.context(L)??void 0}w.context={...M,...w.__routeContext,...w.__beforeLoadContext}}}return d}matchRoutesLightweight(e){var b;const t=Do(this.stores.matchesId.get()),l=this.lightweightCache.get(e);if(l&&l[0]===t)return l[1];const{matchedRoutes:r,routeParams:i}=this.getMatchedRoutes(e.pathname),s=Do(r),u={...e.search};for(const v of r)try{Object.assign(u,Ic(v.options.validateSearch,u))}catch{}const f=t&&((b=this.stores.matchStores.get(t))==null?void 0:b.get()),d=f&&f.routeId===s.id&&f.pathname===e.pathname;let h;if(d)h=f.params;else{const v=Object.assign(Object.create(null),i);for(const w of r)try{ob(w,v)}catch{}h=v}const p={matchedRoutes:r,fullPath:s.fullPath,search:u,params:h};return this.lightweightCache.set(e,[t,p]),p}},Yc=class extends Error{},c9=class extends Error{};function u9(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Ic(e,t){if(e==null)return{};if("~standard"in e){const l=e["~standard"].validate(t);if(l instanceof Promise)throw new Yc("Async validation not supported");if(l.issues)throw new Yc(JSON.stringify(l.issues,void 0,2),{cause:l});return l.value}return"parse"in e?e.parse(t):typeof e=="function"?e(t):{}}function f9({pathname:e,routesById:t,processedTree:l}){const r=Object.create(null),i=Tl(e);let s;const u=A8(i,l,!0);return u&&(s=u.route,Object.assign(r,u.rawParams)),{matchedRoutes:(u==null?void 0:u.branch)||[t.__root__],routeParams:r,foundRoute:s}}function d9({search:e,dest:t,destRoutes:l,_includeValidateSearch:r}){return h9(l)(e,t,r??!1)}function h9(e){var s;let t,l;const r=[];for(const u of e){const f=u.options;if("search"in f)(s=f.search)!=null&&s.middlewares&&r.push(...f.search.middlewares);else if(f.preSearchFilters||f.postSearchFilters){const h=({search:p,next:b})=>{const v=b(f.preSearchFilters?f.preSearchFilters.reduce((w,x)=>x(w),p):p);return f.postSearchFilters?f.postSearchFilters.reduce((w,x)=>x(w),v):v};r.push(h)}const d=f.validateSearch;if(d){const h=({search:p,next:b,meta:v})=>{const w=b(p);if(l)try{const x=Ic(d,w);if(v&&x)for(const T in x)T in w||(v.defaulted||(v.defaulted=new Map)).set(T,x[T]);return{...w,...x}}catch{}return w};r.push(h)}}const i=(u,f,d)=>{if(u>=r.length){if(!t.search)return{};if(t.search===!0)return f;const p=qa(t.search,f);return d&&(d.explicit=p),p}const h=(p,b)=>{if(b){const v=d||{};return{search:i(u+1,p,v),meta:v}}return i(u+1,p,d)};return r[u]({search:f,next:h,meta:d})};return function(f,d,h){return t=d,l=h,i(0,f)}}function m9(e,t){if(e!=="root")for(let l=t.length-1;l>=0;l--){const r=t[l];if(r.children)return r.id}return Qa}function ob(e,t){var r;const l=((r=e.options.params)==null?void 0:r.parse)??e.options.parseParams;if(l){const i=l(t);if(i===!1)throw new Error("Route params.parse returned false for a matched route");Object.assign(t,i)}}const p9="Error preloading route! ☝️";var Dy=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=t=>{var d,h;this.originalIndex=t.originalIndex;const l=this.options,r=!(l!=null&&l.path)&&!(l!=null&&l.id);this.parentRoute=(h=(d=this.options).getParentRoute)==null?void 0:h.call(d),r?this._path=Qa:this.parentRoute||Rl();let i=r?Qa:l==null?void 0:l.path;i&&i!=="/"&&(i=Ty(i));const s=(l==null?void 0:l.id)||i;let u=r?Qa:Pc([this.parentRoute.id==="__root__"?"":this.parentRoute.id,s]);i==="__root__"&&(i="/"),u!=="__root__"&&(u=Pc(["/",u]));const f=u==="__root__"?"/":Pc([this.parentRoute.fullPath,i]);this._path=i,this._id=u,this._fullPath=f,this._to=Tl(f)},this.addChildren=t=>this._addFileChildren(t),this._addFileChildren=t=>(Array.isArray(t)&&(this.children=t),typeof t=="object"&&t!==null&&(this.children=Object.values(t)),this),this._addFileTypes=()=>this,this.updateLoader=t=>(Object.assign(this.options,t),this),this.update=t=>(Object.assign(this.options,t),this),this.lazy=t=>(this.lazyFn=t,this),this.redirect=t=>bu({from:this.fullPath,...t}),this.options=e||{},this.isRoot=!(e!=null&&e.getParentRoute),e!=null&&e.id&&(e!=null&&e.path))throw new Error("Route cannot have both an 'id' and a 'path' option.")}},g9=class extends Dy{constructor(e){super(e)}};function Oh(e){const t=e.errorComponent??jh;return E.jsx(b9,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:l,reset:r})=>l?y.createElement(t,{error:l,reset:r}):e.children})}var b9=class extends y.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){const l=e.getResetKey();return t.error&&t.resetKey!==l?{resetKey:l,error:null}:{resetKey:l}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function jh({error:e}){const[t,l]=y.useState(!1);return E.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[E.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),E.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>l(r=>!r),children:t?"Hide Error":"Show Error"})]}),E.jsx("div",{style:{height:".25rem"}}),t?E.jsx("div",{children:E.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?E.jsx("code",{children:e.message}):null})}):null]})}function v9({children:e,fallback:t=null}){return $y()?E.jsx(V.Fragment,{children:e}):E.jsx(V.Fragment,{children:t})}function $y(){return V.useSyncExternalStore(y9,()=>!0,()=>!1)}function y9(){return()=>{}}var zy=y.createContext(null);function gn(e){return y.useContext(zy)}var yu=y.createContext(void 0),x9=y.createContext(void 0),rt=(e=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(rt||{});function S9({update:e,notify:t,unwatched:l}){return{link:r,unlink:i,propagate:s,checkDirty:u,shallowPropagate:f};function r(h,p,b){const v=p.depsTail;if(v!==void 0&&v.dep===h)return;const w=v!==void 0?v.nextDep:p.deps;if(w!==void 0&&w.dep===h){w.version=b,p.depsTail=w;return}const x=h.subsTail;if(x!==void 0&&x.version===b&&x.sub===p)return;const T=p.depsTail=h.subsTail={version:b,dep:h,sub:p,prevDep:v,nextDep:w,prevSub:x,nextSub:void 0};w!==void 0&&(w.prevDep=T),v!==void 0?v.nextDep=T:p.deps=T,x!==void 0?x.nextSub=T:h.subs=T}function i(h,p=h.sub){const b=h.dep,v=h.prevDep,w=h.nextDep,x=h.nextSub,T=h.prevSub;return w!==void 0?w.prevDep=v:p.depsTail=v,v!==void 0?v.nextDep=w:p.deps=w,x!==void 0?x.prevSub=T:b.subsTail=T,T!==void 0?T.nextSub=x:(b.subs=x)===void 0&&l(b),w}function s(h){let p=h.nextSub,b;e:do{const v=h.sub;let w=v.flags;if(w&60?w&12?w&4?!(w&48)&&d(h,v)?(v.flags=w|40,w&=1):w=0:v.flags=w&-9|32:w=0:v.flags=w|32,w&2&&t(v),w&1){const x=v.subs;if(x!==void 0){const T=(h=x).nextSub;T!==void 0&&(b={value:p,prev:b},p=T);continue}}if((h=p)!==void 0){p=h.nextSub;continue}for(;b!==void 0;)if(h=b.value,b=b.prev,h!==void 0){p=h.nextSub;continue e}break}while(!0)}function u(h,p){let b,v=0,w=!1;e:do{const x=h.dep,T=x.flags;if(p.flags&16)w=!0;else if((T&17)===17){if(e(x)){const C=x.subs;C.nextSub!==void 0&&f(C),w=!0}}else if((T&33)===33){(h.nextSub!==void 0||h.prevSub!==void 0)&&(b={value:h,prev:b}),h=x.deps,p=x,++v;continue}if(!w){const C=h.nextDep;if(C!==void 0){h=C;continue}}for(;v--;){const C=p.subs,N=C.nextSub!==void 0;if(N?(h=b.value,b=b.prev):h=C,w){if(e(p)){N&&f(C),p=h.sub;continue}w=!1}else p.flags&=-33;p=h.sub;const M=h.nextDep;if(M!==void 0){h=M;continue e}}return w}while(!0)}function f(h){do{const p=h.sub,b=p.flags;(b&48)===32&&(p.flags=b|16,(b&6)===2&&t(p))}while((h=h.nextSub)!==void 0)}function d(h,p){let b=p.depsTail;for(;b!==void 0;){if(b===h)return!0;b=b.prevDep}return!1}}function w9(e,t,l){var s,u,f;const r=typeof e=="object",i=r?e:void 0;return{next:(s=r?e.next:e)==null?void 0:s.bind(i),error:(u=r?e.error:t)==null?void 0:u.bind(i),complete:(f=r?e.complete:l)==null?void 0:f.bind(i)}}const _0=[];let Bc=0;const{link:sb,unlink:E9,propagate:C9,checkDirty:Py,shallowPropagate:cb}=S9({update(e){return e._update()},notify(e){_0[G0++]=e,e.flags&=~rt.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=rt.Mutable|rt.Dirty,Xc(e))}});let vc=0,G0=0,tl,q0=0;function Oy(e){try{++q0,e()}finally{--q0||jy()}}function Xc(e){const t=e.depsTail;let l=t!==void 0?t.nextDep:e.deps;for(;l!==void 0;)l=E9(l,e)}function jy(){if(!(q0>0)){for(;vc<G0;){const e=_0[vc];_0[vc++]=void 0,e.notify()}vc=0,G0=0}}function ub(e,t){const l=typeof e=="function",r=e,i={_snapshot:l?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:l?rt.None:rt.Mutable,get(){return tl!==void 0&&sb(i,tl,Bc),i._snapshot},subscribe(s){const u=w9(s),f={current:!1},d=T9(()=>{var h;i.get(),f.current?(h=u.next)==null||h.call(u,i._snapshot):f.current=!0});return{unsubscribe:()=>{d.stop()}}},_update(s){const u=tl,f=(t==null?void 0:t.compare)??Object.is;if(l)tl=i,++Bc,i.depsTail=void 0;else if(s===void 0)return!1;l&&(i.flags=rt.Mutable|rt.RecursedCheck);try{const d=i._snapshot,h=typeof s=="function"?s(d):s===void 0&&l?r(d):s;return d===void 0||!f(d,h)?(i._snapshot=h,!0):!1}finally{tl=u,l&&(i.flags&=~rt.RecursedCheck),Xc(i)}}};return l?(i.flags=rt.Mutable|rt.Dirty,i.get=function(){const s=i.flags;if(s&rt.Dirty||s&rt.Pending&&Py(i.deps,i)){if(i._update()){const u=i.subs;u!==void 0&&cb(u)}}else s&rt.Pending&&(i.flags=s&~rt.Pending);return tl!==void 0&&sb(i,tl,Bc),i._snapshot}):i.set=function(s){if(i._update(s)){const u=i.subs;u!==void 0&&(C9(u),cb(u),jy())}},i}function T9(e){const t=()=>{const r=tl;tl=l,++Bc,l.depsTail=void 0,l.flags=rt.Watching|rt.RecursedCheck;try{return e()}finally{tl=r,l.flags&=~rt.RecursedCheck,Xc(l)}},l={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:rt.Watching|rt.RecursedCheck,notify(){const r=this.flags;r&rt.Dirty||r&rt.Pending&&Py(this.deps,this)?t():this.flags=rt.Watching},stop(){this.flags=rt.None,this.depsTail=void 0,Xc(this)}};return t(),l}var c0={exports:{}},u0={},f0={exports:{}},d0={};/**
49
+ `+c.stack}}var pt=Object.prototype.hasOwnProperty,jn=e.unstable_scheduleCallback,Si=e.unstable_cancelCallback,Qo=e.unstable_shouldYield,Pu=e.unstable_requestPaint,It=e.unstable_now,Ye=e.unstable_getCurrentPriorityLevel,Nt=e.unstable_ImmediatePriority,Gn=e.unstable_UserBlockingPriority,fr=e.unstable_NormalPriority,B6=e.unstable_LowPriority,N2=e.unstable_IdlePriority,H6=e.log,K6=e.unstable_setDisableYieldValue,wi=null,ln=null;function $l(n){if(typeof H6=="function"&&K6(n),ln&&typeof ln.setStrictMode=="function")try{ln.setStrictMode(wi,n)}catch{}}var an=Math.clz32?Math.clz32:V6,U6=Math.log,F6=Math.LN2;function V6(n){return n>>>=0,n===0?32:31-(U6(n)/F6|0)|0}var Jo=256,es=262144,ts=4194304;function Ca(n){var a=n&42;if(a!==0)return a;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function ns(n,a,o){var c=n.pendingLanes;if(c===0)return 0;var m=0,g=n.suspendedLanes,S=n.pingedLanes;n=n.warmLanes;var R=c&134217727;return R!==0?(c=R&~g,c!==0?m=Ca(c):(S&=R,S!==0?m=Ca(S):o||(o=R&~n,o!==0&&(m=Ca(o))))):(R=c&~g,R!==0?m=Ca(R):S!==0?m=Ca(S):o||(o=c&~n,o!==0&&(m=Ca(o)))),m===0?0:a!==0&&a!==m&&(a&g)===0&&(g=m&-m,o=a&-a,g>=o||g===32&&(o&4194048)!==0)?a:m}function Ei(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function _6(n,a){switch(n){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function D2(){var n=ts;return ts<<=1,(ts&62914560)===0&&(ts=4194304),n}function Ou(n){for(var a=[],o=0;31>o;o++)a.push(n);return a}function Ci(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function G6(n,a,o,c,m,g){var S=n.pendingLanes;n.pendingLanes=o,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=o,n.entangledLanes&=o,n.errorRecoveryDisabledLanes&=o,n.shellSuspendCounter=0;var R=n.entanglements,P=n.expirationTimes,W=n.hiddenUpdates;for(o=S&~o;0<o;){var le=31-an(o),re=1<<le;R[le]=0,P[le]=-1;var Z=W[le];if(Z!==null)for(W[le]=null,le=0;le<Z.length;le++){var ee=Z[le];ee!==null&&(ee.lane&=-536870913)}o&=~re}c!==0&&$2(n,c,0),g!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=g&~(S&~a))}function $2(n,a,o){n.pendingLanes|=a,n.suspendedLanes&=~a;var c=31-an(a);n.entangledLanes|=a,n.entanglements[c]=n.entanglements[c]|1073741824|o&261930}function z2(n,a){var o=n.entangledLanes|=a;for(n=n.entanglements;o;){var c=31-an(o),m=1<<c;m&a|n[c]&a&&(n[c]|=a),o&=~m}}function P2(n,a){var o=a&-a;return o=(o&42)!==0?1:ju(o),(o&(n.suspendedLanes|a))!==0?0:o}function ju(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Iu(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function O2(){var n=O.p;return n!==0?n:(n=window.event,n===void 0?32:Sg(n.type))}function j2(n,a){var o=O.p;try{return O.p=n,a()}finally{O.p=o}}var zl=Math.random().toString(36).slice(2),Dt="__reactFiber$"+zl,Vt="__reactProps$"+zl,dr="__reactContainer$"+zl,Bu="__reactEvents$"+zl,q6="__reactListeners$"+zl,Y6="__reactHandles$"+zl,I2="__reactResources$"+zl,Ti="__reactMarker$"+zl;function Hu(n){delete n[Dt],delete n[Vt],delete n[Bu],delete n[q6],delete n[Y6]}function hr(n){var a=n[Dt];if(a)return a;for(var o=n.parentNode;o;){if(a=o[dr]||o[Dt]){if(o=a.alternate,a.child!==null||o!==null&&o.child!==null)for(n=rg(n);n!==null;){if(o=n[Dt])return o;n=rg(n)}return a}n=o,o=n.parentNode}return null}function mr(n){if(n=n[Dt]||n[dr]){var a=n.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return n}return null}function Ri(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error(r(33))}function pr(n){var a=n[I2];return a||(a=n[I2]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Tt(n){n[Ti]=!0}var B2=new Set,H2={};function Ta(n,a){gr(n,a),gr(n+"Capture",a)}function gr(n,a){for(H2[n]=a,n=0;n<a.length;n++)B2.add(a[n])}var X6=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),K2={},U2={};function W6(n){return pt.call(U2,n)?!0:pt.call(K2,n)?!1:X6.test(n)?U2[n]=!0:(K2[n]=!0,!1)}function ls(n,a,o){if(W6(a))if(o===null)n.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var c=a.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){n.removeAttribute(a);return}}n.setAttribute(a,""+o)}}function as(n,a,o){if(o===null)n.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}n.setAttribute(a,""+o)}}function rl(n,a,o,c){if(c===null)n.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(o);return}n.setAttributeNS(a,o,""+c)}}function wn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function F2(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Z6(n,a,o){var c=Object.getOwnPropertyDescriptor(n.constructor.prototype,a);if(!n.hasOwnProperty(a)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var m=c.get,g=c.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return m.call(this)},set:function(S){o=""+S,g.call(this,S)}}),Object.defineProperty(n,a,{enumerable:c.enumerable}),{getValue:function(){return o},setValue:function(S){o=""+S},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function Ku(n){if(!n._valueTracker){var a=F2(n)?"checked":"value";n._valueTracker=Z6(n,a,""+n[a])}}function V2(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var o=a.getValue(),c="";return n&&(c=F2(n)?n.checked?"true":"false":n.value),n=c,n!==o?(a.setValue(n),!0):!1}function rs(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var Q6=/[\n"\\]/g;function En(n){return n.replace(Q6,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Uu(n,a,o,c,m,g,S,R){n.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?n.type=S:n.removeAttribute("type"),a!=null?S==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+wn(a)):n.value!==""+wn(a)&&(n.value=""+wn(a)):S!=="submit"&&S!=="reset"||n.removeAttribute("value"),a!=null?Fu(n,S,wn(a)):o!=null?Fu(n,S,wn(o)):c!=null&&n.removeAttribute("value"),m==null&&g!=null&&(n.defaultChecked=!!g),m!=null&&(n.checked=m&&typeof m!="function"&&typeof m!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?n.name=""+wn(R):n.removeAttribute("name")}function _2(n,a,o,c,m,g,S,R){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.type=g),a!=null||o!=null){if(!(g!=="submit"&&g!=="reset"||a!=null)){Ku(n);return}o=o!=null?""+wn(o):"",a=a!=null?""+wn(a):o,R||a===n.value||(n.value=a),n.defaultValue=a}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=R?n.checked:!!c,n.defaultChecked=!!c,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(n.name=S),Ku(n)}function Fu(n,a,o){a==="number"&&rs(n.ownerDocument)===n||n.defaultValue===""+o||(n.defaultValue=""+o)}function br(n,a,o,c){if(n=n.options,a){a={};for(var m=0;m<o.length;m++)a["$"+o[m]]=!0;for(o=0;o<n.length;o++)m=a.hasOwnProperty("$"+n[o].value),n[o].selected!==m&&(n[o].selected=m),m&&c&&(n[o].defaultSelected=!0)}else{for(o=""+wn(o),a=null,m=0;m<n.length;m++){if(n[m].value===o){n[m].selected=!0,c&&(n[m].defaultSelected=!0);return}a!==null||n[m].disabled||(a=n[m])}a!==null&&(a.selected=!0)}}function G2(n,a,o){if(a!=null&&(a=""+wn(a),a!==n.value&&(n.value=a),o==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=o!=null?""+wn(o):""}function q2(n,a,o,c){if(a==null){if(c!=null){if(o!=null)throw Error(r(92));if(Y(c)){if(1<c.length)throw Error(r(93));c=c[0]}o=c}o==null&&(o=""),a=o}o=wn(a),n.defaultValue=o,c=n.textContent,c===o&&c!==""&&c!==null&&(n.value=c),Ku(n)}function vr(n,a){if(a){var o=n.firstChild;if(o&&o===n.lastChild&&o.nodeType===3){o.nodeValue=a;return}}n.textContent=a}var J6=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Y2(n,a,o){var c=a.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?c?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":c?n.setProperty(a,o):typeof o!="number"||o===0||J6.has(a)?a==="float"?n.cssFloat=o:n[a]=(""+o).trim():n[a]=o+"px"}function X2(n,a,o){if(a!=null&&typeof a!="object")throw Error(r(62));if(n=n.style,o!=null){for(var c in o)!o.hasOwnProperty(c)||a!=null&&a.hasOwnProperty(c)||(c.indexOf("--")===0?n.setProperty(c,""):c==="float"?n.cssFloat="":n[c]="");for(var m in a)c=a[m],a.hasOwnProperty(m)&&o[m]!==c&&Y2(n,m,c)}else for(var g in a)a.hasOwnProperty(g)&&Y2(n,g,a[g])}function Vu(n){if(n.indexOf("-")===-1)return!1;switch(n){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 e7=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),t7=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function is(n){return t7.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function il(){}var _u=null;function Gu(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var yr=null,xr=null;function W2(n){var a=mr(n);if(a&&(n=a.stateNode)){var o=n[Vt]||null;e:switch(n=a.stateNode,a.type){case"input":if(Uu(n,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),a=o.name,o.type==="radio"&&a!=null){for(o=n;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+En(""+a)+'"][type="radio"]'),a=0;a<o.length;a++){var c=o[a];if(c!==n&&c.form===n.form){var m=c[Vt]||null;if(!m)throw Error(r(90));Uu(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(a=0;a<o.length;a++)c=o[a],c.form===n.form&&V2(c)}break e;case"textarea":G2(n,o.value,o.defaultValue);break e;case"select":a=o.value,a!=null&&br(n,!!o.multiple,a,!1)}}}var qu=!1;function Z2(n,a,o){if(qu)return n(a,o);qu=!0;try{var c=n(a);return c}finally{if(qu=!1,(yr!==null||xr!==null)&&(qs(),yr&&(a=yr,n=xr,xr=yr=null,W2(a),n)))for(a=0;a<n.length;a++)W2(n[a])}}function Mi(n,a){var o=n.stateNode;if(o===null)return null;var c=o[Vt]||null;if(c===null)return null;o=c[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(o&&typeof o!="function")throw Error(r(231,a,typeof o));return o}var ol=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yu=!1;if(ol)try{var Ai={};Object.defineProperty(Ai,"passive",{get:function(){Yu=!0}}),window.addEventListener("test",Ai,Ai),window.removeEventListener("test",Ai,Ai)}catch{Yu=!1}var Pl=null,Xu=null,os=null;function Q2(){if(os)return os;var n,a=Xu,o=a.length,c,m="value"in Pl?Pl.value:Pl.textContent,g=m.length;for(n=0;n<o&&a[n]===m[n];n++);var S=o-n;for(c=1;c<=S&&a[o-c]===m[g-c];c++);return os=m.slice(n,1<c?1-c:void 0)}function ss(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function cs(){return!0}function J2(){return!1}function _t(n){function a(o,c,m,g,S){this._reactName=o,this._targetInst=m,this.type=c,this.nativeEvent=g,this.target=S,this.currentTarget=null;for(var R in n)n.hasOwnProperty(R)&&(o=n[R],this[R]=o?o(g):g[R]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?cs:J2,this.isPropagationStopped=J2,this}return b(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=cs)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=cs)},persist:function(){},isPersistent:cs}),a}var Ra={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},us=_t(Ra),Li=b({},Ra,{view:0,detail:0}),n7=_t(Li),Wu,Zu,ki,fs=b({},Li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ju,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==ki&&(ki&&n.type==="mousemove"?(Wu=n.screenX-ki.screenX,Zu=n.screenY-ki.screenY):Zu=Wu=0,ki=n),Wu)},movementY:function(n){return"movementY"in n?n.movementY:Zu}}),em=_t(fs),l7=b({},fs,{dataTransfer:0}),a7=_t(l7),r7=b({},Li,{relatedTarget:0}),Qu=_t(r7),i7=b({},Ra,{animationName:0,elapsedTime:0,pseudoElement:0}),o7=_t(i7),s7=b({},Ra,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),c7=_t(s7),u7=b({},Ra,{data:0}),tm=_t(u7),f7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},d7={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},h7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function m7(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=h7[n])?!!a[n]:!1}function Ju(){return m7}var p7=b({},Li,{key:function(n){if(n.key){var a=f7[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=ss(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?d7[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ju,charCode:function(n){return n.type==="keypress"?ss(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?ss(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),g7=_t(p7),b7=b({},fs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),nm=_t(b7),v7=b({},Li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ju}),y7=_t(v7),x7=b({},Ra,{propertyName:0,elapsedTime:0,pseudoElement:0}),S7=_t(x7),w7=b({},fs,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),E7=_t(w7),C7=b({},Ra,{newState:0,oldState:0}),T7=_t(C7),R7=[9,13,27,32],ef=ol&&"CompositionEvent"in window,Ni=null;ol&&"documentMode"in document&&(Ni=document.documentMode);var M7=ol&&"TextEvent"in window&&!Ni,lm=ol&&(!ef||Ni&&8<Ni&&11>=Ni),am=" ",rm=!1;function im(n,a){switch(n){case"keyup":return R7.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function om(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Sr=!1;function A7(n,a){switch(n){case"compositionend":return om(a);case"keypress":return a.which!==32?null:(rm=!0,am);case"textInput":return n=a.data,n===am&&rm?null:n;default:return null}}function L7(n,a){if(Sr)return n==="compositionend"||!ef&&im(n,a)?(n=Q2(),os=Xu=Pl=null,Sr=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return lm&&a.locale!=="ko"?null:a.data;default:return null}}var k7={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function sm(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!k7[n.type]:a==="textarea"}function cm(n,a,o,c){yr?xr?xr.push(c):xr=[c]:yr=c,a=ec(a,"onChange"),0<a.length&&(o=new us("onChange","change",null,o,c),n.push({event:o,listeners:a}))}var Di=null,$i=null;function N7(n){_p(n,0)}function ds(n){var a=Ri(n);if(V2(a))return n}function um(n,a){if(n==="change")return a}var fm=!1;if(ol){var tf;if(ol){var nf="oninput"in document;if(!nf){var dm=document.createElement("div");dm.setAttribute("oninput","return;"),nf=typeof dm.oninput=="function"}tf=nf}else tf=!1;fm=tf&&(!document.documentMode||9<document.documentMode)}function hm(){Di&&(Di.detachEvent("onpropertychange",mm),$i=Di=null)}function mm(n){if(n.propertyName==="value"&&ds($i)){var a=[];cm(a,$i,n,Gu(n)),Z2(N7,a)}}function D7(n,a,o){n==="focusin"?(hm(),Di=a,$i=o,Di.attachEvent("onpropertychange",mm)):n==="focusout"&&hm()}function $7(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return ds($i)}function z7(n,a){if(n==="click")return ds(a)}function P7(n,a){if(n==="input"||n==="change")return ds(a)}function O7(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var rn=typeof Object.is=="function"?Object.is:O7;function zi(n,a){if(rn(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var o=Object.keys(n),c=Object.keys(a);if(o.length!==c.length)return!1;for(c=0;c<o.length;c++){var m=o[c];if(!pt.call(a,m)||!rn(n[m],a[m]))return!1}return!0}function pm(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function gm(n,a){var o=pm(n);n=0;for(var c;o;){if(o.nodeType===3){if(c=n+o.textContent.length,n<=a&&c>=a)return{node:o,offset:a-n};n=c}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=pm(o)}}function bm(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?bm(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function vm(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=rs(n.document);a instanceof n.HTMLIFrameElement;){try{var o=typeof a.contentWindow.location.href=="string"}catch{o=!1}if(o)n=a.contentWindow;else break;a=rs(n.document)}return a}function lf(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}var j7=ol&&"documentMode"in document&&11>=document.documentMode,wr=null,af=null,Pi=null,rf=!1;function ym(n,a,o){var c=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;rf||wr==null||wr!==rs(c)||(c=wr,"selectionStart"in c&&lf(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Pi&&zi(Pi,c)||(Pi=c,c=ec(af,"onSelect"),0<c.length&&(a=new us("onSelect","select",null,a,o),n.push({event:a,listeners:c}),a.target=wr)))}function Ma(n,a){var o={};return o[n.toLowerCase()]=a.toLowerCase(),o["Webkit"+n]="webkit"+a,o["Moz"+n]="moz"+a,o}var Er={animationend:Ma("Animation","AnimationEnd"),animationiteration:Ma("Animation","AnimationIteration"),animationstart:Ma("Animation","AnimationStart"),transitionrun:Ma("Transition","TransitionRun"),transitionstart:Ma("Transition","TransitionStart"),transitioncancel:Ma("Transition","TransitionCancel"),transitionend:Ma("Transition","TransitionEnd")},of={},xm={};ol&&(xm=document.createElement("div").style,"AnimationEvent"in window||(delete Er.animationend.animation,delete Er.animationiteration.animation,delete Er.animationstart.animation),"TransitionEvent"in window||delete Er.transitionend.transition);function Aa(n){if(of[n])return of[n];if(!Er[n])return n;var a=Er[n],o;for(o in a)if(a.hasOwnProperty(o)&&o in xm)return of[n]=a[o];return n}var Sm=Aa("animationend"),wm=Aa("animationiteration"),Em=Aa("animationstart"),I7=Aa("transitionrun"),B7=Aa("transitionstart"),H7=Aa("transitioncancel"),Cm=Aa("transitionend"),Tm=new Map,sf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");sf.push("scrollEnd");function In(n,a){Tm.set(n,a),Ta(a,[n])}var hs=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Cn=[],Cr=0,cf=0;function ms(){for(var n=Cr,a=cf=Cr=0;a<n;){var o=Cn[a];Cn[a++]=null;var c=Cn[a];Cn[a++]=null;var m=Cn[a];Cn[a++]=null;var g=Cn[a];if(Cn[a++]=null,c!==null&&m!==null){var S=c.pending;S===null?m.next=m:(m.next=S.next,S.next=m),c.pending=m}g!==0&&Rm(o,m,g)}}function ps(n,a,o,c){Cn[Cr++]=n,Cn[Cr++]=a,Cn[Cr++]=o,Cn[Cr++]=c,cf|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function uf(n,a,o,c){return ps(n,a,o,c),gs(n)}function La(n,a){return ps(n,null,null,a),gs(n)}function Rm(n,a,o){n.lanes|=o;var c=n.alternate;c!==null&&(c.lanes|=o);for(var m=!1,g=n.return;g!==null;)g.childLanes|=o,c=g.alternate,c!==null&&(c.childLanes|=o),g.tag===22&&(n=g.stateNode,n===null||n._visibility&1||(m=!0)),n=g,g=g.return;return n.tag===3?(g=n.stateNode,m&&a!==null&&(m=31-an(o),n=g.hiddenUpdates,c=n[m],c===null?n[m]=[a]:c.push(a),a.lane=o|536870912),g):null}function gs(n){if(50<lo)throw lo=0,yd=null,Error(r(185));for(var a=n.return;a!==null;)n=a,a=n.return;return n.tag===3?n.stateNode:null}var Tr={};function K7(n,a,o,c){this.tag=n,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function on(n,a,o,c){return new K7(n,a,o,c)}function ff(n){return n=n.prototype,!(!n||!n.isReactComponent)}function sl(n,a){var o=n.alternate;return o===null?(o=on(n.tag,a,n.key,n.mode),o.elementType=n.elementType,o.type=n.type,o.stateNode=n.stateNode,o.alternate=n,n.alternate=o):(o.pendingProps=a,o.type=n.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=n.flags&65011712,o.childLanes=n.childLanes,o.lanes=n.lanes,o.child=n.child,o.memoizedProps=n.memoizedProps,o.memoizedState=n.memoizedState,o.updateQueue=n.updateQueue,a=n.dependencies,o.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},o.sibling=n.sibling,o.index=n.index,o.ref=n.ref,o.refCleanup=n.refCleanup,o}function Mm(n,a){n.flags&=65011714;var o=n.alternate;return o===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=o.childLanes,n.lanes=o.lanes,n.child=o.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=o.memoizedProps,n.memoizedState=o.memoizedState,n.updateQueue=o.updateQueue,n.type=o.type,a=o.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),n}function bs(n,a,o,c,m,g){var S=0;if(c=n,typeof n=="function")ff(n)&&(S=1);else if(typeof n=="string")S=GS(n,o,ce.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case U:return n=on(31,o,a,m),n.elementType=U,n.lanes=g,n;case T:return ka(o.children,m,g,a);case C:S=8,m|=24;break;case N:return n=on(12,o,a,m|2),n.elementType=N,n.lanes=g,n;case B:return n=on(13,o,a,m),n.elementType=B,n.lanes=g,n;case G:return n=on(19,o,a,m),n.elementType=G,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case L:S=10;break e;case M:S=9;break e;case k:S=11;break e;case $:S=14;break e;case A:S=16,c=null;break e}S=29,o=Error(r(130,n===null?"null":typeof n,"")),c=null}return a=on(S,o,a,m),a.elementType=n,a.type=c,a.lanes=g,a}function ka(n,a,o,c){return n=on(7,n,c,a),n.lanes=o,n}function df(n,a,o){return n=on(6,n,null,a),n.lanes=o,n}function Am(n){var a=on(18,null,null,0);return a.stateNode=n,a}function hf(n,a,o){return a=on(4,n.children!==null?n.children:[],n.key,a),a.lanes=o,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var Lm=new WeakMap;function Tn(n,a){if(typeof n=="object"&&n!==null){var o=Lm.get(n);return o!==void 0?o:(a={value:n,source:a,stack:Sn(a)},Lm.set(n,a),a)}return{value:n,source:a,stack:Sn(a)}}var Rr=[],Mr=0,vs=null,Oi=0,Rn=[],Mn=0,Ol=null,qn=1,Yn="";function cl(n,a){Rr[Mr++]=Oi,Rr[Mr++]=vs,vs=n,Oi=a}function km(n,a,o){Rn[Mn++]=qn,Rn[Mn++]=Yn,Rn[Mn++]=Ol,Ol=n;var c=qn;n=Yn;var m=32-an(c)-1;c&=~(1<<m),o+=1;var g=32-an(a)+m;if(30<g){var S=m-m%5;g=(c&(1<<S)-1).toString(32),c>>=S,m-=S,qn=1<<32-an(a)+m|o<<m|c,Yn=g+n}else qn=1<<g|o<<m|c,Yn=n}function mf(n){n.return!==null&&(cl(n,1),km(n,1,0))}function pf(n){for(;n===vs;)vs=Rr[--Mr],Rr[Mr]=null,Oi=Rr[--Mr],Rr[Mr]=null;for(;n===Ol;)Ol=Rn[--Mn],Rn[Mn]=null,Yn=Rn[--Mn],Rn[Mn]=null,qn=Rn[--Mn],Rn[Mn]=null}function Nm(n,a){Rn[Mn++]=qn,Rn[Mn++]=Yn,Rn[Mn++]=Ol,qn=a.id,Yn=a.overflow,Ol=n}var $t=null,nt=null,je=!1,jl=null,An=!1,gf=Error(r(519));function Il(n){var a=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ji(Tn(a,n)),gf}function Dm(n){var a=n.stateNode,o=n.type,c=n.memoizedProps;switch(a[Dt]=n,a[Vt]=c,o){case"dialog":$e("cancel",a),$e("close",a);break;case"iframe":case"object":case"embed":$e("load",a);break;case"video":case"audio":for(o=0;o<ro.length;o++)$e(ro[o],a);break;case"source":$e("error",a);break;case"img":case"image":case"link":$e("error",a),$e("load",a);break;case"details":$e("toggle",a);break;case"input":$e("invalid",a),_2(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":$e("invalid",a);break;case"textarea":$e("invalid",a),q2(a,c.value,c.defaultValue,c.children)}o=c.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||a.textContent===""+o||c.suppressHydrationWarning===!0||Xp(a.textContent,o)?(c.popover!=null&&($e("beforetoggle",a),$e("toggle",a)),c.onScroll!=null&&$e("scroll",a),c.onScrollEnd!=null&&$e("scrollend",a),c.onClick!=null&&(a.onclick=il),a=!0):a=!1,a||Il(n,!0)}function $m(n){for($t=n.return;$t;)switch($t.tag){case 5:case 31:case 13:An=!1;return;case 27:case 3:An=!0;return;default:$t=$t.return}}function Ar(n){if(n!==$t)return!1;if(!je)return $m(n),je=!0,!1;var a=n.tag,o;if((o=a!==3&&a!==27)&&((o=a===5)&&(o=n.type,o=!(o!=="form"&&o!=="button")||zd(n.type,n.memoizedProps)),o=!o),o&&nt&&Il(n),$m(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));nt=ag(n)}else if(a===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));nt=ag(n)}else a===27?(a=nt,Ql(n.type)?(n=Bd,Bd=null,nt=n):nt=a):nt=$t?kn(n.stateNode.nextSibling):null;return!0}function Na(){nt=$t=null,je=!1}function bf(){var n=jl;return n!==null&&(Xt===null?Xt=n:Xt.push.apply(Xt,n),jl=null),n}function ji(n){jl===null?jl=[n]:jl.push(n)}var vf=D(null),Da=null,ul=null;function Bl(n,a,o){se(vf,a._currentValue),a._currentValue=o}function fl(n){n._currentValue=vf.current,Q(vf)}function yf(n,a,o){for(;n!==null;){var c=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,c!==null&&(c.childLanes|=a)):c!==null&&(c.childLanes&a)!==a&&(c.childLanes|=a),n===o)break;n=n.return}}function xf(n,a,o,c){var m=n.child;for(m!==null&&(m.return=n);m!==null;){var g=m.dependencies;if(g!==null){var S=m.child;g=g.firstContext;e:for(;g!==null;){var R=g;g=m;for(var P=0;P<a.length;P++)if(R.context===a[P]){g.lanes|=o,R=g.alternate,R!==null&&(R.lanes|=o),yf(g.return,o,n),c||(S=null);break e}g=R.next}}else if(m.tag===18){if(S=m.return,S===null)throw Error(r(341));S.lanes|=o,g=S.alternate,g!==null&&(g.lanes|=o),yf(S,o,n),S=null}else S=m.child;if(S!==null)S.return=m;else for(S=m;S!==null;){if(S===n){S=null;break}if(m=S.sibling,m!==null){m.return=S.return,S=m;break}S=S.return}m=S}}function Lr(n,a,o,c){n=null;for(var m=a,g=!1;m!==null;){if(!g){if((m.flags&524288)!==0)g=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var S=m.alternate;if(S===null)throw Error(r(387));if(S=S.memoizedProps,S!==null){var R=m.type;rn(m.pendingProps.value,S.value)||(n!==null?n.push(R):n=[R])}}else if(m===xe.current){if(S=m.alternate,S===null)throw Error(r(387));S.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(n!==null?n.push(uo):n=[uo])}m=m.return}n!==null&&xf(a,n,o,c),a.flags|=262144}function ys(n){for(n=n.firstContext;n!==null;){if(!rn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function $a(n){Da=n,ul=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function zt(n){return zm(Da,n)}function xs(n,a){return Da===null&&$a(n),zm(n,a)}function zm(n,a){var o=a._currentValue;if(a={context:a,memoizedValue:o,next:null},ul===null){if(n===null)throw Error(r(308));ul=a,n.dependencies={lanes:0,firstContext:a},n.flags|=524288}else ul=ul.next=a;return o}var U7=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(o,c){n.push(c)}};this.abort=function(){a.aborted=!0,n.forEach(function(o){return o()})}},F7=e.unstable_scheduleCallback,V7=e.unstable_NormalPriority,gt={$$typeof:L,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Sf(){return{controller:new U7,data:new Map,refCount:0}}function Ii(n){n.refCount--,n.refCount===0&&F7(V7,function(){n.controller.abort()})}var Bi=null,wf=0,kr=0,Nr=null;function _7(n,a){if(Bi===null){var o=Bi=[];wf=0,kr=Td(),Nr={status:"pending",value:void 0,then:function(c){o.push(c)}}}return wf++,a.then(Pm,Pm),a}function Pm(){if(--wf===0&&Bi!==null){Nr!==null&&(Nr.status="fulfilled");var n=Bi;Bi=null,kr=0,Nr=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function G7(n,a){var o=[],c={status:"pending",value:null,reason:null,then:function(m){o.push(m)}};return n.then(function(){c.status="fulfilled",c.value=a;for(var m=0;m<o.length;m++)(0,o[m])(a)},function(m){for(c.status="rejected",c.reason=m,m=0;m<o.length;m++)(0,o[m])(void 0)}),c}var Om=z.S;z.S=function(n,a){yp=It(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&_7(n,a),Om!==null&&Om(n,a)};var za=D(null);function Ef(){var n=za.current;return n!==null?n:Qe.pooledCache}function Ss(n,a){a===null?se(za,za.current):se(za,a.pool)}function jm(){var n=Ef();return n===null?null:{parent:gt._currentValue,pool:n}}var Dr=Error(r(460)),Cf=Error(r(474)),ws=Error(r(542)),Es={then:function(){}};function Im(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Bm(n,a,o){switch(o=n[o],o===void 0?n.push(a):o!==a&&(a.then(il,il),a=o),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Km(n),n;default:if(typeof a.status=="string")a.then(il,il);else{if(n=Qe,n!==null&&100<n.shellSuspendCounter)throw Error(r(482));n=a,n.status="pending",n.then(function(c){if(a.status==="pending"){var m=a;m.status="fulfilled",m.value=c}},function(c){if(a.status==="pending"){var m=a;m.status="rejected",m.reason=c}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,Km(n),n}throw Oa=a,Dr}}function Pa(n){try{var a=n._init;return a(n._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(Oa=o,Dr):o}}var Oa=null;function Hm(){if(Oa===null)throw Error(r(459));var n=Oa;return Oa=null,n}function Km(n){if(n===Dr||n===ws)throw Error(r(483))}var $r=null,Hi=0;function Cs(n){var a=Hi;return Hi+=1,$r===null&&($r=[]),Bm($r,n,a)}function Ki(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function Ts(n,a){throw a.$$typeof===v?Error(r(525)):(n=Object.prototype.toString.call(a),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)))}function Um(n){function a(F,I){if(n){var X=F.deletions;X===null?(F.deletions=[I],F.flags|=16):X.push(I)}}function o(F,I){if(!n)return null;for(;I!==null;)a(F,I),I=I.sibling;return null}function c(F){for(var I=new Map;F!==null;)F.key!==null?I.set(F.key,F):I.set(F.index,F),F=F.sibling;return I}function m(F,I){return F=sl(F,I),F.index=0,F.sibling=null,F}function g(F,I,X){return F.index=X,n?(X=F.alternate,X!==null?(X=X.index,X<I?(F.flags|=67108866,I):X):(F.flags|=67108866,I)):(F.flags|=1048576,I)}function S(F){return n&&F.alternate===null&&(F.flags|=67108866),F}function R(F,I,X,ae){return I===null||I.tag!==6?(I=df(X,F.mode,ae),I.return=F,I):(I=m(I,X),I.return=F,I)}function P(F,I,X,ae){var Se=X.type;return Se===T?le(F,I,X.props.children,ae,X.key):I!==null&&(I.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===A&&Pa(Se)===I.type)?(I=m(I,X.props),Ki(I,X),I.return=F,I):(I=bs(X.type,X.key,X.props,null,F.mode,ae),Ki(I,X),I.return=F,I)}function W(F,I,X,ae){return I===null||I.tag!==4||I.stateNode.containerInfo!==X.containerInfo||I.stateNode.implementation!==X.implementation?(I=hf(X,F.mode,ae),I.return=F,I):(I=m(I,X.children||[]),I.return=F,I)}function le(F,I,X,ae,Se){return I===null||I.tag!==7?(I=ka(X,F.mode,ae,Se),I.return=F,I):(I=m(I,X),I.return=F,I)}function re(F,I,X){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return I=df(""+I,F.mode,X),I.return=F,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case w:return X=bs(I.type,I.key,I.props,null,F.mode,X),Ki(X,I),X.return=F,X;case x:return I=hf(I,F.mode,X),I.return=F,I;case A:return I=Pa(I),re(F,I,X)}if(Y(I)||te(I))return I=ka(I,F.mode,X,null),I.return=F,I;if(typeof I.then=="function")return re(F,Cs(I),X);if(I.$$typeof===L)return re(F,xs(F,I),X);Ts(F,I)}return null}function Z(F,I,X,ae){var Se=I!==null?I.key:null;if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return Se!==null?null:R(F,I,""+X,ae);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case w:return X.key===Se?P(F,I,X,ae):null;case x:return X.key===Se?W(F,I,X,ae):null;case A:return X=Pa(X),Z(F,I,X,ae)}if(Y(X)||te(X))return Se!==null?null:le(F,I,X,ae,null);if(typeof X.then=="function")return Z(F,I,Cs(X),ae);if(X.$$typeof===L)return Z(F,I,xs(F,X),ae);Ts(F,X)}return null}function ee(F,I,X,ae,Se){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return F=F.get(X)||null,R(I,F,""+ae,Se);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case w:return F=F.get(ae.key===null?X:ae.key)||null,P(I,F,ae,Se);case x:return F=F.get(ae.key===null?X:ae.key)||null,W(I,F,ae,Se);case A:return ae=Pa(ae),ee(F,I,X,ae,Se)}if(Y(ae)||te(ae))return F=F.get(X)||null,le(I,F,ae,Se,null);if(typeof ae.then=="function")return ee(F,I,X,Cs(ae),Se);if(ae.$$typeof===L)return ee(F,I,X,xs(I,ae),Se);Ts(I,ae)}return null}function be(F,I,X,ae){for(var Se=null,Ke=null,ye=I,Me=I=0,Oe=null;ye!==null&&Me<X.length;Me++){ye.index>Me?(Oe=ye,ye=null):Oe=ye.sibling;var Ue=Z(F,ye,X[Me],ae);if(Ue===null){ye===null&&(ye=Oe);break}n&&ye&&Ue.alternate===null&&a(F,ye),I=g(Ue,I,Me),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue,ye=Oe}if(Me===X.length)return o(F,ye),je&&cl(F,Me),Se;if(ye===null){for(;Me<X.length;Me++)ye=re(F,X[Me],ae),ye!==null&&(I=g(ye,I,Me),Ke===null?Se=ye:Ke.sibling=ye,Ke=ye);return je&&cl(F,Me),Se}for(ye=c(ye);Me<X.length;Me++)Oe=ee(ye,F,Me,X[Me],ae),Oe!==null&&(n&&Oe.alternate!==null&&ye.delete(Oe.key===null?Me:Oe.key),I=g(Oe,I,Me),Ke===null?Se=Oe:Ke.sibling=Oe,Ke=Oe);return n&&ye.forEach(function(la){return a(F,la)}),je&&cl(F,Me),Se}function we(F,I,X,ae){if(X==null)throw Error(r(151));for(var Se=null,Ke=null,ye=I,Me=I=0,Oe=null,Ue=X.next();ye!==null&&!Ue.done;Me++,Ue=X.next()){ye.index>Me?(Oe=ye,ye=null):Oe=ye.sibling;var la=Z(F,ye,Ue.value,ae);if(la===null){ye===null&&(ye=Oe);break}n&&ye&&la.alternate===null&&a(F,ye),I=g(la,I,Me),Ke===null?Se=la:Ke.sibling=la,Ke=la,ye=Oe}if(Ue.done)return o(F,ye),je&&cl(F,Me),Se;if(ye===null){for(;!Ue.done;Me++,Ue=X.next())Ue=re(F,Ue.value,ae),Ue!==null&&(I=g(Ue,I,Me),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue);return je&&cl(F,Me),Se}for(ye=c(ye);!Ue.done;Me++,Ue=X.next())Ue=ee(ye,F,Me,Ue.value,ae),Ue!==null&&(n&&Ue.alternate!==null&&ye.delete(Ue.key===null?Me:Ue.key),I=g(Ue,I,Me),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue);return n&&ye.forEach(function(l8){return a(F,l8)}),je&&cl(F,Me),Se}function Ze(F,I,X,ae){if(typeof X=="object"&&X!==null&&X.type===T&&X.key===null&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case w:e:{for(var Se=X.key;I!==null;){if(I.key===Se){if(Se=X.type,Se===T){if(I.tag===7){o(F,I.sibling),ae=m(I,X.props.children),ae.return=F,F=ae;break e}}else if(I.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===A&&Pa(Se)===I.type){o(F,I.sibling),ae=m(I,X.props),Ki(ae,X),ae.return=F,F=ae;break e}o(F,I);break}else a(F,I);I=I.sibling}X.type===T?(ae=ka(X.props.children,F.mode,ae,X.key),ae.return=F,F=ae):(ae=bs(X.type,X.key,X.props,null,F.mode,ae),Ki(ae,X),ae.return=F,F=ae)}return S(F);case x:e:{for(Se=X.key;I!==null;){if(I.key===Se)if(I.tag===4&&I.stateNode.containerInfo===X.containerInfo&&I.stateNode.implementation===X.implementation){o(F,I.sibling),ae=m(I,X.children||[]),ae.return=F,F=ae;break e}else{o(F,I);break}else a(F,I);I=I.sibling}ae=hf(X,F.mode,ae),ae.return=F,F=ae}return S(F);case A:return X=Pa(X),Ze(F,I,X,ae)}if(Y(X))return be(F,I,X,ae);if(te(X)){if(Se=te(X),typeof Se!="function")throw Error(r(150));return X=Se.call(X),we(F,I,X,ae)}if(typeof X.then=="function")return Ze(F,I,Cs(X),ae);if(X.$$typeof===L)return Ze(F,I,xs(F,X),ae);Ts(F,X)}return typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint"?(X=""+X,I!==null&&I.tag===6?(o(F,I.sibling),ae=m(I,X),ae.return=F,F=ae):(o(F,I),ae=df(X,F.mode,ae),ae.return=F,F=ae),S(F)):o(F,I)}return function(F,I,X,ae){try{Hi=0;var Se=Ze(F,I,X,ae);return $r=null,Se}catch(ye){if(ye===Dr||ye===ws)throw ye;var Ke=on(29,ye,null,F.mode);return Ke.lanes=ae,Ke.return=F,Ke}finally{}}}var ja=Um(!0),Fm=Um(!1),Hl=!1;function Tf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Rf(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Kl(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Ul(n,a,o){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(Ve&2)!==0){var m=c.pending;return m===null?a.next=a:(a.next=m.next,m.next=a),c.pending=a,a=gs(n),Rm(n,null,o),a}return ps(n,c,a,o),gs(n)}function Ui(n,a,o){if(a=a.updateQueue,a!==null&&(a=a.shared,(o&4194048)!==0)){var c=a.lanes;c&=n.pendingLanes,o|=c,a.lanes=o,z2(n,o)}}function Mf(n,a){var o=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,o===c)){var m=null,g=null;if(o=o.firstBaseUpdate,o!==null){do{var S={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};g===null?m=g=S:g=g.next=S,o=o.next}while(o!==null);g===null?m=g=a:g=g.next=a}else m=g=a;o={baseState:c.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:c.shared,callbacks:c.callbacks},n.updateQueue=o;return}n=o.lastBaseUpdate,n===null?o.firstBaseUpdate=a:n.next=a,o.lastBaseUpdate=a}var Af=!1;function Fi(){if(Af){var n=Nr;if(n!==null)throw n}}function Vi(n,a,o,c){Af=!1;var m=n.updateQueue;Hl=!1;var g=m.firstBaseUpdate,S=m.lastBaseUpdate,R=m.shared.pending;if(R!==null){m.shared.pending=null;var P=R,W=P.next;P.next=null,S===null?g=W:S.next=W,S=P;var le=n.alternate;le!==null&&(le=le.updateQueue,R=le.lastBaseUpdate,R!==S&&(R===null?le.firstBaseUpdate=W:R.next=W,le.lastBaseUpdate=P))}if(g!==null){var re=m.baseState;S=0,le=W=P=null,R=g;do{var Z=R.lane&-536870913,ee=Z!==R.lane;if(ee?(Pe&Z)===Z:(c&Z)===Z){Z!==0&&Z===kr&&(Af=!0),le!==null&&(le=le.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var be=n,we=R;Z=a;var Ze=o;switch(we.tag){case 1:if(be=we.payload,typeof be=="function"){re=be.call(Ze,re,Z);break e}re=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=we.payload,Z=typeof be=="function"?be.call(Ze,re,Z):be,Z==null)break e;re=b({},re,Z);break e;case 2:Hl=!0}}Z=R.callback,Z!==null&&(n.flags|=64,ee&&(n.flags|=8192),ee=m.callbacks,ee===null?m.callbacks=[Z]:ee.push(Z))}else ee={lane:Z,tag:R.tag,payload:R.payload,callback:R.callback,next:null},le===null?(W=le=ee,P=re):le=le.next=ee,S|=Z;if(R=R.next,R===null){if(R=m.shared.pending,R===null)break;ee=R,R=ee.next,ee.next=null,m.lastBaseUpdate=ee,m.shared.pending=null}}while(!0);le===null&&(P=re),m.baseState=P,m.firstBaseUpdate=W,m.lastBaseUpdate=le,g===null&&(m.shared.lanes=0),ql|=S,n.lanes=S,n.memoizedState=re}}function Vm(n,a){if(typeof n!="function")throw Error(r(191,n));n.call(a)}function _m(n,a){var o=n.callbacks;if(o!==null)for(n.callbacks=null,n=0;n<o.length;n++)Vm(o[n],a)}var zr=D(null),Rs=D(0);function Gm(n,a){n=xl,se(Rs,n),se(zr,a),xl=n|a.baseLanes}function Lf(){se(Rs,xl),se(zr,zr.current)}function kf(){xl=Rs.current,Q(zr),Q(Rs)}var sn=D(null),Ln=null;function Fl(n){var a=n.alternate;se(ft,ft.current&1),se(sn,n),Ln===null&&(a===null||zr.current!==null||a.memoizedState!==null)&&(Ln=n)}function Nf(n){se(ft,ft.current),se(sn,n),Ln===null&&(Ln=n)}function qm(n){n.tag===22?(se(ft,ft.current),se(sn,n),Ln===null&&(Ln=n)):Vl()}function Vl(){se(ft,ft.current),se(sn,sn.current)}function cn(n){Q(sn),Ln===n&&(Ln=null),Q(ft)}var ft=D(0);function Ms(n){for(var a=n;a!==null;){if(a.tag===13){var o=a.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||jd(o)||Id(o)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var dl=0,Re=null,Xe=null,bt=null,As=!1,Pr=!1,Ia=!1,Ls=0,_i=0,Or=null,q7=0;function ot(){throw Error(r(321))}function Df(n,a){if(a===null)return!1;for(var o=0;o<a.length&&o<n.length;o++)if(!rn(n[o],a[o]))return!1;return!0}function $f(n,a,o,c,m,g){return dl=g,Re=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,z.H=n===null||n.memoizedState===null?k1:Yf,Ia=!1,g=o(c,m),Ia=!1,Pr&&(g=Xm(a,o,c,m)),Ym(n),g}function Ym(n){z.H=Yi;var a=Xe!==null&&Xe.next!==null;if(dl=0,bt=Xe=Re=null,As=!1,_i=0,Or=null,a)throw Error(r(300));n===null||vt||(n=n.dependencies,n!==null&&ys(n)&&(vt=!0))}function Xm(n,a,o,c){Re=n;var m=0;do{if(Pr&&(Or=null),_i=0,Pr=!1,25<=m)throw Error(r(301));if(m+=1,bt=Xe=null,n.updateQueue!=null){var g=n.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}z.H=N1,g=a(o,c)}while(Pr);return g}function Y7(){var n=z.H,a=n.useState()[0];return a=typeof a.then=="function"?Gi(a):a,n=n.useState()[0],(Xe!==null?Xe.memoizedState:null)!==n&&(Re.flags|=1024),a}function zf(){var n=Ls!==0;return Ls=0,n}function Pf(n,a,o){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~o}function Of(n){if(As){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}As=!1}dl=0,bt=Xe=Re=null,Pr=!1,_i=Ls=0,Or=null}function Kt(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bt===null?Re.memoizedState=bt=n:bt=bt.next=n,bt}function dt(){if(Xe===null){var n=Re.alternate;n=n!==null?n.memoizedState:null}else n=Xe.next;var a=bt===null?Re.memoizedState:bt.next;if(a!==null)bt=a,Xe=n;else{if(n===null)throw Re.alternate===null?Error(r(467)):Error(r(310));Xe=n,n={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},bt===null?Re.memoizedState=bt=n:bt=bt.next=n}return bt}function ks(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Gi(n){var a=_i;return _i+=1,Or===null&&(Or=[]),n=Bm(Or,n,a),a=Re,(bt===null?a.memoizedState:bt.next)===null&&(a=a.alternate,z.H=a===null||a.memoizedState===null?k1:Yf),n}function Ns(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Gi(n);if(n.$$typeof===L)return zt(n)}throw Error(r(438,String(n)))}function jf(n){var a=null,o=Re.updateQueue;if(o!==null&&(a=o.memoCache),a==null){var c=Re.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(a={data:c.data.map(function(m){return m.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),o===null&&(o=ks(),Re.updateQueue=o),o.memoCache=a,o=a.data[a.index],o===void 0)for(o=a.data[a.index]=Array(n),c=0;c<n;c++)o[c]=K;return a.index++,o}function hl(n,a){return typeof a=="function"?a(n):a}function Ds(n){var a=dt();return If(a,Xe,n)}function If(n,a,o){var c=n.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=o;var m=n.baseQueue,g=c.pending;if(g!==null){if(m!==null){var S=m.next;m.next=g.next,g.next=S}a.baseQueue=m=g,c.pending=null}if(g=n.baseState,m===null)n.memoizedState=g;else{a=m.next;var R=S=null,P=null,W=a,le=!1;do{var re=W.lane&-536870913;if(re!==W.lane?(Pe&re)===re:(dl&re)===re){var Z=W.revertLane;if(Z===0)P!==null&&(P=P.next={lane:0,revertLane:0,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),re===kr&&(le=!0);else if((dl&Z)===Z){W=W.next,Z===kr&&(le=!0);continue}else re={lane:0,revertLane:W.revertLane,gesture:null,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},P===null?(R=P=re,S=g):P=P.next=re,Re.lanes|=Z,ql|=Z;re=W.action,Ia&&o(g,re),g=W.hasEagerState?W.eagerState:o(g,re)}else Z={lane:re,revertLane:W.revertLane,gesture:W.gesture,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},P===null?(R=P=Z,S=g):P=P.next=Z,Re.lanes|=re,ql|=re;W=W.next}while(W!==null&&W!==a);if(P===null?S=g:P.next=R,!rn(g,n.memoizedState)&&(vt=!0,le&&(o=Nr,o!==null)))throw o;n.memoizedState=g,n.baseState=S,n.baseQueue=P,c.lastRenderedState=g}return m===null&&(c.lanes=0),[n.memoizedState,c.dispatch]}function Bf(n){var a=dt(),o=a.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=n;var c=o.dispatch,m=o.pending,g=a.memoizedState;if(m!==null){o.pending=null;var S=m=m.next;do g=n(g,S.action),S=S.next;while(S!==m);rn(g,a.memoizedState)||(vt=!0),a.memoizedState=g,a.baseQueue===null&&(a.baseState=g),o.lastRenderedState=g}return[g,c]}function Wm(n,a,o){var c=Re,m=dt(),g=je;if(g){if(o===void 0)throw Error(r(407));o=o()}else o=a();var S=!rn((Xe||m).memoizedState,o);if(S&&(m.memoizedState=o,vt=!0),m=m.queue,Uf(Jm.bind(null,c,m,n),[n]),m.getSnapshot!==a||S||bt!==null&&bt.memoizedState.tag&1){if(c.flags|=2048,jr(9,{destroy:void 0},Qm.bind(null,c,m,o,a),null),Qe===null)throw Error(r(349));g||(dl&127)!==0||Zm(c,a,o)}return o}function Zm(n,a,o){n.flags|=16384,n={getSnapshot:a,value:o},a=Re.updateQueue,a===null?(a=ks(),Re.updateQueue=a,a.stores=[n]):(o=a.stores,o===null?a.stores=[n]:o.push(n))}function Qm(n,a,o,c){a.value=o,a.getSnapshot=c,e1(a)&&t1(n)}function Jm(n,a,o){return o(function(){e1(a)&&t1(n)})}function e1(n){var a=n.getSnapshot;n=n.value;try{var o=a();return!rn(n,o)}catch{return!0}}function t1(n){var a=La(n,2);a!==null&&Wt(a,n,2)}function Hf(n){var a=Kt();if(typeof n=="function"){var o=n;if(n=o(),Ia){$l(!0);try{o()}finally{$l(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:hl,lastRenderedState:n},a}function n1(n,a,o,c){return n.baseState=o,If(n,Xe,typeof c=="function"?c:hl)}function X7(n,a,o,c,m){if(Ps(n))throw Error(r(485));if(n=a.action,n!==null){var g={payload:m,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){g.listeners.push(S)}};z.T!==null?o(!0):g.isTransition=!1,c(g),o=a.pending,o===null?(g.next=a.pending=g,l1(a,g)):(g.next=o.next,a.pending=o.next=g)}}function l1(n,a){var o=a.action,c=a.payload,m=n.state;if(a.isTransition){var g=z.T,S={};z.T=S;try{var R=o(m,c),P=z.S;P!==null&&P(S,R),a1(n,a,R)}catch(W){Kf(n,a,W)}finally{g!==null&&S.types!==null&&(g.types=S.types),z.T=g}}else try{g=o(m,c),a1(n,a,g)}catch(W){Kf(n,a,W)}}function a1(n,a,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(c){r1(n,a,c)},function(c){return Kf(n,a,c)}):r1(n,a,o)}function r1(n,a,o){a.status="fulfilled",a.value=o,i1(a),n.state=o,a=n.pending,a!==null&&(o=a.next,o===a?n.pending=null:(o=o.next,a.next=o,l1(n,o)))}function Kf(n,a,o){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do a.status="rejected",a.reason=o,i1(a),a=a.next;while(a!==c)}n.action=null}function i1(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function o1(n,a){return a}function s1(n,a){if(je){var o=Qe.formState;if(o!==null){e:{var c=Re;if(je){if(nt){t:{for(var m=nt,g=An;m.nodeType!==8;){if(!g){m=null;break t}if(m=kn(m.nextSibling),m===null){m=null;break t}}g=m.data,m=g==="F!"||g==="F"?m:null}if(m){nt=kn(m.nextSibling),c=m.data==="F!";break e}}Il(c)}c=!1}c&&(a=o[0])}}return o=Kt(),o.memoizedState=o.baseState=a,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o1,lastRenderedState:a},o.queue=c,o=M1.bind(null,Re,c),c.dispatch=o,c=Hf(!1),g=qf.bind(null,Re,!1,c.queue),c=Kt(),m={state:a,dispatch:null,action:n,pending:null},c.queue=m,o=X7.bind(null,Re,m,g,o),m.dispatch=o,c.memoizedState=n,[a,o,!1]}function c1(n){var a=dt();return u1(a,Xe,n)}function u1(n,a,o){if(a=If(n,a,o1)[0],n=Ds(hl)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var c=Gi(a)}catch(S){throw S===Dr?ws:S}else c=a;a=dt();var m=a.queue,g=m.dispatch;return o!==a.memoizedState&&(Re.flags|=2048,jr(9,{destroy:void 0},W7.bind(null,m,o),null)),[c,g,n]}function W7(n,a){n.action=a}function f1(n){var a=dt(),o=Xe;if(o!==null)return u1(a,o,n);dt(),a=a.memoizedState,o=dt();var c=o.queue.dispatch;return o.memoizedState=n,[a,c,!1]}function jr(n,a,o,c){return n={tag:n,create:o,deps:c,inst:a,next:null},a=Re.updateQueue,a===null&&(a=ks(),Re.updateQueue=a),o=a.lastEffect,o===null?a.lastEffect=n.next=n:(c=o.next,o.next=n,n.next=c,a.lastEffect=n),n}function d1(){return dt().memoizedState}function $s(n,a,o,c){var m=Kt();Re.flags|=n,m.memoizedState=jr(1|a,{destroy:void 0},o,c===void 0?null:c)}function zs(n,a,o,c){var m=dt();c=c===void 0?null:c;var g=m.memoizedState.inst;Xe!==null&&c!==null&&Df(c,Xe.memoizedState.deps)?m.memoizedState=jr(a,g,o,c):(Re.flags|=n,m.memoizedState=jr(1|a,g,o,c))}function h1(n,a){$s(8390656,8,n,a)}function Uf(n,a){zs(2048,8,n,a)}function Z7(n){Re.flags|=4;var a=Re.updateQueue;if(a===null)a=ks(),Re.updateQueue=a,a.events=[n];else{var o=a.events;o===null?a.events=[n]:o.push(n)}}function m1(n){var a=dt().memoizedState;return Z7({ref:a,nextImpl:n}),function(){if((Ve&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}function p1(n,a){return zs(4,2,n,a)}function g1(n,a){return zs(4,4,n,a)}function b1(n,a){if(typeof a=="function"){n=n();var o=a(n);return function(){typeof o=="function"?o():a(null)}}if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function v1(n,a,o){o=o!=null?o.concat([n]):null,zs(4,4,b1.bind(null,a,n),o)}function Ff(){}function y1(n,a){var o=dt();a=a===void 0?null:a;var c=o.memoizedState;return a!==null&&Df(a,c[1])?c[0]:(o.memoizedState=[n,a],n)}function x1(n,a){var o=dt();a=a===void 0?null:a;var c=o.memoizedState;if(a!==null&&Df(a,c[1]))return c[0];if(c=n(),Ia){$l(!0);try{n()}finally{$l(!1)}}return o.memoizedState=[c,a],c}function Vf(n,a,o){return o===void 0||(dl&1073741824)!==0&&(Pe&261930)===0?n.memoizedState=a:(n.memoizedState=o,n=Sp(),Re.lanes|=n,ql|=n,o)}function S1(n,a,o,c){return rn(o,a)?o:zr.current!==null?(n=Vf(n,o,c),rn(n,a)||(vt=!0),n):(dl&42)===0||(dl&1073741824)!==0&&(Pe&261930)===0?(vt=!0,n.memoizedState=o):(n=Sp(),Re.lanes|=n,ql|=n,a)}function w1(n,a,o,c,m){var g=O.p;O.p=g!==0&&8>g?g:8;var S=z.T,R={};z.T=R,qf(n,!1,a,o);try{var P=m(),W=z.S;if(W!==null&&W(R,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var le=G7(P,c);qi(n,a,le,dn(n))}else qi(n,a,c,dn(n))}catch(re){qi(n,a,{then:function(){},status:"rejected",reason:re},dn())}finally{O.p=g,S!==null&&R.types!==null&&(S.types=R.types),z.T=S}}function Q7(){}function _f(n,a,o,c){if(n.tag!==5)throw Error(r(476));var m=E1(n).queue;w1(n,m,a,oe,o===null?Q7:function(){return C1(n),o(c)})}function E1(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hl,lastRenderedState:oe},next:null};var o={};return a.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hl,lastRenderedState:o},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function C1(n){var a=E1(n);a.next===null&&(a=n.alternate.memoizedState),qi(n,a.next.queue,{},dn())}function Gf(){return zt(uo)}function T1(){return dt().memoizedState}function R1(){return dt().memoizedState}function J7(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var o=dn();n=Kl(o);var c=Ul(a,n,o);c!==null&&(Wt(c,a,o),Ui(c,a,o)),a={cache:Sf()},n.payload=a;return}a=a.return}}function eS(n,a,o){var c=dn();o={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Ps(n)?A1(a,o):(o=uf(n,a,o,c),o!==null&&(Wt(o,n,c),L1(o,a,c)))}function M1(n,a,o){var c=dn();qi(n,a,o,c)}function qi(n,a,o,c){var m={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Ps(n))A1(a,m);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=a.lastRenderedReducer,g!==null))try{var S=a.lastRenderedState,R=g(S,o);if(m.hasEagerState=!0,m.eagerState=R,rn(R,S))return ps(n,a,m,0),Qe===null&&ms(),!1}catch{}finally{}if(o=uf(n,a,m,c),o!==null)return Wt(o,n,c),L1(o,a,c),!0}return!1}function qf(n,a,o,c){if(c={lane:2,revertLane:Td(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Ps(n)){if(a)throw Error(r(479))}else a=uf(n,o,c,2),a!==null&&Wt(a,n,2)}function Ps(n){var a=n.alternate;return n===Re||a!==null&&a===Re}function A1(n,a){Pr=As=!0;var o=n.pending;o===null?a.next=a:(a.next=o.next,o.next=a),n.pending=a}function L1(n,a,o){if((o&4194048)!==0){var c=a.lanes;c&=n.pendingLanes,o|=c,a.lanes=o,z2(n,o)}}var Yi={readContext:zt,use:Ns,useCallback:ot,useContext:ot,useEffect:ot,useImperativeHandle:ot,useLayoutEffect:ot,useInsertionEffect:ot,useMemo:ot,useReducer:ot,useRef:ot,useState:ot,useDebugValue:ot,useDeferredValue:ot,useTransition:ot,useSyncExternalStore:ot,useId:ot,useHostTransitionStatus:ot,useFormState:ot,useActionState:ot,useOptimistic:ot,useMemoCache:ot,useCacheRefresh:ot};Yi.useEffectEvent=ot;var k1={readContext:zt,use:Ns,useCallback:function(n,a){return Kt().memoizedState=[n,a===void 0?null:a],n},useContext:zt,useEffect:h1,useImperativeHandle:function(n,a,o){o=o!=null?o.concat([n]):null,$s(4194308,4,b1.bind(null,a,n),o)},useLayoutEffect:function(n,a){return $s(4194308,4,n,a)},useInsertionEffect:function(n,a){$s(4,2,n,a)},useMemo:function(n,a){var o=Kt();a=a===void 0?null:a;var c=n();if(Ia){$l(!0);try{n()}finally{$l(!1)}}return o.memoizedState=[c,a],c},useReducer:function(n,a,o){var c=Kt();if(o!==void 0){var m=o(a);if(Ia){$l(!0);try{o(a)}finally{$l(!1)}}}else m=a;return c.memoizedState=c.baseState=m,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:m},c.queue=n,n=n.dispatch=eS.bind(null,Re,n),[c.memoizedState,n]},useRef:function(n){var a=Kt();return n={current:n},a.memoizedState=n},useState:function(n){n=Hf(n);var a=n.queue,o=M1.bind(null,Re,a);return a.dispatch=o,[n.memoizedState,o]},useDebugValue:Ff,useDeferredValue:function(n,a){var o=Kt();return Vf(o,n,a)},useTransition:function(){var n=Hf(!1);return n=w1.bind(null,Re,n.queue,!0,!1),Kt().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,o){var c=Re,m=Kt();if(je){if(o===void 0)throw Error(r(407));o=o()}else{if(o=a(),Qe===null)throw Error(r(349));(Pe&127)!==0||Zm(c,a,o)}m.memoizedState=o;var g={value:o,getSnapshot:a};return m.queue=g,h1(Jm.bind(null,c,g,n),[n]),c.flags|=2048,jr(9,{destroy:void 0},Qm.bind(null,c,g,o,a),null),o},useId:function(){var n=Kt(),a=Qe.identifierPrefix;if(je){var o=Yn,c=qn;o=(c&~(1<<32-an(c)-1)).toString(32)+o,a="_"+a+"R_"+o,o=Ls++,0<o&&(a+="H"+o.toString(32)),a+="_"}else o=q7++,a="_"+a+"r_"+o.toString(32)+"_";return n.memoizedState=a},useHostTransitionStatus:Gf,useFormState:s1,useActionState:s1,useOptimistic:function(n){var a=Kt();a.memoizedState=a.baseState=n;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=o,a=qf.bind(null,Re,!0,o),o.dispatch=a,[n,a]},useMemoCache:jf,useCacheRefresh:function(){return Kt().memoizedState=J7.bind(null,Re)},useEffectEvent:function(n){var a=Kt(),o={impl:n};return a.memoizedState=o,function(){if((Ve&2)!==0)throw Error(r(440));return o.impl.apply(void 0,arguments)}}},Yf={readContext:zt,use:Ns,useCallback:y1,useContext:zt,useEffect:Uf,useImperativeHandle:v1,useInsertionEffect:p1,useLayoutEffect:g1,useMemo:x1,useReducer:Ds,useRef:d1,useState:function(){return Ds(hl)},useDebugValue:Ff,useDeferredValue:function(n,a){var o=dt();return S1(o,Xe.memoizedState,n,a)},useTransition:function(){var n=Ds(hl)[0],a=dt().memoizedState;return[typeof n=="boolean"?n:Gi(n),a]},useSyncExternalStore:Wm,useId:T1,useHostTransitionStatus:Gf,useFormState:c1,useActionState:c1,useOptimistic:function(n,a){var o=dt();return n1(o,Xe,n,a)},useMemoCache:jf,useCacheRefresh:R1};Yf.useEffectEvent=m1;var N1={readContext:zt,use:Ns,useCallback:y1,useContext:zt,useEffect:Uf,useImperativeHandle:v1,useInsertionEffect:p1,useLayoutEffect:g1,useMemo:x1,useReducer:Bf,useRef:d1,useState:function(){return Bf(hl)},useDebugValue:Ff,useDeferredValue:function(n,a){var o=dt();return Xe===null?Vf(o,n,a):S1(o,Xe.memoizedState,n,a)},useTransition:function(){var n=Bf(hl)[0],a=dt().memoizedState;return[typeof n=="boolean"?n:Gi(n),a]},useSyncExternalStore:Wm,useId:T1,useHostTransitionStatus:Gf,useFormState:f1,useActionState:f1,useOptimistic:function(n,a){var o=dt();return Xe!==null?n1(o,Xe,n,a):(o.baseState=n,[n,o.queue.dispatch])},useMemoCache:jf,useCacheRefresh:R1};N1.useEffectEvent=m1;function Xf(n,a,o,c){a=n.memoizedState,o=o(c,a),o=o==null?a:b({},a,o),n.memoizedState=o,n.lanes===0&&(n.updateQueue.baseState=o)}var Wf={enqueueSetState:function(n,a,o){n=n._reactInternals;var c=dn(),m=Kl(c);m.payload=a,o!=null&&(m.callback=o),a=Ul(n,m,c),a!==null&&(Wt(a,n,c),Ui(a,n,c))},enqueueReplaceState:function(n,a,o){n=n._reactInternals;var c=dn(),m=Kl(c);m.tag=1,m.payload=a,o!=null&&(m.callback=o),a=Ul(n,m,c),a!==null&&(Wt(a,n,c),Ui(a,n,c))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var o=dn(),c=Kl(o);c.tag=2,a!=null&&(c.callback=a),a=Ul(n,c,o),a!==null&&(Wt(a,n,o),Ui(a,n,o))}};function D1(n,a,o,c,m,g,S){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,g,S):a.prototype&&a.prototype.isPureReactComponent?!zi(o,c)||!zi(m,g):!0}function $1(n,a,o,c){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(o,c),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(o,c),a.state!==n&&Wf.enqueueReplaceState(a,a.state,null)}function Ba(n,a){var o=a;if("ref"in a){o={};for(var c in a)c!=="ref"&&(o[c]=a[c])}if(n=n.defaultProps){o===a&&(o=b({},o));for(var m in n)o[m]===void 0&&(o[m]=n[m])}return o}function z1(n){hs(n)}function P1(n){console.error(n)}function O1(n){hs(n)}function Os(n,a){try{var o=n.onUncaughtError;o(a.value,{componentStack:a.stack})}catch(c){setTimeout(function(){throw c})}}function j1(n,a,o){try{var c=n.onCaughtError;c(o.value,{componentStack:o.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function Zf(n,a,o){return o=Kl(o),o.tag=3,o.payload={element:null},o.callback=function(){Os(n,a)},o}function I1(n){return n=Kl(n),n.tag=3,n}function B1(n,a,o,c){var m=o.type.getDerivedStateFromError;if(typeof m=="function"){var g=c.value;n.payload=function(){return m(g)},n.callback=function(){j1(a,o,c)}}var S=o.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(n.callback=function(){j1(a,o,c),typeof m!="function"&&(Yl===null?Yl=new Set([this]):Yl.add(this));var R=c.stack;this.componentDidCatch(c.value,{componentStack:R!==null?R:""})})}function tS(n,a,o,c,m){if(o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(a=o.alternate,a!==null&&Lr(a,o,m,!0),o=sn.current,o!==null){switch(o.tag){case 31:case 13:return Ln===null?Ys():o.alternate===null&&st===0&&(st=3),o.flags&=-257,o.flags|=65536,o.lanes=m,c===Es?o.flags|=16384:(a=o.updateQueue,a===null?o.updateQueue=new Set([c]):a.add(c),wd(n,c,m)),!1;case 22:return o.flags|=65536,c===Es?o.flags|=16384:(a=o.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([c])},o.updateQueue=a):(o=a.retryQueue,o===null?a.retryQueue=new Set([c]):o.add(c)),wd(n,c,m)),!1}throw Error(r(435,o.tag))}return wd(n,c,m),Ys(),!1}if(je)return a=sn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=m,c!==gf&&(n=Error(r(422),{cause:c}),ji(Tn(n,o)))):(c!==gf&&(a=Error(r(423),{cause:c}),ji(Tn(a,o))),n=n.current.alternate,n.flags|=65536,m&=-m,n.lanes|=m,c=Tn(c,o),m=Zf(n.stateNode,c,m),Mf(n,m),st!==4&&(st=2)),!1;var g=Error(r(520),{cause:c});if(g=Tn(g,o),no===null?no=[g]:no.push(g),st!==4&&(st=2),a===null)return!0;c=Tn(c,o),o=a;do{switch(o.tag){case 3:return o.flags|=65536,n=m&-m,o.lanes|=n,n=Zf(o.stateNode,c,n),Mf(o,n),!1;case 1:if(a=o.type,g=o.stateNode,(o.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Yl===null||!Yl.has(g))))return o.flags|=65536,m&=-m,o.lanes|=m,m=I1(m),B1(m,n,o,c),Mf(o,m),!1}o=o.return}while(o!==null);return!1}var Qf=Error(r(461)),vt=!1;function Pt(n,a,o,c){a.child=n===null?Fm(a,null,o,c):ja(a,n.child,o,c)}function H1(n,a,o,c,m){o=o.render;var g=a.ref;if("ref"in c){var S={};for(var R in c)R!=="ref"&&(S[R]=c[R])}else S=c;return $a(a),c=$f(n,a,o,S,g,m),R=zf(),n!==null&&!vt?(Pf(n,a,m),ml(n,a,m)):(je&&R&&mf(a),a.flags|=1,Pt(n,a,c,m),a.child)}function K1(n,a,o,c,m){if(n===null){var g=o.type;return typeof g=="function"&&!ff(g)&&g.defaultProps===void 0&&o.compare===null?(a.tag=15,a.type=g,U1(n,a,g,c,m)):(n=bs(o.type,null,c,a,a.mode,m),n.ref=a.ref,n.return=a,a.child=n)}if(g=n.child,!id(n,m)){var S=g.memoizedProps;if(o=o.compare,o=o!==null?o:zi,o(S,c)&&n.ref===a.ref)return ml(n,a,m)}return a.flags|=1,n=sl(g,c),n.ref=a.ref,n.return=a,a.child=n}function U1(n,a,o,c,m){if(n!==null){var g=n.memoizedProps;if(zi(g,c)&&n.ref===a.ref)if(vt=!1,a.pendingProps=c=g,id(n,m))(n.flags&131072)!==0&&(vt=!0);else return a.lanes=n.lanes,ml(n,a,m)}return Jf(n,a,o,c,m)}function F1(n,a,o,c){var m=c.children,g=n!==null?n.memoizedState:null;if(n===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((a.flags&128)!==0){if(g=g!==null?g.baseLanes|o:o,n!==null){for(c=a.child=n.child,m=0;c!==null;)m=m|c.lanes|c.childLanes,c=c.sibling;c=m&~g}else c=0,a.child=null;return V1(n,a,g,o,c)}if((o&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&Ss(a,g!==null?g.cachePool:null),g!==null?Gm(a,g):Lf(),qm(a);else return c=a.lanes=536870912,V1(n,a,g!==null?g.baseLanes|o:o,o,c)}else g!==null?(Ss(a,g.cachePool),Gm(a,g),Vl(),a.memoizedState=null):(n!==null&&Ss(a,null),Lf(),Vl());return Pt(n,a,m,o),a.child}function Xi(n,a){return n!==null&&n.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function V1(n,a,o,c,m){var g=Ef();return g=g===null?null:{parent:gt._currentValue,pool:g},a.memoizedState={baseLanes:o,cachePool:g},n!==null&&Ss(a,null),Lf(),qm(a),n!==null&&Lr(n,a,c,!0),a.childLanes=m,null}function js(n,a){return a=Bs({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function _1(n,a,o){return ja(a,n.child,null,o),n=js(a,a.pendingProps),n.flags|=2,cn(a),a.memoizedState=null,n}function nS(n,a,o){var c=a.pendingProps,m=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(je){if(c.mode==="hidden")return n=js(a,c),a.lanes=536870912,Xi(null,n);if(Nf(a),(n=nt)?(n=lg(n,An),n=n!==null&&n.data==="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:Ol!==null?{id:qn,overflow:Yn}:null,retryLane:536870912,hydrationErrors:null},o=Am(n),o.return=a,a.child=o,$t=a,nt=null)):n=null,n===null)throw Il(a);return a.lanes=536870912,null}return js(a,c)}var g=n.memoizedState;if(g!==null){var S=g.dehydrated;if(Nf(a),m)if(a.flags&256)a.flags&=-257,a=_1(n,a,o);else if(a.memoizedState!==null)a.child=n.child,a.flags|=128,a=null;else throw Error(r(558));else if(vt||Lr(n,a,o,!1),m=(o&n.childLanes)!==0,vt||m){if(c=Qe,c!==null&&(S=P2(c,o),S!==0&&S!==g.retryLane))throw g.retryLane=S,La(n,S),Wt(c,n,S),Qf;Ys(),a=_1(n,a,o)}else n=g.treeContext,nt=kn(S.nextSibling),$t=a,je=!0,jl=null,An=!1,n!==null&&Nm(a,n),a=js(a,c),a.flags|=4096;return a}return n=sl(n.child,{mode:c.mode,children:c.children}),n.ref=a.ref,a.child=n,n.return=a,n}function Is(n,a){var o=a.ref;if(o===null)n!==null&&n.ref!==null&&(a.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(r(284));(n===null||n.ref!==o)&&(a.flags|=4194816)}}function Jf(n,a,o,c,m){return $a(a),o=$f(n,a,o,c,void 0,m),c=zf(),n!==null&&!vt?(Pf(n,a,m),ml(n,a,m)):(je&&c&&mf(a),a.flags|=1,Pt(n,a,o,m),a.child)}function G1(n,a,o,c,m,g){return $a(a),a.updateQueue=null,o=Xm(a,c,o,m),Ym(n),c=zf(),n!==null&&!vt?(Pf(n,a,g),ml(n,a,g)):(je&&c&&mf(a),a.flags|=1,Pt(n,a,o,g),a.child)}function q1(n,a,o,c,m){if($a(a),a.stateNode===null){var g=Tr,S=o.contextType;typeof S=="object"&&S!==null&&(g=zt(S)),g=new o(c,g),a.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=Wf,a.stateNode=g,g._reactInternals=a,g=a.stateNode,g.props=c,g.state=a.memoizedState,g.refs={},Tf(a),S=o.contextType,g.context=typeof S=="object"&&S!==null?zt(S):Tr,g.state=a.memoizedState,S=o.getDerivedStateFromProps,typeof S=="function"&&(Xf(a,o,S,c),g.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(S=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),S!==g.state&&Wf.enqueueReplaceState(g,g.state,null),Vi(a,c,g,m),Fi(),g.state=a.memoizedState),typeof g.componentDidMount=="function"&&(a.flags|=4194308),c=!0}else if(n===null){g=a.stateNode;var R=a.memoizedProps,P=Ba(o,R);g.props=P;var W=g.context,le=o.contextType;S=Tr,typeof le=="object"&&le!==null&&(S=zt(le));var re=o.getDerivedStateFromProps;le=typeof re=="function"||typeof g.getSnapshotBeforeUpdate=="function",R=a.pendingProps!==R,le||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(R||W!==S)&&$1(a,g,c,S),Hl=!1;var Z=a.memoizedState;g.state=Z,Vi(a,c,g,m),Fi(),W=a.memoizedState,R||Z!==W||Hl?(typeof re=="function"&&(Xf(a,o,re,c),W=a.memoizedState),(P=Hl||D1(a,o,P,c,Z,W,S))?(le||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(a.flags|=4194308)):(typeof g.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=c,a.memoizedState=W),g.props=c,g.state=W,g.context=S,c=P):(typeof g.componentDidMount=="function"&&(a.flags|=4194308),c=!1)}else{g=a.stateNode,Rf(n,a),S=a.memoizedProps,le=Ba(o,S),g.props=le,re=a.pendingProps,Z=g.context,W=o.contextType,P=Tr,typeof W=="object"&&W!==null&&(P=zt(W)),R=o.getDerivedStateFromProps,(W=typeof R=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(S!==re||Z!==P)&&$1(a,g,c,P),Hl=!1,Z=a.memoizedState,g.state=Z,Vi(a,c,g,m),Fi();var ee=a.memoizedState;S!==re||Z!==ee||Hl||n!==null&&n.dependencies!==null&&ys(n.dependencies)?(typeof R=="function"&&(Xf(a,o,R,c),ee=a.memoizedState),(le=Hl||D1(a,o,le,c,Z,ee,P)||n!==null&&n.dependencies!==null&&ys(n.dependencies))?(W||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,ee,P),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,ee,P)),typeof g.componentDidUpdate=="function"&&(a.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof g.componentDidUpdate!="function"||S===n.memoizedProps&&Z===n.memoizedState||(a.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===n.memoizedProps&&Z===n.memoizedState||(a.flags|=1024),a.memoizedProps=c,a.memoizedState=ee),g.props=c,g.state=ee,g.context=P,c=le):(typeof g.componentDidUpdate!="function"||S===n.memoizedProps&&Z===n.memoizedState||(a.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===n.memoizedProps&&Z===n.memoizedState||(a.flags|=1024),c=!1)}return g=c,Is(n,a),c=(a.flags&128)!==0,g||c?(g=a.stateNode,o=c&&typeof o.getDerivedStateFromError!="function"?null:g.render(),a.flags|=1,n!==null&&c?(a.child=ja(a,n.child,null,m),a.child=ja(a,null,o,m)):Pt(n,a,o,m),a.memoizedState=g.state,n=a.child):n=ml(n,a,m),n}function Y1(n,a,o,c){return Na(),a.flags|=256,Pt(n,a,o,c),a.child}var ed={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function td(n){return{baseLanes:n,cachePool:jm()}}function nd(n,a,o){return n=n!==null?n.childLanes&~o:0,a&&(n|=fn),n}function X1(n,a,o){var c=a.pendingProps,m=!1,g=(a.flags&128)!==0,S;if((S=g)||(S=n!==null&&n.memoizedState===null?!1:(ft.current&2)!==0),S&&(m=!0,a.flags&=-129),S=(a.flags&32)!==0,a.flags&=-33,n===null){if(je){if(m?Fl(a):Vl(),(n=nt)?(n=lg(n,An),n=n!==null&&n.data!=="&"?n:null,n!==null&&(a.memoizedState={dehydrated:n,treeContext:Ol!==null?{id:qn,overflow:Yn}:null,retryLane:536870912,hydrationErrors:null},o=Am(n),o.return=a,a.child=o,$t=a,nt=null)):n=null,n===null)throw Il(a);return Id(n)?a.lanes=32:a.lanes=536870912,null}var R=c.children;return c=c.fallback,m?(Vl(),m=a.mode,R=Bs({mode:"hidden",children:R},m),c=ka(c,m,o,null),R.return=a,c.return=a,R.sibling=c,a.child=R,c=a.child,c.memoizedState=td(o),c.childLanes=nd(n,S,o),a.memoizedState=ed,Xi(null,c)):(Fl(a),ld(a,R))}var P=n.memoizedState;if(P!==null&&(R=P.dehydrated,R!==null)){if(g)a.flags&256?(Fl(a),a.flags&=-257,a=ad(n,a,o)):a.memoizedState!==null?(Vl(),a.child=n.child,a.flags|=128,a=null):(Vl(),R=c.fallback,m=a.mode,c=Bs({mode:"visible",children:c.children},m),R=ka(R,m,o,null),R.flags|=2,c.return=a,R.return=a,c.sibling=R,a.child=c,ja(a,n.child,null,o),c=a.child,c.memoizedState=td(o),c.childLanes=nd(n,S,o),a.memoizedState=ed,a=Xi(null,c));else if(Fl(a),Id(R)){if(S=R.nextSibling&&R.nextSibling.dataset,S)var W=S.dgst;S=W,c=Error(r(419)),c.stack="",c.digest=S,ji({value:c,source:null,stack:null}),a=ad(n,a,o)}else if(vt||Lr(n,a,o,!1),S=(o&n.childLanes)!==0,vt||S){if(S=Qe,S!==null&&(c=P2(S,o),c!==0&&c!==P.retryLane))throw P.retryLane=c,La(n,c),Wt(S,n,c),Qf;jd(R)||Ys(),a=ad(n,a,o)}else jd(R)?(a.flags|=192,a.child=n.child,a=null):(n=P.treeContext,nt=kn(R.nextSibling),$t=a,je=!0,jl=null,An=!1,n!==null&&Nm(a,n),a=ld(a,c.children),a.flags|=4096);return a}return m?(Vl(),R=c.fallback,m=a.mode,P=n.child,W=P.sibling,c=sl(P,{mode:"hidden",children:c.children}),c.subtreeFlags=P.subtreeFlags&65011712,W!==null?R=sl(W,R):(R=ka(R,m,o,null),R.flags|=2),R.return=a,c.return=a,c.sibling=R,a.child=c,Xi(null,c),c=a.child,R=n.child.memoizedState,R===null?R=td(o):(m=R.cachePool,m!==null?(P=gt._currentValue,m=m.parent!==P?{parent:P,pool:P}:m):m=jm(),R={baseLanes:R.baseLanes|o,cachePool:m}),c.memoizedState=R,c.childLanes=nd(n,S,o),a.memoizedState=ed,Xi(n.child,c)):(Fl(a),o=n.child,n=o.sibling,o=sl(o,{mode:"visible",children:c.children}),o.return=a,o.sibling=null,n!==null&&(S=a.deletions,S===null?(a.deletions=[n],a.flags|=16):S.push(n)),a.child=o,a.memoizedState=null,o)}function ld(n,a){return a=Bs({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function Bs(n,a){return n=on(22,n,null,a),n.lanes=0,n}function ad(n,a,o){return ja(a,n.child,null,o),n=ld(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function W1(n,a,o){n.lanes|=a;var c=n.alternate;c!==null&&(c.lanes|=a),yf(n.return,a,o)}function rd(n,a,o,c,m,g){var S=n.memoizedState;S===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:c,tail:o,tailMode:m,treeForkCount:g}:(S.isBackwards=a,S.rendering=null,S.renderingStartTime=0,S.last=c,S.tail=o,S.tailMode=m,S.treeForkCount=g)}function Z1(n,a,o){var c=a.pendingProps,m=c.revealOrder,g=c.tail;c=c.children;var S=ft.current,R=(S&2)!==0;if(R?(S=S&1|2,a.flags|=128):S&=1,se(ft,S),Pt(n,a,c,o),c=je?Oi:0,!R&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&W1(n,o,a);else if(n.tag===19)W1(n,o,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(m){case"forwards":for(o=a.child,m=null;o!==null;)n=o.alternate,n!==null&&Ms(n)===null&&(m=o),o=o.sibling;o=m,o===null?(m=a.child,a.child=null):(m=o.sibling,o.sibling=null),rd(a,!1,m,o,g,c);break;case"backwards":case"unstable_legacy-backwards":for(o=null,m=a.child,a.child=null;m!==null;){if(n=m.alternate,n!==null&&Ms(n)===null){a.child=m;break}n=m.sibling,m.sibling=o,o=m,m=n}rd(a,!0,o,null,g,c);break;case"together":rd(a,!1,null,null,void 0,c);break;default:a.memoizedState=null}return a.child}function ml(n,a,o){if(n!==null&&(a.dependencies=n.dependencies),ql|=a.lanes,(o&a.childLanes)===0)if(n!==null){if(Lr(n,a,o,!1),(o&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error(r(153));if(a.child!==null){for(n=a.child,o=sl(n,n.pendingProps),a.child=o,o.return=a;n.sibling!==null;)n=n.sibling,o=o.sibling=sl(n,n.pendingProps),o.return=a;o.sibling=null}return a.child}function id(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&ys(n)))}function lS(n,a,o){switch(a.tag){case 3:Ae(a,a.stateNode.containerInfo),Bl(a,gt,n.memoizedState.cache),Na();break;case 27:case 5:Lt(a);break;case 4:Ae(a,a.stateNode.containerInfo);break;case 10:Bl(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Nf(a),null;break;case 13:var c=a.memoizedState;if(c!==null)return c.dehydrated!==null?(Fl(a),a.flags|=128,null):(o&a.child.childLanes)!==0?X1(n,a,o):(Fl(a),n=ml(n,a,o),n!==null?n.sibling:null);Fl(a);break;case 19:var m=(n.flags&128)!==0;if(c=(o&a.childLanes)!==0,c||(Lr(n,a,o,!1),c=(o&a.childLanes)!==0),m){if(c)return Z1(n,a,o);a.flags|=128}if(m=a.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),se(ft,ft.current),c)break;return null;case 22:return a.lanes=0,F1(n,a,o,a.pendingProps);case 24:Bl(a,gt,n.memoizedState.cache)}return ml(n,a,o)}function Q1(n,a,o){if(n!==null)if(n.memoizedProps!==a.pendingProps)vt=!0;else{if(!id(n,o)&&(a.flags&128)===0)return vt=!1,lS(n,a,o);vt=(n.flags&131072)!==0}else vt=!1,je&&(a.flags&1048576)!==0&&km(a,Oi,a.index);switch(a.lanes=0,a.tag){case 16:e:{var c=a.pendingProps;if(n=Pa(a.elementType),a.type=n,typeof n=="function")ff(n)?(c=Ba(n,c),a.tag=1,a=q1(null,a,n,c,o)):(a.tag=0,a=Jf(null,a,n,c,o));else{if(n!=null){var m=n.$$typeof;if(m===k){a.tag=11,a=H1(null,a,n,c,o);break e}else if(m===$){a.tag=14,a=K1(null,a,n,c,o);break e}}throw a=j(n)||n,Error(r(306,a,""))}}return a;case 0:return Jf(n,a,a.type,a.pendingProps,o);case 1:return c=a.type,m=Ba(c,a.pendingProps),q1(n,a,c,m,o);case 3:e:{if(Ae(a,a.stateNode.containerInfo),n===null)throw Error(r(387));c=a.pendingProps;var g=a.memoizedState;m=g.element,Rf(n,a),Vi(a,c,null,o);var S=a.memoizedState;if(c=S.cache,Bl(a,gt,c),c!==g.cache&&xf(a,[gt],o,!0),Fi(),c=S.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:S.cache},a.updateQueue.baseState=g,a.memoizedState=g,a.flags&256){a=Y1(n,a,c,o);break e}else if(c!==m){m=Tn(Error(r(424)),a),ji(m),a=Y1(n,a,c,o);break e}else{switch(n=a.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(nt=kn(n.firstChild),$t=a,je=!0,jl=null,An=!0,o=Fm(a,null,c,o),a.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(Na(),c===m){a=ml(n,a,o);break e}Pt(n,a,c,o)}a=a.child}return a;case 26:return Is(n,a),n===null?(o=cg(a.type,null,a.pendingProps,null))?a.memoizedState=o:je||(o=a.type,n=a.pendingProps,c=tc(ie.current).createElement(o),c[Dt]=a,c[Vt]=n,Ot(c,o,n),Tt(c),a.stateNode=c):a.memoizedState=cg(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return Lt(a),n===null&&je&&(c=a.stateNode=ig(a.type,a.pendingProps,ie.current),$t=a,An=!0,m=nt,Ql(a.type)?(Bd=m,nt=kn(c.firstChild)):nt=m),Pt(n,a,a.pendingProps.children,o),Is(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&je&&((m=c=nt)&&(c=$S(c,a.type,a.pendingProps,An),c!==null?(a.stateNode=c,$t=a,nt=kn(c.firstChild),An=!1,m=!0):m=!1),m||Il(a)),Lt(a),m=a.type,g=a.pendingProps,S=n!==null?n.memoizedProps:null,c=g.children,zd(m,g)?c=null:S!==null&&zd(m,S)&&(a.flags|=32),a.memoizedState!==null&&(m=$f(n,a,Y7,null,null,o),uo._currentValue=m),Is(n,a),Pt(n,a,c,o),a.child;case 6:return n===null&&je&&((n=o=nt)&&(o=zS(o,a.pendingProps,An),o!==null?(a.stateNode=o,$t=a,nt=null,n=!0):n=!1),n||Il(a)),null;case 13:return X1(n,a,o);case 4:return Ae(a,a.stateNode.containerInfo),c=a.pendingProps,n===null?a.child=ja(a,null,c,o):Pt(n,a,c,o),a.child;case 11:return H1(n,a,a.type,a.pendingProps,o);case 7:return Pt(n,a,a.pendingProps,o),a.child;case 8:return Pt(n,a,a.pendingProps.children,o),a.child;case 12:return Pt(n,a,a.pendingProps.children,o),a.child;case 10:return c=a.pendingProps,Bl(a,a.type,c.value),Pt(n,a,c.children,o),a.child;case 9:return m=a.type._context,c=a.pendingProps.children,$a(a),m=zt(m),c=c(m),a.flags|=1,Pt(n,a,c,o),a.child;case 14:return K1(n,a,a.type,a.pendingProps,o);case 15:return U1(n,a,a.type,a.pendingProps,o);case 19:return Z1(n,a,o);case 31:return nS(n,a,o);case 22:return F1(n,a,o,a.pendingProps);case 24:return $a(a),c=zt(gt),n===null?(m=Ef(),m===null&&(m=Qe,g=Sf(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=o),m=g),a.memoizedState={parent:c,cache:m},Tf(a),Bl(a,gt,m)):((n.lanes&o)!==0&&(Rf(n,a),Vi(a,null,null,o),Fi()),m=n.memoizedState,g=a.memoizedState,m.parent!==c?(m={parent:c,cache:c},a.memoizedState=m,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=m),Bl(a,gt,c)):(c=g.cache,Bl(a,gt,c),c!==m.cache&&xf(a,[gt],o,!0))),Pt(n,a,a.pendingProps.children,o),a.child;case 29:throw a.pendingProps}throw Error(r(156,a.tag))}function pl(n){n.flags|=4}function od(n,a,o,c,m){if((a=(n.mode&32)!==0)&&(a=!1),a){if(n.flags|=16777216,(m&335544128)===m)if(n.stateNode.complete)n.flags|=8192;else if(Tp())n.flags|=8192;else throw Oa=Es,Cf}else n.flags&=-16777217}function J1(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!mg(a))if(Tp())n.flags|=8192;else throw Oa=Es,Cf}function Hs(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?D2():536870912,n.lanes|=a,Kr|=a)}function Wi(n,a){if(!je)switch(n.tailMode){case"hidden":a=n.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?n.tail=null:o.sibling=null;break;case"collapsed":o=n.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function lt(n){var a=n.alternate!==null&&n.alternate.child===n.child,o=0,c=0;if(a)for(var m=n.child;m!==null;)o|=m.lanes|m.childLanes,c|=m.subtreeFlags&65011712,c|=m.flags&65011712,m.return=n,m=m.sibling;else for(m=n.child;m!==null;)o|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=n,m=m.sibling;return n.subtreeFlags|=c,n.childLanes=o,a}function aS(n,a,o){var c=a.pendingProps;switch(pf(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(a),null;case 1:return lt(a),null;case 3:return o=a.stateNode,c=null,n!==null&&(c=n.memoizedState.cache),a.memoizedState.cache!==c&&(a.flags|=2048),fl(gt),de(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(n===null||n.child===null)&&(Ar(a)?pl(a):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,bf())),lt(a),null;case 26:var m=a.type,g=a.memoizedState;return n===null?(pl(a),g!==null?(lt(a),J1(a,g)):(lt(a),od(a,m,null,c,o))):g?g!==n.memoizedState?(pl(a),lt(a),J1(a,g)):(lt(a),a.flags&=-16777217):(n=n.memoizedProps,n!==c&&pl(a),lt(a),od(a,m,n,c,o)),null;case 27:if(it(a),o=ie.current,m=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==c&&pl(a);else{if(!c){if(a.stateNode===null)throw Error(r(166));return lt(a),null}n=ce.current,Ar(a)?Dm(a):(n=ig(m,c,o),a.stateNode=n,pl(a))}return lt(a),null;case 5:if(it(a),m=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==c&&pl(a);else{if(!c){if(a.stateNode===null)throw Error(r(166));return lt(a),null}if(g=ce.current,Ar(a))Dm(a);else{var S=tc(ie.current);switch(g){case 1:g=S.createElementNS("http://www.w3.org/2000/svg",m);break;case 2:g=S.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;default:switch(m){case"svg":g=S.createElementNS("http://www.w3.org/2000/svg",m);break;case"math":g=S.createElementNS("http://www.w3.org/1998/Math/MathML",m);break;case"script":g=S.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof c.is=="string"?S.createElement("select",{is:c.is}):S.createElement("select"),c.multiple?g.multiple=!0:c.size&&(g.size=c.size);break;default:g=typeof c.is=="string"?S.createElement(m,{is:c.is}):S.createElement(m)}}g[Dt]=a,g[Vt]=c;e:for(S=a.child;S!==null;){if(S.tag===5||S.tag===6)g.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===a)break e;for(;S.sibling===null;){if(S.return===null||S.return===a)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}a.stateNode=g;e:switch(Ot(g,m,c),m){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&pl(a)}}return lt(a),od(a,a.type,n===null?null:n.memoizedProps,a.pendingProps,o),null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==c&&pl(a);else{if(typeof c!="string"&&a.stateNode===null)throw Error(r(166));if(n=ie.current,Ar(a)){if(n=a.stateNode,o=a.memoizedProps,c=null,m=$t,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}n[Dt]=a,n=!!(n.nodeValue===o||c!==null&&c.suppressHydrationWarning===!0||Xp(n.nodeValue,o)),n||Il(a,!0)}else n=tc(n).createTextNode(c),n[Dt]=a,a.stateNode=n}return lt(a),null;case 31:if(o=a.memoizedState,n===null||n.memoizedState!==null){if(c=Ar(a),o!==null){if(n===null){if(!c)throw Error(r(318));if(n=a.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(557));n[Dt]=a}else Na(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;lt(a),n=!1}else o=bf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=o),n=!0;if(!n)return a.flags&256?(cn(a),a):(cn(a),null);if((a.flags&128)!==0)throw Error(r(558))}return lt(a),null;case 13:if(c=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(m=Ar(a),c!==null&&c.dehydrated!==null){if(n===null){if(!m)throw Error(r(318));if(m=a.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(r(317));m[Dt]=a}else Na(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;lt(a),m=!1}else m=bf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return a.flags&256?(cn(a),a):(cn(a),null)}return cn(a),(a.flags&128)!==0?(a.lanes=o,a):(o=c!==null,n=n!==null&&n.memoizedState!==null,o&&(c=a.child,m=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(m=c.alternate.memoizedState.cachePool.pool),g=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(g=c.memoizedState.cachePool.pool),g!==m&&(c.flags|=2048)),o!==n&&o&&(a.child.flags|=8192),Hs(a,a.updateQueue),lt(a),null);case 4:return de(),n===null&&Ld(a.stateNode.containerInfo),lt(a),null;case 10:return fl(a.type),lt(a),null;case 19:if(Q(ft),c=a.memoizedState,c===null)return lt(a),null;if(m=(a.flags&128)!==0,g=c.rendering,g===null)if(m)Wi(c,!1);else{if(st!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(g=Ms(n),g!==null){for(a.flags|=128,Wi(c,!1),n=g.updateQueue,a.updateQueue=n,Hs(a,n),a.subtreeFlags=0,n=o,o=a.child;o!==null;)Mm(o,n),o=o.sibling;return se(ft,ft.current&1|2),je&&cl(a,c.treeForkCount),a.child}n=n.sibling}c.tail!==null&&It()>_s&&(a.flags|=128,m=!0,Wi(c,!1),a.lanes=4194304)}else{if(!m)if(n=Ms(g),n!==null){if(a.flags|=128,m=!0,n=n.updateQueue,a.updateQueue=n,Hs(a,n),Wi(c,!0),c.tail===null&&c.tailMode==="hidden"&&!g.alternate&&!je)return lt(a),null}else 2*It()-c.renderingStartTime>_s&&o!==536870912&&(a.flags|=128,m=!0,Wi(c,!1),a.lanes=4194304);c.isBackwards?(g.sibling=a.child,a.child=g):(n=c.last,n!==null?n.sibling=g:a.child=g,c.last=g)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=It(),n.sibling=null,o=ft.current,se(ft,m?o&1|2:o&1),je&&cl(a,c.treeForkCount),n):(lt(a),null);case 22:case 23:return cn(a),kf(),c=a.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(a.flags|=8192):c&&(a.flags|=8192),c?(o&536870912)!==0&&(a.flags&128)===0&&(lt(a),a.subtreeFlags&6&&(a.flags|=8192)):lt(a),o=a.updateQueue,o!==null&&Hs(a,o.retryQueue),o=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==o&&(a.flags|=2048),n!==null&&Q(za),null;case 24:return o=null,n!==null&&(o=n.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),fl(gt),lt(a),null;case 25:return null;case 30:return null}throw Error(r(156,a.tag))}function rS(n,a){switch(pf(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return fl(gt),de(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return it(a),null;case 31:if(a.memoizedState!==null){if(cn(a),a.alternate===null)throw Error(r(340));Na()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 13:if(cn(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(r(340));Na()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return Q(ft),null;case 4:return de(),null;case 10:return fl(a.type),null;case 22:case 23:return cn(a),kf(),n!==null&&Q(za),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return fl(gt),null;case 25:return null;default:return null}}function ep(n,a){switch(pf(a),a.tag){case 3:fl(gt),de();break;case 26:case 27:case 5:it(a);break;case 4:de();break;case 31:a.memoizedState!==null&&cn(a);break;case 13:cn(a);break;case 19:Q(ft);break;case 10:fl(a.type);break;case 22:case 23:cn(a),kf(),n!==null&&Q(za);break;case 24:fl(gt)}}function Zi(n,a){try{var o=a.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var m=c.next;o=m;do{if((o.tag&n)===n){c=void 0;var g=o.create,S=o.inst;c=g(),S.destroy=c}o=o.next}while(o!==m)}}catch(R){qe(a,a.return,R)}}function _l(n,a,o){try{var c=a.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var g=m.next;c=g;do{if((c.tag&n)===n){var S=c.inst,R=S.destroy;if(R!==void 0){S.destroy=void 0,m=a;var P=o,W=R;try{W()}catch(le){qe(m,P,le)}}}c=c.next}while(c!==g)}}catch(le){qe(a,a.return,le)}}function tp(n){var a=n.updateQueue;if(a!==null){var o=n.stateNode;try{_m(a,o)}catch(c){qe(n,n.return,c)}}}function np(n,a,o){o.props=Ba(n.type,n.memoizedProps),o.state=n.memoizedState;try{o.componentWillUnmount()}catch(c){qe(n,a,c)}}function Qi(n,a){try{var o=n.ref;if(o!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof o=="function"?n.refCleanup=o(c):o.current=c}}catch(m){qe(n,a,m)}}function Xn(n,a){var o=n.ref,c=n.refCleanup;if(o!==null)if(typeof c=="function")try{c()}catch(m){qe(n,a,m)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(m){qe(n,a,m)}else o.current=null}function lp(n){var a=n.type,o=n.memoizedProps,c=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":o.autoFocus&&c.focus();break e;case"img":o.src?c.src=o.src:o.srcSet&&(c.srcset=o.srcSet)}}catch(m){qe(n,n.return,m)}}function sd(n,a,o){try{var c=n.stateNode;MS(c,n.type,o,a),c[Vt]=a}catch(m){qe(n,n.return,m)}}function ap(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ql(n.type)||n.tag===4}function cd(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||ap(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Ql(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function ud(n,a,o){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(n,a):(a=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,a.appendChild(n),o=o._reactRootContainer,o!=null||a.onclick!==null||(a.onclick=il));else if(c!==4&&(c===27&&Ql(n.type)&&(o=n.stateNode,a=null),n=n.child,n!==null))for(ud(n,a,o),n=n.sibling;n!==null;)ud(n,a,o),n=n.sibling}function Ks(n,a,o){var c=n.tag;if(c===5||c===6)n=n.stateNode,a?o.insertBefore(n,a):o.appendChild(n);else if(c!==4&&(c===27&&Ql(n.type)&&(o=n.stateNode),n=n.child,n!==null))for(Ks(n,a,o),n=n.sibling;n!==null;)Ks(n,a,o),n=n.sibling}function rp(n){var a=n.stateNode,o=n.memoizedProps;try{for(var c=n.type,m=a.attributes;m.length;)a.removeAttributeNode(m[0]);Ot(a,c,o),a[Dt]=n,a[Vt]=o}catch(g){qe(n,n.return,g)}}var gl=!1,yt=!1,fd=!1,ip=typeof WeakSet=="function"?WeakSet:Set,Rt=null;function iS(n,a){if(n=n.containerInfo,Dd=sc,n=vm(n),lf(n)){if("selectionStart"in n)var o={start:n.selectionStart,end:n.selectionEnd};else e:{o=(o=n.ownerDocument)&&o.defaultView||window;var c=o.getSelection&&o.getSelection();if(c&&c.rangeCount!==0){o=c.anchorNode;var m=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{o.nodeType,g.nodeType}catch{o=null;break e}var S=0,R=-1,P=-1,W=0,le=0,re=n,Z=null;t:for(;;){for(var ee;re!==o||m!==0&&re.nodeType!==3||(R=S+m),re!==g||c!==0&&re.nodeType!==3||(P=S+c),re.nodeType===3&&(S+=re.nodeValue.length),(ee=re.firstChild)!==null;)Z=re,re=ee;for(;;){if(re===n)break t;if(Z===o&&++W===m&&(R=S),Z===g&&++le===c&&(P=S),(ee=re.nextSibling)!==null)break;re=Z,Z=re.parentNode}re=ee}o=R===-1||P===-1?null:{start:R,end:P}}else o=null}o=o||{start:0,end:0}}else o=null;for($d={focusedElem:n,selectionRange:o},sc=!1,Rt=a;Rt!==null;)if(a=Rt,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,Rt=n;else for(;Rt!==null;){switch(a=Rt,g=a.alternate,n=a.flags,a.tag){case 0:if((n&4)!==0&&(n=a.updateQueue,n=n!==null?n.events:null,n!==null))for(o=0;o<n.length;o++)m=n[o],m.ref.impl=m.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&g!==null){n=void 0,o=a,m=g.memoizedProps,g=g.memoizedState,c=o.stateNode;try{var be=Ba(o.type,m);n=c.getSnapshotBeforeUpdate(be,g),c.__reactInternalSnapshotBeforeUpdate=n}catch(we){qe(o,o.return,we)}}break;case 3:if((n&1024)!==0){if(n=a.stateNode.containerInfo,o=n.nodeType,o===9)Od(n);else if(o===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Od(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(r(163))}if(n=a.sibling,n!==null){n.return=a.return,Rt=n;break}Rt=a.return}}function op(n,a,o){var c=o.flags;switch(o.tag){case 0:case 11:case 15:vl(n,o),c&4&&Zi(5,o);break;case 1:if(vl(n,o),c&4)if(n=o.stateNode,a===null)try{n.componentDidMount()}catch(S){qe(o,o.return,S)}else{var m=Ba(o.type,a.memoizedProps);a=a.memoizedState;try{n.componentDidUpdate(m,a,n.__reactInternalSnapshotBeforeUpdate)}catch(S){qe(o,o.return,S)}}c&64&&tp(o),c&512&&Qi(o,o.return);break;case 3:if(vl(n,o),c&64&&(n=o.updateQueue,n!==null)){if(a=null,o.child!==null)switch(o.child.tag){case 27:case 5:a=o.child.stateNode;break;case 1:a=o.child.stateNode}try{_m(n,a)}catch(S){qe(o,o.return,S)}}break;case 27:a===null&&c&4&&rp(o);case 26:case 5:vl(n,o),a===null&&c&4&&lp(o),c&512&&Qi(o,o.return);break;case 12:vl(n,o);break;case 31:vl(n,o),c&4&&up(n,o);break;case 13:vl(n,o),c&4&&fp(n,o),c&64&&(n=o.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(o=pS.bind(null,o),PS(n,o))));break;case 22:if(c=o.memoizedState!==null||gl,!c){a=a!==null&&a.memoizedState!==null||yt,m=gl;var g=yt;gl=c,(yt=a)&&!g?yl(n,o,(o.subtreeFlags&8772)!==0):vl(n,o),gl=m,yt=g}break;case 30:break;default:vl(n,o)}}function sp(n){var a=n.alternate;a!==null&&(n.alternate=null,sp(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Hu(a)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var at=null,Gt=!1;function bl(n,a,o){for(o=o.child;o!==null;)cp(n,a,o),o=o.sibling}function cp(n,a,o){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(wi,o)}catch{}switch(o.tag){case 26:yt||Xn(o,a),bl(n,a,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:yt||Xn(o,a);var c=at,m=Gt;Ql(o.type)&&(at=o.stateNode,Gt=!1),bl(n,a,o),oo(o.stateNode),at=c,Gt=m;break;case 5:yt||Xn(o,a);case 6:if(c=at,m=Gt,at=null,bl(n,a,o),at=c,Gt=m,at!==null)if(Gt)try{(at.nodeType===9?at.body:at.nodeName==="HTML"?at.ownerDocument.body:at).removeChild(o.stateNode)}catch(g){qe(o,a,g)}else try{at.removeChild(o.stateNode)}catch(g){qe(o,a,g)}break;case 18:at!==null&&(Gt?(n=at,tg(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,o.stateNode),Xr(n)):tg(at,o.stateNode));break;case 4:c=at,m=Gt,at=o.stateNode.containerInfo,Gt=!0,bl(n,a,o),at=c,Gt=m;break;case 0:case 11:case 14:case 15:_l(2,o,a),yt||_l(4,o,a),bl(n,a,o);break;case 1:yt||(Xn(o,a),c=o.stateNode,typeof c.componentWillUnmount=="function"&&np(o,a,c)),bl(n,a,o);break;case 21:bl(n,a,o);break;case 22:yt=(c=yt)||o.memoizedState!==null,bl(n,a,o),yt=c;break;default:bl(n,a,o)}}function up(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Xr(n)}catch(o){qe(a,a.return,o)}}}function fp(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Xr(n)}catch(o){qe(a,a.return,o)}}function oS(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new ip),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new ip),a;default:throw Error(r(435,n.tag))}}function Us(n,a){var o=oS(n);a.forEach(function(c){if(!o.has(c)){o.add(c);var m=gS.bind(null,n,c);c.then(m,m)}})}function qt(n,a){var o=a.deletions;if(o!==null)for(var c=0;c<o.length;c++){var m=o[c],g=n,S=a,R=S;e:for(;R!==null;){switch(R.tag){case 27:if(Ql(R.type)){at=R.stateNode,Gt=!1;break e}break;case 5:at=R.stateNode,Gt=!1;break e;case 3:case 4:at=R.stateNode.containerInfo,Gt=!0;break e}R=R.return}if(at===null)throw Error(r(160));cp(g,S,m),at=null,Gt=!1,g=m.alternate,g!==null&&(g.return=null),m.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)dp(a,n),a=a.sibling}var Bn=null;function dp(n,a){var o=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:qt(a,n),Yt(n),c&4&&(_l(3,n,n.return),Zi(3,n),_l(5,n,n.return));break;case 1:qt(a,n),Yt(n),c&512&&(yt||o===null||Xn(o,o.return)),c&64&&gl&&(n=n.updateQueue,n!==null&&(c=n.callbacks,c!==null&&(o=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=o===null?c:o.concat(c))));break;case 26:var m=Bn;if(qt(a,n),Yt(n),c&512&&(yt||o===null||Xn(o,o.return)),c&4){var g=o!==null?o.memoizedState:null;if(c=n.memoizedState,o===null)if(c===null)if(n.stateNode===null){e:{c=n.type,o=n.memoizedProps,m=m.ownerDocument||m;t:switch(c){case"title":g=m.getElementsByTagName("title")[0],(!g||g[Ti]||g[Dt]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=m.createElement(c),m.head.insertBefore(g,m.querySelector("head > title"))),Ot(g,c,o),g[Dt]=n,Tt(g),c=g;break e;case"link":var S=dg("link","href",m).get(c+(o.href||""));if(S){for(var R=0;R<S.length;R++)if(g=S[R],g.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&g.getAttribute("rel")===(o.rel==null?null:o.rel)&&g.getAttribute("title")===(o.title==null?null:o.title)&&g.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){S.splice(R,1);break t}}g=m.createElement(c),Ot(g,c,o),m.head.appendChild(g);break;case"meta":if(S=dg("meta","content",m).get(c+(o.content||""))){for(R=0;R<S.length;R++)if(g=S[R],g.getAttribute("content")===(o.content==null?null:""+o.content)&&g.getAttribute("name")===(o.name==null?null:o.name)&&g.getAttribute("property")===(o.property==null?null:o.property)&&g.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&g.getAttribute("charset")===(o.charSet==null?null:o.charSet)){S.splice(R,1);break t}}g=m.createElement(c),Ot(g,c,o),m.head.appendChild(g);break;default:throw Error(r(468,c))}g[Dt]=n,Tt(g),c=g}n.stateNode=c}else hg(m,n.type,n.stateNode);else n.stateNode=fg(m,c,n.memoizedProps);else g!==c?(g===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):g.count--,c===null?hg(m,n.type,n.stateNode):fg(m,c,n.memoizedProps)):c===null&&n.stateNode!==null&&sd(n,n.memoizedProps,o.memoizedProps)}break;case 27:qt(a,n),Yt(n),c&512&&(yt||o===null||Xn(o,o.return)),o!==null&&c&4&&sd(n,n.memoizedProps,o.memoizedProps);break;case 5:if(qt(a,n),Yt(n),c&512&&(yt||o===null||Xn(o,o.return)),n.flags&32){m=n.stateNode;try{vr(m,"")}catch(be){qe(n,n.return,be)}}c&4&&n.stateNode!=null&&(m=n.memoizedProps,sd(n,m,o!==null?o.memoizedProps:m)),c&1024&&(fd=!0);break;case 6:if(qt(a,n),Yt(n),c&4){if(n.stateNode===null)throw Error(r(162));c=n.memoizedProps,o=n.stateNode;try{o.nodeValue=c}catch(be){qe(n,n.return,be)}}break;case 3:if(ac=null,m=Bn,Bn=nc(a.containerInfo),qt(a,n),Bn=m,Yt(n),c&4&&o!==null&&o.memoizedState.isDehydrated)try{Xr(a.containerInfo)}catch(be){qe(n,n.return,be)}fd&&(fd=!1,hp(n));break;case 4:c=Bn,Bn=nc(n.stateNode.containerInfo),qt(a,n),Yt(n),Bn=c;break;case 12:qt(a,n),Yt(n);break;case 31:qt(a,n),Yt(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Us(n,c)));break;case 13:qt(a,n),Yt(n),n.child.flags&8192&&n.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Vs=It()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Us(n,c)));break;case 22:m=n.memoizedState!==null;var P=o!==null&&o.memoizedState!==null,W=gl,le=yt;if(gl=W||m,yt=le||P,qt(a,n),yt=le,gl=W,Yt(n),c&8192)e:for(a=n.stateNode,a._visibility=m?a._visibility&-2:a._visibility|1,m&&(o===null||P||gl||yt||Ha(n)),o=null,a=n;;){if(a.tag===5||a.tag===26){if(o===null){P=o=a;try{if(g=P.stateNode,m)S=g.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{R=P.stateNode;var re=P.memoizedProps.style,Z=re!=null&&re.hasOwnProperty("display")?re.display:null;R.style.display=Z==null||typeof Z=="boolean"?"":(""+Z).trim()}}catch(be){qe(P,P.return,be)}}}else if(a.tag===6){if(o===null){P=a;try{P.stateNode.nodeValue=m?"":P.memoizedProps}catch(be){qe(P,P.return,be)}}}else if(a.tag===18){if(o===null){P=a;try{var ee=P.stateNode;m?ng(ee,!0):ng(P.stateNode,!1)}catch(be){qe(P,P.return,be)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;o===a&&(o=null),a=a.return}o===a&&(o=null),a.sibling.return=a.return,a=a.sibling}c&4&&(c=n.updateQueue,c!==null&&(o=c.retryQueue,o!==null&&(c.retryQueue=null,Us(n,o))));break;case 19:qt(a,n),Yt(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Us(n,c)));break;case 30:break;case 21:break;default:qt(a,n),Yt(n)}}function Yt(n){var a=n.flags;if(a&2){try{for(var o,c=n.return;c!==null;){if(ap(c)){o=c;break}c=c.return}if(o==null)throw Error(r(160));switch(o.tag){case 27:var m=o.stateNode,g=cd(n);Ks(n,g,m);break;case 5:var S=o.stateNode;o.flags&32&&(vr(S,""),o.flags&=-33);var R=cd(n);Ks(n,R,S);break;case 3:case 4:var P=o.stateNode.containerInfo,W=cd(n);ud(n,W,P);break;default:throw Error(r(161))}}catch(le){qe(n,n.return,le)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function hp(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;hp(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function vl(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)op(n,a.alternate,a),a=a.sibling}function Ha(n){for(n=n.child;n!==null;){var a=n;switch(a.tag){case 0:case 11:case 14:case 15:_l(4,a,a.return),Ha(a);break;case 1:Xn(a,a.return);var o=a.stateNode;typeof o.componentWillUnmount=="function"&&np(a,a.return,o),Ha(a);break;case 27:oo(a.stateNode);case 26:case 5:Xn(a,a.return),Ha(a);break;case 22:a.memoizedState===null&&Ha(a);break;case 30:Ha(a);break;default:Ha(a)}n=n.sibling}}function yl(n,a,o){for(o=o&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var c=a.alternate,m=n,g=a,S=g.flags;switch(g.tag){case 0:case 11:case 15:yl(m,g,o),Zi(4,g);break;case 1:if(yl(m,g,o),c=g,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(W){qe(c,c.return,W)}if(c=g,m=c.updateQueue,m!==null){var R=c.stateNode;try{var P=m.shared.hiddenCallbacks;if(P!==null)for(m.shared.hiddenCallbacks=null,m=0;m<P.length;m++)Vm(P[m],R)}catch(W){qe(c,c.return,W)}}o&&S&64&&tp(g),Qi(g,g.return);break;case 27:rp(g);case 26:case 5:yl(m,g,o),o&&c===null&&S&4&&lp(g),Qi(g,g.return);break;case 12:yl(m,g,o);break;case 31:yl(m,g,o),o&&S&4&&up(m,g);break;case 13:yl(m,g,o),o&&S&4&&fp(m,g);break;case 22:g.memoizedState===null&&yl(m,g,o),Qi(g,g.return);break;case 30:break;default:yl(m,g,o)}a=a.sibling}}function dd(n,a){var o=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==o&&(n!=null&&n.refCount++,o!=null&&Ii(o))}function hd(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&Ii(n))}function Hn(n,a,o,c){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)mp(n,a,o,c),a=a.sibling}function mp(n,a,o,c){var m=a.flags;switch(a.tag){case 0:case 11:case 15:Hn(n,a,o,c),m&2048&&Zi(9,a);break;case 1:Hn(n,a,o,c);break;case 3:Hn(n,a,o,c),m&2048&&(n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&Ii(n)));break;case 12:if(m&2048){Hn(n,a,o,c),n=a.stateNode;try{var g=a.memoizedProps,S=g.id,R=g.onPostCommit;typeof R=="function"&&R(S,a.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(P){qe(a,a.return,P)}}else Hn(n,a,o,c);break;case 31:Hn(n,a,o,c);break;case 13:Hn(n,a,o,c);break;case 23:break;case 22:g=a.stateNode,S=a.alternate,a.memoizedState!==null?g._visibility&2?Hn(n,a,o,c):Ji(n,a):g._visibility&2?Hn(n,a,o,c):(g._visibility|=2,Ir(n,a,o,c,(a.subtreeFlags&10256)!==0||!1)),m&2048&&dd(S,a);break;case 24:Hn(n,a,o,c),m&2048&&hd(a.alternate,a);break;default:Hn(n,a,o,c)}}function Ir(n,a,o,c,m){for(m=m&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var g=n,S=a,R=o,P=c,W=S.flags;switch(S.tag){case 0:case 11:case 15:Ir(g,S,R,P,m),Zi(8,S);break;case 23:break;case 22:var le=S.stateNode;S.memoizedState!==null?le._visibility&2?Ir(g,S,R,P,m):Ji(g,S):(le._visibility|=2,Ir(g,S,R,P,m)),m&&W&2048&&dd(S.alternate,S);break;case 24:Ir(g,S,R,P,m),m&&W&2048&&hd(S.alternate,S);break;default:Ir(g,S,R,P,m)}a=a.sibling}}function Ji(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var o=n,c=a,m=c.flags;switch(c.tag){case 22:Ji(o,c),m&2048&&dd(c.alternate,c);break;case 24:Ji(o,c),m&2048&&hd(c.alternate,c);break;default:Ji(o,c)}a=a.sibling}}var eo=8192;function Br(n,a,o){if(n.subtreeFlags&eo)for(n=n.child;n!==null;)pp(n,a,o),n=n.sibling}function pp(n,a,o){switch(n.tag){case 26:Br(n,a,o),n.flags&eo&&n.memoizedState!==null&&qS(o,Bn,n.memoizedState,n.memoizedProps);break;case 5:Br(n,a,o);break;case 3:case 4:var c=Bn;Bn=nc(n.stateNode.containerInfo),Br(n,a,o),Bn=c;break;case 22:n.memoizedState===null&&(c=n.alternate,c!==null&&c.memoizedState!==null?(c=eo,eo=16777216,Br(n,a,o),eo=c):Br(n,a,o));break;default:Br(n,a,o)}}function gp(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function to(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var o=0;o<a.length;o++){var c=a[o];Rt=c,vp(c,n)}gp(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)bp(n),n=n.sibling}function bp(n){switch(n.tag){case 0:case 11:case 15:to(n),n.flags&2048&&_l(9,n,n.return);break;case 3:to(n);break;case 12:to(n);break;case 22:var a=n.stateNode;n.memoizedState!==null&&a._visibility&2&&(n.return===null||n.return.tag!==13)?(a._visibility&=-3,Fs(n)):to(n);break;default:to(n)}}function Fs(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var o=0;o<a.length;o++){var c=a[o];Rt=c,vp(c,n)}gp(n)}for(n=n.child;n!==null;){switch(a=n,a.tag){case 0:case 11:case 15:_l(8,a,a.return),Fs(a);break;case 22:o=a.stateNode,o._visibility&2&&(o._visibility&=-3,Fs(a));break;default:Fs(a)}n=n.sibling}}function vp(n,a){for(;Rt!==null;){var o=Rt;switch(o.tag){case 0:case 11:case 15:_l(8,o,a);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var c=o.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Ii(o.memoizedState.cache)}if(c=o.child,c!==null)c.return=o,Rt=c;else e:for(o=n;Rt!==null;){c=Rt;var m=c.sibling,g=c.return;if(sp(c),c===o){Rt=null;break e}if(m!==null){m.return=g,Rt=m;break e}Rt=g}}}var sS={getCacheForType:function(n){var a=zt(gt),o=a.data.get(n);return o===void 0&&(o=n(),a.data.set(n,o)),o},cacheSignal:function(){return zt(gt).controller.signal}},cS=typeof WeakMap=="function"?WeakMap:Map,Ve=0,Qe=null,De=null,Pe=0,Ge=0,un=null,Gl=!1,Hr=!1,md=!1,xl=0,st=0,ql=0,Ka=0,pd=0,fn=0,Kr=0,no=null,Xt=null,gd=!1,Vs=0,yp=0,_s=1/0,Gs=null,Yl=null,St=0,Xl=null,Ur=null,Sl=0,bd=0,vd=null,xp=null,lo=0,yd=null;function dn(){return(Ve&2)!==0&&Pe!==0?Pe&-Pe:z.T!==null?Td():O2()}function Sp(){if(fn===0)if((Pe&536870912)===0||je){var n=es;es<<=1,(es&3932160)===0&&(es=262144),fn=n}else fn=536870912;return n=sn.current,n!==null&&(n.flags|=32),fn}function Wt(n,a,o){(n===Qe&&(Ge===2||Ge===9)||n.cancelPendingCommit!==null)&&(Fr(n,0),Wl(n,Pe,fn,!1)),Ci(n,o),((Ve&2)===0||n!==Qe)&&(n===Qe&&((Ve&2)===0&&(Ka|=o),st===4&&Wl(n,Pe,fn,!1)),Wn(n))}function wp(n,a,o){if((Ve&6)!==0)throw Error(r(327));var c=!o&&(a&127)===0&&(a&n.expiredLanes)===0||Ei(n,a),m=c?dS(n,a):Sd(n,a,!0),g=c;do{if(m===0){Hr&&!c&&Wl(n,a,0,!1);break}else{if(o=n.current.alternate,g&&!uS(o)){m=Sd(n,a,!1),g=!1;continue}if(m===2){if(g=a,n.errorRecoveryDisabledLanes&g)var S=0;else S=n.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){a=S;e:{var R=n;m=no;var P=R.current.memoizedState.isDehydrated;if(P&&(Fr(R,S).flags|=256),S=Sd(R,S,!1),S!==2){if(md&&!P){R.errorRecoveryDisabledLanes|=g,Ka|=g,m=4;break e}g=Xt,Xt=m,g!==null&&(Xt===null?Xt=g:Xt.push.apply(Xt,g))}m=S}if(g=!1,m!==2)continue}}if(m===1){Fr(n,0),Wl(n,a,0,!0);break}e:{switch(c=n,g=m,g){case 0:case 1:throw Error(r(345));case 4:if((a&4194048)!==a)break;case 6:Wl(c,a,fn,!Gl);break e;case 2:Xt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(m=Vs+300-It(),10<m)){if(Wl(c,a,fn,!Gl),ns(c,0,!0)!==0)break e;Sl=a,c.timeoutHandle=Jp(Ep.bind(null,c,o,Xt,Gs,gd,a,fn,Ka,Kr,Gl,g,"Throttled",-0,0),m);break e}Ep(c,o,Xt,Gs,gd,a,fn,Ka,Kr,Gl,g,null,-0,0)}}break}while(!0);Wn(n)}function Ep(n,a,o,c,m,g,S,R,P,W,le,re,Z,ee){if(n.timeoutHandle=-1,re=a.subtreeFlags,re&8192||(re&16785408)===16785408){re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:il},pp(a,g,re);var be=(g&62914560)===g?Vs-It():(g&4194048)===g?yp-It():0;if(be=YS(re,be),be!==null){Sl=g,n.cancelPendingCommit=be(Np.bind(null,n,a,g,o,c,m,S,R,P,le,re,null,Z,ee)),Wl(n,g,S,!W);return}}Np(n,a,g,o,c,m,S,R,P)}function uS(n){for(var a=n;;){var o=a.tag;if((o===0||o===11||o===15)&&a.flags&16384&&(o=a.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var c=0;c<o.length;c++){var m=o[c],g=m.getSnapshot;m=m.value;try{if(!rn(g(),m))return!1}catch{return!1}}if(o=a.child,a.subtreeFlags&16384&&o!==null)o.return=a,a=o;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Wl(n,a,o,c){a&=~pd,a&=~Ka,n.suspendedLanes|=a,n.pingedLanes&=~a,c&&(n.warmLanes|=a),c=n.expirationTimes;for(var m=a;0<m;){var g=31-an(m),S=1<<g;c[g]=-1,m&=~S}o!==0&&$2(n,o,a)}function qs(){return(Ve&6)===0?(ao(0),!1):!0}function xd(){if(De!==null){if(Ge===0)var n=De.return;else n=De,ul=Da=null,Of(n),$r=null,Hi=0,n=De;for(;n!==null;)ep(n.alternate,n),n=n.return;De=null}}function Fr(n,a){var o=n.timeoutHandle;o!==-1&&(n.timeoutHandle=-1,kS(o)),o=n.cancelPendingCommit,o!==null&&(n.cancelPendingCommit=null,o()),Sl=0,xd(),Qe=n,De=o=sl(n.current,null),Pe=a,Ge=0,un=null,Gl=!1,Hr=Ei(n,a),md=!1,Kr=fn=pd=Ka=ql=st=0,Xt=no=null,gd=!1,(a&8)!==0&&(a|=a&32);var c=n.entangledLanes;if(c!==0)for(n=n.entanglements,c&=a;0<c;){var m=31-an(c),g=1<<m;a|=n[m],c&=~g}return xl=a,ms(),o}function Cp(n,a){Re=null,z.H=Yi,a===Dr||a===ws?(a=Hm(),Ge=3):a===Cf?(a=Hm(),Ge=4):Ge=a===Qf?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,un=a,De===null&&(st=1,Os(n,Tn(a,n.current)))}function Tp(){var n=sn.current;return n===null?!0:(Pe&4194048)===Pe?Ln===null:(Pe&62914560)===Pe||(Pe&536870912)!==0?n===Ln:!1}function Rp(){var n=z.H;return z.H=Yi,n===null?Yi:n}function Mp(){var n=z.A;return z.A=sS,n}function Ys(){st=4,Gl||(Pe&4194048)!==Pe&&sn.current!==null||(Hr=!0),(ql&134217727)===0&&(Ka&134217727)===0||Qe===null||Wl(Qe,Pe,fn,!1)}function Sd(n,a,o){var c=Ve;Ve|=2;var m=Rp(),g=Mp();(Qe!==n||Pe!==a)&&(Gs=null,Fr(n,a)),a=!1;var S=st;e:do try{if(Ge!==0&&De!==null){var R=De,P=un;switch(Ge){case 8:xd(),S=6;break e;case 3:case 2:case 9:case 6:sn.current===null&&(a=!0);var W=Ge;if(Ge=0,un=null,Vr(n,R,P,W),o&&Hr){S=0;break e}break;default:W=Ge,Ge=0,un=null,Vr(n,R,P,W)}}fS(),S=st;break}catch(le){Cp(n,le)}while(!0);return a&&n.shellSuspendCounter++,ul=Da=null,Ve=c,z.H=m,z.A=g,De===null&&(Qe=null,Pe=0,ms()),S}function fS(){for(;De!==null;)Ap(De)}function dS(n,a){var o=Ve;Ve|=2;var c=Rp(),m=Mp();Qe!==n||Pe!==a?(Gs=null,_s=It()+500,Fr(n,a)):Hr=Ei(n,a);e:do try{if(Ge!==0&&De!==null){a=De;var g=un;t:switch(Ge){case 1:Ge=0,un=null,Vr(n,a,g,1);break;case 2:case 9:if(Im(g)){Ge=0,un=null,Lp(a);break}a=function(){Ge!==2&&Ge!==9||Qe!==n||(Ge=7),Wn(n)},g.then(a,a);break e;case 3:Ge=7;break e;case 4:Ge=5;break e;case 7:Im(g)?(Ge=0,un=null,Lp(a)):(Ge=0,un=null,Vr(n,a,g,7));break;case 5:var S=null;switch(De.tag){case 26:S=De.memoizedState;case 5:case 27:var R=De;if(S?mg(S):R.stateNode.complete){Ge=0,un=null;var P=R.sibling;if(P!==null)De=P;else{var W=R.return;W!==null?(De=W,Xs(W)):De=null}break t}}Ge=0,un=null,Vr(n,a,g,5);break;case 6:Ge=0,un=null,Vr(n,a,g,6);break;case 8:xd(),st=6;break e;default:throw Error(r(462))}}hS();break}catch(le){Cp(n,le)}while(!0);return ul=Da=null,z.H=c,z.A=m,Ve=o,De!==null?0:(Qe=null,Pe=0,ms(),st)}function hS(){for(;De!==null&&!Qo();)Ap(De)}function Ap(n){var a=Q1(n.alternate,n,xl);n.memoizedProps=n.pendingProps,a===null?Xs(n):De=a}function Lp(n){var a=n,o=a.alternate;switch(a.tag){case 15:case 0:a=G1(o,a,a.pendingProps,a.type,void 0,Pe);break;case 11:a=G1(o,a,a.pendingProps,a.type.render,a.ref,Pe);break;case 5:Of(a);default:ep(o,a),a=De=Mm(a,xl),a=Q1(o,a,xl)}n.memoizedProps=n.pendingProps,a===null?Xs(n):De=a}function Vr(n,a,o,c){ul=Da=null,Of(a),$r=null,Hi=0;var m=a.return;try{if(tS(n,m,a,o,Pe)){st=1,Os(n,Tn(o,n.current)),De=null;return}}catch(g){if(m!==null)throw De=m,g;st=1,Os(n,Tn(o,n.current)),De=null;return}a.flags&32768?(je||c===1?n=!0:Hr||(Pe&536870912)!==0?n=!1:(Gl=n=!0,(c===2||c===9||c===3||c===6)&&(c=sn.current,c!==null&&c.tag===13&&(c.flags|=16384))),kp(a,n)):Xs(a)}function Xs(n){var a=n;do{if((a.flags&32768)!==0){kp(a,Gl);return}n=a.return;var o=aS(a.alternate,a,xl);if(o!==null){De=o;return}if(a=a.sibling,a!==null){De=a;return}De=a=n}while(a!==null);st===0&&(st=5)}function kp(n,a){do{var o=rS(n.alternate,n);if(o!==null){o.flags&=32767,De=o;return}if(o=n.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!a&&(n=n.sibling,n!==null)){De=n;return}De=n=o}while(n!==null);st=6,De=null}function Np(n,a,o,c,m,g,S,R,P){n.cancelPendingCommit=null;do Ws();while(St!==0);if((Ve&6)!==0)throw Error(r(327));if(a!==null){if(a===n.current)throw Error(r(177));if(g=a.lanes|a.childLanes,g|=cf,G6(n,o,g,S,R,P),n===Qe&&(De=Qe=null,Pe=0),Ur=a,Xl=n,Sl=o,bd=g,vd=m,xp=c,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,bS(fr,function(){return Op(),null})):(n.callbackNode=null,n.callbackPriority=0),c=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||c){c=z.T,z.T=null,m=O.p,O.p=2,S=Ve,Ve|=4;try{iS(n,a,o)}finally{Ve=S,O.p=m,z.T=c}}St=1,Dp(),$p(),zp()}}function Dp(){if(St===1){St=0;var n=Xl,a=Ur,o=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||o){o=z.T,z.T=null;var c=O.p;O.p=2;var m=Ve;Ve|=4;try{dp(a,n);var g=$d,S=vm(n.containerInfo),R=g.focusedElem,P=g.selectionRange;if(S!==R&&R&&R.ownerDocument&&bm(R.ownerDocument.documentElement,R)){if(P!==null&&lf(R)){var W=P.start,le=P.end;if(le===void 0&&(le=W),"selectionStart"in R)R.selectionStart=W,R.selectionEnd=Math.min(le,R.value.length);else{var re=R.ownerDocument||document,Z=re&&re.defaultView||window;if(Z.getSelection){var ee=Z.getSelection(),be=R.textContent.length,we=Math.min(P.start,be),Ze=P.end===void 0?we:Math.min(P.end,be);!ee.extend&&we>Ze&&(S=Ze,Ze=we,we=S);var F=gm(R,we),I=gm(R,Ze);if(F&&I&&(ee.rangeCount!==1||ee.anchorNode!==F.node||ee.anchorOffset!==F.offset||ee.focusNode!==I.node||ee.focusOffset!==I.offset)){var X=re.createRange();X.setStart(F.node,F.offset),ee.removeAllRanges(),we>Ze?(ee.addRange(X),ee.extend(I.node,I.offset)):(X.setEnd(I.node,I.offset),ee.addRange(X))}}}}for(re=[],ee=R;ee=ee.parentNode;)ee.nodeType===1&&re.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<re.length;R++){var ae=re[R];ae.element.scrollLeft=ae.left,ae.element.scrollTop=ae.top}}sc=!!Dd,$d=Dd=null}finally{Ve=m,O.p=c,z.T=o}}n.current=a,St=2}}function $p(){if(St===2){St=0;var n=Xl,a=Ur,o=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||o){o=z.T,z.T=null;var c=O.p;O.p=2;var m=Ve;Ve|=4;try{op(n,a.alternate,a)}finally{Ve=m,O.p=c,z.T=o}}St=3}}function zp(){if(St===4||St===3){St=0,Pu();var n=Xl,a=Ur,o=Sl,c=xp;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?St=5:(St=0,Ur=Xl=null,Pp(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(Yl=null),Iu(o),a=a.stateNode,ln&&typeof ln.onCommitFiberRoot=="function")try{ln.onCommitFiberRoot(wi,a,void 0,(a.current.flags&128)===128)}catch{}if(c!==null){a=z.T,m=O.p,O.p=2,z.T=null;try{for(var g=n.onRecoverableError,S=0;S<c.length;S++){var R=c[S];g(R.value,{componentStack:R.stack})}}finally{z.T=a,O.p=m}}(Sl&3)!==0&&Ws(),Wn(n),m=n.pendingLanes,(o&261930)!==0&&(m&42)!==0?n===yd?lo++:(lo=0,yd=n):lo=0,ao(0)}}function Pp(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,Ii(a)))}function Ws(){return Dp(),$p(),zp(),Op()}function Op(){if(St!==5)return!1;var n=Xl,a=bd;bd=0;var o=Iu(Sl),c=z.T,m=O.p;try{O.p=32>o?32:o,z.T=null,o=vd,vd=null;var g=Xl,S=Sl;if(St=0,Ur=Xl=null,Sl=0,(Ve&6)!==0)throw Error(r(331));var R=Ve;if(Ve|=4,bp(g.current),mp(g,g.current,S,o),Ve=R,ao(0,!1),ln&&typeof ln.onPostCommitFiberRoot=="function")try{ln.onPostCommitFiberRoot(wi,g)}catch{}return!0}finally{O.p=m,z.T=c,Pp(n,a)}}function jp(n,a,o){a=Tn(o,a),a=Zf(n.stateNode,a,2),n=Ul(n,a,2),n!==null&&(Ci(n,2),Wn(n))}function qe(n,a,o){if(n.tag===3)jp(n,n,o);else for(;a!==null;){if(a.tag===3){jp(a,n,o);break}else if(a.tag===1){var c=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Yl===null||!Yl.has(c))){n=Tn(o,n),o=I1(2),c=Ul(a,o,2),c!==null&&(B1(o,c,a,n),Ci(c,2),Wn(c));break}}a=a.return}}function wd(n,a,o){var c=n.pingCache;if(c===null){c=n.pingCache=new cS;var m=new Set;c.set(a,m)}else m=c.get(a),m===void 0&&(m=new Set,c.set(a,m));m.has(o)||(md=!0,m.add(o),n=mS.bind(null,n,a,o),a.then(n,n))}function mS(n,a,o){var c=n.pingCache;c!==null&&c.delete(a),n.pingedLanes|=n.suspendedLanes&o,n.warmLanes&=~o,Qe===n&&(Pe&o)===o&&(st===4||st===3&&(Pe&62914560)===Pe&&300>It()-Vs?(Ve&2)===0&&Fr(n,0):pd|=o,Kr===Pe&&(Kr=0)),Wn(n)}function Ip(n,a){a===0&&(a=D2()),n=La(n,a),n!==null&&(Ci(n,a),Wn(n))}function pS(n){var a=n.memoizedState,o=0;a!==null&&(o=a.retryLane),Ip(n,o)}function gS(n,a){var o=0;switch(n.tag){case 31:case 13:var c=n.stateNode,m=n.memoizedState;m!==null&&(o=m.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(r(314))}c!==null&&c.delete(a),Ip(n,o)}function bS(n,a){return jn(n,a)}var Zs=null,_r=null,Ed=!1,Qs=!1,Cd=!1,Zl=0;function Wn(n){n!==_r&&n.next===null&&(_r===null?Zs=_r=n:_r=_r.next=n),Qs=!0,Ed||(Ed=!0,yS())}function ao(n,a){if(!Cd&&Qs){Cd=!0;do for(var o=!1,c=Zs;c!==null;){if(n!==0){var m=c.pendingLanes;if(m===0)var g=0;else{var S=c.suspendedLanes,R=c.pingedLanes;g=(1<<31-an(42|n)+1)-1,g&=m&~(S&~R),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(o=!0,Up(c,g))}else g=Pe,g=ns(c,c===Qe?g:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(g&3)===0||Ei(c,g)||(o=!0,Up(c,g));c=c.next}while(o);Cd=!1}}function vS(){Bp()}function Bp(){Qs=Ed=!1;var n=0;Zl!==0&&LS()&&(n=Zl);for(var a=It(),o=null,c=Zs;c!==null;){var m=c.next,g=Hp(c,a);g===0?(c.next=null,o===null?Zs=m:o.next=m,m===null&&(_r=o)):(o=c,(n!==0||(g&3)!==0)&&(Qs=!0)),c=m}St!==0&&St!==5||ao(n),Zl!==0&&(Zl=0)}function Hp(n,a){for(var o=n.suspendedLanes,c=n.pingedLanes,m=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var S=31-an(g),R=1<<S,P=m[S];P===-1?((R&o)===0||(R&c)!==0)&&(m[S]=_6(R,a)):P<=a&&(n.expiredLanes|=R),g&=~R}if(a=Qe,o=Pe,o=ns(n,n===a?o:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c=n.callbackNode,o===0||n===a&&(Ge===2||Ge===9)||n.cancelPendingCommit!==null)return c!==null&&c!==null&&Si(c),n.callbackNode=null,n.callbackPriority=0;if((o&3)===0||Ei(n,o)){if(a=o&-o,a===n.callbackPriority)return a;switch(c!==null&&Si(c),Iu(o)){case 2:case 8:o=Gn;break;case 32:o=fr;break;case 268435456:o=N2;break;default:o=fr}return c=Kp.bind(null,n),o=jn(o,c),n.callbackPriority=a,n.callbackNode=o,a}return c!==null&&c!==null&&Si(c),n.callbackPriority=2,n.callbackNode=null,2}function Kp(n,a){if(St!==0&&St!==5)return n.callbackNode=null,n.callbackPriority=0,null;var o=n.callbackNode;if(Ws()&&n.callbackNode!==o)return null;var c=Pe;return c=ns(n,n===Qe?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(wp(n,c,a),Hp(n,It()),n.callbackNode!=null&&n.callbackNode===o?Kp.bind(null,n):null)}function Up(n,a){if(Ws())return null;wp(n,a,!0)}function yS(){NS(function(){(Ve&6)!==0?jn(Nt,vS):Bp()})}function Td(){if(Zl===0){var n=kr;n===0&&(n=Jo,Jo<<=1,(Jo&261888)===0&&(Jo=256)),Zl=n}return Zl}function Fp(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:is(""+n)}function Vp(n,a){var o=a.ownerDocument.createElement("input");return o.name=a.name,o.value=a.value,n.id&&o.setAttribute("form",n.id),a.parentNode.insertBefore(o,a),n=new FormData(n),o.parentNode.removeChild(o),n}function xS(n,a,o,c,m){if(a==="submit"&&o&&o.stateNode===m){var g=Fp((m[Vt]||null).action),S=c.submitter;S&&(a=(a=S[Vt]||null)?Fp(a.formAction):S.getAttribute("formAction"),a!==null&&(g=a,S=null));var R=new us("action","action",null,c,m);n.push({event:R,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Zl!==0){var P=S?Vp(m,S):new FormData(m);_f(o,{pending:!0,data:P,method:m.method,action:g},null,P)}}else typeof g=="function"&&(R.preventDefault(),P=S?Vp(m,S):new FormData(m),_f(o,{pending:!0,data:P,method:m.method,action:g},g,P))},currentTarget:m}]})}}for(var Rd=0;Rd<sf.length;Rd++){var Md=sf[Rd],SS=Md.toLowerCase(),wS=Md[0].toUpperCase()+Md.slice(1);In(SS,"on"+wS)}In(Sm,"onAnimationEnd"),In(wm,"onAnimationIteration"),In(Em,"onAnimationStart"),In("dblclick","onDoubleClick"),In("focusin","onFocus"),In("focusout","onBlur"),In(I7,"onTransitionRun"),In(B7,"onTransitionStart"),In(H7,"onTransitionCancel"),In(Cm,"onTransitionEnd"),gr("onMouseEnter",["mouseout","mouseover"]),gr("onMouseLeave",["mouseout","mouseover"]),gr("onPointerEnter",["pointerout","pointerover"]),gr("onPointerLeave",["pointerout","pointerover"]),Ta("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ta("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ta("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ta("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ta("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ta("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ro="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ES=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ro));function _p(n,a){a=(a&4)!==0;for(var o=0;o<n.length;o++){var c=n[o],m=c.event;c=c.listeners;e:{var g=void 0;if(a)for(var S=c.length-1;0<=S;S--){var R=c[S],P=R.instance,W=R.currentTarget;if(R=R.listener,P!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=W;try{g(m)}catch(le){hs(le)}m.currentTarget=null,g=P}else for(S=0;S<c.length;S++){if(R=c[S],P=R.instance,W=R.currentTarget,R=R.listener,P!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=W;try{g(m)}catch(le){hs(le)}m.currentTarget=null,g=P}}}}function $e(n,a){var o=a[Bu];o===void 0&&(o=a[Bu]=new Set);var c=n+"__bubble";o.has(c)||(Gp(a,n,2,!1),o.add(c))}function Ad(n,a,o){var c=0;a&&(c|=4),Gp(o,n,c,a)}var Js="_reactListening"+Math.random().toString(36).slice(2);function Ld(n){if(!n[Js]){n[Js]=!0,B2.forEach(function(o){o!=="selectionchange"&&(ES.has(o)||Ad(o,!1,n),Ad(o,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[Js]||(a[Js]=!0,Ad("selectionchange",!1,a))}}function Gp(n,a,o,c){switch(Sg(a)){case 2:var m=ZS;break;case 8:m=QS;break;default:m=Vd}o=m.bind(null,a,o,n),m=void 0,!Yu||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(m=!0),c?m!==void 0?n.addEventListener(a,o,{capture:!0,passive:m}):n.addEventListener(a,o,!0):m!==void 0?n.addEventListener(a,o,{passive:m}):n.addEventListener(a,o,!1)}function kd(n,a,o,c,m){var g=c;if((a&1)===0&&(a&2)===0&&c!==null)e:for(;;){if(c===null)return;var S=c.tag;if(S===3||S===4){var R=c.stateNode.containerInfo;if(R===m)break;if(S===4)for(S=c.return;S!==null;){var P=S.tag;if((P===3||P===4)&&S.stateNode.containerInfo===m)return;S=S.return}for(;R!==null;){if(S=hr(R),S===null)return;if(P=S.tag,P===5||P===6||P===26||P===27){c=g=S;continue e}R=R.parentNode}}c=c.return}Z2(function(){var W=g,le=Gu(o),re=[];e:{var Z=Tm.get(n);if(Z!==void 0){var ee=us,be=n;switch(n){case"keypress":if(ss(o)===0)break e;case"keydown":case"keyup":ee=g7;break;case"focusin":be="focus",ee=Qu;break;case"focusout":be="blur",ee=Qu;break;case"beforeblur":case"afterblur":ee=Qu;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ee=em;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=a7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=y7;break;case Sm:case wm:case Em:ee=o7;break;case Cm:ee=S7;break;case"scroll":case"scrollend":ee=n7;break;case"wheel":ee=E7;break;case"copy":case"cut":case"paste":ee=c7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=nm;break;case"toggle":case"beforetoggle":ee=T7}var we=(a&4)!==0,Ze=!we&&(n==="scroll"||n==="scrollend"),F=we?Z!==null?Z+"Capture":null:Z;we=[];for(var I=W,X;I!==null;){var ae=I;if(X=ae.stateNode,ae=ae.tag,ae!==5&&ae!==26&&ae!==27||X===null||F===null||(ae=Mi(I,F),ae!=null&&we.push(io(I,ae,X))),Ze)break;I=I.return}0<we.length&&(Z=new ee(Z,be,null,o,le),re.push({event:Z,listeners:we}))}}if((a&7)===0){e:{if(Z=n==="mouseover"||n==="pointerover",ee=n==="mouseout"||n==="pointerout",Z&&o!==_u&&(be=o.relatedTarget||o.fromElement)&&(hr(be)||be[dr]))break e;if((ee||Z)&&(Z=le.window===le?le:(Z=le.ownerDocument)?Z.defaultView||Z.parentWindow:window,ee?(be=o.relatedTarget||o.toElement,ee=W,be=be?hr(be):null,be!==null&&(Ze=s(be),we=be.tag,be!==Ze||we!==5&&we!==27&&we!==6)&&(be=null)):(ee=null,be=W),ee!==be)){if(we=em,ae="onMouseLeave",F="onMouseEnter",I="mouse",(n==="pointerout"||n==="pointerover")&&(we=nm,ae="onPointerLeave",F="onPointerEnter",I="pointer"),Ze=ee==null?Z:Ri(ee),X=be==null?Z:Ri(be),Z=new we(ae,I+"leave",ee,o,le),Z.target=Ze,Z.relatedTarget=X,ae=null,hr(le)===W&&(we=new we(F,I+"enter",be,o,le),we.target=X,we.relatedTarget=Ze,ae=we),Ze=ae,ee&&be)t:{for(we=CS,F=ee,I=be,X=0,ae=F;ae;ae=we(ae))X++;ae=0;for(var Se=I;Se;Se=we(Se))ae++;for(;0<X-ae;)F=we(F),X--;for(;0<ae-X;)I=we(I),ae--;for(;X--;){if(F===I||I!==null&&F===I.alternate){we=F;break t}F=we(F),I=we(I)}we=null}else we=null;ee!==null&&qp(re,Z,ee,we,!1),be!==null&&Ze!==null&&qp(re,Ze,be,we,!0)}}e:{if(Z=W?Ri(W):window,ee=Z.nodeName&&Z.nodeName.toLowerCase(),ee==="select"||ee==="input"&&Z.type==="file")var Ke=um;else if(sm(Z))if(fm)Ke=P7;else{Ke=$7;var ye=D7}else ee=Z.nodeName,!ee||ee.toLowerCase()!=="input"||Z.type!=="checkbox"&&Z.type!=="radio"?W&&Vu(W.elementType)&&(Ke=um):Ke=z7;if(Ke&&(Ke=Ke(n,W))){cm(re,Ke,o,le);break e}ye&&ye(n,Z,W),n==="focusout"&&W&&Z.type==="number"&&W.memoizedProps.value!=null&&Fu(Z,"number",Z.value)}switch(ye=W?Ri(W):window,n){case"focusin":(sm(ye)||ye.contentEditable==="true")&&(wr=ye,af=W,Pi=null);break;case"focusout":Pi=af=wr=null;break;case"mousedown":rf=!0;break;case"contextmenu":case"mouseup":case"dragend":rf=!1,ym(re,o,le);break;case"selectionchange":if(j7)break;case"keydown":case"keyup":ym(re,o,le)}var Me;if(ef)e:{switch(n){case"compositionstart":var Oe="onCompositionStart";break e;case"compositionend":Oe="onCompositionEnd";break e;case"compositionupdate":Oe="onCompositionUpdate";break e}Oe=void 0}else Sr?im(n,o)&&(Oe="onCompositionEnd"):n==="keydown"&&o.keyCode===229&&(Oe="onCompositionStart");Oe&&(lm&&o.locale!=="ko"&&(Sr||Oe!=="onCompositionStart"?Oe==="onCompositionEnd"&&Sr&&(Me=Q2()):(Pl=le,Xu="value"in Pl?Pl.value:Pl.textContent,Sr=!0)),ye=ec(W,Oe),0<ye.length&&(Oe=new tm(Oe,n,null,o,le),re.push({event:Oe,listeners:ye}),Me?Oe.data=Me:(Me=om(o),Me!==null&&(Oe.data=Me)))),(Me=M7?A7(n,o):L7(n,o))&&(Oe=ec(W,"onBeforeInput"),0<Oe.length&&(ye=new tm("onBeforeInput","beforeinput",null,o,le),re.push({event:ye,listeners:Oe}),ye.data=Me)),xS(re,n,W,o,le)}_p(re,a)})}function io(n,a,o){return{instance:n,listener:a,currentTarget:o}}function ec(n,a){for(var o=a+"Capture",c=[];n!==null;){var m=n,g=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||g===null||(m=Mi(n,o),m!=null&&c.unshift(io(n,m,g)),m=Mi(n,a),m!=null&&c.push(io(n,m,g))),n.tag===3)return c;n=n.return}return[]}function CS(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function qp(n,a,o,c,m){for(var g=a._reactName,S=[];o!==null&&o!==c;){var R=o,P=R.alternate,W=R.stateNode;if(R=R.tag,P!==null&&P===c)break;R!==5&&R!==26&&R!==27||W===null||(P=W,m?(W=Mi(o,g),W!=null&&S.unshift(io(o,W,P))):m||(W=Mi(o,g),W!=null&&S.push(io(o,W,P)))),o=o.return}S.length!==0&&n.push({event:a,listeners:S})}var TS=/\r\n?/g,RS=/\u0000|\uFFFD/g;function Yp(n){return(typeof n=="string"?n:""+n).replace(TS,`
50
+ `).replace(RS,"")}function Xp(n,a){return a=Yp(a),Yp(n)===a}function We(n,a,o,c,m,g){switch(o){case"children":typeof c=="string"?a==="body"||a==="textarea"&&c===""||vr(n,c):(typeof c=="number"||typeof c=="bigint")&&a!=="body"&&vr(n,""+c);break;case"className":as(n,"class",c);break;case"tabIndex":as(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":as(n,o,c);break;case"style":X2(n,c,g);break;case"data":if(a!=="object"){as(n,"data",c);break}case"src":case"href":if(c===""&&(a!=="a"||o!=="href")){n.removeAttribute(o);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(o);break}c=is(""+c),n.setAttribute(o,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(o==="formAction"?(a!=="input"&&We(n,a,"name",m.name,m,null),We(n,a,"formEncType",m.formEncType,m,null),We(n,a,"formMethod",m.formMethod,m,null),We(n,a,"formTarget",m.formTarget,m,null)):(We(n,a,"encType",m.encType,m,null),We(n,a,"method",m.method,m,null),We(n,a,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(o);break}c=is(""+c),n.setAttribute(o,c);break;case"onClick":c!=null&&(n.onclick=il);break;case"onScroll":c!=null&&$e("scroll",n);break;case"onScrollEnd":c!=null&&$e("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(o=c.__html,o!=null){if(m.children!=null)throw Error(r(60));n.innerHTML=o}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}o=is(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(o,""+c):n.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(o,""):n.removeAttribute(o);break;case"capture":case"download":c===!0?n.setAttribute(o,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(o,c):n.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(o,c):n.removeAttribute(o);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(o):n.setAttribute(o,c);break;case"popover":$e("beforetoggle",n),$e("toggle",n),ls(n,"popover",c);break;case"xlinkActuate":rl(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":rl(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":rl(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":rl(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":rl(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":rl(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":rl(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":rl(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":rl(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":ls(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=e7.get(o)||o,ls(n,o,c))}}function Nd(n,a,o,c,m,g){switch(o){case"style":X2(n,c,g);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(o=c.__html,o!=null){if(m.children!=null)throw Error(r(60));n.innerHTML=o}}break;case"children":typeof c=="string"?vr(n,c):(typeof c=="number"||typeof c=="bigint")&&vr(n,""+c);break;case"onScroll":c!=null&&$e("scroll",n);break;case"onScrollEnd":c!=null&&$e("scrollend",n);break;case"onClick":c!=null&&(n.onclick=il);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!H2.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(m=o.endsWith("Capture"),a=o.slice(2,m?o.length-7:void 0),g=n[Vt]||null,g=g!=null?g[o]:null,typeof g=="function"&&n.removeEventListener(a,g,m),typeof c=="function")){typeof g!="function"&&g!==null&&(o in n?n[o]=null:n.hasAttribute(o)&&n.removeAttribute(o)),n.addEventListener(a,c,m);break e}o in n?n[o]=c:c===!0?n.setAttribute(o,""):ls(n,o,c)}}}function Ot(n,a,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$e("error",n),$e("load",n);var c=!1,m=!1,g;for(g in o)if(o.hasOwnProperty(g)){var S=o[g];if(S!=null)switch(g){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:We(n,a,g,S,o,null)}}m&&We(n,a,"srcSet",o.srcSet,o,null),c&&We(n,a,"src",o.src,o,null);return;case"input":$e("invalid",n);var R=g=S=m=null,P=null,W=null;for(c in o)if(o.hasOwnProperty(c)){var le=o[c];if(le!=null)switch(c){case"name":m=le;break;case"type":S=le;break;case"checked":P=le;break;case"defaultChecked":W=le;break;case"value":g=le;break;case"defaultValue":R=le;break;case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(r(137,a));break;default:We(n,a,c,le,o,null)}}_2(n,g,R,P,W,S,m,!1);return;case"select":$e("invalid",n),c=S=g=null;for(m in o)if(o.hasOwnProperty(m)&&(R=o[m],R!=null))switch(m){case"value":g=R;break;case"defaultValue":S=R;break;case"multiple":c=R;default:We(n,a,m,R,o,null)}a=g,o=S,n.multiple=!!c,a!=null?br(n,!!c,a,!1):o!=null&&br(n,!!c,o,!0);return;case"textarea":$e("invalid",n),g=m=c=null;for(S in o)if(o.hasOwnProperty(S)&&(R=o[S],R!=null))switch(S){case"value":c=R;break;case"defaultValue":m=R;break;case"children":g=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(r(91));break;default:We(n,a,S,R,o,null)}q2(n,c,m,g);return;case"option":for(P in o)if(o.hasOwnProperty(P)&&(c=o[P],c!=null))switch(P){case"selected":n.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:We(n,a,P,c,o,null)}return;case"dialog":$e("beforetoggle",n),$e("toggle",n),$e("cancel",n),$e("close",n);break;case"iframe":case"object":$e("load",n);break;case"video":case"audio":for(c=0;c<ro.length;c++)$e(ro[c],n);break;case"image":$e("error",n),$e("load",n);break;case"details":$e("toggle",n);break;case"embed":case"source":case"link":$e("error",n),$e("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(W in o)if(o.hasOwnProperty(W)&&(c=o[W],c!=null))switch(W){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:We(n,a,W,c,o,null)}return;default:if(Vu(a)){for(le in o)o.hasOwnProperty(le)&&(c=o[le],c!==void 0&&Nd(n,a,le,c,o,void 0));return}}for(R in o)o.hasOwnProperty(R)&&(c=o[R],c!=null&&We(n,a,R,c,o,null))}function MS(n,a,o,c){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,g=null,S=null,R=null,P=null,W=null,le=null;for(ee in o){var re=o[ee];if(o.hasOwnProperty(ee)&&re!=null)switch(ee){case"checked":break;case"value":break;case"defaultValue":P=re;default:c.hasOwnProperty(ee)||We(n,a,ee,null,c,re)}}for(var Z in c){var ee=c[Z];if(re=o[Z],c.hasOwnProperty(Z)&&(ee!=null||re!=null))switch(Z){case"type":g=ee;break;case"name":m=ee;break;case"checked":W=ee;break;case"defaultChecked":le=ee;break;case"value":S=ee;break;case"defaultValue":R=ee;break;case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(r(137,a));break;default:ee!==re&&We(n,a,Z,ee,c,re)}}Uu(n,S,R,P,W,le,g,m);return;case"select":ee=S=R=Z=null;for(g in o)if(P=o[g],o.hasOwnProperty(g)&&P!=null)switch(g){case"value":break;case"multiple":ee=P;default:c.hasOwnProperty(g)||We(n,a,g,null,c,P)}for(m in c)if(g=c[m],P=o[m],c.hasOwnProperty(m)&&(g!=null||P!=null))switch(m){case"value":Z=g;break;case"defaultValue":R=g;break;case"multiple":S=g;default:g!==P&&We(n,a,m,g,c,P)}a=R,o=S,c=ee,Z!=null?br(n,!!o,Z,!1):!!c!=!!o&&(a!=null?br(n,!!o,a,!0):br(n,!!o,o?[]:"",!1));return;case"textarea":ee=Z=null;for(R in o)if(m=o[R],o.hasOwnProperty(R)&&m!=null&&!c.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:We(n,a,R,null,c,m)}for(S in c)if(m=c[S],g=o[S],c.hasOwnProperty(S)&&(m!=null||g!=null))switch(S){case"value":Z=m;break;case"defaultValue":ee=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(r(91));break;default:m!==g&&We(n,a,S,m,c,g)}G2(n,Z,ee);return;case"option":for(var be in o)if(Z=o[be],o.hasOwnProperty(be)&&Z!=null&&!c.hasOwnProperty(be))switch(be){case"selected":n.selected=!1;break;default:We(n,a,be,null,c,Z)}for(P in c)if(Z=c[P],ee=o[P],c.hasOwnProperty(P)&&Z!==ee&&(Z!=null||ee!=null))switch(P){case"selected":n.selected=Z&&typeof Z!="function"&&typeof Z!="symbol";break;default:We(n,a,P,Z,c,ee)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var we in o)Z=o[we],o.hasOwnProperty(we)&&Z!=null&&!c.hasOwnProperty(we)&&We(n,a,we,null,c,Z);for(W in c)if(Z=c[W],ee=o[W],c.hasOwnProperty(W)&&Z!==ee&&(Z!=null||ee!=null))switch(W){case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(r(137,a));break;default:We(n,a,W,Z,c,ee)}return;default:if(Vu(a)){for(var Ze in o)Z=o[Ze],o.hasOwnProperty(Ze)&&Z!==void 0&&!c.hasOwnProperty(Ze)&&Nd(n,a,Ze,void 0,c,Z);for(le in c)Z=c[le],ee=o[le],!c.hasOwnProperty(le)||Z===ee||Z===void 0&&ee===void 0||Nd(n,a,le,Z,c,ee);return}}for(var F in o)Z=o[F],o.hasOwnProperty(F)&&Z!=null&&!c.hasOwnProperty(F)&&We(n,a,F,null,c,Z);for(re in c)Z=c[re],ee=o[re],!c.hasOwnProperty(re)||Z===ee||Z==null&&ee==null||We(n,a,re,Z,c,ee)}function Wp(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function AS(){if(typeof performance.getEntriesByType=="function"){for(var n=0,a=0,o=performance.getEntriesByType("resource"),c=0;c<o.length;c++){var m=o[c],g=m.transferSize,S=m.initiatorType,R=m.duration;if(g&&R&&Wp(S)){for(S=0,R=m.responseEnd,c+=1;c<o.length;c++){var P=o[c],W=P.startTime;if(W>R)break;var le=P.transferSize,re=P.initiatorType;le&&Wp(re)&&(P=P.responseEnd,S+=le*(P<R?1:(R-W)/(P-W)))}if(--c,a+=8*(g+S)/(m.duration/1e3),n++,10<n)break}}if(0<n)return a/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var Dd=null,$d=null;function tc(n){return n.nodeType===9?n:n.ownerDocument}function Zp(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Qp(n,a){if(n===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&a==="foreignObject"?0:n}function zd(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Pd=null;function LS(){var n=window.event;return n&&n.type==="popstate"?n===Pd?!1:(Pd=n,!0):(Pd=null,!1)}var Jp=typeof setTimeout=="function"?setTimeout:void 0,kS=typeof clearTimeout=="function"?clearTimeout:void 0,eg=typeof Promise=="function"?Promise:void 0,NS=typeof queueMicrotask=="function"?queueMicrotask:typeof eg<"u"?function(n){return eg.resolve(null).then(n).catch(DS)}:Jp;function DS(n){setTimeout(function(){throw n})}function Ql(n){return n==="head"}function tg(n,a){var o=a,c=0;do{var m=o.nextSibling;if(n.removeChild(o),m&&m.nodeType===8)if(o=m.data,o==="/$"||o==="/&"){if(c===0){n.removeChild(m),Xr(a);return}c--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")c++;else if(o==="html")oo(n.ownerDocument.documentElement);else if(o==="head"){o=n.ownerDocument.head,oo(o);for(var g=o.firstChild;g;){var S=g.nextSibling,R=g.nodeName;g[Ti]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&g.rel.toLowerCase()==="stylesheet"||o.removeChild(g),g=S}}else o==="body"&&oo(n.ownerDocument.body);o=m}while(o);Xr(a)}function ng(n,a){var o=n;n=0;do{var c=o.nextSibling;if(o.nodeType===1?a?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(a?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),c&&c.nodeType===8)if(o=c.data,o==="/$"){if(n===0)break;n--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||n++;o=c}while(o)}function Od(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var o=a;switch(a=a.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Od(o),Hu(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}n.removeChild(o)}}function $S(n,a,o,c){for(;n.nodeType===1;){var m=o;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!c&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(c){if(!n[Ti])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(g=n.getAttribute("rel"),g==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(g!==m.rel||n.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||n.getAttribute("title")!==(m.title==null?null:m.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(g=n.getAttribute("src"),(g!==(m.src==null?null:m.src)||n.getAttribute("type")!==(m.type==null?null:m.type)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&g&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){var g=m.name==null?null:""+m.name;if(m.type==="hidden"&&n.getAttribute("name")===g)return n}else return n;if(n=kn(n.nextSibling),n===null)break}return null}function zS(n,a,o){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!o||(n=kn(n.nextSibling),n===null))return null;return n}function lg(n,a){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!a||(n=kn(n.nextSibling),n===null))return null;return n}function jd(n){return n.data==="$?"||n.data==="$~"}function Id(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function PS(n,a){var o=n.ownerDocument;if(n.data==="$~")n._reactRetry=a;else if(n.data!=="$?"||o.readyState!=="loading")a();else{var c=function(){a(),o.removeEventListener("DOMContentLoaded",c)};o.addEventListener("DOMContentLoaded",c),n._reactRetry=c}}function kn(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return n}var Bd=null;function ag(n){n=n.nextSibling;for(var a=0;n;){if(n.nodeType===8){var o=n.data;if(o==="/$"||o==="/&"){if(a===0)return kn(n.nextSibling);a--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||a++}n=n.nextSibling}return null}function rg(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var o=n.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(a===0)return n;a--}else o!=="/$"&&o!=="/&"||a++}n=n.previousSibling}return null}function ig(n,a,o){switch(a=tc(o),n){case"html":if(n=a.documentElement,!n)throw Error(r(452));return n;case"head":if(n=a.head,!n)throw Error(r(453));return n;case"body":if(n=a.body,!n)throw Error(r(454));return n;default:throw Error(r(451))}}function oo(n){for(var a=n.attributes;a.length;)n.removeAttributeNode(a[0]);Hu(n)}var Nn=new Map,og=new Set;function nc(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var wl=O.d;O.d={f:OS,r:jS,D:IS,C:BS,L:HS,m:KS,X:FS,S:US,M:VS};function OS(){var n=wl.f(),a=qs();return n||a}function jS(n){var a=mr(n);a!==null&&a.tag===5&&a.type==="form"?C1(a):wl.r(n)}var Gr=typeof document>"u"?null:document;function sg(n,a,o){var c=Gr;if(c&&typeof a=="string"&&a){var m=En(a);m='link[rel="'+n+'"][href="'+m+'"]',typeof o=="string"&&(m+='[crossorigin="'+o+'"]'),og.has(m)||(og.add(m),n={rel:n,crossOrigin:o,href:a},c.querySelector(m)===null&&(a=c.createElement("link"),Ot(a,"link",n),Tt(a),c.head.appendChild(a)))}}function IS(n){wl.D(n),sg("dns-prefetch",n,null)}function BS(n,a){wl.C(n,a),sg("preconnect",n,a)}function HS(n,a,o){wl.L(n,a,o);var c=Gr;if(c&&n&&a){var m='link[rel="preload"][as="'+En(a)+'"]';a==="image"&&o&&o.imageSrcSet?(m+='[imagesrcset="'+En(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(m+='[imagesizes="'+En(o.imageSizes)+'"]')):m+='[href="'+En(n)+'"]';var g=m;switch(a){case"style":g=qr(n);break;case"script":g=Yr(n)}Nn.has(g)||(n=b({rel:"preload",href:a==="image"&&o&&o.imageSrcSet?void 0:n,as:a},o),Nn.set(g,n),c.querySelector(m)!==null||a==="style"&&c.querySelector(so(g))||a==="script"&&c.querySelector(co(g))||(a=c.createElement("link"),Ot(a,"link",n),Tt(a),c.head.appendChild(a)))}}function KS(n,a){wl.m(n,a);var o=Gr;if(o&&n){var c=a&&typeof a.as=="string"?a.as:"script",m='link[rel="modulepreload"][as="'+En(c)+'"][href="'+En(n)+'"]',g=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Yr(n)}if(!Nn.has(g)&&(n=b({rel:"modulepreload",href:n},a),Nn.set(g,n),o.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(co(g)))return}c=o.createElement("link"),Ot(c,"link",n),Tt(c),o.head.appendChild(c)}}}function US(n,a,o){wl.S(n,a,o);var c=Gr;if(c&&n){var m=pr(c).hoistableStyles,g=qr(n);a=a||"default";var S=m.get(g);if(!S){var R={loading:0,preload:null};if(S=c.querySelector(so(g)))R.loading=5;else{n=b({rel:"stylesheet",href:n,"data-precedence":a},o),(o=Nn.get(g))&&Hd(n,o);var P=S=c.createElement("link");Tt(P),Ot(P,"link",n),P._p=new Promise(function(W,le){P.onload=W,P.onerror=le}),P.addEventListener("load",function(){R.loading|=1}),P.addEventListener("error",function(){R.loading|=2}),R.loading|=4,lc(S,a,c)}S={type:"stylesheet",instance:S,count:1,state:R},m.set(g,S)}}}function FS(n,a){wl.X(n,a);var o=Gr;if(o&&n){var c=pr(o).hoistableScripts,m=Yr(n),g=c.get(m);g||(g=o.querySelector(co(m)),g||(n=b({src:n,async:!0},a),(a=Nn.get(m))&&Kd(n,a),g=o.createElement("script"),Tt(g),Ot(g,"link",n),o.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function VS(n,a){wl.M(n,a);var o=Gr;if(o&&n){var c=pr(o).hoistableScripts,m=Yr(n),g=c.get(m);g||(g=o.querySelector(co(m)),g||(n=b({src:n,async:!0,type:"module"},a),(a=Nn.get(m))&&Kd(n,a),g=o.createElement("script"),Tt(g),Ot(g,"link",n),o.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function cg(n,a,o,c){var m=(m=ie.current)?nc(m):null;if(!m)throw Error(r(446));switch(n){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(a=qr(o.href),o=pr(m).hoistableStyles,c=o.get(a),c||(c={type:"style",instance:null,count:0,state:null},o.set(a,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){n=qr(o.href);var g=pr(m).hoistableStyles,S=g.get(n);if(S||(m=m.ownerDocument||m,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(n,S),(g=m.querySelector(so(n)))&&!g._p&&(S.instance=g,S.state.loading=5),Nn.has(n)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Nn.set(n,o),g||_S(m,n,o,S.state))),a&&c===null)throw Error(r(528,""));return S}if(a&&c!==null)throw Error(r(529,""));return null;case"script":return a=o.async,o=o.src,typeof o=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Yr(o),o=pr(m).hoistableScripts,c=o.get(a),c||(c={type:"script",instance:null,count:0,state:null},o.set(a,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,n))}}function qr(n){return'href="'+En(n)+'"'}function so(n){return'link[rel="stylesheet"]['+n+"]"}function ug(n){return b({},n,{"data-precedence":n.precedence,precedence:null})}function _S(n,a,o,c){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?c.loading=1:(a=n.createElement("link"),c.preload=a,a.addEventListener("load",function(){return c.loading|=1}),a.addEventListener("error",function(){return c.loading|=2}),Ot(a,"link",o),Tt(a),n.head.appendChild(a))}function Yr(n){return'[src="'+En(n)+'"]'}function co(n){return"script[async]"+n}function fg(n,a,o){if(a.count++,a.instance===null)switch(a.type){case"style":var c=n.querySelector('style[data-href~="'+En(o.href)+'"]');if(c)return a.instance=c,Tt(c),c;var m=b({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),Tt(c),Ot(c,"style",m),lc(c,o.precedence,n),a.instance=c;case"stylesheet":m=qr(o.href);var g=n.querySelector(so(m));if(g)return a.state.loading|=4,a.instance=g,Tt(g),g;c=ug(o),(m=Nn.get(m))&&Hd(c,m),g=(n.ownerDocument||n).createElement("link"),Tt(g);var S=g;return S._p=new Promise(function(R,P){S.onload=R,S.onerror=P}),Ot(g,"link",c),a.state.loading|=4,lc(g,o.precedence,n),a.instance=g;case"script":return g=Yr(o.src),(m=n.querySelector(co(g)))?(a.instance=m,Tt(m),m):(c=o,(m=Nn.get(g))&&(c=b({},o),Kd(c,m)),n=n.ownerDocument||n,m=n.createElement("script"),Tt(m),Ot(m,"link",c),n.head.appendChild(m),a.instance=m);case"void":return null;default:throw Error(r(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(c=a.instance,a.state.loading|=4,lc(c,o.precedence,n));return a.instance}function lc(n,a,o){for(var c=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,g=m,S=0;S<c.length;S++){var R=c[S];if(R.dataset.precedence===a)g=R;else if(g!==m)break}g?g.parentNode.insertBefore(n,g.nextSibling):(a=o.nodeType===9?o.head:o,a.insertBefore(n,a.firstChild))}function Hd(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Kd(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var ac=null;function dg(n,a,o){if(ac===null){var c=new Map,m=ac=new Map;m.set(o,c)}else m=ac,c=m.get(o),c||(c=new Map,m.set(o,c));if(c.has(n))return c;for(c.set(n,null),o=o.getElementsByTagName(n),m=0;m<o.length;m++){var g=o[m];if(!(g[Ti]||g[Dt]||n==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var S=g.getAttribute(a)||"";S=n+S;var R=c.get(S);R?R.push(g):c.set(S,[g])}}return c}function hg(n,a,o){n=n.ownerDocument||n,n.head.insertBefore(o,a==="title"?n.querySelector("head > title"):null)}function GS(n,a,o){if(o===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function mg(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function qS(n,a,o,c){if(o.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var m=qr(c.href),g=a.querySelector(so(m));if(g){a=g._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(n.count++,n=rc.bind(n),a.then(n,n)),o.state.loading|=4,o.instance=g,Tt(g);return}g=a.ownerDocument||a,c=ug(c),(m=Nn.get(m))&&Hd(c,m),g=g.createElement("link"),Tt(g);var S=g;S._p=new Promise(function(R,P){S.onload=R,S.onerror=P}),Ot(g,"link",c),o.instance=g}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(o,a),(a=o.state.preload)&&(o.state.loading&3)===0&&(n.count++,o=rc.bind(n),a.addEventListener("load",o),a.addEventListener("error",o))}}var Ud=0;function YS(n,a){return n.stylesheets&&n.count===0&&oc(n,n.stylesheets),0<n.count||0<n.imgCount?function(o){var c=setTimeout(function(){if(n.stylesheets&&oc(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4+a);0<n.imgBytes&&Ud===0&&(Ud=62500*AS());var m=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&oc(n,n.stylesheets),n.unsuspend)){var g=n.unsuspend;n.unsuspend=null,g()}},(n.imgBytes>Ud?50:800)+a);return n.unsuspend=o,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(m)}}:null}function rc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)oc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var ic=null;function oc(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,ic=new Map,a.forEach(XS,n),ic=null,rc.call(n))}function XS(n,a){if(!(a.state.loading&4)){var o=ic.get(n);if(o)var c=o.get(null);else{o=new Map,ic.set(n,o);for(var m=n.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<m.length;g++){var S=m[g];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(o.set(S.dataset.precedence,S),c=S)}c&&o.set(null,c)}m=a.instance,S=m.getAttribute("data-precedence"),g=o.get(S)||c,g===c&&o.set(null,m),o.set(S,m),this.count++,c=rc.bind(this),m.addEventListener("load",c),m.addEventListener("error",c),g?g.parentNode.insertBefore(m,g.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(m,n.firstChild)),a.state.loading|=4}}var uo={$$typeof:L,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function WS(n,a,o,c,m,g,S,R,P){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ou(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ou(0),this.hiddenUpdates=Ou(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=g,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=P,this.incompleteTransitions=new Map}function pg(n,a,o,c,m,g,S,R,P,W,le,re){return n=new WS(n,a,o,S,P,W,le,re,R),a=1,g===!0&&(a|=24),g=on(3,null,null,a),n.current=g,g.stateNode=n,a=Sf(),a.refCount++,n.pooledCache=a,a.refCount++,g.memoizedState={element:c,isDehydrated:o,cache:a},Tf(g),n}function gg(n){return n?(n=Tr,n):Tr}function bg(n,a,o,c,m,g){m=gg(m),c.context===null?c.context=m:c.pendingContext=m,c=Kl(a),c.payload={element:o},g=g===void 0?null:g,g!==null&&(c.callback=g),o=Ul(n,c,a),o!==null&&(Wt(o,n,a),Ui(o,n,a))}function vg(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var o=n.retryLane;n.retryLane=o!==0&&o<a?o:a}}function Fd(n,a){vg(n,a),(n=n.alternate)&&vg(n,a)}function yg(n){if(n.tag===13||n.tag===31){var a=La(n,67108864);a!==null&&Wt(a,n,67108864),Fd(n,67108864)}}function xg(n){if(n.tag===13||n.tag===31){var a=dn();a=ju(a);var o=La(n,a);o!==null&&Wt(o,n,a),Fd(n,a)}}var sc=!0;function ZS(n,a,o,c){var m=z.T;z.T=null;var g=O.p;try{O.p=2,Vd(n,a,o,c)}finally{O.p=g,z.T=m}}function QS(n,a,o,c){var m=z.T;z.T=null;var g=O.p;try{O.p=8,Vd(n,a,o,c)}finally{O.p=g,z.T=m}}function Vd(n,a,o,c){if(sc){var m=_d(c);if(m===null)kd(n,a,c,cc,o),wg(n,c);else if(e8(m,n,a,o,c))c.stopPropagation();else if(wg(n,c),a&4&&-1<JS.indexOf(n)){for(;m!==null;){var g=mr(m);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var S=Ca(g.pendingLanes);if(S!==0){var R=g;for(R.pendingLanes|=2,R.entangledLanes|=2;S;){var P=1<<31-an(S);R.entanglements[1]|=P,S&=~P}Wn(g),(Ve&6)===0&&(_s=It()+500,ao(0))}}break;case 31:case 13:R=La(g,2),R!==null&&Wt(R,g,2),qs(),Fd(g,2)}if(g=_d(c),g===null&&kd(n,a,c,cc,o),g===m)break;m=g}m!==null&&c.stopPropagation()}else kd(n,a,c,null,o)}}function _d(n){return n=Gu(n),Gd(n)}var cc=null;function Gd(n){if(cc=null,n=hr(n),n!==null){var a=s(n);if(a===null)n=null;else{var o=a.tag;if(o===13){if(n=u(a),n!==null)return n;n=null}else if(o===31){if(n=f(a),n!==null)return n;n=null}else if(o===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return cc=n,null}function Sg(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ye()){case Nt:return 2;case Gn:return 8;case fr:case B6:return 32;case N2:return 268435456;default:return 32}default:return 32}}var qd=!1,Jl=null,ea=null,ta=null,fo=new Map,ho=new Map,na=[],JS="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function wg(n,a){switch(n){case"focusin":case"focusout":Jl=null;break;case"dragenter":case"dragleave":ea=null;break;case"mouseover":case"mouseout":ta=null;break;case"pointerover":case"pointerout":fo.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":ho.delete(a.pointerId)}}function mo(n,a,o,c,m,g){return n===null||n.nativeEvent!==g?(n={blockedOn:a,domEventName:o,eventSystemFlags:c,nativeEvent:g,targetContainers:[m]},a!==null&&(a=mr(a),a!==null&&yg(a)),n):(n.eventSystemFlags|=c,a=n.targetContainers,m!==null&&a.indexOf(m)===-1&&a.push(m),n)}function e8(n,a,o,c,m){switch(a){case"focusin":return Jl=mo(Jl,n,a,o,c,m),!0;case"dragenter":return ea=mo(ea,n,a,o,c,m),!0;case"mouseover":return ta=mo(ta,n,a,o,c,m),!0;case"pointerover":var g=m.pointerId;return fo.set(g,mo(fo.get(g)||null,n,a,o,c,m)),!0;case"gotpointercapture":return g=m.pointerId,ho.set(g,mo(ho.get(g)||null,n,a,o,c,m)),!0}return!1}function Eg(n){var a=hr(n.target);if(a!==null){var o=s(a);if(o!==null){if(a=o.tag,a===13){if(a=u(o),a!==null){n.blockedOn=a,j2(n.priority,function(){xg(o)});return}}else if(a===31){if(a=f(o),a!==null){n.blockedOn=a,j2(n.priority,function(){xg(o)});return}}else if(a===3&&o.stateNode.current.memoizedState.isDehydrated){n.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}n.blockedOn=null}function uc(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var o=_d(n.nativeEvent);if(o===null){o=n.nativeEvent;var c=new o.constructor(o.type,o);_u=c,o.target.dispatchEvent(c),_u=null}else return a=mr(o),a!==null&&yg(a),n.blockedOn=o,!1;a.shift()}return!0}function Cg(n,a,o){uc(n)&&o.delete(a)}function t8(){qd=!1,Jl!==null&&uc(Jl)&&(Jl=null),ea!==null&&uc(ea)&&(ea=null),ta!==null&&uc(ta)&&(ta=null),fo.forEach(Cg),ho.forEach(Cg)}function fc(n,a){n.blockedOn===a&&(n.blockedOn=null,qd||(qd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,t8)))}var dc=null;function Tg(n){dc!==n&&(dc=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){dc===n&&(dc=null);for(var a=0;a<n.length;a+=3){var o=n[a],c=n[a+1],m=n[a+2];if(typeof c!="function"){if(Gd(c||o)===null)continue;break}var g=mr(o);g!==null&&(n.splice(a,3),a-=3,_f(g,{pending:!0,data:m,method:o.method,action:c},c,m))}}))}function Xr(n){function a(P){return fc(P,n)}Jl!==null&&fc(Jl,n),ea!==null&&fc(ea,n),ta!==null&&fc(ta,n),fo.forEach(a),ho.forEach(a);for(var o=0;o<na.length;o++){var c=na[o];c.blockedOn===n&&(c.blockedOn=null)}for(;0<na.length&&(o=na[0],o.blockedOn===null);)Eg(o),o.blockedOn===null&&na.shift();if(o=(n.ownerDocument||n).$$reactFormReplay,o!=null)for(c=0;c<o.length;c+=3){var m=o[c],g=o[c+1],S=m[Vt]||null;if(typeof g=="function")S||Tg(o);else if(S){var R=null;if(g&&g.hasAttribute("formAction")){if(m=g,S=g[Vt]||null)R=S.formAction;else if(Gd(m)!==null)continue}else R=S.action;typeof R=="function"?o[c+1]=R:(o.splice(c,3),c-=3),Tg(o)}}}function Rg(){function n(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(S){return m=S})},focusReset:"manual",scroll:"manual"})}function a(){m!==null&&(m(),m=null),c||setTimeout(o,20)}function o(){if(!c&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,m=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(o,100),function(){c=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),m!==null&&(m(),m=null)}}}function Yd(n){this._internalRoot=n}hc.prototype.render=Yd.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(r(409));var o=a.current,c=dn();bg(o,c,n,a,null,null)},hc.prototype.unmount=Yd.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;bg(n.current,2,null,n,null,null),qs(),a[dr]=null}};function hc(n){this._internalRoot=n}hc.prototype.unstable_scheduleHydration=function(n){if(n){var a=O2();n={blockedOn:null,target:n,priority:a};for(var o=0;o<na.length&&a!==0&&a<na[o].priority;o++);na.splice(o,0,n),o===0&&Eg(n)}};var Mg=t.version;if(Mg!=="19.2.7")throw Error(r(527,Mg,"19.2.7"));O.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=h(a),n=n!==null?p(n):null,n=n===null?null:n.stateNode,n};var n8={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var mc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!mc.isDisabled&&mc.supportsFiber)try{wi=mc.inject(n8),ln=mc}catch{}}return go.createRoot=function(n,a){if(!i(n))throw Error(r(299));var o=!1,c="",m=z1,g=P1,S=O1;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(m=a.onUncaughtError),a.onCaughtError!==void 0&&(g=a.onCaughtError),a.onRecoverableError!==void 0&&(S=a.onRecoverableError)),a=pg(n,1,!1,null,null,o,c,null,m,g,S,Rg),n[dr]=a.current,Ld(n),new Yd(a)},go.hydrateRoot=function(n,a,o){if(!i(n))throw Error(r(299));var c=!1,m="",g=z1,S=P1,R=O1,P=null;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onUncaughtError!==void 0&&(g=o.onUncaughtError),o.onCaughtError!==void 0&&(S=o.onCaughtError),o.onRecoverableError!==void 0&&(R=o.onRecoverableError),o.formState!==void 0&&(P=o.formState)),a=pg(n,1,!0,a,o??null,c,m,P,g,S,R,Rg),a.context=gg(null),o=a.current,c=dn(),c=ju(c),m=Kl(c),m.callback=null,Ul(o,m,c),o=c,a.current.lanes=o,Ci(a,o),Wn(a),n[dr]=a.current,Ld(n),new hc(a)},go.version="19.2.7",go}var Kg;function h8(){if(Kg)return Qd.exports;Kg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Qd.exports=d8(),Qd.exports}var m8=h8(),Ug=y.use,Co=typeof window<"u"?y.useLayoutEffect:y.useEffect;function n0(e){const t=y.useRef({value:e,prev:null}),l=t.current.value;return e!==l&&(t.current={value:e,prev:l}),t.current.prev}function p8(e,t,l={},r={}){y.useEffect(()=>{if(!e.current||r.disabled||typeof IntersectionObserver!="function")return;const i=new IntersectionObserver(([s])=>{t(s)},l);return i.observe(e.current),()=>{i.disconnect()}},[t,l,r.disabled,e])}function g8(e){const t=y.useRef(null);return y.useImperativeHandle(e,()=>t.current,[]),t}const yy=!1;function Do(e){return e[e.length-1]}function b8(e){return typeof e=="function"}function qa(e,t){return b8(e)?e(t):e}const xy=Object.prototype.hasOwnProperty,Fg=Object.prototype.propertyIsEnumerable;function Sy(e){for(const t in e)if(xy.call(e,t))return!0;return!1}const v8=()=>Object.create(null),Ua=(e,t)=>Ya(e,t,v8);function Ya(e,t,l=()=>({}),r=0){if(e===t)return e;if(r>500)return t;const i=t,s=Gg(e)&&Gg(i);if(!s&&!(Vc(e)&&Vc(i)))return i;const u=s?e:Vg(e);if(!u)return i;const f=s?i:Vg(i);if(!f)return i;const d=u.length,h=f.length,p=s?new Array(h):l();let b=0;for(let v=0;v<h;v++){const w=s?v:f[v],x=e[w],T=i[w];if(x===T){p[w]=x,(s?v<d:xy.call(e,w))&&b++;continue}if(x===null||T===null||typeof x!="object"||typeof T!="object"){p[w]=T;continue}const C=Ya(x,T,l,r+1);p[w]=C,C===x&&b++}return d===h&&b===d?e:p}function Vg(e){const t=Object.getOwnPropertyNames(e);for(const i of t)if(!Fg.call(e,i))return!1;const l=Object.getOwnPropertySymbols(e);if(l.length===0)return t;const r=t;for(const i of l){if(!Fg.call(e,i))return!1;r.push(i)}return r}function Vc(e){if(!_g(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const l=t.prototype;return!(!_g(l)||!l.hasOwnProperty("isPrototypeOf"))}function _g(e){return Object.prototype.toString.call(e)==="[object Object]"}function Gg(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Za(e,t,l){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!Za(e[r],t[r],l))return!1;return!0}if(Vc(e)&&Vc(t)){const r=(l==null?void 0:l.ignoreUndefined)??!0;if(l!=null&&l.partial){for(const u in t)if((!r||t[u]!==void 0)&&!Za(e[u],t[u],l))return!1;return!0}let i=0;if(!r)i=Object.keys(e).length;else for(const u in e)e[u]!==void 0&&i++;let s=0;for(const u in t)if((!r||t[u]!==void 0)&&(s++,s>i||!Za(e[u],t[u],l)))return!1;return i===s}return!1}function pi(e){let t,l;const r=new Promise((i,s)=>{t=i,l=s});return r.status="pending",r.resolve=i=>{r.status="resolved",r.value=i,t(i),e==null||e(i)},r.reject=i=>{r.status="rejected",l(i)},r}function y8(e){return typeof(e==null?void 0:e.message)!="string"?!1:e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed")}function $o(e){return!!(e&&typeof e=="object"&&typeof e.then=="function")}const x8=/[\x00-\x1f\x7f"<>`{}]/g;function S8(e){return e.replace(x8,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function qg(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,l=>{try{return decodeURI(l)}catch{return l}})}return S8(t)}const w8=["http:","https:","mailto:","tel:"];function _c(e,t){if(!e)return!1;try{const l=new URL(e);return!t.has(l.protocol)}catch{return!1}}function bo(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};const t=/%25|%5C/gi;let l=0,r="",i;for(;(i=t.exec(e))!==null;)r+=qg(e.slice(l,i.index))+i[0],l=t.lastIndex;r=r+qg(l?e.slice(l):e);let s=!1;return r.startsWith("//")&&(s=!0,r="/"+r.replace(/^\/+/,"")),{path:r,handledProtocolRelativeURL:s}}function E8(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function C8(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(e[l]!==t[l])return!1;return!0}function Rl(){throw new Error("Invariant failed")}function zo(e){const t=new Map;let l,r;const i=s=>{s.next&&(s.prev?(s.prev.next=s.next,s.next.prev=s.prev,s.next=void 0,r&&(r.next=s,s.prev=r)):(s.next.prev=void 0,l=s.next,s.next=void 0,r&&(s.prev=r,r.next=s)),r=s)};return{get(s){const u=t.get(s);if(u)return i(u),u.value},set(s,u){if(t.size>=e&&l){const d=l;t.delete(d.key),d.next&&(l=d.next,d.next.prev=void 0),d===r&&(r=void 0)}const f=t.get(s);if(f)f.value=u,i(f);else{const d={key:s,value:u,prev:r};r&&(r.next=d),r=d,l||(l=d),t.set(s,d)}},clear(){t.clear(),l=void 0,r=void 0}}}const ua=4,wy=5;function T8(e){const t=e.indexOf("{");if(t===-1)return null;const l=e.indexOf("}",t);return l===-1||t+1>=e.length?null:[t,l]}function Ey(e,t,l=new Uint16Array(6)){const r=e.indexOf("/",t),i=r===-1?e.length:r,s=e.substring(t,i);if(!s||!s.includes("$"))return l[0]=0,l[1]=t,l[2]=t,l[3]=i,l[4]=i,l[5]=i,l;if(s==="$"){const f=e.length;return l[0]=2,l[1]=t,l[2]=t,l[3]=f,l[4]=f,l[5]=f,l}if(s.charCodeAt(0)===36)return l[0]=1,l[1]=t,l[2]=t+1,l[3]=i,l[4]=i,l[5]=i,l;const u=T8(s);if(u){const[f,d]=u,h=s.charCodeAt(f+1);if(h===45){if(f+2<s.length&&s.charCodeAt(f+2)===36){const p=f+3,b=d;if(p<b)return l[0]=3,l[1]=t+f,l[2]=t+p,l[3]=t+b,l[4]=t+d+1,l[5]=i,l}}else if(h===36){const p=f+1,b=f+2;return b===d?(l[0]=2,l[1]=t+f,l[2]=t+p,l[3]=t+b,l[4]=t+d+1,l[5]=e.length,l):(l[0]=1,l[1]=t+f,l[2]=t+b,l[3]=t+d,l[4]=t+d+1,l[5]=i,l)}}return l[0]=0,l[1]=t,l[2]=t,l[3]=i,l[4]=i,l[5]=i,l}function gu(e,t,l,r,i,s,u){var d,h,p,b,v,w,x,T,C,N;u==null||u(l);let f=r;{const M=l.fullPath??l.from,L=M.length,k=((d=l.options)==null?void 0:d.caseSensitive)??e,B=((p=(h=l.options)==null?void 0:h.params)==null?void 0:p.parse)??((b=l.options)==null?void 0:b.parseParams);for(;f<L;){const $=Ey(M,f,t);let A;const U=f,K=$[5];switch(f=K+1,s++,$[0]){case 0:{const q=M.substring($[2],$[3]);if(k){const te=(v=i.static)==null?void 0:v.get(q);if(te)A=te;else{i.static??(i.static=new Map);const ne=Xa(l.fullPath??l.from);ne.parent=i,ne.depth=s,A=ne,i.static.set(q,ne)}}else{const te=q.toLowerCase(),ne=(w=i.staticInsensitive)==null?void 0:w.get(te);if(ne)A=ne;else{i.staticInsensitive??(i.staticInsensitive=new Map);const j=Xa(l.fullPath??l.from);j.parent=i,j.depth=s,A=j,i.staticInsensitive.set(te,j)}}break}case 1:{const q=M.substring(U,$[1]),te=M.substring($[4],K),ne=k&&!!(q||te),j=q?ne?q:q.toLowerCase():void 0,Y=te?ne?te:te.toLowerCase():void 0,z=!B&&((x=i.dynamic)==null?void 0:x.find(O=>!O.parse&&O.caseSensitive===ne&&O.prefix===j&&O.suffix===Y));if(z)A=z;else{const O=a0(1,l.fullPath??l.from,ne,j,Y);A=O,O.depth=s,O.parent=i,i.dynamic??(i.dynamic=[]),i.dynamic.push(O)}break}case 3:{const q=M.substring(U,$[1]),te=M.substring($[4],K),ne=k&&!!(q||te),j=q?ne?q:q.toLowerCase():void 0,Y=te?ne?te:te.toLowerCase():void 0,z=!B&&((T=i.optional)==null?void 0:T.find(O=>!O.parse&&O.caseSensitive===ne&&O.prefix===j&&O.suffix===Y));if(z)A=z;else{const O=a0(3,l.fullPath??l.from,ne,j,Y);A=O,O.parent=i,O.depth=s,i.optional??(i.optional=[]),i.optional.push(O)}break}case 2:{const q=M.substring(U,$[1]),te=M.substring($[4],K),ne=k&&!!(q||te),j=q?ne?q:q.toLowerCase():void 0,Y=te?ne?te:te.toLowerCase():void 0,z=a0(2,l.fullPath??l.from,ne,j,Y);A=z,z.parent=i,z.depth=s,i.wildcard??(i.wildcard=[]),i.wildcard.push(z)}}i=A}if(B&&l.children&&!l.isRoot&&l.id&&l.id.charCodeAt(l.id.lastIndexOf("/")+1)===95){const $=Xa(l.fullPath??l.from);$.kind=wy,$.parent=i,s++,$.depth=s,i.pathless??(i.pathless=[]),i.pathless.push($),i=$}const G=(l.path||!l.children)&&!l.isRoot;if(G&&M.endsWith("/")){const $=Xa(l.fullPath??l.from);$.kind=ua,$.parent=i,s++,$.depth=s,i.index=$,i=$}i.parse=B??null,i.priority=((N=(C=l.options)==null?void 0:C.params)==null?void 0:N.priority)??0,G&&!i.route&&(i.route=l,i.fullPath=l.fullPath??l.from)}if(l.children)for(const M of l.children)gu(e,t,M,f,i,s,u)}function l0(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function sa(e){var t,l,r;if(e.pathless)for(const i of e.pathless)sa(i);if(e.static)for(const i of e.static.values())sa(i);if(e.staticInsensitive)for(const i of e.staticInsensitive.values())sa(i);if((t=e.dynamic)!=null&&t.length){e.dynamic.sort(l0);for(const i of e.dynamic)sa(i)}if((l=e.optional)!=null&&l.length){e.optional.sort(l0);for(const i of e.optional)sa(i)}if((r=e.wildcard)!=null&&r.length){e.wildcard.sort(l0);for(const i of e.wildcard)sa(i)}}function Xa(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function a0(e,t,l,r,i){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:l,prefix:r,suffix:i}}function R8(e,t){const l=Xa("/"),r=new Uint16Array(6);for(const i of e)gu(!1,r,i,1,l,0);sa(l),t.masksTree=l,t.flatCache=zo(1e3)}function M8(e,t){e||(e="/");const l=t.flatCache.get(e);if(l)return l;const r=$h(e,t.masksTree);return t.flatCache.set(e,r),r}function A8(e,t,l,r,i){e||(e="/"),r||(r="/");const s=t?`case\0${e}`:e;let u=i.singleCache.get(s);return u||(u=Xa("/"),gu(t,new Uint16Array(6),{from:e},1,u,0),i.singleCache.set(s,u)),$h(r,u,l)}function L8(e,t,l=!1){const r=l?e:`nofuzz\0${e}`,i=t.matchCache.get(r);if(i!==void 0)return i;e||(e="/");let s;try{s=$h(e,t.segmentTree,l)}catch(u){if(u instanceof URIError)s=null;else throw u}return s&&(s.branch=Ty(s.route)),t.matchCache.set(r,s),s}function k8(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function N8(e,t=!1,l){const r=Xa(e.fullPath),i=new Uint16Array(6),s={},u={};let f=0;return gu(t,i,e,1,r,0,d=>{if(l==null||l(d,f),d.id in s&&Rl(),s[d.id]=d,f!==0&&d.path){const h=k8(d.fullPath);(!u[h]||d.fullPath.endsWith("/"))&&(u[h]=d)}f++}),sa(r),{processedTree:{segmentTree:r,singleCache:zo(1e3),matchCache:zo(1e3),flatCache:null,masksTree:null},routesById:s,routesByPath:u}}function $h(e,t,l=!1){const r=e.split("/"),i=$8(e,r,t,l);if(!i)return null;const[s]=Cy(e,r,i);return{route:i.node.route,rawParams:s}}function Cy(e,t,l){var p,b,v,w,x,T,C,N,M,L;const r=D8(l.node);let i=null;const s=Object.create(null);let u=((p=l.extract)==null?void 0:p.part)??0,f=((b=l.extract)==null?void 0:b.node)??0,d=((v=l.extract)==null?void 0:v.path)??0,h=((w=l.extract)==null?void 0:w.segment)??0;for(;f<r.length;u++,f++,d++,h++){const k=r[f];if(k.kind===ua)break;if(k.kind===wy){h--,u--,d--;continue}const B=t[u],G=d;if(B&&(d+=B.length),k.kind===1){i??(i=l.node.fullPath.split("/"));const $=i[h],A=((x=k.prefix)==null?void 0:x.length)??0;if($.charCodeAt(A)===123){const U=((T=k.suffix)==null?void 0:T.length)??0,K=$.substring(A+2,$.length-U-1),q=B.substring(A,B.length-U);s[K]=decodeURIComponent(q)}else{const U=$.substring(1);s[U]=decodeURIComponent(B)}}else if(k.kind===3){if(l.skipped&1<<f){u--,d=G-1;continue}i??(i=l.node.fullPath.split("/"));const $=i[h],A=((C=k.prefix)==null?void 0:C.length)??0,U=((N=k.suffix)==null?void 0:N.length)??0,K=$.substring(A+3,$.length-U-1),q=k.suffix||k.prefix?B.substring(A,B.length-U):B;q&&(s[K]=decodeURIComponent(q))}else if(k.kind===2){const $=k,A=e.substring(G+(((M=$.prefix)==null?void 0:M.length)??0),e.length-(((L=$.suffix)==null?void 0:L.length)??0)),U=decodeURIComponent(A);s["*"]=U,s._splat=U;break}}return l.rawParams&&Object.assign(s,l.rawParams),[s,{part:u,node:f,path:d,segment:h}]}function Ty(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function D8(e){const t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function $8(e,t,l,r){if(e==="/"&&l.index)return{node:l.index,skipped:0};const i=!Do(t),s=i&&e!=="/",u=t.length-(i?1:0),f=[{node:l,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let d=null,h=null;for(;f.length;){const p=f.pop(),{node:b,index:v,skipped:w,depth:x,statics:T,dynamics:C,optionals:N}=p;let{extract:M,rawParams:L}=p;if(b.kind===2&&b.route&&!gc(h,p))continue;if(b.parse){if(!Yg(e,t,p))continue;L=p.rawParams,M=p.extract}r&&b.route&&b.kind!==ua&&gc(d,p)&&(d=p);const k=v===u;if(k&&(b.route&&(!s||b.kind===ua||b.kind===2)&&gc(h,p)&&(h=p),!b.optional&&!b.wildcard&&!b.index&&!b.pathless))continue;const B=k?void 0:t[v];let G;if(k&&b.index){const $={node:b.index,index:v,skipped:w,depth:x+1,statics:T,dynamics:C,optionals:N,extract:M,rawParams:L};let A=!0;if(b.index.parse&&(Yg(e,t,$)||(A=!1)),A){if(!C&&!N&&!w&&z8(T,u))return $;gc(h,$)&&(h=$)}}if(b.wildcard)for(let $=b.wildcard.length-1;$>=0;$--){const A=b.wildcard[$],{prefix:U,suffix:K}=A;if(!(U&&(k||!(A.caseSensitive?B:G??(G=B.toLowerCase())).startsWith(U)))){if(K){if(k)continue;const q=t.slice(v).join("/").slice(-K.length);if((A.caseSensitive?q:q.toLowerCase())!==K)continue}f.push({node:A,index:u,skipped:w,depth:x+1,statics:T,dynamics:C,optionals:N,extract:M,rawParams:L})}}if(b.optional){const $=w|1<<x,A=x+1;for(let U=b.optional.length-1;U>=0;U--){const K=b.optional[U];f.push({node:K,index:v,skipped:$,depth:A,statics:T,dynamics:C,optionals:N,extract:M,rawParams:L})}if(!k)for(let U=b.optional.length-1;U>=0;U--){const K=b.optional[U],{prefix:q,suffix:te}=K;if(q||te){const ne=K.caseSensitive?B:G??(G=B.toLowerCase());if(q&&!ne.startsWith(q)||te&&!ne.endsWith(te))continue}f.push({node:K,index:v+1,skipped:w,depth:A,statics:T,dynamics:C,optionals:N+pc(u,v),extract:M,rawParams:L})}}if(!k&&b.dynamic&&B)for(let $=b.dynamic.length-1;$>=0;$--){const A=b.dynamic[$],{prefix:U,suffix:K}=A;if(U||K){const q=A.caseSensitive?B:G??(G=B.toLowerCase());if(U&&!q.startsWith(U)||K&&!q.endsWith(K))continue}f.push({node:A,index:v+1,skipped:w,depth:x+1,statics:T,dynamics:C+pc(u,v),optionals:N,extract:M,rawParams:L})}if(!k&&b.staticInsensitive){const $=b.staticInsensitive.get(G??(G=B.toLowerCase()));$&&f.push({node:$,index:v+1,skipped:w,depth:x+1,statics:T+pc(u,v),dynamics:C,optionals:N,extract:M,rawParams:L})}if(!k&&b.static){const $=b.static.get(B);$&&f.push({node:$,index:v+1,skipped:w,depth:x+1,statics:T+pc(u,v),dynamics:C,optionals:N,extract:M,rawParams:L})}if(b.pathless){const $=x+1;for(let A=b.pathless.length-1;A>=0;A--){const U=b.pathless[A];f.push({node:U,index:v,skipped:w,depth:$,statics:T,dynamics:C,optionals:N,extract:M,rawParams:L})}}}if(h)return h;if(r&&d){let p=d.index;for(let v=0;v<d.index;v++)p+=t[v].length;const b=p===e.length?"/":e.slice(p);return d.rawParams??(d.rawParams=Object.create(null)),d.rawParams["**"]=decodeURIComponent(b),d}return null}function pc(e,t){return 2**(e-t-1)}function z8(e,t){return e===2**(t-1)-1}function Yg(e,t,l){let r,i;try{[r,i]=Cy(e,t,l)}catch{return null}if(l.rawParams=r,l.extract=i,!l.node.parse)return!0;try{if(l.node.parse(r)===!1)return null}catch{}return!0}function gc(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===ua)>(e.node.kind===ua)||t.node.kind===ua==(e.node.kind===ua)&&t.depth>e.depth))):!0}function Pc(e){return zh(e.filter(t=>t!==void 0).join("/"))}function zh(e){return e.replace(/\/{2,}/g,"/")}function Ry(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Tl(e){const t=e.length;return t>1&&e[t-1]==="/"?e.replace(/\/{1,}$/,""):e}function My(e){return Tl(Ry(e))}function Gc(e,t){return e!=null&&e.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function P8(e,t,l){return Gc(e,l)===Gc(t,l)}function O8({base:e,to:t,trailingSlash:l="never",cache:r}){const i=t.startsWith("/"),s=!i&&t===".";let u;if(r){u=i?t:s?e:e+"\0"+t;const h=r.get(u);if(h)return h}let f;if(s)f=e.split("/");else if(i)f=t.split("/");else{for(f=e.split("/");f.length>1&&Do(f)==="";)f.pop();const h=t.split("/");for(let p=0,b=h.length;p<b;p++){const v=h[p];v===""?p?p===b-1&&f.push(v):f=[v]:v===".."?f.pop():v==="."||f.push(v)}}f.length>1&&(Do(f)===""?l==="never"&&f.pop():l==="always"&&f.push(""));const d=zh(f.join("/"))||"/";return u&&r&&r.set(u,d),d}function j8(e){const t=new Map(e.map(i=>[encodeURIComponent(i),i])),l=Array.from(t.keys()).map(i=>i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),r=new RegExp(l,"g");return i=>i.replace(r,s=>t.get(s)??s)}function r0(e,t,l){const r=t[e];return typeof r!="string"?r:e==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split("/").map(i=>Wg(i,l)).join("/"):Wg(r,l)}function Xg({path:e,params:t,decoder:l,...r}){let i=!1;const s=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:s,isMissingParams:i};if(!e.includes("$"))return{interpolatedPath:e,usedParams:s,isMissingParams:i};const u=e.length;let f=0,d,h="";for(;f<u;){const p=f;d=Ey(e,p,d);const b=d[5];if(f=b+1,p===b)continue;const v=d[0];if(v===0){h+="/"+e.substring(p,b);continue}if(v===2){const w=t._splat;s._splat=w,s["*"]=w;const x=e.substring(p,d[1]),T=e.substring(d[4],b);if(!w){i=!0,(x||T)&&(h+="/"+x+T);continue}const C=r0("_splat",t,l);h+="/"+x+C+T;continue}if(v===1){const w=e.substring(d[2],d[3]);!i&&!(w in t)&&(i=!0),s[w]=t[w];const x=e.substring(p,d[1]),T=e.substring(d[4],b),C=r0(w,t,l)??"undefined";h+="/"+x+C+T;continue}if(v===3){const w=e.substring(d[2],d[3]),x=t[w];if(x==null)continue;s[w]=x;const T=e.substring(p,d[1]),C=e.substring(d[4],b),N=r0(w,t,l)??"";h+="/"+T+N+C;continue}}return e.endsWith("/")&&(h+="/"),{usedParams:s,interpolatedPath:h||"/",isMissingParams:i}}function Wg(e,t){const l=encodeURIComponent(e);return(t==null?void 0:t(l))??l}function Ht(e){return(e==null?void 0:e.isNotFound)===!0}function I8(){try{return sessionStorage}catch{return}}const B8="tsr-scroll-restoration-v1_3",si=I8();function H8(){try{return JSON.parse((si==null?void 0:si.getItem("tsr-scroll-restoration-v1_3"))||"{}")}catch{return{}}}function K8(){try{si==null||si.setItem(B8,JSON.stringify(oa))}catch{}}const oa=H8(),Zg="data-scroll-restoration-id",U8=e=>e.state.__TSR_key||e.href;function F8(e){const t=e.getAttribute(Zg);if(t)return`[${Zg}="${t}"]`;let l="",r=e,i;for(;i=r.parentNode;){let s=1,u=r;for(;u=u.previousElementSibling;)s++;const f=`${r.localName}:nth-child(${s})`;l=l?`${f} > ${l}`:f,r=i}return l}let bc=!1;const Oc="window";function U0(e){try{return typeof e=="function"?e():document.querySelector(e)}catch{}}function Qg(e){const t=new Set;for(const l of e){if(l===Oc)continue;const r=U0(l);r&&t.add(r)}return t}function V8(e,t){const l=e.options.scrollRestoration,r=e._scroll;l&&(r.restoring=!0);const i=e.options.getScrollRestorationKey||U8,s=new Set,u=f=>{const d=oa[f]||(oa[f]={});for(const h of s)h===document?d[Oc]={scrollX,scrollY}:h.isConnected&&(d[F8(h)]={scrollX:h.scrollLeft,scrollY:h.scrollTop})};l&&!r.restoration&&(r.restoration=!0,bc=!1,history.scrollRestoration="manual",document.addEventListener("scroll",f=>{bc||s.add(f.target)},!0),e.subscribe("onBeforeLoad",f=>{f.fromLocation&&u(i(f.fromLocation)),s.clear()}),addEventListener("pagehide",()=>{u(i(e.stores.resolvedLocation.get()??e.stores.location.get())),K8()})),!r.reset&&(r.reset=!0,e.subscribe("onRendered",f=>{var T;const d=e.options.scrollRestorationBehavior,h=e.options.scrollToTopSelectors,p=r.next,b=r.hash;let v;if(s.clear(),r.next=!0,r.hash=!1,typeof e.options.scrollRestoration=="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;const w=i(f.toLocation),x=f.fromLocation&&i(f.fromLocation);if(r.restoring&&x&&x!==w){const C=oa[x];if(C){let N=oa[w];for(const M in C){if(M===Oc){if(p)continue}else{const L=U0(M);if(!L||p&&h&&(v??(v=Qg(h)),v.has(L)))continue}N||(N=oa[w]={}),N[M]??(N[M]=C[M])}}}bc=!0;try{const C=f.toLocation.hash,N=f.toLocation.state.__hashScrollIntoViewOptions??!0;let M=!1;if(p){!C&&h&&(v??(v=Qg(h)));const L=C&&N&&b,k=r.restoring?oa[w]:void 0;if(k)for(const B in k){const{scrollX:G,scrollY:$}=k[B];if(B===Oc){if(L)continue;scrollTo({top:$,left:G,behavior:d}),M=!0}else{const A=U0(B);A&&(A.scrollLeft=G,A.scrollTop=$,v==null||v.delete(A))}}if(!C){const B={top:0,left:0,behavior:d};if(M||scrollTo(B),v)for(const G of v)G.scrollTo(B)}}!M&&C&&N&&((T=document.getElementById(C))==null||T.scrollIntoView(N))}finally{bc=!1}}))}function _8(e,t=String){const l=new URLSearchParams;for(const r in e){const i=e[r];i!==void 0&&l.set(r,t(i))}return l.toString()}function i0(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function G8(e){const t=new URLSearchParams(e),l=Object.create(null);for(const[r,i]of t.entries()){const s=l[r];s==null?l[r]=i0(i):Array.isArray(s)?s.push(i0(i)):l[r]=[s,i0(i)]}return l}const q8=X8(JSON.parse),Y8=W8(JSON.stringify,JSON.parse);function X8(e){return t=>{t[0]==="?"&&(t=t.substring(1));const l=G8(t);for(const r in l){const i=l[r];if(typeof i=="string")try{l[r]=e(i)}catch{}}return l}}function W8(e,t){const l=typeof t=="function";function r(i){if(typeof i=="object"&&i!==null)try{return e(i)}catch{}else if(l&&typeof i=="string")try{return t(i),e(i)}catch{}return i}return i=>{const s=_8(i,r);return s?`?${s}`:""}}const Qa="__root__";function bu(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href=="string")try{new URL(e.href),e.reloadDocument=!0}catch{}const t=new Headers(e.headers);e.href&&t.get("Location")===null&&t.set("Location",e.href);const l=new Response(null,{status:e.statusCode,headers:t});if(l.options=e,e.throw)throw l;return l}function tn(e){return e instanceof Response&&!!e.options}function Z8(e){return{input:({url:t})=>{for(const l of e)t=F0(l,t);return t},output:({url:t})=>{for(let l=e.length-1;l>=0;l--)t=Ay(e[l],t);return t}}}function Q8(e){const t=My(e.basepath),l=`/${t}`,r=e.caseSensitive?l:l.toLowerCase(),i=`${r}/`;return{input:({url:s})=>{const u=e.caseSensitive?s.pathname:s.pathname.toLowerCase();return u===r?s.pathname="/":u.startsWith(i)&&(s.pathname=s.pathname.slice(l.length)),s},output:({url:s})=>(s.pathname=Pc(["/",t,s.pathname]),s)}}function F0(e,t){var r;const l=(r=e==null?void 0:e.input)==null?void 0:r.call(e,{url:t});if(l){if(typeof l=="string")return new URL(l);if(l instanceof URL)return l}return t}function Ay(e,t){var r;const l=(r=e==null?void 0:e.output)==null?void 0:r.call(e,{url:t});if(l){if(typeof l=="string")return new URL(l);if(l instanceof URL)return l}return t}function J8(e,t){const{createMutableStore:l,createReadonlyStore:r,batch:i,init:s}=t,u=new Map,f=new Map,d=new Map,h=l(e.status),p=l(e.loadedAt),b=l(e.isLoading),v=l(e.isTransitioning),w=l(e.location),x=l(e.resolvedLocation),T=l(e.statusCode),C=l(e.redirect),N=l([]),M=l([]),L=l([]),k=r(()=>o0(u,N.get())),B=r(()=>o0(f,M.get())),G=r(()=>o0(d,L.get())),$=r(()=>N.get()[0]),A=r(()=>N.get().some(O=>{var oe;return((oe=u.get(O))==null?void 0:oe.get().status)==="pending"})),U=r(()=>{var O;return{locationHref:w.get().href,resolvedLocationHref:(O=x.get())==null?void 0:O.href,status:h.get()}}),K=r(()=>({status:h.get(),loadedAt:p.get(),isLoading:b.get(),isTransitioning:v.get(),matches:k.get(),location:w.get(),resolvedLocation:x.get(),statusCode:T.get(),redirect:C.get()})),q=zo(64);function te(O){let oe=q.get(O);return oe||(oe=r(()=>{const J=N.get();for(const _ of J){const D=u.get(_);if(D&&D.routeId===O)return D.get()}}),q.set(O,oe)),oe}const ne={status:h,loadedAt:p,isLoading:b,isTransitioning:v,location:w,resolvedLocation:x,statusCode:T,redirect:C,matchesId:N,pendingIds:M,cachedIds:L,matches:k,pendingMatches:B,cachedMatches:G,firstId:$,hasPending:A,matchRouteDeps:U,matchStores:u,pendingMatchStores:f,cachedMatchStores:d,__store:K,getRouteMatchStore:te,setMatches:j,setPending:Y,setCached:z};j(e.matches),s==null||s(ne);function j(O){s0(O,u,N,l,i)}function Y(O){s0(O,f,M,l,i)}function z(O){s0(O,d,L,l,i)}return ne}function o0(e,t){const l=[];for(const r of t){const i=e.get(r);i&&l.push(i.get())}return l}function s0(e,t,l,r,i){const s=e.map(f=>f.id),u=new Set(s);i(()=>{for(const f of t.keys())u.has(f)||t.delete(f);for(const f of e){const d=t.get(f.id);if(!d){const h=r(f);h.routeId=f.routeId,t.set(f.id,h);continue}d.routeId=f.routeId,d.get()!==f&&d.set(f)}C8(l.get(),s)||l.set(s)})}const V0=e=>{var t;if(!e.rendered)return e.rendered=!0,(t=e.onReady)==null?void 0:t.call(e)},e9=e=>e.stores.matchesId.get().some(t=>{var l;return(l=e.stores.matchStores.get(t))==null?void 0:l.get()._forcePending}),vu=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),Ja=(e,t,l=!0)=>{const r={...e.router.options.context??{}},i=l?t:t-1;for(let s=0;s<=i;s++){const u=e.matches[s];if(!u)continue;const f=e.router.getMatch(u.id);f&&Object.assign(r,f.__routeContext,f.__beforeLoadContext)}return r},Jg=(e,t)=>{if(!e.matches.length)return;const l=t.routeId,r=e.matches.findIndex(u=>u.routeId===e.router.routeTree.id),i=r>=0?r:0;let s=l?e.matches.findIndex(u=>u.routeId===l):e.firstBadMatchIndex??e.matches.length-1;s<0&&(s=i);for(let u=s;u>=0;u--){const f=e.matches[u];if(e.router.looseRoutesById[f.routeId].options.notFoundComponent)return u}return l?s:i},fa=(e,t,l)=>{var r,i,s;if(!(!tn(l)&&!Ht(l)))throw tn(l)&&l.redirectHandled&&!l.options.reloadDocument||(t&&((r=t._nonReactive.beforeLoadPromise)==null||r.resolve(),(i=t._nonReactive.loaderPromise)==null||i.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=l,e.updateMatch(t.id,u=>({...u,status:tn(l)?"redirected":Ht(l)?"notFound":u.status==="pending"?"success":u.status,context:Ja(e,t.index),isFetching:!1,error:l})),Ht(l)&&!l.routeId&&(l.routeId=t.routeId),(s=t._nonReactive.loadPromise)==null||s.resolve()),tn(l)&&(e.rendered=!0,l.options._fromLocation=e.location,l.redirectHandled=!0,l=e.router.resolveRedirect(l))),l},Ly=(e,t)=>{const l=e.router.getMatch(t);return!!(!l||l._nonReactive.dehydrated)},eb=(e,t,l)=>{const r=Ja(e,l);e.updateMatch(t,i=>({...i,context:r}))},vo=(e,t,l)=>{var u,f;const{id:r,routeId:i}=e.matches[t],s=e.router.looseRoutesById[i];if(l instanceof Promise)throw l;e.firstBadMatchIndex??(e.firstBadMatchIndex=t),fa(e,e.router.getMatch(r),l);try{(f=(u=s.options).onError)==null||f.call(u,l)}catch(d){l=d,fa(e,e.router.getMatch(r),l)}e.updateMatch(r,d=>{var h,p;return(h=d._nonReactive.beforeLoadPromise)==null||h.resolve(),d._nonReactive.beforeLoadPromise=void 0,(p=d._nonReactive.loadPromise)==null||p.resolve(),{...d,error:l,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController}}),!e.preload&&!tn(l)&&!Ht(l)&&(e.serialError??(e.serialError=l))},ky=(e,t,l,r)=>{var s;if(r._nonReactive.pendingTimeout!==void 0)return;const i=l.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!vu(e,t)&&(l.options.loader||l.options.beforeLoad||Dy(l))&&typeof i=="number"&&i!==1/0&&(l.options.pendingComponent??((s=e.router.options)==null?void 0:s.defaultPendingComponent))){const u=setTimeout(()=>{V0(e)},i);r._nonReactive.pendingTimeout=u}},t9=(e,t,l)=>{const r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;ky(e,t,l,r);const i=()=>{const s=e.router.getMatch(t);s.preload&&(s.status==="redirected"||s.status==="notFound")&&fa(e,s,s.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},n9=(e,t,l,r)=>{const i=e.router.getMatch(t);let s=i._nonReactive.loadPromise;i._nonReactive.loadPromise=pi(()=>{s==null||s.resolve(),s=void 0});const{paramsError:u,searchError:f}=i;u&&vo(e,l,u),f&&vo(e,l,f),ky(e,t,r,i);const d=new AbortController;let h=!1;const p=()=>{h||(h=!0,e.updateMatch(t,k=>({...k,isFetching:"beforeLoad",fetchCount:k.fetchCount+1,abortController:d})))},b=()=>{var k;(k=i._nonReactive.beforeLoadPromise)==null||k.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,B=>({...B,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{p(),b()});return}i._nonReactive.beforeLoadPromise=pi();const v={...Ja(e,l,!1),...i.__routeContext},{search:w,params:x,cause:T}=i,C=vu(e,t),N={search:w,abortController:d,params:x,preload:C,context:v,location:e.location,navigate:k=>e.router.navigate({...k,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:C?"preload":T,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},M=k=>{if(k===void 0){e.router.batch(()=>{p(),b()});return}(tn(k)||Ht(k))&&(p(),vo(e,l,k)),e.router.batch(()=>{p(),e.updateMatch(t,B=>({...B,__beforeLoadContext:k})),b()})};let L;try{if(L=r.options.beforeLoad(N),$o(L))return p(),L.catch(k=>{vo(e,l,k)}).then(M)}catch(k){p(),vo(e,l,k)}M(L)},l9=(e,t)=>{const{id:l,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],s=()=>f(),u=()=>n9(e,l,t,i),f=()=>{if(Ly(e,l))return;const d=t9(e,l,i);return $o(d)?d.then(u):u()};return s()},a9=(e,t,l)=>{var s,u,f,d,h,p;const r=e.router.getMatch(t);if(!r||!l.options.head&&!l.options.scripts&&!l.options.headers)return;const i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([(u=(s=l.options).head)==null?void 0:u.call(s,i),(d=(f=l.options).scripts)==null?void 0:d.call(f,i),(p=(h=l.options).headers)==null?void 0:p.call(h,i)]).then(([b,v,w])=>({meta:b==null?void 0:b.meta,links:b==null?void 0:b.links,headScripts:b==null?void 0:b.scripts,headers:w,scripts:v,styles:b==null?void 0:b.styles}))},Ny=(e,t,l,r,i)=>{const s=t[r-1],{params:u,loaderDeps:f,abortController:d,cause:h}=e.router.getMatch(l),p=Ja(e,r),b=vu(e,l);return{params:u,deps:f,preload:!!b,parentMatchPromise:s,abortController:d,context:p,location:e.location,navigate:v=>e.router.navigate({...v,_fromLocation:e.location}),cause:b?"preload":h,route:i,...e.router.options.additionalContext}},tb=async(e,t,l,r,i)=>{var s,u,f,d,h;try{const p=e.router.getMatch(l);try{(!(yy??e.router.isServer)||p.ssr===!0)&&Po(i);const b=i.options.loader,v=typeof b=="function"?b:b==null?void 0:b.handler,w=v==null?void 0:v(Ny(e,t,l,r,i)),x=!!v&&$o(w);if((x||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||p._nonReactive.minPendingPromise)&&e.updateMatch(l,C=>({...C,isFetching:"loader"})),v){const C=x?await w:w;fa(e,e.router.getMatch(l),C),C!==void 0&&e.updateMatch(l,N=>({...N,loaderData:C}))}i._lazyPromise&&await i._lazyPromise;const T=p._nonReactive.minPendingPromise;T&&await T,i._componentsPromise&&await i._componentsPromise,e.updateMatch(l,C=>({...C,error:void 0,context:Ja(e,r),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(b){let v=b;if((v==null?void 0:v.name)==="AbortError"){if(p.abortController.signal.aborted){(s=p._nonReactive.loaderPromise)==null||s.resolve(),p._nonReactive.loaderPromise=void 0;return}e.updateMatch(l,x=>({...x,status:x.status==="pending"?"success":x.status,isFetching:!1,context:Ja(e,r)}));return}const w=p._nonReactive.minPendingPromise;w&&await w,Ht(b)&&await((f=(u=i.options.notFoundComponent)==null?void 0:u.preload)==null?void 0:f.call(u)),fa(e,e.router.getMatch(l),b);try{(h=(d=i.options).onError)==null||h.call(d,b)}catch(x){v=x,fa(e,e.router.getMatch(l),x)}!tn(v)&&!Ht(v)&&await Po(i,["errorComponent"]),e.updateMatch(l,x=>({...x,error:v,context:Ja(e,r),status:"error",isFetching:!1}))}}catch(p){const b=e.router.getMatch(l);b&&(b._nonReactive.loaderPromise=void 0),fa(e,b,p)}},r9=async(e,t,l)=>{var w,x,T,C;async function r(N,M,L,k,B){const G=Date.now()-M.updatedAt,$=N?B.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:B.options.staleTime??e.router.options.defaultStaleTime??0,A=B.options.shouldReload,U=typeof A=="function"?A(Ny(e,t,i,l,B)):A,{status:K,invalid:q}=k,te=G>=$&&(!!e.forceStaleReload||k.cause==="enter"||L!==void 0&&L!==k.id);u=K==="success"&&(q||(U??te)),N&&B.options.preload===!1||(u&&!e.sync&&p?(f=!0,(async()=>{var ne,j;try{await tb(e,t,i,l,B);const Y=e.router.getMatch(i);(ne=Y._nonReactive.loaderPromise)==null||ne.resolve(),(j=Y._nonReactive.loadPromise)==null||j.resolve(),Y._nonReactive.loaderPromise=void 0,Y._nonReactive.loadPromise=void 0}catch(Y){tn(Y)&&await e.router.navigate(Y.options)}})()):K!=="success"||u?await tb(e,t,i,l,B):eb(e,i,l))}const{id:i,routeId:s}=e.matches[l];let u=!1,f=!1;const d=e.router.looseRoutesById[s],h=d.options.loader,p=((typeof h=="function"||h==null?void 0:h.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(Ly(e,i)){if(!e.router.getMatch(i))return e.matches[l];eb(e,i,l)}else{const N=e.router.getMatch(i),M=e.router.stores.matchesId.get()[l],L=((w=M&&e.router.stores.matchStores.get(M)||null)==null?void 0:w.routeId)===s?M:(x=e.router.stores.matches.get().find(B=>B.routeId===s))==null?void 0:x.id,k=vu(e,i);if(N._nonReactive.loaderPromise){if(N.status==="success"&&!e.sync&&!N.preload&&p)return N;await N._nonReactive.loaderPromise;const B=e.router.getMatch(i),G=B._nonReactive.error||B.error;G&&fa(e,B,G),B.status==="pending"&&await r(k,N,L,B,d)}else{const B=k&&!e.router.stores.matchStores.has(i),G=e.router.getMatch(i);G._nonReactive.loaderPromise=pi(),B!==G.preload&&e.updateMatch(i,$=>({...$,preload:B})),await r(k,N,L,G,d)}}const b=e.router.getMatch(i);f||((T=b._nonReactive.loaderPromise)==null||T.resolve(),(C=b._nonReactive.loadPromise)==null||C.resolve(),b._nonReactive.loadPromise=void 0),clearTimeout(b._nonReactive.pendingTimeout),b._nonReactive.pendingTimeout=void 0,f||(b._nonReactive.loaderPromise=void 0),b._nonReactive.dehydrated=void 0;const v=f?b.isFetching:!1;return v!==b.isFetching||b.invalid!==!1?(e.updateMatch(i,N=>({...N,isFetching:v,invalid:!1})),e.router.getMatch(i)):b};async function nb(e){var v,w;const t=e,l=[];e9(t.router)&&V0(t);let r;for(let x=0;x<t.matches.length;x++){try{const T=l9(t,x);$o(T)&&await T}catch(T){if(tn(T))throw T;if(Ht(T))r=T;else if(!t.preload)throw T;break}if(t.serialError||t.firstBadMatchIndex!=null)break}const i=t.firstBadMatchIndex??t.matches.length,s=r&&!t.preload?Jg(t,r):void 0,u=r&&t.preload?0:s!==void 0?Math.min(s+1,i):i;let f,d;for(let x=0;x<u;x++)l.push(r9(t,l,x));try{await Promise.all(l)}catch{const x=await Promise.allSettled(l);for(const T of x){if(T.status!=="rejected")continue;const C=T.reason;if(tn(C))throw C;Ht(C)?f??(f=C):d??(d=C)}if(d!==void 0)throw d}const h=f??(r&&!t.preload?r:void 0);let p=t.firstBadMatchIndex!==void 0?t.firstBadMatchIndex:t.matches.length-1;if(!h&&r&&t.preload)return t.matches;if(h){const x=Jg(t,h);x===void 0&&Rl();const T=t.matches[x],C=t.router.looseRoutesById[T.routeId],N=(v=t.router.options)==null?void 0:v.defaultNotFoundComponent;!C.options.notFoundComponent&&N&&(C.options.notFoundComponent=N),h.routeId=T.routeId;const M=T.routeId===t.router.routeTree.id;t.updateMatch(T.id,L=>({...L,...M?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:h},isFetching:!1})),p=x,await Po(C,["notFoundComponent"])}else if(!t.preload){const x=t.matches[0];x.globalNotFound||(w=t.router.getMatch(x.id))!=null&&w.globalNotFound&&t.updateMatch(x.id,T=>({...T,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){const x=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await Po(x,["errorComponent"])}for(let x=0;x<=p;x++){const{id:T,routeId:C}=t.matches[x],N=t.router.looseRoutesById[C];try{const M=a9(t,T,N);if(M){const L=await M;t.updateMatch(T,k=>({...k,...L}))}}catch(M){console.error(`Error executing head for route ${C}:`,M)}}const b=V0(t);if($o(b)&&await b,h)throw h;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function lb(e,t){const l=t.map(r=>{var i,s;return(s=(i=e.options[r])==null?void 0:i.preload)==null?void 0:s.call(i)}).filter(Boolean);if(l.length!==0)return Promise.all(l)}function Po(e,t=jc){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(r=>{const{id:i,...s}=r.options;Object.assign(e.options,s),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);const l=()=>e._componentsLoaded?void 0:t===jc?(()=>{if(e._componentsPromise===void 0){const r=lb(e,jc);r?e._componentsPromise=r.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():lb(e,t);return e._lazyPromise?e._lazyPromise.then(l):l()}function Dy(e){var t;for(const l of jc)if((t=e.options[l])!=null&&t.preload)return!0;return!1}const jc=["component","errorComponent","pendingComponent","notFoundComponent"];var ma="__TSR_index",ab="popstate",rb="beforeunload";function i9(e){let t=e.getLocation();const l=new Set,r=u=>{t=e.getLocation(),l.forEach(f=>f({location:t,action:u}))},i=u=>{e.notifyOnIndexChange??!0?r(u):t=e.getLocation()},s=async({task:u,navigateOpts:f,...d})=>{var b,v;if((f==null?void 0:f.ignoreBlocker)??!1){u();return}const h=((b=e.getBlockers)==null?void 0:b.call(e))??[],p=d.type==="PUSH"||d.type==="REPLACE";if(typeof document<"u"&&h.length&&p)for(const w of h){const x=qc(d.path,d.state);if(await w.blockerFn({currentLocation:t,nextLocation:x,action:d.type})){(v=e.onBlocked)==null||v.call(e);return}}u()};return{get location(){return t},get length(){return e.getLength()},subscribers:l,subscribe:u=>(l.add(u),()=>{l.delete(u)}),push:(u,f,d)=>{const h=t.state[ma];f=ib(h+1,f),s({task:()=>{e.pushState(u,f),r({type:"PUSH"})},navigateOpts:d,type:"PUSH",path:u,state:f})},replace:(u,f,d)=>{const h=t.state[ma];f=ib(h,f),s({task:()=>{e.replaceState(u,f),r({type:"REPLACE"})},navigateOpts:d,type:"REPLACE",path:u,state:f})},go:(u,f)=>{s({task:()=>{e.go(u),i({type:"GO",index:u})},navigateOpts:f,type:"GO"})},back:u=>{s({task:()=>{e.back((u==null?void 0:u.ignoreBlocker)??!1),i({type:"BACK"})},navigateOpts:u,type:"BACK"})},forward:u=>{s({task:()=>{e.forward((u==null?void 0:u.ignoreBlocker)??!1),i({type:"FORWARD"})},navigateOpts:u,type:"FORWARD"})},canGoBack:()=>t.state[ma]!==0,createHref:u=>e.createHref(u),block:u=>{var d;if(!e.setBlockers)return()=>{};const f=((d=e.getBlockers)==null?void 0:d.call(e))??[];return e.setBlockers([...f,u]),()=>{var p,b;const h=((p=e.getBlockers)==null?void 0:p.call(e))??[];(b=e.setBlockers)==null||b.call(e,h.filter(v=>v!==u))}},flush:()=>{var u;return(u=e.flush)==null?void 0:u.call(e)},destroy:()=>{var u;return(u=e.destroy)==null?void 0:u.call(e)},notify:r}}function ib(e,t){t||(t={});const l=Ph();return{...t,key:l,__TSR_key:l,[ma]:e}}function o9(e){var A,U;const t=typeof document<"u"?window:void 0,l=t.history.pushState,r=t.history.replaceState;let i=[];const s=()=>i,u=K=>i=K,f=(K=>K),d=(()=>qc(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!((A=t.history.state)!=null&&A.__TSR_key)&&!((U=t.history.state)!=null&&U.key)){const K=Ph();t.history.replaceState({[ma]:0,key:K,__TSR_key:K},"")}let h=d(),p,b=!1,v=!1,w=!1,x=!1;const T=()=>h;let C,N;const M=()=>{C&&($._ignoreSubscribers=!0,(C.isPush?t.history.pushState:t.history.replaceState)(C.state,"",C.href),$._ignoreSubscribers=!1,C=void 0,N=void 0,p=void 0)},L=(K,q,te)=>{const ne=f(q);N||(p=h),h=qc(q,te),C={href:ne,state:te,isPush:(C==null?void 0:C.isPush)||K==="push"},N||(N=Promise.resolve().then(()=>M()))},k=K=>{h=d(),$.notify({type:K})},B=async()=>{if(v){v=!1;return}const K=d(),q=K.state[ma]-h.state[ma],te=q===1,ne=q===-1,j=!te&&!ne||b;b=!1;const Y=j?"GO":ne?"BACK":"FORWARD",z=j?{type:"GO",index:q}:{type:ne?"BACK":"FORWARD"};if(w)w=!1;else{const O=s();if(typeof document<"u"&&O.length){for(const oe of O)if(await oe.blockerFn({currentLocation:h,nextLocation:K,action:Y})){v=!0,t.history.go(1),$.notify(z);return}}}h=d(),$.notify(z)},G=K=>{if(x){x=!1;return}let q=!1;const te=s();if(typeof document<"u"&&te.length)for(const ne of te){const j=ne.enableBeforeUnload??!0;if(j===!0){q=!0;break}if(typeof j=="function"&&j()===!0){q=!0;break}}if(q)return K.preventDefault(),K.returnValue=""},$=i9({getLocation:T,getLength:()=>t.history.length,pushState:(K,q)=>L("push",K,q),replaceState:(K,q)=>L("replace",K,q),back:K=>(K&&(w=!0),x=!0,t.history.back()),forward:K=>{K&&(w=!0),x=!0,t.history.forward()},go:K=>{b=!0,t.history.go(K)},createHref:K=>f(K),flush:M,destroy:()=>{t.history.pushState=l,t.history.replaceState=r,t.removeEventListener(rb,G,{capture:!0}),t.removeEventListener(ab,B)},onBlocked:()=>{p&&h!==p&&(h=p)},getBlockers:s,setBlockers:u,notifyOnIndexChange:!1});return t.addEventListener(rb,G,{capture:!0}),t.addEventListener(ab,B),t.history.pushState=function(...K){const q=l.apply(t.history,K);return $._ignoreSubscribers||k("PUSH"),q},t.history.replaceState=function(...K){const q=r.apply(t.history,K);return $._ignoreSubscribers||k("REPLACE"),q},$}function s9(e){let t=e.replace(/[\x00-\x1f\x7f]/g,"");return t.startsWith("//")&&(t="/"+t.replace(/^\/+/,"")),t}function qc(e,t){const l=s9(e),r=l.indexOf("#"),i=l.indexOf("?"),s=Ph();return{href:l,pathname:l.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:l.length),hash:r>-1?l.substring(r):"",search:i>-1?l.slice(i,r===-1?void 0:r):"",state:t||{[ma]:0,key:s,__TSR_key:s}}}function Ph(){return(Math.random()+1).toString(36).substring(7)}function ci(e,t){const l=t,r=e;return{fromLocation:l,toLocation:r,pathChanged:(l==null?void 0:l.pathname)!==r.pathname,hrefChanged:(l==null?void 0:l.href)!==r.href,hashChanged:(l==null?void 0:l.hash)!==r.hash}}var c9=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.lightweightCache=new WeakMap,this.startTransition=l=>l(),this.update=l=>{var p;const r=this.options,i=this.basepath??(r==null?void 0:r.basepath)??"/",s=this.basepath===void 0,u=r==null?void 0:r.rewrite;if(this.options={...r,...l},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=j8(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=o9()),this.origin=this.options.origin,this.origin||(window!=null&&window.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let b;this.resolvePathCache=zo(1e3),b=this.buildRouteTree(),this.setRoutes(b)}if(!this.stores&&this.latestLocation){const b=this.getStoreConfig(this);this.batch=b.batch,this.stores=J8(f9(this.latestLocation),b),V8(this)}let f=!1;const d=this.options.basepath??"/",h=this.options.rewrite;if(s||i!==d||u!==h){this.basepath=d;const b=[],v=My(d);v&&v!=="/"&&b.push(Q8({basepath:d})),h&&b.push(h),this.rewrite=b.length===0?void 0:b.length===1?b[0]:Z8(b),this.history&&this.updateLatestLocation(),f=!0}f&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof((p=window.CSS)==null?void 0:p.supports)=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const l=N8(this.routeTree,this.options.caseSensitive,(r,i)=>{r.init({originalIndex:i})});return this.options.routeMasks&&R8(this.options.routeMasks,l.processedTree),l},this.subscribe=(l,r)=>{const i={eventType:l,fn:r};return this.subscribers.add(i),()=>{this.subscribers.delete(i)}},this.emit=l=>{this.subscribers.forEach(r=>{r.eventType===l.type&&r.fn(l)})},this.parseLocation=(l,r)=>{const i=({pathname:d,search:h,hash:p,href:b,state:v})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(d)){const N=this.options.parseSearch(h),M=this.options.stringifySearch(N);return{href:d+M+p,publicHref:d+M+p,pathname:bo(d).path,external:!1,searchStr:M,search:Ua(r==null?void 0:r.search,N),hash:bo(p.slice(1)).path,state:Ya(r==null?void 0:r.state,v)}}const w=new URL(b,this.origin),x=F0(this.rewrite,w),T=this.options.parseSearch(x.search),C=this.options.stringifySearch(T);return x.search=C,{href:x.href.replace(x.origin,""),publicHref:b,pathname:bo(x.pathname).path,external:!!this.rewrite&&x.origin!==this.origin,searchStr:C,search:Ua(r==null?void 0:r.search,T),hash:bo(x.hash.slice(1)).path,state:Ya(r==null?void 0:r.state,v)}},s=i(l),{__tempLocation:u,__tempKey:f}=s.state;if(u&&(!f||f===this.tempLocationKey)){const d=i(u);return d.state.key=s.state.key,d.state.__TSR_key=s.state.__TSR_key,delete d.state.__tempLocation,{...d,maskedLocation:s}}return s},this.resolvePathWithBase=(l,r)=>O8({base:l,to:r.includes("//")?zh(r):r,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(l,r,i)=>typeof l=="string"?this.matchRoutesInternal({pathname:l,search:r},i):this.matchRoutesInternal(l,r),this.getMatchedRoutes=l=>d9({pathname:l,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=l=>{const r=this.getMatch(l);r&&(r.abortController.abort(),clearTimeout(r._nonReactive.pendingTimeout),r._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(l=>{this.cancelMatch(l)}),this.stores.matchesId.get().forEach(l=>{var i;if(this.stores.pendingMatchStores.has(l))return;const r=(i=this.stores.matchStores.get(l))==null?void 0:i.get();r&&(r.status==="pending"||r.isFetching==="loader")&&this.cancelMatch(l)})},this.buildLocation=l=>{const r=(s={})=>{var q,te;const u=s._fromLocation||this.pendingBuiltLocation||this.latestLocation,f=this.matchRoutesLightweight(u);s.from;const d=s.unsafeRelative==="path"?u.pathname:s.from??f.fullPath,h=s.to?`${s.to}`:void 0,p=f.search,b=Object.assign(Object.create(null),f.params),v=(h==null?void 0:h.charCodeAt(0))===47?"/":this.resolvePathWithBase(d,"."),w=h?this.resolvePathWithBase(v,h):v,x=s.params===!1||s.params===null?Object.create(null):(s.params??!0)===!0?b:Object.assign(b,qa(s.params,b)),T=this.routesByPath[Tl(w)];let C;if(T)C=this.getRouteBranch(T);else if(w.includes("$"))C=[];else{const ne=this.getMatchedRoutes(w);C=ne.matchedRoutes,this.options.notFoundRoute&&(!ne.foundRoute||ne.foundRoute.path!=="/"&&ne.routeParams["**"])&&(C=[...C,this.options.notFoundRoute])}if(C.length&&Sy(x))for(const ne of C){const j=((q=ne.options.params)==null?void 0:q.stringify)??ne.options.stringifyParams;if(j)try{Object.assign(x,j(x))}catch{}}const N=l.leaveParams?w:bo(Xg({path:w,params:x,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let M=p;if(l._includeValidateSearch&&((te=this.options.search)!=null&&te.strict)){const ne={};C.forEach(j=>{if(j.options.validateSearch)try{Object.assign(ne,Ic(j.options.validateSearch,{...ne,...M}))}catch{}}),M=ne}M=h9({search:M,dest:s,destRoutes:C,_includeValidateSearch:l._includeValidateSearch}),M=Ua(p,M);const L=this.options.stringifySearch(M),k=s.hash===!0?u.hash:s.hash?qa(s.hash,u.hash):void 0,B=k?`#${k}`:"";let G=s.state===!0?u.state:s.state?qa(s.state,u.state):{};G=Ya(u.state,G);const $=`${N}${L}${B}`;let A,U,K=!1;if(this.rewrite){const ne=new URL($,this.origin),j=Ay(this.rewrite,ne);A=ne.href.replace(ne.origin,""),j.origin!==this.origin?(U=j.href,K=!0):U=j.pathname+j.search+j.hash}else A=E8($),U=A;return{publicHref:U,href:A,pathname:N,search:M,searchStr:L,state:G,hash:k??"",external:K,unmaskOnReload:s.unmaskOnReload}},i=(s={},u)=>{const f=r(s);let d=u?r(u):void 0;if(!d){const h=Object.create(null);if(this.options.routeMasks){const p=M8(f.pathname,this.processedTree);if(p){Object.assign(h,p.rawParams);const{from:b,params:v,...w}=p.route,x=v===!1||v===null?Object.create(null):(v??!0)===!0?h:Object.assign(h,qa(v,h));u={from:l.from,...w,params:x},d=r(u)}}}return d&&(f.maskedLocation=d),f};return l.mask?i(l,{from:l.from,...l.mask}):i(l)},this.commitLocation=async({viewTransition:l,ignoreBlocker:r,...i})=>{let s;const u=()=>{const h=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];h.forEach(b=>{i.state[b]=this.latestLocation.state[b]});const p=Za(i.state,this.latestLocation.state);return h.forEach(b=>{delete i.state[b]}),p},f=Tl(this.latestLocation.href)===Tl(i.href);let d=this.commitLocationPromise;if(this.commitLocationPromise=pi(()=>{d==null||d.resolve(),d=void 0}),f&&u())this.load();else{let{maskedLocation:h,hashScrollIntoView:p,...b}=i;h&&(b={...h,state:{...h.state,__tempKey:void 0,__tempLocation:{...b,search:b.searchStr,state:{...b.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(b.unmaskOnReload??this.options.unmaskOnReload??!1)&&(b.state.__tempKey=this.tempLocationKey)),b.state.__hashScrollIntoViewOptions=p??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=l,s=i.replace?"REPLACE":"PUSH",this.history[s==="REPLACE"?"replace":"push"](b.publicHref,b.state,{ignoreBlocker:r})}return this._scroll.next=i.resetScroll??!0,this.history.subscribers.size||this.load(s?{action:{type:s}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:l,resetScroll:r,hashScrollIntoView:i,viewTransition:s,ignoreBlocker:u,href:f,...d}={})=>{if(f){const b=this.history.location.state.__TSR_index,v=qc(f,{__TSR_index:l?b:b+1}),w=new URL(v.pathname,this.origin);d.to=F0(this.rewrite,w).pathname,d.search=this.options.parseSearch(v.search),d.hash=v.hash.slice(1)}const h=this.buildLocation({...d,_includeValidateSearch:!0});this.pendingBuiltLocation=h;const p=this.commitLocation({...h,viewTransition:s,replace:l,resetScroll:r,hashScrollIntoView:i,ignoreBlocker:u});return queueMicrotask(()=>{this.pendingBuiltLocation===h&&(this.pendingBuiltLocation=void 0)}),p},this.navigate=async({to:l,reloadDocument:r,href:i,publicHref:s,...u})=>{var d,h;let f=!1;if(i)try{new URL(`${i}`),f=!0}catch{}if(f&&!r&&(r=!0),r){if(l!==void 0||!i){const b=this.buildLocation({to:l,...u});i=i??b.publicHref,s=s??b.publicHref}const p=!f&&s?s:i;if(_c(p,this.protocolAllowlist))return;if(!u.ignoreBlocker){const b=((h=(d=this.history).getBlockers)==null?void 0:h.call(d))??[];for(const v of b)if(v!=null&&v.blockerFn&&await v.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return}u.replace?window.location.replace(p):window.location.href=p;return}return this.buildAndCommitLocation({...u,href:i,to:l,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const l=this.matchRoutes(this.latestLocation),r=this.stores.cachedMatches.get().filter(i=>!l.some(s=>s.id===i.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(l),this.stores.setCached(r)})},this.load=async l=>{var h;const r=(h=l==null?void 0:l.action)==null?void 0:h.type;let i,s,u;const f=this.stores.resolvedLocation.get()??this.stores.location.get();for(u=new Promise(p=>{this.startTransition(async()=>{var b;try{this.beforeLoad(),r&&(this._scroll.hash=r==="PUSH"||r==="REPLACE");const v=this.latestLocation,w=ci(v,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...w}),this.emit({type:"onBeforeLoad",...w}),await nb({router:this,sync:l==null?void 0:l.sync,forceStaleReload:f.href===v.href,matches:this.stores.pendingMatches.get(),location:v,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{var M,L;let x=null,T=null,C=null,N=null;this.batch(()=>{const k=this.stores.pendingMatches.get(),B=k.length,G=this.stores.matches.get();x=B?G.filter(U=>!this.stores.pendingMatchStores.has(U.id)):null;const $=new Set;for(const U of this.stores.pendingMatchStores.values())U.routeId&&$.add(U.routeId);const A=new Set;for(const U of this.stores.matchStores.values())U.routeId&&A.add(U.routeId);T=B?G.filter(U=>!$.has(U.routeId)):null,C=B?k.filter(U=>!A.has(U.routeId)):null,N=B?k.filter(U=>A.has(U.routeId)):G,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),B&&(this.stores.setMatches(k),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...x.filter(U=>U.status!=="error"&&U.status!=="notFound"&&U.status!=="redirected")]),this.clearExpiredCache())});for(const[k,B]of[[T,"onLeave"],[C,"onEnter"],[N,"onStay"]])if(k)for(const G of k)(L=(M=this.looseRoutesById[G.routeId].options)[B])==null||L.call(M,G)})})}})}catch(v){tn(v)?(i=v,this.navigate({...i.options,replace:!0,ignoreBlocker:!0})):Ht(v)&&(s=v);const w=i?i.status:s?404:this.stores.matches.get().some(x=>x.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(w),this.stores.redirect.set(i)})}this.latestLoadPromise===u&&((b=this.commitLocationPromise)==null||b.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),p()})}),this.latestLoadPromise=u,await u;this.latestLoadPromise&&u!==this.latestLoadPromise;)await this.latestLoadPromise;let d;this.hasNotFoundMatch()?d=404:this.stores.matches.get().some(p=>p.status==="error")&&(d=500),d!==void 0&&this.stores.statusCode.set(d)},this.startViewTransition=l=>{const r=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,r&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let i;if(typeof r=="object"&&this.isViewTransitionTypesSupported){const s=this.latestLocation,u=this.stores.resolvedLocation.get(),f=typeof r.types=="function"?r.types(ci(s,u)):r.types;if(f===!1){l();return}i={update:l,types:f}}else i=l;document.startViewTransition(i)}else l()},this.updateMatch=(l,r)=>{this.startTransition(()=>{const i=this.stores.pendingMatchStores.get(l);if(i){i.set(r);return}const s=this.stores.matchStores.get(l);if(s){s.set(r);return}const u=this.stores.cachedMatchStores.get(l);if(u){const f=r(u.get());f.status==="redirected"?this.stores.cachedMatchStores.delete(l)&&this.stores.cachedIds.set(d=>d.filter(h=>h!==l)):u.set(f)}})},this.getMatch=l=>{var r,i,s;return((r=this.stores.cachedMatchStores.get(l))==null?void 0:r.get())??((i=this.stores.pendingMatchStores.get(l))==null?void 0:i.get())??((s=this.stores.matchStores.get(l))==null?void 0:s.get())},this.invalidate=l=>{const r=i=>{var s;return((s=l==null?void 0:l.filter)==null?void 0:s.call(l,i))??!0?{...i,invalid:!0,...l!=null&&l.forcePending||i.status==="error"||i.status==="notFound"?{status:"pending",error:void 0}:void 0}:i};return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(r)),this.stores.setCached(this.stores.cachedMatches.get().map(r)),this.stores.setPending(this.stores.pendingMatches.get().map(r))}),this.shouldViewTransition=!1,this.load({sync:l==null?void 0:l.sync})},this.getParsedLocationHref=l=>l.publicHref||"/",this.resolveRedirect=l=>{const r=l.headers.get("Location");if(!l.options.href||l.options._builtLocation){const i=l.options._builtLocation??this.buildLocation(l.options),s=this.getParsedLocationHref(i);l.options.href=s,l.headers.set("Location",s)}else if(r)try{const i=new URL(r);if(this.origin&&i.origin===this.origin){const s=i.pathname+i.search+i.hash;l.options.href=s,l.headers.set("Location",s)}}catch{}if(l.options.href&&!l.options._builtLocation&&_c(l.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return l.headers.get("Location")||l.headers.set("Location",l.options.href),l},this.clearCache=l=>{const r=l==null?void 0:l.filter;r!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(i=>!r(i))):this.stores.setCached([])},this.clearExpiredCache=()=>{const l=Date.now(),r=i=>{const s=this.looseRoutesById[i.routeId];if(!s.options.loader)return!0;const u=(i.preload?s.options.preloadGcTime??this.options.defaultPreloadGcTime:s.options.gcTime??this.options.defaultGcTime)??300*1e3;return i.status==="error"?!0:l-i.updatedAt>=u};this.clearCache({filter:r})},this.loadRouteChunk=Po,this.preloadRoute=async l=>{const r=l._builtLocation??this.buildLocation(l);let i=this.matchRoutes(r,{throwOnError:!0,preload:!0,dest:l});const s=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),u=new Set([...s,...this.stores.cachedIds.get()]),f=i.filter(d=>!u.has(d.id));if(f.length){const d=this.stores.cachedMatches.get();this.stores.setCached([...d,...f])}try{return i=await nb({router:this,matches:i,location:r,preload:!0,updateMatch:(d,h)=>{s.has(d)?i=i.map(p=>p.id===d?h(p):p):this.updateMatch(d,h)}}),i}catch(d){if(tn(d))return d.options.reloadDocument?void 0:await this.preloadRoute({...d.options,_fromLocation:r});Ht(d)||console.error(d);return}},this.matchRoute=(l,r)=>{const i={...l,to:l.to?this.resolvePathWithBase(l.from||"",l.to):void 0,params:l.params||{},leaveParams:!0},s=this.buildLocation(i);if(r!=null&&r.pending&&this.stores.status.get()!=="pending")return!1;const u=((r==null?void 0:r.pending)===void 0?!this.stores.isLoading.get():r.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),f=A8(s.pathname,(r==null?void 0:r.caseSensitive)??!1,(r==null?void 0:r.fuzzy)??!1,u.pathname,this.processedTree);return!f||l.params&&!Za(f.rawParams,l.params,{partial:!0})?!1:(r==null?void 0:r.includeSearch)??!0?Za(u.search,s.search,{partial:!0})?f.rawParams:!1:f.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(l=>l.status==="notFound"||l.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??Y8,parseSearch:e.parseSearch??q8,protocolAllowlist:e.protocolAllowlist??w8}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:l}){this.routesById=e,this.routesByPath=t,this.processedTree=l;const r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=Ty(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e!=null&&e.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){var p,b;const l=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParams:i}=l;let{matchedRoutes:s}=l,u=!1;(r?r.path!=="/"&&i["**"]:Tl(e.pathname))&&(this.options.notFoundRoute?s=[...s,this.options.notFoundRoute]:u=!0);const f=u?p9(this.options.notFoundMode,s):void 0,d=new Array(s.length),h=new Map;for(const v of this.stores.matchStores.values())v.routeId&&h.set(v.routeId,v.get());for(let v=0;v<s.length;v++){const w=s[v],x=d[v-1];let T,C,N;{const j=(x==null?void 0:x.search)??e.search,Y=(x==null?void 0:x._strictSearch)??void 0;try{const z=Ic(w.options.validateSearch,{...j})??void 0;T={...j,...z},C={...Y,...z},N=void 0}catch(z){let O=z;if(z instanceof Yc||(O=new Yc(z.message,{cause:z})),t!=null&&t.throwOnError)throw O;T=j,C={},N=O}}const M=((b=(p=w.options).loaderDeps)==null?void 0:b.call(p,{search:T}))??"",L=M?JSON.stringify(M):"",{interpolatedPath:k,usedParams:B}=Xg({path:w.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),G=w.id+k+L,$=this.getMatch(G),A=h.get(w.id),U=($==null?void 0:$._strictParams)??B;let K;if(!$)try{ob(w,U)}catch(j){if(Ht(j)||tn(j)?K=j:K=new u9(j.message,{cause:j}),t!=null&&t.throwOnError)throw K}Object.assign(i,U);const q=A?"stay":"enter";let te;if($)te={...$,cause:q,params:(A==null?void 0:A.params)??i,_strictParams:U,search:Ua(A?A.search:$.search,T),_strictSearch:C};else{const j=w.options.loader||w.options.beforeLoad||w.lazyFn||Dy(w)?"pending":"success";te={id:G,ssr:w.options.ssr,index:v,routeId:w.id,params:(A==null?void 0:A.params)??i,_strictParams:U,pathname:k,updatedAt:Date.now(),search:A?Ua(A.search,T):T,_strictSearch:C,searchError:void 0,status:j,isFetching:!1,error:void 0,paramsError:K,__routeContext:void 0,_nonReactive:{loadPromise:pi()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:q,loaderDeps:A?Ya(A.loaderDeps,M):M,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:w.options.staticData||{},fullPath:w.fullPath}}t!=null&&t.preload||(te.globalNotFound=f===w.id),te.searchError=N;const ne=this.getParentContext(x);te.context={...ne,...te.__routeContext,...te.__beforeLoadContext},d[v]=te}for(let v=0;v<d.length;v++){const w=d[v],x=this.looseRoutesById[w.routeId],T=this.getMatch(w.id),C=h.get(w.routeId);if(w.params=C?Ua(C.params,i):i,!T){const N=d[v-1],M=this.getParentContext(N);if(x.options.context){const L={deps:w.loaderDeps,params:w.params,context:M??{},location:e,navigate:k=>this.navigate({...k,_fromLocation:e}),buildLocation:this.buildLocation,cause:w.cause,abortController:w.abortController,preload:!!w.preload,matches:d,routeId:x.id};w.__routeContext=x.options.context(L)??void 0}w.context={...M,...w.__routeContext,...w.__beforeLoadContext}}}return d}matchRoutesLightweight(e){var b;const t=Do(this.stores.matchesId.get()),l=this.lightweightCache.get(e);if(l&&l[0]===t)return l[1];const{matchedRoutes:r,routeParams:i}=this.getMatchedRoutes(e.pathname),s=Do(r),u={...e.search};for(const v of r)try{Object.assign(u,Ic(v.options.validateSearch,u))}catch{}const f=t&&((b=this.stores.matchStores.get(t))==null?void 0:b.get()),d=f&&f.routeId===s.id&&f.pathname===e.pathname;let h;if(d)h=f.params;else{const v=Object.assign(Object.create(null),i);for(const w of r)try{ob(w,v)}catch{}h=v}const p={matchedRoutes:r,fullPath:s.fullPath,search:u,params:h};return this.lightweightCache.set(e,[t,p]),p}},Yc=class extends Error{},u9=class extends Error{};function f9(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Ic(e,t){if(e==null)return{};if("~standard"in e){const l=e["~standard"].validate(t);if(l instanceof Promise)throw new Yc("Async validation not supported");if(l.issues)throw new Yc(JSON.stringify(l.issues,void 0,2),{cause:l});return l.value}return"parse"in e?e.parse(t):typeof e=="function"?e(t):{}}function d9({pathname:e,routesById:t,processedTree:l}){const r=Object.create(null),i=Tl(e);let s;const u=L8(i,l,!0);return u&&(s=u.route,Object.assign(r,u.rawParams)),{matchedRoutes:(u==null?void 0:u.branch)||[t.__root__],routeParams:r,foundRoute:s}}function h9({search:e,dest:t,destRoutes:l,_includeValidateSearch:r}){return m9(l)(e,t,r??!1)}function m9(e){var s;let t,l;const r=[];for(const u of e){const f=u.options;if("search"in f)(s=f.search)!=null&&s.middlewares&&r.push(...f.search.middlewares);else if(f.preSearchFilters||f.postSearchFilters){const h=({search:p,next:b})=>{const v=b(f.preSearchFilters?f.preSearchFilters.reduce((w,x)=>x(w),p):p);return f.postSearchFilters?f.postSearchFilters.reduce((w,x)=>x(w),v):v};r.push(h)}const d=f.validateSearch;if(d){const h=({search:p,next:b,meta:v})=>{const w=b(p);if(l)try{const x=Ic(d,w);if(v&&x)for(const T in x)T in w||(v.defaulted||(v.defaulted=new Map)).set(T,x[T]);return{...w,...x}}catch{}return w};r.push(h)}}const i=(u,f,d)=>{if(u>=r.length){if(!t.search)return{};if(t.search===!0)return f;const p=qa(t.search,f);return d&&(d.explicit=p),p}const h=(p,b)=>{if(b){const v=d||{};return{search:i(u+1,p,v),meta:v}}return i(u+1,p,d)};return r[u]({search:f,next:h,meta:d})};return function(f,d,h){return t=d,l=h,i(0,f)}}function p9(e,t){if(e!=="root")for(let l=t.length-1;l>=0;l--){const r=t[l];if(r.children)return r.id}return Qa}function ob(e,t){var r;const l=((r=e.options.params)==null?void 0:r.parse)??e.options.parseParams;if(l){const i=l(t);if(i===!1)throw new Error("Route params.parse returned false for a matched route");Object.assign(t,i)}}const g9="Error preloading route! ☝️";var $y=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=t=>{var d,h;this.originalIndex=t.originalIndex;const l=this.options,r=!(l!=null&&l.path)&&!(l!=null&&l.id);this.parentRoute=(h=(d=this.options).getParentRoute)==null?void 0:h.call(d),r?this._path=Qa:this.parentRoute||Rl();let i=r?Qa:l==null?void 0:l.path;i&&i!=="/"&&(i=Ry(i));const s=(l==null?void 0:l.id)||i;let u=r?Qa:Pc([this.parentRoute.id==="__root__"?"":this.parentRoute.id,s]);i==="__root__"&&(i="/"),u!=="__root__"&&(u=Pc(["/",u]));const f=u==="__root__"?"/":Pc([this.parentRoute.fullPath,i]);this._path=i,this._id=u,this._fullPath=f,this._to=Tl(f)},this.addChildren=t=>this._addFileChildren(t),this._addFileChildren=t=>(Array.isArray(t)&&(this.children=t),typeof t=="object"&&t!==null&&(this.children=Object.values(t)),this),this._addFileTypes=()=>this,this.updateLoader=t=>(Object.assign(this.options,t),this),this.update=t=>(Object.assign(this.options,t),this),this.lazy=t=>(this.lazyFn=t,this),this.redirect=t=>bu({from:this.fullPath,...t}),this.options=e||{},this.isRoot=!(e!=null&&e.getParentRoute),e!=null&&e.id&&(e!=null&&e.path))throw new Error("Route cannot have both an 'id' and a 'path' option.")}},b9=class extends $y{constructor(e){super(e)}};function Oh(e){const t=e.errorComponent??jh;return E.jsx(v9,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:l,reset:r})=>l?y.createElement(t,{error:l,reset:r}):e.children})}var v9=class extends y.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){const l=e.getResetKey();return t.error&&t.resetKey!==l?{resetKey:l,error:null}:{resetKey:l}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function jh({error:e}){const[t,l]=y.useState(!1);return E.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[E.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[E.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),E.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>l(r=>!r),children:t?"Hide Error":"Show Error"})]}),E.jsx("div",{style:{height:".25rem"}}),t?E.jsx("div",{children:E.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?E.jsx("code",{children:e.message}):null})}):null]})}function y9({children:e,fallback:t=null}){return zy()?E.jsx(V.Fragment,{children:e}):E.jsx(V.Fragment,{children:t})}function zy(){return V.useSyncExternalStore(x9,()=>!0,()=>!1)}function x9(){return()=>{}}var Py=y.createContext(null);function gn(e){return y.useContext(Py)}var yu=y.createContext(void 0),S9=y.createContext(void 0),rt=(e=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(rt||{});function w9({update:e,notify:t,unwatched:l}){return{link:r,unlink:i,propagate:s,checkDirty:u,shallowPropagate:f};function r(h,p,b){const v=p.depsTail;if(v!==void 0&&v.dep===h)return;const w=v!==void 0?v.nextDep:p.deps;if(w!==void 0&&w.dep===h){w.version=b,p.depsTail=w;return}const x=h.subsTail;if(x!==void 0&&x.version===b&&x.sub===p)return;const T=p.depsTail=h.subsTail={version:b,dep:h,sub:p,prevDep:v,nextDep:w,prevSub:x,nextSub:void 0};w!==void 0&&(w.prevDep=T),v!==void 0?v.nextDep=T:p.deps=T,x!==void 0?x.nextSub=T:h.subs=T}function i(h,p=h.sub){const b=h.dep,v=h.prevDep,w=h.nextDep,x=h.nextSub,T=h.prevSub;return w!==void 0?w.prevDep=v:p.depsTail=v,v!==void 0?v.nextDep=w:p.deps=w,x!==void 0?x.prevSub=T:b.subsTail=T,T!==void 0?T.nextSub=x:(b.subs=x)===void 0&&l(b),w}function s(h){let p=h.nextSub,b;e:do{const v=h.sub;let w=v.flags;if(w&60?w&12?w&4?!(w&48)&&d(h,v)?(v.flags=w|40,w&=1):w=0:v.flags=w&-9|32:w=0:v.flags=w|32,w&2&&t(v),w&1){const x=v.subs;if(x!==void 0){const T=(h=x).nextSub;T!==void 0&&(b={value:p,prev:b},p=T);continue}}if((h=p)!==void 0){p=h.nextSub;continue}for(;b!==void 0;)if(h=b.value,b=b.prev,h!==void 0){p=h.nextSub;continue e}break}while(!0)}function u(h,p){let b,v=0,w=!1;e:do{const x=h.dep,T=x.flags;if(p.flags&16)w=!0;else if((T&17)===17){if(e(x)){const C=x.subs;C.nextSub!==void 0&&f(C),w=!0}}else if((T&33)===33){(h.nextSub!==void 0||h.prevSub!==void 0)&&(b={value:h,prev:b}),h=x.deps,p=x,++v;continue}if(!w){const C=h.nextDep;if(C!==void 0){h=C;continue}}for(;v--;){const C=p.subs,N=C.nextSub!==void 0;if(N?(h=b.value,b=b.prev):h=C,w){if(e(p)){N&&f(C),p=h.sub;continue}w=!1}else p.flags&=-33;p=h.sub;const M=h.nextDep;if(M!==void 0){h=M;continue e}}return w}while(!0)}function f(h){do{const p=h.sub,b=p.flags;(b&48)===32&&(p.flags=b|16,(b&6)===2&&t(p))}while((h=h.nextSub)!==void 0)}function d(h,p){let b=p.depsTail;for(;b!==void 0;){if(b===h)return!0;b=b.prevDep}return!1}}function E9(e,t,l){var s,u,f;const r=typeof e=="object",i=r?e:void 0;return{next:(s=r?e.next:e)==null?void 0:s.bind(i),error:(u=r?e.error:t)==null?void 0:u.bind(i),complete:(f=r?e.complete:l)==null?void 0:f.bind(i)}}const _0=[];let Bc=0;const{link:sb,unlink:C9,propagate:T9,checkDirty:Oy,shallowPropagate:cb}=w9({update(e){return e._update()},notify(e){_0[G0++]=e,e.flags&=~rt.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=rt.Mutable|rt.Dirty,Xc(e))}});let vc=0,G0=0,tl,q0=0;function jy(e){try{++q0,e()}finally{--q0||Iy()}}function Xc(e){const t=e.depsTail;let l=t!==void 0?t.nextDep:e.deps;for(;l!==void 0;)l=C9(l,e)}function Iy(){if(!(q0>0)){for(;vc<G0;){const e=_0[vc];_0[vc++]=void 0,e.notify()}vc=0,G0=0}}function ub(e,t){const l=typeof e=="function",r=e,i={_snapshot:l?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:l?rt.None:rt.Mutable,get(){return tl!==void 0&&sb(i,tl,Bc),i._snapshot},subscribe(s){const u=E9(s),f={current:!1},d=R9(()=>{var h;i.get(),f.current?(h=u.next)==null||h.call(u,i._snapshot):f.current=!0});return{unsubscribe:()=>{d.stop()}}},_update(s){const u=tl,f=(t==null?void 0:t.compare)??Object.is;if(l)tl=i,++Bc,i.depsTail=void 0;else if(s===void 0)return!1;l&&(i.flags=rt.Mutable|rt.RecursedCheck);try{const d=i._snapshot,h=typeof s=="function"?s(d):s===void 0&&l?r(d):s;return d===void 0||!f(d,h)?(i._snapshot=h,!0):!1}finally{tl=u,l&&(i.flags&=~rt.RecursedCheck),Xc(i)}}};return l?(i.flags=rt.Mutable|rt.Dirty,i.get=function(){const s=i.flags;if(s&rt.Dirty||s&rt.Pending&&Oy(i.deps,i)){if(i._update()){const u=i.subs;u!==void 0&&cb(u)}}else s&rt.Pending&&(i.flags=s&~rt.Pending);return tl!==void 0&&sb(i,tl,Bc),i._snapshot}):i.set=function(s){if(i._update(s)){const u=i.subs;u!==void 0&&(T9(u),cb(u),Iy())}},i}function R9(e){const t=()=>{const r=tl;tl=l,++Bc,l.depsTail=void 0,l.flags=rt.Watching|rt.RecursedCheck;try{return e()}finally{tl=r,l.flags&=~rt.RecursedCheck,Xc(l)}},l={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:rt.Watching|rt.RecursedCheck,notify(){const r=this.flags;r&rt.Dirty||r&rt.Pending&&Oy(this.deps,this)?t():this.flags=rt.Watching},stop(){this.flags=rt.None,this.depsTail=void 0,Xc(this)}};return t(),l}var c0={exports:{}},u0={},f0={exports:{}},d0={};/**
51
51
  * @license React
52
52
  * use-sync-external-store-shim.production.js
53
53
  *
@@ -55,7 +55,7 @@ Error generating stack: `+c.message+`
55
55
  *
56
56
  * This source code is licensed under the MIT license found in the
57
57
  * LICENSE file in the root directory of this source tree.
58
- */var fb;function R9(){if(fb)return d0;fb=1;var e=Vo();function t(b,v){return b===v&&(b!==0||1/b===1/v)||b!==b&&v!==v}var l=typeof Object.is=="function"?Object.is:t,r=e.useState,i=e.useEffect,s=e.useLayoutEffect,u=e.useDebugValue;function f(b,v){var w=v(),x=r({inst:{value:w,getSnapshot:v}}),T=x[0].inst,C=x[1];return s(function(){T.value=w,T.getSnapshot=v,d(T)&&C({inst:T})},[b,w,v]),i(function(){return d(T)&&C({inst:T}),b(function(){d(T)&&C({inst:T})})},[b]),u(w),w}function d(b){var v=b.getSnapshot;b=b.value;try{var w=v();return!l(b,w)}catch{return!0}}function h(b,v){return v()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:f;return d0.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,d0}var db;function Iy(){return db||(db=1,f0.exports=R9()),f0.exports}/**
58
+ */var fb;function M9(){if(fb)return d0;fb=1;var e=Vo();function t(b,v){return b===v&&(b!==0||1/b===1/v)||b!==b&&v!==v}var l=typeof Object.is=="function"?Object.is:t,r=e.useState,i=e.useEffect,s=e.useLayoutEffect,u=e.useDebugValue;function f(b,v){var w=v(),x=r({inst:{value:w,getSnapshot:v}}),T=x[0].inst,C=x[1];return s(function(){T.value=w,T.getSnapshot=v,d(T)&&C({inst:T})},[b,w,v]),i(function(){return d(T)&&C({inst:T}),b(function(){d(T)&&C({inst:T})})},[b]),u(w),w}function d(b){var v=b.getSnapshot;b=b.value;try{var w=v();return!l(b,w)}catch{return!0}}function h(b,v){return v()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:f;return d0.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,d0}var db;function By(){return db||(db=1,f0.exports=M9()),f0.exports}/**
59
59
  * @license React
60
60
  * use-sync-external-store-shim/with-selector.production.js
61
61
  *
@@ -63,38 +63,38 @@ Error generating stack: `+c.message+`
63
63
  *
64
64
  * This source code is licensed under the MIT license found in the
65
65
  * LICENSE file in the root directory of this source tree.
66
- */var hb;function M9(){if(hb)return u0;hb=1;var e=Vo(),t=Iy();function l(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var r=typeof Object.is=="function"?Object.is:l,i=t.useSyncExternalStore,s=e.useRef,u=e.useEffect,f=e.useMemo,d=e.useDebugValue;return u0.useSyncExternalStoreWithSelector=function(h,p,b,v,w){var x=s(null);if(x.current===null){var T={hasValue:!1,value:null};x.current=T}else T=x.current;x=f(function(){function N(G){if(!M){if(M=!0,L=G,G=v(G),w!==void 0&&T.hasValue){var $=T.value;if(w($,G))return k=$}return k=G}if($=k,r(L,G))return $;var A=v(G);return w!==void 0&&w($,A)?(L=G,$):(L=G,k=A)}var M=!1,L,k,B=b===void 0?null:b;return[function(){return N(p())},B===null?void 0:function(){return N(B())}]},[p,b,v,w]);var C=i(h,x[0],x[1]);return u(function(){T.hasValue=!0,T.value=C},[C]),d(C),C},u0}var mb;function A9(){return mb||(mb=1,c0.exports=M9()),c0.exports}var L9=A9();function k9(e,t){return e===t}function Ft(e,t,l=k9){const r=y.useCallback(u=>{if(!e)return()=>{};const{unsubscribe:f}=e.subscribe(u);return f},[e]),i=y.useCallback(()=>e==null?void 0:e.get(),[e]);return L9.useSyncExternalStoreWithSelector(r,i,i,t,l)}var h0={get(){},subscribe(){return{unsubscribe(){}}}};function By(e,t){const l=y.useRef();return r=>{const i=e!=null&&e.select?e.select(r):r;return(e==null?void 0:e.structuralSharing)??t.options.defaultStructuralSharing?l.current=Ya(l.current,i):i}}function ir(e){const t=gn(),l=y.useContext(e.from?x9:yu),r=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(l),i=By(e,t),s=Ft(r??h0,u=>u?i(u):h0);if(s!==h0)return s;(e.shouldThrow??!0)&&Rl()}function Hy(e){return ir({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function Ky(e){const{select:t,...l}=e;return ir({...l,select:r=>t?t(r.loaderDeps):r.loaderDeps})}function Uy(e){return ir({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{const l=e.strict===!1?t.params:t._strictParams;return e.select?e.select(l):l}})}function Fy(e){return ir({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function Ih(e){const t=gn();return y.useCallback(l=>t.navigate({...l,from:l.from??(e==null?void 0:e.from)}),[e==null?void 0:e.from,t])}function Vy(e){return ir({...e,select:t=>e.select?e.select(t.context):t.context})}var al=by();const N9=gy(al);function D9(e,t){const l=gn(),r=p8(t),{activeProps:i,inactiveProps:s,activeOptions:u,to:f,preload:d,preloadDelay:h,preloadIntentProximity:p,hashScrollIntoView:b,replace:v,startTransition:w,resetScroll:x,viewTransition:T,children:C,target:N,disabled:M,style:L,className:k,onClick:B,onBlur:G,onFocus:$,onMouseEnter:A,onMouseLeave:U,onTouchStart:K,ignoreBlocker:q,params:te,search:ne,hash:j,state:Y,mask:z,reloadDocument:O,unsafeRelative:oe,from:J,_fromLocation:_,...D}=e,Q=$y(),se=y.useMemo(()=>e,[l,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ce=Ft(l.stores.location,Ye=>Ye,(Ye,Nt)=>Ye.href===Nt.href),H=y.useMemo(()=>{const Ye={_fromLocation:ce,...se};return l.buildLocation(Ye)},[l,ce,se]),ie=H.maskedLocation?H.maskedLocation.publicHref:H.publicHref,xe=H.maskedLocation?H.maskedLocation.external:H.external,Ae=y.useMemo(()=>I9(ie,xe,l.history,M),[M,xe,ie,l.history]),de=y.useMemo(()=>{if(Ae!=null&&Ae.external)return _c(Ae.href,l.protocolAllowlist)?void 0:Ae.href;if(!B9(f)&&!(typeof f!="string"||f.indexOf(":")===-1))try{return new URL(f),_c(f,l.protocolAllowlist)?void 0:f}catch{}},[f,Ae,l.protocolAllowlist]),Lt=y.useMemo(()=>{if(de)return!1;if(u!=null&&u.exact){if(!z8(ce.pathname,H.pathname,l.basepath))return!1}else{const Ye=Gc(ce.pathname,l.basepath),Nt=Gc(H.pathname,l.basepath);if(!(Ye.startsWith(Nt)&&(Ye.length===Nt.length||Ye[Nt.length]==="/")))return!1}return((u==null?void 0:u.includeSearch)??!0)&&!Za(ce.search,H.search,{partial:!(u!=null&&u.exact),ignoreUndefined:!(u!=null&&u.explicitUndefined)})?!1:u!=null&&u.includeHash?Q&&ce.hash===H.hash:!0},[u==null?void 0:u.exact,u==null?void 0:u.explicitUndefined,u==null?void 0:u.includeHash,u==null?void 0:u.includeSearch,ce,de,Q,H.hash,H.pathname,H.search,l.basepath]),it=Lt?qa(i,{})??$9:m0,ue=Lt?m0:qa(s,{})??m0,fe=[k,it.className,ue.className].filter(Boolean).join(" "),Ee=(L||it.style||ue.style)&&{...L,...it.style,...ue.style},[_e,Fe]=y.useState(!1),kt=y.useRef(!1),Sn=e.reloadDocument||de?!1:d??l.options.defaultPreload,pt=h??l.options.defaultPreloadDelay??0,jn=y.useCallback(()=>{l.preloadRoute({...se,_builtLocation:H}).catch(Ye=>{console.warn(Ye),console.warn(p9)})},[l,se,H]);m8(r,y.useCallback(Ye=>{Ye!=null&&Ye.isIntersecting&&jn()},[jn]),j9,{disabled:!!M||Sn!=="viewport"}),y.useEffect(()=>{kt.current||!M&&Sn==="render"&&(jn(),kt.current=!0)},[M,jn,Sn]);const Si=Ye=>{const Nt=Ye.currentTarget.getAttribute("target"),Gn=N!==void 0?N:Nt;if(!M&&!H9(Ye)&&!Ye.defaultPrevented&&(!Gn||Gn==="_self")&&Ye.button===0){Ye.preventDefault(),al.flushSync(()=>{Fe(!0)});const fr=l.subscribe("onResolved",()=>{fr(),Fe(!1)});l.navigate({...se,replace:v,resetScroll:x,hashScrollIntoView:b,startTransition:w,viewTransition:T,ignoreBlocker:q})}};if(de)return{...D,ref:r,href:de,...C&&{children:C},...N&&{target:N},...M&&{disabled:M},...L&&{style:L},...k&&{className:k},...B&&{onClick:B},...G&&{onBlur:G},...$&&{onFocus:$},...A&&{onMouseEnter:A},...U&&{onMouseLeave:U},...K&&{onTouchStart:K}};const Qo=Ye=>{if(M||Sn!=="intent")return;if(!pt){jn();return}const Nt=Ye.currentTarget;if(yo.has(Nt))return;const Gn=setTimeout(()=>{yo.delete(Nt),jn()},pt);yo.set(Nt,Gn)},Pu=Ye=>{M||Sn!=="intent"||jn()},It=Ye=>{if(M||!Sn||!pt)return;const Nt=Ye.currentTarget,Gn=yo.get(Nt);Gn&&(clearTimeout(Gn),yo.delete(Nt))};return{...D,...it,...ue,href:Ae==null?void 0:Ae.href,ref:r,onClick:Wr([B,Si]),onBlur:Wr([G,It]),onFocus:Wr([$,Qo]),onMouseEnter:Wr([A,Qo]),onMouseLeave:Wr([U,It]),onTouchStart:Wr([K,Pu]),disabled:!!M,target:N,...Ee&&{style:Ee},...fe&&{className:fe},...M&&z9,...Lt&&P9,...Q&&_e&&O9}}var m0={},$9={className:"active"},z9={role:"link","aria-disabled":!0},P9={"data-status":"active","aria-current":"page"},O9={"data-transitioning":"transitioning"},yo=new WeakMap,j9={rootMargin:"100px"},Wr=e=>t=>{for(const l of e)if(l){if(t.defaultPrevented)return;l(t)}};function I9(e,t,l,r){if(!r)return t?{href:e,external:!0}:{href:l.createHref(e)||"/",external:!1}}function B9(e){if(typeof e!="string")return!1;const t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var _y=y.forwardRef((e,t)=>{const{_asChild:l,...r}=e,{type:i,...s}=D9(r,t),u=typeof r.children=="function"?r.children({isActive:s["data-status"]==="active"}):r.children;if(!l){const{disabled:f,...d}=s;return y.createElement("a",d,u)}return y.createElement(l,s,u)});function H9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var K9=class extends Dy{constructor(t){super(t),this.useMatch=l=>ir({select:l==null?void 0:l.select,from:this.id,structuralSharing:l==null?void 0:l.structuralSharing}),this.useRouteContext=l=>Vy({...l,from:this.id}),this.useSearch=l=>Fy({select:l==null?void 0:l.select,structuralSharing:l==null?void 0:l.structuralSharing,from:this.id}),this.useParams=l=>Uy({select:l==null?void 0:l.select,structuralSharing:l==null?void 0:l.structuralSharing,from:this.id}),this.useLoaderDeps=l=>Ky({...l,from:this.id}),this.useLoaderData=l=>Hy({...l,from:this.id}),this.useNavigate=()=>Ih({from:this.fullPath}),this.Link=V.forwardRef((l,r)=>E.jsx(_y,{ref:r,from:this.fullPath,...l}))}};function U9(e){return new K9(e)}var F9=class extends g9{constructor(e){super(e),this.useMatch=t=>ir({select:t==null?void 0:t.select,from:this.id,structuralSharing:t==null?void 0:t.structuralSharing}),this.useRouteContext=t=>Vy({...t,from:this.id}),this.useSearch=t=>Fy({select:t==null?void 0:t.select,structuralSharing:t==null?void 0:t.structuralSharing,from:this.id}),this.useParams=t=>Uy({select:t==null?void 0:t.select,structuralSharing:t==null?void 0:t.structuralSharing,from:this.id}),this.useLoaderDeps=t=>Ky({...t,from:this.id}),this.useLoaderData=t=>Hy({...t,from:this.id}),this.useNavigate=()=>Ih({from:this.fullPath}),this.Link=V.forwardRef((t,l)=>E.jsx(_y,{ref:l,from:this.fullPath,...t}))}};function V9(e){return new F9(e)}function gi(e){return new _9(e,{silent:!0}).createRoute}var _9=class{constructor(e,t){this.path=e,this.createRoute=l=>{const r=U9(l);return r.isRoot=!1,r},this.silent=t==null?void 0:t.silent}};function _o(e,t){let l,r,i,s;const u=()=>(l||(l=e().then(d=>{l=void 0,r=d[t]}).catch(d=>{if(i=d,v8(i)&&i instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const h=`tanstack_router_reload:${i.message}`;sessionStorage.getItem(h)||(sessionStorage.setItem(h,"1"),s=!0)}})),l),f=function(h){if(s)throw window.location.reload(),new Promise(()=>{});if(i)throw i;if(!r)if(Ug)Ug(u());else throw u();return y.createElement(r,h)};return f.preload=u,f}function G9(e){const t=gn(),l=`not-found-${Ft(t.stores.location,r=>r.pathname)}-${Ft(t.stores.status,r=>r)}`;return E.jsx(Oh,{getResetKey:()=>l,onCatch:(r,i)=>{var s;if(Ht(r))(s=e.onCatch)==null||s.call(e,r,i);else throw r},errorComponent:({error:r})=>{var i;if(Ht(r))return(i=e.fallback)==null?void 0:i.call(e,r);throw r},children:e.children})}function q9(){return E.jsx("p",{children:"Not Found"})}function ni(e){return E.jsx(E.Fragment,{children:e.children})}function Gy(e,t,l){return t.options.notFoundComponent?E.jsx(t.options.notFoundComponent,{...l}):e.options.defaultNotFoundComponent?E.jsx(e.options.defaultNotFoundComponent,{...l}):E.jsx(q9,{})}function Y9(e){return null}function X9(){return Y9(gn()),null}var W9=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,Z9=(e,t)=>e[0]===t[0]&&e[1]===t[1],qy=y.memo(function({matchId:t}){const l=gn(),r=l.stores.matchStores.get(t);r||Rl();const i=Ft(l.stores.loadedAt,u=>u),s=Ft(r,u=>u,W9);return E.jsx(Q9,{router:l,matchId:t,resetKey:i,matchState:y.useMemo(()=>{var d;const u=s.routeId,f=(d=l.routesById[u].parentRoute)==null?void 0:d.id;return{routeId:u,ssr:s.ssr,_displayPending:s._displayPending,parentRouteId:f}},[s._displayPending,s.routeId,s.ssr,l.routesById])})});function Q9({router:e,matchId:t,resetKey:l,matchState:r}){var x,T;const i=e.routesById[r.routeId],s=i.options.pendingComponent??e.options.defaultPendingComponent,u=s?E.jsx(s,{}):null,f=i.options.errorComponent??e.options.defaultErrorComponent,d=i.options.onCatch??e.options.defaultOnCatch,h=i.isRoot?i.options.notFoundComponent??((x=e.options.notFoundRoute)==null?void 0:x.options.component):i.options.notFoundComponent,p=r.ssr===!1||r.ssr==="data-only",b=(!i.isRoot||i.options.wrapInSuspense||p)&&(i.options.wrapInSuspense??s??(((T=i.options.errorComponent)==null?void 0:T.preload)||p))?y.Suspense:ni,v=f?Oh:ni,w=h?G9:ni;return E.jsxs(i.isRoot?i.options.shellComponent??ni:ni,{children:[E.jsx(yu.Provider,{value:t,children:E.jsx(b,{fallback:u,children:E.jsx(v,{getResetKey:()=>l,errorComponent:f||jh,onCatch:(C,N)=>{if(Ht(C))throw C.routeId??(C.routeId=r.routeId),C;d==null||d(C,N)},children:E.jsx(w,{fallback:C=>{if(C.routeId??(C.routeId=r.routeId),!h||C.routeId&&C.routeId!==r.routeId||!C.routeId&&!i.isRoot)throw C;return y.createElement(h,C)},children:p||r._displayPending?E.jsx(v9,{fallback:u,children:E.jsx(pb,{matchId:t})}):E.jsx(pb,{matchId:t})})})})}),r.parentRouteId===Qa?E.jsxs(E.Fragment,{children:[E.jsx(J9,{}),e.options.scrollRestoration&&vy?E.jsx(X9,{}):null]}):null]})}function J9(){const e=gn(),t=y.useRef();return Co(()=>{const l=e.stores.resolvedLocation.get(),r=t.current;l&&(!r||r.href!==l.href)&&e.emit({type:"onRendered",...ci(e.stores.location.get(),r??l)}),t.current=l},[Ft(e.stores.resolvedLocation,l=>l==null?void 0:l.state.__TSR_key),e]),null}var pb=y.memo(function({matchId:t}){const l=gn(),r=(p,b)=>{var v;return((v=l.getMatch(p.id))==null?void 0:v._nonReactive[b])??p._nonReactive[b]},i=l.stores.matchStores.get(t);i||Rl();const s=Ft(i,p=>p),u=s.routeId,f=l.routesById[u],d=y.useMemo(()=>{var b;const p=(b=l.routesById[u].options.remountDeps??l.options.defaultRemountDeps)==null?void 0:b({routeId:u,loaderDeps:s.loaderDeps,params:s._strictParams,search:s._strictSearch});return p?JSON.stringify(p):void 0},[u,s.loaderDeps,s._strictParams,s._strictSearch,l.options.defaultRemountDeps,l.routesById]),h=y.useMemo(()=>{const p=f.options.component??l.options.defaultComponent;return p?E.jsx(p,{},d):E.jsx(Yy,{})},[d,f.options.component,l.options.defaultComponent]);if(s._displayPending)throw r(s,"displayPendingPromise");if(s._forcePending)throw r(s,"minPendingPromise");if(s.status==="pending"){const p=f.options.pendingMinMs??l.options.defaultPendingMinMs;if(p){const b=l.getMatch(s.id);if(b&&!b._nonReactive.minPendingPromise){const v=pi();b._nonReactive.minPendingPromise=v,setTimeout(()=>{v.resolve(),b._nonReactive.minPendingPromise=void 0},p)}}throw r(s,"loadPromise")}if(s.status==="notFound")return Ht(s.error)||Rl(),Gy(l,f,s.error);if(s.status==="redirected")throw tn(s.error)||Rl(),r(s,"loadPromise");if(s.status==="error")throw s.error;return h}),Yy=y.memo(function(){const t=gn(),l=y.useContext(yu);let r,i=!1,s;{const h=l?t.stores.matchStores.get(l):void 0;[r,i]=Ft(h,p=>[p==null?void 0:p.routeId,(p==null?void 0:p.globalNotFound)??!1],Z9),s=Ft(t.stores.matchesId,p=>p[p.findIndex(b=>b===l)+1])}const u=r?t.routesById[r]:void 0,f=t.options.defaultPendingComponent?E.jsx(t.options.defaultPendingComponent,{}):null;if(i)return u||Rl(),Gy(t,u,void 0);if(!s)return null;const d=E.jsx(qy,{matchId:s});return r===Qa?E.jsx(y.Suspense,{fallback:f,children:d}):d});function ew(){const e=gn(),t=y.useRef({router:e,mounted:!1}),[l,r]=y.useState(!1),i=Ft(e.stores.isLoading,b=>b),s=Ft(e.stores.hasPending,b=>b),u=n0(i),f=i||l||s,d=n0(f),h=i||s,p=n0(h);return e.startTransition=b=>{r(!0),y.startTransition(()=>{b(),r(!1)})},y.useEffect(()=>{const b=e.history.subscribe(e.load),v=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Tl(e.latestLocation.publicHref)!==Tl(v.publicHref)&&e.commitLocation({...v,replace:!0}),()=>{b()}},[e,e.history]),Co(()=>{if(typeof window<"u"&&e.ssr||t.current.router===e&&t.current.mounted)return;t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(v){console.error(v)}})()},[e]),Co(()=>{u&&!i&&e.emit({type:"onLoad",...ci(e.stores.location.get(),e.stores.resolvedLocation.get())})},[u,e,i]),Co(()=>{p&&!h&&e.emit({type:"onBeforeRouteMount",...ci(e.stores.location.get(),e.stores.resolvedLocation.get())})},[h,p,e]),Co(()=>{if(d&&!f){const b=ci(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...b}),Oy(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[f,d,e]),null}function tw(){const e=gn(),t=e.routesById[Qa].options.pendingComponent??e.options.defaultPendingComponent,l=t?E.jsx(t,{}):null,r=E.jsxs(typeof document<"u"&&e.ssr?ni:y.Suspense,{fallback:l,children:[E.jsx(ew,{}),E.jsx(nw,{})]});return e.options.InnerWrap?E.jsx(e.options.InnerWrap,{children:r}):r}function nw(){const e=gn(),t=Ft(e.stores.firstId,i=>i),l=Ft(e.stores.loadedAt,i=>i),r=t?E.jsx(qy,{matchId:t}):null;return E.jsx(yu.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:E.jsx(Oh,{getResetKey:()=>l,errorComponent:jh,onCatch:void 0,children:r})})}var lw=e=>({createMutableStore:ub,createReadonlyStore:ub,batch:Oy}),aw=e=>new rw(e),rw=class extends s9{constructor(e){super(e,lw)}};function iw({router:e,children:t,...l}){xy(l)&&e.update({...e.options,...l,context:{...e.options.context,...l.context}});const r=E.jsx(zy.Provider,{value:e,children:t});return e.options.Wrap?E.jsx(e.options.Wrap,{children:r}):r}function ow({router:e,...t}){return E.jsx(iw,{router:e,...t,children:E.jsx(tw,{})})}function sw(e){const t=gn();return Ft(t.stores.location,By(e,t))}const cw="react-aria-clear-focus",uw="react-aria-focus";function xu(e){var l;if(typeof window>"u"||window.navigator==null)return!1;let t=(l=window.navigator.userAgentData)==null?void 0:l.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function Bh(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)==null?void 0:t.platform)||window.navigator.platform):!1}function kl(e){let t=null;return()=>(t==null&&(t=e()),t)}const Vn=kl(function(){return Bh(/^Mac/i)}),fw=kl(function(){return Bh(/^iPhone/i)}),Xy=kl(function(){return Bh(/^iPad/i)||Vn()&&navigator.maxTouchPoints>1}),ba=kl(function(){return fw()||Xy()}),dw=kl(function(){return Vn()||ba()}),Ml=kl(function(){return xu(/AppleWebKit/i)&&(ba()||!Wy())}),Wy=kl(function(){return xu(/Chrome|CriOS|CrMo/i)}),Wc=kl(function(){return xu(/Android/i)}),hw=kl(function(){return xu(/(Firefox|FxiOS)/i)});function en(e){if(mw())e.focus({preventScroll:!0});else{let t=pw(e);e.focus(),gw(t)}}let yc=null;function mw(){if(yc==null){yc=!1;try{document.createElement("div").focus({get preventScroll(){return yc=!0,!0}})}catch{}}return yc}function pw(e){let t=e.parentNode,l=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&l.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&l.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),l}function gw(e){for(let{element:t,scrollTop:l,scrollLeft:r}of e)t.scrollTop=l,t.scrollLeft=r}const bw=y.createContext({isNative:!0,open:xw,useHref:e=>e});function Go(){return y.useContext(bw)}function vw(e,t){let l=e.getAttribute("target");return(!l||l==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function Al(e,t,l=!0){var d,h;let{metaKey:r,ctrlKey:i,altKey:s,shiftKey:u}=t;!Ml()&&hw()&&((h=(d=window.event)==null?void 0:d.type)!=null&&h.startsWith("key"))&&e.target==="_blank"&&(Vn()?r=!0:i=!0);let f=Ml()&&Vn()&&!Xy()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:i,altKey:s,shiftKey:u}):new MouseEvent("click",{metaKey:r,ctrlKey:i,altKey:s,shiftKey:u,detail:1,bubbles:!0,cancelable:!0});Al.isOpening=l,en(e),e.dispatchEvent(f),Al.isOpening=!1}Al.isOpening=!1;function yw(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let l=document.createElement("a");l.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(l.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(l.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(l.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(l.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(l.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(l),t(l),e.removeChild(l)}}function xw(e,t){yw(e,l=>Al(l,t))}function mz(e){const l=Go().useHref(e.href??"");return{"data-href":e.href?l:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function Zy(e){const l=Go().useHref((e==null?void 0:e.href)??"");let r={};if(e)for(let i of["href","target","rel","download","ping","referrerPolicy"])i in e&&e[i]!==void 0&&(r[i]=i==="href"?l:e[i]);return r}function Sw(e,t,l,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&vw(e.currentTarget,e)&&l&&(e.preventDefault(),t.open(e.currentTarget,e,l,r))}const Ne=typeof document<"u"?V.useLayoutEffect:()=>{},Qy={prefix:String(Math.round(Math.random()*1e10)),current:0},Jy=V.createContext(Qy),ww=V.createContext(!1);let p0=new WeakMap;function Ew(e=!1){var r,i;let t=y.useContext(Jy),l=y.useRef(null);if(l.current===null&&!e){let s=(i=(r=V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)==null?void 0:r.ReactCurrentOwner)==null?void 0:i.current;if(s){let u=p0.get(s);u==null?p0.set(s,{id:t.current,state:s.memoizedState}):s.memoizedState!==u.state&&(t.current=u.id,p0.delete(s))}l.current=++t.current}return l.current}function Cw(e){let t=y.useContext(Jy),l=Ew(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${l}`}function Tw(e){let t=V.useId(),[l]=y.useState(Nl()),r=l?"react-aria":`react-aria${Qy.prefix}`;return e||`${r}-${t}`}const Rw=typeof V.useId=="function"?Tw:Cw;function Mw(){return!1}function Aw(){return!0}function Lw(e){return()=>{}}function Nl(){return typeof V.useSyncExternalStore=="function"?V.useSyncExternalStore(Lw,Mw,Aw):y.useContext(ww)}function kw(e){let[t,l]=y.useState(e),r=y.useRef(t),i=y.useRef(null),s=y.useRef(()=>{if(!i.current)return;let f=i.current.next();if(f.done){i.current=null;return}r.current===f.value?s.current():l(f.value)});Ne(()=>{r.current=t,i.current&&s.current()});let u=y.useCallback(f=>{i.current=f(r.current),s.current()},[s]);return[t,u]}let Nw=!!(typeof window<"u"&&window.document&&window.document.createElement),ui=new Map,li;typeof FinalizationRegistry<"u"&&(li=new FinalizationRegistry(e=>{ui.delete(e)}));let g0=new WeakMap;function _n(e){let[t,l]=y.useState(e),r=y.useRef(null),i=Rw(t),s=y.useRef(null),u=g0.get(s);if(li&&u!==i&&(u!=null&&li.unregister(s),li.register(s,i,s),g0.set(s,i)),Nw){const f=ui.get(i);f&&!f.includes(r)?f.push(r):ui.set(i,[r])}return Ne(()=>{let f=i;return()=>{li&&(li.unregister(s),g0.delete(s)),ui.delete(f)}},[i]),y.useEffect(()=>{let f=r.current;return f&&l(f),()=>{f&&(r.current=null)}}),i}function Dw(e,t){if(e===t)return e;let l=ui.get(e);if(l)return l.forEach(i=>i.current=t),t;let r=ui.get(t);return r?(r.forEach(i=>i.current=e),e):t}function Y0(e=[]){let t=_n(),[l,r]=kw(t),i=y.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Ne(i,[t,i,...e]),l}function er(...e){return(...t)=>{for(let l of e)typeof l=="function"&&l(...t)}}const He=e=>$w(e)?e.document:zw(e)?e:(e==null?void 0:e.ownerDocument)??(typeof document<"u"?document:void 0),jt=e=>{let t=He(e);return(t==null?void 0:t.defaultView)??(typeof window<"u"?window:void 0)};function e3(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function $w(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function zw(e){return e3(e)&&e.nodeType===9}function Hh(e){return e3(e)&&e.nodeType===11&&"host"in e}function Pw(e,t,l,r){if(l==null||e==null)return()=>{};let i=Array.isArray(e)?e:[e];for(let s of i)s.addEventListener(t,l,r);return()=>{for(let s of i)s.removeEventListener(t,l,r)}}let Ow=!1;function nl(){return Ow}function Ie(e,t){var r;if(!nl())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let l=t;for(;l!==null;){if(l===e)return!0;typeof l.assignedElements!="function"&&((r=l.assignedSlot)!=null&&r.parentNode)?l=l.assignedSlot.parentNode:Hh(l)?l=l.host:l=l.parentNode}return!1}const et=(e=document)=>{var l;if(!nl())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&((l=t.shadowRoot)!=null&&l.activeElement);)t=t.shadowRoot.activeElement;return t};function ve(e){if(nl()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function jw(e,t){if(t===null)return[];t=t??jt(e);let l=[t];if(!nl()||!e||e===t)return l;let r="getRootNode"in t?t.getRootNode():null,i=e.getRootNode()??null;for(;Hh(i)&&i!==r;)l.push(i),i=i.host.getRootNode();return l}function Oo(e){if(!e)return!1;let t=e.getRootNode(),l=jt(e);if(!(t instanceof l.Document||t instanceof l.ShadowRoot))return!1;let r=t.activeElement;return r!=null&&e.contains(r)}class Iw{constructor(t,l,r,i){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=u=>{var f;if(u.nodeType===Node.ELEMENT_NODE){const d=u.shadowRoot;if(d){const h=this._doc.createTreeWalker(d,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(h),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(u);if((f=this.filter)!=null&&f.acceptNode)return this.filter.acceptNode(u);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=l,this.filter=i??null,this.whatToShow=r??NodeFilter.SHOW_ALL,this._currentNode=l,this._walkerStack.unshift(t.createTreeWalker(l,r,this._acceptNode));const s=l.shadowRoot;if(s){const u=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(u)}}get currentNode(){return this._currentNode}set currentNode(t){if(!Ie(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const l=[];let r=t,i=t;for(this._currentNode=t;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const u=r,f=this._doc.createTreeWalker(u,this.whatToShow,{acceptNode:this._acceptNode});l.push(f),f.currentNode=i,this._currentSetFor.add(f),r=i=u.host}else r=r.parentNode;const s=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});l.push(s),s.currentNode=i,this._currentSetFor.add(s),this._walkerStack=l}get doc(){return this._doc}firstChild(){let t=this.currentNode,l=this.nextNode();return Ie(t,l)?(l&&(this.currentNode=l),l):(this.currentNode=t,null)}lastChild(){let l=this._walkerStack[0].lastChild();return l&&(this.currentNode=l),l}nextNode(){var l;const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){let i;if(typeof this.filter=="function"?i=this.filter(t):(l=this.filter)!=null&&l.acceptNode&&(i=this.filter.acceptNode(t)),i===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let s=this.nextNode();return s&&(this.currentNode=s),s}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.nextNode();return r&&(this.currentNode=r),r}else return null}previousNode(){var r;const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null;return null}const l=t.previousNode();if(l){if(l.shadowRoot){let s;if(typeof this.filter=="function"?s=this.filter(l):(r=this.filter)!=null&&r.acceptNode&&(s=this.filter.acceptNode(l)),s===NodeFilter.FILTER_ACCEPT)return l&&(this.currentNode=l),l;let u=this.lastChild();return u&&(this.currentNode=u),u}return l&&(this.currentNode=l),l}else if(this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function t3(e,t,l,r){return nl()?new Iw(e,t,l,r):e.createTreeWalker(t,l,r)}function ya(...e){return e.length===1&&e[0]?e[0]:t=>{let l=!1;const r=e.map(i=>{const s=gb(i,t);return l||(l=typeof s=="function"),s});if(l)return()=>{r.forEach((i,s)=>{typeof i=="function"?i():gb(e[s],null)})}}}function gb(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function n3(e){var t,l,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(l=n3(e[t]))&&(r&&(r+=" "),r+=l)}else for(l in e)e[l]&&(r&&(r+=" "),r+=l);return r}function l3(){for(var e,t,l=0,r="",i=arguments.length;l<i;l++)(e=arguments[l])&&(t=n3(e))&&(r&&(r+=" "),r+=t);return r}function Ce(...e){let t={...e[0]};for(let l=1;l<e.length;l++){let r=e[l];for(let i in r){let s=t[i],u=r[i];typeof s=="function"&&typeof u=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?t[i]=er(s,u):(i==="className"||i==="UNSAFE_className")&&typeof s=="string"&&typeof u=="string"?t[i]=l3(s,u):i==="id"&&s&&u?t.id=Dw(s,u):i==="ref"&&s&&u?t.ref=ya(s,u):t[i]=u!==void 0?u:s}}return t}const Bw=new Set(["id"]),Hw=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Kw=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Uw=new Set(["dir","lang","hidden","inert","translate"]),bb=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),Fw=/^(data-.*)$/;function mt(e,t={}){let{labelable:l,isLink:r,global:i,events:s=i,propNames:u}=t,f={};for(const d in e)Object.prototype.hasOwnProperty.call(e,d)&&(Bw.has(d)||l&&Hw.has(d)||r&&Kw.has(d)||i&&Uw.has(d)||s&&(bb.has(d)||d.endsWith("Capture")&&bb.has(d.slice(0,-7)))||u!=null&&u.has(d)||Fw.test(d))&&(f[d]=e[d]);return f}let ca=new Map,X0=new Set;function vb(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{let i=ve(r);if(!e(r)||!i)return;let s=ca.get(i);s||(s=new Set,ca.set(i,s),i.addEventListener("transitioncancel",l,{once:!0})),s.add(r.propertyName)},l=r=>{let i=ve(r);if(!e(r)||!i)return;let s=ca.get(i);if(s&&(s.delete(r.propertyName),s.size===0&&(i.removeEventListener("transitioncancel",l),ca.delete(i)),ca.size===0)){for(let u of X0)u();X0.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",l)}typeof document<"u"&&(document.readyState!=="loading"?vb():document.addEventListener("DOMContentLoaded",vb));function Vw(){for(const[e]of ca)"isConnected"in e&&!e.isConnected&&ca.delete(e)}function a3(e){requestAnimationFrame(()=>{Vw(),ca.size===0?e():X0.add(e)})}function Su(){let e=y.useRef(new Map),t=y.useCallback((i,s,u,f)=>{let d=f!=null&&f.once?(...h)=>{e.current.delete(u),u(...h)}:u;e.current.set(u,{type:s,eventTarget:i,fn:d,options:f}),i.addEventListener(s,d,f)},[]),l=y.useCallback((i,s,u,f)=>{var h;let d=((h=e.current.get(u))==null?void 0:h.fn)||u;i.removeEventListener(s,d,f),e.current.delete(u)},[]),r=y.useCallback(()=>{e.current.forEach((i,s)=>{l(i.eventTarget,i.type,s,i.options)})},[l]);return y.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:l,removeAllGlobalListeners:r}}function Kh(e,t){let{id:l,"aria-label":r,"aria-labelledby":i}=e;return l=_n(l),i&&r?i=[...new Set([l,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&t&&(r=t),{id:l,"aria-label":r,"aria-labelledby":i}}function bn(e){const t=y.useRef(null),l=y.useRef(void 0),r=y.useCallback(i=>{if(typeof e=="function"){const s=e,u=s(i);return()=>{typeof u=="function"?u():s(null)}}else if(e)return e.current=i,()=>{e.current=null}},[e]);return y.useMemo(()=>({get current(){return t.current},set current(i){t.current=i,l.current&&(l.current(),l.current=void 0),i!=null&&(l.current=r(i))}}),[r])}const _w=V.useInsertionEffect??Ne;function Fn(e){const t=y.useRef(null);return _w(()=>{t.current=e},[e]),y.useCallback((...l)=>{const r=t.current;return r==null?void 0:r(...l)},[])}function yb(e,t){const l=y.useRef(!0),r=y.useRef(null);Ne(()=>(l.current=!0,()=>{l.current=!1}),[]),Ne(()=>{l.current?l.current=!1:(!r.current||t.some((i,s)=>!Object.is(i,r[s])))&&e(),r.current=t},t)}function Gw(){return typeof window.ResizeObserver<"u"}function W0(e){const{ref:t,box:l,onResize:r}=e;let i=Fn(r);y.useEffect(()=>{let s=t==null?void 0:t.current;if(s)if(Gw()){const u=new window.ResizeObserver(f=>{f.length&&i()});return u.observe(s,{box:l}),()=>{s&&u.unobserve(s)}}else return window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)}},[t,l])}function Uh(e,t){Ne(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function jo(e,t){if(!e)return!1;let l=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(l.overflow+l.overflowX+l.overflowY);return e===r&&l.overflow!=="hidden"&&(i=!0),i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}function r3(e,t){let l=e;for(jo(l,t)&&(l=l.parentElement);l&&!jo(l,t);)l=l.parentElement;return l||document.scrollingElement||document.documentElement}function b0(e,t){let l=[],r=document.scrollingElement||document.documentElement;for(;e&&(jo(e,t)&&l.push(e),e!==r);)e=e.parentElement;return l}function To(e){return Vn()?e.metaKey:e.ctrlKey}const qw=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ao(e){return e instanceof HTMLInputElement&&!qw.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}let Jt=typeof document<"u"&&window.visualViewport;function Yw(){let e=Nl(),[t,l]=y.useState(()=>e?{width:0,height:0}:v0());return y.useEffect(()=>{let r=f=>{l(d=>f.width===d.width&&f.height===d.height?d:f)},i=()=>{Jt&&Jt.scale>1||r(v0())},s,u=f=>{Jt&&Jt.scale>1||Ao(ve(f))&&(s=requestAnimationFrame(()=>{let d=et();(!d||!Ao(d))&&r({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return r(v0()),ba()&&Ml()&&window.addEventListener("blur",u,!0),Jt?Jt.addEventListener("resize",i):window.addEventListener("resize",i),()=>{cancelAnimationFrame(s),ba()&&Ml()&&window.removeEventListener("blur",u,!0),Jt?Jt.removeEventListener("resize",i):window.removeEventListener("resize",i)}},[]),t}function v0(){return{width:Jt?Math.min(Jt.width*Jt.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:Jt?Jt.height*Jt.scale:document.documentElement.clientHeight}}let Xw=0;const y0=new Map;function Ww(e){let[t,l]=y.useState();return Ne(()=>{if(!e)return;let r=y0.get(e);if(r)l(r.element.id);else{let i=`react-aria-description-${Xw++}`;l(i);let s=document.createElement("div");s.id=i,s.style.display="none",s.textContent=e,document.body.appendChild(s),r={refCount:0,element:s},y0.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),y0.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function xc(e,t,l,r){let i=Fn(l),s=l==null;y.useEffect(()=>{if(s||!e.current)return;let u=e.current;return u.addEventListener(t,i,r),()=>{u.removeEventListener(t,i,r)}},[e,t,r,s])}function Hc(e,t,l={}){let{block:r="nearest",inline:i="nearest"}=l;if(e===t)return;let s=e.scrollTop,u=e.scrollLeft,f=t.getBoundingClientRect(),d=e.getBoundingClientRect(),h=window.getComputedStyle(t),p=window.getComputedStyle(e),b=document.scrollingElement||document.documentElement,v=e===b,w=e===b?0:d.top,x=e===b?e.clientHeight:d.bottom,T=e===b?0:d.left,C=e===b?e.clientWidth:d.right,N=parseFloat(h.scrollMarginTop)||0,M=parseFloat(h.scrollMarginBottom)||0,L=parseFloat(h.scrollMarginLeft)||0,k=parseFloat(h.scrollMarginRight)||0,B=parseFloat(p.scrollPaddingTop)||0,G=parseFloat(p.scrollPaddingBottom)||0,$=parseFloat(p.scrollPaddingLeft)||0,A=parseFloat(p.scrollPaddingRight)||0,U=parseFloat(p.borderTopWidth)||0,K=parseFloat(p.borderBottomWidth)||0,q=parseFloat(p.borderLeftWidth)||0,te=parseFloat(p.borderRightWidth)||0,ne=f.top-N,j=f.bottom+M,Y=f.left-L,z=f.right+k,O=e===b?0:q+te,oe=e===b?0:U+K,J=e===b?0:e.offsetWidth-e.clientWidth-O,_=e===b?0:e.offsetHeight-e.clientHeight-oe,D=w+(v?0:U)+B,Q=x-(v?0:K)-G-_,se=T+(v?0:q)+$,ce=C-(v?0:te)-A;ba()&&Ml()||p.direction==="ltr"?ce-=J:p.direction==="rtl"&&(se+=J);let H=ne<D||j>Q,ie=Y<se||z>ce;if(H&&r==="start")s+=ne-D;else if(H&&r==="center")s+=(ne+j)/2-(D+Q)/2;else if(H&&r==="end")s+=j-Q;else if(H&&r==="nearest"){let xe=ne-D,Ae=j-Q;s+=Math.abs(xe)<=Math.abs(Ae)?xe:Ae}if(ie&&i==="start")u+=Y-se;else if(ie&&i==="center")u+=(Y+z)/2-(se+ce)/2;else if(ie&&i==="end")u+=z-ce;else if(ie&&i==="nearest"){let xe=Y-se,Ae=z-ce;u+=Math.abs(xe)<=Math.abs(Ae)?xe:Ae}e.scrollTo({left:u,top:s})}function xb(e,t={}){var r,i,s;let{containingElement:l}=t;if(e&&e.isConnected){let u=document.scrollingElement||document.documentElement;if(window.getComputedStyle(u).overflow==="hidden"){let{left:d,top:h}=e.getBoundingClientRect(),p=b0(e,!0);for(let w of p)Hc(w,e);let{left:b,top:v}=e.getBoundingClientRect();if(Math.abs(d-b)>1||Math.abs(h-v)>1){p=l?b0(l,!0):[];for(let w of p)Hc(w,l,{block:"center",inline:"center"});for(let w of b0(e,!0))Hc(w,e)}}else{let{left:d,top:h}=e.getBoundingClientRect();(r=e==null?void 0:e.scrollIntoView)==null||r.call(e,{block:"nearest"});let{left:p,top:b}=e.getBoundingClientRect();(Math.abs(d-p)>1||Math.abs(h-b)>1)&&((i=l==null?void 0:l.scrollIntoView)==null||i.call(l,{block:"center",inline:"center"}),(s=e.scrollIntoView)==null||s.call(e,{block:"nearest"}))}}}function i3(e){return e.pointerType===""&&e.isTrusted?!0:Wc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Zw(e){return!Wc()&&e.width===0&&e.height===0||Wc()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Qw(e,t,l){let r=Fn(i=>{l&&!i.defaultPrevented&&l(t)});y.useEffect(()=>{var s;let i=(s=e==null?void 0:e.current)==null?void 0:s.form;return i==null||i.addEventListener("reset",r),()=>{i==null||i.removeEventListener("reset",r)}},[e])}function Sb(e){const t=y.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}function wu(e,t=!0){let[l,r]=y.useState(!0),i=l&&t;return Ne(()=>{if(i&&e.current&&"getAnimations"in e.current)for(let s of e.current.getAnimations())s instanceof CSSTransition&&s.cancel()},[e,i]),o3(e,i,y.useCallback(()=>r(!1),[])),i}function Zc(e,t){let[l,r]=y.useState(t?"open":"closed");switch(l){case"open":t||r("exiting");break;case"closed":case"exiting":t&&r("open");break}let i=l==="exiting";return o3(e,i,y.useCallback(()=>{r(s=>s==="exiting"?"closed":s)},[])),i}function o3(e,t,l){Ne(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){l();return}let r=e.current.getAnimations();if(r.length===0){l();return}let i=!1;return Promise.allSettled(r.map(s=>s.finished)).then(()=>{i||al.flushSync(()=>{l()})}),()=>{i=!0}}},[e,t,l])}const Jw=typeof Element<"u"&&"checkVisibility"in Element.prototype;function eE(e){const t=jt(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:l,visibility:r}=e.style,i=l!=="none"&&r!=="hidden"&&r!=="collapse";if(i){const{getComputedStyle:s}=jt(e);let{display:u,visibility:f}=s(e);i=u!=="none"&&f!=="hidden"&&f!=="collapse"}return i}function tE(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Fh(e,t){return Jw?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&eE(e)&&tE(e,t)&&(!e.parentElement||Fh(e.parentElement,e))}const Vh=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],nE=Vh.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Vh.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const lE=Vh.join(':not([hidden]):not([tabindex="-1"]),');function s3(e,t){return e.matches(nE)&&!c3(e)&&((t==null?void 0:t.skipVisibilityCheck)||Fh(e))}function _h(e){return e.matches(lE)&&Fh(e)&&!c3(e)}function c3(e){let t=e;for(;t!=null;){if(t instanceof jt(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function wb(e){let t=e==null?void 0:e.defaultView;return(t==null?void 0:t.__webpack_nonce__)||globalThis.__webpack_nonce__||void 0}let x0=new WeakMap;function u3(e){let t=e??(typeof document<"u"?document:void 0);if(!t)return wb(t);if(x0.has(t))return x0.get(t);let l=t.querySelector('meta[property="csp-nonce"]'),r=l&&l instanceof jt(l).HTMLMetaElement&&(l.nonce||l.content)||wb(t)||void 0;return r!==void 0&&x0.set(t,r),r}function Z0(e,t=-1/0,l=1/0){return Math.min(Math.max(e,t),l)}function aE(e,t){const{ref:l,render:r,...i}=t,s=y.useRef(null),u=y.useMemo(()=>ya(l,s),[l,s]);Ne(()=>{},[e,r]);const f={...i,ref:u};return r?r(f,void 0):E.jsx(e,{...f})}const Eb={},Ct=new Proxy({},{get(e,t){if(typeof t!="string")return;let l=Eb[t];return l||(l=aE.bind(null,t),Eb[t]=l),l}});var rE=Array.isArray,Eu=e=>{if(!e&&e!==0&&e!==0n)return"";if(typeof e=="string")return e;if(typeof e=="number")return e!==e?"":""+e;if(typeof e=="bigint")return""+e;let t="";if(rE(e)){const l=e.length;for(let r=0;r<l;r++){const i=e[r];if(!i&&i!==0&&i!==0n)continue;const s=typeof i=="string"?i:Eu(i);s&&(t&&(t+=" "),t+=s)}return t}if(typeof e=="object")for(const l in e)e[l]&&(t&&(t+=" "),t+=l);return t},iE=/\s+/g,Q0=Array.isArray,oE=e=>typeof e!="string"||!e?e:e.replace(iE," ").trim(),sE=e=>{const t=e.length;if(t===0)return!1;const l=e.charCodeAt(0),r=e.charCodeAt(t-1);if(l===32||r===32||l>=9&&l<=13||l===160||r>=9&&r<=13||r===160)return!0;for(let i=0;i<t;i++){const s=e.charCodeAt(i);if(s>=9&&s<=13||s===160||s===32&&i+1<t&&e.charCodeAt(i+1)===32)return!0}return!1},Lo=(...e)=>{const t=Eu(e);if(t)return sE(t)?oE(t):t},J0=e=>e===!1?"false":e===!0?"true":e===0?"0":e,Dn=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},f3=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;const l=e,r=t,i=Object.keys(l),s=Object.keys(r);if(i.length!==s.length)return!1;for(let u=0;u<i.length;u++){const f=i[u];if(!s.includes(f)||l[f]!==r[f])return!1}return!0},cE=(e,t)=>{const l=e;for(const r in t)if(Object.hasOwn(t,r)){const i=t[r];r in l?l[r]=Lo(l[r],i):l[r]=i}return e},d3=(e,t)=>{for(let l=0;l<e.length;l++){const r=e[l];Q0(r)?d3(r,t):r&&t.push(r)}},eh=(...e)=>{const t=[];d3(e,t);const l=[];for(let r=0;r<t.length;r++)t[r]&&l.push(t[r]);return l},Gh=(e,t)=>{const l=e,r=t,i={};for(const s in l){const u=l[s];if(s in r){const f=r[s];Q0(u)||Q0(f)?i[s]=eh(f,u):typeof u=="object"&&typeof f=="object"&&u&&f?i[s]=Gh(u,f):i[s]=f+" "+u}else i[s]=u}for(const s in r)s in l||(i[s]=r[s]);return i},uE={twMerge:!0,twMergeConfig:{}},fE=256,dE=128,tr=Symbol("tv-cache-miss"),hE=e=>(e==null?void 0:e.class)!=null&&e.class!==""||(e==null?void 0:e.className)!=null&&e.className!=="",Cb=e=>{if(e===void 0)return"";if(e===null)return"null";if(typeof e=="string")return e;if(typeof e=="boolean")return e?"true":"false";if(typeof e=="number")return e===0?"0":String(e);if(typeof e=="bigint")return String(e);const t=J0(e),l=typeof t;if(l==="string"||l==="number"||l==="boolean"||l==="bigint")return String(t);if(l==="object")try{return JSON.stringify(t)}catch{return null}return null},Zr=(e,t)=>{if(t===void 0)return e;if(t===null)return e+"null";const l=typeof t;if(l==="string"||l==="number"||l==="boolean"||l==="bigint")return e+String(t);if(Array.isArray(t))return e+t.join("\0");try{return e+JSON.stringify(t)}catch{return e+"?"}},h3=(e,t,l,r)=>{let i="";const s=Object.create(null);for(let f=0;f<e.length;f++){const d=e[f];s[d]=1;let h=t[d];l&&l[d]!==void 0&&(h=l[d]),r&&r[d]!==void 0&&(h=r[d]);const p=Cb(h);if(p===null)return null;i+=d+":"+p+";"}const u=[];for(const f in t)f==="class"||f==="className"||s[f]||(s[f]=1,u.push(f));if(l)for(const f in l)f==="class"||f==="className"||s[f]||l[f]===void 0||(s[f]=1,u.push(f));if(r)for(const f in r)f==="class"||f==="className"||s[f]||r[f]===void 0||(s[f]=1,u.push(f));u.length>1&&u.sort();for(let f=0;f<u.length;f++){const d=u[f];let h=t[d];l&&l[d]!==void 0&&(h=l[d]),r&&r[d]!==void 0&&(h=r[d]);const p=Cb(h);if(p===null)return null;i+=d+":"+p+";"}return i},m3=(e,t)=>{let l="";for(let r=0;r<e.length;r++){const{conditionKeys:i,source:s}=e[r];for(let u=0;u<i.length;u++){const f=i[u];l+=f+"=",l=Zr(l,s[f]),l+=","}l+="c=",l=Zr(l,s.class),l+="|cn=",l=Zr(l,s.className),l+=";"}for(let r=0;r<t.length;r++){const{conditionKeys:i,source:s}=t[r];for(let u=0;u<i.length;u++){const f=i[u];l+=f+"=",l=Zr(l,s[f]),l+=","}Array.isArray(s.slots)&&(l+="slots="+s.slots.join(",")+","),l+="c=",l=Zr(l,s.class),l+="|cn=",l=Zr(l,s.className),l+=";"}return l},p3=(e=fE)=>{let t=new Map,l=null;return{get(r){let i=t.get(r);return i!==void 0||t.has(r)?i:l&&(i=l.get(r),i!==void 0||l.has(r))?(t.set(r,i),i):tr},set(r,i){t.size>=e&&(l=t,t=new Map),t.set(r,i)}}},mE=(e=dE)=>{let t=new Map,l=null,r=0;return{get(i,s){const u=t.get(i);if(u){const f=u.get(s);if(f!==void 0||u.has(s))return f}if(l){const f=l.get(i);if(f){const d=f.get(s);if(d!==void 0||f.has(s)){let h=t.get(i);return h||(h=new Map,t.set(i,h)),h.has(s)||r++,h.set(s,d),d}}}return tr},set(i,s,u){r>=e&&(l=t,t=new Map,r=0);let f=t.get(i);f||(f=new Map,t.set(i,f)),f.has(s)||r++,f.set(s,u)}}},qh=(e,t)=>{let l=null;return(r,i)=>{if(!hE(i))return r;const s=i.class,u=i.className;if(s!=null&&s!==""&&typeof s!="string"||u!=null&&u!==""&&typeof u!="string")return e(t,r,s,u);l??(l=mE());const f=r??"",d=(typeof s=="string"?s:"")+"\0"+(typeof u=="string"?u:""),h=l.get(f,d);if(h!==tr)return h;const p=e(t,r,s,u);return l.set(f,d,p),p}};function pE(){let e=null,t={},l=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return l},set didTwMergeConfigChange(r){l=r},reset(){e=null,t={},l=!1}}}var Ut=pE(),gE=e=>{!Dn(e.twMergeConfig)&&!f3(e.twMergeConfig,Ut.cachedTwMergeConfig)&&(Ut.didTwMergeConfigChange=!0,Ut.cachedTwMergeConfig=e.twMergeConfig)},bE=(e,t)=>{const l=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[i];l.push({key:i,values:s,isEmpty:Dn(s)})}return l},vE=e=>{if(!Array.isArray(e)||e.length===0)return[];const t=[];for(let l=0;l<e.length;l++){const r=e[l],i=[];for(const s in r)s!=="class"&&s!=="className"&&i.push(s);t.push({conditionKeys:i,source:r})}return t},yE=e=>{if(!Array.isArray(e)||e.length===0)return[];const t=[];for(let l=0;l<e.length;l++){const r=e[l],i=[];for(const s in r)s!=="slots"&&s!=="class"&&s!=="className"&&i.push(s);t.push({conditionKeys:i,source:r})}return t},xE=e=>{const t={};for(let l=0;l<e.length;l++){const r=e[l],i=r.source.slots;if(Array.isArray(i))for(let s=0;s<i.length;s++){const u=i[s];t[u]||(t[u]=[]),t[u].push(r)}}return t},SE=(e,t)=>{const{extend:l=null,slots:r={},variants:i={},compoundVariants:s=[],compoundSlots:u=[],defaultVariants:f={}}=e,d={...uE,...t},h=e.slots!==void 0,p=l!=null&&l.base?Lo(l.base,e==null?void 0:e.base):e==null?void 0:e.base,b=l!=null&&l.variants&&!Dn(l.variants)?Gh(i,l.variants):i,v=l!=null&&l.defaultVariants&&!Dn(l.defaultVariants)?{...l.defaultVariants,...f}:f;gE(d);const w=!(l!=null&&l.slots)||Dn(l.slots),x=h?w&&(l!=null&&l.base)?Lo(e==null?void 0:e.base,l.base):typeof(e==null?void 0:e.base)=="string"||(e==null?void 0:e.base)==null?e.base:Lo(e.base):void 0,T=h?{base:x,...r}:{},C=w?T:cE({...l==null?void 0:l.slots},Dn(T)?{base:e==null?void 0:e.base}:T),N=!(l!=null&&l.compoundVariants)||Dn(l.compoundVariants)?s:eh(l==null?void 0:l.compoundVariants,s),M=!(l!=null&&l.compoundSlots)||Dn(l.compoundSlots)?u:eh(l==null?void 0:l.compoundSlots,u),L=Object.keys(b),k=N&&!Array.isArray(N)?new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof N}`):M&&!Array.isArray(M)?new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof M}`):null,B=h||!w?"slots":L.length===0?"plain":"variants";return{config:d,extend:l,base:p,variants:b,defaultVariants:v,slots:C,compoundVariants:N,compoundSlots:M,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:k,mode:B,slotKeys:null,variantKeys:L}},g3=e=>(e.compiledVariants!==null||(e.compiledVariants=bE(e.variants,e.variantKeys),e.compiledCompoundVariants=vE(e.compoundVariants),e.compiledCompoundSlots=yE(e.compoundSlots),e.compiledCompoundSlotsBySlot=xE(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots=="object"?Object.keys(e.slots):[]),e),th=[],b3=[],wE=[],EE=[],CE=[],v3=(e,t,l)=>{const r={};for(const i in e)r[i]=e[i];if(t)for(const i in t)t[i]!==void 0&&(r[i]=t[i]);if(l)for(const i in l)l[i]!==void 0&&(r[i]=l[i]);return r},Sc=e=>e==null||e===!1,TE=(e,t)=>{if(!Array.isArray(e))return e===t||Sc(e)&&Sc(t);for(let l=0;l<e.length;l++){const r=e[l];if(r===t||Sc(r)&&Sc(t))return!0}return!1},y3=(e,t,l,r)=>{if(e.isEmpty)return null;const i=(r==null?void 0:r[e.key])??(l==null?void 0:l[e.key]);if(i===null)return null;const s=J0(i);if(typeof s=="object")return null;const u=t==null?void 0:t[e.key],f=s??J0(u);return e.values[f||"false"]},Yh=(e,t)=>{const{conditionKeys:l,source:r}=e;for(let i=0;i<l.length;i++){const s=l[i];if(!TE(r[s],t[s]))return!1}return!0},Tb=(e,t,l)=>{typeof l=="string"?t==="base"&&e.push(l):l&&typeof l=="object"&&l[t]&&e.push(l[t])},RE=(e,t,l)=>{const r=b3;r.length=0;for(let i=0;i<e.length;i++){const s=y3(e[i],t,l);s&&r.push(s)}return r},ME=(e,t,l,r,i)=>{const s=b3;s.length=0;for(let u=0;u<t.length;u++){const f=y3(t[u],l,r,i),d=e==="base"&&typeof f=="string"?f:f&&f[e];d&&s.push(d)}return s},AE=(e,t)=>{const l=wE;l.length=0;for(let r=0;r<e.length;r++){const i=e[r];Yh(i,t)&&(i.source.class&&l.push(i.source.class),i.source.className&&l.push(i.source.className))}return l},LE=(e,t,l)=>{const r=EE;r.length=0;for(let i=0;i<t.length;i++){const s=t[i];Yh(s,l)&&(Tb(r,e,s.source.class),Tb(r,e,s.source.className))}return r},kE=(e,t)=>{const l=CE;l.length=0;for(let r=0;r<e.length;r++){const i=e[r];Yh(i,t)&&(i.source.class&&l.push(i.source.class),i.source.className&&l.push(i.source.className))}return l},NE=(e,t)=>{const{base:l,config:r}=e;let i=tr;const s=qh(t,r);return(u=>(i===tr&&(i=t(r,l)),s(i,u)))},DE=(e,t)=>{const{base:l,config:r,defaultVariants:i,deferredError:s,variantKeys:u}=e;let f=e.compiledCompoundVariants,d=e.compiledVariants,h=th,p=null;const b=qh(t,r);let v=1;const w=x=>{const T=f.length>0?AE(f,v3(i,x)):void 0;return t(r,l,RE(d,i,x),T)};return(x=>{if(s)throw s;(d===null||f===null)&&(g3(e),d=e.compiledVariants,f=e.compiledCompoundVariants,h=e.compiledCompoundSlots??th);let T;if(v>0)v--,T=w(x);else{p??(p=p3());const C=h3(u,i,x);if(C!==null){const N=f.length>0||h.length>0?m3(f,h):"",M=C+"#"+N,L=p.get(M);L!==tr?T=L:(T=w(x),p.set(M,T))}else T=w(x)}return b(T,x)})},$E=(e,t)=>{const{config:l,defaultVariants:r,deferredError:i,slots:s,variantKeys:u}=e;let f,d="",h=!1,p=1,b=null;return(v=>{if(i)throw i;if(b===null){(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&g3(e);const w=e.compiledVariants,x=e.compiledCompoundVariants,T=e.compiledCompoundSlots,C=e.compiledCompoundSlotsBySlot,N=e.slotKeys,M=x.length>0||T.length>0;let L=null;const k=qh(t,l),B={};for(let G=0;G<N.length;G++){const $=N[G],A=C[$]??th,U=(K,q)=>{const te=M?v3(r,K,q):void 0,ne=te?LE($,x,te):void 0,j=te?kE(A,te):void 0;return t(l,s[$],ME($,w,r,K,q),ne,j)};B[$]=K=>{const q=f;let te;if(!h)te=U(q,K);else{L??(L=p3());const ne=h3(u,r,q,K);if(ne!==null){const j=$+"|"+ne+"#"+d,Y=L.get(j);Y!==tr?te=Y:(te=U(q,K),L.set(j,te))}else te=U(q,K)}return k(te,K)}}b=B}if(f=v,p>0)p--,h=!1,d="";else{h=!0;const w=e.compiledCompoundVariants,x=e.compiledCompoundSlots;d=w&&x&&(w.length>0||x.length>0)?m3(w,x):""}return b})},zE=(e,t)=>{if(e.mode==="plain")return NE(e,t);let l;return(r=>(l??(l=e.mode==="slots"?$E(e,t):DE(e,t)),l(r)))},PE=(e,t)=>{e.variantKeys=t.variantKeys,e.extend=t.extend,e.base=t.base,e.slots=t.slots,e.variants=t.variants,e.defaultVariants=t.defaultVariants,e.compoundSlots=t.compoundSlots,e.compoundVariants=t.compoundVariants},OE=e=>{const t=(r,i)=>{const s=SE(r,i),u=zE(s,e);return PE(u,s),u};return{tv:t,createTV:r=>(i,s)=>t(i,s?Gh(r,s):r)}},jE=(e,t)=>{const l=e.length,r=t.length,i=new Array(l+r);for(let s=0;s<l;s++)i[s]=e[s];for(let s=0;s<r;s++)i[l+s]=t[s];return i},IE=(e,t)=>({classGroupId:e,validator:t}),x3=(e=new Map,t=null,l)=>({nextPart:e,validators:t,classGroupId:l}),Qc="-",Rb=[],BE="arbitrary..",HE=e=>{const t=UE(e),{conflictingClassGroups:l,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u[0]==="["&&u[u.length-1]==="]")return KE(u);const f=u.split(Qc),d=f[0]===""&&f.length>1?1:0;return S3(f,d,t)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=r[u],h=l[u];return d?h?jE(h,d):d:h||Rb}return l[u]||Rb}}},S3=(e,t,l)=>{if(e.length-t===0)return l.classGroupId;const i=e[t],s=l.nextPart.get(i);if(s){const h=S3(e,t+1,s);if(h)return h}const u=l.validators;if(u===null)return;const f=t===0?e.join(Qc):e.slice(t).join(Qc),d=u.length;for(let h=0;h<d;h++){const p=u[h];if(p.validator(f))return p.classGroupId}},KE=e=>{const t=e.slice(1,-1),l=t.indexOf(":");if(l===-1)return;const r=t.slice(0,l);return r?BE+r:void 0},UE=e=>{const{theme:t,classGroups:l}=e;return FE(l,t)},FE=(e,t)=>{const l=x3();for(const r in e){const i=e[r];Xh(i,l,r,t)}return l},Xh=(e,t,l,r)=>{const i=e.length;for(let s=0;s<i;s++){const u=e[s];VE(u,t,l,r)}},VE=(e,t,l,r)=>{if(typeof e=="string"){_E(e,t,l);return}if(typeof e=="function"){GE(e,t,l,r);return}qE(e,t,l,r)},_E=(e,t,l)=>{const r=e===""?t:w3(t,e);r.classGroupId=l},GE=(e,t,l,r)=>{if(YE(e)){Xh(e(r),t,l,r);return}t.validators===null&&(t.validators=[]),t.validators.push(IE(l,e))},qE=(e,t,l,r)=>{const i=Object.entries(e),s=i.length;for(let u=0;u<s;u++){const[f,d]=i[u];Xh(d,w3(t,f),l,r)}},w3=(e,t)=>{let l=e;const r=t.split(Qc),i=r.length;for(let s=0;s<i;s++){const u=r[s];let f=l.nextPart.get(u);f||(f=x3(),l.nextPart.set(u,f)),l=f}return l},YE=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,XE="!",WE=58,ZE=47,QE=91,JE=93,eC=40,tC=41,Mb=33,nC=(e,t,l,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:l,maybePostfixModifierPosition:r,isExternal:void 0}),Ab=e=>{const t=[];let l=0,r=0,i=0,s;const u=e.length;for(let v=0;v<u;v++){const w=e.charCodeAt(v);if(l===0&&r===0){if(w===WE){t.push(e.slice(i,v)),i=v+1;continue}if(w===ZE){s=v;continue}}w===QE?l++:w===JE?l--:w===eC?r++:w===tC&&r--}const f=t.length===0?e:e.slice(i);let d=f,h=!1;const p=f.length-1;f.charCodeAt(p)===Mb?(d=f.slice(0,-1),h=!0):f.charCodeAt(0)===Mb&&(d=f.slice(1),h=!0);const b=s&&s>i?s-i:void 0;return nC(t,h,d,b)},lC=e=>{const t=new Set(e.orderSensitiveModifiers);return l=>{const r=[];let i=[];for(let s=0;s<l.length;s++){const u=l[s],f=u[0]==="[",d=t.has(u);if(f||d){if(i.length>0){i.sort();for(let h=0;h<i.length;h++)r.push(i[h]);i=[]}r.push(u)}else i.push(u)}if(i.length>0){i.sort();for(let s=0;s<i.length;s++)r.push(i[s])}return r}},S0={isExternal:!0,classId:-1,conflictIds:[]},aC=4096,rC=16384,iC=e=>{const t=lC(e),l=oC(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=HE(e);let s=Object.create(null),u=Object.create(null),f=0,d=new Int32Array(256),h=0,p=new Uint8Array(64),b=!1;const v=L=>{const k=[],B=L.length;let G=-1;b=!1;for(let $=0;$<B;$++){const A=L.charCodeAt($);A===32?G!==-1&&(k.push(L.slice(G,$)),G=-1):A>=9&&A<=13?(b=!0,G!==-1&&(k.push(L.slice(G,$)),G=-1)):G===-1&&(G=$)}return G!==-1&&k.push(L.slice(G)),k},w=new Map;let x=0;const T=L=>{let k=w.get(L);if(k===void 0&&(k=x++,w.set(L,k),k>=d.length)){const B=new Int32Array(d.length*2);B.set(d),d=B}return k},C=L=>{const{isExternal:k,modifiers:B,hasImportantModifier:G,baseClassName:$,maybePostfixModifierPosition:A}=Ab(L);if(k)return S0;let U=!!A,K;if(U){const Y=$.substring(0,A);K=r(Y);const z=K&&l[K]?r($):void 0;z&&z!==K&&(K=z,U=!1)}else K=r($);if(!K){if(!U||(K=r($),!K))return S0;U=!1}const q=B.length===0?"":B.length===1?B[0]:t(B).join(":"),te=G?q+XE:q,ne=i(K,U),j=[];for(let Y=0;Y<ne.length;Y++)j.push(T(te+ne[Y]));return{isExternal:!1,classId:T(te+K),conflictIds:j}},N=L=>{let k=s[L];return k!==void 0||(k=u[L],k===void 0&&(k=C(L)),s[L]=k,++f>aC&&(f=0,u=s,s=Object.create(null))),k};return{parseClassName:Ab,sortModifiers:t,postfixLookupClassGroupIds:l,getClassGroupId:r,getConflictingClassGroupIds:i,getClassDescriptor:N,mergeClassList:L=>{const k=v(L),B=k.length;if(B===1)return k[0];x>rC&&(w.clear(),x=0,s=Object.create(null),u=Object.create(null),f=0),h=h+1|0,h===0&&(h=1);const G=h;if(B>p.length){let K=p.length;for(;K<B;)K*=2;p=new Uint8Array(K)}let $=!1,A=0;for(let K=B-1;K>=0;K-=1){const q=k[K];A+=q.length;const te=N(q);if(te.isExternal){p[K]=1;continue}const ne=te.classId;if(d[ne]===G){p[K]=0,$=!0;continue}d[ne]=G;const j=te.conflictIds;for(let Y=0;Y<j.length;Y++)d[j[Y]]=G;p[K]=1}if(!$&&!b&&L.length===A+B-1)return L;let U="";for(let K=0;K<B;K++)p[K]===1&&(U&&(U+=" "),U+=k[K]);return U}}},oC=e=>{const t=Object.create(null),l=e.postfixLookupClassGroups;if(l)for(let r=0;r<l.length;r++)t[l[r]]=!0;return t},sC=500,Lb=e=>{let t,l,r=Object.create(null),i=Object.create(null),s=0;const u=h=>(t=iC(e()),l=t.mergeClassList,d.mergeString=f,f(h)),f=h=>{let p=r[h];return p!==void 0||(p=i[h],p===void 0&&(p=l(h)),r[h]=p,++s>sC&&(s=0,i=r,r=Object.create(null))),p},d=(...h)=>d.mergeString(Eu(h));return d.mergeString=u,d},cC=[],wt=e=>{const t=l=>l[e]||cC;return t.isThemeGetter=!0,t},E3=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,C3=/^\((?:(\w[\w-]*):)?(.+)\)$/i,uC=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,fC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dC=/\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$/,hC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,mC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T3=Number,gC=Number.isNaN,bC=Number.isInteger,aa=e=>uC.test(e),Le=e=>!!e&&!gC(T3(e)),Zn=e=>!!e&&bC(T3(e)),w0=e=>e.endsWith("%")&&Le(e.slice(0,-1)),El=e=>fC.test(e),R3=()=>!0,vC=e=>dC.test(e)&&!hC.test(e),Wh=()=>!1,yC=e=>mC.test(e),xC=e=>pC.test(e),SC=e=>!he(e)&&!pe(e),wC=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),EC=e=>xa(e,L3,Wh),he=e=>E3.test(e),Fa=e=>xa(e,k3,vC),kb=e=>xa(e,NC,Le),CC=e=>xa(e,D3,R3),TC=e=>xa(e,N3,Wh),Nb=e=>xa(e,M3,Wh),RC=e=>xa(e,A3,xC),wc=e=>xa(e,$3,yC),pe=e=>C3.test(e),xo=e=>or(e,k3),MC=e=>or(e,N3),Db=e=>or(e,M3),AC=e=>or(e,L3),LC=e=>or(e,A3),Ec=e=>or(e,$3,!0),kC=e=>or(e,D3,!0),xa=(e,t,l)=>{const r=E3.exec(e);return r?r[1]?t(r[1]):l(r[2]):!1},or=(e,t,l=!1)=>{const r=C3.exec(e);return r?r[1]?t(r[1]):l:!1},M3=e=>e==="position"||e==="percentage",A3=e=>e==="image"||e==="url",L3=e=>e==="length"||e==="size"||e==="bg-size",k3=e=>e==="length",NC=e=>e==="number",N3=e=>e==="family-name",D3=e=>e==="number"||e==="weight",$3=e=>e==="shadow",E0=()=>{const e=wt("color"),t=wt("font"),l=wt("text"),r=wt("font-weight"),i=wt("tracking"),s=wt("leading"),u=wt("breakpoint"),f=wt("container"),d=wt("spacing"),h=wt("radius"),p=wt("shadow"),b=wt("inset-shadow"),v=wt("text-shadow"),w=wt("drop-shadow"),x=wt("blur"),T=wt("perspective"),C=wt("aspect"),N=wt("ease"),M=wt("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...k(),pe,he],G=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],A=()=>[pe,he,d],U=()=>[aa,"full","auto",...A()],K=()=>[Zn,"none","subgrid",pe,he],q=()=>["auto",{span:["full",Zn,pe,he]},Zn,pe,he],te=()=>[Zn,"auto",pe,he],ne=()=>["auto","min","max","fr",pe,he],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Y=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...A()],O=()=>[aa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],oe=()=>[aa,"screen","full","dvw","lvw","svw","min","max","fit",...A()],J=()=>[aa,"screen","full","lh","dvh","lvh","svh","min","max","fit",...A()],_=()=>[e,pe,he],D=()=>[...k(),Db,Nb,{position:[pe,he]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",AC,EC,{size:[pe,he]}],ce=()=>[w0,xo,Fa],H=()=>["","none","full",h,pe,he],ie=()=>["",Le,xo,Fa],xe=()=>["solid","dashed","dotted","double"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>[Le,w0,Db,Nb],Lt=()=>["","none",x,pe,he],it=()=>["none",Le,pe,he],ue=()=>["none",Le,pe,he],fe=()=>[Le,pe,he],Ee=()=>[aa,"full",...A()];return{theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[El],breakpoint:[El],color:[R3],container:[El],"drop-shadow":[El],ease:["in","out","in-out"],font:[SC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[El],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[El],shadow:[El],spacing:["px",Le],text:[El],"text-shadow":[El],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",aa,he,pe,C]}],container:["container"],"container-type":[{"@container":["","normal","size",pe,he]}],"container-named":[wC],columns:[{columns:[Le,he,pe,f]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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"],sr:["sr-only","not-sr-only"],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:B()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:U()}],"inset-x":[{"inset-x":U()}],"inset-y":[{"inset-y":U()}],start:[{"inset-s":U(),start:U()}],end:[{"inset-e":U(),end:U()}],"inset-bs":[{"inset-bs":U()}],"inset-be":[{"inset-be":U()}],top:[{top:U()}],right:[{right:U()}],bottom:[{bottom:U()}],left:[{left:U()}],visibility:["visible","invisible","collapse"],z:[{z:[Zn,"auto",pe,he]}],basis:[{basis:[aa,"full","auto",f,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Le,aa,"auto","initial","none",he]}],grow:[{grow:["",Le,pe,he]}],shrink:[{shrink:["",Le,pe,he]}],order:[{order:[Zn,"first","last","none",pe,he]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...Y(),"normal"]}],"justify-self":[{"justify-self":["auto",...Y()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...Y(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Y(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...Y(),"baseline"]}],"place-self":[{"place-self":["auto",...Y()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pbs:[{pbs:A()}],pbe:[{pbe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...oe()]}],"min-inline-size":[{"min-inline":["auto",...oe()]}],"max-inline-size":[{"max-inline":["none",...oe()]}],"block-size":[{block:["auto",...J()]}],"min-block-size":[{"min-block":["auto",...J()]}],"max-block-size":[{"max-block":["none",...J()]}],w:[{w:[f,"screen",...O()]}],"min-w":[{"min-w":[f,"screen","none",...O()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[u]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",l,xo,Fa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,kC,CC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",w0,he]}],"font-family":[{font:[MC,TC,t]}],"font-features":[{"font-features":[he]}],"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:[i,pe,he]}],"line-clamp":[{"line-clamp":[Le,"none",pe,kb]}],leading:[{leading:[s,...A()]}],"list-image":[{"list-image":["none",pe,he]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",pe,he]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:_()}],"text-color":[{text:_()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Le,"from-font","auto",pe,Fa]}],"text-decoration-color":[{decoration:_()}],"underline-offset":[{"underline-offset":[Le,"auto",pe,he]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"tab-size":[{tab:[Zn,pe,he]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pe,he]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",pe,he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:se()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Zn,pe,he],radial:["",pe,he],conic:[Zn,pe,he]},LC,RC]}],"bg-color":[{bg:_()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:_()}],"gradient-via":[{via:_()}],"gradient-to":[{to:_()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:_()}],"border-color-x":[{"border-x":_()}],"border-color-y":[{"border-y":_()}],"border-color-s":[{"border-s":_()}],"border-color-e":[{"border-e":_()}],"border-color-bs":[{"border-bs":_()}],"border-color-be":[{"border-be":_()}],"border-color-t":[{"border-t":_()}],"border-color-r":[{"border-r":_()}],"border-color-b":[{"border-b":_()}],"border-color-l":[{"border-l":_()}],"divide-color":[{divide:_()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Le,pe,he]}],"outline-w":[{outline:["",Le,xo,Fa]}],"outline-color":[{outline:_()}],shadow:[{shadow:["","none",p,Ec,wc]}],"shadow-color":[{shadow:_()}],"inset-shadow":[{"inset-shadow":["none",b,Ec,wc]}],"inset-shadow-color":[{"inset-shadow":_()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:_()}],"ring-offset-w":[{"ring-offset":[Le,Fa]}],"ring-offset-color":[{"ring-offset":_()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":_()}],"text-shadow":[{"text-shadow":["none",v,Ec,wc]}],"text-shadow-color":[{"text-shadow":_()}],opacity:[{opacity:[Le,pe,he]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Le]}],"mask-image-linear-from-pos":[{"mask-linear-from":de()}],"mask-image-linear-to-pos":[{"mask-linear-to":de()}],"mask-image-linear-from-color":[{"mask-linear-from":_()}],"mask-image-linear-to-color":[{"mask-linear-to":_()}],"mask-image-t-from-pos":[{"mask-t-from":de()}],"mask-image-t-to-pos":[{"mask-t-to":de()}],"mask-image-t-from-color":[{"mask-t-from":_()}],"mask-image-t-to-color":[{"mask-t-to":_()}],"mask-image-r-from-pos":[{"mask-r-from":de()}],"mask-image-r-to-pos":[{"mask-r-to":de()}],"mask-image-r-from-color":[{"mask-r-from":_()}],"mask-image-r-to-color":[{"mask-r-to":_()}],"mask-image-b-from-pos":[{"mask-b-from":de()}],"mask-image-b-to-pos":[{"mask-b-to":de()}],"mask-image-b-from-color":[{"mask-b-from":_()}],"mask-image-b-to-color":[{"mask-b-to":_()}],"mask-image-l-from-pos":[{"mask-l-from":de()}],"mask-image-l-to-pos":[{"mask-l-to":de()}],"mask-image-l-from-color":[{"mask-l-from":_()}],"mask-image-l-to-color":[{"mask-l-to":_()}],"mask-image-x-from-pos":[{"mask-x-from":de()}],"mask-image-x-to-pos":[{"mask-x-to":de()}],"mask-image-x-from-color":[{"mask-x-from":_()}],"mask-image-x-to-color":[{"mask-x-to":_()}],"mask-image-y-from-pos":[{"mask-y-from":de()}],"mask-image-y-to-pos":[{"mask-y-to":de()}],"mask-image-y-from-color":[{"mask-y-from":_()}],"mask-image-y-to-color":[{"mask-y-to":_()}],"mask-image-radial":[{"mask-radial":[pe,he]}],"mask-image-radial-from-pos":[{"mask-radial-from":de()}],"mask-image-radial-to-pos":[{"mask-radial-to":de()}],"mask-image-radial-from-color":[{"mask-radial-from":_()}],"mask-image-radial-to-color":[{"mask-radial-to":_()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[Le]}],"mask-image-conic-from-pos":[{"mask-conic-from":de()}],"mask-image-conic-to-pos":[{"mask-conic-to":de()}],"mask-image-conic-from-color":[{"mask-conic-from":_()}],"mask-image-conic-to-color":[{"mask-conic-to":_()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",pe,he]}],filter:[{filter:["","none",pe,he]}],blur:[{blur:Lt()}],brightness:[{brightness:[Le,pe,he]}],contrast:[{contrast:[Le,pe,he]}],"drop-shadow":[{"drop-shadow":["","none",w,Ec,wc]}],"drop-shadow-color":[{"drop-shadow":_()}],grayscale:[{grayscale:["",Le,pe,he]}],"hue-rotate":[{"hue-rotate":[Le,pe,he]}],invert:[{invert:["",Le,pe,he]}],saturate:[{saturate:[Le,pe,he]}],sepia:[{sepia:["",Le,pe,he]}],"backdrop-filter":[{"backdrop-filter":["","none",pe,he]}],"backdrop-blur":[{"backdrop-blur":Lt()}],"backdrop-brightness":[{"backdrop-brightness":[Le,pe,he]}],"backdrop-contrast":[{"backdrop-contrast":[Le,pe,he]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Le,pe,he]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Le,pe,he]}],"backdrop-invert":[{"backdrop-invert":["",Le,pe,he]}],"backdrop-opacity":[{"backdrop-opacity":[Le,pe,he]}],"backdrop-saturate":[{"backdrop-saturate":[Le,pe,he]}],"backdrop-sepia":[{"backdrop-sepia":["",Le,pe,he]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",pe,he]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Le,"initial",pe,he]}],ease:[{ease:["linear","initial",N,pe,he]}],delay:[{delay:[Le,pe,he]}],animate:[{animate:["none",M,pe,he]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,pe,he]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:it()}],"rotate-x":[{"rotate-x":it()}],"rotate-y":[{"rotate-y":it()}],"rotate-z":[{"rotate-z":it()}],scale:[{scale:ue()}],"scale-x":[{"scale-x":ue()}],"scale-y":[{"scale-y":ue()}],"scale-z":[{"scale-z":ue()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[pe,he,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ee()}],"translate-x":[{"translate-x":Ee()}],"translate-y":[{"translate-y":Ee()}],"translate-z":[{"translate-z":Ee()}],"translate-none":["translate-none"],zoom:[{zoom:[Zn,pe,he]}],accent:[{accent:_()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:_()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",pe,he]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":_()}],"scrollbar-track-color":[{"scrollbar-track":_()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mbs":[{"scroll-mbs":A()}],"scroll-mbe":[{"scroll-mbe":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pbs":[{"scroll-pbs":A()}],"scroll-pbe":[{"scroll-pbe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",pe,he]}],fill:[{fill:["none",..._()]}],"stroke-w":[{stroke:[Le,xo,Fa,kb]}],stroke:[{stroke:["none",..._()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","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-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},DC=(e,{extend:t={},override:l={}})=>(Cc(e.theme,l.theme),Cc(e.classGroups,l.classGroups),Cc(e.conflictingClassGroups,l.conflictingClassGroups),Cc(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),nh(e,"postfixLookupClassGroups",l.postfixLookupClassGroups),nh(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Tc(e.theme,t.theme),Tc(e.classGroups,t.classGroups),Tc(e.conflictingClassGroups,t.conflictingClassGroups),Tc(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),lh(e,t,"postfixLookupClassGroups"),lh(e,t,"orderSensitiveModifiers"),e),nh=(e,t,l)=>{l!==void 0&&(e[t]=l)},Cc=(e,t)=>{if(t)for(const l in t)nh(e,l,t[l])},Tc=(e,t)=>{if(t)for(const l in t)lh(e,t,l)},lh=(e,t,l)=>{const r=t[l];r!==void 0&&(e[l]=e[l]?e[l].concat(r):r)},z3=e=>Lb(e?typeof e=="function"?()=>e(E0()):()=>DC(E0(),e):E0),$C=e=>{if(Dn(e))return;const t=e,l={...t.extend??{}};for(const i of["theme","classGroups","conflictingClassGroups","conflictingClassGroupModifiers","postfixLookupClassGroups","orderSensitiveModifiers","cacheSize","prefix","separator","experimentalParseClassName"])t[i]!==void 0&&l[i]===void 0&&(l[i]=t[i]);const r={};if(Object.keys(l).length>0&&(r.extend=l),t.override!=null&&!Dn(t.override)&&(r.override=t.override),!(!r.extend&&!r.override))return r},zC=e=>{const t=$C(e),l=z3(t);return r=>l.mergeString(r)},Kc,PC=()=>(Kc||(Kc=z3()),Kc),OC=()=>((!Ut.cachedTwMerge||Ut.didTwMergeConfigChange)&&(Ut.didTwMergeConfigChange=!1,Ut.cachedTwMerge=zC(Ut.cachedTwMergeConfig)),Ut.cachedTwMerge),jC=e=>{const t=e==null?void 0:e.twMergeConfig;!t||Dn(t)||f3(t,Ut.cachedTwMergeConfig)||(Ut.cachedTwMergeConfig=t,Ut.didTwMergeConfigChange=!0)},IC=e=>Eu(e),BC=Ut.reset.bind(Ut);Ut.reset=()=>{Kc=void 0,BC()};var HC=(e,t)=>{const l=IC(e);return!l||!((t==null?void 0:t.twMerge)??!0)?l||void 0:l.indexOf(" ")===-1?l:(jC(t),(!!(t!=null&&t.twMergeConfig&&!Dn(t.twMergeConfig))?OC():PC().mergeString)(l)||void 0)},KC=(e,...t)=>HC(t,e),UC=OE(KC),vn=UC.tv,FC=Lo;const VC=vn({defaultVariants:{status:"default"},slots:{base:"alert",content:"alert__content",description:"alert__description",indicator:"alert__indicator",title:"alert__title"},variants:{status:{accent:{base:"alert--accent"},danger:{base:"alert--danger"},default:{base:"alert--default"},success:{base:"alert--success"},warning:{base:"alert--warning"}}}}),_C=vn({defaultVariants:{color:"default",size:"md"},slots:{base:"avatar",fallback:"avatar__fallback",image:"avatar__image"},variants:{color:{accent:{fallback:"avatar__fallback--accent"},danger:{fallback:"avatar__fallback--danger"},default:{fallback:"avatar__fallback--default"},success:{fallback:"avatar__fallback--success"},warning:{fallback:"avatar__fallback--warning"}},size:{lg:{base:"avatar--lg"},md:{base:"avatar--md"},sm:{base:"avatar--sm"}},variant:{default:{},soft:{base:"avatar--soft"}}}}),GC=vn({base:"button",defaultVariants:{fullWidth:!1,isIconOnly:!1,size:"md",variant:"primary"},variants:{fullWidth:{false:"",true:"button--full-width"},isIconOnly:{true:"button--icon-only"},size:{lg:"button--lg",md:"button--md",sm:"button--sm"},variant:{danger:"button--danger","danger-soft":"button--danger-soft",ghost:"button--ghost",outline:"button--outline",primary:"button--primary",secondary:"button--secondary",tertiary:"button--tertiary"}}}),qC=vn({defaultVariants:{fullWidth:!1,orientation:"horizontal"},slots:{base:"button-group",separator:"button-group__separator"},variants:{fullWidth:{false:{},true:{base:"button-group--full-width"}},orientation:{horizontal:{base:"button-group--horizontal"},vertical:{base:"button-group--vertical"}}}}),YC=vn({defaultVariants:{variant:"primary"},slots:{base:"checkbox",content:"checkbox__content",control:"checkbox__control",indicator:"checkbox__indicator"},variants:{variant:{primary:{base:"checkbox--primary"},secondary:{base:"checkbox--secondary"}}}}),XC=vn({base:"close-button",defaultVariants:{variant:"default"},variants:{variant:{default:"close-button--default"}}}),WC=vn({slots:{base:"link",icon:"link__icon"}}),Zh=vn({defaultVariants:{scroll:"inside",size:"md",variant:"opaque"},slots:{backdrop:"modal__backdrop",body:"modal__body",closeTrigger:"modal__close-trigger",container:"modal__container",dialog:"modal__dialog",footer:"modal__footer",header:"modal__header",heading:"modal__heading",icon:"modal__icon",trigger:"modal__trigger"},variants:{scroll:{inside:{body:"modal__body--scroll-inside",dialog:"modal__dialog--scroll-inside"},outside:{body:"modal__body--scroll-outside",container:"modal__container--scroll-outside",dialog:"modal__dialog--scroll-outside"}},size:{cover:{dialog:"modal__dialog--cover"},full:{container:"modal__container--full",dialog:"modal__dialog--full"},lg:{dialog:"modal__dialog--lg"},md:{dialog:"modal__dialog--md"},sm:{dialog:"modal__dialog--sm"},xs:{dialog:"modal__dialog--xs"}},variant:{blur:{backdrop:"modal__backdrop--blur"},opaque:{backdrop:"modal__backdrop--opaque"},transparent:{backdrop:"modal__backdrop--transparent"}}}}),ZC=vn({defaultVariants:{hideScrollBar:!1,orientation:"vertical",variant:"fade"},slots:{base:"scroll-shadow"},variants:{hideScrollBar:{false:{},true:{base:"scroll-shadow--hide-scrollbar"}},orientation:{horizontal:{base:"scroll-shadow--horizontal"},vertical:{base:"scroll-shadow--vertical"}},variant:{fade:{base:"scroll-shadow--fade"}}}}),QC=vn({base:"spinner",defaultVariants:{color:"accent",size:"md"},variants:{color:{accent:"spinner--accent",current:"spinner--current",danger:"spinner--danger",success:"spinner--success",warning:"spinner--warning"},size:{lg:"spinner--lg",md:"spinner--md",sm:"spinner--sm",xl:"spinner--xl"}}}),JC=vn({base:"surface",defaultVariants:{variant:"default"},variants:{variant:{default:"surface--default",secondary:"surface--secondary",tertiary:"surface--tertiary",transparent:"surface--transparent"}}}),eT=vn({defaultVariants:{variant:"primary"},slots:{base:"tabs",scrollNext:"tabs__list-container__scroll-next",scrollPrev:"tabs__list-container__scroll-prev",scroller:"tabs__list-container__scroller",separator:"tabs__separator",tab:"tabs__tab",tabIndicator:"tabs__indicator",tabList:"tabs__list",tabListContainer:"tabs__list-container",tabPanel:"tabs__panel"},variants:{variant:{primary:{},secondary:{base:"tabs--secondary"}}}}),tT=vn({defaultVariants:{placement:"bottom",variant:"default"},slots:{action:"toast__action",close:"toast__close-button",content:"toast__content",description:"toast__description",indicator:"toast__indicator",region:"toast-region",title:"toast__title",toast:"toast"},variants:{placement:{bottom:{region:"toast-region--bottom",toast:"toast--bottom"},"bottom end":{region:"toast-region--bottom-end",toast:"toast--bottom-end"},"bottom start":{region:"toast-region--bottom-start",toast:"toast--bottom-start"},top:{region:"toast-region--top",toast:"toast--top"},"top end":{region:"toast-region--top-end",toast:"toast--top-end"},"top start":{region:"toast-region--top-start",toast:"toast--top-start"}},variant:{accent:{toast:"toast--accent"},danger:{toast:"toast--danger"},default:{toast:"toast--default"},success:{toast:"toast--success"},warning:{toast:"toast--warning"}}}}),fi=Symbol("default");function sr({values:e,children:t}){for(let[l,r]of e)t=V.createElement(l.Provider,{value:r},t);return t}function At(e){let{className:t,style:l,children:r,defaultClassName:i,defaultChildren:s,defaultStyle:u,values:f,render:d}=e;return y.useMemo(()=>{let h,p,b;return typeof t=="function"?h=t({...f,defaultClassName:i}):h=t,typeof l=="function"?p=l({...f,defaultStyle:u||{}}):p=l,typeof r=="function"?b=r({...f,defaultChildren:s}):r==null?b=s:b=r,{className:h??i,style:p||u?{...u,...p}:void 0,children:b??s,"data-rac":"",render:d?v=>d(v,f):void 0}},[t,l,r,i,s,u,f,d])}function nT(e,t){return l=>t(typeof e=="function"?e(l):e,l)}function Cu(e,t){let l=y.useContext(e);if(t===null)return null;if(l&&typeof l=="object"&&"slots"in l&&l.slots){let r=t||fi;if(!l.slots[r]){let i=new Intl.ListFormat().format(Object.keys(l.slots).map(u=>`"${u}"`)),s=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${s} Valid slot names are ${i}.`)}return l.slots[r]}return l}function yn(e,t,l){let r=Cu(l,e.slot)||{},{ref:i,...s}=r,u=bn(y.useMemo(()=>ya(t,i),[t,i])),f=Ce(s,e);return"style"in s&&s.style&&"style"in e&&e.style&&(typeof s.style=="function"||typeof e.style=="function"?f.style=d=>{let h=typeof s.style=="function"?s.style(d):s.style,p={...d.defaultStyle,...h},b=typeof e.style=="function"?e.style({...d,defaultStyle:p}):e.style;return{...p,...b}}:f.style={...s.style,...e.style}),[f,u]}function pz(e=!0){let[t,l]=y.useState(e),r=y.useRef(!1),i=y.useCallback(s=>{r.current=!0,l(!!s)},[]);return Ne(()=>{r.current||l(!1)},[]),[i,t]}function lT(e){const t=/^(data-.*)$/;let l={};for(const r in e)t.test(r)||(l[r]=e[r]);return l}function aT(e,t,l){let{render:r,...i}=t,s=y.useRef(null),u=y.useMemo(()=>ya(l,s),[l,s]);Ne(()=>{},[e,r]);let f={...i,ref:u};return r?r(f,void 0):V.createElement(e,f)}const $b={},ut=new Proxy({},{get(e,t){if(typeof t!="string")return;let l=$b[t];return l||(l=y.forwardRef(aT.bind(null,t)),$b[t]=l),l}});typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));const Jc=y.createContext(!1);function rT(e){if(y.useContext(Jc))return V.createElement(V.Fragment,null,e.children);let l=V.createElement(Jc.Provider,{value:!0},e.children);return V.createElement("template",null,l)}function P3(e){let t=(l,r)=>y.useContext(Jc)?null:e(l,r);return t.displayName=e.displayName||e.name,y.forwardRef(t)}function iT(){return y.useContext(Jc)}const oT=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),sT=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function cT(e){if(Intl.Locale){let l=new Intl.Locale(e).maximize(),r=typeof l.getTextInfo=="function"?l.getTextInfo():l.textInfo;if(r)return r.direction==="rtl";if(l.script)return oT.has(l.script)}let t=e.split("-")[0];return sT.has(t)}const O3=Symbol.for("react-aria.i18n.locale");function j3(){let e=typeof window<"u"&&window[O3]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:cT(e)?"rtl":"ltr"}}let ah=j3(),Ro=new Set;function zb(){ah=j3();for(let e of Ro)e(ah)}function uT(){let e=Nl(),[t,l]=y.useState(ah);return y.useEffect(()=>(Ro.size===0&&window.addEventListener("languagechange",zb),Ro.add(l),()=>{Ro.delete(l),Ro.size===0&&window.removeEventListener("languagechange",zb)}),[]),e?{locale:typeof window<"u"&&window[O3]||"en-US",direction:"ltr"}:t}const fT=V.createContext(null);function bi(){let e=uT();return y.useContext(fT)||e}const dT=y.createContext(null),I3=7e3;let Qn=null;function Pb(e,t="assertive",l=I3){Qn?Qn.announce(e,t,l):(Qn=new hT,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Qn.announce(e,t,l):setTimeout(()=>{Qn!=null&&Qn.isAttached()&&(Qn==null||Qn.announce(e,t,l))},100))}class hT{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){var t;return(t=this.node)==null?void 0:t.isConnected}createLog(t){let l=document.createElement("div");return l.setAttribute("role","log"),l.setAttribute("aria-live",t),l.setAttribute("aria-relevant","additions"),l}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,l="assertive",r=I3){var s,u;if(!this.node)return;let i=document.createElement("div");typeof t=="object"?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",t["aria-labelledby"])):i.textContent=t,l==="assertive"?(s=this.assertiveLog)==null||s.appendChild(i):(u=this.politeLog)==null||u.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},r)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}}function Qh(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function B3(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function H3(e){let t=y.useRef({isFocused:!1,observer:null});return Ne(()=>{const l=t.current;return()=>{l.observer&&(l.observer.disconnect(),l.observer=null)}},[]),y.useCallback(l=>{let r=ve(l);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let i=r,s=u=>{if(t.current.isFocused=!1,i.disabled){let f=Qh(u);e==null||e(f)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",s,{once:!0}),t.current.observer=new MutationObserver(()=>{var u;if(t.current.isFocused&&i.disabled){(u=t.current.observer)==null||u.disconnect();let f=i===et()?null:et();i.dispatchEvent(new FocusEvent("blur",{relatedTarget:f})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:f}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let eu=!1;function mT(e){for(;e&&!s3(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=jt(e),l=t.document.activeElement;if(!l||l===e)return;eu=!0;let r=!1,i=p=>{(ve(p)===l||r)&&p.stopImmediatePropagation()},s=p=>{(ve(p)===l||r)&&(p.stopImmediatePropagation(),!e&&!r&&(r=!0,en(l),d()))},u=p=>{(ve(p)===e||r)&&p.stopImmediatePropagation()},f=p=>{(ve(p)===e||r)&&(p.stopImmediatePropagation(),r||(r=!0,en(l),d()))};t.addEventListener("blur",i,!0),t.addEventListener("focusout",s,!0),t.addEventListener("focusin",f,!0),t.addEventListener("focus",u,!0);let d=()=>{cancelAnimationFrame(h),t.removeEventListener("blur",i,!0),t.removeEventListener("focusout",s,!0),t.removeEventListener("focusin",f,!0),t.removeEventListener("focus",u,!0),eu=!1,r=!1},h=requestAnimationFrame(d);return d}let Ll=null;const Io=new Set;let ko=new Map,nr=!1,rh=!1;const pT={Tab:!0,Escape:!0};function Tu(e,t){for(let l of Io)l(e,t)}function gT(e){return!(e.metaKey||!Vn()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function tu(e){nr=!0,!Al.isOpening&&gT(e)&&(Ll="keyboard",Tu("keyboard",e))}function di(e){Ll="pointer","pointerType"in e&&e.pointerType,(e.type==="mousedown"||e.type==="pointerdown")&&(nr=!0,Tu("pointer",e))}function K3(e){!Al.isOpening&&i3(e)&&(nr=!0,Ll="virtual")}function U3(e){let t=jt(ve(e)),l=He(ve(e));ve(e)===t||ve(e)===l||eu||!e.isTrusted||(!nr&&!rh&&(Ll="virtual",Tu("virtual",e)),nr=!1,rh=!1)}function F3(){eu||(nr=!1,rh=!0)}function nu(e){if(typeof window>"u"||typeof document>"u")return;const t=jt(e),l=He(e);if(ko.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){nr=!0,r.apply(this,arguments)}}),l.addEventListener("keydown",tu,!0),l.addEventListener("keyup",tu,!0),l.addEventListener("click",K3,!0),t.addEventListener("focus",U3,!0),t.addEventListener("blur",F3,!1),typeof PointerEvent<"u"&&(l.addEventListener("pointerdown",di,!0),l.addEventListener("pointermove",di,!0),l.addEventListener("pointerup",di,!0)),t.addEventListener("beforeunload",()=>{V3(e)},{once:!0}),ko.set(t,{focus:r})}const V3=(e,t)=>{const l=jt(e),r=He(e);t&&r.removeEventListener("DOMContentLoaded",t),ko.has(l)&&(Reflect.defineProperty(l.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:ko.get(l).focus}),r.removeEventListener("keydown",tu,!0),r.removeEventListener("keyup",tu,!0),r.removeEventListener("click",K3,!0),l.removeEventListener("focus",U3,!0),l.removeEventListener("blur",F3,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",di,!0),r.removeEventListener("pointermove",di,!0),r.removeEventListener("pointerup",di,!0)),ko.delete(l))};function bT(e){const t=He(e);let l;return t.readyState!=="loading"?nu(e):(l=()=>{nu(e)},t.addEventListener("DOMContentLoaded",l)),()=>V3(e,l)}typeof document<"u"&&bT();function ih(){return Ll!=="pointer"}function pa(){return Ll}function vT(e){Ll=e,Tu(e,null)}function gz(){nu();let[e,t]=y.useState(Ll);return y.useEffect(()=>{let l=()=>{t(Ll)};return Io.add(l),()=>{Io.delete(l)}},[]),Nl()?null:e}const yT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function xT(e,t,l){let r=l?ve(l):void 0,i=He(r),s=jt(r);const u=typeof s<"u"?s.HTMLInputElement:HTMLInputElement,f=typeof s<"u"?s.HTMLTextAreaElement:HTMLTextAreaElement,d=typeof s<"u"?s.HTMLElement:HTMLElement,h=typeof s<"u"?s.KeyboardEvent:KeyboardEvent;let p=et(i);return e=e||p instanceof u&&!yT.has(p.type)||p instanceof f||p instanceof d&&p.isContentEditable,!(e&&t==="keyboard"&&l instanceof h&&!pT[l.key])}function ST(e,t,l){nu(),y.useEffect(()=>{if((l==null?void 0:l.enabled)===!1)return;let r=(i,s)=>{xT(!!(l!=null&&l.isTextInput),i,s)&&e(ih())};return Io.add(r),()=>{Io.delete(r)}},t)}function va(e){if(!e.isConnected)return;const t=He(e);if(pa()==="virtual"){let l=et(t);a3(()=>{const r=et(t);(r===l||r===t.body)&&e.isConnected&&en(e)})}else en(e)}function _3(e){let{isDisabled:t,onFocus:l,onBlur:r,onFocusChange:i}=e;const s=y.useCallback(d=>{if(ve(d)===d.currentTarget)return r&&r(d),i&&i(!1),!0},[r,i]),u=H3(s),f=y.useCallback(d=>{let h=ve(d);const p=He(h),b=p?et(p):et();h===d.currentTarget&&h===b&&(l&&l(d),i&&i(!0),u(d))},[i,l,u]);return{focusProps:{onFocus:!t&&(l||i||r)?f:void 0,onBlur:!t&&(r||i)?s:void 0}}}function Rc(e){if(e)return t=>{let l=!0,r={...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){l=!0},continuePropagation(){l=!1,typeof t.continuePropagation=="function"&&t.continuePropagation()},isPropagationStopped(){return l}};e(r),l&&!(typeof t.isPropagationStopped=="function"&&t.isPropagationStopped())&&t.stopPropagation()}}const wT=new Set(["shift","alt","control","meta","mod"]),ET=["Alt","Control","Meta","Shift"];function CT(e){let t=new Set;return e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(Vn()?"Meta":"Control"),t}function TT(e){let t=new Set;return e.altKey&&t.add("Alt"),e.ctrlKey&&t.add("Control"),e.metaKey&&t.add("Meta"),e.shiftKey&&t.add("Shift"),t}function G3(e){return ET.filter(t=>e.has(t))}function RT(e){let t=e.split("+").reduce((l,r)=>{let i=r.toLowerCase();return wT.has(i)?i==="shift"?l.shift=!0:i==="alt"?l.alt=!0:i==="control"?l.ctrl=!0:i==="meta"?l.meta=!0:i==="mod"&&(l.mod=!0):l.key=r,l},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(t.key==="")throw new Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function q3(e){return e.toLowerCase()}const MT={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function AT(e){let t=q3(e),l=MT[t];return l??t}function LT(e){let t=G3(CT(e)),l=AT(e.key);return t.length>0?`${t.join("+")}+${l}`:l}function kT(e){let t=G3(TT(e)),l=q3(e.key);return(t.length>0?`${t.join("+")}+`:"")+l}function NT(e){let t=new Map;for(let[l,r]of Object.entries(e)){let i=RT(l);t.set(LT(i),r)}return l=>{let r=kT(l),i=t.get(r),s=i==null?void 0:i(l);s===void 0&&i!==void 0?s={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof s=="boolean"&&(s={shouldContinuePropagation:!s,shouldPreventDefault:s}),s!=null&&s.shouldPreventDefault&&l.preventDefault(),(!i||s!=null&&s.shouldContinuePropagation)&&l.continuePropagation()}}function lu(e){let{shortcuts:t,allowRepeats:l=!1,allowComposing:r=!1}=e,i,s;if(t){let u=NT(t),f=Rc(h=>{var p,b;if(!Ie(h.currentTarget,ve(h))){h.continuePropagation();return}if((p=h.nativeEvent)!=null&&p.repeat&&!l||(b=h.nativeEvent)!=null&&b.isComposing&&!r){h.continuePropagation();return}u(h)}),d=Rc(h=>{var p,b;if(!Ie(h.currentTarget,ve(h))){h.continuePropagation();return}if((p=h.nativeEvent)!=null&&p.repeat&&!l||(b=h.nativeEvent)!=null&&b.isComposing&&!r){h.continuePropagation();return}h.continuePropagation()});i=e.onKeyDown?er(e.onKeyDown,f):f,s=e.onKeyUp?er(e.onKeyUp,d):d}else i=Rc(e.onKeyDown),s=Rc(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:i,onKeyUp:s}}}let Bo=V.createContext(null);function DT(e){let t=y.useContext(Bo)||{};Uh(t,e);let{ref:l,...r}=t;return r}const bz=V.forwardRef(function(t,l){let{children:r,...i}=t,s=bn(l),u={...i,ref:s};return V.createElement(Bo.Provider,{value:u},r)});function qo(e,t){let{focusProps:l}=_3(e),{keyboardProps:r}=lu(e),i=Ce(l,r),s=DT(t),u=e.isDisabled?{}:s,f=y.useRef(e.autoFocus);y.useEffect(()=>{f.current&&t.current&&va(t.current),f.current=!1},[t]);let d=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(d=void 0),{focusableProps:Ce({...i,tabIndex:d},u)}}let ii="default",oh="",Uc=new WeakMap;function $T(e){if(ba()&&Ml()){if(ii==="default"){const t=He(e);oh=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}ii="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";Uc.set(e,e.style[t]),e.style[t]="none"}}function Ob(e){if(ba()&&Ml()){if(ii!=="disabled")return;ii="restoring",setTimeout(()=>{a3(()=>{if(ii==="restoring"){const t=He(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=oh||""),oh="",ii="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Uc.has(e)){let t=Uc.get(e),l="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[l]==="none"&&(e.style[l]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Uc.delete(e)}}const Ho=V.createContext({register:()=>{}});Ho.displayName="PressResponderContext";function zT(e){let t=y.useContext(Ho);if(t){let{register:l,ref:r,...i}=t;e=Ce(i,e),l()}return Uh(t,e.ref),e}var mi;class Mc{constructor(t,l,r,i){Ng(this,mi);Xd(this,mi,!0);let s=(i==null?void 0:i.target)??r.currentTarget;const u=s==null?void 0:s.getBoundingClientRect();let f,d=0,h,p=null;r.clientX!=null&&r.clientY!=null&&(h=r.clientX,p=r.clientY),u&&(h!=null&&p!=null?(f=h-u.left,d=p-u.top):(f=u.width/2,d=u.height/2)),this.type=t,this.pointerType=l,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=f,this.y=d,this.key=r.key}continuePropagation(){Xd(this,mi,!1)}get shouldStopPropagation(){return kg(this,mi)}}mi=new WeakMap;const jb=Symbol("linkClicked"),Ib="react-aria-pressable-style",Bb="data-react-aria-pressable";function lr(e){let{onPress:t,onPressChange:l,onPressStart:r,onPressEnd:i,onPressUp:s,onClick:u,isDisabled:f,isPressed:d,preventFocusOnPress:h,shouldCancelOnPointerExit:p,allowTextSelectionOnPress:b,ref:v,...w}=zT(e),[x,T]=y.useState(!1),C=y.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:N,removeAllGlobalListeners:M}=Su(),L=y.useCallback((j,Y)=>{let z=C.current;if(f||z.didFirePressStart)return!1;let O=!0;if(z.isTriggeringEvent=!0,r){let oe=new Mc("pressstart",Y,j);r(oe),O=oe.shouldStopPropagation}return l&&l(!0),z.isTriggeringEvent=!1,z.didFirePressStart=!0,T(!0),O},[f,r,l]),k=y.useCallback((j,Y,z=!0)=>{let O=C.current;if(!O.didFirePressStart)return!1;O.didFirePressStart=!1,O.isTriggeringEvent=!0;let oe=!0;if(i){let J=new Mc("pressend",Y,j);i(J),oe=J.shouldStopPropagation}if(l&&l(!1),T(!1),t&&z&&!f){let J=new Mc("press",Y,j);t(J),oe&&(oe=J.shouldStopPropagation)}return O.isTriggeringEvent=!1,oe},[f,i,l,t]),B=Fn(k),G=y.useCallback((j,Y)=>{let z=C.current;if(f)return!1;if(s){z.isTriggeringEvent=!0;let O=new Mc("pressup",Y,j);return s(O),z.isTriggeringEvent=!1,O.shouldStopPropagation}return!0},[f,s]),$=Fn(G),A=y.useCallback(j=>{let Y=C.current;if(Y.isPressed&&Y.target){Y.didFirePressStart&&Y.pointerType!=null&&k(Va(Y.target,j),Y.pointerType,!1),Y.isPressed=!1,Y.isOverTarget=!1,Y.activePointerId=null,Y.pointerType=null,M(),b||Ob(Y.target);for(let z of Y.disposables)z();Y.disposables=[]}},[b,M,k]),U=Fn(A);y.useEffect(()=>{f&&C.current.isPressed&&U({currentTarget:C.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[f]);let K=y.useCallback(j=>{p&&A(j)},[p,A]),q=y.useCallback(j=>{f||u==null||u(j)},[f,u]),te=y.useCallback((j,Y)=>{if(!f&&u){let z=new MouseEvent("click",j);B3(z,Y),u(Qh(z))}},[f,u]),ne=y.useMemo(()=>{let j=C.current,Y={onKeyDown(O){var oe;if(C0(O.nativeEvent,O.currentTarget)&&Ie(O.currentTarget,ve(O))){Hb(ve(O),O.key)&&O.preventDefault();let J=!0;!j.isPressed&&!O.repeat&&(j.target=O.currentTarget,j.isPressed=!0,j.pointerType="keyboard",J=L(O,"keyboard"));let _=O.currentTarget,D=Q=>{C0(Q,_)&&!Q.repeat&&Ie(_,ve(Q))&&j.target&&$(Va(j.target,Q),"keyboard")};N(He(O.currentTarget),"keyup",er(D,z),!0),J&&O.stopPropagation(),O.metaKey&&Vn()&&((oe=j.metaKeyEvents)==null||oe.set(O.key,O.nativeEvent))}else O.key==="Meta"&&(j.metaKeyEvents=new Map)},onClick(O){if(!(O&&!Ie(O.currentTarget,ve(O)))&&O&&O.button===0&&!j.isTriggeringEvent&&!Al.isOpening){let oe=!0;if(f&&O.preventDefault(),!j.ignoreEmulatedMouseEvents&&!j.isPressed&&(j.pointerType==="virtual"||i3(O.nativeEvent))){let J=L(O,"virtual"),_=$(O,"virtual"),D=B(O,"virtual");q(O),oe=J&&_&&D}else if(j.isPressed&&j.pointerType!=="keyboard"){let J=j.pointerType||O.nativeEvent.pointerType||"virtual",_=$(Va(O.currentTarget,O),J),D=B(Va(O.currentTarget,O),J,!0);oe=_&&D,j.isOverTarget=!1,q(O),U(O)}j.ignoreEmulatedMouseEvents=!1,oe&&O.stopPropagation()}}},z=O=>{var oe,J,_;if(j.isPressed&&j.target&&C0(O,j.target)){Hb(ve(O),O.key)&&O.preventDefault();let D=ve(O),Q=Ie(j.target,D);B(Va(j.target,O),"keyboard",Q),Q&&te(O,j.target),M(),O.key!=="Enter"&&Jh(j.target)&&Ie(j.target,D)&&!O[jb]&&(O[jb]=!0,Al(j.target,O,!1)),j.isPressed=!1,(oe=j.metaKeyEvents)==null||oe.delete(O.key)}else if(O.key==="Meta"&&((J=j.metaKeyEvents)!=null&&J.size)){let D=j.metaKeyEvents;j.metaKeyEvents=void 0;for(let Q of D.values())(_=j.target)==null||_.dispatchEvent(new KeyboardEvent("keyup",Q))}};if(typeof PointerEvent<"u"){Y.onPointerDown=J=>{if(J.button!==0||!Ie(J.currentTarget,ve(J)))return;if(Zw(J.nativeEvent)){j.pointerType="virtual";return}j.pointerType=J.pointerType;let _=!0;if(!j.isPressed){j.isPressed=!0,j.isOverTarget=!0,j.activePointerId=J.pointerId,j.target=J.currentTarget,b||$T(j.target),_=L(J,j.pointerType);let D=ve(J);"releasePointerCapture"in D&&("hasPointerCapture"in D?D.hasPointerCapture(J.pointerId)&&D.releasePointerCapture(J.pointerId):D.releasePointerCapture(J.pointerId)),N(He(J.currentTarget),"pointerup",O,!1),N(He(J.currentTarget),"pointercancel",oe,!1)}_&&J.stopPropagation()},Y.onMouseDown=J=>{if(Ie(J.currentTarget,ve(J))&&J.button===0){if(h){let _=mT(J.target);_&&j.disposables.push(_)}J.stopPropagation()}},Y.onPointerUp=J=>{!Ie(J.currentTarget,ve(J))||j.pointerType==="virtual"||J.button===0&&!j.isPressed&&$(J,j.pointerType||J.pointerType)},Y.onPointerEnter=J=>{J.pointerId===j.activePointerId&&j.target&&!j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!0,L(Va(j.target,J),j.pointerType))},Y.onPointerLeave=J=>{J.pointerId===j.activePointerId&&j.target&&j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!1,B(Va(j.target,J),j.pointerType,!1),K(J))};let O=J=>{if(J.pointerId===j.activePointerId&&j.isPressed&&J.button===0&&j.target){if(Ie(j.target,ve(J))&&j.pointerType!=null){let _=!1,D=setTimeout(()=>{j.isPressed&&j.target instanceof HTMLElement&&(_?U(J):(en(j.target),j.target.click()))},80);N(J.currentTarget,"click",()=>_=!0,!0),j.disposables.push(()=>clearTimeout(D))}else U(J);j.isOverTarget=!1}},oe=J=>{U(J)};Y.onDragStart=J=>{Ie(J.currentTarget,ve(J))&&U(J)}}return Y},[N,f,h,M,b,K,L,q,te]);return y.useEffect(()=>{if(!v)return;const j=He(v.current);if(!j||!j.head||j.getElementById(Ib))return;const Y=j.createElement("style");Y.id=Ib;let z=u3(j);z&&(Y.nonce=z),Y.textContent=`
66
+ */var hb;function A9(){if(hb)return u0;hb=1;var e=Vo(),t=By();function l(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var r=typeof Object.is=="function"?Object.is:l,i=t.useSyncExternalStore,s=e.useRef,u=e.useEffect,f=e.useMemo,d=e.useDebugValue;return u0.useSyncExternalStoreWithSelector=function(h,p,b,v,w){var x=s(null);if(x.current===null){var T={hasValue:!1,value:null};x.current=T}else T=x.current;x=f(function(){function N(G){if(!M){if(M=!0,L=G,G=v(G),w!==void 0&&T.hasValue){var $=T.value;if(w($,G))return k=$}return k=G}if($=k,r(L,G))return $;var A=v(G);return w!==void 0&&w($,A)?(L=G,$):(L=G,k=A)}var M=!1,L,k,B=b===void 0?null:b;return[function(){return N(p())},B===null?void 0:function(){return N(B())}]},[p,b,v,w]);var C=i(h,x[0],x[1]);return u(function(){T.hasValue=!0,T.value=C},[C]),d(C),C},u0}var mb;function L9(){return mb||(mb=1,c0.exports=A9()),c0.exports}var k9=L9();function N9(e,t){return e===t}function Ft(e,t,l=N9){const r=y.useCallback(u=>{if(!e)return()=>{};const{unsubscribe:f}=e.subscribe(u);return f},[e]),i=y.useCallback(()=>e==null?void 0:e.get(),[e]);return k9.useSyncExternalStoreWithSelector(r,i,i,t,l)}var h0={get(){},subscribe(){return{unsubscribe(){}}}};function Hy(e,t){const l=y.useRef();return r=>{const i=e!=null&&e.select?e.select(r):r;return(e==null?void 0:e.structuralSharing)??t.options.defaultStructuralSharing?l.current=Ya(l.current,i):i}}function ir(e){const t=gn(),l=y.useContext(e.from?S9:yu),r=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(l),i=Hy(e,t),s=Ft(r??h0,u=>u?i(u):h0);if(s!==h0)return s;(e.shouldThrow??!0)&&Rl()}function Ky(e){return ir({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function Uy(e){const{select:t,...l}=e;return ir({...l,select:r=>t?t(r.loaderDeps):r.loaderDeps})}function Fy(e){return ir({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{const l=e.strict===!1?t.params:t._strictParams;return e.select?e.select(l):l}})}function Vy(e){return ir({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function Ih(e){const t=gn();return y.useCallback(l=>t.navigate({...l,from:l.from??(e==null?void 0:e.from)}),[e==null?void 0:e.from,t])}function _y(e){return ir({...e,select:t=>e.select?e.select(t.context):t.context})}var al=vy();const D9=by(al);function $9(e,t){const l=gn(),r=g8(t),{activeProps:i,inactiveProps:s,activeOptions:u,to:f,preload:d,preloadDelay:h,preloadIntentProximity:p,hashScrollIntoView:b,replace:v,startTransition:w,resetScroll:x,viewTransition:T,children:C,target:N,disabled:M,style:L,className:k,onClick:B,onBlur:G,onFocus:$,onMouseEnter:A,onMouseLeave:U,onTouchStart:K,ignoreBlocker:q,params:te,search:ne,hash:j,state:Y,mask:z,reloadDocument:O,unsafeRelative:oe,from:J,_fromLocation:_,...D}=e,Q=zy(),se=y.useMemo(()=>e,[l,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ce=Ft(l.stores.location,Ye=>Ye,(Ye,Nt)=>Ye.href===Nt.href),H=y.useMemo(()=>{const Ye={_fromLocation:ce,...se};return l.buildLocation(Ye)},[l,ce,se]),ie=H.maskedLocation?H.maskedLocation.publicHref:H.publicHref,xe=H.maskedLocation?H.maskedLocation.external:H.external,Ae=y.useMemo(()=>B9(ie,xe,l.history,M),[M,xe,ie,l.history]),de=y.useMemo(()=>{if(Ae!=null&&Ae.external)return _c(Ae.href,l.protocolAllowlist)?void 0:Ae.href;if(!H9(f)&&!(typeof f!="string"||f.indexOf(":")===-1))try{return new URL(f),_c(f,l.protocolAllowlist)?void 0:f}catch{}},[f,Ae,l.protocolAllowlist]),Lt=y.useMemo(()=>{if(de)return!1;if(u!=null&&u.exact){if(!P8(ce.pathname,H.pathname,l.basepath))return!1}else{const Ye=Gc(ce.pathname,l.basepath),Nt=Gc(H.pathname,l.basepath);if(!(Ye.startsWith(Nt)&&(Ye.length===Nt.length||Ye[Nt.length]==="/")))return!1}return((u==null?void 0:u.includeSearch)??!0)&&!Za(ce.search,H.search,{partial:!(u!=null&&u.exact),ignoreUndefined:!(u!=null&&u.explicitUndefined)})?!1:u!=null&&u.includeHash?Q&&ce.hash===H.hash:!0},[u==null?void 0:u.exact,u==null?void 0:u.explicitUndefined,u==null?void 0:u.includeHash,u==null?void 0:u.includeSearch,ce,de,Q,H.hash,H.pathname,H.search,l.basepath]),it=Lt?qa(i,{})??z9:m0,ue=Lt?m0:qa(s,{})??m0,fe=[k,it.className,ue.className].filter(Boolean).join(" "),Ee=(L||it.style||ue.style)&&{...L,...it.style,...ue.style},[_e,Fe]=y.useState(!1),kt=y.useRef(!1),Sn=e.reloadDocument||de?!1:d??l.options.defaultPreload,pt=h??l.options.defaultPreloadDelay??0,jn=y.useCallback(()=>{l.preloadRoute({...se,_builtLocation:H}).catch(Ye=>{console.warn(Ye),console.warn(g9)})},[l,se,H]);p8(r,y.useCallback(Ye=>{Ye!=null&&Ye.isIntersecting&&jn()},[jn]),I9,{disabled:!!M||Sn!=="viewport"}),y.useEffect(()=>{kt.current||!M&&Sn==="render"&&(jn(),kt.current=!0)},[M,jn,Sn]);const Si=Ye=>{const Nt=Ye.currentTarget.getAttribute("target"),Gn=N!==void 0?N:Nt;if(!M&&!K9(Ye)&&!Ye.defaultPrevented&&(!Gn||Gn==="_self")&&Ye.button===0){Ye.preventDefault(),al.flushSync(()=>{Fe(!0)});const fr=l.subscribe("onResolved",()=>{fr(),Fe(!1)});l.navigate({...se,replace:v,resetScroll:x,hashScrollIntoView:b,startTransition:w,viewTransition:T,ignoreBlocker:q})}};if(de)return{...D,ref:r,href:de,...C&&{children:C},...N&&{target:N},...M&&{disabled:M},...L&&{style:L},...k&&{className:k},...B&&{onClick:B},...G&&{onBlur:G},...$&&{onFocus:$},...A&&{onMouseEnter:A},...U&&{onMouseLeave:U},...K&&{onTouchStart:K}};const Qo=Ye=>{if(M||Sn!=="intent")return;if(!pt){jn();return}const Nt=Ye.currentTarget;if(yo.has(Nt))return;const Gn=setTimeout(()=>{yo.delete(Nt),jn()},pt);yo.set(Nt,Gn)},Pu=Ye=>{M||Sn!=="intent"||jn()},It=Ye=>{if(M||!Sn||!pt)return;const Nt=Ye.currentTarget,Gn=yo.get(Nt);Gn&&(clearTimeout(Gn),yo.delete(Nt))};return{...D,...it,...ue,href:Ae==null?void 0:Ae.href,ref:r,onClick:Wr([B,Si]),onBlur:Wr([G,It]),onFocus:Wr([$,Qo]),onMouseEnter:Wr([A,Qo]),onMouseLeave:Wr([U,It]),onTouchStart:Wr([K,Pu]),disabled:!!M,target:N,...Ee&&{style:Ee},...fe&&{className:fe},...M&&P9,...Lt&&O9,...Q&&_e&&j9}}var m0={},z9={className:"active"},P9={role:"link","aria-disabled":!0},O9={"data-status":"active","aria-current":"page"},j9={"data-transitioning":"transitioning"},yo=new WeakMap,I9={rootMargin:"100px"},Wr=e=>t=>{for(const l of e)if(l){if(t.defaultPrevented)return;l(t)}};function B9(e,t,l,r){if(!r)return t?{href:e,external:!0}:{href:l.createHref(e)||"/",external:!1}}function H9(e){if(typeof e!="string")return!1;const t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var Gy=y.forwardRef((e,t)=>{const{_asChild:l,...r}=e,{type:i,...s}=$9(r,t),u=typeof r.children=="function"?r.children({isActive:s["data-status"]==="active"}):r.children;if(!l){const{disabled:f,...d}=s;return y.createElement("a",d,u)}return y.createElement(l,s,u)});function K9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var U9=class extends $y{constructor(t){super(t),this.useMatch=l=>ir({select:l==null?void 0:l.select,from:this.id,structuralSharing:l==null?void 0:l.structuralSharing}),this.useRouteContext=l=>_y({...l,from:this.id}),this.useSearch=l=>Vy({select:l==null?void 0:l.select,structuralSharing:l==null?void 0:l.structuralSharing,from:this.id}),this.useParams=l=>Fy({select:l==null?void 0:l.select,structuralSharing:l==null?void 0:l.structuralSharing,from:this.id}),this.useLoaderDeps=l=>Uy({...l,from:this.id}),this.useLoaderData=l=>Ky({...l,from:this.id}),this.useNavigate=()=>Ih({from:this.fullPath}),this.Link=V.forwardRef((l,r)=>E.jsx(Gy,{ref:r,from:this.fullPath,...l}))}};function F9(e){return new U9(e)}var V9=class extends b9{constructor(e){super(e),this.useMatch=t=>ir({select:t==null?void 0:t.select,from:this.id,structuralSharing:t==null?void 0:t.structuralSharing}),this.useRouteContext=t=>_y({...t,from:this.id}),this.useSearch=t=>Vy({select:t==null?void 0:t.select,structuralSharing:t==null?void 0:t.structuralSharing,from:this.id}),this.useParams=t=>Fy({select:t==null?void 0:t.select,structuralSharing:t==null?void 0:t.structuralSharing,from:this.id}),this.useLoaderDeps=t=>Uy({...t,from:this.id}),this.useLoaderData=t=>Ky({...t,from:this.id}),this.useNavigate=()=>Ih({from:this.fullPath}),this.Link=V.forwardRef((t,l)=>E.jsx(Gy,{ref:l,from:this.fullPath,...t}))}};function _9(e){return new V9(e)}function gi(e){return new G9(e,{silent:!0}).createRoute}var G9=class{constructor(e,t){this.path=e,this.createRoute=l=>{const r=F9(l);return r.isRoot=!1,r},this.silent=t==null?void 0:t.silent}};function _o(e,t){let l,r,i,s;const u=()=>(l||(l=e().then(d=>{l=void 0,r=d[t]}).catch(d=>{if(i=d,y8(i)&&i instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const h=`tanstack_router_reload:${i.message}`;sessionStorage.getItem(h)||(sessionStorage.setItem(h,"1"),s=!0)}})),l),f=function(h){if(s)throw window.location.reload(),new Promise(()=>{});if(i)throw i;if(!r)if(Ug)Ug(u());else throw u();return y.createElement(r,h)};return f.preload=u,f}function q9(e){const t=gn(),l=`not-found-${Ft(t.stores.location,r=>r.pathname)}-${Ft(t.stores.status,r=>r)}`;return E.jsx(Oh,{getResetKey:()=>l,onCatch:(r,i)=>{var s;if(Ht(r))(s=e.onCatch)==null||s.call(e,r,i);else throw r},errorComponent:({error:r})=>{var i;if(Ht(r))return(i=e.fallback)==null?void 0:i.call(e,r);throw r},children:e.children})}function Y9(){return E.jsx("p",{children:"Not Found"})}function ni(e){return E.jsx(E.Fragment,{children:e.children})}function qy(e,t,l){return t.options.notFoundComponent?E.jsx(t.options.notFoundComponent,{...l}):e.options.defaultNotFoundComponent?E.jsx(e.options.defaultNotFoundComponent,{...l}):E.jsx(Y9,{})}function X9(e){return null}function W9(){return X9(gn()),null}var Z9=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,Q9=(e,t)=>e[0]===t[0]&&e[1]===t[1],Yy=y.memo(function({matchId:t}){const l=gn(),r=l.stores.matchStores.get(t);r||Rl();const i=Ft(l.stores.loadedAt,u=>u),s=Ft(r,u=>u,Z9);return E.jsx(J9,{router:l,matchId:t,resetKey:i,matchState:y.useMemo(()=>{var d;const u=s.routeId,f=(d=l.routesById[u].parentRoute)==null?void 0:d.id;return{routeId:u,ssr:s.ssr,_displayPending:s._displayPending,parentRouteId:f}},[s._displayPending,s.routeId,s.ssr,l.routesById])})});function J9({router:e,matchId:t,resetKey:l,matchState:r}){var x,T;const i=e.routesById[r.routeId],s=i.options.pendingComponent??e.options.defaultPendingComponent,u=s?E.jsx(s,{}):null,f=i.options.errorComponent??e.options.defaultErrorComponent,d=i.options.onCatch??e.options.defaultOnCatch,h=i.isRoot?i.options.notFoundComponent??((x=e.options.notFoundRoute)==null?void 0:x.options.component):i.options.notFoundComponent,p=r.ssr===!1||r.ssr==="data-only",b=(!i.isRoot||i.options.wrapInSuspense||p)&&(i.options.wrapInSuspense??s??(((T=i.options.errorComponent)==null?void 0:T.preload)||p))?y.Suspense:ni,v=f?Oh:ni,w=h?q9:ni;return E.jsxs(i.isRoot?i.options.shellComponent??ni:ni,{children:[E.jsx(yu.Provider,{value:t,children:E.jsx(b,{fallback:u,children:E.jsx(v,{getResetKey:()=>l,errorComponent:f||jh,onCatch:(C,N)=>{if(Ht(C))throw C.routeId??(C.routeId=r.routeId),C;d==null||d(C,N)},children:E.jsx(w,{fallback:C=>{if(C.routeId??(C.routeId=r.routeId),!h||C.routeId&&C.routeId!==r.routeId||!C.routeId&&!i.isRoot)throw C;return y.createElement(h,C)},children:p||r._displayPending?E.jsx(y9,{fallback:u,children:E.jsx(pb,{matchId:t})}):E.jsx(pb,{matchId:t})})})})}),r.parentRouteId===Qa?E.jsxs(E.Fragment,{children:[E.jsx(ew,{}),e.options.scrollRestoration&&yy?E.jsx(W9,{}):null]}):null]})}function ew(){const e=gn(),t=y.useRef();return Co(()=>{const l=e.stores.resolvedLocation.get(),r=t.current;l&&(!r||r.href!==l.href)&&e.emit({type:"onRendered",...ci(e.stores.location.get(),r??l)}),t.current=l},[Ft(e.stores.resolvedLocation,l=>l==null?void 0:l.state.__TSR_key),e]),null}var pb=y.memo(function({matchId:t}){const l=gn(),r=(p,b)=>{var v;return((v=l.getMatch(p.id))==null?void 0:v._nonReactive[b])??p._nonReactive[b]},i=l.stores.matchStores.get(t);i||Rl();const s=Ft(i,p=>p),u=s.routeId,f=l.routesById[u],d=y.useMemo(()=>{var b;const p=(b=l.routesById[u].options.remountDeps??l.options.defaultRemountDeps)==null?void 0:b({routeId:u,loaderDeps:s.loaderDeps,params:s._strictParams,search:s._strictSearch});return p?JSON.stringify(p):void 0},[u,s.loaderDeps,s._strictParams,s._strictSearch,l.options.defaultRemountDeps,l.routesById]),h=y.useMemo(()=>{const p=f.options.component??l.options.defaultComponent;return p?E.jsx(p,{},d):E.jsx(Xy,{})},[d,f.options.component,l.options.defaultComponent]);if(s._displayPending)throw r(s,"displayPendingPromise");if(s._forcePending)throw r(s,"minPendingPromise");if(s.status==="pending"){const p=f.options.pendingMinMs??l.options.defaultPendingMinMs;if(p){const b=l.getMatch(s.id);if(b&&!b._nonReactive.minPendingPromise){const v=pi();b._nonReactive.minPendingPromise=v,setTimeout(()=>{v.resolve(),b._nonReactive.minPendingPromise=void 0},p)}}throw r(s,"loadPromise")}if(s.status==="notFound")return Ht(s.error)||Rl(),qy(l,f,s.error);if(s.status==="redirected")throw tn(s.error)||Rl(),r(s,"loadPromise");if(s.status==="error")throw s.error;return h}),Xy=y.memo(function(){const t=gn(),l=y.useContext(yu);let r,i=!1,s;{const h=l?t.stores.matchStores.get(l):void 0;[r,i]=Ft(h,p=>[p==null?void 0:p.routeId,(p==null?void 0:p.globalNotFound)??!1],Q9),s=Ft(t.stores.matchesId,p=>p[p.findIndex(b=>b===l)+1])}const u=r?t.routesById[r]:void 0,f=t.options.defaultPendingComponent?E.jsx(t.options.defaultPendingComponent,{}):null;if(i)return u||Rl(),qy(t,u,void 0);if(!s)return null;const d=E.jsx(Yy,{matchId:s});return r===Qa?E.jsx(y.Suspense,{fallback:f,children:d}):d});function tw(){const e=gn(),t=y.useRef({router:e,mounted:!1}),[l,r]=y.useState(!1),i=Ft(e.stores.isLoading,b=>b),s=Ft(e.stores.hasPending,b=>b),u=n0(i),f=i||l||s,d=n0(f),h=i||s,p=n0(h);return e.startTransition=b=>{r(!0),y.startTransition(()=>{b(),r(!1)})},y.useEffect(()=>{const b=e.history.subscribe(e.load),v=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Tl(e.latestLocation.publicHref)!==Tl(v.publicHref)&&e.commitLocation({...v,replace:!0}),()=>{b()}},[e,e.history]),Co(()=>{if(typeof window<"u"&&e.ssr||t.current.router===e&&t.current.mounted)return;t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(v){console.error(v)}})()},[e]),Co(()=>{u&&!i&&e.emit({type:"onLoad",...ci(e.stores.location.get(),e.stores.resolvedLocation.get())})},[u,e,i]),Co(()=>{p&&!h&&e.emit({type:"onBeforeRouteMount",...ci(e.stores.location.get(),e.stores.resolvedLocation.get())})},[h,p,e]),Co(()=>{if(d&&!f){const b=ci(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...b}),jy(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[f,d,e]),null}function nw(){const e=gn(),t=e.routesById[Qa].options.pendingComponent??e.options.defaultPendingComponent,l=t?E.jsx(t,{}):null,r=E.jsxs(typeof document<"u"&&e.ssr?ni:y.Suspense,{fallback:l,children:[E.jsx(tw,{}),E.jsx(lw,{})]});return e.options.InnerWrap?E.jsx(e.options.InnerWrap,{children:r}):r}function lw(){const e=gn(),t=Ft(e.stores.firstId,i=>i),l=Ft(e.stores.loadedAt,i=>i),r=t?E.jsx(Yy,{matchId:t}):null;return E.jsx(yu.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:E.jsx(Oh,{getResetKey:()=>l,errorComponent:jh,onCatch:void 0,children:r})})}var aw=e=>({createMutableStore:ub,createReadonlyStore:ub,batch:jy}),rw=e=>new iw(e),iw=class extends c9{constructor(e){super(e,aw)}};function ow({router:e,children:t,...l}){Sy(l)&&e.update({...e.options,...l,context:{...e.options.context,...l.context}});const r=E.jsx(Py.Provider,{value:e,children:t});return e.options.Wrap?E.jsx(e.options.Wrap,{children:r}):r}function sw({router:e,...t}){return E.jsx(ow,{router:e,...t,children:E.jsx(nw,{})})}function cw(e){const t=gn();return Ft(t.stores.location,Hy(e,t))}const uw="react-aria-clear-focus",fw="react-aria-focus";function xu(e){var l;if(typeof window>"u"||window.navigator==null)return!1;let t=(l=window.navigator.userAgentData)==null?void 0:l.brands;return Array.isArray(t)&&t.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function Bh(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)==null?void 0:t.platform)||window.navigator.platform):!1}function kl(e){let t=null;return()=>(t==null&&(t=e()),t)}const Vn=kl(function(){return Bh(/^Mac/i)}),dw=kl(function(){return Bh(/^iPhone/i)}),Wy=kl(function(){return Bh(/^iPad/i)||Vn()&&navigator.maxTouchPoints>1}),ba=kl(function(){return dw()||Wy()}),hw=kl(function(){return Vn()||ba()}),Ml=kl(function(){return xu(/AppleWebKit/i)&&(ba()||!Zy())}),Zy=kl(function(){return xu(/Chrome|CriOS|CrMo/i)}),Wc=kl(function(){return xu(/Android/i)}),mw=kl(function(){return xu(/(Firefox|FxiOS)/i)});function en(e){if(pw())e.focus({preventScroll:!0});else{let t=gw(e);e.focus(),bw(t)}}let yc=null;function pw(){if(yc==null){yc=!1;try{document.createElement("div").focus({get preventScroll(){return yc=!0,!0}})}catch{}}return yc}function gw(e){let t=e.parentNode,l=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&l.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&l.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),l}function bw(e){for(let{element:t,scrollTop:l,scrollLeft:r}of e)t.scrollTop=l,t.scrollLeft=r}const vw=y.createContext({isNative:!0,open:Sw,useHref:e=>e});function Go(){return y.useContext(vw)}function yw(e,t){let l=e.getAttribute("target");return(!l||l==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function Al(e,t,l=!0){var d,h;let{metaKey:r,ctrlKey:i,altKey:s,shiftKey:u}=t;!Ml()&&mw()&&((h=(d=window.event)==null?void 0:d.type)!=null&&h.startsWith("key"))&&e.target==="_blank"&&(Vn()?r=!0:i=!0);let f=Ml()&&Vn()&&!Wy()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:i,altKey:s,shiftKey:u}):new MouseEvent("click",{metaKey:r,ctrlKey:i,altKey:s,shiftKey:u,detail:1,bubbles:!0,cancelable:!0});Al.isOpening=l,en(e),e.dispatchEvent(f),Al.isOpening=!1}Al.isOpening=!1;function xw(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let l=document.createElement("a");l.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(l.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(l.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(l.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(l.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(l.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(l),t(l),e.removeChild(l)}}function Sw(e,t){xw(e,l=>Al(l,t))}function mz(e){const l=Go().useHref(e.href??"");return{"data-href":e.href?l:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function Qy(e){const l=Go().useHref((e==null?void 0:e.href)??"");let r={};if(e)for(let i of["href","target","rel","download","ping","referrerPolicy"])i in e&&e[i]!==void 0&&(r[i]=i==="href"?l:e[i]);return r}function ww(e,t,l,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&yw(e.currentTarget,e)&&l&&(e.preventDefault(),t.open(e.currentTarget,e,l,r))}const Ne=typeof document<"u"?V.useLayoutEffect:()=>{},Jy={prefix:String(Math.round(Math.random()*1e10)),current:0},e3=V.createContext(Jy),Ew=V.createContext(!1);let p0=new WeakMap;function Cw(e=!1){var r,i;let t=y.useContext(e3),l=y.useRef(null);if(l.current===null&&!e){let s=(i=(r=V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)==null?void 0:r.ReactCurrentOwner)==null?void 0:i.current;if(s){let u=p0.get(s);u==null?p0.set(s,{id:t.current,state:s.memoizedState}):s.memoizedState!==u.state&&(t.current=u.id,p0.delete(s))}l.current=++t.current}return l.current}function Tw(e){let t=y.useContext(e3),l=Cw(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${l}`}function Rw(e){let t=V.useId(),[l]=y.useState(Nl()),r=l?"react-aria":`react-aria${Jy.prefix}`;return e||`${r}-${t}`}const Mw=typeof V.useId=="function"?Rw:Tw;function Aw(){return!1}function Lw(){return!0}function kw(e){return()=>{}}function Nl(){return typeof V.useSyncExternalStore=="function"?V.useSyncExternalStore(kw,Aw,Lw):y.useContext(Ew)}function Nw(e){let[t,l]=y.useState(e),r=y.useRef(t),i=y.useRef(null),s=y.useRef(()=>{if(!i.current)return;let f=i.current.next();if(f.done){i.current=null;return}r.current===f.value?s.current():l(f.value)});Ne(()=>{r.current=t,i.current&&s.current()});let u=y.useCallback(f=>{i.current=f(r.current),s.current()},[s]);return[t,u]}let Dw=!!(typeof window<"u"&&window.document&&window.document.createElement),ui=new Map,li;typeof FinalizationRegistry<"u"&&(li=new FinalizationRegistry(e=>{ui.delete(e)}));let g0=new WeakMap;function _n(e){let[t,l]=y.useState(e),r=y.useRef(null),i=Mw(t),s=y.useRef(null),u=g0.get(s);if(li&&u!==i&&(u!=null&&li.unregister(s),li.register(s,i,s),g0.set(s,i)),Dw){const f=ui.get(i);f&&!f.includes(r)?f.push(r):ui.set(i,[r])}return Ne(()=>{let f=i;return()=>{li&&(li.unregister(s),g0.delete(s)),ui.delete(f)}},[i]),y.useEffect(()=>{let f=r.current;return f&&l(f),()=>{f&&(r.current=null)}}),i}function $w(e,t){if(e===t)return e;let l=ui.get(e);if(l)return l.forEach(i=>i.current=t),t;let r=ui.get(t);return r?(r.forEach(i=>i.current=e),e):t}function Y0(e=[]){let t=_n(),[l,r]=Nw(t),i=y.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Ne(i,[t,i,...e]),l}function er(...e){return(...t)=>{for(let l of e)typeof l=="function"&&l(...t)}}const He=e=>zw(e)?e.document:Pw(e)?e:(e==null?void 0:e.ownerDocument)??(typeof document<"u"?document:void 0),jt=e=>{let t=He(e);return(t==null?void 0:t.defaultView)??(typeof window<"u"?window:void 0)};function t3(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function zw(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function Pw(e){return t3(e)&&e.nodeType===9}function Hh(e){return t3(e)&&e.nodeType===11&&"host"in e}function Ow(e,t,l,r){if(l==null||e==null)return()=>{};let i=Array.isArray(e)?e:[e];for(let s of i)s.addEventListener(t,l,r);return()=>{for(let s of i)s.removeEventListener(t,l,r)}}let jw=!1;function nl(){return jw}function Ie(e,t){var r;if(!nl())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let l=t;for(;l!==null;){if(l===e)return!0;typeof l.assignedElements!="function"&&((r=l.assignedSlot)!=null&&r.parentNode)?l=l.assignedSlot.parentNode:Hh(l)?l=l.host:l=l.parentNode}return!1}const et=(e=document)=>{var l;if(!nl())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&((l=t.shadowRoot)!=null&&l.activeElement);)t=t.shadowRoot.activeElement;return t};function ve(e){if(nl()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function Iw(e,t){if(t===null)return[];t=t??jt(e);let l=[t];if(!nl()||!e||e===t)return l;let r="getRootNode"in t?t.getRootNode():null,i=e.getRootNode()??null;for(;Hh(i)&&i!==r;)l.push(i),i=i.host.getRootNode();return l}function Oo(e){if(!e)return!1;let t=e.getRootNode(),l=jt(e);if(!(t instanceof l.Document||t instanceof l.ShadowRoot))return!1;let r=t.activeElement;return r!=null&&e.contains(r)}class Bw{constructor(t,l,r,i){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=u=>{var f;if(u.nodeType===Node.ELEMENT_NODE){const d=u.shadowRoot;if(d){const h=this._doc.createTreeWalker(d,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(h),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(u);if((f=this.filter)!=null&&f.acceptNode)return this.filter.acceptNode(u);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=l,this.filter=i??null,this.whatToShow=r??NodeFilter.SHOW_ALL,this._currentNode=l,this._walkerStack.unshift(t.createTreeWalker(l,r,this._acceptNode));const s=l.shadowRoot;if(s){const u=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(u)}}get currentNode(){return this._currentNode}set currentNode(t){if(!Ie(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const l=[];let r=t,i=t;for(this._currentNode=t;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const u=r,f=this._doc.createTreeWalker(u,this.whatToShow,{acceptNode:this._acceptNode});l.push(f),f.currentNode=i,this._currentSetFor.add(f),r=i=u.host}else r=r.parentNode;const s=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});l.push(s),s.currentNode=i,this._currentSetFor.add(s),this._walkerStack=l}get doc(){return this._doc}firstChild(){let t=this.currentNode,l=this.nextNode();return Ie(t,l)?(l&&(this.currentNode=l),l):(this.currentNode=t,null)}lastChild(){let l=this._walkerStack[0].lastChild();return l&&(this.currentNode=l),l}nextNode(){var l;const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){let i;if(typeof this.filter=="function"?i=this.filter(t):(l=this.filter)!=null&&l.acceptNode&&(i=this.filter.acceptNode(t)),i===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let s=this.nextNode();return s&&(this.currentNode=s),s}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.nextNode();return r&&(this.currentNode=r),r}else return null}previousNode(){var r;const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null;return null}const l=t.previousNode();if(l){if(l.shadowRoot){let s;if(typeof this.filter=="function"?s=this.filter(l):(r=this.filter)!=null&&r.acceptNode&&(s=this.filter.acceptNode(l)),s===NodeFilter.FILTER_ACCEPT)return l&&(this.currentNode=l),l;let u=this.lastChild();return u&&(this.currentNode=u),u}return l&&(this.currentNode=l),l}else if(this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function n3(e,t,l,r){return nl()?new Bw(e,t,l,r):e.createTreeWalker(t,l,r)}function ya(...e){return e.length===1&&e[0]?e[0]:t=>{let l=!1;const r=e.map(i=>{const s=gb(i,t);return l||(l=typeof s=="function"),s});if(l)return()=>{r.forEach((i,s)=>{typeof i=="function"?i():gb(e[s],null)})}}}function gb(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function l3(e){var t,l,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(l=l3(e[t]))&&(r&&(r+=" "),r+=l)}else for(l in e)e[l]&&(r&&(r+=" "),r+=l);return r}function a3(){for(var e,t,l=0,r="",i=arguments.length;l<i;l++)(e=arguments[l])&&(t=l3(e))&&(r&&(r+=" "),r+=t);return r}function Ce(...e){let t={...e[0]};for(let l=1;l<e.length;l++){let r=e[l];for(let i in r){let s=t[i],u=r[i];typeof s=="function"&&typeof u=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?t[i]=er(s,u):(i==="className"||i==="UNSAFE_className")&&typeof s=="string"&&typeof u=="string"?t[i]=a3(s,u):i==="id"&&s&&u?t.id=$w(s,u):i==="ref"&&s&&u?t.ref=ya(s,u):t[i]=u!==void 0?u:s}}return t}const Hw=new Set(["id"]),Kw=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Uw=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Fw=new Set(["dir","lang","hidden","inert","translate"]),bb=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),Vw=/^(data-.*)$/;function mt(e,t={}){let{labelable:l,isLink:r,global:i,events:s=i,propNames:u}=t,f={};for(const d in e)Object.prototype.hasOwnProperty.call(e,d)&&(Hw.has(d)||l&&Kw.has(d)||r&&Uw.has(d)||i&&Fw.has(d)||s&&(bb.has(d)||d.endsWith("Capture")&&bb.has(d.slice(0,-7)))||u!=null&&u.has(d)||Vw.test(d))&&(f[d]=e[d]);return f}let ca=new Map,X0=new Set;function vb(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{let i=ve(r);if(!e(r)||!i)return;let s=ca.get(i);s||(s=new Set,ca.set(i,s),i.addEventListener("transitioncancel",l,{once:!0})),s.add(r.propertyName)},l=r=>{let i=ve(r);if(!e(r)||!i)return;let s=ca.get(i);if(s&&(s.delete(r.propertyName),s.size===0&&(i.removeEventListener("transitioncancel",l),ca.delete(i)),ca.size===0)){for(let u of X0)u();X0.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",l)}typeof document<"u"&&(document.readyState!=="loading"?vb():document.addEventListener("DOMContentLoaded",vb));function _w(){for(const[e]of ca)"isConnected"in e&&!e.isConnected&&ca.delete(e)}function r3(e){requestAnimationFrame(()=>{_w(),ca.size===0?e():X0.add(e)})}function Su(){let e=y.useRef(new Map),t=y.useCallback((i,s,u,f)=>{let d=f!=null&&f.once?(...h)=>{e.current.delete(u),u(...h)}:u;e.current.set(u,{type:s,eventTarget:i,fn:d,options:f}),i.addEventListener(s,d,f)},[]),l=y.useCallback((i,s,u,f)=>{var h;let d=((h=e.current.get(u))==null?void 0:h.fn)||u;i.removeEventListener(s,d,f),e.current.delete(u)},[]),r=y.useCallback(()=>{e.current.forEach((i,s)=>{l(i.eventTarget,i.type,s,i.options)})},[l]);return y.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:l,removeAllGlobalListeners:r}}function Kh(e,t){let{id:l,"aria-label":r,"aria-labelledby":i}=e;return l=_n(l),i&&r?i=[...new Set([l,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&t&&(r=t),{id:l,"aria-label":r,"aria-labelledby":i}}function bn(e){const t=y.useRef(null),l=y.useRef(void 0),r=y.useCallback(i=>{if(typeof e=="function"){const s=e,u=s(i);return()=>{typeof u=="function"?u():s(null)}}else if(e)return e.current=i,()=>{e.current=null}},[e]);return y.useMemo(()=>({get current(){return t.current},set current(i){t.current=i,l.current&&(l.current(),l.current=void 0),i!=null&&(l.current=r(i))}}),[r])}const Gw=V.useInsertionEffect??Ne;function Fn(e){const t=y.useRef(null);return Gw(()=>{t.current=e},[e]),y.useCallback((...l)=>{const r=t.current;return r==null?void 0:r(...l)},[])}function yb(e,t){const l=y.useRef(!0),r=y.useRef(null);Ne(()=>(l.current=!0,()=>{l.current=!1}),[]),Ne(()=>{l.current?l.current=!1:(!r.current||t.some((i,s)=>!Object.is(i,r[s])))&&e(),r.current=t},t)}function qw(){return typeof window.ResizeObserver<"u"}function W0(e){const{ref:t,box:l,onResize:r}=e;let i=Fn(r);y.useEffect(()=>{let s=t==null?void 0:t.current;if(s)if(qw()){const u=new window.ResizeObserver(f=>{f.length&&i()});return u.observe(s,{box:l}),()=>{s&&u.unobserve(s)}}else return window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)}},[t,l])}function Uh(e,t){Ne(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function jo(e,t){if(!e)return!1;let l=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(l.overflow+l.overflowX+l.overflowY);return e===r&&l.overflow!=="hidden"&&(i=!0),i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}function i3(e,t){let l=e;for(jo(l,t)&&(l=l.parentElement);l&&!jo(l,t);)l=l.parentElement;return l||document.scrollingElement||document.documentElement}function b0(e,t){let l=[],r=document.scrollingElement||document.documentElement;for(;e&&(jo(e,t)&&l.push(e),e!==r);)e=e.parentElement;return l}function To(e){return Vn()?e.metaKey:e.ctrlKey}const Yw=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ao(e){return e instanceof HTMLInputElement&&!Yw.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}let Jt=typeof document<"u"&&window.visualViewport;function Xw(){let e=Nl(),[t,l]=y.useState(()=>e?{width:0,height:0}:v0());return y.useEffect(()=>{let r=f=>{l(d=>f.width===d.width&&f.height===d.height?d:f)},i=()=>{Jt&&Jt.scale>1||r(v0())},s,u=f=>{Jt&&Jt.scale>1||Ao(ve(f))&&(s=requestAnimationFrame(()=>{let d=et();(!d||!Ao(d))&&r({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return r(v0()),ba()&&Ml()&&window.addEventListener("blur",u,!0),Jt?Jt.addEventListener("resize",i):window.addEventListener("resize",i),()=>{cancelAnimationFrame(s),ba()&&Ml()&&window.removeEventListener("blur",u,!0),Jt?Jt.removeEventListener("resize",i):window.removeEventListener("resize",i)}},[]),t}function v0(){return{width:Jt?Math.min(Jt.width*Jt.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:Jt?Jt.height*Jt.scale:document.documentElement.clientHeight}}let Ww=0;const y0=new Map;function Zw(e){let[t,l]=y.useState();return Ne(()=>{if(!e)return;let r=y0.get(e);if(r)l(r.element.id);else{let i=`react-aria-description-${Ww++}`;l(i);let s=document.createElement("div");s.id=i,s.style.display="none",s.textContent=e,document.body.appendChild(s),r={refCount:0,element:s},y0.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),y0.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function xc(e,t,l,r){let i=Fn(l),s=l==null;y.useEffect(()=>{if(s||!e.current)return;let u=e.current;return u.addEventListener(t,i,r),()=>{u.removeEventListener(t,i,r)}},[e,t,r,s])}function Hc(e,t,l={}){let{block:r="nearest",inline:i="nearest"}=l;if(e===t)return;let s=e.scrollTop,u=e.scrollLeft,f=t.getBoundingClientRect(),d=e.getBoundingClientRect(),h=window.getComputedStyle(t),p=window.getComputedStyle(e),b=document.scrollingElement||document.documentElement,v=e===b,w=e===b?0:d.top,x=e===b?e.clientHeight:d.bottom,T=e===b?0:d.left,C=e===b?e.clientWidth:d.right,N=parseFloat(h.scrollMarginTop)||0,M=parseFloat(h.scrollMarginBottom)||0,L=parseFloat(h.scrollMarginLeft)||0,k=parseFloat(h.scrollMarginRight)||0,B=parseFloat(p.scrollPaddingTop)||0,G=parseFloat(p.scrollPaddingBottom)||0,$=parseFloat(p.scrollPaddingLeft)||0,A=parseFloat(p.scrollPaddingRight)||0,U=parseFloat(p.borderTopWidth)||0,K=parseFloat(p.borderBottomWidth)||0,q=parseFloat(p.borderLeftWidth)||0,te=parseFloat(p.borderRightWidth)||0,ne=f.top-N,j=f.bottom+M,Y=f.left-L,z=f.right+k,O=e===b?0:q+te,oe=e===b?0:U+K,J=e===b?0:e.offsetWidth-e.clientWidth-O,_=e===b?0:e.offsetHeight-e.clientHeight-oe,D=w+(v?0:U)+B,Q=x-(v?0:K)-G-_,se=T+(v?0:q)+$,ce=C-(v?0:te)-A;ba()&&Ml()||p.direction==="ltr"?ce-=J:p.direction==="rtl"&&(se+=J);let H=ne<D||j>Q,ie=Y<se||z>ce;if(H&&r==="start")s+=ne-D;else if(H&&r==="center")s+=(ne+j)/2-(D+Q)/2;else if(H&&r==="end")s+=j-Q;else if(H&&r==="nearest"){let xe=ne-D,Ae=j-Q;s+=Math.abs(xe)<=Math.abs(Ae)?xe:Ae}if(ie&&i==="start")u+=Y-se;else if(ie&&i==="center")u+=(Y+z)/2-(se+ce)/2;else if(ie&&i==="end")u+=z-ce;else if(ie&&i==="nearest"){let xe=Y-se,Ae=z-ce;u+=Math.abs(xe)<=Math.abs(Ae)?xe:Ae}e.scrollTo({left:u,top:s})}function xb(e,t={}){var r,i,s;let{containingElement:l}=t;if(e&&e.isConnected){let u=document.scrollingElement||document.documentElement;if(window.getComputedStyle(u).overflow==="hidden"){let{left:d,top:h}=e.getBoundingClientRect(),p=b0(e,!0);for(let w of p)Hc(w,e);let{left:b,top:v}=e.getBoundingClientRect();if(Math.abs(d-b)>1||Math.abs(h-v)>1){p=l?b0(l,!0):[];for(let w of p)Hc(w,l,{block:"center",inline:"center"});for(let w of b0(e,!0))Hc(w,e)}}else{let{left:d,top:h}=e.getBoundingClientRect();(r=e==null?void 0:e.scrollIntoView)==null||r.call(e,{block:"nearest"});let{left:p,top:b}=e.getBoundingClientRect();(Math.abs(d-p)>1||Math.abs(h-b)>1)&&((i=l==null?void 0:l.scrollIntoView)==null||i.call(l,{block:"center",inline:"center"}),(s=e.scrollIntoView)==null||s.call(e,{block:"nearest"}))}}}function o3(e){return e.pointerType===""&&e.isTrusted?!0:Wc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Qw(e){return!Wc()&&e.width===0&&e.height===0||Wc()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function Jw(e,t,l){let r=Fn(i=>{l&&!i.defaultPrevented&&l(t)});y.useEffect(()=>{var s;let i=(s=e==null?void 0:e.current)==null?void 0:s.form;return i==null||i.addEventListener("reset",r),()=>{i==null||i.removeEventListener("reset",r)}},[e])}function Sb(e){const t=y.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}function wu(e,t=!0){let[l,r]=y.useState(!0),i=l&&t;return Ne(()=>{if(i&&e.current&&"getAnimations"in e.current)for(let s of e.current.getAnimations())s instanceof CSSTransition&&s.cancel()},[e,i]),s3(e,i,y.useCallback(()=>r(!1),[])),i}function Zc(e,t){let[l,r]=y.useState(t?"open":"closed");switch(l){case"open":t||r("exiting");break;case"closed":case"exiting":t&&r("open");break}let i=l==="exiting";return s3(e,i,y.useCallback(()=>{r(s=>s==="exiting"?"closed":s)},[])),i}function s3(e,t,l){Ne(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){l();return}let r=e.current.getAnimations();if(r.length===0){l();return}let i=!1;return Promise.allSettled(r.map(s=>s.finished)).then(()=>{i||al.flushSync(()=>{l()})}),()=>{i=!0}}},[e,t,l])}const eE=typeof Element<"u"&&"checkVisibility"in Element.prototype;function tE(e){const t=jt(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:l,visibility:r}=e.style,i=l!=="none"&&r!=="hidden"&&r!=="collapse";if(i){const{getComputedStyle:s}=jt(e);let{display:u,visibility:f}=s(e);i=u!=="none"&&f!=="hidden"&&f!=="collapse"}return i}function nE(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function Fh(e,t){return eE?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&tE(e)&&nE(e,t)&&(!e.parentElement||Fh(e.parentElement,e))}const Vh=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],lE=Vh.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Vh.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const aE=Vh.join(':not([hidden]):not([tabindex="-1"]),');function c3(e,t){return e.matches(lE)&&!u3(e)&&((t==null?void 0:t.skipVisibilityCheck)||Fh(e))}function _h(e){return e.matches(aE)&&Fh(e)&&!u3(e)}function u3(e){let t=e;for(;t!=null;){if(t instanceof jt(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function wb(e){let t=e==null?void 0:e.defaultView;return(t==null?void 0:t.__webpack_nonce__)||globalThis.__webpack_nonce__||void 0}let x0=new WeakMap;function f3(e){let t=e??(typeof document<"u"?document:void 0);if(!t)return wb(t);if(x0.has(t))return x0.get(t);let l=t.querySelector('meta[property="csp-nonce"]'),r=l&&l instanceof jt(l).HTMLMetaElement&&(l.nonce||l.content)||wb(t)||void 0;return r!==void 0&&x0.set(t,r),r}function Z0(e,t=-1/0,l=1/0){return Math.min(Math.max(e,t),l)}function rE(e,t){const{ref:l,render:r,...i}=t,s=y.useRef(null),u=y.useMemo(()=>ya(l,s),[l,s]);Ne(()=>{},[e,r]);const f={...i,ref:u};return r?r(f,void 0):E.jsx(e,{...f})}const Eb={},Ct=new Proxy({},{get(e,t){if(typeof t!="string")return;let l=Eb[t];return l||(l=rE.bind(null,t),Eb[t]=l),l}});var iE=Array.isArray,Eu=e=>{if(!e&&e!==0&&e!==0n)return"";if(typeof e=="string")return e;if(typeof e=="number")return e!==e?"":""+e;if(typeof e=="bigint")return""+e;let t="";if(iE(e)){const l=e.length;for(let r=0;r<l;r++){const i=e[r];if(!i&&i!==0&&i!==0n)continue;const s=typeof i=="string"?i:Eu(i);s&&(t&&(t+=" "),t+=s)}return t}if(typeof e=="object")for(const l in e)e[l]&&(t&&(t+=" "),t+=l);return t},oE=/\s+/g,Q0=Array.isArray,sE=e=>typeof e!="string"||!e?e:e.replace(oE," ").trim(),cE=e=>{const t=e.length;if(t===0)return!1;const l=e.charCodeAt(0),r=e.charCodeAt(t-1);if(l===32||r===32||l>=9&&l<=13||l===160||r>=9&&r<=13||r===160)return!0;for(let i=0;i<t;i++){const s=e.charCodeAt(i);if(s>=9&&s<=13||s===160||s===32&&i+1<t&&e.charCodeAt(i+1)===32)return!0}return!1},Lo=(...e)=>{const t=Eu(e);if(t)return cE(t)?sE(t):t},J0=e=>e===!1?"false":e===!0?"true":e===0?"0":e,Dn=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},d3=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;const l=e,r=t,i=Object.keys(l),s=Object.keys(r);if(i.length!==s.length)return!1;for(let u=0;u<i.length;u++){const f=i[u];if(!s.includes(f)||l[f]!==r[f])return!1}return!0},uE=(e,t)=>{const l=e;for(const r in t)if(Object.hasOwn(t,r)){const i=t[r];r in l?l[r]=Lo(l[r],i):l[r]=i}return e},h3=(e,t)=>{for(let l=0;l<e.length;l++){const r=e[l];Q0(r)?h3(r,t):r&&t.push(r)}},eh=(...e)=>{const t=[];h3(e,t);const l=[];for(let r=0;r<t.length;r++)t[r]&&l.push(t[r]);return l},Gh=(e,t)=>{const l=e,r=t,i={};for(const s in l){const u=l[s];if(s in r){const f=r[s];Q0(u)||Q0(f)?i[s]=eh(f,u):typeof u=="object"&&typeof f=="object"&&u&&f?i[s]=Gh(u,f):i[s]=f+" "+u}else i[s]=u}for(const s in r)s in l||(i[s]=r[s]);return i},fE={twMerge:!0,twMergeConfig:{}},dE=256,hE=128,tr=Symbol("tv-cache-miss"),mE=e=>(e==null?void 0:e.class)!=null&&e.class!==""||(e==null?void 0:e.className)!=null&&e.className!=="",Cb=e=>{if(e===void 0)return"";if(e===null)return"null";if(typeof e=="string")return e;if(typeof e=="boolean")return e?"true":"false";if(typeof e=="number")return e===0?"0":String(e);if(typeof e=="bigint")return String(e);const t=J0(e),l=typeof t;if(l==="string"||l==="number"||l==="boolean"||l==="bigint")return String(t);if(l==="object")try{return JSON.stringify(t)}catch{return null}return null},Zr=(e,t)=>{if(t===void 0)return e;if(t===null)return e+"null";const l=typeof t;if(l==="string"||l==="number"||l==="boolean"||l==="bigint")return e+String(t);if(Array.isArray(t))return e+t.join("\0");try{return e+JSON.stringify(t)}catch{return e+"?"}},m3=(e,t,l,r)=>{let i="";const s=Object.create(null);for(let f=0;f<e.length;f++){const d=e[f];s[d]=1;let h=t[d];l&&l[d]!==void 0&&(h=l[d]),r&&r[d]!==void 0&&(h=r[d]);const p=Cb(h);if(p===null)return null;i+=d+":"+p+";"}const u=[];for(const f in t)f==="class"||f==="className"||s[f]||(s[f]=1,u.push(f));if(l)for(const f in l)f==="class"||f==="className"||s[f]||l[f]===void 0||(s[f]=1,u.push(f));if(r)for(const f in r)f==="class"||f==="className"||s[f]||r[f]===void 0||(s[f]=1,u.push(f));u.length>1&&u.sort();for(let f=0;f<u.length;f++){const d=u[f];let h=t[d];l&&l[d]!==void 0&&(h=l[d]),r&&r[d]!==void 0&&(h=r[d]);const p=Cb(h);if(p===null)return null;i+=d+":"+p+";"}return i},p3=(e,t)=>{let l="";for(let r=0;r<e.length;r++){const{conditionKeys:i,source:s}=e[r];for(let u=0;u<i.length;u++){const f=i[u];l+=f+"=",l=Zr(l,s[f]),l+=","}l+="c=",l=Zr(l,s.class),l+="|cn=",l=Zr(l,s.className),l+=";"}for(let r=0;r<t.length;r++){const{conditionKeys:i,source:s}=t[r];for(let u=0;u<i.length;u++){const f=i[u];l+=f+"=",l=Zr(l,s[f]),l+=","}Array.isArray(s.slots)&&(l+="slots="+s.slots.join(",")+","),l+="c=",l=Zr(l,s.class),l+="|cn=",l=Zr(l,s.className),l+=";"}return l},g3=(e=dE)=>{let t=new Map,l=null;return{get(r){let i=t.get(r);return i!==void 0||t.has(r)?i:l&&(i=l.get(r),i!==void 0||l.has(r))?(t.set(r,i),i):tr},set(r,i){t.size>=e&&(l=t,t=new Map),t.set(r,i)}}},pE=(e=hE)=>{let t=new Map,l=null,r=0;return{get(i,s){const u=t.get(i);if(u){const f=u.get(s);if(f!==void 0||u.has(s))return f}if(l){const f=l.get(i);if(f){const d=f.get(s);if(d!==void 0||f.has(s)){let h=t.get(i);return h||(h=new Map,t.set(i,h)),h.has(s)||r++,h.set(s,d),d}}}return tr},set(i,s,u){r>=e&&(l=t,t=new Map,r=0);let f=t.get(i);f||(f=new Map,t.set(i,f)),f.has(s)||r++,f.set(s,u)}}},qh=(e,t)=>{let l=null;return(r,i)=>{if(!mE(i))return r;const s=i.class,u=i.className;if(s!=null&&s!==""&&typeof s!="string"||u!=null&&u!==""&&typeof u!="string")return e(t,r,s,u);l??(l=pE());const f=r??"",d=(typeof s=="string"?s:"")+"\0"+(typeof u=="string"?u:""),h=l.get(f,d);if(h!==tr)return h;const p=e(t,r,s,u);return l.set(f,d,p),p}};function gE(){let e=null,t={},l=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return l},set didTwMergeConfigChange(r){l=r},reset(){e=null,t={},l=!1}}}var Ut=gE(),bE=e=>{!Dn(e.twMergeConfig)&&!d3(e.twMergeConfig,Ut.cachedTwMergeConfig)&&(Ut.didTwMergeConfigChange=!0,Ut.cachedTwMergeConfig=e.twMergeConfig)},vE=(e,t)=>{const l=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[i];l.push({key:i,values:s,isEmpty:Dn(s)})}return l},yE=e=>{if(!Array.isArray(e)||e.length===0)return[];const t=[];for(let l=0;l<e.length;l++){const r=e[l],i=[];for(const s in r)s!=="class"&&s!=="className"&&i.push(s);t.push({conditionKeys:i,source:r})}return t},xE=e=>{if(!Array.isArray(e)||e.length===0)return[];const t=[];for(let l=0;l<e.length;l++){const r=e[l],i=[];for(const s in r)s!=="slots"&&s!=="class"&&s!=="className"&&i.push(s);t.push({conditionKeys:i,source:r})}return t},SE=e=>{const t={};for(let l=0;l<e.length;l++){const r=e[l],i=r.source.slots;if(Array.isArray(i))for(let s=0;s<i.length;s++){const u=i[s];t[u]||(t[u]=[]),t[u].push(r)}}return t},wE=(e,t)=>{const{extend:l=null,slots:r={},variants:i={},compoundVariants:s=[],compoundSlots:u=[],defaultVariants:f={}}=e,d={...fE,...t},h=e.slots!==void 0,p=l!=null&&l.base?Lo(l.base,e==null?void 0:e.base):e==null?void 0:e.base,b=l!=null&&l.variants&&!Dn(l.variants)?Gh(i,l.variants):i,v=l!=null&&l.defaultVariants&&!Dn(l.defaultVariants)?{...l.defaultVariants,...f}:f;bE(d);const w=!(l!=null&&l.slots)||Dn(l.slots),x=h?w&&(l!=null&&l.base)?Lo(e==null?void 0:e.base,l.base):typeof(e==null?void 0:e.base)=="string"||(e==null?void 0:e.base)==null?e.base:Lo(e.base):void 0,T=h?{base:x,...r}:{},C=w?T:uE({...l==null?void 0:l.slots},Dn(T)?{base:e==null?void 0:e.base}:T),N=!(l!=null&&l.compoundVariants)||Dn(l.compoundVariants)?s:eh(l==null?void 0:l.compoundVariants,s),M=!(l!=null&&l.compoundSlots)||Dn(l.compoundSlots)?u:eh(l==null?void 0:l.compoundSlots,u),L=Object.keys(b),k=N&&!Array.isArray(N)?new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof N}`):M&&!Array.isArray(M)?new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof M}`):null,B=h||!w?"slots":L.length===0?"plain":"variants";return{config:d,extend:l,base:p,variants:b,defaultVariants:v,slots:C,compoundVariants:N,compoundSlots:M,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:k,mode:B,slotKeys:null,variantKeys:L}},b3=e=>(e.compiledVariants!==null||(e.compiledVariants=vE(e.variants,e.variantKeys),e.compiledCompoundVariants=yE(e.compoundVariants),e.compiledCompoundSlots=xE(e.compoundSlots),e.compiledCompoundSlotsBySlot=SE(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots=="object"?Object.keys(e.slots):[]),e),th=[],v3=[],EE=[],CE=[],TE=[],y3=(e,t,l)=>{const r={};for(const i in e)r[i]=e[i];if(t)for(const i in t)t[i]!==void 0&&(r[i]=t[i]);if(l)for(const i in l)l[i]!==void 0&&(r[i]=l[i]);return r},Sc=e=>e==null||e===!1,RE=(e,t)=>{if(!Array.isArray(e))return e===t||Sc(e)&&Sc(t);for(let l=0;l<e.length;l++){const r=e[l];if(r===t||Sc(r)&&Sc(t))return!0}return!1},x3=(e,t,l,r)=>{if(e.isEmpty)return null;const i=(r==null?void 0:r[e.key])??(l==null?void 0:l[e.key]);if(i===null)return null;const s=J0(i);if(typeof s=="object")return null;const u=t==null?void 0:t[e.key],f=s??J0(u);return e.values[f||"false"]},Yh=(e,t)=>{const{conditionKeys:l,source:r}=e;for(let i=0;i<l.length;i++){const s=l[i];if(!RE(r[s],t[s]))return!1}return!0},Tb=(e,t,l)=>{typeof l=="string"?t==="base"&&e.push(l):l&&typeof l=="object"&&l[t]&&e.push(l[t])},ME=(e,t,l)=>{const r=v3;r.length=0;for(let i=0;i<e.length;i++){const s=x3(e[i],t,l);s&&r.push(s)}return r},AE=(e,t,l,r,i)=>{const s=v3;s.length=0;for(let u=0;u<t.length;u++){const f=x3(t[u],l,r,i),d=e==="base"&&typeof f=="string"?f:f&&f[e];d&&s.push(d)}return s},LE=(e,t)=>{const l=EE;l.length=0;for(let r=0;r<e.length;r++){const i=e[r];Yh(i,t)&&(i.source.class&&l.push(i.source.class),i.source.className&&l.push(i.source.className))}return l},kE=(e,t,l)=>{const r=CE;r.length=0;for(let i=0;i<t.length;i++){const s=t[i];Yh(s,l)&&(Tb(r,e,s.source.class),Tb(r,e,s.source.className))}return r},NE=(e,t)=>{const l=TE;l.length=0;for(let r=0;r<e.length;r++){const i=e[r];Yh(i,t)&&(i.source.class&&l.push(i.source.class),i.source.className&&l.push(i.source.className))}return l},DE=(e,t)=>{const{base:l,config:r}=e;let i=tr;const s=qh(t,r);return(u=>(i===tr&&(i=t(r,l)),s(i,u)))},$E=(e,t)=>{const{base:l,config:r,defaultVariants:i,deferredError:s,variantKeys:u}=e;let f=e.compiledCompoundVariants,d=e.compiledVariants,h=th,p=null;const b=qh(t,r);let v=1;const w=x=>{const T=f.length>0?LE(f,y3(i,x)):void 0;return t(r,l,ME(d,i,x),T)};return(x=>{if(s)throw s;(d===null||f===null)&&(b3(e),d=e.compiledVariants,f=e.compiledCompoundVariants,h=e.compiledCompoundSlots??th);let T;if(v>0)v--,T=w(x);else{p??(p=g3());const C=m3(u,i,x);if(C!==null){const N=f.length>0||h.length>0?p3(f,h):"",M=C+"#"+N,L=p.get(M);L!==tr?T=L:(T=w(x),p.set(M,T))}else T=w(x)}return b(T,x)})},zE=(e,t)=>{const{config:l,defaultVariants:r,deferredError:i,slots:s,variantKeys:u}=e;let f,d="",h=!1,p=1,b=null;return(v=>{if(i)throw i;if(b===null){(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&b3(e);const w=e.compiledVariants,x=e.compiledCompoundVariants,T=e.compiledCompoundSlots,C=e.compiledCompoundSlotsBySlot,N=e.slotKeys,M=x.length>0||T.length>0;let L=null;const k=qh(t,l),B={};for(let G=0;G<N.length;G++){const $=N[G],A=C[$]??th,U=(K,q)=>{const te=M?y3(r,K,q):void 0,ne=te?kE($,x,te):void 0,j=te?NE(A,te):void 0;return t(l,s[$],AE($,w,r,K,q),ne,j)};B[$]=K=>{const q=f;let te;if(!h)te=U(q,K);else{L??(L=g3());const ne=m3(u,r,q,K);if(ne!==null){const j=$+"|"+ne+"#"+d,Y=L.get(j);Y!==tr?te=Y:(te=U(q,K),L.set(j,te))}else te=U(q,K)}return k(te,K)}}b=B}if(f=v,p>0)p--,h=!1,d="";else{h=!0;const w=e.compiledCompoundVariants,x=e.compiledCompoundSlots;d=w&&x&&(w.length>0||x.length>0)?p3(w,x):""}return b})},PE=(e,t)=>{if(e.mode==="plain")return DE(e,t);let l;return(r=>(l??(l=e.mode==="slots"?zE(e,t):$E(e,t)),l(r)))},OE=(e,t)=>{e.variantKeys=t.variantKeys,e.extend=t.extend,e.base=t.base,e.slots=t.slots,e.variants=t.variants,e.defaultVariants=t.defaultVariants,e.compoundSlots=t.compoundSlots,e.compoundVariants=t.compoundVariants},jE=e=>{const t=(r,i)=>{const s=wE(r,i),u=PE(s,e);return OE(u,s),u};return{tv:t,createTV:r=>(i,s)=>t(i,s?Gh(r,s):r)}},IE=(e,t)=>{const l=e.length,r=t.length,i=new Array(l+r);for(let s=0;s<l;s++)i[s]=e[s];for(let s=0;s<r;s++)i[l+s]=t[s];return i},BE=(e,t)=>({classGroupId:e,validator:t}),S3=(e=new Map,t=null,l)=>({nextPart:e,validators:t,classGroupId:l}),Qc="-",Rb=[],HE="arbitrary..",KE=e=>{const t=FE(e),{conflictingClassGroups:l,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u[0]==="["&&u[u.length-1]==="]")return UE(u);const f=u.split(Qc),d=f[0]===""&&f.length>1?1:0;return w3(f,d,t)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=r[u],h=l[u];return d?h?IE(h,d):d:h||Rb}return l[u]||Rb}}},w3=(e,t,l)=>{if(e.length-t===0)return l.classGroupId;const i=e[t],s=l.nextPart.get(i);if(s){const h=w3(e,t+1,s);if(h)return h}const u=l.validators;if(u===null)return;const f=t===0?e.join(Qc):e.slice(t).join(Qc),d=u.length;for(let h=0;h<d;h++){const p=u[h];if(p.validator(f))return p.classGroupId}},UE=e=>{const t=e.slice(1,-1),l=t.indexOf(":");if(l===-1)return;const r=t.slice(0,l);return r?HE+r:void 0},FE=e=>{const{theme:t,classGroups:l}=e;return VE(l,t)},VE=(e,t)=>{const l=S3();for(const r in e){const i=e[r];Xh(i,l,r,t)}return l},Xh=(e,t,l,r)=>{const i=e.length;for(let s=0;s<i;s++){const u=e[s];_E(u,t,l,r)}},_E=(e,t,l,r)=>{if(typeof e=="string"){GE(e,t,l);return}if(typeof e=="function"){qE(e,t,l,r);return}YE(e,t,l,r)},GE=(e,t,l)=>{const r=e===""?t:E3(t,e);r.classGroupId=l},qE=(e,t,l,r)=>{if(XE(e)){Xh(e(r),t,l,r);return}t.validators===null&&(t.validators=[]),t.validators.push(BE(l,e))},YE=(e,t,l,r)=>{const i=Object.entries(e),s=i.length;for(let u=0;u<s;u++){const[f,d]=i[u];Xh(d,E3(t,f),l,r)}},E3=(e,t)=>{let l=e;const r=t.split(Qc),i=r.length;for(let s=0;s<i;s++){const u=r[s];let f=l.nextPart.get(u);f||(f=S3(),l.nextPart.set(u,f)),l=f}return l},XE=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,WE="!",ZE=58,QE=47,JE=91,eC=93,tC=40,nC=41,Mb=33,lC=(e,t,l,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:l,maybePostfixModifierPosition:r,isExternal:void 0}),Ab=e=>{const t=[];let l=0,r=0,i=0,s;const u=e.length;for(let v=0;v<u;v++){const w=e.charCodeAt(v);if(l===0&&r===0){if(w===ZE){t.push(e.slice(i,v)),i=v+1;continue}if(w===QE){s=v;continue}}w===JE?l++:w===eC?l--:w===tC?r++:w===nC&&r--}const f=t.length===0?e:e.slice(i);let d=f,h=!1;const p=f.length-1;f.charCodeAt(p)===Mb?(d=f.slice(0,-1),h=!0):f.charCodeAt(0)===Mb&&(d=f.slice(1),h=!0);const b=s&&s>i?s-i:void 0;return lC(t,h,d,b)},aC=e=>{const t=new Set(e.orderSensitiveModifiers);return l=>{const r=[];let i=[];for(let s=0;s<l.length;s++){const u=l[s],f=u[0]==="[",d=t.has(u);if(f||d){if(i.length>0){i.sort();for(let h=0;h<i.length;h++)r.push(i[h]);i=[]}r.push(u)}else i.push(u)}if(i.length>0){i.sort();for(let s=0;s<i.length;s++)r.push(i[s])}return r}},S0={isExternal:!0,classId:-1,conflictIds:[]},rC=4096,iC=16384,oC=e=>{const t=aC(e),l=sC(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=KE(e);let s=Object.create(null),u=Object.create(null),f=0,d=new Int32Array(256),h=0,p=new Uint8Array(64),b=!1;const v=L=>{const k=[],B=L.length;let G=-1;b=!1;for(let $=0;$<B;$++){const A=L.charCodeAt($);A===32?G!==-1&&(k.push(L.slice(G,$)),G=-1):A>=9&&A<=13?(b=!0,G!==-1&&(k.push(L.slice(G,$)),G=-1)):G===-1&&(G=$)}return G!==-1&&k.push(L.slice(G)),k},w=new Map;let x=0;const T=L=>{let k=w.get(L);if(k===void 0&&(k=x++,w.set(L,k),k>=d.length)){const B=new Int32Array(d.length*2);B.set(d),d=B}return k},C=L=>{const{isExternal:k,modifiers:B,hasImportantModifier:G,baseClassName:$,maybePostfixModifierPosition:A}=Ab(L);if(k)return S0;let U=!!A,K;if(U){const Y=$.substring(0,A);K=r(Y);const z=K&&l[K]?r($):void 0;z&&z!==K&&(K=z,U=!1)}else K=r($);if(!K){if(!U||(K=r($),!K))return S0;U=!1}const q=B.length===0?"":B.length===1?B[0]:t(B).join(":"),te=G?q+WE:q,ne=i(K,U),j=[];for(let Y=0;Y<ne.length;Y++)j.push(T(te+ne[Y]));return{isExternal:!1,classId:T(te+K),conflictIds:j}},N=L=>{let k=s[L];return k!==void 0||(k=u[L],k===void 0&&(k=C(L)),s[L]=k,++f>rC&&(f=0,u=s,s=Object.create(null))),k};return{parseClassName:Ab,sortModifiers:t,postfixLookupClassGroupIds:l,getClassGroupId:r,getConflictingClassGroupIds:i,getClassDescriptor:N,mergeClassList:L=>{const k=v(L),B=k.length;if(B===1)return k[0];x>iC&&(w.clear(),x=0,s=Object.create(null),u=Object.create(null),f=0),h=h+1|0,h===0&&(h=1);const G=h;if(B>p.length){let K=p.length;for(;K<B;)K*=2;p=new Uint8Array(K)}let $=!1,A=0;for(let K=B-1;K>=0;K-=1){const q=k[K];A+=q.length;const te=N(q);if(te.isExternal){p[K]=1;continue}const ne=te.classId;if(d[ne]===G){p[K]=0,$=!0;continue}d[ne]=G;const j=te.conflictIds;for(let Y=0;Y<j.length;Y++)d[j[Y]]=G;p[K]=1}if(!$&&!b&&L.length===A+B-1)return L;let U="";for(let K=0;K<B;K++)p[K]===1&&(U&&(U+=" "),U+=k[K]);return U}}},sC=e=>{const t=Object.create(null),l=e.postfixLookupClassGroups;if(l)for(let r=0;r<l.length;r++)t[l[r]]=!0;return t},cC=500,Lb=e=>{let t,l,r=Object.create(null),i=Object.create(null),s=0;const u=h=>(t=oC(e()),l=t.mergeClassList,d.mergeString=f,f(h)),f=h=>{let p=r[h];return p!==void 0||(p=i[h],p===void 0&&(p=l(h)),r[h]=p,++s>cC&&(s=0,i=r,r=Object.create(null))),p},d=(...h)=>d.mergeString(Eu(h));return d.mergeString=u,d},uC=[],wt=e=>{const t=l=>l[e]||uC;return t.isThemeGetter=!0,t},C3=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,T3=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fC=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,dC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,hC=/\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$/,mC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R3=Number,bC=Number.isNaN,vC=Number.isInteger,aa=e=>fC.test(e),Le=e=>!!e&&!bC(R3(e)),Zn=e=>!!e&&vC(R3(e)),w0=e=>e.endsWith("%")&&Le(e.slice(0,-1)),El=e=>dC.test(e),M3=()=>!0,yC=e=>hC.test(e)&&!mC.test(e),Wh=()=>!1,xC=e=>pC.test(e),SC=e=>gC.test(e),wC=e=>!he(e)&&!pe(e),EC=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),CC=e=>xa(e,k3,Wh),he=e=>C3.test(e),Fa=e=>xa(e,N3,yC),kb=e=>xa(e,DC,Le),TC=e=>xa(e,$3,M3),RC=e=>xa(e,D3,Wh),Nb=e=>xa(e,A3,Wh),MC=e=>xa(e,L3,SC),wc=e=>xa(e,z3,xC),pe=e=>T3.test(e),xo=e=>or(e,N3),AC=e=>or(e,D3),Db=e=>or(e,A3),LC=e=>or(e,k3),kC=e=>or(e,L3),Ec=e=>or(e,z3,!0),NC=e=>or(e,$3,!0),xa=(e,t,l)=>{const r=C3.exec(e);return r?r[1]?t(r[1]):l(r[2]):!1},or=(e,t,l=!1)=>{const r=T3.exec(e);return r?r[1]?t(r[1]):l:!1},A3=e=>e==="position"||e==="percentage",L3=e=>e==="image"||e==="url",k3=e=>e==="length"||e==="size"||e==="bg-size",N3=e=>e==="length",DC=e=>e==="number",D3=e=>e==="family-name",$3=e=>e==="number"||e==="weight",z3=e=>e==="shadow",E0=()=>{const e=wt("color"),t=wt("font"),l=wt("text"),r=wt("font-weight"),i=wt("tracking"),s=wt("leading"),u=wt("breakpoint"),f=wt("container"),d=wt("spacing"),h=wt("radius"),p=wt("shadow"),b=wt("inset-shadow"),v=wt("text-shadow"),w=wt("drop-shadow"),x=wt("blur"),T=wt("perspective"),C=wt("aspect"),N=wt("ease"),M=wt("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...k(),pe,he],G=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],A=()=>[pe,he,d],U=()=>[aa,"full","auto",...A()],K=()=>[Zn,"none","subgrid",pe,he],q=()=>["auto",{span:["full",Zn,pe,he]},Zn,pe,he],te=()=>[Zn,"auto",pe,he],ne=()=>["auto","min","max","fr",pe,he],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Y=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...A()],O=()=>[aa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],oe=()=>[aa,"screen","full","dvw","lvw","svw","min","max","fit",...A()],J=()=>[aa,"screen","full","lh","dvh","lvh","svh","min","max","fit",...A()],_=()=>[e,pe,he],D=()=>[...k(),Db,Nb,{position:[pe,he]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",LC,CC,{size:[pe,he]}],ce=()=>[w0,xo,Fa],H=()=>["","none","full",h,pe,he],ie=()=>["",Le,xo,Fa],xe=()=>["solid","dashed","dotted","double"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>[Le,w0,Db,Nb],Lt=()=>["","none",x,pe,he],it=()=>["none",Le,pe,he],ue=()=>["none",Le,pe,he],fe=()=>[Le,pe,he],Ee=()=>[aa,"full",...A()];return{theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[El],breakpoint:[El],color:[M3],container:[El],"drop-shadow":[El],ease:["in","out","in-out"],font:[wC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[El],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[El],shadow:[El],spacing:["px",Le],text:[El],"text-shadow":[El],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",aa,he,pe,C]}],container:["container"],"container-type":[{"@container":["","normal","size",pe,he]}],"container-named":[EC],columns:[{columns:[Le,he,pe,f]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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"],sr:["sr-only","not-sr-only"],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:B()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:U()}],"inset-x":[{"inset-x":U()}],"inset-y":[{"inset-y":U()}],start:[{"inset-s":U(),start:U()}],end:[{"inset-e":U(),end:U()}],"inset-bs":[{"inset-bs":U()}],"inset-be":[{"inset-be":U()}],top:[{top:U()}],right:[{right:U()}],bottom:[{bottom:U()}],left:[{left:U()}],visibility:["visible","invisible","collapse"],z:[{z:[Zn,"auto",pe,he]}],basis:[{basis:[aa,"full","auto",f,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Le,aa,"auto","initial","none",he]}],grow:[{grow:["",Le,pe,he]}],shrink:[{shrink:["",Le,pe,he]}],order:[{order:[Zn,"first","last","none",pe,he]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...Y(),"normal"]}],"justify-self":[{"justify-self":["auto",...Y()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...Y(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Y(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...Y(),"baseline"]}],"place-self":[{"place-self":["auto",...Y()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pbs:[{pbs:A()}],pbe:[{pbe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...oe()]}],"min-inline-size":[{"min-inline":["auto",...oe()]}],"max-inline-size":[{"max-inline":["none",...oe()]}],"block-size":[{block:["auto",...J()]}],"min-block-size":[{"min-block":["auto",...J()]}],"max-block-size":[{"max-block":["none",...J()]}],w:[{w:[f,"screen",...O()]}],"min-w":[{"min-w":[f,"screen","none",...O()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[u]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",l,xo,Fa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,NC,TC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",w0,he]}],"font-family":[{font:[AC,RC,t]}],"font-features":[{"font-features":[he]}],"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:[i,pe,he]}],"line-clamp":[{"line-clamp":[Le,"none",pe,kb]}],leading:[{leading:[s,...A()]}],"list-image":[{"list-image":["none",pe,he]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",pe,he]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:_()}],"text-color":[{text:_()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Le,"from-font","auto",pe,Fa]}],"text-decoration-color":[{decoration:_()}],"underline-offset":[{"underline-offset":[Le,"auto",pe,he]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"tab-size":[{tab:[Zn,pe,he]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pe,he]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",pe,he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:se()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Zn,pe,he],radial:["",pe,he],conic:[Zn,pe,he]},kC,MC]}],"bg-color":[{bg:_()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:_()}],"gradient-via":[{via:_()}],"gradient-to":[{to:_()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:_()}],"border-color-x":[{"border-x":_()}],"border-color-y":[{"border-y":_()}],"border-color-s":[{"border-s":_()}],"border-color-e":[{"border-e":_()}],"border-color-bs":[{"border-bs":_()}],"border-color-be":[{"border-be":_()}],"border-color-t":[{"border-t":_()}],"border-color-r":[{"border-r":_()}],"border-color-b":[{"border-b":_()}],"border-color-l":[{"border-l":_()}],"divide-color":[{divide:_()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Le,pe,he]}],"outline-w":[{outline:["",Le,xo,Fa]}],"outline-color":[{outline:_()}],shadow:[{shadow:["","none",p,Ec,wc]}],"shadow-color":[{shadow:_()}],"inset-shadow":[{"inset-shadow":["none",b,Ec,wc]}],"inset-shadow-color":[{"inset-shadow":_()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:_()}],"ring-offset-w":[{"ring-offset":[Le,Fa]}],"ring-offset-color":[{"ring-offset":_()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":_()}],"text-shadow":[{"text-shadow":["none",v,Ec,wc]}],"text-shadow-color":[{"text-shadow":_()}],opacity:[{opacity:[Le,pe,he]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Le]}],"mask-image-linear-from-pos":[{"mask-linear-from":de()}],"mask-image-linear-to-pos":[{"mask-linear-to":de()}],"mask-image-linear-from-color":[{"mask-linear-from":_()}],"mask-image-linear-to-color":[{"mask-linear-to":_()}],"mask-image-t-from-pos":[{"mask-t-from":de()}],"mask-image-t-to-pos":[{"mask-t-to":de()}],"mask-image-t-from-color":[{"mask-t-from":_()}],"mask-image-t-to-color":[{"mask-t-to":_()}],"mask-image-r-from-pos":[{"mask-r-from":de()}],"mask-image-r-to-pos":[{"mask-r-to":de()}],"mask-image-r-from-color":[{"mask-r-from":_()}],"mask-image-r-to-color":[{"mask-r-to":_()}],"mask-image-b-from-pos":[{"mask-b-from":de()}],"mask-image-b-to-pos":[{"mask-b-to":de()}],"mask-image-b-from-color":[{"mask-b-from":_()}],"mask-image-b-to-color":[{"mask-b-to":_()}],"mask-image-l-from-pos":[{"mask-l-from":de()}],"mask-image-l-to-pos":[{"mask-l-to":de()}],"mask-image-l-from-color":[{"mask-l-from":_()}],"mask-image-l-to-color":[{"mask-l-to":_()}],"mask-image-x-from-pos":[{"mask-x-from":de()}],"mask-image-x-to-pos":[{"mask-x-to":de()}],"mask-image-x-from-color":[{"mask-x-from":_()}],"mask-image-x-to-color":[{"mask-x-to":_()}],"mask-image-y-from-pos":[{"mask-y-from":de()}],"mask-image-y-to-pos":[{"mask-y-to":de()}],"mask-image-y-from-color":[{"mask-y-from":_()}],"mask-image-y-to-color":[{"mask-y-to":_()}],"mask-image-radial":[{"mask-radial":[pe,he]}],"mask-image-radial-from-pos":[{"mask-radial-from":de()}],"mask-image-radial-to-pos":[{"mask-radial-to":de()}],"mask-image-radial-from-color":[{"mask-radial-from":_()}],"mask-image-radial-to-color":[{"mask-radial-to":_()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[Le]}],"mask-image-conic-from-pos":[{"mask-conic-from":de()}],"mask-image-conic-to-pos":[{"mask-conic-to":de()}],"mask-image-conic-from-color":[{"mask-conic-from":_()}],"mask-image-conic-to-color":[{"mask-conic-to":_()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",pe,he]}],filter:[{filter:["","none",pe,he]}],blur:[{blur:Lt()}],brightness:[{brightness:[Le,pe,he]}],contrast:[{contrast:[Le,pe,he]}],"drop-shadow":[{"drop-shadow":["","none",w,Ec,wc]}],"drop-shadow-color":[{"drop-shadow":_()}],grayscale:[{grayscale:["",Le,pe,he]}],"hue-rotate":[{"hue-rotate":[Le,pe,he]}],invert:[{invert:["",Le,pe,he]}],saturate:[{saturate:[Le,pe,he]}],sepia:[{sepia:["",Le,pe,he]}],"backdrop-filter":[{"backdrop-filter":["","none",pe,he]}],"backdrop-blur":[{"backdrop-blur":Lt()}],"backdrop-brightness":[{"backdrop-brightness":[Le,pe,he]}],"backdrop-contrast":[{"backdrop-contrast":[Le,pe,he]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Le,pe,he]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Le,pe,he]}],"backdrop-invert":[{"backdrop-invert":["",Le,pe,he]}],"backdrop-opacity":[{"backdrop-opacity":[Le,pe,he]}],"backdrop-saturate":[{"backdrop-saturate":[Le,pe,he]}],"backdrop-sepia":[{"backdrop-sepia":["",Le,pe,he]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",pe,he]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Le,"initial",pe,he]}],ease:[{ease:["linear","initial",N,pe,he]}],delay:[{delay:[Le,pe,he]}],animate:[{animate:["none",M,pe,he]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,pe,he]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:it()}],"rotate-x":[{"rotate-x":it()}],"rotate-y":[{"rotate-y":it()}],"rotate-z":[{"rotate-z":it()}],scale:[{scale:ue()}],"scale-x":[{"scale-x":ue()}],"scale-y":[{"scale-y":ue()}],"scale-z":[{"scale-z":ue()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[pe,he,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ee()}],"translate-x":[{"translate-x":Ee()}],"translate-y":[{"translate-y":Ee()}],"translate-z":[{"translate-z":Ee()}],"translate-none":["translate-none"],zoom:[{zoom:[Zn,pe,he]}],accent:[{accent:_()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:_()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",pe,he]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":_()}],"scrollbar-track-color":[{"scrollbar-track":_()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mbs":[{"scroll-mbs":A()}],"scroll-mbe":[{"scroll-mbe":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pbs":[{"scroll-pbs":A()}],"scroll-pbe":[{"scroll-pbe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",pe,he]}],fill:[{fill:["none",..._()]}],"stroke-w":[{stroke:[Le,xo,Fa,kb]}],stroke:[{stroke:["none",..._()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","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-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},$C=(e,{extend:t={},override:l={}})=>(Cc(e.theme,l.theme),Cc(e.classGroups,l.classGroups),Cc(e.conflictingClassGroups,l.conflictingClassGroups),Cc(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),nh(e,"postfixLookupClassGroups",l.postfixLookupClassGroups),nh(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Tc(e.theme,t.theme),Tc(e.classGroups,t.classGroups),Tc(e.conflictingClassGroups,t.conflictingClassGroups),Tc(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),lh(e,t,"postfixLookupClassGroups"),lh(e,t,"orderSensitiveModifiers"),e),nh=(e,t,l)=>{l!==void 0&&(e[t]=l)},Cc=(e,t)=>{if(t)for(const l in t)nh(e,l,t[l])},Tc=(e,t)=>{if(t)for(const l in t)lh(e,t,l)},lh=(e,t,l)=>{const r=t[l];r!==void 0&&(e[l]=e[l]?e[l].concat(r):r)},P3=e=>Lb(e?typeof e=="function"?()=>e(E0()):()=>$C(E0(),e):E0),zC=e=>{if(Dn(e))return;const t=e,l={...t.extend??{}};for(const i of["theme","classGroups","conflictingClassGroups","conflictingClassGroupModifiers","postfixLookupClassGroups","orderSensitiveModifiers","cacheSize","prefix","separator","experimentalParseClassName"])t[i]!==void 0&&l[i]===void 0&&(l[i]=t[i]);const r={};if(Object.keys(l).length>0&&(r.extend=l),t.override!=null&&!Dn(t.override)&&(r.override=t.override),!(!r.extend&&!r.override))return r},PC=e=>{const t=zC(e),l=P3(t);return r=>l.mergeString(r)},Kc,OC=()=>(Kc||(Kc=P3()),Kc),jC=()=>((!Ut.cachedTwMerge||Ut.didTwMergeConfigChange)&&(Ut.didTwMergeConfigChange=!1,Ut.cachedTwMerge=PC(Ut.cachedTwMergeConfig)),Ut.cachedTwMerge),IC=e=>{const t=e==null?void 0:e.twMergeConfig;!t||Dn(t)||d3(t,Ut.cachedTwMergeConfig)||(Ut.cachedTwMergeConfig=t,Ut.didTwMergeConfigChange=!0)},BC=e=>Eu(e),HC=Ut.reset.bind(Ut);Ut.reset=()=>{Kc=void 0,HC()};var KC=(e,t)=>{const l=BC(e);return!l||!((t==null?void 0:t.twMerge)??!0)?l||void 0:l.indexOf(" ")===-1?l:(IC(t),(!!(t!=null&&t.twMergeConfig&&!Dn(t.twMergeConfig))?jC():OC().mergeString)(l)||void 0)},UC=(e,...t)=>KC(t,e),FC=jE(UC),vn=FC.tv,VC=Lo;const _C=vn({defaultVariants:{status:"default"},slots:{base:"alert",content:"alert__content",description:"alert__description",indicator:"alert__indicator",title:"alert__title"},variants:{status:{accent:{base:"alert--accent"},danger:{base:"alert--danger"},default:{base:"alert--default"},success:{base:"alert--success"},warning:{base:"alert--warning"}}}}),GC=vn({defaultVariants:{color:"default",size:"md"},slots:{base:"avatar",fallback:"avatar__fallback",image:"avatar__image"},variants:{color:{accent:{fallback:"avatar__fallback--accent"},danger:{fallback:"avatar__fallback--danger"},default:{fallback:"avatar__fallback--default"},success:{fallback:"avatar__fallback--success"},warning:{fallback:"avatar__fallback--warning"}},size:{lg:{base:"avatar--lg"},md:{base:"avatar--md"},sm:{base:"avatar--sm"}},variant:{default:{},soft:{base:"avatar--soft"}}}}),qC=vn({base:"button",defaultVariants:{fullWidth:!1,isIconOnly:!1,size:"md",variant:"primary"},variants:{fullWidth:{false:"",true:"button--full-width"},isIconOnly:{true:"button--icon-only"},size:{lg:"button--lg",md:"button--md",sm:"button--sm"},variant:{danger:"button--danger","danger-soft":"button--danger-soft",ghost:"button--ghost",outline:"button--outline",primary:"button--primary",secondary:"button--secondary",tertiary:"button--tertiary"}}}),YC=vn({defaultVariants:{fullWidth:!1,orientation:"horizontal"},slots:{base:"button-group",separator:"button-group__separator"},variants:{fullWidth:{false:{},true:{base:"button-group--full-width"}},orientation:{horizontal:{base:"button-group--horizontal"},vertical:{base:"button-group--vertical"}}}}),XC=vn({defaultVariants:{variant:"primary"},slots:{base:"checkbox",content:"checkbox__content",control:"checkbox__control",indicator:"checkbox__indicator"},variants:{variant:{primary:{base:"checkbox--primary"},secondary:{base:"checkbox--secondary"}}}}),WC=vn({base:"close-button",defaultVariants:{variant:"default"},variants:{variant:{default:"close-button--default"}}}),ZC=vn({slots:{base:"link",icon:"link__icon"}}),Zh=vn({defaultVariants:{scroll:"inside",size:"md",variant:"opaque"},slots:{backdrop:"modal__backdrop",body:"modal__body",closeTrigger:"modal__close-trigger",container:"modal__container",dialog:"modal__dialog",footer:"modal__footer",header:"modal__header",heading:"modal__heading",icon:"modal__icon",trigger:"modal__trigger"},variants:{scroll:{inside:{body:"modal__body--scroll-inside",dialog:"modal__dialog--scroll-inside"},outside:{body:"modal__body--scroll-outside",container:"modal__container--scroll-outside",dialog:"modal__dialog--scroll-outside"}},size:{cover:{dialog:"modal__dialog--cover"},full:{container:"modal__container--full",dialog:"modal__dialog--full"},lg:{dialog:"modal__dialog--lg"},md:{dialog:"modal__dialog--md"},sm:{dialog:"modal__dialog--sm"},xs:{dialog:"modal__dialog--xs"}},variant:{blur:{backdrop:"modal__backdrop--blur"},opaque:{backdrop:"modal__backdrop--opaque"},transparent:{backdrop:"modal__backdrop--transparent"}}}}),QC=vn({defaultVariants:{hideScrollBar:!1,orientation:"vertical",variant:"fade"},slots:{base:"scroll-shadow"},variants:{hideScrollBar:{false:{},true:{base:"scroll-shadow--hide-scrollbar"}},orientation:{horizontal:{base:"scroll-shadow--horizontal"},vertical:{base:"scroll-shadow--vertical"}},variant:{fade:{base:"scroll-shadow--fade"}}}}),JC=vn({base:"spinner",defaultVariants:{color:"accent",size:"md"},variants:{color:{accent:"spinner--accent",current:"spinner--current",danger:"spinner--danger",success:"spinner--success",warning:"spinner--warning"},size:{lg:"spinner--lg",md:"spinner--md",sm:"spinner--sm",xl:"spinner--xl"}}}),eT=vn({base:"surface",defaultVariants:{variant:"default"},variants:{variant:{default:"surface--default",secondary:"surface--secondary",tertiary:"surface--tertiary",transparent:"surface--transparent"}}}),tT=vn({defaultVariants:{variant:"primary"},slots:{base:"tabs",scrollNext:"tabs__list-container__scroll-next",scrollPrev:"tabs__list-container__scroll-prev",scroller:"tabs__list-container__scroller",separator:"tabs__separator",tab:"tabs__tab",tabIndicator:"tabs__indicator",tabList:"tabs__list",tabListContainer:"tabs__list-container",tabPanel:"tabs__panel"},variants:{variant:{primary:{},secondary:{base:"tabs--secondary"}}}}),nT=vn({defaultVariants:{placement:"bottom",variant:"default"},slots:{action:"toast__action",close:"toast__close-button",content:"toast__content",description:"toast__description",indicator:"toast__indicator",region:"toast-region",title:"toast__title",toast:"toast"},variants:{placement:{bottom:{region:"toast-region--bottom",toast:"toast--bottom"},"bottom end":{region:"toast-region--bottom-end",toast:"toast--bottom-end"},"bottom start":{region:"toast-region--bottom-start",toast:"toast--bottom-start"},top:{region:"toast-region--top",toast:"toast--top"},"top end":{region:"toast-region--top-end",toast:"toast--top-end"},"top start":{region:"toast-region--top-start",toast:"toast--top-start"}},variant:{accent:{toast:"toast--accent"},danger:{toast:"toast--danger"},default:{toast:"toast--default"},success:{toast:"toast--success"},warning:{toast:"toast--warning"}}}}),fi=Symbol("default");function sr({values:e,children:t}){for(let[l,r]of e)t=V.createElement(l.Provider,{value:r},t);return t}function At(e){let{className:t,style:l,children:r,defaultClassName:i,defaultChildren:s,defaultStyle:u,values:f,render:d}=e;return y.useMemo(()=>{let h,p,b;return typeof t=="function"?h=t({...f,defaultClassName:i}):h=t,typeof l=="function"?p=l({...f,defaultStyle:u||{}}):p=l,typeof r=="function"?b=r({...f,defaultChildren:s}):r==null?b=s:b=r,{className:h??i,style:p||u?{...u,...p}:void 0,children:b??s,"data-rac":"",render:d?v=>d(v,f):void 0}},[t,l,r,i,s,u,f,d])}function lT(e,t){return l=>t(typeof e=="function"?e(l):e,l)}function Cu(e,t){let l=y.useContext(e);if(t===null)return null;if(l&&typeof l=="object"&&"slots"in l&&l.slots){let r=t||fi;if(!l.slots[r]){let i=new Intl.ListFormat().format(Object.keys(l.slots).map(u=>`"${u}"`)),s=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${s} Valid slot names are ${i}.`)}return l.slots[r]}return l}function yn(e,t,l){let r=Cu(l,e.slot)||{},{ref:i,...s}=r,u=bn(y.useMemo(()=>ya(t,i),[t,i])),f=Ce(s,e);return"style"in s&&s.style&&"style"in e&&e.style&&(typeof s.style=="function"||typeof e.style=="function"?f.style=d=>{let h=typeof s.style=="function"?s.style(d):s.style,p={...d.defaultStyle,...h},b=typeof e.style=="function"?e.style({...d,defaultStyle:p}):e.style;return{...p,...b}}:f.style={...s.style,...e.style}),[f,u]}function pz(e=!0){let[t,l]=y.useState(e),r=y.useRef(!1),i=y.useCallback(s=>{r.current=!0,l(!!s)},[]);return Ne(()=>{r.current||l(!1)},[]),[i,t]}function aT(e){const t=/^(data-.*)$/;let l={};for(const r in e)t.test(r)||(l[r]=e[r]);return l}function rT(e,t,l){let{render:r,...i}=t,s=y.useRef(null),u=y.useMemo(()=>ya(l,s),[l,s]);Ne(()=>{},[e,r]);let f={...i,ref:u};return r?r(f,void 0):V.createElement(e,f)}const $b={},ut=new Proxy({},{get(e,t){if(typeof t!="string")return;let l=$b[t];return l||(l=y.forwardRef(rT.bind(null,t)),$b[t]=l),l}});typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));const Jc=y.createContext(!1);function iT(e){if(y.useContext(Jc))return V.createElement(V.Fragment,null,e.children);let l=V.createElement(Jc.Provider,{value:!0},e.children);return V.createElement("template",null,l)}function O3(e){let t=(l,r)=>y.useContext(Jc)?null:e(l,r);return t.displayName=e.displayName||e.name,y.forwardRef(t)}function oT(){return y.useContext(Jc)}const sT=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),cT=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function uT(e){if(Intl.Locale){let l=new Intl.Locale(e).maximize(),r=typeof l.getTextInfo=="function"?l.getTextInfo():l.textInfo;if(r)return r.direction==="rtl";if(l.script)return sT.has(l.script)}let t=e.split("-")[0];return cT.has(t)}const j3=Symbol.for("react-aria.i18n.locale");function I3(){let e=typeof window<"u"&&window[j3]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:uT(e)?"rtl":"ltr"}}let ah=I3(),Ro=new Set;function zb(){ah=I3();for(let e of Ro)e(ah)}function fT(){let e=Nl(),[t,l]=y.useState(ah);return y.useEffect(()=>(Ro.size===0&&window.addEventListener("languagechange",zb),Ro.add(l),()=>{Ro.delete(l),Ro.size===0&&window.removeEventListener("languagechange",zb)}),[]),e?{locale:typeof window<"u"&&window[j3]||"en-US",direction:"ltr"}:t}const dT=V.createContext(null);function bi(){let e=fT();return y.useContext(dT)||e}const hT=y.createContext(null),B3=7e3;let Qn=null;function Pb(e,t="assertive",l=B3){Qn?Qn.announce(e,t,l):(Qn=new mT,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Qn.announce(e,t,l):setTimeout(()=>{Qn!=null&&Qn.isAttached()&&(Qn==null||Qn.announce(e,t,l))},100))}class mT{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){var t;return(t=this.node)==null?void 0:t.isConnected}createLog(t){let l=document.createElement("div");return l.setAttribute("role","log"),l.setAttribute("aria-live",t),l.setAttribute("aria-relevant","additions"),l}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,l="assertive",r=B3){var s,u;if(!this.node)return;let i=document.createElement("div");typeof t=="object"?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",t["aria-labelledby"])):i.textContent=t,l==="assertive"?(s=this.assertiveLog)==null||s.appendChild(i):(u=this.politeLog)==null||u.appendChild(i),t!==""&&setTimeout(()=>{i.remove()},r)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}}function Qh(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function H3(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function K3(e){let t=y.useRef({isFocused:!1,observer:null});return Ne(()=>{const l=t.current;return()=>{l.observer&&(l.observer.disconnect(),l.observer=null)}},[]),y.useCallback(l=>{let r=ve(l);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let i=r,s=u=>{if(t.current.isFocused=!1,i.disabled){let f=Qh(u);e==null||e(f)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",s,{once:!0}),t.current.observer=new MutationObserver(()=>{var u;if(t.current.isFocused&&i.disabled){(u=t.current.observer)==null||u.disconnect();let f=i===et()?null:et();i.dispatchEvent(new FocusEvent("blur",{relatedTarget:f})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:f}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let eu=!1;function pT(e){for(;e&&!c3(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=jt(e),l=t.document.activeElement;if(!l||l===e)return;eu=!0;let r=!1,i=p=>{(ve(p)===l||r)&&p.stopImmediatePropagation()},s=p=>{(ve(p)===l||r)&&(p.stopImmediatePropagation(),!e&&!r&&(r=!0,en(l),d()))},u=p=>{(ve(p)===e||r)&&p.stopImmediatePropagation()},f=p=>{(ve(p)===e||r)&&(p.stopImmediatePropagation(),r||(r=!0,en(l),d()))};t.addEventListener("blur",i,!0),t.addEventListener("focusout",s,!0),t.addEventListener("focusin",f,!0),t.addEventListener("focus",u,!0);let d=()=>{cancelAnimationFrame(h),t.removeEventListener("blur",i,!0),t.removeEventListener("focusout",s,!0),t.removeEventListener("focusin",f,!0),t.removeEventListener("focus",u,!0),eu=!1,r=!1},h=requestAnimationFrame(d);return d}let Ll=null;const Io=new Set;let ko=new Map,nr=!1,rh=!1;const gT={Tab:!0,Escape:!0};function Tu(e,t){for(let l of Io)l(e,t)}function bT(e){return!(e.metaKey||!Vn()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function tu(e){nr=!0,!Al.isOpening&&bT(e)&&(Ll="keyboard",Tu("keyboard",e))}function di(e){Ll="pointer","pointerType"in e&&e.pointerType,(e.type==="mousedown"||e.type==="pointerdown")&&(nr=!0,Tu("pointer",e))}function U3(e){!Al.isOpening&&o3(e)&&(nr=!0,Ll="virtual")}function F3(e){let t=jt(ve(e)),l=He(ve(e));ve(e)===t||ve(e)===l||eu||!e.isTrusted||(!nr&&!rh&&(Ll="virtual",Tu("virtual",e)),nr=!1,rh=!1)}function V3(){eu||(nr=!1,rh=!0)}function nu(e){if(typeof window>"u"||typeof document>"u")return;const t=jt(e),l=He(e);if(ko.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){nr=!0,r.apply(this,arguments)}}),l.addEventListener("keydown",tu,!0),l.addEventListener("keyup",tu,!0),l.addEventListener("click",U3,!0),t.addEventListener("focus",F3,!0),t.addEventListener("blur",V3,!1),typeof PointerEvent<"u"&&(l.addEventListener("pointerdown",di,!0),l.addEventListener("pointermove",di,!0),l.addEventListener("pointerup",di,!0)),t.addEventListener("beforeunload",()=>{_3(e)},{once:!0}),ko.set(t,{focus:r})}const _3=(e,t)=>{const l=jt(e),r=He(e);t&&r.removeEventListener("DOMContentLoaded",t),ko.has(l)&&(Reflect.defineProperty(l.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:ko.get(l).focus}),r.removeEventListener("keydown",tu,!0),r.removeEventListener("keyup",tu,!0),r.removeEventListener("click",U3,!0),l.removeEventListener("focus",F3,!0),l.removeEventListener("blur",V3,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",di,!0),r.removeEventListener("pointermove",di,!0),r.removeEventListener("pointerup",di,!0)),ko.delete(l))};function vT(e){const t=He(e);let l;return t.readyState!=="loading"?nu(e):(l=()=>{nu(e)},t.addEventListener("DOMContentLoaded",l)),()=>_3(e,l)}typeof document<"u"&&vT();function ih(){return Ll!=="pointer"}function pa(){return Ll}function yT(e){Ll=e,Tu(e,null)}function gz(){nu();let[e,t]=y.useState(Ll);return y.useEffect(()=>{let l=()=>{t(Ll)};return Io.add(l),()=>{Io.delete(l)}},[]),Nl()?null:e}const xT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ST(e,t,l){let r=l?ve(l):void 0,i=He(r),s=jt(r);const u=typeof s<"u"?s.HTMLInputElement:HTMLInputElement,f=typeof s<"u"?s.HTMLTextAreaElement:HTMLTextAreaElement,d=typeof s<"u"?s.HTMLElement:HTMLElement,h=typeof s<"u"?s.KeyboardEvent:KeyboardEvent;let p=et(i);return e=e||p instanceof u&&!xT.has(p.type)||p instanceof f||p instanceof d&&p.isContentEditable,!(e&&t==="keyboard"&&l instanceof h&&!gT[l.key])}function wT(e,t,l){nu(),y.useEffect(()=>{if((l==null?void 0:l.enabled)===!1)return;let r=(i,s)=>{ST(!!(l!=null&&l.isTextInput),i,s)&&e(ih())};return Io.add(r),()=>{Io.delete(r)}},t)}function va(e){if(!e.isConnected)return;const t=He(e);if(pa()==="virtual"){let l=et(t);r3(()=>{const r=et(t);(r===l||r===t.body)&&e.isConnected&&en(e)})}else en(e)}function G3(e){let{isDisabled:t,onFocus:l,onBlur:r,onFocusChange:i}=e;const s=y.useCallback(d=>{if(ve(d)===d.currentTarget)return r&&r(d),i&&i(!1),!0},[r,i]),u=K3(s),f=y.useCallback(d=>{let h=ve(d);const p=He(h),b=p?et(p):et();h===d.currentTarget&&h===b&&(l&&l(d),i&&i(!0),u(d))},[i,l,u]);return{focusProps:{onFocus:!t&&(l||i||r)?f:void 0,onBlur:!t&&(r||i)?s:void 0}}}function Rc(e){if(e)return t=>{let l=!0,r={...t,preventDefault(){t.preventDefault()},isDefaultPrevented(){return t.isDefaultPrevented()},stopPropagation(){l=!0},continuePropagation(){l=!1,typeof t.continuePropagation=="function"&&t.continuePropagation()},isPropagationStopped(){return l}};e(r),l&&!(typeof t.isPropagationStopped=="function"&&t.isPropagationStopped())&&t.stopPropagation()}}const ET=new Set(["shift","alt","control","meta","mod"]),CT=["Alt","Control","Meta","Shift"];function TT(e){let t=new Set;return e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(Vn()?"Meta":"Control"),t}function RT(e){let t=new Set;return e.altKey&&t.add("Alt"),e.ctrlKey&&t.add("Control"),e.metaKey&&t.add("Meta"),e.shiftKey&&t.add("Shift"),t}function q3(e){return CT.filter(t=>e.has(t))}function MT(e){let t=e.split("+").reduce((l,r)=>{let i=r.toLowerCase();return ET.has(i)?i==="shift"?l.shift=!0:i==="alt"?l.alt=!0:i==="control"?l.ctrl=!0:i==="meta"?l.meta=!0:i==="mod"&&(l.mod=!0):l.key=r,l},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(t.key==="")throw new Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function Y3(e){return e.toLowerCase()}const AT={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function LT(e){let t=Y3(e),l=AT[t];return l??t}function kT(e){let t=q3(TT(e)),l=LT(e.key);return t.length>0?`${t.join("+")}+${l}`:l}function NT(e){let t=q3(RT(e)),l=Y3(e.key);return(t.length>0?`${t.join("+")}+`:"")+l}function DT(e){let t=new Map;for(let[l,r]of Object.entries(e)){let i=MT(l);t.set(kT(i),r)}return l=>{let r=NT(l),i=t.get(r),s=i==null?void 0:i(l);s===void 0&&i!==void 0?s={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof s=="boolean"&&(s={shouldContinuePropagation:!s,shouldPreventDefault:s}),s!=null&&s.shouldPreventDefault&&l.preventDefault(),(!i||s!=null&&s.shouldContinuePropagation)&&l.continuePropagation()}}function lu(e){let{shortcuts:t,allowRepeats:l=!1,allowComposing:r=!1}=e,i,s;if(t){let u=DT(t),f=Rc(h=>{var p,b;if(!Ie(h.currentTarget,ve(h))){h.continuePropagation();return}if((p=h.nativeEvent)!=null&&p.repeat&&!l||(b=h.nativeEvent)!=null&&b.isComposing&&!r){h.continuePropagation();return}u(h)}),d=Rc(h=>{var p,b;if(!Ie(h.currentTarget,ve(h))){h.continuePropagation();return}if((p=h.nativeEvent)!=null&&p.repeat&&!l||(b=h.nativeEvent)!=null&&b.isComposing&&!r){h.continuePropagation();return}h.continuePropagation()});i=e.onKeyDown?er(e.onKeyDown,f):f,s=e.onKeyUp?er(e.onKeyUp,d):d}else i=Rc(e.onKeyDown),s=Rc(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:i,onKeyUp:s}}}let Bo=V.createContext(null);function $T(e){let t=y.useContext(Bo)||{};Uh(t,e);let{ref:l,...r}=t;return r}const bz=V.forwardRef(function(t,l){let{children:r,...i}=t,s=bn(l),u={...i,ref:s};return V.createElement(Bo.Provider,{value:u},r)});function qo(e,t){let{focusProps:l}=G3(e),{keyboardProps:r}=lu(e),i=Ce(l,r),s=$T(t),u=e.isDisabled?{}:s,f=y.useRef(e.autoFocus);y.useEffect(()=>{f.current&&t.current&&va(t.current),f.current=!1},[t]);let d=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(d=void 0),{focusableProps:Ce({...i,tabIndex:d},u)}}let ii="default",oh="",Uc=new WeakMap;function zT(e){if(ba()&&Ml()){if(ii==="default"){const t=He(e);oh=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}ii="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";Uc.set(e,e.style[t]),e.style[t]="none"}}function Ob(e){if(ba()&&Ml()){if(ii!=="disabled")return;ii="restoring",setTimeout(()=>{r3(()=>{if(ii==="restoring"){const t=He(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=oh||""),oh="",ii="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Uc.has(e)){let t=Uc.get(e),l="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[l]==="none"&&(e.style[l]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Uc.delete(e)}}const Ho=V.createContext({register:()=>{}});Ho.displayName="PressResponderContext";function PT(e){let t=y.useContext(Ho);if(t){let{register:l,ref:r,...i}=t;e=Ce(i,e),l()}return Uh(t,e.ref),e}var mi;class Mc{constructor(t,l,r,i){Ng(this,mi);Xd(this,mi,!0);let s=(i==null?void 0:i.target)??r.currentTarget;const u=s==null?void 0:s.getBoundingClientRect();let f,d=0,h,p=null;r.clientX!=null&&r.clientY!=null&&(h=r.clientX,p=r.clientY),u&&(h!=null&&p!=null?(f=h-u.left,d=p-u.top):(f=u.width/2,d=u.height/2)),this.type=t,this.pointerType=l,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=f,this.y=d,this.key=r.key}continuePropagation(){Xd(this,mi,!1)}get shouldStopPropagation(){return kg(this,mi)}}mi=new WeakMap;const jb=Symbol("linkClicked"),Ib="react-aria-pressable-style",Bb="data-react-aria-pressable";function lr(e){let{onPress:t,onPressChange:l,onPressStart:r,onPressEnd:i,onPressUp:s,onClick:u,isDisabled:f,isPressed:d,preventFocusOnPress:h,shouldCancelOnPointerExit:p,allowTextSelectionOnPress:b,ref:v,...w}=PT(e),[x,T]=y.useState(!1),C=y.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:N,removeAllGlobalListeners:M}=Su(),L=y.useCallback((j,Y)=>{let z=C.current;if(f||z.didFirePressStart)return!1;let O=!0;if(z.isTriggeringEvent=!0,r){let oe=new Mc("pressstart",Y,j);r(oe),O=oe.shouldStopPropagation}return l&&l(!0),z.isTriggeringEvent=!1,z.didFirePressStart=!0,T(!0),O},[f,r,l]),k=y.useCallback((j,Y,z=!0)=>{let O=C.current;if(!O.didFirePressStart)return!1;O.didFirePressStart=!1,O.isTriggeringEvent=!0;let oe=!0;if(i){let J=new Mc("pressend",Y,j);i(J),oe=J.shouldStopPropagation}if(l&&l(!1),T(!1),t&&z&&!f){let J=new Mc("press",Y,j);t(J),oe&&(oe=J.shouldStopPropagation)}return O.isTriggeringEvent=!1,oe},[f,i,l,t]),B=Fn(k),G=y.useCallback((j,Y)=>{let z=C.current;if(f)return!1;if(s){z.isTriggeringEvent=!0;let O=new Mc("pressup",Y,j);return s(O),z.isTriggeringEvent=!1,O.shouldStopPropagation}return!0},[f,s]),$=Fn(G),A=y.useCallback(j=>{let Y=C.current;if(Y.isPressed&&Y.target){Y.didFirePressStart&&Y.pointerType!=null&&k(Va(Y.target,j),Y.pointerType,!1),Y.isPressed=!1,Y.isOverTarget=!1,Y.activePointerId=null,Y.pointerType=null,M(),b||Ob(Y.target);for(let z of Y.disposables)z();Y.disposables=[]}},[b,M,k]),U=Fn(A);y.useEffect(()=>{f&&C.current.isPressed&&U({currentTarget:C.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[f]);let K=y.useCallback(j=>{p&&A(j)},[p,A]),q=y.useCallback(j=>{f||u==null||u(j)},[f,u]),te=y.useCallback((j,Y)=>{if(!f&&u){let z=new MouseEvent("click",j);H3(z,Y),u(Qh(z))}},[f,u]),ne=y.useMemo(()=>{let j=C.current,Y={onKeyDown(O){var oe;if(C0(O.nativeEvent,O.currentTarget)&&Ie(O.currentTarget,ve(O))){Hb(ve(O),O.key)&&O.preventDefault();let J=!0;!j.isPressed&&!O.repeat&&(j.target=O.currentTarget,j.isPressed=!0,j.pointerType="keyboard",J=L(O,"keyboard"));let _=O.currentTarget,D=Q=>{C0(Q,_)&&!Q.repeat&&Ie(_,ve(Q))&&j.target&&$(Va(j.target,Q),"keyboard")};N(He(O.currentTarget),"keyup",er(D,z),!0),J&&O.stopPropagation(),O.metaKey&&Vn()&&((oe=j.metaKeyEvents)==null||oe.set(O.key,O.nativeEvent))}else O.key==="Meta"&&(j.metaKeyEvents=new Map)},onClick(O){if(!(O&&!Ie(O.currentTarget,ve(O)))&&O&&O.button===0&&!j.isTriggeringEvent&&!Al.isOpening){let oe=!0;if(f&&O.preventDefault(),!j.ignoreEmulatedMouseEvents&&!j.isPressed&&(j.pointerType==="virtual"||o3(O.nativeEvent))){let J=L(O,"virtual"),_=$(O,"virtual"),D=B(O,"virtual");q(O),oe=J&&_&&D}else if(j.isPressed&&j.pointerType!=="keyboard"){let J=j.pointerType||O.nativeEvent.pointerType||"virtual",_=$(Va(O.currentTarget,O),J),D=B(Va(O.currentTarget,O),J,!0);oe=_&&D,j.isOverTarget=!1,q(O),U(O)}j.ignoreEmulatedMouseEvents=!1,oe&&O.stopPropagation()}}},z=O=>{var oe,J,_;if(j.isPressed&&j.target&&C0(O,j.target)){Hb(ve(O),O.key)&&O.preventDefault();let D=ve(O),Q=Ie(j.target,D);B(Va(j.target,O),"keyboard",Q),Q&&te(O,j.target),M(),O.key!=="Enter"&&Jh(j.target)&&Ie(j.target,D)&&!O[jb]&&(O[jb]=!0,Al(j.target,O,!1)),j.isPressed=!1,(oe=j.metaKeyEvents)==null||oe.delete(O.key)}else if(O.key==="Meta"&&((J=j.metaKeyEvents)!=null&&J.size)){let D=j.metaKeyEvents;j.metaKeyEvents=void 0;for(let Q of D.values())(_=j.target)==null||_.dispatchEvent(new KeyboardEvent("keyup",Q))}};if(typeof PointerEvent<"u"){Y.onPointerDown=J=>{if(J.button!==0||!Ie(J.currentTarget,ve(J)))return;if(Qw(J.nativeEvent)){j.pointerType="virtual";return}j.pointerType=J.pointerType;let _=!0;if(!j.isPressed){j.isPressed=!0,j.isOverTarget=!0,j.activePointerId=J.pointerId,j.target=J.currentTarget,b||zT(j.target),_=L(J,j.pointerType);let D=ve(J);"releasePointerCapture"in D&&("hasPointerCapture"in D?D.hasPointerCapture(J.pointerId)&&D.releasePointerCapture(J.pointerId):D.releasePointerCapture(J.pointerId)),N(He(J.currentTarget),"pointerup",O,!1),N(He(J.currentTarget),"pointercancel",oe,!1)}_&&J.stopPropagation()},Y.onMouseDown=J=>{if(Ie(J.currentTarget,ve(J))&&J.button===0){if(h){let _=pT(J.target);_&&j.disposables.push(_)}J.stopPropagation()}},Y.onPointerUp=J=>{!Ie(J.currentTarget,ve(J))||j.pointerType==="virtual"||J.button===0&&!j.isPressed&&$(J,j.pointerType||J.pointerType)},Y.onPointerEnter=J=>{J.pointerId===j.activePointerId&&j.target&&!j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!0,L(Va(j.target,J),j.pointerType))},Y.onPointerLeave=J=>{J.pointerId===j.activePointerId&&j.target&&j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!1,B(Va(j.target,J),j.pointerType,!1),K(J))};let O=J=>{if(J.pointerId===j.activePointerId&&j.isPressed&&J.button===0&&j.target){if(Ie(j.target,ve(J))&&j.pointerType!=null){let _=!1,D=setTimeout(()=>{j.isPressed&&j.target instanceof HTMLElement&&(_?U(J):(en(j.target),j.target.click()))},80);N(J.currentTarget,"click",()=>_=!0,!0),j.disposables.push(()=>clearTimeout(D))}else U(J);j.isOverTarget=!1}},oe=J=>{U(J)};Y.onDragStart=J=>{Ie(J.currentTarget,ve(J))&&U(J)}}return Y},[N,f,h,M,b,K,L,q,te]);return y.useEffect(()=>{if(!v)return;const j=He(v.current);if(!j||!j.head||j.getElementById(Ib))return;const Y=j.createElement("style");Y.id=Ib;let z=f3(j);z&&(Y.nonce=z),Y.textContent=`
67
67
  @layer {
68
68
  [${Bb}] {
69
69
  touch-action: pan-x pan-y pinch-zoom;
70
70
  }
71
71
  }
72
- `.trim(),j.head.prepend(Y)},[v]),y.useEffect(()=>{let j=C.current;return()=>{b||Ob(j.target??void 0);for(let Y of j.disposables)Y();j.disposables=[]}},[b]),{isPressed:d||x,pressProps:Ce(w,ne,{[Bb]:!0})}}function Jh(e){return e.tagName==="A"&&e.hasAttribute("href")}function C0(e,t){const{key:l,code:r}=e,i=t,s=i.getAttribute("role");return(l==="Enter"||l===" "||l==="Spacebar"||r==="Space")&&!(i instanceof jt(i).HTMLInputElement&&!Y3(i,l)||i instanceof jt(i).HTMLTextAreaElement||i.isContentEditable)&&!((s==="link"||!s&&Jh(i))&&l!=="Enter")}function Va(e,t){let l=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:l,clientY:r,key:t.key}}function PT(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Jh(e)}function Hb(e,t){return Vn()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!Y3(e,t):PT(e)}const OT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Y3(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":OT.has(e.type)}function jT(e,t){let{elementType:l="button",isDisabled:r,onPress:i,onPressStart:s,onPressEnd:u,onPressUp:f,onPressChange:d,preventFocusOnPress:h,allowFocusWhenDisabled:p,onClick:b,href:v,target:w,rel:x,type:T="button"}=e,C;l==="button"?C={type:T,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:C={role:"button",href:l==="a"&&!r?v:void 0,target:l==="a"?w:void 0,type:l==="input"?T:void 0,disabled:l==="input"?r:void 0,"aria-disabled":!r||l==="input"?void 0:r,rel:l==="a"?x:void 0};let{pressProps:N,isPressed:M}=lr({onPressStart:s,onPressEnd:u,onPressChange:d,onPress:i,onPressUp:f,onClick:b,isDisabled:r,preventFocusOnPress:h,ref:t}),{focusableProps:L}=qo(e,t);p&&(L.tabIndex=r?-1:L.tabIndex);let k=Ce(L,N,mt(e,{labelable:!0}));return{isPressed:M,buttonProps:Ce(C,k,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}function Yo(e){let{isDisabled:t,onBlurWithin:l,onFocusWithin:r,onFocusWithinChange:i}=e,s=y.useRef({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:f}=Su(),d=y.useCallback(b=>{Ie(b.currentTarget,ve(b))&&s.current.isFocusWithin&&!Ie(b.currentTarget,b.relatedTarget)&&(s.current.isFocusWithin=!1,f(),l&&l(b),i&&i(!1))},[l,i,s,f]),h=H3(d),p=y.useCallback(b=>{if(!Ie(b.currentTarget,ve(b)))return;let v=ve(b);const w=He(v),x=et(w);if(!s.current.isFocusWithin&&x===v){r&&r(b),i&&i(!0),s.current.isFocusWithin=!0,h(b);let T=b.currentTarget;u(w,"focus",C=>{let N=ve(C);if(s.current.isFocusWithin&&!Ie(T,N)){let M=new w.defaultView.FocusEvent("blur",{relatedTarget:N});B3(M,T);let L=Qh(M);d(L)}},{capture:!0})}},[r,i,h,u,d]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:p,onBlur:d}}}function Dl(e={}){let{autoFocus:t=!1,isTextInput:l,within:r}=e,i=y.useRef({isFocused:!1,isFocusVisible:t||ih()}),[s,u]=y.useState(!1),[f,d]=y.useState(()=>i.current.isFocused&&i.current.isFocusVisible),h=y.useCallback(()=>d(i.current.isFocused&&i.current.isFocusVisible),[]),p=y.useCallback(w=>{i.current.isFocused=w,i.current.isFocusVisible=ih(),u(w),h()},[h]);ST(w=>{i.current.isFocusVisible=w,h()},[l,s],{enabled:s,isTextInput:l});let{focusProps:b}=_3({isDisabled:r,onFocusChange:p}),{focusWithinProps:v}=Yo({isDisabled:!r,onFocusWithinChange:p});return{isFocused:s,isFocusVisible:f,focusProps:r?v:b}}let sh=!1,Ac=0;function IT(){sh=!0,setTimeout(()=>{sh=!1},500)}function Kb(e){e.pointerType==="touch"&&IT()}function BT(){let e=He(null);if(!(typeof e>"u"))return Ac===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",Kb),Ac++,()=>{Ac--,!(Ac>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",Kb)}}function Sa(e){let{onHoverStart:t,onHoverChange:l,onHoverEnd:r,isDisabled:i}=e,[s,u]=y.useState(!1),f=y.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;y.useEffect(BT,[]);let{addGlobalListener:d,removeAllGlobalListeners:h}=Su(),{hoverProps:p,triggerHoverEnd:b}=y.useMemo(()=>{let v=(T,C)=>{if(f.pointerType=C,i||C==="touch"||f.isHovered||!Ie(T.currentTarget,ve(T)))return;f.isHovered=!0;let N=T.currentTarget;f.target=N,d(He(ve(T)),"pointerover",M=>{f.isHovered&&f.target&&!Ie(f.target,ve(M))&&w(M,M.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:N,pointerType:C}),l&&l(!0),u(!0)},w=(T,C)=>{let N=f.target;f.pointerType="",f.target=null,!(C==="touch"||!f.isHovered||!N)&&(f.isHovered=!1,h(),r&&r({type:"hoverend",target:N,pointerType:C}),l&&l(!1),u(!1))},x={};return typeof PointerEvent<"u"&&(x.onPointerEnter=T=>{sh&&T.pointerType==="mouse"||v(T,T.pointerType)},x.onPointerLeave=T=>{!i&&Ie(T.currentTarget,ve(T))&&w(T,T.pointerType)}),{hoverProps:x,triggerHoverEnd:w}},[t,l,r,i,f,d,h]);return y.useEffect(()=>{i&&b({currentTarget:f.target},f.pointerType)},[i]),{hoverProps:p,isHovered:s}}const e2=y.createContext({}),X3=P3(function(t,l){[t,l]=yn(t,l,e2);let r=t,{isPending:i}=r,{buttonProps:s,isPressed:u}=jT(t,l);s=KT(s,i);let{focusProps:f,isFocused:d,isFocusVisible:h}=Dl(t),{hoverProps:p,isHovered:b}=Sa({...t,isDisabled:t.isDisabled||i}),v={isHovered:b,isPressed:(r.isPressed||u)&&!i,isFocused:d,isFocusVisible:h,isDisabled:t.isDisabled||!1,isPending:i??!1},w=At({...t,values:v,defaultClassName:"react-aria-Button"}),x=_n(s.id),T=_n(),C=s["aria-labelledby"];i&&(C?C=`${C} ${T}`:s["aria-label"]&&(C=`${x} ${T}`));let N=y.useRef(i);y.useEffect(()=>{let L={"aria-labelledby":C||x};(!N.current&&d&&i||N.current&&d&&!i)&&Pb(L,"assertive"),N.current=i},[i,d,C,x]);let M=mt(t,{global:!0});return delete M.onClick,V.createElement(ut.button,{...Ce(M,w,s,f,p),type:s.type==="submit"&&i?"button":s.type,id:x,ref:l,"aria-labelledby":C,slot:t.slot||void 0,"aria-disabled":i?"true":s["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":v.isPressed||void 0,"data-hovered":b||void 0,"data-focused":d||void 0,"data-pending":i||void 0,"data-focus-visible":h||void 0},V.createElement(dT.Provider,{value:{id:T}},w.children))}),HT=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function KT(e,t){if(t){for(const l in e)l.startsWith("on")&&!HT.test(l)&&(e[l]=void 0);e.href=void 0,e.target=void 0}return e}const UT=typeof document<"u"?V.useInsertionEffect??V.useLayoutEffect:()=>{};function Ru(e,t,l){let[r,i]=y.useState(e||t),s=y.useRef(r),u=y.useRef(e!==void 0),f=e!==void 0;y.useEffect(()=>{u.current,u.current=f},[f]);let d=f?e:r;UT(()=>{s.current=d});let[,h]=y.useReducer(()=>({}),{}),p=y.useCallback((b,...v)=>{let w=typeof b=="function"?b(s.current):b;Object.is(s.current,w)||(s.current=w,i(w),h(),l==null||l(w,...v))},[l]);return[d,p]}const W3=y.createContext({}),FT=y.forwardRef(function(t,l){[t,l]=yn(t,l,W3);let{children:r,level:i=3,className:s,...u}=t,f=ut[`h${i}`];return V.createElement(f,{...u,ref:l,className:s??"react-aria-Heading"},r)}),ch=e=>e?"true":void 0;function Mt(e,t){return nT(e,(l,r)=>{const i=typeof t=="function"?t(r)??"":t??"";return FC(i,l??"")??""})}const Je=(e,t,l)=>typeof e=="function"?e({...l??{},className:t}):t,VT=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06",fill:"currentColor",fillRule:"evenodd"})}),_T=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M13.03 10.53a.75.75 0 0 1-1.06 0L8 6.56l-3.97 3.97a.75.75 0 0 1-1.06-1.06l4.5-4.5a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06",fill:"currentColor",fillRule:"evenodd"})}),GT=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M10.53 2.97a.75.75 0 0 1 0 1.06L6.56 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0",fill:"currentColor",fillRule:"evenodd"})}),qT=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M5.47 2.97a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 1 1-1.06-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 0-1.06Z",fill:"currentColor",fillRule:"evenodd"})}),YT=({height:e=9,width:t=9,...l})=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:e,role:"presentation",viewBox:"0 0 7 7",width:t,xmlns:"http://www.w3.org/2000/svg",...l,children:E.jsx("path",{d:"M1.20592 6.84333L0.379822 6.01723L4.52594 1.8672H1.37819L1.38601 0.731812H6.48742V5.83714H5.34421L5.35203 2.6933L1.20592 6.84333Z",fill:"currentColor"})}),XT=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06Z",fill:"currentColor",fillRule:"evenodd"})}),au=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11a5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0z",fill:"currentColor",fillRule:"evenodd"})}),Z3=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M7.134 2.994L2.217 11.5a1 1 0 0 0 .866 1.5h9.834a1 1 0 0 0 .866-1.5L8.866 2.993a1 1 0 0 0-1.732 0m3.03-.75c-.962-1.665-3.366-1.665-4.329 0L.918 10.749c-.963 1.666.24 3.751 2.165 3.751h9.834c1.925 0 3.128-2.085 2.164-3.751zM8 5a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2A.75.75 0 0 1 8 5m1 5.75a1 1 0 1 1-2 0a1 1 0 0 1 2 0",fill:"currentColor",fillRule:"evenodd"})}),Q3=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11a5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0M8.75 5a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0z",fill:"currentColor",fillRule:"evenodd"})}),J3=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M13.5 8a5.5 5.5 0 1 1-11 0a5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-3.9-1.55a.75.75 0 1 0-1.2-.9L7.419 8.858L6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z",fill:"currentColor",fillRule:"evenodd"})}),vz=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M11.5 7a4.5 4.5 0 1 1-9 0a4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",fill:"currentColor",fillRule:"evenodd"})}),t2=y.createContext({}),Ub=({children:e,className:t,variant:l="default",...r})=>E.jsx(t2,{value:{variant:l},children:E.jsx(Ct.div,{className:JC({variant:l,className:t}),"data-slot":"surface",...r,children:e})}),e4=y.createContext({placement:"bottom"}),yz=y.forwardRef(function(t,l){[t,l]=yn(t,l,e4);let r=t.placement,i={position:"absolute",transform:r==="top"||r==="bottom"?"translateX(-50%)":"translateY(-50%)"};r!=null&&(i[r]="100%");let s=At({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:r}});s.style&&Object.keys(s.style).forEach(f=>s.style[f]===void 0&&delete s.style[f]);let u=mt(t);return V.createElement(ut.div,{...u,...s,style:{...i,...s.style},ref:l,"data-placement":r})}),WT=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function Fb(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}let So=new WeakMap,Zt=[];function t4(e,t){let l=jt(e==null?void 0:e[0]),r=t instanceof l.Element?{root:t}:t,i=(r==null?void 0:r.root)??document.body,s=(r==null?void 0:r.shouldUseInert)&&WT,u=new Set(e),f=new Set,d=C=>s&&C instanceof l.HTMLElement?C.inert:C.getAttribute("aria-hidden")==="true",h=(C,N)=>{s&&C instanceof l.HTMLElement?C.inert=N:N?C.setAttribute("aria-hidden","true"):(C.removeAttribute("aria-hidden"),C instanceof l.HTMLElement&&(C.inert=!1))},p=new Set;if(nl()){let C=i.getRootNode();for(let N of e){let M=N.getRootNode();for(;Hh(M)&&M!==C;)p.add(M),M=M.host.getRootNode()}}let b=C=>{for(let k of C.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(k);let N=k=>{if(f.has(k)||u.has(k)||k.parentElement&&f.has(k.parentElement)&&k.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let B of u)if(Ie(k,B))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},M=t3(He(C),C,NodeFilter.SHOW_ELEMENT,{acceptNode:N}),L=N(C);if(L===NodeFilter.FILTER_ACCEPT&&v(C),L!==NodeFilter.FILTER_REJECT){let k=M.nextNode();for(;k!=null;)v(k),k=M.nextNode()}},v=C=>{let N=So.get(C)??0;d(C)&&N===0||(N===0&&h(C,!0),f.add(C),So.set(C,N+1))};Zt.length&&Zt[Zt.length-1].disconnect(),b(i);let w=new MutationObserver(C=>{for(let N of C)if(N.type==="childList"){if(N.target.isConnected&&![...u,...f].some(M=>Ie(M,N.target)))for(let M of N.addedNodes)(M instanceof HTMLElement||M instanceof SVGElement)&&Fb(M)?u.add(M):M instanceof Element&&b(M);if(nl()){for(let M of p)if(!M.isConnected){w.disconnect();break}}}});w.observe(i,{childList:!0,subtree:!0});let x=new Set;if(nl())for(let C of p){let N=new MutationObserver(M=>{for(let L of M)if(L.type==="childList"){if(L.target.isConnected&&![...u,...f].some(k=>Ie(k,L.target)))for(let k of L.addedNodes)(k instanceof HTMLElement||k instanceof SVGElement)&&Fb(k)?u.add(k):k instanceof Element&&b(k);if(nl()){for(let k of p)if(!k.isConnected){w.disconnect();break}}}});N.observe(C,{childList:!0,subtree:!0}),x.add(N)}let T={visibleNodes:u,hiddenNodes:f,observe(){w.observe(i,{childList:!0,subtree:!0})},disconnect(){w.disconnect()}};return Zt.push(T),()=>{if(w.disconnect(),nl())for(let C of x)C.disconnect();for(let C of f){let N=So.get(C);N!=null&&(N===1?(h(C,!1),So.delete(C)):So.set(C,N-1))}T===Zt[Zt.length-1]?(Zt.pop(),Zt.length&&Zt[Zt.length-1].observe()):Zt.splice(Zt.indexOf(T),1)}}function ZT(e){let t=Zt[Zt.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}const $n={top:"top",bottom:"top",left:"left",right:"left"},ru={top:"bottom",bottom:"top",left:"right",right:"left"},QT={top:"left",left:"top"},uh={top:"height",left:"width"},n4={width:"totalWidth",height:"totalHeight"},Lc={};let JT=()=>typeof document<"u"?window.visualViewport:null;function Vb(e,t){let l=0,r=0,i=0,s=0,u=0,f=0,d={},h=((t==null?void 0:t.scale)??1)>1;if(e.tagName==="BODY"||e.tagName==="HTML"){let p=document.documentElement;i=p.clientWidth,s=p.clientHeight,l=(t==null?void 0:t.width)??i,r=(t==null?void 0:t.height)??s,d.top=p.scrollTop||e.scrollTop,d.left=p.scrollLeft||e.scrollLeft,t&&(u=t.offsetTop,f=t.offsetLeft)}else({width:l,height:r,top:u,left:f}=Ko(e,!1)),d.top=e.scrollTop,d.left=e.scrollLeft,i=l,s=r;return Ml()&&(e.tagName==="BODY"||e.tagName==="HTML")&&h&&(d.top=0,d.left=0,u=(t==null?void 0:t.pageTop)??0,f=(t==null?void 0:t.pageLeft)??0),{width:l,height:r,totalWidth:i,totalHeight:s,scroll:d,top:u,left:f}}function eR(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function _b(e,t,l,r,i,s,u){let f=i.scroll[e]??0,d=r[uh[e]],h=u[e]+r.scroll[$n[e]]+s,p=u[e]+r.scroll[$n[e]]+d-s,b=t-f+r.scroll[$n[e]]+u[e]-r[$n[e]],v=t-f+l+r.scroll[$n[e]]+u[e]-r[$n[e]];return b<h?h-b:v>p?Math.max(p-v,h-b):0}function tR(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function Gb(e){if(Lc[e])return Lc[e];let[t,l]=e.split(" "),r=$n[t]||"right",i=QT[r];$n[l]||(l="center");let s=uh[r],u=uh[i];return Lc[e]={placement:t,crossPlacement:l,axis:r,crossAxis:i,size:s,crossSize:u},Lc[e]}function T0(e,t,l,r,i,s,u,f,d,h,p){let{placement:b,crossPlacement:v,axis:w,crossAxis:x,size:T,crossSize:C}=r,N={};N[x]=e[x]??0,v==="center"?N[x]+=((e[C]??0)-(l[C]??0))/2:v!==x&&(N[x]+=(e[C]??0)-(l[C]??0)),N[x]+=s;const M=e[x]-l[C]+d+h,L=e[x]+e[C]-d-h;if(N[x]=Z0(N[x],M,L),b===w){let k=f?p[T]:p[n4[T]];N[ru[w]]=Math.floor(k-e[w]+i)}else N[w]=Math.floor(e[w]+e[T]+i);return N}function nR(e,t,l,r,i,s,u,f,d,h,p){let b=(e.top!=null?e.top:d[n4.height]-(e.bottom??0)-u)-(d.scroll.top??0),v=h?l.top:0,w={top:Math.max(t.top+v,((p==null?void 0:p.offsetTop)??t.top)+v),bottom:Math.min(t.top+t.height+v,((p==null?void 0:p.offsetTop)??0)+((p==null?void 0:p.height)??0))};return f!=="top"?Math.max(0,w.bottom-b-((i.top??0)+(i.bottom??0)+s)):Math.max(0,b+u-w.top-((i.top??0)+(i.bottom??0)+s))}function qb(e,t,l,r,i,s,u,f){let{placement:d,axis:h,size:p}=s;return d===h?Math.max(0,l[h]-(u.scroll[h]??0)-(e[h]+(f?t[h]:0))-(r[h]??0)-r[ru[h]]-i):Math.max(0,e[p]+e[h]+(f?t[h]:0)-l[h]-l[p]+(u.scroll[h]??0)-(r[h]??0)-r[ru[h]]-i)}function lR(e,t,l,r,i,s,u,f,d,h,p,b,v,w,x,T,C,N){let M=Gb(e),{size:L,crossAxis:k,crossSize:B,placement:G,crossPlacement:$}=M,A=T0(t,f,l,M,p,b,h,v,x,T,d),U=p,K=qb(f,h,t,i,s+p,M,d,C);if(u&&l[L]>K){let H=Gb(`${ru[G]} ${$}`),ie=T0(t,f,l,H,p,b,h,v,x,T,d);qb(f,h,t,i,s+p,H,d,C)>K&&(M=H,A=ie,U=p)}let q="bottom";M.axis==="top"?M.placement==="top"?q="top":M.placement==="bottom"&&(q="bottom"):M.crossAxis==="top"&&(M.crossPlacement==="top"?q="bottom":M.crossPlacement==="bottom"&&(q="top"));let te=_b(k,A[k],l[B],f,d,s,h);A[k]+=te;let ne=nR(A,f,h,v,i,s,l.height,q,d,C,N);w&&w<ne&&(ne=w),l.height=Math.min(l.height,ne),A=T0(t,f,l,M,U,b,h,v,x,T,d),te=_b(k,A[k],l[B],f,d,s,h),A[k]+=te;let j={},Y=t[k]-A[k]-i[$n[k]],z=Y+.5*t[B];const O=x/2+T,oe=$n[k]==="left"?(i.left??0)+(i.right??0):(i.top??0)+(i.bottom??0),J=l[B]-oe-x/2-T,_=t[k]+x/2-(A[k]+i[$n[k]]),D=t[k]+t[B]-x/2-(A[k]+i[$n[k]]),Q=Z0(z,_,D);j[k]=Z0(Q,O,J),{placement:G,crossPlacement:$}=M,x?Y=j[k]:$==="right"?Y+=t[B]:$==="center"&&(Y+=t[B]/2);let se=G==="left"||G==="top"?l[L]:0,ce={x:G==="top"||G==="bottom"?Y:se,y:G==="left"||G==="right"?Y:se};return{position:A,maxHeight:ne,arrowOffsetLeft:j.left,arrowOffsetTop:j.top,placement:G,triggerAnchorPoint:ce}}function aR(e){let{placement:t,targetNode:l,overlayNode:r,scrollNode:i,padding:s,shouldFlip:u,boundaryElement:f,offset:d,crossOffset:h,maxHeight:p,arrowSize:b=0,arrowBoundaryOffset:v=0,targetRect:w}=e,x=JT(),T=r instanceof HTMLElement?rR(r):document.documentElement,C=T===document.documentElement;const N=window.getComputedStyle(T).position;let M=!!N&&N!=="static",L=C?Ko(l,!1,w):Yb(l,T,!1,w);if(!C){let{marginTop:q,marginLeft:te}=window.getComputedStyle(l);L.top+=parseInt(q,10)||0,L.left+=parseInt(te,10)||0}let k=Ko(r,!0),B=tR(r);k.width+=(B.left??0)+(B.right??0),k.height+=(B.top??0)+(B.bottom??0);let G=eR(i),$=Vb(f,x),A=Vb(T,x),U;if((f.tagName==="BODY"||f.tagName==="HTML")&&!C){let q=Mu(T,!1);U={top:-(q.top-$.top),left:-(q.left-$.left),width:0,height:0}}else(f.tagName==="BODY"||f.tagName==="HTML")&&C?U={top:0,left:0,width:0,height:0}:U=Yb(f,T,!1);let K=Ie(f,T);return lR(t,L,k,G,B,s,u,$,A,U,d,h,M,p,b,v,K,x)}function Mu(e,t){let{top:l,left:r,width:i,height:s}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,s=e.offsetHeight),{top:l,left:r,width:i,height:s}}function Ko(e,t,l){let{top:r,left:i,width:s,height:u}=l||Mu(e,t),{scrollTop:f,scrollLeft:d,clientTop:h,clientLeft:p}=document.documentElement;return{top:r+f-h,left:i+d-p,width:s,height:u}}function Yb(e,t,l,r){let i=window.getComputedStyle(e),s;if(i.position==="fixed")s=r||Mu(e,l);else{s=Ko(e,l,r);let u=Ko(t,l),f=window.getComputedStyle(t);u.top+=(parseInt(f.borderTopWidth,10)||0)-t.scrollTop,u.left+=(parseInt(f.borderLeftWidth,10)||0)-t.scrollLeft,s.top-=u.top,s.left-=u.left}return s.top-=parseInt(i.marginTop,10)||0,s.left-=parseInt(i.marginLeft,10)||0,s}function rR(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Xb(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Xb(t);)t=t.parentElement;return t||document.documentElement}function Xb(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const l4=new WeakMap;function iR(e){let{triggerRef:t,isOpen:l,onClose:r}=e;y.useEffect(()=>{if(!l||r===null)return;let i=s=>{let u=ve(s);if(!t.current||u instanceof Node&&!Ie(u,t.current)||u instanceof HTMLInputElement||u instanceof HTMLTextAreaElement)return;let f=r||l4.get(t.current);f&&f()};return Pw(jw(t.current),"scroll",i,!0)},[l,r,t])}let ht=typeof document<"u"?window.visualViewport:null;function oR(e){let{direction:t}=bi(),{arrowSize:l,targetRef:r,overlayRef:i,arrowRef:s,scrollRef:u=i,placement:f="bottom",containerPadding:d=12,shouldFlip:h=!0,boundaryElement:p=typeof document<"u"?document.body:null,offset:b=0,crossOffset:v=0,shouldUpdatePosition:w=!0,isOpen:x=!0,onClose:T,maxHeight:C,arrowBoundaryOffset:N=0,getTargetRect:M}=e,[L,k]=y.useState(null),B=[w,f,i.current,r.current,s==null?void 0:s.current,u.current,d,h,p,b,v,x,t,C,N,l],G=y.useRef(ht==null?void 0:ht.scale);y.useEffect(()=>{x&&(G.current=ht==null?void 0:ht.scale)},[x]);let $=y.useCallback(()=>{var j,Y;if(w===!1||!x||!i.current||!r.current||!p||(ht==null?void 0:ht.scale)!==G.current)return;let K=null;if(u.current&&Oo(u.current)){let z=(j=et())==null?void 0:j.getBoundingClientRect(),O=u.current.getBoundingClientRect();K={type:"top",offset:((z==null?void 0:z.top)??0)-O.top},K.offset>O.height/2&&(K.type="bottom",K.offset=((z==null?void 0:z.bottom)??0)-O.bottom)}let q=i.current;!C&&i.current&&(q.style.top="0px",q.style.bottom="",q.style.maxHeight=(((Y=window.visualViewport)==null?void 0:Y.height)??window.innerHeight)+"px");let te=aR({placement:cR(f,t),overlayNode:i.current,targetNode:r.current,scrollNode:u.current||i.current,padding:d,shouldFlip:h,boundaryElement:p,offset:b,crossOffset:v,maxHeight:C,arrowSize:l??(s!=null&&s.current?Mu(s.current,!0).width:0),arrowBoundaryOffset:N,targetRect:M==null?void 0:M(r.current)});if(!te.position)return;q.style.top="",q.style.bottom="",q.style.left="",q.style.right="",Object.keys(te.position).forEach(z=>q.style[z]=te.position[z]+"px"),q.style.maxHeight=te.maxHeight!=null?te.maxHeight+"px":"";let ne=et();if(K&&ne&&u.current){let z=ne.getBoundingClientRect(),O=u.current.getBoundingClientRect(),oe=z[K.type]-O[K.type];u.current.scrollTop+=oe-K.offset}k(te)},B);Ne($,B),sR($),W0({ref:i,onResize:$}),W0({ref:r,onResize:$});let A=y.useRef(!1);Ne(()=>{let K,q=()=>{A.current=!0,clearTimeout(K),K=setTimeout(()=>{A.current=!1},500),$()},te=()=>{A.current&&q()};return ht==null||ht.addEventListener("resize",q),ht==null||ht.addEventListener("scroll",te),()=>{ht==null||ht.removeEventListener("resize",q),ht==null||ht.removeEventListener("scroll",te)}},[$]);let U=y.useCallback(()=>{A.current||T==null||T()},[T,A]);return iR({triggerRef:r,isOpen:x,onClose:T&&U}),{overlayProps:{style:{position:L?"absolute":"fixed",top:L?void 0:0,left:L?void 0:0,zIndex:1e5,...L==null?void 0:L.position,maxHeight:(L==null?void 0:L.maxHeight)??"100vh"}},placement:(L==null?void 0:L.placement)??null,triggerAnchorPoint:(L==null?void 0:L.triggerAnchorPoint)??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:L==null?void 0:L.arrowOffsetLeft,top:L==null?void 0:L.arrowOffsetTop}},updatePosition:$}}function sR(e){Ne(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function cR(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Wb=V.createContext(null),fh="react-aria-focus-scope-restore";let tt=null;function uR(e){let{children:t,contain:l,restoreFocus:r,autoFocus:i}=e,s=y.useRef(null),u=y.useRef(null),f=y.useRef([]),{parentNode:d}=y.useContext(Wb)||{},h=y.useMemo(()=>new hh({scopeRef:f}),[f]);Ne(()=>{let v=d||xt.root;if(xt.getTreeNode(v.scopeRef)&&tt&&!iu(tt,v.scopeRef)){let w=xt.getTreeNode(tt);w&&(v=w)}v.addChild(h),xt.addNode(h)},[h,d]),Ne(()=>{let v=xt.getTreeNode(f);v&&(v.contain=!!l)},[l]),Ne(()=>{var T;let v=(T=s.current)==null?void 0:T.nextSibling,w=[],x=C=>C.stopPropagation();for(;v&&v!==u.current;)w.push(v),v.addEventListener(fh,x),v=v.nextSibling;return f.current=w,()=>{for(let C of w)C.removeEventListener(fh,x)}},[t]),bR(f,r,l),mR(f,l),vR(f,r,l),gR(f,i),y.useEffect(()=>{const v=et(He(f.current?f.current[0]:void 0));let w=null;if(zn(v,f.current)){for(let x of xt.traverse())x.scopeRef&&zn(v,x.scopeRef.current)&&(w=x);w===xt.getTreeNode(f)&&(tt=w.scopeRef)}},[f]),Ne(()=>()=>{var w,x;let v=((x=(w=xt.getTreeNode(f))==null?void 0:w.parent)==null?void 0:x.scopeRef)??null;(f===tt||iu(f,tt))&&(!v||xt.getTreeNode(v))&&(tt=v),xt.removeTreeNode(f)},[f]);let p=y.useMemo(()=>fR(f),[]),b=y.useMemo(()=>({focusManager:p,parentNode:h}),[h,p]);return V.createElement(Wb.Provider,{value:b},V.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:s}),t,V.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:u}))}function fR(e){return{focusNext(t={}){let l=e.current,{from:r,tabbable:i,wrap:s,accept:u}=t,f=r||et(He(l[0]??void 0)),d=l[0].previousElementSibling,h=Wa(l),p=ll(h,{tabbable:i,accept:u},l);p.currentNode=zn(f,l)?f:d;let b=p.nextNode();return!b&&s&&(p.currentNode=d,b=p.nextNode()),b&&Un(b,!0),b},focusPrevious(t={}){let l=e.current,{from:r,tabbable:i,wrap:s,accept:u}=t,f=r||et(He(l[0]??void 0)),d=l[l.length-1].nextElementSibling,h=Wa(l),p=ll(h,{tabbable:i,accept:u},l);p.currentNode=zn(f,l)?f:d;let b=p.previousNode();return!b&&s&&(p.currentNode=d,b=p.previousNode()),b&&Un(b,!0),b},focusFirst(t={}){let l=e.current,{tabbable:r,accept:i}=t,s=Wa(l),u=ll(s,{tabbable:r,accept:i},l);u.currentNode=l[0].previousElementSibling;let f=u.nextNode();return f&&Un(f,!0),f},focusLast(t={}){let l=e.current,{tabbable:r,accept:i}=t,s=Wa(l),u=ll(s,{tabbable:r,accept:i},l);u.currentNode=l[l.length-1].nextElementSibling;let f=u.previousNode();return f&&Un(f,!0),f}}}function Wa(e){return e[0].parentElement}function Mo(e){let t=xt.getTreeNode(tt);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function dR(e){if(!e.form)return Array.from(He(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(r=>!r.form);const t=e.form.elements.namedItem(e.name);let l=jt(e);return t instanceof l.RadioNodeList?Array.from(t).filter(r=>r instanceof l.HTMLInputElement):t instanceof l.HTMLInputElement?[t]:[]}function hR(e){if(e.checked)return!0;const t=dR(e);return t.length>0&&!t.some(l=>l.checked)}function mR(e,t){let l=y.useRef(void 0),r=y.useRef(void 0);Ne(()=>{let i=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const s=He(i?i[0]:void 0);let u=h=>{if(h.key!=="Tab"||h.altKey||h.ctrlKey||h.metaKey||!Mo(e)||h.isComposing)return;let p=et(s),b=e.current;if(!b||!zn(p,b))return;let v=Wa(b),w=ll(v,{tabbable:!0},b);if(!p)return;w.currentNode=p;let x=h.shiftKey?w.previousNode():w.nextNode();x||(w.currentNode=h.shiftKey?b[b.length-1].nextElementSibling:b[0].previousElementSibling,x=h.shiftKey?w.previousNode():w.nextNode()),h.preventDefault(),x&&(Un(x,!0),x instanceof jt(x).HTMLInputElement&&x.select())},f=h=>{(!tt||iu(tt,e))&&zn(ve(h),e.current)?(tt=e,l.current=ve(h)):Mo(e)&&!da(ve(h),e)?l.current?Un(l.current):tt&&tt.current&&dh(tt.current):Mo(e)&&(l.current=ve(h))},d=h=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let p=pa(),b=(p==="virtual"||p===null)&&Wc()&&Wy(),v=et(s);if(!b&&v&&Mo(e)&&!da(v,e)){tt=e;let w=ve(h);w&&w.isConnected?(l.current=w,Un(l.current)):tt.current&&dh(tt.current)}})};return s.addEventListener("keydown",u,!1),s.addEventListener("focusin",f,!1),i==null||i.forEach(h=>h.addEventListener("focusin",f,!1)),i==null||i.forEach(h=>h.addEventListener("focusout",d,!1)),()=>{s.removeEventListener("keydown",u,!1),s.removeEventListener("focusin",f,!1),i==null||i.forEach(h=>h.removeEventListener("focusin",f,!1)),i==null||i.forEach(h=>h.removeEventListener("focusout",d,!1))}},[e,t]),Ne(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function a4(e){return da(e)}function zn(e,t){return!e||!t?!1:t.some(l=>Ie(l,e))}function da(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:l}of xt.traverse(xt.getTreeNode(t)))if(l&&zn(e,l.current))return!0;return!1}function pR(e){return da(e,tt)}function iu(e,t){var r;let l=(r=xt.getTreeNode(t))==null?void 0:r.parent;for(;l;){if(l.scopeRef===e)return!0;l=l.parent}return!1}function Un(e,t=!1){if(e!=null&&!t)try{va(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function r4(e,t=!0){let l=e[0].previousElementSibling,r=Wa(e),i=ll(r,{tabbable:t},e);i.currentNode=l;let s=i.nextNode();return t&&!s&&(r=Wa(e),i=ll(r,{tabbable:!1},e),i.currentNode=l,s=i.nextNode()),s}function dh(e,t=!0){Un(r4(e,t))}function gR(e,t){const l=V.useRef(t);y.useEffect(()=>{if(l.current){tt=e;const r=He(e.current?e.current[0]:void 0);!zn(et(r),tt.current)&&e.current&&dh(e.current)}l.current=!1},[e])}function bR(e,t,l){Ne(()=>{if(t||l)return;let r=e.current;const i=He(r?r[0]:void 0);let s=u=>{let f=ve(u);zn(f,e.current)?tt=e:a4(f)||(tt=null)};return i.addEventListener("focusin",s,!1),r==null||r.forEach(u=>u.addEventListener("focusin",s,!1)),()=>{i.removeEventListener("focusin",s,!1),r==null||r.forEach(u=>u.removeEventListener("focusin",s,!1))}},[e,t,l])}function Zb(e){let t=xt.getTreeNode(tt);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function vR(e,t,l){const r=y.useRef(typeof document<"u"?et(He(e.current?e.current[0]:void 0)):null);Ne(()=>{let i=e.current;const s=He(i?i[0]:void 0);if(!t||l)return;let u=()=>{(!tt||iu(tt,e))&&zn(et(s),e.current)&&(tt=e)};return s.addEventListener("focusin",u,!1),i==null||i.forEach(f=>f.addEventListener("focusin",u,!1)),()=>{s.removeEventListener("focusin",u,!1),i==null||i.forEach(f=>f.removeEventListener("focusin",u,!1))}},[e,l]),Ne(()=>{const i=He(e.current?e.current[0]:void 0);if(!t)return;let s=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!Mo(e)||u.isComposing)return;let f=i.activeElement;if(!da(f,e)||!Zb(e))return;let d=xt.getTreeNode(e);if(!d)return;let h=d.nodeToRestore,p=ll(i.body,{tabbable:!0});p.currentNode=f;let b=u.shiftKey?p.previousNode():p.nextNode();if((!h||!h.isConnected||h===i.body)&&(h=void 0,d.nodeToRestore=void 0),(!b||!da(b,e))&&h){p.currentNode=h;do b=u.shiftKey?p.previousNode():p.nextNode();while(da(b,e));u.preventDefault(),u.stopPropagation(),b?Un(b,!0):a4(h)?Un(h,!0):f.blur()}};return l||i.addEventListener("keydown",s,!0),()=>{l||i.removeEventListener("keydown",s,!0)}},[e,t,l]),Ne(()=>{const i=He(e.current?e.current[0]:void 0);if(!t)return;let s=xt.getTreeNode(e);if(s)return s.nodeToRestore=r.current??void 0,()=>{let u=xt.getTreeNode(e);if(!u)return;let f=u.nodeToRestore,d=et(i);if(t&&f&&(d&&da(d,e)||d===i.body&&Zb(e))){let h=xt.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let p=h.getTreeNode(e);for(;p;){if(p.nodeToRestore&&p.nodeToRestore.isConnected){Qb(p.nodeToRestore);return}p=p.parent}for(p=h.getTreeNode(e);p;){if(p.scopeRef&&p.scopeRef.current&&xt.getTreeNode(p.scopeRef)){let b=r4(p.scopeRef.current,!0);Qb(b);return}p=p.parent}}})}}},[e,t])}function Qb(e){e.dispatchEvent(new CustomEvent(fh,{bubbles:!0,cancelable:!0}))&&Un(e)}function ll(e,t,l){let r=t!=null&&t.tabbable?_h:s3,i=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,s=He(i),u=t3(s,e||s,NodeFilter.SHOW_ELEMENT,{acceptNode(f){return Ie(t==null?void 0:t.from,f)||t!=null&&t.tabbable&&f.tagName==="INPUT"&&f.getAttribute("type")==="radio"&&(!hR(f)||u.currentNode.tagName==="INPUT"&&u.currentNode.type==="radio"&&u.currentNode.name===f.name)?NodeFilter.FILTER_REJECT:r(f)&&(!l||zn(f,l))&&(!(t!=null&&t.accept)||t.accept(f))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(u.currentNode=t.from),u}class n2{constructor(){this.fastMap=new Map,this.root=new hh({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,l,r){let i=this.fastMap.get(l??null);if(!i)return;let s=new hh({scopeRef:t});i.addChild(s),s.parent=i,this.fastMap.set(t,s),r&&(s.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let l=this.fastMap.get(t);if(!l)return;let r=l.parent;for(let s of this.traverse())s!==l&&l.nodeToRestore&&s.nodeToRestore&&l.scopeRef&&l.scopeRef.current&&zn(s.nodeToRestore,l.scopeRef.current)&&(s.nodeToRestore=l.nodeToRestore);let i=l.children;r&&(r.removeChild(l),i.size>0&&i.forEach(s=>r&&r.addChild(s))),this.fastMap.delete(l.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let l of t.children)yield*this.traverse(l)}clone(){var l;let t=new n2;for(let r of this.traverse())t.addTreeNode(r.scopeRef,((l=r.parent)==null?void 0:l.scopeRef)??null,r.nodeToRestore);return t}}class hh{constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}}let xt=new n2;function yR(e){let{ref:t,onInteractOutside:l,isDisabled:r,onInteractOutsideStart:i}=e,s=y.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),u=Fn(d=>{l&&Jb(d,t)&&(i&&i(d),s.current.isPointerDown=!0)}),f=Fn(d=>{l&&l(d)});y.useEffect(()=>{let d=s.current;if(r)return;const h=t.current,p=He(h);if(typeof PointerEvent<"u"){let b=v=>{d.isPointerDown&&Jb(v,t)&&f(v),d.isPointerDown=!1};return p.addEventListener("pointerdown",u,!0),p.addEventListener("click",b,!0),()=>{p.removeEventListener("pointerdown",u,!0),p.removeEventListener("click",b,!0)}}},[t,r])}function Jb(e,t){if(e.button>0)return!1;let l=ve(e);if(l){const r=l.ownerDocument;if(!r||!Ie(r.documentElement,l)||l.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}const Jn=[];function i4(e,t){let{onClose:l,shouldCloseOnBlur:r,isOpen:i,isDismissable:s=!1,isKeyboardDismissDisabled:u=!1,shouldCloseOnInteractOutside:f}=e,d=y.useRef(void 0);y.useEffect(()=>{if(i&&!Jn.includes(t))return Jn.push(t),()=>{let x=Jn.indexOf(t);x>=0&&Jn.splice(x,1)}},[i,t]);let h=()=>{Jn[Jn.length-1]===t&&l&&l()},p=x=>{const T=Jn[Jn.length-1];d.current=T,(!f||f(ve(x)))&&T===t&&x.stopPropagation()},b=x=>{(!f||f(ve(x)))&&(Jn[Jn.length-1]===t&&x.stopPropagation(),d.current===t&&h()),d.current=void 0},{keyboardProps:v}=lu({shortcuts:{Escape:()=>{if(!u){h();return}return!1}}});yR({ref:t,onInteractOutside:s&&i?b:void 0,onInteractOutsideStart:p});let{focusWithinProps:w}=Yo({isDisabled:!r,onBlurWithin:x=>{!x.relatedTarget||pR(x.relatedTarget)||(!f||f(x.relatedTarget))&&(l==null||l())}});return{overlayProps:{...v,...w},underlayProps:{}}}const No=typeof document<"u"&&window.visualViewport;let kc=0,R0;function o4(e={}){let{isDisabled:t}=e;Ne(()=>{if(!t)return kc++,kc===1&&(ba()&&Ml()?R0=SR():R0=xR()),()=>{kc--,kc===0&&R0()}},[t])}function xR(){let e=window.innerWidth-document.documentElement.clientWidth;return er(e>0&&("scrollbarGutter"in document.documentElement.style?Fc(document.documentElement,"scrollbarGutter","stable"):Fc(document.documentElement,"paddingRight",`${e}px`)),Fc(document.documentElement,"overflow","hidden"))}function SR(){let e=Fc(document.documentElement,"overflow","hidden"),t,l=!1,r=p=>{let b=ve(p);t=jo(b)?b:r3(b,!0),l=!1;let v=b.ownerDocument.defaultView.getSelection();v&&!v.isCollapsed&&v.containsNode(b,!0)&&(l=!0),p.composedPath().some(w=>w instanceof HTMLInputElement&&w.type==="range")&&(l=!0),"selectionStart"in b&&"selectionEnd"in b&&b.selectionStart<b.selectionEnd&&b.ownerDocument.activeElement===b&&(l=!0)},i=document.createElement("style"),s=u3();s&&(i.nonce=s),i.textContent=`
72
+ `.trim(),j.head.prepend(Y)},[v]),y.useEffect(()=>{let j=C.current;return()=>{b||Ob(j.target??void 0);for(let Y of j.disposables)Y();j.disposables=[]}},[b]),{isPressed:d||x,pressProps:Ce(w,ne,{[Bb]:!0})}}function Jh(e){return e.tagName==="A"&&e.hasAttribute("href")}function C0(e,t){const{key:l,code:r}=e,i=t,s=i.getAttribute("role");return(l==="Enter"||l===" "||l==="Spacebar"||r==="Space")&&!(i instanceof jt(i).HTMLInputElement&&!X3(i,l)||i instanceof jt(i).HTMLTextAreaElement||i.isContentEditable)&&!((s==="link"||!s&&Jh(i))&&l!=="Enter")}function Va(e,t){let l=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:l,clientY:r,key:t.key}}function OT(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Jh(e)}function Hb(e,t){return Vn()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!X3(e,t):OT(e)}const jT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function X3(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":jT.has(e.type)}function IT(e,t){let{elementType:l="button",isDisabled:r,onPress:i,onPressStart:s,onPressEnd:u,onPressUp:f,onPressChange:d,preventFocusOnPress:h,allowFocusWhenDisabled:p,onClick:b,href:v,target:w,rel:x,type:T="button"}=e,C;l==="button"?C={type:T,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:C={role:"button",href:l==="a"&&!r?v:void 0,target:l==="a"?w:void 0,type:l==="input"?T:void 0,disabled:l==="input"?r:void 0,"aria-disabled":!r||l==="input"?void 0:r,rel:l==="a"?x:void 0};let{pressProps:N,isPressed:M}=lr({onPressStart:s,onPressEnd:u,onPressChange:d,onPress:i,onPressUp:f,onClick:b,isDisabled:r,preventFocusOnPress:h,ref:t}),{focusableProps:L}=qo(e,t);p&&(L.tabIndex=r?-1:L.tabIndex);let k=Ce(L,N,mt(e,{labelable:!0}));return{isPressed:M,buttonProps:Ce(C,k,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}function Yo(e){let{isDisabled:t,onBlurWithin:l,onFocusWithin:r,onFocusWithinChange:i}=e,s=y.useRef({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:f}=Su(),d=y.useCallback(b=>{Ie(b.currentTarget,ve(b))&&s.current.isFocusWithin&&!Ie(b.currentTarget,b.relatedTarget)&&(s.current.isFocusWithin=!1,f(),l&&l(b),i&&i(!1))},[l,i,s,f]),h=K3(d),p=y.useCallback(b=>{if(!Ie(b.currentTarget,ve(b)))return;let v=ve(b);const w=He(v),x=et(w);if(!s.current.isFocusWithin&&x===v){r&&r(b),i&&i(!0),s.current.isFocusWithin=!0,h(b);let T=b.currentTarget;u(w,"focus",C=>{let N=ve(C);if(s.current.isFocusWithin&&!Ie(T,N)){let M=new w.defaultView.FocusEvent("blur",{relatedTarget:N});H3(M,T);let L=Qh(M);d(L)}},{capture:!0})}},[r,i,h,u,d]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:p,onBlur:d}}}function Dl(e={}){let{autoFocus:t=!1,isTextInput:l,within:r}=e,i=y.useRef({isFocused:!1,isFocusVisible:t||ih()}),[s,u]=y.useState(!1),[f,d]=y.useState(()=>i.current.isFocused&&i.current.isFocusVisible),h=y.useCallback(()=>d(i.current.isFocused&&i.current.isFocusVisible),[]),p=y.useCallback(w=>{i.current.isFocused=w,i.current.isFocusVisible=ih(),u(w),h()},[h]);wT(w=>{i.current.isFocusVisible=w,h()},[l,s],{enabled:s,isTextInput:l});let{focusProps:b}=G3({isDisabled:r,onFocusChange:p}),{focusWithinProps:v}=Yo({isDisabled:!r,onFocusWithinChange:p});return{isFocused:s,isFocusVisible:f,focusProps:r?v:b}}let sh=!1,Ac=0;function BT(){sh=!0,setTimeout(()=>{sh=!1},500)}function Kb(e){e.pointerType==="touch"&&BT()}function HT(){let e=He(null);if(!(typeof e>"u"))return Ac===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",Kb),Ac++,()=>{Ac--,!(Ac>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",Kb)}}function Sa(e){let{onHoverStart:t,onHoverChange:l,onHoverEnd:r,isDisabled:i}=e,[s,u]=y.useState(!1),f=y.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;y.useEffect(HT,[]);let{addGlobalListener:d,removeAllGlobalListeners:h}=Su(),{hoverProps:p,triggerHoverEnd:b}=y.useMemo(()=>{let v=(T,C)=>{if(f.pointerType=C,i||C==="touch"||f.isHovered||!Ie(T.currentTarget,ve(T)))return;f.isHovered=!0;let N=T.currentTarget;f.target=N,d(He(ve(T)),"pointerover",M=>{f.isHovered&&f.target&&!Ie(f.target,ve(M))&&w(M,M.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:N,pointerType:C}),l&&l(!0),u(!0)},w=(T,C)=>{let N=f.target;f.pointerType="",f.target=null,!(C==="touch"||!f.isHovered||!N)&&(f.isHovered=!1,h(),r&&r({type:"hoverend",target:N,pointerType:C}),l&&l(!1),u(!1))},x={};return typeof PointerEvent<"u"&&(x.onPointerEnter=T=>{sh&&T.pointerType==="mouse"||v(T,T.pointerType)},x.onPointerLeave=T=>{!i&&Ie(T.currentTarget,ve(T))&&w(T,T.pointerType)}),{hoverProps:x,triggerHoverEnd:w}},[t,l,r,i,f,d,h]);return y.useEffect(()=>{i&&b({currentTarget:f.target},f.pointerType)},[i]),{hoverProps:p,isHovered:s}}const e2=y.createContext({}),W3=O3(function(t,l){[t,l]=yn(t,l,e2);let r=t,{isPending:i}=r,{buttonProps:s,isPressed:u}=IT(t,l);s=UT(s,i);let{focusProps:f,isFocused:d,isFocusVisible:h}=Dl(t),{hoverProps:p,isHovered:b}=Sa({...t,isDisabled:t.isDisabled||i}),v={isHovered:b,isPressed:(r.isPressed||u)&&!i,isFocused:d,isFocusVisible:h,isDisabled:t.isDisabled||!1,isPending:i??!1},w=At({...t,values:v,defaultClassName:"react-aria-Button"}),x=_n(s.id),T=_n(),C=s["aria-labelledby"];i&&(C?C=`${C} ${T}`:s["aria-label"]&&(C=`${x} ${T}`));let N=y.useRef(i);y.useEffect(()=>{let L={"aria-labelledby":C||x};(!N.current&&d&&i||N.current&&d&&!i)&&Pb(L,"assertive"),N.current=i},[i,d,C,x]);let M=mt(t,{global:!0});return delete M.onClick,V.createElement(ut.button,{...Ce(M,w,s,f,p),type:s.type==="submit"&&i?"button":s.type,id:x,ref:l,"aria-labelledby":C,slot:t.slot||void 0,"aria-disabled":i?"true":s["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":v.isPressed||void 0,"data-hovered":b||void 0,"data-focused":d||void 0,"data-pending":i||void 0,"data-focus-visible":h||void 0},V.createElement(hT.Provider,{value:{id:T}},w.children))}),KT=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function UT(e,t){if(t){for(const l in e)l.startsWith("on")&&!KT.test(l)&&(e[l]=void 0);e.href=void 0,e.target=void 0}return e}const FT=typeof document<"u"?V.useInsertionEffect??V.useLayoutEffect:()=>{};function Ru(e,t,l){let[r,i]=y.useState(e||t),s=y.useRef(r),u=y.useRef(e!==void 0),f=e!==void 0;y.useEffect(()=>{u.current,u.current=f},[f]);let d=f?e:r;FT(()=>{s.current=d});let[,h]=y.useReducer(()=>({}),{}),p=y.useCallback((b,...v)=>{let w=typeof b=="function"?b(s.current):b;Object.is(s.current,w)||(s.current=w,i(w),h(),l==null||l(w,...v))},[l]);return[d,p]}const Z3=y.createContext({}),VT=y.forwardRef(function(t,l){[t,l]=yn(t,l,Z3);let{children:r,level:i=3,className:s,...u}=t,f=ut[`h${i}`];return V.createElement(f,{...u,ref:l,className:s??"react-aria-Heading"},r)}),ch=e=>e?"true":void 0;function Mt(e,t){return lT(e,(l,r)=>{const i=typeof t=="function"?t(r)??"":t??"";return VC(i,l??"")??""})}const Je=(e,t,l)=>typeof e=="function"?e({...l??{},className:t}):t,_T=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06",fill:"currentColor",fillRule:"evenodd"})}),GT=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M13.03 10.53a.75.75 0 0 1-1.06 0L8 6.56l-3.97 3.97a.75.75 0 0 1-1.06-1.06l4.5-4.5a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06",fill:"currentColor",fillRule:"evenodd"})}),qT=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M10.53 2.97a.75.75 0 0 1 0 1.06L6.56 8l3.97 3.97a.75.75 0 1 1-1.06 1.06l-4.5-4.5a.75.75 0 0 1 0-1.06l4.5-4.5a.75.75 0 0 1 1.06 0",fill:"currentColor",fillRule:"evenodd"})}),YT=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M5.47 2.97a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 1 1-1.06-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 0-1.06Z",fill:"currentColor",fillRule:"evenodd"})}),XT=({height:e=9,width:t=9,...l})=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:e,role:"presentation",viewBox:"0 0 7 7",width:t,xmlns:"http://www.w3.org/2000/svg",...l,children:E.jsx("path",{d:"M1.20592 6.84333L0.379822 6.01723L4.52594 1.8672H1.37819L1.38601 0.731812H6.48742V5.83714H5.34421L5.35203 2.6933L1.20592 6.84333Z",fill:"currentColor"})}),WT=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06Z",fill:"currentColor",fillRule:"evenodd"})}),au=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11a5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0z",fill:"currentColor",fillRule:"evenodd"})}),Q3=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M7.134 2.994L2.217 11.5a1 1 0 0 0 .866 1.5h9.834a1 1 0 0 0 .866-1.5L8.866 2.993a1 1 0 0 0-1.732 0m3.03-.75c-.962-1.665-3.366-1.665-4.329 0L.918 10.749c-.963 1.666.24 3.751 2.165 3.751h9.834c1.925 0 3.128-2.085 2.164-3.751zM8 5a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2A.75.75 0 0 1 8 5m1 5.75a1 1 0 1 1-2 0a1 1 0 0 1 2 0",fill:"currentColor",fillRule:"evenodd"})}),J3=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11a5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0M8.75 5a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0z",fill:"currentColor",fillRule:"evenodd"})}),e4=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M13.5 8a5.5 5.5 0 1 1-11 0a5.5 5.5 0 0 1 11 0M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0m-3.9-1.55a.75.75 0 1 0-1.2-.9L7.419 8.858L6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08z",fill:"currentColor",fillRule:"evenodd"})}),vz=e=>E.jsx("svg",{"aria-hidden":"true",fill:"none",height:16,role:"presentation",viewBox:"0 0 16 16",width:16,xmlns:"http://www.w3.org/2000/svg",...e,children:E.jsx("path",{clipRule:"evenodd",d:"M11.5 7a4.5 4.5 0 1 1-9 0a4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",fill:"currentColor",fillRule:"evenodd"})}),t2=y.createContext({}),Ub=({children:e,className:t,variant:l="default",...r})=>E.jsx(t2,{value:{variant:l},children:E.jsx(Ct.div,{className:eT({variant:l,className:t}),"data-slot":"surface",...r,children:e})}),t4=y.createContext({placement:"bottom"}),yz=y.forwardRef(function(t,l){[t,l]=yn(t,l,t4);let r=t.placement,i={position:"absolute",transform:r==="top"||r==="bottom"?"translateX(-50%)":"translateY(-50%)"};r!=null&&(i[r]="100%");let s=At({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:r}});s.style&&Object.keys(s.style).forEach(f=>s.style[f]===void 0&&delete s.style[f]);let u=mt(t);return V.createElement(ut.div,{...u,...s,style:{...i,...s.style},ref:l,"data-placement":r})}),ZT=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function Fb(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}let So=new WeakMap,Zt=[];function n4(e,t){let l=jt(e==null?void 0:e[0]),r=t instanceof l.Element?{root:t}:t,i=(r==null?void 0:r.root)??document.body,s=(r==null?void 0:r.shouldUseInert)&&ZT,u=new Set(e),f=new Set,d=C=>s&&C instanceof l.HTMLElement?C.inert:C.getAttribute("aria-hidden")==="true",h=(C,N)=>{s&&C instanceof l.HTMLElement?C.inert=N:N?C.setAttribute("aria-hidden","true"):(C.removeAttribute("aria-hidden"),C instanceof l.HTMLElement&&(C.inert=!1))},p=new Set;if(nl()){let C=i.getRootNode();for(let N of e){let M=N.getRootNode();for(;Hh(M)&&M!==C;)p.add(M),M=M.host.getRootNode()}}let b=C=>{for(let k of C.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(k);let N=k=>{if(f.has(k)||u.has(k)||k.parentElement&&f.has(k.parentElement)&&k.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let B of u)if(Ie(k,B))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},M=n3(He(C),C,NodeFilter.SHOW_ELEMENT,{acceptNode:N}),L=N(C);if(L===NodeFilter.FILTER_ACCEPT&&v(C),L!==NodeFilter.FILTER_REJECT){let k=M.nextNode();for(;k!=null;)v(k),k=M.nextNode()}},v=C=>{let N=So.get(C)??0;d(C)&&N===0||(N===0&&h(C,!0),f.add(C),So.set(C,N+1))};Zt.length&&Zt[Zt.length-1].disconnect(),b(i);let w=new MutationObserver(C=>{for(let N of C)if(N.type==="childList"){if(N.target.isConnected&&![...u,...f].some(M=>Ie(M,N.target)))for(let M of N.addedNodes)(M instanceof HTMLElement||M instanceof SVGElement)&&Fb(M)?u.add(M):M instanceof Element&&b(M);if(nl()){for(let M of p)if(!M.isConnected){w.disconnect();break}}}});w.observe(i,{childList:!0,subtree:!0});let x=new Set;if(nl())for(let C of p){let N=new MutationObserver(M=>{for(let L of M)if(L.type==="childList"){if(L.target.isConnected&&![...u,...f].some(k=>Ie(k,L.target)))for(let k of L.addedNodes)(k instanceof HTMLElement||k instanceof SVGElement)&&Fb(k)?u.add(k):k instanceof Element&&b(k);if(nl()){for(let k of p)if(!k.isConnected){w.disconnect();break}}}});N.observe(C,{childList:!0,subtree:!0}),x.add(N)}let T={visibleNodes:u,hiddenNodes:f,observe(){w.observe(i,{childList:!0,subtree:!0})},disconnect(){w.disconnect()}};return Zt.push(T),()=>{if(w.disconnect(),nl())for(let C of x)C.disconnect();for(let C of f){let N=So.get(C);N!=null&&(N===1?(h(C,!1),So.delete(C)):So.set(C,N-1))}T===Zt[Zt.length-1]?(Zt.pop(),Zt.length&&Zt[Zt.length-1].observe()):Zt.splice(Zt.indexOf(T),1)}}function QT(e){let t=Zt[Zt.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}const $n={top:"top",bottom:"top",left:"left",right:"left"},ru={top:"bottom",bottom:"top",left:"right",right:"left"},JT={top:"left",left:"top"},uh={top:"height",left:"width"},l4={width:"totalWidth",height:"totalHeight"},Lc={};let eR=()=>typeof document<"u"?window.visualViewport:null;function Vb(e,t){let l=0,r=0,i=0,s=0,u=0,f=0,d={},h=((t==null?void 0:t.scale)??1)>1;if(e.tagName==="BODY"||e.tagName==="HTML"){let p=document.documentElement;i=p.clientWidth,s=p.clientHeight,l=(t==null?void 0:t.width)??i,r=(t==null?void 0:t.height)??s,d.top=p.scrollTop||e.scrollTop,d.left=p.scrollLeft||e.scrollLeft,t&&(u=t.offsetTop,f=t.offsetLeft)}else({width:l,height:r,top:u,left:f}=Ko(e,!1)),d.top=e.scrollTop,d.left=e.scrollLeft,i=l,s=r;return Ml()&&(e.tagName==="BODY"||e.tagName==="HTML")&&h&&(d.top=0,d.left=0,u=(t==null?void 0:t.pageTop)??0,f=(t==null?void 0:t.pageLeft)??0),{width:l,height:r,totalWidth:i,totalHeight:s,scroll:d,top:u,left:f}}function tR(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function _b(e,t,l,r,i,s,u){let f=i.scroll[e]??0,d=r[uh[e]],h=u[e]+r.scroll[$n[e]]+s,p=u[e]+r.scroll[$n[e]]+d-s,b=t-f+r.scroll[$n[e]]+u[e]-r[$n[e]],v=t-f+l+r.scroll[$n[e]]+u[e]-r[$n[e]];return b<h?h-b:v>p?Math.max(p-v,h-b):0}function nR(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function Gb(e){if(Lc[e])return Lc[e];let[t,l]=e.split(" "),r=$n[t]||"right",i=JT[r];$n[l]||(l="center");let s=uh[r],u=uh[i];return Lc[e]={placement:t,crossPlacement:l,axis:r,crossAxis:i,size:s,crossSize:u},Lc[e]}function T0(e,t,l,r,i,s,u,f,d,h,p){let{placement:b,crossPlacement:v,axis:w,crossAxis:x,size:T,crossSize:C}=r,N={};N[x]=e[x]??0,v==="center"?N[x]+=((e[C]??0)-(l[C]??0))/2:v!==x&&(N[x]+=(e[C]??0)-(l[C]??0)),N[x]+=s;const M=e[x]-l[C]+d+h,L=e[x]+e[C]-d-h;if(N[x]=Z0(N[x],M,L),b===w){let k=f?p[T]:p[l4[T]];N[ru[w]]=Math.floor(k-e[w]+i)}else N[w]=Math.floor(e[w]+e[T]+i);return N}function lR(e,t,l,r,i,s,u,f,d,h,p){let b=(e.top!=null?e.top:d[l4.height]-(e.bottom??0)-u)-(d.scroll.top??0),v=h?l.top:0,w={top:Math.max(t.top+v,((p==null?void 0:p.offsetTop)??t.top)+v),bottom:Math.min(t.top+t.height+v,((p==null?void 0:p.offsetTop)??0)+((p==null?void 0:p.height)??0))};return f!=="top"?Math.max(0,w.bottom-b-((i.top??0)+(i.bottom??0)+s)):Math.max(0,b+u-w.top-((i.top??0)+(i.bottom??0)+s))}function qb(e,t,l,r,i,s,u,f){let{placement:d,axis:h,size:p}=s;return d===h?Math.max(0,l[h]-(u.scroll[h]??0)-(e[h]+(f?t[h]:0))-(r[h]??0)-r[ru[h]]-i):Math.max(0,e[p]+e[h]+(f?t[h]:0)-l[h]-l[p]+(u.scroll[h]??0)-(r[h]??0)-r[ru[h]]-i)}function aR(e,t,l,r,i,s,u,f,d,h,p,b,v,w,x,T,C,N){let M=Gb(e),{size:L,crossAxis:k,crossSize:B,placement:G,crossPlacement:$}=M,A=T0(t,f,l,M,p,b,h,v,x,T,d),U=p,K=qb(f,h,t,i,s+p,M,d,C);if(u&&l[L]>K){let H=Gb(`${ru[G]} ${$}`),ie=T0(t,f,l,H,p,b,h,v,x,T,d);qb(f,h,t,i,s+p,H,d,C)>K&&(M=H,A=ie,U=p)}let q="bottom";M.axis==="top"?M.placement==="top"?q="top":M.placement==="bottom"&&(q="bottom"):M.crossAxis==="top"&&(M.crossPlacement==="top"?q="bottom":M.crossPlacement==="bottom"&&(q="top"));let te=_b(k,A[k],l[B],f,d,s,h);A[k]+=te;let ne=lR(A,f,h,v,i,s,l.height,q,d,C,N);w&&w<ne&&(ne=w),l.height=Math.min(l.height,ne),A=T0(t,f,l,M,U,b,h,v,x,T,d),te=_b(k,A[k],l[B],f,d,s,h),A[k]+=te;let j={},Y=t[k]-A[k]-i[$n[k]],z=Y+.5*t[B];const O=x/2+T,oe=$n[k]==="left"?(i.left??0)+(i.right??0):(i.top??0)+(i.bottom??0),J=l[B]-oe-x/2-T,_=t[k]+x/2-(A[k]+i[$n[k]]),D=t[k]+t[B]-x/2-(A[k]+i[$n[k]]),Q=Z0(z,_,D);j[k]=Z0(Q,O,J),{placement:G,crossPlacement:$}=M,x?Y=j[k]:$==="right"?Y+=t[B]:$==="center"&&(Y+=t[B]/2);let se=G==="left"||G==="top"?l[L]:0,ce={x:G==="top"||G==="bottom"?Y:se,y:G==="left"||G==="right"?Y:se};return{position:A,maxHeight:ne,arrowOffsetLeft:j.left,arrowOffsetTop:j.top,placement:G,triggerAnchorPoint:ce}}function rR(e){let{placement:t,targetNode:l,overlayNode:r,scrollNode:i,padding:s,shouldFlip:u,boundaryElement:f,offset:d,crossOffset:h,maxHeight:p,arrowSize:b=0,arrowBoundaryOffset:v=0,targetRect:w}=e,x=eR(),T=r instanceof HTMLElement?iR(r):document.documentElement,C=T===document.documentElement;const N=window.getComputedStyle(T).position;let M=!!N&&N!=="static",L=C?Ko(l,!1,w):Yb(l,T,!1,w);if(!C){let{marginTop:q,marginLeft:te}=window.getComputedStyle(l);L.top+=parseInt(q,10)||0,L.left+=parseInt(te,10)||0}let k=Ko(r,!0),B=nR(r);k.width+=(B.left??0)+(B.right??0),k.height+=(B.top??0)+(B.bottom??0);let G=tR(i),$=Vb(f,x),A=Vb(T,x),U;if((f.tagName==="BODY"||f.tagName==="HTML")&&!C){let q=Mu(T,!1);U={top:-(q.top-$.top),left:-(q.left-$.left),width:0,height:0}}else(f.tagName==="BODY"||f.tagName==="HTML")&&C?U={top:0,left:0,width:0,height:0}:U=Yb(f,T,!1);let K=Ie(f,T);return aR(t,L,k,G,B,s,u,$,A,U,d,h,M,p,b,v,K,x)}function Mu(e,t){let{top:l,left:r,width:i,height:s}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,s=e.offsetHeight),{top:l,left:r,width:i,height:s}}function Ko(e,t,l){let{top:r,left:i,width:s,height:u}=l||Mu(e,t),{scrollTop:f,scrollLeft:d,clientTop:h,clientLeft:p}=document.documentElement;return{top:r+f-h,left:i+d-p,width:s,height:u}}function Yb(e,t,l,r){let i=window.getComputedStyle(e),s;if(i.position==="fixed")s=r||Mu(e,l);else{s=Ko(e,l,r);let u=Ko(t,l),f=window.getComputedStyle(t);u.top+=(parseInt(f.borderTopWidth,10)||0)-t.scrollTop,u.left+=(parseInt(f.borderLeftWidth,10)||0)-t.scrollLeft,s.top-=u.top,s.left-=u.left}return s.top-=parseInt(i.marginTop,10)||0,s.left-=parseInt(i.marginLeft,10)||0,s}function iR(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Xb(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Xb(t);)t=t.parentElement;return t||document.documentElement}function Xb(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const a4=new WeakMap;function oR(e){let{triggerRef:t,isOpen:l,onClose:r}=e;y.useEffect(()=>{if(!l||r===null)return;let i=s=>{let u=ve(s);if(!t.current||u instanceof Node&&!Ie(u,t.current)||u instanceof HTMLInputElement||u instanceof HTMLTextAreaElement)return;let f=r||a4.get(t.current);f&&f()};return Ow(Iw(t.current),"scroll",i,!0)},[l,r,t])}let ht=typeof document<"u"?window.visualViewport:null;function sR(e){let{direction:t}=bi(),{arrowSize:l,targetRef:r,overlayRef:i,arrowRef:s,scrollRef:u=i,placement:f="bottom",containerPadding:d=12,shouldFlip:h=!0,boundaryElement:p=typeof document<"u"?document.body:null,offset:b=0,crossOffset:v=0,shouldUpdatePosition:w=!0,isOpen:x=!0,onClose:T,maxHeight:C,arrowBoundaryOffset:N=0,getTargetRect:M}=e,[L,k]=y.useState(null),B=[w,f,i.current,r.current,s==null?void 0:s.current,u.current,d,h,p,b,v,x,t,C,N,l],G=y.useRef(ht==null?void 0:ht.scale);y.useEffect(()=>{x&&(G.current=ht==null?void 0:ht.scale)},[x]);let $=y.useCallback(()=>{var j,Y;if(w===!1||!x||!i.current||!r.current||!p||(ht==null?void 0:ht.scale)!==G.current)return;let K=null;if(u.current&&Oo(u.current)){let z=(j=et())==null?void 0:j.getBoundingClientRect(),O=u.current.getBoundingClientRect();K={type:"top",offset:((z==null?void 0:z.top)??0)-O.top},K.offset>O.height/2&&(K.type="bottom",K.offset=((z==null?void 0:z.bottom)??0)-O.bottom)}let q=i.current;!C&&i.current&&(q.style.top="0px",q.style.bottom="",q.style.maxHeight=(((Y=window.visualViewport)==null?void 0:Y.height)??window.innerHeight)+"px");let te=rR({placement:uR(f,t),overlayNode:i.current,targetNode:r.current,scrollNode:u.current||i.current,padding:d,shouldFlip:h,boundaryElement:p,offset:b,crossOffset:v,maxHeight:C,arrowSize:l??(s!=null&&s.current?Mu(s.current,!0).width:0),arrowBoundaryOffset:N,targetRect:M==null?void 0:M(r.current)});if(!te.position)return;q.style.top="",q.style.bottom="",q.style.left="",q.style.right="",Object.keys(te.position).forEach(z=>q.style[z]=te.position[z]+"px"),q.style.maxHeight=te.maxHeight!=null?te.maxHeight+"px":"";let ne=et();if(K&&ne&&u.current){let z=ne.getBoundingClientRect(),O=u.current.getBoundingClientRect(),oe=z[K.type]-O[K.type];u.current.scrollTop+=oe-K.offset}k(te)},B);Ne($,B),cR($),W0({ref:i,onResize:$}),W0({ref:r,onResize:$});let A=y.useRef(!1);Ne(()=>{let K,q=()=>{A.current=!0,clearTimeout(K),K=setTimeout(()=>{A.current=!1},500),$()},te=()=>{A.current&&q()};return ht==null||ht.addEventListener("resize",q),ht==null||ht.addEventListener("scroll",te),()=>{ht==null||ht.removeEventListener("resize",q),ht==null||ht.removeEventListener("scroll",te)}},[$]);let U=y.useCallback(()=>{A.current||T==null||T()},[T,A]);return oR({triggerRef:r,isOpen:x,onClose:T&&U}),{overlayProps:{style:{position:L?"absolute":"fixed",top:L?void 0:0,left:L?void 0:0,zIndex:1e5,...L==null?void 0:L.position,maxHeight:(L==null?void 0:L.maxHeight)??"100vh"}},placement:(L==null?void 0:L.placement)??null,triggerAnchorPoint:(L==null?void 0:L.triggerAnchorPoint)??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:L==null?void 0:L.arrowOffsetLeft,top:L==null?void 0:L.arrowOffsetTop}},updatePosition:$}}function cR(e){Ne(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function uR(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Wb=V.createContext(null),fh="react-aria-focus-scope-restore";let tt=null;function fR(e){let{children:t,contain:l,restoreFocus:r,autoFocus:i}=e,s=y.useRef(null),u=y.useRef(null),f=y.useRef([]),{parentNode:d}=y.useContext(Wb)||{},h=y.useMemo(()=>new hh({scopeRef:f}),[f]);Ne(()=>{let v=d||xt.root;if(xt.getTreeNode(v.scopeRef)&&tt&&!iu(tt,v.scopeRef)){let w=xt.getTreeNode(tt);w&&(v=w)}v.addChild(h),xt.addNode(h)},[h,d]),Ne(()=>{let v=xt.getTreeNode(f);v&&(v.contain=!!l)},[l]),Ne(()=>{var T;let v=(T=s.current)==null?void 0:T.nextSibling,w=[],x=C=>C.stopPropagation();for(;v&&v!==u.current;)w.push(v),v.addEventListener(fh,x),v=v.nextSibling;return f.current=w,()=>{for(let C of w)C.removeEventListener(fh,x)}},[t]),vR(f,r,l),pR(f,l),yR(f,r,l),bR(f,i),y.useEffect(()=>{const v=et(He(f.current?f.current[0]:void 0));let w=null;if(zn(v,f.current)){for(let x of xt.traverse())x.scopeRef&&zn(v,x.scopeRef.current)&&(w=x);w===xt.getTreeNode(f)&&(tt=w.scopeRef)}},[f]),Ne(()=>()=>{var w,x;let v=((x=(w=xt.getTreeNode(f))==null?void 0:w.parent)==null?void 0:x.scopeRef)??null;(f===tt||iu(f,tt))&&(!v||xt.getTreeNode(v))&&(tt=v),xt.removeTreeNode(f)},[f]);let p=y.useMemo(()=>dR(f),[]),b=y.useMemo(()=>({focusManager:p,parentNode:h}),[h,p]);return V.createElement(Wb.Provider,{value:b},V.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:s}),t,V.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:u}))}function dR(e){return{focusNext(t={}){let l=e.current,{from:r,tabbable:i,wrap:s,accept:u}=t,f=r||et(He(l[0]??void 0)),d=l[0].previousElementSibling,h=Wa(l),p=ll(h,{tabbable:i,accept:u},l);p.currentNode=zn(f,l)?f:d;let b=p.nextNode();return!b&&s&&(p.currentNode=d,b=p.nextNode()),b&&Un(b,!0),b},focusPrevious(t={}){let l=e.current,{from:r,tabbable:i,wrap:s,accept:u}=t,f=r||et(He(l[0]??void 0)),d=l[l.length-1].nextElementSibling,h=Wa(l),p=ll(h,{tabbable:i,accept:u},l);p.currentNode=zn(f,l)?f:d;let b=p.previousNode();return!b&&s&&(p.currentNode=d,b=p.previousNode()),b&&Un(b,!0),b},focusFirst(t={}){let l=e.current,{tabbable:r,accept:i}=t,s=Wa(l),u=ll(s,{tabbable:r,accept:i},l);u.currentNode=l[0].previousElementSibling;let f=u.nextNode();return f&&Un(f,!0),f},focusLast(t={}){let l=e.current,{tabbable:r,accept:i}=t,s=Wa(l),u=ll(s,{tabbable:r,accept:i},l);u.currentNode=l[l.length-1].nextElementSibling;let f=u.previousNode();return f&&Un(f,!0),f}}}function Wa(e){return e[0].parentElement}function Mo(e){let t=xt.getTreeNode(tt);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function hR(e){if(!e.form)return Array.from(He(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(r=>!r.form);const t=e.form.elements.namedItem(e.name);let l=jt(e);return t instanceof l.RadioNodeList?Array.from(t).filter(r=>r instanceof l.HTMLInputElement):t instanceof l.HTMLInputElement?[t]:[]}function mR(e){if(e.checked)return!0;const t=hR(e);return t.length>0&&!t.some(l=>l.checked)}function pR(e,t){let l=y.useRef(void 0),r=y.useRef(void 0);Ne(()=>{let i=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const s=He(i?i[0]:void 0);let u=h=>{if(h.key!=="Tab"||h.altKey||h.ctrlKey||h.metaKey||!Mo(e)||h.isComposing)return;let p=et(s),b=e.current;if(!b||!zn(p,b))return;let v=Wa(b),w=ll(v,{tabbable:!0},b);if(!p)return;w.currentNode=p;let x=h.shiftKey?w.previousNode():w.nextNode();x||(w.currentNode=h.shiftKey?b[b.length-1].nextElementSibling:b[0].previousElementSibling,x=h.shiftKey?w.previousNode():w.nextNode()),h.preventDefault(),x&&(Un(x,!0),x instanceof jt(x).HTMLInputElement&&x.select())},f=h=>{(!tt||iu(tt,e))&&zn(ve(h),e.current)?(tt=e,l.current=ve(h)):Mo(e)&&!da(ve(h),e)?l.current?Un(l.current):tt&&tt.current&&dh(tt.current):Mo(e)&&(l.current=ve(h))},d=h=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let p=pa(),b=(p==="virtual"||p===null)&&Wc()&&Zy(),v=et(s);if(!b&&v&&Mo(e)&&!da(v,e)){tt=e;let w=ve(h);w&&w.isConnected?(l.current=w,Un(l.current)):tt.current&&dh(tt.current)}})};return s.addEventListener("keydown",u,!1),s.addEventListener("focusin",f,!1),i==null||i.forEach(h=>h.addEventListener("focusin",f,!1)),i==null||i.forEach(h=>h.addEventListener("focusout",d,!1)),()=>{s.removeEventListener("keydown",u,!1),s.removeEventListener("focusin",f,!1),i==null||i.forEach(h=>h.removeEventListener("focusin",f,!1)),i==null||i.forEach(h=>h.removeEventListener("focusout",d,!1))}},[e,t]),Ne(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function r4(e){return da(e)}function zn(e,t){return!e||!t?!1:t.some(l=>Ie(l,e))}function da(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:l}of xt.traverse(xt.getTreeNode(t)))if(l&&zn(e,l.current))return!0;return!1}function gR(e){return da(e,tt)}function iu(e,t){var r;let l=(r=xt.getTreeNode(t))==null?void 0:r.parent;for(;l;){if(l.scopeRef===e)return!0;l=l.parent}return!1}function Un(e,t=!1){if(e!=null&&!t)try{va(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function i4(e,t=!0){let l=e[0].previousElementSibling,r=Wa(e),i=ll(r,{tabbable:t},e);i.currentNode=l;let s=i.nextNode();return t&&!s&&(r=Wa(e),i=ll(r,{tabbable:!1},e),i.currentNode=l,s=i.nextNode()),s}function dh(e,t=!0){Un(i4(e,t))}function bR(e,t){const l=V.useRef(t);y.useEffect(()=>{if(l.current){tt=e;const r=He(e.current?e.current[0]:void 0);!zn(et(r),tt.current)&&e.current&&dh(e.current)}l.current=!1},[e])}function vR(e,t,l){Ne(()=>{if(t||l)return;let r=e.current;const i=He(r?r[0]:void 0);let s=u=>{let f=ve(u);zn(f,e.current)?tt=e:r4(f)||(tt=null)};return i.addEventListener("focusin",s,!1),r==null||r.forEach(u=>u.addEventListener("focusin",s,!1)),()=>{i.removeEventListener("focusin",s,!1),r==null||r.forEach(u=>u.removeEventListener("focusin",s,!1))}},[e,t,l])}function Zb(e){let t=xt.getTreeNode(tt);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function yR(e,t,l){const r=y.useRef(typeof document<"u"?et(He(e.current?e.current[0]:void 0)):null);Ne(()=>{let i=e.current;const s=He(i?i[0]:void 0);if(!t||l)return;let u=()=>{(!tt||iu(tt,e))&&zn(et(s),e.current)&&(tt=e)};return s.addEventListener("focusin",u,!1),i==null||i.forEach(f=>f.addEventListener("focusin",u,!1)),()=>{s.removeEventListener("focusin",u,!1),i==null||i.forEach(f=>f.removeEventListener("focusin",u,!1))}},[e,l]),Ne(()=>{const i=He(e.current?e.current[0]:void 0);if(!t)return;let s=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!Mo(e)||u.isComposing)return;let f=i.activeElement;if(!da(f,e)||!Zb(e))return;let d=xt.getTreeNode(e);if(!d)return;let h=d.nodeToRestore,p=ll(i.body,{tabbable:!0});p.currentNode=f;let b=u.shiftKey?p.previousNode():p.nextNode();if((!h||!h.isConnected||h===i.body)&&(h=void 0,d.nodeToRestore=void 0),(!b||!da(b,e))&&h){p.currentNode=h;do b=u.shiftKey?p.previousNode():p.nextNode();while(da(b,e));u.preventDefault(),u.stopPropagation(),b?Un(b,!0):r4(h)?Un(h,!0):f.blur()}};return l||i.addEventListener("keydown",s,!0),()=>{l||i.removeEventListener("keydown",s,!0)}},[e,t,l]),Ne(()=>{const i=He(e.current?e.current[0]:void 0);if(!t)return;let s=xt.getTreeNode(e);if(s)return s.nodeToRestore=r.current??void 0,()=>{let u=xt.getTreeNode(e);if(!u)return;let f=u.nodeToRestore,d=et(i);if(t&&f&&(d&&da(d,e)||d===i.body&&Zb(e))){let h=xt.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let p=h.getTreeNode(e);for(;p;){if(p.nodeToRestore&&p.nodeToRestore.isConnected){Qb(p.nodeToRestore);return}p=p.parent}for(p=h.getTreeNode(e);p;){if(p.scopeRef&&p.scopeRef.current&&xt.getTreeNode(p.scopeRef)){let b=i4(p.scopeRef.current,!0);Qb(b);return}p=p.parent}}})}}},[e,t])}function Qb(e){e.dispatchEvent(new CustomEvent(fh,{bubbles:!0,cancelable:!0}))&&Un(e)}function ll(e,t,l){let r=t!=null&&t.tabbable?_h:c3,i=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,s=He(i),u=n3(s,e||s,NodeFilter.SHOW_ELEMENT,{acceptNode(f){return Ie(t==null?void 0:t.from,f)||t!=null&&t.tabbable&&f.tagName==="INPUT"&&f.getAttribute("type")==="radio"&&(!mR(f)||u.currentNode.tagName==="INPUT"&&u.currentNode.type==="radio"&&u.currentNode.name===f.name)?NodeFilter.FILTER_REJECT:r(f)&&(!l||zn(f,l))&&(!(t!=null&&t.accept)||t.accept(f))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(u.currentNode=t.from),u}class n2{constructor(){this.fastMap=new Map,this.root=new hh({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,l,r){let i=this.fastMap.get(l??null);if(!i)return;let s=new hh({scopeRef:t});i.addChild(s),s.parent=i,this.fastMap.set(t,s),r&&(s.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let l=this.fastMap.get(t);if(!l)return;let r=l.parent;for(let s of this.traverse())s!==l&&l.nodeToRestore&&s.nodeToRestore&&l.scopeRef&&l.scopeRef.current&&zn(s.nodeToRestore,l.scopeRef.current)&&(s.nodeToRestore=l.nodeToRestore);let i=l.children;r&&(r.removeChild(l),i.size>0&&i.forEach(s=>r&&r.addChild(s))),this.fastMap.delete(l.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let l of t.children)yield*this.traverse(l)}clone(){var l;let t=new n2;for(let r of this.traverse())t.addTreeNode(r.scopeRef,((l=r.parent)==null?void 0:l.scopeRef)??null,r.nodeToRestore);return t}}class hh{constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}}let xt=new n2;function xR(e){let{ref:t,onInteractOutside:l,isDisabled:r,onInteractOutsideStart:i}=e,s=y.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),u=Fn(d=>{l&&Jb(d,t)&&(i&&i(d),s.current.isPointerDown=!0)}),f=Fn(d=>{l&&l(d)});y.useEffect(()=>{let d=s.current;if(r)return;const h=t.current,p=He(h);if(typeof PointerEvent<"u"){let b=v=>{d.isPointerDown&&Jb(v,t)&&f(v),d.isPointerDown=!1};return p.addEventListener("pointerdown",u,!0),p.addEventListener("click",b,!0),()=>{p.removeEventListener("pointerdown",u,!0),p.removeEventListener("click",b,!0)}}},[t,r])}function Jb(e,t){if(e.button>0)return!1;let l=ve(e);if(l){const r=l.ownerDocument;if(!r||!Ie(r.documentElement,l)||l.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}const Jn=[];function o4(e,t){let{onClose:l,shouldCloseOnBlur:r,isOpen:i,isDismissable:s=!1,isKeyboardDismissDisabled:u=!1,shouldCloseOnInteractOutside:f}=e,d=y.useRef(void 0);y.useEffect(()=>{if(i&&!Jn.includes(t))return Jn.push(t),()=>{let x=Jn.indexOf(t);x>=0&&Jn.splice(x,1)}},[i,t]);let h=()=>{Jn[Jn.length-1]===t&&l&&l()},p=x=>{const T=Jn[Jn.length-1];d.current=T,(!f||f(ve(x)))&&T===t&&x.stopPropagation()},b=x=>{(!f||f(ve(x)))&&(Jn[Jn.length-1]===t&&x.stopPropagation(),d.current===t&&h()),d.current=void 0},{keyboardProps:v}=lu({shortcuts:{Escape:()=>{if(!u){h();return}return!1}}});xR({ref:t,onInteractOutside:s&&i?b:void 0,onInteractOutsideStart:p});let{focusWithinProps:w}=Yo({isDisabled:!r,onBlurWithin:x=>{!x.relatedTarget||gR(x.relatedTarget)||(!f||f(x.relatedTarget))&&(l==null||l())}});return{overlayProps:{...v,...w},underlayProps:{}}}const No=typeof document<"u"&&window.visualViewport;let kc=0,R0;function s4(e={}){let{isDisabled:t}=e;Ne(()=>{if(!t)return kc++,kc===1&&(ba()&&Ml()?R0=wR():R0=SR()),()=>{kc--,kc===0&&R0()}},[t])}function SR(){let e=window.innerWidth-document.documentElement.clientWidth;return er(e>0&&("scrollbarGutter"in document.documentElement.style?Fc(document.documentElement,"scrollbarGutter","stable"):Fc(document.documentElement,"paddingRight",`${e}px`)),Fc(document.documentElement,"overflow","hidden"))}function wR(){let e=Fc(document.documentElement,"overflow","hidden"),t,l=!1,r=p=>{let b=ve(p);t=jo(b)?b:i3(b,!0),l=!1;let v=b.ownerDocument.defaultView.getSelection();v&&!v.isCollapsed&&v.containsNode(b,!0)&&(l=!0),p.composedPath().some(w=>w instanceof HTMLInputElement&&w.type==="range")&&(l=!0),"selectionStart"in b&&"selectionEnd"in b&&b.selectionStart<b.selectionEnd&&b.ownerDocument.activeElement===b&&(l=!0)},i=document.createElement("style"),s=f3();s&&(i.nonce=s),i.textContent=`
73
73
  @layer {
74
74
  * {
75
75
  overscroll-behavior: contain;
76
76
  }
77
- }`.trim(),document.head.prepend(i);let u=p=>{if(!(p.touches.length===2||l)){if(!t||t===document.documentElement||t===document.body){p.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&p.preventDefault()}},f=p=>{var w;let b=ve(p),v=p.relatedTarget;if(v&&Ao(v))v.focus({preventScroll:!0}),ev(v,Ao(b));else if(!v){let x=(w=b.parentElement)==null?void 0:w.closest("[tabindex]");x==null||x.focus({preventScroll:!0})}},d=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(p){let b=et(),v=b!=null&&Ao(b);d.call(this,{...p,preventScroll:!0}),(!p||!p.preventScroll)&&ev(this,v)};let h=er(M0(document,"touchstart",r,{passive:!1,capture:!0}),M0(document,"touchmove",u,{passive:!1,capture:!0}),M0(document,"blur",f,!0));return()=>{e(),h(),i.remove(),HTMLElement.prototype.focus=d}}function Fc(e,t,l){let r=e.style[t];return e.style[t]=l,()=>{e.style[t]=r}}function M0(e,t,l,r){return e.addEventListener(t,l,r),()=>{e.removeEventListener(t,l,r)}}function ev(e,t){t||!No?tv(e):No.addEventListener("resize",()=>tv(e),{once:!0})}function tv(e){let t=document.scrollingElement||document.documentElement,l=e;for(;l&&l!==t;){let r=r3(l);if(r!==document.documentElement&&r!==document.body&&r!==l){let i=r.getBoundingClientRect(),s=l.getBoundingClientRect();if(s.top<i.top||s.bottom>i.top+l.clientHeight){let u=i.bottom;No&&(u=Math.min(u,No.offsetTop+No.height));let f=s.top-i.top-((u-i.top)/2-s.height/2);r.scrollTo({top:Math.max(0,Math.min(r.scrollHeight-r.clientHeight,r.scrollTop+f)),behavior:"smooth"})}}l=r.parentElement}}function wR(e,t){let{triggerRef:l,popoverRef:r,groupRef:i,isNonModal:s,isKeyboardDismissDisabled:u,shouldCloseOnInteractOutside:f,...d}=e,h=d.trigger==="SubmenuTrigger",{overlayProps:p,underlayProps:b}=i4({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!s||h,isKeyboardDismissDisabled:u,shouldCloseOnInteractOutside:f},i??r),{overlayProps:v,arrowProps:w,placement:x,triggerAnchorPoint:T}=oR({...d,targetRef:l,overlayRef:r,isOpen:t.isOpen,onClose:s&&!h?t.close:null,getTargetRect:d.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});o4({isDisabled:s||!t.isOpen}),y.useEffect(()=>{if(t.isOpen&&r.current)return s?ZT((i==null?void 0:i.current)??r.current):t4([(i==null?void 0:i.current)??r.current],{shouldUseInert:!0})},[s,t.isOpen,r,i]);let{focusWithinProps:C}=Yo(e);return{popoverProps:Ce(p,v,C),arrowProps:w,underlayProps:b,placement:x,triggerAnchorPoint:T}}var s4={};s4={dismiss:"تجاهل"};var c4={};c4={dismiss:"Отхвърляне"};var u4={};u4={dismiss:"Odstranit"};var f4={};f4={dismiss:"Luk"};var d4={};d4={dismiss:"Schließen"};var h4={};h4={dismiss:"Απόρριψη"};var m4={};m4={dismiss:"Dismiss"};var p4={};p4={dismiss:"Descartar"};var g4={};g4={dismiss:"Lõpeta"};var b4={};b4={dismiss:"Hylkää"};var v4={};v4={dismiss:"Rejeter"};var y4={};y4={dismiss:"התעלם"};var x4={};x4={dismiss:"Odbaci"};var S4={};S4={dismiss:"Elutasítás"};var w4={};w4={dismiss:"Ignora"};var E4={};E4={dismiss:"閉じる"};var C4={};C4={dismiss:"무시"};var T4={};T4={dismiss:"Atmesti"};var R4={};R4={dismiss:"Nerādīt"};var M4={};M4={dismiss:"Lukk"};var A4={};A4={dismiss:"Negeren"};var L4={};L4={dismiss:"Zignoruj"};var k4={};k4={dismiss:"Descartar"};var N4={};N4={dismiss:"Dispensar"};var D4={};D4={dismiss:"Revocare"};var $4={};$4={dismiss:"Пропустить"};var z4={};z4={dismiss:"Zrušiť"};var P4={};P4={dismiss:"Opusti"};var O4={};O4={dismiss:"Odbaci"};var j4={};j4={dismiss:"Avvisa"};var I4={};I4={dismiss:"Kapat"};var B4={};B4={dismiss:"Скасувати"};var H4={};H4={dismiss:"取消"};var K4={};K4={dismiss:"關閉"};var U4={};U4={"ar-AE":s4,"bg-BG":c4,"cs-CZ":u4,"da-DK":f4,"de-DE":d4,"el-GR":h4,"en-US":m4,"es-ES":p4,"et-EE":g4,"fi-FI":b4,"fr-FR":v4,"he-IL":y4,"hr-HR":x4,"hu-HU":S4,"it-IT":w4,"ja-JP":E4,"ko-KR":C4,"lt-LT":T4,"lv-LV":R4,"nb-NO":M4,"nl-NL":A4,"pl-PL":L4,"pt-BR":k4,"pt-PT":N4,"ro-RO":D4,"ru-RU":$4,"sk-SK":z4,"sl-SI":P4,"sr-SP":O4,"sv-SE":j4,"tr-TR":I4,"uk-UA":B4,"zh-CN":H4,"zh-TW":K4};const ER=Symbol.for("react-aria.i18n.locale"),CR=Symbol.for("react-aria.i18n.strings");let Qr;class Au{constructor(t,l="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=l}getStringForLocale(t,l){let i=this.getStringsForLocale(l)[t];if(!i)throw new Error(`Could not find intl message ${t} in ${l} locale`);return i}getStringsForLocale(t){let l=this.strings[t];return l||(l=TR(t,this.strings,this.defaultLocale),this.strings[t]=l),l}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let l=window[ER];if(Qr===void 0){let i=window[CR];if(!i)return null;Qr={};for(let s in i)Qr[s]=new Au({[l]:i[s]},l)}let r=Qr==null?void 0:Qr[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}}function TR(e,t,l="en-US"){if(t[e])return t[e];let r=RR(e),i=MR(e);if(i&&t[`${r}-${i}`])return t[`${r}-${i}`];if(t[r])return t[r];for(let s in t)if(s.startsWith(r+"-"))return t[s];return t[l]}function RR(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function MR(e){if(Intl.Locale)return new Intl.Locale(e).script}const nv=new Map,lv=new Map;class AR{constructor(t,l){this.locale=t,this.strings=l}format(t,l){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(l,this):r}plural(t,l,r="cardinal"){let i=l["="+t];if(i)return typeof i=="function"?i():i;let s=this.locale+":"+r,u=nv.get(s);u||(u=new Intl.PluralRules(this.locale,{type:r}),nv.set(s,u));let f=u.select(t);return i=l[f]||l.other,typeof i=="function"?i():i}number(t){let l=lv.get(this.locale);return l||(l=new Intl.NumberFormat(this.locale),lv.set(this.locale,l)),l.format(t)}select(t,l){let r=t[l]||t.other;return typeof r=="function"?r():r}}const av=new WeakMap;function LR(e){let t=av.get(e);return t||(t=new Au(e),av.set(e,t)),t}function kR(e,t){return t&&Au.getGlobalDictionaryForPackage(t)||LR(e)}function l2(e,t){let{locale:l}=bi(),r=kR(e,t);return y.useMemo(()=>new AR(l,r),[l,r])}const rv={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function NR(e={}){let{style:t,isFocusable:l}=e,[r,i]=y.useState(!1),{focusWithinProps:s}=Yo({isDisabled:!l,onFocusWithinChange:f=>i(f)}),u=y.useMemo(()=>r?t:t?{...rv,...t}:rv,[r]);return{visuallyHiddenProps:{...s,style:u}}}function F4(e){let{children:t,elementType:l="div",isFocusable:r,style:i,...s}=e,{visuallyHiddenProps:u}=NR(e);return V.createElement(l,Ce(s,u),t)}function DR(e){return e&&e.__esModule?e.default:e}function mh(e){let{onDismiss:t,...l}=e,r=l2(DR(U4),"@react-aria/overlays"),i=Kh(l,r.format("dismiss")),s=()=>{t&&t()};return V.createElement(F4,null,V.createElement("button",{...i,tabIndex:-1,onClick:s,style:{width:1,height:1}}))}const $R=V.forwardRef(({children:e,...t},l)=>{let r=y.useRef(!1),i=y.useContext(Ho),s=Ce(i||{},{...t,register(){r.current=!0,i&&i.register()}});return s.ref=bn(l||(i==null?void 0:i.ref)),Uh(i,s.ref),y.useEffect(()=>{r.current||(r.current=!0)},[]),V.createElement(Ho.Provider,{value:s},e)});function zR({children:e}){let t=y.useMemo(()=>({register:()=>{}}),[]);return V.createElement(Ho.Provider,{value:t},e)}const PR=y.createContext({});function V4(){return y.useContext(PR)??{}}const _4=V.createContext(null);function ph(e){let t=Nl(),{portalContainer:l=t?null:document.body,isExiting:r}=e,[i,s]=y.useState(!1),u=y.useMemo(()=>({contain:i,setContain:s}),[i,s]),{getContainer:f}=V4();if(!e.portalContainer&&f&&(l=f()),!l)return null;let d=e.children;return e.disableFocusManagement||(d=V.createElement(uR,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},d)),d=V.createElement(_4.Provider,{value:u},V.createElement(zR,null,V.createElement(Bo.Provider,{value:null},d))),N9.createPortal(d,l)}function G4(){let e=y.useContext(_4),t=e==null?void 0:e.setContain;Ne(()=>{t==null||t(!0)},[t])}function a2(e){let[t,l]=Ru(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[r,i]=y.useState(null);const s=y.useCallback(()=>{l(!0)},[l]),u=y.useCallback(()=>{l(!1)},[l]),f=y.useCallback(()=>{l(!t)},[l,t]);return{isOpen:t,setOpen:l,open:s,close:u,toggle:f,point:r,setPoint:i}}const q4=y.createContext(null),iv=y.createContext(null),xz=y.forwardRef(function(t,l){[t,l]=yn(t,l,q4);let r=y.useContext(yi),i=a2(t),s=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,u=Zc(l,s.isOpen),f=t.isExiting||!t.shouldSkipAnimation&&u||!1,d=iT(),{direction:h}=bi();if(d){let p=t.children;return typeof p=="function"&&(p=p({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),V.createElement(V.Fragment,null,p)}return s&&!s.isOpen&&!f?null:V.createElement(OR,{...t,triggerRef:t.triggerRef,state:s,popoverRef:l,isExiting:f,dir:h})});function OR({state:e,isExiting:t,UNSTABLE_portalContainer:l,clearContexts:r,...i}){var q,te;let s=y.useRef(null),u=y.useRef(null),f=y.useContext(iv),d=f&&i.trigger==="SubmenuTrigger",{popoverProps:h,underlayProps:p,arrowProps:b,placement:v,triggerAnchorPoint:w}=wR({...i,offset:i.offset??8,arrowRef:s,groupRef:d?f:u},e),x=i.popoverRef,T=wu(x,!!v),C=i.isEntering||!i.shouldSkipAnimation&&T||!1,N=At({...i,defaultClassName:"react-aria-Popover",values:{trigger:i.trigger||null,placement:v,isEntering:C,isExiting:t}}),M=!i.isNonModal||i.trigger==="SubmenuTrigger"||i.trigger==="PreviewTrigger",[L,k]=y.useState(i.trigger==="PreviewTrigger");Ne(()=>{x.current&&k(M&&!x.current.querySelector("[role=dialog]"))},[x,M]),y.useEffect(()=>{L&&i.trigger!=="PreviewTrigger"&&(i.trigger!=="SubmenuTrigger"||pa()!=="pointer")&&x.current&&!Oo(x.current)&&va(x.current)},[L,x,i.trigger]);let B=y.useMemo(()=>{let ne=N.children;if(r)for(let j of r)ne=V.createElement(j.Provider,{value:null},ne);return ne},[N.children,r]),[G,$]=y.useState(null),A=y.useCallback(()=>{i.triggerRef.current&&$(i.triggerRef.current.getBoundingClientRect().width+"px")},[i.triggerRef]);Ne(A,[A]),W0({ref:(q=N.style)!=null&&q["--trigger-width"]?void 0:i.triggerRef,onResize:A});let U={...h.style,"--trigger-anchor-point":w?`${w.x}px ${w.y}px`:void 0,...N.style,"--trigger-width":((te=N.style)==null?void 0:te["--trigger-width"])||G},K=V.createElement(ut.div,{...Ce(mt(i,{global:!0}),h),...N,id:L?i.id:void 0,role:L?"dialog":void 0,tabIndex:L?-1:void 0,"aria-label":i["aria-label"],"aria-labelledby":i["aria-labelledby"],ref:x,slot:i.slot||void 0,style:U,dir:i.dir,"data-trigger":i.trigger,"data-placement":v,"data-entering":C||void 0,"data-exiting":t||void 0},!i.isNonModal&&V.createElement(mh,{onDismiss:e.close}),V.createElement(e4.Provider,{value:{...b,placement:v,ref:s}},B),V.createElement(mh,{onDismiss:e.close}));return d?V.createElement(ph,{...i,shouldContainFocus:L&&i.trigger!=="PreviewTrigger",isExiting:t,portalContainer:l??(f==null?void 0:f.current)??void 0},K):V.createElement(ph,{...i,shouldContainFocus:L&&i.trigger!=="PreviewTrigger",isExiting:t,portalContainer:l},!i.isNonModal&&e.isOpen&&V.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),V.createElement("div",{ref:u,style:{display:"contents"}},V.createElement(iv.Provider,{value:u},K)))}class vi{constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,l,r){let i=this.clone();return l.addDescendants(i,t),i}}class Y4 extends vi{filter(t,l,r){let[i,s]=X4(t,l,this.firstChildKey,r),u=this.clone();return u.firstChildKey=i,u.lastChildKey=s,u}}const T2=class T2 extends vi{};T2.type="header";let ov=T2;const R2=class R2 extends vi{};R2.type="loader";let sv=R2;const M2=class M2 extends Y4{filter(t,l,r){if(r(this.textValue,this)){let i=this.clone();return l.addDescendants(i,t),i}return null}};M2.type="item";let cv=M2;const A2=class A2 extends Y4{filter(t,l,r){let i=super.filter(t,l,r);if(i&&i.lastChildKey!==null){let s=t.getItem(i.lastChildKey);if(s&&s.type!=="header")return i}return null}};A2.type="section";let uv=A2;class jR{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let l=this.keyMap;return{*[Symbol.iterator](){let r=l.get(t),i=(r==null?void 0:r.firstChildKey)!=null?l.get(r.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?l.get(i.nextKey):void 0}}}getKeyBefore(t){let l=this.keyMap.get(t);if(!l)return null;if(l.prevKey!=null){for(l=this.keyMap.get(l.prevKey);l&&l.type!=="item"&&l.lastChildKey!=null;)l=this.keyMap.get(l.lastChildKey);return(l==null?void 0:l.key)??null}return l.parentKey}getKeyAfter(t){let l=this.keyMap.get(t);if(!l)return null;if(l.type!=="item"&&l.firstChildKey!=null)return l.firstChildKey;for(;l;){if(l.nextKey!=null)return l.nextKey;if(l.parentKey!=null)l=this.keyMap.get(l.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);return(t==null?void 0:t.key)??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,l=new t;return l.keyMap=new Map(this.keyMap),l.firstKey=this.firstKey,l.lastKey=this.lastKey,l.itemCount=this.itemCount,l}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,l){this.addNode(t);let r=l.getChildren(t.key);for(let i of r)this.addDescendants(i,l)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let l=this.keyMap.get(t);l!=null&&l.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,l,r=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=l,this.frozen=!r}filter(t){let l=new this.constructor,[r,i]=X4(this,l,this.firstKey,t);return l==null||l.commit(r,i),l}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function X4(e,t,l,r){if(l==null)return[null,null];let i=null,s=null,u=e.getItem(l);for(;u!=null;){let f=u.filter(e,t,r);f!=null&&(f.nextKey=null,s&&(f.prevKey=s.key,s.nextKey=f.key),i==null&&(i=f),t.addNode(f),s=f),u=u.nextKey!=null?e.getItem(u.nextKey):null}if(s&&s.type==="separator"){let f=s.prevKey;t.removeNode(s.key),f!=null?(s=t.getItem(f),s.nextKey=null):s=null}return[(i==null?void 0:i.key)??null,(s==null?void 0:s.key)??null]}class W4{constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)==null?void 0:t.isConnected)||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,l){if(l==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=l,t.previousSibling=l.previousSibling,t.index=l.index-1,this.firstChild===l?this.firstChild=t:l.previousSibling&&(l.previousSibling.nextSibling=t),l.previousSibling=t,t.parentNode=l.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}}class hi extends W4{constructor(t,l){super(l),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){var t;return this.parentNode instanceof hi?this.parentNode.level+(((t=this.parentNode.node)==null?void 0:t.type)==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){var r,i,s,u,f,d,h,p;let t=this.nextVisibleSibling,l=this.getMutableNode();if(l!=null&&(l.index=this.index,l.level=this.level,l.parentKey=this.parentNode instanceof hi?((r=this.parentNode.node)==null?void 0:r.key)??null:null,l.prevKey=((s=(i=this.previousVisibleSibling)==null?void 0:i.node)==null?void 0:s.key)??null,l.nextKey=((u=t==null?void 0:t.node)==null?void 0:u.key)??null,l.hasChildNodes=!!this.firstChild,l.firstChildKey=((d=(f=this.firstVisibleChild)==null?void 0:f.node)==null?void 0:d.key)??null,l.lastChildKey=((p=(h=this.lastVisibleChild)==null?void 0:h.node)==null?void 0:p.key)??null,(l.colSpan!=null||l.colIndex!=null)&&t)){let b=(l.colIndex??l.index)+(l.colSpan??1);if(t.node!=null&&b!==t.node.colIndex){let v=t.getMutableNode();v.colIndex=b}}}setProps(t,l,r,i,s){let u,{value:f,textValue:d,id:h,...p}=t;if(this.node==null?(u=new r(h??`react-aria-${++this.ownerDocument.nodeId}`),this.node=u):u=this.getMutableNode(),p.ref=l,u.props=p,u.rendered=i,u.render=s,u.value=f,t["aria-label"]&&(u["aria-label"]=t["aria-label"]),u.textValue=d||(typeof p.children=="string"?p.children:"")||t["aria-label"]||"",h!=null&&h!==u.key)throw new Error("Cannot change the id of an item");p.colSpan!=null&&(u.colSpan=p.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(l){var i,s;let r=l==="none";if(t.isHidden!==r){(((i=t.parentNode)==null?void 0:i.firstVisibleChild)===t||((s=t.parentNode)==null?void 0:s.lastVisibleChild)===t)&&t.ownerDocument.markDirty(t.parentNode);let u=t.previousVisibleSibling,f=t.nextVisibleSibling;u&&t.ownerDocument.markDirty(u),f&&t.ownerDocument.markDirty(f),t.isHidden=r,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}}class IR extends W4{constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}get isConnected(){return!0}createElement(t){return new hi(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let l=this.getMutableCollection();if(!l.getItem(t.node.key))for(let r of t)this.addNode(r);l.addNode(t.node)}removeNode(t){for(let l of t)this.removeNode(l);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection:(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){var t,l,r,i;for(let s of this.dirtyNodes)s instanceof hi&&(!s.isConnected||s.isHidden)?this.removeNode(s):s.updateChildIndices();for(let s of this.dirtyNodes)s instanceof hi?(s.isConnected&&!s.isHidden&&(s.updateNode(),this.addNode(s)),s.node&&this.dirtyNodes.delete(s),s.isMutated=!1):this.dirtyNodes.delete(s);this.nextCollection&&(this.nextCollection.commit(((l=(t=this.firstVisibleChild)==null?void 0:t.node)==null?void 0:l.key)??null,((i=(r=this.lastVisibleChild)==null?void 0:r.node)==null?void 0:i.key)??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),this.queuedRender&&t(),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}}function Z4(e){let{children:t,items:l,idScope:r,addIdAndValue:i,dependencies:s=[]}=e,u=y.useMemo(()=>{},[t]),f=y.useMemo(()=>new WeakMap,[...s,u]);return y.useMemo(()=>{if(l&&typeof t=="function"){let d=[];for(let h of l){let p=BR(h)?h:null,b=p?f.get(p):null;if(!b){b=t(h);let v=b.props.id??(h==null?void 0:h.key)??(h==null?void 0:h.id);r!=null&&b.props.id==null&&v!=null&&(v=r+":"+v);let w=v??d.length;b=y.cloneElement(b,i?{key:w,id:v,value:h}:{key:w}),p&&f.set(p,b)}d.push(b)}return d}else if(typeof t!="function")return t},[t,l,f,r,i])}function BR(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var Lu=Iy();const Q4=y.createContext(!1),Uo=y.createContext(null);function HR(e){if(y.useContext(Uo))return e.content;let{collection:l,document:r}=VR(e.createCollection);return V.createElement(V.Fragment,null,V.createElement(rT,null,V.createElement(Uo.Provider,{value:r},e.content)),V.createElement(KR,{render:e.children,collection:l}))}function KR({collection:e,render:t}){return t(e)}function UR(e,t,l){let r=Nl(),i=y.useRef(r);i.current=r;let s=y.useCallback(()=>i.current?l():t(),[t,l]);return Lu.useSyncExternalStore(e,s)}const FR=typeof V.useSyncExternalStore=="function"?V.useSyncExternalStore:UR;function VR(e){let[t]=y.useState(()=>new IR((e==null?void 0:e())||new jR)),l=y.useCallback(u=>t.subscribe(u),[t]),r=y.useCallback(()=>{let u=t.getCollection();return t.isSSR&&t.resetAfterSSR(),u},[t]),i=y.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:FR(l,r,i),document:t}}const gh=y.createContext(null);function _R(e){var l;return l=class extends vi{},l.type=e,l}function J4(e,t,l,r,i,s){typeof e=="string"&&(e=_R(e));let u=y.useCallback(d=>{d==null||d.setProps(t,l,e,r,s)},[t,l,r,s,e]),f=y.useContext(gh);if(f){let d=f.ownerDocument.nodesByProps.get(t);return d||(d=f.ownerDocument.createElement(e.type),d.setProps(t,l,e,r,s),f.appendChild(d),f.ownerDocument.updateCollection(),f.ownerDocument.nodesByProps.set(t,d)),i?V.createElement(gh.Provider,{value:d},i):null}return V.createElement(e.type,{ref:u},i)}function GR(e,t){let l=({node:i})=>t(i.props,i.props.ref,i),r=y.forwardRef((i,s)=>{let u=y.useContext(Bo);if(!y.useContext(Q4)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(i,s)}return J4(e,i,s,"children"in i?i.children:null,null,d=>V.createElement(Bo.Provider,{value:u},V.createElement(l,{node:d})))});return r.displayName=t.name,r}function Sz(e,t,l=e5){let r=({node:s})=>t(s.props,s.props.ref,s),i=y.forwardRef((s,u)=>{let f=l(s);return J4(e,s,u,null,f,d=>V.createElement(r,{node:d}))??V.createElement(V.Fragment,null)});return i.displayName=t.name,i}function e5(e){return Z4({...e,addIdAndValue:!0})}const fv=y.createContext(null);function qR(e){let t=y.useContext(fv),l=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),r=e.idScope??(t==null?void 0:t.idScope),i=e5({...e,idScope:r,dependencies:l});return y.useContext(Uo)&&(i=V.createElement(YR,null,i)),t=y.useMemo(()=>({dependencies:l,idScope:r}),[r,...l]),V.createElement(fv.Provider,{value:t},i)}function YR({children:e}){let t=y.useContext(Uo),l=y.useMemo(()=>V.createElement(Uo.Provider,{value:null},V.createElement(Q4.Provider,{value:!0},e)),[e]);return Nl()?V.createElement(gh.Provider,{value:t},l):al.createPortal(l,t)}const wz=y.createContext(null),t5={CollectionRoot({collection:e,renderDropIndicator:t}){return dv(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:l}){return dv(e,t,l)}};function dv(e,t,l){return Z4({items:t?e.getChildren(t.key):e,dependencies:[l],children(r){if(r.type==="content")return V.createElement(V.Fragment,null);let i=r.render(r);return!l||r.type!=="item"?i:V.createElement(V.Fragment,null,l({type:"item",key:r.key,dropPosition:"before"}),i,XR(e,r,l))}})}function XR(e,t,l){let r=t.key,i=e.getKeyAfter(r),s=i!=null?e.getItem(i):null;for(;s!=null&&s.type!=="item";)i=e.getKeyAfter(s.key),s=i!=null?e.getItem(i):null;let u=t.nextKey!=null?e.getItem(t.nextKey):null;for(;u!=null&&u.type!=="item";)u=u.nextKey!=null?e.getItem(u.nextKey):null;let f=[];if(u==null){let d=t;for(;(d==null?void 0:d.type)==="item"&&(!s||d.parentKey!==s.parentKey&&s.level<d.level);){let h=l({type:"item",key:d.key,dropPosition:"after"});y.isValidElement(h)&&f.push(y.cloneElement(h,{key:`${d.key}-after`})),d=d.parentKey!=null?e.getItem(d.parentKey):null}}return f}const n5=y.createContext(t5);function WR(e){return y.useMemo(()=>e!=null?new Set([e]):null,[e])}function l5(e){let t=QR(He(e));t!==e&&(t&&ZR(t,e),e&&a5(e,t))}function ZR(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function a5(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function QR(e){let t=et(e),l=t==null?void 0:t.getAttribute("aria-activedescendant");return l&&e.getElementById(l)||t}const r5=y.createContext(null);function JR(e){let t=y.useRef({});return V.createElement(r5.Provider,{value:t},e.children)}const eM=y.forwardRef(function(t,l){let{name:r,isVisible:i=!0,children:s,className:u,style:f,render:d,...h}=t,[p,b]=y.useState(i?"visible":"hidden"),v=y.useContext(r5);if(!v)throw new Error("<SharedElement> must be rendered inside a <SharedElementTransition>");i&&p==="hidden"&&b("visible"),l=bn(l),Ne(()=>{let x=l.current,T=v.current,C=T[r],N=null;if(x&&i&&C){b("visible");let M=x.getAnimations(),L=C.style.map(([k,B])=>{let G=x.style[k];if(k==="translate"){let $=C.rect,A=x.getBoundingClientRect(),U=$.left-(A==null?void 0:A.left),K=$.top-(A==null?void 0:A.top);x.style.translate=`${U}px ${K}px`}else x.style[k]=B;return[k,G]});for(let k of x.getAnimations())M.includes(k)||k.cancel();N=requestAnimationFrame(()=>{N=null;for(let[k,B]of L)x.style[k]=B}),delete T[r]}else x&&i&&!C?(queueMicrotask(()=>al.flushSync(()=>b("entering"))),N=requestAnimationFrame(()=>{N=null,b("visible")})):x&&!i&&queueMicrotask(()=>{T[r]?(delete T[r],al.flushSync(()=>b("exiting")),Promise.all(x.getAnimations().map(M=>M.finished)).then(()=>b("hidden")).catch(()=>{})):b("hidden")});return()=>{if(N!=null&&cancelAnimationFrame(N),x&&x.isConnected&&!x.hasAttribute("data-exiting")){let M=window.getComputedStyle(x);if(M.transitionProperty!=="none"){let L=M.transitionProperty.split(/\s*,\s*/);T[r]={rect:x.getBoundingClientRect(),style:L.map(k=>[k,M[k]])}}}}},[l,v,r,i]);let w=At({children:s,className:u,style:f,render:d,values:{isEntering:p==="entering",isExiting:p==="exiting"}});return p==="hidden"?null:V.createElement(ut.div,{...h,...w,ref:l,"data-entering":p==="entering"||void 0,"data-exiting":p==="exiting"||void 0})}),i5=y.createContext({isSelected:!1}),tM=y.forwardRef(function(t,l){[t,l]=yn(t,l,i5);let{isSelected:r,...i}=t;return V.createElement(eM,{...i,ref:l,className:t.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:r})}),ku=y.createContext({}),o5=y.forwardRef(function(t,l){[t,l]=yn(t,l,ku);let{elementType:r="span",...i}=t,s=ut[r];return V.createElement(s,{className:"react-aria-Text",...i,ref:l})}),nM=500;function lM(e){let{isDisabled:t,pointerType:l,onLongPressStart:r,onLongPressEnd:i,onLongPress:s,threshold:u=nM,accessibilityDescription:f}=e;const d=y.useRef(void 0);let{addGlobalListener:h,removeAllGlobalListeners:p}=Su(),b=x=>l?x.pointerType===l:x.pointerType==="mouse"||x.pointerType==="touch",{pressProps:v}=lr({isDisabled:t,onPressStart(x){if(x.continuePropagation(),b(x)){r&&r({...x,type:"longpressstart"}),d.current=setTimeout(()=>{x.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),h(x.target,"click",C=>C.preventDefault(),{once:!0}),He(x.target).activeElement!==x.target&&en(x.target),s&&s({...x,type:"longpress"}),d.current=void 0},u),x.pointerType==="touch"&&h(x.target,"contextmenu",C=>C.preventDefault(),{once:!0});let T=jt(x.target);h(T,"pointerup",()=>{setTimeout(()=>{p()},100)},{once:!0})}},onPressEnd(x){d.current&&clearTimeout(d.current),i&&b(x)&&i({...x,type:"longpressend"})}}),w=Ww(s&&!t?f:void 0);return{longPressProps:Ce(v,w)}}function aM(e,t,l){let{type:r}=e,{isOpen:i}=t;y.useEffect(()=>{l&&l.current&&l4.set(l.current,t.close)});let s;r==="menu"?s=!0:r==="listbox"&&(s="listbox");let u=_n();return{triggerProps:{"aria-haspopup":s,"aria-expanded":i,"aria-controls":i?u:void 0,onPress:t.toggle},overlayProps:{id:u}}}function bh(e){return dw()?e.altKey:e.ctrlKey}function A0(e,t){var i,s;let l=`[data-key="${CSS.escape(String(t))}"]`,r=(i=e.current)==null?void 0:i.dataset.collection;return r&&(l=`[data-collection="${CSS.escape(r)}"]${l}`),(s=e.current)==null?void 0:s.querySelector(l)}const s5=new WeakMap;function rM(e){let t=_n();return s5.set(e,t),t}function iM(e){return s5.get(e)}const hv=1e3;function oM(e){let{keyboardDelegate:t,selectionManager:l,onTypeSelect:r}=e,i=y.useRef({search:"",timeout:void 0}),s=f=>{if(i.current.search.length>0&&f.key===" "){if(f.preventDefault(),(!("continuePropagation"in f)||"continuePropagation"in f&&!f.isPropagationStopped())&&f.stopPropagation(),i.current.search+=" ",t.getKeyForSearch!=null){let d=t.getKeyForSearch(i.current.search,l.focusedKey);d==null&&(d=t.getKeyForSearch(i.current.search)),d!=null&&(l.setFocusedKey(d),r&&r(d))}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},hv)}},u=f=>{let d=sM(f.key);if(!(!d||f.ctrlKey||f.metaKey||f.altKey||!Ie(f.currentTarget,ve(f))||i.current.search.length===0&&d===" ")){if(i.current.search+=d,t.getKeyForSearch!=null){let h=t.getKeyForSearch(i.current.search,l.focusedKey);if(h==null&&(h=t.getKeyForSearch(i.current.search)),h!=null)l.setFocusedKey(h),r&&r(h),f.preventDefault(),"continuePropagation"in f||f.stopPropagation();else{i.current.search="",clearTimeout(i.current.timeout),i.current.timeout=void 0;return}}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},hv)}};return y.useEffect(()=>{let f=i.current.timeout;return()=>{clearTimeout(f)}},[i]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?s:void 0,onKeyDown:t.getKeyForSearch?u:void 0}}}function sM(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function cM(e){var it;let{selectionManager:t,keyboardDelegate:l,ref:r,autoFocus:i=!1,shouldFocusWrap:s=!1,disallowEmptySelection:u=!1,disallowSelectAll:f=!1,escapeKeyBehavior:d="clearSelection",selectOnFocus:h=t.selectionBehavior==="replace",disallowTypeAhead:p=!1,shouldUseVirtualFocus:b,allowsTabNavigation:v=!1,scrollRef:w=r,linkBehavior:x="action",UNSTABLE_focusOnEntry:T}=e,{direction:C}=bi(),N=Go();const M=(ue,fe,Ee)=>{if(fe!=null){if(t.isLink(fe)&&x==="selection"&&h&&!bh(ue)){al.flushSync(()=>{t.setFocusedKey(fe,Ee)});let _e=A0(r,fe),Fe=t.getItemProps(fe);if(_e){N.open(_e,ue,Fe.href,Fe.routerOptions);return}return!1}if(t.setFocusedKey(fe,Ee),t.isLink(fe)&&x==="override")return!1;if(ue.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(fe);return}else if(h&&!bh(ue)){t.replaceSelection(fe);return}}return!1};let L=ue=>{var fe,Ee,_e;if(l.getKeyBelow){let Fe=t.focusedKey!=null?(fe=l.getKeyBelow)==null?void 0:fe.call(l,t.focusedKey):(Ee=l.getFirstKey)==null?void 0:Ee.call(l);if(Fe==null&&s&&(Fe=(_e=l.getFirstKey)==null?void 0:_e.call(l,t.focusedKey)),Fe!=null){M(ue,Fe);return}}return!1},k=ue=>{var fe,Ee,_e;if(l.getKeyAbove){let Fe=t.focusedKey!=null?(fe=l.getKeyAbove)==null?void 0:fe.call(l,t.focusedKey):(Ee=l.getLastKey)==null?void 0:Ee.call(l);if(Fe==null&&s&&(Fe=(_e=l.getLastKey)==null?void 0:_e.call(l,t.focusedKey)),Fe!=null){M(ue,Fe);return}}return!1},B=ue=>{if(l.getFirstKey){if(t.focusedKey===null&&ue.shiftKey)return!1;let fe=l.getFirstKey(t.focusedKey,To(ue));if(t.setFocusedKey(fe),fe!=null){if(To(ue)&&ue.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(fe);return}else if(h){t.replaceSelection(fe);return}}}return!1},G=ue=>{var fe,Ee,_e,Fe;if(l.getKeyLeftOf){let kt=t.focusedKey!=null?(fe=l.getKeyLeftOf)==null?void 0:fe.call(l,t.focusedKey):(Ee=l.getFirstKey)==null?void 0:Ee.call(l);if(kt==null&&s&&(kt=C==="rtl"?(_e=l.getFirstKey)==null?void 0:_e.call(l,t.focusedKey):(Fe=l.getLastKey)==null?void 0:Fe.call(l,t.focusedKey)),kt!=null){M(ue,kt,C==="rtl"?"first":"last");return}}return!1},$=ue=>{var fe,Ee,_e,Fe;if(l.getKeyRightOf){let kt=t.focusedKey!=null?(fe=l.getKeyRightOf)==null?void 0:fe.call(l,t.focusedKey):(Ee=l.getFirstKey)==null?void 0:Ee.call(l);if(kt==null&&s&&(kt=C==="rtl"?(_e=l.getLastKey)==null?void 0:_e.call(l,t.focusedKey):(Fe=l.getFirstKey)==null?void 0:Fe.call(l,t.focusedKey)),kt!=null){M(ue,kt,C==="rtl"?"last":"first");return}}return!1},A=ue=>{if(l.getLastKey){if(t.focusedKey===null&&ue.shiftKey)return!1;let fe=l.getLastKey(t.focusedKey,To(ue));if(t.setFocusedKey(fe),fe!=null){if(To(ue)&&ue.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(fe);return}else if(h){t.replaceSelection(fe);return}}}return!1},U=ue=>{if(l.getKeyPageBelow&&t.focusedKey!=null){let fe=l.getKeyPageBelow(t.focusedKey);if(fe!=null)return M(ue,fe)}return!1},K=ue=>{if(l.getKeyPageAbove&&t.focusedKey!=null){let fe=l.getKeyPageAbove(t.focusedKey);if(fe!=null)return M(ue,fe)}return!1},q=()=>{if(t.selectionMode==="multiple"&&f!==!0){t.selectAll();return}return!1},te=()=>{if(d==="clearSelection"&&!u&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},ne=()=>{if(!v&&r.current){let ue=ll(r.current,{tabbable:!0}),fe,Ee;do Ee=ue.lastChild(),Ee&&(fe=Ee);while(Ee);let _e=et();fe&&(!Oo(fe)||_e&&!_h(_e))&&en(fe)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},j=()=>(!v&&r.current&&r.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),Y=(ue,fe)=>({[Vn()?ue+"+Shift+Alt":ue+"+Shift+Control"]:fe,[ue+"+Shift"]:fe,[Vn()?ue+"+Alt":ue+"+Control"]:fe,[ue]:fe}),{keyboardProps:z}=lu({shortcuts:{...Y("ArrowDown",L),...Y("ArrowUp",k),...Y("ArrowLeft",G),...Y("ArrowRight",$),...Y("PageDown",U),...Y("PageUp",K)},allowRepeats:!0}),{keyboardProps:O}=lu({shortcuts:{...Y("Home",B),...Y("End",A),"Mod+A":q,Escape:te,Tab:ne,"Tab+Shift":j}}),oe=y.useRef({top:0,left:0});xc(w,"scroll",()=>{var ue,fe;oe.current={top:((ue=w.current)==null?void 0:ue.scrollTop)??0,left:((fe=w.current)==null?void 0:fe.scrollLeft)??0}});let J=ue=>{var _e,Fe,kt,Sn;if(t.isFocused){Ie(ue.currentTarget,ve(ue))||t.setFocused(!1);return}if(!Ie(ue.currentTarget,ve(ue)))return;let fe=pa();t.setFocused(!0);let Ee=pt=>{pt!=null&&(t.setFocusedKey(pt),h&&!t.isSelected(pt)&&t.replaceSelection(pt))};if(T&&(fe==="keyboard"||fe==="virtual"))Ee(T==="first"?(_e=l.getFirstKey)==null?void 0:_e.call(l):(Fe=l.getLastKey)==null?void 0:Fe.call(l));else if(t.focusedKey==null){let pt=ue.relatedTarget;pt&&ue.currentTarget.compareDocumentPosition(pt)&Node.DOCUMENT_POSITION_FOLLOWING?Ee(t.lastSelectedKey??((kt=l.getLastKey)==null?void 0:kt.call(l))):Ee(t.firstSelectedKey??((Sn=l.getFirstKey)==null?void 0:Sn.call(l)))}else w.current&&(w.current.scrollTop=oe.current.top,w.current.scrollLeft=oe.current.left);if(t.focusedKey!=null&&w.current){let pt=A0(r,t.focusedKey);pt instanceof HTMLElement&&(!Oo(pt)&&!b&&en(pt),(fe==="keyboard"||T&&fe==="virtual")&&xb(pt,{containingElement:r.current}))}},_=ue=>{Ie(ue.currentTarget,ue.relatedTarget)||t.setFocused(!1)},D=y.useRef(!1);xc(r,uw,b?ue=>{let{detail:fe}=ue;ue.stopPropagation(),t.setFocused(!0),(fe==null?void 0:fe.focusStrategy)==="first"&&(D.current=!0)}:void 0);let Q=((it=l.getFirstKey)==null?void 0:it.call(l))??null;yb(()=>{if(D.current)if(Q==null){let ue=et();l5(r.current),a5(ue,null),t.collection.size>0&&(D.current=!1)}else t.setFocusedKey(Q),D.current=!1},[Q,t.collection.size]),yb(()=>{t.collection.size>0&&(D.current=!1)},[t.focusedKey]),xc(r,cw,b?ue=>{var fe;ue.stopPropagation(),t.setFocused(!1),(fe=ue.detail)!=null&&fe.clearFocusKey&&t.setFocusedKey(null)}:void 0);const se=y.useRef(i),ce=y.useRef(!1);y.useEffect(()=>{var ue,fe;if(se.current){let Ee=null;i==="first"&&(Ee=((ue=l.getFirstKey)==null?void 0:ue.call(l))??null),i==="last"&&(Ee=((fe=l.getLastKey)==null?void 0:fe.call(l))??null);let _e=t.selectedKeys;if(_e.size){for(let Fe of _e)if(t.canSelectItem(Fe)){Ee=Fe;break}}t.setFocused(!0),t.setFocusedKey(Ee),Ee==null&&!b&&r.current&&va(r.current),t.collection.size>0&&(se.current=!1,ce.current=!0)}});let H=y.useRef(t.focusedKey),ie=y.useRef(null);y.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==H.current||ce.current)&&w.current&&r.current){let ue=pa(),fe=A0(r,t.focusedKey);if(!(fe instanceof HTMLElement))return;(ue==="keyboard"||ce.current)&&(ie.current&&cancelAnimationFrame(ie.current),ie.current=requestAnimationFrame(()=>{w.current&&(Hc(w.current,fe),ue!=="virtual"&&xb(fe,{containingElement:r.current}))}))}!b&&t.isFocused&&t.focusedKey==null&&H.current!=null&&r.current&&va(r.current),H.current=t.focusedKey,ce.current=!1}),y.useEffect(()=>()=>{ie.current&&cancelAnimationFrame(ie.current)},[]),xc(r,"react-aria-focus-scope-restore",ue=>{ue.preventDefault(),t.setFocused(!0)});let xe={...Ce(O,z),onFocus:J,onBlur:_,onMouseDown(ue){w.current===ve(ue)&&ue.preventDefault()}},{typeSelectProps:Ae}=oM({keyboardDelegate:l,selectionManager:t});p||(xe=Ce(Ae,xe));let de;b||(de=t.focusedKey==null?0:-1);let Lt=rM(t.collection);return{collectionProps:Ce(xe,{tabIndex:de,"data-collection":Lt})}}function uM(e){let{id:t,selectionManager:l,key:r,ref:i,shouldSelectOnPressUp:s,shouldUseVirtualFocus:u,focus:f,isDisabled:d,onAction:h,allowsDifferentPressOrigin:p,linkBehavior:b="action"}=e,v=Go();t=_n(t);let w=H=>{if(H.pointerType==="keyboard"&&bh(H))l.toggleSelection(r);else{if(l.selectionMode==="none")return;if(l.isLink(r)){if(b==="selection"&&i.current){let ie=l.getItemProps(r);v.open(i.current,H,ie.href,ie.routerOptions),l.setSelectedKeys(l.selectedKeys);return}else if(b==="override"||b==="none")return}l.selectionMode==="single"?l.isSelected(r)&&!l.disallowEmptySelection?l.toggleSelection(r):l.replaceSelection(r):H&&H.shiftKey?l.extendSelection(r):l.selectionBehavior==="toggle"||H&&(To(H)||H.pointerType==="touch"||H.pointerType==="virtual")?l.toggleSelection(r):l.replaceSelection(r)}};y.useEffect(()=>{r===l.focusedKey&&l.isFocused&&(u?l5(i.current):f?f():et()!==i.current&&i.current&&va(i.current))},[i,r,l.focusedKey,l.childFocusStrategy,l.isFocused,u]),d=d||l.isDisabled(r);let x={};!u&&!d?x={tabIndex:r===l.focusedKey?0:-1,onFocus(H){ve(H)===i.current&&l.setFocusedKey(r)}}:d&&(x.onMouseDown=H=>{H.preventDefault()}),y.useEffect(()=>{d&&l.focusedKey===r&&l.setFocusedKey(null)},[l,d,r]);let T=l.isLink(r)&&b==="override",C=h&&e.UNSTABLE_itemBehavior==="action",N=l.isLink(r)&&b!=="selection"&&b!=="none",M=!d&&l.canSelectItem(r)&&!T&&!C,L=(h||N)&&!d,k=L&&(l.selectionBehavior==="replace"?!M:!M||l.isEmpty),B=L&&M&&l.selectionBehavior==="replace",G=k||B,$=y.useRef(null),A=G&&M,U=y.useRef(!1),K=y.useRef(!1),q=l.getItemProps(r),te=H=>{var ie;h&&(h(),(ie=i.current)==null||ie.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),N&&i.current&&v.open(i.current,H,q.href,q.routerOptions)},ne={ref:i};s?(ne.onPressStart=H=>{$.current=H.pointerType,U.current=A,H.pointerType==="keyboard"&&(!G||pv(H.key))&&w(H)},p?(ne.onPressUp=k?void 0:H=>{H.pointerType==="mouse"&&M&&w(H)},ne.onPress=k?te:H=>{H.pointerType!=="keyboard"&&H.pointerType!=="mouse"&&M&&w(H)}):ne.onPress=H=>{if(k||B&&H.pointerType!=="mouse"){if(H.pointerType==="keyboard"&&!mv(H.key))return;te(H)}else H.pointerType!=="keyboard"&&M&&w(H)}):(ne.onPressStart=H=>{$.current=H.pointerType,U.current=A,K.current=k,M&&(H.pointerType==="mouse"&&!k||H.pointerType==="keyboard"&&(!L||pv(H.key)))&&w(H)},ne.onPress=H=>{(H.pointerType==="touch"||H.pointerType==="pen"||H.pointerType==="virtual"||H.pointerType==="keyboard"&&G&&mv(H.key)||H.pointerType==="mouse"&&K.current)&&(G?te(H):M&&w(H))});let j=iM(l.collection);if(x["data-collection"]=j,x["data-key"]=r,ne.preventFocusOnPress=u,u&&(ne=Ce(ne,{onPressStart(H){H.pointerType!=="touch"&&(l.setFocused(!0),l.setFocusedKey(r))},onPress(H){H.pointerType==="touch"&&(l.setFocused(!0),l.setFocusedKey(r))}})),q)for(let H of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])q[H]&&(ne[H]=er(ne[H],q[H]));let{pressProps:Y,isPressed:z}=lr(ne),O=B?H=>{$.current==="mouse"&&(H.stopPropagation(),H.preventDefault(),te(H))}:void 0,{longPressProps:oe}=lM({isDisabled:!A,onLongPress(H){H.pointerType==="touch"&&(w(H),l.setSelectionBehavior("toggle"))}}),J=H=>{$.current==="touch"&&U.current&&H.preventDefault()},_=b!=="none"&&l.isLink(r)?H=>{Al.isOpening||H.preventDefault()}:void 0,D=Ce(x,M||k||u&&!d?Y:{},A?oe:{},{onDoubleClick:O,onDragStartCapture:J,onClick:_,id:t},u?{onMouseDown:H=>H.preventDefault()}:void 0),Q=H=>{let ie=H;for(;ie&&ie!==i.current;){let xe=ie.getAttribute("data-collection");if(xe!=null)return xe!==j;ie=ie.parentElement}return _h(H)},se=D.onPointerDown;D.onPointerDown=H=>{let ie=ve(H);if(ie&&ie!==i.current&&Q(ie)){H.stopPropagation();return}se==null||se(H)};let ce=D.onMouseDown;return D.onMouseDown=H=>{let ie=ve(H);if(ie&&ie!==i.current&&Q(ie)){H.stopPropagation();return}ce==null||ce(H)},{itemProps:D,isPressed:z,isSelected:l.isSelected(r),isFocused:l.isFocused&&l.focusedKey===r,isDisabled:d,allowsSelection:M,hasAction:G}}function mv(e){return e==="Enter"}function pv(e){return e===" "}function fM(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function dM(e){return hM(e,0)}function hM(e,t){if(t<0)return;let l=0;for(let r of e){if(l===t)return r;l++}}function Ez(e){let t;for(let l of e)t=l;return t}function L0(e,t,l){if(t.parentKey===l.parentKey)return t.index-l.index;let r=[...gv(e,t),t],i=[...gv(e,l),l],s=r.slice(0,i.length).findIndex((u,f)=>u!==i[f]);return s!==-1?(t=r[s],l=i[s],t.index-l.index):r.findIndex(u=>u===l)>=0?1:(i.findIndex(u=>u===t)>=0,-1)}function gv(e,t){let l=[],r=t;for(;(r==null?void 0:r.parentKey)!=null;)r=e.getItem(r.parentKey),r&&l.unshift(r);return l}function mM(e){let t=a2(e),[l,r]=y.useState(null),[i,s]=y.useState([]),u=()=>{s([]),t.close()};return{focusStrategy:l,...t,open(h=null){r(h),t.open()},toggle(h=null){r(h),t.toggle()},close(){u()},expandedKeysStack:i,openSubmenu:(h,p)=>{s(b=>p>b.length?b:[...b.slice(0,p),h])},closeSubmenu:(h,p)=>{s(b=>b[p]===h?b.slice(0,p):b)}}}class Kn extends Set{constructor(t,l,r){super(t),t instanceof Kn?(this.anchorKey=l??t.anchorKey,this.currentKey=r??t.currentKey):(this.anchorKey=l??null,this.currentKey=r??null)}}class r2{constructor(t,l,r){this.collection=t,this.state=l,this.allowsCellSelection=(r==null?void 0:r.allowsCellSelection)??!1,this._isSelectAll=null,this.layoutDelegate=(r==null?void 0:r.layoutDelegate)||null,this.fullCollection=(r==null?void 0:r.fullCollection)||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,l){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,l)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let l=this.getKey(t);return l==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(l):this.state.selectedKeys.has(l)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),l=this.state.selectedKeys;return this._isSelectAll=t.every(r=>l.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let l of this.state.selectedKeys){let r=this.collection.getItem(l);(!t||r&&L0(this.collection,r,t)<0)&&(t=r)}return(t==null?void 0:t.key)??null}get lastSelectedKey(){let t=null;for(let l of this.state.selectedKeys){let r=this.collection.getItem(l);(!t||r&&L0(this.collection,r,t)>0)&&(t=r)}return(t==null?void 0:t.key)??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let l=this.getKey(t);if(l==null)return;let r;if(this.state.selectedKeys==="all")r=new Kn([l],l,l);else{let i=this.state.selectedKeys,s=i.anchorKey??l;r=new Kn(i,s,l);for(let u of this.getKeyRange(s,i.currentKey??l))r.delete(u);for(let u of this.getKeyRange(l,s))this.canSelectItem(u)&&r.add(u)}this.state.setSelectedKeys(r)}getKeyRange(t,l){let r=this.collection.getItem(t),i=this.collection.getItem(l);return r&&i?L0(this.collection,r,i)<=0?this.getKeyRangeInternal(t,l):this.getKeyRangeInternal(l,t):[]}getKeyRangeInternal(t,l){var s;if((s=this.layoutDelegate)!=null&&s.getKeyRange)return this.layoutDelegate.getKeyRange(t,l);let r=[],i=t;for(;i!=null;){let u=this.collection.getItem(i);if(u&&(u.type==="item"||u.type==="cell"&&this.allowsCellSelection)&&r.push(i),i===l)return r;i=this.collection.getKeyAfter(i)}return[]}getKey(t){let l=this.collection.getItem(t);if(!l||l.type==="cell"&&this.allowsCellSelection)return t;for(;l&&l.type!=="item"&&l.parentKey!=null;)l=this.collection.getItem(l.parentKey);return!l||l.type!=="item"?null:l.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let l=this.getKey(t);if(l==null)return;let r=new Kn(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(l)?r.delete(l):this.canSelectItem(l)&&(r.add(l),r.anchorKey=l,r.currentKey=l),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none")return;let l=this.getKey(t);if(l==null)return;let r=this.canSelectItem(l)?new Kn([l],l,l):new Kn;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let l=new Kn;for(let r of t){let i=this.getKey(r);if(i!=null&&(l.add(i),this.selectionMode==="single"))break}this.state.setSelectedKeys(l)}getSelectAllKeys(){let t=this.fullCollection??this.collection,l=[],r=i=>{var s;for(;i!=null;){if(this.canSelectItemIn(i,t)){let u=t.getItem(i);(u==null?void 0:u.type)==="item"&&l.push(i),u!=null&&u.hasChildNodes&&(this.allowsCellSelection||u.type!=="item")&&r(((s=dM(fM(u,t)))==null?void 0:s.key)??null)}i=t.getKeyAfter(i)}};return r(t.getFirstKey()),l}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Kn)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,l){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||l&&(l.pointerType==="touch"||l.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let l=this.selectedKeys;if(t.size!==l.size)return!1;for(let r of t)if(!l.has(r))return!1;for(let r of l)if(!t.has(r))return!1;return!0}canSelectItem(t){return this.canSelectItemIn(t,this.collection)}canSelectItemIn(t,l){var i;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=l.getItem(t);return!(!r||(i=r==null?void 0:r.props)!=null&&i.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var r,i;let l=this.collection.getItem(t);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!((r=l==null?void 0:l.props)!=null&&r.isDisabled))&&((i=l==null?void 0:l.props)==null?void 0:i.disabledBehavior)!=="selection"}isLink(t){var l,r;return!!((r=(l=this.collection.getItem(t))==null?void 0:l.props)!=null&&r.href)}getItemProps(t){var l;return(l=this.collection.getItem(t))==null?void 0:l.props}withCollection(t){return new r2(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}class pM{build(t,l){return this.context=l,bv(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:l,items:r}=t;if(V.isValidElement(l)&&l.type===V.Fragment)yield*this.iterateCollection({children:l.props.children,items:r});else if(typeof l=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");let i=0;for(let s of r)yield*this.getFullNode({value:s,index:i},{renderer:l}),i++}else{let i=[];V.Children.forEach(l,u=>{u&&i.push(u)});let s=0;for(let u of i){let f=this.getFullNode({element:u,index:s},{});for(let d of f)s++,yield d}}}getKey(t,l,r,i){if(t.key!=null)return t.key;if(l.type==="cell"&&l.key!=null)return`${i}${l.key}`;let s=l.value;if(s!=null){let u=s.key??s.id;if(u==null)throw new Error("No key found for item");return u}return i?`${i}.${l.index}`:`$.${l.index}`}getChildState(t,l){return{renderer:l.renderer||t.renderer}}*getFullNode(t,l,r,i){if(V.isValidElement(t.element)&&t.element.type===V.Fragment){let d=[];V.Children.forEach(t.element.props.children,p=>{d.push(p)});let h=t.index??0;for(const p of d)yield*this.getFullNode({element:p,index:h++},l,r,i);return}let s=t.element;if(!s&&t.value&&l&&l.renderer){let d=this.cache.get(t.value);if(d&&(!d.shouldInvalidate||!d.shouldInvalidate(this.context))){d.index=t.index,d.parentKey=i?i.key:null,yield d;return}s=l.renderer(t.value)}if(V.isValidElement(s)){let d=s.type;if(typeof d!="function"&&typeof d.getCollectionNode!="function"){let v=s.type;throw new Error(`Unknown element <${v}> in collection.`)}let h=d.getCollectionNode(s.props,this.context),p=t.index??0,b=h.next();for(;!b.done&&b.value;){let v=b.value;t.index=p;let w=v.key??null;w==null&&(w=v.element?null:this.getKey(s,t,l,r));let T=[...this.getFullNode({...v,key:w,index:p,wrapper:gM(t.wrapper,v.wrapper)},this.getChildState(l,v),r?`${r}${s.key}`:s.key,i)];for(let C of T){if(C.value=v.value??t.value??null,C.value&&this.cache.set(C.value,C),t.type&&C.type!==t.type)throw new Error(`Unsupported type <${k0(C.type)}> in <${k0((i==null?void 0:i.type)??"unknown parent type")}>. Only <${k0(t.type)}> is supported.`);p++,yield C}b=h.next(T)}return}if(t.key==null||t.type==null)return;let u=this,f={type:t.type,props:t.props,key:t.key,parentKey:i?i.key:null,value:t.value??null,level:((i==null?void 0:i.level)??0)+((i==null?void 0:i.type)==="item"?1:0),index:t.index,rendered:t.rendered,textValue:t.textValue??"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:bv(function*(){if(!t.hasChildNodes||!t.childNodes)return;let d=0;for(let h of t.childNodes()){h.key!=null&&(h.key=`${f.key}${h.key}`);let p=u.getFullNode({...h,index:d},u.getChildState(l,h),f.key,f);for(let b of p)d++,yield b}})};yield f}constructor(){this.cache=new WeakMap}}function bv(e){let t=[],l=null;return{*[Symbol.iterator](){for(let r of t)yield r;l||(l=e());for(let r of l)t.push(r),yield r}}}function gM(e,t){if(e&&t)return l=>e(t(l));if(e)return e;if(t)return t}function k0(e){return e[0].toUpperCase()+e.slice(1)}function bM(e,t,l){let r=y.useMemo(()=>new pM,[]),{children:i,items:s,collection:u}=e;return y.useMemo(()=>{if(u)return u;let d=r.build({children:i,items:s},l);return t(d)},[r,i,s,u,l,t])}function vM(e,t){if(e.size!==t.size)return!1;for(let l of e)if(!t.has(l))return!1;return!0}function yM(e){let{selectionMode:t="none",disallowEmptySelection:l=!1,allowDuplicateSelectionEvents:r,selectionBehavior:i="toggle",disabledBehavior:s="all"}=e,u=y.useRef(!1),[,f]=y.useState(!1),d=y.useRef(null),h=y.useRef(null),[,p]=y.useState(null),b=y.useMemo(()=>vv(e.selectedKeys),[e.selectedKeys]),v=y.useMemo(()=>vv(e.defaultSelectedKeys,new Kn),[e.defaultSelectedKeys]),[w,x]=Ru(b,v,e.onSelectionChange),T=y.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[C,N]=y.useState(i);i==="replace"&&C==="toggle"&&typeof w=="object"&&w.size===0&&N("replace");let M=y.useRef(i);return y.useEffect(()=>{i!==M.current&&(N(i),M.current=i)},[i]),{selectionMode:t,disallowEmptySelection:l,selectionBehavior:C,setSelectionBehavior:N,get isFocused(){return u.current},setFocused(L){u.current=L,f(L)},get focusedKey(){return d.current},get childFocusStrategy(){return h.current},setFocusedKey(L,k="first"){d.current=L,h.current=k,p(L)},selectedKeys:w,setSelectedKeys(L){(r||!vM(L,w))&&x(L)},disabledKeys:T,disabledBehavior:s}}function vv(e,t){return e?e==="all"?"all":new Kn(e):t}const xM=y.createContext(null),L2=class L2 extends vi{filter(t,l,r){let i=t.getItem(this.firstChildKey);if(i&&r(i.textValue,this)){let s=this.clone();return l.addDescendants(s,t),s}return null}};L2.type="submenutrigger";let yv=L2;function SM(e,t){let{role:l="dialog"}=e,r=Y0();r=e["aria-label"]?void 0:r;let i=Y0();i=l==="alertdialog"&&!e["aria-describedby"]?i:void 0;let s=y.useRef(!1);y.useEffect(()=>{if(t.current&&!Oo(t.current)){va(t.current);let f=setTimeout(()=>{(et()===t.current||et()===document.body)&&(s.current=!0,t.current&&(t.current.blur(),va(t.current)),s.current=!1)},500);return()=>{clearTimeout(f)}}},[t]),G4(),y.useRef(!1),y.useEffect(()=>{});let u=e["aria-describedby"]??i;return{dialogProps:{...mt(e,{labelable:!0}),role:l,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]??r,"aria-describedby":u,onBlur:f=>{s.current&&f.stopPropagation()}},titleProps:{id:r},contentProps:{id:i}}}const c5=y.createContext(null),yi=y.createContext(null);function wM(e){let t=mM(e),l=y.useRef(null),{triggerProps:r,overlayProps:i}=aM({type:"dialog"},t,l);return r.id=_n(),i["aria-labelledby"]=r.id,V.createElement(sr,{values:[[yi,t],[xM,t],[c5,i],[q4,{trigger:"DialogTrigger",triggerRef:l,id:i.id,"aria-labelledby":i["aria-labelledby"]}]]},V.createElement($R,{...r,ref:l,isPressed:t.isOpen},e.children))}const EM=y.forwardRef(function(t,l){let r=t["aria-labelledby"];[t,l]=yn(t,l,c5);let{dialogProps:i,titleProps:s,contentProps:u}=SM({...t,"aria-labelledby":r},l),f=y.useContext(yi);!i["aria-label"]&&!i["aria-labelledby"]&&t["aria-labelledby"]&&(i["aria-labelledby"]=t["aria-labelledby"]);let d=At({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(f==null?void 0:f.close)||(()=>{})}}),h=mt(t,{global:!0});return V.createElement(ut.section,{...Ce(h,d,i),render:t.render,ref:l,slot:t.slot||void 0},V.createElement(sr,{values:[[W3,{slots:{[fi]:{},title:{...s,level:2}}}],[ku,{slots:{[fi]:{},description:u}}],[e2,{slots:{[fi]:{},close:{onPress:()=>f==null?void 0:f.close()}}}]]},d.children))});function CM(e,t,l){let{overlayProps:r,underlayProps:i}=i4({...e,isOpen:t.isOpen,onClose:t.close},l);return o4({isDisabled:!t.isOpen}),G4(),y.useEffect(()=>{if(t.isOpen&&l.current)return t4([l.current],{shouldUseInert:!0})},[t.isOpen,l]),{modalProps:Ce(r),underlayProps:i}}const TM=y.createContext(null),i2=y.createContext(null),RM=y.forwardRef(function(t,l){if(y.useContext(i2))return V.createElement(xv,{...t,modalRef:l},t.children);let{isDismissable:i,isKeyboardDismissDisabled:s,isOpen:u,defaultOpen:f,onOpenChange:d,children:h,isEntering:p,isExiting:b,UNSTABLE_portalContainer:v,shouldCloseOnInteractOutside:w,...x}=t;return V.createElement(u5,{isDismissable:i,isKeyboardDismissDisabled:s,isOpen:u,defaultOpen:f,onOpenChange:d,isEntering:p,isExiting:b,UNSTABLE_portalContainer:v,shouldCloseOnInteractOutside:w},V.createElement(xv,{...x,modalRef:l},h))});function MM(e,t){[e,t]=yn(e,t,TM);let l=y.useContext(yi),r=a2(e),i=e.isOpen!=null||e.defaultOpen!=null||!l?r:l,s=bn(t),u=y.useRef(null),f=Zc(s,i.isOpen),d=Zc(u,i.isOpen),h=f||d||e.isExiting||!1,p=Nl();return!i.isOpen&&!h||p?null:V.createElement(AM,{...e,state:i,isExiting:h,overlayRef:s,modalRef:u})}const u5=y.forwardRef(MM);function AM({UNSTABLE_portalContainer:e,...t}){let l=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:s}=CM(t,r,l),u=wu(t.overlayRef)||t.isEntering||!1,f=At({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:u,isExiting:t.isExiting,state:r}}),d=Yw(),h,p;if(typeof document<"u"){let v=jo(document.body)?document.body:document.scrollingElement||document.documentElement,w=v.getBoundingClientRect().width%1,x=v.getBoundingClientRect().height%1;h=v.scrollWidth-w,p=v.scrollHeight-x}let b={...f.style,"--visual-viewport-width":d.width+"px","--visual-viewport-height":d.height+"px","--page-width":h!==void 0?h+"px":void 0,"--page-height":p!==void 0?p+"px":void 0};return V.createElement(ph,{isExiting:t.isExiting,portalContainer:e},V.createElement(ut.div,{...Ce(mt(t,{global:!0}),s),...f,style:b,ref:t.overlayRef,"data-entering":u||void 0,"data-exiting":t.isExiting||void 0},V.createElement(sr,{values:[[i2,{modalProps:i,modalRef:l,isExiting:t.isExiting,isDismissable:t.isDismissable}],[yi,r]]},f.children)))}function xv(e){let{modalProps:t,modalRef:l,isExiting:r,isDismissable:i}=y.useContext(i2),s=y.useContext(yi),u=y.useMemo(()=>ya(e.modalRef,l),[e.modalRef,l]),f=bn(u),d=wu(f),h=At({...e,defaultClassName:"react-aria-Modal",values:{isEntering:d,isExiting:r,state:s}});return V.createElement(ut.div,{...Ce(mt(e,{global:!0}),t),...h,ref:f,"data-entering":d||void 0,"data-exiting":r||void 0},i&&V.createElement(mh,{onDismiss:s.close}),h.children)}const LM=V.forwardRef(({children:e,...t},l)=>{l=bn(l);let{pressProps:r}=lr({...t,ref:l}),{focusableProps:i}=qo(t,l),s=V.Children.only(e);y.useEffect(()=>{},[l,t.isDisabled]);let u=parseInt(V.version,10)<19?s.ref:s.props.ref;return V.cloneElement(s,{...Ce(r,i,s.props),ref:ya(u,l)})}),Sv=({children:e,className:t,slot:l,style:r,variant:i,...s})=>{const u=y.useMemo(()=>XC({variant:i}),[i]);return E.jsx(X3,{"aria-label":"Close",className:Mt(t,u),"data-slot":"close-button",slot:l,style:r,type:"button",...s,children:f=>typeof e=="function"?e(f):e??E.jsx(XT,{"data-slot":"close-button-icon"})})},f5=Object.assign(Sv,{Root:Sv}),kM=y.createContext({}),NM=y.forwardRef(function(t,l){[t,l]=yn(t,l,kM);let{isDisabled:r,isInvalid:i,isReadOnly:s,onHoverStart:u,onHoverChange:f,onHoverEnd:d,...h}=t;r??(r=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),i??(i=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let{hoverProps:p,isHovered:b}=Sa({onHoverStart:u,onHoverChange:f,onHoverEnd:d,isDisabled:r}),{isFocused:v,isFocusVisible:w,focusProps:x}=Dl({within:!0}),T=At({...t,values:{isHovered:b,isFocusWithin:v,isFocusVisible:w,isDisabled:r,isInvalid:i},defaultClassName:"react-aria-Group"});return V.createElement(ut.div,{...Ce(h,x,p),...T,ref:l,role:t.role??"group",slot:t.slot??void 0,"data-focus-within":v||void 0,"data-hovered":b||void 0,"data-focus-visible":w||void 0,"data-disabled":r||void 0,"data-invalid":i||void 0,"data-readonly":s||void 0},T.children)}),DM=y.createContext(null),d5={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},h5={...d5,customError:!0,valid:!1},ai={isInvalid:!1,validationDetails:d5,validationErrors:[]},$M=y.createContext({}),ou="__reactAriaFormValidationState";function m5(e){if(e[ou]){let{realtimeValidation:t,displayValidation:l,updateValidation:r,resetValidation:i,commitValidation:s}=e[ou];return{realtimeValidation:t,displayValidation:l,updateValidation:r,resetValidation:i,commitValidation:s}}return zM(e)}function zM(e){let{isInvalid:t,validationState:l,name:r,value:i,builtinValidation:s,validate:u,validationBehavior:f="aria"}=e;l&&(t||(t=l==="invalid"));let d=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:h5}:null,h=y.useMemo(()=>{if(!u||i==null)return null;let K=PM(u,i);return wv(K)},[u,i]);s!=null&&s.validationDetails.valid&&(s=void 0);let p=y.useContext($M),b=y.useMemo(()=>r?Array.isArray(r)?r.flatMap(K=>vh(p[K])):vh(p[r]):[],[p,r]),[v,w]=y.useState(p),[x,T]=y.useState(!1);p!==v&&(w(p),T(!1));let C=y.useMemo(()=>wv(x?[]:b),[x,b]),N=y.useRef(ai),[M,L]=y.useState(ai),k=y.useRef(ai),B=()=>{if(!G)return;$(!1);let K=h||s||N.current;N0(K,k.current)||(k.current=K,L(K))},[G,$]=y.useState(!1);return y.useEffect(B),{realtimeValidation:d||C||h||s||ai,displayValidation:f==="native"?d||C||M:d||C||h||s||M,updateValidation(K){f==="aria"&&!N0(M,K)?L(K):N.current=K},resetValidation(){let K=ai;N0(K,k.current)||(k.current=K,L(K)),f==="native"&&$(!1),T(!0)},commitValidation(){f==="native"&&$(!0),T(!0)}}}function vh(e){return e?Array.isArray(e)?e:[e]:[]}function PM(e,t){if(typeof e=="function"){let l=e(t);if(l&&typeof l!="boolean")return vh(l)}return[]}function wv(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:h5}:null}function N0(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((l,r)=>l===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([l,r])=>t.validationDetails[l]===r)}const OM=y.createContext(null);class Ev{constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let l=u=>{if(this.keyMap.set(u.key,u),u.childNodes&&u.type==="section")for(let f of u.childNodes)l(f)};for(let u of t)l(u);let r=null,i=0,s=0;for(let[u,f]of this.keyMap)r?(r.nextKey=u,f.prevKey=r.key):(this.firstKey=u,f.prevKey=void 0),f.type==="item"&&(f.index=i++),(f.type==="section"||f.type==="item")&&s++,r=f,r.nextKey=void 0;this._size=s,this.lastKey=(r==null?void 0:r.key)??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let l=this.keyMap.get(t);return l?l.prevKey??null:null}getKeyAfter(t){let l=this.keyMap.get(t);return l?l.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){const l=[...this.getKeys()];return this.getItem(l[t])}getChildren(t){let l=this.keyMap.get(t);return(l==null?void 0:l.childNodes)||[]}}function jM(e){let{filter:t,layoutDelegate:l}=e,r=yM(e),i=y.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),s=y.useCallback(h=>t?new Ev(t(h)):new Ev(h),[t]),u=y.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),f=bM(e,s,u),d=y.useMemo(()=>new r2(f,r,{layoutDelegate:l}),[f,r,l]);return p5(f,d),{collection:f,disabledKeys:i,selectionManager:d}}function Cz(e,t){let l=y.useMemo(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(l);return p5(l,r),{collection:l,selectionManager:r,disabledKeys:e.disabledKeys}}function p5(e,t){const l=y.useRef(null);y.useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&l.current){let r=l.current.getKeyAfter(t.focusedKey),i=null;for(;r!=null;){let s=e.getItem(r);if(s&&s.type==="item"&&!t.isDisabled(r)){i=r;break}r=l.current.getKeyAfter(r)}if(i==null)for(r=l.current.getKeyBefore(t.focusedKey);r!=null;){let s=e.getItem(r);if(s&&s.type==="item"&&!t.isDisabled(r)){i=r;break}r=l.current.getKeyBefore(r)}t.setFocusedKey(i)}l.current=e},[e,t])}function IM(e,t,l){let{validationBehavior:r,focus:i}=e;Ne(()=>{if(r==="native"&&(l!=null&&l.current)&&"setCustomValidity"in l.current&&!l.current.disabled){let h=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";l.current.setCustomValidity(h),l.current.hasAttribute("title")||(l.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(HM(l.current))}});let s=y.useRef(!1),u=Fn(()=>{s.current||t.resetValidation()}),f=Fn(h=>{var b,v;t.displayValidation.isInvalid||t.commitValidation();let p=(b=l==null?void 0:l.current)==null?void 0:b.form;!h.defaultPrevented&&l&&p&&KM(p)===l.current&&(i?i():(v=l.current)==null||v.focus(),vT("keyboard")),h.preventDefault()}),d=Fn(()=>{t.commitValidation()});y.useEffect(()=>{let h=l==null?void 0:l.current;if(!h)return;let p=h.form,b=p==null?void 0:p.reset;return p&&(p.reset=()=>{s.current=!window.event||window.event.type==="message"&&ve(window.event)instanceof MessagePort,b==null||b.call(p),s.current=!1}),h.addEventListener("invalid",f),h.addEventListener("change",d),p==null||p.addEventListener("reset",u),()=>{h.removeEventListener("invalid",f),h.removeEventListener("change",d),p==null||p.removeEventListener("reset",u),p&&(p.reset=b)}},[l,r])}function BM(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function HM(e){return{isInvalid:!e.validity.valid,validationDetails:BM(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function KM(e){var t;for(let l=0;l<e.elements.length;l++){let r=e.elements[l];if(((t=r.validity)==null?void 0:t.valid)===!1)return r}return null}function UM(e,t=[]){let l=[];function r(s,u){const f=y.createContext(u);f.displayName=s+"Context";const d=l.length;l=[...l,u];const h=b=>{var N;const{scope:v,children:w,...x}=b,T=((N=v==null?void 0:v[e])==null?void 0:N[d])||f,C=y.useMemo(()=>x,Object.values(x));return E.jsx(T.Provider,{value:C,children:w})};h.displayName=s+"Provider";function p(b,v){var T;const w=((T=v==null?void 0:v[e])==null?void 0:T[d])||f,x=y.useContext(w);if(x)return x;if(u!==void 0)return u;throw new Error(`\`${b}\` must be used within \`${s}\``)}return[h,p]}const i=()=>{const s=l.map(u=>y.createContext(u));return function(f){const d=(f==null?void 0:f[e])||s;return y.useMemo(()=>({[`__scope${e}`]:{...f,[e]:d}}),[f,d])}};return i.scopeName=e,[r,FM(i,...t)]}function FM(...e){const t=e[0];if(e.length===1)return t;const l=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const u=r.reduce((f,{useScope:d,scopeName:h})=>{const b=d(s)[`__scope${h}`];return{...f,...b}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return l.scopeName=t.scopeName,l}function VM(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...l)=>{var r;return(r=t.current)==null?void 0:r.call(t,...l)},[])}var yh=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{};function Cv(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function _M(...e){return t=>{let l=!1;const r=e.map(i=>{const s=Cv(i,t);return!l&&typeof s=="function"&&(l=!0),s});if(l)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Cv(e[i],null)}}}}var GM=Symbol.for("react.lazy"),su=o8[" use ".trim().toString()];function qM(e){return typeof e=="object"&&e!==null&&"then"in e}function g5(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===GM&&"_payload"in e&&qM(e._payload)}function YM(e){const t=XM(e),l=y.forwardRef((r,i)=>{let{children:s,...u}=r;g5(s)&&typeof su=="function"&&(s=su(s._payload));const f=y.Children.toArray(s),d=f.find(ZM);if(d){const h=d.props.children,p=f.map(b=>b===d?y.Children.count(h)>1?y.Children.only(null):y.isValidElement(h)?h.props.children:null:b);return E.jsx(t,{...u,ref:i,children:y.isValidElement(h)?y.cloneElement(h,void 0,p):null})}return E.jsx(t,{...u,ref:i,children:s})});return l.displayName=`${e}.Slot`,l}function XM(e){const t=y.forwardRef((l,r)=>{let{children:i,...s}=l;if(g5(i)&&typeof su=="function"&&(i=su(i._payload)),y.isValidElement(i)){const u=JM(i),f=QM(s,i.props);return i.type!==y.Fragment&&(f.ref=r?_M(r,u):u),y.cloneElement(i,f)}return y.Children.count(i)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var WM=Symbol("radix.slottable");function ZM(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===WM}function QM(e,t){const l={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?l[r]=(...f)=>{const d=s(...f);return i(...f),d}:i&&(l[r]=i):r==="style"?l[r]={...i,...s}:r==="className"&&(l[r]=[i,s].filter(Boolean).join(" "))}return{...e,...l}}function JM(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,l=t&&"isReactWarning"in t&&t.isReactWarning;return l?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,l=t&&"isReactWarning"in t&&t.isReactWarning,l?e.props.ref:e.props.ref||e.ref)}var eA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],o2=eA.reduce((e,t)=>{const l=YM(`Primitive.${t}`),r=y.forwardRef((i,s)=>{const{asChild:u,...f}=i,d=u?l:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(d,{...f,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function tA(){return Lu.useSyncExternalStore(nA,()=>!0,()=>!1)}function nA(){return()=>{}}var s2="Avatar",[lA]=UM(s2),[aA,b5]=lA(s2),v5=y.forwardRef((e,t)=>{const{__scopeAvatar:l,...r}=e,[i,s]=y.useState("idle");return E.jsx(aA,{scope:l,imageLoadingStatus:i,onImageLoadingStatusChange:s,children:E.jsx(o2.span,{...r,ref:t})})});v5.displayName=s2;var y5="AvatarImage",x5=y.forwardRef((e,t)=>{const{__scopeAvatar:l,src:r,onLoadingStatusChange:i=()=>{},...s}=e,u=b5(y5,l),f=rA(r,s),d=VM(h=>{i(h),u.onImageLoadingStatusChange(h)});return yh(()=>{f!=="idle"&&d(f)},[f,d]),f==="loaded"?E.jsx(o2.img,{...s,ref:t,src:r}):null});x5.displayName=y5;var S5="AvatarFallback",w5=y.forwardRef((e,t)=>{const{__scopeAvatar:l,delayMs:r,...i}=e,s=b5(S5,l),[u,f]=y.useState(r===void 0);return y.useEffect(()=>{if(r!==void 0){const d=window.setTimeout(()=>f(!0),r);return()=>window.clearTimeout(d)}},[r]),u&&s.imageLoadingStatus!=="loaded"?E.jsx(o2.span,{...i,ref:t}):null});w5.displayName=S5;function Tv(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function rA(e,{referrerPolicy:t,crossOrigin:l}){const r=tA(),i=y.useRef(null),s=r?(i.current||(i.current=new window.Image),i.current):null,[u,f]=y.useState(()=>Tv(s,e));return yh(()=>{f(Tv(s,e))},[s,e]),yh(()=>{const d=b=>()=>{f(b)};if(!s)return;const h=d("loaded"),p=d("error");return s.addEventListener("load",h),s.addEventListener("error",p),t&&(s.referrerPolicy=t),typeof l=="string"&&(s.crossOrigin=l),()=>{s.removeEventListener("load",h),s.removeEventListener("error",p)}},[s,l,t]),u}var iA=v5,oA=x5,sA=w5;const c2=y.createContext({}),Rv=({children:e,className:t,color:l,size:r,variant:i,...s})=>{const u=V.useMemo(()=>_C({color:l,size:r,variant:i}),[l,r,i]);return E.jsx(c2,{value:{slots:u},children:E.jsx(iA,{className:u.base({className:t}),...s,children:e})})},cA=({className:e,crossOrigin:t,loading:l,onError:r,onLoad:i,sizes:s,src:u,srcSet:f,...d})=>{const{slots:h}=V.use(c2);return E.jsx(oA,{className:Je(h==null?void 0:h.image,e),crossOrigin:t,loading:l,sizes:s,src:u,srcSet:f,onError:r,onLoad:i,...d})},uA=({className:e,color:t,...l})=>{const{slots:r}=V.use(c2);return E.jsx(sA,{className:Je(r==null?void 0:r.fallback,e,{color:t}),"data-slot":"avatar-fallback",...l})},D0=Object.assign(Rv,{Root:Rv,Image:cA,Fallback:uA});function fA(e,t){let{elementType:l="a",onPress:r,onPressStart:i,onPressEnd:s,onPressChange:u,onClick:f,isDisabled:d,...h}=e,p={};l!=="a"&&(p={role:"link",tabIndex:d?void 0:0});let{focusableProps:b}=qo(e,t),{pressProps:v,isPressed:w}=lr({onPress:r,onPressStart:i,onPressEnd:s,onPressChange:u,onClick:f,isDisabled:d,ref:t}),x=mt(h,{labelable:!0}),T=Ce(b,v),C=Go(),N=Zy(e);return{isPressed:w,linkProps:Ce(x,N,{...T,...p,"aria-disabled":d||void 0,"aria-current":e["aria-current"],onClick:M=>{var L;(L=v.onClick)==null||L.call(v,M),Sw(M,C,e.href,e.routerOptions)}})}}const dA=y.createContext(null),hA=y.forwardRef(function(t,l){[t,l]=yn(t,l,dA);let r=t.href&&!t.isDisabled?"a":"span",{linkProps:i,isPressed:s}=fA({...t,elementType:r},l),u=ut[r],{hoverProps:f,isHovered:d}=Sa(t),{focusProps:h,isFocused:p,isFocusVisible:b}=Dl(),v=At({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:s,isHovered:d,isFocused:p,isFocusVisible:b}}),w=mt(t,{global:!0});return delete w.onClick,V.createElement(u,{ref:l,slot:t.slot||void 0,...Ce(w,v,i,f,h),"data-focused":p||void 0,"data-hovered":d||void 0,"data-pressed":s||void 0,"data-focus-visible":b||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},v.children)}),E5=y.createContext({}),Mv=({children:e,className:t,...l})=>{const r=V.useMemo(()=>WC(),[]);return E.jsx(E5,{value:{slots:r},children:E.jsx(hA,{"data-slot":"link",...l,className:Mt(t,r==null?void 0:r.base()),children:i=>E.jsx(E.Fragment,{children:typeof e=="function"?e(i):e})})})},mA=({children:e,className:t,...l})=>{const{slots:r}=y.use(E5);return E.jsx(Ct.span,{className:Je(r==null?void 0:r.icon,t),"data-default-icon":ch(!e),"data-slot":"link-icon",...l,children:e??E.jsx(YT,{"data-slot":"link-default-icon"})})},Nc=Object.assign(Mv,{Root:Mv,Icon:mA}),pA=y.createContext({});function C5(e={}){let{isReadOnly:t}=e,[l,r]=Ru(e.isSelected,e.defaultSelected||!1,e.onChange),[i]=y.useState(l);function s(f){t||r(f)}function u(){t||r(!l)}return{isSelected:l,defaultSelected:e.defaultSelected??i,setSelected:s,toggle:u}}const u2=y.createContext({}),T5="__button_group_child",Tz=({children:e,className:t,fullWidth:l,isDisabled:r,orientation:i,size:s,variant:u,...f})=>{const d=Cu(pA),h=i??(d==null?void 0:d.orientation)??"horizontal",p=V.useMemo(()=>qC({fullWidth:l,orientation:h}),[l,h]),b=y.Children.map(e,v=>y.isValidElement(v)?V.cloneElement(v,{[T5]:!0}):v);return E.jsx(u2,{value:{slots:p,size:s,variant:u,isDisabled:r,fullWidth:l},children:E.jsx(NM,{className:Mt(t,p.base()),"data-slot":"button-group",isDisabled:r,...f,children:b})})},Rz=({className:e,...t})=>{const{slots:l}=y.use(u2);return E.jsx(Ct.span,{"aria-hidden":"true",className:Je(l==null?void 0:l.separator,e),"data-slot":"button-group-separator",...t})},Av=({children:e,className:t,fullWidth:l,isDisabled:r,isIconOnly:i,size:s,slot:u,style:f,variant:d,[T5]:h,...p})=>{const b=y.use(u2),v=h===!0,w=s??(v?b==null?void 0:b.size:void 0),x=d??(v?b==null?void 0:b.variant:void 0),T=r??(v?b==null?void 0:b.isDisabled:void 0),C=l??(v?b==null?void 0:b.fullWidth:void 0),N=GC({fullWidth:C,isIconOnly:i,size:w,variant:x});return E.jsx(X3,{className:Mt(t,N),"data-slot":"button",isDisabled:T,slot:u,style:f,...p,children:M=>typeof e=="function"?e(M):e})},mn=Object.assign(Av,{Root:Av}),gA=new WeakMap;function bA(e=!0){let[t,l]=y.useState(e),r=y.useRef(!1),i=y.useCallback(s=>{r.current=!0,l(!!s)},[]);return Ne(()=>{r.current||l(!1)},[]),[i,t]}function Lv(e=!0){let t=_n(),[l,r]=bA(e);return{id:r?t:void 0,ref:l}}function vA(e,t,l){let{isDisabled:r=!1,isReadOnly:i=!1,value:s,name:u,form:f,children:d,isRequired:h,validationBehavior:p="aria","aria-label":b,"aria-labelledby":v,"aria-describedby":w,onPressStart:x,onPressEnd:T,onPressChange:C,onPress:N,onPressUp:M,onClick:L}=e,k=m5({...e,value:t.isSelected}),{isInvalid:B,validationErrors:G,validationDetails:$}=k.displayValidation;IM(e,k,l);let A=J=>{J.stopPropagation(),t.setSelected(ve(J).checked)},{pressProps:U,isPressed:K}=lr({onPressStart:x,onPressEnd:T,onPressChange:C,onPress:N,onPressUp:M,onClick:L,isDisabled:r}),[q,te]=y.useState(!1),{pressProps:ne}=lr({onPressStart(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}x==null||x(J),C==null||C(!0),te(!0)},onPressEnd(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}T==null||T(J),C==null||C(!1),te(!1)},onPressUp(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}M==null||M(J)},onClick:L,onPress(J){var Q;if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}N==null||N(J),t.toggle(),(Q=l.current)==null||Q.focus();let{[ou]:_}=e,{commitValidation:D}=_||k;D()},isDisabled:r||i}),{focusableProps:j}=qo(e,l),Y=Ce(U,j),z=mt(e,{labelable:!0});Qw(l,t.defaultSelected,t.setSelected);let O=Lv(),oe=Lv();return{labelProps:Ce(ne,{onClick:J=>J.preventDefault()}),inputProps:Ce(z,{checked:t.isSelected,"aria-required":h&&p==="aria"||void 0,required:h&&p==="native","aria-invalid":B||e.validationState==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":i||void 0,"aria-describedby":[O.id,oe.id,w].filter(Boolean).join(" ")||void 0,onChange:A,disabled:r,...s==null?{}:{value:s},name:u,form:f,type:"checkbox",...Y}),descriptionProps:O,errorMessageProps:oe,isSelected:t.isSelected,isPressed:K||q,isDisabled:r,isReadOnly:i,isInvalid:B||e.validationState==="invalid",validationErrors:G,validationDetails:$}}function R5(e,t,l){let{labelProps:r,inputProps:i,descriptionProps:s,errorMessageProps:u,isSelected:f,isPressed:d,isDisabled:h,isReadOnly:p,isInvalid:b,validationErrors:v,validationDetails:w}=vA(e,t,l),{isIndeterminate:x}=e;return y.useEffect(()=>{l.current&&(l.current.indeterminate=!!x)}),{labelProps:Ce(r,y.useMemo(()=>({onMouseDown:T=>T.preventDefault()}),[])),inputProps:i,descriptionProps:s,errorMessageProps:u,isSelected:f,isPressed:d,isDisabled:h,isReadOnly:p,isInvalid:b,validationErrors:v,validationDetails:w}}function yA(e,t,l){const r=C5({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),defaultSelected:t.defaultValue.includes(e.value),onChange(T){T?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(T)}});let{name:i,form:s,descriptionId:u,errorMessageId:f,validationBehavior:d}=gA.get(t);d=e.validationBehavior??d;let{realtimeValidation:h}=m5({...e,value:r.isSelected,name:void 0,validationBehavior:"aria"}),p=y.useRef(ai),b=()=>{t.setInvalid(e.value,h.isInvalid?h:p.current)};y.useEffect(b);let v=t.realtimeValidation.isInvalid?t.realtimeValidation:h,w=d==="native"?t.displayValidation:v,x=R5({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||i,form:e.form||s,isRequired:e.isRequired??t.isRequired,validationBehavior:d,[ou]:{realtimeValidation:v,displayValidation:w,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(T){p.current=T,b()}}},r,l);return{...x,inputProps:{...x.inputProps,"aria-describedby":[x.inputProps["aria-describedby"],t.isInvalid?f:null,u].filter(Boolean).join(" ")||void 0}}}const Mz=y.createContext(null),xA=y.createContext(null),M5=y.createContext(null),A5=y.createContext(null),SA=y.forwardRef(function(t,l){let{inputRef:r=null,...i}=t;[t,l]=yn(i,l,xA);let s=y.useContext(M5),[u,f]=wA(t,r),{descriptionProps:d,errorMessageProps:h,isSelected:p,isDisabled:b,isReadOnly:v,isInvalid:w,validationDetails:x,validationErrors:T}=u,C=At({...t,defaultClassName:"react-aria-CheckboxField",values:{isSelected:p,isIndeterminate:t.isIndeterminate||!1,isDisabled:b,isReadOnly:v,isInvalid:w,isRequired:t.isRequired||!1}}),N=mt(t,{global:!0});return delete N.id,delete N.onClick,V.createElement(ut.div,{...Ce(N,C),ref:l,slot:t.slot||void 0,"data-selected":p||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-disabled":b||void 0,"data-readonly":v||void 0,"data-invalid":w||void 0,"data-required":t.isRequired||void 0},V.createElement(sr,{values:[[A5,{...u,inputRef:f,defaultClassName:"react-aria-CheckboxButton",isIndeterminate:t.isIndeterminate,isRequired:t.isRequired}],[ku,{slots:{description:d,errorMessage:h}}],[DM,s?null:{isInvalid:w,validationDetails:x,validationErrors:T}]]},C.children))});function wA(e,t){let{validationBehavior:l}=Cu(OM)||{},r=e.validationBehavior??l??"native",i=y.useContext(M5),s=bn(y.useMemo(()=>ya(t,e.inputRef!==void 0?e.inputRef:null),[t,e.inputRef])),u={...lT(e),children:typeof e.children=="function"?!0:e.children,value:e.value,validationBehavior:r};return[i?yA(u,i,s):R5(u,C5(e),s),s]}const EA=y.forwardRef(function(t,l){let{labelProps:r,inputProps:i,isSelected:s,isDisabled:u,isReadOnly:f,isPressed:d,isInvalid:h,inputRef:p,defaultClassName:b,isIndeterminate:v,isRequired:w}=y.useContext(A5),{isFocused:x,isFocusVisible:T,focusProps:C}=Dl(),N=u||f,{hoverProps:M,isHovered:L}=Sa({...t,isDisabled:N}),k=At({...t,defaultClassName:b,values:{isSelected:s,isIndeterminate:v||!1,isPressed:d,isHovered:L,isFocused:x,isFocusVisible:T,isDisabled:u,isReadOnly:f,isInvalid:h,isRequired:w||!1}}),B=mt(t,{global:!0});return delete B.id,delete B.onClick,V.createElement(ut.label,{...Ce(B,r,M,k),ref:l,slot:t.slot||void 0,"data-selected":s||void 0,"data-indeterminate":v||void 0,"data-pressed":d||void 0,"data-hovered":L||void 0,"data-focused":x||void 0,"data-focus-visible":T||void 0,"data-disabled":u||void 0,"data-readonly":f||void 0,"data-invalid":h||void 0,"data-required":w||void 0},V.createElement(F4,{elementType:"span"},V.createElement("input",{...Ce(i,C),ref:p})),k.children)}),CA=y.createContext({}),Nu=y.createContext({}),xh=({children:e,className:t,variant:l,...r})=>{const i=y.use(CA),s=l??i.variant,u=V.useMemo(()=>YC({variant:s}),[s]);return E.jsx(SA,{"data-slot":"checkbox",...r,className:Mt(t,u.base()),children:f=>E.jsx(Nu,{value:{slots:u,state:f},children:typeof e=="function"?e(f):e})})};xh.displayName="HeroUI.Checkbox";const L5=({children:e,className:t,...l})=>{const{slots:r}=y.use(Nu);return E.jsx(EA,{"data-slot":"checkbox-content",...l,className:Mt(t,r==null?void 0:r.content()),children:e})};L5.displayName="HeroUI.Checkbox.Content";const k5=({children:e,className:t,...l})=>{const{slots:r}=y.use(Nu);return E.jsx(Ct.span,{className:Je(r==null?void 0:r.control,t),"data-slot":"checkbox-control",...l,children:e})};k5.displayName="HeroUI.Checkbox.Control";const N5=({children:e,className:t,...l})=>{const{slots:r,state:i}=y.use(Nu),s=i==null?void 0:i.isSelected,u=i==null?void 0:i.isIndeterminate,f=typeof e=="function"?e(i??{}):e||(u?E.jsx("svg",{"aria-hidden":"true","data-slot":"checkbox-default-indicator--indeterminate",fill:"none",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeWidth:3,viewBox:"0 0 24 24",children:E.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})}):E.jsx("svg",{"aria-hidden":"true","data-slot":"checkbox-default-indicator--checkmark",fill:"none",role:"presentation",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:s?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 17 18",children:E.jsx("polyline",{points:"1 9 7 14 15 4"})}));return E.jsx(Ct.span,{"aria-hidden":"true",className:Je(r==null?void 0:r.indicator,t),"data-slot":"checkbox-indicator",...l,children:f})};N5.displayName="HeroUI.Checkbox.Indicator";const ha=Object.assign(xh,{Root:xh,Content:L5,Control:k5,Indicator:N5}),ri={blue:"\x1B[34m",green:"\x1B[32m",magenta:"\x1B[35m",red:"\x1B[31m",reset:"\x1B[0m",yellow:"\x1B[33m"},TA={debug:ri.magenta,error:ri.red,info:ri.blue,success:ri.green,warn:ri.yellow},RA={debug:"🔍",error:"❌",info:"ℹ️",success:"✅",warn:"⚠️"};class MA{constructor(t={}){this.enabled=t.enabled??!0,this.prefix=t.prefix??"HeroUI"}formatMessage(t,l){const r=TA[t],i=RA[t];return`${r}[${this.prefix}]${ri.reset} ${i} ${l}`}log(t,l,...r){if(!this.enabled)return;const i=this.formatMessage(t,l);switch(t){case"error":console.error(i,...r);break;case"warn":console.warn(i,...r);break;default:console.log(i,...r)}}info(t,...l){this.log("info",t,...l)}success(t,...l){this.log("success",t,...l)}warn(t,...l){this.log("warn",t,...l)}error(t,...l){this.log("error",t,...l)}debug(t,...l){this.log("debug",t,...l)}divider(t="=",l=80){this.enabled&&console.log(t.repeat(l))}newline(){this.enabled&&console.log()}}new MA({prefix:"HeroUI"});const AA=e=>{const t=`$$heroui.collection.${e}`,l=y.createContext(void 0),r=(d,h)=>y.Children.map(d,p=>y.isValidElement(p)?V.cloneElement(p,{[t]:h}):p),i=d=>{const{[t]:h,...p}=d;return[h,p]},s=d=>{const[h,p]=i(d),b=y.useContext(l);return[h??b,p]},u=({children:d,...h})=>E.jsx(l.Provider,{value:h,children:r(d,h)});return u.displayName=`HeroUI.CollectionSlot(${e})`,{key:t,inject:r,consume:i,useSlot:s,Injector:u,withSlot:(d,h)=>{const p=y.forwardRef(function(v,w){const[x,T]=s(v),{children:C,...N}=T;if(!x)return E.jsx(d,{...N,ref:w,children:C});if(h)return h({...N,children:C},x,w);const{className:M,render:L,...k}=x;return E.jsx(d,{...N,ref:w,children:L?L({children:C,className:M,...k}):E.jsx("div",{className:M,"data-slot":`${e}-container`,...k,children:C})})});return p.displayName=`HeroUI.withCollectionSlot(${d.displayName||d.name||e})`,p},Context:l}},LA=e=>{const{containerRef:t,isEnabled:l,offset:r,onVisibilityChange:i,orientation:s,visibility:u}=e,f=y.useRef(null),d=y.useRef(null),h=y.useCallback(()=>{const p=t.current;if(!p)return;const b=s==="vertical",v=b?p.scrollTop:Math.abs(p.scrollLeft),w=b?p.scrollHeight:p.scrollWidth,x=b?p.clientHeight:p.clientWidth,T=v>r,C=v+x+r<w-1,N=f.current;N&&N.hasScrollBefore===T&&N.hasScrollAfter===C||(f.current={hasScrollBefore:T,hasScrollAfter:C},d.current!==null&&cancelAnimationFrame(d.current),d.current=requestAnimationFrame(()=>{d.current=null,b?T&&C?(p.dataset.topBottomScroll="true",delete p.dataset.topScroll,delete p.dataset.bottomScroll,i==null||i("both")):(p.dataset.topScroll=String(T),p.dataset.bottomScroll=String(C),delete p.dataset.topBottomScroll,i&&i(T?"top":C?"bottom":"none")):T&&C?(p.dataset.leftRightScroll="true",delete p.dataset.leftScroll,delete p.dataset.rightScroll,i==null||i("both")):(p.dataset.leftScroll=String(T),p.dataset.rightScroll=String(C),delete p.dataset.leftRightScroll,i&&i(T?"left":C?"right":"none"))}))},[t,s,r,i]);y.useEffect(()=>{const p=t.current;if(!p||!l||u!=="auto")return;h(),p.addEventListener("scroll",h,{passive:!0});const b=new ResizeObserver(h);return b.observe(p),()=>{p.removeEventListener("scroll",h),b.disconnect(),d.current!==null&&(cancelAnimationFrame(d.current),d.current=null),f.current=null}},[t,u,l,h])},kA=globalThis!=null&&globalThis.document?y.useLayoutEffect:y.useEffect,Sh=({children:e,className:t,hideScrollBar:l=!1,isEnabled:r=!0,offset:i=0,onVisibilityChange:s,orientation:u="vertical",ref:f,size:d=40,variant:h="fade",visibility:p="auto",...b})=>{const v=y.useRef(null);LA({containerRef:v,isEnabled:r,offset:i,onVisibilityChange:s,orientation:u,visibility:p}),kA(()=>{const T=v.current;!T||p==="auto"||(delete T.dataset.topScroll,delete T.dataset.bottomScroll,delete T.dataset.topBottomScroll,delete T.dataset.leftScroll,delete T.dataset.rightScroll,delete T.dataset.leftRightScroll,p==="both"?T.dataset[u==="vertical"?"topBottomScroll":"leftRightScroll"]="true":p!=="none"&&(T.dataset[`${p}Scroll`]="true"))},[p,u]);const w=y.useMemo(()=>ZC({hideScrollBar:l,orientation:u,variant:h}),[u,l,h]),x={"--scroll-shadow-size":`${d}px`,...b.style};return E.jsx("div",{ref:ya(v,f),className:w.base({className:t}),"data-orientation":u,"data-scroll-shadow-size":d,"data-slot":"scroll-shadow",style:x,...b,children:e})};Sh.displayName="HeroUI.ScrollShadow";const NA=Object.assign(Sh,{Root:Sh}),DA=({...e})=>{const t=y.useId();return E.jsxs("svg",{"data-slot":"spinner-icon",viewBox:"0 0 24 24",...e,children:[E.jsxs("defs",{children:[E.jsxs("linearGradient",{id:`«data-slot-icon-def-1»-${t}`,x1:"50%",x2:"50%",y1:"5.271%",y2:"91.793%",children:[E.jsx("stop",{offset:"0%",stopColor:"currentColor"}),E.jsx("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:.55})]}),E.jsxs("linearGradient",{id:`«data-slot-icon-def-2»-${t}`,x1:"50%",x2:"50%",y1:"15.24%",y2:"87.15%",children:[E.jsx("stop",{offset:"0%",stopColor:"currentColor",stopOpacity:0}),E.jsx("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:.55})]})]}),E.jsxs("g",{fill:"none",children:[E.jsx("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),E.jsx("path",{d:"M8.749.021a1.5 1.5 0 0 1 .497 2.958A7.5 7.5 0 0 0 3 10.375a7.5 7.5 0 0 0 7.5 7.5v3c-5.799 0-10.5-4.7-10.5-10.5C0 5.23 3.726.865 8.749.021",fill:`url(#«data-slot-icon-def-1»-${t})`,transform:"translate(1.5 1.625)"}),E.jsx("path",{d:"M15.392 2.673a1.5 1.5 0 0 1 2.119-.115A10.48 10.48 0 0 1 21 10.375c0 5.8-4.701 10.5-10.5 10.5v-3a7.5 7.5 0 0 0 5.007-13.084a1.5 1.5 0 0 1-.115-2.118",fill:`url(#«data-slot-icon-def-2»-${t})`,transform:"translate(1.5 1.625)"})]})]})},kv=({className:e,color:t,size:l,...r})=>E.jsx(Ct.span,{"aria-label":"Loading","data-slot":"spinner",role:"status",...r,className:QC({className:e,color:t,size:l}),children:E.jsx(DA,{"aria-hidden":!0})}),$A=Object.assign(kv,{Root:kv}),D5=Object.assign(Ub,{Root:Ub}),$5=12,z5=3,P5=Number.MAX_SAFE_INTEGER,O5=.05,zA=460,j5=4e3;var I5={};I5={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var B5={};B5={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var H5={};H5={close:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var K5={};K5={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var U5={};U5={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var F5={};F5={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var V5={};V5={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var _5={};_5={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var G5={};G5={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var q5={};q5={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var Y5={};Y5={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var X5={};X5={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var W5={};W5={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var Z5={};Z5={close:"Bezárás",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesítés`,other:()=>`${t.number(e.count)} értesítés`})}.`};var Q5={};Q5={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var J5={};J5={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var ex={};ex={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var tx={};tx={close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pranešimas`,other:()=>`${t.number(e.count)} pranešimai`})}.`};var nx={};nx={close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziņojums`,other:()=>`${t.number(e.count)} paziņojumi`})}.`};var lx={};lx={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var ax={};ax={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var rx={};rx={close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomień`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var ix={};ix={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var ox={};ox={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var sx={};sx={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var cx={};cx={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var ux={};ux={close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámení`})}.`};var fx={};fx={close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var dx={};dx={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var hx={};hx={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var mx={};mx={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var px={};px={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var gx={};gx={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var bx={};bx={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var f2={};f2={"ar-AE":I5,"bg-BG":B5,"cs-CZ":H5,"da-DK":K5,"de-DE":U5,"el-GR":F5,"en-US":V5,"es-ES":_5,"et-EE":G5,"fi-FI":q5,"fr-FR":Y5,"he-IL":X5,"hr-HR":W5,"hu-HU":Z5,"it-IT":Q5,"ja-JP":J5,"ko-KR":ex,"lt-LT":tx,"lv-LV":nx,"nb-NO":lx,"nl-NL":ax,"pl-PL":rx,"pt-BR":ix,"pt-PT":ox,"ro-RO":sx,"ru-RU":cx,"sk-SK":ux,"sl-SI":fx,"sr-SP":dx,"sv-SE":hx,"tr-TR":mx,"uk-UA":px,"zh-CN":gx,"zh-TW":bx};function PA(e){return e&&e.__esModule?e.default:e}function OA(e,t,l){let{key:r,timer:i,timeout:s}=e.toast;y.useEffect(()=>{if(!(i==null||s==null))return i.reset(s),()=>{i.pause()}},[i,s]);let u=_n(),f=Y0(),d=l2(PA(f2),"@react-aria/toast"),[h,p]=y.useState(!1);return Ne(()=>{p(!0)},[]),{toastProps:{...mt(e,{labelable:!0}),role:"alertdialog","aria-modal":"false","aria-labelledby":e["aria-labelledby"]||u,"aria-describedby":e["aria-describedby"]||f,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":h?void 0:"true"},titleProps:{id:u},descriptionProps:{id:f},closeButtonProps:{"aria-label":d.format("close"),onPress:()=>t.close(r)}}}const vx=1,$0=Symbol.for("react-aria-landmark-manager");function jA(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function Nv(){if(typeof document>"u")return null;let e=document[$0];return e&&e.version>=vx?e:(document[$0]=new BA,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[$0])}function IA(){return Lu.useSyncExternalStore(jA,Nv,Nv)}class BA{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=vx,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(t,l){var r,i;(i=(r=this.landmarks.find(s=>s.ref.current===t))==null?void 0:r.focus)==null||i.call(r,l)}getLandmarksByRole(t){return new Set(this.landmarks.filter(l=>l.role===t))}getLandmarkByRole(t){return this.landmarks.find(l=>l.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(i=>i.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(i=>i.role==="main").length>1,this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let l=0,r=this.landmarks.length-1;for(;l<=r;){let i=Math.floor((l+r)/2),s=t.ref.current.compareDocumentPosition(this.landmarks[i].ref.current);!!(s&Node.DOCUMENT_POSITION_PRECEDING||s&Node.DOCUMENT_POSITION_CONTAINS)?l=i+1:r=i-1}this.landmarks.splice(l,0,t),this.checkLabels(t.role)}updateLandmark(t){let l=this.landmarks.findIndex(r=>r.ref===t.ref);l>=0&&(this.landmarks[l]={...this.landmarks[l],...t},this.checkLabels(this.landmarks[l].role))}removeLandmark(t){this.landmarks=this.landmarks.filter(l=>l.ref!==t),this.teardownIfNeeded()}checkLabels(t){let l=this.getLandmarksByRole(t);l.size>1&&[...l].filter(r=>!r.label)}closestLandmark(t){let l=new Map(this.landmarks.map(i=>[i.ref.current,i])),r=t;for(;r&&!l.has(r)&&r!==document.body&&r.parentElement;)r=r.parentElement;return l.get(r)}getNextLandmark(t,{backward:l}){var f;let r=this.closestLandmark(t),i=l?this.landmarks.length-1:0;r&&(i=this.landmarks.indexOf(r)+(l?-1:1));let s=()=>{if(i<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;i=this.landmarks.length-1}else if(i>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;i=0}return i<0||i>=this.landmarks.length};if(s())return;let u=i;for(;(f=this.landmarks[i].ref.current)!=null&&f.closest("[aria-hidden=true]");){if(i+=l?-1:1,s())return;if(i===u)break}return this.landmarks[i]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(ve(t),t.shiftKey))&&(t.preventDefault(),t.stopPropagation())}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&t.ref.current.isConnected?(this.focusLandmark(t.ref.current,"forward"),!0):!1}navigate(t,l){let r=this.getNextLandmark(t,{backward:l});if(!r)return!1;if(r.lastFocused){let i=r.lastFocused;if(Ie(document.body,i))return i.focus(),!0}return r.ref.current&&r.ref.current.isConnected?(this.focusLandmark(r.ref.current,l?"backward":"forward"),!0):!1}focusinHandler(t){let l=this.closestLandmark(ve(t));l&&l.ref.current!==ve(t)&&this.updateLandmark({ref:l.ref,lastFocused:ve(t)});let r=t.relatedTarget;if(r){let i=this.closestLandmark(r);i&&i.ref.current===r&&i.blur()}}focusoutHandler(t){let l=ve(t),r=t.relatedTarget;if(!r||r===document){let i=this.closestLandmark(l);i&&i.ref.current===l&&i.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(l,r){let i=(r==null?void 0:r.from)||document.activeElement;return t.navigate(i,l==="backward")},focusNext(l){let r=(l==null?void 0:l.from)||document.activeElement;return t.navigate(r,!1)},focusPrevious(l){let r=(l==null?void 0:l.from)||document.activeElement;return t.navigate(r,!0)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null)}}}registerLandmark(t){return this.landmarks.find(l=>l.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}}function HA(e,t){const{role:l,"aria-label":r,"aria-labelledby":i,focus:s}=e;let u=IA(),f=r||i,[d,h]=y.useState(!1),p=y.useCallback(()=>{h(!0)},[h]),b=y.useCallback(()=>{h(!1)},[h]);return Ne(()=>{if(u)return u.registerLandmark({ref:t,label:f,role:l,focus:s||p,blur:b})},[u,f,t,l,s,p,b]),y.useEffect(()=>{var v;d&&((v=t.current)==null||v.focus())},[d,t]),{landmarkProps:{role:l,tabIndex:d?-1:void 0,"aria-label":r,"aria-labelledby":i}}}function KA(e){return e&&e.__esModule?e.default:e}function UA(e,t,l){let r=l2(KA(f2),"@react-aria/toast"),{landmarkProps:i}=HA({role:"region","aria-label":e["aria-label"]||r.format("notifications",{count:t.visibleToasts.length})},l),s=y.useRef(!1),u=y.useRef(!1),f=y.useCallback(()=>{s.current||u.current?t.pauseAll():t.resumeAll()},[t]),{hoverProps:d}=Sa({onHoverStart:()=>{s.current=!0,f()},onHoverEnd:()=>{s.current=!1,f()}}),h=y.useRef([]),p=y.useRef(t.visibleToasts),b=y.useRef(null);Ne(()=>{var C;if(b.current===-1||t.visibleToasts.length===0||!l.current){h.current=[],p.current=t.visibleToasts;return}if(h.current=[...l.current.querySelectorAll('[role="alertdialog"]')],p.current.length===t.visibleToasts.length&&t.visibleToasts.every((N,M)=>N.key===p.current[M].key)){p.current=t.visibleToasts;return}let x=p.current.map((N,M)=>({...N,i:M,isRemoved:!t.visibleToasts.some(L=>N.key===L.key)})),T=x.findIndex(N=>N.i===b.current&&N.isRemoved);if(T>-1)if(pa()==="pointer"&&((C=v.current)!=null&&C.isConnected))en(v.current);else{let N=0,M,L;for(;N<=T;)x[N].isRemoved||(L=Math.max(0,N-1)),N++;for(;N<x.length;){if(!x[N].isRemoved){M=N-1;break}N++}L===void 0&&M===void 0&&(L=0),L>=0&&L<h.current.length?en(h.current[L]):M>=0&&M<h.current.length&&en(h.current[M])}p.current=t.visibleToasts},[t.visibleToasts,l]);let v=y.useRef(null),{focusWithinProps:w}=Yo({onFocusWithin:x=>{u.current=!0,v.current=x.relatedTarget,f()},onBlurWithin:()=>{u.current=!1,v.current=null,f()}});return y.useEffect(()=>{var x;t.visibleToasts.length===0&&((x=v.current)!=null&&x.isConnected)&&(pa()==="pointer"?en(v.current):v.current.focus(),v.current=null)},[l,t.visibleToasts.length]),y.useEffect(()=>()=>{var x;(x=v.current)!=null&&x.isConnected&&(pa()==="pointer"?en(v.current):v.current.focus(),v.current=null)},[l]),{regionProps:Ce(i,d,w,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:x=>{let T=ve(x).closest('[role="alertdialog"]');b.current=h.current.findIndex(C=>C===T)},onBlur:()=>{b.current=-1}})}}function FA(e){let t=y.useCallback(i=>e.subscribe(i),[e]),l=y.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:Lu.useSyncExternalStore(t,l,l),add:(i,s)=>e.add(i,s),close:i=>e.close(i),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class VA{constructor(t){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=(t==null?void 0:t.maxVisibleToasts)??1/0,this.wrapUpdate=t==null?void 0:t.wrapUpdate}runWithWrapUpdate(t,l){this.wrapUpdate?this.wrapUpdate(t,l):t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,l={}){let r="_"+Math.random().toString(36).slice(2),i={...l,content:t,key:r,timer:l.timeout?new _A(()=>this.close(r),l.timeout):void 0};return this.queue.unshift(i),this.updateVisibleToasts("add"),r}close(t){var r,i;let l=this.queue.findIndex(s=>s.key===t);l>=0&&((i=(r=this.queue[l]).onClose)==null||i.call(r),this.queue.splice(l,1)),this.updateVisibleToasts("remove")}updateVisibleToasts(t){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let l of this.subscriptions)l()},t)}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause()}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class _A{constructor(t,l){this.startTime=null,this.remaining=l,this.callback=t}reset(t){this.remaining=t,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}}const Du=y.createContext(null),GA=y.forwardRef(function(t,l){let r=Nl(),i=FA(t.queue),s=bn(l),{regionProps:u}=UA(t,i,s),{focusProps:f,isFocused:d,isFocusVisible:h}=Dl(),{hoverProps:p,isHovered:b}=Sa({}),v=At({...t,children:void 0,defaultClassName:"react-aria-ToastRegion",values:{visibleToasts:i.visibleToasts,isHovered:b,isFocused:d,isFocusVisible:h}}),{direction:w}=bi(),x,{getContainer:T}=V4();r||(x=document.body,T&&(x=T()));let C=mt(t,{global:!0}),N=V.createElement(Du.Provider,{value:i},V.createElement(ut.div,{...Ce(C,v,u,f,p),dir:w,ref:s,"data-hovered":b||void 0,"data-focused":d||void 0,"data-focus-visible":h||void 0},typeof t.children=="function"?V.createElement(qA,{...t,render:void 0,className:void 0,style:{display:"contents"}},t.children):t.children));return i.visibleToasts.length>0&&x?al.createPortal(N,x):null}),qA=y.forwardRef(function(t,l){let r=y.useContext(Du),{hoverProps:i,isHovered:s}=Sa({}),u=At({...t,children:void 0,defaultClassName:"react-aria-ToastList",values:{visibleToasts:r.visibleToasts,isFocused:!1,isFocusVisible:!1,isHovered:s}});return V.createElement(ut.ol,{...i,...u,ref:l},r.visibleToasts.map(f=>V.createElement("li",{key:f.key,style:{display:"contents"}},t.children({toast:f}))))}),YA=y.forwardRef(function(t,l){let r=y.useContext(Du),i=bn(l),{toastProps:s,contentProps:u,titleProps:f,descriptionProps:d,closeButtonProps:h}=OA(t,r,i),{focusProps:p,isFocused:b,isFocusVisible:v}=Dl(),w=At({...t,defaultClassName:"react-aria-Toast",values:{toast:t.toast,isFocused:b,isFocusVisible:v}}),x=mt(t,{global:!0});return V.createElement(ut.div,{...Ce(x,w,s,p),ref:i,"data-focused":b||void 0,"data-focus-visible":v||void 0},V.createElement(sr,{values:[[yx,u],[ku,{slots:{[fi]:{},title:f,description:d}}],[e2,{slots:{[fi]:{},close:h}}]]},w.children))}),yx=y.createContext({}),XA=y.forwardRef(function(t,l){return[t,l]=yn(t,l,yx),V.createElement(ut.div,{render:t.render,className:"react-aria-ToastContent",...t,ref:l},t.children)});class Xo{constructor(t){this.maxVisibleToasts=t==null?void 0:t.maxVisibleToasts;let l=Promise.resolve();const r=i=>{if(typeof document>"u"||!("startViewTransition"in document)){i();return}const s=()=>{const u=document.startViewTransition(()=>{al.flushSync(i)});return u.ready.catch(()=>{}),u.finished.catch(()=>{})};l=l.then(s,s)};this.queue=new VA({maxVisibleToasts:P5,wrapUpdate:(t==null?void 0:t.wrapUpdate)??r})}add(t,l){const r=(l==null?void 0:l.timeout)!==void 0?l.timeout:j5;return this.queue.add(t,{...l,timeout:r})}close(t){this.queue.close(t)}pauseAll(){this.queue.pauseAll()}resumeAll(){this.queue.resumeAll()}clear(){this.queue.clear()}subscribe(t){return this.queue.subscribe(t)}get visibleToasts(){return this.queue.visibleToasts}getQueue(){return this.queue}}function WA(e){const t=(l,r)=>{const i=(r==null?void 0:r.timeout)!==void 0?r.timeout:j5;return e.add({title:l,description:r==null?void 0:r.description,indicator:r==null?void 0:r.indicator,variant:(r==null?void 0:r.variant)||"default",actionProps:r==null?void 0:r.actionProps,isLoading:r==null?void 0:r.isLoading},{timeout:i,onClose:()=>{requestAnimationFrame(()=>{var s;(s=r==null?void 0:r.onClose)==null||s.call(r)})}})};return t.success=(l,r)=>t(l,{...r,variant:"success"}),t.danger=(l,r)=>t(l,{...r,variant:"danger"}),t.info=(l,r)=>t(l,{...r,variant:"accent"}),t.warning=(l,r)=>t(l,{...r,variant:"warning"}),t.promise=(l,r)=>{const i=typeof l=="function"?l():l,s=e.add({title:r.loading,variant:"default",isLoading:!0},{timeout:0});return i.then(u=>{const f=typeof r.success=="function"?r.success(u):r.success;return e.close(s),t.success(f)}).catch(u=>{const f=typeof r.error=="function"?r.error(u):r.error;return e.close(s),t.danger(f)}),s},t.getQueue=()=>e.getQueue(),t.close=l=>e.close(l),t.pauseAll=()=>e.pauseAll(),t.resumeAll=()=>e.resumeAll(),t.clear=()=>e.clear(),t}const ZA=new Xo({maxVisibleToasts:P5}),xx=WA(ZA),QA=e=>{const[t,l]=y.useState(void 0),r=y.useCallback(()=>{if(e.current){const i=e.current.scrollHeight;l(s=>s!==i?i:s)}},[e]);return y.useEffect(()=>{const i=e.current;if(!i)return;const s=new ResizeObserver(r),u=new MutationObserver(f=>{f.some(h=>h.type==="attributes"&&h.attributeName==="aria-hidden")&&r()});return s.observe(i),u.observe(i,{attributeFilter:["aria-hidden"],attributes:!0}),()=>{s.disconnect(),u.disconnect()}},[e,r]),{height:t}},Sx=typeof window<"u"?y.useLayoutEffect:y.useEffect,JA=typeof window>"u";function eL(e,{defaultValue:t=!1,initializeWithValue:l=!0}={}){const r=f=>JA?t:window.matchMedia(f).matches,[i,s]=y.useState(()=>l?r(e):t);function u(){s(r(e))}return Sx(()=>{const f=window.matchMedia(e);return u(),f.addListener?f.addListener(u):f.addEventListener("change",u),()=>{f.removeListener?f.removeListener(u):f.removeEventListener("change",u)}},[e]),i}const wa=y.createContext({}),d2=({children:e,className:t,placement:l,scaleFactor:r=O5,toast:i,variant:s,...u})=>{const{gap:f=$5,heightsByKey:d,maxVisibleToasts:h=z5,onToastHeightChange:p,onToastHeightRemove:b,placement:v,scaleFactor:w,slots:x}=y.use(wa),T=l??v,C=r??w,M=y.use(Du).visibleToasts,L=M.indexOf(i),k=L<=0,B=T==null?void 0:T.startsWith("bottom"),G=L>=h,$=i==null?void 0:i.key,A=y.useRef(null),{height:U}=QA(A);y.useEffect(()=>{$&&typeof U=="number"&&(p==null||p($,U))},[$,U,p]),y.useEffect(()=>{if($)return()=>{b==null||b($)}},[$,b]),y.useLayoutEffect(()=>{const q=A.current;q&&(q.tabIndex=k?0:-1)},[k]);const K=y.useMemo(()=>{var z;const q=(z=M[0])==null?void 0:z.key,te=(q?d==null?void 0:d[q]:void 0)??U??0,ne=L*f,j=(B?-1:1)*ne;return{scale:`${1-L*C}`,translate:`0 ${j}px 0`,viewTransitionName:`toast-${String(i.key).replace(/[^a-zA-Z0-9]/g,"-")}`,zIndex:M.length-L,...te?{"--front-height":`${te}px`}:null,opacity:G?0:1,pointerEvents:G?"none":"auto",...u.style}},[C,f,d,L,B,k,G,u.style,i==null?void 0:i.key,U,M]);return E.jsx(YA,{ref:A,"aria-hidden":G,className:Mt(t,x==null?void 0:x.toast({variant:s})),"data-frontmost":ch(k),"data-hidden":ch(G),"data-index":L,"data-slot":"toast",style:K,toast:i,...u,children:e})};d2.displayName="HeroUI.Toast";const wx=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return E.jsx(XA,{className:Je(r==null?void 0:r.content,t),"data-slot":"toast-content",...l,children:e})},cu=({children:e,className:t,variant:l,...r})=>{const{slots:i}=y.use(wa),s=y.useCallback(()=>{switch(l){case"accent":return E.jsx(au,{"data-slot":"toast-default-icon"});case"success":return E.jsx(J3,{"data-slot":"toast-default-icon"});case"warning":return E.jsx(Z3,{"data-slot":"toast-default-icon"});case"danger":return E.jsx(Q3,{"data-slot":"toast-default-icon"});default:return E.jsx(au,{"data-slot":"toast-default-icon"})}},[l]);return E.jsx(Ct.div,{className:Je(i==null?void 0:i.indicator,t),"data-slot":"toast-indicator",...r,children:e??s()})};cu.displayName="HeroUI.ToastIndicator";const h2=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return E.jsx(o5,{className:Je(r==null?void 0:r.title,t),"data-slot":"toast-title",slot:"title",...l,children:e})};h2.displayName="HeroUI.ToastTitle";const m2=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return E.jsx(o5,{className:Je(r==null?void 0:r.description,t),"data-slot":"toast-description",slot:"description",...l,children:e})};m2.displayName="HeroUI.ToastDescription";const p2=({className:e,...t})=>{const{slots:l}=y.use(wa);return E.jsx(f5,{className:Mt(e,l==null?void 0:l.close()),"data-slot":"toast-close",slot:"close",...t})};p2.displayName="HeroUI.ToastCloseButton";const uu=({children:e,className:t,...l})=>{var i;const{slots:r}=y.use(wa);return E.jsx(mn,{className:Mt(t,(i=r==null?void 0:r.action)==null?void 0:i.call(r)),"data-slot":"toast-action-button",...l,children:e})};uu.displayName="HeroUI.ToastActionButton";const Ex=({children:e,className:t,gap:l=$5,maxVisibleToasts:r,placement:i="bottom",queue:s,scaleFactor:u=O5,width:f=zA,...d})=>{const h=y.useMemo(()=>tT({placement:i}),[i]),p=eL("(max-width: 768px)"),[b,v]=V.useState({}),w=y.useMemo(()=>s?s.getQueue():xx.getQueue(),[s]),x=y.useMemo(()=>{const M=s&&"maxVisibleToasts"in s?s.maxVisibleToasts:void 0;return r??M??z5},[r,s]),T=y.useCallback((M,L)=>{v(k=>k[M]===L?k:{...k,[M]:L})},[]),C=y.useCallback(M=>{v(L=>{if(!(M in L))return L;const k={...L};return delete k[M],k})},[]),N=y.useCallback(M=>{const{actionProps:L,description:k,indicator:B,isLoading:G,title:$,variant:A}=M.toast.content??{};return E.jsxs(d2,{placement:i,scaleFactor:u,toast:M.toast,variant:A,children:[B===null?null:G?E.jsx(cu,{variant:A,children:E.jsx($A,{color:"current",size:"sm"})}):E.jsx(cu,{variant:A,children:B}),E.jsxs(wx,{children:[!!$&&E.jsx(h2,{children:$}),!!k&&E.jsx(m2,{children:k}),p&&(L!=null&&L.children)?E.jsx(uu,{...L,children:L.children}):null]}),!p&&(L!=null&&L.children)?E.jsx(uu,{...L,children:L.children}):null,E.jsx(p2,{})]})},[p,i,u]);return E.jsx(GA,{className:Mt(t,h==null?void 0:h.region()),"data-slot":"toast-region",queue:w,style:{"--gap":`${l}px`,"--placement":i,"--scale-factor":u,"--toast-width":typeof f=="number"?`${f}px`:f},...d,children:M=>{const L=M.toast.content,k={...M,isLoading:(L==null?void 0:L.isLoading)??!1};return E.jsx(wa,{value:{gap:l,heightsByKey:b,maxVisibleToasts:x,onToastHeightChange:T,onToastHeightRemove:C,placement:i,scaleFactor:u,slots:h,width:f},children:typeof e>"u"?N(M):typeof e=="function"?e(k):e})}})};Ex.displayName="HeroUI.ToastProvider";const g2=Object.assign(d2,{Provider:Ex,Content:wx,Indicator:cu,Title:h2,Description:m2,ActionButton:uu,CloseButton:p2,Queue:Xo,toast:xx}),Cx=new WeakMap;function fu(e,t,l){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${Cx.get(e)}-${l}-${t}`):""}function tL(e,t,l){let{key:r,isDisabled:i,shouldSelectOnPressUp:s}=e,{selectionManager:u,selectedKey:f}=t,d=r===f,h=i||t.isDisabled||t.selectionManager.isDisabled(r),p=t.collection.getItem(r),{itemProps:b,isPressed:v}=uM({selectionManager:u,key:r,ref:l,isDisabled:h,shouldSelectOnPressUp:s??(p==null?void 0:p.props.href)!=null,linkBehavior:"selection"}),w=fu(t,r,"tab"),x=fu(t,r,"tabpanel"),{tabIndex:T}=b,C=mt(p==null?void 0:p.props,{labelable:!0});delete C.id;let N=Zy(p==null?void 0:p.props),{focusableProps:M}=qo({...p==null?void 0:p.props,isDisabled:h},l);return{tabProps:Ce(C,M,N,b,{id:w,"aria-selected":d,"aria-disabled":h||void 0,"aria-controls":d?x:void 0,tabIndex:h?void 0:T,role:"tab"}),isSelected:d,isDisabled:h,isPressed:v}}function nL(e,t){let l=t==null?void 0:t.isDisabled,[r,i]=y.useState(!1);return Ne(()=>{if(e!=null&&e.current&&!l){let s=()=>{if(e.current){let f=ll(e.current,{tabbable:!0});i(!!f.nextNode())}};s();let u=new MutationObserver(s);return u.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{u.disconnect()}}}),l?!1:r}function lL(e,t,l){let r=nL(l)?void 0:0;const i=fu(t,e.id??(t==null?void 0:t.selectedKey),"tabpanel"),s=Kh({...e,id:i,"aria-labelledby":fu(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:Ce(s,{tabIndex:r,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class aL{constructor(t,l,r,i=new Set){this.collection=t,this.flipDirection=l==="rtl"&&r==="horizontal",this.disabledKeys=i,this.tabDirection=r==="horizontal"}getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var l,r;return this.disabledKeys.has(t)||!!((r=(l=this.collection.getItem(t))==null?void 0:l.props)!=null&&r.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){let l=t;do l=this.collection.getKeyAfter(l),l==null&&(l=this.collection.getFirstKey());while(l!=null&&this.isDisabled(l)&&l!==t);return l}getPreviousKey(t){let l=t;do l=this.collection.getKeyBefore(l),l==null&&(l=this.collection.getLastKey());while(l!=null&&this.isDisabled(l)&&l!==t);return l}}function rL(e,t,l){let{orientation:r="horizontal",keyboardActivation:i="automatic"}=e,{collection:s,selectionManager:u,disabledKeys:f}=t,{direction:d}=bi(),h=y.useMemo(()=>new aL(s,d,r,f),[s,f,r,d]),{collectionProps:p}=cM({ref:l,selectionManager:u,keyboardDelegate:h,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:l,linkBehavior:"selection"}),b=_n();Cx.set(t,b);let v=Kh({...e,id:b});return{tabListProps:{...Ce(p,v),role:"tablist","aria-orientation":r,tabIndex:void 0}}}function iL(e){let[t,l]=Ru(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=y.useMemo(()=>t!=null?[t]:[],[t]),{collection:i,disabledKeys:s,selectionManager:u}=jM({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:d=>{if(d==="all")return;let h=d.values().next().value??null;h===t&&e.onSelectionChange&&e.onSelectionChange(h),l(h)}}),f=t!=null?i.getItem(t):null;return{collection:i,disabledKeys:s,selectionManager:u,selectedKey:t,setSelectedKey:l,selectedItem:f}}function oL(e){let t=iL({...e,onSelectionChange:e.onSelectionChange?u=>{var f;u!=null&&((f=e.onSelectionChange)==null||f.call(e,u))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??Dv(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:l,collection:r,selectedKey:i}=t,s=y.useRef(i);return y.useEffect(()=>{let u=i;e.selectedKey==null&&(l.isEmpty||u==null||!r.getItem(u))&&(u=Dv(r,t.disabledKeys),u!=null&&l.setSelectedKeys([u])),(u!=null&&l.focusedKey==null||!l.isFocused&&u!==s.current)&&l.setFocusedKey(u),s.current=u}),{...t,isDisabled:e.isDisabled||!1}}function Dv(e,t){var r,i,s,u;let l=null;if(e){for(l=e.getFirstKey();l!=null&&(t.has(l)||(i=(r=e.getItem(l))==null?void 0:r.props)!=null&&i.isDisabled)&&l!==e.getLastKey();)l=e.getKeyAfter(l);l!=null&&(t.has(l)||(u=(s=e.getItem(l))==null?void 0:s.props)!=null&&u.isDisabled)&&l===e.getLastKey()&&(l=e.getFirstKey())}return l}const $u=y.createContext(null),ar=y.createContext(null),sL=y.forwardRef(function(t,l){[t,l]=yn(t,l,$u);let{children:r,orientation:i="horizontal"}=t;return r=y.useMemo(()=>typeof r=="function"?r({orientation:i,defaultChildren:null}):r,[r,i]),V.createElement(HR,{content:r},s=>V.createElement(cL,{props:t,collection:s,tabsRef:l}))});function cL({props:e,tabsRef:t,collection:l}){let{orientation:r="horizontal"}=e,i=oL({...e,collection:l,children:void 0}),{focusProps:s,isFocused:u,isFocusVisible:f}=Dl({within:!0}),d=y.useMemo(()=>({orientation:r,isFocusWithin:u,isFocusVisible:f}),[r,u,f]),h=At({...e,defaultClassName:"react-aria-Tabs",values:d}),p=mt(e,{global:!0});return V.createElement(ut.div,{...Ce(p,h,s),ref:t,slot:e.slot||void 0,"data-focused":u||void 0,"data-orientation":r,"data-focus-visible":f||void 0,"data-disabled":i.isDisabled||void 0},V.createElement(sr,{values:[[$u,e],[ar,i]]},h.children))}const $v=y.forwardRef(function(t,l){return y.useContext(ar)?V.createElement(uL,{props:t,forwardedRef:l}):V.createElement(qR,t)});function uL({props:e,forwardedRef:t}){let l=y.useContext(ar),{CollectionRoot:r}=y.useContext(n5),{orientation:i="horizontal",keyboardActivation:s="automatic"}=Cu($u),u=bn(t),{tabListProps:f}=rL({...e,orientation:i,keyboardActivation:s},l,u),d=At({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:i,state:l}}),h=mt(e,{global:!0});return delete h.id,V.createElement(ut.div,{...Ce(h,d,f),ref:u,"data-orientation":i||void 0},V.createElement(JR,null,V.createElement(r,{collection:l.collection,persistedKeys:WR(l.selectionManager.focusedKey)})))}const k2=class k2 extends vi{};k2.type="item";let wh=k2;const fL=GR(wh,(e,t,l)=>{let r=y.useContext(ar),i=bn(t),{tabProps:s,isSelected:u,isDisabled:f,isPressed:d}=tL({key:l.key,...e},r,i),{focusProps:h,isFocused:p,isFocusVisible:b}=Dl(),{hoverProps:v,isHovered:w}=Sa({isDisabled:f,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),x=At({...e,id:void 0,children:l.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:u,isDisabled:f,isFocused:p,isFocusVisible:b,isPressed:d,isHovered:w}}),T=l.props.href?ut.a:ut.div,C=mt(e,{global:!0});return delete C.id,delete C.onClick,V.createElement(T,{...Ce(C,x,s,h,v),ref:i,"data-selected":u||void 0,"data-disabled":f||void 0,"data-focused":p||void 0,"data-focus-visible":b||void 0,"data-pressed":d||void 0,"data-hovered":w||void 0},V.createElement(i5.Provider,{value:{isSelected:u}},x.children))}),dL=P3(function(t,l){const r=y.useContext(ar);let i=bn(l),s=r.selectedKey===t.id,[u,f]=y.useState(r.selectedKey!=null?s:null);u==null&&r.selectedKey!=null?f(s):!s&&u&&f(!1);let d=Zc(i,s);return!s&&!t.shouldForceMount&&!d?null:V.createElement(hL,{...t,tabPanelRef:i,isInitiallySelected:u||!1,isExiting:d})});function hL(e){let t=y.useContext(ar),{id:l,tabPanelRef:r,isInitiallySelected:i,isExiting:s,...u}=e,{tabPanelProps:f}=lL(e,t,r),{focusProps:d,isFocused:h,isFocusVisible:p}=Dl(),b=t.selectedKey===e.id,v=wu(r)&&!i,w=At({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:h,isFocusVisible:p,isInert:Sb(!b),isEntering:v,isExiting:s,state:t}}),x=mt(u,{global:!0});delete x.id;let T=b?Ce(x,f,d,w):Ce(x,w);return V.createElement(ut.div,{...T,ref:r,"data-focused":h||void 0,"data-focus-visible":p||void 0,inert:Sb(!b||e.inert),"data-inert":b?void 0:"true","data-entering":v||void 0,"data-exiting":s||void 0},V.createElement(sr,{values:[[$u,null],[ar,null]]},V.createElement(n5.Provider,{value:t5},w.children)))}const xi=y.createContext({}),Tx=AA("tabs.listContainer"),zv=({children:e,className:t,orientation:l="horizontal",variant:r,...i})=>{const s=V.useMemo(()=>eT({variant:r}),[r]);return E.jsx(xi,{value:{orientation:l,slots:s},children:E.jsx(sL,{...i,className:Mt(t,s.base()),"data-slot":"tabs",orientation:l,children:e})})},mL=({children:e,className:t,render:l,...r})=>E.jsx(Tx.Injector,{...r,className:t,render:l,children:e}),pL=({children:e,className:t,...l})=>{const{orientation:r="horizontal",slots:i}=y.use(xi),s=y.useRef(null),u=r==="vertical",[f,d]=Tx.useSlot(l),h=y.useCallback(w=>{const x=s.current;if(!x)return;const T=u?x.clientHeight:x.clientWidth,C=u?x.scrollHeight:x.scrollWidth,N=Math.max(0,C-T),M=!u&&getComputedStyle(x).direction==="rtl",L=w*T*.8*(M?-1:1),k=u?x.scrollTop:x.scrollLeft,B=Math.min(M?0:N,Math.max(M?-N:0,k+L));B!==k&&x.scrollTo({behavior:"smooth",[u?"top":"left"]:B})},[u]);if(!f)return E.jsx($v,{...d,className:Mt(t,i==null?void 0:i.tabList()),"data-slot":"tabs-list",children:e});const{className:p,render:b,...v}=f;return E.jsx($v,{...d,className:Mt(t,i==null?void 0:i.tabList()),"data-slot":"tabs-list",render:w=>{const{children:x,className:T,ref:C,...N}=w;return E.jsxs(Ct.div,{className:Je(i==null?void 0:i.tabListContainer,p),"data-slot":"tabs-list-container",render:b,...v,children:[E.jsx(NA,{ref:s,hideScrollBar:!0,className:Je(i==null?void 0:i.scroller),orientation:r,size:64,children:E.jsx("div",{...N,ref:C,className:T,children:x})}),E.jsx("button",{"aria-label":u?"Scroll tabs up":"Scroll tabs left",className:Je(i==null?void 0:i.scrollPrev),tabIndex:-1,type:"button",onClick:()=>h(-1),children:u?E.jsx(_T,{}):E.jsx(GT,{})}),E.jsx("button",{"aria-label":u?"Scroll tabs down":"Scroll tabs right",className:Je(i==null?void 0:i.scrollNext),tabIndex:-1,type:"button",onClick:()=>h(1),children:u?E.jsx(VT,{}):E.jsx(qT,{})})]})},children:e})},gL=({children:e,className:t,...l})=>{const{slots:r}=y.use(xi);return E.jsx(fL,{...l,className:Mt(t,r==null?void 0:r.tab()),"data-slot":"tabs-tab",children:e})},bL=({className:e,...t})=>{const{slots:l}=y.use(xi);return E.jsx(tM,{className:Je(l==null?void 0:l.tabIndicator,e),"data-slot":"tabs-indicator",...t})},vL=({children:e,className:t,...l})=>{const{slots:r}=y.use(xi);return E.jsx(dL,{...l,className:Mt(t,r==null?void 0:r.tabPanel()),"data-slot":"tabs-panel",children:e})},yL=({className:e,...t})=>{const{slots:l}=y.use(xi);return E.jsx(Ct.span,{"aria-hidden":"true",className:Je(l==null?void 0:l.separator,e),"data-slot":"tabs-separator",...t})},ra=Object.assign(zv,{Root:zv,ListContainer:mL,List:pL,Tab:gL,Indicator:bL,Separator:yL,Panel:vL}),Wo=y.createContext({}),Pv=({children:e,className:t,status:l,...r})=>{const i=V.useMemo(()=>VC({status:l}),[l]);return E.jsx(Wo,{value:{slots:i,status:l},children:E.jsx(t2,{value:{variant:"default"},children:E.jsx(Ct.div,{className:i==null?void 0:i.base({className:t}),"data-slot":"alert-root",...r,children:e})})})},xL=({children:e,className:t,...l})=>{const{slots:r,status:i}=y.use(Wo),s=()=>{switch(i){case"accent":return E.jsx(au,{"data-slot":"alert-default-icon"});case"success":return E.jsx(J3,{"data-slot":"alert-default-icon"});case"warning":return E.jsx(Z3,{"data-slot":"alert-default-icon"});case"danger":return E.jsx(Q3,{"data-slot":"alert-default-icon"});default:return E.jsx(au,{"data-slot":"alert-default-icon"})}};return E.jsx(Ct.div,{className:Je(r==null?void 0:r.indicator,t),"data-slot":"alert-indicator",...l,children:e??s()})},SL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Wo);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.content,t),"data-slot":"alert-content",...l,children:e})},wL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Wo);return E.jsx(Ct.p,{className:Je(r==null?void 0:r.title,t),"data-slot":"alert-title",...l,children:e})},EL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Wo);return E.jsx(Ct.span,{className:Je(r==null?void 0:r.description,t),"data-slot":"alert-description",...l,children:e})},wo=Object.assign(Pv,{Root:Pv,Indicator:xL,Content:SL,Title:wL,Description:EL}),pn=y.createContext({}),Ov=({children:e,state:t,...l})=>{const r=y.useMemo(()=>({slots:Zh(),placement:void 0}),[]),i=y.useMemo(()=>t?{isOpen:t.isOpen,onOpenChange:t.setOpen}:{},[t]);return E.jsx(pn,{value:r,children:E.jsx(wM,{"data-slot":"modal-root",...Ce(l,i),children:e})})},CL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(LM,{children:E.jsx(Ct.div,{className:Je(r==null?void 0:r.trigger,t),"data-slot":"modal-trigger",role:"button",...l,children:e})})},TL=({children:e,className:t,isDismissable:l=!0,onClick:r,variant:i,...s})=>{const{slots:u}=y.use(pn),f=y.useMemo(()=>Zh({variant:i}),[i]),d=y.useMemo(()=>({slots:{...u,...f}}),[u,f]);return E.jsx(u5,{className:Mt(t,f==null?void 0:f.backdrop()),"data-slot":"modal-backdrop",isDismissable:l,onClick:h=>{h.stopPropagation(),r==null||r(h)},...s,children:h=>E.jsxs(pn,{value:d,children:[typeof e=="function"?e(h):e," "]})})},RL=({children:e,className:t,placement:l="auto",scroll:r,size:i,...s})=>{const{slots:u}=y.use(pn),f=y.useMemo(()=>Zh({scroll:r,size:i}),[r,i]),d=y.useMemo(()=>({placement:l,slots:{...u,...f}}),[u,l,f]);return E.jsx(RM,{className:Mt(t,f==null?void 0:f.container()),"data-placement":l,"data-slot":"modal-container",...s,children:h=>E.jsx(pn,{value:d,children:typeof e=="function"?e(h):e})})},ML=({children:e,className:t,...l})=>{const{placement:r,slots:i}=y.use(pn);return E.jsx(t2,{value:{variant:"default"},children:E.jsx(EM,{className:Je(i==null?void 0:i.dialog,t),"data-placement":r,"data-slot":"modal-dialog",...l,children:e})})},AL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.header,t),"data-slot":"modal-header",...l,children:e})},LL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.body,t),"data-slot":"modal-body",...l,children:e})},kL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.footer,t),"data-slot":"modal-footer",...l,children:e})},NL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(FT,{className:Je(r==null?void 0:r.heading,t),"data-slot":"modal-heading",slot:"title",...l,children:e})},DL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.icon,t),"data-slot":"modal-icon",...l,children:e})},$L=({className:e,...t})=>{const{slots:l}=y.use(pn);return E.jsx(f5,{className:Mt(e,l==null?void 0:l.closeTrigger()),"data-slot":"modal-close-trigger",slot:"close",...t})},Be=Object.assign(Ov,{Root:Ov,Trigger:CL,Backdrop:TL,Container:RL,Dialog:ML,Header:AL,Icon:DL,Heading:NL,Body:LL,Footer:kL,CloseTrigger:$L}),jv="heroui-theme",Rx="(prefers-color-scheme: dark)";function zL(e){if(typeof window>"u")return()=>{};const t=window.matchMedia(Rx);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function PL(){var e;return(e=window.matchMedia)!=null&&e.call(window,Rx).matches?"dark":"light"}function OL(){}function jL(e,t){t!==e&&(t&&document.documentElement.classList.remove(t),document.documentElement.classList.add(e),document.documentElement.setAttribute("data-theme",e))}function IL(e="system"){const[t,l]=y.useState(()=>typeof window>"u"?e:localStorage.getItem(jv)??e),r=y.useSyncExternalStore(zL,PL,OL),i=t==="system"?r:t,s=y.useRef(void 0);Sx(()=>{i&&(jL(i,s.current),s.current=i)},[i]);const u=y.useCallback(f=>{typeof window>"u"||(localStorage.setItem(jv,f),l(f))},[]);return{resolvedTheme:i,setTheme:u,theme:t}}const Mx=y.createContext(null);function BL({children:e}){const{theme:t,setTheme:l}=IL("light"),r=t==="dark"?"dark":"light",i=y.useCallback(f=>{l(f)},[l]),s=y.useCallback(()=>{l(r==="light"?"dark":"light")},[l,r]),u=y.useMemo(()=>({theme:r,setTheme:i,toggleTheme:s}),[r,i,s]);return E.jsx(Mx.Provider,{value:u,children:e})}function Az(){const e=y.useContext(Mx);if(!e)throw new Error("useTheme must be used within ThemeProvider");return e}const HL=e=>y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),y.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.53 11.78a.75.75 0 0 1-1.06 0l-2.5-2.5a.75.75 0 0 1 1.06-1.06l1.22 1.22V1.75a.75.75 0 0 1 1.5 0v7.69l1.22-1.22a.75.75 0 1 1 1.06 1.06zM1.75 13.5a.75.75 0 0 0 0 1.5h12.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),KL=e=>y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),y.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"})),UL=e=>y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),y.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0",clipRule:"evenodd"})),FL="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenAI%3c/title%3e%3cpath%20d='M9.205%208.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357%201.356-.523%202.117-.523%202.854%200%204.662%202.212%204.662%204.566%200%20.167%200%20.357-.024.547l-4.71-2.759a.797.797%200%2000-.856%200l-5.97%203.473zm10.609%208.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473%201.95-1.118a.433.433%200%2001.476%200l4.543%202.617c1.309.76%202.189%202.378%202.189%203.948%200%201.808-1.07%203.473-2.76%204.163zM7.802%2012.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545%201.95-4.472%204.591-4.472%201%200%201.927.333%202.712.928L8.23%205.067c-.285.166-.428.404-.428.737v6.898zM12%2015.128l-2.795-1.57v-3.33L12%208.658l2.795%201.57v3.33L12%2015.128zm1.796%207.23c-1%200-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974%201.142c.167.095.238.238.238.428v5.233c0%202.545-1.974%204.472-4.614%204.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482%204.482%200%20014.21%206.327v5.423c0%20.333.143.571.428.738l5.947%203.449-1.95%201.118a.432.432%200%2001-.476%200zm-.262%203.9c-2.688%200-4.662-2.021-4.662-4.519%200-.19.024-.38.047-.57l4.686%202.71c.286.167.571.167.856%200l5.97-3.448v2.26c0%20.19-.07.333-.237.428l-4.543%202.616c-.619.357-1.356.523-2.117.523zm5.899%202.83a5.947%205.947%200%20005.827-4.756C22.287%2018.339%2024%2015.84%2024%2013.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498%200-3.401-2.759-5.947-5.946-5.947-.642%200-1.26.095-1.88.31A5.962%205.962%200%200010.205%200a5.947%205.947%200%2000-5.827%204.757C1.713%205.447%200%207.945%200%2010.49c0%201.666.713%203.283%201.998%204.448-.119.5-.19%201-.19%201.499%200%203.401%202.759%205.946%205.946%205.946.642%200%201.26-.095%201.88-.309a5.96%205.96%200%20004.162%201.713z'%3e%3c/path%3e%3c/svg%3e",Eh="https://lf3-cdn-tos.draftstatic.com/obj/ies-hotsoon-draft/juejin/7b28b328-1ae4-4781-8d46-430fef1b872e.html";async function VL(){var t;const e=(t=window.tud)==null?void 0:t.openExternal;if(typeof e=="function"){await e(Eh);return}window.open(Eh,"_blank","noopener,noreferrer")}function _L({isOpen:e,onOpenChange:t,onConfirm:l}){const[r,i]=y.useState(!1);return y.useEffect(()=>{e&&i(!1)},[e]),E.jsx(Be.Backdrop,{isOpen:e,onOpenChange:t,variant:"blur",children:E.jsx(Be.Container,{size:"sm",children:E.jsxs(Be.Dialog,{children:[E.jsx(Be.CloseTrigger,{"aria-label":"关闭"}),E.jsx(Be.Header,{children:E.jsx(Be.Heading,{children:"用户协议"})}),E.jsxs(Be.Body,{className:"space-y-4 text-sm leading-6 text-muted",children:[E.jsx("p",{children:"关联掘金账号后,本机用量数据将在您开启云端同步时上传至掘金服务。请先阅读并同意相关协议。"}),E.jsx(ha,{id:"juejin-login-consent",isSelected:r,onChange:i,children:E.jsxs(ha.Content,{children:[E.jsx(ha.Control,{children:E.jsx(ha.Indicator,{})}),E.jsxs("span",{children:["我已阅读并同意",E.jsx("button",{className:"mx-0.5 text-accent underline underline-offset-2 hover:opacity-80",onClick:s=>{s.preventDefault(),s.stopPropagation(),VL()},type:"button",children:"《稀土掘金隐私政策》"}),",并同意上传数据"]})]})})]}),E.jsxs(Be.Footer,{className:"gap-2",children:[E.jsx(mn,{slot:"close",variant:"tertiary",children:"取消"}),E.jsx(mn,{isDisabled:!r,onPress:()=>{t(!1),l()},variant:"primary",children:"同意并登录"})]})]})})})}const GL="/assets/antigravity-color-DgAQAdn3.svg",qL="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eAmp%3c/title%3e%3cpath%20d='M15.087%2023.18L12.03%2024l-2.097-7.823-5.738%205.738-2.251-2.251%205.718-5.719-7.769-2.082.82-3.057%2011.294%203.08%203.08%2011.295z'%20fill='%23F34E3F'%3e%3c/path%3e%3cpath%20d='M19.505%2018.762l-3.057.82-2.564-9.573-9.572-2.564.819-3.057%2011.295%203.079%203.08%2011.295z'%20fill='%23F34E3F'%3e%3c/path%3e%3cpath%20d='M23.893%2014.374l-3.057.82-2.565-9.572L8.7%203.057%209.52%200l11.295%203.08%203.079%2011.294z'%20fill='%23F34E3F'%3e%3c/path%3e%3c/svg%3e",YL="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eClaude%20Code%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M20.998%2010.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0V10.95h3V5h17.998v5.949zM6%2010.949h1.488V8.102H6v2.847zm10.51%200H18V8.102h-1.49v2.847z'%20fill='%23D97757'%20fill-rule='evenodd'%3e%3c/path%3e%3c/svg%3e",XL="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCline%3c/title%3e%3cpath%20d='M17.035%203.991c2.75%200%204.98%202.24%204.98%205.003v1.667l1.45%202.896a1.01%201.01%200%2001-.002.909l-1.448%202.864v1.668c0%202.762-2.23%205.002-4.98%205.002H7.074c-2.751%200-4.98-2.24-4.98-5.002V17.33l-1.48-2.855a1.01%201.01%200%2001-.003-.927l1.482-2.887V8.994c0-2.763%202.23-5.003%204.98-5.003h9.962zM8.265%209.6a2.274%202.274%200%2000-2.274%202.274v4.042a2.274%202.274%200%20004.547%200v-4.042A2.274%202.274%200%20008.265%209.6zm7.326%200a2.274%202.274%200%2000-2.274%202.274v4.042a2.274%202.274%200%20104.548%200v-4.042A2.274%202.274%200%200015.59%209.6z'%3e%3c/path%3e%3cpath%20d='M12.054%205.558a2.779%202.779%200%20100-5.558%202.779%202.779%200%20000%205.558z'%3e%3c/path%3e%3c/svg%3e",Iv="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodeBuddy%3c/title%3e%3cpath%20d='M18.821%200H5.18A5.179%205.179%200%20000%205.179V18.82A5.179%205.179%200%20005.179%2024H18.82A5.179%205.179%200%200024%2018.821V5.18A5.179%205.179%200%200018.821%200z'%20fill='url(%23lobe-icons-code-buddy-_R_0_)'%3e%3c/path%3e%3cpath%20d='M18.777%201.647c.28-.02.536.114.972.51%201.018.926%202.437%202.828%203.318%204.452l.34.631.482.24.11.06v3.638a5.206%205.206%200%2000-5.32-1.23c-.491.166-1.021.471-2.08%201.082l-6.09%203.516c-1.057.61-1.586.916-1.975%201.259a5.208%205.208%200%2000-1.493%205.572c.165.49.471%201.02%201.082%202.08l.315.543h-3.26c-.685%200-1.34-.135-1.939-.377-.169-.956-.009-1.789.469-2.335.158-.18.164-.189.13-.493a11.846%2011.846%200%2001-.057-1.711l.02-.444-.667-1.18C2.1%2015.622%201.445%2014.078%201.192%2012.9c-.133-.647-.125-.934.04-1.146.1-.128.427-.261.822-.334.994-.175%203.162-.017%205.575.41l.25.043.551-.487c.915-.81%201.522-1.264%202.641-1.962%201.167-.73%202.484-1.331%203.967-1.807l.476-.152.261-.688c.937-2.471%201.896-4.293%202.58-4.9.235-.21.25-.22.422-.23z'%20fill='%23fff'%3e%3c/path%3e%3cpath%20d='M12.139%2018.2a1.203%201.203%200%20011.642.44l1.296%202.243a1.204%201.204%200%2001-2.083%201.203l-1.296-2.243a1.203%201.203%200%2001.44-1.644zM18.629%2014.452a1.203%201.203%200%20011.642.44l1.295%202.244a1.203%201.203%200%2011-2.083%201.203l-1.295-2.243a1.203%201.203%200%2001.44-1.644z'%20fill='%23fff'%3e%3c/path%3e%3cdefs%3e%3cradialGradient%20cx='0'%20cy='0'%20gradientTransform='matrix(-9.00009%20-16%2016%20-9.00009%2021%2024.5)'%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-code-buddy-_R_0_'%20r='1'%3e%3cstop%20stop-color='%232EA99D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%236C4DFF'%3e%3c/stop%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",Bv="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",WL="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCopilot%3c/title%3e%3cpath%20d='M17.533%201.829A2.528%202.528%200%200015.11%200h-.737a2.531%202.531%200%2000-2.484%202.087l-1.263%206.937.314-1.08a2.528%202.528%200%20012.424-1.833h4.284l1.797.706%201.731-.706h-.505a2.528%202.528%200%2001-2.423-1.829l-.715-2.453z'%20fill='url(%23lobe-icons-copilot-0-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M6.726%2020.16A2.528%202.528%200%20009.152%2022h1.566c1.37%200%202.49-1.1%202.525-2.48l.17-6.69-.357%201.228a2.528%202.528%200%2001-2.423%201.83h-4.32l-1.54-.842-1.667.843h.497c1.124%200%202.113.75%202.426%201.84l.697%202.432z'%20fill='url(%23lobe-icons-copilot-1-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M15%200H6.252c-2.5%200-4%203.331-5%206.662-1.184%203.947-2.734%209.225%201.75%209.225H6.78c1.13%200%202.12-.753%202.43-1.847.657-2.317%201.809-6.359%202.713-9.436.46-1.563.842-2.906%201.43-3.742A1.97%201.97%200%200115%200'%20fill='url(%23lobe-icons-copilot-2-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M15%200H6.252c-2.5%200-4%203.331-5%206.662-1.184%203.947-2.734%209.225%201.75%209.225H6.78c1.13%200%202.12-.753%202.43-1.847.657-2.317%201.809-6.359%202.713-9.436.46-1.563.842-2.906%201.43-3.742A1.97%201.97%200%200115%200'%20fill='url(%23lobe-icons-copilot-3-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M9%2022h8.749c2.5%200%204-3.332%205-6.663%201.184-3.948%202.734-9.227-1.75-9.227H17.22c-1.129%200-2.12.754-2.43%201.848a1149.2%201149.2%200%2001-2.713%209.437c-.46%201.564-.842%202.907-1.43%203.743A1.97%201.97%200%20019%2022'%20fill='url(%23lobe-icons-copilot-4-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M9%2022h8.749c2.5%200%204-3.332%205-6.663%201.184-3.948%202.734-9.227-1.75-9.227H17.22c-1.129%200-2.12.754-2.43%201.848a1149.2%201149.2%200%2001-2.713%209.437c-.46%201.564-.842%202.907-1.43%203.743A1.97%201.97%200%20019%2022'%20fill='url(%23lobe-icons-copilot-5-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cdefs%3e%3cradialGradient%20cx='85.44%25'%20cy='100.653%25'%20fx='85.44%25'%20fy='100.653%25'%20gradientTransform='scale(-.8553%20-1)%20rotate(50.927%202.041%20-1.946)'%20id='lobe-icons-copilot-0-_R_0_'%20r='105.116%25'%3e%3cstop%20offset='9.6%25'%20stop-color='%2300AEFF'%3e%3c/stop%3e%3cstop%20offset='77.3%25'%20stop-color='%232253CE'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%230736C4'%3e%3c/stop%3e%3c/radialGradient%3e%3cradialGradient%20cx='18.143%25'%20cy='32.928%25'%20fx='18.143%25'%20fy='32.928%25'%20gradientTransform='scale(.8897%201)%20rotate(52.069%20.193%20.352)'%20id='lobe-icons-copilot-1-_R_0_'%20r='95.612%25'%3e%3cstop%20offset='0%25'%20stop-color='%23FFB657'%3e%3c/stop%3e%3cstop%20offset='63.4%25'%20stop-color='%23FF5F3D'%3e%3c/stop%3e%3cstop%20offset='92.3%25'%20stop-color='%23C02B3C'%3e%3c/stop%3e%3c/radialGradient%3e%3cradialGradient%20cx='82.987%25'%20cy='-9.792%25'%20fx='82.987%25'%20fy='-9.792%25'%20gradientTransform='scale(-1%20-.9441)%20rotate(-70.872%20.142%201.17)'%20id='lobe-icons-copilot-4-_R_0_'%20r='140.622%25'%3e%3cstop%20offset='6.6%25'%20stop-color='%238C48FF'%3e%3c/stop%3e%3cstop%20offset='50%25'%20stop-color='%23F2598A'%3e%3c/stop%3e%3cstop%20offset='89.6%25'%20stop-color='%23FFB152'%3e%3c/stop%3e%3c/radialGradient%3e%3clinearGradient%20id='lobe-icons-copilot-2-_R_0_'%20x1='39.465%25'%20x2='46.884%25'%20y1='12.117%25'%20y2='103.774%25'%3e%3cstop%20offset='15.6%25'%20stop-color='%230D91E1'%3e%3c/stop%3e%3cstop%20offset='48.7%25'%20stop-color='%2352B471'%3e%3c/stop%3e%3cstop%20offset='65.2%25'%20stop-color='%2398BD42'%3e%3c/stop%3e%3cstop%20offset='93.7%25'%20stop-color='%23FFC800'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='lobe-icons-copilot-3-_R_0_'%20x1='45.949%25'%20x2='50%25'%20y1='0%25'%20y2='100%25'%3e%3cstop%20offset='0%25'%20stop-color='%233DCBFF'%3e%3c/stop%3e%3cstop%20offset='24.7%25'%20stop-color='%230588F7'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='lobe-icons-copilot-5-_R_0_'%20x1='83.507%25'%20x2='83.453%25'%20y1='-6.106%25'%20y2='21.131%25'%3e%3cstop%20offset='5.8%25'%20stop-color='%23F8ADFA'%3e%3c/stop%3e%3cstop%20offset='70.8%25'%20stop-color='%23A86EDD'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",ZL="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCursor%3c/title%3e%3cpath%20d='M22.106%205.68L12.5.135a.998.998%200%2000-.998%200L1.893%205.68a.84.84%200%2000-.419.726v11.186c0%20.3.16.577.42.727l9.607%205.547a.999.999%200%2000.998%200l9.608-5.547a.84.84%200%2000.42-.727V6.407a.84.84%200%2000-.42-.726zm-.603%201.176L12.228%2022.92c-.063.108-.228.064-.228-.061V12.34a.59.59%200%2000-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264%200%20.428.286.296.514z'%3e%3c/path%3e%3c/svg%3e",QL="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eDevin%3c/title%3e%3cpath%20d='M2.033%209.867l2.554%201.483a.589.589%200%2000.592%200l2.554-1.483.01-.008a.608.608%200%2000.11-.084l.013-.015a.631.631%200%2000.076-.1c.003-.005.008-.01.01-.016a.558.558%200%2000.052-.125l.007-.028a.611.611%200%2000.019-.14V7.868c0-.572.307-1.105.8-1.392a1.595%201.595%200%20011.598%200l1.277.742a.54.54%200%2000.129.053l.028.01c.044.01.088.015.133.016h.006l.013-.002a.587.587%200%2000.27-.074l.011-.004%202.554-1.483a.596.596%200%2000.297-.516V2.253a.595.595%200%2000-.297-.516L12.293.257a.587.587%200%2000-.591%200L9.148%201.737l-.01.01a.609.609%200%2000-.109.083l-.014.015a.632.632%200%2000-.076.1c-.003.005-.008.01-.01.016a.57.57%200%2000-.052.124l-.007.028a.612.612%200%2000-.018.14v1.483c0%20.572-.307%201.105-.8%201.393a1.597%201.597%200%2001-1.599%200l-1.276-.742a.603.603%200%2000-.13-.053l-.028-.008a.658.658%200%2000-.133-.018h-.02a.57.57%200%2000-.269.074c-.003.002-.008.002-.012.005L2.033%205.872a.596.596%200%2000-.297.515v2.966c0%20.213.113.41.297.515z'%20fill='%233969CA'%3e%3c/path%3e%3cpath%20d='M15.943%2010.607a1.596%201.596%200%20011.599%200l1.276.74c.041.025.085.04.13.055l.028.008c.043.01.088.016.133.018h.005c.005%200%20.01-.002.014-.003a.474.474%200%2000.122-.016l.021-.005a.616.616%200%2000.126-.052c.004-.002.009-.002.013-.005l2.554-1.482a.597.597%200%2000.297-.516V6.383a.596.596%200%2000-.297-.515l-2.552-1.483a.587.587%200%2000-.592%200l-2.553%201.482-.011.008a.61.61%200%2000-.108.084l-.014.016a.637.637%200%2000-.076.1c-.003.005-.008.01-.01.016a.57.57%200%2000-.052.124l-.007.029a.612.612%200%2000-.018.14v1.482c0%20.572-.307%201.105-.8%201.393a1.597%201.597%200%2001-1.599%200l-1.276-.742a.584.584%200%2000-.13-.053l-.028-.008a.62.62%200%2000-.133-.018h-.02a.587.587%200%2000-.269.074l-.012.004L9.15%2010a.596.596%200%2000-.296.516v2.966c0%20.212.112.409.296.515l2.554%201.483s.008.002.012.005c.04.022.082.04.126.052l.02.004a.57.57%200%2000.123.017l.014.002h.006c.054%200%20.108-.01.16-.025a.587.587%200%2000.13-.054l1.277-.741a1.597%201.597%200%20012.398%201.392v1.482c0%20.049.007.095.019.14l.007.028a.619.619%200%2000.051.125c.004.006.008.01.01.016a.6.6%200%2000.076.1l.014.015c.033.032.069.06.108.084.004.002.006.006.011.008l2.554%201.483a.59.59%200%2000.593%200l2.554-1.483a.597.597%200%2000.296-.516v-2.965a.595.595%200%2000-.296-.516l-2.554-1.483s-.008-.002-.012-.005a.54.54%200%2000-.126-.051c-.007-.003-.013-.003-.02-.005a.635.635%200%2000-.125-.017h-.018a.557.557%200%2000-.16.026.588.588%200%2000-.13.053l-1.276.742a1.595%201.595%200%2001-1.598%200%201.615%201.615%200%20010-2.785l-.005-.001z'%20fill='%2321C19A'%3e%3c/path%3e%3cpath%20d='M14.848%2018.265l-2.554-1.482-.012-.005a.526.526%200%2000-.126-.052c-.007-.002-.014-.002-.02-.005a.64.64%200%2000-.124-.017h-.02a.56.56%200%2000-.16.026.588.588%200%2000-.13.053l-1.276.742a1.594%201.594%200%2001-1.598%200c-.493-.286-.8-.82-.8-1.393V14.65a.563.563%200%2000-.018-.14l-.008-.028a.604.604%200%2000-.051-.124l-.01-.017a.603.603%200%2000-.076-.1l-.014-.015a.596.596%200%2000-.109-.084c-.003-.002-.005-.006-.01-.008L5.178%2012.65a.587.587%200%2000-.591%200l-2.554%201.483a.596.596%200%2000-.297.516v2.965c0%20.213.113.41.297.516l2.554%201.483.012.004a.618.618%200%2000.267.074l.016.002h.007a.55.55%200%2000.16-.026.584.584%200%2000.129-.053l1.277-.742a1.597%201.597%200%20012.398%201.393v1.482c0%20.05.007.095.019.14l.007.028c.013.044.03.085.051.125l.01.016c.022.036.047.07.076.1l.014.015c.032.032.069.06.109.084l.01.008%202.554%201.483a.587.587%200%2000.593%200l2.554-1.483a.596.596%200%2000.296-.515v-2.966a.596.596%200%2000-.296-.516h-.002z'%20fill='%230294DE'%3e%3c/path%3e%3c/svg%3e",JL="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGemini%3c/title%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='%233186FF'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-0-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-1-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-2-_R_0_)'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-0-_R_0_'%20x1='7'%20x2='11'%20y1='15.5'%20y2='12'%3e%3cstop%20stop-color='%2308B962'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2308B962'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-1-_R_0_'%20x1='8'%20x2='11.5'%20y1='5.5'%20y2='11'%3e%3cstop%20stop-color='%23F94543'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23F94543'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-2-_R_0_'%20x1='3.5'%20x2='17.5'%20y1='13.5'%20y2='12'%3e%3cstop%20stop-color='%23FABC12'%3e%3c/stop%3e%3cstop%20offset='.46'%20stop-color='%23FABC12'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",ek="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGemini%20CLI%3c/title%3e%3cpath%20d='M0%204.391A4.391%204.391%200%20014.391%200h15.217A4.391%204.391%200%200124%204.391v15.217A4.391%204.391%200%200119.608%2024H4.391A4.391%204.391%200%20010%2019.608V4.391z'%20fill='url(%23lobe-icons-gemini-cli-_R_0_)'%3e%3c/path%3e%3cpath%20clip-rule='evenodd'%20d='M19.74%201.444a2.816%202.816%200%20012.816%202.816v15.48a2.816%202.816%200%2001-2.816%202.816H4.26a2.816%202.816%200%2001-2.816-2.816V4.26A2.816%202.816%200%20014.26%201.444h15.48zM7.236%208.564l7.752%203.728-7.752%203.727v2.802l9.557-4.596v-3.866L7.236%205.763v2.801z'%20fill='%231E1E2E'%20fill-rule='evenodd'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-cli-_R_0_'%20x1='24'%20x2='0'%20y1='6.587'%20y2='16.494'%3e%3cstop%20stop-color='%23EE4D5D'%3e%3c/stop%3e%3cstop%20offset='.328'%20stop-color='%23B381DD'%3e%3c/stop%3e%3cstop%20offset='.476'%20stop-color='%23207CFE'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",tk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGoose%3c/title%3e%3cpath%20d='M21.595%2023.61c1.167-.254%202.405-.944%202.405-.944l-2.167-1.784a12.124%2012.124%200%2001-2.695-3.131%2012.127%2012.127%200%2000-3.97-4.049l-.794-.462a1.115%201.115%200%2001-.488-.815.844.844%200%2001.154-.575c.413-.582%202.548-3.115%202.94-3.44.503-.416%201.065-.762%201.586-1.159.074-.056.148-.112.221-.17.003-.002.007-.004.009-.007.167-.131.325-.272.45-.438.453-.524.563-.988.59-1.193-.061-.197-.244-.639-.753-1.148.319.02.705.272%201.056.569.235-.376.481-.773.727-1.171.165-.266-.08-.465-.086-.471h-.001V3.22c-.007-.007-.206-.25-.471-.086-.567.35-1.134.702-1.639%201.021%200%200-.597-.012-1.305.599a2.464%202.464%200%2000-.438.45l-.007.009c-.058.072-.114.147-.17.221-.397.521-.743%201.083-1.16%201.587-.323.391-2.857%202.526-3.44%202.94a.842.842%200%2001-.574.153%201.115%201.115%200%2001-.815-.488l-.462-.794a12.123%2012.123%200%2000-4.049-3.97%2012.133%2012.133%200%2001-3.13-2.695L1.332%200S.643%201.238.39%202.405c.352.428%201.27%201.49%202.34%202.302C1.58%204.167.73%203.75.06%203.4c-.103.765-.063%201.92.043%202.816.726.317%201.961.806%203.219%201.066-1.006.236-2.11.278-2.961.262.15.554.358%201.119.64%201.688.119.263.25.52.39.77.452.125%202.222.383%203.164.171l-2.51.897a27.776%2027.776%200%20002.544%202.726c2.031-1.092%202.494-1.241%204.018-2.238-2.467%202.008-3.108%202.828-3.8%203.67l-.483.678c-.25.351-.469.725-.65%201.117-.61%201.31-1.47%204.1-1.47%204.1-.154.486.202.842.674.674%200%200%202.79-.861%204.1-1.47.392-.182.766-.4%201.118-.65l.677-.483c.227-.187.453-.37.701-.586%200%200%201.705%202.02%203.458%203.349l.896-2.511c-.211.942.046%202.712.17%203.163.252.142.509.272.772.392.569.28%201.134.49%201.688.64-.016-.853.026-1.956.261-2.962.26%201.258.75%202.493%201.067%203.219.895.106%202.051.146%202.816.043a73.87%2073.87%200%2001-1.308-2.67c.811%201.07%201.874%201.988%202.302%202.34h-.001z'%3e%3c/path%3e%3c/svg%3e",nk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGrok%3c/title%3e%3cpath%20d='M9.27%2015.29l7.978-5.897c.391-.29.95-.177%201.137.272.98%202.369.542%205.215-1.41%207.169-1.951%201.954-4.667%202.382-7.149%201.406l-2.711%201.257c3.889%202.661%208.611%202.003%2011.562-.953%202.341-2.344%203.066-5.539%202.388-8.42l.006.007c-.983-4.232.242-5.924%202.75-9.383.06-.082.12-.164.179-.248l-3.301%203.305v-.01L9.267%2015.292M7.623%2016.723c-2.792-2.67-2.31-6.801.071-9.184%201.761-1.763%204.647-2.483%207.166-1.425l2.705-1.25a7.808%207.808%200%2000-1.829-1A8.975%208.975%200%20005.984%205.83c-2.533%202.536-3.33%206.436-1.962%209.764%201.022%202.487-.653%204.246-2.34%206.022-.599.63-1.199%201.259-1.682%201.925l7.62-6.815'%3e%3c/path%3e%3c/svg%3e",lk="/assets/hermesagent-DUfTwIy7.svg",ak="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eKimi%3c/title%3e%3cpath%20d='M21.846%200a1.923%201.923%200%20110%203.846H20.15a.226.226%200%2001-.227-.226V1.923C19.923.861%2020.784%200%2021.846%200z'%20fill='%231783FF'%3e%3c/path%3e%3cpath%20d='M11.065%2011.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164%200%2000-.117.051l-7.82%207.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103%200-.186.103-.186.23V19.77c0%20.128.083.23.186.23h2.69c.103%200%20.186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158%200%2001.205-.023l6.484%204.772a7.677%207.677%200%20003.453%201.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028%205.028%200%2001-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z'%20fill='%23fff'%3e%3c/path%3e%3c/svg%3e",Hv="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eKilo%20Code%3c/title%3e%3cpath%20d='M0%200v24h24V0H0zm22.222%2022.222H1.778V1.778h20.444v20.444zm-7.555-4.964h2.222v1.778h-2.794L12.89%2017.83v-2.794h1.778v2.222zm4%200h-1.778v-2.222h-2.222v-1.778h2.793l1.207%201.207v2.793zm-7.556-2.591H9.333v-1.778h1.778v1.778zm-5.778-1.778h1.778v4h4v1.778H6.54L5.333%2017.46V12.89zm13.334-3.556v1.778h-5.778V9.333h1.987V7.111h-1.987V5.333h2.558l1.206%201.207v2.793h2.014zm-11.556-2h2.222l1.778%201.778v2H9.333v-2H7.111v2H5.333V5.333h1.778v2zm4%200H9.333v-2h1.778v2z'%3e%3c/path%3e%3c/svg%3e",rk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eKiro%3c/title%3e%3cpath%20d='M18.8%200H5.2A5.2%205.2%200%20000%205.2v13.6A5.2%205.2%200%20005.2%2024h13.6a5.2%205.2%200%20005.2-5.2V5.2A5.2%205.2%200%200018.8%200z'%20fill='%239046FF'%3e%3c/path%3e%3cpath%20d='M7.97%2016.376c-1.644%203.642%201.86%204.556%204.443%202.424.76%202.39%203.608.607%204.631-1.247%202.251-4.084%201.342-8.249%201.108-9.108-1.6-5.859-9.6-5.869-10.976.03-.323%201.033-.328%202.206-.507%203.423-.09.617-.16%201.009-.393%201.655-.139.373-.323.7-.62%201.257-.458.865-.264%202.53%202.101%201.665l.224-.1h-.01l-.001.001z'%20fill='%23fff'%3e%3c/path%3e%3cpath%20d='M12.722%2010.985c-.656%200-.755-.785-.755-1.252%200-.423.074-.756.218-.97a.61.61%200%2001.537-.283c.229%200%20.428.095.567.289.159.218.243.55.243.964%200%20.785-.303%201.252-.805%201.252h-.005zm2.703%200c-.656%200-.755-.785-.755-1.252%200-.423.074-.756.219-.97a.61.61%200%2001.536-.283c.229%200%20.428.095.567.289.159.218.243.55.243.964%200%20.785-.303%201.252-.805%201.252h-.005z'%20fill='%23000'%3e%3c/path%3e%3c/svg%3e",ik="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenClaw%3c/title%3e%3cpath%20d='M12%202.568c-6.33%200-9.495%205.275-9.495%209.495%200%204.22%203.165%208.44%206.33%209.494v2.11h2.11v-2.11s1.055.422%202.11%200v2.11h2.11v-2.11c3.165-1.055%206.33-5.274%206.33-9.494S18.33%202.568%2012%202.568z'%20fill='url(%23lobe-icons-open-claw-0-_R_0_)'%3e%3c/path%3e%3cpath%20d='M3.56%209.953C.396%208.898-.66%2011.008.396%2013.118c1.055%202.11%203.164%201.055%204.22-1.055.632-1.477%200-2.11-1.056-2.11z'%20fill='url(%23lobe-icons-open-claw-1-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.44%209.953c3.164-1.055%204.22%201.055%203.164%203.165-1.055%202.11-3.164%201.055-4.22-1.055-.632-1.477%200-2.11%201.056-2.11z'%20fill='url(%23lobe-icons-open-claw-2-_R_0_)'%3e%3c/path%3e%3cpath%20d='M5.507%201.875c.476-.285%201.036-.233%201.615.037.577.27%201.223.774%201.937%201.488a.316.316%200%2001-.447.447c-.693-.693-1.279-1.138-1.757-1.361-.475-.222-.795-.205-1.022-.069a.317.317%200%2001-.326-.542zM16.877%201.913c.58-.27%201.14-.323%201.616-.038a.317.317%200%2001-.326.542c-.227-.136-.547-.153-1.022.069-.478.223-1.064.668-1.756%201.361a.316.316%200%2011-.448-.447c.714-.714%201.36-1.218%201.936-1.487z'%20fill='%23FF4D4D'%3e%3c/path%3e%3cpath%20d='M8.835%209.109a1.266%201.266%200%20100-2.532%201.266%201.266%200%20000%202.532zM15.165%209.109a1.266%201.266%200%20100-2.532%201.266%201.266%200%20000%202.532z'%20fill='%23050810'%3e%3c/path%3e%3cpath%20d='M9.046%208.16a.527.527%200%20100-1.056.527.527%200%20000%201.055zM15.376%208.16a.527.527%200%20100-1.055.527.527%200%20000%201.054z'%20fill='%2300E5CC'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-0-_R_0_'%20x1='-.659'%20x2='27.023'%20y1='.458'%20y2='22.855'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-1-_R_0_'%20x1='0'%20x2='4.311'%20y1='9.672'%20y2='14.949'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-2-_R_0_'%20x1='19.385'%20x2='24.399'%20y1='9.953'%20y2='14.462'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",ok="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eopencode%3c/title%3e%3cpath%20d='M16%206H8v12h8V6zm4%2016H4V2h16v20z'%3e%3c/path%3e%3c/svg%3e",sk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3ePi%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M1%201h16.5v11H12v5.5H6.5V23H1V1zm5.5%205.5V12H12V6.5H6.5z'%3e%3c/path%3e%3cpath%20d='M17.5%2012H23v11h-5.5V12z'%3e%3c/path%3e%3c/svg%3e",ck="/assets/qoder-color-CCjsVbDP.svg",Kv="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eQwen%3c/title%3e%3cpath%20d='M12.604%201.34c.393.69.784%201.382%201.174%202.075a.18.18%200%2000.157.091h5.552c.174%200%20.322.11.446.327l1.454%202.57c.19.337.24.478.024.837-.26.43-.513.864-.76%201.3l-.367.658c-.106.196-.223.28-.04.512l2.652%204.637c.172.301.111.494-.043.77-.437.785-.882%201.564-1.335%202.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099%200%2000-.081.05%20575.097%20575.097%200%2001-2.705%204.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537%200%2001-.465-.271l-1.335-2.323a.09.09%200%2000-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543%200%2001-.002-.54l1.207-2.12a.198.198%200%20000-.197%20550.951%20550.951%200%2001-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625%201.387-2.436.132-.234.304-.334.584-.335a338.3%20338.3%200%20012.589-.001.124.124%200%2000.107-.063l2.806-4.895a.488.488%200%2001.422-.246c.524-.001%201.053%200%201.583-.006L11.704%201c.341-.003.724.032.9.34zm-3.432.403a.06.06%200%2000-.052.03L6.254%206.788a.157.157%200%2001-.135.078H3.253c-.056%200-.07.025-.041.074l5.81%2010.156c.025.042.013.062-.034.063l-2.795.015a.218.218%200%2000-.2.116l-1.32%202.31c-.044.078-.021.118.068.118l5.716.008c.046%200%20.08.02.104.061l1.403%202.454c.046.081.092.082.139%200l5.006-8.76.783-1.382a.055.055%200%2001.096%200l1.424%202.53a.122.122%200%2000.107.062l2.763-.02a.04.04%200%2000.035-.02.041.041%200%20000-.04l-2.9-5.086a.108.108%200%20010-.113l.293-.507%201.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059%200-.073-.026-.043-.077l1.434-2.505a.107.107%200%20000-.114L9.225%201.774a.06.06%200%2000-.053-.031zm6.29%208.02c.046%200%20.058.02.034.06l-.832%201.465-2.613%204.585a.056.056%200%2001-.05.029.058.058%200%2001-.05-.029L8.498%209.841c-.02-.034-.01-.052.028-.054l.216-.012%206.722-.012z'%20fill='url(%23lobe-icons-qwen-_R_0_)'%20fill-rule='nonzero'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20id='lobe-icons-qwen-_R_0_'%20x1='0%25'%20x2='100%25'%20y1='0%25'%20y2='0%25'%3e%3cstop%20offset='0%25'%20stop-color='%236336E7'%20stop-opacity='.84'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%236F69F7'%20stop-opacity='.84'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",uk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eRooCode%3c/title%3e%3cpath%20d='M20.113%205.5l-.442%201.557a.157.157%200%2001-.196.106l-7.414-2.157a.16.16%200%2000-.143.028l-7.342%205.74a.159.159%200%2001-.074.032l-4.37.656a.154.154%200%2000-.132.162l.02.245c.005.078.071.14.152.141l5.074.128.058.002%203.75-1.953a.16.16%200%2001.164.01l2.657%201.847a.152.152%200%2001.066.125l-.023%202.45c0%20.032.01.063.028.089l3.737%205.227c.03.04.077.065.129.065h1.182a.153.153%200%2000.14-.224l-2.664-4.919a.15.15%200%2001.005-.152l1.389-2.169a.156.156%200%2001.062-.055l4.965-2.456a.16.16%200%2001.158.01l1.418.921a.16.16%200%2000.087.026h1.289c.125%200%20.2-.136.13-.237l-3.578-5.29c-.074-.109-.246-.082-.282.044z'%3e%3c/path%3e%3c/svg%3e",fk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eTRAE%3c/title%3e%3cpath%20d='M24%2020.541H3.428v-3.426H0V3.4h24V20.54zM3.428%2017.115h17.144V6.827H3.428v10.288zm8.573-5.196l-2.425%202.424-2.424-2.424%202.424-2.424%202.425%202.424zm6.857-.001l-2.424%202.423-2.425-2.423%202.425-2.425%202.424%202.425z'%20fill='%2332F08C'%3e%3c/path%3e%3c/svg%3e",dk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eWindsurf%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M23.78%205.004h-.228a2.187%202.187%200%2000-2.18%202.196v4.912c0%20.98-.804%201.775-1.76%201.775a1.818%201.818%200%2001-1.472-.773L13.168%205.95a2.197%202.197%200%2000-1.81-.95c-1.134%200-2.154.972-2.154%202.173v4.94c0%20.98-.797%201.775-1.76%201.775-.57%200-1.136-.289-1.472-.773L.408%205.098C.282%204.918%200%205.007%200%205.228v4.284c0%20.216.066.426.188.604l5.475%207.889c.324.466.8.812%201.351.938%201.377.316%202.645-.754%202.645-2.117V11.89c0-.98.787-1.775%201.76-1.775h.002c.586%200%201.135.288%201.472.773l4.972%207.163a2.15%202.15%200%20001.81.95c1.158%200%202.151-.973%202.151-2.173v-4.939c0-.98.787-1.775%201.76-1.775h.194c.122%200%20.22-.1.22-.222V5.225a.221.221%200%2000-.22-.222z'%3e%3c/path%3e%3c/svg%3e",hk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eXiaomiMiMo%3c/title%3e%3cpath%20d='M.958%2015.936a.459.459%200%2001.459.44v2.729a.46.46%200%2001-.918%200v-2.729a.459.459%200%2001.459-.44zm4.814-2.035a.46.46%200%2001.553.45v4.754a.458.458%200%2011-.918%200V15.48L3.74%2017.202a.462.462%200%2001-.655.016.462.462%200%2001-.065-.082L.628%2014.67a.459.459%200%2001.658-.637l2.124%202.187%202.127-2.188a.46.46%200%2001.235-.13zm2.068.004a.46.46%200%2001.458.445v4.755a.46.46%200%2001-.458.458.459.459%200%2001-.458-.458V14.35a.459.459%200%2001.458-.445zm1.973%202.014a.46.46%200%2001.46.457v2.729a.46.46%200%2001-.784.324.46.46%200%2001-.134-.324v-2.729a.46.46%200%2001.458-.458zm.002-2.045a.458.458%200%2001.328.157l2.127%202.19%202.125-2.19a.459.459%200%2001.784.318v4.756a.46.46%200%2001-.455.458.46.46%200%2001-.458-.458V15.48l-1.667%201.723a.46.46%200%2001-.65.008l-.005-.005c0-.002-.002-.002-.004-.003l-2.455-2.534a.46.46%200%2001-.008-.667.461.461%200%2001.338-.128zm6.797%201.206a.46.46%200%2001.53.651A1.966%201.966%200%200019.81%2018.4a.462.462%200%2001.623.18.46.46%200%2001-.181.624%202.863%202.863%200%2001-1.38.353l-.142-.004a2.88%202.88%200%2001-2.393-4.263.461.461%200%2001.274-.21zm.864-.931a2.884%202.884%200%20013.915%203.914.46.46%200%2001-.402.24l-.057-.004a.458.458%200%2001-.164-.055.46.46%200%2001-.182-.622%201.967%201.967%200%2000-2.669-2.67.459.459%200%2011-.441-.803zM9.59%206.368c1.481%200%201.696%201.202%201.696%201.654v2.648h-.917v-.432c-.26.346-.792.535-1.36.535-.133%200-1.289-.03-1.384-1.136-.082-.932.675-1.61%202.053-1.61h.691c0-.563-.367-.886-.983-.886-.44.013-.864.174-1.2.458l-.36-.664c.484-.379%201.012-.567%201.764-.567zm4.427.1c1.263%200%202.082.97%202.083%202.15%200%201.181-.824%202.154-2.083%202.154-1.26%200-2.084-.972-2.084-2.152%200-1.18.82-2.153%202.084-2.153zm6.801.015c.68%200%201.202.465%201.197%201.548v2.642H21.1V8.29c0-.312-.002-.98-.63-.98s-.628.667-.628.838v2.524h-.89V8.148c0-.17-.001-.838-.63-.838-.628%200-.628.668-.628.98v2.383h-.917v-4.03h.917V7a1.22%201.22%200%2001.947-.516c.398%200%20.76.193.982.686a1.321%201.321%200%20011.195-.686zm-18.093.872l1.457-1.772H5.32L3.311%208.07l2.14%202.602H4.24L2.725%208.796%201.21%2010.672H0L2.138%208.07.13%205.583h1.138l1.458%201.772zm4.149%203.317h-.916V6.644h.916v4.028zm16.99%200h-.916V6.644h.916v4.028zM9.925%208.71c-1.055%200-1.359.412-1.326.742.032.329.324.537.757.537a1.013%201.013%200%20001.014-.968l.002-.31h-.447zM14.018%207.3c-.663%200-1.184.487-1.184%201.32%200%20.832.52%201.32%201.184%201.32.662%200%201.182-.49%201.182-1.32%200-.832-.52-1.32-1.182-1.32zM6.417%205.001a.568.568%200%2001.587.582.588.588%200%2001-1.175%200A.57.57%200%20016.417%205zm16.991%200a.57.57%200%2001.592.582.588.588%200%2001-1.174%200%20.57.57%200%2001.357-.542.572.572%200%2001.225-.04z'%3e%3c/path%3e%3c/svg%3e",mk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eZ.ai%3c/title%3e%3cpath%20d='M12.105%202L9.927%204.953H.653L2.83%202h9.276zM23.254%2019.048L21.078%2022h-9.242l2.174-2.952h9.244zM24%202L9.264%2022H0L14.736%202H24z'%3e%3c/path%3e%3c/svg%3e",pk={amp:{src:qL},antigravity:{src:GL},"claude-code":{src:YL},cline:{monochrome:!0,src:XL},codebuddy:{src:Iv},codex:{monochrome:!0,src:Bv},"every-code":{monochrome:!0,src:Bv},copilot:{src:WL},cursor:{monochrome:!0,src:ZL},devin:{src:QL},gemini:{src:JL},"gemini-cli":{src:ek},grok:{monochrome:!0,src:nk},goose:{monochrome:!0,src:tk},hermes:{monochrome:!0,src:lk},kimi:{src:ak},"kilo-cli":{monochrome:!0,src:Hv},kilocode:{monochrome:!0,src:Hv},kiro:{src:rk},mimo:{monochrome:!0,src:hk},openclaw:{src:ik},opencode:{monochrome:!0,src:ok},pi:{monochrome:!0,src:sk},qoder:{src:ck},qwen:{src:Kv},"qwen-code":{src:Kv},roocode:{monochrome:!0,src:uk},trae:{src:fk},windsurf:{monochrome:!0,src:dk},workbuddy:{src:Iv},zcode:{monochrome:!0,src:mk}},gk={"code-buddy":"codebuddy",everycode:"every-code","github-copilot":"copilot","grok-build":"grok","kilo-code":"kilocode",kilo:"kilo-cli",mimocode:"mimo","oh-my-pi":"omp","open-claw":"openclaw","open-code":"opencode","openai-codex":"codex","roo-code":"roocode",zai:"zcode","hermes-agent":"hermes","kimi-code":"kimi","kimi-legacy":"kimi","pi-coding-agent":"pi",factory:"droid"};function bk(e){const t=e.trim().toLowerCase().replace(/[\s_]+/g,"-");return t==="claude-code"||t.startsWith("claude")?"claude-code":t==="codex"||t.startsWith("codex-")?"codex":t==="cursor"||t.startsWith("cursor-")?"cursor":t==="gemini"||t==="gemini-cli"||t.startsWith("gemini-")?"gemini-cli":t==="copilot"||t==="copilot-cli"||t.startsWith("copilot-")?"copilot":t==="opencode"||t.startsWith("opencode-")?"opencode":t.startsWith("antigravity")?"antigravity":t.startsWith("openclaw")?"openclaw":t.startsWith("hermes")?"hermes":t.startsWith("kimi")?"kimi":t.startsWith("kiro")?"kiro":t==="roo-code"||t.startsWith("roocode")||t.startsWith("roo-")?"roocode":t.startsWith("zcode")||t==="zai"?"zcode":t==="pi-coding-agent"||t.startsWith("pi-")||t==="pi"?"pi":t.startsWith("droid")||t.startsWith("factory")?"droid":t.startsWith("qoder")?"qoder":t.startsWith("trae")?"trae":t.startsWith("amp")?"amp":t.startsWith("qwen")?"qwen-code":t.startsWith("codebuddy")||t==="code-buddy"?"codebuddy":t.startsWith("workbuddy")?"workbuddy":t.startsWith("grok")?"grok":t.startsWith("goose")?"goose":t.startsWith("mimo")||t==="mimocode"||t.startsWith("xiaomi")?"mimo":t==="everycode"||t.startsWith("every-code")?"every-code":t.startsWith("omp")||t==="oh-my-pi"?"omp":t.startsWith("kilo-cli")||t==="kilo"?"kilo-cli":t.startsWith("kilocode")||t==="kilo-code"?"kilocode":t.startsWith("zed")?"zed":t.startsWith("warp")?"warp":gk[t]??t}function Uv({provider:e,size:t=16,className:l="",onLightBackground:r=!1,isSelected:i=!1,color:s}){const u=bk(e),f=pk[u];return f?E.jsx("img",{alt:"","aria-hidden":!0,className:`shrink-0 object-contain ${f.monochrome?i?"invert":r?"":"dark:invert":""} ${l}`,height:t,src:f.src,style:{height:t,width:t},width:t}):u==="droid"?E.jsx(Sk,{className:l,size:t,style:{color:s}}):u==="omp"?E.jsx(vk,{className:l,size:t,style:{color:s}}):u==="zed"?E.jsx(yk,{className:l,size:t,style:{color:s}}):u==="warp"?E.jsx(xk,{className:l,size:t,style:{color:s}}):E.jsx(wk,{className:l,size:t,style:{color:s}})}function vk({className:e,size:t,style:l}){return E.jsxs("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:l,viewBox:"0 0 120 90",width:t,children:[E.jsx("rect",{height:"12",rx:"2",width:"100",x:"10",y:"8"}),E.jsx("rect",{height:"62",rx:"2",width:"12",x:"25",y:"20"}),E.jsx("rect",{height:"45",rx:"2",width:"12",x:"75",y:"20"}),E.jsx("rect",{height:"16",rx:"3",width:"20",x:"71",y:"55"}),E.jsx("rect",{height:"8",rx:"1",width:"3",x:"76",y:"71"}),E.jsx("rect",{height:"8",rx:"1",width:"3",x:"82",y:"71"})]})}function yk({className:e,size:t,style:l}){return E.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:l,viewBox:"0 0 16 16",width:t,children:E.jsx("path",{clipRule:"evenodd",d:"M3.125 2.75C2.9179 2.75 2.75 2.9179 2.75 3.125V11.375H2V3.125C2 2.50368 2.50368 2 3.125 2H13.1723C13.6735 2 13.9244 2.6059 13.5701 2.96025L7.38189 9.14843H9.125V8.375H9.875V9.33593C9.875 9.6466 9.6232 9.8984 9.3125 9.8984H6.63189L5.34282 11.1875H11.1875V6.5H11.9375V11.1875C11.9375 11.6017 11.6017 11.9375 11.1875 11.9375H4.59282L3.28032 13.25H12.875C13.0821 13.25 13.25 13.0821 13.25 12.875V4.625H14V12.875C14 13.4963 13.4963 14 12.875 14H2.82767C2.32653 14 2.07557 13.3941 2.42992 13.0397L8.59468 6.875H6.875V7.625H6.125V6.6875C6.125 6.37684 6.37684 6.125 6.6875 6.125H9.34468L10.6571 4.8125H4.8125V9.5H4.0625V4.8125C4.0625 4.39829 4.39829 4.0625 4.8125 4.0625H11.4071L12.7197 2.75H3.125Z",fillRule:"evenodd"})})}function xk({className:e,size:t,style:l}){return E.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:l,viewBox:"0 0 24 24",width:t,children:E.jsx("path",{d:"M4.2 5.5h3.1l2.05 8.2 2.15-8.2h2.9l2.15 8.2 2.05-8.2h3.1L17.3 18.5h-3.05L12 10.2l-2.25 8.3H6.7L4.2 5.5Z"})})}function Sk({className:e,size:t,style:l}){return E.jsxs("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"none",height:t,style:l,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8",viewBox:"0 0 24 24",width:t,children:[E.jsx("path",{d:"M9 3v2"}),E.jsx("path",{d:"M15 3v2"}),E.jsx("rect",{height:"13",rx:"3",width:"16",x:"4",y:"6"}),E.jsx("circle",{cx:"9",cy:"13",fill:"currentColor",r:"1.4",stroke:"none"}),E.jsx("circle",{cx:"15",cy:"13",fill:"currentColor",r:"1.4",stroke:"none"}),E.jsx("path",{d:"M9 16h6"})]})}function wk({className:e,size:t,style:l}){return E.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"none",height:t,style:l,viewBox:"0 0 24 24",width:t,children:E.jsx("circle",{cx:"12",cy:"12",r:"7.5",stroke:"currentColor",strokeDasharray:"3 3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})}const Ek="Juejin Usage",Ck=[{name:"Claude",source:"claude",variants:["CLI","Desktop"]},{name:"Codex",source:"codex"},{name:"Cursor",source:"cursor"},{name:"Qoder",source:"qoder",variants:["CLI","IDE","IDE CN","Work"]},{name:"Gemini",source:"gemini",variants:["CLI"]},{name:"OpenCode",source:"opencode"},{name:"Copilot",source:"copilot",variants:["CLI"]},{name:"Antigravity",source:"antigravity",variants:["App","IDE","CLI"]},{name:"OpenClaw",source:"openclaw"},{name:"Hermes",source:"hermes"},{name:"ZCode",source:"zcode"},{name:"pi",source:"pi"},{name:"Kimi",source:"kimi",variants:["Code","Legacy"]},{name:"Roo Code",source:"roocode"},{name:"Droid",source:"droid"},{name:"Kiro",source:"kiro",variants:["CLI"]},{name:"Cline",source:"cline"},{name:"Amp",source:"amp"},{name:"Qwen Code",source:"qwen"},{name:"CodeBuddy",source:"codebuddy"},{name:"WorkBuddy",source:"workbuddy"},{name:"Grok Build",source:"grok"},{name:"Mimo",source:"mimo"},{name:"Every Code",source:"every-code"},{name:"OMP",source:"omp"},{name:"Kilo CLI",source:"kilo-cli"},{name:"Kilo Code",source:"kilocode"},{name:"Goose",source:"goose"},{name:"Zed",source:"zed"},{name:"Warp",source:"warp"}];function Tk(e){var t;return(t=e.variants)!=null&&t.length?`${e.name} (${e.variants.join("、")})`:e.name}function Rk(){return"0.1.1"}const Mk="http://github.com/juejin-cn/juejin-usage/issues/new",Ak={cline:"bg-red-500",cursor:"bg-black",droid:"bg-blue-500","every-code":"bg-emerald-600",goose:"bg-amber-500",grok:"bg-violet-600",hermes:"bg-amber-500",kimi:"bg-black","kilo-cli":"bg-violet-500",kilocode:"bg-violet-500",mimo:"bg-rose-400",omp:"bg-violet-500",opencode:"bg-blue-600",pi:"bg-orange-500",roocode:"bg-green-500",zcode:"bg-indigo-500",zed:"bg-orange-500"};function Ax(){const e=Rk();return E.jsxs("div",{className:"space-y-5",children:[E.jsxs("section",{className:"space-y-1.5",children:[E.jsx("h3",{className:"text-sm font-medium text-foreground",children:"版本信息"}),E.jsxs("p",{className:"text-sm text-foreground/70",children:[Ek," ",E.jsxs("span",{className:"font-mono text-foreground/90",children:["v",e]})]})]}),E.jsxs("section",{className:"space-y-1.5",children:[E.jsx("h3",{className:"text-sm font-medium text-foreground",children:"隐私与协议"}),E.jsxs(Nc,{className:"w-fit text-sm text-accent",href:Eh,rel:"noopener noreferrer",target:"_blank",children:["查看用户隐私协议",E.jsx(Nc.Icon,{})]})]}),E.jsxs("section",{className:"space-y-1.5",children:[E.jsx("h3",{className:"text-sm font-medium text-foreground",children:"问题反馈"}),E.jsxs(Nc,{className:"w-fit text-sm text-accent",href:Mk,rel:"noopener noreferrer",target:"_blank",children:["提交问题反馈",E.jsx(Nc.Icon,{})]})]}),E.jsxs("section",{className:"space-y-2",children:[E.jsx("h3",{className:"text-sm font-medium text-foreground",children:"支持的工具"}),E.jsx("p",{className:"text-xs text-foreground/55",children:"同一系列的多端形态用括号标出。"}),E.jsx("ul",{className:"grid grid-cols-1 gap-1.5 sm:grid-cols-2",children:Ck.map(t=>E.jsxs("li",{className:"flex items-center gap-2 rounded-lg bg-black/3 px-2.5 py-1.5 text-sm text-foreground/80 dark:bg-white/5",children:[E.jsx(Lk,{source:t.source}),E.jsx("span",{className:"min-w-0 leading-snug",children:Tk(t)})]},t.source))})]})]})}function Lk({source:e}){if(e==="codex")return E.jsx("span",{className:"flex size-6 shrink-0 items-center justify-center rounded-md bg-emerald-600",children:E.jsx("img",{alt:"","aria-hidden":!0,className:"size-[15px] invert",src:FL})});const t=Ak[e];return t?E.jsx("span",{className:`flex size-6 shrink-0 items-center justify-center rounded-md ${t}`,children:E.jsx(Uv,{color:"#fff",isSelected:!0,provider:e,size:15})}):E.jsx(Uv,{provider:e,size:18})}const kk="tud:data-synced",Ch="tud:open-settings",Fv="tud:open-about",Th="tud:open-share",Nk="tud:juejin-link-changed";function Lz(){window.dispatchEvent(new CustomEvent(kk))}function kz(e){window.dispatchEvent(new CustomEvent(Ch,{detail:{}}))}function Dk(){window.dispatchEvent(new CustomEvent(Th))}function Lx(){window.dispatchEvent(new CustomEvent(Nk))}function Nz(){return Dk(),Promise.resolve()}function $k({trigger:e,isOpen:t,onOpenChange:l,listenForOpenEvent:r=!0,hideTrigger:i=!1}={}){const[s,u]=y.useState(!1),f=t!==void 0,d=f?t:s,h=y.useCallback(p=>{f||u(p),l==null||l(p)},[f,l]);return y.useEffect(()=>{if(!r)return;const p=()=>h(!0);return window.addEventListener(Fv,p),()=>window.removeEventListener(Fv,p)},[r,h]),E.jsxs(E.Fragment,{children:[!i&&(e??E.jsxs(mn,{"aria-label":"关于",onPress:()=>h(!0),variant:"tertiary",children:[E.jsx(KL,{}),"关于"]})),E.jsx(Be.Backdrop,{isOpen:d,onOpenChange:h,variant:"blur",children:E.jsx(Be.Container,{className:"w-[840px] max-w-[min(840px,92vw)]",scroll:"outside",size:"lg",children:E.jsxs(Be.Dialog,{children:[E.jsx(Be.CloseTrigger,{"aria-label":"关闭关于"}),E.jsx(Be.Header,{children:E.jsx(Be.Heading,{children:"关于"})}),E.jsx(Be.Body,{className:"pt-2",children:E.jsx(Ax,{})})]})})})]})}const zk=50;async function Pn(e,t){const l=await fetch(e,t);let r=null;try{r=await l.json()}catch{throw new Error(`${(t==null?void 0:t.method)??"GET"} ${e} → ${l.status}`)}if(!l.ok||!r||r.success!==!0||r.data===null){const i=(r==null?void 0:r.message)??`HTTP ${l.status}`;throw new Error(i)}return r.data}const Vv="tud.apiBearer";function Pk(){return!0}function Ok(){return"/functions/tud-"}function On(){const e=Ok();return{summary:`${e}account-usage-summary`,others:e}}function _v(e){try{e!=null&&e.trim()?localStorage.setItem(Vv,e.trim()):localStorage.removeItem(Vv)}catch{}}function xn(){return{}}async function kx(){const{summary:e}=On();return Pn(e,{headers:xn()})}async function jk(e=90){const{others:t}=On();return Pn(`${t}usage-daily?days=${e}`,{headers:xn()})}async function Nx(e=1){const{others:t}=On();return Pn(`${t}usage-hourly?days=${e}`,{headers:xn()})}async function Dx(e=30){const{others:t}=On();return Pn(`${t}usage-model-breakdown?days=${e}`,{headers:xn()})}const Gv="https://api.juejin.cn/aiusage_api/functions/tud-pricing";async function Dz(){const e=await fetch(Gv,{headers:xn()});let t=null;try{t=await e.json()}catch{throw new Error(`GET ${Gv} → ${e.status}`)}if(!e.ok)throw new Error(`HTTP ${e.status}`);const l=Ik(t);return Bk(l,e.headers.get("last-modified"))}function Ik(e){if(e===null||typeof e!="object"||Array.isArray(e))throw new Error("模型价格数据格式错误:响应必须是对象");const t=e.exact;if(t===null||typeof t!="object"||Array.isArray(t))throw new Error("模型价格数据格式错误:exact 必须是对象");for(const[l,r]of Object.entries(t)){if(r===null||typeof r!="object"||Array.isArray(r))throw new Error(`模型价格数据格式错误:exact.${l} 必须是对象`);for(const i of["input","output","cache_read","cache_write"]){const s=r[i];if(s!==void 0&&(typeof s!="number"||!Number.isFinite(s)||s<0))throw new Error(`模型价格数据格式错误:exact.${l}.${i} 必须是非负数字`)}}return e}function Bk(e,t){return{units:"usd_per_million_tokens",generatedAt:null,updatedAt:t,models:Object.entries(e.exact).map(([l,r])=>({model:l,input:r.input??0,output:r.output??0,cacheRead:r.cache_read??0,cacheWrite:r.cache_write??0})).sort((l,r)=>l.model.localeCompare(r.model))}}async function $z(e,t=zk,l={}){const{others:r}=On(),i=new URLSearchParams({range:e,limit:String(t)});return l.tool&&i.set("tool",l.tool),l.model&&i.set("model",l.model),Pn(`${r}leaderboard-overview?${i.toString()}`,{headers:xn()})}async function zz(){const{others:e}=On();return Pn(`${e}leaderboard-preference`,{headers:xn()})}async function Pz(e){const{others:t}=On();return Pn(`${t}leaderboard-preference`,{method:"PUT",headers:{"Content-Type":"application/json",...xn()},body:JSON.stringify({hideFromLeaderboard:e})})}async function Hk(){const{others:e}=On();return Pn(`${e}sync-status`,{headers:xn()})}function $x(){return Hk().catch(()=>null)}function Kk(e){return typeof e=="number"?{dailyDays:e,breakdownDays:e,hourlyDays:e}:{dailyDays:e.dailyDays,breakdownDays:e.breakdownDays,hourlyDays:e.hourlyDays??e.breakdownDays}}async function Oz(e){const{dailyDays:t,breakdownDays:l,hourlyDays:r}=Kk(e),[i,s,u,f,d]=await Promise.all([kx(),$x(),jk(t),Nx(r).catch(()=>({hours:[],timeZone:"Asia/Shanghai"})),Dx(l)]);return{summary:i,syncStatus:s,dailyRows:u.days??[],hourlyRows:f.hours??[],modelRows:(d.models??[]).filter(h=>h.tokens>0),projectRows:(d.projects??[]).filter(h=>h.tokens>0)}}async function jz(e,t,l){const[r,i,s,u]=await Promise.all([kx(),$x(),Nx(l).catch(()=>({hours:[],timeZone:"Asia/Shanghai"})),Dx(t)]);return{summary:r,syncStatus:i??e.syncStatus,dailyRows:e.dailyRows,hourlyRows:s.hours??[],modelRows:(u.models??[]).filter(f=>f.tokens>0),projectRows:(u.projects??[]).filter(f=>f.tokens>0)}}async function Iz(){const{others:e}=On();return Pn(`${e}trigger-sync`,{method:"POST",headers:{"Content-Type":"application/json",...xn()},body:"{}"})}async function Bz(e){const{others:t}=On();return Pn(`${t}ensure-local-range`,{method:"POST",headers:{"Content-Type":"application/json",...xn()},body:JSON.stringify({days:e})})}async function b2(){const{others:e}=On();return Pn(`${e}config`,{headers:xn()})}async function Rh(e){const{others:t}=On();return Pn(`${t}config`,{method:"PUT",headers:{"Content-Type":"application/json",...xn()},body:JSON.stringify(e)})}const v2="login_from_client",y2="port",zx="user_id",Px="origin_user_id",Ox="user_name",jx="avatar_large",Fo=8452,Uk="https://juejin.cn/aiusage/dashboard";function Fk(e,t){return t}const Ix=Fk(void 0,Uk),Vk=512,_k=64;function Gk(e){return e==="desktop"||e==="cli"?e:null}function Bx(e){if(e==null||e==="")return Fo;const t=Number.parseInt(e,10);return!Number.isFinite(t)||t<=0||t>65535?Fo:t}function Hx(e){const t=e.trim();return t.length>0&&t.length<=Vk&&!/\s/.test(t)}function Kx(e){const t=e.trim();return t.length>0&&t.length<=_k&&!/\s/.test(t)}function qv(e){return(e??"").trim()}function Yv(e){const t=e.trim();return t.length>=2&&(t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"))?t.slice(1,-1).trim():t}function qk(e){const t=new URL(Ix);return t.searchParams.set(v2,e.loginFromClient),e.loginFromClient==="cli"&&t.searchParams.set(y2,String(e.port??Fo)),t.toString()}function Ux(e=window.location.search){const t=new URLSearchParams(e),l=Yv(t.get(zx)??""),r=Yv(t.get(Px)??"");return{loginFromClient:Gk(t.get(v2)),port:Bx(t.get(y2)),userId:Hx(l)?l:null,originUserId:Kx(r)?r:"",userName:qv(t.get(Ox)),avatarLarge:qv(t.get(jx))}}const z0=typeof window<"u"?Ux(window.location.search):{loginFromClient:null,port:Fo,userId:null,originUserId:"",userName:"",avatarLarge:""};function Fx(){const e=Ux(window.location.search);return e.loginFromClient||e.userId?e:z0.loginFromClient||z0.userId?z0:e}function Yk(){const e=new URL(window.location.href);e.searchParams.delete(v2),e.searchParams.delete(y2),e.searchParams.delete(zx),e.searchParams.delete(Px),e.searchParams.delete(Ox),e.searchParams.delete(jx);const t=`${e.pathname}${e.search}${e.hash}`;window.history.replaceState(window.history.state,"",t)}function Xk(){const e="".trim().replace(/\/$/,"");return e?`${e}/functions/tud-session`:"/api/functions/tud-session"}async function Wk(){const e=await fetch(Xk(),{credentials:"include",headers:{Accept:"application/json"}});if(!e.ok)return null;let t;try{t=await e.json()}catch{return null}if(!t||typeof t!="object")return null;const l=t.success,r=t.data;if(l===!1||!r||typeof r!="object")return null;const i=r.encryptedUserId,s=r.originUserId;if(typeof i!="string"||!Hx(i)||typeof s!="string"||!Kx(s))return null;const u=r.userName,f=r.avatarLarge;return{userId:i.trim(),originUserId:s.trim(),userName:typeof u=="string"?u.trim():"",avatarLarge:typeof f=="string"?f.trim():""}}function Zk(){return typeof window<"u"&&typeof window.tud<"u"?"desktop":"cli"}function Qk(){const e=window.location.port;return Bx(e||String(Fo))}async function Vx(){var i;const e=Zk(),t=e==="cli"?Qk():void 0,l=qk({loginFromClient:e,port:t}),r=(i=window.tud)==null?void 0:i.openExternal;return typeof r=="function"?r(l):(window.location.assign(l),{ok:!0})}const Jk={info:"accent",warn:"warning",error:"danger",success:"success"};function _x({tone:e="info",title:t,description:l}){return E.jsxs(wo,{status:Jk[e],children:[E.jsx(wo.Indicator,{}),E.jsxs(wo.Content,{children:[E.jsx(wo.Title,{children:t}),l&&E.jsx(wo.Description,{children:l})]})]})}const eN=[{id:"sync",label:"云端同步"},{id:"app",label:"应用"},{id:"about",label:"关于"}];function tN({activeTab:e,onTabChange:t}={}){const[l]=y.useState(()=>new Xo({maxVisibleToasts:1})),[r,i]=y.useState("sync"),s=e??r,u=t??i,f=s==="pet"?"sync":s;return E.jsxs("div",{className:"w-full",children:[E.jsx(g2.Provider,{placement:"top end",queue:l}),E.jsxs(ra,{className:"w-full text-center",selectedKey:f,onSelectionChange:d=>u(String(d)),children:[E.jsx(ra.ListContainer,{className:"m-3 mr-14 w-fit",children:E.jsx(ra.List,{"aria-label":"设置分类",className:"w-fit *:h-6 *:w-fit *:px-3 *:text-sm *:font-normal *:data-[selected=true]:text-accent-foreground",children:eN.map(d=>E.jsxs(ra.Tab,{id:d.id,children:[E.jsx("span",{className:"text-xs font-normal",children:d.label}),E.jsx(ra.Indicator,{className:"bg-accent"})]},d.id))})}),E.jsx(ra.Panel,{className:"h-[50vh] overflow-y-auto p-3 text-left font-normal [&_*]:font-normal",id:"sync",children:f==="sync"&&E.jsx(nN,{onNotify:d=>l.add(d),onSaved:()=>l.add({description:"写入本机 CLI 配置",title:"已保存",variant:"success"})})}),E.jsx(ra.Panel,{className:"h-[50vh] overflow-y-auto p-3 text-left",id:"app",children:f==="app"&&E.jsx(lN,{})}),E.jsx(ra.Panel,{className:"h-[50vh] overflow-y-auto p-3 text-left",id:"about",children:f==="about"&&E.jsx(Ax,{})})]})]})}function nN({onSaved:e,onNotify:t}){var te,ne,j;const[l,r]=y.useState(null),[i,s]=y.useState(!1),[u,f]=y.useState(!0),[d,h]=y.useState(!1),[p,b]=y.useState(!1),[v,w]=y.useState(!1),[x,T]=y.useState(null),C=y.useCallback(async()=>{f(!0);try{const Y=await b2();r(Y),s(Y.juejin.enabled),T(null)}catch(Y){T(Y instanceof Error?Y.message:"加载配置失败"),r(null)}finally{f(!1)}},[]);y.useEffect(()=>{C()},[C]);const N=async Y=>{const z=i;s(Y),h(!0),T(null);try{const O=await Rh({juejin:{enabled:Y}});r(O),e()}catch(O){s(z),T(O instanceof Error?O.message:"保存失败")}finally{h(!1)}},M=async()=>{h(!0),T(null);try{const Y=await Rh({juejin:{token:null,originUserId:null,userName:null,avatarLarge:null}});r(Y),b(!1),Lx(),t({title:"已退出登录",variant:"success"})}catch(Y){T(Y instanceof Error?Y.message:"退出失败"),b(!1)}finally{h(!1)}};if(u)return E.jsx("p",{className:"text-muted",children:"加载配置…"});const L=Y=>Y.replace(/^['"]+|['"]+$/g,"").trim(),k=(l==null?void 0:l.juejin.userId)??null,B=L(((te=l==null?void 0:l.juejin.originUserId)==null?void 0:te.trim())||""),G=((ne=l==null?void 0:l.juejin.userName)==null?void 0:ne.trim())||"",$=((j=l==null?void 0:l.juejin.avatarLarge)==null?void 0:j.trim())||"",A=(l==null?void 0:l.juejin.hasToken)??!1,U=k&&!k.startsWith("jau.")?L(k):"",K=B||U||null,q=()=>{Vx().then(Y=>{Y.ok||t({title:"无法打开掘金登录页",description:Y.message??"请稍后重试",variant:"danger"})})};return E.jsxs("div",{className:"flex h-full flex-col gap-3 overflow-hidden",children:[x&&E.jsx(_x,{tone:"error",title:x}),E.jsxs(D5,{className:"rounded-xl p-4",variant:"secondary",children:[E.jsxs("div",{className:"flex items-start justify-between gap-4",children:[E.jsxs("div",{className:"min-w-0",children:[E.jsx("h3",{className:"text-sm text-foreground",children:"云端同步"}),E.jsx("p",{className:"mt-1 text-xs text-muted",children:"本地 sync 完成后自动上报掘金"})]}),E.jsx(ha,{id:"cli-juejin-enabled",isDisabled:d,isSelected:i,onChange:Y=>{N(Y)},children:E.jsxs(ha.Content,{children:[E.jsx(ha.Control,{children:E.jsx(ha.Indicator,{})}),"启用"]})})]}),E.jsxs("div",{className:"mt-4 flex items-start justify-between gap-4 text-sm",children:[E.jsxs("div",{children:[E.jsx("p",{className:"text-foreground",children:"关联账号"}),E.jsx("p",{className:"mt-1 text-xs text-muted",children:"用于识别云端用量归属"})]}),k?E.jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[$?E.jsx("img",{alt:G||"用户头像",className:"size-8 shrink-0 rounded-full object-cover",referrerPolicy:"no-referrer",src:$,title:G||void 0}):E.jsx("span",{"aria-hidden":"true",className:"inline-flex size-8 shrink-0 items-center justify-center rounded-full bg-accent/15 text-[13px] text-accent",title:G||void 0,children:(G||k).slice(0,1)}),E.jsxs("div",{className:"min-w-0 text-right",children:[E.jsx("p",{className:"truncate text-foreground",title:G||void 0,children:G||"已关联"}),E.jsx("p",{className:"break-all font-mono text-xs text-muted",title:K?void 0:"缺少 originUserId,请重新掘金登录关联",children:K??"缺少用户 ID(请重新登录关联)"})]})]}):E.jsx("span",{className:"text-muted",children:"未关联"})]}),i&&!k&&E.jsx("p",{className:"mt-3 text-xs text-amber-600 dark:text-amber-400",children:A?"尚未通过掘金登录关联账号;关联前不会上报。":"已开启同步但未关联用户 ID,上报将跳过。"})]}),E.jsx("div",{className:"mt-auto flex justify-end gap-2",children:k?E.jsx(mn,{isDisabled:d,onPress:()=>b(!0),variant:"danger",children:"退出登录"}):E.jsx(mn,{isDisabled:d,onPress:()=>w(!0),variant:"primary",children:"掘金登录"})}),E.jsx(_L,{isOpen:v,onConfirm:q,onOpenChange:w}),E.jsx(Be.Backdrop,{isOpen:p,onOpenChange:b,variant:"blur",children:E.jsx(Be.Container,{size:"sm",children:E.jsxs(Be.Dialog,{children:[E.jsx(Be.CloseTrigger,{"aria-label":"关闭"}),E.jsx(Be.Header,{children:E.jsx(Be.Heading,{children:"退出登录"})}),E.jsx(Be.Body,{className:"text-sm text-muted",children:"确认清除本机保存的用户 ID?清除后需重新通过掘金登录关联。"}),E.jsxs(Be.Footer,{className:"gap-2",children:[E.jsx(mn,{slot:"close",variant:"tertiary",children:"取消"}),E.jsx(mn,{isDisabled:d,onPress:()=>{M()},variant:"danger",children:"确认退出"})]})]})})})]})}function lN(){const[e,t]=y.useState(null),[l,r]=y.useState(!0),[i,s]=y.useState(null);return y.useEffect(()=>{let u=!1;return b2().then(f=>{u||(t(f),s(null))}).catch(f=>{u||s(f instanceof Error?f.message:"加载配置失败")}).finally(()=>{u||r(!1)}),()=>{u=!0}},[]),l?E.jsx("p",{className:"text-muted",children:"加载配置…"}):i?E.jsx(_x,{tone:"error",title:i}):e?E.jsx("div",{className:"flex flex-col gap-4",children:E.jsxs(D5,{className:"rounded-xl p-4",variant:"secondary",children:[E.jsx("h3",{className:"mb-3 text-sm font-medium text-foreground",children:"设备信息"}),E.jsxs("div",{className:"flex flex-col gap-2 text-sm",children:[E.jsx(Dc,{label:"设备 ID",value:e.deviceId}),E.jsx(Dc,{label:"上报起点",value:e.statsSince.slice(0,19).replace("T"," ")}),E.jsx(Dc,{label:"上次同步",value:e.lastSyncAt?new Date(e.lastSyncAt).toLocaleString():"从未"}),E.jsx(Dc,{label:"上次上报",value:e.lastUploadAt?new Date(e.lastUploadAt).toLocaleString():"从未"})]})]})}):E.jsx("p",{className:"text-sm text-muted",children:"当前为 Web 模式,设备信息仅在本机 CLI / 桌面端可见。"})}function Dc({label:e,value:t}){return E.jsxs("div",{className:"flex items-center justify-between gap-4 text-sm",children:[E.jsx("span",{className:"text-muted",children:e}),E.jsx("span",{className:"break-all text-right font-mono text-xs",children:t})]})}function aN({trigger:e,isOpen:t,onOpenChange:l,listenForOpenEvent:r=!0,hideTrigger:i=!1,activeTab:s,onTabChange:u}={}){const[f,d]=y.useState(!1),[h,p]=y.useState("sync"),b=t!==void 0,v=b?t:f,w=s??h,x=y.useCallback(C=>{b||d(C),l==null||l(C)},[b,l]),T=y.useCallback(C=>{s===void 0&&p(C),u==null||u(C)},[s,u]);return y.useEffect(()=>{if(!r)return;const C=N=>{const M=N.detail;M!=null&&M.tab&&T(M.tab),x(!0)};return window.addEventListener(Ch,C),()=>window.removeEventListener(Ch,C)},[r,x,T]),E.jsxs(E.Fragment,{children:[!i&&(e??E.jsxs(mn,{"aria-label":"设置",onPress:()=>x(!0),variant:"tertiary",children:[E.jsx(UL,{}),"设置"]})),E.jsx(Be.Backdrop,{isOpen:v,onOpenChange:x,variant:"blur",children:E.jsx(Be.Container,{className:"w-[760px] max-w-[min(760px,92vw)]",scroll:"inside",size:"lg",children:E.jsxs(Be.Dialog,{"aria-label":"设置",className:"overflow-hidden p-0",children:[E.jsx(Be.CloseTrigger,{"aria-label":"关闭设置",className:"z-20"}),E.jsx(Be.Body,{className:"m-0 flex-none overflow-hidden p-0",children:E.jsx(tN,{activeTab:w,onTabChange:T})})]})})})]})}/**
77
+ }`.trim(),document.head.prepend(i);let u=p=>{if(!(p.touches.length===2||l)){if(!t||t===document.documentElement||t===document.body){p.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&p.preventDefault()}},f=p=>{var w;let b=ve(p),v=p.relatedTarget;if(v&&Ao(v))v.focus({preventScroll:!0}),ev(v,Ao(b));else if(!v){let x=(w=b.parentElement)==null?void 0:w.closest("[tabindex]");x==null||x.focus({preventScroll:!0})}},d=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(p){let b=et(),v=b!=null&&Ao(b);d.call(this,{...p,preventScroll:!0}),(!p||!p.preventScroll)&&ev(this,v)};let h=er(M0(document,"touchstart",r,{passive:!1,capture:!0}),M0(document,"touchmove",u,{passive:!1,capture:!0}),M0(document,"blur",f,!0));return()=>{e(),h(),i.remove(),HTMLElement.prototype.focus=d}}function Fc(e,t,l){let r=e.style[t];return e.style[t]=l,()=>{e.style[t]=r}}function M0(e,t,l,r){return e.addEventListener(t,l,r),()=>{e.removeEventListener(t,l,r)}}function ev(e,t){t||!No?tv(e):No.addEventListener("resize",()=>tv(e),{once:!0})}function tv(e){let t=document.scrollingElement||document.documentElement,l=e;for(;l&&l!==t;){let r=i3(l);if(r!==document.documentElement&&r!==document.body&&r!==l){let i=r.getBoundingClientRect(),s=l.getBoundingClientRect();if(s.top<i.top||s.bottom>i.top+l.clientHeight){let u=i.bottom;No&&(u=Math.min(u,No.offsetTop+No.height));let f=s.top-i.top-((u-i.top)/2-s.height/2);r.scrollTo({top:Math.max(0,Math.min(r.scrollHeight-r.clientHeight,r.scrollTop+f)),behavior:"smooth"})}}l=r.parentElement}}function ER(e,t){let{triggerRef:l,popoverRef:r,groupRef:i,isNonModal:s,isKeyboardDismissDisabled:u,shouldCloseOnInteractOutside:f,...d}=e,h=d.trigger==="SubmenuTrigger",{overlayProps:p,underlayProps:b}=o4({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!s||h,isKeyboardDismissDisabled:u,shouldCloseOnInteractOutside:f},i??r),{overlayProps:v,arrowProps:w,placement:x,triggerAnchorPoint:T}=sR({...d,targetRef:l,overlayRef:r,isOpen:t.isOpen,onClose:s&&!h?t.close:null,getTargetRect:d.getTargetRect??(t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0)});s4({isDisabled:s||!t.isOpen}),y.useEffect(()=>{if(t.isOpen&&r.current)return s?QT((i==null?void 0:i.current)??r.current):n4([(i==null?void 0:i.current)??r.current],{shouldUseInert:!0})},[s,t.isOpen,r,i]);let{focusWithinProps:C}=Yo(e);return{popoverProps:Ce(p,v,C),arrowProps:w,underlayProps:b,placement:x,triggerAnchorPoint:T}}var c4={};c4={dismiss:"تجاهل"};var u4={};u4={dismiss:"Отхвърляне"};var f4={};f4={dismiss:"Odstranit"};var d4={};d4={dismiss:"Luk"};var h4={};h4={dismiss:"Schließen"};var m4={};m4={dismiss:"Απόρριψη"};var p4={};p4={dismiss:"Dismiss"};var g4={};g4={dismiss:"Descartar"};var b4={};b4={dismiss:"Lõpeta"};var v4={};v4={dismiss:"Hylkää"};var y4={};y4={dismiss:"Rejeter"};var x4={};x4={dismiss:"התעלם"};var S4={};S4={dismiss:"Odbaci"};var w4={};w4={dismiss:"Elutasítás"};var E4={};E4={dismiss:"Ignora"};var C4={};C4={dismiss:"閉じる"};var T4={};T4={dismiss:"무시"};var R4={};R4={dismiss:"Atmesti"};var M4={};M4={dismiss:"Nerādīt"};var A4={};A4={dismiss:"Lukk"};var L4={};L4={dismiss:"Negeren"};var k4={};k4={dismiss:"Zignoruj"};var N4={};N4={dismiss:"Descartar"};var D4={};D4={dismiss:"Dispensar"};var $4={};$4={dismiss:"Revocare"};var z4={};z4={dismiss:"Пропустить"};var P4={};P4={dismiss:"Zrušiť"};var O4={};O4={dismiss:"Opusti"};var j4={};j4={dismiss:"Odbaci"};var I4={};I4={dismiss:"Avvisa"};var B4={};B4={dismiss:"Kapat"};var H4={};H4={dismiss:"Скасувати"};var K4={};K4={dismiss:"取消"};var U4={};U4={dismiss:"關閉"};var F4={};F4={"ar-AE":c4,"bg-BG":u4,"cs-CZ":f4,"da-DK":d4,"de-DE":h4,"el-GR":m4,"en-US":p4,"es-ES":g4,"et-EE":b4,"fi-FI":v4,"fr-FR":y4,"he-IL":x4,"hr-HR":S4,"hu-HU":w4,"it-IT":E4,"ja-JP":C4,"ko-KR":T4,"lt-LT":R4,"lv-LV":M4,"nb-NO":A4,"nl-NL":L4,"pl-PL":k4,"pt-BR":N4,"pt-PT":D4,"ro-RO":$4,"ru-RU":z4,"sk-SK":P4,"sl-SI":O4,"sr-SP":j4,"sv-SE":I4,"tr-TR":B4,"uk-UA":H4,"zh-CN":K4,"zh-TW":U4};const CR=Symbol.for("react-aria.i18n.locale"),TR=Symbol.for("react-aria.i18n.strings");let Qr;class Au{constructor(t,l="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=l}getStringForLocale(t,l){let i=this.getStringsForLocale(l)[t];if(!i)throw new Error(`Could not find intl message ${t} in ${l} locale`);return i}getStringsForLocale(t){let l=this.strings[t];return l||(l=RR(t,this.strings,this.defaultLocale),this.strings[t]=l),l}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let l=window[CR];if(Qr===void 0){let i=window[TR];if(!i)return null;Qr={};for(let s in i)Qr[s]=new Au({[l]:i[s]},l)}let r=Qr==null?void 0:Qr[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}}function RR(e,t,l="en-US"){if(t[e])return t[e];let r=MR(e),i=AR(e);if(i&&t[`${r}-${i}`])return t[`${r}-${i}`];if(t[r])return t[r];for(let s in t)if(s.startsWith(r+"-"))return t[s];return t[l]}function MR(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function AR(e){if(Intl.Locale)return new Intl.Locale(e).script}const nv=new Map,lv=new Map;class LR{constructor(t,l){this.locale=t,this.strings=l}format(t,l){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(l,this):r}plural(t,l,r="cardinal"){let i=l["="+t];if(i)return typeof i=="function"?i():i;let s=this.locale+":"+r,u=nv.get(s);u||(u=new Intl.PluralRules(this.locale,{type:r}),nv.set(s,u));let f=u.select(t);return i=l[f]||l.other,typeof i=="function"?i():i}number(t){let l=lv.get(this.locale);return l||(l=new Intl.NumberFormat(this.locale),lv.set(this.locale,l)),l.format(t)}select(t,l){let r=t[l]||t.other;return typeof r=="function"?r():r}}const av=new WeakMap;function kR(e){let t=av.get(e);return t||(t=new Au(e),av.set(e,t)),t}function NR(e,t){return t&&Au.getGlobalDictionaryForPackage(t)||kR(e)}function l2(e,t){let{locale:l}=bi(),r=NR(e,t);return y.useMemo(()=>new LR(l,r),[l,r])}const rv={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function DR(e={}){let{style:t,isFocusable:l}=e,[r,i]=y.useState(!1),{focusWithinProps:s}=Yo({isDisabled:!l,onFocusWithinChange:f=>i(f)}),u=y.useMemo(()=>r?t:t?{...rv,...t}:rv,[r]);return{visuallyHiddenProps:{...s,style:u}}}function V4(e){let{children:t,elementType:l="div",isFocusable:r,style:i,...s}=e,{visuallyHiddenProps:u}=DR(e);return V.createElement(l,Ce(s,u),t)}function $R(e){return e&&e.__esModule?e.default:e}function mh(e){let{onDismiss:t,...l}=e,r=l2($R(F4),"@react-aria/overlays"),i=Kh(l,r.format("dismiss")),s=()=>{t&&t()};return V.createElement(V4,null,V.createElement("button",{...i,tabIndex:-1,onClick:s,style:{width:1,height:1}}))}const zR=V.forwardRef(({children:e,...t},l)=>{let r=y.useRef(!1),i=y.useContext(Ho),s=Ce(i||{},{...t,register(){r.current=!0,i&&i.register()}});return s.ref=bn(l||(i==null?void 0:i.ref)),Uh(i,s.ref),y.useEffect(()=>{r.current||(r.current=!0)},[]),V.createElement(Ho.Provider,{value:s},e)});function PR({children:e}){let t=y.useMemo(()=>({register:()=>{}}),[]);return V.createElement(Ho.Provider,{value:t},e)}const OR=y.createContext({});function _4(){return y.useContext(OR)??{}}const G4=V.createContext(null);function ph(e){let t=Nl(),{portalContainer:l=t?null:document.body,isExiting:r}=e,[i,s]=y.useState(!1),u=y.useMemo(()=>({contain:i,setContain:s}),[i,s]),{getContainer:f}=_4();if(!e.portalContainer&&f&&(l=f()),!l)return null;let d=e.children;return e.disableFocusManagement||(d=V.createElement(fR,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},d)),d=V.createElement(G4.Provider,{value:u},V.createElement(PR,null,V.createElement(Bo.Provider,{value:null},d))),D9.createPortal(d,l)}function q4(){let e=y.useContext(G4),t=e==null?void 0:e.setContain;Ne(()=>{t==null||t(!0)},[t])}function a2(e){let[t,l]=Ru(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[r,i]=y.useState(null);const s=y.useCallback(()=>{l(!0)},[l]),u=y.useCallback(()=>{l(!1)},[l]),f=y.useCallback(()=>{l(!t)},[l,t]);return{isOpen:t,setOpen:l,open:s,close:u,toggle:f,point:r,setPoint:i}}const Y4=y.createContext(null),iv=y.createContext(null),xz=y.forwardRef(function(t,l){[t,l]=yn(t,l,Y4);let r=y.useContext(yi),i=a2(t),s=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,u=Zc(l,s.isOpen),f=t.isExiting||!t.shouldSkipAnimation&&u||!1,d=oT(),{direction:h}=bi();if(d){let p=t.children;return typeof p=="function"&&(p=p({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),V.createElement(V.Fragment,null,p)}return s&&!s.isOpen&&!f?null:V.createElement(jR,{...t,triggerRef:t.triggerRef,state:s,popoverRef:l,isExiting:f,dir:h})});function jR({state:e,isExiting:t,UNSTABLE_portalContainer:l,clearContexts:r,...i}){var q,te;let s=y.useRef(null),u=y.useRef(null),f=y.useContext(iv),d=f&&i.trigger==="SubmenuTrigger",{popoverProps:h,underlayProps:p,arrowProps:b,placement:v,triggerAnchorPoint:w}=ER({...i,offset:i.offset??8,arrowRef:s,groupRef:d?f:u},e),x=i.popoverRef,T=wu(x,!!v),C=i.isEntering||!i.shouldSkipAnimation&&T||!1,N=At({...i,defaultClassName:"react-aria-Popover",values:{trigger:i.trigger||null,placement:v,isEntering:C,isExiting:t}}),M=!i.isNonModal||i.trigger==="SubmenuTrigger"||i.trigger==="PreviewTrigger",[L,k]=y.useState(i.trigger==="PreviewTrigger");Ne(()=>{x.current&&k(M&&!x.current.querySelector("[role=dialog]"))},[x,M]),y.useEffect(()=>{L&&i.trigger!=="PreviewTrigger"&&(i.trigger!=="SubmenuTrigger"||pa()!=="pointer")&&x.current&&!Oo(x.current)&&va(x.current)},[L,x,i.trigger]);let B=y.useMemo(()=>{let ne=N.children;if(r)for(let j of r)ne=V.createElement(j.Provider,{value:null},ne);return ne},[N.children,r]),[G,$]=y.useState(null),A=y.useCallback(()=>{i.triggerRef.current&&$(i.triggerRef.current.getBoundingClientRect().width+"px")},[i.triggerRef]);Ne(A,[A]),W0({ref:(q=N.style)!=null&&q["--trigger-width"]?void 0:i.triggerRef,onResize:A});let U={...h.style,"--trigger-anchor-point":w?`${w.x}px ${w.y}px`:void 0,...N.style,"--trigger-width":((te=N.style)==null?void 0:te["--trigger-width"])||G},K=V.createElement(ut.div,{...Ce(mt(i,{global:!0}),h),...N,id:L?i.id:void 0,role:L?"dialog":void 0,tabIndex:L?-1:void 0,"aria-label":i["aria-label"],"aria-labelledby":i["aria-labelledby"],ref:x,slot:i.slot||void 0,style:U,dir:i.dir,"data-trigger":i.trigger,"data-placement":v,"data-entering":C||void 0,"data-exiting":t||void 0},!i.isNonModal&&V.createElement(mh,{onDismiss:e.close}),V.createElement(t4.Provider,{value:{...b,placement:v,ref:s}},B),V.createElement(mh,{onDismiss:e.close}));return d?V.createElement(ph,{...i,shouldContainFocus:L&&i.trigger!=="PreviewTrigger",isExiting:t,portalContainer:l??(f==null?void 0:f.current)??void 0},K):V.createElement(ph,{...i,shouldContainFocus:L&&i.trigger!=="PreviewTrigger",isExiting:t,portalContainer:l},!i.isNonModal&&e.isOpen&&V.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),V.createElement("div",{ref:u,style:{display:"contents"}},V.createElement(iv.Provider,{value:u},K)))}class vi{constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,l,r){let i=this.clone();return l.addDescendants(i,t),i}}class X4 extends vi{filter(t,l,r){let[i,s]=W4(t,l,this.firstChildKey,r),u=this.clone();return u.firstChildKey=i,u.lastChildKey=s,u}}const T2=class T2 extends vi{};T2.type="header";let ov=T2;const R2=class R2 extends vi{};R2.type="loader";let sv=R2;const M2=class M2 extends X4{filter(t,l,r){if(r(this.textValue,this)){let i=this.clone();return l.addDescendants(i,t),i}return null}};M2.type="item";let cv=M2;const A2=class A2 extends X4{filter(t,l,r){let i=super.filter(t,l,r);if(i&&i.lastChildKey!==null){let s=t.getItem(i.lastChildKey);if(s&&s.type!=="header")return i}return null}};A2.type="section";let uv=A2;class IR{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let l=this.keyMap;return{*[Symbol.iterator](){let r=l.get(t),i=(r==null?void 0:r.firstChildKey)!=null?l.get(r.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?l.get(i.nextKey):void 0}}}getKeyBefore(t){let l=this.keyMap.get(t);if(!l)return null;if(l.prevKey!=null){for(l=this.keyMap.get(l.prevKey);l&&l.type!=="item"&&l.lastChildKey!=null;)l=this.keyMap.get(l.lastChildKey);return(l==null?void 0:l.key)??null}return l.parentKey}getKeyAfter(t){let l=this.keyMap.get(t);if(!l)return null;if(l.type!=="item"&&l.firstChildKey!=null)return l.firstChildKey;for(;l;){if(l.nextKey!=null)return l.nextKey;if(l.parentKey!=null)l=this.keyMap.get(l.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);return(t==null?void 0:t.key)??null}getItem(t){return this.keyMap.get(t)??null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,l=new t;return l.keyMap=new Map(this.keyMap),l.firstKey=this.firstKey,l.lastKey=this.lastKey,l.itemCount=this.itemCount,l}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,l){this.addNode(t);let r=l.getChildren(t.key);for(let i of r)this.addDescendants(i,l)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let l=this.keyMap.get(t);l!=null&&l.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,l,r=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=l,this.frozen=!r}filter(t){let l=new this.constructor,[r,i]=W4(this,l,this.firstKey,t);return l==null||l.commit(r,i),l}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function W4(e,t,l,r){if(l==null)return[null,null];let i=null,s=null,u=e.getItem(l);for(;u!=null;){let f=u.filter(e,t,r);f!=null&&(f.nextKey=null,s&&(f.prevKey=s.key,s.nextKey=f.key),i==null&&(i=f),t.addNode(f),s=f),u=u.nextKey!=null?e.getItem(u.nextKey):null}if(s&&s.type==="separator"){let f=s.prevKey;t.removeNode(s.key),f!=null?(s=t.getItem(f),s.nextKey=null):s=null}return[(i==null?void 0:i.key)??null,(s==null?void 0:s.key)??null]}class Z4{constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)==null?void 0:t.isConnected)||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,l){if(l==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=l,t.previousSibling=l.previousSibling,t.index=l.index-1,this.firstChild===l?this.firstChild=t:l.previousSibling&&(l.previousSibling.nextSibling=t),l.previousSibling=t,t.parentNode=l.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}}class hi extends Z4{constructor(t,l){super(l),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){var t;return this.parentNode instanceof hi?this.parentNode.level+(((t=this.parentNode.node)==null?void 0:t.type)==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){var r,i,s,u,f,d,h,p;let t=this.nextVisibleSibling,l=this.getMutableNode();if(l!=null&&(l.index=this.index,l.level=this.level,l.parentKey=this.parentNode instanceof hi?((r=this.parentNode.node)==null?void 0:r.key)??null:null,l.prevKey=((s=(i=this.previousVisibleSibling)==null?void 0:i.node)==null?void 0:s.key)??null,l.nextKey=((u=t==null?void 0:t.node)==null?void 0:u.key)??null,l.hasChildNodes=!!this.firstChild,l.firstChildKey=((d=(f=this.firstVisibleChild)==null?void 0:f.node)==null?void 0:d.key)??null,l.lastChildKey=((p=(h=this.lastVisibleChild)==null?void 0:h.node)==null?void 0:p.key)??null,(l.colSpan!=null||l.colIndex!=null)&&t)){let b=(l.colIndex??l.index)+(l.colSpan??1);if(t.node!=null&&b!==t.node.colIndex){let v=t.getMutableNode();v.colIndex=b}}}setProps(t,l,r,i,s){let u,{value:f,textValue:d,id:h,...p}=t;if(this.node==null?(u=new r(h??`react-aria-${++this.ownerDocument.nodeId}`),this.node=u):u=this.getMutableNode(),p.ref=l,u.props=p,u.rendered=i,u.render=s,u.value=f,t["aria-label"]&&(u["aria-label"]=t["aria-label"]),u.textValue=d||(typeof p.children=="string"?p.children:"")||t["aria-label"]||"",h!=null&&h!==u.key)throw new Error("Cannot change the id of an item");p.colSpan!=null&&(u.colSpan=p.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(l){var i,s;let r=l==="none";if(t.isHidden!==r){(((i=t.parentNode)==null?void 0:i.firstVisibleChild)===t||((s=t.parentNode)==null?void 0:s.lastVisibleChild)===t)&&t.ownerDocument.markDirty(t.parentNode);let u=t.previousVisibleSibling,f=t.nextVisibleSibling;u&&t.ownerDocument.markDirty(u),f&&t.ownerDocument.markDirty(f),t.isHidden=r,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}}class BR extends Z4{constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}get isConnected(){return!0}createElement(t){return new hi(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let l=this.getMutableCollection();if(!l.getItem(t.node.key))for(let r of t)this.addNode(r);l.addNode(t.node)}removeNode(t){for(let l of t)this.removeNode(l);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection:(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){var t,l,r,i;for(let s of this.dirtyNodes)s instanceof hi&&(!s.isConnected||s.isHidden)?this.removeNode(s):s.updateChildIndices();for(let s of this.dirtyNodes)s instanceof hi?(s.isConnected&&!s.isHidden&&(s.updateNode(),this.addNode(s)),s.node&&this.dirtyNodes.delete(s),s.isMutated=!1):this.dirtyNodes.delete(s);this.nextCollection&&(this.nextCollection.commit(((l=(t=this.firstVisibleChild)==null?void 0:t.node)==null?void 0:l.key)??null,((i=(r=this.lastVisibleChild)==null?void 0:r.node)==null?void 0:i.key)??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone());for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),this.queuedRender&&t(),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}}function Q4(e){let{children:t,items:l,idScope:r,addIdAndValue:i,dependencies:s=[]}=e,u=y.useMemo(()=>{},[t]),f=y.useMemo(()=>new WeakMap,[...s,u]);return y.useMemo(()=>{if(l&&typeof t=="function"){let d=[];for(let h of l){let p=HR(h)?h:null,b=p?f.get(p):null;if(!b){b=t(h);let v=b.props.id??(h==null?void 0:h.key)??(h==null?void 0:h.id);r!=null&&b.props.id==null&&v!=null&&(v=r+":"+v);let w=v??d.length;b=y.cloneElement(b,i?{key:w,id:v,value:h}:{key:w}),p&&f.set(p,b)}d.push(b)}return d}else if(typeof t!="function")return t},[t,l,f,r,i])}function HR(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var Lu=By();const J4=y.createContext(!1),Uo=y.createContext(null);function KR(e){if(y.useContext(Uo))return e.content;let{collection:l,document:r}=_R(e.createCollection);return V.createElement(V.Fragment,null,V.createElement(iT,null,V.createElement(Uo.Provider,{value:r},e.content)),V.createElement(UR,{render:e.children,collection:l}))}function UR({collection:e,render:t}){return t(e)}function FR(e,t,l){let r=Nl(),i=y.useRef(r);i.current=r;let s=y.useCallback(()=>i.current?l():t(),[t,l]);return Lu.useSyncExternalStore(e,s)}const VR=typeof V.useSyncExternalStore=="function"?V.useSyncExternalStore:FR;function _R(e){let[t]=y.useState(()=>new BR((e==null?void 0:e())||new IR)),l=y.useCallback(u=>t.subscribe(u),[t]),r=y.useCallback(()=>{let u=t.getCollection();return t.isSSR&&t.resetAfterSSR(),u},[t]),i=y.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:VR(l,r,i),document:t}}const gh=y.createContext(null);function GR(e){var l;return l=class extends vi{},l.type=e,l}function e5(e,t,l,r,i,s){typeof e=="string"&&(e=GR(e));let u=y.useCallback(d=>{d==null||d.setProps(t,l,e,r,s)},[t,l,r,s,e]),f=y.useContext(gh);if(f){let d=f.ownerDocument.nodesByProps.get(t);return d||(d=f.ownerDocument.createElement(e.type),d.setProps(t,l,e,r,s),f.appendChild(d),f.ownerDocument.updateCollection(),f.ownerDocument.nodesByProps.set(t,d)),i?V.createElement(gh.Provider,{value:d},i):null}return V.createElement(e.type,{ref:u},i)}function qR(e,t){let l=({node:i})=>t(i.props,i.props.ref,i),r=y.forwardRef((i,s)=>{let u=y.useContext(Bo);if(!y.useContext(J4)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(i,s)}return e5(e,i,s,"children"in i?i.children:null,null,d=>V.createElement(Bo.Provider,{value:u},V.createElement(l,{node:d})))});return r.displayName=t.name,r}function Sz(e,t,l=t5){let r=({node:s})=>t(s.props,s.props.ref,s),i=y.forwardRef((s,u)=>{let f=l(s);return e5(e,s,u,null,f,d=>V.createElement(r,{node:d}))??V.createElement(V.Fragment,null)});return i.displayName=t.name,i}function t5(e){return Q4({...e,addIdAndValue:!0})}const fv=y.createContext(null);function YR(e){let t=y.useContext(fv),l=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),r=e.idScope??(t==null?void 0:t.idScope),i=t5({...e,idScope:r,dependencies:l});return y.useContext(Uo)&&(i=V.createElement(XR,null,i)),t=y.useMemo(()=>({dependencies:l,idScope:r}),[r,...l]),V.createElement(fv.Provider,{value:t},i)}function XR({children:e}){let t=y.useContext(Uo),l=y.useMemo(()=>V.createElement(Uo.Provider,{value:null},V.createElement(J4.Provider,{value:!0},e)),[e]);return Nl()?V.createElement(gh.Provider,{value:t},l):al.createPortal(l,t)}const wz=y.createContext(null),n5={CollectionRoot({collection:e,renderDropIndicator:t}){return dv(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:l}){return dv(e,t,l)}};function dv(e,t,l){return Q4({items:t?e.getChildren(t.key):e,dependencies:[l],children(r){if(r.type==="content")return V.createElement(V.Fragment,null);let i=r.render(r);return!l||r.type!=="item"?i:V.createElement(V.Fragment,null,l({type:"item",key:r.key,dropPosition:"before"}),i,WR(e,r,l))}})}function WR(e,t,l){let r=t.key,i=e.getKeyAfter(r),s=i!=null?e.getItem(i):null;for(;s!=null&&s.type!=="item";)i=e.getKeyAfter(s.key),s=i!=null?e.getItem(i):null;let u=t.nextKey!=null?e.getItem(t.nextKey):null;for(;u!=null&&u.type!=="item";)u=u.nextKey!=null?e.getItem(u.nextKey):null;let f=[];if(u==null){let d=t;for(;(d==null?void 0:d.type)==="item"&&(!s||d.parentKey!==s.parentKey&&s.level<d.level);){let h=l({type:"item",key:d.key,dropPosition:"after"});y.isValidElement(h)&&f.push(y.cloneElement(h,{key:`${d.key}-after`})),d=d.parentKey!=null?e.getItem(d.parentKey):null}}return f}const l5=y.createContext(n5);function ZR(e){return y.useMemo(()=>e!=null?new Set([e]):null,[e])}function a5(e){let t=JR(He(e));t!==e&&(t&&QR(t,e),e&&r5(e,t))}function QR(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function r5(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function JR(e){let t=et(e),l=t==null?void 0:t.getAttribute("aria-activedescendant");return l&&e.getElementById(l)||t}const i5=y.createContext(null);function eM(e){let t=y.useRef({});return V.createElement(i5.Provider,{value:t},e.children)}const tM=y.forwardRef(function(t,l){let{name:r,isVisible:i=!0,children:s,className:u,style:f,render:d,...h}=t,[p,b]=y.useState(i?"visible":"hidden"),v=y.useContext(i5);if(!v)throw new Error("<SharedElement> must be rendered inside a <SharedElementTransition>");i&&p==="hidden"&&b("visible"),l=bn(l),Ne(()=>{let x=l.current,T=v.current,C=T[r],N=null;if(x&&i&&C){b("visible");let M=x.getAnimations(),L=C.style.map(([k,B])=>{let G=x.style[k];if(k==="translate"){let $=C.rect,A=x.getBoundingClientRect(),U=$.left-(A==null?void 0:A.left),K=$.top-(A==null?void 0:A.top);x.style.translate=`${U}px ${K}px`}else x.style[k]=B;return[k,G]});for(let k of x.getAnimations())M.includes(k)||k.cancel();N=requestAnimationFrame(()=>{N=null;for(let[k,B]of L)x.style[k]=B}),delete T[r]}else x&&i&&!C?(queueMicrotask(()=>al.flushSync(()=>b("entering"))),N=requestAnimationFrame(()=>{N=null,b("visible")})):x&&!i&&queueMicrotask(()=>{T[r]?(delete T[r],al.flushSync(()=>b("exiting")),Promise.all(x.getAnimations().map(M=>M.finished)).then(()=>b("hidden")).catch(()=>{})):b("hidden")});return()=>{if(N!=null&&cancelAnimationFrame(N),x&&x.isConnected&&!x.hasAttribute("data-exiting")){let M=window.getComputedStyle(x);if(M.transitionProperty!=="none"){let L=M.transitionProperty.split(/\s*,\s*/);T[r]={rect:x.getBoundingClientRect(),style:L.map(k=>[k,M[k]])}}}}},[l,v,r,i]);let w=At({children:s,className:u,style:f,render:d,values:{isEntering:p==="entering",isExiting:p==="exiting"}});return p==="hidden"?null:V.createElement(ut.div,{...h,...w,ref:l,"data-entering":p==="entering"||void 0,"data-exiting":p==="exiting"||void 0})}),o5=y.createContext({isSelected:!1}),nM=y.forwardRef(function(t,l){[t,l]=yn(t,l,o5);let{isSelected:r,...i}=t;return V.createElement(tM,{...i,ref:l,className:t.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:r})}),ku=y.createContext({}),s5=y.forwardRef(function(t,l){[t,l]=yn(t,l,ku);let{elementType:r="span",...i}=t,s=ut[r];return V.createElement(s,{className:"react-aria-Text",...i,ref:l})}),lM=500;function aM(e){let{isDisabled:t,pointerType:l,onLongPressStart:r,onLongPressEnd:i,onLongPress:s,threshold:u=lM,accessibilityDescription:f}=e;const d=y.useRef(void 0);let{addGlobalListener:h,removeAllGlobalListeners:p}=Su(),b=x=>l?x.pointerType===l:x.pointerType==="mouse"||x.pointerType==="touch",{pressProps:v}=lr({isDisabled:t,onPressStart(x){if(x.continuePropagation(),b(x)){r&&r({...x,type:"longpressstart"}),d.current=setTimeout(()=>{x.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),h(x.target,"click",C=>C.preventDefault(),{once:!0}),He(x.target).activeElement!==x.target&&en(x.target),s&&s({...x,type:"longpress"}),d.current=void 0},u),x.pointerType==="touch"&&h(x.target,"contextmenu",C=>C.preventDefault(),{once:!0});let T=jt(x.target);h(T,"pointerup",()=>{setTimeout(()=>{p()},100)},{once:!0})}},onPressEnd(x){d.current&&clearTimeout(d.current),i&&b(x)&&i({...x,type:"longpressend"})}}),w=Zw(s&&!t?f:void 0);return{longPressProps:Ce(v,w)}}function rM(e,t,l){let{type:r}=e,{isOpen:i}=t;y.useEffect(()=>{l&&l.current&&a4.set(l.current,t.close)});let s;r==="menu"?s=!0:r==="listbox"&&(s="listbox");let u=_n();return{triggerProps:{"aria-haspopup":s,"aria-expanded":i,"aria-controls":i?u:void 0,onPress:t.toggle},overlayProps:{id:u}}}function bh(e){return hw()?e.altKey:e.ctrlKey}function A0(e,t){var i,s;let l=`[data-key="${CSS.escape(String(t))}"]`,r=(i=e.current)==null?void 0:i.dataset.collection;return r&&(l=`[data-collection="${CSS.escape(r)}"]${l}`),(s=e.current)==null?void 0:s.querySelector(l)}const c5=new WeakMap;function iM(e){let t=_n();return c5.set(e,t),t}function oM(e){return c5.get(e)}const hv=1e3;function sM(e){let{keyboardDelegate:t,selectionManager:l,onTypeSelect:r}=e,i=y.useRef({search:"",timeout:void 0}),s=f=>{if(i.current.search.length>0&&f.key===" "){if(f.preventDefault(),(!("continuePropagation"in f)||"continuePropagation"in f&&!f.isPropagationStopped())&&f.stopPropagation(),i.current.search+=" ",t.getKeyForSearch!=null){let d=t.getKeyForSearch(i.current.search,l.focusedKey);d==null&&(d=t.getKeyForSearch(i.current.search)),d!=null&&(l.setFocusedKey(d),r&&r(d))}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},hv)}},u=f=>{let d=cM(f.key);if(!(!d||f.ctrlKey||f.metaKey||f.altKey||!Ie(f.currentTarget,ve(f))||i.current.search.length===0&&d===" ")){if(i.current.search+=d,t.getKeyForSearch!=null){let h=t.getKeyForSearch(i.current.search,l.focusedKey);if(h==null&&(h=t.getKeyForSearch(i.current.search)),h!=null)l.setFocusedKey(h),r&&r(h),f.preventDefault(),"continuePropagation"in f||f.stopPropagation();else{i.current.search="",clearTimeout(i.current.timeout),i.current.timeout=void 0;return}}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},hv)}};return y.useEffect(()=>{let f=i.current.timeout;return()=>{clearTimeout(f)}},[i]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?s:void 0,onKeyDown:t.getKeyForSearch?u:void 0}}}function cM(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function uM(e){var it;let{selectionManager:t,keyboardDelegate:l,ref:r,autoFocus:i=!1,shouldFocusWrap:s=!1,disallowEmptySelection:u=!1,disallowSelectAll:f=!1,escapeKeyBehavior:d="clearSelection",selectOnFocus:h=t.selectionBehavior==="replace",disallowTypeAhead:p=!1,shouldUseVirtualFocus:b,allowsTabNavigation:v=!1,scrollRef:w=r,linkBehavior:x="action",UNSTABLE_focusOnEntry:T}=e,{direction:C}=bi(),N=Go();const M=(ue,fe,Ee)=>{if(fe!=null){if(t.isLink(fe)&&x==="selection"&&h&&!bh(ue)){al.flushSync(()=>{t.setFocusedKey(fe,Ee)});let _e=A0(r,fe),Fe=t.getItemProps(fe);if(_e){N.open(_e,ue,Fe.href,Fe.routerOptions);return}return!1}if(t.setFocusedKey(fe,Ee),t.isLink(fe)&&x==="override")return!1;if(ue.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(fe);return}else if(h&&!bh(ue)){t.replaceSelection(fe);return}}return!1};let L=ue=>{var fe,Ee,_e;if(l.getKeyBelow){let Fe=t.focusedKey!=null?(fe=l.getKeyBelow)==null?void 0:fe.call(l,t.focusedKey):(Ee=l.getFirstKey)==null?void 0:Ee.call(l);if(Fe==null&&s&&(Fe=(_e=l.getFirstKey)==null?void 0:_e.call(l,t.focusedKey)),Fe!=null){M(ue,Fe);return}}return!1},k=ue=>{var fe,Ee,_e;if(l.getKeyAbove){let Fe=t.focusedKey!=null?(fe=l.getKeyAbove)==null?void 0:fe.call(l,t.focusedKey):(Ee=l.getLastKey)==null?void 0:Ee.call(l);if(Fe==null&&s&&(Fe=(_e=l.getLastKey)==null?void 0:_e.call(l,t.focusedKey)),Fe!=null){M(ue,Fe);return}}return!1},B=ue=>{if(l.getFirstKey){if(t.focusedKey===null&&ue.shiftKey)return!1;let fe=l.getFirstKey(t.focusedKey,To(ue));if(t.setFocusedKey(fe),fe!=null){if(To(ue)&&ue.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(fe);return}else if(h){t.replaceSelection(fe);return}}}return!1},G=ue=>{var fe,Ee,_e,Fe;if(l.getKeyLeftOf){let kt=t.focusedKey!=null?(fe=l.getKeyLeftOf)==null?void 0:fe.call(l,t.focusedKey):(Ee=l.getFirstKey)==null?void 0:Ee.call(l);if(kt==null&&s&&(kt=C==="rtl"?(_e=l.getFirstKey)==null?void 0:_e.call(l,t.focusedKey):(Fe=l.getLastKey)==null?void 0:Fe.call(l,t.focusedKey)),kt!=null){M(ue,kt,C==="rtl"?"first":"last");return}}return!1},$=ue=>{var fe,Ee,_e,Fe;if(l.getKeyRightOf){let kt=t.focusedKey!=null?(fe=l.getKeyRightOf)==null?void 0:fe.call(l,t.focusedKey):(Ee=l.getFirstKey)==null?void 0:Ee.call(l);if(kt==null&&s&&(kt=C==="rtl"?(_e=l.getLastKey)==null?void 0:_e.call(l,t.focusedKey):(Fe=l.getFirstKey)==null?void 0:Fe.call(l,t.focusedKey)),kt!=null){M(ue,kt,C==="rtl"?"last":"first");return}}return!1},A=ue=>{if(l.getLastKey){if(t.focusedKey===null&&ue.shiftKey)return!1;let fe=l.getLastKey(t.focusedKey,To(ue));if(t.setFocusedKey(fe),fe!=null){if(To(ue)&&ue.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(fe);return}else if(h){t.replaceSelection(fe);return}}}return!1},U=ue=>{if(l.getKeyPageBelow&&t.focusedKey!=null){let fe=l.getKeyPageBelow(t.focusedKey);if(fe!=null)return M(ue,fe)}return!1},K=ue=>{if(l.getKeyPageAbove&&t.focusedKey!=null){let fe=l.getKeyPageAbove(t.focusedKey);if(fe!=null)return M(ue,fe)}return!1},q=()=>{if(t.selectionMode==="multiple"&&f!==!0){t.selectAll();return}return!1},te=()=>{if(d==="clearSelection"&&!u&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},ne=()=>{if(!v&&r.current){let ue=ll(r.current,{tabbable:!0}),fe,Ee;do Ee=ue.lastChild(),Ee&&(fe=Ee);while(Ee);let _e=et();fe&&(!Oo(fe)||_e&&!_h(_e))&&en(fe)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},j=()=>(!v&&r.current&&r.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),Y=(ue,fe)=>({[Vn()?ue+"+Shift+Alt":ue+"+Shift+Control"]:fe,[ue+"+Shift"]:fe,[Vn()?ue+"+Alt":ue+"+Control"]:fe,[ue]:fe}),{keyboardProps:z}=lu({shortcuts:{...Y("ArrowDown",L),...Y("ArrowUp",k),...Y("ArrowLeft",G),...Y("ArrowRight",$),...Y("PageDown",U),...Y("PageUp",K)},allowRepeats:!0}),{keyboardProps:O}=lu({shortcuts:{...Y("Home",B),...Y("End",A),"Mod+A":q,Escape:te,Tab:ne,"Tab+Shift":j}}),oe=y.useRef({top:0,left:0});xc(w,"scroll",()=>{var ue,fe;oe.current={top:((ue=w.current)==null?void 0:ue.scrollTop)??0,left:((fe=w.current)==null?void 0:fe.scrollLeft)??0}});let J=ue=>{var _e,Fe,kt,Sn;if(t.isFocused){Ie(ue.currentTarget,ve(ue))||t.setFocused(!1);return}if(!Ie(ue.currentTarget,ve(ue)))return;let fe=pa();t.setFocused(!0);let Ee=pt=>{pt!=null&&(t.setFocusedKey(pt),h&&!t.isSelected(pt)&&t.replaceSelection(pt))};if(T&&(fe==="keyboard"||fe==="virtual"))Ee(T==="first"?(_e=l.getFirstKey)==null?void 0:_e.call(l):(Fe=l.getLastKey)==null?void 0:Fe.call(l));else if(t.focusedKey==null){let pt=ue.relatedTarget;pt&&ue.currentTarget.compareDocumentPosition(pt)&Node.DOCUMENT_POSITION_FOLLOWING?Ee(t.lastSelectedKey??((kt=l.getLastKey)==null?void 0:kt.call(l))):Ee(t.firstSelectedKey??((Sn=l.getFirstKey)==null?void 0:Sn.call(l)))}else w.current&&(w.current.scrollTop=oe.current.top,w.current.scrollLeft=oe.current.left);if(t.focusedKey!=null&&w.current){let pt=A0(r,t.focusedKey);pt instanceof HTMLElement&&(!Oo(pt)&&!b&&en(pt),(fe==="keyboard"||T&&fe==="virtual")&&xb(pt,{containingElement:r.current}))}},_=ue=>{Ie(ue.currentTarget,ue.relatedTarget)||t.setFocused(!1)},D=y.useRef(!1);xc(r,fw,b?ue=>{let{detail:fe}=ue;ue.stopPropagation(),t.setFocused(!0),(fe==null?void 0:fe.focusStrategy)==="first"&&(D.current=!0)}:void 0);let Q=((it=l.getFirstKey)==null?void 0:it.call(l))??null;yb(()=>{if(D.current)if(Q==null){let ue=et();a5(r.current),r5(ue,null),t.collection.size>0&&(D.current=!1)}else t.setFocusedKey(Q),D.current=!1},[Q,t.collection.size]),yb(()=>{t.collection.size>0&&(D.current=!1)},[t.focusedKey]),xc(r,uw,b?ue=>{var fe;ue.stopPropagation(),t.setFocused(!1),(fe=ue.detail)!=null&&fe.clearFocusKey&&t.setFocusedKey(null)}:void 0);const se=y.useRef(i),ce=y.useRef(!1);y.useEffect(()=>{var ue,fe;if(se.current){let Ee=null;i==="first"&&(Ee=((ue=l.getFirstKey)==null?void 0:ue.call(l))??null),i==="last"&&(Ee=((fe=l.getLastKey)==null?void 0:fe.call(l))??null);let _e=t.selectedKeys;if(_e.size){for(let Fe of _e)if(t.canSelectItem(Fe)){Ee=Fe;break}}t.setFocused(!0),t.setFocusedKey(Ee),Ee==null&&!b&&r.current&&va(r.current),t.collection.size>0&&(se.current=!1,ce.current=!0)}});let H=y.useRef(t.focusedKey),ie=y.useRef(null);y.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==H.current||ce.current)&&w.current&&r.current){let ue=pa(),fe=A0(r,t.focusedKey);if(!(fe instanceof HTMLElement))return;(ue==="keyboard"||ce.current)&&(ie.current&&cancelAnimationFrame(ie.current),ie.current=requestAnimationFrame(()=>{w.current&&(Hc(w.current,fe),ue!=="virtual"&&xb(fe,{containingElement:r.current}))}))}!b&&t.isFocused&&t.focusedKey==null&&H.current!=null&&r.current&&va(r.current),H.current=t.focusedKey,ce.current=!1}),y.useEffect(()=>()=>{ie.current&&cancelAnimationFrame(ie.current)},[]),xc(r,"react-aria-focus-scope-restore",ue=>{ue.preventDefault(),t.setFocused(!0)});let xe={...Ce(O,z),onFocus:J,onBlur:_,onMouseDown(ue){w.current===ve(ue)&&ue.preventDefault()}},{typeSelectProps:Ae}=sM({keyboardDelegate:l,selectionManager:t});p||(xe=Ce(Ae,xe));let de;b||(de=t.focusedKey==null?0:-1);let Lt=iM(t.collection);return{collectionProps:Ce(xe,{tabIndex:de,"data-collection":Lt})}}function fM(e){let{id:t,selectionManager:l,key:r,ref:i,shouldSelectOnPressUp:s,shouldUseVirtualFocus:u,focus:f,isDisabled:d,onAction:h,allowsDifferentPressOrigin:p,linkBehavior:b="action"}=e,v=Go();t=_n(t);let w=H=>{if(H.pointerType==="keyboard"&&bh(H))l.toggleSelection(r);else{if(l.selectionMode==="none")return;if(l.isLink(r)){if(b==="selection"&&i.current){let ie=l.getItemProps(r);v.open(i.current,H,ie.href,ie.routerOptions),l.setSelectedKeys(l.selectedKeys);return}else if(b==="override"||b==="none")return}l.selectionMode==="single"?l.isSelected(r)&&!l.disallowEmptySelection?l.toggleSelection(r):l.replaceSelection(r):H&&H.shiftKey?l.extendSelection(r):l.selectionBehavior==="toggle"||H&&(To(H)||H.pointerType==="touch"||H.pointerType==="virtual")?l.toggleSelection(r):l.replaceSelection(r)}};y.useEffect(()=>{r===l.focusedKey&&l.isFocused&&(u?a5(i.current):f?f():et()!==i.current&&i.current&&va(i.current))},[i,r,l.focusedKey,l.childFocusStrategy,l.isFocused,u]),d=d||l.isDisabled(r);let x={};!u&&!d?x={tabIndex:r===l.focusedKey?0:-1,onFocus(H){ve(H)===i.current&&l.setFocusedKey(r)}}:d&&(x.onMouseDown=H=>{H.preventDefault()}),y.useEffect(()=>{d&&l.focusedKey===r&&l.setFocusedKey(null)},[l,d,r]);let T=l.isLink(r)&&b==="override",C=h&&e.UNSTABLE_itemBehavior==="action",N=l.isLink(r)&&b!=="selection"&&b!=="none",M=!d&&l.canSelectItem(r)&&!T&&!C,L=(h||N)&&!d,k=L&&(l.selectionBehavior==="replace"?!M:!M||l.isEmpty),B=L&&M&&l.selectionBehavior==="replace",G=k||B,$=y.useRef(null),A=G&&M,U=y.useRef(!1),K=y.useRef(!1),q=l.getItemProps(r),te=H=>{var ie;h&&(h(),(ie=i.current)==null||ie.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),N&&i.current&&v.open(i.current,H,q.href,q.routerOptions)},ne={ref:i};s?(ne.onPressStart=H=>{$.current=H.pointerType,U.current=A,H.pointerType==="keyboard"&&(!G||pv(H.key))&&w(H)},p?(ne.onPressUp=k?void 0:H=>{H.pointerType==="mouse"&&M&&w(H)},ne.onPress=k?te:H=>{H.pointerType!=="keyboard"&&H.pointerType!=="mouse"&&M&&w(H)}):ne.onPress=H=>{if(k||B&&H.pointerType!=="mouse"){if(H.pointerType==="keyboard"&&!mv(H.key))return;te(H)}else H.pointerType!=="keyboard"&&M&&w(H)}):(ne.onPressStart=H=>{$.current=H.pointerType,U.current=A,K.current=k,M&&(H.pointerType==="mouse"&&!k||H.pointerType==="keyboard"&&(!L||pv(H.key)))&&w(H)},ne.onPress=H=>{(H.pointerType==="touch"||H.pointerType==="pen"||H.pointerType==="virtual"||H.pointerType==="keyboard"&&G&&mv(H.key)||H.pointerType==="mouse"&&K.current)&&(G?te(H):M&&w(H))});let j=oM(l.collection);if(x["data-collection"]=j,x["data-key"]=r,ne.preventFocusOnPress=u,u&&(ne=Ce(ne,{onPressStart(H){H.pointerType!=="touch"&&(l.setFocused(!0),l.setFocusedKey(r))},onPress(H){H.pointerType==="touch"&&(l.setFocused(!0),l.setFocusedKey(r))}})),q)for(let H of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])q[H]&&(ne[H]=er(ne[H],q[H]));let{pressProps:Y,isPressed:z}=lr(ne),O=B?H=>{$.current==="mouse"&&(H.stopPropagation(),H.preventDefault(),te(H))}:void 0,{longPressProps:oe}=aM({isDisabled:!A,onLongPress(H){H.pointerType==="touch"&&(w(H),l.setSelectionBehavior("toggle"))}}),J=H=>{$.current==="touch"&&U.current&&H.preventDefault()},_=b!=="none"&&l.isLink(r)?H=>{Al.isOpening||H.preventDefault()}:void 0,D=Ce(x,M||k||u&&!d?Y:{},A?oe:{},{onDoubleClick:O,onDragStartCapture:J,onClick:_,id:t},u?{onMouseDown:H=>H.preventDefault()}:void 0),Q=H=>{let ie=H;for(;ie&&ie!==i.current;){let xe=ie.getAttribute("data-collection");if(xe!=null)return xe!==j;ie=ie.parentElement}return _h(H)},se=D.onPointerDown;D.onPointerDown=H=>{let ie=ve(H);if(ie&&ie!==i.current&&Q(ie)){H.stopPropagation();return}se==null||se(H)};let ce=D.onMouseDown;return D.onMouseDown=H=>{let ie=ve(H);if(ie&&ie!==i.current&&Q(ie)){H.stopPropagation();return}ce==null||ce(H)},{itemProps:D,isPressed:z,isSelected:l.isSelected(r),isFocused:l.isFocused&&l.focusedKey===r,isDisabled:d,allowsSelection:M,hasAction:G}}function mv(e){return e==="Enter"}function pv(e){return e===" "}function dM(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function hM(e){return mM(e,0)}function mM(e,t){if(t<0)return;let l=0;for(let r of e){if(l===t)return r;l++}}function Ez(e){let t;for(let l of e)t=l;return t}function L0(e,t,l){if(t.parentKey===l.parentKey)return t.index-l.index;let r=[...gv(e,t),t],i=[...gv(e,l),l],s=r.slice(0,i.length).findIndex((u,f)=>u!==i[f]);return s!==-1?(t=r[s],l=i[s],t.index-l.index):r.findIndex(u=>u===l)>=0?1:(i.findIndex(u=>u===t)>=0,-1)}function gv(e,t){let l=[],r=t;for(;(r==null?void 0:r.parentKey)!=null;)r=e.getItem(r.parentKey),r&&l.unshift(r);return l}function pM(e){let t=a2(e),[l,r]=y.useState(null),[i,s]=y.useState([]),u=()=>{s([]),t.close()};return{focusStrategy:l,...t,open(h=null){r(h),t.open()},toggle(h=null){r(h),t.toggle()},close(){u()},expandedKeysStack:i,openSubmenu:(h,p)=>{s(b=>p>b.length?b:[...b.slice(0,p),h])},closeSubmenu:(h,p)=>{s(b=>b[p]===h?b.slice(0,p):b)}}}class Kn extends Set{constructor(t,l,r){super(t),t instanceof Kn?(this.anchorKey=l??t.anchorKey,this.currentKey=r??t.currentKey):(this.anchorKey=l??null,this.currentKey=r??null)}}class r2{constructor(t,l,r){this.collection=t,this.state=l,this.allowsCellSelection=(r==null?void 0:r.allowsCellSelection)??!1,this._isSelectAll=null,this.layoutDelegate=(r==null?void 0:r.layoutDelegate)||null,this.fullCollection=(r==null?void 0:r.fullCollection)||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,l){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,l)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let l=this.getKey(t);return l==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(l):this.state.selectedKeys.has(l)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),l=this.state.selectedKeys;return this._isSelectAll=t.every(r=>l.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let l of this.state.selectedKeys){let r=this.collection.getItem(l);(!t||r&&L0(this.collection,r,t)<0)&&(t=r)}return(t==null?void 0:t.key)??null}get lastSelectedKey(){let t=null;for(let l of this.state.selectedKeys){let r=this.collection.getItem(l);(!t||r&&L0(this.collection,r,t)>0)&&(t=r)}return(t==null?void 0:t.key)??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let l=this.getKey(t);if(l==null)return;let r;if(this.state.selectedKeys==="all")r=new Kn([l],l,l);else{let i=this.state.selectedKeys,s=i.anchorKey??l;r=new Kn(i,s,l);for(let u of this.getKeyRange(s,i.currentKey??l))r.delete(u);for(let u of this.getKeyRange(l,s))this.canSelectItem(u)&&r.add(u)}this.state.setSelectedKeys(r)}getKeyRange(t,l){let r=this.collection.getItem(t),i=this.collection.getItem(l);return r&&i?L0(this.collection,r,i)<=0?this.getKeyRangeInternal(t,l):this.getKeyRangeInternal(l,t):[]}getKeyRangeInternal(t,l){var s;if((s=this.layoutDelegate)!=null&&s.getKeyRange)return this.layoutDelegate.getKeyRange(t,l);let r=[],i=t;for(;i!=null;){let u=this.collection.getItem(i);if(u&&(u.type==="item"||u.type==="cell"&&this.allowsCellSelection)&&r.push(i),i===l)return r;i=this.collection.getKeyAfter(i)}return[]}getKey(t){let l=this.collection.getItem(t);if(!l||l.type==="cell"&&this.allowsCellSelection)return t;for(;l&&l.type!=="item"&&l.parentKey!=null;)l=this.collection.getItem(l.parentKey);return!l||l.type!=="item"?null:l.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let l=this.getKey(t);if(l==null)return;let r=new Kn(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(l)?r.delete(l):this.canSelectItem(l)&&(r.add(l),r.anchorKey=l,r.currentKey=l),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none")return;let l=this.getKey(t);if(l==null)return;let r=this.canSelectItem(l)?new Kn([l],l,l):new Kn;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let l=new Kn;for(let r of t){let i=this.getKey(r);if(i!=null&&(l.add(i),this.selectionMode==="single"))break}this.state.setSelectedKeys(l)}getSelectAllKeys(){let t=this.fullCollection??this.collection,l=[],r=i=>{var s;for(;i!=null;){if(this.canSelectItemIn(i,t)){let u=t.getItem(i);(u==null?void 0:u.type)==="item"&&l.push(i),u!=null&&u.hasChildNodes&&(this.allowsCellSelection||u.type!=="item")&&r(((s=hM(dM(u,t)))==null?void 0:s.key)??null)}i=t.getKeyAfter(i)}};return r(t.getFirstKey()),l}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Kn)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,l){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||l&&(l.pointerType==="touch"||l.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let l=this.selectedKeys;if(t.size!==l.size)return!1;for(let r of t)if(!l.has(r))return!1;for(let r of l)if(!t.has(r))return!1;return!0}canSelectItem(t){return this.canSelectItemIn(t,this.collection)}canSelectItemIn(t,l){var i;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=l.getItem(t);return!(!r||(i=r==null?void 0:r.props)!=null&&i.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var r,i;let l=this.collection.getItem(t);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!((r=l==null?void 0:l.props)!=null&&r.isDisabled))&&((i=l==null?void 0:l.props)==null?void 0:i.disabledBehavior)!=="selection"}isLink(t){var l,r;return!!((r=(l=this.collection.getItem(t))==null?void 0:l.props)!=null&&r.href)}getItemProps(t){var l;return(l=this.collection.getItem(t))==null?void 0:l.props}withCollection(t){return new r2(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}class gM{build(t,l){return this.context=l,bv(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:l,items:r}=t;if(V.isValidElement(l)&&l.type===V.Fragment)yield*this.iterateCollection({children:l.props.children,items:r});else if(typeof l=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");let i=0;for(let s of r)yield*this.getFullNode({value:s,index:i},{renderer:l}),i++}else{let i=[];V.Children.forEach(l,u=>{u&&i.push(u)});let s=0;for(let u of i){let f=this.getFullNode({element:u,index:s},{});for(let d of f)s++,yield d}}}getKey(t,l,r,i){if(t.key!=null)return t.key;if(l.type==="cell"&&l.key!=null)return`${i}${l.key}`;let s=l.value;if(s!=null){let u=s.key??s.id;if(u==null)throw new Error("No key found for item");return u}return i?`${i}.${l.index}`:`$.${l.index}`}getChildState(t,l){return{renderer:l.renderer||t.renderer}}*getFullNode(t,l,r,i){if(V.isValidElement(t.element)&&t.element.type===V.Fragment){let d=[];V.Children.forEach(t.element.props.children,p=>{d.push(p)});let h=t.index??0;for(const p of d)yield*this.getFullNode({element:p,index:h++},l,r,i);return}let s=t.element;if(!s&&t.value&&l&&l.renderer){let d=this.cache.get(t.value);if(d&&(!d.shouldInvalidate||!d.shouldInvalidate(this.context))){d.index=t.index,d.parentKey=i?i.key:null,yield d;return}s=l.renderer(t.value)}if(V.isValidElement(s)){let d=s.type;if(typeof d!="function"&&typeof d.getCollectionNode!="function"){let v=s.type;throw new Error(`Unknown element <${v}> in collection.`)}let h=d.getCollectionNode(s.props,this.context),p=t.index??0,b=h.next();for(;!b.done&&b.value;){let v=b.value;t.index=p;let w=v.key??null;w==null&&(w=v.element?null:this.getKey(s,t,l,r));let T=[...this.getFullNode({...v,key:w,index:p,wrapper:bM(t.wrapper,v.wrapper)},this.getChildState(l,v),r?`${r}${s.key}`:s.key,i)];for(let C of T){if(C.value=v.value??t.value??null,C.value&&this.cache.set(C.value,C),t.type&&C.type!==t.type)throw new Error(`Unsupported type <${k0(C.type)}> in <${k0((i==null?void 0:i.type)??"unknown parent type")}>. Only <${k0(t.type)}> is supported.`);p++,yield C}b=h.next(T)}return}if(t.key==null||t.type==null)return;let u=this,f={type:t.type,props:t.props,key:t.key,parentKey:i?i.key:null,value:t.value??null,level:((i==null?void 0:i.level)??0)+((i==null?void 0:i.type)==="item"?1:0),index:t.index,rendered:t.rendered,textValue:t.textValue??"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:bv(function*(){if(!t.hasChildNodes||!t.childNodes)return;let d=0;for(let h of t.childNodes()){h.key!=null&&(h.key=`${f.key}${h.key}`);let p=u.getFullNode({...h,index:d},u.getChildState(l,h),f.key,f);for(let b of p)d++,yield b}})};yield f}constructor(){this.cache=new WeakMap}}function bv(e){let t=[],l=null;return{*[Symbol.iterator](){for(let r of t)yield r;l||(l=e());for(let r of l)t.push(r),yield r}}}function bM(e,t){if(e&&t)return l=>e(t(l));if(e)return e;if(t)return t}function k0(e){return e[0].toUpperCase()+e.slice(1)}function vM(e,t,l){let r=y.useMemo(()=>new gM,[]),{children:i,items:s,collection:u}=e;return y.useMemo(()=>{if(u)return u;let d=r.build({children:i,items:s},l);return t(d)},[r,i,s,u,l,t])}function yM(e,t){if(e.size!==t.size)return!1;for(let l of e)if(!t.has(l))return!1;return!0}function xM(e){let{selectionMode:t="none",disallowEmptySelection:l=!1,allowDuplicateSelectionEvents:r,selectionBehavior:i="toggle",disabledBehavior:s="all"}=e,u=y.useRef(!1),[,f]=y.useState(!1),d=y.useRef(null),h=y.useRef(null),[,p]=y.useState(null),b=y.useMemo(()=>vv(e.selectedKeys),[e.selectedKeys]),v=y.useMemo(()=>vv(e.defaultSelectedKeys,new Kn),[e.defaultSelectedKeys]),[w,x]=Ru(b,v,e.onSelectionChange),T=y.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[C,N]=y.useState(i);i==="replace"&&C==="toggle"&&typeof w=="object"&&w.size===0&&N("replace");let M=y.useRef(i);return y.useEffect(()=>{i!==M.current&&(N(i),M.current=i)},[i]),{selectionMode:t,disallowEmptySelection:l,selectionBehavior:C,setSelectionBehavior:N,get isFocused(){return u.current},setFocused(L){u.current=L,f(L)},get focusedKey(){return d.current},get childFocusStrategy(){return h.current},setFocusedKey(L,k="first"){d.current=L,h.current=k,p(L)},selectedKeys:w,setSelectedKeys(L){(r||!yM(L,w))&&x(L)},disabledKeys:T,disabledBehavior:s}}function vv(e,t){return e?e==="all"?"all":new Kn(e):t}const SM=y.createContext(null),L2=class L2 extends vi{filter(t,l,r){let i=t.getItem(this.firstChildKey);if(i&&r(i.textValue,this)){let s=this.clone();return l.addDescendants(s,t),s}return null}};L2.type="submenutrigger";let yv=L2;function wM(e,t){let{role:l="dialog"}=e,r=Y0();r=e["aria-label"]?void 0:r;let i=Y0();i=l==="alertdialog"&&!e["aria-describedby"]?i:void 0;let s=y.useRef(!1);y.useEffect(()=>{if(t.current&&!Oo(t.current)){va(t.current);let f=setTimeout(()=>{(et()===t.current||et()===document.body)&&(s.current=!0,t.current&&(t.current.blur(),va(t.current)),s.current=!1)},500);return()=>{clearTimeout(f)}}},[t]),q4(),y.useRef(!1),y.useEffect(()=>{});let u=e["aria-describedby"]??i;return{dialogProps:{...mt(e,{labelable:!0}),role:l,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]??r,"aria-describedby":u,onBlur:f=>{s.current&&f.stopPropagation()}},titleProps:{id:r},contentProps:{id:i}}}const u5=y.createContext(null),yi=y.createContext(null);function EM(e){let t=pM(e),l=y.useRef(null),{triggerProps:r,overlayProps:i}=rM({type:"dialog"},t,l);return r.id=_n(),i["aria-labelledby"]=r.id,V.createElement(sr,{values:[[yi,t],[SM,t],[u5,i],[Y4,{trigger:"DialogTrigger",triggerRef:l,id:i.id,"aria-labelledby":i["aria-labelledby"]}]]},V.createElement(zR,{...r,ref:l,isPressed:t.isOpen},e.children))}const CM=y.forwardRef(function(t,l){let r=t["aria-labelledby"];[t,l]=yn(t,l,u5);let{dialogProps:i,titleProps:s,contentProps:u}=wM({...t,"aria-labelledby":r},l),f=y.useContext(yi);!i["aria-label"]&&!i["aria-labelledby"]&&t["aria-labelledby"]&&(i["aria-labelledby"]=t["aria-labelledby"]);let d=At({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(f==null?void 0:f.close)||(()=>{})}}),h=mt(t,{global:!0});return V.createElement(ut.section,{...Ce(h,d,i),render:t.render,ref:l,slot:t.slot||void 0},V.createElement(sr,{values:[[Z3,{slots:{[fi]:{},title:{...s,level:2}}}],[ku,{slots:{[fi]:{},description:u}}],[e2,{slots:{[fi]:{},close:{onPress:()=>f==null?void 0:f.close()}}}]]},d.children))});function TM(e,t,l){let{overlayProps:r,underlayProps:i}=o4({...e,isOpen:t.isOpen,onClose:t.close},l);return s4({isDisabled:!t.isOpen}),q4(),y.useEffect(()=>{if(t.isOpen&&l.current)return n4([l.current],{shouldUseInert:!0})},[t.isOpen,l]),{modalProps:Ce(r),underlayProps:i}}const RM=y.createContext(null),i2=y.createContext(null),MM=y.forwardRef(function(t,l){if(y.useContext(i2))return V.createElement(xv,{...t,modalRef:l},t.children);let{isDismissable:i,isKeyboardDismissDisabled:s,isOpen:u,defaultOpen:f,onOpenChange:d,children:h,isEntering:p,isExiting:b,UNSTABLE_portalContainer:v,shouldCloseOnInteractOutside:w,...x}=t;return V.createElement(f5,{isDismissable:i,isKeyboardDismissDisabled:s,isOpen:u,defaultOpen:f,onOpenChange:d,isEntering:p,isExiting:b,UNSTABLE_portalContainer:v,shouldCloseOnInteractOutside:w},V.createElement(xv,{...x,modalRef:l},h))});function AM(e,t){[e,t]=yn(e,t,RM);let l=y.useContext(yi),r=a2(e),i=e.isOpen!=null||e.defaultOpen!=null||!l?r:l,s=bn(t),u=y.useRef(null),f=Zc(s,i.isOpen),d=Zc(u,i.isOpen),h=f||d||e.isExiting||!1,p=Nl();return!i.isOpen&&!h||p?null:V.createElement(LM,{...e,state:i,isExiting:h,overlayRef:s,modalRef:u})}const f5=y.forwardRef(AM);function LM({UNSTABLE_portalContainer:e,...t}){let l=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:s}=TM(t,r,l),u=wu(t.overlayRef)||t.isEntering||!1,f=At({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:u,isExiting:t.isExiting,state:r}}),d=Xw(),h,p;if(typeof document<"u"){let v=jo(document.body)?document.body:document.scrollingElement||document.documentElement,w=v.getBoundingClientRect().width%1,x=v.getBoundingClientRect().height%1;h=v.scrollWidth-w,p=v.scrollHeight-x}let b={...f.style,"--visual-viewport-width":d.width+"px","--visual-viewport-height":d.height+"px","--page-width":h!==void 0?h+"px":void 0,"--page-height":p!==void 0?p+"px":void 0};return V.createElement(ph,{isExiting:t.isExiting,portalContainer:e},V.createElement(ut.div,{...Ce(mt(t,{global:!0}),s),...f,style:b,ref:t.overlayRef,"data-entering":u||void 0,"data-exiting":t.isExiting||void 0},V.createElement(sr,{values:[[i2,{modalProps:i,modalRef:l,isExiting:t.isExiting,isDismissable:t.isDismissable}],[yi,r]]},f.children)))}function xv(e){let{modalProps:t,modalRef:l,isExiting:r,isDismissable:i}=y.useContext(i2),s=y.useContext(yi),u=y.useMemo(()=>ya(e.modalRef,l),[e.modalRef,l]),f=bn(u),d=wu(f),h=At({...e,defaultClassName:"react-aria-Modal",values:{isEntering:d,isExiting:r,state:s}});return V.createElement(ut.div,{...Ce(mt(e,{global:!0}),t),...h,ref:f,"data-entering":d||void 0,"data-exiting":r||void 0},i&&V.createElement(mh,{onDismiss:s.close}),h.children)}const kM=V.forwardRef(({children:e,...t},l)=>{l=bn(l);let{pressProps:r}=lr({...t,ref:l}),{focusableProps:i}=qo(t,l),s=V.Children.only(e);y.useEffect(()=>{},[l,t.isDisabled]);let u=parseInt(V.version,10)<19?s.ref:s.props.ref;return V.cloneElement(s,{...Ce(r,i,s.props),ref:ya(u,l)})}),Sv=({children:e,className:t,slot:l,style:r,variant:i,...s})=>{const u=y.useMemo(()=>WC({variant:i}),[i]);return E.jsx(W3,{"aria-label":"Close",className:Mt(t,u),"data-slot":"close-button",slot:l,style:r,type:"button",...s,children:f=>typeof e=="function"?e(f):e??E.jsx(WT,{"data-slot":"close-button-icon"})})},d5=Object.assign(Sv,{Root:Sv}),NM=y.createContext({}),DM=y.forwardRef(function(t,l){[t,l]=yn(t,l,NM);let{isDisabled:r,isInvalid:i,isReadOnly:s,onHoverStart:u,onHoverChange:f,onHoverEnd:d,...h}=t;r??(r=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),i??(i=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let{hoverProps:p,isHovered:b}=Sa({onHoverStart:u,onHoverChange:f,onHoverEnd:d,isDisabled:r}),{isFocused:v,isFocusVisible:w,focusProps:x}=Dl({within:!0}),T=At({...t,values:{isHovered:b,isFocusWithin:v,isFocusVisible:w,isDisabled:r,isInvalid:i},defaultClassName:"react-aria-Group"});return V.createElement(ut.div,{...Ce(h,x,p),...T,ref:l,role:t.role??"group",slot:t.slot??void 0,"data-focus-within":v||void 0,"data-hovered":b||void 0,"data-focus-visible":w||void 0,"data-disabled":r||void 0,"data-invalid":i||void 0,"data-readonly":s||void 0},T.children)}),$M=y.createContext(null),h5={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},m5={...h5,customError:!0,valid:!1},ai={isInvalid:!1,validationDetails:h5,validationErrors:[]},zM=y.createContext({}),ou="__reactAriaFormValidationState";function p5(e){if(e[ou]){let{realtimeValidation:t,displayValidation:l,updateValidation:r,resetValidation:i,commitValidation:s}=e[ou];return{realtimeValidation:t,displayValidation:l,updateValidation:r,resetValidation:i,commitValidation:s}}return PM(e)}function PM(e){let{isInvalid:t,validationState:l,name:r,value:i,builtinValidation:s,validate:u,validationBehavior:f="aria"}=e;l&&(t||(t=l==="invalid"));let d=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:m5}:null,h=y.useMemo(()=>{if(!u||i==null)return null;let K=OM(u,i);return wv(K)},[u,i]);s!=null&&s.validationDetails.valid&&(s=void 0);let p=y.useContext(zM),b=y.useMemo(()=>r?Array.isArray(r)?r.flatMap(K=>vh(p[K])):vh(p[r]):[],[p,r]),[v,w]=y.useState(p),[x,T]=y.useState(!1);p!==v&&(w(p),T(!1));let C=y.useMemo(()=>wv(x?[]:b),[x,b]),N=y.useRef(ai),[M,L]=y.useState(ai),k=y.useRef(ai),B=()=>{if(!G)return;$(!1);let K=h||s||N.current;N0(K,k.current)||(k.current=K,L(K))},[G,$]=y.useState(!1);return y.useEffect(B),{realtimeValidation:d||C||h||s||ai,displayValidation:f==="native"?d||C||M:d||C||h||s||M,updateValidation(K){f==="aria"&&!N0(M,K)?L(K):N.current=K},resetValidation(){let K=ai;N0(K,k.current)||(k.current=K,L(K)),f==="native"&&$(!1),T(!0)},commitValidation(){f==="native"&&$(!0),T(!0)}}}function vh(e){return e?Array.isArray(e)?e:[e]:[]}function OM(e,t){if(typeof e=="function"){let l=e(t);if(l&&typeof l!="boolean")return vh(l)}return[]}function wv(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:m5}:null}function N0(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((l,r)=>l===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([l,r])=>t.validationDetails[l]===r)}const jM=y.createContext(null);class Ev{constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let l=u=>{if(this.keyMap.set(u.key,u),u.childNodes&&u.type==="section")for(let f of u.childNodes)l(f)};for(let u of t)l(u);let r=null,i=0,s=0;for(let[u,f]of this.keyMap)r?(r.nextKey=u,f.prevKey=r.key):(this.firstKey=u,f.prevKey=void 0),f.type==="item"&&(f.index=i++),(f.type==="section"||f.type==="item")&&s++,r=f,r.nextKey=void 0;this._size=s,this.lastKey=(r==null?void 0:r.key)??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let l=this.keyMap.get(t);return l?l.prevKey??null:null}getKeyAfter(t){let l=this.keyMap.get(t);return l?l.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){return this.keyMap.get(t)??null}at(t){const l=[...this.getKeys()];return this.getItem(l[t])}getChildren(t){let l=this.keyMap.get(t);return(l==null?void 0:l.childNodes)||[]}}function IM(e){let{filter:t,layoutDelegate:l}=e,r=xM(e),i=y.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),s=y.useCallback(h=>t?new Ev(t(h)):new Ev(h),[t]),u=y.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),f=vM(e,s,u),d=y.useMemo(()=>new r2(f,r,{layoutDelegate:l}),[f,r,l]);return g5(f,d),{collection:f,disabledKeys:i,selectionManager:d}}function Cz(e,t){let l=y.useMemo(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(l);return g5(l,r),{collection:l,selectionManager:r,disabledKeys:e.disabledKeys}}function g5(e,t){const l=y.useRef(null);y.useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&l.current){let r=l.current.getKeyAfter(t.focusedKey),i=null;for(;r!=null;){let s=e.getItem(r);if(s&&s.type==="item"&&!t.isDisabled(r)){i=r;break}r=l.current.getKeyAfter(r)}if(i==null)for(r=l.current.getKeyBefore(t.focusedKey);r!=null;){let s=e.getItem(r);if(s&&s.type==="item"&&!t.isDisabled(r)){i=r;break}r=l.current.getKeyBefore(r)}t.setFocusedKey(i)}l.current=e},[e,t])}function BM(e,t,l){let{validationBehavior:r,focus:i}=e;Ne(()=>{if(r==="native"&&(l!=null&&l.current)&&"setCustomValidity"in l.current&&!l.current.disabled){let h=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";l.current.setCustomValidity(h),l.current.hasAttribute("title")||(l.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(KM(l.current))}});let s=y.useRef(!1),u=Fn(()=>{s.current||t.resetValidation()}),f=Fn(h=>{var b,v;t.displayValidation.isInvalid||t.commitValidation();let p=(b=l==null?void 0:l.current)==null?void 0:b.form;!h.defaultPrevented&&l&&p&&UM(p)===l.current&&(i?i():(v=l.current)==null||v.focus(),yT("keyboard")),h.preventDefault()}),d=Fn(()=>{t.commitValidation()});y.useEffect(()=>{let h=l==null?void 0:l.current;if(!h)return;let p=h.form,b=p==null?void 0:p.reset;return p&&(p.reset=()=>{s.current=!window.event||window.event.type==="message"&&ve(window.event)instanceof MessagePort,b==null||b.call(p),s.current=!1}),h.addEventListener("invalid",f),h.addEventListener("change",d),p==null||p.addEventListener("reset",u),()=>{h.removeEventListener("invalid",f),h.removeEventListener("change",d),p==null||p.removeEventListener("reset",u),p&&(p.reset=b)}},[l,r])}function HM(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function KM(e){return{isInvalid:!e.validity.valid,validationDetails:HM(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function UM(e){var t;for(let l=0;l<e.elements.length;l++){let r=e.elements[l];if(((t=r.validity)==null?void 0:t.valid)===!1)return r}return null}function FM(e,t=[]){let l=[];function r(s,u){const f=y.createContext(u);f.displayName=s+"Context";const d=l.length;l=[...l,u];const h=b=>{var N;const{scope:v,children:w,...x}=b,T=((N=v==null?void 0:v[e])==null?void 0:N[d])||f,C=y.useMemo(()=>x,Object.values(x));return E.jsx(T.Provider,{value:C,children:w})};h.displayName=s+"Provider";function p(b,v){var T;const w=((T=v==null?void 0:v[e])==null?void 0:T[d])||f,x=y.useContext(w);if(x)return x;if(u!==void 0)return u;throw new Error(`\`${b}\` must be used within \`${s}\``)}return[h,p]}const i=()=>{const s=l.map(u=>y.createContext(u));return function(f){const d=(f==null?void 0:f[e])||s;return y.useMemo(()=>({[`__scope${e}`]:{...f,[e]:d}}),[f,d])}};return i.scopeName=e,[r,VM(i,...t)]}function VM(...e){const t=e[0];if(e.length===1)return t;const l=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const u=r.reduce((f,{useScope:d,scopeName:h})=>{const b=d(s)[`__scope${h}`];return{...f,...b}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return l.scopeName=t.scopeName,l}function _M(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...l)=>{var r;return(r=t.current)==null?void 0:r.call(t,...l)},[])}var yh=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{};function Cv(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function GM(...e){return t=>{let l=!1;const r=e.map(i=>{const s=Cv(i,t);return!l&&typeof s=="function"&&(l=!0),s});if(l)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Cv(e[i],null)}}}}var qM=Symbol.for("react.lazy"),su=s8[" use ".trim().toString()];function YM(e){return typeof e=="object"&&e!==null&&"then"in e}function b5(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===qM&&"_payload"in e&&YM(e._payload)}function XM(e){const t=WM(e),l=y.forwardRef((r,i)=>{let{children:s,...u}=r;b5(s)&&typeof su=="function"&&(s=su(s._payload));const f=y.Children.toArray(s),d=f.find(QM);if(d){const h=d.props.children,p=f.map(b=>b===d?y.Children.count(h)>1?y.Children.only(null):y.isValidElement(h)?h.props.children:null:b);return E.jsx(t,{...u,ref:i,children:y.isValidElement(h)?y.cloneElement(h,void 0,p):null})}return E.jsx(t,{...u,ref:i,children:s})});return l.displayName=`${e}.Slot`,l}function WM(e){const t=y.forwardRef((l,r)=>{let{children:i,...s}=l;if(b5(i)&&typeof su=="function"&&(i=su(i._payload)),y.isValidElement(i)){const u=eA(i),f=JM(s,i.props);return i.type!==y.Fragment&&(f.ref=r?GM(r,u):u),y.cloneElement(i,f)}return y.Children.count(i)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ZM=Symbol("radix.slottable");function QM(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ZM}function JM(e,t){const l={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?l[r]=(...f)=>{const d=s(...f);return i(...f),d}:i&&(l[r]=i):r==="style"?l[r]={...i,...s}:r==="className"&&(l[r]=[i,s].filter(Boolean).join(" "))}return{...e,...l}}function eA(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,l=t&&"isReactWarning"in t&&t.isReactWarning;return l?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,l=t&&"isReactWarning"in t&&t.isReactWarning,l?e.props.ref:e.props.ref||e.ref)}var tA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],o2=tA.reduce((e,t)=>{const l=XM(`Primitive.${t}`),r=y.forwardRef((i,s)=>{const{asChild:u,...f}=i,d=u?l:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(d,{...f,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function nA(){return Lu.useSyncExternalStore(lA,()=>!0,()=>!1)}function lA(){return()=>{}}var s2="Avatar",[aA]=FM(s2),[rA,v5]=aA(s2),y5=y.forwardRef((e,t)=>{const{__scopeAvatar:l,...r}=e,[i,s]=y.useState("idle");return E.jsx(rA,{scope:l,imageLoadingStatus:i,onImageLoadingStatusChange:s,children:E.jsx(o2.span,{...r,ref:t})})});y5.displayName=s2;var x5="AvatarImage",S5=y.forwardRef((e,t)=>{const{__scopeAvatar:l,src:r,onLoadingStatusChange:i=()=>{},...s}=e,u=v5(x5,l),f=iA(r,s),d=_M(h=>{i(h),u.onImageLoadingStatusChange(h)});return yh(()=>{f!=="idle"&&d(f)},[f,d]),f==="loaded"?E.jsx(o2.img,{...s,ref:t,src:r}):null});S5.displayName=x5;var w5="AvatarFallback",E5=y.forwardRef((e,t)=>{const{__scopeAvatar:l,delayMs:r,...i}=e,s=v5(w5,l),[u,f]=y.useState(r===void 0);return y.useEffect(()=>{if(r!==void 0){const d=window.setTimeout(()=>f(!0),r);return()=>window.clearTimeout(d)}},[r]),u&&s.imageLoadingStatus!=="loaded"?E.jsx(o2.span,{...i,ref:t}):null});E5.displayName=w5;function Tv(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function iA(e,{referrerPolicy:t,crossOrigin:l}){const r=nA(),i=y.useRef(null),s=r?(i.current||(i.current=new window.Image),i.current):null,[u,f]=y.useState(()=>Tv(s,e));return yh(()=>{f(Tv(s,e))},[s,e]),yh(()=>{const d=b=>()=>{f(b)};if(!s)return;const h=d("loaded"),p=d("error");return s.addEventListener("load",h),s.addEventListener("error",p),t&&(s.referrerPolicy=t),typeof l=="string"&&(s.crossOrigin=l),()=>{s.removeEventListener("load",h),s.removeEventListener("error",p)}},[s,l,t]),u}var oA=y5,sA=S5,cA=E5;const c2=y.createContext({}),Rv=({children:e,className:t,color:l,size:r,variant:i,...s})=>{const u=V.useMemo(()=>GC({color:l,size:r,variant:i}),[l,r,i]);return E.jsx(c2,{value:{slots:u},children:E.jsx(oA,{className:u.base({className:t}),...s,children:e})})},uA=({className:e,crossOrigin:t,loading:l,onError:r,onLoad:i,sizes:s,src:u,srcSet:f,...d})=>{const{slots:h}=V.use(c2);return E.jsx(sA,{className:Je(h==null?void 0:h.image,e),crossOrigin:t,loading:l,sizes:s,src:u,srcSet:f,onError:r,onLoad:i,...d})},fA=({className:e,color:t,...l})=>{const{slots:r}=V.use(c2);return E.jsx(cA,{className:Je(r==null?void 0:r.fallback,e,{color:t}),"data-slot":"avatar-fallback",...l})},D0=Object.assign(Rv,{Root:Rv,Image:uA,Fallback:fA});function dA(e,t){let{elementType:l="a",onPress:r,onPressStart:i,onPressEnd:s,onPressChange:u,onClick:f,isDisabled:d,...h}=e,p={};l!=="a"&&(p={role:"link",tabIndex:d?void 0:0});let{focusableProps:b}=qo(e,t),{pressProps:v,isPressed:w}=lr({onPress:r,onPressStart:i,onPressEnd:s,onPressChange:u,onClick:f,isDisabled:d,ref:t}),x=mt(h,{labelable:!0}),T=Ce(b,v),C=Go(),N=Qy(e);return{isPressed:w,linkProps:Ce(x,N,{...T,...p,"aria-disabled":d||void 0,"aria-current":e["aria-current"],onClick:M=>{var L;(L=v.onClick)==null||L.call(v,M),ww(M,C,e.href,e.routerOptions)}})}}const hA=y.createContext(null),mA=y.forwardRef(function(t,l){[t,l]=yn(t,l,hA);let r=t.href&&!t.isDisabled?"a":"span",{linkProps:i,isPressed:s}=dA({...t,elementType:r},l),u=ut[r],{hoverProps:f,isHovered:d}=Sa(t),{focusProps:h,isFocused:p,isFocusVisible:b}=Dl(),v=At({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:s,isHovered:d,isFocused:p,isFocusVisible:b}}),w=mt(t,{global:!0});return delete w.onClick,V.createElement(u,{ref:l,slot:t.slot||void 0,...Ce(w,v,i,f,h),"data-focused":p||void 0,"data-hovered":d||void 0,"data-pressed":s||void 0,"data-focus-visible":b||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},v.children)}),C5=y.createContext({}),Mv=({children:e,className:t,...l})=>{const r=V.useMemo(()=>ZC(),[]);return E.jsx(C5,{value:{slots:r},children:E.jsx(mA,{"data-slot":"link",...l,className:Mt(t,r==null?void 0:r.base()),children:i=>E.jsx(E.Fragment,{children:typeof e=="function"?e(i):e})})})},pA=({children:e,className:t,...l})=>{const{slots:r}=y.use(C5);return E.jsx(Ct.span,{className:Je(r==null?void 0:r.icon,t),"data-default-icon":ch(!e),"data-slot":"link-icon",...l,children:e??E.jsx(XT,{"data-slot":"link-default-icon"})})},Nc=Object.assign(Mv,{Root:Mv,Icon:pA}),gA=y.createContext({});function T5(e={}){let{isReadOnly:t}=e,[l,r]=Ru(e.isSelected,e.defaultSelected||!1,e.onChange),[i]=y.useState(l);function s(f){t||r(f)}function u(){t||r(!l)}return{isSelected:l,defaultSelected:e.defaultSelected??i,setSelected:s,toggle:u}}const u2=y.createContext({}),R5="__button_group_child",Tz=({children:e,className:t,fullWidth:l,isDisabled:r,orientation:i,size:s,variant:u,...f})=>{const d=Cu(gA),h=i??(d==null?void 0:d.orientation)??"horizontal",p=V.useMemo(()=>YC({fullWidth:l,orientation:h}),[l,h]),b=y.Children.map(e,v=>y.isValidElement(v)?V.cloneElement(v,{[R5]:!0}):v);return E.jsx(u2,{value:{slots:p,size:s,variant:u,isDisabled:r,fullWidth:l},children:E.jsx(DM,{className:Mt(t,p.base()),"data-slot":"button-group",isDisabled:r,...f,children:b})})},Rz=({className:e,...t})=>{const{slots:l}=y.use(u2);return E.jsx(Ct.span,{"aria-hidden":"true",className:Je(l==null?void 0:l.separator,e),"data-slot":"button-group-separator",...t})},Av=({children:e,className:t,fullWidth:l,isDisabled:r,isIconOnly:i,size:s,slot:u,style:f,variant:d,[R5]:h,...p})=>{const b=y.use(u2),v=h===!0,w=s??(v?b==null?void 0:b.size:void 0),x=d??(v?b==null?void 0:b.variant:void 0),T=r??(v?b==null?void 0:b.isDisabled:void 0),C=l??(v?b==null?void 0:b.fullWidth:void 0),N=qC({fullWidth:C,isIconOnly:i,size:w,variant:x});return E.jsx(W3,{className:Mt(t,N),"data-slot":"button",isDisabled:T,slot:u,style:f,...p,children:M=>typeof e=="function"?e(M):e})},mn=Object.assign(Av,{Root:Av}),bA=new WeakMap;function vA(e=!0){let[t,l]=y.useState(e),r=y.useRef(!1),i=y.useCallback(s=>{r.current=!0,l(!!s)},[]);return Ne(()=>{r.current||l(!1)},[]),[i,t]}function Lv(e=!0){let t=_n(),[l,r]=vA(e);return{id:r?t:void 0,ref:l}}function yA(e,t,l){let{isDisabled:r=!1,isReadOnly:i=!1,value:s,name:u,form:f,children:d,isRequired:h,validationBehavior:p="aria","aria-label":b,"aria-labelledby":v,"aria-describedby":w,onPressStart:x,onPressEnd:T,onPressChange:C,onPress:N,onPressUp:M,onClick:L}=e,k=p5({...e,value:t.isSelected}),{isInvalid:B,validationErrors:G,validationDetails:$}=k.displayValidation;BM(e,k,l);let A=J=>{J.stopPropagation(),t.setSelected(ve(J).checked)},{pressProps:U,isPressed:K}=lr({onPressStart:x,onPressEnd:T,onPressChange:C,onPress:N,onPressUp:M,onClick:L,isDisabled:r}),[q,te]=y.useState(!1),{pressProps:ne}=lr({onPressStart(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}x==null||x(J),C==null||C(!0),te(!0)},onPressEnd(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}T==null||T(J),C==null||C(!1),te(!1)},onPressUp(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}M==null||M(J)},onClick:L,onPress(J){var Q;if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}N==null||N(J),t.toggle(),(Q=l.current)==null||Q.focus();let{[ou]:_}=e,{commitValidation:D}=_||k;D()},isDisabled:r||i}),{focusableProps:j}=qo(e,l),Y=Ce(U,j),z=mt(e,{labelable:!0});Jw(l,t.defaultSelected,t.setSelected);let O=Lv(),oe=Lv();return{labelProps:Ce(ne,{onClick:J=>J.preventDefault()}),inputProps:Ce(z,{checked:t.isSelected,"aria-required":h&&p==="aria"||void 0,required:h&&p==="native","aria-invalid":B||e.validationState==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":i||void 0,"aria-describedby":[O.id,oe.id,w].filter(Boolean).join(" ")||void 0,onChange:A,disabled:r,...s==null?{}:{value:s},name:u,form:f,type:"checkbox",...Y}),descriptionProps:O,errorMessageProps:oe,isSelected:t.isSelected,isPressed:K||q,isDisabled:r,isReadOnly:i,isInvalid:B||e.validationState==="invalid",validationErrors:G,validationDetails:$}}function M5(e,t,l){let{labelProps:r,inputProps:i,descriptionProps:s,errorMessageProps:u,isSelected:f,isPressed:d,isDisabled:h,isReadOnly:p,isInvalid:b,validationErrors:v,validationDetails:w}=yA(e,t,l),{isIndeterminate:x}=e;return y.useEffect(()=>{l.current&&(l.current.indeterminate=!!x)}),{labelProps:Ce(r,y.useMemo(()=>({onMouseDown:T=>T.preventDefault()}),[])),inputProps:i,descriptionProps:s,errorMessageProps:u,isSelected:f,isPressed:d,isDisabled:h,isReadOnly:p,isInvalid:b,validationErrors:v,validationDetails:w}}function xA(e,t,l){const r=T5({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),defaultSelected:t.defaultValue.includes(e.value),onChange(T){T?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(T)}});let{name:i,form:s,descriptionId:u,errorMessageId:f,validationBehavior:d}=bA.get(t);d=e.validationBehavior??d;let{realtimeValidation:h}=p5({...e,value:r.isSelected,name:void 0,validationBehavior:"aria"}),p=y.useRef(ai),b=()=>{t.setInvalid(e.value,h.isInvalid?h:p.current)};y.useEffect(b);let v=t.realtimeValidation.isInvalid?t.realtimeValidation:h,w=d==="native"?t.displayValidation:v,x=M5({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||i,form:e.form||s,isRequired:e.isRequired??t.isRequired,validationBehavior:d,[ou]:{realtimeValidation:v,displayValidation:w,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(T){p.current=T,b()}}},r,l);return{...x,inputProps:{...x.inputProps,"aria-describedby":[x.inputProps["aria-describedby"],t.isInvalid?f:null,u].filter(Boolean).join(" ")||void 0}}}const Mz=y.createContext(null),SA=y.createContext(null),A5=y.createContext(null),L5=y.createContext(null),wA=y.forwardRef(function(t,l){let{inputRef:r=null,...i}=t;[t,l]=yn(i,l,SA);let s=y.useContext(A5),[u,f]=EA(t,r),{descriptionProps:d,errorMessageProps:h,isSelected:p,isDisabled:b,isReadOnly:v,isInvalid:w,validationDetails:x,validationErrors:T}=u,C=At({...t,defaultClassName:"react-aria-CheckboxField",values:{isSelected:p,isIndeterminate:t.isIndeterminate||!1,isDisabled:b,isReadOnly:v,isInvalid:w,isRequired:t.isRequired||!1}}),N=mt(t,{global:!0});return delete N.id,delete N.onClick,V.createElement(ut.div,{...Ce(N,C),ref:l,slot:t.slot||void 0,"data-selected":p||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-disabled":b||void 0,"data-readonly":v||void 0,"data-invalid":w||void 0,"data-required":t.isRequired||void 0},V.createElement(sr,{values:[[L5,{...u,inputRef:f,defaultClassName:"react-aria-CheckboxButton",isIndeterminate:t.isIndeterminate,isRequired:t.isRequired}],[ku,{slots:{description:d,errorMessage:h}}],[$M,s?null:{isInvalid:w,validationDetails:x,validationErrors:T}]]},C.children))});function EA(e,t){let{validationBehavior:l}=Cu(jM)||{},r=e.validationBehavior??l??"native",i=y.useContext(A5),s=bn(y.useMemo(()=>ya(t,e.inputRef!==void 0?e.inputRef:null),[t,e.inputRef])),u={...aT(e),children:typeof e.children=="function"?!0:e.children,value:e.value,validationBehavior:r};return[i?xA(u,i,s):M5(u,T5(e),s),s]}const CA=y.forwardRef(function(t,l){let{labelProps:r,inputProps:i,isSelected:s,isDisabled:u,isReadOnly:f,isPressed:d,isInvalid:h,inputRef:p,defaultClassName:b,isIndeterminate:v,isRequired:w}=y.useContext(L5),{isFocused:x,isFocusVisible:T,focusProps:C}=Dl(),N=u||f,{hoverProps:M,isHovered:L}=Sa({...t,isDisabled:N}),k=At({...t,defaultClassName:b,values:{isSelected:s,isIndeterminate:v||!1,isPressed:d,isHovered:L,isFocused:x,isFocusVisible:T,isDisabled:u,isReadOnly:f,isInvalid:h,isRequired:w||!1}}),B=mt(t,{global:!0});return delete B.id,delete B.onClick,V.createElement(ut.label,{...Ce(B,r,M,k),ref:l,slot:t.slot||void 0,"data-selected":s||void 0,"data-indeterminate":v||void 0,"data-pressed":d||void 0,"data-hovered":L||void 0,"data-focused":x||void 0,"data-focus-visible":T||void 0,"data-disabled":u||void 0,"data-readonly":f||void 0,"data-invalid":h||void 0,"data-required":w||void 0},V.createElement(V4,{elementType:"span"},V.createElement("input",{...Ce(i,C),ref:p})),k.children)}),TA=y.createContext({}),Nu=y.createContext({}),xh=({children:e,className:t,variant:l,...r})=>{const i=y.use(TA),s=l??i.variant,u=V.useMemo(()=>XC({variant:s}),[s]);return E.jsx(wA,{"data-slot":"checkbox",...r,className:Mt(t,u.base()),children:f=>E.jsx(Nu,{value:{slots:u,state:f},children:typeof e=="function"?e(f):e})})};xh.displayName="HeroUI.Checkbox";const k5=({children:e,className:t,...l})=>{const{slots:r}=y.use(Nu);return E.jsx(CA,{"data-slot":"checkbox-content",...l,className:Mt(t,r==null?void 0:r.content()),children:e})};k5.displayName="HeroUI.Checkbox.Content";const N5=({children:e,className:t,...l})=>{const{slots:r}=y.use(Nu);return E.jsx(Ct.span,{className:Je(r==null?void 0:r.control,t),"data-slot":"checkbox-control",...l,children:e})};N5.displayName="HeroUI.Checkbox.Control";const D5=({children:e,className:t,...l})=>{const{slots:r,state:i}=y.use(Nu),s=i==null?void 0:i.isSelected,u=i==null?void 0:i.isIndeterminate,f=typeof e=="function"?e(i??{}):e||(u?E.jsx("svg",{"aria-hidden":"true","data-slot":"checkbox-default-indicator--indeterminate",fill:"none",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeWidth:3,viewBox:"0 0 24 24",children:E.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})}):E.jsx("svg",{"aria-hidden":"true","data-slot":"checkbox-default-indicator--checkmark",fill:"none",role:"presentation",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:s?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 17 18",children:E.jsx("polyline",{points:"1 9 7 14 15 4"})}));return E.jsx(Ct.span,{"aria-hidden":"true",className:Je(r==null?void 0:r.indicator,t),"data-slot":"checkbox-indicator",...l,children:f})};D5.displayName="HeroUI.Checkbox.Indicator";const ha=Object.assign(xh,{Root:xh,Content:k5,Control:N5,Indicator:D5}),ri={blue:"\x1B[34m",green:"\x1B[32m",magenta:"\x1B[35m",red:"\x1B[31m",reset:"\x1B[0m",yellow:"\x1B[33m"},RA={debug:ri.magenta,error:ri.red,info:ri.blue,success:ri.green,warn:ri.yellow},MA={debug:"🔍",error:"❌",info:"ℹ️",success:"✅",warn:"⚠️"};class AA{constructor(t={}){this.enabled=t.enabled??!0,this.prefix=t.prefix??"HeroUI"}formatMessage(t,l){const r=RA[t],i=MA[t];return`${r}[${this.prefix}]${ri.reset} ${i} ${l}`}log(t,l,...r){if(!this.enabled)return;const i=this.formatMessage(t,l);switch(t){case"error":console.error(i,...r);break;case"warn":console.warn(i,...r);break;default:console.log(i,...r)}}info(t,...l){this.log("info",t,...l)}success(t,...l){this.log("success",t,...l)}warn(t,...l){this.log("warn",t,...l)}error(t,...l){this.log("error",t,...l)}debug(t,...l){this.log("debug",t,...l)}divider(t="=",l=80){this.enabled&&console.log(t.repeat(l))}newline(){this.enabled&&console.log()}}new AA({prefix:"HeroUI"});const LA=e=>{const t=`$$heroui.collection.${e}`,l=y.createContext(void 0),r=(d,h)=>y.Children.map(d,p=>y.isValidElement(p)?V.cloneElement(p,{[t]:h}):p),i=d=>{const{[t]:h,...p}=d;return[h,p]},s=d=>{const[h,p]=i(d),b=y.useContext(l);return[h??b,p]},u=({children:d,...h})=>E.jsx(l.Provider,{value:h,children:r(d,h)});return u.displayName=`HeroUI.CollectionSlot(${e})`,{key:t,inject:r,consume:i,useSlot:s,Injector:u,withSlot:(d,h)=>{const p=y.forwardRef(function(v,w){const[x,T]=s(v),{children:C,...N}=T;if(!x)return E.jsx(d,{...N,ref:w,children:C});if(h)return h({...N,children:C},x,w);const{className:M,render:L,...k}=x;return E.jsx(d,{...N,ref:w,children:L?L({children:C,className:M,...k}):E.jsx("div",{className:M,"data-slot":`${e}-container`,...k,children:C})})});return p.displayName=`HeroUI.withCollectionSlot(${d.displayName||d.name||e})`,p},Context:l}},kA=e=>{const{containerRef:t,isEnabled:l,offset:r,onVisibilityChange:i,orientation:s,visibility:u}=e,f=y.useRef(null),d=y.useRef(null),h=y.useCallback(()=>{const p=t.current;if(!p)return;const b=s==="vertical",v=b?p.scrollTop:Math.abs(p.scrollLeft),w=b?p.scrollHeight:p.scrollWidth,x=b?p.clientHeight:p.clientWidth,T=v>r,C=v+x+r<w-1,N=f.current;N&&N.hasScrollBefore===T&&N.hasScrollAfter===C||(f.current={hasScrollBefore:T,hasScrollAfter:C},d.current!==null&&cancelAnimationFrame(d.current),d.current=requestAnimationFrame(()=>{d.current=null,b?T&&C?(p.dataset.topBottomScroll="true",delete p.dataset.topScroll,delete p.dataset.bottomScroll,i==null||i("both")):(p.dataset.topScroll=String(T),p.dataset.bottomScroll=String(C),delete p.dataset.topBottomScroll,i&&i(T?"top":C?"bottom":"none")):T&&C?(p.dataset.leftRightScroll="true",delete p.dataset.leftScroll,delete p.dataset.rightScroll,i==null||i("both")):(p.dataset.leftScroll=String(T),p.dataset.rightScroll=String(C),delete p.dataset.leftRightScroll,i&&i(T?"left":C?"right":"none"))}))},[t,s,r,i]);y.useEffect(()=>{const p=t.current;if(!p||!l||u!=="auto")return;h(),p.addEventListener("scroll",h,{passive:!0});const b=new ResizeObserver(h);return b.observe(p),()=>{p.removeEventListener("scroll",h),b.disconnect(),d.current!==null&&(cancelAnimationFrame(d.current),d.current=null),f.current=null}},[t,u,l,h])},NA=globalThis!=null&&globalThis.document?y.useLayoutEffect:y.useEffect,Sh=({children:e,className:t,hideScrollBar:l=!1,isEnabled:r=!0,offset:i=0,onVisibilityChange:s,orientation:u="vertical",ref:f,size:d=40,variant:h="fade",visibility:p="auto",...b})=>{const v=y.useRef(null);kA({containerRef:v,isEnabled:r,offset:i,onVisibilityChange:s,orientation:u,visibility:p}),NA(()=>{const T=v.current;!T||p==="auto"||(delete T.dataset.topScroll,delete T.dataset.bottomScroll,delete T.dataset.topBottomScroll,delete T.dataset.leftScroll,delete T.dataset.rightScroll,delete T.dataset.leftRightScroll,p==="both"?T.dataset[u==="vertical"?"topBottomScroll":"leftRightScroll"]="true":p!=="none"&&(T.dataset[`${p}Scroll`]="true"))},[p,u]);const w=y.useMemo(()=>QC({hideScrollBar:l,orientation:u,variant:h}),[u,l,h]),x={"--scroll-shadow-size":`${d}px`,...b.style};return E.jsx("div",{ref:ya(v,f),className:w.base({className:t}),"data-orientation":u,"data-scroll-shadow-size":d,"data-slot":"scroll-shadow",style:x,...b,children:e})};Sh.displayName="HeroUI.ScrollShadow";const DA=Object.assign(Sh,{Root:Sh}),$A=({...e})=>{const t=y.useId();return E.jsxs("svg",{"data-slot":"spinner-icon",viewBox:"0 0 24 24",...e,children:[E.jsxs("defs",{children:[E.jsxs("linearGradient",{id:`«data-slot-icon-def-1»-${t}`,x1:"50%",x2:"50%",y1:"5.271%",y2:"91.793%",children:[E.jsx("stop",{offset:"0%",stopColor:"currentColor"}),E.jsx("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:.55})]}),E.jsxs("linearGradient",{id:`«data-slot-icon-def-2»-${t}`,x1:"50%",x2:"50%",y1:"15.24%",y2:"87.15%",children:[E.jsx("stop",{offset:"0%",stopColor:"currentColor",stopOpacity:0}),E.jsx("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:.55})]})]}),E.jsxs("g",{fill:"none",children:[E.jsx("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),E.jsx("path",{d:"M8.749.021a1.5 1.5 0 0 1 .497 2.958A7.5 7.5 0 0 0 3 10.375a7.5 7.5 0 0 0 7.5 7.5v3c-5.799 0-10.5-4.7-10.5-10.5C0 5.23 3.726.865 8.749.021",fill:`url(#«data-slot-icon-def-1»-${t})`,transform:"translate(1.5 1.625)"}),E.jsx("path",{d:"M15.392 2.673a1.5 1.5 0 0 1 2.119-.115A10.48 10.48 0 0 1 21 10.375c0 5.8-4.701 10.5-10.5 10.5v-3a7.5 7.5 0 0 0 5.007-13.084a1.5 1.5 0 0 1-.115-2.118",fill:`url(#«data-slot-icon-def-2»-${t})`,transform:"translate(1.5 1.625)"})]})]})},kv=({className:e,color:t,size:l,...r})=>E.jsx(Ct.span,{"aria-label":"Loading","data-slot":"spinner",role:"status",...r,className:JC({className:e,color:t,size:l}),children:E.jsx($A,{"aria-hidden":!0})}),zA=Object.assign(kv,{Root:kv}),$5=Object.assign(Ub,{Root:Ub}),z5=12,P5=3,O5=Number.MAX_SAFE_INTEGER,j5=.05,PA=460,I5=4e3;var B5={};B5={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var H5={};H5={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var K5={};K5={close:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var U5={};U5={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var F5={};F5={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var V5={};V5={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var _5={};_5={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var G5={};G5={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var q5={};q5={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var Y5={};Y5={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var X5={};X5={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var W5={};W5={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var Z5={};Z5={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var Q5={};Q5={close:"Bezárás",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesítés`,other:()=>`${t.number(e.count)} értesítés`})}.`};var J5={};J5={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var ex={};ex={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var tx={};tx={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var nx={};nx={close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pranešimas`,other:()=>`${t.number(e.count)} pranešimai`})}.`};var lx={};lx={close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziņojums`,other:()=>`${t.number(e.count)} paziņojumi`})}.`};var ax={};ax={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var rx={};rx={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var ix={};ix={close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomień`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var ox={};ox={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var sx={};sx={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var cx={};cx={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var ux={};ux={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var fx={};fx={close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámení`})}.`};var dx={};dx={close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var hx={};hx={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var mx={};mx={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var px={};px={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var gx={};gx={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var bx={};bx={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var vx={};vx={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var f2={};f2={"ar-AE":B5,"bg-BG":H5,"cs-CZ":K5,"da-DK":U5,"de-DE":F5,"el-GR":V5,"en-US":_5,"es-ES":G5,"et-EE":q5,"fi-FI":Y5,"fr-FR":X5,"he-IL":W5,"hr-HR":Z5,"hu-HU":Q5,"it-IT":J5,"ja-JP":ex,"ko-KR":tx,"lt-LT":nx,"lv-LV":lx,"nb-NO":ax,"nl-NL":rx,"pl-PL":ix,"pt-BR":ox,"pt-PT":sx,"ro-RO":cx,"ru-RU":ux,"sk-SK":fx,"sl-SI":dx,"sr-SP":hx,"sv-SE":mx,"tr-TR":px,"uk-UA":gx,"zh-CN":bx,"zh-TW":vx};function OA(e){return e&&e.__esModule?e.default:e}function jA(e,t,l){let{key:r,timer:i,timeout:s}=e.toast;y.useEffect(()=>{if(!(i==null||s==null))return i.reset(s),()=>{i.pause()}},[i,s]);let u=_n(),f=Y0(),d=l2(OA(f2),"@react-aria/toast"),[h,p]=y.useState(!1);return Ne(()=>{p(!0)},[]),{toastProps:{...mt(e,{labelable:!0}),role:"alertdialog","aria-modal":"false","aria-labelledby":e["aria-labelledby"]||u,"aria-describedby":e["aria-describedby"]||f,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":h?void 0:"true"},titleProps:{id:u},descriptionProps:{id:f},closeButtonProps:{"aria-label":d.format("close"),onPress:()=>t.close(r)}}}const yx=1,$0=Symbol.for("react-aria-landmark-manager");function IA(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function Nv(){if(typeof document>"u")return null;let e=document[$0];return e&&e.version>=yx?e:(document[$0]=new HA,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[$0])}function BA(){return Lu.useSyncExternalStore(IA,Nv,Nv)}class HA{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=yx,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(t,l){var r,i;(i=(r=this.landmarks.find(s=>s.ref.current===t))==null?void 0:r.focus)==null||i.call(r,l)}getLandmarksByRole(t){return new Set(this.landmarks.filter(l=>l.role===t))}getLandmarkByRole(t){return this.landmarks.find(l=>l.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(i=>i.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(i=>i.role==="main").length>1,this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let l=0,r=this.landmarks.length-1;for(;l<=r;){let i=Math.floor((l+r)/2),s=t.ref.current.compareDocumentPosition(this.landmarks[i].ref.current);!!(s&Node.DOCUMENT_POSITION_PRECEDING||s&Node.DOCUMENT_POSITION_CONTAINS)?l=i+1:r=i-1}this.landmarks.splice(l,0,t),this.checkLabels(t.role)}updateLandmark(t){let l=this.landmarks.findIndex(r=>r.ref===t.ref);l>=0&&(this.landmarks[l]={...this.landmarks[l],...t},this.checkLabels(this.landmarks[l].role))}removeLandmark(t){this.landmarks=this.landmarks.filter(l=>l.ref!==t),this.teardownIfNeeded()}checkLabels(t){let l=this.getLandmarksByRole(t);l.size>1&&[...l].filter(r=>!r.label)}closestLandmark(t){let l=new Map(this.landmarks.map(i=>[i.ref.current,i])),r=t;for(;r&&!l.has(r)&&r!==document.body&&r.parentElement;)r=r.parentElement;return l.get(r)}getNextLandmark(t,{backward:l}){var f;let r=this.closestLandmark(t),i=l?this.landmarks.length-1:0;r&&(i=this.landmarks.indexOf(r)+(l?-1:1));let s=()=>{if(i<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;i=this.landmarks.length-1}else if(i>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;i=0}return i<0||i>=this.landmarks.length};if(s())return;let u=i;for(;(f=this.landmarks[i].ref.current)!=null&&f.closest("[aria-hidden=true]");){if(i+=l?-1:1,s())return;if(i===u)break}return this.landmarks[i]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(ve(t),t.shiftKey))&&(t.preventDefault(),t.stopPropagation())}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&t.ref.current.isConnected?(this.focusLandmark(t.ref.current,"forward"),!0):!1}navigate(t,l){let r=this.getNextLandmark(t,{backward:l});if(!r)return!1;if(r.lastFocused){let i=r.lastFocused;if(Ie(document.body,i))return i.focus(),!0}return r.ref.current&&r.ref.current.isConnected?(this.focusLandmark(r.ref.current,l?"backward":"forward"),!0):!1}focusinHandler(t){let l=this.closestLandmark(ve(t));l&&l.ref.current!==ve(t)&&this.updateLandmark({ref:l.ref,lastFocused:ve(t)});let r=t.relatedTarget;if(r){let i=this.closestLandmark(r);i&&i.ref.current===r&&i.blur()}}focusoutHandler(t){let l=ve(t),r=t.relatedTarget;if(!r||r===document){let i=this.closestLandmark(l);i&&i.ref.current===l&&i.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(l,r){let i=(r==null?void 0:r.from)||document.activeElement;return t.navigate(i,l==="backward")},focusNext(l){let r=(l==null?void 0:l.from)||document.activeElement;return t.navigate(r,!1)},focusPrevious(l){let r=(l==null?void 0:l.from)||document.activeElement;return t.navigate(r,!0)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null)}}}registerLandmark(t){return this.landmarks.find(l=>l.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}}function KA(e,t){const{role:l,"aria-label":r,"aria-labelledby":i,focus:s}=e;let u=BA(),f=r||i,[d,h]=y.useState(!1),p=y.useCallback(()=>{h(!0)},[h]),b=y.useCallback(()=>{h(!1)},[h]);return Ne(()=>{if(u)return u.registerLandmark({ref:t,label:f,role:l,focus:s||p,blur:b})},[u,f,t,l,s,p,b]),y.useEffect(()=>{var v;d&&((v=t.current)==null||v.focus())},[d,t]),{landmarkProps:{role:l,tabIndex:d?-1:void 0,"aria-label":r,"aria-labelledby":i}}}function UA(e){return e&&e.__esModule?e.default:e}function FA(e,t,l){let r=l2(UA(f2),"@react-aria/toast"),{landmarkProps:i}=KA({role:"region","aria-label":e["aria-label"]||r.format("notifications",{count:t.visibleToasts.length})},l),s=y.useRef(!1),u=y.useRef(!1),f=y.useCallback(()=>{s.current||u.current?t.pauseAll():t.resumeAll()},[t]),{hoverProps:d}=Sa({onHoverStart:()=>{s.current=!0,f()},onHoverEnd:()=>{s.current=!1,f()}}),h=y.useRef([]),p=y.useRef(t.visibleToasts),b=y.useRef(null);Ne(()=>{var C;if(b.current===-1||t.visibleToasts.length===0||!l.current){h.current=[],p.current=t.visibleToasts;return}if(h.current=[...l.current.querySelectorAll('[role="alertdialog"]')],p.current.length===t.visibleToasts.length&&t.visibleToasts.every((N,M)=>N.key===p.current[M].key)){p.current=t.visibleToasts;return}let x=p.current.map((N,M)=>({...N,i:M,isRemoved:!t.visibleToasts.some(L=>N.key===L.key)})),T=x.findIndex(N=>N.i===b.current&&N.isRemoved);if(T>-1)if(pa()==="pointer"&&((C=v.current)!=null&&C.isConnected))en(v.current);else{let N=0,M,L;for(;N<=T;)x[N].isRemoved||(L=Math.max(0,N-1)),N++;for(;N<x.length;){if(!x[N].isRemoved){M=N-1;break}N++}L===void 0&&M===void 0&&(L=0),L>=0&&L<h.current.length?en(h.current[L]):M>=0&&M<h.current.length&&en(h.current[M])}p.current=t.visibleToasts},[t.visibleToasts,l]);let v=y.useRef(null),{focusWithinProps:w}=Yo({onFocusWithin:x=>{u.current=!0,v.current=x.relatedTarget,f()},onBlurWithin:()=>{u.current=!1,v.current=null,f()}});return y.useEffect(()=>{var x;t.visibleToasts.length===0&&((x=v.current)!=null&&x.isConnected)&&(pa()==="pointer"?en(v.current):v.current.focus(),v.current=null)},[l,t.visibleToasts.length]),y.useEffect(()=>()=>{var x;(x=v.current)!=null&&x.isConnected&&(pa()==="pointer"?en(v.current):v.current.focus(),v.current=null)},[l]),{regionProps:Ce(i,d,w,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:x=>{let T=ve(x).closest('[role="alertdialog"]');b.current=h.current.findIndex(C=>C===T)},onBlur:()=>{b.current=-1}})}}function VA(e){let t=y.useCallback(i=>e.subscribe(i),[e]),l=y.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:Lu.useSyncExternalStore(t,l,l),add:(i,s)=>e.add(i,s),close:i=>e.close(i),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class _A{constructor(t){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=(t==null?void 0:t.maxVisibleToasts)??1/0,this.wrapUpdate=t==null?void 0:t.wrapUpdate}runWithWrapUpdate(t,l){this.wrapUpdate?this.wrapUpdate(t,l):t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,l={}){let r="_"+Math.random().toString(36).slice(2),i={...l,content:t,key:r,timer:l.timeout?new GA(()=>this.close(r),l.timeout):void 0};return this.queue.unshift(i),this.updateVisibleToasts("add"),r}close(t){var r,i;let l=this.queue.findIndex(s=>s.key===t);l>=0&&((i=(r=this.queue[l]).onClose)==null||i.call(r),this.queue.splice(l,1)),this.updateVisibleToasts("remove")}updateVisibleToasts(t){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let l of this.subscriptions)l()},t)}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause()}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class GA{constructor(t,l){this.startTime=null,this.remaining=l,this.callback=t}reset(t){this.remaining=t,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}}const Du=y.createContext(null),qA=y.forwardRef(function(t,l){let r=Nl(),i=VA(t.queue),s=bn(l),{regionProps:u}=FA(t,i,s),{focusProps:f,isFocused:d,isFocusVisible:h}=Dl(),{hoverProps:p,isHovered:b}=Sa({}),v=At({...t,children:void 0,defaultClassName:"react-aria-ToastRegion",values:{visibleToasts:i.visibleToasts,isHovered:b,isFocused:d,isFocusVisible:h}}),{direction:w}=bi(),x,{getContainer:T}=_4();r||(x=document.body,T&&(x=T()));let C=mt(t,{global:!0}),N=V.createElement(Du.Provider,{value:i},V.createElement(ut.div,{...Ce(C,v,u,f,p),dir:w,ref:s,"data-hovered":b||void 0,"data-focused":d||void 0,"data-focus-visible":h||void 0},typeof t.children=="function"?V.createElement(YA,{...t,render:void 0,className:void 0,style:{display:"contents"}},t.children):t.children));return i.visibleToasts.length>0&&x?al.createPortal(N,x):null}),YA=y.forwardRef(function(t,l){let r=y.useContext(Du),{hoverProps:i,isHovered:s}=Sa({}),u=At({...t,children:void 0,defaultClassName:"react-aria-ToastList",values:{visibleToasts:r.visibleToasts,isFocused:!1,isFocusVisible:!1,isHovered:s}});return V.createElement(ut.ol,{...i,...u,ref:l},r.visibleToasts.map(f=>V.createElement("li",{key:f.key,style:{display:"contents"}},t.children({toast:f}))))}),XA=y.forwardRef(function(t,l){let r=y.useContext(Du),i=bn(l),{toastProps:s,contentProps:u,titleProps:f,descriptionProps:d,closeButtonProps:h}=jA(t,r,i),{focusProps:p,isFocused:b,isFocusVisible:v}=Dl(),w=At({...t,defaultClassName:"react-aria-Toast",values:{toast:t.toast,isFocused:b,isFocusVisible:v}}),x=mt(t,{global:!0});return V.createElement(ut.div,{...Ce(x,w,s,p),ref:i,"data-focused":b||void 0,"data-focus-visible":v||void 0},V.createElement(sr,{values:[[xx,u],[ku,{slots:{[fi]:{},title:f,description:d}}],[e2,{slots:{[fi]:{},close:h}}]]},w.children))}),xx=y.createContext({}),WA=y.forwardRef(function(t,l){return[t,l]=yn(t,l,xx),V.createElement(ut.div,{render:t.render,className:"react-aria-ToastContent",...t,ref:l},t.children)});class Xo{constructor(t){this.maxVisibleToasts=t==null?void 0:t.maxVisibleToasts;let l=Promise.resolve();const r=i=>{if(typeof document>"u"||!("startViewTransition"in document)){i();return}const s=()=>{const u=document.startViewTransition(()=>{al.flushSync(i)});return u.ready.catch(()=>{}),u.finished.catch(()=>{})};l=l.then(s,s)};this.queue=new _A({maxVisibleToasts:O5,wrapUpdate:(t==null?void 0:t.wrapUpdate)??r})}add(t,l){const r=(l==null?void 0:l.timeout)!==void 0?l.timeout:I5;return this.queue.add(t,{...l,timeout:r})}close(t){this.queue.close(t)}pauseAll(){this.queue.pauseAll()}resumeAll(){this.queue.resumeAll()}clear(){this.queue.clear()}subscribe(t){return this.queue.subscribe(t)}get visibleToasts(){return this.queue.visibleToasts}getQueue(){return this.queue}}function ZA(e){const t=(l,r)=>{const i=(r==null?void 0:r.timeout)!==void 0?r.timeout:I5;return e.add({title:l,description:r==null?void 0:r.description,indicator:r==null?void 0:r.indicator,variant:(r==null?void 0:r.variant)||"default",actionProps:r==null?void 0:r.actionProps,isLoading:r==null?void 0:r.isLoading},{timeout:i,onClose:()=>{requestAnimationFrame(()=>{var s;(s=r==null?void 0:r.onClose)==null||s.call(r)})}})};return t.success=(l,r)=>t(l,{...r,variant:"success"}),t.danger=(l,r)=>t(l,{...r,variant:"danger"}),t.info=(l,r)=>t(l,{...r,variant:"accent"}),t.warning=(l,r)=>t(l,{...r,variant:"warning"}),t.promise=(l,r)=>{const i=typeof l=="function"?l():l,s=e.add({title:r.loading,variant:"default",isLoading:!0},{timeout:0});return i.then(u=>{const f=typeof r.success=="function"?r.success(u):r.success;return e.close(s),t.success(f)}).catch(u=>{const f=typeof r.error=="function"?r.error(u):r.error;return e.close(s),t.danger(f)}),s},t.getQueue=()=>e.getQueue(),t.close=l=>e.close(l),t.pauseAll=()=>e.pauseAll(),t.resumeAll=()=>e.resumeAll(),t.clear=()=>e.clear(),t}const QA=new Xo({maxVisibleToasts:O5}),Sx=ZA(QA),JA=e=>{const[t,l]=y.useState(void 0),r=y.useCallback(()=>{if(e.current){const i=e.current.scrollHeight;l(s=>s!==i?i:s)}},[e]);return y.useEffect(()=>{const i=e.current;if(!i)return;const s=new ResizeObserver(r),u=new MutationObserver(f=>{f.some(h=>h.type==="attributes"&&h.attributeName==="aria-hidden")&&r()});return s.observe(i),u.observe(i,{attributeFilter:["aria-hidden"],attributes:!0}),()=>{s.disconnect(),u.disconnect()}},[e,r]),{height:t}},wx=typeof window<"u"?y.useLayoutEffect:y.useEffect,eL=typeof window>"u";function tL(e,{defaultValue:t=!1,initializeWithValue:l=!0}={}){const r=f=>eL?t:window.matchMedia(f).matches,[i,s]=y.useState(()=>l?r(e):t);function u(){s(r(e))}return wx(()=>{const f=window.matchMedia(e);return u(),f.addListener?f.addListener(u):f.addEventListener("change",u),()=>{f.removeListener?f.removeListener(u):f.removeEventListener("change",u)}},[e]),i}const wa=y.createContext({}),d2=({children:e,className:t,placement:l,scaleFactor:r=j5,toast:i,variant:s,...u})=>{const{gap:f=z5,heightsByKey:d,maxVisibleToasts:h=P5,onToastHeightChange:p,onToastHeightRemove:b,placement:v,scaleFactor:w,slots:x}=y.use(wa),T=l??v,C=r??w,M=y.use(Du).visibleToasts,L=M.indexOf(i),k=L<=0,B=T==null?void 0:T.startsWith("bottom"),G=L>=h,$=i==null?void 0:i.key,A=y.useRef(null),{height:U}=JA(A);y.useEffect(()=>{$&&typeof U=="number"&&(p==null||p($,U))},[$,U,p]),y.useEffect(()=>{if($)return()=>{b==null||b($)}},[$,b]),y.useLayoutEffect(()=>{const q=A.current;q&&(q.tabIndex=k?0:-1)},[k]);const K=y.useMemo(()=>{var z;const q=(z=M[0])==null?void 0:z.key,te=(q?d==null?void 0:d[q]:void 0)??U??0,ne=L*f,j=(B?-1:1)*ne;return{scale:`${1-L*C}`,translate:`0 ${j}px 0`,viewTransitionName:`toast-${String(i.key).replace(/[^a-zA-Z0-9]/g,"-")}`,zIndex:M.length-L,...te?{"--front-height":`${te}px`}:null,opacity:G?0:1,pointerEvents:G?"none":"auto",...u.style}},[C,f,d,L,B,k,G,u.style,i==null?void 0:i.key,U,M]);return E.jsx(XA,{ref:A,"aria-hidden":G,className:Mt(t,x==null?void 0:x.toast({variant:s})),"data-frontmost":ch(k),"data-hidden":ch(G),"data-index":L,"data-slot":"toast",style:K,toast:i,...u,children:e})};d2.displayName="HeroUI.Toast";const Ex=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return E.jsx(WA,{className:Je(r==null?void 0:r.content,t),"data-slot":"toast-content",...l,children:e})},cu=({children:e,className:t,variant:l,...r})=>{const{slots:i}=y.use(wa),s=y.useCallback(()=>{switch(l){case"accent":return E.jsx(au,{"data-slot":"toast-default-icon"});case"success":return E.jsx(e4,{"data-slot":"toast-default-icon"});case"warning":return E.jsx(Q3,{"data-slot":"toast-default-icon"});case"danger":return E.jsx(J3,{"data-slot":"toast-default-icon"});default:return E.jsx(au,{"data-slot":"toast-default-icon"})}},[l]);return E.jsx(Ct.div,{className:Je(i==null?void 0:i.indicator,t),"data-slot":"toast-indicator",...r,children:e??s()})};cu.displayName="HeroUI.ToastIndicator";const h2=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return E.jsx(s5,{className:Je(r==null?void 0:r.title,t),"data-slot":"toast-title",slot:"title",...l,children:e})};h2.displayName="HeroUI.ToastTitle";const m2=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return E.jsx(s5,{className:Je(r==null?void 0:r.description,t),"data-slot":"toast-description",slot:"description",...l,children:e})};m2.displayName="HeroUI.ToastDescription";const p2=({className:e,...t})=>{const{slots:l}=y.use(wa);return E.jsx(d5,{className:Mt(e,l==null?void 0:l.close()),"data-slot":"toast-close",slot:"close",...t})};p2.displayName="HeroUI.ToastCloseButton";const uu=({children:e,className:t,...l})=>{var i;const{slots:r}=y.use(wa);return E.jsx(mn,{className:Mt(t,(i=r==null?void 0:r.action)==null?void 0:i.call(r)),"data-slot":"toast-action-button",...l,children:e})};uu.displayName="HeroUI.ToastActionButton";const Cx=({children:e,className:t,gap:l=z5,maxVisibleToasts:r,placement:i="bottom",queue:s,scaleFactor:u=j5,width:f=PA,...d})=>{const h=y.useMemo(()=>nT({placement:i}),[i]),p=tL("(max-width: 768px)"),[b,v]=V.useState({}),w=y.useMemo(()=>s?s.getQueue():Sx.getQueue(),[s]),x=y.useMemo(()=>{const M=s&&"maxVisibleToasts"in s?s.maxVisibleToasts:void 0;return r??M??P5},[r,s]),T=y.useCallback((M,L)=>{v(k=>k[M]===L?k:{...k,[M]:L})},[]),C=y.useCallback(M=>{v(L=>{if(!(M in L))return L;const k={...L};return delete k[M],k})},[]),N=y.useCallback(M=>{const{actionProps:L,description:k,indicator:B,isLoading:G,title:$,variant:A}=M.toast.content??{};return E.jsxs(d2,{placement:i,scaleFactor:u,toast:M.toast,variant:A,children:[B===null?null:G?E.jsx(cu,{variant:A,children:E.jsx(zA,{color:"current",size:"sm"})}):E.jsx(cu,{variant:A,children:B}),E.jsxs(Ex,{children:[!!$&&E.jsx(h2,{children:$}),!!k&&E.jsx(m2,{children:k}),p&&(L!=null&&L.children)?E.jsx(uu,{...L,children:L.children}):null]}),!p&&(L!=null&&L.children)?E.jsx(uu,{...L,children:L.children}):null,E.jsx(p2,{})]})},[p,i,u]);return E.jsx(qA,{className:Mt(t,h==null?void 0:h.region()),"data-slot":"toast-region",queue:w,style:{"--gap":`${l}px`,"--placement":i,"--scale-factor":u,"--toast-width":typeof f=="number"?`${f}px`:f},...d,children:M=>{const L=M.toast.content,k={...M,isLoading:(L==null?void 0:L.isLoading)??!1};return E.jsx(wa,{value:{gap:l,heightsByKey:b,maxVisibleToasts:x,onToastHeightChange:T,onToastHeightRemove:C,placement:i,scaleFactor:u,slots:h,width:f},children:typeof e>"u"?N(M):typeof e=="function"?e(k):e})}})};Cx.displayName="HeroUI.ToastProvider";const g2=Object.assign(d2,{Provider:Cx,Content:Ex,Indicator:cu,Title:h2,Description:m2,ActionButton:uu,CloseButton:p2,Queue:Xo,toast:Sx}),Tx=new WeakMap;function fu(e,t,l){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${Tx.get(e)}-${l}-${t}`):""}function nL(e,t,l){let{key:r,isDisabled:i,shouldSelectOnPressUp:s}=e,{selectionManager:u,selectedKey:f}=t,d=r===f,h=i||t.isDisabled||t.selectionManager.isDisabled(r),p=t.collection.getItem(r),{itemProps:b,isPressed:v}=fM({selectionManager:u,key:r,ref:l,isDisabled:h,shouldSelectOnPressUp:s??(p==null?void 0:p.props.href)!=null,linkBehavior:"selection"}),w=fu(t,r,"tab"),x=fu(t,r,"tabpanel"),{tabIndex:T}=b,C=mt(p==null?void 0:p.props,{labelable:!0});delete C.id;let N=Qy(p==null?void 0:p.props),{focusableProps:M}=qo({...p==null?void 0:p.props,isDisabled:h},l);return{tabProps:Ce(C,M,N,b,{id:w,"aria-selected":d,"aria-disabled":h||void 0,"aria-controls":d?x:void 0,tabIndex:h?void 0:T,role:"tab"}),isSelected:d,isDisabled:h,isPressed:v}}function lL(e,t){let l=t==null?void 0:t.isDisabled,[r,i]=y.useState(!1);return Ne(()=>{if(e!=null&&e.current&&!l){let s=()=>{if(e.current){let f=ll(e.current,{tabbable:!0});i(!!f.nextNode())}};s();let u=new MutationObserver(s);return u.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{u.disconnect()}}}),l?!1:r}function aL(e,t,l){let r=lL(l)?void 0:0;const i=fu(t,e.id??(t==null?void 0:t.selectedKey),"tabpanel"),s=Kh({...e,id:i,"aria-labelledby":fu(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:Ce(s,{tabIndex:r,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class rL{constructor(t,l,r,i=new Set){this.collection=t,this.flipDirection=l==="rtl"&&r==="horizontal",this.disabledKeys=i,this.tabDirection=r==="horizontal"}getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var l,r;return this.disabledKeys.has(t)||!!((r=(l=this.collection.getItem(t))==null?void 0:l.props)!=null&&r.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){let l=t;do l=this.collection.getKeyAfter(l),l==null&&(l=this.collection.getFirstKey());while(l!=null&&this.isDisabled(l)&&l!==t);return l}getPreviousKey(t){let l=t;do l=this.collection.getKeyBefore(l),l==null&&(l=this.collection.getLastKey());while(l!=null&&this.isDisabled(l)&&l!==t);return l}}function iL(e,t,l){let{orientation:r="horizontal",keyboardActivation:i="automatic"}=e,{collection:s,selectionManager:u,disabledKeys:f}=t,{direction:d}=bi(),h=y.useMemo(()=>new rL(s,d,r,f),[s,f,r,d]),{collectionProps:p}=uM({ref:l,selectionManager:u,keyboardDelegate:h,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:l,linkBehavior:"selection"}),b=_n();Tx.set(t,b);let v=Kh({...e,id:b});return{tabListProps:{...Ce(p,v),role:"tablist","aria-orientation":r,tabIndex:void 0}}}function oL(e){let[t,l]=Ru(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=y.useMemo(()=>t!=null?[t]:[],[t]),{collection:i,disabledKeys:s,selectionManager:u}=IM({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:d=>{if(d==="all")return;let h=d.values().next().value??null;h===t&&e.onSelectionChange&&e.onSelectionChange(h),l(h)}}),f=t!=null?i.getItem(t):null;return{collection:i,disabledKeys:s,selectionManager:u,selectedKey:t,setSelectedKey:l,selectedItem:f}}function sL(e){let t=oL({...e,onSelectionChange:e.onSelectionChange?u=>{var f;u!=null&&((f=e.onSelectionChange)==null||f.call(e,u))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??Dv(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:l,collection:r,selectedKey:i}=t,s=y.useRef(i);return y.useEffect(()=>{let u=i;e.selectedKey==null&&(l.isEmpty||u==null||!r.getItem(u))&&(u=Dv(r,t.disabledKeys),u!=null&&l.setSelectedKeys([u])),(u!=null&&l.focusedKey==null||!l.isFocused&&u!==s.current)&&l.setFocusedKey(u),s.current=u}),{...t,isDisabled:e.isDisabled||!1}}function Dv(e,t){var r,i,s,u;let l=null;if(e){for(l=e.getFirstKey();l!=null&&(t.has(l)||(i=(r=e.getItem(l))==null?void 0:r.props)!=null&&i.isDisabled)&&l!==e.getLastKey();)l=e.getKeyAfter(l);l!=null&&(t.has(l)||(u=(s=e.getItem(l))==null?void 0:s.props)!=null&&u.isDisabled)&&l===e.getLastKey()&&(l=e.getFirstKey())}return l}const $u=y.createContext(null),ar=y.createContext(null),cL=y.forwardRef(function(t,l){[t,l]=yn(t,l,$u);let{children:r,orientation:i="horizontal"}=t;return r=y.useMemo(()=>typeof r=="function"?r({orientation:i,defaultChildren:null}):r,[r,i]),V.createElement(KR,{content:r},s=>V.createElement(uL,{props:t,collection:s,tabsRef:l}))});function uL({props:e,tabsRef:t,collection:l}){let{orientation:r="horizontal"}=e,i=sL({...e,collection:l,children:void 0}),{focusProps:s,isFocused:u,isFocusVisible:f}=Dl({within:!0}),d=y.useMemo(()=>({orientation:r,isFocusWithin:u,isFocusVisible:f}),[r,u,f]),h=At({...e,defaultClassName:"react-aria-Tabs",values:d}),p=mt(e,{global:!0});return V.createElement(ut.div,{...Ce(p,h,s),ref:t,slot:e.slot||void 0,"data-focused":u||void 0,"data-orientation":r,"data-focus-visible":f||void 0,"data-disabled":i.isDisabled||void 0},V.createElement(sr,{values:[[$u,e],[ar,i]]},h.children))}const $v=y.forwardRef(function(t,l){return y.useContext(ar)?V.createElement(fL,{props:t,forwardedRef:l}):V.createElement(YR,t)});function fL({props:e,forwardedRef:t}){let l=y.useContext(ar),{CollectionRoot:r}=y.useContext(l5),{orientation:i="horizontal",keyboardActivation:s="automatic"}=Cu($u),u=bn(t),{tabListProps:f}=iL({...e,orientation:i,keyboardActivation:s},l,u),d=At({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:i,state:l}}),h=mt(e,{global:!0});return delete h.id,V.createElement(ut.div,{...Ce(h,d,f),ref:u,"data-orientation":i||void 0},V.createElement(eM,null,V.createElement(r,{collection:l.collection,persistedKeys:ZR(l.selectionManager.focusedKey)})))}const k2=class k2 extends vi{};k2.type="item";let wh=k2;const dL=qR(wh,(e,t,l)=>{let r=y.useContext(ar),i=bn(t),{tabProps:s,isSelected:u,isDisabled:f,isPressed:d}=nL({key:l.key,...e},r,i),{focusProps:h,isFocused:p,isFocusVisible:b}=Dl(),{hoverProps:v,isHovered:w}=Sa({isDisabled:f,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),x=At({...e,id:void 0,children:l.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:u,isDisabled:f,isFocused:p,isFocusVisible:b,isPressed:d,isHovered:w}}),T=l.props.href?ut.a:ut.div,C=mt(e,{global:!0});return delete C.id,delete C.onClick,V.createElement(T,{...Ce(C,x,s,h,v),ref:i,"data-selected":u||void 0,"data-disabled":f||void 0,"data-focused":p||void 0,"data-focus-visible":b||void 0,"data-pressed":d||void 0,"data-hovered":w||void 0},V.createElement(o5.Provider,{value:{isSelected:u}},x.children))}),hL=O3(function(t,l){const r=y.useContext(ar);let i=bn(l),s=r.selectedKey===t.id,[u,f]=y.useState(r.selectedKey!=null?s:null);u==null&&r.selectedKey!=null?f(s):!s&&u&&f(!1);let d=Zc(i,s);return!s&&!t.shouldForceMount&&!d?null:V.createElement(mL,{...t,tabPanelRef:i,isInitiallySelected:u||!1,isExiting:d})});function mL(e){let t=y.useContext(ar),{id:l,tabPanelRef:r,isInitiallySelected:i,isExiting:s,...u}=e,{tabPanelProps:f}=aL(e,t,r),{focusProps:d,isFocused:h,isFocusVisible:p}=Dl(),b=t.selectedKey===e.id,v=wu(r)&&!i,w=At({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:h,isFocusVisible:p,isInert:Sb(!b),isEntering:v,isExiting:s,state:t}}),x=mt(u,{global:!0});delete x.id;let T=b?Ce(x,f,d,w):Ce(x,w);return V.createElement(ut.div,{...T,ref:r,"data-focused":h||void 0,"data-focus-visible":p||void 0,inert:Sb(!b||e.inert),"data-inert":b?void 0:"true","data-entering":v||void 0,"data-exiting":s||void 0},V.createElement(sr,{values:[[$u,null],[ar,null]]},V.createElement(l5.Provider,{value:n5},w.children)))}const xi=y.createContext({}),Rx=LA("tabs.listContainer"),zv=({children:e,className:t,orientation:l="horizontal",variant:r,...i})=>{const s=V.useMemo(()=>tT({variant:r}),[r]);return E.jsx(xi,{value:{orientation:l,slots:s},children:E.jsx(cL,{...i,className:Mt(t,s.base()),"data-slot":"tabs",orientation:l,children:e})})},pL=({children:e,className:t,render:l,...r})=>E.jsx(Rx.Injector,{...r,className:t,render:l,children:e}),gL=({children:e,className:t,...l})=>{const{orientation:r="horizontal",slots:i}=y.use(xi),s=y.useRef(null),u=r==="vertical",[f,d]=Rx.useSlot(l),h=y.useCallback(w=>{const x=s.current;if(!x)return;const T=u?x.clientHeight:x.clientWidth,C=u?x.scrollHeight:x.scrollWidth,N=Math.max(0,C-T),M=!u&&getComputedStyle(x).direction==="rtl",L=w*T*.8*(M?-1:1),k=u?x.scrollTop:x.scrollLeft,B=Math.min(M?0:N,Math.max(M?-N:0,k+L));B!==k&&x.scrollTo({behavior:"smooth",[u?"top":"left"]:B})},[u]);if(!f)return E.jsx($v,{...d,className:Mt(t,i==null?void 0:i.tabList()),"data-slot":"tabs-list",children:e});const{className:p,render:b,...v}=f;return E.jsx($v,{...d,className:Mt(t,i==null?void 0:i.tabList()),"data-slot":"tabs-list",render:w=>{const{children:x,className:T,ref:C,...N}=w;return E.jsxs(Ct.div,{className:Je(i==null?void 0:i.tabListContainer,p),"data-slot":"tabs-list-container",render:b,...v,children:[E.jsx(DA,{ref:s,hideScrollBar:!0,className:Je(i==null?void 0:i.scroller),orientation:r,size:64,children:E.jsx("div",{...N,ref:C,className:T,children:x})}),E.jsx("button",{"aria-label":u?"Scroll tabs up":"Scroll tabs left",className:Je(i==null?void 0:i.scrollPrev),tabIndex:-1,type:"button",onClick:()=>h(-1),children:u?E.jsx(GT,{}):E.jsx(qT,{})}),E.jsx("button",{"aria-label":u?"Scroll tabs down":"Scroll tabs right",className:Je(i==null?void 0:i.scrollNext),tabIndex:-1,type:"button",onClick:()=>h(1),children:u?E.jsx(_T,{}):E.jsx(YT,{})})]})},children:e})},bL=({children:e,className:t,...l})=>{const{slots:r}=y.use(xi);return E.jsx(dL,{...l,className:Mt(t,r==null?void 0:r.tab()),"data-slot":"tabs-tab",children:e})},vL=({className:e,...t})=>{const{slots:l}=y.use(xi);return E.jsx(nM,{className:Je(l==null?void 0:l.tabIndicator,e),"data-slot":"tabs-indicator",...t})},yL=({children:e,className:t,...l})=>{const{slots:r}=y.use(xi);return E.jsx(hL,{...l,className:Mt(t,r==null?void 0:r.tabPanel()),"data-slot":"tabs-panel",children:e})},xL=({className:e,...t})=>{const{slots:l}=y.use(xi);return E.jsx(Ct.span,{"aria-hidden":"true",className:Je(l==null?void 0:l.separator,e),"data-slot":"tabs-separator",...t})},ra=Object.assign(zv,{Root:zv,ListContainer:pL,List:gL,Tab:bL,Indicator:vL,Separator:xL,Panel:yL}),Wo=y.createContext({}),Pv=({children:e,className:t,status:l,...r})=>{const i=V.useMemo(()=>_C({status:l}),[l]);return E.jsx(Wo,{value:{slots:i,status:l},children:E.jsx(t2,{value:{variant:"default"},children:E.jsx(Ct.div,{className:i==null?void 0:i.base({className:t}),"data-slot":"alert-root",...r,children:e})})})},SL=({children:e,className:t,...l})=>{const{slots:r,status:i}=y.use(Wo),s=()=>{switch(i){case"accent":return E.jsx(au,{"data-slot":"alert-default-icon"});case"success":return E.jsx(e4,{"data-slot":"alert-default-icon"});case"warning":return E.jsx(Q3,{"data-slot":"alert-default-icon"});case"danger":return E.jsx(J3,{"data-slot":"alert-default-icon"});default:return E.jsx(au,{"data-slot":"alert-default-icon"})}};return E.jsx(Ct.div,{className:Je(r==null?void 0:r.indicator,t),"data-slot":"alert-indicator",...l,children:e??s()})},wL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Wo);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.content,t),"data-slot":"alert-content",...l,children:e})},EL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Wo);return E.jsx(Ct.p,{className:Je(r==null?void 0:r.title,t),"data-slot":"alert-title",...l,children:e})},CL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Wo);return E.jsx(Ct.span,{className:Je(r==null?void 0:r.description,t),"data-slot":"alert-description",...l,children:e})},wo=Object.assign(Pv,{Root:Pv,Indicator:SL,Content:wL,Title:EL,Description:CL}),pn=y.createContext({}),Ov=({children:e,state:t,...l})=>{const r=y.useMemo(()=>({slots:Zh(),placement:void 0}),[]),i=y.useMemo(()=>t?{isOpen:t.isOpen,onOpenChange:t.setOpen}:{},[t]);return E.jsx(pn,{value:r,children:E.jsx(EM,{"data-slot":"modal-root",...Ce(l,i),children:e})})},TL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(kM,{children:E.jsx(Ct.div,{className:Je(r==null?void 0:r.trigger,t),"data-slot":"modal-trigger",role:"button",...l,children:e})})},RL=({children:e,className:t,isDismissable:l=!0,onClick:r,variant:i,...s})=>{const{slots:u}=y.use(pn),f=y.useMemo(()=>Zh({variant:i}),[i]),d=y.useMemo(()=>({slots:{...u,...f}}),[u,f]);return E.jsx(f5,{className:Mt(t,f==null?void 0:f.backdrop()),"data-slot":"modal-backdrop",isDismissable:l,onClick:h=>{h.stopPropagation(),r==null||r(h)},...s,children:h=>E.jsxs(pn,{value:d,children:[typeof e=="function"?e(h):e," "]})})},ML=({children:e,className:t,placement:l="auto",scroll:r,size:i,...s})=>{const{slots:u}=y.use(pn),f=y.useMemo(()=>Zh({scroll:r,size:i}),[r,i]),d=y.useMemo(()=>({placement:l,slots:{...u,...f}}),[u,l,f]);return E.jsx(MM,{className:Mt(t,f==null?void 0:f.container()),"data-placement":l,"data-slot":"modal-container",...s,children:h=>E.jsx(pn,{value:d,children:typeof e=="function"?e(h):e})})},AL=({children:e,className:t,...l})=>{const{placement:r,slots:i}=y.use(pn);return E.jsx(t2,{value:{variant:"default"},children:E.jsx(CM,{className:Je(i==null?void 0:i.dialog,t),"data-placement":r,"data-slot":"modal-dialog",...l,children:e})})},LL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.header,t),"data-slot":"modal-header",...l,children:e})},kL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.body,t),"data-slot":"modal-body",...l,children:e})},NL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.footer,t),"data-slot":"modal-footer",...l,children:e})},DL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(VT,{className:Je(r==null?void 0:r.heading,t),"data-slot":"modal-heading",slot:"title",...l,children:e})},$L=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.icon,t),"data-slot":"modal-icon",...l,children:e})},zL=({className:e,...t})=>{const{slots:l}=y.use(pn);return E.jsx(d5,{className:Mt(e,l==null?void 0:l.closeTrigger()),"data-slot":"modal-close-trigger",slot:"close",...t})},Be=Object.assign(Ov,{Root:Ov,Trigger:TL,Backdrop:RL,Container:ML,Dialog:AL,Header:LL,Icon:$L,Heading:DL,Body:kL,Footer:NL,CloseTrigger:zL}),jv="heroui-theme",Mx="(prefers-color-scheme: dark)";function PL(e){if(typeof window>"u")return()=>{};const t=window.matchMedia(Mx);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function OL(){var e;return(e=window.matchMedia)!=null&&e.call(window,Mx).matches?"dark":"light"}function jL(){}function IL(e,t){t!==e&&(t&&document.documentElement.classList.remove(t),document.documentElement.classList.add(e),document.documentElement.setAttribute("data-theme",e))}function BL(e="system"){const[t,l]=y.useState(()=>typeof window>"u"?e:localStorage.getItem(jv)??e),r=y.useSyncExternalStore(PL,OL,jL),i=t==="system"?r:t,s=y.useRef(void 0);wx(()=>{i&&(IL(i,s.current),s.current=i)},[i]);const u=y.useCallback(f=>{typeof window>"u"||(localStorage.setItem(jv,f),l(f))},[]);return{resolvedTheme:i,setTheme:u,theme:t}}const Ax=y.createContext(null);function HL({children:e}){const{theme:t,setTheme:l}=BL("light"),r=t==="dark"?"dark":"light",i=y.useCallback(f=>{l(f)},[l]),s=y.useCallback(()=>{l(r==="light"?"dark":"light")},[l,r]),u=y.useMemo(()=>({theme:r,setTheme:i,toggleTheme:s}),[r,i,s]);return E.jsx(Ax.Provider,{value:u,children:e})}function Az(){const e=y.useContext(Ax);if(!e)throw new Error("useTheme must be used within ThemeProvider");return e}const KL=e=>y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),y.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.53 11.78a.75.75 0 0 1-1.06 0l-2.5-2.5a.75.75 0 0 1 1.06-1.06l1.22 1.22V1.75a.75.75 0 0 1 1.5 0v7.69l1.22-1.22a.75.75 0 1 1 1.06 1.06zM1.75 13.5a.75.75 0 0 0 0 1.5h12.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),UL=e=>y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),y.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14m1-9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0m-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0z",clipRule:"evenodd"})),FL=e=>y.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),y.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.199 2H8.8a.2.2 0 0 1 .2.2c0 1.808 1.958 2.939 3.524 2.034a.2.2 0 0 1 .271.073l.802 1.388a.2.2 0 0 1-.073.272c-1.566.904-1.566 3.164 0 4.069a.2.2 0 0 1 .073.271l-.802 1.388a.2.2 0 0 1-.271.073C10.958 10.863 9 11.993 9 13.8a.2.2 0 0 1-.199.2H7.2a.2.2 0 0 1-.2-.2c0-1.808-1.958-2.938-3.524-2.034a.2.2 0 0 1-.272-.073l-.8-1.388a.2.2 0 0 1 .072-.271c1.566-.905 1.566-3.165 0-4.07a.2.2 0 0 1-.073-.27l.801-1.389a.2.2 0 0 1 .272-.072C5.042 5.138 7 4.007 7 2.199c0-.11.089-.199.199-.199M5.5 2.2c0-.94.76-1.7 1.699-1.7H8.8c.94 0 1.7.76 1.7 1.7a.85.85 0 0 0 1.274.735 1.7 1.7 0 0 1 2.32.622l.802 1.388c.469.813.19 1.851-.622 2.32a.85.85 0 0 0 0 1.472 1.7 1.7 0 0 1 .622 2.32l-.802 1.388a1.7 1.7 0 0 1-2.32.622.85.85 0 0 0-1.274.735c0 .939-.76 1.7-1.699 1.7H7.2a1.7 1.7 0 0 1-1.699-1.7.85.85 0 0 0-1.274-.735 1.7 1.7 0 0 1-2.32-.622l-.802-1.388a1.7 1.7 0 0 1 .622-2.32.85.85 0 0 0 0-1.471 1.7 1.7 0 0 1-.622-2.32l.801-1.389a1.7 1.7 0 0 1 2.32-.622A.85.85 0 0 0 5.5 2.2m4 5.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0",clipRule:"evenodd"})),VL="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenAI%3c/title%3e%3cpath%20d='M9.205%208.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357%201.356-.523%202.117-.523%202.854%200%204.662%202.212%204.662%204.566%200%20.167%200%20.357-.024.547l-4.71-2.759a.797.797%200%2000-.856%200l-5.97%203.473zm10.609%208.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473%201.95-1.118a.433.433%200%2001.476%200l4.543%202.617c1.309.76%202.189%202.378%202.189%203.948%200%201.808-1.07%203.473-2.76%204.163zM7.802%2012.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545%201.95-4.472%204.591-4.472%201%200%201.927.333%202.712.928L8.23%205.067c-.285.166-.428.404-.428.737v6.898zM12%2015.128l-2.795-1.57v-3.33L12%208.658l2.795%201.57v3.33L12%2015.128zm1.796%207.23c-1%200-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974%201.142c.167.095.238.238.238.428v5.233c0%202.545-1.974%204.472-4.614%204.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482%204.482%200%20014.21%206.327v5.423c0%20.333.143.571.428.738l5.947%203.449-1.95%201.118a.432.432%200%2001-.476%200zm-.262%203.9c-2.688%200-4.662-2.021-4.662-4.519%200-.19.024-.38.047-.57l4.686%202.71c.286.167.571.167.856%200l5.97-3.448v2.26c0%20.19-.07.333-.237.428l-4.543%202.616c-.619.357-1.356.523-2.117.523zm5.899%202.83a5.947%205.947%200%20005.827-4.756C22.287%2018.339%2024%2015.84%2024%2013.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498%200-3.401-2.759-5.947-5.946-5.947-.642%200-1.26.095-1.88.31A5.962%205.962%200%200010.205%200a5.947%205.947%200%2000-5.827%204.757C1.713%205.447%200%207.945%200%2010.49c0%201.666.713%203.283%201.998%204.448-.119.5-.19%201-.19%201.499%200%203.401%202.759%205.946%205.946%205.946.642%200%201.26-.095%201.88-.309a5.96%205.96%200%20004.162%201.713z'%3e%3c/path%3e%3c/svg%3e",Eh="https://lf3-cdn-tos.draftstatic.com/obj/ies-hotsoon-draft/juejin/7b28b328-1ae4-4781-8d46-430fef1b872e.html";async function _L(){var t;const e=(t=window.tud)==null?void 0:t.openExternal;if(typeof e=="function"){await e(Eh);return}window.open(Eh,"_blank","noopener,noreferrer")}function GL({isOpen:e,onOpenChange:t,onConfirm:l}){const[r,i]=y.useState(!1);return y.useEffect(()=>{e&&i(!1)},[e]),E.jsx(Be.Backdrop,{isOpen:e,onOpenChange:t,variant:"blur",children:E.jsx(Be.Container,{size:"sm",children:E.jsxs(Be.Dialog,{children:[E.jsx(Be.CloseTrigger,{"aria-label":"关闭"}),E.jsx(Be.Header,{children:E.jsx(Be.Heading,{children:"用户协议"})}),E.jsxs(Be.Body,{className:"space-y-4 text-sm leading-6 text-muted",children:[E.jsx("p",{children:"关联掘金账号后,本机用量数据将在您开启云端同步时上传至掘金服务。请先阅读并同意相关协议。"}),E.jsx(ha,{id:"juejin-login-consent",isSelected:r,onChange:i,children:E.jsxs(ha.Content,{children:[E.jsx(ha.Control,{children:E.jsx(ha.Indicator,{})}),E.jsxs("span",{children:["我已阅读并同意",E.jsx("button",{className:"mx-0.5 text-accent underline underline-offset-2 hover:opacity-80",onClick:s=>{s.preventDefault(),s.stopPropagation(),_L()},type:"button",children:"《稀土掘金隐私政策》"}),",并同意上传数据"]})]})})]}),E.jsxs(Be.Footer,{className:"gap-2",children:[E.jsx(mn,{slot:"close",variant:"tertiary",children:"取消"}),E.jsx(mn,{isDisabled:!r,onPress:()=>{t(!1),l()},variant:"primary",children:"同意并登录"})]})]})})})}const qL="/assets/antigravity-color-DgAQAdn3.svg",YL="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eAmp%3c/title%3e%3cpath%20d='M15.087%2023.18L12.03%2024l-2.097-7.823-5.738%205.738-2.251-2.251%205.718-5.719-7.769-2.082.82-3.057%2011.294%203.08%203.08%2011.295z'%20fill='%23F34E3F'%3e%3c/path%3e%3cpath%20d='M19.505%2018.762l-3.057.82-2.564-9.573-9.572-2.564.819-3.057%2011.295%203.079%203.08%2011.295z'%20fill='%23F34E3F'%3e%3c/path%3e%3cpath%20d='M23.893%2014.374l-3.057.82-2.565-9.572L8.7%203.057%209.52%200l11.295%203.08%203.079%2011.294z'%20fill='%23F34E3F'%3e%3c/path%3e%3c/svg%3e",XL="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eClaude%20Code%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M20.998%2010.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0V10.95h3V5h17.998v5.949zM6%2010.949h1.488V8.102H6v2.847zm10.51%200H18V8.102h-1.49v2.847z'%20fill='%23D97757'%20fill-rule='evenodd'%3e%3c/path%3e%3c/svg%3e",WL="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCline%3c/title%3e%3cpath%20d='M17.035%203.991c2.75%200%204.98%202.24%204.98%205.003v1.667l1.45%202.896a1.01%201.01%200%2001-.002.909l-1.448%202.864v1.668c0%202.762-2.23%205.002-4.98%205.002H7.074c-2.751%200-4.98-2.24-4.98-5.002V17.33l-1.48-2.855a1.01%201.01%200%2001-.003-.927l1.482-2.887V8.994c0-2.763%202.23-5.003%204.98-5.003h9.962zM8.265%209.6a2.274%202.274%200%2000-2.274%202.274v4.042a2.274%202.274%200%20004.547%200v-4.042A2.274%202.274%200%20008.265%209.6zm7.326%200a2.274%202.274%200%2000-2.274%202.274v4.042a2.274%202.274%200%20104.548%200v-4.042A2.274%202.274%200%200015.59%209.6z'%3e%3c/path%3e%3cpath%20d='M12.054%205.558a2.779%202.779%200%20100-5.558%202.779%202.779%200%20000%205.558z'%3e%3c/path%3e%3c/svg%3e",Iv="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodeBuddy%3c/title%3e%3cpath%20d='M18.821%200H5.18A5.179%205.179%200%20000%205.179V18.82A5.179%205.179%200%20005.179%2024H18.82A5.179%205.179%200%200024%2018.821V5.18A5.179%205.179%200%200018.821%200z'%20fill='url(%23lobe-icons-code-buddy-_R_0_)'%3e%3c/path%3e%3cpath%20d='M18.777%201.647c.28-.02.536.114.972.51%201.018.926%202.437%202.828%203.318%204.452l.34.631.482.24.11.06v3.638a5.206%205.206%200%2000-5.32-1.23c-.491.166-1.021.471-2.08%201.082l-6.09%203.516c-1.057.61-1.586.916-1.975%201.259a5.208%205.208%200%2000-1.493%205.572c.165.49.471%201.02%201.082%202.08l.315.543h-3.26c-.685%200-1.34-.135-1.939-.377-.169-.956-.009-1.789.469-2.335.158-.18.164-.189.13-.493a11.846%2011.846%200%2001-.057-1.711l.02-.444-.667-1.18C2.1%2015.622%201.445%2014.078%201.192%2012.9c-.133-.647-.125-.934.04-1.146.1-.128.427-.261.822-.334.994-.175%203.162-.017%205.575.41l.25.043.551-.487c.915-.81%201.522-1.264%202.641-1.962%201.167-.73%202.484-1.331%203.967-1.807l.476-.152.261-.688c.937-2.471%201.896-4.293%202.58-4.9.235-.21.25-.22.422-.23z'%20fill='%23fff'%3e%3c/path%3e%3cpath%20d='M12.139%2018.2a1.203%201.203%200%20011.642.44l1.296%202.243a1.204%201.204%200%2001-2.083%201.203l-1.296-2.243a1.203%201.203%200%2001.44-1.644zM18.629%2014.452a1.203%201.203%200%20011.642.44l1.295%202.244a1.203%201.203%200%2011-2.083%201.203l-1.295-2.243a1.203%201.203%200%2001.44-1.644z'%20fill='%23fff'%3e%3c/path%3e%3cdefs%3e%3cradialGradient%20cx='0'%20cy='0'%20gradientTransform='matrix(-9.00009%20-16%2016%20-9.00009%2021%2024.5)'%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-code-buddy-_R_0_'%20r='1'%3e%3cstop%20stop-color='%232EA99D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%236C4DFF'%3e%3c/stop%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",Bv="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCodex%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M8.086.457a6.105%206.105%200%20013.046-.415c1.333.153%202.521.72%203.564%201.7a.117.117%200%2000.107.029c1.408-.346%202.762-.224%204.061.366l.063.03.154.076c1.357.703%202.33%201.77%202.918%203.198.278.679.418%201.388.421%202.126a5.655%205.655%200%2001-.18%201.631.167.167%200%2000.04.155%205.982%205.982%200%20011.578%202.891c.385%201.901-.01%203.615-1.183%205.14l-.182.22a6.063%206.063%200%2001-2.934%201.851.162.162%200%2000-.108.102c-.255.736-.511%201.364-.987%201.992-1.199%201.582-2.962%202.462-4.948%202.451-1.583-.008-2.986-.587-4.21-1.736a.145.145%200%2000-.14-.032c-.518.167-1.04.191-1.604.185a5.924%205.924%200%2001-2.595-.622%206.058%206.058%200%2001-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74%207.74%200%2001-.495-1.283%206.11%206.11%200%2001-.017-3.064.166.166%200%2000.008-.074.115.115%200%2000-.037-.064%205.958%205.958%200%2001-1.38-2.202%205.196%205.196%200%2001-.333-1.589%206.915%206.915%200%2001.188-2.132c.45-1.484%201.309-2.648%202.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129%200%2000.087-.087A6.016%206.016%200%20015.635%202.31C6.315%201.464%207.132.846%208.086.457zm-.804%207.85a.848.848%200%2000-1.473.842l1.694%202.965-1.688%202.848a.849.849%200%20001.46.864l1.94-3.272a.849.849%200%2000.007-.854l-1.94-3.393zm5.446%206.24a.849.849%200%20000%201.695h4.848a.849.849%200%20000-1.696h-4.848z'%3e%3c/path%3e%3c/svg%3e",ZL="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCopilot%3c/title%3e%3cpath%20d='M17.533%201.829A2.528%202.528%200%200015.11%200h-.737a2.531%202.531%200%2000-2.484%202.087l-1.263%206.937.314-1.08a2.528%202.528%200%20012.424-1.833h4.284l1.797.706%201.731-.706h-.505a2.528%202.528%200%2001-2.423-1.829l-.715-2.453z'%20fill='url(%23lobe-icons-copilot-0-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M6.726%2020.16A2.528%202.528%200%20009.152%2022h1.566c1.37%200%202.49-1.1%202.525-2.48l.17-6.69-.357%201.228a2.528%202.528%200%2001-2.423%201.83h-4.32l-1.54-.842-1.667.843h.497c1.124%200%202.113.75%202.426%201.84l.697%202.432z'%20fill='url(%23lobe-icons-copilot-1-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M15%200H6.252c-2.5%200-4%203.331-5%206.662-1.184%203.947-2.734%209.225%201.75%209.225H6.78c1.13%200%202.12-.753%202.43-1.847.657-2.317%201.809-6.359%202.713-9.436.46-1.563.842-2.906%201.43-3.742A1.97%201.97%200%200115%200'%20fill='url(%23lobe-icons-copilot-2-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M15%200H6.252c-2.5%200-4%203.331-5%206.662-1.184%203.947-2.734%209.225%201.75%209.225H6.78c1.13%200%202.12-.753%202.43-1.847.657-2.317%201.809-6.359%202.713-9.436.46-1.563.842-2.906%201.43-3.742A1.97%201.97%200%200115%200'%20fill='url(%23lobe-icons-copilot-3-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M9%2022h8.749c2.5%200%204-3.332%205-6.663%201.184-3.948%202.734-9.227-1.75-9.227H17.22c-1.129%200-2.12.754-2.43%201.848a1149.2%201149.2%200%2001-2.713%209.437c-.46%201.564-.842%202.907-1.43%203.743A1.97%201.97%200%20019%2022'%20fill='url(%23lobe-icons-copilot-4-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cpath%20d='M9%2022h8.749c2.5%200%204-3.332%205-6.663%201.184-3.948%202.734-9.227-1.75-9.227H17.22c-1.129%200-2.12.754-2.43%201.848a1149.2%201149.2%200%2001-2.713%209.437c-.46%201.564-.842%202.907-1.43%203.743A1.97%201.97%200%20019%2022'%20fill='url(%23lobe-icons-copilot-5-_R_0_)'%20transform='translate(0%201)'%3e%3c/path%3e%3cdefs%3e%3cradialGradient%20cx='85.44%25'%20cy='100.653%25'%20fx='85.44%25'%20fy='100.653%25'%20gradientTransform='scale(-.8553%20-1)%20rotate(50.927%202.041%20-1.946)'%20id='lobe-icons-copilot-0-_R_0_'%20r='105.116%25'%3e%3cstop%20offset='9.6%25'%20stop-color='%2300AEFF'%3e%3c/stop%3e%3cstop%20offset='77.3%25'%20stop-color='%232253CE'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%230736C4'%3e%3c/stop%3e%3c/radialGradient%3e%3cradialGradient%20cx='18.143%25'%20cy='32.928%25'%20fx='18.143%25'%20fy='32.928%25'%20gradientTransform='scale(.8897%201)%20rotate(52.069%20.193%20.352)'%20id='lobe-icons-copilot-1-_R_0_'%20r='95.612%25'%3e%3cstop%20offset='0%25'%20stop-color='%23FFB657'%3e%3c/stop%3e%3cstop%20offset='63.4%25'%20stop-color='%23FF5F3D'%3e%3c/stop%3e%3cstop%20offset='92.3%25'%20stop-color='%23C02B3C'%3e%3c/stop%3e%3c/radialGradient%3e%3cradialGradient%20cx='82.987%25'%20cy='-9.792%25'%20fx='82.987%25'%20fy='-9.792%25'%20gradientTransform='scale(-1%20-.9441)%20rotate(-70.872%20.142%201.17)'%20id='lobe-icons-copilot-4-_R_0_'%20r='140.622%25'%3e%3cstop%20offset='6.6%25'%20stop-color='%238C48FF'%3e%3c/stop%3e%3cstop%20offset='50%25'%20stop-color='%23F2598A'%3e%3c/stop%3e%3cstop%20offset='89.6%25'%20stop-color='%23FFB152'%3e%3c/stop%3e%3c/radialGradient%3e%3clinearGradient%20id='lobe-icons-copilot-2-_R_0_'%20x1='39.465%25'%20x2='46.884%25'%20y1='12.117%25'%20y2='103.774%25'%3e%3cstop%20offset='15.6%25'%20stop-color='%230D91E1'%3e%3c/stop%3e%3cstop%20offset='48.7%25'%20stop-color='%2352B471'%3e%3c/stop%3e%3cstop%20offset='65.2%25'%20stop-color='%2398BD42'%3e%3c/stop%3e%3cstop%20offset='93.7%25'%20stop-color='%23FFC800'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='lobe-icons-copilot-3-_R_0_'%20x1='45.949%25'%20x2='50%25'%20y1='0%25'%20y2='100%25'%3e%3cstop%20offset='0%25'%20stop-color='%233DCBFF'%3e%3c/stop%3e%3cstop%20offset='24.7%25'%20stop-color='%230588F7'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='lobe-icons-copilot-5-_R_0_'%20x1='83.507%25'%20x2='83.453%25'%20y1='-6.106%25'%20y2='21.131%25'%3e%3cstop%20offset='5.8%25'%20stop-color='%23F8ADFA'%3e%3c/stop%3e%3cstop%20offset='70.8%25'%20stop-color='%23A86EDD'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",QL="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCursor%3c/title%3e%3cpath%20d='M22.106%205.68L12.5.135a.998.998%200%2000-.998%200L1.893%205.68a.84.84%200%2000-.419.726v11.186c0%20.3.16.577.42.727l9.607%205.547a.999.999%200%2000.998%200l9.608-5.547a.84.84%200%2000.42-.727V6.407a.84.84%200%2000-.42-.726zm-.603%201.176L12.228%2022.92c-.063.108-.228.064-.228-.061V12.34a.59.59%200%2000-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264%200%20.428.286.296.514z'%3e%3c/path%3e%3c/svg%3e",JL="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eDevin%3c/title%3e%3cpath%20d='M2.033%209.867l2.554%201.483a.589.589%200%2000.592%200l2.554-1.483.01-.008a.608.608%200%2000.11-.084l.013-.015a.631.631%200%2000.076-.1c.003-.005.008-.01.01-.016a.558.558%200%2000.052-.125l.007-.028a.611.611%200%2000.019-.14V7.868c0-.572.307-1.105.8-1.392a1.595%201.595%200%20011.598%200l1.277.742a.54.54%200%2000.129.053l.028.01c.044.01.088.015.133.016h.006l.013-.002a.587.587%200%2000.27-.074l.011-.004%202.554-1.483a.596.596%200%2000.297-.516V2.253a.595.595%200%2000-.297-.516L12.293.257a.587.587%200%2000-.591%200L9.148%201.737l-.01.01a.609.609%200%2000-.109.083l-.014.015a.632.632%200%2000-.076.1c-.003.005-.008.01-.01.016a.57.57%200%2000-.052.124l-.007.028a.612.612%200%2000-.018.14v1.483c0%20.572-.307%201.105-.8%201.393a1.597%201.597%200%2001-1.599%200l-1.276-.742a.603.603%200%2000-.13-.053l-.028-.008a.658.658%200%2000-.133-.018h-.02a.57.57%200%2000-.269.074c-.003.002-.008.002-.012.005L2.033%205.872a.596.596%200%2000-.297.515v2.966c0%20.213.113.41.297.515z'%20fill='%233969CA'%3e%3c/path%3e%3cpath%20d='M15.943%2010.607a1.596%201.596%200%20011.599%200l1.276.74c.041.025.085.04.13.055l.028.008c.043.01.088.016.133.018h.005c.005%200%20.01-.002.014-.003a.474.474%200%2000.122-.016l.021-.005a.616.616%200%2000.126-.052c.004-.002.009-.002.013-.005l2.554-1.482a.597.597%200%2000.297-.516V6.383a.596.596%200%2000-.297-.515l-2.552-1.483a.587.587%200%2000-.592%200l-2.553%201.482-.011.008a.61.61%200%2000-.108.084l-.014.016a.637.637%200%2000-.076.1c-.003.005-.008.01-.01.016a.57.57%200%2000-.052.124l-.007.029a.612.612%200%2000-.018.14v1.482c0%20.572-.307%201.105-.8%201.393a1.597%201.597%200%2001-1.599%200l-1.276-.742a.584.584%200%2000-.13-.053l-.028-.008a.62.62%200%2000-.133-.018h-.02a.587.587%200%2000-.269.074l-.012.004L9.15%2010a.596.596%200%2000-.296.516v2.966c0%20.212.112.409.296.515l2.554%201.483s.008.002.012.005c.04.022.082.04.126.052l.02.004a.57.57%200%2000.123.017l.014.002h.006c.054%200%20.108-.01.16-.025a.587.587%200%2000.13-.054l1.277-.741a1.597%201.597%200%20012.398%201.392v1.482c0%20.049.007.095.019.14l.007.028a.619.619%200%2000.051.125c.004.006.008.01.01.016a.6.6%200%2000.076.1l.014.015c.033.032.069.06.108.084.004.002.006.006.011.008l2.554%201.483a.59.59%200%2000.593%200l2.554-1.483a.597.597%200%2000.296-.516v-2.965a.595.595%200%2000-.296-.516l-2.554-1.483s-.008-.002-.012-.005a.54.54%200%2000-.126-.051c-.007-.003-.013-.003-.02-.005a.635.635%200%2000-.125-.017h-.018a.557.557%200%2000-.16.026.588.588%200%2000-.13.053l-1.276.742a1.595%201.595%200%2001-1.598%200%201.615%201.615%200%20010-2.785l-.005-.001z'%20fill='%2321C19A'%3e%3c/path%3e%3cpath%20d='M14.848%2018.265l-2.554-1.482-.012-.005a.526.526%200%2000-.126-.052c-.007-.002-.014-.002-.02-.005a.64.64%200%2000-.124-.017h-.02a.56.56%200%2000-.16.026.588.588%200%2000-.13.053l-1.276.742a1.594%201.594%200%2001-1.598%200c-.493-.286-.8-.82-.8-1.393V14.65a.563.563%200%2000-.018-.14l-.008-.028a.604.604%200%2000-.051-.124l-.01-.017a.603.603%200%2000-.076-.1l-.014-.015a.596.596%200%2000-.109-.084c-.003-.002-.005-.006-.01-.008L5.178%2012.65a.587.587%200%2000-.591%200l-2.554%201.483a.596.596%200%2000-.297.516v2.965c0%20.213.113.41.297.516l2.554%201.483.012.004a.618.618%200%2000.267.074l.016.002h.007a.55.55%200%2000.16-.026.584.584%200%2000.129-.053l1.277-.742a1.597%201.597%200%20012.398%201.393v1.482c0%20.05.007.095.019.14l.007.028c.013.044.03.085.051.125l.01.016c.022.036.047.07.076.1l.014.015c.032.032.069.06.109.084l.01.008%202.554%201.483a.587.587%200%2000.593%200l2.554-1.483a.596.596%200%2000.296-.515v-2.966a.596.596%200%2000-.296-.516h-.002z'%20fill='%230294DE'%3e%3c/path%3e%3c/svg%3e",ek="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGemini%3c/title%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='%233186FF'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-0-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-1-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-2-_R_0_)'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-0-_R_0_'%20x1='7'%20x2='11'%20y1='15.5'%20y2='12'%3e%3cstop%20stop-color='%2308B962'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2308B962'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-1-_R_0_'%20x1='8'%20x2='11.5'%20y1='5.5'%20y2='11'%3e%3cstop%20stop-color='%23F94543'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23F94543'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-2-_R_0_'%20x1='3.5'%20x2='17.5'%20y1='13.5'%20y2='12'%3e%3cstop%20stop-color='%23FABC12'%3e%3c/stop%3e%3cstop%20offset='.46'%20stop-color='%23FABC12'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",tk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGemini%20CLI%3c/title%3e%3cpath%20d='M0%204.391A4.391%204.391%200%20014.391%200h15.217A4.391%204.391%200%200124%204.391v15.217A4.391%204.391%200%200119.608%2024H4.391A4.391%204.391%200%20010%2019.608V4.391z'%20fill='url(%23lobe-icons-gemini-cli-_R_0_)'%3e%3c/path%3e%3cpath%20clip-rule='evenodd'%20d='M19.74%201.444a2.816%202.816%200%20012.816%202.816v15.48a2.816%202.816%200%2001-2.816%202.816H4.26a2.816%202.816%200%2001-2.816-2.816V4.26A2.816%202.816%200%20014.26%201.444h15.48zM7.236%208.564l7.752%203.728-7.752%203.727v2.802l9.557-4.596v-3.866L7.236%205.763v2.801z'%20fill='%231E1E2E'%20fill-rule='evenodd'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-cli-_R_0_'%20x1='24'%20x2='0'%20y1='6.587'%20y2='16.494'%3e%3cstop%20stop-color='%23EE4D5D'%3e%3c/stop%3e%3cstop%20offset='.328'%20stop-color='%23B381DD'%3e%3c/stop%3e%3cstop%20offset='.476'%20stop-color='%23207CFE'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",nk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGoose%3c/title%3e%3cpath%20d='M21.595%2023.61c1.167-.254%202.405-.944%202.405-.944l-2.167-1.784a12.124%2012.124%200%2001-2.695-3.131%2012.127%2012.127%200%2000-3.97-4.049l-.794-.462a1.115%201.115%200%2001-.488-.815.844.844%200%2001.154-.575c.413-.582%202.548-3.115%202.94-3.44.503-.416%201.065-.762%201.586-1.159.074-.056.148-.112.221-.17.003-.002.007-.004.009-.007.167-.131.325-.272.45-.438.453-.524.563-.988.59-1.193-.061-.197-.244-.639-.753-1.148.319.02.705.272%201.056.569.235-.376.481-.773.727-1.171.165-.266-.08-.465-.086-.471h-.001V3.22c-.007-.007-.206-.25-.471-.086-.567.35-1.134.702-1.639%201.021%200%200-.597-.012-1.305.599a2.464%202.464%200%2000-.438.45l-.007.009c-.058.072-.114.147-.17.221-.397.521-.743%201.083-1.16%201.587-.323.391-2.857%202.526-3.44%202.94a.842.842%200%2001-.574.153%201.115%201.115%200%2001-.815-.488l-.462-.794a12.123%2012.123%200%2000-4.049-3.97%2012.133%2012.133%200%2001-3.13-2.695L1.332%200S.643%201.238.39%202.405c.352.428%201.27%201.49%202.34%202.302C1.58%204.167.73%203.75.06%203.4c-.103.765-.063%201.92.043%202.816.726.317%201.961.806%203.219%201.066-1.006.236-2.11.278-2.961.262.15.554.358%201.119.64%201.688.119.263.25.52.39.77.452.125%202.222.383%203.164.171l-2.51.897a27.776%2027.776%200%20002.544%202.726c2.031-1.092%202.494-1.241%204.018-2.238-2.467%202.008-3.108%202.828-3.8%203.67l-.483.678c-.25.351-.469.725-.65%201.117-.61%201.31-1.47%204.1-1.47%204.1-.154.486.202.842.674.674%200%200%202.79-.861%204.1-1.47.392-.182.766-.4%201.118-.65l.677-.483c.227-.187.453-.37.701-.586%200%200%201.705%202.02%203.458%203.349l.896-2.511c-.211.942.046%202.712.17%203.163.252.142.509.272.772.392.569.28%201.134.49%201.688.64-.016-.853.026-1.956.261-2.962.26%201.258.75%202.493%201.067%203.219.895.106%202.051.146%202.816.043a73.87%2073.87%200%2001-1.308-2.67c.811%201.07%201.874%201.988%202.302%202.34h-.001z'%3e%3c/path%3e%3c/svg%3e",lk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGrok%3c/title%3e%3cpath%20d='M9.27%2015.29l7.978-5.897c.391-.29.95-.177%201.137.272.98%202.369.542%205.215-1.41%207.169-1.951%201.954-4.667%202.382-7.149%201.406l-2.711%201.257c3.889%202.661%208.611%202.003%2011.562-.953%202.341-2.344%203.066-5.539%202.388-8.42l.006.007c-.983-4.232.242-5.924%202.75-9.383.06-.082.12-.164.179-.248l-3.301%203.305v-.01L9.267%2015.292M7.623%2016.723c-2.792-2.67-2.31-6.801.071-9.184%201.761-1.763%204.647-2.483%207.166-1.425l2.705-1.25a7.808%207.808%200%2000-1.829-1A8.975%208.975%200%20005.984%205.83c-2.533%202.536-3.33%206.436-1.962%209.764%201.022%202.487-.653%204.246-2.34%206.022-.599.63-1.199%201.259-1.682%201.925l7.62-6.815'%3e%3c/path%3e%3c/svg%3e",ak="/assets/hermesagent-DUfTwIy7.svg",rk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eKimi%3c/title%3e%3cpath%20d='M21.846%200a1.923%201.923%200%20110%203.846H20.15a.226.226%200%2001-.227-.226V1.923C19.923.861%2020.784%200%2021.846%200z'%20fill='%231783FF'%3e%3c/path%3e%3cpath%20d='M11.065%2011.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164%200%2000-.117.051l-7.82%207.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103%200-.186.103-.186.23V19.77c0%20.128.083.23.186.23h2.69c.103%200%20.186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158%200%2001.205-.023l6.484%204.772a7.677%207.677%200%20003.453%201.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028%205.028%200%2001-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z'%20fill='%23fff'%3e%3c/path%3e%3c/svg%3e",Hv="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eKilo%20Code%3c/title%3e%3cpath%20d='M0%200v24h24V0H0zm22.222%2022.222H1.778V1.778h20.444v20.444zm-7.555-4.964h2.222v1.778h-2.794L12.89%2017.83v-2.794h1.778v2.222zm4%200h-1.778v-2.222h-2.222v-1.778h2.793l1.207%201.207v2.793zm-7.556-2.591H9.333v-1.778h1.778v1.778zm-5.778-1.778h1.778v4h4v1.778H6.54L5.333%2017.46V12.89zm13.334-3.556v1.778h-5.778V9.333h1.987V7.111h-1.987V5.333h2.558l1.206%201.207v2.793h2.014zm-11.556-2h2.222l1.778%201.778v2H9.333v-2H7.111v2H5.333V5.333h1.778v2zm4%200H9.333v-2h1.778v2z'%3e%3c/path%3e%3c/svg%3e",ik="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eKiro%3c/title%3e%3cpath%20d='M18.8%200H5.2A5.2%205.2%200%20000%205.2v13.6A5.2%205.2%200%20005.2%2024h13.6a5.2%205.2%200%20005.2-5.2V5.2A5.2%205.2%200%200018.8%200z'%20fill='%239046FF'%3e%3c/path%3e%3cpath%20d='M7.97%2016.376c-1.644%203.642%201.86%204.556%204.443%202.424.76%202.39%203.608.607%204.631-1.247%202.251-4.084%201.342-8.249%201.108-9.108-1.6-5.859-9.6-5.869-10.976.03-.323%201.033-.328%202.206-.507%203.423-.09.617-.16%201.009-.393%201.655-.139.373-.323.7-.62%201.257-.458.865-.264%202.53%202.101%201.665l.224-.1h-.01l-.001.001z'%20fill='%23fff'%3e%3c/path%3e%3cpath%20d='M12.722%2010.985c-.656%200-.755-.785-.755-1.252%200-.423.074-.756.218-.97a.61.61%200%2001.537-.283c.229%200%20.428.095.567.289.159.218.243.55.243.964%200%20.785-.303%201.252-.805%201.252h-.005zm2.703%200c-.656%200-.755-.785-.755-1.252%200-.423.074-.756.219-.97a.61.61%200%2001.536-.283c.229%200%20.428.095.567.289.159.218.243.55.243.964%200%20.785-.303%201.252-.805%201.252h-.005z'%20fill='%23000'%3e%3c/path%3e%3c/svg%3e",ok="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenClaw%3c/title%3e%3cpath%20d='M12%202.568c-6.33%200-9.495%205.275-9.495%209.495%200%204.22%203.165%208.44%206.33%209.494v2.11h2.11v-2.11s1.055.422%202.11%200v2.11h2.11v-2.11c3.165-1.055%206.33-5.274%206.33-9.494S18.33%202.568%2012%202.568z'%20fill='url(%23lobe-icons-open-claw-0-_R_0_)'%3e%3c/path%3e%3cpath%20d='M3.56%209.953C.396%208.898-.66%2011.008.396%2013.118c1.055%202.11%203.164%201.055%204.22-1.055.632-1.477%200-2.11-1.056-2.11z'%20fill='url(%23lobe-icons-open-claw-1-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.44%209.953c3.164-1.055%204.22%201.055%203.164%203.165-1.055%202.11-3.164%201.055-4.22-1.055-.632-1.477%200-2.11%201.056-2.11z'%20fill='url(%23lobe-icons-open-claw-2-_R_0_)'%3e%3c/path%3e%3cpath%20d='M5.507%201.875c.476-.285%201.036-.233%201.615.037.577.27%201.223.774%201.937%201.488a.316.316%200%2001-.447.447c-.693-.693-1.279-1.138-1.757-1.361-.475-.222-.795-.205-1.022-.069a.317.317%200%2001-.326-.542zM16.877%201.913c.58-.27%201.14-.323%201.616-.038a.317.317%200%2001-.326.542c-.227-.136-.547-.153-1.022.069-.478.223-1.064.668-1.756%201.361a.316.316%200%2011-.448-.447c.714-.714%201.36-1.218%201.936-1.487z'%20fill='%23FF4D4D'%3e%3c/path%3e%3cpath%20d='M8.835%209.109a1.266%201.266%200%20100-2.532%201.266%201.266%200%20000%202.532zM15.165%209.109a1.266%201.266%200%20100-2.532%201.266%201.266%200%20000%202.532z'%20fill='%23050810'%3e%3c/path%3e%3cpath%20d='M9.046%208.16a.527.527%200%20100-1.056.527.527%200%20000%201.055zM15.376%208.16a.527.527%200%20100-1.055.527.527%200%20000%201.054z'%20fill='%2300E5CC'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-0-_R_0_'%20x1='-.659'%20x2='27.023'%20y1='.458'%20y2='22.855'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-1-_R_0_'%20x1='0'%20x2='4.311'%20y1='9.672'%20y2='14.949'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-2-_R_0_'%20x1='19.385'%20x2='24.399'%20y1='9.953'%20y2='14.462'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",sk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eopencode%3c/title%3e%3cpath%20d='M16%206H8v12h8V6zm4%2016H4V2h16v20z'%3e%3c/path%3e%3c/svg%3e",ck="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3ePi%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M1%201h16.5v11H12v5.5H6.5V23H1V1zm5.5%205.5V12H12V6.5H6.5z'%3e%3c/path%3e%3cpath%20d='M17.5%2012H23v11h-5.5V12z'%3e%3c/path%3e%3c/svg%3e",uk="/assets/qoder-color-CCjsVbDP.svg",Kv="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eQwen%3c/title%3e%3cpath%20d='M12.604%201.34c.393.69.784%201.382%201.174%202.075a.18.18%200%2000.157.091h5.552c.174%200%20.322.11.446.327l1.454%202.57c.19.337.24.478.024.837-.26.43-.513.864-.76%201.3l-.367.658c-.106.196-.223.28-.04.512l2.652%204.637c.172.301.111.494-.043.77-.437.785-.882%201.564-1.335%202.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099%200%2000-.081.05%20575.097%20575.097%200%2001-2.705%204.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537%200%2001-.465-.271l-1.335-2.323a.09.09%200%2000-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543%200%2001-.002-.54l1.207-2.12a.198.198%200%20000-.197%20550.951%20550.951%200%2001-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625%201.387-2.436.132-.234.304-.334.584-.335a338.3%20338.3%200%20012.589-.001.124.124%200%2000.107-.063l2.806-4.895a.488.488%200%2001.422-.246c.524-.001%201.053%200%201.583-.006L11.704%201c.341-.003.724.032.9.34zm-3.432.403a.06.06%200%2000-.052.03L6.254%206.788a.157.157%200%2001-.135.078H3.253c-.056%200-.07.025-.041.074l5.81%2010.156c.025.042.013.062-.034.063l-2.795.015a.218.218%200%2000-.2.116l-1.32%202.31c-.044.078-.021.118.068.118l5.716.008c.046%200%20.08.02.104.061l1.403%202.454c.046.081.092.082.139%200l5.006-8.76.783-1.382a.055.055%200%2001.096%200l1.424%202.53a.122.122%200%2000.107.062l2.763-.02a.04.04%200%2000.035-.02.041.041%200%20000-.04l-2.9-5.086a.108.108%200%20010-.113l.293-.507%201.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059%200-.073-.026-.043-.077l1.434-2.505a.107.107%200%20000-.114L9.225%201.774a.06.06%200%2000-.053-.031zm6.29%208.02c.046%200%20.058.02.034.06l-.832%201.465-2.613%204.585a.056.056%200%2001-.05.029.058.058%200%2001-.05-.029L8.498%209.841c-.02-.034-.01-.052.028-.054l.216-.012%206.722-.012z'%20fill='url(%23lobe-icons-qwen-_R_0_)'%20fill-rule='nonzero'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20id='lobe-icons-qwen-_R_0_'%20x1='0%25'%20x2='100%25'%20y1='0%25'%20y2='0%25'%3e%3cstop%20offset='0%25'%20stop-color='%236336E7'%20stop-opacity='.84'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%236F69F7'%20stop-opacity='.84'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",fk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eRooCode%3c/title%3e%3cpath%20d='M20.113%205.5l-.442%201.557a.157.157%200%2001-.196.106l-7.414-2.157a.16.16%200%2000-.143.028l-7.342%205.74a.159.159%200%2001-.074.032l-4.37.656a.154.154%200%2000-.132.162l.02.245c.005.078.071.14.152.141l5.074.128.058.002%203.75-1.953a.16.16%200%2001.164.01l2.657%201.847a.152.152%200%2001.066.125l-.023%202.45c0%20.032.01.063.028.089l3.737%205.227c.03.04.077.065.129.065h1.182a.153.153%200%2000.14-.224l-2.664-4.919a.15.15%200%2001.005-.152l1.389-2.169a.156.156%200%2001.062-.055l4.965-2.456a.16.16%200%2001.158.01l1.418.921a.16.16%200%2000.087.026h1.289c.125%200%20.2-.136.13-.237l-3.578-5.29c-.074-.109-.246-.082-.282.044z'%3e%3c/path%3e%3c/svg%3e",dk="data:image/svg+xml,%3csvg%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eTRAE%3c/title%3e%3cpath%20d='M24%2020.541H3.428v-3.426H0V3.4h24V20.54zM3.428%2017.115h17.144V6.827H3.428v10.288zm8.573-5.196l-2.425%202.424-2.424-2.424%202.424-2.424%202.425%202.424zm6.857-.001l-2.424%202.423-2.425-2.423%202.425-2.425%202.424%202.425z'%20fill='%2332F08C'%3e%3c/path%3e%3c/svg%3e",hk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eWindsurf%3c/title%3e%3cpath%20clip-rule='evenodd'%20d='M23.78%205.004h-.228a2.187%202.187%200%2000-2.18%202.196v4.912c0%20.98-.804%201.775-1.76%201.775a1.818%201.818%200%2001-1.472-.773L13.168%205.95a2.197%202.197%200%2000-1.81-.95c-1.134%200-2.154.972-2.154%202.173v4.94c0%20.98-.797%201.775-1.76%201.775-.57%200-1.136-.289-1.472-.773L.408%205.098C.282%204.918%200%205.007%200%205.228v4.284c0%20.216.066.426.188.604l5.475%207.889c.324.466.8.812%201.351.938%201.377.316%202.645-.754%202.645-2.117V11.89c0-.98.787-1.775%201.76-1.775h.002c.586%200%201.135.288%201.472.773l4.972%207.163a2.15%202.15%200%20001.81.95c1.158%200%202.151-.973%202.151-2.173v-4.939c0-.98.787-1.775%201.76-1.775h.194c.122%200%20.22-.1.22-.222V5.225a.221.221%200%2000-.22-.222z'%3e%3c/path%3e%3c/svg%3e",mk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eXiaomiMiMo%3c/title%3e%3cpath%20d='M.958%2015.936a.459.459%200%2001.459.44v2.729a.46.46%200%2001-.918%200v-2.729a.459.459%200%2001.459-.44zm4.814-2.035a.46.46%200%2001.553.45v4.754a.458.458%200%2011-.918%200V15.48L3.74%2017.202a.462.462%200%2001-.655.016.462.462%200%2001-.065-.082L.628%2014.67a.459.459%200%2001.658-.637l2.124%202.187%202.127-2.188a.46.46%200%2001.235-.13zm2.068.004a.46.46%200%2001.458.445v4.755a.46.46%200%2001-.458.458.459.459%200%2001-.458-.458V14.35a.459.459%200%2001.458-.445zm1.973%202.014a.46.46%200%2001.46.457v2.729a.46.46%200%2001-.784.324.46.46%200%2001-.134-.324v-2.729a.46.46%200%2001.458-.458zm.002-2.045a.458.458%200%2001.328.157l2.127%202.19%202.125-2.19a.459.459%200%2001.784.318v4.756a.46.46%200%2001-.455.458.46.46%200%2001-.458-.458V15.48l-1.667%201.723a.46.46%200%2001-.65.008l-.005-.005c0-.002-.002-.002-.004-.003l-2.455-2.534a.46.46%200%2001-.008-.667.461.461%200%2001.338-.128zm6.797%201.206a.46.46%200%2001.53.651A1.966%201.966%200%200019.81%2018.4a.462.462%200%2001.623.18.46.46%200%2001-.181.624%202.863%202.863%200%2001-1.38.353l-.142-.004a2.88%202.88%200%2001-2.393-4.263.461.461%200%2001.274-.21zm.864-.931a2.884%202.884%200%20013.915%203.914.46.46%200%2001-.402.24l-.057-.004a.458.458%200%2001-.164-.055.46.46%200%2001-.182-.622%201.967%201.967%200%2000-2.669-2.67.459.459%200%2011-.441-.803zM9.59%206.368c1.481%200%201.696%201.202%201.696%201.654v2.648h-.917v-.432c-.26.346-.792.535-1.36.535-.133%200-1.289-.03-1.384-1.136-.082-.932.675-1.61%202.053-1.61h.691c0-.563-.367-.886-.983-.886-.44.013-.864.174-1.2.458l-.36-.664c.484-.379%201.012-.567%201.764-.567zm4.427.1c1.263%200%202.082.97%202.083%202.15%200%201.181-.824%202.154-2.083%202.154-1.26%200-2.084-.972-2.084-2.152%200-1.18.82-2.153%202.084-2.153zm6.801.015c.68%200%201.202.465%201.197%201.548v2.642H21.1V8.29c0-.312-.002-.98-.63-.98s-.628.667-.628.838v2.524h-.89V8.148c0-.17-.001-.838-.63-.838-.628%200-.628.668-.628.98v2.383h-.917v-4.03h.917V7a1.22%201.22%200%2001.947-.516c.398%200%20.76.193.982.686a1.321%201.321%200%20011.195-.686zm-18.093.872l1.457-1.772H5.32L3.311%208.07l2.14%202.602H4.24L2.725%208.796%201.21%2010.672H0L2.138%208.07.13%205.583h1.138l1.458%201.772zm4.149%203.317h-.916V6.644h.916v4.028zm16.99%200h-.916V6.644h.916v4.028zM9.925%208.71c-1.055%200-1.359.412-1.326.742.032.329.324.537.757.537a1.013%201.013%200%20001.014-.968l.002-.31h-.447zM14.018%207.3c-.663%200-1.184.487-1.184%201.32%200%20.832.52%201.32%201.184%201.32.662%200%201.182-.49%201.182-1.32%200-.832-.52-1.32-1.182-1.32zM6.417%205.001a.568.568%200%2001.587.582.588.588%200%2001-1.175%200A.57.57%200%20016.417%205zm16.991%200a.57.57%200%2001.592.582.588.588%200%2001-1.174%200%20.57.57%200%2001.357-.542.572.572%200%2001.225-.04z'%3e%3c/path%3e%3c/svg%3e",pk="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eZ.ai%3c/title%3e%3cpath%20d='M12.105%202L9.927%204.953H.653L2.83%202h9.276zM23.254%2019.048L21.078%2022h-9.242l2.174-2.952h9.244zM24%202L9.264%2022H0L14.736%202H24z'%3e%3c/path%3e%3c/svg%3e",gk={amp:{src:YL},antigravity:{src:qL},"claude-code":{src:XL},cline:{monochrome:!0,src:WL},codebuddy:{src:Iv},codex:{monochrome:!0,src:Bv},"every-code":{monochrome:!0,src:Bv},copilot:{src:ZL},cursor:{monochrome:!0,src:QL},devin:{src:JL},gemini:{src:ek},"gemini-cli":{src:tk},grok:{monochrome:!0,src:lk},goose:{monochrome:!0,src:nk},hermes:{monochrome:!0,src:ak},kimi:{src:rk},"kilo-cli":{monochrome:!0,src:Hv},kilocode:{monochrome:!0,src:Hv},kiro:{src:ik},mimo:{monochrome:!0,src:mk},openclaw:{src:ok},opencode:{monochrome:!0,src:sk},pi:{monochrome:!0,src:ck},qoder:{src:uk},qwen:{src:Kv},"qwen-code":{src:Kv},roocode:{monochrome:!0,src:fk},trae:{src:dk},windsurf:{monochrome:!0,src:hk},workbuddy:{src:Iv},zcode:{monochrome:!0,src:pk}},bk={"code-buddy":"codebuddy",everycode:"every-code","github-copilot":"copilot","grok-build":"grok","kilo-code":"kilocode",kilo:"kilo-cli",mimocode:"mimo","oh-my-pi":"omp","open-claw":"openclaw","open-code":"opencode","openai-codex":"codex","roo-code":"roocode",zai:"zcode","hermes-agent":"hermes","kimi-code":"kimi","kimi-legacy":"kimi","pi-coding-agent":"pi",factory:"droid"};function vk(e){const t=e.trim().toLowerCase().replace(/[\s_]+/g,"-");return t==="claude-code"||t.startsWith("claude")?"claude-code":t==="codex"||t.startsWith("codex-")?"codex":t==="cursor"||t.startsWith("cursor-")?"cursor":t==="gemini"||t==="gemini-cli"||t.startsWith("gemini-")?"gemini-cli":t==="copilot"||t==="copilot-cli"||t.startsWith("copilot-")?"copilot":t==="opencode"||t.startsWith("opencode-")?"opencode":t.startsWith("antigravity")?"antigravity":t.startsWith("openclaw")?"openclaw":t.startsWith("hermes")?"hermes":t.startsWith("kimi")?"kimi":t.startsWith("kiro")?"kiro":t==="roo-code"||t.startsWith("roocode")||t.startsWith("roo-")?"roocode":t.startsWith("zcode")||t==="zai"?"zcode":t==="pi-coding-agent"||t.startsWith("pi-")||t==="pi"?"pi":t.startsWith("droid")||t.startsWith("factory")?"droid":t.startsWith("qoder")?"qoder":t.startsWith("trae")?"trae":t.startsWith("amp")?"amp":t.startsWith("qwen")?"qwen-code":t.startsWith("codebuddy")||t==="code-buddy"?"codebuddy":t.startsWith("workbuddy")?"workbuddy":t.startsWith("grok")?"grok":t.startsWith("goose")?"goose":t.startsWith("mimo")||t==="mimocode"||t.startsWith("xiaomi")?"mimo":t==="everycode"||t.startsWith("every-code")?"every-code":t.startsWith("omp")||t==="oh-my-pi"?"omp":t.startsWith("kilo-cli")||t==="kilo"?"kilo-cli":t.startsWith("kilocode")||t==="kilo-code"?"kilocode":t.startsWith("zed")?"zed":t.startsWith("warp")?"warp":bk[t]??t}function Uv({provider:e,size:t=16,className:l="",onLightBackground:r=!1,isSelected:i=!1,color:s}){const u=vk(e),f=gk[u];return f?E.jsx("img",{alt:"","aria-hidden":!0,className:`shrink-0 object-contain ${f.monochrome?i?"invert":r?"":"dark:invert":""} ${l}`,height:t,src:f.src,style:{height:t,width:t},width:t}):u==="droid"?E.jsx(wk,{className:l,size:t,style:{color:s}}):u==="omp"?E.jsx(yk,{className:l,size:t,style:{color:s}}):u==="zed"?E.jsx(xk,{className:l,size:t,style:{color:s}}):u==="warp"?E.jsx(Sk,{className:l,size:t,style:{color:s}}):E.jsx(Ek,{className:l,size:t,style:{color:s}})}function yk({className:e,size:t,style:l}){return E.jsxs("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:l,viewBox:"0 0 120 90",width:t,children:[E.jsx("rect",{height:"12",rx:"2",width:"100",x:"10",y:"8"}),E.jsx("rect",{height:"62",rx:"2",width:"12",x:"25",y:"20"}),E.jsx("rect",{height:"45",rx:"2",width:"12",x:"75",y:"20"}),E.jsx("rect",{height:"16",rx:"3",width:"20",x:"71",y:"55"}),E.jsx("rect",{height:"8",rx:"1",width:"3",x:"76",y:"71"}),E.jsx("rect",{height:"8",rx:"1",width:"3",x:"82",y:"71"})]})}function xk({className:e,size:t,style:l}){return E.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:l,viewBox:"0 0 16 16",width:t,children:E.jsx("path",{clipRule:"evenodd",d:"M3.125 2.75C2.9179 2.75 2.75 2.9179 2.75 3.125V11.375H2V3.125C2 2.50368 2.50368 2 3.125 2H13.1723C13.6735 2 13.9244 2.6059 13.5701 2.96025L7.38189 9.14843H9.125V8.375H9.875V9.33593C9.875 9.6466 9.6232 9.8984 9.3125 9.8984H6.63189L5.34282 11.1875H11.1875V6.5H11.9375V11.1875C11.9375 11.6017 11.6017 11.9375 11.1875 11.9375H4.59282L3.28032 13.25H12.875C13.0821 13.25 13.25 13.0821 13.25 12.875V4.625H14V12.875C14 13.4963 13.4963 14 12.875 14H2.82767C2.32653 14 2.07557 13.3941 2.42992 13.0397L8.59468 6.875H6.875V7.625H6.125V6.6875C6.125 6.37684 6.37684 6.125 6.6875 6.125H9.34468L10.6571 4.8125H4.8125V9.5H4.0625V4.8125C4.0625 4.39829 4.39829 4.0625 4.8125 4.0625H11.4071L12.7197 2.75H3.125Z",fillRule:"evenodd"})})}function Sk({className:e,size:t,style:l}){return E.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:l,viewBox:"0 0 24 24",width:t,children:E.jsx("path",{d:"M4.2 5.5h3.1l2.05 8.2 2.15-8.2h2.9l2.15 8.2 2.05-8.2h3.1L17.3 18.5h-3.05L12 10.2l-2.25 8.3H6.7L4.2 5.5Z"})})}function wk({className:e,size:t,style:l}){return E.jsxs("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"none",height:t,style:l,stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8",viewBox:"0 0 24 24",width:t,children:[E.jsx("path",{d:"M9 3v2"}),E.jsx("path",{d:"M15 3v2"}),E.jsx("rect",{height:"13",rx:"3",width:"16",x:"4",y:"6"}),E.jsx("circle",{cx:"9",cy:"13",fill:"currentColor",r:"1.4",stroke:"none"}),E.jsx("circle",{cx:"15",cy:"13",fill:"currentColor",r:"1.4",stroke:"none"}),E.jsx("path",{d:"M9 16h6"})]})}function Ek({className:e,size:t,style:l}){return E.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"none",height:t,style:l,viewBox:"0 0 24 24",width:t,children:E.jsx("circle",{cx:"12",cy:"12",r:"7.5",stroke:"currentColor",strokeDasharray:"3 3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})}const Ck="Juejin Usage",Tk=[{name:"Claude",source:"claude",variants:["CLI","Desktop"]},{name:"Codex",source:"codex"},{name:"Cursor",source:"cursor"},{name:"Qoder",source:"qoder",variants:["CLI","IDE","IDE CN","Work"]},{name:"Gemini",source:"gemini",variants:["CLI"]},{name:"OpenCode",source:"opencode"},{name:"Copilot",source:"copilot",variants:["CLI"]},{name:"Antigravity",source:"antigravity",variants:["App","IDE","CLI"]},{name:"OpenClaw",source:"openclaw"},{name:"Hermes",source:"hermes"},{name:"ZCode",source:"zcode"},{name:"pi",source:"pi"},{name:"Kimi",source:"kimi",variants:["Code","Legacy"]},{name:"Roo Code",source:"roocode"},{name:"Droid",source:"droid"},{name:"Kiro",source:"kiro",variants:["CLI"]},{name:"Cline",source:"cline"},{name:"Amp",source:"amp"},{name:"Qwen Code",source:"qwen"},{name:"CodeBuddy",source:"codebuddy"},{name:"WorkBuddy",source:"workbuddy"},{name:"Grok Build",source:"grok"},{name:"Mimo",source:"mimo"},{name:"Every Code",source:"every-code"},{name:"OMP",source:"omp"},{name:"Kilo CLI",source:"kilo-cli"},{name:"Kilo Code",source:"kilocode"},{name:"Goose",source:"goose"},{name:"Zed",source:"zed"},{name:"Warp",source:"warp"}];function Rk(e){var t;return(t=e.variants)!=null&&t.length?`${e.name} (${e.variants.join("、")})`:e.name}function Mk(){return"0.1.2"}const Ak="http://github.com/juejin-cn/juejin-usage/issues/new",Lk={cline:"bg-red-500",cursor:"bg-black",droid:"bg-blue-500","every-code":"bg-emerald-600",goose:"bg-amber-500",grok:"bg-violet-600",hermes:"bg-amber-500",kimi:"bg-black","kilo-cli":"bg-violet-500",kilocode:"bg-violet-500",mimo:"bg-rose-400",omp:"bg-violet-500",opencode:"bg-blue-600",pi:"bg-orange-500",roocode:"bg-green-500",zcode:"bg-indigo-500",zed:"bg-orange-500"};function Lx(){const e=Mk();return E.jsxs("div",{className:"space-y-5",children:[E.jsxs("section",{className:"space-y-1.5",children:[E.jsx("h3",{className:"text-sm font-medium text-foreground",children:"版本信息"}),E.jsxs("p",{className:"text-sm text-foreground/70",children:[Ck," ",E.jsxs("span",{className:"font-mono text-foreground/90",children:["v",e]})]})]}),E.jsxs("section",{className:"space-y-1.5",children:[E.jsx("h3",{className:"text-sm font-medium text-foreground",children:"隐私与协议"}),E.jsxs(Nc,{className:"w-fit text-sm text-accent",href:Eh,rel:"noopener noreferrer",target:"_blank",children:["查看用户隐私协议",E.jsx(Nc.Icon,{})]})]}),E.jsxs("section",{className:"space-y-1.5",children:[E.jsx("h3",{className:"text-sm font-medium text-foreground",children:"问题反馈"}),E.jsxs(Nc,{className:"w-fit text-sm text-accent",href:Ak,rel:"noopener noreferrer",target:"_blank",children:["提交问题反馈",E.jsx(Nc.Icon,{})]})]}),E.jsxs("section",{className:"space-y-2",children:[E.jsx("h3",{className:"text-sm font-medium text-foreground",children:"支持的工具"}),E.jsx("p",{className:"text-xs text-foreground/55",children:"同一系列的多端形态用括号标出。"}),E.jsx("ul",{className:"grid grid-cols-1 gap-1.5 sm:grid-cols-2",children:Tk.map(t=>E.jsxs("li",{className:"flex items-center gap-2 rounded-lg bg-black/3 px-2.5 py-1.5 text-sm text-foreground/80 dark:bg-white/5",children:[E.jsx(kk,{source:t.source}),E.jsx("span",{className:"min-w-0 leading-snug",children:Rk(t)})]},t.source))})]})]})}function kk({source:e}){if(e==="codex")return E.jsx("span",{className:"flex size-6 shrink-0 items-center justify-center rounded-md bg-emerald-600",children:E.jsx("img",{alt:"","aria-hidden":!0,className:"size-[15px] invert",src:VL})});const t=Lk[e];return t?E.jsx("span",{className:`flex size-6 shrink-0 items-center justify-center rounded-md ${t}`,children:E.jsx(Uv,{color:"#fff",isSelected:!0,provider:e,size:15})}):E.jsx(Uv,{provider:e,size:18})}const Nk="tud:data-synced",Ch="tud:open-settings",Fv="tud:open-about",Th="tud:open-share",Dk="tud:juejin-link-changed";function Lz(){window.dispatchEvent(new CustomEvent(Nk))}function kz(e){window.dispatchEvent(new CustomEvent(Ch,{detail:{}}))}function $k(){window.dispatchEvent(new CustomEvent(Th))}function kx(){window.dispatchEvent(new CustomEvent(Dk))}function Nz(){return $k(),Promise.resolve()}function zk({trigger:e,isOpen:t,onOpenChange:l,listenForOpenEvent:r=!0,hideTrigger:i=!1}={}){const[s,u]=y.useState(!1),f=t!==void 0,d=f?t:s,h=y.useCallback(p=>{f||u(p),l==null||l(p)},[f,l]);return y.useEffect(()=>{if(!r)return;const p=()=>h(!0);return window.addEventListener(Fv,p),()=>window.removeEventListener(Fv,p)},[r,h]),E.jsxs(E.Fragment,{children:[!i&&(e??E.jsxs(mn,{"aria-label":"关于",onPress:()=>h(!0),variant:"tertiary",children:[E.jsx(UL,{}),"关于"]})),E.jsx(Be.Backdrop,{isOpen:d,onOpenChange:h,variant:"blur",children:E.jsx(Be.Container,{className:"w-[840px] max-w-[min(840px,92vw)]",scroll:"outside",size:"lg",children:E.jsxs(Be.Dialog,{children:[E.jsx(Be.CloseTrigger,{"aria-label":"关闭关于"}),E.jsx(Be.Header,{children:E.jsx(Be.Heading,{children:"关于"})}),E.jsx(Be.Body,{className:"pt-2",children:E.jsx(Lx,{})})]})})})]})}const Pk=50;async function Pn(e,t){const l=await fetch(e,t);let r=null;try{r=await l.json()}catch{throw new Error(`${(t==null?void 0:t.method)??"GET"} ${e} → ${l.status}`)}if(!l.ok||!r||r.success!==!0||r.data===null){const i=(r==null?void 0:r.message)??`HTTP ${l.status}`;throw new Error(i)}return r.data}const Vv="tud.apiBearer";function Ok(){return!0}function jk(){return"/functions/tud-"}function On(){const e=jk();return{summary:`${e}account-usage-summary`,others:e}}function _v(e){try{e!=null&&e.trim()?localStorage.setItem(Vv,e.trim()):localStorage.removeItem(Vv)}catch{}}function xn(){return{}}async function Nx(){const{summary:e}=On();return Pn(e,{headers:xn()})}async function Ik(e=90){const{others:t}=On();return Pn(`${t}usage-daily?days=${e}`,{headers:xn()})}async function Dx(e=1){const{others:t}=On();return Pn(`${t}usage-hourly?days=${e}`,{headers:xn()})}async function $x(e=30){const{others:t}=On();return Pn(`${t}usage-model-breakdown?days=${e}`,{headers:xn()})}const Gv="https://api.juejin.cn/aiusage_api/functions/tud-pricing";async function Dz(){const e=await fetch(Gv,{headers:xn()});let t=null;try{t=await e.json()}catch{throw new Error(`GET ${Gv} → ${e.status}`)}if(!e.ok)throw new Error(`HTTP ${e.status}`);const l=Bk(t);return Hk(l,e.headers.get("last-modified"))}function Bk(e){if(e===null||typeof e!="object"||Array.isArray(e))throw new Error("模型价格数据格式错误:响应必须是对象");const t=e.exact;if(t===null||typeof t!="object"||Array.isArray(t))throw new Error("模型价格数据格式错误:exact 必须是对象");for(const[l,r]of Object.entries(t)){if(r===null||typeof r!="object"||Array.isArray(r))throw new Error(`模型价格数据格式错误:exact.${l} 必须是对象`);for(const i of["input","output","cache_read","cache_write"]){const s=r[i];if(s!==void 0&&(typeof s!="number"||!Number.isFinite(s)||s<0))throw new Error(`模型价格数据格式错误:exact.${l}.${i} 必须是非负数字`)}}return e}function Hk(e,t){return{units:"usd_per_million_tokens",generatedAt:null,updatedAt:t,models:Object.entries(e.exact).map(([l,r])=>({model:l,input:r.input??0,output:r.output??0,cacheRead:r.cache_read??0,cacheWrite:r.cache_write??0})).sort((l,r)=>l.model.localeCompare(r.model))}}async function $z(e,t=Pk,l={}){const{others:r}=On(),i=new URLSearchParams({range:e,limit:String(t)});return l.tool&&i.set("tool",l.tool),l.model&&i.set("model",l.model),Pn(`${r}leaderboard-overview?${i.toString()}`,{headers:xn()})}async function zz(){const{others:e}=On();return Pn(`${e}leaderboard-preference`,{headers:xn()})}async function Pz(e){const{others:t}=On();return Pn(`${t}leaderboard-preference`,{method:"PUT",headers:{"Content-Type":"application/json",...xn()},body:JSON.stringify({hideFromLeaderboard:e})})}async function Kk(){const{others:e}=On();return Pn(`${e}sync-status`,{headers:xn()})}function zx(){return Kk().catch(()=>null)}function Uk(e){return typeof e=="number"?{dailyDays:e,breakdownDays:e,hourlyDays:e}:{dailyDays:e.dailyDays,breakdownDays:e.breakdownDays,hourlyDays:e.hourlyDays??e.breakdownDays}}async function Oz(e){const{dailyDays:t,breakdownDays:l,hourlyDays:r}=Uk(e),[i,s,u,f,d]=await Promise.all([Nx(),zx(),Ik(t),Dx(r).catch(()=>({hours:[],timeZone:"Asia/Shanghai"})),$x(l)]);return{summary:i,syncStatus:s,dailyRows:u.days??[],hourlyRows:f.hours??[],modelRows:(d.models??[]).filter(h=>h.tokens>0),projectRows:(d.projects??[]).filter(h=>h.tokens>0)}}async function jz(e,t,l){const[r,i,s,u]=await Promise.all([Nx(),zx(),Dx(l).catch(()=>({hours:[],timeZone:"Asia/Shanghai"})),$x(t)]);return{summary:r,syncStatus:i??e.syncStatus,dailyRows:e.dailyRows,hourlyRows:s.hours??[],modelRows:(u.models??[]).filter(f=>f.tokens>0),projectRows:(u.projects??[]).filter(f=>f.tokens>0)}}async function Iz(){const{others:e}=On();return Pn(`${e}trigger-sync`,{method:"POST",headers:{"Content-Type":"application/json",...xn()},body:"{}"})}async function Bz(e){const{others:t}=On();return Pn(`${t}ensure-local-range`,{method:"POST",headers:{"Content-Type":"application/json",...xn()},body:JSON.stringify({days:e})})}async function b2(){const{others:e}=On();return Pn(`${e}config`,{headers:xn()})}async function Rh(e){const{others:t}=On();return Pn(`${t}config`,{method:"PUT",headers:{"Content-Type":"application/json",...xn()},body:JSON.stringify(e)})}const v2="login_from_client",y2="port",Px="user_id",Ox="origin_user_id",jx="user_name",Ix="avatar_large",Fo=8452,Fk="https://juejin.cn/aiusage/dashboard";function Vk(e,t){return t}const Bx=Vk(void 0,Fk),_k=512,Gk=64;function qk(e){return e==="desktop"||e==="cli"?e:null}function Hx(e){if(e==null||e==="")return Fo;const t=Number.parseInt(e,10);return!Number.isFinite(t)||t<=0||t>65535?Fo:t}function Kx(e){const t=e.trim();return t.length>0&&t.length<=_k&&!/\s/.test(t)}function Ux(e){const t=e.trim();return t.length>0&&t.length<=Gk&&!/\s/.test(t)}function qv(e){return(e??"").trim()}function Yv(e){const t=e.trim();return t.length>=2&&(t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"))?t.slice(1,-1).trim():t}function Yk(e){const t=new URL(Bx);return t.searchParams.set(v2,e.loginFromClient),e.loginFromClient==="cli"&&t.searchParams.set(y2,String(e.port??Fo)),t.toString()}function Fx(e=window.location.search){const t=new URLSearchParams(e),l=Yv(t.get(Px)??""),r=Yv(t.get(Ox)??"");return{loginFromClient:qk(t.get(v2)),port:Hx(t.get(y2)),userId:Kx(l)?l:null,originUserId:Ux(r)?r:"",userName:qv(t.get(jx)),avatarLarge:qv(t.get(Ix))}}const z0=typeof window<"u"?Fx(window.location.search):{loginFromClient:null,port:Fo,userId:null,originUserId:"",userName:"",avatarLarge:""};function Vx(){const e=Fx(window.location.search);return e.loginFromClient||e.userId?e:z0.loginFromClient||z0.userId?z0:e}function Xk(){const e=new URL(window.location.href);e.searchParams.delete(v2),e.searchParams.delete(y2),e.searchParams.delete(Px),e.searchParams.delete(Ox),e.searchParams.delete(jx),e.searchParams.delete(Ix);const t=`${e.pathname}${e.search}${e.hash}`;window.history.replaceState(window.history.state,"",t)}function Wk(){const e="".trim().replace(/\/$/,"");return e?`${e}/functions/tud-session`:"/api/functions/tud-session"}async function Zk(){const e=await fetch(Wk(),{credentials:"include",headers:{Accept:"application/json"}});if(!e.ok)return null;let t;try{t=await e.json()}catch{return null}if(!t||typeof t!="object")return null;const l=t.success,r=t.data;if(l===!1||!r||typeof r!="object")return null;const i=r.encryptedUserId,s=r.originUserId;if(typeof i!="string"||!Kx(i)||typeof s!="string"||!Ux(s))return null;const u=r.userName,f=r.avatarLarge;return{userId:i.trim(),originUserId:s.trim(),userName:typeof u=="string"?u.trim():"",avatarLarge:typeof f=="string"?f.trim():""}}function Qk(){return typeof window<"u"&&typeof window.tud<"u"?"desktop":"cli"}function Jk(){const e=window.location.port;return Hx(e||String(Fo))}async function _x(){var i;const e=Qk(),t=e==="cli"?Jk():void 0,l=Yk({loginFromClient:e,port:t}),r=(i=window.tud)==null?void 0:i.openExternal;return typeof r=="function"?r(l):(window.location.assign(l),{ok:!0})}const eN={info:"accent",warn:"warning",error:"danger",success:"success"};function Gx({tone:e="info",title:t,description:l}){return E.jsxs(wo,{status:eN[e],children:[E.jsx(wo.Indicator,{}),E.jsxs(wo.Content,{children:[E.jsx(wo.Title,{children:t}),l&&E.jsx(wo.Description,{children:l})]})]})}const tN=[{id:"sync",label:"云端同步"},{id:"app",label:"应用"},{id:"about",label:"关于"}];function nN({activeTab:e,onTabChange:t}={}){const[l]=y.useState(()=>new Xo({maxVisibleToasts:1})),[r,i]=y.useState("sync"),s=e??r,u=t??i,f=s==="pet"?"sync":s;return E.jsxs("div",{className:"w-full",children:[E.jsx(g2.Provider,{placement:"top end",queue:l}),E.jsxs(ra,{className:"w-full text-center",selectedKey:f,onSelectionChange:d=>u(String(d)),children:[E.jsx(ra.ListContainer,{className:"m-3 mr-14 w-fit",children:E.jsx(ra.List,{"aria-label":"设置分类",className:"w-fit *:h-6 *:w-fit *:px-3 *:text-sm *:font-normal *:data-[selected=true]:text-accent-foreground",children:tN.map(d=>E.jsxs(ra.Tab,{id:d.id,children:[E.jsx("span",{className:"text-xs font-normal",children:d.label}),E.jsx(ra.Indicator,{className:"bg-accent"})]},d.id))})}),E.jsx(ra.Panel,{className:"h-[50vh] overflow-y-auto p-3 text-left font-normal [&_*]:font-normal",id:"sync",children:f==="sync"&&E.jsx(lN,{onNotify:d=>l.add(d),onSaved:()=>l.add({description:"写入本机 CLI 配置",title:"已保存",variant:"success"})})}),E.jsx(ra.Panel,{className:"h-[50vh] overflow-y-auto p-3 text-left",id:"app",children:f==="app"&&E.jsx(aN,{})}),E.jsx(ra.Panel,{className:"h-[50vh] overflow-y-auto p-3 text-left",id:"about",children:f==="about"&&E.jsx(Lx,{})})]})]})}function lN({onSaved:e,onNotify:t}){var te,ne,j;const[l,r]=y.useState(null),[i,s]=y.useState(!1),[u,f]=y.useState(!0),[d,h]=y.useState(!1),[p,b]=y.useState(!1),[v,w]=y.useState(!1),[x,T]=y.useState(null),C=y.useCallback(async()=>{f(!0);try{const Y=await b2();r(Y),s(Y.juejin.enabled),T(null)}catch(Y){T(Y instanceof Error?Y.message:"加载配置失败"),r(null)}finally{f(!1)}},[]);y.useEffect(()=>{C()},[C]);const N=async Y=>{const z=i;s(Y),h(!0),T(null);try{const O=await Rh({juejin:{enabled:Y}});r(O),e()}catch(O){s(z),T(O instanceof Error?O.message:"保存失败")}finally{h(!1)}},M=async()=>{h(!0),T(null);try{const Y=await Rh({juejin:{token:null,originUserId:null,userName:null,avatarLarge:null}});r(Y),b(!1),kx(),t({title:"已退出登录",variant:"success"})}catch(Y){T(Y instanceof Error?Y.message:"退出失败"),b(!1)}finally{h(!1)}};if(u)return E.jsx("p",{className:"text-muted",children:"加载配置…"});const L=Y=>Y.replace(/^['"]+|['"]+$/g,"").trim(),k=(l==null?void 0:l.juejin.userId)??null,B=L(((te=l==null?void 0:l.juejin.originUserId)==null?void 0:te.trim())||""),G=((ne=l==null?void 0:l.juejin.userName)==null?void 0:ne.trim())||"",$=((j=l==null?void 0:l.juejin.avatarLarge)==null?void 0:j.trim())||"",A=(l==null?void 0:l.juejin.hasToken)??!1,U=k&&!k.startsWith("jau.")?L(k):"",K=B||U||null,q=()=>{_x().then(Y=>{Y.ok||t({title:"无法打开掘金登录页",description:Y.message??"请稍后重试",variant:"danger"})})};return E.jsxs("div",{className:"flex h-full flex-col gap-3 overflow-hidden",children:[x&&E.jsx(Gx,{tone:"error",title:x}),E.jsxs($5,{className:"rounded-xl p-4",variant:"secondary",children:[E.jsxs("div",{className:"flex items-start justify-between gap-4",children:[E.jsxs("div",{className:"min-w-0",children:[E.jsx("h3",{className:"text-sm text-foreground",children:"云端同步"}),E.jsx("p",{className:"mt-1 text-xs text-muted",children:"本地 sync 完成后自动上报掘金"})]}),E.jsx(ha,{id:"cli-juejin-enabled",isDisabled:d,isSelected:i,onChange:Y=>{N(Y)},children:E.jsxs(ha.Content,{children:[E.jsx(ha.Control,{children:E.jsx(ha.Indicator,{})}),"启用"]})})]}),E.jsxs("div",{className:"mt-4 flex items-start justify-between gap-4 text-sm",children:[E.jsxs("div",{children:[E.jsx("p",{className:"text-foreground",children:"关联账号"}),E.jsx("p",{className:"mt-1 text-xs text-muted",children:"用于识别云端用量归属"})]}),k?E.jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[$?E.jsx("img",{alt:G||"用户头像",className:"size-8 shrink-0 rounded-full object-cover",referrerPolicy:"no-referrer",src:$,title:G||void 0}):E.jsx("span",{"aria-hidden":"true",className:"inline-flex size-8 shrink-0 items-center justify-center rounded-full bg-accent/15 text-[13px] text-accent",title:G||void 0,children:(G||k).slice(0,1)}),E.jsxs("div",{className:"min-w-0 text-right",children:[E.jsx("p",{className:"truncate text-foreground",title:G||void 0,children:G||"已关联"}),E.jsx("p",{className:"break-all font-mono text-xs text-muted",title:K?void 0:"缺少 originUserId,请重新掘金登录关联",children:K??"缺少用户 ID(请重新登录关联)"})]})]}):E.jsx("span",{className:"text-muted",children:"未关联"})]}),i&&!k&&E.jsx("p",{className:"mt-3 text-xs text-amber-600 dark:text-amber-400",children:A?"尚未通过掘金登录关联账号;关联前不会上报。":"已开启同步但未关联用户 ID,上报将跳过。"})]}),E.jsx("div",{className:"mt-auto flex justify-end gap-2",children:k?E.jsx(mn,{isDisabled:d,onPress:()=>b(!0),variant:"danger",children:"退出登录"}):E.jsx(mn,{isDisabled:d,onPress:()=>w(!0),variant:"primary",children:"掘金登录"})}),E.jsx(GL,{isOpen:v,onConfirm:q,onOpenChange:w}),E.jsx(Be.Backdrop,{isOpen:p,onOpenChange:b,variant:"blur",children:E.jsx(Be.Container,{size:"sm",children:E.jsxs(Be.Dialog,{children:[E.jsx(Be.CloseTrigger,{"aria-label":"关闭"}),E.jsx(Be.Header,{children:E.jsx(Be.Heading,{children:"退出登录"})}),E.jsx(Be.Body,{className:"text-sm text-muted",children:"确认清除本机保存的用户 ID?清除后需重新通过掘金登录关联。"}),E.jsxs(Be.Footer,{className:"gap-2",children:[E.jsx(mn,{slot:"close",variant:"tertiary",children:"取消"}),E.jsx(mn,{isDisabled:d,onPress:()=>{M()},variant:"danger",children:"确认退出"})]})]})})})]})}function aN(){const[e,t]=y.useState(null),[l,r]=y.useState(!0),[i,s]=y.useState(null);return y.useEffect(()=>{let u=!1;return b2().then(f=>{u||(t(f),s(null))}).catch(f=>{u||s(f instanceof Error?f.message:"加载配置失败")}).finally(()=>{u||r(!1)}),()=>{u=!0}},[]),l?E.jsx("p",{className:"text-muted",children:"加载配置…"}):i?E.jsx(Gx,{tone:"error",title:i}):e?E.jsx("div",{className:"flex flex-col gap-4",children:E.jsxs($5,{className:"rounded-xl p-4",variant:"secondary",children:[E.jsx("h3",{className:"mb-3 text-sm font-medium text-foreground",children:"设备信息"}),E.jsxs("div",{className:"flex flex-col gap-2 text-sm",children:[E.jsx(Dc,{label:"设备 ID",value:e.deviceId}),E.jsx(Dc,{label:"上报起点",value:e.statsSince.slice(0,19).replace("T"," ")}),E.jsx(Dc,{label:"上次同步",value:e.lastSyncAt?new Date(e.lastSyncAt).toLocaleString():"从未"}),E.jsx(Dc,{label:"上次上报",value:e.lastUploadAt?new Date(e.lastUploadAt).toLocaleString():"从未"})]})]})}):E.jsx("p",{className:"text-sm text-muted",children:"当前为 Web 模式,设备信息仅在本机 CLI / 桌面端可见。"})}function Dc({label:e,value:t}){return E.jsxs("div",{className:"flex items-center justify-between gap-4 text-sm",children:[E.jsx("span",{className:"text-muted",children:e}),E.jsx("span",{className:"break-all text-right font-mono text-xs",children:t})]})}function rN({trigger:e,isOpen:t,onOpenChange:l,listenForOpenEvent:r=!0,hideTrigger:i=!1,activeTab:s,onTabChange:u}={}){const[f,d]=y.useState(!1),[h,p]=y.useState("sync"),b=t!==void 0,v=b?t:f,w=s??h,x=y.useCallback(C=>{b||d(C),l==null||l(C)},[b,l]),T=y.useCallback(C=>{s===void 0&&p(C),u==null||u(C)},[s,u]);return y.useEffect(()=>{if(!r)return;const C=N=>{const M=N.detail;M!=null&&M.tab&&T(M.tab),x(!0)};return window.addEventListener(Ch,C),()=>window.removeEventListener(Ch,C)},[r,x,T]),E.jsxs(E.Fragment,{children:[!i&&(e??E.jsxs(mn,{"aria-label":"设置",onPress:()=>x(!0),variant:"tertiary",children:[E.jsx(FL,{}),"设置"]})),E.jsx(Be.Backdrop,{isOpen:v,onOpenChange:x,variant:"blur",children:E.jsx(Be.Container,{className:"w-[760px] max-w-[min(760px,92vw)]",scroll:"inside",size:"lg",children:E.jsxs(Be.Dialog,{"aria-label":"设置",className:"overflow-hidden p-0",children:[E.jsx(Be.CloseTrigger,{"aria-label":"关闭设置",className:"z-20"}),E.jsx(Be.Body,{className:"m-0 flex-none overflow-hidden p-0",children:E.jsx(nN,{activeTab:w,onTabChange:T})})]})})})]})}/**
78
78
  * @license lucide-react v1.24.0 - ISC
79
79
  *
80
80
  * This source code is licensed under the ISC license.
81
81
  * See the LICENSE file in the root directory of this source tree.
82
- */const Gx=(...e)=>e.filter((t,l,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===l).join(" ").trim();/**
82
+ */const qx=(...e)=>e.filter((t,l,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===l).join(" ").trim();/**
83
83
  * @license lucide-react v1.24.0 - ISC
84
84
  *
85
85
  * This source code is licensed under the ISC license.
86
86
  * See the LICENSE file in the root directory of this source tree.
87
- */const rN=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
87
+ */const iN=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
88
88
  * @license lucide-react v1.24.0 - ISC
89
89
  *
90
90
  * This source code is licensed under the ISC license.
91
91
  * See the LICENSE file in the root directory of this source tree.
92
- */const iN=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,l,r)=>r?r.toUpperCase():l.toLowerCase());/**
92
+ */const oN=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,l,r)=>r?r.toUpperCase():l.toLowerCase());/**
93
93
  * @license lucide-react v1.24.0 - ISC
94
94
  *
95
95
  * This source code is licensed under the ISC license.
96
96
  * See the LICENSE file in the root directory of this source tree.
97
- */const Xv=e=>{const t=iN(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
97
+ */const Xv=e=>{const t=oN(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
98
98
  * @license lucide-react v1.24.0 - ISC
99
99
  *
100
100
  * This source code is licensed under the ISC license.
@@ -104,27 +104,27 @@ Error generating stack: `+c.message+`
104
104
  *
105
105
  * This source code is licensed under the ISC license.
106
106
  * See the LICENSE file in the root directory of this source tree.
107
- */const oN=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},sN=y.createContext({}),cN=()=>y.useContext(sN),uN=y.forwardRef(({color:e,size:t,strokeWidth:l,absoluteStrokeWidth:r,className:i="",children:s,iconNode:u,...f},d)=>{const{size:h=24,strokeWidth:p=2,absoluteStrokeWidth:b=!1,color:v="currentColor",className:w=""}=cN()??{},x=r??b?Number(l??p)*24/Number(t??h):l??p;return y.createElement("svg",{ref:d,...P0,width:t??h??P0.width,height:t??h??P0.height,stroke:e??v,strokeWidth:x,className:Gx("lucide",w,i),...!s&&!oN(f)&&{"aria-hidden":"true"},...f},[...u.map(([T,C])=>y.createElement(T,C)),...Array.isArray(s)?s:[s]])});/**
107
+ */const sN=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},cN=y.createContext({}),uN=()=>y.useContext(cN),fN=y.forwardRef(({color:e,size:t,strokeWidth:l,absoluteStrokeWidth:r,className:i="",children:s,iconNode:u,...f},d)=>{const{size:h=24,strokeWidth:p=2,absoluteStrokeWidth:b=!1,color:v="currentColor",className:w=""}=uN()??{},x=r??b?Number(l??p)*24/Number(t??h):l??p;return y.createElement("svg",{ref:d,...P0,width:t??h??P0.width,height:t??h??P0.height,stroke:e??v,strokeWidth:x,className:qx("lucide",w,i),...!s&&!sN(f)&&{"aria-hidden":"true"},...f},[...u.map(([T,C])=>y.createElement(T,C)),...Array.isArray(s)?s:[s]])});/**
108
108
  * @license lucide-react v1.24.0 - ISC
109
109
  *
110
110
  * This source code is licensed under the ISC license.
111
111
  * See the LICENSE file in the root directory of this source tree.
112
- */const x2=(e,t)=>{const l=y.forwardRef(({className:r,...i},s)=>y.createElement(uN,{ref:s,iconNode:t,className:Gx(`lucide-${rN(Xv(e))}`,`lucide-${e}`,r),...i}));return l.displayName=Xv(e),l};/**
112
+ */const x2=(e,t)=>{const l=y.forwardRef(({className:r,...i},s)=>y.createElement(fN,{ref:s,iconNode:t,className:qx(`lucide-${iN(Xv(e))}`,`lucide-${e}`,r),...i}));return l.displayName=Xv(e),l};/**
113
113
  * @license lucide-react v1.24.0 - ISC
114
114
  *
115
115
  * This source code is licensed under the ISC license.
116
116
  * See the LICENSE file in the root directory of this source tree.
117
- */const fN=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],dN=x2("chevron-left",fN);/**
117
+ */const dN=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],hN=x2("chevron-left",dN);/**
118
118
  * @license lucide-react v1.24.0 - ISC
119
119
  *
120
120
  * This source code is licensed under the ISC license.
121
121
  * See the LICENSE file in the root directory of this source tree.
122
- */const hN=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],mN=x2("chevron-right",hN);/**
122
+ */const mN=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],pN=x2("chevron-right",mN);/**
123
123
  * @license lucide-react v1.24.0 - ISC
124
124
  *
125
125
  * This source code is licensed under the ISC license.
126
126
  * See the LICENSE file in the root directory of this source tree.
127
- */const pN=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],gN=x2("copy",pN),bN=(e,t)=>{const l=new Array(e.length+t.length);for(let r=0;r<e.length;r++)l[r]=e[r];for(let r=0;r<t.length;r++)l[e.length+r]=t[r];return l},vN=(e,t)=>({classGroupId:e,validator:t}),qx=(e=new Map,t=null,l)=>({nextPart:e,validators:t,classGroupId:l}),du="-",Wv=[],yN="arbitrary..",xN=e=>{const t=wN(e),{conflictingClassGroups:l,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return SN(u);const f=u.split(du),d=f[0]===""&&f.length>1?1:0;return Yx(f,d,t)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=r[u],h=l[u];return d?h?bN(h,d):d:h||Wv}return l[u]||Wv}}},Yx=(e,t,l)=>{if(e.length-t===0)return l.classGroupId;const i=e[t],s=l.nextPart.get(i);if(s){const h=Yx(e,t+1,s);if(h)return h}const u=l.validators;if(u===null)return;const f=t===0?e.join(du):e.slice(t).join(du),d=u.length;for(let h=0;h<d;h++){const p=u[h];if(p.validator(f))return p.classGroupId}},SN=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),l=t.indexOf(":"),r=t.slice(0,l);return r?yN+r:void 0})(),wN=e=>{const{theme:t,classGroups:l}=e;return EN(l,t)},EN=(e,t)=>{const l=qx();for(const r in e){const i=e[r];S2(i,l,r,t)}return l},S2=(e,t,l,r)=>{const i=e.length;for(let s=0;s<i;s++){const u=e[s];CN(u,t,l,r)}},CN=(e,t,l,r)=>{if(typeof e=="string"){TN(e,t,l);return}if(typeof e=="function"){RN(e,t,l,r);return}MN(e,t,l,r)},TN=(e,t,l)=>{const r=e===""?t:Xx(t,e);r.classGroupId=l},RN=(e,t,l,r)=>{if(AN(e)){S2(e(r),t,l,r);return}t.validators===null&&(t.validators=[]),t.validators.push(vN(l,e))},MN=(e,t,l,r)=>{const i=Object.entries(e),s=i.length;for(let u=0;u<s;u++){const[f,d]=i[u];S2(d,Xx(t,f),l,r)}},Xx=(e,t)=>{let l=e;const r=t.split(du),i=r.length;for(let s=0;s<i;s++){const u=r[s];let f=l.nextPart.get(u);f||(f=qx(),l.nextPart.set(u,f)),l=f}return l},AN=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,LN=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,l=Object.create(null),r=Object.create(null);const i=(s,u)=>{l[s]=u,t++,t>e&&(t=0,r=l,l=Object.create(null))};return{get(s){let u=l[s];if(u!==void 0)return u;if((u=r[s])!==void 0)return i(s,u),u},set(s,u){s in l?l[s]=u:i(s,u)}}},Mh="!",Zv=":",kN=[],Qv=(e,t,l,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:l,maybePostfixModifierPosition:r,isExternal:i}),NN=e=>{const{prefix:t,experimentalParseClassName:l}=e;let r=i=>{const s=[];let u=0,f=0,d=0,h;const p=i.length;for(let T=0;T<p;T++){const C=i[T];if(u===0&&f===0){if(C===Zv){s.push(i.slice(d,T)),d=T+1;continue}if(C==="/"){h=T;continue}}C==="["?u++:C==="]"?u--:C==="("?f++:C===")"&&f--}const b=s.length===0?i:i.slice(d);let v=b,w=!1;b.endsWith(Mh)?(v=b.slice(0,-1),w=!0):b.startsWith(Mh)&&(v=b.slice(1),w=!0);const x=h&&h>d?h-d:void 0;return Qv(s,w,v,x)};if(t){const i=t+Zv,s=r;r=u=>u.startsWith(i)?s(u.slice(i.length)):Qv(kN,!1,u,void 0,!0)}if(l){const i=r;r=s=>l({className:s,parseClassName:i})}return r},DN=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((l,r)=>{t.set(l,1e6+r)}),l=>{const r=[];let i=[];for(let s=0;s<l.length;s++){const u=l[s],f=u[0]==="[",d=t.has(u);f||d?(i.length>0&&(i.sort(),r.push(...i),i=[]),r.push(u)):i.push(u)}return i.length>0&&(i.sort(),r.push(...i)),r}},$N=e=>({cache:LN(e.cacheSize),parseClassName:NN(e),sortModifiers:DN(e),postfixLookupClassGroupIds:zN(e),...xN(e)}),zN=e=>{const t=Object.create(null),l=e.postfixLookupClassGroups;if(l)for(let r=0;r<l.length;r++)t[l[r]]=!0;return t},PN=/\s+/,ON=(e,t)=>{const{parseClassName:l,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:s,postfixLookupClassGroupIds:u}=t,f=[],d=e.trim().split(PN);let h="";for(let p=d.length-1;p>=0;p-=1){const b=d[p],{isExternal:v,modifiers:w,hasImportantModifier:x,baseClassName:T,maybePostfixModifierPosition:C}=l(b);if(v){h=b+(h.length>0?" "+h:h);continue}let N=!!C,M;if(N){const $=T.substring(0,C);M=r($);const A=M&&u[M]?r(T):void 0;A&&A!==M&&(M=A,N=!1)}else M=r(T);if(!M){if(!N){h=b+(h.length>0?" "+h:h);continue}if(M=r(T),!M){h=b+(h.length>0?" "+h:h);continue}N=!1}const L=w.length===0?"":w.length===1?w[0]:s(w).join(":"),k=x?L+Mh:L,B=k+M;if(f.indexOf(B)>-1)continue;f.push(B);const G=i(M,N);for(let $=0;$<G.length;++$){const A=G[$];f.push(k+A)}h=b+(h.length>0?" "+h:h)}return h},jN=(...e)=>{let t=0,l,r,i="";for(;t<e.length;)(l=e[t++])&&(r=Wx(l))&&(i&&(i+=" "),i+=r);return i},Wx=e=>{if(typeof e=="string")return e;let t,l="";for(let r=0;r<e.length;r++)e[r]&&(t=Wx(e[r]))&&(l&&(l+=" "),l+=t);return l},IN=(e,...t)=>{let l,r,i,s;const u=d=>{const h=t.reduce((p,b)=>b(p),e());return l=$N(h),r=l.cache.get,i=l.cache.set,s=f,f(d)},f=d=>{const h=r(d);if(h)return h;const p=ON(d,l);return i(d,p),p};return s=u,(...d)=>s(jN(...d))},BN=[],Et=e=>{const t=l=>l[e]||BN;return t.isThemeGetter=!0,t},Zx=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Qx=/^\((?:(\w[\w-]*):)?(.+)\)$/i,HN=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,KN=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,UN=/\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$/,FN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,VN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_N=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ia=e=>HN.test(e),ke=e=>!!e&&!Number.isNaN(Number(e)),el=e=>!!e&&Number.isInteger(Number(e)),O0=e=>e.endsWith("%")&&ke(e.slice(0,-1)),Cl=e=>KN.test(e),Jx=()=>!0,GN=e=>UN.test(e)&&!FN.test(e),w2=()=>!1,qN=e=>VN.test(e),YN=e=>_N.test(e),XN=e=>!me(e)&&!ge(e),WN=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),ZN=e=>Ea(e,n6,w2),me=e=>Zx.test(e),_a=e=>Ea(e,l6,GN),Jv=e=>Ea(e,rD,ke),QN=e=>Ea(e,r6,Jx),JN=e=>Ea(e,a6,w2),ey=e=>Ea(e,e6,w2),eD=e=>Ea(e,t6,YN),$c=e=>Ea(e,i6,qN),ge=e=>Qx.test(e),Eo=e=>cr(e,l6),tD=e=>cr(e,a6),ty=e=>cr(e,e6),nD=e=>cr(e,n6),lD=e=>cr(e,t6),zc=e=>cr(e,i6,!0),aD=e=>cr(e,r6,!0),Ea=(e,t,l)=>{const r=Zx.exec(e);return r?r[1]?t(r[1]):l(r[2]):!1},cr=(e,t,l=!1)=>{const r=Qx.exec(e);return r?r[1]?t(r[1]):l:!1},e6=e=>e==="position"||e==="percentage",t6=e=>e==="image"||e==="url",n6=e=>e==="length"||e==="size"||e==="bg-size",l6=e=>e==="length",rD=e=>e==="number",a6=e=>e==="family-name",r6=e=>e==="number"||e==="weight",i6=e=>e==="shadow",iD=()=>{const e=Et("color"),t=Et("font"),l=Et("text"),r=Et("font-weight"),i=Et("tracking"),s=Et("leading"),u=Et("breakpoint"),f=Et("container"),d=Et("spacing"),h=Et("radius"),p=Et("shadow"),b=Et("inset-shadow"),v=Et("text-shadow"),w=Et("drop-shadow"),x=Et("blur"),T=Et("perspective"),C=Et("aspect"),N=Et("ease"),M=Et("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...k(),ge,me],G=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],A=()=>[ge,me,d],U=()=>[ia,"full","auto",...A()],K=()=>[el,"none","subgrid",ge,me],q=()=>["auto",{span:["full",el,ge,me]},el,ge,me],te=()=>[el,"auto",ge,me],ne=()=>["auto","min","max","fr",ge,me],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Y=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...A()],O=()=>[ia,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],oe=()=>[ia,"screen","full","dvw","lvw","svw","min","max","fit",...A()],J=()=>[ia,"screen","full","lh","dvh","lvh","svh","min","max","fit",...A()],_=()=>[e,ge,me],D=()=>[...k(),ty,ey,{position:[ge,me]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",nD,ZN,{size:[ge,me]}],ce=()=>[O0,Eo,_a],H=()=>["","none","full",h,ge,me],ie=()=>["",ke,Eo,_a],xe=()=>["solid","dashed","dotted","double"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>[ke,O0,ty,ey],Lt=()=>["","none",x,ge,me],it=()=>["none",ke,ge,me],ue=()=>["none",ke,ge,me],fe=()=>[ke,ge,me],Ee=()=>[ia,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Cl],breakpoint:[Cl],color:[Jx],container:[Cl],"drop-shadow":[Cl],ease:["in","out","in-out"],font:[XN],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Cl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Cl],shadow:[Cl],spacing:["px",ke],text:[Cl],"text-shadow":[Cl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ia,me,ge,C]}],container:["container"],"container-type":[{"@container":["","normal","size",ge,me]}],"container-named":[WN],columns:[{columns:[ke,me,ge,f]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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"],sr:["sr-only","not-sr-only"],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:B()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:U()}],"inset-x":[{"inset-x":U()}],"inset-y":[{"inset-y":U()}],start:[{"inset-s":U(),start:U()}],end:[{"inset-e":U(),end:U()}],"inset-bs":[{"inset-bs":U()}],"inset-be":[{"inset-be":U()}],top:[{top:U()}],right:[{right:U()}],bottom:[{bottom:U()}],left:[{left:U()}],visibility:["visible","invisible","collapse"],z:[{z:[el,"auto",ge,me]}],basis:[{basis:[ia,"full","auto",f,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ke,ia,"auto","initial","none",me]}],grow:[{grow:["",ke,ge,me]}],shrink:[{shrink:["",ke,ge,me]}],order:[{order:[el,"first","last","none",ge,me]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...Y(),"normal"]}],"justify-self":[{"justify-self":["auto",...Y()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...Y(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Y(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...Y(),"baseline"]}],"place-self":[{"place-self":["auto",...Y()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pbs:[{pbs:A()}],pbe:[{pbe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...oe()]}],"min-inline-size":[{"min-inline":["auto",...oe()]}],"max-inline-size":[{"max-inline":["none",...oe()]}],"block-size":[{block:["auto",...J()]}],"min-block-size":[{"min-block":["auto",...J()]}],"max-block-size":[{"max-block":["none",...J()]}],w:[{w:[f,"screen",...O()]}],"min-w":[{"min-w":[f,"screen","none",...O()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[u]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",l,Eo,_a]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,aD,QN]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",O0,me]}],"font-family":[{font:[tD,JN,t]}],"font-features":[{"font-features":[me]}],"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:[i,ge,me]}],"line-clamp":[{"line-clamp":[ke,"none",ge,Jv]}],leading:[{leading:[s,...A()]}],"list-image":[{"list-image":["none",ge,me]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ge,me]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:_()}],"text-color":[{text:_()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[ke,"from-font","auto",ge,_a]}],"text-decoration-color":[{decoration:_()}],"underline-offset":[{"underline-offset":[ke,"auto",ge,me]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"tab-size":[{tab:[el,ge,me]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ge,me]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ge,me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:se()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},el,ge,me],radial:["",ge,me],conic:[el,ge,me]},lD,eD]}],"bg-color":[{bg:_()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:_()}],"gradient-via":[{via:_()}],"gradient-to":[{to:_()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:_()}],"border-color-x":[{"border-x":_()}],"border-color-y":[{"border-y":_()}],"border-color-s":[{"border-s":_()}],"border-color-e":[{"border-e":_()}],"border-color-bs":[{"border-bs":_()}],"border-color-be":[{"border-be":_()}],"border-color-t":[{"border-t":_()}],"border-color-r":[{"border-r":_()}],"border-color-b":[{"border-b":_()}],"border-color-l":[{"border-l":_()}],"divide-color":[{divide:_()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ke,ge,me]}],"outline-w":[{outline:["",ke,Eo,_a]}],"outline-color":[{outline:_()}],shadow:[{shadow:["","none",p,zc,$c]}],"shadow-color":[{shadow:_()}],"inset-shadow":[{"inset-shadow":["none",b,zc,$c]}],"inset-shadow-color":[{"inset-shadow":_()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:_()}],"ring-offset-w":[{"ring-offset":[ke,_a]}],"ring-offset-color":[{"ring-offset":_()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":_()}],"text-shadow":[{"text-shadow":["none",v,zc,$c]}],"text-shadow-color":[{"text-shadow":_()}],opacity:[{opacity:[ke,ge,me]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ke]}],"mask-image-linear-from-pos":[{"mask-linear-from":de()}],"mask-image-linear-to-pos":[{"mask-linear-to":de()}],"mask-image-linear-from-color":[{"mask-linear-from":_()}],"mask-image-linear-to-color":[{"mask-linear-to":_()}],"mask-image-t-from-pos":[{"mask-t-from":de()}],"mask-image-t-to-pos":[{"mask-t-to":de()}],"mask-image-t-from-color":[{"mask-t-from":_()}],"mask-image-t-to-color":[{"mask-t-to":_()}],"mask-image-r-from-pos":[{"mask-r-from":de()}],"mask-image-r-to-pos":[{"mask-r-to":de()}],"mask-image-r-from-color":[{"mask-r-from":_()}],"mask-image-r-to-color":[{"mask-r-to":_()}],"mask-image-b-from-pos":[{"mask-b-from":de()}],"mask-image-b-to-pos":[{"mask-b-to":de()}],"mask-image-b-from-color":[{"mask-b-from":_()}],"mask-image-b-to-color":[{"mask-b-to":_()}],"mask-image-l-from-pos":[{"mask-l-from":de()}],"mask-image-l-to-pos":[{"mask-l-to":de()}],"mask-image-l-from-color":[{"mask-l-from":_()}],"mask-image-l-to-color":[{"mask-l-to":_()}],"mask-image-x-from-pos":[{"mask-x-from":de()}],"mask-image-x-to-pos":[{"mask-x-to":de()}],"mask-image-x-from-color":[{"mask-x-from":_()}],"mask-image-x-to-color":[{"mask-x-to":_()}],"mask-image-y-from-pos":[{"mask-y-from":de()}],"mask-image-y-to-pos":[{"mask-y-to":de()}],"mask-image-y-from-color":[{"mask-y-from":_()}],"mask-image-y-to-color":[{"mask-y-to":_()}],"mask-image-radial":[{"mask-radial":[ge,me]}],"mask-image-radial-from-pos":[{"mask-radial-from":de()}],"mask-image-radial-to-pos":[{"mask-radial-to":de()}],"mask-image-radial-from-color":[{"mask-radial-from":_()}],"mask-image-radial-to-color":[{"mask-radial-to":_()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[ke]}],"mask-image-conic-from-pos":[{"mask-conic-from":de()}],"mask-image-conic-to-pos":[{"mask-conic-to":de()}],"mask-image-conic-from-color":[{"mask-conic-from":_()}],"mask-image-conic-to-color":[{"mask-conic-to":_()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ge,me]}],filter:[{filter:["","none",ge,me]}],blur:[{blur:Lt()}],brightness:[{brightness:[ke,ge,me]}],contrast:[{contrast:[ke,ge,me]}],"drop-shadow":[{"drop-shadow":["","none",w,zc,$c]}],"drop-shadow-color":[{"drop-shadow":_()}],grayscale:[{grayscale:["",ke,ge,me]}],"hue-rotate":[{"hue-rotate":[ke,ge,me]}],invert:[{invert:["",ke,ge,me]}],saturate:[{saturate:[ke,ge,me]}],sepia:[{sepia:["",ke,ge,me]}],"backdrop-filter":[{"backdrop-filter":["","none",ge,me]}],"backdrop-blur":[{"backdrop-blur":Lt()}],"backdrop-brightness":[{"backdrop-brightness":[ke,ge,me]}],"backdrop-contrast":[{"backdrop-contrast":[ke,ge,me]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ke,ge,me]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ke,ge,me]}],"backdrop-invert":[{"backdrop-invert":["",ke,ge,me]}],"backdrop-opacity":[{"backdrop-opacity":[ke,ge,me]}],"backdrop-saturate":[{"backdrop-saturate":[ke,ge,me]}],"backdrop-sepia":[{"backdrop-sepia":["",ke,ge,me]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ge,me]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ke,"initial",ge,me]}],ease:[{ease:["linear","initial",N,ge,me]}],delay:[{delay:[ke,ge,me]}],animate:[{animate:["none",M,ge,me]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,ge,me]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:it()}],"rotate-x":[{"rotate-x":it()}],"rotate-y":[{"rotate-y":it()}],"rotate-z":[{"rotate-z":it()}],scale:[{scale:ue()}],"scale-x":[{"scale-x":ue()}],"scale-y":[{"scale-y":ue()}],"scale-z":[{"scale-z":ue()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[ge,me,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ee()}],"translate-x":[{"translate-x":Ee()}],"translate-y":[{"translate-y":Ee()}],"translate-z":[{"translate-z":Ee()}],"translate-none":["translate-none"],zoom:[{zoom:[el,ge,me]}],accent:[{accent:_()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:_()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",ge,me]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":_()}],"scrollbar-track-color":[{"scrollbar-track":_()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mbs":[{"scroll-mbs":A()}],"scroll-mbe":[{"scroll-mbe":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pbs":[{"scroll-pbs":A()}],"scroll-pbe":[{"scroll-pbe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",ge,me]}],fill:[{fill:["none",..._()]}],"stroke-w":[{stroke:[ke,Eo,_a,Jv]}],stroke:[{stroke:["none",..._()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","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-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},oD=IN(iD),j0=[{value:1e12,suffix:"T"},{value:1e9,suffix:"B"},{value:1e6,suffix:"M"},{value:1e3,suffix:"K"}];function sD(...e){return oD(l3(e))}function I0(e){if(!Number.isFinite(e))return"0";const t=Math.abs(e),l=j0.findIndex(u=>t>=u.value);if(l===-1)return Math.round(e).toLocaleString("en-US");let r=l,i=j0[r],s=ny(e/i.value);return Math.abs(s)>=1e3&&r>0&&(r-=1,i=j0[r],s=ny(e/i.value)),`${s.toLocaleString("en-US",{maximumFractionDigits:1})}${i.suffix}`}function ny(e){return Math.round(e*10)/10}const o6=y.createContext({authStatus:"unauthenticated",userId:null,userName:"",avatarLarge:""});function cD({authStatus:e,userId:t,userName:l,avatarLarge:r,children:i}){return E.jsx(o6.Provider,{value:{authStatus:e,userId:t,userName:l,avatarLarge:r},children:i})}function uD(){return y.useContext(o6)}const s6=y.createContext(null);function fD({children:e}){const[t,l]=y.useState(null),r=y.useCallback(s=>{l(s)},[]),i=y.useMemo(()=>({publishSnapshot:r,snapshot:t}),[r,t]);return E.jsx(s6.Provider,{value:i,children:e})}function dD(){const e=y.useContext(s6);if(!e)throw new Error("useShareSnapshot must be used within ShareSnapshotProvider");return e}var hD=Object.defineProperty,hu=Object.getOwnPropertySymbols,c6=Object.prototype.hasOwnProperty,u6=Object.prototype.propertyIsEnumerable,ly=(e,t,l)=>t in e?hD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l,Ah=(e,t)=>{for(var l in t||(t={}))c6.call(t,l)&&ly(e,l,t[l]);if(hu)for(var l of hu(t))u6.call(t,l)&&ly(e,l,t[l]);return e},Lh=(e,t)=>{var l={};for(var r in e)c6.call(e,r)&&t.indexOf(r)<0&&(l[r]=e[r]);if(e!=null&&hu)for(var r of hu(e))t.indexOf(r)<0&&u6.call(e,r)&&(l[r]=e[r]);return l};/**
127
+ */const gN=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],bN=x2("copy",gN),vN=(e,t)=>{const l=new Array(e.length+t.length);for(let r=0;r<e.length;r++)l[r]=e[r];for(let r=0;r<t.length;r++)l[e.length+r]=t[r];return l},yN=(e,t)=>({classGroupId:e,validator:t}),Yx=(e=new Map,t=null,l)=>({nextPart:e,validators:t,classGroupId:l}),du="-",Wv=[],xN="arbitrary..",SN=e=>{const t=EN(e),{conflictingClassGroups:l,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return wN(u);const f=u.split(du),d=f[0]===""&&f.length>1?1:0;return Xx(f,d,t)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=r[u],h=l[u];return d?h?vN(h,d):d:h||Wv}return l[u]||Wv}}},Xx=(e,t,l)=>{if(e.length-t===0)return l.classGroupId;const i=e[t],s=l.nextPart.get(i);if(s){const h=Xx(e,t+1,s);if(h)return h}const u=l.validators;if(u===null)return;const f=t===0?e.join(du):e.slice(t).join(du),d=u.length;for(let h=0;h<d;h++){const p=u[h];if(p.validator(f))return p.classGroupId}},wN=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),l=t.indexOf(":"),r=t.slice(0,l);return r?xN+r:void 0})(),EN=e=>{const{theme:t,classGroups:l}=e;return CN(l,t)},CN=(e,t)=>{const l=Yx();for(const r in e){const i=e[r];S2(i,l,r,t)}return l},S2=(e,t,l,r)=>{const i=e.length;for(let s=0;s<i;s++){const u=e[s];TN(u,t,l,r)}},TN=(e,t,l,r)=>{if(typeof e=="string"){RN(e,t,l);return}if(typeof e=="function"){MN(e,t,l,r);return}AN(e,t,l,r)},RN=(e,t,l)=>{const r=e===""?t:Wx(t,e);r.classGroupId=l},MN=(e,t,l,r)=>{if(LN(e)){S2(e(r),t,l,r);return}t.validators===null&&(t.validators=[]),t.validators.push(yN(l,e))},AN=(e,t,l,r)=>{const i=Object.entries(e),s=i.length;for(let u=0;u<s;u++){const[f,d]=i[u];S2(d,Wx(t,f),l,r)}},Wx=(e,t)=>{let l=e;const r=t.split(du),i=r.length;for(let s=0;s<i;s++){const u=r[s];let f=l.nextPart.get(u);f||(f=Yx(),l.nextPart.set(u,f)),l=f}return l},LN=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,kN=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,l=Object.create(null),r=Object.create(null);const i=(s,u)=>{l[s]=u,t++,t>e&&(t=0,r=l,l=Object.create(null))};return{get(s){let u=l[s];if(u!==void 0)return u;if((u=r[s])!==void 0)return i(s,u),u},set(s,u){s in l?l[s]=u:i(s,u)}}},Mh="!",Zv=":",NN=[],Qv=(e,t,l,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:l,maybePostfixModifierPosition:r,isExternal:i}),DN=e=>{const{prefix:t,experimentalParseClassName:l}=e;let r=i=>{const s=[];let u=0,f=0,d=0,h;const p=i.length;for(let T=0;T<p;T++){const C=i[T];if(u===0&&f===0){if(C===Zv){s.push(i.slice(d,T)),d=T+1;continue}if(C==="/"){h=T;continue}}C==="["?u++:C==="]"?u--:C==="("?f++:C===")"&&f--}const b=s.length===0?i:i.slice(d);let v=b,w=!1;b.endsWith(Mh)?(v=b.slice(0,-1),w=!0):b.startsWith(Mh)&&(v=b.slice(1),w=!0);const x=h&&h>d?h-d:void 0;return Qv(s,w,v,x)};if(t){const i=t+Zv,s=r;r=u=>u.startsWith(i)?s(u.slice(i.length)):Qv(NN,!1,u,void 0,!0)}if(l){const i=r;r=s=>l({className:s,parseClassName:i})}return r},$N=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((l,r)=>{t.set(l,1e6+r)}),l=>{const r=[];let i=[];for(let s=0;s<l.length;s++){const u=l[s],f=u[0]==="[",d=t.has(u);f||d?(i.length>0&&(i.sort(),r.push(...i),i=[]),r.push(u)):i.push(u)}return i.length>0&&(i.sort(),r.push(...i)),r}},zN=e=>({cache:kN(e.cacheSize),parseClassName:DN(e),sortModifiers:$N(e),postfixLookupClassGroupIds:PN(e),...SN(e)}),PN=e=>{const t=Object.create(null),l=e.postfixLookupClassGroups;if(l)for(let r=0;r<l.length;r++)t[l[r]]=!0;return t},ON=/\s+/,jN=(e,t)=>{const{parseClassName:l,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:s,postfixLookupClassGroupIds:u}=t,f=[],d=e.trim().split(ON);let h="";for(let p=d.length-1;p>=0;p-=1){const b=d[p],{isExternal:v,modifiers:w,hasImportantModifier:x,baseClassName:T,maybePostfixModifierPosition:C}=l(b);if(v){h=b+(h.length>0?" "+h:h);continue}let N=!!C,M;if(N){const $=T.substring(0,C);M=r($);const A=M&&u[M]?r(T):void 0;A&&A!==M&&(M=A,N=!1)}else M=r(T);if(!M){if(!N){h=b+(h.length>0?" "+h:h);continue}if(M=r(T),!M){h=b+(h.length>0?" "+h:h);continue}N=!1}const L=w.length===0?"":w.length===1?w[0]:s(w).join(":"),k=x?L+Mh:L,B=k+M;if(f.indexOf(B)>-1)continue;f.push(B);const G=i(M,N);for(let $=0;$<G.length;++$){const A=G[$];f.push(k+A)}h=b+(h.length>0?" "+h:h)}return h},IN=(...e)=>{let t=0,l,r,i="";for(;t<e.length;)(l=e[t++])&&(r=Zx(l))&&(i&&(i+=" "),i+=r);return i},Zx=e=>{if(typeof e=="string")return e;let t,l="";for(let r=0;r<e.length;r++)e[r]&&(t=Zx(e[r]))&&(l&&(l+=" "),l+=t);return l},BN=(e,...t)=>{let l,r,i,s;const u=d=>{const h=t.reduce((p,b)=>b(p),e());return l=zN(h),r=l.cache.get,i=l.cache.set,s=f,f(d)},f=d=>{const h=r(d);if(h)return h;const p=jN(d,l);return i(d,p),p};return s=u,(...d)=>s(IN(...d))},HN=[],Et=e=>{const t=l=>l[e]||HN;return t.isThemeGetter=!0,t},Qx=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Jx=/^\((?:(\w[\w-]*):)?(.+)\)$/i,KN=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,UN=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,FN=/\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$/,VN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,_N=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,GN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ia=e=>KN.test(e),ke=e=>!!e&&!Number.isNaN(Number(e)),el=e=>!!e&&Number.isInteger(Number(e)),O0=e=>e.endsWith("%")&&ke(e.slice(0,-1)),Cl=e=>UN.test(e),e6=()=>!0,qN=e=>FN.test(e)&&!VN.test(e),w2=()=>!1,YN=e=>_N.test(e),XN=e=>GN.test(e),WN=e=>!me(e)&&!ge(e),ZN=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),QN=e=>Ea(e,l6,w2),me=e=>Qx.test(e),_a=e=>Ea(e,a6,qN),Jv=e=>Ea(e,iD,ke),JN=e=>Ea(e,i6,e6),eD=e=>Ea(e,r6,w2),ey=e=>Ea(e,t6,w2),tD=e=>Ea(e,n6,XN),$c=e=>Ea(e,o6,YN),ge=e=>Jx.test(e),Eo=e=>cr(e,a6),nD=e=>cr(e,r6),ty=e=>cr(e,t6),lD=e=>cr(e,l6),aD=e=>cr(e,n6),zc=e=>cr(e,o6,!0),rD=e=>cr(e,i6,!0),Ea=(e,t,l)=>{const r=Qx.exec(e);return r?r[1]?t(r[1]):l(r[2]):!1},cr=(e,t,l=!1)=>{const r=Jx.exec(e);return r?r[1]?t(r[1]):l:!1},t6=e=>e==="position"||e==="percentage",n6=e=>e==="image"||e==="url",l6=e=>e==="length"||e==="size"||e==="bg-size",a6=e=>e==="length",iD=e=>e==="number",r6=e=>e==="family-name",i6=e=>e==="number"||e==="weight",o6=e=>e==="shadow",oD=()=>{const e=Et("color"),t=Et("font"),l=Et("text"),r=Et("font-weight"),i=Et("tracking"),s=Et("leading"),u=Et("breakpoint"),f=Et("container"),d=Et("spacing"),h=Et("radius"),p=Et("shadow"),b=Et("inset-shadow"),v=Et("text-shadow"),w=Et("drop-shadow"),x=Et("blur"),T=Et("perspective"),C=Et("aspect"),N=Et("ease"),M=Et("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...k(),ge,me],G=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],A=()=>[ge,me,d],U=()=>[ia,"full","auto",...A()],K=()=>[el,"none","subgrid",ge,me],q=()=>["auto",{span:["full",el,ge,me]},el,ge,me],te=()=>[el,"auto",ge,me],ne=()=>["auto","min","max","fr",ge,me],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Y=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...A()],O=()=>[ia,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],oe=()=>[ia,"screen","full","dvw","lvw","svw","min","max","fit",...A()],J=()=>[ia,"screen","full","lh","dvh","lvh","svh","min","max","fit",...A()],_=()=>[e,ge,me],D=()=>[...k(),ty,ey,{position:[ge,me]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",lD,QN,{size:[ge,me]}],ce=()=>[O0,Eo,_a],H=()=>["","none","full",h,ge,me],ie=()=>["",ke,Eo,_a],xe=()=>["solid","dashed","dotted","double"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],de=()=>[ke,O0,ty,ey],Lt=()=>["","none",x,ge,me],it=()=>["none",ke,ge,me],ue=()=>["none",ke,ge,me],fe=()=>[ke,ge,me],Ee=()=>[ia,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Cl],breakpoint:[Cl],color:[e6],container:[Cl],"drop-shadow":[Cl],ease:["in","out","in-out"],font:[WN],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Cl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Cl],shadow:[Cl],spacing:["px",ke],text:[Cl],"text-shadow":[Cl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ia,me,ge,C]}],container:["container"],"container-type":[{"@container":["","normal","size",ge,me]}],"container-named":[ZN],columns:[{columns:[ke,me,ge,f]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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"],sr:["sr-only","not-sr-only"],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:B()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:U()}],"inset-x":[{"inset-x":U()}],"inset-y":[{"inset-y":U()}],start:[{"inset-s":U(),start:U()}],end:[{"inset-e":U(),end:U()}],"inset-bs":[{"inset-bs":U()}],"inset-be":[{"inset-be":U()}],top:[{top:U()}],right:[{right:U()}],bottom:[{bottom:U()}],left:[{left:U()}],visibility:["visible","invisible","collapse"],z:[{z:[el,"auto",ge,me]}],basis:[{basis:[ia,"full","auto",f,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ke,ia,"auto","initial","none",me]}],grow:[{grow:["",ke,ge,me]}],shrink:[{shrink:["",ke,ge,me]}],order:[{order:[el,"first","last","none",ge,me]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...Y(),"normal"]}],"justify-self":[{"justify-self":["auto",...Y()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...Y(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Y(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...Y(),"baseline"]}],"place-self":[{"place-self":["auto",...Y()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pbs:[{pbs:A()}],pbe:[{pbe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...oe()]}],"min-inline-size":[{"min-inline":["auto",...oe()]}],"max-inline-size":[{"max-inline":["none",...oe()]}],"block-size":[{block:["auto",...J()]}],"min-block-size":[{"min-block":["auto",...J()]}],"max-block-size":[{"max-block":["none",...J()]}],w:[{w:[f,"screen",...O()]}],"min-w":[{"min-w":[f,"screen","none",...O()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[u]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",l,Eo,_a]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,rD,JN]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",O0,me]}],"font-family":[{font:[nD,eD,t]}],"font-features":[{"font-features":[me]}],"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:[i,ge,me]}],"line-clamp":[{"line-clamp":[ke,"none",ge,Jv]}],leading:[{leading:[s,...A()]}],"list-image":[{"list-image":["none",ge,me]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ge,me]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:_()}],"text-color":[{text:_()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[ke,"from-font","auto",ge,_a]}],"text-decoration-color":[{decoration:_()}],"underline-offset":[{"underline-offset":[ke,"auto",ge,me]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"tab-size":[{tab:[el,ge,me]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ge,me]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ge,me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:se()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},el,ge,me],radial:["",ge,me],conic:[el,ge,me]},aD,tD]}],"bg-color":[{bg:_()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:_()}],"gradient-via":[{via:_()}],"gradient-to":[{to:_()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:_()}],"border-color-x":[{"border-x":_()}],"border-color-y":[{"border-y":_()}],"border-color-s":[{"border-s":_()}],"border-color-e":[{"border-e":_()}],"border-color-bs":[{"border-bs":_()}],"border-color-be":[{"border-be":_()}],"border-color-t":[{"border-t":_()}],"border-color-r":[{"border-r":_()}],"border-color-b":[{"border-b":_()}],"border-color-l":[{"border-l":_()}],"divide-color":[{divide:_()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ke,ge,me]}],"outline-w":[{outline:["",ke,Eo,_a]}],"outline-color":[{outline:_()}],shadow:[{shadow:["","none",p,zc,$c]}],"shadow-color":[{shadow:_()}],"inset-shadow":[{"inset-shadow":["none",b,zc,$c]}],"inset-shadow-color":[{"inset-shadow":_()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:_()}],"ring-offset-w":[{"ring-offset":[ke,_a]}],"ring-offset-color":[{"ring-offset":_()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":_()}],"text-shadow":[{"text-shadow":["none",v,zc,$c]}],"text-shadow-color":[{"text-shadow":_()}],opacity:[{opacity:[ke,ge,me]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ke]}],"mask-image-linear-from-pos":[{"mask-linear-from":de()}],"mask-image-linear-to-pos":[{"mask-linear-to":de()}],"mask-image-linear-from-color":[{"mask-linear-from":_()}],"mask-image-linear-to-color":[{"mask-linear-to":_()}],"mask-image-t-from-pos":[{"mask-t-from":de()}],"mask-image-t-to-pos":[{"mask-t-to":de()}],"mask-image-t-from-color":[{"mask-t-from":_()}],"mask-image-t-to-color":[{"mask-t-to":_()}],"mask-image-r-from-pos":[{"mask-r-from":de()}],"mask-image-r-to-pos":[{"mask-r-to":de()}],"mask-image-r-from-color":[{"mask-r-from":_()}],"mask-image-r-to-color":[{"mask-r-to":_()}],"mask-image-b-from-pos":[{"mask-b-from":de()}],"mask-image-b-to-pos":[{"mask-b-to":de()}],"mask-image-b-from-color":[{"mask-b-from":_()}],"mask-image-b-to-color":[{"mask-b-to":_()}],"mask-image-l-from-pos":[{"mask-l-from":de()}],"mask-image-l-to-pos":[{"mask-l-to":de()}],"mask-image-l-from-color":[{"mask-l-from":_()}],"mask-image-l-to-color":[{"mask-l-to":_()}],"mask-image-x-from-pos":[{"mask-x-from":de()}],"mask-image-x-to-pos":[{"mask-x-to":de()}],"mask-image-x-from-color":[{"mask-x-from":_()}],"mask-image-x-to-color":[{"mask-x-to":_()}],"mask-image-y-from-pos":[{"mask-y-from":de()}],"mask-image-y-to-pos":[{"mask-y-to":de()}],"mask-image-y-from-color":[{"mask-y-from":_()}],"mask-image-y-to-color":[{"mask-y-to":_()}],"mask-image-radial":[{"mask-radial":[ge,me]}],"mask-image-radial-from-pos":[{"mask-radial-from":de()}],"mask-image-radial-to-pos":[{"mask-radial-to":de()}],"mask-image-radial-from-color":[{"mask-radial-from":_()}],"mask-image-radial-to-color":[{"mask-radial-to":_()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[ke]}],"mask-image-conic-from-pos":[{"mask-conic-from":de()}],"mask-image-conic-to-pos":[{"mask-conic-to":de()}],"mask-image-conic-from-color":[{"mask-conic-from":_()}],"mask-image-conic-to-color":[{"mask-conic-to":_()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ge,me]}],filter:[{filter:["","none",ge,me]}],blur:[{blur:Lt()}],brightness:[{brightness:[ke,ge,me]}],contrast:[{contrast:[ke,ge,me]}],"drop-shadow":[{"drop-shadow":["","none",w,zc,$c]}],"drop-shadow-color":[{"drop-shadow":_()}],grayscale:[{grayscale:["",ke,ge,me]}],"hue-rotate":[{"hue-rotate":[ke,ge,me]}],invert:[{invert:["",ke,ge,me]}],saturate:[{saturate:[ke,ge,me]}],sepia:[{sepia:["",ke,ge,me]}],"backdrop-filter":[{"backdrop-filter":["","none",ge,me]}],"backdrop-blur":[{"backdrop-blur":Lt()}],"backdrop-brightness":[{"backdrop-brightness":[ke,ge,me]}],"backdrop-contrast":[{"backdrop-contrast":[ke,ge,me]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ke,ge,me]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ke,ge,me]}],"backdrop-invert":[{"backdrop-invert":["",ke,ge,me]}],"backdrop-opacity":[{"backdrop-opacity":[ke,ge,me]}],"backdrop-saturate":[{"backdrop-saturate":[ke,ge,me]}],"backdrop-sepia":[{"backdrop-sepia":["",ke,ge,me]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ge,me]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ke,"initial",ge,me]}],ease:[{ease:["linear","initial",N,ge,me]}],delay:[{delay:[ke,ge,me]}],animate:[{animate:["none",M,ge,me]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,ge,me]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:it()}],"rotate-x":[{"rotate-x":it()}],"rotate-y":[{"rotate-y":it()}],"rotate-z":[{"rotate-z":it()}],scale:[{scale:ue()}],"scale-x":[{"scale-x":ue()}],"scale-y":[{"scale-y":ue()}],"scale-z":[{"scale-z":ue()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[ge,me,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ee()}],"translate-x":[{"translate-x":Ee()}],"translate-y":[{"translate-y":Ee()}],"translate-z":[{"translate-z":Ee()}],"translate-none":["translate-none"],zoom:[{zoom:[el,ge,me]}],accent:[{accent:_()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:_()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",ge,me]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":_()}],"scrollbar-track-color":[{"scrollbar-track":_()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mbs":[{"scroll-mbs":A()}],"scroll-mbe":[{"scroll-mbe":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pbs":[{"scroll-pbs":A()}],"scroll-pbe":[{"scroll-pbe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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",ge,me]}],fill:[{fill:["none",..._()]}],"stroke-w":[{stroke:[ke,Eo,_a,Jv]}],stroke:[{stroke:["none",..._()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","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-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},sD=BN(oD),j0=[{value:1e12,suffix:"T"},{value:1e9,suffix:"B"},{value:1e6,suffix:"M"},{value:1e3,suffix:"K"}];function ny(...e){return sD(a3(e))}function I0(e){if(!Number.isFinite(e))return"0";const t=Math.abs(e),l=j0.findIndex(u=>t>=u.value);if(l===-1)return Math.round(e).toLocaleString("en-US");let r=l,i=j0[r],s=ly(e/i.value);return Math.abs(s)>=1e3&&r>0&&(r-=1,i=j0[r],s=ly(e/i.value)),`${s.toLocaleString("en-US",{maximumFractionDigits:1})}${i.suffix}`}function ly(e){return Math.round(e*10)/10}const s6=y.createContext({authStatus:"unauthenticated",userId:null,userName:"",avatarLarge:""});function cD({authStatus:e,userId:t,userName:l,avatarLarge:r,children:i}){return E.jsx(s6.Provider,{value:{authStatus:e,userId:t,userName:l,avatarLarge:r},children:i})}function uD(){return y.useContext(s6)}const c6=y.createContext(null);function fD({children:e}){const[t,l]=y.useState(null),r=y.useCallback(s=>{l(s)},[]),i=y.useMemo(()=>({publishSnapshot:r,snapshot:t}),[r,t]);return E.jsx(c6.Provider,{value:i,children:e})}function dD(){const e=y.useContext(c6);if(!e)throw new Error("useShareSnapshot must be used within ShareSnapshotProvider");return e}var hD=Object.defineProperty,hu=Object.getOwnPropertySymbols,u6=Object.prototype.hasOwnProperty,f6=Object.prototype.propertyIsEnumerable,ay=(e,t,l)=>t in e?hD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l,Ah=(e,t)=>{for(var l in t||(t={}))u6.call(t,l)&&ay(e,l,t[l]);if(hu)for(var l of hu(t))f6.call(t,l)&&ay(e,l,t[l]);return e},Lh=(e,t)=>{var l={};for(var r in e)u6.call(e,r)&&t.indexOf(r)<0&&(l[r]=e[r]);if(e!=null&&hu)for(var r of hu(e))t.indexOf(r)<0&&f6.call(e,r)&&(l[r]=e[r]);return l};/**
128
128
  * @license QR Code generator library (TypeScript)
129
129
  * Copyright (c) Project Nayuki.
130
130
  * SPDX-License-Identifier: MIT
@@ -132,12 +132,12 @@ Error generating stack: `+c.message+`
132
132
  * @license qrcode.react
133
133
  * Copyright (c) Paul O'Shannessy
134
134
  * SPDX-License-Identifier: ISC
135
- */var mD={L:oi.QrCode.Ecc.LOW,M:oi.QrCode.Ecc.MEDIUM,Q:oi.QrCode.Ecc.QUARTILE,H:oi.QrCode.Ecc.HIGH},f6=128,d6="L",h6="#FFFFFF",m6="#000000",p6=!1,g6=1,pD=4,gD=0,bD=.1;function b6(e,t=0){const l=[];return e.forEach(function(r,i){let s=null;r.forEach(function(u,f){if(!u&&s!==null){l.push(`M${s+t} ${i+t}h${f-s}v1H${s+t}z`),s=null;return}if(f===r.length-1){if(!u)return;s===null?l.push(`M${f+t},${i+t} h1v1H${f+t}z`):l.push(`M${s+t},${i+t} h${f+1-s}v1H${s+t}z`);return}u&&s===null&&(s=f)})}),l.join("")}function v6(e,t){return e.slice().map((l,r)=>r<t.y||r>=t.y+t.h?l:l.map((i,s)=>s<t.x||s>=t.x+t.w?i:!1))}function vD(e,t,l,r){if(r==null)return null;const i=e.length+l*2,s=Math.floor(t*bD),u=i/t,f=(r.width||s)*u,d=(r.height||s)*u,h=r.x==null?e.length/2-f/2:r.x*u,p=r.y==null?e.length/2-d/2:r.y*u,b=r.opacity==null?1:r.opacity;let v=null;if(r.excavate){let x=Math.floor(h),T=Math.floor(p),C=Math.ceil(f+h-x),N=Math.ceil(d+p-T);v={x,y:T,w:C,h:N}}const w=r.crossOrigin;return{x:h,y:p,h:d,w:f,excavation:v,opacity:b,crossOrigin:w}}function yD(e,t){return t!=null?Math.max(Math.floor(t),0):e?pD:gD}function y6({value:e,level:t,minVersion:l,includeMargin:r,marginSize:i,imageSettings:s,size:u,boostLevel:f}){let d=V.useMemo(()=>{const x=(Array.isArray(e)?e:[e]).reduce((T,C)=>(T.push(...oi.QrSegment.makeSegments(C)),T),[]);return oi.QrCode.encodeSegments(x,mD[t],l,void 0,void 0,f)},[e,t,l,f]);const{cells:h,margin:p,numCells:b,calculatedImageSettings:v}=V.useMemo(()=>{let w=d.getModules();const x=yD(r,i),T=w.length+x*2,C=vD(w,u,x,s);return{cells:w,margin:x,numCells:T,calculatedImageSettings:C}},[d,u,s,r,i]);return{qrcode:d,margin:p,cells:h,numCells:b,calculatedImageSettings:v}}var xD=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),SD=V.forwardRef(function(t,l){const r=t,{value:i,size:s=f6,level:u=d6,bgColor:f=h6,fgColor:d=m6,includeMargin:h=p6,minVersion:p=g6,boostLevel:b,marginSize:v,imageSettings:w}=r,T=Lh(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:C}=T,N=Lh(T,["style"]),M=w==null?void 0:w.src,L=V.useRef(null),k=V.useRef(null),B=V.useCallback(j=>{L.current=j,typeof l=="function"?l(j):l&&(l.current=j)},[l]),[G,$]=V.useState(!1),{margin:A,cells:U,numCells:K,calculatedImageSettings:q}=y6({value:i,level:u,minVersion:p,boostLevel:b,includeMargin:h,marginSize:v,imageSettings:w,size:s});V.useEffect(()=>{if(L.current!=null){const j=L.current,Y=j.getContext("2d");if(!Y)return;let z=U;const O=k.current,oe=q!=null&&O!==null&&O.complete&&O.naturalHeight!==0&&O.naturalWidth!==0;oe&&q.excavation!=null&&(z=v6(U,q.excavation));const J=window.devicePixelRatio||1;j.height=j.width=s*J;const _=s/K*J;Y.scale(_,_),Y.fillStyle=f,Y.fillRect(0,0,K,K),Y.fillStyle=d,xD?Y.fill(new Path2D(b6(z,A))):U.forEach(function(D,Q){D.forEach(function(se,ce){se&&Y.fillRect(ce+A,Q+A,1,1)})}),q&&(Y.globalAlpha=q.opacity),oe&&Y.drawImage(O,q.x+A,q.y+A,q.w,q.h)}}),V.useEffect(()=>{$(!1)},[M]);const te=Ah({height:s,width:s},C);let ne=null;return M!=null&&(ne=V.createElement("img",{src:M,key:M,style:{display:"none"},onLoad:()=>{$(!0)},ref:k,crossOrigin:q==null?void 0:q.crossOrigin})),V.createElement(V.Fragment,null,V.createElement("canvas",Ah({style:te,height:s,width:s,ref:B,role:"img"},N)),ne)});SD.displayName="QRCodeCanvas";var x6=V.forwardRef(function(t,l){const r=t,{value:i,size:s=f6,level:u=d6,bgColor:f=h6,fgColor:d=m6,includeMargin:h=p6,minVersion:p=g6,boostLevel:b,title:v,marginSize:w,imageSettings:x}=r,T=Lh(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:C,cells:N,numCells:M,calculatedImageSettings:L}=y6({value:i,level:u,minVersion:p,boostLevel:b,includeMargin:h,marginSize:w,imageSettings:x,size:s});let k=N,B=null;x!=null&&L!=null&&(L.excavation!=null&&(k=v6(N,L.excavation)),B=V.createElement("image",{href:x.src,height:L.h,width:L.w,x:L.x+C,y:L.y+C,preserveAspectRatio:"none",opacity:L.opacity,crossOrigin:L.crossOrigin}));const G=b6(k,C);return V.createElement("svg",Ah({height:s,width:s,viewBox:`0 0 ${M} ${M}`,ref:l,role:"img"},T),!!v&&V.createElement("title",null,v),V.createElement("path",{fill:f,d:`M0,0 h${M}v${M}H0z`,shapeRendering:"crispEdges"}),V.createElement("path",{fill:d,d:G,shapeRendering:"crispEdges"}),B)});x6.displayName="QRCodeSVG";const wD="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3crect%20width='24'%20height='24'%20rx='5'%20fill='%23fff'/%3e%3cpath%20fill='%231e80ff'%20d='m12%2014.316%207.454-5.88-2.022-1.625L12%2011.1l-.004.003-5.432-4.288-2.02%201.624%207.452%205.88Zm0-7.247%202.89-2.298L12%202.453l-.004-.005-2.884%202.318%202.884%202.3Zm0%2011.266-.005.002-9.975-7.87L0%2012.088l.194.156%2011.803%209.308%207.463-5.885L24%2012.085l-2.023-1.624Z'%20transform='translate(2.4%202.4)%20scale(.8)'%20/%3e%3c/svg%3e",ED="/assets/click-idle-6pQvdt8N.png",CD="/assets/hawking-idle-C6M3ZvDm.png",TD="/assets/yoyo-idle-DmXh5tLT.png";function Uz(e){return Number.isFinite(e)?Math.round(e).toLocaleString():"0"}function RD(e){return Number.isFinite(e)?`$${e.toFixed(2)}`:"$0.00"}function Fz(e){return Number.isFinite(e)?`${e.toFixed(1)}%`:"0.0%"}const MD="data:font/woff2;base64,d09GMgABAAAAAJ3UABQAAAABfDgAAJ1eAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoFfG4dOHIGacj9IVkFSiUwGYD9TVEFUgWInJgCFIi9qEQgKgdw4gawuC4YWADCCojABNgIkA4waBCAFiUwHowwMB1u3X3GC6aZjD165bQA/5feRJ7EK5KabcjtIaXvmyAJ27AXYOIA2Nl6c/f//eUlFjkrrJK3ZxsGPe0vJiQjkUtZVnoqpDZk2jITW1o6lySayOlsmsTuc7x7N+YLeweTE5EQKOul1EKTJpAnWK4MLsRcl7bXlKtx/uM/FDpQILw/Vx+Z727G1y+Ojue5TfpDHCTmX7myGnztttzQa90eGEX/4yR1NWGhKKEKKDNIhTUSJg27w+0IgVhWmy/s/QBMhM7ppeJsVbfMfW+mooSNQ/QePQ//wOSf52+lqLusAuwX/YpIyLMfTSvh/+Dbt3DeDDXhIvMSMujpdN/tS/6v6+v/o9b07+fLpBQ3gJBMM9deshVKtWFVbbbunx8/T3N79WxVjazbGYHNElCBgA0YTJmAmJZhgN7SBUYXZhFGUIOy2u+FJN/+h8CGgVAFRgQyySSBrXi53GZdNjiOBcIwAiUBYMlRctKJ1zO/EsUCt/+OYfEcdqwPnV+uodFHdOLsWzKBmOT5nZj1rxYpITlJrredaScVasWLdbxrEiieDWCvWipXZT0SsBBERa8W6g5hPPNcG1zykQYL72SUNYoOE7C9iRSRIEAkiYq37iYiYe1OtvgpAIRQJgpRI2bLbdqcNMd32eP3vmYQ2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mqe/HfCo50PMQMSD95i1E9eo60CAAAA";function AD(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const l=document.implementation.createHTMLDocument(),r=l.createElement("base"),i=l.createElement("a");return l.head.appendChild(r),l.body.appendChild(i),t&&(r.href=t),i.href=e,i.href}const LD=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ga(e){const t=[];for(let l=0,r=e.length;l<r;l++)t.push(e[l]);return t}let Jr=null;function S6(e={}){return Jr||(e.includeStyleProperties?(Jr=e.includeStyleProperties,Jr):(Jr=ga(window.getComputedStyle(document.documentElement)),Jr))}function mu(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function kD(e){const t=mu(e,"border-left-width"),l=mu(e,"border-right-width");return e.clientWidth+t+l}function ND(e){const t=mu(e,"border-top-width"),l=mu(e,"border-bottom-width");return e.clientHeight+t+l}function w6(e,t={}){const l=t.width||kD(e),r=t.height||ND(e);return{width:l,height:r}}function DD(){let e,t;try{t=process}catch{}const l=t&&t.env?t.env.devicePixelRatio:null;return l&&(e=parseInt(l,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const hn=16384;function $D(e){(e.width>hn||e.height>hn)&&(e.width>hn&&e.height>hn?e.width>e.height?(e.height*=hn/e.width,e.width=hn):(e.width*=hn/e.height,e.height=hn):e.width>hn?(e.height*=hn/e.width,e.width=hn):(e.width*=hn/e.height,e.height=hn))}function zD(e,t={}){return e.toBlob?new Promise(l=>{e.toBlob(l,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(l=>{const r=window.atob(e.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),i=r.length,s=new Uint8Array(i);for(let u=0;u<i;u+=1)s[u]=r.charCodeAt(u);l(new Blob([s],{type:t.type?t.type:"image/png"}))})}function pu(e){return new Promise((t,l)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=l,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function PD(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function OD(e,t,l){const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return i.setAttribute("width",`${t}`),i.setAttribute("height",`${l}`),i.setAttribute("viewBox",`0 0 ${t} ${l}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),i.appendChild(s),s.appendChild(e),PD(i)}const nn=(e,t)=>{if(e instanceof t)return!0;const l=Object.getPrototypeOf(e);return l===null?!1:l.constructor.name===t.name||nn(l,t)};function jD(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function ID(e,t){return S6(t).map(l=>{const r=e.getPropertyValue(l),i=e.getPropertyPriority(l);return`${l}: ${r}${i?" !important":""};`}).join(" ")}function BD(e,t,l,r){const i=`.${e}:${t}`,s=l.cssText?jD(l):ID(l,r);return document.createTextNode(`${i}{${s}}`)}function ay(e,t,l,r){const i=window.getComputedStyle(e,l),s=i.getPropertyValue("content");if(s===""||s==="none")return;const u=LD();try{t.className=`${t.className} ${u}`}catch{return}const f=document.createElement("style");f.appendChild(BD(u,l,i,r)),t.appendChild(f)}function HD(e,t,l){ay(e,t,":before",l),ay(e,t,":after",l)}const ry="application/font-woff",iy="image/jpeg",KD={woff:ry,woff2:ry,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:iy,jpeg:iy,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function UD(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function E2(e){const t=UD(e).toLowerCase();return KD[t]||""}function FD(e){return e.split(/,/)[1]}function kh(e){return e.search(/^(data:)/)!==-1}function VD(e,t){return`data:${t};base64,${e}`}async function E6(e,t,l){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const i=await r.blob();return new Promise((s,u)=>{const f=new FileReader;f.onerror=u,f.onloadend=()=>{try{s(l({res:r,result:f.result}))}catch(d){u(d)}},f.readAsDataURL(i)})}const B0={};function _D(e,t,l){let r=e.replace(/\?.*/,"");return l&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function C2(e,t,l){const r=_D(e,t,l.includeQueryParams);if(B0[r]!=null)return B0[r];l.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let i;try{const s=await E6(e,l.fetchRequestInit,({res:u,result:f})=>(t||(t=u.headers.get("Content-Type")||""),FD(f)));i=VD(s,t)}catch(s){i=l.imagePlaceholder||"";let u=`Failed to fetch resource: ${e}`;s&&(u=typeof s=="string"?s:s.message),u&&console.warn(u)}return B0[r]=i,i}async function GD(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):pu(t)}async function qD(e,t){if(e.currentSrc){const s=document.createElement("canvas"),u=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,u==null||u.drawImage(e,0,0,s.width,s.height);const f=s.toDataURL();return pu(f)}const l=e.poster,r=E2(l),i=await C2(l,r,t);return pu(i)}async function YD(e,t){var l;try{if(!((l=e==null?void 0:e.contentDocument)===null||l===void 0)&&l.body)return await zu(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function XD(e,t){return nn(e,HTMLCanvasElement)?GD(e):nn(e,HTMLVideoElement)?qD(e,t):nn(e,HTMLIFrameElement)?YD(e,t):e.cloneNode(C6(e))}const WD=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",C6=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function ZD(e,t,l){var r,i;if(C6(t))return t;let s=[];return WD(e)&&e.assignedNodes?s=ga(e.assignedNodes()):nn(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=ga(e.contentDocument.body.childNodes):s=ga(((i=e.shadowRoot)!==null&&i!==void 0?i:e).childNodes),s.length===0||nn(e,HTMLVideoElement)||await s.reduce((u,f)=>u.then(()=>zu(f,l)).then(d=>{d&&t.appendChild(d)}),Promise.resolve()),t}function QD(e,t,l){const r=t.style;if(!r)return;const i=window.getComputedStyle(e);i.cssText?(r.cssText=i.cssText,r.transformOrigin=i.transformOrigin):S6(l).forEach(s=>{let u=i.getPropertyValue(s);s==="font-size"&&u.endsWith("px")&&(u=`${Math.floor(parseFloat(u.substring(0,u.length-2)))-.1}px`),nn(e,HTMLIFrameElement)&&s==="display"&&u==="inline"&&(u="block"),s==="d"&&t.getAttribute("d")&&(u=`path(${t.getAttribute("d")})`),r.setProperty(s,u,i.getPropertyPriority(s))})}function JD(e,t){nn(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),nn(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function e$(e,t){if(nn(e,HTMLSelectElement)){const r=Array.from(t.children).find(i=>e.value===i.getAttribute("value"));r&&r.setAttribute("selected","")}}function t$(e,t,l){return nn(t,Element)&&(QD(e,t,l),HD(e,t,l),JD(e,t),e$(e,t)),t}async function n$(e,t){const l=e.querySelectorAll?e.querySelectorAll("use"):[];if(l.length===0)return e;const r={};for(let s=0;s<l.length;s++){const f=l[s].getAttribute("xlink:href");if(f){const d=e.querySelector(f),h=document.querySelector(f);!d&&h&&!r[f]&&(r[f]=await zu(h,t,!0))}}const i=Object.values(r);if(i.length){const s="http://www.w3.org/1999/xhtml",u=document.createElementNS(s,"svg");u.setAttribute("xmlns",s),u.style.position="absolute",u.style.width="0",u.style.height="0",u.style.overflow="hidden",u.style.display="none";const f=document.createElementNS(s,"defs");u.appendChild(f);for(let d=0;d<i.length;d++)f.appendChild(i[d]);e.appendChild(u)}return e}async function zu(e,t,l){return!l&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>XD(r,t)).then(r=>ZD(e,r,t)).then(r=>t$(e,r,t)).then(r=>n$(r,t))}const T6=/url\((['"]?)([^'"]+?)\1\)/g,l$=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,a$=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function r$(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function i$(e){const t=[];return e.replace(T6,(l,r,i)=>(t.push(i),l)),t.filter(l=>!kh(l))}async function o$(e,t,l,r,i){try{const s=l?AD(t,l):t,u=E2(t);let f;return i||(f=await C2(s,u,r)),e.replace(r$(t),`$1${f}$3`)}catch{}return e}function s$(e,{preferredFontFormat:t}){return t?e.replace(a$,l=>{for(;;){const[r,,i]=l$.exec(l)||[];if(!i)return"";if(i===t)return`src: ${r};`}}):e}function R6(e){return e.search(T6)!==-1}async function M6(e,t,l){if(!R6(e))return e;const r=s$(e,l);return i$(r).reduce((s,u)=>s.then(f=>o$(f,u,t,l)),Promise.resolve(r))}async function ei(e,t,l){var r;const i=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(i){const s=await M6(i,null,l);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function c$(e,t){await ei("background",e,t)||await ei("background-image",e,t),await ei("mask",e,t)||await ei("-webkit-mask",e,t)||await ei("mask-image",e,t)||await ei("-webkit-mask-image",e,t)}async function u$(e,t){const l=nn(e,HTMLImageElement);if(!(l&&!kh(e.src))&&!(nn(e,SVGImageElement)&&!kh(e.href.baseVal)))return;const r=l?e.src:e.href.baseVal,i=await C2(r,E2(r),t);await new Promise((s,u)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...d)=>{try{s(t.onImageErrorHandler(...d))}catch(h){u(h)}}:u;const f=e;f.decode&&(f.decode=s),f.loading==="lazy"&&(f.loading="eager"),l?(e.srcset="",e.src=i):e.href.baseVal=i})}async function f$(e,t){const r=ga(e.childNodes).map(i=>A6(i,t));await Promise.all(r).then(()=>e)}async function A6(e,t){nn(e,Element)&&(await c$(e,t),await u$(e,t),await f$(e,t))}function d$(e,t){const{style:l}=e;t.backgroundColor&&(l.backgroundColor=t.backgroundColor),t.width&&(l.width=`${t.width}px`),t.height&&(l.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(i=>{l[i]=r[i]}),e}const oy={};async function sy(e){let t=oy[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},oy[e]=t,t}async function cy(e,t){let l=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(l.match(/url\([^)]+\)/g)||[]).map(async u=>{let f=u.replace(r,"$1");return f.startsWith("https://")||(f=new URL(f,e.url).href),E6(f,t.fetchRequestInit,({result:d})=>(l=l.replace(u,`url(${d})`),[u,d]))});return Promise.all(s).then(()=>l)}function uy(e){if(e==null)return[];const t=[],l=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(l,"");const i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const d=i.exec(r);if(d===null)break;t.push(d[0])}r=r.replace(i,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,u="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",f=new RegExp(u,"gi");for(;;){let d=s.exec(r);if(d===null){if(d=f.exec(r),d===null)break;s.lastIndex=f.lastIndex}else f.lastIndex=s.lastIndex;t.push(d[0])}return t}async function h$(e,t){const l=[],r=[];return e.forEach(i=>{if("cssRules"in i)try{ga(i.cssRules||[]).forEach((s,u)=>{if(s.type===CSSRule.IMPORT_RULE){let f=u+1;const d=s.href,h=sy(d).then(p=>cy(p,t)).then(p=>uy(p).forEach(b=>{try{i.insertRule(b,b.startsWith("@import")?f+=1:i.cssRules.length)}catch(v){console.error("Error inserting rule from remote css",{rule:b,error:v})}})).catch(p=>{console.error("Error loading remote css",p.toString())});r.push(h)}})}catch(s){const u=e.find(f=>f.href==null)||document.styleSheets[0];i.href!=null&&r.push(sy(i.href).then(f=>cy(f,t)).then(f=>uy(f).forEach(d=>{u.insertRule(d,u.cssRules.length)})).catch(f=>{console.error("Error loading remote stylesheet",f)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(i=>{if("cssRules"in i)try{ga(i.cssRules||[]).forEach(s=>{l.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${i.href}`,s)}}),l))}function m$(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>R6(t.style.getPropertyValue("src")))}async function p$(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const l=ga(e.ownerDocument.styleSheets),r=await h$(l,t);return m$(r)}function L6(e){return e.trim().replace(/["']/g,"")}function g$(e){const t=new Set;function l(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(L6(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&l(s)})}return l(e),t}async function b$(e,t){const l=await p$(e,t),r=g$(e);return(await Promise.all(l.filter(s=>r.has(L6(s.style.fontFamily))).map(s=>{const u=s.parentStyleSheet?s.parentStyleSheet.href:null;return M6(s.cssText,u,t)}))).join(`
136
- `)}async function v$(e,t){const l=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await b$(e,t);if(l){const r=document.createElement("style"),i=document.createTextNode(l);r.appendChild(i),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function y$(e,t={}){const{width:l,height:r}=w6(e,t),i=await zu(e,t,!0);return await v$(i,t),await A6(i,t),d$(i,t),await OD(i,l,r)}async function x$(e,t={}){const{width:l,height:r}=w6(e,t),i=await y$(e,t),s=await pu(i),u=document.createElement("canvas"),f=u.getContext("2d"),d=t.pixelRatio||DD(),h=t.canvasWidth||l,p=t.canvasHeight||r;return u.width=h*d,u.height=p*d,t.skipAutoScale||$D(u),u.style.width=`${h}`,u.style.height=`${p}`,t.backgroundColor&&(f.fillStyle=t.backgroundColor,f.fillRect(0,0,u.width,u.height)),f.drawImage(s,0,0,u.width,u.height),u}async function k6(e,t={}){const l=await x$(e,t);return await zD(l)}const S$="image/png",N6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADElEQVR42mNk+M/wHwAF/gL+XqY5WQAAAABJRU5ErkJggg==",Nh=300,Dh=450,w$=1365,E$=2048,C$='system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif',T$='"JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace',D6=`
135
+ */var mD={L:oi.QrCode.Ecc.LOW,M:oi.QrCode.Ecc.MEDIUM,Q:oi.QrCode.Ecc.QUARTILE,H:oi.QrCode.Ecc.HIGH},d6=128,h6="L",m6="#FFFFFF",p6="#000000",g6=!1,b6=1,pD=4,gD=0,bD=.1;function v6(e,t=0){const l=[];return e.forEach(function(r,i){let s=null;r.forEach(function(u,f){if(!u&&s!==null){l.push(`M${s+t} ${i+t}h${f-s}v1H${s+t}z`),s=null;return}if(f===r.length-1){if(!u)return;s===null?l.push(`M${f+t},${i+t} h1v1H${f+t}z`):l.push(`M${s+t},${i+t} h${f+1-s}v1H${s+t}z`);return}u&&s===null&&(s=f)})}),l.join("")}function y6(e,t){return e.slice().map((l,r)=>r<t.y||r>=t.y+t.h?l:l.map((i,s)=>s<t.x||s>=t.x+t.w?i:!1))}function vD(e,t,l,r){if(r==null)return null;const i=e.length+l*2,s=Math.floor(t*bD),u=i/t,f=(r.width||s)*u,d=(r.height||s)*u,h=r.x==null?e.length/2-f/2:r.x*u,p=r.y==null?e.length/2-d/2:r.y*u,b=r.opacity==null?1:r.opacity;let v=null;if(r.excavate){let x=Math.floor(h),T=Math.floor(p),C=Math.ceil(f+h-x),N=Math.ceil(d+p-T);v={x,y:T,w:C,h:N}}const w=r.crossOrigin;return{x:h,y:p,h:d,w:f,excavation:v,opacity:b,crossOrigin:w}}function yD(e,t){return t!=null?Math.max(Math.floor(t),0):e?pD:gD}function x6({value:e,level:t,minVersion:l,includeMargin:r,marginSize:i,imageSettings:s,size:u,boostLevel:f}){let d=V.useMemo(()=>{const x=(Array.isArray(e)?e:[e]).reduce((T,C)=>(T.push(...oi.QrSegment.makeSegments(C)),T),[]);return oi.QrCode.encodeSegments(x,mD[t],l,void 0,void 0,f)},[e,t,l,f]);const{cells:h,margin:p,numCells:b,calculatedImageSettings:v}=V.useMemo(()=>{let w=d.getModules();const x=yD(r,i),T=w.length+x*2,C=vD(w,u,x,s);return{cells:w,margin:x,numCells:T,calculatedImageSettings:C}},[d,u,s,r,i]);return{qrcode:d,margin:p,cells:h,numCells:b,calculatedImageSettings:v}}var xD=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),SD=V.forwardRef(function(t,l){const r=t,{value:i,size:s=d6,level:u=h6,bgColor:f=m6,fgColor:d=p6,includeMargin:h=g6,minVersion:p=b6,boostLevel:b,marginSize:v,imageSettings:w}=r,T=Lh(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:C}=T,N=Lh(T,["style"]),M=w==null?void 0:w.src,L=V.useRef(null),k=V.useRef(null),B=V.useCallback(j=>{L.current=j,typeof l=="function"?l(j):l&&(l.current=j)},[l]),[G,$]=V.useState(!1),{margin:A,cells:U,numCells:K,calculatedImageSettings:q}=x6({value:i,level:u,minVersion:p,boostLevel:b,includeMargin:h,marginSize:v,imageSettings:w,size:s});V.useEffect(()=>{if(L.current!=null){const j=L.current,Y=j.getContext("2d");if(!Y)return;let z=U;const O=k.current,oe=q!=null&&O!==null&&O.complete&&O.naturalHeight!==0&&O.naturalWidth!==0;oe&&q.excavation!=null&&(z=y6(U,q.excavation));const J=window.devicePixelRatio||1;j.height=j.width=s*J;const _=s/K*J;Y.scale(_,_),Y.fillStyle=f,Y.fillRect(0,0,K,K),Y.fillStyle=d,xD?Y.fill(new Path2D(v6(z,A))):U.forEach(function(D,Q){D.forEach(function(se,ce){se&&Y.fillRect(ce+A,Q+A,1,1)})}),q&&(Y.globalAlpha=q.opacity),oe&&Y.drawImage(O,q.x+A,q.y+A,q.w,q.h)}}),V.useEffect(()=>{$(!1)},[M]);const te=Ah({height:s,width:s},C);let ne=null;return M!=null&&(ne=V.createElement("img",{src:M,key:M,style:{display:"none"},onLoad:()=>{$(!0)},ref:k,crossOrigin:q==null?void 0:q.crossOrigin})),V.createElement(V.Fragment,null,V.createElement("canvas",Ah({style:te,height:s,width:s,ref:B,role:"img"},N)),ne)});SD.displayName="QRCodeCanvas";var S6=V.forwardRef(function(t,l){const r=t,{value:i,size:s=d6,level:u=h6,bgColor:f=m6,fgColor:d=p6,includeMargin:h=g6,minVersion:p=b6,boostLevel:b,title:v,marginSize:w,imageSettings:x}=r,T=Lh(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:C,cells:N,numCells:M,calculatedImageSettings:L}=x6({value:i,level:u,minVersion:p,boostLevel:b,includeMargin:h,marginSize:w,imageSettings:x,size:s});let k=N,B=null;x!=null&&L!=null&&(L.excavation!=null&&(k=y6(N,L.excavation)),B=V.createElement("image",{href:x.src,height:L.h,width:L.w,x:L.x+C,y:L.y+C,preserveAspectRatio:"none",opacity:L.opacity,crossOrigin:L.crossOrigin}));const G=v6(k,C);return V.createElement("svg",Ah({height:s,width:s,viewBox:`0 0 ${M} ${M}`,ref:l,role:"img"},T),!!v&&V.createElement("title",null,v),V.createElement("path",{fill:f,d:`M0,0 h${M}v${M}H0z`,shapeRendering:"crispEdges"}),V.createElement("path",{fill:d,d:G,shapeRendering:"crispEdges"}),B)});S6.displayName="QRCodeSVG";const wD="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3crect%20width='24'%20height='24'%20rx='5'%20fill='%23fff'/%3e%3cpath%20fill='%231e80ff'%20d='m12%2014.316%207.454-5.88-2.022-1.625L12%2011.1l-.004.003-5.432-4.288-2.02%201.624%207.452%205.88Zm0-7.247%202.89-2.298L12%202.453l-.004-.005-2.884%202.318%202.884%202.3Zm0%2011.266-.005.002-9.975-7.87L0%2012.088l.194.156%2011.803%209.308%207.463-5.885L24%2012.085l-2.023-1.624Z'%20transform='translate(2.4%202.4)%20scale(.8)'%20/%3e%3c/svg%3e",ED="/assets/click-idle-6pQvdt8N.png",CD="/assets/hawking-idle-C6M3ZvDm.png",TD="/assets/yoyo-idle-DmXh5tLT.png";function Uz(e){return Number.isFinite(e)?Math.round(e).toLocaleString():"0"}function RD(e){return Number.isFinite(e)?`$${e.toFixed(2)}`:"$0.00"}function Fz(e){return Number.isFinite(e)?`${e.toFixed(1)}%`:"0.0%"}const MD="data:font/woff2;base64,d09GMgABAAAAAJ3UABQAAAABfDgAAJ1eAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoFfG4dOHIGacj9IVkFSiUwGYD9TVEFUgWInJgCFIi9qEQgKgdw4gawuC4YWADCCojABNgIkA4waBCAFiUwHowwMB1u3X3GC6aZjD165bQA/5feRJ7EK5KabcjtIaXvmyAJ27AXYOIA2Nl6c/f//eUlFjkrrJK3ZxsGPe0vJiQjkUtZVnoqpDZk2jITW1o6lySayOlsmsTuc7x7N+YLeweTE5EQKOul1EKTJpAnWK4MLsRcl7bXlKtx/uM/FDpQILw/Vx+Z727G1y+Ojue5TfpDHCTmX7myGnztttzQa90eGEX/4yR1NWGhKKEKKDNIhTUSJg27w+0IgVhWmy/s/QBMhM7ppeJsVbfMfW+mooSNQ/QePQ//wOSf52+lqLusAuwX/Y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C34iFVFwcc/ea2QbQiIqpiDz1vVIZkiMgRNTiwllJ/KW8BmBaEOsRMg6etvFhK5EAQHT9DKD9IvD0EUUa19N6bqHUij2kidvVT8gpyIRPP5I0SO4/15QjE7Rtj2JyRc6eoTu1nFJRTBMULkNYXhadCxTxbAsbfipZw4x+Sz2WQWeIsW4/u5kNyr6Dj1kD2sbvZksCnk1xjenNVOFt44/O2PZqCAaAP+/EzpqbjLJcudKJl7NTC2vc6z+t9AnlV0CKpbcNgvLoaAk0LLnjrC4ij2zYSAB77tV3EUNKokyIKvds6NlP447dqq2qix1wULQbU7Vwb/qsjaH/ZeIeD9blqqlq/7mqe/HfCo50PMQMSD95i1E9eo60CAAAA";function AD(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const l=document.implementation.createHTMLDocument(),r=l.createElement("base"),i=l.createElement("a");return l.head.appendChild(r),l.body.appendChild(i),t&&(r.href=t),i.href=e,i.href}const LD=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ga(e){const t=[];for(let l=0,r=e.length;l<r;l++)t.push(e[l]);return t}let Jr=null;function w6(e={}){return Jr||(e.includeStyleProperties?(Jr=e.includeStyleProperties,Jr):(Jr=ga(window.getComputedStyle(document.documentElement)),Jr))}function mu(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function kD(e){const t=mu(e,"border-left-width"),l=mu(e,"border-right-width");return e.clientWidth+t+l}function ND(e){const t=mu(e,"border-top-width"),l=mu(e,"border-bottom-width");return e.clientHeight+t+l}function E6(e,t={}){const l=t.width||kD(e),r=t.height||ND(e);return{width:l,height:r}}function DD(){let e,t;try{t=process}catch{}const l=t&&t.env?t.env.devicePixelRatio:null;return l&&(e=parseInt(l,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const hn=16384;function $D(e){(e.width>hn||e.height>hn)&&(e.width>hn&&e.height>hn?e.width>e.height?(e.height*=hn/e.width,e.width=hn):(e.width*=hn/e.height,e.height=hn):e.width>hn?(e.height*=hn/e.width,e.width=hn):(e.width*=hn/e.height,e.height=hn))}function zD(e,t={}){return e.toBlob?new Promise(l=>{e.toBlob(l,t.type?t.type:"image/png",t.quality?t.quality:1)}):new Promise(l=>{const r=window.atob(e.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(",")[1]),i=r.length,s=new Uint8Array(i);for(let u=0;u<i;u+=1)s[u]=r.charCodeAt(u);l(new Blob([s],{type:t.type?t.type:"image/png"}))})}function pu(e){return new Promise((t,l)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=l,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function PD(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function OD(e,t,l){const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return i.setAttribute("width",`${t}`),i.setAttribute("height",`${l}`),i.setAttribute("viewBox",`0 0 ${t} ${l}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),i.appendChild(s),s.appendChild(e),PD(i)}const nn=(e,t)=>{if(e instanceof t)return!0;const l=Object.getPrototypeOf(e);return l===null?!1:l.constructor.name===t.name||nn(l,t)};function jD(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function ID(e,t){return w6(t).map(l=>{const r=e.getPropertyValue(l),i=e.getPropertyPriority(l);return`${l}: ${r}${i?" !important":""};`}).join(" ")}function BD(e,t,l,r){const i=`.${e}:${t}`,s=l.cssText?jD(l):ID(l,r);return document.createTextNode(`${i}{${s}}`)}function ry(e,t,l,r){const i=window.getComputedStyle(e,l),s=i.getPropertyValue("content");if(s===""||s==="none")return;const u=LD();try{t.className=`${t.className} ${u}`}catch{return}const f=document.createElement("style");f.appendChild(BD(u,l,i,r)),t.appendChild(f)}function HD(e,t,l){ry(e,t,":before",l),ry(e,t,":after",l)}const iy="application/font-woff",oy="image/jpeg",KD={woff:iy,woff2:iy,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:oy,jpeg:oy,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function UD(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function E2(e){const t=UD(e).toLowerCase();return KD[t]||""}function FD(e){return e.split(/,/)[1]}function kh(e){return e.search(/^(data:)/)!==-1}function VD(e,t){return`data:${t};base64,${e}`}async function C6(e,t,l){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const i=await r.blob();return new Promise((s,u)=>{const f=new FileReader;f.onerror=u,f.onloadend=()=>{try{s(l({res:r,result:f.result}))}catch(d){u(d)}},f.readAsDataURL(i)})}const B0={};function _D(e,t,l){let r=e.replace(/\?.*/,"");return l&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function C2(e,t,l){const r=_D(e,t,l.includeQueryParams);if(B0[r]!=null)return B0[r];l.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let i;try{const s=await C6(e,l.fetchRequestInit,({res:u,result:f})=>(t||(t=u.headers.get("Content-Type")||""),FD(f)));i=VD(s,t)}catch(s){i=l.imagePlaceholder||"";let u=`Failed to fetch resource: ${e}`;s&&(u=typeof s=="string"?s:s.message),u&&console.warn(u)}return B0[r]=i,i}async function GD(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):pu(t)}async function qD(e,t){if(e.currentSrc){const s=document.createElement("canvas"),u=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,u==null||u.drawImage(e,0,0,s.width,s.height);const f=s.toDataURL();return pu(f)}const l=e.poster,r=E2(l),i=await C2(l,r,t);return pu(i)}async function YD(e,t){var l;try{if(!((l=e==null?void 0:e.contentDocument)===null||l===void 0)&&l.body)return await zu(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function XD(e,t){return nn(e,HTMLCanvasElement)?GD(e):nn(e,HTMLVideoElement)?qD(e,t):nn(e,HTMLIFrameElement)?YD(e,t):e.cloneNode(T6(e))}const WD=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",T6=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function ZD(e,t,l){var r,i;if(T6(t))return t;let s=[];return WD(e)&&e.assignedNodes?s=ga(e.assignedNodes()):nn(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=ga(e.contentDocument.body.childNodes):s=ga(((i=e.shadowRoot)!==null&&i!==void 0?i:e).childNodes),s.length===0||nn(e,HTMLVideoElement)||await s.reduce((u,f)=>u.then(()=>zu(f,l)).then(d=>{d&&t.appendChild(d)}),Promise.resolve()),t}function QD(e,t,l){const r=t.style;if(!r)return;const i=window.getComputedStyle(e);i.cssText?(r.cssText=i.cssText,r.transformOrigin=i.transformOrigin):w6(l).forEach(s=>{let u=i.getPropertyValue(s);s==="font-size"&&u.endsWith("px")&&(u=`${Math.floor(parseFloat(u.substring(0,u.length-2)))-.1}px`),nn(e,HTMLIFrameElement)&&s==="display"&&u==="inline"&&(u="block"),s==="d"&&t.getAttribute("d")&&(u=`path(${t.getAttribute("d")})`),r.setProperty(s,u,i.getPropertyPriority(s))})}function JD(e,t){nn(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),nn(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function e$(e,t){if(nn(e,HTMLSelectElement)){const r=Array.from(t.children).find(i=>e.value===i.getAttribute("value"));r&&r.setAttribute("selected","")}}function t$(e,t,l){return nn(t,Element)&&(QD(e,t,l),HD(e,t,l),JD(e,t),e$(e,t)),t}async function n$(e,t){const l=e.querySelectorAll?e.querySelectorAll("use"):[];if(l.length===0)return e;const r={};for(let s=0;s<l.length;s++){const f=l[s].getAttribute("xlink:href");if(f){const d=e.querySelector(f),h=document.querySelector(f);!d&&h&&!r[f]&&(r[f]=await zu(h,t,!0))}}const i=Object.values(r);if(i.length){const s="http://www.w3.org/1999/xhtml",u=document.createElementNS(s,"svg");u.setAttribute("xmlns",s),u.style.position="absolute",u.style.width="0",u.style.height="0",u.style.overflow="hidden",u.style.display="none";const f=document.createElementNS(s,"defs");u.appendChild(f);for(let d=0;d<i.length;d++)f.appendChild(i[d]);e.appendChild(u)}return e}async function zu(e,t,l){return!l&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>XD(r,t)).then(r=>ZD(e,r,t)).then(r=>t$(e,r,t)).then(r=>n$(r,t))}const R6=/url\((['"]?)([^'"]+?)\1\)/g,l$=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,a$=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function r$(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function i$(e){const t=[];return e.replace(R6,(l,r,i)=>(t.push(i),l)),t.filter(l=>!kh(l))}async function o$(e,t,l,r,i){try{const s=l?AD(t,l):t,u=E2(t);let f;return i||(f=await C2(s,u,r)),e.replace(r$(t),`$1${f}$3`)}catch{}return e}function s$(e,{preferredFontFormat:t}){return t?e.replace(a$,l=>{for(;;){const[r,,i]=l$.exec(l)||[];if(!i)return"";if(i===t)return`src: ${r};`}}):e}function M6(e){return e.search(R6)!==-1}async function A6(e,t,l){if(!M6(e))return e;const r=s$(e,l);return i$(r).reduce((s,u)=>s.then(f=>o$(f,u,t,l)),Promise.resolve(r))}async function ei(e,t,l){var r;const i=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(i){const s=await A6(i,null,l);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function c$(e,t){await ei("background",e,t)||await ei("background-image",e,t),await ei("mask",e,t)||await ei("-webkit-mask",e,t)||await ei("mask-image",e,t)||await ei("-webkit-mask-image",e,t)}async function u$(e,t){const l=nn(e,HTMLImageElement);if(!(l&&!kh(e.src))&&!(nn(e,SVGImageElement)&&!kh(e.href.baseVal)))return;const r=l?e.src:e.href.baseVal,i=await C2(r,E2(r),t);await new Promise((s,u)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...d)=>{try{s(t.onImageErrorHandler(...d))}catch(h){u(h)}}:u;const f=e;f.decode&&(f.decode=s),f.loading==="lazy"&&(f.loading="eager"),l?(e.srcset="",e.src=i):e.href.baseVal=i})}async function f$(e,t){const r=ga(e.childNodes).map(i=>L6(i,t));await Promise.all(r).then(()=>e)}async function L6(e,t){nn(e,Element)&&(await c$(e,t),await u$(e,t),await f$(e,t))}function d$(e,t){const{style:l}=e;t.backgroundColor&&(l.backgroundColor=t.backgroundColor),t.width&&(l.width=`${t.width}px`),t.height&&(l.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(i=>{l[i]=r[i]}),e}const sy={};async function cy(e){let t=sy[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},sy[e]=t,t}async function uy(e,t){let l=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(l.match(/url\([^)]+\)/g)||[]).map(async u=>{let f=u.replace(r,"$1");return f.startsWith("https://")||(f=new URL(f,e.url).href),C6(f,t.fetchRequestInit,({result:d})=>(l=l.replace(u,`url(${d})`),[u,d]))});return Promise.all(s).then(()=>l)}function fy(e){if(e==null)return[];const t=[],l=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(l,"");const i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const d=i.exec(r);if(d===null)break;t.push(d[0])}r=r.replace(i,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,u="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",f=new RegExp(u,"gi");for(;;){let d=s.exec(r);if(d===null){if(d=f.exec(r),d===null)break;s.lastIndex=f.lastIndex}else f.lastIndex=s.lastIndex;t.push(d[0])}return t}async function h$(e,t){const l=[],r=[];return e.forEach(i=>{if("cssRules"in i)try{ga(i.cssRules||[]).forEach((s,u)=>{if(s.type===CSSRule.IMPORT_RULE){let f=u+1;const d=s.href,h=cy(d).then(p=>uy(p,t)).then(p=>fy(p).forEach(b=>{try{i.insertRule(b,b.startsWith("@import")?f+=1:i.cssRules.length)}catch(v){console.error("Error inserting rule from remote css",{rule:b,error:v})}})).catch(p=>{console.error("Error loading remote css",p.toString())});r.push(h)}})}catch(s){const u=e.find(f=>f.href==null)||document.styleSheets[0];i.href!=null&&r.push(cy(i.href).then(f=>uy(f,t)).then(f=>fy(f).forEach(d=>{u.insertRule(d,u.cssRules.length)})).catch(f=>{console.error("Error loading remote stylesheet",f)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(i=>{if("cssRules"in i)try{ga(i.cssRules||[]).forEach(s=>{l.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${i.href}`,s)}}),l))}function m$(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>M6(t.style.getPropertyValue("src")))}async function p$(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const l=ga(e.ownerDocument.styleSheets),r=await h$(l,t);return m$(r)}function k6(e){return e.trim().replace(/["']/g,"")}function g$(e){const t=new Set;function l(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(k6(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&l(s)})}return l(e),t}async function b$(e,t){const l=await p$(e,t),r=g$(e);return(await Promise.all(l.filter(s=>r.has(k6(s.style.fontFamily))).map(s=>{const u=s.parentStyleSheet?s.parentStyleSheet.href:null;return A6(s.cssText,u,t)}))).join(`
136
+ `)}async function v$(e,t){const l=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await b$(e,t);if(l){const r=document.createElement("style"),i=document.createTextNode(l);r.appendChild(i),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function y$(e,t={}){const{width:l,height:r}=E6(e,t),i=await zu(e,t,!0);return await v$(i,t),await L6(i,t),d$(i,t),await OD(i,l,r)}async function x$(e,t={}){const{width:l,height:r}=E6(e,t),i=await y$(e,t),s=await pu(i),u=document.createElement("canvas"),f=u.getContext("2d"),d=t.pixelRatio||DD(),h=t.canvasWidth||l,p=t.canvasHeight||r;return u.width=h*d,u.height=p*d,t.skipAutoScale||$D(u),u.style.width=`${h}`,u.style.height=`${p}`,t.backgroundColor&&(f.fillStyle=t.backgroundColor,f.fillRect(0,0,u.width,u.height)),f.drawImage(s,0,0,u.width,u.height),u}async function N6(e,t={}){const l=await x$(e,t);return await zD(l)}const S$="image/png",D6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADElEQVR42mNk+M/wHwAF/gL+XqY5WQAAAABJRU5ErkJggg==",Nh=300,Dh=450,w$=1365,E$=2048,C$='system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif',T$='"JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace',$6=`
137
137
  @font-face {
138
138
  font-family: "JetBrains Mono Variable";
139
139
  src: url("${MD}") format("woff2");
140
140
  font-style: normal;
141
141
  font-weight: 100 800;
142
142
  }
143
- `;function R$(){return new Promise(e=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>e())})})}async function $6(e){await document.fonts.ready,await Promise.all(Array.from(e.querySelectorAll("img")).map(t=>t.decode().catch(()=>{}))),await R$()}function M$(e){return new Promise((t,l)=>{const r=new FileReader;r.onerror=()=>l(r.error??new Error("读取分享资源失败")),r.onload=()=>t(String(r.result)),r.readAsDataURL(e)})}async function A$(e){await $6(e);const t=await k6(e,{cacheBust:!0,canvasHeight:E$,canvasWidth:w$,fontEmbedCSS:D6,height:Dh,imagePlaceholder:N6,pixelRatio:1,width:Nh});if(!t)throw new Error("生成分享图片失败");return t}async function Vz(e){await $6(e);const t=await k6(e,{cacheBust:!0,fontEmbedCSS:D6,imagePlaceholder:N6,pixelRatio:3});if(!t)throw new Error("生成分享图片失败");return t}function L$(e){const t=URL.createObjectURL(e),l=document.createElement("a");l.download=`juejin-ai-usage-${new Date().toISOString().slice(0,10)}.png`,l.href=t,l.click(),window.requestAnimationFrame(()=>URL.revokeObjectURL(t))}async function k$(e){var l;const t=window.tud;if(t!=null&&t.copyImageToClipboard){if(!await t.copyImageToClipboard(await M$(await e)))throw new Error("复制图片到系统剪贴板失败");return}if(typeof ClipboardItem>"u"||!((l=navigator.clipboard)!=null&&l.write))throw new Error("当前环境不支持复制图片到剪贴板");await navigator.clipboard.write([new ClipboardItem({[S$]:e})])}const N$={yoyo:{name:"Yoyo",image:TD},click:{name:"Click",image:ED},hawking:{name:"Hawking",image:CD}},z6="transition-[transform,opacity] duration-[320ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none";function P6(e){return{backgroundColor:e}}function D$(e,t){if(t===2)return e===0?{offset:0,rotation:0,opacity:0,zIndex:0}:{offset:38,rotation:3,opacity:.88,zIndex:1};const l=Math.max(0,t-1);if(e>=l)return{offset:0,rotation:0,opacity:.55,zIndex:0};const r=Math.ceil(l/2),i=e<r,s=i?r-e:e-r+1;return{offset:(i?-1:1)*38*s,rotation:(i?-1:1)*3*s,opacity:Math.max(.5,.88-.16*(s-1)),zIndex:Math.max(1,r-s+1)}}function $$({className:e}){return E.jsx("svg",{"aria-hidden":"true",className:e,fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:E.jsx("path",{d:"m12 14.316 7.454-5.88-2.022-1.625L12 11.1l-.004.003-5.432-4.288-2.02 1.624 7.452 5.88Zm0-7.247 2.89-2.298L12 2.453l-.004-.005-2.884 2.318 2.884 2.3Zm0 11.266-.005.002-9.975-7.87L0 12.088l.194.156 11.803 9.308 7.463-5.885L24 12.085l-2.023-1.624Z",transform:"translate(2.4 2.4) scale(.8)"})})}function z$(){return E.jsx(x6,{bgColor:"transparent",className:"ml-auto size-12 shrink-0 self-center overflow-hidden rounded-[6px]",fgColor:"#fff",imageSettings:{excavate:!0,height:12,src:wD,width:12},level:"H",marginSize:4,size:48,title:"访问稀土掘金 AI 用量页面",value:Ix})}const fy=["M0 42 C16 40 20 23 36 27 S58 38 72 20 S98 9 120 14","M0 36 C14 29 24 34 38 23 S61 14 76 22 S101 15 120 7","M0 39 C12 34 26 36 40 30 S61 9 76 17 S99 31 120 18","M0 43 C17 42 23 25 39 29 S62 37 78 23 S105 19 120 8"];function P$({color:e,index:t}){const l=fy[t]??fy[0];return E.jsxs("svg",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 h-11 w-full",preserveAspectRatio:"none",viewBox:"0 0 120 52",children:[E.jsx("path",{d:`${l} L120 52 L0 52 Z`,fill:e,fillOpacity:"0.06"}),E.jsx("path",{d:l,fill:"none",stroke:e,strokeLinecap:"round",strokeOpacity:"0.22",strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})]})}function ti(e=0,t=0,l=1){return`translate(calc(-50% + ${e}px), -50%) rotate(${t}deg) scale(${l})`}function O$(){return document.querySelector('[data-reduce-motion="true"]')!==null||window.matchMedia("(prefers-reduced-motion: reduce)").matches}function O6({avatarUrl:e,borderRadius:t=30,cardRef:l,color:r,isHidden:i,petId:s,rangeLabel:u,summary:f,toolLabel:d,userName:h}){const p=r.toLowerCase()==="#141b1a",b=N$[s],v=(h==null?void 0:h.trim())||"掘金用户",w=v.slice(0,1).toUpperCase(),x=`${u||"全部时间"} · ${d||"全部工具"}`,T=[{label:"预估费用",value:f?RD(f.totalCostUsd):"—"},{label:"总 Token",value:f?I0(f.totalTokens):"—"},{label:"输入 Token",value:f?I0(f.inputTokens):"—"},{label:"输出 Token",value:f?I0(f.outputTokens):"—"}];return E.jsxs("article",{"aria-hidden":i||void 0,className:"relative grid h-full w-full grid-rows-[minmax(0,1fr)_auto_auto] overflow-hidden text-white",ref:l,style:{...P6(r),borderRadius:`${t}px`,fontFamily:C$},children:[E.jsxs("div",{className:"absolute left-5 top-4 flex items-center gap-1 text-[13px] font-normal leading-none text-white",children:[E.jsx($$,{className:"size-5.5"}),E.jsx("div",{className:"text-[13px]",children:"稀土掘金"})]}),E.jsx("div",{className:"flex min-h-0 pt-8",children:E.jsx("div",{className:"relative flex h-full w-full items-center justify-center overflow-hidden rounded-xl",children:E.jsxs("div",{className:"relative flex max-w-[72%] items-end justify-center",children:[E.jsx("span",{"aria-hidden":"true",className:"absolute bottom-0 left-1/2 h-4 w-20 -translate-x-1/2 rounded-[50%]",style:{background:"radial-gradient(ellipse at center, rgba(12, 18, 30, 0.3) 0%, rgba(12, 18, 30, 0.2) 42%, rgba(12, 18, 30, 0) 76%)"}}),E.jsx("img",{alt:i?"":b.name,className:"relative z-10 mb-5 max-h-30 max-w-full object-contain",src:b.image})]})})}),E.jsx("dl",{className:"grid auto-rows-fr grid-cols-2 gap-2 px-4 font-sans font-normal",children:T.map((C,N)=>{const M=p&&N===0?"#11EE8C":"#fff";return E.jsxs("div",{className:"relative isolate flex min-h-16 min-w-0 flex-col justify-between overflow-hidden rounded-xl border border-white/10 bg-white/[0.07] p-3",children:[E.jsx(P$,{color:M,index:N}),E.jsx("dt",{className:"relative z-10 truncate text-[11px] font-normal text-white/60",children:C.label}),E.jsx("dd",{className:"relative z-10 mt-2 truncate text-base font-medium tracking-tight tabular-nums",style:{color:M,fontFamily:T$},children:C.value})]},C.label)})}),E.jsxs("div",{className:"flex max-w-full items-center gap-2.5 px-4 pb-4 pt-4",children:[E.jsxs(D0,{className:"aspect-square size-9 shrink-0 overflow-hidden rounded-full",variant:"soft",children:[e?E.jsx(D0.Image,{alt:i?"":`${v}的头像`,className:"aspect-square size-full rounded-full object-cover",src:e}):null,E.jsx(D0.Fallback,{className:"aspect-square size-full rounded-full border-none bg-white/15 font-normal text-white/70",children:w})]}),E.jsxs("div",{className:"min-w-0 text-left font-normal",children:[E.jsxs("p",{className:"max-w-40 truncate pb-0.5 text-[11px] leading-4",title:v,children:["@",v]}),E.jsx("p",{className:"max-w-40 truncate text-[9px] leading-3.5 text-white/55",title:x,children:x})]}),E.jsx(z$,{})]})]})}function H0({avatarUrl:e,color:t,isHidden:l,onTransitionEnd:r,petId:i,rangeLabel:s,style:u,summary:f,toolLabel:d,userName:h}){return E.jsx("div",{"aria-hidden":l||void 0,className:`absolute left-1/2 top-1/2 h-full aspect-2/3 ${z6}`,onTransitionEnd:r,style:u,children:E.jsx(O6,{avatarUrl:e,color:t,isHidden:l,petId:i,rangeLabel:s,summary:f,toolLabel:d,userName:h})})}const Qt=[{color:"#141b1A",petId:"yoyo"},{color:"#141b1A",petId:"click"},{color:"#141b1A",petId:"hawking"},{color:"#087FFA",petId:"yoyo"},{color:"#087FFA",petId:"click"},{color:"#087FFA",petId:"hawking"}];function Ga(e){const t=(e%Qt.length+Qt.length)%Qt.length;return Qt[t]??Qt[0]}function j$({activeIndex:e,avatarUrl:t,onActiveIndexChange:l,rangeLabel:r,summary:i,toolLabel:s,userName:u}){const[f,d]=y.useState(null),h=y.useRef(null),p=(e%Qt.length+Qt.length)%Qt.length;y.useEffect(()=>{if((f==null?void 0:f.phase)==="prepare")return h.current=window.requestAnimationFrame(()=>{h.current=window.requestAnimationFrame(()=>{d(T=>T&&{...T,phase:"running"})})}),()=>{h.current!==null&&window.cancelAnimationFrame(h.current)}},[f==null?void 0:f.phase]);const b=T=>{if(f)return;const C=(p+T+Qt.length)%Qt.length;if(O$()){l(C);return}d({direction:T,fromIndex:p,phase:"prepare",toIndex:C})},v=T=>{T.propertyName!=="transform"||(f==null?void 0:f.phase)!=="running"||(l(f.toIndex),d(null))},w=(f==null?void 0:f.toIndex)??p,x=Ga(p);return E.jsx("section",{className:"flex w-full flex-col items-center gap-5 py-2","aria-label":"分享卡片选择",children:E.jsxs("div",{className:"grid w-full max-w-170 grid-cols-[2.5rem_minmax(0,1fr)_2.5rem] items-center gap-2 sm:gap-6",children:[E.jsx(mn,{"aria-label":"上一张卡片",className:"z-20 rounded-full",isDisabled:f!==null,isIconOnly:!0,onPress:()=>b(-1),variant:"tertiary",children:E.jsx(dN,{className:"size-5"})}),E.jsxs("div",{className:"relative aspect-2/3 w-full max-w-75 min-w-0 justify-self-center",children:[Qt.map((T,C)=>{const N=(C-w+Qt.length)%Qt.length,M=D$(N,Qt.length);return E.jsx("div",{"aria-hidden":"true",className:`absolute left-1/2 top-1/2 h-[92%] aspect-2/3 rounded-[28px] ${z6}`,style:{...P6(T.color),opacity:M.opacity,transform:ti(M.offset,M.rotation),zIndex:M.zIndex}},`${T.color}-${T.petId}`)}),f?E.jsxs(E.Fragment,{children:[E.jsx(H0,{avatarUrl:t,color:Ga(f.fromIndex).color,isHidden:!0,petId:Ga(f.fromIndex).petId,rangeLabel:r,style:{opacity:f.phase==="running"?0:1,transform:f.phase==="running"?ti(-f.direction*72,-f.direction*4,.96):ti(),zIndex:20},summary:i,toolLabel:s,userName:u}),E.jsx(H0,{avatarUrl:t,color:Ga(f.toIndex).color,onTransitionEnd:v,petId:Ga(f.toIndex).petId,rangeLabel:r,style:{opacity:f.phase==="running"?1:0,transform:f.phase==="running"?ti():ti(f.direction*72,f.direction*4,.96),zIndex:10},summary:i,toolLabel:s,userName:u})]}):E.jsx(H0,{avatarUrl:t,color:x.color,petId:x.petId,rangeLabel:r,style:{opacity:1,transform:ti(),zIndex:10},summary:i,toolLabel:s,userName:u})]}),E.jsx(mn,{"aria-label":"下一张卡片",className:"z-20 rounded-full",isDisabled:f!==null,isIconOnly:!0,onPress:()=>b(1),variant:"tertiary",children:E.jsx(mN,{className:"size-5"})})]})})}const I$=1e3;async function dy(e){const t=performance.now();try{return await e}finally{const l=I$-(performance.now()-t);l>0&&await new Promise(r=>{window.setTimeout(r,l)})}}const K0={download:{error:"下载失败",idle:"下载",pending:"生成中…",success:"已下载"},copy:{error:"复制失败",idle:"复制",pending:"复制中…",success:"已复制"}};function B$({avatarUrl:e,color:t,petId:l,rangeLabel:r,summary:i,toolLabel:s,userName:u}){const[f]=y.useState(()=>new Xo({maxVisibleToasts:2})),[d,h]=y.useState(null),[p,b]=y.useState(null),[v,w]=y.useState(null),x=y.useRef(null),T=y.useRef(0),C=y.useRef(null),N=y.useRef(null),M=y.useRef(null);N.current=p,y.useEffect(()=>{if(!p||!x.current||C.current===p.id)return;const A=p;C.current=A.id,A$(x.current).then(A.resolve,A.reject).finally(()=>{C.current=null,b(U=>(U==null?void 0:U.id)===A.id?null:U)})},[p]),y.useEffect(()=>()=>{var A;M.current!==null&&window.clearTimeout(M.current),(A=N.current)==null||A.reject(new Error("分享弹窗已关闭"))},[]);const L=(A,U)=>{h(null),w({action:A,state:U}),M.current!==null&&window.clearTimeout(M.current),M.current=window.setTimeout(()=>w(null),1800)},k=()=>{const A=T.current+1;return T.current=A,new Promise((U,K)=>{b({avatarUrl:e,color:t,id:A,petId:l,rangeLabel:r,reject:K,resolve:U,summary:i,toolLabel:s,userName:u})})},B=async()=>{if(!d){h("download"),w(null);try{const A=await dy(k());L$(A),L("download","success"),f.add({description:"卡片图片已保存到本地",title:"下载成功",variant:"success"})}catch(A){console.error("[share-card] download failed",A),L("download","error")}}},G=async()=>{if(!d){h("copy"),w(null);try{const A=k();await dy(k$(A)),L("copy","success"),f.add({description:"卡片图片已复制,可直接粘贴",title:"复制成功",variant:"success"})}catch(A){console.error("[share-card] clipboard write failed",A),L("copy","error")}}},$=A=>d===A?K0[A].pending:(v==null?void 0:v.action)===A?K0[A][v.state]:K0[A].idle;return E.jsxs(E.Fragment,{children:[E.jsx(g2.Provider,{placement:"top end",queue:f}),E.jsxs(mn,{isDisabled:d==="copy",isPending:d==="download",onPress:()=>void B(),variant:"primary",children:[E.jsx(HL,{className:"size-4"}),$("download")]}),E.jsxs(mn,{isDisabled:d==="download",isPending:d==="copy",onPress:()=>void G(),variant:"outline",children:[E.jsx(gN,{className:"size-4"}),$("copy")]}),p?al.createPortal(E.jsx("div",{"aria-hidden":"true",className:"pointer-events-none fixed left-[-10000px] top-0 z-[-1] overflow-hidden opacity-100",style:{height:`${Dh}px`,width:`${Nh}px`},children:E.jsx("div",{className:"relative overflow-hidden opacity-100",ref:x,style:{background:p.color,borderRadius:"6px",height:`${Dh}px`,width:`${Nh}px`},children:E.jsx(O6,{avatarUrl:p.avatarUrl,borderRadius:6,color:p.color,isHidden:!0,petId:p.petId,rangeLabel:p.rangeLabel,summary:p.summary,toolLabel:p.toolLabel,userName:p.userName})})}),document.body):null]})}function H$(){const[e,t]=y.useState(!1),[l,r]=y.useState(0),{avatarLarge:i,userName:s}=uD(),{snapshot:u}=dD();return y.useEffect(()=>{const f=()=>{t(!0)};return window.addEventListener(Th,f),()=>window.removeEventListener(Th,f)},[]),E.jsx(Be.Backdrop,{isOpen:e,onOpenChange:t,children:E.jsx(Be.Container,{scroll:"inside",size:"lg",children:E.jsxs(Be.Dialog,{"aria-label":"分享",className:"overflow-hidden sm:max-w-[760px]",children:[E.jsx(Be.CloseTrigger,{"aria-label":"关闭分享"}),E.jsx(Be.Body,{className:"px-4 pb-4 pt-8 sm:px-8",children:E.jsx(j$,{activeIndex:l,avatarUrl:i,onActiveIndexChange:r,rangeLabel:u==null?void 0:u.rangeLabel,summary:(u==null?void 0:u.summary)??null,toolLabel:u==null?void 0:u.toolLabel,userName:s})}),E.jsx(Be.Footer,{className:"justify-center",children:E.jsx(B$,{avatarUrl:i,color:Ga(l).color,petId:Ga(l).petId,rangeLabel:u==null?void 0:u.rangeLabel,summary:(u==null?void 0:u.summary)??null,toolLabel:u==null?void 0:u.toolLabel,userName:s})})]})})})}const j6=y.createContext(null);function K$({children:e,value:t}){return E.jsx(j6.Provider,{value:t,children:e})}function _z(){return y.useContext(j6)}function U$(){const[e]=y.useState(()=>new Xo({maxVisibleToasts:2})),[t,l]=y.useState(()=>"unauthenticated"),[r,i]=y.useState(null),[s,u]=y.useState(""),[f,d]=y.useState(""),h=y.useRef(!1),p=y.useCallback(async()=>{let v=null;l("loading");try{v=await Wk()}catch{v=null}return v?(_v(v.userId),i(v.originUserId),u(v.userName),d(v.avatarLarge),l("authenticated"),v):(_v(null),i(null),u(""),d(""),l("unauthenticated"),null)},[]),b=y.useCallback(async()=>!1,[p]);return y.useEffect(()=>{if(h.current)return;const{loginFromClient:v,port:w,userId:x,originUserId:T,userName:C,avatarLarge:N}=Fx();if(x){h.current=!0,(async()=>{try{await Rh({juejin:{enabled:!0,token:x,originUserId:T||void 0,userName:C||void 0,avatarLarge:N||void 0}}),Yk(),i(T||x),u(C),d(N),l("authenticated"),Lx(),e.add({title:"登录成功",variant:"success"})}catch(M){l("unauthenticated"),e.add({title:"写入失败",description:M instanceof Error?M.message:"请确认本机面板服务已启动",variant:"danger"})}})();return}{h.current=!0,l("unauthenticated");return}},[p,e]),y.useEffect(()=>{},[t,b]),{authStatus:t,userId:r,userName:s,avatarLarge:f,refreshAuth:b,toastQueue:e,ToastProvider:g2.Provider}}const hy="tud.autoJuejinLoginPrompted";function F$(){const e=Ih(),t=sw({select:k=>k.pathname}),[l,r]=y.useState(!1),[i,s]=y.useState(!1),[u,f]=y.useState(!1),[d,h]=y.useState(null),[p,b]=y.useState(!1),v=Pk(),{authStatus:w,userId:x,userName:T,avatarLarge:C,toastQueue:N,ToastProvider:M}=U$();y.useEffect(()=>{t==="/settings"&&(r(!0),e({to:"/dashboard",replace:!0}))},[t,e]),y.useEffect(()=>{const k=()=>f(window.scrollY>4);return k(),window.addEventListener("scroll",k,{passive:!0}),()=>window.removeEventListener("scroll",k)},[]),y.useEffect(()=>{Fx().userId||(async()=>{try{if((await b2()).juejin.userId||sessionStorage.getItem(hy))return;sessionStorage.setItem(hy,"1"),await Vx()}catch{}})()},[v]),y.useEffect(()=>{},[v,w]),y.useEffect(()=>{},[v,d==null?void 0:d.shouldShowGuide,e,t]);const L=y.useMemo(()=>({ready:!1,hasUserData:(d==null?void 0:d.reason)==="active",reason:(d==null?void 0:d.reason)==="uninstalled"?"uninstalled":(d==null?void 0:d.reason)==="active"?"active":"new_user"}),[w,v,d,p]);return E.jsx(cD,{authStatus:w,userId:x,userName:T,avatarLarge:C,children:E.jsx(fD,{children:E.jsx(K$,{value:L,children:E.jsxs("div",{className:"flex h-svh min-w-0 max-w-full flex-col overflow-hidden bg-background text-foreground",children:[E.jsx(M,{placement:"top end",queue:N}),E.jsx("div",{"aria-hidden":"true",className:`pointer-events-none fixed inset-x-0 top-0 z-40 h-8 transition-[background-color,backdrop-filter] duration-200 ${u?"bg-white/35 backdrop-blur-xl dark:bg-black/30":"bg-transparent"}`}),E.jsxs("div",{className:"relative min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-contain",onScroll:k=>{f(k.currentTarget.scrollTop>4)},children:[E.jsx("div",{className:sD("relative mx-auto w-full px-4 py-4 sm:px-4 sm:py-6 md:px-8",t==="/download"?"max-w-328":"max-w-240","pb-12 min-[1040px]:pb-10"),children:E.jsx("main",{className:"min-w-0 w-full",children:E.jsx(Yy,{})})}),E.jsx(aN,{hideTrigger:!0,isOpen:l,onOpenChange:r}),E.jsx($k,{hideTrigger:!0,isOpen:i,onOpenChange:s}),E.jsx(H$,{})]})]})})})})}const ur=V9({component:F$}),V$="modulepreload",_$=function(e){return"/"+e},my={},Zo=function(t,l,r){let i=Promise.resolve();if(l&&l.length>0){let u=function(h){return Promise.all(h.map(p=>Promise.resolve(p).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),d=(f==null?void 0:f.nonce)||(f==null?void 0:f.getAttribute("nonce"));i=u(l.map(h=>{if(h=_$(h),h in my)return;my[h]=!0;const p=h.endsWith(".css"),b=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${b}`))return;const v=document.createElement("link");if(v.rel=p?"stylesheet":V$,p||(v.as="script"),v.crossOrigin="",v.href=h,d&&v.setAttribute("nonce",d),document.head.appendChild(v),p)return new Promise((w,x)=>{v.addEventListener("load",w),v.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${h}`)))})}))}function s(u){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=u,window.dispatchEvent(f),!f.defaultPrevented)throw u}return i.then(u=>{for(const f of u||[])f.status==="rejected"&&s(f.reason);return t().catch(s)})},G$=()=>Zo(()=>import("./settings-B6jdyBqT.js"),[]),q$=gi("/settings")({component:_o(G$,"component")}),Y$=()=>Zo(()=>import("./rank-rho9cnvt.js"),__vite__mapDeps([0,1,2])),X$=gi("/rank")({beforeLoad:()=>{throw bu({to:"/dashboard"})},component:_o(Y$,"component")}),W$=()=>Zo(()=>import("./pricing-BG8I1tLI.js"),__vite__mapDeps([3,4,2])),Z$=gi("/pricing")({component:_o(W$,"component")}),Q$=()=>Zo(()=>import("./download-Ce2CqEkq.js"),__vite__mapDeps([5,6])),J$=gi("/download")({beforeLoad:()=>{throw bu({to:"/dashboard"})},component:_o(Q$,"component")}),ez=()=>Zo(()=>import("./dashboard-Dj9OZI8h.js"),__vite__mapDeps([7,1,2,4,6,8])),tz=gi("/dashboard")({component:_o(ez,"component")}),nz=gi("/")({beforeLoad:({location:e})=>{const t=Object.fromEntries(new URLSearchParams(e.searchStr));throw bu({to:"/dashboard",replace:!0,search:t})}}),lz=q$.update({id:"/settings",path:"/settings",getParentRoute:()=>ur}),az=X$.update({id:"/rank",path:"/rank",getParentRoute:()=>ur}),rz=Z$.update({id:"/pricing",path:"/pricing",getParentRoute:()=>ur}),iz=J$.update({id:"/download",path:"/download",getParentRoute:()=>ur}),oz=tz.update({id:"/dashboard",path:"/dashboard",getParentRoute:()=>ur}),sz=nz.update({id:"/",path:"/",getParentRoute:()=>ur}),cz={IndexRoute:sz,DashboardRoute:oz,DownloadRoute:iz,PricingRoute:rz,RankRoute:az,SettingsRoute:lz},uz=ur._addFileChildren(cz)._addFileTypes(),py=(()=>{const e="/".trim();if(!(!e||e==="/"))return e.replace(/\/+$/,"")})(),fz=aw({routeTree:uz,...py?{basepath:py}:{},defaultPreload:"intent",scrollRestoration:!0});h8.createRoot(document.getElementById("root")).render(E.jsx(y.StrictMode,{children:E.jsx(BL,{children:E.jsx(ow,{router:fz})})}));export{Fn as $,HL as A,mn as B,gN as C,kk as D,Dl as E,At as F,ut as G,Ce as H,Ru as I,qo as J,m5 as K,mt as L,Be as M,Qw as N,IM as O,Uv as P,x6 as Q,V as R,_x as S,ra as T,l2 as U,Pb as V,gz as W,Ww as X,lu as Y,Cu as Z,OM as _,wD as a,Ct as a$,pz as a0,lT as a1,sr as a2,e2 as a3,ku as a4,kM as a5,DM as a6,Mt as a7,f5 as a8,Je as a9,Kh as aA,mz as aB,NR as aC,Sz as aD,bn as aE,n5 as aF,Mz as aG,xA as aH,i5 as aI,fi as aJ,qR as aK,Ne as aL,jo as aM,W0 as aN,GR as aO,sv as aP,Sb as aQ,Z4 as aR,HR as aS,N9 as aT,t5 as aU,vi as aV,jR as aW,ya as aX,uR as aY,JR as aZ,Y4 as a_,vz as aa,NM as ab,_n as ac,dM as ad,Ez as ae,yM as af,fM as ag,r2 as ah,bM as ai,hM as aj,bi as ak,cM as al,Ie as am,nL as an,uM as ao,ll as ap,Oo as aq,et as ar,He as as,va as at,ih as au,xb as av,r3 as aw,lr as ax,Wc as ay,er as az,L$ as b,wu as b$,GT as b0,X3 as b1,qT as b2,_T as b3,FC as b4,Dz as b5,_z as b6,Tz as b7,Rz as b8,Ih as b9,ba as bA,Vn as bB,aM as bC,en as bD,Yo as bE,Y0 as bF,Zy as bG,uv as bH,Cz as bI,wz as bJ,jM as bK,cv as bL,_3 as bM,oM as bN,vT as bO,a2 as bP,yi as bQ,q4 as bR,vA as bS,C5 as bT,F4 as bU,Nl as bV,V4 as bW,pa as bX,bz as bY,Zc as bZ,oR as b_,b2 as ba,Ch as bb,Nk as bc,_L as bd,Vx as be,Nz as bf,UL as bg,Iz as bh,Lz as bi,Az as bj,al as bk,Uz as bl,CD as bm,TD as bn,ED as bo,l3 as bp,L9 as bq,Vo as br,gy as bs,o8 as bt,Fz as bu,Bz as bv,jz as bw,Oz as bx,dD as by,lM as bz,x2 as c,e4 as c0,yz as c1,t2 as c2,xz as c3,ch as c4,VT as c5,A0 as c6,wM as c7,FT as c8,EM as c9,LM as ca,kz as d,k$ as e,I0 as f,RD as g,D0 as h,Vz as i,E as j,sD as k,$z as l,Pk as m,zz as n,Pz as o,Su as p,Ob as q,y as r,jt as s,vn as t,uD as u,ve as v,$T as w,P3 as x,yn as y,Sa as z};
143
+ `;function R$(){return new Promise(e=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>e())})})}async function z6(e){await document.fonts.ready,await Promise.all(Array.from(e.querySelectorAll("img")).map(t=>t.decode().catch(()=>{}))),await R$()}function M$(e){return new Promise((t,l)=>{const r=new FileReader;r.onerror=()=>l(r.error??new Error("读取分享资源失败")),r.onload=()=>t(String(r.result)),r.readAsDataURL(e)})}async function A$(e){await z6(e);const t=await N6(e,{cacheBust:!0,canvasHeight:E$,canvasWidth:w$,fontEmbedCSS:$6,height:Dh,imagePlaceholder:D6,pixelRatio:1,width:Nh});if(!t)throw new Error("生成分享图片失败");return t}async function Vz(e){await z6(e);const t=await N6(e,{cacheBust:!0,fontEmbedCSS:$6,imagePlaceholder:D6,pixelRatio:3});if(!t)throw new Error("生成分享图片失败");return t}function L$(e){const t=URL.createObjectURL(e),l=document.createElement("a");l.download=`juejin-ai-usage-${new Date().toISOString().slice(0,10)}.png`,l.href=t,l.click(),window.requestAnimationFrame(()=>URL.revokeObjectURL(t))}async function k$(e){var l;const t=window.tud;if(t!=null&&t.copyImageToClipboard){if(!await t.copyImageToClipboard(await M$(await e)))throw new Error("复制图片到系统剪贴板失败");return}if(typeof ClipboardItem>"u"||!((l=navigator.clipboard)!=null&&l.write))throw new Error("当前环境不支持复制图片到剪贴板");await navigator.clipboard.write([new ClipboardItem({[S$]:e})])}const N$={yoyo:{name:"Yoyo",image:TD},click:{name:"Click",image:ED},hawking:{name:"Hawking",image:CD}},P6="transition-[transform,opacity] duration-[320ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none";function O6(e){return{backgroundColor:e}}function D$(e,t){if(t===2)return e===0?{offset:0,rotation:0,opacity:0,zIndex:0}:{offset:38,rotation:3,opacity:.88,zIndex:1};const l=Math.max(0,t-1);if(e>=l)return{offset:0,rotation:0,opacity:.55,zIndex:0};const r=Math.ceil(l/2),i=e<r,s=i?r-e:e-r+1;return{offset:(i?-1:1)*38*s,rotation:(i?-1:1)*3*s,opacity:Math.max(.5,.88-.16*(s-1)),zIndex:Math.max(1,r-s+1)}}function $$({className:e}){return E.jsx("svg",{"aria-hidden":"true",className:e,fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:E.jsx("path",{d:"m12 14.316 7.454-5.88-2.022-1.625L12 11.1l-.004.003-5.432-4.288-2.02 1.624 7.452 5.88Zm0-7.247 2.89-2.298L12 2.453l-.004-.005-2.884 2.318 2.884 2.3Zm0 11.266-.005.002-9.975-7.87L0 12.088l.194.156 11.803 9.308 7.463-5.885L24 12.085l-2.023-1.624Z",transform:"translate(2.4 2.4) scale(.8)"})})}function z$(){return E.jsx(S6,{bgColor:"transparent",className:"ml-auto size-12 shrink-0 self-center overflow-hidden rounded-[6px]",fgColor:"#fff",imageSettings:{excavate:!0,height:12,src:wD,width:12},level:"H",marginSize:4,size:48,title:"访问稀土掘金 AI 用量页面",value:Bx})}const dy=["M0 42 C16 40 20 23 36 27 S58 38 72 20 S98 9 120 14","M0 36 C14 29 24 34 38 23 S61 14 76 22 S101 15 120 7","M0 39 C12 34 26 36 40 30 S61 9 76 17 S99 31 120 18","M0 43 C17 42 23 25 39 29 S62 37 78 23 S105 19 120 8"];function P$({color:e,index:t}){const l=dy[t]??dy[0];return E.jsxs("svg",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 h-11 w-full",preserveAspectRatio:"none",viewBox:"0 0 120 52",children:[E.jsx("path",{d:`${l} L120 52 L0 52 Z`,fill:e,fillOpacity:"0.06"}),E.jsx("path",{d:l,fill:"none",stroke:e,strokeLinecap:"round",strokeOpacity:"0.22",strokeWidth:"1.5",vectorEffect:"non-scaling-stroke"})]})}function ti(e=0,t=0,l=1){return`translate(calc(-50% + ${e}px), -50%) rotate(${t}deg) scale(${l})`}function O$(){return document.querySelector('[data-reduce-motion="true"]')!==null||window.matchMedia("(prefers-reduced-motion: reduce)").matches}function j6({avatarUrl:e,borderRadius:t=30,cardRef:l,color:r,isHidden:i,petId:s,rangeLabel:u,summary:f,toolLabel:d,userName:h}){const p=r.toLowerCase()==="#141b1a",b=N$[s],v=(h==null?void 0:h.trim())||"掘金用户",w=v.slice(0,1).toUpperCase(),x=`${u||"全部时间"} · ${d||"全部工具"}`,T=[{label:"预估费用",value:f?RD(f.totalCostUsd):"—"},{label:"总 Token",value:f?I0(f.totalTokens):"—"},{label:"输入 Token",value:f?I0(f.inputTokens):"—"},{label:"输出 Token",value:f?I0(f.outputTokens):"—"}];return E.jsxs("article",{"aria-hidden":i||void 0,className:"relative grid h-full w-full grid-rows-[minmax(0,1fr)_auto_auto] overflow-hidden text-white",ref:l,style:{...O6(r),borderRadius:`${t}px`,fontFamily:C$},children:[E.jsxs("div",{className:"absolute left-5 top-4 flex items-center gap-1 text-[13px] font-normal leading-none text-white",children:[E.jsx($$,{className:"size-5.5"}),E.jsx("div",{className:"text-[13px]",children:"稀土掘金"})]}),E.jsx("div",{className:"flex min-h-0 pt-8",children:E.jsx("div",{className:"relative flex h-full w-full items-center justify-center overflow-hidden rounded-xl",children:E.jsxs("div",{className:"relative flex max-w-[72%] items-end justify-center",children:[E.jsx("span",{"aria-hidden":"true",className:"absolute bottom-0 left-1/2 h-4 w-20 -translate-x-1/2 rounded-[50%]",style:{background:"radial-gradient(ellipse at center, rgba(12, 18, 30, 0.3) 0%, rgba(12, 18, 30, 0.2) 42%, rgba(12, 18, 30, 0) 76%)"}}),E.jsx("img",{alt:i?"":b.name,className:"relative z-10 mb-5 max-h-30 max-w-full object-contain",src:b.image})]})})}),E.jsx("dl",{className:"grid auto-rows-fr grid-cols-2 gap-2 px-4 font-sans font-normal",children:T.map((C,N)=>{const M=p&&N===0?"#11EE8C":"#fff";return E.jsxs("div",{className:"relative isolate flex min-h-16 min-w-0 flex-col justify-between overflow-hidden rounded-xl border border-white/10 bg-white/[0.07] p-3",children:[E.jsx(P$,{color:M,index:N}),E.jsx("dt",{className:"relative z-10 truncate text-[11px] font-normal text-white/60",children:C.label}),E.jsx("dd",{className:"relative z-10 mt-2 truncate text-base font-medium tracking-tight tabular-nums",style:{color:M,fontFamily:T$},children:C.value})]},C.label)})}),E.jsxs("div",{className:"flex max-w-full items-center gap-2.5 px-4 pb-4 pt-4",children:[E.jsxs(D0,{className:"aspect-square size-9 shrink-0 overflow-hidden rounded-full",variant:"soft",children:[e?E.jsx(D0.Image,{alt:i?"":`${v}的头像`,className:"aspect-square size-full rounded-full object-cover",src:e}):null,E.jsx(D0.Fallback,{className:"aspect-square size-full rounded-full border-none bg-white/15 font-normal text-white/70",children:w})]}),E.jsxs("div",{className:"min-w-0 text-left font-normal",children:[E.jsxs("p",{className:"max-w-40 truncate pb-0.5 text-[11px] leading-4",title:v,children:["@",v]}),E.jsx("p",{className:"max-w-40 truncate text-[9px] leading-3.5 text-white/55",title:x,children:x})]}),E.jsx(z$,{})]})]})}function H0({avatarUrl:e,color:t,isHidden:l,onTransitionEnd:r,petId:i,rangeLabel:s,style:u,summary:f,toolLabel:d,userName:h}){return E.jsx("div",{"aria-hidden":l||void 0,className:`absolute left-1/2 top-1/2 h-full aspect-2/3 ${P6}`,onTransitionEnd:r,style:u,children:E.jsx(j6,{avatarUrl:e,color:t,isHidden:l,petId:i,rangeLabel:s,summary:f,toolLabel:d,userName:h})})}const Qt=[{color:"#141b1A",petId:"yoyo"},{color:"#141b1A",petId:"click"},{color:"#141b1A",petId:"hawking"},{color:"#087FFA",petId:"yoyo"},{color:"#087FFA",petId:"click"},{color:"#087FFA",petId:"hawking"}];function Ga(e){const t=(e%Qt.length+Qt.length)%Qt.length;return Qt[t]??Qt[0]}function j$({activeIndex:e,avatarUrl:t,onActiveIndexChange:l,rangeLabel:r,summary:i,toolLabel:s,userName:u}){const[f,d]=y.useState(null),h=y.useRef(null),p=(e%Qt.length+Qt.length)%Qt.length;y.useEffect(()=>{if((f==null?void 0:f.phase)==="prepare")return h.current=window.requestAnimationFrame(()=>{h.current=window.requestAnimationFrame(()=>{d(T=>T&&{...T,phase:"running"})})}),()=>{h.current!==null&&window.cancelAnimationFrame(h.current)}},[f==null?void 0:f.phase]);const b=T=>{if(f)return;const C=(p+T+Qt.length)%Qt.length;if(O$()){l(C);return}d({direction:T,fromIndex:p,phase:"prepare",toIndex:C})},v=T=>{T.propertyName!=="transform"||(f==null?void 0:f.phase)!=="running"||(l(f.toIndex),d(null))},w=(f==null?void 0:f.toIndex)??p,x=Ga(p);return E.jsx("section",{className:"flex w-full flex-col items-center gap-5 py-2","aria-label":"分享卡片选择",children:E.jsxs("div",{className:"grid w-full max-w-170 grid-cols-[2.5rem_minmax(0,1fr)_2.5rem] items-center gap-2 sm:gap-6",children:[E.jsx(mn,{"aria-label":"上一张卡片",className:"z-20 rounded-full",isDisabled:f!==null,isIconOnly:!0,onPress:()=>b(-1),variant:"tertiary",children:E.jsx(hN,{className:"size-5"})}),E.jsxs("div",{className:"relative aspect-2/3 w-full max-w-75 min-w-0 justify-self-center",children:[Qt.map((T,C)=>{const N=(C-w+Qt.length)%Qt.length,M=D$(N,Qt.length);return E.jsx("div",{"aria-hidden":"true",className:`absolute left-1/2 top-1/2 h-[92%] aspect-2/3 rounded-[28px] ${P6}`,style:{...O6(T.color),opacity:M.opacity,transform:ti(M.offset,M.rotation),zIndex:M.zIndex}},`${T.color}-${T.petId}`)}),f?E.jsxs(E.Fragment,{children:[E.jsx(H0,{avatarUrl:t,color:Ga(f.fromIndex).color,isHidden:!0,petId:Ga(f.fromIndex).petId,rangeLabel:r,style:{opacity:f.phase==="running"?0:1,transform:f.phase==="running"?ti(-f.direction*72,-f.direction*4,.96):ti(),zIndex:20},summary:i,toolLabel:s,userName:u}),E.jsx(H0,{avatarUrl:t,color:Ga(f.toIndex).color,onTransitionEnd:v,petId:Ga(f.toIndex).petId,rangeLabel:r,style:{opacity:f.phase==="running"?1:0,transform:f.phase==="running"?ti():ti(f.direction*72,f.direction*4,.96),zIndex:10},summary:i,toolLabel:s,userName:u})]}):E.jsx(H0,{avatarUrl:t,color:x.color,petId:x.petId,rangeLabel:r,style:{opacity:1,transform:ti(),zIndex:10},summary:i,toolLabel:s,userName:u})]}),E.jsx(mn,{"aria-label":"下一张卡片",className:"z-20 rounded-full",isDisabled:f!==null,isIconOnly:!0,onPress:()=>b(1),variant:"tertiary",children:E.jsx(pN,{className:"size-5"})})]})})}const I$=1e3;async function hy(e){const t=performance.now();try{return await e}finally{const l=I$-(performance.now()-t);l>0&&await new Promise(r=>{window.setTimeout(r,l)})}}const K0={download:{error:"下载失败",idle:"下载",pending:"生成中…",success:"已下载"},copy:{error:"复制失败",idle:"复制",pending:"复制中…",success:"已复制"}};function B$({avatarUrl:e,color:t,petId:l,rangeLabel:r,summary:i,toolLabel:s,userName:u}){const[f]=y.useState(()=>new Xo({maxVisibleToasts:2})),[d,h]=y.useState(null),[p,b]=y.useState(null),[v,w]=y.useState(null),x=y.useRef(null),T=y.useRef(0),C=y.useRef(null),N=y.useRef(null),M=y.useRef(null);N.current=p,y.useEffect(()=>{if(!p||!x.current||C.current===p.id)return;const A=p;C.current=A.id,A$(x.current).then(A.resolve,A.reject).finally(()=>{C.current=null,b(U=>(U==null?void 0:U.id)===A.id?null:U)})},[p]),y.useEffect(()=>()=>{var A;M.current!==null&&window.clearTimeout(M.current),(A=N.current)==null||A.reject(new Error("分享弹窗已关闭"))},[]);const L=(A,U)=>{h(null),w({action:A,state:U}),M.current!==null&&window.clearTimeout(M.current),M.current=window.setTimeout(()=>w(null),1800)},k=()=>{const A=T.current+1;return T.current=A,new Promise((U,K)=>{b({avatarUrl:e,color:t,id:A,petId:l,rangeLabel:r,reject:K,resolve:U,summary:i,toolLabel:s,userName:u})})},B=async()=>{if(!d){h("download"),w(null);try{const A=await hy(k());L$(A),L("download","success"),f.add({description:"卡片图片已保存到本地",title:"下载成功",variant:"success"})}catch(A){console.error("[share-card] download failed",A),L("download","error")}}},G=async()=>{if(!d){h("copy"),w(null);try{const A=k();await hy(k$(A)),L("copy","success"),f.add({description:"卡片图片已复制,可直接粘贴",title:"复制成功",variant:"success"})}catch(A){console.error("[share-card] clipboard write failed",A),L("copy","error")}}},$=A=>d===A?K0[A].pending:(v==null?void 0:v.action)===A?K0[A][v.state]:K0[A].idle;return E.jsxs(E.Fragment,{children:[E.jsx(g2.Provider,{placement:"top end",queue:f}),E.jsxs(mn,{isDisabled:d==="copy",isPending:d==="download",onPress:()=>void B(),variant:"primary",children:[E.jsx(KL,{className:"size-4"}),$("download")]}),E.jsxs(mn,{isDisabled:d==="download",isPending:d==="copy",onPress:()=>void G(),variant:"outline",children:[E.jsx(bN,{className:"size-4"}),$("copy")]}),p?al.createPortal(E.jsx("div",{"aria-hidden":"true",className:"pointer-events-none fixed left-[-10000px] top-0 z-[-1] overflow-hidden opacity-100",style:{height:`${Dh}px`,width:`${Nh}px`},children:E.jsx("div",{className:"relative overflow-hidden opacity-100",ref:x,style:{background:p.color,borderRadius:"6px",height:`${Dh}px`,width:`${Nh}px`},children:E.jsx(j6,{avatarUrl:p.avatarUrl,borderRadius:6,color:p.color,isHidden:!0,petId:p.petId,rangeLabel:p.rangeLabel,summary:p.summary,toolLabel:p.toolLabel,userName:p.userName})})}),document.body):null]})}function H$(){const[e,t]=y.useState(!1),[l,r]=y.useState(0),{avatarLarge:i,userName:s}=uD(),{snapshot:u}=dD();return y.useEffect(()=>{const f=()=>{t(!0)};return window.addEventListener(Th,f),()=>window.removeEventListener(Th,f)},[]),E.jsx(Be.Backdrop,{isOpen:e,onOpenChange:t,children:E.jsx(Be.Container,{scroll:"inside",size:"lg",children:E.jsxs(Be.Dialog,{"aria-label":"分享",className:"overflow-hidden sm:max-w-[760px]",children:[E.jsx(Be.CloseTrigger,{"aria-label":"关闭分享"}),E.jsx(Be.Body,{className:"px-4 pb-4 pt-8 sm:px-8",children:E.jsx(j$,{activeIndex:l,avatarUrl:i,onActiveIndexChange:r,rangeLabel:u==null?void 0:u.rangeLabel,summary:(u==null?void 0:u.summary)??null,toolLabel:u==null?void 0:u.toolLabel,userName:s})}),E.jsx(Be.Footer,{className:"justify-center",children:E.jsx(B$,{avatarUrl:i,color:Ga(l).color,petId:Ga(l).petId,rangeLabel:u==null?void 0:u.rangeLabel,summary:(u==null?void 0:u.summary)??null,toolLabel:u==null?void 0:u.toolLabel,userName:s})})]})})})}const I6=y.createContext(null);function K$({children:e,value:t}){return E.jsx(I6.Provider,{value:t,children:e})}function _z(){return y.useContext(I6)}function U$(){const[e]=y.useState(()=>new Xo({maxVisibleToasts:2})),[t,l]=y.useState(()=>"unauthenticated"),[r,i]=y.useState(null),[s,u]=y.useState(""),[f,d]=y.useState(""),h=y.useRef(!1),p=y.useCallback(async()=>{let v=null;l("loading");try{v=await Zk()}catch{v=null}return v?(_v(v.userId),i(v.originUserId),u(v.userName),d(v.avatarLarge),l("authenticated"),v):(_v(null),i(null),u(""),d(""),l("unauthenticated"),null)},[]),b=y.useCallback(async()=>!1,[p]);return y.useEffect(()=>{if(h.current)return;const{loginFromClient:v,port:w,userId:x,originUserId:T,userName:C,avatarLarge:N}=Vx();if(x){h.current=!0,(async()=>{try{await Rh({juejin:{enabled:!0,token:x,originUserId:T||void 0,userName:C||void 0,avatarLarge:N||void 0}}),Xk(),i(T||x),u(C),d(N),l("authenticated"),kx(),e.add({title:"登录成功",variant:"success"})}catch(M){l("unauthenticated"),e.add({title:"写入失败",description:M instanceof Error?M.message:"请确认本机面板服务已启动",variant:"danger"})}})();return}{h.current=!0,l("unauthenticated");return}},[p,e]),y.useEffect(()=>{},[t,b]),{authStatus:t,userId:r,userName:s,avatarLarge:f,refreshAuth:b,toastQueue:e,ToastProvider:g2.Provider}}const my="tud.autoJuejinLoginPrompted";function F$(){const e=Ih(),t=cw({select:k=>k.pathname}),[l,r]=y.useState(!1),[i,s]=y.useState(!1),[u,f]=y.useState(!1),[d,h]=y.useState(null),[p,b]=y.useState(!1),v=Ok(),{authStatus:w,userId:x,userName:T,avatarLarge:C,toastQueue:N,ToastProvider:M}=U$();y.useEffect(()=>{t==="/settings"&&(r(!0),e({to:"/dashboard",replace:!0}))},[t,e]),y.useEffect(()=>{const k=()=>f(window.scrollY>4);return k(),window.addEventListener("scroll",k,{passive:!0}),()=>window.removeEventListener("scroll",k)},[]),y.useEffect(()=>{Vx().userId||(async()=>{try{if((await b2()).juejin.userId||sessionStorage.getItem(my))return;sessionStorage.setItem(my,"1"),await _x()}catch{}})()},[v]),y.useEffect(()=>{},[v,w]),y.useEffect(()=>{},[v,d==null?void 0:d.shouldShowGuide,e,t]);const L=y.useMemo(()=>({ready:!1,hasUserData:(d==null?void 0:d.reason)==="active",reason:(d==null?void 0:d.reason)==="uninstalled"?"uninstalled":(d==null?void 0:d.reason)==="active"?"active":"new_user"}),[w,v,d,p]);return E.jsx(cD,{authStatus:w,userId:x,userName:T,avatarLarge:C,children:E.jsx(fD,{children:E.jsx(K$,{value:L,children:E.jsxs("div",{className:"flex h-svh min-w-0 max-w-full flex-col overflow-hidden bg-background text-foreground",children:[E.jsx(M,{placement:"top end",queue:N}),E.jsx("div",{"aria-hidden":"true",className:`pointer-events-none fixed inset-x-0 top-0 z-40 h-8 transition-[background-color,backdrop-filter] duration-200 ${u?"bg-white/35 backdrop-blur-xl dark:bg-black/30":"bg-transparent"}`}),E.jsxs("div",{className:ny("relative min-h-0 flex-1 overflow-x-hidden overscroll-contain",t==="/pricing"?"overflow-y-hidden":"overflow-y-auto"),onScroll:k=>{f(k.currentTarget.scrollTop>4)},children:[E.jsx("div",{className:ny("relative mx-auto w-full px-4 py-4 sm:px-4 sm:py-6 md:px-8",t==="/download"?"max-w-328":"max-w-240","pb-12 min-[1040px]:pb-10"),children:E.jsx("main",{className:"min-w-0 w-full",children:E.jsx(Xy,{})})}),E.jsx(rN,{hideTrigger:!0,isOpen:l,onOpenChange:r}),E.jsx(zk,{hideTrigger:!0,isOpen:i,onOpenChange:s}),E.jsx(H$,{})]})]})})})})}const ur=_9({component:F$}),V$="modulepreload",_$=function(e){return"/"+e},py={},Zo=function(t,l,r){let i=Promise.resolve();if(l&&l.length>0){let u=function(h){return Promise.all(h.map(p=>Promise.resolve(p).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),d=(f==null?void 0:f.nonce)||(f==null?void 0:f.getAttribute("nonce"));i=u(l.map(h=>{if(h=_$(h),h in py)return;py[h]=!0;const p=h.endsWith(".css"),b=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${b}`))return;const v=document.createElement("link");if(v.rel=p?"stylesheet":V$,p||(v.as="script"),v.crossOrigin="",v.href=h,d&&v.setAttribute("nonce",d),document.head.appendChild(v),p)return new Promise((w,x)=>{v.addEventListener("load",w),v.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${h}`)))})}))}function s(u){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=u,window.dispatchEvent(f),!f.defaultPrevented)throw u}return i.then(u=>{for(const f of u||[])f.status==="rejected"&&s(f.reason);return t().catch(s)})},G$=()=>Zo(()=>import("./settings-BRc-WOMv.js"),[]),q$=gi("/settings")({component:_o(G$,"component")}),Y$=()=>Zo(()=>import("./rank-BYr_YPZj.js"),__vite__mapDeps([0,1,2])),X$=gi("/rank")({beforeLoad:()=>{throw bu({to:"/dashboard"})},component:_o(Y$,"component")}),W$=()=>Zo(()=>import("./pricing-D-4md3s8.js"),__vite__mapDeps([3,2])),Z$=gi("/pricing")({component:_o(W$,"component")}),Q$=()=>Zo(()=>import("./download-BJbOqei8.js"),__vite__mapDeps([4,5])),J$=gi("/download")({beforeLoad:()=>{throw bu({to:"/dashboard"})},component:_o(Q$,"component")}),ez=()=>Zo(()=>import("./dashboard-BT3j8KDK.js"),__vite__mapDeps([6,1,2,5,7])),tz=gi("/dashboard")({component:_o(ez,"component")}),nz=gi("/")({beforeLoad:({location:e})=>{const t=Object.fromEntries(new URLSearchParams(e.searchStr));throw bu({to:"/dashboard",replace:!0,search:t})}}),lz=q$.update({id:"/settings",path:"/settings",getParentRoute:()=>ur}),az=X$.update({id:"/rank",path:"/rank",getParentRoute:()=>ur}),rz=Z$.update({id:"/pricing",path:"/pricing",getParentRoute:()=>ur}),iz=J$.update({id:"/download",path:"/download",getParentRoute:()=>ur}),oz=tz.update({id:"/dashboard",path:"/dashboard",getParentRoute:()=>ur}),sz=nz.update({id:"/",path:"/",getParentRoute:()=>ur}),cz={IndexRoute:sz,DashboardRoute:oz,DownloadRoute:iz,PricingRoute:rz,RankRoute:az,SettingsRoute:lz},uz=ur._addFileChildren(cz)._addFileTypes(),gy=(()=>{const e="/".trim();if(!(!e||e==="/"))return e.replace(/\/+$/,"")})(),fz=rw({routeTree:uz,...gy?{basepath:gy}:{},defaultPreload:"intent",scrollRestoration:!0});m8.createRoot(document.getElementById("root")).render(E.jsx(y.StrictMode,{children:E.jsx(HL,{children:E.jsx(sw,{router:fz})})}));export{Fn as $,KL as A,mn as B,bN as C,Nk as D,Dl as E,At as F,ut as G,Ce as H,Ru as I,qo as J,p5 as K,mt as L,Be as M,Jw as N,BM as O,Uv as P,S6 as Q,V as R,Gx as S,ra as T,l2 as U,Pb as V,gz as W,Zw as X,lu as Y,Cu as Z,jM as _,wD as a,al as a$,pz as a0,aT as a1,sr as a2,e2 as a3,ku as a4,NM as a5,$M as a6,Mt as a7,d5 as a8,Je as a9,Kh as aA,mz as aB,DR as aC,Sz as aD,bn as aE,l5 as aF,Mz as aG,SA as aH,o5 as aI,fi as aJ,YR as aK,Ne as aL,jo as aM,W0 as aN,qR as aO,sv as aP,Sb as aQ,Q4 as aR,KR as aS,D9 as aT,n5 as aU,vi as aV,IR as aW,ya as aX,fR as aY,eM as aZ,X4 as a_,vz as aa,DM as ab,_n as ac,hM as ad,Ez as ae,xM as af,dM as ag,r2 as ah,vM as ai,mM as aj,bi as ak,uM as al,Ie as am,lL as an,fM as ao,ll as ap,Oo as aq,et as ar,He as as,va as at,ih as au,xb as av,i3 as aw,lr as ax,Wc as ay,er as az,L$ as b,Cz as b$,Ow as b0,Iw as b1,Fh as b2,WR as b3,Ct as b4,GT as b5,VC as b6,pk as b7,VL as b8,lk as b9,Bz as bA,jz as bB,Oz as bC,dD as bD,yA as bE,T5 as bF,V4 as bG,Nl as bH,_4 as bI,a2 as bJ,pa as bK,bz as bL,Zc as bM,sR as bN,wu as bO,t4 as bP,yz as bQ,aM as bR,ba as bS,Vn as bT,rM as bU,en as bV,A0 as bW,Yo as bX,Y0 as bY,Qy as bZ,uv as b_,Dz as ba,_z as bb,Tz as bc,Rz as bd,t2 as be,Ih as bf,b2 as bg,Ch as bh,Dk as bi,GL as bj,_x as bk,Nz as bl,FL as bm,Iz as bn,Lz as bo,Az as bp,Uz as bq,CD as br,TD as bs,ED as bt,a3 as bu,k9 as bv,Vo as bw,by as bx,s8 as by,Fz as bz,x2 as c,wz as c0,IM as c1,cv as c2,G3 as c3,sM as c4,yT as c5,yi as c6,Y4 as c7,xz as c8,ch as c9,_T as ca,W3 as cb,EM as cc,VT as cd,CM as ce,kM as cf,kz as d,k$ as e,I0 as f,RD as g,D0 as h,Vz as i,E as j,ny as k,$z as l,Ok as m,zz as n,Pz as o,Su as p,Ob as q,y as r,jt as s,vn as t,uD as u,ve as v,zT as w,O3 as x,yn as y,Sa as z};