@juejin-opensource/jusage 0.1.7 → 0.1.8
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.
- package/dist/dashboard/assets/dashboard-BcYn7CaU.js +55 -0
- package/dist/dashboard/assets/download-CteP_gYs.js +6 -0
- package/dist/dashboard/assets/downloads-dKq4xNjC.js +1 -0
- package/dist/dashboard/assets/index-BfeJy_UY.js +1 -0
- package/dist/dashboard/assets/index-CWwN4M6h.css +1 -0
- package/dist/dashboard/assets/{index-3miiAdwH.js → index-flWmwEjH.js} +28 -28
- package/dist/dashboard/assets/model-provider-0f_aGOIG.js +1 -0
- package/dist/dashboard/assets/pricing-OObJBgJw.js +1 -0
- package/dist/dashboard/assets/rank-CuAJ5i73.js +16 -0
- package/dist/dashboard/assets/{settings-BzyD7YMM.js → settings-KbZOVhnT.js} +1 -1
- package/dist/dashboard/assets/useLocalStorage-BdF6kE3i.js +1 -0
- package/dist/dashboard/captain-wechat.jpg +0 -0
- package/dist/dashboard/index.html +2 -2
- package/package.json +3 -3
- package/dist/dashboard/assets/Check-C6Vp6SAU.js +0 -1
- package/dist/dashboard/assets/dashboard-CW-mCwMR.js +0 -55
- package/dist/dashboard/assets/download-_xhCt7jY.js +0 -1
- package/dist/dashboard/assets/downloads-63AG5C_E.js +0 -1
- package/dist/dashboard/assets/index-C1vokUY2.css +0 -1
- package/dist/dashboard/assets/index-DikHz9Xg.js +0 -1
- package/dist/dashboard/assets/pricing-Btfm94JM.js +0 -1
- package/dist/dashboard/assets/rank-LoqZH6uK.js +0 -16
- package/dist/dashboard/assets/useLocalStorage-C_Z-N_8Q.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/rank-
|
|
2
|
-
var kg=e=>{throw TypeError(e)};var Ng=(e,t,l)=>t.has(e)||kg("Cannot "+l);var Dg=(e,t,l)=>(Ng(e,t,"read from private field"),l?l.call(e):t.get(e)),$g=(e,t,l)=>t.has(e)?kg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,l),Zd=(e,t,l,r)=>(Ng(e,t,"write to private field"),r?r.call(e,l):t.set(e,l),l);function
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/rank-CuAJ5i73.js","assets/model-provider-0f_aGOIG.js","assets/index-BfeJy_UY.js","assets/downloads-dKq4xNjC.js","assets/useLocalStorage-BdF6kE3i.js","assets/pricing-OObJBgJw.js","assets/download-CteP_gYs.js","assets/dashboard-BcYn7CaU.js","assets/dashboard-QA2DxQpC.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
var kg=e=>{throw TypeError(e)};var Ng=(e,t,l)=>t.has(e)||kg("Cannot "+l);var Dg=(e,t,l)=>(Ng(e,t,"read from private field"),l?l.call(e):t.get(e)),$g=(e,t,l)=>t.has(e)?kg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,l),Zd=(e,t,l,r)=>(Ng(e,t,"write to private field"),r?r.call(e,l):t.set(e,l),l);function uS(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 xy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qd={exports:{}},po={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.js
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@ var kg=e=>{throw TypeError(e)};var Ng=(e,t,l)=>t.has(e)||kg("Cannot "+l);var Dg=
|
|
|
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 zg;function
|
|
10
|
+
*/var zg;function fS(){if(zg)return po;zg=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 Pg;function dS(){return Pg||(Pg=1,Qd.exports=fS()),Qd.exports}var C=dS(),Jd={exports:{}},Te={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react.production.js
|
|
13
13
|
*
|
|
@@ -15,7 +15,7 @@ var kg=e=>{throw TypeError(e)};var Ng=(e,t,l)=>t.has(e)||kg("Cannot "+l);var Dg=
|
|
|
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 Og;function
|
|
18
|
+
*/var Og;function hS(){if(Og)return Te;Og=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,E={};function L(D,Q,se){this.props=D,this.context=Q,this.refs=E,this.updater=se||x}L.prototype.isReactComponent={},L.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")},L.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function M(){}M.prototype=L.prototype;function N(D,Q,se){this.props=D,this.context=Q,this.refs=E,this.updater=se||x}var A=N.prototype=new M;A.constructor=N,T(A,L.prototype),A.isPureReactComponent=!0;var B=Array.isArray;function _(){}var $={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function K(D,Q,se){var ce=se.ref;return{$$typeof:e,type:D,key:Q,ref:ce!==void 0?ce:null,props:se}}function U(D,Q){return K(D.type,Q,D.props)}function q(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function ne(D){var Q={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(se){return Q[se]})}var le=/\/+/g;function j(D,Q){return typeof D=="object"&&D!==null&&D.key!=null?ne(""+D.key):Q.toString(36)}function W(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(_,_):(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(le,"$&/")+"/"),z(H,Q,se,"",function(Lt){return Lt})):H!=null&&(q(H)&&(H=U(H,se+(H.key==null||D&&D.key===H.key?"":(""+H.key).replace(le,"$&/")+"/")+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(W(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)},G={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=G,Te.Component=L,Te.Fragment=l,Te.Profiler=i,Te.PureComponent=N,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)!k.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 K(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)k.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 K(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(_,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 jg;function _o(){return jg||(jg=1,Jd.exports=hS()),Jd.exports}var y=_o();const F=xy(y),mS=uS({__proto__:null,default:F},[y]);var e0={exports:{}},go={},t0={exports:{}},n0={};/**
|
|
19
19
|
* @license React
|
|
20
20
|
* scheduler.production.js
|
|
21
21
|
*
|
|
@@ -23,7 +23,7 @@ var kg=e=>{throw TypeError(e)};var Ng=(e,t,l)=>t.has(e)||kg("Cannot "+l);var Dg=
|
|
|
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 Ig;function
|
|
26
|
+
*/var Ig;function pS(){return Ig||(Ig=1,(function(e){function t(z,O){var oe=z.length;z.push(O);e:for(;0<oe;){var J=oe-1>>>1,G=z[J];if(0<i(G,O))z[J]=O,z[oe]=G,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,G=z.length,D=G>>>1;J<D;){var Q=2*(J+1)-1,se=z[Q],ce=Q+1,H=z[ce];if(0>i(se,oe))ce<G&&0>i(H,se)?(z[J]=H,z[ce]=oe,J=ce):(z[J]=se,z[Q]=oe,J=Q);else if(ce<G&&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,E=!1,L=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function A(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,A(z),!x)if(l(d)!==null)x=!0,_||(_=!0,ne());else{var O=l(h);O!==null&&W(B,O.startTime-z)}}var _=!1,$=-1,k=5,K=-1;function U(){return E?!0:!(e.unstable_now()-K<k)}function q(){if(E=!1,_){var z=e.unstable_now();K=z;var O=!0;try{e:{x=!1,T&&(T=!1,M($),$=-1),w=!0;var oe=v;try{t:{for(A(z),b=l(d);b!==null&&!(b.expirationTime>z&&U());){var J=b.callback;if(typeof J=="function"){b.callback=null,v=b.priorityLevel;var G=J(b.expirationTime<=z);if(z=e.unstable_now(),typeof G=="function"){b.callback=G,A(z),O=!0;break t}b===l(d)&&r(d),A(z)}else r(d);b=l(d)}if(b!==null)O=!0;else{var D=l(h);D!==null&&W(B,D.startTime-z),O=!1}}break e}finally{b=null,v=oe,w=!1}O=void 0}}finally{O?ne():_=!1}}}var ne;if(typeof N=="function")ne=function(){N(q)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,j=le.port2;le.port1.onmessage=q,ne=function(){j.postMessage(null)}}else ne=function(){L(q,0)};function W(z,O){$=L(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"):k=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(){E=!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 G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=oe+G,z={id:p++,callback:O,priorityLevel:z,startTime:oe,expirationTime:G,sortIndex:-1},oe>J?(z.sortIndex=oe,t(h,z),l(d)===null&&z===l(h)&&(T?(M($),$=-1):T=!0,W(B,oe-J))):(z.sortIndex=G,t(d,z),x||w||(x=!0,_||(_=!0,ne()))),z},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(z){var O=v;return function(){var oe=v;v=O;try{return z.apply(this,arguments)}finally{v=oe}}}})(n0)),n0}var Bg;function gS(){return Bg||(Bg=1,t0.exports=pS()),t0.exports}var l0={exports:{}},Bt={};/**
|
|
27
27
|
* @license React
|
|
28
28
|
* react-dom.production.js
|
|
29
29
|
*
|
|
@@ -31,7 +31,7 @@ var kg=e=>{throw TypeError(e)};var Ng=(e,t,l)=>t.has(e)||kg("Cannot "+l);var Dg=
|
|
|
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 Hg;function
|
|
34
|
+
*/var Hg;function bS(){if(Hg)return Bt;Hg=1;var e=_o();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 Kg;function Sy(){if(Kg)return l0.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(),l0.exports=bS(),l0.exports}/**
|
|
35
35
|
* @license React
|
|
36
36
|
* react-dom-client.production.js
|
|
37
37
|
*
|
|
@@ -39,15 +39,15 @@ var kg=e=>{throw TypeError(e)};var Ng=(e,t,l)=>t.has(e)||kg("Cannot "+l);var Dg=
|
|
|
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 Ug;function
|
|
42
|
+
*/var Ug;function vS(){if(Ug)return go;Ug=1;var e=gS(),t=_o(),l=Sy();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"),E=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),N=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),U=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function ne(n){return n===null||typeof n!="object"?null:(n=q&&n[q]||n["@@iterator"],typeof n=="function"?n:null)}var le=Symbol.for("react.client.reference");function j(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===le?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case T:return"Fragment";case L:return"Profiler";case E:return"StrictMode";case B:return"Suspense";case _:return"SuspenseList";case K:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case x:return"Portal";case N:return n.displayName||"Context";case M:return(n._context.displayName||"Context")+".Consumer";case A: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 k:a=n._payload,n=n._init;try{return j(n(a))}catch{}}return null}var W=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=[],G=-1;function D(n){return{current:n}}function Q(n){0>G||(n.current=J[G],J[G]=null,G--)}function se(n,a){G++,J[G]=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)?Jp(n):0;break;default:if(n=a.tagName,a=a.namespaceURI)a=Jp(a),n=eg(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=eg(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 Ce(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 Ve(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
|
`),X=R.split(`
|
|
46
46
|
`);for(m=c=0;c<P.length&&!P[c].includes("DetermineComponentFrameRoot");)c++;for(;m<X.length&&!X[m].includes("DetermineComponentFrameRoot");)m++;if(c===P.length||m===X.length)for(c=P.length-1,m=X.length-1;1<=c&&0<=m&&P[c]!==X[m];)m--;for(;1<=c&&0<=m;c--,m--)if(P[c]!==X[m]){if(c!==1||m!==1)do if(c--,m--,0>m||P[c]!==X[m]){var te=`
|
|
47
|
-
`+P[c].replace(" at new "," at ");return n.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",n.displayName)),te}while(1<=c&&0<=m);break}}}finally{_e=!1,Error.prepareStackTrace=o}return(o=n?n.displayName||n.name:"")?
|
|
47
|
+
`+P[c].replace(" at new "," at ");return n.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",n.displayName)),te}while(1<=c&&0<=m);break}}}finally{_e=!1,Error.prepareStackTrace=o}return(o=n?n.displayName||n.name:"")?Ce(o):""}function kt(n,a){switch(n.tag){case 26:case 27:case 5:return Ce(n.type);case 16:return Ce("Lazy");case 13:return n.child!==a&&a!==null?Ce("Suspense Fallback"):Ce("Suspense");case 19:return Ce("SuspenseList");case 0:case 15:return Ve(n.type,!1);case 11:return Ve(n.type.render,!1);case 1:return Ve(n.type,!0);case 31:return Ce("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,Jo=e.unstable_shouldYield,ju=e.unstable_requestPaint,It=e.unstable_now,Ye=e.unstable_getCurrentPriorityLevel,Nt=e.unstable_ImmediatePriority,Gn=e.unstable_UserBlockingPriority,fr=e.unstable_NormalPriority,_6=e.unstable_LowPriority,$2=e.unstable_IdlePriority,G6=e.log,q6=e.unstable_setDisableYieldValue,wi=null,an=null;function $l(n){if(typeof G6=="function"&&q6(n),an&&typeof an.setStrictMode=="function")try{an.setStrictMode(wi,n)}catch{}}var rn=Math.clz32?Math.clz32:W6,Y6=Math.log,X6=Math.LN2;function W6(n){return n>>>=0,n===0?32:31-(Y6(n)/X6|0)|0}var es=256,ts=262144,ns=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 ls(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 Z6(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 z2(){var n=ns;return ns<<=1,(ns&62914560)===0&&(ns=4194304),n}function Iu(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 Q6(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,X=n.hiddenUpdates;for(o=S&~o;0<o;){var te=31-rn(o),re=1<<te;R[te]=0,P[te]=-1;var Z=X[te];if(Z!==null)for(X[te]=null,te=0;te<Z.length;te++){var ee=Z[te];ee!==null&&(ee.lane&=-536870913)}o&=~re}c!==0&&P2(n,c,0),g!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=g&~(S&~a))}function P2(n,a,o){n.pendingLanes|=a,n.suspendedLanes&=~a;var c=31-rn(a);n.entangledLanes|=a,n.entanglements[c]=n.entanglements[c]|1073741824|o&261930}function O2(n,a){var o=n.entangledLanes|=a;for(n=n.entanglements;o;){var c=31-rn(o),m=1<<c;m&a|n[c]&a&&(n[c]|=a),o&=~m}}function j2(n,a){var o=a&-a;return o=(o&42)!==0?1:Bu(o),(o&(n.suspendedLanes|a))!==0?0:o}function Bu(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 Hu(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function I2(){var n=O.p;return n!==0?n:(n=window.event,n===void 0?32:Eg(n.type))}function B2(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,Ft="__reactProps$"+zl,dr="__reactContainer$"+zl,Ku="__reactEvents$"+zl,J6="__reactListeners$"+zl,e7="__reactHandles$"+zl,H2="__reactResources$"+zl,Ti="__reactMarker$"+zl;function Uu(n){delete n[Dt],delete n[Ft],delete n[Ku],delete n[J6],delete n[e7]}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=og(n);n!==null;){if(o=n[Dt])return o;n=og(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[H2];return a||(a=n[H2]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Tt(n){n[Ti]=!0}var K2=new Set,U2={};function Ta(n,a){gr(n,a),gr(n+"Capture",a)}function gr(n,a){for(U2[n]=a,n=0;n<a.length;n++)K2.add(a[n])}var t7=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]*$"),V2={},F2={};function n7(n){return pt.call(F2,n)?!0:pt.call(V2,n)?!1:t7.test(n)?F2[n]=!0:(V2[n]=!0,!1)}function as(n,a,o){if(n7(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 rs(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 _2(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function l7(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 Vu(n){if(!n._valueTracker){var a=_2(n)?"checked":"value";n._valueTracker=l7(n,a,""+n[a])}}function G2(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var o=a.getValue(),c="";return n&&(c=_2(n)?n.checked?"true":"false":n.value),n=c,n!==o?(a.setValue(n),!0):!1}function is(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 a7=/[\n"\\]/g;function En(n){return n.replace(a7,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Fu(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?_u(n,S,wn(a)):o!=null?_u(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 q2(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)){Vu(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),Vu(n)}function _u(n,a,o){a==="number"&&is(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 Y2(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 X2(n,a,o,c){if(a==null){if(c!=null){if(o!=null)throw Error(r(92));if(W(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),Vu(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 r7=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 W2(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||r7.has(a)?a==="float"?n.cssFloat=o:n[a]=(""+o).trim():n[a]=o+"px"}function Z2(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&&W2(n,m,c)}else for(var g in a)a.hasOwnProperty(g)&&W2(n,g,a[g])}function Gu(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 i7=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"]]),o7=/^[\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 os(n){return o7.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function il(){}var qu=null;function Yu(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 Q2(n){var a=mr(n);if(a&&(n=a.stateNode)){var o=n[Ft]||null;e:switch(n=a.stateNode,a.type){case"input":if(Fu(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[Ft]||null;if(!m)throw Error(r(90));Fu(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&&G2(c)}break e;case"textarea":Y2(n,o.value,o.defaultValue);break e;case"select":a=o.value,a!=null&&br(n,!!o.multiple,a,!1)}}}var Xu=!1;function J2(n,a,o){if(Xu)return n(a,o);Xu=!0;try{var c=n(a);return c}finally{if(Xu=!1,(yr!==null||xr!==null)&&(Ys(),yr&&(a=yr,n=xr,xr=yr=null,Q2(a),n)))for(a=0;a<n.length;a++)Q2(n[a])}}function Mi(n,a){var o=n.stateNode;if(o===null)return null;var c=o[Ft]||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"),Wu=!1;if(ol)try{var Ai={};Object.defineProperty(Ai,"passive",{get:function(){Wu=!0}}),window.addEventListener("test",Ai,Ai),window.removeEventListener("test",Ai,Ai)}catch{Wu=!1}var Pl=null,Zu=null,ss=null;function em(){if(ss)return ss;var n,a=Zu,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 ss=m.slice(n,1<c?1-c:void 0)}function cs(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 us(){return!0}function tm(){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)?us:tm,this.isPropagationStopped=tm,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=us)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=us)},persist:function(){},isPersistent:us}),a}var Ra={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fs=_t(Ra),Li=b({},Ra,{view:0,detail:0}),s7=_t(Li),Qu,Ju,ki,ds=b({},Li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tf,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"?(Qu=n.screenX-ki.screenX,Ju=n.screenY-ki.screenY):Ju=Qu=0,ki=n),Qu)},movementY:function(n){return"movementY"in n?n.movementY:Ju}}),nm=_t(ds),c7=b({},ds,{dataTransfer:0}),u7=_t(c7),f7=b({},Li,{relatedTarget:0}),ef=_t(f7),d7=b({},Ra,{animationName:0,elapsedTime:0,pseudoElement:0}),h7=_t(d7),m7=b({},Ra,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),p7=_t(m7),g7=b({},Ra,{data:0}),lm=_t(g7),b7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},v7={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"},y7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function x7(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=y7[n])?!!a[n]:!1}function tf(){return x7}var S7=b({},Li,{key:function(n){if(n.key){var a=b7[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=cs(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?v7[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tf,charCode:function(n){return n.type==="keypress"?cs(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?cs(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),w7=_t(S7),E7=b({},ds,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),am=_t(E7),C7=b({},Li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tf}),T7=_t(C7),R7=b({},Ra,{propertyName:0,elapsedTime:0,pseudoElement:0}),M7=_t(R7),A7=b({},ds,{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}),L7=_t(A7),k7=b({},Ra,{newState:0,oldState:0}),N7=_t(k7),D7=[9,13,27,32],nf=ol&&"CompositionEvent"in window,Ni=null;ol&&"documentMode"in document&&(Ni=document.documentMode);var $7=ol&&"TextEvent"in window&&!Ni,rm=ol&&(!nf||Ni&&8<Ni&&11>=Ni),im=" ",om=!1;function sm(n,a){switch(n){case"keyup":return D7.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cm(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Sr=!1;function z7(n,a){switch(n){case"compositionend":return cm(a);case"keypress":return a.which!==32?null:(om=!0,im);case"textInput":return n=a.data,n===im&&om?null:n;default:return null}}function P7(n,a){if(Sr)return n==="compositionend"||!nf&&sm(n,a)?(n=em(),ss=Zu=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 rm&&a.locale!=="ko"?null:a.data;default:return null}}var O7={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 um(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!O7[n.type]:a==="textarea"}function fm(n,a,o,c){yr?xr?xr.push(c):xr=[c]:yr=c,a=tc(a,"onChange"),0<a.length&&(o=new fs("onChange","change",null,o,c),n.push({event:o,listeners:a}))}var Di=null,$i=null;function j7(n){qp(n,0)}function hs(n){var a=Ri(n);if(G2(a))return n}function dm(n,a){if(n==="change")return a}var hm=!1;if(ol){var lf;if(ol){var af="oninput"in document;if(!af){var mm=document.createElement("div");mm.setAttribute("oninput","return;"),af=typeof mm.oninput=="function"}lf=af}else lf=!1;hm=lf&&(!document.documentMode||9<document.documentMode)}function pm(){Di&&(Di.detachEvent("onpropertychange",gm),$i=Di=null)}function gm(n){if(n.propertyName==="value"&&hs($i)){var a=[];fm(a,$i,n,Yu(n)),J2(j7,a)}}function I7(n,a,o){n==="focusin"?(pm(),Di=a,$i=o,Di.attachEvent("onpropertychange",gm)):n==="focusout"&&pm()}function B7(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return hs($i)}function H7(n,a){if(n==="click")return hs(a)}function K7(n,a){if(n==="input"||n==="change")return hs(a)}function U7(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var on=typeof Object.is=="function"?Object.is:U7;function zi(n,a){if(on(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)||!on(n[m],a[m]))return!1}return!0}function bm(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function vm(n,a){var o=bm(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=bm(o)}}function ym(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?ym(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function xm(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=is(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=is(n.document)}return a}function rf(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 V7=ol&&"documentMode"in document&&11>=document.documentMode,wr=null,of=null,Pi=null,sf=!1;function Sm(n,a,o){var c=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;sf||wr==null||wr!==is(c)||(c=wr,"selectionStart"in c&&rf(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=tc(of,"onSelect"),0<c.length&&(a=new fs("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")},cf={},wm={};ol&&(wm=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(cf[n])return cf[n];if(!Er[n])return n;var a=Er[n],o;for(o in a)if(a.hasOwnProperty(o)&&o in wm)return cf[n]=a[o];return n}var Em=Aa("animationend"),Cm=Aa("animationiteration"),Tm=Aa("animationstart"),F7=Aa("transitionrun"),_7=Aa("transitionstart"),G7=Aa("transitioncancel"),Rm=Aa("transitionend"),Mm=new Map,uf="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(" ");uf.push("scrollEnd");function In(n,a){Mm.set(n,a),Ta(a,[n])}var ms=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,ff=0;function ps(){for(var n=Cr,a=ff=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&&Am(o,m,g)}}function gs(n,a,o,c){Cn[Cr++]=n,Cn[Cr++]=a,Cn[Cr++]=o,Cn[Cr++]=c,ff|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function df(n,a,o,c){return gs(n,a,o,c),bs(n)}function La(n,a){return gs(n,null,null,a),bs(n)}function Am(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-rn(o),n=g.hiddenUpdates,c=n[m],c===null?n[m]=[a]:c.push(a),a.lane=o|536870912),g):null}function bs(n){if(50<lo)throw lo=0,Sd=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 q7(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 sn(n,a,o,c){return new q7(n,a,o,c)}function hf(n){return n=n.prototype,!(!n||!n.isReactComponent)}function sl(n,a){var o=n.alternate;return o===null?(o=sn(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 Lm(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 vs(n,a,o,c,m,g){var S=0;if(c=n,typeof n=="function")hf(n)&&(S=1);else if(typeof n=="string")S=QS(n,o,ce.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case K:return n=sn(31,o,a,m),n.elementType=K,n.lanes=g,n;case T:return ka(o.children,m,g,a);case C:S=8,m|=24;break;case L:return n=sn(12,o,a,m|2),n.elementType=L,n.lanes=g,n;case B:return n=sn(13,o,a,m),n.elementType=B,n.lanes=g,n;case _:return n=sn(19,o,a,m),n.elementType=_,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case N:S=10;break e;case M:S=9;break e;case A:S=11;break e;case $:S=14;break e;case k:S=16,c=null;break e}S=29,o=Error(r(130,n===null?"null":typeof n,"")),c=null}return a=sn(S,o,a,m),a.elementType=n,a.type=c,a.lanes=g,a}function ka(n,a,o,c){return n=sn(7,n,c,a),n.lanes=o,n}function mf(n,a,o){return n=sn(6,n,null,a),n.lanes=o,n}function km(n){var a=sn(18,null,null,0);return a.stateNode=n,a}function pf(n,a,o){return a=sn(4,n.children!==null?n.children:[],n.key,a),a.lanes=o,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var Nm=new WeakMap;function Tn(n,a){if(typeof n=="object"&&n!==null){var o=Nm.get(n);return o!==void 0?o:(a={value:n,source:a,stack:Sn(a)},Nm.set(n,a),a)}return{value:n,source:a,stack:Sn(a)}}var Rr=[],Mr=0,ys=null,Oi=0,Rn=[],Mn=0,Ol=null,qn=1,Yn="";function cl(n,a){Rr[Mr++]=Oi,Rr[Mr++]=ys,ys=n,Oi=a}function Dm(n,a,o){Rn[Mn++]=qn,Rn[Mn++]=Yn,Rn[Mn++]=Ol,Ol=n;var c=qn;n=Yn;var m=32-rn(c)-1;c&=~(1<<m),o+=1;var g=32-rn(a)+m;if(30<g){var S=m-m%5;g=(c&(1<<S)-1).toString(32),c>>=S,m-=S,qn=1<<32-rn(a)+m|o<<m|c,Yn=g+n}else qn=1<<g|o<<m|c,Yn=n}function gf(n){n.return!==null&&(cl(n,1),Dm(n,1,0))}function bf(n){for(;n===ys;)ys=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 $m(n,a){Rn[Mn++]=qn,Rn[Mn++]=Yn,Rn[Mn++]=Ol,qn=a.id,Yn=a.overflow,Ol=n}var $t=null,nt=null,Ie=!1,jl=null,An=!1,vf=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)),vf}function zm(n){var a=n.stateNode,o=n.type,c=n.memoizedProps;switch(a[Dt]=n,a[Ft]=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),q2(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),X2(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||Zp(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 Pm(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(!Ie)return Pm(n),Ie=!0,!1;var a=n.tag,o;if((o=a!==3&&a!==27)&&((o=a===5)&&(o=n.type,o=!(o!=="form"&&o!=="button")||Od(n.type,n.memoizedProps)),o=!o),o&&nt&&Il(n),Pm(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));nt=ig(n)}else if(a===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));nt=ig(n)}else a===27?(a=nt,Ql(n.type)?(n=Kd,Kd=null,nt=n):nt=a):nt=$t?kn(n.stateNode.nextSibling):null;return!0}function Na(){nt=$t=null,Ie=!1}function yf(){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 xf=D(null),Da=null,ul=null;function Bl(n,a,o){se(xf,a._currentValue),a._currentValue=o}function fl(n){n._currentValue=xf.current,Q(xf)}function Sf(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 wf(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),Sf(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),Sf(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;on(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&&wf(a,n,o,c),a.flags|=262144}function xs(n){for(n=n.firstContext;n!==null;){if(!on(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 Om(Da,n)}function Ss(n,a){return Da===null&&$a(n),Om(n,a)}function Om(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 Y7=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()})}},X7=e.unstable_scheduleCallback,W7=e.unstable_NormalPriority,gt={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ef(){return{controller:new Y7,data:new Map,refCount:0}}function Ii(n){n.refCount--,n.refCount===0&&X7(W7,function(){n.controller.abort()})}var Bi=null,Cf=0,kr=0,Nr=null;function Z7(n,a){if(Bi===null){var o=Bi=[];Cf=0,kr=Md(),Nr={status:"pending",value:void 0,then:function(c){o.push(c)}}}return Cf++,a.then(jm,jm),a}function jm(){if(--Cf===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 Q7(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 Im=z.S;z.S=function(n,a){Sp=It(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&Z7(n,a),Im!==null&&Im(n,a)};var za=D(null);function Tf(){var n=za.current;return n!==null?n:Qe.pooledCache}function ws(n,a){a===null?se(za,za.current):se(za,a.pool)}function Bm(){var n=Tf();return n===null?null:{parent:gt._currentValue,pool:n}}var Dr=Error(r(460)),Rf=Error(r(474)),Es=Error(r(542)),Cs={then:function(){}};function Hm(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Km(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,Vm(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,Vm(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 Um(){if(Oa===null)throw Error(r(459));var n=Oa;return Oa=null,n}function Vm(n){if(n===Dr||n===Es)throw Error(r(483))}var $r=null,Hi=0;function Ts(n){var a=Hi;return Hi+=1,$r===null&&($r=[]),Km($r,n,a)}function Ki(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function Rs(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 Fm(n){function a(V,I){if(n){var Y=V.deletions;Y===null?(V.deletions=[I],V.flags|=16):Y.push(I)}}function o(V,I){if(!n)return null;for(;I!==null;)a(V,I),I=I.sibling;return null}function c(V){for(var I=new Map;V!==null;)V.key!==null?I.set(V.key,V):I.set(V.index,V),V=V.sibling;return I}function m(V,I){return V=sl(V,I),V.index=0,V.sibling=null,V}function g(V,I,Y){return V.index=Y,n?(Y=V.alternate,Y!==null?(Y=Y.index,Y<I?(V.flags|=67108866,I):Y):(V.flags|=67108866,I)):(V.flags|=1048576,I)}function S(V){return n&&V.alternate===null&&(V.flags|=67108866),V}function R(V,I,Y,ae){return I===null||I.tag!==6?(I=mf(Y,V.mode,ae),I.return=V,I):(I=m(I,Y),I.return=V,I)}function P(V,I,Y,ae){var Se=Y.type;return Se===T?te(V,I,Y.props.children,ae,Y.key):I!==null&&(I.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===k&&Pa(Se)===I.type)?(I=m(I,Y.props),Ki(I,Y),I.return=V,I):(I=vs(Y.type,Y.key,Y.props,null,V.mode,ae),Ki(I,Y),I.return=V,I)}function X(V,I,Y,ae){return I===null||I.tag!==4||I.stateNode.containerInfo!==Y.containerInfo||I.stateNode.implementation!==Y.implementation?(I=pf(Y,V.mode,ae),I.return=V,I):(I=m(I,Y.children||[]),I.return=V,I)}function te(V,I,Y,ae,Se){return I===null||I.tag!==7?(I=ka(Y,V.mode,ae,Se),I.return=V,I):(I=m(I,Y),I.return=V,I)}function re(V,I,Y){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return I=mf(""+I,V.mode,Y),I.return=V,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case w:return Y=vs(I.type,I.key,I.props,null,V.mode,Y),Ki(Y,I),Y.return=V,Y;case x:return I=pf(I,V.mode,Y),I.return=V,I;case k:return I=Pa(I),re(V,I,Y)}if(W(I)||ne(I))return I=ka(I,V.mode,Y,null),I.return=V,I;if(typeof I.then=="function")return re(V,Ts(I),Y);if(I.$$typeof===N)return re(V,Ss(V,I),Y);Rs(V,I)}return null}function Z(V,I,Y,ae){var Se=I!==null?I.key:null;if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Se!==null?null:R(V,I,""+Y,ae);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case w:return Y.key===Se?P(V,I,Y,ae):null;case x:return Y.key===Se?X(V,I,Y,ae):null;case k:return Y=Pa(Y),Z(V,I,Y,ae)}if(W(Y)||ne(Y))return Se!==null?null:te(V,I,Y,ae,null);if(typeof Y.then=="function")return Z(V,I,Ts(Y),ae);if(Y.$$typeof===N)return Z(V,I,Ss(V,Y),ae);Rs(V,Y)}return null}function ee(V,I,Y,ae,Se){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return V=V.get(Y)||null,R(I,V,""+ae,Se);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case w:return V=V.get(ae.key===null?Y:ae.key)||null,P(I,V,ae,Se);case x:return V=V.get(ae.key===null?Y:ae.key)||null,X(I,V,ae,Se);case k:return ae=Pa(ae),ee(V,I,Y,ae,Se)}if(W(ae)||ne(ae))return V=V.get(Y)||null,te(I,V,ae,Se,null);if(typeof ae.then=="function")return ee(V,I,Y,Ts(ae),Se);if(ae.$$typeof===N)return ee(V,I,Y,Ss(I,ae),Se);Rs(I,ae)}return null}function be(V,I,Y,ae){for(var Se=null,Ke=null,ye=I,Me=I=0,Oe=null;ye!==null&&Me<Y.length;Me++){ye.index>Me?(Oe=ye,ye=null):Oe=ye.sibling;var Ue=Z(V,ye,Y[Me],ae);if(Ue===null){ye===null&&(ye=Oe);break}n&&ye&&Ue.alternate===null&&a(V,ye),I=g(Ue,I,Me),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue,ye=Oe}if(Me===Y.length)return o(V,ye),Ie&&cl(V,Me),Se;if(ye===null){for(;Me<Y.length;Me++)ye=re(V,Y[Me],ae),ye!==null&&(I=g(ye,I,Me),Ke===null?Se=ye:Ke.sibling=ye,Ke=ye);return Ie&&cl(V,Me),Se}for(ye=c(ye);Me<Y.length;Me++)Oe=ee(ye,V,Me,Y[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(V,la)}),Ie&&cl(V,Me),Se}function we(V,I,Y,ae){if(Y==null)throw Error(r(151));for(var Se=null,Ke=null,ye=I,Me=I=0,Oe=null,Ue=Y.next();ye!==null&&!Ue.done;Me++,Ue=Y.next()){ye.index>Me?(Oe=ye,ye=null):Oe=ye.sibling;var la=Z(V,ye,Ue.value,ae);if(la===null){ye===null&&(ye=Oe);break}n&&ye&&la.alternate===null&&a(V,ye),I=g(la,I,Me),Ke===null?Se=la:Ke.sibling=la,Ke=la,ye=Oe}if(Ue.done)return o(V,ye),Ie&&cl(V,Me),Se;if(ye===null){for(;!Ue.done;Me++,Ue=Y.next())Ue=re(V,Ue.value,ae),Ue!==null&&(I=g(Ue,I,Me),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue);return Ie&&cl(V,Me),Se}for(ye=c(ye);!Ue.done;Me++,Ue=Y.next())Ue=ee(ye,V,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(c8){return a(V,c8)}),Ie&&cl(V,Me),Se}function Ze(V,I,Y,ae){if(typeof Y=="object"&&Y!==null&&Y.type===T&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case w:e:{for(var Se=Y.key;I!==null;){if(I.key===Se){if(Se=Y.type,Se===T){if(I.tag===7){o(V,I.sibling),ae=m(I,Y.props.children),ae.return=V,V=ae;break e}}else if(I.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===k&&Pa(Se)===I.type){o(V,I.sibling),ae=m(I,Y.props),Ki(ae,Y),ae.return=V,V=ae;break e}o(V,I);break}else a(V,I);I=I.sibling}Y.type===T?(ae=ka(Y.props.children,V.mode,ae,Y.key),ae.return=V,V=ae):(ae=vs(Y.type,Y.key,Y.props,null,V.mode,ae),Ki(ae,Y),ae.return=V,V=ae)}return S(V);case x:e:{for(Se=Y.key;I!==null;){if(I.key===Se)if(I.tag===4&&I.stateNode.containerInfo===Y.containerInfo&&I.stateNode.implementation===Y.implementation){o(V,I.sibling),ae=m(I,Y.children||[]),ae.return=V,V=ae;break e}else{o(V,I);break}else a(V,I);I=I.sibling}ae=pf(Y,V.mode,ae),ae.return=V,V=ae}return S(V);case k:return Y=Pa(Y),Ze(V,I,Y,ae)}if(W(Y))return be(V,I,Y,ae);if(ne(Y)){if(Se=ne(Y),typeof Se!="function")throw Error(r(150));return Y=Se.call(Y),we(V,I,Y,ae)}if(typeof Y.then=="function")return Ze(V,I,Ts(Y),ae);if(Y.$$typeof===N)return Ze(V,I,Ss(V,Y),ae);Rs(V,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Y=""+Y,I!==null&&I.tag===6?(o(V,I.sibling),ae=m(I,Y),ae.return=V,V=ae):(o(V,I),ae=mf(Y,V.mode,ae),ae.return=V,V=ae),S(V)):o(V,I)}return function(V,I,Y,ae){try{Hi=0;var Se=Ze(V,I,Y,ae);return $r=null,Se}catch(ye){if(ye===Dr||ye===Es)throw ye;var Ke=sn(29,ye,null,V.mode);return Ke.lanes=ae,Ke.return=V,Ke}finally{}}}var ja=Fm(!0),_m=Fm(!1),Hl=!1;function Mf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Af(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,(Fe&2)!==0){var m=c.pending;return m===null?a.next=a:(a.next=m.next,m.next=a),c.pending=a,a=bs(n),Am(n,null,o),a}return gs(n,c,a,o),bs(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,O2(n,o)}}function Lf(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 kf=!1;function Vi(){if(kf){var n=Nr;if(n!==null)throw n}}function Fi(n,a,o,c){kf=!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,X=P.next;P.next=null,S===null?g=X:S.next=X,S=P;var te=n.alternate;te!==null&&(te=te.updateQueue,R=te.lastBaseUpdate,R!==S&&(R===null?te.firstBaseUpdate=X:R.next=X,te.lastBaseUpdate=P))}if(g!==null){var re=m.baseState;S=0,te=X=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&&(kf=!0),te!==null&&(te=te.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},te===null?(X=te=ee,P=re):te=te.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);te===null&&(P=re),m.baseState=P,m.firstBaseUpdate=X,m.lastBaseUpdate=te,g===null&&(m.shared.lanes=0),ql|=S,n.lanes=S,n.memoizedState=re}}function Gm(n,a){if(typeof n!="function")throw Error(r(191,n));n.call(a)}function qm(n,a){var o=n.callbacks;if(o!==null)for(n.callbacks=null,n=0;n<o.length;n++)Gm(o[n],a)}var zr=D(null),Ms=D(0);function Ym(n,a){n=xl,se(Ms,n),se(zr,a),xl=n|a.baseLanes}function Nf(){se(Ms,xl),se(zr,zr.current)}function Df(){xl=Ms.current,Q(zr),Q(Ms)}var cn=D(null),Ln=null;function Vl(n){var a=n.alternate;se(ft,ft.current&1),se(cn,n),Ln===null&&(a===null||zr.current!==null||a.memoizedState!==null)&&(Ln=n)}function $f(n){se(ft,ft.current),se(cn,n),Ln===null&&(Ln=n)}function Xm(n){n.tag===22?(se(ft,ft.current),se(cn,n),Ln===null&&(Ln=n)):Fl()}function Fl(){se(ft,ft.current),se(cn,cn.current)}function un(n){Q(cn),Ln===n&&(Ln=null),Q(ft)}var ft=D(0);function As(n){for(var a=n;a!==null;){if(a.tag===13){var o=a.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||Bd(o)||Hd(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,Ls=!1,Pr=!1,Ia=!1,ks=0,_i=0,Or=null,J7=0;function ot(){throw Error(r(321))}function zf(n,a){if(a===null)return!1;for(var o=0;o<a.length&&o<n.length;o++)if(!on(n[o],a[o]))return!1;return!0}function Pf(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?D1:Wf,Ia=!1,g=o(c,m),Ia=!1,Pr&&(g=Zm(a,o,c,m)),Wm(n),g}function Wm(n){z.H=Yi;var a=Xe!==null&&Xe.next!==null;if(dl=0,bt=Xe=Re=null,Ls=!1,_i=0,Or=null,a)throw Error(r(300));n===null||vt||(n=n.dependencies,n!==null&&xs(n)&&(vt=!0))}function Zm(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=$1,g=a(o,c)}while(Pr);return g}function eS(){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 Of(){var n=ks!==0;return ks=0,n}function jf(n,a,o){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~o}function If(n){if(Ls){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}Ls=!1}dl=0,bt=Xe=Re=null,Pr=!1,_i=ks=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 Ns(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Gi(n){var a=_i;return _i+=1,Or===null&&(Or=[]),n=Km(Or,n,a),a=Re,(bt===null?a.memoizedState:bt.next)===null&&(a=a.alternate,z.H=a===null||a.memoizedState===null?D1:Wf),n}function Ds(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Gi(n);if(n.$$typeof===N)return zt(n)}throw Error(r(438,String(n)))}function Bf(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=Ns(),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]=U;return a.index++,o}function hl(n,a){return typeof a=="function"?a(n):a}function $s(n){var a=dt();return Hf(a,Xe,n)}function Hf(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,X=a,te=!1;do{var re=X.lane&-536870913;if(re!==X.lane?(Pe&re)===re:(dl&re)===re){var Z=X.revertLane;if(Z===0)P!==null&&(P=P.next={lane:0,revertLane:0,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),re===kr&&(te=!0);else if((dl&Z)===Z){X=X.next,Z===kr&&(te=!0);continue}else re={lane:0,revertLane:X.revertLane,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},P===null?(R=P=re,S=g):P=P.next=re,Re.lanes|=Z,ql|=Z;re=X.action,Ia&&o(g,re),g=X.hasEagerState?X.eagerState:o(g,re)}else Z={lane:re,revertLane:X.revertLane,gesture:X.gesture,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},P===null?(R=P=Z,S=g):P=P.next=Z,Re.lanes|=re,ql|=re;X=X.next}while(X!==null&&X!==a);if(P===null?S=g:P.next=R,!on(g,n.memoizedState)&&(vt=!0,te&&(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 Kf(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);on(g,a.memoizedState)||(vt=!0),a.memoizedState=g,a.baseQueue===null&&(a.baseState=g),o.lastRenderedState=g}return[g,c]}function Qm(n,a,o){var c=Re,m=dt(),g=Ie;if(g){if(o===void 0)throw Error(r(407));o=o()}else o=a();var S=!on((Xe||m).memoizedState,o);if(S&&(m.memoizedState=o,vt=!0),m=m.queue,Ff(t1.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},e1.bind(null,c,m,o,a),null),Qe===null)throw Error(r(349));g||(dl&127)!==0||Jm(c,a,o)}return o}function Jm(n,a,o){n.flags|=16384,n={getSnapshot:a,value:o},a=Re.updateQueue,a===null?(a=Ns(),Re.updateQueue=a,a.stores=[n]):(o=a.stores,o===null?a.stores=[n]:o.push(n))}function e1(n,a,o,c){a.value=o,a.getSnapshot=c,n1(a)&&l1(n)}function t1(n,a,o){return o(function(){n1(a)&&l1(n)})}function n1(n){var a=n.getSnapshot;n=n.value;try{var o=a();return!on(n,o)}catch{return!0}}function l1(n){var a=La(n,2);a!==null&&Wt(a,n,2)}function Uf(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 a1(n,a,o,c){return n.baseState=o,Hf(n,Xe,typeof c=="function"?c:hl)}function tS(n,a,o,c,m){if(Os(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,r1(a,g)):(g.next=o.next,a.pending=o.next=g)}}function r1(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),i1(n,a,R)}catch(X){Vf(n,a,X)}finally{g!==null&&S.types!==null&&(g.types=S.types),z.T=g}}else try{g=o(m,c),i1(n,a,g)}catch(X){Vf(n,a,X)}}function i1(n,a,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(c){o1(n,a,c)},function(c){return Vf(n,a,c)}):o1(n,a,o)}function o1(n,a,o){a.status="fulfilled",a.value=o,s1(a),n.state=o,a=n.pending,a!==null&&(o=a.next,o===a?n.pending=null:(o=o.next,a.next=o,r1(n,o)))}function Vf(n,a,o){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do a.status="rejected",a.reason=o,s1(a),a=a.next;while(a!==c)}n.action=null}function s1(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function c1(n,a){return a}function u1(n,a){if(Ie){var o=Qe.formState;if(o!==null){e:{var c=Re;if(Ie){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:c1,lastRenderedState:a},o.queue=c,o=L1.bind(null,Re,c),c.dispatch=o,c=Uf(!1),g=Xf.bind(null,Re,!1,c.queue),c=Kt(),m={state:a,dispatch:null,action:n,pending:null},c.queue=m,o=tS.bind(null,Re,m,g,o),m.dispatch=o,c.memoizedState=n,[a,o,!1]}function f1(n){var a=dt();return d1(a,Xe,n)}function d1(n,a,o){if(a=Hf(n,a,c1)[0],n=$s(hl)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var c=Gi(a)}catch(S){throw S===Dr?Es: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},nS.bind(null,m,o),null)),[c,g,n]}function nS(n,a){n.action=a}function h1(n){var a=dt(),o=Xe;if(o!==null)return d1(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=Ns(),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 m1(){return dt().memoizedState}function zs(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 Ps(n,a,o,c){var m=dt();c=c===void 0?null:c;var g=m.memoizedState.inst;Xe!==null&&c!==null&&zf(c,Xe.memoizedState.deps)?m.memoizedState=jr(a,g,o,c):(Re.flags|=n,m.memoizedState=jr(1|a,g,o,c))}function p1(n,a){zs(8390656,8,n,a)}function Ff(n,a){Ps(2048,8,n,a)}function lS(n){Re.flags|=4;var a=Re.updateQueue;if(a===null)a=Ns(),Re.updateQueue=a,a.events=[n];else{var o=a.events;o===null?a.events=[n]:o.push(n)}}function g1(n){var a=dt().memoizedState;return lS({ref:a,nextImpl:n}),function(){if((Fe&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}function b1(n,a){return Ps(4,2,n,a)}function v1(n,a){return Ps(4,4,n,a)}function y1(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 x1(n,a,o){o=o!=null?o.concat([n]):null,Ps(4,4,y1.bind(null,a,n),o)}function _f(){}function S1(n,a){var o=dt();a=a===void 0?null:a;var c=o.memoizedState;return a!==null&&zf(a,c[1])?c[0]:(o.memoizedState=[n,a],n)}function w1(n,a){var o=dt();a=a===void 0?null:a;var c=o.memoizedState;if(a!==null&&zf(a,c[1]))return c[0];if(c=n(),Ia){$l(!0);try{n()}finally{$l(!1)}}return o.memoizedState=[c,a],c}function Gf(n,a,o){return o===void 0||(dl&1073741824)!==0&&(Pe&261930)===0?n.memoizedState=a:(n.memoizedState=o,n=Ep(),Re.lanes|=n,ql|=n,o)}function E1(n,a,o,c){return on(o,a)?o:zr.current!==null?(n=Gf(n,o,c),on(n,a)||(vt=!0),n):(dl&42)===0||(dl&1073741824)!==0&&(Pe&261930)===0?(vt=!0,n.memoizedState=o):(n=Ep(),Re.lanes|=n,ql|=n,a)}function C1(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,Xf(n,!1,a,o);try{var P=m(),X=z.S;if(X!==null&&X(R,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var te=Q7(P,c);qi(n,a,te,hn(n))}else qi(n,a,c,hn(n))}catch(re){qi(n,a,{then:function(){},status:"rejected",reason:re},hn())}finally{O.p=g,S!==null&&R.types!==null&&(S.types=R.types),z.T=S}}function aS(){}function qf(n,a,o,c){if(n.tag!==5)throw Error(r(476));var m=T1(n).queue;C1(n,m,a,oe,o===null?aS:function(){return R1(n),o(c)})}function T1(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 R1(n){var a=T1(n);a.next===null&&(a=n.alternate.memoizedState),qi(n,a.next.queue,{},hn())}function Yf(){return zt(uo)}function M1(){return dt().memoizedState}function A1(){return dt().memoizedState}function rS(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var o=hn();n=Kl(o);var c=Ul(a,n,o);c!==null&&(Wt(c,a,o),Ui(c,a,o)),a={cache:Ef()},n.payload=a;return}a=a.return}}function iS(n,a,o){var c=hn();o={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Os(n)?k1(a,o):(o=df(n,a,o,c),o!==null&&(Wt(o,n,c),N1(o,a,c)))}function L1(n,a,o){var c=hn();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(Os(n))k1(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,on(R,S))return gs(n,a,m,0),Qe===null&&ps(),!1}catch{}finally{}if(o=df(n,a,m,c),o!==null)return Wt(o,n,c),N1(o,a,c),!0}return!1}function Xf(n,a,o,c){if(c={lane:2,revertLane:Md(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Os(n)){if(a)throw Error(r(479))}else a=df(n,o,c,2),a!==null&&Wt(a,n,2)}function Os(n){var a=n.alternate;return n===Re||a!==null&&a===Re}function k1(n,a){Pr=Ls=!0;var o=n.pending;o===null?a.next=a:(a.next=o.next,o.next=a),n.pending=a}function N1(n,a,o){if((o&4194048)!==0){var c=a.lanes;c&=n.pendingLanes,o|=c,a.lanes=o,O2(n,o)}}var Yi={readContext:zt,use:Ds,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 D1={readContext:zt,use:Ds,useCallback:function(n,a){return Kt().memoizedState=[n,a===void 0?null:a],n},useContext:zt,useEffect:p1,useImperativeHandle:function(n,a,o){o=o!=null?o.concat([n]):null,zs(4194308,4,y1.bind(null,a,n),o)},useLayoutEffect:function(n,a){return zs(4194308,4,n,a)},useInsertionEffect:function(n,a){zs(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=iS.bind(null,Re,n),[c.memoizedState,n]},useRef:function(n){var a=Kt();return n={current:n},a.memoizedState=n},useState:function(n){n=Uf(n);var a=n.queue,o=L1.bind(null,Re,a);return a.dispatch=o,[n.memoizedState,o]},useDebugValue:_f,useDeferredValue:function(n,a){var o=Kt();return Gf(o,n,a)},useTransition:function(){var n=Uf(!1);return n=C1.bind(null,Re,n.queue,!0,!1),Kt().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,o){var c=Re,m=Kt();if(Ie){if(o===void 0)throw Error(r(407));o=o()}else{if(o=a(),Qe===null)throw Error(r(349));(Pe&127)!==0||Jm(c,a,o)}m.memoizedState=o;var g={value:o,getSnapshot:a};return m.queue=g,p1(t1.bind(null,c,g,n),[n]),c.flags|=2048,jr(9,{destroy:void 0},e1.bind(null,c,g,o,a),null),o},useId:function(){var n=Kt(),a=Qe.identifierPrefix;if(Ie){var o=Yn,c=qn;o=(c&~(1<<32-rn(c)-1)).toString(32)+o,a="_"+a+"R_"+o,o=ks++,0<o&&(a+="H"+o.toString(32)),a+="_"}else o=J7++,a="_"+a+"r_"+o.toString(32)+"_";return n.memoizedState=a},useHostTransitionStatus:Yf,useFormState:u1,useActionState:u1,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=Xf.bind(null,Re,!0,o),o.dispatch=a,[n,a]},useMemoCache:Bf,useCacheRefresh:function(){return Kt().memoizedState=rS.bind(null,Re)},useEffectEvent:function(n){var a=Kt(),o={impl:n};return a.memoizedState=o,function(){if((Fe&2)!==0)throw Error(r(440));return o.impl.apply(void 0,arguments)}}},Wf={readContext:zt,use:Ds,useCallback:S1,useContext:zt,useEffect:Ff,useImperativeHandle:x1,useInsertionEffect:b1,useLayoutEffect:v1,useMemo:w1,useReducer:$s,useRef:m1,useState:function(){return $s(hl)},useDebugValue:_f,useDeferredValue:function(n,a){var o=dt();return E1(o,Xe.memoizedState,n,a)},useTransition:function(){var n=$s(hl)[0],a=dt().memoizedState;return[typeof n=="boolean"?n:Gi(n),a]},useSyncExternalStore:Qm,useId:M1,useHostTransitionStatus:Yf,useFormState:f1,useActionState:f1,useOptimistic:function(n,a){var o=dt();return a1(o,Xe,n,a)},useMemoCache:Bf,useCacheRefresh:A1};Wf.useEffectEvent=g1;var $1={readContext:zt,use:Ds,useCallback:S1,useContext:zt,useEffect:Ff,useImperativeHandle:x1,useInsertionEffect:b1,useLayoutEffect:v1,useMemo:w1,useReducer:Kf,useRef:m1,useState:function(){return Kf(hl)},useDebugValue:_f,useDeferredValue:function(n,a){var o=dt();return Xe===null?Gf(o,n,a):E1(o,Xe.memoizedState,n,a)},useTransition:function(){var n=Kf(hl)[0],a=dt().memoizedState;return[typeof n=="boolean"?n:Gi(n),a]},useSyncExternalStore:Qm,useId:M1,useHostTransitionStatus:Yf,useFormState:h1,useActionState:h1,useOptimistic:function(n,a){var o=dt();return Xe!==null?a1(o,Xe,n,a):(o.baseState=n,[n,o.queue.dispatch])},useMemoCache:Bf,useCacheRefresh:A1};$1.useEffectEvent=g1;function Zf(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 Qf={enqueueSetState:function(n,a,o){n=n._reactInternals;var c=hn(),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=hn(),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=hn(),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 z1(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 P1(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&&Qf.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 O1(n){ms(n)}function j1(n){console.error(n)}function I1(n){ms(n)}function js(n,a){try{var o=n.onUncaughtError;o(a.value,{componentStack:a.stack})}catch(c){setTimeout(function(){throw c})}}function B1(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 Jf(n,a,o){return o=Kl(o),o.tag=3,o.payload={element:null},o.callback=function(){js(n,a)},o}function H1(n){return n=Kl(n),n.tag=3,n}function K1(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(){B1(a,o,c)}}var S=o.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(n.callback=function(){B1(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 oS(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=cn.current,o!==null){switch(o.tag){case 31:case 13:return Ln===null?Xs():o.alternate===null&&st===0&&(st=3),o.flags&=-257,o.flags|=65536,o.lanes=m,c===Cs?o.flags|=16384:(a=o.updateQueue,a===null?o.updateQueue=new Set([c]):a.add(c),Cd(n,c,m)),!1;case 22:return o.flags|=65536,c===Cs?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)),Cd(n,c,m)),!1}throw Error(r(435,o.tag))}return Cd(n,c,m),Xs(),!1}if(Ie)return a=cn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=m,c!==vf&&(n=Error(r(422),{cause:c}),ji(Tn(n,o)))):(c!==vf&&(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=Jf(n.stateNode,c,m),Lf(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=Jf(o.stateNode,c,n),Lf(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=H1(m),K1(m,n,o,c),Lf(o,m),!1}o=o.return}while(o!==null);return!1}var ed=Error(r(461)),vt=!1;function Pt(n,a,o,c){a.child=n===null?_m(a,null,o,c):ja(a,n.child,o,c)}function U1(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=Pf(n,a,o,S,g,m),R=Of(),n!==null&&!vt?(jf(n,a,m),ml(n,a,m)):(Ie&&R&&gf(a),a.flags|=1,Pt(n,a,c,m),a.child)}function V1(n,a,o,c,m){if(n===null){var g=o.type;return typeof g=="function"&&!hf(g)&&g.defaultProps===void 0&&o.compare===null?(a.tag=15,a.type=g,F1(n,a,g,c,m)):(n=vs(o.type,null,c,a,a.mode,m),n.ref=a.ref,n.return=a,a.child=n)}if(g=n.child,!sd(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 F1(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,sd(n,m))(n.flags&131072)!==0&&(vt=!0);else return a.lanes=n.lanes,ml(n,a,m)}return td(n,a,o,c,m)}function _1(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 G1(n,a,g,o,c)}if((o&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&ws(a,g!==null?g.cachePool:null),g!==null?Ym(a,g):Nf(),Xm(a);else return c=a.lanes=536870912,G1(n,a,g!==null?g.baseLanes|o:o,o,c)}else g!==null?(ws(a,g.cachePool),Ym(a,g),Fl(),a.memoizedState=null):(n!==null&&ws(a,null),Nf(),Fl());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 G1(n,a,o,c,m){var g=Tf();return g=g===null?null:{parent:gt._currentValue,pool:g},a.memoizedState={baseLanes:o,cachePool:g},n!==null&&ws(a,null),Nf(),Xm(a),n!==null&&Lr(n,a,c,!0),a.childLanes=m,null}function Is(n,a){return a=Hs({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function q1(n,a,o){return ja(a,n.child,null,o),n=Is(a,a.pendingProps),n.flags|=2,un(a),a.memoizedState=null,n}function sS(n,a,o){var c=a.pendingProps,m=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(Ie){if(c.mode==="hidden")return n=Is(a,c),a.lanes=536870912,Xi(null,n);if($f(a),(n=nt)?(n=rg(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=km(n),o.return=a,a.child=o,$t=a,nt=null)):n=null,n===null)throw Il(a);return a.lanes=536870912,null}return Is(a,c)}var g=n.memoizedState;if(g!==null){var S=g.dehydrated;if($f(a),m)if(a.flags&256)a.flags&=-257,a=q1(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=j2(c,o),S!==0&&S!==g.retryLane))throw g.retryLane=S,La(n,S),Wt(c,n,S),ed;Xs(),a=q1(n,a,o)}else n=g.treeContext,nt=kn(S.nextSibling),$t=a,Ie=!0,jl=null,An=!1,n!==null&&$m(a,n),a=Is(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 Bs(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 td(n,a,o,c,m){return $a(a),o=Pf(n,a,o,c,void 0,m),c=Of(),n!==null&&!vt?(jf(n,a,m),ml(n,a,m)):(Ie&&c&&gf(a),a.flags|=1,Pt(n,a,o,m),a.child)}function Y1(n,a,o,c,m,g){return $a(a),a.updateQueue=null,o=Zm(a,c,o,m),Wm(n),c=Of(),n!==null&&!vt?(jf(n,a,g),ml(n,a,g)):(Ie&&c&&gf(a),a.flags|=1,Pt(n,a,o,g),a.child)}function X1(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=Qf,a.stateNode=g,g._reactInternals=a,g=a.stateNode,g.props=c,g.state=a.memoizedState,g.refs={},Mf(a),S=o.contextType,g.context=typeof S=="object"&&S!==null?zt(S):Tr,g.state=a.memoizedState,S=o.getDerivedStateFromProps,typeof S=="function"&&(Zf(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&&Qf.enqueueReplaceState(g,g.state,null),Fi(a,c,g,m),Vi(),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 X=g.context,te=o.contextType;S=Tr,typeof te=="object"&&te!==null&&(S=zt(te));var re=o.getDerivedStateFromProps;te=typeof re=="function"||typeof g.getSnapshotBeforeUpdate=="function",R=a.pendingProps!==R,te||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(R||X!==S)&&P1(a,g,c,S),Hl=!1;var Z=a.memoizedState;g.state=Z,Fi(a,c,g,m),Vi(),X=a.memoizedState,R||Z!==X||Hl?(typeof re=="function"&&(Zf(a,o,re,c),X=a.memoizedState),(P=Hl||z1(a,o,P,c,Z,X,S))?(te||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=X),g.props=c,g.state=X,g.context=S,c=P):(typeof g.componentDidMount=="function"&&(a.flags|=4194308),c=!1)}else{g=a.stateNode,Af(n,a),S=a.memoizedProps,te=Ba(o,S),g.props=te,re=a.pendingProps,Z=g.context,X=o.contextType,P=Tr,typeof X=="object"&&X!==null&&(P=zt(X)),R=o.getDerivedStateFromProps,(X=typeof R=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(S!==re||Z!==P)&&P1(a,g,c,P),Hl=!1,Z=a.memoizedState,g.state=Z,Fi(a,c,g,m),Vi();var ee=a.memoizedState;S!==re||Z!==ee||Hl||n!==null&&n.dependencies!==null&&xs(n.dependencies)?(typeof R=="function"&&(Zf(a,o,R,c),ee=a.memoizedState),(te=Hl||z1(a,o,te,c,Z,ee,P)||n!==null&&n.dependencies!==null&&xs(n.dependencies))?(X||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=te):(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,Bs(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 W1(n,a,o,c){return Na(),a.flags|=256,Pt(n,a,o,c),a.child}var nd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ld(n){return{baseLanes:n,cachePool:Bm()}}function ad(n,a,o){return n=n!==null?n.childLanes&~o:0,a&&(n|=dn),n}function Z1(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(Ie){if(m?Vl(a):Fl(),(n=nt)?(n=rg(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=km(n),o.return=a,a.child=o,$t=a,nt=null)):n=null,n===null)throw Il(a);return Hd(n)?a.lanes=32:a.lanes=536870912,null}var R=c.children;return c=c.fallback,m?(Fl(),m=a.mode,R=Hs({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=ld(o),c.childLanes=ad(n,S,o),a.memoizedState=nd,Xi(null,c)):(Vl(a),rd(a,R))}var P=n.memoizedState;if(P!==null&&(R=P.dehydrated,R!==null)){if(g)a.flags&256?(Vl(a),a.flags&=-257,a=id(n,a,o)):a.memoizedState!==null?(Fl(),a.child=n.child,a.flags|=128,a=null):(Fl(),R=c.fallback,m=a.mode,c=Hs({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=ld(o),c.childLanes=ad(n,S,o),a.memoizedState=nd,a=Xi(null,c));else if(Vl(a),Hd(R)){if(S=R.nextSibling&&R.nextSibling.dataset,S)var X=S.dgst;S=X,c=Error(r(419)),c.stack="",c.digest=S,ji({value:c,source:null,stack:null}),a=id(n,a,o)}else if(vt||Lr(n,a,o,!1),S=(o&n.childLanes)!==0,vt||S){if(S=Qe,S!==null&&(c=j2(S,o),c!==0&&c!==P.retryLane))throw P.retryLane=c,La(n,c),Wt(S,n,c),ed;Bd(R)||Xs(),a=id(n,a,o)}else Bd(R)?(a.flags|=192,a.child=n.child,a=null):(n=P.treeContext,nt=kn(R.nextSibling),$t=a,Ie=!0,jl=null,An=!1,n!==null&&$m(a,n),a=rd(a,c.children),a.flags|=4096);return a}return m?(Fl(),R=c.fallback,m=a.mode,P=n.child,X=P.sibling,c=sl(P,{mode:"hidden",children:c.children}),c.subtreeFlags=P.subtreeFlags&65011712,X!==null?R=sl(X,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=ld(o):(m=R.cachePool,m!==null?(P=gt._currentValue,m=m.parent!==P?{parent:P,pool:P}:m):m=Bm(),R={baseLanes:R.baseLanes|o,cachePool:m}),c.memoizedState=R,c.childLanes=ad(n,S,o),a.memoizedState=nd,Xi(n.child,c)):(Vl(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 rd(n,a){return a=Hs({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function Hs(n,a){return n=sn(22,n,null,a),n.lanes=0,n}function id(n,a,o){return ja(a,n.child,null,o),n=rd(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Q1(n,a,o){n.lanes|=a;var c=n.alternate;c!==null&&(c.lanes|=a),Sf(n.return,a,o)}function od(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 J1(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=Ie?Oi:0,!R&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Q1(n,o,a);else if(n.tag===19)Q1(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&&As(n)===null&&(m=o),o=o.sibling;o=m,o===null?(m=a.child,a.child=null):(m=o.sibling,o.sibling=null),od(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&&As(n)===null){a.child=m;break}n=m.sibling,m.sibling=o,o=m,m=n}od(a,!0,o,null,g,c);break;case"together":od(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 sd(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&xs(n)))}function cS(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,$f(a),null;break;case 13:var c=a.memoizedState;if(c!==null)return c.dehydrated!==null?(Vl(a),a.flags|=128,null):(o&a.child.childLanes)!==0?Z1(n,a,o):(Vl(a),n=ml(n,a,o),n!==null?n.sibling:null);Vl(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 J1(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,_1(n,a,o,a.pendingProps);case 24:Bl(a,gt,n.memoizedState.cache)}return ml(n,a,o)}function ep(n,a,o){if(n!==null)if(n.memoizedProps!==a.pendingProps)vt=!0;else{if(!sd(n,o)&&(a.flags&128)===0)return vt=!1,cS(n,a,o);vt=(n.flags&131072)!==0}else vt=!1,Ie&&(a.flags&1048576)!==0&&Dm(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")hf(n)?(c=Ba(n,c),a.tag=1,a=X1(null,a,n,c,o)):(a.tag=0,a=td(null,a,n,c,o));else{if(n!=null){var m=n.$$typeof;if(m===A){a.tag=11,a=U1(null,a,n,c,o);break e}else if(m===$){a.tag=14,a=V1(null,a,n,c,o);break e}}throw a=j(n)||n,Error(r(306,a,""))}}return a;case 0:return td(n,a,a.type,a.pendingProps,o);case 1:return c=a.type,m=Ba(c,a.pendingProps),X1(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,Af(n,a),Fi(a,c,null,o);var S=a.memoizedState;if(c=S.cache,Bl(a,gt,c),c!==g.cache&&wf(a,[gt],o,!0),Vi(),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=W1(n,a,c,o);break e}else if(c!==m){m=Tn(Error(r(424)),a),ji(m),a=W1(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,Ie=!0,jl=null,An=!0,o=_m(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 Bs(n,a),n===null?(o=fg(a.type,null,a.pendingProps,null))?a.memoizedState=o:Ie||(o=a.type,n=a.pendingProps,c=nc(ie.current).createElement(o),c[Dt]=a,c[Ft]=n,Ot(c,o,n),Tt(c),a.stateNode=c):a.memoizedState=fg(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return Lt(a),n===null&&Ie&&(c=a.stateNode=sg(a.type,a.pendingProps,ie.current),$t=a,An=!0,m=nt,Ql(a.type)?(Kd=m,nt=kn(c.firstChild)):nt=m),Pt(n,a,a.pendingProps.children,o),Bs(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&Ie&&((m=c=nt)&&(c=BS(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,Od(m,g)?c=null:S!==null&&Od(m,S)&&(a.flags|=32),a.memoizedState!==null&&(m=Pf(n,a,eS,null,null,o),uo._currentValue=m),Bs(n,a),Pt(n,a,c,o),a.child;case 6:return n===null&&Ie&&((n=o=nt)&&(o=HS(o,a.pendingProps,An),o!==null?(a.stateNode=o,$t=a,nt=null,n=!0):n=!1),n||Il(a)),null;case 13:return Z1(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 U1(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 V1(n,a,a.type,a.pendingProps,o);case 15:return F1(n,a,a.type,a.pendingProps,o);case 19:return J1(n,a,o);case 31:return sS(n,a,o);case 22:return _1(n,a,o,a.pendingProps);case 24:return $a(a),c=zt(gt),n===null?(m=Tf(),m===null&&(m=Qe,g=Ef(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=o),m=g),a.memoizedState={parent:c,cache:m},Mf(a),Bl(a,gt,m)):((n.lanes&o)!==0&&(Af(n,a),Fi(a,null,null,o),Vi()),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&&wf(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 cd(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(Mp())n.flags|=8192;else throw Oa=Cs,Rf}else n.flags&=-16777217}function tp(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!gg(a))if(Mp())n.flags|=8192;else throw Oa=Cs,Rf}function Ks(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?z2():536870912,n.lanes|=a,Kr|=a)}function Wi(n,a){if(!Ie)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 uS(n,a,o){var c=a.pendingProps;switch(bf(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,yf())),lt(a),null;case 26:var m=a.type,g=a.memoizedState;return n===null?(pl(a),g!==null?(lt(a),tp(a,g)):(lt(a),cd(a,m,null,c,o))):g?g!==n.memoizedState?(pl(a),lt(a),tp(a,g)):(lt(a),a.flags&=-16777217):(n=n.memoizedProps,n!==c&&pl(a),lt(a),cd(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)?zm(a):(n=sg(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))zm(a);else{var S=nc(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[Ft]=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),cd(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||Zp(n.nodeValue,o)),n||Il(a,!0)}else n=nc(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=yf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=o),n=!0;if(!n)return a.flags&256?(un(a),a):(un(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=yf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return a.flags&256?(un(a),a):(un(a),null)}return un(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),Ks(a,a.updateQueue),lt(a),null);case 4:return de(),n===null&&Nd(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=As(n),g!==null){for(a.flags|=128,Wi(c,!1),n=g.updateQueue,a.updateQueue=n,Ks(a,n),a.subtreeFlags=0,n=o,o=a.child;o!==null;)Lm(o,n),o=o.sibling;return se(ft,ft.current&1|2),Ie&&cl(a,c.treeForkCount),a.child}n=n.sibling}c.tail!==null&&It()>Gs&&(a.flags|=128,m=!0,Wi(c,!1),a.lanes=4194304)}else{if(!m)if(n=As(g),n!==null){if(a.flags|=128,m=!0,n=n.updateQueue,a.updateQueue=n,Ks(a,n),Wi(c,!0),c.tail===null&&c.tailMode==="hidden"&&!g.alternate&&!Ie)return lt(a),null}else 2*It()-c.renderingStartTime>Gs&&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),Ie&&cl(a,c.treeForkCount),n):(lt(a),null);case 22:case 23:return un(a),Df(),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&&Ks(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 fS(n,a){switch(bf(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(un(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(un(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 un(a),Df(),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 np(n,a){switch(bf(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&&un(a);break;case 13:un(a);break;case 19:Q(ft);break;case 10:fl(a.type);break;case 22:case 23:un(a),Df(),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,X=R;try{X()}catch(te){qe(m,P,te)}}}c=c.next}while(c!==g)}}catch(te){qe(a,a.return,te)}}function lp(n){var a=n.updateQueue;if(a!==null){var o=n.stateNode;try{qm(a,o)}catch(c){qe(n,n.return,c)}}}function ap(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 rp(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 ud(n,a,o){try{var c=n.stateNode;$S(c,n.type,o,a),c[Ft]=a}catch(m){qe(n,n.return,m)}}function ip(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ql(n.type)||n.tag===4}function fd(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||ip(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 dd(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(dd(n,a,o),n=n.sibling;n!==null;)dd(n,a,o),n=n.sibling}function Us(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(Us(n,a,o),n=n.sibling;n!==null;)Us(n,a,o),n=n.sibling}function op(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[Ft]=o}catch(g){qe(n,n.return,g)}}var gl=!1,yt=!1,hd=!1,sp=typeof WeakSet=="function"?WeakSet:Set,Rt=null;function dS(n,a){if(n=n.containerInfo,zd=cc,n=xm(n),rf(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,X=0,te=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&&++X===m&&(R=S),Z===g&&++te===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(Pd={focusedElem:n,selectionRange:o},cc=!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)Id(n);else if(o===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Id(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 cp(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&&lp(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{qm(n,a)}catch(S){qe(o,o.return,S)}}break;case 27:a===null&&c&4&&op(o);case 26:case 5:vl(n,o),a===null&&c&4&&rp(o),c&512&&Qi(o,o.return);break;case 12:vl(n,o);break;case 31:vl(n,o),c&4&&dp(n,o);break;case 13:vl(n,o),c&4&&hp(n,o),c&64&&(n=o.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(o=SS.bind(null,o),KS(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 up(n){var a=n.alternate;a!==null&&(n.alternate=null,up(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Uu(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;)fp(n,a,o),o=o.sibling}function fp(n,a,o){if(an&&typeof an.onCommitFiberUnmount=="function")try{an.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,lg(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,o.stateNode),Xr(n)):lg(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"&&ap(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 dp(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 hp(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 hS(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new sp),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new sp),a;default:throw Error(r(435,n.tag))}}function Vs(n,a){var o=hS(n);a.forEach(function(c){if(!o.has(c)){o.add(c);var m=wS.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));fp(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;)mp(a,n),a=a.sibling}var Bn=null;function mp(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=mg("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=mg("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 pg(m,n.type,n.stateNode);else n.stateNode=hg(m,c,n.memoizedProps);else g!==c?(g===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):g.count--,c===null?pg(m,n.type,n.stateNode):hg(m,c,n.memoizedProps)):c===null&&n.stateNode!==null&&ud(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&&ud(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,ud(n,m,o!==null?o.memoizedProps:m)),c&1024&&(hd=!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(rc=null,m=Bn,Bn=lc(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)}hd&&(hd=!1,pp(n));break;case 4:c=Bn,Bn=lc(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,Vs(n,c)));break;case 13:qt(a,n),Yt(n),n.child.flags&8192&&n.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(_s=It()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Vs(n,c)));break;case 22:m=n.memoizedState!==null;var P=o!==null&&o.memoizedState!==null,X=gl,te=yt;if(gl=X||m,yt=te||P,qt(a,n),yt=te,gl=X,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?ag(ee,!0):ag(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,Vs(n,o))));break;case 19:qt(a,n),Yt(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Vs(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(ip(c)){o=c;break}c=c.return}if(o==null)throw Error(r(160));switch(o.tag){case 27:var m=o.stateNode,g=fd(n);Us(n,g,m);break;case 5:var S=o.stateNode;o.flags&32&&(vr(S,""),o.flags&=-33);var R=fd(n);Us(n,R,S);break;case 3:case 4:var P=o.stateNode.containerInfo,X=fd(n);dd(n,X,P);break;default:throw Error(r(161))}}catch(te){qe(n,n.return,te)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function pp(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;pp(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;)cp(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"&&ap(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(X){qe(c,c.return,X)}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++)Gm(P[m],R)}catch(X){qe(c,c.return,X)}}o&&S&64&&lp(g),Qi(g,g.return);break;case 27:op(g);case 26:case 5:yl(m,g,o),o&&c===null&&S&4&&rp(g),Qi(g,g.return);break;case 12:yl(m,g,o);break;case 31:yl(m,g,o),o&&S&4&&dp(m,g);break;case 13:yl(m,g,o),o&&S&4&&hp(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 md(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 pd(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;)gp(n,a,o,c),a=a.sibling}function gp(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&&md(S,a);break;case 24:Hn(n,a,o,c),m&2048&&pd(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,X=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 te=S.stateNode;S.memoizedState!==null?te._visibility&2?Ir(g,S,R,P,m):Ji(g,S):(te._visibility|=2,Ir(g,S,R,P,m)),m&&X&2048&&md(S.alternate,S);break;case 24:Ir(g,S,R,P,m),m&&X&2048&&pd(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&&md(c.alternate,c);break;case 24:Ji(o,c),m&2048&&pd(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;)bp(n,a,o),n=n.sibling}function bp(n,a,o){switch(n.tag){case 26:Br(n,a,o),n.flags&eo&&n.memoizedState!==null&&JS(o,Bn,n.memoizedState,n.memoizedProps);break;case 5:Br(n,a,o);break;case 3:case 4:var c=Bn;Bn=lc(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 vp(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,xp(c,n)}vp(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)yp(n),n=n.sibling}function yp(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,xp(c,n)}vp(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 xp(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(up(c),c===o){Rt=null;break e}if(m!==null){m.return=g,Rt=m;break e}Rt=g}}}var mS={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}},pS=typeof WeakMap=="function"?WeakMap:Map,Fe=0,Qe=null,De=null,Pe=0,Ge=0,fn=null,Gl=!1,Hr=!1,gd=!1,xl=0,st=0,ql=0,Ka=0,bd=0,dn=0,Kr=0,no=null,Xt=null,vd=!1,_s=0,Sp=0,Gs=1/0,qs=null,Yl=null,St=0,Xl=null,Ur=null,Sl=0,yd=0,xd=null,wp=null,lo=0,Sd=null;function hn(){return(Fe&2)!==0&&Pe!==0?Pe&-Pe:z.T!==null?Md():I2()}function Ep(){if(dn===0)if((Pe&536870912)===0||Ie){var n=ts;ts<<=1,(ts&3932160)===0&&(ts=262144),dn=n}else dn=536870912;return n=cn.current,n!==null&&(n.flags|=32),dn}function Wt(n,a,o){(n===Qe&&(Ge===2||Ge===9)||n.cancelPendingCommit!==null)&&(Vr(n,0),Wl(n,Pe,dn,!1)),Ci(n,o),((Fe&2)===0||n!==Qe)&&(n===Qe&&((Fe&2)===0&&(Ka|=o),st===4&&Wl(n,Pe,dn,!1)),Wn(n))}function Cp(n,a,o){if((Fe&6)!==0)throw Error(r(327));var c=!o&&(a&127)===0&&(a&n.expiredLanes)===0||Ei(n,a),m=c?vS(n,a):Ed(n,a,!0),g=c;do{if(m===0){Hr&&!c&&Wl(n,a,0,!1);break}else{if(o=n.current.alternate,g&&!gS(o)){m=Ed(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&&(Vr(R,S).flags|=256),S=Ed(R,S,!1),S!==2){if(gd&&!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){Vr(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,dn,!Gl);break e;case 2:Xt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(m=_s+300-It(),10<m)){if(Wl(c,a,dn,!Gl),ls(c,0,!0)!==0)break e;Sl=a,c.timeoutHandle=tg(Tp.bind(null,c,o,Xt,qs,vd,a,dn,Ka,Kr,Gl,g,"Throttled",-0,0),m);break e}Tp(c,o,Xt,qs,vd,a,dn,Ka,Kr,Gl,g,null,-0,0)}}break}while(!0);Wn(n)}function Tp(n,a,o,c,m,g,S,R,P,X,te,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},bp(a,g,re);var be=(g&62914560)===g?_s-It():(g&4194048)===g?Sp-It():0;if(be=e8(re,be),be!==null){Sl=g,n.cancelPendingCommit=be($p.bind(null,n,a,g,o,c,m,S,R,P,te,re,null,Z,ee)),Wl(n,g,S,!X);return}}$p(n,a,g,o,c,m,S,R,P)}function gS(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(!on(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&=~bd,a&=~Ka,n.suspendedLanes|=a,n.pingedLanes&=~a,c&&(n.warmLanes|=a),c=n.expirationTimes;for(var m=a;0<m;){var g=31-rn(m),S=1<<g;c[g]=-1,m&=~S}o!==0&&P2(n,o,a)}function Ys(){return(Fe&6)===0?(ao(0),!1):!0}function wd(){if(De!==null){if(Ge===0)var n=De.return;else n=De,ul=Da=null,If(n),$r=null,Hi=0,n=De;for(;n!==null;)np(n.alternate,n),n=n.return;De=null}}function Vr(n,a){var o=n.timeoutHandle;o!==-1&&(n.timeoutHandle=-1,OS(o)),o=n.cancelPendingCommit,o!==null&&(n.cancelPendingCommit=null,o()),Sl=0,wd(),Qe=n,De=o=sl(n.current,null),Pe=a,Ge=0,fn=null,Gl=!1,Hr=Ei(n,a),gd=!1,Kr=dn=bd=Ka=ql=st=0,Xt=no=null,vd=!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-rn(c),g=1<<m;a|=n[m],c&=~g}return xl=a,ps(),o}function Rp(n,a){Re=null,z.H=Yi,a===Dr||a===Es?(a=Um(),Ge=3):a===Rf?(a=Um(),Ge=4):Ge=a===ed?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,fn=a,De===null&&(st=1,js(n,Tn(a,n.current)))}function Mp(){var n=cn.current;return n===null?!0:(Pe&4194048)===Pe?Ln===null:(Pe&62914560)===Pe||(Pe&536870912)!==0?n===Ln:!1}function Ap(){var n=z.H;return z.H=Yi,n===null?Yi:n}function Lp(){var n=z.A;return z.A=mS,n}function Xs(){st=4,Gl||(Pe&4194048)!==Pe&&cn.current!==null||(Hr=!0),(ql&134217727)===0&&(Ka&134217727)===0||Qe===null||Wl(Qe,Pe,dn,!1)}function Ed(n,a,o){var c=Fe;Fe|=2;var m=Ap(),g=Lp();(Qe!==n||Pe!==a)&&(qs=null,Vr(n,a)),a=!1;var S=st;e:do try{if(Ge!==0&&De!==null){var R=De,P=fn;switch(Ge){case 8:wd(),S=6;break e;case 3:case 2:case 9:case 6:cn.current===null&&(a=!0);var X=Ge;if(Ge=0,fn=null,Fr(n,R,P,X),o&&Hr){S=0;break e}break;default:X=Ge,Ge=0,fn=null,Fr(n,R,P,X)}}bS(),S=st;break}catch(te){Rp(n,te)}while(!0);return a&&n.shellSuspendCounter++,ul=Da=null,Fe=c,z.H=m,z.A=g,De===null&&(Qe=null,Pe=0,ps()),S}function bS(){for(;De!==null;)kp(De)}function vS(n,a){var o=Fe;Fe|=2;var c=Ap(),m=Lp();Qe!==n||Pe!==a?(qs=null,Gs=It()+500,Vr(n,a)):Hr=Ei(n,a);e:do try{if(Ge!==0&&De!==null){a=De;var g=fn;t:switch(Ge){case 1:Ge=0,fn=null,Fr(n,a,g,1);break;case 2:case 9:if(Hm(g)){Ge=0,fn=null,Np(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:Hm(g)?(Ge=0,fn=null,Np(a)):(Ge=0,fn=null,Fr(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?gg(S):R.stateNode.complete){Ge=0,fn=null;var P=R.sibling;if(P!==null)De=P;else{var X=R.return;X!==null?(De=X,Ws(X)):De=null}break t}}Ge=0,fn=null,Fr(n,a,g,5);break;case 6:Ge=0,fn=null,Fr(n,a,g,6);break;case 8:wd(),st=6;break e;default:throw Error(r(462))}}yS();break}catch(te){Rp(n,te)}while(!0);return ul=Da=null,z.H=c,z.A=m,Fe=o,De!==null?0:(Qe=null,Pe=0,ps(),st)}function yS(){for(;De!==null&&!Jo();)kp(De)}function kp(n){var a=ep(n.alternate,n,xl);n.memoizedProps=n.pendingProps,a===null?Ws(n):De=a}function Np(n){var a=n,o=a.alternate;switch(a.tag){case 15:case 0:a=Y1(o,a,a.pendingProps,a.type,void 0,Pe);break;case 11:a=Y1(o,a,a.pendingProps,a.type.render,a.ref,Pe);break;case 5:If(a);default:np(o,a),a=De=Lm(a,xl),a=ep(o,a,xl)}n.memoizedProps=n.pendingProps,a===null?Ws(n):De=a}function Fr(n,a,o,c){ul=Da=null,If(a),$r=null,Hi=0;var m=a.return;try{if(oS(n,m,a,o,Pe)){st=1,js(n,Tn(o,n.current)),De=null;return}}catch(g){if(m!==null)throw De=m,g;st=1,js(n,Tn(o,n.current)),De=null;return}a.flags&32768?(Ie||c===1?n=!0:Hr||(Pe&536870912)!==0?n=!1:(Gl=n=!0,(c===2||c===9||c===3||c===6)&&(c=cn.current,c!==null&&c.tag===13&&(c.flags|=16384))),Dp(a,n)):Ws(a)}function Ws(n){var a=n;do{if((a.flags&32768)!==0){Dp(a,Gl);return}n=a.return;var o=uS(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 Dp(n,a){do{var o=fS(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 $p(n,a,o,c,m,g,S,R,P){n.cancelPendingCommit=null;do Zs();while(St!==0);if((Fe&6)!==0)throw Error(r(327));if(a!==null){if(a===n.current)throw Error(r(177));if(g=a.lanes|a.childLanes,g|=ff,Q6(n,o,g,S,R,P),n===Qe&&(De=Qe=null,Pe=0),Ur=a,Xl=n,Sl=o,yd=g,xd=m,wp=c,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,ES(fr,function(){return Ip(),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=Fe,Fe|=4;try{dS(n,a,o)}finally{Fe=S,O.p=m,z.T=c}}St=1,zp(),Pp(),Op()}}function zp(){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=Fe;Fe|=4;try{mp(a,n);var g=Pd,S=xm(n.containerInfo),R=g.focusedElem,P=g.selectionRange;if(S!==R&&R&&R.ownerDocument&&ym(R.ownerDocument.documentElement,R)){if(P!==null&&rf(R)){var X=P.start,te=P.end;if(te===void 0&&(te=X),"selectionStart"in R)R.selectionStart=X,R.selectionEnd=Math.min(te,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 V=vm(R,we),I=vm(R,Ze);if(V&&I&&(ee.rangeCount!==1||ee.anchorNode!==V.node||ee.anchorOffset!==V.offset||ee.focusNode!==I.node||ee.focusOffset!==I.offset)){var Y=re.createRange();Y.setStart(V.node,V.offset),ee.removeAllRanges(),we>Ze?(ee.addRange(Y),ee.extend(I.node,I.offset)):(Y.setEnd(I.node,I.offset),ee.addRange(Y))}}}}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}}cc=!!zd,Pd=zd=null}finally{Fe=m,O.p=c,z.T=o}}n.current=a,St=2}}function Pp(){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=Fe;Fe|=4;try{cp(n,a.alternate,a)}finally{Fe=m,O.p=c,z.T=o}}St=3}}function Op(){if(St===4||St===3){St=0,ju();var n=Xl,a=Ur,o=Sl,c=wp;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?St=5:(St=0,Ur=Xl=null,jp(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(Yl=null),Hu(o),a=a.stateNode,an&&typeof an.onCommitFiberRoot=="function")try{an.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&&Zs(),Wn(n),m=n.pendingLanes,(o&261930)!==0&&(m&42)!==0?n===Sd?lo++:(lo=0,Sd=n):lo=0,ao(0)}}function jp(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,Ii(a)))}function Zs(){return zp(),Pp(),Op(),Ip()}function Ip(){if(St!==5)return!1;var n=Xl,a=yd;yd=0;var o=Hu(Sl),c=z.T,m=O.p;try{O.p=32>o?32:o,z.T=null,o=xd,xd=null;var g=Xl,S=Sl;if(St=0,Ur=Xl=null,Sl=0,(Fe&6)!==0)throw Error(r(331));var R=Fe;if(Fe|=4,yp(g.current),gp(g,g.current,S,o),Fe=R,ao(0,!1),an&&typeof an.onPostCommitFiberRoot=="function")try{an.onPostCommitFiberRoot(wi,g)}catch{}return!0}finally{O.p=m,z.T=c,jp(n,a)}}function Bp(n,a,o){a=Tn(o,a),a=Jf(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)Bp(n,n,o);else for(;a!==null;){if(a.tag===3){Bp(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=H1(2),c=Ul(a,o,2),c!==null&&(K1(o,c,a,n),Ci(c,2),Wn(c));break}}a=a.return}}function Cd(n,a,o){var c=n.pingCache;if(c===null){c=n.pingCache=new pS;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)||(gd=!0,m.add(o),n=xS.bind(null,n,a,o),a.then(n,n))}function xS(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()-_s?(Fe&2)===0&&Vr(n,0):bd|=o,Kr===Pe&&(Kr=0)),Wn(n)}function Hp(n,a){a===0&&(a=z2()),n=La(n,a),n!==null&&(Ci(n,a),Wn(n))}function SS(n){var a=n.memoizedState,o=0;a!==null&&(o=a.retryLane),Hp(n,o)}function wS(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),Hp(n,o)}function ES(n,a){return jn(n,a)}var Qs=null,_r=null,Td=!1,Js=!1,Rd=!1,Zl=0;function Wn(n){n!==_r&&n.next===null&&(_r===null?Qs=_r=n:_r=_r.next=n),Js=!0,Td||(Td=!0,TS())}function ao(n,a){if(!Rd&&Js){Rd=!0;do for(var o=!1,c=Qs;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-rn(42|n)+1)-1,g&=m&~(S&~R),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(o=!0,Fp(c,g))}else g=Pe,g=ls(c,c===Qe?g:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(g&3)===0||Ei(c,g)||(o=!0,Fp(c,g));c=c.next}while(o);Rd=!1}}function CS(){Kp()}function Kp(){Js=Td=!1;var n=0;Zl!==0&&PS()&&(n=Zl);for(var a=It(),o=null,c=Qs;c!==null;){var m=c.next,g=Up(c,a);g===0?(c.next=null,o===null?Qs=m:o.next=m,m===null&&(_r=o)):(o=c,(n!==0||(g&3)!==0)&&(Js=!0)),c=m}St!==0&&St!==5||ao(n),Zl!==0&&(Zl=0)}function Up(n,a){for(var o=n.suspendedLanes,c=n.pingedLanes,m=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var S=31-rn(g),R=1<<S,P=m[S];P===-1?((R&o)===0||(R&c)!==0)&&(m[S]=Z6(R,a)):P<=a&&(n.expiredLanes|=R),g&=~R}if(a=Qe,o=Pe,o=ls(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),Hu(o)){case 2:case 8:o=Gn;break;case 32:o=fr;break;case 268435456:o=$2;break;default:o=fr}return c=Vp.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 Vp(n,a){if(St!==0&&St!==5)return n.callbackNode=null,n.callbackPriority=0,null;var o=n.callbackNode;if(Zs()&&n.callbackNode!==o)return null;var c=Pe;return c=ls(n,n===Qe?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(Cp(n,c,a),Up(n,It()),n.callbackNode!=null&&n.callbackNode===o?Vp.bind(null,n):null)}function Fp(n,a){if(Zs())return null;Cp(n,a,!0)}function TS(){jS(function(){(Fe&6)!==0?jn(Nt,CS):Kp()})}function Md(){if(Zl===0){var n=kr;n===0&&(n=es,es<<=1,(es&261888)===0&&(es=256)),Zl=n}return Zl}function _p(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:os(""+n)}function Gp(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 RS(n,a,o,c,m){if(a==="submit"&&o&&o.stateNode===m){var g=_p((m[Ft]||null).action),S=c.submitter;S&&(a=(a=S[Ft]||null)?_p(a.formAction):S.getAttribute("formAction"),a!==null&&(g=a,S=null));var R=new fs("action","action",null,c,m);n.push({event:R,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Zl!==0){var P=S?Gp(m,S):new FormData(m);qf(o,{pending:!0,data:P,method:m.method,action:g},null,P)}}else typeof g=="function"&&(R.preventDefault(),P=S?Gp(m,S):new FormData(m),qf(o,{pending:!0,data:P,method:m.method,action:g},g,P))},currentTarget:m}]})}}for(var Ad=0;Ad<uf.length;Ad++){var Ld=uf[Ad],MS=Ld.toLowerCase(),AS=Ld[0].toUpperCase()+Ld.slice(1);In(MS,"on"+AS)}In(Em,"onAnimationEnd"),In(Cm,"onAnimationIteration"),In(Tm,"onAnimationStart"),In("dblclick","onDoubleClick"),In("focusin","onFocus"),In("focusout","onBlur"),In(F7,"onTransitionRun"),In(_7,"onTransitionStart"),In(G7,"onTransitionCancel"),In(Rm,"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(" "),LS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ro));function qp(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,X=R.currentTarget;if(R=R.listener,P!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=X;try{g(m)}catch(te){ms(te)}m.currentTarget=null,g=P}else for(S=0;S<c.length;S++){if(R=c[S],P=R.instance,X=R.currentTarget,R=R.listener,P!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=X;try{g(m)}catch(te){ms(te)}m.currentTarget=null,g=P}}}}function $e(n,a){var o=a[Ku];o===void 0&&(o=a[Ku]=new Set);var c=n+"__bubble";o.has(c)||(Yp(a,n,2,!1),o.add(c))}function kd(n,a,o){var c=0;a&&(c|=4),Yp(o,n,c,a)}var ec="_reactListening"+Math.random().toString(36).slice(2);function Nd(n){if(!n[ec]){n[ec]=!0,K2.forEach(function(o){o!=="selectionchange"&&(LS.has(o)||kd(o,!1,n),kd(o,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[ec]||(a[ec]=!0,kd("selectionchange",!1,a))}}function Yp(n,a,o,c){switch(Eg(a)){case 2:var m=l8;break;case 8:m=a8;break;default:m=Gd}o=m.bind(null,a,o,n),m=void 0,!Wu||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 Dd(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}J2(function(){var X=g,te=Yu(o),re=[];e:{var Z=Mm.get(n);if(Z!==void 0){var ee=fs,be=n;switch(n){case"keypress":if(cs(o)===0)break e;case"keydown":case"keyup":ee=w7;break;case"focusin":be="focus",ee=ef;break;case"focusout":be="blur",ee=ef;break;case"beforeblur":case"afterblur":ee=ef;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=nm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=u7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=T7;break;case Em:case Cm:case Tm:ee=h7;break;case Rm:ee=M7;break;case"scroll":case"scrollend":ee=s7;break;case"wheel":ee=L7;break;case"copy":case"cut":case"paste":ee=p7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=am;break;case"toggle":case"beforetoggle":ee=N7}var we=(a&4)!==0,Ze=!we&&(n==="scroll"||n==="scrollend"),V=we?Z!==null?Z+"Capture":null:Z;we=[];for(var I=X,Y;I!==null;){var ae=I;if(Y=ae.stateNode,ae=ae.tag,ae!==5&&ae!==26&&ae!==27||Y===null||V===null||(ae=Mi(I,V),ae!=null&&we.push(io(I,ae,Y))),Ze)break;I=I.return}0<we.length&&(Z=new ee(Z,be,null,o,te),re.push({event:Z,listeners:we}))}}if((a&7)===0){e:{if(Z=n==="mouseover"||n==="pointerover",ee=n==="mouseout"||n==="pointerout",Z&&o!==qu&&(be=o.relatedTarget||o.fromElement)&&(hr(be)||be[dr]))break e;if((ee||Z)&&(Z=te.window===te?te:(Z=te.ownerDocument)?Z.defaultView||Z.parentWindow:window,ee?(be=o.relatedTarget||o.toElement,ee=X,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=X),ee!==be)){if(we=nm,ae="onMouseLeave",V="onMouseEnter",I="mouse",(n==="pointerout"||n==="pointerover")&&(we=am,ae="onPointerLeave",V="onPointerEnter",I="pointer"),Ze=ee==null?Z:Ri(ee),Y=be==null?Z:Ri(be),Z=new we(ae,I+"leave",ee,o,te),Z.target=Ze,Z.relatedTarget=Y,ae=null,hr(te)===X&&(we=new we(V,I+"enter",be,o,te),we.target=Y,we.relatedTarget=Ze,ae=we),Ze=ae,ee&&be)t:{for(we=kS,V=ee,I=be,Y=0,ae=V;ae;ae=we(ae))Y++;ae=0;for(var Se=I;Se;Se=we(Se))ae++;for(;0<Y-ae;)V=we(V),Y--;for(;0<ae-Y;)I=we(I),ae--;for(;Y--;){if(V===I||I!==null&&V===I.alternate){we=V;break t}V=we(V),I=we(I)}we=null}else we=null;ee!==null&&Xp(re,Z,ee,we,!1),be!==null&&Ze!==null&&Xp(re,Ze,be,we,!0)}}e:{if(Z=X?Ri(X):window,ee=Z.nodeName&&Z.nodeName.toLowerCase(),ee==="select"||ee==="input"&&Z.type==="file")var Ke=dm;else if(um(Z))if(hm)Ke=K7;else{Ke=B7;var ye=I7}else ee=Z.nodeName,!ee||ee.toLowerCase()!=="input"||Z.type!=="checkbox"&&Z.type!=="radio"?X&&Gu(X.elementType)&&(Ke=dm):Ke=H7;if(Ke&&(Ke=Ke(n,X))){fm(re,Ke,o,te);break e}ye&&ye(n,Z,X),n==="focusout"&&X&&Z.type==="number"&&X.memoizedProps.value!=null&&_u(Z,"number",Z.value)}switch(ye=X?Ri(X):window,n){case"focusin":(um(ye)||ye.contentEditable==="true")&&(wr=ye,of=X,Pi=null);break;case"focusout":Pi=of=wr=null;break;case"mousedown":sf=!0;break;case"contextmenu":case"mouseup":case"dragend":sf=!1,Sm(re,o,te);break;case"selectionchange":if(V7)break;case"keydown":case"keyup":Sm(re,o,te)}var Me;if(nf)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?sm(n,o)&&(Oe="onCompositionEnd"):n==="keydown"&&o.keyCode===229&&(Oe="onCompositionStart");Oe&&(rm&&o.locale!=="ko"&&(Sr||Oe!=="onCompositionStart"?Oe==="onCompositionEnd"&&Sr&&(Me=em()):(Pl=te,Zu="value"in Pl?Pl.value:Pl.textContent,Sr=!0)),ye=tc(X,Oe),0<ye.length&&(Oe=new lm(Oe,n,null,o,te),re.push({event:Oe,listeners:ye}),Me?Oe.data=Me:(Me=cm(o),Me!==null&&(Oe.data=Me)))),(Me=$7?z7(n,o):P7(n,o))&&(Oe=tc(X,"onBeforeInput"),0<Oe.length&&(ye=new lm("onBeforeInput","beforeinput",null,o,te),re.push({event:ye,listeners:Oe}),ye.data=Me)),RS(re,n,X,o,te)}qp(re,a)})}function io(n,a,o){return{instance:n,listener:a,currentTarget:o}}function tc(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 kS(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Xp(n,a,o,c,m){for(var g=a._reactName,S=[];o!==null&&o!==c;){var R=o,P=R.alternate,X=R.stateNode;if(R=R.tag,P!==null&&P===c)break;R!==5&&R!==26&&R!==27||X===null||(P=X,m?(X=Mi(o,g),X!=null&&S.unshift(io(o,X,P))):m||(X=Mi(o,g),X!=null&&S.push(io(o,X,P)))),o=o.return}S.length!==0&&n.push({event:a,listeners:S})}var NS=/\r\n?/g,DS=/\u0000|\uFFFD/g;function Wp(n){return(typeof n=="string"?n:""+n).replace(NS,`
|
|
50
|
-
`).replace(DS,"")}function Zp(n,a){return a=Wp(a),Wp(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":rs(n,"class",c);break;case"tabIndex":rs(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":rs(n,o,c);break;case"style":Z2(n,c,g);break;case"data":if(a!=="object"){rs(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=os(""+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=os(""+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=os(""+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),as(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":as(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=i7.get(o)||o,as(n,o,c))}}function $d(n,a,o,c,m,g){switch(o){case"style":Z2(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(!U2.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[Ft]||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,""):as(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,X=null;for(c in o)if(o.hasOwnProperty(c)){var te=o[c];if(te!=null)switch(c){case"name":m=te;break;case"type":S=te;break;case"checked":P=te;break;case"defaultChecked":X=te;break;case"value":g=te;break;case"defaultValue":R=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(r(137,a));break;default:We(n,a,c,te,o,null)}}q2(n,g,R,P,X,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)}X2(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(X in o)if(o.hasOwnProperty(X)&&(c=o[X],c!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:We(n,a,X,c,o,null)}return;default:if(Gu(a)){for(te in o)o.hasOwnProperty(te)&&(c=o[te],c!==void 0&&$d(n,a,te,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 $S(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,X=null,te=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":X=ee;break;case"defaultChecked":te=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)}}Fu(n,S,R,P,X,te,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)}Y2(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(X in c)if(Z=c[X],ee=o[X],c.hasOwnProperty(X)&&Z!==ee&&(Z!=null||ee!=null))switch(X){case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(r(137,a));break;default:We(n,a,X,Z,c,ee)}return;default:if(Gu(a)){for(var Ze in o)Z=o[Ze],o.hasOwnProperty(Ze)&&Z!==void 0&&!c.hasOwnProperty(Ze)&&$d(n,a,Ze,void 0,c,Z);for(te in c)Z=c[te],ee=o[te],!c.hasOwnProperty(te)||Z===ee||Z===void 0&&ee===void 0||$d(n,a,te,Z,c,ee);return}}for(var V in o)Z=o[V],o.hasOwnProperty(V)&&Z!=null&&!c.hasOwnProperty(V)&&We(n,a,V,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 Qp(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function zS(){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&&Qp(S)){for(S=0,R=m.responseEnd,c+=1;c<o.length;c++){var P=o[c],X=P.startTime;if(X>R)break;var te=P.transferSize,re=P.initiatorType;te&&Qp(re)&&(P=P.responseEnd,S+=te*(P<R?1:(R-X)/(P-X)))}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 zd=null,Pd=null;function nc(n){return n.nodeType===9?n:n.ownerDocument}function Jp(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 eg(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 Od(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 jd=null;function PS(){var n=window.event;return n&&n.type==="popstate"?n===jd?!1:(jd=n,!0):(jd=null,!1)}var tg=typeof setTimeout=="function"?setTimeout:void 0,OS=typeof clearTimeout=="function"?clearTimeout:void 0,ng=typeof Promise=="function"?Promise:void 0,jS=typeof queueMicrotask=="function"?queueMicrotask:typeof ng<"u"?function(n){return ng.resolve(null).then(n).catch(IS)}:tg;function IS(n){setTimeout(function(){throw n})}function Ql(n){return n==="head"}function lg(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 ag(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 Id(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":Id(o),Uu(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}n.removeChild(o)}}function BS(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 HS(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 rg(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 Bd(n){return n.data==="$?"||n.data==="$~"}function Hd(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function KS(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 Kd=null;function ig(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 og(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 sg(n,a,o){switch(a=nc(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]);Uu(n)}var Nn=new Map,cg=new Set;function lc(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var wl=O.d;O.d={f:US,r:VS,D:FS,C:_S,L:GS,m:qS,X:XS,S:YS,M:WS};function US(){var n=wl.f(),a=Ys();return n||a}function VS(n){var a=mr(n);a!==null&&a.tag===5&&a.type==="form"?R1(a):wl.r(n)}var Gr=typeof document>"u"?null:document;function ug(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+'"]'),cg.has(m)||(cg.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 FS(n){wl.D(n),ug("dns-prefetch",n,null)}function _S(n,a){wl.C(n,a),ug("preconnect",n,a)}function GS(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 qS(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 YS(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))&&Ud(n,o);var P=S=c.createElement("link");Tt(P),Ot(P,"link",n),P._p=new Promise(function(X,te){P.onload=X,P.onerror=te}),P.addEventListener("load",function(){R.loading|=1}),P.addEventListener("error",function(){R.loading|=2}),R.loading|=4,ac(S,a,c)}S={type:"stylesheet",instance:S,count:1,state:R},m.set(g,S)}}}function XS(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))&&Vd(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 WS(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))&&Vd(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 fg(n,a,o,c){var m=(m=ie.current)?lc(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||ZS(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 dg(n){return b({},n,{"data-precedence":n.precedence,precedence:null})}function ZS(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 hg(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),ac(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=dg(o),(m=Nn.get(m))&&Ud(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,ac(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),Vd(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,ac(c,o.precedence,n));return a.instance}function ac(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 Ud(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Vd(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var rc=null;function mg(n,a,o){if(rc===null){var c=new Map,m=rc=new Map;m.set(o,c)}else m=rc,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 pg(n,a,o){n=n.ownerDocument||n,n.head.insertBefore(o,a==="title"?n.querySelector("head > title"):null)}function QS(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 gg(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function JS(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=ic.bind(n),a.then(n,n)),o.state.loading|=4,o.instance=g,Tt(g);return}g=a.ownerDocument||a,c=dg(c),(m=Nn.get(m))&&Ud(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=ic.bind(n),a.addEventListener("load",o),a.addEventListener("error",o))}}var Fd=0;function e8(n,a){return n.stylesheets&&n.count===0&&sc(n,n.stylesheets),0<n.count||0<n.imgCount?function(o){var c=setTimeout(function(){if(n.stylesheets&&sc(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4+a);0<n.imgBytes&&Fd===0&&(Fd=62500*zS());var m=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&sc(n,n.stylesheets),n.unsuspend)){var g=n.unsuspend;n.unsuspend=null,g()}},(n.imgBytes>Fd?50:800)+a);return n.unsuspend=o,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(m)}}:null}function ic(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)sc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var oc=null;function sc(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,oc=new Map,a.forEach(t8,n),oc=null,ic.call(n))}function t8(n,a){if(!(a.state.loading&4)){var o=oc.get(n);if(o)var c=o.get(null);else{o=new Map,oc.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=ic.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:N,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function n8(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=Iu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Iu(0),this.hiddenUpdates=Iu(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 bg(n,a,o,c,m,g,S,R,P,X,te,re){return n=new n8(n,a,o,S,P,X,te,re,R),a=1,g===!0&&(a|=24),g=sn(3,null,null,a),n.current=g,g.stateNode=n,a=Ef(),a.refCount++,n.pooledCache=a,a.refCount++,g.memoizedState={element:c,isDehydrated:o,cache:a},Mf(g),n}function vg(n){return n?(n=Tr,n):Tr}function yg(n,a,o,c,m,g){m=vg(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 xg(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var o=n.retryLane;n.retryLane=o!==0&&o<a?o:a}}function _d(n,a){xg(n,a),(n=n.alternate)&&xg(n,a)}function Sg(n){if(n.tag===13||n.tag===31){var a=La(n,67108864);a!==null&&Wt(a,n,67108864),_d(n,67108864)}}function wg(n){if(n.tag===13||n.tag===31){var a=hn();a=Bu(a);var o=La(n,a);o!==null&&Wt(o,n,a),_d(n,a)}}var cc=!0;function l8(n,a,o,c){var m=z.T;z.T=null;var g=O.p;try{O.p=2,Gd(n,a,o,c)}finally{O.p=g,z.T=m}}function a8(n,a,o,c){var m=z.T;z.T=null;var g=O.p;try{O.p=8,Gd(n,a,o,c)}finally{O.p=g,z.T=m}}function Gd(n,a,o,c){if(cc){var m=qd(c);if(m===null)Dd(n,a,c,uc,o),Cg(n,c);else if(i8(m,n,a,o,c))c.stopPropagation();else if(Cg(n,c),a&4&&-1<r8.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-rn(S);R.entanglements[1]|=P,S&=~P}Wn(g),(Fe&6)===0&&(Gs=It()+500,ao(0))}}break;case 31:case 13:R=La(g,2),R!==null&&Wt(R,g,2),Ys(),_d(g,2)}if(g=qd(c),g===null&&Dd(n,a,c,uc,o),g===m)break;m=g}m!==null&&c.stopPropagation()}else Dd(n,a,c,null,o)}}function qd(n){return n=Yu(n),Yd(n)}var uc=null;function Yd(n){if(uc=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 uc=n,null}function Eg(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 _6:return 32;case $2:return 268435456;default:return 32}default:return 32}}var Xd=!1,Jl=null,ea=null,ta=null,fo=new Map,ho=new Map,na=[],r8="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 Cg(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&&Sg(a)),n):(n.eventSystemFlags|=c,a=n.targetContainers,m!==null&&a.indexOf(m)===-1&&a.push(m),n)}function i8(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 Tg(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,B2(n.priority,function(){wg(o)});return}}else if(a===31){if(a=f(o),a!==null){n.blockedOn=a,B2(n.priority,function(){wg(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 fc(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var o=qd(n.nativeEvent);if(o===null){o=n.nativeEvent;var c=new o.constructor(o.type,o);qu=c,o.target.dispatchEvent(c),qu=null}else return a=mr(o),a!==null&&Sg(a),n.blockedOn=o,!1;a.shift()}return!0}function Rg(n,a,o){fc(n)&&o.delete(a)}function o8(){Xd=!1,Jl!==null&&fc(Jl)&&(Jl=null),ea!==null&&fc(ea)&&(ea=null),ta!==null&&fc(ta)&&(ta=null),fo.forEach(Rg),ho.forEach(Rg)}function dc(n,a){n.blockedOn===a&&(n.blockedOn=null,Xd||(Xd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,o8)))}var hc=null;function Mg(n){hc!==n&&(hc=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){hc===n&&(hc=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(Yd(c||o)===null)continue;break}var g=mr(o);g!==null&&(n.splice(a,3),a-=3,qf(g,{pending:!0,data:m,method:o.method,action:c},c,m))}}))}function Xr(n){function a(P){return dc(P,n)}Jl!==null&&dc(Jl,n),ea!==null&&dc(ea,n),ta!==null&&dc(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);)Tg(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[Ft]||null;if(typeof g=="function")S||Mg(o);else if(S){var R=null;if(g&&g.hasAttribute("formAction")){if(m=g,S=g[Ft]||null)R=S.formAction;else if(Yd(m)!==null)continue}else R=S.action;typeof R=="function"?o[c+1]=R:(o.splice(c,3),c-=3),Mg(o)}}}function Ag(){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 Wd(n){this._internalRoot=n}mc.prototype.render=Wd.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(r(409));var o=a.current,c=hn();yg(o,c,n,a,null,null)},mc.prototype.unmount=Wd.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;yg(n.current,2,null,n,null,null),Ys(),a[dr]=null}};function mc(n){this._internalRoot=n}mc.prototype.unstable_scheduleHydration=function(n){if(n){var a=I2();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&&Tg(n)}};var Lg=t.version;if(Lg!=="19.2.7")throw Error(r(527,Lg,"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 s8={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var pc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pc.isDisabled&&pc.supportsFiber)try{wi=pc.inject(s8),an=pc}catch{}}return go.createRoot=function(n,a){if(!i(n))throw Error(r(299));var o=!1,c="",m=O1,g=j1,S=I1;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=bg(n,1,!1,null,null,o,c,null,m,g,S,Ag),n[dr]=a.current,Nd(n),new Wd(a)},go.hydrateRoot=function(n,a,o){if(!i(n))throw Error(r(299));var c=!1,m="",g=O1,S=j1,R=I1,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=bg(n,1,!0,a,o??null,c,m,P,g,S,R,Ag),a.context=vg(null),o=a.current,c=hn(),c=Bu(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,Nd(n),new mc(a)},go.version="19.2.7",go}var Vg;function y8(){if(Vg)return e0.exports;Vg=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(),e0.exports=v8(),e0.exports}var x8=y8(),Fg=y.use,Co=typeof window<"u"?y.useLayoutEffect:y.useEffect;function a0(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 S8(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 w8(e){const t=y.useRef(null);return y.useImperativeHandle(e,()=>t.current,[]),t}const wy=!1;function Do(e){return e[e.length-1]}function E8(e){return typeof e=="function"}function qa(e,t){return E8(e)?e(t):e}const Ey=Object.prototype.hasOwnProperty,_g=Object.prototype.propertyIsEnumerable;function Cy(e){for(const t in e)if(Ey.call(e,t))return!0;return!1}const C8=()=>Object.create(null),Ua=(e,t)=>Ya(e,t,C8);function Ya(e,t,l=()=>({}),r=0){if(e===t)return e;if(r>500)return t;const i=t,s=Yg(e)&&Yg(i);if(!s&&!(_c(e)&&_c(i)))return i;const u=s?e:Gg(e);if(!u)return i;const f=s?i:Gg(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:Ey.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 Gg(e){const t=Object.getOwnPropertyNames(e);for(const i of t)if(!_g.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(!_g.call(e,i))return!1;r.push(i)}return r}function _c(e){if(!qg(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const l=t.prototype;return!(!qg(l)||!l.hasOwnProperty("isPrototypeOf"))}function qg(e){return Object.prototype.toString.call(e)==="[object Object]"}function Yg(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(_c(e)&&_c(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 T8(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 R8=/[\x00-\x1f\x7f"<>`{}]/g;function M8(e){return e.replace(R8,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function Xg(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 M8(t)}const A8=["http:","https:","mailto:","tel:"];function Gc(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+=Xg(e.slice(l,i.index))+i[0],l=t.lastIndex;r=r+Xg(l?e.slice(l):e);let s=!1;return r.startsWith("//")&&(s=!0,r="/"+r.replace(/^\/+/,"")),{path:r,handledProtocolRelativeURL:s}}function L8(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function k8(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,Ty=5;function N8(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 Ry(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=N8(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 vu(e,t,l,r,i,s,u){var d,h,p,b,v,w,x,T,C,L;u==null||u(l);let f=r;{const M=l.fullPath??l.from,N=M.length,A=((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<N;){const $=Ry(M,f,t);let k;const K=f,U=$[5];switch(f=U+1,s++,$[0]){case 0:{const q=M.substring($[2],$[3]);if(A){const ne=(v=i.static)==null?void 0:v.get(q);if(ne)k=ne;else{i.static??(i.static=new Map);const le=Xa(l.fullPath??l.from);le.parent=i,le.depth=s,k=le,i.static.set(q,le)}}else{const ne=q.toLowerCase(),le=(w=i.staticInsensitive)==null?void 0:w.get(ne);if(le)k=le;else{i.staticInsensitive??(i.staticInsensitive=new Map);const j=Xa(l.fullPath??l.from);j.parent=i,j.depth=s,k=j,i.staticInsensitive.set(ne,j)}}break}case 1:{const q=M.substring(K,$[1]),ne=M.substring($[4],U),le=A&&!!(q||ne),j=q?le?q:q.toLowerCase():void 0,W=ne?le?ne:ne.toLowerCase():void 0,z=!B&&((x=i.dynamic)==null?void 0:x.find(O=>!O.parse&&O.caseSensitive===le&&O.prefix===j&&O.suffix===W));if(z)k=z;else{const O=i0(1,l.fullPath??l.from,le,j,W);k=O,O.depth=s,O.parent=i,i.dynamic??(i.dynamic=[]),i.dynamic.push(O)}break}case 3:{const q=M.substring(K,$[1]),ne=M.substring($[4],U),le=A&&!!(q||ne),j=q?le?q:q.toLowerCase():void 0,W=ne?le?ne:ne.toLowerCase():void 0,z=!B&&((T=i.optional)==null?void 0:T.find(O=>!O.parse&&O.caseSensitive===le&&O.prefix===j&&O.suffix===W));if(z)k=z;else{const O=i0(3,l.fullPath??l.from,le,j,W);k=O,O.parent=i,O.depth=s,i.optional??(i.optional=[]),i.optional.push(O)}break}case 2:{const q=M.substring(K,$[1]),ne=M.substring($[4],U),le=A&&!!(q||ne),j=q?le?q:q.toLowerCase():void 0,W=ne?le?ne:ne.toLowerCase():void 0,z=i0(2,l.fullPath??l.from,le,j,W);k=z,z.parent=i,z.depth=s,i.wildcard??(i.wildcard=[]),i.wildcard.push(z)}}i=k}if(B&&l.children&&!l.isRoot&&l.id&&l.id.charCodeAt(l.id.lastIndexOf("/")+1)===95){const $=Xa(l.fullPath??l.from);$.kind=Ty,$.parent=i,s++,$.depth=s,i.pathless??(i.pathless=[]),i.pathless.push($),i=$}const _=(l.path||!l.children)&&!l.isRoot;if(_&&M.endsWith("/")){const $=Xa(l.fullPath??l.from);$.kind=ua,$.parent=i,s++,$.depth=s,i.index=$,i=$}i.parse=B??null,i.priority=((L=(C=l.options)==null?void 0:C.params)==null?void 0:L.priority)??0,_&&!i.route&&(i.route=l,i.fullPath=l.fullPath??l.from)}if(l.children)for(const M of l.children)vu(e,t,M,f,i,s,u)}function r0(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(r0);for(const i of e.dynamic)sa(i)}if((l=e.optional)!=null&&l.length){e.optional.sort(r0);for(const i of e.optional)sa(i)}if((r=e.wildcard)!=null&&r.length){e.wildcard.sort(r0);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 i0(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 D8(e,t){const l=Xa("/"),r=new Uint16Array(6);for(const i of e)vu(!1,r,i,1,l,0);sa(l),t.masksTree=l,t.flatCache=zo(1e3)}function $8(e,t){e||(e="/");const l=t.flatCache.get(e);if(l)return l;const r=Ph(e,t.masksTree);return t.flatCache.set(e,r),r}function z8(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("/"),vu(t,new Uint16Array(6),{from:e},1,u,0),i.singleCache.set(s,u)),Ph(r,u,l)}function P8(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=Ph(e,t.segmentTree,l)}catch(u){if(u instanceof URIError)s=null;else throw u}return s&&(s.branch=Ay(s.route)),t.matchCache.set(r,s),s}function O8(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function j8(e,t=!1,l){const r=Xa(e.fullPath),i=new Uint16Array(6),s={},u={};let f=0;return vu(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=O8(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 Ph(e,t,l=!1){const r=e.split("/"),i=B8(e,r,t,l);if(!i)return null;const[s]=My(e,r,i);return{route:i.node.route,rawParams:s}}function My(e,t,l){var p,b,v,w,x,T,C,L,M,N;const r=I8(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 A=r[f];if(A.kind===ua)break;if(A.kind===Ty){h--,u--,d--;continue}const B=t[u],_=d;if(B&&(d+=B.length),A.kind===1){i??(i=l.node.fullPath.split("/"));const $=i[h],k=((x=A.prefix)==null?void 0:x.length)??0;if($.charCodeAt(k)===123){const K=((T=A.suffix)==null?void 0:T.length)??0,U=$.substring(k+2,$.length-K-1),q=B.substring(k,B.length-K);s[U]=decodeURIComponent(q)}else{const K=$.substring(1);s[K]=decodeURIComponent(B)}}else if(A.kind===3){if(l.skipped&1<<f){u--,d=_-1;continue}i??(i=l.node.fullPath.split("/"));const $=i[h],k=((C=A.prefix)==null?void 0:C.length)??0,K=((L=A.suffix)==null?void 0:L.length)??0,U=$.substring(k+3,$.length-K-1),q=A.suffix||A.prefix?B.substring(k,B.length-K):B;q&&(s[U]=decodeURIComponent(q))}else if(A.kind===2){const $=A,k=e.substring(_+(((M=$.prefix)==null?void 0:M.length)??0),e.length-(((N=$.suffix)==null?void 0:N.length)??0)),K=decodeURIComponent(k);s["*"]=K,s._splat=K;break}}return l.rawParams&&Object.assign(s,l.rawParams),[s,{part:u,node:f,path:d,segment:h}]}function Ay(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function I8(e){const t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function B8(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:L}=p;let{extract:M,rawParams:N}=p;if(b.kind===2&&b.route&&!bc(h,p))continue;if(b.parse){if(!Wg(e,t,p))continue;N=p.rawParams,M=p.extract}r&&b.route&&b.kind!==ua&&bc(d,p)&&(d=p);const A=v===u;if(A&&(b.route&&(!s||b.kind===ua||b.kind===2)&&bc(h,p)&&(h=p),!b.optional&&!b.wildcard&&!b.index&&!b.pathless))continue;const B=A?void 0:t[v];let _;if(A&&b.index){const $={node:b.index,index:v,skipped:w,depth:x+1,statics:T,dynamics:C,optionals:L,extract:M,rawParams:N};let k=!0;if(b.index.parse&&(Wg(e,t,$)||(k=!1)),k){if(!C&&!L&&!w&&H8(T,u))return $;bc(h,$)&&(h=$)}}if(b.wildcard)for(let $=b.wildcard.length-1;$>=0;$--){const k=b.wildcard[$],{prefix:K,suffix:U}=k;if(!(K&&(A||!(k.caseSensitive?B:_??(_=B.toLowerCase())).startsWith(K)))){if(U){if(A)continue;const q=t.slice(v).join("/").slice(-U.length);if((k.caseSensitive?q:q.toLowerCase())!==U)continue}f.push({node:k,index:u,skipped:w,depth:x+1,statics:T,dynamics:C,optionals:L,extract:M,rawParams:N})}}if(b.optional){const $=w|1<<x,k=x+1;for(let K=b.optional.length-1;K>=0;K--){const U=b.optional[K];f.push({node:U,index:v,skipped:$,depth:k,statics:T,dynamics:C,optionals:L,extract:M,rawParams:N})}if(!A)for(let K=b.optional.length-1;K>=0;K--){const U=b.optional[K],{prefix:q,suffix:ne}=U;if(q||ne){const le=U.caseSensitive?B:_??(_=B.toLowerCase());if(q&&!le.startsWith(q)||ne&&!le.endsWith(ne))continue}f.push({node:U,index:v+1,skipped:w,depth:k,statics:T,dynamics:C,optionals:L+gc(u,v),extract:M,rawParams:N})}}if(!A&&b.dynamic&&B)for(let $=b.dynamic.length-1;$>=0;$--){const k=b.dynamic[$],{prefix:K,suffix:U}=k;if(K||U){const q=k.caseSensitive?B:_??(_=B.toLowerCase());if(K&&!q.startsWith(K)||U&&!q.endsWith(U))continue}f.push({node:k,index:v+1,skipped:w,depth:x+1,statics:T,dynamics:C+gc(u,v),optionals:L,extract:M,rawParams:N})}if(!A&&b.staticInsensitive){const $=b.staticInsensitive.get(_??(_=B.toLowerCase()));$&&f.push({node:$,index:v+1,skipped:w,depth:x+1,statics:T+gc(u,v),dynamics:C,optionals:L,extract:M,rawParams:N})}if(!A&&b.static){const $=b.static.get(B);$&&f.push({node:$,index:v+1,skipped:w,depth:x+1,statics:T+gc(u,v),dynamics:C,optionals:L,extract:M,rawParams:N})}if(b.pathless){const $=x+1;for(let k=b.pathless.length-1;k>=0;k--){const K=b.pathless[k];f.push({node:K,index:v,skipped:w,depth:$,statics:T,dynamics:C,optionals:L,extract:M,rawParams:N})}}}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 gc(e,t){return 2**(e-t-1)}function H8(e,t){return e===2**(t-1)-1}function Wg(e,t,l){let r,i;try{[r,i]=My(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 bc(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 Oc(e){return Oh(e.filter(t=>t!==void 0).join("/"))}function Oh(e){return e.replace(/\/{2,}/g,"/")}function Ly(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 ky(e){return Tl(Ly(e))}function qc(e,t){return e!=null&&e.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function K8(e,t,l){return qc(e,l)===qc(t,l)}function U8({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=Oh(f.join("/"))||"/";return u&&r&&r.set(u,d),d}function V8(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 o0(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=>Qg(i,l)).join("/"):Qg(r,l)}function Zg({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=Ry(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=o0("_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=o0(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),L=o0(w,t,l)??"";h+="/"+T+L+C;continue}}return e.endsWith("/")&&(h+="/"),{usedParams:s,interpolatedPath:h||"/",isMissingParams:i}}function Qg(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 F8(){try{return sessionStorage}catch{return}}const _8="tsr-scroll-restoration-v1_3",si=F8();function G8(){try{return JSON.parse((si==null?void 0:si.getItem("tsr-scroll-restoration-v1_3"))||"{}")}catch{return{}}}function q8(){try{si==null||si.setItem(_8,JSON.stringify(oa))}catch{}}const oa=G8(),Jg="data-scroll-restoration-id",Y8=e=>e.state.__TSR_key||e.href;function X8(e){const t=e.getAttribute(Jg);if(t)return`[${Jg}="${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 vc=!1;const jc="window";function F0(e){try{return typeof e=="function"?e():document.querySelector(e)}catch{}}function eb(e){const t=new Set;for(const l of e){if(l===jc)continue;const r=F0(l);r&&t.add(r)}return t}function W8(e,t){const l=e.options.scrollRestoration,r=e._scroll;l&&(r.restoring=!0);const i=e.options.getScrollRestorationKey||Y8,s=new Set,u=f=>{const d=oa[f]||(oa[f]={});for(const h of s)h===document?d[jc]={scrollX,scrollY}:h.isConnected&&(d[X8(h)]={scrollX:h.scrollLeft,scrollY:h.scrollTop})};l&&!r.restoration&&(r.restoration=!0,vc=!1,history.scrollRestoration="manual",document.addEventListener("scroll",f=>{vc||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())),q8()})),!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 L=oa[w];for(const M in C){if(M===jc){if(p)continue}else{const N=F0(M);if(!N||p&&h&&(v??(v=eb(h)),v.has(N)))continue}L||(L=oa[w]={}),L[M]??(L[M]=C[M])}}}vc=!0;try{const C=f.toLocation.hash,L=f.toLocation.state.__hashScrollIntoViewOptions??!0;let M=!1;if(p){!C&&h&&(v??(v=eb(h)));const N=C&&L&&b,A=r.restoring?oa[w]:void 0;if(A)for(const B in A){const{scrollX:_,scrollY:$}=A[B];if(B===jc){if(N)continue;scrollTo({top:$,left:_,behavior:d}),M=!0}else{const k=F0(B);k&&(k.scrollLeft=_,k.scrollTop=$,v==null||v.delete(k))}}if(!C){const B={top:0,left:0,behavior:d};if(M||scrollTo(B),v)for(const _ of v)_.scrollTo(B)}}!M&&C&&L&&((T=document.getElementById(C))==null||T.scrollIntoView(L))}finally{vc=!1}}))}function Z8(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 s0(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function Q8(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]=s0(i):Array.isArray(s)?s.push(s0(i)):l[r]=[s,s0(i)]}return l}const J8=t9(JSON.parse),e9=n9(JSON.stringify,JSON.parse);function t9(e){return t=>{t[0]==="?"&&(t=t.substring(1));const l=Q8(t);for(const r in l){const i=l[r];if(typeof i=="string")try{l[r]=e(i)}catch{}}return l}}function n9(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=Z8(i,r);return s?`?${s}`:""}}const Qa="__root__";function yu(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 l9(e){return{input:({url:t})=>{for(const l of e)t=_0(l,t);return t},output:({url:t})=>{for(let l=e.length-1;l>=0;l--)t=Ny(e[l],t);return t}}}function a9(e){const t=ky(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=Oc(["/",t,s.pathname]),s)}}function _0(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 Ny(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 r9(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),L=l([]),M=l([]),N=l([]),A=r(()=>c0(u,L.get())),B=r(()=>c0(f,M.get())),_=r(()=>c0(d,N.get())),$=r(()=>L.get()[0]),k=r(()=>L.get().some(O=>{var oe;return((oe=u.get(O))==null?void 0:oe.get().status)==="pending"})),K=r(()=>{var O;return{locationHref:w.get().href,resolvedLocationHref:(O=x.get())==null?void 0:O.href,status:h.get()}}),U=r(()=>({status:h.get(),loadedAt:p.get(),isLoading:b.get(),isTransitioning:v.get(),matches:A.get(),location:w.get(),resolvedLocation:x.get(),statusCode:T.get(),redirect:C.get()})),q=zo(64);function ne(O){let oe=q.get(O);return oe||(oe=r(()=>{const J=L.get();for(const G of J){const D=u.get(G);if(D&&D.routeId===O)return D.get()}}),q.set(O,oe)),oe}const le={status:h,loadedAt:p,isLoading:b,isTransitioning:v,location:w,resolvedLocation:x,statusCode:T,redirect:C,matchesId:L,pendingIds:M,cachedIds:N,matches:A,pendingMatches:B,cachedMatches:_,firstId:$,hasPending:k,matchRouteDeps:K,matchStores:u,pendingMatchStores:f,cachedMatchStores:d,__store:U,getRouteMatchStore:ne,setMatches:j,setPending:W,setCached:z};j(e.matches),s==null||s(le);function j(O){u0(O,u,L,l,i)}function W(O){u0(O,f,M,l,i)}function z(O){u0(O,d,N,l,i)}return le}function c0(e,t){const l=[];for(const r of t){const i=e.get(r);i&&l.push(i.get())}return l}function u0(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)}k8(l.get(),s)||l.set(s)})}const G0=e=>{var t;if(!e.rendered)return e.rendered=!0,(t=e.onReady)==null?void 0:t.call(e)},i9=e=>e.stores.matchesId.get().some(t=>{var l;return(l=e.stores.matchStores.get(t))==null?void 0:l.get()._forcePending}),xu=(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},tb=(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},Dy=(e,t)=>{const l=e.router.getMatch(t);return!!(!l||l._nonReactive.dehydrated)},nb=(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))},$y=(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&&!xu(e,t)&&(l.options.loader||l.options.beforeLoad||Py(l))&&typeof i=="number"&&i!==1/0&&(l.options.pendingComponent??((s=e.router.options)==null?void 0:s.defaultPendingComponent))){const u=setTimeout(()=>{G0(e)},i);r._nonReactive.pendingTimeout=u}},o9=(e,t,l)=>{const r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;$y(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()},s9=(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),$y(e,t,r,i);const d=new AbortController;let h=!1;const p=()=>{h||(h=!0,e.updateMatch(t,A=>({...A,isFetching:"beforeLoad",fetchCount:A.fetchCount+1,abortController:d})))},b=()=>{var A;(A=i._nonReactive.beforeLoadPromise)==null||A.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=xu(e,t),L={search:w,abortController:d,params:x,preload:C,context:v,location:e.location,navigate:A=>e.router.navigate({...A,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:C?"preload":T,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},M=A=>{if(A===void 0){e.router.batch(()=>{p(),b()});return}(tn(A)||Ht(A))&&(p(),vo(e,l,A)),e.router.batch(()=>{p(),e.updateMatch(t,B=>({...B,__beforeLoadContext:A})),b()})};let N;try{if(N=r.options.beforeLoad(L),$o(N))return p(),N.catch(A=>{vo(e,l,A)}).then(M)}catch(A){p(),vo(e,l,A)}M(N)},c9=(e,t)=>{const{id:l,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],s=()=>f(),u=()=>s9(e,l,t,i),f=()=>{if(Dy(e,l))return;const d=o9(e,l,i);return $o(d)?d.then(u):u()};return s()},u9=(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}))},zy=(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=xu(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}},lb=async(e,t,l,r,i)=>{var s,u,f,d,h;try{const p=e.router.getMatch(l);try{(!(wy??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(zy(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,L=>({...L,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)}},f9=async(e,t,l)=>{var w,x,T,C;async function r(L,M,N,A,B){const _=Date.now()-M.updatedAt,$=L?B.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:B.options.staleTime??e.router.options.defaultStaleTime??0,k=B.options.shouldReload,K=typeof k=="function"?k(zy(e,t,i,l,B)):k,{status:U,invalid:q}=A,ne=_>=$&&(!!e.forceStaleReload||A.cause==="enter"||N!==void 0&&N!==A.id);u=U==="success"&&(q||(K??ne)),L&&B.options.preload===!1||(u&&!e.sync&&p?(f=!0,(async()=>{var le,j;try{await lb(e,t,i,l,B);const W=e.router.getMatch(i);(le=W._nonReactive.loaderPromise)==null||le.resolve(),(j=W._nonReactive.loadPromise)==null||j.resolve(),W._nonReactive.loaderPromise=void 0,W._nonReactive.loadPromise=void 0}catch(W){tn(W)&&await e.router.navigate(W.options)}})()):U!=="success"||u?await lb(e,t,i,l,B):nb(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(Dy(e,i)){if(!e.router.getMatch(i))return e.matches[l];nb(e,i,l)}else{const L=e.router.getMatch(i),M=e.router.stores.matchesId.get()[l],N=((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,A=xu(e,i);if(L._nonReactive.loaderPromise){if(L.status==="success"&&!e.sync&&!L.preload&&p)return L;await L._nonReactive.loaderPromise;const B=e.router.getMatch(i),_=B._nonReactive.error||B.error;_&&fa(e,B,_),B.status==="pending"&&await r(A,L,N,B,d)}else{const B=A&&!e.router.stores.matchStores.has(i),_=e.router.getMatch(i);_._nonReactive.loaderPromise=pi(),B!==_.preload&&e.updateMatch(i,$=>({...$,preload:B})),await r(A,L,N,_,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,L=>({...L,isFetching:v,invalid:!1})),e.router.getMatch(i)):b};async function ab(e){var v,w;const t=e,l=[];i9(t.router)&&G0(t);let r;for(let x=0;x<t.matches.length;x++){try{const T=c9(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?tb(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(f9(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=tb(t,h);x===void 0&&Rl();const T=t.matches[x],C=t.router.looseRoutesById[T.routeId],L=(v=t.router.options)==null?void 0:v.defaultNotFoundComponent;!C.options.notFoundComponent&&L&&(C.options.notFoundComponent=L),h.routeId=T.routeId;const M=T.routeId===t.router.routeTree.id;t.updateMatch(T.id,N=>({...N,...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],L=t.router.looseRoutesById[C];try{const M=u9(t,T,L);if(M){const N=await M;t.updateMatch(T,A=>({...A,...N}))}}catch(M){console.error(`Error executing head for route ${C}:`,M)}}const b=G0(t);if($o(b)&&await b,h)throw h;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function rb(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=Ic){!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===Ic?(()=>{if(e._componentsPromise===void 0){const r=rb(e,Ic);r?e._componentsPromise=r.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():rb(e,t);return e._lazyPromise?e._lazyPromise.then(l):l()}function Py(e){var t;for(const l of Ic)if((t=e.options[l])!=null&&t.preload)return!0;return!1}const Ic=["component","errorComponent","pendingComponent","notFoundComponent"];var ma="__TSR_index",ib="popstate",ob="beforeunload";function d9(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=Yc(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=sb(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=sb(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 sb(e,t){t||(t={});const l=jh();return{...t,key:l,__TSR_key:l,[ma]:e}}function h9(e){var k,K;const t=typeof document<"u"?window:void 0,l=t.history.pushState,r=t.history.replaceState;let i=[];const s=()=>i,u=U=>i=U,f=(U=>U),d=(()=>Yc(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!((k=t.history.state)!=null&&k.__TSR_key)&&!((K=t.history.state)!=null&&K.key)){const U=jh();t.history.replaceState({[ma]:0,key:U,__TSR_key:U},"")}let h=d(),p,b=!1,v=!1,w=!1,x=!1;const T=()=>h;let C,L;const M=()=>{C&&($._ignoreSubscribers=!0,(C.isPush?t.history.pushState:t.history.replaceState)(C.state,"",C.href),$._ignoreSubscribers=!1,C=void 0,L=void 0,p=void 0)},N=(U,q,ne)=>{const le=f(q);L||(p=h),h=Yc(q,ne),C={href:le,state:ne,isPush:(C==null?void 0:C.isPush)||U==="push"},L||(L=Promise.resolve().then(()=>M()))},A=U=>{h=d(),$.notify({type:U})},B=async()=>{if(v){v=!1;return}const U=d(),q=U.state[ma]-h.state[ma],ne=q===1,le=q===-1,j=!ne&&!le||b;b=!1;const W=j?"GO":le?"BACK":"FORWARD",z=j?{type:"GO",index:q}:{type:le?"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:U,action:W})){v=!0,t.history.go(1),$.notify(z);return}}}h=d(),$.notify(z)},_=U=>{if(x){x=!1;return}let q=!1;const ne=s();if(typeof document<"u"&&ne.length)for(const le of ne){const j=le.enableBeforeUnload??!0;if(j===!0){q=!0;break}if(typeof j=="function"&&j()===!0){q=!0;break}}if(q)return U.preventDefault(),U.returnValue=""},$=d9({getLocation:T,getLength:()=>t.history.length,pushState:(U,q)=>N("push",U,q),replaceState:(U,q)=>N("replace",U,q),back:U=>(U&&(w=!0),x=!0,t.history.back()),forward:U=>{U&&(w=!0),x=!0,t.history.forward()},go:U=>{b=!0,t.history.go(U)},createHref:U=>f(U),flush:M,destroy:()=>{t.history.pushState=l,t.history.replaceState=r,t.removeEventListener(ob,_,{capture:!0}),t.removeEventListener(ib,B)},onBlocked:()=>{p&&h!==p&&(h=p)},getBlockers:s,setBlockers:u,notifyOnIndexChange:!1});return t.addEventListener(ob,_,{capture:!0}),t.addEventListener(ib,B),t.history.pushState=function(...U){const q=l.apply(t.history,U);return $._ignoreSubscribers||A("PUSH"),q},t.history.replaceState=function(...U){const q=r.apply(t.history,U);return $._ignoreSubscribers||A("REPLACE"),q},$}function m9(e){let t=e.replace(/[\x00-\x1f\x7f]/g,"");return t.startsWith("//")&&(t="/"+t.replace(/^\/+/,"")),t}function Yc(e,t){const l=m9(e),r=l.indexOf("#"),i=l.indexOf("?"),s=jh();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 jh(){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 p9=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=V8(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=h9()),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=r9(b9(this.latestLocation),b),W8(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=ky(d);v&&v!=="/"&&b.push(a9({basepath:d})),h&&b.push(h),this.rewrite=b.length===0?void 0:b.length===1?b[0]:l9(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=j8(this.routeTree,this.options.caseSensitive,(r,i)=>{r.init({originalIndex:i})});return this.options.routeMasks&&D8(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 L=this.options.parseSearch(h),M=this.options.stringifySearch(L);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,L),hash:bo(p.slice(1)).path,state:Ya(r==null?void 0:r.state,v)}}const w=new URL(b,this.origin),x=_0(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)=>U8({base:l,to:r.includes("//")?Oh(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=>v9({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,ne;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 le=this.getMatchedRoutes(w);C=le.matchedRoutes,this.options.notFoundRoute&&(!le.foundRoute||le.foundRoute.path!=="/"&&le.routeParams["**"])&&(C=[...C,this.options.notFoundRoute])}if(C.length&&Cy(x))for(const le of C){const j=((q=le.options.params)==null?void 0:q.stringify)??le.options.stringifyParams;if(j)try{Object.assign(x,j(x))}catch{}}const L=l.leaveParams?w:bo(Zg({path:w,params:x,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let M=p;if(l._includeValidateSearch&&((ne=this.options.search)!=null&&ne.strict)){const le={};C.forEach(j=>{if(j.options.validateSearch)try{Object.assign(le,Bc(j.options.validateSearch,{...le,...M}))}catch{}}),M=le}M=y9({search:M,dest:s,destRoutes:C,_includeValidateSearch:l._includeValidateSearch}),M=Ua(p,M);const N=this.options.stringifySearch(M),A=s.hash===!0?u.hash:s.hash?qa(s.hash,u.hash):void 0,B=A?`#${A}`:"";let _=s.state===!0?u.state:s.state?qa(s.state,u.state):{};_=Ya(u.state,_);const $=`${L}${N}${B}`;let k,K,U=!1;if(this.rewrite){const le=new URL($,this.origin),j=Ny(this.rewrite,le);k=le.href.replace(le.origin,""),j.origin!==this.origin?(K=j.href,U=!0):K=j.pathname+j.search+j.hash}else k=L8($),K=k;return{publicHref:K,href:k,pathname:L,search:M,searchStr:N,state:_,hash:A??"",external:U,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=$8(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=Yc(f,{__TSR_index:l?b:b+1}),w=new URL(v.pathname,this.origin);d.to=_0(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(Gc(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 ab({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,N;let x=null,T=null,C=null,L=null;this.batch(()=>{const A=this.stores.pendingMatches.get(),B=A.length,_=this.stores.matches.get();x=B?_.filter(K=>!this.stores.pendingMatchStores.has(K.id)):null;const $=new Set;for(const K of this.stores.pendingMatchStores.values())K.routeId&&$.add(K.routeId);const k=new Set;for(const K of this.stores.matchStores.values())K.routeId&&k.add(K.routeId);T=B?_.filter(K=>!$.has(K.routeId)):null,C=B?A.filter(K=>!k.has(K.routeId)):null,L=B?A.filter(K=>k.has(K.routeId)):_,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),B&&(this.stores.setMatches(A),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...x.filter(K=>K.status!=="error"&&K.status!=="notFound"&&K.status!=="redirected")]),this.clearExpiredCache())});for(const[A,B]of[[T,"onLeave"],[C,"onEnter"],[L,"onStay"]])if(A)for(const _ of A)(N=(M=this.looseRoutesById[_.routeId].options)[B])==null||N.call(M,_)})})}})}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&&Gc(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 ab({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=z8(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??e9,parseSearch:e.parseSearch??J8,protocolAllowlist:e.protocolAllowlist??A8}),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=Ay(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?S9(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,L;{const j=(x==null?void 0:x.search)??e.search,W=(x==null?void 0:x._strictSearch)??void 0;try{const z=Bc(w.options.validateSearch,{...j})??void 0;T={...j,...z},C={...W,...z},L=void 0}catch(z){let O=z;if(z instanceof Xc||(O=new Xc(z.message,{cause:z})),t!=null&&t.throwOnError)throw O;T=j,C={},L=O}}const M=((b=(p=w.options).loaderDeps)==null?void 0:b.call(p,{search:T}))??"",N=M?JSON.stringify(M):"",{interpolatedPath:A,usedParams:B}=Zg({path:w.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),_=w.id+A+N,$=this.getMatch(_),k=h.get(w.id),K=($==null?void 0:$._strictParams)??B;let U;if(!$)try{cb(w,K)}catch(j){if(Ht(j)||tn(j)?U=j:U=new g9(j.message,{cause:j}),t!=null&&t.throwOnError)throw U}Object.assign(i,K);const q=k?"stay":"enter";let ne;if($)ne={...$,cause:q,params:(k==null?void 0:k.params)??i,_strictParams:K,search:Ua(k?k.search:$.search,T),_strictSearch:C};else{const j=w.options.loader||w.options.beforeLoad||w.lazyFn||Py(w)?"pending":"success";ne={id:_,ssr:w.options.ssr,index:v,routeId:w.id,params:(k==null?void 0:k.params)??i,_strictParams:K,pathname:A,updatedAt:Date.now(),search:k?Ua(k.search,T):T,_strictSearch:C,searchError:void 0,status:j,isFetching:!1,error:void 0,paramsError:U,__routeContext:void 0,_nonReactive:{loadPromise:pi()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:q,loaderDeps:k?Ya(k.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||(ne.globalNotFound=f===w.id),ne.searchError=L;const le=this.getParentContext(x);ne.context={...le,...ne.__routeContext,...ne.__beforeLoadContext},d[v]=ne}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 L=d[v-1],M=this.getParentContext(L);if(x.options.context){const N={deps:w.loaderDeps,params:w.params,context:M??{},location:e,navigate:A=>this.navigate({...A,_fromLocation:e}),buildLocation:this.buildLocation,cause:w.cause,abortController:w.abortController,preload:!!w.preload,matches:d,routeId:x.id};w.__routeContext=x.options.context(N)??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,Bc(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{cb(w,v)}catch{}h=v}const p={matchedRoutes:r,fullPath:s.fullPath,search:u,params:h};return this.lightweightCache.set(e,[t,p]),p}},Xc=class extends Error{},g9=class extends Error{};function b9(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Bc(e,t){if(e==null)return{};if("~standard"in e){const l=e["~standard"].validate(t);if(l instanceof Promise)throw new Xc("Async validation not supported");if(l.issues)throw new Xc(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 v9({pathname:e,routesById:t,processedTree:l}){const r=Object.create(null),i=Tl(e);let s;const u=P8(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 y9({search:e,dest:t,destRoutes:l,_includeValidateSearch:r}){return x9(l)(e,t,r??!1)}function x9(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=Bc(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 S9(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 cb(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 w9="Error preloading route! ☝️";var Oy=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=Ly(i));const s=(l==null?void 0:l.id)||i;let u=r?Qa:Oc([this.parentRoute.id==="__root__"?"":this.parentRoute.id,s]);i==="__root__"&&(i="/"),u!=="__root__"&&(u=Oc(["/",u]));const f=u==="__root__"?"/":Oc([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=>yu({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.")}},E9=class extends Oy{constructor(e){super(e)}};function Ih(e){const t=e.errorComponent??Bh;return E.jsx(C9,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:l,reset:r})=>l?y.createElement(t,{error:l,reset:r}):e.children})}var C9=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 Bh({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 T9({children:e,fallback:t=null}){return jy()?E.jsx(F.Fragment,{children:e}):E.jsx(F.Fragment,{children:t})}function jy(){return F.useSyncExternalStore(R9,()=>!0,()=>!1)}function R9(){return()=>{}}var Iy=y.createContext(null);function gn(e){return y.useContext(Iy)}var Su=y.createContext(void 0),M9=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 A9({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,L=C.nextSub!==void 0;if(L?(h=b.value,b=b.prev):h=C,w){if(e(p)){L&&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 L9(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 q0=[];let Hc=0;const{link:ub,unlink:k9,propagate:N9,checkDirty:By,shallowPropagate:fb}=A9({update(e){return e._update()},notify(e){q0[Y0++]=e,e.flags&=~rt.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=rt.Mutable|rt.Dirty,Wc(e))}});let yc=0,Y0=0,tl,X0=0;function Hy(e){try{++X0,e()}finally{--X0||Ky()}}function Wc(e){const t=e.depsTail;let l=t!==void 0?t.nextDep:e.deps;for(;l!==void 0;)l=k9(l,e)}function Ky(){if(!(X0>0)){for(;yc<Y0;){const e=q0[yc];q0[yc++]=void 0,e.notify()}yc=0,Y0=0}}function db(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&&ub(i,tl,Hc),i._snapshot},subscribe(s){const u=L9(s),f={current:!1},d=D9(()=>{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,++Hc,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),Wc(i)}}};return l?(i.flags=rt.Mutable|rt.Dirty,i.get=function(){const s=i.flags;if(s&rt.Dirty||s&rt.Pending&&By(i.deps,i)){if(i._update()){const u=i.subs;u!==void 0&&fb(u)}}else s&rt.Pending&&(i.flags=s&~rt.Pending);return tl!==void 0&&ub(i,tl,Hc),i._snapshot}):i.set=function(s){if(i._update(s)){const u=i.subs;u!==void 0&&(N9(u),fb(u),Ky())}},i}function D9(e){const t=()=>{const r=tl;tl=l,++Hc,l.depsTail=void 0,l.flags=rt.Watching|rt.RecursedCheck;try{return e()}finally{tl=r,l.flags&=~rt.RecursedCheck,Wc(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&&By(this.deps,this)?t():this.flags=rt.Watching},stop(){this.flags=rt.None,this.depsTail=void 0,Wc(this)}};return t(),l}var f0={exports:{}},d0={},h0={exports:{}},m0={};/**
|
|
49
|
+
`+c.stack}}var pt=Object.prototype.hasOwnProperty,jn=e.unstable_scheduleCallback,Si=e.unstable_cancelCallback,Jo=e.unstable_shouldYield,ju=e.unstable_requestPaint,It=e.unstable_now,Ye=e.unstable_getCurrentPriorityLevel,Nt=e.unstable_ImmediatePriority,Gn=e.unstable_UserBlockingPriority,fr=e.unstable_NormalPriority,_7=e.unstable_LowPriority,$2=e.unstable_IdlePriority,G7=e.log,q7=e.unstable_setDisableYieldValue,wi=null,an=null;function $l(n){if(typeof G7=="function"&&q7(n),an&&typeof an.setStrictMode=="function")try{an.setStrictMode(wi,n)}catch{}}var rn=Math.clz32?Math.clz32:W7,Y7=Math.log,X7=Math.LN2;function W7(n){return n>>>=0,n===0?32:31-(Y7(n)/X7|0)|0}var es=256,ts=262144,ns=4194304;function Ea(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 ls(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=Ea(c):(S&=R,S!==0?m=Ea(S):o||(o=R&~n,o!==0&&(m=Ea(o))))):(R=c&~g,R!==0?m=Ea(R):S!==0?m=Ea(S):o||(o=c&~n,o!==0&&(m=Ea(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 Ci(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function Z7(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 z2(){var n=ns;return ns<<=1,(ns&62914560)===0&&(ns=4194304),n}function Iu(n){for(var a=[],o=0;31>o;o++)a.push(n);return a}function Ei(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Q7(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,X=n.hiddenUpdates;for(o=S&~o;0<o;){var te=31-rn(o),re=1<<te;R[te]=0,P[te]=-1;var Z=X[te];if(Z!==null)for(X[te]=null,te=0;te<Z.length;te++){var ee=Z[te];ee!==null&&(ee.lane&=-536870913)}o&=~re}c!==0&&P2(n,c,0),g!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=g&~(S&~a))}function P2(n,a,o){n.pendingLanes|=a,n.suspendedLanes&=~a;var c=31-rn(a);n.entangledLanes|=a,n.entanglements[c]=n.entanglements[c]|1073741824|o&261930}function O2(n,a){var o=n.entangledLanes|=a;for(n=n.entanglements;o;){var c=31-rn(o),m=1<<c;m&a|n[c]&a&&(n[c]|=a),o&=~m}}function j2(n,a){var o=a&-a;return o=(o&42)!==0?1:Bu(o),(o&(n.suspendedLanes|a))!==0?0:o}function Bu(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 Hu(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function I2(){var n=O.p;return n!==0?n:(n=window.event,n===void 0?32:Cg(n.type))}function B2(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,Ft="__reactProps$"+zl,dr="__reactContainer$"+zl,Ku="__reactEvents$"+zl,J7="__reactListeners$"+zl,ex="__reactHandles$"+zl,H2="__reactResources$"+zl,Ti="__reactMarker$"+zl;function Uu(n){delete n[Dt],delete n[Ft],delete n[Ku],delete n[J7],delete n[ex]}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=og(n);n!==null;){if(o=n[Dt])return o;n=og(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[H2];return a||(a=n[H2]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Tt(n){n[Ti]=!0}var K2=new Set,U2={};function Ta(n,a){gr(n,a),gr(n+"Capture",a)}function gr(n,a){for(U2[n]=a,n=0;n<a.length;n++)K2.add(a[n])}var tx=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]*$"),V2={},F2={};function nx(n){return pt.call(F2,n)?!0:pt.call(V2,n)?!1:tx.test(n)?F2[n]=!0:(V2[n]=!0,!1)}function as(n,a,o){if(nx(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 rs(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 _2(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function lx(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 Vu(n){if(!n._valueTracker){var a=_2(n)?"checked":"value";n._valueTracker=lx(n,a,""+n[a])}}function G2(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var o=a.getValue(),c="";return n&&(c=_2(n)?n.checked?"true":"false":n.value),n=c,n!==o?(a.setValue(n),!0):!1}function is(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 ax=/[\n"\\]/g;function Cn(n){return n.replace(ax,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Fu(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?_u(n,S,wn(a)):o!=null?_u(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 q2(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)){Vu(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),Vu(n)}function _u(n,a,o){a==="number"&&is(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 Y2(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 X2(n,a,o,c){if(a==null){if(c!=null){if(o!=null)throw Error(r(92));if(W(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),Vu(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 rx=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 W2(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||rx.has(a)?a==="float"?n.cssFloat=o:n[a]=(""+o).trim():n[a]=o+"px"}function Z2(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&&W2(n,m,c)}else for(var g in a)a.hasOwnProperty(g)&&W2(n,g,a[g])}function Gu(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 ix=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"]]),ox=/^[\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 os(n){return ox.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function il(){}var qu=null;function Yu(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 Q2(n){var a=mr(n);if(a&&(n=a.stateNode)){var o=n[Ft]||null;e:switch(n=a.stateNode,a.type){case"input":if(Fu(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="'+Cn(""+a)+'"][type="radio"]'),a=0;a<o.length;a++){var c=o[a];if(c!==n&&c.form===n.form){var m=c[Ft]||null;if(!m)throw Error(r(90));Fu(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&&G2(c)}break e;case"textarea":Y2(n,o.value,o.defaultValue);break e;case"select":a=o.value,a!=null&&br(n,!!o.multiple,a,!1)}}}var Xu=!1;function J2(n,a,o){if(Xu)return n(a,o);Xu=!0;try{var c=n(a);return c}finally{if(Xu=!1,(yr!==null||xr!==null)&&(Ys(),yr&&(a=yr,n=xr,xr=yr=null,Q2(a),n)))for(a=0;a<n.length;a++)Q2(n[a])}}function Mi(n,a){var o=n.stateNode;if(o===null)return null;var c=o[Ft]||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"),Wu=!1;if(ol)try{var Ai={};Object.defineProperty(Ai,"passive",{get:function(){Wu=!0}}),window.addEventListener("test",Ai,Ai),window.removeEventListener("test",Ai,Ai)}catch{Wu=!1}var Pl=null,Zu=null,ss=null;function e1(){if(ss)return ss;var n,a=Zu,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 ss=m.slice(n,1<c?1-c:void 0)}function cs(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 us(){return!0}function t1(){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)?us:t1,this.isPropagationStopped=t1,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=us)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=us)},persist:function(){},isPersistent:us}),a}var Ra={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fs=_t(Ra),Li=b({},Ra,{view:0,detail:0}),sx=_t(Li),Qu,Ju,ki,ds=b({},Li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tf,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"?(Qu=n.screenX-ki.screenX,Ju=n.screenY-ki.screenY):Ju=Qu=0,ki=n),Qu)},movementY:function(n){return"movementY"in n?n.movementY:Ju}}),n1=_t(ds),cx=b({},ds,{dataTransfer:0}),ux=_t(cx),fx=b({},Li,{relatedTarget:0}),ef=_t(fx),dx=b({},Ra,{animationName:0,elapsedTime:0,pseudoElement:0}),hx=_t(dx),mx=b({},Ra,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),px=_t(mx),gx=b({},Ra,{data:0}),l1=_t(gx),bx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vx={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"},yx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xx(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=yx[n])?!!a[n]:!1}function tf(){return xx}var Sx=b({},Li,{key:function(n){if(n.key){var a=bx[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=cs(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?vx[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tf,charCode:function(n){return n.type==="keypress"?cs(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?cs(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),wx=_t(Sx),Cx=b({},ds,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),a1=_t(Cx),Ex=b({},Li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tf}),Tx=_t(Ex),Rx=b({},Ra,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mx=_t(Rx),Ax=b({},ds,{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}),Lx=_t(Ax),kx=b({},Ra,{newState:0,oldState:0}),Nx=_t(kx),Dx=[9,13,27,32],nf=ol&&"CompositionEvent"in window,Ni=null;ol&&"documentMode"in document&&(Ni=document.documentMode);var $x=ol&&"TextEvent"in window&&!Ni,r1=ol&&(!nf||Ni&&8<Ni&&11>=Ni),i1=" ",o1=!1;function s1(n,a){switch(n){case"keyup":return Dx.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function c1(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Sr=!1;function zx(n,a){switch(n){case"compositionend":return c1(a);case"keypress":return a.which!==32?null:(o1=!0,i1);case"textInput":return n=a.data,n===i1&&o1?null:n;default:return null}}function Px(n,a){if(Sr)return n==="compositionend"||!nf&&s1(n,a)?(n=e1(),ss=Zu=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 r1&&a.locale!=="ko"?null:a.data;default:return null}}var Ox={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 u1(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!Ox[n.type]:a==="textarea"}function f1(n,a,o,c){yr?xr?xr.push(c):xr=[c]:yr=c,a=tc(a,"onChange"),0<a.length&&(o=new fs("onChange","change",null,o,c),n.push({event:o,listeners:a}))}var Di=null,$i=null;function jx(n){qp(n,0)}function hs(n){var a=Ri(n);if(G2(a))return n}function d1(n,a){if(n==="change")return a}var h1=!1;if(ol){var lf;if(ol){var af="oninput"in document;if(!af){var m1=document.createElement("div");m1.setAttribute("oninput","return;"),af=typeof m1.oninput=="function"}lf=af}else lf=!1;h1=lf&&(!document.documentMode||9<document.documentMode)}function p1(){Di&&(Di.detachEvent("onpropertychange",g1),$i=Di=null)}function g1(n){if(n.propertyName==="value"&&hs($i)){var a=[];f1(a,$i,n,Yu(n)),J2(jx,a)}}function Ix(n,a,o){n==="focusin"?(p1(),Di=a,$i=o,Di.attachEvent("onpropertychange",g1)):n==="focusout"&&p1()}function Bx(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return hs($i)}function Hx(n,a){if(n==="click")return hs(a)}function Kx(n,a){if(n==="input"||n==="change")return hs(a)}function Ux(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var on=typeof Object.is=="function"?Object.is:Ux;function zi(n,a){if(on(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)||!on(n[m],a[m]))return!1}return!0}function b1(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function v1(n,a){var o=b1(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=b1(o)}}function y1(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?y1(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function x1(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=is(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=is(n.document)}return a}function rf(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 Vx=ol&&"documentMode"in document&&11>=document.documentMode,wr=null,of=null,Pi=null,sf=!1;function S1(n,a,o){var c=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;sf||wr==null||wr!==is(c)||(c=wr,"selectionStart"in c&&rf(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=tc(of,"onSelect"),0<c.length&&(a=new fs("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 Cr={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")},cf={},w1={};ol&&(w1=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);function Aa(n){if(cf[n])return cf[n];if(!Cr[n])return n;var a=Cr[n],o;for(o in a)if(a.hasOwnProperty(o)&&o in w1)return cf[n]=a[o];return n}var C1=Aa("animationend"),E1=Aa("animationiteration"),T1=Aa("animationstart"),Fx=Aa("transitionrun"),_x=Aa("transitionstart"),Gx=Aa("transitioncancel"),R1=Aa("transitionend"),M1=new Map,uf="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(" ");uf.push("scrollEnd");function In(n,a){M1.set(n,a),Ta(a,[n])}var ms=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)},En=[],Er=0,ff=0;function ps(){for(var n=Er,a=ff=Er=0;a<n;){var o=En[a];En[a++]=null;var c=En[a];En[a++]=null;var m=En[a];En[a++]=null;var g=En[a];if(En[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&&A1(o,m,g)}}function gs(n,a,o,c){En[Er++]=n,En[Er++]=a,En[Er++]=o,En[Er++]=c,ff|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function df(n,a,o,c){return gs(n,a,o,c),bs(n)}function La(n,a){return gs(n,null,null,a),bs(n)}function A1(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-rn(o),n=g.hiddenUpdates,c=n[m],c===null?n[m]=[a]:c.push(a),a.lane=o|536870912),g):null}function bs(n){if(50<lo)throw lo=0,Sd=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 qx(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 sn(n,a,o,c){return new qx(n,a,o,c)}function hf(n){return n=n.prototype,!(!n||!n.isReactComponent)}function sl(n,a){var o=n.alternate;return o===null?(o=sn(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 L1(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 vs(n,a,o,c,m,g){var S=0;if(c=n,typeof n=="function")hf(n)&&(S=1);else if(typeof n=="string")S=Q8(n,o,ce.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case K:return n=sn(31,o,a,m),n.elementType=K,n.lanes=g,n;case T:return ka(o.children,m,g,a);case E:S=8,m|=24;break;case L:return n=sn(12,o,a,m|2),n.elementType=L,n.lanes=g,n;case B:return n=sn(13,o,a,m),n.elementType=B,n.lanes=g,n;case _:return n=sn(19,o,a,m),n.elementType=_,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case N:S=10;break e;case M:S=9;break e;case A:S=11;break e;case $:S=14;break e;case k:S=16,c=null;break e}S=29,o=Error(r(130,n===null?"null":typeof n,"")),c=null}return a=sn(S,o,a,m),a.elementType=n,a.type=c,a.lanes=g,a}function ka(n,a,o,c){return n=sn(7,n,c,a),n.lanes=o,n}function mf(n,a,o){return n=sn(6,n,null,a),n.lanes=o,n}function k1(n){var a=sn(18,null,null,0);return a.stateNode=n,a}function pf(n,a,o){return a=sn(4,n.children!==null?n.children:[],n.key,a),a.lanes=o,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}var N1=new WeakMap;function Tn(n,a){if(typeof n=="object"&&n!==null){var o=N1.get(n);return o!==void 0?o:(a={value:n,source:a,stack:Sn(a)},N1.set(n,a),a)}return{value:n,source:a,stack:Sn(a)}}var Rr=[],Mr=0,ys=null,Oi=0,Rn=[],Mn=0,Ol=null,qn=1,Yn="";function cl(n,a){Rr[Mr++]=Oi,Rr[Mr++]=ys,ys=n,Oi=a}function D1(n,a,o){Rn[Mn++]=qn,Rn[Mn++]=Yn,Rn[Mn++]=Ol,Ol=n;var c=qn;n=Yn;var m=32-rn(c)-1;c&=~(1<<m),o+=1;var g=32-rn(a)+m;if(30<g){var S=m-m%5;g=(c&(1<<S)-1).toString(32),c>>=S,m-=S,qn=1<<32-rn(a)+m|o<<m|c,Yn=g+n}else qn=1<<g|o<<m|c,Yn=n}function gf(n){n.return!==null&&(cl(n,1),D1(n,1,0))}function bf(n){for(;n===ys;)ys=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 $1(n,a){Rn[Mn++]=qn,Rn[Mn++]=Yn,Rn[Mn++]=Ol,qn=a.id,Yn=a.overflow,Ol=n}var $t=null,nt=null,Ie=!1,jl=null,An=!1,vf=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)),vf}function z1(n){var a=n.stateNode,o=n.type,c=n.memoizedProps;switch(a[Dt]=n,a[Ft]=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),q2(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),X2(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||Zp(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 P1(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(!Ie)return P1(n),Ie=!0,!1;var a=n.tag,o;if((o=a!==3&&a!==27)&&((o=a===5)&&(o=n.type,o=!(o!=="form"&&o!=="button")||Od(n.type,n.memoizedProps)),o=!o),o&&nt&&Il(n),P1(n),a===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));nt=ig(n)}else if(a===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));nt=ig(n)}else a===27?(a=nt,Ql(n.type)?(n=Kd,Kd=null,nt=n):nt=a):nt=$t?kn(n.stateNode.nextSibling):null;return!0}function Na(){nt=$t=null,Ie=!1}function yf(){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 xf=D(null),Da=null,ul=null;function Bl(n,a,o){se(xf,a._currentValue),a._currentValue=o}function fl(n){n._currentValue=xf.current,Q(xf)}function Sf(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 wf(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),Sf(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),Sf(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;on(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&&wf(a,n,o,c),a.flags|=262144}function xs(n){for(n=n.firstContext;n!==null;){if(!on(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 O1(Da,n)}function Ss(n,a){return Da===null&&$a(n),O1(n,a)}function O1(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 Yx=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()})}},Xx=e.unstable_scheduleCallback,Wx=e.unstable_NormalPriority,gt={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Cf(){return{controller:new Yx,data:new Map,refCount:0}}function Ii(n){n.refCount--,n.refCount===0&&Xx(Wx,function(){n.controller.abort()})}var Bi=null,Ef=0,kr=0,Nr=null;function Zx(n,a){if(Bi===null){var o=Bi=[];Ef=0,kr=Md(),Nr={status:"pending",value:void 0,then:function(c){o.push(c)}}}return Ef++,a.then(j1,j1),a}function j1(){if(--Ef===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 Qx(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 I1=z.S;z.S=function(n,a){Sp=It(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&Zx(n,a),I1!==null&&I1(n,a)};var za=D(null);function Tf(){var n=za.current;return n!==null?n:Qe.pooledCache}function ws(n,a){a===null?se(za,za.current):se(za,a.pool)}function B1(){var n=Tf();return n===null?null:{parent:gt._currentValue,pool:n}}var Dr=Error(r(460)),Rf=Error(r(474)),Cs=Error(r(542)),Es={then:function(){}};function H1(n){return n=n.status,n==="fulfilled"||n==="rejected"}function K1(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,V1(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,V1(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 U1(){if(Oa===null)throw Error(r(459));var n=Oa;return Oa=null,n}function V1(n){if(n===Dr||n===Cs)throw Error(r(483))}var $r=null,Hi=0;function Ts(n){var a=Hi;return Hi+=1,$r===null&&($r=[]),K1($r,n,a)}function Ki(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function Rs(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 F1(n){function a(V,I){if(n){var Y=V.deletions;Y===null?(V.deletions=[I],V.flags|=16):Y.push(I)}}function o(V,I){if(!n)return null;for(;I!==null;)a(V,I),I=I.sibling;return null}function c(V){for(var I=new Map;V!==null;)V.key!==null?I.set(V.key,V):I.set(V.index,V),V=V.sibling;return I}function m(V,I){return V=sl(V,I),V.index=0,V.sibling=null,V}function g(V,I,Y){return V.index=Y,n?(Y=V.alternate,Y!==null?(Y=Y.index,Y<I?(V.flags|=67108866,I):Y):(V.flags|=67108866,I)):(V.flags|=1048576,I)}function S(V){return n&&V.alternate===null&&(V.flags|=67108866),V}function R(V,I,Y,ae){return I===null||I.tag!==6?(I=mf(Y,V.mode,ae),I.return=V,I):(I=m(I,Y),I.return=V,I)}function P(V,I,Y,ae){var Se=Y.type;return Se===T?te(V,I,Y.props.children,ae,Y.key):I!==null&&(I.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===k&&Pa(Se)===I.type)?(I=m(I,Y.props),Ki(I,Y),I.return=V,I):(I=vs(Y.type,Y.key,Y.props,null,V.mode,ae),Ki(I,Y),I.return=V,I)}function X(V,I,Y,ae){return I===null||I.tag!==4||I.stateNode.containerInfo!==Y.containerInfo||I.stateNode.implementation!==Y.implementation?(I=pf(Y,V.mode,ae),I.return=V,I):(I=m(I,Y.children||[]),I.return=V,I)}function te(V,I,Y,ae,Se){return I===null||I.tag!==7?(I=ka(Y,V.mode,ae,Se),I.return=V,I):(I=m(I,Y),I.return=V,I)}function re(V,I,Y){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return I=mf(""+I,V.mode,Y),I.return=V,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case w:return Y=vs(I.type,I.key,I.props,null,V.mode,Y),Ki(Y,I),Y.return=V,Y;case x:return I=pf(I,V.mode,Y),I.return=V,I;case k:return I=Pa(I),re(V,I,Y)}if(W(I)||ne(I))return I=ka(I,V.mode,Y,null),I.return=V,I;if(typeof I.then=="function")return re(V,Ts(I),Y);if(I.$$typeof===N)return re(V,Ss(V,I),Y);Rs(V,I)}return null}function Z(V,I,Y,ae){var Se=I!==null?I.key:null;if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Se!==null?null:R(V,I,""+Y,ae);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case w:return Y.key===Se?P(V,I,Y,ae):null;case x:return Y.key===Se?X(V,I,Y,ae):null;case k:return Y=Pa(Y),Z(V,I,Y,ae)}if(W(Y)||ne(Y))return Se!==null?null:te(V,I,Y,ae,null);if(typeof Y.then=="function")return Z(V,I,Ts(Y),ae);if(Y.$$typeof===N)return Z(V,I,Ss(V,Y),ae);Rs(V,Y)}return null}function ee(V,I,Y,ae,Se){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return V=V.get(Y)||null,R(I,V,""+ae,Se);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case w:return V=V.get(ae.key===null?Y:ae.key)||null,P(I,V,ae,Se);case x:return V=V.get(ae.key===null?Y:ae.key)||null,X(I,V,ae,Se);case k:return ae=Pa(ae),ee(V,I,Y,ae,Se)}if(W(ae)||ne(ae))return V=V.get(Y)||null,te(I,V,ae,Se,null);if(typeof ae.then=="function")return ee(V,I,Y,Ts(ae),Se);if(ae.$$typeof===N)return ee(V,I,Y,Ss(I,ae),Se);Rs(I,ae)}return null}function be(V,I,Y,ae){for(var Se=null,Ke=null,ye=I,Me=I=0,Oe=null;ye!==null&&Me<Y.length;Me++){ye.index>Me?(Oe=ye,ye=null):Oe=ye.sibling;var Ue=Z(V,ye,Y[Me],ae);if(Ue===null){ye===null&&(ye=Oe);break}n&&ye&&Ue.alternate===null&&a(V,ye),I=g(Ue,I,Me),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue,ye=Oe}if(Me===Y.length)return o(V,ye),Ie&&cl(V,Me),Se;if(ye===null){for(;Me<Y.length;Me++)ye=re(V,Y[Me],ae),ye!==null&&(I=g(ye,I,Me),Ke===null?Se=ye:Ke.sibling=ye,Ke=ye);return Ie&&cl(V,Me),Se}for(ye=c(ye);Me<Y.length;Me++)Oe=ee(ye,V,Me,Y[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(V,la)}),Ie&&cl(V,Me),Se}function we(V,I,Y,ae){if(Y==null)throw Error(r(151));for(var Se=null,Ke=null,ye=I,Me=I=0,Oe=null,Ue=Y.next();ye!==null&&!Ue.done;Me++,Ue=Y.next()){ye.index>Me?(Oe=ye,ye=null):Oe=ye.sibling;var la=Z(V,ye,Ue.value,ae);if(la===null){ye===null&&(ye=Oe);break}n&&ye&&la.alternate===null&&a(V,ye),I=g(la,I,Me),Ke===null?Se=la:Ke.sibling=la,Ke=la,ye=Oe}if(Ue.done)return o(V,ye),Ie&&cl(V,Me),Se;if(ye===null){for(;!Ue.done;Me++,Ue=Y.next())Ue=re(V,Ue.value,ae),Ue!==null&&(I=g(Ue,I,Me),Ke===null?Se=Ue:Ke.sibling=Ue,Ke=Ue);return Ie&&cl(V,Me),Se}for(ye=c(ye);!Ue.done;Me++,Ue=Y.next())Ue=ee(ye,V,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(cS){return a(V,cS)}),Ie&&cl(V,Me),Se}function Ze(V,I,Y,ae){if(typeof Y=="object"&&Y!==null&&Y.type===T&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case w:e:{for(var Se=Y.key;I!==null;){if(I.key===Se){if(Se=Y.type,Se===T){if(I.tag===7){o(V,I.sibling),ae=m(I,Y.props.children),ae.return=V,V=ae;break e}}else if(I.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===k&&Pa(Se)===I.type){o(V,I.sibling),ae=m(I,Y.props),Ki(ae,Y),ae.return=V,V=ae;break e}o(V,I);break}else a(V,I);I=I.sibling}Y.type===T?(ae=ka(Y.props.children,V.mode,ae,Y.key),ae.return=V,V=ae):(ae=vs(Y.type,Y.key,Y.props,null,V.mode,ae),Ki(ae,Y),ae.return=V,V=ae)}return S(V);case x:e:{for(Se=Y.key;I!==null;){if(I.key===Se)if(I.tag===4&&I.stateNode.containerInfo===Y.containerInfo&&I.stateNode.implementation===Y.implementation){o(V,I.sibling),ae=m(I,Y.children||[]),ae.return=V,V=ae;break e}else{o(V,I);break}else a(V,I);I=I.sibling}ae=pf(Y,V.mode,ae),ae.return=V,V=ae}return S(V);case k:return Y=Pa(Y),Ze(V,I,Y,ae)}if(W(Y))return be(V,I,Y,ae);if(ne(Y)){if(Se=ne(Y),typeof Se!="function")throw Error(r(150));return Y=Se.call(Y),we(V,I,Y,ae)}if(typeof Y.then=="function")return Ze(V,I,Ts(Y),ae);if(Y.$$typeof===N)return Ze(V,I,Ss(V,Y),ae);Rs(V,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Y=""+Y,I!==null&&I.tag===6?(o(V,I.sibling),ae=m(I,Y),ae.return=V,V=ae):(o(V,I),ae=mf(Y,V.mode,ae),ae.return=V,V=ae),S(V)):o(V,I)}return function(V,I,Y,ae){try{Hi=0;var Se=Ze(V,I,Y,ae);return $r=null,Se}catch(ye){if(ye===Dr||ye===Cs)throw ye;var Ke=sn(29,ye,null,V.mode);return Ke.lanes=ae,Ke.return=V,Ke}finally{}}}var ja=F1(!0),_1=F1(!1),Hl=!1;function Mf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Af(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,(Fe&2)!==0){var m=c.pending;return m===null?a.next=a:(a.next=m.next,m.next=a),c.pending=a,a=bs(n),A1(n,null,o),a}return gs(n,c,a,o),bs(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,O2(n,o)}}function Lf(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 kf=!1;function Vi(){if(kf){var n=Nr;if(n!==null)throw n}}function Fi(n,a,o,c){kf=!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,X=P.next;P.next=null,S===null?g=X:S.next=X,S=P;var te=n.alternate;te!==null&&(te=te.updateQueue,R=te.lastBaseUpdate,R!==S&&(R===null?te.firstBaseUpdate=X:R.next=X,te.lastBaseUpdate=P))}if(g!==null){var re=m.baseState;S=0,te=X=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&&(kf=!0),te!==null&&(te=te.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},te===null?(X=te=ee,P=re):te=te.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);te===null&&(P=re),m.baseState=P,m.firstBaseUpdate=X,m.lastBaseUpdate=te,g===null&&(m.shared.lanes=0),ql|=S,n.lanes=S,n.memoizedState=re}}function G1(n,a){if(typeof n!="function")throw Error(r(191,n));n.call(a)}function q1(n,a){var o=n.callbacks;if(o!==null)for(n.callbacks=null,n=0;n<o.length;n++)G1(o[n],a)}var zr=D(null),Ms=D(0);function Y1(n,a){n=xl,se(Ms,n),se(zr,a),xl=n|a.baseLanes}function Nf(){se(Ms,xl),se(zr,zr.current)}function Df(){xl=Ms.current,Q(zr),Q(Ms)}var cn=D(null),Ln=null;function Vl(n){var a=n.alternate;se(ft,ft.current&1),se(cn,n),Ln===null&&(a===null||zr.current!==null||a.memoizedState!==null)&&(Ln=n)}function $f(n){se(ft,ft.current),se(cn,n),Ln===null&&(Ln=n)}function X1(n){n.tag===22?(se(ft,ft.current),se(cn,n),Ln===null&&(Ln=n)):Fl()}function Fl(){se(ft,ft.current),se(cn,cn.current)}function un(n){Q(cn),Ln===n&&(Ln=null),Q(ft)}var ft=D(0);function As(n){for(var a=n;a!==null;){if(a.tag===13){var o=a.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||Bd(o)||Hd(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,Ls=!1,Pr=!1,Ia=!1,ks=0,_i=0,Or=null,Jx=0;function ot(){throw Error(r(321))}function zf(n,a){if(a===null)return!1;for(var o=0;o<a.length&&o<n.length;o++)if(!on(n[o],a[o]))return!1;return!0}function Pf(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?Dm:Wf,Ia=!1,g=o(c,m),Ia=!1,Pr&&(g=Z1(a,o,c,m)),W1(n),g}function W1(n){z.H=Yi;var a=Xe!==null&&Xe.next!==null;if(dl=0,bt=Xe=Re=null,Ls=!1,_i=0,Or=null,a)throw Error(r(300));n===null||vt||(n=n.dependencies,n!==null&&xs(n)&&(vt=!0))}function Z1(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=$m,g=a(o,c)}while(Pr);return g}function e8(){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 Of(){var n=ks!==0;return ks=0,n}function jf(n,a,o){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~o}function If(n){if(Ls){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}Ls=!1}dl=0,bt=Xe=Re=null,Pr=!1,_i=ks=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 Ns(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Gi(n){var a=_i;return _i+=1,Or===null&&(Or=[]),n=K1(Or,n,a),a=Re,(bt===null?a.memoizedState:bt.next)===null&&(a=a.alternate,z.H=a===null||a.memoizedState===null?Dm:Wf),n}function Ds(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Gi(n);if(n.$$typeof===N)return zt(n)}throw Error(r(438,String(n)))}function Bf(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=Ns(),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]=U;return a.index++,o}function hl(n,a){return typeof a=="function"?a(n):a}function $s(n){var a=dt();return Hf(a,Xe,n)}function Hf(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,X=a,te=!1;do{var re=X.lane&-536870913;if(re!==X.lane?(Pe&re)===re:(dl&re)===re){var Z=X.revertLane;if(Z===0)P!==null&&(P=P.next={lane:0,revertLane:0,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),re===kr&&(te=!0);else if((dl&Z)===Z){X=X.next,Z===kr&&(te=!0);continue}else re={lane:0,revertLane:X.revertLane,gesture:null,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},P===null?(R=P=re,S=g):P=P.next=re,Re.lanes|=Z,ql|=Z;re=X.action,Ia&&o(g,re),g=X.hasEagerState?X.eagerState:o(g,re)}else Z={lane:re,revertLane:X.revertLane,gesture:X.gesture,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null},P===null?(R=P=Z,S=g):P=P.next=Z,Re.lanes|=re,ql|=re;X=X.next}while(X!==null&&X!==a);if(P===null?S=g:P.next=R,!on(g,n.memoizedState)&&(vt=!0,te&&(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 Kf(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);on(g,a.memoizedState)||(vt=!0),a.memoizedState=g,a.baseQueue===null&&(a.baseState=g),o.lastRenderedState=g}return[g,c]}function Q1(n,a,o){var c=Re,m=dt(),g=Ie;if(g){if(o===void 0)throw Error(r(407));o=o()}else o=a();var S=!on((Xe||m).memoizedState,o);if(S&&(m.memoizedState=o,vt=!0),m=m.queue,Ff(tm.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},em.bind(null,c,m,o,a),null),Qe===null)throw Error(r(349));g||(dl&127)!==0||J1(c,a,o)}return o}function J1(n,a,o){n.flags|=16384,n={getSnapshot:a,value:o},a=Re.updateQueue,a===null?(a=Ns(),Re.updateQueue=a,a.stores=[n]):(o=a.stores,o===null?a.stores=[n]:o.push(n))}function em(n,a,o,c){a.value=o,a.getSnapshot=c,nm(a)&&lm(n)}function tm(n,a,o){return o(function(){nm(a)&&lm(n)})}function nm(n){var a=n.getSnapshot;n=n.value;try{var o=a();return!on(n,o)}catch{return!0}}function lm(n){var a=La(n,2);a!==null&&Wt(a,n,2)}function Uf(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 am(n,a,o,c){return n.baseState=o,Hf(n,Xe,typeof c=="function"?c:hl)}function t8(n,a,o,c,m){if(Os(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,rm(a,g)):(g.next=o.next,a.pending=o.next=g)}}function rm(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),im(n,a,R)}catch(X){Vf(n,a,X)}finally{g!==null&&S.types!==null&&(g.types=S.types),z.T=g}}else try{g=o(m,c),im(n,a,g)}catch(X){Vf(n,a,X)}}function im(n,a,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(c){om(n,a,c)},function(c){return Vf(n,a,c)}):om(n,a,o)}function om(n,a,o){a.status="fulfilled",a.value=o,sm(a),n.state=o,a=n.pending,a!==null&&(o=a.next,o===a?n.pending=null:(o=o.next,a.next=o,rm(n,o)))}function Vf(n,a,o){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do a.status="rejected",a.reason=o,sm(a),a=a.next;while(a!==c)}n.action=null}function sm(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function cm(n,a){return a}function um(n,a){if(Ie){var o=Qe.formState;if(o!==null){e:{var c=Re;if(Ie){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:cm,lastRenderedState:a},o.queue=c,o=Lm.bind(null,Re,c),c.dispatch=o,c=Uf(!1),g=Xf.bind(null,Re,!1,c.queue),c=Kt(),m={state:a,dispatch:null,action:n,pending:null},c.queue=m,o=t8.bind(null,Re,m,g,o),m.dispatch=o,c.memoizedState=n,[a,o,!1]}function fm(n){var a=dt();return dm(a,Xe,n)}function dm(n,a,o){if(a=Hf(n,a,cm)[0],n=$s(hl)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var c=Gi(a)}catch(S){throw S===Dr?Cs: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},n8.bind(null,m,o),null)),[c,g,n]}function n8(n,a){n.action=a}function hm(n){var a=dt(),o=Xe;if(o!==null)return dm(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=Ns(),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 mm(){return dt().memoizedState}function zs(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 Ps(n,a,o,c){var m=dt();c=c===void 0?null:c;var g=m.memoizedState.inst;Xe!==null&&c!==null&&zf(c,Xe.memoizedState.deps)?m.memoizedState=jr(a,g,o,c):(Re.flags|=n,m.memoizedState=jr(1|a,g,o,c))}function pm(n,a){zs(8390656,8,n,a)}function Ff(n,a){Ps(2048,8,n,a)}function l8(n){Re.flags|=4;var a=Re.updateQueue;if(a===null)a=Ns(),Re.updateQueue=a,a.events=[n];else{var o=a.events;o===null?a.events=[n]:o.push(n)}}function gm(n){var a=dt().memoizedState;return l8({ref:a,nextImpl:n}),function(){if((Fe&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}function bm(n,a){return Ps(4,2,n,a)}function vm(n,a){return Ps(4,4,n,a)}function ym(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 xm(n,a,o){o=o!=null?o.concat([n]):null,Ps(4,4,ym.bind(null,a,n),o)}function _f(){}function Sm(n,a){var o=dt();a=a===void 0?null:a;var c=o.memoizedState;return a!==null&&zf(a,c[1])?c[0]:(o.memoizedState=[n,a],n)}function wm(n,a){var o=dt();a=a===void 0?null:a;var c=o.memoizedState;if(a!==null&&zf(a,c[1]))return c[0];if(c=n(),Ia){$l(!0);try{n()}finally{$l(!1)}}return o.memoizedState=[c,a],c}function Gf(n,a,o){return o===void 0||(dl&1073741824)!==0&&(Pe&261930)===0?n.memoizedState=a:(n.memoizedState=o,n=Cp(),Re.lanes|=n,ql|=n,o)}function Cm(n,a,o,c){return on(o,a)?o:zr.current!==null?(n=Gf(n,o,c),on(n,a)||(vt=!0),n):(dl&42)===0||(dl&1073741824)!==0&&(Pe&261930)===0?(vt=!0,n.memoizedState=o):(n=Cp(),Re.lanes|=n,ql|=n,a)}function Em(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,Xf(n,!1,a,o);try{var P=m(),X=z.S;if(X!==null&&X(R,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var te=Qx(P,c);qi(n,a,te,hn(n))}else qi(n,a,c,hn(n))}catch(re){qi(n,a,{then:function(){},status:"rejected",reason:re},hn())}finally{O.p=g,S!==null&&R.types!==null&&(S.types=R.types),z.T=S}}function a8(){}function qf(n,a,o,c){if(n.tag!==5)throw Error(r(476));var m=Tm(n).queue;Em(n,m,a,oe,o===null?a8:function(){return Rm(n),o(c)})}function Tm(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 Rm(n){var a=Tm(n);a.next===null&&(a=n.alternate.memoizedState),qi(n,a.next.queue,{},hn())}function Yf(){return zt(uo)}function Mm(){return dt().memoizedState}function Am(){return dt().memoizedState}function r8(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var o=hn();n=Kl(o);var c=Ul(a,n,o);c!==null&&(Wt(c,a,o),Ui(c,a,o)),a={cache:Cf()},n.payload=a;return}a=a.return}}function i8(n,a,o){var c=hn();o={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Os(n)?km(a,o):(o=df(n,a,o,c),o!==null&&(Wt(o,n,c),Nm(o,a,c)))}function Lm(n,a,o){var c=hn();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(Os(n))km(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,on(R,S))return gs(n,a,m,0),Qe===null&&ps(),!1}catch{}finally{}if(o=df(n,a,m,c),o!==null)return Wt(o,n,c),Nm(o,a,c),!0}return!1}function Xf(n,a,o,c){if(c={lane:2,revertLane:Md(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Os(n)){if(a)throw Error(r(479))}else a=df(n,o,c,2),a!==null&&Wt(a,n,2)}function Os(n){var a=n.alternate;return n===Re||a!==null&&a===Re}function km(n,a){Pr=Ls=!0;var o=n.pending;o===null?a.next=a:(a.next=o.next,o.next=a),n.pending=a}function Nm(n,a,o){if((o&4194048)!==0){var c=a.lanes;c&=n.pendingLanes,o|=c,a.lanes=o,O2(n,o)}}var Yi={readContext:zt,use:Ds,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 Dm={readContext:zt,use:Ds,useCallback:function(n,a){return Kt().memoizedState=[n,a===void 0?null:a],n},useContext:zt,useEffect:pm,useImperativeHandle:function(n,a,o){o=o!=null?o.concat([n]):null,zs(4194308,4,ym.bind(null,a,n),o)},useLayoutEffect:function(n,a){return zs(4194308,4,n,a)},useInsertionEffect:function(n,a){zs(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=i8.bind(null,Re,n),[c.memoizedState,n]},useRef:function(n){var a=Kt();return n={current:n},a.memoizedState=n},useState:function(n){n=Uf(n);var a=n.queue,o=Lm.bind(null,Re,a);return a.dispatch=o,[n.memoizedState,o]},useDebugValue:_f,useDeferredValue:function(n,a){var o=Kt();return Gf(o,n,a)},useTransition:function(){var n=Uf(!1);return n=Em.bind(null,Re,n.queue,!0,!1),Kt().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,o){var c=Re,m=Kt();if(Ie){if(o===void 0)throw Error(r(407));o=o()}else{if(o=a(),Qe===null)throw Error(r(349));(Pe&127)!==0||J1(c,a,o)}m.memoizedState=o;var g={value:o,getSnapshot:a};return m.queue=g,pm(tm.bind(null,c,g,n),[n]),c.flags|=2048,jr(9,{destroy:void 0},em.bind(null,c,g,o,a),null),o},useId:function(){var n=Kt(),a=Qe.identifierPrefix;if(Ie){var o=Yn,c=qn;o=(c&~(1<<32-rn(c)-1)).toString(32)+o,a="_"+a+"R_"+o,o=ks++,0<o&&(a+="H"+o.toString(32)),a+="_"}else o=Jx++,a="_"+a+"r_"+o.toString(32)+"_";return n.memoizedState=a},useHostTransitionStatus:Yf,useFormState:um,useActionState:um,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=Xf.bind(null,Re,!0,o),o.dispatch=a,[n,a]},useMemoCache:Bf,useCacheRefresh:function(){return Kt().memoizedState=r8.bind(null,Re)},useEffectEvent:function(n){var a=Kt(),o={impl:n};return a.memoizedState=o,function(){if((Fe&2)!==0)throw Error(r(440));return o.impl.apply(void 0,arguments)}}},Wf={readContext:zt,use:Ds,useCallback:Sm,useContext:zt,useEffect:Ff,useImperativeHandle:xm,useInsertionEffect:bm,useLayoutEffect:vm,useMemo:wm,useReducer:$s,useRef:mm,useState:function(){return $s(hl)},useDebugValue:_f,useDeferredValue:function(n,a){var o=dt();return Cm(o,Xe.memoizedState,n,a)},useTransition:function(){var n=$s(hl)[0],a=dt().memoizedState;return[typeof n=="boolean"?n:Gi(n),a]},useSyncExternalStore:Q1,useId:Mm,useHostTransitionStatus:Yf,useFormState:fm,useActionState:fm,useOptimistic:function(n,a){var o=dt();return am(o,Xe,n,a)},useMemoCache:Bf,useCacheRefresh:Am};Wf.useEffectEvent=gm;var $m={readContext:zt,use:Ds,useCallback:Sm,useContext:zt,useEffect:Ff,useImperativeHandle:xm,useInsertionEffect:bm,useLayoutEffect:vm,useMemo:wm,useReducer:Kf,useRef:mm,useState:function(){return Kf(hl)},useDebugValue:_f,useDeferredValue:function(n,a){var o=dt();return Xe===null?Gf(o,n,a):Cm(o,Xe.memoizedState,n,a)},useTransition:function(){var n=Kf(hl)[0],a=dt().memoizedState;return[typeof n=="boolean"?n:Gi(n),a]},useSyncExternalStore:Q1,useId:Mm,useHostTransitionStatus:Yf,useFormState:hm,useActionState:hm,useOptimistic:function(n,a){var o=dt();return Xe!==null?am(o,Xe,n,a):(o.baseState=n,[n,o.queue.dispatch])},useMemoCache:Bf,useCacheRefresh:Am};$m.useEffectEvent=gm;function Zf(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 Qf={enqueueSetState:function(n,a,o){n=n._reactInternals;var c=hn(),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=hn(),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=hn(),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 zm(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 Pm(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&&Qf.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 Om(n){ms(n)}function jm(n){console.error(n)}function Im(n){ms(n)}function js(n,a){try{var o=n.onUncaughtError;o(a.value,{componentStack:a.stack})}catch(c){setTimeout(function(){throw c})}}function Bm(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 Jf(n,a,o){return o=Kl(o),o.tag=3,o.payload={element:null},o.callback=function(){js(n,a)},o}function Hm(n){return n=Kl(n),n.tag=3,n}function Km(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(){Bm(a,o,c)}}var S=o.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(n.callback=function(){Bm(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 o8(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=cn.current,o!==null){switch(o.tag){case 31:case 13:return Ln===null?Xs():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),Ed(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)),Ed(n,c,m)),!1}throw Error(r(435,o.tag))}return Ed(n,c,m),Xs(),!1}if(Ie)return a=cn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=m,c!==vf&&(n=Error(r(422),{cause:c}),ji(Tn(n,o)))):(c!==vf&&(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=Jf(n.stateNode,c,m),Lf(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=Jf(o.stateNode,c,n),Lf(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=Hm(m),Km(m,n,o,c),Lf(o,m),!1}o=o.return}while(o!==null);return!1}var ed=Error(r(461)),vt=!1;function Pt(n,a,o,c){a.child=n===null?_1(a,null,o,c):ja(a,n.child,o,c)}function Um(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=Pf(n,a,o,S,g,m),R=Of(),n!==null&&!vt?(jf(n,a,m),ml(n,a,m)):(Ie&&R&&gf(a),a.flags|=1,Pt(n,a,c,m),a.child)}function Vm(n,a,o,c,m){if(n===null){var g=o.type;return typeof g=="function"&&!hf(g)&&g.defaultProps===void 0&&o.compare===null?(a.tag=15,a.type=g,Fm(n,a,g,c,m)):(n=vs(o.type,null,c,a,a.mode,m),n.ref=a.ref,n.return=a,a.child=n)}if(g=n.child,!sd(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 Fm(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,sd(n,m))(n.flags&131072)!==0&&(vt=!0);else return a.lanes=n.lanes,ml(n,a,m)}return td(n,a,o,c,m)}function _m(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 Gm(n,a,g,o,c)}if((o&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&ws(a,g!==null?g.cachePool:null),g!==null?Y1(a,g):Nf(),X1(a);else return c=a.lanes=536870912,Gm(n,a,g!==null?g.baseLanes|o:o,o,c)}else g!==null?(ws(a,g.cachePool),Y1(a,g),Fl(),a.memoizedState=null):(n!==null&&ws(a,null),Nf(),Fl());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 Gm(n,a,o,c,m){var g=Tf();return g=g===null?null:{parent:gt._currentValue,pool:g},a.memoizedState={baseLanes:o,cachePool:g},n!==null&&ws(a,null),Nf(),X1(a),n!==null&&Lr(n,a,c,!0),a.childLanes=m,null}function Is(n,a){return a=Hs({mode:a.mode,children:a.children},n.mode),a.ref=n.ref,n.child=a,a.return=n,a}function qm(n,a,o){return ja(a,n.child,null,o),n=Is(a,a.pendingProps),n.flags|=2,un(a),a.memoizedState=null,n}function s8(n,a,o){var c=a.pendingProps,m=(a.flags&128)!==0;if(a.flags&=-129,n===null){if(Ie){if(c.mode==="hidden")return n=Is(a,c),a.lanes=536870912,Xi(null,n);if($f(a),(n=nt)?(n=rg(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=k1(n),o.return=a,a.child=o,$t=a,nt=null)):n=null,n===null)throw Il(a);return a.lanes=536870912,null}return Is(a,c)}var g=n.memoizedState;if(g!==null){var S=g.dehydrated;if($f(a),m)if(a.flags&256)a.flags&=-257,a=qm(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=j2(c,o),S!==0&&S!==g.retryLane))throw g.retryLane=S,La(n,S),Wt(c,n,S),ed;Xs(),a=qm(n,a,o)}else n=g.treeContext,nt=kn(S.nextSibling),$t=a,Ie=!0,jl=null,An=!1,n!==null&&$1(a,n),a=Is(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 Bs(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 td(n,a,o,c,m){return $a(a),o=Pf(n,a,o,c,void 0,m),c=Of(),n!==null&&!vt?(jf(n,a,m),ml(n,a,m)):(Ie&&c&&gf(a),a.flags|=1,Pt(n,a,o,m),a.child)}function Ym(n,a,o,c,m,g){return $a(a),a.updateQueue=null,o=Z1(a,c,o,m),W1(n),c=Of(),n!==null&&!vt?(jf(n,a,g),ml(n,a,g)):(Ie&&c&&gf(a),a.flags|=1,Pt(n,a,o,g),a.child)}function Xm(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=Qf,a.stateNode=g,g._reactInternals=a,g=a.stateNode,g.props=c,g.state=a.memoizedState,g.refs={},Mf(a),S=o.contextType,g.context=typeof S=="object"&&S!==null?zt(S):Tr,g.state=a.memoizedState,S=o.getDerivedStateFromProps,typeof S=="function"&&(Zf(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&&Qf.enqueueReplaceState(g,g.state,null),Fi(a,c,g,m),Vi(),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 X=g.context,te=o.contextType;S=Tr,typeof te=="object"&&te!==null&&(S=zt(te));var re=o.getDerivedStateFromProps;te=typeof re=="function"||typeof g.getSnapshotBeforeUpdate=="function",R=a.pendingProps!==R,te||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(R||X!==S)&&Pm(a,g,c,S),Hl=!1;var Z=a.memoizedState;g.state=Z,Fi(a,c,g,m),Vi(),X=a.memoizedState,R||Z!==X||Hl?(typeof re=="function"&&(Zf(a,o,re,c),X=a.memoizedState),(P=Hl||zm(a,o,P,c,Z,X,S))?(te||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=X),g.props=c,g.state=X,g.context=S,c=P):(typeof g.componentDidMount=="function"&&(a.flags|=4194308),c=!1)}else{g=a.stateNode,Af(n,a),S=a.memoizedProps,te=Ba(o,S),g.props=te,re=a.pendingProps,Z=g.context,X=o.contextType,P=Tr,typeof X=="object"&&X!==null&&(P=zt(X)),R=o.getDerivedStateFromProps,(X=typeof R=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(S!==re||Z!==P)&&Pm(a,g,c,P),Hl=!1,Z=a.memoizedState,g.state=Z,Fi(a,c,g,m),Vi();var ee=a.memoizedState;S!==re||Z!==ee||Hl||n!==null&&n.dependencies!==null&&xs(n.dependencies)?(typeof R=="function"&&(Zf(a,o,R,c),ee=a.memoizedState),(te=Hl||zm(a,o,te,c,Z,ee,P)||n!==null&&n.dependencies!==null&&xs(n.dependencies))?(X||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=te):(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,Bs(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 Wm(n,a,o,c){return Na(),a.flags|=256,Pt(n,a,o,c),a.child}var nd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ld(n){return{baseLanes:n,cachePool:B1()}}function ad(n,a,o){return n=n!==null?n.childLanes&~o:0,a&&(n|=dn),n}function Zm(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(Ie){if(m?Vl(a):Fl(),(n=nt)?(n=rg(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=k1(n),o.return=a,a.child=o,$t=a,nt=null)):n=null,n===null)throw Il(a);return Hd(n)?a.lanes=32:a.lanes=536870912,null}var R=c.children;return c=c.fallback,m?(Fl(),m=a.mode,R=Hs({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=ld(o),c.childLanes=ad(n,S,o),a.memoizedState=nd,Xi(null,c)):(Vl(a),rd(a,R))}var P=n.memoizedState;if(P!==null&&(R=P.dehydrated,R!==null)){if(g)a.flags&256?(Vl(a),a.flags&=-257,a=id(n,a,o)):a.memoizedState!==null?(Fl(),a.child=n.child,a.flags|=128,a=null):(Fl(),R=c.fallback,m=a.mode,c=Hs({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=ld(o),c.childLanes=ad(n,S,o),a.memoizedState=nd,a=Xi(null,c));else if(Vl(a),Hd(R)){if(S=R.nextSibling&&R.nextSibling.dataset,S)var X=S.dgst;S=X,c=Error(r(419)),c.stack="",c.digest=S,ji({value:c,source:null,stack:null}),a=id(n,a,o)}else if(vt||Lr(n,a,o,!1),S=(o&n.childLanes)!==0,vt||S){if(S=Qe,S!==null&&(c=j2(S,o),c!==0&&c!==P.retryLane))throw P.retryLane=c,La(n,c),Wt(S,n,c),ed;Bd(R)||Xs(),a=id(n,a,o)}else Bd(R)?(a.flags|=192,a.child=n.child,a=null):(n=P.treeContext,nt=kn(R.nextSibling),$t=a,Ie=!0,jl=null,An=!1,n!==null&&$1(a,n),a=rd(a,c.children),a.flags|=4096);return a}return m?(Fl(),R=c.fallback,m=a.mode,P=n.child,X=P.sibling,c=sl(P,{mode:"hidden",children:c.children}),c.subtreeFlags=P.subtreeFlags&65011712,X!==null?R=sl(X,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=ld(o):(m=R.cachePool,m!==null?(P=gt._currentValue,m=m.parent!==P?{parent:P,pool:P}:m):m=B1(),R={baseLanes:R.baseLanes|o,cachePool:m}),c.memoizedState=R,c.childLanes=ad(n,S,o),a.memoizedState=nd,Xi(n.child,c)):(Vl(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 rd(n,a){return a=Hs({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function Hs(n,a){return n=sn(22,n,null,a),n.lanes=0,n}function id(n,a,o){return ja(a,n.child,null,o),n=rd(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Qm(n,a,o){n.lanes|=a;var c=n.alternate;c!==null&&(c.lanes|=a),Sf(n.return,a,o)}function od(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 Jm(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=Ie?Oi:0,!R&&n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Qm(n,o,a);else if(n.tag===19)Qm(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&&As(n)===null&&(m=o),o=o.sibling;o=m,o===null?(m=a.child,a.child=null):(m=o.sibling,o.sibling=null),od(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&&As(n)===null){a.child=m;break}n=m.sibling,m.sibling=o,o=m,m=n}od(a,!0,o,null,g,c);break;case"together":od(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 sd(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&xs(n)))}function c8(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,$f(a),null;break;case 13:var c=a.memoizedState;if(c!==null)return c.dehydrated!==null?(Vl(a),a.flags|=128,null):(o&a.child.childLanes)!==0?Zm(n,a,o):(Vl(a),n=ml(n,a,o),n!==null?n.sibling:null);Vl(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 Jm(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,_m(n,a,o,a.pendingProps);case 24:Bl(a,gt,n.memoizedState.cache)}return ml(n,a,o)}function ep(n,a,o){if(n!==null)if(n.memoizedProps!==a.pendingProps)vt=!0;else{if(!sd(n,o)&&(a.flags&128)===0)return vt=!1,c8(n,a,o);vt=(n.flags&131072)!==0}else vt=!1,Ie&&(a.flags&1048576)!==0&&D1(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")hf(n)?(c=Ba(n,c),a.tag=1,a=Xm(null,a,n,c,o)):(a.tag=0,a=td(null,a,n,c,o));else{if(n!=null){var m=n.$$typeof;if(m===A){a.tag=11,a=Um(null,a,n,c,o);break e}else if(m===$){a.tag=14,a=Vm(null,a,n,c,o);break e}}throw a=j(n)||n,Error(r(306,a,""))}}return a;case 0:return td(n,a,a.type,a.pendingProps,o);case 1:return c=a.type,m=Ba(c,a.pendingProps),Xm(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,Af(n,a),Fi(a,c,null,o);var S=a.memoizedState;if(c=S.cache,Bl(a,gt,c),c!==g.cache&&wf(a,[gt],o,!0),Vi(),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=Wm(n,a,c,o);break e}else if(c!==m){m=Tn(Error(r(424)),a),ji(m),a=Wm(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,Ie=!0,jl=null,An=!0,o=_1(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 Bs(n,a),n===null?(o=fg(a.type,null,a.pendingProps,null))?a.memoizedState=o:Ie||(o=a.type,n=a.pendingProps,c=nc(ie.current).createElement(o),c[Dt]=a,c[Ft]=n,Ot(c,o,n),Tt(c),a.stateNode=c):a.memoizedState=fg(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return Lt(a),n===null&&Ie&&(c=a.stateNode=sg(a.type,a.pendingProps,ie.current),$t=a,An=!0,m=nt,Ql(a.type)?(Kd=m,nt=kn(c.firstChild)):nt=m),Pt(n,a,a.pendingProps.children,o),Bs(n,a),n===null&&(a.flags|=4194304),a.child;case 5:return n===null&&Ie&&((m=c=nt)&&(c=B8(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,Od(m,g)?c=null:S!==null&&Od(m,S)&&(a.flags|=32),a.memoizedState!==null&&(m=Pf(n,a,e8,null,null,o),uo._currentValue=m),Bs(n,a),Pt(n,a,c,o),a.child;case 6:return n===null&&Ie&&((n=o=nt)&&(o=H8(o,a.pendingProps,An),o!==null?(a.stateNode=o,$t=a,nt=null,n=!0):n=!1),n||Il(a)),null;case 13:return Zm(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 Um(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 Vm(n,a,a.type,a.pendingProps,o);case 15:return Fm(n,a,a.type,a.pendingProps,o);case 19:return Jm(n,a,o);case 31:return s8(n,a,o);case 22:return _m(n,a,o,a.pendingProps);case 24:return $a(a),c=zt(gt),n===null?(m=Tf(),m===null&&(m=Qe,g=Cf(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=o),m=g),a.memoizedState={parent:c,cache:m},Mf(a),Bl(a,gt,m)):((n.lanes&o)!==0&&(Af(n,a),Fi(a,null,null,o),Vi()),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&&wf(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 cd(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(Mp())n.flags|=8192;else throw Oa=Es,Rf}else n.flags&=-16777217}function tp(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!gg(a))if(Mp())n.flags|=8192;else throw Oa=Es,Rf}function Ks(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?z2():536870912,n.lanes|=a,Kr|=a)}function Wi(n,a){if(!Ie)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 u8(n,a,o){var c=a.pendingProps;switch(bf(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,yf())),lt(a),null;case 26:var m=a.type,g=a.memoizedState;return n===null?(pl(a),g!==null?(lt(a),tp(a,g)):(lt(a),cd(a,m,null,c,o))):g?g!==n.memoizedState?(pl(a),lt(a),tp(a,g)):(lt(a),a.flags&=-16777217):(n=n.memoizedProps,n!==c&&pl(a),lt(a),cd(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)?z1(a):(n=sg(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))z1(a);else{var S=nc(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[Ft]=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),cd(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||Zp(n.nodeValue,o)),n||Il(a,!0)}else n=nc(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=yf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=o),n=!0;if(!n)return a.flags&256?(un(a),a):(un(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=yf(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return a.flags&256?(un(a),a):(un(a),null)}return un(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),Ks(a,a.updateQueue),lt(a),null);case 4:return de(),n===null&&Nd(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=As(n),g!==null){for(a.flags|=128,Wi(c,!1),n=g.updateQueue,a.updateQueue=n,Ks(a,n),a.subtreeFlags=0,n=o,o=a.child;o!==null;)L1(o,n),o=o.sibling;return se(ft,ft.current&1|2),Ie&&cl(a,c.treeForkCount),a.child}n=n.sibling}c.tail!==null&&It()>Gs&&(a.flags|=128,m=!0,Wi(c,!1),a.lanes=4194304)}else{if(!m)if(n=As(g),n!==null){if(a.flags|=128,m=!0,n=n.updateQueue,a.updateQueue=n,Ks(a,n),Wi(c,!0),c.tail===null&&c.tailMode==="hidden"&&!g.alternate&&!Ie)return lt(a),null}else 2*It()-c.renderingStartTime>Gs&&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),Ie&&cl(a,c.treeForkCount),n):(lt(a),null);case 22:case 23:return un(a),Df(),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&&Ks(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 f8(n,a){switch(bf(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(un(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(un(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 un(a),Df(),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 np(n,a){switch(bf(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&&un(a);break;case 13:un(a);break;case 19:Q(ft);break;case 10:fl(a.type);break;case 22:case 23:un(a),Df(),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,X=R;try{X()}catch(te){qe(m,P,te)}}}c=c.next}while(c!==g)}}catch(te){qe(a,a.return,te)}}function lp(n){var a=n.updateQueue;if(a!==null){var o=n.stateNode;try{q1(a,o)}catch(c){qe(n,n.return,c)}}}function ap(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 rp(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 ud(n,a,o){try{var c=n.stateNode;$8(c,n.type,o,a),c[Ft]=a}catch(m){qe(n,n.return,m)}}function ip(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ql(n.type)||n.tag===4}function fd(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||ip(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 dd(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(dd(n,a,o),n=n.sibling;n!==null;)dd(n,a,o),n=n.sibling}function Us(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(Us(n,a,o),n=n.sibling;n!==null;)Us(n,a,o),n=n.sibling}function op(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[Ft]=o}catch(g){qe(n,n.return,g)}}var gl=!1,yt=!1,hd=!1,sp=typeof WeakSet=="function"?WeakSet:Set,Rt=null;function d8(n,a){if(n=n.containerInfo,zd=cc,n=x1(n),rf(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,X=0,te=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&&++X===m&&(R=S),Z===g&&++te===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(Pd={focusedElem:n,selectionRange:o},cc=!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)Id(n);else if(o===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Id(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 cp(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&&lp(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{q1(n,a)}catch(S){qe(o,o.return,S)}}break;case 27:a===null&&c&4&&op(o);case 26:case 5:vl(n,o),a===null&&c&4&&rp(o),c&512&&Qi(o,o.return);break;case 12:vl(n,o);break;case 31:vl(n,o),c&4&&dp(n,o);break;case 13:vl(n,o),c&4&&hp(n,o),c&64&&(n=o.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(o=S8.bind(null,o),K8(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 up(n){var a=n.alternate;a!==null&&(n.alternate=null,up(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&Uu(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;)fp(n,a,o),o=o.sibling}function fp(n,a,o){if(an&&typeof an.onCommitFiberUnmount=="function")try{an.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,lg(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,o.stateNode),Xr(n)):lg(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"&&ap(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 dp(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 hp(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 h8(n){switch(n.tag){case 31:case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new sp),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new sp),a;default:throw Error(r(435,n.tag))}}function Vs(n,a){var o=h8(n);a.forEach(function(c){if(!o.has(c)){o.add(c);var m=w8.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));fp(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;)mp(a,n),a=a.sibling}var Bn=null;function mp(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=mg("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=mg("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 pg(m,n.type,n.stateNode);else n.stateNode=hg(m,c,n.memoizedProps);else g!==c?(g===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):g.count--,c===null?pg(m,n.type,n.stateNode):hg(m,c,n.memoizedProps)):c===null&&n.stateNode!==null&&ud(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&&ud(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,ud(n,m,o!==null?o.memoizedProps:m)),c&1024&&(hd=!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(rc=null,m=Bn,Bn=lc(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)}hd&&(hd=!1,pp(n));break;case 4:c=Bn,Bn=lc(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,Vs(n,c)));break;case 13:qt(a,n),Yt(n),n.child.flags&8192&&n.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(_s=It()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Vs(n,c)));break;case 22:m=n.memoizedState!==null;var P=o!==null&&o.memoizedState!==null,X=gl,te=yt;if(gl=X||m,yt=te||P,qt(a,n),yt=te,gl=X,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?ag(ee,!0):ag(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,Vs(n,o))));break;case 19:qt(a,n),Yt(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Vs(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(ip(c)){o=c;break}c=c.return}if(o==null)throw Error(r(160));switch(o.tag){case 27:var m=o.stateNode,g=fd(n);Us(n,g,m);break;case 5:var S=o.stateNode;o.flags&32&&(vr(S,""),o.flags&=-33);var R=fd(n);Us(n,R,S);break;case 3:case 4:var P=o.stateNode.containerInfo,X=fd(n);dd(n,X,P);break;default:throw Error(r(161))}}catch(te){qe(n,n.return,te)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function pp(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;pp(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;)cp(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"&&ap(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(X){qe(c,c.return,X)}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++)G1(P[m],R)}catch(X){qe(c,c.return,X)}}o&&S&64&&lp(g),Qi(g,g.return);break;case 27:op(g);case 26:case 5:yl(m,g,o),o&&c===null&&S&4&&rp(g),Qi(g,g.return);break;case 12:yl(m,g,o);break;case 31:yl(m,g,o),o&&S&4&&dp(m,g);break;case 13:yl(m,g,o),o&&S&4&&hp(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 md(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 pd(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;)gp(n,a,o,c),a=a.sibling}function gp(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&&md(S,a);break;case 24:Hn(n,a,o,c),m&2048&&pd(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,X=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 te=S.stateNode;S.memoizedState!==null?te._visibility&2?Ir(g,S,R,P,m):Ji(g,S):(te._visibility|=2,Ir(g,S,R,P,m)),m&&X&2048&&md(S.alternate,S);break;case 24:Ir(g,S,R,P,m),m&&X&2048&&pd(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&&md(c.alternate,c);break;case 24:Ji(o,c),m&2048&&pd(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;)bp(n,a,o),n=n.sibling}function bp(n,a,o){switch(n.tag){case 26:Br(n,a,o),n.flags&eo&&n.memoizedState!==null&&J8(o,Bn,n.memoizedState,n.memoizedProps);break;case 5:Br(n,a,o);break;case 3:case 4:var c=Bn;Bn=lc(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 vp(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,xp(c,n)}vp(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)yp(n),n=n.sibling}function yp(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,xp(c,n)}vp(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 xp(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(up(c),c===o){Rt=null;break e}if(m!==null){m.return=g,Rt=m;break e}Rt=g}}}var m8={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}},p8=typeof WeakMap=="function"?WeakMap:Map,Fe=0,Qe=null,De=null,Pe=0,Ge=0,fn=null,Gl=!1,Hr=!1,gd=!1,xl=0,st=0,ql=0,Ka=0,bd=0,dn=0,Kr=0,no=null,Xt=null,vd=!1,_s=0,Sp=0,Gs=1/0,qs=null,Yl=null,St=0,Xl=null,Ur=null,Sl=0,yd=0,xd=null,wp=null,lo=0,Sd=null;function hn(){return(Fe&2)!==0&&Pe!==0?Pe&-Pe:z.T!==null?Md():I2()}function Cp(){if(dn===0)if((Pe&536870912)===0||Ie){var n=ts;ts<<=1,(ts&3932160)===0&&(ts=262144),dn=n}else dn=536870912;return n=cn.current,n!==null&&(n.flags|=32),dn}function Wt(n,a,o){(n===Qe&&(Ge===2||Ge===9)||n.cancelPendingCommit!==null)&&(Vr(n,0),Wl(n,Pe,dn,!1)),Ei(n,o),((Fe&2)===0||n!==Qe)&&(n===Qe&&((Fe&2)===0&&(Ka|=o),st===4&&Wl(n,Pe,dn,!1)),Wn(n))}function Ep(n,a,o){if((Fe&6)!==0)throw Error(r(327));var c=!o&&(a&127)===0&&(a&n.expiredLanes)===0||Ci(n,a),m=c?v8(n,a):Cd(n,a,!0),g=c;do{if(m===0){Hr&&!c&&Wl(n,a,0,!1);break}else{if(o=n.current.alternate,g&&!g8(o)){m=Cd(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&&(Vr(R,S).flags|=256),S=Cd(R,S,!1),S!==2){if(gd&&!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){Vr(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,dn,!Gl);break e;case 2:Xt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(m=_s+300-It(),10<m)){if(Wl(c,a,dn,!Gl),ls(c,0,!0)!==0)break e;Sl=a,c.timeoutHandle=tg(Tp.bind(null,c,o,Xt,qs,vd,a,dn,Ka,Kr,Gl,g,"Throttled",-0,0),m);break e}Tp(c,o,Xt,qs,vd,a,dn,Ka,Kr,Gl,g,null,-0,0)}}break}while(!0);Wn(n)}function Tp(n,a,o,c,m,g,S,R,P,X,te,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},bp(a,g,re);var be=(g&62914560)===g?_s-It():(g&4194048)===g?Sp-It():0;if(be=eS(re,be),be!==null){Sl=g,n.cancelPendingCommit=be($p.bind(null,n,a,g,o,c,m,S,R,P,te,re,null,Z,ee)),Wl(n,g,S,!X);return}}$p(n,a,g,o,c,m,S,R,P)}function g8(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(!on(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&=~bd,a&=~Ka,n.suspendedLanes|=a,n.pingedLanes&=~a,c&&(n.warmLanes|=a),c=n.expirationTimes;for(var m=a;0<m;){var g=31-rn(m),S=1<<g;c[g]=-1,m&=~S}o!==0&&P2(n,o,a)}function Ys(){return(Fe&6)===0?(ao(0),!1):!0}function wd(){if(De!==null){if(Ge===0)var n=De.return;else n=De,ul=Da=null,If(n),$r=null,Hi=0,n=De;for(;n!==null;)np(n.alternate,n),n=n.return;De=null}}function Vr(n,a){var o=n.timeoutHandle;o!==-1&&(n.timeoutHandle=-1,O8(o)),o=n.cancelPendingCommit,o!==null&&(n.cancelPendingCommit=null,o()),Sl=0,wd(),Qe=n,De=o=sl(n.current,null),Pe=a,Ge=0,fn=null,Gl=!1,Hr=Ci(n,a),gd=!1,Kr=dn=bd=Ka=ql=st=0,Xt=no=null,vd=!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-rn(c),g=1<<m;a|=n[m],c&=~g}return xl=a,ps(),o}function Rp(n,a){Re=null,z.H=Yi,a===Dr||a===Cs?(a=U1(),Ge=3):a===Rf?(a=U1(),Ge=4):Ge=a===ed?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,fn=a,De===null&&(st=1,js(n,Tn(a,n.current)))}function Mp(){var n=cn.current;return n===null?!0:(Pe&4194048)===Pe?Ln===null:(Pe&62914560)===Pe||(Pe&536870912)!==0?n===Ln:!1}function Ap(){var n=z.H;return z.H=Yi,n===null?Yi:n}function Lp(){var n=z.A;return z.A=m8,n}function Xs(){st=4,Gl||(Pe&4194048)!==Pe&&cn.current!==null||(Hr=!0),(ql&134217727)===0&&(Ka&134217727)===0||Qe===null||Wl(Qe,Pe,dn,!1)}function Cd(n,a,o){var c=Fe;Fe|=2;var m=Ap(),g=Lp();(Qe!==n||Pe!==a)&&(qs=null,Vr(n,a)),a=!1;var S=st;e:do try{if(Ge!==0&&De!==null){var R=De,P=fn;switch(Ge){case 8:wd(),S=6;break e;case 3:case 2:case 9:case 6:cn.current===null&&(a=!0);var X=Ge;if(Ge=0,fn=null,Fr(n,R,P,X),o&&Hr){S=0;break e}break;default:X=Ge,Ge=0,fn=null,Fr(n,R,P,X)}}b8(),S=st;break}catch(te){Rp(n,te)}while(!0);return a&&n.shellSuspendCounter++,ul=Da=null,Fe=c,z.H=m,z.A=g,De===null&&(Qe=null,Pe=0,ps()),S}function b8(){for(;De!==null;)kp(De)}function v8(n,a){var o=Fe;Fe|=2;var c=Ap(),m=Lp();Qe!==n||Pe!==a?(qs=null,Gs=It()+500,Vr(n,a)):Hr=Ci(n,a);e:do try{if(Ge!==0&&De!==null){a=De;var g=fn;t:switch(Ge){case 1:Ge=0,fn=null,Fr(n,a,g,1);break;case 2:case 9:if(H1(g)){Ge=0,fn=null,Np(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:H1(g)?(Ge=0,fn=null,Np(a)):(Ge=0,fn=null,Fr(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?gg(S):R.stateNode.complete){Ge=0,fn=null;var P=R.sibling;if(P!==null)De=P;else{var X=R.return;X!==null?(De=X,Ws(X)):De=null}break t}}Ge=0,fn=null,Fr(n,a,g,5);break;case 6:Ge=0,fn=null,Fr(n,a,g,6);break;case 8:wd(),st=6;break e;default:throw Error(r(462))}}y8();break}catch(te){Rp(n,te)}while(!0);return ul=Da=null,z.H=c,z.A=m,Fe=o,De!==null?0:(Qe=null,Pe=0,ps(),st)}function y8(){for(;De!==null&&!Jo();)kp(De)}function kp(n){var a=ep(n.alternate,n,xl);n.memoizedProps=n.pendingProps,a===null?Ws(n):De=a}function Np(n){var a=n,o=a.alternate;switch(a.tag){case 15:case 0:a=Ym(o,a,a.pendingProps,a.type,void 0,Pe);break;case 11:a=Ym(o,a,a.pendingProps,a.type.render,a.ref,Pe);break;case 5:If(a);default:np(o,a),a=De=L1(a,xl),a=ep(o,a,xl)}n.memoizedProps=n.pendingProps,a===null?Ws(n):De=a}function Fr(n,a,o,c){ul=Da=null,If(a),$r=null,Hi=0;var m=a.return;try{if(o8(n,m,a,o,Pe)){st=1,js(n,Tn(o,n.current)),De=null;return}}catch(g){if(m!==null)throw De=m,g;st=1,js(n,Tn(o,n.current)),De=null;return}a.flags&32768?(Ie||c===1?n=!0:Hr||(Pe&536870912)!==0?n=!1:(Gl=n=!0,(c===2||c===9||c===3||c===6)&&(c=cn.current,c!==null&&c.tag===13&&(c.flags|=16384))),Dp(a,n)):Ws(a)}function Ws(n){var a=n;do{if((a.flags&32768)!==0){Dp(a,Gl);return}n=a.return;var o=u8(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 Dp(n,a){do{var o=f8(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 $p(n,a,o,c,m,g,S,R,P){n.cancelPendingCommit=null;do Zs();while(St!==0);if((Fe&6)!==0)throw Error(r(327));if(a!==null){if(a===n.current)throw Error(r(177));if(g=a.lanes|a.childLanes,g|=ff,Q7(n,o,g,S,R,P),n===Qe&&(De=Qe=null,Pe=0),Ur=a,Xl=n,Sl=o,yd=g,xd=m,wp=c,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,C8(fr,function(){return Ip(),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=Fe,Fe|=4;try{d8(n,a,o)}finally{Fe=S,O.p=m,z.T=c}}St=1,zp(),Pp(),Op()}}function zp(){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=Fe;Fe|=4;try{mp(a,n);var g=Pd,S=x1(n.containerInfo),R=g.focusedElem,P=g.selectionRange;if(S!==R&&R&&R.ownerDocument&&y1(R.ownerDocument.documentElement,R)){if(P!==null&&rf(R)){var X=P.start,te=P.end;if(te===void 0&&(te=X),"selectionStart"in R)R.selectionStart=X,R.selectionEnd=Math.min(te,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 V=v1(R,we),I=v1(R,Ze);if(V&&I&&(ee.rangeCount!==1||ee.anchorNode!==V.node||ee.anchorOffset!==V.offset||ee.focusNode!==I.node||ee.focusOffset!==I.offset)){var Y=re.createRange();Y.setStart(V.node,V.offset),ee.removeAllRanges(),we>Ze?(ee.addRange(Y),ee.extend(I.node,I.offset)):(Y.setEnd(I.node,I.offset),ee.addRange(Y))}}}}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}}cc=!!zd,Pd=zd=null}finally{Fe=m,O.p=c,z.T=o}}n.current=a,St=2}}function Pp(){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=Fe;Fe|=4;try{cp(n,a.alternate,a)}finally{Fe=m,O.p=c,z.T=o}}St=3}}function Op(){if(St===4||St===3){St=0,ju();var n=Xl,a=Ur,o=Sl,c=wp;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?St=5:(St=0,Ur=Xl=null,jp(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(Yl=null),Hu(o),a=a.stateNode,an&&typeof an.onCommitFiberRoot=="function")try{an.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&&Zs(),Wn(n),m=n.pendingLanes,(o&261930)!==0&&(m&42)!==0?n===Sd?lo++:(lo=0,Sd=n):lo=0,ao(0)}}function jp(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,Ii(a)))}function Zs(){return zp(),Pp(),Op(),Ip()}function Ip(){if(St!==5)return!1;var n=Xl,a=yd;yd=0;var o=Hu(Sl),c=z.T,m=O.p;try{O.p=32>o?32:o,z.T=null,o=xd,xd=null;var g=Xl,S=Sl;if(St=0,Ur=Xl=null,Sl=0,(Fe&6)!==0)throw Error(r(331));var R=Fe;if(Fe|=4,yp(g.current),gp(g,g.current,S,o),Fe=R,ao(0,!1),an&&typeof an.onPostCommitFiberRoot=="function")try{an.onPostCommitFiberRoot(wi,g)}catch{}return!0}finally{O.p=m,z.T=c,jp(n,a)}}function Bp(n,a,o){a=Tn(o,a),a=Jf(n.stateNode,a,2),n=Ul(n,a,2),n!==null&&(Ei(n,2),Wn(n))}function qe(n,a,o){if(n.tag===3)Bp(n,n,o);else for(;a!==null;){if(a.tag===3){Bp(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=Hm(2),c=Ul(a,o,2),c!==null&&(Km(o,c,a,n),Ei(c,2),Wn(c));break}}a=a.return}}function Ed(n,a,o){var c=n.pingCache;if(c===null){c=n.pingCache=new p8;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)||(gd=!0,m.add(o),n=x8.bind(null,n,a,o),a.then(n,n))}function x8(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()-_s?(Fe&2)===0&&Vr(n,0):bd|=o,Kr===Pe&&(Kr=0)),Wn(n)}function Hp(n,a){a===0&&(a=z2()),n=La(n,a),n!==null&&(Ei(n,a),Wn(n))}function S8(n){var a=n.memoizedState,o=0;a!==null&&(o=a.retryLane),Hp(n,o)}function w8(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),Hp(n,o)}function C8(n,a){return jn(n,a)}var Qs=null,_r=null,Td=!1,Js=!1,Rd=!1,Zl=0;function Wn(n){n!==_r&&n.next===null&&(_r===null?Qs=_r=n:_r=_r.next=n),Js=!0,Td||(Td=!0,T8())}function ao(n,a){if(!Rd&&Js){Rd=!0;do for(var o=!1,c=Qs;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-rn(42|n)+1)-1,g&=m&~(S&~R),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(o=!0,Fp(c,g))}else g=Pe,g=ls(c,c===Qe?g:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(g&3)===0||Ci(c,g)||(o=!0,Fp(c,g));c=c.next}while(o);Rd=!1}}function E8(){Kp()}function Kp(){Js=Td=!1;var n=0;Zl!==0&&P8()&&(n=Zl);for(var a=It(),o=null,c=Qs;c!==null;){var m=c.next,g=Up(c,a);g===0?(c.next=null,o===null?Qs=m:o.next=m,m===null&&(_r=o)):(o=c,(n!==0||(g&3)!==0)&&(Js=!0)),c=m}St!==0&&St!==5||ao(n),Zl!==0&&(Zl=0)}function Up(n,a){for(var o=n.suspendedLanes,c=n.pingedLanes,m=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var S=31-rn(g),R=1<<S,P=m[S];P===-1?((R&o)===0||(R&c)!==0)&&(m[S]=Z7(R,a)):P<=a&&(n.expiredLanes|=R),g&=~R}if(a=Qe,o=Pe,o=ls(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||Ci(n,o)){if(a=o&-o,a===n.callbackPriority)return a;switch(c!==null&&Si(c),Hu(o)){case 2:case 8:o=Gn;break;case 32:o=fr;break;case 268435456:o=$2;break;default:o=fr}return c=Vp.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 Vp(n,a){if(St!==0&&St!==5)return n.callbackNode=null,n.callbackPriority=0,null;var o=n.callbackNode;if(Zs()&&n.callbackNode!==o)return null;var c=Pe;return c=ls(n,n===Qe?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(Ep(n,c,a),Up(n,It()),n.callbackNode!=null&&n.callbackNode===o?Vp.bind(null,n):null)}function Fp(n,a){if(Zs())return null;Ep(n,a,!0)}function T8(){j8(function(){(Fe&6)!==0?jn(Nt,E8):Kp()})}function Md(){if(Zl===0){var n=kr;n===0&&(n=es,es<<=1,(es&261888)===0&&(es=256)),Zl=n}return Zl}function _p(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:os(""+n)}function Gp(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 R8(n,a,o,c,m){if(a==="submit"&&o&&o.stateNode===m){var g=_p((m[Ft]||null).action),S=c.submitter;S&&(a=(a=S[Ft]||null)?_p(a.formAction):S.getAttribute("formAction"),a!==null&&(g=a,S=null));var R=new fs("action","action",null,c,m);n.push({event:R,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Zl!==0){var P=S?Gp(m,S):new FormData(m);qf(o,{pending:!0,data:P,method:m.method,action:g},null,P)}}else typeof g=="function"&&(R.preventDefault(),P=S?Gp(m,S):new FormData(m),qf(o,{pending:!0,data:P,method:m.method,action:g},g,P))},currentTarget:m}]})}}for(var Ad=0;Ad<uf.length;Ad++){var Ld=uf[Ad],M8=Ld.toLowerCase(),A8=Ld[0].toUpperCase()+Ld.slice(1);In(M8,"on"+A8)}In(C1,"onAnimationEnd"),In(E1,"onAnimationIteration"),In(T1,"onAnimationStart"),In("dblclick","onDoubleClick"),In("focusin","onFocus"),In("focusout","onBlur"),In(Fx,"onTransitionRun"),In(_x,"onTransitionStart"),In(Gx,"onTransitionCancel"),In(R1,"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(" "),L8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ro));function qp(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,X=R.currentTarget;if(R=R.listener,P!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=X;try{g(m)}catch(te){ms(te)}m.currentTarget=null,g=P}else for(S=0;S<c.length;S++){if(R=c[S],P=R.instance,X=R.currentTarget,R=R.listener,P!==g&&m.isPropagationStopped())break e;g=R,m.currentTarget=X;try{g(m)}catch(te){ms(te)}m.currentTarget=null,g=P}}}}function $e(n,a){var o=a[Ku];o===void 0&&(o=a[Ku]=new Set);var c=n+"__bubble";o.has(c)||(Yp(a,n,2,!1),o.add(c))}function kd(n,a,o){var c=0;a&&(c|=4),Yp(o,n,c,a)}var ec="_reactListening"+Math.random().toString(36).slice(2);function Nd(n){if(!n[ec]){n[ec]=!0,K2.forEach(function(o){o!=="selectionchange"&&(L8.has(o)||kd(o,!1,n),kd(o,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[ec]||(a[ec]=!0,kd("selectionchange",!1,a))}}function Yp(n,a,o,c){switch(Cg(a)){case 2:var m=lS;break;case 8:m=aS;break;default:m=Gd}o=m.bind(null,a,o,n),m=void 0,!Wu||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 Dd(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}J2(function(){var X=g,te=Yu(o),re=[];e:{var Z=M1.get(n);if(Z!==void 0){var ee=fs,be=n;switch(n){case"keypress":if(cs(o)===0)break e;case"keydown":case"keyup":ee=wx;break;case"focusin":be="focus",ee=ef;break;case"focusout":be="blur",ee=ef;break;case"beforeblur":case"afterblur":ee=ef;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=n1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=ux;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=Tx;break;case C1:case E1:case T1:ee=hx;break;case R1:ee=Mx;break;case"scroll":case"scrollend":ee=sx;break;case"wheel":ee=Lx;break;case"copy":case"cut":case"paste":ee=px;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=a1;break;case"toggle":case"beforetoggle":ee=Nx}var we=(a&4)!==0,Ze=!we&&(n==="scroll"||n==="scrollend"),V=we?Z!==null?Z+"Capture":null:Z;we=[];for(var I=X,Y;I!==null;){var ae=I;if(Y=ae.stateNode,ae=ae.tag,ae!==5&&ae!==26&&ae!==27||Y===null||V===null||(ae=Mi(I,V),ae!=null&&we.push(io(I,ae,Y))),Ze)break;I=I.return}0<we.length&&(Z=new ee(Z,be,null,o,te),re.push({event:Z,listeners:we}))}}if((a&7)===0){e:{if(Z=n==="mouseover"||n==="pointerover",ee=n==="mouseout"||n==="pointerout",Z&&o!==qu&&(be=o.relatedTarget||o.fromElement)&&(hr(be)||be[dr]))break e;if((ee||Z)&&(Z=te.window===te?te:(Z=te.ownerDocument)?Z.defaultView||Z.parentWindow:window,ee?(be=o.relatedTarget||o.toElement,ee=X,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=X),ee!==be)){if(we=n1,ae="onMouseLeave",V="onMouseEnter",I="mouse",(n==="pointerout"||n==="pointerover")&&(we=a1,ae="onPointerLeave",V="onPointerEnter",I="pointer"),Ze=ee==null?Z:Ri(ee),Y=be==null?Z:Ri(be),Z=new we(ae,I+"leave",ee,o,te),Z.target=Ze,Z.relatedTarget=Y,ae=null,hr(te)===X&&(we=new we(V,I+"enter",be,o,te),we.target=Y,we.relatedTarget=Ze,ae=we),Ze=ae,ee&&be)t:{for(we=k8,V=ee,I=be,Y=0,ae=V;ae;ae=we(ae))Y++;ae=0;for(var Se=I;Se;Se=we(Se))ae++;for(;0<Y-ae;)V=we(V),Y--;for(;0<ae-Y;)I=we(I),ae--;for(;Y--;){if(V===I||I!==null&&V===I.alternate){we=V;break t}V=we(V),I=we(I)}we=null}else we=null;ee!==null&&Xp(re,Z,ee,we,!1),be!==null&&Ze!==null&&Xp(re,Ze,be,we,!0)}}e:{if(Z=X?Ri(X):window,ee=Z.nodeName&&Z.nodeName.toLowerCase(),ee==="select"||ee==="input"&&Z.type==="file")var Ke=d1;else if(u1(Z))if(h1)Ke=Kx;else{Ke=Bx;var ye=Ix}else ee=Z.nodeName,!ee||ee.toLowerCase()!=="input"||Z.type!=="checkbox"&&Z.type!=="radio"?X&&Gu(X.elementType)&&(Ke=d1):Ke=Hx;if(Ke&&(Ke=Ke(n,X))){f1(re,Ke,o,te);break e}ye&&ye(n,Z,X),n==="focusout"&&X&&Z.type==="number"&&X.memoizedProps.value!=null&&_u(Z,"number",Z.value)}switch(ye=X?Ri(X):window,n){case"focusin":(u1(ye)||ye.contentEditable==="true")&&(wr=ye,of=X,Pi=null);break;case"focusout":Pi=of=wr=null;break;case"mousedown":sf=!0;break;case"contextmenu":case"mouseup":case"dragend":sf=!1,S1(re,o,te);break;case"selectionchange":if(Vx)break;case"keydown":case"keyup":S1(re,o,te)}var Me;if(nf)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?s1(n,o)&&(Oe="onCompositionEnd"):n==="keydown"&&o.keyCode===229&&(Oe="onCompositionStart");Oe&&(r1&&o.locale!=="ko"&&(Sr||Oe!=="onCompositionStart"?Oe==="onCompositionEnd"&&Sr&&(Me=e1()):(Pl=te,Zu="value"in Pl?Pl.value:Pl.textContent,Sr=!0)),ye=tc(X,Oe),0<ye.length&&(Oe=new l1(Oe,n,null,o,te),re.push({event:Oe,listeners:ye}),Me?Oe.data=Me:(Me=c1(o),Me!==null&&(Oe.data=Me)))),(Me=$x?zx(n,o):Px(n,o))&&(Oe=tc(X,"onBeforeInput"),0<Oe.length&&(ye=new l1("onBeforeInput","beforeinput",null,o,te),re.push({event:ye,listeners:Oe}),ye.data=Me)),R8(re,n,X,o,te)}qp(re,a)})}function io(n,a,o){return{instance:n,listener:a,currentTarget:o}}function tc(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 k8(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Xp(n,a,o,c,m){for(var g=a._reactName,S=[];o!==null&&o!==c;){var R=o,P=R.alternate,X=R.stateNode;if(R=R.tag,P!==null&&P===c)break;R!==5&&R!==26&&R!==27||X===null||(P=X,m?(X=Mi(o,g),X!=null&&S.unshift(io(o,X,P))):m||(X=Mi(o,g),X!=null&&S.push(io(o,X,P)))),o=o.return}S.length!==0&&n.push({event:a,listeners:S})}var N8=/\r\n?/g,D8=/\u0000|\uFFFD/g;function Wp(n){return(typeof n=="string"?n:""+n).replace(N8,`
|
|
50
|
+
`).replace(D8,"")}function Zp(n,a){return a=Wp(a),Wp(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":rs(n,"class",c);break;case"tabIndex":rs(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":rs(n,o,c);break;case"style":Z2(n,c,g);break;case"data":if(a!=="object"){rs(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=os(""+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=os(""+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=os(""+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),as(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":as(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=ix.get(o)||o,as(n,o,c))}}function $d(n,a,o,c,m,g){switch(o){case"style":Z2(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(!U2.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[Ft]||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,""):as(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,X=null;for(c in o)if(o.hasOwnProperty(c)){var te=o[c];if(te!=null)switch(c){case"name":m=te;break;case"type":S=te;break;case"checked":P=te;break;case"defaultChecked":X=te;break;case"value":g=te;break;case"defaultValue":R=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(r(137,a));break;default:We(n,a,c,te,o,null)}}q2(n,g,R,P,X,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)}X2(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(X in o)if(o.hasOwnProperty(X)&&(c=o[X],c!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:We(n,a,X,c,o,null)}return;default:if(Gu(a)){for(te in o)o.hasOwnProperty(te)&&(c=o[te],c!==void 0&&$d(n,a,te,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 $8(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,X=null,te=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":X=ee;break;case"defaultChecked":te=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)}}Fu(n,S,R,P,X,te,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)}Y2(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(X in c)if(Z=c[X],ee=o[X],c.hasOwnProperty(X)&&Z!==ee&&(Z!=null||ee!=null))switch(X){case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(r(137,a));break;default:We(n,a,X,Z,c,ee)}return;default:if(Gu(a)){for(var Ze in o)Z=o[Ze],o.hasOwnProperty(Ze)&&Z!==void 0&&!c.hasOwnProperty(Ze)&&$d(n,a,Ze,void 0,c,Z);for(te in c)Z=c[te],ee=o[te],!c.hasOwnProperty(te)||Z===ee||Z===void 0&&ee===void 0||$d(n,a,te,Z,c,ee);return}}for(var V in o)Z=o[V],o.hasOwnProperty(V)&&Z!=null&&!c.hasOwnProperty(V)&&We(n,a,V,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 Qp(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function z8(){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&&Qp(S)){for(S=0,R=m.responseEnd,c+=1;c<o.length;c++){var P=o[c],X=P.startTime;if(X>R)break;var te=P.transferSize,re=P.initiatorType;te&&Qp(re)&&(P=P.responseEnd,S+=te*(P<R?1:(R-X)/(P-X)))}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 zd=null,Pd=null;function nc(n){return n.nodeType===9?n:n.ownerDocument}function Jp(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 eg(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 Od(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 jd=null;function P8(){var n=window.event;return n&&n.type==="popstate"?n===jd?!1:(jd=n,!0):(jd=null,!1)}var tg=typeof setTimeout=="function"?setTimeout:void 0,O8=typeof clearTimeout=="function"?clearTimeout:void 0,ng=typeof Promise=="function"?Promise:void 0,j8=typeof queueMicrotask=="function"?queueMicrotask:typeof ng<"u"?function(n){return ng.resolve(null).then(n).catch(I8)}:tg;function I8(n){setTimeout(function(){throw n})}function Ql(n){return n==="head"}function lg(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 ag(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 Id(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":Id(o),Uu(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}n.removeChild(o)}}function B8(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 H8(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 rg(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 Bd(n){return n.data==="$?"||n.data==="$~"}function Hd(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function K8(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 Kd=null;function ig(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 og(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 sg(n,a,o){switch(a=nc(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]);Uu(n)}var Nn=new Map,cg=new Set;function lc(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var wl=O.d;O.d={f:U8,r:V8,D:F8,C:_8,L:G8,m:q8,X:X8,S:Y8,M:W8};function U8(){var n=wl.f(),a=Ys();return n||a}function V8(n){var a=mr(n);a!==null&&a.tag===5&&a.type==="form"?Rm(a):wl.r(n)}var Gr=typeof document>"u"?null:document;function ug(n,a,o){var c=Gr;if(c&&typeof a=="string"&&a){var m=Cn(a);m='link[rel="'+n+'"][href="'+m+'"]',typeof o=="string"&&(m+='[crossorigin="'+o+'"]'),cg.has(m)||(cg.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 F8(n){wl.D(n),ug("dns-prefetch",n,null)}function _8(n,a){wl.C(n,a),ug("preconnect",n,a)}function G8(n,a,o){wl.L(n,a,o);var c=Gr;if(c&&n&&a){var m='link[rel="preload"][as="'+Cn(a)+'"]';a==="image"&&o&&o.imageSrcSet?(m+='[imagesrcset="'+Cn(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(m+='[imagesizes="'+Cn(o.imageSizes)+'"]')):m+='[href="'+Cn(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 q8(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="'+Cn(c)+'"][href="'+Cn(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 Y8(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))&&Ud(n,o);var P=S=c.createElement("link");Tt(P),Ot(P,"link",n),P._p=new Promise(function(X,te){P.onload=X,P.onerror=te}),P.addEventListener("load",function(){R.loading|=1}),P.addEventListener("error",function(){R.loading|=2}),R.loading|=4,ac(S,a,c)}S={type:"stylesheet",instance:S,count:1,state:R},m.set(g,S)}}}function X8(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))&&Vd(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 W8(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))&&Vd(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 fg(n,a,o,c){var m=(m=ie.current)?lc(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||Z8(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="'+Cn(n)+'"'}function so(n){return'link[rel="stylesheet"]['+n+"]"}function dg(n){return b({},n,{"data-precedence":n.precedence,precedence:null})}function Z8(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="'+Cn(n)+'"]'}function co(n){return"script[async]"+n}function hg(n,a,o){if(a.count++,a.instance===null)switch(a.type){case"style":var c=n.querySelector('style[data-href~="'+Cn(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),ac(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=dg(o),(m=Nn.get(m))&&Ud(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,ac(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),Vd(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,ac(c,o.precedence,n));return a.instance}function ac(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 Ud(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Vd(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var rc=null;function mg(n,a,o){if(rc===null){var c=new Map,m=rc=new Map;m.set(o,c)}else m=rc,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 pg(n,a,o){n=n.ownerDocument||n,n.head.insertBefore(o,a==="title"?n.querySelector("head > title"):null)}function Q8(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 gg(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function J8(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=ic.bind(n),a.then(n,n)),o.state.loading|=4,o.instance=g,Tt(g);return}g=a.ownerDocument||a,c=dg(c),(m=Nn.get(m))&&Ud(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=ic.bind(n),a.addEventListener("load",o),a.addEventListener("error",o))}}var Fd=0;function eS(n,a){return n.stylesheets&&n.count===0&&sc(n,n.stylesheets),0<n.count||0<n.imgCount?function(o){var c=setTimeout(function(){if(n.stylesheets&&sc(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4+a);0<n.imgBytes&&Fd===0&&(Fd=62500*z8());var m=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&sc(n,n.stylesheets),n.unsuspend)){var g=n.unsuspend;n.unsuspend=null,g()}},(n.imgBytes>Fd?50:800)+a);return n.unsuspend=o,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(m)}}:null}function ic(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)sc(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var oc=null;function sc(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,oc=new Map,a.forEach(tS,n),oc=null,ic.call(n))}function tS(n,a){if(!(a.state.loading&4)){var o=oc.get(n);if(o)var c=o.get(null);else{o=new Map,oc.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=ic.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:N,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function nS(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=Iu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Iu(0),this.hiddenUpdates=Iu(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 bg(n,a,o,c,m,g,S,R,P,X,te,re){return n=new nS(n,a,o,S,P,X,te,re,R),a=1,g===!0&&(a|=24),g=sn(3,null,null,a),n.current=g,g.stateNode=n,a=Cf(),a.refCount++,n.pooledCache=a,a.refCount++,g.memoizedState={element:c,isDehydrated:o,cache:a},Mf(g),n}function vg(n){return n?(n=Tr,n):Tr}function yg(n,a,o,c,m,g){m=vg(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 xg(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var o=n.retryLane;n.retryLane=o!==0&&o<a?o:a}}function _d(n,a){xg(n,a),(n=n.alternate)&&xg(n,a)}function Sg(n){if(n.tag===13||n.tag===31){var a=La(n,67108864);a!==null&&Wt(a,n,67108864),_d(n,67108864)}}function wg(n){if(n.tag===13||n.tag===31){var a=hn();a=Bu(a);var o=La(n,a);o!==null&&Wt(o,n,a),_d(n,a)}}var cc=!0;function lS(n,a,o,c){var m=z.T;z.T=null;var g=O.p;try{O.p=2,Gd(n,a,o,c)}finally{O.p=g,z.T=m}}function aS(n,a,o,c){var m=z.T;z.T=null;var g=O.p;try{O.p=8,Gd(n,a,o,c)}finally{O.p=g,z.T=m}}function Gd(n,a,o,c){if(cc){var m=qd(c);if(m===null)Dd(n,a,c,uc,o),Eg(n,c);else if(iS(m,n,a,o,c))c.stopPropagation();else if(Eg(n,c),a&4&&-1<rS.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=Ea(g.pendingLanes);if(S!==0){var R=g;for(R.pendingLanes|=2,R.entangledLanes|=2;S;){var P=1<<31-rn(S);R.entanglements[1]|=P,S&=~P}Wn(g),(Fe&6)===0&&(Gs=It()+500,ao(0))}}break;case 31:case 13:R=La(g,2),R!==null&&Wt(R,g,2),Ys(),_d(g,2)}if(g=qd(c),g===null&&Dd(n,a,c,uc,o),g===m)break;m=g}m!==null&&c.stopPropagation()}else Dd(n,a,c,null,o)}}function qd(n){return n=Yu(n),Yd(n)}var uc=null;function Yd(n){if(uc=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 uc=n,null}function Cg(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 _7:return 32;case $2:return 268435456;default:return 32}default:return 32}}var Xd=!1,Jl=null,ea=null,ta=null,fo=new Map,ho=new Map,na=[],rS="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 Eg(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&&Sg(a)),n):(n.eventSystemFlags|=c,a=n.targetContainers,m!==null&&a.indexOf(m)===-1&&a.push(m),n)}function iS(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 Tg(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,B2(n.priority,function(){wg(o)});return}}else if(a===31){if(a=f(o),a!==null){n.blockedOn=a,B2(n.priority,function(){wg(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 fc(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var o=qd(n.nativeEvent);if(o===null){o=n.nativeEvent;var c=new o.constructor(o.type,o);qu=c,o.target.dispatchEvent(c),qu=null}else return a=mr(o),a!==null&&Sg(a),n.blockedOn=o,!1;a.shift()}return!0}function Rg(n,a,o){fc(n)&&o.delete(a)}function oS(){Xd=!1,Jl!==null&&fc(Jl)&&(Jl=null),ea!==null&&fc(ea)&&(ea=null),ta!==null&&fc(ta)&&(ta=null),fo.forEach(Rg),ho.forEach(Rg)}function dc(n,a){n.blockedOn===a&&(n.blockedOn=null,Xd||(Xd=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,oS)))}var hc=null;function Mg(n){hc!==n&&(hc=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){hc===n&&(hc=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(Yd(c||o)===null)continue;break}var g=mr(o);g!==null&&(n.splice(a,3),a-=3,qf(g,{pending:!0,data:m,method:o.method,action:c},c,m))}}))}function Xr(n){function a(P){return dc(P,n)}Jl!==null&&dc(Jl,n),ea!==null&&dc(ea,n),ta!==null&&dc(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);)Tg(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[Ft]||null;if(typeof g=="function")S||Mg(o);else if(S){var R=null;if(g&&g.hasAttribute("formAction")){if(m=g,S=g[Ft]||null)R=S.formAction;else if(Yd(m)!==null)continue}else R=S.action;typeof R=="function"?o[c+1]=R:(o.splice(c,3),c-=3),Mg(o)}}}function Ag(){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 Wd(n){this._internalRoot=n}mc.prototype.render=Wd.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(r(409));var o=a.current,c=hn();yg(o,c,n,a,null,null)},mc.prototype.unmount=Wd.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;yg(n.current,2,null,n,null,null),Ys(),a[dr]=null}};function mc(n){this._internalRoot=n}mc.prototype.unstable_scheduleHydration=function(n){if(n){var a=I2();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&&Tg(n)}};var Lg=t.version;if(Lg!=="19.2.7")throw Error(r(527,Lg,"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 sS={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var pc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pc.isDisabled&&pc.supportsFiber)try{wi=pc.inject(sS),an=pc}catch{}}return go.createRoot=function(n,a){if(!i(n))throw Error(r(299));var o=!1,c="",m=Om,g=jm,S=Im;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=bg(n,1,!1,null,null,o,c,null,m,g,S,Ag),n[dr]=a.current,Nd(n),new Wd(a)},go.hydrateRoot=function(n,a,o){if(!i(n))throw Error(r(299));var c=!1,m="",g=Om,S=jm,R=Im,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=bg(n,1,!0,a,o??null,c,m,P,g,S,R,Ag),a.context=vg(null),o=a.current,c=hn(),c=Bu(c),m=Kl(c),m.callback=null,Ul(o,m,c),o=c,a.current.lanes=o,Ei(a,o),Wn(a),n[dr]=a.current,Nd(n),new mc(a)},go.version="19.2.7",go}var Vg;function yS(){if(Vg)return e0.exports;Vg=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(),e0.exports=vS(),e0.exports}var xS=yS(),Fg=y.use,Eo=typeof window<"u"?y.useLayoutEffect:y.useEffect;function a0(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 SS(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 wS(e){const t=y.useRef(null);return y.useImperativeHandle(e,()=>t.current,[]),t}const wy=!1;function Do(e){return e[e.length-1]}function CS(e){return typeof e=="function"}function qa(e,t){return CS(e)?e(t):e}const Cy=Object.prototype.hasOwnProperty,_g=Object.prototype.propertyIsEnumerable;function Ey(e){for(const t in e)if(Cy.call(e,t))return!0;return!1}const ES=()=>Object.create(null),Ua=(e,t)=>Ya(e,t,ES);function Ya(e,t,l=()=>({}),r=0){if(e===t)return e;if(r>500)return t;const i=t,s=Yg(e)&&Yg(i);if(!s&&!(_c(e)&&_c(i)))return i;const u=s?e:Gg(e);if(!u)return i;const f=s?i:Gg(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:Cy.call(e,w))&&b++;continue}if(x===null||T===null||typeof x!="object"||typeof T!="object"){p[w]=T;continue}const E=Ya(x,T,l,r+1);p[w]=E,E===x&&b++}return d===h&&b===d?e:p}function Gg(e){const t=Object.getOwnPropertyNames(e);for(const i of t)if(!_g.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(!_g.call(e,i))return!1;r.push(i)}return r}function _c(e){if(!qg(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const l=t.prototype;return!(!qg(l)||!l.hasOwnProperty("isPrototypeOf"))}function qg(e){return Object.prototype.toString.call(e)==="[object Object]"}function Yg(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(_c(e)&&_c(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 TS(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 RS=/[\x00-\x1f\x7f"<>`{}]/g;function MS(e){return e.replace(RS,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}function Xg(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 MS(t)}const AS=["http:","https:","mailto:","tel:"];function Gc(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+=Xg(e.slice(l,i.index))+i[0],l=t.lastIndex;r=r+Xg(l?e.slice(l):e);let s=!1;return r.startsWith("//")&&(s=!0,r="/"+r.replace(/^\/+/,"")),{path:r,handledProtocolRelativeURL:s}}function LS(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function kS(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,Ty=5;function NS(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 Ry(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=NS(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 vu(e,t,l,r,i,s,u){var d,h,p,b,v,w,x,T,E,L;u==null||u(l);let f=r;{const M=l.fullPath??l.from,N=M.length,A=((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<N;){const $=Ry(M,f,t);let k;const K=f,U=$[5];switch(f=U+1,s++,$[0]){case 0:{const q=M.substring($[2],$[3]);if(A){const ne=(v=i.static)==null?void 0:v.get(q);if(ne)k=ne;else{i.static??(i.static=new Map);const le=Xa(l.fullPath??l.from);le.parent=i,le.depth=s,k=le,i.static.set(q,le)}}else{const ne=q.toLowerCase(),le=(w=i.staticInsensitive)==null?void 0:w.get(ne);if(le)k=le;else{i.staticInsensitive??(i.staticInsensitive=new Map);const j=Xa(l.fullPath??l.from);j.parent=i,j.depth=s,k=j,i.staticInsensitive.set(ne,j)}}break}case 1:{const q=M.substring(K,$[1]),ne=M.substring($[4],U),le=A&&!!(q||ne),j=q?le?q:q.toLowerCase():void 0,W=ne?le?ne:ne.toLowerCase():void 0,z=!B&&((x=i.dynamic)==null?void 0:x.find(O=>!O.parse&&O.caseSensitive===le&&O.prefix===j&&O.suffix===W));if(z)k=z;else{const O=i0(1,l.fullPath??l.from,le,j,W);k=O,O.depth=s,O.parent=i,i.dynamic??(i.dynamic=[]),i.dynamic.push(O)}break}case 3:{const q=M.substring(K,$[1]),ne=M.substring($[4],U),le=A&&!!(q||ne),j=q?le?q:q.toLowerCase():void 0,W=ne?le?ne:ne.toLowerCase():void 0,z=!B&&((T=i.optional)==null?void 0:T.find(O=>!O.parse&&O.caseSensitive===le&&O.prefix===j&&O.suffix===W));if(z)k=z;else{const O=i0(3,l.fullPath??l.from,le,j,W);k=O,O.parent=i,O.depth=s,i.optional??(i.optional=[]),i.optional.push(O)}break}case 2:{const q=M.substring(K,$[1]),ne=M.substring($[4],U),le=A&&!!(q||ne),j=q?le?q:q.toLowerCase():void 0,W=ne?le?ne:ne.toLowerCase():void 0,z=i0(2,l.fullPath??l.from,le,j,W);k=z,z.parent=i,z.depth=s,i.wildcard??(i.wildcard=[]),i.wildcard.push(z)}}i=k}if(B&&l.children&&!l.isRoot&&l.id&&l.id.charCodeAt(l.id.lastIndexOf("/")+1)===95){const $=Xa(l.fullPath??l.from);$.kind=Ty,$.parent=i,s++,$.depth=s,i.pathless??(i.pathless=[]),i.pathless.push($),i=$}const _=(l.path||!l.children)&&!l.isRoot;if(_&&M.endsWith("/")){const $=Xa(l.fullPath??l.from);$.kind=ua,$.parent=i,s++,$.depth=s,i.index=$,i=$}i.parse=B??null,i.priority=((L=(E=l.options)==null?void 0:E.params)==null?void 0:L.priority)??0,_&&!i.route&&(i.route=l,i.fullPath=l.fullPath??l.from)}if(l.children)for(const M of l.children)vu(e,t,M,f,i,s,u)}function r0(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(r0);for(const i of e.dynamic)sa(i)}if((l=e.optional)!=null&&l.length){e.optional.sort(r0);for(const i of e.optional)sa(i)}if((r=e.wildcard)!=null&&r.length){e.wildcard.sort(r0);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 i0(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 DS(e,t){const l=Xa("/"),r=new Uint16Array(6);for(const i of e)vu(!1,r,i,1,l,0);sa(l),t.masksTree=l,t.flatCache=zo(1e3)}function $S(e,t){e||(e="/");const l=t.flatCache.get(e);if(l)return l;const r=Ph(e,t.masksTree);return t.flatCache.set(e,r),r}function zS(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("/"),vu(t,new Uint16Array(6),{from:e},1,u,0),i.singleCache.set(s,u)),Ph(r,u,l)}function PS(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=Ph(e,t.segmentTree,l)}catch(u){if(u instanceof URIError)s=null;else throw u}return s&&(s.branch=Ay(s.route)),t.matchCache.set(r,s),s}function OS(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function jS(e,t=!1,l){const r=Xa(e.fullPath),i=new Uint16Array(6),s={},u={};let f=0;return vu(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=OS(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 Ph(e,t,l=!1){const r=e.split("/"),i=BS(e,r,t,l);if(!i)return null;const[s]=My(e,r,i);return{route:i.node.route,rawParams:s}}function My(e,t,l){var p,b,v,w,x,T,E,L,M,N;const r=IS(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 A=r[f];if(A.kind===ua)break;if(A.kind===Ty){h--,u--,d--;continue}const B=t[u],_=d;if(B&&(d+=B.length),A.kind===1){i??(i=l.node.fullPath.split("/"));const $=i[h],k=((x=A.prefix)==null?void 0:x.length)??0;if($.charCodeAt(k)===123){const K=((T=A.suffix)==null?void 0:T.length)??0,U=$.substring(k+2,$.length-K-1),q=B.substring(k,B.length-K);s[U]=decodeURIComponent(q)}else{const K=$.substring(1);s[K]=decodeURIComponent(B)}}else if(A.kind===3){if(l.skipped&1<<f){u--,d=_-1;continue}i??(i=l.node.fullPath.split("/"));const $=i[h],k=((E=A.prefix)==null?void 0:E.length)??0,K=((L=A.suffix)==null?void 0:L.length)??0,U=$.substring(k+3,$.length-K-1),q=A.suffix||A.prefix?B.substring(k,B.length-K):B;q&&(s[U]=decodeURIComponent(q))}else if(A.kind===2){const $=A,k=e.substring(_+(((M=$.prefix)==null?void 0:M.length)??0),e.length-(((N=$.suffix)==null?void 0:N.length)??0)),K=decodeURIComponent(k);s["*"]=K,s._splat=K;break}}return l.rawParams&&Object.assign(s,l.rawParams),[s,{part:u,node:f,path:d,segment:h}]}function Ay(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function IS(e){const t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function BS(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:E,optionals:L}=p;let{extract:M,rawParams:N}=p;if(b.kind===2&&b.route&&!bc(h,p))continue;if(b.parse){if(!Wg(e,t,p))continue;N=p.rawParams,M=p.extract}r&&b.route&&b.kind!==ua&&bc(d,p)&&(d=p);const A=v===u;if(A&&(b.route&&(!s||b.kind===ua||b.kind===2)&&bc(h,p)&&(h=p),!b.optional&&!b.wildcard&&!b.index&&!b.pathless))continue;const B=A?void 0:t[v];let _;if(A&&b.index){const $={node:b.index,index:v,skipped:w,depth:x+1,statics:T,dynamics:E,optionals:L,extract:M,rawParams:N};let k=!0;if(b.index.parse&&(Wg(e,t,$)||(k=!1)),k){if(!E&&!L&&!w&&HS(T,u))return $;bc(h,$)&&(h=$)}}if(b.wildcard)for(let $=b.wildcard.length-1;$>=0;$--){const k=b.wildcard[$],{prefix:K,suffix:U}=k;if(!(K&&(A||!(k.caseSensitive?B:_??(_=B.toLowerCase())).startsWith(K)))){if(U){if(A)continue;const q=t.slice(v).join("/").slice(-U.length);if((k.caseSensitive?q:q.toLowerCase())!==U)continue}f.push({node:k,index:u,skipped:w,depth:x+1,statics:T,dynamics:E,optionals:L,extract:M,rawParams:N})}}if(b.optional){const $=w|1<<x,k=x+1;for(let K=b.optional.length-1;K>=0;K--){const U=b.optional[K];f.push({node:U,index:v,skipped:$,depth:k,statics:T,dynamics:E,optionals:L,extract:M,rawParams:N})}if(!A)for(let K=b.optional.length-1;K>=0;K--){const U=b.optional[K],{prefix:q,suffix:ne}=U;if(q||ne){const le=U.caseSensitive?B:_??(_=B.toLowerCase());if(q&&!le.startsWith(q)||ne&&!le.endsWith(ne))continue}f.push({node:U,index:v+1,skipped:w,depth:k,statics:T,dynamics:E,optionals:L+gc(u,v),extract:M,rawParams:N})}}if(!A&&b.dynamic&&B)for(let $=b.dynamic.length-1;$>=0;$--){const k=b.dynamic[$],{prefix:K,suffix:U}=k;if(K||U){const q=k.caseSensitive?B:_??(_=B.toLowerCase());if(K&&!q.startsWith(K)||U&&!q.endsWith(U))continue}f.push({node:k,index:v+1,skipped:w,depth:x+1,statics:T,dynamics:E+gc(u,v),optionals:L,extract:M,rawParams:N})}if(!A&&b.staticInsensitive){const $=b.staticInsensitive.get(_??(_=B.toLowerCase()));$&&f.push({node:$,index:v+1,skipped:w,depth:x+1,statics:T+gc(u,v),dynamics:E,optionals:L,extract:M,rawParams:N})}if(!A&&b.static){const $=b.static.get(B);$&&f.push({node:$,index:v+1,skipped:w,depth:x+1,statics:T+gc(u,v),dynamics:E,optionals:L,extract:M,rawParams:N})}if(b.pathless){const $=x+1;for(let k=b.pathless.length-1;k>=0;k--){const K=b.pathless[k];f.push({node:K,index:v,skipped:w,depth:$,statics:T,dynamics:E,optionals:L,extract:M,rawParams:N})}}}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 gc(e,t){return 2**(e-t-1)}function HS(e,t){return e===2**(t-1)-1}function Wg(e,t,l){let r,i;try{[r,i]=My(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 bc(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 Oc(e){return Oh(e.filter(t=>t!==void 0).join("/"))}function Oh(e){return e.replace(/\/{2,}/g,"/")}function Ly(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 ky(e){return Tl(Ly(e))}function qc(e,t){return e!=null&&e.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function KS(e,t,l){return qc(e,l)===qc(t,l)}function US({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=Oh(f.join("/"))||"/";return u&&r&&r.set(u,d),d}function VS(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 o0(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=>Qg(i,l)).join("/"):Qg(r,l)}function Zg({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=Ry(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 E=o0("_splat",t,l);h+="/"+x+E+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),E=o0(w,t,l)??"undefined";h+="/"+x+E+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]),E=e.substring(d[4],b),L=o0(w,t,l)??"";h+="/"+T+L+E;continue}}return e.endsWith("/")&&(h+="/"),{usedParams:s,interpolatedPath:h||"/",isMissingParams:i}}function Qg(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 FS(){try{return sessionStorage}catch{return}}const _S="tsr-scroll-restoration-v1_3",si=FS();function GS(){try{return JSON.parse((si==null?void 0:si.getItem("tsr-scroll-restoration-v1_3"))||"{}")}catch{return{}}}function qS(){try{si==null||si.setItem(_S,JSON.stringify(oa))}catch{}}const oa=GS(),Jg="data-scroll-restoration-id",YS=e=>e.state.__TSR_key||e.href;function XS(e){const t=e.getAttribute(Jg);if(t)return`[${Jg}="${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 vc=!1;const jc="window";function F0(e){try{return typeof e=="function"?e():document.querySelector(e)}catch{}}function eb(e){const t=new Set;for(const l of e){if(l===jc)continue;const r=F0(l);r&&t.add(r)}return t}function WS(e,t){const l=e.options.scrollRestoration,r=e._scroll;l&&(r.restoring=!0);const i=e.options.getScrollRestorationKey||YS,s=new Set,u=f=>{const d=oa[f]||(oa[f]={});for(const h of s)h===document?d[jc]={scrollX,scrollY}:h.isConnected&&(d[XS(h)]={scrollX:h.scrollLeft,scrollY:h.scrollTop})};l&&!r.restoration&&(r.restoration=!0,vc=!1,history.scrollRestoration="manual",document.addEventListener("scroll",f=>{vc||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())),qS()})),!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 E=oa[x];if(E){let L=oa[w];for(const M in E){if(M===jc){if(p)continue}else{const N=F0(M);if(!N||p&&h&&(v??(v=eb(h)),v.has(N)))continue}L||(L=oa[w]={}),L[M]??(L[M]=E[M])}}}vc=!0;try{const E=f.toLocation.hash,L=f.toLocation.state.__hashScrollIntoViewOptions??!0;let M=!1;if(p){!E&&h&&(v??(v=eb(h)));const N=E&&L&&b,A=r.restoring?oa[w]:void 0;if(A)for(const B in A){const{scrollX:_,scrollY:$}=A[B];if(B===jc){if(N)continue;scrollTo({top:$,left:_,behavior:d}),M=!0}else{const k=F0(B);k&&(k.scrollLeft=_,k.scrollTop=$,v==null||v.delete(k))}}if(!E){const B={top:0,left:0,behavior:d};if(M||scrollTo(B),v)for(const _ of v)_.scrollTo(B)}}!M&&E&&L&&((T=document.getElementById(E))==null||T.scrollIntoView(L))}finally{vc=!1}}))}function ZS(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 s0(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function QS(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]=s0(i):Array.isArray(s)?s.push(s0(i)):l[r]=[s,s0(i)]}return l}const JS=t9(JSON.parse),e9=n9(JSON.stringify,JSON.parse);function t9(e){return t=>{t[0]==="?"&&(t=t.substring(1));const l=QS(t);for(const r in l){const i=l[r];if(typeof i=="string")try{l[r]=e(i)}catch{}}return l}}function n9(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=ZS(i,r);return s?`?${s}`:""}}const Qa="__root__";function yu(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 l9(e){return{input:({url:t})=>{for(const l of e)t=_0(l,t);return t},output:({url:t})=>{for(let l=e.length-1;l>=0;l--)t=Ny(e[l],t);return t}}}function a9(e){const t=ky(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=Oc(["/",t,s.pathname]),s)}}function _0(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 Ny(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 r9(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),E=l(e.redirect),L=l([]),M=l([]),N=l([]),A=r(()=>c0(u,L.get())),B=r(()=>c0(f,M.get())),_=r(()=>c0(d,N.get())),$=r(()=>L.get()[0]),k=r(()=>L.get().some(O=>{var oe;return((oe=u.get(O))==null?void 0:oe.get().status)==="pending"})),K=r(()=>{var O;return{locationHref:w.get().href,resolvedLocationHref:(O=x.get())==null?void 0:O.href,status:h.get()}}),U=r(()=>({status:h.get(),loadedAt:p.get(),isLoading:b.get(),isTransitioning:v.get(),matches:A.get(),location:w.get(),resolvedLocation:x.get(),statusCode:T.get(),redirect:E.get()})),q=zo(64);function ne(O){let oe=q.get(O);return oe||(oe=r(()=>{const J=L.get();for(const G of J){const D=u.get(G);if(D&&D.routeId===O)return D.get()}}),q.set(O,oe)),oe}const le={status:h,loadedAt:p,isLoading:b,isTransitioning:v,location:w,resolvedLocation:x,statusCode:T,redirect:E,matchesId:L,pendingIds:M,cachedIds:N,matches:A,pendingMatches:B,cachedMatches:_,firstId:$,hasPending:k,matchRouteDeps:K,matchStores:u,pendingMatchStores:f,cachedMatchStores:d,__store:U,getRouteMatchStore:ne,setMatches:j,setPending:W,setCached:z};j(e.matches),s==null||s(le);function j(O){u0(O,u,L,l,i)}function W(O){u0(O,f,M,l,i)}function z(O){u0(O,d,N,l,i)}return le}function c0(e,t){const l=[];for(const r of t){const i=e.get(r);i&&l.push(i.get())}return l}function u0(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)}kS(l.get(),s)||l.set(s)})}const G0=e=>{var t;if(!e.rendered)return e.rendered=!0,(t=e.onReady)==null?void 0:t.call(e)},i9=e=>e.stores.matchesId.get().some(t=>{var l;return(l=e.stores.matchStores.get(t))==null?void 0:l.get()._forcePending}),xu=(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},tb=(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},Dy=(e,t)=>{const l=e.router.getMatch(t);return!!(!l||l._nonReactive.dehydrated)},nb=(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))},$y=(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&&!xu(e,t)&&(l.options.loader||l.options.beforeLoad||Py(l))&&typeof i=="number"&&i!==1/0&&(l.options.pendingComponent??((s=e.router.options)==null?void 0:s.defaultPendingComponent))){const u=setTimeout(()=>{G0(e)},i);r._nonReactive.pendingTimeout=u}},o9=(e,t,l)=>{const r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;$y(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()},s9=(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),$y(e,t,r,i);const d=new AbortController;let h=!1;const p=()=>{h||(h=!0,e.updateMatch(t,A=>({...A,isFetching:"beforeLoad",fetchCount:A.fetchCount+1,abortController:d})))},b=()=>{var A;(A=i._nonReactive.beforeLoadPromise)==null||A.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,E=xu(e,t),L={search:w,abortController:d,params:x,preload:E,context:v,location:e.location,navigate:A=>e.router.navigate({...A,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:E?"preload":T,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},M=A=>{if(A===void 0){e.router.batch(()=>{p(),b()});return}(tn(A)||Ht(A))&&(p(),vo(e,l,A)),e.router.batch(()=>{p(),e.updateMatch(t,B=>({...B,__beforeLoadContext:A})),b()})};let N;try{if(N=r.options.beforeLoad(L),$o(N))return p(),N.catch(A=>{vo(e,l,A)}).then(M)}catch(A){p(),vo(e,l,A)}M(N)},c9=(e,t)=>{const{id:l,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],s=()=>f(),u=()=>s9(e,l,t,i),f=()=>{if(Dy(e,l))return;const d=o9(e,l,i);return $o(d)?d.then(u):u()};return s()},u9=(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}))},zy=(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=xu(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}},lb=async(e,t,l,r,i)=>{var s,u,f,d,h;try{const p=e.router.getMatch(l);try{(!(wy??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(zy(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,E=>({...E,isFetching:"loader"})),v){const E=x?await w:w;fa(e,e.router.getMatch(l),E),E!==void 0&&e.updateMatch(l,L=>({...L,loaderData:E}))}i._lazyPromise&&await i._lazyPromise;const T=p._nonReactive.minPendingPromise;T&&await T,i._componentsPromise&&await i._componentsPromise,e.updateMatch(l,E=>({...E,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)}},f9=async(e,t,l)=>{var w,x,T,E;async function r(L,M,N,A,B){const _=Date.now()-M.updatedAt,$=L?B.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:B.options.staleTime??e.router.options.defaultStaleTime??0,k=B.options.shouldReload,K=typeof k=="function"?k(zy(e,t,i,l,B)):k,{status:U,invalid:q}=A,ne=_>=$&&(!!e.forceStaleReload||A.cause==="enter"||N!==void 0&&N!==A.id);u=U==="success"&&(q||(K??ne)),L&&B.options.preload===!1||(u&&!e.sync&&p?(f=!0,(async()=>{var le,j;try{await lb(e,t,i,l,B);const W=e.router.getMatch(i);(le=W._nonReactive.loaderPromise)==null||le.resolve(),(j=W._nonReactive.loadPromise)==null||j.resolve(),W._nonReactive.loaderPromise=void 0,W._nonReactive.loadPromise=void 0}catch(W){tn(W)&&await e.router.navigate(W.options)}})()):U!=="success"||u?await lb(e,t,i,l,B):nb(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(Dy(e,i)){if(!e.router.getMatch(i))return e.matches[l];nb(e,i,l)}else{const L=e.router.getMatch(i),M=e.router.stores.matchesId.get()[l],N=((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,A=xu(e,i);if(L._nonReactive.loaderPromise){if(L.status==="success"&&!e.sync&&!L.preload&&p)return L;await L._nonReactive.loaderPromise;const B=e.router.getMatch(i),_=B._nonReactive.error||B.error;_&&fa(e,B,_),B.status==="pending"&&await r(A,L,N,B,d)}else{const B=A&&!e.router.stores.matchStores.has(i),_=e.router.getMatch(i);_._nonReactive.loaderPromise=pi(),B!==_.preload&&e.updateMatch(i,$=>({...$,preload:B})),await r(A,L,N,_,d)}}const b=e.router.getMatch(i);f||((T=b._nonReactive.loaderPromise)==null||T.resolve(),(E=b._nonReactive.loadPromise)==null||E.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,L=>({...L,isFetching:v,invalid:!1})),e.router.getMatch(i)):b};async function ab(e){var v,w;const t=e,l=[];i9(t.router)&&G0(t);let r;for(let x=0;x<t.matches.length;x++){try{const T=c9(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?tb(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(f9(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 E=T.reason;if(tn(E))throw E;Ht(E)?f??(f=E):d??(d=E)}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=tb(t,h);x===void 0&&Rl();const T=t.matches[x],E=t.router.looseRoutesById[T.routeId],L=(v=t.router.options)==null?void 0:v.defaultNotFoundComponent;!E.options.notFoundComponent&&L&&(E.options.notFoundComponent=L),h.routeId=T.routeId;const M=T.routeId===t.router.routeTree.id;t.updateMatch(T.id,N=>({...N,...M?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:h},isFetching:!1})),p=x,await Po(E,["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:E}=t.matches[x],L=t.router.looseRoutesById[E];try{const M=u9(t,T,L);if(M){const N=await M;t.updateMatch(T,A=>({...A,...N}))}}catch(M){console.error(`Error executing head for route ${E}:`,M)}}const b=G0(t);if($o(b)&&await b,h)throw h;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function rb(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=Ic){!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===Ic?(()=>{if(e._componentsPromise===void 0){const r=rb(e,Ic);r?e._componentsPromise=r.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():rb(e,t);return e._lazyPromise?e._lazyPromise.then(l):l()}function Py(e){var t;for(const l of Ic)if((t=e.options[l])!=null&&t.preload)return!0;return!1}const Ic=["component","errorComponent","pendingComponent","notFoundComponent"];var ma="__TSR_index",ib="popstate",ob="beforeunload";function d9(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=Yc(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=sb(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=sb(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 sb(e,t){t||(t={});const l=jh();return{...t,key:l,__TSR_key:l,[ma]:e}}function h9(e){var k,K;const t=typeof document<"u"?window:void 0,l=t.history.pushState,r=t.history.replaceState;let i=[];const s=()=>i,u=U=>i=U,f=(U=>U),d=(()=>Yc(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!((k=t.history.state)!=null&&k.__TSR_key)&&!((K=t.history.state)!=null&&K.key)){const U=jh();t.history.replaceState({[ma]:0,key:U,__TSR_key:U},"")}let h=d(),p,b=!1,v=!1,w=!1,x=!1;const T=()=>h;let E,L;const M=()=>{E&&($._ignoreSubscribers=!0,(E.isPush?t.history.pushState:t.history.replaceState)(E.state,"",E.href),$._ignoreSubscribers=!1,E=void 0,L=void 0,p=void 0)},N=(U,q,ne)=>{const le=f(q);L||(p=h),h=Yc(q,ne),E={href:le,state:ne,isPush:(E==null?void 0:E.isPush)||U==="push"},L||(L=Promise.resolve().then(()=>M()))},A=U=>{h=d(),$.notify({type:U})},B=async()=>{if(v){v=!1;return}const U=d(),q=U.state[ma]-h.state[ma],ne=q===1,le=q===-1,j=!ne&&!le||b;b=!1;const W=j?"GO":le?"BACK":"FORWARD",z=j?{type:"GO",index:q}:{type:le?"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:U,action:W})){v=!0,t.history.go(1),$.notify(z);return}}}h=d(),$.notify(z)},_=U=>{if(x){x=!1;return}let q=!1;const ne=s();if(typeof document<"u"&&ne.length)for(const le of ne){const j=le.enableBeforeUnload??!0;if(j===!0){q=!0;break}if(typeof j=="function"&&j()===!0){q=!0;break}}if(q)return U.preventDefault(),U.returnValue=""},$=d9({getLocation:T,getLength:()=>t.history.length,pushState:(U,q)=>N("push",U,q),replaceState:(U,q)=>N("replace",U,q),back:U=>(U&&(w=!0),x=!0,t.history.back()),forward:U=>{U&&(w=!0),x=!0,t.history.forward()},go:U=>{b=!0,t.history.go(U)},createHref:U=>f(U),flush:M,destroy:()=>{t.history.pushState=l,t.history.replaceState=r,t.removeEventListener(ob,_,{capture:!0}),t.removeEventListener(ib,B)},onBlocked:()=>{p&&h!==p&&(h=p)},getBlockers:s,setBlockers:u,notifyOnIndexChange:!1});return t.addEventListener(ob,_,{capture:!0}),t.addEventListener(ib,B),t.history.pushState=function(...U){const q=l.apply(t.history,U);return $._ignoreSubscribers||A("PUSH"),q},t.history.replaceState=function(...U){const q=r.apply(t.history,U);return $._ignoreSubscribers||A("REPLACE"),q},$}function m9(e){let t=e.replace(/[\x00-\x1f\x7f]/g,"");return t.startsWith("//")&&(t="/"+t.replace(/^\/+/,"")),t}function Yc(e,t){const l=m9(e),r=l.indexOf("#"),i=l.indexOf("?"),s=jh();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 jh(){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 p9=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=VS(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=h9()),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=r9(b9(this.latestLocation),b),WS(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=ky(d);v&&v!=="/"&&b.push(a9({basepath:d})),h&&b.push(h),this.rewrite=b.length===0?void 0:b.length===1?b[0]:l9(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=jS(this.routeTree,this.options.caseSensitive,(r,i)=>{r.init({originalIndex:i})});return this.options.routeMasks&&DS(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 L=this.options.parseSearch(h),M=this.options.stringifySearch(L);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,L),hash:bo(p.slice(1)).path,state:Ya(r==null?void 0:r.state,v)}}const w=new URL(b,this.origin),x=_0(this.rewrite,w),T=this.options.parseSearch(x.search),E=this.options.stringifySearch(T);return x.search=E,{href:x.href.replace(x.origin,""),publicHref:b,pathname:bo(x.pathname).path,external:!!this.rewrite&&x.origin!==this.origin,searchStr:E,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)=>US({base:l,to:r.includes("//")?Oh(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=>v9({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,ne;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 E;if(T)E=this.getRouteBranch(T);else if(w.includes("$"))E=[];else{const le=this.getMatchedRoutes(w);E=le.matchedRoutes,this.options.notFoundRoute&&(!le.foundRoute||le.foundRoute.path!=="/"&&le.routeParams["**"])&&(E=[...E,this.options.notFoundRoute])}if(E.length&&Ey(x))for(const le of E){const j=((q=le.options.params)==null?void 0:q.stringify)??le.options.stringifyParams;if(j)try{Object.assign(x,j(x))}catch{}}const L=l.leaveParams?w:bo(Zg({path:w,params:x,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let M=p;if(l._includeValidateSearch&&((ne=this.options.search)!=null&&ne.strict)){const le={};E.forEach(j=>{if(j.options.validateSearch)try{Object.assign(le,Bc(j.options.validateSearch,{...le,...M}))}catch{}}),M=le}M=y9({search:M,dest:s,destRoutes:E,_includeValidateSearch:l._includeValidateSearch}),M=Ua(p,M);const N=this.options.stringifySearch(M),A=s.hash===!0?u.hash:s.hash?qa(s.hash,u.hash):void 0,B=A?`#${A}`:"";let _=s.state===!0?u.state:s.state?qa(s.state,u.state):{};_=Ya(u.state,_);const $=`${L}${N}${B}`;let k,K,U=!1;if(this.rewrite){const le=new URL($,this.origin),j=Ny(this.rewrite,le);k=le.href.replace(le.origin,""),j.origin!==this.origin?(K=j.href,U=!0):K=j.pathname+j.search+j.hash}else k=LS($),K=k;return{publicHref:K,href:k,pathname:L,search:M,searchStr:N,state:_,hash:A??"",external:U,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=$S(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=Yc(f,{__TSR_index:l?b:b+1}),w=new URL(v.pathname,this.origin);d.to=_0(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(Gc(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 ab({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,N;let x=null,T=null,E=null,L=null;this.batch(()=>{const A=this.stores.pendingMatches.get(),B=A.length,_=this.stores.matches.get();x=B?_.filter(K=>!this.stores.pendingMatchStores.has(K.id)):null;const $=new Set;for(const K of this.stores.pendingMatchStores.values())K.routeId&&$.add(K.routeId);const k=new Set;for(const K of this.stores.matchStores.values())K.routeId&&k.add(K.routeId);T=B?_.filter(K=>!$.has(K.routeId)):null,E=B?A.filter(K=>!k.has(K.routeId)):null,L=B?A.filter(K=>k.has(K.routeId)):_,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),B&&(this.stores.setMatches(A),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...x.filter(K=>K.status!=="error"&&K.status!=="notFound"&&K.status!=="redirected")]),this.clearExpiredCache())});for(const[A,B]of[[T,"onLeave"],[E,"onEnter"],[L,"onStay"]])if(A)for(const _ of A)(N=(M=this.looseRoutesById[_.routeId].options)[B])==null||N.call(M,_)})})}})}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&&Gc(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 ab({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=zS(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??e9,parseSearch:e.parseSearch??JS,protocolAllowlist:e.protocolAllowlist??AS}),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=Ay(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?S9(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,E,L;{const j=(x==null?void 0:x.search)??e.search,W=(x==null?void 0:x._strictSearch)??void 0;try{const z=Bc(w.options.validateSearch,{...j})??void 0;T={...j,...z},E={...W,...z},L=void 0}catch(z){let O=z;if(z instanceof Xc||(O=new Xc(z.message,{cause:z})),t!=null&&t.throwOnError)throw O;T=j,E={},L=O}}const M=((b=(p=w.options).loaderDeps)==null?void 0:b.call(p,{search:T}))??"",N=M?JSON.stringify(M):"",{interpolatedPath:A,usedParams:B}=Zg({path:w.fullPath,params:i,decoder:this.pathParamsDecoder,server:this.isServer}),_=w.id+A+N,$=this.getMatch(_),k=h.get(w.id),K=($==null?void 0:$._strictParams)??B;let U;if(!$)try{cb(w,K)}catch(j){if(Ht(j)||tn(j)?U=j:U=new g9(j.message,{cause:j}),t!=null&&t.throwOnError)throw U}Object.assign(i,K);const q=k?"stay":"enter";let ne;if($)ne={...$,cause:q,params:(k==null?void 0:k.params)??i,_strictParams:K,search:Ua(k?k.search:$.search,T),_strictSearch:E};else{const j=w.options.loader||w.options.beforeLoad||w.lazyFn||Py(w)?"pending":"success";ne={id:_,ssr:w.options.ssr,index:v,routeId:w.id,params:(k==null?void 0:k.params)??i,_strictParams:K,pathname:A,updatedAt:Date.now(),search:k?Ua(k.search,T):T,_strictSearch:E,searchError:void 0,status:j,isFetching:!1,error:void 0,paramsError:U,__routeContext:void 0,_nonReactive:{loadPromise:pi()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:q,loaderDeps:k?Ya(k.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||(ne.globalNotFound=f===w.id),ne.searchError=L;const le=this.getParentContext(x);ne.context={...le,...ne.__routeContext,...ne.__beforeLoadContext},d[v]=ne}for(let v=0;v<d.length;v++){const w=d[v],x=this.looseRoutesById[w.routeId],T=this.getMatch(w.id),E=h.get(w.routeId);if(w.params=E?Ua(E.params,i):i,!T){const L=d[v-1],M=this.getParentContext(L);if(x.options.context){const N={deps:w.loaderDeps,params:w.params,context:M??{},location:e,navigate:A=>this.navigate({...A,_fromLocation:e}),buildLocation:this.buildLocation,cause:w.cause,abortController:w.abortController,preload:!!w.preload,matches:d,routeId:x.id};w.__routeContext=x.options.context(N)??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,Bc(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{cb(w,v)}catch{}h=v}const p={matchedRoutes:r,fullPath:s.fullPath,search:u,params:h};return this.lightweightCache.set(e,[t,p]),p}},Xc=class extends Error{},g9=class extends Error{};function b9(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Bc(e,t){if(e==null)return{};if("~standard"in e){const l=e["~standard"].validate(t);if(l instanceof Promise)throw new Xc("Async validation not supported");if(l.issues)throw new Xc(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 v9({pathname:e,routesById:t,processedTree:l}){const r=Object.create(null),i=Tl(e);let s;const u=PS(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 y9({search:e,dest:t,destRoutes:l,_includeValidateSearch:r}){return x9(l)(e,t,r??!1)}function x9(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=Bc(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 S9(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 cb(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 w9="Error preloading route! ☝️";var Oy=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=Ly(i));const s=(l==null?void 0:l.id)||i;let u=r?Qa:Oc([this.parentRoute.id==="__root__"?"":this.parentRoute.id,s]);i==="__root__"&&(i="/"),u!=="__root__"&&(u=Oc(["/",u]));const f=u==="__root__"?"/":Oc([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=>yu({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.")}},C9=class extends Oy{constructor(e){super(e)}};function Ih(e){const t=e.errorComponent??Bh;return C.jsx(E9,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:l,reset:r})=>l?y.createElement(t,{error:l,reset:r}):e.children})}var E9=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 Bh({error:e}){const[t,l]=y.useState(!1);return C.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[C.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[C.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),C.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"})]}),C.jsx("div",{style:{height:".25rem"}}),t?C.jsx("div",{children:C.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?C.jsx("code",{children:e.message}):null})}):null]})}function T9({children:e,fallback:t=null}){return jy()?C.jsx(F.Fragment,{children:e}):C.jsx(F.Fragment,{children:t})}function jy(){return F.useSyncExternalStore(R9,()=>!0,()=>!1)}function R9(){return()=>{}}var Iy=y.createContext(null);function gn(e){return y.useContext(Iy)}var Su=y.createContext(void 0),M9=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 A9({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 E=x.subs;E.nextSub!==void 0&&f(E),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 E=h.nextDep;if(E!==void 0){h=E;continue}}for(;v--;){const E=p.subs,L=E.nextSub!==void 0;if(L?(h=b.value,b=b.prev):h=E,w){if(e(p)){L&&f(E),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 L9(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 q0=[];let Hc=0;const{link:ub,unlink:k9,propagate:N9,checkDirty:By,shallowPropagate:fb}=A9({update(e){return e._update()},notify(e){q0[Y0++]=e,e.flags&=~rt.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=rt.Mutable|rt.Dirty,Wc(e))}});let yc=0,Y0=0,tl,X0=0;function Hy(e){try{++X0,e()}finally{--X0||Ky()}}function Wc(e){const t=e.depsTail;let l=t!==void 0?t.nextDep:e.deps;for(;l!==void 0;)l=k9(l,e)}function Ky(){if(!(X0>0)){for(;yc<Y0;){const e=q0[yc];q0[yc++]=void 0,e.notify()}yc=0,Y0=0}}function db(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&&ub(i,tl,Hc),i._snapshot},subscribe(s){const u=L9(s),f={current:!1},d=D9(()=>{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,++Hc,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),Wc(i)}}};return l?(i.flags=rt.Mutable|rt.Dirty,i.get=function(){const s=i.flags;if(s&rt.Dirty||s&rt.Pending&&By(i.deps,i)){if(i._update()){const u=i.subs;u!==void 0&&fb(u)}}else s&rt.Pending&&(i.flags=s&~rt.Pending);return tl!==void 0&&ub(i,tl,Hc),i._snapshot}):i.set=function(s){if(i._update(s)){const u=i.subs;u!==void 0&&(N9(u),fb(u),Ky())}},i}function D9(e){const t=()=>{const r=tl;tl=l,++Hc,l.depsTail=void 0,l.flags=rt.Watching|rt.RecursedCheck;try{return e()}finally{tl=r,l.flags&=~rt.RecursedCheck,Wc(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&&By(this.deps,this)?t():this.flags=rt.Watching},stop(){this.flags=rt.None,this.depsTail=void 0,Wc(this)}};return t(),l}var f0={exports:{}},d0={},h0={exports:{}},m0={};/**
|
|
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 hb;function $9(){if(hb)return m0;hb=1;var e=_o();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,
|
|
58
|
+
*/var hb;function $9(){if(hb)return m0;hb=1;var e=_o();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,E=x[1];return s(function(){T.value=w,T.getSnapshot=v,d(T)&&E({inst:T})},[b,w,v]),i(function(){return d(T)&&E({inst:T}),b(function(){d(T)&&E({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 m0.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,m0}var mb;function Uy(){return mb||(mb=1,h0.exports=$9()),h0.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 pb;function z9(){if(pb)return d0;pb=1;var e=_o(),t=Uy();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 d0.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 L(_){if(!M){if(M=!0,N=_,_=v(_),w!==void 0&&T.hasValue){var $=T.value;if(w($,_))return A=$}return A=_}if($=A,r(N,_))return $;var k=v(_);return w!==void 0&&w($,k)?(N=_,$):(N=_,A=k)}var M=!1,N,A,B=b===void 0?null:b;return[function(){return L(p())},B===null?void 0:function(){return L(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},d0}var gb;function P9(){return gb||(gb=1,f0.exports=z9()),f0.exports}var O9=P9();function j9(e,t){return e===t}function Vt(e,t,l=j9){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 O9.useSyncExternalStoreWithSelector(r,i,i,t,l)}var p0={get(){},subscribe(){return{unsubscribe(){}}}};function Vy(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?M9:Su),r=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(l),i=Vy(e,t),s=Vt(r??p0,u=>u?i(u):p0);if(s!==p0)return s;(e.shouldThrow??!0)&&Rl()}function Fy(e){return ir({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function _y(e){const{select:t,...l}=e;return ir({...l,select:r=>t?t(r.loaderDeps):r.loaderDeps})}function Gy(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 qy(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 Hh(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 Yy(e){return ir({...e,select:t=>e.select?e.select(t.context):t.context})}var al=Sy();const I9=xy(al);function B9(e,t){const l=gn(),r=w8(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:L,disabled:M,style:N,className:A,onClick:B,onBlur:_,onFocus:$,onMouseEnter:k,onMouseLeave:K,onTouchStart:U,ignoreBlocker:q,params:ne,search:le,hash:j,state:W,mask:z,reloadDocument:O,unsafeRelative:oe,from:J,_fromLocation:G,...D}=e,Q=jy(),se=y.useMemo(()=>e,[l,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ce=Vt(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(()=>_9(ie,xe,l.history,M),[M,xe,ie,l.history]),de=y.useMemo(()=>{if(Ae!=null&&Ae.external)return Gc(Ae.href,l.protocolAllowlist)?void 0:Ae.href;if(!G9(f)&&!(typeof f!="string"||f.indexOf(":")===-1))try{return new URL(f),Gc(f,l.protocolAllowlist)?void 0:f}catch{}},[f,Ae,l.protocolAllowlist]),Lt=y.useMemo(()=>{if(de)return!1;if(u!=null&&u.exact){if(!K8(ce.pathname,H.pathname,l.basepath))return!1}else{const Ye=qc(ce.pathname,l.basepath),Nt=qc(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,{})??H9:g0,ue=Lt?g0:qa(s,{})??g0,fe=[A,it.className,ue.className].filter(Boolean).join(" "),Ee=(N||it.style||ue.style)&&{...N,...it.style,...ue.style},[_e,Ve]=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(w9)})},[l,se,H]);S8(r,y.useCallback(Ye=>{Ye!=null&&Ye.isIntersecting&&jn()},[jn]),F9,{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=L!==void 0?L:Nt;if(!M&&!q9(Ye)&&!Ye.defaultPrevented&&(!Gn||Gn==="_self")&&Ye.button===0){Ye.preventDefault(),al.flushSync(()=>{Ve(!0)});const fr=l.subscribe("onResolved",()=>{fr(),Ve(!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},...L&&{target:L},...M&&{disabled:M},...N&&{style:N},...A&&{className:A},...B&&{onClick:B},..._&&{onBlur:_},...$&&{onFocus:$},...k&&{onMouseEnter:k},...K&&{onMouseLeave:K},...U&&{onTouchStart:U}};const Jo=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)},ju=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([_,It]),onFocus:Wr([$,Jo]),onMouseEnter:Wr([k,Jo]),onMouseLeave:Wr([K,It]),onTouchStart:Wr([U,ju]),disabled:!!M,target:L,...Ee&&{style:Ee},...fe&&{className:fe},...M&&K9,...Lt&&U9,...Q&&_e&&V9}}var g0={},H9={className:"active"},K9={role:"link","aria-disabled":!0},U9={"data-status":"active","aria-current":"page"},V9={"data-transitioning":"transitioning"},yo=new WeakMap,F9={rootMargin:"100px"},Wr=e=>t=>{for(const l of e)if(l){if(t.defaultPrevented)return;l(t)}};function _9(e,t,l,r){if(!r)return t?{href:e,external:!0}:{href:l.createHref(e)||"/",external:!1}}function G9(e){if(typeof e!="string")return!1;const t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var Xy=y.forwardRef((e,t)=>{const{_asChild:l,...r}=e,{type:i,...s}=B9(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 q9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var Y9=class extends Oy{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=>Yy({...l,from:this.id}),this.useSearch=l=>qy({select:l==null?void 0:l.select,structuralSharing:l==null?void 0:l.structuralSharing,from:this.id}),this.useParams=l=>Gy({select:l==null?void 0:l.select,structuralSharing:l==null?void 0:l.structuralSharing,from:this.id}),this.useLoaderDeps=l=>_y({...l,from:this.id}),this.useLoaderData=l=>Fy({...l,from:this.id}),this.useNavigate=()=>Hh({from:this.fullPath}),this.Link=F.forwardRef((l,r)=>E.jsx(Xy,{ref:r,from:this.fullPath,...l}))}};function X9(e){return new Y9(e)}var W9=class extends E9{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=>Yy({...t,from:this.id}),this.useSearch=t=>qy({select:t==null?void 0:t.select,structuralSharing:t==null?void 0:t.structuralSharing,from:this.id}),this.useParams=t=>Gy({select:t==null?void 0:t.select,structuralSharing:t==null?void 0:t.structuralSharing,from:this.id}),this.useLoaderDeps=t=>_y({...t,from:this.id}),this.useLoaderData=t=>Fy({...t,from:this.id}),this.useNavigate=()=>Hh({from:this.fullPath}),this.Link=F.forwardRef((t,l)=>E.jsx(Xy,{ref:l,from:this.fullPath,...t}))}};function Z9(e){return new W9(e)}function gi(e){return new Q9(e,{silent:!0}).createRoute}var Q9=class{constructor(e,t){this.path=e,this.createRoute=l=>{const r=X9(l);return r.isRoot=!1,r},this.silent=t==null?void 0:t.silent}};function Go(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,T8(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(Fg)Fg(u());else throw u();return y.createElement(r,h)};return f.preload=u,f}function J9(e){const t=gn(),l=`not-found-${Vt(t.stores.location,r=>r.pathname)}-${Vt(t.stores.status,r=>r)}`;return E.jsx(Ih,{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 ew(){return E.jsx("p",{children:"Not Found"})}function ni(e){return E.jsx(E.Fragment,{children:e.children})}function Wy(e,t,l){return t.options.notFoundComponent?E.jsx(t.options.notFoundComponent,{...l}):e.options.defaultNotFoundComponent?E.jsx(e.options.defaultNotFoundComponent,{...l}):E.jsx(ew,{})}function tw(e){return null}function nw(){return tw(gn()),null}var lw=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,aw=(e,t)=>e[0]===t[0]&&e[1]===t[1],Zy=y.memo(function({matchId:t}){const l=gn(),r=l.stores.matchStores.get(t);r||Rl();const i=Vt(l.stores.loadedAt,u=>u),s=Vt(r,u=>u,lw);return E.jsx(rw,{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 rw({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?Ih:ni,w=h?J9:ni;return E.jsxs(i.isRoot?i.options.shellComponent??ni:ni,{children:[E.jsx(Su.Provider,{value:t,children:E.jsx(b,{fallback:u,children:E.jsx(v,{getResetKey:()=>l,errorComponent:f||Bh,onCatch:(C,L)=>{if(Ht(C))throw C.routeId??(C.routeId=r.routeId),C;d==null||d(C,L)},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(T9,{fallback:u,children:E.jsx(bb,{matchId:t})}):E.jsx(bb,{matchId:t})})})})}),r.parentRouteId===Qa?E.jsxs(E.Fragment,{children:[E.jsx(iw,{}),e.options.scrollRestoration&&wy?E.jsx(nw,{}):null]}):null]})}function iw(){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},[Vt(e.stores.resolvedLocation,l=>l==null?void 0:l.state.__TSR_key),e]),null}var bb=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=Vt(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(Qy,{})},[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(),Wy(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}),Qy=y.memo(function(){const t=gn(),l=y.useContext(Su);let r,i=!1,s;{const h=l?t.stores.matchStores.get(l):void 0;[r,i]=Vt(h,p=>[p==null?void 0:p.routeId,(p==null?void 0:p.globalNotFound)??!1],aw),s=Vt(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(),Wy(t,u,void 0);if(!s)return null;const d=E.jsx(Zy,{matchId:s});return r===Qa?E.jsx(y.Suspense,{fallback:f,children:d}):d});function ow(){const e=gn(),t=y.useRef({router:e,mounted:!1}),[l,r]=y.useState(!1),i=Vt(e.stores.isLoading,b=>b),s=Vt(e.stores.hasPending,b=>b),u=a0(i),f=i||l||s,d=a0(f),h=i||s,p=a0(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}),Hy(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[f,d,e]),null}function sw(){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(ow,{}),E.jsx(cw,{})]});return e.options.InnerWrap?E.jsx(e.options.InnerWrap,{children:r}):r}function cw(){const e=gn(),t=Vt(e.stores.firstId,i=>i),l=Vt(e.stores.loadedAt,i=>i),r=t?E.jsx(Zy,{matchId:t}):null;return E.jsx(Su.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:E.jsx(Ih,{getResetKey:()=>l,errorComponent:Bh,onCatch:void 0,children:r})})}var uw=e=>({createMutableStore:db,createReadonlyStore:db,batch:Hy}),fw=e=>new dw(e),dw=class extends p9{constructor(e){super(e,uw)}};function hw({router:e,children:t,...l}){Cy(l)&&e.update({...e.options,...l,context:{...e.options.context,...l.context}});const r=E.jsx(Iy.Provider,{value:e,children:t});return e.options.Wrap?E.jsx(e.options.Wrap,{children:r}):r}function mw({router:e,...t}){return E.jsx(hw,{router:e,...t,children:E.jsx(sw,{})})}function pw(e){const t=gn();return Vt(t.stores.location,Vy(e,t))}const gw="react-aria-clear-focus",bw="react-aria-focus";function wu(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 Kh(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 Fn=kl(function(){return Kh(/^Mac/i)}),vw=kl(function(){return Kh(/^iPhone/i)}),Jy=kl(function(){return Kh(/^iPad/i)||Fn()&&navigator.maxTouchPoints>1}),ba=kl(function(){return vw()||Jy()}),yw=kl(function(){return Fn()||ba()}),Ml=kl(function(){return wu(/AppleWebKit/i)&&(ba()||!e3())}),e3=kl(function(){return wu(/Chrome|CriOS|CrMo/i)}),Zc=kl(function(){return wu(/Android/i)}),xw=kl(function(){return wu(/(Firefox|FxiOS)/i)});function en(e){if(Sw())e.focus({preventScroll:!0});else{let t=ww(e);e.focus(),Ew(t)}}let xc=null;function Sw(){if(xc==null){xc=!1;try{document.createElement("div").focus({get preventScroll(){return xc=!0,!0}})}catch{}}return xc}function ww(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 Ew(e){for(let{element:t,scrollTop:l,scrollLeft:r}of e)t.scrollTop=l,t.scrollLeft=r}const Cw=y.createContext({isNative:!0,open:Mw,useHref:e=>e});function qo(){return y.useContext(Cw)}function Tw(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()&&xw()&&((h=(d=window.event)==null?void 0:d.type)!=null&&h.startsWith("key"))&&e.target==="_blank"&&(Fn()?r=!0:i=!0);let f=Ml()&&Fn()&&!Jy()?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 Rw(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 Mw(e,t){Rw(e,l=>Al(l,t))}function Ez(e){const l=qo().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 t3(e){const l=qo().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 Aw(e,t,l,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&Tw(e.currentTarget,e)&&l&&(e.preventDefault(),t.open(e.currentTarget,e,l,r))}const Ne=typeof document<"u"?F.useLayoutEffect:()=>{},n3={prefix:String(Math.round(Math.random()*1e10)),current:0},l3=F.createContext(n3),Lw=F.createContext(!1);let b0=new WeakMap;function kw(e=!1){var r,i;let t=y.useContext(l3),l=y.useRef(null);if(l.current===null&&!e){let s=(i=(r=F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)==null?void 0:r.ReactCurrentOwner)==null?void 0:i.current;if(s){let u=b0.get(s);u==null?b0.set(s,{id:t.current,state:s.memoizedState}):s.memoizedState!==u.state&&(t.current=u.id,b0.delete(s))}l.current=++t.current}return l.current}function Nw(e){let t=y.useContext(l3),l=kw(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${l}`}function Dw(e){let t=F.useId(),[l]=y.useState(Nl()),r=l?"react-aria":`react-aria${n3.prefix}`;return e||`${r}-${t}`}const $w=typeof F.useId=="function"?Dw:Nw;function zw(){return!1}function Pw(){return!0}function Ow(e){return()=>{}}function Nl(){return typeof F.useSyncExternalStore=="function"?F.useSyncExternalStore(Ow,zw,Pw):y.useContext(Lw)}function jw(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 Iw=!!(typeof window<"u"&&window.document&&window.document.createElement),ui=new Map,li;typeof FinalizationRegistry<"u"&&(li=new FinalizationRegistry(e=>{ui.delete(e)}));let v0=new WeakMap;function _n(e){let[t,l]=y.useState(e),r=y.useRef(null),i=$w(t),s=y.useRef(null),u=v0.get(s);if(li&&u!==i&&(u!=null&&li.unregister(s),li.register(s,i,s),v0.set(s,i)),Iw){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),v0.delete(s)),ui.delete(f)}},[i]),y.useEffect(()=>{let f=r.current;return f&&l(f),()=>{f&&(r.current=null)}}),i}function Bw(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 W0(e=[]){let t=_n(),[l,r]=jw(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=>Hw(e)?e.document:Kw(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 a3(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Hw(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function Kw(e){return a3(e)&&e.nodeType===9}function Uh(e){return a3(e)&&e.nodeType===11&&"host"in e}function Uw(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 Vw=!1;function nl(){return Vw}function Be(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:Uh(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 Fw(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(;Uh(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 _w{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(!Be(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 Be(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 r3(e,t,l,r){return nl()?new _w(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=vb(i,t);return l||(l=typeof s=="function"),s});if(l)return()=>{r.forEach((i,s)=>{typeof i=="function"?i():vb(e[s],null)})}}}function vb(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function i3(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=i3(e[t]))&&(r&&(r+=" "),r+=l)}else for(l in e)e[l]&&(r&&(r+=" "),r+=l);return r}function o3(){for(var e,t,l=0,r="",i=arguments.length;l<i;l++)(e=arguments[l])&&(t=i3(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]=o3(s,u):i==="id"&&s&&u?t.id=Bw(s,u):i==="ref"&&s&&u?t.ref=ya(s,u):t[i]=u!==void 0?u:s}}return t}const Gw=new Set(["id"]),qw=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Yw=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Xw=new Set(["dir","lang","hidden","inert","translate"]),yb=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"]),Ww=/^(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)&&(Gw.has(d)||l&&qw.has(d)||r&&Yw.has(d)||i&&Xw.has(d)||s&&(yb.has(d)||d.endsWith("Capture")&&yb.has(d.slice(0,-7)))||u!=null&&u.has(d)||Ww.test(d))&&(f[d]=e[d]);return f}let ca=new Map,Z0=new Set;function xb(){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 Z0)u();Z0.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",l)}typeof document<"u"&&(document.readyState!=="loading"?xb():document.addEventListener("DOMContentLoaded",xb));function Zw(){for(const[e]of ca)"isConnected"in e&&!e.isConnected&&ca.delete(e)}function s3(e){requestAnimationFrame(()=>{Zw(),ca.size===0?e():Z0.add(e)})}function Eu(){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 Vh(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 Qw=F.useInsertionEffect??Ne;function Vn(e){const t=y.useRef(null);return Qw(()=>{t.current=e},[e]),y.useCallback((...l)=>{const r=t.current;return r==null?void 0:r(...l)},[])}function Sb(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 Jw(){return typeof window.ResizeObserver<"u"}function Q0(e){const{ref:t,box:l,onResize:r}=e;let i=Vn(r);y.useEffect(()=>{let s=t==null?void 0:t.current;if(s)if(Jw()){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 Fh(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 c3(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 y0(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 Fn()?e.metaKey:e.ctrlKey}const eE=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ao(e){return e instanceof HTMLInputElement&&!eE.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}let Jt=typeof document<"u"&&window.visualViewport;function tE(){let e=Nl(),[t,l]=y.useState(()=>e?{width:0,height:0}:x0());return y.useEffect(()=>{let r=f=>{l(d=>f.width===d.width&&f.height===d.height?d:f)},i=()=>{Jt&&Jt.scale>1||r(x0())},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(x0()),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 x0(){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 nE=0;const S0=new Map;function lE(e){let[t,l]=y.useState();return Ne(()=>{if(!e)return;let r=S0.get(e);if(r)l(r.element.id);else{let i=`react-aria-description-${nE++}`;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},S0.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),S0.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Sc(e,t,l,r){let i=Vn(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 Kc(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,L=parseFloat(h.scrollMarginTop)||0,M=parseFloat(h.scrollMarginBottom)||0,N=parseFloat(h.scrollMarginLeft)||0,A=parseFloat(h.scrollMarginRight)||0,B=parseFloat(p.scrollPaddingTop)||0,_=parseFloat(p.scrollPaddingBottom)||0,$=parseFloat(p.scrollPaddingLeft)||0,k=parseFloat(p.scrollPaddingRight)||0,K=parseFloat(p.borderTopWidth)||0,U=parseFloat(p.borderBottomWidth)||0,q=parseFloat(p.borderLeftWidth)||0,ne=parseFloat(p.borderRightWidth)||0,le=f.top-L,j=f.bottom+M,W=f.left-N,z=f.right+A,O=e===b?0:q+ne,oe=e===b?0:K+U,J=e===b?0:e.offsetWidth-e.clientWidth-O,G=e===b?0:e.offsetHeight-e.clientHeight-oe,D=w+(v?0:K)+B,Q=x-(v?0:U)-_-G,se=T+(v?0:q)+$,ce=C-(v?0:ne)-k;ba()&&Ml()||p.direction==="ltr"?ce-=J:p.direction==="rtl"&&(se+=J);let H=le<D||j>Q,ie=W<se||z>ce;if(H&&r==="start")s+=le-D;else if(H&&r==="center")s+=(le+j)/2-(D+Q)/2;else if(H&&r==="end")s+=j-Q;else if(H&&r==="nearest"){let xe=le-D,Ae=j-Q;s+=Math.abs(xe)<=Math.abs(Ae)?xe:Ae}if(ie&&i==="start")u+=W-se;else if(ie&&i==="center")u+=(W+z)/2-(se+ce)/2;else if(ie&&i==="end")u+=z-ce;else if(ie&&i==="nearest"){let xe=W-se,Ae=z-ce;u+=Math.abs(xe)<=Math.abs(Ae)?xe:Ae}e.scrollTo({left:u,top:s})}function wb(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=y0(e,!0);for(let w of p)Kc(w,e);let{left:b,top:v}=e.getBoundingClientRect();if(Math.abs(d-b)>1||Math.abs(h-v)>1){p=l?y0(l,!0):[];for(let w of p)Kc(w,l,{block:"center",inline:"center"});for(let w of y0(e,!0))Kc(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 u3(e){return e.pointerType===""&&e.isTrusted?!0:Zc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function aE(e){return!Zc()&&e.width===0&&e.height===0||Zc()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function rE(e,t,l){let r=Vn(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 Eb(e){const t=y.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}function Cu(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]),f3(e,i,y.useCallback(()=>r(!1),[])),i}function Qc(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 f3(e,i,y.useCallback(()=>{r(s=>s==="exiting"?"closed":s)},[])),i}function f3(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 iE=typeof Element<"u"&&"checkVisibility"in Element.prototype;function oE(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 sE(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 _h(e,t){return iE?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&oE(e)&&sE(e,t)&&(!e.parentElement||_h(e.parentElement,e))}const Gh=["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"],cE=Gh.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Gh.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const uE=Gh.join(':not([hidden]):not([tabindex="-1"]),');function d3(e,t){return e.matches(cE)&&!h3(e)&&((t==null?void 0:t.skipVisibilityCheck)||_h(e))}function qh(e){return e.matches(uE)&&_h(e)&&!h3(e)}function h3(e){let t=e;for(;t!=null;){if(t instanceof jt(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function Cb(e){let t=e==null?void 0:e.defaultView;return(t==null?void 0:t.__webpack_nonce__)||globalThis.__webpack_nonce__||void 0}let w0=new WeakMap;function m3(e){let t=e??(typeof document<"u"?document:void 0);if(!t)return Cb(t);if(w0.has(t))return w0.get(t);let l=t.querySelector('meta[property="csp-nonce"]'),r=l&&l instanceof jt(l).HTMLMetaElement&&(l.nonce||l.content)||Cb(t)||void 0;return r!==void 0&&w0.set(t,r),r}function J0(e,t=-1/0,l=1/0){return Math.min(Math.max(e,t),l)}function fE(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 Tb={},Ct=new Proxy({},{get(e,t){if(typeof t!="string")return;let l=Tb[t];return l||(l=fE.bind(null,t),Tb[t]=l),l}});var dE=Array.isArray,Tu=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(dE(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:Tu(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},hE=/\s+/g,eh=Array.isArray,mE=e=>typeof e!="string"||!e?e:e.replace(hE," ").trim(),pE=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=Tu(e);if(t)return pE(t)?mE(t):t},th=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},p3=(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},gE=(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},g3=(e,t)=>{for(let l=0;l<e.length;l++){const r=e[l];eh(r)?g3(r,t):r&&t.push(r)}},nh=(...e)=>{const t=[];g3(e,t);const l=[];for(let r=0;r<t.length;r++)t[r]&&l.push(t[r]);return l},Yh=(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];eh(u)||eh(f)?i[s]=nh(f,u):typeof u=="object"&&typeof f=="object"&&u&&f?i[s]=Yh(u,f):i[s]=f+" "+u}else i[s]=u}for(const s in r)s in l||(i[s]=r[s]);return i},bE={twMerge:!0,twMergeConfig:{}},b3=256,vE=128,tr=Symbol("tv-cache-miss"),yE=e=>(e==null?void 0:e.class)!=null&&e.class!==""||(e==null?void 0:e.className)!=null&&e.className!=="",Rb=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=th(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+"?"}},v3=(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]);const p=Rb(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));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]);const p=Rb(h);if(p===null)return null;i+=d+":"+p+";"}return i},y3=(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},x3=(e=b3)=>{let t=new Map,l=null;return{get(r){if(t.has(r))return t.get(r);if(l!=null&&l.has(r)){const i=l.get(r);return t.set(r,i),i}return tr},set(r,i){t.size>=e&&(l=t,t=new Map),t.set(r,i)}}},xE=(e=b3)=>{const t=x3(e);return{get(l){return t.get(l)},set(l,r){t.set(l,r)}}},SE=(e=vE)=>{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)}}},Xh=(e,t)=>{let l=null;return(r,i)=>{if(!yE(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=SE());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 wE(){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=wE(),EE=e=>{!Dn(e.twMergeConfig)&&!p3(e.twMergeConfig,Ut.cachedTwMergeConfig)&&(Ut.didTwMergeConfigChange=!0,Ut.cachedTwMergeConfig=e.twMergeConfig)},CE=(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},TE=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},RE=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},ME=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},AE=(e,t)=>{const{extend:l=null,slots:r={},variants:i={},compoundVariants:s=[],compoundSlots:u=[],defaultVariants:f={}}=e,d={...bE,...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)?Yh(i,l.variants):i,v=l!=null&&l.defaultVariants&&!Dn(l.defaultVariants)?{...l.defaultVariants,...f}:f;EE(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:gE({...l==null?void 0:l.slots},Dn(T)?{base:e==null?void 0:e.base}:T),L=!(l!=null&&l.compoundVariants)||Dn(l.compoundVariants)?s:nh(l==null?void 0:l.compoundVariants,s),M=!(l!=null&&l.compoundSlots)||Dn(l.compoundSlots)?u:nh(l==null?void 0:l.compoundSlots,u),N=Object.keys(b),A=L&&!Array.isArray(L)?new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof L}`):M&&!Array.isArray(M)?new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof M}`):null,B=h||!w?"slots":N.length===0?"plain":"variants";return{config:d,extend:l,base:p,variants:b,defaultVariants:v,slots:C,compoundVariants:L,compoundSlots:M,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:A,mode:B,slotKeys:null,variantKeys:N}},S3=e=>(e.compiledVariants!==null||(e.compiledVariants=CE(e.variants,e.variantKeys),e.compiledCompoundVariants=TE(e.compoundVariants),e.compiledCompoundSlots=RE(e.compoundSlots),e.compiledCompoundSlotsBySlot=ME(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots=="object"?Object.keys(e.slots):[]),e),lh=[],w3=[],LE=[],kE=[],NE=[],E3=(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},wc=e=>e==null||e===!1,DE=(e,t)=>{if(!Array.isArray(e))return e===t||wc(e)&&wc(t);for(let l=0;l<e.length;l++){const r=e[l];if(r===t||wc(r)&&wc(t))return!0}return!1},C3=(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=th(i);if(typeof s=="object")return null;const u=t==null?void 0:t[e.key],f=s??th(u);return e.values[f||"false"]},Wh=(e,t)=>{const{conditionKeys:l,source:r}=e;for(let i=0;i<l.length;i++){const s=l[i];if(!DE(r[s],t[s]))return!1}return!0},Mb=(e,t,l)=>{typeof l=="string"?t==="base"&&e.push(l):l&&typeof l=="object"&&l[t]&&e.push(l[t])},$E=(e,t,l)=>{const r=w3;r.length=0;for(let i=0;i<e.length;i++){const s=C3(e[i],t,l);s&&r.push(s)}return r},zE=(e,t,l,r,i)=>{const s=w3;s.length=0;for(let u=0;u<t.length;u++){const f=C3(t[u],l,r,i),d=e==="base"&&typeof f=="string"?f:f&&f[e];d&&s.push(d)}return s},PE=(e,t)=>{const l=LE;l.length=0;for(let r=0;r<e.length;r++){const i=e[r];Wh(i,t)&&(i.source.class&&l.push(i.source.class),i.source.className&&l.push(i.source.className))}return l},OE=(e,t,l)=>{const r=kE;r.length=0;for(let i=0;i<t.length;i++){const s=t[i];Wh(s,l)&&(Mb(r,e,s.source.class),Mb(r,e,s.source.className))}return r},jE=(e,t)=>{const l=NE;l.length=0;for(let r=0;r<e.length;r++){const i=e[r];Wh(i,t)&&(i.source.class&&l.push(i.source.class),i.source.className&&l.push(i.source.className))}return l},IE=(e,t)=>{const{base:l,config:r}=e;let i=tr;const s=Xh(t,r);return(u=>(i===tr&&(i=t(r,l)),s(i,u)))},BE=(e,t)=>{const{base:l,config:r,defaultVariants:i,deferredError:s,variantKeys:u}=e;let f=e.compiledCompoundVariants,d=e.compiledVariants,h=lh,p=null;const b=Xh(t,r);let v=1;const w=x=>{const T=f.length>0?PE(f,E3(i,x)):void 0;return t(r,l,$E(d,i,x),T)};return(x=>{if(s)throw s;(d===null||f===null)&&(S3(e),d=e.compiledVariants,f=e.compiledCompoundVariants,h=e.compiledCompoundSlots??lh);let T;if(v>0)v--,T=w(x);else{p??(p=xE());const C=v3(u,i,x);if(C!==null){const L=f.length>0||h.length>0?y3(f,h):"",M=C+"#"+L,N=p.get(M);N!==tr?T=N:(T=w(x),p.set(M,T))}else T=w(x)}return b(T,x)})},HE=(e,t)=>{const{config:l,defaultVariants:r,deferredError:i,slots:s,variantKeys:u}=e;let f=null,d=null,h=null,p=null,b=!1,v=null,w=null,x=1;const T=()=>{if(h!==null)return;(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&S3(e);const L=e.compiledVariants;f=e.compiledCompoundVariants,d=e.compiledCompoundSlots;const M=e.compiledCompoundSlotsBySlot;h=e.slotKeys,b=f.length>0||d.length>0,v=Xh(t,l);const N=new Array(h.length);for(let A=0;A<h.length;A++){const B=h[A],_=M[B]??lh;N[A]=($,k)=>{const K=b?E3(r,$,k):void 0,U=K?OE(B,f,K):void 0,q=K?jE(_,K):void 0;return t(l,s[B],zE(B,L,r,$,k),U,q)}}p=N},C=L=>{const M=h,N=p,A=v,B={};for(let _=0;_<M.length;_++){const $=N[_],k=$(L);B[M[_]]=K=>{if(K==null)return k;let U=!1;for(const q in K)if(!(q==="class"||q==="className")&&K[q]!==void 0){U=!0;break}return A(U?$(L,K):k,K)}}return B};return(L=>{if(i)throw i;if(T(),x>0)return x--,C(L);const M=v3(u,r,L);if(M===null)return C(L);const N=b?y3(f,d):"",A=M+"#"+N;w??(w=x3());const B=w.get(A);if(B!==tr)return B;const _=C(L);return w.set(A,_),_})},KE=(e,t)=>{if(e.mode==="plain")return IE(e,t);let l;return(r=>(l??(l=e.mode==="slots"?HE(e,t):BE(e,t)),l(r)))},UE=(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},VE=e=>{const t=(r,i)=>{const s=AE(r,i),u=KE(s,e);return UE(u,s),u};return{tv:t,createTV:r=>(i,s)=>t(i,s?Yh(r,s):r)}},FE=(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},_E=(e,t)=>({classGroupId:e,validator:t}),T3=(e=new Map,t=null,l)=>({nextPart:e,validators:t,classGroupId:l}),Jc="-",Ab=[],GE="arbitrary..",qE=e=>{const t=XE(e),{conflictingClassGroups:l,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u[0]==="["&&u[u.length-1]==="]")return YE(u);const f=u.split(Jc),d=f[0]===""&&f.length>1?1:0;return R3(f,d,t)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=r[u],h=l[u];return d?h?FE(h,d):d:h||Ab}return l[u]||Ab}}},R3=(e,t,l)=>{if(e.length-t===0)return l.classGroupId;const i=e[t],s=l.nextPart.get(i);if(s){const h=R3(e,t+1,s);if(h)return h}const u=l.validators;if(u===null)return;const f=t===0?e.join(Jc):e.slice(t).join(Jc),d=u.length;for(let h=0;h<d;h++){const p=u[h];if(p.validator(f))return p.classGroupId}},YE=e=>{const t=e.slice(1,-1),l=t.indexOf(":");if(l===-1)return;const r=t.slice(0,l);return r?GE+r:void 0},XE=e=>{const{theme:t,classGroups:l}=e;return WE(l,t)},WE=(e,t)=>{const l=T3();for(const r in e){const i=e[r];Zh(i,l,r,t)}return l},Zh=(e,t,l,r)=>{const i=e.length;for(let s=0;s<i;s++){const u=e[s];ZE(u,t,l,r)}},ZE=(e,t,l,r)=>{if(typeof e=="string"){QE(e,t,l);return}if(typeof e=="function"){JE(e,t,l,r);return}eC(e,t,l,r)},QE=(e,t,l)=>{const r=e===""?t:M3(t,e);r.classGroupId=l},JE=(e,t,l,r)=>{if(tC(e)){Zh(e(r),t,l,r);return}t.validators===null&&(t.validators=[]),t.validators.push(_E(l,e))},eC=(e,t,l,r)=>{const i=Object.entries(e),s=i.length;for(let u=0;u<s;u++){const[f,d]=i[u];Zh(d,M3(t,f),l,r)}},M3=(e,t)=>{let l=e;const r=t.split(Jc),i=r.length;for(let s=0;s<i;s++){const u=r[s];let f=l.nextPart.get(u);f||(f=T3(),l.nextPart.set(u,f)),l=f}return l},tC=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,nC="!",lC=58,aC=47,rC=91,iC=93,oC=40,sC=41,Lb=33,cC=(e,t,l,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:l,maybePostfixModifierPosition:r,isExternal:void 0}),kb=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===lC){t.push(e.slice(i,v)),i=v+1;continue}if(w===aC){s=v;continue}}w===rC?l++:w===iC?l--:w===oC?r++:w===sC&&r--}const f=t.length===0?e:e.slice(i);let d=f,h=!1;const p=f.length-1;f.charCodeAt(p)===Lb?(d=f.slice(0,-1),h=!0):f.charCodeAt(0)===Lb&&(d=f.slice(1),h=!0);const b=s&&s>i?s-i:void 0;return cC(t,h,d,b)},uC=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}},E0={isExternal:!0,classId:-1,conflictIds:[]},fC=4096,dC=16384,hC=e=>{const t=uC(e),l=mC(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=qE(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=N=>{const A=[],B=N.length;let _=-1;b=!1;for(let $=0;$<B;$++){const k=N.charCodeAt($);k===32?_!==-1&&(A.push(N.slice(_,$)),_=-1):k>=9&&k<=13?(b=!0,_!==-1&&(A.push(N.slice(_,$)),_=-1)):_===-1&&(_=$)}return _!==-1&&A.push(N.slice(_)),A},w=new Map;let x=0;const T=N=>{let A=w.get(N);if(A===void 0&&(A=x++,w.set(N,A),A>=d.length)){const B=new Int32Array(d.length*2);B.set(d),d=B}return A},C=N=>{const{isExternal:A,modifiers:B,hasImportantModifier:_,baseClassName:$,maybePostfixModifierPosition:k}=kb(N);if(A)return E0;let K=!!k,U;if(K){const W=$.substring(0,k);U=r(W);const z=U&&l[U]?r($):void 0;z&&z!==U&&(U=z,K=!1)}else U=r($);if(!U){if(!K||(U=r($),!U))return E0;K=!1}const q=B.length===0?"":B.length===1?B[0]:t(B).join(":"),ne=_?q+nC:q,le=i(U,K),j=[];for(let W=0;W<le.length;W++)j.push(T(ne+le[W]));return{isExternal:!1,classId:T(ne+U),conflictIds:j}},L=N=>{let A=s[N];return A!==void 0||(A=u[N],A===void 0&&(A=C(N)),s[N]=A,++f>fC&&(f=0,u=s,s=Object.create(null))),A};return{parseClassName:kb,sortModifiers:t,postfixLookupClassGroupIds:l,getClassGroupId:r,getConflictingClassGroupIds:i,getClassDescriptor:L,mergeClassList:N=>{const A=v(N),B=A.length;if(B===1)return A[0];x>dC&&(w.clear(),x=0,s=Object.create(null),u=Object.create(null),f=0),h=h+1|0,h===0&&(h=1);const _=h;if(B>p.length){let U=p.length;for(;U<B;)U*=2;p=new Uint8Array(U)}let $=!1,k=0;for(let U=B-1;U>=0;U-=1){const q=A[U];k+=q.length;const ne=L(q);if(ne.isExternal){p[U]=1;continue}const le=ne.classId;if(d[le]===_){p[U]=0,$=!0;continue}d[le]=_;const j=ne.conflictIds;for(let W=0;W<j.length;W++)d[j[W]]=_;p[U]=1}if(!$&&!b&&N.length===k+B-1)return N;let K="";for(let U=0;U<B;U++)p[U]===1&&(K&&(K+=" "),K+=A[U]);return K}}},mC=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},pC=500,Nb=e=>{let t,l,r=Object.create(null),i=Object.create(null),s=0;const u=h=>(t=hC(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>pC&&(s=0,i=r,r=Object.create(null))),p},d=(...h)=>d.mergeString(Tu(h));return d.mergeString=u,d},gC=[],wt=e=>{const t=l=>l[e]||gC;return t.isThemeGetter=!0,t},A3=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,L3=/^\((?:(\w[\w-]*):)?(.+)\)$/i,bC=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,vC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yC=/\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$/,xC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,SC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k3=Number,EC=Number.isNaN,CC=Number.isInteger,aa=e=>bC.test(e),Le=e=>!!e&&!EC(k3(e)),Zn=e=>!!e&&CC(k3(e)),C0=e=>e.endsWith("%")&&Le(e.slice(0,-1)),El=e=>vC.test(e),N3=()=>!0,TC=e=>yC.test(e)&&!xC.test(e),Qh=()=>!1,RC=e=>SC.test(e),MC=e=>wC.test(e),AC=e=>!he(e)&&!pe(e),LC=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)),kC=e=>xa(e,z3,Qh),he=e=>A3.test(e),Va=e=>xa(e,P3,TC),Db=e=>xa(e,IC,Le),NC=e=>xa(e,j3,N3),DC=e=>xa(e,O3,Qh),$b=e=>xa(e,D3,Qh),$C=e=>xa(e,$3,MC),Ec=e=>xa(e,I3,RC),pe=e=>L3.test(e),xo=e=>or(e,P3),zC=e=>or(e,O3),zb=e=>or(e,D3),PC=e=>or(e,z3),OC=e=>or(e,$3),Cc=e=>or(e,I3,!0),jC=e=>or(e,j3,!0),xa=(e,t,l)=>{const r=A3.exec(e);return r?r[1]?t(r[1]):l(r[2]):!1},or=(e,t,l=!1)=>{const r=L3.exec(e);return r?r[1]?t(r[1]):l:!1},D3=e=>e==="position"||e==="percentage",$3=e=>e==="image"||e==="url",z3=e=>e==="length"||e==="size"||e==="bg-size",P3=e=>e==="length",IC=e=>e==="number",O3=e=>e==="family-name",j3=e=>e==="number"||e==="weight",I3=e=>e==="shadow",T0=()=>{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"),L=wt("ease"),M=wt("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...A(),pe,he],_=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],k=()=>[pe,he,d],K=()=>[aa,"full","auto",...k()],U=()=>[Zn,"none","subgrid",pe,he],q=()=>["auto",{span:["full",Zn,pe,he]},Zn,pe,he],ne=()=>[Zn,"auto",pe,he],le=()=>["auto","min","max","fr",pe,he],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...k()],O=()=>[aa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],oe=()=>[aa,"screen","full","dvw","lvw","svw","min","max","fit",...k()],J=()=>[aa,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],G=()=>[e,pe,he],D=()=>[...A(),zb,$b,{position:[pe,he]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",PC,kC,{size:[pe,he]}],ce=()=>[C0,xo,Va],H=()=>["","none","full",h,pe,he],ie=()=>["",Le,xo,Va],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,C0,zb,$b],Lt=()=>["","none",x,pe,he],it=()=>["none",Le,pe,he],ue=()=>["none",Le,pe,he],fe=()=>[Le,pe,he],Ee=()=>[aa,"full",...k()];return{theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[El],breakpoint:[El],color:[N3],container:[El],"drop-shadow":[El],ease:["in","out","in-out"],font:[AC],"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":[LC],columns:[{columns:[Le,he,pe,f]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:K()}],"inset-x":[{"inset-x":K()}],"inset-y":[{"inset-y":K()}],start:[{"inset-s":K(),start:K()}],end:[{"inset-e":K(),end:K()}],"inset-bs":[{"inset-bs":K()}],"inset-be":[{"inset-be":K()}],top:[{top:K()}],right:[{right:K()}],bottom:[{bottom:K()}],left:[{left:K()}],visibility:["visible","invisible","collapse"],z:[{z:[Zn,"auto",pe,he]}],basis:[{basis:[aa,"full","auto",f,...k()]}],"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":U()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":le()}],"auto-rows":[{"auto-rows":le()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],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":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"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,Va]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,jC,NC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",C0,he]}],"font-family":[{font:[zC,DC,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,Db]}],leading:[{leading:[s,...k()]}],"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:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Le,"from-font","auto",pe,Va]}],"text-decoration-color":[{decoration:G()}],"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:k()}],"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]},OC,$C]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],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:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Le,pe,he]}],"outline-w":[{outline:["",Le,xo,Va]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",p,Cc,Ec]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",b,Cc,Ec]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[Le,Va]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",v,Cc,Ec]}],"text-shadow-color":[{"text-shadow":G()}],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":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"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":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"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":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"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":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"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":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"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":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"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":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"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":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"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":A()}],"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":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"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,Cc,Ec]}],"drop-shadow-color":[{"drop-shadow":G()}],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":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"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",L,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:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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":G()}],"scrollbar-track-color":[{"scrollbar-track":G()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",...G()]}],"stroke-w":[{stroke:[Le,xo,Va,Db]}],stroke:[{stroke:["none",...G()]}],"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"]}},BC=(e,{extend:t={},override:l={}})=>(Tc(e.theme,l.theme),Tc(e.classGroups,l.classGroups),Tc(e.conflictingClassGroups,l.conflictingClassGroups),Tc(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),ah(e,"postfixLookupClassGroups",l.postfixLookupClassGroups),ah(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Rc(e.theme,t.theme),Rc(e.classGroups,t.classGroups),Rc(e.conflictingClassGroups,t.conflictingClassGroups),Rc(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),rh(e,t,"postfixLookupClassGroups"),rh(e,t,"orderSensitiveModifiers"),e),ah=(e,t,l)=>{l!==void 0&&(e[t]=l)},Tc=(e,t)=>{if(t)for(const l in t)ah(e,l,t[l])},Rc=(e,t)=>{if(t)for(const l in t)rh(e,t,l)},rh=(e,t,l)=>{const r=t[l];r!==void 0&&(e[l]=e[l]?e[l].concat(r):r)},B3=e=>Nb(e?typeof e=="function"?()=>e(T0()):()=>BC(T0(),e):T0),HC=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},KC=e=>{const t=HC(e),l=B3(t);return r=>l.mergeString(r)},Uc,UC=()=>(Uc||(Uc=B3()),Uc),VC=()=>((!Ut.cachedTwMerge||Ut.didTwMergeConfigChange)&&(Ut.didTwMergeConfigChange=!1,Ut.cachedTwMerge=KC(Ut.cachedTwMergeConfig)),Ut.cachedTwMerge),FC=e=>{const t=e==null?void 0:e.twMergeConfig;!t||Dn(t)||p3(t,Ut.cachedTwMergeConfig)||(Ut.cachedTwMergeConfig=t,Ut.didTwMergeConfigChange=!0)},_C=e=>Tu(e),GC=Ut.reset.bind(Ut);Ut.reset=()=>{Uc=void 0,GC()};var qC=(e,t)=>{const l=_C(e);return!l||!((t==null?void 0:t.twMerge)??!0)?l||void 0:l.indexOf(" ")===-1?l:(FC(t),(!!(t!=null&&t.twMergeConfig&&!Dn(t.twMergeConfig))?VC():UC().mergeString)(l)||void 0)},YC=(e,...t)=>qC(t,e),XC=VE(YC),vn=XC.tv,WC=Lo;const ZC=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"}}}}),QC=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"}}}}),JC=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"}}}),eT=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"}}}}),tT=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"}}}}),nT=vn({base:"close-button",defaultVariants:{variant:"default"},variants:{variant:{default:"close-button--default"}}}),lT=vn({slots:{base:"link",icon:"link__icon"}}),Jh=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"}}}}),aT=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"}}}}),rT=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"}}}),iT=vn({base:"surface",defaultVariants:{variant:"default"},variants:{variant:{default:"surface--default",secondary:"surface--secondary",tertiary:"surface--tertiary",transparent:"surface--transparent"}}}),oT=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"}}}}),sT=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=F.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 cT(e,t){return l=>t(typeof e=="function"?e(l):e,l)}function Ru(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=Ru(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 Cz(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 uT(e){const t=/^(data-.*)$/;let l={};for(const r in e)t.test(r)||(l[r]=e[r]);return l}function fT(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):F.createElement(e,f)}const Pb={},ut=new Proxy({},{get(e,t){if(typeof t!="string")return;let l=Pb[t];return l||(l=y.forwardRef(fT.bind(null,t)),Pb[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 eu=y.createContext(!1);function dT(e){if(y.useContext(eu))return F.createElement(F.Fragment,null,e.children);let l=F.createElement(eu.Provider,{value:!0},e.children);return F.createElement("template",null,l)}function H3(e){let t=(l,r)=>y.useContext(eu)?null:e(l,r);return t.displayName=e.displayName||e.name,y.forwardRef(t)}function hT(){return y.useContext(eu)}const mT=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),pT=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function gT(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 mT.has(l.script)}let t=e.split("-")[0];return pT.has(t)}const K3=Symbol.for("react-aria.i18n.locale");function U3(){let e=typeof window<"u"&&window[K3]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:gT(e)?"rtl":"ltr"}}let ih=U3(),Ro=new Set;function Ob(){ih=U3();for(let e of Ro)e(ih)}function bT(){let e=Nl(),[t,l]=y.useState(ih);return y.useEffect(()=>(Ro.size===0&&window.addEventListener("languagechange",Ob),Ro.add(l),()=>{Ro.delete(l),Ro.size===0&&window.removeEventListener("languagechange",Ob)}),[]),e?{locale:typeof window<"u"&&window[K3]||"en-US",direction:"ltr"}:t}const vT=F.createContext(null);function bi(){let e=bT();return y.useContext(vT)||e}const yT=y.createContext(null),V3=7e3;let Qn=null;function jb(e,t="assertive",l=V3){Qn?Qn.announce(e,t,l):(Qn=new xT,(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 xT{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=V3){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 e2(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function F3(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function _3(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=e2(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 tu=!1;function ST(e){for(;e&&!d3(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=jt(e),l=t.document.activeElement;if(!l||l===e)return;tu=!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),tu=!1,r=!1},h=requestAnimationFrame(d);return d}let Ll=null;const Io=new Set;let ko=new Map,nr=!1,oh=!1;const wT={Tab:!0,Escape:!0};function Mu(e,t){for(let l of Io)l(e,t)}function ET(e){return!(e.metaKey||!Fn()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function nu(e){nr=!0,!Al.isOpening&&ET(e)&&(Ll="keyboard",Mu("keyboard",e))}function di(e){Ll="pointer","pointerType"in e&&e.pointerType,(e.type==="mousedown"||e.type==="pointerdown")&&(nr=!0,Mu("pointer",e))}function G3(e){!Al.isOpening&&u3(e)&&(nr=!0,Ll="virtual")}function q3(e){let t=jt(ve(e)),l=He(ve(e));ve(e)===t||ve(e)===l||tu||!e.isTrusted||(!nr&&!oh&&(Ll="virtual",Mu("virtual",e)),nr=!1,oh=!1)}function Y3(){tu||(nr=!1,oh=!0)}function lu(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",nu,!0),l.addEventListener("keyup",nu,!0),l.addEventListener("click",G3,!0),t.addEventListener("focus",q3,!0),t.addEventListener("blur",Y3,!1),typeof PointerEvent<"u"&&(l.addEventListener("pointerdown",di,!0),l.addEventListener("pointermove",di,!0),l.addEventListener("pointerup",di,!0)),t.addEventListener("beforeunload",()=>{X3(e)},{once:!0}),ko.set(t,{focus:r})}const X3=(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",nu,!0),r.removeEventListener("keyup",nu,!0),r.removeEventListener("click",G3,!0),l.removeEventListener("focus",q3,!0),l.removeEventListener("blur",Y3,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",di,!0),r.removeEventListener("pointermove",di,!0),r.removeEventListener("pointerup",di,!0)),ko.delete(l))};function CT(e){const t=He(e);let l;return t.readyState!=="loading"?lu(e):(l=()=>{lu(e)},t.addEventListener("DOMContentLoaded",l)),()=>X3(e,l)}typeof document<"u"&&CT();function sh(){return Ll!=="pointer"}function pa(){return Ll}function TT(e){Ll=e,Mu(e,null)}function Tz(){lu();let[e,t]=y.useState(Ll);return y.useEffect(()=>{let l=()=>{t(Ll)};return Io.add(l),()=>{Io.delete(l)}},[]),Nl()?null:e}const RT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function MT(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&&!RT.has(p.type)||p instanceof f||p instanceof d&&p.isContentEditable,!(e&&t==="keyboard"&&l instanceof h&&!wT[l.key])}function AT(e,t,l){lu(),y.useEffect(()=>{if((l==null?void 0:l.enabled)===!1)return;let r=(i,s)=>{MT(!!(l!=null&&l.isTextInput),i,s)&&e(sh())};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);s3(()=>{const r=et(t);(r===l||r===t.body)&&e.isConnected&&en(e)})}else en(e)}function W3(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=_3(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 Mc(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 LT=new Set(["shift","alt","control","meta","mod"]),kT=["Alt","Control","Meta","Shift"];function NT(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(Fn()?"Meta":"Control"),t}function DT(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 Z3(e){return kT.filter(t=>e.has(t))}function $T(e){let t=e.split("+").reduce((l,r)=>{let i=r.toLowerCase();return LT.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 zT={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function PT(e){let t=Q3(e),l=zT[t];return l??t}function OT(e){let t=Z3(NT(e)),l=PT(e.key);return t.length>0?`${t.join("+")}+${l}`:l}function jT(e){let t=Z3(DT(e)),l=Q3(e.key);return(t.length>0?`${t.join("+")}+`:"")+l}function IT(e){let t=new Map;for(let[l,r]of Object.entries(e)){let i=$T(l);t.set(OT(i),r)}return l=>{let r=jT(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 au(e){let{shortcuts:t,allowRepeats:l=!1,allowComposing:r=!1}=e,i,s;if(t){let u=IT(t),f=Mc(h=>{var p,b;if(!Be(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=Mc(h=>{var p,b;if(!Be(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=Mc(e.onKeyDown),s=Mc(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:i,onKeyUp:s}}}let Bo=F.createContext(null);function BT(e){let t=y.useContext(Bo)||{};Fh(t,e);let{ref:l,...r}=t;return r}const Rz=F.forwardRef(function(t,l){let{children:r,...i}=t,s=bn(l),u={...i,ref:s};return F.createElement(Bo.Provider,{value:u},r)});function Yo(e,t){let{focusProps:l}=W3(e),{keyboardProps:r}=au(e),i=Ce(l,r),s=BT(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",ch="",Vc=new WeakMap;function HT(e){if(ba()&&Ml()){if(ii==="default"){const t=He(e);ch=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";Vc.set(e,e.style[t]),e.style[t]="none"}}function Ib(e){if(ba()&&Ml()){if(ii!=="disabled")return;ii="restoring",setTimeout(()=>{s3(()=>{if(ii==="restoring"){const t=He(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ch||""),ch="",ii="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Vc.has(e)){let t=Vc.get(e),l="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[l]==="none"&&(e.style[l]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Vc.delete(e)}}const Ho=F.createContext({register:()=>{}});Ho.displayName="PressResponderContext";function KT(e){let t=y.useContext(Ho);if(t){let{register:l,ref:r,...i}=t;e=Ce(i,e),l()}return Fh(t,e.ref),e}var mi;class Ac{constructor(t,l,r,i){$g(this,mi);Zd(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(){Zd(this,mi,!1)}get shouldStopPropagation(){return Dg(this,mi)}}mi=new WeakMap;const Bb=Symbol("linkClicked"),Hb="react-aria-pressable-style",Kb="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}=KT(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:L,removeAllGlobalListeners:M}=Eu(),N=y.useCallback((j,W)=>{let z=C.current;if(f||z.didFirePressStart)return!1;let O=!0;if(z.isTriggeringEvent=!0,r){let oe=new Ac("pressstart",W,j);r(oe),O=oe.shouldStopPropagation}return l&&l(!0),z.isTriggeringEvent=!1,z.didFirePressStart=!0,T(!0),O},[f,r,l]),A=y.useCallback((j,W,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 Ac("pressend",W,j);i(J),oe=J.shouldStopPropagation}if(l&&l(!1),T(!1),t&&z&&!f){let J=new Ac("press",W,j);t(J),oe&&(oe=J.shouldStopPropagation)}return O.isTriggeringEvent=!1,oe},[f,i,l,t]),B=Vn(A),_=y.useCallback((j,W)=>{let z=C.current;if(f)return!1;if(s){z.isTriggeringEvent=!0;let O=new Ac("pressup",W,j);return s(O),z.isTriggeringEvent=!1,O.shouldStopPropagation}return!0},[f,s]),$=Vn(_),k=y.useCallback(j=>{let W=C.current;if(W.isPressed&&W.target){W.didFirePressStart&&W.pointerType!=null&&A(Fa(W.target,j),W.pointerType,!1),W.isPressed=!1,W.isOverTarget=!1,W.activePointerId=null,W.pointerType=null,M(),b||Ib(W.target);for(let z of W.disposables)z();W.disposables=[]}},[b,M,A]),K=Vn(k);y.useEffect(()=>{f&&C.current.isPressed&&K({currentTarget:C.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[f]);let U=y.useCallback(j=>{p&&k(j)},[p,k]),q=y.useCallback(j=>{f||u==null||u(j)},[f,u]),ne=y.useCallback((j,W)=>{if(!f&&u){let z=new MouseEvent("click",j);F3(z,W),u(e2(z))}},[f,u]),le=y.useMemo(()=>{let j=C.current,W={onKeyDown(O){var oe;if(R0(O.nativeEvent,O.currentTarget)&&Be(O.currentTarget,ve(O))){Ub(ve(O),O.key)&&O.preventDefault();let J=!0;!j.isPressed&&!O.repeat&&(j.target=O.currentTarget,j.isPressed=!0,j.pointerType="keyboard",J=N(O,"keyboard"));let G=O.currentTarget,D=Q=>{R0(Q,G)&&!Q.repeat&&Be(G,ve(Q))&&j.target&&$(Fa(j.target,Q),"keyboard")};L(He(O.currentTarget),"keyup",er(D,z),!0),J&&O.stopPropagation(),O.metaKey&&Fn()&&((oe=j.metaKeyEvents)==null||oe.set(O.key,O.nativeEvent))}else O.key==="Meta"&&(j.metaKeyEvents=new Map)},onClick(O){if(!(O&&!Be(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"||u3(O.nativeEvent))){let J=N(O,"virtual"),G=$(O,"virtual"),D=B(O,"virtual");q(O),oe=J&&G&&D}else if(j.isPressed&&j.pointerType!=="keyboard"){let J=j.pointerType||O.nativeEvent.pointerType||"virtual",G=$(Fa(O.currentTarget,O),J),D=B(Fa(O.currentTarget,O),J,!0);oe=G&&D,j.isOverTarget=!1,q(O),K(O)}j.ignoreEmulatedMouseEvents=!1,oe&&O.stopPropagation()}}},z=O=>{var oe,J,G;if(j.isPressed&&j.target&&R0(O,j.target)){Ub(ve(O),O.key)&&O.preventDefault();let D=ve(O),Q=Be(j.target,D);B(Fa(j.target,O),"keyboard",Q),Q&&ne(O,j.target),M(),O.key!=="Enter"&&t2(j.target)&&Be(j.target,D)&&!O[Bb]&&(O[Bb]=!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())(G=j.target)==null||G.dispatchEvent(new KeyboardEvent("keyup",Q))}};if(typeof PointerEvent<"u"){W.onPointerDown=J=>{if(J.button!==0||!Be(J.currentTarget,ve(J)))return;if(aE(J.nativeEvent)){j.pointerType="virtual";return}j.pointerType=J.pointerType;let G=!0;if(!j.isPressed){j.isPressed=!0,j.isOverTarget=!0,j.activePointerId=J.pointerId,j.target=J.currentTarget,b||HT(j.target),G=N(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)),L(He(J.currentTarget),"pointerup",O,!1),L(He(J.currentTarget),"pointercancel",oe,!1)}G&&J.stopPropagation()},W.onMouseDown=J=>{if(Be(J.currentTarget,ve(J))&&J.button===0){if(h){let G=ST(J.target);G&&j.disposables.push(G)}J.stopPropagation()}},W.onPointerUp=J=>{!Be(J.currentTarget,ve(J))||j.pointerType==="virtual"||J.button===0&&!j.isPressed&&$(J,j.pointerType||J.pointerType)},W.onPointerEnter=J=>{J.pointerId===j.activePointerId&&j.target&&!j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!0,N(Fa(j.target,J),j.pointerType))},W.onPointerLeave=J=>{J.pointerId===j.activePointerId&&j.target&&j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!1,B(Fa(j.target,J),j.pointerType,!1),U(J))};let O=J=>{if(J.pointerId===j.activePointerId&&j.isPressed&&J.button===0&&j.target){if(Be(j.target,ve(J))&&j.pointerType!=null){let G=!1,D=setTimeout(()=>{j.isPressed&&j.target instanceof HTMLElement&&(G?K(J):(en(j.target),j.target.click()))},80);L(J.currentTarget,"click",()=>G=!0,!0),j.disposables.push(()=>clearTimeout(D))}else K(J);j.isOverTarget=!1}},oe=J=>{K(J)};W.onDragStart=J=>{Be(J.currentTarget,ve(J))&&K(J)}}return W},[L,f,h,M,b,U,N,q,ne]);return y.useEffect(()=>{if(!v)return;const j=He(v.current);if(!j||!j.head||j.getElementById(Hb))return;const W=j.createElement("style");W.id=Hb;let z=m3(j);z&&(W.nonce=z),W.textContent=`
|
|
66
|
+
*/var pb;function z9(){if(pb)return d0;pb=1;var e=_o(),t=Uy();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 d0.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 L(_){if(!M){if(M=!0,N=_,_=v(_),w!==void 0&&T.hasValue){var $=T.value;if(w($,_))return A=$}return A=_}if($=A,r(N,_))return $;var k=v(_);return w!==void 0&&w($,k)?(N=_,$):(N=_,A=k)}var M=!1,N,A,B=b===void 0?null:b;return[function(){return L(p())},B===null?void 0:function(){return L(B())}]},[p,b,v,w]);var E=i(h,x[0],x[1]);return u(function(){T.hasValue=!0,T.value=E},[E]),d(E),E},d0}var gb;function P9(){return gb||(gb=1,f0.exports=z9()),f0.exports}var O9=P9();function j9(e,t){return e===t}function Vt(e,t,l=j9){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 O9.useSyncExternalStoreWithSelector(r,i,i,t,l)}var p0={get(){},subscribe(){return{unsubscribe(){}}}};function Vy(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?M9:Su),r=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(l),i=Vy(e,t),s=Vt(r??p0,u=>u?i(u):p0);if(s!==p0)return s;(e.shouldThrow??!0)&&Rl()}function Fy(e){return ir({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function _y(e){const{select:t,...l}=e;return ir({...l,select:r=>t?t(r.loaderDeps):r.loaderDeps})}function Gy(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 qy(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 Hh(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 Yy(e){return ir({...e,select:t=>e.select?e.select(t.context):t.context})}var al=Sy();const I9=xy(al);function B9(e,t){const l=gn(),r=wS(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:E,target:L,disabled:M,style:N,className:A,onClick:B,onBlur:_,onFocus:$,onMouseEnter:k,onMouseLeave:K,onTouchStart:U,ignoreBlocker:q,params:ne,search:le,hash:j,state:W,mask:z,reloadDocument:O,unsafeRelative:oe,from:J,_fromLocation:G,...D}=e,Q=jy(),se=y.useMemo(()=>e,[l,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ce=Vt(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(()=>_9(ie,xe,l.history,M),[M,xe,ie,l.history]),de=y.useMemo(()=>{if(Ae!=null&&Ae.external)return Gc(Ae.href,l.protocolAllowlist)?void 0:Ae.href;if(!G9(f)&&!(typeof f!="string"||f.indexOf(":")===-1))try{return new URL(f),Gc(f,l.protocolAllowlist)?void 0:f}catch{}},[f,Ae,l.protocolAllowlist]),Lt=y.useMemo(()=>{if(de)return!1;if(u!=null&&u.exact){if(!KS(ce.pathname,H.pathname,l.basepath))return!1}else{const Ye=qc(ce.pathname,l.basepath),Nt=qc(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,{})??H9:g0,ue=Lt?g0:qa(s,{})??g0,fe=[A,it.className,ue.className].filter(Boolean).join(" "),Ce=(N||it.style||ue.style)&&{...N,...it.style,...ue.style},[_e,Ve]=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(w9)})},[l,se,H]);SS(r,y.useCallback(Ye=>{Ye!=null&&Ye.isIntersecting&&jn()},[jn]),F9,{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=L!==void 0?L:Nt;if(!M&&!q9(Ye)&&!Ye.defaultPrevented&&(!Gn||Gn==="_self")&&Ye.button===0){Ye.preventDefault(),al.flushSync(()=>{Ve(!0)});const fr=l.subscribe("onResolved",()=>{fr(),Ve(!1)});l.navigate({...se,replace:v,resetScroll:x,hashScrollIntoView:b,startTransition:w,viewTransition:T,ignoreBlocker:q})}};if(de)return{...D,ref:r,href:de,...E&&{children:E},...L&&{target:L},...M&&{disabled:M},...N&&{style:N},...A&&{className:A},...B&&{onClick:B},..._&&{onBlur:_},...$&&{onFocus:$},...k&&{onMouseEnter:k},...K&&{onMouseLeave:K},...U&&{onTouchStart:U}};const Jo=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)},ju=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([_,It]),onFocus:Wr([$,Jo]),onMouseEnter:Wr([k,Jo]),onMouseLeave:Wr([K,It]),onTouchStart:Wr([U,ju]),disabled:!!M,target:L,...Ce&&{style:Ce},...fe&&{className:fe},...M&&K9,...Lt&&U9,...Q&&_e&&V9}}var g0={},H9={className:"active"},K9={role:"link","aria-disabled":!0},U9={"data-status":"active","aria-current":"page"},V9={"data-transitioning":"transitioning"},yo=new WeakMap,F9={rootMargin:"100px"},Wr=e=>t=>{for(const l of e)if(l){if(t.defaultPrevented)return;l(t)}};function _9(e,t,l,r){if(!r)return t?{href:e,external:!0}:{href:l.createHref(e)||"/",external:!1}}function G9(e){if(typeof e!="string")return!1;const t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var Xy=y.forwardRef((e,t)=>{const{_asChild:l,...r}=e,{type:i,...s}=B9(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 q9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var Y9=class extends Oy{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=>Yy({...l,from:this.id}),this.useSearch=l=>qy({select:l==null?void 0:l.select,structuralSharing:l==null?void 0:l.structuralSharing,from:this.id}),this.useParams=l=>Gy({select:l==null?void 0:l.select,structuralSharing:l==null?void 0:l.structuralSharing,from:this.id}),this.useLoaderDeps=l=>_y({...l,from:this.id}),this.useLoaderData=l=>Fy({...l,from:this.id}),this.useNavigate=()=>Hh({from:this.fullPath}),this.Link=F.forwardRef((l,r)=>C.jsx(Xy,{ref:r,from:this.fullPath,...l}))}};function X9(e){return new Y9(e)}var W9=class extends C9{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=>Yy({...t,from:this.id}),this.useSearch=t=>qy({select:t==null?void 0:t.select,structuralSharing:t==null?void 0:t.structuralSharing,from:this.id}),this.useParams=t=>Gy({select:t==null?void 0:t.select,structuralSharing:t==null?void 0:t.structuralSharing,from:this.id}),this.useLoaderDeps=t=>_y({...t,from:this.id}),this.useLoaderData=t=>Fy({...t,from:this.id}),this.useNavigate=()=>Hh({from:this.fullPath}),this.Link=F.forwardRef((t,l)=>C.jsx(Xy,{ref:l,from:this.fullPath,...t}))}};function Z9(e){return new W9(e)}function gi(e){return new Q9(e,{silent:!0}).createRoute}var Q9=class{constructor(e,t){this.path=e,this.createRoute=l=>{const r=X9(l);return r.isRoot=!1,r},this.silent=t==null?void 0:t.silent}};function Go(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,TS(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(Fg)Fg(u());else throw u();return y.createElement(r,h)};return f.preload=u,f}function J9(e){const t=gn(),l=`not-found-${Vt(t.stores.location,r=>r.pathname)}-${Vt(t.stores.status,r=>r)}`;return C.jsx(Ih,{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 ew(){return C.jsx("p",{children:"Not Found"})}function ni(e){return C.jsx(C.Fragment,{children:e.children})}function Wy(e,t,l){return t.options.notFoundComponent?C.jsx(t.options.notFoundComponent,{...l}):e.options.defaultNotFoundComponent?C.jsx(e.options.defaultNotFoundComponent,{...l}):C.jsx(ew,{})}function tw(e){return null}function nw(){return tw(gn()),null}var lw=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,aw=(e,t)=>e[0]===t[0]&&e[1]===t[1],Zy=y.memo(function({matchId:t}){const l=gn(),r=l.stores.matchStores.get(t);r||Rl();const i=Vt(l.stores.loadedAt,u=>u),s=Vt(r,u=>u,lw);return C.jsx(rw,{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 rw({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?C.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?Ih:ni,w=h?J9:ni;return C.jsxs(i.isRoot?i.options.shellComponent??ni:ni,{children:[C.jsx(Su.Provider,{value:t,children:C.jsx(b,{fallback:u,children:C.jsx(v,{getResetKey:()=>l,errorComponent:f||Bh,onCatch:(E,L)=>{if(Ht(E))throw E.routeId??(E.routeId=r.routeId),E;d==null||d(E,L)},children:C.jsx(w,{fallback:E=>{if(E.routeId??(E.routeId=r.routeId),!h||E.routeId&&E.routeId!==r.routeId||!E.routeId&&!i.isRoot)throw E;return y.createElement(h,E)},children:p||r._displayPending?C.jsx(T9,{fallback:u,children:C.jsx(bb,{matchId:t})}):C.jsx(bb,{matchId:t})})})})}),r.parentRouteId===Qa?C.jsxs(C.Fragment,{children:[C.jsx(iw,{}),e.options.scrollRestoration&&wy?C.jsx(nw,{}):null]}):null]})}function iw(){const e=gn(),t=y.useRef();return Eo(()=>{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},[Vt(e.stores.resolvedLocation,l=>l==null?void 0:l.state.__TSR_key),e]),null}var bb=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=Vt(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?C.jsx(p,{},d):C.jsx(Qy,{})},[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(),Wy(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}),Qy=y.memo(function(){const t=gn(),l=y.useContext(Su);let r,i=!1,s;{const h=l?t.stores.matchStores.get(l):void 0;[r,i]=Vt(h,p=>[p==null?void 0:p.routeId,(p==null?void 0:p.globalNotFound)??!1],aw),s=Vt(t.stores.matchesId,p=>p[p.findIndex(b=>b===l)+1])}const u=r?t.routesById[r]:void 0,f=t.options.defaultPendingComponent?C.jsx(t.options.defaultPendingComponent,{}):null;if(i)return u||Rl(),Wy(t,u,void 0);if(!s)return null;const d=C.jsx(Zy,{matchId:s});return r===Qa?C.jsx(y.Suspense,{fallback:f,children:d}):d});function ow(){const e=gn(),t=y.useRef({router:e,mounted:!1}),[l,r]=y.useState(!1),i=Vt(e.stores.isLoading,b=>b),s=Vt(e.stores.hasPending,b=>b),u=a0(i),f=i||l||s,d=a0(f),h=i||s,p=a0(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]),Eo(()=>{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]),Eo(()=>{u&&!i&&e.emit({type:"onLoad",...ci(e.stores.location.get(),e.stores.resolvedLocation.get())})},[u,e,i]),Eo(()=>{p&&!h&&e.emit({type:"onBeforeRouteMount",...ci(e.stores.location.get(),e.stores.resolvedLocation.get())})},[h,p,e]),Eo(()=>{if(d&&!f){const b=ci(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...b}),Hy(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[f,d,e]),null}function sw(){const e=gn(),t=e.routesById[Qa].options.pendingComponent??e.options.defaultPendingComponent,l=t?C.jsx(t,{}):null,r=C.jsxs(typeof document<"u"&&e.ssr?ni:y.Suspense,{fallback:l,children:[C.jsx(ow,{}),C.jsx(cw,{})]});return e.options.InnerWrap?C.jsx(e.options.InnerWrap,{children:r}):r}function cw(){const e=gn(),t=Vt(e.stores.firstId,i=>i),l=Vt(e.stores.loadedAt,i=>i),r=t?C.jsx(Zy,{matchId:t}):null;return C.jsx(Su.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:C.jsx(Ih,{getResetKey:()=>l,errorComponent:Bh,onCatch:void 0,children:r})})}var uw=e=>({createMutableStore:db,createReadonlyStore:db,batch:Hy}),fw=e=>new dw(e),dw=class extends p9{constructor(e){super(e,uw)}};function hw({router:e,children:t,...l}){Ey(l)&&e.update({...e.options,...l,context:{...e.options.context,...l.context}});const r=C.jsx(Iy.Provider,{value:e,children:t});return e.options.Wrap?C.jsx(e.options.Wrap,{children:r}):r}function mw({router:e,...t}){return C.jsx(hw,{router:e,...t,children:C.jsx(sw,{})})}function pw(e){const t=gn();return Vt(t.stores.location,Vy(e,t))}const gw="react-aria-clear-focus",bw="react-aria-focus";function wu(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 Kh(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 Fn=kl(function(){return Kh(/^Mac/i)}),vw=kl(function(){return Kh(/^iPhone/i)}),Jy=kl(function(){return Kh(/^iPad/i)||Fn()&&navigator.maxTouchPoints>1}),ba=kl(function(){return vw()||Jy()}),yw=kl(function(){return Fn()||ba()}),Ml=kl(function(){return wu(/AppleWebKit/i)&&(ba()||!e3())}),e3=kl(function(){return wu(/Chrome|CriOS|CrMo/i)}),Zc=kl(function(){return wu(/Android/i)}),xw=kl(function(){return wu(/(Firefox|FxiOS)/i)});function en(e){if(Sw())e.focus({preventScroll:!0});else{let t=ww(e);e.focus(),Cw(t)}}let xc=null;function Sw(){if(xc==null){xc=!1;try{document.createElement("div").focus({get preventScroll(){return xc=!0,!0}})}catch{}}return xc}function ww(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 Cw(e){for(let{element:t,scrollTop:l,scrollLeft:r}of e)t.scrollTop=l,t.scrollLeft=r}const Ew=y.createContext({isNative:!0,open:Mw,useHref:e=>e});function qo(){return y.useContext(Ew)}function Tw(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()&&xw()&&((h=(d=window.event)==null?void 0:d.type)!=null&&h.startsWith("key"))&&e.target==="_blank"&&(Fn()?r=!0:i=!0);let f=Ml()&&Fn()&&!Jy()?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 Rw(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 Mw(e,t){Rw(e,l=>Al(l,t))}function Ez(e){const l=qo().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 t3(e){const l=qo().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 Aw(e,t,l,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&Tw(e.currentTarget,e)&&l&&(e.preventDefault(),t.open(e.currentTarget,e,l,r))}const Ne=typeof document<"u"?F.useLayoutEffect:()=>{},n3={prefix:String(Math.round(Math.random()*1e10)),current:0},l3=F.createContext(n3),Lw=F.createContext(!1);let b0=new WeakMap;function kw(e=!1){var r,i;let t=y.useContext(l3),l=y.useRef(null);if(l.current===null&&!e){let s=(i=(r=F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)==null?void 0:r.ReactCurrentOwner)==null?void 0:i.current;if(s){let u=b0.get(s);u==null?b0.set(s,{id:t.current,state:s.memoizedState}):s.memoizedState!==u.state&&(t.current=u.id,b0.delete(s))}l.current=++t.current}return l.current}function Nw(e){let t=y.useContext(l3),l=kw(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${l}`}function Dw(e){let t=F.useId(),[l]=y.useState(Nl()),r=l?"react-aria":`react-aria${n3.prefix}`;return e||`${r}-${t}`}const $w=typeof F.useId=="function"?Dw:Nw;function zw(){return!1}function Pw(){return!0}function Ow(e){return()=>{}}function Nl(){return typeof F.useSyncExternalStore=="function"?F.useSyncExternalStore(Ow,zw,Pw):y.useContext(Lw)}function jw(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 Iw=!!(typeof window<"u"&&window.document&&window.document.createElement),ui=new Map,li;typeof FinalizationRegistry<"u"&&(li=new FinalizationRegistry(e=>{ui.delete(e)}));let v0=new WeakMap;function _n(e){let[t,l]=y.useState(e),r=y.useRef(null),i=$w(t),s=y.useRef(null),u=v0.get(s);if(li&&u!==i&&(u!=null&&li.unregister(s),li.register(s,i,s),v0.set(s,i)),Iw){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),v0.delete(s)),ui.delete(f)}},[i]),y.useEffect(()=>{let f=r.current;return f&&l(f),()=>{f&&(r.current=null)}}),i}function Bw(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 W0(e=[]){let t=_n(),[l,r]=jw(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=>Hw(e)?e.document:Kw(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 a3(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Hw(e){return typeof e=="object"&&e!=null&&"window"in e&&e.window===e}function Kw(e){return a3(e)&&e.nodeType===9}function Uh(e){return a3(e)&&e.nodeType===11&&"host"in e}function Uw(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 Vw=!1;function nl(){return Vw}function Be(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:Uh(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 Fw(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(;Uh(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 _w{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(!Be(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 Be(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 r3(e,t,l,r){return nl()?new _w(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=vb(i,t);return l||(l=typeof s=="function"),s});if(l)return()=>{r.forEach((i,s)=>{typeof i=="function"?i():vb(e[s],null)})}}}function vb(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function i3(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=i3(e[t]))&&(r&&(r+=" "),r+=l)}else for(l in e)e[l]&&(r&&(r+=" "),r+=l);return r}function o3(){for(var e,t,l=0,r="",i=arguments.length;l<i;l++)(e=arguments[l])&&(t=i3(e))&&(r&&(r+=" "),r+=t);return r}function Ee(...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]=o3(s,u):i==="id"&&s&&u?t.id=Bw(s,u):i==="ref"&&s&&u?t.ref=ya(s,u):t[i]=u!==void 0?u:s}}return t}const Gw=new Set(["id"]),qw=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),Yw=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),Xw=new Set(["dir","lang","hidden","inert","translate"]),yb=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"]),Ww=/^(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)&&(Gw.has(d)||l&&qw.has(d)||r&&Yw.has(d)||i&&Xw.has(d)||s&&(yb.has(d)||d.endsWith("Capture")&&yb.has(d.slice(0,-7)))||u!=null&&u.has(d)||Ww.test(d))&&(f[d]=e[d]);return f}let ca=new Map,Z0=new Set;function xb(){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 Z0)u();Z0.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",l)}typeof document<"u"&&(document.readyState!=="loading"?xb():document.addEventListener("DOMContentLoaded",xb));function Zw(){for(const[e]of ca)"isConnected"in e&&!e.isConnected&&ca.delete(e)}function s3(e){requestAnimationFrame(()=>{Zw(),ca.size===0?e():Z0.add(e)})}function Cu(){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 Vh(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 Qw=F.useInsertionEffect??Ne;function Vn(e){const t=y.useRef(null);return Qw(()=>{t.current=e},[e]),y.useCallback((...l)=>{const r=t.current;return r==null?void 0:r(...l)},[])}function Sb(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 Jw(){return typeof window.ResizeObserver<"u"}function Q0(e){const{ref:t,box:l,onResize:r}=e;let i=Vn(r);y.useEffect(()=>{let s=t==null?void 0:t.current;if(s)if(Jw()){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 Fh(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 c3(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 y0(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 Fn()?e.metaKey:e.ctrlKey}const eC=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ao(e){return e instanceof HTMLInputElement&&!eC.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}let Jt=typeof document<"u"&&window.visualViewport;function tC(){let e=Nl(),[t,l]=y.useState(()=>e?{width:0,height:0}:x0());return y.useEffect(()=>{let r=f=>{l(d=>f.width===d.width&&f.height===d.height?d:f)},i=()=>{Jt&&Jt.scale>1||r(x0())},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(x0()),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 x0(){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 nC=0;const S0=new Map;function lC(e){let[t,l]=y.useState();return Ne(()=>{if(!e)return;let r=S0.get(e);if(r)l(r.element.id);else{let i=`react-aria-description-${nC++}`;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},S0.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),S0.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Sc(e,t,l,r){let i=Vn(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 Kc(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,E=e===b?e.clientWidth:d.right,L=parseFloat(h.scrollMarginTop)||0,M=parseFloat(h.scrollMarginBottom)||0,N=parseFloat(h.scrollMarginLeft)||0,A=parseFloat(h.scrollMarginRight)||0,B=parseFloat(p.scrollPaddingTop)||0,_=parseFloat(p.scrollPaddingBottom)||0,$=parseFloat(p.scrollPaddingLeft)||0,k=parseFloat(p.scrollPaddingRight)||0,K=parseFloat(p.borderTopWidth)||0,U=parseFloat(p.borderBottomWidth)||0,q=parseFloat(p.borderLeftWidth)||0,ne=parseFloat(p.borderRightWidth)||0,le=f.top-L,j=f.bottom+M,W=f.left-N,z=f.right+A,O=e===b?0:q+ne,oe=e===b?0:K+U,J=e===b?0:e.offsetWidth-e.clientWidth-O,G=e===b?0:e.offsetHeight-e.clientHeight-oe,D=w+(v?0:K)+B,Q=x-(v?0:U)-_-G,se=T+(v?0:q)+$,ce=E-(v?0:ne)-k;ba()&&Ml()||p.direction==="ltr"?ce-=J:p.direction==="rtl"&&(se+=J);let H=le<D||j>Q,ie=W<se||z>ce;if(H&&r==="start")s+=le-D;else if(H&&r==="center")s+=(le+j)/2-(D+Q)/2;else if(H&&r==="end")s+=j-Q;else if(H&&r==="nearest"){let xe=le-D,Ae=j-Q;s+=Math.abs(xe)<=Math.abs(Ae)?xe:Ae}if(ie&&i==="start")u+=W-se;else if(ie&&i==="center")u+=(W+z)/2-(se+ce)/2;else if(ie&&i==="end")u+=z-ce;else if(ie&&i==="nearest"){let xe=W-se,Ae=z-ce;u+=Math.abs(xe)<=Math.abs(Ae)?xe:Ae}e.scrollTo({left:u,top:s})}function wb(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=y0(e,!0);for(let w of p)Kc(w,e);let{left:b,top:v}=e.getBoundingClientRect();if(Math.abs(d-b)>1||Math.abs(h-v)>1){p=l?y0(l,!0):[];for(let w of p)Kc(w,l,{block:"center",inline:"center"});for(let w of y0(e,!0))Kc(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 u3(e){return e.pointerType===""&&e.isTrusted?!0:Zc()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function aC(e){return!Zc()&&e.width===0&&e.height===0||Zc()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function rC(e,t,l){let r=Vn(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 Cb(e){const t=y.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}function Eu(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]),f3(e,i,y.useCallback(()=>r(!1),[])),i}function Qc(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 f3(e,i,y.useCallback(()=>{r(s=>s==="exiting"?"closed":s)},[])),i}function f3(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 iC=typeof Element<"u"&&"checkVisibility"in Element.prototype;function oC(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 sC(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 _h(e,t){return iC?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&oC(e)&&sC(e,t)&&(!e.parentElement||_h(e.parentElement,e))}const Gh=["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"],cC=Gh.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Gh.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const uC=Gh.join(':not([hidden]):not([tabindex="-1"]),');function d3(e,t){return e.matches(cC)&&!h3(e)&&((t==null?void 0:t.skipVisibilityCheck)||_h(e))}function qh(e){return e.matches(uC)&&_h(e)&&!h3(e)}function h3(e){let t=e;for(;t!=null;){if(t instanceof jt(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function Eb(e){let t=e==null?void 0:e.defaultView;return(t==null?void 0:t.__webpack_nonce__)||globalThis.__webpack_nonce__||void 0}let w0=new WeakMap;function m3(e){let t=e??(typeof document<"u"?document:void 0);if(!t)return Eb(t);if(w0.has(t))return w0.get(t);let l=t.querySelector('meta[property="csp-nonce"]'),r=l&&l instanceof jt(l).HTMLMetaElement&&(l.nonce||l.content)||Eb(t)||void 0;return r!==void 0&&w0.set(t,r),r}function J0(e,t=-1/0,l=1/0){return Math.min(Math.max(e,t),l)}function fC(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):C.jsx(e,{...f})}const Tb={},Et=new Proxy({},{get(e,t){if(typeof t!="string")return;let l=Tb[t];return l||(l=fC.bind(null,t),Tb[t]=l),l}});var dC=Array.isArray,Tu=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(dC(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:Tu(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},hC=/\s+/g,eh=Array.isArray,mC=e=>typeof e!="string"||!e?e:e.replace(hC," ").trim(),pC=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=Tu(e);if(t)return pC(t)?mC(t):t},th=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},p3=(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},gC=(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},g3=(e,t)=>{for(let l=0;l<e.length;l++){const r=e[l];eh(r)?g3(r,t):r&&t.push(r)}},nh=(...e)=>{const t=[];g3(e,t);const l=[];for(let r=0;r<t.length;r++)t[r]&&l.push(t[r]);return l},Yh=(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];eh(u)||eh(f)?i[s]=nh(f,u):typeof u=="object"&&typeof f=="object"&&u&&f?i[s]=Yh(u,f):i[s]=f+" "+u}else i[s]=u}for(const s in r)s in l||(i[s]=r[s]);return i},bC={twMerge:!0,twMergeConfig:{}},b3=256,vC=128,tr=Symbol("tv-cache-miss"),yC=e=>(e==null?void 0:e.class)!=null&&e.class!==""||(e==null?void 0:e.className)!=null&&e.className!=="",Rb=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=th(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+"?"}},v3=(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]);const p=Rb(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));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]);const p=Rb(h);if(p===null)return null;i+=d+":"+p+";"}return i},y3=(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},x3=(e=b3)=>{let t=new Map,l=null;return{get(r){if(t.has(r))return t.get(r);if(l!=null&&l.has(r)){const i=l.get(r);return t.set(r,i),i}return tr},set(r,i){t.size>=e&&(l=t,t=new Map),t.set(r,i)}}},xC=(e=b3)=>{const t=x3(e);return{get(l){return t.get(l)},set(l,r){t.set(l,r)}}},SC=(e=vC)=>{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)}}},Xh=(e,t)=>{let l=null;return(r,i)=>{if(!yC(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=SC());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 wC(){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=wC(),CC=e=>{!Dn(e.twMergeConfig)&&!p3(e.twMergeConfig,Ut.cachedTwMergeConfig)&&(Ut.didTwMergeConfigChange=!0,Ut.cachedTwMergeConfig=e.twMergeConfig)},EC=(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},TC=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},RC=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},MC=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},AC=(e,t)=>{const{extend:l=null,slots:r={},variants:i={},compoundVariants:s=[],compoundSlots:u=[],defaultVariants:f={}}=e,d={...bC,...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)?Yh(i,l.variants):i,v=l!=null&&l.defaultVariants&&!Dn(l.defaultVariants)?{...l.defaultVariants,...f}:f;CC(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}:{},E=w?T:gC({...l==null?void 0:l.slots},Dn(T)?{base:e==null?void 0:e.base}:T),L=!(l!=null&&l.compoundVariants)||Dn(l.compoundVariants)?s:nh(l==null?void 0:l.compoundVariants,s),M=!(l!=null&&l.compoundSlots)||Dn(l.compoundSlots)?u:nh(l==null?void 0:l.compoundSlots,u),N=Object.keys(b),A=L&&!Array.isArray(L)?new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof L}`):M&&!Array.isArray(M)?new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof M}`):null,B=h||!w?"slots":N.length===0?"plain":"variants";return{config:d,extend:l,base:p,variants:b,defaultVariants:v,slots:E,compoundVariants:L,compoundSlots:M,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:A,mode:B,slotKeys:null,variantKeys:N}},S3=e=>(e.compiledVariants!==null||(e.compiledVariants=EC(e.variants,e.variantKeys),e.compiledCompoundVariants=TC(e.compoundVariants),e.compiledCompoundSlots=RC(e.compoundSlots),e.compiledCompoundSlotsBySlot=MC(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots=="object"?Object.keys(e.slots):[]),e),lh=[],w3=[],LC=[],kC=[],NC=[],C3=(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},wc=e=>e==null||e===!1,DC=(e,t)=>{if(!Array.isArray(e))return e===t||wc(e)&&wc(t);for(let l=0;l<e.length;l++){const r=e[l];if(r===t||wc(r)&&wc(t))return!0}return!1},E3=(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=th(i);if(typeof s=="object")return null;const u=t==null?void 0:t[e.key],f=s??th(u);return e.values[f||"false"]},Wh=(e,t)=>{const{conditionKeys:l,source:r}=e;for(let i=0;i<l.length;i++){const s=l[i];if(!DC(r[s],t[s]))return!1}return!0},Mb=(e,t,l)=>{typeof l=="string"?t==="base"&&e.push(l):l&&typeof l=="object"&&l[t]&&e.push(l[t])},$C=(e,t,l)=>{const r=w3;r.length=0;for(let i=0;i<e.length;i++){const s=E3(e[i],t,l);s&&r.push(s)}return r},zC=(e,t,l,r,i)=>{const s=w3;s.length=0;for(let u=0;u<t.length;u++){const f=E3(t[u],l,r,i),d=e==="base"&&typeof f=="string"?f:f&&f[e];d&&s.push(d)}return s},PC=(e,t)=>{const l=LC;l.length=0;for(let r=0;r<e.length;r++){const i=e[r];Wh(i,t)&&(i.source.class&&l.push(i.source.class),i.source.className&&l.push(i.source.className))}return l},OC=(e,t,l)=>{const r=kC;r.length=0;for(let i=0;i<t.length;i++){const s=t[i];Wh(s,l)&&(Mb(r,e,s.source.class),Mb(r,e,s.source.className))}return r},jC=(e,t)=>{const l=NC;l.length=0;for(let r=0;r<e.length;r++){const i=e[r];Wh(i,t)&&(i.source.class&&l.push(i.source.class),i.source.className&&l.push(i.source.className))}return l},IC=(e,t)=>{const{base:l,config:r}=e;let i=tr;const s=Xh(t,r);return(u=>(i===tr&&(i=t(r,l)),s(i,u)))},BC=(e,t)=>{const{base:l,config:r,defaultVariants:i,deferredError:s,variantKeys:u}=e;let f=e.compiledCompoundVariants,d=e.compiledVariants,h=lh,p=null;const b=Xh(t,r);let v=1;const w=x=>{const T=f.length>0?PC(f,C3(i,x)):void 0;return t(r,l,$C(d,i,x),T)};return(x=>{if(s)throw s;(d===null||f===null)&&(S3(e),d=e.compiledVariants,f=e.compiledCompoundVariants,h=e.compiledCompoundSlots??lh);let T;if(v>0)v--,T=w(x);else{p??(p=xC());const E=v3(u,i,x);if(E!==null){const L=f.length>0||h.length>0?y3(f,h):"",M=E+"#"+L,N=p.get(M);N!==tr?T=N:(T=w(x),p.set(M,T))}else T=w(x)}return b(T,x)})},HC=(e,t)=>{const{config:l,defaultVariants:r,deferredError:i,slots:s,variantKeys:u}=e;let f=null,d=null,h=null,p=null,b=!1,v=null,w=null,x=1;const T=()=>{if(h!==null)return;(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&S3(e);const L=e.compiledVariants;f=e.compiledCompoundVariants,d=e.compiledCompoundSlots;const M=e.compiledCompoundSlotsBySlot;h=e.slotKeys,b=f.length>0||d.length>0,v=Xh(t,l);const N=new Array(h.length);for(let A=0;A<h.length;A++){const B=h[A],_=M[B]??lh;N[A]=($,k)=>{const K=b?C3(r,$,k):void 0,U=K?OC(B,f,K):void 0,q=K?jC(_,K):void 0;return t(l,s[B],zC(B,L,r,$,k),U,q)}}p=N},E=L=>{const M=h,N=p,A=v,B={};for(let _=0;_<M.length;_++){const $=N[_],k=$(L);B[M[_]]=K=>{if(K==null)return k;let U=!1;for(const q in K)if(!(q==="class"||q==="className")&&K[q]!==void 0){U=!0;break}return A(U?$(L,K):k,K)}}return B};return(L=>{if(i)throw i;if(T(),x>0)return x--,E(L);const M=v3(u,r,L);if(M===null)return E(L);const N=b?y3(f,d):"",A=M+"#"+N;w??(w=x3());const B=w.get(A);if(B!==tr)return B;const _=E(L);return w.set(A,_),_})},KC=(e,t)=>{if(e.mode==="plain")return IC(e,t);let l;return(r=>(l??(l=e.mode==="slots"?HC(e,t):BC(e,t)),l(r)))},UC=(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},VC=e=>{const t=(r,i)=>{const s=AC(r,i),u=KC(s,e);return UC(u,s),u};return{tv:t,createTV:r=>(i,s)=>t(i,s?Yh(r,s):r)}},FC=(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},_C=(e,t)=>({classGroupId:e,validator:t}),T3=(e=new Map,t=null,l)=>({nextPart:e,validators:t,classGroupId:l}),Jc="-",Ab=[],GC="arbitrary..",qC=e=>{const t=XC(e),{conflictingClassGroups:l,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u[0]==="["&&u[u.length-1]==="]")return YC(u);const f=u.split(Jc),d=f[0]===""&&f.length>1?1:0;return R3(f,d,t)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=r[u],h=l[u];return d?h?FC(h,d):d:h||Ab}return l[u]||Ab}}},R3=(e,t,l)=>{if(e.length-t===0)return l.classGroupId;const i=e[t],s=l.nextPart.get(i);if(s){const h=R3(e,t+1,s);if(h)return h}const u=l.validators;if(u===null)return;const f=t===0?e.join(Jc):e.slice(t).join(Jc),d=u.length;for(let h=0;h<d;h++){const p=u[h];if(p.validator(f))return p.classGroupId}},YC=e=>{const t=e.slice(1,-1),l=t.indexOf(":");if(l===-1)return;const r=t.slice(0,l);return r?GC+r:void 0},XC=e=>{const{theme:t,classGroups:l}=e;return WC(l,t)},WC=(e,t)=>{const l=T3();for(const r in e){const i=e[r];Zh(i,l,r,t)}return l},Zh=(e,t,l,r)=>{const i=e.length;for(let s=0;s<i;s++){const u=e[s];ZC(u,t,l,r)}},ZC=(e,t,l,r)=>{if(typeof e=="string"){QC(e,t,l);return}if(typeof e=="function"){JC(e,t,l,r);return}eE(e,t,l,r)},QC=(e,t,l)=>{const r=e===""?t:M3(t,e);r.classGroupId=l},JC=(e,t,l,r)=>{if(tE(e)){Zh(e(r),t,l,r);return}t.validators===null&&(t.validators=[]),t.validators.push(_C(l,e))},eE=(e,t,l,r)=>{const i=Object.entries(e),s=i.length;for(let u=0;u<s;u++){const[f,d]=i[u];Zh(d,M3(t,f),l,r)}},M3=(e,t)=>{let l=e;const r=t.split(Jc),i=r.length;for(let s=0;s<i;s++){const u=r[s];let f=l.nextPart.get(u);f||(f=T3(),l.nextPart.set(u,f)),l=f}return l},tE=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,nE="!",lE=58,aE=47,rE=91,iE=93,oE=40,sE=41,Lb=33,cE=(e,t,l,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:l,maybePostfixModifierPosition:r,isExternal:void 0}),kb=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===lE){t.push(e.slice(i,v)),i=v+1;continue}if(w===aE){s=v;continue}}w===rE?l++:w===iE?l--:w===oE?r++:w===sE&&r--}const f=t.length===0?e:e.slice(i);let d=f,h=!1;const p=f.length-1;f.charCodeAt(p)===Lb?(d=f.slice(0,-1),h=!0):f.charCodeAt(0)===Lb&&(d=f.slice(1),h=!0);const b=s&&s>i?s-i:void 0;return cE(t,h,d,b)},uE=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}},C0={isExternal:!0,classId:-1,conflictIds:[]},fE=4096,dE=16384,hE=e=>{const t=uE(e),l=mE(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=qC(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=N=>{const A=[],B=N.length;let _=-1;b=!1;for(let $=0;$<B;$++){const k=N.charCodeAt($);k===32?_!==-1&&(A.push(N.slice(_,$)),_=-1):k>=9&&k<=13?(b=!0,_!==-1&&(A.push(N.slice(_,$)),_=-1)):_===-1&&(_=$)}return _!==-1&&A.push(N.slice(_)),A},w=new Map;let x=0;const T=N=>{let A=w.get(N);if(A===void 0&&(A=x++,w.set(N,A),A>=d.length)){const B=new Int32Array(d.length*2);B.set(d),d=B}return A},E=N=>{const{isExternal:A,modifiers:B,hasImportantModifier:_,baseClassName:$,maybePostfixModifierPosition:k}=kb(N);if(A)return C0;let K=!!k,U;if(K){const W=$.substring(0,k);U=r(W);const z=U&&l[U]?r($):void 0;z&&z!==U&&(U=z,K=!1)}else U=r($);if(!U){if(!K||(U=r($),!U))return C0;K=!1}const q=B.length===0?"":B.length===1?B[0]:t(B).join(":"),ne=_?q+nE:q,le=i(U,K),j=[];for(let W=0;W<le.length;W++)j.push(T(ne+le[W]));return{isExternal:!1,classId:T(ne+U),conflictIds:j}},L=N=>{let A=s[N];return A!==void 0||(A=u[N],A===void 0&&(A=E(N)),s[N]=A,++f>fE&&(f=0,u=s,s=Object.create(null))),A};return{parseClassName:kb,sortModifiers:t,postfixLookupClassGroupIds:l,getClassGroupId:r,getConflictingClassGroupIds:i,getClassDescriptor:L,mergeClassList:N=>{const A=v(N),B=A.length;if(B===1)return A[0];x>dE&&(w.clear(),x=0,s=Object.create(null),u=Object.create(null),f=0),h=h+1|0,h===0&&(h=1);const _=h;if(B>p.length){let U=p.length;for(;U<B;)U*=2;p=new Uint8Array(U)}let $=!1,k=0;for(let U=B-1;U>=0;U-=1){const q=A[U];k+=q.length;const ne=L(q);if(ne.isExternal){p[U]=1;continue}const le=ne.classId;if(d[le]===_){p[U]=0,$=!0;continue}d[le]=_;const j=ne.conflictIds;for(let W=0;W<j.length;W++)d[j[W]]=_;p[U]=1}if(!$&&!b&&N.length===k+B-1)return N;let K="";for(let U=0;U<B;U++)p[U]===1&&(K&&(K+=" "),K+=A[U]);return K}}},mE=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},pE=500,Nb=e=>{let t,l,r=Object.create(null),i=Object.create(null),s=0;const u=h=>(t=hE(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>pE&&(s=0,i=r,r=Object.create(null))),p},d=(...h)=>d.mergeString(Tu(h));return d.mergeString=u,d},gE=[],wt=e=>{const t=l=>l[e]||gE;return t.isThemeGetter=!0,t},A3=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,L3=/^\((?:(\w[\w-]*):)?(.+)\)$/i,bE=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,vE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yE=/\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$/,xE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,SE=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wE=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k3=Number,CE=Number.isNaN,EE=Number.isInteger,aa=e=>bE.test(e),Le=e=>!!e&&!CE(k3(e)),Zn=e=>!!e&&EE(k3(e)),E0=e=>e.endsWith("%")&&Le(e.slice(0,-1)),Cl=e=>vE.test(e),N3=()=>!0,TE=e=>yE.test(e)&&!xE.test(e),Qh=()=>!1,RE=e=>SE.test(e),ME=e=>wE.test(e),AE=e=>!he(e)&&!pe(e),LE=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)),kE=e=>xa(e,z3,Qh),he=e=>A3.test(e),Va=e=>xa(e,P3,TE),Db=e=>xa(e,IE,Le),NE=e=>xa(e,j3,N3),DE=e=>xa(e,O3,Qh),$b=e=>xa(e,D3,Qh),$E=e=>xa(e,$3,ME),Cc=e=>xa(e,I3,RE),pe=e=>L3.test(e),xo=e=>or(e,P3),zE=e=>or(e,O3),zb=e=>or(e,D3),PE=e=>or(e,z3),OE=e=>or(e,$3),Ec=e=>or(e,I3,!0),jE=e=>or(e,j3,!0),xa=(e,t,l)=>{const r=A3.exec(e);return r?r[1]?t(r[1]):l(r[2]):!1},or=(e,t,l=!1)=>{const r=L3.exec(e);return r?r[1]?t(r[1]):l:!1},D3=e=>e==="position"||e==="percentage",$3=e=>e==="image"||e==="url",z3=e=>e==="length"||e==="size"||e==="bg-size",P3=e=>e==="length",IE=e=>e==="number",O3=e=>e==="family-name",j3=e=>e==="number"||e==="weight",I3=e=>e==="shadow",T0=()=>{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"),E=wt("aspect"),L=wt("ease"),M=wt("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...A(),pe,he],_=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],k=()=>[pe,he,d],K=()=>[aa,"full","auto",...k()],U=()=>[Zn,"none","subgrid",pe,he],q=()=>["auto",{span:["full",Zn,pe,he]},Zn,pe,he],ne=()=>[Zn,"auto",pe,he],le=()=>["auto","min","max","fr",pe,he],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...k()],O=()=>[aa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],oe=()=>[aa,"screen","full","dvw","lvw","svw","min","max","fit",...k()],J=()=>[aa,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],G=()=>[e,pe,he],D=()=>[...A(),zb,$b,{position:[pe,he]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",PE,kE,{size:[pe,he]}],ce=()=>[E0,xo,Va],H=()=>["","none","full",h,pe,he],ie=()=>["",Le,xo,Va],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,E0,zb,$b],Lt=()=>["","none",x,pe,he],it=()=>["none",Le,pe,he],ue=()=>["none",Le,pe,he],fe=()=>[Le,pe,he],Ce=()=>[aa,"full",...k()];return{theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Cl],breakpoint:[Cl],color:[N3],container:[Cl],"drop-shadow":[Cl],ease:["in","out","in-out"],font:[AE],"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",Le],text:[Cl],"text-shadow":[Cl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",aa,he,pe,E]}],container:["container"],"container-type":[{"@container":["","normal","size",pe,he]}],"container-named":[LE],columns:[{columns:[Le,he,pe,f]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:K()}],"inset-x":[{"inset-x":K()}],"inset-y":[{"inset-y":K()}],start:[{"inset-s":K(),start:K()}],end:[{"inset-e":K(),end:K()}],"inset-bs":[{"inset-bs":K()}],"inset-be":[{"inset-be":K()}],top:[{top:K()}],right:[{right:K()}],bottom:[{bottom:K()}],left:[{left:K()}],visibility:["visible","invisible","collapse"],z:[{z:[Zn,"auto",pe,he]}],basis:[{basis:[aa,"full","auto",f,...k()]}],"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":U()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":le()}],"auto-rows":[{"auto-rows":le()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],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":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"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,Va]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,jE,NE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",E0,he]}],"font-family":[{font:[zE,DE,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,Db]}],leading:[{leading:[s,...k()]}],"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:G()}],"text-color":[{text:G()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Le,"from-font","auto",pe,Va]}],"text-decoration-color":[{decoration:G()}],"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:k()}],"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]},OE,$E]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],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:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Le,pe,he]}],"outline-w":[{outline:["",Le,xo,Va]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",p,Ec,Cc]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",b,Ec,Cc]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[Le,Va]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",v,Ec,Cc]}],"text-shadow-color":[{"text-shadow":G()}],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":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"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":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"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":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"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":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"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":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"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":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"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":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"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":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"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":A()}],"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":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"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,Cc]}],"drop-shadow-color":[{"drop-shadow":G()}],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":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"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",L,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:Ce()}],"translate-x":[{"translate-x":Ce()}],"translate-y":[{"translate-y":Ce()}],"translate-z":[{"translate-z":Ce()}],"translate-none":["translate-none"],zoom:[{zoom:[Zn,pe,he]}],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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":G()}],"scrollbar-track-color":[{"scrollbar-track":G()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",...G()]}],"stroke-w":[{stroke:[Le,xo,Va,Db]}],stroke:[{stroke:["none",...G()]}],"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"]}},BE=(e,{extend:t={},override:l={}})=>(Tc(e.theme,l.theme),Tc(e.classGroups,l.classGroups),Tc(e.conflictingClassGroups,l.conflictingClassGroups),Tc(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),ah(e,"postfixLookupClassGroups",l.postfixLookupClassGroups),ah(e,"orderSensitiveModifiers",l.orderSensitiveModifiers),Rc(e.theme,t.theme),Rc(e.classGroups,t.classGroups),Rc(e.conflictingClassGroups,t.conflictingClassGroups),Rc(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),rh(e,t,"postfixLookupClassGroups"),rh(e,t,"orderSensitiveModifiers"),e),ah=(e,t,l)=>{l!==void 0&&(e[t]=l)},Tc=(e,t)=>{if(t)for(const l in t)ah(e,l,t[l])},Rc=(e,t)=>{if(t)for(const l in t)rh(e,t,l)},rh=(e,t,l)=>{const r=t[l];r!==void 0&&(e[l]=e[l]?e[l].concat(r):r)},B3=e=>Nb(e?typeof e=="function"?()=>e(T0()):()=>BE(T0(),e):T0),HE=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},KE=e=>{const t=HE(e),l=B3(t);return r=>l.mergeString(r)},Uc,UE=()=>(Uc||(Uc=B3()),Uc),VE=()=>((!Ut.cachedTwMerge||Ut.didTwMergeConfigChange)&&(Ut.didTwMergeConfigChange=!1,Ut.cachedTwMerge=KE(Ut.cachedTwMergeConfig)),Ut.cachedTwMerge),FE=e=>{const t=e==null?void 0:e.twMergeConfig;!t||Dn(t)||p3(t,Ut.cachedTwMergeConfig)||(Ut.cachedTwMergeConfig=t,Ut.didTwMergeConfigChange=!0)},_E=e=>Tu(e),GE=Ut.reset.bind(Ut);Ut.reset=()=>{Uc=void 0,GE()};var qE=(e,t)=>{const l=_E(e);return!l||!((t==null?void 0:t.twMerge)??!0)?l||void 0:l.indexOf(" ")===-1?l:(FE(t),(!!(t!=null&&t.twMergeConfig&&!Dn(t.twMergeConfig))?VE():UE().mergeString)(l)||void 0)},YE=(e,...t)=>qE(t,e),XE=VC(YE),vn=XE.tv,WE=Lo;const ZE=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"}}}}),QE=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"}}}}),JE=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"}}}),eT=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"}}}}),tT=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"}}}}),nT=vn({base:"close-button",defaultVariants:{variant:"default"},variants:{variant:{default:"close-button--default"}}}),lT=vn({slots:{base:"link",icon:"link__icon"}}),Jh=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"}}}}),aT=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"}}}}),rT=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"}}}),iT=vn({base:"surface",defaultVariants:{variant:"default"},variants:{variant:{default:"surface--default",secondary:"surface--secondary",tertiary:"surface--tertiary",transparent:"surface--transparent"}}}),oT=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"}}}}),sT=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=F.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 cT(e,t){return l=>t(typeof e=="function"?e(l):e,l)}function Ru(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=Ru(l,e.slot)||{},{ref:i,...s}=r,u=bn(y.useMemo(()=>ya(t,i),[t,i])),f=Ee(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 Tz(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 uT(e){const t=/^(data-.*)$/;let l={};for(const r in e)t.test(r)||(l[r]=e[r]);return l}function fT(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):F.createElement(e,f)}const Pb={},ut=new Proxy({},{get(e,t){if(typeof t!="string")return;let l=Pb[t];return l||(l=y.forwardRef(fT.bind(null,t)),Pb[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 eu=y.createContext(!1);function dT(e){if(y.useContext(eu))return F.createElement(F.Fragment,null,e.children);let l=F.createElement(eu.Provider,{value:!0},e.children);return F.createElement("template",null,l)}function H3(e){let t=(l,r)=>y.useContext(eu)?null:e(l,r);return t.displayName=e.displayName||e.name,y.forwardRef(t)}function hT(){return y.useContext(eu)}const mT=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),pT=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function gT(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 mT.has(l.script)}let t=e.split("-")[0];return pT.has(t)}const K3=Symbol.for("react-aria.i18n.locale");function U3(){let e=typeof window<"u"&&window[K3]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:gT(e)?"rtl":"ltr"}}let ih=U3(),Ro=new Set;function Ob(){ih=U3();for(let e of Ro)e(ih)}function bT(){let e=Nl(),[t,l]=y.useState(ih);return y.useEffect(()=>(Ro.size===0&&window.addEventListener("languagechange",Ob),Ro.add(l),()=>{Ro.delete(l),Ro.size===0&&window.removeEventListener("languagechange",Ob)}),[]),e?{locale:typeof window<"u"&&window[K3]||"en-US",direction:"ltr"}:t}const vT=F.createContext(null);function bi(){let e=bT();return y.useContext(vT)||e}const yT=y.createContext(null),V3=7e3;let Qn=null;function jb(e,t="assertive",l=V3){Qn?Qn.announce(e,t,l):(Qn=new xT,(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 xT{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=V3){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 e2(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function F3(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function _3(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=e2(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 tu=!1;function ST(e){for(;e&&!d3(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=jt(e),l=t.document.activeElement;if(!l||l===e)return;tu=!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),tu=!1,r=!1},h=requestAnimationFrame(d);return d}let Ll=null;const Io=new Set;let ko=new Map,nr=!1,oh=!1;const wT={Tab:!0,Escape:!0};function Mu(e,t){for(let l of Io)l(e,t)}function CT(e){return!(e.metaKey||!Fn()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function nu(e){nr=!0,!Al.isOpening&&CT(e)&&(Ll="keyboard",Mu("keyboard",e))}function di(e){Ll="pointer","pointerType"in e&&e.pointerType,(e.type==="mousedown"||e.type==="pointerdown")&&(nr=!0,Mu("pointer",e))}function G3(e){!Al.isOpening&&u3(e)&&(nr=!0,Ll="virtual")}function q3(e){let t=jt(ve(e)),l=He(ve(e));ve(e)===t||ve(e)===l||tu||!e.isTrusted||(!nr&&!oh&&(Ll="virtual",Mu("virtual",e)),nr=!1,oh=!1)}function Y3(){tu||(nr=!1,oh=!0)}function lu(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",nu,!0),l.addEventListener("keyup",nu,!0),l.addEventListener("click",G3,!0),t.addEventListener("focus",q3,!0),t.addEventListener("blur",Y3,!1),typeof PointerEvent<"u"&&(l.addEventListener("pointerdown",di,!0),l.addEventListener("pointermove",di,!0),l.addEventListener("pointerup",di,!0)),t.addEventListener("beforeunload",()=>{X3(e)},{once:!0}),ko.set(t,{focus:r})}const X3=(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",nu,!0),r.removeEventListener("keyup",nu,!0),r.removeEventListener("click",G3,!0),l.removeEventListener("focus",q3,!0),l.removeEventListener("blur",Y3,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",di,!0),r.removeEventListener("pointermove",di,!0),r.removeEventListener("pointerup",di,!0)),ko.delete(l))};function ET(e){const t=He(e);let l;return t.readyState!=="loading"?lu(e):(l=()=>{lu(e)},t.addEventListener("DOMContentLoaded",l)),()=>X3(e,l)}typeof document<"u"&&ET();function sh(){return Ll!=="pointer"}function pa(){return Ll}function TT(e){Ll=e,Mu(e,null)}function Rz(){lu();let[e,t]=y.useState(Ll);return y.useEffect(()=>{let l=()=>{t(Ll)};return Io.add(l),()=>{Io.delete(l)}},[]),Nl()?null:e}const RT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function MT(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&&!RT.has(p.type)||p instanceof f||p instanceof d&&p.isContentEditable,!(e&&t==="keyboard"&&l instanceof h&&!wT[l.key])}function AT(e,t,l){lu(),y.useEffect(()=>{if((l==null?void 0:l.enabled)===!1)return;let r=(i,s)=>{MT(!!(l!=null&&l.isTextInput),i,s)&&e(sh())};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);s3(()=>{const r=et(t);(r===l||r===t.body)&&e.isConnected&&en(e)})}else en(e)}function W3(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=_3(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 Mc(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 LT=new Set(["shift","alt","control","meta","mod"]),kT=["Alt","Control","Meta","Shift"];function NT(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(Fn()?"Meta":"Control"),t}function DT(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 Z3(e){return kT.filter(t=>e.has(t))}function $T(e){let t=e.split("+").reduce((l,r)=>{let i=r.toLowerCase();return LT.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 zT={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function PT(e){let t=Q3(e),l=zT[t];return l??t}function OT(e){let t=Z3(NT(e)),l=PT(e.key);return t.length>0?`${t.join("+")}+${l}`:l}function jT(e){let t=Z3(DT(e)),l=Q3(e.key);return(t.length>0?`${t.join("+")}+`:"")+l}function IT(e){let t=new Map;for(let[l,r]of Object.entries(e)){let i=$T(l);t.set(OT(i),r)}return l=>{let r=jT(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 au(e){let{shortcuts:t,allowRepeats:l=!1,allowComposing:r=!1}=e,i,s;if(t){let u=IT(t),f=Mc(h=>{var p,b;if(!Be(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=Mc(h=>{var p,b;if(!Be(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=Mc(e.onKeyDown),s=Mc(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:i,onKeyUp:s}}}let Bo=F.createContext(null);function BT(e){let t=y.useContext(Bo)||{};Fh(t,e);let{ref:l,...r}=t;return r}const Mz=F.forwardRef(function(t,l){let{children:r,...i}=t,s=bn(l),u={...i,ref:s};return F.createElement(Bo.Provider,{value:u},r)});function Yo(e,t){let{focusProps:l}=W3(e),{keyboardProps:r}=au(e),i=Ee(l,r),s=BT(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:Ee({...i,tabIndex:d},u)}}let ii="default",ch="",Vc=new WeakMap;function HT(e){if(ba()&&Ml()){if(ii==="default"){const t=He(e);ch=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";Vc.set(e,e.style[t]),e.style[t]="none"}}function Ib(e){if(ba()&&Ml()){if(ii!=="disabled")return;ii="restoring",setTimeout(()=>{s3(()=>{if(ii==="restoring"){const t=He(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=ch||""),ch="",ii="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Vc.has(e)){let t=Vc.get(e),l="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[l]==="none"&&(e.style[l]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Vc.delete(e)}}const Ho=F.createContext({register:()=>{}});Ho.displayName="PressResponderContext";function KT(e){let t=y.useContext(Ho);if(t){let{register:l,ref:r,...i}=t;e=Ee(i,e),l()}return Fh(t,e.ref),e}var mi;class Ac{constructor(t,l,r,i){$g(this,mi);Zd(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(){Zd(this,mi,!1)}get shouldStopPropagation(){return Dg(this,mi)}}mi=new WeakMap;const Bb=Symbol("linkClicked"),Hb="react-aria-pressable-style",Kb="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}=KT(e),[x,T]=y.useState(!1),E=y.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:L,removeAllGlobalListeners:M}=Cu(),N=y.useCallback((j,W)=>{let z=E.current;if(f||z.didFirePressStart)return!1;let O=!0;if(z.isTriggeringEvent=!0,r){let oe=new Ac("pressstart",W,j);r(oe),O=oe.shouldStopPropagation}return l&&l(!0),z.isTriggeringEvent=!1,z.didFirePressStart=!0,T(!0),O},[f,r,l]),A=y.useCallback((j,W,z=!0)=>{let O=E.current;if(!O.didFirePressStart)return!1;O.didFirePressStart=!1,O.isTriggeringEvent=!0;let oe=!0;if(i){let J=new Ac("pressend",W,j);i(J),oe=J.shouldStopPropagation}if(l&&l(!1),T(!1),t&&z&&!f){let J=new Ac("press",W,j);t(J),oe&&(oe=J.shouldStopPropagation)}return O.isTriggeringEvent=!1,oe},[f,i,l,t]),B=Vn(A),_=y.useCallback((j,W)=>{let z=E.current;if(f)return!1;if(s){z.isTriggeringEvent=!0;let O=new Ac("pressup",W,j);return s(O),z.isTriggeringEvent=!1,O.shouldStopPropagation}return!0},[f,s]),$=Vn(_),k=y.useCallback(j=>{let W=E.current;if(W.isPressed&&W.target){W.didFirePressStart&&W.pointerType!=null&&A(Fa(W.target,j),W.pointerType,!1),W.isPressed=!1,W.isOverTarget=!1,W.activePointerId=null,W.pointerType=null,M(),b||Ib(W.target);for(let z of W.disposables)z();W.disposables=[]}},[b,M,A]),K=Vn(k);y.useEffect(()=>{f&&E.current.isPressed&&K({currentTarget:E.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[f]);let U=y.useCallback(j=>{p&&k(j)},[p,k]),q=y.useCallback(j=>{f||u==null||u(j)},[f,u]),ne=y.useCallback((j,W)=>{if(!f&&u){let z=new MouseEvent("click",j);F3(z,W),u(e2(z))}},[f,u]),le=y.useMemo(()=>{let j=E.current,W={onKeyDown(O){var oe;if(R0(O.nativeEvent,O.currentTarget)&&Be(O.currentTarget,ve(O))){Ub(ve(O),O.key)&&O.preventDefault();let J=!0;!j.isPressed&&!O.repeat&&(j.target=O.currentTarget,j.isPressed=!0,j.pointerType="keyboard",J=N(O,"keyboard"));let G=O.currentTarget,D=Q=>{R0(Q,G)&&!Q.repeat&&Be(G,ve(Q))&&j.target&&$(Fa(j.target,Q),"keyboard")};L(He(O.currentTarget),"keyup",er(D,z),!0),J&&O.stopPropagation(),O.metaKey&&Fn()&&((oe=j.metaKeyEvents)==null||oe.set(O.key,O.nativeEvent))}else O.key==="Meta"&&(j.metaKeyEvents=new Map)},onClick(O){if(!(O&&!Be(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"||u3(O.nativeEvent))){let J=N(O,"virtual"),G=$(O,"virtual"),D=B(O,"virtual");q(O),oe=J&&G&&D}else if(j.isPressed&&j.pointerType!=="keyboard"){let J=j.pointerType||O.nativeEvent.pointerType||"virtual",G=$(Fa(O.currentTarget,O),J),D=B(Fa(O.currentTarget,O),J,!0);oe=G&&D,j.isOverTarget=!1,q(O),K(O)}j.ignoreEmulatedMouseEvents=!1,oe&&O.stopPropagation()}}},z=O=>{var oe,J,G;if(j.isPressed&&j.target&&R0(O,j.target)){Ub(ve(O),O.key)&&O.preventDefault();let D=ve(O),Q=Be(j.target,D);B(Fa(j.target,O),"keyboard",Q),Q&&ne(O,j.target),M(),O.key!=="Enter"&&t2(j.target)&&Be(j.target,D)&&!O[Bb]&&(O[Bb]=!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())(G=j.target)==null||G.dispatchEvent(new KeyboardEvent("keyup",Q))}};if(typeof PointerEvent<"u"){W.onPointerDown=J=>{if(J.button!==0||!Be(J.currentTarget,ve(J)))return;if(aC(J.nativeEvent)){j.pointerType="virtual";return}j.pointerType=J.pointerType;let G=!0;if(!j.isPressed){j.isPressed=!0,j.isOverTarget=!0,j.activePointerId=J.pointerId,j.target=J.currentTarget,b||HT(j.target),G=N(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)),L(He(J.currentTarget),"pointerup",O,!1),L(He(J.currentTarget),"pointercancel",oe,!1)}G&&J.stopPropagation()},W.onMouseDown=J=>{if(Be(J.currentTarget,ve(J))&&J.button===0){if(h){let G=ST(J.target);G&&j.disposables.push(G)}J.stopPropagation()}},W.onPointerUp=J=>{!Be(J.currentTarget,ve(J))||j.pointerType==="virtual"||J.button===0&&!j.isPressed&&$(J,j.pointerType||J.pointerType)},W.onPointerEnter=J=>{J.pointerId===j.activePointerId&&j.target&&!j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!0,N(Fa(j.target,J),j.pointerType))},W.onPointerLeave=J=>{J.pointerId===j.activePointerId&&j.target&&j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!1,B(Fa(j.target,J),j.pointerType,!1),U(J))};let O=J=>{if(J.pointerId===j.activePointerId&&j.isPressed&&J.button===0&&j.target){if(Be(j.target,ve(J))&&j.pointerType!=null){let G=!1,D=setTimeout(()=>{j.isPressed&&j.target instanceof HTMLElement&&(G?K(J):(en(j.target),j.target.click()))},80);L(J.currentTarget,"click",()=>G=!0,!0),j.disposables.push(()=>clearTimeout(D))}else K(J);j.isOverTarget=!1}},oe=J=>{K(J)};W.onDragStart=J=>{Be(J.currentTarget,ve(J))&&K(J)}}return W},[L,f,h,M,b,U,N,q,ne]);return y.useEffect(()=>{if(!v)return;const j=He(v.current);if(!j||!j.head||j.getElementById(Hb))return;const W=j.createElement("style");W.id=Hb;let z=m3(j);z&&(W.nonce=z),W.textContent=`
|
|
67
67
|
@layer {
|
|
68
68
|
[${Kb}] {
|
|
69
69
|
touch-action: pan-x pan-y pinch-zoom;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
`.trim(),j.head.prepend(W)},[v]),y.useEffect(()=>{let j=C.current;return()=>{b||Ib(j.target??void 0);for(let W of j.disposables)W();j.disposables=[]}},[b]),{isPressed:d||x,pressProps:Ce(w,le,{[Kb]:!0})}}function t2(e){return e.tagName==="A"&&e.hasAttribute("href")}function R0(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&&!J3(i,l)||i instanceof jt(i).HTMLTextAreaElement||i.isContentEditable)&&!((s==="link"||!s&&t2(i))&&l!=="Enter")}function Fa(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 UT(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!t2(e)}function Ub(e,t){return Fn()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!J3(e,t):UT(e)}const VT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function J3(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":VT.has(e.type)}function FT(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:L,isPressed:M}=lr({onPressStart:s,onPressEnd:u,onPressChange:d,onPress:i,onPressUp:f,onClick:b,isDisabled:r,preventFocusOnPress:h,ref:t}),{focusableProps:N}=Yo(e,t);p&&(N.tabIndex=r?-1:N.tabIndex);let A=Ce(N,L,mt(e,{labelable:!0}));return{isPressed:M,buttonProps:Ce(C,A,{"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 Xo(e){let{isDisabled:t,onBlurWithin:l,onFocusWithin:r,onFocusWithinChange:i}=e,s=y.useRef({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:f}=Eu(),d=y.useCallback(b=>{Be(b.currentTarget,ve(b))&&s.current.isFocusWithin&&!Be(b.currentTarget,b.relatedTarget)&&(s.current.isFocusWithin=!1,f(),l&&l(b),i&&i(!1))},[l,i,s,f]),h=_3(d),p=y.useCallback(b=>{if(!Be(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 L=ve(C);if(s.current.isFocusWithin&&!Be(T,L)){let M=new w.defaultView.FocusEvent("blur",{relatedTarget:L});F3(M,T);let N=e2(M);d(N)}},{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||sh()}),[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=sh(),u(w),h()},[h]);AT(w=>{i.current.isFocusVisible=w,h()},[l,s],{enabled:s,isTextInput:l});let{focusProps:b}=W3({isDisabled:r,onFocusChange:p}),{focusWithinProps:v}=Xo({isDisabled:!r,onFocusWithinChange:p});return{isFocused:s,isFocusVisible:f,focusProps:r?v:b}}let uh=!1,Lc=0;function _T(){uh=!0,setTimeout(()=>{uh=!1},500)}function Vb(e){e.pointerType==="touch"&&_T()}function GT(){let e=He(null);if(!(typeof e>"u"))return Lc===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",Vb),Lc++,()=>{Lc--,!(Lc>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",Vb)}}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(GT,[]);let{addGlobalListener:d,removeAllGlobalListeners:h}=Eu(),{hoverProps:p,triggerHoverEnd:b}=y.useMemo(()=>{let v=(T,C)=>{if(f.pointerType=C,i||C==="touch"||f.isHovered||!Be(T.currentTarget,ve(T)))return;f.isHovered=!0;let L=T.currentTarget;f.target=L,d(He(ve(T)),"pointerover",M=>{f.isHovered&&f.target&&!Be(f.target,ve(M))&&w(M,M.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:L,pointerType:C}),l&&l(!0),u(!0)},w=(T,C)=>{let L=f.target;f.pointerType="",f.target=null,!(C==="touch"||!f.isHovered||!L)&&(f.isHovered=!1,h(),r&&r({type:"hoverend",target:L,pointerType:C}),l&&l(!1),u(!1))},x={};return typeof PointerEvent<"u"&&(x.onPointerEnter=T=>{uh&&T.pointerType==="mouse"||v(T,T.pointerType)},x.onPointerLeave=T=>{!i&&Be(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 n2=y.createContext({}),e5=H3(function(t,l){[t,l]=yn(t,l,n2);let r=t,{isPending:i}=r,{buttonProps:s,isPressed:u}=FT(t,l);s=YT(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 L=y.useRef(i);y.useEffect(()=>{let N={"aria-labelledby":C||x};(!L.current&&d&&i||L.current&&d&&!i)&&jb(N,"assertive"),L.current=i},[i,d,C,x]);let M=mt(t,{global:!0});return delete M.onClick,F.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},F.createElement(yT.Provider,{value:{id:T}},w.children))}),qT=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function YT(e,t){if(t){for(const l in e)l.startsWith("on")&&!qT.test(l)&&(e[l]=void 0);e.href=void 0,e.target=void 0}return e}const XT=typeof document<"u"?F.useInsertionEffect??F.useLayoutEffect:()=>{};function Au(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;XT(()=>{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 t5=y.createContext({}),WT=y.forwardRef(function(t,l){[t,l]=yn(t,l,t5);let{children:r,level:i=3,className:s,...u}=t,f=ut[`h${i}`];return F.createElement(f,{...u,ref:l,className:s??"react-aria-Heading"},r)}),fh=e=>e?"true":void 0;function Mt(e,t){return cT(e,(l,r)=>{const i=typeof t=="function"?t(r)??"":t??"";return WC(i,l??"")??""})}const Je=(e,t,l)=>typeof e=="function"?e({...l??{},className:t}):t,ZT=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"})}),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:"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"})}),JT=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"})}),eR=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"})}),tR=({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"})}),nR=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"})}),ru=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"})}),n5=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"})}),l5=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"})}),a5=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"})}),Mz=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"})}),l2=y.createContext({}),Fb=({children:e,className:t,variant:l="default",...r})=>E.jsx(l2,{value:{variant:l},children:E.jsx(Ct.div,{className:iT({variant:l,className:t}),"data-slot":"surface",...r,children:e})}),r5=y.createContext({placement:"bottom"}),Az=y.forwardRef(function(t,l){[t,l]=yn(t,l,r5);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 F.createElement(ut.div,{...u,...s,style:{...i,...s.style},ref:l,"data-placement":r})}),lR=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function _b(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}let So=new WeakMap,Zt=[];function i5(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)&&lR,u=new Set(e),f=new Set,d=C=>s&&C instanceof l.HTMLElement?C.inert:C.getAttribute("aria-hidden")==="true",h=(C,L)=>{s&&C instanceof l.HTMLElement?C.inert=L:L?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 L of e){let M=L.getRootNode();for(;Uh(M)&&M!==C;)p.add(M),M=M.host.getRootNode()}}let b=C=>{for(let A of C.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(A);let L=A=>{if(f.has(A)||u.has(A)||A.parentElement&&f.has(A.parentElement)&&A.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let B of u)if(Be(A,B))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},M=r3(He(C),C,NodeFilter.SHOW_ELEMENT,{acceptNode:L}),N=L(C);if(N===NodeFilter.FILTER_ACCEPT&&v(C),N!==NodeFilter.FILTER_REJECT){let A=M.nextNode();for(;A!=null;)v(A),A=M.nextNode()}},v=C=>{let L=So.get(C)??0;d(C)&&L===0||(L===0&&h(C,!0),f.add(C),So.set(C,L+1))};Zt.length&&Zt[Zt.length-1].disconnect(),b(i);let w=new MutationObserver(C=>{for(let L of C)if(L.type==="childList"){if(L.target.isConnected&&![...u,...f].some(M=>Be(M,L.target)))for(let M of L.addedNodes)(M instanceof HTMLElement||M instanceof SVGElement)&&_b(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 L=new MutationObserver(M=>{for(let N of M)if(N.type==="childList"){if(N.target.isConnected&&![...u,...f].some(A=>Be(A,N.target)))for(let A of N.addedNodes)(A instanceof HTMLElement||A instanceof SVGElement)&&_b(A)?u.add(A):A instanceof Element&&b(A);if(nl()){for(let A of p)if(!A.isConnected){w.disconnect();break}}}});L.observe(C,{childList:!0,subtree:!0}),x.add(L)}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 L=So.get(C);L!=null&&(L===1?(h(C,!1),So.delete(C)):So.set(C,L-1))}T===Zt[Zt.length-1]?(Zt.pop(),Zt.length&&Zt[Zt.length-1].observe()):Zt.splice(Zt.indexOf(T),1)}}function aR(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"},iu={top:"bottom",bottom:"top",left:"right",right:"left"},rR={top:"left",left:"top"},dh={top:"height",left:"width"},o5={width:"totalWidth",height:"totalHeight"},kc={};let iR=()=>typeof document<"u"?window.visualViewport:null;function Gb(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 oR(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function qb(e,t,l,r,i,s,u){let f=i.scroll[e]??0,d=r[dh[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 sR(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 Yb(e){if(kc[e])return kc[e];let[t,l]=e.split(" "),r=$n[t]||"right",i=rR[r];$n[l]||(l="center");let s=dh[r],u=dh[i];return kc[e]={placement:t,crossPlacement:l,axis:r,crossAxis:i,size:s,crossSize:u},kc[e]}function M0(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,L={};L[x]=e[x]??0,v==="center"?L[x]+=((e[C]??0)-(l[C]??0))/2:v!==x&&(L[x]+=(e[C]??0)-(l[C]??0)),L[x]+=s;const M=e[x]-l[C]+d+h,N=e[x]+e[C]-d-h;if(L[x]=J0(L[x],M,N),b===w){let A=f?p[T]:p[o5[T]];L[iu[w]]=Math.floor(A-e[w]+i)}else L[w]=Math.floor(e[w]+e[T]+i);return L}function cR(e,t,l,r,i,s,u,f,d,h,p){let b=(e.top!=null?e.top:d[o5.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 Xb(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[iu[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[iu[h]]-i)}function uR(e,t,l,r,i,s,u,f,d,h,p,b,v,w,x,T,C,L){let M=Yb(e),{size:N,crossAxis:A,crossSize:B,placement:_,crossPlacement:$}=M,k=M0(t,f,l,M,p,b,h,v,x,T,d),K=p,U=Xb(f,h,t,i,s+p,M,d,C);if(u&&l[N]>U){let H=Yb(`${iu[_]} ${$}`),ie=M0(t,f,l,H,p,b,h,v,x,T,d);Xb(f,h,t,i,s+p,H,d,C)>U&&(M=H,k=ie,K=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 ne=qb(A,k[A],l[B],f,d,s,h);k[A]+=ne;let le=cR(k,f,h,v,i,s,l.height,q,d,C,L);w&&w<le&&(le=w),l.height=Math.min(l.height,le),k=M0(t,f,l,M,K,b,h,v,x,T,d),ne=qb(A,k[A],l[B],f,d,s,h),k[A]+=ne;let j={},W=t[A]-k[A]-i[$n[A]],z=W+.5*t[B];const O=x/2+T,oe=$n[A]==="left"?(i.left??0)+(i.right??0):(i.top??0)+(i.bottom??0),J=l[B]-oe-x/2-T,G=t[A]+x/2-(k[A]+i[$n[A]]),D=t[A]+t[B]-x/2-(k[A]+i[$n[A]]),Q=J0(z,G,D);j[A]=J0(Q,O,J),{placement:_,crossPlacement:$}=M,x?W=j[A]:$==="right"?W+=t[B]:$==="center"&&(W+=t[B]/2);let se=_==="left"||_==="top"?l[N]:0,ce={x:_==="top"||_==="bottom"?W:se,y:_==="left"||_==="right"?W:se};return{position:k,maxHeight:le,arrowOffsetLeft:j.left,arrowOffsetTop:j.top,placement:_,triggerAnchorPoint:ce}}function fR(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=iR(),T=r instanceof HTMLElement?dR(r):document.documentElement,C=T===document.documentElement;const L=window.getComputedStyle(T).position;let M=!!L&&L!=="static",N=C?Ko(l,!1,w):Wb(l,T,!1,w);if(!C){let{marginTop:q,marginLeft:ne}=window.getComputedStyle(l);N.top+=parseInt(q,10)||0,N.left+=parseInt(ne,10)||0}let A=Ko(r,!0),B=sR(r);A.width+=(B.left??0)+(B.right??0),A.height+=(B.top??0)+(B.bottom??0);let _=oR(i),$=Gb(f,x),k=Gb(T,x),K;if((f.tagName==="BODY"||f.tagName==="HTML")&&!C){let q=Lu(T,!1);K={top:-(q.top-$.top),left:-(q.left-$.left),width:0,height:0}}else(f.tagName==="BODY"||f.tagName==="HTML")&&C?K={top:0,left:0,width:0,height:0}:K=Wb(f,T,!1);let U=Be(f,T);return uR(t,N,A,_,B,s,u,$,k,K,d,h,M,p,b,v,U,x)}function Lu(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||Lu(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 Wb(e,t,l,r){let i=window.getComputedStyle(e),s;if(i.position==="fixed")s=r||Lu(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 dR(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Zb(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Zb(t);)t=t.parentElement;return t||document.documentElement}function Zb(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 s5=new WeakMap;function hR(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&&!Be(u,t.current)||u instanceof HTMLInputElement||u instanceof HTMLTextAreaElement)return;let f=r||s5.get(t.current);f&&f()};return Uw(Fw(t.current),"scroll",i,!0)},[l,r,t])}let ht=typeof document<"u"?window.visualViewport:null;function mR(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:L=0,getTargetRect:M}=e,[N,A]=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,L,l],_=y.useRef(ht==null?void 0:ht.scale);y.useEffect(()=>{x&&(_.current=ht==null?void 0:ht.scale)},[x]);let $=y.useCallback(()=>{var j,W;if(w===!1||!x||!i.current||!r.current||!p||(ht==null?void 0:ht.scale)!==_.current)return;let U=null;if(u.current&&Oo(u.current)){let z=(j=et())==null?void 0:j.getBoundingClientRect(),O=u.current.getBoundingClientRect();U={type:"top",offset:((z==null?void 0:z.top)??0)-O.top},U.offset>O.height/2&&(U.type="bottom",U.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=(((W=window.visualViewport)==null?void 0:W.height)??window.innerHeight)+"px");let ne=fR({placement:gR(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?Lu(s.current,!0).width:0),arrowBoundaryOffset:L,targetRect:M==null?void 0:M(r.current)});if(!ne.position)return;q.style.top="",q.style.bottom="",q.style.left="",q.style.right="",Object.keys(ne.position).forEach(z=>q.style[z]=ne.position[z]+"px"),q.style.maxHeight=ne.maxHeight!=null?ne.maxHeight+"px":"";let le=et();if(U&&le&&u.current){let z=le.getBoundingClientRect(),O=u.current.getBoundingClientRect(),oe=z[U.type]-O[U.type];u.current.scrollTop+=oe-U.offset}A(ne)},B);Ne($,B),pR($),Q0({ref:i,onResize:$}),Q0({ref:r,onResize:$});let k=y.useRef(!1);Ne(()=>{let U,q=()=>{k.current=!0,clearTimeout(U),U=setTimeout(()=>{k.current=!1},500),$()},ne=()=>{k.current&&q()};return ht==null||ht.addEventListener("resize",q),ht==null||ht.addEventListener("scroll",ne),()=>{ht==null||ht.removeEventListener("resize",q),ht==null||ht.removeEventListener("scroll",ne)}},[$]);let K=y.useCallback(()=>{k.current||T==null||T()},[T,k]);return hR({triggerRef:r,isOpen:x,onClose:T&&K}),{overlayProps:{style:{position:N?"absolute":"fixed",top:N?void 0:0,left:N?void 0:0,zIndex:1e5,...N==null?void 0:N.position,maxHeight:(N==null?void 0:N.maxHeight)??"100vh"}},placement:(N==null?void 0:N.placement)??null,triggerAnchorPoint:(N==null?void 0:N.triggerAnchorPoint)??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:N==null?void 0:N.arrowOffsetLeft,top:N==null?void 0:N.arrowOffsetTop}},updatePosition:$}}function pR(e){Ne(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function gR(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Qb=F.createContext(null),hh="react-aria-focus-scope-restore";let tt=null;function bR(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(Qb)||{},h=y.useMemo(()=>new ph({scopeRef:f}),[f]);Ne(()=>{let v=d||xt.root;if(xt.getTreeNode(v.scopeRef)&&tt&&!ou(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(hh,x),v=v.nextSibling;return f.current=w,()=>{for(let C of w)C.removeEventListener(hh,x)}},[t]),CR(f,r,l),SR(f,l),TR(f,r,l),ER(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||ou(f,tt))&&(!v||xt.getTreeNode(v))&&(tt=v),xt.removeTreeNode(f)},[f]);let p=y.useMemo(()=>vR(f),[]),b=y.useMemo(()=>({focusManager:p,parentNode:h}),[h,p]);return F.createElement(Qb.Provider,{value:b},F.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:s}),t,F.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:u}))}function vR(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 yR(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 xR(e){if(e.checked)return!0;const t=yR(e);return t.length>0&&!t.some(l=>l.checked)}function SR(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||ou(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&&mh(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)&&Zc()&&e3(),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&&mh(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 c5(e){return da(e)}function zn(e,t){return!e||!t?!1:t.some(l=>Be(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 wR(e){return da(e,tt)}function ou(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 u5(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 mh(e,t=!0){Un(u5(e,t))}function ER(e,t){const l=F.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&&mh(e.current)}l.current=!1},[e])}function CR(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:c5(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 Jb(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 TR(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||ou(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)||!Jb(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):c5(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&&Jb(e))){let h=xt.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let p=h.getTreeNode(e);for(;p;){if(p.nodeToRestore&&p.nodeToRestore.isConnected){ev(p.nodeToRestore);return}p=p.parent}for(p=h.getTreeNode(e);p;){if(p.scopeRef&&p.scopeRef.current&&xt.getTreeNode(p.scopeRef)){let b=u5(p.scopeRef.current,!0);ev(b);return}p=p.parent}}})}}},[e,t])}function ev(e){e.dispatchEvent(new CustomEvent(hh,{bubbles:!0,cancelable:!0}))&&Un(e)}function ll(e,t,l){let r=t!=null&&t.tabbable?qh:d3,i=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,s=He(i),u=r3(s,e||s,NodeFilter.SHOW_ELEMENT,{acceptNode(f){return Be(t==null?void 0:t.from,f)||t!=null&&t.tabbable&&f.tagName==="INPUT"&&f.getAttribute("type")==="radio"&&(!xR(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 a2{constructor(){this.fastMap=new Map,this.root=new ph({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 ph({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 a2;for(let r of this.traverse())t.addTreeNode(r.scopeRef,((l=r.parent)==null?void 0:l.scopeRef)??null,r.nodeToRestore);return t}}class ph{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 a2;function RR(e){let{ref:t,onInteractOutside:l,isDisabled:r,onInteractOutsideStart:i}=e,s=y.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),u=Vn(d=>{l&&tv(d,t)&&(i&&i(d),s.current.isPointerDown=!0)}),f=Vn(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&&tv(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 tv(e,t){if(e.button>0)return!1;let l=ve(e);if(l){const r=l.ownerDocument;if(!r||!Be(r.documentElement,l)||l.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}const Jn=[];function f5(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}=au({shortcuts:{Escape:()=>{if(!u){h();return}return!1}}});RR({ref:t,onInteractOutside:s&&i?b:void 0,onInteractOutsideStart:p});let{focusWithinProps:w}=Xo({isDisabled:!r,onBlurWithin:x=>{!x.relatedTarget||wR(x.relatedTarget)||(!f||f(x.relatedTarget))&&(l==null||l())}});return{overlayProps:{...v,...w},underlayProps:{}}}const No=typeof document<"u"&&window.visualViewport;let Nc=0,A0;function d5(e={}){let{isDisabled:t}=e;Ne(()=>{if(!t)return Nc++,Nc===1&&(ba()&&Ml()?A0=AR():A0=MR()),()=>{Nc--,Nc===0&&A0()}},[t])}function MR(){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 AR(){let e=Fc(document.documentElement,"overflow","hidden"),t,l=!1,r=p=>{let b=ve(p);t=jo(b)?b:c3(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=m3();s&&(i.nonce=s),i.textContent=`
|
|
72
|
+
`.trim(),j.head.prepend(W)},[v]),y.useEffect(()=>{let j=E.current;return()=>{b||Ib(j.target??void 0);for(let W of j.disposables)W();j.disposables=[]}},[b]),{isPressed:d||x,pressProps:Ee(w,le,{[Kb]:!0})}}function t2(e){return e.tagName==="A"&&e.hasAttribute("href")}function R0(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&&!J3(i,l)||i instanceof jt(i).HTMLTextAreaElement||i.isContentEditable)&&!((s==="link"||!s&&t2(i))&&l!=="Enter")}function Fa(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 UT(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!t2(e)}function Ub(e,t){return Fn()&&t==="Enter"?!1:e instanceof HTMLInputElement?t==="Enter"&&(e.type==="checkbox"||e.type==="radio")?!1:!J3(e,t):UT(e)}const VT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function J3(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":VT.has(e.type)}function FT(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,E;l==="button"?E={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}:E={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:L,isPressed:M}=lr({onPressStart:s,onPressEnd:u,onPressChange:d,onPress:i,onPressUp:f,onClick:b,isDisabled:r,preventFocusOnPress:h,ref:t}),{focusableProps:N}=Yo(e,t);p&&(N.tabIndex=r?-1:N.tabIndex);let A=Ee(N,L,mt(e,{labelable:!0}));return{isPressed:M,buttonProps:Ee(E,A,{"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 Xo(e){let{isDisabled:t,onBlurWithin:l,onFocusWithin:r,onFocusWithinChange:i}=e,s=y.useRef({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:f}=Cu(),d=y.useCallback(b=>{Be(b.currentTarget,ve(b))&&s.current.isFocusWithin&&!Be(b.currentTarget,b.relatedTarget)&&(s.current.isFocusWithin=!1,f(),l&&l(b),i&&i(!1))},[l,i,s,f]),h=_3(d),p=y.useCallback(b=>{if(!Be(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",E=>{let L=ve(E);if(s.current.isFocusWithin&&!Be(T,L)){let M=new w.defaultView.FocusEvent("blur",{relatedTarget:L});F3(M,T);let N=e2(M);d(N)}},{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||sh()}),[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=sh(),u(w),h()},[h]);AT(w=>{i.current.isFocusVisible=w,h()},[l,s],{enabled:s,isTextInput:l});let{focusProps:b}=W3({isDisabled:r,onFocusChange:p}),{focusWithinProps:v}=Xo({isDisabled:!r,onFocusWithinChange:p});return{isFocused:s,isFocusVisible:f,focusProps:r?v:b}}let uh=!1,Lc=0;function _T(){uh=!0,setTimeout(()=>{uh=!1},500)}function Vb(e){e.pointerType==="touch"&&_T()}function GT(){let e=He(null);if(!(typeof e>"u"))return Lc===0&&typeof PointerEvent<"u"&&e.addEventListener("pointerup",Vb),Lc++,()=>{Lc--,!(Lc>0)&&typeof PointerEvent<"u"&&e.removeEventListener("pointerup",Vb)}}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(GT,[]);let{addGlobalListener:d,removeAllGlobalListeners:h}=Cu(),{hoverProps:p,triggerHoverEnd:b}=y.useMemo(()=>{let v=(T,E)=>{if(f.pointerType=E,i||E==="touch"||f.isHovered||!Be(T.currentTarget,ve(T)))return;f.isHovered=!0;let L=T.currentTarget;f.target=L,d(He(ve(T)),"pointerover",M=>{f.isHovered&&f.target&&!Be(f.target,ve(M))&&w(M,M.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:L,pointerType:E}),l&&l(!0),u(!0)},w=(T,E)=>{let L=f.target;f.pointerType="",f.target=null,!(E==="touch"||!f.isHovered||!L)&&(f.isHovered=!1,h(),r&&r({type:"hoverend",target:L,pointerType:E}),l&&l(!1),u(!1))},x={};return typeof PointerEvent<"u"&&(x.onPointerEnter=T=>{uh&&T.pointerType==="mouse"||v(T,T.pointerType)},x.onPointerLeave=T=>{!i&&Be(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 n2=y.createContext({}),e5=H3(function(t,l){[t,l]=yn(t,l,n2);let r=t,{isPending:i}=r,{buttonProps:s,isPressed:u}=FT(t,l);s=YT(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(),E=s["aria-labelledby"];i&&(E?E=`${E} ${T}`:s["aria-label"]&&(E=`${x} ${T}`));let L=y.useRef(i);y.useEffect(()=>{let N={"aria-labelledby":E||x};(!L.current&&d&&i||L.current&&d&&!i)&&jb(N,"assertive"),L.current=i},[i,d,E,x]);let M=mt(t,{global:!0});return delete M.onClick,F.createElement(ut.button,{...Ee(M,w,s,f,p),type:s.type==="submit"&&i?"button":s.type,id:x,ref:l,"aria-labelledby":E,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},F.createElement(yT.Provider,{value:{id:T}},w.children))}),qT=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function YT(e,t){if(t){for(const l in e)l.startsWith("on")&&!qT.test(l)&&(e[l]=void 0);e.href=void 0,e.target=void 0}return e}const XT=typeof document<"u"?F.useInsertionEffect??F.useLayoutEffect:()=>{};function Au(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;XT(()=>{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 t5=y.createContext({}),WT=y.forwardRef(function(t,l){[t,l]=yn(t,l,t5);let{children:r,level:i=3,className:s,...u}=t,f=ut[`h${i}`];return F.createElement(f,{...u,ref:l,className:s??"react-aria-Heading"},r)}),fh=e=>e?"true":void 0;function Mt(e,t){return cT(e,(l,r)=>{const i=typeof t=="function"?t(r)??"":t??"";return WE(i,l??"")??""})}const Je=(e,t,l)=>typeof e=="function"?e({...l??{},className:t}):t,ZT=e=>C.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:C.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"})}),QT=e=>C.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:C.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"})}),JT=e=>C.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:C.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"})}),eR=e=>C.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:C.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"})}),tR=({height:e=9,width:t=9,...l})=>C.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:C.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"})}),nR=e=>C.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:C.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"})}),ru=e=>C.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:C.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"})}),n5=e=>C.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:C.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"})}),l5=e=>C.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:C.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"})}),a5=e=>C.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:C.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"})}),Az=e=>C.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:C.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"})}),l2=y.createContext({}),Fb=({children:e,className:t,variant:l="default",...r})=>C.jsx(l2,{value:{variant:l},children:C.jsx(Et.div,{className:iT({variant:l,className:t}),"data-slot":"surface",...r,children:e})}),r5=y.createContext({placement:"bottom"}),Lz=y.forwardRef(function(t,l){[t,l]=yn(t,l,r5);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 F.createElement(ut.div,{...u,...s,style:{...i,...s.style},ref:l,"data-placement":r})}),lR=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function _b(e){return e.dataset.liveAnnouncer==="true"||e.dataset.reactAriaTopLayer!==void 0}let So=new WeakMap,Zt=[];function i5(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)&&lR,u=new Set(e),f=new Set,d=E=>s&&E instanceof l.HTMLElement?E.inert:E.getAttribute("aria-hidden")==="true",h=(E,L)=>{s&&E instanceof l.HTMLElement?E.inert=L:L?E.setAttribute("aria-hidden","true"):(E.removeAttribute("aria-hidden"),E instanceof l.HTMLElement&&(E.inert=!1))},p=new Set;if(nl()){let E=i.getRootNode();for(let L of e){let M=L.getRootNode();for(;Uh(M)&&M!==E;)p.add(M),M=M.host.getRootNode()}}let b=E=>{for(let A of E.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(A);let L=A=>{if(f.has(A)||u.has(A)||A.parentElement&&f.has(A.parentElement)&&A.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let B of u)if(Be(A,B))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},M=r3(He(E),E,NodeFilter.SHOW_ELEMENT,{acceptNode:L}),N=L(E);if(N===NodeFilter.FILTER_ACCEPT&&v(E),N!==NodeFilter.FILTER_REJECT){let A=M.nextNode();for(;A!=null;)v(A),A=M.nextNode()}},v=E=>{let L=So.get(E)??0;d(E)&&L===0||(L===0&&h(E,!0),f.add(E),So.set(E,L+1))};Zt.length&&Zt[Zt.length-1].disconnect(),b(i);let w=new MutationObserver(E=>{for(let L of E)if(L.type==="childList"){if(L.target.isConnected&&![...u,...f].some(M=>Be(M,L.target)))for(let M of L.addedNodes)(M instanceof HTMLElement||M instanceof SVGElement)&&_b(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 E of p){let L=new MutationObserver(M=>{for(let N of M)if(N.type==="childList"){if(N.target.isConnected&&![...u,...f].some(A=>Be(A,N.target)))for(let A of N.addedNodes)(A instanceof HTMLElement||A instanceof SVGElement)&&_b(A)?u.add(A):A instanceof Element&&b(A);if(nl()){for(let A of p)if(!A.isConnected){w.disconnect();break}}}});L.observe(E,{childList:!0,subtree:!0}),x.add(L)}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 E of x)E.disconnect();for(let E of f){let L=So.get(E);L!=null&&(L===1?(h(E,!1),So.delete(E)):So.set(E,L-1))}T===Zt[Zt.length-1]?(Zt.pop(),Zt.length&&Zt[Zt.length-1].observe()):Zt.splice(Zt.indexOf(T),1)}}function aR(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"},iu={top:"bottom",bottom:"top",left:"right",right:"left"},rR={top:"left",left:"top"},dh={top:"height",left:"width"},o5={width:"totalWidth",height:"totalHeight"},kc={};let iR=()=>typeof document<"u"?window.visualViewport:null;function Gb(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 oR(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function qb(e,t,l,r,i,s,u){let f=i.scroll[e]??0,d=r[dh[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 sR(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 Yb(e){if(kc[e])return kc[e];let[t,l]=e.split(" "),r=$n[t]||"right",i=rR[r];$n[l]||(l="center");let s=dh[r],u=dh[i];return kc[e]={placement:t,crossPlacement:l,axis:r,crossAxis:i,size:s,crossSize:u},kc[e]}function M0(e,t,l,r,i,s,u,f,d,h,p){let{placement:b,crossPlacement:v,axis:w,crossAxis:x,size:T,crossSize:E}=r,L={};L[x]=e[x]??0,v==="center"?L[x]+=((e[E]??0)-(l[E]??0))/2:v!==x&&(L[x]+=(e[E]??0)-(l[E]??0)),L[x]+=s;const M=e[x]-l[E]+d+h,N=e[x]+e[E]-d-h;if(L[x]=J0(L[x],M,N),b===w){let A=f?p[T]:p[o5[T]];L[iu[w]]=Math.floor(A-e[w]+i)}else L[w]=Math.floor(e[w]+e[T]+i);return L}function cR(e,t,l,r,i,s,u,f,d,h,p){let b=(e.top!=null?e.top:d[o5.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 Xb(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[iu[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[iu[h]]-i)}function uR(e,t,l,r,i,s,u,f,d,h,p,b,v,w,x,T,E,L){let M=Yb(e),{size:N,crossAxis:A,crossSize:B,placement:_,crossPlacement:$}=M,k=M0(t,f,l,M,p,b,h,v,x,T,d),K=p,U=Xb(f,h,t,i,s+p,M,d,E);if(u&&l[N]>U){let H=Yb(`${iu[_]} ${$}`),ie=M0(t,f,l,H,p,b,h,v,x,T,d);Xb(f,h,t,i,s+p,H,d,E)>U&&(M=H,k=ie,K=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 ne=qb(A,k[A],l[B],f,d,s,h);k[A]+=ne;let le=cR(k,f,h,v,i,s,l.height,q,d,E,L);w&&w<le&&(le=w),l.height=Math.min(l.height,le),k=M0(t,f,l,M,K,b,h,v,x,T,d),ne=qb(A,k[A],l[B],f,d,s,h),k[A]+=ne;let j={},W=t[A]-k[A]-i[$n[A]],z=W+.5*t[B];const O=x/2+T,oe=$n[A]==="left"?(i.left??0)+(i.right??0):(i.top??0)+(i.bottom??0),J=l[B]-oe-x/2-T,G=t[A]+x/2-(k[A]+i[$n[A]]),D=t[A]+t[B]-x/2-(k[A]+i[$n[A]]),Q=J0(z,G,D);j[A]=J0(Q,O,J),{placement:_,crossPlacement:$}=M,x?W=j[A]:$==="right"?W+=t[B]:$==="center"&&(W+=t[B]/2);let se=_==="left"||_==="top"?l[N]:0,ce={x:_==="top"||_==="bottom"?W:se,y:_==="left"||_==="right"?W:se};return{position:k,maxHeight:le,arrowOffsetLeft:j.left,arrowOffsetTop:j.top,placement:_,triggerAnchorPoint:ce}}function fR(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=iR(),T=r instanceof HTMLElement?dR(r):document.documentElement,E=T===document.documentElement;const L=window.getComputedStyle(T).position;let M=!!L&&L!=="static",N=E?Ko(l,!1,w):Wb(l,T,!1,w);if(!E){let{marginTop:q,marginLeft:ne}=window.getComputedStyle(l);N.top+=parseInt(q,10)||0,N.left+=parseInt(ne,10)||0}let A=Ko(r,!0),B=sR(r);A.width+=(B.left??0)+(B.right??0),A.height+=(B.top??0)+(B.bottom??0);let _=oR(i),$=Gb(f,x),k=Gb(T,x),K;if((f.tagName==="BODY"||f.tagName==="HTML")&&!E){let q=Lu(T,!1);K={top:-(q.top-$.top),left:-(q.left-$.left),width:0,height:0}}else(f.tagName==="BODY"||f.tagName==="HTML")&&E?K={top:0,left:0,width:0,height:0}:K=Wb(f,T,!1);let U=Be(f,T);return uR(t,N,A,_,B,s,u,$,k,K,d,h,M,p,b,v,U,x)}function Lu(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||Lu(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 Wb(e,t,l,r){let i=window.getComputedStyle(e),s;if(i.position==="fixed")s=r||Lu(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 dR(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!Zb(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Zb(t);)t=t.parentElement;return t||document.documentElement}function Zb(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 s5=new WeakMap;function hR(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&&!Be(u,t.current)||u instanceof HTMLInputElement||u instanceof HTMLTextAreaElement)return;let f=r||s5.get(t.current);f&&f()};return Uw(Fw(t.current),"scroll",i,!0)},[l,r,t])}let ht=typeof document<"u"?window.visualViewport:null;function mR(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:E,arrowBoundaryOffset:L=0,getTargetRect:M}=e,[N,A]=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,E,L,l],_=y.useRef(ht==null?void 0:ht.scale);y.useEffect(()=>{x&&(_.current=ht==null?void 0:ht.scale)},[x]);let $=y.useCallback(()=>{var j,W;if(w===!1||!x||!i.current||!r.current||!p||(ht==null?void 0:ht.scale)!==_.current)return;let U=null;if(u.current&&Oo(u.current)){let z=(j=et())==null?void 0:j.getBoundingClientRect(),O=u.current.getBoundingClientRect();U={type:"top",offset:((z==null?void 0:z.top)??0)-O.top},U.offset>O.height/2&&(U.type="bottom",U.offset=((z==null?void 0:z.bottom)??0)-O.bottom)}let q=i.current;!E&&i.current&&(q.style.top="0px",q.style.bottom="",q.style.maxHeight=(((W=window.visualViewport)==null?void 0:W.height)??window.innerHeight)+"px");let ne=fR({placement:gR(f,t),overlayNode:i.current,targetNode:r.current,scrollNode:u.current||i.current,padding:d,shouldFlip:h,boundaryElement:p,offset:b,crossOffset:v,maxHeight:E,arrowSize:l??(s!=null&&s.current?Lu(s.current,!0).width:0),arrowBoundaryOffset:L,targetRect:M==null?void 0:M(r.current)});if(!ne.position)return;q.style.top="",q.style.bottom="",q.style.left="",q.style.right="",Object.keys(ne.position).forEach(z=>q.style[z]=ne.position[z]+"px"),q.style.maxHeight=ne.maxHeight!=null?ne.maxHeight+"px":"";let le=et();if(U&&le&&u.current){let z=le.getBoundingClientRect(),O=u.current.getBoundingClientRect(),oe=z[U.type]-O[U.type];u.current.scrollTop+=oe-U.offset}A(ne)},B);Ne($,B),pR($),Q0({ref:i,onResize:$}),Q0({ref:r,onResize:$});let k=y.useRef(!1);Ne(()=>{let U,q=()=>{k.current=!0,clearTimeout(U),U=setTimeout(()=>{k.current=!1},500),$()},ne=()=>{k.current&&q()};return ht==null||ht.addEventListener("resize",q),ht==null||ht.addEventListener("scroll",ne),()=>{ht==null||ht.removeEventListener("resize",q),ht==null||ht.removeEventListener("scroll",ne)}},[$]);let K=y.useCallback(()=>{k.current||T==null||T()},[T,k]);return hR({triggerRef:r,isOpen:x,onClose:T&&K}),{overlayProps:{style:{position:N?"absolute":"fixed",top:N?void 0:0,left:N?void 0:0,zIndex:1e5,...N==null?void 0:N.position,maxHeight:(N==null?void 0:N.maxHeight)??"100vh"}},placement:(N==null?void 0:N.placement)??null,triggerAnchorPoint:(N==null?void 0:N.triggerAnchorPoint)??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:N==null?void 0:N.arrowOffsetLeft,top:N==null?void 0:N.arrowOffsetTop}},updatePosition:$}}function pR(e){Ne(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function gR(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const Qb=F.createContext(null),hh="react-aria-focus-scope-restore";let tt=null;function bR(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(Qb)||{},h=y.useMemo(()=>new ph({scopeRef:f}),[f]);Ne(()=>{let v=d||xt.root;if(xt.getTreeNode(v.scopeRef)&&tt&&!ou(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=E=>E.stopPropagation();for(;v&&v!==u.current;)w.push(v),v.addEventListener(hh,x),v=v.nextSibling;return f.current=w,()=>{for(let E of w)E.removeEventListener(hh,x)}},[t]),ER(f,r,l),SR(f,l),TR(f,r,l),CR(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||ou(f,tt))&&(!v||xt.getTreeNode(v))&&(tt=v),xt.removeTreeNode(f)},[f]);let p=y.useMemo(()=>vR(f),[]),b=y.useMemo(()=>({focusManager:p,parentNode:h}),[h,p]);return F.createElement(Qb.Provider,{value:b},F.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:s}),t,F.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:u}))}function vR(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 yR(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 xR(e){if(e.checked)return!0;const t=yR(e);return t.length>0&&!t.some(l=>l.checked)}function SR(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||ou(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&&mh(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)&&Zc()&&e3(),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&&mh(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 c5(e){return da(e)}function zn(e,t){return!e||!t?!1:t.some(l=>Be(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 wR(e){return da(e,tt)}function ou(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 u5(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 mh(e,t=!0){Un(u5(e,t))}function CR(e,t){const l=F.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&&mh(e.current)}l.current=!1},[e])}function ER(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:c5(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 Jb(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 TR(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||ou(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)||!Jb(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):c5(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&&Jb(e))){let h=xt.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let p=h.getTreeNode(e);for(;p;){if(p.nodeToRestore&&p.nodeToRestore.isConnected){ev(p.nodeToRestore);return}p=p.parent}for(p=h.getTreeNode(e);p;){if(p.scopeRef&&p.scopeRef.current&&xt.getTreeNode(p.scopeRef)){let b=u5(p.scopeRef.current,!0);ev(b);return}p=p.parent}}})}}},[e,t])}function ev(e){e.dispatchEvent(new CustomEvent(hh,{bubbles:!0,cancelable:!0}))&&Un(e)}function ll(e,t,l){let r=t!=null&&t.tabbable?qh:d3,i=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,s=He(i),u=r3(s,e||s,NodeFilter.SHOW_ELEMENT,{acceptNode(f){return Be(t==null?void 0:t.from,f)||t!=null&&t.tabbable&&f.tagName==="INPUT"&&f.getAttribute("type")==="radio"&&(!xR(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 a2{constructor(){this.fastMap=new Map,this.root=new ph({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 ph({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 a2;for(let r of this.traverse())t.addTreeNode(r.scopeRef,((l=r.parent)==null?void 0:l.scopeRef)??null,r.nodeToRestore);return t}}class ph{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 a2;function RR(e){let{ref:t,onInteractOutside:l,isDisabled:r,onInteractOutsideStart:i}=e,s=y.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),u=Vn(d=>{l&&tv(d,t)&&(i&&i(d),s.current.isPointerDown=!0)}),f=Vn(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&&tv(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 tv(e,t){if(e.button>0)return!1;let l=ve(e);if(l){const r=l.ownerDocument;if(!r||!Be(r.documentElement,l)||l.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}const Jn=[];function f5(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}=au({shortcuts:{Escape:()=>{if(!u){h();return}return!1}}});RR({ref:t,onInteractOutside:s&&i?b:void 0,onInteractOutsideStart:p});let{focusWithinProps:w}=Xo({isDisabled:!r,onBlurWithin:x=>{!x.relatedTarget||wR(x.relatedTarget)||(!f||f(x.relatedTarget))&&(l==null||l())}});return{overlayProps:{...v,...w},underlayProps:{}}}const No=typeof document<"u"&&window.visualViewport;let Nc=0,A0;function d5(e={}){let{isDisabled:t}=e;Ne(()=>{if(!t)return Nc++,Nc===1&&(ba()&&Ml()?A0=AR():A0=MR()),()=>{Nc--,Nc===0&&A0()}},[t])}function MR(){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 AR(){let e=Fc(document.documentElement,"overflow","hidden"),t,l=!1,r=p=>{let b=ve(p);t=jo(b)?b:c3(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=m3();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}),nv(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)&&nv(this,v)};let h=er(L0(document,"touchstart",r,{passive:!1,capture:!0}),L0(document,"touchmove",u,{passive:!1,capture:!0}),L0(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 L0(e,t,l,r){return e.addEventListener(t,l,r),()=>{e.removeEventListener(t,l,r)}}function nv(e,t){t||!No?lv(e):No.addEventListener("resize",()=>lv(e),{once:!0})}function lv(e){let t=document.scrollingElement||document.documentElement,l=e;for(;l&&l!==t;){let r=c3(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 LR(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}=f5({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}=mR({...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)});d5({isDisabled:s||!t.isOpen}),y.useEffect(()=>{if(t.isOpen&&r.current)return s?aR((i==null?void 0:i.current)??r.current):i5([(i==null?void 0:i.current)??r.current],{shouldUseInert:!0})},[s,t.isOpen,r,i]);let{focusWithinProps:C}=Xo(e);return{popoverProps:Ce(p,v,C),arrowProps:w,underlayProps:b,placement:x,triggerAnchorPoint:T}}var h5={};h5={dismiss:"تجاهل"};var m5={};m5={dismiss:"Отхвърляне"};var p5={};p5={dismiss:"Odstranit"};var g5={};g5={dismiss:"Luk"};var b5={};b5={dismiss:"Schließen"};var v5={};v5={dismiss:"Απόρριψη"};var y5={};y5={dismiss:"Dismiss"};var x5={};x5={dismiss:"Descartar"};var S5={};S5={dismiss:"Lõpeta"};var w5={};w5={dismiss:"Hylkää"};var E5={};E5={dismiss:"Rejeter"};var C5={};C5={dismiss:"התעלם"};var T5={};T5={dismiss:"Odbaci"};var R5={};R5={dismiss:"Elutasítás"};var M5={};M5={dismiss:"Ignora"};var A5={};A5={dismiss:"閉じる"};var L5={};L5={dismiss:"무시"};var k5={};k5={dismiss:"Atmesti"};var N5={};N5={dismiss:"Nerādīt"};var D5={};D5={dismiss:"Lukk"};var $5={};$5={dismiss:"Negeren"};var z5={};z5={dismiss:"Zignoruj"};var P5={};P5={dismiss:"Descartar"};var O5={};O5={dismiss:"Dispensar"};var j5={};j5={dismiss:"Revocare"};var I5={};I5={dismiss:"Пропустить"};var B5={};B5={dismiss:"Zrušiť"};var H5={};H5={dismiss:"Opusti"};var K5={};K5={dismiss:"Odbaci"};var U5={};U5={dismiss:"Avvisa"};var V5={};V5={dismiss:"Kapat"};var F5={};F5={dismiss:"Скасувати"};var _5={};_5={dismiss:"取消"};var G5={};G5={dismiss:"關閉"};var q5={};q5={"ar-AE":h5,"bg-BG":m5,"cs-CZ":p5,"da-DK":g5,"de-DE":b5,"el-GR":v5,"en-US":y5,"es-ES":x5,"et-EE":S5,"fi-FI":w5,"fr-FR":E5,"he-IL":C5,"hr-HR":T5,"hu-HU":R5,"it-IT":M5,"ja-JP":A5,"ko-KR":L5,"lt-LT":k5,"lv-LV":N5,"nb-NO":D5,"nl-NL":$5,"pl-PL":z5,"pt-BR":P5,"pt-PT":O5,"ro-RO":j5,"ru-RU":I5,"sk-SK":B5,"sl-SI":H5,"sr-SP":K5,"sv-SE":U5,"tr-TR":V5,"uk-UA":F5,"zh-CN":_5,"zh-TW":G5};const kR=Symbol.for("react-aria.i18n.locale"),NR=Symbol.for("react-aria.i18n.strings");let Qr;class ku{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=DR(t,this.strings,this.defaultLocale),this.strings[t]=l),l}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let l=window[kR];if(Qr===void 0){let i=window[NR];if(!i)return null;Qr={};for(let s in i)Qr[s]=new ku({[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 DR(e,t,l="en-US"){if(t[e])return t[e];let r=$R(e),i=zR(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 $R(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function zR(e){if(Intl.Locale)return new Intl.Locale(e).script}const av=new Map,rv=new Map;class PR{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=av.get(s);u||(u=new Intl.PluralRules(this.locale,{type:r}),av.set(s,u));let f=u.select(t);return i=l[f]||l.other,typeof i=="function"?i():i}number(t){let l=rv.get(this.locale);return l||(l=new Intl.NumberFormat(this.locale),rv.set(this.locale,l)),l.format(t)}select(t,l){let r=t[l]||t.other;return typeof r=="function"?r():r}}const iv=new WeakMap;function OR(e){let t=iv.get(e);return t||(t=new ku(e),iv.set(e,t)),t}function jR(e,t){return t&&ku.getGlobalDictionaryForPackage(t)||OR(e)}function r2(e,t){let{locale:l}=bi(),r=jR(e,t);return y.useMemo(()=>new PR(l,r),[l,r])}const ov={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 IR(e={}){let{style:t,isFocusable:l}=e,[r,i]=y.useState(!1),{focusWithinProps:s}=Xo({isDisabled:!l,onFocusWithinChange:f=>i(f)}),u=y.useMemo(()=>r?t:t?{...ov,...t}:ov,[r]);return{visuallyHiddenProps:{...s,style:u}}}function Y5(e){let{children:t,elementType:l="div",isFocusable:r,style:i,...s}=e,{visuallyHiddenProps:u}=IR(e);return F.createElement(l,Ce(s,u),t)}function BR(e){return e&&e.__esModule?e.default:e}function gh(e){let{onDismiss:t,...l}=e,r=r2(BR(q5),"@react-aria/overlays"),i=Vh(l,r.format("dismiss")),s=()=>{t&&t()};return F.createElement(Y5,null,F.createElement("button",{...i,tabIndex:-1,onClick:s,style:{width:1,height:1}}))}const HR=F.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)),Fh(i,s.ref),y.useEffect(()=>{r.current||(r.current=!0)},[]),F.createElement(Ho.Provider,{value:s},e)});function KR({children:e}){let t=y.useMemo(()=>({register:()=>{}}),[]);return F.createElement(Ho.Provider,{value:t},e)}const UR=y.createContext({});function X5(){return y.useContext(UR)??{}}const W5=F.createContext(null);function bh(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}=X5();if(!e.portalContainer&&f&&(l=f()),!l)return null;let d=e.children;return e.disableFocusManagement||(d=F.createElement(bR,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},d)),d=F.createElement(W5.Provider,{value:u},F.createElement(KR,null,F.createElement(Bo.Provider,{value:null},d))),I9.createPortal(d,l)}function Z5(){let e=y.useContext(W5),t=e==null?void 0:e.setContain;Ne(()=>{t==null||t(!0)},[t])}function i2(e){let[t,l]=Au(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 Q5=y.createContext(null),sv=y.createContext(null),Lz=y.forwardRef(function(t,l){[t,l]=yn(t,l,Q5);let r=y.useContext(yi),i=i2(t),s=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,u=Qc(l,s.isOpen),f=t.isExiting||!t.shouldSkipAnimation&&u||!1,d=hT(),{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})),F.createElement(F.Fragment,null,p)}return s&&!s.isOpen&&!f?null:F.createElement(VR,{...t,triggerRef:t.triggerRef,state:s,popoverRef:l,isExiting:f,dir:h})});function VR({state:e,isExiting:t,UNSTABLE_portalContainer:l,clearContexts:r,...i}){var q,ne;let s=y.useRef(null),u=y.useRef(null),f=y.useContext(sv),d=f&&i.trigger==="SubmenuTrigger",{popoverProps:h,underlayProps:p,arrowProps:b,placement:v,triggerAnchorPoint:w}=LR({...i,offset:i.offset??8,arrowRef:s,groupRef:d?f:u},e),x=i.popoverRef,T=Cu(x,!!v),C=i.isEntering||!i.shouldSkipAnimation&&T||!1,L=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",[N,A]=y.useState(i.trigger==="PreviewTrigger");Ne(()=>{x.current&&A(M&&!x.current.querySelector("[role=dialog]"))},[x,M]),y.useEffect(()=>{N&&i.trigger!=="PreviewTrigger"&&(i.trigger!=="SubmenuTrigger"||pa()!=="pointer")&&x.current&&!Oo(x.current)&&va(x.current)},[N,x,i.trigger]);let B=y.useMemo(()=>{let le=L.children;if(r)for(let j of r)le=F.createElement(j.Provider,{value:null},le);return le},[L.children,r]),[_,$]=y.useState(null),k=y.useCallback(()=>{i.triggerRef.current&&$(i.triggerRef.current.getBoundingClientRect().width+"px")},[i.triggerRef]);Ne(k,[k]),Q0({ref:(q=L.style)!=null&&q["--trigger-width"]?void 0:i.triggerRef,onResize:k});let K={...h.style,"--trigger-anchor-point":w?`${w.x}px ${w.y}px`:void 0,...L.style,"--trigger-width":((ne=L.style)==null?void 0:ne["--trigger-width"])||_},U=F.createElement(ut.div,{...Ce(mt(i,{global:!0}),h),...L,id:N?i.id:void 0,role:N?"dialog":void 0,tabIndex:N?-1:void 0,"aria-label":i["aria-label"],"aria-labelledby":i["aria-labelledby"],ref:x,slot:i.slot||void 0,style:K,dir:i.dir,"data-trigger":i.trigger,"data-placement":v,"data-entering":C||void 0,"data-exiting":t||void 0},!i.isNonModal&&F.createElement(gh,{onDismiss:e.close}),F.createElement(r5.Provider,{value:{...b,placement:v,ref:s}},B),F.createElement(gh,{onDismiss:e.close}));return d?F.createElement(bh,{...i,shouldContainFocus:N&&i.trigger!=="PreviewTrigger",isExiting:t,portalContainer:l??(f==null?void 0:f.current)??void 0},U):F.createElement(bh,{...i,shouldContainFocus:N&&i.trigger!=="PreviewTrigger",isExiting:t,portalContainer:l},!i.isNonModal&&e.isOpen&&F.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),F.createElement("div",{ref:u,style:{display:"contents"}},F.createElement(sv.Provider,{value:u},U)))}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 J5 extends vi{filter(t,l,r){let[i,s]=e4(t,l,this.firstChildKey,r),u=this.clone();return u.firstChildKey=i,u.lastChildKey=s,u}}const M2=class M2 extends vi{};M2.type="header";let cv=M2;const A2=class A2 extends vi{};A2.type="loader";let uv=A2;const L2=class L2 extends J5{filter(t,l,r){if(r(this.textValue,this)){let i=this.clone();return l.addDescendants(i,t),i}return null}};L2.type="item";let fv=L2;const k2=class k2 extends J5{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}};k2.type="section";let dv=k2;class FR{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]=e4(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 e4(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 t4{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 t4{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 _R extends t4{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 n4(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=GR(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 GR(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var Nu=Uy();const l4=y.createContext(!1),Uo=y.createContext(null);function qR(e){if(y.useContext(Uo))return e.content;let{collection:l,document:r}=ZR(e.createCollection);return F.createElement(F.Fragment,null,F.createElement(dT,null,F.createElement(Uo.Provider,{value:r},e.content)),F.createElement(YR,{render:e.children,collection:l}))}function YR({collection:e,render:t}){return t(e)}function XR(e,t,l){let r=Nl(),i=y.useRef(r);i.current=r;let s=y.useCallback(()=>i.current?l():t(),[t,l]);return Nu.useSyncExternalStore(e,s)}const WR=typeof F.useSyncExternalStore=="function"?F.useSyncExternalStore:XR;function ZR(e){let[t]=y.useState(()=>new _R((e==null?void 0:e())||new FR)),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:WR(l,r,i),document:t}}const vh=y.createContext(null);function QR(e){var l;return l=class extends vi{},l.type=e,l}function a4(e,t,l,r,i,s){typeof e=="string"&&(e=QR(e));let u=y.useCallback(d=>{d==null||d.setProps(t,l,e,r,s)},[t,l,r,s,e]),f=y.useContext(vh);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?F.createElement(vh.Provider,{value:d},i):null}return F.createElement(e.type,{ref:u},i)}function JR(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(l4)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(i,s)}return a4(e,i,s,"children"in i?i.children:null,null,d=>F.createElement(Bo.Provider,{value:u},F.createElement(l,{node:d})))});return r.displayName=t.name,r}function kz(e,t,l=r4){let r=({node:s})=>t(s.props,s.props.ref,s),i=y.forwardRef((s,u)=>{let f=l(s);return a4(e,s,u,null,f,d=>F.createElement(r,{node:d}))??F.createElement(F.Fragment,null)});return i.displayName=t.name,i}function r4(e){return n4({...e,addIdAndValue:!0})}const hv=y.createContext(null);function eM(e){let t=y.useContext(hv),l=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),r=e.idScope??(t==null?void 0:t.idScope),i=r4({...e,idScope:r,dependencies:l});return y.useContext(Uo)&&(i=F.createElement(tM,null,i)),t=y.useMemo(()=>({dependencies:l,idScope:r}),[r,...l]),F.createElement(hv.Provider,{value:t},i)}function tM({children:e}){let t=y.useContext(Uo),l=y.useMemo(()=>F.createElement(Uo.Provider,{value:null},F.createElement(l4.Provider,{value:!0},e)),[e]);return Nl()?F.createElement(vh.Provider,{value:t},l):al.createPortal(l,t)}const Nz=y.createContext(null),i4={CollectionRoot({collection:e,renderDropIndicator:t}){return mv(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:l}){return mv(e,t,l)}};function mv(e,t,l){return n4({items:t?e.getChildren(t.key):e,dependencies:[l],children(r){if(r.type==="content")return F.createElement(F.Fragment,null);let i=r.render(r);return!l||r.type!=="item"?i:F.createElement(F.Fragment,null,l({type:"item",key:r.key,dropPosition:"before"}),i,nM(e,r,l))}})}function nM(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 o4=y.createContext(i4);function lM(e){return y.useMemo(()=>e!=null?new Set([e]):null,[e])}function s4(e){let t=rM(He(e));t!==e&&(t&&aM(t,e),e&&c4(e,t))}function aM(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function c4(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function rM(e){let t=et(e),l=t==null?void 0:t.getAttribute("aria-activedescendant");return l&&e.getElementById(l)||t}const u4=y.createContext(null);function iM(e){let t=y.useRef({});return F.createElement(u4.Provider,{value:t},e.children)}const oM=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(u4);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],L=null;if(x&&i&&C){b("visible");let M=x.getAnimations(),N=C.style.map(([A,B])=>{let _=x.style[A];if(A==="translate"){let $=C.rect,k=x.getBoundingClientRect(),K=$.left-(k==null?void 0:k.left),U=$.top-(k==null?void 0:k.top);x.style.translate=`${K}px ${U}px`}else x.style[A]=B;return[A,_]});for(let A of x.getAnimations())M.includes(A)||A.cancel();L=requestAnimationFrame(()=>{L=null;for(let[A,B]of N)x.style[A]=B}),delete T[r]}else x&&i&&!C?(queueMicrotask(()=>al.flushSync(()=>b("entering"))),L=requestAnimationFrame(()=>{L=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(L!=null&&cancelAnimationFrame(L),x&&x.isConnected&&!x.hasAttribute("data-exiting")){let M=window.getComputedStyle(x);if(M.transitionProperty!=="none"){let N=M.transitionProperty.split(/\s*,\s*/);T[r]={rect:x.getBoundingClientRect(),style:N.map(A=>[A,M[A]])}}}}},[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:F.createElement(ut.div,{...h,...w,ref:l,"data-entering":p==="entering"||void 0,"data-exiting":p==="exiting"||void 0})}),f4=y.createContext({isSelected:!1}),sM=y.forwardRef(function(t,l){[t,l]=yn(t,l,f4);let{isSelected:r,...i}=t;return F.createElement(oM,{...i,ref:l,className:t.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:r})}),Du=y.createContext({}),d4=y.forwardRef(function(t,l){[t,l]=yn(t,l,Du);let{elementType:r="span",...i}=t,s=ut[r];return F.createElement(s,{className:"react-aria-Text",...i,ref:l})}),cM=500;function uM(e){let{isDisabled:t,pointerType:l,onLongPressStart:r,onLongPressEnd:i,onLongPress:s,threshold:u=cM,accessibilityDescription:f}=e;const d=y.useRef(void 0);let{addGlobalListener:h,removeAllGlobalListeners:p}=Eu(),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=lE(s&&!t?f:void 0);return{longPressProps:Ce(v,w)}}function fM(e,t,l){let{type:r}=e,{isOpen:i}=t;y.useEffect(()=>{l&&l.current&&s5.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 yh(e){return yw()?e.altKey:e.ctrlKey}function k0(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 h4=new WeakMap;function dM(e){let t=_n();return h4.set(e,t),t}function hM(e){return h4.get(e)}const pv=1e3;function mM(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=""},pv)}},u=f=>{let d=pM(f.key);if(!(!d||f.ctrlKey||f.metaKey||f.altKey||!Be(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=""},pv)}};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 pM(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function gM(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(),L=qo();const M=(ue,fe,Ee)=>{if(fe!=null){if(t.isLink(fe)&&x==="selection"&&h&&!yh(ue)){al.flushSync(()=>{t.setFocusedKey(fe,Ee)});let _e=k0(r,fe),Ve=t.getItemProps(fe);if(_e){L.open(_e,ue,Ve.href,Ve.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&&!yh(ue)){t.replaceSelection(fe);return}}return!1};let N=ue=>{var fe,Ee,_e;if(l.getKeyBelow){let Ve=t.focusedKey!=null?(fe=l.getKeyBelow)==null?void 0:fe.call(l,t.focusedKey):(Ee=l.getFirstKey)==null?void 0:Ee.call(l);if(Ve==null&&s&&(Ve=(_e=l.getFirstKey)==null?void 0:_e.call(l,t.focusedKey)),Ve!=null){M(ue,Ve);return}}return!1},A=ue=>{var fe,Ee,_e;if(l.getKeyAbove){let Ve=t.focusedKey!=null?(fe=l.getKeyAbove)==null?void 0:fe.call(l,t.focusedKey):(Ee=l.getLastKey)==null?void 0:Ee.call(l);if(Ve==null&&s&&(Ve=(_e=l.getLastKey)==null?void 0:_e.call(l,t.focusedKey)),Ve!=null){M(ue,Ve);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},_=ue=>{var fe,Ee,_e,Ve;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):(Ve=l.getLastKey)==null?void 0:Ve.call(l,t.focusedKey)),kt!=null){M(ue,kt,C==="rtl"?"first":"last");return}}return!1},$=ue=>{var fe,Ee,_e,Ve;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):(Ve=l.getFirstKey)==null?void 0:Ve.call(l,t.focusedKey)),kt!=null){M(ue,kt,C==="rtl"?"last":"first");return}}return!1},k=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},K=ue=>{if(l.getKeyPageBelow&&t.focusedKey!=null){let fe=l.getKeyPageBelow(t.focusedKey);if(fe!=null)return M(ue,fe)}return!1},U=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},ne=()=>{if(d==="clearSelection"&&!u&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},le=()=>{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&&!qh(_e))&&en(fe)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},j=()=>(!v&&r.current&&r.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),W=(ue,fe)=>({[Fn()?ue+"+Shift+Alt":ue+"+Shift+Control"]:fe,[ue+"+Shift"]:fe,[Fn()?ue+"+Alt":ue+"+Control"]:fe,[ue]:fe}),{keyboardProps:z}=au({shortcuts:{...W("ArrowDown",N),...W("ArrowUp",A),...W("ArrowLeft",_),...W("ArrowRight",$),...W("PageDown",K),...W("PageUp",U)},allowRepeats:!0}),{keyboardProps:O}=au({shortcuts:{...W("Home",B),...W("End",k),"Mod+A":q,Escape:ne,Tab:le,"Tab+Shift":j}}),oe=y.useRef({top:0,left:0});Sc(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,Ve,kt,Sn;if(t.isFocused){Be(ue.currentTarget,ve(ue))||t.setFocused(!1);return}if(!Be(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):(Ve=l.getLastKey)==null?void 0:Ve.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=k0(r,t.focusedKey);pt instanceof HTMLElement&&(!Oo(pt)&&!b&&en(pt),(fe==="keyboard"||T&&fe==="virtual")&&wb(pt,{containingElement:r.current}))}},G=ue=>{Be(ue.currentTarget,ue.relatedTarget)||t.setFocused(!1)},D=y.useRef(!1);Sc(r,bw,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;Sb(()=>{if(D.current)if(Q==null){let ue=et();s4(r.current),c4(ue,null),t.collection.size>0&&(D.current=!1)}else t.setFocusedKey(Q),D.current=!1},[Q,t.collection.size]),Sb(()=>{t.collection.size>0&&(D.current=!1)},[t.focusedKey]),Sc(r,gw,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 Ve of _e)if(t.canSelectItem(Ve)){Ee=Ve;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=k0(r,t.focusedKey);if(!(fe instanceof HTMLElement))return;(ue==="keyboard"||ce.current)&&(ie.current&&cancelAnimationFrame(ie.current),ie.current=requestAnimationFrame(()=>{w.current&&(Kc(w.current,fe),ue!=="virtual"&&wb(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)},[]),Sc(r,"react-aria-focus-scope-restore",ue=>{ue.preventDefault(),t.setFocused(!0)});let xe={...Ce(O,z),onFocus:J,onBlur:G,onMouseDown(ue){w.current===ve(ue)&&ue.preventDefault()}},{typeSelectProps:Ae}=mM({keyboardDelegate:l,selectionManager:t});p||(xe=Ce(Ae,xe));let de;b||(de=t.focusedKey==null?0:-1);let Lt=dM(t.collection);return{collectionProps:Ce(xe,{tabIndex:de,"data-collection":Lt})}}function bM(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=qo();t=_n(t);let w=H=>{if(H.pointerType==="keyboard"&&yh(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?s4(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",L=l.isLink(r)&&b!=="selection"&&b!=="none",M=!d&&l.canSelectItem(r)&&!T&&!C,N=(h||L)&&!d,A=N&&(l.selectionBehavior==="replace"?!M:!M||l.isEmpty),B=N&&M&&l.selectionBehavior==="replace",_=A||B,$=y.useRef(null),k=_&&M,K=y.useRef(!1),U=y.useRef(!1),q=l.getItemProps(r),ne=H=>{var ie;h&&(h(),(ie=i.current)==null||ie.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),L&&i.current&&v.open(i.current,H,q.href,q.routerOptions)},le={ref:i};s?(le.onPressStart=H=>{$.current=H.pointerType,K.current=k,H.pointerType==="keyboard"&&(!_||bv(H.key))&&w(H)},p?(le.onPressUp=A?void 0:H=>{H.pointerType==="mouse"&&M&&w(H)},le.onPress=A?ne:H=>{H.pointerType!=="keyboard"&&H.pointerType!=="mouse"&&M&&w(H)}):le.onPress=H=>{if(A||B&&H.pointerType!=="mouse"){if(H.pointerType==="keyboard"&&!gv(H.key))return;ne(H)}else H.pointerType!=="keyboard"&&M&&w(H)}):(le.onPressStart=H=>{$.current=H.pointerType,K.current=k,U.current=A,M&&(H.pointerType==="mouse"&&!A||H.pointerType==="keyboard"&&(!N||bv(H.key)))&&w(H)},le.onPress=H=>{(H.pointerType==="touch"||H.pointerType==="pen"||H.pointerType==="virtual"||H.pointerType==="keyboard"&&_&&gv(H.key)||H.pointerType==="mouse"&&U.current)&&(_?ne(H):M&&w(H))});let j=hM(l.collection);if(x["data-collection"]=j,x["data-key"]=r,le.preventFocusOnPress=u,u&&(le=Ce(le,{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]&&(le[H]=er(le[H],q[H]));let{pressProps:W,isPressed:z}=lr(le),O=B?H=>{$.current==="mouse"&&(H.stopPropagation(),H.preventDefault(),ne(H))}:void 0,{longPressProps:oe}=uM({isDisabled:!k,onLongPress(H){H.pointerType==="touch"&&(w(H),l.setSelectionBehavior("toggle"))}}),J=H=>{$.current==="touch"&&K.current&&H.preventDefault()},G=b!=="none"&&l.isLink(r)?H=>{Al.isOpening||H.preventDefault()}:void 0,D=Ce(x,M||A||u&&!d?W:{},k?oe:{},{onDoubleClick:O,onDragStartCapture:J,onClick:G,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 qh(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:_}}function gv(e){return e==="Enter"}function bv(e){return e===" "}function vM(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function yM(e){return xM(e,0)}function xM(e,t){if(t<0)return;let l=0;for(let r of e){if(l===t)return r;l++}}function Dz(e){let t;for(let l of e)t=l;return t}function N0(e,t,l){if(t.parentKey===l.parentKey)return t.index-l.index;let r=[...vv(e,t),t],i=[...vv(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 vv(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 SM(e){let t=i2(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 o2{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&&N0(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&&N0(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?N0(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=yM(vM(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 o2(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}class wM{build(t,l){return this.context=l,yv(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:l,items:r}=t;if(F.isValidElement(l)&&l.type===F.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=[];F.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(F.isValidElement(t.element)&&t.element.type===F.Fragment){let d=[];F.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(F.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:EM(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 <${D0(C.type)}> in <${D0((i==null?void 0:i.type)??"unknown parent type")}>. Only <${D0(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:yv(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 yv(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 EM(e,t){if(e&&t)return l=>e(t(l));if(e)return e;if(t)return t}function D0(e){return e[0].toUpperCase()+e.slice(1)}function CM(e,t,l){let r=y.useMemo(()=>new wM,[]),{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 TM(e,t){if(e.size!==t.size)return!1;for(let l of e)if(!t.has(l))return!1;return!0}function RM(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(()=>xv(e.selectedKeys),[e.selectedKeys]),v=y.useMemo(()=>xv(e.defaultSelectedKeys,new Kn),[e.defaultSelectedKeys]),[w,x]=Au(b,v,e.onSelectionChange),T=y.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[C,L]=y.useState(i);i==="replace"&&C==="toggle"&&typeof w=="object"&&w.size===0&&L("replace");let M=y.useRef(i);return y.useEffect(()=>{i!==M.current&&(L(i),M.current=i)},[i]),{selectionMode:t,disallowEmptySelection:l,selectionBehavior:C,setSelectionBehavior:L,get isFocused(){return u.current},setFocused(N){u.current=N,f(N)},get focusedKey(){return d.current},get childFocusStrategy(){return h.current},setFocusedKey(N,A="first"){d.current=N,h.current=A,p(N)},selectedKeys:w,setSelectedKeys(N){(r||!TM(N,w))&&x(N)},disabledKeys:T,disabledBehavior:s}}function xv(e,t){return e?e==="all"?"all":new Kn(e):t}const MM=y.createContext(null),N2=class N2 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}};N2.type="submenutrigger";let Sv=N2;function AM(e,t){let{role:l="dialog"}=e,r=W0();r=e["aria-label"]?void 0:r;let i=W0();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]),Z5(),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 m4=y.createContext(null),yi=y.createContext(null);function LM(e){let t=SM(e),l=y.useRef(null),{triggerProps:r,overlayProps:i}=fM({type:"dialog"},t,l);return r.id=_n(),i["aria-labelledby"]=r.id,F.createElement(sr,{values:[[yi,t],[MM,t],[m4,i],[Q5,{trigger:"DialogTrigger",triggerRef:l,id:i.id,"aria-labelledby":i["aria-labelledby"]}]]},F.createElement(HR,{...r,ref:l,isPressed:t.isOpen},e.children))}const kM=y.forwardRef(function(t,l){let r=t["aria-labelledby"];[t,l]=yn(t,l,m4);let{dialogProps:i,titleProps:s,contentProps:u}=AM({...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 F.createElement(ut.section,{...Ce(h,d,i),render:t.render,ref:l,slot:t.slot||void 0},F.createElement(sr,{values:[[t5,{slots:{[fi]:{},title:{...s,level:2}}}],[Du,{slots:{[fi]:{},description:u}}],[n2,{slots:{[fi]:{},close:{onPress:()=>f==null?void 0:f.close()}}}]]},d.children))});function NM(e,t,l){let{overlayProps:r,underlayProps:i}=f5({...e,isOpen:t.isOpen,onClose:t.close},l);return d5({isDisabled:!t.isOpen}),Z5(),y.useEffect(()=>{if(t.isOpen&&l.current)return i5([l.current],{shouldUseInert:!0})},[t.isOpen,l]),{modalProps:Ce(r),underlayProps:i}}const DM=y.createContext(null),s2=y.createContext(null),$M=y.forwardRef(function(t,l){if(y.useContext(s2))return F.createElement(wv,{...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 F.createElement(p4,{isDismissable:i,isKeyboardDismissDisabled:s,isOpen:u,defaultOpen:f,onOpenChange:d,isEntering:p,isExiting:b,UNSTABLE_portalContainer:v,shouldCloseOnInteractOutside:w},F.createElement(wv,{...x,modalRef:l},h))});function zM(e,t){[e,t]=yn(e,t,DM);let l=y.useContext(yi),r=i2(e),i=e.isOpen!=null||e.defaultOpen!=null||!l?r:l,s=bn(t),u=y.useRef(null),f=Qc(s,i.isOpen),d=Qc(u,i.isOpen),h=f||d||e.isExiting||!1,p=Nl();return!i.isOpen&&!h||p?null:F.createElement(PM,{...e,state:i,isExiting:h,overlayRef:s,modalRef:u})}const p4=y.forwardRef(zM);function PM({UNSTABLE_portalContainer:e,...t}){let l=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:s}=NM(t,r,l),u=Cu(t.overlayRef)||t.isEntering||!1,f=At({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:u,isExiting:t.isExiting,state:r}}),d=tE(),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 F.createElement(bh,{isExiting:t.isExiting,portalContainer:e},F.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},F.createElement(sr,{values:[[s2,{modalProps:i,modalRef:l,isExiting:t.isExiting,isDismissable:t.isDismissable}],[yi,r]]},f.children)))}function wv(e){let{modalProps:t,modalRef:l,isExiting:r,isDismissable:i}=y.useContext(s2),s=y.useContext(yi),u=y.useMemo(()=>ya(e.modalRef,l),[e.modalRef,l]),f=bn(u),d=Cu(f),h=At({...e,defaultClassName:"react-aria-Modal",values:{isEntering:d,isExiting:r,state:s}});return F.createElement(ut.div,{...Ce(mt(e,{global:!0}),t),...h,ref:f,"data-entering":d||void 0,"data-exiting":r||void 0},i&&F.createElement(gh,{onDismiss:s.close}),h.children)}const OM=F.forwardRef(({children:e,...t},l)=>{l=bn(l);let{pressProps:r}=lr({...t,ref:l}),{focusableProps:i}=Yo(t,l),s=F.Children.only(e);y.useEffect(()=>{},[l,t.isDisabled]);let u=parseInt(F.version,10)<19?s.ref:s.props.ref;return F.cloneElement(s,{...Ce(r,i,s.props),ref:ya(u,l)})}),Ev=({children:e,className:t,slot:l,style:r,variant:i,...s})=>{const u=y.useMemo(()=>nT({variant:i}),[i]);return E.jsx(e5,{"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(nR,{"data-slot":"close-button-icon"})})},g4=Object.assign(Ev,{Root:Ev}),jM=y.createContext({}),IM=y.forwardRef(function(t,l){[t,l]=yn(t,l,jM);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 F.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)}),BM=y.createContext(null),b4={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},v4={...b4,customError:!0,valid:!1},ai={isInvalid:!1,validationDetails:b4,validationErrors:[]},HM=y.createContext({}),su="__reactAriaFormValidationState";function y4(e){if(e[su]){let{realtimeValidation:t,displayValidation:l,updateValidation:r,resetValidation:i,commitValidation:s}=e[su];return{realtimeValidation:t,displayValidation:l,updateValidation:r,resetValidation:i,commitValidation:s}}return KM(e)}function KM(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:v4}:null,h=y.useMemo(()=>{if(!u||i==null)return null;let U=UM(u,i);return Cv(U)},[u,i]);s!=null&&s.validationDetails.valid&&(s=void 0);let p=y.useContext(HM),b=y.useMemo(()=>r?Array.isArray(r)?r.flatMap(U=>xh(p[U])):xh(p[r]):[],[p,r]),[v,w]=y.useState(p),[x,T]=y.useState(!1);p!==v&&(w(p),T(!1));let C=y.useMemo(()=>Cv(x?[]:b),[x,b]),L=y.useRef(ai),[M,N]=y.useState(ai),A=y.useRef(ai),B=()=>{if(!_)return;$(!1);let U=h||s||L.current;$0(U,A.current)||(A.current=U,N(U))},[_,$]=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(U){f==="aria"&&!$0(M,U)?N(U):L.current=U},resetValidation(){let U=ai;$0(U,A.current)||(A.current=U,N(U)),f==="native"&&$(!1),T(!0)},commitValidation(){f==="native"&&$(!0),T(!0)}}}function xh(e){return e?Array.isArray(e)?e:[e]:[]}function UM(e,t){if(typeof e=="function"){let l=e(t);if(l&&typeof l!="boolean")return xh(l)}return[]}function Cv(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:v4}:null}function $0(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 VM=y.createContext(null);class Tv{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 FM(e){let{filter:t,layoutDelegate:l}=e,r=RM(e),i=y.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),s=y.useCallback(h=>t?new Tv(t(h)):new Tv(h),[t]),u=y.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),f=CM(e,s,u),d=y.useMemo(()=>new o2(f,r,{layoutDelegate:l}),[f,r,l]);return x4(f,d),{collection:f,disabledKeys:i,selectionManager:d}}function $z(e,t){let l=y.useMemo(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(l);return x4(l,r),{collection:l,selectionManager:r,disabledKeys:e.disabledKeys}}function x4(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 _M(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(qM(l.current))}});let s=y.useRef(!1),u=Vn(()=>{s.current||t.resetValidation()}),f=Vn(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&&YM(p)===l.current&&(i?i():(v=l.current)==null||v.focus(),TT("keyboard")),h.preventDefault()}),d=Vn(()=>{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 GM(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 qM(e){return{isInvalid:!e.validity.valid,validationDetails:GM(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function YM(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 XM(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 L;const{scope:v,children:w,...x}=b,T=((L=v==null?void 0:v[e])==null?void 0:L[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,WM(i,...t)]}function WM(...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 ZM(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 Sh=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{};function Rv(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function QM(...e){return t=>{let l=!1;const r=e.map(i=>{const s=Rv(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():Rv(e[i],null)}}}}var JM=Symbol.for("react.lazy"),cu=m8[" use ".trim().toString()];function eA(e){return typeof e=="object"&&e!==null&&"then"in e}function S4(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===JM&&"_payload"in e&&eA(e._payload)}function tA(e){const t=nA(e),l=y.forwardRef((r,i)=>{let{children:s,...u}=r;S4(s)&&typeof cu=="function"&&(s=cu(s._payload));const f=y.Children.toArray(s),d=f.find(aA);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 nA(e){const t=y.forwardRef((l,r)=>{let{children:i,...s}=l;if(S4(i)&&typeof cu=="function"&&(i=cu(i._payload)),y.isValidElement(i)){const u=iA(i),f=rA(s,i.props);return i.type!==y.Fragment&&(f.ref=r?QM(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 lA=Symbol("radix.slottable");function aA(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===lA}function rA(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 iA(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 oA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],c2=oA.reduce((e,t)=>{const l=tA(`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 sA(){return Nu.useSyncExternalStore(cA,()=>!0,()=>!1)}function cA(){return()=>{}}var u2="Avatar",[uA]=XM(u2),[fA,w4]=uA(u2),E4=y.forwardRef((e,t)=>{const{__scopeAvatar:l,...r}=e,[i,s]=y.useState("idle");return E.jsx(fA,{scope:l,imageLoadingStatus:i,onImageLoadingStatusChange:s,children:E.jsx(c2.span,{...r,ref:t})})});E4.displayName=u2;var C4="AvatarImage",T4=y.forwardRef((e,t)=>{const{__scopeAvatar:l,src:r,onLoadingStatusChange:i=()=>{},...s}=e,u=w4(C4,l),f=dA(r,s),d=ZM(h=>{i(h),u.onImageLoadingStatusChange(h)});return Sh(()=>{f!=="idle"&&d(f)},[f,d]),f==="loaded"?E.jsx(c2.img,{...s,ref:t,src:r}):null});T4.displayName=C4;var R4="AvatarFallback",M4=y.forwardRef((e,t)=>{const{__scopeAvatar:l,delayMs:r,...i}=e,s=w4(R4,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(c2.span,{...i,ref:t}):null});M4.displayName=R4;function Mv(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function dA(e,{referrerPolicy:t,crossOrigin:l}){const r=sA(),i=y.useRef(null),s=r?(i.current||(i.current=new window.Image),i.current):null,[u,f]=y.useState(()=>Mv(s,e));return Sh(()=>{f(Mv(s,e))},[s,e]),Sh(()=>{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 hA=E4,mA=T4,pA=M4;const f2=y.createContext({}),Av=({children:e,className:t,color:l,size:r,variant:i,...s})=>{const u=F.useMemo(()=>QC({color:l,size:r,variant:i}),[l,r,i]);return E.jsx(f2,{value:{slots:u},children:E.jsx(hA,{className:u.base({className:t}),...s,children:e})})},gA=({className:e,crossOrigin:t,loading:l,onError:r,onLoad:i,sizes:s,src:u,srcSet:f,...d})=>{const{slots:h}=F.use(f2);return E.jsx(mA,{className:Je(h==null?void 0:h.image,e),crossOrigin:t,loading:l,sizes:s,src:u,srcSet:f,onError:r,onLoad:i,...d})},bA=({className:e,color:t,...l})=>{const{slots:r}=F.use(f2);return E.jsx(pA,{className:Je(r==null?void 0:r.fallback,e,{color:t}),"data-slot":"avatar-fallback",...l})},z0=Object.assign(Av,{Root:Av,Image:gA,Fallback:bA});function vA(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}=Yo(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=qo(),L=t3(e);return{isPressed:w,linkProps:Ce(x,L,{...T,...p,"aria-disabled":d||void 0,"aria-current":e["aria-current"],onClick:M=>{var N;(N=v.onClick)==null||N.call(v,M),Aw(M,C,e.href,e.routerOptions)}})}}const yA=y.createContext(null),xA=y.forwardRef(function(t,l){[t,l]=yn(t,l,yA);let r=t.href&&!t.isDisabled?"a":"span",{linkProps:i,isPressed:s}=vA({...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,F.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)}),A4=y.createContext({}),Lv=({children:e,className:t,...l})=>{const r=F.useMemo(()=>lT(),[]);return E.jsx(A4,{value:{slots:r},children:E.jsx(xA,{"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})})})},SA=({children:e,className:t,...l})=>{const{slots:r}=y.use(A4);return E.jsx(Ct.span,{className:Je(r==null?void 0:r.icon,t),"data-default-icon":fh(!e),"data-slot":"link-icon",...l,children:e??E.jsx(tR,{"data-slot":"link-default-icon"})})},Dc=Object.assign(Lv,{Root:Lv,Icon:SA}),wA=y.createContext({});function L4(e={}){let{isReadOnly:t}=e,[l,r]=Au(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 d2=y.createContext({}),k4="__button_group_child",zz=({children:e,className:t,fullWidth:l,isDisabled:r,orientation:i,size:s,variant:u,...f})=>{const d=Ru(wA),h=i??(d==null?void 0:d.orientation)??"horizontal",p=F.useMemo(()=>eT({fullWidth:l,orientation:h}),[l,h]),b=y.Children.map(e,v=>y.isValidElement(v)?F.cloneElement(v,{[k4]:!0}):v);return E.jsx(d2,{value:{slots:p,size:s,variant:u,isDisabled:r,fullWidth:l},children:E.jsx(IM,{className:Mt(t,p.base()),"data-slot":"button-group",isDisabled:r,...f,children:b})})},Pz=({className:e,...t})=>{const{slots:l}=y.use(d2);return E.jsx(Ct.span,{"aria-hidden":"true",className:Je(l==null?void 0:l.separator,e),"data-slot":"button-group-separator",...t})},kv=({children:e,className:t,fullWidth:l,isDisabled:r,isIconOnly:i,size:s,slot:u,style:f,variant:d,[k4]:h,...p})=>{const b=y.use(d2),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),L=JC({fullWidth:C,isIconOnly:i,size:w,variant:x});return E.jsx(e5,{className:Mt(t,L),"data-slot":"button",isDisabled:T,slot:u,style:f,...p,children:M=>typeof e=="function"?e(M):e})},nn=Object.assign(kv,{Root:kv}),EA=new WeakMap;function CA(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 Nv(e=!0){let t=_n(),[l,r]=CA(e);return{id:r?t:void 0,ref:l}}function TA(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:L,onPressUp:M,onClick:N}=e,A=y4({...e,value:t.isSelected}),{isInvalid:B,validationErrors:_,validationDetails:$}=A.displayValidation;_M(e,A,l);let k=J=>{J.stopPropagation(),t.setSelected(ve(J).checked)},{pressProps:K,isPressed:U}=lr({onPressStart:x,onPressEnd:T,onPressChange:C,onPress:L,onPressUp:M,onClick:N,isDisabled:r}),[q,ne]=y.useState(!1),{pressProps:le}=lr({onPressStart(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}x==null||x(J),C==null||C(!0),ne(!0)},onPressEnd(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}T==null||T(J),C==null||C(!1),ne(!1)},onPressUp(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}M==null||M(J)},onClick:N,onPress(J){var Q;if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}L==null||L(J),t.toggle(),(Q=l.current)==null||Q.focus();let{[su]:G}=e,{commitValidation:D}=G||A;D()},isDisabled:r||i}),{focusableProps:j}=Yo(e,l),W=Ce(K,j),z=mt(e,{labelable:!0});rE(l,t.defaultSelected,t.setSelected);let O=Nv(),oe=Nv();return{labelProps:Ce(le,{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:k,disabled:r,...s==null?{}:{value:s},name:u,form:f,type:"checkbox",...W}),descriptionProps:O,errorMessageProps:oe,isSelected:t.isSelected,isPressed:U||q,isDisabled:r,isReadOnly:i,isInvalid:B||e.validationState==="invalid",validationErrors:_,validationDetails:$}}function N4(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}=TA(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 RA(e,t,l){const r=L4({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}=EA.get(t);d=e.validationBehavior??d;let{realtimeValidation:h}=y4({...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=N4({...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,[su]:{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 Oz=y.createContext(null),MA=y.createContext(null),D4=y.createContext(null),$4=y.createContext(null),AA=y.forwardRef(function(t,l){let{inputRef:r=null,...i}=t;[t,l]=yn(i,l,MA);let s=y.useContext(D4),[u,f]=LA(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}}),L=mt(t,{global:!0});return delete L.id,delete L.onClick,F.createElement(ut.div,{...Ce(L,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},F.createElement(sr,{values:[[$4,{...u,inputRef:f,defaultClassName:"react-aria-CheckboxButton",isIndeterminate:t.isIndeterminate,isRequired:t.isRequired}],[Du,{slots:{description:d,errorMessage:h}}],[BM,s?null:{isInvalid:w,validationDetails:x,validationErrors:T}]]},C.children))});function LA(e,t){let{validationBehavior:l}=Ru(VM)||{},r=e.validationBehavior??l??"native",i=y.useContext(D4),s=bn(y.useMemo(()=>ya(t,e.inputRef!==void 0?e.inputRef:null),[t,e.inputRef])),u={...uT(e),children:typeof e.children=="function"?!0:e.children,value:e.value,validationBehavior:r};return[i?RA(u,i,s):N4(u,L4(e),s),s]}const kA=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($4),{isFocused:x,isFocusVisible:T,focusProps:C}=Dl(),L=u||f,{hoverProps:M,isHovered:N}=Sa({...t,isDisabled:L}),A=At({...t,defaultClassName:b,values:{isSelected:s,isIndeterminate:v||!1,isPressed:d,isHovered:N,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,F.createElement(ut.label,{...Ce(B,r,M,A),ref:l,slot:t.slot||void 0,"data-selected":s||void 0,"data-indeterminate":v||void 0,"data-pressed":d||void 0,"data-hovered":N||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},F.createElement(Y5,{elementType:"span"},F.createElement("input",{...Ce(i,C),ref:p})),A.children)}),NA=y.createContext({}),$u=y.createContext({}),wh=({children:e,className:t,variant:l,...r})=>{const i=y.use(NA),s=l??i.variant,u=F.useMemo(()=>tT({variant:s}),[s]);return E.jsx(AA,{"data-slot":"checkbox",...r,className:Mt(t,u.base()),children:f=>E.jsx($u,{value:{slots:u,state:f},children:typeof e=="function"?e(f):e})})};wh.displayName="HeroUI.Checkbox";const z4=({children:e,className:t,...l})=>{const{slots:r}=y.use($u);return E.jsx(kA,{"data-slot":"checkbox-content",...l,className:Mt(t,r==null?void 0:r.content()),children:e})};z4.displayName="HeroUI.Checkbox.Content";const P4=({children:e,className:t,...l})=>{const{slots:r}=y.use($u);return E.jsx(Ct.span,{className:Je(r==null?void 0:r.control,t),"data-slot":"checkbox-control",...l,children:e})};P4.displayName="HeroUI.Checkbox.Control";const O4=({children:e,className:t,...l})=>{const{slots:r,state:i}=y.use($u),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})};O4.displayName="HeroUI.Checkbox.Indicator";const ha=Object.assign(wh,{Root:wh,Content:z4,Control:P4,Indicator:O4}),ri={blue:"\x1B[34m",green:"\x1B[32m",magenta:"\x1B[35m",red:"\x1B[31m",reset:"\x1B[0m",yellow:"\x1B[33m"},DA={debug:ri.magenta,error:ri.red,info:ri.blue,success:ri.green,warn:ri.yellow},$A={debug:"🔍",error:"❌",info:"ℹ️",success:"✅",warn:"⚠️"};class zA{constructor(t={}){this.enabled=t.enabled??!0,this.prefix=t.prefix??"HeroUI"}formatMessage(t,l){const r=DA[t],i=$A[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 zA({prefix:"HeroUI"});const PA=e=>{const t=`$$heroui.collection.${e}`,l=y.createContext(void 0),r=(d,h)=>y.Children.map(d,p=>y.isValidElement(p)?F.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,...L}=T;if(!x)return E.jsx(d,{...L,ref:w,children:C});if(h)return h({...L,children:C},x,w);const{className:M,render:N,...A}=x;return E.jsx(d,{...L,ref:w,children:N?N({children:C,className:M,...A}):E.jsx("div",{className:M,"data-slot":`${e}-container`,...A,children:C})})});return p.displayName=`HeroUI.withCollectionSlot(${d.displayName||d.name||e})`,p},Context:l}},OA=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,L=f.current;L&&L.hasScrollBefore===T&&L.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])},jA=globalThis!=null&&globalThis.document?y.useLayoutEffect:y.useEffect,Eh=({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);OA({containerRef:v,isEnabled:r,offset:i,onVisibilityChange:s,orientation:u,visibility:p}),jA(()=>{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(()=>aT({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})};Eh.displayName="HeroUI.ScrollShadow";const IA=Object.assign(Eh,{Root:Eh}),BA=({...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)"})]})]})},Dv=({className:e,color:t,size:l,...r})=>E.jsx(Ct.span,{"aria-label":"Loading","data-slot":"spinner",role:"status",...r,className:rT({className:e,color:t,size:l}),children:E.jsx(BA,{"aria-hidden":!0})}),HA=Object.assign(Dv,{Root:Dv}),j4=Object.assign(Fb,{Root:Fb}),I4=12,B4=3,H4=Number.MAX_SAFE_INTEGER,K4=.05,KA=460,U4=4e3;var V4={};V4={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var F4={};F4={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var _4={};_4={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 G4={};G4={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var q4={};q4={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var Y4={};Y4={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var X4={};X4={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var W4={};W4={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var Z4={};Z4={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var Q4={};Q4={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var J4={};J4={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};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:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var nx={};nx={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 lx={};lx={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var ax={};ax={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var rx={};rx={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var ix={};ix={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 ox={};ox={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 sx={};sx={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var cx={};cx={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var ux={};ux={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 fx={};fx={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var dx={};dx={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var hx={};hx={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var mx={};mx={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var px={};px={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 gx={};gx={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 bx={};bx={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var vx={};vx={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var yx={};yx={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var xx={};xx={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var Sx={};Sx={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var wx={};wx={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var h2={};h2={"ar-AE":V4,"bg-BG":F4,"cs-CZ":_4,"da-DK":G4,"de-DE":q4,"el-GR":Y4,"en-US":X4,"es-ES":W4,"et-EE":Z4,"fi-FI":Q4,"fr-FR":J4,"he-IL":ex,"hr-HR":tx,"hu-HU":nx,"it-IT":lx,"ja-JP":ax,"ko-KR":rx,"lt-LT":ix,"lv-LV":ox,"nb-NO":sx,"nl-NL":cx,"pl-PL":ux,"pt-BR":fx,"pt-PT":dx,"ro-RO":hx,"ru-RU":mx,"sk-SK":px,"sl-SI":gx,"sr-SP":bx,"sv-SE":vx,"tr-TR":yx,"uk-UA":xx,"zh-CN":Sx,"zh-TW":wx};function UA(e){return e&&e.__esModule?e.default:e}function VA(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=W0(),d=r2(UA(h2),"@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 Ex=1,P0=Symbol.for("react-aria-landmark-manager");function FA(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function $v(){if(typeof document>"u")return null;let e=document[P0];return e&&e.version>=Ex?e:(document[P0]=new GA,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[P0])}function _A(){return Nu.useSyncExternalStore(FA,$v,$v)}class GA{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=Ex,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(Be(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 qA(e,t){const{role:l,"aria-label":r,"aria-labelledby":i,focus:s}=e;let u=_A(),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 YA(e){return e&&e.__esModule?e.default:e}function XA(e,t,l){let r=r2(YA(h2),"@react-aria/toast"),{landmarkProps:i}=qA({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((L,M)=>L.key===p.current[M].key)){p.current=t.visibleToasts;return}let x=p.current.map((L,M)=>({...L,i:M,isRemoved:!t.visibleToasts.some(N=>L.key===N.key)})),T=x.findIndex(L=>L.i===b.current&&L.isRemoved);if(T>-1)if(pa()==="pointer"&&((C=v.current)!=null&&C.isConnected))en(v.current);else{let L=0,M,N;for(;L<=T;)x[L].isRemoved||(N=Math.max(0,L-1)),L++;for(;L<x.length;){if(!x[L].isRemoved){M=L-1;break}L++}N===void 0&&M===void 0&&(N=0),N>=0&&N<h.current.length?en(h.current[N]):M>=0&&M<h.current.length&&en(h.current[M])}p.current=t.visibleToasts},[t.visibleToasts,l]);let v=y.useRef(null),{focusWithinProps:w}=Xo({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 WA(e){let t=y.useCallback(i=>e.subscribe(i),[e]),l=y.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:Nu.useSyncExternalStore(t,l,l),add:(i,s)=>e.add(i,s),close:i=>e.close(i),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class ZA{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 QA(()=>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 QA{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 zu=y.createContext(null),JA=y.forwardRef(function(t,l){let r=Nl(),i=WA(t.queue),s=bn(l),{regionProps:u}=XA(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}=X5();r||(x=document.body,T&&(x=T()));let C=mt(t,{global:!0}),L=F.createElement(zu.Provider,{value:i},F.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"?F.createElement(eL,{...t,render:void 0,className:void 0,style:{display:"contents"}},t.children):t.children));return i.visibleToasts.length>0&&x?al.createPortal(L,x):null}),eL=y.forwardRef(function(t,l){let r=y.useContext(zu),{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 F.createElement(ut.ol,{...i,...u,ref:l},r.visibleToasts.map(f=>F.createElement("li",{key:f.key,style:{display:"contents"}},t.children({toast:f}))))}),tL=y.forwardRef(function(t,l){let r=y.useContext(zu),i=bn(l),{toastProps:s,contentProps:u,titleProps:f,descriptionProps:d,closeButtonProps:h}=VA(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 F.createElement(ut.div,{...Ce(x,w,s,p),ref:i,"data-focused":b||void 0,"data-focus-visible":v||void 0},F.createElement(sr,{values:[[Cx,u],[Du,{slots:{[fi]:{},title:f,description:d}}],[n2,{slots:{[fi]:{},close:h}}]]},w.children))}),Cx=y.createContext({}),nL=y.forwardRef(function(t,l){return[t,l]=yn(t,l,Cx),F.createElement(ut.div,{render:t.render,className:"react-aria-ToastContent",...t,ref:l},t.children)});class Wo{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 ZA({maxVisibleToasts:H4,wrapUpdate:(t==null?void 0:t.wrapUpdate)??r})}add(t,l){const r=(l==null?void 0:l.timeout)!==void 0?l.timeout:U4;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 lL(e){const t=(l,r)=>{const i=(r==null?void 0:r.timeout)!==void 0?r.timeout:U4;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 aL=new Wo({maxVisibleToasts:H4}),Tx=lL(aL),rL=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}},Rx=typeof window<"u"?y.useLayoutEffect:y.useEffect,iL=typeof window>"u";function oL(e,{defaultValue:t=!1,initializeWithValue:l=!0}={}){const r=f=>iL?t:window.matchMedia(f).matches,[i,s]=y.useState(()=>l?r(e):t);function u(){s(r(e))}return Rx(()=>{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({}),m2=({children:e,className:t,placement:l,scaleFactor:r=K4,toast:i,variant:s,...u})=>{const{gap:f=I4,heightsByKey:d,maxVisibleToasts:h=B4,onToastHeightChange:p,onToastHeightRemove:b,placement:v,scaleFactor:w,slots:x}=y.use(wa),T=l??v,C=r??w,M=y.use(zu).visibleToasts,N=M.indexOf(i),A=N<=0,B=T==null?void 0:T.startsWith("bottom"),_=N>=h,$=i==null?void 0:i.key,k=y.useRef(null),{height:K}=rL(k);y.useEffect(()=>{$&&typeof K=="number"&&(p==null||p($,K))},[$,K,p]),y.useEffect(()=>{if($)return()=>{b==null||b($)}},[$,b]),y.useLayoutEffect(()=>{const q=k.current;q&&(q.tabIndex=A?0:-1)},[A]);const U=y.useMemo(()=>{var z;const q=(z=M[0])==null?void 0:z.key,ne=(q?d==null?void 0:d[q]:void 0)??K??0,le=N*f,j=(B?-1:1)*le;return{scale:`${1-N*C}`,translate:`0 ${j}px 0`,viewTransitionName:`toast-${String(i.key).replace(/[^a-zA-Z0-9]/g,"-")}`,zIndex:M.length-N,...ne?{"--front-height":`${ne}px`}:null,opacity:_?0:1,pointerEvents:_?"none":"auto",...u.style}},[C,f,d,N,B,A,_,u.style,i==null?void 0:i.key,K,M]);return E.jsx(tL,{ref:k,"aria-hidden":_,className:Mt(t,x==null?void 0:x.toast({variant:s})),"data-frontmost":fh(A),"data-hidden":fh(_),"data-index":N,"data-slot":"toast",style:U,toast:i,...u,children:e})};m2.displayName="HeroUI.Toast";const Mx=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return E.jsx(nL,{className:Je(r==null?void 0:r.content,t),"data-slot":"toast-content",...l,children:e})},uu=({children:e,className:t,variant:l,...r})=>{const{slots:i}=y.use(wa),s=y.useCallback(()=>{switch(l){case"accent":return E.jsx(ru,{"data-slot":"toast-default-icon"});case"success":return E.jsx(a5,{"data-slot":"toast-default-icon"});case"warning":return E.jsx(n5,{"data-slot":"toast-default-icon"});case"danger":return E.jsx(l5,{"data-slot":"toast-default-icon"});default:return E.jsx(ru,{"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()})};uu.displayName="HeroUI.ToastIndicator";const p2=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return E.jsx(d4,{className:Je(r==null?void 0:r.title,t),"data-slot":"toast-title",slot:"title",...l,children:e})};p2.displayName="HeroUI.ToastTitle";const g2=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return E.jsx(d4,{className:Je(r==null?void 0:r.description,t),"data-slot":"toast-description",slot:"description",...l,children:e})};g2.displayName="HeroUI.ToastDescription";const b2=({className:e,...t})=>{const{slots:l}=y.use(wa);return E.jsx(g4,{className:Mt(e,l==null?void 0:l.close()),"data-slot":"toast-close",slot:"close",...t})};b2.displayName="HeroUI.ToastCloseButton";const fu=({children:e,className:t,...l})=>{var i;const{slots:r}=y.use(wa);return E.jsx(nn,{className:Mt(t,(i=r==null?void 0:r.action)==null?void 0:i.call(r)),"data-slot":"toast-action-button",...l,children:e})};fu.displayName="HeroUI.ToastActionButton";const Ax=({children:e,className:t,gap:l=I4,maxVisibleToasts:r,placement:i="bottom",queue:s,scaleFactor:u=K4,width:f=KA,...d})=>{const h=y.useMemo(()=>sT({placement:i}),[i]),p=oL("(max-width: 768px)"),[b,v]=F.useState({}),w=y.useMemo(()=>s?s.getQueue():Tx.getQueue(),[s]),x=y.useMemo(()=>{const M=s&&"maxVisibleToasts"in s?s.maxVisibleToasts:void 0;return r??M??B4},[r,s]),T=y.useCallback((M,N)=>{v(A=>A[M]===N?A:{...A,[M]:N})},[]),C=y.useCallback(M=>{v(N=>{if(!(M in N))return N;const A={...N};return delete A[M],A})},[]),L=y.useCallback(M=>{const{actionProps:N,description:A,indicator:B,isLoading:_,title:$,variant:k}=M.toast.content??{};return E.jsxs(m2,{placement:i,scaleFactor:u,toast:M.toast,variant:k,children:[B===null?null:_?E.jsx(uu,{variant:k,children:E.jsx(HA,{color:"current",size:"sm"})}):E.jsx(uu,{variant:k,children:B}),E.jsxs(Mx,{children:[!!$&&E.jsx(p2,{children:$}),!!A&&E.jsx(g2,{children:A}),p&&(N!=null&&N.children)?E.jsx(fu,{...N,children:N.children}):null]}),!p&&(N!=null&&N.children)?E.jsx(fu,{...N,children:N.children}):null,E.jsx(b2,{})]})},[p,i,u]);return E.jsx(JA,{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 N=M.toast.content,A={...M,isLoading:(N==null?void 0:N.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"?L(M):typeof e=="function"?e(A):e})}})};Ax.displayName="HeroUI.ToastProvider";const v2=Object.assign(m2,{Provider:Ax,Content:Mx,Indicator:uu,Title:p2,Description:g2,ActionButton:fu,CloseButton:b2,Queue:Wo,toast:Tx}),Lx=new WeakMap;function du(e,t,l){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${Lx.get(e)}-${l}-${t}`):""}function sL(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}=bM({selectionManager:u,key:r,ref:l,isDisabled:h,shouldSelectOnPressUp:s??(p==null?void 0:p.props.href)!=null,linkBehavior:"selection"}),w=du(t,r,"tab"),x=du(t,r,"tabpanel"),{tabIndex:T}=b,C=mt(p==null?void 0:p.props,{labelable:!0});delete C.id;let L=t3(p==null?void 0:p.props),{focusableProps:M}=Yo({...p==null?void 0:p.props,isDisabled:h},l);return{tabProps:Ce(C,M,L,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 cL(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 uL(e,t,l){let r=cL(l)?void 0:0;const i=du(t,e.id??(t==null?void 0:t.selectedKey),"tabpanel"),s=Vh({...e,id:i,"aria-labelledby":du(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 fL{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 dL(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 fL(s,d,r,f),[s,f,r,d]),{collectionProps:p}=gM({ref:l,selectionManager:u,keyboardDelegate:h,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:l,linkBehavior:"selection"}),b=_n();Lx.set(t,b);let v=Vh({...e,id:b});return{tabListProps:{...Ce(p,v),role:"tablist","aria-orientation":r,tabIndex:void 0}}}function hL(e){let[t,l]=Au(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=y.useMemo(()=>t!=null?[t]:[],[t]),{collection:i,disabledKeys:s,selectionManager:u}=FM({...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 mL(e){let t=hL({...e,onSelectionChange:e.onSelectionChange?u=>{var f;u!=null&&((f=e.onSelectionChange)==null||f.call(e,u))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??zv(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=zv(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 zv(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 Pu=y.createContext(null),ar=y.createContext(null),pL=y.forwardRef(function(t,l){[t,l]=yn(t,l,Pu);let{children:r,orientation:i="horizontal"}=t;return r=y.useMemo(()=>typeof r=="function"?r({orientation:i,defaultChildren:null}):r,[r,i]),F.createElement(qR,{content:r},s=>F.createElement(gL,{props:t,collection:s,tabsRef:l}))});function gL({props:e,tabsRef:t,collection:l}){let{orientation:r="horizontal"}=e,i=mL({...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 F.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},F.createElement(sr,{values:[[Pu,e],[ar,i]]},h.children))}const Pv=y.forwardRef(function(t,l){return y.useContext(ar)?F.createElement(bL,{props:t,forwardedRef:l}):F.createElement(eM,t)});function bL({props:e,forwardedRef:t}){let l=y.useContext(ar),{CollectionRoot:r}=y.useContext(o4),{orientation:i="horizontal",keyboardActivation:s="automatic"}=Ru(Pu),u=bn(t),{tabListProps:f}=dL({...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,F.createElement(ut.div,{...Ce(h,d,f),ref:u,"data-orientation":i||void 0},F.createElement(iM,null,F.createElement(r,{collection:l.collection,persistedKeys:lM(l.selectionManager.focusedKey)})))}const D2=class D2 extends vi{};D2.type="item";let Ch=D2;const vL=JR(Ch,(e,t,l)=>{let r=y.useContext(ar),i=bn(t),{tabProps:s,isSelected:u,isDisabled:f,isPressed:d}=sL({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,F.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},F.createElement(f4.Provider,{value:{isSelected:u}},x.children))}),yL=H3(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=Qc(i,s);return!s&&!t.shouldForceMount&&!d?null:F.createElement(xL,{...t,tabPanelRef:i,isInitiallySelected:u||!1,isExiting:d})});function xL(e){let t=y.useContext(ar),{id:l,tabPanelRef:r,isInitiallySelected:i,isExiting:s,...u}=e,{tabPanelProps:f}=uL(e,t,r),{focusProps:d,isFocused:h,isFocusVisible:p}=Dl(),b=t.selectedKey===e.id,v=Cu(r)&&!i,w=At({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:h,isFocusVisible:p,isInert:Eb(!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 F.createElement(ut.div,{...T,ref:r,"data-focused":h||void 0,"data-focus-visible":p||void 0,inert:Eb(!b||e.inert),"data-inert":b?void 0:"true","data-entering":v||void 0,"data-exiting":s||void 0},F.createElement(sr,{values:[[Pu,null],[ar,null]]},F.createElement(o4.Provider,{value:i4},w.children)))}const xi=y.createContext({}),kx=PA("tabs.listContainer"),Ov=({children:e,className:t,orientation:l="horizontal",variant:r,...i})=>{const s=F.useMemo(()=>oT({variant:r}),[r]);return E.jsx(xi,{value:{orientation:l,slots:s},children:E.jsx(pL,{...i,className:Mt(t,s.base()),"data-slot":"tabs",orientation:l,children:e})})},SL=({children:e,className:t,render:l,...r})=>E.jsx(kx.Injector,{...r,className:t,render:l,children:e}),wL=({children:e,className:t,...l})=>{const{orientation:r="horizontal",slots:i}=y.use(xi),s=y.useRef(null),u=r==="vertical",[f,d]=kx.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,L=Math.max(0,C-T),M=!u&&getComputedStyle(x).direction==="rtl",N=w*T*.8*(M?-1:1),A=u?x.scrollTop:x.scrollLeft,B=Math.min(M?0:L,Math.max(M?-L:0,A+N));B!==A&&x.scrollTo({behavior:"smooth",[u?"top":"left"]:B})},[u]);if(!f)return E.jsx(Pv,{...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(Pv,{...d,className:Mt(t,i==null?void 0:i.tabList()),"data-slot":"tabs-list",render:w=>{const{children:x,className:T,ref:C,...L}=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(IA,{ref:s,hideScrollBar:!0,className:Je(i==null?void 0:i.scroller),orientation:r,size:64,children:E.jsx("div",{...L,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(QT,{}):E.jsx(JT,{})}),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(ZT,{}):E.jsx(eR,{})})]})},children:e})},EL=({children:e,className:t,...l})=>{const{slots:r}=y.use(xi);return E.jsx(vL,{...l,className:Mt(t,r==null?void 0:r.tab()),"data-slot":"tabs-tab",children:e})},CL=({className:e,...t})=>{const{slots:l}=y.use(xi);return E.jsx(sM,{className:Je(l==null?void 0:l.tabIndicator,e),"data-slot":"tabs-indicator",...t})},TL=({children:e,className:t,...l})=>{const{slots:r}=y.use(xi);return E.jsx(yL,{...l,className:Mt(t,r==null?void 0:r.tabPanel()),"data-slot":"tabs-panel",children:e})},RL=({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(Ov,{Root:Ov,ListContainer:SL,List:wL,Tab:EL,Indicator:CL,Separator:RL,Panel:TL}),Zo=y.createContext({}),jv=({children:e,className:t,status:l,...r})=>{const i=F.useMemo(()=>ZC({status:l}),[l]);return E.jsx(Zo,{value:{slots:i,status:l},children:E.jsx(l2,{value:{variant:"default"},children:E.jsx(Ct.div,{className:i==null?void 0:i.base({className:t}),"data-slot":"alert-root",...r,children:e})})})},ML=({children:e,className:t,...l})=>{const{slots:r,status:i}=y.use(Zo),s=()=>{switch(i){case"accent":return E.jsx(ru,{"data-slot":"alert-default-icon"});case"success":return E.jsx(a5,{"data-slot":"alert-default-icon"});case"warning":return E.jsx(n5,{"data-slot":"alert-default-icon"});case"danger":return E.jsx(l5,{"data-slot":"alert-default-icon"});default:return E.jsx(ru,{"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()})},AL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Zo);return E.jsx(Ct.div,{className:Je(r==null?void 0:r.content,t),"data-slot":"alert-content",...l,children:e})},LL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Zo);return E.jsx(Ct.p,{className:Je(r==null?void 0:r.title,t),"data-slot":"alert-title",...l,children:e})},kL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Zo);return E.jsx(Ct.span,{className:Je(r==null?void 0:r.description,t),"data-slot":"alert-description",...l,children:e})},wo=Object.assign(jv,{Root:jv,Indicator:ML,Content:AL,Title:LL,Description:kL}),pn=y.createContext({}),Iv=({children:e,state:t,...l})=>{const r=y.useMemo(()=>({slots:Jh(),placement:void 0}),[]),i=y.useMemo(()=>t?{isOpen:t.isOpen,onOpenChange:t.setOpen}:{},[t]);return E.jsx(pn,{value:r,children:E.jsx(LM,{"data-slot":"modal-root",...Ce(l,i),children:e})})},NL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(OM,{children:E.jsx(Ct.div,{className:Je(r==null?void 0:r.trigger,t),"data-slot":"modal-trigger",role:"button",...l,children:e})})},DL=({children:e,className:t,isDismissable:l=!0,onClick:r,variant:i,...s})=>{const{slots:u}=y.use(pn),f=y.useMemo(()=>Jh({variant:i}),[i]),d=y.useMemo(()=>({slots:{...u,...f}}),[u,f]);return E.jsx(p4,{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," "]})})},$L=({children:e,className:t,placement:l="auto",scroll:r,size:i,...s})=>{const{slots:u}=y.use(pn),f=y.useMemo(()=>Jh({scroll:r,size:i}),[r,i]),d=y.useMemo(()=>({placement:l,slots:{...u,...f}}),[u,l,f]);return E.jsx($M,{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})})},zL=({children:e,className:t,...l})=>{const{placement:r,slots:i}=y.use(pn);return E.jsx(l2,{value:{variant:"default"},children:E.jsx(kM,{className:Je(i==null?void 0:i.dialog,t),"data-placement":r,"data-slot":"modal-dialog",...l,children:e})})},PL=({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})},OL=({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})},jL=({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})},IL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return E.jsx(WT,{className:Je(r==null?void 0:r.heading,t),"data-slot":"modal-heading",slot:"title",...l,children:e})},BL=({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})},HL=({className:e,...t})=>{const{slots:l}=y.use(pn);return E.jsx(g4,{className:Mt(e,l==null?void 0:l.closeTrigger()),"data-slot":"modal-close-trigger",slot:"close",...t})},je=Object.assign(Iv,{Root:Iv,Trigger:NL,Backdrop:DL,Container:$L,Dialog:zL,Header:PL,Icon:BL,Heading:IL,Body:OL,Footer:jL,CloseTrigger:HL}),Bv="heroui-theme",Nx="(prefers-color-scheme: dark)";function KL(e){if(typeof window>"u")return()=>{};const t=window.matchMedia(Nx);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function UL(){var e;return(e=window.matchMedia)!=null&&e.call(window,Nx).matches?"dark":"light"}function VL(){}function FL(e,t){t!==e&&(t&&document.documentElement.classList.remove(t),document.documentElement.classList.add(e),document.documentElement.setAttribute("data-theme",e))}function _L(e="system"){const[t,l]=y.useState(()=>typeof window>"u"?e:localStorage.getItem(Bv)??e),r=y.useSyncExternalStore(KL,UL,VL),i=t==="system"?r:t,s=y.useRef(void 0);Rx(()=>{i&&(FL(i,s.current),s.current=i)},[i]);const u=y.useCallback(f=>{typeof window>"u"||(localStorage.setItem(Bv,f),l(f))},[]);return{resolvedTheme:i,setTheme:u,theme:t}}const Dx=y.createContext(null);function GL({children:e}){const{theme:t,setTheme:l}=_L("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(Dx.Provider,{value:u,children:e})}function jz(){const e=y.useContext(Dx);if(!e)throw new Error("useTheme must be used within ThemeProvider");return e}const qL=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"})),YL=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:"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",clipRule:"evenodd"})),XL=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"})),WL=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"})),Th="https://lf3-cdn-tos.draftstatic.com/obj/ies-hotsoon-draft/juejin/7b28b328-1ae4-4781-8d46-430fef1b872e.html";async function ZL(){var t;const e=(t=window.tud)==null?void 0:t.openExternal;if(typeof e=="function"){await e(Th);return}window.open(Th,"_blank","noopener,noreferrer")}function QL({isOpen:e,onOpenChange:t,onConfirm:l}){const[r,i]=y.useState(!1);return y.useEffect(()=>{e&&i(!1)},[e]),E.jsx(je.Backdrop,{isOpen:e,onOpenChange:t,variant:"opaque",children:E.jsx(je.Container,{size:"sm",children:E.jsxs(je.Dialog,{children:[E.jsx(je.CloseTrigger,{"aria-label":"关闭"}),E.jsx(je.Header,{children:E.jsx(je.Heading,{children:"用户协议"})}),E.jsxs(je.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(),ZL()},type:"button",children:"《稀土掘金隐私政策》"}),",并同意上传数据"]})]})})]}),E.jsxs(je.Footer,{className:"gap-2",children:[E.jsx(nn,{slot:"close",variant:"tertiary",children:"取消"}),E.jsx(nn,{isDisabled:!r,onPress:()=>{t(!1),l()},variant:"primary",children:"同意并登录"})]})]})})})}const JL="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",ek="/assets/antigravity-color-DgAQAdn3.svg",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%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",nk="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",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%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",Hv="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",Kv="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",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%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",rk="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",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%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",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%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",sk="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",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%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",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%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",fk="/assets/hermesagent-DUfTwIy7.svg",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%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",Uv="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",hk="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",mk="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",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%3eopencode%3c/title%3e%3cpath%20d='M16%206H8v12h8V6zm4%2016H4V2h16v20z'%3e%3c/path%3e%3c/svg%3e",gk="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",bk="/assets/qoder-color-CCjsVbDP.svg",Vv="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",vk="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",yk="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",xk="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",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%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",wk="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",Ek={amp:{src:tk},antigravity:{src:ek},"claude-code":{src:nk},cline:{monochrome:!0,src:lk},codebuddy:{src:Hv},codex:{monochrome:!0,src:Kv},"every-code":{monochrome:!0,src:Kv},copilot:{src:ak},cursor:{monochrome:!0,src:rk},devin:{src:ik},gemini:{src:ok},"gemini-cli":{src:sk},grok:{monochrome:!0,src:uk},goose:{monochrome:!0,src:ck},hermes:{monochrome:!0,src:fk},kimi:{src:dk},"kilo-cli":{monochrome:!0,src:Uv},kilocode:{monochrome:!0,src:Uv},kiro:{src:hk},mimo:{monochrome:!0,src:Sk},openclaw:{src:mk},opencode:{monochrome:!0,src:pk},pi:{monochrome:!0,src:gk},qoder:{src:bk},qwen:{src:Vv},"qwen-code":{src:Vv},roocode:{monochrome:!0,src:vk},trae:{src:yk},windsurf:{monochrome:!0,src:xk},workbuddy:{src:Hv},zcode:{monochrome:!0,src:wk}},Ck={"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 Tk(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":Ck[t]??t}function Fv({provider:e,size:t=16,className:l="",onLightBackground:r=!1,isSelected:i=!1,color:s}){const u=Tk(e),f=Ek[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(Lk,{className:l,size:t,style:{color:s}}):u==="omp"?E.jsx(Rk,{className:l,size:t,style:{color:s}}):u==="zed"?E.jsx(Mk,{className:l,size:t,style:{color:s}}):u==="warp"?E.jsx(Ak,{className:l,size:t,style:{color:s}}):E.jsx(kk,{className:l,size:t,style:{color:s}})}function Rk({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 Mk({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 Ak({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 Lk({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 kk({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 Nk="Juejin Usage",hu=[{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 Dk(e){var t;return(t=e.variants)!=null&&t.length?`${e.name} (${e.variants.join("、")})`:e.name}function $k(){return"0.1.7"}const zk=(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},Pk=(e,t)=>({classGroupId:e,validator:t}),$x=(e=new Map,t=null,l)=>({nextPart:e,validators:t,classGroupId:l}),mu="-",_v=[],Ok="arbitrary..",jk=e=>{const t=Bk(e),{conflictingClassGroups:l,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return Ik(u);const f=u.split(mu),d=f[0]===""&&f.length>1?1:0;return zx(f,d,t)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=r[u],h=l[u];return d?h?zk(h,d):d:h||_v}return l[u]||_v}}},zx=(e,t,l)=>{if(e.length-t===0)return l.classGroupId;const i=e[t],s=l.nextPart.get(i);if(s){const h=zx(e,t+1,s);if(h)return h}const u=l.validators;if(u===null)return;const f=t===0?e.join(mu):e.slice(t).join(mu),d=u.length;for(let h=0;h<d;h++){const p=u[h];if(p.validator(f))return p.classGroupId}},Ik=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?Ok+r:void 0})(),Bk=e=>{const{theme:t,classGroups:l}=e;return Hk(l,t)},Hk=(e,t)=>{const l=$x();for(const r in e){const i=e[r];y2(i,l,r,t)}return l},y2=(e,t,l,r)=>{const i=e.length;for(let s=0;s<i;s++){const u=e[s];Kk(u,t,l,r)}},Kk=(e,t,l,r)=>{if(typeof e=="string"){Uk(e,t,l);return}if(typeof e=="function"){Vk(e,t,l,r);return}Fk(e,t,l,r)},Uk=(e,t,l)=>{const r=e===""?t:Px(t,e);r.classGroupId=l},Vk=(e,t,l,r)=>{if(_k(e)){y2(e(r),t,l,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Pk(l,e))},Fk=(e,t,l,r)=>{const i=Object.entries(e),s=i.length;for(let u=0;u<s;u++){const[f,d]=i[u];y2(d,Px(t,f),l,r)}},Px=(e,t)=>{let l=e;const r=t.split(mu),i=r.length;for(let s=0;s<i;s++){const u=r[s];let f=l.nextPart.get(u);f||(f=$x(),l.nextPart.set(u,f)),l=f}return l},_k=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Gk=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)}}},Rh="!",Gv=":",qk=[],qv=(e,t,l,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:l,maybePostfixModifierPosition:r,isExternal:i}),Yk=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===Gv){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(Rh)?(v=b.slice(0,-1),w=!0):b.startsWith(Rh)&&(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+Gv,s=r;r=u=>u.startsWith(i)?s(u.slice(i.length)):qv(qk,!1,u,void 0,!0)}if(l){const i=r;r=s=>l({className:s,parseClassName:i})}return r},Xk=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}},Wk=e=>({cache:Gk(e.cacheSize),parseClassName:Yk(e),sortModifiers:Xk(e),postfixLookupClassGroupIds:Zk(e),...jk(e)}),Zk=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},Qk=/\s+/,Jk=(e,t)=>{const{parseClassName:l,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:s,postfixLookupClassGroupIds:u}=t,f=[],d=e.trim().split(Qk);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 L=!!C,M;if(L){const $=T.substring(0,C);M=r($);const k=M&&u[M]?r(T):void 0;k&&k!==M&&(M=k,L=!1)}else M=r(T);if(!M){if(!L){h=b+(h.length>0?" "+h:h);continue}if(M=r(T),!M){h=b+(h.length>0?" "+h:h);continue}L=!1}const N=w.length===0?"":w.length===1?w[0]:s(w).join(":"),A=x?N+Rh:N,B=A+M;if(f.indexOf(B)>-1)continue;f.push(B);const _=i(M,L);for(let $=0;$<_.length;++$){const k=_[$];f.push(A+k)}h=b+(h.length>0?" "+h:h)}return h},eN=(...e)=>{let t=0,l,r,i="";for(;t<e.length;)(l=e[t++])&&(r=Ox(l))&&(i&&(i+=" "),i+=r);return i},Ox=e=>{if(typeof e=="string")return e;let t,l="";for(let r=0;r<e.length;r++)e[r]&&(t=Ox(e[r]))&&(l&&(l+=" "),l+=t);return l},tN=(e,...t)=>{let l,r,i,s;const u=d=>{const h=t.reduce((p,b)=>b(p),e());return l=Wk(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=Jk(d,l);return i(d,p),p};return s=u,(...d)=>s(eN(...d))},nN=[],Et=e=>{const t=l=>l[e]||nN;return t.isThemeGetter=!0,t},jx=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ix=/^\((?:(\w[\w-]*):)?(.+)\)$/i,lN=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,aN=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rN=/\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$/,iN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,oN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ia=e=>lN.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=>aN.test(e),Bx=()=>!0,cN=e=>rN.test(e)&&!iN.test(e),x2=()=>!1,uN=e=>oN.test(e),fN=e=>sN.test(e),dN=e=>!me(e)&&!ge(e),hN=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)),mN=e=>Ea(e,Ux,x2),me=e=>jx.test(e),_a=e=>Ea(e,Vx,cN),Yv=e=>Ea(e,wN,ke),pN=e=>Ea(e,_x,Bx),gN=e=>Ea(e,Fx,x2),Xv=e=>Ea(e,Hx,x2),bN=e=>Ea(e,Kx,fN),$c=e=>Ea(e,Gx,uN),ge=e=>Ix.test(e),Eo=e=>cr(e,Vx),vN=e=>cr(e,Fx),Wv=e=>cr(e,Hx),yN=e=>cr(e,Ux),xN=e=>cr(e,Kx),zc=e=>cr(e,Gx,!0),SN=e=>cr(e,_x,!0),Ea=(e,t,l)=>{const r=jx.exec(e);return r?r[1]?t(r[1]):l(r[2]):!1},cr=(e,t,l=!1)=>{const r=Ix.exec(e);return r?r[1]?t(r[1]):l:!1},Hx=e=>e==="position"||e==="percentage",Kx=e=>e==="image"||e==="url",Ux=e=>e==="length"||e==="size"||e==="bg-size",Vx=e=>e==="length",wN=e=>e==="number",Fx=e=>e==="family-name",_x=e=>e==="number"||e==="weight",Gx=e=>e==="shadow",EN=()=>{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"),L=Et("ease"),M=Et("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...A(),ge,me],_=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],k=()=>[ge,me,d],K=()=>[ia,"full","auto",...k()],U=()=>[el,"none","subgrid",ge,me],q=()=>["auto",{span:["full",el,ge,me]},el,ge,me],ne=()=>[el,"auto",ge,me],le=()=>["auto","min","max","fr",ge,me],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...k()],O=()=>[ia,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],oe=()=>[ia,"screen","full","dvw","lvw","svw","min","max","fit",...k()],J=()=>[ia,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],G=()=>[e,ge,me],D=()=>[...A(),Wv,Xv,{position:[ge,me]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",yN,mN,{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,Wv,Xv],Lt=()=>["","none",x,ge,me],it=()=>["none",ke,ge,me],ue=()=>["none",ke,ge,me],fe=()=>[ke,ge,me],Ee=()=>[ia,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Cl],breakpoint:[Cl],color:[Bx],container:[Cl],"drop-shadow":[Cl],ease:["in","out","in-out"],font:[dN],"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":[hN],columns:[{columns:[ke,me,ge,f]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:K()}],"inset-x":[{"inset-x":K()}],"inset-y":[{"inset-y":K()}],start:[{"inset-s":K(),start:K()}],end:[{"inset-e":K(),end:K()}],"inset-bs":[{"inset-bs":K()}],"inset-be":[{"inset-be":K()}],top:[{top:K()}],right:[{right:K()}],bottom:[{bottom:K()}],left:[{left:K()}],visibility:["visible","invisible","collapse"],z:[{z:[el,"auto",ge,me]}],basis:[{basis:[ia,"full","auto",f,...k()]}],"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":U()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":le()}],"auto-rows":[{"auto-rows":le()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],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":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"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,SN,pN]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",O0,me]}],"font-family":[{font:[vN,gN,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,Yv]}],leading:[{leading:[s,...k()]}],"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:G()}],"text-color":[{text:G()}],"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:G()}],"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:k()}],"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]},xN,bN]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],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:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ke,ge,me]}],"outline-w":[{outline:["",ke,Eo,_a]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",p,zc,$c]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",b,zc,$c]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[ke,_a]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",v,zc,$c]}],"text-shadow-color":[{"text-shadow":G()}],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":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"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":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"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":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"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":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"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":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"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":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"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":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"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":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"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":A()}],"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":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"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":G()}],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":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"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",L,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:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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":G()}],"scrollbar-track-color":[{"scrollbar-track":G()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",...G()]}],"stroke-w":[{stroke:[ke,Eo,_a,Yv]}],stroke:[{stroke:["none",...G()]}],"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"]}},CN=tN(EN),j0=[{value:1e12,suffix:"T"},{value:1e9,suffix:"B"},{value:1e6,suffix:"M"},{value:1e3,suffix:"K"}];function Vo(...e){return CN(o3(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=Zv(e/i.value);return Math.abs(s)>=1e3&&r>0&&(r-=1,i=j0[r],s=Zv(e/i.value)),`${s.toLocaleString("en-US",{maximumFractionDigits:1})}${i.suffix}`}function Zv(e){return Math.round(e*10)/10}const TN={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 RN({className:e,collapsible:t=!1}){const[l,r]=y.useState(!1),i=!t||l;return E.jsxs("div",{className:"flex flex-col items-stretch",children:[i?E.jsx(MN,{className:e,tools:hu}):E.jsx(AN,{}),t?E.jsxs(nn,{"aria-expanded":l,className:"mt-4 self-center",onPress:()=>r(s=>!s),size:"sm",variant:"tertiary",children:[l?"收起":`查看全部(${hu.length})`,E.jsx(YL,{"aria-hidden":"true",className:Vo("size-3.5 transition-transform duration-200 motion-reduce:transition-none",l&&"rotate-180")})]}):null]})}function MN({className:e,tools:t}){return E.jsx("ul",{className:Vo("grid grid-cols-1 gap-1.5 sm:grid-cols-2","motion-safe:animate-[fade-up_420ms_ease-out]",e),children:t.map(l=>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(qx,{source:l.source}),E.jsx("span",{className:"min-w-0 leading-snug",children:Dk(l)})]},l.source))})}function AN(){return E.jsxs("div",{"aria-hidden":"true",className:"tools-marquee group space-y-1.5 mask-[linear-gradient(to_right,transparent,black_5%,black_95%,transparent)]",children:[E.jsx(Qv,{}),E.jsx(Qv,{reverse:!0})]})}function Qv({reverse:e=!1}){const t=e?[...hu].reverse():hu;return E.jsx("div",{className:"overflow-hidden",children:E.jsxs("div",{className:Vo("flex w-max",e?"tools-marquee-track-reverse motion-safe:animate-[tools-marquee-reverse_48s_linear_infinite]":"tools-marquee-track motion-safe:animate-[tools-marquee_40s_linear_infinite]","motion-reduce:animate-none"),children:[E.jsx(Jv,{items:t}),E.jsx(Jv,{items:t})]})})}function Jv({items:e}){return E.jsx("div",{className:"flex shrink-0 gap-1.5 pe-1.5",children:e.map(t=>E.jsxs("div",{className:"flex shrink-0 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(qx,{source:t.source}),E.jsx("span",{className:"leading-snug whitespace-nowrap",children:t.name})]},t.source))})}function qx({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:JL})});const t=TN[e];return t?E.jsx("span",{className:`flex size-6 shrink-0 items-center justify-center rounded-md ${t}`,children:E.jsx(Fv,{color:"#fff",isSelected:!0,provider:e,size:15})}):E.jsx(Fv,{provider:e,size:18})}const LN="http://github.com/juejin-cn/juejin-usage/issues/new";function Yx(){const e=$k();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:[Nk," ",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(Dc,{className:"w-fit text-sm text-accent",href:Th,rel:"noopener noreferrer",target:"_blank",children:["查看用户隐私协议",E.jsx(Dc.Icon,{})]})]}),E.jsxs("section",{className:"space-y-1.5",children:[E.jsx("h3",{className:"text-sm font-medium text-foreground",children:"问题反馈"}),E.jsxs(Dc,{className:"w-fit text-sm text-accent",href:LN,rel:"noopener noreferrer",target:"_blank",children:["提交问题反馈",E.jsx(Dc.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(RN,{})]})]})}const kN="tud:data-synced",Mh="tud:open-settings",ey="tud:open-about",Ah="tud:open-share",NN="tud:juejin-link-changed";function Iz(){window.dispatchEvent(new CustomEvent(kN))}function Bz(e){window.dispatchEvent(new CustomEvent(Mh,{detail:{}}))}function DN(){window.dispatchEvent(new CustomEvent(Ah))}function Xx(){window.dispatchEvent(new CustomEvent(NN))}function Hz(){return DN(),Promise.resolve()}function $N({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(ey,p),()=>window.removeEventListener(ey,p)},[r,h]),E.jsxs(E.Fragment,{children:[!i&&(e??E.jsxs(nn,{"aria-label":"关于",onPress:()=>h(!0),variant:"tertiary",children:[E.jsx(XL,{}),"关于"]})),E.jsx(je.Backdrop,{isOpen:d,onOpenChange:h,variant:"blur",children:E.jsx(je.Container,{className:"w-[840px] max-w-[min(840px,92vw)]",scroll:"outside",size:"lg",children:E.jsxs(je.Dialog,{children:[E.jsx(je.CloseTrigger,{"aria-label":"关闭关于"}),E.jsx(je.Header,{children:E.jsx(je.Heading,{children:"关于"})}),E.jsx(je.Body,{className:"pt-2",children:E.jsx(Yx,{})})]})})})]})}const Wx=y.createContext(null);function zN({children:e,queue:t}){return E.jsx(Wx.Provider,{value:t,children:e})}function Kz(){const e=y.useContext(Wx);if(!e)throw new Error("useAppToastQueue must be used within AppToastProvider");return e}const PN=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 ty="tud.apiBearer";function ON(){return!0}function jN(){return"/functions/tud-"}function On(){const e=jN();return{summary:`${e}account-usage-summary`,others:e}}function ny(e){try{e!=null&&e.trim()?localStorage.setItem(ty,e.trim()):localStorage.removeItem(ty)}catch{}}function xn(){return{}}async function Zx(){const{summary:e}=On();return Pn(e,{headers:xn()})}async function IN(e=90){const{others:t}=On();return Pn(`${t}usage-daily?days=${e}`,{headers:xn()})}async function Qx(e=1){const{others:t}=On();return Pn(`${t}usage-hourly?days=${e}`,{headers:xn()})}async function Jx(e=30){const{others:t}=On();return Pn(`${t}usage-model-breakdown?days=${e}`,{headers:xn()})}const ly="https://api.juejin.cn/aiusage_api/functions/tud-pricing";async function Uz(){const e=await fetch(ly,{headers:xn()});let t=null;try{t=await e.json()}catch{throw new Error(`GET ${ly} → ${e.status}`)}if(!e.ok)throw new Error(`HTTP ${e.status}`);const l=BN(t);return HN(l,e.headers.get("last-modified"))}function BN(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 HN(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 Vz(e,t=PN,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 Fz(){const{others:e}=On();return Pn(`${e}leaderboard-preference`,{headers:xn()})}async function _z(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 KN(){const{others:e}=On();return Pn(`${e}sync-status`,{headers:xn()})}function e6(){return KN().catch(()=>null)}function UN(e){return typeof e=="number"?{dailyDays:e,breakdownDays:e,hourlyDays:e}:{dailyDays:e.dailyDays,breakdownDays:e.breakdownDays,hourlyDays:e.hourlyDays??e.breakdownDays}}async function Gz(e){const{dailyDays:t,breakdownDays:l,hourlyDays:r}=UN(e),[i,s,u,f,d]=await Promise.all([Zx(),e6(),IN(t),Qx(r).catch(()=>({hours:[],timeZone:"Asia/Shanghai"})),Jx(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 qz(e,t,l){const[r,i,s,u]=await Promise.all([Zx(),e6(),Qx(l).catch(()=>({hours:[],timeZone:"Asia/Shanghai"})),Jx(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 Yz(){const{others:e}=On();return Pn(`${e}trigger-sync`,{method:"POST",headers:{"Content-Type":"application/json",...xn()},body:"{}"})}async function Xz(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 S2(){const{others:e}=On();return Pn(`${e}config`,{headers:xn()})}async function Lh(e){const{others:t}=On();return Pn(`${t}config`,{method:"PUT",headers:{"Content-Type":"application/json",...xn()},body:JSON.stringify(e)})}const w2="login_from_client",E2="port",t6="user_id",n6="origin_user_id",l6="user_name",a6="avatar_large",Fo=8452,VN="https://juejin.cn/aiusage/dashboard";function FN(e,t){return t}const r6=FN(void 0,VN),_N=512,GN=64;function qN(e){return e==="desktop"||e==="cli"?e:null}function i6(e){if(e==null||e==="")return Fo;const t=Number.parseInt(e,10);return!Number.isFinite(t)||t<=0||t>65535?Fo:t}function o6(e){const t=e.trim();return t.length>0&&t.length<=_N&&!/\s/.test(t)}function s6(e){const t=e.trim();return t.length>0&&t.length<=GN&&!/\s/.test(t)}function ay(e){return(e??"").trim()}function ry(e){const t=e.trim();return t.length>=2&&(t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"))?t.slice(1,-1).trim():t}function YN(e){const t=new URL(r6);return t.searchParams.set(w2,e.loginFromClient),e.loginFromClient==="cli"&&t.searchParams.set(E2,String(e.port??Fo)),t.toString()}function c6(e=window.location.search){const t=new URLSearchParams(e),l=ry(t.get(t6)??""),r=ry(t.get(n6)??"");return{loginFromClient:qN(t.get(w2)),port:i6(t.get(E2)),userId:o6(l)?l:null,originUserId:s6(r)?r:"",userName:ay(t.get(l6)),avatarLarge:ay(t.get(a6))}}const B0=typeof window<"u"?c6(window.location.search):{loginFromClient:null,port:Fo,userId:null,originUserId:"",userName:"",avatarLarge:""};function u6(){const e=c6(window.location.search);return e.loginFromClient||e.userId?e:B0.loginFromClient||B0.userId?B0:e}function XN(){const e=new URL(window.location.href);e.searchParams.delete(w2),e.searchParams.delete(E2),e.searchParams.delete(t6),e.searchParams.delete(n6),e.searchParams.delete(l6),e.searchParams.delete(a6);const t=`${e.pathname}${e.search}${e.hash}`;window.history.replaceState(window.history.state,"",t)}function WN(){const e="".trim().replace(/\/$/,"");return e?`${e}/functions/tud-session`:"/api/functions/tud-session"}async function ZN(){const e=await fetch(WN(),{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"||!o6(i)||typeof s!="string"||!s6(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 QN(){return typeof window<"u"&&typeof window.tud<"u"?"desktop":"cli"}function JN(){const e=window.location.port;return i6(e||String(Fo))}async function f6(){var i;const e=QN(),t=e==="cli"?JN():void 0,l=YN({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 eD={info:"accent",warn:"warning",error:"danger",success:"success"};function d6({tone:e="info",title:t,description:l}){return E.jsxs(wo,{status:eD[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 tD=[{id:"sync",label:"云端同步"},{id:"app",label:"应用"},{id:"about",label:"关于"}];function nD({activeTab:e,onTabChange:t}={}){const[l]=y.useState(()=>new Wo({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(v2.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",children:tD.map(d=>E.jsxs(ra.Tab,{className:"h-6 w-fit px-3 text-xs font-normal aria-selected:text-accent-foreground",id:d.id,children:[d.label,E.jsx(ra.Indicator,{className:"bg-accent"})]},d.id))})}),E.jsx(ra.Panel,{className:"h-[50vh] overflow-hidden p-4 text-left font-normal",id:"sync",children:f==="sync"&&E.jsx(lD,{onNotify:d=>l.add(d),onSaved:()=>l.add({description:"写入本机 CLI 配置",title:"已保存",variant:"success"})})}),E.jsx(ra.Panel,{className:"h-[50vh] overflow-hidden p-4 text-left",id:"app",children:f==="app"&&E.jsx(aD,{})}),E.jsx(ra.Panel,{className:"h-[50vh] overflow-hidden p-4 text-left",id:"about",children:f==="about"&&E.jsx("div",{className:"h-full overflow-y-auto pr-1",children:E.jsx(Yx,{})})})]})]})}function lD({onSaved:e,onNotify:t}){var ne,le,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 W=await S2();r(W),s(W.juejin.enabled),T(null)}catch(W){T(W instanceof Error?W.message:"加载配置失败"),r(null)}finally{f(!1)}},[]);y.useEffect(()=>{C()},[C]);const L=async W=>{const z=i;s(W),h(!0),T(null);try{const O=await Lh({juejin:{enabled:W}});r(O),e()}catch(O){s(z),T(O instanceof Error?O.message:"保存失败")}finally{h(!1)}},M=async()=>{h(!0),T(null);try{const W=await Lh({juejin:{token:null,originUserId:null,userName:null,avatarLarge:null}});r(W),b(!1),Xx(),t({title:"已退出登录",variant:"success"})}catch(W){T(W instanceof Error?W.message:"退出失败"),b(!1)}finally{h(!1)}};if(u)return E.jsx("p",{className:"text-muted",children:"加载配置…"});const N=W=>W.replace(/^['"]+|['"]+$/g,"").trim(),A=(l==null?void 0:l.juejin.userId)??null,B=N(((ne=l==null?void 0:l.juejin.originUserId)==null?void 0:ne.trim())||""),_=((le=l==null?void 0:l.juejin.userName)==null?void 0:le.trim())||"",$=((j=l==null?void 0:l.juejin.avatarLarge)==null?void 0:j.trim())||"",k=(l==null?void 0:l.juejin.hasToken)??!1,K=A&&!A.startsWith("jau.")?N(A):"",U=B||K||null,q=()=>{f6().then(W=>{W.ok||t({title:"无法打开掘金登录页",description:W.message??"请稍后重试",variant:"danger"})})};return E.jsxs("div",{className:"flex h-full flex-col gap-3 overflow-hidden",children:[x&&E.jsx(d6,{tone:"error",title:x}),E.jsxs(j4,{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:W=>{L(W)},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:"用于识别云端用量归属"})]}),A?E.jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[$?E.jsx("img",{alt:_||"用户头像",className:"size-8 shrink-0 rounded-full object-cover",referrerPolicy:"no-referrer",src:$,title:_||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:_||void 0,children:(_||A).slice(0,1)}),E.jsxs("div",{className:"min-w-0 text-right",children:[E.jsx("p",{className:"truncate text-foreground",title:_||void 0,children:_||"已关联"}),E.jsx("p",{className:"break-all font-mono text-xs text-muted",title:U?void 0:"缺少 originUserId,请重新掘金登录关联",children:U??"缺少用户 ID(请重新登录关联)"})]})]}):E.jsx("span",{className:"text-muted",children:"未关联"})]}),i&&!A&&E.jsx("p",{className:"mt-3 text-xs text-amber-600 dark:text-amber-400",children:k?"尚未通过掘金登录关联账号;关联前不会上报。":"已开启同步但未关联用户 ID,上报将跳过。"})]}),E.jsx("div",{className:"mt-auto flex justify-end gap-2",children:A?E.jsx(nn,{isDisabled:d,onPress:()=>b(!0),variant:"danger",children:"退出登录"}):E.jsx(nn,{isDisabled:d,onPress:()=>w(!0),variant:"primary",children:"掘金登录"})}),E.jsx(QL,{isOpen:v,onConfirm:q,onOpenChange:w}),E.jsx(je.Backdrop,{isOpen:p,onOpenChange:b,variant:"opaque",children:E.jsx(je.Container,{size:"sm",children:E.jsxs(je.Dialog,{children:[E.jsx(je.CloseTrigger,{"aria-label":"关闭"}),E.jsx(je.Header,{children:E.jsx(je.Heading,{children:"退出登录"})}),E.jsx(je.Body,{className:"text-sm text-muted",children:"确认清除本机保存的用户 ID?清除后需重新通过掘金登录关联。"}),E.jsxs(je.Footer,{className:"gap-2",children:[E.jsx(nn,{slot:"close",variant:"tertiary",children:"取消"}),E.jsx(nn,{isDisabled:d,onPress:()=>{M()},variant:"danger",children:"确认退出"})]})]})})})]})}function aD(){const[e,t]=y.useState(null),[l,r]=y.useState(!0),[i,s]=y.useState(null);return y.useEffect(()=>{let u=!1;return S2().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(d6,{tone:"error",title:i}):e?E.jsx("div",{className:"flex flex-col gap-4",children:E.jsxs(j4,{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(Pc,{label:"设备 ID",value:e.deviceId}),E.jsx(Pc,{label:"上报起点",value:e.statsSince.slice(0,19).replace("T"," ")}),E.jsx(Pc,{label:"上次同步",value:e.lastSyncAt?new Date(e.lastSyncAt).toLocaleString():"从未"}),E.jsx(Pc,{label:"上次上报",value:e.lastUploadAt?new Date(e.lastUploadAt).toLocaleString():"从未"})]})]})}):E.jsx("p",{className:"text-sm text-muted",children:"当前为 Web 模式,设备信息仅在本机 CLI / 桌面端可见。"})}function Pc({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 rD({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=L=>{const M=L.detail;M!=null&&M.tab&&T(M.tab),x(!0)};return window.addEventListener(Mh,C),()=>window.removeEventListener(Mh,C)},[r,x,T]),E.jsxs(E.Fragment,{children:[!i&&(e??E.jsxs(nn,{"aria-label":"设置",onPress:()=>x(!0),variant:"tertiary",children:[E.jsx(WL,{}),"设置"]})),E.jsx(je.Backdrop,{isOpen:v,onOpenChange:x,variant:"opaque",children:E.jsx(je.Container,{className:"w-full max-w-[720px] sm:w-[720px]",scroll:"inside",size:"lg",children:E.jsxs(je.Dialog,{"aria-label":"设置",className:"w-full overflow-hidden sm:w-[640px] sm:max-w-[640px]",children:[E.jsx(je.CloseTrigger,{"aria-label":"关闭设置"}),E.jsx(je.Header,{children:E.jsx(je.Heading,{children:"设置"})}),E.jsx(je.Body,{className:"overflow-hidden p-0",children:E.jsx(nD,{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}),nv(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)&&nv(this,v)};let h=er(L0(document,"touchstart",r,{passive:!1,capture:!0}),L0(document,"touchmove",u,{passive:!1,capture:!0}),L0(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 L0(e,t,l,r){return e.addEventListener(t,l,r),()=>{e.removeEventListener(t,l,r)}}function nv(e,t){t||!No?lv(e):No.addEventListener("resize",()=>lv(e),{once:!0})}function lv(e){let t=document.scrollingElement||document.documentElement,l=e;for(;l&&l!==t;){let r=c3(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 LR(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}=f5({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}=mR({...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)});d5({isDisabled:s||!t.isOpen}),y.useEffect(()=>{if(t.isOpen&&r.current)return s?aR((i==null?void 0:i.current)??r.current):i5([(i==null?void 0:i.current)??r.current],{shouldUseInert:!0})},[s,t.isOpen,r,i]);let{focusWithinProps:E}=Xo(e);return{popoverProps:Ee(p,v,E),arrowProps:w,underlayProps:b,placement:x,triggerAnchorPoint:T}}var h5={};h5={dismiss:"تجاهل"};var m5={};m5={dismiss:"Отхвърляне"};var p5={};p5={dismiss:"Odstranit"};var g5={};g5={dismiss:"Luk"};var b5={};b5={dismiss:"Schließen"};var v5={};v5={dismiss:"Απόρριψη"};var y5={};y5={dismiss:"Dismiss"};var x5={};x5={dismiss:"Descartar"};var S5={};S5={dismiss:"Lõpeta"};var w5={};w5={dismiss:"Hylkää"};var C5={};C5={dismiss:"Rejeter"};var E5={};E5={dismiss:"התעלם"};var T5={};T5={dismiss:"Odbaci"};var R5={};R5={dismiss:"Elutasítás"};var M5={};M5={dismiss:"Ignora"};var A5={};A5={dismiss:"閉じる"};var L5={};L5={dismiss:"무시"};var k5={};k5={dismiss:"Atmesti"};var N5={};N5={dismiss:"Nerādīt"};var D5={};D5={dismiss:"Lukk"};var $5={};$5={dismiss:"Negeren"};var z5={};z5={dismiss:"Zignoruj"};var P5={};P5={dismiss:"Descartar"};var O5={};O5={dismiss:"Dispensar"};var j5={};j5={dismiss:"Revocare"};var I5={};I5={dismiss:"Пропустить"};var B5={};B5={dismiss:"Zrušiť"};var H5={};H5={dismiss:"Opusti"};var K5={};K5={dismiss:"Odbaci"};var U5={};U5={dismiss:"Avvisa"};var V5={};V5={dismiss:"Kapat"};var F5={};F5={dismiss:"Скасувати"};var _5={};_5={dismiss:"取消"};var G5={};G5={dismiss:"關閉"};var q5={};q5={"ar-AE":h5,"bg-BG":m5,"cs-CZ":p5,"da-DK":g5,"de-DE":b5,"el-GR":v5,"en-US":y5,"es-ES":x5,"et-EE":S5,"fi-FI":w5,"fr-FR":C5,"he-IL":E5,"hr-HR":T5,"hu-HU":R5,"it-IT":M5,"ja-JP":A5,"ko-KR":L5,"lt-LT":k5,"lv-LV":N5,"nb-NO":D5,"nl-NL":$5,"pl-PL":z5,"pt-BR":P5,"pt-PT":O5,"ro-RO":j5,"ru-RU":I5,"sk-SK":B5,"sl-SI":H5,"sr-SP":K5,"sv-SE":U5,"tr-TR":V5,"uk-UA":F5,"zh-CN":_5,"zh-TW":G5};const kR=Symbol.for("react-aria.i18n.locale"),NR=Symbol.for("react-aria.i18n.strings");let Qr;class ku{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=DR(t,this.strings,this.defaultLocale),this.strings[t]=l),l}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let l=window[kR];if(Qr===void 0){let i=window[NR];if(!i)return null;Qr={};for(let s in i)Qr[s]=new ku({[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 DR(e,t,l="en-US"){if(t[e])return t[e];let r=$R(e),i=zR(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 $R(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}function zR(e){if(Intl.Locale)return new Intl.Locale(e).script}const av=new Map,rv=new Map;class PR{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=av.get(s);u||(u=new Intl.PluralRules(this.locale,{type:r}),av.set(s,u));let f=u.select(t);return i=l[f]||l.other,typeof i=="function"?i():i}number(t){let l=rv.get(this.locale);return l||(l=new Intl.NumberFormat(this.locale),rv.set(this.locale,l)),l.format(t)}select(t,l){let r=t[l]||t.other;return typeof r=="function"?r():r}}const iv=new WeakMap;function OR(e){let t=iv.get(e);return t||(t=new ku(e),iv.set(e,t)),t}function jR(e,t){return t&&ku.getGlobalDictionaryForPackage(t)||OR(e)}function r2(e,t){let{locale:l}=bi(),r=jR(e,t);return y.useMemo(()=>new PR(l,r),[l,r])}const ov={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 IR(e={}){let{style:t,isFocusable:l}=e,[r,i]=y.useState(!1),{focusWithinProps:s}=Xo({isDisabled:!l,onFocusWithinChange:f=>i(f)}),u=y.useMemo(()=>r?t:t?{...ov,...t}:ov,[r]);return{visuallyHiddenProps:{...s,style:u}}}function Y5(e){let{children:t,elementType:l="div",isFocusable:r,style:i,...s}=e,{visuallyHiddenProps:u}=IR(e);return F.createElement(l,Ee(s,u),t)}function BR(e){return e&&e.__esModule?e.default:e}function gh(e){let{onDismiss:t,...l}=e,r=r2(BR(q5),"@react-aria/overlays"),i=Vh(l,r.format("dismiss")),s=()=>{t&&t()};return F.createElement(Y5,null,F.createElement("button",{...i,tabIndex:-1,onClick:s,style:{width:1,height:1}}))}const HR=F.forwardRef(({children:e,...t},l)=>{let r=y.useRef(!1),i=y.useContext(Ho),s=Ee(i||{},{...t,register(){r.current=!0,i&&i.register()}});return s.ref=bn(l||(i==null?void 0:i.ref)),Fh(i,s.ref),y.useEffect(()=>{r.current||(r.current=!0)},[]),F.createElement(Ho.Provider,{value:s},e)});function KR({children:e}){let t=y.useMemo(()=>({register:()=>{}}),[]);return F.createElement(Ho.Provider,{value:t},e)}const UR=y.createContext({});function X5(){return y.useContext(UR)??{}}const W5=F.createContext(null);function bh(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}=X5();if(!e.portalContainer&&f&&(l=f()),!l)return null;let d=e.children;return e.disableFocusManagement||(d=F.createElement(bR,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},d)),d=F.createElement(W5.Provider,{value:u},F.createElement(KR,null,F.createElement(Bo.Provider,{value:null},d))),I9.createPortal(d,l)}function Z5(){let e=y.useContext(W5),t=e==null?void 0:e.setContain;Ne(()=>{t==null||t(!0)},[t])}function i2(e){let[t,l]=Au(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 Q5=y.createContext(null),sv=y.createContext(null),kz=y.forwardRef(function(t,l){[t,l]=yn(t,l,Q5);let r=y.useContext(yi),i=i2(t),s=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,u=Qc(l,s.isOpen),f=t.isExiting||!t.shouldSkipAnimation&&u||!1,d=hT(),{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})),F.createElement(F.Fragment,null,p)}return s&&!s.isOpen&&!f?null:F.createElement(VR,{...t,triggerRef:t.triggerRef,state:s,popoverRef:l,isExiting:f,dir:h})});function VR({state:e,isExiting:t,UNSTABLE_portalContainer:l,clearContexts:r,...i}){var q,ne;let s=y.useRef(null),u=y.useRef(null),f=y.useContext(sv),d=f&&i.trigger==="SubmenuTrigger",{popoverProps:h,underlayProps:p,arrowProps:b,placement:v,triggerAnchorPoint:w}=LR({...i,offset:i.offset??8,arrowRef:s,groupRef:d?f:u},e),x=i.popoverRef,T=Eu(x,!!v),E=i.isEntering||!i.shouldSkipAnimation&&T||!1,L=At({...i,defaultClassName:"react-aria-Popover",values:{trigger:i.trigger||null,placement:v,isEntering:E,isExiting:t}}),M=!i.isNonModal||i.trigger==="SubmenuTrigger"||i.trigger==="PreviewTrigger",[N,A]=y.useState(i.trigger==="PreviewTrigger");Ne(()=>{x.current&&A(M&&!x.current.querySelector("[role=dialog]"))},[x,M]),y.useEffect(()=>{N&&i.trigger!=="PreviewTrigger"&&(i.trigger!=="SubmenuTrigger"||pa()!=="pointer")&&x.current&&!Oo(x.current)&&va(x.current)},[N,x,i.trigger]);let B=y.useMemo(()=>{let le=L.children;if(r)for(let j of r)le=F.createElement(j.Provider,{value:null},le);return le},[L.children,r]),[_,$]=y.useState(null),k=y.useCallback(()=>{i.triggerRef.current&&$(i.triggerRef.current.getBoundingClientRect().width+"px")},[i.triggerRef]);Ne(k,[k]),Q0({ref:(q=L.style)!=null&&q["--trigger-width"]?void 0:i.triggerRef,onResize:k});let K={...h.style,"--trigger-anchor-point":w?`${w.x}px ${w.y}px`:void 0,...L.style,"--trigger-width":((ne=L.style)==null?void 0:ne["--trigger-width"])||_},U=F.createElement(ut.div,{...Ee(mt(i,{global:!0}),h),...L,id:N?i.id:void 0,role:N?"dialog":void 0,tabIndex:N?-1:void 0,"aria-label":i["aria-label"],"aria-labelledby":i["aria-labelledby"],ref:x,slot:i.slot||void 0,style:K,dir:i.dir,"data-trigger":i.trigger,"data-placement":v,"data-entering":E||void 0,"data-exiting":t||void 0},!i.isNonModal&&F.createElement(gh,{onDismiss:e.close}),F.createElement(r5.Provider,{value:{...b,placement:v,ref:s}},B),F.createElement(gh,{onDismiss:e.close}));return d?F.createElement(bh,{...i,shouldContainFocus:N&&i.trigger!=="PreviewTrigger",isExiting:t,portalContainer:l??(f==null?void 0:f.current)??void 0},U):F.createElement(bh,{...i,shouldContainFocus:N&&i.trigger!=="PreviewTrigger",isExiting:t,portalContainer:l},!i.isNonModal&&e.isOpen&&F.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),F.createElement("div",{ref:u,style:{display:"contents"}},F.createElement(sv.Provider,{value:u},U)))}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 J5 extends vi{filter(t,l,r){let[i,s]=e4(t,l,this.firstChildKey,r),u=this.clone();return u.firstChildKey=i,u.lastChildKey=s,u}}const M2=class M2 extends vi{};M2.type="header";let cv=M2;const A2=class A2 extends vi{};A2.type="loader";let uv=A2;const L2=class L2 extends J5{filter(t,l,r){if(r(this.textValue,this)){let i=this.clone();return l.addDescendants(i,t),i}return null}};L2.type="item";let fv=L2;const k2=class k2 extends J5{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}};k2.type="section";let dv=k2;class FR{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]=e4(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 e4(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 t4{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 t4{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 _R extends t4{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 n4(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=GR(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 GR(e){switch(typeof e){case"object":return e!=null;case"function":case"symbol":return!0;default:return!1}}var Nu=Uy();const l4=y.createContext(!1),Uo=y.createContext(null);function qR(e){if(y.useContext(Uo))return e.content;let{collection:l,document:r}=ZR(e.createCollection);return F.createElement(F.Fragment,null,F.createElement(dT,null,F.createElement(Uo.Provider,{value:r},e.content)),F.createElement(YR,{render:e.children,collection:l}))}function YR({collection:e,render:t}){return t(e)}function XR(e,t,l){let r=Nl(),i=y.useRef(r);i.current=r;let s=y.useCallback(()=>i.current?l():t(),[t,l]);return Nu.useSyncExternalStore(e,s)}const WR=typeof F.useSyncExternalStore=="function"?F.useSyncExternalStore:XR;function ZR(e){let[t]=y.useState(()=>new _R((e==null?void 0:e())||new FR)),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:WR(l,r,i),document:t}}const vh=y.createContext(null);function QR(e){var l;return l=class extends vi{},l.type=e,l}function a4(e,t,l,r,i,s){typeof e=="string"&&(e=QR(e));let u=y.useCallback(d=>{d==null||d.setProps(t,l,e,r,s)},[t,l,r,s,e]),f=y.useContext(vh);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?F.createElement(vh.Provider,{value:d},i):null}return F.createElement(e.type,{ref:u},i)}function JR(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(l4)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(i,s)}return a4(e,i,s,"children"in i?i.children:null,null,d=>F.createElement(Bo.Provider,{value:u},F.createElement(l,{node:d})))});return r.displayName=t.name,r}function Nz(e,t,l=r4){let r=({node:s})=>t(s.props,s.props.ref,s),i=y.forwardRef((s,u)=>{let f=l(s);return a4(e,s,u,null,f,d=>F.createElement(r,{node:d}))??F.createElement(F.Fragment,null)});return i.displayName=t.name,i}function r4(e){return n4({...e,addIdAndValue:!0})}const hv=y.createContext(null);function eM(e){let t=y.useContext(hv),l=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),r=e.idScope??(t==null?void 0:t.idScope),i=r4({...e,idScope:r,dependencies:l});return y.useContext(Uo)&&(i=F.createElement(tM,null,i)),t=y.useMemo(()=>({dependencies:l,idScope:r}),[r,...l]),F.createElement(hv.Provider,{value:t},i)}function tM({children:e}){let t=y.useContext(Uo),l=y.useMemo(()=>F.createElement(Uo.Provider,{value:null},F.createElement(l4.Provider,{value:!0},e)),[e]);return Nl()?F.createElement(vh.Provider,{value:t},l):al.createPortal(l,t)}const Dz=y.createContext(null),i4={CollectionRoot({collection:e,renderDropIndicator:t}){return mv(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:l}){return mv(e,t,l)}};function mv(e,t,l){return n4({items:t?e.getChildren(t.key):e,dependencies:[l],children(r){if(r.type==="content")return F.createElement(F.Fragment,null);let i=r.render(r);return!l||r.type!=="item"?i:F.createElement(F.Fragment,null,l({type:"item",key:r.key,dropPosition:"before"}),i,nM(e,r,l))}})}function nM(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 o4=y.createContext(i4);function lM(e){return y.useMemo(()=>e!=null?new Set([e]):null,[e])}function s4(e){let t=rM(He(e));t!==e&&(t&&aM(t,e),e&&c4(e,t))}function aM(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function c4(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function rM(e){let t=et(e),l=t==null?void 0:t.getAttribute("aria-activedescendant");return l&&e.getElementById(l)||t}const u4=y.createContext(null);function iM(e){let t=y.useRef({});return F.createElement(u4.Provider,{value:t},e.children)}const oM=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(u4);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,E=T[r],L=null;if(x&&i&&E){b("visible");let M=x.getAnimations(),N=E.style.map(([A,B])=>{let _=x.style[A];if(A==="translate"){let $=E.rect,k=x.getBoundingClientRect(),K=$.left-(k==null?void 0:k.left),U=$.top-(k==null?void 0:k.top);x.style.translate=`${K}px ${U}px`}else x.style[A]=B;return[A,_]});for(let A of x.getAnimations())M.includes(A)||A.cancel();L=requestAnimationFrame(()=>{L=null;for(let[A,B]of N)x.style[A]=B}),delete T[r]}else x&&i&&!E?(queueMicrotask(()=>al.flushSync(()=>b("entering"))),L=requestAnimationFrame(()=>{L=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(L!=null&&cancelAnimationFrame(L),x&&x.isConnected&&!x.hasAttribute("data-exiting")){let M=window.getComputedStyle(x);if(M.transitionProperty!=="none"){let N=M.transitionProperty.split(/\s*,\s*/);T[r]={rect:x.getBoundingClientRect(),style:N.map(A=>[A,M[A]])}}}}},[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:F.createElement(ut.div,{...h,...w,ref:l,"data-entering":p==="entering"||void 0,"data-exiting":p==="exiting"||void 0})}),f4=y.createContext({isSelected:!1}),sM=y.forwardRef(function(t,l){[t,l]=yn(t,l,f4);let{isSelected:r,...i}=t;return F.createElement(oM,{...i,ref:l,className:t.className||"react-aria-SelectionIndicator",name:"SelectionIndicator",isVisible:r})}),Du=y.createContext({}),d4=y.forwardRef(function(t,l){[t,l]=yn(t,l,Du);let{elementType:r="span",...i}=t,s=ut[r];return F.createElement(s,{className:"react-aria-Text",...i,ref:l})}),cM=500;function uM(e){let{isDisabled:t,pointerType:l,onLongPressStart:r,onLongPressEnd:i,onLongPress:s,threshold:u=cM,accessibilityDescription:f}=e;const d=y.useRef(void 0);let{addGlobalListener:h,removeAllGlobalListeners:p}=Cu(),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",E=>E.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",E=>E.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=lC(s&&!t?f:void 0);return{longPressProps:Ee(v,w)}}function fM(e,t,l){let{type:r}=e,{isOpen:i}=t;y.useEffect(()=>{l&&l.current&&s5.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 yh(e){return yw()?e.altKey:e.ctrlKey}function k0(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 h4=new WeakMap;function dM(e){let t=_n();return h4.set(e,t),t}function hM(e){return h4.get(e)}const pv=1e3;function mM(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=""},pv)}},u=f=>{let d=pM(f.key);if(!(!d||f.ctrlKey||f.metaKey||f.altKey||!Be(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=""},pv)}};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 pM(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function gM(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:E}=bi(),L=qo();const M=(ue,fe,Ce)=>{if(fe!=null){if(t.isLink(fe)&&x==="selection"&&h&&!yh(ue)){al.flushSync(()=>{t.setFocusedKey(fe,Ce)});let _e=k0(r,fe),Ve=t.getItemProps(fe);if(_e){L.open(_e,ue,Ve.href,Ve.routerOptions);return}return!1}if(t.setFocusedKey(fe,Ce),t.isLink(fe)&&x==="override")return!1;if(ue.shiftKey&&t.selectionMode==="multiple"){t.extendSelection(fe);return}else if(h&&!yh(ue)){t.replaceSelection(fe);return}}return!1};let N=ue=>{var fe,Ce,_e;if(l.getKeyBelow){let Ve=t.focusedKey!=null?(fe=l.getKeyBelow)==null?void 0:fe.call(l,t.focusedKey):(Ce=l.getFirstKey)==null?void 0:Ce.call(l);if(Ve==null&&s&&(Ve=(_e=l.getFirstKey)==null?void 0:_e.call(l,t.focusedKey)),Ve!=null){M(ue,Ve);return}}return!1},A=ue=>{var fe,Ce,_e;if(l.getKeyAbove){let Ve=t.focusedKey!=null?(fe=l.getKeyAbove)==null?void 0:fe.call(l,t.focusedKey):(Ce=l.getLastKey)==null?void 0:Ce.call(l);if(Ve==null&&s&&(Ve=(_e=l.getLastKey)==null?void 0:_e.call(l,t.focusedKey)),Ve!=null){M(ue,Ve);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},_=ue=>{var fe,Ce,_e,Ve;if(l.getKeyLeftOf){let kt=t.focusedKey!=null?(fe=l.getKeyLeftOf)==null?void 0:fe.call(l,t.focusedKey):(Ce=l.getFirstKey)==null?void 0:Ce.call(l);if(kt==null&&s&&(kt=E==="rtl"?(_e=l.getFirstKey)==null?void 0:_e.call(l,t.focusedKey):(Ve=l.getLastKey)==null?void 0:Ve.call(l,t.focusedKey)),kt!=null){M(ue,kt,E==="rtl"?"first":"last");return}}return!1},$=ue=>{var fe,Ce,_e,Ve;if(l.getKeyRightOf){let kt=t.focusedKey!=null?(fe=l.getKeyRightOf)==null?void 0:fe.call(l,t.focusedKey):(Ce=l.getFirstKey)==null?void 0:Ce.call(l);if(kt==null&&s&&(kt=E==="rtl"?(_e=l.getLastKey)==null?void 0:_e.call(l,t.focusedKey):(Ve=l.getFirstKey)==null?void 0:Ve.call(l,t.focusedKey)),kt!=null){M(ue,kt,E==="rtl"?"last":"first");return}}return!1},k=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},K=ue=>{if(l.getKeyPageBelow&&t.focusedKey!=null){let fe=l.getKeyPageBelow(t.focusedKey);if(fe!=null)return M(ue,fe)}return!1},U=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},ne=()=>{if(d==="clearSelection"&&!u&&t.selectedKeys.size!==0){t.clearSelection();return}return!1},le=()=>{if(!v&&r.current){let ue=ll(r.current,{tabbable:!0}),fe,Ce;do Ce=ue.lastChild(),Ce&&(fe=Ce);while(Ce);let _e=et();fe&&(!Oo(fe)||_e&&!qh(_e))&&en(fe)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},j=()=>(!v&&r.current&&r.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),W=(ue,fe)=>({[Fn()?ue+"+Shift+Alt":ue+"+Shift+Control"]:fe,[ue+"+Shift"]:fe,[Fn()?ue+"+Alt":ue+"+Control"]:fe,[ue]:fe}),{keyboardProps:z}=au({shortcuts:{...W("ArrowDown",N),...W("ArrowUp",A),...W("ArrowLeft",_),...W("ArrowRight",$),...W("PageDown",K),...W("PageUp",U)},allowRepeats:!0}),{keyboardProps:O}=au({shortcuts:{...W("Home",B),...W("End",k),"Mod+A":q,Escape:ne,Tab:le,"Tab+Shift":j}}),oe=y.useRef({top:0,left:0});Sc(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,Ve,kt,Sn;if(t.isFocused){Be(ue.currentTarget,ve(ue))||t.setFocused(!1);return}if(!Be(ue.currentTarget,ve(ue)))return;let fe=pa();t.setFocused(!0);let Ce=pt=>{pt!=null&&(t.setFocusedKey(pt),h&&!t.isSelected(pt)&&t.replaceSelection(pt))};if(T&&(fe==="keyboard"||fe==="virtual"))Ce(T==="first"?(_e=l.getFirstKey)==null?void 0:_e.call(l):(Ve=l.getLastKey)==null?void 0:Ve.call(l));else if(t.focusedKey==null){let pt=ue.relatedTarget;pt&&ue.currentTarget.compareDocumentPosition(pt)&Node.DOCUMENT_POSITION_FOLLOWING?Ce(t.lastSelectedKey??((kt=l.getLastKey)==null?void 0:kt.call(l))):Ce(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=k0(r,t.focusedKey);pt instanceof HTMLElement&&(!Oo(pt)&&!b&&en(pt),(fe==="keyboard"||T&&fe==="virtual")&&wb(pt,{containingElement:r.current}))}},G=ue=>{Be(ue.currentTarget,ue.relatedTarget)||t.setFocused(!1)},D=y.useRef(!1);Sc(r,bw,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;Sb(()=>{if(D.current)if(Q==null){let ue=et();s4(r.current),c4(ue,null),t.collection.size>0&&(D.current=!1)}else t.setFocusedKey(Q),D.current=!1},[Q,t.collection.size]),Sb(()=>{t.collection.size>0&&(D.current=!1)},[t.focusedKey]),Sc(r,gw,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 Ce=null;i==="first"&&(Ce=((ue=l.getFirstKey)==null?void 0:ue.call(l))??null),i==="last"&&(Ce=((fe=l.getLastKey)==null?void 0:fe.call(l))??null);let _e=t.selectedKeys;if(_e.size){for(let Ve of _e)if(t.canSelectItem(Ve)){Ce=Ve;break}}t.setFocused(!0),t.setFocusedKey(Ce),Ce==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=k0(r,t.focusedKey);if(!(fe instanceof HTMLElement))return;(ue==="keyboard"||ce.current)&&(ie.current&&cancelAnimationFrame(ie.current),ie.current=requestAnimationFrame(()=>{w.current&&(Kc(w.current,fe),ue!=="virtual"&&wb(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)},[]),Sc(r,"react-aria-focus-scope-restore",ue=>{ue.preventDefault(),t.setFocused(!0)});let xe={...Ee(O,z),onFocus:J,onBlur:G,onMouseDown(ue){w.current===ve(ue)&&ue.preventDefault()}},{typeSelectProps:Ae}=mM({keyboardDelegate:l,selectionManager:t});p||(xe=Ee(Ae,xe));let de;b||(de=t.focusedKey==null?0:-1);let Lt=dM(t.collection);return{collectionProps:Ee(xe,{tabIndex:de,"data-collection":Lt})}}function bM(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=qo();t=_n(t);let w=H=>{if(H.pointerType==="keyboard"&&yh(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?s4(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",E=h&&e.UNSTABLE_itemBehavior==="action",L=l.isLink(r)&&b!=="selection"&&b!=="none",M=!d&&l.canSelectItem(r)&&!T&&!E,N=(h||L)&&!d,A=N&&(l.selectionBehavior==="replace"?!M:!M||l.isEmpty),B=N&&M&&l.selectionBehavior==="replace",_=A||B,$=y.useRef(null),k=_&&M,K=y.useRef(!1),U=y.useRef(!1),q=l.getItemProps(r),ne=H=>{var ie;h&&(h(),(ie=i.current)==null||ie.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),L&&i.current&&v.open(i.current,H,q.href,q.routerOptions)},le={ref:i};s?(le.onPressStart=H=>{$.current=H.pointerType,K.current=k,H.pointerType==="keyboard"&&(!_||bv(H.key))&&w(H)},p?(le.onPressUp=A?void 0:H=>{H.pointerType==="mouse"&&M&&w(H)},le.onPress=A?ne:H=>{H.pointerType!=="keyboard"&&H.pointerType!=="mouse"&&M&&w(H)}):le.onPress=H=>{if(A||B&&H.pointerType!=="mouse"){if(H.pointerType==="keyboard"&&!gv(H.key))return;ne(H)}else H.pointerType!=="keyboard"&&M&&w(H)}):(le.onPressStart=H=>{$.current=H.pointerType,K.current=k,U.current=A,M&&(H.pointerType==="mouse"&&!A||H.pointerType==="keyboard"&&(!N||bv(H.key)))&&w(H)},le.onPress=H=>{(H.pointerType==="touch"||H.pointerType==="pen"||H.pointerType==="virtual"||H.pointerType==="keyboard"&&_&&gv(H.key)||H.pointerType==="mouse"&&U.current)&&(_?ne(H):M&&w(H))});let j=hM(l.collection);if(x["data-collection"]=j,x["data-key"]=r,le.preventFocusOnPress=u,u&&(le=Ee(le,{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]&&(le[H]=er(le[H],q[H]));let{pressProps:W,isPressed:z}=lr(le),O=B?H=>{$.current==="mouse"&&(H.stopPropagation(),H.preventDefault(),ne(H))}:void 0,{longPressProps:oe}=uM({isDisabled:!k,onLongPress(H){H.pointerType==="touch"&&(w(H),l.setSelectionBehavior("toggle"))}}),J=H=>{$.current==="touch"&&K.current&&H.preventDefault()},G=b!=="none"&&l.isLink(r)?H=>{Al.isOpening||H.preventDefault()}:void 0,D=Ee(x,M||A||u&&!d?W:{},k?oe:{},{onDoubleClick:O,onDragStartCapture:J,onClick:G,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 qh(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:_}}function gv(e){return e==="Enter"}function bv(e){return e===" "}function vM(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function yM(e){return xM(e,0)}function xM(e,t){if(t<0)return;let l=0;for(let r of e){if(l===t)return r;l++}}function $z(e){let t;for(let l of e)t=l;return t}function N0(e,t,l){if(t.parentKey===l.parentKey)return t.index-l.index;let r=[...vv(e,t),t],i=[...vv(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 vv(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 SM(e){let t=i2(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 o2{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&&N0(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&&N0(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?N0(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=yM(vM(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 o2(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}class wM{build(t,l){return this.context=l,yv(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:l,items:r}=t;if(F.isValidElement(l)&&l.type===F.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=[];F.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(F.isValidElement(t.element)&&t.element.type===F.Fragment){let d=[];F.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(F.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:CM(t.wrapper,v.wrapper)},this.getChildState(l,v),r?`${r}${s.key}`:s.key,i)];for(let E of T){if(E.value=v.value??t.value??null,E.value&&this.cache.set(E.value,E),t.type&&E.type!==t.type)throw new Error(`Unsupported type <${D0(E.type)}> in <${D0((i==null?void 0:i.type)??"unknown parent type")}>. Only <${D0(t.type)}> is supported.`);p++,yield E}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:yv(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 yv(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 CM(e,t){if(e&&t)return l=>e(t(l));if(e)return e;if(t)return t}function D0(e){return e[0].toUpperCase()+e.slice(1)}function EM(e,t,l){let r=y.useMemo(()=>new wM,[]),{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 TM(e,t){if(e.size!==t.size)return!1;for(let l of e)if(!t.has(l))return!1;return!0}function RM(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(()=>xv(e.selectedKeys),[e.selectedKeys]),v=y.useMemo(()=>xv(e.defaultSelectedKeys,new Kn),[e.defaultSelectedKeys]),[w,x]=Au(b,v,e.onSelectionChange),T=y.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[E,L]=y.useState(i);i==="replace"&&E==="toggle"&&typeof w=="object"&&w.size===0&&L("replace");let M=y.useRef(i);return y.useEffect(()=>{i!==M.current&&(L(i),M.current=i)},[i]),{selectionMode:t,disallowEmptySelection:l,selectionBehavior:E,setSelectionBehavior:L,get isFocused(){return u.current},setFocused(N){u.current=N,f(N)},get focusedKey(){return d.current},get childFocusStrategy(){return h.current},setFocusedKey(N,A="first"){d.current=N,h.current=A,p(N)},selectedKeys:w,setSelectedKeys(N){(r||!TM(N,w))&&x(N)},disabledKeys:T,disabledBehavior:s}}function xv(e,t){return e?e==="all"?"all":new Kn(e):t}const MM=y.createContext(null),N2=class N2 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}};N2.type="submenutrigger";let Sv=N2;function AM(e,t){let{role:l="dialog"}=e,r=W0();r=e["aria-label"]?void 0:r;let i=W0();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]),Z5(),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 m4=y.createContext(null),yi=y.createContext(null);function LM(e){let t=SM(e),l=y.useRef(null),{triggerProps:r,overlayProps:i}=fM({type:"dialog"},t,l);return r.id=_n(),i["aria-labelledby"]=r.id,F.createElement(sr,{values:[[yi,t],[MM,t],[m4,i],[Q5,{trigger:"DialogTrigger",triggerRef:l,id:i.id,"aria-labelledby":i["aria-labelledby"]}]]},F.createElement(HR,{...r,ref:l,isPressed:t.isOpen},e.children))}const kM=y.forwardRef(function(t,l){let r=t["aria-labelledby"];[t,l]=yn(t,l,m4);let{dialogProps:i,titleProps:s,contentProps:u}=AM({...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 F.createElement(ut.section,{...Ee(h,d,i),render:t.render,ref:l,slot:t.slot||void 0},F.createElement(sr,{values:[[t5,{slots:{[fi]:{},title:{...s,level:2}}}],[Du,{slots:{[fi]:{},description:u}}],[n2,{slots:{[fi]:{},close:{onPress:()=>f==null?void 0:f.close()}}}]]},d.children))});function NM(e,t,l){let{overlayProps:r,underlayProps:i}=f5({...e,isOpen:t.isOpen,onClose:t.close},l);return d5({isDisabled:!t.isOpen}),Z5(),y.useEffect(()=>{if(t.isOpen&&l.current)return i5([l.current],{shouldUseInert:!0})},[t.isOpen,l]),{modalProps:Ee(r),underlayProps:i}}const DM=y.createContext(null),s2=y.createContext(null),$M=y.forwardRef(function(t,l){if(y.useContext(s2))return F.createElement(wv,{...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 F.createElement(p4,{isDismissable:i,isKeyboardDismissDisabled:s,isOpen:u,defaultOpen:f,onOpenChange:d,isEntering:p,isExiting:b,UNSTABLE_portalContainer:v,shouldCloseOnInteractOutside:w},F.createElement(wv,{...x,modalRef:l},h))});function zM(e,t){[e,t]=yn(e,t,DM);let l=y.useContext(yi),r=i2(e),i=e.isOpen!=null||e.defaultOpen!=null||!l?r:l,s=bn(t),u=y.useRef(null),f=Qc(s,i.isOpen),d=Qc(u,i.isOpen),h=f||d||e.isExiting||!1,p=Nl();return!i.isOpen&&!h||p?null:F.createElement(PM,{...e,state:i,isExiting:h,overlayRef:s,modalRef:u})}const p4=y.forwardRef(zM);function PM({UNSTABLE_portalContainer:e,...t}){let l=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:s}=NM(t,r,l),u=Eu(t.overlayRef)||t.isEntering||!1,f=At({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:u,isExiting:t.isExiting,state:r}}),d=tC(),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 F.createElement(bh,{isExiting:t.isExiting,portalContainer:e},F.createElement(ut.div,{...Ee(mt(t,{global:!0}),s),...f,style:b,ref:t.overlayRef,"data-entering":u||void 0,"data-exiting":t.isExiting||void 0},F.createElement(sr,{values:[[s2,{modalProps:i,modalRef:l,isExiting:t.isExiting,isDismissable:t.isDismissable}],[yi,r]]},f.children)))}function wv(e){let{modalProps:t,modalRef:l,isExiting:r,isDismissable:i}=y.useContext(s2),s=y.useContext(yi),u=y.useMemo(()=>ya(e.modalRef,l),[e.modalRef,l]),f=bn(u),d=Eu(f),h=At({...e,defaultClassName:"react-aria-Modal",values:{isEntering:d,isExiting:r,state:s}});return F.createElement(ut.div,{...Ee(mt(e,{global:!0}),t),...h,ref:f,"data-entering":d||void 0,"data-exiting":r||void 0},i&&F.createElement(gh,{onDismiss:s.close}),h.children)}const OM=F.forwardRef(({children:e,...t},l)=>{l=bn(l);let{pressProps:r}=lr({...t,ref:l}),{focusableProps:i}=Yo(t,l),s=F.Children.only(e);y.useEffect(()=>{},[l,t.isDisabled]);let u=parseInt(F.version,10)<19?s.ref:s.props.ref;return F.cloneElement(s,{...Ee(r,i,s.props),ref:ya(u,l)})}),Cv=({children:e,className:t,slot:l,style:r,variant:i,...s})=>{const u=y.useMemo(()=>nT({variant:i}),[i]);return C.jsx(e5,{"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??C.jsx(nR,{"data-slot":"close-button-icon"})})},g4=Object.assign(Cv,{Root:Cv}),jM=y.createContext({}),IM=y.forwardRef(function(t,l){[t,l]=yn(t,l,jM);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 F.createElement(ut.div,{...Ee(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)}),BM=y.createContext(null),b4={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},v4={...b4,customError:!0,valid:!1},ai={isInvalid:!1,validationDetails:b4,validationErrors:[]},HM=y.createContext({}),su="__reactAriaFormValidationState";function y4(e){if(e[su]){let{realtimeValidation:t,displayValidation:l,updateValidation:r,resetValidation:i,commitValidation:s}=e[su];return{realtimeValidation:t,displayValidation:l,updateValidation:r,resetValidation:i,commitValidation:s}}return KM(e)}function KM(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:v4}:null,h=y.useMemo(()=>{if(!u||i==null)return null;let U=UM(u,i);return Ev(U)},[u,i]);s!=null&&s.validationDetails.valid&&(s=void 0);let p=y.useContext(HM),b=y.useMemo(()=>r?Array.isArray(r)?r.flatMap(U=>xh(p[U])):xh(p[r]):[],[p,r]),[v,w]=y.useState(p),[x,T]=y.useState(!1);p!==v&&(w(p),T(!1));let E=y.useMemo(()=>Ev(x?[]:b),[x,b]),L=y.useRef(ai),[M,N]=y.useState(ai),A=y.useRef(ai),B=()=>{if(!_)return;$(!1);let U=h||s||L.current;$0(U,A.current)||(A.current=U,N(U))},[_,$]=y.useState(!1);return y.useEffect(B),{realtimeValidation:d||E||h||s||ai,displayValidation:f==="native"?d||E||M:d||E||h||s||M,updateValidation(U){f==="aria"&&!$0(M,U)?N(U):L.current=U},resetValidation(){let U=ai;$0(U,A.current)||(A.current=U,N(U)),f==="native"&&$(!1),T(!0)},commitValidation(){f==="native"&&$(!0),T(!0)}}}function xh(e){return e?Array.isArray(e)?e:[e]:[]}function UM(e,t){if(typeof e=="function"){let l=e(t);if(l&&typeof l!="boolean")return xh(l)}return[]}function Ev(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:v4}:null}function $0(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 VM=y.createContext(null);class Tv{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 FM(e){let{filter:t,layoutDelegate:l}=e,r=RM(e),i=y.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),s=y.useCallback(h=>t?new Tv(t(h)):new Tv(h),[t]),u=y.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),f=EM(e,s,u),d=y.useMemo(()=>new o2(f,r,{layoutDelegate:l}),[f,r,l]);return x4(f,d),{collection:f,disabledKeys:i,selectionManager:d}}function zz(e,t){let l=y.useMemo(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(l);return x4(l,r),{collection:l,selectionManager:r,disabledKeys:e.disabledKeys}}function x4(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 _M(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(qM(l.current))}});let s=y.useRef(!1),u=Vn(()=>{s.current||t.resetValidation()}),f=Vn(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&&YM(p)===l.current&&(i?i():(v=l.current)==null||v.focus(),TT("keyboard")),h.preventDefault()}),d=Vn(()=>{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 GM(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 qM(e){return{isInvalid:!e.validity.valid,validationDetails:GM(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function YM(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 XM(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 L;const{scope:v,children:w,...x}=b,T=((L=v==null?void 0:v[e])==null?void 0:L[d])||f,E=y.useMemo(()=>x,Object.values(x));return C.jsx(T.Provider,{value:E,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,WM(i,...t)]}function WM(...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 ZM(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 Sh=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{};function Rv(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function QM(...e){return t=>{let l=!1;const r=e.map(i=>{const s=Rv(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():Rv(e[i],null)}}}}var JM=Symbol.for("react.lazy"),cu=mS[" use ".trim().toString()];function eA(e){return typeof e=="object"&&e!==null&&"then"in e}function S4(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===JM&&"_payload"in e&&eA(e._payload)}function tA(e){const t=nA(e),l=y.forwardRef((r,i)=>{let{children:s,...u}=r;S4(s)&&typeof cu=="function"&&(s=cu(s._payload));const f=y.Children.toArray(s),d=f.find(aA);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 C.jsx(t,{...u,ref:i,children:y.isValidElement(h)?y.cloneElement(h,void 0,p):null})}return C.jsx(t,{...u,ref:i,children:s})});return l.displayName=`${e}.Slot`,l}function nA(e){const t=y.forwardRef((l,r)=>{let{children:i,...s}=l;if(S4(i)&&typeof cu=="function"&&(i=cu(i._payload)),y.isValidElement(i)){const u=iA(i),f=rA(s,i.props);return i.type!==y.Fragment&&(f.ref=r?QM(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 lA=Symbol("radix.slottable");function aA(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===lA}function rA(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 iA(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 oA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],c2=oA.reduce((e,t)=>{const l=tA(`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),C.jsx(d,{...f,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function sA(){return Nu.useSyncExternalStore(cA,()=>!0,()=>!1)}function cA(){return()=>{}}var u2="Avatar",[uA]=XM(u2),[fA,w4]=uA(u2),C4=y.forwardRef((e,t)=>{const{__scopeAvatar:l,...r}=e,[i,s]=y.useState("idle");return C.jsx(fA,{scope:l,imageLoadingStatus:i,onImageLoadingStatusChange:s,children:C.jsx(c2.span,{...r,ref:t})})});C4.displayName=u2;var E4="AvatarImage",T4=y.forwardRef((e,t)=>{const{__scopeAvatar:l,src:r,onLoadingStatusChange:i=()=>{},...s}=e,u=w4(E4,l),f=dA(r,s),d=ZM(h=>{i(h),u.onImageLoadingStatusChange(h)});return Sh(()=>{f!=="idle"&&d(f)},[f,d]),f==="loaded"?C.jsx(c2.img,{...s,ref:t,src:r}):null});T4.displayName=E4;var R4="AvatarFallback",M4=y.forwardRef((e,t)=>{const{__scopeAvatar:l,delayMs:r,...i}=e,s=w4(R4,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"?C.jsx(c2.span,{...i,ref:t}):null});M4.displayName=R4;function Mv(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function dA(e,{referrerPolicy:t,crossOrigin:l}){const r=sA(),i=y.useRef(null),s=r?(i.current||(i.current=new window.Image),i.current):null,[u,f]=y.useState(()=>Mv(s,e));return Sh(()=>{f(Mv(s,e))},[s,e]),Sh(()=>{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 hA=C4,mA=T4,pA=M4;const f2=y.createContext({}),Av=({children:e,className:t,color:l,size:r,variant:i,...s})=>{const u=F.useMemo(()=>QE({color:l,size:r,variant:i}),[l,r,i]);return C.jsx(f2,{value:{slots:u},children:C.jsx(hA,{className:u.base({className:t}),...s,children:e})})},gA=({className:e,crossOrigin:t,loading:l,onError:r,onLoad:i,sizes:s,src:u,srcSet:f,...d})=>{const{slots:h}=F.use(f2);return C.jsx(mA,{className:Je(h==null?void 0:h.image,e),crossOrigin:t,loading:l,sizes:s,src:u,srcSet:f,onError:r,onLoad:i,...d})},bA=({className:e,color:t,...l})=>{const{slots:r}=F.use(f2);return C.jsx(pA,{className:Je(r==null?void 0:r.fallback,e,{color:t}),"data-slot":"avatar-fallback",...l})},z0=Object.assign(Av,{Root:Av,Image:gA,Fallback:bA});function vA(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}=Yo(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=Ee(b,v),E=qo(),L=t3(e);return{isPressed:w,linkProps:Ee(x,L,{...T,...p,"aria-disabled":d||void 0,"aria-current":e["aria-current"],onClick:M=>{var N;(N=v.onClick)==null||N.call(v,M),Aw(M,E,e.href,e.routerOptions)}})}}const yA=y.createContext(null),xA=y.forwardRef(function(t,l){[t,l]=yn(t,l,yA);let r=t.href&&!t.isDisabled?"a":"span",{linkProps:i,isPressed:s}=vA({...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,F.createElement(u,{ref:l,slot:t.slot||void 0,...Ee(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)}),A4=y.createContext({}),Lv=({children:e,className:t,...l})=>{const r=F.useMemo(()=>lT(),[]);return C.jsx(A4,{value:{slots:r},children:C.jsx(xA,{"data-slot":"link",...l,className:Mt(t,r==null?void 0:r.base()),children:i=>C.jsx(C.Fragment,{children:typeof e=="function"?e(i):e})})})},SA=({children:e,className:t,...l})=>{const{slots:r}=y.use(A4);return C.jsx(Et.span,{className:Je(r==null?void 0:r.icon,t),"data-default-icon":fh(!e),"data-slot":"link-icon",...l,children:e??C.jsx(tR,{"data-slot":"link-default-icon"})})},Dc=Object.assign(Lv,{Root:Lv,Icon:SA}),wA=y.createContext({});function L4(e={}){let{isReadOnly:t}=e,[l,r]=Au(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 d2=y.createContext({}),k4="__button_group_child",Pz=({children:e,className:t,fullWidth:l,isDisabled:r,orientation:i,size:s,variant:u,...f})=>{const d=Ru(wA),h=i??(d==null?void 0:d.orientation)??"horizontal",p=F.useMemo(()=>eT({fullWidth:l,orientation:h}),[l,h]),b=y.Children.map(e,v=>y.isValidElement(v)?F.cloneElement(v,{[k4]:!0}):v);return C.jsx(d2,{value:{slots:p,size:s,variant:u,isDisabled:r,fullWidth:l},children:C.jsx(IM,{className:Mt(t,p.base()),"data-slot":"button-group",isDisabled:r,...f,children:b})})},Oz=({className:e,...t})=>{const{slots:l}=y.use(d2);return C.jsx(Et.span,{"aria-hidden":"true",className:Je(l==null?void 0:l.separator,e),"data-slot":"button-group-separator",...t})},kv=({children:e,className:t,fullWidth:l,isDisabled:r,isIconOnly:i,size:s,slot:u,style:f,variant:d,[k4]:h,...p})=>{const b=y.use(d2),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),E=l??(v?b==null?void 0:b.fullWidth:void 0),L=JE({fullWidth:E,isIconOnly:i,size:w,variant:x});return C.jsx(e5,{className:Mt(t,L),"data-slot":"button",isDisabled:T,slot:u,style:f,...p,children:M=>typeof e=="function"?e(M):e})},nn=Object.assign(kv,{Root:kv}),CA=new WeakMap;function EA(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 Nv(e=!0){let t=_n(),[l,r]=EA(e);return{id:r?t:void 0,ref:l}}function TA(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:E,onPress:L,onPressUp:M,onClick:N}=e,A=y4({...e,value:t.isSelected}),{isInvalid:B,validationErrors:_,validationDetails:$}=A.displayValidation;_M(e,A,l);let k=J=>{J.stopPropagation(),t.setSelected(ve(J).checked)},{pressProps:K,isPressed:U}=lr({onPressStart:x,onPressEnd:T,onPressChange:E,onPress:L,onPressUp:M,onClick:N,isDisabled:r}),[q,ne]=y.useState(!1),{pressProps:le}=lr({onPressStart(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}x==null||x(J),E==null||E(!0),ne(!0)},onPressEnd(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}T==null||T(J),E==null||E(!1),ne(!1)},onPressUp(J){if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}M==null||M(J)},onClick:N,onPress(J){var Q;if(J.pointerType==="keyboard"||J.pointerType==="virtual"){J.continuePropagation();return}L==null||L(J),t.toggle(),(Q=l.current)==null||Q.focus();let{[su]:G}=e,{commitValidation:D}=G||A;D()},isDisabled:r||i}),{focusableProps:j}=Yo(e,l),W=Ee(K,j),z=mt(e,{labelable:!0});rC(l,t.defaultSelected,t.setSelected);let O=Nv(),oe=Nv();return{labelProps:Ee(le,{onClick:J=>J.preventDefault()}),inputProps:Ee(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:k,disabled:r,...s==null?{}:{value:s},name:u,form:f,type:"checkbox",...W}),descriptionProps:O,errorMessageProps:oe,isSelected:t.isSelected,isPressed:U||q,isDisabled:r,isReadOnly:i,isInvalid:B||e.validationState==="invalid",validationErrors:_,validationDetails:$}}function N4(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}=TA(e,t,l),{isIndeterminate:x}=e;return y.useEffect(()=>{l.current&&(l.current.indeterminate=!!x)}),{labelProps:Ee(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 RA(e,t,l){const r=L4({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}=CA.get(t);d=e.validationBehavior??d;let{realtimeValidation:h}=y4({...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=N4({...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,[su]:{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 jz=y.createContext(null),MA=y.createContext(null),D4=y.createContext(null),$4=y.createContext(null),AA=y.forwardRef(function(t,l){let{inputRef:r=null,...i}=t;[t,l]=yn(i,l,MA);let s=y.useContext(D4),[u,f]=LA(t,r),{descriptionProps:d,errorMessageProps:h,isSelected:p,isDisabled:b,isReadOnly:v,isInvalid:w,validationDetails:x,validationErrors:T}=u,E=At({...t,defaultClassName:"react-aria-CheckboxField",values:{isSelected:p,isIndeterminate:t.isIndeterminate||!1,isDisabled:b,isReadOnly:v,isInvalid:w,isRequired:t.isRequired||!1}}),L=mt(t,{global:!0});return delete L.id,delete L.onClick,F.createElement(ut.div,{...Ee(L,E),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},F.createElement(sr,{values:[[$4,{...u,inputRef:f,defaultClassName:"react-aria-CheckboxButton",isIndeterminate:t.isIndeterminate,isRequired:t.isRequired}],[Du,{slots:{description:d,errorMessage:h}}],[BM,s?null:{isInvalid:w,validationDetails:x,validationErrors:T}]]},E.children))});function LA(e,t){let{validationBehavior:l}=Ru(VM)||{},r=e.validationBehavior??l??"native",i=y.useContext(D4),s=bn(y.useMemo(()=>ya(t,e.inputRef!==void 0?e.inputRef:null),[t,e.inputRef])),u={...uT(e),children:typeof e.children=="function"?!0:e.children,value:e.value,validationBehavior:r};return[i?RA(u,i,s):N4(u,L4(e),s),s]}const kA=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($4),{isFocused:x,isFocusVisible:T,focusProps:E}=Dl(),L=u||f,{hoverProps:M,isHovered:N}=Sa({...t,isDisabled:L}),A=At({...t,defaultClassName:b,values:{isSelected:s,isIndeterminate:v||!1,isPressed:d,isHovered:N,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,F.createElement(ut.label,{...Ee(B,r,M,A),ref:l,slot:t.slot||void 0,"data-selected":s||void 0,"data-indeterminate":v||void 0,"data-pressed":d||void 0,"data-hovered":N||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},F.createElement(Y5,{elementType:"span"},F.createElement("input",{...Ee(i,E),ref:p})),A.children)}),NA=y.createContext({}),$u=y.createContext({}),wh=({children:e,className:t,variant:l,...r})=>{const i=y.use(NA),s=l??i.variant,u=F.useMemo(()=>tT({variant:s}),[s]);return C.jsx(AA,{"data-slot":"checkbox",...r,className:Mt(t,u.base()),children:f=>C.jsx($u,{value:{slots:u,state:f},children:typeof e=="function"?e(f):e})})};wh.displayName="HeroUI.Checkbox";const z4=({children:e,className:t,...l})=>{const{slots:r}=y.use($u);return C.jsx(kA,{"data-slot":"checkbox-content",...l,className:Mt(t,r==null?void 0:r.content()),children:e})};z4.displayName="HeroUI.Checkbox.Content";const P4=({children:e,className:t,...l})=>{const{slots:r}=y.use($u);return C.jsx(Et.span,{className:Je(r==null?void 0:r.control,t),"data-slot":"checkbox-control",...l,children:e})};P4.displayName="HeroUI.Checkbox.Control";const O4=({children:e,className:t,...l})=>{const{slots:r,state:i}=y.use($u),s=i==null?void 0:i.isSelected,u=i==null?void 0:i.isIndeterminate,f=typeof e=="function"?e(i??{}):e||(u?C.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:C.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})}):C.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:C.jsx("polyline",{points:"1 9 7 14 15 4"})}));return C.jsx(Et.span,{"aria-hidden":"true",className:Je(r==null?void 0:r.indicator,t),"data-slot":"checkbox-indicator",...l,children:f})};O4.displayName="HeroUI.Checkbox.Indicator";const ha=Object.assign(wh,{Root:wh,Content:z4,Control:P4,Indicator:O4}),ri={blue:"\x1B[34m",green:"\x1B[32m",magenta:"\x1B[35m",red:"\x1B[31m",reset:"\x1B[0m",yellow:"\x1B[33m"},DA={debug:ri.magenta,error:ri.red,info:ri.blue,success:ri.green,warn:ri.yellow},$A={debug:"🔍",error:"❌",info:"ℹ️",success:"✅",warn:"⚠️"};class zA{constructor(t={}){this.enabled=t.enabled??!0,this.prefix=t.prefix??"HeroUI"}formatMessage(t,l){const r=DA[t],i=$A[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 zA({prefix:"HeroUI"});const PA=e=>{const t=`$$heroui.collection.${e}`,l=y.createContext(void 0),r=(d,h)=>y.Children.map(d,p=>y.isValidElement(p)?F.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})=>C.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:E,...L}=T;if(!x)return C.jsx(d,{...L,ref:w,children:E});if(h)return h({...L,children:E},x,w);const{className:M,render:N,...A}=x;return C.jsx(d,{...L,ref:w,children:N?N({children:E,className:M,...A}):C.jsx("div",{className:M,"data-slot":`${e}-container`,...A,children:E})})});return p.displayName=`HeroUI.withCollectionSlot(${d.displayName||d.name||e})`,p},Context:l}},OA=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,E=v+x+r<w-1,L=f.current;L&&L.hasScrollBefore===T&&L.hasScrollAfter===E||(f.current={hasScrollBefore:T,hasScrollAfter:E},d.current!==null&&cancelAnimationFrame(d.current),d.current=requestAnimationFrame(()=>{d.current=null,b?T&&E?(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(E),delete p.dataset.topBottomScroll,i&&i(T?"top":E?"bottom":"none")):T&&E?(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(E),delete p.dataset.leftRightScroll,i&&i(T?"left":E?"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])},jA=globalThis!=null&&globalThis.document?y.useLayoutEffect:y.useEffect,Ch=({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);OA({containerRef:v,isEnabled:r,offset:i,onVisibilityChange:s,orientation:u,visibility:p}),jA(()=>{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(()=>aT({hideScrollBar:l,orientation:u,variant:h}),[u,l,h]),x={"--scroll-shadow-size":`${d}px`,...b.style};return C.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})};Ch.displayName="HeroUI.ScrollShadow";const IA=Object.assign(Ch,{Root:Ch}),BA=({...e})=>{const t=y.useId();return C.jsxs("svg",{"data-slot":"spinner-icon",viewBox:"0 0 24 24",...e,children:[C.jsxs("defs",{children:[C.jsxs("linearGradient",{id:`«data-slot-icon-def-1»-${t}`,x1:"50%",x2:"50%",y1:"5.271%",y2:"91.793%",children:[C.jsx("stop",{offset:"0%",stopColor:"currentColor"}),C.jsx("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:.55})]}),C.jsxs("linearGradient",{id:`«data-slot-icon-def-2»-${t}`,x1:"50%",x2:"50%",y1:"15.24%",y2:"87.15%",children:[C.jsx("stop",{offset:"0%",stopColor:"currentColor",stopOpacity:0}),C.jsx("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:.55})]})]}),C.jsxs("g",{fill:"none",children:[C.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"}),C.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)"}),C.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)"})]})]})},Dv=({className:e,color:t,size:l,...r})=>C.jsx(Et.span,{"aria-label":"Loading","data-slot":"spinner",role:"status",...r,className:rT({className:e,color:t,size:l}),children:C.jsx(BA,{"aria-hidden":!0})}),HA=Object.assign(Dv,{Root:Dv}),j4=Object.assign(Fb,{Root:Fb}),I4=12,B4=3,H4=Number.MAX_SAFE_INTEGER,K4=.05,KA=460,U4=4e3;var V4={};V4={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var F4={};F4={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var _4={};_4={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 G4={};G4={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var q4={};q4={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var Y4={};Y4={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var X4={};X4={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var W4={};W4={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var Z4={};Z4={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var Q4={};Q4={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var J4={};J4={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var e6={};e6={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var t6={};t6={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var n6={};n6={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 l6={};l6={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var a6={};a6={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var r6={};r6={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var i6={};i6={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 o6={};o6={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 s6={};s6={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var c6={};c6={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var u6={};u6={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 f6={};f6={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var d6={};d6={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var h6={};h6={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var m6={};m6={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var p6={};p6={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 g6={};g6={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 b6={};b6={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var v6={};v6={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var y6={};y6={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var x6={};x6={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var S6={};S6={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var w6={};w6={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var h2={};h2={"ar-AE":V4,"bg-BG":F4,"cs-CZ":_4,"da-DK":G4,"de-DE":q4,"el-GR":Y4,"en-US":X4,"es-ES":W4,"et-EE":Z4,"fi-FI":Q4,"fr-FR":J4,"he-IL":e6,"hr-HR":t6,"hu-HU":n6,"it-IT":l6,"ja-JP":a6,"ko-KR":r6,"lt-LT":i6,"lv-LV":o6,"nb-NO":s6,"nl-NL":c6,"pl-PL":u6,"pt-BR":f6,"pt-PT":d6,"ro-RO":h6,"ru-RU":m6,"sk-SK":p6,"sl-SI":g6,"sr-SP":b6,"sv-SE":v6,"tr-TR":y6,"uk-UA":x6,"zh-CN":S6,"zh-TW":w6};function UA(e){return e&&e.__esModule?e.default:e}function VA(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=W0(),d=r2(UA(h2),"@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 C6=1,P0=Symbol.for("react-aria-landmark-manager");function FA(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function $v(){if(typeof document>"u")return null;let e=document[P0];return e&&e.version>=C6?e:(document[P0]=new GA,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[P0])}function _A(){return Nu.useSyncExternalStore(FA,$v,$v)}class GA{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=C6,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(Be(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 qA(e,t){const{role:l,"aria-label":r,"aria-labelledby":i,focus:s}=e;let u=_A(),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 YA(e){return e&&e.__esModule?e.default:e}function XA(e,t,l){let r=r2(YA(h2),"@react-aria/toast"),{landmarkProps:i}=qA({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 E;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((L,M)=>L.key===p.current[M].key)){p.current=t.visibleToasts;return}let x=p.current.map((L,M)=>({...L,i:M,isRemoved:!t.visibleToasts.some(N=>L.key===N.key)})),T=x.findIndex(L=>L.i===b.current&&L.isRemoved);if(T>-1)if(pa()==="pointer"&&((E=v.current)!=null&&E.isConnected))en(v.current);else{let L=0,M,N;for(;L<=T;)x[L].isRemoved||(N=Math.max(0,L-1)),L++;for(;L<x.length;){if(!x[L].isRemoved){M=L-1;break}L++}N===void 0&&M===void 0&&(N=0),N>=0&&N<h.current.length?en(h.current[N]):M>=0&&M<h.current.length&&en(h.current[M])}p.current=t.visibleToasts},[t.visibleToasts,l]);let v=y.useRef(null),{focusWithinProps:w}=Xo({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:Ee(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(E=>E===T)},onBlur:()=>{b.current=-1}})}}function WA(e){let t=y.useCallback(i=>e.subscribe(i),[e]),l=y.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:Nu.useSyncExternalStore(t,l,l),add:(i,s)=>e.add(i,s),close:i=>e.close(i),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class ZA{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 QA(()=>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 QA{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 zu=y.createContext(null),JA=y.forwardRef(function(t,l){let r=Nl(),i=WA(t.queue),s=bn(l),{regionProps:u}=XA(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}=X5();r||(x=document.body,T&&(x=T()));let E=mt(t,{global:!0}),L=F.createElement(zu.Provider,{value:i},F.createElement(ut.div,{...Ee(E,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"?F.createElement(eL,{...t,render:void 0,className:void 0,style:{display:"contents"}},t.children):t.children));return i.visibleToasts.length>0&&x?al.createPortal(L,x):null}),eL=y.forwardRef(function(t,l){let r=y.useContext(zu),{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 F.createElement(ut.ol,{...i,...u,ref:l},r.visibleToasts.map(f=>F.createElement("li",{key:f.key,style:{display:"contents"}},t.children({toast:f}))))}),tL=y.forwardRef(function(t,l){let r=y.useContext(zu),i=bn(l),{toastProps:s,contentProps:u,titleProps:f,descriptionProps:d,closeButtonProps:h}=VA(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 F.createElement(ut.div,{...Ee(x,w,s,p),ref:i,"data-focused":b||void 0,"data-focus-visible":v||void 0},F.createElement(sr,{values:[[E6,u],[Du,{slots:{[fi]:{},title:f,description:d}}],[n2,{slots:{[fi]:{},close:h}}]]},w.children))}),E6=y.createContext({}),nL=y.forwardRef(function(t,l){return[t,l]=yn(t,l,E6),F.createElement(ut.div,{render:t.render,className:"react-aria-ToastContent",...t,ref:l},t.children)});class Wo{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 ZA({maxVisibleToasts:H4,wrapUpdate:(t==null?void 0:t.wrapUpdate)??r})}add(t,l){const r=(l==null?void 0:l.timeout)!==void 0?l.timeout:U4;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 lL(e){const t=(l,r)=>{const i=(r==null?void 0:r.timeout)!==void 0?r.timeout:U4;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 aL=new Wo({maxVisibleToasts:H4}),T6=lL(aL),rL=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}},R6=typeof window<"u"?y.useLayoutEffect:y.useEffect,iL=typeof window>"u";function oL(e,{defaultValue:t=!1,initializeWithValue:l=!0}={}){const r=f=>iL?t:window.matchMedia(f).matches,[i,s]=y.useState(()=>l?r(e):t);function u(){s(r(e))}return R6(()=>{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({}),m2=({children:e,className:t,placement:l,scaleFactor:r=K4,toast:i,variant:s,...u})=>{const{gap:f=I4,heightsByKey:d,maxVisibleToasts:h=B4,onToastHeightChange:p,onToastHeightRemove:b,placement:v,scaleFactor:w,slots:x}=y.use(wa),T=l??v,E=r??w,M=y.use(zu).visibleToasts,N=M.indexOf(i),A=N<=0,B=T==null?void 0:T.startsWith("bottom"),_=N>=h,$=i==null?void 0:i.key,k=y.useRef(null),{height:K}=rL(k);y.useEffect(()=>{$&&typeof K=="number"&&(p==null||p($,K))},[$,K,p]),y.useEffect(()=>{if($)return()=>{b==null||b($)}},[$,b]),y.useLayoutEffect(()=>{const q=k.current;q&&(q.tabIndex=A?0:-1)},[A]);const U=y.useMemo(()=>{var z;const q=(z=M[0])==null?void 0:z.key,ne=(q?d==null?void 0:d[q]:void 0)??K??0,le=N*f,j=(B?-1:1)*le;return{scale:`${1-N*E}`,translate:`0 ${j}px 0`,viewTransitionName:`toast-${String(i.key).replace(/[^a-zA-Z0-9]/g,"-")}`,zIndex:M.length-N,...ne?{"--front-height":`${ne}px`}:null,opacity:_?0:1,pointerEvents:_?"none":"auto",...u.style}},[E,f,d,N,B,A,_,u.style,i==null?void 0:i.key,K,M]);return C.jsx(tL,{ref:k,"aria-hidden":_,className:Mt(t,x==null?void 0:x.toast({variant:s})),"data-frontmost":fh(A),"data-hidden":fh(_),"data-index":N,"data-slot":"toast",style:U,toast:i,...u,children:e})};m2.displayName="HeroUI.Toast";const M6=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return C.jsx(nL,{className:Je(r==null?void 0:r.content,t),"data-slot":"toast-content",...l,children:e})},uu=({children:e,className:t,variant:l,...r})=>{const{slots:i}=y.use(wa),s=y.useCallback(()=>{switch(l){case"accent":return C.jsx(ru,{"data-slot":"toast-default-icon"});case"success":return C.jsx(a5,{"data-slot":"toast-default-icon"});case"warning":return C.jsx(n5,{"data-slot":"toast-default-icon"});case"danger":return C.jsx(l5,{"data-slot":"toast-default-icon"});default:return C.jsx(ru,{"data-slot":"toast-default-icon"})}},[l]);return C.jsx(Et.div,{className:Je(i==null?void 0:i.indicator,t),"data-slot":"toast-indicator",...r,children:e??s()})};uu.displayName="HeroUI.ToastIndicator";const p2=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return C.jsx(d4,{className:Je(r==null?void 0:r.title,t),"data-slot":"toast-title",slot:"title",...l,children:e})};p2.displayName="HeroUI.ToastTitle";const g2=({children:e,className:t,...l})=>{const{slots:r}=y.use(wa);return C.jsx(d4,{className:Je(r==null?void 0:r.description,t),"data-slot":"toast-description",slot:"description",...l,children:e})};g2.displayName="HeroUI.ToastDescription";const b2=({className:e,...t})=>{const{slots:l}=y.use(wa);return C.jsx(g4,{className:Mt(e,l==null?void 0:l.close()),"data-slot":"toast-close",slot:"close",...t})};b2.displayName="HeroUI.ToastCloseButton";const fu=({children:e,className:t,...l})=>{var i;const{slots:r}=y.use(wa);return C.jsx(nn,{className:Mt(t,(i=r==null?void 0:r.action)==null?void 0:i.call(r)),"data-slot":"toast-action-button",...l,children:e})};fu.displayName="HeroUI.ToastActionButton";const A6=({children:e,className:t,gap:l=I4,maxVisibleToasts:r,placement:i="bottom",queue:s,scaleFactor:u=K4,width:f=KA,...d})=>{const h=y.useMemo(()=>sT({placement:i}),[i]),p=oL("(max-width: 768px)"),[b,v]=F.useState({}),w=y.useMemo(()=>s?s.getQueue():T6.getQueue(),[s]),x=y.useMemo(()=>{const M=s&&"maxVisibleToasts"in s?s.maxVisibleToasts:void 0;return r??M??B4},[r,s]),T=y.useCallback((M,N)=>{v(A=>A[M]===N?A:{...A,[M]:N})},[]),E=y.useCallback(M=>{v(N=>{if(!(M in N))return N;const A={...N};return delete A[M],A})},[]),L=y.useCallback(M=>{const{actionProps:N,description:A,indicator:B,isLoading:_,title:$,variant:k}=M.toast.content??{};return C.jsxs(m2,{placement:i,scaleFactor:u,toast:M.toast,variant:k,children:[B===null?null:_?C.jsx(uu,{variant:k,children:C.jsx(HA,{color:"current",size:"sm"})}):C.jsx(uu,{variant:k,children:B}),C.jsxs(M6,{children:[!!$&&C.jsx(p2,{children:$}),!!A&&C.jsx(g2,{children:A}),p&&(N!=null&&N.children)?C.jsx(fu,{...N,children:N.children}):null]}),!p&&(N!=null&&N.children)?C.jsx(fu,{...N,children:N.children}):null,C.jsx(b2,{})]})},[p,i,u]);return C.jsx(JA,{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 N=M.toast.content,A={...M,isLoading:(N==null?void 0:N.isLoading)??!1};return C.jsx(wa,{value:{gap:l,heightsByKey:b,maxVisibleToasts:x,onToastHeightChange:T,onToastHeightRemove:E,placement:i,scaleFactor:u,slots:h,width:f},children:typeof e>"u"?L(M):typeof e=="function"?e(A):e})}})};A6.displayName="HeroUI.ToastProvider";const v2=Object.assign(m2,{Provider:A6,Content:M6,Indicator:uu,Title:p2,Description:g2,ActionButton:fu,CloseButton:b2,Queue:Wo,toast:T6}),L6=new WeakMap;function du(e,t,l){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${L6.get(e)}-${l}-${t}`):""}function sL(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}=bM({selectionManager:u,key:r,ref:l,isDisabled:h,shouldSelectOnPressUp:s??(p==null?void 0:p.props.href)!=null,linkBehavior:"selection"}),w=du(t,r,"tab"),x=du(t,r,"tabpanel"),{tabIndex:T}=b,E=mt(p==null?void 0:p.props,{labelable:!0});delete E.id;let L=t3(p==null?void 0:p.props),{focusableProps:M}=Yo({...p==null?void 0:p.props,isDisabled:h},l);return{tabProps:Ee(E,M,L,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 cL(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 uL(e,t,l){let r=cL(l)?void 0:0;const i=du(t,e.id??(t==null?void 0:t.selectedKey),"tabpanel"),s=Vh({...e,id:i,"aria-labelledby":du(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:Ee(s,{tabIndex:r,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class fL{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 dL(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 fL(s,d,r,f),[s,f,r,d]),{collectionProps:p}=gM({ref:l,selectionManager:u,keyboardDelegate:h,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:l,linkBehavior:"selection"}),b=_n();L6.set(t,b);let v=Vh({...e,id:b});return{tabListProps:{...Ee(p,v),role:"tablist","aria-orientation":r,tabIndex:void 0}}}function hL(e){let[t,l]=Au(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),r=y.useMemo(()=>t!=null?[t]:[],[t]),{collection:i,disabledKeys:s,selectionManager:u}=FM({...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 mL(e){let t=hL({...e,onSelectionChange:e.onSelectionChange?u=>{var f;u!=null&&((f=e.onSelectionChange)==null||f.call(e,u))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??zv(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=zv(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 zv(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 Pu=y.createContext(null),ar=y.createContext(null),pL=y.forwardRef(function(t,l){[t,l]=yn(t,l,Pu);let{children:r,orientation:i="horizontal"}=t;return r=y.useMemo(()=>typeof r=="function"?r({orientation:i,defaultChildren:null}):r,[r,i]),F.createElement(qR,{content:r},s=>F.createElement(gL,{props:t,collection:s,tabsRef:l}))});function gL({props:e,tabsRef:t,collection:l}){let{orientation:r="horizontal"}=e,i=mL({...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 F.createElement(ut.div,{...Ee(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},F.createElement(sr,{values:[[Pu,e],[ar,i]]},h.children))}const Pv=y.forwardRef(function(t,l){return y.useContext(ar)?F.createElement(bL,{props:t,forwardedRef:l}):F.createElement(eM,t)});function bL({props:e,forwardedRef:t}){let l=y.useContext(ar),{CollectionRoot:r}=y.useContext(o4),{orientation:i="horizontal",keyboardActivation:s="automatic"}=Ru(Pu),u=bn(t),{tabListProps:f}=dL({...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,F.createElement(ut.div,{...Ee(h,d,f),ref:u,"data-orientation":i||void 0},F.createElement(iM,null,F.createElement(r,{collection:l.collection,persistedKeys:lM(l.selectionManager.focusedKey)})))}const D2=class D2 extends vi{};D2.type="item";let Eh=D2;const vL=JR(Eh,(e,t,l)=>{let r=y.useContext(ar),i=bn(t),{tabProps:s,isSelected:u,isDisabled:f,isPressed:d}=sL({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,E=mt(e,{global:!0});return delete E.id,delete E.onClick,F.createElement(T,{...Ee(E,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},F.createElement(f4.Provider,{value:{isSelected:u}},x.children))}),yL=H3(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=Qc(i,s);return!s&&!t.shouldForceMount&&!d?null:F.createElement(xL,{...t,tabPanelRef:i,isInitiallySelected:u||!1,isExiting:d})});function xL(e){let t=y.useContext(ar),{id:l,tabPanelRef:r,isInitiallySelected:i,isExiting:s,...u}=e,{tabPanelProps:f}=uL(e,t,r),{focusProps:d,isFocused:h,isFocusVisible:p}=Dl(),b=t.selectedKey===e.id,v=Eu(r)&&!i,w=At({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:h,isFocusVisible:p,isInert:Cb(!b),isEntering:v,isExiting:s,state:t}}),x=mt(u,{global:!0});delete x.id;let T=b?Ee(x,f,d,w):Ee(x,w);return F.createElement(ut.div,{...T,ref:r,"data-focused":h||void 0,"data-focus-visible":p||void 0,inert:Cb(!b||e.inert),"data-inert":b?void 0:"true","data-entering":v||void 0,"data-exiting":s||void 0},F.createElement(sr,{values:[[Pu,null],[ar,null]]},F.createElement(o4.Provider,{value:i4},w.children)))}const xi=y.createContext({}),k6=PA("tabs.listContainer"),Ov=({children:e,className:t,orientation:l="horizontal",variant:r,...i})=>{const s=F.useMemo(()=>oT({variant:r}),[r]);return C.jsx(xi,{value:{orientation:l,slots:s},children:C.jsx(pL,{...i,className:Mt(t,s.base()),"data-slot":"tabs",orientation:l,children:e})})},SL=({children:e,className:t,render:l,...r})=>C.jsx(k6.Injector,{...r,className:t,render:l,children:e}),wL=({children:e,className:t,...l})=>{const{orientation:r="horizontal",slots:i}=y.use(xi),s=y.useRef(null),u=r==="vertical",[f,d]=k6.useSlot(l),h=y.useCallback(w=>{const x=s.current;if(!x)return;const T=u?x.clientHeight:x.clientWidth,E=u?x.scrollHeight:x.scrollWidth,L=Math.max(0,E-T),M=!u&&getComputedStyle(x).direction==="rtl",N=w*T*.8*(M?-1:1),A=u?x.scrollTop:x.scrollLeft,B=Math.min(M?0:L,Math.max(M?-L:0,A+N));B!==A&&x.scrollTo({behavior:"smooth",[u?"top":"left"]:B})},[u]);if(!f)return C.jsx(Pv,{...d,className:Mt(t,i==null?void 0:i.tabList()),"data-slot":"tabs-list",children:e});const{className:p,render:b,...v}=f;return C.jsx(Pv,{...d,className:Mt(t,i==null?void 0:i.tabList()),"data-slot":"tabs-list",render:w=>{const{children:x,className:T,ref:E,...L}=w;return C.jsxs(Et.div,{className:Je(i==null?void 0:i.tabListContainer,p),"data-slot":"tabs-list-container",render:b,...v,children:[C.jsx(IA,{ref:s,hideScrollBar:!0,className:Je(i==null?void 0:i.scroller),orientation:r,size:64,children:C.jsx("div",{...L,ref:E,className:T,children:x})}),C.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?C.jsx(QT,{}):C.jsx(JT,{})}),C.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?C.jsx(ZT,{}):C.jsx(eR,{})})]})},children:e})},CL=({children:e,className:t,...l})=>{const{slots:r}=y.use(xi);return C.jsx(vL,{...l,className:Mt(t,r==null?void 0:r.tab()),"data-slot":"tabs-tab",children:e})},EL=({className:e,...t})=>{const{slots:l}=y.use(xi);return C.jsx(sM,{className:Je(l==null?void 0:l.tabIndicator,e),"data-slot":"tabs-indicator",...t})},TL=({children:e,className:t,...l})=>{const{slots:r}=y.use(xi);return C.jsx(yL,{...l,className:Mt(t,r==null?void 0:r.tabPanel()),"data-slot":"tabs-panel",children:e})},RL=({className:e,...t})=>{const{slots:l}=y.use(xi);return C.jsx(Et.span,{"aria-hidden":"true",className:Je(l==null?void 0:l.separator,e),"data-slot":"tabs-separator",...t})},ra=Object.assign(Ov,{Root:Ov,ListContainer:SL,List:wL,Tab:CL,Indicator:EL,Separator:RL,Panel:TL}),Zo=y.createContext({}),jv=({children:e,className:t,status:l,...r})=>{const i=F.useMemo(()=>ZE({status:l}),[l]);return C.jsx(Zo,{value:{slots:i,status:l},children:C.jsx(l2,{value:{variant:"default"},children:C.jsx(Et.div,{className:i==null?void 0:i.base({className:t}),"data-slot":"alert-root",...r,children:e})})})},ML=({children:e,className:t,...l})=>{const{slots:r,status:i}=y.use(Zo),s=()=>{switch(i){case"accent":return C.jsx(ru,{"data-slot":"alert-default-icon"});case"success":return C.jsx(a5,{"data-slot":"alert-default-icon"});case"warning":return C.jsx(n5,{"data-slot":"alert-default-icon"});case"danger":return C.jsx(l5,{"data-slot":"alert-default-icon"});default:return C.jsx(ru,{"data-slot":"alert-default-icon"})}};return C.jsx(Et.div,{className:Je(r==null?void 0:r.indicator,t),"data-slot":"alert-indicator",...l,children:e??s()})},AL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Zo);return C.jsx(Et.div,{className:Je(r==null?void 0:r.content,t),"data-slot":"alert-content",...l,children:e})},LL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Zo);return C.jsx(Et.p,{className:Je(r==null?void 0:r.title,t),"data-slot":"alert-title",...l,children:e})},kL=({children:e,className:t,...l})=>{const{slots:r}=y.use(Zo);return C.jsx(Et.span,{className:Je(r==null?void 0:r.description,t),"data-slot":"alert-description",...l,children:e})},wo=Object.assign(jv,{Root:jv,Indicator:ML,Content:AL,Title:LL,Description:kL}),pn=y.createContext({}),Iv=({children:e,state:t,...l})=>{const r=y.useMemo(()=>({slots:Jh(),placement:void 0}),[]),i=y.useMemo(()=>t?{isOpen:t.isOpen,onOpenChange:t.setOpen}:{},[t]);return C.jsx(pn,{value:r,children:C.jsx(LM,{"data-slot":"modal-root",...Ee(l,i),children:e})})},NL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return C.jsx(OM,{children:C.jsx(Et.div,{className:Je(r==null?void 0:r.trigger,t),"data-slot":"modal-trigger",role:"button",...l,children:e})})},DL=({children:e,className:t,isDismissable:l=!0,onClick:r,variant:i,...s})=>{const{slots:u}=y.use(pn),f=y.useMemo(()=>Jh({variant:i}),[i]),d=y.useMemo(()=>({slots:{...u,...f}}),[u,f]);return C.jsx(p4,{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=>C.jsxs(pn,{value:d,children:[typeof e=="function"?e(h):e," "]})})},$L=({children:e,className:t,placement:l="auto",scroll:r,size:i,...s})=>{const{slots:u}=y.use(pn),f=y.useMemo(()=>Jh({scroll:r,size:i}),[r,i]),d=y.useMemo(()=>({placement:l,slots:{...u,...f}}),[u,l,f]);return C.jsx($M,{className:Mt(t,f==null?void 0:f.container()),"data-placement":l,"data-slot":"modal-container",...s,children:h=>C.jsx(pn,{value:d,children:typeof e=="function"?e(h):e})})},zL=({children:e,className:t,...l})=>{const{placement:r,slots:i}=y.use(pn);return C.jsx(l2,{value:{variant:"default"},children:C.jsx(kM,{className:Je(i==null?void 0:i.dialog,t),"data-placement":r,"data-slot":"modal-dialog",...l,children:e})})},PL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return C.jsx(Et.div,{className:Je(r==null?void 0:r.header,t),"data-slot":"modal-header",...l,children:e})},OL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return C.jsx(Et.div,{className:Je(r==null?void 0:r.body,t),"data-slot":"modal-body",...l,children:e})},jL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return C.jsx(Et.div,{className:Je(r==null?void 0:r.footer,t),"data-slot":"modal-footer",...l,children:e})},IL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return C.jsx(WT,{className:Je(r==null?void 0:r.heading,t),"data-slot":"modal-heading",slot:"title",...l,children:e})},BL=({children:e,className:t,...l})=>{const{slots:r}=y.use(pn);return C.jsx(Et.div,{className:Je(r==null?void 0:r.icon,t),"data-slot":"modal-icon",...l,children:e})},HL=({className:e,...t})=>{const{slots:l}=y.use(pn);return C.jsx(g4,{className:Mt(e,l==null?void 0:l.closeTrigger()),"data-slot":"modal-close-trigger",slot:"close",...t})},je=Object.assign(Iv,{Root:Iv,Trigger:NL,Backdrop:DL,Container:$L,Dialog:zL,Header:PL,Icon:BL,Heading:IL,Body:OL,Footer:jL,CloseTrigger:HL}),Bv="heroui-theme",N6="(prefers-color-scheme: dark)";function KL(e){if(typeof window>"u")return()=>{};const t=window.matchMedia(N6);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function UL(){var e;return(e=window.matchMedia)!=null&&e.call(window,N6).matches?"dark":"light"}function VL(){}function FL(e,t){t!==e&&(t&&document.documentElement.classList.remove(t),document.documentElement.classList.add(e),document.documentElement.setAttribute("data-theme",e))}function _L(e="system"){const[t,l]=y.useState(()=>typeof window>"u"?e:localStorage.getItem(Bv)??e),r=y.useSyncExternalStore(KL,UL,VL),i=t==="system"?r:t,s=y.useRef(void 0);R6(()=>{i&&(FL(i,s.current),s.current=i)},[i]);const u=y.useCallback(f=>{typeof window>"u"||(localStorage.setItem(Bv,f),l(f))},[]);return{resolvedTheme:i,setTheme:u,theme:t}}const D6=y.createContext(null);function GL({children:e}){const{theme:t,setTheme:l}=_L("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 C.jsx(D6.Provider,{value:u,children:e})}function Iz(){const e=y.useContext(D6);if(!e)throw new Error("useTheme must be used within ThemeProvider");return e}const qL=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"})),YL=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:"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",clipRule:"evenodd"})),XL=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"})),WL=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"})),Th="https://lf3-cdn-tos.draftstatic.com/obj/ies-hotsoon-draft/juejin/7b28b328-1ae4-4781-8d46-430fef1b872e.html";async function ZL(){var t;const e=(t=window.tud)==null?void 0:t.openExternal;if(typeof e=="function"){await e(Th);return}window.open(Th,"_blank","noopener,noreferrer")}function QL({isOpen:e,onOpenChange:t,onConfirm:l}){const[r,i]=y.useState(!1);return y.useEffect(()=>{e&&i(!1)},[e]),C.jsx(je.Backdrop,{isOpen:e,onOpenChange:t,variant:"opaque",children:C.jsx(je.Container,{size:"sm",children:C.jsxs(je.Dialog,{children:[C.jsx(je.CloseTrigger,{"aria-label":"关闭"}),C.jsx(je.Header,{children:C.jsx(je.Heading,{children:"用户协议"})}),C.jsxs(je.Body,{className:"space-y-4 text-sm leading-6 text-muted",children:[C.jsx("p",{children:"关联掘金账号后,本机用量数据将在您开启云端同步时上传至掘金服务。请先阅读并同意相关协议。"}),C.jsx(ha,{id:"juejin-login-consent",isSelected:r,onChange:i,children:C.jsxs(ha.Content,{children:[C.jsx(ha.Control,{children:C.jsx(ha.Indicator,{})}),C.jsxs("span",{children:["我已阅读并同意",C.jsx("button",{className:"mx-0.5 text-accent underline underline-offset-2 hover:opacity-80",onClick:s=>{s.preventDefault(),s.stopPropagation(),ZL()},type:"button",children:"《稀土掘金隐私政策》"}),",并同意上传数据"]})]})})]}),C.jsxs(je.Footer,{className:"gap-2",children:[C.jsx(nn,{slot:"close",variant:"tertiary",children:"取消"}),C.jsx(nn,{isDisabled:!r,onPress:()=>{t(!1),l()},variant:"primary",children:"同意并登录"})]})]})})})}const JL="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",ek="/assets/antigravity-color-DgAQAdn3.svg",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%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",nk="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",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%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",Hv="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",Kv="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",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%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",rk="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",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%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",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%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",sk="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",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%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",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%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",fk="/assets/hermesagent-DUfTwIy7.svg",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%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",Uv="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",hk="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",mk="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",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%3eopencode%3c/title%3e%3cpath%20d='M16%206H8v12h8V6zm4%2016H4V2h16v20z'%3e%3c/path%3e%3c/svg%3e",gk="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",bk="/assets/qoder-color-CCjsVbDP.svg",Vv="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",vk="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",yk="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",xk="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",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%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",wk="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",Ck={amp:{src:tk},antigravity:{src:ek},"claude-code":{src:nk},cline:{monochrome:!0,src:lk},codebuddy:{src:Hv},codex:{monochrome:!0,src:Kv},"every-code":{monochrome:!0,src:Kv},copilot:{src:ak},cursor:{monochrome:!0,src:rk},devin:{src:ik},gemini:{src:ok},"gemini-cli":{src:sk},grok:{monochrome:!0,src:uk},goose:{monochrome:!0,src:ck},hermes:{monochrome:!0,src:fk},kimi:{src:dk},"kilo-cli":{monochrome:!0,src:Uv},kilocode:{monochrome:!0,src:Uv},kiro:{src:hk},mimo:{monochrome:!0,src:Sk},openclaw:{src:mk},opencode:{monochrome:!0,src:pk},pi:{monochrome:!0,src:gk},qoder:{src:bk},qwen:{src:Vv},"qwen-code":{src:Vv},roocode:{monochrome:!0,src:vk},trae:{src:yk},windsurf:{monochrome:!0,src:xk},workbuddy:{src:Hv},zcode:{monochrome:!0,src:wk}},Ek={"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",deepseek:"dsh",harness:"dsh"};function Tk(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==="dsh"||t==="deepseek"||t==="harness"||t.startsWith("deepseek-harness")||t.startsWith("dsh-")?"dsh":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":Ek[t]??t}function Fv({provider:e,size:t=16,className:l="",onLightBackground:r=!1,isSelected:i=!1,color:s}){const u=Tk(e),f=Ck[u];return f?C.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"?C.jsx(kk,{className:l,size:t,style:{color:s}}):u==="omp"?C.jsx(Rk,{className:l,size:t,style:{color:s}}):u==="zed"?C.jsx(Mk,{className:l,size:t,style:{color:s}}):u==="warp"?C.jsx(Ak,{className:l,size:t,style:{color:s}}):u==="dsh"?C.jsx(Lk,{className:l,size:t,style:{color:s}}):C.jsx(Nk,{className:l,size:t,style:{color:s}})}function Rk({className:e,size:t,style:l}){return C.jsxs("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:l,viewBox:"0 0 120 90",width:t,children:[C.jsx("rect",{height:"12",rx:"2",width:"100",x:"10",y:"8"}),C.jsx("rect",{height:"62",rx:"2",width:"12",x:"25",y:"20"}),C.jsx("rect",{height:"45",rx:"2",width:"12",x:"75",y:"20"}),C.jsx("rect",{height:"16",rx:"3",width:"20",x:"71",y:"55"}),C.jsx("rect",{height:"8",rx:"1",width:"3",x:"76",y:"71"}),C.jsx("rect",{height:"8",rx:"1",width:"3",x:"82",y:"71"})]})}function Mk({className:e,size:t,style:l}){return C.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:l,viewBox:"0 0 16 16",width:t,children:C.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 Ak({className:e,size:t,style:l}){return C.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:l,viewBox:"0 0 24 24",width:t,children:C.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 Lk({className:e,size:t,style:l}){return C.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"currentColor",height:t,style:l,viewBox:"0 0 23.16 17.04",width:t,children:C.jsx("path",{d:"M22.9168 1.43018C22.6713 1.31018 22.5658 1.53918 22.4223 1.65519C22.3733 1.69269 22.3318 1.74169 22.2903 1.78669C21.9317 2.1697 21.5127 2.42121 20.9657 2.39121C20.1657 2.34621 19.4827 2.59771 18.8787 3.20973C18.7502 2.45521 18.3236 2.0047 17.6746 1.71569C17.3351 1.56568 16.9916 1.41518 16.7536 1.08867C16.5876 0.856163 16.5421 0.597155 16.4591 0.341647C16.4061 0.187643 16.3536 0.0301382 16.1761 0.00363739C15.9836 -0.0263635 15.9081 0.135141 15.8326 0.270145C15.5306 0.822162 15.4136 1.43018 15.4251 2.0462C15.4516 3.43174 16.0366 4.53527 17.1991 5.3203C17.3311 5.4103 17.3651 5.5003 17.3236 5.63181C17.2441 5.90231 17.1501 6.16482 17.0671 6.43533C17.0141 6.60784 16.9351 6.64584 16.7501 6.57033C16.1121 6.30383 15.5611 5.90931 15.074 5.4328C14.2475 4.63328 13.5 3.75075 12.568 3.05973C12.349 2.89822 12.13 2.74822 11.9034 2.60522C10.9524 1.68169 12.028 0.923165 12.277 0.833162C12.5375 0.739159 12.3675 0.41615 11.5259 0.42015C10.6844 0.42365 9.91439 0.705658 8.93286 1.08117C8.78935 1.13767 8.63835 1.17867 8.48384 1.21267C7.59332 1.04367 6.66829 1.00617 5.70226 1.11517C3.88321 1.31768 2.43016 2.1777 1.36213 3.64575C0.0790928 5.4103 -0.222916 7.41536 0.146595 9.50642C0.535106 11.7105 1.66014 13.535 3.38869 14.9616C5.18125 16.4406 7.24581 17.1657 9.60138 17.0266C11.0319 16.9441 12.6245 16.7526 14.421 15.2321C14.874 15.4576 15.3496 15.5476 16.1381 15.6151C16.7456 15.6716 17.3306 15.5851 17.7836 15.4911C18.4931 15.3411 18.4441 14.6841 18.1876 14.5636C16.1081 13.595 16.5646 13.9891 16.1496 13.67C17.2061 12.42 18.8202 10.1979 19.3182 7.17235C19.3672 6.83834 19.4297 6.36783 19.4222 6.09732C19.4182 5.93231 19.4562 5.86831 19.6447 5.84931C20.1657 5.78931 20.6712 5.64681 21.1357 5.3913C22.4833 4.65528 23.0268 3.44624 23.1548 1.9972C23.1738 1.77569 23.1508 1.54668 22.9168 1.43018ZM11.1749 14.4736C9.15936 12.889 8.18184 12.3675 7.77832 12.39C7.40081 12.4125 7.46881 12.8445 7.55182 13.126C7.63882 13.404 7.75182 13.5955 7.91033 13.8396C8.01983 14.0011 8.09533 14.2411 7.80083 14.4216C7.15181 14.8231 6.02327 14.2866 5.97027 14.2601C4.65673 13.4865 3.5587 12.4655 2.78467 11.069C2.03715 9.72493 1.60314 8.28289 1.53164 6.74384C1.51264 6.37233 1.62214 6.24082 1.99215 6.17332C2.47916 6.08332 2.98118 6.06432 3.46769 6.13582C5.52476 6.43633 7.27581 7.35586 8.74385 8.8129C9.58188 9.64243 10.2159 10.634 10.8689 11.6025C11.5634 12.631 12.3105 13.611 13.262 14.4146C13.598 14.6961 13.866 14.9101 14.1225 15.0681C13.349 15.1546 12.058 15.1731 11.1749 14.4746L11.1749 14.4736ZM12.141 8.25988C12.141 8.09488 12.273 7.96338 12.439 7.96338C12.4765 7.96338 12.5105 7.97088 12.541 7.98188C12.5825 7.99688 12.6205 8.01938 12.6505 8.05338C12.7035 8.10588 12.7335 8.18088 12.7335 8.25988C12.7335 8.42489 12.6015 8.55639 12.4355 8.55639C12.2695 8.55639 12.141 8.42489 12.141 8.25988ZM15.1415 9.79893C14.949 9.87793 14.7565 9.94544 14.5715 9.95294C14.2845 9.96794 13.9715 9.85143 13.8015 9.70893C13.5375 9.48742 13.3485 9.36342 13.2695 8.97691C13.2355 8.8119 13.2545 8.55639 13.2845 8.40989C13.3525 8.09438 13.277 7.89187 13.0545 7.70787C12.8735 7.55786 12.643 7.51636 12.39 7.51636C12.2955 7.51636 12.209 7.47486 12.1445 7.44136C12.039 7.38886 11.9519 7.25735 12.035 7.09585C12.0615 7.04335 12.19 6.91584 12.22 6.89334C12.5635 6.69784 12.9595 6.76184 13.326 6.90834C13.6655 7.04735 13.9225 7.30236 14.292 7.66287C14.6695 8.09838 14.7375 8.21838 14.9525 8.54539C15.1225 8.8009 15.277 9.06341 15.3831 9.36392C15.4471 9.55142 15.3641 9.70493 15.1415 9.79893Z"})})}function kk({className:e,size:t,style:l}){return C.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:[C.jsx("path",{d:"M9 3v2"}),C.jsx("path",{d:"M15 3v2"}),C.jsx("rect",{height:"13",rx:"3",width:"16",x:"4",y:"6"}),C.jsx("circle",{cx:"9",cy:"13",fill:"currentColor",r:"1.4",stroke:"none"}),C.jsx("circle",{cx:"15",cy:"13",fill:"currentColor",r:"1.4",stroke:"none"}),C.jsx("path",{d:"M9 16h6"})]})}function Nk({className:e,size:t,style:l}){return C.jsx("svg",{"aria-hidden":!0,className:`shrink-0 ${e}`,fill:"none",height:t,style:l,viewBox:"0 0 24 24",width:t,children:C.jsx("circle",{cx:"12",cy:"12",r:"7.5",stroke:"currentColor",strokeDasharray:"3 3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})}const Dk="Juejin Usage",hu=[{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:"DeepSeek Harness",source:"dsh"},{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 $k(e){var t;return(t=e.variants)!=null&&t.length?`${e.name} (${e.variants.join("、")})`:e.name}function zk(){return"0.1.8"}const Pk=(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},Ok=(e,t)=>({classGroupId:e,validator:t}),$6=(e=new Map,t=null,l)=>({nextPart:e,validators:t,classGroupId:l}),mu="-",_v=[],jk="arbitrary..",Ik=e=>{const t=Hk(e),{conflictingClassGroups:l,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return Bk(u);const f=u.split(mu),d=f[0]===""&&f.length>1?1:0;return z6(f,d,t)},getConflictingClassGroupIds:(u,f)=>{if(f){const d=r[u],h=l[u];return d?h?Pk(h,d):d:h||_v}return l[u]||_v}}},z6=(e,t,l)=>{if(e.length-t===0)return l.classGroupId;const i=e[t],s=l.nextPart.get(i);if(s){const h=z6(e,t+1,s);if(h)return h}const u=l.validators;if(u===null)return;const f=t===0?e.join(mu):e.slice(t).join(mu),d=u.length;for(let h=0;h<d;h++){const p=u[h];if(p.validator(f))return p.classGroupId}},Bk=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?jk+r:void 0})(),Hk=e=>{const{theme:t,classGroups:l}=e;return Kk(l,t)},Kk=(e,t)=>{const l=$6();for(const r in e){const i=e[r];y2(i,l,r,t)}return l},y2=(e,t,l,r)=>{const i=e.length;for(let s=0;s<i;s++){const u=e[s];Uk(u,t,l,r)}},Uk=(e,t,l,r)=>{if(typeof e=="string"){Vk(e,t,l);return}if(typeof e=="function"){Fk(e,t,l,r);return}_k(e,t,l,r)},Vk=(e,t,l)=>{const r=e===""?t:P6(t,e);r.classGroupId=l},Fk=(e,t,l,r)=>{if(Gk(e)){y2(e(r),t,l,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Ok(l,e))},_k=(e,t,l,r)=>{const i=Object.entries(e),s=i.length;for(let u=0;u<s;u++){const[f,d]=i[u];y2(d,P6(t,f),l,r)}},P6=(e,t)=>{let l=e;const r=t.split(mu),i=r.length;for(let s=0;s<i;s++){const u=r[s];let f=l.nextPart.get(u);f||(f=$6(),l.nextPart.set(u,f)),l=f}return l},Gk=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,qk=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)}}},Rh="!",Gv=":",Yk=[],qv=(e,t,l,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:l,maybePostfixModifierPosition:r,isExternal:i}),Xk=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 E=i[T];if(u===0&&f===0){if(E===Gv){s.push(i.slice(d,T)),d=T+1;continue}if(E==="/"){h=T;continue}}E==="["?u++:E==="]"?u--:E==="("?f++:E===")"&&f--}const b=s.length===0?i:i.slice(d);let v=b,w=!1;b.endsWith(Rh)?(v=b.slice(0,-1),w=!0):b.startsWith(Rh)&&(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+Gv,s=r;r=u=>u.startsWith(i)?s(u.slice(i.length)):qv(Yk,!1,u,void 0,!0)}if(l){const i=r;r=s=>l({className:s,parseClassName:i})}return r},Wk=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}},Zk=e=>({cache:qk(e.cacheSize),parseClassName:Xk(e),sortModifiers:Wk(e),postfixLookupClassGroupIds:Qk(e),...Ik(e)}),Qk=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},Jk=/\s+/,eN=(e,t)=>{const{parseClassName:l,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:s,postfixLookupClassGroupIds:u}=t,f=[],d=e.trim().split(Jk);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:E}=l(b);if(v){h=b+(h.length>0?" "+h:h);continue}let L=!!E,M;if(L){const $=T.substring(0,E);M=r($);const k=M&&u[M]?r(T):void 0;k&&k!==M&&(M=k,L=!1)}else M=r(T);if(!M){if(!L){h=b+(h.length>0?" "+h:h);continue}if(M=r(T),!M){h=b+(h.length>0?" "+h:h);continue}L=!1}const N=w.length===0?"":w.length===1?w[0]:s(w).join(":"),A=x?N+Rh:N,B=A+M;if(f.indexOf(B)>-1)continue;f.push(B);const _=i(M,L);for(let $=0;$<_.length;++$){const k=_[$];f.push(A+k)}h=b+(h.length>0?" "+h:h)}return h},tN=(...e)=>{let t=0,l,r,i="";for(;t<e.length;)(l=e[t++])&&(r=O6(l))&&(i&&(i+=" "),i+=r);return i},O6=e=>{if(typeof e=="string")return e;let t,l="";for(let r=0;r<e.length;r++)e[r]&&(t=O6(e[r]))&&(l&&(l+=" "),l+=t);return l},nN=(e,...t)=>{let l,r,i,s;const u=d=>{const h=t.reduce((p,b)=>b(p),e());return l=Zk(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=eN(d,l);return i(d,p),p};return s=u,(...d)=>s(tN(...d))},lN=[],Ct=e=>{const t=l=>l[e]||lN;return t.isThemeGetter=!0,t},j6=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,I6=/^\((?:(\w[\w-]*):)?(.+)\)$/i,aN=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,rN=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,iN=/\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$/,oN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,sN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ia=e=>aN.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)),El=e=>rN.test(e),B6=()=>!0,uN=e=>iN.test(e)&&!oN.test(e),x2=()=>!1,fN=e=>sN.test(e),dN=e=>cN.test(e),hN=e=>!me(e)&&!ge(e),mN=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)),pN=e=>Ca(e,U6,x2),me=e=>j6.test(e),_a=e=>Ca(e,V6,uN),Yv=e=>Ca(e,CN,ke),gN=e=>Ca(e,_6,B6),bN=e=>Ca(e,F6,x2),Xv=e=>Ca(e,H6,x2),vN=e=>Ca(e,K6,dN),$c=e=>Ca(e,G6,fN),ge=e=>I6.test(e),Co=e=>cr(e,V6),yN=e=>cr(e,F6),Wv=e=>cr(e,H6),xN=e=>cr(e,U6),SN=e=>cr(e,K6),zc=e=>cr(e,G6,!0),wN=e=>cr(e,_6,!0),Ca=(e,t,l)=>{const r=j6.exec(e);return r?r[1]?t(r[1]):l(r[2]):!1},cr=(e,t,l=!1)=>{const r=I6.exec(e);return r?r[1]?t(r[1]):l:!1},H6=e=>e==="position"||e==="percentage",K6=e=>e==="image"||e==="url",U6=e=>e==="length"||e==="size"||e==="bg-size",V6=e=>e==="length",CN=e=>e==="number",F6=e=>e==="family-name",_6=e=>e==="number"||e==="weight",G6=e=>e==="shadow",EN=()=>{const e=Ct("color"),t=Ct("font"),l=Ct("text"),r=Ct("font-weight"),i=Ct("tracking"),s=Ct("leading"),u=Ct("breakpoint"),f=Ct("container"),d=Ct("spacing"),h=Ct("radius"),p=Ct("shadow"),b=Ct("inset-shadow"),v=Ct("text-shadow"),w=Ct("drop-shadow"),x=Ct("blur"),T=Ct("perspective"),E=Ct("aspect"),L=Ct("ease"),M=Ct("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...A(),ge,me],_=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],k=()=>[ge,me,d],K=()=>[ia,"full","auto",...k()],U=()=>[el,"none","subgrid",ge,me],q=()=>["auto",{span:["full",el,ge,me]},el,ge,me],ne=()=>[el,"auto",ge,me],le=()=>["auto","min","max","fr",ge,me],j=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...k()],O=()=>[ia,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],oe=()=>[ia,"screen","full","dvw","lvw","svw","min","max","fit",...k()],J=()=>[ia,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],G=()=>[e,ge,me],D=()=>[...A(),Wv,Xv,{position:[ge,me]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",xN,pN,{size:[ge,me]}],ce=()=>[O0,Co,_a],H=()=>["","none","full",h,ge,me],ie=()=>["",ke,Co,_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,Wv,Xv],Lt=()=>["","none",x,ge,me],it=()=>["none",ke,ge,me],ue=()=>["none",ke,ge,me],fe=()=>[ke,ge,me],Ce=()=>[ia,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[El],breakpoint:[El],color:[B6],container:[El],"drop-shadow":[El],ease:["in","out","in-out"],font:[hN],"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",ke],text:[El],"text-shadow":[El],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ia,me,ge,E]}],container:["container"],"container-type":[{"@container":["","normal","size",ge,me]}],"container-named":[mN],columns:[{columns:[ke,me,ge,f]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:K()}],"inset-x":[{"inset-x":K()}],"inset-y":[{"inset-y":K()}],start:[{"inset-s":K(),start:K()}],end:[{"inset-e":K(),end:K()}],"inset-bs":[{"inset-bs":K()}],"inset-be":[{"inset-be":K()}],top:[{top:K()}],right:[{right:K()}],bottom:[{bottom:K()}],left:[{left:K()}],visibility:["visible","invisible","collapse"],z:[{z:[el,"auto",ge,me]}],basis:[{basis:[ia,"full","auto",f,...k()]}],"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":U()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":le()}],"auto-rows":[{"auto-rows":le()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...j(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...j()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":j()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],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":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"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,Co,_a]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,wN,gN]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",O0,me]}],"font-family":[{font:[yN,bN,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,Yv]}],leading:[{leading:[s,...k()]}],"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:G()}],"text-color":[{text:G()}],"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:G()}],"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:k()}],"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]},SN,vN]}],"bg-color":[{bg:G()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:G()}],"gradient-via":[{via:G()}],"gradient-to":[{to:G()}],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:G()}],"border-color-x":[{"border-x":G()}],"border-color-y":[{"border-y":G()}],"border-color-s":[{"border-s":G()}],"border-color-e":[{"border-e":G()}],"border-color-bs":[{"border-bs":G()}],"border-color-be":[{"border-be":G()}],"border-color-t":[{"border-t":G()}],"border-color-r":[{"border-r":G()}],"border-color-b":[{"border-b":G()}],"border-color-l":[{"border-l":G()}],"divide-color":[{divide:G()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ke,ge,me]}],"outline-w":[{outline:["",ke,Co,_a]}],"outline-color":[{outline:G()}],shadow:[{shadow:["","none",p,zc,$c]}],"shadow-color":[{shadow:G()}],"inset-shadow":[{"inset-shadow":["none",b,zc,$c]}],"inset-shadow-color":[{"inset-shadow":G()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:G()}],"ring-offset-w":[{"ring-offset":[ke,_a]}],"ring-offset-color":[{"ring-offset":G()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":G()}],"text-shadow":[{"text-shadow":["none",v,zc,$c]}],"text-shadow-color":[{"text-shadow":G()}],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":G()}],"mask-image-linear-to-color":[{"mask-linear-to":G()}],"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":G()}],"mask-image-t-to-color":[{"mask-t-to":G()}],"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":G()}],"mask-image-r-to-color":[{"mask-r-to":G()}],"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":G()}],"mask-image-b-to-color":[{"mask-b-to":G()}],"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":G()}],"mask-image-l-to-color":[{"mask-l-to":G()}],"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":G()}],"mask-image-x-to-color":[{"mask-x-to":G()}],"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":G()}],"mask-image-y-to-color":[{"mask-y-to":G()}],"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":G()}],"mask-image-radial-to-color":[{"mask-radial-to":G()}],"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":A()}],"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":G()}],"mask-image-conic-to-color":[{"mask-conic-to":G()}],"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":G()}],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":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"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",L,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:Ce()}],"translate-x":[{"translate-x":Ce()}],"translate-y":[{"translate-y":Ce()}],"translate-z":[{"translate-z":Ce()}],"translate-none":["translate-none"],zoom:[{zoom:[el,ge,me]}],accent:[{accent:G()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:G()}],"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":G()}],"scrollbar-track-color":[{"scrollbar-track":G()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",...G()]}],"stroke-w":[{stroke:[ke,Co,_a,Yv]}],stroke:[{stroke:["none",...G()]}],"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"]}},TN=nN(EN),j0=[{value:1e12,suffix:"T"},{value:1e9,suffix:"B"},{value:1e6,suffix:"M"},{value:1e3,suffix:"K"}];function Vo(...e){return TN(o3(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=Zv(e/i.value);return Math.abs(s)>=1e3&&r>0&&(r-=1,i=j0[r],s=Zv(e/i.value)),`${s.toLocaleString("en-US",{maximumFractionDigits:1})}${i.suffix}`}function Zv(e){return Math.round(e*10)/10}const RN={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 MN({className:e,collapsible:t=!1}){const[l,r]=y.useState(!1),i=!t||l;return C.jsxs("div",{className:"flex flex-col items-stretch",children:[i?C.jsx(AN,{className:e,tools:hu}):C.jsx(LN,{}),t?C.jsxs(nn,{"aria-expanded":l,className:"mt-4 self-center",onPress:()=>r(s=>!s),size:"sm",variant:"tertiary",children:[l?"收起":`查看全部(${hu.length})`,C.jsx(YL,{"aria-hidden":"true",className:Vo("size-3.5 transition-transform duration-200 motion-reduce:transition-none",l&&"rotate-180")})]}):null]})}function AN({className:e,tools:t}){return C.jsx("ul",{className:Vo("grid grid-cols-1 gap-1.5 sm:grid-cols-2","motion-safe:animate-[fade-up_420ms_ease-out]",e),children:t.map(l=>C.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:[C.jsx(q6,{source:l.source}),C.jsx("span",{className:"min-w-0 leading-snug",children:$k(l)})]},l.source))})}function LN(){return C.jsxs("div",{"aria-hidden":"true",className:"tools-marquee group space-y-1.5 mask-[linear-gradient(to_right,transparent,black_5%,black_95%,transparent)]",children:[C.jsx(Qv,{}),C.jsx(Qv,{reverse:!0})]})}function Qv({reverse:e=!1}){const t=e?[...hu].reverse():hu;return C.jsx("div",{className:"overflow-hidden",children:C.jsxs("div",{className:Vo("flex w-max",e?"tools-marquee-track-reverse motion-safe:animate-[tools-marquee-reverse_48s_linear_infinite]":"tools-marquee-track motion-safe:animate-[tools-marquee_40s_linear_infinite]","motion-reduce:animate-none"),children:[C.jsx(Jv,{items:t}),C.jsx(Jv,{items:t})]})})}function Jv({items:e}){return C.jsx("div",{className:"flex shrink-0 gap-1.5 pe-1.5",children:e.map(t=>C.jsxs("div",{className:"flex shrink-0 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:[C.jsx(q6,{source:t.source}),C.jsx("span",{className:"leading-snug whitespace-nowrap",children:t.name})]},t.source))})}function q6({source:e}){if(e==="codex")return C.jsx("span",{className:"flex size-6 shrink-0 items-center justify-center rounded-md bg-emerald-600",children:C.jsx("img",{alt:"","aria-hidden":!0,className:"size-[15px] invert",src:JL})});const t=RN[e];return t?C.jsx("span",{className:`flex size-6 shrink-0 items-center justify-center rounded-md ${t}`,children:C.jsx(Fv,{color:"#fff",isSelected:!0,provider:e,size:15})}):C.jsx(Fv,{provider:e,size:18})}const kN="http://github.com/juejin-cn/juejin-usage/issues/new";function Y6(){const e=zk();return C.jsxs("div",{className:"space-y-5",children:[C.jsxs("section",{className:"space-y-1.5",children:[C.jsx("h3",{className:"text-sm font-medium text-foreground",children:"版本信息"}),C.jsxs("p",{className:"text-sm text-foreground/70",children:[Dk," ",C.jsxs("span",{className:"font-mono text-foreground/90",children:["v",e]})]})]}),C.jsxs("section",{className:"space-y-1.5",children:[C.jsx("h3",{className:"text-sm font-medium text-foreground",children:"隐私与协议"}),C.jsxs(Dc,{className:"w-fit text-sm text-accent",href:Th,rel:"noopener noreferrer",target:"_blank",children:["查看用户隐私协议",C.jsx(Dc.Icon,{})]})]}),C.jsxs("section",{className:"space-y-1.5",children:[C.jsx("h3",{className:"text-sm font-medium text-foreground",children:"问题反馈"}),C.jsxs(Dc,{className:"w-fit text-sm text-accent",href:kN,rel:"noopener noreferrer",target:"_blank",children:["提交问题反馈",C.jsx(Dc.Icon,{})]})]}),C.jsxs("section",{className:"space-y-2",children:[C.jsx("h3",{className:"text-sm font-medium text-foreground",children:"支持的工具"}),C.jsx("p",{className:"text-xs text-foreground/55",children:"同一系列的多端形态用括号标出。"}),C.jsx(MN,{})]})]})}const NN="tud:data-synced",Mh="tud:open-settings",ey="tud:open-about",Ah="tud:open-share",DN="tud:juejin-link-changed";function Bz(){window.dispatchEvent(new CustomEvent(NN))}function Hz(e){window.dispatchEvent(new CustomEvent(Mh,{detail:{}}))}function $N(){window.dispatchEvent(new CustomEvent(Ah))}function X6(){window.dispatchEvent(new CustomEvent(DN))}function Kz(){return $N(),Promise.resolve()}function zN({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(ey,p),()=>window.removeEventListener(ey,p)},[r,h]),C.jsxs(C.Fragment,{children:[!i&&(e??C.jsxs(nn,{"aria-label":"关于",onPress:()=>h(!0),variant:"tertiary",children:[C.jsx(XL,{}),"关于"]})),C.jsx(je.Backdrop,{isOpen:d,onOpenChange:h,variant:"blur",children:C.jsx(je.Container,{className:"w-[840px] max-w-[min(840px,92vw)]",scroll:"outside",size:"lg",children:C.jsxs(je.Dialog,{children:[C.jsx(je.CloseTrigger,{"aria-label":"关闭关于"}),C.jsx(je.Header,{children:C.jsx(je.Heading,{children:"关于"})}),C.jsx(je.Body,{className:"pt-2",children:C.jsx(Y6,{})})]})})})]})}const W6=y.createContext(null);function PN({children:e,queue:t}){return C.jsx(W6.Provider,{value:t,children:e})}function Uz(){const e=y.useContext(W6);if(!e)throw new Error("useAppToastQueue must be used within AppToastProvider");return e}const ON=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 ty="tud.apiBearer";function jN(){return!0}function IN(){return"/functions/tud-"}function On(){const e=IN();return{summary:`${e}account-usage-summary`,others:e}}function ny(e){try{e!=null&&e.trim()?localStorage.setItem(ty,e.trim()):localStorage.removeItem(ty)}catch{}}function xn(){return{}}async function Z6(){const{summary:e}=On();return Pn(e,{headers:xn()})}async function BN(e=90){const{others:t}=On();return Pn(`${t}usage-daily?days=${e}`,{headers:xn()})}async function Q6(e=1){const{others:t}=On();return Pn(`${t}usage-hourly?days=${e}`,{headers:xn()})}async function J6(e=30){const{others:t}=On();return Pn(`${t}usage-model-breakdown?days=${e}`,{headers:xn()})}const ly="https://api.juejin.cn/aiusage_api/functions/tud-pricing";async function Vz(){const e=await fetch(ly,{headers:xn()});let t=null;try{t=await e.json()}catch{throw new Error(`GET ${ly} → ${e.status}`)}if(!e.ok)throw new Error(`HTTP ${e.status}`);const l=HN(t);return KN(l,e.headers.get("last-modified"))}function HN(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 KN(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 Fz(e,t=ON,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 _z(){const{others:e}=On();return Pn(`${e}leaderboard-preference`,{headers:xn()})}async function Gz(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 UN(){const{others:e}=On();return Pn(`${e}sync-status`,{headers:xn()})}function e7(){return UN().catch(()=>null)}function VN(e){return typeof e=="number"?{dailyDays:e,breakdownDays:e,hourlyDays:e}:{dailyDays:e.dailyDays,breakdownDays:e.breakdownDays,hourlyDays:e.hourlyDays??e.breakdownDays}}async function qz(e){const{dailyDays:t,breakdownDays:l,hourlyDays:r}=VN(e),[i,s,u,f,d]=await Promise.all([Z6(),e7(),BN(t),Q6(r).catch(()=>({hours:[],timeZone:"Asia/Shanghai"})),J6(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 Yz(e,t,l){const[r,i,s,u]=await Promise.all([Z6(),e7(),Q6(l).catch(()=>({hours:[],timeZone:"Asia/Shanghai"})),J6(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 Xz(){const{others:e}=On();return Pn(`${e}trigger-sync`,{method:"POST",headers:{"Content-Type":"application/json",...xn()},body:"{}"})}async function Wz(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 S2(){const{others:e}=On();return Pn(`${e}config`,{headers:xn()})}async function Lh(e){const{others:t}=On();return Pn(`${t}config`,{method:"PUT",headers:{"Content-Type":"application/json",...xn()},body:JSON.stringify(e)})}const w2="login_from_client",C2="port",t7="user_id",n7="origin_user_id",l7="user_name",a7="avatar_large",Fo=8452,FN="https://juejin.cn/aiusage/dashboard";function _N(e,t){return t}const r7=_N(void 0,FN),GN=512,qN=64;function YN(e){return e==="desktop"||e==="cli"?e:null}function i7(e){if(e==null||e==="")return Fo;const t=Number.parseInt(e,10);return!Number.isFinite(t)||t<=0||t>65535?Fo:t}function o7(e){const t=e.trim();return t.length>0&&t.length<=GN&&!/\s/.test(t)}function s7(e){const t=e.trim();return t.length>0&&t.length<=qN&&!/\s/.test(t)}function ay(e){return(e??"").trim()}function ry(e){const t=e.trim();return t.length>=2&&(t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'"))?t.slice(1,-1).trim():t}function XN(e){const t=new URL(r7);return t.searchParams.set(w2,e.loginFromClient),e.loginFromClient==="cli"&&t.searchParams.set(C2,String(e.port??Fo)),t.toString()}function c7(e=window.location.search){const t=new URLSearchParams(e),l=ry(t.get(t7)??""),r=ry(t.get(n7)??"");return{loginFromClient:YN(t.get(w2)),port:i7(t.get(C2)),userId:o7(l)?l:null,originUserId:s7(r)?r:"",userName:ay(t.get(l7)),avatarLarge:ay(t.get(a7))}}const B0=typeof window<"u"?c7(window.location.search):{loginFromClient:null,port:Fo,userId:null,originUserId:"",userName:"",avatarLarge:""};function u7(){const e=c7(window.location.search);return e.loginFromClient||e.userId?e:B0.loginFromClient||B0.userId?B0:e}function WN(){const e=new URL(window.location.href);e.searchParams.delete(w2),e.searchParams.delete(C2),e.searchParams.delete(t7),e.searchParams.delete(n7),e.searchParams.delete(l7),e.searchParams.delete(a7);const t=`${e.pathname}${e.search}${e.hash}`;window.history.replaceState(window.history.state,"",t)}function ZN(){const e="".trim().replace(/\/$/,"");return e?`${e}/functions/tud-session`:"/api/functions/tud-session"}async function QN(){const e=await fetch(ZN(),{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"||!o7(i)||typeof s!="string"||!s7(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 JN(){return typeof window<"u"&&typeof window.tud<"u"?"desktop":"cli"}function eD(){const e=window.location.port;return i7(e||String(Fo))}async function f7(){var i;const e=JN(),t=e==="cli"?eD():void 0,l=XN({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 tD={info:"accent",warn:"warning",error:"danger",success:"success"};function d7({tone:e="info",title:t,description:l}){return C.jsxs(wo,{status:tD[e],children:[C.jsx(wo.Indicator,{}),C.jsxs(wo.Content,{children:[C.jsx(wo.Title,{children:t}),l&&C.jsx(wo.Description,{children:l})]})]})}const nD=[{id:"sync",label:"云端同步"},{id:"app",label:"应用"},{id:"about",label:"关于"}];function lD({activeTab:e,onTabChange:t}={}){const[l]=y.useState(()=>new Wo({maxVisibleToasts:1})),[r,i]=y.useState("sync"),s=e??r,u=t??i,f=s==="pet"?"sync":s;return C.jsxs("div",{className:"w-full",children:[C.jsx(v2.Provider,{placement:"top end",queue:l}),C.jsxs(ra,{className:"w-full text-center",selectedKey:f,onSelectionChange:d=>u(String(d)),children:[C.jsx(ra.ListContainer,{className:"m-3 mr-14 w-fit",children:C.jsx(ra.List,{"aria-label":"设置分类",className:"w-fit",children:nD.map(d=>C.jsxs(ra.Tab,{className:"h-6 w-fit px-3 text-xs font-normal aria-selected:text-accent-foreground",id:d.id,children:[d.label,C.jsx(ra.Indicator,{className:"bg-accent"})]},d.id))})}),C.jsx(ra.Panel,{className:"h-[50vh] overflow-hidden p-4 text-left font-normal",id:"sync",children:f==="sync"&&C.jsx(aD,{onNotify:d=>l.add(d),onSaved:()=>l.add({description:"写入本机 CLI 配置",title:"已保存",variant:"success"})})}),C.jsx(ra.Panel,{className:"h-[50vh] overflow-hidden p-4 text-left",id:"app",children:f==="app"&&C.jsx(rD,{})}),C.jsx(ra.Panel,{className:"h-[50vh] overflow-hidden p-4 text-left",id:"about",children:f==="about"&&C.jsx("div",{className:"h-full overflow-y-auto pr-1",children:C.jsx(Y6,{})})})]})]})}function aD({onSaved:e,onNotify:t}){var ne,le,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),E=y.useCallback(async()=>{f(!0);try{const W=await S2();r(W),s(W.juejin.enabled),T(null)}catch(W){T(W instanceof Error?W.message:"加载配置失败"),r(null)}finally{f(!1)}},[]);y.useEffect(()=>{E()},[E]);const L=async W=>{const z=i;s(W),h(!0),T(null);try{const O=await Lh({juejin:{enabled:W}});r(O),e()}catch(O){s(z),T(O instanceof Error?O.message:"保存失败")}finally{h(!1)}},M=async()=>{h(!0),T(null);try{const W=await Lh({juejin:{token:null,originUserId:null,userName:null,avatarLarge:null}});r(W),b(!1),X6(),t({title:"已退出登录",variant:"success"})}catch(W){T(W instanceof Error?W.message:"退出失败"),b(!1)}finally{h(!1)}};if(u)return C.jsx("p",{className:"text-muted",children:"加载配置…"});const N=W=>W.replace(/^['"]+|['"]+$/g,"").trim(),A=(l==null?void 0:l.juejin.userId)??null,B=N(((ne=l==null?void 0:l.juejin.originUserId)==null?void 0:ne.trim())||""),_=((le=l==null?void 0:l.juejin.userName)==null?void 0:le.trim())||"",$=((j=l==null?void 0:l.juejin.avatarLarge)==null?void 0:j.trim())||"",k=(l==null?void 0:l.juejin.hasToken)??!1,K=A&&!A.startsWith("jau.")?N(A):"",U=B||K||null,q=()=>{f7().then(W=>{W.ok||t({title:"无法打开掘金登录页",description:W.message??"请稍后重试",variant:"danger"})})};return C.jsxs("div",{className:"flex h-full flex-col gap-3 overflow-hidden",children:[x&&C.jsx(d7,{tone:"error",title:x}),C.jsxs(j4,{className:"rounded-xl p-4",variant:"secondary",children:[C.jsxs("div",{className:"flex items-start justify-between gap-4",children:[C.jsxs("div",{className:"min-w-0",children:[C.jsx("h3",{className:"text-sm text-foreground",children:"云端同步"}),C.jsx("p",{className:"mt-1 text-xs text-muted",children:"本地 sync 完成后自动上报掘金"})]}),C.jsx(ha,{id:"cli-juejin-enabled",isDisabled:d,isSelected:i,onChange:W=>{L(W)},children:C.jsxs(ha.Content,{children:[C.jsx(ha.Control,{children:C.jsx(ha.Indicator,{})}),"启用"]})})]}),C.jsxs("div",{className:"mt-4 flex items-start justify-between gap-4 text-sm",children:[C.jsxs("div",{children:[C.jsx("p",{className:"text-foreground",children:"关联账号"}),C.jsx("p",{className:"mt-1 text-xs text-muted",children:"用于识别云端用量归属"})]}),A?C.jsxs("div",{className:"flex min-w-0 items-center gap-2.5",children:[$?C.jsx("img",{alt:_||"用户头像",className:"size-8 shrink-0 rounded-full object-cover",referrerPolicy:"no-referrer",src:$,title:_||void 0}):C.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:_||void 0,children:(_||A).slice(0,1)}),C.jsxs("div",{className:"min-w-0 text-right",children:[C.jsx("p",{className:"truncate text-foreground",title:_||void 0,children:_||"已关联"}),C.jsx("p",{className:"break-all font-mono text-xs text-muted",title:U?void 0:"缺少 originUserId,请重新掘金登录关联",children:U??"缺少用户 ID(请重新登录关联)"})]})]}):C.jsx("span",{className:"text-muted",children:"未关联"})]}),i&&!A&&C.jsx("p",{className:"mt-3 text-xs text-amber-600 dark:text-amber-400",children:k?"尚未通过掘金登录关联账号;关联前不会上报。":"已开启同步但未关联用户 ID,上报将跳过。"})]}),C.jsx("div",{className:"mt-auto flex justify-end gap-2",children:A?C.jsx(nn,{isDisabled:d,onPress:()=>b(!0),variant:"danger",children:"退出登录"}):C.jsx(nn,{isDisabled:d,onPress:()=>w(!0),variant:"primary",children:"掘金登录"})}),C.jsx(QL,{isOpen:v,onConfirm:q,onOpenChange:w}),C.jsx(je.Backdrop,{isOpen:p,onOpenChange:b,variant:"opaque",children:C.jsx(je.Container,{size:"sm",children:C.jsxs(je.Dialog,{children:[C.jsx(je.CloseTrigger,{"aria-label":"关闭"}),C.jsx(je.Header,{children:C.jsx(je.Heading,{children:"退出登录"})}),C.jsx(je.Body,{className:"text-sm text-muted",children:"确认清除本机保存的用户 ID?清除后需重新通过掘金登录关联。"}),C.jsxs(je.Footer,{className:"gap-2",children:[C.jsx(nn,{slot:"close",variant:"tertiary",children:"取消"}),C.jsx(nn,{isDisabled:d,onPress:()=>{M()},variant:"danger",children:"确认退出"})]})]})})})]})}function rD(){const[e,t]=y.useState(null),[l,r]=y.useState(!0),[i,s]=y.useState(null);return y.useEffect(()=>{let u=!1;return S2().then(f=>{u||(t(f),s(null))}).catch(f=>{u||s(f instanceof Error?f.message:"加载配置失败")}).finally(()=>{u||r(!1)}),()=>{u=!0}},[]),l?C.jsx("p",{className:"text-muted",children:"加载配置…"}):i?C.jsx(d7,{tone:"error",title:i}):e?C.jsx("div",{className:"flex flex-col gap-4",children:C.jsxs(j4,{className:"rounded-xl p-4",variant:"secondary",children:[C.jsx("h3",{className:"mb-3 text-sm font-medium text-foreground",children:"设备信息"}),C.jsxs("div",{className:"flex flex-col gap-2 text-sm",children:[C.jsx(Pc,{label:"设备 ID",value:e.deviceId}),C.jsx(Pc,{label:"上报起点",value:e.statsSince.slice(0,19).replace("T"," ")}),C.jsx(Pc,{label:"上次同步",value:e.lastSyncAt?new Date(e.lastSyncAt).toLocaleString():"从未"}),C.jsx(Pc,{label:"上次上报",value:e.lastUploadAt?new Date(e.lastUploadAt).toLocaleString():"从未"})]})]})}):C.jsx("p",{className:"text-sm text-muted",children:"当前为 Web 模式,设备信息仅在本机 CLI / 桌面端可见。"})}function Pc({label:e,value:t}){return C.jsxs("div",{className:"flex items-center justify-between gap-4 text-sm",children:[C.jsx("span",{className:"text-muted",children:e}),C.jsx("span",{className:"break-all text-right font-mono text-xs",children:t})]})}function iD({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(E=>{b||d(E),l==null||l(E)},[b,l]),T=y.useCallback(E=>{s===void 0&&p(E),u==null||u(E)},[s,u]);return y.useEffect(()=>{if(!r)return;const E=L=>{const M=L.detail;M!=null&&M.tab&&T(M.tab),x(!0)};return window.addEventListener(Mh,E),()=>window.removeEventListener(Mh,E)},[r,x,T]),C.jsxs(C.Fragment,{children:[!i&&(e??C.jsxs(nn,{"aria-label":"设置",onPress:()=>x(!0),variant:"tertiary",children:[C.jsx(WL,{}),"设置"]})),C.jsx(je.Backdrop,{isOpen:v,onOpenChange:x,variant:"opaque",children:C.jsx(je.Container,{className:"w-full max-w-[720px] sm:w-[720px]",scroll:"inside",size:"lg",children:C.jsxs(je.Dialog,{"aria-label":"设置",className:"w-full overflow-hidden sm:w-[640px] sm:max-w-[640px]",children:[C.jsx(je.CloseTrigger,{"aria-label":"关闭设置"}),C.jsx(je.Header,{children:C.jsx(je.Heading,{children:"设置"})}),C.jsx(je.Body,{className:"overflow-hidden p-0",children:C.jsx(lD,{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
|
|
82
|
+
*/const h7=(...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
|
|
87
|
+
*/const oD=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
|
|
92
|
+
*/const sD=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 iy=e=>{const t=
|
|
97
|
+
*/const iy=e=>{const t=sD(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,40 +104,40 @@ 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
|
|
107
|
+
*/const cD=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},uD=y.createContext({}),fD=()=>y.useContext(uD),dD=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=""}=fD()??{},x=r??b?Number(l??p)*24/Number(t??h):l??p;return y.createElement("svg",{ref:d,...H0,width:t??h??H0.width,height:t??h??H0.height,stroke:e??v,strokeWidth:x,className:h7("lucide",w,i),...!s&&!cD(f)&&{"aria-hidden":"true"},...f},[...u.map(([T,E])=>y.createElement(T,E)),...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
|
|
112
|
+
*/const E2=(e,t)=>{const l=y.forwardRef(({className:r,...i},s)=>y.createElement(dD,{ref:s,iconNode:t,className:h7(`lucide-${oD(iy(e))}`,`lucide-${e}`,r),...i}));return l.displayName=iy(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
|
|
117
|
+
*/const hD=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],mD=E2("chevron-left",hD);/**
|
|
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
|
|
122
|
+
*/const pD=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],gD=E2("chevron-right",pD);/**
|
|
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
|
|
127
|
+
*/const bD=[["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"}]],vD=E2("copy",bD),m7=y.createContext({authStatus:"unauthenticated",userId:null,userName:"",avatarLarge:""});function yD({authStatus:e,userId:t,userName:l,avatarLarge:r,children:i}){return C.jsx(m7.Provider,{value:{authStatus:e,userId:t,userName:l,avatarLarge:r},children:i})}function xD(){return y.useContext(m7)}const p7=y.createContext(null);function SD({children:e}){const[t,l]=y.useState(null),r=y.useCallback(s=>{l(s)},[]),i=y.useMemo(()=>({publishSnapshot:r,snapshot:t}),[r,t]);return C.jsx(p7.Provider,{value:i,children:e})}function wD(){const e=y.useContext(p7);if(!e)throw new Error("useShareSnapshot must be used within ShareSnapshotProvider");return e}var CD=Object.defineProperty,pu=Object.getOwnPropertySymbols,g7=Object.prototype.hasOwnProperty,b7=Object.prototype.propertyIsEnumerable,oy=(e,t,l)=>t in e?CD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l,kh=(e,t)=>{for(var l in t||(t={}))g7.call(t,l)&&oy(e,l,t[l]);if(pu)for(var l of pu(t))b7.call(t,l)&&oy(e,l,t[l]);return e},Nh=(e,t)=>{var l={};for(var r in e)g7.call(e,r)&&t.indexOf(r)<0&&(l[r]=e[r]);if(e!=null&&pu)for(var r of pu(e))t.indexOf(r)<0&&b7.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
|
|
131
|
-
*/var rr;(e=>{const t=class ze{constructor(d,h,p,b){if(this.version=d,this.errorCorrectionLevel=h,this.modules=[],this.isFunction=[],d<ze.MIN_VERSION||d>ze.MAX_VERSION)throw new RangeError("Version value out of range");if(b<-1||b>7)throw new RangeError("Mask value out of range");this.size=d*4+17;let v=[];for(let x=0;x<this.size;x++)v.push(!1);for(let x=0;x<this.size;x++)this.modules.push(v.slice()),this.isFunction.push(v.slice());this.drawFunctionPatterns();const w=this.addEccAndInterleave(p);if(this.drawCodewords(w),b==-1){let x=1e9;for(let T=0;T<8;T++){this.applyMask(T),this.drawFormatBits(T);const C=this.getPenaltyScore();C<x&&(b=T,x=C),this.applyMask(T)}}i(0<=b&&b<=7),this.mask=b,this.applyMask(b),this.drawFormatBits(b),this.isFunction=[]}static encodeText(d,h){const p=e.QrSegment.makeSegments(d);return ze.encodeSegments(p,h)}static encodeBinary(d,h){const p=e.QrSegment.makeBytes(d);return ze.encodeSegments([p],h)}static encodeSegments(d,h,p=1,b=40,v=-1,w=!0){if(!(ze.MIN_VERSION<=p&&p<=b&&b<=ze.MAX_VERSION)||v<-1||v>7)throw new RangeError("Invalid value");let x,T;for(x=p;;x++){const N=ze.getNumDataCodewords(x,h)*8,A=u.getTotalBits(d,x);if(A<=N){T=A;break}if(x>=b)throw new RangeError("Data too long")}for(const N of[ze.Ecc.MEDIUM,ze.Ecc.QUARTILE,ze.Ecc.HIGH])w&&T<=ze.getNumDataCodewords(x,N)*8&&(h=N);let C=[];for(const N of d){l(N.mode.modeBits,4,C),l(N.numChars,N.mode.numCharCountBits(x),C);for(const A of N.getData())C.push(A)}i(C.length==T);const L=ze.getNumDataCodewords(x,h)*8;i(C.length<=L),l(0,Math.min(4,L-C.length),C),l(0,(8-C.length%8)%8,C),i(C.length%8==0);for(let N=236;C.length<L;N^=253)l(N,8,C);let M=[];for(;M.length*8<C.length;)M.push(0);return C.forEach((N,A)=>M[A>>>3]|=N<<7-(A&7)),new ze(x,h,M,v)}getModule(d,h){return 0<=d&&d<this.size&&0<=h&&h<this.size&&this.modules[h][d]}getModules(){return this.modules}drawFunctionPatterns(){for(let p=0;p<this.size;p++)this.setFunctionModule(6,p,p%2==0),this.setFunctionModule(p,6,p%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const d=this.getAlignmentPatternPositions(),h=d.length;for(let p=0;p<h;p++)for(let b=0;b<h;b++)p==0&&b==0||p==0&&b==h-1||p==h-1&&b==0||this.drawAlignmentPattern(d[p],d[b]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(d){const h=this.errorCorrectionLevel.formatBits<<3|d;let p=h;for(let v=0;v<10;v++)p=p<<1^(p>>>9)*1335;const b=(h<<10|p)^21522;i(b>>>15==0);for(let v=0;v<=5;v++)this.setFunctionModule(8,v,r(b,v));this.setFunctionModule(8,7,r(b,6)),this.setFunctionModule(8,8,r(b,7)),this.setFunctionModule(7,8,r(b,8));for(let v=9;v<15;v++)this.setFunctionModule(14-v,8,r(b,v));for(let v=0;v<8;v++)this.setFunctionModule(this.size-1-v,8,r(b,v));for(let v=8;v<15;v++)this.setFunctionModule(8,this.size-15+v,r(b,v));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let d=this.version;for(let p=0;p<12;p++)d=d<<1^(d>>>11)*7973;const h=this.version<<12|d;i(h>>>18==0);for(let p=0;p<18;p++){const b=r(h,p),v=this.size-11+p%3,w=Math.floor(p/3);this.setFunctionModule(v,w,b),this.setFunctionModule(w,v,b)}}drawFinderPattern(d,h){for(let p=-4;p<=4;p++)for(let b=-4;b<=4;b++){const v=Math.max(Math.abs(b),Math.abs(p)),w=d+b,x=h+p;0<=w&&w<this.size&&0<=x&&x<this.size&&this.setFunctionModule(w,x,v!=2&&v!=4)}}drawAlignmentPattern(d,h){for(let p=-2;p<=2;p++)for(let b=-2;b<=2;b++)this.setFunctionModule(d+b,h+p,Math.max(Math.abs(b),Math.abs(p))!=1)}setFunctionModule(d,h,p){this.modules[h][d]=p,this.isFunction[h][d]=!0}addEccAndInterleave(d){const h=this.version,p=this.errorCorrectionLevel;if(d.length!=ze.getNumDataCodewords(h,p))throw new RangeError("Invalid argument");const b=ze.NUM_ERROR_CORRECTION_BLOCKS[p.ordinal][h],v=ze.ECC_CODEWORDS_PER_BLOCK[p.ordinal][h],w=Math.floor(ze.getNumRawDataModules(h)/8),x=b-w%b,T=Math.floor(w/b);let C=[];const L=ze.reedSolomonComputeDivisor(v);for(let N=0,A=0;N<b;N++){let B=d.slice(A,A+T-v+(N<x?0:1));A+=B.length;const _=ze.reedSolomonComputeRemainder(B,L);N<x&&B.push(0),C.push(B.concat(_))}let M=[];for(let N=0;N<C[0].length;N++)C.forEach((A,B)=>{(N!=T-v||B>=x)&&M.push(A[N])});return i(M.length==w),M}drawCodewords(d){if(d.length!=Math.floor(ze.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let h=0;for(let p=this.size-1;p>=1;p-=2){p==6&&(p=5);for(let b=0;b<this.size;b++)for(let v=0;v<2;v++){const w=p-v,T=(p+1&2)==0?this.size-1-b:b;!this.isFunction[T][w]&&h<d.length*8&&(this.modules[T][w]=r(d[h>>>3],7-(h&7)),h++)}}i(h==d.length*8)}applyMask(d){if(d<0||d>7)throw new RangeError("Mask value out of range");for(let h=0;h<this.size;h++)for(let p=0;p<this.size;p++){let b;switch(d){case 0:b=(p+h)%2==0;break;case 1:b=h%2==0;break;case 2:b=p%3==0;break;case 3:b=(p+h)%3==0;break;case 4:b=(Math.floor(p/3)+Math.floor(h/2))%2==0;break;case 5:b=p*h%2+p*h%3==0;break;case 6:b=(p*h%2+p*h%3)%2==0;break;case 7:b=((p+h)%2+p*h%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[h][p]&&b&&(this.modules[h][p]=!this.modules[h][p])}}getPenaltyScore(){let d=0;for(let v=0;v<this.size;v++){let w=!1,x=0,T=[0,0,0,0,0,0,0];for(let C=0;C<this.size;C++)this.modules[v][C]==w?(x++,x==5?d+=ze.PENALTY_N1:x>5&&d++):(this.finderPenaltyAddHistory(x,T),w||(d+=this.finderPenaltyCountPatterns(T)*ze.PENALTY_N3),w=this.modules[v][C],x=1);d+=this.finderPenaltyTerminateAndCount(w,x,T)*ze.PENALTY_N3}for(let v=0;v<this.size;v++){let w=!1,x=0,T=[0,0,0,0,0,0,0];for(let C=0;C<this.size;C++)this.modules[C][v]==w?(x++,x==5?d+=ze.PENALTY_N1:x>5&&d++):(this.finderPenaltyAddHistory(x,T),w||(d+=this.finderPenaltyCountPatterns(T)*ze.PENALTY_N3),w=this.modules[C][v],x=1);d+=this.finderPenaltyTerminateAndCount(w,x,T)*ze.PENALTY_N3}for(let v=0;v<this.size-1;v++)for(let w=0;w<this.size-1;w++){const x=this.modules[v][w];x==this.modules[v][w+1]&&x==this.modules[v+1][w]&&x==this.modules[v+1][w+1]&&(d+=ze.PENALTY_N2)}let h=0;for(const v of this.modules)h=v.reduce((w,x)=>w+(x?1:0),h);const p=this.size*this.size,b=Math.ceil(Math.abs(h*20-p*10)/p)-1;return i(0<=b&&b<=9),d+=b*ze.PENALTY_N4,i(0<=d&&d<=2568888),d}getAlignmentPatternPositions(){if(this.version==1)return[];{const d=Math.floor(this.version/7)+2,h=this.version==32?26:Math.ceil((this.version*4+4)/(d*2-2))*2;let p=[6];for(let b=this.size-7;p.length<d;b-=h)p.splice(1,0,b);return p}}static getNumRawDataModules(d){if(d<ze.MIN_VERSION||d>ze.MAX_VERSION)throw new RangeError("Version number out of range");let h=(16*d+128)*d+64;if(d>=2){const p=Math.floor(d/7)+2;h-=(25*p-10)*p-55,d>=7&&(h-=36)}return i(208<=h&&h<=29648),h}static getNumDataCodewords(d,h){return Math.floor(ze.getNumRawDataModules(d)/8)-ze.ECC_CODEWORDS_PER_BLOCK[h.ordinal][d]*ze.NUM_ERROR_CORRECTION_BLOCKS[h.ordinal][d]}static reedSolomonComputeDivisor(d){if(d<1||d>255)throw new RangeError("Degree out of range");let h=[];for(let b=0;b<d-1;b++)h.push(0);h.push(1);let p=1;for(let b=0;b<d;b++){for(let v=0;v<h.length;v++)h[v]=ze.reedSolomonMultiply(h[v],p),v+1<h.length&&(h[v]^=h[v+1]);p=ze.reedSolomonMultiply(p,2)}return h}static reedSolomonComputeRemainder(d,h){let p=h.map(b=>0);for(const b of d){const v=b^p.shift();p.push(0),h.forEach((w,x)=>p[x]^=ze.reedSolomonMultiply(w,v))}return p}static reedSolomonMultiply(d,h){if(d>>>8||h>>>8)throw new RangeError("Byte out of range");let p=0;for(let b=7;b>=0;b--)p=p<<1^(p>>>7)*285,p^=(h>>>b&1)*d;return i(p>>>8==0),p}finderPenaltyCountPatterns(d){const h=d[1];i(h<=this.size*3);const p=h>0&&d[2]==h&&d[3]==h*3&&d[4]==h&&d[5]==h;return(p&&d[0]>=h*4&&d[6]>=h?1:0)+(p&&d[6]>=h*4&&d[0]>=h?1:0)}finderPenaltyTerminateAndCount(d,h,p){return d&&(this.finderPenaltyAddHistory(h,p),h=0),h+=this.size,this.finderPenaltyAddHistory(h,p),this.finderPenaltyCountPatterns(p)}finderPenaltyAddHistory(d,h){h[0]==0&&(d+=this.size),h.pop(),h.unshift(d)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function l(f,d,h){if(d<0||d>31||f>>>d)throw new RangeError("Value out of range");for(let p=d-1;p>=0;p--)h.push(f>>>p&1)}function r(f,d){return(f>>>d&1)!=0}function i(f){if(!f)throw new Error("Assertion error")}const s=class ct{constructor(d,h,p){if(this.mode=d,this.numChars=h,this.bitData=p,h<0)throw new RangeError("Invalid argument");this.bitData=p.slice()}static makeBytes(d){let h=[];for(const p of d)l(p,8,h);return new ct(ct.Mode.BYTE,d.length,h)}static makeNumeric(d){if(!ct.isNumeric(d))throw new RangeError("String contains non-numeric characters");let h=[];for(let p=0;p<d.length;){const b=Math.min(d.length-p,3);l(parseInt(d.substring(p,p+b),10),b*3+1,h),p+=b}return new ct(ct.Mode.NUMERIC,d.length,h)}static makeAlphanumeric(d){if(!ct.isAlphanumeric(d))throw new RangeError("String contains unencodable characters in alphanumeric mode");let h=[],p;for(p=0;p+2<=d.length;p+=2){let b=ct.ALPHANUMERIC_CHARSET.indexOf(d.charAt(p))*45;b+=ct.ALPHANUMERIC_CHARSET.indexOf(d.charAt(p+1)),l(b,11,h)}return p<d.length&&l(ct.ALPHANUMERIC_CHARSET.indexOf(d.charAt(p)),6,h),new ct(ct.Mode.ALPHANUMERIC,d.length,h)}static makeSegments(d){return d==""?[]:ct.isNumeric(d)?[ct.makeNumeric(d)]:ct.isAlphanumeric(d)?[ct.makeAlphanumeric(d)]:[ct.makeBytes(ct.toUtf8ByteArray(d))]}static makeEci(d){let h=[];if(d<0)throw new RangeError("ECI assignment value out of range");if(d<128)l(d,8,h);else if(d<16384)l(2,2,h),l(d,14,h);else if(d<1e6)l(6,3,h),l(d,21,h);else throw new RangeError("ECI assignment value out of range");return new ct(ct.Mode.ECI,0,h)}static isNumeric(d){return ct.NUMERIC_REGEX.test(d)}static isAlphanumeric(d){return ct.ALPHANUMERIC_REGEX.test(d)}getData(){return this.bitData.slice()}static getTotalBits(d,h){let p=0;for(const b of d){const v=b.mode.numCharCountBits(h);if(b.numChars>=1<<v)return 1/0;p+=4+v+b.bitData.length}return p}static toUtf8ByteArray(d){d=encodeURI(d);let h=[];for(let p=0;p<d.length;p++)d.charAt(p)!="%"?h.push(d.charCodeAt(p)):(h.push(parseInt(d.substring(p+1,p+3),16)),p+=2);return h}};s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let u=s;e.QrSegment=s})(rr||(rr={}));(e=>{(t=>{const l=class{constructor(i,s){this.ordinal=i,this.formatBits=s}};l.LOW=new l(0,1),l.MEDIUM=new l(1,0),l.QUARTILE=new l(2,3),l.HIGH=new l(3,2),t.Ecc=l})(e.QrCode||(e.QrCode={}))})(rr||(rr={}));(e=>{(t=>{const l=class{constructor(i,s){this.modeBits=i,this.numBitsCharCount=s}numCharCountBits(i){return this.numBitsCharCount[Math.floor((i+7)/17)]}};l.NUMERIC=new l(1,[10,12,14]),l.ALPHANUMERIC=new l(2,[9,11,13]),l.BYTE=new l(4,[8,16,16]),l.KANJI=new l(8,[8,10,12]),l.ECI=new l(7,[0,0,0]),t.Mode=l})(e.QrSegment||(e.QrSegment={}))})(rr||(rr={}));var oi=rr;/**
|
|
131
|
+
*/var rr;(e=>{const t=class ze{constructor(d,h,p,b){if(this.version=d,this.errorCorrectionLevel=h,this.modules=[],this.isFunction=[],d<ze.MIN_VERSION||d>ze.MAX_VERSION)throw new RangeError("Version value out of range");if(b<-1||b>7)throw new RangeError("Mask value out of range");this.size=d*4+17;let v=[];for(let x=0;x<this.size;x++)v.push(!1);for(let x=0;x<this.size;x++)this.modules.push(v.slice()),this.isFunction.push(v.slice());this.drawFunctionPatterns();const w=this.addEccAndInterleave(p);if(this.drawCodewords(w),b==-1){let x=1e9;for(let T=0;T<8;T++){this.applyMask(T),this.drawFormatBits(T);const E=this.getPenaltyScore();E<x&&(b=T,x=E),this.applyMask(T)}}i(0<=b&&b<=7),this.mask=b,this.applyMask(b),this.drawFormatBits(b),this.isFunction=[]}static encodeText(d,h){const p=e.QrSegment.makeSegments(d);return ze.encodeSegments(p,h)}static encodeBinary(d,h){const p=e.QrSegment.makeBytes(d);return ze.encodeSegments([p],h)}static encodeSegments(d,h,p=1,b=40,v=-1,w=!0){if(!(ze.MIN_VERSION<=p&&p<=b&&b<=ze.MAX_VERSION)||v<-1||v>7)throw new RangeError("Invalid value");let x,T;for(x=p;;x++){const N=ze.getNumDataCodewords(x,h)*8,A=u.getTotalBits(d,x);if(A<=N){T=A;break}if(x>=b)throw new RangeError("Data too long")}for(const N of[ze.Ecc.MEDIUM,ze.Ecc.QUARTILE,ze.Ecc.HIGH])w&&T<=ze.getNumDataCodewords(x,N)*8&&(h=N);let E=[];for(const N of d){l(N.mode.modeBits,4,E),l(N.numChars,N.mode.numCharCountBits(x),E);for(const A of N.getData())E.push(A)}i(E.length==T);const L=ze.getNumDataCodewords(x,h)*8;i(E.length<=L),l(0,Math.min(4,L-E.length),E),l(0,(8-E.length%8)%8,E),i(E.length%8==0);for(let N=236;E.length<L;N^=253)l(N,8,E);let M=[];for(;M.length*8<E.length;)M.push(0);return E.forEach((N,A)=>M[A>>>3]|=N<<7-(A&7)),new ze(x,h,M,v)}getModule(d,h){return 0<=d&&d<this.size&&0<=h&&h<this.size&&this.modules[h][d]}getModules(){return this.modules}drawFunctionPatterns(){for(let p=0;p<this.size;p++)this.setFunctionModule(6,p,p%2==0),this.setFunctionModule(p,6,p%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const d=this.getAlignmentPatternPositions(),h=d.length;for(let p=0;p<h;p++)for(let b=0;b<h;b++)p==0&&b==0||p==0&&b==h-1||p==h-1&&b==0||this.drawAlignmentPattern(d[p],d[b]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(d){const h=this.errorCorrectionLevel.formatBits<<3|d;let p=h;for(let v=0;v<10;v++)p=p<<1^(p>>>9)*1335;const b=(h<<10|p)^21522;i(b>>>15==0);for(let v=0;v<=5;v++)this.setFunctionModule(8,v,r(b,v));this.setFunctionModule(8,7,r(b,6)),this.setFunctionModule(8,8,r(b,7)),this.setFunctionModule(7,8,r(b,8));for(let v=9;v<15;v++)this.setFunctionModule(14-v,8,r(b,v));for(let v=0;v<8;v++)this.setFunctionModule(this.size-1-v,8,r(b,v));for(let v=8;v<15;v++)this.setFunctionModule(8,this.size-15+v,r(b,v));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let d=this.version;for(let p=0;p<12;p++)d=d<<1^(d>>>11)*7973;const h=this.version<<12|d;i(h>>>18==0);for(let p=0;p<18;p++){const b=r(h,p),v=this.size-11+p%3,w=Math.floor(p/3);this.setFunctionModule(v,w,b),this.setFunctionModule(w,v,b)}}drawFinderPattern(d,h){for(let p=-4;p<=4;p++)for(let b=-4;b<=4;b++){const v=Math.max(Math.abs(b),Math.abs(p)),w=d+b,x=h+p;0<=w&&w<this.size&&0<=x&&x<this.size&&this.setFunctionModule(w,x,v!=2&&v!=4)}}drawAlignmentPattern(d,h){for(let p=-2;p<=2;p++)for(let b=-2;b<=2;b++)this.setFunctionModule(d+b,h+p,Math.max(Math.abs(b),Math.abs(p))!=1)}setFunctionModule(d,h,p){this.modules[h][d]=p,this.isFunction[h][d]=!0}addEccAndInterleave(d){const h=this.version,p=this.errorCorrectionLevel;if(d.length!=ze.getNumDataCodewords(h,p))throw new RangeError("Invalid argument");const b=ze.NUM_ERROR_CORRECTION_BLOCKS[p.ordinal][h],v=ze.ECC_CODEWORDS_PER_BLOCK[p.ordinal][h],w=Math.floor(ze.getNumRawDataModules(h)/8),x=b-w%b,T=Math.floor(w/b);let E=[];const L=ze.reedSolomonComputeDivisor(v);for(let N=0,A=0;N<b;N++){let B=d.slice(A,A+T-v+(N<x?0:1));A+=B.length;const _=ze.reedSolomonComputeRemainder(B,L);N<x&&B.push(0),E.push(B.concat(_))}let M=[];for(let N=0;N<E[0].length;N++)E.forEach((A,B)=>{(N!=T-v||B>=x)&&M.push(A[N])});return i(M.length==w),M}drawCodewords(d){if(d.length!=Math.floor(ze.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let h=0;for(let p=this.size-1;p>=1;p-=2){p==6&&(p=5);for(let b=0;b<this.size;b++)for(let v=0;v<2;v++){const w=p-v,T=(p+1&2)==0?this.size-1-b:b;!this.isFunction[T][w]&&h<d.length*8&&(this.modules[T][w]=r(d[h>>>3],7-(h&7)),h++)}}i(h==d.length*8)}applyMask(d){if(d<0||d>7)throw new RangeError("Mask value out of range");for(let h=0;h<this.size;h++)for(let p=0;p<this.size;p++){let b;switch(d){case 0:b=(p+h)%2==0;break;case 1:b=h%2==0;break;case 2:b=p%3==0;break;case 3:b=(p+h)%3==0;break;case 4:b=(Math.floor(p/3)+Math.floor(h/2))%2==0;break;case 5:b=p*h%2+p*h%3==0;break;case 6:b=(p*h%2+p*h%3)%2==0;break;case 7:b=((p+h)%2+p*h%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[h][p]&&b&&(this.modules[h][p]=!this.modules[h][p])}}getPenaltyScore(){let d=0;for(let v=0;v<this.size;v++){let w=!1,x=0,T=[0,0,0,0,0,0,0];for(let E=0;E<this.size;E++)this.modules[v][E]==w?(x++,x==5?d+=ze.PENALTY_N1:x>5&&d++):(this.finderPenaltyAddHistory(x,T),w||(d+=this.finderPenaltyCountPatterns(T)*ze.PENALTY_N3),w=this.modules[v][E],x=1);d+=this.finderPenaltyTerminateAndCount(w,x,T)*ze.PENALTY_N3}for(let v=0;v<this.size;v++){let w=!1,x=0,T=[0,0,0,0,0,0,0];for(let E=0;E<this.size;E++)this.modules[E][v]==w?(x++,x==5?d+=ze.PENALTY_N1:x>5&&d++):(this.finderPenaltyAddHistory(x,T),w||(d+=this.finderPenaltyCountPatterns(T)*ze.PENALTY_N3),w=this.modules[E][v],x=1);d+=this.finderPenaltyTerminateAndCount(w,x,T)*ze.PENALTY_N3}for(let v=0;v<this.size-1;v++)for(let w=0;w<this.size-1;w++){const x=this.modules[v][w];x==this.modules[v][w+1]&&x==this.modules[v+1][w]&&x==this.modules[v+1][w+1]&&(d+=ze.PENALTY_N2)}let h=0;for(const v of this.modules)h=v.reduce((w,x)=>w+(x?1:0),h);const p=this.size*this.size,b=Math.ceil(Math.abs(h*20-p*10)/p)-1;return i(0<=b&&b<=9),d+=b*ze.PENALTY_N4,i(0<=d&&d<=2568888),d}getAlignmentPatternPositions(){if(this.version==1)return[];{const d=Math.floor(this.version/7)+2,h=this.version==32?26:Math.ceil((this.version*4+4)/(d*2-2))*2;let p=[6];for(let b=this.size-7;p.length<d;b-=h)p.splice(1,0,b);return p}}static getNumRawDataModules(d){if(d<ze.MIN_VERSION||d>ze.MAX_VERSION)throw new RangeError("Version number out of range");let h=(16*d+128)*d+64;if(d>=2){const p=Math.floor(d/7)+2;h-=(25*p-10)*p-55,d>=7&&(h-=36)}return i(208<=h&&h<=29648),h}static getNumDataCodewords(d,h){return Math.floor(ze.getNumRawDataModules(d)/8)-ze.ECC_CODEWORDS_PER_BLOCK[h.ordinal][d]*ze.NUM_ERROR_CORRECTION_BLOCKS[h.ordinal][d]}static reedSolomonComputeDivisor(d){if(d<1||d>255)throw new RangeError("Degree out of range");let h=[];for(let b=0;b<d-1;b++)h.push(0);h.push(1);let p=1;for(let b=0;b<d;b++){for(let v=0;v<h.length;v++)h[v]=ze.reedSolomonMultiply(h[v],p),v+1<h.length&&(h[v]^=h[v+1]);p=ze.reedSolomonMultiply(p,2)}return h}static reedSolomonComputeRemainder(d,h){let p=h.map(b=>0);for(const b of d){const v=b^p.shift();p.push(0),h.forEach((w,x)=>p[x]^=ze.reedSolomonMultiply(w,v))}return p}static reedSolomonMultiply(d,h){if(d>>>8||h>>>8)throw new RangeError("Byte out of range");let p=0;for(let b=7;b>=0;b--)p=p<<1^(p>>>7)*285,p^=(h>>>b&1)*d;return i(p>>>8==0),p}finderPenaltyCountPatterns(d){const h=d[1];i(h<=this.size*3);const p=h>0&&d[2]==h&&d[3]==h*3&&d[4]==h&&d[5]==h;return(p&&d[0]>=h*4&&d[6]>=h?1:0)+(p&&d[6]>=h*4&&d[0]>=h?1:0)}finderPenaltyTerminateAndCount(d,h,p){return d&&(this.finderPenaltyAddHistory(h,p),h=0),h+=this.size,this.finderPenaltyAddHistory(h,p),this.finderPenaltyCountPatterns(p)}finderPenaltyAddHistory(d,h){h[0]==0&&(d+=this.size),h.pop(),h.unshift(d)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function l(f,d,h){if(d<0||d>31||f>>>d)throw new RangeError("Value out of range");for(let p=d-1;p>=0;p--)h.push(f>>>p&1)}function r(f,d){return(f>>>d&1)!=0}function i(f){if(!f)throw new Error("Assertion error")}const s=class ct{constructor(d,h,p){if(this.mode=d,this.numChars=h,this.bitData=p,h<0)throw new RangeError("Invalid argument");this.bitData=p.slice()}static makeBytes(d){let h=[];for(const p of d)l(p,8,h);return new ct(ct.Mode.BYTE,d.length,h)}static makeNumeric(d){if(!ct.isNumeric(d))throw new RangeError("String contains non-numeric characters");let h=[];for(let p=0;p<d.length;){const b=Math.min(d.length-p,3);l(parseInt(d.substring(p,p+b),10),b*3+1,h),p+=b}return new ct(ct.Mode.NUMERIC,d.length,h)}static makeAlphanumeric(d){if(!ct.isAlphanumeric(d))throw new RangeError("String contains unencodable characters in alphanumeric mode");let h=[],p;for(p=0;p+2<=d.length;p+=2){let b=ct.ALPHANUMERIC_CHARSET.indexOf(d.charAt(p))*45;b+=ct.ALPHANUMERIC_CHARSET.indexOf(d.charAt(p+1)),l(b,11,h)}return p<d.length&&l(ct.ALPHANUMERIC_CHARSET.indexOf(d.charAt(p)),6,h),new ct(ct.Mode.ALPHANUMERIC,d.length,h)}static makeSegments(d){return d==""?[]:ct.isNumeric(d)?[ct.makeNumeric(d)]:ct.isAlphanumeric(d)?[ct.makeAlphanumeric(d)]:[ct.makeBytes(ct.toUtf8ByteArray(d))]}static makeEci(d){let h=[];if(d<0)throw new RangeError("ECI assignment value out of range");if(d<128)l(d,8,h);else if(d<16384)l(2,2,h),l(d,14,h);else if(d<1e6)l(6,3,h),l(d,21,h);else throw new RangeError("ECI assignment value out of range");return new ct(ct.Mode.ECI,0,h)}static isNumeric(d){return ct.NUMERIC_REGEX.test(d)}static isAlphanumeric(d){return ct.ALPHANUMERIC_REGEX.test(d)}getData(){return this.bitData.slice()}static getTotalBits(d,h){let p=0;for(const b of d){const v=b.mode.numCharCountBits(h);if(b.numChars>=1<<v)return 1/0;p+=4+v+b.bitData.length}return p}static toUtf8ByteArray(d){d=encodeURI(d);let h=[];for(let p=0;p<d.length;p++)d.charAt(p)!="%"?h.push(d.charCodeAt(p)):(h.push(parseInt(d.substring(p+1,p+3),16)),p+=2);return h}};s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let u=s;e.QrSegment=s})(rr||(rr={}));(e=>{(t=>{const l=class{constructor(i,s){this.ordinal=i,this.formatBits=s}};l.LOW=new l(0,1),l.MEDIUM=new l(1,0),l.QUARTILE=new l(2,3),l.HIGH=new l(3,2),t.Ecc=l})(e.QrCode||(e.QrCode={}))})(rr||(rr={}));(e=>{(t=>{const l=class{constructor(i,s){this.modeBits=i,this.numBitsCharCount=s}numCharCountBits(i){return this.numBitsCharCount[Math.floor((i+7)/17)]}};l.NUMERIC=new l(1,[10,12,14]),l.ALPHANUMERIC=new l(2,[9,11,13]),l.BYTE=new l(4,[8,16,16]),l.KANJI=new l(8,[8,10,12]),l.ECI=new l(7,[0,0,0]),t.Mode=l})(e.QrSegment||(e.QrSegment={}))})(rr||(rr={}));var oi=rr;/**
|
|
132
132
|
* @license qrcode.react
|
|
133
133
|
* Copyright (c) Paul O'Shannessy
|
|
134
134
|
* SPDX-License-Identifier: ISC
|
|
135
|
-
*/var ED={L:oi.QrCode.Ecc.LOW,M:oi.QrCode.Ecc.MEDIUM,Q:oi.QrCode.Ecc.QUARTILE,H:oi.QrCode.Ecc.HIGH},v6=128,y6="L",x6="#FFFFFF",S6="#000000",w6=!1,E6=1,CD=4,TD=0,RD=.1;function C6(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 T6(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 MD(e,t,l,r){if(r==null)return null;const i=e.length+l*2,s=Math.floor(t*RD),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),L=Math.ceil(d+p-T);v={x,y:T,w:C,h:L}}const w=r.crossOrigin;return{x:h,y:p,h:d,w:f,excavation:v,opacity:b,crossOrigin:w}}function AD(e,t){return t!=null?Math.max(Math.floor(t),0):e?CD:TD}function R6({value:e,level:t,minVersion:l,includeMargin:r,marginSize:i,imageSettings:s,size:u,boostLevel:f}){let d=F.useMemo(()=>{const x=(Array.isArray(e)?e:[e]).reduce((T,C)=>(T.push(...oi.QrSegment.makeSegments(C)),T),[]);return oi.QrCode.encodeSegments(x,ED[t],l,void 0,void 0,f)},[e,t,l,f]);const{cells:h,margin:p,numCells:b,calculatedImageSettings:v}=F.useMemo(()=>{let w=d.getModules();const x=AD(r,i),T=w.length+x*2,C=MD(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 LD=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),kD=F.forwardRef(function(t,l){const r=t,{value:i,size:s=v6,level:u=y6,bgColor:f=x6,fgColor:d=S6,includeMargin:h=w6,minVersion:p=E6,boostLevel:b,marginSize:v,imageSettings:w}=r,T=Nh(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:C}=T,L=Nh(T,["style"]),M=w==null?void 0:w.src,N=F.useRef(null),A=F.useRef(null),B=F.useCallback(j=>{N.current=j,typeof l=="function"?l(j):l&&(l.current=j)},[l]),[_,$]=F.useState(!1),{margin:k,cells:K,numCells:U,calculatedImageSettings:q}=R6({value:i,level:u,minVersion:p,boostLevel:b,includeMargin:h,marginSize:v,imageSettings:w,size:s});F.useEffect(()=>{if(N.current!=null){const j=N.current,W=j.getContext("2d");if(!W)return;let z=K;const O=A.current,oe=q!=null&&O!==null&&O.complete&&O.naturalHeight!==0&&O.naturalWidth!==0;oe&&q.excavation!=null&&(z=T6(K,q.excavation));const J=window.devicePixelRatio||1;j.height=j.width=s*J;const G=s/U*J;W.scale(G,G),W.fillStyle=f,W.fillRect(0,0,U,U),W.fillStyle=d,LD?W.fill(new Path2D(C6(z,k))):K.forEach(function(D,Q){D.forEach(function(se,ce){se&&W.fillRect(ce+k,Q+k,1,1)})}),q&&(W.globalAlpha=q.opacity),oe&&W.drawImage(O,q.x+k,q.y+k,q.w,q.h)}}),F.useEffect(()=>{$(!1)},[M]);const ne=kh({height:s,width:s},C);let le=null;return M!=null&&(le=F.createElement("img",{src:M,key:M,style:{display:"none"},onLoad:()=>{$(!0)},ref:A,crossOrigin:q==null?void 0:q.crossOrigin})),F.createElement(F.Fragment,null,F.createElement("canvas",kh({style:ne,height:s,width:s,ref:B,role:"img"},L)),le)});kD.displayName="QRCodeCanvas";var M6=F.forwardRef(function(t,l){const r=t,{value:i,size:s=v6,level:u=y6,bgColor:f=x6,fgColor:d=S6,includeMargin:h=w6,minVersion:p=E6,boostLevel:b,title:v,marginSize:w,imageSettings:x}=r,T=Nh(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:C,cells:L,numCells:M,calculatedImageSettings:N}=R6({value:i,level:u,minVersion:p,boostLevel:b,includeMargin:h,marginSize:w,imageSettings:x,size:s});let A=L,B=null;x!=null&&N!=null&&(N.excavation!=null&&(A=T6(L,N.excavation)),B=F.createElement("image",{href:x.src,height:N.h,width:N.w,x:N.x+C,y:N.y+C,preserveAspectRatio:"none",opacity:N.opacity,crossOrigin:N.crossOrigin}));const _=C6(A,C);return F.createElement("svg",kh({height:s,width:s,viewBox:`0 0 ${M} ${M}`,ref:l,role:"img"},T),!!v&&F.createElement("title",null,v),F.createElement("path",{fill:f,d:`M0,0 h${M}v${M}H0z`,shapeRendering:"crispEdges"}),F.createElement("path",{fill:d,d:_,shapeRendering:"crispEdges"}),B)});M6.displayName="QRCodeSVG";const ND="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",DD="/assets/click-idle-CXAVCmiH.png",$D="/assets/hawking-idle-QoXt5bST.png",zD="/assets/yoyo-idle-DDvV3ieO.png";function Qz(e){return Number.isFinite(e)?Math.round(e).toLocaleString():"0"}function PD(e){return Number.isFinite(e)?`$${e.toFixed(2)}`:"$0.00"}function Jz(e){return Number.isFinite(e)?`${e.toFixed(1)}%`:"0.0%"}const OD="data:font/woff2;base64,d09GMgABAAAAAJ3UABQAAAABfDgAAJ1eAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoFfG4dOHIGacj9IVkFSiUwGYD9TVEFUgWInJgCFIi9qEQgKgdw4gawuC4YWADCCojABNgIkA4waBCAFiUwHowwMB1u3X3GC6aZjD165bQA/5feRJ7EK5KabcjtIaXvmyAJ27AXYOIA2Nl6c/f//eUlFjkrrJK3ZxsGPe0vJiQjkUtZVnoqpDZk2jITW1o6lySayOlsmsTuc7x7N+YLeweTE5EQKOul1EKTJpAnWK4MLsRcl7bXlKtx/uM/FDpQILw/Vx+Z727G1y+Ojue5TfpDHCTmX7myGnztttzQa90eGEX/4yR1NWGhKKEKKDNIhTUSJg27w+0IgVhWmy/s/QBMhM7ppeJsVbfMfW+mooSNQ/QePQ//wOSf52+lqLusAuw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f5eC34iFVFwcc/ea2QbQiIqpiDz1vVIZkiMgRNTiwllJ/KW8BmBaEOsRMg6etvFhK5EAQHT9DKD9IvD0EUUa19N6bqHUij2kidvVT8gpyIRPP5I0SO4/15QjE7Rtj2JyRc6eoTu1nFJRTBMULkNYXhadCxTxbAsbfipZw4x+Sz2WQWeIsW4/u5kNyr6Dj1kD2sbvZksCnk1xjenNVOFt44/O2PZqCAaAP+/EzpqbjLJcudKJl7NTC2vc6z+t9AnlV0CKpbcNgvLoaAk0LLnjrC4ij2zYSAB77tV3EUNKokyIKvds6NlP447dqq2qix1wULQbU7Vwb/qsjaH/ZeIeD9blqqlq/7mqe/HfCo50PMQMSD95i1E9eo60CAAAA";function jD(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 ID=(()=>{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 A6(e={}){return Jr||(e.includeStyleProperties?(Jr=e.includeStyleProperties,Jr):(Jr=ga(window.getComputedStyle(document.documentElement)),Jr))}function gu(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function BD(e){const t=gu(e,"border-left-width"),l=gu(e,"border-right-width");return e.clientWidth+t+l}function HD(e){const t=gu(e,"border-top-width"),l=gu(e,"border-bottom-width");return e.clientHeight+t+l}function L6(e,t={}){const l=t.width||BD(e),r=t.height||HD(e);return{width:l,height:r}}function KD(){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 mn=16384;function UD(e){(e.width>mn||e.height>mn)&&(e.width>mn&&e.height>mn?e.width>e.height?(e.height*=mn/e.width,e.width=mn):(e.width*=mn/e.height,e.height=mn):e.width>mn?(e.height*=mn/e.width,e.width=mn):(e.width*=mn/e.height,e.height=mn))}function VD(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 bu(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 FD(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function _D(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),FD(i)}const ln=(e,t)=>{if(e instanceof t)return!0;const l=Object.getPrototypeOf(e);return l===null?!1:l.constructor.name===t.name||ln(l,t)};function GD(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function qD(e,t){return A6(t).map(l=>{const r=e.getPropertyValue(l),i=e.getPropertyPriority(l);return`${l}: ${r}${i?" !important":""};`}).join(" ")}function YD(e,t,l,r){const i=`.${e}:${t}`,s=l.cssText?GD(l):qD(l,r);return document.createTextNode(`${i}{${s}}`)}function sy(e,t,l,r){const i=window.getComputedStyle(e,l),s=i.getPropertyValue("content");if(s===""||s==="none")return;const u=ID();try{t.className=`${t.className} ${u}`}catch{return}const f=document.createElement("style");f.appendChild(YD(u,l,i,r)),t.appendChild(f)}function XD(e,t,l){sy(e,t,":before",l),sy(e,t,":after",l)}const cy="application/font-woff",uy="image/jpeg",WD={woff:cy,woff2:cy,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:uy,jpeg:uy,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function ZD(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function T2(e){const t=ZD(e).toLowerCase();return WD[t]||""}function QD(e){return e.split(/,/)[1]}function Dh(e){return e.search(/^(data:)/)!==-1}function JD(e,t){return`data:${t};base64,${e}`}async function k6(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 K0={};function e$(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 R2(e,t,l){const r=e$(e,t,l.includeQueryParams);if(K0[r]!=null)return K0[r];l.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let i;try{const s=await k6(e,l.fetchRequestInit,({res:u,result:f})=>(t||(t=u.headers.get("Content-Type")||""),QD(f)));i=JD(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 K0[r]=i,i}async function t$(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):bu(t)}async function n$(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 bu(f)}const l=e.poster,r=T2(l),i=await R2(l,r,t);return bu(i)}async function l$(e,t){var l;try{if(!((l=e==null?void 0:e.contentDocument)===null||l===void 0)&&l.body)return await Ou(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function a$(e,t){return ln(e,HTMLCanvasElement)?t$(e):ln(e,HTMLVideoElement)?n$(e,t):ln(e,HTMLIFrameElement)?l$(e,t):e.cloneNode(N6(e))}const r$=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",N6=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function i$(e,t,l){var r,i;if(N6(t))return t;let s=[];return r$(e)&&e.assignedNodes?s=ga(e.assignedNodes()):ln(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||ln(e,HTMLVideoElement)||await s.reduce((u,f)=>u.then(()=>Ou(f,l)).then(d=>{d&&t.appendChild(d)}),Promise.resolve()),t}function o$(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):A6(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`),ln(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 s$(e,t){ln(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),ln(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function c$(e,t){if(ln(e,HTMLSelectElement)){const r=Array.from(t.children).find(i=>e.value===i.getAttribute("value"));r&&r.setAttribute("selected","")}}function u$(e,t,l){return ln(t,Element)&&(o$(e,t,l),XD(e,t,l),s$(e,t),c$(e,t)),t}async function f$(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 Ou(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 Ou(e,t,l){return!l&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>a$(r,t)).then(r=>i$(e,r,t)).then(r=>u$(e,r,t)).then(r=>f$(r,t))}const D6=/url\((['"]?)([^'"]+?)\1\)/g,d$=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,h$=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function m$(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function p$(e){const t=[];return e.replace(D6,(l,r,i)=>(t.push(i),l)),t.filter(l=>!Dh(l))}async function g$(e,t,l,r,i){try{const s=l?jD(t,l):t,u=T2(t);let f;return i||(f=await R2(s,u,r)),e.replace(m$(t),`$1${f}$3`)}catch{}return e}function b$(e,{preferredFontFormat:t}){return t?e.replace(h$,l=>{for(;;){const[r,,i]=d$.exec(l)||[];if(!i)return"";if(i===t)return`src: ${r};`}}):e}function $6(e){return e.search(D6)!==-1}async function z6(e,t,l){if(!$6(e))return e;const r=b$(e,l);return p$(r).reduce((s,u)=>s.then(f=>g$(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 z6(i,null,l);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function v$(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 y$(e,t){const l=ln(e,HTMLImageElement);if(!(l&&!Dh(e.src))&&!(ln(e,SVGImageElement)&&!Dh(e.href.baseVal)))return;const r=l?e.src:e.href.baseVal,i=await R2(r,T2(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 x$(e,t){const r=ga(e.childNodes).map(i=>P6(i,t));await Promise.all(r).then(()=>e)}async function P6(e,t){ln(e,Element)&&(await v$(e,t),await y$(e,t),await x$(e,t))}function S$(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 fy={};async function dy(e){let t=fy[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},fy[e]=t,t}async function hy(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),k6(f,t.fetchRequestInit,({result:d})=>(l=l.replace(u,`url(${d})`),[u,d]))});return Promise.all(s).then(()=>l)}function my(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 w$(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=dy(d).then(p=>hy(p,t)).then(p=>my(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(dy(i.href).then(f=>hy(f,t)).then(f=>my(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 E$(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>$6(t.style.getPropertyValue("src")))}async function C$(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const l=ga(e.ownerDocument.styleSheets),r=await w$(l,t);return E$(r)}function O6(e){return e.trim().replace(/["']/g,"")}function T$(e){const t=new Set;function l(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(O6(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&l(s)})}return l(e),t}async function R$(e,t){const l=await C$(e,t),r=T$(e);return(await Promise.all(l.filter(s=>r.has(O6(s.style.fontFamily))).map(s=>{const u=s.parentStyleSheet?s.parentStyleSheet.href:null;return z6(s.cssText,u,t)}))).join(`
|
|
136
|
-
`)}async function
|
|
135
|
+
*/var ED={L:oi.QrCode.Ecc.LOW,M:oi.QrCode.Ecc.MEDIUM,Q:oi.QrCode.Ecc.QUARTILE,H:oi.QrCode.Ecc.HIGH},v7=128,y7="L",x7="#FFFFFF",S7="#000000",w7=!1,C7=1,TD=4,RD=0,MD=.1;function E7(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 T7(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 AD(e,t,l,r){if(r==null)return null;const i=e.length+l*2,s=Math.floor(t*MD),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),E=Math.ceil(f+h-x),L=Math.ceil(d+p-T);v={x,y:T,w:E,h:L}}const w=r.crossOrigin;return{x:h,y:p,h:d,w:f,excavation:v,opacity:b,crossOrigin:w}}function LD(e,t){return t!=null?Math.max(Math.floor(t),0):e?TD:RD}function R7({value:e,level:t,minVersion:l,includeMargin:r,marginSize:i,imageSettings:s,size:u,boostLevel:f}){let d=F.useMemo(()=>{const x=(Array.isArray(e)?e:[e]).reduce((T,E)=>(T.push(...oi.QrSegment.makeSegments(E)),T),[]);return oi.QrCode.encodeSegments(x,ED[t],l,void 0,void 0,f)},[e,t,l,f]);const{cells:h,margin:p,numCells:b,calculatedImageSettings:v}=F.useMemo(()=>{let w=d.getModules();const x=LD(r,i),T=w.length+x*2,E=AD(w,u,x,s);return{cells:w,margin:x,numCells:T,calculatedImageSettings:E}},[d,u,s,r,i]);return{qrcode:d,margin:p,cells:h,numCells:b,calculatedImageSettings:v}}var kD=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),ND=F.forwardRef(function(t,l){const r=t,{value:i,size:s=v7,level:u=y7,bgColor:f=x7,fgColor:d=S7,includeMargin:h=w7,minVersion:p=C7,boostLevel:b,marginSize:v,imageSettings:w}=r,T=Nh(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:E}=T,L=Nh(T,["style"]),M=w==null?void 0:w.src,N=F.useRef(null),A=F.useRef(null),B=F.useCallback(j=>{N.current=j,typeof l=="function"?l(j):l&&(l.current=j)},[l]),[_,$]=F.useState(!1),{margin:k,cells:K,numCells:U,calculatedImageSettings:q}=R7({value:i,level:u,minVersion:p,boostLevel:b,includeMargin:h,marginSize:v,imageSettings:w,size:s});F.useEffect(()=>{if(N.current!=null){const j=N.current,W=j.getContext("2d");if(!W)return;let z=K;const O=A.current,oe=q!=null&&O!==null&&O.complete&&O.naturalHeight!==0&&O.naturalWidth!==0;oe&&q.excavation!=null&&(z=T7(K,q.excavation));const J=window.devicePixelRatio||1;j.height=j.width=s*J;const G=s/U*J;W.scale(G,G),W.fillStyle=f,W.fillRect(0,0,U,U),W.fillStyle=d,kD?W.fill(new Path2D(E7(z,k))):K.forEach(function(D,Q){D.forEach(function(se,ce){se&&W.fillRect(ce+k,Q+k,1,1)})}),q&&(W.globalAlpha=q.opacity),oe&&W.drawImage(O,q.x+k,q.y+k,q.w,q.h)}}),F.useEffect(()=>{$(!1)},[M]);const ne=kh({height:s,width:s},E);let le=null;return M!=null&&(le=F.createElement("img",{src:M,key:M,style:{display:"none"},onLoad:()=>{$(!0)},ref:A,crossOrigin:q==null?void 0:q.crossOrigin})),F.createElement(F.Fragment,null,F.createElement("canvas",kh({style:ne,height:s,width:s,ref:B,role:"img"},L)),le)});ND.displayName="QRCodeCanvas";var M7=F.forwardRef(function(t,l){const r=t,{value:i,size:s=v7,level:u=y7,bgColor:f=x7,fgColor:d=S7,includeMargin:h=w7,minVersion:p=C7,boostLevel:b,title:v,marginSize:w,imageSettings:x}=r,T=Nh(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:E,cells:L,numCells:M,calculatedImageSettings:N}=R7({value:i,level:u,minVersion:p,boostLevel:b,includeMargin:h,marginSize:w,imageSettings:x,size:s});let A=L,B=null;x!=null&&N!=null&&(N.excavation!=null&&(A=T7(L,N.excavation)),B=F.createElement("image",{href:x.src,height:N.h,width:N.w,x:N.x+E,y:N.y+E,preserveAspectRatio:"none",opacity:N.opacity,crossOrigin:N.crossOrigin}));const _=E7(A,E);return F.createElement("svg",kh({height:s,width:s,viewBox:`0 0 ${M} ${M}`,ref:l,role:"img"},T),!!v&&F.createElement("title",null,v),F.createElement("path",{fill:f,d:`M0,0 h${M}v${M}H0z`,shapeRendering:"crispEdges"}),F.createElement("path",{fill:d,d:_,shapeRendering:"crispEdges"}),B)});M7.displayName="QRCodeSVG";const DD="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",$D="/assets/click-idle-CXAVCmiH.png",zD="/assets/hawking-idle-QoXt5bST.png",PD="/assets/yoyo-idle-DDvV3ieO.png";function Jz(e){return Number.isFinite(e)?Math.round(e).toLocaleString():"0"}function OD(e){return Number.isFinite(e)?`$${e.toFixed(2)}`:"$0.00"}function eP(e){return Number.isFinite(e)?`${e.toFixed(1)}%`:"0.0%"}const jD="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+uodFHdOLsWzKBmOT5nZj1rxYpITlJrredaScVasWLdbxrEiieDWCvWipXZT0SsBBERa8W6g5hPPNcG1zykQYL72SUNYoOE7C9iRSRIEAkiYq37iYiYe1OtvgpAIRQJgpRI2bLbdqcNMd32eP3vmYQ2pNPhn/495DDJE+zpcQc5UIESwf8j9+zc9xGDPE0LKP3SFri1Ff/Pc7J3/86Z8CgMPEl8SaypNZhT/1XIIO1rujUF3NY8ADodPtwuc5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lOkNfSdXOye/NvIKm2WK4UgcO1/NBB9OFAB1QE/ImvQ1X3VQ/pV6vR6phk/6jHWSs99pqqsBUo9y8ScQKPF2Y6RQ2dxi45MRRIy42+c3D3TCdTbGbhZv1g9XD+aBB7V239Dl1yIWNEm3AyCZGYKMpPDwx6Vx0W0fWl5v3jtU/2zpposSmthGy9fxgrne62hGHev6NrSnR4aFaSAn0dla06H1RifVyIMDAbvOKze2076y8eu++yxk294WcurckHiMN+o606pV7jZ6NvxPN8a+KTGa6pSrCbgXd6sONSgK1HuWjDwJTQcZm7A40BmtsYzqtn422Kvf4C8Vv6+X8v7///sE68avHU6/m78d4ng1bV3PKievLEw3UvXatxX2PrcXavz43sBflHmvYwxN/vmq081l/9t+S4xclt+aFqxeM/WXtlz5GUYF2Nx9kpVqjuoU8TPlRY7f42oQIGAvELCFD15EXM4QFQ75Zr1qmHHXXZMt5Z+KNF8ORxxx1VRGrLus6ih/nPIWcUlHW7muQJ0Kwv8XoOLHTqYlgxb6JuaBtPF0YP5uFR+jwJkANRzAIygEBQ7LYDKJDopHQCFWkeQoaiOYKiLsbAFiaUN/pNh9YZm/p8Lx0Z5cf5eC34iFVFwcc/ea2QbQiIqpiDz1vVIZkiMgRNTiwllJ/KW8BmBaEOsRMg6etvFhK5EAQHT9DKD9IvD0EUUa19N6bqHUij2kidvVT8gpyIRPP5I0SO4/15QjE7Rtj2JyRc6eoTu1nFJRTBMULkNYXhadCxTxbAsbfipZw4x+Sz2WQWeIsW4/u5kNyr6Dj1kD2sbvZksCnk1xjenNVOFt44/O2PZqCAaAP+/EzpqbjLJcudKJl7NTC2vc6z+t9AnlV0CKpbcNgvLoaAk0LLnjrC4ij2zYSAB77tV3EUNKokyIKvds6NlP447dqq2qix1wULQbU7Vwb/qsjaH/ZeIeD9blqqlq/7mqe/HfCo50PMQMSD95i1E9eo60CAAAA";function ID(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 BD=(()=>{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 A7(e={}){return Jr||(e.includeStyleProperties?(Jr=e.includeStyleProperties,Jr):(Jr=ga(window.getComputedStyle(document.documentElement)),Jr))}function gu(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function HD(e){const t=gu(e,"border-left-width"),l=gu(e,"border-right-width");return e.clientWidth+t+l}function KD(e){const t=gu(e,"border-top-width"),l=gu(e,"border-bottom-width");return e.clientHeight+t+l}function L7(e,t={}){const l=t.width||HD(e),r=t.height||KD(e);return{width:l,height:r}}function UD(){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 mn=16384;function VD(e){(e.width>mn||e.height>mn)&&(e.width>mn&&e.height>mn?e.width>e.height?(e.height*=mn/e.width,e.width=mn):(e.width*=mn/e.height,e.height=mn):e.width>mn?(e.height*=mn/e.width,e.width=mn):(e.width*=mn/e.height,e.height=mn))}function FD(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 bu(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 _D(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function GD(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),_D(i)}const ln=(e,t)=>{if(e instanceof t)return!0;const l=Object.getPrototypeOf(e);return l===null?!1:l.constructor.name===t.name||ln(l,t)};function qD(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function YD(e,t){return A7(t).map(l=>{const r=e.getPropertyValue(l),i=e.getPropertyPriority(l);return`${l}: ${r}${i?" !important":""};`}).join(" ")}function XD(e,t,l,r){const i=`.${e}:${t}`,s=l.cssText?qD(l):YD(l,r);return document.createTextNode(`${i}{${s}}`)}function sy(e,t,l,r){const i=window.getComputedStyle(e,l),s=i.getPropertyValue("content");if(s===""||s==="none")return;const u=BD();try{t.className=`${t.className} ${u}`}catch{return}const f=document.createElement("style");f.appendChild(XD(u,l,i,r)),t.appendChild(f)}function WD(e,t,l){sy(e,t,":before",l),sy(e,t,":after",l)}const cy="application/font-woff",uy="image/jpeg",ZD={woff:cy,woff2:cy,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:uy,jpeg:uy,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function QD(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function T2(e){const t=QD(e).toLowerCase();return ZD[t]||""}function JD(e){return e.split(/,/)[1]}function Dh(e){return e.search(/^(data:)/)!==-1}function e$(e,t){return`data:${t};base64,${e}`}async function k7(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 K0={};function t$(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 R2(e,t,l){const r=t$(e,t,l.includeQueryParams);if(K0[r]!=null)return K0[r];l.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let i;try{const s=await k7(e,l.fetchRequestInit,({res:u,result:f})=>(t||(t=u.headers.get("Content-Type")||""),JD(f)));i=e$(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 K0[r]=i,i}async function n$(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):bu(t)}async function l$(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 bu(f)}const l=e.poster,r=T2(l),i=await R2(l,r,t);return bu(i)}async function a$(e,t){var l;try{if(!((l=e==null?void 0:e.contentDocument)===null||l===void 0)&&l.body)return await Ou(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function r$(e,t){return ln(e,HTMLCanvasElement)?n$(e):ln(e,HTMLVideoElement)?l$(e,t):ln(e,HTMLIFrameElement)?a$(e,t):e.cloneNode(N7(e))}const i$=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",N7=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function o$(e,t,l){var r,i;if(N7(t))return t;let s=[];return i$(e)&&e.assignedNodes?s=ga(e.assignedNodes()):ln(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||ln(e,HTMLVideoElement)||await s.reduce((u,f)=>u.then(()=>Ou(f,l)).then(d=>{d&&t.appendChild(d)}),Promise.resolve()),t}function s$(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):A7(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`),ln(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 c$(e,t){ln(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),ln(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function u$(e,t){if(ln(e,HTMLSelectElement)){const r=Array.from(t.children).find(i=>e.value===i.getAttribute("value"));r&&r.setAttribute("selected","")}}function f$(e,t,l){return ln(t,Element)&&(s$(e,t,l),WD(e,t,l),c$(e,t),u$(e,t)),t}async function d$(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 Ou(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 Ou(e,t,l){return!l&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>r$(r,t)).then(r=>o$(e,r,t)).then(r=>f$(e,r,t)).then(r=>d$(r,t))}const D7=/url\((['"]?)([^'"]+?)\1\)/g,h$=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,m$=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function p$(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function g$(e){const t=[];return e.replace(D7,(l,r,i)=>(t.push(i),l)),t.filter(l=>!Dh(l))}async function b$(e,t,l,r,i){try{const s=l?ID(t,l):t,u=T2(t);let f;return i||(f=await R2(s,u,r)),e.replace(p$(t),`$1${f}$3`)}catch{}return e}function v$(e,{preferredFontFormat:t}){return t?e.replace(m$,l=>{for(;;){const[r,,i]=h$.exec(l)||[];if(!i)return"";if(i===t)return`src: ${r};`}}):e}function $7(e){return e.search(D7)!==-1}async function z7(e,t,l){if(!$7(e))return e;const r=v$(e,l);return g$(r).reduce((s,u)=>s.then(f=>b$(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 z7(i,null,l);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function y$(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 x$(e,t){const l=ln(e,HTMLImageElement);if(!(l&&!Dh(e.src))&&!(ln(e,SVGImageElement)&&!Dh(e.href.baseVal)))return;const r=l?e.src:e.href.baseVal,i=await R2(r,T2(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 S$(e,t){const r=ga(e.childNodes).map(i=>P7(i,t));await Promise.all(r).then(()=>e)}async function P7(e,t){ln(e,Element)&&(await y$(e,t),await x$(e,t),await S$(e,t))}function w$(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 fy={};async function dy(e){let t=fy[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},fy[e]=t,t}async function hy(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),k7(f,t.fetchRequestInit,({result:d})=>(l=l.replace(u,`url(${d})`),[u,d]))});return Promise.all(s).then(()=>l)}function my(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 C$(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=dy(d).then(p=>hy(p,t)).then(p=>my(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(dy(i.href).then(f=>hy(f,t)).then(f=>my(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 E$(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>$7(t.style.getPropertyValue("src")))}async function T$(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const l=ga(e.ownerDocument.styleSheets),r=await C$(l,t);return E$(r)}function O7(e){return e.trim().replace(/["']/g,"")}function R$(e){const t=new Set;function l(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(O7(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&l(s)})}return l(e),t}async function M$(e,t){const l=await T$(e,t),r=R$(e);return(await Promise.all(l.filter(s=>r.has(O7(s.style.fontFamily))).map(s=>{const u=s.parentStyleSheet?s.parentStyleSheet.href:null;return z7(s.cssText,u,t)}))).join(`
|
|
136
|
+
`)}async function A$(e,t){const l=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await M$(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 L$(e,t={}){const{width:l,height:r}=L7(e,t),i=await Ou(e,t,!0);return await A$(i,t),await P7(i,t),w$(i,t),await GD(i,l,r)}async function k$(e,t={}){const{width:l,height:r}=L7(e,t),i=await L$(e,t),s=await bu(i),u=document.createElement("canvas"),f=u.getContext("2d"),d=t.pixelRatio||UD(),h=t.canvasWidth||l,p=t.canvasHeight||r;return u.width=h*d,u.height=p*d,t.skipAutoScale||VD(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 j7(e,t={}){const l=await k$(e,t);return await FD(l)}const N$="image/png",I7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADElEQVR42mNk+M/wHwAF/gL+XqY5WQAAAABJRU5ErkJggg==",$h=300,zh=450,D$=1365,$$=2048,z$='system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif',P$='"JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace',B7=`
|
|
137
137
|
@font-face {
|
|
138
138
|
font-family: "JetBrains Mono Variable";
|
|
139
|
-
src: url("${
|
|
139
|
+
src: url("${jD}") format("woff2");
|
|
140
140
|
font-style: normal;
|
|
141
141
|
font-weight: 100 800;
|
|
142
142
|
}
|
|
143
|
-
`;function P$(){return new Promise(e=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>e())})})}async function H6(e){await document.fonts.ready,await Promise.all(Array.from(e.querySelectorAll("img")).map(t=>t.decode().catch(()=>{}))),await P$()}function O$(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 j$(e){await H6(e);const t=await j6(e,{cacheBust:!0,canvasHeight:D$,canvasWidth:N$,fontEmbedCSS:B6,height:zh,imagePlaceholder:I6,pixelRatio:1,width:$h});if(!t)throw new Error("生成分享图片失败");return t}async function eP(e){await H6(e);const t=await j6(e,{cacheBust:!0,fontEmbedCSS:B6,imagePlaceholder:I6,pixelRatio:3});if(!t)throw new Error("生成分享图片失败");return t}function I$(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 B$(e){var l;const t=window.tud;if(t!=null&&t.copyImageToClipboard){if(!await t.copyImageToClipboard(await O$(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({[k$]:e})])}const H$={yoyo:{name:"Yoyo",image:zD},click:{name:"Click",image:DD},hawking:{name:"Hawking",image:$D}},K6="transition-[transform,opacity] duration-[320ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none";function U6(e){return{backgroundColor:e}}function K$(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 U$({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 V$(){return E.jsx(M6,{bgColor:"transparent",className:"ml-auto size-12 shrink-0 self-center overflow-hidden rounded-[6px]",fgColor:"#fff",imageSettings:{excavate:!0,height:12,src:ND,width:12},level:"H",marginSize:4,size:48,title:"访问稀土掘金 AI 用量页面",value:r6})}const py=["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 F$({color:e,index:t}){const l=py[t]??py[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 _$(){return document.querySelector('[data-reduce-motion="true"]')!==null||window.matchMedia("(prefers-reduced-motion: reduce)").matches}function V6({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=H$[s],v=(h==null?void 0:h.trim())||"掘金用户",w=v.slice(0,1).toUpperCase(),x=`${u||"全部时间"} · ${d||"全部工具"}`,T=[{label:"预估费用",value:f?PD(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:{...U6(r),borderRadius:`${t}px`,fontFamily:$$},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(U$,{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,L)=>{const M=p&&L===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(F$,{color:M,index:L}),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:z$},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(z0,{className:"aspect-square size-9 shrink-0 overflow-hidden rounded-full",variant:"soft",children:[e?E.jsx(z0.Image,{alt:i?"":`${v}的头像`,className:"aspect-square size-full rounded-full object-cover",src:e}):null,E.jsx(z0.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(V$,{})]})]})}function U0({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 ${K6}`,onTransitionEnd:r,style:u,children:E.jsx(V6,{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 G$({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(_$()){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(nn,{"aria-label":"上一张卡片",className:"z-20 rounded-full",isDisabled:f!==null,isIconOnly:!0,onPress:()=>b(-1),variant:"tertiary",children:E.jsx(hD,{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 L=(C-w+Qt.length)%Qt.length,M=K$(L,Qt.length);return E.jsx("div",{"aria-hidden":"true",className:`absolute left-1/2 top-1/2 h-[92%] aspect-2/3 rounded-[28px] ${K6}`,style:{...U6(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(U0,{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(U0,{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(U0,{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(nn,{"aria-label":"下一张卡片",className:"z-20 rounded-full",isDisabled:f!==null,isIconOnly:!0,onPress:()=>b(1),variant:"tertiary",children:E.jsx(pD,{className:"size-5"})})]})})}const q$=1e3;async function gy(e){const t=performance.now();try{return await e}finally{const l=q$-(performance.now()-t);l>0&&await new Promise(r=>{window.setTimeout(r,l)})}}const V0={download:{error:"下载失败",idle:"下载",pending:"生成中…",success:"已下载"},copy:{error:"复制失败",idle:"复制",pending:"复制中…",success:"已复制"}};function Y$({avatarUrl:e,color:t,petId:l,rangeLabel:r,summary:i,toolLabel:s,userName:u}){const[f]=y.useState(()=>new Wo({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),L=y.useRef(null),M=y.useRef(null);L.current=p,y.useEffect(()=>{if(!p||!x.current||C.current===p.id)return;const k=p;C.current=k.id,j$(x.current).then(k.resolve,k.reject).finally(()=>{C.current=null,b(K=>(K==null?void 0:K.id)===k.id?null:K)})},[p]),y.useEffect(()=>()=>{var k;M.current!==null&&window.clearTimeout(M.current),(k=L.current)==null||k.reject(new Error("分享弹窗已关闭"))},[]);const N=(k,K)=>{h(null),w({action:k,state:K}),M.current!==null&&window.clearTimeout(M.current),M.current=window.setTimeout(()=>w(null),1800)},A=()=>{const k=T.current+1;return T.current=k,new Promise((K,U)=>{b({avatarUrl:e,color:t,id:k,petId:l,rangeLabel:r,reject:U,resolve:K,summary:i,toolLabel:s,userName:u})})},B=async()=>{if(!d){h("download"),w(null);try{const k=await gy(A());I$(k),N("download","success"),f.add({description:"卡片图片已保存到本地",title:"下载成功",variant:"success"})}catch(k){console.error("[share-card] download failed",k),N("download","error")}}},_=async()=>{if(!d){h("copy"),w(null);try{const k=A();await gy(B$(k)),N("copy","success"),f.add({description:"卡片图片已复制,可直接粘贴",title:"复制成功",variant:"success"})}catch(k){console.error("[share-card] clipboard write failed",k),N("copy","error")}}},$=k=>d===k?V0[k].pending:(v==null?void 0:v.action)===k?V0[k][v.state]:V0[k].idle;return E.jsxs(E.Fragment,{children:[E.jsx(v2.Provider,{placement:"top end",queue:f}),E.jsxs(nn,{isDisabled:d==="copy",isPending:d==="download",onPress:()=>void B(),variant:"primary",children:[E.jsx(qL,{className:"size-4"}),$("download")]}),E.jsxs(nn,{isDisabled:d==="download",isPending:d==="copy",onPress:()=>void _(),variant:"outline",children:[E.jsx(bD,{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:`${zh}px`,width:`${$h}px`},children:E.jsx("div",{className:"relative overflow-hidden opacity-100",ref:x,style:{background:p.color,borderRadius:"6px",height:`${zh}px`,width:`${$h}px`},children:E.jsx(V6,{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 X$(){const[e,t]=y.useState(!1),[l,r]=y.useState(0),{avatarLarge:i,userName:s}=yD(),{snapshot:u}=SD();return y.useEffect(()=>{const f=()=>{t(!0)};return window.addEventListener(Ah,f),()=>window.removeEventListener(Ah,f)},[]),E.jsx(je.Backdrop,{isOpen:e,onOpenChange:t,children:E.jsx(je.Container,{scroll:"inside",size:"lg",children:E.jsxs(je.Dialog,{"aria-label":"分享",className:"overflow-hidden sm:max-w-[760px]",children:[E.jsx(je.CloseTrigger,{"aria-label":"关闭分享"}),E.jsx(je.Body,{className:"px-4 pb-4 pt-8 sm:px-8",children:E.jsx(G$,{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(je.Footer,{className:"justify-center",children:E.jsx(Y$,{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 F6=y.createContext(null);function W$({children:e,value:t}){return E.jsx(F6.Provider,{value:t,children:e})}function tP(){return y.useContext(F6)}function Z$(){const[e]=y.useState(()=>new Wo({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 ZN()}catch{v=null}return v?(ny(v.userId),i(v.originUserId),u(v.userName),d(v.avatarLarge),l("authenticated"),v):(ny(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:L}=u6();if(x){h.current=!0,(async()=>{try{await Lh({juejin:{enabled:!0,token:x,originUserId:T||void 0,userName:C||void 0,avatarLarge:L||void 0}}),XN(),i(T||x),u(C),d(L),l("authenticated"),Xx(),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:v2.Provider}}const by="tud.autoJuejinLoginPrompted";function Q$(){const e=Hh(),t=pw({select:A=>A.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=ON(),{authStatus:w,userId:x,userName:T,avatarLarge:C,toastQueue:L,ToastProvider:M}=Z$();y.useEffect(()=>{t==="/settings"&&(r(!0),e({to:"/dashboard",replace:!0}))},[t,e]),y.useEffect(()=>{const A=()=>f(window.scrollY>4);return A(),window.addEventListener("scroll",A,{passive:!0}),()=>window.removeEventListener("scroll",A)},[]),y.useEffect(()=>{u6().userId||(async()=>{try{if((await S2()).juejin.userId||sessionStorage.getItem(by))return;sessionStorage.setItem(by,"1"),await f6()}catch{}})()},[v]),y.useEffect(()=>{},[v,w]),y.useEffect(()=>{},[v,d==null?void 0:d.shouldShowGuide,e,t]);const N=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(zN,{queue:L,children:E.jsx(vD,{authStatus:w,userId:x,userName:T,avatarLarge:C,children:E.jsx(xD,{children:E.jsx(W$,{value:N,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:L}),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:Vo("relative min-h-0 flex-1 overflow-x-hidden overscroll-contain",t==="/pricing"?"overflow-y-hidden":"overflow-y-auto"),onScroll:A=>{f(A.currentTarget.scrollTop>4)},children:[E.jsx("div",{className:Vo("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(Qy,{})})}),E.jsx(rD,{hideTrigger:!0,isOpen:l,onOpenChange:r}),E.jsx($N,{hideTrigger:!0,isOpen:i,onOpenChange:s}),E.jsx(X$,{})]})]})})})})})}const ur=Z9({component:Q$}),J$="modulepreload",ez=function(e){return"/"+e},vy={},Qo=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=ez(h),h in vy)return;vy[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":J$,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)})},tz=()=>Qo(()=>import("./settings-BzyD7YMM.js"),[]),nz=gi("/settings")({component:Go(tz,"component")}),lz=()=>Qo(()=>import("./rank-LoqZH6uK.js"),__vite__mapDeps([0,1,2,3])),az=gi("/rank")({beforeLoad:()=>{throw yu({to:"/dashboard"})},component:Go(lz,"component")}),rz=()=>Qo(()=>import("./pricing-Btfm94JM.js"),__vite__mapDeps([4,2])),iz=gi("/pricing")({component:Go(rz,"component")}),oz=()=>Qo(()=>import("./download-_xhCt7jY.js"),__vite__mapDeps([5,3,6])),sz=gi("/download")({beforeLoad:()=>{throw yu({to:"/dashboard"})},component:Go(oz,"component")}),cz=()=>Qo(()=>import("./dashboard-CW-mCwMR.js"),__vite__mapDeps([7,1,2,3,6,8])),uz=gi("/dashboard")({component:Go(cz,"component")}),fz=gi("/")({beforeLoad:({location:e})=>{const t=Object.fromEntries(new URLSearchParams(e.searchStr));throw yu({to:"/dashboard",replace:!0,search:t})}}),dz=nz.update({id:"/settings",path:"/settings",getParentRoute:()=>ur}),hz=az.update({id:"/rank",path:"/rank",getParentRoute:()=>ur}),mz=iz.update({id:"/pricing",path:"/pricing",getParentRoute:()=>ur}),pz=sz.update({id:"/download",path:"/download",getParentRoute:()=>ur}),gz=uz.update({id:"/dashboard",path:"/dashboard",getParentRoute:()=>ur}),bz=fz.update({id:"/",path:"/",getParentRoute:()=>ur}),vz={IndexRoute:bz,DashboardRoute:gz,DownloadRoute:pz,PricingRoute:mz,RankRoute:hz,SettingsRoute:dz},yz=ur._addFileChildren(vz)._addFileTypes(),yy=(()=>{const e="/".trim();if(!(!e||e==="/"))return e.replace(/\/+$/,"")})(),xz=fw({routeTree:yz,...yy?{basepath:yy}:{},defaultPreload:"intent",scrollRestoration:!0});x8.createRoot(document.getElementById("root")).render(E.jsx(y.StrictMode,{children:E.jsx(GL,{children:E.jsx(mw,{router:xz})})}));export{Vn as $,qL as A,nn as B,bD as C,kN as D,Dl as E,At as F,ut as G,Ce as H,Au as I,Yo as J,y4 as K,mt as L,je as M,rE as N,_M as O,Fv as P,M6 as Q,F as R,d6 as S,ra as T,r2 as U,jb as V,Tz as W,lE as X,au as Y,Ru as Z,VM as _,ND as a,al as a$,Cz as a0,uT as a1,sr as a2,n2 as a3,Du as a4,jM as a5,BM as a6,Mt as a7,g4 as a8,Je as a9,Vh as aA,Ez as aB,IR as aC,kz as aD,bn as aE,o4 as aF,Oz as aG,MA as aH,f4 as aI,fi as aJ,eM as aK,Ne as aL,jo as aM,Q0 as aN,JR as aO,uv as aP,Eb as aQ,n4 as aR,qR as aS,I9 as aT,i4 as aU,vi as aV,FR as aW,ya as aX,bR as aY,iM as aZ,J5 as a_,Mz as aa,IM as ab,_n as ac,yM as ad,Dz as ae,RM as af,vM as ag,o2 as ah,CM as ai,xM as aj,bi as ak,gM as al,Be as am,cL as an,bM as ao,ll as ap,Oo as aq,et as ar,He as as,va as at,sh as au,wb as av,c3 as aw,lr as ax,Zc as ay,er as az,I$ as b,W0 as b$,Uw as b0,Fw as b1,_h as b2,nM as b3,Ct as b4,QT as b5,WC as b6,wk as b7,JL as b8,uk as b9,xy as bA,m8 as bB,Jz as bC,Xz as bD,qz as bE,Gz as bF,SD as bG,TA as bH,L4 as bI,Y5 as bJ,Nl as bK,X5 as bL,i2 as bM,pa as bN,Rz as bO,Qc as bP,mR as bQ,Cu as bR,r5 as bS,Az as bT,uM as bU,ba as bV,Fn as bW,fM as bX,en as bY,k0 as bZ,Xo as b_,Uz as ba,YL as bb,RN as bc,tP as bd,zz as be,Pz as bf,l2 as bg,Hh as bh,Kz as bi,S2 as bj,Mh as bk,NN as bl,QL as bm,f6 as bn,Hz as bo,WL as bp,Yz as bq,Iz as br,jz as bs,Qz as bt,$D as bu,zD as bv,DD as bw,o3 as bx,O9 as by,_o as bz,C2 as c,t3 as c0,dv as c1,$z as c2,Nz as c3,FM as c4,fv as c5,W3 as c6,mM as c7,TT as c8,yi as c9,Q5 as ca,Lz as cb,fh as cc,ZT as cd,e5 as ce,LM as cf,WT as cg,kM as ch,OM as ci,Bz as d,B$ as e,I0 as f,PD as g,z0 as h,eP as i,E as j,Vo as k,Vz as l,ON as m,Fz as n,_z as o,Eu as p,Ib as q,y as r,jt as s,vn as t,yD as u,ve as v,HT as w,H3 as x,yn as y,Sa as z};
|
|
143
|
+
`;function O$(){return new Promise(e=>{window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>e())})})}async function H7(e){await document.fonts.ready,await Promise.all(Array.from(e.querySelectorAll("img")).map(t=>t.decode().catch(()=>{}))),await O$()}function j$(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 I$(e){await H7(e);const t=await j7(e,{cacheBust:!0,canvasHeight:$$,canvasWidth:D$,fontEmbedCSS:B7,height:zh,imagePlaceholder:I7,pixelRatio:1,width:$h});if(!t)throw new Error("生成分享图片失败");return t}async function tP(e){await H7(e);const t=await j7(e,{cacheBust:!0,fontEmbedCSS:B7,imagePlaceholder:I7,pixelRatio:3});if(!t)throw new Error("生成分享图片失败");return t}function B$(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 H$(e){var l;const t=window.tud;if(t!=null&&t.copyImageToClipboard){if(!await t.copyImageToClipboard(await j$(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({[N$]:e})])}const K$={yoyo:{name:"Yoyo",image:PD},click:{name:"Click",image:$D},hawking:{name:"Hawking",image:zD}},K7="transition-[transform,opacity] duration-[320ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none";function U7(e){return{backgroundColor:e}}function U$(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 V$({className:e}){return C.jsx("svg",{"aria-hidden":"true",className:e,fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:C.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 F$(){return C.jsx(M7,{bgColor:"transparent",className:"ml-auto size-12 shrink-0 self-center overflow-hidden rounded-[6px]",fgColor:"#fff",imageSettings:{excavate:!0,height:12,src:DD,width:12},level:"H",marginSize:4,size:48,title:"访问稀土掘金 AI 用量页面",value:r7})}const py=["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 _$({color:e,index:t}){const l=py[t]??py[0];return C.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:[C.jsx("path",{d:`${l} L120 52 L0 52 Z`,fill:e,fillOpacity:"0.06"}),C.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 G$(){return document.querySelector('[data-reduce-motion="true"]')!==null||window.matchMedia("(prefers-reduced-motion: reduce)").matches}function V7({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=K$[s],v=(h==null?void 0:h.trim())||"掘金用户",w=v.slice(0,1).toUpperCase(),x=`${u||"全部时间"} · ${d||"全部工具"}`,T=[{label:"预估费用",value:f?OD(f.totalCostUsd):"—"},{label:"总 Token",value:f?I0(f.totalTokens):"—"},{label:"输入 Token",value:f?I0(f.inputTokens):"—"},{label:"输出 Token",value:f?I0(f.outputTokens):"—"}];return C.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:{...U7(r),borderRadius:`${t}px`,fontFamily:z$},children:[C.jsxs("div",{className:"absolute left-5 top-4 flex items-center gap-1 text-[13px] font-normal leading-none text-white",children:[C.jsx(V$,{className:"size-5.5"}),C.jsx("div",{className:"text-[13px]",children:"稀土掘金"})]}),C.jsx("div",{className:"flex min-h-0 pt-8",children:C.jsx("div",{className:"relative flex h-full w-full items-center justify-center overflow-hidden rounded-xl",children:C.jsxs("div",{className:"relative flex max-w-[72%] items-end justify-center",children:[C.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%)"}}),C.jsx("img",{alt:i?"":b.name,className:"relative z-10 mb-5 max-h-30 max-w-full object-contain",src:b.image})]})})}),C.jsx("dl",{className:"grid auto-rows-fr grid-cols-2 gap-2 px-4 font-sans font-normal",children:T.map((E,L)=>{const M=p&&L===0?"#11EE8C":"#fff";return C.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:[C.jsx(_$,{color:M,index:L}),C.jsx("dt",{className:"relative z-10 truncate text-[11px] font-normal text-white/60",children:E.label}),C.jsx("dd",{className:"relative z-10 mt-2 truncate text-base font-medium tracking-tight tabular-nums",style:{color:M,fontFamily:P$},children:E.value})]},E.label)})}),C.jsxs("div",{className:"flex max-w-full items-center gap-2.5 px-4 pb-4 pt-4",children:[C.jsxs(z0,{className:"aspect-square size-9 shrink-0 overflow-hidden rounded-full",variant:"soft",children:[e?C.jsx(z0.Image,{alt:i?"":`${v}的头像`,className:"aspect-square size-full rounded-full object-cover",src:e}):null,C.jsx(z0.Fallback,{className:"aspect-square size-full rounded-full border-none bg-white/15 font-normal text-white/70",children:w})]}),C.jsxs("div",{className:"min-w-0 text-left font-normal",children:[C.jsxs("p",{className:"max-w-40 truncate pb-0.5 text-[11px] leading-4",title:v,children:["@",v]}),C.jsx("p",{className:"max-w-40 truncate text-[9px] leading-3.5 text-white/55",title:x,children:x})]}),C.jsx(F$,{})]})]})}function U0({avatarUrl:e,color:t,isHidden:l,onTransitionEnd:r,petId:i,rangeLabel:s,style:u,summary:f,toolLabel:d,userName:h}){return C.jsx("div",{"aria-hidden":l||void 0,className:`absolute left-1/2 top-1/2 h-full aspect-2/3 ${K7}`,onTransitionEnd:r,style:u,children:C.jsx(V7,{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 q$({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 E=(p+T+Qt.length)%Qt.length;if(G$()){l(E);return}d({direction:T,fromIndex:p,phase:"prepare",toIndex:E})},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 C.jsx("section",{className:"flex w-full flex-col items-center gap-5 py-2","aria-label":"分享卡片选择",children:C.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:[C.jsx(nn,{"aria-label":"上一张卡片",className:"z-20 rounded-full",isDisabled:f!==null,isIconOnly:!0,onPress:()=>b(-1),variant:"tertiary",children:C.jsx(mD,{className:"size-5"})}),C.jsxs("div",{className:"relative aspect-2/3 w-full max-w-75 min-w-0 justify-self-center",children:[Qt.map((T,E)=>{const L=(E-w+Qt.length)%Qt.length,M=U$(L,Qt.length);return C.jsx("div",{"aria-hidden":"true",className:`absolute left-1/2 top-1/2 h-[92%] aspect-2/3 rounded-[28px] ${K7}`,style:{...U7(T.color),opacity:M.opacity,transform:ti(M.offset,M.rotation),zIndex:M.zIndex}},`${T.color}-${T.petId}`)}),f?C.jsxs(C.Fragment,{children:[C.jsx(U0,{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}),C.jsx(U0,{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})]}):C.jsx(U0,{avatarUrl:t,color:x.color,petId:x.petId,rangeLabel:r,style:{opacity:1,transform:ti(),zIndex:10},summary:i,toolLabel:s,userName:u})]}),C.jsx(nn,{"aria-label":"下一张卡片",className:"z-20 rounded-full",isDisabled:f!==null,isIconOnly:!0,onPress:()=>b(1),variant:"tertiary",children:C.jsx(gD,{className:"size-5"})})]})})}const Y$=1e3;async function gy(e){const t=performance.now();try{return await e}finally{const l=Y$-(performance.now()-t);l>0&&await new Promise(r=>{window.setTimeout(r,l)})}}const V0={download:{error:"下载失败",idle:"下载",pending:"生成中…",success:"已下载"},copy:{error:"复制失败",idle:"复制",pending:"复制中…",success:"已复制"}};function X$({avatarUrl:e,color:t,petId:l,rangeLabel:r,summary:i,toolLabel:s,userName:u}){const[f]=y.useState(()=>new Wo({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),E=y.useRef(null),L=y.useRef(null),M=y.useRef(null);L.current=p,y.useEffect(()=>{if(!p||!x.current||E.current===p.id)return;const k=p;E.current=k.id,I$(x.current).then(k.resolve,k.reject).finally(()=>{E.current=null,b(K=>(K==null?void 0:K.id)===k.id?null:K)})},[p]),y.useEffect(()=>()=>{var k;M.current!==null&&window.clearTimeout(M.current),(k=L.current)==null||k.reject(new Error("分享弹窗已关闭"))},[]);const N=(k,K)=>{h(null),w({action:k,state:K}),M.current!==null&&window.clearTimeout(M.current),M.current=window.setTimeout(()=>w(null),1800)},A=()=>{const k=T.current+1;return T.current=k,new Promise((K,U)=>{b({avatarUrl:e,color:t,id:k,petId:l,rangeLabel:r,reject:U,resolve:K,summary:i,toolLabel:s,userName:u})})},B=async()=>{if(!d){h("download"),w(null);try{const k=await gy(A());B$(k),N("download","success"),f.add({description:"卡片图片已保存到本地",title:"下载成功",variant:"success"})}catch(k){console.error("[share-card] download failed",k),N("download","error")}}},_=async()=>{if(!d){h("copy"),w(null);try{const k=A();await gy(H$(k)),N("copy","success"),f.add({description:"卡片图片已复制,可直接粘贴",title:"复制成功",variant:"success"})}catch(k){console.error("[share-card] clipboard write failed",k),N("copy","error")}}},$=k=>d===k?V0[k].pending:(v==null?void 0:v.action)===k?V0[k][v.state]:V0[k].idle;return C.jsxs(C.Fragment,{children:[C.jsx(v2.Provider,{placement:"top end",queue:f}),C.jsxs(nn,{isDisabled:d==="copy",isPending:d==="download",onPress:()=>void B(),variant:"primary",children:[C.jsx(qL,{className:"size-4"}),$("download")]}),C.jsxs(nn,{isDisabled:d==="download",isPending:d==="copy",onPress:()=>void _(),variant:"outline",children:[C.jsx(vD,{className:"size-4"}),$("copy")]}),p?al.createPortal(C.jsx("div",{"aria-hidden":"true",className:"pointer-events-none fixed left-[-10000px] top-0 z-[-1] overflow-hidden opacity-100",style:{height:`${zh}px`,width:`${$h}px`},children:C.jsx("div",{className:"relative overflow-hidden opacity-100",ref:x,style:{background:p.color,borderRadius:"6px",height:`${zh}px`,width:`${$h}px`},children:C.jsx(V7,{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 W$(){const[e,t]=y.useState(!1),[l,r]=y.useState(0),{avatarLarge:i,userName:s}=xD(),{snapshot:u}=wD();return y.useEffect(()=>{const f=()=>{t(!0)};return window.addEventListener(Ah,f),()=>window.removeEventListener(Ah,f)},[]),C.jsx(je.Backdrop,{isOpen:e,onOpenChange:t,children:C.jsx(je.Container,{scroll:"inside",size:"lg",children:C.jsxs(je.Dialog,{"aria-label":"分享",className:"overflow-hidden sm:max-w-[760px]",children:[C.jsx(je.CloseTrigger,{"aria-label":"关闭分享"}),C.jsx(je.Body,{className:"px-4 pb-4 pt-8 sm:px-8",children:C.jsx(q$,{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})}),C.jsx(je.Footer,{className:"justify-center",children:C.jsx(X$,{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 F7=y.createContext(null);function Z$({children:e,value:t}){return C.jsx(F7.Provider,{value:t,children:e})}function nP(){return y.useContext(F7)}function Q$(){const[e]=y.useState(()=>new Wo({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 QN()}catch{v=null}return v?(ny(v.userId),i(v.originUserId),u(v.userName),d(v.avatarLarge),l("authenticated"),v):(ny(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:E,avatarLarge:L}=u7();if(x){h.current=!0,(async()=>{try{await Lh({juejin:{enabled:!0,token:x,originUserId:T||void 0,userName:E||void 0,avatarLarge:L||void 0}}),WN(),i(T||x),u(E),d(L),l("authenticated"),X6(),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:v2.Provider}}const by="tud.autoJuejinLoginPrompted";function J$(){const e=Hh(),t=pw({select:A=>A.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=jN(),{authStatus:w,userId:x,userName:T,avatarLarge:E,toastQueue:L,ToastProvider:M}=Q$();y.useEffect(()=>{t==="/settings"&&(r(!0),e({to:"/dashboard",replace:!0}))},[t,e]),y.useEffect(()=>{const A=()=>f(window.scrollY>4);return A(),window.addEventListener("scroll",A,{passive:!0}),()=>window.removeEventListener("scroll",A)},[]),y.useEffect(()=>{u7().userId||(async()=>{try{if((await S2()).juejin.userId||sessionStorage.getItem(by))return;sessionStorage.setItem(by,"1"),await f7()}catch{}})()},[v]),y.useEffect(()=>{},[v,w]),y.useEffect(()=>{},[v,d==null?void 0:d.shouldShowGuide,e,t]);const N=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 C.jsx(PN,{queue:L,children:C.jsx(yD,{authStatus:w,userId:x,userName:T,avatarLarge:E,children:C.jsx(SD,{children:C.jsx(Z$,{value:N,children:C.jsxs("div",{className:"flex h-svh min-w-0 max-w-full flex-col overflow-hidden bg-background text-foreground",children:[C.jsx(M,{placement:"top end",queue:L}),C.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"}`}),C.jsxs("div",{className:Vo("relative min-h-0 flex-1 overflow-x-hidden overscroll-contain",t==="/pricing"?"overflow-y-hidden":"overflow-y-auto"),onScroll:A=>{f(A.currentTarget.scrollTop>4)},children:[C.jsx("div",{className:Vo("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:C.jsx("main",{className:"min-w-0 w-full",children:C.jsx(Qy,{})})}),C.jsx(iD,{hideTrigger:!0,isOpen:l,onOpenChange:r}),C.jsx(zN,{hideTrigger:!0,isOpen:i,onOpenChange:s}),C.jsx(W$,{})]})]})})})})})}const ur=Z9({component:J$}),ez="modulepreload",tz=function(e){return"/"+e},vy={},Qo=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=tz(h),h in vy)return;vy[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":ez,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)})},nz=()=>Qo(()=>import("./settings-KbZOVhnT.js"),[]),lz=gi("/settings")({component:Go(nz,"component")}),az=()=>Qo(()=>import("./rank-CuAJ5i73.js"),__vite__mapDeps([0,1,2,3,4])),rz=gi("/rank")({beforeLoad:()=>{throw yu({to:"/dashboard"})},component:Go(az,"component")}),iz=()=>Qo(()=>import("./pricing-OObJBgJw.js"),__vite__mapDeps([5,1,2])),oz=gi("/pricing")({component:Go(iz,"component")}),sz=()=>Qo(()=>import("./download-CteP_gYs.js"),__vite__mapDeps([6,3])),cz=gi("/download")({beforeLoad:()=>{throw yu({to:"/dashboard"})},component:Go(sz,"component")}),uz=()=>Qo(()=>import("./dashboard-BcYn7CaU.js"),__vite__mapDeps([7,4,2,3,8])),fz=gi("/dashboard")({component:Go(uz,"component")}),dz=gi("/")({beforeLoad:({location:e})=>{const t=Object.fromEntries(new URLSearchParams(e.searchStr));throw yu({to:"/dashboard",replace:!0,search:t})}}),hz=lz.update({id:"/settings",path:"/settings",getParentRoute:()=>ur}),mz=rz.update({id:"/rank",path:"/rank",getParentRoute:()=>ur}),pz=oz.update({id:"/pricing",path:"/pricing",getParentRoute:()=>ur}),gz=cz.update({id:"/download",path:"/download",getParentRoute:()=>ur}),bz=fz.update({id:"/dashboard",path:"/dashboard",getParentRoute:()=>ur}),vz=dz.update({id:"/",path:"/",getParentRoute:()=>ur}),yz={IndexRoute:vz,DashboardRoute:bz,DownloadRoute:gz,PricingRoute:pz,RankRoute:mz,SettingsRoute:hz},xz=ur._addFileChildren(yz)._addFileTypes(),yy=(()=>{const e="/".trim();if(!(!e||e==="/"))return e.replace(/\/+$/,"")})(),Sz=fw({routeTree:xz,...yy?{basepath:yy}:{},defaultPreload:"intent",scrollRestoration:!0});xS.createRoot(document.getElementById("root")).render(C.jsx(y.StrictMode,{children:C.jsx(GL,{children:C.jsx(mw,{router:Sz})})}));export{Vn as $,qL as A,nn as B,YL as C,NN as D,Rz as E,lC as F,_n as G,yM as H,$z as I,RM as J,vM as K,o2 as L,je as M,EM as N,Au as O,Fv as P,M7 as Q,xM as R,d7 as S,ra as T,bi as U,gM as V,mt as W,Be as X,cL as Y,Ee as Z,bM as _,Vo as a,Ru as a$,ll as a0,Oo as a1,et as a2,He as a3,va as a4,sh as a5,wb as a6,c3 as a7,lr as a8,Yo as a9,Cb as aA,n4 as aB,yn as aC,qR as aD,I9 as aE,i4 as aF,vi as aG,FR as aH,ya as aI,bR as aJ,iM as aK,J5 as aL,al as aM,Uw as aN,Fw as aO,_h as aP,nM as aQ,Et as aR,QT as aS,Je as aT,Mt as aU,WE as aV,Vz as aW,H3 as aX,y4 as aY,rC as aZ,_M as a_,Zc as aa,er as ab,Vh as ac,Ez as ad,au as ae,IR as af,Nz as ag,bn as ah,o4 as ai,Dl as aj,Sa as ak,At as al,F as am,sr as an,jz as ao,MA as ap,n2 as aq,f4 as ar,fi as as,eM as at,Ne as au,jo as av,Q0 as aw,ut as ax,JR as ay,uv as az,vD as b,W0 as b$,VM as b0,Tz as b1,uT as b2,Du as b3,jM as b4,BM as b5,g4 as b6,Az as b7,IM as b8,wk as b9,xy as bA,mS as bB,eP as bC,Wz as bD,Yz as bE,qz as bF,wD as bG,TA as bH,L4 as bI,Y5 as bJ,Nl as bK,X5 as bL,i2 as bM,pa as bN,Mz as bO,Qc as bP,mR as bQ,Eu as bR,r5 as bS,Lz as bT,uM as bU,ba as bV,Fn as bW,fM as bX,en as bY,k0 as bZ,Xo as b_,JL as ba,uk as bb,MN as bc,nP as bd,Pz as be,Oz as bf,l2 as bg,Hh as bh,Uz as bi,S2 as bj,Mh as bk,DN as bl,QL as bm,f7 as bn,Kz as bo,WL as bp,Xz as bq,Bz as br,Iz as bs,Jz as bt,zD as bu,PD as bv,$D as bw,o3 as bx,O9 as by,_o as bz,E2 as c,t3 as c0,dv as c1,zz as c2,Dz as c3,FM as c4,fv as c5,W3 as c6,mM as c7,TT as c8,yi as c9,Q5 as ca,kz as cb,fh as cc,ZT as cd,e5 as ce,LM as cf,WT as cg,kM as ch,OM as ci,Hz as d,DD as e,B$ as f,H$ as g,I0 as h,OD as i,C as j,z0 as k,tP as l,Fz as m,jN as n,_z as o,Gz as p,Cu as q,y as r,Ib as s,vn as t,xD as u,jt as v,ve as w,HT as x,r2 as y,jb as z};
|