tokentracker-cli 0.79.0 → 0.79.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.de.md +6 -2
  2. package/README.ja.md +6 -2
  3. package/README.ko.md +6 -2
  4. package/README.md +6 -2
  5. package/README.zh-CN.md +6 -2
  6. package/dashboard/dist/achievements/README.md +40 -7
  7. package/dashboard/dist/achievements/big-day.png +0 -0
  8. package/dashboard/dist/achievements/marathoner.png +0 -0
  9. package/dashboard/dist/achievements/momentum.png +0 -0
  10. package/dashboard/dist/achievements/multitool.png +0 -0
  11. package/dashboard/dist/achievements/night-owl.png +0 -0
  12. package/dashboard/dist/achievements/podium.png +0 -0
  13. package/dashboard/dist/achievements/polyglot.png +0 -0
  14. package/dashboard/dist/achievements/project-devotion.png +0 -0
  15. package/dashboard/dist/achievements/project-hopper.png +0 -0
  16. package/dashboard/dist/achievements/streak.png +0 -0
  17. package/dashboard/dist/achievements/token-titan.png +0 -0
  18. package/dashboard/dist/achievements/trendsetter.png +0 -0
  19. package/dashboard/dist/achievements/veteran.png +0 -0
  20. package/dashboard/dist/achievements/weekend-warrior.png +0 -0
  21. package/dashboard/dist/achievements/wordsmith.png +0 -0
  22. package/dashboard/dist/assets/AchievementBadge-DcDkcyk4.js +1 -0
  23. package/dashboard/dist/assets/AchievementsPage-CV3Bwdzf.js +2 -0
  24. package/dashboard/dist/assets/AchievementsSection-Cj13lk07.js +1 -0
  25. package/dashboard/dist/assets/{ActivityHeatmap-B2NacPjc.js → ActivityHeatmap-BCBaXKEP.js} +1 -1
  26. package/dashboard/dist/assets/{BadgeDetailModal-BMNUpuro.js → BadgeDetailModal-DCOLG1fl.js} +1 -1
  27. package/dashboard/dist/assets/{Card-Y5og8UqF.js → Card-DT8qXml-.js} +1 -1
  28. package/dashboard/dist/assets/{ClawdAnimated-4EGVuTbr.js → ClawdAnimated-BzsZjNGN.js} +1 -1
  29. package/dashboard/dist/assets/{CommunityStatsModal-DgQ5Cv9h.js → CommunityStatsModal-Byx0RRzc.js} +1 -1
  30. package/dashboard/dist/assets/{ConfirmModal-DNDMMsf7.js → ConfirmModal-oyMOnK7G.js} +1 -1
  31. package/dashboard/dist/assets/{Controls-BzQP6AmV.js → Controls-PMRhKPF-.js} +1 -1
  32. package/dashboard/dist/assets/DashboardPage-1aUdHjJF.js +19 -0
  33. package/dashboard/dist/assets/{DevicePage-Hc411Mif.js → DevicePage-CGLIyRA8.js} +1 -1
  34. package/dashboard/dist/assets/{DialogClose-DG2e5iky.js → DialogClose-zLe-zrd-.js} +1 -1
  35. package/dashboard/dist/assets/DialogDescription-DT5tiXAh.js +1 -0
  36. package/dashboard/dist/assets/{DialogTitle-BlZXQboq.js → DialogTitle-hGgP0eky.js} +1 -1
  37. package/dashboard/dist/assets/{FadeIn-bR4Q4FyK.js → FadeIn-DeoGuCrV.js} +1 -1
  38. package/dashboard/dist/assets/{HeaderGithubStar-iujOMm58.js → HeaderGithubStar-CSZ0XQLV.js} +1 -1
  39. package/dashboard/dist/assets/{IpCheckPage-BVb5O-Nc.js → IpCheckPage-CJlsBtiO.js} +1 -1
  40. package/dashboard/dist/assets/{LandingPage-B5JCSXIZ.js → LandingPage-CK-aWD2Y.js} +1 -1
  41. package/dashboard/dist/assets/{LeaderboardAvatar-C5o48_SY.js → LeaderboardAvatar-hrfyPkYI.js} +1 -1
  42. package/dashboard/dist/assets/LeaderboardPage-CsMfaxrd.js +2 -0
  43. package/dashboard/dist/assets/{LeaderboardProfileModal-Buo6oZZk.js → LeaderboardProfileModal-C7mhM6ih.js} +4 -4
  44. package/dashboard/dist/assets/{LeaderboardProfilePage-DljcZHf7.js → LeaderboardProfilePage-CXyrCZiT.js} +1 -1
  45. package/dashboard/dist/assets/{LimitsPage-BOaJ4wfo.js → LimitsPage-Ck_M1OHJ.js} +1 -1
  46. package/dashboard/dist/assets/{LocalOnlyNotice-BBxetUgv.js → LocalOnlyNotice-BzI7RWAf.js} +1 -1
  47. package/dashboard/dist/assets/{LoginPage-LYriDN1G.js → LoginPage-BUm6w7Np.js} +1 -1
  48. package/dashboard/dist/assets/{PetPage-CPPVItLo.js → PetPage-DtAyFM55.js} +1 -1
  49. package/dashboard/dist/assets/{PopoverPopup-iP8jGLgj.js → PopoverPopup-BlkcABOL.js} +1 -1
  50. package/dashboard/dist/assets/{ResetPasswordPage-BqAwHe1w.js → ResetPasswordPage-CBSVeUPI.js} +1 -1
  51. package/dashboard/dist/assets/{Select-DdpTxWI0.js → Select-BJhSVz1k.js} +1 -1
  52. package/dashboard/dist/assets/{SelectItemText-Cpno_HPs.js → SelectItemText-B9zmI-iv.js} +1 -1
  53. package/dashboard/dist/assets/{SettingsPage-DtKCHKrt.js → SettingsPage-DviHKn3P.js} +1 -1
  54. package/dashboard/dist/assets/{SkillsPage-D5vXnEab.js → SkillsPage-B79FutnV.js} +1 -1
  55. package/dashboard/dist/assets/{WidgetsPage-BIPU747m.js → WidgetsPage-AwJIXxE9.js} +1 -1
  56. package/dashboard/dist/assets/{WrappedPage-VfTcO6cY.js → WrappedPage-CTJB07D4.js} +1 -1
  57. package/dashboard/dist/assets/{agent-logos-sYidWnQM.js → agent-logos-BPUbc3yd.js} +1 -1
  58. package/dashboard/dist/assets/{arrow-up-right-Dt35aRs9.js → arrow-up-right-CZZ-UM4M.js} +1 -1
  59. package/dashboard/dist/assets/check-DZawOdAk.js +1 -0
  60. package/dashboard/dist/assets/{copy-BdlX1Dcz.js → copy-BGaQZ7P5.js} +1 -1
  61. package/dashboard/dist/assets/{download-C4750cH0.js → download-BKHLHuIT.js} +1 -1
  62. package/dashboard/dist/assets/{flame-cYIuY1Z6.js → flame-sZg_y2Ct.js} +1 -1
  63. package/dashboard/dist/assets/{format-tokens-Ci6ia4_b.js → format-tokens-Ck8WH-5G.js} +1 -1
  64. package/dashboard/dist/assets/{info-Hy8GSxzK.js → info-wPFCesi6.js} +1 -1
  65. package/dashboard/dist/assets/{link-2-CHfhV9M_.js → link-2-u9AJ19mI.js} +1 -1
  66. package/dashboard/dist/assets/{loader-circle-OYZpObE-.js → loader-circle-B_RhUksQ.js} +1 -1
  67. package/dashboard/dist/assets/main-KK0yAXww.css +1 -0
  68. package/dashboard/dist/assets/{main--YQ6HWXP.js → main-rco_Tu2D.js} +23 -17
  69. package/dashboard/dist/assets/{trash-2-DFV8X7qB.js → trash-2-BWfZEWVm.js} +1 -1
  70. package/dashboard/dist/assets/{use-community-stats-BzlENlsN.js → use-community-stats-C_l8jtn9.js} +1 -1
  71. package/dashboard/dist/assets/{use-limits-display-prefs-Bgxvo849.js → use-limits-display-prefs-CDMXqVgA.js} +1 -1
  72. package/dashboard/dist/assets/{use-native-settings-Cz5XgWcy.js → use-native-settings-Bgi3a5uc.js} +1 -1
  73. package/dashboard/dist/assets/{use-ordered-list-N591-3J4.js → use-ordered-list-DbLNv_Fs.js} +1 -1
  74. package/dashboard/dist/assets/{use-quality-per-dollar-pref-CW332Qtp.js → use-quality-per-dollar-pref-ByfXALmd.js} +1 -1
  75. package/dashboard/dist/assets/{use-transform-BNrGbsUe.js → use-transform-h2Jds0kA.js} +1 -1
  76. package/dashboard/dist/assets/{use-usage-limits-BL1n1H9j.js → use-usage-limits-Dg7aMrVT.js} +1 -1
  77. package/dashboard/dist/assets/{useCurrency-B5QegAgS.js → useCurrency-x0Nv5rZP.js} +1 -1
  78. package/dashboard/dist/assets/{useScrollLock-CcorrDyq.js → useScrollLock-DGfYuwgo.js} +1 -1
  79. package/dashboard/dist/assets/{zap-C_DbBJ3s.js → zap-BQ6Eilqi.js} +1 -1
  80. package/dashboard/dist/index.html +2 -2
  81. package/dashboard/dist/share.html +2 -2
  82. package/package.json +1 -1
  83. package/src/commands/init.js +9 -4
  84. package/src/lib/pricing/seed-snapshot.json +1 -1
  85. package/src/lib/rollout.js +386 -35
  86. package/dashboard/dist/assets/AchievementBadge-BxETKM1a.js +0 -1
  87. package/dashboard/dist/assets/AchievementsPage-BnsI7sbt.js +0 -2
  88. package/dashboard/dist/assets/AchievementsSection-BjKtfATU.js +0 -1
  89. package/dashboard/dist/assets/DashboardPage-C5nQV_pg.js +0 -19
  90. package/dashboard/dist/assets/DialogDescription-CD7W4GGZ.js +0 -1
  91. package/dashboard/dist/assets/LeaderboardPage-CNOPBahO.js +0 -2
  92. package/dashboard/dist/assets/check-B2kgoEGi.js +0 -1
  93. package/dashboard/dist/assets/main-BY13exWE.css +0 -1
