@ipv9/tokentracker-cli 0.39.37 → 0.39.39
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/README.md +41 -9
- package/dashboard/dist/assets/{Card-DKmo-v8a.js → Card-BbRYRVXf.js} +1 -1
- package/dashboard/dist/assets/DashboardPage-DYKHv0m3.js +60 -0
- package/dashboard/dist/assets/{FadeIn-Cf30rPTW.js → FadeIn-CjAacJ5t.js} +1 -1
- package/dashboard/dist/assets/{IpCheckPage-D3CL8XP0.js → IpCheckPage-BGALK8Vy.js} +1 -1
- package/dashboard/dist/assets/{LimitsPage-BqST7DxD.js → LimitsPage-LkZGPYvg.js} +2 -2
- package/dashboard/dist/assets/{LocalOnlyNotice-CqHzPooT.js → LocalOnlyNotice-Dxo2vFMQ.js} +1 -1
- package/dashboard/dist/assets/PopoverPopup-DP9fwdtl.js +1 -0
- package/dashboard/dist/assets/Select-DPE53NmM.js +1 -0
- package/dashboard/dist/assets/SelectItemText-D69v77is.js +12 -0
- package/dashboard/dist/assets/SettingsPage-Dxzqpi02.js +1 -0
- package/dashboard/dist/assets/SkillsPage-Bo7e39AB.js +1 -0
- package/dashboard/dist/assets/WidgetsPage-HHcIr_Eq.js +1 -0
- package/dashboard/dist/assets/WrappedPage-C-_jLXXU.js +1 -0
- package/dashboard/dist/assets/{arrow-up-right-BJzUcPig.js → arrow-up-right-BJvJHUGj.js} +1 -1
- package/dashboard/dist/assets/{download-CsXweDLj.js → download-CnzY_EgN.js} +1 -1
- package/dashboard/dist/assets/format-1w-q5n2f.js +1 -0
- package/dashboard/dist/assets/main-1kxAVM3m.css +1 -0
- package/dashboard/dist/assets/main-3gBEI6Jl.js +694 -0
- package/dashboard/dist/assets/mock-data-CJOMGcL9.js +1 -0
- package/dashboard/dist/assets/use-limits-display-prefs-D1nT9-mr.js +1 -0
- package/dashboard/dist/assets/use-native-settings-Dh6NzqjY.js +1 -0
- package/dashboard/dist/assets/use-usage-limits-BXR6lzGf.js +1 -0
- package/dashboard/dist/assets/useCurrency-Hhs5jbWw.js +1 -0
- package/dashboard/dist/index.html +16 -28
- package/dashboard/dist/llms.txt +0 -2
- package/dashboard/dist/sitemap.xml +0 -12
- package/package.json +7 -4
- package/src/cli.js +4 -13
- package/src/commands/doctor.js +1 -3
- package/src/commands/init.js +63 -53
- package/src/commands/serve.js +2 -50
- package/src/commands/status.js +1 -55
- package/src/commands/sync.js +134 -227
- package/src/lib/{browser-auth.js → browser-open.js} +3 -149
- package/src/lib/claude-categorizer.js +204 -32
- package/src/lib/codex-context-breakdown.js +83 -7
- package/src/lib/codex-rollout-parser.js +52 -10
- package/src/lib/diagnostics.js +1 -49
- package/src/lib/doctor.js +12 -87
- package/src/lib/file-identity.js +69 -0
- package/src/lib/init-flow.js +6 -3
- package/src/lib/local-api.js +6 -364
- package/src/lib/pricing/curated-overrides.json +1 -1
- package/src/lib/pricing/seed-snapshot.json +1 -1
- package/src/lib/rollout.js +392 -144
- package/src/lib/runtime-config.js +0 -32
- package/src/lib/sqlite-reader.js +83 -8
- package/dashboard/dist/assets/ActivityHeatmap-DPZ_Aj6E.js +0 -42
- package/dashboard/dist/assets/DashboardPage-C9Q5HCDh.js +0 -19
- package/dashboard/dist/assets/DevicePage-DhQFtROo.js +0 -1
- package/dashboard/dist/assets/DialogTitle-DduJCLiL.js +0 -1
- package/dashboard/dist/assets/InsforgeUserHeaderControls-CDqYVWBQ.js +0 -1
- package/dashboard/dist/assets/LandingPage-9345o0vr.js +0 -4356
- package/dashboard/dist/assets/LeaderboardAvatar-DNORVh3n.js +0 -1
- package/dashboard/dist/assets/LeaderboardPage-DBsdCCzY.js +0 -6
- package/dashboard/dist/assets/LeaderboardProfileModal-BuYdBVh_.js +0 -72
- package/dashboard/dist/assets/LeaderboardProfilePage-D4Fe1LOk.js +0 -1
- package/dashboard/dist/assets/LoginPage-BmcybmeK.js +0 -1
- package/dashboard/dist/assets/PopoverPopup-CDL7kqy5.js +0 -1
- package/dashboard/dist/assets/Select-BkzhG41t.js +0 -1
- package/dashboard/dist/assets/SelectItemText-BmRzs9ud.js +0 -1
- package/dashboard/dist/assets/SettingsPage-gXQl_o6s.js +0 -1
- package/dashboard/dist/assets/SkillsPage-BRXYEsKm.js +0 -1
- package/dashboard/dist/assets/WidgetsPage-CLHLz2UW.js +0 -1
- package/dashboard/dist/assets/WrappedPage-p4ZFwQjO.js +0 -1
- package/dashboard/dist/assets/index-BeoRn2gJ.js +0 -2
- package/dashboard/dist/assets/info-CuLr7ZIa.js +0 -1
- package/dashboard/dist/assets/main-CPGI-smk.js +0 -1004
- package/dashboard/dist/assets/main-DAcSUW2t.css +0 -1
- package/dashboard/dist/assets/use-limits-display-prefs-DOB09__q.js +0 -1
- package/dashboard/dist/assets/use-native-settings-JSylS2xS.js +0 -1
- package/dashboard/dist/assets/use-spring-qjUEvMQX.js +0 -1
- package/dashboard/dist/assets/use-usage-limits-B0bzPxNR.js +0 -1
- package/dashboard/dist/assets/useCurrency-BRorShq7.js +0 -1
- package/dashboard/dist/assets/useOpenInteractionType-DPP-6ZsL.js +0 -12
- package/dashboard/dist/share.html +0 -140
- package/src/commands/device-login.js +0 -161
- package/src/lib/upload-throttle.js +0 -148
|
@@ -0,0 +1,694 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LimitsPage-LkZGPYvg.js","assets/use-usage-limits-BXR6lzGf.js","assets/mock-data-CJOMGcL9.js","assets/format-1w-q5n2f.js","assets/use-limits-display-prefs-D1nT9-mr.js","assets/Card-BbRYRVXf.js","assets/FadeIn-CjAacJ5t.js","assets/LocalOnlyNotice-Dxo2vFMQ.js","assets/arrow-up-right-BJvJHUGj.js","assets/download-CnzY_EgN.js","assets/DashboardPage-DYKHv0m3.js","assets/useCurrency-Hhs5jbWw.js","assets/PopoverPopup-DP9fwdtl.js","assets/SelectItemText-D69v77is.js","assets/Select-DPE53NmM.js","assets/WrappedPage-C-_jLXXU.js","assets/SettingsPage-Dxzqpi02.js","assets/use-native-settings-Dh6NzqjY.js","assets/SkillsPage-Bo7e39AB.js","assets/WidgetsPage-HHcIr_Eq.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
function Jw(e,t){for(var a=0;a<t.length;a++){const i=t[a];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in e)){const c=Object.getOwnPropertyDescriptor(i,s);c&&Object.defineProperty(e,s,c.get?c:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function a(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(s){if(s.ep)return;s.ep=!0;const c=a(s);fetch(s.href,c)}})();function e1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ju={exports:{}},ko={},ed={exports:{}},Ve={};var rg;function t1(){if(rg)return Ve;rg=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;function y(E){return E===null||typeof E!="object"?null:(E=v&&E[v]||E["@@iterator"],typeof E=="function"?E:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,P={};function S(E,$,de){this.props=E,this.context=$,this.refs=P,this.updater=de||_}S.prototype.isReactComponent={},S.prototype.setState=function(E,$){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,$,"setState")},S.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function N(){}N.prototype=S.prototype;function j(E,$,de){this.props=E,this.context=$,this.refs=P,this.updater=de||_}var I=j.prototype=new N;I.constructor=j,w(I,S.prototype),I.isPureReactComponent=!0;var D=Array.isArray,B=Object.prototype.hasOwnProperty,Z={current:null},oe={key:!0,ref:!0,__self:!0,__source:!0};function x(E,$,de){var fe,he={},pe=null,De=null;if($!=null)for(fe in $.ref!==void 0&&(De=$.ref),$.key!==void 0&&(pe=""+$.key),$)B.call($,fe)&&!oe.hasOwnProperty(fe)&&(he[fe]=$[fe]);var je=arguments.length-2;if(je===1)he.children=de;else if(1<je){for(var Ce=Array(je),ut=0;ut<je;ut++)Ce[ut]=arguments[ut+2];he.children=Ce}if(E&&E.defaultProps)for(fe in je=E.defaultProps,je)he[fe]===void 0&&(he[fe]=je[fe]);return{$$typeof:e,type:E,key:pe,ref:De,props:he,_owner:Z.current}}function ee(E,$){return{$$typeof:e,type:E.type,key:$,ref:E.ref,props:E.props,_owner:E._owner}}function Y(E){return typeof E=="object"&&E!==null&&E.$$typeof===e}function ue(E){var $={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(de){return $[de]})}var se=/\/+/g;function q(E,$){return typeof E=="object"&&E!==null&&E.key!=null?ue(""+E.key):$.toString(36)}function ae(E,$,de,fe,he){var pe=typeof E;(pe==="undefined"||pe==="boolean")&&(E=null);var De=!1;if(E===null)De=!0;else switch(pe){case"string":case"number":De=!0;break;case"object":switch(E.$$typeof){case e:case t:De=!0}}if(De)return De=E,he=he(De),E=fe===""?"."+q(De,0):fe,D(he)?(de="",E!=null&&(de=E.replace(se,"$&/")+"/"),ae(he,$,de,"",function(ut){return ut})):he!=null&&(Y(he)&&(he=ee(he,de+(!he.key||De&&De.key===he.key?"":(""+he.key).replace(se,"$&/")+"/")+E)),$.push(he)),1;if(De=0,fe=fe===""?".":fe+":",D(E))for(var je=0;je<E.length;je++){pe=E[je];var Ce=fe+q(pe,je);De+=ae(pe,$,de,Ce,he)}else if(Ce=y(E),typeof Ce=="function")for(E=Ce.call(E),je=0;!(pe=E.next()).done;)pe=pe.value,Ce=fe+q(pe,je++),De+=ae(pe,$,de,Ce,he);else if(pe==="object")throw $=String(E),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.");return De}function ie(E,$,de){if(E==null)return E;var fe=[],he=0;return ae(E,fe,"","",function(pe){return $.call(de,pe,he++)}),fe}function Q(E){if(E._status===-1){var $=E._result;$=$(),$.then(function(de){(E._status===0||E._status===-1)&&(E._status=1,E._result=de)},function(de){(E._status===0||E._status===-1)&&(E._status=2,E._result=de)}),E._status===-1&&(E._status=0,E._result=$)}if(E._status===1)return E._result.default;throw E._result}var ne={current:null},V={transition:null},W={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:V,ReactCurrentOwner:Z};function O(){throw Error("act(...) is not supported in production builds of React.")}return Ve.Children={map:ie,forEach:function(E,$,de){ie(E,function(){$.apply(this,arguments)},de)},count:function(E){var $=0;return ie(E,function(){$++}),$},toArray:function(E){return ie(E,function($){return $})||[]},only:function(E){if(!Y(E))throw Error("React.Children.only expected to receive a single React element child.");return E}},Ve.Component=S,Ve.Fragment=a,Ve.Profiler=s,Ve.PureComponent=j,Ve.StrictMode=i,Ve.Suspense=p,Ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W,Ve.act=O,Ve.cloneElement=function(E,$,de){if(E==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+E+".");var fe=w({},E.props),he=E.key,pe=E.ref,De=E._owner;if($!=null){if($.ref!==void 0&&(pe=$.ref,De=Z.current),$.key!==void 0&&(he=""+$.key),E.type&&E.type.defaultProps)var je=E.type.defaultProps;for(Ce in $)B.call($,Ce)&&!oe.hasOwnProperty(Ce)&&(fe[Ce]=$[Ce]===void 0&&je!==void 0?je[Ce]:$[Ce])}var Ce=arguments.length-2;if(Ce===1)fe.children=de;else if(1<Ce){je=Array(Ce);for(var ut=0;ut<Ce;ut++)je[ut]=arguments[ut+2];fe.children=je}return{$$typeof:e,type:E.type,key:he,ref:pe,props:fe,_owner:De}},Ve.createContext=function(E){return E={$$typeof:u,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},E.Provider={$$typeof:c,_context:E},E.Consumer=E},Ve.createElement=x,Ve.createFactory=function(E){var $=x.bind(null,E);return $.type=E,$},Ve.createRef=function(){return{current:null}},Ve.forwardRef=function(E){return{$$typeof:d,render:E}},Ve.isValidElement=Y,Ve.lazy=function(E){return{$$typeof:g,_payload:{_status:-1,_result:E},_init:Q}},Ve.memo=function(E,$){return{$$typeof:f,type:E,compare:$===void 0?null:$}},Ve.startTransition=function(E){var $=V.transition;V.transition={};try{E()}finally{V.transition=$}},Ve.unstable_act=O,Ve.useCallback=function(E,$){return ne.current.useCallback(E,$)},Ve.useContext=function(E){return ne.current.useContext(E)},Ve.useDebugValue=function(){},Ve.useDeferredValue=function(E){return ne.current.useDeferredValue(E)},Ve.useEffect=function(E,$){return ne.current.useEffect(E,$)},Ve.useId=function(){return ne.current.useId()},Ve.useImperativeHandle=function(E,$,de){return ne.current.useImperativeHandle(E,$,de)},Ve.useInsertionEffect=function(E,$){return ne.current.useInsertionEffect(E,$)},Ve.useLayoutEffect=function(E,$){return ne.current.useLayoutEffect(E,$)},Ve.useMemo=function(E,$){return ne.current.useMemo(E,$)},Ve.useReducer=function(E,$,de){return ne.current.useReducer(E,$,de)},Ve.useRef=function(E){return ne.current.useRef(E)},Ve.useState=function(E){return ne.current.useState(E)},Ve.useSyncExternalStore=function(E,$,de){return ne.current.useSyncExternalStore(E,$,de)},Ve.useTransition=function(){return ne.current.useTransition()},Ve.version="18.3.1",Ve}var ag;function Ph(){return ag||(ag=1,ed.exports=t1()),ed.exports}var ig;function n1(){if(ig)return ko;ig=1;var e=Ph(),t=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(d,p,f){var g,v={},y=null,_=null;f!==void 0&&(y=""+f),p.key!==void 0&&(y=""+p.key),p.ref!==void 0&&(_=p.ref);for(g in p)i.call(p,g)&&!c.hasOwnProperty(g)&&(v[g]=p[g]);if(d&&d.defaultProps)for(g in p=d.defaultProps,p)v[g]===void 0&&(v[g]=p[g]);return{$$typeof:t,type:d,key:y,ref:_,props:v,_owner:s.current}}return ko.Fragment=a,ko.jsx=u,ko.jsxs=u,ko}var og;function r1(){return og||(og=1,Ju.exports=n1()),Ju.exports}var L=r1(),k=Ph();const Sh=e1(k),Ch=Jw({__proto__:null,default:Sh},[k]);var ml={},td={exports:{}},nn={},nd={exports:{}},rd={};var sg;function a1(){return sg||(sg=1,(function(e){function t(V,W){var O=V.length;V.push(W);e:for(;0<O;){var E=O-1>>>1,$=V[E];if(0<s($,W))V[E]=W,V[O]=$,O=E;else break e}}function a(V){return V.length===0?null:V[0]}function i(V){if(V.length===0)return null;var W=V[0],O=V.pop();if(O!==W){V[0]=O;e:for(var E=0,$=V.length,de=$>>>1;E<de;){var fe=2*(E+1)-1,he=V[fe],pe=fe+1,De=V[pe];if(0>s(he,O))pe<$&&0>s(De,he)?(V[E]=De,V[pe]=O,E=pe):(V[E]=he,V[fe]=O,E=fe);else if(pe<$&&0>s(De,O))V[E]=De,V[pe]=O,E=pe;else break e}}return W}function s(V,W){var O=V.sortIndex-W.sortIndex;return O!==0?O:V.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var p=[],f=[],g=1,v=null,y=3,_=!1,w=!1,P=!1,S=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function I(V){for(var W=a(f);W!==null;){if(W.callback===null)i(f);else if(W.startTime<=V)i(f),W.sortIndex=W.expirationTime,t(p,W);else break;W=a(f)}}function D(V){if(P=!1,I(V),!w)if(a(p)!==null)w=!0,Q(B);else{var W=a(f);W!==null&&ne(D,W.startTime-V)}}function B(V,W){w=!1,P&&(P=!1,N(x),x=-1),_=!0;var O=y;try{for(I(W),v=a(p);v!==null&&(!(v.expirationTime>W)||V&&!ue());){var E=v.callback;if(typeof E=="function"){v.callback=null,y=v.priorityLevel;var $=E(v.expirationTime<=W);W=e.unstable_now(),typeof $=="function"?v.callback=$:v===a(p)&&i(p),I(W)}else i(p);v=a(p)}if(v!==null)var de=!0;else{var fe=a(f);fe!==null&&ne(D,fe.startTime-W),de=!1}return de}finally{v=null,y=O,_=!1}}var Z=!1,oe=null,x=-1,ee=5,Y=-1;function ue(){return!(e.unstable_now()-Y<ee)}function se(){if(oe!==null){var V=e.unstable_now();Y=V;var W=!0;try{W=oe(!0,V)}finally{W?q():(Z=!1,oe=null)}}else Z=!1}var q;if(typeof j=="function")q=function(){j(se)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,ie=ae.port2;ae.port1.onmessage=se,q=function(){ie.postMessage(null)}}else q=function(){S(se,0)};function Q(V){oe=V,Z||(Z=!0,q())}function ne(V,W){x=S(function(){V(e.unstable_now())},W)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(V){V.callback=null},e.unstable_continueExecution=function(){w||_||(w=!0,Q(B))},e.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<V?Math.floor(1e3/V):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return a(p)},e.unstable_next=function(V){switch(y){case 1:case 2:case 3:var W=3;break;default:W=y}var O=y;y=W;try{return V()}finally{y=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(V,W){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var O=y;y=V;try{return W()}finally{y=O}},e.unstable_scheduleCallback=function(V,W,O){var E=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?E+O:E):O=E,V){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=O+$,V={id:g++,callback:W,priorityLevel:V,startTime:O,expirationTime:$,sortIndex:-1},O>E?(V.sortIndex=O,t(f,V),a(p)===null&&V===a(f)&&(P?(N(x),x=-1):P=!0,ne(D,O-E))):(V.sortIndex=$,t(p,V),w||_||(w=!0,Q(B))),V},e.unstable_shouldYield=ue,e.unstable_wrapCallback=function(V){var W=y;return function(){var O=y;y=W;try{return V.apply(this,arguments)}finally{y=O}}}})(rd)),rd}var lg;function i1(){return lg||(lg=1,nd.exports=a1()),nd.exports}var cg;function o1(){if(cg)return nn;cg=1;var e=Ph(),t=i1();function a(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,o=1;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function c(n,r){u(n,r),u(n+"Capture",r)}function u(n,r){for(s[n]=r,n=0;n<r.length;n++)i.add(r[n])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},v={};function y(n){return p.call(v,n)?!0:p.call(g,n)?!1:f.test(n)?v[n]=!0:(g[n]=!0,!1)}function _(n,r,o,l){if(o!==null&&o.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return l?!1:o!==null?!o.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function w(n,r,o,l){if(r===null||typeof r>"u"||_(n,r,o,l))return!0;if(l)return!1;if(o!==null)switch(o.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function P(n,r,o,l,h,m,b){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=l,this.attributeNamespace=h,this.mustUseProperty=o,this.propertyName=n,this.type=r,this.sanitizeURL=m,this.removeEmptyString=b}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){S[n]=new P(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];S[r]=new P(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){S[n]=new P(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){S[n]=new P(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){S[n]=new P(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){S[n]=new P(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){S[n]=new P(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){S[n]=new P(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){S[n]=new P(n,5,!1,n.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function j(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(N,j);S[r]=new P(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(N,j);S[r]=new P(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(N,j);S[r]=new P(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){S[n]=new P(n,1,!1,n.toLowerCase(),null,!1,!1)}),S.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){S[n]=new P(n,1,!1,n.toLowerCase(),null,!0,!0)});function I(n,r,o,l){var h=S.hasOwnProperty(r)?S[r]:null;(h!==null?h.type!==0:l||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(w(r,o,h,l)&&(o=null),l||h===null?y(r)&&(o===null?n.removeAttribute(r):n.setAttribute(r,""+o)):h.mustUseProperty?n[h.propertyName]=o===null?h.type===3?!1:"":o:(r=h.attributeName,l=h.attributeNamespace,o===null?n.removeAttribute(r):(h=h.type,o=h===3||h===4&&o===!0?"":""+o,l?n.setAttributeNS(l,r,o):n.setAttribute(r,o))))}var D=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,B=Symbol.for("react.element"),Z=Symbol.for("react.portal"),oe=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),Y=Symbol.for("react.provider"),ue=Symbol.for("react.context"),se=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),V=Symbol.iterator;function W(n){return n===null||typeof n!="object"?null:(n=V&&n[V]||n["@@iterator"],typeof n=="function"?n:null)}var O=Object.assign,E;function $(n){if(E===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);E=r&&r[1]||""}return`
|
|
3
|
+
`+E+n}var de=!1;function fe(n,r){if(!n||de)return"";de=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(H){var l=H}Reflect.construct(n,[],r)}else{try{r.call()}catch(H){l=H}n.call(r.prototype)}else{try{throw Error()}catch(H){l=H}n()}}catch(H){if(H&&l&&typeof H.stack=="string"){for(var h=H.stack.split(`
|
|
4
|
+
`),m=l.stack.split(`
|
|
5
|
+
`),b=h.length-1,C=m.length-1;1<=b&&0<=C&&h[b]!==m[C];)C--;for(;1<=b&&0<=C;b--,C--)if(h[b]!==m[C]){if(b!==1||C!==1)do if(b--,C--,0>C||h[b]!==m[C]){var R=`
|
|
6
|
+
`+h[b].replace(" at new "," at ");return n.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",n.displayName)),R}while(1<=b&&0<=C);break}}}finally{de=!1,Error.prepareStackTrace=o}return(n=n?n.displayName||n.name:"")?$(n):""}function he(n){switch(n.tag){case 5:return $(n.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return n=fe(n.type,!1),n;case 11:return n=fe(n.type.render,!1),n;case 1:return n=fe(n.type,!0),n;default:return""}}function pe(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case oe:return"Fragment";case Z:return"Portal";case ee:return"Profiler";case x:return"StrictMode";case q:return"Suspense";case ae:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case ue:return(n.displayName||"Context")+".Consumer";case Y:return(n._context.displayName||"Context")+".Provider";case se:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ie:return r=n.displayName||null,r!==null?r:pe(n.type)||"Memo";case Q:r=n._payload,n=n._init;try{return pe(n(r))}catch{}}return null}function De(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pe(r);case 8:return r===x?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function je(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Ce(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function ut(n){var r=Ce(n)?"checked":"value",o=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),l=""+n[r];if(!n.hasOwnProperty(r)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var h=o.get,m=o.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return h.call(this)},set:function(b){l=""+b,m.call(this,b)}}),Object.defineProperty(n,r,{enumerable:o.enumerable}),{getValue:function(){return l},setValue:function(b){l=""+b},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function an(n){n._valueTracker||(n._valueTracker=ut(n))}function Xt(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var o=r.getValue(),l="";return n&&(l=Ce(n)?n.checked?"true":"false":n.value),n=l,n!==o?(r.setValue(n),!0):!1}function qe(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Et(n,r){var o=r.checked;return O({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??n._wrapperState.initialChecked})}function ua(n,r){var o=r.defaultValue==null?"":r.defaultValue,l=r.checked!=null?r.checked:r.defaultChecked;o=je(r.value!=null?r.value:o),n._wrapperState={initialChecked:l,initialValue:o,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Ha(n,r){r=r.checked,r!=null&&I(n,"checked",r,!1)}function on(n,r){Ha(n,r);var o=je(r.value),l=r.type;if(o!=null)l==="number"?(o===0&&n.value===""||n.value!=o)&&(n.value=""+o):n.value!==""+o&&(n.value=""+o);else if(l==="submit"||l==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?_r(n,r.type,o):r.hasOwnProperty("defaultValue")&&_r(n,r.type,je(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function Wa(n,r,o){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var l=r.type;if(!(l!=="submit"&&l!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,o||r===n.value||(n.value=r),n.defaultValue=r}o=n.name,o!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,o!==""&&(n.name=o)}function _r(n,r,o){(r!=="number"||qe(n.ownerDocument)!==n)&&(o==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+o&&(n.defaultValue=""+o))}var Wn=Array.isArray;function Bt(n,r,o,l){if(n=n.options,r){r={};for(var h=0;h<o.length;h++)r["$"+o[h]]=!0;for(o=0;o<n.length;o++)h=r.hasOwnProperty("$"+n[o].value),n[o].selected!==h&&(n[o].selected=h),h&&l&&(n[o].defaultSelected=!0)}else{for(o=""+je(o),r=null,h=0;h<n.length;h++){if(n[h].value===o){n[h].selected=!0,l&&(n[h].defaultSelected=!0);return}r!==null||n[h].disabled||(r=n[h])}r!==null&&(r.selected=!0)}}function da(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(a(91));return O({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function $a(n,r){var o=r.value;if(o==null){if(o=r.children,r=r.defaultValue,o!=null){if(r!=null)throw Error(a(92));if(Wn(o)){if(1<o.length)throw Error(a(93));o=o[0]}r=o}r==null&&(r=""),o=r}n._wrapperState={initialValue:je(o)}}function Le(n,r){var o=je(r.value),l=je(r.defaultValue);o!=null&&(o=""+o,o!==n.value&&(n.value=o),r.defaultValue==null&&n.defaultValue!==o&&(n.defaultValue=o)),l!=null&&(n.defaultValue=""+l)}function Ae(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Ze(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ot(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Ze(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var mt,Je=(function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,o,l,h){MSApp.execUnsafeLocalFunction(function(){return n(r,o,l,h)})}:n})(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(mt=mt||document.createElement("div"),mt.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=mt.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function Ke(n,r){if(r){var o=n.firstChild;if(o&&o===n.lastChild&&o.nodeType===3){o.nodeValue=r;return}}n.textContent=r}var or={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ji=["Webkit","ms","Moz","O"];Object.keys(or).forEach(function(n){ji.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),or[r]=or[n]})});function Pt(n,r,o){return r==null||typeof r=="boolean"||r===""?"":o||typeof r!="number"||r===0||or.hasOwnProperty(n)&&or[n]?(""+r).trim():r+"px"}function sr(n,r){n=n.style;for(var o in r)if(r.hasOwnProperty(o)){var l=o.indexOf("--")===0,h=Pt(o,r[o],l);o==="float"&&(o="cssFloat"),l?n.setProperty(o,h):n[o]=h}}var Ht=O({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $n(n,r){if(r){if(Ht[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(a(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(a(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(a(61))}if(r.style!=null&&typeof r.style!="object")throw Error(a(62))}}function Gn(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rn=null;function ha(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var wr=null,sn=null,lr=null;function Ga(n){if(n=ro(n)){if(typeof wr!="function")throw Error(a(280));var r=n.stateNode;r&&(r=Ds(r),wr(n.stateNode,n.type,r))}}function hs(n){sn?lr?lr.push(n):lr=[n]:sn=n}function Oi(){if(sn){var n=sn,r=lr;if(lr=sn=null,Ga(n),r)for(n=0;n<r.length;n++)Ga(r[n])}}function fs(n,r){return n(r)}function zi(){}var xr=!1;function fa(n,r,o){if(xr)return n(r,o);xr=!0;try{return fs(n,r,o)}finally{xr=!1,(sn!==null||lr!==null)&&(zi(),Oi())}}function Pr(n,r){var o=n.stateNode;if(o===null)return null;var l=Ds(o);if(l===null)return null;o=l[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(n=n.type,l=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!l;break e;default:n=!1}if(n)return null;if(o&&typeof o!="function")throw Error(a(231,r,typeof o));return o}var Vi=!1;if(d)try{var pa={};Object.defineProperty(pa,"passive",{get:function(){Vi=!0}}),window.addEventListener("test",pa,pa),window.removeEventListener("test",pa,pa)}catch{Vi=!1}function T(n,r,o,l,h,m,b,C,R){var H=Array.prototype.slice.call(arguments,3);try{r.apply(o,H)}catch(J){this.onError(J)}}var A=!1,F=null,G=!1,K=null,we={onError:function(n){A=!0,F=n}};function xe(n,r,o,l,h,m,b,C,R){A=!1,F=null,T.apply(we,arguments)}function Pe(n,r,o,l,h,m,b,C,R){if(xe.apply(this,arguments),A){if(A){var H=F;A=!1,F=null}else throw Error(a(198));G||(G=!0,K=H)}}function le(n){var r=n,o=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,(r.flags&4098)!==0&&(o=r.return),n=r.return;while(n)}return r.tag===3?o:null}function Te(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function Se(n){if(le(n)!==n)throw Error(a(188))}function Ne(n){var r=n.alternate;if(!r){if(r=le(n),r===null)throw Error(a(188));return r!==n?null:n}for(var o=n,l=r;;){var h=o.return;if(h===null)break;var m=h.alternate;if(m===null){if(l=h.return,l!==null){o=l;continue}break}if(h.child===m.child){for(m=h.child;m;){if(m===o)return Se(h),n;if(m===l)return Se(h),r;m=m.sibling}throw Error(a(188))}if(o.return!==l.return)o=h,l=m;else{for(var b=!1,C=h.child;C;){if(C===o){b=!0,o=h,l=m;break}if(C===l){b=!0,l=h,o=m;break}C=C.sibling}if(!b){for(C=m.child;C;){if(C===o){b=!0,o=m,l=h;break}if(C===l){b=!0,l=m,o=h;break}C=C.sibling}if(!b)throw Error(a(189))}}if(o.alternate!==l)throw Error(a(190))}if(o.tag!==3)throw Error(a(188));return o.stateNode.current===o?n:r}function Ie(n){return n=Ne(n),n!==null?Be(n):null}function Be(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=Be(n);if(r!==null)return r;n=n.sibling}return null}var Ge=t.unstable_scheduleCallback,ft=t.unstable_cancelCallback,nt=t.unstable_shouldYield,Ye=t.unstable_requestPaint,Fe=t.unstable_now,Lt=t.unstable_getCurrentPriorityLevel,cr=t.unstable_ImmediatePriority,Dn=t.unstable_UserBlockingPriority,In=t.unstable_NormalPriority,Kn=t.unstable_LowPriority,ln=t.unstable_IdlePriority,Sr=null,kt=null;function Ka(n){if(kt&&typeof kt.onCommitFiberRoot=="function")try{kt.onCommitFiberRoot(Sr,n,void 0,(n.current.flags&128)===128)}catch{}}var Nt=Math.clz32?Math.clz32:jt,Ya=Math.log,Ue=Math.LN2;function jt(n){return n>>>=0,n===0?32:31-(Ya(n)/Ue|0)|0}var Wt=64,Zt=4194304;function Cr(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Tr(n,r){var o=n.pendingLanes;if(o===0)return 0;var l=0,h=n.suspendedLanes,m=n.pingedLanes,b=o&268435455;if(b!==0){var C=b&~h;C!==0?l=Cr(C):(m&=b,m!==0&&(l=Cr(m)))}else b=o&~h,b!==0?l=Cr(b):m!==0&&(l=Cr(m));if(l===0)return 0;if(r!==0&&r!==l&&(r&h)===0&&(h=l&-l,m=r&-r,h>=m||h===16&&(m&4194240)!==0))return r;if((l&4)!==0&&(l|=o&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=l;0<r;)o=31-Nt(r),h=1<<o,l|=n[o],r&=~h;return l}function et(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ur(n,r){for(var o=n.suspendedLanes,l=n.pingedLanes,h=n.expirationTimes,m=n.pendingLanes;0<m;){var b=31-Nt(m),C=1<<b,R=h[b];R===-1?((C&o)===0||(C&l)!==0)&&(h[b]=et(C,r)):R<=r&&(n.expiredLanes|=C),m&=~C}}function Xa(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function ps(){var n=Wt;return Wt<<=1,(Wt&4194240)===0&&(Wt=64),n}function _c(n){for(var r=[],o=0;31>o;o++)r.push(n);return r}function Fi(n,r,o){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-Nt(r),n[r]=o}function b_(n,r){var o=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var l=n.eventTimes;for(n=n.expirationTimes;0<o;){var h=31-Nt(o),m=1<<h;r[h]=0,l[h]=-1,n[h]=-1,o&=~m}}function wc(n,r){var o=n.entangledLanes|=r;for(n=n.entanglements;o;){var l=31-Nt(o),h=1<<l;h&r|n[l]&r&&(n[l]|=r),o&=~h}}var Xe=0;function Nf(n){return n&=-n,1<n?4<n?(n&268435455)!==0?16:536870912:4:1}var jf,xc,Of,zf,Vf,Pc=!1,ms=[],Er=null,Rr=null,Dr=null,Ui=new Map,Bi=new Map,Ir=[],__="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ff(n,r){switch(n){case"focusin":case"focusout":Er=null;break;case"dragenter":case"dragleave":Rr=null;break;case"mouseover":case"mouseout":Dr=null;break;case"pointerover":case"pointerout":Ui.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bi.delete(r.pointerId)}}function Hi(n,r,o,l,h,m){return n===null||n.nativeEvent!==m?(n={blockedOn:r,domEventName:o,eventSystemFlags:l,nativeEvent:m,targetContainers:[h]},r!==null&&(r=ro(r),r!==null&&xc(r)),n):(n.eventSystemFlags|=l,r=n.targetContainers,h!==null&&r.indexOf(h)===-1&&r.push(h),n)}function w_(n,r,o,l,h){switch(r){case"focusin":return Er=Hi(Er,n,r,o,l,h),!0;case"dragenter":return Rr=Hi(Rr,n,r,o,l,h),!0;case"mouseover":return Dr=Hi(Dr,n,r,o,l,h),!0;case"pointerover":var m=h.pointerId;return Ui.set(m,Hi(Ui.get(m)||null,n,r,o,l,h)),!0;case"gotpointercapture":return m=h.pointerId,Bi.set(m,Hi(Bi.get(m)||null,n,r,o,l,h)),!0}return!1}function Uf(n){var r=ma(n.target);if(r!==null){var o=le(r);if(o!==null){if(r=o.tag,r===13){if(r=Te(o),r!==null){n.blockedOn=r,Vf(n.priority,function(){Of(o)});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){n.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}n.blockedOn=null}function gs(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var o=Cc(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(o===null){o=n.nativeEvent;var l=new o.constructor(o.type,o);Rn=l,o.target.dispatchEvent(l),Rn=null}else return r=ro(o),r!==null&&xc(r),n.blockedOn=o,!1;r.shift()}return!0}function Bf(n,r,o){gs(n)&&o.delete(r)}function x_(){Pc=!1,Er!==null&&gs(Er)&&(Er=null),Rr!==null&&gs(Rr)&&(Rr=null),Dr!==null&&gs(Dr)&&(Dr=null),Ui.forEach(Bf),Bi.forEach(Bf)}function Wi(n,r){n.blockedOn===r&&(n.blockedOn=null,Pc||(Pc=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,x_)))}function $i(n){function r(h){return Wi(h,n)}if(0<ms.length){Wi(ms[0],n);for(var o=1;o<ms.length;o++){var l=ms[o];l.blockedOn===n&&(l.blockedOn=null)}}for(Er!==null&&Wi(Er,n),Rr!==null&&Wi(Rr,n),Dr!==null&&Wi(Dr,n),Ui.forEach(r),Bi.forEach(r),o=0;o<Ir.length;o++)l=Ir[o],l.blockedOn===n&&(l.blockedOn=null);for(;0<Ir.length&&(o=Ir[0],o.blockedOn===null);)Uf(o),o.blockedOn===null&&Ir.shift()}var Za=D.ReactCurrentBatchConfig,vs=!0;function P_(n,r,o,l){var h=Xe,m=Za.transition;Za.transition=null;try{Xe=1,Sc(n,r,o,l)}finally{Xe=h,Za.transition=m}}function S_(n,r,o,l){var h=Xe,m=Za.transition;Za.transition=null;try{Xe=4,Sc(n,r,o,l)}finally{Xe=h,Za.transition=m}}function Sc(n,r,o,l){if(vs){var h=Cc(n,r,o,l);if(h===null)Hc(n,r,l,ys,o),Ff(n,l);else if(w_(h,n,r,o,l))l.stopPropagation();else if(Ff(n,l),r&4&&-1<__.indexOf(n)){for(;h!==null;){var m=ro(h);if(m!==null&&jf(m),m=Cc(n,r,o,l),m===null&&Hc(n,r,l,ys,o),m===h)break;h=m}h!==null&&l.stopPropagation()}else Hc(n,r,l,null,o)}}var ys=null;function Cc(n,r,o,l){if(ys=null,n=ha(l),n=ma(n),n!==null)if(r=le(n),r===null)n=null;else if(o=r.tag,o===13){if(n=Te(r),n!==null)return n;n=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return ys=n,null}function Hf(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Lt()){case cr:return 1;case Dn:return 4;case In:case Kn:return 16;case ln:return 536870912;default:return 16}default:return 16}}var Ar=null,Tc=null,ks=null;function Wf(){if(ks)return ks;var n,r=Tc,o=r.length,l,h="value"in Ar?Ar.value:Ar.textContent,m=h.length;for(n=0;n<o&&r[n]===h[n];n++);var b=o-n;for(l=1;l<=b&&r[o-l]===h[m-l];l++);return ks=h.slice(n,1<l?1-l:void 0)}function bs(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function _s(){return!0}function $f(){return!1}function cn(n){function r(o,l,h,m,b){this._reactName=o,this._targetInst=h,this.type=l,this.nativeEvent=m,this.target=b,this.currentTarget=null;for(var C in n)n.hasOwnProperty(C)&&(o=n[C],this[C]=o?o(m):m[C]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?_s:$f,this.isPropagationStopped=$f,this}return O(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=_s)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=_s)},persist:function(){},isPersistent:_s}),r}var qa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ec=cn(qa),Gi=O({},qa,{view:0,detail:0}),C_=cn(Gi),Rc,Dc,Ki,ws=O({},Gi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ac,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Ki&&(Ki&&n.type==="mousemove"?(Rc=n.screenX-Ki.screenX,Dc=n.screenY-Ki.screenY):Dc=Rc=0,Ki=n),Rc)},movementY:function(n){return"movementY"in n?n.movementY:Dc}}),Gf=cn(ws),T_=O({},ws,{dataTransfer:0}),E_=cn(T_),R_=O({},Gi,{relatedTarget:0}),Ic=cn(R_),D_=O({},qa,{animationName:0,elapsedTime:0,pseudoElement:0}),I_=cn(D_),A_=O({},qa,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),M_=cn(A_),L_=O({},qa,{data:0}),Kf=cn(L_),N_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},j_={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},O_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function z_(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=O_[n])?!!r[n]:!1}function Ac(){return z_}var V_=O({},Gi,{key:function(n){if(n.key){var r=N_[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=bs(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?j_[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ac,charCode:function(n){return n.type==="keypress"?bs(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?bs(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),F_=cn(V_),U_=O({},ws,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yf=cn(U_),B_=O({},Gi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ac}),H_=cn(B_),W_=O({},qa,{propertyName:0,elapsedTime:0,pseudoElement:0}),$_=cn(W_),G_=O({},ws,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),K_=cn(G_),Y_=[9,13,27,32],Mc=d&&"CompositionEvent"in window,Yi=null;d&&"documentMode"in document&&(Yi=document.documentMode);var X_=d&&"TextEvent"in window&&!Yi,Xf=d&&(!Mc||Yi&&8<Yi&&11>=Yi),Zf=" ",qf=!1;function Qf(n,r){switch(n){case"keyup":return Y_.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jf(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Qa=!1;function Z_(n,r){switch(n){case"compositionend":return Jf(r);case"keypress":return r.which!==32?null:(qf=!0,Zf);case"textInput":return n=r.data,n===Zf&&qf?null:n;default:return null}}function q_(n,r){if(Qa)return n==="compositionend"||!Mc&&Qf(n,r)?(n=Wf(),ks=Tc=Ar=null,Qa=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Xf&&r.locale!=="ko"?null:r.data;default:return null}}var Q_={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ep(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!Q_[n.type]:r==="textarea"}function tp(n,r,o,l){hs(l),r=Ts(r,"onChange"),0<r.length&&(o=new Ec("onChange","change",null,o,l),n.push({event:o,listeners:r}))}var Xi=null,Zi=null;function J_(n){kp(n,0)}function xs(n){var r=ri(n);if(Xt(r))return n}function ew(n,r){if(n==="change")return r}var np=!1;if(d){var Lc;if(d){var Nc="oninput"in document;if(!Nc){var rp=document.createElement("div");rp.setAttribute("oninput","return;"),Nc=typeof rp.oninput=="function"}Lc=Nc}else Lc=!1;np=Lc&&(!document.documentMode||9<document.documentMode)}function ap(){Xi&&(Xi.detachEvent("onpropertychange",ip),Zi=Xi=null)}function ip(n){if(n.propertyName==="value"&&xs(Zi)){var r=[];tp(r,Zi,n,ha(n)),fa(J_,r)}}function tw(n,r,o){n==="focusin"?(ap(),Xi=r,Zi=o,Xi.attachEvent("onpropertychange",ip)):n==="focusout"&&ap()}function nw(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return xs(Zi)}function rw(n,r){if(n==="click")return xs(r)}function aw(n,r){if(n==="input"||n==="change")return xs(r)}function iw(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var An=typeof Object.is=="function"?Object.is:iw;function qi(n,r){if(An(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var o=Object.keys(n),l=Object.keys(r);if(o.length!==l.length)return!1;for(l=0;l<o.length;l++){var h=o[l];if(!p.call(r,h)||!An(n[h],r[h]))return!1}return!0}function op(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function sp(n,r){var o=op(n);n=0;for(var l;o;){if(o.nodeType===3){if(l=n+o.textContent.length,n<=r&&l>=r)return{node:o,offset:r-n};n=l}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=op(o)}}function lp(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?lp(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function cp(){for(var n=window,r=qe();r instanceof n.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)n=r.contentWindow;else break;r=qe(n.document)}return r}function jc(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function ow(n){var r=cp(),o=n.focusedElem,l=n.selectionRange;if(r!==o&&o&&o.ownerDocument&&lp(o.ownerDocument.documentElement,o)){if(l!==null&&jc(o)){if(r=l.start,n=l.end,n===void 0&&(n=r),"selectionStart"in o)o.selectionStart=r,o.selectionEnd=Math.min(n,o.value.length);else if(n=(r=o.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var h=o.textContent.length,m=Math.min(l.start,h);l=l.end===void 0?m:Math.min(l.end,h),!n.extend&&m>l&&(h=l,l=m,m=h),h=sp(o,m);var b=sp(o,l);h&&b&&(n.rangeCount!==1||n.anchorNode!==h.node||n.anchorOffset!==h.offset||n.focusNode!==b.node||n.focusOffset!==b.offset)&&(r=r.createRange(),r.setStart(h.node,h.offset),n.removeAllRanges(),m>l?(n.addRange(r),n.extend(b.node,b.offset)):(r.setEnd(b.node,b.offset),n.addRange(r)))}}for(r=[],n=o;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<r.length;o++)n=r[o],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var sw=d&&"documentMode"in document&&11>=document.documentMode,Ja=null,Oc=null,Qi=null,zc=!1;function up(n,r,o){var l=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;zc||Ja==null||Ja!==qe(l)||(l=Ja,"selectionStart"in l&&jc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Qi&&qi(Qi,l)||(Qi=l,l=Ts(Oc,"onSelect"),0<l.length&&(r=new Ec("onSelect","select",null,r,o),n.push({event:r,listeners:l}),r.target=Ja)))}function Ps(n,r){var o={};return o[n.toLowerCase()]=r.toLowerCase(),o["Webkit"+n]="webkit"+r,o["Moz"+n]="moz"+r,o}var ei={animationend:Ps("Animation","AnimationEnd"),animationiteration:Ps("Animation","AnimationIteration"),animationstart:Ps("Animation","AnimationStart"),transitionend:Ps("Transition","TransitionEnd")},Vc={},dp={};d&&(dp=document.createElement("div").style,"AnimationEvent"in window||(delete ei.animationend.animation,delete ei.animationiteration.animation,delete ei.animationstart.animation),"TransitionEvent"in window||delete ei.transitionend.transition);function Ss(n){if(Vc[n])return Vc[n];if(!ei[n])return n;var r=ei[n],o;for(o in r)if(r.hasOwnProperty(o)&&o in dp)return Vc[n]=r[o];return n}var hp=Ss("animationend"),fp=Ss("animationiteration"),pp=Ss("animationstart"),mp=Ss("transitionend"),gp=new Map,vp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(n,r){gp.set(n,r),c(r,[n])}for(var Fc=0;Fc<vp.length;Fc++){var Uc=vp[Fc],lw=Uc.toLowerCase(),cw=Uc[0].toUpperCase()+Uc.slice(1);Mr(lw,"on"+cw)}Mr(hp,"onAnimationEnd"),Mr(fp,"onAnimationIteration"),Mr(pp,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(mp,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ji="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),uw=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ji));function yp(n,r,o){var l=n.type||"unknown-event";n.currentTarget=o,Pe(l,r,void 0,n),n.currentTarget=null}function kp(n,r){r=(r&4)!==0;for(var o=0;o<n.length;o++){var l=n[o],h=l.event;l=l.listeners;e:{var m=void 0;if(r)for(var b=l.length-1;0<=b;b--){var C=l[b],R=C.instance,H=C.currentTarget;if(C=C.listener,R!==m&&h.isPropagationStopped())break e;yp(h,C,H),m=R}else for(b=0;b<l.length;b++){if(C=l[b],R=C.instance,H=C.currentTarget,C=C.listener,R!==m&&h.isPropagationStopped())break e;yp(h,C,H),m=R}}}if(G)throw n=K,G=!1,K=null,n}function rt(n,r){var o=r[Xc];o===void 0&&(o=r[Xc]=new Set);var l=n+"__bubble";o.has(l)||(bp(r,n,2,!1),o.add(l))}function Bc(n,r,o){var l=0;r&&(l|=4),bp(o,n,l,r)}var Cs="_reactListening"+Math.random().toString(36).slice(2);function eo(n){if(!n[Cs]){n[Cs]=!0,i.forEach(function(o){o!=="selectionchange"&&(uw.has(o)||Bc(o,!1,n),Bc(o,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Cs]||(r[Cs]=!0,Bc("selectionchange",!1,r))}}function bp(n,r,o,l){switch(Hf(r)){case 1:var h=P_;break;case 4:h=S_;break;default:h=Sc}o=h.bind(null,r,o,n),h=void 0,!Vi||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(h=!0),l?h!==void 0?n.addEventListener(r,o,{capture:!0,passive:h}):n.addEventListener(r,o,!0):h!==void 0?n.addEventListener(r,o,{passive:h}):n.addEventListener(r,o,!1)}function Hc(n,r,o,l,h){var m=l;if((r&1)===0&&(r&2)===0&&l!==null)e:for(;;){if(l===null)return;var b=l.tag;if(b===3||b===4){var C=l.stateNode.containerInfo;if(C===h||C.nodeType===8&&C.parentNode===h)break;if(b===4)for(b=l.return;b!==null;){var R=b.tag;if((R===3||R===4)&&(R=b.stateNode.containerInfo,R===h||R.nodeType===8&&R.parentNode===h))return;b=b.return}for(;C!==null;){if(b=ma(C),b===null)return;if(R=b.tag,R===5||R===6){l=m=b;continue e}C=C.parentNode}}l=l.return}fa(function(){var H=m,J=ha(o),te=[];e:{var X=gp.get(n);if(X!==void 0){var ce=Ec,ge=n;switch(n){case"keypress":if(bs(o)===0)break e;case"keydown":case"keyup":ce=F_;break;case"focusin":ge="focus",ce=Ic;break;case"focusout":ge="blur",ce=Ic;break;case"beforeblur":case"afterblur":ce=Ic;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ce=Gf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ce=E_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ce=H_;break;case hp:case fp:case pp:ce=I_;break;case mp:ce=$_;break;case"scroll":ce=C_;break;case"wheel":ce=K_;break;case"copy":case"cut":case"paste":ce=M_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ce=Yf}var be=(r&4)!==0,pt=!be&&n==="scroll",z=be?X!==null?X+"Capture":null:X;be=[];for(var M=H,U;M!==null;){U=M;var re=U.stateNode;if(U.tag===5&&re!==null&&(U=re,z!==null&&(re=Pr(M,z),re!=null&&be.push(to(M,re,U)))),pt)break;M=M.return}0<be.length&&(X=new ce(X,ge,null,o,J),te.push({event:X,listeners:be}))}}if((r&7)===0){e:{if(X=n==="mouseover"||n==="pointerover",ce=n==="mouseout"||n==="pointerout",X&&o!==Rn&&(ge=o.relatedTarget||o.fromElement)&&(ma(ge)||ge[dr]))break e;if((ce||X)&&(X=J.window===J?J:(X=J.ownerDocument)?X.defaultView||X.parentWindow:window,ce?(ge=o.relatedTarget||o.toElement,ce=H,ge=ge?ma(ge):null,ge!==null&&(pt=le(ge),ge!==pt||ge.tag!==5&&ge.tag!==6)&&(ge=null)):(ce=null,ge=H),ce!==ge)){if(be=Gf,re="onMouseLeave",z="onMouseEnter",M="mouse",(n==="pointerout"||n==="pointerover")&&(be=Yf,re="onPointerLeave",z="onPointerEnter",M="pointer"),pt=ce==null?X:ri(ce),U=ge==null?X:ri(ge),X=new be(re,M+"leave",ce,o,J),X.target=pt,X.relatedTarget=U,re=null,ma(J)===H&&(be=new be(z,M+"enter",ge,o,J),be.target=U,be.relatedTarget=pt,re=be),pt=re,ce&&ge)t:{for(be=ce,z=ge,M=0,U=be;U;U=ti(U))M++;for(U=0,re=z;re;re=ti(re))U++;for(;0<M-U;)be=ti(be),M--;for(;0<U-M;)z=ti(z),U--;for(;M--;){if(be===z||z!==null&&be===z.alternate)break t;be=ti(be),z=ti(z)}be=null}else be=null;ce!==null&&_p(te,X,ce,be,!1),ge!==null&&pt!==null&&_p(te,pt,ge,be,!0)}}e:{if(X=H?ri(H):window,ce=X.nodeName&&X.nodeName.toLowerCase(),ce==="select"||ce==="input"&&X.type==="file")var _e=ew;else if(ep(X))if(np)_e=aw;else{_e=nw;var Ee=tw}else(ce=X.nodeName)&&ce.toLowerCase()==="input"&&(X.type==="checkbox"||X.type==="radio")&&(_e=rw);if(_e&&(_e=_e(n,H))){tp(te,_e,o,J);break e}Ee&&Ee(n,X,H),n==="focusout"&&(Ee=X._wrapperState)&&Ee.controlled&&X.type==="number"&&_r(X,"number",X.value)}switch(Ee=H?ri(H):window,n){case"focusin":(ep(Ee)||Ee.contentEditable==="true")&&(Ja=Ee,Oc=H,Qi=null);break;case"focusout":Qi=Oc=Ja=null;break;case"mousedown":zc=!0;break;case"contextmenu":case"mouseup":case"dragend":zc=!1,up(te,o,J);break;case"selectionchange":if(sw)break;case"keydown":case"keyup":up(te,o,J)}var Re;if(Mc)e:{switch(n){case"compositionstart":var Me="onCompositionStart";break e;case"compositionend":Me="onCompositionEnd";break e;case"compositionupdate":Me="onCompositionUpdate";break e}Me=void 0}else Qa?Qf(n,o)&&(Me="onCompositionEnd"):n==="keydown"&&o.keyCode===229&&(Me="onCompositionStart");Me&&(Xf&&o.locale!=="ko"&&(Qa||Me!=="onCompositionStart"?Me==="onCompositionEnd"&&Qa&&(Re=Wf()):(Ar=J,Tc="value"in Ar?Ar.value:Ar.textContent,Qa=!0)),Ee=Ts(H,Me),0<Ee.length&&(Me=new Kf(Me,n,null,o,J),te.push({event:Me,listeners:Ee}),Re?Me.data=Re:(Re=Jf(o),Re!==null&&(Me.data=Re)))),(Re=X_?Z_(n,o):q_(n,o))&&(H=Ts(H,"onBeforeInput"),0<H.length&&(J=new Kf("onBeforeInput","beforeinput",null,o,J),te.push({event:J,listeners:H}),J.data=Re))}kp(te,r)})}function to(n,r,o){return{instance:n,listener:r,currentTarget:o}}function Ts(n,r){for(var o=r+"Capture",l=[];n!==null;){var h=n,m=h.stateNode;h.tag===5&&m!==null&&(h=m,m=Pr(n,o),m!=null&&l.unshift(to(n,m,h)),m=Pr(n,r),m!=null&&l.push(to(n,m,h))),n=n.return}return l}function ti(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function _p(n,r,o,l,h){for(var m=r._reactName,b=[];o!==null&&o!==l;){var C=o,R=C.alternate,H=C.stateNode;if(R!==null&&R===l)break;C.tag===5&&H!==null&&(C=H,h?(R=Pr(o,m),R!=null&&b.unshift(to(o,R,C))):h||(R=Pr(o,m),R!=null&&b.push(to(o,R,C)))),o=o.return}b.length!==0&&n.push({event:r,listeners:b})}var dw=/\r\n?/g,hw=/\u0000|\uFFFD/g;function wp(n){return(typeof n=="string"?n:""+n).replace(dw,`
|
|
7
|
+
`).replace(hw,"")}function Es(n,r,o){if(r=wp(r),wp(n)!==r&&o)throw Error(a(425))}function Rs(){}var Wc=null,$c=null;function Gc(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Kc=typeof setTimeout=="function"?setTimeout:void 0,fw=typeof clearTimeout=="function"?clearTimeout:void 0,xp=typeof Promise=="function"?Promise:void 0,pw=typeof queueMicrotask=="function"?queueMicrotask:typeof xp<"u"?function(n){return xp.resolve(null).then(n).catch(mw)}:Kc;function mw(n){setTimeout(function(){throw n})}function Yc(n,r){var o=r,l=0;do{var h=o.nextSibling;if(n.removeChild(o),h&&h.nodeType===8)if(o=h.data,o==="/$"){if(l===0){n.removeChild(h),$i(r);return}l--}else o!=="$"&&o!=="$?"&&o!=="$!"||l++;o=h}while(o);$i(r)}function Lr(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function Pp(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var o=n.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return n;r--}else o==="/$"&&r++}n=n.previousSibling}return null}var ni=Math.random().toString(36).slice(2),Yn="__reactFiber$"+ni,no="__reactProps$"+ni,dr="__reactContainer$"+ni,Xc="__reactEvents$"+ni,gw="__reactListeners$"+ni,vw="__reactHandles$"+ni;function ma(n){var r=n[Yn];if(r)return r;for(var o=n.parentNode;o;){if(r=o[dr]||o[Yn]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(n=Pp(n);n!==null;){if(o=n[Yn])return o;n=Pp(n)}return r}n=o,o=n.parentNode}return null}function ro(n){return n=n[Yn]||n[dr],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function ri(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(a(33))}function Ds(n){return n[no]||null}var Zc=[],ai=-1;function Nr(n){return{current:n}}function at(n){0>ai||(n.current=Zc[ai],Zc[ai]=null,ai--)}function tt(n,r){ai++,Zc[ai]=n.current,n.current=r}var jr={},Ot=Nr(jr),qt=Nr(!1),ga=jr;function ii(n,r){var o=n.type.contextTypes;if(!o)return jr;var l=n.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===r)return l.__reactInternalMemoizedMaskedChildContext;var h={},m;for(m in o)h[m]=r[m];return l&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=h),h}function Qt(n){return n=n.childContextTypes,n!=null}function Is(){at(qt),at(Ot)}function Sp(n,r,o){if(Ot.current!==jr)throw Error(a(168));tt(Ot,r),tt(qt,o)}function Cp(n,r,o){var l=n.stateNode;if(r=r.childContextTypes,typeof l.getChildContext!="function")return o;l=l.getChildContext();for(var h in l)if(!(h in r))throw Error(a(108,De(n)||"Unknown",h));return O({},o,l)}function As(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||jr,ga=Ot.current,tt(Ot,n),tt(qt,qt.current),!0}function Tp(n,r,o){var l=n.stateNode;if(!l)throw Error(a(169));o?(n=Cp(n,r,ga),l.__reactInternalMemoizedMergedChildContext=n,at(qt),at(Ot),tt(Ot,n)):at(qt),tt(qt,o)}var hr=null,Ms=!1,qc=!1;function Ep(n){hr===null?hr=[n]:hr.push(n)}function yw(n){Ms=!0,Ep(n)}function Or(){if(!qc&&hr!==null){qc=!0;var n=0,r=Xe;try{var o=hr;for(Xe=1;n<o.length;n++){var l=o[n];do l=l(!0);while(l!==null)}hr=null,Ms=!1}catch(h){throw hr!==null&&(hr=hr.slice(n+1)),Ge(cr,Or),h}finally{Xe=r,qc=!1}}return null}var oi=[],si=0,Ls=null,Ns=0,mn=[],gn=0,va=null,fr=1,pr="";function ya(n,r){oi[si++]=Ns,oi[si++]=Ls,Ls=n,Ns=r}function Rp(n,r,o){mn[gn++]=fr,mn[gn++]=pr,mn[gn++]=va,va=n;var l=fr;n=pr;var h=32-Nt(l)-1;l&=~(1<<h),o+=1;var m=32-Nt(r)+h;if(30<m){var b=h-h%5;m=(l&(1<<b)-1).toString(32),l>>=b,h-=b,fr=1<<32-Nt(r)+h|o<<h|l,pr=m+n}else fr=1<<m|o<<h|l,pr=n}function Qc(n){n.return!==null&&(ya(n,1),Rp(n,1,0))}function Jc(n){for(;n===Ls;)Ls=oi[--si],oi[si]=null,Ns=oi[--si],oi[si]=null;for(;n===va;)va=mn[--gn],mn[gn]=null,pr=mn[--gn],mn[gn]=null,fr=mn[--gn],mn[gn]=null}var un=null,dn=null,st=!1,Mn=null;function Dp(n,r){var o=bn(5,null,null,0);o.elementType="DELETED",o.stateNode=r,o.return=n,r=n.deletions,r===null?(n.deletions=[o],n.flags|=16):r.push(o)}function Ip(n,r){switch(n.tag){case 5:var o=n.type;return r=r.nodeType!==1||o.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,un=n,dn=Lr(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,un=n,dn=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(o=va!==null?{id:fr,overflow:pr}:null,n.memoizedState={dehydrated:r,treeContext:o,retryLane:1073741824},o=bn(18,null,null,0),o.stateNode=r,o.return=n,n.child=o,un=n,dn=null,!0):!1;default:return!1}}function eu(n){return(n.mode&1)!==0&&(n.flags&128)===0}function tu(n){if(st){var r=dn;if(r){var o=r;if(!Ip(n,r)){if(eu(n))throw Error(a(418));r=Lr(o.nextSibling);var l=un;r&&Ip(n,r)?Dp(l,o):(n.flags=n.flags&-4097|2,st=!1,un=n)}}else{if(eu(n))throw Error(a(418));n.flags=n.flags&-4097|2,st=!1,un=n}}}function Ap(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;un=n}function js(n){if(n!==un)return!1;if(!st)return Ap(n),st=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!Gc(n.type,n.memoizedProps)),r&&(r=dn)){if(eu(n))throw Mp(),Error(a(418));for(;r;)Dp(n,r),r=Lr(r.nextSibling)}if(Ap(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(a(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var o=n.data;if(o==="/$"){if(r===0){dn=Lr(n.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++}n=n.nextSibling}dn=null}}else dn=un?Lr(n.stateNode.nextSibling):null;return!0}function Mp(){for(var n=dn;n;)n=Lr(n.nextSibling)}function li(){dn=un=null,st=!1}function nu(n){Mn===null?Mn=[n]:Mn.push(n)}var kw=D.ReactCurrentBatchConfig;function ao(n,r,o){if(n=o.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(a(309));var l=o.stateNode}if(!l)throw Error(a(147,n));var h=l,m=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===m?r.ref:(r=function(b){var C=h.refs;b===null?delete C[m]:C[m]=b},r._stringRef=m,r)}if(typeof n!="string")throw Error(a(284));if(!o._owner)throw Error(a(290,n))}return n}function Os(n,r){throw n=Object.prototype.toString.call(r),Error(a(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function Lp(n){var r=n._init;return r(n._payload)}function Np(n){function r(z,M){if(n){var U=z.deletions;U===null?(z.deletions=[M],z.flags|=16):U.push(M)}}function o(z,M){if(!n)return null;for(;M!==null;)r(z,M),M=M.sibling;return null}function l(z,M){for(z=new Map;M!==null;)M.key!==null?z.set(M.key,M):z.set(M.index,M),M=M.sibling;return z}function h(z,M){return z=$r(z,M),z.index=0,z.sibling=null,z}function m(z,M,U){return z.index=U,n?(U=z.alternate,U!==null?(U=U.index,U<M?(z.flags|=2,M):U):(z.flags|=2,M)):(z.flags|=1048576,M)}function b(z){return n&&z.alternate===null&&(z.flags|=2),z}function C(z,M,U,re){return M===null||M.tag!==6?(M=Ku(U,z.mode,re),M.return=z,M):(M=h(M,U),M.return=z,M)}function R(z,M,U,re){var _e=U.type;return _e===oe?J(z,M,U.props.children,re,U.key):M!==null&&(M.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===Q&&Lp(_e)===M.type)?(re=h(M,U.props),re.ref=ao(z,M,U),re.return=z,re):(re=sl(U.type,U.key,U.props,null,z.mode,re),re.ref=ao(z,M,U),re.return=z,re)}function H(z,M,U,re){return M===null||M.tag!==4||M.stateNode.containerInfo!==U.containerInfo||M.stateNode.implementation!==U.implementation?(M=Yu(U,z.mode,re),M.return=z,M):(M=h(M,U.children||[]),M.return=z,M)}function J(z,M,U,re,_e){return M===null||M.tag!==7?(M=Ca(U,z.mode,re,_e),M.return=z,M):(M=h(M,U),M.return=z,M)}function te(z,M,U){if(typeof M=="string"&&M!==""||typeof M=="number")return M=Ku(""+M,z.mode,U),M.return=z,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case B:return U=sl(M.type,M.key,M.props,null,z.mode,U),U.ref=ao(z,null,M),U.return=z,U;case Z:return M=Yu(M,z.mode,U),M.return=z,M;case Q:var re=M._init;return te(z,re(M._payload),U)}if(Wn(M)||W(M))return M=Ca(M,z.mode,U,null),M.return=z,M;Os(z,M)}return null}function X(z,M,U,re){var _e=M!==null?M.key:null;if(typeof U=="string"&&U!==""||typeof U=="number")return _e!==null?null:C(z,M,""+U,re);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case B:return U.key===_e?R(z,M,U,re):null;case Z:return U.key===_e?H(z,M,U,re):null;case Q:return _e=U._init,X(z,M,_e(U._payload),re)}if(Wn(U)||W(U))return _e!==null?null:J(z,M,U,re,null);Os(z,U)}return null}function ce(z,M,U,re,_e){if(typeof re=="string"&&re!==""||typeof re=="number")return z=z.get(U)||null,C(M,z,""+re,_e);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case B:return z=z.get(re.key===null?U:re.key)||null,R(M,z,re,_e);case Z:return z=z.get(re.key===null?U:re.key)||null,H(M,z,re,_e);case Q:var Ee=re._init;return ce(z,M,U,Ee(re._payload),_e)}if(Wn(re)||W(re))return z=z.get(U)||null,J(M,z,re,_e,null);Os(M,re)}return null}function ge(z,M,U,re){for(var _e=null,Ee=null,Re=M,Me=M=0,Tt=null;Re!==null&&Me<U.length;Me++){Re.index>Me?(Tt=Re,Re=null):Tt=Re.sibling;var $e=X(z,Re,U[Me],re);if($e===null){Re===null&&(Re=Tt);break}n&&Re&&$e.alternate===null&&r(z,Re),M=m($e,M,Me),Ee===null?_e=$e:Ee.sibling=$e,Ee=$e,Re=Tt}if(Me===U.length)return o(z,Re),st&&ya(z,Me),_e;if(Re===null){for(;Me<U.length;Me++)Re=te(z,U[Me],re),Re!==null&&(M=m(Re,M,Me),Ee===null?_e=Re:Ee.sibling=Re,Ee=Re);return st&&ya(z,Me),_e}for(Re=l(z,Re);Me<U.length;Me++)Tt=ce(Re,z,Me,U[Me],re),Tt!==null&&(n&&Tt.alternate!==null&&Re.delete(Tt.key===null?Me:Tt.key),M=m(Tt,M,Me),Ee===null?_e=Tt:Ee.sibling=Tt,Ee=Tt);return n&&Re.forEach(function(Gr){return r(z,Gr)}),st&&ya(z,Me),_e}function be(z,M,U,re){var _e=W(U);if(typeof _e!="function")throw Error(a(150));if(U=_e.call(U),U==null)throw Error(a(151));for(var Ee=_e=null,Re=M,Me=M=0,Tt=null,$e=U.next();Re!==null&&!$e.done;Me++,$e=U.next()){Re.index>Me?(Tt=Re,Re=null):Tt=Re.sibling;var Gr=X(z,Re,$e.value,re);if(Gr===null){Re===null&&(Re=Tt);break}n&&Re&&Gr.alternate===null&&r(z,Re),M=m(Gr,M,Me),Ee===null?_e=Gr:Ee.sibling=Gr,Ee=Gr,Re=Tt}if($e.done)return o(z,Re),st&&ya(z,Me),_e;if(Re===null){for(;!$e.done;Me++,$e=U.next())$e=te(z,$e.value,re),$e!==null&&(M=m($e,M,Me),Ee===null?_e=$e:Ee.sibling=$e,Ee=$e);return st&&ya(z,Me),_e}for(Re=l(z,Re);!$e.done;Me++,$e=U.next())$e=ce(Re,z,Me,$e.value,re),$e!==null&&(n&&$e.alternate!==null&&Re.delete($e.key===null?Me:$e.key),M=m($e,M,Me),Ee===null?_e=$e:Ee.sibling=$e,Ee=$e);return n&&Re.forEach(function(Qw){return r(z,Qw)}),st&&ya(z,Me),_e}function pt(z,M,U,re){if(typeof U=="object"&&U!==null&&U.type===oe&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case B:e:{for(var _e=U.key,Ee=M;Ee!==null;){if(Ee.key===_e){if(_e=U.type,_e===oe){if(Ee.tag===7){o(z,Ee.sibling),M=h(Ee,U.props.children),M.return=z,z=M;break e}}else if(Ee.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===Q&&Lp(_e)===Ee.type){o(z,Ee.sibling),M=h(Ee,U.props),M.ref=ao(z,Ee,U),M.return=z,z=M;break e}o(z,Ee);break}else r(z,Ee);Ee=Ee.sibling}U.type===oe?(M=Ca(U.props.children,z.mode,re,U.key),M.return=z,z=M):(re=sl(U.type,U.key,U.props,null,z.mode,re),re.ref=ao(z,M,U),re.return=z,z=re)}return b(z);case Z:e:{for(Ee=U.key;M!==null;){if(M.key===Ee)if(M.tag===4&&M.stateNode.containerInfo===U.containerInfo&&M.stateNode.implementation===U.implementation){o(z,M.sibling),M=h(M,U.children||[]),M.return=z,z=M;break e}else{o(z,M);break}else r(z,M);M=M.sibling}M=Yu(U,z.mode,re),M.return=z,z=M}return b(z);case Q:return Ee=U._init,pt(z,M,Ee(U._payload),re)}if(Wn(U))return ge(z,M,U,re);if(W(U))return be(z,M,U,re);Os(z,U)}return typeof U=="string"&&U!==""||typeof U=="number"?(U=""+U,M!==null&&M.tag===6?(o(z,M.sibling),M=h(M,U),M.return=z,z=M):(o(z,M),M=Ku(U,z.mode,re),M.return=z,z=M),b(z)):o(z,M)}return pt}var ci=Np(!0),jp=Np(!1),zs=Nr(null),Vs=null,ui=null,ru=null;function au(){ru=ui=Vs=null}function iu(n){var r=zs.current;at(zs),n._currentValue=r}function ou(n,r,o){for(;n!==null;){var l=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,l!==null&&(l.childLanes|=r)):l!==null&&(l.childLanes&r)!==r&&(l.childLanes|=r),n===o)break;n=n.return}}function di(n,r){Vs=n,ru=ui=null,n=n.dependencies,n!==null&&n.firstContext!==null&&((n.lanes&r)!==0&&(Jt=!0),n.firstContext=null)}function vn(n){var r=n._currentValue;if(ru!==n)if(n={context:n,memoizedValue:r,next:null},ui===null){if(Vs===null)throw Error(a(308));ui=n,Vs.dependencies={lanes:0,firstContext:n}}else ui=ui.next=n;return r}var ka=null;function su(n){ka===null?ka=[n]:ka.push(n)}function Op(n,r,o,l){var h=r.interleaved;return h===null?(o.next=o,su(r)):(o.next=h.next,h.next=o),r.interleaved=o,mr(n,l)}function mr(n,r){n.lanes|=r;var o=n.alternate;for(o!==null&&(o.lanes|=r),o=n,n=n.return;n!==null;)n.childLanes|=r,o=n.alternate,o!==null&&(o.childLanes|=r),o=n,n=n.return;return o.tag===3?o.stateNode:null}var zr=!1;function lu(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zp(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function gr(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function Vr(n,r,o){var l=n.updateQueue;if(l===null)return null;if(l=l.shared,(We&2)!==0){var h=l.pending;return h===null?r.next=r:(r.next=h.next,h.next=r),l.pending=r,mr(n,o)}return h=l.interleaved,h===null?(r.next=r,su(l)):(r.next=h.next,h.next=r),l.interleaved=r,mr(n,o)}function Fs(n,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194240)!==0)){var l=r.lanes;l&=n.pendingLanes,o|=l,r.lanes=o,wc(n,o)}}function Vp(n,r){var o=n.updateQueue,l=n.alternate;if(l!==null&&(l=l.updateQueue,o===l)){var h=null,m=null;if(o=o.firstBaseUpdate,o!==null){do{var b={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};m===null?h=m=b:m=m.next=b,o=o.next}while(o!==null);m===null?h=m=r:m=m.next=r}else h=m=r;o={baseState:l.baseState,firstBaseUpdate:h,lastBaseUpdate:m,shared:l.shared,effects:l.effects},n.updateQueue=o;return}n=o.lastBaseUpdate,n===null?o.firstBaseUpdate=r:n.next=r,o.lastBaseUpdate=r}function Us(n,r,o,l){var h=n.updateQueue;zr=!1;var m=h.firstBaseUpdate,b=h.lastBaseUpdate,C=h.shared.pending;if(C!==null){h.shared.pending=null;var R=C,H=R.next;R.next=null,b===null?m=H:b.next=H,b=R;var J=n.alternate;J!==null&&(J=J.updateQueue,C=J.lastBaseUpdate,C!==b&&(C===null?J.firstBaseUpdate=H:C.next=H,J.lastBaseUpdate=R))}if(m!==null){var te=h.baseState;b=0,J=H=R=null,C=m;do{var X=C.lane,ce=C.eventTime;if((l&X)===X){J!==null&&(J=J.next={eventTime:ce,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var ge=n,be=C;switch(X=r,ce=o,be.tag){case 1:if(ge=be.payload,typeof ge=="function"){te=ge.call(ce,te,X);break e}te=ge;break e;case 3:ge.flags=ge.flags&-65537|128;case 0:if(ge=be.payload,X=typeof ge=="function"?ge.call(ce,te,X):ge,X==null)break e;te=O({},te,X);break e;case 2:zr=!0}}C.callback!==null&&C.lane!==0&&(n.flags|=64,X=h.effects,X===null?h.effects=[C]:X.push(C))}else ce={eventTime:ce,lane:X,tag:C.tag,payload:C.payload,callback:C.callback,next:null},J===null?(H=J=ce,R=te):J=J.next=ce,b|=X;if(C=C.next,C===null){if(C=h.shared.pending,C===null)break;X=C,C=X.next,X.next=null,h.lastBaseUpdate=X,h.shared.pending=null}}while(!0);if(J===null&&(R=te),h.baseState=R,h.firstBaseUpdate=H,h.lastBaseUpdate=J,r=h.shared.interleaved,r!==null){h=r;do b|=h.lane,h=h.next;while(h!==r)}else m===null&&(h.shared.lanes=0);wa|=b,n.lanes=b,n.memoizedState=te}}function Fp(n,r,o){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var l=n[r],h=l.callback;if(h!==null){if(l.callback=null,l=o,typeof h!="function")throw Error(a(191,h));h.call(l)}}}var io={},Xn=Nr(io),oo=Nr(io),so=Nr(io);function ba(n){if(n===io)throw Error(a(174));return n}function cu(n,r){switch(tt(so,r),tt(oo,n),tt(Xn,io),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:ot(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=ot(r,n)}at(Xn),tt(Xn,r)}function hi(){at(Xn),at(oo),at(so)}function Up(n){ba(so.current);var r=ba(Xn.current),o=ot(r,n.type);r!==o&&(tt(oo,n),tt(Xn,o))}function uu(n){oo.current===n&&(at(Xn),at(oo))}var lt=Nr(0);function Bs(n){for(var r=n;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var du=[];function hu(){for(var n=0;n<du.length;n++)du[n]._workInProgressVersionPrimary=null;du.length=0}var Hs=D.ReactCurrentDispatcher,fu=D.ReactCurrentBatchConfig,_a=0,ct=null,bt=null,St=null,Ws=!1,lo=!1,co=0,bw=0;function zt(){throw Error(a(321))}function pu(n,r){if(r===null)return!1;for(var o=0;o<r.length&&o<n.length;o++)if(!An(n[o],r[o]))return!1;return!0}function mu(n,r,o,l,h,m){if(_a=m,ct=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Hs.current=n===null||n.memoizedState===null?Pw:Sw,n=o(l,h),lo){m=0;do{if(lo=!1,co=0,25<=m)throw Error(a(301));m+=1,St=bt=null,r.updateQueue=null,Hs.current=Cw,n=o(l,h)}while(lo)}if(Hs.current=Ks,r=bt!==null&&bt.next!==null,_a=0,St=bt=ct=null,Ws=!1,r)throw Error(a(300));return n}function gu(){var n=co!==0;return co=0,n}function Zn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return St===null?ct.memoizedState=St=n:St=St.next=n,St}function yn(){if(bt===null){var n=ct.alternate;n=n!==null?n.memoizedState:null}else n=bt.next;var r=St===null?ct.memoizedState:St.next;if(r!==null)St=r,bt=n;else{if(n===null)throw Error(a(310));bt=n,n={memoizedState:bt.memoizedState,baseState:bt.baseState,baseQueue:bt.baseQueue,queue:bt.queue,next:null},St===null?ct.memoizedState=St=n:St=St.next=n}return St}function uo(n,r){return typeof r=="function"?r(n):r}function vu(n){var r=yn(),o=r.queue;if(o===null)throw Error(a(311));o.lastRenderedReducer=n;var l=bt,h=l.baseQueue,m=o.pending;if(m!==null){if(h!==null){var b=h.next;h.next=m.next,m.next=b}l.baseQueue=h=m,o.pending=null}if(h!==null){m=h.next,l=l.baseState;var C=b=null,R=null,H=m;do{var J=H.lane;if((_a&J)===J)R!==null&&(R=R.next={lane:0,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),l=H.hasEagerState?H.eagerState:n(l,H.action);else{var te={lane:J,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null};R===null?(C=R=te,b=l):R=R.next=te,ct.lanes|=J,wa|=J}H=H.next}while(H!==null&&H!==m);R===null?b=l:R.next=C,An(l,r.memoizedState)||(Jt=!0),r.memoizedState=l,r.baseState=b,r.baseQueue=R,o.lastRenderedState=l}if(n=o.interleaved,n!==null){h=n;do m=h.lane,ct.lanes|=m,wa|=m,h=h.next;while(h!==n)}else h===null&&(o.lanes=0);return[r.memoizedState,o.dispatch]}function yu(n){var r=yn(),o=r.queue;if(o===null)throw Error(a(311));o.lastRenderedReducer=n;var l=o.dispatch,h=o.pending,m=r.memoizedState;if(h!==null){o.pending=null;var b=h=h.next;do m=n(m,b.action),b=b.next;while(b!==h);An(m,r.memoizedState)||(Jt=!0),r.memoizedState=m,r.baseQueue===null&&(r.baseState=m),o.lastRenderedState=m}return[m,l]}function Bp(){}function Hp(n,r){var o=ct,l=yn(),h=r(),m=!An(l.memoizedState,h);if(m&&(l.memoizedState=h,Jt=!0),l=l.queue,ku(Gp.bind(null,o,l,n),[n]),l.getSnapshot!==r||m||St!==null&&St.memoizedState.tag&1){if(o.flags|=2048,ho(9,$p.bind(null,o,l,h,r),void 0,null),Ct===null)throw Error(a(349));(_a&30)!==0||Wp(o,r,h)}return h}function Wp(n,r,o){n.flags|=16384,n={getSnapshot:r,value:o},r=ct.updateQueue,r===null?(r={lastEffect:null,stores:null},ct.updateQueue=r,r.stores=[n]):(o=r.stores,o===null?r.stores=[n]:o.push(n))}function $p(n,r,o,l){r.value=o,r.getSnapshot=l,Kp(r)&&Yp(n)}function Gp(n,r,o){return o(function(){Kp(r)&&Yp(n)})}function Kp(n){var r=n.getSnapshot;n=n.value;try{var o=r();return!An(n,o)}catch{return!0}}function Yp(n){var r=mr(n,1);r!==null&&On(r,n,1,-1)}function Xp(n){var r=Zn();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:uo,lastRenderedState:n},r.queue=n,n=n.dispatch=xw.bind(null,ct,n),[r.memoizedState,n]}function ho(n,r,o,l){return n={tag:n,create:r,destroy:o,deps:l,next:null},r=ct.updateQueue,r===null?(r={lastEffect:null,stores:null},ct.updateQueue=r,r.lastEffect=n.next=n):(o=r.lastEffect,o===null?r.lastEffect=n.next=n:(l=o.next,o.next=n,n.next=l,r.lastEffect=n)),n}function Zp(){return yn().memoizedState}function $s(n,r,o,l){var h=Zn();ct.flags|=n,h.memoizedState=ho(1|r,o,void 0,l===void 0?null:l)}function Gs(n,r,o,l){var h=yn();l=l===void 0?null:l;var m=void 0;if(bt!==null){var b=bt.memoizedState;if(m=b.destroy,l!==null&&pu(l,b.deps)){h.memoizedState=ho(r,o,m,l);return}}ct.flags|=n,h.memoizedState=ho(1|r,o,m,l)}function qp(n,r){return $s(8390656,8,n,r)}function ku(n,r){return Gs(2048,8,n,r)}function Qp(n,r){return Gs(4,2,n,r)}function Jp(n,r){return Gs(4,4,n,r)}function em(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function tm(n,r,o){return o=o!=null?o.concat([n]):null,Gs(4,4,em.bind(null,r,n),o)}function bu(){}function nm(n,r){var o=yn();r=r===void 0?null:r;var l=o.memoizedState;return l!==null&&r!==null&&pu(r,l[1])?l[0]:(o.memoizedState=[n,r],n)}function rm(n,r){var o=yn();r=r===void 0?null:r;var l=o.memoizedState;return l!==null&&r!==null&&pu(r,l[1])?l[0]:(n=n(),o.memoizedState=[n,r],n)}function am(n,r,o){return(_a&21)===0?(n.baseState&&(n.baseState=!1,Jt=!0),n.memoizedState=o):(An(o,r)||(o=ps(),ct.lanes|=o,wa|=o,n.baseState=!0),r)}function _w(n,r){var o=Xe;Xe=o!==0&&4>o?o:4,n(!0);var l=fu.transition;fu.transition={};try{n(!1),r()}finally{Xe=o,fu.transition=l}}function im(){return yn().memoizedState}function ww(n,r,o){var l=Hr(n);if(o={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null},om(n))sm(r,o);else if(o=Op(n,r,o,l),o!==null){var h=Gt();On(o,n,l,h),lm(o,r,l)}}function xw(n,r,o){var l=Hr(n),h={lane:l,action:o,hasEagerState:!1,eagerState:null,next:null};if(om(n))sm(r,h);else{var m=n.alternate;if(n.lanes===0&&(m===null||m.lanes===0)&&(m=r.lastRenderedReducer,m!==null))try{var b=r.lastRenderedState,C=m(b,o);if(h.hasEagerState=!0,h.eagerState=C,An(C,b)){var R=r.interleaved;R===null?(h.next=h,su(r)):(h.next=R.next,R.next=h),r.interleaved=h;return}}catch{}o=Op(n,r,h,l),o!==null&&(h=Gt(),On(o,n,l,h),lm(o,r,l))}}function om(n){var r=n.alternate;return n===ct||r!==null&&r===ct}function sm(n,r){lo=Ws=!0;var o=n.pending;o===null?r.next=r:(r.next=o.next,o.next=r),n.pending=r}function lm(n,r,o){if((o&4194240)!==0){var l=r.lanes;l&=n.pendingLanes,o|=l,r.lanes=o,wc(n,o)}}var Ks={readContext:vn,useCallback:zt,useContext:zt,useEffect:zt,useImperativeHandle:zt,useInsertionEffect:zt,useLayoutEffect:zt,useMemo:zt,useReducer:zt,useRef:zt,useState:zt,useDebugValue:zt,useDeferredValue:zt,useTransition:zt,useMutableSource:zt,useSyncExternalStore:zt,useId:zt,unstable_isNewReconciler:!1},Pw={readContext:vn,useCallback:function(n,r){return Zn().memoizedState=[n,r===void 0?null:r],n},useContext:vn,useEffect:qp,useImperativeHandle:function(n,r,o){return o=o!=null?o.concat([n]):null,$s(4194308,4,em.bind(null,r,n),o)},useLayoutEffect:function(n,r){return $s(4194308,4,n,r)},useInsertionEffect:function(n,r){return $s(4,2,n,r)},useMemo:function(n,r){var o=Zn();return r=r===void 0?null:r,n=n(),o.memoizedState=[n,r],n},useReducer:function(n,r,o){var l=Zn();return r=o!==void 0?o(r):r,l.memoizedState=l.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},l.queue=n,n=n.dispatch=ww.bind(null,ct,n),[l.memoizedState,n]},useRef:function(n){var r=Zn();return n={current:n},r.memoizedState=n},useState:Xp,useDebugValue:bu,useDeferredValue:function(n){return Zn().memoizedState=n},useTransition:function(){var n=Xp(!1),r=n[0];return n=_w.bind(null,n[1]),Zn().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,o){var l=ct,h=Zn();if(st){if(o===void 0)throw Error(a(407));o=o()}else{if(o=r(),Ct===null)throw Error(a(349));(_a&30)!==0||Wp(l,r,o)}h.memoizedState=o;var m={value:o,getSnapshot:r};return h.queue=m,qp(Gp.bind(null,l,m,n),[n]),l.flags|=2048,ho(9,$p.bind(null,l,m,o,r),void 0,null),o},useId:function(){var n=Zn(),r=Ct.identifierPrefix;if(st){var o=pr,l=fr;o=(l&~(1<<32-Nt(l)-1)).toString(32)+o,r=":"+r+"R"+o,o=co++,0<o&&(r+="H"+o.toString(32)),r+=":"}else o=bw++,r=":"+r+"r"+o.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},Sw={readContext:vn,useCallback:nm,useContext:vn,useEffect:ku,useImperativeHandle:tm,useInsertionEffect:Qp,useLayoutEffect:Jp,useMemo:rm,useReducer:vu,useRef:Zp,useState:function(){return vu(uo)},useDebugValue:bu,useDeferredValue:function(n){var r=yn();return am(r,bt.memoizedState,n)},useTransition:function(){var n=vu(uo)[0],r=yn().memoizedState;return[n,r]},useMutableSource:Bp,useSyncExternalStore:Hp,useId:im,unstable_isNewReconciler:!1},Cw={readContext:vn,useCallback:nm,useContext:vn,useEffect:ku,useImperativeHandle:tm,useInsertionEffect:Qp,useLayoutEffect:Jp,useMemo:rm,useReducer:yu,useRef:Zp,useState:function(){return yu(uo)},useDebugValue:bu,useDeferredValue:function(n){var r=yn();return bt===null?r.memoizedState=n:am(r,bt.memoizedState,n)},useTransition:function(){var n=yu(uo)[0],r=yn().memoizedState;return[n,r]},useMutableSource:Bp,useSyncExternalStore:Hp,useId:im,unstable_isNewReconciler:!1};function Ln(n,r){if(n&&n.defaultProps){r=O({},r),n=n.defaultProps;for(var o in n)r[o]===void 0&&(r[o]=n[o]);return r}return r}function _u(n,r,o,l){r=n.memoizedState,o=o(l,r),o=o==null?r:O({},r,o),n.memoizedState=o,n.lanes===0&&(n.updateQueue.baseState=o)}var Ys={isMounted:function(n){return(n=n._reactInternals)?le(n)===n:!1},enqueueSetState:function(n,r,o){n=n._reactInternals;var l=Gt(),h=Hr(n),m=gr(l,h);m.payload=r,o!=null&&(m.callback=o),r=Vr(n,m,h),r!==null&&(On(r,n,h,l),Fs(r,n,h))},enqueueReplaceState:function(n,r,o){n=n._reactInternals;var l=Gt(),h=Hr(n),m=gr(l,h);m.tag=1,m.payload=r,o!=null&&(m.callback=o),r=Vr(n,m,h),r!==null&&(On(r,n,h,l),Fs(r,n,h))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var o=Gt(),l=Hr(n),h=gr(o,l);h.tag=2,r!=null&&(h.callback=r),r=Vr(n,h,l),r!==null&&(On(r,n,l,o),Fs(r,n,l))}};function cm(n,r,o,l,h,m,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(l,m,b):r.prototype&&r.prototype.isPureReactComponent?!qi(o,l)||!qi(h,m):!0}function um(n,r,o){var l=!1,h=jr,m=r.contextType;return typeof m=="object"&&m!==null?m=vn(m):(h=Qt(r)?ga:Ot.current,l=r.contextTypes,m=(l=l!=null)?ii(n,h):jr),r=new r(o,m),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Ys,n.stateNode=r,r._reactInternals=n,l&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=h,n.__reactInternalMemoizedMaskedChildContext=m),r}function dm(n,r,o,l){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,l),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,l),r.state!==n&&Ys.enqueueReplaceState(r,r.state,null)}function wu(n,r,o,l){var h=n.stateNode;h.props=o,h.state=n.memoizedState,h.refs={},lu(n);var m=r.contextType;typeof m=="object"&&m!==null?h.context=vn(m):(m=Qt(r)?ga:Ot.current,h.context=ii(n,m)),h.state=n.memoizedState,m=r.getDerivedStateFromProps,typeof m=="function"&&(_u(n,r,m,o),h.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(r=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),r!==h.state&&Ys.enqueueReplaceState(h,h.state,null),Us(n,o,h,l),h.state=n.memoizedState),typeof h.componentDidMount=="function"&&(n.flags|=4194308)}function fi(n,r){try{var o="",l=r;do o+=he(l),l=l.return;while(l);var h=o}catch(m){h=`
|
|
8
|
+
Error generating stack: `+m.message+`
|
|
9
|
+
`+m.stack}return{value:n,source:r,stack:h,digest:null}}function xu(n,r,o){return{value:n,source:null,stack:o??null,digest:r??null}}function Pu(n,r){try{console.error(r.value)}catch(o){setTimeout(function(){throw o})}}var Tw=typeof WeakMap=="function"?WeakMap:Map;function hm(n,r,o){o=gr(-1,o),o.tag=3,o.payload={element:null};var l=r.value;return o.callback=function(){tl||(tl=!0,Vu=l),Pu(n,r)},o}function fm(n,r,o){o=gr(-1,o),o.tag=3;var l=n.type.getDerivedStateFromError;if(typeof l=="function"){var h=r.value;o.payload=function(){return l(h)},o.callback=function(){Pu(n,r)}}var m=n.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(o.callback=function(){Pu(n,r),typeof l!="function"&&(Ur===null?Ur=new Set([this]):Ur.add(this));var b=r.stack;this.componentDidCatch(r.value,{componentStack:b!==null?b:""})}),o}function pm(n,r,o){var l=n.pingCache;if(l===null){l=n.pingCache=new Tw;var h=new Set;l.set(r,h)}else h=l.get(r),h===void 0&&(h=new Set,l.set(r,h));h.has(o)||(h.add(o),n=Uw.bind(null,n,r,o),r.then(n,n))}function mm(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function gm(n,r,o,l,h){return(n.mode&1)===0?(n===r?n.flags|=65536:(n.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(r=gr(-1,1),r.tag=2,Vr(o,r,1))),o.lanes|=1),n):(n.flags|=65536,n.lanes=h,n)}var Ew=D.ReactCurrentOwner,Jt=!1;function $t(n,r,o,l){r.child=n===null?jp(r,null,o,l):ci(r,n.child,o,l)}function vm(n,r,o,l,h){o=o.render;var m=r.ref;return di(r,h),l=mu(n,r,o,l,m,h),o=gu(),n!==null&&!Jt?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~h,vr(n,r,h)):(st&&o&&Qc(r),r.flags|=1,$t(n,r,l,h),r.child)}function ym(n,r,o,l,h){if(n===null){var m=o.type;return typeof m=="function"&&!Gu(m)&&m.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(r.tag=15,r.type=m,km(n,r,m,l,h)):(n=sl(o.type,null,l,r,r.mode,h),n.ref=r.ref,n.return=r,r.child=n)}if(m=n.child,(n.lanes&h)===0){var b=m.memoizedProps;if(o=o.compare,o=o!==null?o:qi,o(b,l)&&n.ref===r.ref)return vr(n,r,h)}return r.flags|=1,n=$r(m,l),n.ref=r.ref,n.return=r,r.child=n}function km(n,r,o,l,h){if(n!==null){var m=n.memoizedProps;if(qi(m,l)&&n.ref===r.ref)if(Jt=!1,r.pendingProps=l=m,(n.lanes&h)!==0)(n.flags&131072)!==0&&(Jt=!0);else return r.lanes=n.lanes,vr(n,r,h)}return Su(n,r,o,l,h)}function bm(n,r,o){var l=r.pendingProps,h=l.children,m=n!==null?n.memoizedState:null;if(l.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},tt(mi,hn),hn|=o;else{if((o&1073741824)===0)return n=m!==null?m.baseLanes|o:o,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,tt(mi,hn),hn|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=m!==null?m.baseLanes:o,tt(mi,hn),hn|=l}else m!==null?(l=m.baseLanes|o,r.memoizedState=null):l=o,tt(mi,hn),hn|=l;return $t(n,r,h,o),r.child}function _m(n,r){var o=r.ref;(n===null&&o!==null||n!==null&&n.ref!==o)&&(r.flags|=512,r.flags|=2097152)}function Su(n,r,o,l,h){var m=Qt(o)?ga:Ot.current;return m=ii(r,m),di(r,h),o=mu(n,r,o,l,m,h),l=gu(),n!==null&&!Jt?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~h,vr(n,r,h)):(st&&l&&Qc(r),r.flags|=1,$t(n,r,o,h),r.child)}function wm(n,r,o,l,h){if(Qt(o)){var m=!0;As(r)}else m=!1;if(di(r,h),r.stateNode===null)Zs(n,r),um(r,o,l),wu(r,o,l,h),l=!0;else if(n===null){var b=r.stateNode,C=r.memoizedProps;b.props=C;var R=b.context,H=o.contextType;typeof H=="object"&&H!==null?H=vn(H):(H=Qt(o)?ga:Ot.current,H=ii(r,H));var J=o.getDerivedStateFromProps,te=typeof J=="function"||typeof b.getSnapshotBeforeUpdate=="function";te||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(C!==l||R!==H)&&dm(r,b,l,H),zr=!1;var X=r.memoizedState;b.state=X,Us(r,l,b,h),R=r.memoizedState,C!==l||X!==R||qt.current||zr?(typeof J=="function"&&(_u(r,o,J,l),R=r.memoizedState),(C=zr||cm(r,o,C,l,X,R,H))?(te||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(r.flags|=4194308)):(typeof b.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=l,r.memoizedState=R),b.props=l,b.state=R,b.context=H,l=C):(typeof b.componentDidMount=="function"&&(r.flags|=4194308),l=!1)}else{b=r.stateNode,zp(n,r),C=r.memoizedProps,H=r.type===r.elementType?C:Ln(r.type,C),b.props=H,te=r.pendingProps,X=b.context,R=o.contextType,typeof R=="object"&&R!==null?R=vn(R):(R=Qt(o)?ga:Ot.current,R=ii(r,R));var ce=o.getDerivedStateFromProps;(J=typeof ce=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(C!==te||X!==R)&&dm(r,b,l,R),zr=!1,X=r.memoizedState,b.state=X,Us(r,l,b,h);var ge=r.memoizedState;C!==te||X!==ge||qt.current||zr?(typeof ce=="function"&&(_u(r,o,ce,l),ge=r.memoizedState),(H=zr||cm(r,o,H,l,X,ge,R)||!1)?(J||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(l,ge,R),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(l,ge,R)),typeof b.componentDidUpdate=="function"&&(r.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof b.componentDidUpdate!="function"||C===n.memoizedProps&&X===n.memoizedState||(r.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&X===n.memoizedState||(r.flags|=1024),r.memoizedProps=l,r.memoizedState=ge),b.props=l,b.state=ge,b.context=R,l=H):(typeof b.componentDidUpdate!="function"||C===n.memoizedProps&&X===n.memoizedState||(r.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&X===n.memoizedState||(r.flags|=1024),l=!1)}return Cu(n,r,o,l,m,h)}function Cu(n,r,o,l,h,m){_m(n,r);var b=(r.flags&128)!==0;if(!l&&!b)return h&&Tp(r,o,!1),vr(n,r,m);l=r.stateNode,Ew.current=r;var C=b&&typeof o.getDerivedStateFromError!="function"?null:l.render();return r.flags|=1,n!==null&&b?(r.child=ci(r,n.child,null,m),r.child=ci(r,null,C,m)):$t(n,r,C,m),r.memoizedState=l.state,h&&Tp(r,o,!0),r.child}function xm(n){var r=n.stateNode;r.pendingContext?Sp(n,r.pendingContext,r.pendingContext!==r.context):r.context&&Sp(n,r.context,!1),cu(n,r.containerInfo)}function Pm(n,r,o,l,h){return li(),nu(h),r.flags|=256,$t(n,r,o,l),r.child}var Tu={dehydrated:null,treeContext:null,retryLane:0};function Eu(n){return{baseLanes:n,cachePool:null,transitions:null}}function Sm(n,r,o){var l=r.pendingProps,h=lt.current,m=!1,b=(r.flags&128)!==0,C;if((C=b)||(C=n!==null&&n.memoizedState===null?!1:(h&2)!==0),C?(m=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(h|=1),tt(lt,h&1),n===null)return tu(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?((r.mode&1)===0?r.lanes=1:n.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(b=l.children,n=l.fallback,m?(l=r.mode,m=r.child,b={mode:"hidden",children:b},(l&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=b):m=ll(b,l,0,null),n=Ca(n,l,o,null),m.return=r,n.return=r,m.sibling=n,r.child=m,r.child.memoizedState=Eu(o),r.memoizedState=Tu,n):Ru(r,b));if(h=n.memoizedState,h!==null&&(C=h.dehydrated,C!==null))return Rw(n,r,b,l,C,h,o);if(m){m=l.fallback,b=r.mode,h=n.child,C=h.sibling;var R={mode:"hidden",children:l.children};return(b&1)===0&&r.child!==h?(l=r.child,l.childLanes=0,l.pendingProps=R,r.deletions=null):(l=$r(h,R),l.subtreeFlags=h.subtreeFlags&14680064),C!==null?m=$r(C,m):(m=Ca(m,b,o,null),m.flags|=2),m.return=r,l.return=r,l.sibling=m,r.child=l,l=m,m=r.child,b=n.child.memoizedState,b=b===null?Eu(o):{baseLanes:b.baseLanes|o,cachePool:null,transitions:b.transitions},m.memoizedState=b,m.childLanes=n.childLanes&~o,r.memoizedState=Tu,l}return m=n.child,n=m.sibling,l=$r(m,{mode:"visible",children:l.children}),(r.mode&1)===0&&(l.lanes=o),l.return=r,l.sibling=null,n!==null&&(o=r.deletions,o===null?(r.deletions=[n],r.flags|=16):o.push(n)),r.child=l,r.memoizedState=null,l}function Ru(n,r){return r=ll({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function Xs(n,r,o,l){return l!==null&&nu(l),ci(r,n.child,null,o),n=Ru(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Rw(n,r,o,l,h,m,b){if(o)return r.flags&256?(r.flags&=-257,l=xu(Error(a(422))),Xs(n,r,b,l)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(m=l.fallback,h=r.mode,l=ll({mode:"visible",children:l.children},h,0,null),m=Ca(m,h,b,null),m.flags|=2,l.return=r,m.return=r,l.sibling=m,r.child=l,(r.mode&1)!==0&&ci(r,n.child,null,b),r.child.memoizedState=Eu(b),r.memoizedState=Tu,m);if((r.mode&1)===0)return Xs(n,r,b,null);if(h.data==="$!"){if(l=h.nextSibling&&h.nextSibling.dataset,l)var C=l.dgst;return l=C,m=Error(a(419)),l=xu(m,l,void 0),Xs(n,r,b,l)}if(C=(b&n.childLanes)!==0,Jt||C){if(l=Ct,l!==null){switch(b&-b){case 4:h=2;break;case 16:h=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h=32;break;case 536870912:h=268435456;break;default:h=0}h=(h&(l.suspendedLanes|b))!==0?0:h,h!==0&&h!==m.retryLane&&(m.retryLane=h,mr(n,h),On(l,n,h,-1))}return $u(),l=xu(Error(a(421))),Xs(n,r,b,l)}return h.data==="$?"?(r.flags|=128,r.child=n.child,r=Bw.bind(null,n),h._reactRetry=r,null):(n=m.treeContext,dn=Lr(h.nextSibling),un=r,st=!0,Mn=null,n!==null&&(mn[gn++]=fr,mn[gn++]=pr,mn[gn++]=va,fr=n.id,pr=n.overflow,va=r),r=Ru(r,l.children),r.flags|=4096,r)}function Cm(n,r,o){n.lanes|=r;var l=n.alternate;l!==null&&(l.lanes|=r),ou(n.return,r,o)}function Du(n,r,o,l,h){var m=n.memoizedState;m===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:l,tail:o,tailMode:h}:(m.isBackwards=r,m.rendering=null,m.renderingStartTime=0,m.last=l,m.tail=o,m.tailMode=h)}function Tm(n,r,o){var l=r.pendingProps,h=l.revealOrder,m=l.tail;if($t(n,r,l.children,o),l=lt.current,(l&2)!==0)l=l&1|2,r.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Cm(n,o,r);else if(n.tag===19)Cm(n,o,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}l&=1}if(tt(lt,l),(r.mode&1)===0)r.memoizedState=null;else switch(h){case"forwards":for(o=r.child,h=null;o!==null;)n=o.alternate,n!==null&&Bs(n)===null&&(h=o),o=o.sibling;o=h,o===null?(h=r.child,r.child=null):(h=o.sibling,o.sibling=null),Du(r,!1,h,o,m);break;case"backwards":for(o=null,h=r.child,r.child=null;h!==null;){if(n=h.alternate,n!==null&&Bs(n)===null){r.child=h;break}n=h.sibling,h.sibling=o,o=h,h=n}Du(r,!0,o,null,m);break;case"together":Du(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Zs(n,r){(r.mode&1)===0&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function vr(n,r,o){if(n!==null&&(r.dependencies=n.dependencies),wa|=r.lanes,(o&r.childLanes)===0)return null;if(n!==null&&r.child!==n.child)throw Error(a(153));if(r.child!==null){for(n=r.child,o=$r(n,n.pendingProps),r.child=o,o.return=r;n.sibling!==null;)n=n.sibling,o=o.sibling=$r(n,n.pendingProps),o.return=r;o.sibling=null}return r.child}function Dw(n,r,o){switch(r.tag){case 3:xm(r),li();break;case 5:Up(r);break;case 1:Qt(r.type)&&As(r);break;case 4:cu(r,r.stateNode.containerInfo);break;case 10:var l=r.type._context,h=r.memoizedProps.value;tt(zs,l._currentValue),l._currentValue=h;break;case 13:if(l=r.memoizedState,l!==null)return l.dehydrated!==null?(tt(lt,lt.current&1),r.flags|=128,null):(o&r.child.childLanes)!==0?Sm(n,r,o):(tt(lt,lt.current&1),n=vr(n,r,o),n!==null?n.sibling:null);tt(lt,lt.current&1);break;case 19:if(l=(o&r.childLanes)!==0,(n.flags&128)!==0){if(l)return Tm(n,r,o);r.flags|=128}if(h=r.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),tt(lt,lt.current),l)break;return null;case 22:case 23:return r.lanes=0,bm(n,r,o)}return vr(n,r,o)}var Em,Iu,Rm,Dm;Em=function(n,r){for(var o=r.child;o!==null;){if(o.tag===5||o.tag===6)n.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},Iu=function(){},Rm=function(n,r,o,l){var h=n.memoizedProps;if(h!==l){n=r.stateNode,ba(Xn.current);var m=null;switch(o){case"input":h=Et(n,h),l=Et(n,l),m=[];break;case"select":h=O({},h,{value:void 0}),l=O({},l,{value:void 0}),m=[];break;case"textarea":h=da(n,h),l=da(n,l),m=[];break;default:typeof h.onClick!="function"&&typeof l.onClick=="function"&&(n.onclick=Rs)}$n(o,l);var b;o=null;for(H in h)if(!l.hasOwnProperty(H)&&h.hasOwnProperty(H)&&h[H]!=null)if(H==="style"){var C=h[H];for(b in C)C.hasOwnProperty(b)&&(o||(o={}),o[b]="")}else H!=="dangerouslySetInnerHTML"&&H!=="children"&&H!=="suppressContentEditableWarning"&&H!=="suppressHydrationWarning"&&H!=="autoFocus"&&(s.hasOwnProperty(H)?m||(m=[]):(m=m||[]).push(H,null));for(H in l){var R=l[H];if(C=h?.[H],l.hasOwnProperty(H)&&R!==C&&(R!=null||C!=null))if(H==="style")if(C){for(b in C)!C.hasOwnProperty(b)||R&&R.hasOwnProperty(b)||(o||(o={}),o[b]="");for(b in R)R.hasOwnProperty(b)&&C[b]!==R[b]&&(o||(o={}),o[b]=R[b])}else o||(m||(m=[]),m.push(H,o)),o=R;else H==="dangerouslySetInnerHTML"?(R=R?R.__html:void 0,C=C?C.__html:void 0,R!=null&&C!==R&&(m=m||[]).push(H,R)):H==="children"?typeof R!="string"&&typeof R!="number"||(m=m||[]).push(H,""+R):H!=="suppressContentEditableWarning"&&H!=="suppressHydrationWarning"&&(s.hasOwnProperty(H)?(R!=null&&H==="onScroll"&&rt("scroll",n),m||C===R||(m=[])):(m=m||[]).push(H,R))}o&&(m=m||[]).push("style",o);var H=m;(r.updateQueue=H)&&(r.flags|=4)}},Dm=function(n,r,o,l){o!==l&&(r.flags|=4)};function fo(n,r){if(!st)switch(n.tailMode){case"hidden":r=n.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?n.tail=null:o.sibling=null;break;case"collapsed":o=n.tail;for(var l=null;o!==null;)o.alternate!==null&&(l=o),o=o.sibling;l===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:l.sibling=null}}function Vt(n){var r=n.alternate!==null&&n.alternate.child===n.child,o=0,l=0;if(r)for(var h=n.child;h!==null;)o|=h.lanes|h.childLanes,l|=h.subtreeFlags&14680064,l|=h.flags&14680064,h.return=n,h=h.sibling;else for(h=n.child;h!==null;)o|=h.lanes|h.childLanes,l|=h.subtreeFlags,l|=h.flags,h.return=n,h=h.sibling;return n.subtreeFlags|=l,n.childLanes=o,r}function Iw(n,r,o){var l=r.pendingProps;switch(Jc(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vt(r),null;case 1:return Qt(r.type)&&Is(),Vt(r),null;case 3:return l=r.stateNode,hi(),at(qt),at(Ot),hu(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(n===null||n.child===null)&&(js(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Mn!==null&&(Bu(Mn),Mn=null))),Iu(n,r),Vt(r),null;case 5:uu(r);var h=ba(so.current);if(o=r.type,n!==null&&r.stateNode!=null)Rm(n,r,o,l,h),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!l){if(r.stateNode===null)throw Error(a(166));return Vt(r),null}if(n=ba(Xn.current),js(r)){l=r.stateNode,o=r.type;var m=r.memoizedProps;switch(l[Yn]=r,l[no]=m,n=(r.mode&1)!==0,o){case"dialog":rt("cancel",l),rt("close",l);break;case"iframe":case"object":case"embed":rt("load",l);break;case"video":case"audio":for(h=0;h<Ji.length;h++)rt(Ji[h],l);break;case"source":rt("error",l);break;case"img":case"image":case"link":rt("error",l),rt("load",l);break;case"details":rt("toggle",l);break;case"input":ua(l,m),rt("invalid",l);break;case"select":l._wrapperState={wasMultiple:!!m.multiple},rt("invalid",l);break;case"textarea":$a(l,m),rt("invalid",l)}$n(o,m),h=null;for(var b in m)if(m.hasOwnProperty(b)){var C=m[b];b==="children"?typeof C=="string"?l.textContent!==C&&(m.suppressHydrationWarning!==!0&&Es(l.textContent,C,n),h=["children",C]):typeof C=="number"&&l.textContent!==""+C&&(m.suppressHydrationWarning!==!0&&Es(l.textContent,C,n),h=["children",""+C]):s.hasOwnProperty(b)&&C!=null&&b==="onScroll"&&rt("scroll",l)}switch(o){case"input":an(l),Wa(l,m,!0);break;case"textarea":an(l),Ae(l);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(l.onclick=Rs)}l=h,r.updateQueue=l,l!==null&&(r.flags|=4)}else{b=h.nodeType===9?h:h.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Ze(o)),n==="http://www.w3.org/1999/xhtml"?o==="script"?(n=b.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof l.is=="string"?n=b.createElement(o,{is:l.is}):(n=b.createElement(o),o==="select"&&(b=n,l.multiple?b.multiple=!0:l.size&&(b.size=l.size))):n=b.createElementNS(n,o),n[Yn]=r,n[no]=l,Em(n,r,!1,!1),r.stateNode=n;e:{switch(b=Gn(o,l),o){case"dialog":rt("cancel",n),rt("close",n),h=l;break;case"iframe":case"object":case"embed":rt("load",n),h=l;break;case"video":case"audio":for(h=0;h<Ji.length;h++)rt(Ji[h],n);h=l;break;case"source":rt("error",n),h=l;break;case"img":case"image":case"link":rt("error",n),rt("load",n),h=l;break;case"details":rt("toggle",n),h=l;break;case"input":ua(n,l),h=Et(n,l),rt("invalid",n);break;case"option":h=l;break;case"select":n._wrapperState={wasMultiple:!!l.multiple},h=O({},l,{value:void 0}),rt("invalid",n);break;case"textarea":$a(n,l),h=da(n,l),rt("invalid",n);break;default:h=l}$n(o,h),C=h;for(m in C)if(C.hasOwnProperty(m)){var R=C[m];m==="style"?sr(n,R):m==="dangerouslySetInnerHTML"?(R=R?R.__html:void 0,R!=null&&Je(n,R)):m==="children"?typeof R=="string"?(o!=="textarea"||R!=="")&&Ke(n,R):typeof R=="number"&&Ke(n,""+R):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(s.hasOwnProperty(m)?R!=null&&m==="onScroll"&&rt("scroll",n):R!=null&&I(n,m,R,b))}switch(o){case"input":an(n),Wa(n,l,!1);break;case"textarea":an(n),Ae(n);break;case"option":l.value!=null&&n.setAttribute("value",""+je(l.value));break;case"select":n.multiple=!!l.multiple,m=l.value,m!=null?Bt(n,!!l.multiple,m,!1):l.defaultValue!=null&&Bt(n,!!l.multiple,l.defaultValue,!0);break;default:typeof h.onClick=="function"&&(n.onclick=Rs)}switch(o){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}}l&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return Vt(r),null;case 6:if(n&&r.stateNode!=null)Dm(n,r,n.memoizedProps,l);else{if(typeof l!="string"&&r.stateNode===null)throw Error(a(166));if(o=ba(so.current),ba(Xn.current),js(r)){if(l=r.stateNode,o=r.memoizedProps,l[Yn]=r,(m=l.nodeValue!==o)&&(n=un,n!==null))switch(n.tag){case 3:Es(l.nodeValue,o,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Es(l.nodeValue,o,(n.mode&1)!==0)}m&&(r.flags|=4)}else l=(o.nodeType===9?o:o.ownerDocument).createTextNode(l),l[Yn]=r,r.stateNode=l}return Vt(r),null;case 13:if(at(lt),l=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(st&&dn!==null&&(r.mode&1)!==0&&(r.flags&128)===0)Mp(),li(),r.flags|=98560,m=!1;else if(m=js(r),l!==null&&l.dehydrated!==null){if(n===null){if(!m)throw Error(a(318));if(m=r.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(a(317));m[Yn]=r}else li(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Vt(r),m=!1}else Mn!==null&&(Bu(Mn),Mn=null),m=!0;if(!m)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=o,r):(l=l!==null,l!==(n!==null&&n.memoizedState!==null)&&l&&(r.child.flags|=8192,(r.mode&1)!==0&&(n===null||(lt.current&1)!==0?_t===0&&(_t=3):$u())),r.updateQueue!==null&&(r.flags|=4),Vt(r),null);case 4:return hi(),Iu(n,r),n===null&&eo(r.stateNode.containerInfo),Vt(r),null;case 10:return iu(r.type._context),Vt(r),null;case 17:return Qt(r.type)&&Is(),Vt(r),null;case 19:if(at(lt),m=r.memoizedState,m===null)return Vt(r),null;if(l=(r.flags&128)!==0,b=m.rendering,b===null)if(l)fo(m,!1);else{if(_t!==0||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(b=Bs(n),b!==null){for(r.flags|=128,fo(m,!1),l=b.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),r.subtreeFlags=0,l=o,o=r.child;o!==null;)m=o,n=l,m.flags&=14680066,b=m.alternate,b===null?(m.childLanes=0,m.lanes=n,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=b.childLanes,m.lanes=b.lanes,m.child=b.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=b.memoizedProps,m.memoizedState=b.memoizedState,m.updateQueue=b.updateQueue,m.type=b.type,n=b.dependencies,m.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),o=o.sibling;return tt(lt,lt.current&1|2),r.child}n=n.sibling}m.tail!==null&&Fe()>gi&&(r.flags|=128,l=!0,fo(m,!1),r.lanes=4194304)}else{if(!l)if(n=Bs(b),n!==null){if(r.flags|=128,l=!0,o=n.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),fo(m,!0),m.tail===null&&m.tailMode==="hidden"&&!b.alternate&&!st)return Vt(r),null}else 2*Fe()-m.renderingStartTime>gi&&o!==1073741824&&(r.flags|=128,l=!0,fo(m,!1),r.lanes=4194304);m.isBackwards?(b.sibling=r.child,r.child=b):(o=m.last,o!==null?o.sibling=b:r.child=b,m.last=b)}return m.tail!==null?(r=m.tail,m.rendering=r,m.tail=r.sibling,m.renderingStartTime=Fe(),r.sibling=null,o=lt.current,tt(lt,l?o&1|2:o&1),r):(Vt(r),null);case 22:case 23:return Wu(),l=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==l&&(r.flags|=8192),l&&(r.mode&1)!==0?(hn&1073741824)!==0&&(Vt(r),r.subtreeFlags&6&&(r.flags|=8192)):Vt(r),null;case 24:return null;case 25:return null}throw Error(a(156,r.tag))}function Aw(n,r){switch(Jc(r),r.tag){case 1:return Qt(r.type)&&Is(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return hi(),at(qt),at(Ot),hu(),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 5:return uu(r),null;case 13:if(at(lt),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(a(340));li()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return at(lt),null;case 4:return hi(),null;case 10:return iu(r.type._context),null;case 22:case 23:return Wu(),null;case 24:return null;default:return null}}var qs=!1,Ft=!1,Mw=typeof WeakSet=="function"?WeakSet:Set,me=null;function pi(n,r){var o=n.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(l){dt(n,r,l)}else o.current=null}function Au(n,r,o){try{o()}catch(l){dt(n,r,l)}}var Im=!1;function Lw(n,r){if(Wc=vs,n=cp(),jc(n)){if("selectionStart"in n)var o={start:n.selectionStart,end:n.selectionEnd};else e:{o=(o=n.ownerDocument)&&o.defaultView||window;var l=o.getSelection&&o.getSelection();if(l&&l.rangeCount!==0){o=l.anchorNode;var h=l.anchorOffset,m=l.focusNode;l=l.focusOffset;try{o.nodeType,m.nodeType}catch{o=null;break e}var b=0,C=-1,R=-1,H=0,J=0,te=n,X=null;t:for(;;){for(var ce;te!==o||h!==0&&te.nodeType!==3||(C=b+h),te!==m||l!==0&&te.nodeType!==3||(R=b+l),te.nodeType===3&&(b+=te.nodeValue.length),(ce=te.firstChild)!==null;)X=te,te=ce;for(;;){if(te===n)break t;if(X===o&&++H===h&&(C=b),X===m&&++J===l&&(R=b),(ce=te.nextSibling)!==null)break;te=X,X=te.parentNode}te=ce}o=C===-1||R===-1?null:{start:C,end:R}}else o=null}o=o||{start:0,end:0}}else o=null;for($c={focusedElem:n,selectionRange:o},vs=!1,me=r;me!==null;)if(r=me,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,me=n;else for(;me!==null;){r=me;try{var ge=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(ge!==null){var be=ge.memoizedProps,pt=ge.memoizedState,z=r.stateNode,M=z.getSnapshotBeforeUpdate(r.elementType===r.type?be:Ln(r.type,be),pt);z.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var U=r.stateNode.containerInfo;U.nodeType===1?U.textContent="":U.nodeType===9&&U.documentElement&&U.removeChild(U.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}catch(re){dt(r,r.return,re)}if(n=r.sibling,n!==null){n.return=r.return,me=n;break}me=r.return}return ge=Im,Im=!1,ge}function po(n,r,o){var l=r.updateQueue;if(l=l!==null?l.lastEffect:null,l!==null){var h=l=l.next;do{if((h.tag&n)===n){var m=h.destroy;h.destroy=void 0,m!==void 0&&Au(r,o,m)}h=h.next}while(h!==l)}}function Qs(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&n)===n){var l=o.create;o.destroy=l()}o=o.next}while(o!==r)}}function Mu(n){var r=n.ref;if(r!==null){var o=n.stateNode;n.tag,n=o,typeof r=="function"?r(n):r.current=n}}function Am(n){var r=n.alternate;r!==null&&(n.alternate=null,Am(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Yn],delete r[no],delete r[Xc],delete r[gw],delete r[vw])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Mm(n){return n.tag===5||n.tag===3||n.tag===4}function Lm(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Mm(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Lu(n,r,o){var l=n.tag;if(l===5||l===6)n=n.stateNode,r?o.nodeType===8?o.parentNode.insertBefore(n,r):o.insertBefore(n,r):(o.nodeType===8?(r=o.parentNode,r.insertBefore(n,o)):(r=o,r.appendChild(n)),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=Rs));else if(l!==4&&(n=n.child,n!==null))for(Lu(n,r,o),n=n.sibling;n!==null;)Lu(n,r,o),n=n.sibling}function Nu(n,r,o){var l=n.tag;if(l===5||l===6)n=n.stateNode,r?o.insertBefore(n,r):o.appendChild(n);else if(l!==4&&(n=n.child,n!==null))for(Nu(n,r,o),n=n.sibling;n!==null;)Nu(n,r,o),n=n.sibling}var Rt=null,Nn=!1;function Fr(n,r,o){for(o=o.child;o!==null;)Nm(n,r,o),o=o.sibling}function Nm(n,r,o){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(Sr,o)}catch{}switch(o.tag){case 5:Ft||pi(o,r);case 6:var l=Rt,h=Nn;Rt=null,Fr(n,r,o),Rt=l,Nn=h,Rt!==null&&(Nn?(n=Rt,o=o.stateNode,n.nodeType===8?n.parentNode.removeChild(o):n.removeChild(o)):Rt.removeChild(o.stateNode));break;case 18:Rt!==null&&(Nn?(n=Rt,o=o.stateNode,n.nodeType===8?Yc(n.parentNode,o):n.nodeType===1&&Yc(n,o),$i(n)):Yc(Rt,o.stateNode));break;case 4:l=Rt,h=Nn,Rt=o.stateNode.containerInfo,Nn=!0,Fr(n,r,o),Rt=l,Nn=h;break;case 0:case 11:case 14:case 15:if(!Ft&&(l=o.updateQueue,l!==null&&(l=l.lastEffect,l!==null))){h=l=l.next;do{var m=h,b=m.destroy;m=m.tag,b!==void 0&&((m&2)!==0||(m&4)!==0)&&Au(o,r,b),h=h.next}while(h!==l)}Fr(n,r,o);break;case 1:if(!Ft&&(pi(o,r),l=o.stateNode,typeof l.componentWillUnmount=="function"))try{l.props=o.memoizedProps,l.state=o.memoizedState,l.componentWillUnmount()}catch(C){dt(o,r,C)}Fr(n,r,o);break;case 21:Fr(n,r,o);break;case 22:o.mode&1?(Ft=(l=Ft)||o.memoizedState!==null,Fr(n,r,o),Ft=l):Fr(n,r,o);break;default:Fr(n,r,o)}}function jm(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var o=n.stateNode;o===null&&(o=n.stateNode=new Mw),r.forEach(function(l){var h=Hw.bind(null,n,l);o.has(l)||(o.add(l),l.then(h,h))})}}function jn(n,r){var o=r.deletions;if(o!==null)for(var l=0;l<o.length;l++){var h=o[l];try{var m=n,b=r,C=b;e:for(;C!==null;){switch(C.tag){case 5:Rt=C.stateNode,Nn=!1;break e;case 3:Rt=C.stateNode.containerInfo,Nn=!0;break e;case 4:Rt=C.stateNode.containerInfo,Nn=!0;break e}C=C.return}if(Rt===null)throw Error(a(160));Nm(m,b,h),Rt=null,Nn=!1;var R=h.alternate;R!==null&&(R.return=null),h.return=null}catch(H){dt(h,r,H)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Om(r,n),r=r.sibling}function Om(n,r){var o=n.alternate,l=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(jn(r,n),qn(n),l&4){try{po(3,n,n.return),Qs(3,n)}catch(be){dt(n,n.return,be)}try{po(5,n,n.return)}catch(be){dt(n,n.return,be)}}break;case 1:jn(r,n),qn(n),l&512&&o!==null&&pi(o,o.return);break;case 5:if(jn(r,n),qn(n),l&512&&o!==null&&pi(o,o.return),n.flags&32){var h=n.stateNode;try{Ke(h,"")}catch(be){dt(n,n.return,be)}}if(l&4&&(h=n.stateNode,h!=null)){var m=n.memoizedProps,b=o!==null?o.memoizedProps:m,C=n.type,R=n.updateQueue;if(n.updateQueue=null,R!==null)try{C==="input"&&m.type==="radio"&&m.name!=null&&Ha(h,m),Gn(C,b);var H=Gn(C,m);for(b=0;b<R.length;b+=2){var J=R[b],te=R[b+1];J==="style"?sr(h,te):J==="dangerouslySetInnerHTML"?Je(h,te):J==="children"?Ke(h,te):I(h,J,te,H)}switch(C){case"input":on(h,m);break;case"textarea":Le(h,m);break;case"select":var X=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!m.multiple;var ce=m.value;ce!=null?Bt(h,!!m.multiple,ce,!1):X!==!!m.multiple&&(m.defaultValue!=null?Bt(h,!!m.multiple,m.defaultValue,!0):Bt(h,!!m.multiple,m.multiple?[]:"",!1))}h[no]=m}catch(be){dt(n,n.return,be)}}break;case 6:if(jn(r,n),qn(n),l&4){if(n.stateNode===null)throw Error(a(162));h=n.stateNode,m=n.memoizedProps;try{h.nodeValue=m}catch(be){dt(n,n.return,be)}}break;case 3:if(jn(r,n),qn(n),l&4&&o!==null&&o.memoizedState.isDehydrated)try{$i(r.containerInfo)}catch(be){dt(n,n.return,be)}break;case 4:jn(r,n),qn(n);break;case 13:jn(r,n),qn(n),h=n.child,h.flags&8192&&(m=h.memoizedState!==null,h.stateNode.isHidden=m,!m||h.alternate!==null&&h.alternate.memoizedState!==null||(zu=Fe())),l&4&&jm(n);break;case 22:if(J=o!==null&&o.memoizedState!==null,n.mode&1?(Ft=(H=Ft)||J,jn(r,n),Ft=H):jn(r,n),qn(n),l&8192){if(H=n.memoizedState!==null,(n.stateNode.isHidden=H)&&!J&&(n.mode&1)!==0)for(me=n,J=n.child;J!==null;){for(te=me=J;me!==null;){switch(X=me,ce=X.child,X.tag){case 0:case 11:case 14:case 15:po(4,X,X.return);break;case 1:pi(X,X.return);var ge=X.stateNode;if(typeof ge.componentWillUnmount=="function"){l=X,o=X.return;try{r=l,ge.props=r.memoizedProps,ge.state=r.memoizedState,ge.componentWillUnmount()}catch(be){dt(l,o,be)}}break;case 5:pi(X,X.return);break;case 22:if(X.memoizedState!==null){Fm(te);continue}}ce!==null?(ce.return=X,me=ce):Fm(te)}J=J.sibling}e:for(J=null,te=n;;){if(te.tag===5){if(J===null){J=te;try{h=te.stateNode,H?(m=h.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(C=te.stateNode,R=te.memoizedProps.style,b=R!=null&&R.hasOwnProperty("display")?R.display:null,C.style.display=Pt("display",b))}catch(be){dt(n,n.return,be)}}}else if(te.tag===6){if(J===null)try{te.stateNode.nodeValue=H?"":te.memoizedProps}catch(be){dt(n,n.return,be)}}else if((te.tag!==22&&te.tag!==23||te.memoizedState===null||te===n)&&te.child!==null){te.child.return=te,te=te.child;continue}if(te===n)break e;for(;te.sibling===null;){if(te.return===null||te.return===n)break e;J===te&&(J=null),te=te.return}J===te&&(J=null),te.sibling.return=te.return,te=te.sibling}}break;case 19:jn(r,n),qn(n),l&4&&jm(n);break;case 21:break;default:jn(r,n),qn(n)}}function qn(n){var r=n.flags;if(r&2){try{e:{for(var o=n.return;o!==null;){if(Mm(o)){var l=o;break e}o=o.return}throw Error(a(160))}switch(l.tag){case 5:var h=l.stateNode;l.flags&32&&(Ke(h,""),l.flags&=-33);var m=Lm(n);Nu(n,m,h);break;case 3:case 4:var b=l.stateNode.containerInfo,C=Lm(n);Lu(n,C,b);break;default:throw Error(a(161))}}catch(R){dt(n,n.return,R)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Nw(n,r,o){me=n,zm(n)}function zm(n,r,o){for(var l=(n.mode&1)!==0;me!==null;){var h=me,m=h.child;if(h.tag===22&&l){var b=h.memoizedState!==null||qs;if(!b){var C=h.alternate,R=C!==null&&C.memoizedState!==null||Ft;C=qs;var H=Ft;if(qs=b,(Ft=R)&&!H)for(me=h;me!==null;)b=me,R=b.child,b.tag===22&&b.memoizedState!==null?Um(h):R!==null?(R.return=b,me=R):Um(h);for(;m!==null;)me=m,zm(m),m=m.sibling;me=h,qs=C,Ft=H}Vm(n)}else(h.subtreeFlags&8772)!==0&&m!==null?(m.return=h,me=m):Vm(n)}}function Vm(n){for(;me!==null;){var r=me;if((r.flags&8772)!==0){var o=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:Ft||Qs(5,r);break;case 1:var l=r.stateNode;if(r.flags&4&&!Ft)if(o===null)l.componentDidMount();else{var h=r.elementType===r.type?o.memoizedProps:Ln(r.type,o.memoizedProps);l.componentDidUpdate(h,o.memoizedState,l.__reactInternalSnapshotBeforeUpdate)}var m=r.updateQueue;m!==null&&Fp(r,m,l);break;case 3:var b=r.updateQueue;if(b!==null){if(o=null,r.child!==null)switch(r.child.tag){case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}Fp(r,b,o)}break;case 5:var C=r.stateNode;if(o===null&&r.flags&4){o=C;var R=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":R.autoFocus&&o.focus();break;case"img":R.src&&(o.src=R.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var H=r.alternate;if(H!==null){var J=H.memoizedState;if(J!==null){var te=J.dehydrated;te!==null&&$i(te)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(a(163))}Ft||r.flags&512&&Mu(r)}catch(X){dt(r,r.return,X)}}if(r===n){me=null;break}if(o=r.sibling,o!==null){o.return=r.return,me=o;break}me=r.return}}function Fm(n){for(;me!==null;){var r=me;if(r===n){me=null;break}var o=r.sibling;if(o!==null){o.return=r.return,me=o;break}me=r.return}}function Um(n){for(;me!==null;){var r=me;try{switch(r.tag){case 0:case 11:case 15:var o=r.return;try{Qs(4,r)}catch(R){dt(r,o,R)}break;case 1:var l=r.stateNode;if(typeof l.componentDidMount=="function"){var h=r.return;try{l.componentDidMount()}catch(R){dt(r,h,R)}}var m=r.return;try{Mu(r)}catch(R){dt(r,m,R)}break;case 5:var b=r.return;try{Mu(r)}catch(R){dt(r,b,R)}}}catch(R){dt(r,r.return,R)}if(r===n){me=null;break}var C=r.sibling;if(C!==null){C.return=r.return,me=C;break}me=r.return}}var jw=Math.ceil,Js=D.ReactCurrentDispatcher,ju=D.ReactCurrentOwner,kn=D.ReactCurrentBatchConfig,We=0,Ct=null,gt=null,Dt=0,hn=0,mi=Nr(0),_t=0,mo=null,wa=0,el=0,Ou=0,go=null,en=null,zu=0,gi=1/0,yr=null,tl=!1,Vu=null,Ur=null,nl=!1,Br=null,rl=0,vo=0,Fu=null,al=-1,il=0;function Gt(){return(We&6)!==0?Fe():al!==-1?al:al=Fe()}function Hr(n){return(n.mode&1)===0?1:(We&2)!==0&&Dt!==0?Dt&-Dt:kw.transition!==null?(il===0&&(il=ps()),il):(n=Xe,n!==0||(n=window.event,n=n===void 0?16:Hf(n.type)),n)}function On(n,r,o,l){if(50<vo)throw vo=0,Fu=null,Error(a(185));Fi(n,o,l),((We&2)===0||n!==Ct)&&(n===Ct&&((We&2)===0&&(el|=o),_t===4&&Wr(n,Dt)),tn(n,l),o===1&&We===0&&(r.mode&1)===0&&(gi=Fe()+500,Ms&&Or()))}function tn(n,r){var o=n.callbackNode;ur(n,r);var l=Tr(n,n===Ct?Dt:0);if(l===0)o!==null&&ft(o),n.callbackNode=null,n.callbackPriority=0;else if(r=l&-l,n.callbackPriority!==r){if(o!=null&&ft(o),r===1)n.tag===0?yw(Hm.bind(null,n)):Ep(Hm.bind(null,n)),pw(function(){(We&6)===0&&Or()}),o=null;else{switch(Nf(l)){case 1:o=cr;break;case 4:o=Dn;break;case 16:o=In;break;case 536870912:o=ln;break;default:o=In}o=qm(o,Bm.bind(null,n))}n.callbackPriority=r,n.callbackNode=o}}function Bm(n,r){if(al=-1,il=0,(We&6)!==0)throw Error(a(327));var o=n.callbackNode;if(vi()&&n.callbackNode!==o)return null;var l=Tr(n,n===Ct?Dt:0);if(l===0)return null;if((l&30)!==0||(l&n.expiredLanes)!==0||r)r=ol(n,l);else{r=l;var h=We;We|=2;var m=$m();(Ct!==n||Dt!==r)&&(yr=null,gi=Fe()+500,Pa(n,r));do try{Vw();break}catch(C){Wm(n,C)}while(!0);au(),Js.current=m,We=h,gt!==null?r=0:(Ct=null,Dt=0,r=_t)}if(r!==0){if(r===2&&(h=Xa(n),h!==0&&(l=h,r=Uu(n,h))),r===1)throw o=mo,Pa(n,0),Wr(n,l),tn(n,Fe()),o;if(r===6)Wr(n,l);else{if(h=n.current.alternate,(l&30)===0&&!Ow(h)&&(r=ol(n,l),r===2&&(m=Xa(n),m!==0&&(l=m,r=Uu(n,m))),r===1))throw o=mo,Pa(n,0),Wr(n,l),tn(n,Fe()),o;switch(n.finishedWork=h,n.finishedLanes=l,r){case 0:case 1:throw Error(a(345));case 2:Sa(n,en,yr);break;case 3:if(Wr(n,l),(l&130023424)===l&&(r=zu+500-Fe(),10<r)){if(Tr(n,0)!==0)break;if(h=n.suspendedLanes,(h&l)!==l){Gt(),n.pingedLanes|=n.suspendedLanes&h;break}n.timeoutHandle=Kc(Sa.bind(null,n,en,yr),r);break}Sa(n,en,yr);break;case 4:if(Wr(n,l),(l&4194240)===l)break;for(r=n.eventTimes,h=-1;0<l;){var b=31-Nt(l);m=1<<b,b=r[b],b>h&&(h=b),l&=~m}if(l=h,l=Fe()-l,l=(120>l?120:480>l?480:1080>l?1080:1920>l?1920:3e3>l?3e3:4320>l?4320:1960*jw(l/1960))-l,10<l){n.timeoutHandle=Kc(Sa.bind(null,n,en,yr),l);break}Sa(n,en,yr);break;case 5:Sa(n,en,yr);break;default:throw Error(a(329))}}}return tn(n,Fe()),n.callbackNode===o?Bm.bind(null,n):null}function Uu(n,r){var o=go;return n.current.memoizedState.isDehydrated&&(Pa(n,r).flags|=256),n=ol(n,r),n!==2&&(r=en,en=o,r!==null&&Bu(r)),n}function Bu(n){en===null?en=n:en.push.apply(en,n)}function Ow(n){for(var r=n;;){if(r.flags&16384){var o=r.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var l=0;l<o.length;l++){var h=o[l],m=h.getSnapshot;h=h.value;try{if(!An(m(),h))return!1}catch{return!1}}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Wr(n,r){for(r&=~Ou,r&=~el,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var o=31-Nt(r),l=1<<o;n[o]=-1,r&=~l}}function Hm(n){if((We&6)!==0)throw Error(a(327));vi();var r=Tr(n,0);if((r&1)===0)return tn(n,Fe()),null;var o=ol(n,r);if(n.tag!==0&&o===2){var l=Xa(n);l!==0&&(r=l,o=Uu(n,l))}if(o===1)throw o=mo,Pa(n,0),Wr(n,r),tn(n,Fe()),o;if(o===6)throw Error(a(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,Sa(n,en,yr),tn(n,Fe()),null}function Hu(n,r){var o=We;We|=1;try{return n(r)}finally{We=o,We===0&&(gi=Fe()+500,Ms&&Or())}}function xa(n){Br!==null&&Br.tag===0&&(We&6)===0&&vi();var r=We;We|=1;var o=kn.transition,l=Xe;try{if(kn.transition=null,Xe=1,n)return n()}finally{Xe=l,kn.transition=o,We=r,(We&6)===0&&Or()}}function Wu(){hn=mi.current,at(mi)}function Pa(n,r){n.finishedWork=null,n.finishedLanes=0;var o=n.timeoutHandle;if(o!==-1&&(n.timeoutHandle=-1,fw(o)),gt!==null)for(o=gt.return;o!==null;){var l=o;switch(Jc(l),l.tag){case 1:l=l.type.childContextTypes,l!=null&&Is();break;case 3:hi(),at(qt),at(Ot),hu();break;case 5:uu(l);break;case 4:hi();break;case 13:at(lt);break;case 19:at(lt);break;case 10:iu(l.type._context);break;case 22:case 23:Wu()}o=o.return}if(Ct=n,gt=n=$r(n.current,null),Dt=hn=r,_t=0,mo=null,Ou=el=wa=0,en=go=null,ka!==null){for(r=0;r<ka.length;r++)if(o=ka[r],l=o.interleaved,l!==null){o.interleaved=null;var h=l.next,m=o.pending;if(m!==null){var b=m.next;m.next=h,l.next=b}o.pending=l}ka=null}return n}function Wm(n,r){do{var o=gt;try{if(au(),Hs.current=Ks,Ws){for(var l=ct.memoizedState;l!==null;){var h=l.queue;h!==null&&(h.pending=null),l=l.next}Ws=!1}if(_a=0,St=bt=ct=null,lo=!1,co=0,ju.current=null,o===null||o.return===null){_t=1,mo=r,gt=null;break}e:{var m=n,b=o.return,C=o,R=r;if(r=Dt,C.flags|=32768,R!==null&&typeof R=="object"&&typeof R.then=="function"){var H=R,J=C,te=J.tag;if((J.mode&1)===0&&(te===0||te===11||te===15)){var X=J.alternate;X?(J.updateQueue=X.updateQueue,J.memoizedState=X.memoizedState,J.lanes=X.lanes):(J.updateQueue=null,J.memoizedState=null)}var ce=mm(b);if(ce!==null){ce.flags&=-257,gm(ce,b,C,m,r),ce.mode&1&&pm(m,H,r),r=ce,R=H;var ge=r.updateQueue;if(ge===null){var be=new Set;be.add(R),r.updateQueue=be}else ge.add(R);break e}else{if((r&1)===0){pm(m,H,r),$u();break e}R=Error(a(426))}}else if(st&&C.mode&1){var pt=mm(b);if(pt!==null){(pt.flags&65536)===0&&(pt.flags|=256),gm(pt,b,C,m,r),nu(fi(R,C));break e}}m=R=fi(R,C),_t!==4&&(_t=2),go===null?go=[m]:go.push(m),m=b;do{switch(m.tag){case 3:m.flags|=65536,r&=-r,m.lanes|=r;var z=hm(m,R,r);Vp(m,z);break e;case 1:C=R;var M=m.type,U=m.stateNode;if((m.flags&128)===0&&(typeof M.getDerivedStateFromError=="function"||U!==null&&typeof U.componentDidCatch=="function"&&(Ur===null||!Ur.has(U)))){m.flags|=65536,r&=-r,m.lanes|=r;var re=fm(m,C,r);Vp(m,re);break e}}m=m.return}while(m!==null)}Km(o)}catch(_e){r=_e,gt===o&&o!==null&&(gt=o=o.return);continue}break}while(!0)}function $m(){var n=Js.current;return Js.current=Ks,n===null?Ks:n}function $u(){(_t===0||_t===3||_t===2)&&(_t=4),Ct===null||(wa&268435455)===0&&(el&268435455)===0||Wr(Ct,Dt)}function ol(n,r){var o=We;We|=2;var l=$m();(Ct!==n||Dt!==r)&&(yr=null,Pa(n,r));do try{zw();break}catch(h){Wm(n,h)}while(!0);if(au(),We=o,Js.current=l,gt!==null)throw Error(a(261));return Ct=null,Dt=0,_t}function zw(){for(;gt!==null;)Gm(gt)}function Vw(){for(;gt!==null&&!nt();)Gm(gt)}function Gm(n){var r=Zm(n.alternate,n,hn);n.memoizedProps=n.pendingProps,r===null?Km(n):gt=r,ju.current=null}function Km(n){var r=n;do{var o=r.alternate;if(n=r.return,(r.flags&32768)===0){if(o=Iw(o,r,hn),o!==null){gt=o;return}}else{if(o=Aw(o,r),o!==null){o.flags&=32767,gt=o;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{_t=6,gt=null;return}}if(r=r.sibling,r!==null){gt=r;return}gt=r=n}while(r!==null);_t===0&&(_t=5)}function Sa(n,r,o){var l=Xe,h=kn.transition;try{kn.transition=null,Xe=1,Fw(n,r,o,l)}finally{kn.transition=h,Xe=l}return null}function Fw(n,r,o,l){do vi();while(Br!==null);if((We&6)!==0)throw Error(a(327));o=n.finishedWork;var h=n.finishedLanes;if(o===null)return null;if(n.finishedWork=null,n.finishedLanes=0,o===n.current)throw Error(a(177));n.callbackNode=null,n.callbackPriority=0;var m=o.lanes|o.childLanes;if(b_(n,m),n===Ct&&(gt=Ct=null,Dt=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||nl||(nl=!0,qm(In,function(){return vi(),null})),m=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||m){m=kn.transition,kn.transition=null;var b=Xe;Xe=1;var C=We;We|=4,ju.current=null,Lw(n,o),Om(o,n),ow($c),vs=!!Wc,$c=Wc=null,n.current=o,Nw(o),Ye(),We=C,Xe=b,kn.transition=m}else n.current=o;if(nl&&(nl=!1,Br=n,rl=h),m=n.pendingLanes,m===0&&(Ur=null),Ka(o.stateNode),tn(n,Fe()),r!==null)for(l=n.onRecoverableError,o=0;o<r.length;o++)h=r[o],l(h.value,{componentStack:h.stack,digest:h.digest});if(tl)throw tl=!1,n=Vu,Vu=null,n;return(rl&1)!==0&&n.tag!==0&&vi(),m=n.pendingLanes,(m&1)!==0?n===Fu?vo++:(vo=0,Fu=n):vo=0,Or(),null}function vi(){if(Br!==null){var n=Nf(rl),r=kn.transition,o=Xe;try{if(kn.transition=null,Xe=16>n?16:n,Br===null)var l=!1;else{if(n=Br,Br=null,rl=0,(We&6)!==0)throw Error(a(331));var h=We;for(We|=4,me=n.current;me!==null;){var m=me,b=m.child;if((me.flags&16)!==0){var C=m.deletions;if(C!==null){for(var R=0;R<C.length;R++){var H=C[R];for(me=H;me!==null;){var J=me;switch(J.tag){case 0:case 11:case 15:po(8,J,m)}var te=J.child;if(te!==null)te.return=J,me=te;else for(;me!==null;){J=me;var X=J.sibling,ce=J.return;if(Am(J),J===H){me=null;break}if(X!==null){X.return=ce,me=X;break}me=ce}}}var ge=m.alternate;if(ge!==null){var be=ge.child;if(be!==null){ge.child=null;do{var pt=be.sibling;be.sibling=null,be=pt}while(be!==null)}}me=m}}if((m.subtreeFlags&2064)!==0&&b!==null)b.return=m,me=b;else e:for(;me!==null;){if(m=me,(m.flags&2048)!==0)switch(m.tag){case 0:case 11:case 15:po(9,m,m.return)}var z=m.sibling;if(z!==null){z.return=m.return,me=z;break e}me=m.return}}var M=n.current;for(me=M;me!==null;){b=me;var U=b.child;if((b.subtreeFlags&2064)!==0&&U!==null)U.return=b,me=U;else e:for(b=M;me!==null;){if(C=me,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:Qs(9,C)}}catch(_e){dt(C,C.return,_e)}if(C===b){me=null;break e}var re=C.sibling;if(re!==null){re.return=C.return,me=re;break e}me=C.return}}if(We=h,Or(),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot(Sr,n)}catch{}l=!0}return l}finally{Xe=o,kn.transition=r}}return!1}function Ym(n,r,o){r=fi(o,r),r=hm(n,r,1),n=Vr(n,r,1),r=Gt(),n!==null&&(Fi(n,1,r),tn(n,r))}function dt(n,r,o){if(n.tag===3)Ym(n,n,o);else for(;r!==null;){if(r.tag===3){Ym(r,n,o);break}else if(r.tag===1){var l=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ur===null||!Ur.has(l))){n=fi(o,n),n=fm(r,n,1),r=Vr(r,n,1),n=Gt(),r!==null&&(Fi(r,1,n),tn(r,n));break}}r=r.return}}function Uw(n,r,o){var l=n.pingCache;l!==null&&l.delete(r),r=Gt(),n.pingedLanes|=n.suspendedLanes&o,Ct===n&&(Dt&o)===o&&(_t===4||_t===3&&(Dt&130023424)===Dt&&500>Fe()-zu?Pa(n,0):Ou|=o),tn(n,r)}function Xm(n,r){r===0&&((n.mode&1)===0?r=1:(r=Zt,Zt<<=1,(Zt&130023424)===0&&(Zt=4194304)));var o=Gt();n=mr(n,r),n!==null&&(Fi(n,r,o),tn(n,o))}function Bw(n){var r=n.memoizedState,o=0;r!==null&&(o=r.retryLane),Xm(n,o)}function Hw(n,r){var o=0;switch(n.tag){case 13:var l=n.stateNode,h=n.memoizedState;h!==null&&(o=h.retryLane);break;case 19:l=n.stateNode;break;default:throw Error(a(314))}l!==null&&l.delete(r),Xm(n,o)}var Zm;Zm=function(n,r,o){if(n!==null)if(n.memoizedProps!==r.pendingProps||qt.current)Jt=!0;else{if((n.lanes&o)===0&&(r.flags&128)===0)return Jt=!1,Dw(n,r,o);Jt=(n.flags&131072)!==0}else Jt=!1,st&&(r.flags&1048576)!==0&&Rp(r,Ns,r.index);switch(r.lanes=0,r.tag){case 2:var l=r.type;Zs(n,r),n=r.pendingProps;var h=ii(r,Ot.current);di(r,o),h=mu(null,r,l,n,h,o);var m=gu();return r.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Qt(l)?(m=!0,As(r)):m=!1,r.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,lu(r),h.updater=Ys,r.stateNode=h,h._reactInternals=r,wu(r,l,n,o),r=Cu(null,r,l,!0,m,o)):(r.tag=0,st&&m&&Qc(r),$t(null,r,h,o),r=r.child),r;case 16:l=r.elementType;e:{switch(Zs(n,r),n=r.pendingProps,h=l._init,l=h(l._payload),r.type=l,h=r.tag=$w(l),n=Ln(l,n),h){case 0:r=Su(null,r,l,n,o);break e;case 1:r=wm(null,r,l,n,o);break e;case 11:r=vm(null,r,l,n,o);break e;case 14:r=ym(null,r,l,Ln(l.type,n),o);break e}throw Error(a(306,l,""))}return r;case 0:return l=r.type,h=r.pendingProps,h=r.elementType===l?h:Ln(l,h),Su(n,r,l,h,o);case 1:return l=r.type,h=r.pendingProps,h=r.elementType===l?h:Ln(l,h),wm(n,r,l,h,o);case 3:e:{if(xm(r),n===null)throw Error(a(387));l=r.pendingProps,m=r.memoizedState,h=m.element,zp(n,r),Us(r,l,null,o);var b=r.memoizedState;if(l=b.element,m.isDehydrated)if(m={element:l,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},r.updateQueue.baseState=m,r.memoizedState=m,r.flags&256){h=fi(Error(a(423)),r),r=Pm(n,r,l,o,h);break e}else if(l!==h){h=fi(Error(a(424)),r),r=Pm(n,r,l,o,h);break e}else for(dn=Lr(r.stateNode.containerInfo.firstChild),un=r,st=!0,Mn=null,o=jp(r,null,l,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(li(),l===h){r=vr(n,r,o);break e}$t(n,r,l,o)}r=r.child}return r;case 5:return Up(r),n===null&&tu(r),l=r.type,h=r.pendingProps,m=n!==null?n.memoizedProps:null,b=h.children,Gc(l,h)?b=null:m!==null&&Gc(l,m)&&(r.flags|=32),_m(n,r),$t(n,r,b,o),r.child;case 6:return n===null&&tu(r),null;case 13:return Sm(n,r,o);case 4:return cu(r,r.stateNode.containerInfo),l=r.pendingProps,n===null?r.child=ci(r,null,l,o):$t(n,r,l,o),r.child;case 11:return l=r.type,h=r.pendingProps,h=r.elementType===l?h:Ln(l,h),vm(n,r,l,h,o);case 7:return $t(n,r,r.pendingProps,o),r.child;case 8:return $t(n,r,r.pendingProps.children,o),r.child;case 12:return $t(n,r,r.pendingProps.children,o),r.child;case 10:e:{if(l=r.type._context,h=r.pendingProps,m=r.memoizedProps,b=h.value,tt(zs,l._currentValue),l._currentValue=b,m!==null)if(An(m.value,b)){if(m.children===h.children&&!qt.current){r=vr(n,r,o);break e}}else for(m=r.child,m!==null&&(m.return=r);m!==null;){var C=m.dependencies;if(C!==null){b=m.child;for(var R=C.firstContext;R!==null;){if(R.context===l){if(m.tag===1){R=gr(-1,o&-o),R.tag=2;var H=m.updateQueue;if(H!==null){H=H.shared;var J=H.pending;J===null?R.next=R:(R.next=J.next,J.next=R),H.pending=R}}m.lanes|=o,R=m.alternate,R!==null&&(R.lanes|=o),ou(m.return,o,r),C.lanes|=o;break}R=R.next}}else if(m.tag===10)b=m.type===r.type?null:m.child;else if(m.tag===18){if(b=m.return,b===null)throw Error(a(341));b.lanes|=o,C=b.alternate,C!==null&&(C.lanes|=o),ou(b,o,r),b=m.sibling}else b=m.child;if(b!==null)b.return=m;else for(b=m;b!==null;){if(b===r){b=null;break}if(m=b.sibling,m!==null){m.return=b.return,b=m;break}b=b.return}m=b}$t(n,r,h.children,o),r=r.child}return r;case 9:return h=r.type,l=r.pendingProps.children,di(r,o),h=vn(h),l=l(h),r.flags|=1,$t(n,r,l,o),r.child;case 14:return l=r.type,h=Ln(l,r.pendingProps),h=Ln(l.type,h),ym(n,r,l,h,o);case 15:return km(n,r,r.type,r.pendingProps,o);case 17:return l=r.type,h=r.pendingProps,h=r.elementType===l?h:Ln(l,h),Zs(n,r),r.tag=1,Qt(l)?(n=!0,As(r)):n=!1,di(r,o),um(r,l,h),wu(r,l,h,o),Cu(null,r,l,!0,n,o);case 19:return Tm(n,r,o);case 22:return bm(n,r,o)}throw Error(a(156,r.tag))};function qm(n,r){return Ge(n,r)}function Ww(n,r,o,l){this.tag=n,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bn(n,r,o,l){return new Ww(n,r,o,l)}function Gu(n){return n=n.prototype,!(!n||!n.isReactComponent)}function $w(n){if(typeof n=="function")return Gu(n)?1:0;if(n!=null){if(n=n.$$typeof,n===se)return 11;if(n===ie)return 14}return 2}function $r(n,r){var o=n.alternate;return o===null?(o=bn(n.tag,r,n.key,n.mode),o.elementType=n.elementType,o.type=n.type,o.stateNode=n.stateNode,o.alternate=n,n.alternate=o):(o.pendingProps=r,o.type=n.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=n.flags&14680064,o.childLanes=n.childLanes,o.lanes=n.lanes,o.child=n.child,o.memoizedProps=n.memoizedProps,o.memoizedState=n.memoizedState,o.updateQueue=n.updateQueue,r=n.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=n.sibling,o.index=n.index,o.ref=n.ref,o}function sl(n,r,o,l,h,m){var b=2;if(l=n,typeof n=="function")Gu(n)&&(b=1);else if(typeof n=="string")b=5;else e:switch(n){case oe:return Ca(o.children,h,m,r);case x:b=8,h|=8;break;case ee:return n=bn(12,o,r,h|2),n.elementType=ee,n.lanes=m,n;case q:return n=bn(13,o,r,h),n.elementType=q,n.lanes=m,n;case ae:return n=bn(19,o,r,h),n.elementType=ae,n.lanes=m,n;case ne:return ll(o,h,m,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Y:b=10;break e;case ue:b=9;break e;case se:b=11;break e;case ie:b=14;break e;case Q:b=16,l=null;break e}throw Error(a(130,n==null?n:typeof n,""))}return r=bn(b,o,r,h),r.elementType=n,r.type=l,r.lanes=m,r}function Ca(n,r,o,l){return n=bn(7,n,l,r),n.lanes=o,n}function ll(n,r,o,l){return n=bn(22,n,l,r),n.elementType=ne,n.lanes=o,n.stateNode={isHidden:!1},n}function Ku(n,r,o){return n=bn(6,n,null,r),n.lanes=o,n}function Yu(n,r,o){return r=bn(4,n.children!==null?n.children:[],n.key,r),r.lanes=o,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function Gw(n,r,o,l,h){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_c(0),this.expirationTimes=_c(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_c(0),this.identifierPrefix=l,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function Xu(n,r,o,l,h,m,b,C,R){return n=new Gw(n,r,o,C,R),r===1?(r=1,m===!0&&(r|=8)):r=0,m=bn(3,null,null,r),n.current=m,m.stateNode=n,m.memoizedState={element:l,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},lu(m),n}function Kw(n,r,o){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Z,key:l==null?null:""+l,children:n,containerInfo:r,implementation:o}}function Qm(n){if(!n)return jr;n=n._reactInternals;e:{if(le(n)!==n||n.tag!==1)throw Error(a(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Qt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(a(171))}if(n.tag===1){var o=n.type;if(Qt(o))return Cp(n,o,r)}return r}function Jm(n,r,o,l,h,m,b,C,R){return n=Xu(o,l,!0,n,h,m,b,C,R),n.context=Qm(null),o=n.current,l=Gt(),h=Hr(o),m=gr(l,h),m.callback=r??null,Vr(o,m,h),n.current.lanes=h,Fi(n,h,l),tn(n,l),n}function cl(n,r,o,l){var h=r.current,m=Gt(),b=Hr(h);return o=Qm(o),r.context===null?r.context=o:r.pendingContext=o,r=gr(m,b),r.payload={element:n},l=l===void 0?null:l,l!==null&&(r.callback=l),n=Vr(h,r,b),n!==null&&(On(n,h,b,m),Fs(n,h,b)),b}function ul(n){return n=n.current,n.child?(n.child.tag===5,n.child.stateNode):null}function eg(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var o=n.retryLane;n.retryLane=o!==0&&o<r?o:r}}function Zu(n,r){eg(n,r),(n=n.alternate)&&eg(n,r)}function Yw(){return null}var tg=typeof reportError=="function"?reportError:function(n){console.error(n)};function qu(n){this._internalRoot=n}dl.prototype.render=qu.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(a(409));cl(n,r,null,null)},dl.prototype.unmount=qu.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;xa(function(){cl(null,n,null,null)}),r[dr]=null}};function dl(n){this._internalRoot=n}dl.prototype.unstable_scheduleHydration=function(n){if(n){var r=zf();n={blockedOn:null,target:n,priority:r};for(var o=0;o<Ir.length&&r!==0&&r<Ir[o].priority;o++);Ir.splice(o,0,n),o===0&&Uf(n)}};function Qu(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function hl(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function ng(){}function Xw(n,r,o,l,h){if(h){if(typeof l=="function"){var m=l;l=function(){var H=ul(b);m.call(H)}}var b=Jm(r,l,n,0,null,!1,!1,"",ng);return n._reactRootContainer=b,n[dr]=b.current,eo(n.nodeType===8?n.parentNode:n),xa(),b}for(;h=n.lastChild;)n.removeChild(h);if(typeof l=="function"){var C=l;l=function(){var H=ul(R);C.call(H)}}var R=Xu(n,0,!1,null,null,!1,!1,"",ng);return n._reactRootContainer=R,n[dr]=R.current,eo(n.nodeType===8?n.parentNode:n),xa(function(){cl(r,R,o,l)}),R}function fl(n,r,o,l,h){var m=o._reactRootContainer;if(m){var b=m;if(typeof h=="function"){var C=h;h=function(){var R=ul(b);C.call(R)}}cl(r,b,n,h)}else b=Xw(o,r,n,h,l);return ul(b)}jf=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var o=Cr(r.pendingLanes);o!==0&&(wc(r,o|1),tn(r,Fe()),(We&6)===0&&(gi=Fe()+500,Or()))}break;case 13:xa(function(){var l=mr(n,1);if(l!==null){var h=Gt();On(l,n,1,h)}}),Zu(n,1)}},xc=function(n){if(n.tag===13){var r=mr(n,134217728);if(r!==null){var o=Gt();On(r,n,134217728,o)}Zu(n,134217728)}},Of=function(n){if(n.tag===13){var r=Hr(n),o=mr(n,r);if(o!==null){var l=Gt();On(o,n,r,l)}Zu(n,r)}},zf=function(){return Xe},Vf=function(n,r){var o=Xe;try{return Xe=n,r()}finally{Xe=o}},wr=function(n,r,o){switch(r){case"input":if(on(n,o),r=o.name,o.type==="radio"&&r!=null){for(o=n;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<o.length;r++){var l=o[r];if(l!==n&&l.form===n.form){var h=Ds(l);if(!h)throw Error(a(90));Xt(l),on(l,h)}}}break;case"textarea":Le(n,o);break;case"select":r=o.value,r!=null&&Bt(n,!!o.multiple,r,!1)}},fs=Hu,zi=xa;var Zw={usingClientEntryPoint:!1,Events:[ro,ri,Ds,hs,Oi,Hu]},yo={findFiberByHostInstance:ma,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},qw={bundleType:yo.bundleType,version:yo.version,rendererPackageName:yo.rendererPackageName,rendererConfig:yo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:D.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Ie(n),n===null?null:n.stateNode},findFiberByHostInstance:yo.findFiberByHostInstance||Yw,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var pl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pl.isDisabled&&pl.supportsFiber)try{Sr=pl.inject(qw),kt=pl}catch{}}return nn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zw,nn.createPortal=function(n,r){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Qu(r))throw Error(a(200));return Kw(n,r,null,o)},nn.createRoot=function(n,r){if(!Qu(n))throw Error(a(299));var o=!1,l="",h=tg;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(l=r.identifierPrefix),r.onRecoverableError!==void 0&&(h=r.onRecoverableError)),r=Xu(n,1,!1,null,null,o,!1,l,h),n[dr]=r.current,eo(n.nodeType===8?n.parentNode:n),new qu(r)},nn.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(a(188)):(n=Object.keys(n).join(","),Error(a(268,n)));return n=Ie(r),n=n===null?null:n.stateNode,n},nn.flushSync=function(n){return xa(n)},nn.hydrate=function(n,r,o){if(!hl(r))throw Error(a(200));return fl(null,n,r,!0,o)},nn.hydrateRoot=function(n,r,o){if(!Qu(n))throw Error(a(405));var l=o!=null&&o.hydratedSources||null,h=!1,m="",b=tg;if(o!=null&&(o.unstable_strictMode===!0&&(h=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onRecoverableError!==void 0&&(b=o.onRecoverableError)),r=Jm(r,null,n,1,o??null,h,!1,m,b),n[dr]=r.current,eo(n),l)for(n=0;n<l.length;n++)o=l[n],h=o._getVersion,h=h(o._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[o,h]:r.mutableSourceEagerHydrationData.push(o,h);return new dl(r)},nn.render=function(n,r,o){if(!hl(r))throw Error(a(200));return fl(null,n,r,!1,o)},nn.unmountComponentAtNode=function(n){if(!hl(n))throw Error(a(40));return n._reactRootContainer?(xa(function(){fl(null,null,n,!1,function(){n._reactRootContainer=null,n[dr]=null})}),!0):!1},nn.unstable_batchedUpdates=Hu,nn.unstable_renderSubtreeIntoContainer=function(n,r,o,l){if(!hl(o))throw Error(a(200));if(n==null||n._reactInternals===void 0)throw Error(a(38));return fl(n,r,o,!1,l)},nn.version="18.3.1-next-f1338f8080-20240426",nn}var ug;function Iy(){if(ug)return td.exports;ug=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),td.exports=o1(),td.exports}var dg;function s1(){if(dg)return ml;dg=1;var e=Iy();return ml.createRoot=e.createRoot,ml.hydrateRoot=e.hydrateRoot,ml}var l1=s1();var Ay=e=>{throw TypeError(e)},My=(e,t,a)=>t.has(e)||Ay("Cannot "+a),_n=(e,t,a)=>(My(e,t,"read from private field"),a?a.call(e):t.get(e)),To=(e,t,a)=>t.has(e)?Ay("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),Qn=(e,t,a,i)=>(My(e,t,"write to private field"),t.set(e,a),a),hg="popstate";function fg(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function c1(e={}){function t(i,s){let c=s.state?.masked,{pathname:u,search:d,hash:p}=c||i.location;return Uo("",{pathname:u,search:d,hash:p},s.state&&s.state.usr||null,s.state&&s.state.key||"default",c?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function a(i,s){return typeof s=="string"?s:rr(s)}return d1(t,a,null,e)}function ze(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function yt(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function u1(){return Math.random().toString(36).substring(2,10)}function pg(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Uo(e,t,a=null,i,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ir(t):t,state:a,key:t&&t.key||i||u1(),mask:s}}function rr({pathname:e="/",search:t="",hash:a=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function ir(e){let t={};if(e){let a=e.indexOf("#");a>=0&&(t.hash=e.substring(a),e=e.substring(0,a));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function d1(e,t,a,i={}){let{window:s=document.defaultView,v5Compat:c=!1}=i,u=s.history,d="POP",p=null,f=g();f==null&&(f=0,u.replaceState({...u.state,idx:f},""));function g(){return(u.state||{idx:null}).idx}function v(){d="POP";let S=g(),N=S==null?null:S-f;f=S,p&&p({action:d,location:P.location,delta:N})}function y(S,N){d="PUSH";let j=fg(S)?S:Uo(P.location,S,N);f=g()+1;let I=pg(j,f),D=P.createHref(j.mask||j);try{u.pushState(I,"",D)}catch(B){if(B instanceof DOMException&&B.name==="DataCloneError")throw B;s.location.assign(D)}c&&p&&p({action:d,location:P.location,delta:1})}function _(S,N){d="REPLACE";let j=fg(S)?S:Uo(P.location,S,N);f=g();let I=pg(j,f),D=P.createHref(j.mask||j);u.replaceState(I,"",D),c&&p&&p({action:d,location:P.location,delta:0})}function w(S){return Ly(s,S)}let P={get action(){return d},get location(){return e(s,u)},listen(S){if(p)throw new Error("A history only accepts one active listener");return s.addEventListener(hg,v),p=S,()=>{s.removeEventListener(hg,v),p=null}},createHref(S){return t(s,S)},createURL:w,encodeLocation(S){let N=w(S);return{pathname:N.pathname,search:N.search,hash:N.hash}},push:y,replace:_,go(S){return u.go(S)}};return P}function Ly(e,t,a=!1){let i="http://localhost";e&&(i=e.location.origin!=="null"?e.location.origin:e.location.href),ze(i,"No window.location.(origin|href) available to create URL");let s=typeof t=="string"?t:rr(t);return s=s.replace(/ $/,"%20"),!a&&s.startsWith("//")&&(s=i+s),new URL(s,i)}var Eo,mg=class{constructor(e){if(To(this,Eo,new Map),e)for(let[t,a]of e)this.set(t,a)}get(e){if(_n(this,Eo).has(e))return _n(this,Eo).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){_n(this,Eo).set(e,t)}};Eo=new WeakMap;var h1=new Set(["lazy","caseSensitive","path","id","index","children"]);function f1(e){return h1.has(e)}var p1=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function m1(e){return p1.has(e)}function g1(e){return e.index===!0}function Bo(e,t,a=[],i={},s=!1){return e.map((c,u)=>{let d=[...a,String(u)],p=typeof c.id=="string"?c.id:d.join("-");if(ze(c.index!==!0||!c.children,"Cannot specify children on an index route"),ze(s||!i[p],`Found a route id collision on id "${p}". Route id's must be globally unique within Data Router usages`),g1(c)){let f={...c,id:p};return i[p]=gg(f,t(f)),f}else{let f={...c,id:p,children:void 0};return i[p]=gg(f,t(f)),c.children&&(f.children=Bo(c.children,t,d,i,s)),f}})}function gg(e,t){return Object.assign(e,{...t,...typeof t.lazy=="object"&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function Ny(e,t,a="/"){return Vn(e,t,a,!1)}function Vn(e,t,a,i,s){let c=typeof t=="string"?ir(t):t,u=Cn(c.pathname||"/",a);if(u==null)return null;let d=s??Rl(e),p=null,f=R1(u);for(let g=0;p==null&&g<d.length;++g)p=T1(d[g],f,i);return p}function v1(e,t){let{route:a,pathname:i,params:s}=e;return{id:a.id,pathname:i,params:s,data:t[a.id],loaderData:t[a.id],handle:a.handle}}function Rl(e){let t=jy(e);return y1(t),t}function jy(e,t=[],a=[],i="",s=!1){let c=(u,d,p=s,f)=>{let g={relativePath:f===void 0?u.path||"":f,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(i)&&p)return;ze(g.relativePath.startsWith(i),`Absolute route path "${g.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(i.length)}let v=Pn([i,g.relativePath]),y=a.concat(g);u.children&&u.children.length>0&&(ze(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),jy(u.children,t,y,v,p)),!(u.path==null&&!u.index)&&t.push({path:v,score:S1(v,u.index),routesMeta:y})};return e.forEach((u,d)=>{if(u.path===""||!u.path?.includes("?"))c(u,d);else for(let p of Oy(u.path))c(u,d,!0,p)}),t}function Oy(e){let t=e.split("/");if(t.length===0)return[];let[a,...i]=t,s=a.endsWith("?"),c=a.replace(/\?$/,"");if(i.length===0)return s?[c,""]:[c];let u=Oy(i.join("/")),d=[];return d.push(...u.map(p=>p===""?c:[c,p].join("/"))),s&&d.push(...u),d.map(p=>e.startsWith("/")&&p===""?"/":p)}function y1(e){e.sort((t,a)=>t.score!==a.score?a.score-t.score:C1(t.routesMeta.map(i=>i.childrenIndex),a.routesMeta.map(i=>i.childrenIndex)))}var k1=/^:[\w-]+$/,b1=3,_1=2,w1=1,x1=10,P1=-2,vg=e=>e==="*";function S1(e,t){let a=e.split("/"),i=a.length;return a.some(vg)&&(i+=P1),t&&(i+=_1),a.filter(s=>!vg(s)).reduce((s,c)=>s+(k1.test(c)?b1:c===""?w1:x1),i)}function C1(e,t){return e.length===t.length&&e.slice(0,-1).every((i,s)=>i===t[s])?e[e.length-1]-t[t.length-1]:0}function T1(e,t,a=!1){let{routesMeta:i}=e,s={},c="/",u=[];for(let d=0;d<i.length;++d){let p=i[d],f=d===i.length-1,g=c==="/"?t:t.slice(c.length)||"/",v=Bl({path:p.relativePath,caseSensitive:p.caseSensitive,end:f},g),y=p.route;if(!v&&f&&a&&!i[i.length-1].route.index&&(v=Bl({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!v)return null;Object.assign(s,v.params),u.push({params:s,pathname:Pn([c,v.pathname]),pathnameBase:A1(Pn([c,v.pathnameBase])),route:y}),v.pathnameBase!=="/"&&(c=Pn([c,v.pathnameBase]))}return u}function Bl(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[a,i]=E1(e.path,e.caseSensitive,e.end),s=t.match(a);if(!s)return null;let c=s[0],u=c.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:i.reduce((f,{paramName:g,isOptional:v},y)=>{if(g==="*"){let w=d[y]||"";u=c.slice(0,c.length-w.length).replace(/(.)\/+$/,"$1")}const _=d[y];return v&&!_?f[g]=void 0:f[g]=(_||"").replace(/%2F/g,"/"),f},{}),pathname:c,pathnameBase:u,pattern:e}}function E1(e,t=!1,a=!0){yt(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,p,f,g)=>{if(i.push({paramName:d,isOptional:p!=null}),p){let v=g.charAt(f+u.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),i]}function R1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return yt(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Cn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let a=t.endsWith("/")?t.length-1:t.length,i=e.charAt(a);return i&&i!=="/"?null:e.slice(a)||"/"}function D1({basename:e,pathname:t}){return t==="/"?e:Pn([e,t])}var zy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Th=e=>zy.test(e);function I1(e,t="/"){let{pathname:a,search:i="",hash:s=""}=typeof e=="string"?ir(e):e,c;return a?(a=Rh(a),a.startsWith("/")?c=yg(a.substring(1),"/"):c=yg(a,t)):c=t,{pathname:c,search:M1(i),hash:L1(s)}}function yg(e,t){let a=Hl(t).split("/");return e.split("/").forEach(s=>{s===".."?a.length>1&&a.pop():s!=="."&&a.push(s)}),a.length>1?a.join("/"):"/"}function ad(e,t,a,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Vy(e){return e.filter((t,a)=>a===0||t.route.path&&t.route.path.length>0)}function Eh(e){let t=Vy(e);return t.map((a,i)=>i===t.length-1?a.pathname:a.pathnameBase)}function lc(e,t,a,i=!1){let s;typeof e=="string"?s=ir(e):(s={...e},ze(!s.pathname||!s.pathname.includes("?"),ad("?","pathname","search",s)),ze(!s.pathname||!s.pathname.includes("#"),ad("#","pathname","hash",s)),ze(!s.search||!s.search.includes("#"),ad("#","search","hash",s)));let c=e===""||s.pathname==="",u=c?"/":s.pathname,d;if(u==null)d=a;else{let v=t.length-1;if(!i&&u.startsWith("..")){let y=u.split("/");for(;y[0]==="..";)y.shift(),v-=1;s.pathname=y.join("/")}d=v>=0?t[v]:"/"}let p=I1(s,d),f=u&&u!=="/"&&u.endsWith("/"),g=(c||u===".")&&a.endsWith("/");return!p.pathname.endsWith("/")&&(f||g)&&(p.pathname+="/"),p}var Rh=e=>e.replace(/\/\/+/g,"/"),Pn=e=>Rh(e.join("/")),Hl=e=>e.replace(/\/+$/,""),A1=e=>Hl(e).replace(/^\/*/,"/"),M1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,L1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,qo=class{constructor(e,t,a,i=!1){this.status=e,this.statusText=t||"",this.internal=i,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function Ho(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Qo(e){let t=e.map(a=>a.route.path).filter(Boolean);return Pn(t)||"/"}var Fy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Uy(e,t){let a=e;if(typeof a!="string"||!zy.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let i=a,s=!1;if(Fy)try{let c=new URL(window.location.href),u=a.startsWith("//")?new URL(c.protocol+a):new URL(a),d=Cn(u.pathname,t);u.origin===c.origin&&d!=null?a=d+u.search+u.hash:s=!0}catch{yt(!1,`<Link to="${a}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:s,to:a}}var ea=Symbol("Uninstrumented");function N1(e,t){let a={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(s=>s({id:t.id,index:t.index,path:t.path,instrument(c){let u=Object.keys(a);for(let d of u)c[d]&&a[d].push(c[d])}}));let i={};if(typeof t.lazy=="function"&&a.lazy.length>0){let s=wi(a.lazy,t.lazy,()=>{});s&&(i.lazy=s)}if(typeof t.lazy=="object"){let s=t.lazy;["middleware","loader","action"].forEach(c=>{let u=s[c],d=a[`lazy.${c}`];if(typeof u=="function"&&d.length>0){let p=wi(d,u,()=>{});p&&(i.lazy=Object.assign(i.lazy||{},{[c]:p}))}})}return["loader","action"].forEach(s=>{let c=t[s];if(typeof c=="function"&&a[s].length>0){let u=c[ea]??c,d=wi(a[s],u,(...p)=>kg(p[0]));d&&(s==="loader"&&u.hydrate===!0&&(d.hydrate=!0),d[ea]=u,i[s]=d)}}),t.middleware&&t.middleware.length>0&&a.middleware.length>0&&(i.middleware=t.middleware.map(s=>{let c=s[ea]??s,u=wi(a.middleware,c,(...d)=>kg(d[0]));return u?(u[ea]=c,u):s})),i}function j1(e,t){let a={navigate:[],fetch:[]};if(t.forEach(i=>i({instrument(s){let c=Object.keys(s);for(let u of c)s[u]&&a[u].push(s[u])}})),a.navigate.length>0){let i=e.navigate[ea]??e.navigate,s=wi(a.navigate,i,(...c)=>{let[u,d]=c;return{to:typeof u=="number"||typeof u=="string"?u:u?rr(u):".",...bg(e,d??{})}});s&&(s[ea]=i,e.navigate=s)}if(a.fetch.length>0){let i=e.fetch[ea]??e.fetch,s=wi(a.fetch,i,(...c)=>{let[u,,d,p]=c;return{href:d??".",fetcherKey:u,...bg(e,p??{})}});s&&(s[ea]=i,e.fetch=s)}return e}function wi(e,t,a){return e.length===0?null:async(...i)=>{let s=await By(e,a(...i),()=>t(...i),e.length-1);if(s.type==="error")throw s.value;return s.value}}async function By(e,t,a,i){let s=e[i],c;if(s){let u,d=async()=>(u?console.error("You cannot call instrumented handlers more than once"):u=By(e,t,a,i-1),c=await u,ze(c,"Expected a result"),c.type==="error"&&c.value instanceof Error?{status:"error",error:c.value}:{status:"success",error:void 0});try{await s(d,t)}catch(p){console.error("An instrumentation function threw an error:",p)}u||await d(),await u}else try{c={type:"success",value:await a()}}catch(u){c={type:"error",value:u}}return c||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function kg(e){let{request:t,context:a,params:i,pattern:s}=e;return{request:O1(t),params:{...i},pattern:s,context:z1(a)}}function bg(e,t){return{currentUrl:rr(e.state.location),..."formMethod"in t?{formMethod:t.formMethod}:{},..."formEncType"in t?{formEncType:t.formEncType}:{},..."formData"in t?{formData:t.formData}:{},..."body"in t?{body:t.body}:{}}}function O1(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function z1(e){if(F1(e)){let t={...e};return Object.freeze(t),t}else return{get:t=>e.get(t)}}var V1=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function F1(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getOwnPropertyNames(t).sort().join("\0")===V1}var Hy=["POST","PUT","PATCH","DELETE"],U1=new Set(Hy),B1=["GET",...Hy],H1=new Set(B1),Wy=new Set([301,302,303,307,308]),W1=new Set([307,308]),id={state:"idle",location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},$1={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},bo={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},G1=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),$y="remix-router-transitions",Gy=Symbol("ResetLoaderData"),Ia,yi,Zr,ki,K1=class{constructor(e){To(this,Ia),To(this,yi),To(this,Zr),To(this,ki),Qn(this,Ia,e),Qn(this,yi,Rl(e))}get stableRoutes(){return _n(this,Ia)}get activeRoutes(){return _n(this,Zr)??_n(this,Ia)}get branches(){return _n(this,ki)??_n(this,yi)}get hasHMRRoutes(){return _n(this,Zr)!=null}setRoutes(e){Qn(this,Ia,e),Qn(this,yi,Rl(e))}setHmrRoutes(e){Qn(this,Zr,e),Qn(this,ki,Rl(e))}commitHmrRoutes(){_n(this,Zr)&&(Qn(this,Ia,_n(this,Zr)),Qn(this,yi,_n(this,ki)),Qn(this,Zr,void 0),Qn(this,ki,void 0))}};Ia=new WeakMap;yi=new WeakMap;Zr=new WeakMap;ki=new WeakMap;function Y1(e){const t=e.window?e.window:typeof window<"u"?window:void 0,a=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";ze(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i=e.hydrationRouteProperties||[],s=e.mapRouteProperties||G1,c=s;if(e.instrumentations){let T=e.instrumentations;c=A=>({...s(A),...N1(T.map(F=>F.route).filter(Boolean),A)})}let u={},d=new K1(Bo(e.routes,c,void 0,u)),p=e.basename||"/";p.startsWith("/")||(p=`/${p}`);let f=e.dataStrategy||J1,g={...e.future},v=null,y=new Set,_=null,w=null,P=null,S=null,N=e.hydrationData!=null,j=Vn(d.activeRoutes,e.history.location,p,!1,d.branches),I=!1,D=null,B,Z;if(j==null&&!e.patchRoutesOnNavigation){let T=wn(404,{pathname:e.history.location.pathname}),{matches:A,route:F}=gl(d.activeRoutes);B=!0,Z=!B,j=A,D={[F.id]:T}}else if(j&&!e.hydrationData&&xr(j,d.activeRoutes,e.history.location.pathname).active&&(j=null),j)if(j.some(T=>T.route.lazy))B=!1,Z=!B;else if(!j.some(T=>Dh(T.route)))B=!0,Z=!B;else{let T=e.hydrationData?e.hydrationData.loaderData:null,A=e.hydrationData?e.hydrationData.errors:null,F=j;if(A){let G=j.findIndex(K=>A[K.route.id]!==void 0);F=F.slice(0,G+1)}Z=!1,B=!0,F.forEach(G=>{let K=Ky(G.route,T,A);Z=Z||K.renderFallback,B=B&&!K.shouldLoad})}else{B=!1,Z=!B,j=[];let T=xr(null,d.activeRoutes,e.history.location.pathname);T.active&&T.matches&&(I=!0,j=T.matches)}let oe,x={historyAction:e.history.action,location:e.history.location,matches:j,initialized:B,renderFallback:Z,navigation:id,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||D,fetchers:new Map,blockers:new Map},ee="POP",Y=null,ue=!1,se,q=!1,ae=new Map,ie=null,Q=!1,ne=!1,V=new Set,W=new Map,O=0,E=-1,$=new Map,de=new Set,fe=new Map,he=new Map,pe=new Set,De=new Map,je,Ce=null;function ut(){if(v=e.history.listen(({action:T,location:A,delta:F})=>{if(je){je(),je=void 0;return}yt(De.size===0||F!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let G=lr({currentLocation:x.location,nextLocation:A,historyAction:T});if(G&&F!=null){let K=new Promise(we=>{je=we});e.history.go(F*-1),sn(G,{state:"blocked",location:A,proceed(){sn(G,{state:"proceeding",proceed:void 0,reset:void 0,location:A}),K.then(()=>e.history.go(F))},reset(){let we=new Map(x.blockers);we.set(G,bo),qe({blockers:we})}}),Y?.resolve(),Y=null;return}return on(T,A)}),a){vx(t,ae);let T=()=>yx(t,ae);t.addEventListener("pagehide",T),ie=()=>t.removeEventListener("pagehide",T)}return x.initialized||on("POP",x.location,{initialHydration:!0}),oe}function an(){v&&v(),ie&&ie(),y.clear(),se&&se.abort(),x.fetchers.forEach((T,A)=>Pt(x.fetchers,A)),x.blockers.forEach((T,A)=>wr(A))}function Xt(T){if(y.add(T),_){let{newErrors:A}=_;_=null,T(x,{deletedFetchers:[],newErrors:A,viewTransitionOpts:void 0,flushSync:!1})}return()=>y.delete(T)}function qe(T,A={}){T.matches&&(T.matches=T.matches.map(K=>{let we=u[K.route.id],xe=K.route;return xe.element!==we.element||xe.errorElement!==we.errorElement||xe.hydrateFallbackElement!==we.hydrateFallbackElement?{...K,route:we}:K})),x={...x,...T};let F=[],G=[];x.fetchers.forEach((K,we)=>{K.state==="idle"&&(pe.has(we)?F.push(we):G.push(we))}),pe.forEach(K=>{!x.fetchers.has(K)&&!W.has(K)&&F.push(K)}),y.size===0&&(_={newErrors:T.errors??null}),[...y].forEach(K=>K(x,{deletedFetchers:F,newErrors:T.errors??null,viewTransitionOpts:A.viewTransitionOpts,flushSync:A.flushSync===!0})),F.forEach(K=>Pt(x.fetchers,K)),G.forEach(K=>x.fetchers.delete(K))}function Et(T,A,{flushSync:F}={}){let G=x.actionData!=null&&x.navigation.formMethod!=null&&Ut(x.navigation.formMethod)&&x.navigation.state==="loading"&&T.state?._isRedirect!==!0,K;A.actionData?Object.keys(A.actionData).length>0?K=A.actionData:K=null:G?K=x.actionData:K=null;let we=A.loaderData?Ig(x.loaderData,A.loaderData,A.matches||[],A.errors):x.loaderData,xe=x.blockers;xe.size>0&&(xe=new Map(xe),xe.forEach((Se,Ne)=>xe.set(Ne,bo)));let Pe=Q?!1:zi(T,A.matches||x.matches),le=ue===!0||x.navigation.formMethod!=null&&Ut(x.navigation.formMethod)&&T.state?._isRedirect!==!0;d.commitHmrRoutes(),Q||ee==="POP"||(ee==="PUSH"?e.history.push(T,T.state):ee==="REPLACE"&&e.history.replace(T,T.state));let Te;if(ee==="POP"){let Se=ae.get(x.location.pathname);Se&&Se.has(T.pathname)?Te={currentLocation:x.location,nextLocation:T}:ae.has(T.pathname)&&(Te={currentLocation:T,nextLocation:x.location})}else if(q){let Se=ae.get(x.location.pathname);Se?Se.add(T.pathname):(Se=new Set([T.pathname]),ae.set(x.location.pathname,Se)),Te={currentLocation:x.location,nextLocation:T}}qe({...A,actionData:K,loaderData:we,historyAction:ee,location:T,initialized:!0,renderFallback:!1,navigation:id,revalidation:"idle",restoreScrollPosition:Pe,preventScrollReset:le,blockers:xe},{viewTransitionOpts:Te,flushSync:F===!0}),ee="POP",ue=!1,q=!1,Q=!1,ne=!1,Y?.resolve(),Y=null,Ce?.resolve(),Ce=null}async function ua(T,A){if(Y?.resolve(),Y=null,typeof T=="number"){Y||(Y=Ng());let Ge=Y.promise;return e.history.go(T),Ge}let F=Od(x.location,x.matches,p,T,A?.fromRouteId,A?.relative),{path:G,submission:K,error:we}=_g(!1,F,A),xe;A?.mask&&(xe={pathname:"",search:"",hash:"",...typeof A.mask=="string"?ir(A.mask):{...x.location.mask,...A.mask}});let Pe=x.location,le=Uo(Pe,G,A&&A.state,void 0,xe);le={...le,...e.history.encodeLocation(le)};let Te=A&&A.replace!=null?A.replace:void 0,Se="PUSH";Te===!0?Se="REPLACE":Te===!1||K!=null&&Ut(K.formMethod)&&K.formAction===x.location.pathname+x.location.search&&(Se="REPLACE");let Ne=A&&"preventScrollReset"in A?A.preventScrollReset===!0:void 0,Ie=(A&&A.flushSync)===!0,Be=lr({currentLocation:Pe,nextLocation:le,historyAction:Se});if(Be){sn(Be,{state:"blocked",location:le,proceed(){sn(Be,{state:"proceeding",proceed:void 0,reset:void 0,location:le}),ua(T,A)},reset(){let Ge=new Map(x.blockers);Ge.set(Be,bo),qe({blockers:Ge})}});return}await on(Se,le,{submission:K,pendingError:we,preventScrollReset:Ne,replace:A&&A.replace,enableViewTransition:A&&A.viewTransition,flushSync:Ie,callSiteDefaultShouldRevalidate:A&&A.defaultShouldRevalidate})}function Ha(){Ce||(Ce=Ng()),mt(),qe({revalidation:"loading"});let T=Ce.promise;return x.navigation.state==="submitting"?T:x.navigation.state==="idle"?(on(x.historyAction,x.location,{startUninterruptedRevalidation:!0}),T):(on(ee||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation,enableViewTransition:q===!0}),T)}async function on(T,A,F){se&&se.abort(),se=null,ee=T,Q=(F&&F.startUninterruptedRevalidation)===!0,fs(x.location,x.matches),ue=(F&&F.preventScrollReset)===!0,q=(F&&F.enableViewTransition)===!0;let G=d.activeRoutes,K=F?.initialHydration&&x.matches&&x.matches.length>0&&!I?x.matches:Vn(G,A,p,!1,d.branches),we=(F&&F.flushSync)===!0;if(K&&x.initialized&&!ne&&sx(x.location,A)&&!(F&&F.submission&&Ut(F.submission.formMethod))){Et(A,{matches:K},{flushSync:we});return}let xe=xr(K,G,A.pathname);if(xe.active&&xe.matches&&(K=xe.matches),!K){let{error:nt,notFoundMatches:Ye,route:Fe}=Ga(A.pathname);Et(A,{matches:Ye,loaderData:{},errors:{[Fe.id]:nt}},{flushSync:we});return}let Pe=F&&F.overrideNavigation?{...F.overrideNavigation,matches:K,historyAction:T}:void 0;se=new AbortController;let le=bi(e.history,A,se.signal,F&&F.submission),Te=e.getContext?await e.getContext():new mg,Se;if(F&&F.pendingError)Se=[Qr(K).route.id,{type:"error",error:F.pendingError}];else if(F&&F.submission&&Ut(F.submission.formMethod)){let nt=await Wa(le,A,F.submission,K,T,Te,xe.active,F&&F.initialHydration===!0,{replace:F.replace,flushSync:we});if(nt.shortCircuited)return;if(nt.pendingActionResult){let[Ye,Fe]=nt.pendingActionResult;if(fn(Fe)&&Ho(Fe.error)&&Fe.error.status===404){se=null,Et(A,{matches:nt.matches,loaderData:{},errors:{[Ye]:Fe.error}});return}}K=nt.matches||K,Se=nt.pendingActionResult,Pe=od(A,K,T,F.submission),we=!1,xe.active=!1,le=bi(e.history,le.url,le.signal)}let{shortCircuited:Ne,matches:Ie,loaderData:Be,errors:Ge,workingFetchers:ft}=await _r(le,A,K,T,Te,xe.active,Pe,F&&F.submission,F&&F.fetcherSubmission,F&&F.replace,F&&F.initialHydration===!0,we,Se,F&&F.callSiteDefaultShouldRevalidate);Ne||(se=null,Et(A,{matches:Ie||K,...Ag(Se),loaderData:Be,errors:Ge,...ft?{fetchers:ft}:{}}))}async function Wa(T,A,F,G,K,we,xe,Pe,le={}){mt();let Te=mx(A,G,K,F);if(qe({navigation:Te},{flushSync:le.flushSync===!0}),xe){let Ie=await fa(G,A.pathname,T.signal);if(Ie.type==="aborted")return{shortCircuited:!0};if(Ie.type==="error"){if(Ie.partialMatches.length===0){let{matches:Ge,route:ft}=gl(d.activeRoutes);return{matches:Ge,pendingActionResult:[ft.id,{type:"error",error:Ie.error}]}}let Be=Qr(Ie.partialMatches).route.id;return{matches:Ie.partialMatches,pendingActionResult:[Be,{type:"error",error:Ie.error}]}}else if(Ie.matches)G=Ie.matches;else{let{notFoundMatches:Be,error:Ge,route:ft}=Ga(A.pathname);return{matches:Be,pendingActionResult:[ft.id,{type:"error",error:Ge}]}}}let Se,Ne=Dl(G,A);if(!Ne.route.action&&!Ne.route.lazy)Se={type:"error",error:wn(405,{method:T.method,pathname:A.pathname,routeId:Ne.route.id})};else{let Ie=Ti(c,u,T,A,G,Ne,Pe?[]:i,we),Be=await Ze(T,A,Ie,we,null);if(Se=Be[Ne.route.id],!Se){for(let Ge of G)if(Be[Ge.route.id]){Se=Be[Ge.route.id];break}}if(T.signal.aborted)return{shortCircuited:!0}}if(Ma(Se)){let Ie;return le&&le.replace!=null?Ie=le.replace:Ie=Eg(Se.response.headers.get("Location"),new URL(T.url),p,e.history)===x.location.pathname+x.location.search,await Ae(T,Se,!0,{submission:F,replace:Ie}),{shortCircuited:!0}}if(fn(Se)){let Ie=Qr(G,Ne.route.id);return(le&&le.replace)!==!0&&(ee="PUSH"),{matches:G,pendingActionResult:[Ie.route.id,Se,Ne.route.id]}}return{matches:G,pendingActionResult:[Ne.route.id,Se]}}async function _r(T,A,F,G,K,we,xe,Pe,le,Te,Se,Ne,Ie,Be){let Ge=xe||od(A,F,G,Pe),ft=Pe||le||Lg(Ge),nt=!Q&&!Se;if(we){if(nt){let jt=Wn(Ie);qe({navigation:Ge,...jt!==void 0?{actionData:jt}:{}},{flushSync:Ne})}let Ue=await fa(F,A.pathname,T.signal);if(Ue.type==="aborted")return{shortCircuited:!0};if(Ue.type==="error"){if(Ue.partialMatches.length===0){let{matches:Wt,route:Zt}=gl(d.activeRoutes);return{matches:Wt,loaderData:{},errors:{[Zt.id]:Ue.error}}}let jt=Qr(Ue.partialMatches).route.id;return{matches:Ue.partialMatches,loaderData:{},errors:{[jt]:Ue.error}}}else if(Ue.matches)F=Ue.matches;else{let{error:jt,notFoundMatches:Wt,route:Zt}=Ga(A.pathname);return{matches:Wt,loaderData:{},errors:{[Zt.id]:jt}}}}let Ye=d.activeRoutes,{dsMatches:Fe,revalidatingFetchers:Lt}=wg(T,K,c,u,e.history,x,F,ft,A,Se?[]:i,Se===!0,ne,V,pe,fe,de,Ye,p,e.patchRoutesOnNavigation!=null,d.branches,Ie,Be);if(E=++O,!e.dataStrategy&&!Fe.some(Ue=>Ue.shouldLoad)&&!Fe.some(Ue=>Ue.route.middleware&&Ue.route.middleware.length>0)&&Lt.length===0){let Ue=new Map(x.fetchers),jt=Gn(Ue);return Et(A,{matches:F,loaderData:{},errors:Ie&&fn(Ie[1])?{[Ie[0]]:Ie[1].error}:null,...Ag(Ie),...jt?{fetchers:Ue}:{}},{flushSync:Ne}),{shortCircuited:!0}}if(nt){let Ue={};if(!we){Ue.navigation=Ge;let jt=Wn(Ie);jt!==void 0&&(Ue.actionData=jt)}Lt.length>0&&(Ue.fetchers=Bt(Lt)),qe(Ue,{flushSync:Ne})}Lt.forEach(Ue=>{Ht(Ue.key),Ue.controller&&W.set(Ue.key,Ue.controller)});let cr=()=>Lt.forEach(Ue=>Ht(Ue.key));se&&se.signal.addEventListener("abort",cr);let{loaderResults:Dn,fetcherResults:In}=await ot(Fe,Lt,T,A,K);if(T.signal.aborted)return{shortCircuited:!0};se&&se.signal.removeEventListener("abort",cr),Lt.forEach(Ue=>W.delete(Ue.key));let Kn=vl(Dn);if(Kn)return await Ae(T,Kn.result,!0,{replace:Te}),{shortCircuited:!0};if(Kn=vl(In),Kn)return de.add(Kn.key),await Ae(T,Kn.result,!0,{replace:Te}),{shortCircuited:!0};let ln=new Map(x.fetchers),{loaderData:Sr,errors:kt}=Dg(x,F,Dn,Ie,Lt,In,ln);Se&&x.errors&&(kt={...x.errors,...kt});let Ka=Gn(ln),Nt=Rn(E,ln),Ya=Ka||Nt||Lt.length>0;return{matches:F,loaderData:Sr,errors:kt,...Ya?{workingFetchers:ln}:{}}}function Wn(T){if(T&&!fn(T[1]))return{[T[0]]:T[1].data};if(x.actionData)return Object.keys(x.actionData).length===0?null:x.actionData}function Bt(T){let A=new Map(x.fetchers);return T.forEach(F=>{let G=A.get(F.key),K=_o(void 0,G?G.data:void 0);A.set(F.key,K)}),A}async function da(T,A,F,G){Ht(T);let K=(G&&G.flushSync)===!0,we=d.activeRoutes,xe=Od(x.location,x.matches,p,F,A,G?.relative),Pe=Vn(we,xe,p,!1,d.branches),le=xr(Pe,we,xe);if(le.active&&le.matches&&(Pe=le.matches),!Pe){Ke(T,A,wn(404,{pathname:xe}),{flushSync:K});return}let{path:Te,submission:Se,error:Ne}=_g(!0,xe,G);if(Ne){Ke(T,A,Ne,{flushSync:K});return}let Ie=e.getContext?await e.getContext():new mg,Be=(G&&G.preventScrollReset)===!0;if(Se&&Ut(Se.formMethod)){await $a(T,A,Te,Pe,Ie,le.active,K,Be,Se,G&&G.defaultShouldRevalidate);return}fe.set(T,{routeId:A,path:Te}),await Le(T,A,Te,Pe,Ie,le.active,K,Be,Se)}async function $a(T,A,F,G,K,we,xe,Pe,le,Te){mt(),fe.delete(T);let Se=x.fetchers.get(T);Je(T,gx(le,Se),{flushSync:xe});let Ne=new AbortController,Ie=bi(e.history,F,Ne.signal,le);if(we){let et=await fa(G,new URL(Ie.url).pathname,Ie.signal,T);if(et.type==="aborted")return;if(et.type==="error"){Ke(T,A,et.error,{flushSync:xe});return}else if(et.matches)G=et.matches;else{Ke(T,A,wn(404,{pathname:F}),{flushSync:xe});return}}let Be=Dl(G,F);if(!Be.route.action&&!Be.route.lazy){let et=wn(405,{method:le.formMethod,pathname:F,routeId:A});Ke(T,A,et,{flushSync:xe});return}W.set(T,Ne);let Ge=O,ft=Ti(c,u,Ie,F,G,Be,i,K),nt=await Ze(Ie,F,ft,K,T),Ye=nt[Be.route.id];if(!Ye){for(let et of ft)if(nt[et.route.id]){Ye=nt[et.route.id];break}}if(Ie.signal.aborted){W.get(T)===Ne&&W.delete(T);return}if(pe.has(T)){if(Ma(Ye)||fn(Ye)){Je(T,Jn(void 0));return}}else{if(Ma(Ye))if(W.delete(T),E>Ge){Je(T,Jn(void 0));return}else return de.add(T),Je(T,_o(le)),Ae(Ie,Ye,!1,{fetcherSubmission:le,preventScrollReset:Pe});if(fn(Ye)){Ke(T,A,Ye.error);return}}let Fe=x.navigation.location||x.location,Lt=bi(e.history,Fe,Ne.signal),cr=d.activeRoutes,Dn=x.navigation.state!=="idle"?Vn(cr,x.navigation.location,p,!1,d.branches):x.matches;ze(Dn,"Didn't find any matches after fetcher action");let In=++O;$.set(T,In);let{dsMatches:Kn,revalidatingFetchers:ln}=wg(Lt,K,c,u,e.history,x,Dn,le,Fe,i,!1,ne,V,pe,fe,de,cr,p,e.patchRoutesOnNavigation!=null,d.branches,[Be.route.id,Ye],Te),Sr=_o(le,Ye.data),kt=new Map(x.fetchers);kt.set(T,Sr),ln.filter(et=>et.key!==T).forEach(et=>{let ur=et.key,Xa=kt.get(ur),ps=_o(void 0,Xa?Xa.data:void 0);kt.set(ur,ps),Ht(ur),et.controller&&W.set(ur,et.controller)}),qe({fetchers:kt});let Ka=()=>ln.forEach(et=>Ht(et.key));Ne.signal.addEventListener("abort",Ka);let{loaderResults:Nt,fetcherResults:Ya}=await ot(Kn,ln,Lt,Fe,K);if(Ne.signal.aborted)return;Ne.signal.removeEventListener("abort",Ka),$.delete(T),W.delete(T),ln.forEach(et=>W.delete(et.key));let Ue=x.fetchers.has(T),jt=et=>{if(!Ue)return et;let ur=new Map(et.fetchers);return ur.set(T,Jn(Ye.data)),{...et,fetchers:ur}},Wt=vl(Nt);if(Wt)return x=jt(x),Ae(Lt,Wt.result,!1,{preventScrollReset:Pe});if(Wt=vl(Ya),Wt)return de.add(Wt.key),x=jt(x),Ae(Lt,Wt.result,!1,{preventScrollReset:Pe});let Zt=new Map(x.fetchers);Ue&&Zt.set(T,Jn(Ye.data));let{loaderData:Cr,errors:Tr}=Dg(x,Dn,Nt,void 0,ln,Ya,Zt);Rn(In,Zt),x.navigation.state==="loading"&&In>E?(ze(ee,"Expected pending action"),se&&se.abort(),Et(x.navigation.location,{matches:Dn,loaderData:Cr,errors:Tr,fetchers:Zt})):(qe({errors:Tr,loaderData:Ig(x.loaderData,Cr,Dn,Tr),fetchers:Zt}),ne=!1)}async function Le(T,A,F,G,K,we,xe,Pe,le){let Te=x.fetchers.get(T);Je(T,_o(le,Te?Te.data:void 0),{flushSync:xe});let Se=new AbortController,Ne=bi(e.history,F,Se.signal);if(we){let Ye=await fa(G,new URL(Ne.url).pathname,Ne.signal,T);if(Ye.type==="aborted")return;if(Ye.type==="error"){Ke(T,A,Ye.error,{flushSync:xe});return}else if(Ye.matches)G=Ye.matches;else{Ke(T,A,wn(404,{pathname:F}),{flushSync:xe});return}}let Ie=Dl(G,F);W.set(T,Se);let Be=O,Ge=Ti(c,u,Ne,F,G,Ie,i,K),ft=await Ze(Ne,F,Ge,K,T),nt=ft[Ie.route.id];if(!nt){for(let Ye of G)if(ft[Ye.route.id]){nt=ft[Ye.route.id];break}}if(W.get(T)===Se&&W.delete(T),!Ne.signal.aborted){if(pe.has(T)){Je(T,Jn(void 0));return}if(Ma(nt))if(E>Be){Je(T,Jn(void 0));return}else{de.add(T),await Ae(Ne,nt,!1,{preventScrollReset:Pe});return}if(fn(nt)){Ke(T,A,nt.error);return}Je(T,Jn(nt.data))}}async function Ae(T,A,F,{submission:G,fetcherSubmission:K,preventScrollReset:we,replace:xe}={}){F||(Y?.resolve(),Y=null),A.response.headers.has("X-Remix-Revalidate")&&(ne=!0);let Pe=A.response.headers.get("Location");ze(Pe,"Expected a Location header on the redirect Response"),Pe=Eg(Pe,new URL(T.url),p,e.history);let le=Uo(x.location,Pe,{_isRedirect:!0});if(a){let Ge=!1;if(A.response.headers.has("X-Remix-Reload-Document"))Ge=!0;else if(Th(Pe)){const ft=Ly(t,Pe,!0);Ge=ft.origin!==t.location.origin||Cn(ft.pathname,p)==null}if(Ge){xe?t.location.replace(Pe):t.location.assign(Pe);return}}se=null;let Te=xe===!0||A.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Se,formAction:Ne,formEncType:Ie}=x.navigation;!G&&!K&&Se&&Ne&&Ie&&(G=Lg(x.navigation));let Be=G||K;if(W1.has(A.response.status)&&Be&&Ut(Be.formMethod))await on(Te,le,{submission:{...Be,formAction:Pe},preventScrollReset:we||ue,enableViewTransition:F?q:void 0});else{let Ge=od(le,[],Te,G);await on(Te,le,{overrideNavigation:Ge,fetcherSubmission:K,preventScrollReset:we||ue,enableViewTransition:F?q:void 0})}}async function Ze(T,A,F,G,K){let we,xe={};try{we=await tx(f,T,A,F,K,G,!1)}catch(Pe){return F.filter(le=>le.shouldLoad).forEach(le=>{xe[le.route.id]={type:"error",error:Pe}}),xe}if(T.signal.aborted)return xe;if(!Ut(T.method))for(let Pe of F){if(we[Pe.route.id]?.type==="error")break;!we.hasOwnProperty(Pe.route.id)&&!x.loaderData.hasOwnProperty(Pe.route.id)&&(!x.errors||!x.errors.hasOwnProperty(Pe.route.id))&&Pe.shouldCallHandler()&&(we[Pe.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${Pe.route.id}`)})}for(let[Pe,le]of Object.entries(we))if(dx(le)){let Te=le.result;xe[Pe]={type:"redirect",response:ix(Te,T,Pe,F,p)}}else xe[Pe]=await ax(le);return xe}async function ot(T,A,F,G,K){let we=Ze(F,G,T,K,null),xe=Promise.all(A.map(async Te=>{if(Te.matches&&Te.match&&Te.request&&Te.controller){let Ne=(await Ze(Te.request,Te.path,Te.matches,K,Te.key))[Te.match.route.id];return{[Te.key]:Ne}}else return Promise.resolve({[Te.key]:{type:"error",error:wn(404,{pathname:Te.path})}})})),Pe=await we,le=(await xe).reduce((Te,Se)=>Object.assign(Te,Se),{});return{loaderResults:Pe,fetcherResults:le}}function mt(){ne=!0,fe.forEach((T,A)=>{W.has(A)&&V.add(A),Ht(A)})}function Je(T,A,F={}){let G=new Map(x.fetchers);G.set(T,A),qe({fetchers:G},{flushSync:(F&&F.flushSync)===!0})}function Ke(T,A,F,G={}){let K=Qr(x.matches,A),we=new Map(x.fetchers);Pt(we,T),qe({errors:{[K.route.id]:F},fetchers:we},{flushSync:(G&&G.flushSync)===!0})}function or(T){return he.set(T,(he.get(T)||0)+1),pe.has(T)&&pe.delete(T),x.fetchers.get(T)||$1}function ji(T,A){Ht(T,A?.reason),Je(T,Jn(null))}function Pt(T,A){let F=x.fetchers.get(A);W.has(A)&&!(F&&F.state==="loading"&&$.has(A))&&Ht(A),fe.delete(A),$.delete(A),de.delete(A),pe.delete(A),V.delete(A),T.delete(A)}function sr(T){let A=(he.get(T)||0)-1;A<=0?(he.delete(T),pe.add(T)):he.set(T,A),qe({fetchers:new Map(x.fetchers)})}function Ht(T,A){let F=W.get(T);F&&(F.abort(A),W.delete(T))}function $n(T,A){for(let F of T){let G=A.get(F);ze(G,`Expected fetcher: ${F}`);let K=Jn(G.data);A.set(F,K)}}function Gn(T){let A=[],F=!1;for(let G of de){let K=T.get(G);ze(K,`Expected fetcher: ${G}`),K.state==="loading"&&(de.delete(G),A.push(G),F=!0)}return $n(A,T),F}function Rn(T,A){let F=[];for(let[G,K]of $)if(K<T){let we=A.get(G);ze(we,`Expected fetcher: ${G}`),we.state==="loading"&&(Ht(G),$.delete(G),F.push(G))}return $n(F,A),F.length>0}function ha(T,A){let F=x.blockers.get(T)||bo;return De.get(T)!==A&&De.set(T,A),F}function wr(T){x.blockers.delete(T),De.delete(T)}function sn(T,A){let F=x.blockers.get(T)||bo;ze(F.state==="unblocked"&&A.state==="blocked"||F.state==="blocked"&&A.state==="blocked"||F.state==="blocked"&&A.state==="proceeding"||F.state==="blocked"&&A.state==="unblocked"||F.state==="proceeding"&&A.state==="unblocked",`Invalid blocker state transition: ${F.state} -> ${A.state}`);let G=new Map(x.blockers);G.set(T,A),qe({blockers:G})}function lr({currentLocation:T,nextLocation:A,historyAction:F}){if(De.size===0)return;De.size>1&&yt(!1,"A router only supports one blocker at a time");let G=Array.from(De.entries()),[K,we]=G[G.length-1],xe=x.blockers.get(K);if(!(xe&&xe.state==="proceeding")&&we({currentLocation:T,nextLocation:A,historyAction:F}))return K}function Ga(T){let A=wn(404,{pathname:T}),F=d.activeRoutes,{matches:G,route:K}=gl(F);return{notFoundMatches:G,route:K,error:A}}function hs(T,A,F){if(w=T,S=A,P=F||null,!N&&x.navigation===id){N=!0;let G=zi(x.location,x.matches);G!=null&&qe({restoreScrollPosition:G})}return()=>{w=null,S=null,P=null}}function Oi(T,A){return P&&P(T,A.map(G=>v1(G,x.loaderData)))||T.key}function fs(T,A){if(w&&S){let F=Oi(T,A);w[F]=S()}}function zi(T,A){if(w){let F=Oi(T,A),G=w[F];if(typeof G=="number")return G}return null}function xr(T,A,F){if(e.patchRoutesOnNavigation){let G=d.branches;if(T){if(Object.keys(T[0].params).length>0)return{active:!0,matches:Vn(A,F,p,!0,G)}}else return{active:!0,matches:Vn(A,F,p,!0,G)||[]}}return{active:!1,matches:null}}async function fa(T,A,F,G){if(!e.patchRoutesOnNavigation)return{type:"success",matches:T};let K=T;for(;;){let we=u;try{await e.patchRoutesOnNavigation({signal:F,path:A,matches:K,fetcherKey:G,patch:(Te,Se)=>{F.aborted||xg(Te,Se,d,we,c,!1)}})}catch(Te){return{type:"error",error:Te,partialMatches:K}}if(F.aborted)return{type:"aborted"};let xe=d.branches,Pe=Vn(d.activeRoutes,A,p,!1,xe),le=null;if(Pe){if(Object.keys(Pe[0].params).length===0)return{type:"success",matches:Pe};if(le=Vn(d.activeRoutes,A,p,!0,xe),!(le&&K.length<le.length&&Pr(K,le.slice(0,K.length))))return{type:"success",matches:Pe}}if(le||(le=Vn(d.activeRoutes,A,p,!0,xe)),!le||Pr(K,le))return{type:"success",matches:null};K=le}}function Pr(T,A){return T.length===A.length&&T.every((F,G)=>F.route.id===A[G].route.id)}function Vi(T){u={},d.setHmrRoutes(Bo(T,c,void 0,u))}function pa(T,A,F=!1){xg(T,A,d,u,c,F),d.hasHMRRoutes||qe({})}return oe={get basename(){return p},get future(){return g},get state(){return x},get routes(){return d.stableRoutes},get branches(){return d.branches},get manifest(){return u},get window(){return t},initialize:ut,subscribe:Xt,enableScrollRestoration:hs,navigate:ua,fetch:da,revalidate:Ha,createHref:T=>e.history.createHref(T),encodeLocation:T=>e.history.encodeLocation(T),getFetcher:or,resetFetcher:ji,deleteFetcher:sr,dispose:an,getBlocker:ha,deleteBlocker:wr,patchRoutes:pa,_internalFetchControllers:W,_internalSetRoutes:Vi,_internalSetStateDoNotUseOrYouWillBreakYourApp(T){qe(T)}},e.instrumentations&&(oe=j1(oe,e.instrumentations.map(T=>T.router).filter(Boolean))),oe}function X1(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Od(e,t,a,i,s,c){let u,d;if(s){u=[];for(let f of t)if(u.push(f),f.route.id===s){d=f;break}}else u=t,d=t[t.length-1];let p=lc(i||".",Eh(u),Cn(e.pathname,a)||e.pathname,c==="path");if(i==null&&(p.search=e.search,p.hash=e.hash),(i==null||i===""||i===".")&&d){let f=Ah(p.search);if(d.route.index&&!f)p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index";else if(!d.route.index&&f){let g=new URLSearchParams(p.search),v=g.getAll("index");g.delete("index"),v.filter(_=>_).forEach(_=>g.append("index",_));let y=g.toString();p.search=y?`?${y}`:""}}return a!=="/"&&(p.pathname=D1({basename:a,pathname:p.pathname})),rr(p)}function _g(e,t,a){if(!a||!X1(a))return{path:t};if(a.formMethod&&!px(a.formMethod))return{path:t,error:wn(405,{method:a.formMethod})};let i=()=>({path:t,error:wn(400,{type:"invalid-body"})}),c=(a.formMethod||"get").toUpperCase(),u=ek(t);if(a.body!==void 0){if(a.formEncType==="text/plain"){if(!Ut(c))return i();let v=typeof a.body=="string"?a.body:a.body instanceof FormData||a.body instanceof URLSearchParams?Array.from(a.body.entries()).reduce((y,[_,w])=>`${y}${_}=${w}
|
|
10
|
+
`,""):String(a.body);return{path:t,submission:{formMethod:c,formAction:u,formEncType:a.formEncType,formData:void 0,json:void 0,text:v}}}else if(a.formEncType==="application/json"){if(!Ut(c))return i();try{let v=typeof a.body=="string"?JSON.parse(a.body):a.body;return{path:t,submission:{formMethod:c,formAction:u,formEncType:a.formEncType,formData:void 0,json:v,text:void 0}}}catch{return i()}}}ze(typeof FormData=="function","FormData is not available in this environment");let d,p;if(a.formData)d=Vd(a.formData),p=a.formData;else if(a.body instanceof FormData)d=Vd(a.body),p=a.body;else if(a.body instanceof URLSearchParams)d=a.body,p=Rg(d);else if(a.body==null)d=new URLSearchParams,p=new FormData;else try{d=new URLSearchParams(a.body),p=Rg(d)}catch{return i()}let f={formMethod:c,formAction:u,formEncType:a&&a.formEncType||"application/x-www-form-urlencoded",formData:p,json:void 0,text:void 0};if(Ut(f.formMethod))return{path:t,submission:f};let g=ir(t);return e&&g.search&&Ah(g.search)&&d.append("index",""),g.search=`?${d}`,{path:rr(g),submission:f}}function wg(e,t,a,i,s,c,u,d,p,f,g,v,y,_,w,P,S,N,j,I,D,B){let Z=D?fn(D[1])?D[1].error:D[1].data:void 0,oe=s.createURL(c.location),x=s.createURL(p),ee;if(g&&c.errors){let Q=Object.keys(c.errors)[0];ee=u.findIndex(ne=>ne.route.id===Q)}else if(D&&fn(D[1])){let Q=D[0];ee=u.findIndex(ne=>ne.route.id===Q)-1}let Y=D?D[1].statusCode:void 0,ue=Y&&Y>=400,se={currentUrl:oe,currentParams:c.matches[0]?.params||{},nextUrl:x,nextParams:u[0].params,...d,actionResult:Z,actionStatus:Y},q=Qo(u),ae=u.map((Q,ne)=>{let{route:V}=Q,W=null;if(ee!=null&&ne>ee)W=!1;else if(V.lazy)W=!0;else if(!Dh(V))W=!1;else if(g){let{shouldLoad:de}=Ky(V,c.loaderData,c.errors);W=de}else Z1(c.loaderData,c.matches[ne],Q)&&(W=!0);if(W!==null)return zd(a,i,e,p,q,Q,f,t,W);let O=!1;typeof B=="boolean"?O=B:ue?O=!1:(v||oe.pathname+oe.search===x.pathname+x.search||oe.search!==x.search||q1(c.matches[ne],Q))&&(O=!0);let E={...se,defaultShouldRevalidate:O},$=Io(Q,E);return zd(a,i,e,p,q,Q,f,t,$,E,B)}),ie=[];return w.forEach((Q,ne)=>{if(g||!u.some(he=>he.route.id===Q.routeId)||_.has(ne))return;let V=c.fetchers.get(ne),W=V&&V.state!=="idle"&&V.data===void 0,O=Vn(S,Q.path,N??"/",!1,I);if(!O){if(j&&W)return;ie.push({key:ne,routeId:Q.routeId,path:Q.path,matches:null,match:null,request:null,controller:null});return}if(P.has(ne))return;let E=Dl(O,Q.path),$=new AbortController,de=bi(s,Q.path,$.signal),fe=null;if(y.has(ne))y.delete(ne),fe=Ti(a,i,de,Q.path,O,E,f,t);else if(W)v&&(fe=Ti(a,i,de,Q.path,O,E,f,t));else{let he;typeof B=="boolean"?he=B:ue?he=!1:he=v;let pe={...se,defaultShouldRevalidate:he};Io(E,pe)&&(fe=Ti(a,i,de,Q.path,O,E,f,t,pe))}fe&&ie.push({key:ne,routeId:Q.routeId,path:Q.path,matches:fe,match:E,request:de,controller:$})}),{dsMatches:ae,revalidatingFetchers:ie}}function Dh(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}function Ky(e,t,a){if(e.lazy)return{shouldLoad:!0,renderFallback:!0};if(!Dh(e))return{shouldLoad:!1,renderFallback:!1};let i=t!=null&&e.id in t,s=a!=null&&a[e.id]!==void 0;if(!i&&s)return{shouldLoad:!1,renderFallback:!1};if(typeof e.loader=="function"&&e.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!i};let c=!i&&!s;return{shouldLoad:c,renderFallback:c}}function Z1(e,t,a){let i=!t||a.route.id!==t.route.id,s=!e.hasOwnProperty(a.route.id);return i||s}function q1(e,t){let a=e.route.path;return e.pathname!==t.pathname||a!=null&&a.endsWith("*")&&e.params["*"]!==t.params["*"]}function Io(e,t){if(e.route.shouldRevalidate){let a=e.route.shouldRevalidate(t);if(typeof a=="boolean")return a}return t.defaultShouldRevalidate}function xg(e,t,a,i,s,c){let u;if(e){let f=i[e];ze(f,`No route found to patch children into: routeId = ${e}`),f.children||(f.children=[]),u=f.children}else u=a.activeRoutes;let d=[],p=[];if(t.forEach(f=>{let g=u.find(v=>Yy(f,v));g?p.push({existingRoute:g,newRoute:f}):d.push(f)}),d.length>0){let f=Bo(d,s,[e||"_","patch",String(u?.length||"0")],i);u.push(...f)}if(c&&p.length>0)for(let f=0;f<p.length;f++){let{existingRoute:g,newRoute:v}=p[f],y=g,[_]=Bo([v],s,[],{},!0);Object.assign(y,{element:_.element?_.element:y.element,errorElement:_.errorElement?_.errorElement:y.errorElement,hydrateFallbackElement:_.hydrateFallbackElement?_.hydrateFallbackElement:y.hydrateFallbackElement})}a.hasHMRRoutes||a.setRoutes([...a.activeRoutes])}function Yy(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children?.every((a,i)=>t.children?.some(s=>Yy(a,s)))??!1:!1}var Pg=new WeakMap,Xy=({key:e,route:t,manifest:a,mapRouteProperties:i})=>{let s=a[t.id];if(ze(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let c=s.lazy[e];if(!c)return;let u=Pg.get(s);u||(u={},Pg.set(s,u));let d=u[e];if(d)return d;let p=(async()=>{let f=f1(e),v=s[e]!==void 0&&e!=="hasErrorBoundary";if(f)yt(!f,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),u[e]=Promise.resolve();else if(v)yt(!1,`Route "${s.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let y=await c();y!=null&&(Object.assign(s,{[e]:y}),Object.assign(s,i(s)))}typeof s.lazy=="object"&&(s.lazy[e]=void 0,Object.values(s.lazy).every(y=>y===void 0)&&(s.lazy=void 0))})();return u[e]=p,p},Sg=new WeakMap;function Q1(e,t,a,i,s){let c=a[e.id];if(ze(c,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let g=Sg.get(c);if(g)return{lazyRoutePromise:g,lazyHandlerPromise:g};let v=(async()=>{ze(typeof e.lazy=="function","No lazy route function found");let y=await e.lazy(),_={};for(let w in y){let P=y[w];if(P===void 0)continue;let S=m1(w),j=c[w]!==void 0&&w!=="hasErrorBoundary";S?yt(!S,"Route property "+w+" is not a supported property to be returned from a lazy route function. This property will be ignored."):j?yt(!j,`Route "${c.id}" has a static property "${w}" defined but its lazy function is also returning a value for this property. The lazy route property "${w}" will be ignored.`):_[w]=P}Object.assign(c,_),Object.assign(c,{...i(c),lazy:void 0})})();return Sg.set(c,v),v.catch(()=>{}),{lazyRoutePromise:v,lazyHandlerPromise:v}}let u=Object.keys(e.lazy),d=[],p;for(let g of u){if(s&&s.includes(g))continue;let v=Xy({key:g,route:e,manifest:a,mapRouteProperties:i});v&&(d.push(v),g===t&&(p=v))}let f=d.length>0?Promise.all(d).then(()=>{}):void 0;return f?.catch(()=>{}),p?.catch(()=>{}),{lazyRoutePromise:f,lazyHandlerPromise:p}}async function Cg(e){let t=e.matches.filter(s=>s.shouldLoad),a={};return(await Promise.all(t.map(s=>s.resolve()))).forEach((s,c)=>{a[t[c].route.id]=s}),a}async function J1(e){return e.matches.some(t=>t.route.middleware)?Zy(e,()=>Cg(e)):Cg(e)}function Zy(e,t){return ex(e,t,i=>{if(fx(i))throw i;return i},cx,a);function a(i,s,c){if(c)return Promise.resolve(Object.assign(c.value,{[s]:{type:"error",result:i}}));{let{matches:u}=e,d=Math.min(Math.max(u.findIndex(f=>f.route.id===s),0),Math.max(u.findIndex(f=>f.shouldCallHandler()),0)),p=Qr(u,u[d].route.id).route.id;return Promise.resolve({[p]:{type:"error",result:i}})}}}async function ex(e,t,a,i,s){let{matches:c,...u}=e,d=c.flatMap(f=>f.route.middleware?f.route.middleware.map(g=>[f.route.id,g]):[]);return await qy(u,d,t,a,i,s)}async function qy(e,t,a,i,s,c,u=0){let{request:d}=e;if(d.signal.aborted)throw d.signal.reason??new Error(`Request aborted: ${d.method} ${d.url}`);let p=t[u];if(!p)return await a();let[f,g]=p,v,y=async()=>{if(v)throw new Error("You may only call `next()` once per middleware");try{return v={value:await qy(e,t,a,i,s,c,u+1)},v.value}catch(_){return v={value:await c(_,f,v)},v.value}};try{let _=await g(e,y),w=_!=null?i(_):void 0;return s(w)?w:v?w??v.value:(v={value:await y()},v.value)}catch(_){return await c(_,f,v)}}function Qy(e,t,a,i,s){let c=Xy({key:"middleware",route:i.route,manifest:t,mapRouteProperties:e}),u=Q1(i.route,Ut(a.method)?"action":"loader",t,e,s);return{middleware:c,route:u.lazyRoutePromise,handler:u.lazyHandlerPromise}}function zd(e,t,a,i,s,c,u,d,p,f=null,g){let v=!1,y=Qy(e,t,a,c,u);return{...c,_lazyPromises:y,shouldLoad:p,shouldRevalidateArgs:f,shouldCallHandler(_){return v=!0,f?typeof g=="boolean"?Io(c,{...f,defaultShouldRevalidate:g}):typeof _=="boolean"?Io(c,{...f,defaultShouldRevalidate:_}):Io(c,f):p},resolve(_){let{lazy:w,loader:P,middleware:S}=c.route,N=v||p||_&&!Ut(a.method)&&(w||P),j=S&&S.length>0&&!P&&!w;return N&&(Ut(a.method)||!j)?nx({request:a,path:i,pattern:s,match:c,lazyHandlerPromise:y?.handler,lazyRoutePromise:y?.route,handlerOverride:_,scopedContext:d}):Promise.resolve({type:"data",result:void 0})}}}function Ti(e,t,a,i,s,c,u,d,p=null){return s.map(f=>f.route.id!==c.route.id?{...f,shouldLoad:!1,shouldRevalidateArgs:p,shouldCallHandler:()=>!1,_lazyPromises:Qy(e,t,a,f,u),resolve:()=>Promise.resolve({type:"data",result:void 0})}:zd(e,t,a,i,Qo(s),f,u,d,!0,p))}async function tx(e,t,a,i,s,c,u){i.some(g=>g._lazyPromises?.middleware)&&await Promise.all(i.map(g=>g._lazyPromises?.middleware));let d={request:t,url:Jy(t,a),pattern:Qo(i),params:i[0].params,context:c,matches:i},f=await e({...d,fetcherKey:s,runClientMiddleware:g=>{let v=d;return Zy(v,()=>g({...v,fetcherKey:s,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(i.flatMap(g=>[g._lazyPromises?.handler,g._lazyPromises?.route]))}catch{}return f}async function nx({request:e,path:t,pattern:a,match:i,lazyHandlerPromise:s,lazyRoutePromise:c,handlerOverride:u,scopedContext:d}){let p,f,g=Ut(e.method),v=g?"action":"loader",y=_=>{let w,P=new Promise((j,I)=>w=I);f=()=>w(),e.signal.addEventListener("abort",f);let S=j=>typeof _!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${v}" [routeId: ${i.route.id}]`)):_({request:e,url:Jy(e,t),pattern:a,params:i.params,context:d},...j!==void 0?[j]:[]),N=(async()=>{try{return{type:"data",result:await(u?u(I=>S(I)):S())}}catch(j){return{type:"error",result:j}}})();return Promise.race([N,P])};try{let _=g?i.route.action:i.route.loader;if(s||c)if(_){let w,[P]=await Promise.all([y(_).catch(S=>{w=S}),s,c]);if(w!==void 0)throw w;p=P}else{await s;let w=g?i.route.action:i.route.loader;if(w)[p]=await Promise.all([y(w),c]);else if(v==="action"){let P=new URL(e.url),S=P.pathname+P.search;throw wn(405,{method:e.method,pathname:S,routeId:i.route.id})}else return{type:"data",result:void 0}}else if(_)p=await y(_);else{let w=new URL(e.url),P=w.pathname+w.search;throw wn(404,{pathname:P})}}catch(_){return{type:"error",result:_}}finally{f&&e.signal.removeEventListener("abort",f)}return p}async function rx(e){let t=e.headers.get("Content-Type");return t&&/\bapplication\/json\b/.test(t)?e.body==null?null:e.json():e.text()}async function ax(e){let{result:t,type:a}=e;if(Ih(t)){let i;try{i=await rx(t)}catch(s){return{type:"error",error:s}}return a==="error"?{type:"error",error:new qo(t.status,t.statusText,i),statusCode:t.status,headers:t.headers}:{type:"data",data:i,statusCode:t.status,headers:t.headers}}return a==="error"?Mg(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:lx(t),statusCode:Ho(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:Ho(t)?t.status:void 0}:Mg(t)?{type:"data",data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function ix(e,t,a,i,s){let c=e.headers.get("Location");if(ze(c,"Redirects returned/thrown from loaders/actions must have a Location header"),!Th(c)){let u=i.slice(0,i.findIndex(d=>d.route.id===a)+1);c=Od(new URL(t.url),u,s,c),e.headers.set("Location",c)}return e}var Tg=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Eg(e,t,a,i){if(Th(e)){let s=e,c=s.startsWith("//")?new URL(t.protocol+s):new URL(s);if(Tg.includes(c.protocol))throw new Error("Invalid redirect location");let u=Cn(c.pathname,a)!=null;if(c.origin===t.origin&&u)return Rh(c.pathname)+c.search+c.hash}try{let s=i.createURL(e);if(Tg.includes(s.protocol))throw new Error("Invalid redirect location")}catch{}return e}function bi(e,t,a,i){let s=e.createURL(ek(t)).toString(),c={signal:a};if(i&&Ut(i.formMethod)){let{formMethod:u,formEncType:d}=i;c.method=u.toUpperCase(),d==="application/json"?(c.headers=new Headers({"Content-Type":d}),c.body=JSON.stringify(i.json)):d==="text/plain"?c.body=i.text:d==="application/x-www-form-urlencoded"&&i.formData?c.body=Vd(i.formData):c.body=i.formData}return new Request(s,c)}function Jy(e,t){let a=new URL(e.url),i=typeof t=="string"?ir(t):t;if(a.pathname=i.pathname||"/",i.search){let s=new URLSearchParams(i.search),c=s.getAll("index");s.delete("index");for(let u of c.filter(Boolean))s.append("index",u);a.search=s.size?`?${s.toString()}`:""}else a.search="";return a.hash=i.hash||"",a}function Vd(e){let t=new URLSearchParams;for(let[a,i]of e.entries())t.append(a,typeof i=="string"?i:i.name);return t}function Rg(e){let t=new FormData;for(let[a,i]of e.entries())t.append(a,i);return t}function ox(e,t,a,i=!1,s=!1){let c={},u=null,d,p=!1,f={},g=a&&fn(a[1])?a[1].error:void 0;return e.forEach(v=>{if(!(v.route.id in t))return;let y=v.route.id,_=t[y];if(ze(!Ma(_),"Cannot handle redirect results in processLoaderData"),fn(_)){let w=_.error;if(g!==void 0&&(w=g,g=void 0),u=u||{},s)u[y]=w;else{let P=Qr(e,y);u[P.route.id]==null&&(u[P.route.id]=w)}i||(c[y]=Gy),p||(p=!0,d=Ho(_.error)?_.error.status:500),_.headers&&(f[y]=_.headers)}else c[y]=_.data,_.statusCode&&_.statusCode!==200&&!p&&(d=_.statusCode),_.headers&&(f[y]=_.headers)}),g!==void 0&&a&&(u={[a[0]]:g},a[2]&&(c[a[2]]=void 0)),{loaderData:c,errors:u,statusCode:d||200,loaderHeaders:f}}function Dg(e,t,a,i,s,c,u){let{loaderData:d,errors:p}=ox(t,a,i);return s.filter(f=>!f.matches||f.matches.some(g=>g.shouldLoad)).forEach(f=>{let{key:g,match:v,controller:y}=f;if(y&&y.signal.aborted)return;let _=c[g];if(ze(_,"Did not find corresponding fetcher result"),fn(_)){let w=Qr(e.matches,v?.route.id);p&&p[w.route.id]||(p={...p,[w.route.id]:_.error}),u.delete(g)}else if(Ma(_))ze(!1,"Unhandled fetcher revalidation redirect");else{let w=Jn(_.data);u.set(g,w)}}),{loaderData:d,errors:p}}function Ig(e,t,a,i){let s=Object.entries(t).filter(([,c])=>c!==Gy).reduce((c,[u,d])=>(c[u]=d,c),{});for(let c of a){let u=c.route.id;if(!t.hasOwnProperty(u)&&e.hasOwnProperty(u)&&c.route.loader&&(s[u]=e[u]),i&&i.hasOwnProperty(u))break}return s}function Ag(e){return e?fn(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Qr(e,t){return(t?e.slice(0,e.findIndex(i=>i.route.id===t)+1):[...e]).reverse().find(i=>i.route.hasErrorBoundary===!0)||e[0]}function gl(e){let t=e.length===1?e[0]:e.find(a=>a.index||!a.path||a.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function wn(e,{pathname:t,routeId:a,method:i,type:s,message:c}={}){let u="Unknown Server Error",d="Unknown @remix-run/router error";return e===400?(u="Bad Request",i&&t&&a?d=`You made a ${i} request to "${t}" but did not provide a \`loader\` for route "${a}", so there is no way to handle the request.`:s==="invalid-body"&&(d="Unable to encode submission body")):e===403?(u="Forbidden",d=`Route "${a}" does not match URL "${t}"`):e===404?(u="Not Found",d=`No route matches URL "${t}"`):e===405&&(u="Method Not Allowed",i&&t&&a?d=`You made a ${i.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${a}", so there is no way to handle the request.`:i&&(d=`Invalid request method "${i.toUpperCase()}"`)),new qo(e||500,u,new Error(d),!0)}function vl(e){let t=Object.entries(e);for(let a=t.length-1;a>=0;a--){let[i,s]=t[a];if(Ma(s))return{key:i,result:s}}}function ek(e){let t=typeof e=="string"?ir(e):e;return rr({...t,hash:""})}function sx(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function lx(e){return new qo(e.init?.status??500,e.init?.statusText??"Internal Server Error",e.data)}function cx(e){return e!=null&&typeof e=="object"&&Object.entries(e).every(([t,a])=>typeof t=="string"&&ux(a))}function ux(e){return e!=null&&typeof e=="object"&&"type"in e&&"result"in e&&(e.type==="data"||e.type==="error")}function dx(e){return Ih(e.result)&&Wy.has(e.result.status)}function fn(e){return e.type==="error"}function Ma(e){return(e&&e.type)==="redirect"}function Mg(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function Ih(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function hx(e){return Wy.has(e)}function fx(e){return Ih(e)&&hx(e.status)&&e.headers.has("Location")}function px(e){return H1.has(e.toUpperCase())}function Ut(e){return U1.has(e.toUpperCase())}function Ah(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Dl(e,t){let a=typeof t=="string"?ir(t).search:t.search;if(e[e.length-1].route.index&&Ah(a||""))return e[e.length-1];let i=Vy(e);return i[i.length-1]}function Lg(e){let{formMethod:t,formAction:a,formEncType:i,text:s,formData:c,json:u}=e;if(!(!t||!a||!i)){if(s!=null)return{formMethod:t,formAction:a,formEncType:i,formData:void 0,json:void 0,text:s};if(c!=null)return{formMethod:t,formAction:a,formEncType:i,formData:c,json:void 0,text:void 0};if(u!==void 0)return{formMethod:t,formAction:a,formEncType:i,formData:void 0,json:u,text:void 0}}}function od(e,t,a,i){return i?{state:"loading",location:e,matches:t,historyAction:a,formMethod:i.formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text}:{state:"loading",location:e,matches:t,historyAction:a,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function mx(e,t,a,i){return{state:"submitting",location:e,matches:t,historyAction:a,formMethod:i.formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text}}function _o(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function gx(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Jn(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function vx(e,t){try{let a=e.sessionStorage.getItem($y);if(a){let i=JSON.parse(a);for(let[s,c]of Object.entries(i||{}))c&&Array.isArray(c)&&t.set(s,new Set(c||[]))}}catch{}}function yx(e,t){if(t.size>0){let a={};for(let[i,s]of t)a[i]=[...s];try{e.sessionStorage.setItem($y,JSON.stringify(a))}catch(i){yt(!1,`Failed to save applied view transitions in sessionStorage (${i}).`)}}}function Ng(){let e,t,a=new Promise((i,s)=>{e=async c=>{i(c);try{await a}catch{}},t=async c=>{s(c);try{await a}catch{}}});return{promise:a,resolve:e,reject:t}}var Va=k.createContext(null);Va.displayName="DataRouter";var Jo=k.createContext(null);Jo.displayName="DataRouterState";var tk=k.createContext(!1);function nk(){return k.useContext(tk)}var Mh=k.createContext({isTransitioning:!1});Mh.displayName="ViewTransition";var rk=k.createContext(new Map);rk.displayName="Fetchers";var kx=k.createContext(null);kx.displayName="Await";var En=k.createContext(null);En.displayName="Navigation";var cc=k.createContext(null);cc.displayName="Location";var br=k.createContext({outlet:null,matches:[],isDataRoute:!1});br.displayName="Route";var Lh=k.createContext(null);Lh.displayName="RouteError";var ak="REACT_ROUTER_ERROR",bx="REDIRECT",_x="ROUTE_ERROR_RESPONSE";function wx(e){if(e.startsWith(`${ak}:${bx}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function xx(e){if(e.startsWith(`${ak}:${_x}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new qo(t.status,t.statusText,t.data)}catch{}}function Px(e,{relative:t}={}){ze(es(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:i}=k.useContext(En),{hash:s,pathname:c,search:u}=ts(e,{relative:t}),d=c;return a!=="/"&&(d=c==="/"?a:Pn([a,c])),i.createHref({pathname:d,search:u,hash:s})}function es(){return k.useContext(cc)!=null}function Hn(){return ze(es(),"useLocation() may be used only in the context of a <Router> component."),k.useContext(cc).location}var ik="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ok(e){k.useContext(En).static||k.useLayoutEffect(e)}function sk(){let{isDataRoute:e}=k.useContext(br);return e?Ox():Sx()}function Sx(){ze(es(),"useNavigate() may be used only in the context of a <Router> component.");let e=k.useContext(Va),{basename:t,navigator:a}=k.useContext(En),{matches:i}=k.useContext(br),{pathname:s}=Hn(),c=JSON.stringify(Eh(i)),u=k.useRef(!1);return ok(()=>{u.current=!0}),k.useCallback((p,f={})=>{if(yt(u.current,ik),!u.current)return;if(typeof p=="number"){a.go(p);return}let g=lc(p,JSON.parse(c),s,f.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:Pn([t,g.pathname])),(f.replace?a.replace:a.push)(g,f.state,f)},[t,a,c,s,e])}k.createContext(null);function ts(e,{relative:t}={}){let{matches:a}=k.useContext(br),{pathname:i}=Hn(),s=JSON.stringify(Eh(a));return k.useMemo(()=>lc(e,JSON.parse(s),i,t==="path"),[e,s,i,t])}function Cx(e,t,a){ze(es(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=k.useContext(En),{matches:s}=k.useContext(br),c=s[s.length-1],u=c?c.params:{},d=c?c.pathname:"/",p=c?c.pathnameBase:"/",f=c&&c.route;{let S=f&&f.path||"";ck(d,!f||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${S}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
11
|
+
|
|
12
|
+
Please change the parent <Route path="${S}"> to <Route path="${S==="/"?"*":`${S}/*`}">.`)}let g=Hn(),v;v=g;let y=v.pathname||"/",_=y;if(p!=="/"){let S=p.replace(/^\//,"").split("/");_="/"+y.replace(/^\//,"").split("/").slice(S.length).join("/")}let w=a&&a.state.matches.length?a.state.matches.map(S=>Object.assign(S,{route:a.manifest[S.route.id]||S.route})):Ny(e,{pathname:_});return yt(f||w!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),yt(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),Ix(w&&w.map(S=>Object.assign({},S,{params:Object.assign({},u,S.params),pathname:Pn([p,i.encodeLocation?i.encodeLocation(S.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?p:Pn([p,i.encodeLocation?i.encodeLocation(S.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathnameBase])})),s,a)}function Tx(){let e=jx(),t=Ho(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},c={padding:"2px 4px",backgroundColor:i},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=k.createElement(k.Fragment,null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:c},"ErrorBoundary")," or"," ",k.createElement("code",{style:c},"errorElement")," prop on your route.")),k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),a?k.createElement("pre",{style:s},a):null,u)}var Ex=k.createElement(Tx,null),lk=class extends k.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const a=xx(e.digest);a&&(e=a)}let t=e!==void 0?k.createElement(br.Provider,{value:this.props.routeContext},k.createElement(Lh.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?k.createElement(Rx,{error:e},t):t}};lk.contextType=tk;var sd=new WeakMap;function Rx({children:e,error:t}){let{basename:a}=k.useContext(En);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let i=wx(t.digest);if(i){let s=sd.get(t);if(s)throw s;let c=Uy(i.location,a);if(Fy&&!sd.get(t))if(c.isExternal||i.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:i.replace}));throw sd.set(t,u),u}return k.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function Dx({routeContext:e,match:t,children:a}){let i=k.useContext(Va);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),k.createElement(br.Provider,{value:e},a)}function Ix(e,t=[],a){let i=a?.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(t.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let s=e,c=i?.errors;if(c!=null){let g=s.findIndex(v=>v.route.id&&c?.[v.route.id]!==void 0);ze(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),s=s.slice(0,Math.min(s.length,g+1))}let u=!1,d=-1;if(a&&i){u=i.renderFallback;for(let g=0;g<s.length;g++){let v=s[g];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(d=g),v.route.id){let{loaderData:y,errors:_}=i,w=v.route.loader&&!y.hasOwnProperty(v.route.id)&&(!_||_[v.route.id]===void 0);if(v.route.lazy||w){a.isStatic&&(u=!0),d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}}let p=a?.onError,f=i&&p?(g,v)=>{p(g,{location:i.location,params:i.matches?.[0]?.params??{},pattern:Qo(i.matches),errorInfo:v})}:void 0;return s.reduceRight((g,v,y)=>{let _,w=!1,P=null,S=null;i&&(_=c&&v.route.id?c[v.route.id]:void 0,P=v.route.errorElement||Ex,u&&(d<0&&y===0?(ck("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,S=null):d===y&&(w=!0,S=v.route.hydrateFallbackElement||null)));let N=t.concat(s.slice(0,y+1)),j=()=>{let I;return _?I=P:w?I=S:v.route.Component?I=k.createElement(v.route.Component,null):v.route.element?I=v.route.element:I=g,k.createElement(Dx,{match:v,routeContext:{outlet:g,matches:N,isDataRoute:i!=null},children:I})};return i&&(v.route.ErrorBoundary||v.route.errorElement||y===0)?k.createElement(lk,{location:i.location,revalidation:i.revalidation,component:P,error:_,children:j(),routeContext:{outlet:null,matches:N,isDataRoute:!0},onError:f}):j()},null)}function Nh(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ax(e){let t=k.useContext(Va);return ze(t,Nh(e)),t}function Mx(e){let t=k.useContext(Jo);return ze(t,Nh(e)),t}function Lx(e){let t=k.useContext(br);return ze(t,Nh(e)),t}function jh(e){let t=Lx(e),a=t.matches[t.matches.length-1];return ze(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function Nx(){return jh("useRouteId")}function jx(){let e=k.useContext(Lh),t=Mx("useRouteError"),a=jh("useRouteError");return e!==void 0?e:t.errors?.[a]}function Ox(){let{router:e}=Ax("useNavigate"),t=jh("useNavigate"),a=k.useRef(!1);return ok(()=>{a.current=!0}),k.useCallback(async(s,c={})=>{yt(a.current,ik),a.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:t,...c}))},[e,t])}var jg={};function ck(e,t,a){!t&&!jg[e]&&(jg[e]=!0,yt(!1,a))}var Og={};function zg(e,t){!e&&!Og[t]&&(Og[t]=!0,console.warn(t))}var zx="useOptimistic",Vg=Ch[zx],Vx=()=>{};function Fx(e){return Vg?Vg(e):[e,Vx]}function Ux(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&yt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:k.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&yt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:k.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&yt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:k.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var Bx=["HydrateFallback","hydrateFallbackElement"],Hx=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=a=>{this.status==="pending"&&(this.status="resolved",e(a))},this.reject=a=>{this.status==="pending"&&(this.status="rejected",t(a))}})}};function Wx({router:e,flushSync:t,onError:a,useTransitions:i}){i=nk()||i;let[c,u]=k.useState(e.state),[d,p]=Fx(c),[f,g]=k.useState(),[v,y]=k.useState({isTransitioning:!1}),[_,w]=k.useState(),[P,S]=k.useState(),[N,j]=k.useState(),I=k.useRef(new Map),D=k.useCallback((x,{deletedFetchers:ee,newErrors:Y,flushSync:ue,viewTransitionOpts:se})=>{Y&&a&&Object.values(Y).forEach(ae=>a(ae,{location:x.location,params:x.matches[0]?.params??{},pattern:Qo(x.matches)})),x.fetchers.forEach((ae,ie)=>{ae.data!==void 0&&I.current.set(ie,ae.data)}),ee.forEach(ae=>I.current.delete(ae)),zg(ue===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let q=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(zg(se==null||q,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!se||!q){t&&ue?t(()=>u(x)):i===!1?u(x):k.startTransition(()=>{i===!0&&p(ae=>Fg(ae,x)),u(x)});return}if(t&&ue){t(()=>{P&&(_?.resolve(),P.skipTransition()),y({isTransitioning:!0,flushSync:!0,currentLocation:se.currentLocation,nextLocation:se.nextLocation})});let ae=e.window.document.startViewTransition(()=>{t(()=>u(x))});ae.finished.finally(()=>{t(()=>{w(void 0),S(void 0),g(void 0),y({isTransitioning:!1})})}),t(()=>S(ae));return}P?(_?.resolve(),P.skipTransition(),j({state:x,currentLocation:se.currentLocation,nextLocation:se.nextLocation})):(g(x),y({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}))},[e.window,t,P,_,i,p,a]);k.useLayoutEffect(()=>e.subscribe(D),[e,D]),k.useEffect(()=>{v.isTransitioning&&!v.flushSync&&w(new Hx)},[v]),k.useEffect(()=>{if(_&&f&&e.window){let x=f,ee=_.promise,Y=e.window.document.startViewTransition(async()=>{i===!1?u(x):k.startTransition(()=>{i===!0&&p(ue=>Fg(ue,x)),u(x)}),await ee});Y.finished.finally(()=>{w(void 0),S(void 0),g(void 0),y({isTransitioning:!1})}),S(Y)}},[f,_,e.window,i,p]),k.useEffect(()=>{_&&f&&d.location.key===f.location.key&&_.resolve()},[_,P,d.location,f]),k.useEffect(()=>{!v.isTransitioning&&N&&(g(N.state),y({isTransitioning:!0,flushSync:!1,currentLocation:N.currentLocation,nextLocation:N.nextLocation}),j(void 0))},[v.isTransitioning,N]);let B=k.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:x=>e.navigate(x),push:(x,ee,Y)=>e.navigate(x,{state:ee,preventScrollReset:Y?.preventScrollReset}),replace:(x,ee,Y)=>e.navigate(x,{replace:!0,state:ee,preventScrollReset:Y?.preventScrollReset})}),[e]),Z=e.basename||"/",oe=k.useMemo(()=>({router:e,navigator:B,static:!1,basename:Z,onError:a}),[e,B,Z,a]);return k.createElement(k.Fragment,null,k.createElement(Va.Provider,{value:oe},k.createElement(Jo.Provider,{value:d},k.createElement(rk.Provider,{value:I.current},k.createElement(Mh.Provider,{value:v},k.createElement(Kx,{basename:Z,location:d.location,navigationType:d.historyAction,navigator:B,useTransitions:i},k.createElement($x,{routes:e.routes,manifest:e.manifest,future:e.future,state:d,isStatic:!1,onError:a})))))),null)}function Fg(e,t){return{...e,navigation:t.navigation.state!=="idle"?t.navigation:e.navigation,revalidation:t.revalidation!=="idle"?t.revalidation:e.revalidation,actionData:t.navigation.state!=="submitting"?t.actionData:e.actionData,fetchers:t.fetchers}}var $x=k.memo(Gx);function Gx({routes:e,manifest:t,future:a,state:i,isStatic:s,onError:c}){return Cx(e,void 0,{manifest:t,state:i,isStatic:s,onError:c})}function Kx({basename:e="/",children:t=null,location:a,navigationType:i="POP",navigator:s,static:c=!1,useTransitions:u}){ze(!es(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),p=k.useMemo(()=>({basename:d,navigator:s,static:c,useTransitions:u,future:{}}),[d,s,c,u]);typeof a=="string"&&(a=ir(a));let{pathname:f="/",search:g="",hash:v="",state:y=null,key:_="default",mask:w}=a,P=k.useMemo(()=>{let S=Cn(f,d);return S==null?null:{location:{pathname:S,search:g,hash:v,state:y,key:_,mask:w},navigationType:i}},[d,f,g,v,y,_,i,w]);return yt(P!=null,`<Router basename="${d}"> is not able to match the URL "${f}${g}${v}" because it does not start with the basename, so the <Router> won't render anything.`),P==null?null:k.createElement(En.Provider,{value:p},k.createElement(cc.Provider,{children:t,value:P}))}var Il="get",Al="application/x-www-form-urlencoded";function uc(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Yx(e){return uc(e)&&e.tagName.toLowerCase()==="button"}function Xx(e){return uc(e)&&e.tagName.toLowerCase()==="form"}function Zx(e){return uc(e)&&e.tagName.toLowerCase()==="input"}function qx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Qx(e,t){return e.button===0&&(!t||t==="_self")&&!qx(e)}var yl=null;function Jx(){if(yl===null)try{new FormData(document.createElement("form"),0),yl=!1}catch{yl=!0}return yl}var eP=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ld(e){return e!=null&&!eP.has(e)?(yt(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Al}"`),null):e}function tP(e,t){let a,i,s,c,u;if(Xx(e)){let d=e.getAttribute("action");i=d?Cn(d,t):null,a=e.getAttribute("method")||Il,s=ld(e.getAttribute("enctype"))||Al,c=new FormData(e)}else if(Yx(e)||Zx(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=e.getAttribute("formaction")||d.getAttribute("action");if(i=p?Cn(p,t):null,a=e.getAttribute("formmethod")||d.getAttribute("method")||Il,s=ld(e.getAttribute("formenctype"))||ld(d.getAttribute("enctype"))||Al,c=new FormData(d,e),!Jx()){let{name:f,type:g,value:v}=e;if(g==="image"){let y=f?`${f}.`:"";c.append(`${y}x`,"0"),c.append(`${y}y`,"0")}else f&&c.append(f,v)}}else{if(uc(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=Il,i=null,s=Al,u=e}return c&&s==="text/plain"&&(u=c,c=void 0),{action:i,method:a.toLowerCase(),encType:s,formData:c,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Oh(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function uk(e,t,a,i){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${i}`:s.pathname=`${s.pathname}.${i}`:s.pathname==="/"?s.pathname=`_root.${i}`:t&&Cn(s.pathname,t)==="/"?s.pathname=`${Hl(t)}/_root.${i}`:s.pathname=`${Hl(s.pathname)}.${i}`,s}async function nP(e,t){if(e.id in t)return t[e.id];try{let a=await import(e.module);return t[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function rP(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function aP(e,t,a){let i=await Promise.all(e.map(async s=>{let c=t.routes[s.route.id];if(c){let u=await nP(c,a);return u.links?u.links():[]}return[]}));return lP(i.flat(1).filter(rP).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function Ug(e,t,a,i,s,c){let u=(p,f)=>a[f]?p.route.id!==a[f].route.id:!0,d=(p,f)=>a[f].pathname!==p.pathname||a[f].route.path?.endsWith("*")&&a[f].params["*"]!==p.params["*"];return c==="assets"?t.filter((p,f)=>u(p,f)||d(p,f)):c==="data"?t.filter((p,f)=>{let g=i.routes[p.route.id];if(!g||!g.hasLoader)return!1;if(u(p,f)||d(p,f))return!0;if(p.route.shouldRevalidate){let v=p.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function iP(e,t,{includeHydrateFallback:a}={}){return oP(e.map(i=>{let s=t.routes[i.route.id];if(!s)return[];let c=[s.module];return s.clientActionModule&&(c=c.concat(s.clientActionModule)),s.clientLoaderModule&&(c=c.concat(s.clientLoaderModule)),a&&s.hydrateFallbackModule&&(c=c.concat(s.hydrateFallbackModule)),s.imports&&(c=c.concat(s.imports)),c}).flat(1))}function oP(e){return[...new Set(e)]}function sP(e){let t={},a=Object.keys(e).sort();for(let i of a)t[i]=e[i];return t}function lP(e,t){let a=new Set;return new Set(t),e.reduce((i,s)=>{let c=JSON.stringify(sP(s));return a.has(c)||(a.add(c),i.push({key:c,link:s})),i},[])}function zh(){let e=k.useContext(Va);return Oh(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function cP(){let e=k.useContext(Jo);return Oh(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Vh=k.createContext(void 0);Vh.displayName="FrameworkContext";function Fh(){let e=k.useContext(Vh);return Oh(e,"You must render this element inside a <HydratedRouter> element"),e}function uP(e,t){let a=k.useContext(Vh),[i,s]=k.useState(!1),[c,u]=k.useState(!1),{onFocus:d,onBlur:p,onMouseEnter:f,onMouseLeave:g,onTouchStart:v}=t,y=k.useRef(null);k.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let P=N=>{N.forEach(j=>{u(j.isIntersecting)})},S=new IntersectionObserver(P,{threshold:.5});return y.current&&S.observe(y.current),()=>{S.disconnect()}}},[e]),k.useEffect(()=>{if(i){let P=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(P)}}},[i]);let _=()=>{s(!0)},w=()=>{s(!1),u(!1)};return a?e!=="intent"?[c,y,{}]:[c,y,{onFocus:wo(d,_),onBlur:wo(p,w),onMouseEnter:wo(f,_),onMouseLeave:wo(g,w),onTouchStart:wo(v,_)}]:[!1,y,{}]}function wo(e,t){return a=>{e&&e(a),a.defaultPrevented||t(a)}}function dP({page:e,...t}){let a=nk(),{router:i}=zh(),s=k.useMemo(()=>Ny(i.routes,e,i.basename),[i.routes,e,i.basename]);return s?a?k.createElement(fP,{page:e,matches:s,...t}):k.createElement(pP,{page:e,matches:s,...t}):null}function hP(e){let{manifest:t,routeModules:a}=Fh(),[i,s]=k.useState([]);return k.useEffect(()=>{let c=!1;return aP(e,t,a).then(u=>{c||s(u)}),()=>{c=!0}},[e,t,a]),i}function fP({page:e,matches:t,...a}){let i=Hn(),{future:s}=Fh(),{basename:c}=zh(),u=k.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let d=uk(e,c,s.v8_trailingSlashAwareDataRequests,"rsc"),p=!1,f=[];for(let g of t)typeof g.route.shouldRevalidate=="function"?p=!0:f.push(g.route.id);return p&&f.length>0&&d.searchParams.set("_routes",f.join(",")),[d.pathname+d.search]},[c,s.v8_trailingSlashAwareDataRequests,e,i,t]);return k.createElement(k.Fragment,null,u.map(d=>k.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...a})))}function pP({page:e,matches:t,...a}){let i=Hn(),{future:s,manifest:c,routeModules:u}=Fh(),{basename:d}=zh(),{loaderData:p,matches:f}=cP(),g=k.useMemo(()=>Ug(e,t,f,c,i,"data"),[e,t,f,c,i]),v=k.useMemo(()=>Ug(e,t,f,c,i,"assets"),[e,t,f,c,i]),y=k.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let P=new Set,S=!1;if(t.forEach(j=>{let I=c.routes[j.route.id];!I||!I.hasLoader||(!g.some(D=>D.route.id===j.route.id)&&j.route.id in p&&u[j.route.id]?.shouldRevalidate||I.hasClientLoader?S=!0:P.add(j.route.id))}),P.size===0)return[];let N=uk(e,d,s.v8_trailingSlashAwareDataRequests,"data");return S&&P.size>0&&N.searchParams.set("_routes",t.filter(j=>P.has(j.route.id)).map(j=>j.route.id).join(",")),[N.pathname+N.search]},[d,s.v8_trailingSlashAwareDataRequests,p,i,c,g,t,e,u]),_=k.useMemo(()=>iP(v,c),[v,c]),w=hP(v);return k.createElement(k.Fragment,null,y.map(P=>k.createElement("link",{key:P,rel:"prefetch",as:"fetch",href:P,...a})),_.map(P=>k.createElement("link",{key:P,rel:"modulepreload",href:P,...a})),w.map(({key:P,link:S})=>k.createElement("link",{key:P,nonce:a.nonce,...S,crossOrigin:S.crossOrigin??a.crossOrigin})))}function mP(...e){return t=>{e.forEach(a=>{typeof a=="function"?a(t):a!=null&&(a.current=t)})}}var gP=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{gP&&(window.__reactRouterVersion="7.17.0")}catch{}function vP(e,t){return Y1({basename:t?.basename,getContext:t?.getContext,future:t?.future,history:c1({window:t?.window}),hydrationData:yP(),routes:e,mapRouteProperties:Ux,hydrationRouteProperties:Bx,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation,window:t?.window,instrumentations:t?.instrumentations}).initialize()}function yP(){let e=window?.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:kP(e.errors)}),e}function kP(e){if(!e)return null;let t=Object.entries(e),a={};for(let[i,s]of t)if(s&&s.__type==="RouteErrorResponse")a[i]=new qo(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let c=window[s.__subType];if(typeof c=="function")try{let u=new c(s.message);u.stack="",a[i]=u}catch{}}if(a[i]==null){let c=new Error(s.message);c.stack="",a[i]=c}}else a[i]=s;return a}var dk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dc=k.forwardRef(function({onClick:t,discover:a="render",prefetch:i="none",relative:s,reloadDocument:c,replace:u,mask:d,state:p,target:f,to:g,preventScrollReset:v,viewTransition:y,defaultShouldRevalidate:_,...w},P){let{basename:S,navigator:N,useTransitions:j}=k.useContext(En),I=typeof g=="string"&&dk.test(g),D=Uy(g,S);g=D.to;let B=Px(g,{relative:s}),Z=Hn(),oe=null;if(d){let ie=lc(d,[],Z.mask?Z.mask.pathname:"/",!0);S!=="/"&&(ie.pathname=ie.pathname==="/"?S:Pn([S,ie.pathname])),oe=N.createHref(ie)}let[x,ee,Y]=uP(i,w),ue=xP(g,{replace:u,mask:d,state:p,target:f,preventScrollReset:v,relative:s,viewTransition:y,defaultShouldRevalidate:_,useTransitions:j});function se(ie){t&&t(ie),ie.defaultPrevented||ue(ie)}let q=!(D.isExternal||c),ae=k.createElement("a",{...w,...Y,href:(q?oe:void 0)||D.absoluteURL||B,onClick:q?se:t,ref:mP(P,ee),target:f,"data-discover":!I&&a==="render"?"true":void 0});return x&&!I?k.createElement(k.Fragment,null,ae,k.createElement(dP,{page:B})):ae});dc.displayName="Link";var bP=k.forwardRef(function({"aria-current":t="page",caseSensitive:a=!1,className:i="",end:s=!1,style:c,to:u,viewTransition:d,children:p,...f},g){let v=ts(u,{relative:f.relative}),y=Hn(),_=k.useContext(Jo),{navigator:w,basename:P}=k.useContext(En),S=_!=null&&EP(v)&&d===!0,N=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,j=y.pathname,I=_&&_.navigation&&_.navigation.location?_.navigation.location.pathname:null;a||(j=j.toLowerCase(),I=I?I.toLowerCase():null,N=N.toLowerCase()),I&&P&&(I=Cn(I,P)||I);const D=N!=="/"&&N.endsWith("/")?N.length-1:N.length;let B=j===N||!s&&j.startsWith(N)&&j.charAt(D)==="/",Z=I!=null&&(I===N||!s&&I.startsWith(N)&&I.charAt(N.length)==="/"),oe={isActive:B,isPending:Z,isTransitioning:S},x=B?t:void 0,ee;typeof i=="function"?ee=i(oe):ee=[i,B?"active":null,Z?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");let Y=typeof c=="function"?c(oe):c;return k.createElement(dc,{...f,"aria-current":x,className:ee,ref:g,style:Y,to:u,viewTransition:d},typeof p=="function"?p(oe):p)});bP.displayName="NavLink";var _P=k.forwardRef(({discover:e="render",fetcherKey:t,navigate:a,reloadDocument:i,replace:s,state:c,method:u=Il,action:d,onSubmit:p,relative:f,preventScrollReset:g,viewTransition:v,defaultShouldRevalidate:y,..._},w)=>{let{useTransitions:P}=k.useContext(En),S=CP(),N=TP(d,{relative:f}),j=u.toLowerCase()==="get"?"get":"post",I=typeof d=="string"&&dk.test(d),D=B=>{if(p&&p(B),B.defaultPrevented)return;B.preventDefault();let Z=B.nativeEvent.submitter,oe=Z?.getAttribute("formmethod")||u,x=()=>S(Z||B.currentTarget,{fetcherKey:t,method:oe,navigate:a,replace:s,state:c,relative:f,preventScrollReset:g,viewTransition:v,defaultShouldRevalidate:y});P&&a!==!1?k.startTransition(()=>x()):x()};return k.createElement("form",{ref:w,method:j,action:N,onSubmit:i?p:D,..._,"data-discover":!I&&e==="render"?"true":void 0})});_P.displayName="Form";function wP(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function hk(e){let t=k.useContext(Va);return ze(t,wP(e)),t}function xP(e,{target:t,replace:a,mask:i,state:s,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:p,useTransitions:f}={}){let g=sk(),v=Hn(),y=ts(e,{relative:u});return k.useCallback(_=>{if(Qx(_,t)){_.preventDefault();let w=a!==void 0?a:rr(v)===rr(y),P=()=>g(e,{replace:w,mask:i,state:s,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:p});f?k.startTransition(()=>P()):P()}},[v,g,y,a,i,s,t,e,c,u,d,p,f])}var PP=0,SP=()=>`__${String(++PP)}__`;function CP(){let{router:e}=hk("useSubmit"),{basename:t}=k.useContext(En),a=Nx(),i=e.fetch,s=e.navigate;return k.useCallback(async(c,u={})=>{let{action:d,method:p,encType:f,formData:g,body:v}=tP(c,t);if(u.navigate===!1){let y=u.fetcherKey||SP();await i(y,a,u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:g,body:v,formMethod:u.method||p,formEncType:u.encType||f,flushSync:u.flushSync})}else await s(u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:g,body:v,formMethod:u.method||p,formEncType:u.encType||f,replace:u.replace,state:u.state,fromRouteId:a,flushSync:u.flushSync,viewTransition:u.viewTransition})},[i,s,t,a])}function TP(e,{relative:t}={}){let{basename:a}=k.useContext(En),i=k.useContext(br);ze(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),c={...ts(e||".",{relative:t})},u=Hn();if(e==null){c.search=u.search;let d=new URLSearchParams(c.search),p=d.getAll("index");if(p.some(g=>g==="")){d.delete("index"),p.filter(v=>v).forEach(v=>d.append("index",v));let g=d.toString();c.search=g?`?${g}`:""}}return(!e||e===".")&&s.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(c.pathname=c.pathname==="/"?a:Pn([a,c.pathname])),rr(c)}function EP(e,{relative:t}={}){let a=k.useContext(Mh);ze(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=hk("useViewTransitionState"),s=ts(e,{relative:t});if(!a.isTransitioning)return!1;let c=Cn(a.currentLocation.pathname,i)||a.currentLocation.pathname,u=Cn(a.nextLocation.pathname,i)||a.nextLocation.pathname;return Bl(s.pathname,u)!=null||Bl(s.pathname,c)!=null}var Fa=Iy();function RP(e){return k.createElement(Wx,{flushSync:Fa.flushSync,...e})}const DP=`key,module,page,component,slot,text,notes,status
|
|
13
|
+
shared.placeholder.short,shared,*,*,placeholder_short,--,,active
|
|
14
|
+
shared.unit.percent,shared,*,*,unit_percent,%,,active
|
|
15
|
+
shared.unit.thousand_abbrev,shared,*,*,unit_thousand_abbrev,K,,active
|
|
16
|
+
shared.unit.million_abbrev,shared,*,*,unit_million_abbrev,M,,active
|
|
17
|
+
shared.unit.billion_abbrev,shared,*,*,unit_billion_abbrev,B,,active
|
|
18
|
+
shared.data_source,shared,*,*,label,Data source: {{source}},,active
|
|
19
|
+
shared.error.prefix,shared,*,*,label,Error: {{error}},,active
|
|
20
|
+
shared.status.unsynced,shared,*,*,status,—,,active
|
|
21
|
+
error.boundary.title,shared,*,ErrorBoundary,title,Something went wrong,,active
|
|
22
|
+
error.boundary.subtitle,shared,*,ErrorBoundary,subtitle,This view failed to render,,active
|
|
23
|
+
error.boundary.hint,shared,*,ErrorBoundary,hint,"Open the console, then reload the page",,active
|
|
24
|
+
error.boundary.no_details,shared,*,ErrorBoundary,details,No error details,,active
|
|
25
|
+
error.boundary.action.reload,shared,*,ErrorBoundary,action_reload,Reload,,active
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
identity_card.rank_label,ui,IdentityCard,IdentityCard,rank_label,Started,,active
|
|
38
|
+
identity_card.streak_label,ui,IdentityCard,IdentityCard,streak_label,Active days,,active
|
|
39
|
+
identity_card.rank_placeholder,ui,IdentityCard,IdentityCard,rank_placeholder,—,,active
|
|
40
|
+
identity_card.streak_value,ui,IdentityCard,IdentityCard,streak_value,{{days}} DAY,,active
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
dashboard.core_index.collapse_label,dashboard,DashboardPage,UsagePanel,toggle,▾,,active
|
|
44
|
+
dashboard.core_index.expand_label,dashboard,DashboardPage,UsagePanel,toggle,▸,,active
|
|
45
|
+
dashboard.core_index.collapse_aria,dashboard,DashboardPage,UsagePanel,toggle_aria,Collapse model breakdown,,active
|
|
46
|
+
dashboard.core_index.expand_aria,dashboard,DashboardPage,UsagePanel,toggle_aria,Expand model breakdown,,active
|
|
47
|
+
usage.summary.total,ui,UsagePanel,UsagePanel,summary_label_total,Total tokens,,active
|
|
48
|
+
usage.summary.updated_at,ui,UsagePanel,UsagePanel,summary_updated_at,Updated {{timestamp}},,active
|
|
49
|
+
usage.metric.total,ui,UsagePanel,UsagePanel,metric_total,Total,,active
|
|
50
|
+
usage.metric.input,ui,UsagePanel,UsagePanel,metric_input,Input,,active
|
|
51
|
+
usage.metric.output,ui,UsagePanel,UsagePanel,metric_output,Output,,active
|
|
52
|
+
usage.metric.cached_input,ui,UsagePanel,UsagePanel,metric_cached_input,Cached input,,active
|
|
53
|
+
usage.metric.reasoning_output,ui,UsagePanel,UsagePanel,metric_reasoning_output,Reasoning output,,active
|
|
54
|
+
usage.button.refresh,ui,UsagePanel,UsagePanel,button_refresh,Refresh,,active
|
|
55
|
+
|
|
56
|
+
dashboard.rolling.title,ui,RollingUsagePanel,RollingUsagePanel,title,Recent Activity,,active
|
|
57
|
+
dashboard.rolling.last_7d,ui,RollingUsagePanel,RollingUsagePanel,label_last_7d,Last 7 days,,active
|
|
58
|
+
dashboard.rolling.last_30d,ui,RollingUsagePanel,RollingUsagePanel,label_last_30d,Last 30 days,,active
|
|
59
|
+
dashboard.rolling.avg_active_day,ui,RollingUsagePanel,RollingUsagePanel,label_avg_active_day,Daily average,,active
|
|
60
|
+
|
|
61
|
+
dashboard.projects.title,ui,ProjectUsagePanel,ProjectUsagePanel,title,Project Usage,,active
|
|
62
|
+
dashboard.projects.tokens_label,ui,ProjectUsagePanel,ProjectUsagePanel,tokens_label,Tokens,,active
|
|
63
|
+
dashboard.projects.stars_label,ui,ProjectUsagePanel,ProjectUsagePanel,stars_label,STAR,,active
|
|
64
|
+
dashboard.projects.limit_label,ui,ProjectUsagePanel,ProjectUsagePanel,limit_label,Show,,active
|
|
65
|
+
dashboard.projects.limit_aria,ui,ProjectUsagePanel,ProjectUsagePanel,limit_aria,Select repository limit,,active
|
|
66
|
+
dashboard.projects.limit_top_3,ui,ProjectUsagePanel,ProjectUsagePanel,limit_top_3,TOP 3,,active
|
|
67
|
+
dashboard.projects.limit_top_6,ui,ProjectUsagePanel,ProjectUsagePanel,limit_top_6,TOP 6,,active
|
|
68
|
+
dashboard.projects.limit_top_10,ui,ProjectUsagePanel,ProjectUsagePanel,limit_top_10,TOP 10,,active
|
|
69
|
+
dashboard.projects.empty,ui,ProjectUsagePanel,ProjectUsagePanel,empty,No public repositories,,active
|
|
70
|
+
dashboard.widgets.title,dashboard,DashboardPage,WidgetOnboardingCard,title,Desktop Widgets,,active
|
|
71
|
+
dashboard.widgets.hint,dashboard,DashboardPage,WidgetOnboardingCard,hint,"Right-click your desktop → Edit Widgets → search ""TokenTracker""",,active
|
|
72
|
+
dashboard.widgets.dismiss_aria,dashboard,DashboardPage,WidgetOnboardingCard,dismiss_aria,Dismiss widget intro,,active
|
|
73
|
+
widgets.page.title,dashboard,WidgetsPage,WidgetsPage,title,Widgets,,active
|
|
74
|
+
widgets.cta.open_gallery,dashboard,WidgetsPage,WidgetsPage,cta_open_gallery,Open Widget Gallery,,active
|
|
75
|
+
widgets.cta.download,dashboard,WidgetsPage,WidgetsPage,cta_download,Download Mac App,,active
|
|
76
|
+
widgets.cta.macos_only,dashboard,WidgetsPage,WidgetsPage,cta_macos_only,macOS only,,active
|
|
77
|
+
widgets.menubar.section.title,dashboard,WidgetsPage,WidgetsPage,menubar_section_title,Menu Bar,,active
|
|
78
|
+
widgets.gallery.section.title,dashboard,WidgetsPage,WidgetsPage,gallery_section_title,Desktop Widgets,,active
|
|
79
|
+
widgets.summary.name,dashboard,WidgetsPage,WidgetsPage,summary_name,Usage Summary,,active
|
|
80
|
+
widgets.summary.description,dashboard,WidgetsPage,WidgetsPage,summary_desc,Today and seven-day usage with a compact sparkline.,,active
|
|
81
|
+
widgets.heatmap.name,dashboard,WidgetsPage,WidgetsPage,heatmap_name,Activity Heatmap,,active
|
|
82
|
+
widgets.heatmap.description,dashboard,WidgetsPage,WidgetsPage,heatmap_desc,GitHub-style daily calendar. Spot streaks and quiet days at a glance.,,active
|
|
83
|
+
widgets.topModels.name,dashboard,WidgetsPage,WidgetsPage,topmodels_name,Top Models,,active
|
|
84
|
+
widgets.topModels.description,dashboard,WidgetsPage,WidgetsPage,topmodels_desc,Your heaviest-used models ranked by token share.,,active
|
|
85
|
+
widgets.limits.name,dashboard,WidgetsPage,WidgetsPage,limits_name,Usage Limits,,active
|
|
86
|
+
widgets.limits.description,dashboard,WidgetsPage,WidgetsPage,limits_desc,"Live rate-limit progress for Claude, Codex, Cursor, Gemini and more.",,active
|
|
87
|
+
dashboard.cost_breakdown.title,ui,CostAnalysisModal,CostAnalysisModal,title,Cost Breakdown,,active
|
|
88
|
+
dashboard.cost_breakdown.total_label,ui,CostAnalysisModal,CostAnalysisModal,total_label,Estimated Total Cost,,active
|
|
89
|
+
dashboard.cost_breakdown.close,ui,CostAnalysisModal,CostAnalysisModal,close_label,Close,,active
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
trend.monitor.label,ui,TrendMonitor,TrendMonitor,label,Usage Trend,,active
|
|
93
|
+
trend.zoom.open_aria,ui,TrendMonitor,TrendMonitor,zoom_open_aria,Expand to full screen,,active
|
|
94
|
+
trend.zoom.close_aria,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_close_aria,Close,,active
|
|
95
|
+
trend.zoom.badge,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_badge,Trend Insight,,active
|
|
96
|
+
trend.zoom.desc,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_desc,"Hover any bar to inspect tokens, cost and conversations. Switch granularity to drill from months down to half-hours.",,active
|
|
97
|
+
trend.zoom.insight_badge,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_insight_badge,Insight,,active
|
|
98
|
+
trend.zoom.tooltip.cost,ui,TrendMonitor,TrendMonitor,zoom_tooltip_cost,cost,,active
|
|
99
|
+
trend.zoom.tooltip.conversations,ui,TrendMonitor,TrendMonitor,zoom_tooltip_conversations,conversations,,active
|
|
100
|
+
trend.zoom.stats.tokens,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_stats_tokens,Total Tokens,,active
|
|
101
|
+
trend.zoom.stats.cost,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_stats_cost,Total Cost,,active
|
|
102
|
+
trend.zoom.stats.conversations,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_stats_conversations,Conversations,,active
|
|
103
|
+
trend.zoom.stats.peak,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_stats_peak,Peak Bucket,,active
|
|
104
|
+
trend.zoom.gran.aria,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_gran_aria,Granularity,,active
|
|
105
|
+
trend.zoom.gran.30min,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_gran_30min,30 min,,active
|
|
106
|
+
trend.zoom.gran.day,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_gran_day,Day,,active
|
|
107
|
+
trend.zoom.gran.month,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_gran_month,Month,,active
|
|
108
|
+
trend.zoom.prev_day,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_prev_day,Previous day,,active
|
|
109
|
+
trend.zoom.next_day,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_next_day,Next day,,active
|
|
110
|
+
trend.zoom.loading,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_loading,Loading…,,active
|
|
111
|
+
trend.zoom.pick_day,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_pick_day,Pick a day,,active
|
|
112
|
+
trend.zoom.pick_range,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_pick_range,Pick a date range,,active
|
|
113
|
+
trend.zoom.insight.empty,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_insight_empty,A quiet stretch. Not a single token crossed the wire.,,active
|
|
114
|
+
trend.zoom.insight.calm,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_insight_calm,"Light touch. The model mostly sat on standby, waking only when you reached for it.",,active
|
|
115
|
+
trend.zoom.insight.steady,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_insight_steady,"A steady rhythm across {{active}} active stretches, cresting at {{peak}}. The kind of pace that ships things without drama.",,active
|
|
116
|
+
trend.zoom.insight.heavy,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_insight_heavy,"Heavy lifting: {{active}} stretches running hot, peaking at {{peak}}. This is output from someone who manufactures momentum instead of waiting for it.",,active
|
|
117
|
+
trend.zoom.insight.massive,ui,TrendMonitorZoomModal,TrendMonitorZoomModal,zoom_insight_massive,"Industrial scale. A {{peak}} peak and throughput that never cools. At this volume you are not using the model, you are running a foundry.",,active
|
|
118
|
+
|
|
119
|
+
heatmap.title,ui,ActivityHeatmap,ActivityHeatmap,title,Activity Heatmap,,active
|
|
120
|
+
heatmap.empty,ui,ActivityHeatmap,ActivityHeatmap,empty_state,No activity data yet.,,active
|
|
121
|
+
heatmap.legend.less,ui,ActivityHeatmap,ActivityHeatmap,legend_less,Less,,active
|
|
122
|
+
heatmap.legend.more,ui,ActivityHeatmap,ActivityHeatmap,legend_more,More,,active
|
|
123
|
+
heatmap.legend.utc,ui,ActivityHeatmap,ActivityHeatmap,legend_utc,UTC,,active
|
|
124
|
+
heatmap.tooltip,ui,ActivityHeatmap,ActivityHeatmap,tooltip,{{day}} • {{value}} {{unit}} • {{tz}},,active
|
|
125
|
+
heatmap.unit.tokens,ui,ActivityHeatmap,ActivityHeatmap,unit_tokens,tokens,,active
|
|
126
|
+
heatmap.iso.aria,ui,ActivityHeatmap,ActivityHeatmap3D,iso_aria,3D isometric activity heatmap,,active
|
|
127
|
+
heatmap.view.2d,ui,ActivityHeatmap,ActivityHeatmap,view_2d,2D,,active
|
|
128
|
+
heatmap.view.3d,ui,ActivityHeatmap,ActivityHeatmap,view_3d,3D,,active
|
|
129
|
+
heatmap.month.jan,ui,ActivityHeatmap,ActivityHeatmap,month_label,Jan,,active
|
|
130
|
+
heatmap.month.feb,ui,ActivityHeatmap,ActivityHeatmap,month_label,Feb,,active
|
|
131
|
+
heatmap.month.mar,ui,ActivityHeatmap,ActivityHeatmap,month_label,Mar,,active
|
|
132
|
+
heatmap.month.apr,ui,ActivityHeatmap,ActivityHeatmap,month_label,Apr,,active
|
|
133
|
+
heatmap.month.may,ui,ActivityHeatmap,ActivityHeatmap,month_label,May,,active
|
|
134
|
+
heatmap.month.jun,ui,ActivityHeatmap,ActivityHeatmap,month_label,Jun,,active
|
|
135
|
+
heatmap.month.jul,ui,ActivityHeatmap,ActivityHeatmap,month_label,Jul,,active
|
|
136
|
+
heatmap.month.aug,ui,ActivityHeatmap,ActivityHeatmap,month_label,Aug,,active
|
|
137
|
+
heatmap.month.sep,ui,ActivityHeatmap,ActivityHeatmap,month_label,Sep,,active
|
|
138
|
+
heatmap.month.oct,ui,ActivityHeatmap,ActivityHeatmap,month_label,Oct,,active
|
|
139
|
+
heatmap.month.nov,ui,ActivityHeatmap,ActivityHeatmap,month_label,Nov,,active
|
|
140
|
+
heatmap.month.dec,ui,ActivityHeatmap,ActivityHeatmap,month_label,Dec,,active
|
|
141
|
+
heatmap.day.sun,ui,ActivityHeatmap,ActivityHeatmap,day_label,Sun,,active
|
|
142
|
+
heatmap.day.mon,ui,ActivityHeatmap,ActivityHeatmap,day_label,Mon,,active
|
|
143
|
+
heatmap.day.tue,ui,ActivityHeatmap,ActivityHeatmap,day_label,Tue,,active
|
|
144
|
+
heatmap.day.wed,ui,ActivityHeatmap,ActivityHeatmap,day_label,Wed,,active
|
|
145
|
+
heatmap.day.thu,ui,ActivityHeatmap,ActivityHeatmap,day_label,Thu,,active
|
|
146
|
+
heatmap.day.fri,ui,ActivityHeatmap,ActivityHeatmap,day_label,Fri,,active
|
|
147
|
+
heatmap.day.sat,ui,ActivityHeatmap,ActivityHeatmap,day_label,Sat,,active
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
daily.sort.date.label,dashboard,DashboardPage,DailyTable,sort_label,Date,,active
|
|
153
|
+
daily.sort.date.title,dashboard,DashboardPage,DailyTable,sort_title,Sort by Date,,active
|
|
154
|
+
daily.sort.total.label,dashboard,DashboardPage,DailyTable,sort_label,Total,,active
|
|
155
|
+
daily.sort.total.title,dashboard,DashboardPage,DailyTable,sort_title,Sort by Total,,active
|
|
156
|
+
daily.sort.input.label,dashboard,DashboardPage,DailyTable,sort_label,Input,,active
|
|
157
|
+
daily.sort.input.title,dashboard,DashboardPage,DailyTable,sort_title,Sort by Input,,active
|
|
158
|
+
daily.sort.output.label,dashboard,DashboardPage,DailyTable,sort_label,Output,,active
|
|
159
|
+
daily.sort.output.title,dashboard,DashboardPage,DailyTable,sort_title,Sort by Output,,active
|
|
160
|
+
daily.sort.cached.label,dashboard,DashboardPage,DailyTable,sort_label,Cached,,active
|
|
161
|
+
daily.sort.cached.title,dashboard,DashboardPage,DailyTable,sort_title,Sort by Cached input,,active
|
|
162
|
+
daily.sort.reasoning.label,dashboard,DashboardPage,DailyTable,sort_label,Reasoning,,active
|
|
163
|
+
daily.sort.reasoning.title,dashboard,DashboardPage,DailyTable,sort_title,Sort by Reasoning output,,active
|
|
164
|
+
daily.sort.conversations.label,dashboard,DashboardPage,DailyTable,sort_label,Convs,,active
|
|
165
|
+
daily.sort.conversations.title,dashboard,DashboardPage,DailyTable,sort_title,Sort by Conversations,,active
|
|
166
|
+
daily.sort.cost.label,dashboard,DashboardPage,DailyTable,sort_label,Cost,,active
|
|
167
|
+
daily.sort.cost.title,dashboard,DashboardPage,DailyTable,sort_title,Sort by Cost,,active
|
|
168
|
+
daily.sort.cost_per_mtok.label,dashboard,DashboardPage,DailyTable,sort_label,$/MTok,,active
|
|
169
|
+
daily.sort.cost_per_mtok.title,dashboard,DashboardPage,DailyTable,sort_title,Sort by Cost per million tokens,,active
|
|
170
|
+
daily.sort.top_model.label,dashboard,DashboardPage,DailyTable,sort_label,Top model,,active
|
|
171
|
+
daily.sort.top_model.title,dashboard,DashboardPage,DailyTable,sort_title,Sort by Top model,,active
|
|
172
|
+
details.pagination.prev,dashboard,DashboardPage,DailyTable,pagination_prev,Prev,,active
|
|
173
|
+
details.pagination.next,dashboard,DashboardPage,DailyTable,pagination_next,Next,,active
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
limits.copilot.otelHint.title,dashboard,LimitsPage,LimitsPage,otel_hint_title,Track Copilot token usage,,active
|
|
183
|
+
limits.copilot.otelHint.body,dashboard,LimitsPage,LimitsPage,otel_hint_body,"Limits load via your GitHub OAuth token. To also record per-token usage, enable Copilot's OpenTelemetry export and add these lines to your shell profile (~/.zshrc or ~/.bashrc):",,active
|
|
184
|
+
limits.copilot.otelHint.copy,dashboard,LimitsPage,LimitsPage,otel_hint_copy,Copy,,active
|
|
185
|
+
limits.copilot.otelHint.copied,dashboard,LimitsPage,LimitsPage,otel_hint_copied,Copied,,active
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
dashboard.session_expired.copy_label,dashboard,DashboardPage,AsciiBox,body,run npx --yes @ipv9/tokentracker-cli init,,active
|
|
193
|
+
dashboard.session_expired.copied,dashboard,DashboardPage,AsciiBox,body,copied,,active
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
dashboard.install.prompt,dashboard,DashboardPage,AsciiBox,install_prompt,Install Node.js 18+ then run:,,active
|
|
197
|
+
dashboard.install.cmd.init,dashboard,DashboardPage,AsciiBox,install_cmd,npx --yes @ipv9/tokentracker-cli init,,active
|
|
198
|
+
dashboard.install.cmd.init_link_code,dashboard,DashboardPage,AsciiBox,install_cmd,npx --yes @ipv9/tokentracker-cli init --link-code {{link_code}},,active
|
|
199
|
+
dashboard.install.copy,dashboard,DashboardPage,AsciiBox,install_copy,Copy install command,,active
|
|
200
|
+
dashboard.install.copy_base,dashboard,DashboardPage,AsciiBox,install_copy,Copy init command,,active
|
|
201
|
+
dashboard.install.copied,dashboard,DashboardPage,AsciiBox,install_copy,Copied to clipboard,,active
|
|
202
|
+
dashboard.install.link_code.loading,dashboard,DashboardPage,AsciiBox,install_status,Generating private code...,,active
|
|
203
|
+
dashboard.install.link_code.failed,dashboard,DashboardPage,AsciiBox,install_status,Private code unavailable,,active
|
|
204
|
+
dashboard.install.cmd.sync,dashboard,DashboardPage,AsciiBox,install_cmd,npx --yes @ipv9/tokentracker-cli sync,,active
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
dashboard.daily.title,dashboard,DashboardPage,AsciiBox,title,Daily Breakdown,,active
|
|
209
|
+
dashboard.daily.empty,dashboard,DashboardPage,AsciiBox,empty_state,No data yet. Use your AI CLI then run {{cmd}}.,,active
|
|
210
|
+
dashboard.data_health.day_empty_has_recent,dashboard,DashboardPage,DashboardView,data_health_day_recent,No tokens in today's local day. Last 7 days has {{tokens}} tokens; switch to 7d or 30d to review recent usage.,,active
|
|
211
|
+
dashboard.data_health.period_empty_has_30d,dashboard,DashboardPage,DashboardView,data_health_period_30d,No tokens in this range. Last 30 days has {{tokens}} tokens; widen the range to review recent usage.,,active
|
|
212
|
+
dashboard.data_health.month_empty_has_30d,dashboard,DashboardPage,DashboardView,data_health_month_30d,No tokens in this calendar month yet. Last 30 days has {{tokens}} tokens.,,active
|
|
213
|
+
dashboard.data_health.no_recent_data,dashboard,DashboardPage,DashboardView,data_health_no_recent,No recent token data found. Run sync or check status to confirm readable tool logs.,,active
|
|
214
|
+
|
|
215
|
+
dashboard.identity.title,dashboard,DashboardPage,IdentityCard,title,Your Profile,,active
|
|
216
|
+
dashboard.identity.subtitle,dashboard,DashboardPage,IdentityCard,subtitle,Track your coding journey,,active
|
|
217
|
+
dashboard.identity.fallback,dashboard,DashboardPage,IdentityCard,handle_fallback,Anonymous,,active
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
dashboard.screenshot.title_line1,dashboard,DashboardPage,ScreenshotTitle,title_line,Coding Agent,,active
|
|
221
|
+
dashboard.screenshot.title_line2,dashboard,DashboardPage,ScreenshotTitle,title_line,2025 Wrapped,,active
|
|
222
|
+
|
|
223
|
+
nav.usage,shared,*,Sidebar,nav_usage,Tokens,,active
|
|
224
|
+
nav.limits,shared,*,Sidebar,nav_limits,Limits,,active
|
|
225
|
+
nav.widgets,shared,*,Sidebar,nav_widgets,macOS Widgets,,active
|
|
226
|
+
nav.collapse,shared,*,Sidebar,nav_collapse,Collapse sidebar,,active
|
|
227
|
+
nav.expand,shared,*,Sidebar,nav_expand,Expand sidebar,,active
|
|
228
|
+
nav.menu,shared,*,Sidebar,nav_menu,Open navigation menu,,active
|
|
229
|
+
nav.close_menu,shared,*,Sidebar,nav_close_menu,Close navigation menu,,active
|
|
230
|
+
nav.aside_label,shared,*,Sidebar,aside_label,Main navigation,,active
|
|
231
|
+
nav.nav_label,shared,*,Sidebar,nav_label,Primary,,active
|
|
232
|
+
nav.version,shared,*,Sidebar,version,Token Tracker version {{version}},,active
|
|
233
|
+
limits.page.subtitle,ui,LimitsPage,LimitsPage,subtitle,Rate limits and quota usage across your AI tools.,,active
|
|
234
|
+
limits.settings.toggle_visible,ui,LimitsPage,LimitsSettingsPanel,toggle_visible,Toggle visibility,,active
|
|
235
|
+
limits.settings.display_mode_label,ui,LimitsPage,LimitsSettingsPanel,display_mode_label,Usage,,active
|
|
236
|
+
limits.settings.display_mode_used,ui,LimitsPage,LimitsSettingsPanel,display_mode_used,Used,,active
|
|
237
|
+
limits.settings.display_mode_remaining,ui,LimitsPage,LimitsSettingsPanel,display_mode_remaining,Remaining,,active
|
|
238
|
+
limits.page.openSettings,ui,LimitsPage,LimitsPage,open_settings,Display settings,,active
|
|
239
|
+
nav.group.general,shared,*,Sidebar,group_general,General,,active
|
|
240
|
+
nav.group.tools,shared,*,Sidebar,group_tools,Tools,,active
|
|
241
|
+
nav.group.account,shared,*,Sidebar,group_account,Account,,active
|
|
242
|
+
nav.settings,shared,*,Sidebar,nav_settings,Settings,,active
|
|
243
|
+
settings.page.title,ui,SettingsPage,SettingsPage,title,Settings,,active
|
|
244
|
+
settings.page.subtitle,ui,SettingsPage,SettingsPage,subtitle,Manage appearance and display preferences.,,active
|
|
245
|
+
settings.section.appearance,ui,SettingsPage,SettingsPage,sec_appearance,Appearance,,active
|
|
246
|
+
settings.section.account,ui,SettingsPage,SettingsPage,sec_account,Account,,active
|
|
247
|
+
settings.section.limits,ui,SettingsPage,SettingsPage,sec_limits,Limits Display,,active
|
|
248
|
+
settings.appearance.theme.label,ui,SettingsPage,SettingsPage,theme_label,Theme,,active
|
|
249
|
+
settings.appearance.theme.hint,ui,SettingsPage,SettingsPage,theme_hint,Choose how Token Tracker looks across the dashboard.,,active
|
|
250
|
+
settings.appearance.theme.light,ui,SettingsPage,SettingsPage,theme_light,Light,,active
|
|
251
|
+
settings.appearance.theme.dark,ui,SettingsPage,SettingsPage,theme_dark,Dark,,active
|
|
252
|
+
settings.appearance.theme.system,ui,SettingsPage,SettingsPage,theme_system,System,,active
|
|
253
|
+
settings.appearance.currency.label,ui,SettingsPage,SettingsPage,currency_label,Currency,,active
|
|
254
|
+
settings.appearance.currency.hint,ui,SettingsPage,SettingsPage,currency_hint,Select the display currency for usage costs.,,active
|
|
255
|
+
settings.appearance.currency.opt.usd,ui,SettingsPage,SettingsPage,currency_opt_usd,USD ($),,active
|
|
256
|
+
settings.appearance.currency.opt.eur,ui,SettingsPage,SettingsPage,currency_opt_eur,EUR (€),,active
|
|
257
|
+
settings.appearance.currency.opt.gbp,ui,SettingsPage,SettingsPage,currency_opt_gbp,GBP (£),,active
|
|
258
|
+
settings.appearance.currency.opt.cny,ui,SettingsPage,SettingsPage,currency_opt_cny,CNY (¥),,active
|
|
259
|
+
settings.appearance.currency.opt.jpy,ui,SettingsPage,SettingsPage,currency_opt_jpy,JPY (¥),,active
|
|
260
|
+
settings.appearance.currency.opt.hkd,ui,SettingsPage,SettingsPage,currency_opt_hkd,HKD (HK$),,active
|
|
261
|
+
settings.appearance.currency.rate_source.default,ui,SettingsPage,SettingsPage,rate_source_default,Bundled default rate,,active
|
|
262
|
+
settings.appearance.currency.rate_source.fetched,ui,SettingsPage,SettingsPage,rate_source_fetched,Source: open.er-api.com,,active
|
|
263
|
+
settings.appearance.currency.rate_updated,ui,SettingsPage,SettingsPage,rate_updated,updated {{when}},,active
|
|
264
|
+
settings.appearance.currency.rate_never,ui,SettingsPage,SettingsPage,rate_never,awaiting first refresh,,active
|
|
265
|
+
stats.period.today,ui,DashboardPage,StatsPanel,period_today,today convs,,active
|
|
266
|
+
stats.period.last24h,ui,DashboardPage,StatsPanel,period_last24h,24h convs,,active
|
|
267
|
+
stats.period.week,ui,DashboardPage,StatsPanel,period_week,7d convs,,active
|
|
268
|
+
stats.period.month,ui,DashboardPage,StatsPanel,period_month,30d convs,,active
|
|
269
|
+
stats.period.this_month,ui,DashboardPage,StatsPanel,period_this_month,month,,active
|
|
270
|
+
stats.period.all,ui,DashboardPage,StatsPanel,period_all,all convs,,active
|
|
271
|
+
stats.period.convs,ui,DashboardPage,StatsPanel,period_convs,convs,,active
|
|
272
|
+
settings.section.menubar,ui,SettingsPage,SettingsPage,sec_menubar,Menu Bar App,,active
|
|
273
|
+
settings.menubar.showStats,ui,SettingsPage,SettingsPage,mb_show_stats,Show stats in menu bar,,active
|
|
274
|
+
settings.menubar.showStatsHint,ui,SettingsPage,SettingsPage,mb_show_stats_hint,Display today's token count and cost beside the menu bar icon.,,active
|
|
275
|
+
settings.menubar.animatedIcon,ui,SettingsPage,SettingsPage,mb_anim,Animated icon,,active
|
|
276
|
+
settings.menubar.animatedIconHint,ui,SettingsPage,SettingsPage,mb_anim_hint,Blink the Clawd character and play the syncing animation in the menu bar.,,active
|
|
277
|
+
settings.menubar.launchAtLogin,ui,SettingsPage,SettingsPage,mb_login,Launch at login,,active
|
|
278
|
+
settings.menubar.launchAtLoginHint,ui,SettingsPage,SettingsPage,mb_login_hint,Start TokenTrackerBar automatically when you sign in to macOS.,,active
|
|
279
|
+
settings.menubar.syncNow,ui,SettingsPage,SettingsPage,mb_sync_now,Sync now,,active
|
|
280
|
+
settings.menubar.syncNowHint,ui,SettingsPage,SettingsPage,mb_sync_now_hint,Trigger an immediate parse and upload of local AI tool logs.,,active
|
|
281
|
+
settings.menubar.syncing,ui,SettingsPage,SettingsPage,mb_syncing,Syncing…,,active
|
|
282
|
+
settings.menubar.updates,ui,SettingsPage,SettingsPage,mb_updates,Updates,,active
|
|
283
|
+
settings.menubar.checkUpdates,ui,SettingsPage,SettingsPage,mb_check_updates,Check for updates,,active
|
|
284
|
+
menubar.slot.primary,ui,WidgetsPage,MenuBarDisplayCard,slot_primary,Primary slot,,active
|
|
285
|
+
menubar.slot.secondary,ui,WidgetsPage,MenuBarDisplayCard,slot_secondary,Secondary slot,,active
|
|
286
|
+
menubar.native_only,ui,WidgetsPage,MenuBarDisplayCard,native_only,Open TokenTrackerBar for macOS to edit the live menu bar display.,,active
|
|
287
|
+
menubar.metric.today_tokens,ui,WidgetsPage,MenuBarDisplayCard,metric_today_tokens,Today Tokens,,active
|
|
288
|
+
menubar.metric.today_cost,ui,WidgetsPage,MenuBarDisplayCard,metric_today_cost,Today Cost,,active
|
|
289
|
+
menubar.metric.last_7d_tokens,ui,WidgetsPage,MenuBarDisplayCard,metric_last_7d,Last 7 Days,,active
|
|
290
|
+
menubar.metric.this_month_tokens,ui,WidgetsPage,MenuBarDisplayCard,metric_this_month,This Month,,active
|
|
291
|
+
menubar.metric.total_tokens,ui,WidgetsPage,MenuBarDisplayCard,metric_total_tokens,Total Tokens,,active
|
|
292
|
+
menubar.metric.total_cost,ui,WidgetsPage,MenuBarDisplayCard,metric_total_cost,Total Cost,,active
|
|
293
|
+
menubar.metric.claude_5h,ui,WidgetsPage,MenuBarDisplayCard,metric_claude_5h,Claude 5h Limit,,active
|
|
294
|
+
menubar.metric.claude_7d,ui,WidgetsPage,MenuBarDisplayCard,metric_claude_7d,Claude 7d Limit,,active
|
|
295
|
+
menubar.metric.codex_5h,ui,WidgetsPage,MenuBarDisplayCard,metric_codex_5h,Codex 5h Limit,,active
|
|
296
|
+
menubar.metric.codex_7d,ui,WidgetsPage,MenuBarDisplayCard,metric_codex_7d,Codex 7d Limit,,active
|
|
297
|
+
usage.period.day,ui,DashboardPage,UsageOverview,period_day,Day,,active
|
|
298
|
+
usage.period.last24h,ui,DashboardPage,UsageOverview,period_last24h,24h,,active
|
|
299
|
+
usage.period.week,ui,DashboardPage,UsageOverview,period_week,7d,,active
|
|
300
|
+
usage.period.month,ui,DashboardPage,UsageOverview,period_month,30d,,active
|
|
301
|
+
usage.period.total,ui,DashboardPage,UsageOverview,period_total,Total,,active
|
|
302
|
+
usage.period.custom,ui,DashboardPage,UsageOverview,period_custom,Custom,,active
|
|
303
|
+
usage.overview.tablist_aria,ui,DashboardPage,UsageOverview,tablist_aria,Time period,,active
|
|
304
|
+
usage.auto_refresh.aria,ui,DashboardPage,UsageOverview,auto_refresh_aria,Auto refresh interval,,active
|
|
305
|
+
usage.auto_refresh.off,ui,DashboardPage,UsageOverview,auto_refresh_off,Off,,active
|
|
306
|
+
usage.auto_refresh.30s,ui,DashboardPage,UsageOverview,auto_refresh_30s,30s,,active
|
|
307
|
+
usage.auto_refresh.60s,ui,DashboardPage,UsageOverview,auto_refresh_60s,60s,,active
|
|
308
|
+
usage.auto_refresh.120s,ui,DashboardPage,UsageOverview,auto_refresh_120s,120s,,active
|
|
309
|
+
usage.overview.cost_breakdown_aria,ui,DashboardPage,UsageOverview,cost_breakdown_aria,View cost breakdown,,active
|
|
310
|
+
usage.overview.distribution_aria,ui,DashboardPage,UsageOverview,distribution_aria,Provider distribution: {{items}},,active
|
|
311
|
+
usage.overview.distribution_item,ui,DashboardPage,UsageOverview,distribution_item,{{label}} {{percent}}%,,active
|
|
312
|
+
usage.overview.provider_card_aria,ui,DashboardPage,UsageOverview,provider_card_aria,"{{provider}}: {{percent}}%, {{tokens}} tokens, {{cost}}. Click to {{action}} details",,active
|
|
313
|
+
usage.overview.expand,ui,DashboardPage,UsageOverview,expand,expand,,active
|
|
314
|
+
usage.overview.collapse,ui,DashboardPage,UsageOverview,collapse,collapse,,active
|
|
315
|
+
usage.overview.model_count,ui,DashboardPage,UsageOverview,model_count,{{count}} models,,active
|
|
316
|
+
usage.overview.model_chip,ui,DashboardPage,UsageOverview,model_chip,{{model}} {{percent}}%,,active
|
|
317
|
+
usage.overview.model_percent,ui,DashboardPage,UsageOverview,model_percent,{{percent}}%,,active
|
|
318
|
+
usage.overview.model_more,ui,DashboardPage,UsageOverview,model_more,+{{count}} more,,active
|
|
319
|
+
usage.overview.cost_per_mtok,ui,DashboardPage,UsageOverview,cost_per_mtok,{{value}},,active
|
|
320
|
+
usage.overview.top_cost_model,ui,DashboardPage,UsageOverview,top_cost_model,Top cost {{model}},,active
|
|
321
|
+
usage.overview.top_usage_model,ui,DashboardPage,UsageOverview,top_usage_model,Top usage {{model}},,active
|
|
322
|
+
usage.overview.missing_pricing_count,ui,DashboardPage,UsageOverview,missing_pricing_count,{{count}} pricing missing,,active
|
|
323
|
+
usage.overview.provider_top_cost,ui,DashboardPage,UsageOverview,provider_top_cost,Top cost: {{model}},,active
|
|
324
|
+
usage.overview.provider_missing_pricing,ui,DashboardPage,UsageOverview,provider_missing_pricing,{{count}} pricing missing,,active
|
|
325
|
+
usage.overview.model_details_aria,ui,DashboardPage,UsageOverview,model_details_aria,{{provider}} model details,,active
|
|
326
|
+
usage.overview.antigravity_notice_title,ui,DashboardPage,UsageOverview,antigravity_notice_title,Estimated tokens,,active
|
|
327
|
+
usage.overview.antigravity_notice_body,ui,DashboardPage,UsageOverview,antigravity_notice_body,"Antigravity transcripts don't record real usage numbers. These counts are estimated from text length (~4 chars/token) and don't reflect Gemini's prompt-cache discount, so treat them as an upper bound, not a billing figure.",,active
|
|
328
|
+
limits.panel.title,ui,LimitsPage,UsageLimitsPanel,title,Usage Limits,,active
|
|
329
|
+
limits.panel.mode_separator,ui,LimitsPage,UsageLimitsPanel,title_separator, · ,,active
|
|
330
|
+
limits.label.cursor_plan,ui,LimitsPage,UsageLimitsPanel,cursor_plan,Plan,,active
|
|
331
|
+
limits.label.cursor_auto,ui,LimitsPage,UsageLimitsPanel,cursor_auto,Auto,,active
|
|
332
|
+
limits.label.cursor_api,ui,LimitsPage,UsageLimitsPanel,cursor_api,API,,active
|
|
333
|
+
limits.label.kiro_month,ui,LimitsPage,UsageLimitsPanel,kiro_month,Month,,active
|
|
334
|
+
limits.label.kiro_bonus,ui,LimitsPage,UsageLimitsPanel,kiro_bonus,Bonus,,active
|
|
335
|
+
limits.label.kimi_weekly,ui,LimitsPage,UsageLimitsPanel,kimi_weekly,Weekly,,active
|
|
336
|
+
limits.label.kimi_5h,ui,LimitsPage,UsageLimitsPanel,kimi_5h,5h,,active
|
|
337
|
+
limits.label.kimi_total,ui,LimitsPage,UsageLimitsPanel,kimi_total,Total,,active
|
|
338
|
+
limits.label.kimi_parallel,ui,LimitsPage,UsageLimitsPanel,kimi_parallel,Parallel: {{count}},,active
|
|
339
|
+
limits.label.zai_5h,ui,LimitsPage,UsageLimitsPanel,zai_5h,5h,,active
|
|
340
|
+
limits.label.zai_weekly,ui,LimitsPage,UsageLimitsPanel,zai_weekly,Weekly,,active
|
|
341
|
+
limits.label.zai_mcp,ui,LimitsPage,UsageLimitsPanel,zai_mcp,MCP,,active
|
|
342
|
+
limits.label.copilot_premium,ui,LimitsPage,UsageLimitsPanel,copilot_premium,Premium,,active
|
|
343
|
+
limits.label.copilot_chat,ui,LimitsPage,UsageLimitsPanel,copilot_chat,Chat,,active
|
|
344
|
+
limits.status.not_connected,ui,LimitsPage,UsageLimitsPanel,status_not_connected,Not connected,,active
|
|
345
|
+
limits.status.no_data,ui,LimitsPage,UsageLimitsPanel,status_no_data,No live limit data returned,,active
|
|
346
|
+
limits.status.cached,ui,LimitsPage,UsageLimitsPanel,status_cached,Showing latest cached quota while live refresh is temporarily limited.,,active
|
|
347
|
+
limits.status.all_hidden,ui,LimitsPage,UsageLimitsPanel,status_all_hidden,All limit providers are hidden. Open display settings to show them.,,active
|
|
348
|
+
shared.time.now,shared,*,Shared,time_now,now,,active
|
|
349
|
+
nav.ip_check,shared,*,Sidebar,nav_ip_check,Claude IP Check,,active
|
|
350
|
+
nav.skills,shared,*,Sidebar,nav_skills,Skills,,active
|
|
351
|
+
skills.page.title,ui,SkillsPage,SkillsPage,title,Skills,,active
|
|
352
|
+
skills.tab.my,ui,SkillsPage,SkillsPage,tab_my,My Skills,,active
|
|
353
|
+
skills.tab.browse,ui,SkillsPage,SkillsPage,tab_browse,Browse,,active
|
|
354
|
+
skills.action.refresh,ui,SkillsPage,SkillsPage,action_refresh,Refresh,,active
|
|
355
|
+
skills.action.install,ui,SkillsPage,SkillCard,action_install,Install,,active
|
|
356
|
+
skills.action.choose_targets,ui,SkillsPage,SkillCard,action_choose_targets,Choose targets,,active
|
|
357
|
+
skills.target.menu_label,ui,SkillsPage,SkillCard,target_menu_label,Install to,,active
|
|
358
|
+
skills.target.none,ui,SkillsPage,SkillsPage,target_none,no targets,,active
|
|
359
|
+
skills.toast.installed,ui,SkillsPage,SkillsPage,toast_installed,Installed {{name}} to {{targets}}.,,active
|
|
360
|
+
skills.action.remove,ui,SkillsPage,SkillsPage,action_remove,Remove,,active
|
|
361
|
+
skills.action.search,ui,SkillsPage,SkillsPage,action_search,Search,,active
|
|
362
|
+
skills.action.search_aria,ui,SkillsPage,SkillsPage,action_search_aria,Search skills,,active
|
|
363
|
+
skills.target.synced_summary,ui,SkillsPage,InstalledSkillRow,target_synced_summary,Synced to {{targets}},,active
|
|
364
|
+
skills.target.synced_none,ui,SkillsPage,InstalledSkillRow,target_synced_none,Not synced to any agent,,active
|
|
365
|
+
skills.row.open_details,ui,SkillsPage,InstalledSkillRow,row_open_details,Open details for {{name}},,active
|
|
366
|
+
skills.detail.close,ui,SkillsPage,SkillDetailPanel,detail_close,Close details,,active
|
|
367
|
+
skills.detail.sync_section_title,ui,SkillsPage,SkillDetailPanel,detail_sync_section_title,Sync to,,active
|
|
368
|
+
skills.detail.remove_button,ui,SkillsPage,SkillDetailPanel,detail_remove_button,Remove from all agents,,active
|
|
369
|
+
skills.detail.remove_confirm_hint,ui,SkillsPage,SkillDetailPanel,detail_remove_confirm_hint,This unsyncs the skill from every agent and deletes its local copy.,,active
|
|
370
|
+
skills.filter.agent_label,ui,SkillsPage,SkillsPage,filter_agent_label,Agent,,active
|
|
371
|
+
skills.filter.agent_all,ui,SkillsPage,SkillsPage,filter_agent_all,All agents,,active
|
|
372
|
+
skills.filter.clear,ui,SkillsPage,SkillsPage,filter_clear,Clear filters,,active
|
|
373
|
+
skills.filter.result_count,ui,SkillsPage,SkillsPage,filter_result_count,{{filtered}} of {{total}} skills,,active
|
|
374
|
+
skills.filter.result_count_browse,ui,SkillsPage,SkillsPage,filter_result_count_browse,{{count}} results,,active
|
|
375
|
+
skills.empty.no_match,ui,SkillsPage,SkillsPage,empty_no_match,No skills match the current filters.,,active
|
|
376
|
+
hint.dismiss,ui,shared,DismissibleHint,hint_dismiss,Dismiss hint,,active
|
|
377
|
+
hint.dismissible_aria,ui,shared,DismissibleHint,hint_dismissible_aria,Dismissible hint,,active
|
|
378
|
+
skills.card.installed,ui,SkillsPage,SkillCard,card_installed,Installed,,active
|
|
379
|
+
skills.card.manage,ui,SkillsPage,SkillCard,card_manage,Manage,,active
|
|
380
|
+
skills.card.targets_prefix,ui,SkillsPage,SkillCard,card_targets_prefix,Will install to:,,active
|
|
381
|
+
skills.card.targets_change,ui,SkillsPage,SkillCard,card_targets_change,Change,,active
|
|
382
|
+
skills.card.installs,ui,SkillsPage,SkillCard,installs,{{count}} installs,,active
|
|
383
|
+
skills.source.label,ui,SkillsPage,SkillsPage,source_label,Source,,active
|
|
384
|
+
skills.source.all,ui,SkillsPage,SkillsPage,source_all,All repositories,,active
|
|
385
|
+
skills.mode.repo,ui,SkillsPage,SkillsPage,mode_repo,Repositories,,active
|
|
386
|
+
skills.mode.skillssh,ui,SkillsPage,SkillsPage,mode_skillssh,skills.sh,,active
|
|
387
|
+
skills.browse.placeholder_all,ui,SkillsPage,SkillsPage,browse_placeholder_all,Search across enabled repositories…,,active
|
|
388
|
+
skills.browse.placeholder_repo,ui,SkillsPage,SkillsPage,browse_placeholder_repo,Search in {{repo}}…,,active
|
|
389
|
+
skills.browse.placeholder_skillssh,ui,SkillsPage,SkillsPage,browse_placeholder_skillssh,Search the skills.sh registry…,,active
|
|
390
|
+
skills.browse.empty_sources,ui,SkillsPage,SkillsPage,browse_empty_sources,Add a GitHub repository below to start browsing skills.,,active
|
|
391
|
+
skills.browse.add_repo_hint,ui,SkillsPage,SkillsPage,browse_add_repo_hint,Need more skills? Add a GitHub repository.,,active
|
|
392
|
+
skills.browse.manage_sources,ui,SkillsPage,SkillsPage,browse_manage_sources,Manage sources,,active
|
|
393
|
+
skills.browse.hint_skillssh,ui,SkillsPage,SkillsPage,browse_hint_skillssh,Type at least 2 characters to search skills.sh.,,active
|
|
394
|
+
skills.browse.loading_hint,ui,SkillsPage,SkillsPage,browse_loading_hint,Fetching skill metadata from GitHub. First load can take up to a minute; results are cached.,,active
|
|
395
|
+
skills.error.generic,ui,SkillsPage,SkillsPage,error_generic,Skill operation failed.,,active
|
|
396
|
+
skills.confirm.remove_title,ui,SkillsPage,SkillsPage,confirm_remove_title,Remove {{name}}?,,active
|
|
397
|
+
skills.confirm.remove_managed,ui,SkillsPage,SkillsPage,confirm_remove_managed,This skill will be removed from every connected AI tool. You'll have a few seconds to undo.,,active
|
|
398
|
+
skills.confirm.remove_local,ui,SkillsPage,SkillsPage,confirm_remove_local,This will delete the skill folder on disk from every connected AI tool. This cannot be undone.,,active
|
|
399
|
+
skills.toast.removed,ui,SkillsPage,SkillsPage,toast_removed,Removed {{name}}.,,active
|
|
400
|
+
shared.action.undo,shared,*,Shared,action_undo,Undo,,active
|
|
401
|
+
shared.action.dismiss,shared,*,Shared,action_dismiss,Dismiss,,active
|
|
402
|
+
shared.action.cancel,shared,*,Shared,action_cancel,Cancel,,active
|
|
403
|
+
shared.action.apply,shared,*,Shared,action_apply,Apply,,active
|
|
404
|
+
skills.empty.my,ui,SkillsPage,SkillsPage,empty_my,No skills yet. Open Discover to search and install.,,active
|
|
405
|
+
skills.empty.my_cta,ui,SkillsPage,SkillsPage,empty_my_cta,Browse,,active
|
|
406
|
+
skills.empty.browse,ui,SkillsPage,SkillsPage,empty_browse,No skills found for this source.,,active
|
|
407
|
+
skills.empty.search,ui,SkillsPage,SkillsPage,empty_search,No results. Try a different query.,,active
|
|
408
|
+
skills.repo.placeholder,ui,SkillsPage,SkillsPage,repo_placeholder,owner/repository,,active
|
|
409
|
+
skills.repo.add,ui,SkillsPage,SkillsPage,repo_add,Add repository,,active
|
|
410
|
+
skills.repo.invalid,ui,SkillsPage,SkillsPage,repo_invalid,Use owner/repository or a GitHub repository URL.,,active
|
|
411
|
+
skills.repo.remove,ui,SkillsPage,RepoRow,repo_remove,Remove repository,,active
|
|
412
|
+
settings.appearance.language.label,ui,SettingsPage,SettingsPage,language_label,Language,,active
|
|
413
|
+
settings.appearance.language.hint,ui,SettingsPage,SettingsPage,language_hint,Use System to follow your computer language by default.,,active
|
|
414
|
+
settings.appearance.language.system,ui,SettingsPage,SettingsPage,language_system,System,,active
|
|
415
|
+
settings.appearance.language.english,ui,SettingsPage,SettingsPage,language_english,English,,active
|
|
416
|
+
settings.appearance.language.chinese,ui,SettingsPage,SettingsPage,language_chinese,Simplified Chinese,,active
|
|
417
|
+
settings.appearance.language.traditional_chinese,ui,SettingsPage,SettingsPage,language_traditional_chinese,Traditional Chinese,,active
|
|
418
|
+
settings.appearance.language.japanese,ui,SettingsPage,SettingsPage,language_japanese,Japanese,,active
|
|
419
|
+
settings.appearance.language.korean,ui,SettingsPage,SettingsPage,language_korean,Korean,,active
|
|
420
|
+
dashboard.context_breakdown.card_title,dashboard,DashboardPage,ContextCard,card_title,Context breakdown,,active
|
|
421
|
+
dashboard.context_breakdown.empty,dashboard,DashboardPage,ContextBreakdownPanel,empty,No Claude Code activity in the selected period.,,active
|
|
422
|
+
dashboard.context_breakdown.empty_codex,dashboard,DashboardPage,ContextBreakdownPanel,empty_codex,No Codex activity in the selected period.,,active
|
|
423
|
+
dashboard.context_breakdown.error,dashboard,DashboardPage,ContextBreakdownPanel,error,Couldn't read Claude Code logs for this view.,,active
|
|
424
|
+
dashboard.context_breakdown.error_codex,dashboard,DashboardPage,ContextBreakdownPanel,error_codex,Couldn't read Codex logs for this view.,,active
|
|
425
|
+
dashboard.context_breakdown.bar_aria,dashboard,DashboardPage,ContextBreakdownPanel,bar_aria,Token distribution: {{summary}},,active
|
|
426
|
+
dashboard.context_breakdown.system_prefix_tooltip,dashboard,DashboardPage,ContextBreakdownPanel,tooltip,"System prompt, tools schema, skills, rules, and MCP descriptions are cached together as one prefix and can't be separated from the logs.",,active
|
|
427
|
+
dashboard.context_breakdown.footnote,dashboard,DashboardPage,ContextBreakdownPanel,footnote,"Approximate: cache reads accumulate across turns, so conversation history dominates over time. Only Claude Code logs expose the per-message detail this view requires.",,active
|
|
428
|
+
dashboard.context_breakdown.footnote_codex,dashboard,DashboardPage,ContextBreakdownPanel,footnote_codex,Codex uses non-overlapping token buckets here. Tool and exec drill-downs are separate heuristic attributions over the same turns.,,active
|
|
429
|
+
dashboard.context_breakdown.category.system_prompt,dashboard,DashboardPage,ContextBreakdownPanel,cat,System prompt,,active
|
|
430
|
+
dashboard.context_breakdown.category.messages,dashboard,DashboardPage,ContextBreakdownPanel,cat,Messages,,active
|
|
431
|
+
dashboard.context_breakdown.category.tool_calls,dashboard,DashboardPage,ContextBreakdownPanel,cat,Tool calls,,active
|
|
432
|
+
dashboard.context_breakdown.category.mcp_servers,dashboard,DashboardPage,ContextBreakdownPanel,cat,MCP servers,,active
|
|
433
|
+
dashboard.context_breakdown.category.custom_agents,dashboard,DashboardPage,ContextBreakdownPanel,cat,Custom agents,,active
|
|
434
|
+
dashboard.context_breakdown.category.reasoning,dashboard,DashboardPage,ContextBreakdownPanel,cat,Reasoning,,active
|
|
435
|
+
dashboard.context_breakdown.category.skills,dashboard,DashboardPage,ContextBreakdownPanel,cat,Skills,,active
|
|
436
|
+
dashboard.context_breakdown.loading_aria,dashboard,DashboardPage,ContextBreakdownPanel,loading_aria,Loading context breakdown,,active
|
|
437
|
+
dashboard.context_breakdown.loading_hint,dashboard,DashboardPage,ContextBreakdownPanel,loading_hint,Scanning session logs…,,active
|
|
438
|
+
dashboard.context_breakdown.tool_details.total_column,dashboard,DashboardPage,ContextBreakdownPanel,tool_details_total_column,Total,,active
|
|
439
|
+
dashboard.context_breakdown.tool_details.unavailable_codex,dashboard,DashboardPage,ContextBreakdownPanel,tool_details_unavailable_codex,Tool-level Codex details are unavailable for this period; showing queue totals only.,,active
|
|
440
|
+
dashboard.context_breakdown.message_details.title,dashboard,DashboardPage,ContextBreakdownPanel,message_details_title,Message details,,active
|
|
441
|
+
dashboard.context_breakdown.message_details.note,dashboard,DashboardPage,ContextBreakdownPanel,message_details_note,Aggregated only — message text is not stored.,,active
|
|
442
|
+
dashboard.context_breakdown.message_details.category_column,dashboard,DashboardPage,ContextBreakdownPanel,message_details_category_column,Category,,active
|
|
443
|
+
dashboard.context_breakdown.message_details.user_input,dashboard,DashboardPage,ContextBreakdownPanel,message_details_user_input,User input,,active
|
|
444
|
+
dashboard.context_breakdown.message_details.conversation_history,dashboard,DashboardPage,ContextBreakdownPanel,message_details_conversation_history,Conversation history,,active
|
|
445
|
+
dashboard.context_breakdown.message_details.assistant_response,dashboard,DashboardPage,ContextBreakdownPanel,message_details_assistant_response,Assistant response,,active
|
|
446
|
+
dashboard.context_breakdown.exec_details.title,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_title,Exec command details,,active
|
|
447
|
+
dashboard.context_breakdown.exec_details.kind_column,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_kind_column,Type,,active
|
|
448
|
+
dashboard.context_breakdown.exec_details.calls_column,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_calls_column,Calls,,active
|
|
449
|
+
dashboard.context_breakdown.exec_details.failures_column,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_failures_column,Fail,,active
|
|
450
|
+
dashboard.context_breakdown.exec_details.duration_column,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_duration_column,Duration,,active
|
|
451
|
+
dashboard.context_breakdown.exec_details.max_duration_column,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_max_duration_column,Max,,active
|
|
452
|
+
dashboard.context_breakdown.exec_details.output_column,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_output_column,Lines,,active
|
|
453
|
+
dashboard.context_breakdown.exec_details.group_by_type,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_group_by_type,By type,,active
|
|
454
|
+
dashboard.context_breakdown.exec_details.group_by_executable,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_group_by_executable,Executable,,active
|
|
455
|
+
dashboard.context_breakdown.exec_details.group_by_command,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_group_by_command,Command,,active
|
|
456
|
+
dashboard.context_breakdown.exec_details.group_by_duration,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_group_by_duration,Duration,,active
|
|
457
|
+
dashboard.context_breakdown.exec_details.group_by_output,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_group_by_output,Output,,active
|
|
458
|
+
dashboard.context_breakdown.exec_details.group_by_exit,dashboard,DashboardPage,ContextBreakdownPanel,exec_details_group_by_exit,By exit,,active
|
|
459
|
+
heatmap.3d.hover_tip,ui,ActivityHeatmap,ActivityHeatmap,hover_tip,Click to enter 3D fullscreen rotation analysis mode,,active
|
|
460
|
+
heatmap.3d.modal.title,ui,ActivityHeatmap,ActivityHeatmap,title,Token 3D Perspective,,active
|
|
461
|
+
heatmap.3d.modal.desc,ui,ActivityHeatmap,ActivityHeatmap,desc,Drag with left mouse button to rotate. Hover to inspect daily activity and multidimensional metrics.,,active
|
|
462
|
+
heatmap.3d.modal.stats.total_tokens,ui,ActivityHeatmap,ActivityHeatmap,stats_total_tokens,Annual Total Tokens,,active
|
|
463
|
+
heatmap.3d.modal.stats.precision_total_tokens,ui,ActivityHeatmap,ActivityHeatmap,stats_precision_total_tokens,Precise annual consumption,,active
|
|
464
|
+
heatmap.3d.modal.stats.estimated_cost,ui,ActivityHeatmap,ActivityHeatmap,stats_estimated_cost,Annual Estimated Cost,,active
|
|
465
|
+
heatmap.3d.modal.stats.active_rate_days,ui,ActivityHeatmap,ActivityHeatmap,stats_active_rate_days,Active Rate / Days,,active
|
|
466
|
+
heatmap.3d.modal.stats.max_streak,ui,ActivityHeatmap,ActivityHeatmap,stats_max_streak,Longest Active Streak,,active
|
|
467
|
+
heatmap.3d.modal.stats.days_suffix,ui,ActivityHeatmap,ActivityHeatmap,stats_days_suffix,Days,,active
|
|
468
|
+
heatmap.3d.modal.stats.peak_day,ui,ActivityHeatmap,ActivityHeatmap,stats_peak_day,Peak Day Blowout,,active
|
|
469
|
+
heatmap.3d.modal.stats.precision_peak_value,ui,ActivityHeatmap,ActivityHeatmap,stats_precision_peak_value,Precise daily peak,,active
|
|
470
|
+
heatmap.3d.modal.stats.no_data,ui,ActivityHeatmap,ActivityHeatmap,stats_no_data,No data,,active
|
|
471
|
+
heatmap.3d.modal.legend.title,ui,ActivityHeatmap,ActivityHeatmap,legend_title,Activity Levels,,active
|
|
472
|
+
heatmap.3d.modal.palette.emerald,ui,ActivityHeatmap,ActivityHeatmap,palette_emerald,Emerald City,,active
|
|
473
|
+
heatmap.3d.modal.palette.ocean,ui,ActivityHeatmap,ActivityHeatmap,palette_ocean,Ocean Abyss,,active
|
|
474
|
+
heatmap.3d.modal.palette.neon,ui,ActivityHeatmap,ActivityHeatmap,palette_neon,Cyber Neon,,active
|
|
475
|
+
heatmap.3d.modal.palette.amber,ui,ActivityHeatmap,ActivityHeatmap,palette_amber,Blazing Amber,,active
|
|
476
|
+
heatmap.3d.modal.control.play,ui,ActivityHeatmap,ActivityHeatmap,control_play,Start slow rotation,,active
|
|
477
|
+
heatmap.3d.modal.control.pause,ui,ActivityHeatmap,ActivityHeatmap,control_pause,Pause auto-rotation,,active
|
|
478
|
+
heatmap.3d.modal.control.reset,ui,ActivityHeatmap,ActivityHeatmap,control_reset,Reset 3D view,,active
|
|
479
|
+
heatmap.3d.modal.footer.tip,ui,ActivityHeatmap,ActivityHeatmap,footer_tip,Pinch to zoom / Scroll to zoom / Drag to rotate 3D chart,,active
|
|
480
|
+
heatmap.3d.modal.ai.title.default,ui,ActivityHeatmap,ActivityHeatmap,ai_title_default,Persistent Creator,,active
|
|
481
|
+
heatmap.3d.modal.ai.eval.default,ui,ActivityHeatmap,ActivityHeatmap,ai_eval_default,"Persist in the river of technology. Daily coding may not always be majestic, but every tiny active point records your thoughts and exploration. Sparks accumulate, eventually converging into your own digital ocean.",,active
|
|
482
|
+
heatmap.3d.modal.ai.title.peak,ui,ActivityHeatmap,ActivityHeatmap,ai_title_peak,Peak Contributor,,active
|
|
483
|
+
heatmap.3d.modal.ai.eval.peak,ui,ActivityHeatmap,ActivityHeatmap,ai_eval_peak,"This year, your token output shows extremely high engineering density. This scale of development is equivalent to deeply participating in the refactoring of a medium-to-large system base, with each keystroke converging complex logic into deterministic code. A testament to pure engineering passion.",,active
|
|
484
|
+
heatmap.3d.modal.ai.title.heavy,ui,ActivityHeatmap,ActivityHeatmap,ai_title_heavy,Heavy Producer,,active
|
|
485
|
+
heatmap.3d.modal.ai.eval.heavy,ui,ActivityHeatmap,ActivityHeatmap,ai_eval_heavy,"Exceptional continuous output. Your accumulated tokens have reached millions, equivalent to the volume of dozens of technical novellas. The highly saturated coding pace demonstrates your great execution in building digital assets.",,active
|
|
486
|
+
heatmap.3d.modal.ai.title.core,ui,ActivityHeatmap,ActivityHeatmap,ai_title_core,Core Productivity Expert,,active
|
|
487
|
+
heatmap.3d.modal.ai.eval.core,ui,ActivityHeatmap,ActivityHeatmap,ai_eval_core,"Highly resilient long-term commitment. Over the past year, you have steadily maintained a high-intensity development rhythm. With solid code volume and token output, you have silently built the core architecture, a true engineering backbone.",,active
|
|
488
|
+
heatmap.3d.modal.ai.title.steady,ui,ActivityHeatmap,ActivityHeatmap,ai_title_steady,Steady Developer,,active
|
|
489
|
+
heatmap.3d.modal.ai.eval.steady,ui,ActivityHeatmap,ActivityHeatmap,ai_eval_steady,Steady and firm accumulation of technology. Every step of token increment is a brick in the foundation of your future. This slow but steady pace is the path for an excellent developer to become an engineering master.,,active
|
|
490
|
+
heatmap.3d.voxel.joke.1,ui,ActivityHeatmap3D,ActivityHeatmap3D,voxel_joke1,🔥 Extremely crazy! Produced {{value}} tokens! Are you training a large language model or writing a compiler by hand?,,active
|
|
491
|
+
heatmap.3d.voxel.joke.2,ui,ActivityHeatmap3D,ActivityHeatmap3D,voxel_joke2,"🚀 Epic output! Total {{value}} tokens. Today's production can circle the earth once, even the AI is amazed by you!",,active
|
|
492
|
+
heatmap.3d.voxel.joke.3,ui,ActivityHeatmap3D,ActivityHeatmap3D,voxel_joke3,"⚡ Critical Day! {{value}} tokens. Code is gushing out, and the keyboard is starting to smoke!",,active
|
|
493
|
+
heatmap.3d.voxel.level3,ui,ActivityHeatmap3D,ActivityHeatmap3D,voxel_level3,"⚡ Productivity explosion ({{value}} tokens)! High efficiency and focus, keep up this peak state!",,active
|
|
494
|
+
heatmap.3d.voxel.level2,ui,ActivityHeatmap3D,ActivityHeatmap3D,voxel_level2,"🌱 Getting into the groove ({{value}} tokens)! Steady output, every keystroke is contributing to the architecture.",,active
|
|
495
|
+
heatmap.3d.voxel.level1,ui,ActivityHeatmap3D,ActivityHeatmap3D,voxel_level1,"🍃 Every drop counts ({{value}} tokens). Tiny commits are investments in the future, embrace compound interest!",,active
|
|
496
|
+
heatmap.3d.voxel.level0,ui,ActivityHeatmap3D,ActivityHeatmap3D,voxel_level0,"💤 Recharging. On days without coding, inspiration grows silently.",,active
|
|
497
|
+
ipcheck.page.title,ui,IpCheckPage,IpCheckPage,page_title,Claude IP Check,,active
|
|
498
|
+
ipcheck.page.subtitle,ui,IpCheckPage,IpCheckPage,page_subtitle,"Inspect the exit IP used to reach Claude, plus reputation, geo, and risk signals that may affect sign-in or trigger rate-limiting.",,active
|
|
499
|
+
ipcheck.mask.toggle,ui,IpCheckPage,IpCheckPage,mask_toggle,Hide IP,,active
|
|
500
|
+
ipcheck.ipv6.warn,ui,IpCheckPage,IpCheckPage,ipv6_warn,IPv6 detected. Using IPv6 to reach Claude Code is not recommended; some checks may be incomplete.,,active
|
|
501
|
+
ipcheck.ip.cn,ui,IpCheckPage,IpCheckPage,ip_cn,China exit IPv4,,active
|
|
502
|
+
ipcheck.ip.cloudflare,ui,IpCheckPage,IpCheckPage,ip_cloudflare,Cloudflare exit,,active
|
|
503
|
+
ipcheck.ip.claude,ui,IpCheckPage,IpCheckPage,ip_claude,Claude exit,,active
|
|
504
|
+
ipcheck.ip.failed,ui,IpCheckPage,IpCheckPage,ip_failed,Unable to fetch,,active
|
|
505
|
+
ipcheck.ip.loading,ui,IpCheckPage,IpCheckPage,ip_loading,Loading...,,active
|
|
506
|
+
ipcheck.trust.title,ui,IpCheckPage,IpCheckPage,trust_title,Trust Score,,active
|
|
507
|
+
ipcheck.trust.subtitle,ui,IpCheckPage,IpCheckPage,trust_subtitle,IP cleanliness from Claude's risk view,,active
|
|
508
|
+
ipcheck.trust.no_data,ui,IpCheckPage,IpCheckPage,trust_no_data,No data,,active
|
|
509
|
+
ipcheck.trust.no_ip,ui,IpCheckPage,IpCheckPage,trust_no_ip,Claude exit IP not detected — cannot score,,active
|
|
510
|
+
ipcheck.trust.no_score,ui,IpCheckPage,IpCheckPage,trust_no_score,No score data for this IP,,active
|
|
511
|
+
ipcheck.trust.gauge.low,ui,IpCheckPage,IpCheckPage,trust_gauge_low,0 High risk,,active
|
|
512
|
+
ipcheck.trust.gauge.high,ui,IpCheckPage,IpCheckPage,trust_gauge_high,100 Trusted,,active
|
|
513
|
+
ipcheck.trust.label.pristine,ui,IpCheckPage,IpCheckPage,trust_label_pristine,Pristine,,active
|
|
514
|
+
ipcheck.trust.label.clean,ui,IpCheckPage,IpCheckPage,trust_label_clean,Clean,,active
|
|
515
|
+
ipcheck.trust.label.good,ui,IpCheckPage,IpCheckPage,trust_label_good,Good,,active
|
|
516
|
+
ipcheck.trust.label.neutral,ui,IpCheckPage,IpCheckPage,trust_label_neutral,Neutral,,active
|
|
517
|
+
ipcheck.trust.label.suspicious,ui,IpCheckPage,IpCheckPage,trust_label_suspicious,Suspicious,,active
|
|
518
|
+
ipcheck.trust.label.unreachable,ui,IpCheckPage,IpCheckPage,trust_label_unreachable,Unreachable,,active
|
|
519
|
+
ipcheck.trust.text.excellent,ui,IpCheckPage,IpCheckPage,trust_text_excellent,Excellent reputation,,active
|
|
520
|
+
ipcheck.trust.text.great,ui,IpCheckPage,IpCheckPage,trust_text_great,Strong reputation,,active
|
|
521
|
+
ipcheck.trust.text.minor,ui,IpCheckPage,IpCheckPage,trust_text_minor,Minor risk,,active
|
|
522
|
+
ipcheck.trust.text.moderate,ui,IpCheckPage,IpCheckPage,trust_text_moderate,Moderate risk,,active
|
|
523
|
+
ipcheck.trust.text.severe,ui,IpCheckPage,IpCheckPage,trust_text_severe,Severe risk,,active
|
|
524
|
+
ipcheck.trust.text.restricted,ui,IpCheckPage,IpCheckPage,trust_text_restricted,Restricted region — Claude enforces strict risk controls,,active
|
|
525
|
+
ipcheck.trust.region_warn.title,ui,IpCheckPage,IpCheckPage,region_warn_title,Claude exit IP is in {{region}},,active
|
|
526
|
+
ipcheck.trust.region_warn.body,ui,IpCheckPage,IpCheckPage,region_warn_body,Avoid signing in — high chance of triggering account flagging.,,active
|
|
527
|
+
ipcheck.trust.region_support,ui,IpCheckPage,IpCheckPage,region_support,Claude support,,active
|
|
528
|
+
ipcheck.trust.region.accessible,ui,IpCheckPage,IpCheckPage,region_accessible,Accessible,,active
|
|
529
|
+
ipcheck.common.unknown,ui,IpCheckPage,IpCheckPage,common_unknown,Unknown,,active
|
|
530
|
+
ipcheck.props.title,ui,IpCheckPage,IpCheckPage,props_title,IP Attributes,,active
|
|
531
|
+
ipcheck.props.region,ui,IpCheckPage,IpCheckPage,props_region,Region,,active
|
|
532
|
+
ipcheck.props.city,ui,IpCheckPage,IpCheckPage,props_city,City,,active
|
|
533
|
+
ipcheck.props.type,ui,IpCheckPage,IpCheckPage,props_type,Type,,active
|
|
534
|
+
ipcheck.props.asn,ui,IpCheckPage,IpCheckPage,props_asn,ASN,,active
|
|
535
|
+
ipcheck.props.org,ui,IpCheckPage,IpCheckPage,props_org,ISP,,active
|
|
536
|
+
ipcheck.props.residential,ui,IpCheckPage,IpCheckPage,props_residential,Residential,,active
|
|
537
|
+
ipcheck.props.datacenter,ui,IpCheckPage,IpCheckPage,props_datacenter,Datacenter,,active
|
|
538
|
+
ipcheck.security.title,ui,IpCheckPage,IpCheckPage,sec_title,Security Checks,,active
|
|
539
|
+
ipcheck.security.vpn,ui,IpCheckPage,IpCheckPage,sec_vpn,VPN,,active
|
|
540
|
+
ipcheck.security.proxy,ui,IpCheckPage,IpCheckPage,sec_proxy,Proxy,,active
|
|
541
|
+
ipcheck.security.tor,ui,IpCheckPage,IpCheckPage,sec_tor,Tor,,active
|
|
542
|
+
ipcheck.security.crawler,ui,IpCheckPage,IpCheckPage,sec_crawler,Crawler,,active
|
|
543
|
+
ipcheck.security.abuser,ui,IpCheckPage,IpCheckPage,sec_abuser,Abuse history,,active
|
|
544
|
+
ipcheck.security.proxy_flag,ui,IpCheckPage,IpCheckPage,sec_proxy_flag,Proxy,,active
|
|
545
|
+
ipcheck.security.crawler_yes,ui,IpCheckPage,IpCheckPage,sec_crawler_yes,Yes,,active
|
|
546
|
+
ipcheck.security.crawler_no,ui,IpCheckPage,IpCheckPage,sec_crawler_no,No,,active
|
|
547
|
+
ipcheck.security.abuser_yes,ui,IpCheckPage,IpCheckPage,sec_abuser_yes,Reported,,active
|
|
548
|
+
ipcheck.security.abuser_no,ui,IpCheckPage,IpCheckPage,sec_abuser_no,Clean,,active
|
|
549
|
+
ipcheck.security.clean,ui,IpCheckPage,IpCheckPage,sec_clean,Not detected,,active
|
|
550
|
+
ipcheck.avail.title,ui,IpCheckPage,IpCheckPage,avail_title,Claude Availability,,active
|
|
551
|
+
ipcheck.avail.tooltip,ui,IpCheckPage,IpCheckPage,avail_tooltip,Claude servers run in the US; latency above 100ms from Asia is normal.,,active
|
|
552
|
+
ipcheck.avail.refresh,ui,IpCheckPage,IpCheckPage,avail_refresh,Refresh,,active
|
|
553
|
+
ipcheck.avail.svc_row,ui,IpCheckPage,IpCheckPage,avail_svc_row,Service status,,active
|
|
554
|
+
ipcheck.avail.latency.normal,ui,IpCheckPage,IpCheckPage,avail_lat_normal,Normal,,active
|
|
555
|
+
ipcheck.avail.latency.good,ui,IpCheckPage,IpCheckPage,avail_lat_good,Good,,active
|
|
556
|
+
ipcheck.avail.latency.slow,ui,IpCheckPage,IpCheckPage,avail_lat_slow,Slow,,active
|
|
557
|
+
ipcheck.avail.latency.unreachable,ui,IpCheckPage,IpCheckPage,avail_lat_unreach,Unreachable,,active
|
|
558
|
+
ipcheck.avail.svc.none,ui,IpCheckPage,IpCheckPage,avail_svc_none,All systems normal,,active
|
|
559
|
+
ipcheck.avail.svc.minor,ui,IpCheckPage,IpCheckPage,avail_svc_minor,Minor outage,,active
|
|
560
|
+
ipcheck.avail.svc.major,ui,IpCheckPage,IpCheckPage,avail_svc_major,Major outage,,active
|
|
561
|
+
ipcheck.avail.svc.critical,ui,IpCheckPage,IpCheckPage,avail_svc_critical,Critical outage,,active
|
|
562
|
+
ipcheck.avail.svc.maintenance,ui,IpCheckPage,IpCheckPage,avail_svc_maintenance,Maintenance,,active
|
|
563
|
+
ipcheck.avail.svc.other,ui,IpCheckPage,IpCheckPage,avail_svc_other,Disrupted,,active
|
|
564
|
+
ipcheck.dns.title,ui,IpCheckPage,IpCheckPage,dns_title,DNS Leak,,active
|
|
565
|
+
ipcheck.dns.status,ui,IpCheckPage,IpCheckPage,dns_status,Status,,active
|
|
566
|
+
ipcheck.dns.outlet,ui,IpCheckPage,IpCheckPage,dns_outlet,DNS exit,,active
|
|
567
|
+
ipcheck.dns.outlet_ip,ui,IpCheckPage,IpCheckPage,dns_outlet_ip,DNS exit IP,,active
|
|
568
|
+
ipcheck.dns.isp,ui,IpCheckPage,IpCheckPage,dns_isp,Provider,,active
|
|
569
|
+
ipcheck.dns.leaked,ui,IpCheckPage,IpCheckPage,dns_leaked,Possible leak,,active
|
|
570
|
+
ipcheck.dns.no_leak,ui,IpCheckPage,IpCheckPage,dns_no_leak,No leak detected,,active
|
|
571
|
+
ipcheck.dns.encrypted,ui,IpCheckPage,IpCheckPage,dns_encrypted,DNS encrypted or hidden,,active
|
|
572
|
+
ipcheck.dns.cn_tag,ui,IpCheckPage,IpCheckPage,dns_cn_tag,China DNS,,active
|
|
573
|
+
ipcheck.udp.title,ui,IpCheckPage,IpCheckPage,udp_title,WebRTC UDP Leak,,active
|
|
574
|
+
ipcheck.udp.status,ui,IpCheckPage,IpCheckPage,udp_status,Status,,active
|
|
575
|
+
ipcheck.udp.outlet,ui,IpCheckPage,IpCheckPage,udp_outlet,UDP exit,,active
|
|
576
|
+
ipcheck.udp.outlet_ip,ui,IpCheckPage,IpCheckPage,udp_outlet_ip,UDP exit IP,,active
|
|
577
|
+
ipcheck.udp.origin,ui,IpCheckPage,IpCheckPage,udp_origin,Origin,,active
|
|
578
|
+
ipcheck.udp.disabled,ui,IpCheckPage,IpCheckPage,udp_disabled,WebRTC disabled,,active
|
|
579
|
+
ipcheck.udp.no_leak,ui,IpCheckPage,IpCheckPage,udp_no_leak,No leak detected,,active
|
|
580
|
+
ipcheck.udp.leaked,ui,IpCheckPage,IpCheckPage,udp_leaked,Possible leak,,active
|
|
581
|
+
ipcheck.udp.anomaly,ui,IpCheckPage,IpCheckPage,udp_anomaly,Anomaly,,active
|
|
582
|
+
ipcheck.device.title,ui,IpCheckPage,IpCheckPage,dev_title,Device Info,,active
|
|
583
|
+
ipcheck.device.tz,ui,IpCheckPage,IpCheckPage,dev_tz,Timezone,,active
|
|
584
|
+
ipcheck.device.lang,ui,IpCheckPage,IpCheckPage,dev_lang,Language,,active
|
|
585
|
+
ipcheck.device.os,ui,IpCheckPage,IpCheckPage,dev_os,OS / Browser,,active
|
|
586
|
+
ipcheck.device.touch,ui,IpCheckPage,IpCheckPage,dev_touch,Touch,,active
|
|
587
|
+
ipcheck.device.net,ui,IpCheckPage,IpCheckPage,dev_net,Network type,,active
|
|
588
|
+
ipcheck.device.dnt,ui,IpCheckPage,IpCheckPage,dev_dnt,Do Not Track,,active
|
|
589
|
+
ipcheck.device.webgl_render,ui,IpCheckPage,IpCheckPage,dev_webgl_render,WebGL renderer,,active
|
|
590
|
+
ipcheck.device.canvas_fp,ui,IpCheckPage,IpCheckPage,dev_canvas_fp,Canvas fingerprint,,active
|
|
591
|
+
ipcheck.device.webgl_fp,ui,IpCheckPage,IpCheckPage,dev_webgl_fp,WebGL fingerprint,,active
|
|
592
|
+
ipcheck.device.match,ui,IpCheckPage,IpCheckPage,dev_match,Match,,active
|
|
593
|
+
ipcheck.device.mismatch,ui,IpCheckPage,IpCheckPage,dev_mismatch,Mismatch,,active
|
|
594
|
+
ipcheck.device.local,ui,IpCheckPage,IpCheckPage,dev_local,Local,,active
|
|
595
|
+
ipcheck.device.estimate_suffix,ui,IpCheckPage,IpCheckPage,dev_est_suffix,(est.),,active
|
|
596
|
+
ipcheck.device.diff_equal,ui,IpCheckPage,IpCheckPage,dev_diff_eq,Slight offset,,active
|
|
597
|
+
ipcheck.device.diff_ahead,ui,IpCheckPage,IpCheckPage,dev_diff_ahead,Claude is {{h}}h ahead,,active
|
|
598
|
+
ipcheck.device.diff_behind,ui,IpCheckPage,IpCheckPage,dev_diff_behind,Claude is {{h}}h behind,,active
|
|
599
|
+
ipcheck.device.lang_expected,ui,IpCheckPage,IpCheckPage,dev_lang_expected,Claude region usually,,active
|
|
600
|
+
ipcheck.device.touch_yes,ui,IpCheckPage,IpCheckPage,dev_touch_yes,Yes,,active
|
|
601
|
+
ipcheck.device.touch_no,ui,IpCheckPage,IpCheckPage,dev_touch_no,No,,active
|
|
602
|
+
ipcheck.device.dnt_on,ui,IpCheckPage,IpCheckPage,dev_dnt_on,On,,active
|
|
603
|
+
ipcheck.device.dnt_off,ui,IpCheckPage,IpCheckPage,dev_dnt_off,Off,,active
|
|
604
|
+
ipcheck.device.dnt_unset,ui,IpCheckPage,IpCheckPage,dev_dnt_unset,Unset,,active
|
|
605
|
+
ipcheck.device.net_unsupported,ui,IpCheckPage,IpCheckPage,dev_net_unsup,Not detected,,active
|
|
606
|
+
ipcheck.device.unsupported,ui,IpCheckPage,IpCheckPage,dev_unsupported,Unsupported,,active
|
|
607
|
+
ipcheck.history.title,ui,IpCheckPage,IpCheckPage,hist_title,Claude exit IP history,,active
|
|
608
|
+
ipcheck.history.subtitle,ui,IpCheckPage,IpCheckPage,hist_subtitle,"Stored only in this browser, up to 6 entries",,active
|
|
609
|
+
ipcheck.history.clear,ui,IpCheckPage,IpCheckPage,hist_clear,Clear,,active
|
|
610
|
+
ipcheck.history.empty,ui,IpCheckPage,IpCheckPage,hist_empty,No history yet,,active
|
|
611
|
+
ipcheck.history.current,ui,IpCheckPage,IpCheckPage,hist_current,Now,,active
|
|
612
|
+
ipcheck.region.CN,ui,IpCheckPage,IpCheckPage,region_cn,Mainland China,,active
|
|
613
|
+
ipcheck.region.HK,ui,IpCheckPage,IpCheckPage,region_hk,Hong Kong,,active
|
|
614
|
+
ipcheck.region.MO,ui,IpCheckPage,IpCheckPage,region_mo,Macao,,active
|
|
615
|
+
ipcheck.region.RU,ui,IpCheckPage,IpCheckPage,region_ru,Russia,,active
|
|
616
|
+
ipcheck.region.KP,ui,IpCheckPage,IpCheckPage,region_kp,North Korea,,active
|
|
617
|
+
ipcheck.region.IR,ui,IpCheckPage,IpCheckPage,region_ir,Iran,,active
|
|
618
|
+
ipcheck.region.SY,ui,IpCheckPage,IpCheckPage,region_sy,Syria,,active
|
|
619
|
+
ipcheck.region.CU,ui,IpCheckPage,IpCheckPage,region_cu,Cuba,,active
|
|
620
|
+
ipcheck.region.BY,ui,IpCheckPage,IpCheckPage,region_by,Belarus,,active
|
|
621
|
+
ipcheck.region.VE,ui,IpCheckPage,IpCheckPage,region_ve,Venezuela,,active
|
|
622
|
+
local_only.title,dashboard,LocalOnlyNotice,LocalOnlyNotice,title,Available in the app,,active
|
|
623
|
+
local_only.body,dashboard,LocalOnlyNotice,LocalOnlyNotice,body,"This page reads data from your own machine, so it only works in the Mac app or the CLI dashboard.",,active
|
|
624
|
+
local_only.open_app,dashboard,LocalOnlyNotice,LocalOnlyNotice,open_app,Open in Mac app,,active
|
|
625
|
+
local_only.download,dashboard,LocalOnlyNotice,LocalOnlyNotice,download,Get the Mac app,,active
|
|
626
|
+
dashboard.auth_gate.title,dashboard,DashboardPage,DashboardView,auth_gate_title,Sign in to Token Tracker,,active
|
|
627
|
+
dashboard.auth_gate.subtitle,dashboard,DashboardPage,DashboardView,auth_gate_subtitle,"Sign in to sync and view your API usage, cost, and token consumption trends in the cloud.",,active
|
|
628
|
+
dashboard.auth_gate.button,dashboard,DashboardPage,DashboardView,auth_gate_button,Sign In,,active
|
|
629
|
+
shared.app_name,shared,*,*,app_name,Token Tracker,,active
|
|
630
|
+
dashboard.auth_gate.hero_title,dashboard,DashboardPage,DashboardView,hero_title,Track every AI agent token seamlessly,,active
|
|
631
|
+
dashboard.auth_gate.hero_subtitle,dashboard,DashboardPage,DashboardView,hero_subtitle,"Clear, transparent, and multi-endpoint control",,active
|
|
632
|
+
dashboard.auth_gate.desc,dashboard,DashboardPage,DashboardView,desc,"Securely sync token quotas, concurrent costs, and latency across Claude Code, Cursor, and Gemini CLI in a beautifully unified real-time dashboard.",,active
|
|
633
|
+
dashboard.auth_gate.feature.sync.title,dashboard,DashboardPage,DashboardView,sync_title,Real-time Cloud Sync,,active
|
|
634
|
+
dashboard.auth_gate.feature.sync.desc,dashboard,DashboardPage,DashboardView,sync_desc,Automated pipeline harvesting terminal execution costs into secure cloud records.,,active
|
|
635
|
+
dashboard.auth_gate.feature.anal.title,dashboard,DashboardPage,DashboardView,anal_title,Multi-dimensional Analytics,,active
|
|
636
|
+
dashboard.auth_gate.feature.anal.desc,dashboard,DashboardPage,DashboardView,anal_desc,Slice and dice by models or period to isolate high-cost peaks and allocations.,,active
|
|
637
|
+
dashboard.auth_gate.feature.guard.title,dashboard,DashboardPage,DashboardView,guard_title,Local-first Autonomy,,active
|
|
638
|
+
dashboard.auth_gate.feature.guard.desc,dashboard,DashboardPage,DashboardView,guard_desc,Skip all auth steps entirely on localhost. Preserves local debug speed.,,active
|
|
639
|
+
cmdk.placeholder,ui,CommandPalette,CommandPalette,placeholder,Search pages and skills…,,active
|
|
640
|
+
cmdk.empty,ui,CommandPalette,CommandPalette,empty,No matches,,active
|
|
641
|
+
cmdk.group.pages,ui,CommandPalette,CommandPalette,group_pages,Pages,,active
|
|
642
|
+
cmdk.group.skills,ui,CommandPalette,CommandPalette,group_skills,Skills,,active
|
|
643
|
+
cmdk.close,ui,CommandPalette,CommandPalette,close,Close command menu,,active
|
|
644
|
+
cmdk.open_aria,ui,CommandPalette,CommandPalette,open_aria,Command menu,,active
|
|
645
|
+
skills.dot.synced_aria,ui,SkillsPage,AgentDots,dot_synced_aria,{{agent}}: synced. Click to unsync.,,active
|
|
646
|
+
skills.dot.off_aria,ui,SkillsPage,AgentDots,dot_off_aria,{{agent}}: not synced. Click to sync.,,active
|
|
647
|
+
skills.dot.orphan_aria,ui,SkillsPage,AgentDots,dot_orphan_aria,{{agent}}: link broken. Click to re-sync.,,active
|
|
648
|
+
skills.update.badge,ui,SkillsPage,InstalledSkillRow,update_badge,Update,,active
|
|
649
|
+
skills.select.row_aria,ui,SkillsPage,InstalledSkillRow,select_row_aria,Select {{name}},,active
|
|
650
|
+
skills.select.toolbar_aria,ui,SkillsPage,BatchToolbar,select_toolbar_aria,Bulk actions,,active
|
|
651
|
+
skills.select.count,ui,SkillsPage,BatchToolbar,select_count,{{count}} selected,,active
|
|
652
|
+
skills.select.bulk_sync,ui,SkillsPage,BatchToolbar,select_bulk_sync,Sync to,,active
|
|
653
|
+
skills.select.bulk_sync_hint,ui,SkillsPage,BatchToolbar,select_bulk_sync_hint,Add agent to all selected,,active
|
|
654
|
+
skills.select.bulk_remove,ui,SkillsPage,BatchToolbar,select_bulk_remove,Remove,,active
|
|
655
|
+
skills.select.clear,ui,SkillsPage,BatchToolbar,select_clear,Clear,,active
|
|
656
|
+
skills.mode.popular,ui,SkillsPage,SkillsPage,mode_popular,Popular,,active
|
|
657
|
+
skills.browse.placeholder_popular,ui,SkillsPage,SkillsPage,browse_placeholder_popular,Filter popular skills,,active
|
|
658
|
+
skills.empty.popular,ui,SkillsPage,SkillsPage,empty_popular,No popular skills right now.,,active
|
|
659
|
+
skills.toast.bulk_synced,ui,SkillsPage,SkillsPage,toast_bulk_synced,Synced {{count}} skills to {{agent}}.,,active
|
|
660
|
+
skills.toast.bulk_removed,ui,SkillsPage,SkillsPage,toast_bulk_removed,Removed {{count}} skills.,,active
|
|
661
|
+
skills.toast.synced_one,ui,SkillsPage,SkillsPage,toast_synced_one,Synced {{name}} to {{agent}}.,,active
|
|
662
|
+
skills.toast.unsynced_one,ui,SkillsPage,SkillsPage,toast_unsynced_one,Unsynced {{name}} from {{agent}}.,,active
|
|
663
|
+
skills.toast.updated,ui,SkillsPage,SkillsPage,toast_updated,Updated {{name}}.,,active
|
|
664
|
+
skills.confirm.bulk_remove_title,ui,SkillsPage,SkillsPage,confirm_bulk_remove_title,Remove {{count}} skills?,,active
|
|
665
|
+
skills.confirm.bulk_remove_desc,ui,SkillsPage,SkillsPage,confirm_bulk_remove_desc,This unsyncs each skill from every agent and deletes its local copy.,,active
|
|
666
|
+
skills.update.available,ui,SkillsPage,SkillDetailPanel,update_available,A newer version is available upstream.,,active
|
|
667
|
+
skills.update.action,ui,SkillsPage,SkillDetailPanel,update_action,Update,,active
|
|
668
|
+
skills.usage.section_title,ui,SkillsPage,SkillDetailPanel,usage_section_title,Activity,,active
|
|
669
|
+
skills.usage.invocations,ui,SkillsPage,SkillDetailPanel,usage_invocations,Invocations,,active
|
|
670
|
+
skills.usage.cost,ui,SkillsPage,SkillDetailPanel,usage_cost,Est. cost,,active
|
|
671
|
+
skills.usage.never,ui,SkillsPage,SkillDetailPanel,usage_never,Never,,active
|
|
672
|
+
skills.usage.last_used,ui,SkillsPage,SkillDetailPanel,usage_last_used,Last used,,active
|
|
673
|
+
skills.usage.today,ui,SkillsPage,SkillDetailPanel,usage_today,Today,,active
|
|
674
|
+
skills.usage.days_ago,ui,SkillsPage,SkillDetailPanel,usage_days_ago,{{days}}d ago,,active
|
|
675
|
+
skills.usage.months_ago,ui,SkillsPage,SkillDetailPanel,usage_months_ago,{{months}}mo ago,,active
|
|
676
|
+
skills.usage.unknown,ui,SkillsPage,SkillDetailPanel,usage_unknown,Unknown,,active
|
|
677
|
+
skills.usage.unused,ui,SkillsPage,SkillDetailPanel,usage_unused,Not invoked yet. Possible dead weight if you never use it.,,active
|
|
678
|
+
skills.usage.disclaimer,ui,SkillsPage,SkillDetailPanel,usage_disclaimer,Counts from Claude transcripts. Cost is the approximate spend of turns that invoked this skill.,,active
|
|
679
|
+
app.meta.title,app,*,*,meta_title,TokenTracker,"Local dashboard <title>; replaces the removed landing.meta.* keys",active
|
|
680
|
+
app.meta.description,app,*,*,meta_description,See how many tokens your AI coding tools use — locally.,,active
|
|
681
|
+
app.meta.og_site_name,app,*,*,meta_og_site_name,TokenTracker,,active
|
|
682
|
+
app.meta.og_type,app,*,*,meta_og_type,website,,active
|
|
683
|
+
app.meta.twitter_card,app,*,*,meta_twitter_card,summary,,active
|
|
684
|
+
`,IP={"shared.placeholder.short":"--","shared.unit.percent":"%","shared.unit.thousand_abbrev":"K","shared.unit.million_abbrev":"M","shared.unit.billion_abbrev":"B","shared.data_source":"数据来源:{{source}}","shared.error.prefix":"错误:{{error}}","shared.status.unsynced":"—","shared.time.now":"刚刚","error.boundary.title":"出了点问题","error.boundary.subtitle":"这个视图渲染失败了","error.boundary.hint":"打开控制台,然后重新加载页面","error.boundary.no_details":"没有错误详细信息","error.boundary.action.reload":"重新加载","identity_card.rank_label":"排名","identity_card.streak_label":"活跃天数","identity_card.rank_placeholder":"—","identity_card.streak_value":"{{days}} 天","usage.summary.total":"Token 总数","usage.summary.updated_at":"更新于 {{timestamp}}","usage.period.day":"日","usage.period.week":"周","usage.period.month":"月","usage.period.total":"总计","usage.period.custom":"自定义","usage.metric.total":"总计","usage.metric.input":"输入","usage.metric.output":"输出","usage.metric.cached_input":"缓存输入","usage.metric.reasoning_output":"推理输出","usage.button.refresh":"刷新","usage.overview.tablist_aria":"时间范围","usage.auto_refresh.aria":"自动刷新间隔","usage.auto_refresh.off":"关闭","usage.auto_refresh.30s":"30 秒","usage.auto_refresh.60s":"60 秒","usage.auto_refresh.120s":"120 秒","usage.overview.cost_breakdown_aria":"查看成本明细","usage.overview.distribution_aria":"来源占比:{{items}}","usage.overview.distribution_item":"{{label}} {{percent}}%","usage.overview.provider_card_aria":"{{provider}}:{{percent}}%,{{tokens}} Token,{{cost}}。点击{{action}}详情","usage.overview.expand":"展开","usage.overview.collapse":"收起","usage.overview.model_count":"{{count}} 个模型","usage.overview.model_details_aria":"{{provider}} 模型详情","widgets.page.title":"组件","widgets.cta.open_gallery":"打开小组件库","widgets.cta.download":"下载 Mac 应用","widgets.cta.macos_only":"仅限 macOS","widgets.menubar.section.title":"菜单栏","widgets.gallery.section.title":"桌面小组件","widgets.summary.name":"使用概览","widgets.summary.description":"今天和近 7 天的用量,以及紧凑趋势线。","widgets.heatmap.name":"热力图","widgets.heatmap.description":"像 GitHub 一样,一眼看清活跃和空闲的日子。","widgets.topModels.name":"热门模型","widgets.topModels.description":"你最常用的模型,按 Token 占比排序。","widgets.limits.name":"使用限制","widgets.limits.description":"Claude、Codex、Cursor、Gemini 等的实时速率限制进度。","daily.sort.date.label":"日期","daily.sort.date.title":"按日期排序","daily.sort.total.label":"总计","daily.sort.total.title":"按总计排序","daily.sort.input.label":"输入","daily.sort.input.title":"按输入排序","daily.sort.output.label":"输出","daily.sort.output.title":"按输出排序","daily.sort.cached.label":"缓存","daily.sort.cached.title":"按缓存输入排序","daily.sort.reasoning.label":"推理","daily.sort.reasoning.title":"按推理输出排序","daily.sort.conversations.label":"对话数","daily.sort.conversations.title":"按对话排序","details.pagination.prev":"上一页","details.pagination.next":"下一页","limits.copilot.otelHint.title":"跟踪 Copilot Token 使用情况","limits.copilot.otelHint.body":"限额信息通过你的 GitHub OAuth 令牌读取。如果还想记录逐 Token 用量,请启用 Copilot 的 OpenTelemetry 导出,把下面这段加到你的 shell 配置文件(~/.zshrc 或 ~/.bashrc):","limits.copilot.otelHint.copy":"复制","limits.copilot.otelHint.copied":"已复制","limits.panel.title":"使用限制","limits.panel.mode_separator":" · ","limits.label.cursor_plan":"套餐","limits.label.cursor_auto":"自动","limits.label.cursor_api":"API","limits.label.kiro_month":"月度","limits.label.kiro_bonus":"奖励","limits.label.kimi_weekly":"周","limits.label.kimi_5h":"5h","limits.label.kimi_total":"总量","limits.label.kimi_parallel":"并发:{{count}}","limits.label.copilot_premium":"高级","limits.label.copilot_chat":"对话","limits.status.not_connected":"未连接","limits.status.no_data":"未返回实时限额数据","limits.status.all_hidden":"所有限额提供商都已隐藏。请打开显示设置重新显示。","nav.usage":"用量","nav.limits":"限额","nav.widgets":"小组件","nav.skills":"Skills","nav.collapse":"折叠侧边栏","nav.expand":"展开侧边栏","nav.menu":"打开导航菜单","nav.close_menu":"关闭导航菜单","nav.aside_label":"主导航","nav.nav_label":"导航","nav.version":"Token Tracker 版本 {{version}}","limits.page.subtitle":"AI 工具的速率限制和配额使用情况。","limits.settings.toggle_visible":"切换可见性","limits.settings.display_mode_label":"用量","limits.settings.display_mode_used":"已用","limits.settings.display_mode_remaining":"剩余","limits.page.openSettings":"显示设置","nav.group.general":"常规","nav.group.tools":"工具","nav.group.account":"账户","nav.settings":"设置","settings.page.title":"设置","settings.page.subtitle":"管理你的账户、外观和显示偏好。","settings.section.appearance":"外观","settings.section.account":"账户","settings.section.limits":"限制显示","settings.appearance.theme.label":"主题","settings.appearance.theme.hint":"选择 Token Tracker 在仪表盘中的显示方式。","settings.appearance.theme.light":"浅色","settings.appearance.theme.dark":"深色","settings.appearance.theme.system":"系统","settings.section.menubar":"菜单栏应用","settings.menubar.showStats":"在菜单栏中显示统计信息","settings.menubar.showStatsHint":"在菜单栏图标旁边显示今天的Token 数量和成本。","settings.menubar.animatedIcon":"动画图标","settings.menubar.animatedIconHint":"闪烁 Clawd 角色并在菜单栏中播放同步动画。","settings.menubar.launchAtLogin":"登录时启动","settings.menubar.launchAtLoginHint":"登录 macOS 时自动启动 TokenTrackerBar。","settings.menubar.syncNow":"立即同步","settings.menubar.syncNowHint":"触发本地AI工具日志立即解析并上传。","settings.menubar.syncing":"正在同步...","settings.menubar.updates":"更新","settings.menubar.checkUpdates":"检查更新","menubar.slot.primary":"第一个位置","menubar.slot.secondary":"第二个位置","menubar.native_only":"打开 macOS 版 TokenTrackerBar 后可编辑菜单栏显示。","menubar.metric.today_tokens":"今日 Token","menubar.metric.today_cost":"今日成本","menubar.metric.last_7d_tokens":"近 7 天 Token","menubar.metric.this_month_tokens":"本月 Token","menubar.metric.total_tokens":"总 Token","menubar.metric.total_cost":"总成本","menubar.metric.claude_5h":"Claude 5 小时限额","menubar.metric.claude_7d":"Claude 7 天限额","menubar.metric.codex_5h":"Codex 5 小时限额","menubar.metric.codex_7d":"Codex 7 天限额","nav.ip_check":"Claude IP 检查","skills.page.title":"Skills","skills.tab.my":"我的","skills.tab.browse":"发现","skills.action.refresh":"刷新","skills.action.install":"安装","skills.action.choose_targets":"选择目标","skills.target.menu_label":"安装到","skills.target.none":"未选目标","skills.toast.installed":"已把 {{name}} 安装到 {{targets}}。","skills.action.remove":"移除","skills.action.search":"搜索","skills.action.search_aria":"搜索 skills","skills.target.synced_summary":"已同步到 {{targets}}","skills.target.synced_none":"尚未同步到任何 agent","skills.row.open_details":"查看 {{name}} 详情","skills.detail.close":"关闭详情","skills.detail.sync_section_title":"同步到","skills.detail.remove_button":"从所有 agent 移除","skills.detail.remove_confirm_hint":"这会从每个 agent 取消同步并删除本地副本。","skills.filter.agent_label":"Agent","skills.filter.agent_all":"全部 agent","skills.filter.clear":"清除筛选","skills.filter.result_count":"{{filtered}} / {{total}} 个 skill","skills.filter.result_count_browse":"{{count}} 个结果","skills.empty.no_match":"当前筛选下没有匹配的 skill。","hint.dismiss":"关闭提示","hint.dismissible_aria":"可关闭的提示","skills.card.installed":"已安装","skills.card.targets_prefix":"将安装到:","skills.card.targets_change":"更改","skills.card.installs":"{{count}} 次安装","skills.source.label":"来源","skills.source.all":"全部仓库","skills.mode.repo":"仓库","skills.mode.skillssh":"skills.sh","skills.browse.placeholder_all":"在已启用的仓库里搜索…","skills.browse.placeholder_repo":"在 {{repo}} 中搜索…","skills.browse.placeholder_skillssh":"在 skills.sh 仓库中搜索…","skills.browse.empty_sources":"添加一个 GitHub 仓库以开始浏览技能。","skills.browse.add_repo_hint":"想要更多 skill?添加一个 GitHub 仓库。","skills.browse.manage_sources":"管理来源","skills.browse.hint_skillssh":"至少输入 2 个字符以搜索 skills.sh。","skills.browse.loading_hint":"正在从 GitHub 拉取 skill 信息,首次加载可能需要一分钟,结果会缓存。","skills.error.generic":"Skill 操作失败。","skills.confirm.remove_title":"要移除 {{name}} 吗?","skills.confirm.remove_managed":"这个 skill 将从所有已连接的 AI 工具中移除,几秒内可以撤销。","skills.confirm.remove_local":"将从所有 AI 工具目录中删除该 skill 文件夹。此操作无法撤销。","skills.toast.removed":"已移除 {{name}}。","shared.action.undo":"撤销","shared.action.cancel":"取消","shared.action.apply":"应用","skills.empty.my":"还没有 skill。去「发现」搜索或安装。","skills.empty.my_cta":"去发现","skills.empty.browse":"这个来源下没有找到技能。","skills.empty.search":"没有结果,换个关键词试试。","skills.repo.placeholder":"owner/repository","skills.repo.add":"添加仓库","skills.repo.invalid":"请输入 owner/repository 或 GitHub 仓库 URL。","skills.repo.remove":"移除仓库","settings.appearance.language.label":"语言","settings.appearance.language.hint":"使用“系统”时会默认跟随本机语言。","settings.appearance.language.system":"系统","settings.appearance.language.english":"英语","settings.appearance.language.chinese":"简体中文","settings.appearance.language.traditional_chinese":"繁体中文","settings.appearance.language.japanese":"日语","settings.appearance.language.korean":"韩语","settings.appearance.currency.label":"货币","settings.appearance.currency.hint":"选择用量成本的显示币种。","settings.appearance.currency.opt.usd":"美元 ($)","settings.appearance.currency.opt.eur":"欧元 (€)","settings.appearance.currency.opt.gbp":"英镑 (£)","settings.appearance.currency.opt.cny":"人民币 (¥)","settings.appearance.currency.opt.jpy":"日元 (¥)","settings.appearance.currency.opt.hkd":"港币 (HK$)","settings.appearance.currency.rate_source.default":"内置默认汇率","settings.appearance.currency.rate_source.fetched":"数据源:open.er-api.com","settings.appearance.currency.rate_updated":"更新于 {{when}}","settings.appearance.currency.rate_never":"尚未刷新"},AP={"usage.overview.antigravity_notice_title":"Token 为估算值","usage.overview.antigravity_notice_body":"Antigravity 的本地日志没有真实用量字段,这里的数字是按字符长度(约 4 字符/Token)估算出来的,也没有扣除 Gemini 的 prompt cache 折扣。请把它当作上限估算,不要直接对账账单。","usage.period.last24h":"24h","stats.period.today":"今日","stats.period.last24h":"24h","stats.period.week":"本周","stats.period.month":"本月","stats.period.this_month":"本月","stats.period.all":"全部","stats.period.convs":"对话","dashboard.core_index.collapse_label":"▾","dashboard.core_index.expand_label":"▸","dashboard.core_index.collapse_aria":"折叠模型分解","dashboard.core_index.expand_aria":"展开模型细分","dashboard.rolling.title":"最近的活动","dashboard.rolling.last_7d":"过去 7 天","dashboard.rolling.last_30d":"过去 30 天","dashboard.rolling.avg_active_day":"日平均","dashboard.projects.title":"项目用量","dashboard.projects.tokens_label":"Token","dashboard.projects.stars_label":"星标","dashboard.projects.limit_label":"展示","dashboard.projects.limit_aria":"选择仓库显示数量","dashboard.projects.limit_top_3":"前 3 名","dashboard.projects.limit_top_6":"前 6 名","dashboard.projects.limit_top_10":"前 10 名","dashboard.projects.empty":"没有公开仓库","dashboard.widgets.title":"桌面小组件","dashboard.widgets.hint":"右键点按桌面 → 编辑小组件 → 搜索“TokenTracker”","dashboard.widgets.dismiss_aria":"关闭小组件介绍","dashboard.cost_breakdown.title":"成本明细","dashboard.cost_breakdown.total_label":"预计总成本","dashboard.cost_breakdown.close":"关闭","trend.monitor.label":"使用趋势","trend.zoom.open_aria":"展开全屏","trend.zoom.close_aria":"关闭","trend.zoom.badge":"趋势洞察","trend.zoom.desc":"悬停任意柱子查看 token、成本与对话数。切换粒度可从月份下钻到半小时。","trend.zoom.insight_badge":"洞察","trend.zoom.tooltip.cost":"成本","trend.zoom.tooltip.conversations":"对话","trend.zoom.stats.tokens":"Token 总量","trend.zoom.stats.cost":"总成本","trend.zoom.stats.conversations":"对话数","trend.zoom.stats.peak":"峰值时段","trend.zoom.gran.aria":"粒度","trend.zoom.gran.30min":"30 分钟","trend.zoom.gran.day":"天","trend.zoom.gran.month":"月","trend.zoom.prev_day":"前一天","trend.zoom.next_day":"后一天","trend.zoom.loading":"加载中…","trend.zoom.pick_day":"选择日期","trend.zoom.pick_range":"选择日期范围","trend.zoom.insight.empty":"一段安静的时光,没有一个 token 流过。","trend.zoom.insight.calm":"轻描淡写。模型大多在待命,只在你需要时才醒来搭把手。","trend.zoom.insight.steady":"{{active}} 个活跃时段里节奏平稳,峰值 {{peak}}。是那种不声不响就把事情交付掉的节奏。","trend.zoom.insight.heavy":"火力全开:{{active}} 个时段持续高热,峰值冲到 {{peak}}。这是自己制造势能、而非等待灵感的人的产出。","trend.zoom.insight.massive":"工业级别。{{peak}} 的峰值,吞吐从不降温。到这个量级,你已经不是在用模型,而是在运营一座工厂。","heatmap.title":"热力图","heatmap.empty":"尚无活动数据。","heatmap.legend.less":"少","heatmap.legend.more":"多","heatmap.legend.utc":"UTC","heatmap.tooltip":"{{day}} • {{value}} {{unit}} • {{tz}}","heatmap.unit.tokens":"Token","heatmap.month.jan":"1月","heatmap.month.feb":"2月","heatmap.month.mar":"3月","heatmap.month.apr":"4月","heatmap.month.may":"5月","heatmap.month.jun":"6月","heatmap.month.jul":"7月","heatmap.month.aug":"8月","heatmap.month.sep":"9月","heatmap.month.oct":"10月","heatmap.month.nov":"11月","heatmap.month.dec":"12月","heatmap.day.sun":"日","heatmap.day.mon":"一","heatmap.day.tue":"二","heatmap.day.wed":"三","heatmap.day.thu":"四","heatmap.day.fri":"五","heatmap.day.sat":"六","dashboard.session_expired.copy_label":"运行 npx --yes @ipv9/tokentracker-cli init","dashboard.session_expired.copied":"已复制","dashboard.install.prompt":"安装 Node.js 18+ 然后运行:","dashboard.install.cmd.init":"npx --yes @ipv9/tokentracker-cli init","dashboard.install.cmd.init_link_code":"npx --yes @ipv9/tokentracker-cli init --link-code {{link_code}}","dashboard.install.copy":"复制安装命令","dashboard.install.copy_base":"复制初始化命令","dashboard.install.copied":"已复制到剪贴板","dashboard.install.link_code.loading":"正在生成专属代码...","dashboard.install.link_code.failed":"专属代码不可用","dashboard.install.cmd.sync":"npx --yes @ipv9/tokentracker-cli sync","dashboard.daily.title":"每日细目","dashboard.daily.empty":"还没有数据。先使用 AI CLI,再运行 {{cmd}}。","dashboard.identity.title":"你的个人资料","dashboard.identity.subtitle":"记录你的编码之旅","dashboard.identity.fallback":"匿名用户","dashboard.screenshot.title_line1":"AI 编程助手","dashboard.screenshot.title_line2":"2025 年度回顾","heatmap.3d.hover_tip":"点击进入 3D 全屏旋转分析模式","heatmap.3d.modal.title":"Token 三维透视","heatmap.3d.modal.desc":"按住左键拖拽可任意旋转,悬浮感知每日活跃数据与多维统计。","heatmap.3d.modal.stats.total_tokens":"年度 Token 总量","heatmap.3d.modal.stats.precision_total_tokens":"精准年消耗量","heatmap.3d.modal.stats.estimated_cost":"年度估算费用","heatmap.3d.modal.stats.active_rate_days":"活跃占比 / 天数","heatmap.3d.modal.stats.max_streak":"最长连续活跃","heatmap.3d.modal.stats.days_suffix":"天","heatmap.3d.modal.stats.peak_day":"单日峰值暴击","heatmap.3d.modal.stats.precision_peak_value":"精确单日峰值","heatmap.3d.modal.stats.no_data":"无数据","heatmap.3d.modal.legend.title":"活跃度层级","heatmap.3d.modal.palette.emerald":"翡翠之城","heatmap.3d.modal.palette.ocean":"深海浩瀚","heatmap.3d.modal.palette.neon":"赛博霓虹","heatmap.3d.modal.palette.amber":"烈焰余晖","heatmap.3d.modal.control.play":"启动慢速自转","heatmap.3d.modal.control.pause":"暂停自动旋转","heatmap.3d.modal.control.reset":"重置 3D 视角","heatmap.3d.modal.footer.tip":"双指缩放 / 滚轮缩放 / 鼠标拖拽旋转 3D 图表","heatmap.3d.modal.ai.title.default":"持之以恒的行者","heatmap.3d.modal.ai.eval.default":"在技术的长河中持之以恒。也许日常的编码并不总是波澜壮阔,但每一个微小的活跃点都在记录着您的思考与探索。星火成留,终将汇聚成属于您的数字海洋。","heatmap.3d.modal.ai.title.peak":"极限活跃级贡献者","heatmap.3d.modal.ai.eval.peak":"这一年中,您的 Token 产出表现出极高的工程密度。如此规模的开发量相当于深度参与了中大型系统底座的重构,每一次击键都在将复杂的逻辑收敛为确定性的代码。这是极度专注与纯粹工程热爱的最好印证。","heatmap.3d.modal.ai.title.heavy":"高频产出级开发者","heatmap.3d.modal.ai.eval.heavy":"卓越的持续输出。您的 Token 累积量已达数百万字,相当于数十部中篇技术巨著的体量。高饱和度的编码节奏表明您正在以极高的执行力构建属于您的数字资产,展现了卓越的创造力。","heatmap.3d.modal.ai.title.core":"核心生产力专家","heatmap.3d.modal.ai.eval.core":"极具韧性的长期投入。在过去的一年中,您在较长周期内稳定保持着高强度的开发节奏。您用扎实的代码行数与 Token 产出,默默筑起了项目的核心架构,是当之无愧的工程支柱。","heatmap.3d.modal.ai.title.steady":"稳健成长型工程师","heatmap.3d.modal.ai.eval.steady":"踏实而坚定的技术积累。每一次 Token 的递增,都是您在坚实地砌下通往未来的代码基石。这种细水长流的稳健节奏,往往是一个优秀开发者通往工程大师的必经之路。","heatmap.3d.voxel.joke.1":"🔥 极度疯狂!产出 {{value}} tokens!你是在疯狂训练大模型,还是手撸了一个编译器?","heatmap.3d.voxel.joke.2":"🚀 史诗级输出!共 {{value}} tokens。今日产出可绕地球一圈,AI 都在为你惊叹!","heatmap.3d.voxel.joke.3":"⚡ 爆击日!{{value}} tokens。代码如泉涌,键盘已经开始冒烟了!","heatmap.3d.voxel.level3":"⚡ 生产力大爆发({{value}} tokens)!高效专注的黄金时刻,继续保持这个巅峰状态!","heatmap.3d.voxel.level2":"🌱 渐入佳境({{value}} tokens)!稳步产出,每一次敲击键盘都是在为大厦添砖加瓦。","heatmap.3d.voxel.level1":"🍃 聚沙成塔({{value}} tokens)。微小的提交也是对未来的投资,保持复利的力量!","heatmap.3d.voxel.level0":"💤 养精蓄锐。在不写代码的日子里,灵感也在悄悄生长。","ipcheck.page.title":"Claude IP 检测","ipcheck.page.subtitle":"查看当前访问 Claude 的出口 IP、纯净度、地理与风险信号,识别可能影响登录或触发风控的因素。","ipcheck.mask.toggle":"隐藏 IP","ipcheck.ipv6.warn":"当前为 IPv6 环境,不建议用 IPv6 访问 Claude Code,部分检测结果可能不完整。","ipcheck.ip.cn":"中国出口 IPv4","ipcheck.ip.cloudflare":"Cloudflare 出口","ipcheck.ip.claude":"Claude 出口","ipcheck.ip.failed":"获取失败","ipcheck.ip.loading":"加载中...","ipcheck.trust.title":"信任评分","ipcheck.trust.subtitle":"Claude 风控视角下的 IP 纯净度","ipcheck.trust.no_data":"无数据","ipcheck.trust.no_ip":"未获取到 Claude 出口 IP,无法评分","ipcheck.trust.no_score":"该 IP 暂无评分数据","ipcheck.trust.gauge.low":"0 高危","ipcheck.trust.gauge.high":"100 可信","ipcheck.trust.label.pristine":"极度纯净","ipcheck.trust.label.clean":"纯净","ipcheck.trust.label.good":"良好","ipcheck.trust.label.neutral":"中性","ipcheck.trust.label.suspicious":"可疑","ipcheck.trust.label.unreachable":"不可访问","ipcheck.trust.text.excellent":"该 IP 信誉极好","ipcheck.trust.text.great":"该 IP 信誉优异","ipcheck.trust.text.minor":"该 IP 存在轻微风险","ipcheck.trust.text.moderate":"该 IP 存在一定风险","ipcheck.trust.text.severe":"该 IP 风险极高","ipcheck.trust.text.restricted":"处于不可访问区域,Claude 会严格风控","ipcheck.trust.region_warn.title":"Claude 出口 IP 位于 {{region}}","ipcheck.trust.region_warn.body":"不建议登录 Claude,容易触发封号风控。","ipcheck.trust.region_support":"Claude 支持地区","ipcheck.trust.region.accessible":"可访问","ipcheck.common.unknown":"未知","ipcheck.props.title":"IP 属性","ipcheck.props.region":"地区","ipcheck.props.city":"城市","ipcheck.props.type":"类型","ipcheck.props.asn":"ASN","ipcheck.props.org":"运营商","ipcheck.props.residential":"家庭住宅","ipcheck.props.datacenter":"机房","ipcheck.security.title":"安全检测","ipcheck.security.vpn":"VPN","ipcheck.security.proxy":"代理 (Proxy)","ipcheck.security.tor":"Tor","ipcheck.security.crawler":"机器人 (Crawler)","ipcheck.security.abuser":"滥用记录","ipcheck.security.proxy_flag":"代理","ipcheck.security.crawler_yes":"是","ipcheck.security.crawler_no":"否","ipcheck.security.abuser_yes":"有记录","ipcheck.security.abuser_no":"无记录","ipcheck.security.clean":"未检测到","ipcheck.avail.title":"Claude 可用性","ipcheck.avail.tooltip":"Claude 服务器在美国,从亚洲访问延迟超过 100ms 属于正常情况。","ipcheck.avail.refresh":"刷新","ipcheck.avail.svc_row":"服务状态","ipcheck.avail.latency.normal":"正常","ipcheck.avail.latency.good":"良好","ipcheck.avail.latency.slow":"较慢","ipcheck.avail.latency.unreachable":"不可访问","ipcheck.avail.svc.none":"全部正常","ipcheck.avail.svc.minor":"轻微故障","ipcheck.avail.svc.major":"重大故障","ipcheck.avail.svc.critical":"严重故障","ipcheck.avail.svc.maintenance":"维护中","ipcheck.avail.svc.other":"服务异常","ipcheck.dns.title":"DNS 泄露检测","ipcheck.dns.status":"状态","ipcheck.dns.outlet":"DNS 出口","ipcheck.dns.outlet_ip":"DNS 出口 IP","ipcheck.dns.isp":"服务商","ipcheck.dns.leaked":"可能泄露","ipcheck.dns.no_leak":"未检测到泄露","ipcheck.dns.encrypted":"DNS 加密或未暴露","ipcheck.dns.cn_tag":"中国 DNS","ipcheck.udp.title":"WebRTC UDP 泄露","ipcheck.udp.status":"状态","ipcheck.udp.outlet":"UDP 出口","ipcheck.udp.outlet_ip":"UDP 出口 IP","ipcheck.udp.origin":"归属地","ipcheck.udp.disabled":"WebRTC 已禁用","ipcheck.udp.no_leak":"未检测到泄露","ipcheck.udp.leaked":"可能泄露","ipcheck.udp.anomaly":"异常","ipcheck.device.title":"设备信息","ipcheck.device.tz":"时区","ipcheck.device.lang":"语言","ipcheck.device.os":"操作系统 / 浏览器","ipcheck.device.touch":"触屏","ipcheck.device.net":"网络类型","ipcheck.device.dnt":"Do Not Track","ipcheck.device.webgl_render":"WebGL 渲染器","ipcheck.device.canvas_fp":"Canvas 指纹","ipcheck.device.webgl_fp":"WebGL 指纹","ipcheck.device.match":"一致","ipcheck.device.mismatch":"不一致","ipcheck.device.local":"本地","ipcheck.device.estimate_suffix":"(估算)","ipcheck.device.diff_equal":"偏移略有差异","ipcheck.device.diff_ahead":"Claude 快 {{h}} 小时","ipcheck.device.diff_behind":"Claude 慢 {{h}} 小时","ipcheck.device.lang_expected":"Claude 出口常用","ipcheck.device.touch_yes":"是","ipcheck.device.touch_no":"否","ipcheck.device.dnt_on":"已开启","ipcheck.device.dnt_off":"已关闭","ipcheck.device.dnt_unset":"未设置","ipcheck.device.net_unsupported":"不支持检测","ipcheck.device.unsupported":"不支持","ipcheck.history.title":"Claude 出口 IP 历史","ipcheck.history.subtitle":"仅本地存储于浏览器,最多保留 6 条","ipcheck.history.clear":"清除","ipcheck.history.empty":"暂无历史记录","ipcheck.history.current":"当前","ipcheck.region.CN":"中国大陆","ipcheck.region.HK":"香港","ipcheck.region.MO":"澳门","ipcheck.region.RU":"俄罗斯","ipcheck.region.KP":"朝鲜","ipcheck.region.IR":"伊朗","ipcheck.region.SY":"叙利亚","ipcheck.region.CU":"古巴","ipcheck.region.BY":"白俄罗斯","ipcheck.region.VE":"委内瑞拉","local_only.title":"请在客户端内使用","local_only.body":"这个页面读取的是你本机上的数据,所以只能在 Mac app 或命令行 dashboard 里查看。","local_only.open_app":"在 Mac app 内打开","local_only.download":"下载 Mac app","dashboard.auth_gate.title":"登录 Token Tracker","dashboard.auth_gate.subtitle":"登录以在云端同步并查看您的 API 使用量、成本和 Token 消耗趋势。","dashboard.auth_gate.button":"立即登录","shared.app_name":"Token Tracker","dashboard.auth_gate.hero_title":"让 AI 代理的每一笔 Token 消耗","dashboard.auth_gate.hero_subtitle":"清晰透明、多端无缝掌控","dashboard.auth_gate.desc":"为您在纯云端安全同步来自 Claude Code、Cursor、Gemini CLI 等全平台主流代理的 Token 额度、并发费用及耗时统计,提供前所未有的全景可视化数据分析。","dashboard.auth_gate.feature.sync.title":"实时云端同步","dashboard.auth_gate.feature.sync.desc":"全自动采集各端代理的开销,并在您的私人云盘中秒级安全归档。","dashboard.auth_gate.feature.anal.title":"多维看板分析","dashboard.auth_gate.feature.anal.desc":"按模型分类、时间跨度统计 Token 分布,随时追溯开销尖峰及用量结构。","dashboard.auth_gate.feature.guard.title":"本地直连免登","dashboard.auth_gate.feature.guard.desc":"在 Localhost 模式下自动跳过所有登录验证,完美保护本地离线调试体验。"},MP={"shared.placeholder.short":"--","shared.unit.percent":"%","shared.unit.thousand_abbrev":"K","shared.unit.million_abbrev":"M","shared.unit.billion_abbrev":"B","shared.data_source":"資料來源:{{source}}","shared.error.prefix":"錯誤:{{error}}","shared.status.unsynced":"—","shared.time.now":"剛剛","error.boundary.title":"出了點問題","error.boundary.subtitle":"這個檢視渲染失敗了","error.boundary.hint":"開啟控制台,然後重新載入頁面","error.boundary.no_details":"沒有錯誤詳細資訊","error.boundary.action.reload":"重新載入","identity_card.rank_label":"排名","identity_card.streak_label":"活躍天數","identity_card.rank_placeholder":"—","identity_card.streak_value":"{{days}} 天","usage.summary.total":"Token 總數","usage.summary.updated_at":"更新於 {{timestamp}}","usage.period.day":"日","usage.period.week":"周","usage.period.month":"月","usage.period.total":"總計","usage.period.custom":"自定義","usage.metric.total":"總計","usage.metric.input":"輸入","usage.metric.output":"輸出","usage.metric.cached_input":"快取輸入","usage.metric.reasoning_output":"推理輸出","usage.button.refresh":"重新整理","usage.overview.tablist_aria":"時間範圍","usage.auto_refresh.aria":"自動重新整理間隔","usage.auto_refresh.off":"關閉","usage.auto_refresh.30s":"30 秒","usage.auto_refresh.60s":"60 秒","usage.auto_refresh.120s":"120 秒","usage.overview.cost_breakdown_aria":"檢視成本明細","usage.overview.distribution_aria":"來源佔比:{{items}}","usage.overview.distribution_item":"{{label}} {{percent}}%","usage.overview.provider_card_aria":"{{provider}}:{{percent}}%,{{tokens}} Token,{{cost}}。點選{{action}}詳情","usage.overview.expand":"展開","usage.overview.collapse":"收起","usage.overview.model_count":"{{count}} 個模型","usage.overview.model_details_aria":"{{provider}} 模型詳情","widgets.page.title":"元件","widgets.cta.open_gallery":"開啟小元件庫","widgets.cta.download":"下載 Mac 應用","widgets.cta.macos_only":"僅限 macOS","widgets.menubar.section.title":"選單欄","widgets.gallery.section.title":"桌面小元件","widgets.summary.name":"使用概覽","widgets.summary.description":"今天和近 7 天的用量,以及緊湊趨勢線。","widgets.heatmap.name":"熱力圖","widgets.heatmap.description":"像 GitHub 一樣,一眼看清活躍和空閒的日子。","widgets.topModels.name":"熱門模型","widgets.topModels.description":"你最常用的模型,按 Token 佔比排序。","widgets.limits.name":"使用限制","widgets.limits.description":"Claude、Codex、Cursor、Gemini 等的即時速率限制進度。","daily.sort.date.label":"日期","daily.sort.date.title":"按日期排序","daily.sort.total.label":"總計","daily.sort.total.title":"按總計排序","daily.sort.input.label":"輸入","daily.sort.input.title":"按輸入排序","daily.sort.output.label":"輸出","daily.sort.output.title":"按輸出排序","daily.sort.cached.label":"快取","daily.sort.cached.title":"按快取輸入排序","daily.sort.reasoning.label":"推理","daily.sort.reasoning.title":"按推理輸出排序","daily.sort.conversations.label":"對話數","daily.sort.conversations.title":"按對話排序","details.pagination.prev":"上一頁","details.pagination.next":"下一頁","limits.copilot.otelHint.title":"跟蹤 Copilot Token 使用情況","limits.copilot.otelHint.body":"限額資訊通過你的 GitHub OAuth 令牌讀取。如果還想記錄逐 Token 用量,請啟用 Copilot 的 OpenTelemetry 匯出,把下面這段加到你的 shell 配置檔案(~/.zshrc 或 ~/.bashrc):","limits.copilot.otelHint.copy":"複製","limits.copilot.otelHint.copied":"已複製","limits.panel.title":"使用限制","limits.panel.mode_separator":" · ","limits.label.cursor_plan":"套餐","limits.label.cursor_auto":"自動","limits.label.cursor_api":"API","limits.label.kiro_month":"月度","limits.label.kiro_bonus":"獎勵","limits.label.kimi_weekly":"周","limits.label.kimi_5h":"5h","limits.label.kimi_total":"總量","limits.label.kimi_parallel":"併發:{{count}}","limits.label.copilot_premium":"高階","limits.label.copilot_chat":"對話","limits.status.not_connected":"未連線","limits.status.no_data":"未返回即時限額資料","limits.status.all_hidden":"所有限額提供商都已隱藏。請開啟顯示設定重新顯示。","nav.usage":"用量","nav.limits":"限額","nav.widgets":"小元件","nav.skills":"Skills","nav.collapse":"摺疊側邊欄","nav.expand":"展開側邊欄","nav.menu":"開啟導航選單","nav.close_menu":"關閉導航選單","nav.aside_label":"主導航","nav.nav_label":"導航","nav.version":"Token Tracker 版本 {{version}}","limits.page.subtitle":"AI 工具的速率限制和配額使用情況。","limits.settings.toggle_visible":"切換可見性","limits.settings.display_mode_label":"用量","limits.settings.display_mode_used":"已用","limits.settings.display_mode_remaining":"剩餘","limits.page.openSettings":"顯示設定","nav.group.general":"常規","nav.group.tools":"工具","nav.group.account":"賬戶","nav.settings":"設定","settings.page.title":"設定","settings.page.subtitle":"管理你的賬戶、外觀和顯示偏好。","settings.section.appearance":"外觀","settings.section.account":"賬戶","settings.section.limits":"限制顯示","settings.appearance.theme.label":"主題","settings.appearance.theme.hint":"選擇 Token Tracker 在儀表盤中的顯示方式。","settings.appearance.theme.light":"淺色","settings.appearance.theme.dark":"深色","settings.appearance.theme.system":"系統","settings.section.menubar":"選單欄應用","settings.menubar.showStats":"在選單欄中顯示統計資訊","settings.menubar.showStatsHint":"在選單欄圖示旁邊顯示今天的Token 數量和成本。","settings.menubar.animatedIcon":"動畫圖示","settings.menubar.animatedIconHint":"閃爍 Clawd 角色並在選單欄中播放同步動畫。","settings.menubar.launchAtLogin":"登入時啟動","settings.menubar.launchAtLoginHint":"登入 macOS 時自動啟動 TokenTrackerBar。","settings.menubar.syncNow":"立即同步","settings.menubar.syncNowHint":"觸發本地AI工具日誌立即解析並上傳。","settings.menubar.syncing":"正在同步...","settings.menubar.updates":"更新","settings.menubar.checkUpdates":"檢查更新","menubar.slot.primary":"第一個位置","menubar.slot.secondary":"第二個位置","menubar.native_only":"開啟 macOS 版 TokenTrackerBar 後可編輯選單欄顯示。","menubar.metric.today_tokens":"今日 Token","menubar.metric.today_cost":"今日成本","menubar.metric.last_7d_tokens":"近 7 天 Token","menubar.metric.this_month_tokens":"本月 Token","menubar.metric.total_tokens":"總 Token","menubar.metric.total_cost":"總成本","menubar.metric.claude_5h":"Claude 5 小時限額","menubar.metric.claude_7d":"Claude 7 天限額","menubar.metric.codex_5h":"Codex 5 小時限額","menubar.metric.codex_7d":"Codex 7 天限額","nav.ip_check":"Claude IP 檢查","skills.page.title":"Skills","skills.tab.my":"我的","skills.tab.browse":"發現","skills.action.refresh":"重新整理","skills.action.install":"安裝","skills.action.choose_targets":"選擇目標","skills.target.menu_label":"安裝到","skills.target.none":"未選目標","skills.toast.installed":"已把 {{name}} 安裝到 {{targets}}。","skills.action.remove":"移除","skills.action.search":"搜尋","skills.action.search_aria":"搜尋 skills","skills.target.synced_summary":"已同步到 {{targets}}","skills.target.synced_none":"尚未同步到任何 agent","skills.row.open_details":"檢視 {{name}} 詳情","skills.detail.close":"關閉詳情","skills.detail.sync_section_title":"同步到","skills.detail.remove_button":"從所有 agent 移除","skills.detail.remove_confirm_hint":"這會從每個 agent 取消同步並刪除本地副本。","skills.filter.agent_label":"Agent","skills.filter.agent_all":"全部 agent","skills.filter.clear":"清除篩選","skills.filter.result_count":"{{filtered}} / {{total}} 個 skill","skills.filter.result_count_browse":"{{count}} 個結果","skills.empty.no_match":"當前篩選下沒有匹配的 skill。","hint.dismiss":"關閉提示","hint.dismissible_aria":"可關閉的提示","skills.card.installed":"已安裝","skills.card.targets_prefix":"將安裝到:","skills.card.targets_change":"更改","skills.card.installs":"{{count}} 次安裝","skills.source.label":"來源","skills.source.all":"全部倉庫","skills.mode.repo":"倉庫","skills.mode.skillssh":"skills.sh","skills.browse.placeholder_all":"在已啟用的倉庫裡搜尋…","skills.browse.placeholder_repo":"在 {{repo}} 中搜索…","skills.browse.placeholder_skillssh":"在 skills.sh 倉庫中搜索…","skills.browse.empty_sources":"新增一個 GitHub 倉庫以開始瀏覽技能。","skills.browse.add_repo_hint":"想要更多 skill?新增一個 GitHub 倉庫。","skills.browse.manage_sources":"管理來源","skills.browse.hint_skillssh":"至少輸入 2 個字元以搜尋 skills.sh。","skills.browse.loading_hint":"正在從 GitHub 拉取 skill 資訊,首次載入可能需要一分鐘,結果會快取。","skills.error.generic":"Skill 操作失敗。","skills.confirm.remove_title":"要移除 {{name}} 嗎?","skills.confirm.remove_managed":"這個 skill 將從所有已連線的 AI 工具中移除,幾秒內可以撤銷。","skills.confirm.remove_local":"將從所有 AI 工具目錄中刪除該 skill 資料夾。此操作無法撤銷。","skills.toast.removed":"已移除 {{name}}。","shared.action.undo":"撤銷","shared.action.cancel":"取消","shared.action.apply":"套用","skills.empty.my":"還沒有 skill。去「發現」搜尋或安裝。","skills.empty.my_cta":"去發現","skills.empty.browse":"這個來源下沒有找到技能。","skills.empty.search":"沒有結果,換個關鍵詞試試。","skills.repo.placeholder":"owner/repository","skills.repo.add":"新增倉庫","skills.repo.invalid":"請輸入 owner/repository 或 GitHub 倉庫 URL。","skills.repo.remove":"移除倉庫","settings.appearance.language.label":"語言","settings.appearance.language.hint":"使用“系統”時會預設跟隨本機語言。","settings.appearance.language.system":"系統","settings.appearance.language.english":"英語","settings.appearance.language.chinese":"簡體中文","settings.appearance.language.traditional_chinese":"繁體中文","settings.appearance.language.japanese":"日語","settings.appearance.language.korean":"韓語","settings.appearance.currency.label":"貨幣","settings.appearance.currency.hint":"選擇用量成本的顯示幣種。","settings.appearance.currency.opt.usd":"美元 ($)","settings.appearance.currency.opt.eur":"歐元 (€)","settings.appearance.currency.opt.gbp":"英鎊 (£)","settings.appearance.currency.opt.cny":"人民幣 (¥)","settings.appearance.currency.opt.jpy":"日元 (¥)","settings.appearance.currency.opt.hkd":"港幣 (HK$)","settings.appearance.currency.rate_source.default":"內建預設匯率","settings.appearance.currency.rate_source.fetched":"資料來源:open.er-api.com","settings.appearance.currency.rate_updated":"更新於 {{when}}","settings.appearance.currency.rate_never":"尚未重新整理"},LP={"usage.overview.antigravity_notice_title":"Token 為估算值","usage.overview.antigravity_notice_body":"Antigravity 的本地日誌沒有真實用量欄位,這裡的數字是按字元長度(約 4 字元/Token)估算出來的,也沒有扣除 Gemini 的 prompt cache 折扣。請把它當作上限估算,不要直接對賬賬單。","usage.period.last24h":"24h","stats.period.today":"今日","stats.period.last24h":"24h","stats.period.week":"本週","stats.period.month":"本月","stats.period.this_month":"本月","stats.period.all":"全部","stats.period.convs":"對話","dashboard.core_index.collapse_label":"▾","dashboard.core_index.expand_label":"▸","dashboard.core_index.collapse_aria":"摺疊模型分解","dashboard.core_index.expand_aria":"展開模型細分","dashboard.rolling.title":"最近的活動","dashboard.rolling.last_7d":"過去 7 天","dashboard.rolling.last_30d":"過去 30 天","dashboard.rolling.avg_active_day":"日平均","dashboard.projects.title":"專案用量","dashboard.projects.tokens_label":"Token","dashboard.projects.stars_label":"星標","dashboard.projects.limit_label":"展示","dashboard.projects.limit_aria":"選擇倉庫顯示數量","dashboard.projects.limit_top_3":"前 3 名","dashboard.projects.limit_top_6":"前 6 名","dashboard.projects.limit_top_10":"前 10 名","dashboard.projects.empty":"沒有公開倉庫","dashboard.widgets.title":"桌面小元件","dashboard.widgets.hint":"右鍵點按桌面 → 編輯小元件 → 搜尋“TokenTracker”","dashboard.widgets.dismiss_aria":"關閉小元件介紹","dashboard.cost_breakdown.title":"成本明細","dashboard.cost_breakdown.total_label":"預計總成本","dashboard.cost_breakdown.close":"關閉","trend.monitor.label":"使用趨勢","trend.zoom.open_aria":"展開全螢幕","trend.zoom.close_aria":"關閉","trend.zoom.badge":"趨勢洞察","trend.zoom.desc":"懸停任一長條查看 token、成本與對話數。切換粒度可從月份下鑽到半小時。","trend.zoom.insight_badge":"洞察","trend.zoom.tooltip.cost":"成本","trend.zoom.tooltip.conversations":"對話","trend.zoom.stats.tokens":"Token 總量","trend.zoom.stats.cost":"總成本","trend.zoom.stats.conversations":"對話數","trend.zoom.stats.peak":"峰值時段","trend.zoom.gran.aria":"粒度","trend.zoom.gran.30min":"30 分鐘","trend.zoom.gran.day":"天","trend.zoom.gran.month":"月","trend.zoom.prev_day":"前一天","trend.zoom.next_day":"後一天","trend.zoom.loading":"載入中…","trend.zoom.pick_day":"選擇日期","trend.zoom.pick_range":"選擇日期範圍","trend.zoom.insight.empty":"一段安靜的時光,沒有一個 token 流過。","trend.zoom.insight.calm":"輕描淡寫。模型大多在待命,只在你需要時才醒來搭把手。","trend.zoom.insight.steady":"{{active}} 個活躍時段裡節奏平穩,峰值 {{peak}}。是那種不聲不響就把事情交付掉的節奏。","trend.zoom.insight.heavy":"火力全開:{{active}} 個時段持續高熱,峰值衝到 {{peak}}。這是自己製造勢能、而非等待靈感的人的產出。","trend.zoom.insight.massive":"工業級別。{{peak}} 的峰值,吞吐從不降溫。到這個量級,你已經不是在用模型,而是在營運一座工廠。","heatmap.title":"熱力圖","heatmap.empty":"尚無活動資料。","heatmap.legend.less":"少","heatmap.legend.more":"多","heatmap.legend.utc":"UTC","heatmap.tooltip":"{{day}} • {{value}} {{unit}} • {{tz}}","heatmap.unit.tokens":"Token","heatmap.month.jan":"1月","heatmap.month.feb":"2月","heatmap.month.mar":"3月","heatmap.month.apr":"4月","heatmap.month.may":"5月","heatmap.month.jun":"6月","heatmap.month.jul":"7月","heatmap.month.aug":"8月","heatmap.month.sep":"9月","heatmap.month.oct":"10月","heatmap.month.nov":"11月","heatmap.month.dec":"12月","heatmap.day.sun":"日","heatmap.day.mon":"一","heatmap.day.tue":"二","heatmap.day.wed":"三","heatmap.day.thu":"四","heatmap.day.fri":"五","heatmap.day.sat":"六","dashboard.session_expired.copy_label":"執行 npx --yes @ipv9/tokentracker-cli init","dashboard.session_expired.copied":"已複製","dashboard.install.prompt":"安裝 Node.js 18+ 然後執行:","dashboard.install.cmd.init":"npx --yes @ipv9/tokentracker-cli init","dashboard.install.cmd.init_link_code":"npx --yes @ipv9/tokentracker-cli init --link-code {{link_code}}","dashboard.install.copy":"複製安裝命令","dashboard.install.copy_base":"複製初始化命令","dashboard.install.copied":"已複製到剪貼簿","dashboard.install.link_code.loading":"正在生成專屬程式碼...","dashboard.install.link_code.failed":"專屬程式碼不可用","dashboard.install.cmd.sync":"npx --yes @ipv9/tokentracker-cli sync","dashboard.daily.title":"每日細目","dashboard.daily.empty":"還沒有資料。先使用 AI CLI,再執行 {{cmd}}。","dashboard.identity.title":"你的個人資料","dashboard.identity.subtitle":"記錄你的編碼之旅","dashboard.identity.fallback":"匿名使用者","dashboard.screenshot.title_line1":"AI 程式設計助手","dashboard.screenshot.title_line2":"2025 年度回顧","heatmap.3d.hover_tip":"點選進入 3D 全屏旋轉分析模式","heatmap.3d.modal.title":"Token 三維透視","heatmap.3d.modal.desc":"按住左鍵拖拽可任意旋轉,懸浮感知每日活躍資料與多維統計。","heatmap.3d.modal.stats.total_tokens":"年度 Token 總量","heatmap.3d.modal.stats.precision_total_tokens":"精準年消耗量","heatmap.3d.modal.stats.estimated_cost":"年度估算費用","heatmap.3d.modal.stats.active_rate_days":"活躍佔比 / 天數","heatmap.3d.modal.stats.max_streak":"最長連續活躍","heatmap.3d.modal.stats.days_suffix":"天","heatmap.3d.modal.stats.peak_day":"單日峰值暴擊","heatmap.3d.modal.stats.precision_peak_value":"精確單日峰值","heatmap.3d.modal.stats.no_data":"無資料","heatmap.3d.modal.legend.title":"活躍度層級","heatmap.3d.modal.palette.emerald":"翡翠之城","heatmap.3d.modal.palette.ocean":"深海浩瀚","heatmap.3d.modal.palette.neon":"賽博霓虹","heatmap.3d.modal.palette.amber":"烈焰餘暉","heatmap.3d.modal.control.play":"啟動慢速自轉","heatmap.3d.modal.control.pause":"暫停自動旋轉","heatmap.3d.modal.control.reset":"重置 3D 視角","heatmap.3d.modal.footer.tip":"雙指縮放 / 滾輪縮放 / 滑鼠拖拽旋轉 3D 圖表","heatmap.3d.modal.ai.title.default":"持之以恆的行者","heatmap.3d.modal.ai.eval.default":"在技術的長河中持之以恆。也許日常的編碼並不總是波瀾壯闊,但每一個微小的活躍點都在記錄著您的思考與探索。星火成留,終將匯聚成屬於您的數字海洋。","heatmap.3d.modal.ai.title.peak":"極限活躍級貢獻者","heatmap.3d.modal.ai.eval.peak":"這一年中,您的 Token 產出表現出極高的工程密度。如此規模的開發量相當於深度參與了中大型系統底座的重構,每一次擊鍵都在將複雜的邏輯收斂為確定性的程式碼。這是極度專注與純粹工程熱愛的最好印證。","heatmap.3d.modal.ai.title.heavy":"高頻產出級開發者","heatmap.3d.modal.ai.eval.heavy":"卓越的持續輸出。您的 Token 累積量已達數百萬字,相當於數十部中篇技術鉅著的體量。高飽和度的編碼節奏表明您正在以極高的執行力構建屬於您的數字資產,展現了卓越的創造力。","heatmap.3d.modal.ai.title.core":"核心生產力專家","heatmap.3d.modal.ai.eval.core":"極具韌性的長期投入。在過去的一年中,您在較長週期內穩定保持著高強度的開發節奏。您用紮實的程式碼行數與 Token 產出,默默築起了專案的核心架構,是當之無愧的工程支柱。","heatmap.3d.modal.ai.title.steady":"穩健成長型工程師","heatmap.3d.modal.ai.eval.steady":"踏實而堅定的技術積累。每一次 Token 的遞增,都是您在堅實地砌下通往未來的程式碼基石。這種細水長流的穩健節奏,往往是一個優秀開發者通往工程大師的必經之路。","heatmap.3d.voxel.joke.1":"🔥 極度瘋狂!產出 {{value}} tokens!你是在瘋狂訓練大模型,還是手擼了一個編譯器?","heatmap.3d.voxel.joke.2":"🚀 史詩級輸出!共 {{value}} tokens。今日產出可繞地球一圈,AI 都在為你驚歎!","heatmap.3d.voxel.joke.3":"⚡ 爆擊日!{{value}} tokens。程式碼如泉湧,鍵盤已經開始冒煙了!","heatmap.3d.voxel.level3":"⚡ 生產力大爆發({{value}} tokens)!高效專注的黃金時刻,繼續保持這個巔峰狀態!","heatmap.3d.voxel.level2":"🌱 漸入佳境({{value}} tokens)!穩步產出,每一次敲擊鍵盤都是在為大廈添磚加瓦。","heatmap.3d.voxel.level1":"🍃 聚沙成塔({{value}} tokens)。微小的提交也是對未來的投資,保持複利的力量!","heatmap.3d.voxel.level0":"💤 養精蓄銳。在不寫程式碼的日子裡,靈感也在悄悄生長。","ipcheck.page.title":"Claude IP 檢測","ipcheck.page.subtitle":"檢視當前訪問 Claude 的出口 IP、純淨度、地理與風險訊號,識別可能影響登入或觸發風控的因素。","ipcheck.mask.toggle":"隱藏 IP","ipcheck.ipv6.warn":"當前為 IPv6 環境,不建議用 IPv6 訪問 Claude Code,部分檢測結果可能不完整。","ipcheck.ip.cn":"中國出口 IPv4","ipcheck.ip.cloudflare":"Cloudflare 出口","ipcheck.ip.claude":"Claude 出口","ipcheck.ip.failed":"獲取失敗","ipcheck.ip.loading":"載入中...","ipcheck.trust.title":"信任評分","ipcheck.trust.subtitle":"Claude 風控視角下的 IP 純淨度","ipcheck.trust.no_data":"無資料","ipcheck.trust.no_ip":"未獲取到 Claude 出口 IP,無法評分","ipcheck.trust.no_score":"該 IP 暫無評分資料","ipcheck.trust.gauge.low":"0 高危","ipcheck.trust.gauge.high":"100 可信","ipcheck.trust.label.pristine":"極度純淨","ipcheck.trust.label.clean":"純淨","ipcheck.trust.label.good":"良好","ipcheck.trust.label.neutral":"中性","ipcheck.trust.label.suspicious":"可疑","ipcheck.trust.label.unreachable":"不可訪問","ipcheck.trust.text.excellent":"該 IP 信譽極好","ipcheck.trust.text.great":"該 IP 信譽優異","ipcheck.trust.text.minor":"該 IP 存在輕微風險","ipcheck.trust.text.moderate":"該 IP 存在一定風險","ipcheck.trust.text.severe":"該 IP 風險極高","ipcheck.trust.text.restricted":"處於不可訪問區域,Claude 會嚴格風控","ipcheck.trust.region_warn.title":"Claude 出口 IP 位於 {{region}}","ipcheck.trust.region_warn.body":"不建議登入 Claude,容易觸發封號風控。","ipcheck.trust.region_support":"Claude 支援地區","ipcheck.trust.region.accessible":"可訪問","ipcheck.common.unknown":"未知","ipcheck.props.title":"IP 屬性","ipcheck.props.region":"地區","ipcheck.props.city":"城市","ipcheck.props.type":"型別","ipcheck.props.asn":"ASN","ipcheck.props.org":"運營商","ipcheck.props.residential":"家庭住宅","ipcheck.props.datacenter":"機房","ipcheck.security.title":"安全檢測","ipcheck.security.vpn":"VPN","ipcheck.security.proxy":"代理 (Proxy)","ipcheck.security.tor":"Tor","ipcheck.security.crawler":"機器人 (Crawler)","ipcheck.security.abuser":"濫用記錄","ipcheck.security.proxy_flag":"代理","ipcheck.security.crawler_yes":"是","ipcheck.security.crawler_no":"否","ipcheck.security.abuser_yes":"有記錄","ipcheck.security.abuser_no":"無記錄","ipcheck.security.clean":"未檢測到","ipcheck.avail.title":"Claude 可用性","ipcheck.avail.tooltip":"Claude 伺服器在美國,從亞洲訪問延遲超過 100ms 屬於正常情況。","ipcheck.avail.refresh":"重新整理","ipcheck.avail.svc_row":"服務狀態","ipcheck.avail.latency.normal":"正常","ipcheck.avail.latency.good":"良好","ipcheck.avail.latency.slow":"較慢","ipcheck.avail.latency.unreachable":"不可訪問","ipcheck.avail.svc.none":"全部正常","ipcheck.avail.svc.minor":"輕微故障","ipcheck.avail.svc.major":"重大故障","ipcheck.avail.svc.critical":"嚴重故障","ipcheck.avail.svc.maintenance":"維護中","ipcheck.avail.svc.other":"服務異常","ipcheck.dns.title":"DNS 洩露檢測","ipcheck.dns.status":"狀態","ipcheck.dns.outlet":"DNS 出口","ipcheck.dns.outlet_ip":"DNS 出口 IP","ipcheck.dns.isp":"服務商","ipcheck.dns.leaked":"可能洩露","ipcheck.dns.no_leak":"未檢測到洩露","ipcheck.dns.encrypted":"DNS 加密或未暴露","ipcheck.dns.cn_tag":"中國 DNS","ipcheck.udp.title":"WebRTC UDP 洩露","ipcheck.udp.status":"狀態","ipcheck.udp.outlet":"UDP 出口","ipcheck.udp.outlet_ip":"UDP 出口 IP","ipcheck.udp.origin":"歸屬地","ipcheck.udp.disabled":"WebRTC 已停用","ipcheck.udp.no_leak":"未檢測到洩露","ipcheck.udp.leaked":"可能洩露","ipcheck.udp.anomaly":"異常","ipcheck.device.title":"裝置資訊","ipcheck.device.tz":"時區","ipcheck.device.lang":"語言","ipcheck.device.os":"作業系統 / 瀏覽器","ipcheck.device.touch":"觸屏","ipcheck.device.net":"網路型別","ipcheck.device.dnt":"Do Not Track","ipcheck.device.webgl_render":"WebGL 渲染器","ipcheck.device.canvas_fp":"Canvas 指紋","ipcheck.device.webgl_fp":"WebGL 指紋","ipcheck.device.match":"一致","ipcheck.device.mismatch":"不一致","ipcheck.device.local":"本地","ipcheck.device.estimate_suffix":"(估算)","ipcheck.device.diff_equal":"偏移略有差異","ipcheck.device.diff_ahead":"Claude 快 {{h}} 小時","ipcheck.device.diff_behind":"Claude 慢 {{h}} 小時","ipcheck.device.lang_expected":"Claude 出口常用","ipcheck.device.touch_yes":"是","ipcheck.device.touch_no":"否","ipcheck.device.dnt_on":"已開啟","ipcheck.device.dnt_off":"已關閉","ipcheck.device.dnt_unset":"未設定","ipcheck.device.net_unsupported":"不支援檢測","ipcheck.device.unsupported":"不支援","ipcheck.history.title":"Claude 出口 IP 歷史","ipcheck.history.subtitle":"僅本地儲存於瀏覽器,最多保留 6 條","ipcheck.history.clear":"清除","ipcheck.history.empty":"暫無歷史記錄","ipcheck.history.current":"當前","ipcheck.region.CN":"中國大陸","ipcheck.region.HK":"香港","ipcheck.region.MO":"澳門","ipcheck.region.RU":"俄羅斯","ipcheck.region.KP":"朝鮮","ipcheck.region.IR":"伊朗","ipcheck.region.SY":"敘利亞","ipcheck.region.CU":"古巴","ipcheck.region.BY":"白俄羅斯","ipcheck.region.VE":"委內瑞拉","local_only.title":"請在客戶端內使用","local_only.body":"這個頁面讀取的是你本機上的資料,所以只能在 Mac app 或命令列 dashboard 裡檢視。","local_only.open_app":"在 Mac app 內開啟","local_only.download":"下載 Mac app","dashboard.auth_gate.title":"登入 Token Tracker","dashboard.auth_gate.subtitle":"登入以在雲端同步並檢視您的 API 使用量、成本與 Token 消耗趨勢。","dashboard.auth_gate.button":"立即登入","shared.app_name":"Token Tracker","dashboard.auth_gate.hero_title":"讓 AI 代理的每一筆 Token 消耗","dashboard.auth_gate.hero_subtitle":"清晰透明、多端無縫掌控","dashboard.auth_gate.desc":"為您在純雲端安全同步來自 Claude Code、Cursor、Gemini CLI 等全平台主流代理的 Token 額度、並發費用及耗時統計,提供前所未有的全景可視化數據分析。","dashboard.auth_gate.feature.sync.title":"實時雲端同步","dashboard.auth_gate.feature.sync.desc":"全自動採集各端代理的開銷,並在您的私人雲盤中秒級安全歸檔。","dashboard.auth_gate.feature.anal.title":"多維看板分析","dashboard.auth_gate.feature.anal.desc":"按模型分類、時間跨度統計 Token 分布,隨時追溯開銷尖峰及用量結構。","dashboard.auth_gate.feature.guard.title":"本地直連免登","dashboard.auth_gate.feature.guard.desc":"在 Localhost 模式下自動跳過所有登錄驗證,完美保護本地離線調試體驗。"},NP={"shared.placeholder.short":"--","shared.unit.percent":"%","shared.unit.thousand_abbrev":"K","shared.unit.million_abbrev":"M","shared.unit.billion_abbrev":"B","shared.data_source":"データソース:{{source}}","shared.error.prefix":"エラー:{{error}}","shared.status.unsynced":"—","shared.time.now":"たった今","error.boundary.title":"問題が発生しました","error.boundary.subtitle":"このビューのレンダリングに失敗しました","error.boundary.hint":"コンソールを開いてから、ページを再読み込みしてください","error.boundary.no_details":"エラーの詳細はありません","error.boundary.action.reload":"再読み込み","identity_card.rank_label":"ランク","identity_card.streak_label":"アクティブ日数","identity_card.rank_placeholder":"—","identity_card.streak_value":"{{days}} 日","usage.summary.total":"トークン合計","usage.summary.updated_at":"{{timestamp}} 更新","usage.period.day":"日","usage.period.week":"週","usage.period.month":"月","usage.period.total":"合計","usage.period.custom":"カスタム","usage.metric.total":"合計","usage.metric.input":"入力","usage.metric.output":"出力","usage.metric.cached_input":"キャッシュ入力","usage.metric.reasoning_output":"推論出力","usage.button.refresh":"更新","usage.overview.tablist_aria":"期間","usage.auto_refresh.aria":"自動更新間隔","usage.auto_refresh.off":"オフ","usage.auto_refresh.30s":"30秒","usage.auto_refresh.60s":"60秒","usage.auto_refresh.120s":"120秒","usage.overview.cost_breakdown_aria":"コスト内訳を表示","usage.overview.distribution_aria":"ソース別割合:{{items}}","usage.overview.distribution_item":"{{label}} {{percent}}%","usage.overview.provider_card_aria":"{{provider}}:{{percent}}%、{{tokens}} トークン、{{cost}}。クリックして{{action}}詳細","usage.overview.expand":"展開","usage.overview.collapse":"折りたたむ","usage.overview.model_count":"{{count}} 個のモデル","usage.overview.model_details_aria":"{{provider}} のモデル詳細","widgets.page.title":"ウィジェット","widgets.cta.open_gallery":"ウィジェットギャラリーを開く","widgets.cta.download":"Mac アプリをダウンロード","widgets.cta.macos_only":"macOS 限定","widgets.menubar.section.title":"メニューバー","widgets.gallery.section.title":"デスクトップウィジェット","widgets.summary.name":"使用状況の概要","widgets.summary.description":"今日と直近 7 日間の使用状況、コンパクトなトレンドライン付き。","widgets.heatmap.name":"ヒートマップ","widgets.heatmap.description":"GitHub のように、アクティブな日とそうでない日をひと目で把握。","widgets.topModels.name":"人気モデル","widgets.topModels.description":"よく使うモデルを、トークン割合順に表示。","widgets.limits.name":"使用制限","widgets.limits.description":"Claude、Codex、Cursor、Gemini などのリアルタイムなレート制限の進捗。","daily.sort.date.label":"日付","daily.sort.date.title":"日付で並べ替え","daily.sort.total.label":"合計","daily.sort.total.title":"合計で並べ替え","daily.sort.input.label":"入力","daily.sort.input.title":"入力で並べ替え","daily.sort.output.label":"出力","daily.sort.output.title":"出力で並べ替え","daily.sort.cached.label":"キャッシュ","daily.sort.cached.title":"キャッシュ入力で並べ替え","daily.sort.reasoning.label":"推論","daily.sort.reasoning.title":"推論出力で並べ替え","daily.sort.conversations.label":"会話数","daily.sort.conversations.title":"会話数で並べ替え","details.pagination.prev":"前のページ","details.pagination.next":"次のページ","limits.copilot.otelHint.title":"Copilot のトークン使用状況を追跡","limits.copilot.otelHint.body":"制限情報は GitHub OAuth トークン経由で読み取られます。トークン単位の使用量も記録したい場合は、Copilot の OpenTelemetry エクスポートを有効にし、次の内容をシェルの設定ファイル(~/.zshrc または ~/.bashrc)に追加してください:","limits.copilot.otelHint.copy":"コピー","limits.copilot.otelHint.copied":"コピーしました","limits.panel.title":"使用制限","limits.panel.mode_separator":" · ","limits.label.cursor_plan":"プラン","limits.label.cursor_auto":"自動","limits.label.cursor_api":"API","limits.label.kiro_month":"月間","limits.label.kiro_bonus":"ボーナス","limits.label.kimi_weekly":"週","limits.label.kimi_5h":"5h","limits.label.kimi_total":"総量","limits.label.kimi_parallel":"並列:{{count}}","limits.label.copilot_premium":"プレミアム","limits.label.copilot_chat":"チャット","limits.status.not_connected":"未接続","limits.status.no_data":"リアルタイムの制限データが返されませんでした","limits.status.all_hidden":"すべての制限プロバイダーが非表示になっています。表示設定を開いて再表示してください。","nav.usage":"使用状況","nav.limits":"制限","nav.widgets":"ウィジェット","nav.skills":"Skills","nav.collapse":"サイドバーを折りたたむ","nav.expand":"サイドバーを展開","nav.menu":"ナビゲーションメニューを開く","nav.close_menu":"ナビゲーションメニューを閉じる","nav.aside_label":"メインナビゲーション","nav.nav_label":"ナビゲーション","nav.version":"Token Tracker バージョン {{version}}","limits.page.subtitle":"AI ツールのレート制限とクォータの使用状況。","limits.settings.toggle_visible":"表示を切り替え","limits.settings.display_mode_label":"使用量","limits.settings.display_mode_used":"使用済み","limits.settings.display_mode_remaining":"残り","limits.page.openSettings":"表示設定","nav.group.general":"一般","nav.group.tools":"ツール","nav.group.account":"アカウント","nav.settings":"設定","settings.page.title":"設定","settings.page.subtitle":"アカウント、外観、表示設定を管理します。","settings.section.appearance":"外観","settings.section.account":"アカウント","settings.section.limits":"制限の表示","settings.appearance.theme.label":"テーマ","settings.appearance.theme.hint":"Token Tracker のダッシュボードでの表示方法を選択します。","settings.appearance.theme.light":"ライト","settings.appearance.theme.dark":"ダーク","settings.appearance.theme.system":"システム","settings.section.menubar":"メニューバーアプリ","settings.menubar.showStats":"メニューバーに統計を表示","settings.menubar.showStatsHint":"メニューバーアイコンの横に、今日のトークン数とコストを表示します。","settings.menubar.animatedIcon":"アニメーションアイコン","settings.menubar.animatedIconHint":"Clawd キャラクターを点滅させ、メニューバーで同期アニメーションを再生します。","settings.menubar.launchAtLogin":"ログイン時に起動","settings.menubar.launchAtLoginHint":"macOS へのログイン時に TokenTrackerBar を自動的に起動します。","settings.menubar.syncNow":"今すぐ同期","settings.menubar.syncNowHint":"ローカルの AI ツールログの解析とアップロードをすぐに実行します。","settings.menubar.syncing":"同期中...","settings.menubar.updates":"更新","settings.menubar.checkUpdates":"更新を確認","menubar.slot.primary":"1 番目の位置","menubar.slot.secondary":"2 番目の位置","menubar.native_only":"macOS 版 TokenTrackerBar を開くと、メニューバーの表示を編集できます。","menubar.metric.today_tokens":"今日のトークン","menubar.metric.today_cost":"今日のコスト","menubar.metric.last_7d_tokens":"直近 7 日間のトークン","menubar.metric.this_month_tokens":"今月のトークン","menubar.metric.total_tokens":"トークン合計","menubar.metric.total_cost":"コスト合計","menubar.metric.claude_5h":"Claude 5 時間制限","menubar.metric.claude_7d":"Claude 7 日間制限","menubar.metric.codex_5h":"Codex 5 時間制限","menubar.metric.codex_7d":"Codex 7 日間制限","nav.ip_check":"Claude IP チェック","skills.page.title":"Skills","skills.tab.my":"マイ","skills.tab.browse":"探す","skills.action.refresh":"更新","skills.action.install":"インストール","skills.action.choose_targets":"対象を選択","skills.target.menu_label":"インストール先","skills.target.none":"対象が未選択","skills.toast.installed":"{{name}} を {{targets}} にインストールしました。","skills.action.remove":"削除","skills.action.search":"検索","skills.action.search_aria":"skills を検索","skills.target.synced_summary":"{{targets}} に同期済み","skills.target.synced_none":"まだどの agent にも同期されていません","skills.row.open_details":"{{name}} の詳細を表示","skills.detail.close":"詳細を閉じる","skills.detail.sync_section_title":"同期先","skills.detail.remove_button":"すべての agent から削除","skills.detail.remove_confirm_hint":"これにより、各 agent から同期解除され、ローカルのコピーも削除されます。","skills.filter.agent_label":"Agent","skills.filter.agent_all":"すべての agent","skills.filter.clear":"フィルターをクリア","skills.filter.result_count":"{{filtered}} / {{total}} 個の skill","skills.filter.result_count_browse":"{{count}} 件の結果","skills.empty.no_match":"現在のフィルターに一致する skill はありません。","hint.dismiss":"ヒントを閉じる","hint.dismissible_aria":"閉じられるヒント","skills.card.installed":"インストール済み","skills.card.targets_prefix":"インストール先:","skills.card.targets_change":"変更","skills.card.installs":"{{count}} 回インストール","skills.source.label":"ソース","skills.source.all":"すべてのリポジトリ","skills.mode.repo":"リポジトリ","skills.mode.skillssh":"skills.sh","skills.browse.placeholder_all":"有効なリポジトリ内を検索…","skills.browse.placeholder_repo":"{{repo}} 内を検索…","skills.browse.placeholder_skillssh":"skills.sh のリポジトリ内を検索…","skills.browse.empty_sources":"GitHub リポジトリを追加して、スキルの閲覧を始めましょう。","skills.browse.add_repo_hint":"もっと skill がほしいですか?GitHub リポジトリを追加してください。","skills.browse.manage_sources":"ソースを管理","skills.browse.hint_skillssh":"skills.sh を検索するには 2 文字以上入力してください。","skills.browse.loading_hint":"GitHub から skill 情報を取得しています。初回の読み込みには 1 分ほどかかる場合があり、結果はキャッシュされます。","skills.error.generic":"Skill の操作に失敗しました。","skills.confirm.remove_title":"{{name}} を削除しますか?","skills.confirm.remove_managed":"この skill は接続済みのすべての AI ツールから削除されます。数秒以内であれば元に戻せます。","skills.confirm.remove_local":"すべての AI ツールのディレクトリから、この skill フォルダを削除します。この操作は元に戻せません。","skills.toast.removed":"{{name}} を削除しました。","shared.action.undo":"元に戻す","shared.action.cancel":"キャンセル","shared.action.apply":"適用","skills.empty.my":"まだ skill がありません。「探す」で検索またはインストールしましょう。","skills.empty.my_cta":"探しに行く","skills.empty.browse":"このソースにはスキルが見つかりませんでした。","skills.empty.search":"結果がありません。別のキーワードでお試しください。","skills.repo.placeholder":"owner/repository","skills.repo.add":"リポジトリを追加","skills.repo.invalid":"owner/repository または GitHub リポジトリの URL を入力してください。","skills.repo.remove":"リポジトリを削除","settings.appearance.language.label":"言語","settings.appearance.language.hint":"「システム」を使用すると、デフォルトで端末の言語に従います。","settings.appearance.language.system":"システム","settings.appearance.language.english":"英語","settings.appearance.language.chinese":"簡体字中国語","settings.appearance.language.traditional_chinese":"繁体字中国語","settings.appearance.language.japanese":"日本語","settings.appearance.language.korean":"韓国語","settings.appearance.currency.label":"通貨","settings.appearance.currency.hint":"使用コストの表示通貨を選択します。","settings.appearance.currency.opt.usd":"米ドル ($)","settings.appearance.currency.opt.eur":"ユーロ (€)","settings.appearance.currency.opt.gbp":"英ポンド (£)","settings.appearance.currency.opt.cny":"人民元 (¥)","settings.appearance.currency.opt.jpy":"日本円 (¥)","settings.appearance.currency.opt.hkd":"香港ドル (HK$)","settings.appearance.currency.rate_source.default":"組み込みのデフォルト為替レート","settings.appearance.currency.rate_source.fetched":"データソース:open.er-api.com","settings.appearance.currency.rate_updated":"{{when}} に更新","settings.appearance.currency.rate_never":"まだ更新されていません"},jP={"usage.overview.antigravity_notice_title":"トークンは推定値です","usage.overview.antigravity_notice_body":"Antigravity のローカルログには実際の使用量フィールドがないため、ここの数値は文字数(約 4 文字/トークン)から推定したもので、Gemini の prompt cache 割引も差し引かれていません。上限の推定値として扱い、請求書との照合には使わないでください。","usage.period.last24h":"24h","stats.period.today":"今日","stats.period.last24h":"24h","stats.period.week":"今週","stats.period.month":"今月","stats.period.this_month":"今月","stats.period.all":"全期間","stats.period.convs":"会話","dashboard.core_index.collapse_label":"▾","dashboard.core_index.expand_label":"▸","dashboard.core_index.collapse_aria":"モデルの内訳を折りたたむ","dashboard.core_index.expand_aria":"モデルの内訳を展開","dashboard.rolling.title":"最近のアクティビティ","dashboard.rolling.last_7d":"過去 7 日間","dashboard.rolling.last_30d":"過去 30 日間","dashboard.rolling.avg_active_day":"1 日平均","dashboard.projects.title":"プロジェクトの使用状況","dashboard.projects.tokens_label":"トークン","dashboard.projects.stars_label":"スター","dashboard.projects.limit_label":"表示","dashboard.projects.limit_aria":"表示するリポジトリ数を選択","dashboard.projects.limit_top_3":"上位 3 件","dashboard.projects.limit_top_6":"上位 6 件","dashboard.projects.limit_top_10":"上位 10 件","dashboard.projects.empty":"公開リポジトリはありません","dashboard.widgets.title":"デスクトップウィジェット","dashboard.widgets.hint":"デスクトップを右クリック → ウィジェットを編集 → 「TokenTracker」を検索","dashboard.widgets.dismiss_aria":"ウィジェットの紹介を閉じる","dashboard.cost_breakdown.title":"コスト内訳","dashboard.cost_breakdown.total_label":"推定総コスト","dashboard.cost_breakdown.close":"閉じる","trend.monitor.label":"使用トレンド","trend.zoom.open_aria":"全画面表示","trend.zoom.close_aria":"閉じる","trend.zoom.badge":"トレンド分析","trend.zoom.desc":"バーにカーソルを合わせるとトークン、コスト、会話数を確認できます。粒度を切り替えて月から30分単位まで掘り下げられます。","trend.zoom.insight_badge":"分析","trend.zoom.tooltip.cost":"コスト","trend.zoom.tooltip.conversations":"会話","trend.zoom.stats.tokens":"総トークン数","trend.zoom.stats.cost":"総コスト","trend.zoom.stats.conversations":"会話数","trend.zoom.stats.peak":"ピーク時間帯","trend.zoom.gran.aria":"粒度","trend.zoom.gran.30min":"30分","trend.zoom.gran.day":"日","trend.zoom.gran.month":"月","trend.zoom.prev_day":"前日","trend.zoom.next_day":"翌日","trend.zoom.loading":"読み込み中…","trend.zoom.pick_day":"日付を選択","trend.zoom.pick_range":"期間を選択","trend.zoom.insight.empty":"静かな期間。トークンは一つも流れませんでした。","trend.zoom.insight.calm":"控えめな使い方。モデルはほとんど待機し、必要なときだけ動きました。","trend.zoom.insight.steady":"{{active}} 個のアクティブな区間で安定したリズム、ピークは {{peak}}。騒がずに物事を仕上げていくペースです。","trend.zoom.insight.heavy":"本気の稼働:{{active}} 区間が高負荷で動き、ピークは {{peak}}。勢いを待つのではなく自ら生み出す人の出力です。","trend.zoom.insight.massive":"工業規模。{{peak}} のピークと冷めることのないスループット。この量になると、もはやモデルを使うのではなく工場を動かしています。","heatmap.title":"ヒートマップ","heatmap.empty":"まだアクティビティデータがありません。","heatmap.legend.less":"少","heatmap.legend.more":"多","heatmap.legend.utc":"UTC","heatmap.tooltip":"{{day}} • {{value}} {{unit}} • {{tz}}","heatmap.unit.tokens":"トークン","heatmap.month.jan":"1月","heatmap.month.feb":"2月","heatmap.month.mar":"3月","heatmap.month.apr":"4月","heatmap.month.may":"5月","heatmap.month.jun":"6月","heatmap.month.jul":"7月","heatmap.month.aug":"8月","heatmap.month.sep":"9月","heatmap.month.oct":"10月","heatmap.month.nov":"11月","heatmap.month.dec":"12月","heatmap.day.sun":"日","heatmap.day.mon":"月","heatmap.day.tue":"火","heatmap.day.wed":"水","heatmap.day.thu":"木","heatmap.day.fri":"金","heatmap.day.sat":"土","dashboard.session_expired.copy_label":"npx --yes @ipv9/tokentracker-cli init を実行","dashboard.session_expired.copied":"コピーしました","dashboard.install.prompt":"Node.js 18+ をインストールしてから実行:","dashboard.install.cmd.init":"npx --yes @ipv9/tokentracker-cli init","dashboard.install.cmd.init_link_code":"npx --yes @ipv9/tokentracker-cli init --link-code {{link_code}}","dashboard.install.copy":"インストールコマンドをコピー","dashboard.install.copy_base":"初期化コマンドをコピー","dashboard.install.copied":"クリップボードにコピーしました","dashboard.install.link_code.loading":"専用コードを生成中...","dashboard.install.link_code.failed":"専用コードを利用できません","dashboard.install.cmd.sync":"npx --yes @ipv9/tokentracker-cli sync","dashboard.daily.title":"日次内訳","dashboard.daily.empty":"まだデータがありません。先に AI CLI を使用してから {{cmd}} を実行してください。","dashboard.identity.title":"あなたのプロフィール","dashboard.identity.subtitle":"あなたのコーディングの軌跡を記録","dashboard.identity.fallback":"匿名ユーザー","dashboard.screenshot.title_line1":"AI コーディングアシスタント","dashboard.screenshot.title_line2":"2025 年振り返り","heatmap.3d.hover_tip":"クリックして 3D 全画面回転分析モードに入る","heatmap.3d.modal.title":"トークンの 3D ビュー","heatmap.3d.modal.desc":"左ボタンを押しながらドラッグで自由に回転し、ホバーで日々のアクティビティと多次元の統計を確認できます。","heatmap.3d.modal.stats.total_tokens":"年間トークン総量","heatmap.3d.modal.stats.precision_total_tokens":"年間の正確な消費量","heatmap.3d.modal.stats.estimated_cost":"年間推定費用","heatmap.3d.modal.stats.active_rate_days":"アクティブ率 / 日数","heatmap.3d.modal.stats.max_streak":"最長連続アクティブ","heatmap.3d.modal.stats.days_suffix":"日","heatmap.3d.modal.stats.peak_day":"単日ピーク","heatmap.3d.modal.stats.precision_peak_value":"正確な単日ピーク","heatmap.3d.modal.stats.no_data":"データなし","heatmap.3d.modal.legend.title":"アクティビティのレベル","heatmap.3d.modal.palette.emerald":"エメラルドシティ","heatmap.3d.modal.palette.ocean":"ディープオーシャン","heatmap.3d.modal.palette.neon":"サイバーネオン","heatmap.3d.modal.palette.amber":"燃ゆる残照","heatmap.3d.modal.control.play":"ゆっくり自動回転を開始","heatmap.3d.modal.control.pause":"自動回転を一時停止","heatmap.3d.modal.control.reset":"3D 視点をリセット","heatmap.3d.modal.footer.tip":"ピンチでズーム / ホイールでズーム / マウスドラッグで 3D チャートを回転","heatmap.3d.modal.ai.title.default":"たゆまず歩み続ける人","heatmap.3d.modal.ai.eval.default":"技術の大河のなかで、たゆまず歩み続けています。日々のコーディングがいつも華々しいとは限りませんが、小さなアクティビティの一つひとつが、あなたの思考と探求を記録しています。星のような火花がやがて集まり、あなただけのデジタルの海になっていきます。","heatmap.3d.modal.ai.title.peak":"限界突破級コントリビューター","heatmap.3d.modal.ai.eval.peak":"この一年、あなたのトークン産出はきわめて高いエンジニアリング密度を示しました。これほどの開発量は、中規模から大規模なシステム基盤の再構築に深く関わったのに匹敵し、一打鍵ごとに複雑なロジックを確定的なコードへと収束させています。極度の集中と、純粋なエンジニアリングへの情熱の何よりの証です。","heatmap.3d.modal.ai.title.heavy":"高頻度産出級デベロッパー","heatmap.3d.modal.ai.eval.heavy":"卓越した継続的アウトプット。あなたのトークン累積量は数百万語に達し、中編の技術大作を数十冊分に相当します。高い飽和度のコーディングのリズムは、あなたが並外れた実行力で自分だけのデジタル資産を築いていることを示し、卓越した創造力を体現しています。","heatmap.3d.modal.ai.title.core":"中核生産力エキスパート","heatmap.3d.modal.ai.eval.core":"きわめて粘り強い長期的な取り組み。過去一年にわたり、長い期間にわたって安定して高い強度の開発ペースを保ってきました。確かなコード行数とトークン産出によって、あなたは静かにプロジェクトの中核アーキテクチャを築き上げており、まさにエンジニアリングの支柱です。","heatmap.3d.modal.ai.title.steady":"着実成長型エンジニア","heatmap.3d.modal.ai.eval.steady":"堅実で揺るぎない技術の積み重ね。トークンが増えるたびに、あなたは未来へと続くコードの礎を着実に積んでいます。この細く長く続く堅実なリズムは、優れた開発者がエンジニアリングの達人へと至るために必ず通る道です。","heatmap.3d.voxel.joke.1":"🔥 超ヤバい!{{value}} tokens を産出!大規模モデルを猛特訓中?それともコンパイラを手書きで?","heatmap.3d.voxel.joke.2":"🚀 叙事詩級のアウトプット!合計 {{value}} tokens。今日の産出量は地球を一周できるほど、AI もあなたに驚嘆!","heatmap.3d.voxel.joke.3":"⚡ 爆発の日!{{value}} tokens。コードが泉のごとく湧き出て、キーボードが煙を上げ始めた!","heatmap.3d.voxel.level3":"⚡ 生産力の大爆発({{value}} tokens)!高効率で集中したゴールデンタイム、このピークの状態を保ち続けよう!","heatmap.3d.voxel.level2":"🌱 調子が上がってきた({{value}} tokens)!着実なアウトプットで、キーを打つたびに大きな建物に一枚ずつレンガを積み重ねています。","heatmap.3d.voxel.level1":"🍃 塵も積もれば山となる({{value}} tokens)。小さなコミットも未来への投資、複利の力を保とう!","heatmap.3d.voxel.level0":"💤 英気を養う日。コードを書かない日にも、ひらめきはひそかに育っています。","ipcheck.page.title":"Claude IP チェック","ipcheck.page.subtitle":"現在 Claude にアクセスしている出口 IP、クリーン度、地理情報、リスクシグナルを確認し、ログインに影響したりリスク管理を誘発したりしうる要因を把握します。","ipcheck.mask.toggle":"IP を隠す","ipcheck.ipv6.warn":"現在 IPv6 環境です。IPv6 での Claude Code アクセスは推奨されず、一部の検出結果が不完全になる可能性があります。","ipcheck.ip.cn":"中国の出口 IPv4","ipcheck.ip.cloudflare":"Cloudflare 出口","ipcheck.ip.claude":"Claude 出口","ipcheck.ip.failed":"取得に失敗しました","ipcheck.ip.loading":"読み込み中...","ipcheck.trust.title":"信頼スコア","ipcheck.trust.subtitle":"Claude のリスク管理視点での IP クリーン度","ipcheck.trust.no_data":"データなし","ipcheck.trust.no_ip":"Claude の出口 IP を取得できず、スコアを算出できません","ipcheck.trust.no_score":"この IP のスコアデータはまだありません","ipcheck.trust.gauge.low":"0 高リスク","ipcheck.trust.gauge.high":"100 信頼可","ipcheck.trust.label.pristine":"極めてクリーン","ipcheck.trust.label.clean":"クリーン","ipcheck.trust.label.good":"良好","ipcheck.trust.label.neutral":"中立","ipcheck.trust.label.suspicious":"疑わしい","ipcheck.trust.label.unreachable":"アクセス不可","ipcheck.trust.text.excellent":"この IP の評判は非常に良好です","ipcheck.trust.text.great":"この IP の評判は優秀です","ipcheck.trust.text.minor":"この IP には軽微なリスクがあります","ipcheck.trust.text.moderate":"この IP には一定のリスクがあります","ipcheck.trust.text.severe":"この IP は極めて高リスクです","ipcheck.trust.text.restricted":"アクセス不可の地域にあり、Claude は厳格にリスク管理します","ipcheck.trust.region_warn.title":"Claude の出口 IP が {{region}} にあります","ipcheck.trust.region_warn.body":"Claude へのログインは推奨されません。アカウント停止のリスク管理を誘発しやすくなります。","ipcheck.trust.region_support":"Claude 対応地域","ipcheck.trust.region.accessible":"アクセス可","ipcheck.common.unknown":"不明","ipcheck.props.title":"IP の属性","ipcheck.props.region":"地域","ipcheck.props.city":"都市","ipcheck.props.type":"タイプ","ipcheck.props.asn":"ASN","ipcheck.props.org":"プロバイダー","ipcheck.props.residential":"家庭用","ipcheck.props.datacenter":"データセンター","ipcheck.security.title":"セキュリティ検出","ipcheck.security.vpn":"VPN","ipcheck.security.proxy":"プロキシ (Proxy)","ipcheck.security.tor":"Tor","ipcheck.security.crawler":"ボット (Crawler)","ipcheck.security.abuser":"不正利用の記録","ipcheck.security.proxy_flag":"プロキシ","ipcheck.security.crawler_yes":"はい","ipcheck.security.crawler_no":"いいえ","ipcheck.security.abuser_yes":"記録あり","ipcheck.security.abuser_no":"記録なし","ipcheck.security.clean":"検出されませんでした","ipcheck.avail.title":"Claude の可用性","ipcheck.avail.tooltip":"Claude のサーバーは米国にあります。アジアからのアクセスで遅延が 100ms を超えるのは正常な状況です。","ipcheck.avail.refresh":"更新","ipcheck.avail.svc_row":"サービス状態","ipcheck.avail.latency.normal":"正常","ipcheck.avail.latency.good":"良好","ipcheck.avail.latency.slow":"やや遅い","ipcheck.avail.latency.unreachable":"アクセス不可","ipcheck.avail.svc.none":"すべて正常","ipcheck.avail.svc.minor":"軽微な障害","ipcheck.avail.svc.major":"重大な障害","ipcheck.avail.svc.critical":"深刻な障害","ipcheck.avail.svc.maintenance":"メンテナンス中","ipcheck.avail.svc.other":"サービス異常","ipcheck.dns.title":"DNS リーク検出","ipcheck.dns.status":"状態","ipcheck.dns.outlet":"DNS 出口","ipcheck.dns.outlet_ip":"DNS 出口 IP","ipcheck.dns.isp":"プロバイダー","ipcheck.dns.leaked":"リークの可能性あり","ipcheck.dns.no_leak":"リークは検出されませんでした","ipcheck.dns.encrypted":"DNS は暗号化または非公開","ipcheck.dns.cn_tag":"中国 DNS","ipcheck.udp.title":"WebRTC UDP リーク","ipcheck.udp.status":"状態","ipcheck.udp.outlet":"UDP 出口","ipcheck.udp.outlet_ip":"UDP 出口 IP","ipcheck.udp.origin":"所在地","ipcheck.udp.disabled":"WebRTC は無効です","ipcheck.udp.no_leak":"リークは検出されませんでした","ipcheck.udp.leaked":"リークの可能性あり","ipcheck.udp.anomaly":"異常","ipcheck.device.title":"デバイス情報","ipcheck.device.tz":"タイムゾーン","ipcheck.device.lang":"言語","ipcheck.device.os":"OS / ブラウザ","ipcheck.device.touch":"タッチスクリーン","ipcheck.device.net":"ネットワークタイプ","ipcheck.device.dnt":"Do Not Track","ipcheck.device.webgl_render":"WebGL レンダラー","ipcheck.device.canvas_fp":"Canvas フィンガープリント","ipcheck.device.webgl_fp":"WebGL フィンガープリント","ipcheck.device.match":"一致","ipcheck.device.mismatch":"不一致","ipcheck.device.local":"ローカル","ipcheck.device.estimate_suffix":"(推定)","ipcheck.device.diff_equal":"オフセットにわずかな差があります","ipcheck.device.diff_ahead":"Claude が {{h}} 時間進んでいます","ipcheck.device.diff_behind":"Claude が {{h}} 時間遅れています","ipcheck.device.lang_expected":"Claude 出口でよく使われる言語","ipcheck.device.touch_yes":"はい","ipcheck.device.touch_no":"いいえ","ipcheck.device.dnt_on":"オン","ipcheck.device.dnt_off":"オフ","ipcheck.device.dnt_unset":"未設定","ipcheck.device.net_unsupported":"検出に非対応","ipcheck.device.unsupported":"非対応","ipcheck.history.title":"Claude 出口 IP の履歴","ipcheck.history.subtitle":"ブラウザのローカルにのみ保存され、最大 6 件まで保持されます","ipcheck.history.clear":"クリア","ipcheck.history.empty":"履歴はまだありません","ipcheck.history.current":"現在","ipcheck.region.CN":"中国本土","ipcheck.region.HK":"香港","ipcheck.region.MO":"マカオ","ipcheck.region.RU":"ロシア","ipcheck.region.KP":"北朝鮮","ipcheck.region.IR":"イラン","ipcheck.region.SY":"シリア","ipcheck.region.CU":"キューバ","ipcheck.region.BY":"ベラルーシ","ipcheck.region.VE":"ベネズエラ","local_only.title":"クライアント内でご利用ください","local_only.body":"このページはお使いの端末上のデータを読み込むため、Mac アプリまたはコマンドラインの dashboard でのみ表示できます。","local_only.open_app":"Mac アプリ内で開く","local_only.download":"Mac アプリをダウンロード","dashboard.auth_gate.title":"Token Tracker にサインイン","dashboard.auth_gate.subtitle":"サインインして、クラウドでの API 使用量、コスト、トークン消費の傾向を同期および表示します。","dashboard.auth_gate.button":"今すぐサインイン","shared.app_name":"Token Tracker","dashboard.auth_gate.hero_title":"AIエージェントのすべてのトークン消費","dashboard.auth_gate.hero_subtitle":"明確で透過的、マルチエンドポイント制御","dashboard.auth_gate.desc":"Claude Code、Cursor、Gemini CLIなどのすべての主流エージェントからのトークンクォータ、同時実行コスト、遅延統計をパブリッククラウドで安全に同期し、これまでにない包括的な可視化分析を提供します。","dashboard.auth_gate.feature.sync.title":"リアルタイムクラウド同期","dashboard.auth_gate.feature.sync.desc":"各エンドポイントの実行コストを自動的に収集し、プライベートクラウドに数秒で安全にアーカイブします。","dashboard.auth_gate.feature.anal.title":"多次元ダッシュボード分析","dashboard.auth_gate.feature.anal.desc":"モデル分類、時間枠ごとにトークン分布を統計し、コストの急増と消費構成をいつでも追跡できます。","dashboard.auth_gate.feature.guard.title":"ローカル優先の自律性","dashboard.auth_gate.feature.guard.desc":"Localhostモードではすべてのログイン認証を自動的にスキップし、ローカルのオフラインデバッグエクスペリエンスを完全に保護します。"},OP={"shared.placeholder.short":"--","shared.unit.percent":"%","shared.unit.thousand_abbrev":"K","shared.unit.million_abbrev":"M","shared.unit.billion_abbrev":"B","shared.data_source":"데이터 출처: {{source}}","shared.error.prefix":"오류: {{error}}","shared.status.unsynced":"—","shared.time.now":"방금","error.boundary.title":"문제가 발생했습니다","error.boundary.subtitle":"이 화면을 표시하지 못했습니다","error.boundary.hint":"콘솔을 연 다음 페이지를 새로고침하세요","error.boundary.no_details":"오류 세부 정보 없음","error.boundary.action.reload":"새로고침","identity_card.rank_label":"시작일","identity_card.streak_label":"활동 일수","identity_card.rank_placeholder":"—","identity_card.streak_value":"{{days}}일","usage.summary.total":"총 토큰","usage.summary.updated_at":"{{timestamp}} 업데이트","usage.period.day":"일","usage.period.week":"주","usage.period.month":"월","usage.period.total":"전체","usage.period.custom":"사용자 지정","usage.metric.total":"전체","usage.metric.input":"입력","usage.metric.output":"출력","usage.metric.cached_input":"캐시된 입력","usage.metric.reasoning_output":"추론 출력","usage.button.refresh":"새로고침","usage.overview.tablist_aria":"기간","usage.auto_refresh.aria":"자동 새로고침 간격","usage.auto_refresh.off":"끄기","usage.auto_refresh.30s":"30초","usage.auto_refresh.60s":"60초","usage.auto_refresh.120s":"120초","usage.overview.cost_breakdown_aria":"비용 내역 보기","usage.overview.distribution_aria":"제공자 분포: {{items}}","usage.overview.distribution_item":"{{label}} {{percent}}%","usage.overview.provider_card_aria":"{{provider}}: {{percent}}%, {{tokens}} 토큰, {{cost}}. 클릭하여 세부 정보 {{action}}","usage.overview.expand":"펼치기","usage.overview.collapse":"접기","usage.overview.model_count":"모델 {{count}}개","usage.overview.model_details_aria":"{{provider}} 모델 세부 정보","widgets.page.title":"위젯","widgets.cta.open_gallery":"위젯 갤러리 열기","widgets.cta.download":"Mac 앱 다운로드","widgets.cta.macos_only":"macOS 전용","widgets.menubar.section.title":"메뉴 막대","widgets.gallery.section.title":"데스크톱 위젯","widgets.summary.name":"사용량 요약","widgets.summary.description":"오늘과 7일간의 사용량을 간결한 추세선으로 보여줍니다.","widgets.heatmap.name":"활동 히트맵","widgets.heatmap.description":"GitHub 스타일의 일별 캘린더. 연속 활동일과 쉬는 날을 한눈에 파악하세요.","widgets.topModels.name":"인기 모델","widgets.topModels.description":"토큰 비율로 정렬한 가장 많이 사용한 모델.","widgets.limits.name":"사용 한도","widgets.limits.description":"Claude, Codex, Cursor, Gemini 등의 실시간 사용 한도 진행 상황.","daily.sort.date.label":"날짜","daily.sort.date.title":"날짜순 정렬","daily.sort.total.label":"전체","daily.sort.total.title":"전체순 정렬","daily.sort.input.label":"입력","daily.sort.input.title":"입력순 정렬","daily.sort.output.label":"출력","daily.sort.output.title":"출력순 정렬","daily.sort.cached.label":"캐시","daily.sort.cached.title":"캐시된 입력순 정렬","daily.sort.reasoning.label":"추론","daily.sort.reasoning.title":"추론 출력순 정렬","daily.sort.conversations.label":"대화 수","daily.sort.conversations.title":"대화순 정렬","details.pagination.prev":"이전","details.pagination.next":"다음","limits.copilot.otelHint.title":"Copilot 토큰 사용량 추적","limits.copilot.otelHint.body":"한도 정보는 GitHub OAuth 토큰을 통해 로드됩니다. 토큰별 사용량도 기록하려면 Copilot의 OpenTelemetry 내보내기를 활성화하고 셸 프로필(~/.zshrc 또는 ~/.bashrc)에 다음 줄을 추가하세요:","limits.copilot.otelHint.copy":"복사","limits.copilot.otelHint.copied":"복사됨","limits.panel.title":"사용 한도","limits.panel.mode_separator":" · ","limits.label.cursor_plan":"플랜","limits.label.cursor_auto":"자동","limits.label.cursor_api":"API","limits.label.kiro_month":"월간","limits.label.kiro_bonus":"보너스","limits.label.kimi_weekly":"주간","limits.label.kimi_5h":"5h","limits.label.kimi_total":"전체","limits.label.kimi_parallel":"동시 실행: {{count}}","limits.label.copilot_premium":"프리미엄","limits.label.copilot_chat":"채팅","limits.status.not_connected":"연결되지 않음","limits.status.no_data":"실시간 한도 데이터가 반환되지 않았습니다","limits.status.all_hidden":"모든 한도 제공자가 숨겨져 있습니다. 표시 설정을 열어 다시 표시하세요.","nav.usage":"토큰","nav.limits":"한도","nav.widgets":"macOS 위젯","nav.skills":"Skills","nav.collapse":"사이드바 접기","nav.expand":"사이드바 펼치기","nav.menu":"내비게이션 메뉴 열기","nav.close_menu":"내비게이션 메뉴 닫기","nav.aside_label":"주 내비게이션","nav.nav_label":"기본","nav.version":"Token Tracker 버전 {{version}}","limits.page.subtitle":"AI 도구 전반의 사용 한도와 할당량 사용 현황.","limits.settings.toggle_visible":"표시 여부 전환","limits.settings.display_mode_label":"사용량","limits.settings.display_mode_used":"사용됨","limits.settings.display_mode_remaining":"남음","limits.page.openSettings":"표시 설정","nav.group.general":"일반","nav.group.tools":"도구","nav.group.account":"계정","nav.settings":"설정","settings.page.title":"설정","settings.page.subtitle":"계정, 외관 및 표시 환경설정을 관리하세요.","settings.section.appearance":"외관","settings.section.account":"계정","settings.section.limits":"한도 표시","settings.appearance.theme.label":"테마","settings.appearance.theme.hint":"대시보드 전반에서 Token Tracker가 표시되는 방식을 선택하세요.","settings.appearance.theme.light":"라이트","settings.appearance.theme.dark":"다크","settings.appearance.theme.system":"시스템","settings.section.menubar":"메뉴 막대 앱","settings.menubar.showStats":"메뉴 막대에 통계 표시","settings.menubar.showStatsHint":"메뉴 막대 아이콘 옆에 오늘의 토큰 수와 비용을 표시합니다.","settings.menubar.animatedIcon":"애니메이션 아이콘","settings.menubar.animatedIconHint":"메뉴 막대에서 Clawd 캐릭터를 깜빡이고 동기화 애니메이션을 재생합니다.","settings.menubar.launchAtLogin":"로그인 시 실행","settings.menubar.launchAtLoginHint":"macOS에 로그인할 때 TokenTrackerBar를 자동으로 시작합니다.","settings.menubar.syncNow":"지금 동기화","settings.menubar.syncNowHint":"로컬 AI 도구 로그를 즉시 파싱하고 업로드합니다.","settings.menubar.syncing":"동기화 중…","settings.menubar.updates":"업데이트","settings.menubar.checkUpdates":"업데이트 확인","menubar.slot.primary":"첫 번째 위치","menubar.slot.secondary":"두 번째 위치","menubar.native_only":"라이브 메뉴 막대 표시를 편집하려면 macOS용 TokenTrackerBar를 여세요.","menubar.metric.today_tokens":"오늘 토큰","menubar.metric.today_cost":"오늘 비용","menubar.metric.last_7d_tokens":"최근 7일","menubar.metric.this_month_tokens":"이번 달 토큰","menubar.metric.total_tokens":"총 토큰","menubar.metric.total_cost":"총 비용","menubar.metric.claude_5h":"Claude 5시간 한도","menubar.metric.claude_7d":"Claude 7일 한도","menubar.metric.codex_5h":"Codex 5시간 한도","menubar.metric.codex_7d":"Codex 7일 한도","nav.ip_check":"Claude IP 확인","skills.page.title":"Skills","skills.tab.my":"내 Skills","skills.tab.browse":"둘러보기","skills.action.refresh":"새로고침","skills.action.install":"설치","skills.action.choose_targets":"대상 선택","skills.target.menu_label":"설치 위치","skills.target.none":"대상 없음","skills.toast.installed":"{{name}}을(를) {{targets}}에 설치했습니다.","skills.action.remove":"제거","skills.action.search":"검색","skills.action.search_aria":"skills 검색","skills.target.synced_summary":"{{targets}}에 동기화됨","skills.target.synced_none":"어떤 agent에도 동기화되지 않음","skills.row.open_details":"{{name}} 세부 정보 열기","skills.detail.close":"세부 정보 닫기","skills.detail.sync_section_title":"동기화 대상","skills.detail.remove_button":"모든 agent에서 제거","skills.detail.remove_confirm_hint":"모든 agent에서 이 skill의 동기화를 해제하고 로컬 복사본을 삭제합니다.","skills.filter.agent_label":"Agent","skills.filter.agent_all":"모든 agent","skills.filter.clear":"필터 지우기","skills.filter.result_count":"skill {{filtered}} / {{total}}개","skills.filter.result_count_browse":"결과 {{count}}개","skills.empty.no_match":"현재 필터에 일치하는 skill이 없습니다.","hint.dismiss":"힌트 닫기","hint.dismissible_aria":"닫을 수 있는 힌트","skills.card.installed":"설치됨","skills.card.targets_prefix":"설치 위치:","skills.card.targets_change":"변경","skills.card.installs":"설치 {{count}}회","skills.source.label":"출처","skills.source.all":"모든 저장소","skills.mode.repo":"저장소","skills.mode.skillssh":"skills.sh","skills.browse.placeholder_all":"활성화된 저장소에서 검색…","skills.browse.placeholder_repo":"{{repo}}에서 검색…","skills.browse.placeholder_skillssh":"skills.sh 레지스트리 검색…","skills.browse.empty_sources":"skill을 둘러보려면 아래에서 GitHub 저장소를 추가하세요.","skills.browse.add_repo_hint":"더 많은 skill이 필요하신가요? GitHub 저장소를 추가하세요.","skills.browse.manage_sources":"출처 관리","skills.browse.hint_skillssh":"skills.sh를 검색하려면 2자 이상 입력하세요.","skills.browse.loading_hint":"GitHub에서 skill 메타데이터를 가져오는 중입니다. 첫 로드는 최대 1분이 걸릴 수 있으며, 결과는 캐시됩니다.","skills.error.generic":"Skill 작업에 실패했습니다.","skills.confirm.remove_title":"{{name}}을(를) 제거할까요?","skills.confirm.remove_managed":"이 skill은 연결된 모든 AI 도구에서 제거됩니다. 몇 초 안에 실행을 취소할 수 있습니다.","skills.confirm.remove_local":"연결된 모든 AI 도구에서 디스크의 skill 폴더를 삭제합니다. 이 작업은 취소할 수 없습니다.","skills.toast.removed":"{{name}}을(를) 제거했습니다.","shared.action.undo":"실행 취소","shared.action.cancel":"취소","shared.action.apply":"적용","skills.empty.my":"아직 skill이 없습니다. 둘러보기를 열어 검색하고 설치하세요.","skills.empty.my_cta":"둘러보기","skills.empty.browse":"이 출처에서 skill을 찾을 수 없습니다.","skills.empty.search":"결과가 없습니다. 다른 검색어를 시도해 보세요.","skills.repo.placeholder":"owner/repository","skills.repo.add":"저장소 추가","skills.repo.invalid":"owner/repository 또는 GitHub 저장소 URL을 입력하세요.","skills.repo.remove":"저장소 제거","settings.appearance.language.label":"언어","settings.appearance.language.hint":"시스템을 선택하면 기본적으로 컴퓨터 언어를 따릅니다.","settings.appearance.language.system":"시스템","settings.appearance.language.english":"영어","settings.appearance.language.chinese":"중국어 간체","settings.appearance.language.traditional_chinese":"중국어 번체","settings.appearance.language.japanese":"일본어","settings.appearance.language.korean":"한국어","settings.appearance.currency.label":"통화","settings.appearance.currency.hint":"사용량 비용에 표시할 통화를 선택하세요.","settings.appearance.currency.opt.usd":"미국 달러 ($)","settings.appearance.currency.opt.eur":"유로 (€)","settings.appearance.currency.opt.gbp":"영국 파운드 (£)","settings.appearance.currency.opt.cny":"중국 위안 (¥)","settings.appearance.currency.opt.jpy":"일본 엔 (¥)","settings.appearance.currency.opt.hkd":"홍콩 달러 (HK$)","settings.appearance.currency.rate_source.default":"내장 기본 환율","settings.appearance.currency.rate_source.fetched":"출처: open.er-api.com","settings.appearance.currency.rate_updated":"{{when}} 업데이트됨","settings.appearance.currency.rate_never":"첫 새로고침 대기 중"},zP={"usage.overview.antigravity_notice_title":"추정 토큰","usage.overview.antigravity_notice_body":"Antigravity 기록에는 실제 사용량 수치가 저장되지 않습니다. 여기 표시된 수치는 텍스트 길이(약 4자/토큰)로 추정한 값이며 Gemini의 프롬프트 캐시 할인은 반영되지 않으므로, 청구 금액이 아니라 상한 추정치로 참고하세요.","usage.period.last24h":"24h","stats.period.today":"오늘","stats.period.last24h":"24h","stats.period.week":"이번 주","stats.period.month":"이번 달","stats.period.this_month":"이번 달","stats.period.all":"전체","stats.period.convs":"대화","dashboard.core_index.collapse_label":"▾","dashboard.core_index.expand_label":"▸","dashboard.core_index.collapse_aria":"모델 분석 접기","dashboard.core_index.expand_aria":"모델 분석 펼치기","dashboard.rolling.title":"최근 활동","dashboard.rolling.last_7d":"최근 7일","dashboard.rolling.last_30d":"최근 30일","dashboard.rolling.avg_active_day":"일 평균","dashboard.projects.title":"프로젝트 사용량","dashboard.projects.tokens_label":"토큰","dashboard.projects.stars_label":"STAR","dashboard.projects.limit_label":"표시","dashboard.projects.limit_aria":"저장소 표시 개수 선택","dashboard.projects.limit_top_3":"TOP 3","dashboard.projects.limit_top_6":"TOP 6","dashboard.projects.limit_top_10":"TOP 10","dashboard.projects.empty":"공개 저장소 없음","dashboard.widgets.title":"데스크톱 위젯","dashboard.widgets.hint":'데스크톱 우클릭 → 위젯 편집 → "TokenTracker" 검색',"dashboard.widgets.dismiss_aria":"위젯 소개 닫기","dashboard.cost_breakdown.title":"비용 내역","dashboard.cost_breakdown.total_label":"예상 총비용","dashboard.cost_breakdown.close":"닫기","trend.monitor.label":"사용 추세","trend.zoom.open_aria":"전체 화면으로 확대","trend.zoom.close_aria":"닫기","trend.zoom.badge":"트렌드 인사이트","trend.zoom.desc":"막대에 마우스를 올리면 토큰, 비용, 대화 수를 확인할 수 있습니다. 단위를 전환해 월에서 30분까지 살펴보세요.","trend.zoom.insight_badge":"인사이트","trend.zoom.tooltip.cost":"비용","trend.zoom.tooltip.conversations":"대화","trend.zoom.stats.tokens":"총 토큰","trend.zoom.stats.cost":"총 비용","trend.zoom.stats.conversations":"대화 수","trend.zoom.stats.peak":"최대 구간","trend.zoom.gran.aria":"단위","trend.zoom.gran.30min":"30분","trend.zoom.gran.day":"일","trend.zoom.gran.month":"월","trend.zoom.prev_day":"이전 날","trend.zoom.next_day":"다음 날","trend.zoom.loading":"불러오는 중…","trend.zoom.pick_day":"날짜 선택","trend.zoom.pick_range":"기간 선택","trend.zoom.insight.empty":"조용한 구간. 토큰이 단 하나도 흐르지 않았습니다.","trend.zoom.insight.calm":"가벼운 사용. 모델은 대부분 대기하다 필요할 때만 깨어났습니다.","trend.zoom.insight.steady":"{{active}}개 활성 구간에서 안정적인 리듬, 최대 {{peak}}. 요란하지 않게 일을 끝내는 페이스입니다.","trend.zoom.insight.heavy":"본격 가동: {{active}}개 구간이 뜨겁게 돌아가고 최대 {{peak}}. 흐름을 기다리지 않고 직접 만들어내는 사람의 출력입니다.","trend.zoom.insight.massive":"산업 규모. {{peak}} 피크와 식지 않는 처리량. 이 정도면 모델을 쓰는 게 아니라 공장을 돌리는 셈입니다.","heatmap.title":"활동 히트맵","heatmap.empty":"아직 활동 데이터가 없습니다.","heatmap.legend.less":"적음","heatmap.legend.more":"많음","heatmap.legend.utc":"UTC","heatmap.tooltip":"{{day}} • {{value}} {{unit}} • {{tz}}","heatmap.unit.tokens":"토큰","heatmap.month.jan":"1월","heatmap.month.feb":"2월","heatmap.month.mar":"3월","heatmap.month.apr":"4월","heatmap.month.may":"5월","heatmap.month.jun":"6월","heatmap.month.jul":"7월","heatmap.month.aug":"8월","heatmap.month.sep":"9월","heatmap.month.oct":"10월","heatmap.month.nov":"11월","heatmap.month.dec":"12월","heatmap.day.sun":"일","heatmap.day.mon":"월","heatmap.day.tue":"화","heatmap.day.wed":"수","heatmap.day.thu":"목","heatmap.day.fri":"금","heatmap.day.sat":"토","dashboard.session_expired.copy_label":"npx --yes @ipv9/tokentracker-cli init 실행","dashboard.session_expired.copied":"복사됨","dashboard.install.prompt":"Node.js 18+ 설치 후 실행:","dashboard.install.cmd.init":"npx --yes @ipv9/tokentracker-cli init","dashboard.install.cmd.init_link_code":"npx --yes @ipv9/tokentracker-cli init --link-code {{link_code}}","dashboard.install.copy":"설치 명령 복사","dashboard.install.copy_base":"init 명령 복사","dashboard.install.copied":"클립보드에 복사됨","dashboard.install.link_code.loading":"전용 코드 생성 중...","dashboard.install.link_code.failed":"전용 코드를 사용할 수 없음","dashboard.install.cmd.sync":"npx --yes @ipv9/tokentracker-cli sync","dashboard.daily.title":"일별 내역","dashboard.daily.empty":"아직 데이터가 없습니다. AI CLI를 사용한 다음 {{cmd}}을(를) 실행하세요.","dashboard.identity.title":"내 프로필","dashboard.identity.subtitle":"코딩 여정을 기록하세요","dashboard.identity.fallback":"익명","dashboard.screenshot.title_line1":"코딩 에이전트","dashboard.screenshot.title_line2":"2025 연말 결산","heatmap.3d.hover_tip":"클릭하여 3D 전체 화면 회전 분석 모드로 진입","heatmap.3d.modal.title":"토큰 3D 투시","heatmap.3d.modal.desc":"마우스 왼쪽 버튼으로 드래그하여 회전하세요. 마우스를 올리면 일별 활동과 다차원 지표를 확인할 수 있습니다.","heatmap.3d.modal.stats.total_tokens":"연간 총 토큰","heatmap.3d.modal.stats.precision_total_tokens":"정확한 연간 소비량","heatmap.3d.modal.stats.estimated_cost":"연간 예상 비용","heatmap.3d.modal.stats.active_rate_days":"활동 비율 / 일수","heatmap.3d.modal.stats.max_streak":"최장 연속 활동","heatmap.3d.modal.stats.days_suffix":"일","heatmap.3d.modal.stats.peak_day":"단일 최고 폭발","heatmap.3d.modal.stats.precision_peak_value":"정확한 일일 최고치","heatmap.3d.modal.stats.no_data":"데이터 없음","heatmap.3d.modal.legend.title":"활동 단계","heatmap.3d.modal.palette.emerald":"에메랄드 시티","heatmap.3d.modal.palette.ocean":"심해의 심연","heatmap.3d.modal.palette.neon":"사이버 네온","heatmap.3d.modal.palette.amber":"타오르는 호박빛","heatmap.3d.modal.control.play":"느린 자동 회전 시작","heatmap.3d.modal.control.pause":"자동 회전 일시정지","heatmap.3d.modal.control.reset":"3D 시점 초기화","heatmap.3d.modal.footer.tip":"핀치 확대 / 스크롤 확대 / 드래그로 3D 차트 회전","heatmap.3d.modal.ai.title.default":"꾸준한 창작자","heatmap.3d.modal.ai.eval.default":"기술의 강물 속에서 꾸준히 나아가세요. 매일의 코딩이 늘 웅장하지는 않더라도, 작은 활동 하나하나가 당신의 사고와 탐구를 기록합니다. 불꽃이 모여 결국 당신만의 디지털 바다로 수렴합니다.","heatmap.3d.modal.ai.title.peak":"최고 기여자","heatmap.3d.modal.ai.eval.peak":"올 한 해, 당신의 토큰 산출량은 극도로 높은 엔지니어링 밀도를 보여줍니다. 이 정도 규모의 개발은 중대형 시스템 기반의 리팩터링에 깊이 참여한 것과 맞먹으며, 키 입력 하나하나가 복잡한 로직을 결정론적 코드로 수렴시킵니다. 순수한 엔지니어링 열정의 증거입니다.","heatmap.3d.modal.ai.title.heavy":"고생산 개발자","heatmap.3d.modal.ai.eval.heavy":"탁월한 지속적 산출. 누적된 토큰이 수백만 개에 달하며, 이는 수십 편의 기술 중편 소설 분량에 해당합니다. 고도로 밀도 높은 코딩 리듬은 디지털 자산을 구축하는 당신의 뛰어난 실행력을 보여줍니다.","heatmap.3d.modal.ai.title.core":"핵심 생산성 전문가","heatmap.3d.modal.ai.eval.core":"매우 견고한 장기적 헌신. 지난 한 해 동안 당신은 고강도의 개발 리듬을 꾸준히 유지해 왔습니다. 탄탄한 코드 분량과 토큰 산출로 묵묵히 핵심 아키텍처를 쌓아 올린, 진정한 엔지니어링의 기둥입니다.","heatmap.3d.modal.ai.title.steady":"안정적인 개발자","heatmap.3d.modal.ai.eval.steady":"착실하고 굳건한 기술 축적. 토큰이 늘어나는 한 걸음 한 걸음이 미래의 기반을 다지는 벽돌입니다. 이 느리지만 꾸준한 리듬이야말로 뛰어난 개발자가 엔지니어링의 대가로 나아가는 길입니다.","heatmap.3d.voxel.joke.1":"🔥 완전 미쳤어요! {{value}} tokens 산출! 대형 언어 모델을 훈련하는 건가요, 아니면 직접 컴파일러를 만드는 건가요?","heatmap.3d.voxel.joke.2":"🚀 서사시급 산출! 총 {{value}} tokens. 오늘의 산출량이면 지구를 한 바퀴 돌 수 있어요. AI마저 당신에게 놀랐습니다!","heatmap.3d.voxel.joke.3":"⚡ 폭발의 날! {{value}} tokens. 코드가 샘솟아 키보드에서 연기가 나기 시작합니다!","heatmap.3d.voxel.level3":"⚡ 생산성 대폭발 ({{value}} tokens)! 높은 효율과 집중력, 이 최고의 상태를 계속 유지하세요!","heatmap.3d.voxel.level2":"🌱 점점 무르익는 중 ({{value}} tokens)! 꾸준한 산출, 키 입력 하나하나가 아키텍처에 기여하고 있습니다.","heatmap.3d.voxel.level1":"🍃 티끌 모아 태산 ({{value}} tokens). 작은 커밋도 미래에 대한 투자입니다. 복리의 힘을 받아들이세요!","heatmap.3d.voxel.level0":"💤 재충전 중. 코딩하지 않는 날에도 영감은 조용히 자라납니다.","ipcheck.page.title":"Claude IP 확인","ipcheck.page.subtitle":"Claude에 접속하는 출구 IP와 함께 평판, 지리 정보, 로그인에 영향을 주거나 사용 제한을 유발할 수 있는 위험 신호를 점검하세요.","ipcheck.mask.toggle":"IP 숨기기","ipcheck.ipv6.warn":"IPv6가 감지되었습니다. IPv6로 Claude Code에 접속하는 것은 권장하지 않으며, 일부 검사 결과가 불완전할 수 있습니다.","ipcheck.ip.cn":"중국 출구 IPv4","ipcheck.ip.cloudflare":"Cloudflare 출구","ipcheck.ip.claude":"Claude 출구","ipcheck.ip.failed":"가져올 수 없음","ipcheck.ip.loading":"불러오는 중...","ipcheck.trust.title":"신뢰 점수","ipcheck.trust.subtitle":"Claude 위험 관리 관점에서의 IP 청결도","ipcheck.trust.no_data":"데이터 없음","ipcheck.trust.no_ip":"Claude 출구 IP가 감지되지 않아 점수를 매길 수 없습니다","ipcheck.trust.no_score":"이 IP에 대한 점수 데이터가 없습니다","ipcheck.trust.gauge.low":"0 고위험","ipcheck.trust.gauge.high":"100 신뢰됨","ipcheck.trust.label.pristine":"매우 깨끗함","ipcheck.trust.label.clean":"깨끗함","ipcheck.trust.label.good":"양호","ipcheck.trust.label.neutral":"중립","ipcheck.trust.label.suspicious":"의심스러움","ipcheck.trust.label.unreachable":"접근 불가","ipcheck.trust.text.excellent":"평판이 매우 우수함","ipcheck.trust.text.great":"평판이 우수함","ipcheck.trust.text.minor":"경미한 위험","ipcheck.trust.text.moderate":"보통 수준의 위험","ipcheck.trust.text.severe":"심각한 위험","ipcheck.trust.text.restricted":"제한 지역 — Claude가 엄격한 위험 관리를 적용합니다","ipcheck.trust.region_warn.title":"Claude 출구 IP가 {{region}}에 있습니다","ipcheck.trust.region_warn.body":"로그인을 피하세요. 계정 플래그 처리를 유발할 가능성이 높습니다.","ipcheck.trust.region_support":"Claude 지원 지역","ipcheck.trust.region.accessible":"접근 가능","ipcheck.common.unknown":"알 수 없음","ipcheck.props.title":"IP 속성","ipcheck.props.region":"지역","ipcheck.props.city":"도시","ipcheck.props.type":"유형","ipcheck.props.asn":"ASN","ipcheck.props.org":"ISP","ipcheck.props.residential":"가정용","ipcheck.props.datacenter":"데이터센터","ipcheck.security.title":"보안 검사","ipcheck.security.vpn":"VPN","ipcheck.security.proxy":"프록시","ipcheck.security.tor":"Tor","ipcheck.security.crawler":"크롤러","ipcheck.security.abuser":"악용 이력","ipcheck.security.proxy_flag":"프록시","ipcheck.security.crawler_yes":"예","ipcheck.security.crawler_no":"아니요","ipcheck.security.abuser_yes":"기록 있음","ipcheck.security.abuser_no":"기록 없음","ipcheck.security.clean":"감지되지 않음","ipcheck.avail.title":"Claude 가용성","ipcheck.avail.tooltip":"Claude 서버는 미국에 있으므로 아시아에서 100ms를 초과하는 지연은 정상입니다.","ipcheck.avail.refresh":"새로고침","ipcheck.avail.svc_row":"서비스 상태","ipcheck.avail.latency.normal":"정상","ipcheck.avail.latency.good":"양호","ipcheck.avail.latency.slow":"느림","ipcheck.avail.latency.unreachable":"접근 불가","ipcheck.avail.svc.none":"모든 시스템 정상","ipcheck.avail.svc.minor":"경미한 장애","ipcheck.avail.svc.major":"주요 장애","ipcheck.avail.svc.critical":"심각한 장애","ipcheck.avail.svc.maintenance":"점검 중","ipcheck.avail.svc.other":"서비스 이상","ipcheck.dns.title":"DNS 누출","ipcheck.dns.status":"상태","ipcheck.dns.outlet":"DNS 출구","ipcheck.dns.outlet_ip":"DNS 출구 IP","ipcheck.dns.isp":"제공업체","ipcheck.dns.leaked":"누출 가능성 있음","ipcheck.dns.no_leak":"누출이 감지되지 않음","ipcheck.dns.encrypted":"DNS 암호화 또는 비노출","ipcheck.dns.cn_tag":"중국 DNS","ipcheck.udp.title":"WebRTC UDP 누출","ipcheck.udp.status":"상태","ipcheck.udp.outlet":"UDP 출구","ipcheck.udp.outlet_ip":"UDP 출구 IP","ipcheck.udp.origin":"출처","ipcheck.udp.disabled":"WebRTC 비활성화됨","ipcheck.udp.no_leak":"누출이 감지되지 않음","ipcheck.udp.leaked":"누출 가능성 있음","ipcheck.udp.anomaly":"이상","ipcheck.device.title":"기기 정보","ipcheck.device.tz":"시간대","ipcheck.device.lang":"언어","ipcheck.device.os":"OS / 브라우저","ipcheck.device.touch":"터치","ipcheck.device.net":"네트워크 유형","ipcheck.device.dnt":"Do Not Track","ipcheck.device.webgl_render":"WebGL 렌더러","ipcheck.device.canvas_fp":"Canvas 지문","ipcheck.device.webgl_fp":"WebGL 지문","ipcheck.device.match":"일치","ipcheck.device.mismatch":"불일치","ipcheck.device.local":"로컬","ipcheck.device.estimate_suffix":"(추정)","ipcheck.device.diff_equal":"약간의 오차","ipcheck.device.diff_ahead":"Claude가 {{h}}시간 빠름","ipcheck.device.diff_behind":"Claude가 {{h}}시간 느림","ipcheck.device.lang_expected":"Claude 지역 일반적","ipcheck.device.touch_yes":"예","ipcheck.device.touch_no":"아니요","ipcheck.device.dnt_on":"켜짐","ipcheck.device.dnt_off":"꺼짐","ipcheck.device.dnt_unset":"설정 안 됨","ipcheck.device.net_unsupported":"감지되지 않음","ipcheck.device.unsupported":"지원되지 않음","ipcheck.history.title":"Claude 출구 IP 기록","ipcheck.history.subtitle":"이 브라우저에만 저장되며 최대 6개까지 보관됩니다","ipcheck.history.clear":"지우기","ipcheck.history.empty":"아직 기록이 없습니다","ipcheck.history.current":"현재","ipcheck.region.CN":"중국 본토","ipcheck.region.HK":"홍콩","ipcheck.region.MO":"마카오","ipcheck.region.RU":"러시아","ipcheck.region.KP":"북한","ipcheck.region.IR":"이란","ipcheck.region.SY":"시리아","ipcheck.region.CU":"쿠바","ipcheck.region.BY":"벨라루스","ipcheck.region.VE":"베네수엘라","local_only.title":"앱에서 사용 가능","local_only.body":"이 페이지는 사용자의 컴퓨터에 있는 데이터를 읽으므로 Mac 앱 또는 CLI 대시보드에서만 작동합니다.","local_only.open_app":"Mac 앱에서 열기","local_only.download":"Mac 앱 받기","dashboard.auth_gate.title":"Token Tracker 로그인","dashboard.auth_gate.subtitle":"로그인하여 클라우드에서 API 사용량, 비용 및 토큰 소비 트렌드를 동기화하고 확인하세요.","dashboard.auth_gate.button":"로그인","shared.app_name":"Token Tracker","dashboard.auth_gate.hero_title":"AI 에이전트의 모든 토큰 소비","dashboard.auth_gate.hero_subtitle":"명확하고 투명한 멀티 엔드포인트 제어","dashboard.auth_gate.desc":"Claude Code, Cursor, Gemini CLI 등 모든 주류 에이전트의 토큰 쿼터, 동시 실행 비용 및 대기 시간 통계를 퍼블릭 클라우드에서 안전하게 동기화하여 전례 없는 종합 시각화 분석을 제공합니다.","dashboard.auth_gate.feature.sync.title":"실시간 클라우드 동기화","dashboard.auth_gate.feature.sync.desc":"각 엔드포인트의 실행 비용을 자동으로 수집하고 프라이빗 클라우드에 단 몇 초 만에 안전하게 아카이브합니다.","dashboard.auth_gate.feature.anal.title":"다차원 대시보드 분석","dashboard.auth_gate.feature.anal.desc":"모델 분류, 시간 프레임별로 토큰 분포를 통계하여 비용 급증 및 소비 구성을 언제든지 추적할 수 있습니다.","dashboard.auth_gate.feature.guard.title":"로컬 우선의 자율성","dashboard.auth_gate.feature.guard.desc":"Localhost 모드에서는 모든 로그인 인증을 자동으로 건너뛰어 로컬 오프라인 디버깅 경험을 완벽하게 보호합니다."};function fk(){return typeof window>"u"?null:window.localStorage||null}function Ao(e,{storage:t}={}){const a=t??fk();if(!a||typeof a.getItem!="function")return null;try{return a.getItem(e)}catch{return null}}function Mo(e,t,{storage:a}={}){const i=a??fk();if(!i||typeof i.setItem!="function")return!1;try{return i.setItem(e,t),!0}catch{return!1}}const pk="tokentracker-locale",Ei="system",Wl="en",mk="zh-CN",gk="zh-TW",vk="ja",yk="ko",VP=/^zh[-_](hant|tw|hk|mo)\b/i;function kk(e){return/^zh(?:[-_]|$)/i.test(e)?VP.test(e)?gk:mk:/^ja(?:[-_]|$)/i.test(e)?vk:/^ko(?:[-_]|$)/i.test(e)?yk:null}function bk(e){return typeof e!="string"?Wl:kk(e.trim())||Wl}function hc(e){return e===Ei?Ei:bk(e)}function FP(){return typeof navigator>"u"?[]:Array.isArray(navigator.languages)&&navigator.languages.length?navigator.languages.filter(e=>typeof e=="string"):typeof navigator.language=="string"?[navigator.language]:[]}function $l(e,t=FP()){const a=hc(e);if(a!==Ei)return a;const i=t.map(s=>typeof s=="string"?s.trim():"").find(s=>s.length>0);return i&&kk(i)||Wl}function Uh(){return hc(Ao(pk)||Ei)}function UP(e){return Mo(pk,hc(e))}const BP=["key","module","page","component","slot","text"],HP={[mk]:{...IP,...AP},[gk]:{...MP,...LP},[vk]:{...NP,...jP},[yk]:{...OP,...zP}};let cd=null,Bh=$l(Uh());function WP(e){const t=[];let a=[],i="",s=!1;for(let c=0;c<e.length;c+=1){const u=e[c];if(s){u==='"'?e[c+1]==='"'?(i+='"',c+=1):s=!1:i+=u;continue}if(u==='"'){s=!0;continue}if(u===","){a.push(i),i="";continue}if(u===`
|
|
685
|
+
`){a.push(i),i="",a.every(d=>d.trim()==="")||t.push(a),a=[];continue}u!=="\r"&&(i+=u)}return a.push(i),a.every(c=>c.trim()==="")||t.push(a),t}function $P(e){const t=WP(e);if(!t.length)return{map:new Map,rows:[]};const a=t[0].map(d=>String(d).trim());if(BP.filter(d=>!a.includes(d)).length)return{map:new Map,rows:[]};const s=Object.fromEntries(a.map((d,p)=>[d,p])),c=[],u=new Map;return t.slice(1).forEach((d,p)=>{const f={key:String(d[s.key]||"").trim(),module:String(d[s.module]||"").trim(),page:String(d[s.page]||"").trim(),component:String(d[s.component]||"").trim(),slot:String(d[s.slot]||"").trim(),text:String(d[s.text]??"").trim()};f.key&&(u.has(f.key),u.set(f.key,f),c.push(f))}),{map:u,rows:c}}function GP(){return cd||(cd=$P(DP)),cd}function KP(){return HP[Bh]||{}}function YP(e){const t=KP()[String(e)];return typeof t=="string"&&t.trim()?t:null}function XP(e,t){return t?e.replace(/\{\{(\w+)\}\}/g,(a,i)=>t[i]==null?a:String(t[i])):e}function ZP(e){return String(e).replace(/\\n/g,`
|
|
686
|
+
`)}function qP(e,t){return YP(t)||e?.text||t}function QP(e){Bh=bk(e)}function U5(){return Bh}function He(e,t){const i=GP().map.get(e);return XP(ZP(qP(i,e)),t)}const Bg="tokentracker_native_app";let _k=null;const Fd=new Set;typeof window<"u"&&window.addEventListener("native:systemAppearanceChanged",e=>{const t=e?.detail?.isDark;if(typeof t=="boolean"){_k=t;try{const a=document.documentElement;t?a.classList.add("dark"):a.classList.remove("dark")}catch{}Fd.forEach(a=>{try{a(t)}catch{}})}});function Hg(){return _k}function JP(e){return Fd.add(e),()=>Fd.delete(e)}function Hh(){if(typeof window>"u")return!1;try{if(new URLSearchParams(window.location.search).get("app")==="1"){try{window.localStorage.setItem(Bg,"1")}catch{}return!0}return window.localStorage.getItem(Bg)==="1"}catch{return!1}}function Un(){return typeof window>"u"?!1:!!window.webkit?.messageHandlers?.nativeBridge}function wk(){return typeof window>"u"?!1:!!window.chrome?.webview&&Hh()}function xk(){return typeof window>"u"?null:window.webkit?.messageHandlers?.nativeBridge??null}function B5(){return!!xk()}function ns(e){const t=xk();if(!t)return!1;try{return t.postMessage(e),!0}catch(a){return console.warn("[tokentracker] nativeBridge post failed:",a),!1}}function H5(){return ns({type:"getSettings"})}function Lo(e,t){return ns({type:"setSetting",key:e,value:t})}function W5(e){return ns({type:"action",name:e})}function eS(){return ns({type:"getSystemAppearance"})}function tS(e,t){if(!Un())return;ns({type:"setChromeAppearance",isDark:e==="dark",theme:t??"system"})}function $5(e){if(typeof window>"u")return()=>{};const t=a=>{a&&a.detail&&typeof a.detail=="object"&&e(a.detail)};return window.addEventListener("native:settings",t),()=>window.removeEventListener("native:settings",t)}const Pk=k.createContext(null);function nS(){return $l(Uh())}function rS(e){typeof document>"u"||(document.documentElement.lang=e)}function Wg(e,t){QP(e),t(a=>a===e?a:e)}function aS({children:e}){const[t,a]=k.useState(Uh),[i,s]=k.useState(nS);k.useLayoutEffect(()=>{rS(i)},[i]),k.useLayoutEffect(()=>{Un()&&Lo("locale",t)},[t]),k.useLayoutEffect(()=>{if(t!==Ei||typeof window>"u")return;const d=()=>Wg($l(Ei),s);return window.addEventListener("languagechange",d),()=>window.removeEventListener("languagechange",d)},[t]);const c=k.useCallback(d=>{const p=hc(d);Wg($l(p),s),a(p),UP(p),Un()&&Lo("locale",p)},[]),u=k.useMemo(()=>({locale:t,setLocale:c,resolvedLocale:i}),[t,i,c]);return L.jsx(Pk.Provider,{value:u,children:e})}const Wo="USD",Wh=["USD","EUR","GBP","CNY","JPY","HKD"],Sk={USD:{symbol:"$",labelKey:"settings.appearance.currency.opt.usd"},EUR:{symbol:"€",labelKey:"settings.appearance.currency.opt.eur"},GBP:{symbol:"£",labelKey:"settings.appearance.currency.opt.gbp"},CNY:{symbol:"¥",labelKey:"settings.appearance.currency.opt.cny"},JPY:{symbol:"¥",labelKey:"settings.appearance.currency.opt.jpy"},HKD:{symbol:"HK$",labelKey:"settings.appearance.currency.opt.hkd"}},$h={USD:1,EUR:.92,GBP:.79,CNY:7.2,JPY:155,HKD:7.8},Ck="tokentracker-currency",Tk="tokentracker-exchange-rates",Ek="tokentracker-exchange-rate-source",Rk="tokentracker-exchange-rate-fetched-at";function Gl(e){return typeof e=="number"&&Number.isFinite(e)&&e>0}function Gh(e){if(typeof e!="string")return Wo;const t=e.trim().toUpperCase();return Wh.includes(t)?t:Wo}function ud(e){const t=typeof e=="string"?e.trim().toUpperCase():Wo;return Sk[t]?.symbol??"$"}function G5(){return Wh.map(e=>({code:e,...Sk[e]}))}function iS(){return Gh(Ao(Ck))}function oS(e){return Mo(Ck,Gh(e))}function Dk(e){return e==="fetched"?"fetched":"default"}function sS(e){if(e==null)return null;try{const t=JSON.parse(String(e));if(!t||typeof t!="object")return null;const a={};for(const[i,s]of Object.entries(t)){const c=Number(s);Number.isFinite(c)&&c>0&&(a[i.toUpperCase()]=c)}return a}catch{return null}}function lS(){const e=sS(Ao(Tk)),t=Ao(Rk),a=t==null?NaN:Number(t),i=Number.isFinite(a)&&a>0?a:null,s=Ao(Ek),c=Dk(s);return e&&Object.keys(e).length>0?{rates:{USD:1,...e},source:c,fetchedAt:i}:{rates:{...$h},source:"default",fetchedAt:null}}function cS(e){const{rates:t,source:a,fetchedAt:i}=e;if(!t||typeof t!="object")return!1;const s=Mo(Tk,JSON.stringify(t)),c=Mo(Ek,Dk(a)),u=i?Mo(Rk,String(i)):!0;return s&&c&&u}function dd(e,t){if(t===Wo)return 1;const a=e?.[t];if(Gl(a))return a;const i=$h[t];return Gl(i)?i:1}const uS="https://open.er-api.com/v6/latest/USD",dS=1440*60*1e3,hS=5e3;function fS(e,t=dS,a=Date.now()){return!e||!Number.isFinite(e)?!0:a-e>t}async function pS(e={}){const{timeoutMs:t=hS,fetchImpl:a,url:i=uS,codes:s=Wh}=e,c=a??(typeof fetch<"u"?fetch:null);if(!c)throw new Error("fetch is not available");const u=typeof AbortController<"u"?new AbortController:null,d=u?setTimeout(()=>u.abort(),t):null;try{const p=await c(i,u?{signal:u.signal}:void 0);if(!p||!p.ok)throw new Error(`exchange rate fetch failed: ${p?.status??"no-response"}`);const g=(await p.json())?.rates;if(!g||typeof g!="object")throw new Error("exchange rate response missing rates");const v={USD:1};for(const y of s){if(y==="USD")continue;const _=g[y];Gl(_)&&(v[y]=_)}if(Object.keys(v).length<=1)throw new Error("no supported currency rates in response");return{rates:v,fetchedAt:Date.now()}}finally{d&&clearTimeout(d)}}const mS=k.createContext(null);function $g(e,t,a){Un()&&(Lo("currency",e),Lo("currencySymbol",a),Gl(t)&&Lo("exchangeRate",t))}function gS({children:e}){const[t,a]=k.useState(iS),i=k.useMemo(()=>lS(),[]),[s,c]=k.useState(i.rates),[u,d]=k.useState(i.source),[p,f]=k.useState(i.fetchedAt),g=k.useRef(!1),v=k.useRef(!1),y=k.useCallback((j,I,D)=>{c(j),d(I),f(D),cS({rates:j,source:I,fetchedAt:D})},[]),_=k.useCallback(async()=>{if(!g.current){g.current=!0;try{const{rates:j,fetchedAt:I}=await pS();y({...$h,...j},"fetched",I)}catch{}finally{g.current=!1}}},[y]),w=k.useCallback(j=>{const I=Gh(j);a(I),oS(I);const D=dd(s,I),B=ud(I);$g(I,D,B)},[s]);k.useEffect(()=>{v.current||t!==Wo&&fS(p)&&(v.current=!0,_())},[t,p,_]),k.useEffect(()=>{const j=dd(s,t),I=ud(t);$g(t,j,I)},[t,s]);const P=k.useMemo(()=>dd(s,t),[s,t]),S=k.useMemo(()=>ud(t),[t]),N=k.useMemo(()=>({currency:t,rate:P,symbol:S,rates:s,rateSource:u,rateFetchedAt:p,setCurrency:w}),[t,P,S,s,u,p,w]);return L.jsx(mS.Provider,{value:N,children:e})}const vS="modulepreload",yS=function(e){return"/"+e},Gg={},oa=function(t,a,i){let s=Promise.resolve();if(a&&a.length>0){let p=function(f){return Promise.all(f.map(g=>Promise.resolve(g).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),d=u?.nonce||u?.getAttribute("nonce");s=p(a.map(f=>{if(f=yS(f),f in Gg)return;Gg[f]=!0;const g=f.endsWith(".css"),v=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${v}`))return;const y=document.createElement("link");if(y.rel=g?"stylesheet":vS,g||(y.as="script"),y.crossOrigin="",y.href=f,d&&y.setAttribute("nonce",d),document.head.appendChild(y),g)return new Promise((_,w)=>{y.addEventListener("load",_),y.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${f}`)))})}))}function c(u){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u}return s.then(u=>{for(const d of u||[])d.status==="rejected"&&c(d.reason);return t().catch(c)})};const Ik=(...e)=>e.filter((t,a,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===a).join(" ").trim();const kS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const bS=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,i)=>i?i.toUpperCase():a.toLowerCase());const Kg=e=>{const t=bS(e);return t.charAt(0).toUpperCase()+t.slice(1)};var hd={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 _S=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},wS=k.createContext({}),xS=()=>k.useContext(wS),PS=k.forwardRef(({color:e,size:t,strokeWidth:a,absoluteStrokeWidth:i,className:s="",children:c,iconNode:u,...d},p)=>{const{size:f=24,strokeWidth:g=2,absoluteStrokeWidth:v=!1,color:y="currentColor",className:_=""}=xS()??{},w=i??v?Number(a??g)*24/Number(t??f):a??g;return k.createElement("svg",{ref:p,...hd,width:t??f??hd.width,height:t??f??hd.height,stroke:e??y,strokeWidth:w,className:Ik("lucide",_,s),...!c&&!_S(d)&&{"aria-hidden":"true"},...d},[...u.map(([P,S])=>k.createElement(P,S)),...Array.isArray(c)?c:[c]])});const Mt=(e,t)=>{const a=k.forwardRef(({className:i,...s},c)=>k.createElement(PS,{ref:c,iconNode:t,className:Ik(`lucide-${kS(Kg(e))}`,`lucide-${e}`,i),...s}));return a.displayName=Kg(e),a};const SS=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],CS=Mt("chart-column",SS);const TS=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ES=Mt("chevron-left",TS);const RS=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],DS=Mt("chevron-right",RS);const IS=[["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}],["path",{d:"m9 10-5 5 5 5",key:"1kshq7"}]],AS=Mt("corner-down-left",IS);const MS=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],LS=Mt("gauge",MS);const NS=[["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"}]],jS=Mt("globe",NS);const OS=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],zS=Mt("layout-grid",OS);const VS=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],FS=Mt("menu",VS);const US=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],BS=Mt("monitor",US);const HS=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Ak=Mt("moon",HS);const WS=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],$S=Mt("puzzle",WS);const GS=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],KS=Mt("refresh-cw",GS);const YS=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],XS=Mt("search",YS);const ZS=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],qS=Mt("settings",ZS);const QS=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],Mk=Mt("sun",QS);const JS=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],eC=Mt("triangle-alert",JS);const tC=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Lk=Mt("x",tC);function nC({children:e,variant:t="primary",size:a="md",onClick:i,disabled:s=!1,className:c="",as:u="button",...d}){const p="inline-flex items-center justify-center font-medium transition-all duration-200 rounded-md focus:outline-none focus:ring-2 focus:ring-oai-blue/30 active:scale-[0.98] active:duration-100",f={primary:"bg-oai-black dark:bg-oai-white text-white dark:text-oai-black border border-transparent hover:bg-oai-gray-800 dark:hover:bg-oai-gray-200 active:bg-oai-gray-900 dark:active:bg-oai-gray-300 disabled:bg-oai-gray-300 dark:disabled:bg-oai-gray-700 disabled:text-oai-gray-500 dark:disabled:text-oai-gray-400 focus:ring-oai-brand/30 transition-colors duration-200",secondary:"bg-oai-white dark:bg-oai-gray-900 text-oai-black dark:text-oai-white border border-oai-gray-300 dark:border-oai-gray-700 hover:border-oai-brand hover:text-oai-brand active:bg-oai-gray-50 dark:active:bg-oai-gray-800 active:border-oai-brand-dark disabled:text-oai-gray-400 dark:disabled:text-oai-gray-500 disabled:border-oai-gray-200 dark:disabled:border-oai-gray-700 focus:ring-oai-brand/30 transition-colors duration-200",ghost:"bg-transparent text-oai-gray-600 dark:text-oai-gray-300 border border-transparent hover:text-oai-brand hover:bg-oai-brand-50/50 dark:hover:bg-oai-brand-950/30 active:bg-oai-brand-50 dark:active:bg-oai-brand-900/50 disabled:text-oai-gray-400 dark:disabled:text-oai-gray-500 focus:ring-oai-brand/30 transition-colors duration-200"},g={sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-sm",lg:"h-12 px-6 text-base"},v=s?"cursor-not-allowed opacity-60":"cursor-pointer",y=`${p} ${f[t]} ${g[a]} ${v} ${c}`;return L.jsx(u,{className:y,onClick:i,disabled:s,...d,children:e})}class rC extends Sh.Component{constructor(t){super(t),this.state={error:null},this.handleReload=this.handleReload.bind(this)}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,a){console.error("ErrorBoundary caught an error:",t)}handleReload(){typeof window>"u"||window.location.reload()}render(){const{error:t}=this.state;if(!t)return this.props.children;const a=String(t?.message||t||""),i=a?He("shared.error.prefix",{error:a}):He("error.boundary.no_details");return L.jsx("div",{className:"flex min-h-screen items-center justify-center bg-oai-white p-6 font-oai text-oai-black antialiased dark:bg-oai-gray-950 dark:text-oai-white",children:L.jsxs("div",{className:"w-full max-w-lg rounded-xl border border-oai-gray-200 bg-white p-6 text-center shadow-sm dark:border-oai-gray-800 dark:bg-oai-gray-900",children:[L.jsx("div",{className:"mx-auto flex h-10 w-10 items-center justify-center rounded-full bg-amber-50 text-amber-600 dark:bg-amber-950/30 dark:text-amber-300",children:L.jsx(eC,{className:"h-5 w-5","aria-hidden":!0})}),L.jsx("div",{className:"mt-4 text-xs font-medium uppercase text-oai-gray-500 dark:text-oai-gray-400",children:He("error.boundary.title")}),L.jsx("h1",{className:"mt-2 text-xl font-semibold text-oai-black dark:text-white",children:He("error.boundary.subtitle")}),L.jsx("p",{className:"mt-2 text-sm text-oai-gray-500 dark:text-oai-gray-400",children:He("error.boundary.hint")}),L.jsx("div",{className:"mt-4 max-h-32 overflow-auto rounded-lg border border-oai-gray-200 bg-oai-gray-50 px-3 py-2 text-left text-xs leading-5 text-oai-gray-600 dark:border-oai-gray-800 dark:bg-oai-gray-950 dark:text-oai-gray-300",children:i}),L.jsxs(nC,{type:"button",size:"md",onClick:this.handleReload,className:"mt-5",children:[L.jsx(KS,{className:"mr-2 h-4 w-4","aria-hidden":!0}),He("error.boundary.action.reload")]})]})})}}function Nk(){const e=k.useContext(Pk);if(e===null)throw new Error("useLocale must be used within a LocaleProvider");return e}const Ud="tokentracker-theme",jk=k.createContext(null);function aC(){if(typeof window>"u")return"system";try{const e=localStorage.getItem(Ud);if(e==="light"||e==="dark"||e==="system")return e}catch{}return"system"}function kl(){return typeof window>"u"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function iC(e){if(typeof document>"u")return;const t=document.documentElement;e==="dark"?t.classList.add("dark"):t.classList.remove("dark")}function oC({children:e}){const[t,a]=k.useState(aC),[i,s]=k.useState(()=>{if(t!=="system")return t;if(Un()){const f=Hg();if(typeof f=="boolean")return f?"dark":"light"}return kl()}),c=k.useRef(t);k.useEffect(()=>{c.current=t},[t]),k.useEffect(()=>{iC(i)},[i]),k.useLayoutEffect(()=>{if(t==="system"){if(Un()){const f=Hg();s(typeof f=="boolean"?f?"dark":"light":kl()),eS();return}s(kl())}else s(t)},[t]),k.useEffect(()=>Un()?JP(g=>{c.current==="system"&&s(g?"dark":"light")}):void 0,[]),k.useEffect(()=>{if(typeof window>"u"||t!=="system"||Un())return;const f=window.matchMedia("(prefers-color-scheme: dark)"),g=v=>{const y=v.matches?"dark":"light";s(y)};return f.addEventListener?(f.addEventListener("change",g),()=>f.removeEventListener("change",g)):(f.addListener(g),()=>f.removeListener(g))},[t]),k.useEffect(()=>{const f=t==="system"&&!Un()?kl():i;tS(f,t)},[i,t]);const u=k.useCallback(f=>{if(a(f),typeof window<"u")try{localStorage.setItem(Ud,f)}catch{}},[]),d=k.useCallback(()=>{u(f=>{const g=f==="dark"?"light":"dark";if(typeof window<"u")try{localStorage.setItem(Ud,g)}catch{}return g})},[]),p=k.useMemo(()=>({theme:t,setTheme:u,toggleTheme:d,resolvedTheme:i}),[t,u,d,i]);return L.jsx(jk.Provider,{value:p,children:e})}function sC(){return""}function lC(e=""){if(typeof e!="string"||e.length===0)return!1;const t=new URLSearchParams(e),a=String(t.get("screenshot")||"").toLowerCase();return a==="1"||a==="true"}function Ok(e){var t,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(a=Ok(e[t]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function cC(){for(var e,t,a=0,i="",s=arguments.length;a<s;a++)(e=arguments[a])&&(t=Ok(e))&&(i&&(i+=" "),i+=t);return i}const uC=(e,t)=>{const a=new Array(e.length+t.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<t.length;i++)a[e.length+i]=t[i];return a},dC=(e,t)=>({classGroupId:e,validator:t}),zk=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),Kl="-",Yg=[],hC="arbitrary..",fC=e=>{const t=mC(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return pC(u);const d=u.split(Kl),p=d[0]===""&&d.length>1?1:0;return Vk(d,p,t)},getConflictingClassGroupIds:(u,d)=>{if(d){const p=i[u],f=a[u];return p?f?uC(f,p):p:f||Yg}return a[u]||Yg}}},Vk=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;const s=e[t],c=a.nextPart.get(s);if(c){const f=Vk(e,t+1,c);if(f)return f}const u=a.validators;if(u===null)return;const d=t===0?e.join(Kl):e.slice(t).join(Kl),p=u.length;for(let f=0;f<p;f++){const g=u[f];if(g.validator(d))return g.classGroupId}},pC=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),a=t.indexOf(":"),i=t.slice(0,a);return i?hC+i:void 0})(),mC=e=>{const{theme:t,classGroups:a}=e;return gC(a,t)},gC=(e,t)=>{const a=zk();for(const i in e){const s=e[i];Kh(s,a,i,t)}return a},Kh=(e,t,a,i)=>{const s=e.length;for(let c=0;c<s;c++){const u=e[c];vC(u,t,a,i)}},vC=(e,t,a,i)=>{if(typeof e=="string"){yC(e,t,a);return}if(typeof e=="function"){kC(e,t,a,i);return}bC(e,t,a,i)},yC=(e,t,a)=>{const i=e===""?t:Fk(t,e);i.classGroupId=a},kC=(e,t,a,i)=>{if(_C(e)){Kh(e(i),t,a,i);return}t.validators===null&&(t.validators=[]),t.validators.push(dC(a,e))},bC=(e,t,a,i)=>{const s=Object.entries(e),c=s.length;for(let u=0;u<c;u++){const[d,p]=s[u];Kh(p,Fk(t,d),a,i)}},Fk=(e,t)=>{let a=e;const i=t.split(Kl),s=i.length;for(let c=0;c<s;c++){const u=i[c];let d=a.nextPart.get(u);d||(d=zk(),a.nextPart.set(u,d)),a=d}return a},_C=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,wC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=Object.create(null),i=Object.create(null);const s=(c,u)=>{a[c]=u,t++,t>e&&(t=0,i=a,a=Object.create(null))};return{get(c){let u=a[c];if(u!==void 0)return u;if((u=i[c])!==void 0)return s(c,u),u},set(c,u){c in a?a[c]=u:s(c,u)}}},Bd="!",Xg=":",xC=[],Zg=(e,t,a,i,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:i,isExternal:s}),PC=e=>{const{prefix:t,experimentalParseClassName:a}=e;let i=s=>{const c=[];let u=0,d=0,p=0,f;const g=s.length;for(let P=0;P<g;P++){const S=s[P];if(u===0&&d===0){if(S===Xg){c.push(s.slice(p,P)),p=P+1;continue}if(S==="/"){f=P;continue}}S==="["?u++:S==="]"?u--:S==="("?d++:S===")"&&d--}const v=c.length===0?s:s.slice(p);let y=v,_=!1;v.endsWith(Bd)?(y=v.slice(0,-1),_=!0):v.startsWith(Bd)&&(y=v.slice(1),_=!0);const w=f&&f>p?f-p:void 0;return Zg(c,_,y,w)};if(t){const s=t+Xg,c=i;i=u=>u.startsWith(s)?c(u.slice(s.length)):Zg(xC,!1,u,void 0,!0)}if(a){const s=i;i=c=>a({className:c,parseClassName:s})}return i},SC=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{t.set(a,1e6+i)}),a=>{const i=[];let s=[];for(let c=0;c<a.length;c++){const u=a[c],d=u[0]==="[",p=t.has(u);d||p?(s.length>0&&(s.sort(),i.push(...s),s=[]),i.push(u)):s.push(u)}return s.length>0&&(s.sort(),i.push(...s)),i}},CC=e=>({cache:wC(e.cacheSize),parseClassName:PC(e),sortModifiers:SC(e),...fC(e)}),TC=/\s+/,EC=(e,t)=>{const{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:s,sortModifiers:c}=t,u=[],d=e.trim().split(TC);let p="";for(let f=d.length-1;f>=0;f-=1){const g=d[f],{isExternal:v,modifiers:y,hasImportantModifier:_,baseClassName:w,maybePostfixModifierPosition:P}=a(g);if(v){p=g+(p.length>0?" "+p:p);continue}let S=!!P,N=i(S?w.substring(0,P):w);if(!N){if(!S){p=g+(p.length>0?" "+p:p);continue}if(N=i(w),!N){p=g+(p.length>0?" "+p:p);continue}S=!1}const j=y.length===0?"":y.length===1?y[0]:c(y).join(":"),I=_?j+Bd:j,D=I+N;if(u.indexOf(D)>-1)continue;u.push(D);const B=s(N,S);for(let Z=0;Z<B.length;++Z){const oe=B[Z];u.push(I+oe)}p=g+(p.length>0?" "+p:p)}return p},RC=(...e)=>{let t=0,a,i,s="";for(;t<e.length;)(a=e[t++])&&(i=Uk(a))&&(s&&(s+=" "),s+=i);return s},Uk=e=>{if(typeof e=="string")return e;let t,a="";for(let i=0;i<e.length;i++)e[i]&&(t=Uk(e[i]))&&(a&&(a+=" "),a+=t);return a},DC=(e,...t)=>{let a,i,s,c;const u=p=>{const f=t.reduce((g,v)=>v(g),e());return a=CC(f),i=a.cache.get,s=a.cache.set,c=d,d(p)},d=p=>{const f=i(p);if(f)return f;const g=EC(p,a);return s(p,g),g};return c=u,(...p)=>c(RC(...p))},IC=[],wt=e=>{const t=a=>a[e]||IC;return t.isThemeGetter=!0,t},Bk=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Hk=/^\((?:(\w[\w-]*):)?(.+)\)$/i,AC=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,MC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,LC=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,NC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,jC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,OC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Kr=e=>AC.test(e),Oe=e=>!!e&&!Number.isNaN(Number(e)),Yr=e=>!!e&&Number.isInteger(Number(e)),fd=e=>e.endsWith("%")&&Oe(e.slice(0,-1)),kr=e=>MC.test(e),Wk=()=>!0,zC=e=>LC.test(e)&&!NC.test(e),Yh=()=>!1,VC=e=>jC.test(e),FC=e=>OC.test(e),UC=e=>!ve(e)&&!ke(e),BC=e=>sa(e,Kk,Yh),ve=e=>Bk.test(e),Ta=e=>sa(e,Yk,zC),qg=e=>sa(e,ZC,Oe),HC=e=>sa(e,Zk,Wk),WC=e=>sa(e,Xk,Yh),Qg=e=>sa(e,$k,Yh),$C=e=>sa(e,Gk,FC),bl=e=>sa(e,qk,VC),ke=e=>Hk.test(e),xo=e=>Ua(e,Yk),GC=e=>Ua(e,Xk),Jg=e=>Ua(e,$k),KC=e=>Ua(e,Kk),YC=e=>Ua(e,Gk),_l=e=>Ua(e,qk,!0),XC=e=>Ua(e,Zk,!0),sa=(e,t,a)=>{const i=Bk.exec(e);return i?i[1]?t(i[1]):a(i[2]):!1},Ua=(e,t,a=!1)=>{const i=Hk.exec(e);return i?i[1]?t(i[1]):a:!1},$k=e=>e==="position"||e==="percentage",Gk=e=>e==="image"||e==="url",Kk=e=>e==="length"||e==="size"||e==="bg-size",Yk=e=>e==="length",ZC=e=>e==="number",Xk=e=>e==="family-name",Zk=e=>e==="number"||e==="weight",qk=e=>e==="shadow",qC=()=>{const e=wt("color"),t=wt("font"),a=wt("text"),i=wt("font-weight"),s=wt("tracking"),c=wt("leading"),u=wt("breakpoint"),d=wt("container"),p=wt("spacing"),f=wt("radius"),g=wt("shadow"),v=wt("inset-shadow"),y=wt("text-shadow"),_=wt("drop-shadow"),w=wt("blur"),P=wt("perspective"),S=wt("aspect"),N=wt("ease"),j=wt("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...D(),ke,ve],Z=()=>["auto","hidden","clip","visible","scroll"],oe=()=>["auto","contain","none"],x=()=>[ke,ve,p],ee=()=>[Kr,"full","auto",...x()],Y=()=>[Yr,"none","subgrid",ke,ve],ue=()=>["auto",{span:["full",Yr,ke,ve]},Yr,ke,ve],se=()=>[Yr,"auto",ke,ve],q=()=>["auto","min","max","fr",ke,ve],ae=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ie=()=>["start","end","center","stretch","center-safe","end-safe"],Q=()=>["auto",...x()],ne=()=>[Kr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],V=()=>[Kr,"screen","full","dvw","lvw","svw","min","max","fit",...x()],W=()=>[Kr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...x()],O=()=>[e,ke,ve],E=()=>[...D(),Jg,Qg,{position:[ke,ve]}],$=()=>["no-repeat",{repeat:["","x","y","space","round"]}],de=()=>["auto","cover","contain",KC,BC,{size:[ke,ve]}],fe=()=>[fd,xo,Ta],he=()=>["","none","full",f,ke,ve],pe=()=>["",Oe,xo,Ta],De=()=>["solid","dashed","dotted","double"],je=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>[Oe,fd,Jg,Qg],ut=()=>["","none",w,ke,ve],an=()=>["none",Oe,ke,ve],Xt=()=>["none",Oe,ke,ve],qe=()=>[Oe,ke,ve],Et=()=>[Kr,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[kr],breakpoint:[kr],color:[Wk],container:[kr],"drop-shadow":[kr],ease:["in","out","in-out"],font:[UC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[kr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[kr],shadow:[kr],spacing:["px",Oe],text:[kr],"text-shadow":[kr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Kr,ve,ke,S]}],container:["container"],columns:[{columns:[Oe,ve,ke,d]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:B()}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:oe()}],"overscroll-x":[{"overscroll-x":oe()}],"overscroll-y":[{"overscroll-y":oe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ee()}],"inset-x":[{"inset-x":ee()}],"inset-y":[{"inset-y":ee()}],start:[{"inset-s":ee(),start:ee()}],end:[{"inset-e":ee(),end:ee()}],"inset-bs":[{"inset-bs":ee()}],"inset-be":[{"inset-be":ee()}],top:[{top:ee()}],right:[{right:ee()}],bottom:[{bottom:ee()}],left:[{left:ee()}],visibility:["visible","invisible","collapse"],z:[{z:[Yr,"auto",ke,ve]}],basis:[{basis:[Kr,"full","auto",d,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Oe,Kr,"auto","initial","none",ve]}],grow:[{grow:["",Oe,ke,ve]}],shrink:[{shrink:["",Oe,ke,ve]}],order:[{order:[Yr,"first","last","none",ke,ve]}],"grid-cols":[{"grid-cols":Y()}],"col-start-end":[{col:ue()}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":Y()}],"row-start-end":[{row:ue()}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":q()}],"auto-rows":[{"auto-rows":q()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:[...ae(),"normal"]}],"justify-items":[{"justify-items":[...ie(),"normal"]}],"justify-self":[{"justify-self":["auto",...ie()]}],"align-content":[{content:["normal",...ae()]}],"align-items":[{items:[...ie(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ie(),{baseline:["","last"]}]}],"place-content":[{"place-content":ae()}],"place-items":[{"place-items":[...ie(),"baseline"]}],"place-self":[{"place-self":["auto",...ie()]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pbs:[{pbs:x()}],pbe:[{pbe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:Q()}],mx:[{mx:Q()}],my:[{my:Q()}],ms:[{ms:Q()}],me:[{me:Q()}],mbs:[{mbs:Q()}],mbe:[{mbe:Q()}],mt:[{mt:Q()}],mr:[{mr:Q()}],mb:[{mb:Q()}],ml:[{ml:Q()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:ne()}],"inline-size":[{inline:["auto",...V()]}],"min-inline-size":[{"min-inline":["auto",...V()]}],"max-inline-size":[{"max-inline":["none",...V()]}],"block-size":[{block:["auto",...W()]}],"min-block-size":[{"min-block":["auto",...W()]}],"max-block-size":[{"max-block":["none",...W()]}],w:[{w:[d,"screen",...ne()]}],"min-w":[{"min-w":[d,"screen","none",...ne()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[u]},...ne()]}],h:[{h:["screen","lh",...ne()]}],"min-h":[{"min-h":["screen","lh","none",...ne()]}],"max-h":[{"max-h":["screen","lh",...ne()]}],"font-size":[{text:["base",a,xo,Ta]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,XC,HC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",fd,ve]}],"font-family":[{font:[GC,WC,t]}],"font-features":[{"font-features":[ve]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,ke,ve]}],"line-clamp":[{"line-clamp":[Oe,"none",ke,qg]}],leading:[{leading:[c,...x()]}],"list-image":[{"list-image":["none",ke,ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ke,ve]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...De(),"wavy"]}],"text-decoration-thickness":[{decoration:[Oe,"from-font","auto",ke,Ta]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[Oe,"auto",ke,ve]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ke,ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ke,ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:E()}],"bg-repeat":[{bg:$()}],"bg-size":[{bg:de()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Yr,ke,ve],radial:["",ke,ve],conic:[Yr,ke,ve]},YC,$C]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:fe()}],"gradient-via-pos":[{via:fe()}],"gradient-to-pos":[{to:fe()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:he()}],"rounded-s":[{"rounded-s":he()}],"rounded-e":[{"rounded-e":he()}],"rounded-t":[{"rounded-t":he()}],"rounded-r":[{"rounded-r":he()}],"rounded-b":[{"rounded-b":he()}],"rounded-l":[{"rounded-l":he()}],"rounded-ss":[{"rounded-ss":he()}],"rounded-se":[{"rounded-se":he()}],"rounded-ee":[{"rounded-ee":he()}],"rounded-es":[{"rounded-es":he()}],"rounded-tl":[{"rounded-tl":he()}],"rounded-tr":[{"rounded-tr":he()}],"rounded-br":[{"rounded-br":he()}],"rounded-bl":[{"rounded-bl":he()}],"border-w":[{border:pe()}],"border-w-x":[{"border-x":pe()}],"border-w-y":[{"border-y":pe()}],"border-w-s":[{"border-s":pe()}],"border-w-e":[{"border-e":pe()}],"border-w-bs":[{"border-bs":pe()}],"border-w-be":[{"border-be":pe()}],"border-w-t":[{"border-t":pe()}],"border-w-r":[{"border-r":pe()}],"border-w-b":[{"border-b":pe()}],"border-w-l":[{"border-l":pe()}],"divide-x":[{"divide-x":pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...De(),"hidden","none"]}],"divide-style":[{divide:[...De(),"hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...De(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Oe,ke,ve]}],"outline-w":[{outline:["",Oe,xo,Ta]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",g,_l,bl]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",v,_l,bl]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[Oe,Ta]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":pe()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",y,_l,bl]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[Oe,ke,ve]}],"mix-blend":[{"mix-blend":[...je(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":je()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Oe]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ce()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":Ce()}],"mask-image-t-to-pos":[{"mask-t-to":Ce()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":Ce()}],"mask-image-r-to-pos":[{"mask-r-to":Ce()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":Ce()}],"mask-image-b-to-pos":[{"mask-b-to":Ce()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":Ce()}],"mask-image-l-to-pos":[{"mask-l-to":Ce()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":Ce()}],"mask-image-x-to-pos":[{"mask-x-to":Ce()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":Ce()}],"mask-image-y-to-pos":[{"mask-y-to":Ce()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[ke,ve]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ce()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":D()}],"mask-image-conic-pos":[{"mask-conic":[Oe]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ce()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:E()}],"mask-repeat":[{mask:$()}],"mask-size":[{mask:de()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ke,ve]}],filter:[{filter:["","none",ke,ve]}],blur:[{blur:ut()}],brightness:[{brightness:[Oe,ke,ve]}],contrast:[{contrast:[Oe,ke,ve]}],"drop-shadow":[{"drop-shadow":["","none",_,_l,bl]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",Oe,ke,ve]}],"hue-rotate":[{"hue-rotate":[Oe,ke,ve]}],invert:[{invert:["",Oe,ke,ve]}],saturate:[{saturate:[Oe,ke,ve]}],sepia:[{sepia:["",Oe,ke,ve]}],"backdrop-filter":[{"backdrop-filter":["","none",ke,ve]}],"backdrop-blur":[{"backdrop-blur":ut()}],"backdrop-brightness":[{"backdrop-brightness":[Oe,ke,ve]}],"backdrop-contrast":[{"backdrop-contrast":[Oe,ke,ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Oe,ke,ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Oe,ke,ve]}],"backdrop-invert":[{"backdrop-invert":["",Oe,ke,ve]}],"backdrop-opacity":[{"backdrop-opacity":[Oe,ke,ve]}],"backdrop-saturate":[{"backdrop-saturate":[Oe,ke,ve]}],"backdrop-sepia":[{"backdrop-sepia":["",Oe,ke,ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ke,ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Oe,"initial",ke,ve]}],ease:[{ease:["linear","initial",N,ke,ve]}],delay:[{delay:[Oe,ke,ve]}],animate:[{animate:["none",j,ke,ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[P,ke,ve]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:an()}],"rotate-x":[{"rotate-x":an()}],"rotate-y":[{"rotate-y":an()}],"rotate-z":[{"rotate-z":an()}],scale:[{scale:Xt()}],"scale-x":[{"scale-x":Xt()}],"scale-y":[{"scale-y":Xt()}],"scale-z":[{"scale-z":Xt()}],"scale-3d":["scale-3d"],skew:[{skew:qe()}],"skew-x":[{"skew-x":qe()}],"skew-y":[{"skew-y":qe()}],transform:[{transform:[ke,ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Et()}],"translate-x":[{"translate-x":Et()}],"translate-y":[{"translate-y":Et()}],"translate-z":[{"translate-z":Et()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ke,ve]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mbs":[{"scroll-mbs":x()}],"scroll-mbe":[{"scroll-mbe":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pbs":[{"scroll-pbs":x()}],"scroll-pbe":[{"scroll-pbe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ke,ve]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[Oe,xo,Ta,qg]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},QC=DC(qC);function Tn(...e){return QC(cC(e))}function JC(){const e=k.useContext(jk);if(e===null)throw new Error("useTheme must be used within a ThemeProvider");return e}const Hd="tt.sidebarCollapsed",pd="0.39.39".trim();function Qk(){const e=[{id:"usage",to:"/dashboard",icon:CS,label:He("nav.usage")},{id:"limits",to:"/limits",icon:LS,label:He("nav.limits")}];return[{id:"general",label:He("nav.group.general"),items:e},{id:"tools",label:He("nav.group.tools"),items:[{id:"widgets",to:"/widgets",icon:zS,label:He("nav.widgets")},{id:"skills",to:"/skills",icon:$S,label:He("nav.skills")},{id:"ip-check",to:"/ip-check",icon:jS,label:He("nav.ip_check")}]},{id:"account",label:He("nav.group.account"),items:[{id:"settings",to:"/settings",icon:qS,label:He("nav.settings")}]}]}function e2(){if(typeof window>"u")return!0;try{const e=window.localStorage.getItem(Hd);return e!=="0"}catch{return!0}}function t2(){const[e,t]=k.useState(e2),a=k.useCallback(()=>{t(i=>{const s=!i;try{typeof window<"u"&&window.localStorage.setItem(Hd,s?"1":"0")}catch{}return s})},[]);return k.useEffect(()=>{if(typeof window>"u")return;const i=s=>{s.key===Hd&&t(s.newValue!=="0")};return window.addEventListener("storage",i),()=>window.removeEventListener("storage",i)},[]),{collapsed:e,toggle:a}}function n2(e,t){const a=e.replace(/\/+$/,"")||"/";return t==="/dashboard"?a==="/dashboard"||a==="/":a===t}function r2({label:e,collapsed:t,first:a}){return t?a?null:L.jsx("div",{className:"mx-2 my-2 h-px bg-oai-gray-200/70 dark:bg-oai-gray-800/70","aria-hidden":!0}):L.jsx("div",{className:Tn("px-3 pb-1 text-[10px] uppercase tracking-wider text-oai-gray-500 dark:text-oai-gray-500",a?"pt-2":"pt-4"),children:e})}function a2({item:e,collapsed:t,active:a,onClick:i}){const s=e.icon;return L.jsxs(dc,{to:e.to,onClick:i,title:t?e.label:void 0,"aria-current":a?"page":void 0,className:Tn("flex items-center gap-2 rounded-md px-2 py-1.5 text-[13px] no-underline transition-colors",t&&"justify-center px-0 py-2",a?"bg-oai-gray-200/70 text-oai-black font-medium dark:bg-oai-gray-800 dark:text-white":"text-oai-gray-600 dark:text-oai-gray-400 hover:bg-oai-gray-200/50 hover:text-oai-black dark:hover:bg-oai-gray-800/60 dark:hover:text-white"),children:[L.jsx("span",{className:"flex h-5 w-5 shrink-0 items-center justify-center",children:L.jsx(s,{className:"h-[15px] w-[15px]","aria-hidden":!0})}),!t&&L.jsx("span",{className:"truncate",children:e.label})]})}function i2({collapsed:e}){if(!pd)return null;const t=He("nav.version",{version:pd});return L.jsx("div",{className:Tn("px-2 text-[10px] font-medium tabular-nums text-oai-gray-400 dark:text-oai-gray-600",e?"text-center":"truncate"),title:t,"aria-label":t,children:`v${pd}`})}function o2({as:e="button",title:t,onClick:a,href:i,children:s,className:c,...u}){const d=Tn("flex h-10 w-10 items-center justify-center rounded-lg text-oai-gray-600 dark:text-oai-gray-400 hover:bg-oai-gray-200/60 dark:hover:bg-oai-gray-800 hover:text-oai-black dark:hover:text-white transition-colors no-underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500",c);return e==="a"?L.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",title:t,"aria-label":t,className:d,...u,children:s}):L.jsx("button",{type:"button",title:t,"aria-label":t,onClick:a,className:d,...u,children:s})}const s2=[{value:"light",label:"Light",Icon:Mk},{value:"dark",label:"Dark",Icon:Ak},{value:"system",label:"System",Icon:BS}];function l2({theme:e,resolvedTheme:t,onSetTheme:a,glassChrome:i=!1}){const[s,c]=k.useState(!1),u=k.useRef(null),d=t==="dark"?Ak:Mk;return k.useEffect(()=>{if(!s)return;const p=g=>{u.current&&!u.current.contains(g.target)&&c(!1)},f=g=>{g.key==="Escape"&&c(!1)};return document.addEventListener("mousedown",p),document.addEventListener("keydown",f),()=>{document.removeEventListener("mousedown",p),document.removeEventListener("keydown",f)}},[s]),L.jsxs("div",{ref:u,className:"relative",children:[L.jsx("button",{type:"button","aria-label":"Theme","aria-expanded":s,"aria-haspopup":"menu",title:"Theme",onClick:()=>c(p=>!p),className:Tn("inline-flex h-7 w-7 items-center justify-center rounded-full transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500",i?"border border-gray-500/20 dark:border-gray-500/30 bg-gray-500/[0.04] dark:bg-gray-500/[0.06] backdrop-blur-[2px] text-oai-gray-700 dark:text-oai-gray-300 hover:bg-gray-500/10 dark:hover:bg-gray-500/12 hover:border-gray-500/30 dark:hover:border-gray-500/40 hover:text-oai-black dark:hover:text-white":"border border-oai-gray-200 dark:border-oai-gray-700 text-oai-gray-600 dark:text-oai-gray-400 hover:bg-oai-gray-200/60 dark:hover:bg-oai-gray-800 hover:text-oai-black dark:hover:text-white hover:border-oai-gray-300 dark:hover:border-oai-gray-600"),children:L.jsx(d,{className:"h-3.5 w-3.5","aria-hidden":!0})}),s&&L.jsx("div",{role:"menu",className:"absolute bottom-full left-0 mb-2 z-50 min-w-[140px] py-1 rounded-lg border border-oai-gray-200 dark:border-oai-gray-800 bg-white dark:bg-oai-gray-900 shadow-lg",children:s2.map(({value:p,label:f,Icon:g})=>{const v=e===p;return L.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{a(p),c(!1)},className:Tn("flex w-full items-center gap-2.5 px-3 py-1.5 text-[13px] transition-colors",v?"text-oai-black dark:text-white bg-oai-gray-100 dark:bg-oai-gray-800":"text-oai-gray-600 dark:text-oai-gray-400 hover:bg-oai-gray-50 dark:hover:bg-oai-gray-800/60 hover:text-oai-black dark:hover:text-white"),children:[L.jsx(g,{className:"h-3.5 w-3.5 shrink-0","aria-hidden":!0}),L.jsx("span",{children:f})]},p)})})]})}function Jk({collapsed:e,onToggleCollapsed:t,onItemClick:a,showCloseButton:i=!1,onClose:s,glassChrome:c=!1}){const d=Hn()?.pathname||"/",{theme:p,resolvedTheme:f,setTheme:g}=JC(),{resolvedLocale:v}=Nk(),y=k.useMemo(()=>Qk(),[v]);return L.jsxs(L.Fragment,{children:[i?L.jsx("div",{className:"flex justify-end px-2 pt-2 pb-2",children:L.jsx("button",{type:"button",onClick:s,"aria-label":He("nav.close_menu"),title:He("nav.close_menu"),className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-oai-gray-500 dark:text-oai-gray-500 hover:bg-oai-gray-200/60 dark:hover:bg-oai-gray-800 hover:text-oai-gray-900 dark:hover:text-oai-gray-200 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500",children:L.jsx(Lk,{className:"h-4 w-4",strokeWidth:1.75,"aria-hidden":!0})})}):null,L.jsx("nav",{"aria-label":He("nav.nav_label"),className:"flex-1 px-2 pb-2 flex flex-col overflow-y-auto",children:y.map((_,w)=>L.jsxs("div",{className:"flex flex-col",children:[L.jsx(r2,{label:_.label,collapsed:e,first:w===0}),L.jsx("div",{className:"flex flex-col gap-0.5",children:_.items.filter(P=>!(P.to==="/widgets"&&wk())).map(P=>L.jsx(a2,{item:P,collapsed:e,active:n2(d,P.to),onClick:a},P.id))})]},_.id))}),L.jsxs("div",{className:"px-2 py-3 space-y-2",children:[L.jsx(i2,{collapsed:e}),L.jsxs("div",{className:Tn("flex items-center",e?"flex-col justify-center gap-2":"justify-between gap-2"),children:[L.jsx(l2,{theme:p,resolvedTheme:f,onSetTheme:g,glassChrome:c}),L.jsx("div",{className:"flex items-center gap-1.5",children:!i&&L.jsx("button",{type:"button",onClick:t,"aria-label":He(e?"nav.expand":"nav.collapse"),title:He(e?"nav.expand":"nav.collapse"),className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-oai-gray-500 dark:text-oai-gray-500 hover:bg-oai-gray-200/60 dark:hover:bg-oai-gray-800 hover:text-oai-gray-900 dark:hover:text-oai-gray-200 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500",children:e?L.jsx(DS,{className:"h-4 w-4",strokeWidth:1.75,"aria-hidden":!0}):L.jsx(ES,{className:"h-4 w-4",strokeWidth:1.75,"aria-hidden":!0})})})]})]})]})}function c2({collapsed:e,onToggleCollapsed:t}){const a=k.useMemo(()=>typeof window>"u"?!1:Un()||Hh(),[]);return L.jsx("aside",{"aria-label":He("nav.aside_label"),className:Tn("hidden lg:flex flex-col shrink-0 h-full min-h-0 transition-[width] duration-200",e?"w-[72px]":"w-[220px]"),children:L.jsx(Jk,{collapsed:e,onToggleCollapsed:t,glassChrome:a})})}function u2({open:e,onClose:t}){return k.useEffect(()=>{if(!e)return;const a=i=>{i.key==="Escape"&&t()};return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[e,t]),k.useEffect(()=>{if(!e)return;const a=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=a}},[e]),e?L.jsxs("div",{className:"lg:hidden fixed inset-0 z-[80] flex",children:[L.jsx("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-sm",onClick:t,"aria-hidden":!0}),L.jsx("aside",{"aria-label":He("nav.aside_label"),className:"relative w-[260px] max-w-[80vw] flex flex-col bg-oai-white dark:bg-oai-gray-900 border-r border-oai-gray-200 dark:border-oai-gray-800 shadow-2xl",children:L.jsx(Jk,{collapsed:!1,showCloseButton:!0,onClose:t,onItemClick:t})})]}):null}function d2({onOpenDrawer:e}){return L.jsxs("div",{className:"lg:hidden flex items-center justify-between gap-2 px-3 h-14 border-b border-oai-gray-200 dark:border-oai-gray-800",children:[L.jsx(o2,{title:He("nav.menu"),onClick:e,children:L.jsx(FS,{className:"h-5 w-5","aria-hidden":!0})}),L.jsxs(dc,{to:"/",className:"flex items-center gap-2 no-underline hover:opacity-80 transition-opacity","aria-label":"Token Tracker",children:[L.jsx("img",{src:"/app-icon.png",alt:"",width:24,height:24,className:"rounded-md"}),L.jsx("span",{className:"text-sm font-semibold text-oai-black dark:text-oai-white",children:"Token Tracker"})]}),L.jsx("div",{className:"w-10 shrink-0","aria-hidden":!0})]})}function h2({children:e}){const{collapsed:t,toggle:a}=t2(),[i,s]=k.useState(!1),c=k.useCallback(()=>s(!0),[]),u=k.useCallback(()=>s(!1),[]),d=k.useMemo(()=>typeof window>"u"?!1:Un()||Hh(),[]);return L.jsxs("div",{className:Tn("fixed inset-0 flex flex-col text-oai-black dark:text-oai-white font-sans overflow-hidden",wk()&&"tt-native-glass-shell",d?"bg-transparent":"bg-oai-gray-100 dark:bg-oai-gray-950"),children:[d&&L.jsx("div",{className:"h-7 shrink-0",style:{WebkitAppRegion:"drag"},"aria-hidden":!0}),L.jsxs("div",{className:"flex-1 min-h-0 flex",children:[L.jsx(c2,{collapsed:t,onToggleCollapsed:a}),L.jsx(u2,{open:i,onClose:u}),L.jsx("div",{className:"flex-1 min-w-0 min-h-0 p-2 lg:pl-0 lg:pr-3 lg:pb-3 flex flex-col",children:L.jsxs("div",{className:Tn("flex-1 min-h-0 flex flex-col bg-oai-white dark:bg-oai-gray-900 border border-oai-gray-200 dark:border-oai-gray-800 overflow-hidden",d?"tt-native-main-card":"rounded-2xl",!d&&"shadow-sm"),children:[L.jsx(d2,{onOpenDrawer:c}),L.jsx("div",{className:"flex-1 min-h-0 overflow-y-auto",children:e})]})})]})]})}const Xh=k.createContext({});function Zh(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const f2=typeof window<"u",e0=f2?k.useLayoutEffect:k.useEffect,fc=k.createContext(null);function qh(e,t){e.indexOf(t)===-1&&e.push(t)}function Yl(e,t){const a=e.indexOf(t);a>-1&&e.splice(a,1)}const ar=(e,t,a)=>a>t?t:a<e?e:a;let Qh=()=>{};const na={},t0=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function n0(e){return typeof e=="object"&&e!==null}const r0=e=>/^0[^.\s]+$/u.test(e);function a0(e){let t;return()=>(t===void 0&&(t=e()),t)}const Sn=e=>e,p2=(e,t)=>a=>t(e(a)),rs=(...e)=>e.reduce(p2),$o=(e,t,a)=>{const i=t-e;return i===0?1:(a-e)/i};class Jh{constructor(){this.subscriptions=[]}add(t){return qh(this.subscriptions,t),()=>Yl(this.subscriptions,t)}notify(t,a,i){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,a,i);else for(let c=0;c<s;c++){const u=this.subscriptions[c];u&&u(t,a,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const pn=e=>e*1e3,xn=e=>e/1e3;function i0(e,t){return t?e*(1e3/t):0}const o0=(e,t,a)=>(((1-3*a+3*t)*e+(3*a-6*t))*e+3*t)*e,m2=1e-7,g2=12;function v2(e,t,a,i,s){let c,u,d=0;do u=t+(a-t)/2,c=o0(u,i,s)-e,c>0?a=u:t=u;while(Math.abs(c)>m2&&++d<g2);return u}function as(e,t,a,i){if(e===t&&a===i)return Sn;const s=c=>v2(c,0,1,e,a);return c=>c===0||c===1?c:o0(s(c),t,i)}const s0=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,l0=e=>t=>1-e(1-t),c0=as(.33,1.53,.69,.99),ef=l0(c0),u0=s0(ef),d0=e=>e>=1?1:(e*=2)<1?.5*ef(e):.5*(2-Math.pow(2,-10*(e-1))),tf=e=>1-Math.sin(Math.acos(e)),h0=l0(tf),f0=s0(tf),y2=as(.42,0,1,1),k2=as(0,0,.58,1),p0=as(.42,0,.58,1),b2=e=>Array.isArray(e)&&typeof e[0]!="number",m0=e=>Array.isArray(e)&&typeof e[0]=="number",_2={linear:Sn,easeIn:y2,easeInOut:p0,easeOut:k2,circIn:tf,circInOut:f0,circOut:h0,backIn:ef,backInOut:u0,backOut:c0,anticipate:d0},w2=e=>typeof e=="string",ev=e=>{if(m0(e)){Qh(e.length===4);const[t,a,i,s]=e;return as(t,a,i,s)}else if(w2(e))return _2[e];return e},wl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function x2(e,t){let a=new Set,i=new Set,s=!1,c=!1;const u=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function p(g){u.has(g)&&(f.schedule(g),e()),g(d)}const f={schedule:(g,v=!1,y=!1)=>{const w=y&&s?a:i;return v&&u.add(g),w.add(g),g},cancel:g=>{i.delete(g),u.delete(g)},process:g=>{if(d=g,s){c=!0;return}s=!0;const v=a;a=i,i=v,a.forEach(p),a.clear(),s=!1,c&&(c=!1,f.process(g))}};return f}const P2=40;function g0(e,t){let a=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},c=()=>a=!0,u=wl.reduce((I,D)=>(I[D]=x2(c),I),{}),{setup:d,read:p,resolveKeyframes:f,preUpdate:g,update:v,preRender:y,render:_,postRender:w}=u,P=()=>{const I=na.useManualTiming,D=I?s.timestamp:performance.now();a=!1,I||(s.delta=i?1e3/60:Math.max(Math.min(D-s.timestamp,P2),1)),s.timestamp=D,s.isProcessing=!0,d.process(s),p.process(s),f.process(s),g.process(s),v.process(s),y.process(s),_.process(s),w.process(s),s.isProcessing=!1,a&&t&&(i=!1,e(P))},S=()=>{a=!0,i=!0,s.isProcessing||e(P)};return{schedule:wl.reduce((I,D)=>{const B=u[D];return I[D]=(Z,oe=!1,x=!1)=>(a||S(),B.schedule(Z,oe,x)),I},{}),cancel:I=>{for(let D=0;D<wl.length;D++)u[wl[D]].cancel(I)},state:s,steps:u}}const{schedule:Qe,cancel:ra,state:It,steps:md}=g0(typeof requestAnimationFrame<"u"?requestAnimationFrame:Sn,!0);let Ml;function S2(){Ml=void 0}const Kt={now:()=>(Ml===void 0&&Kt.set(It.isProcessing||na.useManualTiming?It.timestamp:performance.now()),Ml),set:e=>{Ml=e,queueMicrotask(S2)}},v0=e=>t=>typeof t=="string"&&t.startsWith(e),y0=v0("--"),C2=v0("var(--"),nf=e=>C2(e)?T2.test(e.split("/*")[0].trim()):!1,T2=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tv(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ai={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Go={...Ai,transform:e=>ar(0,1,e)},xl={...Ai,default:1},No=e=>Math.round(e*1e5)/1e5,rf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function E2(e){return e==null}const R2=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,af=(e,t)=>a=>!!(typeof a=="string"&&R2.test(a)&&a.startsWith(e)||t&&!E2(a)&&Object.prototype.hasOwnProperty.call(a,t)),k0=(e,t,a)=>i=>{if(typeof i!="string")return i;const[s,c,u,d]=i.match(rf);return{[e]:parseFloat(s),[t]:parseFloat(c),[a]:parseFloat(u),alpha:d!==void 0?parseFloat(d):1}},D2=e=>ar(0,255,e),gd={...Ai,transform:e=>Math.round(D2(e))},La={test:af("rgb","red"),parse:k0("red","green","blue"),transform:({red:e,green:t,blue:a,alpha:i=1})=>"rgba("+gd.transform(e)+", "+gd.transform(t)+", "+gd.transform(a)+", "+No(Go.transform(i))+")"};function I2(e){let t="",a="",i="",s="";return e.length>5?(t=e.substring(1,3),a=e.substring(3,5),i=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),a=e.substring(2,3),i=e.substring(3,4),s=e.substring(4,5),t+=t,a+=a,i+=i,s+=s),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}}const Wd={test:af("#"),parse:I2,transform:La.transform},is=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),qr=is("deg"),nr=is("%"),ye=is("px"),A2=is("vh"),M2=is("vw"),nv={...nr,parse:e=>nr.parse(e)/100,transform:e=>nr.transform(e*100)},xi={test:af("hsl","hue"),parse:k0("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:a,alpha:i=1})=>"hsla("+Math.round(e)+", "+nr.transform(No(t))+", "+nr.transform(No(a))+", "+No(Go.transform(i))+")"},vt={test:e=>La.test(e)||Wd.test(e)||xi.test(e),parse:e=>La.test(e)?La.parse(e):xi.test(e)?xi.parse(e):Wd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?La.transform(e):xi.transform(e),getAnimatableNone:e=>{const t=vt.parse(e);return t.alpha=0,vt.transform(t)}},L2=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function N2(e){return isNaN(e)&&typeof e=="string"&&(e.match(rf)?.length||0)+(e.match(L2)?.length||0)>0}const b0="number",_0="color",j2="var",O2="var(",rv="${}",z2=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ri(e){const t=e.toString(),a=[],i={color:[],number:[],var:[]},s=[];let c=0;const d=t.replace(z2,p=>(vt.test(p)?(i.color.push(c),s.push(_0),a.push(vt.parse(p))):p.startsWith(O2)?(i.var.push(c),s.push(j2),a.push(p)):(i.number.push(c),s.push(b0),a.push(parseFloat(p))),++c,rv)).split(rv);return{values:a,split:d,indexes:i,types:s}}function V2(e){return Ri(e).values}function w0({split:e,types:t}){const a=e.length;return i=>{let s="";for(let c=0;c<a;c++)if(s+=e[c],i[c]!==void 0){const u=t[c];u===b0?s+=No(i[c]):u===_0?s+=vt.transform(i[c]):s+=i[c]}return s}}function F2(e){return w0(Ri(e))}const U2=e=>typeof e=="number"?0:vt.test(e)?vt.getAnimatableNone(e):e,B2=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:U2(e);function H2(e){const t=Ri(e);return w0(t)(t.values.map((i,s)=>B2(i,t.split[s])))}const Bn={test:N2,parse:V2,createTransformer:F2,getAnimatableNone:H2};function vd(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(t-e)*6*a:a<1/2?t:a<2/3?e+(t-e)*(2/3-a)*6:e}function W2({hue:e,saturation:t,lightness:a,alpha:i}){e/=360,t/=100,a/=100;let s=0,c=0,u=0;if(!t)s=c=u=a;else{const d=a<.5?a*(1+t):a+t-a*t,p=2*a-d;s=vd(p,d,e+1/3),c=vd(p,d,e),u=vd(p,d,e-1/3)}return{red:Math.round(s*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:i}}function Xl(e,t){return a=>a>0?t:e}const it=(e,t,a)=>e+(t-e)*a,yd=(e,t,a)=>{const i=e*e,s=a*(t*t-i)+i;return s<0?0:Math.sqrt(s)},$2=[Wd,La,xi],G2=e=>$2.find(t=>t.test(e));function av(e){const t=G2(e);if(!t)return!1;let a=t.parse(e);return t===xi&&(a=W2(a)),a}const iv=(e,t)=>{const a=av(e),i=av(t);if(!a||!i)return Xl(e,t);const s={...a};return c=>(s.red=yd(a.red,i.red,c),s.green=yd(a.green,i.green,c),s.blue=yd(a.blue,i.blue,c),s.alpha=it(a.alpha,i.alpha,c),La.transform(s))},$d=new Set(["none","hidden"]);function K2(e,t){return $d.has(e)?a=>a<=0?e:t:a=>a>=1?t:e}function Y2(e,t){return a=>it(e,t,a)}function of(e){return typeof e=="number"?Y2:typeof e=="string"?nf(e)?Xl:vt.test(e)?iv:q2:Array.isArray(e)?x0:typeof e=="object"?vt.test(e)?iv:X2:Xl}function x0(e,t){const a=[...e],i=a.length,s=e.map((c,u)=>of(c)(c,t[u]));return c=>{for(let u=0;u<i;u++)a[u]=s[u](c);return a}}function X2(e,t){const a={...e,...t},i={};for(const s in a)e[s]!==void 0&&t[s]!==void 0&&(i[s]=of(e[s])(e[s],t[s]));return s=>{for(const c in i)a[c]=i[c](s);return a}}function Z2(e,t){const a=[],i={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const c=t.types[s],u=e.indexes[c][i[c]],d=e.values[u]??0;a[s]=d,i[c]++}return a}const q2=(e,t)=>{const a=Bn.createTransformer(t),i=Ri(e),s=Ri(t);return i.indexes.var.length===s.indexes.var.length&&i.indexes.color.length===s.indexes.color.length&&i.indexes.number.length>=s.indexes.number.length?$d.has(e)&&!s.values.length||$d.has(t)&&!i.values.length?K2(e,t):rs(x0(Z2(i,s),s.values),a):Xl(e,t)};function P0(e,t,a){return typeof e=="number"&&typeof t=="number"&&typeof a=="number"?it(e,t,a):of(e)(e,t)}const Q2=e=>{const t=({timestamp:a})=>e(a);return{start:(a=!0)=>Qe.update(t,a),stop:()=>ra(t),now:()=>It.isProcessing?It.timestamp:Kt.now()}},S0=(e,t,a=10)=>{let i="";const s=Math.max(Math.round(t/a),2);for(let c=0;c<s;c++)i+=Math.round(e(c/(s-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},Zl=2e4;function sf(e){let t=0;const a=50;let i=e.next(t);for(;!i.done&&t<Zl;)t+=a,i=e.next(t);return t>=Zl?1/0:t}function J2(e,t=100,a){const i=a({...e,keyframes:[0,t]}),s=Math.min(sf(i),Zl);return{type:"keyframes",ease:c=>i.next(s*c).value/t,duration:xn(s)}}const ht={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Gd(e,t){return e*Math.sqrt(1-t*t)}const e3=12;function t3(e,t,a){let i=a;for(let s=1;s<e3;s++)i=i-e(i)/t(i);return i}const kd=.001;function n3({duration:e=ht.duration,bounce:t=ht.bounce,velocity:a=ht.velocity,mass:i=ht.mass}){let s,c,u=1-t;u=ar(ht.minDamping,ht.maxDamping,u),e=ar(ht.minDuration,ht.maxDuration,xn(e)),u<1?(s=f=>{const g=f*u,v=g*e,y=g-a,_=Gd(f,u),w=Math.exp(-v);return kd-y/_*w},c=f=>{const v=f*u*e,y=v*a+a,_=Math.pow(u,2)*Math.pow(f,2)*e,w=Math.exp(-v),P=Gd(Math.pow(f,2),u);return(-s(f)+kd>0?-1:1)*((y-_)*w)/P}):(s=f=>{const g=Math.exp(-f*e),v=(f-a)*e+1;return-kd+g*v},c=f=>{const g=Math.exp(-f*e),v=(a-f)*(e*e);return g*v});const d=5/e,p=t3(s,c,d);if(e=pn(e),isNaN(p))return{stiffness:ht.stiffness,damping:ht.damping,duration:e};{const f=Math.pow(p,2)*i;return{stiffness:f,damping:u*2*Math.sqrt(i*f),duration:e}}}const r3=["duration","bounce"],a3=["stiffness","damping","mass"];function ov(e,t){return t.some(a=>e[a]!==void 0)}function i3(e){let t={velocity:ht.velocity,stiffness:ht.stiffness,damping:ht.damping,mass:ht.mass,isResolvedFromDuration:!1,...e};if(!ov(e,a3)&&ov(e,r3))if(t.velocity=0,e.visualDuration){const a=e.visualDuration,i=2*Math.PI/(a*1.2),s=i*i,c=2*ar(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:ht.mass,stiffness:s,damping:c}}else{const a=n3({...e,velocity:0});t={...t,...a,mass:ht.mass},t.isResolvedFromDuration=!0}return t}function ql(e=ht.visualDuration,t=ht.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:s}=a;const c=a.keyframes[0],u=a.keyframes[a.keyframes.length-1],d={done:!1,value:c},{stiffness:p,damping:f,mass:g,duration:v,velocity:y,isResolvedFromDuration:_}=i3({...a,velocity:-xn(a.velocity||0)}),w=y||0,P=f/(2*Math.sqrt(p*g)),S=u-c,N=xn(Math.sqrt(p/g)),j=Math.abs(S)<5;i||(i=j?ht.restSpeed.granular:ht.restSpeed.default),s||(s=j?ht.restDelta.granular:ht.restDelta.default);let I,D,B,Z,oe,x;if(P<1)B=Gd(N,P),Z=(w+P*N*S)/B,I=Y=>{const ue=Math.exp(-P*N*Y);return u-ue*(Z*Math.sin(B*Y)+S*Math.cos(B*Y))},oe=P*N*Z+S*B,x=P*N*S-Z*B,D=Y=>Math.exp(-P*N*Y)*(oe*Math.sin(B*Y)+x*Math.cos(B*Y));else if(P===1){I=ue=>u-Math.exp(-N*ue)*(S+(w+N*S)*ue);const Y=w+N*S;D=ue=>Math.exp(-N*ue)*(N*Y*ue-w)}else{const Y=N*Math.sqrt(P*P-1);I=ae=>{const ie=Math.exp(-P*N*ae),Q=Math.min(Y*ae,300);return u-ie*((w+P*N*S)*Math.sinh(Q)+Y*S*Math.cosh(Q))/Y};const ue=(w+P*N*S)/Y,se=P*N*ue-S*Y,q=P*N*S-ue*Y;D=ae=>{const ie=Math.exp(-P*N*ae),Q=Math.min(Y*ae,300);return ie*(se*Math.sinh(Q)+q*Math.cosh(Q))}}const ee={calculatedDuration:_&&v||null,velocity:Y=>pn(D(Y)),next:Y=>{if(!_&&P<1){const se=Math.exp(-P*N*Y),q=Math.sin(B*Y),ae=Math.cos(B*Y),ie=u-se*(Z*q+S*ae),Q=pn(se*(oe*q+x*ae));return d.done=Math.abs(Q)<=i&&Math.abs(u-ie)<=s,d.value=d.done?u:ie,d}const ue=I(Y);if(_)d.done=Y>=v;else{const se=pn(D(Y));d.done=Math.abs(se)<=i&&Math.abs(u-ue)<=s}return d.value=d.done?u:ue,d},toString:()=>{const Y=Math.min(sf(ee),Zl),ue=S0(se=>ee.next(Y*se).value,Y,30);return Y+"ms "+ue},toTransition:()=>{}};return ee}ql.applyToOptions=e=>{const t=J2(e,100,ql);return e.ease=t.ease,e.duration=pn(t.duration),e.type="keyframes",e};const o3=5;function C0(e,t,a){const i=Math.max(t-o3,0);return i0(a-e(i),t-i)}function Kd({keyframes:e,velocity:t=0,power:a=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:c=500,modifyTarget:u,min:d,max:p,restDelta:f=.5,restSpeed:g}){const v=e[0],y={done:!1,value:v},_=x=>d!==void 0&&x<d||p!==void 0&&x>p,w=x=>d===void 0?p:p===void 0||Math.abs(d-x)<Math.abs(p-x)?d:p;let P=a*t;const S=v+P,N=u===void 0?S:u(S);N!==S&&(P=N-v);const j=x=>-P*Math.exp(-x/i),I=x=>N+j(x),D=x=>{const ee=j(x),Y=I(x);y.done=Math.abs(ee)<=f,y.value=y.done?N:Y};let B,Z;const oe=x=>{_(y.value)&&(B=x,Z=ql({keyframes:[y.value,w(y.value)],velocity:C0(I,x,y.value),damping:s,stiffness:c,restDelta:f,restSpeed:g}))};return oe(0),{calculatedDuration:null,next:x=>{let ee=!1;return!Z&&B===void 0&&(ee=!0,D(x),oe(x)),B!==void 0&&x>=B?Z.next(x-B):(!ee&&D(x),y)}}}function s3(e,t,a){const i=[],s=a||na.mix||P0,c=e.length-1;for(let u=0;u<c;u++){let d=s(e[u],e[u+1]);if(t){const p=Array.isArray(t)?t[u]||Sn:t;d=rs(p,d)}i.push(d)}return i}function l3(e,t,{clamp:a=!0,ease:i,mixer:s}={}){const c=e.length;if(Qh(c===t.length),c===1)return()=>t[0];if(c===2&&t[0]===t[1])return()=>t[1];const u=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=s3(t,i,s),p=d.length,f=g=>{if(u&&g<e[0])return t[0];let v=0;if(p>1)for(;v<e.length-2&&!(g<e[v+1]);v++);const y=$o(e[v],e[v+1],g);return d[v](y)};return a?g=>f(ar(e[0],e[c-1],g)):f}function c3(e,t){const a=e[e.length-1];for(let i=1;i<=t;i++){const s=$o(0,t,i);e.push(it(a,1,s))}}function u3(e){const t=[0];return c3(t,e.length-1),t}function d3(e,t){return e.map(a=>a*t)}function h3(e,t){return e.map(()=>t||p0).splice(0,e.length-1)}function jo({duration:e=300,keyframes:t,times:a,ease:i="easeInOut"}){const s=b2(i)?i.map(ev):ev(i),c={done:!1,value:t[0]},u=d3(a&&a.length===t.length?a:u3(t),e),d=l3(u,t,{ease:Array.isArray(s)?s:h3(t,s)});return{calculatedDuration:e,next:p=>(c.value=d(p),c.done=p>=e,c)}}const f3=e=>e!==null;function pc(e,{repeat:t,repeatType:a="loop"},i,s=1){const c=e.filter(f3),d=s<0||t&&a!=="loop"&&t%2===1?0:c.length-1;return!d||i===void 0?c[d]:i}const p3={decay:Kd,inertia:Kd,tween:jo,keyframes:jo,spring:ql};function T0(e){typeof e.type=="string"&&(e.type=p3[e.type])}class lf{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}}const m3=e=>e/100;class Ql extends lf{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:a}=this.options;a&&a.updatedAt!==Kt.now()&&this.tick(Kt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;T0(t);const{type:a=jo,repeat:i=0,repeatDelay:s=0,repeatType:c,velocity:u=0}=t;let{keyframes:d}=t;const p=a||jo;p!==jo&&typeof d[0]!="number"&&(this.mixKeyframes=rs(m3,P0(d[0],d[1])),d=[0,100]);const f=p({...t,keyframes:d});c==="mirror"&&(this.mirroredGenerator=p({...t,keyframes:[...d].reverse(),velocity:-u})),f.calculatedDuration===null&&(f.calculatedDuration=sf(f));const{calculatedDuration:g}=f;this.calculatedDuration=g,this.resolvedDuration=g+s,this.totalDuration=this.resolvedDuration*(i+1)-s,this.generator=f}updateTime(t){const a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){const{generator:i,totalDuration:s,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:d,calculatedDuration:p}=this;if(this.startTime===null)return i.next(0);const{delay:f=0,keyframes:g,repeat:v,repeatType:y,repeatDelay:_,type:w,onUpdate:P,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);const N=this.currentTime-f*(this.playbackSpeed>=0?1:-1),j=this.playbackSpeed>=0?N<0:N>s;this.currentTime=Math.max(N,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let I=this.currentTime,D=i;if(v){const x=Math.min(this.currentTime,s)/d;let ee=Math.floor(x),Y=x%1;!Y&&x>=1&&(Y=1),Y===1&&ee--,ee=Math.min(ee,v+1),ee%2&&(y==="reverse"?(Y=1-Y,_&&(Y-=_/d)):y==="mirror"&&(D=u)),I=ar(0,1,Y)*d}let B;j?(this.delayState.value=g[0],B=this.delayState):B=D.next(I),c&&!j&&(B.value=c(B.value));let{done:Z}=B;!j&&p!==null&&(Z=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const oe=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&Z);return oe&&w!==Kd&&(B.value=pc(g,this.options,S,this.speed)),P&&P(B.value),oe&&this.finish(),B}then(t,a){return this.finished.then(t,a)}get duration(){return xn(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+xn(t)}get time(){return xn(this.currentTime)}set time(t){t=pn(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const a=this.generator.next(t).value;return C0(i=>this.generator.next(i).value,t,a)}get speed(){return this.playbackSpeed}set speed(t){const a=this.playbackSpeed!==t;a&&this.driver&&this.updateTime(Kt.now()),this.playbackSpeed=t,a&&this.driver&&(this.time=xn(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Q2,startTime:a}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),this.options.onPlay?.();const i=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=a??i),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Kt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function g3(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Na=e=>e*180/Math.PI,Yd=e=>{const t=Na(Math.atan2(e[1],e[0]));return Xd(t)},v3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Yd,rotateZ:Yd,skewX:e=>Na(Math.atan(e[1])),skewY:e=>Na(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Xd=e=>(e=e%360,e<0&&(e+=360),e),sv=Yd,lv=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),cv=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),y3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:lv,scaleY:cv,scale:e=>(lv(e)+cv(e))/2,rotateX:e=>Xd(Na(Math.atan2(e[6],e[5]))),rotateY:e=>Xd(Na(Math.atan2(-e[2],e[0]))),rotateZ:sv,rotate:sv,skewX:e=>Na(Math.atan(e[4])),skewY:e=>Na(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Zd(e){return e.includes("scale")?1:0}function qd(e,t){if(!e||e==="none")return Zd(t);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,s;if(a)i=y3,s=a;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=v3,s=d}if(!s)return Zd(t);const c=i[t],u=s[1].split(",").map(b3);return typeof c=="function"?c(u):u[c]}const k3=(e,t)=>{const{transform:a="none"}=getComputedStyle(e);return qd(a,t)};function b3(e){return parseFloat(e.trim())}const Mi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Li=new Set(Mi),uv=e=>e===Ai||e===ye,_3=new Set(["x","y","z"]),w3=Mi.filter(e=>!_3.has(e));function x3(e){const t=[];return w3.forEach(a=>{const i=e.getValue(a);i!==void 0&&(t.push([a,i.get()]),i.set(a.startsWith("scale")?1:0))}),t}const ta={width:({x:e},{paddingLeft:t="0",paddingRight:a="0",boxSizing:i})=>{const s=e.max-e.min;return i==="border-box"?s:s-parseFloat(t)-parseFloat(a)},height:({y:e},{paddingTop:t="0",paddingBottom:a="0",boxSizing:i})=>{const s=e.max-e.min;return i==="border-box"?s:s-parseFloat(t)-parseFloat(a)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>qd(t,"x"),y:(e,{transform:t})=>qd(t,"y")};ta.translateX=ta.x;ta.translateY=ta.y;const ja=new Set;let Qd=!1,Jd=!1,eh=!1;function E0(){if(Jd){const e=Array.from(ja).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),a=new Map;t.forEach(i=>{const s=x3(i);s.length&&(a.set(i,s),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const s=a.get(i);s&&s.forEach(([c,u])=>{i.getValue(c)?.set(u)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Jd=!1,Qd=!1,ja.forEach(e=>e.complete(eh)),ja.clear()}function R0(){ja.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Jd=!0)})}function P3(){eh=!0,R0(),E0(),eh=!1}class cf{constructor(t,a,i,s,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=i,this.motionValue=s,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(ja.add(this),Qd||(Qd=!0,Qe.read(R0),Qe.resolveKeyframes(E0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:a,element:i,motionValue:s}=this;if(t[0]===null){const c=s?.get(),u=t[t.length-1];if(c!==void 0)t[0]=c;else if(i&&a){const d=i.readValue(a,u);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=u),s&&c===void 0&&s.set(t[0])}g3(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ja.delete(this)}cancel(){this.state==="scheduled"&&(ja.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const S3=e=>e.startsWith("--");function D0(e,t,a){S3(t)?e.style.setProperty(t,a):e.style[t]=a}const C3={};function I0(e,t){const a=a0(e);return()=>C3[t]??a()}const T3=I0(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),A0=I0(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ro=([e,t,a,i])=>`cubic-bezier(${e}, ${t}, ${a}, ${i})`,dv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ro([0,.65,.55,1]),circOut:Ro([.55,0,1,.45]),backIn:Ro([.31,.01,.66,-.59]),backOut:Ro([.33,1.53,.69,.99])};function M0(e,t){if(e)return typeof e=="function"?A0()?S0(e,t):"ease-out":m0(e)?Ro(e):Array.isArray(e)?e.map(a=>M0(a,t)||dv.easeOut):dv[e]}function E3(e,t,a,{delay:i=0,duration:s=300,repeat:c=0,repeatType:u="loop",ease:d="easeOut",times:p}={},f=void 0){const g={[t]:a};p&&(g.offset=p);const v=M0(d,s);Array.isArray(v)&&(g.easing=v);const y={delay:i,duration:s,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return f&&(y.pseudoElement=f),e.animate(g,y)}function L0(e){return typeof e=="function"&&"applyToOptions"in e}function R3({type:e,...t}){return L0(e)&&A0()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class N0 extends lf{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:a,name:i,keyframes:s,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:d,onComplete:p}=t;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=t,Qh(typeof t.type!="string");const f=R3(t);this.animation=E3(a,i,s,f,c),f.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const g=pc(s,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(g),D0(a,i,g),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return xn(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+xn(t)}get time(){return xn(Number(this.animation.currentTime)||0)}set time(t){const a=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=pn(t),a&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:a,rangeEnd:i,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&T3()?(this.animation.timeline=t,a&&(this.animation.rangeStart=a),i&&(this.animation.rangeEnd=i),Sn):s(this)}}const j0={anticipate:d0,backInOut:u0,circInOut:f0};function D3(e){return e in j0}function I3(e){typeof e.ease=="string"&&D3(e.ease)&&(e.ease=j0[e.ease])}const bd=10;class A3 extends N0{constructor(t){I3(t),T0(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:a,onUpdate:i,onComplete:s,element:c,...u}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}const d=new Ql({...u,autoplay:!1}),p=Math.max(bd,Kt.now()-this.startTime),f=ar(0,bd,p-bd),g=d.sample(p).value,{name:v}=this.options;c&&v&&D0(c,v,g),a.setWithVelocity(d.sample(Math.max(0,p-f)).value,g,f),d.stop()}}const hv=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Bn.test(e)||e==="0")&&!e.startsWith("url("));function M3(e){const t=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==t)return!0}function L3(e,t,a,i){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const c=e[e.length-1],u=hv(s,t),d=hv(c,t);return!u||!d?!1:M3(e)||(a==="spring"||L0(a))&&i}function th(e){e.duration=0,e.type="keyframes"}const O0=new Set(["opacity","clipPath","filter","transform"]),N3=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function j3(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&N3.test(e[t]))return!0;return!1}const O3=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),z3=a0(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function V3(e){const{motionValue:t,name:a,repeatDelay:i,repeatType:s,damping:c,type:u,keyframes:d}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:g}=t.owner.getProps();return z3()&&a&&(O0.has(a)||O3.has(a)&&j3(d))&&(a!=="transform"||!g)&&!f&&!i&&s!=="mirror"&&c!==0&&u!=="inertia"}const F3=40;class U3 extends lf{constructor({autoplay:t=!0,delay:a=0,type:i="keyframes",repeat:s=0,repeatDelay:c=0,repeatType:u="loop",keyframes:d,name:p,motionValue:f,element:g,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Kt.now();const y={autoplay:t,delay:a,type:i,repeat:s,repeatDelay:c,repeatType:u,name:p,motionValue:f,element:g,...v},_=g?.KeyframeResolver||cf;this.keyframeResolver=new _(d,(w,P,S)=>this.onKeyframesResolved(w,P,y,!S),p,f,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,a,i,s){this.keyframeResolver=void 0;const{name:c,type:u,velocity:d,delay:p,isHandoff:f,onUpdate:g}=i;this.resolvedAt=Kt.now();let v=!0;L3(t,c,u,d)||(v=!1,(na.instantAnimations||!p)&&g?.(pc(t,i,a)),t[0]=t[t.length-1],th(i),i.repeat=0);const _={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>F3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...i,keyframes:t},w=v&&!f&&V3(_),P=_.motionValue?.owner?.current;let S;if(w)try{S=new A3({..._,element:P})}catch{S=new Ql(_)}else S=new Ql(_);S.finished.then(()=>{this.notifyFinished()}).catch(Sn),this.pendingTimeline&&(this.stopTimeline=S.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=S}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),P3()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function z0(e,t,a,i=0,s=1){const c=Array.from(e).sort((f,g)=>f.sortNodePosition(g)).indexOf(t),u=e.size,d=(u-1)*i;return typeof a=="function"?a(c,u):s===1?c*i:d-c*i}const B3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function H3(e){const t=B3.exec(e);if(!t)return[,];const[,a,i,s]=t;return[`--${a??i}`,s]}function V0(e,t,a=1){const[i,s]=H3(e);if(!i)return;const c=window.getComputedStyle(t).getPropertyValue(i);if(c){const u=c.trim();return t0(u)?parseFloat(u):u}return nf(s)?V0(s,t,a+1):s}const W3={type:"spring",stiffness:500,damping:25,restSpeed:10},$3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),G3={type:"keyframes",duration:.8},K3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Y3=(e,{keyframes:t})=>t.length>2?G3:Li.has(e)?e.startsWith("scale")?$3(t[1]):W3:K3;function F0(e,t){if(e?.inherit&&t){const{inherit:a,...i}=e;return{...t,...i}}return e}function uf(e,t){const a=e?.[t]??e?.default??e;return a!==e?F0(a,e):a}const X3=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Z3(e){for(const t in e)if(!X3.has(t))return!0;return!1}const df=(e,t,a,i={},s,c)=>u=>{const d=uf(i,e)||{},p=d.delay||i.delay||0;let{elapsed:f=0}=i;f=f-pn(p);const g={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-f,onUpdate:y=>{t.set(y),d.onUpdate&&d.onUpdate(y)},onComplete:()=>{u(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:c?void 0:s};Z3(d)||Object.assign(g,Y3(e,g)),g.duration&&(g.duration=pn(g.duration)),g.repeatDelay&&(g.repeatDelay=pn(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let v=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(th(g),g.delay===0&&(v=!0)),(na.instantAnimations||na.skipAnimations||s?.shouldSkipAnimations)&&(v=!0,th(g),g.delay=0),g.allowFlatten=!d.type&&!d.ease,v&&!c&&t.get()!==void 0){const y=pc(g.keyframes,d);if(y!==void 0){Qe.update(()=>{g.onUpdate(y),g.onComplete()});return}}return d.isSync?new Ql(g):new U3(g)};function fv(e){const t=[{},{}];return e?.values.forEach((a,i)=>{t[0][i]=a.get(),t[1][i]=a.getVelocity()}),t}function hf(e,t,a,i){if(typeof t=="function"){const[s,c]=fv(i);t=t(a!==void 0?a:e.custom,s,c)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,c]=fv(i);t=t(a!==void 0?a:e.custom,s,c)}return t}function Oa(e,t,a){const i=e.getProps();return hf(i,t,a!==void 0?a:i.custom,e)}const U0=new Set(["width","height","top","left","right","bottom",...Mi]),pv=30,q3=e=>!isNaN(parseFloat(e)),mv={current:void 0};class Q3{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{const s=Kt.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=Kt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=q3(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new Jh);const i=this.events[t].add(a);return t==="change"?()=>{i(),Qe.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,a,i){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return mv.current&&mv.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Kt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>pv)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,pv);return i0(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Di(e,t){return new Q3(e,t)}const nh=e=>Array.isArray(e);function J3(e,t,a){e.hasValue(t)?e.getValue(t).set(a):e.addValue(t,Di(a))}function eT(e){return nh(e)?e[e.length-1]||0:e}function tT(e,t){const a=Oa(e,t);let{transitionEnd:i={},transition:s={},...c}=a||{};c={...c,...i};for(const u in c){const d=eT(c[u]);J3(e,u,d)}}const At=e=>!!(e&&e.getVelocity);function nT(e){return!!(At(e)&&e.add)}function rh(e,t){const a=e.getValue("willChange");if(nT(a))return a.add(t);if(!a&&na.WillChange){const i=new na.WillChange("auto");e.addValue("willChange",i),i.add(t)}}function ff(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const rT="framerAppearId",B0="data-"+ff(rT);function H0(e){return e.props[B0]}function aT({protectedKeys:e,needsAnimating:t},a){const i=e.hasOwnProperty(a)&&t[a]!==!0;return t[a]=!1,i}function W0(e,t,{delay:a=0,transitionOverride:i,type:s}={}){let{transition:c,transitionEnd:u,...d}=t;const p=e.getDefaultTransition();c=c?F0(c,p):p;const f=c?.reduceMotion;i&&(c=i);const g=[],v=s&&e.animationState&&e.animationState.getState()[s];for(const y in d){const _=e.getValue(y,e.latestValues[y]??null),w=d[y];if(w===void 0||v&&aT(v,y))continue;const P={delay:a,...uf(c||{},y)},S=_.get();if(S!==void 0&&!_.isAnimating()&&!Array.isArray(w)&&w===S&&!P.velocity){Qe.update(()=>_.set(w));continue}let N=!1;if(window.MotionHandoffAnimation){const D=H0(e);if(D){const B=window.MotionHandoffAnimation(D,y,Qe);B!==null&&(P.startTime=B,N=!0)}}rh(e,y);const j=f??e.shouldReduceMotion;_.start(df(y,_,w,j&&U0.has(y)?{type:!1}:P,e,N));const I=_.animation;I&&g.push(I)}if(u){const y=()=>Qe.update(()=>{u&&tT(e,u)});g.length?Promise.all(g).then(y):y()}return g}function ah(e,t,a={}){const i=Oa(e,t,a.type==="exit"?e.presenceContext?.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=i||{};a.transitionOverride&&(s=a.transitionOverride);const c=i?()=>Promise.all(W0(e,i,a)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:f=0,staggerChildren:g,staggerDirection:v}=s;return iT(e,t,p,f,g,v,a)}:()=>Promise.resolve(),{when:d}=s;if(d){const[p,f]=d==="beforeChildren"?[c,u]:[u,c];return p().then(()=>f())}else return Promise.all([c(),u(a.delay)])}function iT(e,t,a=0,i=0,s=0,c=1,u){const d=[];for(const p of e.variantChildren)p.notify("AnimationStart",t),d.push(ah(p,t,{...u,delay:a+(typeof i=="function"?0:i)+z0(e.variantChildren,p,i,s,c)}).then(()=>p.notify("AnimationComplete",t)));return Promise.all(d)}function oT(e,t,a={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const s=t.map(c=>ah(e,c,a));i=Promise.all(s)}else if(typeof t=="string")i=ah(e,t,a);else{const s=typeof t=="function"?Oa(e,t,a.custom):t;i=Promise.all(W0(e,s,a))}return i.then(()=>{e.notify("AnimationComplete",t)})}const sT={test:e=>e==="auto",parse:e=>e},$0=e=>t=>t.test(e),G0=[Ai,ye,nr,qr,M2,A2,sT],gv=e=>G0.find($0(e));function lT(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||r0(e):!0}const cT=new Set(["brightness","contrast","saturate","opacity"]);function uT(e){const[t,a]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=a.match(rf)||[];if(!i)return e;const s=a.replace(i,"");let c=cT.has(t)?1:0;return i!==a&&(c*=100),t+"("+c+s+")"}const dT=/\b([a-z-]*)\(.*?\)/gu,ih={...Bn,getAnimatableNone:e=>{const t=e.match(dT);return t?t.map(uT).join(" "):e}},oh={...Bn,getAnimatableNone:e=>{const t=Bn.parse(e);return Bn.createTransformer(e)(t.map(i=>typeof i=="number"?0:typeof i=="object"?{...i,alpha:1}:i))}},vv={...Ai,transform:Math.round},hT={rotate:qr,rotateX:qr,rotateY:qr,rotateZ:qr,scale:xl,scaleX:xl,scaleY:xl,scaleZ:xl,skew:qr,skewX:qr,skewY:qr,distance:ye,translateX:ye,translateY:ye,translateZ:ye,x:ye,y:ye,z:ye,perspective:ye,transformPerspective:ye,opacity:Go,originX:nv,originY:nv,originZ:ye},pf={borderWidth:ye,borderTopWidth:ye,borderRightWidth:ye,borderBottomWidth:ye,borderLeftWidth:ye,borderRadius:ye,borderTopLeftRadius:ye,borderTopRightRadius:ye,borderBottomRightRadius:ye,borderBottomLeftRadius:ye,width:ye,maxWidth:ye,height:ye,maxHeight:ye,top:ye,right:ye,bottom:ye,left:ye,inset:ye,insetBlock:ye,insetBlockStart:ye,insetBlockEnd:ye,insetInline:ye,insetInlineStart:ye,insetInlineEnd:ye,padding:ye,paddingTop:ye,paddingRight:ye,paddingBottom:ye,paddingLeft:ye,paddingBlock:ye,paddingBlockStart:ye,paddingBlockEnd:ye,paddingInline:ye,paddingInlineStart:ye,paddingInlineEnd:ye,margin:ye,marginTop:ye,marginRight:ye,marginBottom:ye,marginLeft:ye,marginBlock:ye,marginBlockStart:ye,marginBlockEnd:ye,marginInline:ye,marginInlineStart:ye,marginInlineEnd:ye,fontSize:ye,backgroundPositionX:ye,backgroundPositionY:ye,...hT,zIndex:vv,fillOpacity:Go,strokeOpacity:Go,numOctaves:vv},fT={...pf,color:vt,backgroundColor:vt,outlineColor:vt,fill:vt,stroke:vt,borderColor:vt,borderTopColor:vt,borderRightColor:vt,borderBottomColor:vt,borderLeftColor:vt,filter:ih,WebkitFilter:ih,mask:oh,WebkitMask:oh},K0=e=>fT[e],pT=new Set([ih,oh]);function Y0(e,t){let a=K0(e);return pT.has(a)||(a=Bn),a.getAnimatableNone?a.getAnimatableNone(t):void 0}const mT=new Set(["auto","none","0"]);function gT(e,t,a){let i=0,s;for(;i<e.length&&!s;){const c=e[i];typeof c=="string"&&!mT.has(c)&&Ri(c).values.length&&(s=e[i]),i++}if(s&&a)for(const c of t)e[c]=Y0(a,s)}class vT extends cf{constructor(t,a,i,s,c){super(t,a,i,s,c,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:a,name:i}=this;if(!a||!a.current)return;super.readKeyframes();for(let g=0;g<t.length;g++){let v=t[g];if(typeof v=="string"&&(v=v.trim(),nf(v))){const y=V0(v,a.current);y!==void 0&&(t[g]=y),g===t.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!U0.has(i)||t.length!==2)return;const[s,c]=t,u=gv(s),d=gv(c),p=tv(s),f=tv(c);if(p!==f&&ta[i]){this.needsMeasurement=!0;return}if(u!==d)if(uv(u)&&uv(d))for(let g=0;g<t.length;g++){const v=t[g];typeof v=="string"&&(t[g]=parseFloat(v))}else ta[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:a}=this,i=[];for(let s=0;s<t.length;s++)(t[s]===null||lT(t[s]))&&i.push(s);i.length&&gT(t,i,a)}measureInitialState(){const{element:t,unresolvedKeyframes:a,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ta[i](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;const s=a[a.length-1];s!==void 0&&t.getValue(i,s).jump(s,!1)}measureEndState(){const{element:t,name:a,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const s=t.getValue(a);s&&s.jump(this.measuredOrigin,!1);const c=i.length-1,u=i[c];i[c]=ta[a](t.measureViewportBox(),window.getComputedStyle(t.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,p])=>{t.getValue(d).set(p)}),this.resolveNoneKeyframes()}}function X0(e,t,a){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;const s=a?.[e]??i.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(i=>i!=null)}const Z0=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Ll(e){return n0(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:mf}=g0(queueMicrotask,!1),Fn={x:!1,y:!1};function q0(){return Fn.x||Fn.y}function yT(e){return e==="x"||e==="y"?Fn[e]?null:(Fn[e]=!0,()=>{Fn[e]=!1}):Fn.x||Fn.y?null:(Fn.x=Fn.y=!0,()=>{Fn.x=Fn.y=!1})}function Q0(e,t){const a=X0(e),i=new AbortController,s={passive:!0,...t,signal:i.signal};return[a,s,()=>i.abort()]}function kT(e){return!(e.pointerType==="touch"||q0())}function bT(e,t,a={}){const[i,s,c]=Q0(e,a);return i.forEach(u=>{let d=!1,p=!1,f;const g=()=>{u.removeEventListener("pointerleave",w)},v=S=>{f&&(f(S),f=void 0),g()},y=S=>{d=!1,window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",y),p&&(p=!1,v(S))},_=()=>{d=!0,window.addEventListener("pointerup",y,s),window.addEventListener("pointercancel",y,s)},w=S=>{if(S.pointerType!=="touch"){if(d){p=!0;return}v(S)}},P=S=>{if(!kT(S))return;p=!1;const N=t(u,S);typeof N=="function"&&(f=N,u.addEventListener("pointerleave",w,s))};u.addEventListener("pointerenter",P,s),u.addEventListener("pointerdown",_,s)}),c}const J0=(e,t)=>t?e===t?!0:J0(e,t.parentElement):!1,gf=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,_T=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function wT(e){return _T.has(e.tagName)||e.isContentEditable===!0}const xT=new Set(["INPUT","SELECT","TEXTAREA"]);function PT(e){return xT.has(e.tagName)||e.isContentEditable===!0}const Nl=new WeakSet;function yv(e){return t=>{t.key==="Enter"&&e(t)}}function _d(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const ST=(e,t)=>{const a=e.currentTarget;if(!a)return;const i=yv(()=>{if(Nl.has(a))return;_d(a,"down");const s=yv(()=>{_d(a,"up")}),c=()=>_d(a,"cancel");a.addEventListener("keyup",s,t),a.addEventListener("blur",c,t)});a.addEventListener("keydown",i,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",i),t)};function kv(e){return gf(e)&&!q0()}const bv=new WeakSet;function CT(e,t,a={}){const[i,s,c]=Q0(e,a),u=d=>{const p=d.currentTarget;if(!kv(d)||bv.has(d))return;Nl.add(p),a.stopPropagation&&bv.add(d);const f=t(p,d),g=(_,w)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",y),Nl.has(p)&&Nl.delete(p),kv(_)&&typeof f=="function"&&f(_,{success:w})},v=_=>{g(_,p===window||p===document||a.useGlobalTarget||J0(p,_.target))},y=_=>{g(_,!1)};window.addEventListener("pointerup",v,s),window.addEventListener("pointercancel",y,s)};return i.forEach(d=>{(a.useGlobalTarget?window:d).addEventListener("pointerdown",u,s),Ll(d)&&(d.addEventListener("focus",f=>ST(f,s)),!wT(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),c}function vf(e){return n0(e)&&"ownerSVGElement"in e}const jl=new WeakMap;let Ol;const eb=(e,t,a)=>(i,s)=>s&&s[0]?s[0][e+"Size"]:vf(i)&&"getBBox"in i?i.getBBox()[t]:i[a],TT=eb("inline","width","offsetWidth"),ET=eb("block","height","offsetHeight");function RT({target:e,borderBoxSize:t}){jl.get(e)?.forEach(a=>{a(e,{get width(){return TT(e,t)},get height(){return ET(e,t)}})})}function DT(e){e.forEach(RT)}function IT(){typeof ResizeObserver>"u"||(Ol=new ResizeObserver(DT))}function AT(e,t){Ol||IT();const a=X0(e);return a.forEach(i=>{let s=jl.get(i);s||(s=new Set,jl.set(i,s)),s.add(t),Ol?.observe(i)}),()=>{a.forEach(i=>{const s=jl.get(i);s?.delete(t),s?.size||Ol?.unobserve(i)})}}const zl=new Set;let Pi;function MT(){Pi=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};zl.forEach(t=>t(e))},window.addEventListener("resize",Pi)}function LT(e){return zl.add(e),Pi||MT(),()=>{zl.delete(e),!zl.size&&typeof Pi=="function"&&(window.removeEventListener("resize",Pi),Pi=void 0)}}function _v(e,t){return typeof e=="function"?LT(e):AT(e,t)}function NT(e){return vf(e)&&e.tagName==="svg"}const jT=[...G0,vt,Bn],OT=e=>jT.find($0(e)),wv=()=>({translate:0,scale:1,origin:0,originPoint:0}),Si=()=>({x:wv(),y:wv()}),xv=()=>({min:0,max:0}),xt=()=>({x:xv(),y:xv()}),zT=new WeakMap;function mc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ko(e){return typeof e=="string"||Array.isArray(e)}const yf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],kf=["initial",...yf];function gc(e){return mc(e.animate)||kf.some(t=>Ko(e[t]))}function tb(e){return!!(gc(e)||e.variants)}function VT(e,t,a){for(const i in t){const s=t[i],c=a[i];if(At(s))e.addValue(i,s);else if(At(c))e.addValue(i,Di(s,{owner:e}));else if(c!==s)if(e.hasValue(i)){const u=e.getValue(i);u.liveStyle===!0?u.jump(s):u.hasAnimated||u.set(s)}else{const u=e.getStaticValue(i);e.addValue(i,Di(u!==void 0?u:s,{owner:e}))}}for(const i in a)t[i]===void 0&&e.removeValue(i);return t}const Jl={current:null},bf={current:!1},FT=typeof window<"u";function nb(){if(bf.current=!0,!!FT)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Jl.current=e.matches;e.addEventListener("change",t),t()}else Jl.current=!1}const Pv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ec={};function rb(e){ec=e}function UT(){return ec}class BT{scrapeMotionValuesFromProps(t,a,i){return{}}constructor({parent:t,props:a,presenceContext:i,reducedMotionConfig:s,skipAnimations:c,blockInitialAnimation:u,visualState:d},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=cf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const _=Kt.now();this.renderScheduledAt<_&&(this.renderScheduledAt=_,Qe.render(this.render,!1,!0))};const{latestValues:f,renderState:g}=d;this.latestValues=f,this.baseTarget={...f},this.initialValues=a.initial?{...f}:{},this.renderState=g,this.parent=t,this.props=a,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=c,this.options=p,this.blockInitialAnimation=!!u,this.isControllingVariants=gc(a),this.isVariantNode=tb(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:v,...y}=this.scrapeMotionValuesFromProps(a,{},this);for(const _ in y){const w=y[_];f[_]!==void 0&&At(w)&&w.set(f[_])}}mount(t){if(this.hasBeenMounted)for(const a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=t,zT.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,i)=>this.bindToMotionValue(i,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(bf.current||nb(),this.shouldReduceMotion=Jl.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),ra(this.notifyUpdate),ra(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const a=this.features[t];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,a){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),a.accelerate&&O0.has(t)&&this.current instanceof HTMLElement){const{factory:u,keyframes:d,times:p,ease:f,duration:g}=a.accelerate,v=new N0({element:this.current,name:t,keyframes:d,times:p,ease:f,duration:pn(g)}),y=u(v);this.valueSubscriptions.set(t,()=>{y(),v.cancel()});return}const i=Li.has(t);i&&this.onBindTransform&&this.onBindTransform();const s=a.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&Qe.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,t,a)),this.valueSubscriptions.set(t,()=>{s(),c&&c(),a.owner&&a.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in ec){const a=ec[t];if(!a)continue;const{isEnabled:i,Feature:s}=a;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){const c=this.features[t];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):xt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,a){this.latestValues[t]=a}update(t,a){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let i=0;i<Pv.length;i++){const s=Pv[i];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const c="on"+s,u=t[c];u&&(this.propEventSubscriptions[s]=this.on(s,u))}this.prevMotionValues=VT(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(t),()=>a.variantChildren.delete(t)}addValue(t,a){const i=this.values.get(t);a!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,a),this.values.set(t,a),this.latestValues[t]=a.get())}removeValue(t){this.values.delete(t);const a=this.valueSubscriptions.get(t);a&&(a(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,a){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&a!==void 0&&(i=Di(a===null?void 0:a,{owner:this}),this.addValue(t,i)),i}readValue(t,a){let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(t0(i)||r0(i))?i=parseFloat(i):!OT(i)&&Bn.test(a)&&(i=Y0(t,a)),this.setBaseTarget(t,At(i)?i.get():i)),At(i)?i.get():i}setBaseTarget(t,a){this.baseTarget[t]=a}getBaseTarget(t){const{initial:a}=this.props;let i;if(typeof a=="string"||typeof a=="object"){const c=hf(this.props,a,this.presenceContext?.custom);c&&(i=c[t])}if(a&&i!==void 0)return i;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!At(s)?s:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,a){return this.events[t]||(this.events[t]=new Jh),this.events[t].add(a)}notify(t,...a){this.events[t]&&this.events[t].notify(...a)}scheduleRenderMicrotask(){mf.render(this.render)}}class ab extends BT{constructor(){super(...arguments),this.KeyframeResolver=vT}sortInstanceNodePosition(t,a){return t.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(t,a){const i=t.style;return i?i[a]:void 0}removeValueFromRenderState(t,{vars:a,style:i}){delete a[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;At(t)&&(this.childSubscription=t.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class la{constructor(t){this.isMounted=!1,this.node=t}update(){}}function ib({top:e,left:t,right:a,bottom:i}){return{x:{min:t,max:a},y:{min:e,max:i}}}function HT({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function WT(e,t){if(!t)return e;const a=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:i.y,right:i.x}}function wd(e){return e===void 0||e===1}function sh({scale:e,scaleX:t,scaleY:a}){return!wd(e)||!wd(t)||!wd(a)}function Aa(e){return sh(e)||ob(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ob(e){return Sv(e.x)||Sv(e.y)}function Sv(e){return e&&e!=="0%"}function tc(e,t,a){const i=e-a,s=t*i;return a+s}function Cv(e,t,a,i,s){return s!==void 0&&(e=tc(e,s,i)),tc(e,a,i)+t}function lh(e,t=0,a=1,i,s){e.min=Cv(e.min,t,a,i,s),e.max=Cv(e.max,t,a,i,s)}function sb(e,{x:t,y:a}){lh(e.x,t.translate,t.scale,t.originPoint),lh(e.y,a.translate,a.scale,a.originPoint)}const Tv=.999999999999,Ev=1.0000000000001;function $T(e,t,a,i=!1){const s=a.length;if(!s)return;t.x=t.y=1;let c,u;for(let d=0;d<s;d++){c=a[d],u=c.projectionDelta;const{visualElement:p}=c.options;p&&p.props.style&&p.props.style.display==="contents"||(i&&c.options.layoutScroll&&c.scroll&&c!==c.root&&(tr(e.x,-c.scroll.offset.x),tr(e.y,-c.scroll.offset.y)),u&&(t.x*=u.x.scale,t.y*=u.y.scale,sb(e,u)),i&&Aa(c.latestValues)&&Vl(e,c.latestValues,c.layout?.layoutBox))}t.x<Ev&&t.x>Tv&&(t.x=1),t.y<Ev&&t.y>Tv&&(t.y=1)}function tr(e,t){e.min+=t,e.max+=t}function Rv(e,t,a,i,s=.5){const c=it(e.min,e.max,s);lh(e,t,a,c,i)}function Dv(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Vl(e,t,a){const i=a??e;Rv(e.x,Dv(t.x,i.x),t.scaleX,t.scale,t.originX),Rv(e.y,Dv(t.y,i.y),t.scaleY,t.scale,t.originY)}function lb(e,t){return ib(WT(e.getBoundingClientRect(),t))}function GT(e,t,a){const i=lb(e,a),{scroll:s}=t;return s&&(tr(i.x,s.offset.x),tr(i.y,s.offset.y)),i}const KT={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},YT=Mi.length;function XT(e,t,a){let i="",s=!0;for(let c=0;c<YT;c++){const u=Mi[c],d=e[u];if(d===void 0)continue;let p=!0;if(typeof d=="number")p=d===(u.startsWith("scale")?1:0);else{const f=parseFloat(d);p=u.startsWith("scale")?f===1:f===0}if(!p||a){const f=Z0(d,pf[u]);if(!p){s=!1;const g=KT[u]||u;i+=`${g}(${f}) `}a&&(t[u]=f)}}return i=i.trim(),a?i=a(t,s?"":i):s&&(i="none"),i}function _f(e,t,a){const{style:i,vars:s,transformOrigin:c}=e;let u=!1,d=!1;for(const p in t){const f=t[p];if(Li.has(p)){u=!0;continue}else if(y0(p)){s[p]=f;continue}else{const g=Z0(f,pf[p]);p.startsWith("origin")?(d=!0,c[p]=g):i[p]=g}}if(t.transform||(u||a?i.transform=XT(t,e.transform,a):i.transform&&(i.transform="none")),d){const{originX:p="50%",originY:f="50%",originZ:g=0}=c;i.transformOrigin=`${p} ${f} ${g}`}}function cb(e,{style:t,vars:a},i,s){const c=e.style;let u;for(u in t)c[u]=t[u];s?.applyProjectionStyles(c,i);for(u in a)c.setProperty(u,a[u])}function Iv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Po={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ye.test(e))e=parseFloat(e);else return e;const a=Iv(e,t.target.x),i=Iv(e,t.target.y);return`${a}% ${i}%`}},ZT={correct:(e,{treeScale:t,projectionDelta:a})=>{const i=e,s=Bn.parse(e);if(s.length>5)return i;const c=Bn.createTransformer(e),u=typeof s[0]!="number"?1:0,d=a.x.scale*t.x,p=a.y.scale*t.y;s[0+u]/=d,s[1+u]/=p;const f=it(d,p,.5);return typeof s[2+u]=="number"&&(s[2+u]/=f),typeof s[3+u]=="number"&&(s[3+u]/=f),c(s)}},ch={borderRadius:{...Po,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Po,borderTopRightRadius:Po,borderBottomLeftRadius:Po,borderBottomRightRadius:Po,boxShadow:ZT};function ub(e,{layout:t,layoutId:a}){return Li.has(e)||e.startsWith("origin")||(t||a!==void 0)&&(!!ch[e]||e==="opacity")}function wf(e,t,a){const i=e.style,s=t?.style,c={};if(!i)return c;for(const u in i)(At(i[u])||s&&At(s[u])||ub(u,e)||a?.getValue(u)?.liveStyle!==void 0)&&(c[u]=i[u]);return c}function qT(e){return window.getComputedStyle(e)}class QT extends ab{constructor(){super(...arguments),this.type="html",this.renderInstance=cb}readValueFromInstance(t,a){if(Li.has(a))return this.projection?.isProjecting?Zd(a):k3(t,a);{const i=qT(t),s=(y0(a)?i.getPropertyValue(a):i[a])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:a}){return lb(t,a)}build(t,a,i){_f(t,a,i.transformTemplate)}scrapeMotionValuesFromProps(t,a,i){return wf(t,a,i)}}const JT={offset:"stroke-dashoffset",array:"stroke-dasharray"},eE={offset:"strokeDashoffset",array:"strokeDasharray"};function tE(e,t,a=1,i=0,s=!0){e.pathLength=1;const c=s?JT:eE;e[c.offset]=`${-i}`,e[c.array]=`${t} ${a}`}const nE=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function db(e,{attrX:t,attrY:a,attrScale:i,pathLength:s,pathSpacing:c=1,pathOffset:u=0,...d},p,f,g){if(_f(e,d,f),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:y}=e;v.transform&&(y.transform=v.transform,delete v.transform),(y.transform||v.transformOrigin)&&(y.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),y.transform&&(y.transformBox=g?.transformBox??"fill-box",delete v.transformBox);for(const _ of nE)v[_]!==void 0&&(y[_]=v[_],delete v[_]);t!==void 0&&(v.x=t),a!==void 0&&(v.y=a),i!==void 0&&(v.scale=i),s!==void 0&&tE(v,s,c,u,!1)}const hb=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),fb=e=>typeof e=="string"&&e.toLowerCase()==="svg";function rE(e,t,a,i){cb(e,t,void 0,i);for(const s in t.attrs)e.setAttribute(hb.has(s)?s:ff(s),t.attrs[s])}function pb(e,t,a){const i=wf(e,t,a);for(const s in e)if(At(e[s])||At(t[s])){const c=Mi.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;i[c]=e[s]}return i}class aE extends ab{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=xt}getBaseTargetFromProps(t,a){return t[a]}readValueFromInstance(t,a){if(Li.has(a)){const i=K0(a);return i&&i.default||0}return a=hb.has(a)?a:ff(a),t.getAttribute(a)}scrapeMotionValuesFromProps(t,a,i){return pb(t,a,i)}build(t,a,i){db(t,a,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,a,i,s){rE(t,a,i,s)}mount(t){this.isSVGTag=fb(t.tagName),super.mount(t)}}const iE=kf.length;function mb(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?mb(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const t={};for(let a=0;a<iE;a++){const i=kf[a],s=e.props[i];(Ko(s)||s===!1)&&(t[i]=s)}return t}function gb(e,t){if(!Array.isArray(t))return!1;const a=t.length;if(a!==e.length)return!1;for(let i=0;i<a;i++)if(t[i]!==e[i])return!1;return!0}const oE=[...yf].reverse(),sE=yf.length;function lE(e){return t=>Promise.all(t.map(({animation:a,options:i})=>oT(e,a,i)))}function cE(e){let t=lE(e),a=Av(),i=!0,s=!1;const c=f=>(g,v)=>{const y=Oa(e,v,f==="exit"?e.presenceContext?.custom:void 0);if(y){const{transition:_,transitionEnd:w,...P}=y;g={...g,...P,...w}}return g};function u(f){t=f(e)}function d(f){const{props:g}=e,v=mb(e.parent)||{},y=[],_=new Set;let w={},P=1/0;for(let N=0;N<sE;N++){const j=oE[N],I=a[j],D=g[j]!==void 0?g[j]:v[j],B=Ko(D),Z=j===f?I.isActive:null;Z===!1&&(P=N);let oe=D===v[j]&&D!==g[j]&&B;if(oe&&(i||s)&&e.manuallyAnimateOnMount&&(oe=!1),I.protectedKeys={...w},!I.isActive&&Z===null||!D&&!I.prevProp||mc(D)||typeof D=="boolean")continue;if(j==="exit"&&I.isActive&&Z!==!0){I.prevResolvedValues&&(w={...w,...I.prevResolvedValues});continue}const x=uE(I.prevProp,D);let ee=x||j===f&&I.isActive&&!oe&&B||N>P&&B,Y=!1;const ue=Array.isArray(D)?D:[D];let se=ue.reduce(c(j),{});Z===!1&&(se={});const{prevResolvedValues:q={}}=I,ae={...q,...se},ie=V=>{ee=!0,_.has(V)&&(Y=!0,_.delete(V)),I.needsAnimating[V]=!0;const W=e.getValue(V);W&&(W.liveStyle=!1)};for(const V in ae){const W=se[V],O=q[V];if(w.hasOwnProperty(V))continue;let E=!1;nh(W)&&nh(O)?E=!gb(W,O):E=W!==O,E?W!=null?ie(V):_.add(V):W!==void 0&&_.has(V)?ie(V):I.protectedKeys[V]=!0}I.prevProp=D,I.prevResolvedValues=se,I.isActive&&(w={...w,...se}),(i||s)&&e.blockInitialAnimation&&(ee=!1);const Q=oe&&x;ee&&(!Q||Y)&&y.push(...ue.map(V=>{const W={type:j};if(typeof V=="string"&&(i||s)&&!Q&&e.manuallyAnimateOnMount&&e.parent){const{parent:O}=e,E=Oa(O,V);if(O.enteringChildren&&E){const{delayChildren:$}=E.transition||{};W.delay=z0(O.enteringChildren,e,$)}}return{animation:V,options:W}}))}if(_.size){const N={};if(typeof g.initial!="boolean"){const j=Oa(e,Array.isArray(g.initial)?g.initial[0]:g.initial);j&&j.transition&&(N.transition=j.transition)}_.forEach(j=>{const I=e.getBaseTarget(j),D=e.getValue(j);D&&(D.liveStyle=!0),N[j]=I??null}),y.push({animation:N})}let S=!!y.length;return i&&(g.initial===!1||g.initial===g.animate)&&!e.manuallyAnimateOnMount&&(S=!1),i=!1,s=!1,S?t(y):Promise.resolve()}function p(f,g){if(a[f].isActive===g)return Promise.resolve();e.variantChildren?.forEach(y=>y.animationState?.setActive(f,g)),a[f].isActive=g;const v=d(f);for(const y in a)a[y].protectedKeys={};return v}return{animateChanges:d,setActive:p,setAnimateFunction:u,getState:()=>a,reset:()=>{a=Av(),s=!0}}}function uE(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!gb(t,e):!1}function Ea(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Av(){return{animate:Ea(!0),whileInView:Ea(),whileHover:Ea(),whileTap:Ea(),whileDrag:Ea(),whileFocus:Ea(),exit:Ea()}}function uh(e,t){e.min=t.min,e.max=t.max}function zn(e,t){uh(e.x,t.x),uh(e.y,t.y)}function Mv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const vb=1e-4,dE=1-vb,hE=1+vb,yb=.01,fE=0-yb,pE=0+yb;function Yt(e){return e.max-e.min}function mE(e,t,a){return Math.abs(e-t)<=a}function Lv(e,t,a,i=.5){e.origin=i,e.originPoint=it(t.min,t.max,e.origin),e.scale=Yt(a)/Yt(t),e.translate=it(a.min,a.max,e.origin)-e.originPoint,(e.scale>=dE&&e.scale<=hE||isNaN(e.scale))&&(e.scale=1),(e.translate>=fE&&e.translate<=pE||isNaN(e.translate))&&(e.translate=0)}function Oo(e,t,a,i){Lv(e.x,t.x,a.x,i?i.originX:void 0),Lv(e.y,t.y,a.y,i?i.originY:void 0)}function Nv(e,t,a,i=0){const s=i?it(a.min,a.max,i):a.min;e.min=s+t.min,e.max=e.min+Yt(t)}function gE(e,t,a,i){Nv(e.x,t.x,a.x,i?.x),Nv(e.y,t.y,a.y,i?.y)}function jv(e,t,a,i=0){const s=i?it(a.min,a.max,i):a.min;e.min=t.min-s,e.max=e.min+Yt(t)}function nc(e,t,a,i){jv(e.x,t.x,a.x,i?.x),jv(e.y,t.y,a.y,i?.y)}function Ov(e,t,a,i,s){return e-=t,e=tc(e,1/a,i),s!==void 0&&(e=tc(e,1/s,i)),e}function vE(e,t=0,a=1,i=.5,s,c=e,u=e){if(nr.test(t)&&(t=parseFloat(t),t=it(u.min,u.max,t/100)-u.min),typeof t!="number")return;let d=it(c.min,c.max,i);e===c&&(d-=t),e.min=Ov(e.min,t,a,d,s),e.max=Ov(e.max,t,a,d,s)}function zv(e,t,[a,i,s],c,u){vE(e,t[a],t[i],t[s],t.scale,c,u)}const yE=["x","scaleX","originX"],kE=["y","scaleY","originY"];function Vv(e,t,a,i){zv(e.x,t,yE,a?a.x:void 0,i?i.x:void 0),zv(e.y,t,kE,a?a.y:void 0,i?i.y:void 0)}function Fv(e){return e.translate===0&&e.scale===1}function kb(e){return Fv(e.x)&&Fv(e.y)}function Uv(e,t){return e.min===t.min&&e.max===t.max}function bE(e,t){return Uv(e.x,t.x)&&Uv(e.y,t.y)}function Bv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function bb(e,t){return Bv(e.x,t.x)&&Bv(e.y,t.y)}function Hv(e){return Yt(e.x)/Yt(e.y)}function Wv(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function er(e){return[e("x"),e("y")]}function _E(e,t,a){let i="";const s=e.x.translate/t.x,c=e.y.translate/t.y,u=a?.z||0;if((s||c||u)&&(i=`translate3d(${s}px, ${c}px, ${u}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),a){const{transformPerspective:f,rotate:g,rotateX:v,rotateY:y,skewX:_,skewY:w}=a;f&&(i=`perspective(${f}px) ${i}`),g&&(i+=`rotate(${g}deg) `),v&&(i+=`rotateX(${v}deg) `),y&&(i+=`rotateY(${y}deg) `),_&&(i+=`skewX(${_}deg) `),w&&(i+=`skewY(${w}deg) `)}const d=e.x.scale*t.x,p=e.y.scale*t.y;return(d!==1||p!==1)&&(i+=`scale(${d}, ${p})`),i||"none"}const _b=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],wE=_b.length,$v=e=>typeof e=="string"?parseFloat(e):e,Gv=e=>typeof e=="number"||ye.test(e);function xE(e,t,a,i,s,c){s?(e.opacity=it(0,a.opacity??1,PE(i)),e.opacityExit=it(t.opacity??1,0,SE(i))):c&&(e.opacity=it(t.opacity??1,a.opacity??1,i));for(let u=0;u<wE;u++){const d=_b[u];let p=Kv(t,d),f=Kv(a,d);if(p===void 0&&f===void 0)continue;p||(p=0),f||(f=0),p===0||f===0||Gv(p)===Gv(f)?(e[d]=Math.max(it($v(p),$v(f),i),0),(nr.test(f)||nr.test(p))&&(e[d]+="%")):e[d]=f}(t.rotate||a.rotate)&&(e.rotate=it(t.rotate||0,a.rotate||0,i))}function Kv(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const PE=wb(0,.5,h0),SE=wb(.5,.95,Sn);function wb(e,t,a){return i=>i<e?0:i>t?1:a($o(e,t,i))}function CE(e,t,a){const i=At(e)?e:Di(e);return i.start(df("",i,t,a)),i.animation}function Yo(e,t,a,i={passive:!0}){return e.addEventListener(t,a,i),()=>e.removeEventListener(t,a)}const TE=(e,t)=>e.depth-t.depth;class EE{constructor(){this.children=[],this.isDirty=!1}add(t){qh(this.children,t),this.isDirty=!0}remove(t){Yl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(TE),this.isDirty=!1,this.children.forEach(t)}}function RE(e,t){const a=Kt.now(),i=({timestamp:s})=>{const c=s-a;c>=t&&(ra(i),e(c-t))};return Qe.setup(i,!0),()=>ra(i)}function Fl(e){return At(e)?e.get():e}class DE{constructor(){this.members=[]}add(t){qh(this.members,t);for(let a=this.members.length-1;a>=0;a--){const i=this.members[a];if(i===t||i===this.lead||i===this.prevLead)continue;const s=i.instance;(!s||s.isConnected===!1)&&!i.snapshot&&(Yl(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(Yl(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(t){for(let a=this.members.indexOf(t)-1;a>=0;a--){const i=this.members[a];if(i.isPresent!==!1&&i.instance?.isConnected!==!1)return this.promote(i),!0}return!1}promote(t,a){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();const{layoutDependency:s}=i.options,{layoutDependency:c}=t.options;(s===void 0||s!==c)&&(t.resumeFrom=i,a&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Ul={hasAnimatedSinceResize:!0,hasEverUpdated:!1},xd=["","X","Y","Z"],IE=1e3;let AE=0;function Pd(e,t,a,i){const{latestValues:s}=t;s[e]&&(a[e]=s[e],t.setStaticValue(e,0),i&&(i[e]=0))}function xb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const a=H0(t);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:s,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",Qe,!(s||c))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&xb(i)}function Pb({attachResizeListener:e,defaultParent:t,measureScroll:a,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(u={},d=t?.()){this.id=AE++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(NE),this.nodes.forEach(UE),this.nodes.forEach(BE),this.nodes.forEach(jE)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new EE)}addEventListener(u,d){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new Jh),this.eventHandlers.get(u).add(d)}notifyListeners(u,...d){const p=this.eventHandlers.get(u);p&&p.notify(...d)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=vf(u)&&!NT(u),this.instance=u;const{layoutId:d,layout:p,visualElement:f}=this.options;if(f&&!f.current&&f.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||d)&&(this.isLayoutDirty=!0),e){let g,v=0;const y=()=>this.root.updateBlockedByResize=!1;Qe.read(()=>{v=window.innerWidth}),e(u,()=>{const _=window.innerWidth;_!==v&&(v=_,this.root.updateBlockedByResize=!0,g&&g(),g=RE(y,250),Ul.hasAnimatedSinceResize&&(Ul.hasAnimatedSinceResize=!1,this.nodes.forEach(Zv)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&f&&(d||p)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:v,hasRelativeLayoutChanged:y,layout:_})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||f.getDefaultTransition()||KE,{onLayoutAnimationStart:P,onLayoutAnimationComplete:S}=f.getProps(),N=!this.targetLayout||!bb(this.targetLayout,_),j=!v&&y;if(this.options.layoutRoot||this.resumeFrom||j||v&&(N||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...uf(w,"layout"),onPlay:P,onComplete:S};(f.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(g,j)}else v||Zv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=_})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ra(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(HE),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&xb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const v=this.path[g];v.shouldResetTransform=!0,(typeof v.latestValues.x=="string"||typeof v.latestValues.y=="string")&&(v.isLayoutDirty=!0),v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:d,layout:p}=this.options;if(d===void 0&&!p)return;const f=this.getTransformTemplate();this.prevTransformTemplateValue=f?f(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const p=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),p&&this.nodes.forEach(zE),this.nodes.forEach(Yv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Xv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(VE),this.nodes.forEach(FE),this.nodes.forEach(ME),this.nodes.forEach(LE)):this.nodes.forEach(Xv),this.clearAllSnapshots();const d=Kt.now();It.delta=ar(0,1e3/60,d-It.timestamp),It.timestamp=d,It.isProcessing=!0,md.update.process(It),md.preRender.process(It),md.render.process(It),It.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,mf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(OE),this.sharedNodes.forEach(WE)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Qe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Qe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Yt(this.snapshot.measuredBox.x)&&!Yt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=xt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(d=!1),d&&this.instance){const p=i(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:p,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!s)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!kb(this.projectionDelta),p=this.getTransformTemplate(),f=p?p(this.latestValues,""):void 0,g=f!==this.prevTransformTemplateValue;u&&this.instance&&(d||Aa(this.latestValues)||g)&&(s(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const d=this.measurePageBox();let p=this.removeElementScroll(d);return u&&(p=this.removeTransform(p)),YE(p),{animationId:this.root.animationId,measuredBox:d,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:u}=this.options;if(!u)return xt();const d=u.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(XE))){const{scroll:f}=this.root;f&&(tr(d.x,f.offset.x),tr(d.y,f.offset.y))}return d}removeElementScroll(u){const d=xt();if(zn(d,u),this.scroll?.wasRoot)return d;for(let p=0;p<this.path.length;p++){const f=this.path[p],{scroll:g,options:v}=f;f!==this.root&&g&&v.layoutScroll&&(g.wasRoot&&zn(d,u),tr(d.x,g.offset.x),tr(d.y,g.offset.y))}return d}applyTransform(u,d=!1,p){const f=p||xt();zn(f,u);for(let g=0;g<this.path.length;g++){const v=this.path[g];!d&&v.options.layoutScroll&&v.scroll&&v!==v.root&&(tr(f.x,-v.scroll.offset.x),tr(f.y,-v.scroll.offset.y)),Aa(v.latestValues)&&Vl(f,v.latestValues,v.layout?.layoutBox)}return Aa(this.latestValues)&&Vl(f,this.latestValues,this.layout?.layoutBox),f}removeTransform(u){const d=xt();zn(d,u);for(let p=0;p<this.path.length;p++){const f=this.path[p];if(!Aa(f.latestValues))continue;let g;f.instance&&(sh(f.latestValues)&&f.updateSnapshot(),g=xt(),zn(g,f.measurePageBox())),Vv(d,f.latestValues,f.snapshot?.layoutBox,g)}return Aa(this.latestValues)&&Vv(d,this.latestValues),d}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==It.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==d;if(!(u||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:v}=this.options;if(!this.layout||!(g||v))return;this.resolvedRelativeTargetAt=It.timestamp;const y=this.getClosestProjectingParent();y&&this.linkedParentVersion!==y.layoutVersion&&!y.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&y&&y.layout?this.createRelativeTarget(y,this.layout.layoutBox,y.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=xt(),this.targetWithTransforms=xt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),gE(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):zn(this.target,this.layout.layoutBox),sb(this.target,this.targetDelta)):zn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?this.createRelativeTarget(y,this.target,y.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||sh(this.parent.latestValues)||ob(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,d,p){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=xt(),this.relativeTargetOrigin=xt(),nc(this.relativeTargetOrigin,d,p,this.options.layoutAnchor||void 0),zn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const u=this.getLead(),d=!!this.resumingFrom||this!==u;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===It.timestamp&&(p=!1),p)return;const{layout:f,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(f||g))return;zn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,y=this.treeScale.y;$T(this.layoutCorrected,this.treeScale,this.path,d),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=xt());const{target:_}=u;if(!_){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Mv(this.prevProjectionDelta.x,this.projectionDelta.x),Mv(this.prevProjectionDelta.y,this.projectionDelta.y)),Oo(this.projectionDelta,this.layoutCorrected,_,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==y||!Wv(this.projectionDelta.x,this.prevProjectionDelta.x)||!Wv(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",_))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){if(this.options.visualElement?.scheduleRender(),u){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Si(),this.projectionDelta=Si(),this.projectionDeltaWithTransform=Si()}setAnimationOrigin(u,d=!1){const p=this.snapshot,f=p?p.latestValues:{},g={...this.latestValues},v=Si();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=xt(),_=p?p.source:void 0,w=this.layout?this.layout.source:void 0,P=_!==w,S=this.getStack(),N=!S||S.members.length<=1,j=!!(P&&!N&&this.options.crossfade===!0&&!this.path.some(GE));this.animationProgress=0;let I;this.mixTargetDelta=D=>{const B=D/1e3;qv(v.x,u.x,B),qv(v.y,u.y,B),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nc(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),$E(this.relativeTarget,this.relativeTargetOrigin,y,B),I&&bE(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=xt()),zn(I,this.relativeTarget)),P&&(this.animationValues=g,xE(g,f,this.latestValues,B,j,N)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=B},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ra(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Qe.update(()=>{Ul.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Di(0)),this.motionValue.jump(0,!1),this.currentAnimation=CE(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),u.onUpdate&&u.onUpdate(d)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(IE),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:d,target:p,layout:f,latestValues:g}=u;if(!(!d||!p||!f)){if(this!==u&&this.layout&&f&&Sb(this.options.animationType,this.layout.layoutBox,f.layoutBox)){p=this.target||xt();const v=Yt(this.layout.layoutBox.x);p.x.min=u.target.x.min,p.x.max=p.x.min+v;const y=Yt(this.layout.layoutBox.y);p.y.min=u.target.y.min,p.y.max=p.y.min+y}zn(d,p),Vl(d,g),Oo(this.projectionDeltaWithTransform,this.layoutCorrected,d,g)}}registerSharedNode(u,d){this.sharedNodes.has(u)||this.sharedNodes.set(u,new DE),this.sharedNodes.get(u).add(d);const f=d.options.initialPromotionConfig;d.promote({transition:f?f.transition:void 0,preserveFollowOpacity:f&&f.shouldPreserveFollowOpacity?f.shouldPreserveFollowOpacity(d):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){const{layoutId:u}=this.options;return u?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:u}=this.options;return u?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:d,preserveFollowOpacity:p}={}){const f=this.getStack();f&&f.promote(this,p),u&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let d=!1;const{latestValues:p}=u;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(d=!0),!d)return;const f={};p.z&&Pd("z",u,f,this.animationValues);for(let g=0;g<xd.length;g++)Pd(`rotate${xd[g]}`,u,f,this.animationValues),Pd(`skew${xd[g]}`,u,f,this.animationValues);u.render();for(const g in f)u.setStaticValue(g,f[g]),this.animationValues&&(this.animationValues[g]=f[g]);u.scheduleRender()}applyProjectionStyles(u,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=Fl(d?.pointerEvents)||"",u.transform=p?p(this.latestValues,""):"none";return}const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=Fl(d?.pointerEvents)||""),this.hasProjected&&!Aa(this.latestValues)&&(u.transform=p?p({},""):"none",this.hasProjected=!1);return}u.visibility="";const g=f.animationValues||f.latestValues;this.applyTransformsToTarget();let v=_E(this.projectionDeltaWithTransform,this.treeScale,g);p&&(v=p(g,v)),u.transform=v;const{x:y,y:_}=this.projectionDelta;u.transformOrigin=`${y.origin*100}% ${_.origin*100}% 0`,f.animationValues?u.opacity=f===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:u.opacity=f===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const w in ch){if(g[w]===void 0)continue;const{correct:P,applyTo:S,isCSSVariable:N}=ch[w],j=v==="none"?g[w]:P(g[w],f);if(S){const I=S.length;for(let D=0;D<I;D++)u[S[D]]=j}else N?this.options.visualElement.renderState.vars[w]=j:u[w]=j}this.options.layoutId&&(u.pointerEvents=f===this?Fl(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>u.currentAnimation?.stop()),this.root.nodes.forEach(Yv),this.root.sharedNodes.clear()}}}function ME(e){e.updateLayout()}function LE(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:i}=e.layout,{animationType:s}=e.options,c=t.source!==e.layout.source;if(s==="size")er(g=>{const v=c?t.measuredBox[g]:t.layoutBox[g],y=Yt(v);v.min=a[g].min,v.max=v.min+y});else if(s==="x"||s==="y"){const g=s==="x"?"y":"x";uh(c?t.measuredBox[g]:t.layoutBox[g],a[g])}else Sb(s,t.layoutBox,a)&&er(g=>{const v=c?t.measuredBox[g]:t.layoutBox[g],y=Yt(a[g]);v.max=v.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+y)});const u=Si();Oo(u,a,t.layoutBox);const d=Si();c?Oo(d,e.applyTransform(i,!0),t.measuredBox):Oo(d,a,t.layoutBox);const p=!kb(u);let f=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:v,layout:y}=g;if(v&&y){const _=e.options.layoutAnchor||void 0,w=xt();nc(w,t.layoutBox,v.layoutBox,_);const P=xt();nc(P,a,y.layoutBox,_),bb(w,P)||(f=!0),g.options.layoutRoot&&(e.relativeTarget=P,e.relativeTargetOrigin=w,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:t,delta:d,layoutDelta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:f})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function NE(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function jE(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function OE(e){e.clearSnapshot()}function Yv(e){e.clearMeasurements()}function zE(e){e.isLayoutDirty=!0,e.updateLayout()}function Xv(e){e.isLayoutDirty=!1}function VE(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function FE(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Zv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function UE(e){e.resolveTargetDelta()}function BE(e){e.calcProjection()}function HE(e){e.resetSkewAndRotation()}function WE(e){e.removeLeadSnapshot()}function qv(e,t,a){e.translate=it(t.translate,0,a),e.scale=it(t.scale,1,a),e.origin=t.origin,e.originPoint=t.originPoint}function Qv(e,t,a,i){e.min=it(t.min,a.min,i),e.max=it(t.max,a.max,i)}function $E(e,t,a,i){Qv(e.x,t.x,a.x,i),Qv(e.y,t.y,a.y,i)}function GE(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const KE={duration:.45,ease:[.4,0,.1,1]},Jv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ey=Jv("applewebkit/")&&!Jv("chrome/")?Math.round:Sn;function ty(e){e.min=ey(e.min),e.max=ey(e.max)}function YE(e){ty(e.x),ty(e.y)}function Sb(e,t,a){return e==="position"||e==="preserve-aspect"&&!mE(Hv(t),Hv(a),.2)}function XE(e){return e!==e.root&&e.scroll?.wasRoot}const ZE=Pb({attachResizeListener:(e,t)=>Yo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Sd={current:void 0},Cb=Pb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Sd.current){const e=new ZE({});e.mount(window),e.setOptions({layoutScroll:!0}),Sd.current=e}return Sd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),xf=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ny(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function qE(...e){return t=>{let a=!1;const i=e.map(s=>{const c=ny(s,t);return!a&&typeof c=="function"&&(a=!0),c});if(a)return()=>{for(let s=0;s<i.length;s++){const c=i[s];typeof c=="function"?c():ny(e[s],null)}}}}function QE(...e){return k.useCallback(qE(...e),e)}class JE extends k.Component{getSnapshotBeforeUpdate(t){const a=this.props.childRef.current;if(Ll(a)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const i=a.offsetParent,s=Ll(i)&&i.offsetWidth||0,c=Ll(i)&&i.offsetHeight||0,u=getComputedStyle(a),d=this.props.sizeRef.current;d.height=parseFloat(u.height),d.width=parseFloat(u.width),d.top=a.offsetTop,d.left=a.offsetLeft,d.right=s-d.width-d.left,d.bottom=c-d.height-d.top}return null}componentDidUpdate(){}render(){return this.props.children}}function eR({children:e,isPresent:t,anchorX:a,anchorY:i,root:s,pop:c}){const u=k.useId(),d=k.useRef(null),p=k.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:f}=k.useContext(xf),g=e.props?.ref??e?.ref,v=QE(d,g);return k.useInsertionEffect(()=>{const{width:y,height:_,top:w,left:P,right:S,bottom:N}=p.current;if(t||c===!1||!d.current||!y||!_)return;const j=a==="left"?`left: ${P}`:`right: ${S}`,I=i==="bottom"?`bottom: ${N}`:`top: ${w}`;d.current.dataset.motionPopId=u;const D=document.createElement("style");f&&(D.nonce=f);const B=s??document.head;return B.appendChild(D),D.sheet&&D.sheet.insertRule(`
|
|
687
|
+
[data-motion-pop-id="${u}"] {
|
|
688
|
+
position: absolute !important;
|
|
689
|
+
width: ${y}px !important;
|
|
690
|
+
height: ${_}px !important;
|
|
691
|
+
${j}px !important;
|
|
692
|
+
${I}px !important;
|
|
693
|
+
}
|
|
694
|
+
`),()=>{d.current?.removeAttribute("data-motion-pop-id"),B.contains(D)&&B.removeChild(D)}},[t]),L.jsx(JE,{isPresent:t,childRef:d,sizeRef:p,pop:c,children:c===!1?e:k.cloneElement(e,{ref:v})})}const tR=({children:e,initial:t,isPresent:a,onExitComplete:i,custom:s,presenceAffectsLayout:c,mode:u,anchorX:d,anchorY:p,root:f})=>{const g=Zh(nR),v=k.useId();let y=!0,_=k.useMemo(()=>(y=!1,{id:v,initial:t,isPresent:a,custom:s,onExitComplete:w=>{g.set(w,!0);for(const P of g.values())if(!P)return;i&&i()},register:w=>(g.set(w,!1),()=>g.delete(w))}),[a,g,i]);return c&&y&&(_={..._}),k.useMemo(()=>{g.forEach((w,P)=>g.set(P,!1))},[a]),k.useEffect(()=>{!a&&!g.size&&i&&i()},[a]),e=L.jsx(eR,{pop:u==="popLayout",isPresent:a,anchorX:d,anchorY:p,root:f,children:e}),L.jsx(fc.Provider,{value:_,children:e})};function nR(){return new Map}function Tb(e=!0){const t=k.useContext(fc);if(t===null)return[!0,null];const{isPresent:a,onExitComplete:i,register:s}=t,c=k.useId();k.useEffect(()=>{if(e)return s(c)},[e]);const u=k.useCallback(()=>e&&i&&i(c),[c,i,e]);return!a&&i?[!1,u]:[!0]}const Pl=e=>e.key||"";function ry(e){const t=[];return k.Children.forEach(e,a=>{k.isValidElement(a)&&t.push(a)}),t}const rR=({children:e,custom:t,initial:a=!0,onExitComplete:i,presenceAffectsLayout:s=!0,mode:c="sync",propagate:u=!1,anchorX:d="left",anchorY:p="top",root:f})=>{const[g,v]=Tb(u),y=k.useMemo(()=>ry(e),[e]),_=u&&!g?[]:y.map(Pl),w=k.useRef(!0),P=k.useRef(y),S=Zh(()=>new Map),N=k.useRef(new Set),[j,I]=k.useState(y),[D,B]=k.useState(y);e0(()=>{w.current=!1,P.current=y;for(let x=0;x<D.length;x++){const ee=Pl(D[x]);_.includes(ee)?(S.delete(ee),N.current.delete(ee)):S.get(ee)!==!0&&S.set(ee,!1)}},[D,_.length,_.join("-")]);const Z=[];if(y!==j){let x=[...y];for(let ee=0;ee<D.length;ee++){const Y=D[ee],ue=Pl(Y);_.includes(ue)||(x.splice(ee,0,Y),Z.push(Y))}return c==="wait"&&Z.length&&(x=Z),B(ry(x)),I(y),null}const{forceRender:oe}=k.useContext(Xh);return L.jsx(L.Fragment,{children:D.map(x=>{const ee=Pl(x),Y=u&&!g?!1:y===D||_.includes(ee),ue=()=>{if(N.current.has(ee))return;if(S.has(ee))N.current.add(ee),S.set(ee,!0);else return;let se=!0;S.forEach(q=>{q||(se=!1)}),se&&(oe?.(),B(P.current),u&&v?.(),i&&i())};return L.jsx(tR,{isPresent:Y,initial:!w.current||a?void 0:!1,custom:t,presenceAffectsLayout:s,mode:c,root:f,onExitComplete:Y?void 0:ue,anchorX:d,anchorY:p,children:x},ee)})})},Eb=k.createContext({strict:!1}),ay={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let iy=!1;function aR(){if(iy)return;const e={};for(const t in ay)e[t]={isEnabled:a=>ay[t].some(i=>!!a[i])};rb(e),iy=!0}function Rb(){return aR(),UT()}function iR(e){const t=Rb();for(const a in e)t[a]={...t[a],...e[a]};rb(t)}const oR=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function rc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||oR.has(e)}let Db=e=>!rc(e);function sR(e){typeof e=="function"&&(Db=t=>t.startsWith("on")?!rc(t):e(t))}try{sR(require("@emotion/is-prop-valid").default)}catch{}function lR(e,t,a){const i={};for(const s in e)s==="values"&&typeof e.values=="object"||At(e[s])||(Db(s)||a===!0&&rc(s)||!t&&!rc(s)||e.draggable&&s.startsWith("onDrag"))&&(i[s]=e[s]);return i}const vc=k.createContext({});function cR(e,t){if(gc(e)){const{initial:a,animate:i}=e;return{initial:a===!1||Ko(a)?a:void 0,animate:Ko(i)?i:void 0}}return e.inherit!==!1?t:{}}function uR(e){const{initial:t,animate:a}=cR(e,k.useContext(vc));return k.useMemo(()=>({initial:t,animate:a}),[oy(t),oy(a)])}function oy(e){return Array.isArray(e)?e.join(" "):e}const Pf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ib(e,t,a){for(const i in t)!At(t[i])&&!ub(i,a)&&(e[i]=t[i])}function dR({transformTemplate:e},t){return k.useMemo(()=>{const a=Pf();return _f(a,t,e),Object.assign({},a.vars,a.style)},[t])}function hR(e,t){const a=e.style||{},i={};return Ib(i,a,e),Object.assign(i,dR(e,t)),i}function fR(e,t){const a={},i=hR(e,t);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=i,a}const Ab=()=>({...Pf(),attrs:{}});function pR(e,t,a,i){const s=k.useMemo(()=>{const c=Ab();return db(c,t,fb(i),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[t]);if(e.style){const c={};Ib(c,e.style,e),s.style={...c,...s.style}}return s}const mR=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Sf(e){return typeof e!="string"||e.includes("-")?!1:!!(mR.indexOf(e)>-1||/[A-Z]/u.test(e))}function gR(e,t,a,{latestValues:i},s,c=!1,u){const p=(u??Sf(e)?pR:fR)(t,i,s,e),f=lR(t,typeof e=="string",c),g=e!==k.Fragment?{...f,...p,ref:a}:{},{children:v}=t,y=k.useMemo(()=>At(v)?v.get():v,[v]);return k.createElement(e,{...g,children:y})}function vR({scrapeMotionValuesFromProps:e,createRenderState:t},a,i,s){return{latestValues:yR(a,i,s,e),renderState:t()}}function yR(e,t,a,i){const s={},c=i(e,{});for(const y in c)s[y]=Fl(c[y]);let{initial:u,animate:d}=e;const p=gc(e),f=tb(e);t&&f&&!p&&e.inherit!==!1&&(u===void 0&&(u=t.initial),d===void 0&&(d=t.animate));let g=a?a.initial===!1:!1;g=g||u===!1;const v=g?d:u;if(v&&typeof v!="boolean"&&!mc(v)){const y=Array.isArray(v)?v:[v];for(let _=0;_<y.length;_++){const w=hf(e,y[_]);if(w){const{transitionEnd:P,transition:S,...N}=w;for(const j in N){let I=N[j];if(Array.isArray(I)){const D=g?I.length-1:0;I=I[D]}I!==null&&(s[j]=I)}for(const j in P)s[j]=P[j]}}}return s}const Mb=e=>(t,a)=>{const i=k.useContext(vc),s=k.useContext(fc),c=()=>vR(e,t,i,s);return a?c():Zh(c)},kR=Mb({scrapeMotionValuesFromProps:wf,createRenderState:Pf}),bR=Mb({scrapeMotionValuesFromProps:pb,createRenderState:Ab}),_R=Symbol.for("motionComponentSymbol");function wR(e,t,a){const i=k.useRef(a);k.useInsertionEffect(()=>{i.current=a});const s=k.useRef(null);return k.useCallback(c=>{c&&e.onMount?.(c);const u=i.current;if(typeof u=="function")if(c){const d=u(c);typeof d=="function"&&(s.current=d)}else s.current?(s.current(),s.current=null):u(c);else u&&(u.current=c);t&&(c?t.mount(c):t.unmount())},[t])}const Lb=k.createContext({});function _i(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function xR(e,t,a,i,s,c){const{visualElement:u}=k.useContext(vc),d=k.useContext(Eb),p=k.useContext(fc),f=k.useContext(xf),g=f.reducedMotion,v=f.skipAnimations,y=k.useRef(null),_=k.useRef(!1);i=i||d.renderer,!y.current&&i&&(y.current=i(e,{visualState:t,parent:u,props:a,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:g,skipAnimations:v,isSVG:c}),_.current&&y.current&&(y.current.manuallyAnimateOnMount=!0));const w=y.current,P=k.useContext(Lb);w&&!w.projection&&s&&(w.type==="html"||w.type==="svg")&&PR(y.current,a,s,P);const S=k.useRef(!1);k.useInsertionEffect(()=>{w&&S.current&&w.update(a,p)});const N=a[B0],j=k.useRef(!!N&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(N)&&window.MotionHasOptimisedAnimation?.(N));return e0(()=>{_.current=!0,w&&(S.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),w.scheduleRenderMicrotask(),j.current&&w.animationState&&w.animationState.animateChanges())}),k.useEffect(()=>{w&&(!j.current&&w.animationState&&w.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(N)}),j.current=!1),w.enteringChildren=void 0)}),w}function PR(e,t,a,i){const{layoutId:s,layout:c,drag:u,dragConstraints:d,layoutScroll:p,layoutRoot:f,layoutAnchor:g,layoutCrossfade:v}=t;e.projection=new a(e.latestValues,t["data-framer-portal-id"]?void 0:Nb(e.parent)),e.projection.setOptions({layoutId:s,layout:c,alwaysMeasureLayout:!!u||d&&_i(d),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:i,crossfade:v,layoutScroll:p,layoutRoot:f,layoutAnchor:g})}function Nb(e){if(e)return e.options.allowProjection!==!1?e.projection:Nb(e.parent)}function Cd(e,{forwardMotionProps:t=!1,type:a}={},i,s){i&&iR(i);const c=a?a==="svg":Sf(e),u=c?bR:kR;function d(f,g){let v;const y={...k.useContext(xf),...f,layoutId:SR(f)},{isStatic:_}=y,w=uR(f),P=u(f,_);if(!_&&typeof window<"u"){CR();const S=TR(y);v=S.MeasureLayout,w.visualElement=xR(e,P,y,s,S.ProjectionNode,c)}return L.jsxs(vc.Provider,{value:w,children:[v&&w.visualElement?L.jsx(v,{visualElement:w.visualElement,...y}):null,gR(e,f,wR(P,w.visualElement,g),P,_,t,c)]})}d.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const p=k.forwardRef(d);return p[_R]=e,p}function SR({layoutId:e}){const t=k.useContext(Xh).id;return t&&e!==void 0?t+"-"+e:e}function CR(e,t){k.useContext(Eb).strict}function TR(e){const t=Rb(),{drag:a,layout:i}=t;if(!a&&!i)return{};const s={...a,...i};return{MeasureLayout:a?.isEnabled(e)||i?.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}function ER(e,t){if(typeof Proxy>"u")return Cd;const a=new Map,i=(c,u)=>Cd(c,u,e,t),s=(c,u)=>i(c,u);return new Proxy(s,{get:(c,u)=>u==="create"?i:(a.has(u)||a.set(u,Cd(u,void 0,e,t)),a.get(u))})}const RR=(e,t)=>t.isSVG??Sf(e)?new aE(t):new QT(t,{allowProjection:e!==k.Fragment});class DR extends la{constructor(t){super(t),t.animationState||(t.animationState=cE(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();mc(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:a}=this.node.prevProps||{};t!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let IR=0;class AR extends la{constructor(){super(...arguments),this.id=IR++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:a}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&i===!1){if(this.isExitComplete){const{initial:c,custom:u}=this.node.getProps();if(typeof c=="string"){const d=Oa(this.node,c,u);if(d){const{transition:p,transitionEnd:f,...g}=d;for(const v in g)this.node.getValue(v)?.jump(g[v])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive("exit",!t);a&&!t&&s.then(()=>{this.isExitComplete=!0,a(this.id)})}mount(){const{register:t,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const MR={animation:{Feature:DR},exit:{Feature:AR}};function os(e){return{point:{x:e.pageX,y:e.pageY}}}const LR=e=>t=>gf(t)&&e(t,os(t));function zo(e,t,a,i){return Yo(e,t,LR(a),i)}const jb=({current:e})=>e?e.ownerDocument.defaultView:null,sy=(e,t)=>Math.abs(e-t);function NR(e,t){const a=sy(e.x,t.x),i=sy(e.y,t.y);return Math.sqrt(a**2+i**2)}const ly=new Set(["auto","scroll"]);class Ob{constructor(t,a,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:c=!1,distanceThreshold:u=3,element:d}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=_=>{this.handleScroll(_.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Sl(this.lastRawMoveEventInfo,this.transformPagePoint));const _=Td(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,P=NR(_.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!P)return;const{point:S}=_,{timestamp:N}=It;this.history.push({...S,timestamp:N});const{onStart:j,onMove:I}=this.handlers;w||(j&&j(this.lastMoveEvent,_),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,_)},this.handlePointerMove=(_,w)=>{this.lastMoveEvent=_,this.lastRawMoveEventInfo=w,this.lastMoveEventInfo=Sl(w,this.transformPagePoint),Qe.update(this.updatePoint,!0)},this.handlePointerUp=(_,w)=>{this.end();const{onEnd:P,onSessionEnd:S,resumeAnimation:N}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=Td(_.type==="pointercancel"?this.lastMoveEventInfo:Sl(w,this.transformPagePoint),this.history);this.startEvent&&P&&P(_,j),S&&S(_,j)},!gf(t))return;this.dragSnapToOrigin=c,this.handlers=a,this.transformPagePoint=i,this.distanceThreshold=u,this.contextWindow=s||window;const p=os(t),f=Sl(p,this.transformPagePoint),{point:g}=f,{timestamp:v}=It;this.history=[{...g,timestamp:v}];const{onSessionStart:y}=a;y&&y(t,Td(f,this.history)),this.removeListeners=rs(zo(this.contextWindow,"pointermove",this.handlePointerMove),zo(this.contextWindow,"pointerup",this.handlePointerUp),zo(this.contextWindow,"pointercancel",this.handlePointerUp)),d&&this.startScrollTracking(d)}startScrollTracking(t){let a=t.parentElement;for(;a;){const i=getComputedStyle(a);(ly.has(i.overflowX)||ly.has(i.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const a=this.scrollPositions.get(t);if(!a)return;const i=t===window,s=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},c={x:s.x-a.x,y:s.y-a.y};c.x===0&&c.y===0||(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=c.x,this.lastMoveEventInfo.point.y+=c.y):this.history.length>0&&(this.history[0].x-=c.x,this.history[0].y-=c.y),this.scrollPositions.set(t,s),Qe.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ra(this.updatePoint)}}function Sl(e,t){return t?{point:t(e.point)}:e}function cy(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Td({point:e},t){return{point:e,delta:cy(e,zb(t)),offset:cy(e,jR(t)),velocity:OR(t,.1)}}function jR(e){return e[0]}function zb(e){return e[e.length-1]}function OR(e,t){if(e.length<2)return{x:0,y:0};let a=e.length-1,i=null;const s=zb(e);for(;a>=0&&(i=e[a],!(s.timestamp-i.timestamp>pn(t)));)a--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&s.timestamp-i.timestamp>pn(t)*2&&(i=e[1]);const c=xn(s.timestamp-i.timestamp);if(c===0)return{x:0,y:0};const u={x:(s.x-i.x)/c,y:(s.y-i.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function zR(e,{min:t,max:a},i){return t!==void 0&&e<t?e=i?it(t,e,i.min):Math.max(e,t):a!==void 0&&e>a&&(e=i?it(a,e,i.max):Math.min(e,a)),e}function uy(e,t,a){return{min:t!==void 0?e.min+t:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function VR(e,{top:t,left:a,bottom:i,right:s}){return{x:uy(e.x,a,s),y:uy(e.y,t,i)}}function dy(e,t){let a=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([a,i]=[i,a]),{min:a,max:i}}function FR(e,t){return{x:dy(e.x,t.x),y:dy(e.y,t.y)}}function UR(e,t){let a=.5;const i=Yt(e),s=Yt(t);return s>i?a=$o(t.min,t.max-i,e.min):i>s&&(a=$o(e.min,e.max-s,t.min)),ar(0,1,a)}function BR(e,t){const a={};return t.min!==void 0&&(a.min=t.min-e.min),t.max!==void 0&&(a.max=t.max-e.min),a}const dh=.35;function HR(e=dh){return e===!1?e=0:e===!0&&(e=dh),{x:hy(e,"left","right"),y:hy(e,"top","bottom")}}function hy(e,t,a){return{min:fy(e,t),max:fy(e,a)}}function fy(e,t){return typeof e=="number"?e:e[t]||0}const WR=new WeakMap;class $R{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=xt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:a=!1,distanceThreshold:i}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const c=v=>{a&&this.snapToCursor(os(v).point),this.stopAnimation()},u=(v,y)=>{const{drag:_,dragPropagation:w,onDragStart:P}=this.getProps();if(_&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=yT(_),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=y,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),er(N=>{let j=this.getAxisMotionValue(N).get()||0;if(nr.test(j)){const{projection:I}=this.visualElement;if(I&&I.layout){const D=I.layout.layoutBox[N];D&&(j=Yt(D)*(parseFloat(j)/100))}}this.originPoint[N]=j}),P&&Qe.update(()=>P(v,y),!1,!0),rh(this.visualElement,"transform");const{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},d=(v,y)=>{this.latestPointerEvent=v,this.latestPanInfo=y;const{dragPropagation:_,dragDirectionLock:w,onDirectionLock:P,onDrag:S}=this.getProps();if(!_&&!this.openDragLock)return;const{offset:N}=y;if(w&&this.currentDirection===null){this.currentDirection=KR(N),this.currentDirection!==null&&P&&P(this.currentDirection);return}this.updateAxis("x",y.point,N),this.updateAxis("y",y.point,N),this.visualElement.render(),S&&Qe.update(()=>S(v,y),!1,!0)},p=(v,y)=>{this.latestPointerEvent=v,this.latestPanInfo=y,this.stop(v,y),this.latestPointerEvent=null,this.latestPanInfo=null},f=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new Ob(t,{onSessionStart:c,onStart:u,onMove:d,onSessionEnd:p,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:i,contextWindow:jb(this.visualElement),element:this.visualElement.current})}stop(t,a){const i=t||this.latestPointerEvent,s=a||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!s||!i)return;const{velocity:u}=s;this.startAnimation(u);const{onDragEnd:d}=this.getProps();d&&Qe.postRender(()=>d(i,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:a}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,a,i){const{drag:s}=this.getProps();if(!i||!Cl(t,s,this.currentDirection))return;const c=this.getAxisMotionValue(t);let u=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(u=zR(u,this.constraints[t],this.elastic[t])),c.set(u)}resolveConstraints(){const{dragConstraints:t,dragElastic:a}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&_i(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=VR(i.layoutBox,t):this.constraints=!1,this.elastic=HR(a),s!==this.constraints&&!_i(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&er(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=BR(i.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:a}=this.getProps();if(!t||!_i(t))return!1;const i=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const c=GT(i,s.root,this.visualElement.getTransformPagePoint());let u=FR(s.layout.layoutBox,c);if(a){const d=a(HT(u));this.hasMutatedConstraints=!!d,d&&(u=ib(d))}return u}startAnimation(t){const{drag:a,dragMomentum:i,dragElastic:s,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:d}=this.getProps(),p=this.constraints||{},f=er(g=>{if(!Cl(g,a,this.currentDirection))return;let v=p&&p[g]||{};(u===!0||u===g)&&(v={min:0,max:0});const y=s?200:1e6,_=s?40:1e7,w={type:"inertia",velocity:i?t[g]:0,bounceStiffness:y,bounceDamping:_,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(g,w)});return Promise.all(f).then(d)}startAxisValueAnimation(t,a){const i=this.getAxisMotionValue(t);return rh(this.visualElement,t),i.start(df(t,i,0,a,this.visualElement,!1))}stopAnimation(){er(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const a=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),s=i[a];return s||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){er(a=>{const{drag:i}=this.getProps();if(!Cl(a,i,this.currentDirection))return;const{projection:s}=this.visualElement,c=this.getAxisMotionValue(a);if(s&&s.layout){const{min:u,max:d}=s.layout.layoutBox[a],p=c.get()||0;c.set(t[a]-it(u,d,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:a}=this.getProps(),{projection:i}=this.visualElement;if(!_i(a)||!i||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};er(u=>{const d=this.getAxisMotionValue(u);if(d&&this.constraints!==!1){const p=d.get();s[u]=UR({min:p,max:p},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),er(u=>{if(!Cl(u,t,null))return;const d=this.getAxisMotionValue(u),{min:p,max:f}=this.constraints[u];d.set(it(p,f,s[u]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;WR.set(this.visualElement,this);const t=this.visualElement.current,a=zo(t,"pointerdown",f=>{const{drag:g,dragListener:v=!0}=this.getProps(),y=f.target,_=y!==t&&PT(y);g&&v&&!_&&this.start(f)});let i;const s=()=>{const{dragConstraints:f}=this.getProps();_i(f)&&f.current&&(this.constraints=this.resolveRefConstraints(),i||(i=GR(t,f.current,()=>this.scalePositionWithinConstraints())))},{projection:c}=this.visualElement,u=c.addEventListener("measure",s);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),Qe.read(s);const d=Yo(window,"resize",()=>this.scalePositionWithinConstraints()),p=c.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:g})=>{this.isDragging&&g&&(er(v=>{const y=this.getAxisMotionValue(v);y&&(this.originPoint[v]+=f[v].translate,y.set(y.get()+f[v].translate))}),this.visualElement.render())}));return()=>{d(),a(),u(),p&&p(),i&&i()}}getProps(){const t=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:c=!1,dragElastic:u=dh,dragMomentum:d=!0}=t;return{...t,drag:a,dragDirectionLock:i,dragPropagation:s,dragConstraints:c,dragElastic:u,dragMomentum:d}}}function py(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function GR(e,t,a){const i=_v(e,py(a)),s=_v(t,py(a));return()=>{i(),s()}}function Cl(e,t,a){return(t===!0||t===e)&&(a===null||a===e)}function KR(e,t=10){let a=null;return Math.abs(e.y)>t?a="y":Math.abs(e.x)>t&&(a="x"),a}class YR extends la{constructor(t){super(t),this.removeGroupControls=Sn,this.removeListeners=Sn,this.controls=new $R(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Sn}update(){const{dragControls:t}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};t!==a&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Ed=e=>(t,a)=>{e&&Qe.update(()=>e(t,a),!1,!0)};class XR extends la{constructor(){super(...arguments),this.removePointerDownListener=Sn}onPointerDown(t){this.session=new Ob(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:a,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:Ed(t),onStart:Ed(a),onMove:Ed(i),onEnd:(c,u)=>{delete this.session,s&&Qe.postRender(()=>s(c,u))}}}mount(){this.removePointerDownListener=zo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Rd=!1;class ZR extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:i,layoutId:s}=this.props,{projection:c}=t;c&&(a.group&&a.group.add(c),i&&i.register&&s&&i.register(c),Rd&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ul.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:a,visualElement:i,drag:s,isPresent:c}=this.props,{projection:u}=i;return u&&(u.isPresent=c,t.layoutDependency!==a&&u.setOptions({...u.options,layoutDependency:a}),Rd=!0,s||t.layoutDependency!==a||a===void 0||t.isPresent!==c?u.willUpdate():this.safeToRemove(),t.isPresent!==c&&(c?u.promote():u.relegate()||Qe.postRender(()=>{const d=u.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:a}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=a,i.root.didUpdate(),mf.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:i}=this.props,{projection:s}=t;Rd=!0,s&&(s.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Vb(e){const[t,a]=Tb(),i=k.useContext(Xh);return L.jsx(ZR,{...e,layoutGroup:i,switchLayoutGroup:k.useContext(Lb),isPresent:t,safeToRemove:a})}const qR={pan:{Feature:XR},drag:{Feature:YR,ProjectionNode:Cb,MeasureLayout:Vb}};function my(e,t,a){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",a==="Start");const s="onHover"+a,c=i[s];c&&Qe.postRender(()=>c(t,os(t)))}class QR extends la{mount(){const{current:t}=this.node;t&&(this.unmount=bT(t,(a,i)=>(my(this.node,i,"Start"),s=>my(this.node,s,"End"))))}unmount(){}}class JR extends la{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=rs(Yo(this.node.current,"focus",()=>this.onFocus()),Yo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function gy(e,t,a){const{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",a==="Start");const s="onTap"+(a==="End"?"":a),c=i[s];c&&Qe.postRender(()=>c(t,os(t)))}class e4 extends la{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:a,propagate:i}=this.node.props;this.unmount=CT(t,(s,c)=>(gy(this.node,c,"Start"),(u,{success:d})=>gy(this.node,u,d?"End":"Cancel")),{useGlobalTarget:a,stopPropagation:i?.tap===!1})}unmount(){}}const hh=new WeakMap,Dd=new WeakMap,t4=e=>{const t=hh.get(e.target);t&&t(e)},n4=e=>{e.forEach(t4)};function r4({root:e,...t}){const a=e||document;Dd.has(a)||Dd.set(a,{});const i=Dd.get(a),s=JSON.stringify(t);return i[s]||(i[s]=new IntersectionObserver(n4,{root:e,...t})),i[s]}function a4(e,t,a){const i=r4(t);return hh.set(e,a),i.observe(e),()=>{hh.delete(e),i.unobserve(e)}}const i4={some:0,all:1};class o4 extends la{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:a,margin:i,amount:s="some",once:c}=t,u={root:a?a.current:void 0,rootMargin:i,threshold:typeof s=="number"?s:i4[s]},d=p=>{const{isIntersecting:f}=p;if(this.isInView===f||(this.isInView=f,c&&!f&&this.hasEnteredView))return;f&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",f);const{onViewportEnter:g,onViewportLeave:v}=this.node.getProps(),y=f?g:v;y&&y(p)};this.stopObserver=a4(this.node.current,u,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:a}=this.node;["amount","margin","root"].some(s4(t,a))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function s4({viewport:e={}},{viewport:t={}}={}){return a=>e[a]!==t[a]}const l4={inView:{Feature:o4},tap:{Feature:e4},focus:{Feature:JR},hover:{Feature:QR}},c4={layout:{ProjectionNode:Cb,MeasureLayout:Vb}},u4={...MR,...l4,...qR,...c4},vy=ER(u4,RR);function d4(){!bf.current&&nb();const[e]=k.useState(Jl.current);return e}function h4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:t,children:L.jsx("path",{d:"M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z"})})}function f4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",className:t,children:L.jsx("path",{d:"M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z"})})}function p4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:t,children:L.jsx("path",{d:"M22.106 5.68L12.5.135a.998.998 0 00-.998 0L1.893 5.68a.84.84 0 00-.419.726v11.186c0 .3.16.577.42.727l9.607 5.547a.999.999 0 00.998 0l9.608-5.547a.84.84 0 00.42-.727V6.407a.84.84 0 00-.42-.726zm-.603 1.176L12.228 22.92c-.063.108-.228.064-.228-.061V12.34a.59.59 0 00-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264 0 .428.286.296.514z"})})}function m4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:t,children:L.jsx("path",{d:"M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z"})})}function g4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:t,children:L.jsx("path",{d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})})}function v4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 -1 22 28",fill:"currentColor",fillRule:"evenodd",className:t,children:L.jsx("path",{d:"M4.125 20.149c-2.69 5.959 3.036 7.453 7.26 3.966 1.24 3.91 5.898.993 7.569-2.036 3.682-6.678 2.195-13.49 1.813-14.895-2.617-9.582-15.699-9.592-17.95.049-.526 1.687-.535 3.606-.833 5.598-.15 1.005-.256 1.646-.645 2.703-.223.607-.53 1.147-1.014 2.056-.75 1.412-.434 4.138 3.434 2.724v.001ZM11.895 11.332c-1.073 0-1.234-1.283-1.234-2.048 0-.69.124-1.239.358-1.586a1 1 0 0 1 .876-.462c.375 0 .697.158.924.47.259.354.395.9.395 1.578 0 1.283-.493 2.048-1.319 2.048Zm4.416 0c-1.073 0-1.234-1.283-1.234-2.048 0-.69.124-1.239.358-1.586a1 1 0 0 1 .876-.462c.375 0 .697.158.924.47.259.354.396.9.396 1.578 0 1.283-.494 2.048-1.32 2.048Z"})})}function y4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:t,children:L.jsx("path",{d:"M16 6H8v12h8V6zm4 16H4V2h16v20z"})})}function k4({size:e=16,className:t=""}){return L.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:t,children:[L.jsx("path",{d:"M21.846 0a1.923 1.923 0 110 3.846H20.15a.226.226 0 01-.227-.226V1.923C19.923.861 20.784 0 21.846 0z"}),L.jsx("path",{d:"M11.065 11.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164 0 00-.117.051l-7.82 7.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103 0-.186.103-.186.23V19.77c0 .128.083.23.186.23h2.69c.103 0 .186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158 0 01.205-.023l6.484 4.772a7.677 7.677 0 003.453 1.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028 5.028 0 01-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z"})]})}function b4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",className:t,children:L.jsx("path",{d:"M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864zm-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a65.882 65.882 0 00-.063 2.884l-.002.48c-.002.563-.005 1.126-.013 1.69.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.854.854 0 00.51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108-.32-.032-.64-.049-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zm5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zM7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394zm6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394zM12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a2.94 2.94 0 01-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9.29 9.29 0 00-.84-.044z"})})}function _4({size:e=16,className:t=""}){return L.jsxs("svg",{width:e,height:e,viewBox:"0 0 64 60",fill:"none",className:t,"aria-hidden":"true",children:[L.jsx("path",{fill:"currentColor",d:"M37.2114 3.75318C37.6821 3.33106 37.7106 3.31457 38.0558 3.29385C38.6149 3.2531 39.1272 3.52199 39.9989 4.31564C42.0356 6.16652 44.8714 9.97183 46.6346 13.2212L47.3163 14.4819L48.2782 14.9605C49.2072 15.4299 50.7308 16.3923 51.3672 16.9085C51.655 17.1464 51.6956 17.1508 51.9947 17.0344C53.3454 16.5084 55.2803 17.206 56.9869 18.8432C58.5231 20.3155 59.9943 22.8312 60.558 24.9308C60.6403 25.2687 60.7493 25.9952 60.7891 26.5362C60.9177 28.4358 60.3092 29.9532 59.1362 30.64C58.8965 30.7784 58.8801 30.8158 58.8868 31.4132C58.9409 34.2583 58.1741 37.0985 56.6335 39.8679C54.8946 42.9773 51.7981 46.1938 47.6074 49.2243C45.357 50.8619 40.0323 53.964 37.6248 55.0532C31.8578 57.6496 27.2346 58.646 23.2188 58.154C20.8236 57.8638 18.1124 56.9287 16.5082 55.8433C16.086 55.5515 16.0191 55.5329 15.6966 55.6251C13.9793 56.1185 11.73 55.1053 9.81931 52.9844C9.05725 52.1366 7.82714 50.0548 7.42839 48.9409C6.50606 46.3339 6.68976 43.9816 7.91836 42.5767C8.23573 42.2149 8.2453 42.1995 8.17598 41.5912C8.06148 40.5951 8.00971 39.1206 8.06202 38.1692L8.10361 37.2803L6.76977 34.9212C4.70378 31.2451 3.3912 28.1582 2.88489 25.7998C2.61762 24.5066 2.63385 23.9324 2.96214 23.5078C3.16198 23.2515 3.81796 22.9866 4.60785 22.8407C6.59665 22.4917 10.9334 22.8076 15.7581 23.6595L16.259 23.7458L17.3608 22.7713C19.1891 21.1519 20.4038 20.244 22.6429 18.8478C24.9768 17.3876 27.6108 16.1858 30.577 15.2346L31.5295 14.9294L32.0526 13.5561C33.9257 8.61146 35.8437 4.96584 37.2114 3.75318ZM21.5208 29.0919C19.404 30.314 18.3453 30.9251 17.5676 31.6099C14.4179 34.3835 13.2414 38.777 14.5823 42.7537C14.9135 43.7357 15.5247 44.7942 16.7469 46.9111C17.9691 49.0279 18.5801 50.0865 19.2649 50.8643C22.0385 54.014 26.4316 55.1918 30.4084 53.8509C31.3904 53.5198 32.4489 52.9085 34.5657 51.6863L46.7442 44.6551C48.8613 43.4328 49.9205 42.8214 50.6983 42.1365C53.8479 39.363 55.0245 34.9695 53.6835 30.9927C53.3524 30.0107 52.7412 28.9522 51.519 26.8354C50.2968 24.7185 49.6858 23.66 49.0009 22.8822C46.2274 19.7325 41.8342 18.5547 37.8575 19.8956C36.8754 20.2267 35.8163 20.8383 33.6993 22.0606L21.5208 29.0919Z"}),L.jsx("g",{transform:"rotate(-30 22.6953 37.6011)",children:L.jsx("rect",{x:"22.6953",y:"37.6011",width:"4.81084",height:"9.99175",rx:"2.40542",fill:"currentColor"})}),L.jsx("g",{transform:"rotate(-30 35.6748 30.1074)",children:L.jsx("rect",{x:"35.6748",y:"30.1074",width:"4.81084",height:"9.99175",rx:"2.40542",fill:"currentColor"})})]})}function w4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",className:t,children:L.jsx("path",{d:"M7 2h10a5 5 0 015 5v10a5 5 0 01-5 5H7a5 5 0 01-5-5V7a5 5 0 015-5zm0 4.5v11h2.35v-4.55h5.3V17.5H17v-11h-2.35v4.1h-5.3V6.5H7z"})})}function x4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"currentColor",className:t,children:L.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z"})})}function P4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"aria-hidden":"true",children:L.jsx("g",{transform:"translate(3.4502, 3)",fill:"#9570BE",children:L.jsx("path",{d:"M3.17890888,3.6 L3.17890888,0 L16,0 L16,3.6 L3.17890888,3.6 Z M9.642,7.2 L9.64218223,10.8 L0,10.8 L0,3.6 L16,3.6 L16,7.2 L9.642,7.2 Z M3.17890888,18 L3.178,14.4 L0,14.4 L0,10.8 L16,10.8 L16,18 L3.17890888,18 Z",fillRule:"nonzero"})})})}function S4({size:e=16,className:t=""}){return L.jsxs("svg",{width:e,height:e,viewBox:"0 0 120 90",fill:"currentColor",className:t,children:[L.jsx("rect",{x:"10",y:"8",width:"100",height:"12",rx:"2"}),L.jsx("rect",{x:"25",y:"20",width:"12",height:"62",rx:"2"}),L.jsx("rect",{x:"75",y:"20",width:"12",height:"45",rx:"2"}),L.jsx("rect",{x:"71",y:"55",width:"20",height:"16",rx:"3"}),L.jsx("rect",{x:"76",y:"71",width:"3",height:"8",rx:"1"}),L.jsx("rect",{x:"82",y:"71",width:"3",height:"8",rx:"1"})]})}function C4({size:e=16,className:t=""}){return L.jsxs("svg",{width:e,height:e,viewBox:"0 0 120 90",fill:"currentColor",className:t,children:[L.jsx("rect",{x:"10",y:"8",width:"100",height:"12",rx:"2"}),L.jsx("rect",{x:"25",y:"20",width:"12",height:"62",rx:"2"}),L.jsx("rect",{x:"83",y:"20",width:"12",height:"62",rx:"2"})]})}function T4({size:e=16,className:t=""}){return L.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:t,children:[L.jsx("path",{d:"M9 3v2"}),L.jsx("path",{d:"M15 3v2"}),L.jsx("rect",{x:"4",y:"6",width:"16",height:"13",rx:"3"}),L.jsx("circle",{cx:"9",cy:"13",r:"1.4",fill:"currentColor",stroke:"none"}),L.jsx("circle",{cx:"15",cy:"13",r:"1.4",fill:"currentColor",stroke:"none"}),L.jsx("path",{d:"M9 16h6"})]})}const E4={CLAUDE:h4,CODEBUDDY:_4,CODEX:f4,COPILOT:b4,CRAFT:P4,CURSOR:p4,DROID:T4,GEMINI:m4,GITHUB:x4,GROK:g4,HERMES:w4,KIMI:k4,KIRO:v4,OPENCODE:y4,OMP:S4,PI:C4},R4={ANTIGRAVITY:"/brand-logos/antigravity.svg",CLAUDE:"/brand-logos/claude-code.svg",CODEX:"/brand-logos/codex.svg",GEMINI:"/brand-logos/gemini.svg",HERMES:"/brand-logos/hermes.svg","KILO-CLI":"/brand-logos/kilo.svg","KILO-CODE":"/brand-logos/kilo.svg",OPENCLAW:"/brand-logos/openclaw.svg",OPENCODE:"/brand-logos/opencode.svg"};function D4({size:e=16,className:t=""}){return L.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:t,children:L.jsx("circle",{cx:"12",cy:"12",r:"7.5",strokeDasharray:"3 3"})})}function I4({provider:e,size:t=16,color:a,className:i=""}){const s=e?.toUpperCase?.()||"",c=R4[s];if(c)return L.jsx("img",{src:c,alt:"",width:t,height:t,className:i,style:{width:t,height:t,objectFit:"contain"},"aria-hidden":!0});const u=E4[s];return u?L.jsx(u,{size:t,className:i}):L.jsx(D4,{size:t,className:`text-oai-gray-400 dark:text-oai-gray-500 shrink-0 ${i}`})}let Id=null;async function A4(e=fetch){if(Id)return Id;const t=await e("/api/local-auth",{method:"GET",headers:{Accept:"application/json"},cache:"no-store"});if(!t.ok)throw new Error(`Local auth request failed with HTTP ${t.status}`);const a=await t.json().catch(()=>null),i=typeof a?.token=="string"?a.token.trim():"";if(!i)throw new Error("Local auth token missing from response");return Id=i,i}async function M4(e=fetch){return{"x-tokentracker-local-auth":await A4(e)}}const Fb="tokentracker-skills";async function Ba(e){const t=new URL(`/functions/${Fb}`,window.location.origin);if(e)for(const[s,c]of Object.entries(e))c!=null&&c!==""&&t.searchParams.set(s,String(c));const a=await fetch(t.toString(),{headers:{Accept:"application/json"},cache:"no-store"}),i=await a.json().catch(()=>null);if(!a.ok)throw new Error(i?.error||`Request failed with HTTP ${a.status}`);return i}async function ca(e){const t=await M4(),a=await fetch(`/functions/${Fb}`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json",...t},cache:"no-store",body:JSON.stringify(e)}),i=await a.json().catch(()=>null);if(!a.ok||i?.ok===!1)throw new Error(i?.error||`Request failed with HTTP ${a.status}`);return i}function L4(){return Ba({mode:"installed"})}function Y5(e={}){return Ba({mode:"discover",...e.force?{force:1}:{}})}function X5(e,t=0,a=20){return Ba({mode:"search",q:e,offset:t,limit:a})}function Z5(){return Ba({mode:"repos"})}function q5(e,t){return ca({action:"install",skill:e,targets:t})}function Q5(e){return ca({action:"uninstall",id:e})}function J5(e){return ca({action:"restore",id:e})}function eI(e,t){return ca({action:"set_targets",id:e,targets:t})}function tI(e,t){return ca({action:"import_local",directory:e,targets:t})}function nI(e,t){return ca({action:"delete_local",directory:e,targets:t||[]})}function rI(e){return ca({action:"add_repo",repo:e})}function aI(e,t){return ca({action:"remove_repo",owner:e,name:t})}function iI(e={}){return Ba({mode:"popular",...e.force?{force:1}:{}})}function oI(e={}){return Ba({mode:"updates",...e.force?{force:1}:{}})}function sI(e={}){return Ba({mode:"skill_usage",...e.force?{force:1}:{}})}const N4=typeof window<"u"&&(window.location.hostname==="localhost"||window.location.hostname==="127.0.0.1");function j4(){const e=sk(),t=d4(),[a,i]=k.useState(!1),[s,c]=k.useState(""),[u,d]=k.useState(0),[p,f]=k.useState([]),g=k.useRef(null),v=k.useRef(null);k.useEffect(()=>{const I=D=>{(D.metaKey||D.ctrlKey)&&(D.key==="k"||D.key==="K")&&(D.preventDefault(),i(Z=>!Z))};return window.addEventListener("keydown",I),()=>window.removeEventListener("keydown",I)},[]),k.useEffect(()=>{if(!a)return;c(""),d(0);const I=requestAnimationFrame(()=>g.current?.focus());return N4&&!p.length&&L4().then(D=>f(D?.skills||[])).catch(()=>f([])),()=>cancelAnimationFrame(I)},[a,p.length]);const y=k.useMemo(()=>{const I=Qk().flatMap(B=>B.items.map(Z=>({kind:"page",id:`page:${Z.id}`,label:Z.label,sub:He("cmdk.group.pages"),Icon:Z.icon,run:()=>e(Z.to)}))),D=(p||[]).map(B=>({kind:"skill",id:`skill:${B.id||B.directory}`,label:B.name||B.directory,sub:B.repoOwner&&B.repoName?`${B.repoOwner}/${B.repoName}`:He("cmdk.group.skills"),provider:(B.targets||[])[0]||"claude",run:()=>e(`/skills?skill=${encodeURIComponent(B.directory||B.id)}`)}));return[...I,...D]},[e,p]),_=k.useMemo(()=>{const I=s.trim().toLowerCase();return I?y.filter(D=>D.label.toLowerCase().includes(I)||String(D.sub||"").toLowerCase().includes(I)):y},[y,s]);k.useEffect(()=>{u>=_.length&&d(_.length?_.length-1:0)},[u,_.length]),k.useEffect(()=>{if(!a)return;v.current?.querySelector(`[data-cmdk-index="${u}"]`)?.scrollIntoView({block:"nearest"})},[u,a]);const w=k.useCallback(()=>i(!1),[]),P=k.useCallback(I=>{I&&(w(),I.run())},[w]),S=I=>{I.key==="ArrowDown"?(I.preventDefault(),d(D=>Math.min(D+1,Math.max(0,_.length-1)))):I.key==="ArrowUp"?(I.preventDefault(),d(D=>Math.max(D-1,0))):I.key==="Enter"?(I.preventDefault(),P(_[u])):I.key==="Escape"&&(I.preventDefault(),w())},N={duration:t?0:.12},j=t?{duration:0}:{type:"spring",stiffness:460,damping:34,mass:.6};return L.jsx(rR,{children:a?L.jsxs(vy.div,{className:"fixed inset-0 z-[120] flex items-start justify-center px-4 pt-[16vh]",initial:t?!1:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:N,children:[L.jsx("button",{type:"button","aria-label":He("cmdk.close"),onClick:w,className:"absolute inset-0 cursor-default bg-oai-black/40"}),L.jsxs(vy.div,{role:"dialog","aria-modal":"true","aria-label":He("cmdk.open_aria"),initial:t?!1:{opacity:0,y:-8,scale:.985},animate:{opacity:1,y:0,scale:1},exit:t?{opacity:0}:{opacity:0,y:-8,scale:.985},transition:j,className:"relative w-full max-w-xl overflow-hidden rounded-2xl border border-oai-gray-200 bg-oai-white shadow-2xl dark:border-oai-gray-800 dark:bg-oai-gray-950",children:[L.jsxs("div",{className:"flex items-center gap-2.5 border-b border-oai-gray-200 px-4 dark:border-oai-gray-800",children:[L.jsx(XS,{className:"h-4 w-4 shrink-0 text-oai-gray-400","aria-hidden":!0}),L.jsx("input",{ref:g,type:"text",value:s,onChange:I=>{c(I.target.value),d(0)},onKeyDown:S,"aria-label":He("cmdk.placeholder"),"aria-controls":"cmdk-listbox","aria-activedescendant":_[u]?`cmdk-opt-${u}`:void 0,role:"combobox","aria-expanded":"true",placeholder:He("cmdk.placeholder"),className:"h-12 w-full bg-transparent text-sm text-oai-black placeholder:text-oai-gray-400 focus:outline-none dark:text-white"})]}),L.jsx("div",{ref:v,id:"cmdk-listbox",role:"listbox",className:"max-h-[min(56vh,22rem)] overflow-y-auto p-1.5",children:_.length===0?L.jsx("div",{className:"px-3 py-8 text-center text-sm text-oai-gray-500 dark:text-oai-gray-400",children:He("cmdk.empty")}):_.map((I,D)=>{const B=D===u;return L.jsxs("button",{type:"button",role:"option",id:`cmdk-opt-${D}`,"data-cmdk-index":D,"aria-selected":B,onMouseMove:()=>d(D),onClick:()=>P(I),className:Tn("flex w-full items-center gap-3 rounded-lg px-3 py-2 text-left text-sm transition-colors",B?"bg-oai-gray-100 text-oai-black dark:bg-oai-gray-800/70 dark:text-white":"text-oai-gray-700 dark:text-oai-gray-200"),children:[L.jsx("span",{className:"flex h-5 w-5 shrink-0 items-center justify-center text-oai-gray-500 dark:text-oai-gray-400",children:I.kind==="skill"?L.jsx(I4,{provider:I.provider,size:16}):L.jsx(I.Icon,{className:"h-4 w-4","aria-hidden":!0})}),L.jsx("span",{className:"min-w-0 flex-1 truncate font-medium",children:I.label}),L.jsx("span",{className:"shrink-0 truncate text-xs text-oai-gray-400 dark:text-oai-gray-500",children:I.sub}),B?L.jsx(AS,{className:"h-3.5 w-3.5 shrink-0 text-oai-gray-400","aria-hidden":!0}):null]},I.id)})})]})]}):null})}function yc(){return typeof window<"u"}function Cf(e){return Tf(e)?(e.nodeName||"").toLowerCase():"#document"}function aa(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function O4(e){var t;return(t=(Tf(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Tf(e){return yc()?e instanceof Node||e instanceof aa(e).Node:!1}function Ub(e){return yc()?e instanceof Element||e instanceof aa(e).Element:!1}function kc(e){return yc()?e instanceof HTMLElement||e instanceof aa(e).HTMLElement:!1}function fh(e){return!yc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof aa(e).ShadowRoot}function Bb(e){const{overflow:t,overflowX:a,overflowY:i,display:s}=Wb(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+a)&&s!=="inline"&&s!=="contents"}function lI(e){return/^(table|td|th)$/.test(Cf(e))}function z4(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const V4=/transform|translate|scale|rotate|perspective|filter/,F4=/paint|layout|strict|content/,Ra=e=>!!e&&e!=="none";let Ad;function U4(e){const t=Ub(e)?Wb(e):e;return Ra(t.transform)||Ra(t.translate)||Ra(t.scale)||Ra(t.rotate)||Ra(t.perspective)||!B4()&&(Ra(t.backdropFilter)||Ra(t.filter))||V4.test(t.willChange||"")||F4.test(t.contain||"")}function cI(e){let t=ph(e);for(;kc(t)&&!Hb(t);){if(U4(t))return t;if(z4(t))return null;t=ph(t)}return null}function B4(){return Ad==null&&(Ad=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ad}function Hb(e){return/^(html|body|#document)$/.test(Cf(e))}function Wb(e){return aa(e).getComputedStyle(e)}function uI(e){return Ub(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ph(e){if(Cf(e)==="html")return e;const t=e.assignedSlot||e.parentNode||fh(e)&&e.host||O4(e);return fh(t)?t.host:t}function $b(e){const t=ph(e);return Hb(t)?e.ownerDocument?e.ownerDocument.body:e.body:kc(t)&&Bb(t)?t:$b(t)}function yy(e,t,a){var i;t===void 0&&(t=[]),a===void 0&&(a=!0);const s=$b(e),c=s===((i=e.ownerDocument)==null?void 0:i.body),u=aa(s);if(c){const d=H4(u);return t.concat(u,u.visualViewport||[],Bb(s)?s:[],d&&a?yy(d):[])}else return t.concat(s,yy(s,[],a))}function H4(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ci(e){return e?.ownerDocument||document}const ky={};function ss(e,t){const a=k.useRef(ky);return a.current===ky&&(a.current=e(t)),a}const Md=Ch[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],W4=Md&&Md!==k.useLayoutEffect?Md:e=>e();function rn(e){const t=ss($4).current;return t.next=e,W4(t.effect),t.trampoline}function $4(){const e={next:void 0,callback:G4,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function G4(){}let by=0;function Gb(e){return by+=1,`${e}-${Math.random().toString(36).slice(2,6)}-${by}`}const K4=[];function Kb(e){k.useEffect(e,K4)}const So=0;class Xo{static create(){return new Xo}currentId=So;start(t,a){this.clear(),this.currentId=setTimeout(()=>{this.currentId=So,a()},t)}isStarted(){return this.currentId!==So}clear=()=>{this.currentId!==So&&(clearTimeout(this.currentId),this.currentId=So)};disposeEffect=()=>this.clear}function dI(){const e=ss(Xo.create).current;return Kb(e.disposeEffect),e}const Ni=typeof navigator<"u",Ld=Z4(),Yb=Q4(),Xb=q4(),hI=typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter:none"),fI=Ld.platform==="MacIntel"&&Ld.maxTouchPoints>1?!0:/iP(hone|ad|od)|iOS/.test(Ld.platform),Y4=Ni&&/apple/i.test(navigator.vendor),pI=Ni&&/android/i.test(Yb)||/android/i.test(Xb);Ni&&Yb.toLowerCase().startsWith("mac")&&navigator.maxTouchPoints;const X4=Xb.includes("jsdom/");function Z4(){if(!Ni)return{platform:"",maxTouchPoints:-1};const e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}function q4(){if(!Ni)return"";const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:t,version:a})=>`${t}/${a}`).join(" "):navigator.userAgent}function Q4(){if(!Ni)return"";const e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}const _y="data-base-ui-focusable",mI="active",gI="selected",J4="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",vI="ArrowLeft",yI="ArrowRight",kI="ArrowUp",bI="ArrowDown";function Zo(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function za(e,t){if(!e||!t)return!1;const a=t.getRootNode?.();if(e.contains(t))return!0;if(a&&fh(a)){let i=t;for(;i;){if(e===i)return!0;i=i.parentNode||i.host}}return!1}function mh(e){return"composedPath"in e?e.composedPath()[0]:e.target}function _I(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const a=e;return a.target!=null&&t.contains(a.target)}function wI(e){return e.matches("html,body")}function bc(e){return e?.ownerDocument||document}function eD(e){return kc(e)&&e.matches(J4)}function xI(e){return e?e.getAttribute("role")==="combobox"&&eD(e):!1}function gh(e){if(!e||X4)return!0;try{return e.matches(":focus-visible")}catch{return!0}}function PI(e){return e?e.hasAttribute(_y)?e:e.querySelector(`[${_y}]`)||e:null}function ls(e,...t){const a=new URL("https://base-ui.com/production-error");return a.searchParams.set("code",e.toString()),t.forEach(i=>a.searchParams.append("args[]",i)),`Base UI error #${e}; visit ${a} for the full message.`}var tD=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],ac=tD.join(","),Zb=typeof Element>"u",Ii=Zb?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ic=!Zb&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},oc=function(t,a){var i;a===void 0&&(a=!0);var s=t==null||(i=t.getAttribute)===null||i===void 0?void 0:i.call(t,"inert"),c=s===""||s==="true",u=c||a&&t&&(typeof t.closest=="function"?t.closest("[inert]"):oc(t.parentNode));return u},nD=function(t){var a,i=t==null||(a=t.getAttribute)===null||a===void 0?void 0:a.call(t,"contenteditable");return i===""||i==="true"},qb=function(t,a,i){if(oc(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(ac));return a&&Ii.call(t,ac)&&s.unshift(t),s=s.filter(i),s},sc=function(t,a,i){for(var s=[],c=Array.from(t);c.length;){var u=c.shift();if(!oc(u,!1))if(u.tagName==="SLOT"){var d=u.assignedElements(),p=d.length?d:u.children,f=sc(p,!0,i);i.flatten?s.push.apply(s,f):s.push({scopeParent:u,candidates:f})}else{var g=Ii.call(u,ac);g&&i.filter(u)&&(a||!t.includes(u))&&s.push(u);var v=u.shadowRoot||typeof i.getShadowRoot=="function"&&i.getShadowRoot(u),y=!oc(v,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(u));if(v&&y){var _=sc(v===!0?u.children:v.children,!0,i);i.flatten?s.push.apply(s,_):s.push({scopeParent:u,candidates:_})}else c.unshift.apply(c,u.children)}}return s},Qb=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Jb=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||nD(t))&&!Qb(t)?0:t.tabIndex},rD=function(t,a){var i=Jb(t);return i<0&&a&&!Qb(t)?0:i},aD=function(t,a){return t.tabIndex===a.tabIndex?t.documentOrder-a.documentOrder:t.tabIndex-a.tabIndex},e_=function(t){return t.tagName==="INPUT"},iD=function(t){return e_(t)&&t.type==="hidden"},oD=function(t){var a=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(i){return i.tagName==="SUMMARY"});return a},sD=function(t,a){for(var i=0;i<t.length;i++)if(t[i].checked&&t[i].form===a)return t[i]},lD=function(t){if(!t.name)return!0;var a=t.form||ic(t),i=function(d){return a.querySelectorAll('input[type="radio"][name="'+d+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=i(window.CSS.escape(t.name));else try{s=i(t.name)}catch(u){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",u.message),!1}var c=sD(s,t.form);return!c||c===t},cD=function(t){return e_(t)&&t.type==="radio"},uD=function(t){return cD(t)&&!lD(t)},dD=function(t){var a,i=t&&ic(t),s=(a=i)===null||a===void 0?void 0:a.host,c=!1;if(i&&i!==t){var u,d,p;for(c=!!((u=s)!==null&&u!==void 0&&(d=u.ownerDocument)!==null&&d!==void 0&&d.contains(s)||t!=null&&(p=t.ownerDocument)!==null&&p!==void 0&&p.contains(t));!c&&s;){var f,g,v;i=ic(s),s=(f=i)===null||f===void 0?void 0:f.host,c=!!((g=s)!==null&&g!==void 0&&(v=g.ownerDocument)!==null&&v!==void 0&&v.contains(s))}}return c},wy=function(t){var a=t.getBoundingClientRect(),i=a.width,s=a.height;return i===0&&s===0},hD=function(t,a){var i=a.displayCheck,s=a.getShadowRoot;if(i==="full-native"&&"checkVisibility"in t){var c=t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!c}if(getComputedStyle(t).visibility==="hidden")return!0;var u=Ii.call(t,"details>summary:first-of-type"),d=u?t.parentElement:t;if(Ii.call(d,"details:not([open]) *"))return!0;if(!i||i==="full"||i==="full-native"||i==="legacy-full"){if(typeof s=="function"){for(var p=t;t;){var f=t.parentElement,g=ic(t);if(f&&!f.shadowRoot&&s(f)===!0)return wy(t);t.assignedSlot?t=t.assignedSlot:!f&&g!==t.ownerDocument?t=g.host:t=f}t=p}if(dD(t))return!t.getClientRects().length;if(i!=="legacy-full")return!0}else if(i==="non-zero-area")return wy(t);return!1},fD=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var a=t.parentElement;a;){if(a.tagName==="FIELDSET"&&a.disabled){for(var i=0;i<a.children.length;i++){var s=a.children.item(i);if(s.tagName==="LEGEND")return Ii.call(a,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}a=a.parentElement}return!1},vh=function(t,a){return!(a.disabled||iD(a)||hD(a,t)||oD(a)||fD(a))},yh=function(t,a){return!(uD(a)||Jb(a)<0||!vh(t,a))},pD=function(t){var a=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(a)||a>=0)},t_=function(t){var a=[],i=[];return t.forEach(function(s,c){var u=!!s.scopeParent,d=u?s.scopeParent:s,p=rD(d,u),f=u?t_(s.candidates):d;p===0?u?a.push.apply(a,f):a.push(d):i.push({documentOrder:c,tabIndex:p,item:s,isScope:u,content:f})}),i.sort(aD).reduce(function(s,c){return c.isScope?s.push.apply(s,c.content):s.push(c.content),s},[]).concat(a)},Ef=function(t,a){a=a||{};var i;return a.getShadowRoot?i=sc([t],a.includeContainer,{filter:yh.bind(null,a),flatten:!1,getShadowRoot:a.getShadowRoot,shadowRootFilter:pD}):i=qb(t,a.includeContainer,yh.bind(null,a)),t_(i)},SI=function(t,a){a=a||{};var i;return a.getShadowRoot?i=sc([t],a.includeContainer,{filter:vh.bind(null,a),flatten:!0,getShadowRoot:a.getShadowRoot}):i=qb(t,a.includeContainer,vh.bind(null,a)),i},CI=function(t,a){if(a=a||{},!t)throw new Error("No node provided");return Ii.call(t,ac)===!1?!1:yh(a,t)};const Rf=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function n_(e,t){const a=Ef(e,Rf()),i=a.length;if(i===0)return;const s=Zo(bc(e)),c=a.indexOf(s),u=c===-1?t===1?0:i-1:c+t;return a[u]}function mD(e){return n_(bc(e).body,1)||e}function gD(e){return n_(bc(e).body,-1)||e}function r_(e,t){if(!e)return null;const a=Ef(bc(e).body,Rf()),i=a.length;if(i===0)return null;const s=a.indexOf(e);if(s===-1)return null;const c=(s+t+i)%i;return a[c]}function TI(e){return r_(e,1)}function EI(e){return r_(e,-1)}function Nd(e,t){const a=t||e.currentTarget,i=e.relatedTarget;return!i||!za(a,i)}function vD(e){Ef(e,Rf()).forEach(a=>{a.dataset.tabindex=a.getAttribute("tabindex")||"",a.setAttribute("tabindex","-1")})}function xy(e){e.querySelectorAll("[data-tabindex]").forEach(a=>{const i=a.dataset.tabindex;delete a.dataset.tabindex,i?a.setAttribute("tabindex",i):a.removeAttribute("tabindex")})}const Df=k.createContext(void 0);function If(){const e=k.useContext(Df);if(!e)throw new Error(ls(73));return e}function jd(e,t){if(typeof e=="string")return{description:e};if(typeof e=="function"){const a=e(t);return typeof a=="string"?{description:a}:a}return e}const yD=function(t){const{children:a,timeout:i=5e3,limit:s=3,toastManager:c}=t,[u,d]=k.useState([]),[p,f]=k.useState(!1),[g,v]=k.useState(!1),[y,_]=k.useState(null);u.length===0&&(p&&f(!1),g&&v(!1));const w=p||g,P=k.useRef(new Map),S=k.useRef(null),N=k.useRef(!0),j=k.useRef(!1);function I(q){const ae=Zo(Ci(S.current));if(!S.current||!za(S.current,ae)||!gh(ae))return;const ie=u.findIndex(V=>V.id===q);let Q=null,ne=ie+1;for(;ne<u.length;){if(u[ne].transitionStatus!=="ending"){Q=u[ne];break}ne+=1}if(!Q)for(ne=ie-1;ne>=0;){if(u[ne].transitionStatus!=="ending"){Q=u[ne];break}ne-=1}Q?Q.ref?.current?.focus():y?.focus({preventScroll:!0})}const D=rn(()=>{j.current||(j.current=!0,P.current.forEach(q=>{if(q.timeout){q.timeout.clear();const ae=Date.now()-q.start,ie=q.delay-ae;q.remaining=ie>0?ie:0}}))}),B=rn(()=>{j.current&&(j.current=!1,P.current.forEach((q,ae)=>{q.remaining=q.remaining>0?q.remaining:q.delay,q.timeout??=Xo.create(),q.timeout.start(q.remaining,()=>{P.current.delete(ae),q.callback()}),q.start=Date.now()}))}),Z=rn(q=>{d(Q=>{const ne=Q.map(W=>W.id===q?{...W,transitionStatus:"ending",height:0}:W),V=ne.filter(W=>W.transitionStatus!=="ending");return ne.map(W=>{if(W.transitionStatus==="ending")return W;const O=V.indexOf(W)>=s;return{...W,limited:O}})});const ae=P.current.get(q);ae&&ae.timeout&&(ae.timeout.clear(),P.current.delete(q)),u.find(Q=>Q.id===q)?.onClose?.(),I(q),u.length===1&&(f(!1),v(!1))}),oe=rn(q=>{d(ie=>ie.filter(Q=>Q.id!==q)),u.find(ie=>ie.id===q)?.onRemove?.()}),x=rn((q,ae,ie)=>{const Q=Date.now(),ne=N.current&&!p&&!g,V=ne?Xo.create():void 0;V?.start(ae,()=>{P.current.delete(q),ie()}),P.current.set(q,{timeout:V,start:ne?Q:0,delay:ae,remaining:ae,callback:ie})}),ee=rn(q=>{const ae=q.id||Gb("toast"),ie={...q,id:ae,transitionStatus:"starting"};d(ne=>{const V=[ie,...ne],W=V.filter(O=>O.transitionStatus!=="ending");if(W.length>s){const O=W.length-s,E=W.slice(-O);return V.map($=>E.some(de=>de.id===$.id)?{...$,limited:!0}:{...$,limited:!1})}return V.map(O=>({...O,limited:!1}))});const Q=ie.timeout??i;return ie.type!=="loading"&&Q>0&&x(ae,Q,()=>Z(ae)),(p||g||!N.current)&&D(),ae}),Y=rn((q,ae)=>{const ie=u.find(fe=>fe.id===q)??null,Q=ie?{...ie,...ae}:null;if(Fa.flushSync(()=>{d(fe=>fe.map(he=>he.id===q?{...he,...ae}:he))}),!Q)return;const ne=Q.timeout??i,V=ie?.timeout??i,W=Object.hasOwn(ae,"timeout"),O=Q.transitionStatus!=="ending"&&Q.type!=="loading"&&ne>0,E=P.current.has(q),$=V!==ne,de=ie?.type==="loading";if(!O&&E){P.current.get(q)?.timeout?.clear(),P.current.delete(q);return}if(O&&(!E||$||W||de)){const fe=P.current.get(q);fe&&(fe.timeout?.clear(),P.current.delete(q)),x(q,ne,()=>Z(q)),(p||g||!N.current)&&D()}}),ue=rn((q,ae)=>{const ie=jd(ae.loading),Q=ee({...ie,type:"loading"}),ne=q.then(V=>{const W=jd(ae.success,V);return Y(Q,{...W,type:"success",timeout:W.timeout}),V}).catch(V=>{const W=jd(ae.error,V);return Y(Q,{...W,type:"error",timeout:W.timeout}),Promise.reject(V)});return{}.hasOwnProperty.call(ae,"setPromise")&&ae.setPromise(ne),ne});k.useEffect(function(){return c?c[" subscribe"](({action:ie,options:Q})=>{const ne=Q.id;ie==="promise"&&Q.promise?ue(Q.promise,Q):ie==="update"&&ne?Y(ne,Q):ie==="close"&&ne?Z(ne):ee(Q)}):void 0},[ee,Y,x,i,c,ue,Z]);const se=k.useMemo(()=>({toasts:u,setToasts:d,hovering:p,setHovering:f,focused:g,setFocused:v,expanded:w,add:ee,close:Z,remove:oe,update:Y,promise:ue,pauseTimers:D,resumeTimers:B,prevFocusElement:y,setPrevFocusElement:_,viewportRef:S,scheduleTimer:x,windowFocusedRef:N}),[ee,Z,g,p,w,D,y,ue,oe,B,x,u,Y]);return L.jsx(Df.Provider,{value:se,children:a})},a_={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},i_={...a_,position:"fixed",top:0,left:0},RI={...a_,position:"absolute"},kD=()=>{},cs=typeof document<"u"?k.useLayoutEffect:kD,Vo=k.forwardRef(function(t,a){const[i,s]=k.useState();cs(()=>{Y4&&s("button")},[]);const c={tabIndex:0,role:i};return L.jsx("span",{...t,ref:a,style:i_,"aria-hidden":i?void 0:!0,...c,"data-base-ui-focus-guard":""})}),bD=k.createContext(void 0);function Py(e,t,a,i){const s=ss(o_).current;return wD(s,e,t,a,i)&&s_(s,[e,t,a,i]),s.callback}function _D(e){const t=ss(o_).current;return xD(t,e)&&s_(t,e),t.callback}function o_(){return{callback:null,cleanup:null,refs:[]}}function wD(e,t,a,i,s){return e.refs[0]!==t||e.refs[1]!==a||e.refs[2]!==i||e.refs[3]!==s}function xD(e,t){return e.refs.length!==t.length||e.refs.some((a,i)=>a!==t[i])}function s_(e,t){if(e.refs=t,t.every(a=>a==null)){e.callback=null;return}e.callback=a=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),a!=null){const i=Array(t.length).fill(null);for(let s=0;s<t.length;s+=1){const c=t[s];if(c!=null)switch(typeof c){case"function":{const u=c(a);typeof u=="function"&&(i[s]=u);break}case"object":{c.current=a;break}}}e.cleanup=()=>{for(let s=0;s<t.length;s+=1){const c=t[s];if(c!=null)switch(typeof c){case"function":{const u=i[s];typeof u=="function"?u():c(null);break}case"object":{c.current=null;break}}}}}}}const PD=parseInt(k.version,10);function l_(e){return PD>=e}function Sy(e){if(!k.isValidElement(e))return null;const t=e,a=t.props;return(l_(19)?a?.ref:t.ref)??null}function kh(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function SD(e,t){const a={};for(const i in e){const s=e[i];if(t?.hasOwnProperty(i)){const c=t[i](s);c!=null&&Object.assign(a,c);continue}s===!0?a[`data-${i.toLowerCase()}`]="":s&&(a[`data-${i.toLowerCase()}`]=s.toString())}return a}function CD(e,t){return typeof e=="function"?e(t):e}function TD(e,t){return typeof e=="function"?e(t):e}const Fo={};function c_(e,t,a,i,s){let c={...bh(e,Fo)};return t&&(c=Do(c,t)),a&&(c=Do(c,a)),i&&(c=Do(c,i)),s&&(c=Do(c,s)),c}function ED(e){if(e.length===0)return Fo;if(e.length===1)return bh(e[0],Fo);let t={...bh(e[0],Fo)};for(let a=1;a<e.length;a+=1)t=Do(t,e[a]);return t}function Do(e,t){return u_(t)?t(e):RD(e,t)}function RD(e,t){if(!t)return e;for(const a in t){const i=t[a];switch(a){case"style":{e[a]=kh(e.style,i);break}case"className":{e[a]=d_(e.className,i);break}default:DD(a,i)?e[a]=ID(e[a],i):e[a]=i}}return e}function DD(e,t){const a=e.charCodeAt(0),i=e.charCodeAt(1),s=e.charCodeAt(2);return a===111&&i===110&&s>=65&&s<=90&&(typeof t=="function"||typeof t>"u")}function u_(e){return typeof e=="function"}function bh(e,t){return u_(e)?e(t):e??Fo}function ID(e,t){return t?e?a=>{if(AD(a)){const s=a;_h(s);const c=t(s);return s.baseUIHandlerPrevented||e?.(s),c}const i=t(a);return e?.(a),i}:t:e}function _h(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function d_(e,t){return t?e?t+" "+e:t:e}function AD(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}function DI(){}const II=Object.freeze([]),Jr=Object.freeze({}),AI=500,MI={style:{transition:"none"}},LI="data-base-ui-click-trigger",NI={fallbackAxisSide:"none"},jI={fallbackAxisSide:"end"},MD={clipPath:"inset(50%)",position:"fixed",top:0,left:0};function us(e,t,a={}){const i=t.render,s=LD(t,a);if(a.enabled===!1)return null;const c=a.state??Jr;return ND(e,i,s,c)}function LD(e,t={}){const{className:a,style:i,render:s}=e,{state:c=Jr,ref:u,props:d,stateAttributesMapping:p,enabled:f=!0}=t,g=f?CD(a,c):void 0,v=f?TD(i,c):void 0,y=f?SD(c,p):Jr,_=f?kh(y,Array.isArray(d)?ED(d):d)??Jr:Jr;return typeof document<"u"&&(f?Array.isArray(u)?_.ref=_D([_.ref,Sy(s),...u]):_.ref=Py(_.ref,Sy(s),u):Py(null,null)),f?(g!==void 0&&(_.className=d_(_.className,g)),v!==void 0&&(_.style=kh(_.style,v)),_):Jr}function ND(e,t,a,i){if(t){if(typeof t=="function")return t(a,i);const s=c_(a,t.props);return s.ref=a.ref,k.cloneElement(t,s)}if(e&&typeof e=="string")return jD(e,a);throw new Error(ls(8))}function jD(e,t){return e==="button"?k.createElement("button",{type:"button",...t,key:t.key}):e==="img"?k.createElement("img",{alt:"",...t,key:t.key}):k.createElement(e,t)}let OD=(function(e){return e.frontmostHeight="--toast-frontmost-height",e})({});const zD=k.forwardRef(function(t,a){const{render:i,className:s,children:c,...u}=t,{toasts:d,pauseTimers:p,resumeTimers:f,setHovering:g,setFocused:v,viewportRef:y,windowFocusedRef:_,prevFocusElement:w,setPrevFocusElement:P,expanded:S,focused:N}=If(),j=k.useRef(!1),I=k.useRef(!1),D=d.length,B=d[0]?.height??0,Z=k.useMemo(()=>d.some(V=>V.transitionStatus==="ending"),[d]);k.useEffect(()=>{if(!y.current)return;function V(O){D!==0&&O.key==="F6"&&O.target!==y.current&&(O.preventDefault(),P(Zo(Ci(y.current))),y.current?.focus({preventScroll:!0}),p(),v(!0))}const W=aa(y.current);return W.addEventListener("keydown",V),()=>{W.removeEventListener("keydown",V)}},[p,v,P,D,y]),k.useEffect(()=>{if(!y.current||!D)return;const V=aa(y.current);function W(E){E.target===V&&(_.current=!1,p())}function O(E){if(E.relatedTarget||E.target===V)return;const $=mh(E),de=Zo(Ci(y.current));(!za(y.current,$)||!gh(de))&&f(),setTimeout(()=>{_.current=!0})}return V.addEventListener("blur",W,!0),V.addEventListener("focus",O,!0),()=>{V.removeEventListener("blur",W,!0),V.removeEventListener("focus",O,!0)}},[p,f,y,_,v,D]),k.useEffect(()=>{const V=y.current;if(!V||D===0)return;const W=Ci(V);function O(E){if(E.pointerType!=="touch")return;const $=mh(E);za(V,$)||(f(),g(!1),v(!1))}return W.addEventListener("pointerdown",O,!0),()=>{W.removeEventListener("pointerdown",O,!0)}},[D,f,v,g,y]);function oe(V){y.current&&(j.current=!0,V.relatedTarget===y.current?d[0]?.ref?.current?.focus():w?.focus({preventScroll:!0}))}function x(V){V.key==="Tab"&&V.shiftKey&&V.target===y.current&&(V.preventDefault(),w?.focus({preventScroll:!0}),f())}k.useEffect(()=>{!_.current||Z||!I.current||(f(),g(!1),I.current=!1)},[Z,f,g,_]);function ee(){p(),g(!0),I.current=!1}function Y(){d.some(V=>V.transitionStatus==="ending")?I.current=!0:(f(),g(!1))}function ue(){if(j.current){j.current=!1;return}N||gh(Ci(y.current).activeElement)&&(v(!0),p())}function se(V){!N||za(y.current,V.relatedTarget)||(v(!1),f())}const q={tabIndex:-1,role:"region","aria-live":"polite","aria-atomic":!1,"aria-relevant":"additions text","aria-label":"Notifications",onMouseEnter:ee,onMouseMove:ee,onMouseLeave:Y,onFocus:ue,onBlur:se,onKeyDown:x,onClick:ue},ae=k.useMemo(()=>({expanded:S}),[S]),ie=us("div",t,{ref:[a,y],state:ae,props:[q,{style:{[OD.frontmostHeight]:B?`${B}px`:void 0}},u,{children:L.jsxs(k.Fragment,{children:[D>0&&w&&L.jsx(Vo,{onFocus:oe}),c,D>0&&w&&L.jsx(Vo,{onFocus:oe})]})}]}),Q=k.useMemo(()=>({viewportRef:y}),[y]),ne=k.useMemo(()=>d.filter(V=>V.priority==="high"),[d]);return L.jsxs(bD.Provider,{value:Q,children:[D>0&&w&&L.jsx(Vo,{onFocus:oe}),ie,!N&&ne.length>0&&L.jsx("div",{style:i_,children:ne.map(V=>L.jsxs("div",{role:"alert","aria-atomic":!0,children:[L.jsx("div",{children:V.title}),L.jsx("div",{children:V.description})]},V.id))})]})});function VD(e){return l_(19)?e:e?"true":void 0}const h_=k.createContext(void 0);function wh(){const e=k.useContext(h_);if(!e)throw new Error(ls(66));return e}let Af=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({});const FD={[Af.startingStyle]:""},UD={[Af.endingStyle]:""},BD={transitionStatus(e){return e==="starting"?FD:e==="ending"?UD:null}},Tl=null;class HD{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=t=>{this.isScheduled=!1;const a=this.callbacks,i=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,i>0)for(let s=0;s<a.length;s+=1)a[s]?.(t)};request(t){const a=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),a}cancel(t){const a=t-this.startId;a<0||a>=this.callbacks.length||(this.callbacks[a]=null,this.callbacksCount-=1)}}const El=new HD;class Mf{static create(){return new Mf}static request(t){return El.request(t)}static cancel(t){return El.cancel(t)}currentId=Tl;request(t){this.cancel(),this.currentId=El.request(()=>{this.currentId=Tl,t()})}cancel=()=>{this.currentId!==Tl&&(El.cancel(this.currentId),this.currentId=Tl)};disposeEffect=()=>this.cancel}function WD(){const e=ss(Mf.create).current;return Kb(e.disposeEffect),e}function $D(e){return e==null?e:"current"in e?e.current:e}function GD(e,t=!1,a=!0){const i=WD();return rn((s,c=null)=>{i.cancel();function u(){Fa.flushSync(s)}const d=$D(e);if(d==null)return;const p=d;if(typeof p.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED)s();else{let f=function(){const v=Af.startingStyle;if(!p.hasAttribute(v)){i.request(g);return}const y=new MutationObserver(()=>{p.hasAttribute(v)||(y.disconnect(),g())});y.observe(p,{attributes:!0,attributeFilter:[v]}),c?.addEventListener("abort",()=>y.disconnect(),{once:!0})},g=function(){Promise.all(p.getAnimations().map(v=>v.finished)).then(()=>{c?.aborted||u()}).catch(()=>{const v=p.getAnimations();if(a){if(c?.aborted)return;u()}else v.length>0&&v.some(y=>y.pending||y.playState!=="finished")&&g()})};if(t){f();return}i.request(g)}})}function KD(e){const{enabled:t=!0,open:a,ref:i,onComplete:s}=e,c=rn(s),u=GD(i,a,!1);k.useEffect(()=>{if(!t)return;const d=new AbortController;return u(c,d.signal),()=>{d.abort()}},[t,a,c,u])}let Da=(function(e){return e.index="--toast-index",e.offsetY="--toast-offset-y",e.height="--toast-height",e.swipeMovementX="--toast-swipe-movement-x",e.swipeMovementY="--toast-swipe-movement-y",e})({});const YD={...BD,swipeDirection(e){return e?{"data-swipe-direction":e}:null}},Co=40,XD=10,Xr=.5,ZD=1;function Cy(e,t,a){switch(e){case"up":return-a;case"down":return a;case"left":return-t;case"right":return t;default:return 0}}function qD(e){const a=window.getComputedStyle(e).transform;let i=0,s=0,c=1;if(a&&a!=="none"){const u=a.match(/matrix(?:3d)?\(([^)]+)\)/);if(u){const d=u[1].split(", ").map(parseFloat);d.length===6?(i=d[4],s=d[5],c=Math.sqrt(d[0]*d[0]+d[1]*d[1])):d.length===16&&(i=d[12],s=d[13],c=d[0])}}return{x:i,y:s,scale:c}}const QD=k.forwardRef(function(t,a){const{toast:i,render:s,className:c,swipeDirection:u=["down","right"],...d}=t,p=i.positionerProps?.anchor!==void 0;let f=[];p||(f=Array.isArray(u)?u:[u]);const g=f.length>0,{toasts:v,focused:y,close:_,remove:w,setToasts:P,pauseTimers:S,expanded:N,setHovering:j}=If(),[I,D]=k.useState(void 0),[B,Z]=k.useState(!1),[oe,x]=k.useState(!1),[ee,Y]=k.useState(!1),[ue,se]=k.useState({x:0,y:0}),[q,ae]=k.useState({x:0,y:0,scale:1}),[ie,Q]=k.useState(),[ne,V]=k.useState(),[W,O]=k.useState(null),E=k.useRef(null),$=k.useRef({x:0,y:0}),de=k.useRef({x:0,y:0,scale:1}),fe=k.useRef(void 0),he=k.useRef(0),pe=k.useRef(!1),De=k.useRef({x:0,y:0}),je=k.useRef(!1),Ce=k.useMemo(()=>v.indexOf(i),[i,v]),ut=k.useMemo(()=>v.filter(Le=>Le.transitionStatus!=="ending").indexOf(i),[i,v]),an=k.useMemo(()=>v.slice(0,v.indexOf(i)).reduce((Le,Ae)=>Le+(Ae.height||0),0),[v,i]);KD({open:i.transitionStatus!=="ending",ref:E,onComplete(){i.transitionStatus==="ending"&&w(i.id)}});const Xt=rn((Le=!1)=>{const Ae=E.current;if(!Ae)return;const Ze=Ae.style.height;Ae.style.height="auto";const ot=Ae.offsetHeight;Ae.style.height=Ze;function mt(){P(Je=>Je.map(Ke=>Ke.id===i.id?{...Ke,ref:E,height:ot,transitionStatus:void 0}:Ke))}Le?Fa.flushSync(mt):mt()});cs(Xt,[Xt]);function qe(Le,Ae){let Ze=Le,ot=Ae;return!f.includes("left")&&!f.includes("right")?Ze=Le>0?Le**Xr:-(Math.abs(Le)**Xr):(!f.includes("right")&&Le>0&&(Ze=Le**Xr),!f.includes("left")&&Le<0&&(Ze=-(Math.abs(Le)**Xr))),!f.includes("up")&&!f.includes("down")?ot=Ae>0?Ae**Xr:-(Math.abs(Ae)**Xr):(!f.includes("down")&&Ae>0&&(ot=Ae**Xr),!f.includes("up")&&Ae<0&&(ot=-(Math.abs(Ae)**Xr))),{x:Ze,y:ot}}function Et(Le){if(Le.button!==0)return;Le.pointerType==="touch"&&S();const Ae=mh(Le.nativeEvent);if(!(Ae&&Ae.closest('button,a,input,textarea,[role="button"],[data-swipe-ignore]'))){if(pe.current=!1,fe.current=void 0,he.current=0,$.current={x:Le.clientX,y:Le.clientY},De.current=$.current,E.current){const ot=qD(E.current);de.current=ot,ae(ot),se({x:ot.x,y:ot.y})}j(!0),Z(!0),x(!1),O(null),je.current=!0,E.current?.setPointerCapture(Le.pointerId)}}function ua(Le){if(!B)return;Le.preventDefault(),je.current&&($.current={x:Le.clientX,y:Le.clientY},je.current=!1);const{clientY:Ae,clientX:Ze,movementX:ot,movementY:mt}=Le;(mt<0&&Ae>De.current.y||mt>0&&Ae<De.current.y)&&(De.current={x:De.current.x,y:Ae}),(ot<0&&Ze>De.current.x||ot>0&&Ze<De.current.x)&&(De.current={x:Ze,y:De.current.y});const Je=Ze-$.current.x,Ke=Ae-$.current.y,or=Ae-De.current.y,ji=Ze-De.current.x;if(!oe&&Math.sqrt(Je*Je+Ke*Ke)>=ZD&&(x(!0),W===null)){const Rn=f.includes("left")||f.includes("right"),ha=f.includes("up")||f.includes("down");if(Rn&&ha){const wr=Math.abs(Je),sn=Math.abs(Ke);O(wr>sn?"horizontal":"vertical")}}let Pt;if(!fe.current)W==="vertical"?Ke>0?Pt="down":Ke<0&&(Pt="up"):W==="horizontal"?Je>0?Pt="right":Je<0&&(Pt="left"):Math.abs(Je)>=Math.abs(Ke)?Pt=Je>0?"right":"left":Pt=Ke>0?"down":"up",Pt&&f.includes(Pt)&&(fe.current=Pt,he.current=Cy(Pt,Je,Ke),D(Pt));else{const Gn=fe.current,Rn=Cy(Gn,ji,or);Rn>Co?(pe.current=!1,D(Gn)):!(f.includes("left")&&f.includes("right"))&&!(f.includes("up")&&f.includes("down"))&&he.current-Rn>=XD&&(pe.current=!0)}const sr=qe(Je,Ke);let Ht=de.current.x,$n=de.current.y;W==="horizontal"?(f.includes("left")||f.includes("right"))&&(Ht+=sr.x):(W==="vertical"||(f.includes("left")||f.includes("right"))&&(Ht+=sr.x),(f.includes("up")||f.includes("down"))&&($n+=sr.y)),se({x:Ht,y:$n})}function Ha(Le){if(!B)return;if(Z(!1),x(!1),O(null),E.current?.releasePointerCapture(Le.pointerId),pe.current){se({x:q.x,y:q.y}),D(void 0);return}let Ae=!1;const Ze=ue.x-q.x,ot=ue.y-q.y;let mt;for(const Je of f){switch(Je){case"right":Ze>Co&&(Ae=!0,mt="right");break;case"left":Ze<-Co&&(Ae=!0,mt="left");break;case"down":ot>Co&&(Ae=!0,mt="down");break;case"up":ot<-Co&&(Ae=!0,mt="up");break}if(Ae)break}Ae?(D(mt),Y(!0),_(i.id)):(se({x:q.x,y:q.y}),D(void 0))}function on(Le){if(Le.key==="Escape"){if(!E.current||!za(E.current,Zo(Ci(E.current))))return;_(i.id)}}k.useEffect(()=>{if(!g)return;const Le=E.current;if(!Le)return;function Ae(Ze){za(Le,Ze.target)&&Ze.preventDefault()}return Le.addEventListener("touchmove",Ae,{passive:!1}),()=>{Le.removeEventListener("touchmove",Ae)}},[g]);function Wa(){if(!B&&ue.x===q.x&&ue.y===q.y&&!ee)return{[Da.swipeMovementX]:"0px",[Da.swipeMovementY]:"0px"};const Le=ue.x-q.x,Ae=ue.y-q.y;return{transition:B?"none":void 0,transform:B?`translateX(${ue.x}px) translateY(${ue.y}px) scale(${q.scale})`:void 0,[Da.swipeMovementX]:`${Le}px`,[Da.swipeMovementY]:`${Ae}px`}}const _r=i.priority==="high",Wn={role:_r?"alertdialog":"dialog",tabIndex:0,"aria-modal":!1,"aria-labelledby":ie,"aria-describedby":ne,"aria-hidden":_r&&!y?!0:void 0,onPointerDown:g?Et:void 0,onPointerMove:g?ua:void 0,onPointerUp:g?Ha:void 0,onKeyDown:on,inert:VD(i.limited),style:{...Wa(),[Da.index]:i.transitionStatus==="ending"?Ce:ut,[Da.offsetY]:`${an}px`,[Da.height]:i.height?`${i.height}px`:void 0}},Bt=k.useMemo(()=>({rootRef:E,toast:i,titleId:ie,setTitleId:Q,descriptionId:ne,setDescriptionId:V,swiping:B,swipeDirection:I,recalculateHeight:Xt,index:Ce,visibleIndex:ut,expanded:N}),[i,ie,ne,B,I,Xt,Ce,ut,N]),da=k.useMemo(()=>({transitionStatus:i.transitionStatus,expanded:N,limited:i.limited||!1,type:i.type,swiping:Bt.swiping,swipeDirection:Bt.swipeDirection}),[N,i.transitionStatus,i.limited,i.type,Bt.swiping,Bt.swipeDirection]),$a=us("div",t,{ref:[a,Bt.rootRef],state:da,stateAttributesMapping:YD,props:[Wn,d]});return L.jsx(h_.Provider,{value:Bt,children:$a})}),JD={...Ch};let Ty=0;function e5(e,t="mui"){const[a,i]=k.useState(e),s=e||a;return k.useEffect(()=>{a==null&&(Ty+=1,i(`${t}-${Ty}`))},[a,t]),s}const Ey=JD.useId;function f_(e,t){if(Ey!==void 0){const a=Ey();return e??(t?`${t}-${a}`:a)}return e5(e,t)}const t5=k.forwardRef(function(t,a){const{render:i,className:s,id:c,children:u,...d}=t,{toast:p}=wh(),f=u??p.title,g=!!f,v=f_(c),{setTitleId:y}=wh();cs(()=>{if(g)return y(v),()=>{y(void 0)}},[g,v,y]);const _=k.useMemo(()=>({type:p.type}),[p.type]),w=us("h2",t,{ref:a,state:_,props:{...d,id:v,children:f}});return g?w:null}),n5=k.createContext(void 0);function r5(e=!1){const t=k.useContext(n5);if(t===void 0&&!e)throw new Error(ls(16));return t}function a5(e){const{focusableWhenDisabled:t,disabled:a,composite:i=!1,tabIndex:s=0,isNativeButton:c}=e,u=i&&t!==!1,d=i&&t===!1;return{props:k.useMemo(()=>{const f={onKeyDown(g){a&&t&&g.key!=="Tab"&&g.preventDefault()}};return i||(f.tabIndex=s,!c&&a&&(f.tabIndex=t?s:-1)),(c&&(t||u)||!c&&a)&&(f["aria-disabled"]=a),c&&(!t||d)&&(f.disabled=a),f},[i,a,t,u,d,c,s])}}function i5(e={}){const{disabled:t=!1,focusableWhenDisabled:a,tabIndex:i=0,native:s=!0}=e,c=k.useRef(null),u=r5(!0)!==void 0,d=rn(()=>{const y=c.current;return!!(y?.tagName==="A"&&y?.href)}),{props:p}=a5({focusableWhenDisabled:a,disabled:t,composite:u,tabIndex:i,isNativeButton:s}),f=k.useCallback(()=>{const y=c.current;o5(y)&&u&&t&&p.disabled===void 0&&y.disabled&&(y.disabled=!1)},[t,p.disabled,u]);cs(f,[f]);const g=k.useCallback((y={})=>{const{onClick:_,onMouseDown:w,onKeyUp:P,onKeyDown:S,onPointerDown:N,...j}=y;return c_({type:s?"button":void 0,onClick(D){if(t){D.preventDefault();return}_?.(D)},onMouseDown(D){t||w?.(D)},onKeyDown(D){if(t||(_h(D),S?.(D)),D.baseUIHandlerPrevented)return;const B=D.target===D.currentTarget&&!s&&!d()&&!t,Z=D.key==="Enter",oe=D.key===" ";B&&((oe||Z)&&D.preventDefault(),Z&&_?.(D))},onKeyUp(D){t||(_h(D),P?.(D)),!D.baseUIHandlerPrevented&&D.target===D.currentTarget&&!s&&!t&&D.key===" "&&_?.(D)},onPointerDown(D){if(t){D.preventDefault();return}N?.(D)}},s?void 0:{role:"button"},p,j)},[t,p,s,d]),v=rn(y=>{c.current=y,f()});return{getButtonProps:g,buttonRef:v}}function o5(e){return kc(e)&&e.tagName==="BUTTON"}const s5=k.forwardRef(function(t,a){const{render:i,className:s,disabled:c,nativeButton:u=!0,...d}=t,{close:p,expanded:f}=If(),{toast:g}=wh(),[v,y]=k.useState(!1),{getButtonProps:_,buttonRef:w}=i5({disabled:c,native:u}),P=k.useMemo(()=>({type:g.type}),[g.type]);return us("button",t,{ref:[a,w],state:P,props:[{"aria-hidden":!f&&!v,onClick(){p(g.id)},onFocus(){y(!0)},onBlur(){y(!1)}},d,_]})}),OI="none",zI="trigger-press",VI="trigger-hover",FI="outside-press",UI="item-press",BI="close-press",l5="focus-out",HI="escape-key",WI="list-navigation",$I="cancel-open",GI="imperative-action",KI="window-resize";function c5(e,t,a,i){let s=!1,c=!1;const u=Jr;return{reason:e,event:t??new Event("base-ui"),cancel(){s=!0},allowPropagation(){c=!0},get isCanceled(){return s},get isPropagationAllowed(){return c},trigger:a,...u}}function u5(e){return`data-base-ui-${e}`}const p_=k.createContext(null),d5=()=>k.useContext(p_),h5=u5("portal");function m_(e={}){const{ref:t,container:a,componentProps:i=Jr,elementProps:s,elementState:c}=e,u=f_(),p=d5()?.portalNode,[f,g]=k.useState(null),[v,y]=k.useState(null),_=rn(N=>{N!==null&&y(N)}),w=k.useRef(null);cs(()=>{if(a===null){w.current&&(w.current=null,y(null),g(null));return}if(u==null)return;const N=(a&&(Tf(a)?a:a.current))??p??document.body;if(N==null){w.current&&(w.current=null,y(null),g(null));return}w.current!==N&&(w.current=N,y(null),g(N))},[a,p,u]);const P=us("div",i,{ref:[t,_],state:c,props:[{id:u,[h5]:""},s]});return{portalNode:v,portalSubtree:f&&P?Fa.createPortal(P,f):null}}const YI=k.forwardRef(function(t,a){const{children:i,container:s,className:c,render:u,renderGuards:d,...p}=t,{portalNode:f,portalSubtree:g}=m_({container:s,ref:a,componentProps:t,elementProps:p}),v=k.useRef(null),y=k.useRef(null),_=k.useRef(null),w=k.useRef(null),[P,S]=k.useState(null),N=P?.modal,j=P?.open,I=typeof d=="boolean"?d:!!P&&!P.modal&&P.open&&!!f;k.useEffect(()=>{if(!f||N)return;function B(Z){f&&Z.relatedTarget&&Nd(Z)&&(Z.type==="focusin"?xy:vD)(f)}return f.addEventListener("focusin",B,!0),f.addEventListener("focusout",B,!0),()=>{f.removeEventListener("focusin",B,!0),f.removeEventListener("focusout",B,!0)}},[f,N]),k.useEffect(()=>{!f||j||xy(f)},[j,f]);const D=k.useMemo(()=>({beforeOutsideRef:v,afterOutsideRef:y,beforeInsideRef:_,afterInsideRef:w,portalNode:f,setFocusManagerState:S}),[f]);return L.jsxs(k.Fragment,{children:[g,L.jsxs(p_.Provider,{value:D,children:[I&&f&&L.jsx(Vo,{"data-type":"outside",ref:v,onFocus:B=>{if(Nd(B,f))_.current?.focus();else{const Z=P?P.domReference:null;gD(Z)?.focus()}}}),I&&f&&L.jsx("span",{"aria-owns":f.id,style:MD}),f&&Fa.createPortal(i,f),I&&f&&L.jsx(Vo,{"data-type":"outside",ref:y,onFocus:B=>{if(Nd(B,f))w.current?.focus();else{const Z=P?P.domReference:null;mD(Z)?.focus(),P?.closeOnFocusOut&&P?.onOpenChange(!1,c5(l5,B.nativeEvent))}}})]})]})}),f5=k.forwardRef(function(t,a){const{children:i,container:s,className:c,render:u,...d}=t,{portalNode:p,portalSubtree:f}=m_({container:s,ref:a,componentProps:t,elementProps:d});return!f&&!p?null:L.jsxs(k.Fragment,{children:[f,p&&Fa.createPortal(i,p)]})}),p5=f5;function m5(){const e=k.useContext(Df);if(!e)throw new Error(ls(73));const{toasts:t,add:a,close:i,update:s,promise:c}=e;return k.useMemo(()=>({toasts:t,add:a,close:i,update:s,promise:c}),[t,a,i,s,c])}function g5(){const e=[];function t(a){e.forEach(i=>i(a))}return{" subscribe":function(i){return e.push(i),()=>{const s=e.indexOf(i);s!==-1&&e.splice(s,1)}},add(a){const i=a.id||Gb("toast"),s={...a,id:i,transitionStatus:"starting"};return t({action:"add",options:s}),i},close(a){t({action:"close",options:{id:a}})},update(a,i){t({action:"update",options:{...i,id:a}})},promise(a,i){let s=a;return t({action:"promise",options:{...i,promise:a,setPromise(c){s=c}}}),s}}}const Lf=g5();function XI(e){return Lf.add(e)}function v5({children:e}){return L.jsxs(yD,{toastManager:Lf,children:[e,L.jsx(p5,{children:L.jsx(zD,{className:"fixed inset-x-0 top-6 z-[100] mx-auto flex w-full max-w-sm flex-col items-center gap-2 px-4 outline-none",children:L.jsx(y5,{})})})]})}function y5(){const{toasts:e}=m5();return e.map(t=>{const a=t.data?.onUndo;return L.jsxs(QD,{toast:t,className:Tn("pointer-events-auto flex w-full items-center gap-3 rounded-xl border border-oai-gray-200 bg-oai-white px-4 py-3 shadow-xl transition-all duration-200 ease-out","data-[starting-style]:-translate-y-3 data-[starting-style]:opacity-0","data-[ending-style]:-translate-y-3 data-[ending-style]:opacity-0","dark:border-oai-gray-800 dark:bg-oai-gray-900"),children:[L.jsx(t5,{className:"min-w-0 flex-1 text-sm font-medium text-oai-black dark:text-white"}),a?L.jsx("button",{type:"button",onClick:()=>{a(),Lf.close(t.id)},className:"shrink-0 rounded-md px-2 py-1 text-xs font-semibold text-oai-gray-600 transition-colors hover:bg-oai-gray-100 hover:text-oai-black focus:outline-none focus:ring-2 focus:ring-oai-gray-400/30 dark:text-oai-gray-300 dark:hover:bg-oai-gray-800 dark:hover:text-white",children:He("shared.action.undo")}):null,L.jsx(s5,{"aria-label":He("shared.action.dismiss"),className:"-mr-1 inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-oai-gray-400 transition-colors hover:bg-oai-gray-100 hover:text-oai-black focus:outline-none focus:ring-2 focus:ring-oai-gray-400/30 dark:hover:bg-oai-gray-800 dark:hover:text-white",children:L.jsx(Lk,{className:"h-3.5 w-3.5","aria-hidden":!0})})]},t.id)})}const g_=Object.freeze(["limits"]),k5=Object.freeze({limits:"/limits"}),b5=Object.freeze({limits:()=>oa(()=>import("./LimitsPage-LkZGPYvg.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]))}),_5=Object.freeze(["dashboard-existing","silent-preload","page-load","manual-refresh"]);let Ry=0,ia;class w5{constructor(){this.limits=null}read(t,a){return ds(t),!this.limits||this.limits.contextKey!==a?null:xh(this.limits)}write(t){this.limits=t}snapshot(){return{limits:xh(this.limits)}}}class x5{constructor(){Ry+=1,this.sessionId=`dashboard-preload-${Ry}`,this.createdAt=Date.now(),this.completedAt=null,this.startedAfterMainContentVisible=!1,this.cache=new w5,this.targets={limits:P5("limits")}}}function P5(e){return{key:e,route:k5[e],resourceStatus:"idle",stateStatus:"idle",error:null,resourcePromise:null,resourceModule:null,resourceRequestId:0,statePromise:null,stateRequestId:0,pendingStateContextKey:null}}function S5(){return new x5}ia=S5();function ds(e){if(!g_.includes(e))throw new Error(`Unknown dashboard preload target: ${e}`)}function v_(e){return e?typeof e=="string"?e:e.message||String(e):null}function C5(e,t){return _5.includes(e)?e:t}function T5(e){const t=Number(e);return Number.isFinite(t)?t:Date.now()}function xh(e){return e?{...e}:null}function Dy(){const e=g_.every(t=>{const a=ia.targets[t];return a.resourceStatus==="fulfilled"||a.resourceStatus==="rejected"});ia.completedAt=e?Date.now():null}function E5(){ia.startedAfterMainContentVisible=!0}function y_(e,t={}){ds(e);const a=Object.entries(t).filter(([,i])=>i!==void 0).sort(([i],[s])=>i.localeCompare(s)).map(([i,s])=>`${i}=${s===null?"null":String(s)}`);return`${e}:${a.join("|")}`}function R5(e,t={}){ds(e);const a=ia.targets[e];if(a.resourceStatus==="fulfilled")return Promise.resolve(a.resourceModule);if(a.resourceStatus==="pending"&&a.resourcePromise)return a.resourcePromise;const i=t.loader||b5[e],s=a.resourceRequestId+1;a.resourceRequestId=s,a.resourceStatus="pending",a.error=null;const c=Promise.resolve().then(()=>i()).then(u=>a.resourceRequestId!==s||a.resourcePromise!==c?null:(a.resourceStatus="fulfilled",a.resourceModule=u,a.error=null,Dy(),u)).catch(u=>(a.resourceRequestId!==s||a.resourcePromise!==c||(a.resourceStatus="rejected",a.error=v_(u),Dy()),null));return a.resourcePromise=c,c}function D5(e,t){ds(e);const a=ia.targets[e],i=t?.status,s={targetKey:e,status:i,data:t?.data??null,error:v_(t?.error),source:C5(t?.source,"silent-preload"),generatedAt:T5(t?.generatedAt),updatedAt:Date.now(),contextKey:t?.contextKey||y_(e,t?.context||{})};return a.stateStatus=i,i==="rejected"||i==="skipped"?a.error=s.error:i==="fulfilled"&&(a.error=null,ia.cache.write(s)),xh(s)}function I5(e,t){return ds(e),ia.cache.read(e,t)}function ZI(e,t={}){return D5("limits",{data:e,source:t.source||"dashboard-existing",contextKey:t.contextKey||k_(t.context||{}),generatedAt:t.generatedAt,status:t.status||"fulfilled",error:t.error})}function k_(e={}){return y_("limits",{state:"current",...e})}function qI(e=k_()){return I5("limits",e)}const A5=k.lazy(()=>oa(()=>import("./DashboardPage-DYKHv0m3.js"),__vite__mapDeps([10,2,3,1,11,12,13,5,14,6])).then(e=>({default:e.DashboardPage}))),M5=k.lazy(()=>oa(()=>import("./IpCheckPage-BGALK8Vy.js"),[])),L5=k.lazy(()=>oa(()=>import("./LimitsPage-LkZGPYvg.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.LimitsPage}))),N5=k.lazy(()=>oa(()=>import("./WrappedPage-C-_jLXXU.js"),__vite__mapDeps([15,3]))),j5=k.lazy(()=>oa(()=>import("./SettingsPage-Dxzqpi02.js"),__vite__mapDeps([16,4,11,14,13,17,5,9])).then(e=>({default:e.SettingsPage}))),O5=k.lazy(()=>oa(()=>import("./SkillsPage-Bo7e39AB.js"),__vite__mapDeps([18,7,8,9,2,3,5,12,13,11])).then(e=>({default:e.SkillsPage}))),z5=k.lazy(()=>oa(()=>import("./WidgetsPage-HHcIr_Eq.js"),__vite__mapDeps([19,14,13,17,5,6,8,9])).then(e=>({default:e.WidgetsPage})));function V5(){const{resolvedLocale:e}=Nk(),t=Hn(),a=k.useRef(!1),i=k.useRef(!1);k.useMemo(()=>typeof window>"u"?!1:lC(window.location.search),[]);const s=t?.pathname||"/",c=sC(),u=s.replace(/\/+$/,"")||"/",d=u==="/"||u==="/dashboard",p=u==="/limits",f=u==="/settings",g=u==="/skills",v=u==="/widgets",y=u==="/ip-check",_=u==="/wrapped",w=k.useCallback(()=>{d&&(a.current||(a.current=!0,E5()),i.current||(i.current=!0,R5("limits")))},[d]);let P=A5;p?P=L5:f?P=j5:g?P=O5:v?P=z5:y&&(P=M5);const S=u==="/dashboard"||u==="/"||p||f||g||v||y;let N=null;if(_)N=L.jsx(N5,{});else{const j=L.jsx(P,{baseUrl:c,onMainContentVisible:w},e);N=S?L.jsx(h2,{children:j}):j}return L.jsx(rC,{children:L.jsx(oC,{children:L.jsxs(v5,{children:[L.jsx(k.Suspense,{fallback:null,children:N}),S?L.jsx(j4,{}):null]})})})}const F5=vP([{path:"*",element:L.jsx(V5,{})}]);l1.createRoot(document.getElementById("root")).render(L.jsx(Sh.StrictMode,{children:L.jsx(aS,{children:L.jsx(gS,{children:L.jsx(RP,{router:F5})})})}));export{Un as $,rR as A,nC as B,Wo as C,Nk as D,lC as E,ZI as F,qI as G,M4 as H,Xh as I,Ql as J,Mk as K,dc as L,xf as M,Ak as N,BS as O,I4 as P,G5 as Q,Sh as R,qS as S,Ei as T,Wl as U,gk as V,vk as W,Lk as X,yk as Y,mk as Z,KS as _,At as a,W5 as a$,Lo as a0,$5 as a1,H5 as a2,ls as a3,rn as a4,cs as a5,DI as a6,Py as a7,c_ as a8,Jr as a9,u5 as aA,J4 as aB,VI as aC,bc as aD,mh as aE,za as aF,PI as aG,Xo as aH,YI as aI,VD as aJ,GI as aK,zI as aL,HI as aM,AI as aN,l5 as aO,Kb as aP,LI as aQ,Vo as aR,EI as aS,Nd as aT,TI as aU,mD as aV,jI as aW,GD as aX,kc as aY,mS as aZ,$h as a_,RI as aa,i_ as ab,OI as ac,KD as ad,BD as ae,L4 as af,Z5 as ag,Y5 as ah,iI as ai,oI as aj,sI as ak,XS as al,X5 as am,q5 as an,XI as ao,Q5 as ap,nI as aq,J5 as ar,eI as as,tI as at,aI as au,rI as av,f_ as aw,ss as ax,Ub as ay,dI as az,e0 as b,Hh as b0,B5 as b1,pI as b2,X4 as b3,kI as b4,bI as b5,vI as b6,yI as b7,Cf as b8,xI as b9,_I as bA,Ph as bB,l_ as bC,Mf as bD,_y as bE,mI as bF,gI as bG,WI as bH,II as bI,Ci as bJ,Af as bK,fI as bL,hI as bM,$I as bN,NI as bO,MI as bP,KI as bQ,UI as bR,d5 as ba,WD as bb,Ef as bc,Rf as bd,$D as be,Zo as bf,FI as bg,gD as bh,CI as bi,aa as bj,SI as bk,Wb as bl,eD as bm,yy as bn,O4 as bo,H4 as bp,B4 as bq,z4 as br,ph as bs,Hb as bt,lI as bu,U4 as bv,cI as bw,Bb as bx,uI as by,wI as bz,Mt as c,ra as d,mv as e,Qe as f,i5 as g,us as h,l3 as i,L as j,c5 as k,BI as l,Di as m,d4 as n,vy as o,He as p,JC as q,k as r,Fa as s,ud as t,Zh as u,U5 as v,DS as w,Tn as x,ES as y,wk as z};
|