@llmops/app 0.1.1-beta.1 → 0.1.2-beta.1
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/.vite/manifest.json +155 -155
- package/dist/assets/{Form-DurABL93.js → Form-CCpKRcO5.js} +1 -1
- package/dist/assets/{_environment-cvjo84jE.js → _environment-ChR8h47P.js} +1 -1
- package/dist/assets/{_tabs-CvacR8ma.js → _tabs-DxDzIE4N.js} +1 -1
- package/dist/assets/{_tabs-CPULxPXH.js → _tabs-cO4nOC2j.js} +1 -1
- package/dist/assets/{_variant-D-Su5y6J.js → _variant-Bsk3iJ00.js} +1 -1
- package/dist/assets/{_variants-GQL6AngK.js → _variants-DsqYjhP2.js} +1 -1
- package/dist/assets/{button-BEBWfv3K.js → button-DPj_rHj-.js} +1 -1
- package/dist/assets/check-BwUTIN65.js +1 -0
- package/dist/assets/{chevron-right-CB5eOw5R.js → chevron-right-Cs5pO5aQ.js} +1 -1
- package/dist/assets/{configs-Ckb1Gh45.js → configs-a_jJLtxO.js} +1 -1
- package/dist/assets/{copy-zjZRJuNG.js → copy-CjxHBWoj.js} +1 -1
- package/dist/assets/{environments-DtJ5Lpag.js → environments-BP9Vts5w.js} +1 -1
- package/dist/assets/{formatDistance-BLefUVjS.js → formatDistance-C_jxyxFW.js} +1 -1
- package/dist/assets/{index-P3WhIAgM.js → index-BS8HxAEv.js} +2 -2
- package/dist/assets/{index-DnOI3CO7.js → index-CMP2K0H_.js} +1 -1
- package/dist/assets/{index-Bx7fi-TU.js → index-DRlL-G73.js} +1 -1
- package/dist/assets/index-DcAb9uJ1.css +1 -0
- package/dist/assets/index-DfiY7vwV.js +1 -0
- package/dist/assets/{index.esm-JXXIAvjH.js → index.esm-BGZt4PY0.js} +1 -1
- package/dist/assets/new-config-state.css-iYiDBPh0.js +1 -0
- package/dist/assets/{plus-NtaGeY4B.js → plus-CKO219UF.js} +1 -1
- package/dist/assets/{route-CILbCcM1.js → route-Cvz2E8wB.js} +1 -1
- package/dist/assets/{route-O6imc6-P.js → route-DGdBcw_t.js} +1 -1
- package/dist/assets/{secrets-C7EM3Vc4.js → secrets-DrzFtUYD.js} +1 -1
- package/dist/assets/{settings-BaUSziYN.js → settings-DDt--uYX.js} +1 -1
- package/dist/assets/{settings-BKtjj2be.js → settings-YrdEpQBT.js} +1 -1
- package/dist/assets/{table-3bd5M2VH.js → table-BE4lFmyQ.js} +1 -1
- package/dist/assets/{tabs.css-BtjQBzCx.js → tabs.css-DnmEEDUz.js} +1 -1
- package/dist/assets/{targeting-ER2jmmgx.js → targeting-CxbqAGy4.js} +1 -1
- package/dist/assets/{update-or-create-name-DL3P6ioS.js → update-or-create-name-2zMB3x-3.js} +1 -1
- package/dist/assets/{useButton-BsGawsAH.js → useButton-CRY4qjiM.js} +1 -1
- package/dist/assets/{useConfigList-82kvWQBI.js → useConfigList-DTzVkmnt.js} +1 -1
- package/dist/assets/{useConfigVariants-6VXcu6gd.js → useConfigVariants-NS0VngPN.js} +1 -1
- package/dist/assets/{useEnvironments-CnQLCTUT.js → useEnvironments-D4i1OrKU.js} +1 -1
- package/dist/assets/{useMutation-CfseLGia.js → useMutation-BG5S-n2D.js} +1 -1
- package/dist/assets/{useRole-DgeL5bnU.js → useRole-BJFU5viA.js} +1 -1
- package/dist/assets/{useSetTargeting-DaZE0wc4.js → useSetTargeting-CGSYuecd.js} +1 -1
- package/dist/assets/{useTargetingRules-DQJaFv3c.js → useTargetingRules-DUe6cnE4.js} +1 -1
- package/dist/assets/{useValueChanged-CNJVEKor.js → useValueChanged-D43TPMNO.js} +1 -1
- package/dist/assets/{variants-Ctf9tC34.js → variants-CWLH52O3.js} +1 -1
- package/dist/assets/variants.css-peKrGNiW.js +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
- package/dist/assets/check-Ch_sNRmE.js +0 -1
- package/dist/assets/index-D0RzYU3K.js +0 -1
- package/dist/assets/index-JoHQ-XGK.css +0 -1
- package/dist/assets/new-config-state.css-DYWW4gMw.js +0 -1
- package/dist/assets/variants.css-C0L7Oivg.js +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-DfiY7vwV.js","./formatDistance-C_jxyxFW.js","./formatDistance-DoOD1Loz.css","./button-DPj_rHj-.js","./useButton-CRY4qjiM.js","./table-BE4lFmyQ.js","./useConfigList-DTzVkmnt.js","./chevron-right-Cs5pO5aQ.js","./check-BwUTIN65.js","./copy-CjxHBWoj.js","./index-DcAb9uJ1.css","./styles-Ds0dHEK-.css","./environments-BP9Vts5w.js","./update-or-create-name-2zMB3x-3.js","./index.esm-BGZt4PY0.js","./index-_Qxo3N29.css","./tabs.css.ts-9m2TgQoD.css","./update-or-create-name-DW-QlCah.css","./useEnvironments-D4i1OrKU.js","./useMutation-BG5S-n2D.js","./plus-CKO219UF.js","./configs-a_jJLtxO.js","./configs-BKxrD14d.css","./route-Cvz2E8wB.js","./route-DGdBcw_t.js","./index-DRlL-G73.js","./new-config-state.css-iYiDBPh0.js","./new-config-state-B8sMe-TC.css","./index-CMP2K0H_.js","./_tabs-cO4nOC2j.js","./tabs.css-DnmEEDUz.js","./_variants-DsqYjhP2.js","./_tabs-DxDzIE4N.js","./settings-DDt--uYX.js","./Form-CCpKRcO5.js","./useValueChanged-D43TPMNO.js","./useRole-BJFU5viA.js","./settings-CvvrMdCu.css","./secrets-DrzFtUYD.js","./secrets-BGHMIr_s.css","./variants-CWLH52O3.js","./useConfigVariants-NS0VngPN.js","./variants.css-peKrGNiW.js","./variants-9qaqEb_G.css","./targeting-CxbqAGy4.js","./useTargetingRules-DUe6cnE4.js","./settings-YrdEpQBT.js","./settings-BwmM525w.css","./_variant-Bsk3iJ00.js","./useSetTargeting-CGSYuecd.js","./useSetTargeting-DIyb-zyZ.css","./_variant-DY7Due1K.css","./_environment-ChR8h47P.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
/* empty css */function h0(t,l){for(var a=0;a<l.length;a++){const s=l[a];if(typeof s!="string"&&!Array.isArray(s)){for(const r in s)if(r!=="default"&&!(r in t)){const u=Object.getOwnPropertyDescriptor(s,r);u&&Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>s[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var W3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function g0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ld={exports:{}},Ls={};var Xp;function b0(){if(Xp)return Ls;Xp=1;var t=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function a(s,r,u){var d=null;if(u!==void 0&&(d=""+u),r.key!==void 0&&(d=""+r.key),"key"in r){u={};for(var h in r)h!=="key"&&(u[h]=r[h])}else u=r;return r=u.ref,{$$typeof:t,type:s,key:d,ref:r!==void 0?r:null,props:u}}return Ls.Fragment=l,Ls.jsx=a,Ls.jsxs=a,Ls}var Zp;function p0(){return Zp||(Zp=1,ld.exports=b0()),ld.exports}var Z=p0(),ad={exports:{}},id={},sd={exports:{}},me={};var Jp;function m0(){if(Jp)return me;Jp=1;var t=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),v=Symbol.iterator;function _(w){return w===null||typeof w!="object"?null:(w=v&&w[v]||w["@@iterator"],typeof w=="function"?w:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,x={};function R(w,Q,ne){this.props=w,this.context=Q,this.refs=x,this.updater=ne||C}R.prototype.isReactComponent={},R.prototype.setState=function(w,Q){if(typeof w!="object"&&typeof w!="function"&&w!=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,w,Q,"setState")},R.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function O(){}O.prototype=R.prototype;function L(w,Q,ne){this.props=w,this.context=Q,this.refs=x,this.updater=ne||C}var j=L.prototype=new O;j.constructor=L,E(j,R.prototype),j.isPureReactComponent=!0;var U=Array.isArray;function P(){}var M={H:null,A:null,T:null,S:null},N=Object.prototype.hasOwnProperty;function J(w,Q,ne){var se=ne.ref;return{$$typeof:t,type:w,key:Q,ref:se!==void 0?se:null,props:ne}}function ee(w,Q){return J(w.type,Q,w.props)}function z(w){return typeof w=="object"&&w!==null&&w.$$typeof===t}function K(w){var Q={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(ne){return Q[ne]})}var I=/\/+/g;function G(w,Q){return typeof w=="object"&&w!==null&&w.key!=null?K(""+w.key):Q.toString(36)}function le(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status=="string"?w.then(P,P):(w.status="pending",w.then(function(Q){w.status==="pending"&&(w.status="fulfilled",w.value=Q)},function(Q){w.status==="pending"&&(w.status="rejected",w.reason=Q)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function T(w,Q,ne,se,re){var oe=typeof w;(oe==="undefined"||oe==="boolean")&&(w=null);var ue=!1;if(w===null)ue=!0;else switch(oe){case"bigint":case"string":case"number":ue=!0;break;case"object":switch(w.$$typeof){case t:case l:ue=!0;break;case m:return ue=w._init,T(ue(w._payload),Q,ne,se,re)}}if(ue)return re=re(w),ue=se===""?"."+G(w,0):se,U(re)?(ne="",ue!=null&&(ne=ue.replace(I,"$&/")+"/"),T(re,Q,ne,"",function(Ke){return Ke})):re!=null&&(z(re)&&(re=ee(re,ne+(re.key==null||w&&w.key===re.key?"":(""+re.key).replace(I,"$&/")+"/")+ue)),Q.push(re)),1;ue=0;var we=se===""?".":se+":";if(U(w))for(var ye=0;ye<w.length;ye++)se=w[ye],oe=we+G(se,ye),ue+=T(se,Q,ne,oe,re);else if(ye=_(w),typeof ye=="function")for(w=ye.call(w),ye=0;!(se=w.next()).done;)se=se.value,oe=we+G(se,ye++),ue+=T(se,Q,ne,oe,re);else if(oe==="object"){if(typeof w.then=="function")return T(le(w),Q,ne,se,re);throw Q=String(w),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return ue}function F(w,Q,ne){if(w==null)return w;var se=[],re=0;return T(w,se,"","",function(oe){return Q.call(ne,oe,re++)}),se}function q(w){if(w._status===-1){var Q=w._result;Q=Q(),Q.then(function(ne){(w._status===0||w._status===-1)&&(w._status=1,w._result=ne)},function(ne){(w._status===0||w._status===-1)&&(w._status=2,w._result=ne)}),w._status===-1&&(w._status=0,w._result=Q)}if(w._status===1)return w._result.default;throw w._result}var ae=typeof reportError=="function"?reportError:function(w){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",w);return}console.error(w)},de={map:F,forEach:function(w,Q,ne){F(w,function(){Q.apply(this,arguments)},ne)},count:function(w){var Q=0;return F(w,function(){Q++}),Q},toArray:function(w){return F(w,function(Q){return Q})||[]},only:function(w){if(!z(w))throw Error("React.Children.only expected to receive a single React element child.");return w}};return me.Activity=p,me.Children=de,me.Component=R,me.Fragment=a,me.Profiler=r,me.PureComponent=L,me.StrictMode=s,me.Suspense=g,me.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,me.__COMPILER_RUNTIME={__proto__:null,c:function(w){return M.H.useMemoCache(w)}},me.cache=function(w){return function(){return w.apply(null,arguments)}},me.cacheSignal=function(){return null},me.cloneElement=function(w,Q,ne){if(w==null)throw Error("The argument must be a React element, but you passed "+w+".");var se=E({},w.props),re=w.key;if(Q!=null)for(oe in Q.key!==void 0&&(re=""+Q.key),Q)!N.call(Q,oe)||oe==="key"||oe==="__self"||oe==="__source"||oe==="ref"&&Q.ref===void 0||(se[oe]=Q[oe]);var oe=arguments.length-2;if(oe===1)se.children=ne;else if(1<oe){for(var ue=Array(oe),we=0;we<oe;we++)ue[we]=arguments[we+2];se.children=ue}return J(w.type,re,se)},me.createContext=function(w){return w={$$typeof:d,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null},w.Provider=w,w.Consumer={$$typeof:u,_context:w},w},me.createElement=function(w,Q,ne){var se,re={},oe=null;if(Q!=null)for(se in Q.key!==void 0&&(oe=""+Q.key),Q)N.call(Q,se)&&se!=="key"&&se!=="__self"&&se!=="__source"&&(re[se]=Q[se]);var ue=arguments.length-2;if(ue===1)re.children=ne;else if(1<ue){for(var we=Array(ue),ye=0;ye<ue;ye++)we[ye]=arguments[ye+2];re.children=we}if(w&&w.defaultProps)for(se in ue=w.defaultProps,ue)re[se]===void 0&&(re[se]=ue[se]);return J(w,oe,re)},me.createRef=function(){return{current:null}},me.forwardRef=function(w){return{$$typeof:h,render:w}},me.isValidElement=z,me.lazy=function(w){return{$$typeof:m,_payload:{_status:-1,_result:w},_init:q}},me.memo=function(w,Q){return{$$typeof:b,type:w,compare:Q===void 0?null:Q}},me.startTransition=function(w){var Q=M.T,ne={};M.T=ne;try{var se=w(),re=M.S;re!==null&&re(ne,se),typeof se=="object"&&se!==null&&typeof se.then=="function"&&se.then(P,ae)}catch(oe){ae(oe)}finally{Q!==null&&ne.types!==null&&(Q.types=ne.types),M.T=Q}},me.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},me.use=function(w){return M.H.use(w)},me.useActionState=function(w,Q,ne){return M.H.useActionState(w,Q,ne)},me.useCallback=function(w,Q){return M.H.useCallback(w,Q)},me.useContext=function(w){return M.H.useContext(w)},me.useDebugValue=function(){},me.useDeferredValue=function(w,Q){return M.H.useDeferredValue(w,Q)},me.useEffect=function(w,Q){return M.H.useEffect(w,Q)},me.useEffectEvent=function(w){return M.H.useEffectEvent(w)},me.useId=function(){return M.H.useId()},me.useImperativeHandle=function(w,Q,ne){return M.H.useImperativeHandle(w,Q,ne)},me.useInsertionEffect=function(w,Q){return M.H.useInsertionEffect(w,Q)},me.useLayoutEffect=function(w,Q){return M.H.useLayoutEffect(w,Q)},me.useMemo=function(w,Q){return M.H.useMemo(w,Q)},me.useOptimistic=function(w,Q){return M.H.useOptimistic(w,Q)},me.useReducer=function(w,Q,ne){return M.H.useReducer(w,Q,ne)},me.useRef=function(w){return M.H.useRef(w)},me.useState=function(w){return M.H.useState(w)},me.useSyncExternalStore=function(w,Q,ne){return M.H.useSyncExternalStore(w,Q,ne)},me.useTransition=function(){return M.H.useTransition()},me.version="19.2.1",me}var Wp;function Ni(){return Wp||(Wp=1,sd.exports=m0()),sd.exports}var em;function y0(){if(em)return id;em=1;var t=Ni().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;return id.c=function(l){return t.H.useMemoCache(l)},id}var tm;function v0(){return tm||(tm=1,ad.exports=y0()),ad.exports}var At=v0();const $d=new WeakMap,_0=new WeakMap,ru={current:[]};let od=!1,Fs=0;const Hs=new Set,Nr=new Map;function D1(t){for(const l of t){if(ru.current.includes(l))continue;ru.current.push(l),l.recompute();const a=_0.get(l);if(a)for(const s of a){const r=$d.get(s);r?.length&&D1(r)}}}function k0(t){const l={prevVal:t.prevState,currentVal:t.state};for(const a of t.listeners)a(l)}function S0(t){const l={prevVal:t.prevState,currentVal:t.state};for(const a of t.listeners)a(l)}function L1(t){if(Fs>0&&!Nr.has(t)&&Nr.set(t,t.prevState),Hs.add(t),!(Fs>0)&&!od)try{for(od=!0;Hs.size>0;){const l=Array.from(Hs);Hs.clear();for(const a of l){const s=Nr.get(a)??a.prevState;a.prevState=s,k0(a)}for(const a of l){const s=$d.get(a);s&&(ru.current.push(a),D1(s))}for(const a of l){const s=$d.get(a);if(s)for(const r of s)S0(r)}}}finally{od=!1,ru.current=[],Nr.clear()}}function Is(t){Fs++;try{t()}finally{if(Fs--,Fs===0){const l=Hs.values().next().value;l&&L1(l)}}}function C0(t){return typeof t=="function"}let E0=class{constructor(l,a){this.listeners=new Set,this.subscribe=s=>{var r,u;this.listeners.add(s);const d=(u=(r=this.options)==null?void 0:r.onSubscribe)==null?void 0:u.call(r,s,this);return()=>{this.listeners.delete(s),d?.()}},this.prevState=l,this.state=l,this.options=a}setState(l){var a,s,r;this.prevState=this.state,(a=this.options)!=null&&a.updateFn?this.state=this.options.updateFn(this.prevState)(l):C0(l)?this.state=l(this.prevState):this.state=l,(r=(s=this.options)==null?void 0:s.onUpdate)==null||r.call(s),L1(this)}};const Zl="__TSR_index",nm="popstate",lm="beforeunload";function x0(t){let l=t.getLocation();const a=new Set,s=d=>{l=t.getLocation(),a.forEach(h=>h({location:l,action:d}))},r=d=>{t.notifyOnIndexChange??!0?s(d):l=t.getLocation()},u=async({task:d,navigateOpts:h,...g})=>{if(h?.ignoreBlocker??!1){d();return}const m=t.getBlockers?.()??[],p=g.type==="PUSH"||g.type==="REPLACE";if(typeof document<"u"&&m.length&&p)for(const v of m){const _=uu(g.path,g.state);if(await v.blockerFn({currentLocation:l,nextLocation:_,action:g.type})){t.onBlocked?.();return}}d()};return{get location(){return l},get length(){return t.getLength()},subscribers:a,subscribe:d=>(a.add(d),()=>{a.delete(d)}),push:(d,h,g)=>{const b=l.state[Zl];h=am(b+1,h),u({task:()=>{t.pushState(d,h),s({type:"PUSH"})},navigateOpts:g,type:"PUSH",path:d,state:h})},replace:(d,h,g)=>{const b=l.state[Zl];h=am(b,h),u({task:()=>{t.replaceState(d,h),s({type:"REPLACE"})},navigateOpts:g,type:"REPLACE",path:d,state:h})},go:(d,h)=>{u({task:()=>{t.go(d),r({type:"GO",index:d})},navigateOpts:h,type:"GO"})},back:d=>{u({task:()=>{t.back(d?.ignoreBlocker??!1),r({type:"BACK"})},navigateOpts:d,type:"BACK"})},forward:d=>{u({task:()=>{t.forward(d?.ignoreBlocker??!1),r({type:"FORWARD"})},navigateOpts:d,type:"FORWARD"})},canGoBack:()=>l.state[Zl]!==0,createHref:d=>t.createHref(d),block:d=>{if(!t.setBlockers)return()=>{};const h=t.getBlockers?.()??[];return t.setBlockers([...h,d]),()=>{const g=t.getBlockers?.()??[];t.setBlockers?.(g.filter(b=>b!==d))}},flush:()=>t.flush?.(),destroy:()=>t.destroy?.(),notify:s}}function am(t,l){l||(l={});const a=mh();return{...l,key:a,__TSR_key:a,[Zl]:t}}function R0(t){const l=typeof document<"u"?window:void 0,a=l.history.pushState,s=l.history.replaceState;let r=[];const u=()=>r,d=N=>r=N,h=(N=>N),g=(()=>uu(`${l.location.pathname}${l.location.search}${l.location.hash}`,l.history.state));if(!l.history.state?.__TSR_key&&!l.history.state?.key){const N=mh();l.history.replaceState({[Zl]:0,key:N,__TSR_key:N},"")}let b=g(),m,p=!1,v=!1,_=!1,C=!1;const E=()=>b;let x,R;const O=()=>{x&&(M._ignoreSubscribers=!0,(x.isPush?l.history.pushState:l.history.replaceState)(x.state,"",x.href),M._ignoreSubscribers=!1,x=void 0,R=void 0,m=void 0)},L=(N,J,ee)=>{const z=h(J);R||(m=b),b=uu(J,ee),x={href:z,state:ee,isPush:x?.isPush||N==="push"},R||(R=Promise.resolve().then(()=>O()))},j=N=>{b=g(),M.notify({type:N})},U=async()=>{if(v){v=!1;return}const N=g(),J=N.state[Zl]-b.state[Zl],ee=J===1,z=J===-1,K=!ee&&!z||p;p=!1;const I=K?"GO":z?"BACK":"FORWARD",G=K?{type:"GO",index:J}:{type:z?"BACK":"FORWARD"};if(_)_=!1;else{const le=u();if(typeof document<"u"&&le.length){for(const T of le)if(await T.blockerFn({currentLocation:b,nextLocation:N,action:I})){v=!0,l.history.go(1),M.notify(G);return}}}b=g(),M.notify(G)},P=N=>{if(C){C=!1;return}let J=!1;const ee=u();if(typeof document<"u"&&ee.length)for(const z of ee){const K=z.enableBeforeUnload??!0;if(K===!0){J=!0;break}if(typeof K=="function"&&K()===!0){J=!0;break}}if(J)return N.preventDefault(),N.returnValue=""},M=x0({getLocation:E,getLength:()=>l.history.length,pushState:(N,J)=>L("push",N,J),replaceState:(N,J)=>L("replace",N,J),back:N=>(N&&(_=!0),C=!0,l.history.back()),forward:N=>{N&&(_=!0),C=!0,l.history.forward()},go:N=>{p=!0,l.history.go(N)},createHref:N=>h(N),flush:O,destroy:()=>{l.history.pushState=a,l.history.replaceState=s,l.removeEventListener(lm,P,{capture:!0}),l.removeEventListener(nm,U)},onBlocked:()=>{m&&b!==m&&(b=m)},getBlockers:u,setBlockers:d,notifyOnIndexChange:!1});return l.addEventListener(lm,P,{capture:!0}),l.addEventListener(nm,U),l.history.pushState=function(...N){const J=a.apply(l.history,N);return M._ignoreSubscribers||j("PUSH"),J},l.history.replaceState=function(...N){const J=s.apply(l.history,N);return M._ignoreSubscribers||j("REPLACE"),J},M}function uu(t,l){const a=t.indexOf("#"),s=t.indexOf("?"),r=mh();return{href:t,pathname:t.substring(0,a>0?s>0?Math.min(a,s):a:s>0?s:t.length),hash:a>-1?t.substring(a):"",search:s>-1?t.slice(s,a===-1?void 0:a):"",state:l||{[Zl]:0,key:r,__TSR_key:r}}}function mh(){return(Math.random()+1).toString(36).substring(7)}function cu(t){return t[t.length-1]}function T0(t){return typeof t=="function"}function Kl(t,l){return T0(t)?t(l):t}const w0=Object.prototype.hasOwnProperty;function yn(t,l){if(t===l)return t;const a=l,s=om(t)&&om(a);if(!s&&!(fu(t)&&fu(a)))return a;const r=s?t:im(t);if(!r)return a;const u=s?a:im(a);if(!u)return a;const d=r.length,h=u.length,g=s?new Array(h):{};let b=0;for(let m=0;m<h;m++){const p=s?m:u[m],v=t[p],_=a[p];if(v===_){g[p]=v,(s?m<d:w0.call(t,p))&&b++;continue}if(v===null||_===null||typeof v!="object"||typeof _!="object"){g[p]=_;continue}const C=yn(v,_);g[p]=C,C===v&&b++}return d===h&&b===d?t:g}function im(t){const l=[],a=Object.getOwnPropertyNames(t);for(const r of a){if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;l.push(r)}const s=Object.getOwnPropertySymbols(t);for(const r of s){if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;l.push(r)}return l}function fu(t){if(!sm(t))return!1;const l=t.constructor;if(typeof l>"u")return!0;const a=l.prototype;return!(!sm(a)||!a.hasOwnProperty("isPrototypeOf"))}function sm(t){return Object.prototype.toString.call(t)==="[object Object]"}function om(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Aa(t,l,a){if(t===l)return!0;if(typeof t!=typeof l)return!1;if(Array.isArray(t)&&Array.isArray(l)){if(t.length!==l.length)return!1;for(let s=0,r=t.length;s<r;s++)if(!Aa(t[s],l[s],a))return!1;return!0}if(fu(t)&&fu(l)){const s=a?.ignoreUndefined??!0;if(a?.partial){for(const d in l)if((!s||l[d]!==void 0)&&!Aa(t[d],l[d],a))return!1;return!0}let r=0;if(!s)r=Object.keys(t).length;else for(const d in t)t[d]!==void 0&&r++;let u=0;for(const d in l)if((!s||l[d]!==void 0)&&(u++,u>r||!Aa(t[d],l[d],a)))return!1;return r===u}return!1}function Ai(t){let l,a;const s=new Promise((r,u)=>{l=r,a=u});return s.status="pending",s.resolve=r=>{s.status="resolved",s.value=r,l(r),t?.(r)},s.reject=r=>{s.status="rejected",a(r)},s}function A0(t){return typeof t?.message!="string"?!1:t.message.startsWith("Failed to fetch dynamically imported module")||t.message.startsWith("error loading dynamically imported module")||t.message.startsWith("Importing a module script failed")}function Jl(t){return!!(t&&typeof t=="object"&&typeof t.then=="function")}function rm(t){try{return decodeURI(t)}catch{return t.replaceAll(/%[0-9A-F]{2}/gi,l=>{try{return decodeURI(l)}catch{return l}})}}function um(t,l){if(!t)return t;const a=/%25|%5C/gi;let s=0,r="",u;for(;(u=a.exec(t))!==null;)r+=rm(t.slice(s,u.index))+u[0],s=a.lastIndex;return r+rm(s?t.slice(s):t)}var O0="Invariant failed";function bl(t,l){if(!t)throw new Error(O0)}function du(t){const l=new Map;let a,s;const r=u=>{u.next&&(u.prev?(u.prev.next=u.next,u.next.prev=u.prev,u.next=void 0,s&&(s.next=u,u.prev=s)):(u.next.prev=void 0,a=u.next,u.next=void 0,s&&(u.prev=s,s.next=u)),s=u)};return{get(u){const d=l.get(u);if(d)return r(d),d.value},set(u,d){if(l.size>=t&&a){const g=a;l.delete(g.key),g.next&&(a=g.next,g.next.prev=void 0),g===s&&(s=void 0)}const h=l.get(u);if(h)h.value=d,r(h);else{const g={key:u,value:d,prev:s};s&&(s.next=g),s=g,a||(a=g),l.set(u,g)}},clear(){l.clear(),a=void 0,s=void 0}}}const Oi=0,Da=1,La=2,Js=3,M0=/^([^{]*)\{\$([a-zA-Z_$][a-zA-Z0-9_$]*)\}([^}]*)$/,z0=/^([^{]*)\{-\$([a-zA-Z_$][a-zA-Z0-9_$]*)\}([^}]*)$/,D0=/^([^{]*)\{\$\}([^}]*)$/;function yh(t,l,a=new Uint16Array(6)){const s=t.indexOf("/",l),r=s===-1?t.length:s,u=t.substring(l,r);if(!u||!u.includes("$"))return a[0]=Oi,a[1]=l,a[2]=l,a[3]=r,a[4]=r,a[5]=r,a;if(u==="$"){const b=t.length;return a[0]=La,a[1]=l,a[2]=l,a[3]=b,a[4]=b,a[5]=b,a}if(u.charCodeAt(0)===36)return a[0]=Da,a[1]=l,a[2]=l+1,a[3]=r,a[4]=r,a[5]=r,a;const d=u.match(D0);if(d){const m=d[1].length;return a[0]=La,a[1]=l+m,a[2]=l+m+1,a[3]=l+m+2,a[4]=l+m+3,a[5]=t.length,a}const h=u.match(z0);if(h){const b=h[1],m=h[2],p=h[3],v=b.length;return a[0]=Js,a[1]=l+v,a[2]=l+v+3,a[3]=l+v+3+m.length,a[4]=r-p.length,a[5]=r,a}const g=u.match(M0);if(g){const b=g[1],m=g[2],p=g[3],v=b.length;return a[0]=Da,a[1]=l+v,a[2]=l+v+2,a[3]=l+v+2+m.length,a[4]=r-p.length,a[5]=r,a}return a[0]=Oi,a[1]=l,a[2]=l,a[3]=r,a[4]=r,a[5]=r,a}function Ou(t,l,a,s,r,u,d){d?.(a);let h=s;{const g=a.fullPath??a.from,b=g.length,m=a.options?.caseSensitive??t;for(;h<b;){const p=yh(g,h,l);let v;const _=h,C=p[5];switch(h=C+1,u++,p[0]){case Oi:{const x=g.substring(p[2],p[3]);if(m){const R=r.static?.get(x);if(R)v=R;else{r.static??=new Map;const O=Ws(a.fullPath??a.from);O.parent=r,O.depth=u,v=O,r.static.set(x,O)}}else{const R=x.toLowerCase(),O=r.staticInsensitive?.get(R);if(O)v=O;else{r.staticInsensitive??=new Map;const L=Ws(a.fullPath??a.from);L.parent=r,L.depth=u,v=L,r.staticInsensitive.set(R,L)}}break}case Da:{const x=g.substring(_,p[1]),R=g.substring(p[4],C),O=m&&!!(x||R),L=x?O?x:x.toLowerCase():void 0,j=R?O?R:R.toLowerCase():void 0,U=r.dynamic?.find(P=>P.caseSensitive===O&&P.prefix===L&&P.suffix===j);if(U)v=U;else{const P=ud(Da,a.fullPath??a.from,O,L,j);v=P,P.depth=u,P.parent=r,r.dynamic??=[],r.dynamic.push(P)}break}case Js:{const x=g.substring(_,p[1]),R=g.substring(p[4],C),O=m&&!!(x||R),L=x?O?x:x.toLowerCase():void 0,j=R?O?R:R.toLowerCase():void 0,U=r.optional?.find(P=>P.caseSensitive===O&&P.prefix===L&&P.suffix===j);if(U)v=U;else{const P=ud(Js,a.fullPath??a.from,O,L,j);v=P,P.parent=r,P.depth=u,r.optional??=[],r.optional.push(P)}break}case La:{const x=g.substring(_,p[1]),R=g.substring(p[4],C),O=m&&!!(x||R),L=x?O?x:x.toLowerCase():void 0,j=R?O?R:R.toLowerCase():void 0,U=ud(La,a.fullPath??a.from,O,L,j);v=U,U.parent=r,U.depth=u,r.wildcard??=[],r.wildcard.push(U)}}r=v}if((a.path||!a.children)&&!a.isRoot){const p=g.endsWith("/");p||(r.notFound=a),(!r.route||!r.isIndex&&p)&&(r.route=a,r.fullPath=a.fullPath??a.from),r.isIndex||=p}}if(a.children)for(const g of a.children)Ou(t,l,g,h,r,u,d)}function rd(t,l){if(t.prefix&&l.prefix&&t.prefix!==l.prefix){if(t.prefix.startsWith(l.prefix))return-1;if(l.prefix.startsWith(t.prefix))return 1}if(t.suffix&&l.suffix&&t.suffix!==l.suffix){if(t.suffix.endsWith(l.suffix))return-1;if(l.suffix.endsWith(t.suffix))return 1}return t.prefix&&!l.prefix?-1:!t.prefix&&l.prefix?1:t.suffix&&!l.suffix?-1:!t.suffix&&l.suffix?1:t.caseSensitive&&!l.caseSensitive?-1:!t.caseSensitive&&l.caseSensitive?1:0}function xa(t){if(t.static)for(const l of t.static.values())xa(l);if(t.staticInsensitive)for(const l of t.staticInsensitive.values())xa(l);if(t.dynamic?.length){t.dynamic.sort(rd);for(const l of t.dynamic)xa(l)}if(t.optional?.length){t.optional.sort(rd);for(const l of t.optional)xa(l)}if(t.wildcard?.length){t.wildcard.sort(rd);for(const l of t.wildcard)xa(l)}}function Ws(t){return{kind:Oi,depth:0,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,isIndex:!1,notFound:null}}function ud(t,l,a,s,r){return{kind:t,depth:0,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:l,parent:null,isIndex:!1,notFound:null,caseSensitive:a,prefix:s,suffix:r}}function L0(t,l){const a=Ws("/"),s=new Uint16Array(6);for(const r of t)Ou(!1,s,r,1,a,0);xa(a),l.masksTree=a,l.flatCache=du(1e3)}function P0(t,l){t||="/";const a=l.flatCache.get(t);if(a)return a;const s=vh(t,l.masksTree);return l.flatCache.set(t,s),s}function N0(t,l,a,s,r){t||="/",s||="/";const u=l?`case\0${t}`:t;let d=r.singleCache.get(u);if(!d){d=Ws("/");const h=new Uint16Array(6);Ou(l,h,{from:t},1,d,0),r.singleCache.set(u,d)}return vh(s,d,a)}function $0(t,l,a=!1){const s=a?t:`nofuzz\0${t}`,r=l.matchCache.get(s);if(r!==void 0)return r;t||="/";const u=vh(t,l.segmentTree,a);return u&&(u.branch=H0(u.route)),l.matchCache.set(s,u),u}function j0(t){return t==="/"?t:t.replace(/\/{1,}$/,"")}function U0(t,l=!1,a){const s=Ws(t.fullPath),r=new Uint16Array(6),u={},d={};let h=0;return Ou(l,r,t,1,s,0,b=>{if(a?.(b,h),bl(!(b.id in u),`Duplicate routes found with id: ${String(b.id)}`),u[b.id]=b,h!==0&&b.path){const m=j0(b.fullPath);(!d[m]||b.fullPath.endsWith("/"))&&(d[m]=b)}h++}),xa(s),{processedTree:{segmentTree:s,singleCache:du(1e3),matchCache:du(1e3),flatCache:null,masksTree:null},routesById:u,routesByPath:d}}function vh(t,l,a=!1){const s=t.split("/"),r=V0(t,s,l,a);if(!r)return null;const u=q0(t,s,r),d="**"in r;return d&&(u["**"]=r["**"]),{route:d?r.node.notFound??r.node.route:r.node.route,params:u}}function q0(t,l,a){const s=B0(a.node);let r=null;const u={};for(let d=0,h=0,g=0;h<s.length;d++,h++,g++){const b=s[h],m=l[d],p=g;if(m&&(g+=m.length),b.kind===Da){r??=a.node.fullPath.split("/");const v=r[h],_=b.prefix?.length??0;if(v.charCodeAt(_)===123){const E=b.suffix?.length??0,x=v.substring(_+2,v.length-E-1),R=m.substring(_,m.length-E);u[x]=decodeURIComponent(R)}else{const E=v.substring(1);u[E]=decodeURIComponent(m)}}else if(b.kind===Js){if(a.skipped&1<<h){d--;continue}r??=a.node.fullPath.split("/");const v=r[h],_=b.prefix?.length??0,C=b.suffix?.length??0,E=v.substring(_+3,v.length-C-1),x=b.suffix||b.prefix?m.substring(_,m.length-C):m;x&&(u[E]=decodeURIComponent(x))}else if(b.kind===La){const v=b,_=t.substring(p+(v.prefix?.length??0),t.length-(v.suffix?.length??0)),C=decodeURIComponent(_);u["*"]=C,u._splat=C;break}}return u}function H0(t){const l=[t];for(;t.parentRoute;)t=t.parentRoute,l.push(t);return l.reverse(),l}function B0(t){const l=Array(t.depth+1);do l[t.depth]=t,t=t.parent;while(t);return l}function V0(t,l,a,s){const r=!cu(l),u=r&&t!=="/",d=l.length-(r?1:0),h=[{node:a,index:1,skipped:0,depth:1,statics:1,dynamics:0,optionals:0}];let g=null,b=null,m=null;for(;h.length;){const p=h.pop();let{node:v,index:_,skipped:C,depth:E,statics:x,dynamics:R,optionals:O}=p;s&&v.notFound&&$r(b,p)&&(b=p);const L=_===d;if(L){if(v.route&&(!u||v.isIndex)&&($r(m,p)&&(m=p),x===d&&v.isIndex))return m;if(!v.optional&&!v.wildcard)continue}const j=L?void 0:l[_];let U;if(v.wildcard&&$r(g,p))for(const P of v.wildcard){const{prefix:M,suffix:N}=P;if(!(M&&(L||!(P.caseSensitive?j:U??=j.toLowerCase()).startsWith(M)))){if(N){if(L)continue;const J=l.slice(_).join("/").slice(-N.length);if((P.caseSensitive?J:J.toLowerCase())!==N)continue}g={node:P,index:_,skipped:C,depth:E,statics:x,dynamics:R,optionals:O};break}}if(v.optional){const P=C|1<<E,M=E+1;for(let N=v.optional.length-1;N>=0;N--){const J=v.optional[N];h.push({node:J,index:_,skipped:P,depth:M,statics:x,dynamics:R,optionals:O})}if(!L)for(let N=v.optional.length-1;N>=0;N--){const J=v.optional[N],{prefix:ee,suffix:z}=J;if(ee||z){const K=J.caseSensitive?j:U??=j.toLowerCase();if(ee&&!K.startsWith(ee)||z&&!K.endsWith(z))continue}h.push({node:J,index:_+1,skipped:C,depth:M,statics:x,dynamics:R,optionals:O+1})}}if(!L&&v.dynamic&&j)for(let P=v.dynamic.length-1;P>=0;P--){const M=v.dynamic[P],{prefix:N,suffix:J}=M;if(N||J){const ee=M.caseSensitive?j:U??=j.toLowerCase();if(N&&!ee.startsWith(N)||J&&!ee.endsWith(J))continue}h.push({node:M,index:_+1,skipped:C,depth:E+1,statics:x,dynamics:R+1,optionals:O})}if(!L&&v.staticInsensitive){const P=v.staticInsensitive.get(U??=j.toLowerCase());P&&h.push({node:P,index:_+1,skipped:C,depth:E+1,statics:x+1,dynamics:R,optionals:O})}if(!L&&v.static){const P=v.static.get(j);P&&h.push({node:P,index:_+1,skipped:C,depth:E+1,statics:x+1,dynamics:R,optionals:O})}}if(m&&g)return $r(g,m)?m:g;if(m)return m;if(g)return g;if(s&&b){let p=b.index;for(let _=0;_<b.index;_++)p+=l[_].length;const v=p===t.length?"/":t.slice(p);return{node:b.node,skipped:b.skipped,"**":decodeURIComponent(v)}}return null}function $r(t,l){return t?l.statics>t.statics||l.statics===t.statics&&(l.dynamics>t.dynamics||l.dynamics===t.dynamics&&(l.optionals>t.optionals||l.optionals===t.optionals&&(l.node.isIndex>t.node.isIndex||l.node.isIndex===t.node.isIndex&&l.depth>t.depth))):!0}function eu(t){return _h(t.filter(l=>l!==void 0).join("/"))}function _h(t){return t.replace(/\/{2,}/g,"/")}function P1(t){return t==="/"?t:t.replace(/^\/{1,}/,"")}function Oa(t){const l=t.length;return l>1&&t[l-1]==="/"?t.replace(/\/{1,}$/,""):t}function tu(t){return Oa(P1(t))}function hu(t,l){return t?.endsWith("/")&&t!=="/"&&t!==`${l}/`?t.slice(0,-1):t}function F0(t,l,a){return hu(t,a)===hu(l,a)}function I0({base:t,to:l,trailingSlash:a="never",cache:s}){const r=l.startsWith("/"),u=!r&&l===".";let d;if(s){d=r?l:u?t:t+"\0"+l;const p=s.get(d);if(p)return p}let h;if(u)h=t.split("/");else if(r)h=l.split("/");else{for(h=t.split("/");h.length>1&&cu(h)==="";)h.pop();const p=l.split("/");for(let v=0,_=p.length;v<_;v++){const C=p[v];C===""?v?v===_-1&&h.push(C):h=[C]:C===".."?h.pop():C==="."||h.push(C)}}h.length>1&&(cu(h)===""?a==="never"&&h.pop():a==="always"&&h.push(""));let g,b="";for(let p=0;p<h.length;p++){p>0&&(b+="/");const v=h[p];if(!v)continue;g=yh(v,0,g);const _=g[0];if(_===Oi){b+=v;continue}const C=g[5],E=v.substring(0,g[1]),x=v.substring(g[4],C),R=v.substring(g[2],g[3]);_===Da?b+=E||x?`${E}{$${R}}${x}`:`$${R}`:_===La?b+=E||x?`${E}{$}${x}`:"$":b+=`${E}{-$${R}}${x}`}b=_h(b);const m=b||"/";return d&&s&&s.set(d,m),m}function cd(t,l,a){const s=l[t];return typeof s!="string"?s:t==="_splat"?encodeURI(s):Y0(s,a)}function fd({path:t,params:l,decodeCharMap:a}){let s=!1;const r={};if(!t||t==="/")return{interpolatedPath:"/",usedParams:r,isMissingParams:s};if(!t.includes("$"))return{interpolatedPath:t,usedParams:r,isMissingParams:s};const u=t.length;let d=0,h,g="";for(;d<u;){const m=d;h=yh(t,m,h);const p=h[5];if(d=p+1,m===p)continue;const v=h[0];if(v===Oi){g+="/"+t.substring(m,p);continue}if(v===La){const _=l._splat;r._splat=_,r["*"]=_;const C=t.substring(m,h[1]),E=t.substring(h[4],p);if(!_){s=!0,(C||E)&&(g+="/"+C+E);continue}const x=cd("_splat",l,a);g+="/"+C+x+E;continue}if(v===Da){const _=t.substring(h[2],h[3]);!s&&!(_ in l)&&(s=!0),r[_]=l[_];const C=t.substring(m,h[1]),E=t.substring(h[4],p),x=cd(_,l,a)??"undefined";g+="/"+C+x+E;continue}if(v===Js){const _=t.substring(h[2],h[3]),C=l[_];if(C==null)continue;r[_]=C;const E=t.substring(m,h[1]),x=t.substring(h[4],p),R=cd(_,l,a)??"";g+="/"+E+R+x;continue}}return t.endsWith("/")&&(g+="/"),{usedParams:r,interpolatedPath:g||"/",isMissingParams:s}}function Y0(t,l){let a=encodeURIComponent(t);if(l)for(const[s,r]of l)a=a.replaceAll(s,r);return a}function Sn(t){return!!t?.isNotFound}function G0(){try{if(typeof window<"u"&&typeof window.sessionStorage=="object")return window.sessionStorage}catch{}}const gu="tsr-scroll-restoration-v1_3",Q0=(t,l)=>{let a;return(...s)=>{a||(a=setTimeout(()=>{t(...s),a=null},l))}};function K0(){const t=G0();if(!t)return null;const l=t.getItem(gu);let a=l?JSON.parse(l):{};return{state:a,set:s=>(a=Kl(s,a)||a,t.setItem(gu,JSON.stringify(a)))}}const jr=K0(),jd=t=>t.state.__TSR_key||t.href;function X0(t){const l=[];let a;for(;a=t.parentNode;)l.push(`${t.tagName}:nth-child(${Array.prototype.indexOf.call(a.children,t)+1})`),t=a;return`${l.reverse().join(" > ")}`.toLowerCase()}let bu=!1;function N1({storageKey:t,key:l,behavior:a,shouldScrollRestoration:s,scrollToTopSelectors:r,location:u}){let d;try{d=JSON.parse(sessionStorage.getItem(t)||"{}")}catch(b){console.error(b);return}const h=l||window.history.state?.__TSR_key,g=d[h];bu=!0;e:{if(s&&g&&Object.keys(g).length>0){for(const p in g){const v=g[p];if(p==="window")window.scrollTo({top:v.scrollY,left:v.scrollX,behavior:a});else if(p){const _=document.querySelector(p);_&&(_.scrollLeft=v.scrollX,_.scrollTop=v.scrollY)}}break e}const b=(u??window.location).hash.split("#",2)[1];if(b){const p=window.history.state?.__hashScrollIntoViewOptions??!0;if(p){const v=document.getElementById(b);v&&v.scrollIntoView(p)}break e}const m={top:0,left:0,behavior:a};if(window.scrollTo(m),r)for(const p of r){if(p==="window")continue;const v=typeof p=="function"?p():document.querySelector(p);v&&v.scrollTo(m)}}bu=!1}function Z0(t,l){if(!jr&&!t.isServer||((t.options.scrollRestoration??!1)&&(t.isScrollRestoring=!0),t.isServer||t.isScrollRestorationSetup||!jr))return;t.isScrollRestorationSetup=!0,bu=!1;const s=t.options.getScrollRestorationKey||jd;window.history.scrollRestoration="manual";const r=u=>{if(bu||!t.isScrollRestoring)return;let d="";if(u.target===document||u.target===window)d="window";else{const g=u.target.getAttribute("data-scroll-restoration-id");g?d=`[data-scroll-restoration-id="${g}"]`:d=X0(u.target)}const h=s(t.state.location);jr.set(g=>{const b=g[h]||={},m=b[d]||={};if(d==="window")m.scrollX=window.scrollX||0,m.scrollY=window.scrollY||0;else if(d){const p=document.querySelector(d);p&&(m.scrollX=p.scrollLeft||0,m.scrollY=p.scrollTop||0)}return g})};typeof document<"u"&&document.addEventListener("scroll",Q0(r,100),!0),t.subscribe("onRendered",u=>{const d=s(u.toLocation);if(!t.resetNextScroll){t.resetNextScroll=!0;return}typeof t.options.scrollRestoration=="function"&&!t.options.scrollRestoration({location:t.latestLocation})||(N1({storageKey:gu,key:d,behavior:t.options.scrollRestorationBehavior,shouldScrollRestoration:t.isScrollRestoring,scrollToTopSelectors:t.options.scrollToTopSelectors,location:t.history.location}),t.isScrollRestoring&&jr.set(h=>(h[d]||={},h)))})}function J0(t){if(typeof document<"u"&&document.querySelector){const l=t.state.location.state.__hashScrollIntoViewOptions??!0;if(l&&t.state.location.hash!==""){const a=document.getElementById(t.state.location.hash);a&&a.scrollIntoView(l)}}}function W0(t,l=String){const a=new URLSearchParams;for(const s in t){const r=t[s];r!==void 0&&a.set(s,l(r))}return a.toString()}function dd(t){return t?t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t:""}function eS(t){const l=new URLSearchParams(t),a={};for(const[s,r]of l.entries()){const u=a[s];u==null?a[s]=dd(r):Array.isArray(u)?u.push(dd(r)):a[s]=[u,dd(r)]}return a}const tS=lS(JSON.parse),nS=aS(JSON.stringify,JSON.parse);function lS(t){return l=>{l[0]==="?"&&(l=l.substring(1));const a=eS(l);for(const s in a){const r=a[s];if(typeof r=="string")try{a[s]=t(r)}catch{}}return a}}function aS(t,l){const a=typeof l=="function";function s(r){if(typeof r=="object"&&r!==null)try{return t(r)}catch{}else if(a&&typeof r=="string")try{return l(r),t(r)}catch{}return r}return r=>{const u=W0(r,s);return u?`?${u}`:""}}const tn="__root__";function iS(t){if(t.statusCode=t.statusCode||t.code||307,!t.reloadDocument&&typeof t.href=="string")try{new URL(t.href),t.reloadDocument=!0}catch{}const l=new Headers(t.headers);t.href&&l.get("Location")===null&&l.set("Location",t.href);const a=new Response(null,{status:t.statusCode,headers:l});if(a.options=t,t.throw)throw a;return a}function On(t){return t instanceof Response&&!!t.options}const nu=t=>{if(!t.rendered)return t.rendered=!0,t.onReady?.()},Mu=(t,l)=>!!(t.preload&&!t.router.state.matches.some(a=>a.id===l)),$1=(t,l)=>{const a=t.router.routesById[l.routeId??""]??t.router.routeTree;!a.options.notFoundComponent&&t.router.options?.defaultNotFoundComponent&&(a.options.notFoundComponent=t.router.options.defaultNotFoundComponent),bl(a.options.notFoundComponent);const s=t.matches.find(r=>r.routeId===a.id);bl(s,"Could not find match for route: "+a.id),t.updateMatch(s.id,r=>({...r,status:"notFound",error:l,isFetching:!1})),l.routerCode==="BEFORE_LOAD"&&a.parentRoute&&(l.routeId=a.parentRoute.id,$1(t,l))},Xl=(t,l,a)=>{if(!(!On(a)&&!Sn(a))){if(On(a)&&a.redirectHandled&&!a.options.reloadDocument)throw a;if(l){l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.loaderPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,l._nonReactive.loaderPromise=void 0;const s=On(a)?"redirected":"notFound";l._nonReactive.error=a,t.updateMatch(l.id,r=>({...r,status:s,isFetching:!1,error:a})),Sn(a)&&!a.routeId&&(a.routeId=l.routeId),l._nonReactive.loadPromise?.resolve()}throw On(a)?(t.rendered=!0,a.options._fromLocation=t.location,a.redirectHandled=!0,a=t.router.resolveRedirect(a),a):($1(t,a),a)}},j1=(t,l)=>{const a=t.router.getMatch(l);return!!(!t.router.isServer&&a._nonReactive.dehydrated||t.router.isServer&&a.ssr===!1)},Ps=(t,l,a,s)=>{const{id:r,routeId:u}=t.matches[l],d=t.router.looseRoutesById[u];if(a instanceof Promise)throw a;a.routerCode=s,t.firstBadMatchIndex??=l,Xl(t,t.router.getMatch(r),a);try{d.options.onError?.(a)}catch(h){a=h,Xl(t,t.router.getMatch(r),a)}t.updateMatch(r,h=>(h._nonReactive.beforeLoadPromise?.resolve(),h._nonReactive.beforeLoadPromise=void 0,h._nonReactive.loadPromise?.resolve(),{...h,error:a,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController}))},sS=(t,l,a,s)=>{const r=t.router.getMatch(l),u=t.matches[a-1]?.id,d=u?t.router.getMatch(u):void 0;if(t.router.isShell()){r.ssr=s.id===tn;return}if(d?.ssr===!1){r.ssr=!1;return}const h=_=>_===!0&&d?.ssr==="data-only"?"data-only":_,g=t.router.options.defaultSsr??!0;if(s.options.ssr===void 0){r.ssr=h(g);return}if(typeof s.options.ssr!="function"){r.ssr=h(s.options.ssr);return}const{search:b,params:m}=r,p={search:Ur(b,r.searchError),params:Ur(m,r.paramsError),location:t.location,matches:t.matches.map(_=>({index:_.index,pathname:_.pathname,fullPath:_.fullPath,staticData:_.staticData,id:_.id,routeId:_.routeId,search:Ur(_.search,_.searchError),params:Ur(_.params,_.paramsError),ssr:_.ssr}))},v=s.options.ssr(p);if(Jl(v))return v.then(_=>{r.ssr=h(_??g)});r.ssr=h(v??g)},U1=(t,l,a,s)=>{if(s._nonReactive.pendingTimeout!==void 0)return;const r=a.options.pendingMs??t.router.options.defaultPendingMs;if(!!(t.onReady&&!t.router.isServer&&!Mu(t,l)&&(a.options.loader||a.options.beforeLoad||B1(a))&&typeof r=="number"&&r!==1/0&&(a.options.pendingComponent??t.router.options?.defaultPendingComponent))){const d=setTimeout(()=>{nu(t)},r);s._nonReactive.pendingTimeout=d}},oS=(t,l,a)=>{const s=t.router.getMatch(l);if(!s._nonReactive.beforeLoadPromise&&!s._nonReactive.loaderPromise)return;U1(t,l,a,s);const r=()=>{const u=t.router.getMatch(l);u.preload&&(u.status==="redirected"||u.status==="notFound")&&Xl(t,u,u.error)};return s._nonReactive.beforeLoadPromise?s._nonReactive.beforeLoadPromise.then(r):r()},rS=(t,l,a,s)=>{const r=t.router.getMatch(l),u=r._nonReactive.loadPromise;r._nonReactive.loadPromise=Ai(()=>{u?.resolve()});const{paramsError:d,searchError:h}=r;d&&Ps(t,a,d,"PARSE_PARAMS"),h&&Ps(t,a,h,"VALIDATE_SEARCH"),U1(t,l,s,r);const g=new AbortController,b=t.matches[a-1]?.id,v={...(b?t.router.getMatch(b):void 0)?.context??t.router.options.context??void 0,...r.__routeContext};let _=!1;const C=()=>{_||(_=!0,t.updateMatch(l,M=>({...M,isFetching:"beforeLoad",fetchCount:M.fetchCount+1,abortController:g,context:v})))},E=()=>{r._nonReactive.beforeLoadPromise?.resolve(),r._nonReactive.beforeLoadPromise=void 0,t.updateMatch(l,M=>({...M,isFetching:!1}))};if(!s.options.beforeLoad){Is(()=>{C(),E()});return}r._nonReactive.beforeLoadPromise=Ai();const{search:x,params:R,cause:O}=r,L=Mu(t,l),j={search:x,abortController:g,params:R,preload:L,context:v,location:t.location,navigate:M=>t.router.navigate({...M,_fromLocation:t.location}),buildLocation:t.router.buildLocation,cause:L?"preload":O,matches:t.matches,...t.router.options.additionalContext},U=M=>{if(M===void 0){Is(()=>{C(),E()});return}(On(M)||Sn(M))&&(C(),Ps(t,a,M,"BEFORE_LOAD")),Is(()=>{C(),t.updateMatch(l,N=>({...N,__beforeLoadContext:M,context:{...N.context,...M}})),E()})};let P;try{if(P=s.options.beforeLoad(j),Jl(P))return C(),P.catch(M=>{Ps(t,a,M,"BEFORE_LOAD")}).then(U)}catch(M){C(),Ps(t,a,M,"BEFORE_LOAD")}U(P)},uS=(t,l)=>{const{id:a,routeId:s}=t.matches[l],r=t.router.looseRoutesById[s],u=()=>{if(t.router.isServer){const g=sS(t,a,l,r);if(Jl(g))return g.then(h)}return h()},d=()=>rS(t,a,l,r),h=()=>{if(j1(t,a))return;const g=oS(t,a,r);return Jl(g)?g.then(d):d()};return u()},Ys=(t,l,a)=>{const s=t.router.getMatch(l);if(!s||!a.options.head&&!a.options.scripts&&!a.options.headers)return;const r={matches:t.matches,match:s,params:s.params,loaderData:s.loaderData};return Promise.all([a.options.head?.(r),a.options.scripts?.(r),a.options.headers?.(r)]).then(([u,d,h])=>{const g=u?.meta,b=u?.links,m=u?.scripts,p=u?.styles;return{meta:g,links:b,headScripts:m,headers:h,scripts:d,styles:p}})},q1=(t,l,a,s)=>{const r=t.matchPromises[a-1],{params:u,loaderDeps:d,abortController:h,cause:g}=t.router.getMatch(l);let b=t.router.options.context??{};for(let p=0;p<=a;p++){const v=t.matches[p];if(!v)continue;const _=t.router.getMatch(v.id);_&&(b={...b,..._.__routeContext??{},..._.__beforeLoadContext??{}})}const m=Mu(t,l);return{params:u,deps:d,preload:!!m,parentMatchPromise:r,abortController:h,context:b,location:t.location,navigate:p=>t.router.navigate({...p,_fromLocation:t.location}),cause:m?"preload":g,route:s,...t.router.options.additionalContext}},cm=async(t,l,a,s)=>{try{const r=t.router.getMatch(l);try{(!t.router.isServer||r.ssr===!0)&&H1(s);const u=s.options.loader?.(q1(t,l,a,s)),d=s.options.loader&&Jl(u);if(!!(d||s._lazyPromise||s._componentsPromise||s.options.head||s.options.scripts||s.options.headers||r._nonReactive.minPendingPromise)&&t.updateMatch(l,p=>({...p,isFetching:"loader"})),s.options.loader){const p=d?await u:u;Xl(t,t.router.getMatch(l),p),p!==void 0&&t.updateMatch(l,v=>({...v,loaderData:p}))}s._lazyPromise&&await s._lazyPromise;const g=Ys(t,l,s),b=g?await g:void 0,m=r._nonReactive.minPendingPromise;m&&await m,s._componentsPromise&&await s._componentsPromise,t.updateMatch(l,p=>({...p,error:void 0,status:"success",isFetching:!1,updatedAt:Date.now(),...b}))}catch(u){let d=u;const h=r._nonReactive.minPendingPromise;h&&await h,Sn(u)&&await s.options.notFoundComponent?.preload?.(),Xl(t,t.router.getMatch(l),u);try{s.options.onError?.(u)}catch(m){d=m,Xl(t,t.router.getMatch(l),m)}const g=Ys(t,l,s),b=g?await g:void 0;t.updateMatch(l,m=>({...m,error:d,status:"error",isFetching:!1,...b}))}}catch(r){const u=t.router.getMatch(l);if(u){const d=Ys(t,l,s);if(d){const h=await d;t.updateMatch(l,g=>({...g,...h}))}u._nonReactive.loaderPromise=void 0}Xl(t,u,r)}},cS=async(t,l)=>{const{id:a,routeId:s}=t.matches[l];let r=!1,u=!1;const d=t.router.looseRoutesById[s];if(j1(t,a)){if(t.router.isServer){const b=Ys(t,a,d);if(b){const m=await b;t.updateMatch(a,p=>({...p,...m}))}return t.router.getMatch(a)}}else{const b=t.router.getMatch(a);if(b._nonReactive.loaderPromise){if(b.status==="success"&&!t.sync&&!b.preload)return b;await b._nonReactive.loaderPromise;const m=t.router.getMatch(a),p=m._nonReactive.error||m.error;p&&Xl(t,m,p)}else{const m=Date.now()-b.updatedAt,p=Mu(t,a),v=p?d.options.preloadStaleTime??t.router.options.defaultPreloadStaleTime??3e4:d.options.staleTime??t.router.options.defaultStaleTime??0,_=d.options.shouldReload,C=typeof _=="function"?_(q1(t,a,l,d)):_,E=!!p&&!t.router.state.matches.some(L=>L.id===a),x=t.router.getMatch(a);x._nonReactive.loaderPromise=Ai(),E!==x.preload&&t.updateMatch(a,L=>({...L,preload:E}));const{status:R,invalid:O}=x;if(r=R==="success"&&(O||(C??m>v)),!(p&&d.options.preload===!1))if(r&&!t.sync)u=!0,(async()=>{try{await cm(t,a,l,d);const L=t.router.getMatch(a);L._nonReactive.loaderPromise?.resolve(),L._nonReactive.loadPromise?.resolve(),L._nonReactive.loaderPromise=void 0}catch(L){On(L)&&await t.router.navigate(L.options)}})();else if(R!=="success"||r&&t.sync)await cm(t,a,l,d);else{const L=Ys(t,a,d);if(L){const j=await L;t.updateMatch(a,U=>({...U,...j}))}}}}const h=t.router.getMatch(a);u||(h._nonReactive.loaderPromise?.resolve(),h._nonReactive.loadPromise?.resolve()),clearTimeout(h._nonReactive.pendingTimeout),h._nonReactive.pendingTimeout=void 0,u||(h._nonReactive.loaderPromise=void 0),h._nonReactive.dehydrated=void 0;const g=u?h.isFetching:!1;return g!==h.isFetching||h.invalid!==!1?(t.updateMatch(a,b=>({...b,isFetching:g,invalid:!1})),t.router.getMatch(a)):h};async function fm(t){const l=Object.assign(t,{matchPromises:[]});!l.router.isServer&&l.router.state.matches.some(a=>a._forcePending)&&nu(l);try{for(let r=0;r<l.matches.length;r++){const u=uS(l,r);Jl(u)&&await u}const a=l.firstBadMatchIndex??l.matches.length;for(let r=0;r<a;r++)l.matchPromises.push(cS(l,r));await Promise.all(l.matchPromises);const s=nu(l);Jl(s)&&await s}catch(a){if(Sn(a)&&!l.preload){const s=nu(l);throw Jl(s)&&await s,a}if(On(a))throw a}return l.matches}async function H1(t){if(!t._lazyLoaded&&t._lazyPromise===void 0&&(t.lazyFn?t._lazyPromise=t.lazyFn().then(l=>{const{id:a,...s}=l.options;Object.assign(t.options,s),t._lazyLoaded=!0,t._lazyPromise=void 0}):t._lazyLoaded=!0),!t._componentsLoaded&&t._componentsPromise===void 0){const l=()=>{const a=[];for(const s of V1){const r=t.options[s]?.preload;r&&a.push(r())}if(a.length)return Promise.all(a).then(()=>{t._componentsLoaded=!0,t._componentsPromise=void 0});t._componentsLoaded=!0,t._componentsPromise=void 0};t._componentsPromise=t._lazyPromise?t._lazyPromise.then(l):l()}return t._componentsPromise}function Ur(t,l){return l?{status:"error",error:l}:{status:"success",value:t}}function B1(t){for(const l of V1)if(t.options[l]?.preload)return!0;return!1}const V1=["component","errorComponent","pendingComponent","notFoundComponent"];function fS(t){return{input:({url:l})=>{for(const a of t)l=F1(a,l);return l},output:({url:l})=>{for(let a=t.length-1;a>=0;a--)l=I1(t[a],l);return l}}}function dS(t){const l=tu(t.basepath),a=`/${l}`,s=`${a}/`,r=t.caseSensitive?a:a.toLowerCase(),u=t.caseSensitive?s:s.toLowerCase();return{input:({url:d})=>{const h=t.caseSensitive?d.pathname:d.pathname.toLowerCase();return h===r?d.pathname="/":h.startsWith(u)&&(d.pathname=d.pathname.slice(a.length)),d},output:({url:d})=>(d.pathname=eu(["/",l,d.pathname]),d)}}function F1(t,l){const a=t?.input?.({url:l});if(a){if(typeof a=="string")return new URL(a);if(a instanceof URL)return a}return l}function I1(t,l){const a=t?.output?.({url:l});if(a){if(typeof a=="string")return new URL(a);if(a instanceof URL)return a}return l}function Ma(t){const l=t.resolvedLocation,a=t.location,s=l?.pathname!==a.pathname,r=l?.href!==a.href,u=l?.hash!==a.hash;return{fromLocation:l,toLocation:a,pathChanged:s,hrefChanged:r,hashChanged:u}}class hS{constructor(l){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.startTransition=a=>a(),this.update=a=>{a.notFoundRoute&&console.warn("The notFoundRoute API is deprecated and will be removed in the next major version. See https://tanstack.com/router/v1/docs/framework/react/guide/not-found-errors#migrating-from-notfoundroute for more info.");const s=this.options,r=this.basepath??s?.basepath??"/",u=this.basepath===void 0,d=s?.rewrite;this.options={...s,...a},this.isServer=this.options.isServer??typeof document>"u",this.pathParamsDecodeCharMap=this.options.pathParamsAllowedCharacters?new Map(this.options.pathParamsAllowedCharacters.map(v=>[encodeURIComponent(v),v])):void 0,(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.isServer||(this.history=R0())),this.origin=this.options.origin,this.origin||(!this.isServer&&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,this.buildRouteTree()),!this.__store&&this.latestLocation&&(this.__store=new E0(bS(this.latestLocation),{onUpdate:()=>{this.__store.state={...this.state,cachedMatches:this.state.cachedMatches.filter(v=>!["redirected"].includes(v.status))}}}),Z0(this));let h=!1;const g=this.options.basepath??"/",b=this.options.rewrite;if(u||r!==g||d!==b){this.basepath=g;const v=[];tu(g)!==""&&v.push(dS({basepath:g})),b&&v.push(b),this.rewrite=v.length===0?void 0:v.length===1?v[0]:fS(v),this.history&&this.updateLatestLocation(),h=!0}h&&this.__store&&(this.__store.state={...this.state,location:this.latestLocation}),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.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{routesById:a,routesByPath:s,processedTree:r}=U0(this.routeTree,this.options.caseSensitive,(d,h)=>{d.init({originalIndex:h})});this.options.routeMasks&&L0(this.options.routeMasks,r),this.routesById=a,this.routesByPath=s,this.processedTree=r;const u=this.options.notFoundRoute;u&&(u.init({originalIndex:99999999999}),this.routesById[u.id]=u)},this.subscribe=(a,s)=>{const r={eventType:a,fn:s};return this.subscribers.add(r),()=>{this.subscribers.delete(r)}},this.emit=a=>{this.subscribers.forEach(s=>{s.eventType===a.type&&s.fn(a)})},this.parseLocation=(a,s)=>{const r=({href:g,state:b})=>{const m=new URL(g,this.origin),p=F1(this.rewrite,m),v=this.options.parseSearch(p.search),_=this.options.stringifySearch(v);p.search=_;const C=p.href.replace(p.origin,""),{pathname:E,hash:x}=p;return{href:C,publicHref:g,url:p.href,pathname:um(E),searchStr:_,search:yn(s?.search,v),hash:x.split("#").reverse()[0]??"",state:yn(s?.state,b)}},u=r(a),{__tempLocation:d,__tempKey:h}=u.state;if(d&&(!h||h===this.tempLocationKey)){const g=r(d);return g.state.key=u.state.key,g.state.__TSR_key=u.state.__TSR_key,delete g.state.__tempLocation,{...g,maskedLocation:u}}return u},this.resolvePathCache=du(1e3),this.resolvePathWithBase=(a,s)=>I0({base:a,to:_h(s),trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(a,s,r)=>typeof a=="string"?this.matchRoutesInternal({pathname:a,search:s},r):this.matchRoutesInternal(a,s),this.getMatchedRoutes=a=>pS({pathname:a,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=a=>{const s=this.getMatch(a);s&&(s.abortController.abort(),clearTimeout(s._nonReactive.pendingTimeout),s._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{const a=this.state.matches.filter(u=>u.status==="pending"),s=this.state.matches.filter(u=>u.isFetching==="loader");new Set([...this.state.pendingMatches??[],...a,...s]).forEach(u=>{this.cancelMatch(u.id)})},this.buildLocation=a=>{const s=(u={})=>{const d=u._fromLocation||this.pendingBuiltLocation||this.latestLocation,h=this.matchRoutes(d,{_buildLocation:!0}),g=cu(h);u.from;const b=u.unsafeRelative==="path"?d.pathname:u.from??g.fullPath,m=this.resolvePathWithBase(b,"."),p=g.search,v={...g.params},_=u.to?this.resolvePathWithBase(m,`${u.to}`):this.resolvePathWithBase(m,"."),C=u.params===!1||u.params===null?{}:(u.params??!0)===!0?v:Object.assign(v,Kl(u.params,v)),E=fd({path:_,params:C}).interpolatedPath,x=this.matchRoutes(E,void 0,{_buildLocation:!0}).map(ee=>this.looseRoutesById[ee.routeId]);if(Object.keys(C).length>0)for(const ee of x){const z=ee.options.params?.stringify??ee.options.stringifyParams;z&&Object.assign(C,z(C))}const R=a.leaveParams?_:um(fd({path:_,params:C,decodeCharMap:this.pathParamsDecodeCharMap}).interpolatedPath);let O=p;if(a._includeValidateSearch&&this.options.search?.strict){const ee={};x.forEach(z=>{if(z.options.validateSearch)try{Object.assign(ee,Ud(z.options.validateSearch,{...ee,...O}))}catch{}}),O=ee}O=mS({search:O,dest:u,destRoutes:x,_includeValidateSearch:a._includeValidateSearch}),O=yn(p,O);const L=this.options.stringifySearch(O),j=u.hash===!0?d.hash:u.hash?Kl(u.hash,d.hash):void 0,U=j?`#${j}`:"";let P=u.state===!0?d.state:u.state?Kl(u.state,d.state):{};P=yn(d.state,P);const M=`${R}${L}${U}`,N=new URL(M,this.origin),J=I1(this.rewrite,N);return{publicHref:J.pathname+J.search+J.hash,href:M,url:J.href,pathname:R,search:O,searchStr:L,state:P,hash:j??"",unmaskOnReload:u.unmaskOnReload}},r=(u={},d)=>{const h=s(u);let g=d?s(d):void 0;if(!g){const b={};if(this.options.routeMasks){const m=P0(h.pathname,this.processedTree);if(m){Object.assign(b,m.params);const{from:p,params:v,..._}=m.route,C=v===!1||v===null?{}:(v??!0)===!0?b:Object.assign(b,Kl(v,b));d={from:a.from,..._,params:C},g=s(d)}}}return g&&(h.maskedLocation=g),h};return a.mask?r(a,{from:a.from,...a.mask}):r(a)},this.commitLocation=({viewTransition:a,ignoreBlocker:s,...r})=>{const u=()=>{const g=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];g.forEach(m=>{r.state[m]=this.latestLocation.state[m]});const b=Aa(r.state,this.latestLocation.state);return g.forEach(m=>{delete r.state[m]}),b},d=Oa(this.latestLocation.href)===Oa(r.href),h=this.commitLocationPromise;if(this.commitLocationPromise=Ai(()=>{h?.resolve()}),d&&u())this.load();else{let{maskedLocation:g,hashScrollIntoView:b,...m}=r;g&&(m={...g,state:{...g.state,__tempKey:void 0,__tempLocation:{...m,search:m.searchStr,state:{...m.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(m.unmaskOnReload??this.options.unmaskOnReload??!1)&&(m.state.__tempKey=this.tempLocationKey)),m.state.__hashScrollIntoViewOptions=b??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=a,this.history[r.replace?"replace":"push"](m.publicHref,m.state,{ignoreBlocker:s})}return this.resetNextScroll=r.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:a,resetScroll:s,hashScrollIntoView:r,viewTransition:u,ignoreBlocker:d,href:h,...g}={})=>{if(h){const p=this.history.location.state.__TSR_index,v=uu(h,{__TSR_index:a?p:p+1});g.to=v.pathname,g.search=this.options.parseSearch(v.search),g.hash=v.hash.slice(1)}const b=this.buildLocation({...g,_includeValidateSearch:!0});this.pendingBuiltLocation=b;const m=this.commitLocation({...b,viewTransition:u,replace:a,resetScroll:s,hashScrollIntoView:r,ignoreBlocker:d});return Promise.resolve().then(()=>{this.pendingBuiltLocation===b&&(this.pendingBuiltLocation=void 0)}),m},this.navigate=async({to:a,reloadDocument:s,href:r,...u})=>{if(!s&&r)try{new URL(`${r}`),s=!0}catch{}if(s){if(r||(r=this.buildLocation({to:a,...u}).url),!u.ignoreBlocker){const h=this.history.getBlockers?.()??[];for(const g of h)if(g?.blockerFn&&await g.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return u.replace?window.location.replace(r):window.location.href=r,Promise.resolve()}return this.buildAndCommitLocation({...u,href:r,to:a,_isNavigate:!0})},this.beforeLoad=()=>{if(this.cancelMatches(),this.updateLatestLocation(),this.isServer){const s=this.buildLocation({to:this.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0}),r=u=>{try{return encodeURI(decodeURI(u))}catch{return u}};if(tu(r(this.latestLocation.href))!==tu(r(s.href))){let u=s.url;throw this.origin&&u.startsWith(this.origin)&&(u=u.replace(this.origin,"")||"/"),iS({href:u})}}const a=this.matchRoutes(this.latestLocation);this.__store.setState(s=>({...s,status:"pending",statusCode:200,isLoading:!0,location:this.latestLocation,pendingMatches:a,cachedMatches:s.cachedMatches.filter(r=>!a.some(u=>u.id===r.id))}))},this.load=async a=>{let s,r,u;for(u=new Promise(h=>{this.startTransition(async()=>{try{this.beforeLoad();const g=this.latestLocation,b=this.state.resolvedLocation;this.state.redirect||this.emit({type:"onBeforeNavigate",...Ma({resolvedLocation:b,location:g})}),this.emit({type:"onBeforeLoad",...Ma({resolvedLocation:b,location:g})}),await fm({router:this,sync:a?.sync,matches:this.state.pendingMatches,location:g,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let m=[],p=[],v=[];Is(()=>{this.__store.setState(_=>{const C=_.matches,E=_.pendingMatches||_.matches;return m=C.filter(x=>!E.some(R=>R.id===x.id)),p=E.filter(x=>!C.some(R=>R.id===x.id)),v=E.filter(x=>C.some(R=>R.id===x.id)),{..._,isLoading:!1,loadedAt:Date.now(),matches:E,pendingMatches:void 0,cachedMatches:[..._.cachedMatches,...m.filter(x=>x.status!=="error"&&x.status!=="notFound")]}}),this.clearExpiredCache()}),[[m,"onLeave"],[p,"onEnter"],[v,"onStay"]].forEach(([_,C])=>{_.forEach(E=>{this.looseRoutesById[E.routeId].options[C]?.(E)})})})})}})}catch(g){On(g)?(s=g,this.isServer||this.navigate({...s.options,replace:!0,ignoreBlocker:!0})):Sn(g)&&(r=g),this.__store.setState(b=>({...b,statusCode:s?s.status:r?404:b.matches.some(m=>m.status==="error")?500:200,redirect:s}))}this.latestLoadPromise===u&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),h()})}),this.latestLoadPromise=u,await u;this.latestLoadPromise&&u!==this.latestLoadPromise;)await this.latestLoadPromise;let d;this.hasNotFoundMatch()?d=404:this.__store.state.matches.some(h=>h.status==="error")&&(d=500),d!==void 0&&this.__store.setState(h=>({...h,statusCode:d}))},this.startViewTransition=a=>{const s=this.shouldViewTransition??this.options.defaultViewTransition;if(delete this.shouldViewTransition,s&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let r;if(typeof s=="object"&&this.isViewTransitionTypesSupported){const u=this.latestLocation,d=this.state.resolvedLocation,h=typeof s.types=="function"?s.types(Ma({resolvedLocation:d,location:u})):s.types;if(h===!1){a();return}r={update:a,types:h}}else r=a;document.startViewTransition(r)}else a()},this.updateMatch=(a,s)=>{this.startTransition(()=>{const r=this.state.pendingMatches?.some(u=>u.id===a)?"pendingMatches":this.state.matches.some(u=>u.id===a)?"matches":this.state.cachedMatches.some(u=>u.id===a)?"cachedMatches":"";r&&this.__store.setState(u=>({...u,[r]:u[r]?.map(d=>d.id===a?s(d):d)}))})},this.getMatch=a=>{const s=r=>r.id===a;return this.state.cachedMatches.find(s)??this.state.pendingMatches?.find(s)??this.state.matches.find(s)},this.invalidate=a=>{const s=r=>a?.filter?.(r)??!0?{...r,invalid:!0,...a?.forcePending||r.status==="error"||r.status==="notFound"?{status:"pending",error:void 0}:void 0}:r;return this.__store.setState(r=>({...r,matches:r.matches.map(s),cachedMatches:r.cachedMatches.map(s),pendingMatches:r.pendingMatches?.map(s)})),this.shouldViewTransition=!1,this.load({sync:a?.sync})},this.resolveRedirect=a=>{if(!a.options.href){const s=this.buildLocation(a.options);let r=s.url;this.origin&&r.startsWith(this.origin)&&(r=r.replace(this.origin,"")||"/"),a.options.href=s.href,a.headers.set("Location",r)}return a.headers.get("Location")||a.headers.set("Location",a.options.href),a},this.clearCache=a=>{const s=a?.filter;s!==void 0?this.__store.setState(r=>({...r,cachedMatches:r.cachedMatches.filter(u=>!s(u))})):this.__store.setState(r=>({...r,cachedMatches:[]}))},this.clearExpiredCache=()=>{const a=s=>{const r=this.looseRoutesById[s.routeId];if(!r.options.loader)return!0;const u=(s.preload?r.options.preloadGcTime??this.options.defaultPreloadGcTime:r.options.gcTime??this.options.defaultGcTime)??300*1e3;return s.status==="error"?!0:Date.now()-s.updatedAt>=u};this.clearCache({filter:a})},this.loadRouteChunk=H1,this.preloadRoute=async a=>{const s=this.buildLocation(a);let r=this.matchRoutes(s,{throwOnError:!0,preload:!0,dest:a});const u=new Set([...this.state.matches,...this.state.pendingMatches??[]].map(h=>h.id)),d=new Set([...u,...this.state.cachedMatches.map(h=>h.id)]);Is(()=>{r.forEach(h=>{d.has(h.id)||this.__store.setState(g=>({...g,cachedMatches:[...g.cachedMatches,h]}))})});try{return r=await fm({router:this,matches:r,location:s,preload:!0,updateMatch:(h,g)=>{u.has(h)?r=r.map(b=>b.id===h?g(b):b):this.updateMatch(h,g)}}),r}catch(h){if(On(h))return h.options.reloadDocument?void 0:await this.preloadRoute({...h.options,_fromLocation:s});Sn(h)||console.error(h);return}},this.matchRoute=(a,s)=>{const r={...a,to:a.to?this.resolvePathWithBase(a.from||"",a.to):void 0,params:a.params||{},leaveParams:!0},u=this.buildLocation(r);if(s?.pending&&this.state.status!=="pending")return!1;const h=(s?.pending===void 0?!this.state.isLoading:s.pending)?this.latestLocation:this.state.resolvedLocation||this.state.location,g=N0(u.pathname,s?.caseSensitive??!1,s?.fuzzy??!1,h.pathname,this.processedTree);return!g||a.params&&!Aa(g.params,a.params,{partial:!0})?!1:s?.includeSearch??!0?Aa(h.search,u.search,{partial:!0})?g.params:!1:g.params},this.hasNotFoundMatch=()=>this.__store.state.matches.some(a=>a.status==="notFound"||a.globalNotFound),this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...l,caseSensitive:l.caseSensitive??!1,notFoundMode:l.notFoundMode??"fuzzy",stringifySearch:l.stringifySearch??nS,parseSearch:l.parseSearch??tS}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.__store.state}get looseRoutesById(){return this.routesById}matchRoutesInternal(l,a){const s=this.getMatchedRoutes(l.pathname),{foundRoute:r,routeParams:u}=s;let{matchedRoutes:d}=s,h=!1;(r?r.path!=="/"&&u["**"]:Oa(l.pathname))&&(this.options.notFoundRoute?d=[...d,this.options.notFoundRoute]:h=!0);const g=(()=>{if(h){if(this.options.notFoundMode!=="root")for(let p=d.length-1;p>=0;p--){const v=d[p];if(v.children)return v.id}return tn}})(),b=[],m=p=>p?.id?p.context??this.options.context??void 0:this.options.context??void 0;return d.forEach((p,v)=>{const _=b[v-1],[C,E,x]=(()=>{const I=_?.search??l.search,G=_?._strictSearch??void 0;try{const le=Ud(p.options.validateSearch,{...I})??void 0;return[{...I,...le},{...G,...le},void 0]}catch(le){let T=le;if(le instanceof pu||(T=new pu(le.message,{cause:le})),a?.throwOnError)throw T;return[I,{},T]}})(),R=p.options.loaderDeps?.({search:C})??"",O=R?JSON.stringify(R):"",{interpolatedPath:L,usedParams:j}=fd({path:p.fullPath,params:u,decodeCharMap:this.pathParamsDecodeCharMap}),U=p.id+L+O,P=this.getMatch(U),M=this.state.matches.find(I=>I.routeId===p.id),N=P?._strictParams??j;let J;if(!P){const I=p.options.params?.parse??p.options.parseParams;if(I)try{Object.assign(N,I(N))}catch(G){if(Sn(G)||On(G)?J=G:J=new gS(G.message,{cause:G}),a?.throwOnError)throw J}}Object.assign(u,N);const ee=M?"stay":"enter";let z;if(P)z={...P,cause:ee,params:M?yn(M.params,u):u,_strictParams:N,search:yn(M?M.search:P.search,C),_strictSearch:E};else{const I=p.options.loader||p.options.beforeLoad||p.lazyFn||B1(p)?"pending":"success";z={id:U,ssr:this.isServer?void 0:p.options.ssr,index:v,routeId:p.id,params:M?yn(M.params,u):u,_strictParams:N,pathname:L,updatedAt:Date.now(),search:M?yn(M.search,C):C,_strictSearch:E,searchError:void 0,status:I,isFetching:!1,error:void 0,paramsError:J,__routeContext:void 0,_nonReactive:{loadPromise:Ai()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:ee,loaderDeps:M?yn(M.loaderDeps,R):R,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:p.options.staticData||{},fullPath:p.fullPath}}a?.preload||(z.globalNotFound=g===p.id),z.searchError=x;const K=m(_);z.context={...K,...z.__routeContext,...z.__beforeLoadContext},b.push(z)}),b.forEach((p,v)=>{const _=this.looseRoutesById[p.routeId];if(!this.getMatch(p.id)&&a?._buildLocation!==!0){const E=b[v-1],x=m(E);if(_.options.context){const R={deps:p.loaderDeps,params:p.params,context:x??{},location:l,navigate:O=>this.navigate({...O,_fromLocation:l}),buildLocation:this.buildLocation,cause:p.cause,abortController:p.abortController,preload:!!p.preload,matches:b};p.__routeContext=_.options.context(R)??void 0}p.context={...x,...p.__routeContext,...p.__beforeLoadContext}}}),b}}class pu extends Error{}class gS extends Error{}function bS(t){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:t,matches:[],pendingMatches:[],cachedMatches:[],statusCode:200}}function Ud(t,l){if(t==null)return{};if("~standard"in t){const a=t["~standard"].validate(l);if(a instanceof Promise)throw new pu("Async validation not supported");if(a.issues)throw new pu(JSON.stringify(a.issues,void 0,2),{cause:a});return a.value}return"parse"in t?t.parse(l):typeof t=="function"?t(l):{}}function pS({pathname:t,routesById:l,processedTree:a}){const s={},r=Oa(t);let u;const d=$0(r,a,!0);return d&&(u=d.route,Object.assign(s,d.params)),{matchedRoutes:d?.branch||[l[tn]],routeParams:s,foundRoute:u}}function mS({search:t,dest:l,destRoutes:a,_includeValidateSearch:s}){const r=a.reduce((h,g)=>{const b=[];if("search"in g.options)g.options.search?.middlewares&&b.push(...g.options.search.middlewares);else if(g.options.preSearchFilters||g.options.postSearchFilters){const m=({search:p,next:v})=>{let _=p;"preSearchFilters"in g.options&&g.options.preSearchFilters&&(_=g.options.preSearchFilters.reduce((E,x)=>x(E),p));const C=v(_);return"postSearchFilters"in g.options&&g.options.postSearchFilters?g.options.postSearchFilters.reduce((E,x)=>x(E),C):C};b.push(m)}if(s&&g.options.validateSearch){const m=({search:p,next:v})=>{const _=v(p);try{return{..._,...Ud(g.options.validateSearch,_)??void 0}}catch{return _}};b.push(m)}return h.concat(b)},[])??[],u=({search:h})=>l.search?l.search===!0?h:Kl(l.search,h):{};r.push(u);const d=(h,g)=>{if(h>=r.length)return g;const b=r[h];return b({search:g,next:p=>d(h+1,p)})};return d(0,t)}const yS="Error preloading route! ☝️";class Y1{constructor(l){if(this.init=a=>{this.originalIndex=a.originalIndex;const s=this.options,r=!s?.path&&!s?.id;this.parentRoute=this.options.getParentRoute?.(),r?this._path=tn:this.parentRoute||bl(!1);let u=r?tn:s?.path;u&&u!=="/"&&(u=P1(u));const d=s?.id||u;let h=r?tn:eu([this.parentRoute.id===tn?"":this.parentRoute.id,d]);u===tn&&(u="/"),h!==tn&&(h=eu(["/",h]));const g=h===tn?"/":eu([this.parentRoute.fullPath,u]);this._path=u,this._id=h,this._fullPath=g,this._to=g},this.addChildren=a=>this._addFileChildren(a),this._addFileChildren=a=>(Array.isArray(a)&&(this.children=a),typeof a=="object"&&a!==null&&(this.children=Object.values(a)),this),this._addFileTypes=()=>this,this.updateLoader=a=>(Object.assign(this.options,a),this),this.update=a=>(Object.assign(this.options,a),this),this.lazy=a=>(this.lazyFn=a,this),this.options=l||{},this.isRoot=!l?.getParentRoute,l?.id&&l?.path)throw new Error("Route cannot have both an 'id' and a 'path' option.")}get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}}class vS extends Y1{constructor(l){super(l)}}var S=Ni();const ot=g0(S),kh=h0({__proto__:null,default:ot},[S]);function Sh(t){const l=t.errorComponent??zu;return Z.jsx(_S,{getResetKey:t.getResetKey,onCatch:t.onCatch,children:({error:a,reset:s})=>a?S.createElement(l,{error:a,reset:s}):t.children})}class _S extends S.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromProps(l){return{resetKey:l.getResetKey()}}static getDerivedStateFromError(l){return{error:l}}reset(){this.setState({error:null})}componentDidUpdate(l,a){a.error&&a.resetKey!==this.state.resetKey&&this.reset()}componentDidCatch(l,a){this.props.onCatch&&this.props.onCatch(l,a)}render(){return this.props.children({error:this.state.resetKey!==this.props.getResetKey()?null:this.state.error,reset:()=>{this.reset()}})}}function zu({error:t}){const[l,a]=S.useState(!1);return Z.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[Z.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[Z.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),Z.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>a(s=>!s),children:l?"Hide Error":"Show Error"})]}),Z.jsx("div",{style:{height:".25rem"}}),l?Z.jsx("div",{children:Z.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:t.message?Z.jsx("code",{children:t.message}):null})}):null]})}function kS({children:t,fallback:l=null}){return SS()?Z.jsx(ot.Fragment,{children:t}):Z.jsx(ot.Fragment,{children:l})}function SS(){return ot.useSyncExternalStore(CS,()=>!0,()=>!1)}function CS(){return()=>{}}var hd={exports:{}},gd={},bd={exports:{}},pd={};var dm;function ES(){if(dm)return pd;dm=1;var t=Ni();function l(p,v){return p===v&&(p!==0||1/p===1/v)||p!==p&&v!==v}var a=typeof Object.is=="function"?Object.is:l,s=t.useState,r=t.useEffect,u=t.useLayoutEffect,d=t.useDebugValue;function h(p,v){var _=v(),C=s({inst:{value:_,getSnapshot:v}}),E=C[0].inst,x=C[1];return u(function(){E.value=_,E.getSnapshot=v,g(E)&&x({inst:E})},[p,_,v]),r(function(){return g(E)&&x({inst:E}),p(function(){g(E)&&x({inst:E})})},[p]),d(_),_}function g(p){var v=p.getSnapshot;p=p.value;try{var _=v();return!a(p,_)}catch{return!0}}function b(p,v){return v()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?b:h;return pd.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:m,pd}var hm;function G1(){return hm||(hm=1,bd.exports=ES()),bd.exports}var gm;function xS(){if(gm)return gd;gm=1;var t=Ni(),l=G1();function a(b,m){return b===m&&(b!==0||1/b===1/m)||b!==b&&m!==m}var s=typeof Object.is=="function"?Object.is:a,r=l.useSyncExternalStore,u=t.useRef,d=t.useEffect,h=t.useMemo,g=t.useDebugValue;return gd.useSyncExternalStoreWithSelector=function(b,m,p,v,_){var C=u(null);if(C.current===null){var E={hasValue:!1,value:null};C.current=E}else E=C.current;C=h(function(){function R(P){if(!O){if(O=!0,L=P,P=v(P),_!==void 0&&E.hasValue){var M=E.value;if(_(M,P))return j=M}return j=P}if(M=j,s(L,P))return M;var N=v(P);return _!==void 0&&_(M,N)?(L=P,M):(L=P,j=N)}var O=!1,L,j,U=p===void 0?null:p;return[function(){return R(m())},U===null?void 0:function(){return R(U())}]},[m,p,v,_]);var x=r(b,C[0],C[1]);return d(function(){E.hasValue=!0,E.value=x},[x]),g(x),x},gd}var bm;function RS(){return bm||(bm=1,hd.exports=xS()),hd.exports}var Q1=RS();function TS(t,l=s=>s,a={}){const s=a.equal??wS;return Q1.useSyncExternalStoreWithSelector(t.subscribe,()=>t.state,()=>t.state,l,s)}function wS(t,l){if(Object.is(t,l))return!0;if(typeof t!="object"||t===null||typeof l!="object"||l===null)return!1;if(t instanceof Map&&l instanceof Map){if(t.size!==l.size)return!1;for(const[s,r]of t)if(!l.has(s)||!Object.is(r,l.get(s)))return!1;return!0}if(t instanceof Set&&l instanceof Set){if(t.size!==l.size)return!1;for(const s of t)if(!l.has(s))return!1;return!0}if(t instanceof Date&&l instanceof Date)return t.getTime()===l.getTime();const a=pm(t);if(a.length!==pm(l).length)return!1;for(let s=0;s<a.length;s++)if(!Object.prototype.hasOwnProperty.call(l,a[s])||!Object.is(t[a[s]],l[a[s]]))return!1;return!0}function pm(t){return Object.keys(t).concat(Object.getOwnPropertySymbols(t))}const md=S.createContext(null);function K1(){return typeof document>"u"?md:window.__TSR_ROUTER_CONTEXT__?window.__TSR_ROUTER_CONTEXT__:(window.__TSR_ROUTER_CONTEXT__=md,md)}function Yt(t){const l=S.useContext(K1());return t?.warn,l}function Dt(t){const l=Yt({warn:t?.router===void 0}),a=t?.router||l,s=S.useRef(void 0);return TS(a.__store,r=>{if(t?.select){if(t.structuralSharing??a.options.defaultStructuralSharing){const u=yn(s.current,t.select(r));return s.current=u,u}return t.select(r)}return r})}const Du=S.createContext(void 0),AS=S.createContext(void 0);function Vn(t){const l=S.useContext(t.from?AS:Du);return Dt({select:s=>{const r=s.matches.find(u=>t.from?t.from===u.routeId:u.id===l);if(bl(!((t.shouldThrow??!0)&&!r),`Could not find ${t.from?`an active match from "${t.from}"`:"a nearest match!"}`),r!==void 0)return t.select?t.select(r):r},structuralSharing:t.structuralSharing})}function Ch(t){return Vn({from:t.from,strict:t.strict,structuralSharing:t.structuralSharing,select:l=>t.select?t.select(l.loaderData):l.loaderData})}function Eh(t){const{select:l,...a}=t;return Vn({...a,select:s=>l?l(s.loaderDeps):s.loaderDeps})}function xh(t){return Vn({from:t.from,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,strict:t.strict,select:l=>{const a=t.strict===!1?l.params:l._strictParams;return t.select?t.select(a):a}})}function Rh(t){return Vn({from:t.from,strict:t.strict,shouldThrow:t.shouldThrow,structuralSharing:t.structuralSharing,select:l=>t.select?t.select(l.search):l.search})}const Bs=typeof window<"u"?S.useLayoutEffect:S.useEffect;function yd(t){const l=S.useRef({value:t,prev:null}),a=l.current.value;return t!==a&&(l.current={value:t,prev:a}),l.current.prev}function OS(t,l,a={},s={}){S.useEffect(()=>{if(!t.current||s.disabled||typeof IntersectionObserver!="function")return;const r=new IntersectionObserver(([u])=>{l(u)},a);return r.observe(t.current),()=>{r.disconnect()}},[l,a,s.disabled,t])}function MS(t){const l=S.useRef(null);return S.useImperativeHandle(t,()=>l.current,[]),l}function Lu(t){const l=Yt();return S.useCallback(a=>l.navigate({...a,from:a.from??t?.from}),[t?.from,l])}function tM(t){const l=Yt(),a=Lu(),s=S.useRef(null);return Bs(()=>{s.current!==t&&(a(t),s.current=t)},[l,t,a]),null}var vd={exports:{}},Rt={};var mm;function zS(){if(mm)return Rt;mm=1;var t=Ni();function l(g){var b="https://react.dev/errors/"+g;if(1<arguments.length){b+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)b+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+g+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var s={d:{f:a,r:function(){throw Error(l(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},r=Symbol.for("react.portal");function u(g,b,m){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:p==null?null:""+p,children:g,containerInfo:b,implementation:m}}var d=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(g,b){if(g==="font")return"";if(typeof b=="string")return b==="use-credentials"?b:""}return Rt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Rt.createPortal=function(g,b){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!b||b.nodeType!==1&&b.nodeType!==9&&b.nodeType!==11)throw Error(l(299));return u(g,b,null,m)},Rt.flushSync=function(g){var b=d.T,m=s.p;try{if(d.T=null,s.p=2,g)return g()}finally{d.T=b,s.p=m,s.d.f()}},Rt.preconnect=function(g,b){typeof g=="string"&&(b?(b=b.crossOrigin,b=typeof b=="string"?b==="use-credentials"?b:"":void 0):b=null,s.d.C(g,b))},Rt.prefetchDNS=function(g){typeof g=="string"&&s.d.D(g)},Rt.preinit=function(g,b){if(typeof g=="string"&&b&&typeof b.as=="string"){var m=b.as,p=h(m,b.crossOrigin),v=typeof b.integrity=="string"?b.integrity:void 0,_=typeof b.fetchPriority=="string"?b.fetchPriority:void 0;m==="style"?s.d.S(g,typeof b.precedence=="string"?b.precedence:void 0,{crossOrigin:p,integrity:v,fetchPriority:_}):m==="script"&&s.d.X(g,{crossOrigin:p,integrity:v,fetchPriority:_,nonce:typeof b.nonce=="string"?b.nonce:void 0})}},Rt.preinitModule=function(g,b){if(typeof g=="string")if(typeof b=="object"&&b!==null){if(b.as==null||b.as==="script"){var m=h(b.as,b.crossOrigin);s.d.M(g,{crossOrigin:m,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0})}}else b==null&&s.d.M(g)},Rt.preload=function(g,b){if(typeof g=="string"&&typeof b=="object"&&b!==null&&typeof b.as=="string"){var m=b.as,p=h(m,b.crossOrigin);s.d.L(g,m,{crossOrigin:p,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0,type:typeof b.type=="string"?b.type:void 0,fetchPriority:typeof b.fetchPriority=="string"?b.fetchPriority:void 0,referrerPolicy:typeof b.referrerPolicy=="string"?b.referrerPolicy:void 0,imageSrcSet:typeof b.imageSrcSet=="string"?b.imageSrcSet:void 0,imageSizes:typeof b.imageSizes=="string"?b.imageSizes:void 0,media:typeof b.media=="string"?b.media:void 0})}},Rt.preloadModule=function(g,b){if(typeof g=="string")if(b){var m=h(b.as,b.crossOrigin);s.d.m(g,{as:typeof b.as=="string"&&b.as!=="script"?b.as:void 0,crossOrigin:m,integrity:typeof b.integrity=="string"?b.integrity:void 0})}else s.d.m(g)},Rt.requestFormReset=function(g){s.d.r(g)},Rt.unstable_batchedUpdates=function(g,b){return g(b)},Rt.useFormState=function(g,b,m){return d.H.useFormState(g,b,m)},Rt.useFormStatus=function(){return d.H.useHostTransitionStatus()},Rt.version="19.2.1",Rt}var ym;function X1(){if(ym)return vd.exports;ym=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(l){console.error(l)}}return t(),vd.exports=zS(),vd.exports}var pl=X1();function DS(t,l){const a=Yt(),[s,r]=S.useState(!1),u=S.useRef(!1),d=MS(l),{activeProps:h,inactiveProps:g,activeOptions:b,to:m,preload:p,preloadDelay:v,hashScrollIntoView:_,replace:C,startTransition:E,resetScroll:x,viewTransition:R,children:O,target:L,disabled:j,style:U,className:P,onClick:M,onFocus:N,onMouseEnter:J,onMouseLeave:ee,onTouchStart:z,ignoreBlocker:K,params:I,search:G,hash:le,state:T,mask:F,reloadDocument:q,unsafeRelative:ae,from:de,_fromLocation:w,...Q}=t,ne=Dt({select:Oe=>Oe.location.search,structuralSharing:!0}),se=t.from,re=S.useMemo(()=>({...t,from:se}),[a,ne,se,t._fromLocation,t.hash,t.to,t.search,t.params,t.state,t.mask,t.unsafeRelative]),oe=S.useMemo(()=>a.buildLocation({...re}),[a,re]),ue=S.useMemo(()=>{if(j)return;let Oe=oe.maskedLocation?oe.maskedLocation.url:oe.url,Se=!1;return a.origin&&(Oe.startsWith(a.origin)?Oe=a.history.createHref(Oe.replace(a.origin,""))||"/":Se=!0),{href:Oe,external:Se}},[j,oe.maskedLocation,oe.url,a.origin,a.history]),we=S.useMemo(()=>{if(ue?.external)return ue.href;try{return new URL(m),m}catch{}},[m,ue]),ye=t.reloadDocument||we?!1:p??a.options.defaultPreload,Ke=v??a.options.defaultPreloadDelay??0,ie=Dt({select:Oe=>{if(we)return!1;if(b?.exact){if(!F0(Oe.location.pathname,oe.pathname,a.basepath))return!1}else{const Se=hu(Oe.location.pathname,a.basepath),ct=hu(oe.pathname,a.basepath);if(!(Se.startsWith(ct)&&(Se.length===ct.length||Se[ct.length]==="/")))return!1}return(b?.includeSearch??!0)&&!Aa(Oe.location.search,oe.search,{partial:!b?.exact,ignoreUndefined:!b?.explicitUndefined})?!1:b?.includeHash?Oe.location.hash===oe.hash:!0}}),pe=S.useCallback(()=>{a.preloadRoute({...re}).catch(Oe=>{console.warn(Oe),console.warn(yS)})},[a,re]),ge=S.useCallback(Oe=>{Oe?.isIntersecting&&pe()},[pe]);OS(d,ge,jS,{disabled:!!j||ye!=="viewport"}),S.useEffect(()=>{u.current||!j&&ye==="render"&&(pe(),u.current=!0)},[j,pe,ye]);const Ye=Oe=>{const Se=Oe.currentTarget.getAttribute("target"),ct=L!==void 0?L:Se;if(!j&&!US(Oe)&&!Oe.defaultPrevented&&(!ct||ct==="_self")&&Oe.button===0){Oe.preventDefault(),pl.flushSync(()=>{r(!0)});const Ln=a.subscribe("onResolved",()=>{Ln(),r(!1)});a.navigate({...re,replace:C,resetScroll:x,hashScrollIntoView:_,startTransition:E,viewTransition:R,ignoreBlocker:K})}};if(we)return{...Q,ref:d,href:we,...O&&{children:O},...L&&{target:L},...j&&{disabled:j},...U&&{style:U},...P&&{className:P},...M&&{onClick:M},...N&&{onFocus:N},...J&&{onMouseEnter:J},...ee&&{onMouseLeave:ee},...z&&{onTouchStart:z}};const _e=Oe=>{j||ye&&pe()},je=_e,Ie=Oe=>{if(!(j||!ye))if(!Ke)pe();else{const Se=Oe.target;if(Ns.has(Se))return;const ct=setTimeout(()=>{Ns.delete(Se),pe()},Ke);Ns.set(Se,ct)}},Dn=Oe=>{if(j||!ye||!Ke)return;const Se=Oe.target,ct=Ns.get(Se);ct&&(clearTimeout(ct),Ns.delete(Se))},Gt=ie?Kl(h,{})??LS:_d,ut=ie?_d:Kl(g,{})??_d,Be=[P,Gt.className,ut.className].filter(Boolean).join(" "),Lt=(U||Gt.style||ut.style)&&{...U,...Gt.style,...ut.style};return{...Q,...Gt,...ut,href:ue?.href,ref:d,onClick:$s([M,Ye]),onFocus:$s([N,_e]),onMouseEnter:$s([J,Ie]),onMouseLeave:$s([ee,Dn]),onTouchStart:$s([z,je]),disabled:!!j,target:L,...Lt&&{style:Lt},...Be&&{className:Be},...j&&PS,...ie&&NS,...s&&$S}}const _d={},LS={className:"active"},PS={role:"link","aria-disabled":!0},NS={"data-status":"active","aria-current":"page"},$S={"data-transitioning":"transitioning"},Ns=new WeakMap,jS={rootMargin:"100px"},$s=t=>l=>{for(const a of t)if(a){if(l.defaultPrevented)return;a(l)}},Gs=S.forwardRef((t,l)=>{const{_asChild:a,...s}=t,{type:r,ref:u,...d}=DS(s,l),h=typeof s.children=="function"?s.children({isActive:d["data-status"]==="active"}):s.children;return a===void 0&&delete d.disabled,S.createElement(a||"a",{...d,ref:u},h)});function US(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}let qS=class extends Y1{constructor(l){super(l),this.useMatch=a=>Vn({select:a?.select,from:this.id,structuralSharing:a?.structuralSharing}),this.useRouteContext=a=>Vn({...a,from:this.id,select:s=>a?.select?a.select(s.context):s.context}),this.useSearch=a=>Rh({select:a?.select,structuralSharing:a?.structuralSharing,from:this.id}),this.useParams=a=>xh({select:a?.select,structuralSharing:a?.structuralSharing,from:this.id}),this.useLoaderDeps=a=>Eh({...a,from:this.id}),this.useLoaderData=a=>Ch({...a,from:this.id}),this.useNavigate=()=>Lu({from:this.fullPath}),this.Link=ot.forwardRef((a,s)=>Z.jsx(Gs,{ref:s,from:this.fullPath,...a})),this.$$typeof=Symbol.for("react.memo")}};function HS(t){return new qS(t)}function BS(){return t=>FS(t)}class VS extends vS{constructor(l){super(l),this.useMatch=a=>Vn({select:a?.select,from:this.id,structuralSharing:a?.structuralSharing}),this.useRouteContext=a=>Vn({...a,from:this.id,select:s=>a?.select?a.select(s.context):s.context}),this.useSearch=a=>Rh({select:a?.select,structuralSharing:a?.structuralSharing,from:this.id}),this.useParams=a=>xh({select:a?.select,structuralSharing:a?.structuralSharing,from:this.id}),this.useLoaderDeps=a=>Eh({...a,from:this.id}),this.useLoaderData=a=>Ch({...a,from:this.id}),this.useNavigate=()=>Lu({from:this.fullPath}),this.Link=ot.forwardRef((a,s)=>Z.jsx(Gs,{ref:s,from:this.fullPath,...a})),this.$$typeof=Symbol.for("react.memo")}}function FS(t){return new VS(t)}function rt(t){return typeof t=="object"?new vm(t,{silent:!0}).createRoute(t):new vm(t,{silent:!0}).createRoute}class vm{constructor(l,a){this.path=l,this.createRoute=s=>{this.silent;const r=HS(s);return r.isRoot=!1,r},this.silent=a?.silent}}class _m{constructor(l){this.useMatch=a=>Vn({select:a?.select,from:this.options.id,structuralSharing:a?.structuralSharing}),this.useRouteContext=a=>Vn({from:this.options.id,select:s=>a?.select?a.select(s.context):s.context}),this.useSearch=a=>Rh({select:a?.select,structuralSharing:a?.structuralSharing,from:this.options.id}),this.useParams=a=>xh({select:a?.select,structuralSharing:a?.structuralSharing,from:this.options.id}),this.useLoaderDeps=a=>Eh({...a,from:this.options.id}),this.useLoaderData=a=>Ch({...a,from:this.options.id}),this.useNavigate=()=>{const a=Yt();return Lu({from:a.routesById[this.options.id].fullPath})},this.options=l,this.$$typeof=Symbol.for("react.memo")}}function km(t){return typeof t=="object"?new _m(t):l=>new _m({id:t,...l})}function kt(t,l){let a,s,r,u;const d=()=>(a||(a=t().then(g=>{a=void 0,s=g[l]}).catch(g=>{if(r=g,A0(r)&&r instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const b=`tanstack_router_reload:${r.message}`;sessionStorage.getItem(b)||(sessionStorage.setItem(b,"1"),u=!0)}})),a),h=function(b){if(u)throw window.location.reload(),new Promise(()=>{});if(r)throw r;if(!s)throw d();return S.createElement(s,b)};return h.preload=d,h}function IS(){const t=Yt(),l=S.useRef({router:t,mounted:!1}),[a,s]=S.useState(!1),{hasPendingMatches:r,isLoading:u}=Dt({select:p=>({isLoading:p.isLoading,hasPendingMatches:p.matches.some(v=>v.status==="pending")}),structuralSharing:!0}),d=yd(u),h=u||a||r,g=yd(h),b=u||r,m=yd(b);return t.startTransition=p=>{s(!0),S.startTransition(()=>{p(),s(!1)})},S.useEffect(()=>{const p=t.history.subscribe(t.load),v=t.buildLocation({to:t.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Oa(t.latestLocation.href)!==Oa(v.href)&&t.commitLocation({...v,replace:!0}),()=>{p()}},[t,t.history]),Bs(()=>{if(typeof window<"u"&&t.ssr||l.current.router===t&&l.current.mounted)return;l.current={router:t,mounted:!0},(async()=>{try{await t.load()}catch(v){console.error(v)}})()},[t]),Bs(()=>{d&&!u&&t.emit({type:"onLoad",...Ma(t.state)})},[d,t,u]),Bs(()=>{m&&!b&&t.emit({type:"onBeforeRouteMount",...Ma(t.state)})},[b,m,t]),Bs(()=>{if(g&&!h){const p=Ma(t.state);t.emit({type:"onResolved",...p}),t.__store.setState(v=>({...v,status:"idle",resolvedLocation:v.location})),p.hrefChanged&&J0(t)}},[h,g,t]),null}function YS(t){const l=Dt({select:a=>`not-found-${a.location.pathname}-${a.status}`});return Z.jsx(Sh,{getResetKey:()=>l,onCatch:(a,s)=>{if(Sn(a))t.onCatch?.(a,s);else throw a},errorComponent:({error:a})=>{if(Sn(a))return t.fallback?.(a);throw a},children:t.children})}function GS(){return Z.jsx("p",{children:"Not Found"})}function Ei(t){return Z.jsx(Z.Fragment,{children:t.children})}function Z1(t,l,a){return l.options.notFoundComponent?Z.jsx(l.options.notFoundComponent,{...a}):t.options.defaultNotFoundComponent?Z.jsx(t.options.defaultNotFoundComponent,{...a}):Z.jsx(GS,{})}function QS({children:t}){const l=Yt();return l.isServer?Z.jsx("script",{nonce:l.options.ssr?.nonce,className:"$tsr",dangerouslySetInnerHTML:{__html:t+';typeof $_TSR !== "undefined" && $_TSR.c()'}}):null}function KS(){const t=Yt();if(!t.isScrollRestoring||!t.isServer||typeof t.options.scrollRestoration=="function"&&!t.options.scrollRestoration({location:t.latestLocation}))return null;const a=(t.options.getScrollRestorationKey||jd)(t.latestLocation),s=a!==jd(t.latestLocation)?a:void 0,r={storageKey:gu,shouldScrollRestoration:!0};return s&&(r.key=s),Z.jsx(QS,{children:`(${N1.toString()})(${JSON.stringify(r)})`})}const J1=S.memo(function({matchId:l}){const a=Yt(),s=Dt({select:R=>{const O=R.matches.find(L=>L.id===l);return bl(O),{routeId:O.routeId,ssr:O.ssr,_displayPending:O._displayPending}},structuralSharing:!0}),r=a.routesById[s.routeId],u=r.options.pendingComponent??a.options.defaultPendingComponent,d=u?Z.jsx(u,{}):null,h=r.options.errorComponent??a.options.defaultErrorComponent,g=r.options.onCatch??a.options.defaultOnCatch,b=r.isRoot?r.options.notFoundComponent??a.options.notFoundRoute?.options.component:r.options.notFoundComponent,m=s.ssr===!1||s.ssr==="data-only",p=(!r.isRoot||r.options.wrapInSuspense||m)&&(r.options.wrapInSuspense??u??(r.options.errorComponent?.preload||m))?S.Suspense:Ei,v=h?Sh:Ei,_=b?YS:Ei,C=Dt({select:R=>R.loadedAt}),E=Dt({select:R=>{const O=R.matches.findIndex(L=>L.id===l);return R.matches[O-1]?.routeId}}),x=r.isRoot?r.options.shellComponent??Ei:Ei;return Z.jsxs(x,{children:[Z.jsx(Du.Provider,{value:l,children:Z.jsx(p,{fallback:d,children:Z.jsx(v,{getResetKey:()=>C,errorComponent:h||zu,onCatch:(R,O)=>{if(Sn(R))throw R;g?.(R,O)},children:Z.jsx(_,{fallback:R=>{if(!b||R.routeId&&R.routeId!==s.routeId||!R.routeId&&!r.isRoot)throw R;return S.createElement(b,R)},children:m||s._displayPending?Z.jsx(kS,{fallback:d,children:Z.jsx(Sm,{matchId:l})}):Z.jsx(Sm,{matchId:l})})})})}),E===tn&&a.options.scrollRestoration?Z.jsxs(Z.Fragment,{children:[Z.jsx(XS,{}),Z.jsx(KS,{})]}):null]})});function XS(){const t=Yt(),l=S.useRef(void 0);return Z.jsx("script",{suppressHydrationWarning:!0,ref:a=>{a&&(l.current===void 0||l.current.href!==t.latestLocation.href)&&(t.emit({type:"onRendered",...Ma(t.state)}),l.current=t.latestLocation)}},t.latestLocation.state.__TSR_key)}const Sm=S.memo(function({matchId:l}){const a=Yt(),{match:s,key:r,routeId:u}=Dt({select:g=>{const b=g.matches.find(C=>C.id===l),m=b.routeId,v=(a.routesById[m].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:m,loaderDeps:b.loaderDeps,params:b._strictParams,search:b._strictSearch});return{key:v?JSON.stringify(v):void 0,routeId:m,match:{id:b.id,status:b.status,error:b.error,_forcePending:b._forcePending,_displayPending:b._displayPending}}},structuralSharing:!0}),d=a.routesById[u],h=S.useMemo(()=>{const g=d.options.component??a.options.defaultComponent;return g?Z.jsx(g,{},r):Z.jsx(W1,{})},[r,d.options.component,a.options.defaultComponent]);if(s._displayPending)throw a.getMatch(s.id)?._nonReactive.displayPendingPromise;if(s._forcePending)throw a.getMatch(s.id)?._nonReactive.minPendingPromise;if(s.status==="pending"){const g=d.options.pendingMinMs??a.options.defaultPendingMinMs;if(g){const b=a.getMatch(s.id);if(b&&!b._nonReactive.minPendingPromise&&!a.isServer){const m=Ai();b._nonReactive.minPendingPromise=m,setTimeout(()=>{m.resolve(),b._nonReactive.minPendingPromise=void 0},g)}}throw a.getMatch(s.id)?._nonReactive.loadPromise}if(s.status==="notFound")return bl(Sn(s.error)),Z1(a,d,s.error);if(s.status==="redirected")throw bl(On(s.error)),a.getMatch(s.id)?._nonReactive.loadPromise;if(s.status==="error"){if(a.isServer){const g=(d.options.errorComponent??a.options.defaultErrorComponent)||zu;return Z.jsx(g,{error:s.error,reset:void 0,info:{componentStack:""}})}throw s.error}return h}),W1=S.memo(function(){const l=Yt(),a=S.useContext(Du),s=Dt({select:b=>b.matches.find(m=>m.id===a)?.routeId}),r=l.routesById[s],u=Dt({select:b=>{const p=b.matches.find(v=>v.id===a);return bl(p),p.globalNotFound}}),d=Dt({select:b=>{const m=b.matches,p=m.findIndex(v=>v.id===a);return m[p+1]?.id}}),h=l.options.defaultPendingComponent?Z.jsx(l.options.defaultPendingComponent,{}):null;if(u)return Z1(l,r,void 0);if(!d)return null;const g=Z.jsx(J1,{matchId:d});return s===tn?Z.jsx(S.Suspense,{fallback:h,children:g}):g});function ZS(){const t=Yt(),a=t.routesById[tn].options.pendingComponent??t.options.defaultPendingComponent,s=a?Z.jsx(a,{}):null,r=t.isServer||typeof document<"u"&&t.ssr?Ei:S.Suspense,u=Z.jsxs(r,{fallback:s,children:[!t.isServer&&Z.jsx(IS,{}),Z.jsx(JS,{})]});return t.options.InnerWrap?Z.jsx(t.options.InnerWrap,{children:u}):u}function JS(){const t=Yt(),l=Dt({select:r=>r.matches[0]?.id}),a=Dt({select:r=>r.loadedAt}),s=l?Z.jsx(J1,{matchId:l}):null;return Z.jsx(Du.Provider,{value:l,children:t.options.disableGlobalCatchBoundary?s:Z.jsx(Sh,{getResetKey:()=>a,errorComponent:zu,onCatch:r=>{r.message||r.toString()},children:s})})}function lM(t){return Dt({select:l=>l.matches,structuralSharing:t?.structuralSharing})}const WS=t=>new eC(t);class eC extends hS{constructor(l){super(l)}}typeof globalThis<"u"?(globalThis.createFileRoute=rt,globalThis.createLazyFileRoute=km):typeof window<"u"&&(window.createFileRoute=rt,window.createLazyFileRoute=km);function tC({router:t,children:l,...a}){Object.keys(a).length>0&&t.update({...t.options,...a,context:{...t.options.context,...a.context}});const s=K1(),r=Z.jsx(s.Provider,{value:t,children:l});return t.options.Wrap?Z.jsx(t.options.Wrap,{children:r}):r}function nC({router:t,...l}){return Z.jsx(tC,{router:t,...l,children:Z.jsx(ZS,{})})}const Cm={};function Fn(t,l){const a=S.useRef(Cm);return a.current===Cm&&(a.current=t(l)),a}const kd=kh[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],lC=kd&&kd!==S.useLayoutEffect?kd:t=>t();function Te(t){const l=Fn(aC).current;return l.next=t,lC(l.effect),l.trampoline}function aC(){const t={next:void 0,callback:iC,trampoline:(...l)=>t.callback?.(...l),effect:()=>{t.callback=t.next}};return t}function iC(){}const sC=()=>{},Le=typeof document<"u"?S.useLayoutEffect:sC,oC=S.createContext(void 0);function ey(){return S.useContext(oC)?.direction??"ltr"}function $i(t,...l){const a=new URL(`https://base-ui.com/production-error/${t}`);return l.forEach(s=>a.searchParams.append("args[]",s)),`Base UI error #${t}; visit ${a} for the full message.`}function Em(t,l,a,s){const r=Fn(ty).current;return uC(r,t,l,a,s)&&ny(r,[t,l,a,s]),r.callback}function rC(t){const l=Fn(ty).current;return cC(l,t)&&ny(l,t),l.callback}function ty(){return{callback:null,cleanup:null,refs:[]}}function uC(t,l,a,s,r){return t.refs[0]!==l||t.refs[1]!==a||t.refs[2]!==s||t.refs[3]!==r}function cC(t,l){return t.refs.length!==l.length||t.refs.some((a,s)=>a!==l[s])}function ny(t,l){if(t.refs=l,l.every(a=>a==null)){t.callback=null;return}t.callback=a=>{if(t.cleanup&&(t.cleanup(),t.cleanup=null),a!=null){const s=Array(l.length).fill(null);for(let r=0;r<l.length;r+=1){const u=l[r];if(u!=null)switch(typeof u){case"function":{const d=u(a);typeof d=="function"&&(s[r]=d);break}case"object":{u.current=a;break}}}t.cleanup=()=>{for(let r=0;r<l.length;r+=1){const u=l[r];if(u!=null)switch(typeof u){case"function":{const d=s[r];typeof d=="function"?d():u(null);break}case"object":{u.current=null;break}}}}}}}const fC=parseInt(S.version,10);function ly(t){return fC>=t}function xm(t){if(!S.isValidElement(t))return null;const l=t,a=l.props;return(ly(19)?a?.ref:l.ref)??null}function qd(t,l){if(t&&!l)return t;if(!t&&l)return l;if(t||l)return{...t,...l}}function dC(t,l){const a={};for(const s in t){const r=t[s];if(l?.hasOwnProperty(s)){const u=l[s](r);u!=null&&Object.assign(a,u);continue}r===!0?a[`data-${s.toLowerCase()}`]="":r&&(a[`data-${s.toLowerCase()}`]=r.toString())}return a}function hC(t,l){return typeof t=="function"?t(l):t}function gC(t,l){return typeof t=="function"?t(l):t}const Qs={};function bC(t,l,a,s,r){let u={...Hd(t,Qs)};return l&&(u=lu(u,l)),a&&(u=lu(u,a)),s&&(u=lu(u,s)),u}function pC(t){if(t.length===0)return Qs;if(t.length===1)return Hd(t[0],Qs);let l={...Hd(t[0],Qs)};for(let a=1;a<t.length;a+=1)l=lu(l,t[a]);return l}function lu(t,l){return ay(l)?l(t):mC(t,l)}function mC(t,l){if(!l)return t;for(const a in l){const s=l[a];switch(a){case"style":{t[a]=qd(t.style,s);break}case"className":{t[a]=iy(t.className,s);break}default:yC(a,s)?t[a]=vC(t[a],s):t[a]=s}}return t}function yC(t,l){const a=t.charCodeAt(0),s=t.charCodeAt(1),r=t.charCodeAt(2);return a===111&&s===110&&r>=65&&r<=90&&(typeof l=="function"||typeof l>"u")}function ay(t){return typeof t=="function"}function Hd(t,l){return ay(t)?t(l):t??Qs}function vC(t,l){return l?t?a=>{if(kC(a)){const r=a;_C(r);const u=l(r);return r.baseUIHandlerPrevented||t?.(r),u}const s=l(a);return t?.(a),s}:l:t}function _C(t){return t.preventBaseUIHandler=()=>{t.baseUIHandlerPrevented=!0},t}function iy(t,l){return l?t?l+" "+t:l:t}function kC(t){return t!=null&&typeof t=="object"&&"nativeEvent"in t}function SC(){}const aM=Object.freeze([]),Vt=Object.freeze({}),iM=500,sM=500,CC={style:{transition:"none"}},oM="data-base-ui-click-trigger",rM={fallbackAxisSide:"none"},EC={fallbackAxisSide:"end"},xC={clipPath:"inset(50%)",position:"fixed",top:0,left:0};function uo(t,l,a={}){const s=l.render,r=RC(l,a);if(a.enabled===!1)return null;const u=a.state??Vt;return TC(t,s,r,u)}function RC(t,l={}){const{className:a,style:s,render:r}=t,{state:u=Vt,ref:d,props:h,stateAttributesMapping:g,enabled:b=!0}=l,m=b?hC(a,u):void 0,p=b?gC(s,u):void 0,v=b?dC(u,g):Vt,_=b?qd(v,Array.isArray(h)?pC(h):h)??Vt:Vt;return typeof document<"u"&&(b?Array.isArray(d)?_.ref=rC([_.ref,xm(r),...d]):_.ref=Em(_.ref,xm(r),d):Em(null,null)),b?(m!==void 0&&(_.className=iy(_.className,m)),p!==void 0&&(_.style=qd(_.style,p)),_):Vt}function TC(t,l,a,s){if(l){if(typeof l=="function")return l(a,s);const r=bC(a,l.props);return r.ref=a.ref,S.cloneElement(l,r)}if(t&&typeof t=="string")return wC(t,a);throw new Error($i(8))}function wC(t,l){return t==="button"?S.createElement("button",{type:"button",...l,key:l.key}):t==="img"?S.createElement("img",{alt:"",...l,key:l.key}):S.createElement(t,l)}const Th="none",mu="trigger-press",hl="trigger-hover",Bd="trigger-focus",AC="outside-press",uM="item-press",cM="close-press",fM="clear-press",dM="track-press",hM="input-change",gM="input-clear",OC="focus-out",wh="escape-key",bM="list-navigation",pM="keyboard",mM="drag",yM="cancel-open",vM="sibling-open",MC="disabled",zC="imperative-action";function ht(t,l,a,s){let r=!1,u=!1;const d=s??Vt;return{reason:t,event:l??new Event("base-ui"),cancel(){r=!0},allowPropagation(){u=!0},get isCanceled(){return r},get isPropagationAllowed(){return u},trigger:a,...d}}function _M(t,l,a){const s=a??Vt;return{reason:t,event:l??new Event("base-ui"),...s}}const DC={...kh};let Rm=0;function LC(t,l="mui"){const[a,s]=S.useState(t),r=t||a;return S.useEffect(()=>{a==null&&(Rm+=1,s(`${l}-${Rm}`))},[a,l]),r}const Tm=DC.useId;function co(t,l){if(Tm!==void 0){const a=Tm();return t??(l?`${l}-${a}`:a)}return LC(t,l)}function PC(t){return co(t,"base-ui")}const NC=[];function sy(t){S.useEffect(t,NC)}const qr=null;class $C{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=l=>{this.isScheduled=!1;const a=this.callbacks,s=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,s>0)for(let r=0;r<a.length;r+=1)a[r]?.(l)};request(l){const a=this.nextId;return this.nextId+=1,this.callbacks.push(l),this.callbacksCount+=1,(!this.isScheduled||!1)&&(requestAnimationFrame(this.tick),this.isScheduled=!0),a}cancel(l){const a=l-this.startId;a<0||a>=this.callbacks.length||(this.callbacks[a]=null,this.callbacksCount-=1)}}const Hr=new $C;class dl{static create(){return new dl}static request(l){return Hr.request(l)}static cancel(l){return Hr.cancel(l)}currentId=qr;request(l){this.cancel(),this.currentId=Hr.request(()=>{this.currentId=qr,l()})}cancel=()=>{this.currentId!==qr&&(Hr.cancel(this.currentId),this.currentId=qr)};disposeEffect=()=>this.cancel}function oy(){const t=Fn(dl.create).current;return sy(t.disposeEffect),t}function jC(t){return t==null?t:"current"in t?t.current:t}function ry(t,l=!1,a=!0){const s=oy();return Te((r,u=null)=>{s.cancel();const d=jC(t);d!=null&&(typeof d.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED?r():s.request(()=>{function h(){d&&Promise.all(d.getAnimations().map(g=>g.finished)).then(()=>{u!=null&&u.aborted||pl.flushSync(r)}).catch(()=>{if(a){if(u!=null&&u.aborted)return;pl.flushSync(r)}else d.getAnimations().length>0&&d.getAnimations().some(g=>g.pending||g.playState!=="finished")&&h()})}l?s.request(h):h()}))})}function UC(t,l=!1,a=!1){const[s,r]=S.useState(t&&l?"idle":void 0),[u,d]=S.useState(t);return t&&!u&&(d(!0),r("starting")),!t&&u&&s!=="ending"&&!a&&r("ending"),!t&&!u&&s==="ending"&&r(void 0),Le(()=>{if(!t&&u&&s!=="ending"&&a){const h=dl.request(()=>{r("ending")});return()=>{dl.cancel(h)}}},[t,u,s,a]),Le(()=>{if(!t||l)return;const h=dl.request(()=>{r(void 0)});return()=>{dl.cancel(h)}},[l,t]),Le(()=>{if(!t||!l)return;t&&u&&s!=="idle"&&r("starting");const h=dl.request(()=>{r("idle")});return()=>{dl.cancel(h)}},[l,t,u,r,s]),S.useMemo(()=>({mounted:u,setMounted:d,transitionStatus:s}),[u,s])}let yu=(function(t){return t.startingStyle="data-starting-style",t.endingStyle="data-ending-style",t})({});const qC={[yu.startingStyle]:""},HC={[yu.endingStyle]:""},BC={transitionStatus(t){return t==="starting"?qC:t==="ending"?HC:null}};function Pu(){return typeof window<"u"}function ji(t){return Ah(t)?(t.nodeName||"").toLowerCase():"#document"}function wt(t){var l;return(t==null||(l=t.ownerDocument)==null?void 0:l.defaultView)||window}function In(t){var l;return(l=(Ah(t)?t.ownerDocument:t.document)||window.document)==null?void 0:l.documentElement}function Ah(t){return Pu()?t instanceof Node||t instanceof wt(t).Node:!1}function $e(t){return Pu()?t instanceof Element||t instanceof wt(t).Element:!1}function It(t){return Pu()?t instanceof HTMLElement||t instanceof wt(t).HTMLElement:!1}function Vd(t){return!Pu()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof wt(t).ShadowRoot}const VC=new Set(["inline","contents"]);function fo(t){const{overflow:l,overflowX:a,overflowY:s,display:r}=ln(t);return/auto|scroll|overlay|hidden|clip/.test(l+s+a)&&!VC.has(r)}const FC=new Set(["table","td","th"]);function IC(t){return FC.has(ji(t))}const YC=[":popover-open",":modal"];function Nu(t){return YC.some(l=>{try{return t.matches(l)}catch{return!1}})}const GC=["transform","translate","scale","rotate","perspective"],QC=["transform","translate","scale","rotate","perspective","filter"],KC=["paint","layout","strict","content"];function Oh(t){const l=$u(),a=$e(t)?ln(t):t;return GC.some(s=>a[s]?a[s]!=="none":!1)||(a.containerType?a.containerType!=="normal":!1)||!l&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!l&&(a.filter?a.filter!=="none":!1)||QC.some(s=>(a.willChange||"").includes(s))||KC.some(s=>(a.contain||"").includes(s))}function XC(t){let l=ml(t);for(;It(l)&&!gl(l);){if(Oh(l))return l;if(Nu(l))return null;l=ml(l)}return null}function $u(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ZC=new Set(["html","body","#document"]);function gl(t){return ZC.has(ji(t))}function ln(t){return wt(t).getComputedStyle(t)}function ju(t){return $e(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ml(t){if(ji(t)==="html")return t;const l=t.assignedSlot||t.parentNode||Vd(t)&&t.host||In(t);return Vd(l)?l.host:l}function uy(t){const l=ml(t);return gl(l)?t.ownerDocument?t.ownerDocument.body:t.body:It(l)&&fo(l)?l:uy(l)}function Wl(t,l,a){var s;l===void 0&&(l=[]),a===void 0&&(a=!0);const r=uy(t),u=r===((s=t.ownerDocument)==null?void 0:s.body),d=wt(r);if(u){const h=Fd(d);return l.concat(d,d.visualViewport||[],fo(r)?r:[],h&&a?Wl(h):[])}return l.concat(r,Wl(r,[],a))}function Fd(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}const ja=typeof navigator<"u",Sd=WC(),cy=tE(),Mh=eE(),kM=typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter:none"),SM=Sd.platform==="MacIntel"&&Sd.maxTouchPoints>1?!0:/iP(hone|ad|od)|iOS/.test(Sd.platform),CM=ja&&/firefox/i.test(Mh),fy=ja&&/apple/i.test(navigator.vendor),Id=ja&&/android/i.test(cy)||/android/i.test(Mh),JC=ja&&cy.toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints,dy=Mh.includes("jsdom/");function WC(){if(!ja)return{platform:"",maxTouchPoints:-1};const t=navigator.userAgentData;return t?.platform?{platform:t.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}function eE(){if(!ja)return"";const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(({brand:l,version:a})=>`${l}/${a}`).join(" "):navigator.userAgent}function tE(){if(!ja)return"";const t=navigator.userAgentData;return t?.platform?t.platform:navigator.platform??""}const Yd="data-base-ui-focusable",hy="active",gy="selected",by="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",EM="ArrowLeft",xM="ArrowRight",RM="ArrowUp",TM="ArrowDown";function Gd(t){let l=t.activeElement;for(;l?.shadowRoot?.activeElement!=null;)l=l.shadowRoot.activeElement;return l}function Tt(t,l){if(!t||!l)return!1;const a=l.getRootNode?.();if(t.contains(l))return!0;if(a&&Vd(a)){let s=l;for(;s;){if(t===s)return!0;s=s.parentNode||s.host}}return!1}function Hn(t){return"composedPath"in t?t.composedPath()[0]:t.target}function An(t,l){if(l==null)return!1;if("composedPath"in t)return t.composedPath().includes(l);const a=t;return a.target!=null&&l.contains(a.target)}function nE(t){return t.matches("html,body")}function zn(t){return t?.ownerDocument||document}function py(t){return It(t)&&t.matches(by)}function wM(t){return t?t.getAttribute("role")==="combobox"&&py(t):!1}function lE(t){if(!t||dy)return!0;try{return t.matches(":focus-visible")}catch{return!0}}function AM(t){return t?t.hasAttribute(Yd)?t:t.querySelector(`[${Yd}]`)||t:null}function Ks(t,l,a=!0){return t.filter(r=>r.parentId===l&&(!a||r.context?.open)).flatMap(r=>[r,...Ks(t,r.id,a)])}function OM(t,l){let a=[],s=t.find(r=>r.id===l)?.parentId;for(;s;){const r=t.find(u=>u.id===s);s=r?.parentId,r&&(a=a.concat(r))}return a}function MM(t){t.preventDefault(),t.stopPropagation()}function aE(t){return"nativeEvent"in t}function zM(t){return t.mozInputSource===0&&t.isTrusted?!0:Id&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function DM(t){return dy?!1:!Id&&t.width===0&&t.height===0||Id&&t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"||t.width<1&&t.height<1&&t.pressure===0&&t.detail===0&&t.pointerType==="touch"}function eo(t,l){const a=["mouse","pen"];return l||a.push("",void 0),a.includes(t)}function iE(t){const l=t.type;return l==="click"||l==="mousedown"||l==="keydown"||l==="keyup"}const sE=["top","right","bottom","left"],Mi=Math.min,nn=Math.max,zi=Math.round,Br=Math.floor,Bn=t=>({x:t,y:t}),oE={left:"right",right:"left",bottom:"top",top:"bottom"},rE={start:"end",end:"start"};function Qd(t,l,a){return nn(t,Mi(l,a))}function yl(t,l){return typeof t=="function"?t(l):t}function Ft(t){return t.split("-")[0]}function na(t){return t.split("-")[1]}function zh(t){return t==="x"?"y":"x"}function Dh(t){return t==="y"?"height":"width"}const uE=new Set(["top","bottom"]);function kn(t){return uE.has(Ft(t))?"y":"x"}function Lh(t){return zh(kn(t))}function cE(t,l,a){a===void 0&&(a=!1);const s=na(t),r=Lh(t),u=Dh(r);let d=r==="x"?s===(a?"end":"start")?"right":"left":s==="start"?"bottom":"top";return l.reference[u]>l.floating[u]&&(d=vu(d)),[d,vu(d)]}function fE(t){const l=vu(t);return[Kd(t),l,Kd(l)]}function Kd(t){return t.replace(/start|end/g,l=>rE[l])}const wm=["left","right"],Am=["right","left"],dE=["top","bottom"],hE=["bottom","top"];function gE(t,l,a){switch(t){case"top":case"bottom":return a?l?Am:wm:l?wm:Am;case"left":case"right":return l?dE:hE;default:return[]}}function bE(t,l,a,s){const r=na(t);let u=gE(Ft(t),a==="start",s);return r&&(u=u.map(d=>d+"-"+r),l&&(u=u.concat(u.map(Kd)))),u}function vu(t){return t.replace(/left|right|bottom|top/g,l=>oE[l])}function pE(t){return{top:0,right:0,bottom:0,left:0,...t}}function my(t){return typeof t!="number"?pE(t):{top:t,right:t,bottom:t,left:t}}function _u(t){const{x:l,y:a,width:s,height:r}=t;return{width:s,height:r,top:a,left:l,right:l+s,bottom:a+r,x:l,y:a}}var mE=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],ku=mE.join(","),yy=typeof Element>"u",Di=yy?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Su=!yy&&Element.prototype.getRootNode?function(t){var l;return t==null||(l=t.getRootNode)===null||l===void 0?void 0:l.call(t)}:function(t){return t?.ownerDocument},to=function(l,a){var s;a===void 0&&(a=!0);var r=l==null||(s=l.getAttribute)===null||s===void 0?void 0:s.call(l,"inert"),u=r===""||r==="true",d=u||a&&l&&to(l.parentNode);return d},yE=function(l){var a,s=l==null||(a=l.getAttribute)===null||a===void 0?void 0:a.call(l,"contenteditable");return s===""||s==="true"},vy=function(l,a,s){if(to(l))return[];var r=Array.prototype.slice.apply(l.querySelectorAll(ku));return a&&Di.call(l,ku)&&r.unshift(l),r=r.filter(s),r},Cu=function(l,a,s){for(var r=[],u=Array.from(l);u.length;){var d=u.shift();if(!to(d,!1))if(d.tagName==="SLOT"){var h=d.assignedElements(),g=h.length?h:d.children,b=Cu(g,!0,s);s.flatten?r.push.apply(r,b):r.push({scopeParent:d,candidates:b})}else{var m=Di.call(d,ku);m&&s.filter(d)&&(a||!l.includes(d))&&r.push(d);var p=d.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(d),v=!to(p,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(d));if(p&&v){var _=Cu(p===!0?d.children:p.children,!0,s);s.flatten?r.push.apply(r,_):r.push({scopeParent:d,candidates:_})}else u.unshift.apply(u,d.children)}}return r},_y=function(l){return!isNaN(parseInt(l.getAttribute("tabindex"),10))},ky=function(l){if(!l)throw new Error("No node provided");return l.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(l.tagName)||yE(l))&&!_y(l)?0:l.tabIndex},vE=function(l,a){var s=ky(l);return s<0&&a&&!_y(l)?0:s},_E=function(l,a){return l.tabIndex===a.tabIndex?l.documentOrder-a.documentOrder:l.tabIndex-a.tabIndex},Sy=function(l){return l.tagName==="INPUT"},kE=function(l){return Sy(l)&&l.type==="hidden"},SE=function(l){var a=l.tagName==="DETAILS"&&Array.prototype.slice.apply(l.children).some(function(s){return s.tagName==="SUMMARY"});return a},CE=function(l,a){for(var s=0;s<l.length;s++)if(l[s].checked&&l[s].form===a)return l[s]},EE=function(l){if(!l.name)return!0;var a=l.form||Su(l),s=function(h){return a.querySelectorAll('input[type="radio"][name="'+h+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=s(window.CSS.escape(l.name));else try{r=s(l.name)}catch(d){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",d.message),!1}var u=CE(r,l.form);return!u||u===l},xE=function(l){return Sy(l)&&l.type==="radio"},RE=function(l){return xE(l)&&!EE(l)},TE=function(l){var a,s=l&&Su(l),r=(a=s)===null||a===void 0?void 0:a.host,u=!1;if(s&&s!==l){var d,h,g;for(u=!!((d=r)!==null&&d!==void 0&&(h=d.ownerDocument)!==null&&h!==void 0&&h.contains(r)||l!=null&&(g=l.ownerDocument)!==null&&g!==void 0&&g.contains(l));!u&&r;){var b,m,p;s=Su(r),r=(b=s)===null||b===void 0?void 0:b.host,u=!!((m=r)!==null&&m!==void 0&&(p=m.ownerDocument)!==null&&p!==void 0&&p.contains(r))}}return u},Om=function(l){var a=l.getBoundingClientRect(),s=a.width,r=a.height;return s===0&&r===0},wE=function(l,a){var s=a.displayCheck,r=a.getShadowRoot;if(s==="full-native"&&"checkVisibility"in l){var u=l.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!u}if(getComputedStyle(l).visibility==="hidden")return!0;var d=Di.call(l,"details>summary:first-of-type"),h=d?l.parentElement:l;if(Di.call(h,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="full-native"||s==="legacy-full"){if(typeof r=="function"){for(var g=l;l;){var b=l.parentElement,m=Su(l);if(b&&!b.shadowRoot&&r(b)===!0)return Om(l);l.assignedSlot?l=l.assignedSlot:!b&&m!==l.ownerDocument?l=m.host:l=b}l=g}if(TE(l))return!l.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return Om(l);return!1},AE=function(l){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(l.tagName))for(var a=l.parentElement;a;){if(a.tagName==="FIELDSET"&&a.disabled){for(var s=0;s<a.children.length;s++){var r=a.children.item(s);if(r.tagName==="LEGEND")return Di.call(a,"fieldset[disabled] *")?!0:!r.contains(l)}return!0}a=a.parentElement}return!1},Xd=function(l,a){return!(a.disabled||to(a)||kE(a)||wE(a,l)||SE(a)||AE(a))},Zd=function(l,a){return!(RE(a)||ky(a)<0||!Xd(l,a))},OE=function(l){var a=parseInt(l.getAttribute("tabindex"),10);return!!(isNaN(a)||a>=0)},Cy=function(l){var a=[],s=[];return l.forEach(function(r,u){var d=!!r.scopeParent,h=d?r.scopeParent:r,g=vE(h,d),b=d?Cy(r.candidates):h;g===0?d?a.push.apply(a,b):a.push(h):s.push({documentOrder:u,tabIndex:g,item:r,isScope:d,content:b})}),s.sort(_E).reduce(function(r,u){return u.isScope?r.push.apply(r,u.content):r.push(u.content),r},[]).concat(a)},Ph=function(l,a){a=a||{};var s;return a.getShadowRoot?s=Cu([l],a.includeContainer,{filter:Zd.bind(null,a),flatten:!1,getShadowRoot:a.getShadowRoot,shadowRootFilter:OE}):s=vy(l,a.includeContainer,Zd.bind(null,a)),Cy(s)},LM=function(l,a){a=a||{};var s;return a.getShadowRoot?s=Cu([l],a.includeContainer,{filter:Xd.bind(null,a),flatten:!0,getShadowRoot:a.getShadowRoot}):s=vy(l,a.includeContainer,Xd.bind(null,a)),s},PM=function(l,a){if(a=a||{},!l)throw new Error("No node provided");return Di.call(l,ku)===!1?!1:Zd(a,l)};const Nh=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Ey(t,l){const a=Ph(t,Nh()),s=a.length;if(s===0)return;const r=Gd(zn(t)),u=a.indexOf(r),d=u===-1?l===1?0:s-1:u+l;return a[d]}function ME(t){return Ey(zn(t).body,1)||t}function zE(t){return Ey(zn(t).body,-1)||t}function xy(t,l){if(!t)return null;const a=Ph(zn(t).body,Nh()),s=a.length;if(s===0)return null;const r=a.indexOf(t);if(r===-1)return null;const u=(r+l+s)%s;return a[u]}function NM(t){return xy(t,1)}function $M(t){return xy(t,-1)}function Cd(t,l){const a=l||t.currentTarget,s=t.relatedTarget;return!s||!Tt(a,s)}function DE(t){Ph(t,Nh()).forEach(a=>{a.dataset.tabindex=a.getAttribute("tabindex")||"",a.setAttribute("tabindex","-1")})}function Mm(t){t.querySelectorAll("[data-tabindex]").forEach(a=>{const s=a.dataset.tabindex;delete a.dataset.tabindex,s?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")})}function za(t){const l=Fn(LE,t).current;return l.next=t,Le(l.effect),l}function LE(t){const l={current:t,next:t,effect:()=>{l.current=l.next}};return l}function Ry(t){const{enabled:l=!0,open:a,ref:s,onComplete:r}=t,u=za(a),d=Te(r),h=ry(s,a);S.useEffect(()=>{l&&h(()=>{a===u.current&&d()})},[l,a,d,h,u])}function Ty(t){return t?.ownerDocument||document}const js=0;class Ui{static create(){return new Ui}currentId=js;start(l,a){this.clear(),this.currentId=setTimeout(()=>{this.currentId=js,a()},l)}isStarted(){return this.currentId!==js}clear=()=>{this.currentId!==js&&(clearTimeout(this.currentId),this.currentId=js)};disposeEffect=()=>this.clear}function Li(){const t=Fn(Ui.create).current;return sy(t.disposeEffect),t}function wy(){const t=new Map;return{emit(l,a){t.get(l)?.forEach(s=>s(a))},on(l,a){t.has(l)||t.set(l,new Set),t.get(l).add(a)},off(l,a){t.get(l)?.delete(a)}}}class PE{nodesRef={current:[]};events=wy();addNode(l){this.nodesRef.current.push(l)}removeNode(l){const a=this.nodesRef.current.findIndex(s=>s===l);a!==-1&&this.nodesRef.current.splice(a,1)}}const Ay=S.createContext(null),Oy=S.createContext(null),ho=()=>S.useContext(Ay)?.id||null,go=t=>{const l=S.useContext(Oy);return t??l};function jM(t){const l=co(),a=go(t),s=ho();return Le(()=>{if(!l)return;const r={id:l,parentId:s};return a?.addNode(r),()=>{a?.removeNode(r)}},[a,l,s]),l}function UM(t){const{children:l,id:a}=t,s=ho();return Z.jsx(Ay.Provider,{value:S.useMemo(()=>({id:a,parentId:s}),[a,s]),children:l})}function qM(t){const{children:l,externalTree:a}=t,s=Fn(()=>a??new PE).current;return Z.jsx(Oy.Provider,{value:s,children:l})}function Uu(t){return`data-base-ui-${t}`}function au(t,l,a){if(a&&!eo(a))return 0;if(typeof t=="number")return t;if(typeof t=="function"){const s=t();return typeof s=="number"?s:s?.[l]}return t?.[l]}const My=S.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new Ui,currentIdRef:{current:null},currentContextRef:{current:null}});function NE(t){const{children:l,delay:a,timeoutMs:s=0}=t,r=S.useRef(a),u=S.useRef(a),d=S.useRef(null),h=S.useRef(null),g=Li();return Z.jsx(My.Provider,{value:S.useMemo(()=>({hasProvider:!0,delayRef:r,initialDelayRef:u,currentIdRef:d,timeoutMs:s,currentContextRef:h,timeout:g}),[s,g]),children:l})}function $E(t,l={open:!1}){const a="rootStore"in t?t.rootStore:t,s=a.useState("floatingId"),{enabled:r=!0,open:u}=l,d=S.useContext(My),{currentIdRef:h,delayRef:g,timeoutMs:b,initialDelayRef:m,currentContextRef:p,hasProvider:v,timeout:_}=d,[C,E]=S.useState(!1);return Le(()=>{function x(){E(!1),p.current?.setIsInstantPhase(!1),h.current=null,p.current=null,g.current=m.current}if(r&&h.current&&!u&&h.current===s){if(E(!1),b){const R=s;return _.start(b,()=>{a.select("open")||h.current&&h.current!==R||x()}),()=>{_.clear()}}x()}},[r,u,s,h,g,b,m,p,_,a]),Le(()=>{if(!r||!u)return;const x=p.current,R=h.current;_.clear(),p.current={onOpenChange:a.setOpen,setIsInstantPhase:E},h.current=s,g.current={open:0,close:au(m.current,"close")},R!==null&&R!==s?(E(!0),x?.setIsInstantPhase(!0),x?.onOpenChange(!1,ht(Th))):(E(!1),x?.setIsInstantPhase(!1))},[r,u,s,a,h,g,b,m,p,_]),Le(()=>()=>{p.current=null},[p]),S.useMemo(()=>({hasProvider:v,delayRef:g,isInstantPhase:C}),[v,g,C])}const jE={clip:"rect(0 0 0 0)",overflow:"hidden",whiteSpace:"nowrap",position:"fixed",top:0,left:0,border:0,padding:0,width:1,height:1,margin:-1},zm=S.forwardRef(function(l,a){const[s,r]=S.useState();Le(()=>{fy&&r("button")},[]);const u={tabIndex:0,role:s};return Z.jsx("span",{...l,ref:a,style:jE,"aria-hidden":s?void 0:!0,...u,"data-base-ui-focus-guard":""})}),zy=S.createContext(null),UE=()=>S.useContext(zy),qE=Uu("portal");function Dy(t={}){const{ref:l,container:a,componentProps:s=Vt,elementProps:r,elementState:u}=t,d=co(),g=UE()?.portalNode,[b,m]=S.useState(null),[p,v]=S.useState(null),_=S.useRef(null);Le(()=>{if(a===null){_.current&&(_.current=null,v(null),m(null));return}if(d==null)return;const x=(a&&(Ah(a)?a:a.current))??g??document.body;if(x==null){_.current&&(_.current=null,v(null),m(null));return}_.current!==x&&(_.current=x,v(null),m(x))},[a,g,d]);const C=uo("div",s,{ref:[l,v],state:u,props:[{id:d,[qE]:""},r]});return{portalNode:p,portalSubtree:b&&C?pl.createPortal(C,b):null}}const HM=S.forwardRef(function(l,a){const{children:s,container:r,className:u,render:d,renderGuards:h,...g}=l,{portalNode:b,portalSubtree:m}=Dy({container:r,ref:a,componentProps:l,elementProps:g}),p=S.useRef(null),v=S.useRef(null),_=S.useRef(null),C=S.useRef(null),[E,x]=S.useState(null),R=E?.modal,O=E?.open,L=typeof h=="boolean"?h:!!E&&!E.modal&&E.open&&!!b;S.useEffect(()=>{if(!b||R)return;function U(P){b&&Cd(P)&&(P.type==="focusin"?Mm:DE)(b)}return b.addEventListener("focusin",U,!0),b.addEventListener("focusout",U,!0),()=>{b.removeEventListener("focusin",U,!0),b.removeEventListener("focusout",U,!0)}},[b,R]),S.useEffect(()=>{!b||O||Mm(b)},[O,b]);const j=S.useMemo(()=>({beforeOutsideRef:p,afterOutsideRef:v,beforeInsideRef:_,afterInsideRef:C,portalNode:b,setFocusManagerState:x}),[b]);return Z.jsxs(S.Fragment,{children:[m,Z.jsxs(zy.Provider,{value:j,children:[L&&b&&Z.jsx(zm,{"data-type":"outside",ref:p,onFocus:U=>{if(Cd(U,b))_.current?.focus();else{const P=E?E.domReference:null;zE(P)?.focus()}}}),L&&b&&Z.jsx("span",{"aria-owns":b.id,style:xC}),b&&pl.createPortal(s,b),L&&b&&Z.jsx(zm,{"data-type":"outside",ref:v,onFocus:U=>{if(Cd(U,b))C.current?.focus();else{const P=E?E.domReference:null;ME(P)?.focus(),E?.closeOnFocusOut&&E?.onOpenChange(!1,ht(OC,U.nativeEvent))}}})]})]})});function HE(t,l){let a=null,s=null,r=!1;return{contextElement:t||void 0,getBoundingClientRect(){const u=t?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},d=l.axis==="x"||l.axis==="both",h=l.axis==="y"||l.axis==="both",g=["mouseenter","mousemove"].includes(l.dataRef.current.openEvent?.type||"")&&l.pointerType!=="touch";let b=u.width,m=u.height,p=u.x,v=u.y;return a==null&&l.x&&d&&(a=u.x-l.x),s==null&&l.y&&h&&(s=u.y-l.y),p-=a||0,v-=s||0,b=0,m=0,!r||g?(b=l.axis==="y"?u.width:0,m=l.axis==="x"?u.height:0,p=d&&l.x!=null?l.x:p,v=h&&l.y!=null?l.y:v):r&&!g&&(m=l.axis==="x"?u.height:m,b=l.axis==="y"?u.width:b),r=!0,{width:b,height:m,x:p,y:v,top:v,right:p+b,bottom:v+m,left:p}}}}function Dm(t){return t!=null&&t.clientX!=null}function BE(t,l={}){const a="rootStore"in t?t.rootStore:t,s=a.useState("open"),r=a.useState("floatingElement"),u=a.useState("domReferenceElement"),d=a.context.dataRef,{enabled:h=!0,axis:g="both",x:b=null,y:m=null}=l,p=S.useRef(!1),v=S.useRef(null),[_,C]=S.useState(),[E,x]=S.useState([]),R=Te((P,M)=>{p.current||d.current.openEvent&&!Dm(d.current.openEvent)||a.set("positionReference",HE(u,{x:P,y:M,axis:g,dataRef:d,pointerType:_}))}),O=Te(P=>{b!=null||m!=null||(s?v.current||x([]):R(P.clientX,P.clientY))}),L=eo(_)?r:s,j=S.useCallback(()=>{if(!L||!h||b!=null||m!=null)return;const P=wt(r);function M(N){const J=Hn(N);Tt(r,J)?(P.removeEventListener("mousemove",M),v.current=null):R(N.clientX,N.clientY)}if(!d.current.openEvent||Dm(d.current.openEvent)){P.addEventListener("mousemove",M);const N=()=>{P.removeEventListener("mousemove",M),v.current=null};return v.current=N,N}a.set("positionReference",u)},[L,h,b,m,r,d,u,a,R]);S.useEffect(()=>j(),[j,E]),S.useEffect(()=>{h&&!r&&(p.current=!1)},[h,r]),S.useEffect(()=>{!h&&s&&(p.current=!0)},[h,s]),Le(()=>{h&&(b!=null||m!=null)&&(p.current=!1,R(b,m))},[h,b,m,R]);const U=S.useMemo(()=>{function P(M){C(M.pointerType)}return{onPointerDown:P,onPointerEnter:P,onMouseMove:O,onMouseEnter:O}},[O]);return S.useMemo(()=>h?{reference:U}:{},[h,U])}function Lm(t,l,a){let{reference:s,floating:r}=t;const u=kn(l),d=Lh(l),h=Dh(d),g=Ft(l),b=u==="y",m=s.x+s.width/2-r.width/2,p=s.y+s.height/2-r.height/2,v=s[h]/2-r[h]/2;let _;switch(g){case"top":_={x:m,y:s.y-r.height};break;case"bottom":_={x:m,y:s.y+s.height};break;case"right":_={x:s.x+s.width,y:p};break;case"left":_={x:s.x-r.width,y:p};break;default:_={x:s.x,y:s.y}}switch(na(l)){case"start":_[d]-=v*(a&&b?-1:1);break;case"end":_[d]+=v*(a&&b?-1:1);break}return _}const VE=async(t,l,a)=>{const{placement:s="bottom",strategy:r="absolute",middleware:u=[],platform:d}=a,h=u.filter(Boolean),g=await(d.isRTL==null?void 0:d.isRTL(l));let b=await d.getElementRects({reference:t,floating:l,strategy:r}),{x:m,y:p}=Lm(b,s,g),v=s,_={},C=0;for(let E=0;E<h.length;E++){const{name:x,fn:R}=h[E],{x:O,y:L,data:j,reset:U}=await R({x:m,y:p,initialPlacement:s,placement:v,strategy:r,middlewareData:_,rects:b,platform:d,elements:{reference:t,floating:l}});m=O??m,p=L??p,_={..._,[x]:{..._[x],...j}},U&&C<=50&&(C++,typeof U=="object"&&(U.placement&&(v=U.placement),U.rects&&(b=U.rects===!0?await d.getElementRects({reference:t,floating:l,strategy:r}):U.rects),{x:m,y:p}=Lm(b,v,g)),E=-1)}return{x:m,y:p,placement:v,strategy:r,middlewareData:_}};async function no(t,l){var a;l===void 0&&(l={});const{x:s,y:r,platform:u,rects:d,elements:h,strategy:g}=t,{boundary:b="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:v=!1,padding:_=0}=yl(l,t),C=my(_),x=h[v?p==="floating"?"reference":"floating":p],R=_u(await u.getClippingRect({element:(a=await(u.isElement==null?void 0:u.isElement(x)))==null||a?x:x.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(h.floating)),boundary:b,rootBoundary:m,strategy:g})),O=p==="floating"?{x:s,y:r,width:d.floating.width,height:d.floating.height}:d.reference,L=await(u.getOffsetParent==null?void 0:u.getOffsetParent(h.floating)),j=await(u.isElement==null?void 0:u.isElement(L))?await(u.getScale==null?void 0:u.getScale(L))||{x:1,y:1}:{x:1,y:1},U=_u(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:O,offsetParent:L,strategy:g}):O);return{top:(R.top-U.top+C.top)/j.y,bottom:(U.bottom-R.bottom+C.bottom)/j.y,left:(R.left-U.left+C.left)/j.x,right:(U.right-R.right+C.right)/j.x}}const FE=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(l){var a,s;const{placement:r,middlewareData:u,rects:d,initialPlacement:h,platform:g,elements:b}=l,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:v,fallbackStrategy:_="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:E=!0,...x}=yl(t,l);if((a=u.arrow)!=null&&a.alignmentOffset)return{};const R=Ft(r),O=kn(h),L=Ft(h)===h,j=await(g.isRTL==null?void 0:g.isRTL(b.floating)),U=v||(L||!E?[vu(h)]:fE(h)),P=C!=="none";!v&&P&&U.push(...bE(h,E,C,j));const M=[h,...U],N=await no(l,x),J=[];let ee=((s=u.flip)==null?void 0:s.overflows)||[];if(m&&J.push(N[R]),p){const G=cE(r,d,j);J.push(N[G[0]],N[G[1]])}if(ee=[...ee,{placement:r,overflows:J}],!J.every(G=>G<=0)){var z,K;const G=(((z=u.flip)==null?void 0:z.index)||0)+1,le=M[G];if(le&&(!(p==="alignment"?O!==kn(le):!1)||ee.every(q=>kn(q.placement)===O?q.overflows[0]>0:!0)))return{data:{index:G,overflows:ee},reset:{placement:le}};let T=(K=ee.filter(F=>F.overflows[0]<=0).sort((F,q)=>F.overflows[1]-q.overflows[1])[0])==null?void 0:K.placement;if(!T)switch(_){case"bestFit":{var I;const F=(I=ee.filter(q=>{if(P){const ae=kn(q.placement);return ae===O||ae==="y"}return!0}).map(q=>[q.placement,q.overflows.filter(ae=>ae>0).reduce((ae,de)=>ae+de,0)]).sort((q,ae)=>q[1]-ae[1])[0])==null?void 0:I[0];F&&(T=F);break}case"initialPlacement":T=h;break}if(r!==T)return{reset:{placement:T}}}return{}}}};function Pm(t,l){return{top:t.top-l.height,right:t.right-l.width,bottom:t.bottom-l.height,left:t.left-l.width}}function Nm(t){return sE.some(l=>t[l]>=0)}const IE=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(l){const{rects:a}=l,{strategy:s="referenceHidden",...r}=yl(t,l);switch(s){case"referenceHidden":{const u=await no(l,{...r,elementContext:"reference"}),d=Pm(u,a.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:Nm(d)}}}case"escaped":{const u=await no(l,{...r,altBoundary:!0}),d=Pm(u,a.floating);return{data:{escapedOffsets:d,escaped:Nm(d)}}}default:return{}}}}},Ly=new Set(["left","top"]);async function YE(t,l){const{placement:a,platform:s,elements:r}=t,u=await(s.isRTL==null?void 0:s.isRTL(r.floating)),d=Ft(a),h=na(a),g=kn(a)==="y",b=Ly.has(d)?-1:1,m=u&&g?-1:1,p=yl(l,t);let{mainAxis:v,crossAxis:_,alignmentAxis:C}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return h&&typeof C=="number"&&(_=h==="end"?C*-1:C),g?{x:_*m,y:v*b}:{x:v*b,y:_*m}}const GE=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(l){var a,s;const{x:r,y:u,placement:d,middlewareData:h}=l,g=await YE(l,t);return d===((a=h.offset)==null?void 0:a.placement)&&(s=h.arrow)!=null&&s.alignmentOffset?{}:{x:r+g.x,y:u+g.y,data:{...g,placement:d}}}}},QE=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(l){const{x:a,y:s,placement:r}=l,{mainAxis:u=!0,crossAxis:d=!1,limiter:h={fn:x=>{let{x:R,y:O}=x;return{x:R,y:O}}},...g}=yl(t,l),b={x:a,y:s},m=await no(l,g),p=kn(Ft(r)),v=zh(p);let _=b[v],C=b[p];if(u){const x=v==="y"?"top":"left",R=v==="y"?"bottom":"right",O=_+m[x],L=_-m[R];_=Qd(O,_,L)}if(d){const x=p==="y"?"top":"left",R=p==="y"?"bottom":"right",O=C+m[x],L=C-m[R];C=Qd(O,C,L)}const E=h.fn({...l,[v]:_,[p]:C});return{...E,data:{x:E.x-a,y:E.y-s,enabled:{[v]:u,[p]:d}}}}}},KE=function(t){return t===void 0&&(t={}),{options:t,fn(l){const{x:a,y:s,placement:r,rects:u,middlewareData:d}=l,{offset:h=0,mainAxis:g=!0,crossAxis:b=!0}=yl(t,l),m={x:a,y:s},p=kn(r),v=zh(p);let _=m[v],C=m[p];const E=yl(h,l),x=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(g){const L=v==="y"?"height":"width",j=u.reference[v]-u.floating[L]+x.mainAxis,U=u.reference[v]+u.reference[L]-x.mainAxis;_<j?_=j:_>U&&(_=U)}if(b){var R,O;const L=v==="y"?"width":"height",j=Ly.has(Ft(r)),U=u.reference[p]-u.floating[L]+(j&&((R=d.offset)==null?void 0:R[p])||0)+(j?0:x.crossAxis),P=u.reference[p]+u.reference[L]+(j?0:((O=d.offset)==null?void 0:O[p])||0)-(j?x.crossAxis:0);C<U?C=U:C>P&&(C=P)}return{[v]:_,[p]:C}}}},XE=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(l){var a,s;const{placement:r,rects:u,platform:d,elements:h}=l,{apply:g=()=>{},...b}=yl(t,l),m=await no(l,b),p=Ft(r),v=na(r),_=kn(r)==="y",{width:C,height:E}=u.floating;let x,R;p==="top"||p==="bottom"?(x=p,R=v===(await(d.isRTL==null?void 0:d.isRTL(h.floating))?"start":"end")?"left":"right"):(R=p,x=v==="end"?"top":"bottom");const O=E-m.top-m.bottom,L=C-m.left-m.right,j=Mi(E-m[x],O),U=Mi(C-m[R],L),P=!l.middlewareData.shift;let M=j,N=U;if((a=l.middlewareData.shift)!=null&&a.enabled.x&&(N=L),(s=l.middlewareData.shift)!=null&&s.enabled.y&&(M=O),P&&!v){const ee=nn(m.left,0),z=nn(m.right,0),K=nn(m.top,0),I=nn(m.bottom,0);_?N=C-2*(ee!==0||z!==0?ee+z:nn(m.left,m.right)):M=E-2*(K!==0||I!==0?K+I:nn(m.top,m.bottom))}await g({...l,availableWidth:N,availableHeight:M});const J=await d.getDimensions(h.floating);return C!==J.width||E!==J.height?{reset:{rects:!0}}:{}}}};function Py(t){const l=ln(t);let a=parseFloat(l.width)||0,s=parseFloat(l.height)||0;const r=It(t),u=r?t.offsetWidth:a,d=r?t.offsetHeight:s,h=zi(a)!==u||zi(s)!==d;return h&&(a=u,s=d),{width:a,height:s,$:h}}function $h(t){return $e(t)?t:t.contextElement}function Ri(t){const l=$h(t);if(!It(l))return Bn(1);const a=l.getBoundingClientRect(),{width:s,height:r,$:u}=Py(l);let d=(u?zi(a.width):a.width)/s,h=(u?zi(a.height):a.height)/r;return(!d||!Number.isFinite(d))&&(d=1),(!h||!Number.isFinite(h))&&(h=1),{x:d,y:h}}const ZE=Bn(0);function Ny(t){const l=wt(t);return!$u()||!l.visualViewport?ZE:{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function JE(t,l,a){return l===void 0&&(l=!1),!a||l&&a!==wt(t)?!1:l}function Pa(t,l,a,s){l===void 0&&(l=!1),a===void 0&&(a=!1);const r=t.getBoundingClientRect(),u=$h(t);let d=Bn(1);l&&(s?$e(s)&&(d=Ri(s)):d=Ri(t));const h=JE(u,a,s)?Ny(u):Bn(0);let g=(r.left+h.x)/d.x,b=(r.top+h.y)/d.y,m=r.width/d.x,p=r.height/d.y;if(u){const v=wt(u),_=s&&$e(s)?wt(s):s;let C=v,E=Fd(C);for(;E&&s&&_!==C;){const x=Ri(E),R=E.getBoundingClientRect(),O=ln(E),L=R.left+(E.clientLeft+parseFloat(O.paddingLeft))*x.x,j=R.top+(E.clientTop+parseFloat(O.paddingTop))*x.y;g*=x.x,b*=x.y,m*=x.x,p*=x.y,g+=L,b+=j,C=wt(E),E=Fd(C)}}return _u({width:m,height:p,x:g,y:b})}function qu(t,l){const a=ju(t).scrollLeft;return l?l.left+a:Pa(In(t)).left+a}function $y(t,l){const a=t.getBoundingClientRect(),s=a.left+l.scrollLeft-qu(t,a),r=a.top+l.scrollTop;return{x:s,y:r}}function WE(t){let{elements:l,rect:a,offsetParent:s,strategy:r}=t;const u=r==="fixed",d=In(s),h=l?Nu(l.floating):!1;if(s===d||h&&u)return a;let g={scrollLeft:0,scrollTop:0},b=Bn(1);const m=Bn(0),p=It(s);if((p||!p&&!u)&&((ji(s)!=="body"||fo(d))&&(g=ju(s)),It(s))){const _=Pa(s);b=Ri(s),m.x=_.x+s.clientLeft,m.y=_.y+s.clientTop}const v=d&&!p&&!u?$y(d,g):Bn(0);return{width:a.width*b.x,height:a.height*b.y,x:a.x*b.x-g.scrollLeft*b.x+m.x+v.x,y:a.y*b.y-g.scrollTop*b.y+m.y+v.y}}function ex(t){return Array.from(t.getClientRects())}function tx(t){const l=In(t),a=ju(t),s=t.ownerDocument.body,r=nn(l.scrollWidth,l.clientWidth,s.scrollWidth,s.clientWidth),u=nn(l.scrollHeight,l.clientHeight,s.scrollHeight,s.clientHeight);let d=-a.scrollLeft+qu(t);const h=-a.scrollTop;return ln(s).direction==="rtl"&&(d+=nn(l.clientWidth,s.clientWidth)-r),{width:r,height:u,x:d,y:h}}const $m=25;function nx(t,l){const a=wt(t),s=In(t),r=a.visualViewport;let u=s.clientWidth,d=s.clientHeight,h=0,g=0;if(r){u=r.width,d=r.height;const m=$u();(!m||m&&l==="fixed")&&(h=r.offsetLeft,g=r.offsetTop)}const b=qu(s);if(b<=0){const m=s.ownerDocument,p=m.body,v=getComputedStyle(p),_=m.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,C=Math.abs(s.clientWidth-p.clientWidth-_);C<=$m&&(u-=C)}else b<=$m&&(u+=b);return{width:u,height:d,x:h,y:g}}const lx=new Set(["absolute","fixed"]);function ax(t,l){const a=Pa(t,!0,l==="fixed"),s=a.top+t.clientTop,r=a.left+t.clientLeft,u=It(t)?Ri(t):Bn(1),d=t.clientWidth*u.x,h=t.clientHeight*u.y,g=r*u.x,b=s*u.y;return{width:d,height:h,x:g,y:b}}function jm(t,l,a){let s;if(l==="viewport")s=nx(t,a);else if(l==="document")s=tx(In(t));else if($e(l))s=ax(l,a);else{const r=Ny(t);s={x:l.x-r.x,y:l.y-r.y,width:l.width,height:l.height}}return _u(s)}function jy(t,l){const a=ml(t);return a===l||!$e(a)||gl(a)?!1:ln(a).position==="fixed"||jy(a,l)}function ix(t,l){const a=l.get(t);if(a)return a;let s=Wl(t,[],!1).filter(h=>$e(h)&&ji(h)!=="body"),r=null;const u=ln(t).position==="fixed";let d=u?ml(t):t;for(;$e(d)&&!gl(d);){const h=ln(d),g=Oh(d);!g&&h.position==="fixed"&&(r=null),(u?!g&&!r:!g&&h.position==="static"&&!!r&&lx.has(r.position)||fo(d)&&!g&&jy(t,d))?s=s.filter(m=>m!==d):r=h,d=ml(d)}return l.set(t,s),s}function sx(t){let{element:l,boundary:a,rootBoundary:s,strategy:r}=t;const d=[...a==="clippingAncestors"?Nu(l)?[]:ix(l,this._c):[].concat(a),s],h=d[0],g=d.reduce((b,m)=>{const p=jm(l,m,r);return b.top=nn(p.top,b.top),b.right=Mi(p.right,b.right),b.bottom=Mi(p.bottom,b.bottom),b.left=nn(p.left,b.left),b},jm(l,h,r));return{width:g.right-g.left,height:g.bottom-g.top,x:g.left,y:g.top}}function ox(t){const{width:l,height:a}=Py(t);return{width:l,height:a}}function rx(t,l,a){const s=It(l),r=In(l),u=a==="fixed",d=Pa(t,!0,u,l);let h={scrollLeft:0,scrollTop:0};const g=Bn(0);function b(){g.x=qu(r)}if(s||!s&&!u)if((ji(l)!=="body"||fo(r))&&(h=ju(l)),s){const _=Pa(l,!0,u,l);g.x=_.x+l.clientLeft,g.y=_.y+l.clientTop}else r&&b();u&&!s&&r&&b();const m=r&&!s&&!u?$y(r,h):Bn(0),p=d.left+h.scrollLeft-g.x-m.x,v=d.top+h.scrollTop-g.y-m.y;return{x:p,y:v,width:d.width,height:d.height}}function Ed(t){return ln(t).position==="static"}function Um(t,l){if(!It(t)||ln(t).position==="fixed")return null;if(l)return l(t);let a=t.offsetParent;return In(t)===a&&(a=a.ownerDocument.body),a}function Uy(t,l){const a=wt(t);if(Nu(t))return a;if(!It(t)){let r=ml(t);for(;r&&!gl(r);){if($e(r)&&!Ed(r))return r;r=ml(r)}return a}let s=Um(t,l);for(;s&&IC(s)&&Ed(s);)s=Um(s,l);return s&&gl(s)&&Ed(s)&&!Oh(s)?a:s||XC(t)||a}const ux=async function(t){const l=this.getOffsetParent||Uy,a=this.getDimensions,s=await a(t.floating);return{reference:rx(t.reference,await l(t.floating),t.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function cx(t){return ln(t).direction==="rtl"}const fx={convertOffsetParentRelativeRectToViewportRelativeRect:WE,getDocumentElement:In,getClippingRect:sx,getOffsetParent:Uy,getElementRects:ux,getClientRects:ex,getDimensions:ox,getScale:Ri,isElement:$e,isRTL:cx};function qy(t,l){return t.x===l.x&&t.y===l.y&&t.width===l.width&&t.height===l.height}function dx(t,l){let a=null,s;const r=In(t);function u(){var h;clearTimeout(s),(h=a)==null||h.disconnect(),a=null}function d(h,g){h===void 0&&(h=!1),g===void 0&&(g=1),u();const b=t.getBoundingClientRect(),{left:m,top:p,width:v,height:_}=b;if(h||l(),!v||!_)return;const C=Br(p),E=Br(r.clientWidth-(m+v)),x=Br(r.clientHeight-(p+_)),R=Br(m),L={rootMargin:-C+"px "+-E+"px "+-x+"px "+-R+"px",threshold:nn(0,Mi(1,g))||1};let j=!0;function U(P){const M=P[0].intersectionRatio;if(M!==g){if(!j)return d();M?d(!1,M):s=setTimeout(()=>{d(!1,1e-7)},1e3)}M===1&&!qy(b,t.getBoundingClientRect())&&d(),j=!1}try{a=new IntersectionObserver(U,{...L,root:r.ownerDocument})}catch{a=new IntersectionObserver(U,L)}a.observe(t)}return d(!0),u}function qm(t,l,a,s){s===void 0&&(s={});const{ancestorScroll:r=!0,ancestorResize:u=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:g=!1}=s,b=$h(t),m=r||u?[...b?Wl(b):[],...Wl(l)]:[];m.forEach(R=>{r&&R.addEventListener("scroll",a,{passive:!0}),u&&R.addEventListener("resize",a)});const p=b&&h?dx(b,a):null;let v=-1,_=null;d&&(_=new ResizeObserver(R=>{let[O]=R;O&&O.target===b&&_&&(_.unobserve(l),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var L;(L=_)==null||L.observe(l)})),a()}),b&&!g&&_.observe(b),_.observe(l));let C,E=g?Pa(t):null;g&&x();function x(){const R=Pa(t);E&&!qy(E,R)&&a(),E=R,C=requestAnimationFrame(x)}return a(),()=>{var R;m.forEach(O=>{r&&O.removeEventListener("scroll",a),u&&O.removeEventListener("resize",a)}),p?.(),(R=_)==null||R.disconnect(),_=null,g&&cancelAnimationFrame(C)}}const hx=GE,gx=QE,bx=FE,px=XE,mx=IE,yx=KE,vx=(t,l,a)=>{const s=new Map,r={platform:fx,...a},u={...r.platform,_c:s};return VE(t,l,{...r,platform:u})};var _x=typeof document<"u",kx=function(){},iu=_x?S.useLayoutEffect:kx;function Eu(t,l){if(t===l)return!0;if(typeof t!=typeof l)return!1;if(typeof t=="function"&&t.toString()===l.toString())return!0;let a,s,r;if(t&&l&&typeof t=="object"){if(Array.isArray(t)){if(a=t.length,a!==l.length)return!1;for(s=a;s--!==0;)if(!Eu(t[s],l[s]))return!1;return!0}if(r=Object.keys(t),a=r.length,a!==Object.keys(l).length)return!1;for(s=a;s--!==0;)if(!{}.hasOwnProperty.call(l,r[s]))return!1;for(s=a;s--!==0;){const u=r[s];if(!(u==="_owner"&&t.$$typeof)&&!Eu(t[u],l[u]))return!1}return!0}return t!==t&&l!==l}function Hy(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Hm(t,l){const a=Hy(t);return Math.round(l*a)/a}function xd(t){const l=S.useRef(t);return iu(()=>{l.current=t}),l}function Sx(t){t===void 0&&(t={});const{placement:l="bottom",strategy:a="absolute",middleware:s=[],platform:r,elements:{reference:u,floating:d}={},transform:h=!0,whileElementsMounted:g,open:b}=t,[m,p]=S.useState({x:0,y:0,strategy:a,placement:l,middlewareData:{},isPositioned:!1}),[v,_]=S.useState(s);Eu(v,s)||_(s);const[C,E]=S.useState(null),[x,R]=S.useState(null),O=S.useCallback(q=>{q!==P.current&&(P.current=q,E(q))},[]),L=S.useCallback(q=>{q!==M.current&&(M.current=q,R(q))},[]),j=u||C,U=d||x,P=S.useRef(null),M=S.useRef(null),N=S.useRef(m),J=g!=null,ee=xd(g),z=xd(r),K=xd(b),I=S.useCallback(()=>{if(!P.current||!M.current)return;const q={placement:l,strategy:a,middleware:v};z.current&&(q.platform=z.current),vx(P.current,M.current,q).then(ae=>{const de={...ae,isPositioned:K.current!==!1};G.current&&!Eu(N.current,de)&&(N.current=de,pl.flushSync(()=>{p(de)}))})},[v,l,a,z,K]);iu(()=>{b===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,p(q=>({...q,isPositioned:!1})))},[b]);const G=S.useRef(!1);iu(()=>(G.current=!0,()=>{G.current=!1}),[]),iu(()=>{if(j&&(P.current=j),U&&(M.current=U),j&&U){if(ee.current)return ee.current(j,U,I);I()}},[j,U,I,ee,J]);const le=S.useMemo(()=>({reference:P,floating:M,setReference:O,setFloating:L}),[O,L]),T=S.useMemo(()=>({reference:j,floating:U}),[j,U]),F=S.useMemo(()=>{const q={position:a,left:0,top:0};if(!T.floating)return q;const ae=Hm(T.floating,m.x),de=Hm(T.floating,m.y);return h?{...q,transform:"translate("+ae+"px, "+de+"px)",...Hy(T.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:ae,top:de}},[a,h,T.floating,m.x,m.y]);return S.useMemo(()=>({...m,update:I,refs:le,elements:T,floatingStyles:F}),[m,I,le,T,F])}const Cx=(t,l)=>({...hx(t),options:[t,l]}),Ex=(t,l)=>({...gx(t),options:[t,l]}),xx=(t,l)=>({...yx(t),options:[t,l]}),Rx=(t,l)=>({...bx(t),options:[t,l]}),Tx=(t,l)=>({...px(t),options:[t,l]}),wx=(t,l)=>({...mx(t),options:[t,l]}),Ax={intentional:"onClick",sloppy:"onPointerDown"};function Ox(t){return{escapeKey:typeof t=="boolean"?t:t?.escapeKey??!1,outsidePress:typeof t=="boolean"?t:t?.outsidePress??!0}}function Mx(t,l={}){const a="rootStore"in t?t.rootStore:t,s=a.useState("open"),r=a.useState("floatingElement"),u=a.useState("referenceElement"),d=a.useState("domReferenceElement"),{onOpenChange:h,dataRef:g}=a.context,{enabled:b=!0,escapeKey:m=!0,outsidePress:p=!0,outsidePressEvent:v="sloppy",referencePress:_=!1,referencePressEvent:C="sloppy",ancestorScroll:E=!1,bubbles:x,externalTree:R}=l,O=go(R),L=Te(typeof p=="function"?p:()=>!1),j=typeof p=="function"?L:p,U=S.useRef(!1),{escapeKey:P,outsidePress:M}=Ox(x),N=S.useRef(null),J=Li(),ee=Li(),z=Te(()=>{ee.clear(),g.current.insideReactTree=!1}),K=S.useRef(!1),I=S.useRef(""),G=Te(ie=>{I.current=ie.pointerType}),le=Te(()=>{const ie=I.current,pe=ie==="pen"||!ie?"mouse":ie,ge=typeof v=="function"?v():v;return typeof ge=="string"?ge:ge[pe]}),T=Te(ie=>{if(!s||!b||!m||ie.key!=="Escape"||K.current)return;const pe=g.current.floatingContext?.nodeId,ge=O?Ks(O.nodesRef.current,pe):[];if(!P&&ge.length>0){let je=!0;if(ge.forEach(Ie=>{Ie.context?.open&&!Ie.context.dataRef.current.__escapeKeyBubbles&&(je=!1)}),!je)return}const Ye=aE(ie)?ie.nativeEvent:ie,_e=ht(wh,Ye);a.setOpen(!1,_e),!P&&!_e.isPropagationAllowed&&ie.stopPropagation()}),F=Te(ie=>{const pe=le();return pe==="intentional"&&ie.type!=="click"||pe==="sloppy"&&ie.type==="click"}),q=Te(()=>{g.current.insideReactTree=!0,ee.start(0,z)}),ae=Te((ie,pe=!1)=>{if(F(ie)){z();return}if(g.current.insideReactTree){z();return}if(le()==="intentional"&&pe||typeof j=="function"&&!j(ie))return;const ge=Hn(ie),Ye=`[${Uu("inert")}]`,_e=zn(a.select("floatingElement")).querySelectorAll(Ye),je=a.context.triggerElements;if(ge&&(je.hasElement(ge)||je.hasMatchingElement(Be=>Tt(Be,ge))))return;let Ie=$e(ge)?ge:null;for(;Ie&&!gl(Ie);){const Be=ml(Ie);if(gl(Be)||!$e(Be))break;Ie=Be}if(_e.length&&$e(ge)&&!nE(ge)&&!Tt(ge,a.select("floatingElement"))&&Array.from(_e).every(Be=>!Tt(Ie,Be)))return;if(It(ge)&&!("touches"in ie)){const Be=gl(ge),Lt=ln(ge),Oe=/auto|scroll/,Se=Be||Oe.test(Lt.overflowX),ct=Be||Oe.test(Lt.overflowY),Ln=Se&&ge.clientWidth>0&&ge.scrollWidth>ge.clientWidth,aa=ct&&ge.clientHeight>0&&ge.scrollHeight>ge.clientHeight,Pn=Lt.direction==="rtl",Ua=aa&&(Pn?ie.offsetX<=ge.offsetWidth-ge.clientWidth:ie.offsetX>ge.clientWidth),Yn=Ln&&ie.offsetY>ge.clientHeight;if(Ua||Yn)return}const Dn=g.current.floatingContext?.nodeId,Gt=O&&Ks(O.nodesRef.current,Dn).some(Be=>An(ie,Be.context?.elements.floating));if(An(ie,a.select("floatingElement"))||An(ie,a.select("domReferenceElement"))||Gt)return;const ut=O?Ks(O.nodesRef.current,Dn):[];if(ut.length>0){let Be=!0;if(ut.forEach(Lt=>{Lt.context?.open&&!Lt.context.dataRef.current.__outsidePressBubbles&&(Be=!1)}),!Be)return}a.setOpen(!1,ht(AC,ie)),z()}),de=Te(ie=>{le()!=="sloppy"||ie.pointerType==="touch"||!a.select("open")||!b||An(ie,a.select("floatingElement"))||An(ie,a.select("domReferenceElement"))||ae(ie)}),w=Te(ie=>{if(le()!=="sloppy"||!a.select("open")||!b||An(ie,a.select("floatingElement"))||An(ie,a.select("domReferenceElement")))return;const pe=ie.touches[0];pe&&(N.current={startTime:Date.now(),startX:pe.clientX,startY:pe.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},J.start(1e3,()=>{N.current&&(N.current.dismissOnTouchEnd=!1,N.current.dismissOnMouseDown=!1)}))}),Q=Te(ie=>{const pe=Hn(ie);function ge(){w(ie),pe?.removeEventListener(ie.type,ge)}pe?.addEventListener(ie.type,ge)}),ne=Te(ie=>{const pe=U.current;if(U.current=!1,J.clear(),ie.type==="mousedown"&&N.current&&!N.current.dismissOnMouseDown)return;const ge=Hn(ie);function Ye(){ie.type==="pointerdown"?de(ie):ae(ie,pe),ge?.removeEventListener(ie.type,Ye)}ge?.addEventListener(ie.type,Ye)}),se=Te(ie=>{if(le()!=="sloppy"||!N.current||An(ie,a.select("floatingElement"))||An(ie,a.select("domReferenceElement")))return;const pe=ie.touches[0];if(!pe)return;const ge=Math.abs(pe.clientX-N.current.startX),Ye=Math.abs(pe.clientY-N.current.startY),_e=Math.sqrt(ge*ge+Ye*Ye);_e>5&&(N.current.dismissOnTouchEnd=!0),_e>10&&(ae(ie),J.clear(),N.current=null)}),re=Te(ie=>{const pe=Hn(ie);function ge(){se(ie),pe?.removeEventListener(ie.type,ge)}pe?.addEventListener(ie.type,ge)}),oe=Te(ie=>{le()!=="sloppy"||!N.current||An(ie,a.select("floatingElement"))||An(ie,a.select("domReferenceElement"))||(N.current.dismissOnTouchEnd&&ae(ie),J.clear(),N.current=null)}),ue=Te(ie=>{const pe=Hn(ie);function ge(){oe(ie),pe?.removeEventListener(ie.type,ge)}pe?.addEventListener(ie.type,ge)});S.useEffect(()=>{if(!s||!b)return;g.current.__escapeKeyBubbles=P,g.current.__outsidePressBubbles=M;const ie=new Ui;function pe(Ie){a.setOpen(!1,ht(Th,Ie))}function ge(){ie.clear(),K.current=!0}function Ye(){ie.start($u()?5:0,()=>{K.current=!1})}const _e=zn(r);_e.addEventListener("pointerdown",G,!0),m&&(_e.addEventListener("keydown",T),_e.addEventListener("compositionstart",ge),_e.addEventListener("compositionend",Ye)),j&&(_e.addEventListener("click",ne,!0),_e.addEventListener("pointerdown",ne,!0),_e.addEventListener("touchstart",Q,!0),_e.addEventListener("touchmove",re,!0),_e.addEventListener("touchend",ue,!0),_e.addEventListener("mousedown",ne,!0));let je=[];return E&&($e(d)&&(je=Wl(d)),$e(r)&&(je=je.concat(Wl(r))),!$e(u)&&u&&u.contextElement&&(je=je.concat(Wl(u.contextElement)))),je=je.filter(Ie=>Ie!==_e.defaultView?.visualViewport),je.forEach(Ie=>{Ie.addEventListener("scroll",pe,{passive:!0})}),()=>{_e.removeEventListener("pointerdown",G,!0),m&&(_e.removeEventListener("keydown",T),_e.removeEventListener("compositionstart",ge),_e.removeEventListener("compositionend",Ye)),j&&(_e.removeEventListener("click",ne,!0),_e.removeEventListener("pointerdown",ne,!0),_e.removeEventListener("touchstart",Q,!0),_e.removeEventListener("touchmove",re,!0),_e.removeEventListener("touchend",ue,!0),_e.removeEventListener("mousedown",ne,!0)),je.forEach(Ie=>{Ie.removeEventListener("scroll",pe)}),ie.clear()}},[g,r,u,d,m,j,s,h,E,b,P,M,T,ae,ne,de,Q,re,ue,G,a]),S.useEffect(z,[j,z]);const we=S.useMemo(()=>({onKeyDown:T,..._&&{[Ax[C]]:ie=>{a.setOpen(!1,ht(mu,ie.nativeEvent))},...C!=="intentional"&&{onClick(ie){a.setOpen(!1,ht(mu,ie.nativeEvent))}}}}),[T,a,_,C]),ye=Te(ie=>{const pe=Hn(ie.nativeEvent);!Tt(a.select("floatingElement"),pe)||ie.button!==0||(U.current=!0)}),Ke=S.useMemo(()=>({onKeyDown:T,onPointerDown:ye,onMouseDown:ye,onMouseUp:ye,onClickCapture:q,onMouseDownCapture:q,onPointerDownCapture:q,onMouseUpCapture:q,onTouchEndCapture:q,onTouchMoveCapture:q}),[T,ye,q]);return S.useMemo(()=>b?{reference:we,floating:Ke,trigger:we}:{},[b,we,Ke])}var xu=Symbol("NOT_FOUND");function zx(t,l=`expected a function, instead received ${typeof t}`){if(typeof t!="function")throw new TypeError(l)}function Dx(t,l=`expected an object, instead received ${typeof t}`){if(typeof t!="object")throw new TypeError(l)}function Lx(t,l="expected all items to be functions, instead received the following types: "){if(!t.every(a=>typeof a=="function")){const a=t.map(s=>typeof s=="function"?`function ${s.name||"unnamed"}()`:typeof s).join(", ");throw new TypeError(`${l}[${a}]`)}}var Bm=t=>Array.isArray(t)?t:[t];function Px(t){const l=Array.isArray(t[0])?t[0]:t;return Lx(l,"createSelector expects all input-selectors to be functions, but received the following types: "),l}function Nx(t,l){const a=[],{length:s}=t;for(let r=0;r<s;r++)a.push(t[r].apply(null,l));return a}function $x(t){let l;return{get(a){return l&&t(l.key,a)?l.value:xu},put(a,s){l={key:a,value:s}},getEntries(){return l?[l]:[]},clear(){l=void 0}}}function jx(t,l){let a=[];function s(h){const g=a.findIndex(b=>l(h,b.key));if(g>-1){const b=a[g];return g>0&&(a.splice(g,1),a.unshift(b)),b.value}return xu}function r(h,g){s(h)===xu&&(a.unshift({key:h,value:g}),a.length>t&&a.pop())}function u(){return a}function d(){a=[]}return{get:s,put:r,getEntries:u,clear:d}}var Ux=(t,l)=>t===l;function qx(t){return function(a,s){if(a===null||s===null||a.length!==s.length)return!1;const{length:r}=a;for(let u=0;u<r;u++)if(!t(a[u],s[u]))return!1;return!0}}function Hx(t,l){const a=typeof l=="object"?l:{equalityCheck:l},{equalityCheck:s=Ux,maxSize:r=1,resultEqualityCheck:u}=a,d=qx(s);let h=0;const g=r<=1?$x(d):jx(r,d);function b(){let m=g.get(arguments);if(m===xu){if(m=t.apply(null,arguments),h++,u){const v=g.getEntries().find(_=>u(_.value,m));v&&(m=v.value,h!==0&&h--)}g.put(arguments,m)}return m}return b.clearCache=()=>{g.clear(),b.resetResultsCount()},b.resultsCount=()=>h,b.resetResultsCount=()=>{h=0},b}var Bx=class{constructor(t){this.value=t}deref(){return this.value}},Vx=typeof WeakRef<"u"?WeakRef:Bx,Fx=0,Vm=1;function Vr(){return{s:Fx,v:void 0,o:null,p:null}}function By(t,l={}){let a=Vr();const{resultEqualityCheck:s}=l;let r,u=0;function d(){let h=a;const{length:g}=arguments;for(let p=0,v=g;p<v;p++){const _=arguments[p];if(typeof _=="function"||typeof _=="object"&&_!==null){let C=h.o;C===null&&(h.o=C=new WeakMap);const E=C.get(_);E===void 0?(h=Vr(),C.set(_,h)):h=E}else{let C=h.p;C===null&&(h.p=C=new Map);const E=C.get(_);E===void 0?(h=Vr(),C.set(_,h)):h=E}}const b=h;let m;if(h.s===Vm)m=h.v;else if(m=t.apply(null,arguments),u++,s){const p=r?.deref?.()??r;p!=null&&s(p,m)&&(m=p,u!==0&&u--),r=typeof m=="object"&&m!==null||typeof m=="function"?new Vx(m):m}return b.s=Vm,b.v=m,m}return d.clearCache=()=>{a=Vr(),d.resetResultsCount()},d.resultsCount=()=>u,d.resetResultsCount=()=>{u=0},d}function Vy(t,...l){const a=typeof t=="function"?{memoize:t,memoizeOptions:l}:t,s=(...r)=>{let u=0,d=0,h,g={},b=r.pop();typeof b=="object"&&(g=b,b=r.pop()),zx(b,`createSelector expects an output function after the inputs, but received: [${typeof b}]`);const m={...a,...g},{memoize:p,memoizeOptions:v=[],argsMemoize:_=By,argsMemoizeOptions:C=[]}=m,E=Bm(v),x=Bm(C),R=Px(r),O=p(function(){return u++,b.apply(null,arguments)},...E),L=_(function(){d++;const U=Nx(R,arguments);return h=O.apply(null,U),h},...x);return Object.assign(L,{resultFunc:b,memoizedResultFunc:O,dependencies:R,dependencyRecomputations:()=>d,resetDependencyRecomputations:()=>{d=0},lastResult:()=>h,recomputations:()=>u,resetRecomputations:()=>{u=0},memoize:p,argsMemoize:_})};return Object.assign(s,{withTypes:()=>s}),s}var Ix=Vy(By),Yx=Object.assign((t,l=Ix)=>{Dx(t,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof t}`);const a=Object.keys(t),s=a.map(u=>t[u]);return l(s,(...u)=>u.reduce((d,h,g)=>(d[a[g]]=h,d),{}))},{withTypes:()=>Yx});Vy({memoize:Hx,memoizeOptions:{maxSize:1,equalityCheck:Object.is}});const Fe=(t,l,a,s,r,u,...d)=>{if(d.length>0)throw new Error($i(1));let h;if(t)h=t;else throw new Error("Missing arguments");return h};var Gx=G1();const Qx=ly(19),Kx=Qx?Zx:Jx;function Xx(t,l,a,s,r){return Kx(t,l,a,s,r)}function Zx(t,l,a,s,r){const u=S.useCallback(()=>l(t.getSnapshot(),a,s,r),[t,l,a,s,r]);return Gx.useSyncExternalStore(t.subscribe,u,u)}function Jx(t,l,a,s,r){return Q1.useSyncExternalStoreWithSelector(t.subscribe,t.getSnapshot,t.getSnapshot,u=>l(u,a,s,r))}class Xs{constructor(l){this.state=l,this.listeners=new Set,this.updateTick=0}subscribe=l=>(this.listeners.add(l),()=>{this.listeners.delete(l)});getSnapshot=()=>this.state;setState(l){if(this.state===l)return;this.state=l,this.updateTick+=1;const a=this.updateTick;for(const s of this.listeners){if(a!==this.updateTick)return;s(l)}}update(l){for(const a in l)if(!Object.is(this.state[a],l[a])){Xs.prototype.setState.call(this,{...this.state,...l});return}}set(l,a){Object.is(this.state[l],a)||Xs.prototype.setState.call(this,{...this.state,[l]:a})}notifyAll(){const l={...this.state};Xs.prototype.setState.call(this,l)}}class Fy extends Xs{constructor(l,a={},s){super(l),this.context=a,this.selectors=s}controlledValues=new Map;useSyncedValue(l,a){S.useDebugValue(l),Le(()=>{this.state[l]!==a&&this.set(l,a)},[l,a])}useSyncedValueWithCleanup(l,a){Le(()=>(this.state[l]!==a&&this.set(l,a),()=>{this.set(l,void 0)}),[l,a])}useSyncedValues(l){const a=Object.values(l);Le(()=>{this.update(l)},a)}useControlledProp(l,a,s){S.useDebugValue(l);const r=a!==void 0;this.controlledValues.has(l)||(this.controlledValues.set(l,r),!r&&!Object.is(this.state[l],s)&&super.setState({...this.state,[l]:s})),Le(()=>{r&&!Object.is(this.state[l],a)&&super.setState({...this.state,[l]:a})},[l,a,s,r])}set(l,a){this.controlledValues.get(l)!==!0&&super.set(l,a)}update(l){const a={...l};for(const s in a)if(Object.hasOwn(a,s)&&this.controlledValues.get(s)===!0){delete a[s];continue}super.update(a)}setState(l){const a={...l};for(const s in a)if(Object.hasOwn(a,s)&&this.controlledValues.get(s)===!0){delete a[s];continue}super.setState({...this.state,...a})}select=(l,a,s,r)=>{const u=this.selectors[l];return u(this.state,a,s,r)};useState=(l,a,s,r)=>{S.useDebugValue(l);const u=this.selectors[l];return Xx(this,u,a,s,r)};useContextCallback(l,a){S.useDebugValue(l);const s=Te(a??SC);this.context[l]=s}useStateSetter(l){const a=S.useRef(void 0);return a.current===void 0&&(a.current=s=>{this.set(l,s)}),a.current}observe(l,a){let s;typeof l=="function"?s=l:s=this.selectors[l];let r=s(this.state);return a(r,r,this),this.subscribe(u=>{const d=s(u);if(!Object.is(r,d)){const h=r;r=d,a(d,h,this)}})}}const Wx={open:Fe(t=>t.open),domReferenceElement:Fe(t=>t.domReferenceElement),referenceElement:Fe(t=>t.positionReference??t.referenceElement),floatingElement:Fe(t=>t.floatingElement),floatingId:Fe(t=>t.floatingId)};class jh extends Fy{constructor(l){const{nested:a,noEmit:s,onOpenChange:r,triggerElements:u,...d}=l;super({...d,positionReference:d.referenceElement,domReferenceElement:d.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:wy(),nested:a,noEmit:s,triggerElements:u},Wx)}setOpen=(l,a)=>{if((!l||!this.state.open||iE(a.event))&&(this.context.dataRef.current.openEvent=l?a.event:void 0),!this.context.noEmit){const s={open:l,reason:a.reason,nativeEvent:a.event,nested:this.context.nested,triggerElement:a.trigger};this.context.events.emit("openchange",s)}this.context.onOpenChange?.(l,a)}}function eR(t,l){const a=S.useRef(null);return S.useCallback(s=>{t!==void 0&&(a.current!==null&&(l.context.triggerElements.delete(a.current),a.current=null),s!==null&&(a.current=t,l.context.triggerElements.add(t,s)))},[l,t])}function tR(t,l,a,s){const r=a.useState("isMountedByTrigger",t),u=eR(t,a),d=Te(h=>{u(h),h!==null&&a.select("open")&&a.select("activeTriggerId")==null&&a.update({activeTriggerId:t,activeTriggerElement:h,...s})});return Le(()=>{r&&a.update({activeTriggerElement:l.current,...s})},[r,a,l,...Object.values(s)]),{registerTrigger:d,isMountedByThisTrigger:r}}function nR(t){const l=t.useState("open");Le(()=>{if(l&&!t.select("activeTriggerId")&&t.context.triggerElements.size===1){const a=t.context.triggerElements.entries().next();if(!a.done){const[s,r]=a.value;t.update({activeTriggerId:s,activeTriggerElement:r})}}},[l,t])}function lR(t,l,a){const{mounted:s,setMounted:r,transitionStatus:u}=UC(t);l.useSyncedValues({mounted:s,transitionStatus:u});const d=Te(()=>{r(!1),l.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1}),a?.(),l.context.onOpenChangeComplete?.(!1)}),h=l.useState("preventUnmountingOnClose");return Ry({enabled:!h,open:t,ref:l.context.popupRef,onComplete(){t||d()}}),{forceUnmount:d,transitionStatus:u}}class Uh{constructor(){this.elements=new Set,this.idMap=new Map}add(l,a){const s=this.idMap.get(l);s!==a&&(s!==void 0&&this.elements.delete(s),this.elements.add(a),this.idMap.set(l,a))}delete(l){const a=this.idMap.get(l);a&&(this.elements.delete(a),this.idMap.delete(l))}hasElement(l){return this.elements.has(l)}hasMatchingElement(l){for(const a of this.elements)if(l(a))return!0;return!1}getById(l){return this.idMap.get(l)}entries(){return this.idMap.entries()}get size(){return this.idMap.size}}function aR(){return new jh({open:!1,floatingElement:null,referenceElement:null,triggerElements:new Uh,floatingId:"",nested:!1,noEmit:!1,onOpenChange:void 0})}function iR(){return{open:!1,mounted:!1,transitionStatus:"idle",floatingRootContext:aR(),preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,popupElement:null,positionerElement:null,activeTriggerProps:Vt,inactiveTriggerProps:Vt,popupProps:Vt}}const sR={open:Fe(t=>t.open),mounted:Fe(t=>t.mounted),transitionStatus:Fe(t=>t.transitionStatus),floatingRootContext:Fe(t=>t.floatingRootContext),preventUnmountingOnClose:Fe(t=>t.preventUnmountingOnClose),payload:Fe(t=>t.payload),activeTriggerId:Fe(t=>t.activeTriggerId),activeTriggerElement:Fe(t=>t.mounted?t.activeTriggerElement:null),isTriggerActive:Fe((t,l)=>l!==void 0&&t.activeTriggerId===l),isOpenedByTrigger:Fe((t,l)=>l!==void 0&&t.activeTriggerId===l&&t.open),isMountedByTrigger:Fe((t,l)=>l!==void 0&&t.activeTriggerId===l&&t.mounted),triggerProps:Fe((t,l)=>l?t.activeTriggerProps:t.inactiveTriggerProps),popupProps:Fe(t=>t.popupProps),popupElement:Fe(t=>t.popupElement),positionerElement:Fe(t=>t.positionerElement)};function oR(t){const{open:l=!1,onOpenChange:a,elements:s={}}=t,r=co(),u=ho()!=null,d=Fn(()=>new jh({open:l,onOpenChange:a,referenceElement:s.reference??null,floatingElement:s.floating??null,triggerElements:s.triggers??new Uh,floatingId:r,nested:u,noEmit:t.noEmit||!1})).current;return Le(()=>{const h={open:l,floatingId:r};s.reference!==void 0&&(h.referenceElement=s.reference,h.domReferenceElement=$e(s.reference)?s.reference:null),s.floating!==void 0&&(h.floatingElement=s.floating),d.update(h)},[l,r,s.reference,s.floating,d]),d.context.onOpenChange=a,d.context.nested=u,d.context.noEmit=t.noEmit||!1,d}function rR(t={}){const{nodeId:l,externalTree:a}=t,s=oR(t),r=t.rootContext||s,u={reference:r.useState("referenceElement"),floating:r.useState("floatingElement"),domReference:r.useState("domReferenceElement")},[d,h]=S.useState(null),g=S.useRef(null),b=go(a);Le(()=>{u.domReference&&(g.current=u.domReference)},[u.domReference]);const m=Sx({...t,elements:{...u,...d&&{reference:d}}}),p=S.useCallback(M=>{const N=$e(M)?{getBoundingClientRect:()=>M.getBoundingClientRect(),getClientRects:()=>M.getClientRects(),contextElement:M}:M;h(N),m.refs.setReference(N)},[m.refs]),[v,_]=S.useState(null),[C,E]=S.useState(null);r.useSyncedValue("referenceElement",v),r.useSyncedValue("domReferenceElement",$e(v)?v:null),r.useSyncedValue("floatingElement",C);const x=S.useCallback(M=>{($e(M)||M===null)&&(g.current=M,_(M)),($e(m.refs.reference.current)||m.refs.reference.current===null||M!==null&&!$e(M))&&m.refs.setReference(M)},[m.refs,_]),R=S.useCallback(M=>{E(M),m.refs.setFloating(M)},[m.refs]),O=S.useMemo(()=>({...m.refs,setReference:x,setFloating:R,setPositionReference:p,domReference:g}),[m.refs,x,R,p]),L=S.useMemo(()=>({...m.elements,domReference:u.domReference}),[m.elements,u.domReference]),j=r.useState("open"),U=r.useState("floatingId"),P=S.useMemo(()=>({...m,dataRef:r.context.dataRef,open:j,onOpenChange:r.setOpen,events:r.context.events,floatingId:U,refs:O,elements:L,nodeId:l,rootStore:r}),[m,O,L,l,r,j,U]);return Le(()=>{r.context.dataRef.current.floatingContext=P;const M=b?.nodesRef.current.find(N=>N.id===l);M&&(M.context=P)}),S.useMemo(()=>({...m,context:P,refs:O,elements:L,rootStore:r}),[m,O,L,P,r])}function uR(t){const{popupStore:l,noEmit:a=!1,treatPopupAsFloatingElement:s=!1,onOpenChange:r}=t,u=co(),d=ho()!=null,h=l.useState("open"),g=l.useState("activeTriggerElement"),b=l.useState(s?"popupElement":"positionerElement"),m=l.context.triggerElements,p=Fn(()=>new jh({open:h,referenceElement:g,floatingElement:b,triggerElements:m,onOpenChange:r,floatingId:u,nested:d,noEmit:a})).current;return Le(()=>{const v={open:h,floatingId:u,referenceElement:g,floatingElement:b};$e(g)&&(v.domReferenceElement=g),p.update(v)},[h,u,g,b,p]),p.context.onOpenChange=r,p.context.nested=d,p.context.noEmit=a,p}const Rd=JC&&fy;function cR(t,l={}){const a="rootStore"in t?t.rootStore:t,{events:s,dataRef:r}=a.context,{enabled:u=!0,visibleOnly:d=!0}=l,h=S.useRef(!1),g=Li(),b=S.useRef(!0);S.useEffect(()=>{const p=a.select("domReferenceElement");if(!u)return;const v=wt(p);function _(){!a.select("open")&&It(p)&&p===Gd(zn(p))&&(h.current=!0)}function C(){b.current=!0}function E(){b.current=!1}return v.addEventListener("blur",_),Rd&&(v.addEventListener("keydown",C,!0),v.addEventListener("pointerdown",E,!0)),()=>{v.removeEventListener("blur",_),Rd&&(v.removeEventListener("keydown",C,!0),v.removeEventListener("pointerdown",E,!0))}},[a,u]),S.useEffect(()=>{if(!u)return;function p(v){(v.reason===mu||v.reason===wh)&&(h.current=!0)}return s.on("openchange",p),()=>{s.off("openchange",p)}},[s,u]);const m=S.useMemo(()=>({onMouseLeave(){h.current=!1},onFocus(p){if(h.current)return;const v=Hn(p.nativeEvent);if(d&&$e(v)){if(Rd&&!p.relatedTarget){if(!b.current&&!py(v))return}else if(!lE(v))return}a.setOpen(!0,ht(Bd,p.nativeEvent,p.currentTarget))},onBlur(p){h.current=!1;const v=p.relatedTarget,_=p.nativeEvent,C=$e(v)&&v.hasAttribute(Uu("focus-guard"))&&v.getAttribute("data-type")==="outside";g.start(0,()=>{const E=a.select("domReferenceElement"),x=Gd(E?E.ownerDocument:document);!v&&x===E||Tt(r.current.floatingContext?.refs.floating.current,x)||Tt(E,x)||C||a.context.triggerElements.hasElement(p.relatedTarget)||a.setOpen(!1,ht(Bd,_))})}}),[r,a,d,g]);return S.useMemo(()=>u?{reference:m,trigger:m}:{},[u,m])}const Jd=Uu("safe-polygon"),fR=`button,a,[role="button"],select,[tabindex]:not([tabindex="-1"]),${by}`;function dR(t){return t?!!t.closest(fR):!1}function Iy(t){const l=S.useRef(void 0),a=S.useRef(!1),s=S.useRef(void 0),r=S.useRef(!0),u=S.useRef(!1),d=S.useRef(()=>{}),h=S.useRef(!1),g=Li(),b=Li(),m=S.useRef(void 0);return S.useMemo(()=>{const p=t.context.dataRef.current;return p.hoverInteractionState||(p.hoverInteractionState={pointerTypeRef:l,interactedInsideRef:a,handlerRef:s,blockMouseMoveRef:r,performedPointerEventsMutationRef:u,unbindMouseMoveRef:d,restTimeoutPendingRef:h,openChangeTimeout:g,restTimeout:b,handleCloseOptionsRef:m}),p.hoverInteractionState},[t,l,a,s,r,u,d,h,g,b,m])}const hR=new Set(["click","mousedown"]);function gR(t,l={}){const a="rootStore"in t?t.rootStore:t,s=a.useState("open"),r=a.useState("floatingElement"),u=a.useState("domReferenceElement"),{dataRef:d}=a.context,{enabled:h=!0,closeDelay:g=0,externalTree:b}=l,{pointerTypeRef:m,interactedInsideRef:p,handlerRef:v,performedPointerEventsMutationRef:_,unbindMouseMoveRef:C,restTimeoutPendingRef:E,openChangeTimeout:x,handleCloseOptionsRef:R}=Iy(a),O=go(b),L=ho(),j=Te(()=>p.current?!0:d.current.openEvent?hR.has(d.current.openEvent.type):!1),U=Te(()=>{const ee=d.current.openEvent?.type;return ee?.includes("mouse")&&ee!=="mousedown"}),P=S.useCallback((ee,z=!0)=>{const K=bR(g,m.current);K&&!v.current?x.start(K,()=>a.setOpen(!1,ht(hl,ee))):z&&(x.clear(),a.setOpen(!1,ht(hl,ee)))},[g,v,a,m,x]),M=Te(()=>{C.current(),v.current=void 0}),N=Te(()=>{if(_.current){const ee=zn(r).body;ee.style.pointerEvents="",ee.removeAttribute(Jd),_.current=!1}}),J=Te(ee=>{const z=Hn(ee);if(!dR(z)){p.current=!1;return}p.current=!0});Le(()=>{s||(m.current=void 0,E.current=!1,p.current=!1,M(),N())},[s,m,E,p,M,N]),S.useEffect(()=>()=>{M()},[M]),S.useEffect(()=>N,[N]),Le(()=>{if(h&&s&&R.current?.blockPointerEvents&&U()&&$e(u)&&r){_.current=!0;const ee=zn(r).body;ee.setAttribute(Jd,"");const z=u,K=r,I=O?.nodesRef.current.find(G=>G.id===L)?.context?.elements.floating;return I&&(I.style.pointerEvents=""),ee.style.pointerEvents="none",z.style.pointerEvents="auto",K.style.pointerEvents="auto",()=>{ee.style.pointerEvents="",z.style.pointerEvents="",K.style.pointerEvents=""}}},[h,s,u,r,R,U,O,L,_]),S.useEffect(()=>{if(!h)return;function ee(G){if(j()||!d.current.floatingContext||!a.select("open"))return;const le=a.context.triggerElements;G.relatedTarget&&le.hasElement(G.relatedTarget)||(N(),M(),j()||P(G))}function z(G){x.clear(),N(),v.current?.(G),M()}function K(G){j()||P(G,!1)}const I=r;return I&&(I.addEventListener("mouseleave",ee),I.addEventListener("mouseenter",z),I.addEventListener("mouseleave",K),I.addEventListener("pointerdown",J,!0)),()=>{I&&(I.removeEventListener("mouseleave",ee),I.removeEventListener("mouseenter",z),I.removeEventListener("mouseleave",K),I.removeEventListener("pointerdown",J,!0))}})}function bR(t,l){return l&&!eo(l)?0:typeof t=="function"?t():t}function Td(t){return typeof t=="function"?t():t}const pR={current:null};function mR(t,l={}){const a="rootStore"in t?t.rootStore:t,{dataRef:s,events:r}=a.context,{enabled:u=!0,delay:d=0,handleClose:h=null,mouseOnly:g=!1,restMs:b=0,move:m=!0,triggerElementRef:p=pR,externalTree:v,isActiveTrigger:_=!0}=l,C=go(v),{pointerTypeRef:E,interactedInsideRef:x,handlerRef:R,blockMouseMoveRef:O,performedPointerEventsMutationRef:L,unbindMouseMoveRef:j,restTimeoutPendingRef:U,openChangeTimeout:P,restTimeout:M,handleCloseOptionsRef:N}=Iy(a),J=za(h),ee=za(d),z=za(b);_&&(N.current=J.current?.__options);const K=Te(()=>x.current?!0:s.current.openEvent?["click","mousedown"].includes(s.current.openEvent.type):!1),I=S.useCallback((F,q=!0)=>{const ae=au(ee.current,"close",E.current);ae&&!R.current?P.start(ae,()=>a.setOpen(!1,ht(hl,F))):q&&(P.clear(),a.setOpen(!1,ht(hl,F)))},[ee,R,a,E,P]),G=Te(()=>{j.current(),R.current=void 0}),le=Te(()=>{if(L.current){const F=zn(a.select("domReferenceElement")).body;F.style.pointerEvents="",F.removeAttribute(Jd),L.current=!1}});S.useEffect(()=>{if(!u)return;function F(q){q.open||(P.clear(),M.clear(),O.current=!0,U.current=!1)}return r.on("openchange",F),()=>{r.off("openchange",F)}},[u,r,P,M,O,U]);const T=Te(F=>{if(K()||!s.current.floatingContext)return;const q=a.context.triggerElements;if(F.relatedTarget&&q.hasElement(F.relatedTarget))return;const ae=p.current;J.current?.({...s.current.floatingContext,tree:C,x:F.clientX,y:F.clientY,onClose(){le(),G(),!K()&&ae===a.select("domReferenceElement")&&I(F)}})(F)});return S.useEffect(()=>{if(!u)return;const F=p.current??(_?a.select("domReferenceElement"):null);if(!$e(F))return;function q(w){if(P.clear(),O.current=!1,g&&!eo(E.current)||Td(z.current)>0&&!au(ee.current,"open"))return;const Q=au(ee.current,"open",E.current),ne=a.select("domReferenceElement"),se=a.context.triggerElements,re=(se.hasElement(w.target)||se.hasMatchingElement(we=>Tt(we,w.target)))&&(!ne||!Tt(ne,w.target)),oe=w.currentTarget??null,ue=!a.select("open")||re;Q?P.start(Q,()=>{ue&&a.setOpen(!0,ht(hl,w,oe))}):ue&&a.setOpen(!0,ht(hl,w,oe))}function ae(w){if(K()){le();return}j.current();const Q=a.select("domReferenceElement"),ne=zn(Q);M.clear(),U.current=!1;const se=a.context.triggerElements;if(w.relatedTarget&&se.hasElement(w.relatedTarget))return;if(J.current&&s.current.floatingContext){a.select("open")||P.clear();const oe=p.current;R.current=J.current({...s.current.floatingContext,tree:C,x:w.clientX,y:w.clientY,onClose(){le(),G(),!K()&&oe===a.select("domReferenceElement")&&I(w,!0)}});const ue=R.current;ue(w),ne.addEventListener("mousemove",ue),j.current=()=>{ne.removeEventListener("mousemove",ue)};return}(E.current==="touch"?!Tt(a.select("floatingElement"),w.relatedTarget):!0)&&I(w)}function de(w){T(w)}return a.select("open")&&F.addEventListener("mouseleave",de),m&&F.addEventListener("mousemove",q,{once:!0}),F.addEventListener("mouseenter",q),F.addEventListener("mouseleave",ae),()=>{F.removeEventListener("mouseleave",de),m&&F.removeEventListener("mousemove",q),F.removeEventListener("mouseenter",q),F.removeEventListener("mouseleave",ae)}},[G,le,O,s,ee,I,a,u,J,T,_,K,g,m,E,z,M,U,P,p,C,j,R]),S.useMemo(()=>{function F(q){E.current=q.pointerType}return{onPointerDown:F,onPointerEnter:F,onMouseMove(q){const{nativeEvent:ae}=q,de=q.currentTarget,w=a.select("domReferenceElement"),Q=a.context.triggerElements,ne=a.select("open"),se=(Q.hasElement(q.target)||Q.hasMatchingElement(oe=>Tt(oe,q.target)))&&(!w||!Tt(w,q.target));if(g&&!eo(E.current)||ne&&!se||Td(z.current)===0||!se&&U.current&&q.movementX**2+q.movementY**2<2)return;M.clear();function re(){!O.current&&(!ne||se)&&a.setOpen(!0,ht(hl,ae,de))}E.current==="touch"?pl.flushSync(()=>{re()}):se&&ne?re():(U.current=!0,M.start(Td(z.current),re))}}},[O,g,a,E,z,M,U])}function yR(t=[]){const l=t.map(b=>b?.reference),a=t.map(b=>b?.floating),s=t.map(b=>b?.item),r=t.map(b=>b?.trigger),u=S.useCallback(b=>Fr(b,t,"reference"),l),d=S.useCallback(b=>Fr(b,t,"floating"),a),h=S.useCallback(b=>Fr(b,t,"item"),s),g=S.useCallback(b=>Fr(b,t,"trigger"),r);return S.useMemo(()=>({getReferenceProps:u,getFloatingProps:d,getItemProps:h,getTriggerProps:g}),[u,d,h,g])}function Fr(t,l,a){const s=new Map,r=a==="item",u={};a==="floating"&&(u.tabIndex=-1,u[Yd]="");for(const d in t)r&&t&&(d===hy||d===gy)||(u[d]=t[d]);for(let d=0;d<l.length;d+=1){let h;const g=l[d]?.[a];typeof g=="function"?h=t?g(t):null:h=g,h&&Fm(u,h,r,s)}return Fm(u,t,r,s),u}function Fm(t,l,a,s){for(const r in l){const u=l[r];a&&(r===hy||r===gy)||(r.startsWith("on")?(s.has(r)||s.set(r,[]),typeof u=="function"&&(s.get(r)?.push(u),t[r]=(...d)=>s.get(r)?.map(h=>h(...d)).find(h=>h!==void 0))):t[r]=u)}}function Im(t,l){const[a,s]=t;let r=!1;const u=l.length;for(let d=0,h=u-1;d<u;h=d++){const[g,b]=l[d]||[0,0],[m,p]=l[h]||[0,0];b>=s!=p>=s&&a<=(m-g)*(s-b)/(p-b)+g&&(r=!r)}return r}function vR(t,l){return t[0]>=l.x&&t[0]<=l.x+l.width&&t[1]>=l.y&&t[1]<=l.y+l.height}function _R(t={}){const{buffer:l=.5,blockPointerEvents:a=!1,requireIntent:s=!0}=t,r=new Ui;let u=!1,d=null,h=null,g=typeof performance<"u"?performance.now():0;function b(p,v){const _=performance.now(),C=_-g;if(d===null||h===null||C===0)return d=p,h=v,g=_,null;const E=p-d,x=v-h,O=Math.sqrt(E*E+x*x)/C;return d=p,h=v,g=_,O}const m=({x:p,y:v,placement:_,elements:C,onClose:E,nodeId:x,tree:R})=>function(L){function j(){r.clear(),E()}if(r.clear(),!C.domReference||!C.floating||_==null||p==null||v==null)return;const{clientX:U,clientY:P}=L,M=[U,P],N=Hn(L),J=L.type==="mouseleave",ee=Tt(C.floating,N),z=Tt(C.domReference,N),K=C.domReference.getBoundingClientRect(),I=C.floating.getBoundingClientRect(),G=_.split("-")[0],le=p>I.right-I.width/2,T=v>I.bottom-I.height/2,F=vR(M,K),q=I.width>K.width,ae=I.height>K.height,de=(q?K:I).left,w=(q?K:I).right,Q=(ae?K:I).top,ne=(ae?K:I).bottom;if(ee&&(u=!0,!J))return;if(z&&(u=!1),z&&!J){u=!0;return}if(J&&$e(L.relatedTarget)&&Tt(C.floating,L.relatedTarget)||R&&Ks(R.nodesRef.current,x).some(({context:oe})=>oe?.open))return;if(G==="top"&&v>=K.bottom-1||G==="bottom"&&v<=K.top+1||G==="left"&&p>=K.right-1||G==="right"&&p<=K.left+1)return j();let se=[];switch(G){case"top":se=[[de,K.top+1],[de,I.bottom-1],[w,I.bottom-1],[w,K.top+1]];break;case"bottom":se=[[de,I.top+1],[de,K.bottom-1],[w,K.bottom-1],[w,I.top+1]];break;case"left":se=[[I.right-1,ne],[I.right-1,Q],[K.left+1,Q],[K.left+1,ne]];break;case"right":se=[[K.right-1,ne],[K.right-1,Q],[I.left+1,Q],[I.left+1,ne]];break}function re([oe,ue]){switch(G){case"top":{const we=[q?oe+l/2:le?oe+l*4:oe-l*4,ue+l+1],ye=[q?oe-l/2:le?oe+l*4:oe-l*4,ue+l+1],Ke=[[I.left,le||q?I.bottom-l:I.top],[I.right,le?q?I.bottom-l:I.top:I.bottom-l]];return[we,ye,...Ke]}case"bottom":{const we=[q?oe+l/2:le?oe+l*4:oe-l*4,ue-l],ye=[q?oe-l/2:le?oe+l*4:oe-l*4,ue-l],Ke=[[I.left,le||q?I.top+l:I.bottom],[I.right,le?q?I.top+l:I.bottom:I.top+l]];return[we,ye,...Ke]}case"left":{const we=[oe+l+1,ae?ue+l/2:T?ue+l*4:ue-l*4],ye=[oe+l+1,ae?ue-l/2:T?ue+l*4:ue-l*4];return[...[[T||ae?I.right-l:I.left,I.top],[T?ae?I.right-l:I.left:I.right-l,I.bottom]],we,ye]}case"right":{const we=[oe-l,ae?ue+l/2:T?ue+l*4:ue-l*4],ye=[oe-l,ae?ue-l/2:T?ue+l*4:ue-l*4],Ke=[[T||ae?I.left+l:I.right,I.top],[T?ae?I.left+l:I.right:I.left+l,I.bottom]];return[we,ye,...Ke]}default:return[]}}if(!Im([U,P],se)){if(u&&!F)return j();if(!J&&s){const oe=b(L.clientX,L.clientY);if(oe!==null&&oe<.1)return j()}Im([U,P],re([p,v]))?!u&&s&&r.start(40,j):j()}};return m.__options={blockPointerEvents:a},m}let qh=(function(t){return t.open="data-open",t.closed="data-closed",t[t.startingStyle=yu.startingStyle]="startingStyle",t[t.endingStyle=yu.endingStyle]="endingStyle",t.anchorHidden="data-anchor-hidden",t})({}),Wd=(function(t){return t.popupOpen="data-popup-open",t.pressed="data-pressed",t})({});const kR={[Wd.popupOpen]:""},SR={[Wd.popupOpen]:"",[Wd.pressed]:""},CR={[qh.open]:""},ER={[qh.closed]:""},xR={[qh.anchorHidden]:""},RR={open(t){return t?kR:null}},BM={open(t){return t?SR:null}},Hh={open(t){return t?CR:ER},anchorHidden(t){return t?xR:null}},TR=t=>({name:"arrow",options:t,async fn(l){const{x:a,y:s,placement:r,rects:u,platform:d,elements:h,middlewareData:g}=l,{element:b,padding:m=0,offsetParent:p="real"}=yl(t,l)||{};if(b==null)return{};const v=my(m),_={x:a,y:s},C=Lh(r),E=Dh(C),x=await d.getDimensions(b),R=C==="y",O=R?"top":"left",L=R?"bottom":"right",j=R?"clientHeight":"clientWidth",U=u.reference[E]+u.reference[C]-_[C]-u.floating[E],P=_[C]-u.reference[C],M=p==="real"?await d.getOffsetParent?.(b):h.floating;let N=h.floating[j]||u.floating[E];(!N||!await d.isElement?.(M))&&(N=h.floating[j]||u.floating[E]);const J=U/2-P/2,ee=N/2-x[E]/2-1,z=Math.min(v[O],ee),K=Math.min(v[L],ee),I=z,G=N-x[E]-K,le=N/2-x[E]/2+J,T=Qd(I,le,G),F=!g.arrow&&na(r)!=null&&le!==T&&u.reference[E]/2-(le<I?z:K)-x[E]/2<0,q=F?le<I?le-I:le-G:0;return{[C]:_[C]+q,data:{[C]:T,centerOffset:le-T-q,...F&&{alignmentOffset:q}},reset:F}}}),wR=(t,l)=>({...TR(t),options:[t,l]}),AR={name:"hide",async fn(t){const{width:l,height:a,x:s,y:r}=t.rects.reference,u=l===0&&a===0&&s===0&&r===0;return{data:{referenceHidden:(await wx().fn(t)).data?.referenceHidden||u}}}},su={sideX:"left",sideY:"top"},OR={name:"adaptiveOrigin",async fn(t){const{x:l,y:a,rects:{floating:s},elements:{floating:r},platform:u,strategy:d,placement:h}=t,g=wt(r),b=g.getComputedStyle(r);if(!(b.transitionDuration!=="0s"&&b.transitionDuration!==""))return{x:l,y:a,data:su};const p=await u.getOffsetParent?.(r);let v={width:0,height:0};if(d==="fixed"&&g?.visualViewport)v={width:g.visualViewport.width,height:g.visualViewport.height};else if(p===g){const O=Ty(r);v={width:O.documentElement.clientWidth,height:O.documentElement.clientHeight}}else await u.isElement?.(p)&&(v=await u.getDimensions(p));const _=Ft(h);let C=l,E=a;_==="left"&&(C=v.width-(l+s.width)),_==="top"&&(E=v.height-(a+s.height));const x=_==="left"?"right":su.sideX,R=_==="top"?"bottom":su.sideY;return{x:C,y:E,data:{sideX:x,sideY:R}}}};function Yy(t,l,a){const s=t==="inline-start"||t==="inline-end";return{top:"top",right:s?a?"inline-start":"inline-end":"right",bottom:"bottom",left:s?a?"inline-end":"inline-start":"left"}[l]}function Ym(t,l,a){const{rects:s,placement:r}=t;return{side:Yy(l,Ft(r),a),align:na(r)||"center",anchor:{width:s.reference.width,height:s.reference.height},positioner:{width:s.floating.width,height:s.floating.height}}}function MR(t){const{anchor:l,positionMethod:a="absolute",side:s="bottom",sideOffset:r=0,align:u="center",alignOffset:d=0,collisionBoundary:h,collisionPadding:g=5,sticky:b=!1,arrowPadding:m=5,disableAnchorTracking:p=!1,keepMounted:v=!1,floatingRootContext:_,mounted:C,collisionAvoidance:E,shiftCrossAxis:x=!1,nodeId:R,adaptiveOrigin:O,lazyFlip:L=!1,externalTree:j}=t,[U,P]=S.useState(null);!C&&U!==null&&P(null);const M=E.side||"flip",N=E.align||"flip",J=E.fallbackAxisSide||"end",ee=typeof l=="function"?l:void 0,z=Te(ee),K=ee?z:l,I=za(l),le=ey()==="rtl",T=U||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":le?"left":"right","inline-start":le?"right":"left"}[s],F=u==="center"?T:`${T}-${u}`;let q=g;const ae=1,de=s==="bottom"?ae:0,w=s==="top"?ae:0,Q=s==="right"?ae:0,ne=s==="left"?ae:0;typeof q=="number"?q={top:q+de,right:q+ne,bottom:q+w,left:q+Q}:q&&(q={top:(q.top||0)+de,right:(q.right||0)+ne,bottom:(q.bottom||0)+w,left:(q.left||0)+Q});const se={boundary:h==="clipping-ancestors"?"clippingAncestors":h,padding:q},re=S.useRef(null),oe=za(r),ue=za(d),Ke=[Cx(Ze=>{const xt=Ym(Ze,s,le),sn=typeof oe.current=="function"?oe.current(xt):oe.current,gt=typeof ue.current=="function"?ue.current(xt):ue.current;return{mainAxis:sn,crossAxis:gt,alignmentAxis:gt}},[typeof r!="function"?r:0,typeof d!="function"?d:0,le,s])],ie=N==="none"&&M!=="shift",pe=!ie&&(b||x||M==="shift"),ge=M==="none"?null:Rx({...se,padding:{top:q.top+ae,right:q.right+ae,bottom:q.bottom+ae,left:q.left+ae},mainAxis:!x&&M==="flip",crossAxis:N==="flip"?"alignment":!1,fallbackAxisSideDirection:J}),Ye=ie?null:Ex(Ze=>{const xt=Ty(Ze.elements.floating).documentElement;return{...se,rootBoundary:x?{x:0,y:0,width:xt.clientWidth,height:xt.clientHeight}:void 0,mainAxis:N!=="none",crossAxis:pe,limiter:b||x?void 0:xx(sn=>{if(!re.current)return{};const{width:gt,height:En}=re.current.getBoundingClientRect(),xn=kn(Ft(sn.placement)),on=xn==="y"?gt:En,kl=xn==="y"?q.left+q.right:q.top+q.bottom;return{offset:on/2+kl/2}})}},[se,b,x,q,N]);M==="shift"||N==="shift"||u==="center"?Ke.push(Ye,ge):Ke.push(ge,Ye),Ke.push(Tx({...se,apply({elements:{floating:Ze},rects:{reference:xt},availableWidth:sn,availableHeight:gt}){Object.entries({"--available-width":`${sn}px`,"--available-height":`${gt}px`,"--anchor-width":`${xt.width}px`,"--anchor-height":`${xt.height}px`}).forEach(([En,xn])=>{Ze.style.setProperty(En,xn)})}}),wR(()=>({element:re.current||document.createElement("div"),padding:m,offsetParent:"floating"}),[m]),{name:"transformOrigin",fn(Ze){const{elements:xt,middlewareData:sn,placement:gt,rects:En,y:xn}=Ze,on=Ft(gt),kl=kn(on),Sl=re.current,Yu=sn.arrow?.x||0,vo=sn.arrow?.y||0,Hi=Sl?.clientWidth||0,sa=Sl?.clientHeight||0,Bi=Yu+Hi/2,Vi=vo+sa/2,_o=Math.abs(sn.shift?.y||0),ko=En.reference.height/2,Gn=typeof r=="function"?r(Ym(Ze,s,le)):r,Fi=_o>Gn,So={top:`${Bi}px calc(100% + ${Gn}px)`,bottom:`${Bi}px ${-Gn}px`,left:`calc(100% + ${Gn}px) ${Vi}px`,right:`${-Gn}px ${Vi}px`}[on],Co=`${Bi}px ${En.reference.y+ko-xn}px`;return xt.floating.style.setProperty("--transform-origin",pe&&kl==="y"&&Fi?Co:So),{}}},AR,O),Le(()=>{!C&&_&&_.update({referenceElement:null,floatingElement:null,domReferenceElement:null})},[C,_]);const _e=S.useMemo(()=>({elementResize:!p&&typeof ResizeObserver<"u",layoutShift:!p&&typeof IntersectionObserver<"u"}),[p]),{refs:je,elements:Ie,x:Dn,y:Gt,middlewareData:ut,update:Be,placement:Lt,context:Oe,isPositioned:Se,floatingStyles:ct}=rR({rootContext:_,placement:F,middleware:Ke,strategy:a,whileElementsMounted:v?void 0:(...Ze)=>qm(...Ze,_e),nodeId:R,externalTree:j}),{sideX:Ln,sideY:aa}=ut.adaptiveOrigin||su,Pn=Se?a:"fixed",Ua=S.useMemo(()=>O?{position:Pn,[Ln]:Dn,[aa]:Gt}:{position:Pn,...ct},[O,Pn,Ln,Dn,aa,Gt,ct]),Yn=S.useRef(null);Le(()=>{if(!C)return;const Ze=I.current,xt=typeof Ze=="function"?Ze():Ze,gt=(Gm(xt)?xt.current:xt)||null||null;gt!==Yn.current&&(je.setPositionReference(gt),Yn.current=gt)},[C,je,K,I]),S.useEffect(()=>{if(!C)return;const Ze=I.current;typeof Ze!="function"&&Gm(Ze)&&Ze.current!==Yn.current&&(je.setPositionReference(Ze.current),Yn.current=Ze.current)},[C,je,K,I]),S.useEffect(()=>{if(v&&C&&Ie.domReference&&Ie.floating)return qm(Ie.domReference,Ie.floating,Be,_e)},[v,C,Ie,Be,_e]);const ia=Ft(Lt),yo=Yy(s,ia,le),_l=na(Lt)||"center",Ct=!!ut.hide?.referenceHidden;Le(()=>{L&&C&&Se&&P(ia)},[L,C,Se,ia]);const Cn=S.useMemo(()=>({position:"absolute",top:ut.arrow?.y,left:ut.arrow?.x}),[ut.arrow]),Et=ut.arrow?.centerOffset!==0;return S.useMemo(()=>({positionerStyles:Ua,arrowStyles:Cn,arrowRef:re,arrowUncentered:Et,side:yo,align:_l,physicalSide:ia,anchorHidden:Ct,refs:je,context:Oe,isPositioned:Se,update:Be}),[Ua,Cn,re,Et,yo,_l,ia,Ct,je,Oe,Se,Be])}function Gm(t){return t!=null&&"current"in t}function Gy(t){return t==="starting"?CC:Vt}function Qm(t){const l=ln(t);let a=parseFloat(l.width)||0,s=parseFloat(l.height)||0;const r=It(t),u=r?t.offsetWidth:a,d=r?t.offsetHeight:s;return(zi(a)!==u||zi(s)!==d)&&(a=u,s=d),{width:a,height:s}}const zR=typeof ResizeObserver<"u",DR=()=>!0;function LR(t){const{popupElement:l,positionerElement:a,content:s,mounted:r,enabled:u=DR,onMeasureLayout:d,onMeasureLayoutComplete:h,side:g,direction:b}=t,m=S.useRef(!0),p=ry(l,!0,!1),v=oy(),_=S.useRef(null),C=Te(d),E=Te(h),x=S.useMemo(()=>{let R=g==="top",O=g==="left";return b==="rtl"?(R=R||g==="inline-end",O=O||g==="inline-end"):(R=R||g==="inline-start",O=O||g==="inline-start"),R?{position:"absolute",[g==="top"?"bottom":"top"]:"0",[O?"right":"left"]:"0"}:Vt},[g,b]);Le(()=>{if(!r||!u()||!zR){m.current=!0,_.current=null;return}if(!l||!a)return;Object.entries(x).forEach(([J,ee])=>{l.style.setProperty(J,ee)});const R=new ResizeObserver(J=>{const ee=J[0];ee&&(_.current===null?_.current={width:Math.ceil(ee.borderBoxSize[0].inlineSize),height:Math.ceil(ee.borderBoxSize[0].blockSize)}:(_.current.width=Math.ceil(ee.borderBoxSize[0].inlineSize),_.current.height=Math.ceil(ee.borderBoxSize[0].blockSize)))});R.observe(l),l.style.setProperty("--popup-width","auto"),l.style.setProperty("--popup-height","auto");const O=Us(l,"position","static"),L=Us(l,"transform","none"),j=Us(l,"scale","1"),U=Us(a,"--available-width","max-content"),P=Us(a,"--available-height","max-content");if(C?.(),m.current||_.current===null){a.style.setProperty("--positioner-width","max-content"),a.style.setProperty("--positioner-height","max-content");const J=Qm(l);return a.style.setProperty("--positioner-width",`${J.width}px`),a.style.setProperty("--positioner-height",`${J.height}px`),O(),L(),j(),U(),P(),E?.(null,J),m.current=!1,()=>{R.disconnect()}}l.style.setProperty("--popup-width","auto"),l.style.setProperty("--popup-height","auto"),a.style.setProperty("--positioner-width","max-content"),a.style.setProperty("--positioner-height","max-content");const M=Qm(l);l.style.setProperty("--popup-width",`${_.current.width}px`),l.style.setProperty("--popup-height",`${_.current.height}px`),O(),L(),U(),P(),E?.(_.current,M),a.style.setProperty("--positioner-width",`${M.width}px`),a.style.setProperty("--positioner-height",`${M.height}px`);const N=new AbortController;return v.request(()=>{l.style.setProperty("--popup-width",`${M.width}px`),l.style.setProperty("--popup-height",`${M.height}px`),p(()=>{l.style.setProperty("--popup-width","auto"),l.style.setProperty("--popup-height","auto")},N.signal)}),()=>{R.disconnect(),N.abort(),v.cancel()}},[s,l,a,p,v,u,r,C,E,x])}function Us(t,l,a){const s=t.style.getPropertyValue(l);return t.style.setProperty(l,a),()=>{t.style.setProperty(l,s)}}const PR=S.forwardRef(function(l,a){const{children:s,container:r,className:u,render:d,...h}=l,{portalNode:g,portalSubtree:b}=Dy({container:r,ref:a,componentProps:l,elementProps:h});return!b&&!g?null:Z.jsxs(S.Fragment,{children:[b,g&&pl.createPortal(s,g)]})}),Qy=S.createContext(void 0);function bo(t){const l=S.useContext(Qy);if(l===void 0&&!t)throw new Error($i(72));return l}const NR={...sR,disabled:Fe(t=>t.disabled),instantType:Fe(t=>t.instantType),isInstantPhase:Fe(t=>t.isInstantPhase),trackCursorAxis:Fe(t=>t.trackCursorAxis),disableHoverablePopup:Fe(t=>t.disableHoverablePopup),lastOpenChangeReason:Fe(t=>t.openChangeReason),closeDelay:Fe(t=>t.closeDelay)};class Bh extends Fy{constructor(l){super({...$R(),...l},{popupRef:S.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:new Uh},NR)}setOpen=(l,a)=>{const s=a.reason,r=s===hl,u=l&&s===Bd,d=!l&&(s===mu||s===wh);if(a.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},this.context.onOpenChange?.(l,a),a.isCanceled)return;const h=()=>{const g={open:l,openChangeReason:s};u?g.instantType="focus":d?g.instantType="dismiss":s===hl&&(g.instantType=void 0);const b=a.trigger?.id??null;(b||l)&&(g.activeTriggerId=b,g.activeTriggerElement=a.trigger??null),this.update(g)};r?pl.flushSync(h):h()};static useStore(l,a){const s=Fn(()=>l??new Bh(a)).current,r=uR({popupStore:s,onOpenChange:s.setOpen});return s.state.floatingRootContext=r,s}}function $R(){return{...iR(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeDelay:0}}function jR(t){const{disabled:l=!1,defaultOpen:a=!1,open:s,disableHoverablePopup:r=!1,trackCursorAxis:u="none",actionsRef:d,onOpenChange:h,onOpenChangeComplete:g,handle:b,triggerId:m,defaultTriggerId:p=null,children:v}=t,_=Bh.useStore(b?.store,{open:s??a,activeTriggerId:m!==void 0?m:p});_.useControlledProp("open",s,a),_.useControlledProp("activeTriggerId",m,p),_.useContextCallback("onOpenChange",h),_.useContextCallback("onOpenChangeComplete",g);const C=_.useState("open"),E=_.useState("activeTriggerId"),x=_.useState("payload");_.useSyncedValues({trackCursorAxis:u,disableHoverablePopup:r});const R=!l&&C;Le(()=>{C&&l&&_.setOpen(!1,ht(MC))},[C,l,_]),_.useSyncedValue("disabled",l),nR(_);const{forceUnmount:O,transitionStatus:L}=lR(R,_),j=_.useState("isInstantPhase"),U=_.useState("instantType"),P=_.useState("lastOpenChangeReason"),M=S.useRef(null);Le(()=>{L==="ending"&&P===Th||L!=="ending"&&j?(U!=="delay"&&(M.current=U),_.set("instantType","delay")):M.current!==null&&(_.set("instantType",M.current),M.current=null)},[L,j,P,U,_]),Le(()=>{R&&E==null&&_.set("payload",void 0)},[_,E,R]);const N=S.useCallback(()=>{_.setOpen(!1,UR(_,zC))},[_]);S.useImperativeHandle(d,()=>({unmount:O,close:N}),[O,N]);const J=_.useState("floatingRootContext"),ee=cR(J,{enabled:!l}),z=Mx(J,{enabled:!l,referencePress:!0}),K=BE(J,{enabled:!l&&u!=="none",axis:u==="none"?void 0:u}),{getReferenceProps:I,getFloatingProps:G,getTriggerProps:le}=yR([ee,z,K]),T=S.useMemo(()=>I(),[I]),F=S.useMemo(()=>le(),[le]),q=S.useMemo(()=>G(),[G]);return _.useSyncedValues({floatingRootContext:J,activeTriggerProps:T,inactiveTriggerProps:F,popupProps:q}),Z.jsx(Qy.Provider,{value:_,children:typeof v=="function"?v({payload:x}):v})}function UR(t,l){const a=ht(l);return a.preventUnmountOnClose=()=>{t.set("preventUnmountingOnClose",!0)},a}const Ky=S.createContext(void 0);function qR(){return S.useContext(Ky)}const HR=600,BR=S.forwardRef(function(l,a){const{className:s,render:r,handle:u,payload:d,disabled:h,delay:g,closeDelay:b,id:m,...p}=l,v=bo(!0),_=u?.store??v;if(!_)throw new Error($i(82));const C=PC(m),E=_.useState("isTriggerActive",C),x=_.useState("floatingRootContext"),R=_.useState("isOpenedByTrigger",C),O=S.useRef(null),L=g??HR,j=b??0,{registerTrigger:U,isMountedByThisTrigger:P}=tR(C,O,_,{payload:d,closeDelay:j}),M=qR(),{delayRef:N,isInstantPhase:J,hasProvider:ee}=$E(x,{open:R});_.useSyncedValue("isInstantPhase",J);const z=_.useState("disabled"),K=h??z,I=_.useState("trackCursorAxis"),G=_.useState("disableHoverablePopup"),le=mR(x,{enabled:!K,mouseOnly:!0,move:!1,handleClose:!G&&I!=="both"?_R():null,restMs(){const ae=M?.delay,de=typeof N.current=="object"?N.current.open:void 0;let w=L;return ee&&(de!==0?w=g??ae??L:w=0),w},delay(){const ae=typeof N.current=="object"?N.current.close:void 0;let de=j;return b==null&&ee&&(de=ae),{close:de}},triggerElementRef:O,isActiveTrigger:E}),T=S.useMemo(()=>({open:R}),[R]),F=_.useState("triggerProps",P);return uo("button",l,{state:T,ref:[a,U,O],props:[le,F,{id:C},p],stateAttributesMapping:RR})}),Xy=S.createContext(void 0);function VR(){const t=S.useContext(Xy);if(t===void 0)throw new Error($i(70));return t}const FR=S.forwardRef(function(l,a){const{keepMounted:s=!1,...r}=l;return bo().useState("mounted")||s?Z.jsx(Xy.Provider,{value:s,children:Z.jsx(PR,{ref:a,...r})}):null}),Zy=S.createContext(void 0);function Jy(){const t=S.useContext(Zy);if(t===void 0)throw new Error($i(71));return t}const IR=S.forwardRef(function(l,a){const{render:s,className:r,anchor:u,positionMethod:d="absolute",side:h="top",align:g="center",sideOffset:b=0,alignOffset:m=0,collisionBoundary:p="clipping-ancestors",collisionPadding:v=5,arrowPadding:_=5,sticky:C=!1,disableAnchorTracking:E=!1,collisionAvoidance:x=EC,...R}=l,O=bo(),L=VR(),j=O.useState("open"),U=O.useState("mounted"),P=O.useState("trackCursorAxis"),M=O.useState("disableHoverablePopup"),N=O.useState("floatingRootContext"),J=O.useState("instantType"),ee=O.useState("transitionStatus"),z=MR({anchor:u,positionMethod:d,floatingRootContext:N,mounted:U,side:h,sideOffset:b,align:g,alignOffset:m,collisionBoundary:p,collisionPadding:v,sticky:C,arrowPadding:_,disableAnchorTracking:E,keepMounted:L,collisionAvoidance:x,adaptiveOrigin:OR}),K=S.useMemo(()=>{const T={};return(!j||P==="both"||M)&&(T.pointerEvents="none"),{role:"presentation",hidden:!U,style:{...z.positionerStyles,...T}}},[j,P,M,U,z.positionerStyles]),I=S.useMemo(()=>({open:j,side:z.side,align:z.align,anchorHidden:z.anchorHidden,instant:P!=="none"?"tracking-cursor":J}),[j,z.side,z.align,z.anchorHidden,P,J]),G=S.useMemo(()=>({...I,arrowRef:z.arrowRef,arrowStyles:z.arrowStyles,arrowUncentered:z.arrowUncentered}),[I,z.arrowRef,z.arrowStyles,z.arrowUncentered]),le=uo("div",l,{state:I,props:[K,Gy(ee),R],ref:[a,O.useStateSetter("positionerElement")],stateAttributesMapping:Hh});return Z.jsx(Zy.Provider,{value:G,children:le})}),YR={...Hh,...BC},GR=S.forwardRef(function(l,a){const{className:s,render:r,...u}=l,d=bo(),{side:h,align:g}=Jy(),b=d.useState("open"),m=d.useState("mounted"),p=d.useState("instantType"),v=d.useState("transitionStatus"),_=d.useState("popupProps"),C=d.useState("payload"),E=d.useState("popupElement"),x=d.useState("positionerElement"),R=d.useState("floatingRootContext"),O=ey();Ry({open:b,ref:d.context.popupRef,onComplete(){b&&d.context.onOpenChangeComplete?.(!0)}});function L(){R.context.events.emit("measure-layout")}function j(ee,z){R.context.events.emit("measure-layout-complete",{previousDimensions:ee,nextDimensions:z})}const U=S.useCallback(()=>d.context.triggerElements.size>1,[d]);LR({popupElement:E,positionerElement:x,mounted:m,content:C,enabled:U,onMeasureLayout:L,onMeasureLayoutComplete:j,side:h,direction:O});const P=d.useState("disabled"),M=d.useState("closeDelay");gR(R,{enabled:!P,closeDelay:M});const N=S.useMemo(()=>({open:b,side:h,align:g,instant:p,transitionStatus:v}),[b,h,g,p,v]);return uo("div",l,{state:N,ref:[a,d.context.popupRef,d.useStateSetter("popupElement")],props:[_,Gy(v),u],stateAttributesMapping:YR})}),QR=S.forwardRef(function(l,a){const{className:s,render:r,...u}=l,h=bo().useState("instantType"),{open:g,arrowRef:b,side:m,align:p,arrowUncentered:v,arrowStyles:_}=Jy(),C=S.useMemo(()=>({open:g,side:m,align:p,uncentered:v,instant:h}),[g,m,p,v,h]);return uo("div",l,{state:C,ref:[a,b],props:[{style:_,"aria-hidden":!0},u],stateAttributesMapping:Hh})}),KR=function(l){const{delay:a,closeDelay:s,timeout:r=400}=l,u=S.useMemo(()=>({delay:a,closeDelay:s}),[a,s]),d=S.useMemo(()=>({open:a,close:s}),[a,s]);return Z.jsx(Ky.Provider,{value:u,children:Z.jsx(NE,{delay:d,timeoutMs:r,children:l.children})})};function Wy(t){var l,a,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var r=t.length;for(l=0;l<r;l++)t[l]&&(a=Wy(t[l]))&&(s&&(s+=" "),s+=a)}else for(a in t)t[a]&&(s&&(s+=" "),s+=a);return s}function vl(){for(var t,l,a=0,s="",r=arguments.length;a<r;a++)(t=arguments[a])&&(l=Wy(t))&&(s&&(s+=" "),s+=l);return s}function XR(t,l){if(typeof t!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var s=a.call(t,l);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(t)}function ZR(t){var l=XR(t,"string");return typeof l=="symbol"?l:String(l)}function JR(t,l,a){return l=ZR(l),l in t?Object.defineProperty(t,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[l]=a,t}function Km(t,l){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);l&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),a.push.apply(a,s)}return a}function Xm(t){for(var l=1;l<arguments.length;l++){var a=arguments[l]!=null?arguments[l]:{};l%2?Km(Object(a),!0).forEach(function(s){JR(t,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Km(Object(a)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(a,s))})}return t}function Zm(t,l){var a={};for(var s in t)a[s]=l(t[s],s);return a}var WR=(t,l,a)=>{for(var s of Object.keys(t)){var r;if(t[s]!==((r=l[s])!==null&&r!==void 0?r:a[s]))return!1}return!0},an=t=>{var l=a=>{var s=t.defaultClassName,r=Xm(Xm({},t.defaultVariants),a);for(var u in r){var d,h=(d=r[u])!==null&&d!==void 0?d:t.defaultVariants[u];if(h!=null){var g=h;typeof g=="boolean"&&(g=g===!0?"true":"false");var b=t.variantClassNames[u][g];b&&(s+=" "+b)}}for(var[m,p]of t.compoundVariants)WR(m,r,t.defaultVariants)&&(s+=" "+p);return s};return l.variants=()=>Object.keys(t.variantClassNames),l.classNames={get base(){return t.defaultClassName.split(" ")[0]},get variants(){return Zm(t.variantClassNames,a=>Zm(a,s=>s.split(" ")[0]))}},l},VM=an({defaultClassName:"ymzkqw0",variantClassNames:{size:{default:"ymzkqw1",sm:"ymzkqw2",lg:"ymzkqw3",icon:"ymzkqw4"},variant:{primary:"ymzkqw5",outline:"ymzkqw6",ghost:"ymzkqw7"},scheme:{default:"ymzkqw8",destructive:"ymzkqw9",gray:"ymzkqwa"}},defaultVariants:{size:"default",variant:"primary"},compoundVariants:[[{variant:"primary",scheme:"destructive"},"ymzkqwb"],[{variant:"outline",scheme:"destructive"},"ymzkqwc"],[{variant:"ghost",scheme:"destructive"},"ymzkqwd"],[{variant:"primary",scheme:"gray"},"ymzkqwe"],[{variant:"outline",scheme:"gray"},"ymzkqwf"],[{variant:"ghost",scheme:"gray"},"ymzkqwg"]]}),eT="_6nl8g20",tT="_6nl8g21";const nT=t=>{const l=At.c(5);let a;l[0]!==t.className?(a=vl(tT,t.className),l[0]=t.className,l[1]=a):a=l[1];let s;return l[2]!==t||l[3]!==a?(s=Z.jsx("div",{className:eT,children:Z.jsx("div",{...t,className:a})}),l[2]=t,l[3]=a,l[4]=s):s=l[4],s},Hu=typeof document<"u"?ot.useLayoutEffect:()=>{};var wd;const lT=(wd=ot.useInsertionEffect)!==null&&wd!==void 0?wd:Hu;function Gl(t){const l=S.useRef(null);return lT(()=>{l.current=t},[t]),S.useCallback((...a)=>{const s=l.current;return s?.(...a)},[])}const ev={prefix:String(Math.round(Math.random()*1e10)),current:0},tv=ot.createContext(ev),aT=ot.createContext(!1);let Ad=new WeakMap;function iT(t=!1){let l=S.useContext(tv),a=S.useRef(null);if(a.current===null&&!t){var s,r;let u=(r=ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||r===void 0||(s=r.ReactCurrentOwner)===null||s===void 0?void 0:s.current;if(u){let d=Ad.get(u);d==null?Ad.set(u,{id:l.current,state:u.memoizedState}):u.memoizedState!==d.state&&(l.current=d.id,Ad.delete(u))}a.current=++l.current}return a.current}function sT(t){let l=S.useContext(tv),a=iT(!!t),s=`react-aria${l.prefix}`;return t||`${s}-${a}`}function oT(t){let l=ot.useId(),[a]=S.useState(dT()),s=a?"react-aria":`react-aria${ev.prefix}`;return t||`${s}-${l}`}const rT=typeof ot.useId=="function"?oT:sT;function uT(){return!1}function cT(){return!0}function fT(t){return()=>{}}function dT(){return typeof ot.useSyncExternalStore=="function"?ot.useSyncExternalStore(fT,uT,cT):S.useContext(aT)}let hT=!!(typeof window<"u"&&window.document&&window.document.createElement),Ti=new Map,Vs;typeof FinalizationRegistry<"u"&&(Vs=new FinalizationRegistry(t=>{Ti.delete(t)}));function Jm(t){let[l,a]=S.useState(t),s=S.useRef(null),r=rT(l),u=S.useRef(null);if(Vs&&Vs.register(u,r),hT){const d=Ti.get(r);d&&!d.includes(s)?d.push(s):Ti.set(r,[s])}return Hu(()=>{let d=r;return()=>{Vs&&Vs.unregister(u),Ti.delete(d)}},[r]),S.useEffect(()=>{let d=s.current;return d&&a(d),()=>{d&&(s.current=null)}}),r}function gT(t,l){if(t===l)return t;let a=Ti.get(t);if(a)return a.forEach(r=>r.current=l),l;let s=Ti.get(l);return s?(s.forEach(r=>r.current=t),t):l}function nv(...t){return(...l)=>{for(let a of t)typeof a=="function"&&a(...l)}}const zt=t=>{var l;return(l=t?.ownerDocument)!==null&&l!==void 0?l:document},Mn=t=>t&&"window"in t&&t.window===t?t:zt(t).defaultView||window;function bT(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function pT(t){return bT(t)&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}let mT=!1;function Vh(){return mT}function vn(t,l){if(!Vh())return l&&t?t.contains(l):!1;if(!t||!l)return!1;let a=l;for(;a!==null;){if(a===t)return!0;a.tagName==="SLOT"&&a.assignedSlot?a=a.assignedSlot.parentNode:pT(a)?a=a.host:a=a.parentNode}return!1}const lo=(t=document)=>{var l;if(!Vh())return t.activeElement;let a=t.activeElement;for(;a&&"shadowRoot"in a&&(!((l=a.shadowRoot)===null||l===void 0)&&l.activeElement);)a=a.shadowRoot.activeElement;return a};function Mt(t){return Vh()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target}function ta(...t){let l={...t[0]};for(let a=1;a<t.length;a++){let s=t[a];for(let r in s){let u=l[r],d=s[r];typeof u=="function"&&typeof d=="function"&&r[0]==="o"&&r[1]==="n"&&r.charCodeAt(2)>=65&&r.charCodeAt(2)<=90?l[r]=nv(u,d):(r==="className"||r==="UNSAFE_className")&&typeof u=="string"&&typeof d=="string"?l[r]=vl(u,d):r==="id"&&u&&d?l.id=gT(u,d):l[r]=d!==void 0?d:u}}return l}function yT(...t){return t.length===1&&t[0]?t[0]:l=>{let a=!1;const s=t.map(r=>{const u=Wm(r,l);return a||(a=typeof u=="function"),u});if(a)return()=>{s.forEach((r,u)=>{typeof r=="function"?r():Wm(t[u],null)})}}}function Wm(t,l){if(typeof t=="function")return t(l);t!=null&&(t.current=l)}const vT=new Set(["id"]),_T=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),kT=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),ST=new Set(["dir","lang","hidden","inert","translate"]),e1=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"]),CT=/^(data-.*)$/;function lv(t,l={}){let{labelable:a,isLink:s,global:r,events:u=r,propNames:d}=l,h={};for(const g in t)Object.prototype.hasOwnProperty.call(t,g)&&(vT.has(g)||a&&_T.has(g)||s&&kT.has(g)||r&&ST.has(g)||u&&e1.has(g)||g.endsWith("Capture")&&e1.has(g.slice(0,-7))||d?.has(g)||CT.test(g))&&(h[g]=t[g]);return h}function Pi(t){if(ET())t.focus({preventScroll:!0});else{let l=xT(t);t.focus(),RT(l)}}let Ir=null;function ET(){if(Ir==null){Ir=!1;try{document.createElement("div").focus({get preventScroll(){return Ir=!0,!0}})}catch{}}return Ir}function xT(t){let l=t.parentNode,a=[],s=document.scrollingElement||document.documentElement;for(;l instanceof HTMLElement&&l!==s;)(l.offsetHeight<l.scrollHeight||l.offsetWidth<l.scrollWidth)&&a.push({element:l,scrollTop:l.scrollTop,scrollLeft:l.scrollLeft}),l=l.parentNode;return s instanceof HTMLElement&&a.push({element:s,scrollTop:s.scrollTop,scrollLeft:s.scrollLeft}),a}function RT(t){for(let{element:l,scrollTop:a,scrollLeft:s}of t)l.scrollTop=a,l.scrollLeft=s}function Bu(t){var l;if(typeof window>"u"||window.navigator==null)return!1;let a=(l=window.navigator.userAgentData)===null||l===void 0?void 0:l.brands;return Array.isArray(a)&&a.some(s=>t.test(s.brand))||t.test(window.navigator.userAgent)}function Fh(t){var l;return typeof window<"u"&&window.navigator!=null?t.test(((l=window.navigator.userAgentData)===null||l===void 0?void 0:l.platform)||window.navigator.platform):!1}function la(t){let l=null;return()=>(l==null&&(l=t()),l)}const ao=la(function(){return Fh(/^Mac/i)}),TT=la(function(){return Fh(/^iPhone/i)}),av=la(function(){return Fh(/^iPad/i)||ao()&&navigator.maxTouchPoints>1}),iv=la(function(){return TT()||av()}),wT=la(function(){return Bu(/AppleWebKit/i)&&!AT()}),AT=la(function(){return Bu(/Chrome/i)}),sv=la(function(){return Bu(/Android/i)}),OT=la(function(){return Bu(/Firefox/i)});function io(t,l,a=!0){var s,r;let{metaKey:u,ctrlKey:d,altKey:h,shiftKey:g}=l;OT()&&(!((r=window.event)===null||r===void 0||(s=r.type)===null||s===void 0)&&s.startsWith("key"))&&t.target==="_blank"&&(ao()?u=!0:d=!0);let b=wT()&&ao()&&!av()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:u,ctrlKey:d,altKey:h,shiftKey:g}):new MouseEvent("click",{metaKey:u,ctrlKey:d,altKey:h,shiftKey:g,bubbles:!0,cancelable:!0});io.isOpening=a,Pi(t),t.dispatchEvent(b),io.isOpening=!1}io.isOpening=!1;let Ql=new Map,eh=new Set;function t1(){if(typeof window>"u")return;function t(s){return"propertyName"in s}let l=s=>{if(!t(s)||!s.target)return;let r=Ql.get(s.target);r||(r=new Set,Ql.set(s.target,r),s.target.addEventListener("transitioncancel",a,{once:!0})),r.add(s.propertyName)},a=s=>{if(!t(s)||!s.target)return;let r=Ql.get(s.target);if(r&&(r.delete(s.propertyName),r.size===0&&(s.target.removeEventListener("transitioncancel",a),Ql.delete(s.target)),Ql.size===0)){for(let u of eh)u();eh.clear()}};document.body.addEventListener("transitionrun",l),document.body.addEventListener("transitionend",a)}typeof document<"u"&&(document.readyState!=="loading"?t1():document.addEventListener("DOMContentLoaded",t1));function MT(){for(const[t]of Ql)"isConnected"in t&&!t.isConnected&&Ql.delete(t)}function ov(t){requestAnimationFrame(()=>{MT(),Ql.size===0?t():eh.add(t)})}function Ih(){let t=S.useRef(new Map),l=S.useCallback((r,u,d,h)=>{let g=h?.once?(...b)=>{t.current.delete(d),d(...b)}:d;t.current.set(d,{type:u,eventTarget:r,fn:g,options:h}),r.addEventListener(u,g,h)},[]),a=S.useCallback((r,u,d,h)=>{var g;let b=((g=t.current.get(d))===null||g===void 0?void 0:g.fn)||d;r.removeEventListener(u,b,h),t.current.delete(d)},[]),s=S.useCallback(()=>{t.current.forEach((r,u)=>{a(r.eventTarget,r.type,u,r.options)})},[a]);return S.useEffect(()=>s,[s]),{addGlobalListener:l,removeGlobalListener:a,removeAllGlobalListeners:s}}function zT(t){const l=S.useRef(null),a=S.useRef(void 0),s=S.useCallback(r=>{if(typeof t=="function"){const u=t,d=u(r);return()=>{typeof d=="function"?d():u(null)}}else if(t)return t.current=r,()=>{t.current=null}},[t]);return S.useMemo(()=>({get current(){return l.current},set current(r){l.current=r,a.current&&(a.current(),a.current=void 0),r!=null&&(a.current=s(r))}}),[s])}function rv(t,l){Hu(()=>{if(t&&t.ref&&l)return t.ref.current=l.current,()=>{t.ref&&(t.ref.current=null)}})}function uv(t){return t.pointerType===""&&t.isTrusted?!0:sv()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function DT(t){return!sv()&&t.width===0&&t.height===0||t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"}const LT=typeof Element<"u"&&"checkVisibility"in Element.prototype;function PT(t){const l=Mn(t);if(!(t instanceof l.HTMLElement)&&!(t instanceof l.SVGElement))return!1;let{display:a,visibility:s}=t.style,r=a!=="none"&&s!=="hidden"&&s!=="collapse";if(r){const{getComputedStyle:u}=t.ownerDocument.defaultView;let{display:d,visibility:h}=u(t);r=d!=="none"&&h!=="hidden"&&h!=="collapse"}return r}function NT(t,l){return!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&(t.nodeName==="DETAILS"&&l&&l.nodeName!=="SUMMARY"?t.hasAttribute("open"):!0)}function cv(t,l){return LT?t.checkVisibility({visibilityProperty:!0})&&!t.closest("[data-react-aria-prevent-focus]"):t.nodeName!=="#comment"&&PT(t)&&NT(t,l)&&(!t.parentElement||cv(t.parentElement,t))}const fv=["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"],$T=fv.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";fv.push('[tabindex]:not([tabindex="-1"]):not([disabled])');function jT(t){return t.matches($T)&&cv(t)&&!UT(t)}function UT(t){let l=t;for(;l!=null;){if(l instanceof l.ownerDocument.defaultView.HTMLElement&&l.inert)return!0;l=l.parentElement}return!1}const qT=Symbol("default");function HT(t){let{className:l,style:a,children:s,defaultClassName:r,defaultChildren:u,defaultStyle:d,values:h}=t;return S.useMemo(()=>{let g,b,m;return typeof l=="function"?g=l({...h,defaultClassName:r}):g=l,typeof a=="function"?b=a({...h,defaultStyle:d||{}}):b=a,typeof s=="function"?m=s({...h,defaultChildren:u}):s==null?m=u:m=s,{className:g??r,style:b||d?{...d,...b}:void 0,children:m??u,"data-rac":""}},[l,a,s,r,u,d,h])}function BT(t,l){let a=S.useContext(t);if(l===null)return null;if(a&&typeof a=="object"&&"slots"in a&&a.slots){let s=l||qT;if(!a.slots[s]){let r=new Intl.ListFormat().format(Object.keys(a.slots).map(d=>`"${d}"`)),u=l?`Invalid slot "${l}".`:"A slot prop is required.";throw new Error(`${u} Valid slot names are ${r}.`)}return a.slots[s]}return a}function VT(t,l,a){let s=BT(a,t.slot)||{},{ref:r,...u}=s,d=zT(S.useMemo(()=>yT(l,r),[l,r])),h=ta(u,t);return"style"in u&&u.style&&"style"in t&&t.style&&(typeof u.style=="function"||typeof t.style=="function"?h.style=g=>{let b=typeof u.style=="function"?u.style(g):u.style,m={...g.defaultStyle,...b},p=typeof t.style=="function"?t.style({...g,defaultStyle:m}):t.style;return{...m,...p}}:h.style={...u.style,...t.style}),[h,d]}const dv=7e3;let qn=null;function n1(t,l="assertive",a=dv){qn?qn.announce(t,l,a):(qn=new FT,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?qn.announce(t,l,a):setTimeout(()=>{qn?.isAttached()&&qn?.announce(t,l,a)},100))}class FT{isAttached(){var l;return(l=this.node)===null||l===void 0?void 0:l.isConnected}createLog(l){let a=document.createElement("div");return a.setAttribute("role","log"),a.setAttribute("aria-live",l),a.setAttribute("aria-relevant","additions"),a}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(l,a="assertive",s=dv){var r,u;if(!this.node)return;let d=document.createElement("div");typeof l=="object"?(d.setAttribute("role","img"),d.setAttribute("aria-labelledby",l["aria-labelledby"])):d.textContent=l,a==="assertive"?(r=this.assertiveLog)===null||r===void 0||r.appendChild(d):(u=this.politeLog)===null||u===void 0||u.appendChild(d),l!==""&&setTimeout(()=>{d.remove()},s)}clear(l){this.node&&((!l||l==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!l||l==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}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))}}function IT(t,l){if(l.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function YT(t,l,a){IT(t,l),l.set(t,a)}function Yh(t){let l=t;return l.nativeEvent=t,l.isDefaultPrevented=()=>l.defaultPrevented,l.isPropagationStopped=()=>l.cancelBubble,l.persist=()=>{},l}function hv(t,l){Object.defineProperty(t,"target",{value:l}),Object.defineProperty(t,"currentTarget",{value:l})}function gv(t){let l=S.useRef({isFocused:!1,observer:null});Hu(()=>{const s=l.current;return()=>{s.observer&&(s.observer.disconnect(),s.observer=null)}},[]);let a=Gl(s=>{t?.(s)});return S.useCallback(s=>{if(s.target instanceof HTMLButtonElement||s.target instanceof HTMLInputElement||s.target instanceof HTMLTextAreaElement||s.target instanceof HTMLSelectElement){l.current.isFocused=!0;let r=s.target,u=d=>{if(l.current.isFocused=!1,r.disabled){let h=Yh(d);a(h)}l.current.observer&&(l.current.observer.disconnect(),l.current.observer=null)};r.addEventListener("focusout",u,{once:!0}),l.current.observer=new MutationObserver(()=>{if(l.current.isFocused&&r.disabled){var d;(d=l.current.observer)===null||d===void 0||d.disconnect();let h=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:h})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:h}))}}),l.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[a])}let Ru=!1;function GT(t){for(;t&&!jT(t);)t=t.parentElement;let l=Mn(t),a=l.document.activeElement;if(!a||a===t)return;Ru=!0;let s=!1,r=m=>{(m.target===a||s)&&m.stopImmediatePropagation()},u=m=>{(m.target===a||s)&&(m.stopImmediatePropagation(),!t&&!s&&(s=!0,Pi(a),g()))},d=m=>{(m.target===t||s)&&m.stopImmediatePropagation()},h=m=>{(m.target===t||s)&&(m.stopImmediatePropagation(),s||(s=!0,Pi(a),g()))};l.addEventListener("blur",r,!0),l.addEventListener("focusout",u,!0),l.addEventListener("focusin",h,!0),l.addEventListener("focus",d,!0);let g=()=>{cancelAnimationFrame(b),l.removeEventListener("blur",r,!0),l.removeEventListener("focusout",u,!0),l.removeEventListener("focusin",h,!0),l.removeEventListener("focus",d,!0),Ru=!1,s=!1},b=requestAnimationFrame(g);return g}let xi="default",th="",ou=new WeakMap;function QT(t){if(iv()){if(xi==="default"){const l=zt(t);th=l.documentElement.style.webkitUserSelect,l.documentElement.style.webkitUserSelect="none"}xi="disabled"}else if(t instanceof HTMLElement||t instanceof SVGElement){let l="userSelect"in t.style?"userSelect":"webkitUserSelect";ou.set(t,t.style[l]),t.style[l]="none"}}function l1(t){if(iv()){if(xi!=="disabled")return;xi="restoring",setTimeout(()=>{ov(()=>{if(xi==="restoring"){const l=zt(t);l.documentElement.style.webkitUserSelect==="none"&&(l.documentElement.style.webkitUserSelect=th||""),th="",xi="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&ou.has(t)){let l=ou.get(t),a="userSelect"in t.style?"userSelect":"webkitUserSelect";t.style[a]==="none"&&(t.style[a]=l),t.getAttribute("style")===""&&t.removeAttribute("style"),ou.delete(t)}}const bv=ot.createContext({register:()=>{}});bv.displayName="PressResponderContext";function KT(t,l){return l.get?l.get.call(t):l.value}function pv(t,l,a){if(!l.has(t))throw new TypeError("attempted to "+a+" private field on non-instance");return l.get(t)}function XT(t,l){var a=pv(t,l,"get");return KT(t,a)}function ZT(t,l,a){if(l.set)l.set.call(t,a);else{if(!l.writable)throw new TypeError("attempted to set read only private field");l.value=a}}function a1(t,l,a){var s=pv(t,l,"set");return ZT(t,s,a),a}function JT(t){let l=S.useContext(bv);if(l){let{register:a,...s}=l;t=ta(s,t),a()}return rv(l,t.ref),t}var Yr=new WeakMap;class Gr{continuePropagation(){a1(this,Yr,!1)}get shouldStopPropagation(){return XT(this,Yr)}constructor(l,a,s,r){YT(this,Yr,{writable:!0,value:void 0}),a1(this,Yr,!0);var u;let d=(u=r?.target)!==null&&u!==void 0?u:s.currentTarget;const h=d?.getBoundingClientRect();let g,b=0,m,p=null;s.clientX!=null&&s.clientY!=null&&(m=s.clientX,p=s.clientY),h&&(m!=null&&p!=null?(g=m-h.left,b=p-h.top):(g=h.width/2,b=h.height/2)),this.type=l,this.pointerType=a,this.target=s.currentTarget,this.shiftKey=s.shiftKey,this.metaKey=s.metaKey,this.ctrlKey=s.ctrlKey,this.altKey=s.altKey,this.x=g,this.y=b}}const i1=Symbol("linkClicked"),s1="react-aria-pressable-style",o1="data-react-aria-pressable";function WT(t){let{onPress:l,onPressChange:a,onPressStart:s,onPressEnd:r,onPressUp:u,onClick:d,isDisabled:h,isPressed:g,preventFocusOnPress:b,shouldCancelOnPointerExit:m,allowTextSelectionOnPress:p,ref:v,..._}=JT(t),[C,E]=S.useState(!1),x=S.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:R,removeAllGlobalListeners:O}=Ih(),L=Gl((z,K)=>{let I=x.current;if(h||I.didFirePressStart)return!1;let G=!0;if(I.isTriggeringEvent=!0,s){let le=new Gr("pressstart",K,z);s(le),G=le.shouldStopPropagation}return a&&a(!0),I.isTriggeringEvent=!1,I.didFirePressStart=!0,E(!0),G}),j=Gl((z,K,I=!0)=>{let G=x.current;if(!G.didFirePressStart)return!1;G.didFirePressStart=!1,G.isTriggeringEvent=!0;let le=!0;if(r){let T=new Gr("pressend",K,z);r(T),le=T.shouldStopPropagation}if(a&&a(!1),E(!1),l&&I&&!h){let T=new Gr("press",K,z);l(T),le&&(le=T.shouldStopPropagation)}return G.isTriggeringEvent=!1,le}),U=Gl((z,K)=>{let I=x.current;if(h)return!1;if(u){I.isTriggeringEvent=!0;let G=new Gr("pressup",K,z);return u(G),I.isTriggeringEvent=!1,G.shouldStopPropagation}return!0}),P=Gl(z=>{let K=x.current;if(K.isPressed&&K.target){K.didFirePressStart&&K.pointerType!=null&&j(Ea(K.target,z),K.pointerType,!1),K.isPressed=!1,K.isOverTarget=!1,K.activePointerId=null,K.pointerType=null,O(),p||l1(K.target);for(let I of K.disposables)I();K.disposables=[]}}),M=Gl(z=>{m&&P(z)}),N=Gl(z=>{h||d?.(z)}),J=Gl((z,K)=>{if(!h&&d){let I=new MouseEvent("click",z);hv(I,K),d(Yh(I))}}),ee=S.useMemo(()=>{let z=x.current,K={onKeyDown(G){if(Od(G.nativeEvent,G.currentTarget)&&vn(G.currentTarget,Mt(G.nativeEvent))){var le;r1(Mt(G.nativeEvent),G.key)&&G.preventDefault();let T=!0;if(!z.isPressed&&!G.repeat){z.target=G.currentTarget,z.isPressed=!0,z.pointerType="keyboard",T=L(G,"keyboard");let F=G.currentTarget,q=ae=>{Od(ae,F)&&!ae.repeat&&vn(F,Mt(ae))&&z.target&&U(Ea(z.target,ae),"keyboard")};R(zt(G.currentTarget),"keyup",nv(q,I),!0)}T&&G.stopPropagation(),G.metaKey&&ao()&&((le=z.metaKeyEvents)===null||le===void 0||le.set(G.key,G.nativeEvent))}else G.key==="Meta"&&(z.metaKeyEvents=new Map)},onClick(G){if(!(G&&!vn(G.currentTarget,Mt(G.nativeEvent)))&&G&&G.button===0&&!z.isTriggeringEvent&&!io.isOpening){let le=!0;if(h&&G.preventDefault(),!z.ignoreEmulatedMouseEvents&&!z.isPressed&&(z.pointerType==="virtual"||uv(G.nativeEvent))){let T=L(G,"virtual"),F=U(G,"virtual"),q=j(G,"virtual");N(G),le=T&&F&&q}else if(z.isPressed&&z.pointerType!=="keyboard"){let T=z.pointerType||G.nativeEvent.pointerType||"virtual",F=U(Ea(G.currentTarget,G),T),q=j(Ea(G.currentTarget,G),T,!0);le=F&&q,z.isOverTarget=!1,N(G),P(G)}z.ignoreEmulatedMouseEvents=!1,le&&G.stopPropagation()}}},I=G=>{var le;if(z.isPressed&&z.target&&Od(G,z.target)){var T;r1(Mt(G),G.key)&&G.preventDefault();let q=Mt(G),ae=vn(z.target,Mt(G));j(Ea(z.target,G),"keyboard",ae),ae&&J(G,z.target),O(),G.key!=="Enter"&&Gh(z.target)&&vn(z.target,q)&&!G[i1]&&(G[i1]=!0,io(z.target,G,!1)),z.isPressed=!1,(T=z.metaKeyEvents)===null||T===void 0||T.delete(G.key)}else if(G.key==="Meta"&&(!((le=z.metaKeyEvents)===null||le===void 0)&&le.size)){var F;let q=z.metaKeyEvents;z.metaKeyEvents=void 0;for(let ae of q.values())(F=z.target)===null||F===void 0||F.dispatchEvent(new KeyboardEvent("keyup",ae))}};if(typeof PointerEvent<"u"){K.onPointerDown=T=>{if(T.button!==0||!vn(T.currentTarget,Mt(T.nativeEvent)))return;if(DT(T.nativeEvent)){z.pointerType="virtual";return}z.pointerType=T.pointerType;let F=!0;if(!z.isPressed){z.isPressed=!0,z.isOverTarget=!0,z.activePointerId=T.pointerId,z.target=T.currentTarget,p||QT(z.target),F=L(T,z.pointerType);let q=Mt(T.nativeEvent);"releasePointerCapture"in q&&q.releasePointerCapture(T.pointerId),R(zt(T.currentTarget),"pointerup",G,!1),R(zt(T.currentTarget),"pointercancel",le,!1)}F&&T.stopPropagation()},K.onMouseDown=T=>{if(vn(T.currentTarget,Mt(T.nativeEvent))&&T.button===0){if(b){let F=GT(T.target);F&&z.disposables.push(F)}T.stopPropagation()}},K.onPointerUp=T=>{!vn(T.currentTarget,Mt(T.nativeEvent))||z.pointerType==="virtual"||T.button===0&&!z.isPressed&&U(T,z.pointerType||T.pointerType)},K.onPointerEnter=T=>{T.pointerId===z.activePointerId&&z.target&&!z.isOverTarget&&z.pointerType!=null&&(z.isOverTarget=!0,L(Ea(z.target,T),z.pointerType))},K.onPointerLeave=T=>{T.pointerId===z.activePointerId&&z.target&&z.isOverTarget&&z.pointerType!=null&&(z.isOverTarget=!1,j(Ea(z.target,T),z.pointerType,!1),M(T))};let G=T=>{if(T.pointerId===z.activePointerId&&z.isPressed&&T.button===0&&z.target){if(vn(z.target,Mt(T))&&z.pointerType!=null){let F=!1,q=setTimeout(()=>{z.isPressed&&z.target instanceof HTMLElement&&(F?P(T):(Pi(z.target),z.target.click()))},80);R(T.currentTarget,"click",()=>F=!0,!0),z.disposables.push(()=>clearTimeout(q))}else P(T);z.isOverTarget=!1}},le=T=>{P(T)};K.onDragStart=T=>{vn(T.currentTarget,Mt(T.nativeEvent))&&P(T)}}return K},[R,h,b,O,p,P,M,j,L,U,N,J]);return S.useEffect(()=>{if(!v)return;const z=zt(v.current);if(!z||!z.head||z.getElementById(s1))return;const K=z.createElement("style");K.id=s1,K.textContent=`
|
|
3
3
|
@layer {
|
|
4
4
|
[${o1}] {
|
|
5
5
|
touch-action: pan-x pan-y pinch-zoom;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
`.trim(),z.head.prepend(K)},[v]),S.useEffect(()=>{let z=x.current;return()=>{var K;p||l1((K=z.target)!==null&&K!==void 0?K:void 0);for(let I of z.disposables)I();z.disposables=[]}},[p]),{isPressed:g||C,pressProps:ta(_,ee,{[o1]:!0})}}function Gh(t){return t.tagName==="A"&&t.hasAttribute("href")}function Od(t,l){const{key:a,code:s}=t,r=l,u=r.getAttribute("role");return(a==="Enter"||a===" "||a==="Spacebar"||s==="Space")&&!(r instanceof Mn(r).HTMLInputElement&&!mv(r,a)||r instanceof Mn(r).HTMLTextAreaElement||r.isContentEditable)&&!((u==="link"||!u&&Gh(r))&&a!=="Enter")}function Ea(t,l){let a=l.clientX,s=l.clientY;return{currentTarget:t,shiftKey:l.shiftKey,ctrlKey:l.ctrlKey,metaKey:l.metaKey,altKey:l.altKey,clientX:a,clientY:s}}function ew(t){return t instanceof HTMLInputElement?!1:t instanceof HTMLButtonElement?t.type!=="submit"&&t.type!=="reset":!Gh(t)}function r1(t,l){return t instanceof HTMLInputElement?!mv(t,l):ew(t)}const tw=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function mv(t,l){return t.type==="checkbox"||t.type==="radio"?l===" ":tw.has(t.type)}let qi=null,nh=new Set,Zs=new Map,Na=!1,lh=!1;const nw={Tab:!0,Escape:!0};function Qh(t,l){for(let a of nh)a(t,l)}function lw(t){return!(t.metaKey||!ao()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function Tu(t){Na=!0,lw(t)&&(qi="keyboard",Qh("keyboard",t))}function wi(t){qi="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(Na=!0,Qh("pointer",t))}function yv(t){uv(t)&&(Na=!0,qi="virtual")}function vv(t){t.target===window||t.target===document||Ru||!t.isTrusted||(!Na&&!lh&&(qi="virtual",Qh("virtual",t)),Na=!1,lh=!1)}function _v(){Ru||(Na=!1,lh=!0)}function ah(t){if(typeof window>"u"||typeof document>"u"||Zs.get(Mn(t)))return;const l=Mn(t),a=zt(t);let s=l.HTMLElement.prototype.focus;l.HTMLElement.prototype.focus=function(){Na=!0,s.apply(this,arguments)},a.addEventListener("keydown",Tu,!0),a.addEventListener("keyup",Tu,!0),a.addEventListener("click",yv,!0),l.addEventListener("focus",vv,!0),l.addEventListener("blur",_v,!1),typeof PointerEvent<"u"&&(a.addEventListener("pointerdown",wi,!0),a.addEventListener("pointermove",wi,!0),a.addEventListener("pointerup",wi,!0)),l.addEventListener("beforeunload",()=>{kv(t)},{once:!0}),Zs.set(l,{focus:s})}const kv=(t,l)=>{const a=Mn(t),s=zt(t);l&&s.removeEventListener("DOMContentLoaded",l),Zs.has(a)&&(a.HTMLElement.prototype.focus=Zs.get(a).focus,s.removeEventListener("keydown",Tu,!0),s.removeEventListener("keyup",Tu,!0),s.removeEventListener("click",yv,!0),a.removeEventListener("focus",vv,!0),a.removeEventListener("blur",_v,!1),typeof PointerEvent<"u"&&(s.removeEventListener("pointerdown",wi,!0),s.removeEventListener("pointermove",wi,!0),s.removeEventListener("pointerup",wi,!0)),Zs.delete(a))};function aw(t){const l=zt(t);let a;return l.readyState!=="loading"?ah(t):(a=()=>{ah(t)},l.addEventListener("DOMContentLoaded",a)),()=>kv(t,a)}typeof document<"u"&&aw();function Sv(){return qi!=="pointer"}function iw(){return qi}const sw=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ow(t,l,a){let s=zt(a?.target);const r=typeof window<"u"?Mn(a?.target).HTMLInputElement:HTMLInputElement,u=typeof window<"u"?Mn(a?.target).HTMLTextAreaElement:HTMLTextAreaElement,d=typeof window<"u"?Mn(a?.target).HTMLElement:HTMLElement,h=typeof window<"u"?Mn(a?.target).KeyboardEvent:KeyboardEvent;return t=t||s.activeElement instanceof r&&!sw.has(s.activeElement.type)||s.activeElement instanceof u||s.activeElement instanceof d&&s.activeElement.isContentEditable,!(t&&l==="keyboard"&&a instanceof h&&!nw[a.key])}function rw(t,l,a){ah(),S.useEffect(()=>{let s=(r,u)=>{ow(!!a?.isTextInput,r,u)&&t(Sv())};return nh.add(s),()=>{nh.delete(s)}},l)}function uw(t){const l=zt(t),a=lo(l);if(iw()==="virtual"){let s=a;ov(()=>{lo(l)===s&&t.isConnected&&Pi(t)})}else Pi(t)}function Cv(t){let{isDisabled:l,onFocus:a,onBlur:s,onFocusChange:r}=t;const u=S.useCallback(g=>{if(g.target===g.currentTarget)return s&&s(g),r&&r(!1),!0},[s,r]),d=gv(u),h=S.useCallback(g=>{const b=zt(g.target),m=b?lo(b):lo();g.target===g.currentTarget&&m===Mt(g.nativeEvent)&&(a&&a(g),r&&r(!0),d(g))},[r,a,d]);return{focusProps:{onFocus:!l&&(a||r||s)?h:void 0,onBlur:!l&&(s||r)?u:void 0}}}function u1(t){if(!t)return;let l=!0;return a=>{let s={...a,preventDefault(){a.preventDefault()},isDefaultPrevented(){return a.isDefaultPrevented()},stopPropagation(){l=!0},continuePropagation(){l=!1},isPropagationStopped(){return l}};t(s),l&&a.stopPropagation()}}function cw(t){return{keyboardProps:t.isDisabled?{}:{onKeyDown:u1(t.onKeyDown),onKeyUp:u1(t.onKeyUp)}}}let fw=ot.createContext(null);function dw(t){let l=S.useContext(fw)||{};rv(l,t);let{ref:a,...s}=l;return s}function hw(t,l){let{focusProps:a}=Cv(t),{keyboardProps:s}=cw(t),r=ta(a,s),u=dw(l),d=t.isDisabled?{}:u,h=S.useRef(t.autoFocus);S.useEffect(()=>{h.current&&l.current&&uw(l.current),h.current=!1},[l]);let g=t.excludeFromTabOrder?-1:0;return t.isDisabled&&(g=void 0),{focusableProps:ta({...r,tabIndex:g},d)}}function gw(t){let{isDisabled:l,onBlurWithin:a,onFocusWithin:s,onFocusWithinChange:r}=t,u=S.useRef({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:h}=Ih(),g=S.useCallback(p=>{p.currentTarget.contains(p.target)&&u.current.isFocusWithin&&!p.currentTarget.contains(p.relatedTarget)&&(u.current.isFocusWithin=!1,h(),a&&a(p),r&&r(!1))},[a,r,u,h]),b=gv(g),m=S.useCallback(p=>{if(!p.currentTarget.contains(p.target))return;const v=zt(p.target),_=lo(v);if(!u.current.isFocusWithin&&_===Mt(p.nativeEvent)){s&&s(p),r&&r(!0),u.current.isFocusWithin=!0,b(p);let C=p.currentTarget;d(v,"focus",E=>{if(u.current.isFocusWithin&&!vn(C,E.target)){let x=new v.defaultView.FocusEvent("blur",{relatedTarget:E.target});hv(x,C);let R=Yh(x);g(R)}},{capture:!0})}},[s,r,b,d,g]);return l?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:g}}}let ih=!1,Qr=0;function bw(){ih=!0,setTimeout(()=>{ih=!1},50)}function c1(t){t.pointerType==="touch"&&bw()}function pw(){if(!(typeof document>"u"))return Qr===0&&typeof PointerEvent<"u"&&document.addEventListener("pointerup",c1),Qr++,()=>{Qr--,!(Qr>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",c1)}}function mw(t){let{onHoverStart:l,onHoverChange:a,onHoverEnd:s,isDisabled:r}=t,[u,d]=S.useState(!1),h=S.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;S.useEffect(pw,[]);let{addGlobalListener:g,removeAllGlobalListeners:b}=Ih(),{hoverProps:m,triggerHoverEnd:p}=S.useMemo(()=>{let v=(E,x)=>{if(h.pointerType=x,r||x==="touch"||h.isHovered||!E.currentTarget.contains(E.target))return;h.isHovered=!0;let R=E.currentTarget;h.target=R,g(zt(E.target),"pointerover",O=>{h.isHovered&&h.target&&!vn(h.target,O.target)&&_(O,O.pointerType)},{capture:!0}),l&&l({type:"hoverstart",target:R,pointerType:x}),a&&a(!0),d(!0)},_=(E,x)=>{let R=h.target;h.pointerType="",h.target=null,!(x==="touch"||!h.isHovered||!R)&&(h.isHovered=!1,b(),s&&s({type:"hoverend",target:R,pointerType:x}),a&&a(!1),d(!1))},C={};return typeof PointerEvent<"u"&&(C.onPointerEnter=E=>{ih&&E.pointerType==="mouse"||v(E,E.pointerType)},C.onPointerLeave=E=>{!r&&E.currentTarget.contains(E.target)&&_(E,E.pointerType)}),{hoverProps:C,triggerHoverEnd:_}},[l,a,s,r,h,g,b]);return S.useEffect(()=>{r&&p({currentTarget:h.target},h.pointerType)},[r]),{hoverProps:m,isHovered:u}}function yw(t={}){let{autoFocus:l=!1,isTextInput:a,within:s}=t,r=S.useRef({isFocused:!1,isFocusVisible:l||Sv()}),[u,d]=S.useState(!1),[h,g]=S.useState(()=>r.current.isFocused&&r.current.isFocusVisible),b=S.useCallback(()=>g(r.current.isFocused&&r.current.isFocusVisible),[]),m=S.useCallback(_=>{r.current.isFocused=_,d(_),b()},[b]);rw(_=>{r.current.isFocusVisible=_,b()},[],{isTextInput:a});let{focusProps:p}=Cv({isDisabled:s,onFocusChange:m}),{focusWithinProps:v}=gw({isDisabled:!s,onFocusWithinChange:m});return{isFocused:u,isFocusVisible:h,focusProps:s?v:p}}if(typeof HTMLTemplateElement<"u"){const t=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:t.call(this)}})}const vw=S.createContext(!1);function _w(t){let l=(a,s)=>S.useContext(vw)?null:t(a,s);return l.displayName=t.displayName||t.name,S.forwardRef(l)}function kw(t,l){let{elementType:a="button",isDisabled:s,onPress:r,onPressStart:u,onPressEnd:d,onPressUp:h,onPressChange:g,preventFocusOnPress:b,allowFocusWhenDisabled:m,onClick:p,href:v,target:_,rel:C,type:E="button"}=t,x;a==="button"?x={type:E,disabled:s,form:t.form,formAction:t.formAction,formEncType:t.formEncType,formMethod:t.formMethod,formNoValidate:t.formNoValidate,formTarget:t.formTarget,name:t.name,value:t.value}:x={role:"button",href:a==="a"&&!s?v:void 0,target:a==="a"?_:void 0,type:a==="input"?E:void 0,disabled:a==="input"?s:void 0,"aria-disabled":!s||a==="input"?void 0:s,rel:a==="a"?C:void 0};let{pressProps:R,isPressed:O}=WT({onPressStart:u,onPressEnd:d,onPressChange:g,onPress:r,onPressUp:h,onClick:p,isDisabled:s,preventFocusOnPress:b,ref:l}),{focusableProps:L}=hw(t,l);m&&(L.tabIndex=s?-1:L.tabIndex);let j=ta(L,R,lv(t,{labelable:!0}));return{isPressed:O,buttonProps:ta(x,j,{"aria-haspopup":t["aria-haspopup"],"aria-expanded":t["aria-expanded"],"aria-controls":t["aria-controls"],"aria-pressed":t["aria-pressed"],"aria-current":t["aria-current"],"aria-disabled":t["aria-disabled"]})}}const Sw=S.createContext(null),Cw=S.createContext({}),Ew=_w(function(l,a){[l,a]=VT(l,a,Cw);let s=l,{isPending:r}=s,{buttonProps:u,isPressed:d}=kw(l,a);u=xw(u,r);let{focusProps:h,isFocused:g,isFocusVisible:b}=yw(l),{hoverProps:m,isHovered:p}=mw({...l,isDisabled:l.isDisabled||r}),v={isHovered:p,isPressed:(s.isPressed||d)&&!r,isFocused:g,isFocusVisible:b,isDisabled:l.isDisabled||!1,isPending:r??!1},_=HT({...l,values:v,defaultClassName:"react-aria-Button"}),C=Jm(u.id),E=Jm(),x=u["aria-labelledby"];r&&(x?x=`${x} ${E}`:u["aria-label"]&&(x=`${C} ${E}`));let R=S.useRef(r);S.useEffect(()=>{let L={"aria-labelledby":x||C};(!R.current&&g&&r||R.current&&g&&!r)&&n1(L,"assertive"),R.current=r},[r,g,x,C]);let O=lv(l,{global:!0});return delete O.onClick,ot.createElement("button",{...ta(O,_,u,h,m),type:u.type==="submit"&&r?"button":u.type,id:C,ref:a,"aria-labelledby":x,slot:l.slot||void 0,"aria-disabled":r?"true":u["aria-disabled"],"data-disabled":l.isDisabled||void 0,"data-pressed":v.isPressed||void 0,"data-hovered":p||void 0,"data-focused":g||void 0,"data-pending":r||void 0,"data-focus-visible":b||void 0},ot.createElement(Sw.Provider,{value:{id:E}},_.children))});function xw(t,l){if(l){for(const a in t)a.startsWith("on")&&!(a.includes("Focus")||a.includes("Blur"))&&(t[a]=void 0);t.href=void 0,t.target=void 0}return t}function f1(t,l){if(typeof t=="function")return t(l);t!=null&&(t.current=l)}function Rw(...t){return l=>{let a=!1;const s=t.map(r=>{const u=f1(r,l);return!a&&typeof u=="function"&&(a=!0),u});if(a)return()=>{for(let r=0;r<s.length;r++){const u=s[r];typeof u=="function"?u():f1(t[r],null)}}}}var Tw=Symbol.for("react.lazy"),wu=kh[" use ".trim().toString()];function ww(t){return typeof t=="object"&&t!==null&&"then"in t}function Ev(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===Tw&&"_payload"in t&&ww(t._payload)}function Aw(t){const l=Mw(t),a=S.forwardRef((s,r)=>{let{children:u,...d}=s;Ev(u)&&typeof wu=="function"&&(u=wu(u._payload));const h=S.Children.toArray(u),g=h.find(Dw);if(g){const b=g.props.children,m=h.map(p=>p===g?S.Children.count(b)>1?S.Children.only(null):S.isValidElement(b)?b.props.children:null:p);return Z.jsx(l,{...d,ref:r,children:S.isValidElement(b)?S.cloneElement(b,void 0,m):null})}return Z.jsx(l,{...d,ref:r,children:u})});return a.displayName=`${t}.Slot`,a}var Ow=Aw("Slot");function Mw(t){const l=S.forwardRef((a,s)=>{let{children:r,...u}=a;if(Ev(r)&&typeof wu=="function"&&(r=wu(r._payload)),S.isValidElement(r)){const d=Pw(r),h=Lw(u,r.props);return r.type!==S.Fragment&&(h.ref=s?Rw(s,d):d),S.cloneElement(r,h)}return S.Children.count(r)>1?S.Children.only(null):null});return l.displayName=`${t}.SlotClone`,l}var zw=Symbol("radix.slottable");function Dw(t){return S.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===zw}function Lw(t,l){const a={...l};for(const s in l){const r=t[s],u=l[s];/^on[A-Z]/.test(s)?r&&u?a[s]=(...h)=>{const g=u(...h);return r(...h),g}:r&&(a[s]=r):s==="style"?a[s]={...r,...u}:s==="className"&&(a[s]=[r,u].filter(Boolean).join(" "))}return{...t,...a}}function Pw(t){let l=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,a=l&&"isReactWarning"in l&&l.isReactWarning;return a?t.ref:(l=Object.getOwnPropertyDescriptor(t,"ref")?.get,a=l&&"isReactWarning"in l&&l.isReactWarning,a?t.props.ref:t.props.ref||t.ref)}var Nw=an({defaultClassName:"_11bsk7z1 _11bsk7z0 _1lg22bks0 _1lg22bksi _1lg22bkbf _1lg22bk116",variantClassNames:{collapsed:{true:"_11bsk7z2",false:"_11bsk7z3"},position:{fixed:"_11bsk7z4",relative:"_11bsk7z5"},theme:{light:"_11bsk7z6",dark:"_11bsk7z7"}},defaultVariants:{collapsed:!1,position:"relative",theme:"light"},compoundVariants:[]}),$w=an({defaultClassName:"_11bsk7zb _11bsk7z8 _1lg22bkpx _1lg22bk6",variantClassNames:{centered:{true:"_11bsk7zc _11bsk7z9 _1lg22bks0 _1lg22bktf _1lg22bksx",false:"_11bsk7zd _11bsk7za _1lg22bks0 _1lg22bktf _1lg22bksl"}},defaultVariants:{centered:!1},compoundVariants:[]}),jw=an({defaultClassName:"_11bsk7zh _11bsk7ze _1lg22bkpx _1lg22bk6",variantClassNames:{centered:{true:"_11bsk7zi _11bsk7zf _1lg22bks0 _1lg22bktf _1lg22bksx",false:"_11bsk7zj _11bsk7zg _1lg22bks0 _1lg22bktf _1lg22bksl"}},defaultVariants:{centered:!1},compoundVariants:[]}),Uw=an({defaultClassName:"_11bsk7zl _11bsk7zk _1lg22bk6 _1lg22bkto _1lg22bks0 _1lg22bksi",variantClassNames:{},defaultVariants:{},compoundVariants:[]}),qw=an({defaultClassName:"_11bsk7zn _11bsk7zm _1lg22bks0 _1lg22bk3 _1lg22bkv0 _1lg22bkj9 _1lg22bkw0",variantClassNames:{},defaultVariants:{},compoundVariants:[]});const Hw=t=>{const l=At.c(10);let a,s,r;l[0]!==t?({centered:a,className:s,...r}=t,l[0]=t,l[1]=a,l[2]=s,l[3]=r):(a=l[1],s=l[2],r=l[3]);let u;l[4]!==a||l[5]!==s?(u=vl($w({centered:a}),s),l[4]=a,l[5]=s,l[6]=u):u=l[6];let d;return l[7]!==r||l[8]!==u?(d=Z.jsx("div",{slot:"sidebar-header",...r,className:u}),l[7]=r,l[8]=u,l[9]=d):d=l[9],d},Bw=t=>{const l=At.c(10);let a,s,r;l[0]!==t?({centered:a,className:s,...r}=t,l[0]=t,l[1]=a,l[2]=s,l[3]=r):(a=l[1],s=l[2],r=l[3]);let u;l[4]!==a||l[5]!==s?(u=vl(jw({centered:a}),s),l[4]=a,l[5]=s,l[6]=u):u=l[6];let d;return l[7]!==r||l[8]!==u?(d=Z.jsx("div",{slot:"sidebar-footer",...r,className:u}),l[7]=r,l[8]=u,l[9]=d):d=l[9],d},Vw=t=>{const l=At.c(8);let a,s;l[0]!==t?({className:a,...s}=t,l[0]=t,l[1]=a,l[2]=s):(a=l[1],s=l[2]);let r;l[3]!==a?(r=vl(Uw(),a),l[3]=a,l[4]=r):r=l[4];let u;return l[5]!==s||l[6]!==r?(u=Z.jsx("div",{...s,className:r}),l[5]=s,l[6]=r,l[7]=u):u=l[7],u},Fw=t=>{const l=At.c(14);let a,s,r,u,d;l[0]!==t?({collapsed:s,position:r,theme:d,className:a,...u}=t,l[0]=t,l[1]=a,l[2]=s,l[3]=r,l[4]=u,l[5]=d):(a=l[1],s=l[2],r=l[3],u=l[4],d=l[5]);let h;l[6]!==a||l[7]!==s||l[8]!==r||l[9]!==d?(h=vl(Nw({collapsed:s,position:r,theme:d}),a),l[6]=a,l[7]=s,l[8]=r,l[9]=d,l[10]=h):h=l[10];let g;return l[11]!==u||l[12]!==h?(g=Z.jsx("aside",{...u,className:h}),l[11]=u,l[12]=h,l[13]=g):g=l[13],g},Kr=t=>{const l=At.c(12);let a,s,r,u;l[0]!==t?({className:s,asChild:u,children:a,...r}=t,l[0]=t,l[1]=a,l[2]=s,l[3]=r,l[4]=u):(a=l[1],s=l[2],r=l[3],u=l[4]);const d=u===void 0?!1:u;let h;l[5]!==s?(h=vl(qw(),s),l[5]=s,l[6]=h):h=l[6];const g=h,b=d?Ow:Ew;let m;return l[7]!==b||l[8]!==a||l[9]!==g||l[10]!==r?(m=Z.jsx(b,{className:g,...r,children:a}),l[7]=b,l[8]=a,l[9]=g,l[10]=r,l[11]=m):m=l[11],m};const Iw=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Yw=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,a,s)=>s?s.toUpperCase():a.toLowerCase()),d1=t=>{const l=Yw(t);return l.charAt(0).toUpperCase()+l.slice(1)},xv=(...t)=>t.filter((l,a,s)=>!!l&&l.trim()!==""&&s.indexOf(l)===a).join(" ").trim(),Gw=t=>{for(const l in t)if(l.startsWith("aria-")||l==="role"||l==="title")return!0};var Qw={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Kw=S.forwardRef(({color:t="currentColor",size:l=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:r="",children:u,iconNode:d,...h},g)=>S.createElement("svg",{ref:g,...Qw,width:l,height:l,stroke:t,strokeWidth:s?Number(a)*24/Number(l):a,className:xv("lucide",r),...!u&&!Gw(h)&&{"aria-hidden":"true"},...h},[...d.map(([b,m])=>S.createElement(b,m)),...Array.isArray(u)?u:[u]]));const Vu=(t,l)=>{const a=S.forwardRef(({className:s,...r},u)=>S.createElement(Kw,{ref:u,iconNode:l,className:xv(`lucide-${Iw(d1(t))}`,`lucide-${t}`,s),...r}));return a.displayName=d1(t),a};const Xw=[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2",key:"1ah6g2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1",key:"88lufb"}]],Rv=Vu("blocks",Xw);const Zw=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Tv=Vu("globe",Zw);const Jw=[["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M12 21v-9",key:"17s77i"}],["path",{d:"M12 8V3",key:"13r4qs"}],["path",{d:"M17 16h4",key:"h1uq16"}],["path",{d:"M19 12V3",key:"o1uvq1"}],["path",{d:"M19 21v-5",key:"qua636"}],["path",{d:"M3 14h4",key:"bcjad9"}],["path",{d:"M5 10V3",key:"cb8scm"}],["path",{d:"M5 21v-7",key:"1w1uti"}]],wv=Vu("sliders-vertical",Jw);const Ww=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],eA=Vu("telescope",Ww);var FM="fs2a330",IM="fs2a331",YM="fs2a332",GM="fs2a333",QM="fs2a334",KM=an({defaultClassName:"fs2a335",variantClassNames:{interactive:{true:"fs2a336",false:"fs2a337"},selected:{true:"fs2a338",false:"fs2a339"}},defaultVariants:{interactive:!1,selected:!1},compoundVariants:[]}),XM="fs2a33a",ZM="fs2a33b",JM="_1mfazoe0",WM="_1mfazoe1",e6="_1mfazoe2",t6="_1mfazoe4 _1mfazoe3 _1lg22bkv0 _1lg22bkuc _1lg22bk26 _1lg22bk2u _1lg22bkj9",n6="_1mfazoe5",l6="_1mfazoe6",a6="_1mfazoe7",i6="_1mfazoe8",s6="_1mfazoe9",o6="_1mfazoea",r6="_1mfazoeb",u6="_1mfazoec",c6=an({defaultClassName:"_1mfazoed",variantClassNames:{withIcon:{true:"_1mfazoee",false:"_1mfazoef"}},defaultVariants:{withIcon:!1},compoundVariants:[]}),f6=an({defaultClassName:"_1mfazoeg",variantClassNames:{withIcon:{true:"_1mfazoeh",false:"_1mfazoei"}},defaultVariants:{withIcon:!1},compoundVariants:[]}),d6=an({defaultClassName:"_1mfazoej",variantClassNames:{withIcon:{true:"_1mfazoek",false:"_1mfazoel"}},defaultVariants:{withIcon:!1},compoundVariants:[]}),h6=an({defaultClassName:"_1mfazoem",variantClassNames:{withIcon:{true:"_1mfazoen",false:"_1mfazoeo"}},defaultVariants:{withIcon:!1},compoundVariants:[]}),g6="_1mfazoep",b6="_1mfazoeq",p6="_1mfazoey",m6="_1mfazoez",y6="_1mfazoe10",v6="_1mfazoe12 _1mfazoe11 _1lg22bkv0 _1lg22bkuc _1lg22bk23 _1lg22bkjc",_6="_1mfazoe13",k6="_1mfazoe14",tA="_1v73km82",nA="_1v73km83",lA="_1v73km84",aA="_1v73km85";function iA(t){const l=At.c(3);let a;l[0]===Symbol.for("react.memo_cache_sentinel")?(a=Z.jsx("path",{d:"M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",className:aA}),l[0]=a):a=l[0];let s;return l[1]!==t?(s=Z.jsx("svg",{width:"20",height:"10",viewBox:"0 0 20 10",fill:"none",...t,children:a}),l[1]=t,l[2]=s):s=l[2],s}function sA(t){const l=At.c(20),{content:a,children:s,side:r,align:u,sideOffset:d,delay:h,closeDelay:g,className:b}=t,m=r===void 0?"top":r,p=u===void 0?"center":u,v=d===void 0?8:d,_=h===void 0?400:h,C=g===void 0?0:g;let E;l[0]!==s?(E=Z.jsx(BR,{render:s}),l[0]=s,l[1]=E):E=l[1];let x;l[2]!==b?(x=vl(nA,b),l[2]=b,l[3]=x):x=l[3];let R;l[4]===Symbol.for("react.memo_cache_sentinel")?(R=Z.jsx(QR,{className:lA,children:Z.jsx(iA,{})}),l[4]=R):R=l[4];let O;l[5]!==a||l[6]!==x?(O=Z.jsxs(GR,{className:x,children:[R,a]}),l[5]=a,l[6]=x,l[7]=O):O=l[7];let L;l[8]!==p||l[9]!==m||l[10]!==v||l[11]!==O?(L=Z.jsx(FR,{children:Z.jsx(IR,{className:tA,side:m,align:p,sideOffset:v,children:O})}),l[8]=p,l[9]=m,l[10]=v,l[11]=O,l[12]=L):L=l[12];let j;l[13]!==L||l[14]!==E?(j=Z.jsxs(jR,{children:[E,L]}),l[13]=L,l[14]=E,l[15]=j):j=l[15];let U;return l[16]!==C||l[17]!==_||l[18]!==j?(U=Z.jsx(KR,{delay:_,closeDelay:C,children:j}),l[16]=C,l[17]=_,l[18]=j,l[19]=U):U=l[19],U}function oA(t,l){if(typeof t!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var s=a.call(t,l);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(t)}function rA(t){var l=oA(t,"string");return typeof l=="symbol"?l:String(l)}function uA(t,l,a){return l=rA(l),l in t?Object.defineProperty(t,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[l]=a,t}function h1(t,l){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);l&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),a.push.apply(a,s)}return a}function Md(t){for(var l=1;l<arguments.length;l++){var a=arguments[l]!=null?arguments[l]:{};l%2?h1(Object(a),!0).forEach(function(s){uA(t,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):h1(Object(a)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(a,s))})}return t}var cA=t=>function(){for(var l=arguments.length,a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];var r=Object.assign({},...a.map(g=>g.styles)),u=Object.keys(r),d=u.filter(g=>"mappings"in r[g]),h=g=>{var b=[],m={},p=Md({},g),v=!1;for(var _ of d){var C=g[_];if(C!=null){var E=r[_];v=!0;for(var x of E.mappings)m[x]=C,p[x]==null&&delete p[x]}}var R=v?Md(Md({},m),p):g,O=function(){var U=R[L],P=r[L];try{if(P.mappings)return 1;if(typeof U=="string"||typeof U=="number")b.push(P.values[U].defaultClass);else if(Array.isArray(U))for(var M=0;M<U.length;M++){var N=U[M];if(N!=null){var J=P.responsiveArray[M];b.push(P.values[N].conditions[J])}}else for(var ee in U){var z=U[ee];z!=null&&b.push(P.values[z].conditions[ee])}}catch(K){throw K}};for(var L in R)O();return t(b.join(" "))};return Object.assign(h,{properties:new Set(u)})},fA=t=>t,dA=function(){return cA(fA)(...arguments)};dA({conditions:{defaultCondition:"mobile",conditionNames:["mobile","tablet","desktop"],responsiveArray:void 0},styles:{p:{mappings:["padding"]},px:{mappings:["paddingLeft","paddingRight"]},py:{mappings:["paddingTop","paddingBottom"]},m:{mappings:["margin"]},mx:{mappings:["marginLeft","marginRight"]},my:{mappings:["marginTop","marginBottom"]},padding:{values:{none:{conditions:{mobile:"_1lg22bk0",tablet:"_1lg22bk1",desktop:"_1lg22bk2"},defaultClass:"_1lg22bk0"},xs:{conditions:{mobile:"_1lg22bk3",tablet:"_1lg22bk4",desktop:"_1lg22bk5"},defaultClass:"_1lg22bk3"},sm:{conditions:{mobile:"_1lg22bk6",tablet:"_1lg22bk7",desktop:"_1lg22bk8"},defaultClass:"_1lg22bk6"},md:{conditions:{mobile:"_1lg22bk9",tablet:"_1lg22bka",desktop:"_1lg22bkb"},defaultClass:"_1lg22bk9"},lg:{conditions:{mobile:"_1lg22bkc",tablet:"_1lg22bkd",desktop:"_1lg22bke"},defaultClass:"_1lg22bkc"},xl:{conditions:{mobile:"_1lg22bkf",tablet:"_1lg22bkg",desktop:"_1lg22bkh"},defaultClass:"_1lg22bkf"},"2xl":{conditions:{mobile:"_1lg22bki",tablet:"_1lg22bkj",desktop:"_1lg22bkk"},defaultClass:"_1lg22bki"},"3xl":{conditions:{mobile:"_1lg22bkl",tablet:"_1lg22bkm",desktop:"_1lg22bkn"},defaultClass:"_1lg22bkl"}}},paddingTop:{values:{none:{conditions:{mobile:"_1lg22bko",tablet:"_1lg22bkp",desktop:"_1lg22bkq"},defaultClass:"_1lg22bko"},xs:{conditions:{mobile:"_1lg22bkr",tablet:"_1lg22bks",desktop:"_1lg22bkt"},defaultClass:"_1lg22bkr"},sm:{conditions:{mobile:"_1lg22bku",tablet:"_1lg22bkv",desktop:"_1lg22bkw"},defaultClass:"_1lg22bku"},md:{conditions:{mobile:"_1lg22bkx",tablet:"_1lg22bky",desktop:"_1lg22bkz"},defaultClass:"_1lg22bkx"},lg:{conditions:{mobile:"_1lg22bk10",tablet:"_1lg22bk11",desktop:"_1lg22bk12"},defaultClass:"_1lg22bk10"},xl:{conditions:{mobile:"_1lg22bk13",tablet:"_1lg22bk14",desktop:"_1lg22bk15"},defaultClass:"_1lg22bk13"},"2xl":{conditions:{mobile:"_1lg22bk16",tablet:"_1lg22bk17",desktop:"_1lg22bk18"},defaultClass:"_1lg22bk16"},"3xl":{conditions:{mobile:"_1lg22bk19",tablet:"_1lg22bk1a",desktop:"_1lg22bk1b"},defaultClass:"_1lg22bk19"}}},paddingBottom:{values:{none:{conditions:{mobile:"_1lg22bk1c",tablet:"_1lg22bk1d",desktop:"_1lg22bk1e"},defaultClass:"_1lg22bk1c"},xs:{conditions:{mobile:"_1lg22bk1f",tablet:"_1lg22bk1g",desktop:"_1lg22bk1h"},defaultClass:"_1lg22bk1f"},sm:{conditions:{mobile:"_1lg22bk1i",tablet:"_1lg22bk1j",desktop:"_1lg22bk1k"},defaultClass:"_1lg22bk1i"},md:{conditions:{mobile:"_1lg22bk1l",tablet:"_1lg22bk1m",desktop:"_1lg22bk1n"},defaultClass:"_1lg22bk1l"},lg:{conditions:{mobile:"_1lg22bk1o",tablet:"_1lg22bk1p",desktop:"_1lg22bk1q"},defaultClass:"_1lg22bk1o"},xl:{conditions:{mobile:"_1lg22bk1r",tablet:"_1lg22bk1s",desktop:"_1lg22bk1t"},defaultClass:"_1lg22bk1r"},"2xl":{conditions:{mobile:"_1lg22bk1u",tablet:"_1lg22bk1v",desktop:"_1lg22bk1w"},defaultClass:"_1lg22bk1u"},"3xl":{conditions:{mobile:"_1lg22bk1x",tablet:"_1lg22bk1y",desktop:"_1lg22bk1z"},defaultClass:"_1lg22bk1x"}}},paddingLeft:{values:{none:{conditions:{mobile:"_1lg22bk20",tablet:"_1lg22bk21",desktop:"_1lg22bk22"},defaultClass:"_1lg22bk20"},xs:{conditions:{mobile:"_1lg22bk23",tablet:"_1lg22bk24",desktop:"_1lg22bk25"},defaultClass:"_1lg22bk23"},sm:{conditions:{mobile:"_1lg22bk26",tablet:"_1lg22bk27",desktop:"_1lg22bk28"},defaultClass:"_1lg22bk26"},md:{conditions:{mobile:"_1lg22bk29",tablet:"_1lg22bk2a",desktop:"_1lg22bk2b"},defaultClass:"_1lg22bk29"},lg:{conditions:{mobile:"_1lg22bk2c",tablet:"_1lg22bk2d",desktop:"_1lg22bk2e"},defaultClass:"_1lg22bk2c"},xl:{conditions:{mobile:"_1lg22bk2f",tablet:"_1lg22bk2g",desktop:"_1lg22bk2h"},defaultClass:"_1lg22bk2f"},"2xl":{conditions:{mobile:"_1lg22bk2i",tablet:"_1lg22bk2j",desktop:"_1lg22bk2k"},defaultClass:"_1lg22bk2i"},"3xl":{conditions:{mobile:"_1lg22bk2l",tablet:"_1lg22bk2m",desktop:"_1lg22bk2n"},defaultClass:"_1lg22bk2l"}}},paddingRight:{values:{none:{conditions:{mobile:"_1lg22bk2o",tablet:"_1lg22bk2p",desktop:"_1lg22bk2q"},defaultClass:"_1lg22bk2o"},xs:{conditions:{mobile:"_1lg22bk2r",tablet:"_1lg22bk2s",desktop:"_1lg22bk2t"},defaultClass:"_1lg22bk2r"},sm:{conditions:{mobile:"_1lg22bk2u",tablet:"_1lg22bk2v",desktop:"_1lg22bk2w"},defaultClass:"_1lg22bk2u"},md:{conditions:{mobile:"_1lg22bk2x",tablet:"_1lg22bk2y",desktop:"_1lg22bk2z"},defaultClass:"_1lg22bk2x"},lg:{conditions:{mobile:"_1lg22bk30",tablet:"_1lg22bk31",desktop:"_1lg22bk32"},defaultClass:"_1lg22bk30"},xl:{conditions:{mobile:"_1lg22bk33",tablet:"_1lg22bk34",desktop:"_1lg22bk35"},defaultClass:"_1lg22bk33"},"2xl":{conditions:{mobile:"_1lg22bk36",tablet:"_1lg22bk37",desktop:"_1lg22bk38"},defaultClass:"_1lg22bk36"},"3xl":{conditions:{mobile:"_1lg22bk39",tablet:"_1lg22bk3a",desktop:"_1lg22bk3b"},defaultClass:"_1lg22bk39"}}},margin:{values:{none:{conditions:{mobile:"_1lg22bk3c",tablet:"_1lg22bk3d",desktop:"_1lg22bk3e"},defaultClass:"_1lg22bk3c"},xs:{conditions:{mobile:"_1lg22bk3f",tablet:"_1lg22bk3g",desktop:"_1lg22bk3h"},defaultClass:"_1lg22bk3f"},sm:{conditions:{mobile:"_1lg22bk3i",tablet:"_1lg22bk3j",desktop:"_1lg22bk3k"},defaultClass:"_1lg22bk3i"},md:{conditions:{mobile:"_1lg22bk3l",tablet:"_1lg22bk3m",desktop:"_1lg22bk3n"},defaultClass:"_1lg22bk3l"},lg:{conditions:{mobile:"_1lg22bk3o",tablet:"_1lg22bk3p",desktop:"_1lg22bk3q"},defaultClass:"_1lg22bk3o"},xl:{conditions:{mobile:"_1lg22bk3r",tablet:"_1lg22bk3s",desktop:"_1lg22bk3t"},defaultClass:"_1lg22bk3r"},"2xl":{conditions:{mobile:"_1lg22bk3u",tablet:"_1lg22bk3v",desktop:"_1lg22bk3w"},defaultClass:"_1lg22bk3u"},"3xl":{conditions:{mobile:"_1lg22bk3x",tablet:"_1lg22bk3y",desktop:"_1lg22bk3z"},defaultClass:"_1lg22bk3x"}}},marginTop:{values:{none:{conditions:{mobile:"_1lg22bk40",tablet:"_1lg22bk41",desktop:"_1lg22bk42"},defaultClass:"_1lg22bk40"},xs:{conditions:{mobile:"_1lg22bk43",tablet:"_1lg22bk44",desktop:"_1lg22bk45"},defaultClass:"_1lg22bk43"},sm:{conditions:{mobile:"_1lg22bk46",tablet:"_1lg22bk47",desktop:"_1lg22bk48"},defaultClass:"_1lg22bk46"},md:{conditions:{mobile:"_1lg22bk49",tablet:"_1lg22bk4a",desktop:"_1lg22bk4b"},defaultClass:"_1lg22bk49"},lg:{conditions:{mobile:"_1lg22bk4c",tablet:"_1lg22bk4d",desktop:"_1lg22bk4e"},defaultClass:"_1lg22bk4c"},xl:{conditions:{mobile:"_1lg22bk4f",tablet:"_1lg22bk4g",desktop:"_1lg22bk4h"},defaultClass:"_1lg22bk4f"},"2xl":{conditions:{mobile:"_1lg22bk4i",tablet:"_1lg22bk4j",desktop:"_1lg22bk4k"},defaultClass:"_1lg22bk4i"},"3xl":{conditions:{mobile:"_1lg22bk4l",tablet:"_1lg22bk4m",desktop:"_1lg22bk4n"},defaultClass:"_1lg22bk4l"}}},marginBottom:{values:{none:{conditions:{mobile:"_1lg22bk4o",tablet:"_1lg22bk4p",desktop:"_1lg22bk4q"},defaultClass:"_1lg22bk4o"},xs:{conditions:{mobile:"_1lg22bk4r",tablet:"_1lg22bk4s",desktop:"_1lg22bk4t"},defaultClass:"_1lg22bk4r"},sm:{conditions:{mobile:"_1lg22bk4u",tablet:"_1lg22bk4v",desktop:"_1lg22bk4w"},defaultClass:"_1lg22bk4u"},md:{conditions:{mobile:"_1lg22bk4x",tablet:"_1lg22bk4y",desktop:"_1lg22bk4z"},defaultClass:"_1lg22bk4x"},lg:{conditions:{mobile:"_1lg22bk50",tablet:"_1lg22bk51",desktop:"_1lg22bk52"},defaultClass:"_1lg22bk50"},xl:{conditions:{mobile:"_1lg22bk53",tablet:"_1lg22bk54",desktop:"_1lg22bk55"},defaultClass:"_1lg22bk53"},"2xl":{conditions:{mobile:"_1lg22bk56",tablet:"_1lg22bk57",desktop:"_1lg22bk58"},defaultClass:"_1lg22bk56"},"3xl":{conditions:{mobile:"_1lg22bk59",tablet:"_1lg22bk5a",desktop:"_1lg22bk5b"},defaultClass:"_1lg22bk59"}}},marginLeft:{values:{none:{conditions:{mobile:"_1lg22bk5c",tablet:"_1lg22bk5d",desktop:"_1lg22bk5e"},defaultClass:"_1lg22bk5c"},xs:{conditions:{mobile:"_1lg22bk5f",tablet:"_1lg22bk5g",desktop:"_1lg22bk5h"},defaultClass:"_1lg22bk5f"},sm:{conditions:{mobile:"_1lg22bk5i",tablet:"_1lg22bk5j",desktop:"_1lg22bk5k"},defaultClass:"_1lg22bk5i"},md:{conditions:{mobile:"_1lg22bk5l",tablet:"_1lg22bk5m",desktop:"_1lg22bk5n"},defaultClass:"_1lg22bk5l"},lg:{conditions:{mobile:"_1lg22bk5o",tablet:"_1lg22bk5p",desktop:"_1lg22bk5q"},defaultClass:"_1lg22bk5o"},xl:{conditions:{mobile:"_1lg22bk5r",tablet:"_1lg22bk5s",desktop:"_1lg22bk5t"},defaultClass:"_1lg22bk5r"},"2xl":{conditions:{mobile:"_1lg22bk5u",tablet:"_1lg22bk5v",desktop:"_1lg22bk5w"},defaultClass:"_1lg22bk5u"},"3xl":{conditions:{mobile:"_1lg22bk5x",tablet:"_1lg22bk5y",desktop:"_1lg22bk5z"},defaultClass:"_1lg22bk5x"}}},marginRight:{values:{none:{conditions:{mobile:"_1lg22bk60",tablet:"_1lg22bk61",desktop:"_1lg22bk62"},defaultClass:"_1lg22bk60"},xs:{conditions:{mobile:"_1lg22bk63",tablet:"_1lg22bk64",desktop:"_1lg22bk65"},defaultClass:"_1lg22bk63"},sm:{conditions:{mobile:"_1lg22bk66",tablet:"_1lg22bk67",desktop:"_1lg22bk68"},defaultClass:"_1lg22bk66"},md:{conditions:{mobile:"_1lg22bk69",tablet:"_1lg22bk6a",desktop:"_1lg22bk6b"},defaultClass:"_1lg22bk69"},lg:{conditions:{mobile:"_1lg22bk6c",tablet:"_1lg22bk6d",desktop:"_1lg22bk6e"},defaultClass:"_1lg22bk6c"},xl:{conditions:{mobile:"_1lg22bk6f",tablet:"_1lg22bk6g",desktop:"_1lg22bk6h"},defaultClass:"_1lg22bk6f"},"2xl":{conditions:{mobile:"_1lg22bk6i",tablet:"_1lg22bk6j",desktop:"_1lg22bk6k"},defaultClass:"_1lg22bk6i"},"3xl":{conditions:{mobile:"_1lg22bk6l",tablet:"_1lg22bk6m",desktop:"_1lg22bk6n"},defaultClass:"_1lg22bk6l"}}},backgroundColor:{values:{accent1:{conditions:{mobile:"_1lg22bk6o",tablet:"_1lg22bk6p",desktop:"_1lg22bk6q"},defaultClass:"_1lg22bk6o"},accent2:{conditions:{mobile:"_1lg22bk6r",tablet:"_1lg22bk6s",desktop:"_1lg22bk6t"},defaultClass:"_1lg22bk6r"},accent3:{conditions:{mobile:"_1lg22bk6u",tablet:"_1lg22bk6v",desktop:"_1lg22bk6w"},defaultClass:"_1lg22bk6u"},accent4:{conditions:{mobile:"_1lg22bk6x",tablet:"_1lg22bk6y",desktop:"_1lg22bk6z"},defaultClass:"_1lg22bk6x"},accent5:{conditions:{mobile:"_1lg22bk70",tablet:"_1lg22bk71",desktop:"_1lg22bk72"},defaultClass:"_1lg22bk70"},accent6:{conditions:{mobile:"_1lg22bk73",tablet:"_1lg22bk74",desktop:"_1lg22bk75"},defaultClass:"_1lg22bk73"},accent7:{conditions:{mobile:"_1lg22bk76",tablet:"_1lg22bk77",desktop:"_1lg22bk78"},defaultClass:"_1lg22bk76"},accent8:{conditions:{mobile:"_1lg22bk79",tablet:"_1lg22bk7a",desktop:"_1lg22bk7b"},defaultClass:"_1lg22bk79"},accent9:{conditions:{mobile:"_1lg22bk7c",tablet:"_1lg22bk7d",desktop:"_1lg22bk7e"},defaultClass:"_1lg22bk7c"},accent10:{conditions:{mobile:"_1lg22bk7f",tablet:"_1lg22bk7g",desktop:"_1lg22bk7h"},defaultClass:"_1lg22bk7f"},accent11:{conditions:{mobile:"_1lg22bk7i",tablet:"_1lg22bk7j",desktop:"_1lg22bk7k"},defaultClass:"_1lg22bk7i"},accent12:{conditions:{mobile:"_1lg22bk7l",tablet:"_1lg22bk7m",desktop:"_1lg22bk7n"},defaultClass:"_1lg22bk7l"},accentA1:{conditions:{mobile:"_1lg22bk7o",tablet:"_1lg22bk7p",desktop:"_1lg22bk7q"},defaultClass:"_1lg22bk7o"},accentA2:{conditions:{mobile:"_1lg22bk7r",tablet:"_1lg22bk7s",desktop:"_1lg22bk7t"},defaultClass:"_1lg22bk7r"},accentA3:{conditions:{mobile:"_1lg22bk7u",tablet:"_1lg22bk7v",desktop:"_1lg22bk7w"},defaultClass:"_1lg22bk7u"},accentA4:{conditions:{mobile:"_1lg22bk7x",tablet:"_1lg22bk7y",desktop:"_1lg22bk7z"},defaultClass:"_1lg22bk7x"},accentA5:{conditions:{mobile:"_1lg22bk80",tablet:"_1lg22bk81",desktop:"_1lg22bk82"},defaultClass:"_1lg22bk80"},accentA6:{conditions:{mobile:"_1lg22bk83",tablet:"_1lg22bk84",desktop:"_1lg22bk85"},defaultClass:"_1lg22bk83"},accentA7:{conditions:{mobile:"_1lg22bk86",tablet:"_1lg22bk87",desktop:"_1lg22bk88"},defaultClass:"_1lg22bk86"},accentA8:{conditions:{mobile:"_1lg22bk89",tablet:"_1lg22bk8a",desktop:"_1lg22bk8b"},defaultClass:"_1lg22bk89"},accentA9:{conditions:{mobile:"_1lg22bk8c",tablet:"_1lg22bk8d",desktop:"_1lg22bk8e"},defaultClass:"_1lg22bk8c"},accentA10:{conditions:{mobile:"_1lg22bk8f",tablet:"_1lg22bk8g",desktop:"_1lg22bk8h"},defaultClass:"_1lg22bk8f"},accentA11:{conditions:{mobile:"_1lg22bk8i",tablet:"_1lg22bk8j",desktop:"_1lg22bk8k"},defaultClass:"_1lg22bk8i"},accentA12:{conditions:{mobile:"_1lg22bk8l",tablet:"_1lg22bk8m",desktop:"_1lg22bk8n"},defaultClass:"_1lg22bk8l"},accentContrast:{conditions:{mobile:"_1lg22bk8o",tablet:"_1lg22bk8p",desktop:"_1lg22bk8q"},defaultClass:"_1lg22bk8o"},accentSurface:{conditions:{mobile:"_1lg22bk8r",tablet:"_1lg22bk8s",desktop:"_1lg22bk8t"},defaultClass:"_1lg22bk8r"},accentIndicator:{conditions:{mobile:"_1lg22bk8u",tablet:"_1lg22bk8v",desktop:"_1lg22bk8w"},defaultClass:"_1lg22bk8u"},accentTrack:{conditions:{mobile:"_1lg22bk8x",tablet:"_1lg22bk8y",desktop:"_1lg22bk8z"},defaultClass:"_1lg22bk8x"},error1:{conditions:{mobile:"_1lg22bk90",tablet:"_1lg22bk91",desktop:"_1lg22bk92"},defaultClass:"_1lg22bk90"},error2:{conditions:{mobile:"_1lg22bk93",tablet:"_1lg22bk94",desktop:"_1lg22bk95"},defaultClass:"_1lg22bk93"},error3:{conditions:{mobile:"_1lg22bk96",tablet:"_1lg22bk97",desktop:"_1lg22bk98"},defaultClass:"_1lg22bk96"},error4:{conditions:{mobile:"_1lg22bk99",tablet:"_1lg22bk9a",desktop:"_1lg22bk9b"},defaultClass:"_1lg22bk99"},error5:{conditions:{mobile:"_1lg22bk9c",tablet:"_1lg22bk9d",desktop:"_1lg22bk9e"},defaultClass:"_1lg22bk9c"},error6:{conditions:{mobile:"_1lg22bk9f",tablet:"_1lg22bk9g",desktop:"_1lg22bk9h"},defaultClass:"_1lg22bk9f"},error7:{conditions:{mobile:"_1lg22bk9i",tablet:"_1lg22bk9j",desktop:"_1lg22bk9k"},defaultClass:"_1lg22bk9i"},error8:{conditions:{mobile:"_1lg22bk9l",tablet:"_1lg22bk9m",desktop:"_1lg22bk9n"},defaultClass:"_1lg22bk9l"},error9:{conditions:{mobile:"_1lg22bk9o",tablet:"_1lg22bk9p",desktop:"_1lg22bk9q"},defaultClass:"_1lg22bk9o"},error10:{conditions:{mobile:"_1lg22bk9r",tablet:"_1lg22bk9s",desktop:"_1lg22bk9t"},defaultClass:"_1lg22bk9r"},error11:{conditions:{mobile:"_1lg22bk9u",tablet:"_1lg22bk9v",desktop:"_1lg22bk9w"},defaultClass:"_1lg22bk9u"},error12:{conditions:{mobile:"_1lg22bk9x",tablet:"_1lg22bk9y",desktop:"_1lg22bk9z"},defaultClass:"_1lg22bk9x"},errorA1:{conditions:{mobile:"_1lg22bka0",tablet:"_1lg22bka1",desktop:"_1lg22bka2"},defaultClass:"_1lg22bka0"},errorA2:{conditions:{mobile:"_1lg22bka3",tablet:"_1lg22bka4",desktop:"_1lg22bka5"},defaultClass:"_1lg22bka3"},errorA3:{conditions:{mobile:"_1lg22bka6",tablet:"_1lg22bka7",desktop:"_1lg22bka8"},defaultClass:"_1lg22bka6"},errorA4:{conditions:{mobile:"_1lg22bka9",tablet:"_1lg22bkaa",desktop:"_1lg22bkab"},defaultClass:"_1lg22bka9"},errorA5:{conditions:{mobile:"_1lg22bkac",tablet:"_1lg22bkad",desktop:"_1lg22bkae"},defaultClass:"_1lg22bkac"},errorA6:{conditions:{mobile:"_1lg22bkaf",tablet:"_1lg22bkag",desktop:"_1lg22bkah"},defaultClass:"_1lg22bkaf"},errorA7:{conditions:{mobile:"_1lg22bkai",tablet:"_1lg22bkaj",desktop:"_1lg22bkak"},defaultClass:"_1lg22bkai"},errorA8:{conditions:{mobile:"_1lg22bkal",tablet:"_1lg22bkam",desktop:"_1lg22bkan"},defaultClass:"_1lg22bkal"},errorA9:{conditions:{mobile:"_1lg22bkao",tablet:"_1lg22bkap",desktop:"_1lg22bkaq"},defaultClass:"_1lg22bkao"},errorA10:{conditions:{mobile:"_1lg22bkar",tablet:"_1lg22bkas",desktop:"_1lg22bkat"},defaultClass:"_1lg22bkar"},errorA11:{conditions:{mobile:"_1lg22bkau",tablet:"_1lg22bkav",desktop:"_1lg22bkaw"},defaultClass:"_1lg22bkau"},errorA12:{conditions:{mobile:"_1lg22bkax",tablet:"_1lg22bkay",desktop:"_1lg22bkaz"},defaultClass:"_1lg22bkax"},errorContrast:{conditions:{mobile:"_1lg22bkb0",tablet:"_1lg22bkb1",desktop:"_1lg22bkb2"},defaultClass:"_1lg22bkb0"},errorSurface:{conditions:{mobile:"_1lg22bkb3",tablet:"_1lg22bkb4",desktop:"_1lg22bkb5"},defaultClass:"_1lg22bkb3"},errorIndicator:{conditions:{mobile:"_1lg22bkb6",tablet:"_1lg22bkb7",desktop:"_1lg22bkb8"},defaultClass:"_1lg22bkb6"},errorTrack:{conditions:{mobile:"_1lg22bkb9",tablet:"_1lg22bkba",desktop:"_1lg22bkbb"},defaultClass:"_1lg22bkb9"},gray1:{conditions:{mobile:"_1lg22bkbc",tablet:"_1lg22bkbd",desktop:"_1lg22bkbe"},defaultClass:"_1lg22bkbc"},gray2:{conditions:{mobile:"_1lg22bkbf",tablet:"_1lg22bkbg",desktop:"_1lg22bkbh"},defaultClass:"_1lg22bkbf"},gray3:{conditions:{mobile:"_1lg22bkbi",tablet:"_1lg22bkbj",desktop:"_1lg22bkbk"},defaultClass:"_1lg22bkbi"},gray4:{conditions:{mobile:"_1lg22bkbl",tablet:"_1lg22bkbm",desktop:"_1lg22bkbn"},defaultClass:"_1lg22bkbl"},gray5:{conditions:{mobile:"_1lg22bkbo",tablet:"_1lg22bkbp",desktop:"_1lg22bkbq"},defaultClass:"_1lg22bkbo"},gray6:{conditions:{mobile:"_1lg22bkbr",tablet:"_1lg22bkbs",desktop:"_1lg22bkbt"},defaultClass:"_1lg22bkbr"},gray7:{conditions:{mobile:"_1lg22bkbu",tablet:"_1lg22bkbv",desktop:"_1lg22bkbw"},defaultClass:"_1lg22bkbu"},gray8:{conditions:{mobile:"_1lg22bkbx",tablet:"_1lg22bkby",desktop:"_1lg22bkbz"},defaultClass:"_1lg22bkbx"},gray9:{conditions:{mobile:"_1lg22bkc0",tablet:"_1lg22bkc1",desktop:"_1lg22bkc2"},defaultClass:"_1lg22bkc0"},gray10:{conditions:{mobile:"_1lg22bkc3",tablet:"_1lg22bkc4",desktop:"_1lg22bkc5"},defaultClass:"_1lg22bkc3"},gray11:{conditions:{mobile:"_1lg22bkc6",tablet:"_1lg22bkc7",desktop:"_1lg22bkc8"},defaultClass:"_1lg22bkc6"},gray12:{conditions:{mobile:"_1lg22bkc9",tablet:"_1lg22bkca",desktop:"_1lg22bkcb"},defaultClass:"_1lg22bkc9"},grayA1:{conditions:{mobile:"_1lg22bkcc",tablet:"_1lg22bkcd",desktop:"_1lg22bkce"},defaultClass:"_1lg22bkcc"},grayA2:{conditions:{mobile:"_1lg22bkcf",tablet:"_1lg22bkcg",desktop:"_1lg22bkch"},defaultClass:"_1lg22bkcf"},grayA3:{conditions:{mobile:"_1lg22bkci",tablet:"_1lg22bkcj",desktop:"_1lg22bkck"},defaultClass:"_1lg22bkci"},grayA4:{conditions:{mobile:"_1lg22bkcl",tablet:"_1lg22bkcm",desktop:"_1lg22bkcn"},defaultClass:"_1lg22bkcl"},grayA5:{conditions:{mobile:"_1lg22bkco",tablet:"_1lg22bkcp",desktop:"_1lg22bkcq"},defaultClass:"_1lg22bkco"},grayA6:{conditions:{mobile:"_1lg22bkcr",tablet:"_1lg22bkcs",desktop:"_1lg22bkct"},defaultClass:"_1lg22bkcr"},grayA7:{conditions:{mobile:"_1lg22bkcu",tablet:"_1lg22bkcv",desktop:"_1lg22bkcw"},defaultClass:"_1lg22bkcu"},grayA8:{conditions:{mobile:"_1lg22bkcx",tablet:"_1lg22bkcy",desktop:"_1lg22bkcz"},defaultClass:"_1lg22bkcx"},grayA9:{conditions:{mobile:"_1lg22bkd0",tablet:"_1lg22bkd1",desktop:"_1lg22bkd2"},defaultClass:"_1lg22bkd0"},grayA10:{conditions:{mobile:"_1lg22bkd3",tablet:"_1lg22bkd4",desktop:"_1lg22bkd5"},defaultClass:"_1lg22bkd3"},grayA11:{conditions:{mobile:"_1lg22bkd6",tablet:"_1lg22bkd7",desktop:"_1lg22bkd8"},defaultClass:"_1lg22bkd6"},grayA12:{conditions:{mobile:"_1lg22bkd9",tablet:"_1lg22bkda",desktop:"_1lg22bkdb"},defaultClass:"_1lg22bkd9"},grayContrast:{conditions:{mobile:"_1lg22bkdc",tablet:"_1lg22bkdd",desktop:"_1lg22bkde"},defaultClass:"_1lg22bkdc"},graySurface:{conditions:{mobile:"_1lg22bkdf",tablet:"_1lg22bkdg",desktop:"_1lg22bkdh"},defaultClass:"_1lg22bkdf"},grayIndicator:{conditions:{mobile:"_1lg22bkdi",tablet:"_1lg22bkdj",desktop:"_1lg22bkdk"},defaultClass:"_1lg22bkdi"},grayTrack:{conditions:{mobile:"_1lg22bkdl",tablet:"_1lg22bkdm",desktop:"_1lg22bkdn"},defaultClass:"_1lg22bkdl"},background:{conditions:{mobile:"_1lg22bkdo",tablet:"_1lg22bkdp",desktop:"_1lg22bkdq"},defaultClass:"_1lg22bkdo"}}},color:{values:{accent1:{conditions:{mobile:"_1lg22bkdr",tablet:"_1lg22bkds",desktop:"_1lg22bkdt"},defaultClass:"_1lg22bkdr"},accent2:{conditions:{mobile:"_1lg22bkdu",tablet:"_1lg22bkdv",desktop:"_1lg22bkdw"},defaultClass:"_1lg22bkdu"},accent3:{conditions:{mobile:"_1lg22bkdx",tablet:"_1lg22bkdy",desktop:"_1lg22bkdz"},defaultClass:"_1lg22bkdx"},accent4:{conditions:{mobile:"_1lg22bke0",tablet:"_1lg22bke1",desktop:"_1lg22bke2"},defaultClass:"_1lg22bke0"},accent5:{conditions:{mobile:"_1lg22bke3",tablet:"_1lg22bke4",desktop:"_1lg22bke5"},defaultClass:"_1lg22bke3"},accent6:{conditions:{mobile:"_1lg22bke6",tablet:"_1lg22bke7",desktop:"_1lg22bke8"},defaultClass:"_1lg22bke6"},accent7:{conditions:{mobile:"_1lg22bke9",tablet:"_1lg22bkea",desktop:"_1lg22bkeb"},defaultClass:"_1lg22bke9"},accent8:{conditions:{mobile:"_1lg22bkec",tablet:"_1lg22bked",desktop:"_1lg22bkee"},defaultClass:"_1lg22bkec"},accent9:{conditions:{mobile:"_1lg22bkef",tablet:"_1lg22bkeg",desktop:"_1lg22bkeh"},defaultClass:"_1lg22bkef"},accent10:{conditions:{mobile:"_1lg22bkei",tablet:"_1lg22bkej",desktop:"_1lg22bkek"},defaultClass:"_1lg22bkei"},accent11:{conditions:{mobile:"_1lg22bkel",tablet:"_1lg22bkem",desktop:"_1lg22bken"},defaultClass:"_1lg22bkel"},accent12:{conditions:{mobile:"_1lg22bkeo",tablet:"_1lg22bkep",desktop:"_1lg22bkeq"},defaultClass:"_1lg22bkeo"},accentA1:{conditions:{mobile:"_1lg22bker",tablet:"_1lg22bkes",desktop:"_1lg22bket"},defaultClass:"_1lg22bker"},accentA2:{conditions:{mobile:"_1lg22bkeu",tablet:"_1lg22bkev",desktop:"_1lg22bkew"},defaultClass:"_1lg22bkeu"},accentA3:{conditions:{mobile:"_1lg22bkex",tablet:"_1lg22bkey",desktop:"_1lg22bkez"},defaultClass:"_1lg22bkex"},accentA4:{conditions:{mobile:"_1lg22bkf0",tablet:"_1lg22bkf1",desktop:"_1lg22bkf2"},defaultClass:"_1lg22bkf0"},accentA5:{conditions:{mobile:"_1lg22bkf3",tablet:"_1lg22bkf4",desktop:"_1lg22bkf5"},defaultClass:"_1lg22bkf3"},accentA6:{conditions:{mobile:"_1lg22bkf6",tablet:"_1lg22bkf7",desktop:"_1lg22bkf8"},defaultClass:"_1lg22bkf6"},accentA7:{conditions:{mobile:"_1lg22bkf9",tablet:"_1lg22bkfa",desktop:"_1lg22bkfb"},defaultClass:"_1lg22bkf9"},accentA8:{conditions:{mobile:"_1lg22bkfc",tablet:"_1lg22bkfd",desktop:"_1lg22bkfe"},defaultClass:"_1lg22bkfc"},accentA9:{conditions:{mobile:"_1lg22bkff",tablet:"_1lg22bkfg",desktop:"_1lg22bkfh"},defaultClass:"_1lg22bkff"},accentA10:{conditions:{mobile:"_1lg22bkfi",tablet:"_1lg22bkfj",desktop:"_1lg22bkfk"},defaultClass:"_1lg22bkfi"},accentA11:{conditions:{mobile:"_1lg22bkfl",tablet:"_1lg22bkfm",desktop:"_1lg22bkfn"},defaultClass:"_1lg22bkfl"},accentA12:{conditions:{mobile:"_1lg22bkfo",tablet:"_1lg22bkfp",desktop:"_1lg22bkfq"},defaultClass:"_1lg22bkfo"},accentContrast:{conditions:{mobile:"_1lg22bkfr",tablet:"_1lg22bkfs",desktop:"_1lg22bkft"},defaultClass:"_1lg22bkfr"},accentSurface:{conditions:{mobile:"_1lg22bkfu",tablet:"_1lg22bkfv",desktop:"_1lg22bkfw"},defaultClass:"_1lg22bkfu"},accentIndicator:{conditions:{mobile:"_1lg22bkfx",tablet:"_1lg22bkfy",desktop:"_1lg22bkfz"},defaultClass:"_1lg22bkfx"},accentTrack:{conditions:{mobile:"_1lg22bkg0",tablet:"_1lg22bkg1",desktop:"_1lg22bkg2"},defaultClass:"_1lg22bkg0"},error1:{conditions:{mobile:"_1lg22bkg3",tablet:"_1lg22bkg4",desktop:"_1lg22bkg5"},defaultClass:"_1lg22bkg3"},error2:{conditions:{mobile:"_1lg22bkg6",tablet:"_1lg22bkg7",desktop:"_1lg22bkg8"},defaultClass:"_1lg22bkg6"},error3:{conditions:{mobile:"_1lg22bkg9",tablet:"_1lg22bkga",desktop:"_1lg22bkgb"},defaultClass:"_1lg22bkg9"},error4:{conditions:{mobile:"_1lg22bkgc",tablet:"_1lg22bkgd",desktop:"_1lg22bkge"},defaultClass:"_1lg22bkgc"},error5:{conditions:{mobile:"_1lg22bkgf",tablet:"_1lg22bkgg",desktop:"_1lg22bkgh"},defaultClass:"_1lg22bkgf"},error6:{conditions:{mobile:"_1lg22bkgi",tablet:"_1lg22bkgj",desktop:"_1lg22bkgk"},defaultClass:"_1lg22bkgi"},error7:{conditions:{mobile:"_1lg22bkgl",tablet:"_1lg22bkgm",desktop:"_1lg22bkgn"},defaultClass:"_1lg22bkgl"},error8:{conditions:{mobile:"_1lg22bkgo",tablet:"_1lg22bkgp",desktop:"_1lg22bkgq"},defaultClass:"_1lg22bkgo"},error9:{conditions:{mobile:"_1lg22bkgr",tablet:"_1lg22bkgs",desktop:"_1lg22bkgt"},defaultClass:"_1lg22bkgr"},error10:{conditions:{mobile:"_1lg22bkgu",tablet:"_1lg22bkgv",desktop:"_1lg22bkgw"},defaultClass:"_1lg22bkgu"},error11:{conditions:{mobile:"_1lg22bkgx",tablet:"_1lg22bkgy",desktop:"_1lg22bkgz"},defaultClass:"_1lg22bkgx"},error12:{conditions:{mobile:"_1lg22bkh0",tablet:"_1lg22bkh1",desktop:"_1lg22bkh2"},defaultClass:"_1lg22bkh0"},errorA1:{conditions:{mobile:"_1lg22bkh3",tablet:"_1lg22bkh4",desktop:"_1lg22bkh5"},defaultClass:"_1lg22bkh3"},errorA2:{conditions:{mobile:"_1lg22bkh6",tablet:"_1lg22bkh7",desktop:"_1lg22bkh8"},defaultClass:"_1lg22bkh6"},errorA3:{conditions:{mobile:"_1lg22bkh9",tablet:"_1lg22bkha",desktop:"_1lg22bkhb"},defaultClass:"_1lg22bkh9"},errorA4:{conditions:{mobile:"_1lg22bkhc",tablet:"_1lg22bkhd",desktop:"_1lg22bkhe"},defaultClass:"_1lg22bkhc"},errorA5:{conditions:{mobile:"_1lg22bkhf",tablet:"_1lg22bkhg",desktop:"_1lg22bkhh"},defaultClass:"_1lg22bkhf"},errorA6:{conditions:{mobile:"_1lg22bkhi",tablet:"_1lg22bkhj",desktop:"_1lg22bkhk"},defaultClass:"_1lg22bkhi"},errorA7:{conditions:{mobile:"_1lg22bkhl",tablet:"_1lg22bkhm",desktop:"_1lg22bkhn"},defaultClass:"_1lg22bkhl"},errorA8:{conditions:{mobile:"_1lg22bkho",tablet:"_1lg22bkhp",desktop:"_1lg22bkhq"},defaultClass:"_1lg22bkho"},errorA9:{conditions:{mobile:"_1lg22bkhr",tablet:"_1lg22bkhs",desktop:"_1lg22bkht"},defaultClass:"_1lg22bkhr"},errorA10:{conditions:{mobile:"_1lg22bkhu",tablet:"_1lg22bkhv",desktop:"_1lg22bkhw"},defaultClass:"_1lg22bkhu"},errorA11:{conditions:{mobile:"_1lg22bkhx",tablet:"_1lg22bkhy",desktop:"_1lg22bkhz"},defaultClass:"_1lg22bkhx"},errorA12:{conditions:{mobile:"_1lg22bki0",tablet:"_1lg22bki1",desktop:"_1lg22bki2"},defaultClass:"_1lg22bki0"},errorContrast:{conditions:{mobile:"_1lg22bki3",tablet:"_1lg22bki4",desktop:"_1lg22bki5"},defaultClass:"_1lg22bki3"},errorSurface:{conditions:{mobile:"_1lg22bki6",tablet:"_1lg22bki7",desktop:"_1lg22bki8"},defaultClass:"_1lg22bki6"},errorIndicator:{conditions:{mobile:"_1lg22bki9",tablet:"_1lg22bkia",desktop:"_1lg22bkib"},defaultClass:"_1lg22bki9"},errorTrack:{conditions:{mobile:"_1lg22bkic",tablet:"_1lg22bkid",desktop:"_1lg22bkie"},defaultClass:"_1lg22bkic"},gray1:{conditions:{mobile:"_1lg22bkif",tablet:"_1lg22bkig",desktop:"_1lg22bkih"},defaultClass:"_1lg22bkif"},gray2:{conditions:{mobile:"_1lg22bkii",tablet:"_1lg22bkij",desktop:"_1lg22bkik"},defaultClass:"_1lg22bkii"},gray3:{conditions:{mobile:"_1lg22bkil",tablet:"_1lg22bkim",desktop:"_1lg22bkin"},defaultClass:"_1lg22bkil"},gray4:{conditions:{mobile:"_1lg22bkio",tablet:"_1lg22bkip",desktop:"_1lg22bkiq"},defaultClass:"_1lg22bkio"},gray5:{conditions:{mobile:"_1lg22bkir",tablet:"_1lg22bkis",desktop:"_1lg22bkit"},defaultClass:"_1lg22bkir"},gray6:{conditions:{mobile:"_1lg22bkiu",tablet:"_1lg22bkiv",desktop:"_1lg22bkiw"},defaultClass:"_1lg22bkiu"},gray7:{conditions:{mobile:"_1lg22bkix",tablet:"_1lg22bkiy",desktop:"_1lg22bkiz"},defaultClass:"_1lg22bkix"},gray8:{conditions:{mobile:"_1lg22bkj0",tablet:"_1lg22bkj1",desktop:"_1lg22bkj2"},defaultClass:"_1lg22bkj0"},gray9:{conditions:{mobile:"_1lg22bkj3",tablet:"_1lg22bkj4",desktop:"_1lg22bkj5"},defaultClass:"_1lg22bkj3"},gray10:{conditions:{mobile:"_1lg22bkj6",tablet:"_1lg22bkj7",desktop:"_1lg22bkj8"},defaultClass:"_1lg22bkj6"},gray11:{conditions:{mobile:"_1lg22bkj9",tablet:"_1lg22bkja",desktop:"_1lg22bkjb"},defaultClass:"_1lg22bkj9"},gray12:{conditions:{mobile:"_1lg22bkjc",tablet:"_1lg22bkjd",desktop:"_1lg22bkje"},defaultClass:"_1lg22bkjc"},grayA1:{conditions:{mobile:"_1lg22bkjf",tablet:"_1lg22bkjg",desktop:"_1lg22bkjh"},defaultClass:"_1lg22bkjf"},grayA2:{conditions:{mobile:"_1lg22bkji",tablet:"_1lg22bkjj",desktop:"_1lg22bkjk"},defaultClass:"_1lg22bkji"},grayA3:{conditions:{mobile:"_1lg22bkjl",tablet:"_1lg22bkjm",desktop:"_1lg22bkjn"},defaultClass:"_1lg22bkjl"},grayA4:{conditions:{mobile:"_1lg22bkjo",tablet:"_1lg22bkjp",desktop:"_1lg22bkjq"},defaultClass:"_1lg22bkjo"},grayA5:{conditions:{mobile:"_1lg22bkjr",tablet:"_1lg22bkjs",desktop:"_1lg22bkjt"},defaultClass:"_1lg22bkjr"},grayA6:{conditions:{mobile:"_1lg22bkju",tablet:"_1lg22bkjv",desktop:"_1lg22bkjw"},defaultClass:"_1lg22bkju"},grayA7:{conditions:{mobile:"_1lg22bkjx",tablet:"_1lg22bkjy",desktop:"_1lg22bkjz"},defaultClass:"_1lg22bkjx"},grayA8:{conditions:{mobile:"_1lg22bkk0",tablet:"_1lg22bkk1",desktop:"_1lg22bkk2"},defaultClass:"_1lg22bkk0"},grayA9:{conditions:{mobile:"_1lg22bkk3",tablet:"_1lg22bkk4",desktop:"_1lg22bkk5"},defaultClass:"_1lg22bkk3"},grayA10:{conditions:{mobile:"_1lg22bkk6",tablet:"_1lg22bkk7",desktop:"_1lg22bkk8"},defaultClass:"_1lg22bkk6"},grayA11:{conditions:{mobile:"_1lg22bkk9",tablet:"_1lg22bkka",desktop:"_1lg22bkkb"},defaultClass:"_1lg22bkk9"},grayA12:{conditions:{mobile:"_1lg22bkkc",tablet:"_1lg22bkkd",desktop:"_1lg22bkke"},defaultClass:"_1lg22bkkc"},grayContrast:{conditions:{mobile:"_1lg22bkkf",tablet:"_1lg22bkkg",desktop:"_1lg22bkkh"},defaultClass:"_1lg22bkkf"},graySurface:{conditions:{mobile:"_1lg22bkki",tablet:"_1lg22bkkj",desktop:"_1lg22bkkk"},defaultClass:"_1lg22bkki"},grayIndicator:{conditions:{mobile:"_1lg22bkkl",tablet:"_1lg22bkkm",desktop:"_1lg22bkkn"},defaultClass:"_1lg22bkkl"},grayTrack:{conditions:{mobile:"_1lg22bkko",tablet:"_1lg22bkkp",desktop:"_1lg22bkkq"},defaultClass:"_1lg22bkko"},background:{conditions:{mobile:"_1lg22bkkr",tablet:"_1lg22bkks",desktop:"_1lg22bkkt"},defaultClass:"_1lg22bkkr"}}},borderColor:{values:{accent1:{conditions:{mobile:"_1lg22bkku",tablet:"_1lg22bkkv",desktop:"_1lg22bkkw"},defaultClass:"_1lg22bkku"},accent2:{conditions:{mobile:"_1lg22bkkx",tablet:"_1lg22bkky",desktop:"_1lg22bkkz"},defaultClass:"_1lg22bkkx"},accent3:{conditions:{mobile:"_1lg22bkl0",tablet:"_1lg22bkl1",desktop:"_1lg22bkl2"},defaultClass:"_1lg22bkl0"},accent4:{conditions:{mobile:"_1lg22bkl3",tablet:"_1lg22bkl4",desktop:"_1lg22bkl5"},defaultClass:"_1lg22bkl3"},accent5:{conditions:{mobile:"_1lg22bkl6",tablet:"_1lg22bkl7",desktop:"_1lg22bkl8"},defaultClass:"_1lg22bkl6"},accent6:{conditions:{mobile:"_1lg22bkl9",tablet:"_1lg22bkla",desktop:"_1lg22bklb"},defaultClass:"_1lg22bkl9"},accent7:{conditions:{mobile:"_1lg22bklc",tablet:"_1lg22bkld",desktop:"_1lg22bkle"},defaultClass:"_1lg22bklc"},accent8:{conditions:{mobile:"_1lg22bklf",tablet:"_1lg22bklg",desktop:"_1lg22bklh"},defaultClass:"_1lg22bklf"},accent9:{conditions:{mobile:"_1lg22bkli",tablet:"_1lg22bklj",desktop:"_1lg22bklk"},defaultClass:"_1lg22bkli"},accent10:{conditions:{mobile:"_1lg22bkll",tablet:"_1lg22bklm",desktop:"_1lg22bkln"},defaultClass:"_1lg22bkll"},accent11:{conditions:{mobile:"_1lg22bklo",tablet:"_1lg22bklp",desktop:"_1lg22bklq"},defaultClass:"_1lg22bklo"},accent12:{conditions:{mobile:"_1lg22bklr",tablet:"_1lg22bkls",desktop:"_1lg22bklt"},defaultClass:"_1lg22bklr"},accentA1:{conditions:{mobile:"_1lg22bklu",tablet:"_1lg22bklv",desktop:"_1lg22bklw"},defaultClass:"_1lg22bklu"},accentA2:{conditions:{mobile:"_1lg22bklx",tablet:"_1lg22bkly",desktop:"_1lg22bklz"},defaultClass:"_1lg22bklx"},accentA3:{conditions:{mobile:"_1lg22bkm0",tablet:"_1lg22bkm1",desktop:"_1lg22bkm2"},defaultClass:"_1lg22bkm0"},accentA4:{conditions:{mobile:"_1lg22bkm3",tablet:"_1lg22bkm4",desktop:"_1lg22bkm5"},defaultClass:"_1lg22bkm3"},accentA5:{conditions:{mobile:"_1lg22bkm6",tablet:"_1lg22bkm7",desktop:"_1lg22bkm8"},defaultClass:"_1lg22bkm6"},accentA6:{conditions:{mobile:"_1lg22bkm9",tablet:"_1lg22bkma",desktop:"_1lg22bkmb"},defaultClass:"_1lg22bkm9"},accentA7:{conditions:{mobile:"_1lg22bkmc",tablet:"_1lg22bkmd",desktop:"_1lg22bkme"},defaultClass:"_1lg22bkmc"},accentA8:{conditions:{mobile:"_1lg22bkmf",tablet:"_1lg22bkmg",desktop:"_1lg22bkmh"},defaultClass:"_1lg22bkmf"},accentA9:{conditions:{mobile:"_1lg22bkmi",tablet:"_1lg22bkmj",desktop:"_1lg22bkmk"},defaultClass:"_1lg22bkmi"},accentA10:{conditions:{mobile:"_1lg22bkml",tablet:"_1lg22bkmm",desktop:"_1lg22bkmn"},defaultClass:"_1lg22bkml"},accentA11:{conditions:{mobile:"_1lg22bkmo",tablet:"_1lg22bkmp",desktop:"_1lg22bkmq"},defaultClass:"_1lg22bkmo"},accentA12:{conditions:{mobile:"_1lg22bkmr",tablet:"_1lg22bkms",desktop:"_1lg22bkmt"},defaultClass:"_1lg22bkmr"},accentContrast:{conditions:{mobile:"_1lg22bkmu",tablet:"_1lg22bkmv",desktop:"_1lg22bkmw"},defaultClass:"_1lg22bkmu"},accentSurface:{conditions:{mobile:"_1lg22bkmx",tablet:"_1lg22bkmy",desktop:"_1lg22bkmz"},defaultClass:"_1lg22bkmx"},accentIndicator:{conditions:{mobile:"_1lg22bkn0",tablet:"_1lg22bkn1",desktop:"_1lg22bkn2"},defaultClass:"_1lg22bkn0"},accentTrack:{conditions:{mobile:"_1lg22bkn3",tablet:"_1lg22bkn4",desktop:"_1lg22bkn5"},defaultClass:"_1lg22bkn3"},error1:{conditions:{mobile:"_1lg22bkn6",tablet:"_1lg22bkn7",desktop:"_1lg22bkn8"},defaultClass:"_1lg22bkn6"},error2:{conditions:{mobile:"_1lg22bkn9",tablet:"_1lg22bkna",desktop:"_1lg22bknb"},defaultClass:"_1lg22bkn9"},error3:{conditions:{mobile:"_1lg22bknc",tablet:"_1lg22bknd",desktop:"_1lg22bkne"},defaultClass:"_1lg22bknc"},error4:{conditions:{mobile:"_1lg22bknf",tablet:"_1lg22bkng",desktop:"_1lg22bknh"},defaultClass:"_1lg22bknf"},error5:{conditions:{mobile:"_1lg22bkni",tablet:"_1lg22bknj",desktop:"_1lg22bknk"},defaultClass:"_1lg22bkni"},error6:{conditions:{mobile:"_1lg22bknl",tablet:"_1lg22bknm",desktop:"_1lg22bknn"},defaultClass:"_1lg22bknl"},error7:{conditions:{mobile:"_1lg22bkno",tablet:"_1lg22bknp",desktop:"_1lg22bknq"},defaultClass:"_1lg22bkno"},error8:{conditions:{mobile:"_1lg22bknr",tablet:"_1lg22bkns",desktop:"_1lg22bknt"},defaultClass:"_1lg22bknr"},error9:{conditions:{mobile:"_1lg22bknu",tablet:"_1lg22bknv",desktop:"_1lg22bknw"},defaultClass:"_1lg22bknu"},error10:{conditions:{mobile:"_1lg22bknx",tablet:"_1lg22bkny",desktop:"_1lg22bknz"},defaultClass:"_1lg22bknx"},error11:{conditions:{mobile:"_1lg22bko0",tablet:"_1lg22bko1",desktop:"_1lg22bko2"},defaultClass:"_1lg22bko0"},error12:{conditions:{mobile:"_1lg22bko3",tablet:"_1lg22bko4",desktop:"_1lg22bko5"},defaultClass:"_1lg22bko3"},errorA1:{conditions:{mobile:"_1lg22bko6",tablet:"_1lg22bko7",desktop:"_1lg22bko8"},defaultClass:"_1lg22bko6"},errorA2:{conditions:{mobile:"_1lg22bko9",tablet:"_1lg22bkoa",desktop:"_1lg22bkob"},defaultClass:"_1lg22bko9"},errorA3:{conditions:{mobile:"_1lg22bkoc",tablet:"_1lg22bkod",desktop:"_1lg22bkoe"},defaultClass:"_1lg22bkoc"},errorA4:{conditions:{mobile:"_1lg22bkof",tablet:"_1lg22bkog",desktop:"_1lg22bkoh"},defaultClass:"_1lg22bkof"},errorA5:{conditions:{mobile:"_1lg22bkoi",tablet:"_1lg22bkoj",desktop:"_1lg22bkok"},defaultClass:"_1lg22bkoi"},errorA6:{conditions:{mobile:"_1lg22bkol",tablet:"_1lg22bkom",desktop:"_1lg22bkon"},defaultClass:"_1lg22bkol"},errorA7:{conditions:{mobile:"_1lg22bkoo",tablet:"_1lg22bkop",desktop:"_1lg22bkoq"},defaultClass:"_1lg22bkoo"},errorA8:{conditions:{mobile:"_1lg22bkor",tablet:"_1lg22bkos",desktop:"_1lg22bkot"},defaultClass:"_1lg22bkor"},errorA9:{conditions:{mobile:"_1lg22bkou",tablet:"_1lg22bkov",desktop:"_1lg22bkow"},defaultClass:"_1lg22bkou"},errorA10:{conditions:{mobile:"_1lg22bkox",tablet:"_1lg22bkoy",desktop:"_1lg22bkoz"},defaultClass:"_1lg22bkox"},errorA11:{conditions:{mobile:"_1lg22bkp0",tablet:"_1lg22bkp1",desktop:"_1lg22bkp2"},defaultClass:"_1lg22bkp0"},errorA12:{conditions:{mobile:"_1lg22bkp3",tablet:"_1lg22bkp4",desktop:"_1lg22bkp5"},defaultClass:"_1lg22bkp3"},errorContrast:{conditions:{mobile:"_1lg22bkp6",tablet:"_1lg22bkp7",desktop:"_1lg22bkp8"},defaultClass:"_1lg22bkp6"},errorSurface:{conditions:{mobile:"_1lg22bkp9",tablet:"_1lg22bkpa",desktop:"_1lg22bkpb"},defaultClass:"_1lg22bkp9"},errorIndicator:{conditions:{mobile:"_1lg22bkpc",tablet:"_1lg22bkpd",desktop:"_1lg22bkpe"},defaultClass:"_1lg22bkpc"},errorTrack:{conditions:{mobile:"_1lg22bkpf",tablet:"_1lg22bkpg",desktop:"_1lg22bkph"},defaultClass:"_1lg22bkpf"},gray1:{conditions:{mobile:"_1lg22bkpi",tablet:"_1lg22bkpj",desktop:"_1lg22bkpk"},defaultClass:"_1lg22bkpi"},gray2:{conditions:{mobile:"_1lg22bkpl",tablet:"_1lg22bkpm",desktop:"_1lg22bkpn"},defaultClass:"_1lg22bkpl"},gray3:{conditions:{mobile:"_1lg22bkpo",tablet:"_1lg22bkpp",desktop:"_1lg22bkpq"},defaultClass:"_1lg22bkpo"},gray4:{conditions:{mobile:"_1lg22bkpr",tablet:"_1lg22bkps",desktop:"_1lg22bkpt"},defaultClass:"_1lg22bkpr"},gray5:{conditions:{mobile:"_1lg22bkpu",tablet:"_1lg22bkpv",desktop:"_1lg22bkpw"},defaultClass:"_1lg22bkpu"},gray6:{conditions:{mobile:"_1lg22bkpx",tablet:"_1lg22bkpy",desktop:"_1lg22bkpz"},defaultClass:"_1lg22bkpx"},gray7:{conditions:{mobile:"_1lg22bkq0",tablet:"_1lg22bkq1",desktop:"_1lg22bkq2"},defaultClass:"_1lg22bkq0"},gray8:{conditions:{mobile:"_1lg22bkq3",tablet:"_1lg22bkq4",desktop:"_1lg22bkq5"},defaultClass:"_1lg22bkq3"},gray9:{conditions:{mobile:"_1lg22bkq6",tablet:"_1lg22bkq7",desktop:"_1lg22bkq8"},defaultClass:"_1lg22bkq6"},gray10:{conditions:{mobile:"_1lg22bkq9",tablet:"_1lg22bkqa",desktop:"_1lg22bkqb"},defaultClass:"_1lg22bkq9"},gray11:{conditions:{mobile:"_1lg22bkqc",tablet:"_1lg22bkqd",desktop:"_1lg22bkqe"},defaultClass:"_1lg22bkqc"},gray12:{conditions:{mobile:"_1lg22bkqf",tablet:"_1lg22bkqg",desktop:"_1lg22bkqh"},defaultClass:"_1lg22bkqf"},grayA1:{conditions:{mobile:"_1lg22bkqi",tablet:"_1lg22bkqj",desktop:"_1lg22bkqk"},defaultClass:"_1lg22bkqi"},grayA2:{conditions:{mobile:"_1lg22bkql",tablet:"_1lg22bkqm",desktop:"_1lg22bkqn"},defaultClass:"_1lg22bkql"},grayA3:{conditions:{mobile:"_1lg22bkqo",tablet:"_1lg22bkqp",desktop:"_1lg22bkqq"},defaultClass:"_1lg22bkqo"},grayA4:{conditions:{mobile:"_1lg22bkqr",tablet:"_1lg22bkqs",desktop:"_1lg22bkqt"},defaultClass:"_1lg22bkqr"},grayA5:{conditions:{mobile:"_1lg22bkqu",tablet:"_1lg22bkqv",desktop:"_1lg22bkqw"},defaultClass:"_1lg22bkqu"},grayA6:{conditions:{mobile:"_1lg22bkqx",tablet:"_1lg22bkqy",desktop:"_1lg22bkqz"},defaultClass:"_1lg22bkqx"},grayA7:{conditions:{mobile:"_1lg22bkr0",tablet:"_1lg22bkr1",desktop:"_1lg22bkr2"},defaultClass:"_1lg22bkr0"},grayA8:{conditions:{mobile:"_1lg22bkr3",tablet:"_1lg22bkr4",desktop:"_1lg22bkr5"},defaultClass:"_1lg22bkr3"},grayA9:{conditions:{mobile:"_1lg22bkr6",tablet:"_1lg22bkr7",desktop:"_1lg22bkr8"},defaultClass:"_1lg22bkr6"},grayA10:{conditions:{mobile:"_1lg22bkr9",tablet:"_1lg22bkra",desktop:"_1lg22bkrb"},defaultClass:"_1lg22bkr9"},grayA11:{conditions:{mobile:"_1lg22bkrc",tablet:"_1lg22bkrd",desktop:"_1lg22bkre"},defaultClass:"_1lg22bkrc"},grayA12:{conditions:{mobile:"_1lg22bkrf",tablet:"_1lg22bkrg",desktop:"_1lg22bkrh"},defaultClass:"_1lg22bkrf"},grayContrast:{conditions:{mobile:"_1lg22bkri",tablet:"_1lg22bkrj",desktop:"_1lg22bkrk"},defaultClass:"_1lg22bkri"},graySurface:{conditions:{mobile:"_1lg22bkrl",tablet:"_1lg22bkrm",desktop:"_1lg22bkrn"},defaultClass:"_1lg22bkrl"},grayIndicator:{conditions:{mobile:"_1lg22bkro",tablet:"_1lg22bkrp",desktop:"_1lg22bkrq"},defaultClass:"_1lg22bkro"},grayTrack:{conditions:{mobile:"_1lg22bkrr",tablet:"_1lg22bkrs",desktop:"_1lg22bkrt"},defaultClass:"_1lg22bkrr"},background:{conditions:{mobile:"_1lg22bkru",tablet:"_1lg22bkrv",desktop:"_1lg22bkrw"},defaultClass:"_1lg22bkru"}}},display:{values:{none:{conditions:{mobile:"_1lg22bkrx",tablet:"_1lg22bkry",desktop:"_1lg22bkrz"},defaultClass:"_1lg22bkrx"},flex:{conditions:{mobile:"_1lg22bks0",tablet:"_1lg22bks1",desktop:"_1lg22bks2"},defaultClass:"_1lg22bks0"},block:{conditions:{mobile:"_1lg22bks3",tablet:"_1lg22bks4",desktop:"_1lg22bks5"},defaultClass:"_1lg22bks3"},inline:{conditions:{mobile:"_1lg22bks6",tablet:"_1lg22bks7",desktop:"_1lg22bks8"},defaultClass:"_1lg22bks6"},"inline-block":{conditions:{mobile:"_1lg22bks9",tablet:"_1lg22bksa",desktop:"_1lg22bksb"},defaultClass:"_1lg22bks9"},grid:{conditions:{mobile:"_1lg22bksc",tablet:"_1lg22bksd",desktop:"_1lg22bkse"},defaultClass:"_1lg22bksc"}}},flexDirection:{values:{row:{conditions:{mobile:"_1lg22bksf",tablet:"_1lg22bksg",desktop:"_1lg22bksh"},defaultClass:"_1lg22bksf"},column:{conditions:{mobile:"_1lg22bksi",tablet:"_1lg22bksj",desktop:"_1lg22bksk"},defaultClass:"_1lg22bksi"},"row-reverse":{conditions:{mobile:"_1lg22bksl",tablet:"_1lg22bksm",desktop:"_1lg22bksn"},defaultClass:"_1lg22bksl"},"column-reverse":{conditions:{mobile:"_1lg22bkso",tablet:"_1lg22bksp",desktop:"_1lg22bksq"},defaultClass:"_1lg22bkso"}}},justifyContent:{values:{stretch:{conditions:{mobile:"_1lg22bksr",tablet:"_1lg22bkss",desktop:"_1lg22bkst"},defaultClass:"_1lg22bksr"},"flex-start":{conditions:{mobile:"_1lg22bksu",tablet:"_1lg22bksv",desktop:"_1lg22bksw"},defaultClass:"_1lg22bksu"},center:{conditions:{mobile:"_1lg22bksx",tablet:"_1lg22bksy",desktop:"_1lg22bksz"},defaultClass:"_1lg22bksx"},"flex-end":{conditions:{mobile:"_1lg22bkt0",tablet:"_1lg22bkt1",desktop:"_1lg22bkt2"},defaultClass:"_1lg22bkt0"},"space-around":{conditions:{mobile:"_1lg22bkt3",tablet:"_1lg22bkt4",desktop:"_1lg22bkt5"},defaultClass:"_1lg22bkt3"},"space-between":{conditions:{mobile:"_1lg22bkt6",tablet:"_1lg22bkt7",desktop:"_1lg22bkt8"},defaultClass:"_1lg22bkt6"}}},alignItems:{values:{stretch:{conditions:{mobile:"_1lg22bkt9",tablet:"_1lg22bkta",desktop:"_1lg22bktb"},defaultClass:"_1lg22bkt9"},"flex-start":{conditions:{mobile:"_1lg22bktc",tablet:"_1lg22bktd",desktop:"_1lg22bkte"},defaultClass:"_1lg22bktc"},center:{conditions:{mobile:"_1lg22bktf",tablet:"_1lg22bktg",desktop:"_1lg22bkth"},defaultClass:"_1lg22bktf"},"flex-end":{conditions:{mobile:"_1lg22bkti",tablet:"_1lg22bktj",desktop:"_1lg22bktk"},defaultClass:"_1lg22bkti"}}},gap:{values:{none:{conditions:{mobile:"_1lg22bktl",tablet:"_1lg22bktm",desktop:"_1lg22bktn"},defaultClass:"_1lg22bktl"},xs:{conditions:{mobile:"_1lg22bkto",tablet:"_1lg22bktp",desktop:"_1lg22bktq"},defaultClass:"_1lg22bkto"},sm:{conditions:{mobile:"_1lg22bktr",tablet:"_1lg22bkts",desktop:"_1lg22bktt"},defaultClass:"_1lg22bktr"},md:{conditions:{mobile:"_1lg22bktu",tablet:"_1lg22bktv",desktop:"_1lg22bktw"},defaultClass:"_1lg22bktu"},lg:{conditions:{mobile:"_1lg22bktx",tablet:"_1lg22bkty",desktop:"_1lg22bktz"},defaultClass:"_1lg22bktx"},xl:{conditions:{mobile:"_1lg22bku0",tablet:"_1lg22bku1",desktop:"_1lg22bku2"},defaultClass:"_1lg22bku0"},"2xl":{conditions:{mobile:"_1lg22bku3",tablet:"_1lg22bku4",desktop:"_1lg22bku5"},defaultClass:"_1lg22bku3"},"3xl":{conditions:{mobile:"_1lg22bku6",tablet:"_1lg22bku7",desktop:"_1lg22bku8"},defaultClass:"_1lg22bku6"}}},borderRadius:{values:{none:{conditions:{mobile:"_1lg22bku9",tablet:"_1lg22bkua",desktop:"_1lg22bkub"},defaultClass:"_1lg22bku9"},xs:{conditions:{mobile:"_1lg22bkuc",tablet:"_1lg22bkud",desktop:"_1lg22bkue"},defaultClass:"_1lg22bkuc"},sm:{conditions:{mobile:"_1lg22bkuf",tablet:"_1lg22bkug",desktop:"_1lg22bkuh"},defaultClass:"_1lg22bkuf"},md:{conditions:{mobile:"_1lg22bkui",tablet:"_1lg22bkuj",desktop:"_1lg22bkuk"},defaultClass:"_1lg22bkui"},lg:{conditions:{mobile:"_1lg22bkul",tablet:"_1lg22bkum",desktop:"_1lg22bkun"},defaultClass:"_1lg22bkul"},xl:{conditions:{mobile:"_1lg22bkuo",tablet:"_1lg22bkup",desktop:"_1lg22bkuq"},defaultClass:"_1lg22bkuo"},"2xl":{conditions:{mobile:"_1lg22bkur",tablet:"_1lg22bkus",desktop:"_1lg22bkut"},defaultClass:"_1lg22bkur"},"3xl":{conditions:{mobile:"_1lg22bkuu",tablet:"_1lg22bkuv",desktop:"_1lg22bkuw"},defaultClass:"_1lg22bkuu"}}},fontSize:{values:{xs:{conditions:{mobile:"_1lg22bkux",tablet:"_1lg22bkuy",desktop:"_1lg22bkuz"},defaultClass:"_1lg22bkux"},sm:{conditions:{mobile:"_1lg22bkv0",tablet:"_1lg22bkv1",desktop:"_1lg22bkv2"},defaultClass:"_1lg22bkv0"},base:{conditions:{mobile:"_1lg22bkv3",tablet:"_1lg22bkv4",desktop:"_1lg22bkv5"},defaultClass:"_1lg22bkv3"},lg:{conditions:{mobile:"_1lg22bkv6",tablet:"_1lg22bkv7",desktop:"_1lg22bkv8"},defaultClass:"_1lg22bkv6"},xl:{conditions:{mobile:"_1lg22bkv9",tablet:"_1lg22bkva",desktop:"_1lg22bkvb"},defaultClass:"_1lg22bkv9"},"2xl":{conditions:{mobile:"_1lg22bkvc",tablet:"_1lg22bkvd",desktop:"_1lg22bkve"},defaultClass:"_1lg22bkvc"},"3xl":{conditions:{mobile:"_1lg22bkvf",tablet:"_1lg22bkvg",desktop:"_1lg22bkvh"},defaultClass:"_1lg22bkvf"},"4xl":{conditions:{mobile:"_1lg22bkvi",tablet:"_1lg22bkvj",desktop:"_1lg22bkvk"},defaultClass:"_1lg22bkvi"}}},fontWeight:{values:{normal:{conditions:{mobile:"_1lg22bkvl",tablet:"_1lg22bkvm",desktop:"_1lg22bkvn"},defaultClass:"_1lg22bkvl"},medium:{conditions:{mobile:"_1lg22bkvo",tablet:"_1lg22bkvp",desktop:"_1lg22bkvq"},defaultClass:"_1lg22bkvo"},semibold:{conditions:{mobile:"_1lg22bkvr",tablet:"_1lg22bkvs",desktop:"_1lg22bkvt"},defaultClass:"_1lg22bkvr"},bold:{conditions:{mobile:"_1lg22bkvu",tablet:"_1lg22bkvv",desktop:"_1lg22bkvw"},defaultClass:"_1lg22bkvu"}}},fontFamily:{values:{sans:{conditions:{mobile:"_1lg22bkvx",tablet:"_1lg22bkvy",desktop:"_1lg22bkvz"},defaultClass:"_1lg22bkvx"},mono:{conditions:{mobile:"_1lg22bkw0",tablet:"_1lg22bkw1",desktop:"_1lg22bkw2"},defaultClass:"_1lg22bkw0"}}},textAlign:{values:{left:{conditions:{mobile:"_1lg22bkw3",tablet:"_1lg22bkw4",desktop:"_1lg22bkw5"},defaultClass:"_1lg22bkw3"},center:{conditions:{mobile:"_1lg22bkw6",tablet:"_1lg22bkw7",desktop:"_1lg22bkw8"},defaultClass:"_1lg22bkw6"},right:{conditions:{mobile:"_1lg22bkw9",tablet:"_1lg22bkwa",desktop:"_1lg22bkwb"},defaultClass:"_1lg22bkw9"}}},position:{values:{static:{conditions:{mobile:"_1lg22bkwc",tablet:"_1lg22bkwd",desktop:"_1lg22bkwe"},defaultClass:"_1lg22bkwc"},relative:{conditions:{mobile:"_1lg22bkwf",tablet:"_1lg22bkwg",desktop:"_1lg22bkwh"},defaultClass:"_1lg22bkwf"},absolute:{conditions:{mobile:"_1lg22bkwi",tablet:"_1lg22bkwj",desktop:"_1lg22bkwk"},defaultClass:"_1lg22bkwi"},fixed:{conditions:{mobile:"_1lg22bkwl",tablet:"_1lg22bkwm",desktop:"_1lg22bkwn"},defaultClass:"_1lg22bkwl"},sticky:{conditions:{mobile:"_1lg22bkwo",tablet:"_1lg22bkwp",desktop:"_1lg22bkwq"},defaultClass:"_1lg22bkwo"}}},top:{values:{none:{conditions:{mobile:"_1lg22bkwr",tablet:"_1lg22bkws",desktop:"_1lg22bkwt"},defaultClass:"_1lg22bkwr"},xs:{conditions:{mobile:"_1lg22bkwu",tablet:"_1lg22bkwv",desktop:"_1lg22bkww"},defaultClass:"_1lg22bkwu"},sm:{conditions:{mobile:"_1lg22bkwx",tablet:"_1lg22bkwy",desktop:"_1lg22bkwz"},defaultClass:"_1lg22bkwx"},md:{conditions:{mobile:"_1lg22bkx0",tablet:"_1lg22bkx1",desktop:"_1lg22bkx2"},defaultClass:"_1lg22bkx0"},lg:{conditions:{mobile:"_1lg22bkx3",tablet:"_1lg22bkx4",desktop:"_1lg22bkx5"},defaultClass:"_1lg22bkx3"},xl:{conditions:{mobile:"_1lg22bkx6",tablet:"_1lg22bkx7",desktop:"_1lg22bkx8"},defaultClass:"_1lg22bkx6"},"2xl":{conditions:{mobile:"_1lg22bkx9",tablet:"_1lg22bkxa",desktop:"_1lg22bkxb"},defaultClass:"_1lg22bkx9"},"3xl":{conditions:{mobile:"_1lg22bkxc",tablet:"_1lg22bkxd",desktop:"_1lg22bkxe"},defaultClass:"_1lg22bkxc"}}},bottom:{values:{none:{conditions:{mobile:"_1lg22bkxf",tablet:"_1lg22bkxg",desktop:"_1lg22bkxh"},defaultClass:"_1lg22bkxf"},xs:{conditions:{mobile:"_1lg22bkxi",tablet:"_1lg22bkxj",desktop:"_1lg22bkxk"},defaultClass:"_1lg22bkxi"},sm:{conditions:{mobile:"_1lg22bkxl",tablet:"_1lg22bkxm",desktop:"_1lg22bkxn"},defaultClass:"_1lg22bkxl"},md:{conditions:{mobile:"_1lg22bkxo",tablet:"_1lg22bkxp",desktop:"_1lg22bkxq"},defaultClass:"_1lg22bkxo"},lg:{conditions:{mobile:"_1lg22bkxr",tablet:"_1lg22bkxs",desktop:"_1lg22bkxt"},defaultClass:"_1lg22bkxr"},xl:{conditions:{mobile:"_1lg22bkxu",tablet:"_1lg22bkxv",desktop:"_1lg22bkxw"},defaultClass:"_1lg22bkxu"},"2xl":{conditions:{mobile:"_1lg22bkxx",tablet:"_1lg22bkxy",desktop:"_1lg22bkxz"},defaultClass:"_1lg22bkxx"},"3xl":{conditions:{mobile:"_1lg22bky0",tablet:"_1lg22bky1",desktop:"_1lg22bky2"},defaultClass:"_1lg22bky0"}}},left:{values:{none:{conditions:{mobile:"_1lg22bky3",tablet:"_1lg22bky4",desktop:"_1lg22bky5"},defaultClass:"_1lg22bky3"},xs:{conditions:{mobile:"_1lg22bky6",tablet:"_1lg22bky7",desktop:"_1lg22bky8"},defaultClass:"_1lg22bky6"},sm:{conditions:{mobile:"_1lg22bky9",tablet:"_1lg22bkya",desktop:"_1lg22bkyb"},defaultClass:"_1lg22bky9"},md:{conditions:{mobile:"_1lg22bkyc",tablet:"_1lg22bkyd",desktop:"_1lg22bkye"},defaultClass:"_1lg22bkyc"},lg:{conditions:{mobile:"_1lg22bkyf",tablet:"_1lg22bkyg",desktop:"_1lg22bkyh"},defaultClass:"_1lg22bkyf"},xl:{conditions:{mobile:"_1lg22bkyi",tablet:"_1lg22bkyj",desktop:"_1lg22bkyk"},defaultClass:"_1lg22bkyi"},"2xl":{conditions:{mobile:"_1lg22bkyl",tablet:"_1lg22bkym",desktop:"_1lg22bkyn"},defaultClass:"_1lg22bkyl"},"3xl":{conditions:{mobile:"_1lg22bkyo",tablet:"_1lg22bkyp",desktop:"_1lg22bkyq"},defaultClass:"_1lg22bkyo"}}},right:{values:{none:{conditions:{mobile:"_1lg22bkyr",tablet:"_1lg22bkys",desktop:"_1lg22bkyt"},defaultClass:"_1lg22bkyr"},xs:{conditions:{mobile:"_1lg22bkyu",tablet:"_1lg22bkyv",desktop:"_1lg22bkyw"},defaultClass:"_1lg22bkyu"},sm:{conditions:{mobile:"_1lg22bkyx",tablet:"_1lg22bkyy",desktop:"_1lg22bkyz"},defaultClass:"_1lg22bkyx"},md:{conditions:{mobile:"_1lg22bkz0",tablet:"_1lg22bkz1",desktop:"_1lg22bkz2"},defaultClass:"_1lg22bkz0"},lg:{conditions:{mobile:"_1lg22bkz3",tablet:"_1lg22bkz4",desktop:"_1lg22bkz5"},defaultClass:"_1lg22bkz3"},xl:{conditions:{mobile:"_1lg22bkz6",tablet:"_1lg22bkz7",desktop:"_1lg22bkz8"},defaultClass:"_1lg22bkz6"},"2xl":{conditions:{mobile:"_1lg22bkz9",tablet:"_1lg22bkza",desktop:"_1lg22bkzb"},defaultClass:"_1lg22bkz9"},"3xl":{conditions:{mobile:"_1lg22bkzc",tablet:"_1lg22bkzd",desktop:"_1lg22bkze"},defaultClass:"_1lg22bkzc"}}},zIndex:{values:{0:{conditions:{mobile:"_1lg22bkzf",tablet:"_1lg22bkzg",desktop:"_1lg22bkzh"},defaultClass:"_1lg22bkzf"},10:{conditions:{mobile:"_1lg22bkzi",tablet:"_1lg22bkzj",desktop:"_1lg22bkzk"},defaultClass:"_1lg22bkzi"},20:{conditions:{mobile:"_1lg22bkzl",tablet:"_1lg22bkzm",desktop:"_1lg22bkzn"},defaultClass:"_1lg22bkzl"},30:{conditions:{mobile:"_1lg22bkzo",tablet:"_1lg22bkzp",desktop:"_1lg22bkzq"},defaultClass:"_1lg22bkzo"},40:{conditions:{mobile:"_1lg22bkzr",tablet:"_1lg22bkzs",desktop:"_1lg22bkzt"},defaultClass:"_1lg22bkzr"},50:{conditions:{mobile:"_1lg22bkzu",tablet:"_1lg22bkzv",desktop:"_1lg22bkzw"},defaultClass:"_1lg22bkzu"}}}}},{conditions:void 0,styles:{cursor:{values:{default:{defaultClass:"_1lg22bkzx"},pointer:{defaultClass:"_1lg22bkzy"},"not-allowed":{defaultClass:"_1lg22bkzz"}}},userSelect:{values:{none:{defaultClass:"_1lg22bk100"},text:{defaultClass:"_1lg22bk101"},all:{defaultClass:"_1lg22bk102"}}},pointerEvents:{values:{none:{defaultClass:"_1lg22bk103"},auto:{defaultClass:"_1lg22bk104"}}},outline:{values:{none:{defaultClass:"_1lg22bk105"}}},borderWidth:{values:{0:{defaultClass:"_1lg22bk106"},1:{defaultClass:"_1lg22bk107"},2:{defaultClass:"_1lg22bk108"}}},borderStyle:{values:{none:{defaultClass:"_1lg22bk109"},solid:{defaultClass:"_1lg22bk10a"},dashed:{defaultClass:"_1lg22bk10b"},dotted:{defaultClass:"_1lg22bk10c"}}},boxSizing:{values:{"border-box":{defaultClass:"_1lg22bk10d"},"content-box":{defaultClass:"_1lg22bk10e"}}},width:{values:{auto:{defaultClass:"_1lg22bk10f"},"100%":{defaultClass:"_1lg22bk10g"},"50%":{defaultClass:"_1lg22bk10h"},"25%":{defaultClass:"_1lg22bk10i"}}},height:{values:{auto:{defaultClass:"_1lg22bk10j"},"100%":{defaultClass:"_1lg22bk10k"},"50%":{defaultClass:"_1lg22bk10l"},"25%":{defaultClass:"_1lg22bk10m"}}},minWidth:{values:{0:{defaultClass:"_1lg22bk10n"},"100%":{defaultClass:"_1lg22bk10o"}}},minHeight:{values:{0:{defaultClass:"_1lg22bk10p"},"100%":{defaultClass:"_1lg22bk10q"}}},maxWidth:{values:{none:{defaultClass:"_1lg22bk10r"},"100%":{defaultClass:"_1lg22bk10s"}}},maxHeight:{values:{none:{defaultClass:"_1lg22bk10t"},"100%":{defaultClass:"_1lg22bk10u"}}},overflow:{values:{visible:{defaultClass:"_1lg22bk10v"},hidden:{defaultClass:"_1lg22bk10w"},scroll:{defaultClass:"_1lg22bk10x"},auto:{defaultClass:"_1lg22bk10y"}}},whiteSpace:{values:{normal:{defaultClass:"_1lg22bk10z"},nowrap:{defaultClass:"_1lg22bk110"},pre:{defaultClass:"_1lg22bk111"},"pre-wrap":{defaultClass:"_1lg22bk112"}}},textOverflow:{values:{clip:{defaultClass:"_1lg22bk113"},ellipsis:{defaultClass:"_1lg22bk114"}}},transitionTimingFunction:{values:{easeInOutBack:{defaultClass:"_1lg22bk115"},easeInOutCubic:{defaultClass:"_1lg22bk116"}}}}});var hA=an({defaultClassName:"_19asz6d0",variantClassNames:{size:{xs:"_19asz6d1",sm:"_19asz6d2",md:"_19asz6d3",lg:"_19asz6d4",xl:"_19asz6d5"}},defaultVariants:{size:"sm"},compoundVariants:[]});const Ta=t=>{const l=At.c(14);let a,s,r,u;l[0]!==t?({icon:a,size:u,className:s,...r}=t,l[0]=t,l[1]=a,l[2]=s,l[3]=r,l[4]=u):(a=l[1],s=l[2],r=l[3],u=l[4]);const d=u===void 0?"sm":u;let h;l[5]!==s||l[6]!==d?(h=vl(hA({size:d}),s),l[5]=s,l[6]=d,l[7]=h):h=l[7];let g;l[8]!==a?(g=Z.jsx(a,{}),l[8]=a,l[9]=g):g=l[9];let b;return l[10]!==r||l[11]!==h||l[12]!==g?(b=Z.jsx("span",{className:h,...r,children:g}),l[10]=r,l[11]=h,l[12]=g,l[13]=b):b=l[13],b},gA=t=>S.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 2000 2000",xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",...t},S.createElement("path",{d:"M500,2000L500,1050C500.705,750.116 682.618,600.065 1000,600C1332.431,602.05 1499.991,750.677 1500,1050L1500,2000L500,2000Z",fill:"var(--ghost-body, #000)"}),S.createElement("g",{transform:"matrix(1.5,0,0,0.8,-300,180)"},S.createElement("ellipse",{cx:750,cy:1025,rx:50,ry:125,fill:"var(--ghost-eyes, #fff)"})),S.createElement("g",{transform:"matrix(1.5,0,0,0.8,50,180)"},S.createElement("ellipse",{cx:750,cy:1025,rx:50,ry:125,fill:"var(--ghost-eyes, #fff)"})));var bA="xbvkwf0",pA=an({defaultClassName:"_6nggtl0",variantClassNames:{invert:{true:"_6nggtl1"}},defaultVariants:{invert:!1},compoundVariants:[]});function mA(){const t=At.c(9);let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=Z.jsx(Hw,{}),t[0]=l):l=t[0];let a,s;t[1]===Symbol.for("react.memo_cache_sentinel")?(a=Z.jsx(Kr,{asChild:!0,children:Z.jsxs(Gs,{to:"/",children:[Z.jsx(Ta,{icon:Rv}),"Overview"]})}),s=Z.jsx("br",{}),t[1]=a,t[2]=s):(a=t[1],s=t[2]);let r;t[3]===Symbol.for("react.memo_cache_sentinel")?(r=Z.jsx(Kr,{asChild:!0,children:Z.jsxs(Gs,{to:"/configs",children:[Z.jsx(Ta,{icon:wv}),"Configs"]})}),t[3]=r):r=t[3];let u;t[4]===Symbol.for("react.memo_cache_sentinel")?(u=Z.jsx(Kr,{asChild:!0,children:Z.jsxs(Gs,{to:"/environments",children:[Z.jsx(Ta,{icon:Tv}),"Environments"]})}),t[4]=u):u=t[4];let d,h;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=pA({invert:!0}),h={height:14,width:14},t[5]=d,t[6]=h):(d=t[5],h=t[6]);let g;t[7]===Symbol.for("react.memo_cache_sentinel")?(g=Z.jsxs("div",{className:bA,children:[Z.jsx(gA,{className:d,style:h})," ","Coming Soon"]}),t[7]=g):g=t[7];let b;return t[8]===Symbol.for("react.memo_cache_sentinel")?(b=Z.jsxs(Fw,{children:[l,Z.jsxs(Vw,{children:[a,s,r,u,Z.jsx(sA,{content:g,side:"right",children:Z.jsxs(Kr,{children:[Z.jsx(Ta,{icon:eA}),"Observability"]})})]}),Z.jsx(Bw,{})]}),t[8]=b):b=t[8],b}var yA="_1j1a89s0";const Fu=BS()({component:vA});function vA(){const t=At.c(2);let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=Z.jsx(mA,{}),t[0]=l):l=t[0];let a;return t[1]===Symbol.for("react.memo_cache_sentinel")?(a=Z.jsx("div",{children:Z.jsxs(nT,{children:[l,Z.jsx("div",{className:yA,children:Z.jsx(W1,{})})]})}),t[1]=a):a=t[1],a}const _A="modulepreload",kA=function(t,l){return new URL(t,l).href},g1={},St=function(l,a,s){let r=Promise.resolve();if(a&&a.length>0){let b=function(m){return Promise.all(m.map(p=>Promise.resolve(p).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};const d=document.getElementsByTagName("link"),h=document.querySelector("meta[property=csp-nonce]"),g=h?.nonce||h?.getAttribute("nonce");r=b(a.map(m=>{if(m=kA(m,s),m in g1)return;g1[m]=!0;const p=m.endsWith(".css"),v=p?'[rel="stylesheet"]':"";if(s)for(let C=d.length-1;C>=0;C--){const E=d[C];if(E.href===m&&(!p||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${v}`))return;const _=document.createElement("link");if(_.rel=p?"stylesheet":_A,p||(_.as="script"),_.crossOrigin="",_.href=m,g&&_.setAttribute("nonce",g),document.head.appendChild(_),p)return new Promise((C,E)=>{_.addEventListener("load",C),_.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${m}`)))})}))}function u(d){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=d,window.dispatchEvent(h),!h.defaultPrevented)throw d}return r.then(d=>{for(const h of d||[])h.status==="rejected"&&u(h.reason);return l().catch(u)})},SA=()=>St(()=>import("./index-D0RzYU3K.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),CA=rt("/(app)/")({component:kt(SA,"component"),staticData:{customData:{title:"Overview",icon:Z.jsx(Ta,{icon:Rv})}}}),EA=()=>St(()=>import("./environments-DtJ5Lpag.js"),__vite__mapDeps([12,1,2,3,4,13,14,15,16,17,5,18,19,7,20,11]),import.meta.url),xA=rt("/(app)/environments")({component:kt(EA,"component"),staticData:{customData:{title:"Environments",icon:Z.jsx(Ta,{icon:Tv})}}}),RA=()=>St(()=>import("./configs-Ckb1Gh45.js"),__vite__mapDeps([21,13,1,2,14,15,16,17,5,6,3,4,19,8,9,7,20,22,11]),import.meta.url),TA=rt("/(app)/configs")({component:kt(RA,"component"),staticData:{customData:{title:"Configs",icon:Z.jsx(Ta,{icon:wv})}}});var wA=(t,l,a={})=>{let s=`${t}=${l}`;if(t.startsWith("__Secure-")&&!a.secure)throw new Error("__Secure- Cookie must have Secure attributes");if(t.startsWith("__Host-")){if(!a.secure)throw new Error("__Host- Cookie must have Secure attributes");if(a.path!=="/")throw new Error('__Host- Cookie must have Path attributes with "/"');if(a.domain)throw new Error("__Host- Cookie must not have Domain attributes")}if(a&&typeof a.maxAge=="number"&&a.maxAge>=0){if(a.maxAge>3456e4)throw new Error("Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration.");s+=`; Max-Age=${a.maxAge|0}`}if(a.domain&&a.prefix!=="host"&&(s+=`; Domain=${a.domain}`),a.path&&(s+=`; Path=${a.path}`),a.expires){if(a.expires.getTime()-Date.now()>3456e7)throw new Error("Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future.");s+=`; Expires=${a.expires.toUTCString()}`}if(a.httpOnly&&(s+="; HttpOnly"),a.secure&&(s+="; Secure"),a.sameSite&&(s+=`; SameSite=${a.sameSite.charAt(0).toUpperCase()+a.sameSite.slice(1)}`),a.priority&&(s+=`; Priority=${a.priority.charAt(0).toUpperCase()+a.priority.slice(1)}`),a.partitioned){if(!a.secure)throw new Error("Partitioned Cookie must have Secure attributes");s+="; Partitioned"}return s},AA=(t,l,a)=>(l=encodeURIComponent(l),wA(t,l,a)),OA=(t,l)=>(t=t.replace(/\/+$/,""),t=t+"/",l=l.replace(/^\/+/,""),t+l),sh=(t,l)=>{for(const[a,s]of Object.entries(l)){const r=new RegExp("/:"+a+"(?:{[^/]+})?\\??");t=t.replace(r,s?`/${s}`:"")}return t},Av=t=>{const l=new URLSearchParams;for(const[a,s]of Object.entries(t))if(s!==void 0)if(Array.isArray(s))for(const r of s)l.append(a,r);else l.set(a,s);return l},MA=(t,l)=>{switch(l){case"ws":return t.replace(/^http/,"ws");case"http":return t.replace(/^ws/,"http")}},Ov=t=>/^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(t)?t.replace(/\/index(?=\?|$)/,"/"):t.replace(/\/index(?=\?|$)/,"");function Xr(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function Mv(t,l){if(!Xr(t)&&!Xr(l))return l;const a={...t};for(const s in l){const r=l[s];Xr(a[s])&&Xr(r)?a[s]=Mv(a[s],r):a[s]=r}return a}var zv=(t,l)=>new Proxy(()=>{},{get(s,r){if(!(typeof r!="string"||r==="then"))return zv(t,[...l,r])},apply(s,r,u){return t({path:l,args:u})}}),zA=class{url;method;queryParams=void 0;pathParams={};rBody;cType=void 0;constructor(t,l){this.url=t,this.method=l}fetch=async(t,l)=>{if(t){if(t.query&&(this.queryParams=Av(t.query)),t.form){const h=new FormData;for(const[g,b]of Object.entries(t.form))if(Array.isArray(b))for(const m of b)h.append(g,m);else h.append(g,b);this.rBody=h}t.json&&(this.rBody=JSON.stringify(t.json),this.cType="application/json"),t.param&&(this.pathParams=t.param)}let a=this.method.toUpperCase();const s={...t?.header,...typeof l?.headers=="function"?await l.headers():l?.headers};if(t?.cookie){const h=[];for(const[g,b]of Object.entries(t.cookie))h.push(AA(g,b,{path:"/"}));s.Cookie=h.join(",")}this.cType&&(s["Content-Type"]=this.cType);const r=new Headers(s??void 0);let u=this.url;u=Ov(u),u=sh(u,this.pathParams),this.queryParams&&(u=u+"?"+this.queryParams.toString()),a=this.method.toUpperCase();const d=!(a==="GET"||a==="HEAD");return(l?.fetch||fetch)(u,{body:d?this.rBody:void 0,method:a,headers:r,...l?.init})}},DA=(t,l)=>zv(function a(s){const r=[...s.path],u=r.slice(-3).reverse();if(u[0]==="toString")return u[1]==="name"?u[2]||"":a.toString();if(u[0]==="valueOf")return u[1]==="name"?u[2]||"":a;let d="";if(/^\$/.test(u[0])){const m=r.pop();m&&(d=m.replace(/^\$/,""))}const h=r.join("/"),g=OA(t,h);if(d==="url"){let m=g;return s.args[0]&&(s.args[0].param&&(m=sh(g,s.args[0].param)),s.args[0].query&&(m=m+"?"+Av(s.args[0].query).toString())),m=Ov(m),new URL(m)}if(d==="ws"){const m=MA(s.args[0]&&s.args[0].param?sh(g,s.args[0].param):g,"ws"),p=new URL(m),v=s.args[0]?.query;return v&&Object.entries(v).forEach(([C,E])=>{Array.isArray(E)?E.forEach(x=>p.searchParams.append(C,x)):p.searchParams.set(C,E)}),((...C)=>l?.webSocket!==void 0&&typeof l.webSocket=="function"?l.webSocket(...C):new WebSocket(...C))(p.toString())}const b=new zA(g,d);if(d){l??={};const m=Mv(l,{...s.args[1]});return b.fetch(s.args[0],m)}return b},[]);class oh extends Error{response;request;options;constructor(l,a,s){const r=l.status||l.status===0?l.status:"",u=l.statusText??"",d=`${r} ${u}`.trim(),h=d?`status code ${d}`:"an unknown error";super(`Request failed with ${h}: ${a.method} ${a.url}`),this.name="HTTPError",this.response=l,this.request=a,this.options=s}}class Dv extends Error{name="NonError";value;constructor(l){let a="Non-error value was thrown";try{typeof l=="string"?a=l:l&&typeof l=="object"&&"message"in l&&typeof l.message=="string"&&(a=l.message)}catch{}super(a),this.value=l}}class zd extends Error{name="ForceRetryError";customDelay;code;customRequest;constructor(l){const a=l?.cause?l.cause instanceof Error?l.cause:new Dv(l.cause):void 0;super(l?.code?`Forced retry: ${l.code}`:"Forced retry",a?{cause:a}:void 0),this.customDelay=l?.delay,this.code=l?.code,this.customRequest=l?.request}}const b1=(()=>{let t=!1,l=!1;const a=typeof globalThis.ReadableStream=="function",s=typeof globalThis.Request=="function";if(a&&s)try{l=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type")}catch(r){if(r instanceof Error&&r.message==="unsupported BodyInit type")return!1;throw r}return t&&!l})(),LA=typeof globalThis.AbortController=="function",Lv=typeof globalThis.AbortSignal=="function"&&typeof globalThis.AbortSignal.any=="function",PA=typeof globalThis.ReadableStream=="function",NA=typeof globalThis.FormData=="function",Pv=["get","post","put","patch","head","delete"],$A={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},Dd=2147483647,jA=new TextEncoder().encode("------WebKitFormBoundaryaxpyiPgbbPti10Rw").length,Nv=Symbol("stop");class $v{options;constructor(l){this.options=l}}const UA=t=>new $v(t),qA={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},HA={next:!0},BA={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0},VA=t=>{if(!t)return 0;if(t instanceof FormData){let l=0;for(const[a,s]of t)l+=jA,l+=new TextEncoder().encode(`Content-Disposition: form-data; name="${a}"`).length,l+=typeof s=="string"?new TextEncoder().encode(s).length:s.size;return l}if(t instanceof Blob)return t.size;if(t instanceof ArrayBuffer)return t.byteLength;if(typeof t=="string")return new TextEncoder().encode(t).length;if(t instanceof URLSearchParams)return new TextEncoder().encode(t.toString()).length;if("byteLength"in t)return t.byteLength;if(typeof t=="object"&&t!==null)try{const l=JSON.stringify(t);return new TextEncoder().encode(l).length}catch{return 0}return 0},jv=(t,l,a)=>{let s,r=0;return t.pipeThrough(new TransformStream({transform(u,d){if(d.enqueue(u),s){r+=s.byteLength;let h=l===0?0:r/l;h>=1&&(h=1-Number.EPSILON),a?.({percent:h,totalBytes:Math.max(l,r),transferredBytes:r},s)}s=u},flush(){s&&(r+=s.byteLength,a?.({percent:1,totalBytes:Math.max(l,r),transferredBytes:r},s))}}))},FA=(t,l)=>{if(!t.body)return t;if(t.status===204)return new Response(null,{status:t.status,statusText:t.statusText,headers:t.headers});const a=Math.max(0,Number(t.headers.get("content-length"))||0);return new Response(jv(t.body,a,l),{status:t.status,statusText:t.statusText,headers:t.headers})},IA=(t,l,a)=>{if(!t.body)return t;const s=VA(a??t.body);return new Request(t,{duplex:"half",body:jv(t.body,s,l)})},Ra=t=>t!==null&&typeof t=="object",Zr=(...t)=>{for(const l of t)if((!Ra(l)||Array.isArray(l))&&l!==void 0)throw new TypeError("The `options` argument must be an object");return Kh({},...t)},Uv=(t={},l={})=>{const a=new globalThis.Headers(t),s=l instanceof globalThis.Headers,r=new globalThis.Headers(l);for(const[u,d]of r.entries())s&&d==="undefined"||d===void 0?a.delete(u):a.set(u,d);return a};function Jr(t,l,a){return Object.hasOwn(l,a)&&l[a]===void 0?[]:Kh(t[a]??[],l[a]??[])}const qv=(t={},l={})=>({beforeRequest:Jr(t,l,"beforeRequest"),beforeRetry:Jr(t,l,"beforeRetry"),afterResponse:Jr(t,l,"afterResponse"),beforeError:Jr(t,l,"beforeError")}),YA=(t,l)=>{const a=new URLSearchParams;for(const s of[t,l])if(s!==void 0)if(s instanceof URLSearchParams)for(const[r,u]of s.entries())a.append(r,u);else if(Array.isArray(s))for(const r of s){if(!Array.isArray(r)||r.length!==2)throw new TypeError("Array search parameters must be provided in [[key, value], ...] format");a.append(String(r[0]),String(r[1]))}else if(Ra(s))for(const[r,u]of Object.entries(s))u!==void 0&&a.append(r,String(u));else{const r=new URLSearchParams(s);for(const[u,d]of r.entries())a.append(u,d)}return a},Kh=(...t)=>{let l={},a={},s={},r;const u=[];for(const d of t)if(Array.isArray(d))Array.isArray(l)||(l=[]),l=[...l,...d];else if(Ra(d)){for(let[h,g]of Object.entries(d)){if(h==="signal"&&g instanceof globalThis.AbortSignal){u.push(g);continue}if(h==="context"){if(g!=null&&(!Ra(g)||Array.isArray(g)))throw new TypeError("The `context` option must be an object");l={...l,context:g==null?{}:{...l.context,...g}};continue}if(h==="searchParams"){g==null?r=void 0:r=r===void 0?g:YA(r,g);continue}Ra(g)&&h in l&&(g=Kh(l[h],g)),l={...l,[h]:g}}Ra(d.hooks)&&(s=qv(s,d.hooks),l.hooks=s),Ra(d.headers)&&(a=Uv(a,d.headers),l.headers=a)}return r!==void 0&&(l.searchParams=r),u.length>0&&(u.length===1?l.signal=u[0]:Lv?l.signal=AbortSignal.any(u):l.signal=u.at(-1)),l.context===void 0&&(l.context={}),l},GA=t=>Pv.includes(t)?t.toUpperCase():t,QA=["get","put","head","delete","options","trace"],KA=[408,413,429,500,502,503,504],XA=[413,429,503],p1={limit:2,methods:QA,statusCodes:KA,afterStatusCodes:XA,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:t=>.3*2**(t-1)*1e3,jitter:void 0,retryOnTimeout:!1},ZA=(t={})=>{if(typeof t=="number")return{...p1,limit:t};if(t.methods&&!Array.isArray(t.methods))throw new Error("retry.methods must be an array");if(t.statusCodes&&!Array.isArray(t.statusCodes))throw new Error("retry.statusCodes must be an array");return{...p1,...t}};class rh extends Error{request;constructor(l){super(`Request timed out: ${l.method} ${l.url}`),this.name="TimeoutError",this.request=l}}async function JA(t,l,a,s){return new Promise((r,u)=>{const d=setTimeout(()=>{a&&a.abort(),u(new rh(t))},s.timeout);s.fetch(t,l).then(r).catch(u).then(()=>{clearTimeout(d)})})}async function WA(t,{signal:l}){return new Promise((a,s)=>{l&&(l.throwIfAborted(),l.addEventListener("abort",r,{once:!0}));function r(){clearTimeout(u),s(l.reason)}const u=setTimeout(()=>{l?.removeEventListener("abort",r),a()},t)})}const eO=(t,l)=>{const a={};for(const s in l)Object.hasOwn(l,s)&&!(s in BA)&&!(s in qA)&&(!(s in t)||s in HA)&&(a[s]=l[s]);return a},tO=t=>t===void 0?!1:Array.isArray(t)?t.length>0:t instanceof URLSearchParams?t.size>0:typeof t=="object"?Object.keys(t).length>0:typeof t=="string"?t.trim().length>0:!!t;function nO(t){return t instanceof oh||t?.name===oh.name}function lO(t){return t instanceof rh||t?.name===rh.name}class so{static create(l,a){const s=new so(l,a),r=async()=>{if(typeof s.#e.timeout=="number"&&s.#e.timeout>Dd)throw new RangeError(`The \`timeout\` option cannot be greater than ${Dd}`);await Promise.resolve();let d=await s.#g();for(const h of s.#e.hooks.afterResponse){const g=s.#h(d.clone()),b=await h(s.request,s.#r(),g,{retryCount:s.#l});if(b instanceof globalThis.Response&&(d=b),b instanceof $v)throw await Promise.all([g.body?.cancel(),d.body?.cancel()]),new zd(b.options)}if(s.#h(d),!d.ok&&(typeof s.#e.throwHttpErrors=="function"?s.#e.throwHttpErrors(d.status):s.#e.throwHttpErrors)){let h=new oh(d,s.request,s.#r());for(const g of s.#e.hooks.beforeError)h=await g(h,{retryCount:s.#l});throw h}if(s.#e.onDownloadProgress){if(typeof s.#e.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!PA)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return FA(d.clone(),s.#e.onDownloadProgress)}return d},u=s.#u(r).finally(async()=>{const d=s.#o,h=[];d&&!d.bodyUsed&&h.push(d.body?.cancel()),s.request.bodyUsed||h.push(s.request.body?.cancel()),await Promise.all(h)});for(const[d,h]of Object.entries($A))d==="bytes"&&typeof globalThis.Response?.prototype?.bytes!="function"||(u[d]=async()=>{s.request.headers.set("accept",s.request.headers.get("accept")||h);const g=await u;if(d==="json"){if(g.status===204)return"";const b=await g.text();return b===""?"":a.parseJson?a.parseJson(b):JSON.parse(b)}return g[d]()});return u}static#n(l){return l&&typeof l=="object"&&!Array.isArray(l)&&!(l instanceof URLSearchParams)?Object.fromEntries(Object.entries(l).filter(([,a])=>a!==void 0)):l}request;#t;#l=0;#a;#e;#o;#i;#s;constructor(l,a={}){if(this.#a=l,this.#e={...a,headers:Uv(this.#a.headers,a.headers),hooks:qv({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},a.hooks),method:GA(a.method??this.#a.method??"GET"),prefixUrl:String(a.prefixUrl||""),retry:ZA(a.retry),throwHttpErrors:a.throwHttpErrors??!0,timeout:a.timeout??1e4,fetch:a.fetch??globalThis.fetch.bind(globalThis),context:a.context??{}},typeof this.#a!="string"&&!(this.#a instanceof URL||this.#a instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this.#e.prefixUrl&&typeof this.#a=="string"){if(this.#a.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this.#e.prefixUrl.endsWith("/")||(this.#e.prefixUrl+="/"),this.#a=this.#e.prefixUrl+this.#a}LA&&Lv&&(this.#i=this.#e.signal??this.#a.signal,this.#t=new globalThis.AbortController,this.#e.signal=this.#i?AbortSignal.any([this.#i,this.#t.signal]):this.#t.signal),b1&&(this.#e.duplex="half"),this.#e.json!==void 0&&(this.#e.body=this.#e.stringifyJson?.(this.#e.json)??JSON.stringify(this.#e.json),this.#e.headers.set("content-type",this.#e.headers.get("content-type")??"application/json"));const s=a.headers&&new globalThis.Headers(a.headers).has("content-type");if(this.#a instanceof globalThis.Request&&(NA&&this.#e.body instanceof globalThis.FormData||this.#e.body instanceof URLSearchParams)&&!s&&this.#e.headers.delete("content-type"),this.request=new globalThis.Request(this.#a,this.#e),tO(this.#e.searchParams)){const u="?"+(typeof this.#e.searchParams=="string"?this.#e.searchParams.replace(/^\?/,""):new URLSearchParams(so.#n(this.#e.searchParams)).toString()),d=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,u);this.request=new globalThis.Request(d,this.#e)}if(this.#e.onUploadProgress){if(typeof this.#e.onUploadProgress!="function")throw new TypeError("The `onUploadProgress` option must be a function");if(!b1)throw new Error("Request streams are not supported in your environment. The `duplex` option for `Request` is not available.");this.request=this.#f(this.request,this.#e.body??void 0)}}#d(){const l=this.#e.retry.delay(this.#l);let a=l;return this.#e.retry.jitter===!0?a=Math.random()*l:typeof this.#e.retry.jitter=="function"&&(a=this.#e.retry.jitter(l),(!Number.isFinite(a)||a<0)&&(a=l)),Math.min(this.#e.retry.backoffLimit,a)}async#b(l){if(this.#l++,this.#l>this.#e.retry.limit)throw l;const a=l instanceof Error?l:new Dv(l);if(a instanceof zd)return a.customDelay??this.#d();if(!this.#e.retry.methods.includes(this.request.method.toLowerCase()))throw l;if(this.#e.retry.shouldRetry!==void 0){const s=await this.#e.retry.shouldRetry({error:a,retryCount:this.#l});if(s===!1)throw l;if(s===!0)return this.#d()}if(lO(l)&&!this.#e.retry.retryOnTimeout)throw l;if(nO(l)){if(!this.#e.retry.statusCodes.includes(l.response.status))throw l;const s=l.response.headers.get("Retry-After")??l.response.headers.get("RateLimit-Reset")??l.response.headers.get("X-RateLimit-Retry-After")??l.response.headers.get("X-RateLimit-Reset")??l.response.headers.get("X-Rate-Limit-Reset");if(s&&this.#e.retry.afterStatusCodes.includes(l.response.status)){let r=Number(s)*1e3;Number.isNaN(r)?r=Date.parse(s)-Date.now():r>=Date.parse("2024-01-01")&&(r-=Date.now());const u=this.#e.retry.maxRetryAfter??r;return r<u?r:u}if(l.response.status===413)throw l}return this.#d()}#h(l){return this.#e.parseJson&&(l.json=async()=>this.#e.parseJson(await l.text())),l}async#u(l){try{return await l()}catch(a){const s=Math.min(await this.#b(a),Dd);if(this.#l<1)throw a;if(await WA(s,this.#i?{signal:this.#i}:{}),a instanceof zd&&a.customRequest){const r=this.#e.signal?new globalThis.Request(a.customRequest,{signal:this.#e.signal}):new globalThis.Request(a.customRequest);this.#c(r)}for(const r of this.#e.hooks.beforeRetry){const u=await r({request:this.request,options:this.#r(),error:a,retryCount:this.#l});if(u instanceof globalThis.Request){this.#c(u);break}if(u instanceof globalThis.Response)return u;if(u===Nv)return}return this.#u(l)}}async#g(){this.#t?.signal.aborted&&(this.#t=new globalThis.AbortController,this.#e.signal=this.#i?AbortSignal.any([this.#i,this.#t.signal]):this.#t.signal,this.request=new globalThis.Request(this.request,{signal:this.#e.signal}));for(const a of this.#e.hooks.beforeRequest){const s=await a(this.request,this.#r(),{retryCount:this.#l});if(s instanceof Response)return s;if(s instanceof globalThis.Request){this.#c(s);break}}const l=eO(this.request,this.#e);return this.#o=this.request,this.request=this.#o.clone(),this.#e.timeout===!1?this.#e.fetch(this.#o,l):JA(this.#o,l,this.#t,this.#e)}#r(){if(!this.#s){const{hooks:l,...a}=this.#e;this.#s=Object.freeze(a)}return this.#s}#c(l){this.#s=void 0,this.request=this.#f(l)}#f(l,a){return!this.#e.onUploadProgress||!l.body?l:IA(l,this.#e.onUploadProgress,a??this.#e.body??void 0)}}const uh=t=>{const l=(a,s)=>so.create(a,Zr(t,s));for(const a of Pv)l[a]=(s,r)=>so.create(s,Zr(t,r,{method:a}));return l.create=a=>uh(Zr(a)),l.extend=a=>(typeof a=="function"&&(a=a(t??{})),uh(Zr(t,a))),l.stop=Nv,l.retry=UA,l},aO=uh(),iO=aO.create({retry:0,timeout:150*1e3}),m1=new URL((window.bootstrapData?.basePath==="/"?"":window.bootstrapData?.basePath)+"/api",window.location.origin),Xh=DA(m1.origin+m1.pathname,{fetch:iO});var po=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},sO={setTimeout:(t,l)=>setTimeout(t,l),clearTimeout:t=>clearTimeout(t),setInterval:(t,l)=>setInterval(t,l),clearInterval:t=>clearInterval(t)},oO=class{#n=sO;#t=!1;setTimeoutProvider(t){this.#n=t}setTimeout(t,l){return this.#n.setTimeout(t,l)}clearTimeout(t){this.#n.clearTimeout(t)}setInterval(t,l){return this.#n.setInterval(t,l)}clearInterval(t){this.#n.clearInterval(t)}},wa=new oO;function rO(t){setTimeout(t,0)}var $a=typeof window>"u"||"Deno"in globalThis;function Bt(){}function uO(t,l){return typeof t=="function"?t(l):t}function ch(t){return typeof t=="number"&&t>=0&&t!==1/0}function Hv(t,l){return Math.max(t+(l||0)-Date.now(),0)}function ea(t,l){return typeof t=="function"?t(l):t}function _n(t,l){return typeof t=="function"?t(l):t}function y1(t,l){const{type:a="all",exact:s,fetchStatus:r,predicate:u,queryKey:d,stale:h}=t;if(d){if(s){if(l.queryHash!==Zh(d,l.options))return!1}else if(!ro(l.queryKey,d))return!1}if(a!=="all"){const g=l.isActive();if(a==="active"&&!g||a==="inactive"&&g)return!1}return!(typeof h=="boolean"&&l.isStale()!==h||r&&r!==l.state.fetchStatus||u&&!u(l))}function v1(t,l){const{exact:a,status:s,predicate:r,mutationKey:u}=t;if(u){if(!l.options.mutationKey)return!1;if(a){if(oo(l.options.mutationKey)!==oo(u))return!1}else if(!ro(l.options.mutationKey,u))return!1}return!(s&&l.state.status!==s||r&&!r(l))}function Zh(t,l){return(l?.queryKeyHashFn||oo)(t)}function oo(t){return JSON.stringify(t,(l,a)=>dh(a)?Object.keys(a).sort().reduce((s,r)=>(s[r]=a[r],s),{}):a)}function ro(t,l){return t===l?!0:typeof t!=typeof l?!1:t&&l&&typeof t=="object"&&typeof l=="object"?Object.keys(l).every(a=>ro(t[a],l[a])):!1}var cO=Object.prototype.hasOwnProperty;function Bv(t,l){if(t===l)return t;const a=_1(t)&&_1(l);if(!a&&!(dh(t)&&dh(l)))return l;const r=(a?t:Object.keys(t)).length,u=a?l:Object.keys(l),d=u.length,h=a?new Array(d):{};let g=0;for(let b=0;b<d;b++){const m=a?b:u[b],p=t[m],v=l[m];if(p===v){h[m]=p,(a?b<r:cO.call(t,m))&&g++;continue}if(p===null||v===null||typeof p!="object"||typeof v!="object"){h[m]=v;continue}const _=Bv(p,v);h[m]=_,_===p&&g++}return r===d&&g===r?t:h}function fh(t,l){if(!l||Object.keys(t).length!==Object.keys(l).length)return!1;for(const a in t)if(t[a]!==l[a])return!1;return!0}function _1(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function dh(t){if(!k1(t))return!1;const l=t.constructor;if(l===void 0)return!0;const a=l.prototype;return!(!k1(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function k1(t){return Object.prototype.toString.call(t)==="[object Object]"}function fO(t){return new Promise(l=>{wa.setTimeout(l,t)})}function hh(t,l,a){return typeof a.structuralSharing=="function"?a.structuralSharing(t,l):a.structuralSharing!==!1?Bv(t,l):l}function dO(t,l,a=0){const s=[...t,l];return a&&s.length>a?s.slice(1):s}function hO(t,l,a=0){const s=[l,...t];return a&&s.length>a?s.slice(0,-1):s}var Jh=Symbol();function Vv(t,l){return!t.queryFn&&l?.initialPromise?()=>l.initialPromise:!t.queryFn||t.queryFn===Jh?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function gO(t,l){return typeof t=="function"?t(...l):!!t}var bO=class extends po{#n;#t;#l;constructor(){super(),this.#l=t=>{if(!$a&&window.addEventListener){const l=()=>t();return window.addEventListener("visibilitychange",l,!1),()=>{window.removeEventListener("visibilitychange",l)}}}}onSubscribe(){this.#t||this.setEventListener(this.#l)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#l=t,this.#t?.(),this.#t=t(l=>{typeof l=="boolean"?this.setFocused(l):this.onFocus()})}setFocused(t){this.#n!==t&&(this.#n=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(l=>{l(t)})}isFocused(){return typeof this.#n=="boolean"?this.#n:globalThis.document?.visibilityState!=="hidden"}},Wh=new bO;function gh(){let t,l;const a=new Promise((r,u)=>{t=r,l=u});a.status="pending",a.catch(()=>{});function s(r){Object.assign(a,r),delete a.resolve,delete a.reject}return a.resolve=r=>{s({status:"fulfilled",value:r}),t(r)},a.reject=r=>{s({status:"rejected",reason:r}),l(r)},a}var pO=rO;function mO(){let t=[],l=0,a=h=>{h()},s=h=>{h()},r=pO;const u=h=>{l?t.push(h):r(()=>{a(h)})},d=()=>{const h=t;t=[],h.length&&r(()=>{s(()=>{h.forEach(g=>{a(g)})})})};return{batch:h=>{let g;l++;try{g=h()}finally{l--,l||d()}return g},batchCalls:h=>(...g)=>{u(()=>{h(...g)})},schedule:u,setNotifyFunction:h=>{a=h},setBatchNotifyFunction:h=>{s=h},setScheduler:h=>{r=h}}}var _t=mO(),yO=class extends po{#n=!0;#t;#l;constructor(){super(),this.#l=t=>{if(!$a&&window.addEventListener){const l=()=>t(!0),a=()=>t(!1);return window.addEventListener("online",l,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",l),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#l)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#l=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#n!==t&&(this.#n=t,this.listeners.forEach(a=>{a(t)}))}isOnline(){return this.#n}},Au=new yO;function vO(t){return Math.min(1e3*2**t,3e4)}function Fv(t){return(t??"online")==="online"?Au.isOnline():!0}var bh=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Iv(t){let l=!1,a=0,s;const r=gh(),u=()=>r.status!=="pending",d=E=>{if(!u()){const x=new bh(E);v(x),t.onCancel?.(x)}},h=()=>{l=!0},g=()=>{l=!1},b=()=>Wh.isFocused()&&(t.networkMode==="always"||Au.isOnline())&&t.canRun(),m=()=>Fv(t.networkMode)&&t.canRun(),p=E=>{u()||(s?.(),r.resolve(E))},v=E=>{u()||(s?.(),r.reject(E))},_=()=>new Promise(E=>{s=x=>{(u()||b())&&E(x)},t.onPause?.()}).then(()=>{s=void 0,u()||t.onContinue?.()}),C=()=>{if(u())return;let E;const x=a===0?t.initialPromise:void 0;try{E=x??t.fn()}catch(R){E=Promise.reject(R)}Promise.resolve(E).then(p).catch(R=>{if(u())return;const O=t.retry??($a?0:3),L=t.retryDelay??vO,j=typeof L=="function"?L(a,R):L,U=O===!0||typeof O=="number"&&a<O||typeof O=="function"&&O(a,R);if(l||!U){v(R);return}a++,t.onFail?.(a,R),fO(j).then(()=>b()?void 0:_()).then(()=>{l?v(R):C()})})};return{promise:r,status:()=>r.status,cancel:d,continue:()=>(s?.(),r),cancelRetry:h,continueRetry:g,canStart:m,start:()=>(m()?C():_().then(C),r)}}var Yv=class{#n;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ch(this.gcTime)&&(this.#n=wa.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??($a?1/0:300*1e3))}clearGcTimeout(){this.#n&&(wa.clearTimeout(this.#n),this.#n=void 0)}},_O=class extends Yv{#n;#t;#l;#a;#e;#o;#i;constructor(t){super(),this.#i=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#a=t.client,this.#l=this.#a.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#n=C1(this.options),this.state=t.state??this.#n,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#e?.promise}setOptions(t){if(this.options={...this.#o,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const l=C1(this.options);l.data!==void 0&&(this.setState(S1(l.data,l.dataUpdatedAt)),this.#n=l)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#l.remove(this)}setData(t,l){const a=hh(this.state.data,t,this.options);return this.#s({data:a,type:"success",dataUpdatedAt:l?.updatedAt,manual:l?.manual}),a}setState(t,l){this.#s({type:"setState",state:t,setStateOptions:l})}cancel(t){const l=this.#e?.promise;return this.#e?.cancel(t),l?l.then(Bt).catch(Bt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#n)}isActive(){return this.observers.some(t=>_n(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Jh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ea(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Hv(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(l=>l.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#e?.continue()}onOnline(){this.observers.find(l=>l.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#e?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(l=>l!==t),this.observers.length||(this.#e&&(this.#i?this.#e.cancel({revert:!0}):this.#e.cancelRetry()),this.scheduleGc()),this.#l.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(t,l){if(this.state.fetchStatus!=="idle"&&this.#e?.status()!=="rejected"){if(this.state.data!==void 0&&l?.cancelRefetch)this.cancel({silent:!0});else if(this.#e)return this.#e.continueRetry(),this.#e.promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(g=>g.options.queryFn);h&&this.setOptions(h.options)}const a=new AbortController,s=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#i=!0,a.signal)})},r=()=>{const h=Vv(this.options,l),b=(()=>{const m={client:this.#a,queryKey:this.queryKey,meta:this.meta};return s(m),m})();return this.#i=!1,this.options.persister?this.options.persister(h,b,this):h(b)},d=(()=>{const h={fetchOptions:l,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:r};return s(h),h})();this.options.behavior?.onFetch(d,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==d.fetchOptions?.meta)&&this.#s({type:"fetch",meta:d.fetchOptions?.meta}),this.#e=Iv({initialPromise:l?.initialPromise,fn:d.fetchFn,onCancel:h=>{h instanceof bh&&h.revert&&this.setState({...this.#t,fetchStatus:"idle"}),a.abort()},onFail:(h,g)=>{this.#s({type:"failed",failureCount:h,error:g})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0});try{const h=await this.#e.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#l.config.onSuccess?.(h,this),this.#l.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof bh){if(h.silent)return this.#e.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#s({type:"error",error:h}),this.#l.config.onError?.(h,this),this.#l.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#s(t){const l=a=>{switch(t.type){case"failed":return{...a,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...Gv(a.data,this.options),fetchMeta:t.meta??null};case"success":const s={...a,...S1(t.data,t.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?s:void 0,s;case"error":const r=t.error;return{...a,error:r,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...t.state}}};this.state=l(this.state),_t.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#l.notify({query:this,type:"updated",action:t})})}};function Gv(t,l){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Fv(l.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function S1(t,l){return{data:t,dataUpdatedAt:l??Date.now(),error:null,isInvalidated:!1,status:"success"}}function C1(t){const l=typeof t.initialData=="function"?t.initialData():t.initialData,a=l!==void 0,s=a?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:l,dataUpdateCount:0,dataUpdatedAt:a?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var kO=class extends po{constructor(t,l){super(),this.options=l,this.#n=t,this.#s=null,this.#i=gh(),this.bindMethods(),this.setOptions(l)}#n;#t=void 0;#l=void 0;#a=void 0;#e;#o;#i;#s;#d;#b;#h;#u;#g;#r;#c=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),E1(this.#t,this.options)?this.#f():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ph(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ph(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#_(),this.#k(),this.#t.removeObserver(this)}setOptions(t){const l=this.options,a=this.#t;if(this.options=this.#n.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof _n(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#t.setOptions(this.options),l._defaulted&&!fh(this.options,l)&&this.#n.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const s=this.hasListeners();s&&x1(this.#t,a,this.options,l)&&this.#f(),this.updateResult(),s&&(this.#t!==a||_n(this.options.enabled,this.#t)!==_n(l.enabled,this.#t)||ea(this.options.staleTime,this.#t)!==ea(l.staleTime,this.#t))&&this.#p();const r=this.#m();s&&(this.#t!==a||_n(this.options.enabled,this.#t)!==_n(l.enabled,this.#t)||r!==this.#r)&&this.#y(r)}getOptimisticResult(t){const l=this.#n.getQueryCache().build(this.#n,t),a=this.createResult(l,t);return CO(this,a)&&(this.#a=a,this.#o=this.options,this.#e=this.#t.state),a}getCurrentResult(){return this.#a}trackResult(t,l){return new Proxy(t,{get:(a,s)=>(this.trackProp(s),l?.(s),s==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#i.status==="pending"&&this.#i.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,s))})}trackProp(t){this.#c.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const l=this.#n.defaultQueryOptions(t),a=this.#n.getQueryCache().build(this.#n,l);return a.fetch().then(()=>this.createResult(a,l))}fetch(t){return this.#f({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#f(t){this.#S();let l=this.#t.fetch(this.options,t);return t?.throwOnError||(l=l.catch(Bt)),l}#p(){this.#_();const t=ea(this.options.staleTime,this.#t);if($a||this.#a.isStale||!ch(t))return;const a=Hv(this.#a.dataUpdatedAt,t)+1;this.#u=wa.setTimeout(()=>{this.#a.isStale||this.updateResult()},a)}#m(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(t){this.#k(),this.#r=t,!($a||_n(this.options.enabled,this.#t)===!1||!ch(this.#r)||this.#r===0)&&(this.#g=wa.setInterval(()=>{(this.options.refetchIntervalInBackground||Wh.isFocused())&&this.#f()},this.#r))}#v(){this.#p(),this.#y(this.#m())}#_(){this.#u&&(wa.clearTimeout(this.#u),this.#u=void 0)}#k(){this.#g&&(wa.clearInterval(this.#g),this.#g=void 0)}createResult(t,l){const a=this.#t,s=this.options,r=this.#a,u=this.#e,d=this.#o,g=t!==a?t.state:this.#l,{state:b}=t;let m={...b},p=!1,v;if(l._optimisticResults){const N=this.hasListeners(),J=!N&&E1(t,l),ee=N&&x1(t,a,l,s);(J||ee)&&(m={...m,...Gv(b.data,t.options)}),l._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:_,errorUpdatedAt:C,status:E}=m;v=m.data;let x=!1;if(l.placeholderData!==void 0&&v===void 0&&E==="pending"){let N;r?.isPlaceholderData&&l.placeholderData===d?.placeholderData?(N=r.data,x=!0):N=typeof l.placeholderData=="function"?l.placeholderData(this.#h?.state.data,this.#h):l.placeholderData,N!==void 0&&(E="success",v=hh(r?.data,N,l),p=!0)}if(l.select&&v!==void 0&&!x)if(r&&v===u?.data&&l.select===this.#d)v=this.#b;else try{this.#d=l.select,v=l.select(v),v=hh(r?.data,v,l),this.#b=v,this.#s=null}catch(N){this.#s=N}this.#s&&(_=this.#s,v=this.#b,C=Date.now(),E="error");const R=m.fetchStatus==="fetching",O=E==="pending",L=E==="error",j=O&&R,U=v!==void 0,M={status:E,fetchStatus:m.fetchStatus,isPending:O,isSuccess:E==="success",isError:L,isInitialLoading:j,isLoading:j,data:v,dataUpdatedAt:m.dataUpdatedAt,error:_,errorUpdatedAt:C,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>g.dataUpdateCount||m.errorUpdateCount>g.errorUpdateCount,isFetching:R,isRefetching:R&&!O,isLoadingError:L&&!U,isPaused:m.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:L&&U,isStale:eg(t,l),refetch:this.refetch,promise:this.#i,isEnabled:_n(l.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const N=z=>{M.status==="error"?z.reject(M.error):M.data!==void 0&&z.resolve(M.data)},J=()=>{const z=this.#i=M.promise=gh();N(z)},ee=this.#i;switch(ee.status){case"pending":t.queryHash===a.queryHash&&N(ee);break;case"fulfilled":(M.status==="error"||M.data!==ee.value)&&J();break;case"rejected":(M.status!=="error"||M.error!==ee.reason)&&J();break}}return M}updateResult(){const t=this.#a,l=this.createResult(this.#t,this.options);if(this.#e=this.#t.state,this.#o=this.options,this.#e.data!==void 0&&(this.#h=this.#t),fh(l,t))return;this.#a=l;const a=()=>{if(!t)return!0;const{notifyOnChangeProps:s}=this.options,r=typeof s=="function"?s():s;if(r==="all"||!r&&!this.#c.size)return!0;const u=new Set(r??this.#c);return this.options.throwOnError&&u.add("error"),Object.keys(this.#a).some(d=>{const h=d;return this.#a[h]!==t[h]&&u.has(h)})};this.#C({listeners:a()})}#S(){const t=this.#n.getQueryCache().build(this.#n,this.options);if(t===this.#t)return;const l=this.#t;this.#t=t,this.#l=t.state,this.hasListeners()&&(l?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#C(t){_t.batch(()=>{t.listeners&&this.listeners.forEach(l=>{l(this.#a)}),this.#n.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function SO(t,l){return _n(l.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&l.retryOnMount===!1)}function E1(t,l){return SO(t,l)||t.state.data!==void 0&&ph(t,l,l.refetchOnMount)}function ph(t,l,a){if(_n(l.enabled,t)!==!1&&ea(l.staleTime,t)!=="static"){const s=typeof a=="function"?a(t):a;return s==="always"||s!==!1&&eg(t,l)}return!1}function x1(t,l,a,s){return(t!==l||_n(s.enabled,t)===!1)&&(!a.suspense||t.state.status!=="error")&&eg(t,a)}function eg(t,l){return _n(l.enabled,t)!==!1&&t.isStaleByTime(ea(l.staleTime,t))}function CO(t,l){return!fh(t.getCurrentResult(),l)}function R1(t){return{onFetch:(l,a)=>{const s=l.options,r=l.fetchOptions?.meta?.fetchMore?.direction,u=l.state.data?.pages||[],d=l.state.data?.pageParams||[];let h={pages:[],pageParams:[]},g=0;const b=async()=>{let m=!1;const p=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(l.signal.aborted?m=!0:l.signal.addEventListener("abort",()=>{m=!0}),l.signal)})},v=Vv(l.options,l.fetchOptions),_=async(C,E,x)=>{if(m)return Promise.reject();if(E==null&&C.pages.length)return Promise.resolve(C);const O=(()=>{const P={client:l.client,queryKey:l.queryKey,pageParam:E,direction:x?"backward":"forward",meta:l.options.meta};return p(P),P})(),L=await v(O),{maxPages:j}=l.options,U=x?hO:dO;return{pages:U(C.pages,L,j),pageParams:U(C.pageParams,E,j)}};if(r&&u.length){const C=r==="backward",E=C?EO:T1,x={pages:u,pageParams:d},R=E(s,x);h=await _(x,R,C)}else{const C=t??u.length;do{const E=g===0?d[0]??s.initialPageParam:T1(s,h);if(g>0&&E==null)break;h=await _(h,E),g++}while(g<C)}return h};l.options.persister?l.fetchFn=()=>l.options.persister?.(b,{client:l.client,queryKey:l.queryKey,meta:l.options.meta,signal:l.signal},a):l.fetchFn=b}}}function T1(t,{pages:l,pageParams:a}){const s=l.length-1;return l.length>0?t.getNextPageParam(l[s],l,a[s],a):void 0}function EO(t,{pages:l,pageParams:a}){return l.length>0?t.getPreviousPageParam?.(l[0],l,a[0],a):void 0}var xO=class extends Yv{#n;#t;#l;#a;constructor(t){super(),this.#n=t.client,this.mutationId=t.mutationId,this.#l=t.mutationCache,this.#t=[],this.state=t.state||RO(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(l=>l!==t),this.scheduleGc(),this.#l.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#l.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(t){const l=()=>{this.#e({type:"continue"})},a={client:this.#n,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=Iv({fn:()=>this.options.mutationFn?this.options.mutationFn(t,a):Promise.reject(new Error("No mutationFn found")),onFail:(u,d)=>{this.#e({type:"failed",failureCount:u,error:d})},onPause:()=>{this.#e({type:"pause"})},onContinue:l,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#l.canRun(this)});const s=this.state.status==="pending",r=!this.#a.canStart();try{if(s)l();else{this.#e({type:"pending",variables:t,isPaused:r}),await this.#l.config.onMutate?.(t,this,a);const d=await this.options.onMutate?.(t,a);d!==this.state.context&&this.#e({type:"pending",context:d,variables:t,isPaused:r})}const u=await this.#a.start();return await this.#l.config.onSuccess?.(u,t,this.state.context,this,a),await this.options.onSuccess?.(u,t,this.state.context,a),await this.#l.config.onSettled?.(u,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(u,null,t,this.state.context,a),this.#e({type:"success",data:u}),u}catch(u){try{throw await this.#l.config.onError?.(u,t,this.state.context,this,a),await this.options.onError?.(u,t,this.state.context,a),await this.#l.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(void 0,u,t,this.state.context,a),u}finally{this.#e({type:"error",error:u})}}finally{this.#l.runNext(this)}}#e(t){const l=a=>{switch(t.type){case"failed":return{...a,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...a,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:t.error,failureCount:a.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=l(this.state),_t.batch(()=>{this.#t.forEach(a=>{a.onMutationUpdate(t)}),this.#l.notify({mutation:this,type:"updated",action:t})})}};function RO(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var TO=class extends po{constructor(t={}){super(),this.config=t,this.#n=new Set,this.#t=new Map,this.#l=0}#n;#t;#l;build(t,l,a){const s=new xO({client:t,mutationCache:this,mutationId:++this.#l,options:t.defaultMutationOptions(l),state:a});return this.add(s),s}add(t){this.#n.add(t);const l=Wr(t);if(typeof l=="string"){const a=this.#t.get(l);a?a.push(t):this.#t.set(l,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#n.delete(t)){const l=Wr(t);if(typeof l=="string"){const a=this.#t.get(l);if(a)if(a.length>1){const s=a.indexOf(t);s!==-1&&a.splice(s,1)}else a[0]===t&&this.#t.delete(l)}}this.notify({type:"removed",mutation:t})}canRun(t){const l=Wr(t);if(typeof l=="string"){const s=this.#t.get(l)?.find(r=>r.state.status==="pending");return!s||s===t}else return!0}runNext(t){const l=Wr(t);return typeof l=="string"?this.#t.get(l)?.find(s=>s!==t&&s.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){_t.batch(()=>{this.#n.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#n.clear(),this.#t.clear()})}getAll(){return Array.from(this.#n)}find(t){const l={exact:!0,...t};return this.getAll().find(a=>v1(l,a))}findAll(t={}){return this.getAll().filter(l=>v1(t,l))}notify(t){_t.batch(()=>{this.listeners.forEach(l=>{l(t)})})}resumePausedMutations(){const t=this.getAll().filter(l=>l.state.isPaused);return _t.batch(()=>Promise.all(t.map(l=>l.continue().catch(Bt))))}};function Wr(t){return t.options.scope?.id}var wO=class extends po{constructor(t={}){super(),this.config=t,this.#n=new Map}#n;build(t,l,a){const s=l.queryKey,r=l.queryHash??Zh(s,l);let u=this.get(r);return u||(u=new _O({client:t,queryKey:s,queryHash:r,options:t.defaultQueryOptions(l),state:a,defaultOptions:t.getQueryDefaults(s)}),this.add(u)),u}add(t){this.#n.has(t.queryHash)||(this.#n.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const l=this.#n.get(t.queryHash);l&&(t.destroy(),l===t&&this.#n.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){_t.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#n.get(t)}getAll(){return[...this.#n.values()]}find(t){const l={exact:!0,...t};return this.getAll().find(a=>y1(l,a))}findAll(t={}){const l=this.getAll();return Object.keys(t).length>0?l.filter(a=>y1(t,a)):l}notify(t){_t.batch(()=>{this.listeners.forEach(l=>{l(t)})})}onFocus(){_t.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){_t.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},AO=class{#n;#t;#l;#a;#e;#o;#i;#s;constructor(t={}){this.#n=t.queryCache||new wO,this.#t=t.mutationCache||new TO,this.#l=t.defaultOptions||{},this.#a=new Map,this.#e=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#i=Wh.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#n.onFocus())}),this.#s=Au.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#n.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#i?.(),this.#i=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#n.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const l=this.defaultQueryOptions({queryKey:t});return this.#n.get(l.queryHash)?.state.data}ensureQueryData(t){const l=this.defaultQueryOptions(t),a=this.#n.build(this,l),s=a.state.data;return s===void 0?this.fetchQuery(t):(t.revalidateIfStale&&a.isStaleByTime(ea(l.staleTime,a))&&this.prefetchQuery(l),Promise.resolve(s))}getQueriesData(t){return this.#n.findAll(t).map(({queryKey:l,state:a})=>{const s=a.data;return[l,s]})}setQueryData(t,l,a){const s=this.defaultQueryOptions({queryKey:t}),u=this.#n.get(s.queryHash)?.state.data,d=uO(l,u);if(d!==void 0)return this.#n.build(this,s).setData(d,{...a,manual:!0})}setQueriesData(t,l,a){return _t.batch(()=>this.#n.findAll(t).map(({queryKey:s})=>[s,this.setQueryData(s,l,a)]))}getQueryState(t){const l=this.defaultQueryOptions({queryKey:t});return this.#n.get(l.queryHash)?.state}removeQueries(t){const l=this.#n;_t.batch(()=>{l.findAll(t).forEach(a=>{l.remove(a)})})}resetQueries(t,l){const a=this.#n;return _t.batch(()=>(a.findAll(t).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...t},l)))}cancelQueries(t,l={}){const a={revert:!0,...l},s=_t.batch(()=>this.#n.findAll(t).map(r=>r.cancel(a)));return Promise.all(s).then(Bt).catch(Bt)}invalidateQueries(t,l={}){return _t.batch(()=>(this.#n.findAll(t).forEach(a=>{a.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},l)))}refetchQueries(t,l={}){const a={...l,cancelRefetch:l.cancelRefetch??!0},s=_t.batch(()=>this.#n.findAll(t).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let u=r.fetch(void 0,a);return a.throwOnError||(u=u.catch(Bt)),r.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(s).then(Bt)}fetchQuery(t){const l=this.defaultQueryOptions(t);l.retry===void 0&&(l.retry=!1);const a=this.#n.build(this,l);return a.isStaleByTime(ea(l.staleTime,a))?a.fetch(l):Promise.resolve(a.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Bt).catch(Bt)}fetchInfiniteQuery(t){return t.behavior=R1(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Bt).catch(Bt)}ensureInfiniteQueryData(t){return t.behavior=R1(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Au.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#n}getMutationCache(){return this.#t}getDefaultOptions(){return this.#l}setDefaultOptions(t){this.#l=t}setQueryDefaults(t,l){this.#a.set(oo(t),{queryKey:t,defaultOptions:l})}getQueryDefaults(t){const l=[...this.#a.values()],a={};return l.forEach(s=>{ro(t,s.queryKey)&&Object.assign(a,s.defaultOptions)}),a}setMutationDefaults(t,l){this.#e.set(oo(t),{mutationKey:t,defaultOptions:l})}getMutationDefaults(t){const l=[...this.#e.values()],a={};return l.forEach(s=>{ro(t,s.mutationKey)&&Object.assign(a,s.defaultOptions)}),a}defaultQueryOptions(t){if(t._defaulted)return t;const l={...this.#l.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return l.queryHash||(l.queryHash=Zh(l.queryKey,l)),l.refetchOnReconnect===void 0&&(l.refetchOnReconnect=l.networkMode!=="always"),l.throwOnError===void 0&&(l.throwOnError=!!l.suspense),!l.networkMode&&l.persister&&(l.networkMode="offlineFirst"),l.queryFn===Jh&&(l.enabled=!1),l}defaultMutationOptions(t){return t?._defaulted?t:{...this.#l.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#n.clear(),this.#t.clear()}},Qv=S.createContext(void 0),OO=t=>{const l=S.useContext(Qv);if(!l)throw new Error("No QueryClient set, use QueryClientProvider to set one");return l},MO=({client:t,children:l})=>(S.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),Z.jsx(Qv.Provider,{value:t,children:l})),Kv=S.createContext(!1),zO=()=>S.useContext(Kv);Kv.Provider;function DO(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var LO=S.createContext(DO()),PO=()=>S.useContext(LO),NO=(t,l)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(l.isReset()||(t.retryOnMount=!1))},$O=t=>{S.useEffect(()=>{t.clearReset()},[t])},jO=({result:t,errorResetBoundary:l,throwOnError:a,query:s,suspense:r})=>t.isError&&!l.isReset()&&!t.isFetching&&s&&(r&&t.data===void 0||gO(a,[t.error,s])),UO=t=>{if(t.suspense){const a=r=>r==="static"?r:Math.max(r??1e3,1e3),s=t.staleTime;t.staleTime=typeof s=="function"?(...r)=>a(s(...r)):a(s),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},qO=(t,l)=>t.isLoading&&t.isFetching&&!l,HO=(t,l)=>t?.suspense&&l.isPending,w1=(t,l,a)=>l.fetchOptimistic(t).catch(()=>{a.clearReset()});function BO(t,l,a){const s=zO(),r=PO(),u=OO(),d=u.defaultQueryOptions(t);u.getDefaultOptions().queries?._experimental_beforeQuery?.(d),d._optimisticResults=s?"isRestoring":"optimistic",UO(d),NO(d,r),$O(r);const h=!u.getQueryCache().get(d.queryHash),[g]=S.useState(()=>new l(u,d)),b=g.getOptimisticResult(d),m=!s&&t.subscribed!==!1;if(S.useSyncExternalStore(S.useCallback(p=>{const v=m?g.subscribe(_t.batchCalls(p)):Bt;return g.updateResult(),v},[g,m]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),S.useEffect(()=>{g.setOptions(d)},[d,g]),HO(d,b))throw w1(d,g,r);if(jO({result:b,errorResetBoundary:r,throwOnError:d.throwOnError,query:u.getQueryCache().get(d.queryHash),suspense:d.suspense}))throw b.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(d,b),d.experimental_prefetchInRender&&!$a&&qO(b,s)&&(h?w1(d,g,r):u.getQueryCache().get(d.queryHash)?.promise)?.catch(Bt).finally(()=>{g.updateResult()}),d.notifyOnChangeProps?b:g.trackResult(b)}function tg(t,l){return BO(t,kO)}function S6(t){return t}const ng=t=>({queryKey:["environment",t],queryFn:async()=>{const a=await(await Xh.v1.environments[":id"].$get({param:{id:t}})).json(),s="data"in a?a.data:null;return s?{...s,isProd:s.isProd===!0||s.isProd===1||s.isProd==="true"}:null},enabled:!!t&&t!=="new",staleTime:1e3*60*5}),C6=t=>{const l=At.c(2);let a;return l[0]!==t?(a=ng(t),l[0]=t,l[1]=a):a=l[1],tg(a)},VO=()=>St(()=>import("./route-O6imc6-P.js"),__vite__mapDeps([23,11]),import.meta.url),FO=rt("/(app)/environments/$environment")({component:kt(VO,"component"),loader:async({params:t,context:l})=>t.environment==="new"?{title:"New Environment"}:{title:(await l.queryClient.ensureQueryData(ng(t.environment)))?.name??t.environment}}),lg=t=>({queryKey:["config",t],queryFn:async()=>{const a=await(await Xh.v1.configs[":id"].$get({param:{id:t}})).json();return"data"in a?a.data:null},enabled:!!t&&t!=="new",staleTime:1e3*60*5}),E6=t=>{const l=At.c(2);let a;return l[0]!==t?(a=lg(t),l[0]=t,l[1]=a):a=l[1],tg(a)},IO=()=>St(()=>import("./route-CILbCcM1.js"),__vite__mapDeps([24,11]),import.meta.url),YO=rt("/(app)/configs/$id")({component:kt(IO,"component"),loader:async({params:t,context:l})=>t.id==="new"?{title:"New Config"}:{title:(await l.queryClient.ensureQueryData(lg(t.id)))?.name??t.id}}),GO=()=>St(()=>import("./index-Bx7fi-TU.js"),__vite__mapDeps([25,26,27,11]),import.meta.url),QO=rt("/(app)/environments/$environment/")({component:kt(GO,"component"),loader:async({params:t,context:l})=>t.environment==="new"?{title:"New Environment"}:{title:(await l.queryClient.ensureQueryData(ng(t.environment)))?.name??t.environment}}),KO=()=>St(()=>import("./index-DnOI3CO7.js"),__vite__mapDeps([28,26,27,11]),import.meta.url),XO=rt("/(app)/configs/$id/")({component:kt(KO,"component"),loader:async({params:t,context:l})=>t.id==="new"?{title:"New Config"}:{title:(await l.queryClient.ensureQueryData(lg(t.id)))?.name??t.id}}),ZO=()=>St(()=>import("./_tabs-CPULxPXH.js"),__vite__mapDeps([29,30,16,11]),import.meta.url),JO=rt("/(app)/environments/$environment/_tabs")({component:kt(ZO,"component")}),WO=()=>St(()=>import("./_variants-GQL6AngK.js"),__vite__mapDeps([31,11]),import.meta.url),e3=rt("/(app)/configs/$id/_variants")({component:kt(WO,"component"),staticData:{customData:{title:"Variants"}}}),t3=()=>St(()=>import("./_tabs-CvacR8ma.js"),__vite__mapDeps([32,30,16,11]),import.meta.url),n3=rt("/(app)/configs/$id/_tabs")({component:kt(t3,"component")}),l3=()=>St(()=>import("./settings-BaUSziYN.js"),__vite__mapDeps([33,19,18,34,35,36,4,37,11]),import.meta.url),a3=rt("/(app)/environments/$environment/_tabs/settings")({component:kt(l3,"component"),staticData:{customData:{title:"Settings"}}}),i3=()=>St(()=>import("./secrets-C7EM3Vc4.js"),__vite__mapDeps([38,8,9,39,11]),import.meta.url),s3=rt("/(app)/environments/$environment/_tabs/secrets")({component:kt(i3,"component")}),o3=()=>St(()=>import("./variants-Ctf9tC34.js"),__vite__mapDeps([40,3,4,5,41,42,43,20,11]),import.meta.url),r3=rt("/(app)/configs/$id/_tabs/variants")({component:kt(o3,"component"),staticData:{customData:{title:"Variants"}}}),u3=()=>St(()=>import("./targeting-ER2jmmgx.js"),__vite__mapDeps([44,5,18,45,42,43,11]),import.meta.url),c3=rt("/(app)/configs/$id/_tabs/targeting")({component:kt(u3,"component"),staticData:{customData:{title:"Targeting"}}}),f3=()=>St(()=>import("./settings-BKtjj2be.js"),__vite__mapDeps([46,19,6,34,35,36,4,47,11]),import.meta.url),d3=rt("/(app)/configs/$id/_tabs/settings")({component:kt(f3,"component"),staticData:{customData:{title:"Settings"}}}),Xv=t=>({queryKey:["variant",t],queryFn:async()=>{const a=await(await Xh.v1.variants[":id"].$get({param:{id:t}})).json();return"data"in a?a.data:null},enabled:!!t,staleTime:1e3*60*5}),x6=t=>{const l=At.c(2);let a;return l[0]!==t?(a=Xv(t),l[0]=t,l[1]=a):a=l[1],tg(a)},h3=()=>St(()=>import("./_variant-D-Su5y6J.js"),__vite__mapDeps([48,49,4,35,19,45,50,14,15,16,36,7,8,41,3,18,51,11]),import.meta.url),g3=rt("/(app)/configs/$id/_variants/variants/$variant")({component:kt(h3,"component"),loader:async({params:t,context:l})=>t.variant==="new"?{title:"New Variant"}:{title:(await l.queryClient.ensureQueryData(Xv(t.variant)))?.name??t.variant}}),b3=()=>St(()=>import("./_environment-cvjo84jE.js"),__vite__mapDeps([52,3,4,49,35,19,45,50,18,41,11]),import.meta.url),p3=rt("/(app)/configs/$id/_targeting/targeting/$environment")({component:kt(b3,"component")}),m3=CA.update({id:"/(app)/",path:"/",getParentRoute:()=>Fu}),Zv=xA.update({id:"/(app)/environments",path:"/environments",getParentRoute:()=>Fu}),Jv=TA.update({id:"/(app)/configs",path:"/configs",getParentRoute:()=>Fu}),ag=FO.update({id:"/$environment",path:"/$environment",getParentRoute:()=>Zv}),mo=YO.update({id:"/$id",path:"/$id",getParentRoute:()=>Jv}),y3=QO.update({id:"/",path:"/",getParentRoute:()=>ag}),v3=XO.update({id:"/",path:"/",getParentRoute:()=>mo}),ig=JO.update({id:"/_tabs",getParentRoute:()=>ag}),Wv=e3.update({id:"/_variants",getParentRoute:()=>mo}),Iu=n3.update({id:"/_tabs",getParentRoute:()=>mo}),_3=a3.update({id:"/settings",path:"/settings",getParentRoute:()=>ig}),k3=s3.update({id:"/secrets",path:"/secrets",getParentRoute:()=>ig}),S3=r3.update({id:"/variants",path:"/variants",getParentRoute:()=>Iu}),C3=c3.update({id:"/targeting",path:"/targeting",getParentRoute:()=>Iu}),E3=d3.update({id:"/settings",path:"/settings",getParentRoute:()=>Iu}),x3=g3.update({id:"/variants/$variant",path:"/variants/$variant",getParentRoute:()=>Wv}),R3=p3.update({id:"/_targeting/targeting/$environment",path:"/targeting/$environment",getParentRoute:()=>mo}),T3={appConfigsIdTabsSettingsRoute:E3,appConfigsIdTabsTargetingRoute:C3,appConfigsIdTabsVariantsRoute:S3},w3=Iu._addFileChildren(T3),A3={appConfigsIdVariantsVariantsVariantRoute:x3},O3=Wv._addFileChildren(A3),M3={appConfigsIdTabsRoute:w3,appConfigsIdVariantsRoute:O3,appConfigsIdIndexRoute:v3,appConfigsIdTargetingTargetingEnvironmentRoute:R3},z3=mo._addFileChildren(M3),D3={appConfigsIdRouteRoute:z3},L3=Jv._addFileChildren(D3),P3={appEnvironmentsEnvironmentTabsSecretsRoute:k3,appEnvironmentsEnvironmentTabsSettingsRoute:_3},N3=ig._addFileChildren(P3),$3={appEnvironmentsEnvironmentTabsRoute:N3,appEnvironmentsEnvironmentIndexRoute:y3},j3=ag._addFileChildren($3),U3={appEnvironmentsEnvironmentRouteRoute:j3},q3=Zv._addFileChildren(U3),H3={appConfigsRoute:L3,appEnvironmentsRoute:q3,appIndexRoute:m3},B3=Fu._addFileChildren(H3)._addFileTypes();var Ld={exports:{}},qs={},Pd={exports:{}},Nd={};var A1;function V3(){return A1||(A1=1,(function(t){function l(T,F){var q=T.length;T.push(F);e:for(;0<q;){var ae=q-1>>>1,de=T[ae];if(0<r(de,F))T[ae]=F,T[q]=de,q=ae;else break e}}function a(T){return T.length===0?null:T[0]}function s(T){if(T.length===0)return null;var F=T[0],q=T.pop();if(q!==F){T[0]=q;e:for(var ae=0,de=T.length,w=de>>>1;ae<w;){var Q=2*(ae+1)-1,ne=T[Q],se=Q+1,re=T[se];if(0>r(ne,q))se<de&&0>r(re,ne)?(T[ae]=re,T[se]=q,ae=se):(T[ae]=ne,T[Q]=q,ae=Q);else if(se<de&&0>r(re,q))T[ae]=re,T[se]=q,ae=se;else break e}}return F}function r(T,F){var q=T.sortIndex-F.sortIndex;return q!==0?q:T.id-F.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var d=Date,h=d.now();t.unstable_now=function(){return d.now()-h}}var g=[],b=[],m=1,p=null,v=3,_=!1,C=!1,E=!1,x=!1,R=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function j(T){for(var F=a(b);F!==null;){if(F.callback===null)s(b);else if(F.startTime<=T)s(b),F.sortIndex=F.expirationTime,l(g,F);else break;F=a(b)}}function U(T){if(E=!1,j(T),!C)if(a(g)!==null)C=!0,P||(P=!0,K());else{var F=a(b);F!==null&&le(U,F.startTime-T)}}var P=!1,M=-1,N=5,J=-1;function ee(){return x?!0:!(t.unstable_now()-J<N)}function z(){if(x=!1,P){var T=t.unstable_now();J=T;var F=!0;try{e:{C=!1,E&&(E=!1,O(M),M=-1),_=!0;var q=v;try{t:{for(j(T),p=a(g);p!==null&&!(p.expirationTime>T&&ee());){var ae=p.callback;if(typeof ae=="function"){p.callback=null,v=p.priorityLevel;var de=ae(p.expirationTime<=T);if(T=t.unstable_now(),typeof de=="function"){p.callback=de,j(T),F=!0;break t}p===a(g)&&s(g),j(T)}else s(g);p=a(g)}if(p!==null)F=!0;else{var w=a(b);w!==null&&le(U,w.startTime-T),F=!1}}break e}finally{p=null,v=q,_=!1}F=void 0}}finally{F?K():P=!1}}}var K;if(typeof L=="function")K=function(){L(z)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,G=I.port2;I.port1.onmessage=z,K=function(){G.postMessage(null)}}else K=function(){R(z,0)};function le(T,F){M=R(function(){T(t.unstable_now())},F)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(T){T.callback=null},t.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<T?Math.floor(1e3/T):5},t.unstable_getCurrentPriorityLevel=function(){return v},t.unstable_next=function(T){switch(v){case 1:case 2:case 3:var F=3;break;default:F=v}var q=v;v=F;try{return T()}finally{v=q}},t.unstable_requestPaint=function(){x=!0},t.unstable_runWithPriority=function(T,F){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var q=v;v=T;try{return F()}finally{v=q}},t.unstable_scheduleCallback=function(T,F,q){var ae=t.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?ae+q:ae):q=ae,T){case 1:var de=-1;break;case 2:de=250;break;case 5:de=1073741823;break;case 4:de=1e4;break;default:de=5e3}return de=q+de,T={id:m++,callback:F,priorityLevel:T,startTime:q,expirationTime:de,sortIndex:-1},q>ae?(T.sortIndex=q,l(b,T),a(g)===null&&T===a(b)&&(E?(O(M),M=-1):E=!0,le(U,q-ae))):(T.sortIndex=de,l(g,T),C||_||(C=!0,P||(P=!0,K()))),T},t.unstable_shouldYield=ee,t.unstable_wrapCallback=function(T){var F=v;return function(){var q=v;v=F;try{return T.apply(this,arguments)}finally{v=q}}}})(Nd)),Nd}var O1;function F3(){return O1||(O1=1,Pd.exports=V3()),Pd.exports}var M1;function I3(){if(M1)return qs;M1=1;var t=F3(),l=Ni(),a=X1();function s(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var n=e,i=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(i=n.return),e=n.return;while(e)}return n.tag===3?i:null}function d(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function h(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function g(e){if(u(e)!==e)throw Error(s(188))}function b(e){var n=e.alternate;if(!n){if(n=u(e),n===null)throw Error(s(188));return n!==e?null:e}for(var i=e,o=n;;){var c=i.return;if(c===null)break;var f=c.alternate;if(f===null){if(o=c.return,o!==null){i=o;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===i)return g(c),e;if(f===o)return g(c),n;f=f.sibling}throw Error(s(188))}if(i.return!==o.return)i=c,o=f;else{for(var y=!1,k=c.child;k;){if(k===i){y=!0,i=c,o=f;break}if(k===o){y=!0,o=c,i=f;break}k=k.sibling}if(!y){for(k=f.child;k;){if(k===i){y=!0,i=f,o=c;break}if(k===o){y=!0,o=f,i=c;break}k=k.sibling}if(!y)throw Error(s(189))}}if(i.alternate!==o)throw Error(s(190))}if(i.tag!==3)throw Error(s(188));return i.stateNode.current===i?e:n}function m(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=m(e),n!==null)return n;e=e.sibling}return null}var p=Object.assign,v=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),L=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),ee=Symbol.for("react.memo_cache_sentinel"),z=Symbol.iterator;function K(e){return e===null||typeof e!="object"?null:(e=z&&e[z]||e["@@iterator"],typeof e=="function"?e:null)}var I=Symbol.for("react.client.reference");function G(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===I?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case R:return"Profiler";case x:return"StrictMode";case U:return"Suspense";case P:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case C:return"Portal";case L:return e.displayName||"Context";case O:return(e._context.displayName||"Context")+".Consumer";case j:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case M:return n=e.displayName||null,n!==null?n:G(e.type)||"Memo";case N:n=e._payload,e=e._init;try{return G(e(n))}catch{}}return null}var le=Array.isArray,T=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q={pending:!1,data:null,method:null,action:null},ae=[],de=-1;function w(e){return{current:e}}function Q(e){0>de||(e.current=ae[de],ae[de]=null,de--)}function ne(e,n){de++,ae[de]=e.current,e.current=n}var se=w(null),re=w(null),oe=w(null),ue=w(null);function we(e,n){switch(ne(oe,n),ne(re,e),ne(se,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?vp(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=vp(n),e=_p(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Q(se),ne(se,e)}function ye(){Q(se),Q(re),Q(oe)}function Ke(e){e.memoizedState!==null&&ne(ue,e);var n=se.current,i=_p(n,e.type);n!==i&&(ne(re,e),ne(se,i))}function ie(e){re.current===e&&(Q(se),Q(re)),ue.current===e&&(Q(ue),Os._currentValue=q)}var pe,ge;function Ye(e){if(pe===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);pe=n&&n[1]||"",ge=-1<i.stack.indexOf(`
|
|
8
|
+
`.trim(),z.head.prepend(K)},[v]),S.useEffect(()=>{let z=x.current;return()=>{var K;p||l1((K=z.target)!==null&&K!==void 0?K:void 0);for(let I of z.disposables)I();z.disposables=[]}},[p]),{isPressed:g||C,pressProps:ta(_,ee,{[o1]:!0})}}function Gh(t){return t.tagName==="A"&&t.hasAttribute("href")}function Od(t,l){const{key:a,code:s}=t,r=l,u=r.getAttribute("role");return(a==="Enter"||a===" "||a==="Spacebar"||s==="Space")&&!(r instanceof Mn(r).HTMLInputElement&&!mv(r,a)||r instanceof Mn(r).HTMLTextAreaElement||r.isContentEditable)&&!((u==="link"||!u&&Gh(r))&&a!=="Enter")}function Ea(t,l){let a=l.clientX,s=l.clientY;return{currentTarget:t,shiftKey:l.shiftKey,ctrlKey:l.ctrlKey,metaKey:l.metaKey,altKey:l.altKey,clientX:a,clientY:s}}function ew(t){return t instanceof HTMLInputElement?!1:t instanceof HTMLButtonElement?t.type!=="submit"&&t.type!=="reset":!Gh(t)}function r1(t,l){return t instanceof HTMLInputElement?!mv(t,l):ew(t)}const tw=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function mv(t,l){return t.type==="checkbox"||t.type==="radio"?l===" ":tw.has(t.type)}let qi=null,nh=new Set,Zs=new Map,Na=!1,lh=!1;const nw={Tab:!0,Escape:!0};function Qh(t,l){for(let a of nh)a(t,l)}function lw(t){return!(t.metaKey||!ao()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function Tu(t){Na=!0,lw(t)&&(qi="keyboard",Qh("keyboard",t))}function wi(t){qi="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(Na=!0,Qh("pointer",t))}function yv(t){uv(t)&&(Na=!0,qi="virtual")}function vv(t){t.target===window||t.target===document||Ru||!t.isTrusted||(!Na&&!lh&&(qi="virtual",Qh("virtual",t)),Na=!1,lh=!1)}function _v(){Ru||(Na=!1,lh=!0)}function ah(t){if(typeof window>"u"||typeof document>"u"||Zs.get(Mn(t)))return;const l=Mn(t),a=zt(t);let s=l.HTMLElement.prototype.focus;l.HTMLElement.prototype.focus=function(){Na=!0,s.apply(this,arguments)},a.addEventListener("keydown",Tu,!0),a.addEventListener("keyup",Tu,!0),a.addEventListener("click",yv,!0),l.addEventListener("focus",vv,!0),l.addEventListener("blur",_v,!1),typeof PointerEvent<"u"&&(a.addEventListener("pointerdown",wi,!0),a.addEventListener("pointermove",wi,!0),a.addEventListener("pointerup",wi,!0)),l.addEventListener("beforeunload",()=>{kv(t)},{once:!0}),Zs.set(l,{focus:s})}const kv=(t,l)=>{const a=Mn(t),s=zt(t);l&&s.removeEventListener("DOMContentLoaded",l),Zs.has(a)&&(a.HTMLElement.prototype.focus=Zs.get(a).focus,s.removeEventListener("keydown",Tu,!0),s.removeEventListener("keyup",Tu,!0),s.removeEventListener("click",yv,!0),a.removeEventListener("focus",vv,!0),a.removeEventListener("blur",_v,!1),typeof PointerEvent<"u"&&(s.removeEventListener("pointerdown",wi,!0),s.removeEventListener("pointermove",wi,!0),s.removeEventListener("pointerup",wi,!0)),Zs.delete(a))};function aw(t){const l=zt(t);let a;return l.readyState!=="loading"?ah(t):(a=()=>{ah(t)},l.addEventListener("DOMContentLoaded",a)),()=>kv(t,a)}typeof document<"u"&&aw();function Sv(){return qi!=="pointer"}function iw(){return qi}const sw=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ow(t,l,a){let s=zt(a?.target);const r=typeof window<"u"?Mn(a?.target).HTMLInputElement:HTMLInputElement,u=typeof window<"u"?Mn(a?.target).HTMLTextAreaElement:HTMLTextAreaElement,d=typeof window<"u"?Mn(a?.target).HTMLElement:HTMLElement,h=typeof window<"u"?Mn(a?.target).KeyboardEvent:KeyboardEvent;return t=t||s.activeElement instanceof r&&!sw.has(s.activeElement.type)||s.activeElement instanceof u||s.activeElement instanceof d&&s.activeElement.isContentEditable,!(t&&l==="keyboard"&&a instanceof h&&!nw[a.key])}function rw(t,l,a){ah(),S.useEffect(()=>{let s=(r,u)=>{ow(!!a?.isTextInput,r,u)&&t(Sv())};return nh.add(s),()=>{nh.delete(s)}},l)}function uw(t){const l=zt(t),a=lo(l);if(iw()==="virtual"){let s=a;ov(()=>{lo(l)===s&&t.isConnected&&Pi(t)})}else Pi(t)}function Cv(t){let{isDisabled:l,onFocus:a,onBlur:s,onFocusChange:r}=t;const u=S.useCallback(g=>{if(g.target===g.currentTarget)return s&&s(g),r&&r(!1),!0},[s,r]),d=gv(u),h=S.useCallback(g=>{const b=zt(g.target),m=b?lo(b):lo();g.target===g.currentTarget&&m===Mt(g.nativeEvent)&&(a&&a(g),r&&r(!0),d(g))},[r,a,d]);return{focusProps:{onFocus:!l&&(a||r||s)?h:void 0,onBlur:!l&&(s||r)?u:void 0}}}function u1(t){if(!t)return;let l=!0;return a=>{let s={...a,preventDefault(){a.preventDefault()},isDefaultPrevented(){return a.isDefaultPrevented()},stopPropagation(){l=!0},continuePropagation(){l=!1},isPropagationStopped(){return l}};t(s),l&&a.stopPropagation()}}function cw(t){return{keyboardProps:t.isDisabled?{}:{onKeyDown:u1(t.onKeyDown),onKeyUp:u1(t.onKeyUp)}}}let fw=ot.createContext(null);function dw(t){let l=S.useContext(fw)||{};rv(l,t);let{ref:a,...s}=l;return s}function hw(t,l){let{focusProps:a}=Cv(t),{keyboardProps:s}=cw(t),r=ta(a,s),u=dw(l),d=t.isDisabled?{}:u,h=S.useRef(t.autoFocus);S.useEffect(()=>{h.current&&l.current&&uw(l.current),h.current=!1},[l]);let g=t.excludeFromTabOrder?-1:0;return t.isDisabled&&(g=void 0),{focusableProps:ta({...r,tabIndex:g},d)}}function gw(t){let{isDisabled:l,onBlurWithin:a,onFocusWithin:s,onFocusWithinChange:r}=t,u=S.useRef({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:h}=Ih(),g=S.useCallback(p=>{p.currentTarget.contains(p.target)&&u.current.isFocusWithin&&!p.currentTarget.contains(p.relatedTarget)&&(u.current.isFocusWithin=!1,h(),a&&a(p),r&&r(!1))},[a,r,u,h]),b=gv(g),m=S.useCallback(p=>{if(!p.currentTarget.contains(p.target))return;const v=zt(p.target),_=lo(v);if(!u.current.isFocusWithin&&_===Mt(p.nativeEvent)){s&&s(p),r&&r(!0),u.current.isFocusWithin=!0,b(p);let C=p.currentTarget;d(v,"focus",E=>{if(u.current.isFocusWithin&&!vn(C,E.target)){let x=new v.defaultView.FocusEvent("blur",{relatedTarget:E.target});hv(x,C);let R=Yh(x);g(R)}},{capture:!0})}},[s,r,b,d,g]);return l?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:g}}}let ih=!1,Qr=0;function bw(){ih=!0,setTimeout(()=>{ih=!1},50)}function c1(t){t.pointerType==="touch"&&bw()}function pw(){if(!(typeof document>"u"))return Qr===0&&typeof PointerEvent<"u"&&document.addEventListener("pointerup",c1),Qr++,()=>{Qr--,!(Qr>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",c1)}}function mw(t){let{onHoverStart:l,onHoverChange:a,onHoverEnd:s,isDisabled:r}=t,[u,d]=S.useState(!1),h=S.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;S.useEffect(pw,[]);let{addGlobalListener:g,removeAllGlobalListeners:b}=Ih(),{hoverProps:m,triggerHoverEnd:p}=S.useMemo(()=>{let v=(E,x)=>{if(h.pointerType=x,r||x==="touch"||h.isHovered||!E.currentTarget.contains(E.target))return;h.isHovered=!0;let R=E.currentTarget;h.target=R,g(zt(E.target),"pointerover",O=>{h.isHovered&&h.target&&!vn(h.target,O.target)&&_(O,O.pointerType)},{capture:!0}),l&&l({type:"hoverstart",target:R,pointerType:x}),a&&a(!0),d(!0)},_=(E,x)=>{let R=h.target;h.pointerType="",h.target=null,!(x==="touch"||!h.isHovered||!R)&&(h.isHovered=!1,b(),s&&s({type:"hoverend",target:R,pointerType:x}),a&&a(!1),d(!1))},C={};return typeof PointerEvent<"u"&&(C.onPointerEnter=E=>{ih&&E.pointerType==="mouse"||v(E,E.pointerType)},C.onPointerLeave=E=>{!r&&E.currentTarget.contains(E.target)&&_(E,E.pointerType)}),{hoverProps:C,triggerHoverEnd:_}},[l,a,s,r,h,g,b]);return S.useEffect(()=>{r&&p({currentTarget:h.target},h.pointerType)},[r]),{hoverProps:m,isHovered:u}}function yw(t={}){let{autoFocus:l=!1,isTextInput:a,within:s}=t,r=S.useRef({isFocused:!1,isFocusVisible:l||Sv()}),[u,d]=S.useState(!1),[h,g]=S.useState(()=>r.current.isFocused&&r.current.isFocusVisible),b=S.useCallback(()=>g(r.current.isFocused&&r.current.isFocusVisible),[]),m=S.useCallback(_=>{r.current.isFocused=_,d(_),b()},[b]);rw(_=>{r.current.isFocusVisible=_,b()},[],{isTextInput:a});let{focusProps:p}=Cv({isDisabled:s,onFocusChange:m}),{focusWithinProps:v}=gw({isDisabled:!s,onFocusWithinChange:m});return{isFocused:u,isFocusVisible:h,focusProps:s?v:p}}if(typeof HTMLTemplateElement<"u"){const t=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:t.call(this)}})}const vw=S.createContext(!1);function _w(t){let l=(a,s)=>S.useContext(vw)?null:t(a,s);return l.displayName=t.displayName||t.name,S.forwardRef(l)}function kw(t,l){let{elementType:a="button",isDisabled:s,onPress:r,onPressStart:u,onPressEnd:d,onPressUp:h,onPressChange:g,preventFocusOnPress:b,allowFocusWhenDisabled:m,onClick:p,href:v,target:_,rel:C,type:E="button"}=t,x;a==="button"?x={type:E,disabled:s,form:t.form,formAction:t.formAction,formEncType:t.formEncType,formMethod:t.formMethod,formNoValidate:t.formNoValidate,formTarget:t.formTarget,name:t.name,value:t.value}:x={role:"button",href:a==="a"&&!s?v:void 0,target:a==="a"?_:void 0,type:a==="input"?E:void 0,disabled:a==="input"?s:void 0,"aria-disabled":!s||a==="input"?void 0:s,rel:a==="a"?C:void 0};let{pressProps:R,isPressed:O}=WT({onPressStart:u,onPressEnd:d,onPressChange:g,onPress:r,onPressUp:h,onClick:p,isDisabled:s,preventFocusOnPress:b,ref:l}),{focusableProps:L}=hw(t,l);m&&(L.tabIndex=s?-1:L.tabIndex);let j=ta(L,R,lv(t,{labelable:!0}));return{isPressed:O,buttonProps:ta(x,j,{"aria-haspopup":t["aria-haspopup"],"aria-expanded":t["aria-expanded"],"aria-controls":t["aria-controls"],"aria-pressed":t["aria-pressed"],"aria-current":t["aria-current"],"aria-disabled":t["aria-disabled"]})}}const Sw=S.createContext(null),Cw=S.createContext({}),Ew=_w(function(l,a){[l,a]=VT(l,a,Cw);let s=l,{isPending:r}=s,{buttonProps:u,isPressed:d}=kw(l,a);u=xw(u,r);let{focusProps:h,isFocused:g,isFocusVisible:b}=yw(l),{hoverProps:m,isHovered:p}=mw({...l,isDisabled:l.isDisabled||r}),v={isHovered:p,isPressed:(s.isPressed||d)&&!r,isFocused:g,isFocusVisible:b,isDisabled:l.isDisabled||!1,isPending:r??!1},_=HT({...l,values:v,defaultClassName:"react-aria-Button"}),C=Jm(u.id),E=Jm(),x=u["aria-labelledby"];r&&(x?x=`${x} ${E}`:u["aria-label"]&&(x=`${C} ${E}`));let R=S.useRef(r);S.useEffect(()=>{let L={"aria-labelledby":x||C};(!R.current&&g&&r||R.current&&g&&!r)&&n1(L,"assertive"),R.current=r},[r,g,x,C]);let O=lv(l,{global:!0});return delete O.onClick,ot.createElement("button",{...ta(O,_,u,h,m),type:u.type==="submit"&&r?"button":u.type,id:C,ref:a,"aria-labelledby":x,slot:l.slot||void 0,"aria-disabled":r?"true":u["aria-disabled"],"data-disabled":l.isDisabled||void 0,"data-pressed":v.isPressed||void 0,"data-hovered":p||void 0,"data-focused":g||void 0,"data-pending":r||void 0,"data-focus-visible":b||void 0},ot.createElement(Sw.Provider,{value:{id:E}},_.children))});function xw(t,l){if(l){for(const a in t)a.startsWith("on")&&!(a.includes("Focus")||a.includes("Blur"))&&(t[a]=void 0);t.href=void 0,t.target=void 0}return t}function f1(t,l){if(typeof t=="function")return t(l);t!=null&&(t.current=l)}function Rw(...t){return l=>{let a=!1;const s=t.map(r=>{const u=f1(r,l);return!a&&typeof u=="function"&&(a=!0),u});if(a)return()=>{for(let r=0;r<s.length;r++){const u=s[r];typeof u=="function"?u():f1(t[r],null)}}}}var Tw=Symbol.for("react.lazy"),wu=kh[" use ".trim().toString()];function ww(t){return typeof t=="object"&&t!==null&&"then"in t}function Ev(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===Tw&&"_payload"in t&&ww(t._payload)}function Aw(t){const l=Mw(t),a=S.forwardRef((s,r)=>{let{children:u,...d}=s;Ev(u)&&typeof wu=="function"&&(u=wu(u._payload));const h=S.Children.toArray(u),g=h.find(Dw);if(g){const b=g.props.children,m=h.map(p=>p===g?S.Children.count(b)>1?S.Children.only(null):S.isValidElement(b)?b.props.children:null:p);return Z.jsx(l,{...d,ref:r,children:S.isValidElement(b)?S.cloneElement(b,void 0,m):null})}return Z.jsx(l,{...d,ref:r,children:u})});return a.displayName=`${t}.Slot`,a}var Ow=Aw("Slot");function Mw(t){const l=S.forwardRef((a,s)=>{let{children:r,...u}=a;if(Ev(r)&&typeof wu=="function"&&(r=wu(r._payload)),S.isValidElement(r)){const d=Pw(r),h=Lw(u,r.props);return r.type!==S.Fragment&&(h.ref=s?Rw(s,d):d),S.cloneElement(r,h)}return S.Children.count(r)>1?S.Children.only(null):null});return l.displayName=`${t}.SlotClone`,l}var zw=Symbol("radix.slottable");function Dw(t){return S.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===zw}function Lw(t,l){const a={...l};for(const s in l){const r=t[s],u=l[s];/^on[A-Z]/.test(s)?r&&u?a[s]=(...h)=>{const g=u(...h);return r(...h),g}:r&&(a[s]=r):s==="style"?a[s]={...r,...u}:s==="className"&&(a[s]=[r,u].filter(Boolean).join(" "))}return{...t,...a}}function Pw(t){let l=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,a=l&&"isReactWarning"in l&&l.isReactWarning;return a?t.ref:(l=Object.getOwnPropertyDescriptor(t,"ref")?.get,a=l&&"isReactWarning"in l&&l.isReactWarning,a?t.props.ref:t.props.ref||t.ref)}var Nw=an({defaultClassName:"_11bsk7z1 _11bsk7z0 _1lg22bks0 _1lg22bksi _1lg22bkbf _1lg22bk116",variantClassNames:{collapsed:{true:"_11bsk7z2",false:"_11bsk7z3"},position:{fixed:"_11bsk7z4",relative:"_11bsk7z5"},theme:{light:"_11bsk7z6",dark:"_11bsk7z7"}},defaultVariants:{collapsed:!1,position:"relative",theme:"light"},compoundVariants:[]}),$w=an({defaultClassName:"_11bsk7zb _11bsk7z8 _1lg22bkpx _1lg22bk6",variantClassNames:{centered:{true:"_11bsk7zc _11bsk7z9 _1lg22bks0 _1lg22bktf _1lg22bksx",false:"_11bsk7zd _11bsk7za _1lg22bks0 _1lg22bktf _1lg22bksl"}},defaultVariants:{centered:!1},compoundVariants:[]}),jw=an({defaultClassName:"_11bsk7zh _11bsk7ze _1lg22bkpx _1lg22bk6",variantClassNames:{centered:{true:"_11bsk7zi _11bsk7zf _1lg22bks0 _1lg22bktf _1lg22bksx",false:"_11bsk7zj _11bsk7zg _1lg22bks0 _1lg22bktf _1lg22bksl"}},defaultVariants:{centered:!1},compoundVariants:[]}),Uw=an({defaultClassName:"_11bsk7zl _11bsk7zk _1lg22bk6 _1lg22bkto _1lg22bks0 _1lg22bksi",variantClassNames:{},defaultVariants:{},compoundVariants:[]}),qw=an({defaultClassName:"_11bsk7zn _11bsk7zm _1lg22bks0 _1lg22bk3 _1lg22bkv0 _1lg22bkj9 _1lg22bkw0",variantClassNames:{},defaultVariants:{},compoundVariants:[]});const Hw=t=>{const l=At.c(10);let a,s,r;l[0]!==t?({centered:a,className:s,...r}=t,l[0]=t,l[1]=a,l[2]=s,l[3]=r):(a=l[1],s=l[2],r=l[3]);let u;l[4]!==a||l[5]!==s?(u=vl($w({centered:a}),s),l[4]=a,l[5]=s,l[6]=u):u=l[6];let d;return l[7]!==r||l[8]!==u?(d=Z.jsx("div",{slot:"sidebar-header",...r,className:u}),l[7]=r,l[8]=u,l[9]=d):d=l[9],d},Bw=t=>{const l=At.c(10);let a,s,r;l[0]!==t?({centered:a,className:s,...r}=t,l[0]=t,l[1]=a,l[2]=s,l[3]=r):(a=l[1],s=l[2],r=l[3]);let u;l[4]!==a||l[5]!==s?(u=vl(jw({centered:a}),s),l[4]=a,l[5]=s,l[6]=u):u=l[6];let d;return l[7]!==r||l[8]!==u?(d=Z.jsx("div",{slot:"sidebar-footer",...r,className:u}),l[7]=r,l[8]=u,l[9]=d):d=l[9],d},Vw=t=>{const l=At.c(8);let a,s;l[0]!==t?({className:a,...s}=t,l[0]=t,l[1]=a,l[2]=s):(a=l[1],s=l[2]);let r;l[3]!==a?(r=vl(Uw(),a),l[3]=a,l[4]=r):r=l[4];let u;return l[5]!==s||l[6]!==r?(u=Z.jsx("div",{...s,className:r}),l[5]=s,l[6]=r,l[7]=u):u=l[7],u},Fw=t=>{const l=At.c(14);let a,s,r,u,d;l[0]!==t?({collapsed:s,position:r,theme:d,className:a,...u}=t,l[0]=t,l[1]=a,l[2]=s,l[3]=r,l[4]=u,l[5]=d):(a=l[1],s=l[2],r=l[3],u=l[4],d=l[5]);let h;l[6]!==a||l[7]!==s||l[8]!==r||l[9]!==d?(h=vl(Nw({collapsed:s,position:r,theme:d}),a),l[6]=a,l[7]=s,l[8]=r,l[9]=d,l[10]=h):h=l[10];let g;return l[11]!==u||l[12]!==h?(g=Z.jsx("aside",{...u,className:h}),l[11]=u,l[12]=h,l[13]=g):g=l[13],g},Kr=t=>{const l=At.c(12);let a,s,r,u;l[0]!==t?({className:s,asChild:u,children:a,...r}=t,l[0]=t,l[1]=a,l[2]=s,l[3]=r,l[4]=u):(a=l[1],s=l[2],r=l[3],u=l[4]);const d=u===void 0?!1:u;let h;l[5]!==s?(h=vl(qw(),s),l[5]=s,l[6]=h):h=l[6];const g=h,b=d?Ow:Ew;let m;return l[7]!==b||l[8]!==a||l[9]!==g||l[10]!==r?(m=Z.jsx(b,{className:g,...r,children:a}),l[7]=b,l[8]=a,l[9]=g,l[10]=r,l[11]=m):m=l[11],m};const Iw=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Yw=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,a,s)=>s?s.toUpperCase():a.toLowerCase()),d1=t=>{const l=Yw(t);return l.charAt(0).toUpperCase()+l.slice(1)},xv=(...t)=>t.filter((l,a,s)=>!!l&&l.trim()!==""&&s.indexOf(l)===a).join(" ").trim(),Gw=t=>{for(const l in t)if(l.startsWith("aria-")||l==="role"||l==="title")return!0};var Qw={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Kw=S.forwardRef(({color:t="currentColor",size:l=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:r="",children:u,iconNode:d,...h},g)=>S.createElement("svg",{ref:g,...Qw,width:l,height:l,stroke:t,strokeWidth:s?Number(a)*24/Number(l):a,className:xv("lucide",r),...!u&&!Gw(h)&&{"aria-hidden":"true"},...h},[...d.map(([b,m])=>S.createElement(b,m)),...Array.isArray(u)?u:[u]]));const Vu=(t,l)=>{const a=S.forwardRef(({className:s,...r},u)=>S.createElement(Kw,{ref:u,iconNode:l,className:xv(`lucide-${Iw(d1(t))}`,`lucide-${t}`,s),...r}));return a.displayName=d1(t),a};const Xw=[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2",key:"1ah6g2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1",key:"88lufb"}]],Rv=Vu("blocks",Xw);const Zw=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Tv=Vu("globe",Zw);const Jw=[["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M12 21v-9",key:"17s77i"}],["path",{d:"M12 8V3",key:"13r4qs"}],["path",{d:"M17 16h4",key:"h1uq16"}],["path",{d:"M19 12V3",key:"o1uvq1"}],["path",{d:"M19 21v-5",key:"qua636"}],["path",{d:"M3 14h4",key:"bcjad9"}],["path",{d:"M5 10V3",key:"cb8scm"}],["path",{d:"M5 21v-7",key:"1w1uti"}]],wv=Vu("sliders-vertical",Jw);const Ww=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],eA=Vu("telescope",Ww);var FM="fs2a330",IM="fs2a331",YM="fs2a332",GM="fs2a333",QM="fs2a334",KM=an({defaultClassName:"fs2a335",variantClassNames:{interactive:{true:"fs2a336",false:"fs2a337"},selected:{true:"fs2a338",false:"fs2a339"}},defaultVariants:{interactive:!1,selected:!1},compoundVariants:[]}),XM="fs2a33a",ZM="fs2a33b",JM="_1mfazoe0",WM="_1mfazoe1",e6="_1mfazoe2",t6="_1mfazoe4 _1mfazoe3 _1lg22bkv0 _1lg22bkuc _1lg22bk26 _1lg22bk2u _1lg22bkj9",n6="_1mfazoe5",l6="_1mfazoe6",a6="_1mfazoe7",i6="_1mfazoe8",s6="_1mfazoe9",o6="_1mfazoea",r6="_1mfazoeb",u6="_1mfazoec",c6=an({defaultClassName:"_1mfazoed",variantClassNames:{withIcon:{true:"_1mfazoee",false:"_1mfazoef"}},defaultVariants:{withIcon:!1},compoundVariants:[]}),f6=an({defaultClassName:"_1mfazoeg",variantClassNames:{withIcon:{true:"_1mfazoeh",false:"_1mfazoei"}},defaultVariants:{withIcon:!1},compoundVariants:[]}),d6=an({defaultClassName:"_1mfazoej",variantClassNames:{withIcon:{true:"_1mfazoek",false:"_1mfazoel"}},defaultVariants:{withIcon:!1},compoundVariants:[]}),h6=an({defaultClassName:"_1mfazoem",variantClassNames:{withIcon:{true:"_1mfazoen",false:"_1mfazoeo"}},defaultVariants:{withIcon:!1},compoundVariants:[]}),g6="_1mfazoep",b6="_1mfazoeq",p6="_1mfazoey",m6="_1mfazoez",y6="_1mfazoe10",v6="_1mfazoe12 _1mfazoe11 _1lg22bkv0 _1lg22bkuc _1lg22bk23 _1lg22bkjc",_6="_1mfazoe13",k6="_1mfazoe14",tA="_1v73km82",nA="_1v73km83",lA="_1v73km84",aA="_1v73km85";function iA(t){const l=At.c(3);let a;l[0]===Symbol.for("react.memo_cache_sentinel")?(a=Z.jsx("path",{d:"M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",className:aA}),l[0]=a):a=l[0];let s;return l[1]!==t?(s=Z.jsx("svg",{width:"20",height:"10",viewBox:"0 0 20 10",fill:"none",...t,children:a}),l[1]=t,l[2]=s):s=l[2],s}function sA(t){const l=At.c(20),{content:a,children:s,side:r,align:u,sideOffset:d,delay:h,closeDelay:g,className:b}=t,m=r===void 0?"top":r,p=u===void 0?"center":u,v=d===void 0?8:d,_=h===void 0?400:h,C=g===void 0?0:g;let E;l[0]!==s?(E=Z.jsx(BR,{render:s}),l[0]=s,l[1]=E):E=l[1];let x;l[2]!==b?(x=vl(nA,b),l[2]=b,l[3]=x):x=l[3];let R;l[4]===Symbol.for("react.memo_cache_sentinel")?(R=Z.jsx(QR,{className:lA,children:Z.jsx(iA,{})}),l[4]=R):R=l[4];let O;l[5]!==a||l[6]!==x?(O=Z.jsxs(GR,{className:x,children:[R,a]}),l[5]=a,l[6]=x,l[7]=O):O=l[7];let L;l[8]!==p||l[9]!==m||l[10]!==v||l[11]!==O?(L=Z.jsx(FR,{children:Z.jsx(IR,{className:tA,side:m,align:p,sideOffset:v,children:O})}),l[8]=p,l[9]=m,l[10]=v,l[11]=O,l[12]=L):L=l[12];let j;l[13]!==L||l[14]!==E?(j=Z.jsxs(jR,{children:[E,L]}),l[13]=L,l[14]=E,l[15]=j):j=l[15];let U;return l[16]!==C||l[17]!==_||l[18]!==j?(U=Z.jsx(KR,{delay:_,closeDelay:C,children:j}),l[16]=C,l[17]=_,l[18]=j,l[19]=U):U=l[19],U}function oA(t,l){if(typeof t!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var s=a.call(t,l);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(t)}function rA(t){var l=oA(t,"string");return typeof l=="symbol"?l:String(l)}function uA(t,l,a){return l=rA(l),l in t?Object.defineProperty(t,l,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[l]=a,t}function h1(t,l){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);l&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),a.push.apply(a,s)}return a}function Md(t){for(var l=1;l<arguments.length;l++){var a=arguments[l]!=null?arguments[l]:{};l%2?h1(Object(a),!0).forEach(function(s){uA(t,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):h1(Object(a)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(a,s))})}return t}var cA=t=>function(){for(var l=arguments.length,a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];var r=Object.assign({},...a.map(g=>g.styles)),u=Object.keys(r),d=u.filter(g=>"mappings"in r[g]),h=g=>{var b=[],m={},p=Md({},g),v=!1;for(var _ of d){var C=g[_];if(C!=null){var E=r[_];v=!0;for(var x of E.mappings)m[x]=C,p[x]==null&&delete p[x]}}var R=v?Md(Md({},m),p):g,O=function(){var U=R[L],P=r[L];try{if(P.mappings)return 1;if(typeof U=="string"||typeof U=="number")b.push(P.values[U].defaultClass);else if(Array.isArray(U))for(var M=0;M<U.length;M++){var N=U[M];if(N!=null){var J=P.responsiveArray[M];b.push(P.values[N].conditions[J])}}else for(var ee in U){var z=U[ee];z!=null&&b.push(P.values[z].conditions[ee])}}catch(K){throw K}};for(var L in R)O();return t(b.join(" "))};return Object.assign(h,{properties:new Set(u)})},fA=t=>t,dA=function(){return cA(fA)(...arguments)};dA({conditions:{defaultCondition:"mobile",conditionNames:["mobile","tablet","desktop"],responsiveArray:void 0},styles:{p:{mappings:["padding"]},px:{mappings:["paddingLeft","paddingRight"]},py:{mappings:["paddingTop","paddingBottom"]},m:{mappings:["margin"]},mx:{mappings:["marginLeft","marginRight"]},my:{mappings:["marginTop","marginBottom"]},padding:{values:{none:{conditions:{mobile:"_1lg22bk0",tablet:"_1lg22bk1",desktop:"_1lg22bk2"},defaultClass:"_1lg22bk0"},xs:{conditions:{mobile:"_1lg22bk3",tablet:"_1lg22bk4",desktop:"_1lg22bk5"},defaultClass:"_1lg22bk3"},sm:{conditions:{mobile:"_1lg22bk6",tablet:"_1lg22bk7",desktop:"_1lg22bk8"},defaultClass:"_1lg22bk6"},md:{conditions:{mobile:"_1lg22bk9",tablet:"_1lg22bka",desktop:"_1lg22bkb"},defaultClass:"_1lg22bk9"},lg:{conditions:{mobile:"_1lg22bkc",tablet:"_1lg22bkd",desktop:"_1lg22bke"},defaultClass:"_1lg22bkc"},xl:{conditions:{mobile:"_1lg22bkf",tablet:"_1lg22bkg",desktop:"_1lg22bkh"},defaultClass:"_1lg22bkf"},"2xl":{conditions:{mobile:"_1lg22bki",tablet:"_1lg22bkj",desktop:"_1lg22bkk"},defaultClass:"_1lg22bki"},"3xl":{conditions:{mobile:"_1lg22bkl",tablet:"_1lg22bkm",desktop:"_1lg22bkn"},defaultClass:"_1lg22bkl"}}},paddingTop:{values:{none:{conditions:{mobile:"_1lg22bko",tablet:"_1lg22bkp",desktop:"_1lg22bkq"},defaultClass:"_1lg22bko"},xs:{conditions:{mobile:"_1lg22bkr",tablet:"_1lg22bks",desktop:"_1lg22bkt"},defaultClass:"_1lg22bkr"},sm:{conditions:{mobile:"_1lg22bku",tablet:"_1lg22bkv",desktop:"_1lg22bkw"},defaultClass:"_1lg22bku"},md:{conditions:{mobile:"_1lg22bkx",tablet:"_1lg22bky",desktop:"_1lg22bkz"},defaultClass:"_1lg22bkx"},lg:{conditions:{mobile:"_1lg22bk10",tablet:"_1lg22bk11",desktop:"_1lg22bk12"},defaultClass:"_1lg22bk10"},xl:{conditions:{mobile:"_1lg22bk13",tablet:"_1lg22bk14",desktop:"_1lg22bk15"},defaultClass:"_1lg22bk13"},"2xl":{conditions:{mobile:"_1lg22bk16",tablet:"_1lg22bk17",desktop:"_1lg22bk18"},defaultClass:"_1lg22bk16"},"3xl":{conditions:{mobile:"_1lg22bk19",tablet:"_1lg22bk1a",desktop:"_1lg22bk1b"},defaultClass:"_1lg22bk19"}}},paddingBottom:{values:{none:{conditions:{mobile:"_1lg22bk1c",tablet:"_1lg22bk1d",desktop:"_1lg22bk1e"},defaultClass:"_1lg22bk1c"},xs:{conditions:{mobile:"_1lg22bk1f",tablet:"_1lg22bk1g",desktop:"_1lg22bk1h"},defaultClass:"_1lg22bk1f"},sm:{conditions:{mobile:"_1lg22bk1i",tablet:"_1lg22bk1j",desktop:"_1lg22bk1k"},defaultClass:"_1lg22bk1i"},md:{conditions:{mobile:"_1lg22bk1l",tablet:"_1lg22bk1m",desktop:"_1lg22bk1n"},defaultClass:"_1lg22bk1l"},lg:{conditions:{mobile:"_1lg22bk1o",tablet:"_1lg22bk1p",desktop:"_1lg22bk1q"},defaultClass:"_1lg22bk1o"},xl:{conditions:{mobile:"_1lg22bk1r",tablet:"_1lg22bk1s",desktop:"_1lg22bk1t"},defaultClass:"_1lg22bk1r"},"2xl":{conditions:{mobile:"_1lg22bk1u",tablet:"_1lg22bk1v",desktop:"_1lg22bk1w"},defaultClass:"_1lg22bk1u"},"3xl":{conditions:{mobile:"_1lg22bk1x",tablet:"_1lg22bk1y",desktop:"_1lg22bk1z"},defaultClass:"_1lg22bk1x"}}},paddingLeft:{values:{none:{conditions:{mobile:"_1lg22bk20",tablet:"_1lg22bk21",desktop:"_1lg22bk22"},defaultClass:"_1lg22bk20"},xs:{conditions:{mobile:"_1lg22bk23",tablet:"_1lg22bk24",desktop:"_1lg22bk25"},defaultClass:"_1lg22bk23"},sm:{conditions:{mobile:"_1lg22bk26",tablet:"_1lg22bk27",desktop:"_1lg22bk28"},defaultClass:"_1lg22bk26"},md:{conditions:{mobile:"_1lg22bk29",tablet:"_1lg22bk2a",desktop:"_1lg22bk2b"},defaultClass:"_1lg22bk29"},lg:{conditions:{mobile:"_1lg22bk2c",tablet:"_1lg22bk2d",desktop:"_1lg22bk2e"},defaultClass:"_1lg22bk2c"},xl:{conditions:{mobile:"_1lg22bk2f",tablet:"_1lg22bk2g",desktop:"_1lg22bk2h"},defaultClass:"_1lg22bk2f"},"2xl":{conditions:{mobile:"_1lg22bk2i",tablet:"_1lg22bk2j",desktop:"_1lg22bk2k"},defaultClass:"_1lg22bk2i"},"3xl":{conditions:{mobile:"_1lg22bk2l",tablet:"_1lg22bk2m",desktop:"_1lg22bk2n"},defaultClass:"_1lg22bk2l"}}},paddingRight:{values:{none:{conditions:{mobile:"_1lg22bk2o",tablet:"_1lg22bk2p",desktop:"_1lg22bk2q"},defaultClass:"_1lg22bk2o"},xs:{conditions:{mobile:"_1lg22bk2r",tablet:"_1lg22bk2s",desktop:"_1lg22bk2t"},defaultClass:"_1lg22bk2r"},sm:{conditions:{mobile:"_1lg22bk2u",tablet:"_1lg22bk2v",desktop:"_1lg22bk2w"},defaultClass:"_1lg22bk2u"},md:{conditions:{mobile:"_1lg22bk2x",tablet:"_1lg22bk2y",desktop:"_1lg22bk2z"},defaultClass:"_1lg22bk2x"},lg:{conditions:{mobile:"_1lg22bk30",tablet:"_1lg22bk31",desktop:"_1lg22bk32"},defaultClass:"_1lg22bk30"},xl:{conditions:{mobile:"_1lg22bk33",tablet:"_1lg22bk34",desktop:"_1lg22bk35"},defaultClass:"_1lg22bk33"},"2xl":{conditions:{mobile:"_1lg22bk36",tablet:"_1lg22bk37",desktop:"_1lg22bk38"},defaultClass:"_1lg22bk36"},"3xl":{conditions:{mobile:"_1lg22bk39",tablet:"_1lg22bk3a",desktop:"_1lg22bk3b"},defaultClass:"_1lg22bk39"}}},margin:{values:{none:{conditions:{mobile:"_1lg22bk3c",tablet:"_1lg22bk3d",desktop:"_1lg22bk3e"},defaultClass:"_1lg22bk3c"},xs:{conditions:{mobile:"_1lg22bk3f",tablet:"_1lg22bk3g",desktop:"_1lg22bk3h"},defaultClass:"_1lg22bk3f"},sm:{conditions:{mobile:"_1lg22bk3i",tablet:"_1lg22bk3j",desktop:"_1lg22bk3k"},defaultClass:"_1lg22bk3i"},md:{conditions:{mobile:"_1lg22bk3l",tablet:"_1lg22bk3m",desktop:"_1lg22bk3n"},defaultClass:"_1lg22bk3l"},lg:{conditions:{mobile:"_1lg22bk3o",tablet:"_1lg22bk3p",desktop:"_1lg22bk3q"},defaultClass:"_1lg22bk3o"},xl:{conditions:{mobile:"_1lg22bk3r",tablet:"_1lg22bk3s",desktop:"_1lg22bk3t"},defaultClass:"_1lg22bk3r"},"2xl":{conditions:{mobile:"_1lg22bk3u",tablet:"_1lg22bk3v",desktop:"_1lg22bk3w"},defaultClass:"_1lg22bk3u"},"3xl":{conditions:{mobile:"_1lg22bk3x",tablet:"_1lg22bk3y",desktop:"_1lg22bk3z"},defaultClass:"_1lg22bk3x"}}},marginTop:{values:{none:{conditions:{mobile:"_1lg22bk40",tablet:"_1lg22bk41",desktop:"_1lg22bk42"},defaultClass:"_1lg22bk40"},xs:{conditions:{mobile:"_1lg22bk43",tablet:"_1lg22bk44",desktop:"_1lg22bk45"},defaultClass:"_1lg22bk43"},sm:{conditions:{mobile:"_1lg22bk46",tablet:"_1lg22bk47",desktop:"_1lg22bk48"},defaultClass:"_1lg22bk46"},md:{conditions:{mobile:"_1lg22bk49",tablet:"_1lg22bk4a",desktop:"_1lg22bk4b"},defaultClass:"_1lg22bk49"},lg:{conditions:{mobile:"_1lg22bk4c",tablet:"_1lg22bk4d",desktop:"_1lg22bk4e"},defaultClass:"_1lg22bk4c"},xl:{conditions:{mobile:"_1lg22bk4f",tablet:"_1lg22bk4g",desktop:"_1lg22bk4h"},defaultClass:"_1lg22bk4f"},"2xl":{conditions:{mobile:"_1lg22bk4i",tablet:"_1lg22bk4j",desktop:"_1lg22bk4k"},defaultClass:"_1lg22bk4i"},"3xl":{conditions:{mobile:"_1lg22bk4l",tablet:"_1lg22bk4m",desktop:"_1lg22bk4n"},defaultClass:"_1lg22bk4l"}}},marginBottom:{values:{none:{conditions:{mobile:"_1lg22bk4o",tablet:"_1lg22bk4p",desktop:"_1lg22bk4q"},defaultClass:"_1lg22bk4o"},xs:{conditions:{mobile:"_1lg22bk4r",tablet:"_1lg22bk4s",desktop:"_1lg22bk4t"},defaultClass:"_1lg22bk4r"},sm:{conditions:{mobile:"_1lg22bk4u",tablet:"_1lg22bk4v",desktop:"_1lg22bk4w"},defaultClass:"_1lg22bk4u"},md:{conditions:{mobile:"_1lg22bk4x",tablet:"_1lg22bk4y",desktop:"_1lg22bk4z"},defaultClass:"_1lg22bk4x"},lg:{conditions:{mobile:"_1lg22bk50",tablet:"_1lg22bk51",desktop:"_1lg22bk52"},defaultClass:"_1lg22bk50"},xl:{conditions:{mobile:"_1lg22bk53",tablet:"_1lg22bk54",desktop:"_1lg22bk55"},defaultClass:"_1lg22bk53"},"2xl":{conditions:{mobile:"_1lg22bk56",tablet:"_1lg22bk57",desktop:"_1lg22bk58"},defaultClass:"_1lg22bk56"},"3xl":{conditions:{mobile:"_1lg22bk59",tablet:"_1lg22bk5a",desktop:"_1lg22bk5b"},defaultClass:"_1lg22bk59"}}},marginLeft:{values:{none:{conditions:{mobile:"_1lg22bk5c",tablet:"_1lg22bk5d",desktop:"_1lg22bk5e"},defaultClass:"_1lg22bk5c"},xs:{conditions:{mobile:"_1lg22bk5f",tablet:"_1lg22bk5g",desktop:"_1lg22bk5h"},defaultClass:"_1lg22bk5f"},sm:{conditions:{mobile:"_1lg22bk5i",tablet:"_1lg22bk5j",desktop:"_1lg22bk5k"},defaultClass:"_1lg22bk5i"},md:{conditions:{mobile:"_1lg22bk5l",tablet:"_1lg22bk5m",desktop:"_1lg22bk5n"},defaultClass:"_1lg22bk5l"},lg:{conditions:{mobile:"_1lg22bk5o",tablet:"_1lg22bk5p",desktop:"_1lg22bk5q"},defaultClass:"_1lg22bk5o"},xl:{conditions:{mobile:"_1lg22bk5r",tablet:"_1lg22bk5s",desktop:"_1lg22bk5t"},defaultClass:"_1lg22bk5r"},"2xl":{conditions:{mobile:"_1lg22bk5u",tablet:"_1lg22bk5v",desktop:"_1lg22bk5w"},defaultClass:"_1lg22bk5u"},"3xl":{conditions:{mobile:"_1lg22bk5x",tablet:"_1lg22bk5y",desktop:"_1lg22bk5z"},defaultClass:"_1lg22bk5x"}}},marginRight:{values:{none:{conditions:{mobile:"_1lg22bk60",tablet:"_1lg22bk61",desktop:"_1lg22bk62"},defaultClass:"_1lg22bk60"},xs:{conditions:{mobile:"_1lg22bk63",tablet:"_1lg22bk64",desktop:"_1lg22bk65"},defaultClass:"_1lg22bk63"},sm:{conditions:{mobile:"_1lg22bk66",tablet:"_1lg22bk67",desktop:"_1lg22bk68"},defaultClass:"_1lg22bk66"},md:{conditions:{mobile:"_1lg22bk69",tablet:"_1lg22bk6a",desktop:"_1lg22bk6b"},defaultClass:"_1lg22bk69"},lg:{conditions:{mobile:"_1lg22bk6c",tablet:"_1lg22bk6d",desktop:"_1lg22bk6e"},defaultClass:"_1lg22bk6c"},xl:{conditions:{mobile:"_1lg22bk6f",tablet:"_1lg22bk6g",desktop:"_1lg22bk6h"},defaultClass:"_1lg22bk6f"},"2xl":{conditions:{mobile:"_1lg22bk6i",tablet:"_1lg22bk6j",desktop:"_1lg22bk6k"},defaultClass:"_1lg22bk6i"},"3xl":{conditions:{mobile:"_1lg22bk6l",tablet:"_1lg22bk6m",desktop:"_1lg22bk6n"},defaultClass:"_1lg22bk6l"}}},backgroundColor:{values:{accent1:{conditions:{mobile:"_1lg22bk6o",tablet:"_1lg22bk6p",desktop:"_1lg22bk6q"},defaultClass:"_1lg22bk6o"},accent2:{conditions:{mobile:"_1lg22bk6r",tablet:"_1lg22bk6s",desktop:"_1lg22bk6t"},defaultClass:"_1lg22bk6r"},accent3:{conditions:{mobile:"_1lg22bk6u",tablet:"_1lg22bk6v",desktop:"_1lg22bk6w"},defaultClass:"_1lg22bk6u"},accent4:{conditions:{mobile:"_1lg22bk6x",tablet:"_1lg22bk6y",desktop:"_1lg22bk6z"},defaultClass:"_1lg22bk6x"},accent5:{conditions:{mobile:"_1lg22bk70",tablet:"_1lg22bk71",desktop:"_1lg22bk72"},defaultClass:"_1lg22bk70"},accent6:{conditions:{mobile:"_1lg22bk73",tablet:"_1lg22bk74",desktop:"_1lg22bk75"},defaultClass:"_1lg22bk73"},accent7:{conditions:{mobile:"_1lg22bk76",tablet:"_1lg22bk77",desktop:"_1lg22bk78"},defaultClass:"_1lg22bk76"},accent8:{conditions:{mobile:"_1lg22bk79",tablet:"_1lg22bk7a",desktop:"_1lg22bk7b"},defaultClass:"_1lg22bk79"},accent9:{conditions:{mobile:"_1lg22bk7c",tablet:"_1lg22bk7d",desktop:"_1lg22bk7e"},defaultClass:"_1lg22bk7c"},accent10:{conditions:{mobile:"_1lg22bk7f",tablet:"_1lg22bk7g",desktop:"_1lg22bk7h"},defaultClass:"_1lg22bk7f"},accent11:{conditions:{mobile:"_1lg22bk7i",tablet:"_1lg22bk7j",desktop:"_1lg22bk7k"},defaultClass:"_1lg22bk7i"},accent12:{conditions:{mobile:"_1lg22bk7l",tablet:"_1lg22bk7m",desktop:"_1lg22bk7n"},defaultClass:"_1lg22bk7l"},accentA1:{conditions:{mobile:"_1lg22bk7o",tablet:"_1lg22bk7p",desktop:"_1lg22bk7q"},defaultClass:"_1lg22bk7o"},accentA2:{conditions:{mobile:"_1lg22bk7r",tablet:"_1lg22bk7s",desktop:"_1lg22bk7t"},defaultClass:"_1lg22bk7r"},accentA3:{conditions:{mobile:"_1lg22bk7u",tablet:"_1lg22bk7v",desktop:"_1lg22bk7w"},defaultClass:"_1lg22bk7u"},accentA4:{conditions:{mobile:"_1lg22bk7x",tablet:"_1lg22bk7y",desktop:"_1lg22bk7z"},defaultClass:"_1lg22bk7x"},accentA5:{conditions:{mobile:"_1lg22bk80",tablet:"_1lg22bk81",desktop:"_1lg22bk82"},defaultClass:"_1lg22bk80"},accentA6:{conditions:{mobile:"_1lg22bk83",tablet:"_1lg22bk84",desktop:"_1lg22bk85"},defaultClass:"_1lg22bk83"},accentA7:{conditions:{mobile:"_1lg22bk86",tablet:"_1lg22bk87",desktop:"_1lg22bk88"},defaultClass:"_1lg22bk86"},accentA8:{conditions:{mobile:"_1lg22bk89",tablet:"_1lg22bk8a",desktop:"_1lg22bk8b"},defaultClass:"_1lg22bk89"},accentA9:{conditions:{mobile:"_1lg22bk8c",tablet:"_1lg22bk8d",desktop:"_1lg22bk8e"},defaultClass:"_1lg22bk8c"},accentA10:{conditions:{mobile:"_1lg22bk8f",tablet:"_1lg22bk8g",desktop:"_1lg22bk8h"},defaultClass:"_1lg22bk8f"},accentA11:{conditions:{mobile:"_1lg22bk8i",tablet:"_1lg22bk8j",desktop:"_1lg22bk8k"},defaultClass:"_1lg22bk8i"},accentA12:{conditions:{mobile:"_1lg22bk8l",tablet:"_1lg22bk8m",desktop:"_1lg22bk8n"},defaultClass:"_1lg22bk8l"},accentContrast:{conditions:{mobile:"_1lg22bk8o",tablet:"_1lg22bk8p",desktop:"_1lg22bk8q"},defaultClass:"_1lg22bk8o"},accentSurface:{conditions:{mobile:"_1lg22bk8r",tablet:"_1lg22bk8s",desktop:"_1lg22bk8t"},defaultClass:"_1lg22bk8r"},accentIndicator:{conditions:{mobile:"_1lg22bk8u",tablet:"_1lg22bk8v",desktop:"_1lg22bk8w"},defaultClass:"_1lg22bk8u"},accentTrack:{conditions:{mobile:"_1lg22bk8x",tablet:"_1lg22bk8y",desktop:"_1lg22bk8z"},defaultClass:"_1lg22bk8x"},error1:{conditions:{mobile:"_1lg22bk90",tablet:"_1lg22bk91",desktop:"_1lg22bk92"},defaultClass:"_1lg22bk90"},error2:{conditions:{mobile:"_1lg22bk93",tablet:"_1lg22bk94",desktop:"_1lg22bk95"},defaultClass:"_1lg22bk93"},error3:{conditions:{mobile:"_1lg22bk96",tablet:"_1lg22bk97",desktop:"_1lg22bk98"},defaultClass:"_1lg22bk96"},error4:{conditions:{mobile:"_1lg22bk99",tablet:"_1lg22bk9a",desktop:"_1lg22bk9b"},defaultClass:"_1lg22bk99"},error5:{conditions:{mobile:"_1lg22bk9c",tablet:"_1lg22bk9d",desktop:"_1lg22bk9e"},defaultClass:"_1lg22bk9c"},error6:{conditions:{mobile:"_1lg22bk9f",tablet:"_1lg22bk9g",desktop:"_1lg22bk9h"},defaultClass:"_1lg22bk9f"},error7:{conditions:{mobile:"_1lg22bk9i",tablet:"_1lg22bk9j",desktop:"_1lg22bk9k"},defaultClass:"_1lg22bk9i"},error8:{conditions:{mobile:"_1lg22bk9l",tablet:"_1lg22bk9m",desktop:"_1lg22bk9n"},defaultClass:"_1lg22bk9l"},error9:{conditions:{mobile:"_1lg22bk9o",tablet:"_1lg22bk9p",desktop:"_1lg22bk9q"},defaultClass:"_1lg22bk9o"},error10:{conditions:{mobile:"_1lg22bk9r",tablet:"_1lg22bk9s",desktop:"_1lg22bk9t"},defaultClass:"_1lg22bk9r"},error11:{conditions:{mobile:"_1lg22bk9u",tablet:"_1lg22bk9v",desktop:"_1lg22bk9w"},defaultClass:"_1lg22bk9u"},error12:{conditions:{mobile:"_1lg22bk9x",tablet:"_1lg22bk9y",desktop:"_1lg22bk9z"},defaultClass:"_1lg22bk9x"},errorA1:{conditions:{mobile:"_1lg22bka0",tablet:"_1lg22bka1",desktop:"_1lg22bka2"},defaultClass:"_1lg22bka0"},errorA2:{conditions:{mobile:"_1lg22bka3",tablet:"_1lg22bka4",desktop:"_1lg22bka5"},defaultClass:"_1lg22bka3"},errorA3:{conditions:{mobile:"_1lg22bka6",tablet:"_1lg22bka7",desktop:"_1lg22bka8"},defaultClass:"_1lg22bka6"},errorA4:{conditions:{mobile:"_1lg22bka9",tablet:"_1lg22bkaa",desktop:"_1lg22bkab"},defaultClass:"_1lg22bka9"},errorA5:{conditions:{mobile:"_1lg22bkac",tablet:"_1lg22bkad",desktop:"_1lg22bkae"},defaultClass:"_1lg22bkac"},errorA6:{conditions:{mobile:"_1lg22bkaf",tablet:"_1lg22bkag",desktop:"_1lg22bkah"},defaultClass:"_1lg22bkaf"},errorA7:{conditions:{mobile:"_1lg22bkai",tablet:"_1lg22bkaj",desktop:"_1lg22bkak"},defaultClass:"_1lg22bkai"},errorA8:{conditions:{mobile:"_1lg22bkal",tablet:"_1lg22bkam",desktop:"_1lg22bkan"},defaultClass:"_1lg22bkal"},errorA9:{conditions:{mobile:"_1lg22bkao",tablet:"_1lg22bkap",desktop:"_1lg22bkaq"},defaultClass:"_1lg22bkao"},errorA10:{conditions:{mobile:"_1lg22bkar",tablet:"_1lg22bkas",desktop:"_1lg22bkat"},defaultClass:"_1lg22bkar"},errorA11:{conditions:{mobile:"_1lg22bkau",tablet:"_1lg22bkav",desktop:"_1lg22bkaw"},defaultClass:"_1lg22bkau"},errorA12:{conditions:{mobile:"_1lg22bkax",tablet:"_1lg22bkay",desktop:"_1lg22bkaz"},defaultClass:"_1lg22bkax"},errorContrast:{conditions:{mobile:"_1lg22bkb0",tablet:"_1lg22bkb1",desktop:"_1lg22bkb2"},defaultClass:"_1lg22bkb0"},errorSurface:{conditions:{mobile:"_1lg22bkb3",tablet:"_1lg22bkb4",desktop:"_1lg22bkb5"},defaultClass:"_1lg22bkb3"},errorIndicator:{conditions:{mobile:"_1lg22bkb6",tablet:"_1lg22bkb7",desktop:"_1lg22bkb8"},defaultClass:"_1lg22bkb6"},errorTrack:{conditions:{mobile:"_1lg22bkb9",tablet:"_1lg22bkba",desktop:"_1lg22bkbb"},defaultClass:"_1lg22bkb9"},gray1:{conditions:{mobile:"_1lg22bkbc",tablet:"_1lg22bkbd",desktop:"_1lg22bkbe"},defaultClass:"_1lg22bkbc"},gray2:{conditions:{mobile:"_1lg22bkbf",tablet:"_1lg22bkbg",desktop:"_1lg22bkbh"},defaultClass:"_1lg22bkbf"},gray3:{conditions:{mobile:"_1lg22bkbi",tablet:"_1lg22bkbj",desktop:"_1lg22bkbk"},defaultClass:"_1lg22bkbi"},gray4:{conditions:{mobile:"_1lg22bkbl",tablet:"_1lg22bkbm",desktop:"_1lg22bkbn"},defaultClass:"_1lg22bkbl"},gray5:{conditions:{mobile:"_1lg22bkbo",tablet:"_1lg22bkbp",desktop:"_1lg22bkbq"},defaultClass:"_1lg22bkbo"},gray6:{conditions:{mobile:"_1lg22bkbr",tablet:"_1lg22bkbs",desktop:"_1lg22bkbt"},defaultClass:"_1lg22bkbr"},gray7:{conditions:{mobile:"_1lg22bkbu",tablet:"_1lg22bkbv",desktop:"_1lg22bkbw"},defaultClass:"_1lg22bkbu"},gray8:{conditions:{mobile:"_1lg22bkbx",tablet:"_1lg22bkby",desktop:"_1lg22bkbz"},defaultClass:"_1lg22bkbx"},gray9:{conditions:{mobile:"_1lg22bkc0",tablet:"_1lg22bkc1",desktop:"_1lg22bkc2"},defaultClass:"_1lg22bkc0"},gray10:{conditions:{mobile:"_1lg22bkc3",tablet:"_1lg22bkc4",desktop:"_1lg22bkc5"},defaultClass:"_1lg22bkc3"},gray11:{conditions:{mobile:"_1lg22bkc6",tablet:"_1lg22bkc7",desktop:"_1lg22bkc8"},defaultClass:"_1lg22bkc6"},gray12:{conditions:{mobile:"_1lg22bkc9",tablet:"_1lg22bkca",desktop:"_1lg22bkcb"},defaultClass:"_1lg22bkc9"},grayA1:{conditions:{mobile:"_1lg22bkcc",tablet:"_1lg22bkcd",desktop:"_1lg22bkce"},defaultClass:"_1lg22bkcc"},grayA2:{conditions:{mobile:"_1lg22bkcf",tablet:"_1lg22bkcg",desktop:"_1lg22bkch"},defaultClass:"_1lg22bkcf"},grayA3:{conditions:{mobile:"_1lg22bkci",tablet:"_1lg22bkcj",desktop:"_1lg22bkck"},defaultClass:"_1lg22bkci"},grayA4:{conditions:{mobile:"_1lg22bkcl",tablet:"_1lg22bkcm",desktop:"_1lg22bkcn"},defaultClass:"_1lg22bkcl"},grayA5:{conditions:{mobile:"_1lg22bkco",tablet:"_1lg22bkcp",desktop:"_1lg22bkcq"},defaultClass:"_1lg22bkco"},grayA6:{conditions:{mobile:"_1lg22bkcr",tablet:"_1lg22bkcs",desktop:"_1lg22bkct"},defaultClass:"_1lg22bkcr"},grayA7:{conditions:{mobile:"_1lg22bkcu",tablet:"_1lg22bkcv",desktop:"_1lg22bkcw"},defaultClass:"_1lg22bkcu"},grayA8:{conditions:{mobile:"_1lg22bkcx",tablet:"_1lg22bkcy",desktop:"_1lg22bkcz"},defaultClass:"_1lg22bkcx"},grayA9:{conditions:{mobile:"_1lg22bkd0",tablet:"_1lg22bkd1",desktop:"_1lg22bkd2"},defaultClass:"_1lg22bkd0"},grayA10:{conditions:{mobile:"_1lg22bkd3",tablet:"_1lg22bkd4",desktop:"_1lg22bkd5"},defaultClass:"_1lg22bkd3"},grayA11:{conditions:{mobile:"_1lg22bkd6",tablet:"_1lg22bkd7",desktop:"_1lg22bkd8"},defaultClass:"_1lg22bkd6"},grayA12:{conditions:{mobile:"_1lg22bkd9",tablet:"_1lg22bkda",desktop:"_1lg22bkdb"},defaultClass:"_1lg22bkd9"},grayContrast:{conditions:{mobile:"_1lg22bkdc",tablet:"_1lg22bkdd",desktop:"_1lg22bkde"},defaultClass:"_1lg22bkdc"},graySurface:{conditions:{mobile:"_1lg22bkdf",tablet:"_1lg22bkdg",desktop:"_1lg22bkdh"},defaultClass:"_1lg22bkdf"},grayIndicator:{conditions:{mobile:"_1lg22bkdi",tablet:"_1lg22bkdj",desktop:"_1lg22bkdk"},defaultClass:"_1lg22bkdi"},grayTrack:{conditions:{mobile:"_1lg22bkdl",tablet:"_1lg22bkdm",desktop:"_1lg22bkdn"},defaultClass:"_1lg22bkdl"},background:{conditions:{mobile:"_1lg22bkdo",tablet:"_1lg22bkdp",desktop:"_1lg22bkdq"},defaultClass:"_1lg22bkdo"}}},color:{values:{accent1:{conditions:{mobile:"_1lg22bkdr",tablet:"_1lg22bkds",desktop:"_1lg22bkdt"},defaultClass:"_1lg22bkdr"},accent2:{conditions:{mobile:"_1lg22bkdu",tablet:"_1lg22bkdv",desktop:"_1lg22bkdw"},defaultClass:"_1lg22bkdu"},accent3:{conditions:{mobile:"_1lg22bkdx",tablet:"_1lg22bkdy",desktop:"_1lg22bkdz"},defaultClass:"_1lg22bkdx"},accent4:{conditions:{mobile:"_1lg22bke0",tablet:"_1lg22bke1",desktop:"_1lg22bke2"},defaultClass:"_1lg22bke0"},accent5:{conditions:{mobile:"_1lg22bke3",tablet:"_1lg22bke4",desktop:"_1lg22bke5"},defaultClass:"_1lg22bke3"},accent6:{conditions:{mobile:"_1lg22bke6",tablet:"_1lg22bke7",desktop:"_1lg22bke8"},defaultClass:"_1lg22bke6"},accent7:{conditions:{mobile:"_1lg22bke9",tablet:"_1lg22bkea",desktop:"_1lg22bkeb"},defaultClass:"_1lg22bke9"},accent8:{conditions:{mobile:"_1lg22bkec",tablet:"_1lg22bked",desktop:"_1lg22bkee"},defaultClass:"_1lg22bkec"},accent9:{conditions:{mobile:"_1lg22bkef",tablet:"_1lg22bkeg",desktop:"_1lg22bkeh"},defaultClass:"_1lg22bkef"},accent10:{conditions:{mobile:"_1lg22bkei",tablet:"_1lg22bkej",desktop:"_1lg22bkek"},defaultClass:"_1lg22bkei"},accent11:{conditions:{mobile:"_1lg22bkel",tablet:"_1lg22bkem",desktop:"_1lg22bken"},defaultClass:"_1lg22bkel"},accent12:{conditions:{mobile:"_1lg22bkeo",tablet:"_1lg22bkep",desktop:"_1lg22bkeq"},defaultClass:"_1lg22bkeo"},accentA1:{conditions:{mobile:"_1lg22bker",tablet:"_1lg22bkes",desktop:"_1lg22bket"},defaultClass:"_1lg22bker"},accentA2:{conditions:{mobile:"_1lg22bkeu",tablet:"_1lg22bkev",desktop:"_1lg22bkew"},defaultClass:"_1lg22bkeu"},accentA3:{conditions:{mobile:"_1lg22bkex",tablet:"_1lg22bkey",desktop:"_1lg22bkez"},defaultClass:"_1lg22bkex"},accentA4:{conditions:{mobile:"_1lg22bkf0",tablet:"_1lg22bkf1",desktop:"_1lg22bkf2"},defaultClass:"_1lg22bkf0"},accentA5:{conditions:{mobile:"_1lg22bkf3",tablet:"_1lg22bkf4",desktop:"_1lg22bkf5"},defaultClass:"_1lg22bkf3"},accentA6:{conditions:{mobile:"_1lg22bkf6",tablet:"_1lg22bkf7",desktop:"_1lg22bkf8"},defaultClass:"_1lg22bkf6"},accentA7:{conditions:{mobile:"_1lg22bkf9",tablet:"_1lg22bkfa",desktop:"_1lg22bkfb"},defaultClass:"_1lg22bkf9"},accentA8:{conditions:{mobile:"_1lg22bkfc",tablet:"_1lg22bkfd",desktop:"_1lg22bkfe"},defaultClass:"_1lg22bkfc"},accentA9:{conditions:{mobile:"_1lg22bkff",tablet:"_1lg22bkfg",desktop:"_1lg22bkfh"},defaultClass:"_1lg22bkff"},accentA10:{conditions:{mobile:"_1lg22bkfi",tablet:"_1lg22bkfj",desktop:"_1lg22bkfk"},defaultClass:"_1lg22bkfi"},accentA11:{conditions:{mobile:"_1lg22bkfl",tablet:"_1lg22bkfm",desktop:"_1lg22bkfn"},defaultClass:"_1lg22bkfl"},accentA12:{conditions:{mobile:"_1lg22bkfo",tablet:"_1lg22bkfp",desktop:"_1lg22bkfq"},defaultClass:"_1lg22bkfo"},accentContrast:{conditions:{mobile:"_1lg22bkfr",tablet:"_1lg22bkfs",desktop:"_1lg22bkft"},defaultClass:"_1lg22bkfr"},accentSurface:{conditions:{mobile:"_1lg22bkfu",tablet:"_1lg22bkfv",desktop:"_1lg22bkfw"},defaultClass:"_1lg22bkfu"},accentIndicator:{conditions:{mobile:"_1lg22bkfx",tablet:"_1lg22bkfy",desktop:"_1lg22bkfz"},defaultClass:"_1lg22bkfx"},accentTrack:{conditions:{mobile:"_1lg22bkg0",tablet:"_1lg22bkg1",desktop:"_1lg22bkg2"},defaultClass:"_1lg22bkg0"},error1:{conditions:{mobile:"_1lg22bkg3",tablet:"_1lg22bkg4",desktop:"_1lg22bkg5"},defaultClass:"_1lg22bkg3"},error2:{conditions:{mobile:"_1lg22bkg6",tablet:"_1lg22bkg7",desktop:"_1lg22bkg8"},defaultClass:"_1lg22bkg6"},error3:{conditions:{mobile:"_1lg22bkg9",tablet:"_1lg22bkga",desktop:"_1lg22bkgb"},defaultClass:"_1lg22bkg9"},error4:{conditions:{mobile:"_1lg22bkgc",tablet:"_1lg22bkgd",desktop:"_1lg22bkge"},defaultClass:"_1lg22bkgc"},error5:{conditions:{mobile:"_1lg22bkgf",tablet:"_1lg22bkgg",desktop:"_1lg22bkgh"},defaultClass:"_1lg22bkgf"},error6:{conditions:{mobile:"_1lg22bkgi",tablet:"_1lg22bkgj",desktop:"_1lg22bkgk"},defaultClass:"_1lg22bkgi"},error7:{conditions:{mobile:"_1lg22bkgl",tablet:"_1lg22bkgm",desktop:"_1lg22bkgn"},defaultClass:"_1lg22bkgl"},error8:{conditions:{mobile:"_1lg22bkgo",tablet:"_1lg22bkgp",desktop:"_1lg22bkgq"},defaultClass:"_1lg22bkgo"},error9:{conditions:{mobile:"_1lg22bkgr",tablet:"_1lg22bkgs",desktop:"_1lg22bkgt"},defaultClass:"_1lg22bkgr"},error10:{conditions:{mobile:"_1lg22bkgu",tablet:"_1lg22bkgv",desktop:"_1lg22bkgw"},defaultClass:"_1lg22bkgu"},error11:{conditions:{mobile:"_1lg22bkgx",tablet:"_1lg22bkgy",desktop:"_1lg22bkgz"},defaultClass:"_1lg22bkgx"},error12:{conditions:{mobile:"_1lg22bkh0",tablet:"_1lg22bkh1",desktop:"_1lg22bkh2"},defaultClass:"_1lg22bkh0"},errorA1:{conditions:{mobile:"_1lg22bkh3",tablet:"_1lg22bkh4",desktop:"_1lg22bkh5"},defaultClass:"_1lg22bkh3"},errorA2:{conditions:{mobile:"_1lg22bkh6",tablet:"_1lg22bkh7",desktop:"_1lg22bkh8"},defaultClass:"_1lg22bkh6"},errorA3:{conditions:{mobile:"_1lg22bkh9",tablet:"_1lg22bkha",desktop:"_1lg22bkhb"},defaultClass:"_1lg22bkh9"},errorA4:{conditions:{mobile:"_1lg22bkhc",tablet:"_1lg22bkhd",desktop:"_1lg22bkhe"},defaultClass:"_1lg22bkhc"},errorA5:{conditions:{mobile:"_1lg22bkhf",tablet:"_1lg22bkhg",desktop:"_1lg22bkhh"},defaultClass:"_1lg22bkhf"},errorA6:{conditions:{mobile:"_1lg22bkhi",tablet:"_1lg22bkhj",desktop:"_1lg22bkhk"},defaultClass:"_1lg22bkhi"},errorA7:{conditions:{mobile:"_1lg22bkhl",tablet:"_1lg22bkhm",desktop:"_1lg22bkhn"},defaultClass:"_1lg22bkhl"},errorA8:{conditions:{mobile:"_1lg22bkho",tablet:"_1lg22bkhp",desktop:"_1lg22bkhq"},defaultClass:"_1lg22bkho"},errorA9:{conditions:{mobile:"_1lg22bkhr",tablet:"_1lg22bkhs",desktop:"_1lg22bkht"},defaultClass:"_1lg22bkhr"},errorA10:{conditions:{mobile:"_1lg22bkhu",tablet:"_1lg22bkhv",desktop:"_1lg22bkhw"},defaultClass:"_1lg22bkhu"},errorA11:{conditions:{mobile:"_1lg22bkhx",tablet:"_1lg22bkhy",desktop:"_1lg22bkhz"},defaultClass:"_1lg22bkhx"},errorA12:{conditions:{mobile:"_1lg22bki0",tablet:"_1lg22bki1",desktop:"_1lg22bki2"},defaultClass:"_1lg22bki0"},errorContrast:{conditions:{mobile:"_1lg22bki3",tablet:"_1lg22bki4",desktop:"_1lg22bki5"},defaultClass:"_1lg22bki3"},errorSurface:{conditions:{mobile:"_1lg22bki6",tablet:"_1lg22bki7",desktop:"_1lg22bki8"},defaultClass:"_1lg22bki6"},errorIndicator:{conditions:{mobile:"_1lg22bki9",tablet:"_1lg22bkia",desktop:"_1lg22bkib"},defaultClass:"_1lg22bki9"},errorTrack:{conditions:{mobile:"_1lg22bkic",tablet:"_1lg22bkid",desktop:"_1lg22bkie"},defaultClass:"_1lg22bkic"},gray1:{conditions:{mobile:"_1lg22bkif",tablet:"_1lg22bkig",desktop:"_1lg22bkih"},defaultClass:"_1lg22bkif"},gray2:{conditions:{mobile:"_1lg22bkii",tablet:"_1lg22bkij",desktop:"_1lg22bkik"},defaultClass:"_1lg22bkii"},gray3:{conditions:{mobile:"_1lg22bkil",tablet:"_1lg22bkim",desktop:"_1lg22bkin"},defaultClass:"_1lg22bkil"},gray4:{conditions:{mobile:"_1lg22bkio",tablet:"_1lg22bkip",desktop:"_1lg22bkiq"},defaultClass:"_1lg22bkio"},gray5:{conditions:{mobile:"_1lg22bkir",tablet:"_1lg22bkis",desktop:"_1lg22bkit"},defaultClass:"_1lg22bkir"},gray6:{conditions:{mobile:"_1lg22bkiu",tablet:"_1lg22bkiv",desktop:"_1lg22bkiw"},defaultClass:"_1lg22bkiu"},gray7:{conditions:{mobile:"_1lg22bkix",tablet:"_1lg22bkiy",desktop:"_1lg22bkiz"},defaultClass:"_1lg22bkix"},gray8:{conditions:{mobile:"_1lg22bkj0",tablet:"_1lg22bkj1",desktop:"_1lg22bkj2"},defaultClass:"_1lg22bkj0"},gray9:{conditions:{mobile:"_1lg22bkj3",tablet:"_1lg22bkj4",desktop:"_1lg22bkj5"},defaultClass:"_1lg22bkj3"},gray10:{conditions:{mobile:"_1lg22bkj6",tablet:"_1lg22bkj7",desktop:"_1lg22bkj8"},defaultClass:"_1lg22bkj6"},gray11:{conditions:{mobile:"_1lg22bkj9",tablet:"_1lg22bkja",desktop:"_1lg22bkjb"},defaultClass:"_1lg22bkj9"},gray12:{conditions:{mobile:"_1lg22bkjc",tablet:"_1lg22bkjd",desktop:"_1lg22bkje"},defaultClass:"_1lg22bkjc"},grayA1:{conditions:{mobile:"_1lg22bkjf",tablet:"_1lg22bkjg",desktop:"_1lg22bkjh"},defaultClass:"_1lg22bkjf"},grayA2:{conditions:{mobile:"_1lg22bkji",tablet:"_1lg22bkjj",desktop:"_1lg22bkjk"},defaultClass:"_1lg22bkji"},grayA3:{conditions:{mobile:"_1lg22bkjl",tablet:"_1lg22bkjm",desktop:"_1lg22bkjn"},defaultClass:"_1lg22bkjl"},grayA4:{conditions:{mobile:"_1lg22bkjo",tablet:"_1lg22bkjp",desktop:"_1lg22bkjq"},defaultClass:"_1lg22bkjo"},grayA5:{conditions:{mobile:"_1lg22bkjr",tablet:"_1lg22bkjs",desktop:"_1lg22bkjt"},defaultClass:"_1lg22bkjr"},grayA6:{conditions:{mobile:"_1lg22bkju",tablet:"_1lg22bkjv",desktop:"_1lg22bkjw"},defaultClass:"_1lg22bkju"},grayA7:{conditions:{mobile:"_1lg22bkjx",tablet:"_1lg22bkjy",desktop:"_1lg22bkjz"},defaultClass:"_1lg22bkjx"},grayA8:{conditions:{mobile:"_1lg22bkk0",tablet:"_1lg22bkk1",desktop:"_1lg22bkk2"},defaultClass:"_1lg22bkk0"},grayA9:{conditions:{mobile:"_1lg22bkk3",tablet:"_1lg22bkk4",desktop:"_1lg22bkk5"},defaultClass:"_1lg22bkk3"},grayA10:{conditions:{mobile:"_1lg22bkk6",tablet:"_1lg22bkk7",desktop:"_1lg22bkk8"},defaultClass:"_1lg22bkk6"},grayA11:{conditions:{mobile:"_1lg22bkk9",tablet:"_1lg22bkka",desktop:"_1lg22bkkb"},defaultClass:"_1lg22bkk9"},grayA12:{conditions:{mobile:"_1lg22bkkc",tablet:"_1lg22bkkd",desktop:"_1lg22bkke"},defaultClass:"_1lg22bkkc"},grayContrast:{conditions:{mobile:"_1lg22bkkf",tablet:"_1lg22bkkg",desktop:"_1lg22bkkh"},defaultClass:"_1lg22bkkf"},graySurface:{conditions:{mobile:"_1lg22bkki",tablet:"_1lg22bkkj",desktop:"_1lg22bkkk"},defaultClass:"_1lg22bkki"},grayIndicator:{conditions:{mobile:"_1lg22bkkl",tablet:"_1lg22bkkm",desktop:"_1lg22bkkn"},defaultClass:"_1lg22bkkl"},grayTrack:{conditions:{mobile:"_1lg22bkko",tablet:"_1lg22bkkp",desktop:"_1lg22bkkq"},defaultClass:"_1lg22bkko"},background:{conditions:{mobile:"_1lg22bkkr",tablet:"_1lg22bkks",desktop:"_1lg22bkkt"},defaultClass:"_1lg22bkkr"}}},borderColor:{values:{accent1:{conditions:{mobile:"_1lg22bkku",tablet:"_1lg22bkkv",desktop:"_1lg22bkkw"},defaultClass:"_1lg22bkku"},accent2:{conditions:{mobile:"_1lg22bkkx",tablet:"_1lg22bkky",desktop:"_1lg22bkkz"},defaultClass:"_1lg22bkkx"},accent3:{conditions:{mobile:"_1lg22bkl0",tablet:"_1lg22bkl1",desktop:"_1lg22bkl2"},defaultClass:"_1lg22bkl0"},accent4:{conditions:{mobile:"_1lg22bkl3",tablet:"_1lg22bkl4",desktop:"_1lg22bkl5"},defaultClass:"_1lg22bkl3"},accent5:{conditions:{mobile:"_1lg22bkl6",tablet:"_1lg22bkl7",desktop:"_1lg22bkl8"},defaultClass:"_1lg22bkl6"},accent6:{conditions:{mobile:"_1lg22bkl9",tablet:"_1lg22bkla",desktop:"_1lg22bklb"},defaultClass:"_1lg22bkl9"},accent7:{conditions:{mobile:"_1lg22bklc",tablet:"_1lg22bkld",desktop:"_1lg22bkle"},defaultClass:"_1lg22bklc"},accent8:{conditions:{mobile:"_1lg22bklf",tablet:"_1lg22bklg",desktop:"_1lg22bklh"},defaultClass:"_1lg22bklf"},accent9:{conditions:{mobile:"_1lg22bkli",tablet:"_1lg22bklj",desktop:"_1lg22bklk"},defaultClass:"_1lg22bkli"},accent10:{conditions:{mobile:"_1lg22bkll",tablet:"_1lg22bklm",desktop:"_1lg22bkln"},defaultClass:"_1lg22bkll"},accent11:{conditions:{mobile:"_1lg22bklo",tablet:"_1lg22bklp",desktop:"_1lg22bklq"},defaultClass:"_1lg22bklo"},accent12:{conditions:{mobile:"_1lg22bklr",tablet:"_1lg22bkls",desktop:"_1lg22bklt"},defaultClass:"_1lg22bklr"},accentA1:{conditions:{mobile:"_1lg22bklu",tablet:"_1lg22bklv",desktop:"_1lg22bklw"},defaultClass:"_1lg22bklu"},accentA2:{conditions:{mobile:"_1lg22bklx",tablet:"_1lg22bkly",desktop:"_1lg22bklz"},defaultClass:"_1lg22bklx"},accentA3:{conditions:{mobile:"_1lg22bkm0",tablet:"_1lg22bkm1",desktop:"_1lg22bkm2"},defaultClass:"_1lg22bkm0"},accentA4:{conditions:{mobile:"_1lg22bkm3",tablet:"_1lg22bkm4",desktop:"_1lg22bkm5"},defaultClass:"_1lg22bkm3"},accentA5:{conditions:{mobile:"_1lg22bkm6",tablet:"_1lg22bkm7",desktop:"_1lg22bkm8"},defaultClass:"_1lg22bkm6"},accentA6:{conditions:{mobile:"_1lg22bkm9",tablet:"_1lg22bkma",desktop:"_1lg22bkmb"},defaultClass:"_1lg22bkm9"},accentA7:{conditions:{mobile:"_1lg22bkmc",tablet:"_1lg22bkmd",desktop:"_1lg22bkme"},defaultClass:"_1lg22bkmc"},accentA8:{conditions:{mobile:"_1lg22bkmf",tablet:"_1lg22bkmg",desktop:"_1lg22bkmh"},defaultClass:"_1lg22bkmf"},accentA9:{conditions:{mobile:"_1lg22bkmi",tablet:"_1lg22bkmj",desktop:"_1lg22bkmk"},defaultClass:"_1lg22bkmi"},accentA10:{conditions:{mobile:"_1lg22bkml",tablet:"_1lg22bkmm",desktop:"_1lg22bkmn"},defaultClass:"_1lg22bkml"},accentA11:{conditions:{mobile:"_1lg22bkmo",tablet:"_1lg22bkmp",desktop:"_1lg22bkmq"},defaultClass:"_1lg22bkmo"},accentA12:{conditions:{mobile:"_1lg22bkmr",tablet:"_1lg22bkms",desktop:"_1lg22bkmt"},defaultClass:"_1lg22bkmr"},accentContrast:{conditions:{mobile:"_1lg22bkmu",tablet:"_1lg22bkmv",desktop:"_1lg22bkmw"},defaultClass:"_1lg22bkmu"},accentSurface:{conditions:{mobile:"_1lg22bkmx",tablet:"_1lg22bkmy",desktop:"_1lg22bkmz"},defaultClass:"_1lg22bkmx"},accentIndicator:{conditions:{mobile:"_1lg22bkn0",tablet:"_1lg22bkn1",desktop:"_1lg22bkn2"},defaultClass:"_1lg22bkn0"},accentTrack:{conditions:{mobile:"_1lg22bkn3",tablet:"_1lg22bkn4",desktop:"_1lg22bkn5"},defaultClass:"_1lg22bkn3"},error1:{conditions:{mobile:"_1lg22bkn6",tablet:"_1lg22bkn7",desktop:"_1lg22bkn8"},defaultClass:"_1lg22bkn6"},error2:{conditions:{mobile:"_1lg22bkn9",tablet:"_1lg22bkna",desktop:"_1lg22bknb"},defaultClass:"_1lg22bkn9"},error3:{conditions:{mobile:"_1lg22bknc",tablet:"_1lg22bknd",desktop:"_1lg22bkne"},defaultClass:"_1lg22bknc"},error4:{conditions:{mobile:"_1lg22bknf",tablet:"_1lg22bkng",desktop:"_1lg22bknh"},defaultClass:"_1lg22bknf"},error5:{conditions:{mobile:"_1lg22bkni",tablet:"_1lg22bknj",desktop:"_1lg22bknk"},defaultClass:"_1lg22bkni"},error6:{conditions:{mobile:"_1lg22bknl",tablet:"_1lg22bknm",desktop:"_1lg22bknn"},defaultClass:"_1lg22bknl"},error7:{conditions:{mobile:"_1lg22bkno",tablet:"_1lg22bknp",desktop:"_1lg22bknq"},defaultClass:"_1lg22bkno"},error8:{conditions:{mobile:"_1lg22bknr",tablet:"_1lg22bkns",desktop:"_1lg22bknt"},defaultClass:"_1lg22bknr"},error9:{conditions:{mobile:"_1lg22bknu",tablet:"_1lg22bknv",desktop:"_1lg22bknw"},defaultClass:"_1lg22bknu"},error10:{conditions:{mobile:"_1lg22bknx",tablet:"_1lg22bkny",desktop:"_1lg22bknz"},defaultClass:"_1lg22bknx"},error11:{conditions:{mobile:"_1lg22bko0",tablet:"_1lg22bko1",desktop:"_1lg22bko2"},defaultClass:"_1lg22bko0"},error12:{conditions:{mobile:"_1lg22bko3",tablet:"_1lg22bko4",desktop:"_1lg22bko5"},defaultClass:"_1lg22bko3"},errorA1:{conditions:{mobile:"_1lg22bko6",tablet:"_1lg22bko7",desktop:"_1lg22bko8"},defaultClass:"_1lg22bko6"},errorA2:{conditions:{mobile:"_1lg22bko9",tablet:"_1lg22bkoa",desktop:"_1lg22bkob"},defaultClass:"_1lg22bko9"},errorA3:{conditions:{mobile:"_1lg22bkoc",tablet:"_1lg22bkod",desktop:"_1lg22bkoe"},defaultClass:"_1lg22bkoc"},errorA4:{conditions:{mobile:"_1lg22bkof",tablet:"_1lg22bkog",desktop:"_1lg22bkoh"},defaultClass:"_1lg22bkof"},errorA5:{conditions:{mobile:"_1lg22bkoi",tablet:"_1lg22bkoj",desktop:"_1lg22bkok"},defaultClass:"_1lg22bkoi"},errorA6:{conditions:{mobile:"_1lg22bkol",tablet:"_1lg22bkom",desktop:"_1lg22bkon"},defaultClass:"_1lg22bkol"},errorA7:{conditions:{mobile:"_1lg22bkoo",tablet:"_1lg22bkop",desktop:"_1lg22bkoq"},defaultClass:"_1lg22bkoo"},errorA8:{conditions:{mobile:"_1lg22bkor",tablet:"_1lg22bkos",desktop:"_1lg22bkot"},defaultClass:"_1lg22bkor"},errorA9:{conditions:{mobile:"_1lg22bkou",tablet:"_1lg22bkov",desktop:"_1lg22bkow"},defaultClass:"_1lg22bkou"},errorA10:{conditions:{mobile:"_1lg22bkox",tablet:"_1lg22bkoy",desktop:"_1lg22bkoz"},defaultClass:"_1lg22bkox"},errorA11:{conditions:{mobile:"_1lg22bkp0",tablet:"_1lg22bkp1",desktop:"_1lg22bkp2"},defaultClass:"_1lg22bkp0"},errorA12:{conditions:{mobile:"_1lg22bkp3",tablet:"_1lg22bkp4",desktop:"_1lg22bkp5"},defaultClass:"_1lg22bkp3"},errorContrast:{conditions:{mobile:"_1lg22bkp6",tablet:"_1lg22bkp7",desktop:"_1lg22bkp8"},defaultClass:"_1lg22bkp6"},errorSurface:{conditions:{mobile:"_1lg22bkp9",tablet:"_1lg22bkpa",desktop:"_1lg22bkpb"},defaultClass:"_1lg22bkp9"},errorIndicator:{conditions:{mobile:"_1lg22bkpc",tablet:"_1lg22bkpd",desktop:"_1lg22bkpe"},defaultClass:"_1lg22bkpc"},errorTrack:{conditions:{mobile:"_1lg22bkpf",tablet:"_1lg22bkpg",desktop:"_1lg22bkph"},defaultClass:"_1lg22bkpf"},gray1:{conditions:{mobile:"_1lg22bkpi",tablet:"_1lg22bkpj",desktop:"_1lg22bkpk"},defaultClass:"_1lg22bkpi"},gray2:{conditions:{mobile:"_1lg22bkpl",tablet:"_1lg22bkpm",desktop:"_1lg22bkpn"},defaultClass:"_1lg22bkpl"},gray3:{conditions:{mobile:"_1lg22bkpo",tablet:"_1lg22bkpp",desktop:"_1lg22bkpq"},defaultClass:"_1lg22bkpo"},gray4:{conditions:{mobile:"_1lg22bkpr",tablet:"_1lg22bkps",desktop:"_1lg22bkpt"},defaultClass:"_1lg22bkpr"},gray5:{conditions:{mobile:"_1lg22bkpu",tablet:"_1lg22bkpv",desktop:"_1lg22bkpw"},defaultClass:"_1lg22bkpu"},gray6:{conditions:{mobile:"_1lg22bkpx",tablet:"_1lg22bkpy",desktop:"_1lg22bkpz"},defaultClass:"_1lg22bkpx"},gray7:{conditions:{mobile:"_1lg22bkq0",tablet:"_1lg22bkq1",desktop:"_1lg22bkq2"},defaultClass:"_1lg22bkq0"},gray8:{conditions:{mobile:"_1lg22bkq3",tablet:"_1lg22bkq4",desktop:"_1lg22bkq5"},defaultClass:"_1lg22bkq3"},gray9:{conditions:{mobile:"_1lg22bkq6",tablet:"_1lg22bkq7",desktop:"_1lg22bkq8"},defaultClass:"_1lg22bkq6"},gray10:{conditions:{mobile:"_1lg22bkq9",tablet:"_1lg22bkqa",desktop:"_1lg22bkqb"},defaultClass:"_1lg22bkq9"},gray11:{conditions:{mobile:"_1lg22bkqc",tablet:"_1lg22bkqd",desktop:"_1lg22bkqe"},defaultClass:"_1lg22bkqc"},gray12:{conditions:{mobile:"_1lg22bkqf",tablet:"_1lg22bkqg",desktop:"_1lg22bkqh"},defaultClass:"_1lg22bkqf"},grayA1:{conditions:{mobile:"_1lg22bkqi",tablet:"_1lg22bkqj",desktop:"_1lg22bkqk"},defaultClass:"_1lg22bkqi"},grayA2:{conditions:{mobile:"_1lg22bkql",tablet:"_1lg22bkqm",desktop:"_1lg22bkqn"},defaultClass:"_1lg22bkql"},grayA3:{conditions:{mobile:"_1lg22bkqo",tablet:"_1lg22bkqp",desktop:"_1lg22bkqq"},defaultClass:"_1lg22bkqo"},grayA4:{conditions:{mobile:"_1lg22bkqr",tablet:"_1lg22bkqs",desktop:"_1lg22bkqt"},defaultClass:"_1lg22bkqr"},grayA5:{conditions:{mobile:"_1lg22bkqu",tablet:"_1lg22bkqv",desktop:"_1lg22bkqw"},defaultClass:"_1lg22bkqu"},grayA6:{conditions:{mobile:"_1lg22bkqx",tablet:"_1lg22bkqy",desktop:"_1lg22bkqz"},defaultClass:"_1lg22bkqx"},grayA7:{conditions:{mobile:"_1lg22bkr0",tablet:"_1lg22bkr1",desktop:"_1lg22bkr2"},defaultClass:"_1lg22bkr0"},grayA8:{conditions:{mobile:"_1lg22bkr3",tablet:"_1lg22bkr4",desktop:"_1lg22bkr5"},defaultClass:"_1lg22bkr3"},grayA9:{conditions:{mobile:"_1lg22bkr6",tablet:"_1lg22bkr7",desktop:"_1lg22bkr8"},defaultClass:"_1lg22bkr6"},grayA10:{conditions:{mobile:"_1lg22bkr9",tablet:"_1lg22bkra",desktop:"_1lg22bkrb"},defaultClass:"_1lg22bkr9"},grayA11:{conditions:{mobile:"_1lg22bkrc",tablet:"_1lg22bkrd",desktop:"_1lg22bkre"},defaultClass:"_1lg22bkrc"},grayA12:{conditions:{mobile:"_1lg22bkrf",tablet:"_1lg22bkrg",desktop:"_1lg22bkrh"},defaultClass:"_1lg22bkrf"},grayContrast:{conditions:{mobile:"_1lg22bkri",tablet:"_1lg22bkrj",desktop:"_1lg22bkrk"},defaultClass:"_1lg22bkri"},graySurface:{conditions:{mobile:"_1lg22bkrl",tablet:"_1lg22bkrm",desktop:"_1lg22bkrn"},defaultClass:"_1lg22bkrl"},grayIndicator:{conditions:{mobile:"_1lg22bkro",tablet:"_1lg22bkrp",desktop:"_1lg22bkrq"},defaultClass:"_1lg22bkro"},grayTrack:{conditions:{mobile:"_1lg22bkrr",tablet:"_1lg22bkrs",desktop:"_1lg22bkrt"},defaultClass:"_1lg22bkrr"},background:{conditions:{mobile:"_1lg22bkru",tablet:"_1lg22bkrv",desktop:"_1lg22bkrw"},defaultClass:"_1lg22bkru"}}},display:{values:{none:{conditions:{mobile:"_1lg22bkrx",tablet:"_1lg22bkry",desktop:"_1lg22bkrz"},defaultClass:"_1lg22bkrx"},flex:{conditions:{mobile:"_1lg22bks0",tablet:"_1lg22bks1",desktop:"_1lg22bks2"},defaultClass:"_1lg22bks0"},block:{conditions:{mobile:"_1lg22bks3",tablet:"_1lg22bks4",desktop:"_1lg22bks5"},defaultClass:"_1lg22bks3"},inline:{conditions:{mobile:"_1lg22bks6",tablet:"_1lg22bks7",desktop:"_1lg22bks8"},defaultClass:"_1lg22bks6"},"inline-block":{conditions:{mobile:"_1lg22bks9",tablet:"_1lg22bksa",desktop:"_1lg22bksb"},defaultClass:"_1lg22bks9"},grid:{conditions:{mobile:"_1lg22bksc",tablet:"_1lg22bksd",desktop:"_1lg22bkse"},defaultClass:"_1lg22bksc"}}},flexDirection:{values:{row:{conditions:{mobile:"_1lg22bksf",tablet:"_1lg22bksg",desktop:"_1lg22bksh"},defaultClass:"_1lg22bksf"},column:{conditions:{mobile:"_1lg22bksi",tablet:"_1lg22bksj",desktop:"_1lg22bksk"},defaultClass:"_1lg22bksi"},"row-reverse":{conditions:{mobile:"_1lg22bksl",tablet:"_1lg22bksm",desktop:"_1lg22bksn"},defaultClass:"_1lg22bksl"},"column-reverse":{conditions:{mobile:"_1lg22bkso",tablet:"_1lg22bksp",desktop:"_1lg22bksq"},defaultClass:"_1lg22bkso"}}},justifyContent:{values:{stretch:{conditions:{mobile:"_1lg22bksr",tablet:"_1lg22bkss",desktop:"_1lg22bkst"},defaultClass:"_1lg22bksr"},"flex-start":{conditions:{mobile:"_1lg22bksu",tablet:"_1lg22bksv",desktop:"_1lg22bksw"},defaultClass:"_1lg22bksu"},center:{conditions:{mobile:"_1lg22bksx",tablet:"_1lg22bksy",desktop:"_1lg22bksz"},defaultClass:"_1lg22bksx"},"flex-end":{conditions:{mobile:"_1lg22bkt0",tablet:"_1lg22bkt1",desktop:"_1lg22bkt2"},defaultClass:"_1lg22bkt0"},"space-around":{conditions:{mobile:"_1lg22bkt3",tablet:"_1lg22bkt4",desktop:"_1lg22bkt5"},defaultClass:"_1lg22bkt3"},"space-between":{conditions:{mobile:"_1lg22bkt6",tablet:"_1lg22bkt7",desktop:"_1lg22bkt8"},defaultClass:"_1lg22bkt6"}}},alignItems:{values:{stretch:{conditions:{mobile:"_1lg22bkt9",tablet:"_1lg22bkta",desktop:"_1lg22bktb"},defaultClass:"_1lg22bkt9"},"flex-start":{conditions:{mobile:"_1lg22bktc",tablet:"_1lg22bktd",desktop:"_1lg22bkte"},defaultClass:"_1lg22bktc"},center:{conditions:{mobile:"_1lg22bktf",tablet:"_1lg22bktg",desktop:"_1lg22bkth"},defaultClass:"_1lg22bktf"},"flex-end":{conditions:{mobile:"_1lg22bkti",tablet:"_1lg22bktj",desktop:"_1lg22bktk"},defaultClass:"_1lg22bkti"}}},gap:{values:{none:{conditions:{mobile:"_1lg22bktl",tablet:"_1lg22bktm",desktop:"_1lg22bktn"},defaultClass:"_1lg22bktl"},xs:{conditions:{mobile:"_1lg22bkto",tablet:"_1lg22bktp",desktop:"_1lg22bktq"},defaultClass:"_1lg22bkto"},sm:{conditions:{mobile:"_1lg22bktr",tablet:"_1lg22bkts",desktop:"_1lg22bktt"},defaultClass:"_1lg22bktr"},md:{conditions:{mobile:"_1lg22bktu",tablet:"_1lg22bktv",desktop:"_1lg22bktw"},defaultClass:"_1lg22bktu"},lg:{conditions:{mobile:"_1lg22bktx",tablet:"_1lg22bkty",desktop:"_1lg22bktz"},defaultClass:"_1lg22bktx"},xl:{conditions:{mobile:"_1lg22bku0",tablet:"_1lg22bku1",desktop:"_1lg22bku2"},defaultClass:"_1lg22bku0"},"2xl":{conditions:{mobile:"_1lg22bku3",tablet:"_1lg22bku4",desktop:"_1lg22bku5"},defaultClass:"_1lg22bku3"},"3xl":{conditions:{mobile:"_1lg22bku6",tablet:"_1lg22bku7",desktop:"_1lg22bku8"},defaultClass:"_1lg22bku6"}}},borderRadius:{values:{none:{conditions:{mobile:"_1lg22bku9",tablet:"_1lg22bkua",desktop:"_1lg22bkub"},defaultClass:"_1lg22bku9"},xs:{conditions:{mobile:"_1lg22bkuc",tablet:"_1lg22bkud",desktop:"_1lg22bkue"},defaultClass:"_1lg22bkuc"},sm:{conditions:{mobile:"_1lg22bkuf",tablet:"_1lg22bkug",desktop:"_1lg22bkuh"},defaultClass:"_1lg22bkuf"},md:{conditions:{mobile:"_1lg22bkui",tablet:"_1lg22bkuj",desktop:"_1lg22bkuk"},defaultClass:"_1lg22bkui"},lg:{conditions:{mobile:"_1lg22bkul",tablet:"_1lg22bkum",desktop:"_1lg22bkun"},defaultClass:"_1lg22bkul"},xl:{conditions:{mobile:"_1lg22bkuo",tablet:"_1lg22bkup",desktop:"_1lg22bkuq"},defaultClass:"_1lg22bkuo"},"2xl":{conditions:{mobile:"_1lg22bkur",tablet:"_1lg22bkus",desktop:"_1lg22bkut"},defaultClass:"_1lg22bkur"},"3xl":{conditions:{mobile:"_1lg22bkuu",tablet:"_1lg22bkuv",desktop:"_1lg22bkuw"},defaultClass:"_1lg22bkuu"}}},fontSize:{values:{xs:{conditions:{mobile:"_1lg22bkux",tablet:"_1lg22bkuy",desktop:"_1lg22bkuz"},defaultClass:"_1lg22bkux"},sm:{conditions:{mobile:"_1lg22bkv0",tablet:"_1lg22bkv1",desktop:"_1lg22bkv2"},defaultClass:"_1lg22bkv0"},base:{conditions:{mobile:"_1lg22bkv3",tablet:"_1lg22bkv4",desktop:"_1lg22bkv5"},defaultClass:"_1lg22bkv3"},lg:{conditions:{mobile:"_1lg22bkv6",tablet:"_1lg22bkv7",desktop:"_1lg22bkv8"},defaultClass:"_1lg22bkv6"},xl:{conditions:{mobile:"_1lg22bkv9",tablet:"_1lg22bkva",desktop:"_1lg22bkvb"},defaultClass:"_1lg22bkv9"},"2xl":{conditions:{mobile:"_1lg22bkvc",tablet:"_1lg22bkvd",desktop:"_1lg22bkve"},defaultClass:"_1lg22bkvc"},"3xl":{conditions:{mobile:"_1lg22bkvf",tablet:"_1lg22bkvg",desktop:"_1lg22bkvh"},defaultClass:"_1lg22bkvf"},"4xl":{conditions:{mobile:"_1lg22bkvi",tablet:"_1lg22bkvj",desktop:"_1lg22bkvk"},defaultClass:"_1lg22bkvi"}}},fontWeight:{values:{normal:{conditions:{mobile:"_1lg22bkvl",tablet:"_1lg22bkvm",desktop:"_1lg22bkvn"},defaultClass:"_1lg22bkvl"},medium:{conditions:{mobile:"_1lg22bkvo",tablet:"_1lg22bkvp",desktop:"_1lg22bkvq"},defaultClass:"_1lg22bkvo"},semibold:{conditions:{mobile:"_1lg22bkvr",tablet:"_1lg22bkvs",desktop:"_1lg22bkvt"},defaultClass:"_1lg22bkvr"},bold:{conditions:{mobile:"_1lg22bkvu",tablet:"_1lg22bkvv",desktop:"_1lg22bkvw"},defaultClass:"_1lg22bkvu"}}},fontFamily:{values:{sans:{conditions:{mobile:"_1lg22bkvx",tablet:"_1lg22bkvy",desktop:"_1lg22bkvz"},defaultClass:"_1lg22bkvx"},mono:{conditions:{mobile:"_1lg22bkw0",tablet:"_1lg22bkw1",desktop:"_1lg22bkw2"},defaultClass:"_1lg22bkw0"}}},textAlign:{values:{left:{conditions:{mobile:"_1lg22bkw3",tablet:"_1lg22bkw4",desktop:"_1lg22bkw5"},defaultClass:"_1lg22bkw3"},center:{conditions:{mobile:"_1lg22bkw6",tablet:"_1lg22bkw7",desktop:"_1lg22bkw8"},defaultClass:"_1lg22bkw6"},right:{conditions:{mobile:"_1lg22bkw9",tablet:"_1lg22bkwa",desktop:"_1lg22bkwb"},defaultClass:"_1lg22bkw9"}}},position:{values:{static:{conditions:{mobile:"_1lg22bkwc",tablet:"_1lg22bkwd",desktop:"_1lg22bkwe"},defaultClass:"_1lg22bkwc"},relative:{conditions:{mobile:"_1lg22bkwf",tablet:"_1lg22bkwg",desktop:"_1lg22bkwh"},defaultClass:"_1lg22bkwf"},absolute:{conditions:{mobile:"_1lg22bkwi",tablet:"_1lg22bkwj",desktop:"_1lg22bkwk"},defaultClass:"_1lg22bkwi"},fixed:{conditions:{mobile:"_1lg22bkwl",tablet:"_1lg22bkwm",desktop:"_1lg22bkwn"},defaultClass:"_1lg22bkwl"},sticky:{conditions:{mobile:"_1lg22bkwo",tablet:"_1lg22bkwp",desktop:"_1lg22bkwq"},defaultClass:"_1lg22bkwo"}}},top:{values:{none:{conditions:{mobile:"_1lg22bkwr",tablet:"_1lg22bkws",desktop:"_1lg22bkwt"},defaultClass:"_1lg22bkwr"},xs:{conditions:{mobile:"_1lg22bkwu",tablet:"_1lg22bkwv",desktop:"_1lg22bkww"},defaultClass:"_1lg22bkwu"},sm:{conditions:{mobile:"_1lg22bkwx",tablet:"_1lg22bkwy",desktop:"_1lg22bkwz"},defaultClass:"_1lg22bkwx"},md:{conditions:{mobile:"_1lg22bkx0",tablet:"_1lg22bkx1",desktop:"_1lg22bkx2"},defaultClass:"_1lg22bkx0"},lg:{conditions:{mobile:"_1lg22bkx3",tablet:"_1lg22bkx4",desktop:"_1lg22bkx5"},defaultClass:"_1lg22bkx3"},xl:{conditions:{mobile:"_1lg22bkx6",tablet:"_1lg22bkx7",desktop:"_1lg22bkx8"},defaultClass:"_1lg22bkx6"},"2xl":{conditions:{mobile:"_1lg22bkx9",tablet:"_1lg22bkxa",desktop:"_1lg22bkxb"},defaultClass:"_1lg22bkx9"},"3xl":{conditions:{mobile:"_1lg22bkxc",tablet:"_1lg22bkxd",desktop:"_1lg22bkxe"},defaultClass:"_1lg22bkxc"}}},bottom:{values:{none:{conditions:{mobile:"_1lg22bkxf",tablet:"_1lg22bkxg",desktop:"_1lg22bkxh"},defaultClass:"_1lg22bkxf"},xs:{conditions:{mobile:"_1lg22bkxi",tablet:"_1lg22bkxj",desktop:"_1lg22bkxk"},defaultClass:"_1lg22bkxi"},sm:{conditions:{mobile:"_1lg22bkxl",tablet:"_1lg22bkxm",desktop:"_1lg22bkxn"},defaultClass:"_1lg22bkxl"},md:{conditions:{mobile:"_1lg22bkxo",tablet:"_1lg22bkxp",desktop:"_1lg22bkxq"},defaultClass:"_1lg22bkxo"},lg:{conditions:{mobile:"_1lg22bkxr",tablet:"_1lg22bkxs",desktop:"_1lg22bkxt"},defaultClass:"_1lg22bkxr"},xl:{conditions:{mobile:"_1lg22bkxu",tablet:"_1lg22bkxv",desktop:"_1lg22bkxw"},defaultClass:"_1lg22bkxu"},"2xl":{conditions:{mobile:"_1lg22bkxx",tablet:"_1lg22bkxy",desktop:"_1lg22bkxz"},defaultClass:"_1lg22bkxx"},"3xl":{conditions:{mobile:"_1lg22bky0",tablet:"_1lg22bky1",desktop:"_1lg22bky2"},defaultClass:"_1lg22bky0"}}},left:{values:{none:{conditions:{mobile:"_1lg22bky3",tablet:"_1lg22bky4",desktop:"_1lg22bky5"},defaultClass:"_1lg22bky3"},xs:{conditions:{mobile:"_1lg22bky6",tablet:"_1lg22bky7",desktop:"_1lg22bky8"},defaultClass:"_1lg22bky6"},sm:{conditions:{mobile:"_1lg22bky9",tablet:"_1lg22bkya",desktop:"_1lg22bkyb"},defaultClass:"_1lg22bky9"},md:{conditions:{mobile:"_1lg22bkyc",tablet:"_1lg22bkyd",desktop:"_1lg22bkye"},defaultClass:"_1lg22bkyc"},lg:{conditions:{mobile:"_1lg22bkyf",tablet:"_1lg22bkyg",desktop:"_1lg22bkyh"},defaultClass:"_1lg22bkyf"},xl:{conditions:{mobile:"_1lg22bkyi",tablet:"_1lg22bkyj",desktop:"_1lg22bkyk"},defaultClass:"_1lg22bkyi"},"2xl":{conditions:{mobile:"_1lg22bkyl",tablet:"_1lg22bkym",desktop:"_1lg22bkyn"},defaultClass:"_1lg22bkyl"},"3xl":{conditions:{mobile:"_1lg22bkyo",tablet:"_1lg22bkyp",desktop:"_1lg22bkyq"},defaultClass:"_1lg22bkyo"}}},right:{values:{none:{conditions:{mobile:"_1lg22bkyr",tablet:"_1lg22bkys",desktop:"_1lg22bkyt"},defaultClass:"_1lg22bkyr"},xs:{conditions:{mobile:"_1lg22bkyu",tablet:"_1lg22bkyv",desktop:"_1lg22bkyw"},defaultClass:"_1lg22bkyu"},sm:{conditions:{mobile:"_1lg22bkyx",tablet:"_1lg22bkyy",desktop:"_1lg22bkyz"},defaultClass:"_1lg22bkyx"},md:{conditions:{mobile:"_1lg22bkz0",tablet:"_1lg22bkz1",desktop:"_1lg22bkz2"},defaultClass:"_1lg22bkz0"},lg:{conditions:{mobile:"_1lg22bkz3",tablet:"_1lg22bkz4",desktop:"_1lg22bkz5"},defaultClass:"_1lg22bkz3"},xl:{conditions:{mobile:"_1lg22bkz6",tablet:"_1lg22bkz7",desktop:"_1lg22bkz8"},defaultClass:"_1lg22bkz6"},"2xl":{conditions:{mobile:"_1lg22bkz9",tablet:"_1lg22bkza",desktop:"_1lg22bkzb"},defaultClass:"_1lg22bkz9"},"3xl":{conditions:{mobile:"_1lg22bkzc",tablet:"_1lg22bkzd",desktop:"_1lg22bkze"},defaultClass:"_1lg22bkzc"}}},zIndex:{values:{0:{conditions:{mobile:"_1lg22bkzf",tablet:"_1lg22bkzg",desktop:"_1lg22bkzh"},defaultClass:"_1lg22bkzf"},10:{conditions:{mobile:"_1lg22bkzi",tablet:"_1lg22bkzj",desktop:"_1lg22bkzk"},defaultClass:"_1lg22bkzi"},20:{conditions:{mobile:"_1lg22bkzl",tablet:"_1lg22bkzm",desktop:"_1lg22bkzn"},defaultClass:"_1lg22bkzl"},30:{conditions:{mobile:"_1lg22bkzo",tablet:"_1lg22bkzp",desktop:"_1lg22bkzq"},defaultClass:"_1lg22bkzo"},40:{conditions:{mobile:"_1lg22bkzr",tablet:"_1lg22bkzs",desktop:"_1lg22bkzt"},defaultClass:"_1lg22bkzr"},50:{conditions:{mobile:"_1lg22bkzu",tablet:"_1lg22bkzv",desktop:"_1lg22bkzw"},defaultClass:"_1lg22bkzu"}}}}},{conditions:void 0,styles:{cursor:{values:{default:{defaultClass:"_1lg22bkzx"},pointer:{defaultClass:"_1lg22bkzy"},"not-allowed":{defaultClass:"_1lg22bkzz"}}},userSelect:{values:{none:{defaultClass:"_1lg22bk100"},text:{defaultClass:"_1lg22bk101"},all:{defaultClass:"_1lg22bk102"}}},pointerEvents:{values:{none:{defaultClass:"_1lg22bk103"},auto:{defaultClass:"_1lg22bk104"}}},outline:{values:{none:{defaultClass:"_1lg22bk105"}}},borderWidth:{values:{0:{defaultClass:"_1lg22bk106"},1:{defaultClass:"_1lg22bk107"},2:{defaultClass:"_1lg22bk108"}}},borderStyle:{values:{none:{defaultClass:"_1lg22bk109"},solid:{defaultClass:"_1lg22bk10a"},dashed:{defaultClass:"_1lg22bk10b"},dotted:{defaultClass:"_1lg22bk10c"}}},boxSizing:{values:{"border-box":{defaultClass:"_1lg22bk10d"},"content-box":{defaultClass:"_1lg22bk10e"}}},width:{values:{auto:{defaultClass:"_1lg22bk10f"},"100%":{defaultClass:"_1lg22bk10g"},"50%":{defaultClass:"_1lg22bk10h"},"25%":{defaultClass:"_1lg22bk10i"}}},height:{values:{auto:{defaultClass:"_1lg22bk10j"},"100%":{defaultClass:"_1lg22bk10k"},"50%":{defaultClass:"_1lg22bk10l"},"25%":{defaultClass:"_1lg22bk10m"}}},minWidth:{values:{0:{defaultClass:"_1lg22bk10n"},"100%":{defaultClass:"_1lg22bk10o"}}},minHeight:{values:{0:{defaultClass:"_1lg22bk10p"},"100%":{defaultClass:"_1lg22bk10q"}}},maxWidth:{values:{none:{defaultClass:"_1lg22bk10r"},"100%":{defaultClass:"_1lg22bk10s"}}},maxHeight:{values:{none:{defaultClass:"_1lg22bk10t"},"100%":{defaultClass:"_1lg22bk10u"}}},overflow:{values:{visible:{defaultClass:"_1lg22bk10v"},hidden:{defaultClass:"_1lg22bk10w"},scroll:{defaultClass:"_1lg22bk10x"},auto:{defaultClass:"_1lg22bk10y"}}},whiteSpace:{values:{normal:{defaultClass:"_1lg22bk10z"},nowrap:{defaultClass:"_1lg22bk110"},pre:{defaultClass:"_1lg22bk111"},"pre-wrap":{defaultClass:"_1lg22bk112"}}},textOverflow:{values:{clip:{defaultClass:"_1lg22bk113"},ellipsis:{defaultClass:"_1lg22bk114"}}},transitionTimingFunction:{values:{easeInOutBack:{defaultClass:"_1lg22bk115"},easeInOutCubic:{defaultClass:"_1lg22bk116"}}}}});var hA=an({defaultClassName:"_19asz6d0",variantClassNames:{size:{xs:"_19asz6d1",sm:"_19asz6d2",md:"_19asz6d3",lg:"_19asz6d4",xl:"_19asz6d5"}},defaultVariants:{size:"sm"},compoundVariants:[]});const Ta=t=>{const l=At.c(14);let a,s,r,u;l[0]!==t?({icon:a,size:u,className:s,...r}=t,l[0]=t,l[1]=a,l[2]=s,l[3]=r,l[4]=u):(a=l[1],s=l[2],r=l[3],u=l[4]);const d=u===void 0?"sm":u;let h;l[5]!==s||l[6]!==d?(h=vl(hA({size:d}),s),l[5]=s,l[6]=d,l[7]=h):h=l[7];let g;l[8]!==a?(g=Z.jsx(a,{}),l[8]=a,l[9]=g):g=l[9];let b;return l[10]!==r||l[11]!==h||l[12]!==g?(b=Z.jsx("span",{className:h,...r,children:g}),l[10]=r,l[11]=h,l[12]=g,l[13]=b):b=l[13],b},gA=t=>S.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 2000 2000",xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",...t},S.createElement("path",{d:"M500,2000L500,1050C500.705,750.116 682.618,600.065 1000,600C1332.431,602.05 1499.991,750.677 1500,1050L1500,2000L500,2000Z",fill:"var(--ghost-body, #000)"}),S.createElement("g",{transform:"matrix(1.5,0,0,0.8,-300,180)"},S.createElement("ellipse",{cx:750,cy:1025,rx:50,ry:125,fill:"var(--ghost-eyes, #fff)"})),S.createElement("g",{transform:"matrix(1.5,0,0,0.8,50,180)"},S.createElement("ellipse",{cx:750,cy:1025,rx:50,ry:125,fill:"var(--ghost-eyes, #fff)"})));var bA="xbvkwf0",pA=an({defaultClassName:"_6nggtl0",variantClassNames:{invert:{true:"_6nggtl1"}},defaultVariants:{invert:!1},compoundVariants:[]});function mA(){const t=At.c(9);let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=Z.jsx(Hw,{}),t[0]=l):l=t[0];let a,s;t[1]===Symbol.for("react.memo_cache_sentinel")?(a=Z.jsx(Kr,{asChild:!0,children:Z.jsxs(Gs,{to:"/",children:[Z.jsx(Ta,{icon:Rv}),"Overview"]})}),s=Z.jsx("br",{}),t[1]=a,t[2]=s):(a=t[1],s=t[2]);let r;t[3]===Symbol.for("react.memo_cache_sentinel")?(r=Z.jsx(Kr,{asChild:!0,children:Z.jsxs(Gs,{to:"/configs",children:[Z.jsx(Ta,{icon:wv}),"Configs"]})}),t[3]=r):r=t[3];let u;t[4]===Symbol.for("react.memo_cache_sentinel")?(u=Z.jsx(Kr,{asChild:!0,children:Z.jsxs(Gs,{to:"/environments",children:[Z.jsx(Ta,{icon:Tv}),"Environments"]})}),t[4]=u):u=t[4];let d,h;t[5]===Symbol.for("react.memo_cache_sentinel")?(d=pA({invert:!0}),h={height:14,width:14},t[5]=d,t[6]=h):(d=t[5],h=t[6]);let g;t[7]===Symbol.for("react.memo_cache_sentinel")?(g=Z.jsxs("div",{className:bA,children:[Z.jsx(gA,{className:d,style:h})," ","Coming Soon"]}),t[7]=g):g=t[7];let b;return t[8]===Symbol.for("react.memo_cache_sentinel")?(b=Z.jsxs(Fw,{children:[l,Z.jsxs(Vw,{children:[a,s,r,u,Z.jsx(sA,{content:g,side:"right",children:Z.jsxs(Kr,{children:[Z.jsx(Ta,{icon:eA}),"Observability"]})})]}),Z.jsx(Bw,{})]}),t[8]=b):b=t[8],b}var yA="_1j1a89s0";const Fu=BS()({component:vA});function vA(){const t=At.c(2);let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=Z.jsx(mA,{}),t[0]=l):l=t[0];let a;return t[1]===Symbol.for("react.memo_cache_sentinel")?(a=Z.jsx("div",{children:Z.jsxs(nT,{children:[l,Z.jsx("div",{className:yA,children:Z.jsx(W1,{})})]})}),t[1]=a):a=t[1],a}const _A="modulepreload",kA=function(t,l){return new URL(t,l).href},g1={},St=function(l,a,s){let r=Promise.resolve();if(a&&a.length>0){let b=function(m){return Promise.all(m.map(p=>Promise.resolve(p).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};const d=document.getElementsByTagName("link"),h=document.querySelector("meta[property=csp-nonce]"),g=h?.nonce||h?.getAttribute("nonce");r=b(a.map(m=>{if(m=kA(m,s),m in g1)return;g1[m]=!0;const p=m.endsWith(".css"),v=p?'[rel="stylesheet"]':"";if(s)for(let C=d.length-1;C>=0;C--){const E=d[C];if(E.href===m&&(!p||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${v}`))return;const _=document.createElement("link");if(_.rel=p?"stylesheet":_A,p||(_.as="script"),_.crossOrigin="",_.href=m,g&&_.setAttribute("nonce",g),document.head.appendChild(_),p)return new Promise((C,E)=>{_.addEventListener("load",C),_.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${m}`)))})}))}function u(d){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=d,window.dispatchEvent(h),!h.defaultPrevented)throw d}return r.then(d=>{for(const h of d||[])h.status==="rejected"&&u(h.reason);return l().catch(u)})},SA=()=>St(()=>import("./index-DfiY7vwV.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),CA=rt("/(app)/")({component:kt(SA,"component"),staticData:{customData:{title:"Overview",icon:Z.jsx(Ta,{icon:Rv})}}}),EA=()=>St(()=>import("./environments-BP9Vts5w.js"),__vite__mapDeps([12,1,2,3,4,13,14,15,16,17,5,18,19,7,20,11]),import.meta.url),xA=rt("/(app)/environments")({component:kt(EA,"component"),staticData:{customData:{title:"Environments",icon:Z.jsx(Ta,{icon:Tv})}}}),RA=()=>St(()=>import("./configs-a_jJLtxO.js"),__vite__mapDeps([21,13,1,2,14,15,16,17,5,6,3,4,19,8,9,7,20,22,11]),import.meta.url),TA=rt("/(app)/configs")({component:kt(RA,"component"),staticData:{customData:{title:"Configs",icon:Z.jsx(Ta,{icon:wv})}}});var wA=(t,l,a={})=>{let s=`${t}=${l}`;if(t.startsWith("__Secure-")&&!a.secure)throw new Error("__Secure- Cookie must have Secure attributes");if(t.startsWith("__Host-")){if(!a.secure)throw new Error("__Host- Cookie must have Secure attributes");if(a.path!=="/")throw new Error('__Host- Cookie must have Path attributes with "/"');if(a.domain)throw new Error("__Host- Cookie must not have Domain attributes")}if(a&&typeof a.maxAge=="number"&&a.maxAge>=0){if(a.maxAge>3456e4)throw new Error("Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration.");s+=`; Max-Age=${a.maxAge|0}`}if(a.domain&&a.prefix!=="host"&&(s+=`; Domain=${a.domain}`),a.path&&(s+=`; Path=${a.path}`),a.expires){if(a.expires.getTime()-Date.now()>3456e7)throw new Error("Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future.");s+=`; Expires=${a.expires.toUTCString()}`}if(a.httpOnly&&(s+="; HttpOnly"),a.secure&&(s+="; Secure"),a.sameSite&&(s+=`; SameSite=${a.sameSite.charAt(0).toUpperCase()+a.sameSite.slice(1)}`),a.priority&&(s+=`; Priority=${a.priority.charAt(0).toUpperCase()+a.priority.slice(1)}`),a.partitioned){if(!a.secure)throw new Error("Partitioned Cookie must have Secure attributes");s+="; Partitioned"}return s},AA=(t,l,a)=>(l=encodeURIComponent(l),wA(t,l,a)),OA=(t,l)=>(t=t.replace(/\/+$/,""),t=t+"/",l=l.replace(/^\/+/,""),t+l),sh=(t,l)=>{for(const[a,s]of Object.entries(l)){const r=new RegExp("/:"+a+"(?:{[^/]+})?\\??");t=t.replace(r,s?`/${s}`:"")}return t},Av=t=>{const l=new URLSearchParams;for(const[a,s]of Object.entries(t))if(s!==void 0)if(Array.isArray(s))for(const r of s)l.append(a,r);else l.set(a,s);return l},MA=(t,l)=>{switch(l){case"ws":return t.replace(/^http/,"ws");case"http":return t.replace(/^ws/,"http")}},Ov=t=>/^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(t)?t.replace(/\/index(?=\?|$)/,"/"):t.replace(/\/index(?=\?|$)/,"");function Xr(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function Mv(t,l){if(!Xr(t)&&!Xr(l))return l;const a={...t};for(const s in l){const r=l[s];Xr(a[s])&&Xr(r)?a[s]=Mv(a[s],r):a[s]=r}return a}var zv=(t,l)=>new Proxy(()=>{},{get(s,r){if(!(typeof r!="string"||r==="then"))return zv(t,[...l,r])},apply(s,r,u){return t({path:l,args:u})}}),zA=class{url;method;queryParams=void 0;pathParams={};rBody;cType=void 0;constructor(t,l){this.url=t,this.method=l}fetch=async(t,l)=>{if(t){if(t.query&&(this.queryParams=Av(t.query)),t.form){const h=new FormData;for(const[g,b]of Object.entries(t.form))if(Array.isArray(b))for(const m of b)h.append(g,m);else h.append(g,b);this.rBody=h}t.json&&(this.rBody=JSON.stringify(t.json),this.cType="application/json"),t.param&&(this.pathParams=t.param)}let a=this.method.toUpperCase();const s={...t?.header,...typeof l?.headers=="function"?await l.headers():l?.headers};if(t?.cookie){const h=[];for(const[g,b]of Object.entries(t.cookie))h.push(AA(g,b,{path:"/"}));s.Cookie=h.join(",")}this.cType&&(s["Content-Type"]=this.cType);const r=new Headers(s??void 0);let u=this.url;u=Ov(u),u=sh(u,this.pathParams),this.queryParams&&(u=u+"?"+this.queryParams.toString()),a=this.method.toUpperCase();const d=!(a==="GET"||a==="HEAD");return(l?.fetch||fetch)(u,{body:d?this.rBody:void 0,method:a,headers:r,...l?.init})}},DA=(t,l)=>zv(function a(s){const r=[...s.path],u=r.slice(-3).reverse();if(u[0]==="toString")return u[1]==="name"?u[2]||"":a.toString();if(u[0]==="valueOf")return u[1]==="name"?u[2]||"":a;let d="";if(/^\$/.test(u[0])){const m=r.pop();m&&(d=m.replace(/^\$/,""))}const h=r.join("/"),g=OA(t,h);if(d==="url"){let m=g;return s.args[0]&&(s.args[0].param&&(m=sh(g,s.args[0].param)),s.args[0].query&&(m=m+"?"+Av(s.args[0].query).toString())),m=Ov(m),new URL(m)}if(d==="ws"){const m=MA(s.args[0]&&s.args[0].param?sh(g,s.args[0].param):g,"ws"),p=new URL(m),v=s.args[0]?.query;return v&&Object.entries(v).forEach(([C,E])=>{Array.isArray(E)?E.forEach(x=>p.searchParams.append(C,x)):p.searchParams.set(C,E)}),((...C)=>l?.webSocket!==void 0&&typeof l.webSocket=="function"?l.webSocket(...C):new WebSocket(...C))(p.toString())}const b=new zA(g,d);if(d){l??={};const m=Mv(l,{...s.args[1]});return b.fetch(s.args[0],m)}return b},[]);class oh extends Error{response;request;options;constructor(l,a,s){const r=l.status||l.status===0?l.status:"",u=l.statusText??"",d=`${r} ${u}`.trim(),h=d?`status code ${d}`:"an unknown error";super(`Request failed with ${h}: ${a.method} ${a.url}`),this.name="HTTPError",this.response=l,this.request=a,this.options=s}}class Dv extends Error{name="NonError";value;constructor(l){let a="Non-error value was thrown";try{typeof l=="string"?a=l:l&&typeof l=="object"&&"message"in l&&typeof l.message=="string"&&(a=l.message)}catch{}super(a),this.value=l}}class zd extends Error{name="ForceRetryError";customDelay;code;customRequest;constructor(l){const a=l?.cause?l.cause instanceof Error?l.cause:new Dv(l.cause):void 0;super(l?.code?`Forced retry: ${l.code}`:"Forced retry",a?{cause:a}:void 0),this.customDelay=l?.delay,this.code=l?.code,this.customRequest=l?.request}}const b1=(()=>{let t=!1,l=!1;const a=typeof globalThis.ReadableStream=="function",s=typeof globalThis.Request=="function";if(a&&s)try{l=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type")}catch(r){if(r instanceof Error&&r.message==="unsupported BodyInit type")return!1;throw r}return t&&!l})(),LA=typeof globalThis.AbortController=="function",Lv=typeof globalThis.AbortSignal=="function"&&typeof globalThis.AbortSignal.any=="function",PA=typeof globalThis.ReadableStream=="function",NA=typeof globalThis.FormData=="function",Pv=["get","post","put","patch","head","delete"],$A={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},Dd=2147483647,jA=new TextEncoder().encode("------WebKitFormBoundaryaxpyiPgbbPti10Rw").length,Nv=Symbol("stop");class $v{options;constructor(l){this.options=l}}const UA=t=>new $v(t),qA={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},HA={next:!0},BA={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0},VA=t=>{if(!t)return 0;if(t instanceof FormData){let l=0;for(const[a,s]of t)l+=jA,l+=new TextEncoder().encode(`Content-Disposition: form-data; name="${a}"`).length,l+=typeof s=="string"?new TextEncoder().encode(s).length:s.size;return l}if(t instanceof Blob)return t.size;if(t instanceof ArrayBuffer)return t.byteLength;if(typeof t=="string")return new TextEncoder().encode(t).length;if(t instanceof URLSearchParams)return new TextEncoder().encode(t.toString()).length;if("byteLength"in t)return t.byteLength;if(typeof t=="object"&&t!==null)try{const l=JSON.stringify(t);return new TextEncoder().encode(l).length}catch{return 0}return 0},jv=(t,l,a)=>{let s,r=0;return t.pipeThrough(new TransformStream({transform(u,d){if(d.enqueue(u),s){r+=s.byteLength;let h=l===0?0:r/l;h>=1&&(h=1-Number.EPSILON),a?.({percent:h,totalBytes:Math.max(l,r),transferredBytes:r},s)}s=u},flush(){s&&(r+=s.byteLength,a?.({percent:1,totalBytes:Math.max(l,r),transferredBytes:r},s))}}))},FA=(t,l)=>{if(!t.body)return t;if(t.status===204)return new Response(null,{status:t.status,statusText:t.statusText,headers:t.headers});const a=Math.max(0,Number(t.headers.get("content-length"))||0);return new Response(jv(t.body,a,l),{status:t.status,statusText:t.statusText,headers:t.headers})},IA=(t,l,a)=>{if(!t.body)return t;const s=VA(a??t.body);return new Request(t,{duplex:"half",body:jv(t.body,s,l)})},Ra=t=>t!==null&&typeof t=="object",Zr=(...t)=>{for(const l of t)if((!Ra(l)||Array.isArray(l))&&l!==void 0)throw new TypeError("The `options` argument must be an object");return Kh({},...t)},Uv=(t={},l={})=>{const a=new globalThis.Headers(t),s=l instanceof globalThis.Headers,r=new globalThis.Headers(l);for(const[u,d]of r.entries())s&&d==="undefined"||d===void 0?a.delete(u):a.set(u,d);return a};function Jr(t,l,a){return Object.hasOwn(l,a)&&l[a]===void 0?[]:Kh(t[a]??[],l[a]??[])}const qv=(t={},l={})=>({beforeRequest:Jr(t,l,"beforeRequest"),beforeRetry:Jr(t,l,"beforeRetry"),afterResponse:Jr(t,l,"afterResponse"),beforeError:Jr(t,l,"beforeError")}),YA=(t,l)=>{const a=new URLSearchParams;for(const s of[t,l])if(s!==void 0)if(s instanceof URLSearchParams)for(const[r,u]of s.entries())a.append(r,u);else if(Array.isArray(s))for(const r of s){if(!Array.isArray(r)||r.length!==2)throw new TypeError("Array search parameters must be provided in [[key, value], ...] format");a.append(String(r[0]),String(r[1]))}else if(Ra(s))for(const[r,u]of Object.entries(s))u!==void 0&&a.append(r,String(u));else{const r=new URLSearchParams(s);for(const[u,d]of r.entries())a.append(u,d)}return a},Kh=(...t)=>{let l={},a={},s={},r;const u=[];for(const d of t)if(Array.isArray(d))Array.isArray(l)||(l=[]),l=[...l,...d];else if(Ra(d)){for(let[h,g]of Object.entries(d)){if(h==="signal"&&g instanceof globalThis.AbortSignal){u.push(g);continue}if(h==="context"){if(g!=null&&(!Ra(g)||Array.isArray(g)))throw new TypeError("The `context` option must be an object");l={...l,context:g==null?{}:{...l.context,...g}};continue}if(h==="searchParams"){g==null?r=void 0:r=r===void 0?g:YA(r,g);continue}Ra(g)&&h in l&&(g=Kh(l[h],g)),l={...l,[h]:g}}Ra(d.hooks)&&(s=qv(s,d.hooks),l.hooks=s),Ra(d.headers)&&(a=Uv(a,d.headers),l.headers=a)}return r!==void 0&&(l.searchParams=r),u.length>0&&(u.length===1?l.signal=u[0]:Lv?l.signal=AbortSignal.any(u):l.signal=u.at(-1)),l.context===void 0&&(l.context={}),l},GA=t=>Pv.includes(t)?t.toUpperCase():t,QA=["get","put","head","delete","options","trace"],KA=[408,413,429,500,502,503,504],XA=[413,429,503],p1={limit:2,methods:QA,statusCodes:KA,afterStatusCodes:XA,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:t=>.3*2**(t-1)*1e3,jitter:void 0,retryOnTimeout:!1},ZA=(t={})=>{if(typeof t=="number")return{...p1,limit:t};if(t.methods&&!Array.isArray(t.methods))throw new Error("retry.methods must be an array");if(t.statusCodes&&!Array.isArray(t.statusCodes))throw new Error("retry.statusCodes must be an array");return{...p1,...t}};class rh extends Error{request;constructor(l){super(`Request timed out: ${l.method} ${l.url}`),this.name="TimeoutError",this.request=l}}async function JA(t,l,a,s){return new Promise((r,u)=>{const d=setTimeout(()=>{a&&a.abort(),u(new rh(t))},s.timeout);s.fetch(t,l).then(r).catch(u).then(()=>{clearTimeout(d)})})}async function WA(t,{signal:l}){return new Promise((a,s)=>{l&&(l.throwIfAborted(),l.addEventListener("abort",r,{once:!0}));function r(){clearTimeout(u),s(l.reason)}const u=setTimeout(()=>{l?.removeEventListener("abort",r),a()},t)})}const eO=(t,l)=>{const a={};for(const s in l)Object.hasOwn(l,s)&&!(s in BA)&&!(s in qA)&&(!(s in t)||s in HA)&&(a[s]=l[s]);return a},tO=t=>t===void 0?!1:Array.isArray(t)?t.length>0:t instanceof URLSearchParams?t.size>0:typeof t=="object"?Object.keys(t).length>0:typeof t=="string"?t.trim().length>0:!!t;function nO(t){return t instanceof oh||t?.name===oh.name}function lO(t){return t instanceof rh||t?.name===rh.name}class so{static create(l,a){const s=new so(l,a),r=async()=>{if(typeof s.#e.timeout=="number"&&s.#e.timeout>Dd)throw new RangeError(`The \`timeout\` option cannot be greater than ${Dd}`);await Promise.resolve();let d=await s.#g();for(const h of s.#e.hooks.afterResponse){const g=s.#h(d.clone()),b=await h(s.request,s.#r(),g,{retryCount:s.#l});if(b instanceof globalThis.Response&&(d=b),b instanceof $v)throw await Promise.all([g.body?.cancel(),d.body?.cancel()]),new zd(b.options)}if(s.#h(d),!d.ok&&(typeof s.#e.throwHttpErrors=="function"?s.#e.throwHttpErrors(d.status):s.#e.throwHttpErrors)){let h=new oh(d,s.request,s.#r());for(const g of s.#e.hooks.beforeError)h=await g(h,{retryCount:s.#l});throw h}if(s.#e.onDownloadProgress){if(typeof s.#e.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!PA)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return FA(d.clone(),s.#e.onDownloadProgress)}return d},u=s.#u(r).finally(async()=>{const d=s.#o,h=[];d&&!d.bodyUsed&&h.push(d.body?.cancel()),s.request.bodyUsed||h.push(s.request.body?.cancel()),await Promise.all(h)});for(const[d,h]of Object.entries($A))d==="bytes"&&typeof globalThis.Response?.prototype?.bytes!="function"||(u[d]=async()=>{s.request.headers.set("accept",s.request.headers.get("accept")||h);const g=await u;if(d==="json"){if(g.status===204)return"";const b=await g.text();return b===""?"":a.parseJson?a.parseJson(b):JSON.parse(b)}return g[d]()});return u}static#n(l){return l&&typeof l=="object"&&!Array.isArray(l)&&!(l instanceof URLSearchParams)?Object.fromEntries(Object.entries(l).filter(([,a])=>a!==void 0)):l}request;#t;#l=0;#a;#e;#o;#i;#s;constructor(l,a={}){if(this.#a=l,this.#e={...a,headers:Uv(this.#a.headers,a.headers),hooks:qv({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},a.hooks),method:GA(a.method??this.#a.method??"GET"),prefixUrl:String(a.prefixUrl||""),retry:ZA(a.retry),throwHttpErrors:a.throwHttpErrors??!0,timeout:a.timeout??1e4,fetch:a.fetch??globalThis.fetch.bind(globalThis),context:a.context??{}},typeof this.#a!="string"&&!(this.#a instanceof URL||this.#a instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this.#e.prefixUrl&&typeof this.#a=="string"){if(this.#a.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this.#e.prefixUrl.endsWith("/")||(this.#e.prefixUrl+="/"),this.#a=this.#e.prefixUrl+this.#a}LA&&Lv&&(this.#i=this.#e.signal??this.#a.signal,this.#t=new globalThis.AbortController,this.#e.signal=this.#i?AbortSignal.any([this.#i,this.#t.signal]):this.#t.signal),b1&&(this.#e.duplex="half"),this.#e.json!==void 0&&(this.#e.body=this.#e.stringifyJson?.(this.#e.json)??JSON.stringify(this.#e.json),this.#e.headers.set("content-type",this.#e.headers.get("content-type")??"application/json"));const s=a.headers&&new globalThis.Headers(a.headers).has("content-type");if(this.#a instanceof globalThis.Request&&(NA&&this.#e.body instanceof globalThis.FormData||this.#e.body instanceof URLSearchParams)&&!s&&this.#e.headers.delete("content-type"),this.request=new globalThis.Request(this.#a,this.#e),tO(this.#e.searchParams)){const u="?"+(typeof this.#e.searchParams=="string"?this.#e.searchParams.replace(/^\?/,""):new URLSearchParams(so.#n(this.#e.searchParams)).toString()),d=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,u);this.request=new globalThis.Request(d,this.#e)}if(this.#e.onUploadProgress){if(typeof this.#e.onUploadProgress!="function")throw new TypeError("The `onUploadProgress` option must be a function");if(!b1)throw new Error("Request streams are not supported in your environment. The `duplex` option for `Request` is not available.");this.request=this.#f(this.request,this.#e.body??void 0)}}#d(){const l=this.#e.retry.delay(this.#l);let a=l;return this.#e.retry.jitter===!0?a=Math.random()*l:typeof this.#e.retry.jitter=="function"&&(a=this.#e.retry.jitter(l),(!Number.isFinite(a)||a<0)&&(a=l)),Math.min(this.#e.retry.backoffLimit,a)}async#b(l){if(this.#l++,this.#l>this.#e.retry.limit)throw l;const a=l instanceof Error?l:new Dv(l);if(a instanceof zd)return a.customDelay??this.#d();if(!this.#e.retry.methods.includes(this.request.method.toLowerCase()))throw l;if(this.#e.retry.shouldRetry!==void 0){const s=await this.#e.retry.shouldRetry({error:a,retryCount:this.#l});if(s===!1)throw l;if(s===!0)return this.#d()}if(lO(l)&&!this.#e.retry.retryOnTimeout)throw l;if(nO(l)){if(!this.#e.retry.statusCodes.includes(l.response.status))throw l;const s=l.response.headers.get("Retry-After")??l.response.headers.get("RateLimit-Reset")??l.response.headers.get("X-RateLimit-Retry-After")??l.response.headers.get("X-RateLimit-Reset")??l.response.headers.get("X-Rate-Limit-Reset");if(s&&this.#e.retry.afterStatusCodes.includes(l.response.status)){let r=Number(s)*1e3;Number.isNaN(r)?r=Date.parse(s)-Date.now():r>=Date.parse("2024-01-01")&&(r-=Date.now());const u=this.#e.retry.maxRetryAfter??r;return r<u?r:u}if(l.response.status===413)throw l}return this.#d()}#h(l){return this.#e.parseJson&&(l.json=async()=>this.#e.parseJson(await l.text())),l}async#u(l){try{return await l()}catch(a){const s=Math.min(await this.#b(a),Dd);if(this.#l<1)throw a;if(await WA(s,this.#i?{signal:this.#i}:{}),a instanceof zd&&a.customRequest){const r=this.#e.signal?new globalThis.Request(a.customRequest,{signal:this.#e.signal}):new globalThis.Request(a.customRequest);this.#c(r)}for(const r of this.#e.hooks.beforeRetry){const u=await r({request:this.request,options:this.#r(),error:a,retryCount:this.#l});if(u instanceof globalThis.Request){this.#c(u);break}if(u instanceof globalThis.Response)return u;if(u===Nv)return}return this.#u(l)}}async#g(){this.#t?.signal.aborted&&(this.#t=new globalThis.AbortController,this.#e.signal=this.#i?AbortSignal.any([this.#i,this.#t.signal]):this.#t.signal,this.request=new globalThis.Request(this.request,{signal:this.#e.signal}));for(const a of this.#e.hooks.beforeRequest){const s=await a(this.request,this.#r(),{retryCount:this.#l});if(s instanceof Response)return s;if(s instanceof globalThis.Request){this.#c(s);break}}const l=eO(this.request,this.#e);return this.#o=this.request,this.request=this.#o.clone(),this.#e.timeout===!1?this.#e.fetch(this.#o,l):JA(this.#o,l,this.#t,this.#e)}#r(){if(!this.#s){const{hooks:l,...a}=this.#e;this.#s=Object.freeze(a)}return this.#s}#c(l){this.#s=void 0,this.request=this.#f(l)}#f(l,a){return!this.#e.onUploadProgress||!l.body?l:IA(l,this.#e.onUploadProgress,a??this.#e.body??void 0)}}const uh=t=>{const l=(a,s)=>so.create(a,Zr(t,s));for(const a of Pv)l[a]=(s,r)=>so.create(s,Zr(t,r,{method:a}));return l.create=a=>uh(Zr(a)),l.extend=a=>(typeof a=="function"&&(a=a(t??{})),uh(Zr(t,a))),l.stop=Nv,l.retry=UA,l},aO=uh(),iO=aO.create({retry:0,timeout:150*1e3}),m1=new URL((window.bootstrapData?.basePath==="/"?"":window.bootstrapData?.basePath)+"/api",window.location.origin),Xh=DA(m1.origin+m1.pathname,{fetch:iO});var po=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},sO={setTimeout:(t,l)=>setTimeout(t,l),clearTimeout:t=>clearTimeout(t),setInterval:(t,l)=>setInterval(t,l),clearInterval:t=>clearInterval(t)},oO=class{#n=sO;#t=!1;setTimeoutProvider(t){this.#n=t}setTimeout(t,l){return this.#n.setTimeout(t,l)}clearTimeout(t){this.#n.clearTimeout(t)}setInterval(t,l){return this.#n.setInterval(t,l)}clearInterval(t){this.#n.clearInterval(t)}},wa=new oO;function rO(t){setTimeout(t,0)}var $a=typeof window>"u"||"Deno"in globalThis;function Bt(){}function uO(t,l){return typeof t=="function"?t(l):t}function ch(t){return typeof t=="number"&&t>=0&&t!==1/0}function Hv(t,l){return Math.max(t+(l||0)-Date.now(),0)}function ea(t,l){return typeof t=="function"?t(l):t}function _n(t,l){return typeof t=="function"?t(l):t}function y1(t,l){const{type:a="all",exact:s,fetchStatus:r,predicate:u,queryKey:d,stale:h}=t;if(d){if(s){if(l.queryHash!==Zh(d,l.options))return!1}else if(!ro(l.queryKey,d))return!1}if(a!=="all"){const g=l.isActive();if(a==="active"&&!g||a==="inactive"&&g)return!1}return!(typeof h=="boolean"&&l.isStale()!==h||r&&r!==l.state.fetchStatus||u&&!u(l))}function v1(t,l){const{exact:a,status:s,predicate:r,mutationKey:u}=t;if(u){if(!l.options.mutationKey)return!1;if(a){if(oo(l.options.mutationKey)!==oo(u))return!1}else if(!ro(l.options.mutationKey,u))return!1}return!(s&&l.state.status!==s||r&&!r(l))}function Zh(t,l){return(l?.queryKeyHashFn||oo)(t)}function oo(t){return JSON.stringify(t,(l,a)=>dh(a)?Object.keys(a).sort().reduce((s,r)=>(s[r]=a[r],s),{}):a)}function ro(t,l){return t===l?!0:typeof t!=typeof l?!1:t&&l&&typeof t=="object"&&typeof l=="object"?Object.keys(l).every(a=>ro(t[a],l[a])):!1}var cO=Object.prototype.hasOwnProperty;function Bv(t,l){if(t===l)return t;const a=_1(t)&&_1(l);if(!a&&!(dh(t)&&dh(l)))return l;const r=(a?t:Object.keys(t)).length,u=a?l:Object.keys(l),d=u.length,h=a?new Array(d):{};let g=0;for(let b=0;b<d;b++){const m=a?b:u[b],p=t[m],v=l[m];if(p===v){h[m]=p,(a?b<r:cO.call(t,m))&&g++;continue}if(p===null||v===null||typeof p!="object"||typeof v!="object"){h[m]=v;continue}const _=Bv(p,v);h[m]=_,_===p&&g++}return r===d&&g===r?t:h}function fh(t,l){if(!l||Object.keys(t).length!==Object.keys(l).length)return!1;for(const a in t)if(t[a]!==l[a])return!1;return!0}function _1(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function dh(t){if(!k1(t))return!1;const l=t.constructor;if(l===void 0)return!0;const a=l.prototype;return!(!k1(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function k1(t){return Object.prototype.toString.call(t)==="[object Object]"}function fO(t){return new Promise(l=>{wa.setTimeout(l,t)})}function hh(t,l,a){return typeof a.structuralSharing=="function"?a.structuralSharing(t,l):a.structuralSharing!==!1?Bv(t,l):l}function dO(t,l,a=0){const s=[...t,l];return a&&s.length>a?s.slice(1):s}function hO(t,l,a=0){const s=[l,...t];return a&&s.length>a?s.slice(0,-1):s}var Jh=Symbol();function Vv(t,l){return!t.queryFn&&l?.initialPromise?()=>l.initialPromise:!t.queryFn||t.queryFn===Jh?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function gO(t,l){return typeof t=="function"?t(...l):!!t}var bO=class extends po{#n;#t;#l;constructor(){super(),this.#l=t=>{if(!$a&&window.addEventListener){const l=()=>t();return window.addEventListener("visibilitychange",l,!1),()=>{window.removeEventListener("visibilitychange",l)}}}}onSubscribe(){this.#t||this.setEventListener(this.#l)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#l=t,this.#t?.(),this.#t=t(l=>{typeof l=="boolean"?this.setFocused(l):this.onFocus()})}setFocused(t){this.#n!==t&&(this.#n=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(l=>{l(t)})}isFocused(){return typeof this.#n=="boolean"?this.#n:globalThis.document?.visibilityState!=="hidden"}},Wh=new bO;function gh(){let t,l;const a=new Promise((r,u)=>{t=r,l=u});a.status="pending",a.catch(()=>{});function s(r){Object.assign(a,r),delete a.resolve,delete a.reject}return a.resolve=r=>{s({status:"fulfilled",value:r}),t(r)},a.reject=r=>{s({status:"rejected",reason:r}),l(r)},a}var pO=rO;function mO(){let t=[],l=0,a=h=>{h()},s=h=>{h()},r=pO;const u=h=>{l?t.push(h):r(()=>{a(h)})},d=()=>{const h=t;t=[],h.length&&r(()=>{s(()=>{h.forEach(g=>{a(g)})})})};return{batch:h=>{let g;l++;try{g=h()}finally{l--,l||d()}return g},batchCalls:h=>(...g)=>{u(()=>{h(...g)})},schedule:u,setNotifyFunction:h=>{a=h},setBatchNotifyFunction:h=>{s=h},setScheduler:h=>{r=h}}}var _t=mO(),yO=class extends po{#n=!0;#t;#l;constructor(){super(),this.#l=t=>{if(!$a&&window.addEventListener){const l=()=>t(!0),a=()=>t(!1);return window.addEventListener("online",l,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",l),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#l)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#l=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#n!==t&&(this.#n=t,this.listeners.forEach(a=>{a(t)}))}isOnline(){return this.#n}},Au=new yO;function vO(t){return Math.min(1e3*2**t,3e4)}function Fv(t){return(t??"online")==="online"?Au.isOnline():!0}var bh=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Iv(t){let l=!1,a=0,s;const r=gh(),u=()=>r.status!=="pending",d=E=>{if(!u()){const x=new bh(E);v(x),t.onCancel?.(x)}},h=()=>{l=!0},g=()=>{l=!1},b=()=>Wh.isFocused()&&(t.networkMode==="always"||Au.isOnline())&&t.canRun(),m=()=>Fv(t.networkMode)&&t.canRun(),p=E=>{u()||(s?.(),r.resolve(E))},v=E=>{u()||(s?.(),r.reject(E))},_=()=>new Promise(E=>{s=x=>{(u()||b())&&E(x)},t.onPause?.()}).then(()=>{s=void 0,u()||t.onContinue?.()}),C=()=>{if(u())return;let E;const x=a===0?t.initialPromise:void 0;try{E=x??t.fn()}catch(R){E=Promise.reject(R)}Promise.resolve(E).then(p).catch(R=>{if(u())return;const O=t.retry??($a?0:3),L=t.retryDelay??vO,j=typeof L=="function"?L(a,R):L,U=O===!0||typeof O=="number"&&a<O||typeof O=="function"&&O(a,R);if(l||!U){v(R);return}a++,t.onFail?.(a,R),fO(j).then(()=>b()?void 0:_()).then(()=>{l?v(R):C()})})};return{promise:r,status:()=>r.status,cancel:d,continue:()=>(s?.(),r),cancelRetry:h,continueRetry:g,canStart:m,start:()=>(m()?C():_().then(C),r)}}var Yv=class{#n;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ch(this.gcTime)&&(this.#n=wa.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??($a?1/0:300*1e3))}clearGcTimeout(){this.#n&&(wa.clearTimeout(this.#n),this.#n=void 0)}},_O=class extends Yv{#n;#t;#l;#a;#e;#o;#i;constructor(t){super(),this.#i=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#a=t.client,this.#l=this.#a.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#n=C1(this.options),this.state=t.state??this.#n,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#e?.promise}setOptions(t){if(this.options={...this.#o,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const l=C1(this.options);l.data!==void 0&&(this.setState(S1(l.data,l.dataUpdatedAt)),this.#n=l)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#l.remove(this)}setData(t,l){const a=hh(this.state.data,t,this.options);return this.#s({data:a,type:"success",dataUpdatedAt:l?.updatedAt,manual:l?.manual}),a}setState(t,l){this.#s({type:"setState",state:t,setStateOptions:l})}cancel(t){const l=this.#e?.promise;return this.#e?.cancel(t),l?l.then(Bt).catch(Bt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#n)}isActive(){return this.observers.some(t=>_n(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Jh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ea(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Hv(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(l=>l.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#e?.continue()}onOnline(){this.observers.find(l=>l.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#e?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(l=>l!==t),this.observers.length||(this.#e&&(this.#i?this.#e.cancel({revert:!0}):this.#e.cancelRetry()),this.scheduleGc()),this.#l.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(t,l){if(this.state.fetchStatus!=="idle"&&this.#e?.status()!=="rejected"){if(this.state.data!==void 0&&l?.cancelRefetch)this.cancel({silent:!0});else if(this.#e)return this.#e.continueRetry(),this.#e.promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(g=>g.options.queryFn);h&&this.setOptions(h.options)}const a=new AbortController,s=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#i=!0,a.signal)})},r=()=>{const h=Vv(this.options,l),b=(()=>{const m={client:this.#a,queryKey:this.queryKey,meta:this.meta};return s(m),m})();return this.#i=!1,this.options.persister?this.options.persister(h,b,this):h(b)},d=(()=>{const h={fetchOptions:l,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:r};return s(h),h})();this.options.behavior?.onFetch(d,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==d.fetchOptions?.meta)&&this.#s({type:"fetch",meta:d.fetchOptions?.meta}),this.#e=Iv({initialPromise:l?.initialPromise,fn:d.fetchFn,onCancel:h=>{h instanceof bh&&h.revert&&this.setState({...this.#t,fetchStatus:"idle"}),a.abort()},onFail:(h,g)=>{this.#s({type:"failed",failureCount:h,error:g})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0});try{const h=await this.#e.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#l.config.onSuccess?.(h,this),this.#l.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof bh){if(h.silent)return this.#e.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#s({type:"error",error:h}),this.#l.config.onError?.(h,this),this.#l.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#s(t){const l=a=>{switch(t.type){case"failed":return{...a,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...Gv(a.data,this.options),fetchMeta:t.meta??null};case"success":const s={...a,...S1(t.data,t.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?s:void 0,s;case"error":const r=t.error;return{...a,error:r,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...t.state}}};this.state=l(this.state),_t.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#l.notify({query:this,type:"updated",action:t})})}};function Gv(t,l){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Fv(l.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function S1(t,l){return{data:t,dataUpdatedAt:l??Date.now(),error:null,isInvalidated:!1,status:"success"}}function C1(t){const l=typeof t.initialData=="function"?t.initialData():t.initialData,a=l!==void 0,s=a?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:l,dataUpdateCount:0,dataUpdatedAt:a?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var kO=class extends po{constructor(t,l){super(),this.options=l,this.#n=t,this.#s=null,this.#i=gh(),this.bindMethods(),this.setOptions(l)}#n;#t=void 0;#l=void 0;#a=void 0;#e;#o;#i;#s;#d;#b;#h;#u;#g;#r;#c=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),E1(this.#t,this.options)?this.#f():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ph(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ph(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#_(),this.#k(),this.#t.removeObserver(this)}setOptions(t){const l=this.options,a=this.#t;if(this.options=this.#n.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof _n(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#t.setOptions(this.options),l._defaulted&&!fh(this.options,l)&&this.#n.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const s=this.hasListeners();s&&x1(this.#t,a,this.options,l)&&this.#f(),this.updateResult(),s&&(this.#t!==a||_n(this.options.enabled,this.#t)!==_n(l.enabled,this.#t)||ea(this.options.staleTime,this.#t)!==ea(l.staleTime,this.#t))&&this.#p();const r=this.#m();s&&(this.#t!==a||_n(this.options.enabled,this.#t)!==_n(l.enabled,this.#t)||r!==this.#r)&&this.#y(r)}getOptimisticResult(t){const l=this.#n.getQueryCache().build(this.#n,t),a=this.createResult(l,t);return CO(this,a)&&(this.#a=a,this.#o=this.options,this.#e=this.#t.state),a}getCurrentResult(){return this.#a}trackResult(t,l){return new Proxy(t,{get:(a,s)=>(this.trackProp(s),l?.(s),s==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#i.status==="pending"&&this.#i.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,s))})}trackProp(t){this.#c.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const l=this.#n.defaultQueryOptions(t),a=this.#n.getQueryCache().build(this.#n,l);return a.fetch().then(()=>this.createResult(a,l))}fetch(t){return this.#f({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#f(t){this.#S();let l=this.#t.fetch(this.options,t);return t?.throwOnError||(l=l.catch(Bt)),l}#p(){this.#_();const t=ea(this.options.staleTime,this.#t);if($a||this.#a.isStale||!ch(t))return;const a=Hv(this.#a.dataUpdatedAt,t)+1;this.#u=wa.setTimeout(()=>{this.#a.isStale||this.updateResult()},a)}#m(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(t){this.#k(),this.#r=t,!($a||_n(this.options.enabled,this.#t)===!1||!ch(this.#r)||this.#r===0)&&(this.#g=wa.setInterval(()=>{(this.options.refetchIntervalInBackground||Wh.isFocused())&&this.#f()},this.#r))}#v(){this.#p(),this.#y(this.#m())}#_(){this.#u&&(wa.clearTimeout(this.#u),this.#u=void 0)}#k(){this.#g&&(wa.clearInterval(this.#g),this.#g=void 0)}createResult(t,l){const a=this.#t,s=this.options,r=this.#a,u=this.#e,d=this.#o,g=t!==a?t.state:this.#l,{state:b}=t;let m={...b},p=!1,v;if(l._optimisticResults){const N=this.hasListeners(),J=!N&&E1(t,l),ee=N&&x1(t,a,l,s);(J||ee)&&(m={...m,...Gv(b.data,t.options)}),l._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:_,errorUpdatedAt:C,status:E}=m;v=m.data;let x=!1;if(l.placeholderData!==void 0&&v===void 0&&E==="pending"){let N;r?.isPlaceholderData&&l.placeholderData===d?.placeholderData?(N=r.data,x=!0):N=typeof l.placeholderData=="function"?l.placeholderData(this.#h?.state.data,this.#h):l.placeholderData,N!==void 0&&(E="success",v=hh(r?.data,N,l),p=!0)}if(l.select&&v!==void 0&&!x)if(r&&v===u?.data&&l.select===this.#d)v=this.#b;else try{this.#d=l.select,v=l.select(v),v=hh(r?.data,v,l),this.#b=v,this.#s=null}catch(N){this.#s=N}this.#s&&(_=this.#s,v=this.#b,C=Date.now(),E="error");const R=m.fetchStatus==="fetching",O=E==="pending",L=E==="error",j=O&&R,U=v!==void 0,M={status:E,fetchStatus:m.fetchStatus,isPending:O,isSuccess:E==="success",isError:L,isInitialLoading:j,isLoading:j,data:v,dataUpdatedAt:m.dataUpdatedAt,error:_,errorUpdatedAt:C,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>g.dataUpdateCount||m.errorUpdateCount>g.errorUpdateCount,isFetching:R,isRefetching:R&&!O,isLoadingError:L&&!U,isPaused:m.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:L&&U,isStale:eg(t,l),refetch:this.refetch,promise:this.#i,isEnabled:_n(l.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const N=z=>{M.status==="error"?z.reject(M.error):M.data!==void 0&&z.resolve(M.data)},J=()=>{const z=this.#i=M.promise=gh();N(z)},ee=this.#i;switch(ee.status){case"pending":t.queryHash===a.queryHash&&N(ee);break;case"fulfilled":(M.status==="error"||M.data!==ee.value)&&J();break;case"rejected":(M.status!=="error"||M.error!==ee.reason)&&J();break}}return M}updateResult(){const t=this.#a,l=this.createResult(this.#t,this.options);if(this.#e=this.#t.state,this.#o=this.options,this.#e.data!==void 0&&(this.#h=this.#t),fh(l,t))return;this.#a=l;const a=()=>{if(!t)return!0;const{notifyOnChangeProps:s}=this.options,r=typeof s=="function"?s():s;if(r==="all"||!r&&!this.#c.size)return!0;const u=new Set(r??this.#c);return this.options.throwOnError&&u.add("error"),Object.keys(this.#a).some(d=>{const h=d;return this.#a[h]!==t[h]&&u.has(h)})};this.#C({listeners:a()})}#S(){const t=this.#n.getQueryCache().build(this.#n,this.options);if(t===this.#t)return;const l=this.#t;this.#t=t,this.#l=t.state,this.hasListeners()&&(l?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#C(t){_t.batch(()=>{t.listeners&&this.listeners.forEach(l=>{l(this.#a)}),this.#n.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function SO(t,l){return _n(l.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&l.retryOnMount===!1)}function E1(t,l){return SO(t,l)||t.state.data!==void 0&&ph(t,l,l.refetchOnMount)}function ph(t,l,a){if(_n(l.enabled,t)!==!1&&ea(l.staleTime,t)!=="static"){const s=typeof a=="function"?a(t):a;return s==="always"||s!==!1&&eg(t,l)}return!1}function x1(t,l,a,s){return(t!==l||_n(s.enabled,t)===!1)&&(!a.suspense||t.state.status!=="error")&&eg(t,a)}function eg(t,l){return _n(l.enabled,t)!==!1&&t.isStaleByTime(ea(l.staleTime,t))}function CO(t,l){return!fh(t.getCurrentResult(),l)}function R1(t){return{onFetch:(l,a)=>{const s=l.options,r=l.fetchOptions?.meta?.fetchMore?.direction,u=l.state.data?.pages||[],d=l.state.data?.pageParams||[];let h={pages:[],pageParams:[]},g=0;const b=async()=>{let m=!1;const p=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(l.signal.aborted?m=!0:l.signal.addEventListener("abort",()=>{m=!0}),l.signal)})},v=Vv(l.options,l.fetchOptions),_=async(C,E,x)=>{if(m)return Promise.reject();if(E==null&&C.pages.length)return Promise.resolve(C);const O=(()=>{const P={client:l.client,queryKey:l.queryKey,pageParam:E,direction:x?"backward":"forward",meta:l.options.meta};return p(P),P})(),L=await v(O),{maxPages:j}=l.options,U=x?hO:dO;return{pages:U(C.pages,L,j),pageParams:U(C.pageParams,E,j)}};if(r&&u.length){const C=r==="backward",E=C?EO:T1,x={pages:u,pageParams:d},R=E(s,x);h=await _(x,R,C)}else{const C=t??u.length;do{const E=g===0?d[0]??s.initialPageParam:T1(s,h);if(g>0&&E==null)break;h=await _(h,E),g++}while(g<C)}return h};l.options.persister?l.fetchFn=()=>l.options.persister?.(b,{client:l.client,queryKey:l.queryKey,meta:l.options.meta,signal:l.signal},a):l.fetchFn=b}}}function T1(t,{pages:l,pageParams:a}){const s=l.length-1;return l.length>0?t.getNextPageParam(l[s],l,a[s],a):void 0}function EO(t,{pages:l,pageParams:a}){return l.length>0?t.getPreviousPageParam?.(l[0],l,a[0],a):void 0}var xO=class extends Yv{#n;#t;#l;#a;constructor(t){super(),this.#n=t.client,this.mutationId=t.mutationId,this.#l=t.mutationCache,this.#t=[],this.state=t.state||RO(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(l=>l!==t),this.scheduleGc(),this.#l.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#l.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(t){const l=()=>{this.#e({type:"continue"})},a={client:this.#n,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=Iv({fn:()=>this.options.mutationFn?this.options.mutationFn(t,a):Promise.reject(new Error("No mutationFn found")),onFail:(u,d)=>{this.#e({type:"failed",failureCount:u,error:d})},onPause:()=>{this.#e({type:"pause"})},onContinue:l,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#l.canRun(this)});const s=this.state.status==="pending",r=!this.#a.canStart();try{if(s)l();else{this.#e({type:"pending",variables:t,isPaused:r}),await this.#l.config.onMutate?.(t,this,a);const d=await this.options.onMutate?.(t,a);d!==this.state.context&&this.#e({type:"pending",context:d,variables:t,isPaused:r})}const u=await this.#a.start();return await this.#l.config.onSuccess?.(u,t,this.state.context,this,a),await this.options.onSuccess?.(u,t,this.state.context,a),await this.#l.config.onSettled?.(u,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(u,null,t,this.state.context,a),this.#e({type:"success",data:u}),u}catch(u){try{throw await this.#l.config.onError?.(u,t,this.state.context,this,a),await this.options.onError?.(u,t,this.state.context,a),await this.#l.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(void 0,u,t,this.state.context,a),u}finally{this.#e({type:"error",error:u})}}finally{this.#l.runNext(this)}}#e(t){const l=a=>{switch(t.type){case"failed":return{...a,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...a,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:t.error,failureCount:a.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=l(this.state),_t.batch(()=>{this.#t.forEach(a=>{a.onMutationUpdate(t)}),this.#l.notify({mutation:this,type:"updated",action:t})})}};function RO(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var TO=class extends po{constructor(t={}){super(),this.config=t,this.#n=new Set,this.#t=new Map,this.#l=0}#n;#t;#l;build(t,l,a){const s=new xO({client:t,mutationCache:this,mutationId:++this.#l,options:t.defaultMutationOptions(l),state:a});return this.add(s),s}add(t){this.#n.add(t);const l=Wr(t);if(typeof l=="string"){const a=this.#t.get(l);a?a.push(t):this.#t.set(l,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#n.delete(t)){const l=Wr(t);if(typeof l=="string"){const a=this.#t.get(l);if(a)if(a.length>1){const s=a.indexOf(t);s!==-1&&a.splice(s,1)}else a[0]===t&&this.#t.delete(l)}}this.notify({type:"removed",mutation:t})}canRun(t){const l=Wr(t);if(typeof l=="string"){const s=this.#t.get(l)?.find(r=>r.state.status==="pending");return!s||s===t}else return!0}runNext(t){const l=Wr(t);return typeof l=="string"?this.#t.get(l)?.find(s=>s!==t&&s.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){_t.batch(()=>{this.#n.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#n.clear(),this.#t.clear()})}getAll(){return Array.from(this.#n)}find(t){const l={exact:!0,...t};return this.getAll().find(a=>v1(l,a))}findAll(t={}){return this.getAll().filter(l=>v1(t,l))}notify(t){_t.batch(()=>{this.listeners.forEach(l=>{l(t)})})}resumePausedMutations(){const t=this.getAll().filter(l=>l.state.isPaused);return _t.batch(()=>Promise.all(t.map(l=>l.continue().catch(Bt))))}};function Wr(t){return t.options.scope?.id}var wO=class extends po{constructor(t={}){super(),this.config=t,this.#n=new Map}#n;build(t,l,a){const s=l.queryKey,r=l.queryHash??Zh(s,l);let u=this.get(r);return u||(u=new _O({client:t,queryKey:s,queryHash:r,options:t.defaultQueryOptions(l),state:a,defaultOptions:t.getQueryDefaults(s)}),this.add(u)),u}add(t){this.#n.has(t.queryHash)||(this.#n.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const l=this.#n.get(t.queryHash);l&&(t.destroy(),l===t&&this.#n.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){_t.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#n.get(t)}getAll(){return[...this.#n.values()]}find(t){const l={exact:!0,...t};return this.getAll().find(a=>y1(l,a))}findAll(t={}){const l=this.getAll();return Object.keys(t).length>0?l.filter(a=>y1(t,a)):l}notify(t){_t.batch(()=>{this.listeners.forEach(l=>{l(t)})})}onFocus(){_t.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){_t.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},AO=class{#n;#t;#l;#a;#e;#o;#i;#s;constructor(t={}){this.#n=t.queryCache||new wO,this.#t=t.mutationCache||new TO,this.#l=t.defaultOptions||{},this.#a=new Map,this.#e=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#i=Wh.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#n.onFocus())}),this.#s=Au.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#n.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#i?.(),this.#i=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#n.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const l=this.defaultQueryOptions({queryKey:t});return this.#n.get(l.queryHash)?.state.data}ensureQueryData(t){const l=this.defaultQueryOptions(t),a=this.#n.build(this,l),s=a.state.data;return s===void 0?this.fetchQuery(t):(t.revalidateIfStale&&a.isStaleByTime(ea(l.staleTime,a))&&this.prefetchQuery(l),Promise.resolve(s))}getQueriesData(t){return this.#n.findAll(t).map(({queryKey:l,state:a})=>{const s=a.data;return[l,s]})}setQueryData(t,l,a){const s=this.defaultQueryOptions({queryKey:t}),u=this.#n.get(s.queryHash)?.state.data,d=uO(l,u);if(d!==void 0)return this.#n.build(this,s).setData(d,{...a,manual:!0})}setQueriesData(t,l,a){return _t.batch(()=>this.#n.findAll(t).map(({queryKey:s})=>[s,this.setQueryData(s,l,a)]))}getQueryState(t){const l=this.defaultQueryOptions({queryKey:t});return this.#n.get(l.queryHash)?.state}removeQueries(t){const l=this.#n;_t.batch(()=>{l.findAll(t).forEach(a=>{l.remove(a)})})}resetQueries(t,l){const a=this.#n;return _t.batch(()=>(a.findAll(t).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...t},l)))}cancelQueries(t,l={}){const a={revert:!0,...l},s=_t.batch(()=>this.#n.findAll(t).map(r=>r.cancel(a)));return Promise.all(s).then(Bt).catch(Bt)}invalidateQueries(t,l={}){return _t.batch(()=>(this.#n.findAll(t).forEach(a=>{a.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},l)))}refetchQueries(t,l={}){const a={...l,cancelRefetch:l.cancelRefetch??!0},s=_t.batch(()=>this.#n.findAll(t).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let u=r.fetch(void 0,a);return a.throwOnError||(u=u.catch(Bt)),r.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(s).then(Bt)}fetchQuery(t){const l=this.defaultQueryOptions(t);l.retry===void 0&&(l.retry=!1);const a=this.#n.build(this,l);return a.isStaleByTime(ea(l.staleTime,a))?a.fetch(l):Promise.resolve(a.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Bt).catch(Bt)}fetchInfiniteQuery(t){return t.behavior=R1(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Bt).catch(Bt)}ensureInfiniteQueryData(t){return t.behavior=R1(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Au.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#n}getMutationCache(){return this.#t}getDefaultOptions(){return this.#l}setDefaultOptions(t){this.#l=t}setQueryDefaults(t,l){this.#a.set(oo(t),{queryKey:t,defaultOptions:l})}getQueryDefaults(t){const l=[...this.#a.values()],a={};return l.forEach(s=>{ro(t,s.queryKey)&&Object.assign(a,s.defaultOptions)}),a}setMutationDefaults(t,l){this.#e.set(oo(t),{mutationKey:t,defaultOptions:l})}getMutationDefaults(t){const l=[...this.#e.values()],a={};return l.forEach(s=>{ro(t,s.mutationKey)&&Object.assign(a,s.defaultOptions)}),a}defaultQueryOptions(t){if(t._defaulted)return t;const l={...this.#l.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return l.queryHash||(l.queryHash=Zh(l.queryKey,l)),l.refetchOnReconnect===void 0&&(l.refetchOnReconnect=l.networkMode!=="always"),l.throwOnError===void 0&&(l.throwOnError=!!l.suspense),!l.networkMode&&l.persister&&(l.networkMode="offlineFirst"),l.queryFn===Jh&&(l.enabled=!1),l}defaultMutationOptions(t){return t?._defaulted?t:{...this.#l.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#n.clear(),this.#t.clear()}},Qv=S.createContext(void 0),OO=t=>{const l=S.useContext(Qv);if(!l)throw new Error("No QueryClient set, use QueryClientProvider to set one");return l},MO=({client:t,children:l})=>(S.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),Z.jsx(Qv.Provider,{value:t,children:l})),Kv=S.createContext(!1),zO=()=>S.useContext(Kv);Kv.Provider;function DO(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var LO=S.createContext(DO()),PO=()=>S.useContext(LO),NO=(t,l)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(l.isReset()||(t.retryOnMount=!1))},$O=t=>{S.useEffect(()=>{t.clearReset()},[t])},jO=({result:t,errorResetBoundary:l,throwOnError:a,query:s,suspense:r})=>t.isError&&!l.isReset()&&!t.isFetching&&s&&(r&&t.data===void 0||gO(a,[t.error,s])),UO=t=>{if(t.suspense){const a=r=>r==="static"?r:Math.max(r??1e3,1e3),s=t.staleTime;t.staleTime=typeof s=="function"?(...r)=>a(s(...r)):a(s),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},qO=(t,l)=>t.isLoading&&t.isFetching&&!l,HO=(t,l)=>t?.suspense&&l.isPending,w1=(t,l,a)=>l.fetchOptimistic(t).catch(()=>{a.clearReset()});function BO(t,l,a){const s=zO(),r=PO(),u=OO(),d=u.defaultQueryOptions(t);u.getDefaultOptions().queries?._experimental_beforeQuery?.(d),d._optimisticResults=s?"isRestoring":"optimistic",UO(d),NO(d,r),$O(r);const h=!u.getQueryCache().get(d.queryHash),[g]=S.useState(()=>new l(u,d)),b=g.getOptimisticResult(d),m=!s&&t.subscribed!==!1;if(S.useSyncExternalStore(S.useCallback(p=>{const v=m?g.subscribe(_t.batchCalls(p)):Bt;return g.updateResult(),v},[g,m]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),S.useEffect(()=>{g.setOptions(d)},[d,g]),HO(d,b))throw w1(d,g,r);if(jO({result:b,errorResetBoundary:r,throwOnError:d.throwOnError,query:u.getQueryCache().get(d.queryHash),suspense:d.suspense}))throw b.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(d,b),d.experimental_prefetchInRender&&!$a&&qO(b,s)&&(h?w1(d,g,r):u.getQueryCache().get(d.queryHash)?.promise)?.catch(Bt).finally(()=>{g.updateResult()}),d.notifyOnChangeProps?b:g.trackResult(b)}function tg(t,l){return BO(t,kO)}function S6(t){return t}const ng=t=>({queryKey:["environment",t],queryFn:async()=>{const a=await(await Xh.v1.environments[":id"].$get({param:{id:t}})).json(),s="data"in a?a.data:null;return s?{...s,isProd:s.isProd===!0||s.isProd===1||s.isProd==="true"}:null},enabled:!!t&&t!=="new",staleTime:1e3*60*5}),C6=t=>{const l=At.c(2);let a;return l[0]!==t?(a=ng(t),l[0]=t,l[1]=a):a=l[1],tg(a)},VO=()=>St(()=>import("./route-Cvz2E8wB.js"),__vite__mapDeps([23,11]),import.meta.url),FO=rt("/(app)/environments/$environment")({component:kt(VO,"component"),loader:async({params:t,context:l})=>t.environment==="new"?{title:"New Environment"}:{title:(await l.queryClient.ensureQueryData(ng(t.environment)))?.name??t.environment}}),lg=t=>({queryKey:["config",t],queryFn:async()=>{const a=await(await Xh.v1.configs[":id"].$get({param:{id:t}})).json();return"data"in a?a.data:null},enabled:!!t&&t!=="new",staleTime:1e3*60*5}),E6=t=>{const l=At.c(2);let a;return l[0]!==t?(a=lg(t),l[0]=t,l[1]=a):a=l[1],tg(a)},IO=()=>St(()=>import("./route-DGdBcw_t.js"),__vite__mapDeps([24,11]),import.meta.url),YO=rt("/(app)/configs/$id")({component:kt(IO,"component"),loader:async({params:t,context:l})=>t.id==="new"?{title:"New Config"}:{title:(await l.queryClient.ensureQueryData(lg(t.id)))?.name??t.id}}),GO=()=>St(()=>import("./index-DRlL-G73.js"),__vite__mapDeps([25,26,27,11]),import.meta.url),QO=rt("/(app)/environments/$environment/")({component:kt(GO,"component"),loader:async({params:t,context:l})=>t.environment==="new"?{title:"New Environment"}:{title:(await l.queryClient.ensureQueryData(ng(t.environment)))?.name??t.environment}}),KO=()=>St(()=>import("./index-CMP2K0H_.js"),__vite__mapDeps([28,26,27,11]),import.meta.url),XO=rt("/(app)/configs/$id/")({component:kt(KO,"component"),loader:async({params:t,context:l})=>t.id==="new"?{title:"New Config"}:{title:(await l.queryClient.ensureQueryData(lg(t.id)))?.name??t.id}}),ZO=()=>St(()=>import("./_tabs-cO4nOC2j.js"),__vite__mapDeps([29,30,16,11]),import.meta.url),JO=rt("/(app)/environments/$environment/_tabs")({component:kt(ZO,"component")}),WO=()=>St(()=>import("./_variants-DsqYjhP2.js"),__vite__mapDeps([31,11]),import.meta.url),e3=rt("/(app)/configs/$id/_variants")({component:kt(WO,"component"),staticData:{customData:{title:"Variants"}}}),t3=()=>St(()=>import("./_tabs-DxDzIE4N.js"),__vite__mapDeps([32,30,16,11]),import.meta.url),n3=rt("/(app)/configs/$id/_tabs")({component:kt(t3,"component")}),l3=()=>St(()=>import("./settings-DDt--uYX.js"),__vite__mapDeps([33,19,18,34,35,36,4,37,11]),import.meta.url),a3=rt("/(app)/environments/$environment/_tabs/settings")({component:kt(l3,"component"),staticData:{customData:{title:"Settings"}}}),i3=()=>St(()=>import("./secrets-DrzFtUYD.js"),__vite__mapDeps([38,8,9,39,11]),import.meta.url),s3=rt("/(app)/environments/$environment/_tabs/secrets")({component:kt(i3,"component")}),o3=()=>St(()=>import("./variants-CWLH52O3.js"),__vite__mapDeps([40,3,4,5,41,42,43,20,11]),import.meta.url),r3=rt("/(app)/configs/$id/_tabs/variants")({component:kt(o3,"component"),staticData:{customData:{title:"Variants"}}}),u3=()=>St(()=>import("./targeting-CxbqAGy4.js"),__vite__mapDeps([44,5,18,45,42,43,11]),import.meta.url),c3=rt("/(app)/configs/$id/_tabs/targeting")({component:kt(u3,"component"),staticData:{customData:{title:"Targeting"}}}),f3=()=>St(()=>import("./settings-YrdEpQBT.js"),__vite__mapDeps([46,19,6,34,35,36,4,47,11]),import.meta.url),d3=rt("/(app)/configs/$id/_tabs/settings")({component:kt(f3,"component"),staticData:{customData:{title:"Settings"}}}),Xv=t=>({queryKey:["variant",t],queryFn:async()=>{const a=await(await Xh.v1.variants[":id"].$get({param:{id:t}})).json();return"data"in a?a.data:null},enabled:!!t,staleTime:1e3*60*5}),x6=t=>{const l=At.c(2);let a;return l[0]!==t?(a=Xv(t),l[0]=t,l[1]=a):a=l[1],tg(a)},h3=()=>St(()=>import("./_variant-Bsk3iJ00.js"),__vite__mapDeps([48,49,4,35,19,45,50,14,15,16,36,7,8,41,3,18,51,11]),import.meta.url),g3=rt("/(app)/configs/$id/_variants/variants/$variant")({component:kt(h3,"component"),loader:async({params:t,context:l})=>t.variant==="new"?{title:"New Variant"}:{title:(await l.queryClient.ensureQueryData(Xv(t.variant)))?.name??t.variant}}),b3=()=>St(()=>import("./_environment-ChR8h47P.js"),__vite__mapDeps([52,3,4,49,35,19,45,50,18,41,11]),import.meta.url),p3=rt("/(app)/configs/$id/_targeting/targeting/$environment")({component:kt(b3,"component")}),m3=CA.update({id:"/(app)/",path:"/",getParentRoute:()=>Fu}),Zv=xA.update({id:"/(app)/environments",path:"/environments",getParentRoute:()=>Fu}),Jv=TA.update({id:"/(app)/configs",path:"/configs",getParentRoute:()=>Fu}),ag=FO.update({id:"/$environment",path:"/$environment",getParentRoute:()=>Zv}),mo=YO.update({id:"/$id",path:"/$id",getParentRoute:()=>Jv}),y3=QO.update({id:"/",path:"/",getParentRoute:()=>ag}),v3=XO.update({id:"/",path:"/",getParentRoute:()=>mo}),ig=JO.update({id:"/_tabs",getParentRoute:()=>ag}),Wv=e3.update({id:"/_variants",getParentRoute:()=>mo}),Iu=n3.update({id:"/_tabs",getParentRoute:()=>mo}),_3=a3.update({id:"/settings",path:"/settings",getParentRoute:()=>ig}),k3=s3.update({id:"/secrets",path:"/secrets",getParentRoute:()=>ig}),S3=r3.update({id:"/variants",path:"/variants",getParentRoute:()=>Iu}),C3=c3.update({id:"/targeting",path:"/targeting",getParentRoute:()=>Iu}),E3=d3.update({id:"/settings",path:"/settings",getParentRoute:()=>Iu}),x3=g3.update({id:"/variants/$variant",path:"/variants/$variant",getParentRoute:()=>Wv}),R3=p3.update({id:"/_targeting/targeting/$environment",path:"/targeting/$environment",getParentRoute:()=>mo}),T3={appConfigsIdTabsSettingsRoute:E3,appConfigsIdTabsTargetingRoute:C3,appConfigsIdTabsVariantsRoute:S3},w3=Iu._addFileChildren(T3),A3={appConfigsIdVariantsVariantsVariantRoute:x3},O3=Wv._addFileChildren(A3),M3={appConfigsIdTabsRoute:w3,appConfigsIdVariantsRoute:O3,appConfigsIdIndexRoute:v3,appConfigsIdTargetingTargetingEnvironmentRoute:R3},z3=mo._addFileChildren(M3),D3={appConfigsIdRouteRoute:z3},L3=Jv._addFileChildren(D3),P3={appEnvironmentsEnvironmentTabsSecretsRoute:k3,appEnvironmentsEnvironmentTabsSettingsRoute:_3},N3=ig._addFileChildren(P3),$3={appEnvironmentsEnvironmentTabsRoute:N3,appEnvironmentsEnvironmentIndexRoute:y3},j3=ag._addFileChildren($3),U3={appEnvironmentsEnvironmentRouteRoute:j3},q3=Zv._addFileChildren(U3),H3={appConfigsRoute:L3,appEnvironmentsRoute:q3,appIndexRoute:m3},B3=Fu._addFileChildren(H3)._addFileTypes();var Ld={exports:{}},qs={},Pd={exports:{}},Nd={};var A1;function V3(){return A1||(A1=1,(function(t){function l(T,F){var q=T.length;T.push(F);e:for(;0<q;){var ae=q-1>>>1,de=T[ae];if(0<r(de,F))T[ae]=F,T[q]=de,q=ae;else break e}}function a(T){return T.length===0?null:T[0]}function s(T){if(T.length===0)return null;var F=T[0],q=T.pop();if(q!==F){T[0]=q;e:for(var ae=0,de=T.length,w=de>>>1;ae<w;){var Q=2*(ae+1)-1,ne=T[Q],se=Q+1,re=T[se];if(0>r(ne,q))se<de&&0>r(re,ne)?(T[ae]=re,T[se]=q,ae=se):(T[ae]=ne,T[Q]=q,ae=Q);else if(se<de&&0>r(re,q))T[ae]=re,T[se]=q,ae=se;else break e}}return F}function r(T,F){var q=T.sortIndex-F.sortIndex;return q!==0?q:T.id-F.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var d=Date,h=d.now();t.unstable_now=function(){return d.now()-h}}var g=[],b=[],m=1,p=null,v=3,_=!1,C=!1,E=!1,x=!1,R=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function j(T){for(var F=a(b);F!==null;){if(F.callback===null)s(b);else if(F.startTime<=T)s(b),F.sortIndex=F.expirationTime,l(g,F);else break;F=a(b)}}function U(T){if(E=!1,j(T),!C)if(a(g)!==null)C=!0,P||(P=!0,K());else{var F=a(b);F!==null&&le(U,F.startTime-T)}}var P=!1,M=-1,N=5,J=-1;function ee(){return x?!0:!(t.unstable_now()-J<N)}function z(){if(x=!1,P){var T=t.unstable_now();J=T;var F=!0;try{e:{C=!1,E&&(E=!1,O(M),M=-1),_=!0;var q=v;try{t:{for(j(T),p=a(g);p!==null&&!(p.expirationTime>T&&ee());){var ae=p.callback;if(typeof ae=="function"){p.callback=null,v=p.priorityLevel;var de=ae(p.expirationTime<=T);if(T=t.unstable_now(),typeof de=="function"){p.callback=de,j(T),F=!0;break t}p===a(g)&&s(g),j(T)}else s(g);p=a(g)}if(p!==null)F=!0;else{var w=a(b);w!==null&&le(U,w.startTime-T),F=!1}}break e}finally{p=null,v=q,_=!1}F=void 0}}finally{F?K():P=!1}}}var K;if(typeof L=="function")K=function(){L(z)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,G=I.port2;I.port1.onmessage=z,K=function(){G.postMessage(null)}}else K=function(){R(z,0)};function le(T,F){M=R(function(){T(t.unstable_now())},F)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(T){T.callback=null},t.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<T?Math.floor(1e3/T):5},t.unstable_getCurrentPriorityLevel=function(){return v},t.unstable_next=function(T){switch(v){case 1:case 2:case 3:var F=3;break;default:F=v}var q=v;v=F;try{return T()}finally{v=q}},t.unstable_requestPaint=function(){x=!0},t.unstable_runWithPriority=function(T,F){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var q=v;v=T;try{return F()}finally{v=q}},t.unstable_scheduleCallback=function(T,F,q){var ae=t.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?ae+q:ae):q=ae,T){case 1:var de=-1;break;case 2:de=250;break;case 5:de=1073741823;break;case 4:de=1e4;break;default:de=5e3}return de=q+de,T={id:m++,callback:F,priorityLevel:T,startTime:q,expirationTime:de,sortIndex:-1},q>ae?(T.sortIndex=q,l(b,T),a(g)===null&&T===a(b)&&(E?(O(M),M=-1):E=!0,le(U,q-ae))):(T.sortIndex=de,l(g,T),C||_||(C=!0,P||(P=!0,K()))),T},t.unstable_shouldYield=ee,t.unstable_wrapCallback=function(T){var F=v;return function(){var q=v;v=F;try{return T.apply(this,arguments)}finally{v=q}}}})(Nd)),Nd}var O1;function F3(){return O1||(O1=1,Pd.exports=V3()),Pd.exports}var M1;function I3(){if(M1)return qs;M1=1;var t=F3(),l=Ni(),a=X1();function s(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)n+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var n=e,i=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(i=n.return),e=n.return;while(e)}return n.tag===3?i:null}function d(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function h(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function g(e){if(u(e)!==e)throw Error(s(188))}function b(e){var n=e.alternate;if(!n){if(n=u(e),n===null)throw Error(s(188));return n!==e?null:e}for(var i=e,o=n;;){var c=i.return;if(c===null)break;var f=c.alternate;if(f===null){if(o=c.return,o!==null){i=o;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===i)return g(c),e;if(f===o)return g(c),n;f=f.sibling}throw Error(s(188))}if(i.return!==o.return)i=c,o=f;else{for(var y=!1,k=c.child;k;){if(k===i){y=!0,i=c,o=f;break}if(k===o){y=!0,o=c,i=f;break}k=k.sibling}if(!y){for(k=f.child;k;){if(k===i){y=!0,i=f,o=c;break}if(k===o){y=!0,o=f,i=c;break}k=k.sibling}if(!y)throw Error(s(189))}}if(i.alternate!==o)throw Error(s(190))}if(i.tag!==3)throw Error(s(188));return i.stateNode.current===i?e:n}function m(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=m(e),n!==null)return n;e=e.sibling}return null}var p=Object.assign,v=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),L=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),ee=Symbol.for("react.memo_cache_sentinel"),z=Symbol.iterator;function K(e){return e===null||typeof e!="object"?null:(e=z&&e[z]||e["@@iterator"],typeof e=="function"?e:null)}var I=Symbol.for("react.client.reference");function G(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===I?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case R:return"Profiler";case x:return"StrictMode";case U:return"Suspense";case P:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case C:return"Portal";case L:return e.displayName||"Context";case O:return(e._context.displayName||"Context")+".Consumer";case j:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case M:return n=e.displayName||null,n!==null?n:G(e.type)||"Memo";case N:n=e._payload,e=e._init;try{return G(e(n))}catch{}}return null}var le=Array.isArray,T=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q={pending:!1,data:null,method:null,action:null},ae=[],de=-1;function w(e){return{current:e}}function Q(e){0>de||(e.current=ae[de],ae[de]=null,de--)}function ne(e,n){de++,ae[de]=e.current,e.current=n}var se=w(null),re=w(null),oe=w(null),ue=w(null);function we(e,n){switch(ne(oe,n),ne(re,e),ne(se,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?vp(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=vp(n),e=_p(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Q(se),ne(se,e)}function ye(){Q(se),Q(re),Q(oe)}function Ke(e){e.memoizedState!==null&&ne(ue,e);var n=se.current,i=_p(n,e.type);n!==i&&(ne(re,e),ne(se,i))}function ie(e){re.current===e&&(Q(se),Q(re)),ue.current===e&&(Q(ue),Os._currentValue=q)}var pe,ge;function Ye(e){if(pe===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);pe=n&&n[1]||"",ge=-1<i.stack.indexOf(`
|
|
9
9
|
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
10
10
|
`+pe+e+ge}var _e=!1;function je(e,n){if(!e||_e)return"";_e=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(Y){var V=Y}Reflect.construct(e,[],te)}else{try{te.call()}catch(Y){V=Y}e.call(te.prototype)}}else{try{throw Error()}catch(Y){V=Y}(te=e())&&typeof te.catch=="function"&&te.catch(function(){})}}catch(Y){if(Y&&V&&typeof Y.stack=="string")return[Y.stack,V.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=o.DetermineComponentFrameRoot(),y=f[0],k=f[1];if(y&&k){var A=y.split(`
|
|
11
11
|
`),B=k.split(`
|