@@ -1 +1 @@
1
- import{r as o,j as w}from"./main--YQ6HWXP.js";function v(e){const n=String(e||"").trim().toLowerCase();return/^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$/.test(n)?n:"clawd"}const A=.84;function C(e){return v(e)==="clawd"?A:1}const L={idle:{row:0,durations:[280,110,110,140,140,320]},"running-right":{row:1,durations:[120,120,120,120,120,120,120,220]},"running-left":{row:2,durations:[120,120,120,120,120,120,120,220]},waving:{row:3,durations:[140,140,140,280]},jumping:{row:4,durations:[140,140,140,140,280]},failed:{row:5,durations:[140,140,140,140,140,140,140,240]},waiting:{row:6,durations:[150,150,150,150,150,260]},running:{row:7,durations:[120,120,120,120,120,220]},review:{row:8,durations:[150,150,150,150,150,280]}};function z(e){return["error","disconnected","working-overheated"].includes(e)?"failed":["happy","waking","mini-happy","jumping"].includes(e)?"jumping":["working-typing","working-ultrathink","working-juggling","running"].includes(e)?"running":["working-thinking","working-wizard","review"].includes(e)?"review":["sleeping","idle-doze","mini-sleep","waiting"].includes(e)?"waiting":["mini-peek","waving"].includes(e)?"waving":e==="running-left"||e==="running-right"?e:"idle"}function T(){const[e,n]=o.useState(()=>typeof document>"u"?!0:document.visibilityState!=="hidden");return o.useEffect(()=>{if(typeof document>"u")return;const t=()=>n(document.visibilityState!=="hidden");return document.addEventListener("visibilitychange",t),()=>document.removeEventListener("visibilitychange",t)},[]),e}function V(){const[e,n]=o.useState(()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches);return o.useEffect(()=>{if(typeof window.matchMedia!="function")return;const t=window.matchMedia("(prefers-reduced-motion: reduce)"),i=s=>n(s.matches);return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[]),e}function _({character:e,pet:n=null,state:t="idle-living",size:i=48,className:s="",lookDirectionIndex:a=null}){const c=v(e),l=z(t),u=L[l],d=n?.spriteVersionNumber===2?2:1,r=d===2?11:9,g=d===2&&l==="idle"&&Number.isInteger(a)?(a%16+16)%16:null,p=g==null?u.row:9+Math.floor(g/8),h=g==null?null:g%8,m=V(),k=T(),[y,b]=o.useState(0);o.useEffect(()=>{if(b(0),m||!k||g!=null)return;let S=!1,M=0;const x=E=>{M=window.setTimeout(()=>{if(S)return;const $=(E+1)%u.durations.length;b($),x($)},u.durations[E])};return x(0),()=>{S=!0,window.clearTimeout(M)}},[g,m,k,u]);const R=o.useMemo(()=>({width:i*(192/208),height:i,backgroundImage:`url(${n?.assetUrl||`/pets/${c}/spritesheet.webp`})`,backgroundRepeat:"no-repeat",backgroundSize:`800% ${r*100}%`,backgroundPosition:`${(h??y)/7*100}% ${p/(r-1)*100}%`,imageRendering:"pixelated"}),[r,h,p,y,c,n?.assetUrl,i]);return w.jsx("div",{"aria-hidden":"true",className:`pet-atlas-animated ${s}`,style:R})}const j={"idle-living":"idle/living.svg","idle-doze":"idle/doze.svg","idle-follow":"idle/follow.svg","idle-look":"idle/look.svg","idle-yawn":"idle/yawn.svg","idle-collapse":"idle/collapse.svg","working-building":"working/building.svg","working-carrying":"working/carrying.svg","working-conducting":"working/conducting.svg","working-confused":"working/confused.svg","working-debugger":"working/debugger.svg","working-juggling":"working/juggling.svg","working-overheated":"working/overheated.svg","working-pushing":"working/pushing.svg","working-sweeping":"working/sweeping.svg","working-thinking":"working/thinking.svg","working-typing":"working/typing.svg","working-ultrathink":"working/ultrathink.svg","working-wizard":"working/wizard.svg","mini-alert":"mini/alert.svg","mini-crabwalk":"mini/crabwalk.svg","mini-enter":"mini/enter.svg","mini-enter-sleep":"mini/enter-sleep.svg","mini-happy":"mini/happy.svg","mini-idle":"mini/idle.svg","mini-peek":"mini/peek.svg","mini-sleep":"mini/sleep.svg","react-double":"react/double.svg","react-drag":"react/drag.svg","react-left":"react/left.svg","react-right":"react/right.svg","collapse-sleep":"sleep/collapse-sleep.svg",sleeping:"sleep/sleeping.svg",wake:"sleep/wake.svg",disconnected:"status/disconnected.svg",error:"status/error.svg",notification:"status/notification.svg",happy:"happy.svg","static-base":"static-base.svg"},f=new Map;async function I(e){if(f.has(e))return f.get(e);if(typeof fetch!="function")return null;let n;try{n=await fetch(`/clawd/${e}`)}catch{return null}if(!n.ok)return null;const i=(await n.text()).replace(/<svg([^>]*)>/,(s,a)=>`<svg${a.replace(/\s+width="[^"]*"/g,"").replace(/\s+height="[^"]*"/g,"")} width="100%" height="100%">`);return f.set(e,i),i}function P({state:e="idle-living",size:n=48,className:t=""}){const[i,s]=o.useState(""),a=o.useRef(null),l=H()?"static-base":e,u=j[l]||j["static-base"];return o.useEffect(()=>{let d=!1;return I(u).then(r=>{!d&&r&&s(r)}),()=>{d=!0}},[u]),o.useEffect(()=>{const d=a.current?.querySelector("svg");if(d)try{const r=d.getBBox();r.width>0&&r.height>0&&d.setAttribute("viewBox",`${r.x-2} ${r.y-2} ${r.width+4} ${r.height+4}`)}catch{}},[i]),w.jsx("div",{ref:a,"aria-hidden":"true",className:`clawd-animated ${t}`,style:{width:n,height:n,display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},dangerouslySetInnerHTML:{__html:i}})}function q({state:e="idle-living",size:n=48,className:t="",character:i="clawd",pet:s=null,lookDirectionIndex:a=null}){const c=v(i);return c!=="clawd"?w.jsx(_,{character:c,pet:s,state:e,size:n,className:t,lookDirectionIndex:a}):w.jsx(P,{state:e,size:n*C(c),className:t})}function H(){const[e,n]=o.useState(()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches);return o.useEffect(()=>{if(typeof window.matchMedia!="function")return;const t=window.matchMedia("(prefers-reduced-motion: reduce)"),i=s=>n(s.matches);return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[]),e}export{q as C,v as n};
1
+ import{r as o,j as w}from"./main-rco_Tu2D.js";function v(e){const n=String(e||"").trim().toLowerCase();return/^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$/.test(n)?n:"clawd"}const A=.84;function C(e){return v(e)==="clawd"?A:1}const L={idle:{row:0,durations:[280,110,110,140,140,320]},"running-right":{row:1,durations:[120,120,120,120,120,120,120,220]},"running-left":{row:2,durations:[120,120,120,120,120,120,120,220]},waving:{row:3,durations:[140,140,140,280]},jumping:{row:4,durations:[140,140,140,140,280]},failed:{row:5,durations:[140,140,140,140,140,140,140,240]},waiting:{row:6,durations:[150,150,150,150,150,260]},running:{row:7,durations:[120,120,120,120,120,220]},review:{row:8,durations:[150,150,150,150,150,280]}};function z(e){return["error","disconnected","working-overheated"].includes(e)?"failed":["happy","waking","mini-happy","jumping"].includes(e)?"jumping":["working-typing","working-ultrathink","working-juggling","running"].includes(e)?"running":["working-thinking","working-wizard","review"].includes(e)?"review":["sleeping","idle-doze","mini-sleep","waiting"].includes(e)?"waiting":["mini-peek","waving"].includes(e)?"waving":e==="running-left"||e==="running-right"?e:"idle"}function T(){const[e,n]=o.useState(()=>typeof document>"u"?!0:document.visibilityState!=="hidden");return o.useEffect(()=>{if(typeof document>"u")return;const t=()=>n(document.visibilityState!=="hidden");return document.addEventListener("visibilitychange",t),()=>document.removeEventListener("visibilitychange",t)},[]),e}function V(){const[e,n]=o.useState(()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches);return o.useEffect(()=>{if(typeof window.matchMedia!="function")return;const t=window.matchMedia("(prefers-reduced-motion: reduce)"),i=s=>n(s.matches);return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[]),e}function _({character:e,pet:n=null,state:t="idle-living",size:i=48,className:s="",lookDirectionIndex:a=null}){const c=v(e),l=z(t),u=L[l],d=n?.spriteVersionNumber===2?2:1,r=d===2?11:9,g=d===2&&l==="idle"&&Number.isInteger(a)?(a%16+16)%16:null,p=g==null?u.row:9+Math.floor(g/8),h=g==null?null:g%8,m=V(),k=T(),[y,b]=o.useState(0);o.useEffect(()=>{if(b(0),m||!k||g!=null)return;let S=!1,M=0;const x=E=>{M=window.setTimeout(()=>{if(S)return;const $=(E+1)%u.durations.length;b($),x($)},u.durations[E])};return x(0),()=>{S=!0,window.clearTimeout(M)}},[g,m,k,u]);const R=o.useMemo(()=>({width:i*(192/208),height:i,backgroundImage:`url(${n?.assetUrl||`/pets/${c}/spritesheet.webp`})`,backgroundRepeat:"no-repeat",backgroundSize:`800% ${r*100}%`,backgroundPosition:`${(h??y)/7*100}% ${p/(r-1)*100}%`,imageRendering:"pixelated"}),[r,h,p,y,c,n?.assetUrl,i]);return w.jsx("div",{"aria-hidden":"true",className:`pet-atlas-animated ${s}`,style:R})}const j={"idle-living":"idle/living.svg","idle-doze":"idle/doze.svg","idle-follow":"idle/follow.svg","idle-look":"idle/look.svg","idle-yawn":"idle/yawn.svg","idle-collapse":"idle/collapse.svg","working-building":"working/building.svg","working-carrying":"working/carrying.svg","working-conducting":"working/conducting.svg","working-confused":"working/confused.svg","working-debugger":"working/debugger.svg","working-juggling":"working/juggling.svg","working-overheated":"working/overheated.svg","working-pushing":"working/pushing.svg","working-sweeping":"working/sweeping.svg","working-thinking":"working/thinking.svg","working-typing":"working/typing.svg","working-ultrathink":"working/ultrathink.svg","working-wizard":"working/wizard.svg","mini-alert":"mini/alert.svg","mini-crabwalk":"mini/crabwalk.svg","mini-enter":"mini/enter.svg","mini-enter-sleep":"mini/enter-sleep.svg","mini-happy":"mini/happy.svg","mini-idle":"mini/idle.svg","mini-peek":"mini/peek.svg","mini-sleep":"mini/sleep.svg","react-double":"react/double.svg","react-drag":"react/drag.svg","react-left":"react/left.svg","react-right":"react/right.svg","collapse-sleep":"sleep/collapse-sleep.svg",sleeping:"sleep/sleeping.svg",wake:"sleep/wake.svg",disconnected:"status/disconnected.svg",error:"status/error.svg",notification:"status/notification.svg",happy:"happy.svg","static-base":"static-base.svg"},f=new Map;async function I(e){if(f.has(e))return f.get(e);if(typeof fetch!="function")return null;let n;try{n=await fetch(`/clawd/${e}`)}catch{return null}if(!n.ok)return null;const i=(await n.text()).replace(/<svg([^>]*)>/,(s,a)=>`<svg${a.replace(/\s+width="[^"]*"/g,"").replace(/\s+height="[^"]*"/g,"")} width="100%" height="100%">`);return f.set(e,i),i}function P({state:e="idle-living",size:n=48,className:t=""}){const[i,s]=o.useState(""),a=o.useRef(null),l=H()?"static-base":e,u=j[l]||j["static-base"];return o.useEffect(()=>{let d=!1;return I(u).then(r=>{!d&&r&&s(r)}),()=>{d=!0}},[u]),o.useEffect(()=>{const d=a.current?.querySelector("svg");if(d)try{const r=d.getBBox();r.width>0&&r.height>0&&d.setAttribute("viewBox",`${r.x-2} ${r.y-2} ${r.width+4} ${r.height+4}`)}catch{}},[i]),w.jsx("div",{ref:a,"aria-hidden":"true",className:`clawd-animated ${t}`,style:{width:n,height:n,display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},dangerouslySetInnerHTML:{__html:i}})}function q({state:e="idle-living",size:n=48,className:t="",character:i="clawd",pet:s=null,lookDirectionIndex:a=null}){const c=v(i);return c!=="clawd"?w.jsx(_,{character:c,pet:s,state:e,size:n,className:t,lookDirectionIndex:a}):w.jsx(P,{state:e,size:n*C(c),className:t})}function H(){const[e,n]=o.useState(()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches);return o.useEffect(()=>{if(typeof window.matchMedia!="function")return;const t=window.matchMedia("(prefers-reduced-motion: reduce)"),i=s=>n(s.matches);return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[]),e}export{q as C,v as n};
@@ -1 +1 @@
1
- import{j as a,X as y,E as e,S as b}from"./main--YQ6HWXP.js";import{f as d}from"./format-tokens-Ci6ia4_b.js";import{D as h,a as f,b as v,c as k,d as N,e as j}from"./DialogTitle-BlZXQboq.js";import{D}from"./DialogClose-DG2e5iky.js";import{D as w}from"./DialogDescription-CD7W4GGZ.js";import"./useScrollLock-CcorrDyq.js";const E=1.75,M=[[/claude|fable|opus|sonnet|haiku/,{provider:"CLAUDE",color:"#d97757"}],[/gpt|codex|o3|o4/,{provider:"CODEX",color:"#3b82f6"}],[/gemini/,{provider:"GEMINI",color:"#2196f3"}],[/composer|cursor/,{provider:"CURSOR",color:"#10b981"}],[/kimi/,{provider:"KIMI",color:"#a78bfa"}],[/mimo/,{provider:"MIMO",color:"#ff6900"}],[/copilot/,{provider:"COPILOT",color:"#6366f1"}],[/kiro/,{provider:"KIRO",color:"#6366f1"}],[/grok/,{provider:"GROK",color:"#f43f5e"}],[/deepseek/,{provider:"DEEPSEEK",color:"#4D6BFE"}],[/glm/,{provider:"ZCODE",color:"#14b8a6"}],[/hy3/,{provider:"WORKBUDDY",color:"#0ea5e9"}],[/minimax/,{provider:"MINIMAX",color:"#f59e0b"}]];function S(i){const l=(i||"").toLowerCase(),t=M.find(([o])=>o.test(l));return t?t[1]:{provider:"",color:"#9ca3af"}}function c({label:i,value:l,title:t,className:o=""}){return a.jsxs("div",{className:`flex min-w-0 flex-col gap-1.5 ${o}`,title:t,children:[a.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-oai-gray-400 dark:text-oai-gray-500",children:i}),a.jsx("span",{className:"truncate text-2xl font-semibold leading-none tracking-tight text-oai-black dark:text-white tabular-nums",children:l})]})}function U({isOpen:i,onClose:l,communityStats:t}){if(!t||t.status!=="ready")return null;const o=Number(t.tokenFloor)||0,m=Number(t.totalEntries)||0,x=o/1e6*E,s=Array.isArray(t.topModels)?t.topModels.slice(0,10):[],u=s.reduce((r,n)=>Math.max(r,Number(n.share)||0),0)||1;return a.jsx(h,{open:i,onOpenChange:r=>!r&&l(),children:a.jsxs(f,{children:[a.jsx(v,{className:"fixed inset-0 z-[100] bg-black/40 backdrop-blur-[2px] transition-opacity duration-200 ease-out data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"}),a.jsx(k,{className:"fixed inset-0 z-[101] flex items-center justify-center p-4",children:a.jsxs(N,{className:"relative flex w-full max-w-md flex-col gap-5 max-h-[85vh] overflow-y-auto rounded-2xl bg-white p-6 shadow-2xl ring-1 ring-oai-gray-200 transition-[opacity,transform] duration-[220ms] ease-[cubic-bezier(0.16,1,0.3,1)] data-[ending-style]:translate-y-2 data-[ending-style]:scale-[0.96] data-[ending-style]:opacity-0 data-[starting-style]:translate-y-2 data-[starting-style]:scale-[0.96] data-[starting-style]:opacity-0 dark:bg-oai-gray-900 dark:ring-oai-gray-800",children:[a.jsx(D,{className:"absolute top-4 right-4 p-1.5 rounded-lg text-oai-gray-400 dark:text-oai-gray-500 hover:bg-oai-gray-100 dark:hover:bg-oai-gray-800 hover:text-oai-black dark:hover:text-white transition-colors cursor-pointer","aria-label":e("shared.dialog.close"),children:a.jsx(y,{className:"size-4"})}),a.jsxs("div",{className:"pr-8",children:[a.jsx(j,{className:"text-lg font-bold tracking-tight text-oai-black dark:text-white",children:e("leaderboard.community.modal.title")}),a.jsx(w,{className:"mt-1 text-xs text-oai-gray-400 dark:text-oai-gray-500",children:e("leaderboard.community.modal.description")})]}),a.jsxs("div",{className:"grid grid-cols-3 divide-x divide-oai-gray-100 border-y border-oai-gray-100 py-4 dark:divide-oai-gray-800/80 dark:border-oai-gray-800/80",children:[a.jsx(c,{className:"pr-4",label:e("leaderboard.community.modal.total_tokens"),value:d(o),title:e("leaderboard.community.modal.tokens_title",{count:o.toLocaleString("en-US")})}),a.jsx(c,{className:"px-4",label:e("leaderboard.community.modal.active_devs"),value:m.toLocaleString("en-US"),title:e("leaderboard.community.modal.active_devs_detail",{count:m.toLocaleString("en-US")})}),a.jsx(c,{className:"pl-4",label:e("leaderboard.community.modal.global_spend"),value:`$${d(x)}`,title:e("leaderboard.community.modal.global_spend_detail",{amount:Math.round(x).toLocaleString("en-US")})})]}),s.length>0&&a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-oai-gray-400 dark:text-oai-gray-500",children:e("leaderboard.community.modal.top_models")}),a.jsx("span",{className:"text-[10px] text-oai-gray-400 dark:text-oai-gray-500",children:e("leaderboard.community.modal.all_time")})]}),a.jsx("div",{className:"flex flex-col gap-0.5",children:s.map((r,n)=>{const p=S(r.name),g=Number(r.share)||0;return a.jsxs("div",{className:"relative flex h-9 items-center gap-2.5 overflow-hidden px-2.5",children:[a.jsx("div",{className:"absolute inset-y-0 left-0",style:{width:`${Math.max(g/u*100,2)}%`,backgroundColor:`${p.color}24`},"aria-hidden":"true"}),a.jsx("span",{className:"relative w-4 shrink-0 text-right font-mono text-[11px] text-oai-gray-400 dark:text-oai-gray-500 tabular-nums",children:n+1}),a.jsx(b,{provider:p.provider,size:15,className:"relative shrink-0 text-oai-gray-500 dark:text-oai-gray-400"}),a.jsx("span",{className:"relative min-w-0 flex-1 truncate text-[13px] font-medium text-oai-gray-700 dark:text-oai-gray-200",title:r.name,children:r.name}),a.jsx("span",{className:"relative shrink-0 text-xs font-semibold text-oai-black dark:text-white tabular-nums",title:e("leaderboard.community.modal.tokens_title",{count:Number(r.tokens).toLocaleString("en-US")}),children:d(r.tokens)}),a.jsxs("span",{className:"relative w-11 shrink-0 text-right text-[11px] text-oai-gray-400 dark:text-oai-gray-500 tabular-nums",children:[g,"%"]})]},r.name)})})]}),a.jsx("p",{className:"text-[11px] leading-normal text-oai-gray-400 dark:text-oai-gray-500",children:e("leaderboard.community.modal.note")})]})})]})})}export{U as CommunityStatsModal};
1
+ import{j as a,X as y,E as e,S as b}from"./main-rco_Tu2D.js";import{f as d}from"./format-tokens-Ck8WH-5G.js";import{D as h,a as f,b as v,c as k,d as N,e as j}from"./DialogTitle-hGgP0eky.js";import{D}from"./DialogClose-zLe-zrd-.js";import{D as w}from"./DialogDescription-DT5tiXAh.js";import"./useScrollLock-DGfYuwgo.js";const E=1.75,M=[[/claude|fable|opus|sonnet|haiku/,{provider:"CLAUDE",color:"#d97757"}],[/gpt|codex|o3|o4/,{provider:"CODEX",color:"#3b82f6"}],[/gemini/,{provider:"GEMINI",color:"#2196f3"}],[/composer|cursor/,{provider:"CURSOR",color:"#10b981"}],[/kimi/,{provider:"KIMI",color:"#a78bfa"}],[/mimo/,{provider:"MIMO",color:"#ff6900"}],[/copilot/,{provider:"COPILOT",color:"#6366f1"}],[/kiro/,{provider:"KIRO",color:"#6366f1"}],[/grok/,{provider:"GROK",color:"#f43f5e"}],[/deepseek/,{provider:"DEEPSEEK",color:"#4D6BFE"}],[/glm/,{provider:"ZCODE",color:"#14b8a6"}],[/hy3/,{provider:"WORKBUDDY",color:"#0ea5e9"}],[/minimax/,{provider:"MINIMAX",color:"#f59e0b"}]];function S(i){const l=(i||"").toLowerCase(),t=M.find(([o])=>o.test(l));return t?t[1]:{provider:"",color:"#9ca3af"}}function c({label:i,value:l,title:t,className:o=""}){return a.jsxs("div",{className:`flex min-w-0 flex-col gap-1.5 ${o}`,title:t,children:[a.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-oai-gray-400 dark:text-oai-gray-500",children:i}),a.jsx("span",{className:"truncate text-2xl font-semibold leading-none tracking-tight text-oai-black dark:text-white tabular-nums",children:l})]})}function U({isOpen:i,onClose:l,communityStats:t}){if(!t||t.status!=="ready")return null;const o=Number(t.tokenFloor)||0,m=Number(t.totalEntries)||0,x=o/1e6*E,s=Array.isArray(t.topModels)?t.topModels.slice(0,10):[],u=s.reduce((r,n)=>Math.max(r,Number(n.share)||0),0)||1;return a.jsx(h,{open:i,onOpenChange:r=>!r&&l(),children:a.jsxs(f,{children:[a.jsx(v,{className:"fixed inset-0 z-[100] bg-black/40 backdrop-blur-[2px] transition-opacity duration-200 ease-out data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"}),a.jsx(k,{className:"fixed inset-0 z-[101] flex items-center justify-center p-4",children:a.jsxs(N,{className:"relative flex w-full max-w-md flex-col gap-5 max-h-[85vh] overflow-y-auto rounded-2xl bg-white p-6 shadow-2xl ring-1 ring-oai-gray-200 transition-[opacity,transform] duration-[220ms] ease-[cubic-bezier(0.16,1,0.3,1)] data-[ending-style]:translate-y-2 data-[ending-style]:scale-[0.96] data-[ending-style]:opacity-0 data-[starting-style]:translate-y-2 data-[starting-style]:scale-[0.96] data-[starting-style]:opacity-0 dark:bg-oai-gray-900 dark:ring-oai-gray-800",children:[a.jsx(D,{className:"absolute top-4 right-4 p-1.5 rounded-lg text-oai-gray-400 dark:text-oai-gray-500 hover:bg-oai-gray-100 dark:hover:bg-oai-gray-800 hover:text-oai-black dark:hover:text-white transition-colors cursor-pointer","aria-label":e("shared.dialog.close"),children:a.jsx(y,{className:"size-4"})}),a.jsxs("div",{className:"pr-8",children:[a.jsx(j,{className:"text-lg font-bold tracking-tight text-oai-black dark:text-white",children:e("leaderboard.community.modal.title")}),a.jsx(w,{className:"mt-1 text-xs text-oai-gray-400 dark:text-oai-gray-500",children:e("leaderboard.community.modal.description")})]}),a.jsxs("div",{className:"grid grid-cols-3 divide-x divide-oai-gray-100 border-y border-oai-gray-100 py-4 dark:divide-oai-gray-800/80 dark:border-oai-gray-800/80",children:[a.jsx(c,{className:"pr-4",label:e("leaderboard.community.modal.total_tokens"),value:d(o),title:e("leaderboard.community.modal.tokens_title",{count:o.toLocaleString("en-US")})}),a.jsx(c,{className:"px-4",label:e("leaderboard.community.modal.active_devs"),value:m.toLocaleString("en-US"),title:e("leaderboard.community.modal.active_devs_detail",{count:m.toLocaleString("en-US")})}),a.jsx(c,{className:"pl-4",label:e("leaderboard.community.modal.global_spend"),value:`$${d(x)}`,title:e("leaderboard.community.modal.global_spend_detail",{amount:Math.round(x).toLocaleString("en-US")})})]}),s.length>0&&a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-oai-gray-400 dark:text-oai-gray-500",children:e("leaderboard.community.modal.top_models")}),a.jsx("span",{className:"text-[10px] text-oai-gray-400 dark:text-oai-gray-500",children:e("leaderboard.community.modal.all_time")})]}),a.jsx("div",{className:"flex flex-col gap-0.5",children:s.map((r,n)=>{const p=S(r.name),g=Number(r.share)||0;return a.jsxs("div",{className:"relative flex h-9 items-center gap-2.5 overflow-hidden px-2.5",children:[a.jsx("div",{className:"absolute inset-y-0 left-0",style:{width:`${Math.max(g/u*100,2)}%`,backgroundColor:`${p.color}24`},"aria-hidden":"true"}),a.jsx("span",{className:"relative w-4 shrink-0 text-right font-mono text-[11px] text-oai-gray-400 dark:text-oai-gray-500 tabular-nums",children:n+1}),a.jsx(b,{provider:p.provider,size:15,className:"relative shrink-0 text-oai-gray-500 dark:text-oai-gray-400"}),a.jsx("span",{className:"relative min-w-0 flex-1 truncate text-[13px] font-medium text-oai-gray-700 dark:text-oai-gray-200",title:r.name,children:r.name}),a.jsx("span",{className:"relative shrink-0 text-xs font-semibold text-oai-black dark:text-white tabular-nums",title:e("leaderboard.community.modal.tokens_title",{count:Number(r.tokens).toLocaleString("en-US")}),children:d(r.tokens)}),a.jsxs("span",{className:"relative w-11 shrink-0 text-right text-[11px] text-oai-gray-400 dark:text-oai-gray-500 tabular-nums",children:[g,"%"]})]},r.name)})})]}),a.jsx("p",{className:"text-[11px] leading-normal text-oai-gray-400 dark:text-oai-gray-500",children:e("leaderboard.community.modal.note")})]})})]})})}export{U as CommunityStatsModal};
@@ -1 +1 @@
1
- import{j as a,N as i,P as x}from"./main--YQ6HWXP.js";import{D as p,a as m,b as y,c as b,d as f,e as u}from"./DialogTitle-BlZXQboq.js";import{D as h}from"./DialogDescription-CD7W4GGZ.js";function N({open:r,title:l,description:t,confirmLabel:o,cancelLabel:n,destructive:d=!1,busy:e=!1,onConfirm:c,onCancel:s}){return a.jsx(p,{open:r,onOpenChange:g=>{!g&&!e&&s?.()},children:a.jsxs(m,{children:[a.jsx(y,{className:"fixed inset-0 z-[100] bg-black/40 backdrop-blur-[2px] transition-opacity duration-200 ease-out data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"}),a.jsx(b,{className:"fixed inset-0 z-[101] flex items-center justify-center p-4",children:a.jsxs(f,{className:"relative w-full max-w-md rounded-2xl bg-white p-6 shadow-[0_20px_60px_-20px_rgba(0,0,0,0.25)] ring-1 ring-oai-gray-200 transition-[opacity,transform] duration-[220ms] ease-[cubic-bezier(0.16,1,0.3,1)] data-[ending-style]:translate-y-2 data-[ending-style]:scale-[0.96] data-[ending-style]:opacity-0 data-[starting-style]:translate-y-2 data-[starting-style]:scale-[0.96] data-[starting-style]:opacity-0 dark:bg-oai-gray-950 dark:shadow-[0_20px_60px_-10px_rgba(0,0,0,0.65)] dark:ring-oai-gray-800",children:[a.jsx(u,{className:"text-base font-semibold text-oai-black dark:text-white",children:l}),t?a.jsx(h,{className:"mt-2 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:t}):null,a.jsxs("div",{className:"mt-5 flex justify-end gap-2",children:[a.jsx(i,{type:"button",variant:"secondary",size:"sm",disabled:e,onClick:()=>s?.(),children:n}),a.jsx(i,{type:"button",size:"sm",disabled:e,onClick:()=>c?.(),className:x(d&&"!bg-red-600 hover:!bg-red-700 focus-visible:!outline-red-600 dark:!bg-red-600 dark:hover:!bg-red-500"),children:o})]})]})})]})})}export{N as C};
1
+ import{j as a,N as i,P as x}from"./main-rco_Tu2D.js";import{D as p,a as m,b as y,c as b,d as f,e as u}from"./DialogTitle-hGgP0eky.js";import{D as h}from"./DialogDescription-DT5tiXAh.js";function N({open:r,title:l,description:t,confirmLabel:o,cancelLabel:n,destructive:d=!1,busy:e=!1,onConfirm:c,onCancel:s}){return a.jsx(p,{open:r,onOpenChange:g=>{!g&&!e&&s?.()},children:a.jsxs(m,{children:[a.jsx(y,{className:"fixed inset-0 z-[100] bg-black/40 backdrop-blur-[2px] transition-opacity duration-200 ease-out data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"}),a.jsx(b,{className:"fixed inset-0 z-[101] flex items-center justify-center p-4",children:a.jsxs(f,{className:"relative w-full max-w-md rounded-2xl bg-white p-6 shadow-[0_20px_60px_-20px_rgba(0,0,0,0.25)] ring-1 ring-oai-gray-200 transition-[opacity,transform] duration-[220ms] ease-[cubic-bezier(0.16,1,0.3,1)] data-[ending-style]:translate-y-2 data-[ending-style]:scale-[0.96] data-[ending-style]:opacity-0 data-[starting-style]:translate-y-2 data-[starting-style]:scale-[0.96] data-[starting-style]:opacity-0 dark:bg-oai-gray-950 dark:shadow-[0_20px_60px_-10px_rgba(0,0,0,0.65)] dark:ring-oai-gray-800",children:[a.jsx(u,{className:"text-base font-semibold text-oai-black dark:text-white",children:l}),t?a.jsx(h,{className:"mt-2 text-sm leading-6 text-oai-gray-600 dark:text-oai-gray-300",children:t}):null,a.jsxs("div",{className:"mt-5 flex justify-end gap-2",children:[a.jsx(i,{type:"button",variant:"secondary",size:"sm",disabled:e,onClick:()=>s?.(),children:n}),a.jsx(i,{type:"button",size:"sm",disabled:e,onClick:()=>c?.(),className:x(d&&"!bg-red-600 hover:!bg-red-700 focus-visible:!outline-red-600 dark:!bg-red-600 dark:hover:!bg-red-500"),children:o})]})]})})]})})}export{N as C};
@@ -1 +1 @@
1
- import{j as a,P as n}from"./main--YQ6HWXP.js";import{C as c}from"./Card-Y5og8UqF.js";function g({checked:e,onChange:i,disabled:r,ariaLabel:s}){return a.jsx("button",{type:"button",role:"switch","aria-checked":e,"aria-label":s,onClick:i,disabled:r,className:n("relative inline-flex h-5 w-9 shrink-0 items-center rounded-full transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500 disabled:opacity-50 disabled:cursor-not-allowed",e?"bg-oai-brand-500":"bg-oai-gray-300 dark:bg-oai-gray-700"),children:a.jsx("span",{className:n("inline-block h-3.5 w-3.5 rounded-full bg-white transition-transform",e?"translate-x-[18px]":"translate-x-[3px]")})})}function u({label:e,hint:i,control:r}){return a.jsxs("div",{className:"flex items-center justify-between gap-4 py-3",children:[a.jsxs("div",{className:"min-w-0 flex-1",children:[a.jsx("div",{className:"text-sm text-oai-gray-900 dark:text-oai-gray-200",children:e}),i?a.jsx("div",{className:"mt-0.5 text-xs text-oai-gray-500 dark:text-oai-gray-400",children:i}):null]}),a.jsx("div",{className:"shrink-0",children:r})]})}function b({title:e,subtitle:i,action:r,children:s}){return a.jsxs(c,{children:[a.jsxs("div",{className:"mb-3 flex items-start justify-between gap-4",children:[a.jsxs("div",{className:"min-w-0 flex-1",children:[a.jsx("h2",{className:"text-sm font-medium text-oai-gray-500 dark:text-oai-gray-300 uppercase tracking-wide",children:e}),i?a.jsx("p",{className:"mt-1 truncate text-xs text-oai-gray-500 dark:text-oai-gray-400",children:i}):null]}),r?a.jsx("div",{className:"shrink-0",children:r}):null]}),a.jsx("div",{className:"-mb-3 divide-y divide-oai-gray-200/60 dark:divide-oai-gray-800/60",children:s})]})}function h({options:e,value:i,onChange:r,disabled:s=!1}){return a.jsx("div",{className:"inline-flex items-center rounded-lg border border-oai-gray-200 bg-oai-gray-50 p-0.5 dark:border-oai-gray-800 dark:bg-oai-gray-900",children:e.map(({value:t,label:o,Icon:l})=>{const d=i===t;return a.jsxs("button",{type:"button",onClick:()=>r(t),"aria-pressed":d,disabled:s,className:n("inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50",d?"bg-white text-oai-black shadow-sm dark:bg-oai-gray-800 dark:text-white":"text-oai-gray-500 hover:text-oai-black dark:text-oai-gray-400 dark:hover:text-white"),children:[l?a.jsx(l,{className:"h-3.5 w-3.5","aria-hidden":!0}):null,a.jsx("span",{children:o})]},t)})})}export{b as S,g as T,u as a,h as b};
1
+ import{j as a,P as n}from"./main-rco_Tu2D.js";import{C as c}from"./Card-DT8qXml-.js";function g({checked:e,onChange:i,disabled:r,ariaLabel:s}){return a.jsx("button",{type:"button",role:"switch","aria-checked":e,"aria-label":s,onClick:i,disabled:r,className:n("relative inline-flex h-5 w-9 shrink-0 items-center rounded-full transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-oai-brand-500 disabled:opacity-50 disabled:cursor-not-allowed",e?"bg-oai-brand-500":"bg-oai-gray-300 dark:bg-oai-gray-700"),children:a.jsx("span",{className:n("inline-block h-3.5 w-3.5 rounded-full bg-white transition-transform",e?"translate-x-[18px]":"translate-x-[3px]")})})}function u({label:e,hint:i,control:r}){return a.jsxs("div",{className:"flex items-center justify-between gap-4 py-3",children:[a.jsxs("div",{className:"min-w-0 flex-1",children:[a.jsx("div",{className:"text-sm text-oai-gray-900 dark:text-oai-gray-200",children:e}),i?a.jsx("div",{className:"mt-0.5 text-xs text-oai-gray-500 dark:text-oai-gray-400",children:i}):null]}),a.jsx("div",{className:"shrink-0",children:r})]})}function b({title:e,subtitle:i,action:r,children:s}){return a.jsxs(c,{children:[a.jsxs("div",{className:"mb-3 flex items-start justify-between gap-4",children:[a.jsxs("div",{className:"min-w-0 flex-1",children:[a.jsx("h2",{className:"text-sm font-medium text-oai-gray-500 dark:text-oai-gray-300 uppercase tracking-wide",children:e}),i?a.jsx("p",{className:"mt-1 truncate text-xs text-oai-gray-500 dark:text-oai-gray-400",children:i}):null]}),r?a.jsx("div",{className:"shrink-0",children:r}):null]}),a.jsx("div",{className:"-mb-3 divide-y divide-oai-gray-200/60 dark:divide-oai-gray-800/60",children:s})]})}function h({options:e,value:i,onChange:r,disabled:s=!1}){return a.jsx("div",{className:"inline-flex items-center rounded-lg border border-oai-gray-200 bg-oai-gray-50 p-0.5 dark:border-oai-gray-800 dark:bg-oai-gray-900",children:e.map(({value:t,label:o,Icon:l})=>{const d=i===t;return a.jsxs("button",{type:"button",onClick:()=>r(t),"aria-pressed":d,disabled:s,className:n("inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50",d?"bg-white text-oai-black shadow-sm dark:bg-oai-gray-800 dark:text-white":"text-oai-gray-500 hover:text-oai-black dark:text-oai-gray-400 dark:hover:text-white"),children:[l?a.jsx(l,{className:"h-3.5 w-3.5","aria-hidden":!0}):null,a.jsx("span",{children:o})]},t)})})}export{b as S,g as T,u as a,h as b};