@capagents/forgeqe 3.3.1 → 3.3.3
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/HOW_TO_USE.md +337 -8
- package/dist/docs-site/docs/area-operations/index.html +126 -2
- package/dist/docs-site/docs/area-quality/index.html +159 -3
- package/dist/docs-site/docs/area-setup/index.html +1 -0
- package/dist/docs-site/docs/area-test-cases/index.html +25 -0
- package/dist/docs-site/docs/overview/index.html +2 -2
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/forgeqe.js +2159 -1928
- package/dist/requirement-agent/requirements_agent/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/__main__.py +5 -0
- package/dist/requirement-agent/requirements_agent/agent.py +363 -0
- package/dist/requirement-agent/requirements_agent/chat_session.py +424 -0
- package/dist/requirement-agent/requirements_agent/cli.py +870 -0
- package/dist/requirement-agent/requirements_agent/config.py +403 -0
- package/dist/requirement-agent/requirements_agent/console_ui.py +632 -0
- package/dist/requirement-agent/requirements_agent/context/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/context/aggregate.py +214 -0
- package/dist/requirement-agent/requirements_agent/context/base.py +14 -0
- package/dist/requirement-agent/requirements_agent/context/folder.py +107 -0
- package/dist/requirement-agent/requirements_agent/context/given.py +70 -0
- package/dist/requirement-agent/requirements_agent/context/graph.py +181 -0
- package/dist/requirement-agent/requirements_agent/context/knowledge.py +192 -0
- package/dist/requirement-agent/requirements_agent/context/mcp.py +24 -0
- package/dist/requirement-agent/requirements_agent/context/memory.py +144 -0
- package/dist/requirement-agent/requirements_agent/context/personas.py +214 -0
- package/dist/requirement-agent/requirements_agent/context/rag.py +148 -0
- package/dist/requirement-agent/requirements_agent/context/untrusted.py +56 -0
- package/dist/requirement-agent/requirements_agent/docs/HOW_TO_USE.md +505 -0
- package/dist/requirement-agent/requirements_agent/docs/requirements-agent-architecture.html +348 -0
- package/dist/requirement-agent/requirements_agent/docs_cmd.py +51 -0
- package/dist/requirement-agent/requirements_agent/export/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/export/markdown.py +55 -0
- package/dist/requirement-agent/requirements_agent/export/pdf.py +82 -0
- package/dist/requirement-agent/requirements_agent/export/requirements_json.py +120 -0
- package/dist/requirement-agent/requirements_agent/init_cmd.py +191 -0
- package/dist/requirement-agent/requirements_agent/llm/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/llm/base.py +49 -0
- package/dist/requirement-agent/requirements_agent/llm/copilot.py +171 -0
- package/dist/requirement-agent/requirements_agent/llm/mock.py +144 -0
- package/dist/requirement-agent/requirements_agent/llm/providers.py +277 -0
- package/dist/requirement-agent/requirements_agent/llm/router.py +35 -0
- package/dist/requirement-agent/requirements_agent/models.py +73 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/analyst.md +29 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/architect.md +28 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/bmad-orchestrator.md +26 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/dev.md +27 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/pm.md +27 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/po.md +27 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/qa.md +28 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/sm.md +26 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-analyst.md +8 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-architect.md +11 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-dev.md +11 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-orchestrator.md +9 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-pm.md +9 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-po.md +10 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-qa.md +11 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-sm.md +8 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/data/bmad-kb.md +19 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/data/requirements-standards-baseline.md +188 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/data/technical-preferences.md +54 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/utils/template-format.md +7 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/workflows/greenfield-fullstack.yml +177 -0
- package/dist/requirement-agent/requirements_agent/pipeline/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/pipeline/brd.py +86 -0
- package/dist/requirement-agent/requirements_agent/pipeline/pack.py +233 -0
- package/dist/requirement-agent/requirements_agent/pipeline/progress.py +60 -0
- package/dist/requirement-agent/requirements_agent/pipeline/prompts.py +150 -0
- package/dist/requirement-agent/requirements_agent/pipeline/quality.py +124 -0
- package/dist/requirement-agent/requirements_agent/pipeline/refine.py +386 -0
- package/dist/requirement-agent/requirements_agent/pipeline/sections.py +117 -0
- package/dist/requirement-agent/requirements_agent/pipeline/spec_circuit.py +142 -0
- package/dist/requirement-agent/requirements_agent/shell/__init__.py +7 -0
- package/dist/requirement-agent/requirements_agent/shell/actions.py +208 -0
- package/dist/requirement-agent/requirements_agent/shell/app.py +902 -0
- package/dist/requirement-agent/requirements_agent/shell/commands.py +206 -0
- package/dist/requirement-agent/requirements_agent/shell/progress_pane.py +114 -0
- package/dist/requirement-agent/requirements_agent/shell/ref_picker.py +59 -0
- package/dist/requirement-agent/requirements_agent/shell/refs.py +120 -0
- package/dist/requirement-agent/requirements_agent/shell/session.py +362 -0
- package/dist/requirement-agent/requirements_agent/shell/transcript.py +241 -0
- package/dist/requirement-agent/requirements_agent/shell/usage.py +64 -0
- package/dist/requirement-agent/requirements_agent/shell/usage_llm.py +64 -0
- package/dist/requirement-agent/requirements_agent/shell/worker.py +378 -0
- package/dist/requirement-agent/requirements_agent/tuios_hook.py +182 -0
- package/dist/requirement-agent/requirements_agent/webops.py +627 -0
- package/dist/template.html +67 -67
- package/dist/web/assets/{3d-force-graph-Df2wOlpF.js → 3d-force-graph-KUdc_88B.js} +3 -3
- package/dist/web/assets/Agent-Bd54dLhD.js +10 -0
- package/dist/web/assets/AgentWork-CqMhsFBP.js +2 -0
- package/dist/web/assets/ApiTests-BO_sKAg8.js +15 -0
- package/dist/web/assets/Browse-BjPPdirz.js +1 -0
- package/dist/web/assets/Chat-DO-UvDWX.js +3 -0
- package/dist/web/assets/CommandPalette-BBGtkkz4.js +1 -0
- package/dist/web/assets/Compare-BFuLcrBB.js +1 -0
- package/dist/web/assets/Cost-DbKrBm9m.js +1 -0
- package/dist/web/assets/{Data-Be3ZNkUu.js → Data-B6_6Rm7C.js} +4 -4
- package/dist/web/assets/Desktop-CnBxMp68.js +1 -0
- package/dist/web/assets/DesktopReview-DVITz4Jv.js +2 -0
- package/dist/web/assets/DeviceScreen-BHmTd9Q-.js +1 -0
- package/dist/web/assets/Evidence-BZx9UF1t.js +1 -0
- package/dist/web/assets/{Explore-AtSStzNg.js → Explore-Kkl9koqy.js} +2 -2
- package/dist/web/assets/Features-_WrrIGBz.js +1 -0
- package/dist/web/assets/{Flags-GxmNrnSn.js → Flags-BGqG09qD.js} +2 -2
- package/dist/web/assets/Flaky-B7mr96H8.js +1 -0
- package/dist/web/assets/Impact-DzAtWie1.js +3 -0
- package/dist/web/assets/Jobs-YSmfG7C9.js +5 -0
- package/dist/web/assets/KindPage-UqU2qh63.js +6 -0
- package/dist/web/assets/LiveDevice-jFCQ_zeU.js +1 -0
- package/dist/web/assets/Migration-CfHZeobD.js +8 -0
- package/dist/web/assets/Mobile-DTMPjWeO.js +1 -0
- package/dist/web/assets/Observability-B-9cikxK.js +1 -0
- package/dist/web/assets/OwnItems-BC9M20At.js +5 -0
- package/dist/web/assets/PageAgent-CvV8gwuP.js +1 -0
- package/dist/web/assets/Product-lDXsflpD.js +6 -0
- package/dist/web/assets/Production-BHXWX-ww.js +1 -0
- package/dist/web/assets/Quality-Bsljiu_v.js +1 -0
- package/dist/web/assets/Readiness-BZppEirK.js +1 -0
- package/dist/web/assets/Record-7h0EFEiJ.js +1 -0
- package/dist/web/assets/Regression-DdM66t2E.js +5 -0
- package/dist/web/assets/RelationGraph-CBY9FhUu.js +1 -0
- package/dist/web/assets/Reports-u72R1XBV.js +2 -0
- package/dist/web/assets/Requirements-BAcEi5Fl.js +2 -0
- package/dist/web/assets/Responsive-CCPzSbdd.js +3 -0
- package/dist/web/assets/RunDiff-CGhLqPpP.js +1 -0
- package/dist/web/assets/Settings-DDCiQZ0T.js +21 -0
- package/dist/web/assets/Steps-sfVkdv7g.js +2 -0
- package/dist/web/assets/TestData-B4-xVlvt.js +2 -0
- package/dist/web/assets/TestManagement-BGBKGV1L.js +4 -0
- package/dist/web/assets/WhatsNew-BMTuBbaX.js +1 -0
- package/dist/web/assets/agentSettingsSheet-Cc2W6lyp.js +1 -0
- package/dist/web/assets/api-BsiuHmJq.js +1 -0
- package/dist/web/assets/choice-C4-yW2x9.js +1 -0
- package/dist/web/assets/code-Jek8uWUO.js +1 -0
- package/dist/web/assets/{coverage-DirEXtfZ.js → coverage-pqIlfEP0.js} +1 -1
- package/dist/web/assets/dataParts-CkwgLllh.js +3 -0
- package/dist/web/assets/desktopAppPath-D3mGDKPz.js +1 -0
- package/dist/web/assets/flowTheme-DKuXe5nP.js +7 -0
- package/dist/web/assets/frame-BMpSUo2-.js +13 -0
- package/dist/web/assets/index-6SZomYE0.js +55 -0
- package/dist/web/assets/index-CWqwtFKz.css +2 -0
- package/dist/web/assets/line-icons-CwCZidXs.js +1 -0
- package/dist/web/assets/logos-P2LOMyTK.js +1 -0
- package/dist/web/assets/{markdown-BnrLv6Iw.js → markdown-1wY7hIbM.js} +5 -5
- package/dist/web/assets/nav-B_68FVw_.js +1 -0
- package/dist/web/assets/pageBack-CbyKfisx.js +3 -0
- package/dist/web/assets/palette-6YAAmgkD.js +1 -0
- package/dist/web/assets/{paletteCommands-LXIICD4V.js → paletteCommands-Isq1rLs-.js} +1 -1
- package/dist/web/assets/parts-ClnDV-6r.js +1 -0
- package/dist/web/assets/preload-helper-BupTYkQW.js +1 -0
- package/dist/web/assets/productParts-D18glCBr.js +1 -0
- package/dist/web/assets/qualityParts-1F1Ee4Ay.js +1 -0
- package/dist/web/assets/radio-BLI4Ubhk.js +1 -0
- package/dist/web/assets/react-BDur5s0O.js +1 -0
- package/dist/web/assets/{recordTest-BzKpS4m5.js → recordTest-7uIZiqOW.js} +1 -1
- package/dist/web/assets/route-oDy8sV6H.js +1 -0
- package/dist/web/assets/sectionList-B651VPon.js +1 -0
- package/dist/web/assets/step-mark-CaKf4dAR.js +1 -0
- package/dist/web/assets/stepper-DdgwJtbU.js +1 -0
- package/dist/web/assets/utils-DJRAScIl.js +1 -0
- package/dist/web/assets/wizardParts-C0cNmIK9.js +1 -0
- package/dist/web/index.html +15 -13
- package/docs/user-guide.html +309 -3
- package/evals/prompts/perf-report/limit-broken.yaml +28 -0
- package/evals/prompts/perf-report/regression-other-load.yaml +28 -0
- package/forgeqe.example.yaml +10 -0
- package/package.json +2 -1
- package/prompts/README.md +4 -0
- package/prompts/brain.md +17 -0
- package/prompts/perf-report.md +41 -0
- package/prompts/perf-strategy.md +45 -0
- package/prompts/perf.md +45 -0
- package/prompts/team-builder.md +50 -0
- package/py/forgeqe_engine/cli.py +7 -0
- package/dist/web/assets/Agent-CRfgRnq2.js +0 -8
- package/dist/web/assets/AgentWork-DqiO3LUi.js +0 -2
- package/dist/web/assets/ApiTests-DCAnizu5.js +0 -15
- package/dist/web/assets/Browse-D5VDHN9Z.js +0 -1
- package/dist/web/assets/Chat-CLGQ1ymU.js +0 -3
- package/dist/web/assets/CommandPalette-D3F4iHrP.js +0 -1
- package/dist/web/assets/Compare-B1WN67Ny.js +0 -1
- package/dist/web/assets/Cost-Dk4m3r8z.js +0 -1
- package/dist/web/assets/Desktop-B3GcbaPu.js +0 -1
- package/dist/web/assets/DesktopReview-DfvAL3m8.js +0 -2
- package/dist/web/assets/DeviceScreen-DJqblqBh.js +0 -1
- package/dist/web/assets/Evidence-BsA7vCZG.js +0 -1
- package/dist/web/assets/Features-CDBlFLaJ.js +0 -1
- package/dist/web/assets/Flaky-C062Mh6z.js +0 -1
- package/dist/web/assets/Impact-BeXw3-oL.js +0 -3
- package/dist/web/assets/Jobs-QYWqmdDI.js +0 -5
- package/dist/web/assets/KindPage-C2g51s9c.js +0 -6
- package/dist/web/assets/LiveDevice-C9LRZMhC.js +0 -1
- package/dist/web/assets/Migration-ByUU0Oa_.js +0 -8
- package/dist/web/assets/Mobile-Dd3jL0Cn.js +0 -1
- package/dist/web/assets/Observability-Dx4ZCRDj.js +0 -1
- package/dist/web/assets/PageAgent-DYBOhs2x.js +0 -1
- package/dist/web/assets/Product-Ch1XAeAT.js +0 -12
- package/dist/web/assets/Production-TEdyFmo4.js +0 -1
- package/dist/web/assets/Quality-DH8EdI2u.js +0 -1
- package/dist/web/assets/Readiness-B8S7Ex0C.js +0 -1
- package/dist/web/assets/Record-uFQ-YaHg.js +0 -1
- package/dist/web/assets/Regression-CSDT2AnY.js +0 -5
- package/dist/web/assets/RelationGraph-gc0Xmklt.js +0 -1
- package/dist/web/assets/Reports-CSHhRfWv.js +0 -2
- package/dist/web/assets/Responsive-CEG1hbbQ.js +0 -3
- package/dist/web/assets/RunDiff-CHrMivzC.js +0 -1
- package/dist/web/assets/Settings-B63s0b1g.js +0 -21
- package/dist/web/assets/Steps-BsDjv-pm.js +0 -2
- package/dist/web/assets/TestData-CJoCXihI.js +0 -2
- package/dist/web/assets/TestManagement-Dkb-paWh.js +0 -4
- package/dist/web/assets/WhatsNew-Dtk9mJU4.js +0 -1
- package/dist/web/assets/agentSettingsSheet-BlM8KSpN.js +0 -1
- package/dist/web/assets/api-6pHfHEgB.js +0 -1
- package/dist/web/assets/choice-CiFogD01.js +0 -1
- package/dist/web/assets/code-DzYywAs5.js +0 -1
- package/dist/web/assets/dataParts-Di7PdPHu.js +0 -3
- package/dist/web/assets/desktopAppPath-B8j1-pX0.js +0 -1
- package/dist/web/assets/frame-CNLw552P.js +0 -13
- package/dist/web/assets/index-DLuCgQKX.js +0 -55
- package/dist/web/assets/index-DRcPg81h.css +0 -2
- package/dist/web/assets/line-icons-B-O8oBsY.js +0 -1
- package/dist/web/assets/nav-Ds_6IERv.js +0 -1
- package/dist/web/assets/pageBack-DJxbEPfN.js +0 -3
- package/dist/web/assets/palette-H2g-hemT.js +0 -1
- package/dist/web/assets/parts-DKRLtrjs.js +0 -1
- package/dist/web/assets/preload-helper-BML5SvL4.js +0 -1
- package/dist/web/assets/productParts-imNtw-1N.js +0 -1
- package/dist/web/assets/qualityParts-DJhFlgCm.js +0 -1
- package/dist/web/assets/radio-CbR6ODxQ.js +0 -1
- package/dist/web/assets/route-DjewvmpL.js +0 -1
- package/dist/web/assets/sectionList-0umoKvRv.js +0 -1
- package/dist/web/assets/step-mark-g8Eb6foB.js +0 -1
- package/dist/web/assets/stepper-CzZIC36d.js +0 -1
- /package/dist/web/assets/{Product-DLioOiRN.css → flowTheme-DLioOiRN.css} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-BDur5s0O.js";import{F as n,I as r,f as i,h as a}from"./preload-helper-BupTYkQW.js";import{r as o,t as s}from"./utils-DJRAScIl.js";import{t as c}from"./jsx-runtime-LKYXHABd.js";import{j as l}from"./api-BsiuHmJq.js";import{$n as u,Ar as d,At as f,B as p,Bn as m,Bt as h,C as g,Cn as _,Ct as v,D as y,Dt as ee,Et as te,Fn as b,Fr as ne,Ft as re,G as x,Gt as S,In as C,It as w,J as T,Jn as E,Jt as D,K as O,Kn as k,Kt as A,Lr as j,Lt as M,Mr as N,Nn as P,O as F,Pn as I,Pr as L,Pt as R,Q as ie,Qt as z,Sr as ae,St as B,Tn as V,Tt as H,U,Ut as W,V as oe,Vn as se,W as ce,Wn as le,Wt as ue,Xn as de,Xt as fe,Y as pe,Zn as me,Zt as he,_n as ge,_r as _e,_t as ve,a as ye,b as be,bn as xe,cr as Se,ct as Ce,d as we,dn as Te,dt as Ee,en as De,er as Oe,et as ke,f as Ae,fn as je,ft as Me,g as Ne,gn as Pe,gr as Fe,hn as Ie,in as Le,ir as Re,jr as ze,jt as Be,l as Ve,ln as He,lt as Ue,m as We,mn as Ge,mr as Ke,n as qe,nr as Je,on as Ye,p as Xe,pr as Ze,pt as Qe,q as $e,qn as et,qt as tt,r as nt,rr as rt,rt as it,st as at,t as ot,tn as st,tr as ct,tt as lt,u as ut,ur as dt,v as ft,vr as pt,vt as mt,w as ht,wn as gt,x as _t,xt as vt,y as yt,yn as bt,zt as xt}from"./line-icons-CwCZidXs.js";import{r as St}from"./nav-B_68FVw_.js";var G=c(),Ct={fail:`rounded-base bg-fail-soft px-4 py-2 text-body-sm text-fail [overflow-wrap:anywhere]`,warn:`rounded-base bg-warn-soft px-4 py-2 text-body-sm text-warn [overflow-wrap:anywhere]`,pass:`rounded-base bg-pass-soft px-4 py-2 text-body-sm text-pass [overflow-wrap:anywhere]`,info:`rounded-base bg-accent-soft px-4 py-2 text-body-sm text-ink [overflow-wrap:anywhere]`};function wt({tone:e,as:t=`p`,className:n,children:r,id:i}){return(0,G.jsx)(t,{id:i,role:e===`fail`?`alert`:`status`,className:s(`m-0`,Ct[e],n),children:r})}var K=e(t(),1),Tt=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Et=o,Dt=(e,t)=>n=>{if(t?.variants==null)return Et(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=Tt(t)||Tt(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return Et(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)},Ot=[];for(let e of[2,5,8,11,14])for(let t of[2,5,8,11,14])Math.hypot(t-8,e-8)<=7&&Ot.push([t,e]);function kt({className:e}){let t=`dotm-${(0,K.useId)().replace(/[^\w-]/g,``)}`;return(0,G.jsx)(`span`,{"aria-hidden":`true`,"data-spinner":``,className:s(`inline-flex size-4 flex-none`,e),children:(0,G.jsxs)(`svg`,{viewBox:`0 0 16 16`,className:`size-full`,fill:`currentColor`,children:[(0,G.jsx)(`defs`,{children:(0,G.jsxs)(`clipPath`,{id:t,children:[(0,G.jsx)(`rect`,{className:`dotm-gate-y`,x:`0`,y:`0`,width:`16`,height:`3`}),(0,G.jsx)(`rect`,{className:`dotm-gate-x`,x:`0`,y:`0`,width:`3`,height:`16`})]})}),(0,G.jsx)(`g`,{opacity:`0.25`,children:Ot.map(([e,t])=>(0,G.jsx)(`circle`,{cx:e,cy:t,r:`1.2`},`${e}-${t}`))}),(0,G.jsx)(`g`,{clipPath:`url(#${t})`,children:Ot.map(([e,t])=>(0,G.jsx)(`circle`,{cx:e,cy:t,r:`1.2`},`${e}-${t}`))})]})})}var q=Dt(`inline-flex cursor-pointer items-center justify-center gap-2 whitespace-nowrap font-medium no-underline transition-[background-color,color,opacity,transform] duration-150 disabled:cursor-not-allowed disabled:opacity-50`,{variants:{variant:{outline:`rounded-full border-0 bg-accent-fg/10 text-ink hover:bg-accent-fg/16 hover:text-ink aria-pressed:bg-accent-fg/24 aria-checked:bg-accent-fg/24 [&>svg]:text-icon`,primary:`rounded-full border-0 bg-primary-btn text-primary-btn-ink hover:-translate-y-[0.5px] hover:bg-primary-btn/88 hover:text-primary-btn-ink`,accent:`rounded-full border-0 bg-accent text-accent-ink hover:-translate-y-[0.5px] hover:bg-accent-hover hover:text-accent-ink`,danger:`rounded-full border-0 bg-tint text-fail hover:bg-fail-soft hover:text-fail`,destructive:`rounded-full border-0 bg-fail text-bg hover:opacity-90 hover:text-bg`,ghost:`rounded-full border-0 bg-transparent text-ink hover:bg-tint [&>svg]:text-icon`,icon:`rounded-full border-0 bg-transparent text-ink-2 hover:bg-tint hover:text-ink [&>svg]:text-icon`,link:`border-0 bg-transparent text-accent-fg underline-offset-2 hover:text-accent-fg-hover hover:underline`,field:s(r,`justify-start px-4 font-normal text-muted hover:text-ink [&>svg]:text-icon`)},size:{default:`min-h-10 px-4 text-body-sm [&>svg]:size-4 [&>svg]:flex-none`,lg:`min-h-11 px-6 text-body-sm [&>svg]:size-4 [&>svg]:flex-none`,sm:`min-h-8 px-4 text-body-sm [&>svg]:size-3.5 [&>svg]:flex-none`,icon:`size-10 [&>svg]:size-4`,"icon-sm":`size-8 [&>svg]:size-4`,"icon-xs":`size-7 pointer-coarse:size-9 [&>svg]:size-3.5`,inline:`min-h-0 p-0 text-body-sm [&>svg]:size-3.5 [&>svg]:flex-none`}},defaultVariants:{variant:`outline`,size:`default`}}),At=new Set([`sm`,`inline`,`icon-xs`]);function jt({className:e,variant:t,size:n,type:r=`button`,disabled:i,onClick:a,busy:o,children:c,...l}){if(o)return(0,G.jsxs)(`button`,{type:r,disabled:!0,"aria-busy":`true`,className:s(q({variant:t,size:n}),`disabled:cursor-progress disabled:opacity-80 [&>svg]:hidden`,e),...l,children:[(0,G.jsx)(kt,{className:At.has(n??``)?`size-3.5`:`size-4`}),c]});let u=l[`data-tip`];return i&&r!==`submit`&&typeof u==`string`&&u.trim()?(0,G.jsx)(`button`,{type:r,"aria-disabled":`true`,className:s(q({variant:t,size:n}),`cursor-not-allowed opacity-50`,e),onClick:e=>{e.preventDefault(),e.stopPropagation()},...l,children:c}):(0,G.jsx)(`button`,{type:r,disabled:i,onClick:a,className:s(q({variant:t,size:n}),e),...l,children:c})}var Mt=new Map([[ot,`accessibility`],[qe,`history`],[nt,`web`],[Ve,`branch`],[Ae,`feature`],[Xe,`knowledge-base`],[We,`knowledge-base`],[Ne,`container`],[ft,`architecture`],[yt,`bug`],[be,`speed`],[_t,`history`],[g,`report`],[p,`stories`],[oe,`stories`],[U,`cloud`],[ce,`code`],[x,`code`],[O,`coins`],[$e,`columns`],[pe,`container`],[ie,`server`],[ke,`database`],[lt,`database`],[it,`download`],[at,`visual`],[Ce,`report`],[Ue,`report`],[Ee,`code`],[Me,`code`],[Qe,`file`],[ve,`table`],[mt,`stories`],[vt,`warning`],[B,`flask`],[v,`folder`],[H,`folder`],[te,`folder`],[ee,`folder`],[f,`visual`],[Be,`branch`],[R,`branch`],[re,`web`],[w,`feature`],[M,`wrench`],[xt,`pulse`],[h,`history`],[W,`screenshot`],[ue,`screenshot`],[S,`screenshot`],[A,`inbox`],[tt,`info`],[D,`key`],[fe,`desktop`],[he,`layers`],[z,`board`],[De,`info`],[st,`sparkle`],[Le,`stories`],[Ye,`layers`],[He,`key`],[Te,`mail`],[je,`web`],[Ge,`chat`],[Ie,`stories`],[Pe,`chat`],[ge,`mic`],[bt,`desktop`],[xe,`mobile`],[_,`network`],[gt,`replay`],[V,`palette`],[P,`coins`],[I,`replay`],[b,`plug`],[C,`plug`],[m,`replay`],[se,`rocket`],[le,`route`],[k,`visual`],[et,`scroll`],[de,`mail`],[me,`server`],[u,`feature`],[Oe,`shield`],[ct,`route`],[Je,`mobile`],[rt,`sparkle`],[Re,`sparkle`],[Se,`board`],[dt,`terminal`],[Ze,`table`],[Ke,`mobile`],[Fe,`terminal`],[_e,`ticket`],[pt,`history`],[ae,`warning`],[d,`coins`],[ze,`wand`],[N,`wand`],[L,`plug`],[ne,`network`],[j,`wrench`],[ut,`bell`],[we,`bell`],[T,`route`]]);function Nt({icon:e,size:t=16,className:n,label:r}){let o=Mt.get(e);if(o){let e=a(o);if(e)return(0,G.jsx)(i,{src:e,name:o,px:t+2,alt:r||``,className:n})}return(0,G.jsx)(e,{size:t,strokeWidth:1.8,"aria-hidden":!r||void 0,"aria-label":r,className:n})}var Pt={idle:[`default`,`blink`],working:[`default`,`gyro`],reasoning:[`default`,`twins`],searching:[`default`,`lighthouse`],background:[`default`,`spiral`],retrying:[`default`,`surge`],compacting:[`default`,`squeeze`,`fuse`],waiting:[`default`],using:[`default`,`tap`,`scroll`,`type`,`zoom`,`snap`,`record`]},J=Math.PI*2,Ft=Math.PI*(3-Math.sqrt(5)),Y=e=>(1-Math.cos(Math.PI*e))/2,X=e=>{let t=Math.sin(e*127.1)*43758.5453;return t-Math.floor(t)},It=(e,t)=>(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2,Lt=(e,t,n)=>{let r=[],i=[],a=e[t];for(let o=0;o<e.length;o++){if(o===t)continue;let s=It(a,e[o]),c=r.length;if(c===n){if(s>=i[n-1])continue;c--}for(;c>0&&i[c-1]>s;)r[c]=r[c-1],i[c]=i[c-1],c--;r[c]=o,i[c]=s}return r},Rt={idle:6500,"idle-blink":13e3,working:3e3,"working-gyro":3e3,reasoning:6500,"reasoning-twins":6500,searching:13e3,"searching-lighthouse":13e3,background:13e3,"background-spiral":13e3,retrying:13e3,"retrying-surge":13e3,compacting:1e4,"compacting-squeeze":1e4,"compacting-fuse":1e4,waiting:13e3,using:13e3,"using-tap":13e3,"using-scroll":13e3,"using-type":13e3,"using-zoom":13e3,"using-snap":13e3,"using-record":13e3},zt=new Map;function Bt(e,t,n){let r=zt.get(e);return r||zt.set(e,r={t:0,last:t}),t>r.last&&(r.t+=Math.min(t-r.last,100)*n,r.last=t),r.t}var Vt=e=>1-Math.exp(-4.5*e)*Math.cos(3*Math.PI*e)-e*Math.exp(-4.5);function Ht(e,t){let n=3200,r=Math.floor(e/n),i=e-r*n,a=1260*t,o=2200*t,s;if(i<2e3)s=i*t;else if(i<2200){let e=(i-2e3)/200;s=(2e3+200*(e-e*e/2))*t}else if(i<3e3)s=2100*t-a*Vt((i-2200)/800);else{let e=(i-3e3)/200;s=2100*t-a+100*e*e*t}return r*(o-a)+s}function Ut(e,t){if(e===`retrying`)return Ht(2*t,J/9e3);if(e===`retrying-surge`){let e=t/3250,n=e-Math.floor(e);return(Math.floor(e)+(1-(1-n)**3))*J}return e===`using-scroll`?.4:e===`using-snap`?(Math.floor(t/_n)*vn+Math.min(t%_n,vn))/Rt[e]*J:t/Rt[e]*J}var Wt=(()=>{let e=30*Math.PI/180,t=10*Math.PI/180;return[-Math.sin(t)*Math.cos(e),Math.cos(t)*Math.cos(e),Math.sin(e)]})(),Gt=1.4,Kt=30*Math.PI/180,qt=Math.PI/2,Jt=1800,Yt=.4,Xt=.6;function Zt(e){let t=e*2.45+X(e)*1.5,n=(15+30*X(e+.5))*Math.PI/180;return[Math.sin(n)*Math.cos(t),Math.sin(n)*Math.sin(t),Math.cos(n)]}function Qt(e){let t=Math.floor(e/Jt),n=e/Jt-t,r=n<Yt?(1-Math.cos(n/Yt*Math.PI))/2:1,i=Zt(t),a=Zt(t+1),o=i.map((e,t)=>e+(a[t]-e)*r),s=Math.hypot(o[0],o[1],o[2]);return o.map(e=>e/s)}var $t=.45,en=.5,tn=600,nn=e=>Zt(e+57),rn=(e,t,n)=>{let r=e.map((e,r)=>e+(t[r]-e)*n),i=Math.hypot(r[0],r[1],r[2]);return r.map(e=>e/i)},an=(e,t)=>e<t?(1-(e/t)**2)**2:0,on=1400;function sn(e){let t=Math.floor(e/on),n=e/on-t;return{at:rn(nn(t),nn(t+1),n<.35?Y(n/.35):1),click:nn(n<.5?t:t+1),since:(n<.5?n+.5:n-.5)*on}}var cn=e=>e<60?e/60:Math.max(0,1-(e-60)/240)**2,ln=1,un=[[0,0],[0,16],[4,12],[7,18],[9,17],[6,11],[11,11]].map(([e,t])=>[e/18*ln,t/18*ln]);function dn(e,t,n){let r=!1;for(let i=0,a=e.length-1;i<e.length;a=i++){let[o,s]=e[i],[c,l]=e[a];s>n!=l>n&&t<(c-o)*(n-s)/(l-s)+o&&(r=!r)}return r}var Z=[-.3,.5],fn=(e,t)=>[e,t,Math.sqrt(Math.max(0,1-e*e-t*t))],pn=e=>fn(Z[0]+.35*e[0],Z[1]+.35*e[1]),mn=1800;function hn(e,t){let n=e%mn/mn,r=n<.3?Y(n/.3):n<.6?1:n<.85?1-Y((n-.6)/.25):0,i=e=>fn(Z[0]+.3*e*Math.cos(t),Z[1]+.3*e*Math.sin(t));return{at:i(r),click:i(1),since:(n<.45?n+.55:n-.45)*mn}}var gn=2600,_n=2600,vn=2100;function yn(e){let t=e%_n-vn;return t<0?0:Math.exp(-t/220)}function bn(e){let t=e%_n;return t<120?1.2*(1-Y(t/120)):t<180?0:t<430?1.2*Y((t-180)/250):1.2}var xn=1200,Sn=e=>Math.abs(1-2*(e%xn/xn));function Cn(e){let t=e%gn/gn;return t<.25?Y(t/.25):t<.5?1:t<.75?1-Y((t-.5)/.25):0}var wn=1500,Tn=1.1;function En(e){let t=Math.floor(e/wn),n=Math.min(1,(e/wn-t)/.75);return{by:(t+1-(1-n)**3)*Tn,pace:(1-n)**2}}var Dn={right:0,"up-right":45,up:90,"up-left":135,left:180,"down-left":225,down:270,"down-right":315},On=[90,270,45,180,0,225].map(e=>e*Math.PI/180);function kn(e,t){let n=-Math.sin(e),r=Math.cos(e),i=Math.sin(t),a=Math.cos(t),o=1-a;return[a+n*n*o,n*r*o,r*i,n*r*o,a+r*r*o,-n*i,-r*i,n*i,a]}var An=(e,t)=>e.map((n,r)=>e[r-r%3]*t[r%3]+e[r-r%3+1]*t[r%3+3]+e[r-r%3+2]*t[r%3+6]),Q=[`xxxx xxx xx`,`xxxxx xx xxxx`,`xxx xxxxx`],jn=.09,Mn=.3,Nn=.33,Pn=-.5,$=(()=>{let e=0;return Q.flatMap((t,n)=>[...t].map((r,i)=>{let a={row:n,col:i,at:e};return e+=r===` `?200:i===t.length-1?350:70+60*X(n*31+i),a}))})(),Fn=Q.map((e,t)=>$.flatMap((e,n)=>e.row===t?[n]:[])),In=$[$.length-1].at,Ln=In+1300;function Rn(e){let t=e%Ln,n=0;for(;n<$.length&&$[n].at<=t;)n++;let r=n?t-$[n-1].at:1/0,i=$[n]??{row:Q.length-1,col:Q[Q.length-1].length},a=r<300?1:+(Math.floor(t/450)%2==0);return{n,since:r,blink:a,caret:[Pn+i.col*jn,Nn-i.row*Mn],fade:t<In+900?1:Math.max(0,1-(t-In-900)/300)}}var zn=220,Bn=5,Vn=24,Hn=16,Un={mount:({make:e,pts:t})=>{let n=t.map(()=>e(`circle`)),r=new Uint8Array(t.length);return{dot(e,t,i,a,o){let s=n[e],c=o.toFixed(2);c===`0.00`&&r[e]||(r[e]=+(c===`0.00`),s.setAttribute(`cx`,t.toFixed(2)),s.setAttribute(`cy`,i.toFixed(2)),s.setAttribute(`r`,Math.max(.45,a).toFixed(2)),s.setAttribute(`fill-opacity`,c))}}}};function Wn(e){let t=(e,t)=>[Math.cos(e)*Math.cos(t),Math.sin(e),Math.cos(e)*Math.sin(t)],n=Math.sqrt(4*Math.PI/e),r=.6*n;return Array.from({length:8},(e,i)=>{let a=i?i&-i:8,o=Math.min(85*Math.PI/180,Math.acos(Math.min(1,n*8/(J*a)))),s=[];for(let e=-o+i*.618%1*r;e<=o;e+=r/Math.sqrt(1+Math.cos(e)**2))s.push(t(e,i/8*J-e));return s}).flat()}function Gn(e,t,n){return n?n.points(t,e):e===`background-spiral`?Wn(t):Array.from({length:t},(e,n)=>{let r=1-2*(n+.5)/t,i=Math.sqrt(1-r*r),a=n*Ft;return[i*Math.cos(a),r,i*Math.sin(a)]})}function Kn(e,{state:t,variant:n,size:r=20,speed:i=1,label:a,shape:o,render:s=Un,density:c=1,dotSize:l=1,tilt:u=20,direction:d}={}){let f=t===`base`?`idle`:t,p=f&&Object.hasOwn(Pt,f)?f:`idle`,m=n!=="default"&&Pt[p].includes(n??``)?`${p}-${n}`:p,h={width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:`currentColor`};for(let[t,n]of Object.entries(h))e.setAttribute(t,String(n));a?(e.setAttribute(`role`,`img`),e.setAttribute(`aria-label`,a),e.removeAttribute(`aria-hidden`)):(e.setAttribute(`aria-hidden`,`true`),e.removeAttribute(`role`),e.removeAttribute(`aria-label`));let g=m===`background`?1:m===`using`||m===`using-type`?Math.max(4,1e3/r):4,_=Math.max(8,Math.round(r*g*c)),v=typeof o==`function`?{points:o}:o,y=r/2,ee=y*.8*(v?.scale??1),te=(r/64)**.6*(.72*Math.sqrt(4/g))*l,b=Gn(m,_,v),ne=s.mount({make:t=>e.appendChild(document.createElementNS(`http://www.w3.org/2000/svg`,t)),pts:b,size:r,radius:te}),re=!!s.flat,x=(m===`reasoning`||m===`reasoning-twins`)&&b.length>1,S=m===`compacting`||m===`compacting-fuse`,C=x?b.map((e,t)=>Lt(b,t,Vn)):[],w=Array.from({length:m===`reasoning-twins`?2:1},()=>[]),T=0,E={k:0,m:[1,0,0,0,1,0,0,0,1]},D=e=>{let t=Rt[m],n=Ut(m,e),i=m===`using-scroll`?En(e):null,a=d&&Dn[d],o=null;if(i&&a!==void 0)o=kn(a*Math.PI/180+Math.PI,i.by);else if(i){let t=Math.floor(e/wn);for(t<E.k&&(E={k:0,m:[1,0,0,0,1,0,0,0,1]});E.k<t;E.k++)E.m=An(kn(On[E.k%On.length],Tn),E.m);o=An(kn(On[t%On.length],i.by-t*Tn),E.m)}let s=m===`working-gyro`?e/5e3*J:null,c=((re?0:u)+(v?.tip??0)+(s===null?0:10*Math.cos(s)))*Math.PI/180,l=s===null?0:12*Math.sin(s)*Math.PI/180,f=Math.sin(l),p=Math.cos(l),h=Math.sin(n),g=Math.cos(n),_=Math.sin(c),D=Math.cos(c),O=e=>b[e][1]*_+(-b[e][0]*h+b[e][2]*g)*D,k=new Map;if(x){let t=e/zn,n=Math.floor(t),r=t-n;if(!w[0].length){let e=[...b.keys()].reduce((e,t)=>O(t)>O(e)?t:e,0),t=t=>O(t)+It(b[t],b[e]);w.forEach((n,r)=>n.push(r?[...b.keys()].reduce((e,n)=>t(n)>t(e)?n:e,0):e))}for(T=Math.max(T,n-Hn);T<n;T++)w.forEach((e,t)=>{let n=e.slice(-8),r=e[e.length-1],i=-1,a=-1/0,o=m===`reasoning-twins`?w[1-t].at(-1):void 0;C[r].forEach((e,r)=>{let s=o===void 0?0:1.2*Math.min(Math.sqrt(It(b[e],b[o])),.8),c=O(e)+.35*X(T*31+r+t*977)+s;!n.includes(e)&&c>a&&(a=c,i=e)}),e.push(i<0?C[r][0]:i),e.length>Hn&&e.shift()});let i=(e,t)=>e!==void 0&&k.set(e,Math.max(k.get(e)??0,t));for(let e of w)for(let t=4;t>=0;t--)i(e[e.length-1-t],t===0?Y(Math.min(1,r*2)):1-(t-1+r)/Bn)}let A=e/2e3*J+n,j=J/2e3+J/t,M=e=>70*Math.PI/180*(1-2*(e%6e3/6e3)),N=Math.min(1,3*Math.sin(Math.PI*(e%6e3/6e3))),P=m===`searching`?Qt(e):null,F=m===`working-gyro`?.5*Math.sin(e/2600*J):m===`compacting-squeeze`?Math.sin(e/2600*J):0,I=null;if(S){let t=e%2800/2800,n=(t-.7)/.3,r=m===`compacting-fuse`?(1-n)**3:n<.45?1-1.25*Y(n/.45):n<.7?-.25*(1-(n-.45)/.25)**2:0;I={at:-1.15+2.3*Math.min(1,t/.7),hold:t<.7?1:r}}let L=null;m===`using-tap`&&(L=sn(e));let R=m===`using`;if(R){let t=a===void 0?sn(e):null;L=t?{...t,at:pn(t.at),click:pn(t.click)}:hn(e,(a??0)*Math.PI/180)}let ie=R&&L?1-.15*cn(L.since):1,z=m===`using-type`?Rn(e):null,ae=m===`using-zoom`?Cn(e):null,B=m===`using-snap`?yn(e):null,V=m===`idle-blink`?bn(e):null,H=m===`using-record`?Sn(e):null;b.forEach(([t,a,s],c)=>{let u=n+Gt*F*a,[d,v]=F?[Math.sin(u),Math.cos(u)]:[h,g],b=-t*d+s*v,S=t*v+s*d,C=a*D-b*_,w=b,T=S*_,E=a*_+b*D;o&&([S,C,E]=[0,3,6].map(e=>o[e]*S+o[e+1]*C+o[e+2]*E));let O=(E+1)/2,U=(.5+1.4*O)*te,W=Math.max(0,(O-.3)/.7);if(P){let e=Math.acos(Math.min(1,(S*P[0]+C*P[1]+E*P[2])/Math.hypot(S,C,E))),t=e<Xt?(1-(e/Xt)**2)**2:0;W*=1-.55*(1-t),r<=24&&(U*=1+.5*t),t&&(S*=1+.12*t,C*=1+.12*t,S+=(S-P[0])*.35*t,C+=(C-P[1])*.35*t,U*=1+.9*t,W+=(1-W)*t)}if(I){let e=S,t=Math.min(1,Math.max(0,(I.at-e)/.2))*I.hold,n=m===`compacting`?1.5:1;if(S*=1-.2*n*t,C*=1-.2*n*t,U*=1-.3*n*t,m===`compacting-fuse`){W*=1-.5*t;let n=Math.exp(-(((e-I.at)/.08)**2))*Math.max(0,I.hold)*Math.min(1,O/.5);U*=1+.8*n,W+=(1-W)*n}}if(m===`working`){let t=e%1700,n=1.3-2.6*Y(Math.min(1,t/1200)),r=re?C:S*Wt[0]+C*Wt[1]+E*Wt[2],i=t<1200?Math.exp(-(((r-n)/.2)**2)):0;U*=1+.6*i,W+=(1-W)*i;let a=Math.min(1,Math.max(0,(r-n)/.2))*(t<1200?1:1-Math.min(1,1.6*((t-1200)/800)));S*=1-.08*a,C*=1-.08*a,U*=1-.15*a}if(m===`searching-lighthouse`){W*=.5;let t=Math.sin(Kt),n=Math.cos(Kt),r=S*n-C*t,i=-_*(S*t+C*n)+D*E,a=((Math.atan2(r,i)-(e/2500%1*J-Math.PI)+Math.PI)%J+J)%J-Math.PI,o=(a<0?Math.max(0,1+a/qt):Math.exp(-((a/.45)**2)))*(.25+.75*Math.min(1,Math.max(0,(O-.4)/.3)));U*=1+.6*o,W+=(1-W)*o}if(x){let e=k.get(c)??0;W*=.5,e&&(U*=1+.8*e,W+=(1-W)*e)}if(m===`waiting`){let n=Math.asin(a/(Math.hypot(t,a,s)||1)),r=Math.atan2(s,t),i=Math.atan2(Math.sin(r-A),Math.cos(r-A)),o=i*Math.cos(n),c=Math.exp(-(((n-M(e+i/j))/.28)**2))*Math.exp(-((o/(i*j>0?.12:1))**2)),l=N*c**.6;W=W*.5+(1-W*.5)*l,U*=1+1.1*l}if(L){let e=Math.hypot(S,C,E)||1,t=t=>Math.acos(Math.min(1,Math.max(-1,(S*t[0]+C*t[1]+E*t[2])/e)));W*=R?.25:.5;let n=L.since,r=R?0:an(t(L.at),$t),i=t(L.click),a=cn(n),o=a*an(i,en),s=Math.min(1,n/tn),c=Math.exp(-(((i-(.15+1.3*(1-(1-s)**2)))/.18)**2))*(1-s)**2;if(S*=1-.14*o,C*=1-.14*o,U*=(1-.35*o)*(1+.7*Math.max(c,r*(1-a))),W+=(1-W)*Math.max(r,c),R&&dn(un,(S-L.at[0])/ie,(L.at[1]-C)/ie)){let e=Math.min(1,Math.max(0,(O-.5)/.2));U*=1+.15*e,W+=(1-W)*e}}if(z){W*=.25;let e=Math.round((Nn-C)/Mn),t=Math.floor((S-Pn)/jn),n=Fn[e]?.[t],r=0;n!==void 0&&n<z.n&&Q[e][t]===`x`&&Math.abs(Nn-e*Mn-C)<.085&&(r=.75+(n===z.n-1?.25*Math.exp(-z.since/120):0));let[i,a]=z.caret;Math.abs(C-a)<.1&&(r=Math.max(r,z.blink*Math.exp(-(((S-i)/.04)**2)))),W+=(1-W)*r*z.fade*Math.min(1,Math.max(0,(O-.5)/.2))}if(ae){let e=ae*Math.max(0,E);S*=1+.45*e,C*=1+.45*e,U*=1+.8*e,W*=Math.min(1,Math.max(0,(1.05-Math.hypot(S,C))/.1))}if(i&&(W*=.55+.45*i.pace),B!==null&&(W*=.55,U*=1+.25*B,W+=(1-W)*B),V!==null){let e=Math.exp(-(((Math.abs(C)-V)/.06)**2))*+(V<1.2);W*=Math.min(1,Math.max(0,(V-Math.abs(C))/.08)),U*=1+.4*e,W+=(1-W)*e*Math.min(1,Math.max(0,(O-.4)/.3))}H!==null&&(S*=.92+.08*H,C*=.92+.08*H,W*=.3+.7*H),l&&([S,C]=[S*p-C*f,S*f+C*p]),ne.dot(c,y+S*ee,y-C*ee,U,W,w,-T)}),ne.frame?.()},O=`${m}@${i}`;D(Bt(O,performance.now(),i));let k=matchMedia(`(prefers-reduced-motion: reduce)`).matches,A=!1,j=0,M=!1,N=new IntersectionObserver(e=>A=e[e.length-1].isIntersecting);N.observe(e);function P(e){A&&D(Bt(O,e,i)),j=requestAnimationFrame(P)}let F=()=>{cancelAnimationFrame(j),j=0},I=()=>{j||k||M||(j=requestAnimationFrame(P))};return I(),{pause:F,play:I,destroy(){M=!0,F(),N.disconnect(),e.replaceChildren()}}}function qn({state:e,variant:t,size:n=20,speed:r=1,paused:i=!1,label:a,shape:o,render:s,density:c,dotSize:l,tilt:u,direction:d,className:f}){let p=(0,K.useRef)(null),m=(0,K.useRef)(null);(0,K.useEffect)(()=>(m.current=Kn(p.current,{state:e,variant:t,size:n,speed:r,label:a,shape:o,render:s,density:c,dotSize:l,tilt:u,direction:d})).destroy,[e,t,n,r,a,o,s,c,l,u,d]),(0,K.useEffect)(()=>{i?m.current.pause():m.current.play()},[i,e,t,n,r,a,o,s,c,l,u,d]);let h=a?{role:`img`,"aria-label":a}:{"aria-hidden":!0};return(0,G.jsx)(`svg`,{ref:p,width:n,height:n,viewBox:`0 0 ${n} ${n}`,fill:`currentColor`,className:f,...h})}var Jn={thinking:{state:`reasoning`},searching:{state:`searching`},reading:{state:`searching`,variant:`lighthouse`},working:{state:`working`},writing:{state:`working`,variant:`gyro`},browsing:{state:`using`,variant:`tap`},recording:{state:`using`,variant:`record`},handing:{state:`background`},retrying:{state:`retrying`},compacting:{state:`compacting`},waiting:{state:`waiting`},idle:{state:`idle`}};function Yn({state:e=`working`,label:t,px:n=16,className:r}){return(0,G.jsx)(qn,{...Jn[e],size:n,label:t,className:s(`block flex-none text-ink`,r)})}async function Xn(e,t=l.open){let n=window.open(`about:blank`,`_blank`);try{let r=await t(e);if(r.kind===`download`){n?.close();let e=document.createElement(`a`);return e.href=r.url,e.download=r.name,e.click(),``}return n?(n.opener=null,n.location.href=r.url,``):`The browser blocked the new tab.`}catch(e){return n?.close(),e.message}}function Zn({icon:e,title:t,children:n,action:r,center:i=!1,className:a}){return(0,G.jsxs)(`div`,{role:`status`,className:s(`flex flex-col gap-2 py-6`,i?`items-center text-center`:`items-start`,a),children:[e&&(0,G.jsx)(Nt,{icon:e,size:22,className:`mb-1 text-muted`}),t&&(0,G.jsx)(`p`,{className:`m-0 text-body-lg font-medium text-ink`,children:t}),n&&(0,G.jsx)(`div`,{className:`m-0 text-body-sm leading-relaxed text-ink-2`,children:n}),r&&(0,G.jsx)(`div`,{className:`mt-1 flex flex-wrap items-center gap-2`,children:r})]})}var Qn={pass:`bg-pass-soft text-pass`,fail:`bg-fail-soft text-fail`,warn:`bg-warn-soft text-warn`,running:`bg-accent-soft text-accent-fg`,neutral:`bg-surface-strong text-ink-2`},$n={pass:`bg-pass-dot`,fail:`bg-fail-dot`,warn:`bg-warn-dot`,neutral:`bg-muted`};function er({tone:e,children:t,className:n,icon:r=!0,orb:i=`working`}){let a=r&&e!==`running`?$n[e]:void 0,o=r&&e===`running`;return(0,G.jsxs)(`span`,{className:s(`inline-flex min-h-6 items-center gap-1 rounded-full px-2 text-label-sm whitespace-nowrap`,(a||o)&&`pl-2`,Qn[e],n),children:[o&&(0,G.jsx)(Yn,{state:i,px:16}),a&&(0,G.jsx)(`span`,{"aria-hidden":`true`,className:s(`size-1.5 flex-none rounded-full`,a)}),t]})}function tr({id:e,label:t,value:r,onChange:i,placeholder:a,className:o}){return(0,G.jsxs)(`div`,{className:s(`relative min-w-0 w-full max-w-[320px] flex-[0_1_320px]`,o),children:[(0,G.jsx)(E,{size:14,"aria-hidden":`true`,className:`pointer-events-none absolute top-1/2 left-2.5 -translate-y-1/2 text-muted`}),(0,G.jsx)(`label`,{htmlFor:e,className:`sr-only`,children:t}),(0,G.jsx)(n,{size:`sm`,id:e,type:`search`,value:r,onChange:e=>i(e.target.value),placeholder:a??t,className:`pl-8`})]})}function nr({items:e,value:t,onChange:n}){return(0,G.jsx)(G.Fragment,{children:e.map(e=>(0,G.jsxs)(`button`,{type:`button`,"aria-pressed":t===e.id,"data-tip":e.tip,onClick:()=>n(e.id),className:s(q({size:`sm`}),`gap-1`),children:[e.icon&&(0,G.jsx)(Nt,{icon:e.icon,size:14}),e.label,e.n!==void 0&&(0,G.jsx)(`span`,{className:s(`tabular-nums`,e.alert&&e.n?`text-fail`:``),children:e.n})]},e.id))})}function rr({items:e,value:t,onChange:n,className:r}){return(0,G.jsx)(G.Fragment,{children:e.map(e=>{let i=t.includes(e.id);return(0,G.jsxs)(`button`,{type:`button`,"aria-pressed":i,"data-tip":e.title,onClick:()=>n(i?t.filter(t=>t!==e.id):[...t,e.id]),className:s(q({size:`sm`}),``,r),children:[i&&(0,G.jsx)(ht,{size:14,"aria-hidden":`true`}),e.label,e.note&&(0,G.jsx)(`span`,{className:s(`text-body-sm font-normal`,e.noteClass),children:e.note})]},e.id)})})}function ir({page:e,size:t,total:n,onPage:r,label:i,children:a}){let o=Math.max(1,Math.ceil(n/t));return(0,G.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4 border-t border-line-soft px-4 py-2 text-body-sm text-muted`,children:[(0,G.jsxs)(`span`,{className:`flex-1`,children:[n?`${e*t+1}–${Math.min(n,e*t+t)} of ${n}`:`None`,a]}),o>1&&(0,G.jsxs)(`nav`,{"aria-label":i,className:`flex items-center gap-1`,children:[(0,G.jsx)(jt,{size:`sm`,variant:`ghost`,disabled:e===0,onClick:()=>r(e-1),"aria-label":`Previous page`,"data-tip":`Previous page`,children:(0,G.jsx)(y,{"aria-hidden":`true`})}),(0,G.jsxs)(`span`,{className:`px-1 tabular-nums`,children:[`Page `,e+1,` of `,o]}),(0,G.jsx)(jt,{size:`sm`,variant:`ghost`,disabled:e>=o-1,onClick:()=>r(e+1),"aria-label":`Next page`,"data-tip":`Next page`,children:(0,G.jsx)(F,{"aria-hidden":`true`})})]})]})}var ar={accent:`text-icon`,soft:`text-accent-line`,pass:`text-pass`,fail:`text-fail`};function or(e,t){if(!e.length)return``;let n=`M${e[0][0].toFixed(1)} ${e[0][1].toFixed(1)}`;for(let r=0;r<e.length-1;r++){let i=e[r-1]??e[r],a=e[r],o=e[r+1],s=e[r+2]??o,c=Math.min(t,a[1]+(o[1]-i[1])/6),l=Math.min(t,o[1]-(s[1]-a[1])/6);n+=` C${(a[0]+(o[0]-i[0])/6).toFixed(1)} ${c.toFixed(1)} ${(o[0]-(s[0]-a[0])/6).toFixed(1)} ${l.toFixed(1)} ${o[0].toFixed(1)} ${o[1].toFixed(1)}`}return n}function sr({series:e,label:t,axis:n,hover:r=-1,onHover:i,max:a,padded:o=!0,lead:c=0,className:l=`h-24`}){let u=(0,K.useId)().replace(/:/g,``),d=Math.max(1,...e.map(e=>e.values.length)),f=a??Math.max(Number.MIN_VALUE,...e.flatMap(e=>e.values)),p=e=>d>1?e/(d-1)*280:140,m=e=>o?92-Math.max(0,e)/(f||1)*80:96-Math.max(0,e)/(f||1)*96,h=e.map((e,t)=>{let n=e.values.map((e,t)=>[p(t),m(e)]);return{s:e,k:t,pts:n,line:or(n,o?92:96)}}),g=h[c]??h[0],_=e=>g&&g.pts[e]?g.pts[e]:null,v=(e,t)=>{let n=_(e);return n?(0,G.jsx)(`span`,{"aria-hidden":`true`,className:s(`pointer-events-none absolute -translate-x-1/2 -translate-y-1/2 rounded-full bg-current ring-2 ring-bg`,t?`size-2`:`size-1.5 opacity-80`),style:{left:`${n[0]/280*100}%`,top:`${n[1]/96*100}%`,boxShadow:t?`0 0 8px 1px color-mix(in srgb, currentColor 60%, transparent)`:void 0}},`dot-${e}`):null},y=(g?.pts.length??1)-1;return(0,G.jsxs)(`div`,{role:`img`,"aria-label":t,className:`flex w-full min-w-0 flex-col gap-2`,children:[(0,G.jsxs)(`div`,{className:s(`relative w-full`,l,g?ar[g.s.tone??`accent`]:``),onMouseLeave:i?()=>i(-1):void 0,children:[(0,G.jsxs)(`svg`,{viewBox:`0 0 280 96`,preserveAspectRatio:`none`,className:`block size-full overflow-visible`,"aria-hidden":`true`,children:[(0,G.jsx)(`defs`,{children:h.map(({k:e})=>(0,G.jsxs)(`linearGradient`,{id:`${u}-f${e}`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,G.jsx)(`stop`,{offset:`0%`,stopColor:`currentColor`,stopOpacity:`0.28`}),(0,G.jsx)(`stop`,{offset:`100%`,stopColor:`currentColor`,stopOpacity:`0`})]},e))}),h.map(({s:e,k:t,line:n})=>(0,G.jsxs)(`g`,{className:ar[e.tone??`accent`],children:[e.fill!==!1&&(0,G.jsx)(`path`,{d:`${n} L${p(e.values.length-1)} 96 L0 96 Z`,fill:`url(#${u}-f${t})`}),(0,G.jsx)(`path`,{d:n,fill:`none`,stroke:`currentColor`,strokeWidth:e.glow===!1?1.5:2,strokeLinecap:`round`,vectorEffect:`non-scaling-stroke`,style:e.glow===!1?void 0:{filter:`drop-shadow(0 0 4px color-mix(in srgb, currentColor 55%, transparent))`}})]},t))]}),v(y,!0),r>=0&&r!==y&&v(r,!1),i&&(0,G.jsx)(`div`,{className:`absolute inset-0 flex`,"aria-hidden":`true`,children:Array.from({length:d},(e,t)=>(0,G.jsx)(`span`,{className:s(`h-full flex-1`,r===t&&`bg-current/5`),onMouseEnter:()=>i(t)},t))})]}),n&&n.length>0&&(0,G.jsx)(`div`,{className:`flex justify-between text-body-sm text-muted tabular-nums`,"aria-hidden":`true`,children:n.map((e,t)=>(0,G.jsx)(`span`,{children:e},t))})]})}function cr({share:e,text:t,lead:n=!1,tone:r,className:i}){let a=Math.max(0,Math.min(1,e))*100,o=a>=25&&(n||!!r),c=r===`fail`?`bg-fail text-bg`:r===`pass`?`bg-pass text-bg`:n?`bg-accent text-white`:`bg-accent-line`;return(0,G.jsxs)(`span`,{"aria-hidden":`true`,className:s(`flex h-5 min-w-0 items-center gap-2 rounded-md bg-surface-strong`,i),children:[(0,G.jsx)(`span`,{className:s(`flex h-full items-center justify-end rounded-md px-2 text-label-sm font-medium whitespace-nowrap tabular-nums transition-[width] duration-200 ease-out`,c),style:{width:a>0?`${Math.max(2,a)}%`:`0`},children:o?t:null}),!o&&(0,G.jsx)(`span`,{className:`text-label-sm whitespace-nowrap text-ink-2 tabular-nums`,children:t})]})}function lr({rows:e,label:t,more:n}){return(0,G.jsxs)(`ul`,{"aria-label":t,className:`m-0 flex list-none flex-col overflow-hidden rounded-base p-0`,children:[e.map((e,t)=>(0,G.jsxs)(`li`,{className:s(`grid grid-cols-[minmax(0,1fr)_auto] items-center gap-x-4 gap-y-1 px-4 py-2`,t>0&&`border-t border-line`,t%2==1&&`bg-surface-muted`),children:[(0,G.jsx)(`span`,{"data-tip":e.label,className:`min-w-0 truncate text-body-sm text-ink-2`,children:e.label}),(0,G.jsxs)(`span`,{className:`row-span-2 flex flex-col items-end gap-1`,children:[(0,G.jsxs)(`span`,{className:`rounded-full border border-accent-line px-2 text-label-sm font-medium text-ink-2 tabular-nums`,children:[e.share>0&&e.share<.005?`<1`:Math.round(Math.max(0,Math.min(1,e.share))*100),`%`]}),e.note]}),(0,G.jsxs)(`span`,{className:`flex min-w-0 items-baseline gap-2`,children:[(0,G.jsx)(`span`,{className:`text-headline-sm font-medium text-ink tabular-nums`,children:e.value}),e.sub?(0,G.jsx)(`span`,{className:`truncate text-label-sm text-muted tabular-nums`,children:e.sub}):null]})]},e.key)),n?(0,G.jsx)(`li`,{className:`border-t border-line px-4 py-2 text-body-sm text-muted`,children:n}):null]})}function ur({value:e,limit:t,warnAt:n=.8,label:r,className:i}){let a=t>0?e/t:0,o=Math.max(1.15,Math.min(a,1.5)),c=e=>`${Math.min(100,e/o*100).toFixed(2)}%`,l=a>=1?`over`:a>=n?`near`:`fine`,u={width:c(Math.max(.01,a))};return l===`over`&&(u.backgroundImage=`linear-gradient(90deg, var(--color-accent), var(--color-fail))`),(0,G.jsxs)(`span`,{className:s(`flex min-w-0 items-center gap-2`,i),children:[(0,G.jsxs)(`span`,{role:`meter`,"aria-valuemin":0,"aria-valuemax":t,"aria-valuenow":e,"aria-label":`${r}: ${Math.round(a*100)} percent of the limit, ${l===`over`?`over`:l===`near`?`near the limit`:`fine`}`,className:`relative block h-2 min-w-0 flex-1 rounded-full bg-surface-strong`,children:[(0,G.jsx)(`span`,{className:s(`absolute inset-y-0 left-0 rounded-full transition-[width] duration-200 ease-out`,l===`near`?`bg-warn`:`bg-accent`),style:u}),(0,G.jsx)(`span`,{"aria-hidden":`true`,className:`absolute -inset-y-1 w-px bg-warn`,style:{left:c(n)}}),(0,G.jsx)(`span`,{"aria-hidden":`true`,className:`absolute -inset-y-1 w-0.5 bg-fail`,style:{left:c(1)}})]}),(0,G.jsx)(`span`,{"aria-hidden":`true`,className:s(`text-label-sm whitespace-nowrap`,l===`over`?`text-fail`:l===`near`?`text-warn`:`text-muted`),children:l===`over`?`over`:l===`near`?`near the limit`:`fine`})]})}function dr({parts:e,label:t,className:n}){let r=e.reduce((e,t)=>e+Math.max(0,t.value),0);return(0,G.jsx)(`span`,{role:`img`,"aria-label":t,className:s(`flex h-6 w-full min-w-0 gap-1`,n),children:e.filter(e=>e.value>0).map(e=>(0,G.jsx)(`span`,{"aria-hidden":`true`,className:s(`flex min-w-1 items-center justify-center overflow-hidden rounded-md text-label-sm font-medium whitespace-nowrap text-bg tabular-nums transition-[flex-grow] duration-200 ease-out`,e.className),style:{flexGrow:e.value,flexBasis:0},children:r&&e.value/r>=.08?e.text??e.value:null},e.key))})}var fr={pass:`bg-pass`,fail:`bg-fail`,warn:`bg-warn`,muted:`bg-line-strong`},pr={pass:`var(--color-pass)`,fail:`var(--color-fail)`,warn:`var(--color-warn)`,muted:`var(--color-line-strong)`};function mr({runs:e,label:t,className:n}){return(0,G.jsx)(`span`,{role:`img`,"aria-label":t,className:s(`inline-flex flex-none items-center gap-1`,n),children:e.map((t,n)=>{let r=n===e.length-1;return(0,G.jsx)(`span`,{"data-tip":t.title,"aria-hidden":`true`,className:s(`block flex-none rounded-full`,fr[t.tone],r?`size-3`:`size-2`),style:r?{boxShadow:`0 0 0 2px var(--color-bg), 0 0 0 3px ${pr[t.tone]}`}:void 0},n)})})}function hr({share:e,marks:t,className:n,fill:r}){return(0,G.jsxs)(`span`,{"aria-hidden":`true`,className:s(`relative block h-2 rounded-full bg-surface-strong`,n),children:[(0,G.jsx)(`span`,{className:s(`absolute inset-y-0 left-0 rounded-full transition-[width] duration-200 ease-out`,r),style:{width:`${Math.max(0,Math.min(1,e))*100}%`}}),t.map(e=>(0,G.jsx)(`span`,{className:`absolute -inset-y-1 w-px bg-muted`,style:{left:`${e*100}%`}},e))]})}function gr({value:e,label:t,size:n=`sm`,className:r}){let i=n===`lg`?104:56,a=n===`lg`?8:5,o=(i-a)/2,c=2*Math.PI*o,l=e===null?0:Math.max(0,Math.min(100,e))/100,u=e===null?`text-muted`:`text-accent`;return(0,G.jsxs)(`figure`,{role:`img`,"aria-label":`${t}: ${e===null?`not scored`:`${Math.round(e)} out of 100`}`,className:s(`m-0 flex flex-col items-center gap-2`,r),children:[(0,G.jsxs)(`span`,{className:`relative inline-flex`,style:{width:i,height:i},children:[(0,G.jsxs)(`svg`,{"aria-hidden":`true`,width:i,height:i,viewBox:`0 0 ${i} ${i}`,className:`-rotate-90`,children:[(0,G.jsx)(`circle`,{cx:i/2,cy:i/2,r:o,fill:`none`,stroke:`currentColor`,strokeWidth:a,className:`text-surface-strong`}),(0,G.jsx)(`circle`,{cx:i/2,cy:i/2,r:o,fill:`none`,stroke:`currentColor`,strokeWidth:a,strokeLinecap:`round`,strokeDasharray:c,strokeDashoffset:c*(1-l),className:s(`transition-[stroke-dashoffset] duration-200 ease-out`,u)})]}),(0,G.jsx)(`span`,{"aria-hidden":`true`,className:s(`absolute inset-0 flex items-center justify-center tabular-nums`,n===`lg`?`text-headline-md`:`text-body-sm font-medium`),children:e===null?`–`:Math.round(e)})]}),(0,G.jsx)(`figcaption`,{"aria-hidden":`true`,className:`text-center text-body-sm text-muted`,children:t})]})}var _r={error:`text-fail`,warn:`text-warn`},vr=/\b(?:0|no|zero)\s+(?:errors?|failures?|failed|warnings?)\b|"(?:errors?|warnings?)"\s*:\s*(?:(?:null|false|0)\b|""|\[\])/gi,yr=/\b(?:error|errors|fatal|exception|traceback|failed|failure|failing|panic|critical)\b|\bERR!|\b[A-Z]\w*(?:Error|Exception):|[✗✘❌]/i,br=/\b(?:warn|warning|warnings|deprecated|deprecation)\b|⚠/i;function xr(e){let t=e.replace(vr,``);return yr.test(t)?`error`:br.test(t)?`warn`:null}function Sr({text:e}){let t=e.split(`
|
|
2
|
+
`);return(0,G.jsx)(G.Fragment,{children:t.map((e,n)=>{let r=xr(e),i=n<t.length-1?`
|
|
3
|
+
`:``;return r?(0,G.jsxs)(`span`,{"data-level":r,className:_r[r],children:[e,i]},n):(0,G.jsxs)(K.Fragment,{children:[e,i]},n)})})}function Cr({href:e,label:t,className:n}){return(0,G.jsxs)(`a`,{href:e,className:s(`inline-flex min-h-9 w-fit items-center gap-2 self-start text-body-sm`,n),children:[(0,G.jsx)(ye,{size:16,"aria-hidden":`true`}),t]})}var wr=()=>typeof location>`u`?[]:location.hash.replace(/^#\/?/,``).split(`/`).filter(Boolean);function Tr(){let[e,t]=(0,K.useState)(wr);return(0,K.useEffect)(()=>{let e=()=>t(wr());return window.addEventListener(`hashchange`,e),()=>window.removeEventListener(`hashchange`,e)},[]),e}function Er({to:e,className:t}){let n=St(Tr()),r=e??n;return r?(0,G.jsx)(Cr,{href:r.href,label:r.label,className:s(`md:hidden`,t)}):null}export{Ct as C,q as S,Zn as _,ur as a,Nt as b,gr as c,cr as d,nr as f,er as g,tr as h,sr as i,hr as l,rr as m,Er as n,lr as o,ir as p,Sr as r,mr as s,Cr as t,dr as u,Xn as v,wt as w,jt as x,Yn as y};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-BDur5s0O.js";import{A as n,C as r,D as i,E as a,H as o,M as s,N as c,O as l,S as u,T as d,V as f,_ as p,b as m,d as h,f as g,g as _,j as v,k as y,m as b,t as x,v as S,w as C,x as w,y as T,z as E}from"./preload-helper-BupTYkQW.js";import{t as D}from"./utils-DJRAScIl.js";import{t as O}from"./jsx-runtime-LKYXHABd.js";import{A as k,C as A,D as j,E as M,P as N,S as P,T as F,_ as ee,i as te,m as ne,s as re,w as ie}from"./sectionList-B651VPon.js";import{lt as ae}from"./api-BsiuHmJq.js";import{Br as oe}from"./line-icons-CwCZidXs.js";var I=e(t(),1),L=O(),se=()=>typeof CSS<`u`&&typeof CSS.supports==`function`&&CSS.supports(`position-area: block-end`),ce=8;function le(e,t,n,r){let i=n-e.bottom-16,a=e.top-16;return(r===`up`?a>=t||a>=i:!(i>=t||i>=a))?{bottom:n-e.top+ce,maxHeight:Math.max(a,0)}:{top:e.bottom+ce,maxHeight:Math.max(i,0)}}var ue=`rounded-md border border-overlay-line bg-overlay p-2 text-ink shadow-menu backdrop-blur-[16px]`;function de({open:e,onClose:t,children:n,className:r,label:i,role:a=`menu`,side:o=`auto`,align:s=`start`,anchor:c}){let l=(0,I.useRef)(null),u=`--menu-${(0,I.useId)().replace(/[^\w-]/g,``)}`,d=f(e,150),p=()=>c??l.current?.parentElement??null;return(0,I.useLayoutEffect)(()=>{let e=l.current,t=c??e?.parentElement;if(!d||!e||!t)return;if(t.style.setProperty(`anchor-name`,u),e.style.setProperty(`position-anchor`,u),e.matches(`:popover-open`)||e.showPopover(),se())return()=>t.style.removeProperty(`anchor-name`);let n=()=>{let n=t.getBoundingClientRect(),r=Number.parseFloat(getComputedStyle(document.documentElement).getPropertyValue(`--ui-zoom`))||1;e.style.maxHeight=``;let i=le(n,e.scrollHeight,window.innerHeight,o);e.style.top=i.top===void 0?`auto`:`${i.top/r}px`,e.style.bottom=i.bottom===void 0?`auto`:`${i.bottom/r}px`,e.style.maxHeight=`${i.maxHeight/r}px`,s===`stretch`&&(e.style.width=`${n.width/r}px`),s===`end`?(e.style.left=`auto`,e.style.right=`${(window.innerWidth-n.right)/r}px`):(e.style.right=`auto`,e.style.left=`${Math.max(ce,Math.min(n.left,window.innerWidth-ce-e.offsetWidth*r))/r}px`)};return n(),window.addEventListener(`scroll`,n,!0),window.addEventListener(`resize`,n),()=>{window.removeEventListener(`scroll`,n,!0),window.removeEventListener(`resize`,n),t.style.removeProperty(`anchor-name`)}},[d,c,u,o,s]),(0,I.useEffect)(()=>{if(!e)return;let n=e=>{let n=e.target;l.current&&!l.current.contains(n)&&!p()?.contains(n)&&t()},r=e=>{e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),t())};return document.addEventListener(`mousedown`,n),document.addEventListener(`keydown`,r,{capture:!0}),()=>{document.removeEventListener(`mousedown`,n),document.removeEventListener(`keydown`,r,{capture:!0})}},[e,t]),d?(0,L.jsx)(`div`,{ref:l,popover:`manual`,role:a,"aria-label":i,inert:!e||void 0,"data-side":o,"data-align":s,className:D(e?`fade-in`:`menu-out`,`menu-pop min-w-[260px] overflow-y-auto`,ue,r),children:n}):null}function fe({checked:e,onSelect:t,role:n,children:r}){return(0,L.jsxs)(`button`,{type:`button`,role:n,"aria-checked":e,onClick:t,className:D(o,`gap-2 aria-checked:bg-transparent`),children:[r,(0,L.jsx)(`span`,{"aria-hidden":`true`,className:`w-[18px] text-accent-fg`,children:e?`✓`:``})]})}function pe({onClick:e,children:t}){return(0,L.jsx)(`button`,{type:`button`,role:`menuitem`,onClick:e,className:o,children:t})}var me=`ph:acorn.ph:activity.ph:address-book.ph:address-book-tabs.ph:air-traffic-control.ph:airplane.ph:airplane-in-flight.ph:airplane-landing.ph:airplane-takeoff.ph:airplane-taxiing.ph:airplane-tilt.ph:airplay.ph:alarm.ph:alien.ph:align-bottom.ph:align-bottom-simple.ph:align-center-horizontal.ph:align-center-horizontal-simple.ph:align-center-vertical.ph:align-center-vertical-simple.ph:align-left.ph:align-left-simple.ph:align-right.ph:align-right-simple.ph:align-top.ph:align-top-simple.ph:amazon-logo.ph:ambulance.ph:anchor.ph:anchor-simple.ph:android-logo.ph:angle.ph:angular-logo.ph:aperture.ph:app-store-logo.ph:app-window.ph:apple-logo.ph:apple-podcasts-logo.ph:approximate-equals.ph:archive.ph:armchair.ph:arrow-arc-left.ph:arrow-arc-right.ph:arrow-bend-double-up-left.ph:arrow-bend-double-up-right.ph:arrow-bend-down-left.ph:arrow-bend-down-right.ph:arrow-bend-left-down.ph:arrow-bend-left-up.ph:arrow-bend-right-down.ph:arrow-bend-right-up.ph:arrow-bend-up-left.ph:arrow-bend-up-right.ph:arrow-circle-down.ph:arrow-circle-down-left.ph:arrow-circle-down-right.ph:arrow-circle-left.ph:arrow-circle-right.ph:arrow-circle-up.ph:arrow-circle-up-left.ph:arrow-circle-up-right.ph:arrow-clockwise.ph:arrow-counter-clockwise.ph:arrow-down.ph:arrow-down-left.ph:arrow-down-right.ph:arrow-elbow-down-left.ph:arrow-elbow-down-right.ph:arrow-elbow-left.ph:arrow-elbow-left-down.ph:arrow-elbow-left-up.ph:arrow-elbow-right.ph:arrow-elbow-right-down.ph:arrow-elbow-right-up.ph:arrow-elbow-up-left.ph:arrow-elbow-up-right.ph:arrow-fat-down.ph:arrow-fat-left.ph:arrow-fat-line-down.ph:arrow-fat-line-left.ph:arrow-fat-line-right.ph:arrow-fat-line-up.ph:arrow-fat-lines-down.ph:arrow-fat-lines-left.ph:arrow-fat-lines-right.ph:arrow-fat-lines-up.ph:arrow-fat-right.ph:arrow-fat-up.ph:arrow-left.ph:arrow-line-down.ph:arrow-line-down-left.ph:arrow-line-down-right.ph:arrow-line-left.ph:arrow-line-right.ph:arrow-line-up.ph:arrow-line-up-left.ph:arrow-line-up-right.ph:arrow-right.ph:arrow-square-down.ph:arrow-square-down-left.ph:arrow-square-down-right.ph:arrow-square-in.ph:arrow-square-left.ph:arrow-square-out.ph:arrow-square-right.ph:arrow-square-up.ph:arrow-square-up-left.ph:arrow-square-up-right.ph:arrow-u-down-left.ph:arrow-u-down-right.ph:arrow-u-left-down.ph:arrow-u-left-up.ph:arrow-u-right-down.ph:arrow-u-right-up.ph:arrow-u-up-left.ph:arrow-u-up-right.ph:arrow-up.ph:arrow-up-left.ph:arrow-up-right.ph:arrows-clockwise.ph:arrows-counter-clockwise.ph:arrows-down-up.ph:arrows-horizontal.ph:arrows-in.ph:arrows-in-cardinal.ph:arrows-in-line-horizontal.ph:arrows-in-line-vertical.ph:arrows-in-simple.ph:arrows-left-right.ph:arrows-merge.ph:arrows-out.ph:arrows-out-cardinal.ph:arrows-out-line-horizontal.ph:arrows-out-line-vertical.ph:arrows-out-simple.ph:arrows-split.ph:arrows-vertical.ph:article.ph:article-medium.ph:article-ny-times.ph:asclepius.ph:asterisk.ph:asterisk-simple.ph:at.ph:atom.ph:avocado.ph:axe.ph:baby.ph:baby-carriage.ph:backpack.ph:backspace.ph:bag.ph:bag-simple.ph:balloon.ph:bandaids.ph:bank.ph:barbell.ph:barcode.ph:barn.ph:barricade.ph:baseball.ph:baseball-cap.ph:baseball-helmet.ph:basket.ph:basketball.ph:bathtub.ph:battery-charging.ph:battery-charging-vertical.ph:battery-empty.ph:battery-full.ph:battery-high.ph:battery-low.ph:battery-medium.ph:battery-plus.ph:battery-plus-vertical.ph:battery-vertical-empty.ph:battery-vertical-full.ph:battery-vertical-high.ph:battery-vertical-low.ph:battery-vertical-medium.ph:battery-warning.ph:battery-warning-vertical.ph:beach-ball.ph:beanie.ph:bed.ph:beer-bottle.ph:beer-stein.ph:behance-logo.ph:bell.ph:bell-ringing.ph:bell-simple.ph:bell-simple-ringing.ph:bell-simple-slash.ph:bell-simple-z.ph:bell-slash.ph:bell-z.ph:belt.ph:bezier-curve.ph:bicycle.ph:binary.ph:binoculars.ph:biohazard.ph:bird.ph:blueprint.ph:bluetooth.ph:bluetooth-connected.ph:bluetooth-slash.ph:bluetooth-x.ph:boat.ph:bomb.ph:bone.ph:book.ph:book-bookmark.ph:book-open.ph:book-open-text.ph:book-open-user.ph:bookmark.ph:bookmark-simple.ph:bookmarks.ph:bookmarks-simple.ph:books.ph:boot.ph:boules.ph:bounding-box.ph:bowl-food.ph:bowl-steam.ph:bowling-ball.ph:box-arrow-down.ph:box-arrow-up.ph:boxing-glove.ph:brackets-angle.ph:brackets-curly.ph:brackets-round.ph:brackets-square.ph:brain.ph:brandy.ph:bread.ph:bridge.ph:briefcase.ph:briefcase-metal.ph:briefcase-simple.ph:broadcast.ph:broom.ph:browser.ph:browsers.ph:bug.ph:bug-beetle.ph:bug-droid.ph:building.ph:building-apartment.ph:building-office.ph:buildings.ph:bulldozer.ph:bus.ph:butterfly.ph:cable-car.ph:cactus.ph:cake.ph:calculator.ph:calendar.ph:calendar-blank.ph:calendar-check.ph:calendar-dot.ph:calendar-dots.ph:calendar-heart.ph:calendar-minus.ph:calendar-plus.ph:calendar-slash.ph:calendar-star.ph:calendar-x.ph:call-bell.ph:camera.ph:camera-plus.ph:camera-rotate.ph:camera-slash.ph:campfire.ph:car.ph:car-battery.ph:car-profile.ph:car-simple.ph:cardholder.ph:cards.ph:cards-three.ph:caret-circle-double-down.ph:caret-circle-double-left.ph:caret-circle-double-right.ph:caret-circle-double-up.ph:caret-circle-down.ph:caret-circle-left.ph:caret-circle-right.ph:caret-circle-up.ph:caret-circle-up-down.ph:caret-double-down.ph:caret-double-left.ph:caret-double-right.ph:caret-double-up.ph:caret-down.ph:caret-left.ph:caret-line-down.ph:caret-line-left.ph:caret-line-right.ph:caret-line-up.ph:caret-right.ph:caret-up.ph:caret-up-down.ph:carrot.ph:cash-register.ph:cassette-tape.ph:castle-turret.ph:cat.ph:cell-signal-full.ph:cell-signal-high.ph:cell-signal-low.ph:cell-signal-medium.ph:cell-signal-none.ph:cell-signal-slash.ph:cell-signal-x.ph:cell-tower.ph:certificate.ph:chair.ph:chalkboard.ph:chalkboard-simple.ph:chalkboard-teacher.ph:champagne.ph:charging-station.ph:chart-bar.ph:chart-bar-horizontal.ph:chart-donut.ph:chart-line.ph:chart-line-down.ph:chart-line-up.ph:chart-pie.ph:chart-pie-slice.ph:chart-polar.ph:chart-scatter.ph:chat.ph:chat-centered.ph:chat-centered-dots.ph:chat-centered-slash.ph:chat-centered-text.ph:chat-circle.ph:chat-circle-dots.ph:chat-circle-slash.ph:chat-circle-text.ph:chat-dots.ph:chat-slash.ph:chat-teardrop.ph:chat-teardrop-dots.ph:chat-teardrop-slash.ph:chat-teardrop-text.ph:chat-text.ph:chats.ph:chats-circle.ph:chats-teardrop.ph:check.ph:check-circle.ph:check-fat.ph:check-square.ph:check-square-offset.ph:checkerboard.ph:checks.ph:cheers.ph:cheese.ph:chef-hat.ph:cherries.ph:church.ph:cigarette.ph:cigarette-slash.ph:circle.ph:circle-dashed.ph:circle-half.ph:circle-half-tilt.ph:circle-notch.ph:circle-wavy.ph:circle-wavy-check.ph:circle-wavy-question.ph:circle-wavy-warning.ph:circles-four.ph:circles-three.ph:circles-three-plus.ph:circuitry.ph:city.ph:clipboard.ph:clipboard-text.ph:clock.ph:clock-afternoon.ph:clock-clockwise.ph:clock-countdown.ph:clock-counter-clockwise.ph:clock-user.ph:closed-captioning.ph:cloud.ph:cloud-arrow-down.ph:cloud-arrow-up.ph:cloud-check.ph:cloud-fog.ph:cloud-lightning.ph:cloud-moon.ph:cloud-rain.ph:cloud-slash.ph:cloud-snow.ph:cloud-sun.ph:cloud-warning.ph:cloud-x.ph:clover.ph:club.ph:coat-hanger.ph:coda-logo.ph:code.ph:code-block.ph:code-simple.ph:codepen-logo.ph:codesandbox-logo.ph:coffee.ph:coffee-bean.ph:coin.ph:coin-vertical.ph:coins.ph:columns.ph:columns-plus-left.ph:columns-plus-right.ph:command.ph:compass.ph:compass-rose.ph:compass-tool.ph:computer-tower.ph:confetti.ph:contactless-payment.ph:control.ph:cookie.ph:cooking-pot.ph:copy.ph:copy-simple.ph:copyleft.ph:copyright.ph:corners-in.ph:corners-out.ph:couch.ph:court-basketball.ph:cow.ph:cowboy-hat.ph:cpu.ph:crane.ph:crane-tower.ph:credit-card.ph:cricket.ph:crop.ph:cross.ph:crosshair.ph:crosshair-simple.ph:crown.ph:crown-cross.ph:crown-simple.ph:cube.ph:cube-focus.ph:cube-transparent.ph:currency-btc.ph:currency-circle-dollar.ph:currency-cny.ph:currency-dollar.ph:currency-dollar-simple.ph:currency-eth.ph:currency-eur.ph:currency-gbp.ph:currency-inr.ph:currency-jpy.ph:currency-krw.ph:currency-kzt.ph:currency-ngn.ph:currency-rub.ph:cursor.ph:cursor-click.ph:cursor-text.ph:cylinder.ph:database.ph:desk.ph:desktop.ph:desktop-tower.ph:detective.ph:dev-to-logo.ph:device-mobile.ph:device-mobile-camera.ph:device-mobile-slash.ph:device-mobile-speaker.ph:device-rotate.ph:device-tablet.ph:device-tablet-camera.ph:device-tablet-speaker.ph:devices.ph:diamond.ph:diamonds-four.ph:dice-five.ph:dice-four.ph:dice-one.ph:dice-six.ph:dice-three.ph:dice-two.ph:disc.ph:disco-ball.ph:discord-logo.ph:divide.ph:dna.ph:dog.ph:door.ph:door-open.ph:dot.ph:dot-outline.ph:dots-nine.ph:dots-six.ph:dots-six-vertical.ph:dots-three.ph:dots-three-circle.ph:dots-three-circle-vertical.ph:dots-three-outline.ph:dots-three-outline-vertical.ph:dots-three-vertical.ph:download.ph:download-simple.ph:dress.ph:dresser.ph:dribbble-logo.ph:drone.ph:drop.ph:drop-half.ph:drop-half-bottom.ph:drop-simple.ph:drop-slash.ph:dropbox-logo.ph:ear.ph:ear-slash.ph:egg.ph:egg-crack.ph:eject.ph:eject-simple.ph:elevator.ph:empty.ph:engine.ph:envelope.ph:envelope-open.ph:envelope-simple.ph:envelope-simple-open.ph:equalizer.ph:equals.ph:eraser.ph:escalator-down.ph:escalator-up.ph:exam.ph:exclamation-mark.ph:exclude.ph:exclude-square.ph:export.ph:eye.ph:eye-closed.ph:eye-slash.ph:eyedropper.ph:eyedropper-sample.ph:eyeglasses.ph:eyes.ph:face-mask.ph:facebook-logo.ph:factory.ph:faders.ph:faders-horizontal.ph:fallout-shelter.ph:fan.ph:farm.ph:fast-forward.ph:fast-forward-circle.ph:feather.ph:fediverse-logo.ph:figma-logo.ph:file.ph:file-archive.ph:file-arrow-down.ph:file-arrow-up.ph:file-audio.ph:file-c.ph:file-c-sharp.ph:file-cloud.ph:file-code.ph:file-cpp.ph:file-css.ph:file-csv.ph:file-dashed.ph:file-doc.ph:file-dotted.ph:file-html.ph:file-image.ph:file-ini.ph:file-jpg.ph:file-js.ph:file-jsx.ph:file-lock.ph:file-magnifying-glass.ph:file-md.ph:file-minus.ph:file-pdf.ph:file-plus.ph:file-png.ph:file-ppt.ph:file-py.ph:file-rs.ph:file-search.ph:file-sql.ph:file-svg.ph:file-text.ph:file-ts.ph:file-tsx.ph:file-txt.ph:file-video.ph:file-vue.ph:file-x.ph:file-xls.ph:file-zip.ph:files.ph:film-reel.ph:film-script.ph:film-slate.ph:film-strip.ph:fingerprint.ph:fingerprint-simple.ph:finn-the-human.ph:fire.ph:fire-extinguisher.ph:fire-simple.ph:fire-truck.ph:first-aid.ph:first-aid-kit.ph:fish.ph:fish-simple.ph:flag.ph:flag-banner.ph:flag-banner-fold.ph:flag-checkered.ph:flag-pennant.ph:flame.ph:flashlight.ph:flask.ph:flip-horizontal.ph:flip-vertical.ph:floppy-disk.ph:floppy-disk-back.ph:flow-arrow.ph:flower.ph:flower-lotus.ph:flower-tulip.ph:flying-saucer.ph:folder.ph:folder-dashed.ph:folder-dotted.ph:folder-lock.ph:folder-minus.ph:folder-notch.ph:folder-notch-minus.ph:folder-notch-open.ph:folder-notch-plus.ph:folder-open.ph:folder-plus.ph:folder-simple.ph:folder-simple-dashed.ph:folder-simple-dotted.ph:folder-simple-lock.ph:folder-simple-minus.ph:folder-simple-plus.ph:folder-simple-star.ph:folder-simple-user.ph:folder-star.ph:folder-user.ph:folders.ph:football.ph:football-helmet.ph:footprints.ph:fork-knife.ph:four-k.ph:frame-corners.ph:framer-logo.ph:function.ph:funnel.ph:funnel-simple.ph:funnel-simple-x.ph:funnel-x.ph:game-controller.ph:garage.ph:gas-can.ph:gas-pump.ph:gauge.ph:gavel.ph:gear.ph:gear-fine.ph:gear-six.ph:gender-female.ph:gender-intersex.ph:gender-male.ph:gender-neuter.ph:gender-nonbinary.ph:gender-transgender.ph:ghost.ph:gif.ph:gift.ph:git-branch.ph:git-commit.ph:git-diff.ph:git-fork.ph:git-merge.ph:git-pull-request.ph:github-logo.ph:gitlab-logo.ph:gitlab-logo-simple.ph:globe.ph:globe-hemisphere-east.ph:globe-hemisphere-west.ph:globe-simple.ph:globe-simple-x.ph:globe-stand.ph:globe-x.ph:goggles.ph:golf.ph:goodreads-logo.ph:google-cardboard-logo.ph:google-chrome-logo.ph:google-drive-logo.ph:google-logo.ph:google-photos-logo.ph:google-play-logo.ph:google-podcasts-logo.ph:gps.ph:gps-fix.ph:gps-slash.ph:gradient.ph:graduation-cap.ph:grains.ph:grains-slash.ph:graph.ph:graphics-card.ph:greater-than.ph:greater-than-or-equal.ph:grid-four.ph:grid-nine.ph:guitar.ph:hair-dryer.ph:hamburger.ph:hammer.ph:hand.ph:hand-arrow-down.ph:hand-arrow-up.ph:hand-coins.ph:hand-deposit.ph:hand-eye.ph:hand-fist.ph:hand-grabbing.ph:hand-heart.ph:hand-palm.ph:hand-peace.ph:hand-pointing.ph:hand-soap.ph:hand-swipe-left.ph:hand-swipe-right.ph:hand-tap.ph:hand-waving.ph:hand-withdraw.ph:handbag.ph:handbag-simple.ph:hands-clapping.ph:hands-praying.ph:handshake.ph:hard-drive.ph:hard-drives.ph:hard-hat.ph:hash.ph:hash-straight.ph:head-circuit.ph:headlights.ph:headphones.ph:headset.ph:heart.ph:heart-break.ph:heart-half.ph:heart-straight.ph:heart-straight-break.ph:heartbeat.ph:hexagon.ph:high-definition.ph:high-heel.ph:highlighter.ph:highlighter-circle.ph:hockey.ph:hoodie.ph:horse.ph:hospital.ph:hourglass.ph:hourglass-high.ph:hourglass-low.ph:hourglass-medium.ph:hourglass-simple.ph:hourglass-simple-high.ph:hourglass-simple-low.ph:hourglass-simple-medium.ph:house.ph:house-line.ph:house-simple.ph:hurricane.ph:ice-cream.ph:identification-badge.ph:identification-card.ph:image.ph:image-broken.ph:image-square.ph:images.ph:images-square.ph:infinity.ph:info.ph:instagram-logo.ph:intersect.ph:intersect-square.ph:intersect-three.ph:intersection.ph:invoice.ph:island.ph:jar.ph:jar-label.ph:jeep.ph:joystick.ph:kanban.ph:key.ph:key-return.ph:keyboard.ph:keyhole.ph:knife.ph:ladder.ph:ladder-simple.ph:lamp.ph:lamp-pendant.ph:laptop.ph:lasso.ph:lastfm-logo.ph:layout.ph:leaf.ph:lectern.ph:lego.ph:lego-smiley.ph:less-than.ph:less-than-or-equal.ph:letter-circle-h.ph:letter-circle-p.ph:letter-circle-v.ph:lifebuoy.ph:lightbulb.ph:lightbulb-filament.ph:lighthouse.ph:lightning.ph:lightning-a.ph:lightning-slash.ph:line-segment.ph:line-segments.ph:line-vertical.ph:link.ph:link-break.ph:link-simple.ph:link-simple-break.ph:link-simple-horizontal.ph:link-simple-horizontal-break.ph:linkedin-logo.ph:linktree-logo.ph:linux-logo.ph:list.ph:list-bullets.ph:list-checks.ph:list-dashes.ph:list-heart.ph:list-magnifying-glass.ph:list-numbers.ph:list-plus.ph:list-star.ph:lock.ph:lock-key.ph:lock-key-open.ph:lock-laminated.ph:lock-laminated-open.ph:lock-open.ph:lock-simple.ph:lock-simple-open.ph:lockers.ph:log.ph:magic-wand.ph:magnet.ph:magnet-straight.ph:magnifying-glass.ph:magnifying-glass-minus.ph:magnifying-glass-plus.ph:mailbox.ph:map-pin.ph:map-pin-area.ph:map-pin-line.ph:map-pin-plus.ph:map-pin-simple.ph:map-pin-simple-area.ph:map-pin-simple-line.ph:map-trifold.ph:markdown-logo.ph:marker-circle.ph:martini.ph:mask-happy.ph:mask-sad.ph:mastodon-logo.ph:math-operations.ph:matrix-logo.ph:medal.ph:medal-military.ph:medium-logo.ph:megaphone.ph:megaphone-simple.ph:member-of.ph:memory.ph:messenger-logo.ph:meta-logo.ph:meteor.ph:metronome.ph:microphone.ph:microphone-slash.ph:microphone-stage.ph:microscope.ph:microsoft-excel-logo.ph:microsoft-outlook-logo.ph:microsoft-powerpoint-logo.ph:microsoft-teams-logo.ph:microsoft-word-logo.ph:minus.ph:minus-circle.ph:minus-square.ph:money.ph:money-wavy.ph:monitor.ph:monitor-arrow-up.ph:monitor-play.ph:moon.ph:moon-stars.ph:moped.ph:moped-front.ph:mosque.ph:motorcycle.ph:mountains.ph:mouse.ph:mouse-left-click.ph:mouse-middle-click.ph:mouse-right-click.ph:mouse-scroll.ph:mouse-simple.ph:music-note.ph:music-note-simple.ph:music-notes.ph:music-notes-minus.ph:music-notes-plus.ph:music-notes-simple.ph:navigation-arrow.ph:needle.ph:network.ph:network-slash.ph:network-x.ph:newspaper.ph:newspaper-clipping.ph:not-equals.ph:not-member-of.ph:not-subset-of.ph:not-superset-of.ph:notches.ph:note.ph:note-blank.ph:note-pencil.ph:notebook.ph:notepad.ph:notification.ph:notion-logo.ph:nuclear-plant.ph:number-circle-eight.ph:number-circle-five.ph:number-circle-four.ph:number-circle-nine.ph:number-circle-one.ph:number-circle-seven.ph:number-circle-six.ph:number-circle-three.ph:number-circle-two.ph:number-circle-zero.ph:number-eight.ph:number-five.ph:number-four.ph:number-nine.ph:number-one.ph:number-seven.ph:number-six.ph:number-square-eight.ph:number-square-five.ph:number-square-four.ph:number-square-nine.ph:number-square-one.ph:number-square-seven.ph:number-square-six.ph:number-square-three.ph:number-square-two.ph:number-square-zero.ph:number-three.ph:number-two.ph:number-zero.ph:numpad.ph:nut.ph:ny-times-logo.ph:octagon.ph:office-chair.ph:onigiri.ph:open-ai-logo.ph:option.ph:orange.ph:orange-slice.ph:oven.ph:package.ph:paint-brush.ph:paint-brush-broad.ph:paint-brush-household.ph:paint-bucket.ph:paint-roller.ph:palette.ph:panorama.ph:pants.ph:paper-plane.ph:paper-plane-right.ph:paper-plane-tilt.ph:paperclip.ph:paperclip-horizontal.ph:parachute.ph:paragraph.ph:parallelogram.ph:park.ph:password.ph:path.ph:patreon-logo.ph:pause.ph:pause-circle.ph:paw-print.ph:paypal-logo.ph:peace.ph:pen.ph:pen-nib.ph:pen-nib-straight.ph:pencil.ph:pencil-circle.ph:pencil-line.ph:pencil-ruler.ph:pencil-simple.ph:pencil-simple-line.ph:pencil-simple-slash.ph:pencil-slash.ph:pentagon.ph:pentagram.ph:pepper.ph:percent.ph:person.ph:person-arms-spread.ph:person-simple.ph:person-simple-bike.ph:person-simple-circle.ph:person-simple-hike.ph:person-simple-run.ph:person-simple-ski.ph:person-simple-snowboard.ph:person-simple-swim.ph:person-simple-tai-chi.ph:person-simple-throw.ph:person-simple-walk.ph:perspective.ph:phone.ph:phone-call.ph:phone-disconnect.ph:phone-incoming.ph:phone-list.ph:phone-outgoing.ph:phone-pause.ph:phone-plus.ph:phone-slash.ph:phone-transfer.ph:phone-x.ph:phosphor-logo.ph:pi.ph:piano-keys.ph:picnic-table.ph:picture-in-picture.ph:piggy-bank.ph:pill.ph:ping-pong.ph:pint-glass.ph:pinterest-logo.ph:pinwheel.ph:pipe.ph:pipe-wrench.ph:pix-logo.ph:pizza.ph:placeholder.ph:planet.ph:plant.ph:play.ph:play-circle.ph:play-pause.ph:playlist.ph:plug.ph:plug-charging.ph:plugs.ph:plugs-connected.ph:plus.ph:plus-circle.ph:plus-minus.ph:plus-square.ph:poker-chip.ph:police-car.ph:polygon.ph:popcorn.ph:popsicle.ph:potted-plant.ph:power.ph:prescription.ph:presentation.ph:presentation-chart.ph:printer.ph:prohibit.ph:prohibit-inset.ph:projector-screen.ph:projector-screen-chart.ph:pulse.ph:push-pin.ph:push-pin-simple.ph:push-pin-simple-slash.ph:push-pin-slash.ph:puzzle-piece.ph:qr-code.ph:question.ph:question-mark.ph:queue.ph:quotes.ph:rabbit.ph:racquet.ph:radical.ph:radio.ph:radio-button.ph:radioactive.ph:rainbow.ph:rainbow-cloud.ph:ranking.ph:read-cv-logo.ph:receipt.ph:receipt-x.ph:record.ph:rectangle.ph:rectangle-dashed.ph:recycle.ph:reddit-logo.ph:repeat.ph:repeat-once.ph:replit-logo.ph:resize.ph:rewind.ph:rewind-circle.ph:road-horizon.ph:robot.ph:rocket.ph:rocket-launch.ph:rows.ph:rows-plus-bottom.ph:rows-plus-top.ph:rss.ph:rss-simple.ph:rug.ph:ruler.ph:sailboat.ph:scales.ph:scan.ph:scan-smiley.ph:scissors.ph:scooter.ph:screencast.ph:screwdriver.ph:scribble.ph:scribble-loop.ph:scroll.ph:seal.ph:seal-check.ph:seal-percent.ph:seal-question.ph:seal-warning.ph:seat.ph:seatbelt.ph:security-camera.ph:selection.ph:selection-all.ph:selection-background.ph:selection-foreground.ph:selection-inverse.ph:selection-plus.ph:selection-slash.ph:shapes.ph:share.ph:share-fat.ph:share-network.ph:shield.ph:shield-check.ph:shield-checkered.ph:shield-chevron.ph:shield-plus.ph:shield-slash.ph:shield-star.ph:shield-warning.ph:shipping-container.ph:shirt-folded.ph:shooting-star.ph:shopping-bag.ph:shopping-bag-open.ph:shopping-cart.ph:shopping-cart-simple.ph:shovel.ph:shower.ph:shrimp.ph:shuffle.ph:shuffle-angular.ph:shuffle-simple.ph:sidebar.ph:sidebar-simple.ph:sigma.ph:sign-in.ph:sign-out.ph:signature.ph:signpost.ph:sim-card.ph:siren.ph:sketch-logo.ph:skip-back.ph:skip-back-circle.ph:skip-forward.ph:skip-forward-circle.ph:skull.ph:skype-logo.ph:slack-logo.ph:sliders.ph:sliders-horizontal.ph:slideshow.ph:smiley.ph:smiley-angry.ph:smiley-blank.ph:smiley-meh.ph:smiley-melting.ph:smiley-nervous.ph:smiley-sad.ph:smiley-sticker.ph:smiley-wink.ph:smiley-x-eyes.ph:snapchat-logo.ph:sneaker.ph:sneaker-move.ph:snowflake.ph:soccer-ball.ph:sock.ph:solar-panel.ph:solar-roof.ph:sort-ascending.ph:sort-descending.ph:soundcloud-logo.ph:spade.ph:sparkle.ph:speaker-hifi.ph:speaker-high.ph:speaker-low.ph:speaker-none.ph:speaker-simple-high.ph:speaker-simple-low.ph:speaker-simple-none.ph:speaker-simple-slash.ph:speaker-simple-x.ph:speaker-slash.ph:speaker-x.ph:speedometer.ph:sphere.ph:spinner.ph:spinner-ball.ph:spinner-gap.ph:spiral.ph:split-horizontal.ph:split-vertical.ph:spotify-logo.ph:spray-bottle.ph:square.ph:square-half.ph:square-half-bottom.ph:square-logo.ph:square-split-horizontal.ph:square-split-vertical.ph:squares-four.ph:stack.ph:stack-minus.ph:stack-overflow-logo.ph:stack-plus.ph:stack-simple.ph:stairs.ph:stamp.ph:standard-definition.ph:star.ph:star-and-crescent.ph:star-four.ph:star-half.ph:star-of-david.ph:steam-logo.ph:steering-wheel.ph:steps.ph:stethoscope.ph:sticker.ph:stool.ph:stop.ph:stop-circle.ph:storefront.ph:strategy.ph:stripe-logo.ph:student.ph:subset-of.ph:subset-proper-of.ph:subtitles.ph:subtitles-slash.ph:subtract.ph:subtract-square.ph:subway.ph:suitcase.ph:suitcase-rolling.ph:suitcase-simple.ph:sun.ph:sun-dim.ph:sun-horizon.ph:sunglasses.ph:superset-of.ph:superset-proper-of.ph:swap.ph:swatches.ph:swimming-pool.ph:sword.ph:synagogue.ph:syringe.ph:t-shirt.ph:table.ph:tabs.ph:tag.ph:tag-chevron.ph:tag-simple.ph:target.ph:taxi.ph:tea-bag.ph:telegram-logo.ph:television.ph:television-simple.ph:tennis-ball.ph:tent.ph:terminal.ph:terminal-window.ph:test-tube.ph:text-a-underline.ph:text-aa.ph:text-align-center.ph:text-align-justify.ph:text-align-left.ph:text-align-right.ph:text-b.ph:text-bolder.ph:text-columns.ph:text-h.ph:text-h-five.ph:text-h-four.ph:text-h-one.ph:text-h-six.ph:text-h-three.ph:text-h-two.ph:text-indent.ph:text-italic.ph:text-outdent.ph:text-strikethrough.ph:text-subscript.ph:text-superscript.ph:text-t.ph:text-t-slash.ph:text-underline.ph:textbox.ph:thermometer.ph:thermometer-cold.ph:thermometer-hot.ph:thermometer-simple.ph:threads-logo.ph:three-d.ph:thumbs-down.ph:thumbs-up.ph:ticket.ph:tidal-logo.ph:tiktok-logo.ph:tilde.ph:timer.ph:tip-jar.ph:tipi.ph:tire.ph:toggle-left.ph:toggle-right.ph:toilet.ph:toilet-paper.ph:toolbox.ph:tooth.ph:tornado.ph:tote.ph:tote-simple.ph:towel.ph:tractor.ph:trademark.ph:trademark-registered.ph:traffic-cone.ph:traffic-sign.ph:traffic-signal.ph:train.ph:train-regional.ph:train-simple.ph:tram.ph:translate.ph:trash.ph:trash-simple.ph:tray.ph:tray-arrow-down.ph:tray-arrow-up.ph:treasure-chest.ph:tree.ph:tree-evergreen.ph:tree-palm.ph:tree-structure.ph:tree-view.ph:trend-down.ph:trend-up.ph:triangle.ph:triangle-dashed.ph:trolley.ph:trolley-suitcase.ph:trophy.ph:truck.ph:truck-trailer.ph:tumblr-logo.ph:twitch-logo.ph:twitter-logo.ph:umbrella.ph:umbrella-simple.ph:union.ph:unite.ph:unite-square.ph:upload.ph:upload-simple.ph:usb.ph:user.ph:user-check.ph:user-circle.ph:user-circle-check.ph:user-circle-dashed.ph:user-circle-gear.ph:user-circle-minus.ph:user-circle-plus.ph:user-focus.ph:user-gear.ph:user-list.ph:user-minus.ph:user-plus.ph:user-rectangle.ph:user-sound.ph:user-square.ph:user-switch.ph:users.ph:users-four.ph:users-three.ph:van.ph:vault.ph:vector-three.ph:vector-two.ph:vibrate.ph:video.ph:video-camera.ph:video-camera-slash.ph:video-conference.ph:vignette.ph:vinyl-record.ph:virtual-reality.ph:virus.ph:visor.ph:voicemail.ph:volleyball.ph:wall.ph:wallet.ph:warehouse.ph:warning.ph:warning-circle.ph:warning-diamond.ph:warning-octagon.ph:washing-machine.ph:watch.ph:wave-sawtooth.ph:wave-sine.ph:wave-square.ph:wave-triangle.ph:waveform.ph:waveform-slash.ph:waves.ph:webcam.ph:webcam-slash.ph:webhooks-logo.ph:wechat-logo.ph:whatsapp-logo.ph:wheelchair.ph:wheelchair-motion.ph:wifi-high.ph:wifi-low.ph:wifi-medium.ph:wifi-none.ph:wifi-slash.ph:wifi-x.ph:wind.ph:windmill.ph:windows-logo.ph:wine.ph:wrench.ph:x.ph:x-circle.ph:x-logo.ph:x-square.ph:yarn.ph:yin-yang.ph:youtube-logo.lucide:a-arrow-down.lucide:a-arrow-up.lucide:a-large-small.lucide:accessibility.lucide:activity.lucide:ad.lucide:air-vent.lucide:airplay.lucide:alarm-clock.lucide:alarm-clock-check.lucide:alarm-clock-minus.lucide:alarm-clock-off.lucide:alarm-clock-plus.lucide:alarm-smoke.lucide:album.lucide:align-center.lucide:align-center-horizontal.lucide:align-center-vertical.lucide:align-end-horizontal.lucide:align-end-vertical.lucide:align-horizontal-distribute-center.lucide:align-horizontal-distribute-end.lucide:align-horizontal-distribute-start.lucide:align-horizontal-justify-center.lucide:align-horizontal-justify-end.lucide:align-horizontal-justify-start.lucide:align-horizontal-space-around.lucide:align-horizontal-space-between.lucide:align-justify.lucide:align-left.lucide:align-right.lucide:align-start-horizontal.lucide:align-start-vertical.lucide:align-vertical-distribute-center.lucide:align-vertical-distribute-end.lucide:align-vertical-distribute-start.lucide:align-vertical-justify-center.lucide:align-vertical-justify-end.lucide:align-vertical-justify-start.lucide:align-vertical-space-around.lucide:align-vertical-space-between.lucide:ambulance.lucide:ampersand.lucide:ampersands.lucide:amphora.lucide:anchor.lucide:angle.lucide:angry.lucide:annoyed.lucide:antenna.lucide:anvil.lucide:aperture.lucide:app-window.lucide:app-window-mac.lucide:apple.lucide:archive.lucide:archive-restore.lucide:archive-x.lucide:area-chart.lucide:armchair.lucide:armenian-dram.lucide:arrow-big-down.lucide:arrow-big-down-dash.lucide:arrow-big-left.lucide:arrow-big-left-dash.lucide:arrow-big-right.lucide:arrow-big-right-dash.lucide:arrow-big-up.lucide:arrow-big-up-dash.lucide:arrow-down.lucide:arrow-down-0-1.lucide:arrow-down-1-0.lucide:arrow-down-a-z.lucide:arrow-down-from-line.lucide:arrow-down-left.lucide:arrow-down-narrow-wide.lucide:arrow-down-right.lucide:arrow-down-to-dot.lucide:arrow-down-to-line.lucide:arrow-down-up.lucide:arrow-down-wide-narrow.lucide:arrow-down-z-a.lucide:arrow-left.lucide:arrow-left-from-line.lucide:arrow-left-right.lucide:arrow-left-to-line.lucide:arrow-right.lucide:arrow-right-from-line.lucide:arrow-right-left.lucide:arrow-right-to-line.lucide:arrow-up.lucide:arrow-up-0-1.lucide:arrow-up-1-0.lucide:arrow-up-a-z.lucide:arrow-up-down.lucide:arrow-up-from-dot.lucide:arrow-up-from-line.lucide:arrow-up-left.lucide:arrow-up-narrow-wide.lucide:arrow-up-right.lucide:arrow-up-to-line.lucide:arrow-up-wide-narrow.lucide:arrow-up-z-a.lucide:arrows-up-from-line.lucide:asterisk.lucide:astroid.lucide:at-sign.lucide:atom.lucide:audio-lines.lucide:audio-lines-off.lucide:audio-lines-x.lucide:audio-waveform.lucide:avocado.lucide:award.lucide:axe.lucide:axis-3d.lucide:baby.lucide:backpack.lucide:bacon.lucide:badge.lucide:badge-alert.lucide:badge-cent.lucide:badge-check.lucide:badge-dollar-sign.lucide:badge-euro.lucide:badge-indian-rupee.lucide:badge-info.lucide:badge-japanese-yen.lucide:badge-minus.lucide:badge-percent.lucide:badge-plus.lucide:badge-pound-sterling.lucide:badge-question-mark.lucide:badge-russian-ruble.lucide:badge-swiss-franc.lucide:badge-turkish-lira.lucide:badge-x.lucide:baggage-claim.lucide:balloon.lucide:ban.lucide:banana.lucide:bandage.lucide:bangladeshi-taka.lucide:banknote.lucide:banknote-arrow-down.lucide:banknote-arrow-up.lucide:banknote-check.lucide:banknote-x.lucide:bar-chart-3.lucide:bar-chart-4.lucide:bar-chart-big.lucide:bar-chart-horizontal.lucide:bar-chart-horizontal-big.lucide:barcode.lucide:barrel.lucide:baseline.lucide:bath.lucide:battery.lucide:battery-charging.lucide:battery-full.lucide:battery-low.lucide:battery-medium.lucide:battery-plus.lucide:battery-warning.lucide:beaker.lucide:bean.lucide:bean-off.lucide:bed.lucide:bed-double.lucide:bed-single.lucide:beef.lucide:beef-off.lucide:beer.lucide:beer-off.lucide:belarusian-ruble.lucide:bell.lucide:bell-check.lucide:bell-dot.lucide:bell-electric.lucide:bell-minus.lucide:bell-off.lucide:bell-plus.lucide:bell-ring.lucide:between-horizontal-end.lucide:between-horizontal-start.lucide:between-vertical-end.lucide:between-vertical-start.lucide:biceps-flexed.lucide:bike.lucide:binary.lucide:binoculars.lucide:biohazard.lucide:bird.lucide:birdhouse.lucide:bitcoin.lucide:blend.lucide:blender.lucide:blinds.lucide:blocks.lucide:bluetooth.lucide:bluetooth-connected.lucide:bluetooth-off.lucide:bluetooth-searching.lucide:bold.lucide:bolt.lucide:bomb.lucide:bone.lucide:bone-fracture.lucide:book.lucide:book-a.lucide:book-alert.lucide:book-audio.lucide:book-bookmark.lucide:book-check.lucide:book-copy.lucide:book-dashed.lucide:book-down.lucide:book-headphones.lucide:book-heart.lucide:book-image.lucide:book-key.lucide:book-lock.lucide:book-marked.lucide:book-minus.lucide:book-open.lucide:book-open-check.lucide:book-open-text.lucide:book-plus.lucide:book-search.lucide:book-text.lucide:book-type.lucide:book-up.lucide:book-up-2.lucide:book-user.lucide:book-x.lucide:bookmark.lucide:bookmark-check.lucide:bookmark-minus.lucide:bookmark-off.lucide:bookmark-plus.lucide:bookmark-x.lucide:boom-box.lucide:bot.lucide:bot-message-square.lucide:bot-off.lucide:bottle-wine.lucide:bow-arrow.lucide:box.lucide:boxes.lucide:braces.lucide:brackets.lucide:brain.lucide:brain-circuit.lucide:brain-cog.lucide:brain-off.lucide:brick-wall.lucide:brick-wall-fire.lucide:brick-wall-shield.lucide:bridge.lucide:briefcase.lucide:briefcase-business.lucide:briefcase-conveyor-belt.lucide:briefcase-medical.lucide:briefcase-plus.lucide:bring-to-front.lucide:broccoli.lucide:broom.lucide:broom-sparkles.lucide:brush.lucide:brush-cleaning.lucide:bubbles.lucide:bug.lucide:bug-off.lucide:bug-play.lucide:building.lucide:building-complex.lucide:building-complex-plus.lucide:bus.lucide:bus-front.lucide:cable.lucide:cable-car.lucide:cake.lucide:cake-slice.lucide:calculator.lucide:calendar.lucide:calendar-1.lucide:calendar-arrow-down.lucide:calendar-arrow-up.lucide:calendar-check.lucide:calendar-check-2.lucide:calendar-chevrons-left.lucide:calendar-chevrons-right.lucide:calendar-clock.lucide:calendar-cog.lucide:calendar-days.lucide:calendar-fold.lucide:calendar-heart.lucide:calendar-minus.lucide:calendar-minus-2.lucide:calendar-off.lucide:calendar-plus.lucide:calendar-plus-2.lucide:calendar-range.lucide:calendar-search.lucide:calendar-sync.lucide:calendar-x.lucide:calendar-x-2.lucide:calendars.lucide:camera.lucide:camera-off.lucide:can.lucide:can-soda.lucide:candlestick-chart.lucide:candy.lucide:candy-cane.lucide:candy-off.lucide:cannabis.lucide:cannabis-off.lucide:captions.lucide:captions-off.lucide:car.lucide:car-battery.lucide:car-front.lucide:car-taxi-front.lucide:caravan.lucide:card-sim.lucide:carrot.lucide:carton.lucide:carton-off.lucide:case-lower.lucide:case-sensitive.lucide:case-upper.lucide:cassette-tape.lucide:cast.lucide:castle.lucide:cat.lucide:cctv.lucide:cctv-off.lucide:certificate.lucide:chart-area.lucide:chart-bar.lucide:chart-bar-big.lucide:chart-bar-decreasing.lucide:chart-bar-increasing.lucide:chart-bar-stacked.lucide:chart-candlestick.lucide:chart-column.lucide:chart-column-big.lucide:chart-column-decreasing.lucide:chart-column-increasing.lucide:chart-column-stacked.lucide:chart-gantt.lucide:chart-line.lucide:chart-network.lucide:chart-no-axes-column.lucide:chart-no-axes-column-decreasing.lucide:chart-no-axes-column-increasing.lucide:chart-no-axes-combined.lucide:chart-no-axes-gantt.lucide:chart-pie.lucide:chart-scatter.lucide:chart-spline.lucide:check.lucide:check-check.lucide:check-line.lucide:chef-hat.lucide:cherry.lucide:chess-bishop.lucide:chess-king.lucide:chess-knight.lucide:chess-pawn.lucide:chess-queen.lucide:chess-rook.lucide:chevron-down.lucide:chevron-first.lucide:chevron-last.lucide:chevron-left.lucide:chevron-right.lucide:chevron-up.lucide:chevrons-down.lucide:chevrons-down-up.lucide:chevrons-left.lucide:chevrons-left-right.lucide:chevrons-left-right-ellipsis.lucide:chevrons-right.lucide:chevrons-right-left.lucide:chevrons-up.lucide:chevrons-up-down.lucide:chrome.lucide:chromium.lucide:church.lucide:cigarette.lucide:cigarette-off.lucide:circle.lucide:circle-alert.lucide:circle-arrow-down.lucide:circle-arrow-left.lucide:circle-arrow-out-down-left.lucide:circle-arrow-out-down-right.lucide:circle-arrow-out-up-left.lucide:circle-arrow-out-up-right.lucide:circle-arrow-right.lucide:circle-arrow-up.lucide:circle-check.lucide:circle-check-big.lucide:circle-chevron-down.lucide:circle-chevron-left.lucide:circle-chevron-right.lucide:circle-chevron-up.lucide:circle-chevrons-down.lucide:circle-chevrons-left.lucide:circle-chevrons-right.lucide:circle-chevrons-up.lucide:circle-dashed.lucide:circle-dashed-check.lucide:circle-divide.lucide:circle-dollar-sign.lucide:circle-dot.lucide:circle-dot-dashed.lucide:circle-ellipsis.lucide:circle-equal.lucide:circle-euro.lucide:circle-fading-arrow-up.lucide:circle-fading-play.lucide:circle-fading-plus.lucide:circle-gauge.lucide:circle-minus.lucide:circle-off.lucide:circle-parking.lucide:circle-parking-off.lucide:circle-pause.lucide:circle-percent.lucide:circle-pile.lucide:circle-play.lucide:circle-plus.lucide:circle-pound-sterling.lucide:circle-power.lucide:circle-question-mark.lucide:circle-slash.lucide:circle-slash-2.lucide:circle-small.lucide:circle-star.lucide:circle-stop.lucide:circle-user.lucide:circle-user-round.lucide:circle-x.lucide:circuit-board.lucide:citrus.lucide:clapperboard.lucide:clef-alto.lucide:clef-bass.lucide:clef-treble.lucide:clipboard.lucide:clipboard-check.lucide:clipboard-clock.lucide:clipboard-copy.lucide:clipboard-list.lucide:clipboard-minus.lucide:clipboard-paste.lucide:clipboard-pen.lucide:clipboard-pen-line.lucide:clipboard-plus.lucide:clipboard-type.lucide:clipboard-x.lucide:clock.lucide:clock-1.lucide:clock-10.lucide:clock-11.lucide:clock-12.lucide:clock-2.lucide:clock-3.lucide:clock-4.lucide:clock-5.lucide:clock-6.lucide:clock-7.lucide:clock-8.lucide:clock-9.lucide:clock-alert.lucide:clock-arrow-down.lucide:clock-arrow-left.lucide:clock-arrow-right.lucide:clock-arrow-up.lucide:clock-check.lucide:clock-fading.lucide:clock-plus.lucide:closed-caption.lucide:cloud.lucide:cloud-alert.lucide:cloud-backup.lucide:cloud-check.lucide:cloud-cog.lucide:cloud-download.lucide:cloud-drizzle.lucide:cloud-fog.lucide:cloud-hail.lucide:cloud-lightning.lucide:cloud-moon.lucide:cloud-moon-rain.lucide:cloud-off.lucide:cloud-rain.lucide:cloud-rain-wind.lucide:cloud-snow.lucide:cloud-sun.lucide:cloud-sun-rain.lucide:cloud-sync.lucide:cloud-upload.lucide:cloudy.lucide:clover.lucide:club.lucide:code.lucide:code-xml.lucide:codepen.lucide:codesandbox.lucide:coffee.lucide:cog.lucide:coins.lucide:columns-2.lucide:columns-3.lucide:columns-3-cog.lucide:columns-4.lucide:combine.lucide:command.lucide:compass.lucide:component.lucide:computer.lucide:concierge-bell.lucide:cone.lucide:construction.lucide:contact.lucide:contact-round.lucide:container.lucide:contrast.lucide:cookie.lucide:cooking-pot.lucide:copy.lucide:copy-check.lucide:copy-minus.lucide:copy-plus.lucide:copy-slash.lucide:copy-x.lucide:copyleft.lucide:copyright.lucide:corner-down-left.lucide:corner-down-right.lucide:corner-left-down.lucide:corner-left-up.lucide:corner-right-down.lucide:corner-right-up.lucide:corner-up-left.lucide:corner-up-right.lucide:cpu.lucide:cpu-ai.lucide:creative-commons.lucide:credit-card.lucide:credit-card-check.lucide:credit-card-minus.lucide:credit-card-plus.lucide:credit-card-reader.lucide:credit-card-x.lucide:croissant.lucide:crop.lucide:cross.lucide:crosshair.lucide:crown.lucide:cuboid.lucide:cup-soda.lucide:cupcake.lucide:currency.lucide:cylinder.lucide:dam.lucide:database.lucide:database-arrow-down.lucide:database-arrow-up.lucide:database-backup.lucide:database-check.lucide:database-minus.lucide:database-plus.lucide:database-search.lucide:database-x.lucide:database-zap.lucide:decimals-arrow-left.lucide:decimals-arrow-right.lucide:delete.lucide:dessert.lucide:diameter.lucide:diamond.lucide:diamond-minus.lucide:diamond-percent.lucide:diamond-plus.lucide:dice-1.lucide:dice-2.lucide:dice-3.lucide:dice-4.lucide:dice-5.lucide:dice-6.lucide:dices.lucide:diff.lucide:disc.lucide:disc-2.lucide:disc-3.lucide:disc-album.lucide:divide.lucide:dna.lucide:dna-off.lucide:dock.lucide:dog.lucide:dollar-sign.lucide:dome.lucide:donut.lucide:door-closed.lucide:door-closed-cog.lucide:door-closed-locked.lucide:door-closed-package.lucide:door-open.lucide:door-stairwell.lucide:dot.lucide:download.lucide:drafting-compass.lucide:drama.lucide:dribbble.lucide:drill.lucide:drone.lucide:droplet.lucide:droplet-off.lucide:droplets.lucide:drum.lucide:drumstick.lucide:dumbbell.lucide:ear.lucide:ear-off.lucide:earth.lucide:earth-lock.lucide:eclipse.lucide:egg.lucide:egg-fried.lucide:egg-off.lucide:eighth-note.lucide:eighth-notes.lucide:eject.lucide:ellipse.lucide:ellipsis.lucide:ellipsis-vertical.lucide:engine.lucide:equal.lucide:equal-approximately.lucide:equal-approximately-not.lucide:equal-not.lucide:eraser.lucide:ethernet-port.lucide:euro.lucide:ev-charger.lucide:expand.lucide:external-link.lucide:eye.lucide:eye-closed.lucide:eye-dashed.lucide:eye-off.lucide:face-angry.lucide:face-expressionless.lucide:face-grinning.lucide:face-neutral.lucide:face-slightly-frowning.lucide:face-slightly-smiling.lucide:face-slightly-smiling-plus.lucide:facebook.lucide:factory.lucide:fan.lucide:fast-forward.lucide:faucet.lucide:feather.lucide:fence.lucide:ferris-wheel.lucide:figma.lucide:file.lucide:file-archive.lucide:file-audio.lucide:file-audio-2.lucide:file-axis-3d.lucide:file-badge.lucide:file-badge-2.lucide:file-box.lucide:file-braces.lucide:file-braces-corner.lucide:file-chart-column.lucide:file-chart-column-increasing.lucide:file-chart-line.lucide:file-chart-pie.lucide:file-check.lucide:file-check-2.lucide:file-check-corner.lucide:file-clock.lucide:file-code.lucide:file-code-2.lucide:file-code-corner.lucide:file-cog.lucide:file-diff.lucide:file-digit.lucide:file-down.lucide:file-exclamation-point.lucide:file-headphone.lucide:file-heart.lucide:file-image.lucide:file-input.lucide:file-json.lucide:file-json-2.lucide:file-key.lucide:file-key-2.lucide:file-lock.lucide:file-lock-2.lucide:file-minus.lucide:file-minus-2.lucide:file-minus-corner.lucide:file-music.lucide:file-output.lucide:file-pen.lucide:file-pen-line.lucide:file-pie-chart.lucide:file-play.lucide:file-plus.lucide:file-plus-2.lucide:file-plus-corner.lucide:file-question-mark.lucide:file-scan.lucide:file-search.lucide:file-search-2.lucide:file-search-corner.lucide:file-signal.lucide:file-sliders.lucide:file-spreadsheet.lucide:file-stack.lucide:file-symlink.lucide:file-terminal.lucide:file-text.lucide:file-type.lucide:file-type-2.lucide:file-type-corner.lucide:file-up.lucide:file-user.lucide:file-video-camera.lucide:file-volume.lucide:file-volume-2.lucide:file-warning.lucide:file-x.lucide:file-x-2.lucide:file-x-corner.lucide:files.lucide:film.lucide:filter.lucide:filter-x.lucide:fingerprint-pattern.lucide:fire-extinguisher.lucide:fish.lucide:fish-off.lucide:fish-symbol.lucide:fishing-hook.lucide:fishing-rod.lucide:flag.lucide:flag-off.lucide:flag-triangle-left.lucide:flag-triangle-right.lucide:flame.lucide:flame-kindling.lucide:flashlight.lucide:flashlight-off.lucide:flask-conical.lucide:flask-conical-off.lucide:flask-round.lucide:flip-horizontal-2.lucide:flip-vertical-2.lucide:flower.lucide:flower-2.lucide:focus.lucide:fold-horizontal.lucide:fold-vertical.lucide:folder.lucide:folder-archive.lucide:folder-bookmark.lucide:folder-check.lucide:folder-clock.lucide:folder-closed.lucide:folder-code.lucide:folder-cog.lucide:folder-dot.lucide:folder-down.lucide:folder-git.lucide:folder-git-2.lucide:folder-heart.lucide:folder-input.lucide:folder-kanban.lucide:folder-key.lucide:folder-lock.lucide:folder-minus.lucide:folder-open.lucide:folder-open-dot.lucide:folder-output.lucide:folder-pen.lucide:folder-plus.lucide:folder-root.lucide:folder-search.lucide:folder-search-2.lucide:folder-symlink.lucide:folder-sync.lucide:folder-tree.lucide:folder-up.lucide:folder-user.lucide:folder-users.lucide:folder-x.lucide:folders.lucide:footprints.lucide:forklift.lucide:form.lucide:forward.lucide:frame.lucide:framer.lucide:frown.lucide:fuel.lucide:fullscreen.lucide:funnel.lucide:funnel-plus.lucide:funnel-x.lucide:galaxy.lucide:gallery-horizontal.lucide:gallery-horizontal-end.lucide:gallery-thumbnails.lucide:gallery-vertical.lucide:gallery-vertical-end.lucide:gamepad.lucide:gamepad-2.lucide:gamepad-directional.lucide:gap-horizontal.lucide:gap-vertical.lucide:gauge.lucide:gavel.lucide:gem.lucide:georgian-lari.lucide:germ.lucide:germ-off.lucide:ghost.lucide:gift.lucide:git-branch.lucide:git-branch-minus.lucide:git-branch-plus.lucide:git-commit-horizontal.lucide:git-commit-vertical.lucide:git-compare.lucide:git-compare-arrows.lucide:git-fork.lucide:git-graph.lucide:git-merge.lucide:git-merge-conflict.lucide:git-pull-request.lucide:git-pull-request-arrow.lucide:git-pull-request-closed.lucide:git-pull-request-create.lucide:git-pull-request-create-arrow.lucide:git-pull-request-draft.lucide:github.lucide:gitlab.lucide:glass-water.lucide:glasses.lucide:globe.lucide:globe-check.lucide:globe-code.lucide:globe-lock.lucide:globe-off.lucide:globe-x.lucide:goal.lucide:gpu.lucide:graduation-cap.lucide:grape.lucide:graph-hub.lucide:graph-star.lucide:grid-2x2.lucide:grid-2x2-check.lucide:grid-2x2-plus.lucide:grid-2x2-x.lucide:grid-3x2.lucide:grid-3x3.lucide:grip.lucide:grip-horizontal.lucide:grip-vertical.lucide:groceries.lucide:group.lucide:guitar.lucide:guitar-electric.lucide:half-note.lucide:ham.lucide:hamburger.lucide:hammer.lucide:hand.lucide:hand-coins.lucide:hand-fist.lucide:hand-grab.lucide:hand-heart.lucide:hand-helping.lucide:hand-metal.lucide:hand-platter.lucide:handbag.lucide:handle-bottom-right.lucide:handshake.lucide:hard-drive.lucide:hard-drive-download.lucide:hard-drive-upload.lucide:hard-hat.lucide:hash.lucide:hat-glasses.lucide:haze.lucide:hd.lucide:hdmi-port.lucide:heading.lucide:heading-1.lucide:heading-2.lucide:heading-3.lucide:heading-4.lucide:heading-5.lucide:heading-6.lucide:headphone-off.lucide:headphones.lucide:headset.lucide:heart.lucide:heart-crack.lucide:heart-handshake.lucide:heart-minus.lucide:heart-off.lucide:heart-plus.lucide:heart-pulse.lucide:heart-x.lucide:heater.lucide:helicopter.lucide:hexagon.lucide:highlighter.lucide:hiking-stick.lucide:hop.lucide:hop-off.lucide:hospital.lucide:hotel.lucide:hourglass.lucide:hourglass-cog.lucide:house.lucide:house-cog.lucide:house-heart.lucide:house-plug.lucide:house-plus.lucide:house-wifi.lucide:houses.lucide:ice-cream-bowl.lucide:ice-cream-cone.lucide:id-card.lucide:id-card-lanyard.lucide:image.lucide:image-down.lucide:image-minus.lucide:image-off.lucide:image-play.lucide:image-plus.lucide:image-up.lucide:image-upscale.lucide:images.lucide:import.lucide:inbox.lucide:indent-decrease.lucide:indent-increase.lucide:indian-rupee.lucide:infinity.lucide:info.lucide:inspection-panel.lucide:instagram.lucide:italic.lucide:iteration-ccw.lucide:iteration-cw.lucide:iv-bag.lucide:japanese-yen.lucide:joystick.lucide:kanban.lucide:kayak.lucide:kazakh-tenge.lucide:key.lucide:key-round.lucide:key-square.lucide:keyboard.lucide:keyboard-music.lucide:keyboard-off.lucide:lambda.lucide:lamp.lucide:lamp-ceiling.lucide:lamp-desk.lucide:lamp-floor.lucide:lamp-wall-down.lucide:lamp-wall-up.lucide:land-plot.lucide:landmark.lucide:languages.lucide:laptop.lucide:laptop-minimal.lucide:laptop-minimal-check.lucide:lasso.lucide:lasso-select.lucide:laugh.lucide:layer-arrow-down.lucide:layer-arrow-up.lucide:layers.lucide:layers-2.lucide:layers-3.lucide:layers-arrow-down.lucide:layers-arrow-up.lucide:layers-minus.lucide:layers-plus.lucide:layout-arrow-down.lucide:layout-arrow-right.lucide:layout-dashboard.lucide:layout-freeform.lucide:layout-grid.lucide:layout-grid-circles.lucide:layout-list.lucide:layout-panel-left.lucide:layout-panel-top.lucide:layout-template.lucide:leaf.lucide:leafy-green.lucide:lectern.lucide:lens.lucide:lens-concave.lucide:lens-convex.lucide:letter-spacing.lucide:letter-text.lucide:letters.lucide:library.lucide:library-big.lucide:life-buoy.lucide:ligature.lucide:lightbulb.lucide:lightbulb-off.lucide:lighthouse.lucide:line-chart.lucide:line-dot-bottom-vertical.lucide:line-dot-left-horizontal.lucide:line-dot-right-horizontal.lucide:line-dot-top-vertical.lucide:line-height.lucide:line-squiggle.lucide:line-style.lucide:link.lucide:link-2.lucide:link-2-off.lucide:linkedin.lucide:list.lucide:list-check.lucide:list-checks.lucide:list-chevrons-down-up.lucide:list-chevrons-up-down.lucide:list-clock.lucide:list-collapse.lucide:list-end.lucide:list-filter.lucide:list-filter-plus.lucide:list-indent-decrease.lucide:list-indent-increase.lucide:list-minus.lucide:list-music.lucide:list-ordered.lucide:list-plus.lucide:list-restart.lucide:list-sort-ascending.lucide:list-sort-descending.lucide:list-start.lucide:list-todo.lucide:list-tree.lucide:list-video.lucide:list-x.lucide:loader.lucide:loader-circle.lucide:loader-pinwheel.lucide:locate.lucide:locate-fixed.lucide:locate-off.lucide:lock.lucide:lock-keyhole.lucide:lock-keyhole-open.lucide:lock-open.lucide:log-in.lucide:log-out.lucide:logs.lucide:lollipop.lucide:luggage.lucide:magnet.lucide:mail.lucide:mail-badge.lucide:mail-check.lucide:mail-clock.lucide:mail-dot.lucide:mail-minus.lucide:mail-open.lucide:mail-pen.lucide:mail-plus.lucide:mail-question-mark.lucide:mail-search.lucide:mail-warning.lucide:mail-x.lucide:mailbox.lucide:mails.lucide:map.lucide:map-minus.lucide:map-pin.lucide:map-pin-check.lucide:map-pin-check-inside.lucide:map-pin-house.lucide:map-pin-minus.lucide:map-pin-minus-inside.lucide:map-pin-off.lucide:map-pin-pen.lucide:map-pin-plus.lucide:map-pin-plus-inside.lucide:map-pin-search.lucide:map-pin-x.lucide:map-pin-x-inside.lucide:map-pinned.lucide:map-plus.lucide:mars.lucide:mars-stroke.lucide:martini.lucide:maximize.lucide:maximize-2.lucide:medal.lucide:megaphone.lucide:megaphone-off.lucide:meh.lucide:memory-stick.lucide:menu.lucide:merge.lucide:message-circle.lucide:message-circle-check.lucide:message-circle-code.lucide:message-circle-dashed.lucide:message-circle-dashed-check.lucide:message-circle-heart.lucide:message-circle-more.lucide:message-circle-off.lucide:message-circle-plus.lucide:message-circle-question-mark.lucide:message-circle-reply.lucide:message-circle-text.lucide:message-circle-warning.lucide:message-circle-x.lucide:message-square.lucide:message-square-check.lucide:message-square-code.lucide:message-square-dashed.lucide:message-square-diff.lucide:message-square-dot.lucide:message-square-heart.lucide:message-square-lock.lucide:message-square-more.lucide:message-square-off.lucide:message-square-plus.lucide:message-square-quote.lucide:message-square-reply.lucide:message-square-share.lucide:message-square-text.lucide:message-square-warning.lucide:message-square-x.lucide:messages-circle.lucide:messages-square.lucide:metronome.lucide:mic.lucide:mic-audio-lines.lucide:mic-off.lucide:mic-signal.lucide:mic-vocal.lucide:microchip.lucide:microscope.lucide:microwave.lucide:midi-port.lucide:milestone.lucide:milk.lucide:milk-off.lucide:minimize.lucide:minimize-2.lucide:minus.lucide:mirror-rectangular.lucide:mirror-round.lucide:monitor.lucide:monitor-check.lucide:monitor-cloud.lucide:monitor-cog.lucide:monitor-dot.lucide:monitor-down.lucide:monitor-off.lucide:monitor-pause.lucide:monitor-pc.lucide:monitor-play.lucide:monitor-smartphone.lucide:monitor-speaker.lucide:monitor-stop.lucide:monitor-up.lucide:monitor-x.lucide:moon.lucide:moon-star.lucide:mop.lucide:mop-sparkles.lucide:mosque.lucide:motorbike.lucide:mountain.lucide:mountain-snow.lucide:mouse.lucide:mouse-left.lucide:mouse-off.lucide:mouse-pointer.lucide:mouse-pointer-2.lucide:mouse-pointer-2-off.lucide:mouse-pointer-ban.lucide:mouse-pointer-click.lucide:mouse-right.lucide:mouth.lucide:mouth-off.lucide:move.lucide:move-3d.lucide:move-diagonal.lucide:move-diagonal-2.lucide:move-down.lucide:move-down-left.lucide:move-down-right.lucide:move-horizontal.lucide:move-left.lucide:move-right.lucide:move-up.lucide:move-up-left.lucide:move-up-right.lucide:move-vertical.lucide:music.lucide:music-2.lucide:music-4.lucide:navigation.lucide:navigation-2.lucide:navigation-2-off.lucide:navigation-off.lucide:nepali-rupee.lucide:network.lucide:newspaper.lucide:nfc.lucide:non-binary.lucide:notebook.lucide:notebook-dot.lucide:notebook-pen.lucide:notebook-tabs.lucide:notebook-text.lucide:notepad-text.lucide:notepad-text-dashed.lucide:nut.lucide:nut-off.lucide:octagon.lucide:octagon-alert.lucide:octagon-minus.lucide:octagon-pause.lucide:octagon-x.lucide:omega.lucide:option.lucide:orbit.lucide:origami.lucide:package.lucide:package-2.lucide:package-check.lucide:package-minus.lucide:package-open.lucide:package-plus.lucide:package-search.lucide:package-x.lucide:paint-bucket.lucide:paint-roller.lucide:paintbrush.lucide:paintbrush-vertical.lucide:palette.lucide:panda.lucide:panel-bottom.lucide:panel-bottom-close.lucide:panel-bottom-dashed.lucide:panel-bottom-open.lucide:panel-left.lucide:panel-left-close.lucide:panel-left-dashed.lucide:panel-left-open.lucide:panel-left-right-dashed.lucide:panel-right.lucide:panel-right-close.lucide:panel-right-dashed.lucide:panel-right-open.lucide:panel-top.lucide:panel-top-bottom-dashed.lucide:panel-top-close.lucide:panel-top-dashed.lucide:panel-top-open.lucide:panels-left-bottom.lucide:panels-right-bottom.lucide:panels-top-left.lucide:paper-bag.lucide:paperclip.lucide:parasol.lucide:parentheses.lucide:park.lucide:parking-meter.lucide:party-popper.lucide:pause.lucide:paw-print.lucide:pc-case.lucide:pen.lucide:pen-line.lucide:pen-off.lucide:pen-tool.lucide:pencil.lucide:pencil-line.lucide:pencil-off.lucide:pencil-ruler.lucide:pencil-sparkles.lucide:pentagon.lucide:percent.lucide:perfume-bottle.lucide:person-standing.lucide:phi.lucide:philippine-peso.lucide:phone.lucide:phone-call.lucide:phone-forwarded.lucide:phone-incoming.lucide:phone-log.lucide:phone-missed.lucide:phone-off.lucide:phone-outgoing.lucide:pi.lucide:piano.lucide:pickaxe.lucide:picture-in-picture.lucide:picture-in-picture-2.lucide:pie-chart.lucide:piggy-bank.lucide:pilcrow.lucide:pilcrow-left.lucide:pilcrow-right.lucide:pill.lucide:pill-bottle.lucide:pin.lucide:pin-off.lucide:pipette.lucide:pizza.lucide:plane.lucide:plane-landing.lucide:plane-takeoff.lucide:plant-pot.lucide:play.lucide:play-off.lucide:playing-card.lucide:playing-cards.lucide:playing-cards-fan.lucide:plug.lucide:plug-2.lucide:plug-zap.lucide:plus.lucide:pocket.lucide:pocket-knife.lucide:podcast.lucide:podium.lucide:pointer.lucide:pointer-off.lucide:popcorn.lucide:popsicle.lucide:pound-sterling.lucide:power.lucide:power-off.lucide:presentation.lucide:printer.lucide:printer-3d.lucide:printer-check.lucide:printer-x.lucide:projector.lucide:proportions.lucide:puzzle.lucide:pyramid.lucide:qr-code.lucide:quote.lucide:rabbit.lucide:radar.lucide:radiation.lucide:radical.lucide:radio.lucide:radio-off.lucide:radio-receiver.lucide:radio-tower.lucide:radius.lucide:rail-symbol.lucide:rainbow.lucide:rat.lucide:ratio.lucide:receipt.lucide:receipt-cent.lucide:receipt-euro.lucide:receipt-indian-rupee.lucide:receipt-japanese-yen.lucide:receipt-pound-sterling.lucide:receipt-russian-ruble.lucide:receipt-swiss-franc.lucide:receipt-text.lucide:receipt-turkish-lira.lucide:rectangle-circle.lucide:rectangle-ellipsis.lucide:rectangle-goggles.lucide:rectangle-horizontal.lucide:rectangle-vertical.lucide:recycle.lucide:redo.lucide:redo-2.lucide:redo-dot.lucide:refresh-ccw.lucide:refresh-ccw-dot.lucide:refresh-cw.lucide:refresh-cw-off.lucide:refrigerator.lucide:regex.lucide:remove-formatting.lucide:repeat.lucide:repeat-1.lucide:repeat-2.lucide:repeat-off.lucide:replace.lucide:replace-all.lucide:reply.lucide:reply-all.lucide:rewind.lucide:ribbon.lucide:road.lucide:robot-arm.lucide:robot-vacuum.lucide:rocket.lucide:rocking-chair.lucide:roller-coaster.lucide:rose.lucide:rotate-3d.lucide:rotate-ccw.lucide:rotate-ccw-clock.lucide:rotate-ccw-key.lucide:rotate-ccw-square.lucide:rotate-cw.lucide:rotate-cw-clock.lucide:rotate-cw-fading-clock.lucide:rotate-cw-square.lucide:route.lucide:route-off.lucide:router.lucide:rows-2.lucide:rows-3.lucide:rows-4.lucide:rss.lucide:rugby-ball.lucide:ruler.lucide:ruler-dimension-line.lucide:russian-ruble.lucide:sailboat.lucide:salad.lucide:sandwich.lucide:satellite.lucide:satellite-dish.lucide:saudi-riyal.lucide:save.lucide:save-all.lucide:save-check.lucide:save-off.lucide:save-pen.lucide:save-plus.lucide:scale.lucide:scale-3d.lucide:scaling.lucide:scan.lucide:scan-barcode.lucide:scan-box.lucide:scan-eye.lucide:scan-face.lucide:scan-heart.lucide:scan-line.lucide:scan-qr-code.lucide:scan-search.lucide:scan-square.lucide:scan-text.lucide:scatter-chart.lucide:school.lucide:scissors.lucide:scissors-line-dashed.lucide:scooter.lucide:scratch-blocks.lucide:screen-share.lucide:screen-share-off.lucide:screw.lucide:scroll.lucide:scroll-text.lucide:search.lucide:search-alert.lucide:search-check.lucide:search-code.lucide:search-large.lucide:search-slash.lucide:search-x.lucide:section.lucide:send.lucide:send-horizontal.lucide:send-to-back.lucide:separator-horizontal.lucide:separator-vertical.lucide:server.lucide:server-cog.lucide:server-crash.lucide:server-nas.lucide:server-off.lucide:server-plus.lucide:settings.lucide:settings-2.lucide:shapes.lucide:share.lucide:share-2.lucide:sheet.lucide:shell.lucide:shelving-unit.lucide:shield.lucide:shield-alert.lucide:shield-ban.lucide:shield-check.lucide:shield-cog.lucide:shield-cog-corner.lucide:shield-ellipsis.lucide:shield-half.lucide:shield-house.lucide:shield-keyhole.lucide:shield-lock.lucide:shield-minus.lucide:shield-off.lucide:shield-plus.lucide:shield-question-mark.lucide:shield-user.lucide:shield-x.lucide:ship.lucide:ship-cargo.lucide:ship-wheel.lucide:shirt.lucide:shopping-bag.lucide:shopping-basket.lucide:shopping-cart.lucide:shopping-cart-minus.lucide:shopping-cart-plus.lucide:shovel.lucide:shower-head.lucide:shredder.lucide:shrimp.lucide:shrimp-off.lucide:shrink.lucide:shrub.lucide:shuffle.lucide:sigma.lucide:signal.lucide:signal-high.lucide:signal-low.lucide:signal-medium.lucide:signal-zero.lucide:signature.lucide:signpost.lucide:signpost-big.lucide:siren.lucide:sixteenth-notes.lucide:skip-back.lucide:skip-forward.lucide:skull.lucide:slack.lucide:slash.lucide:slice.lucide:sliders-horizontal.lucide:sliders-vertical.lucide:smartphone.lucide:smartphone-charging.lucide:smartphone-nfc.lucide:smartphone-user-round.lucide:smile.lucide:smile-plus.lucide:snail.lucide:snowflake.lucide:soap-dispenser-droplet.lucide:sofa.lucide:solar-panel.lucide:soup.lucide:space.lucide:spade.lucide:sparkle.lucide:sparkles.lucide:speaker.lucide:speech.lucide:spell-check.lucide:spell-check-2.lucide:spline.lucide:spline-pointer.lucide:split.lucide:spool.lucide:sport-shoe.lucide:spotlight.lucide:spray-can.lucide:sprout.lucide:square.lucide:square-activity.lucide:square-arrow-down.lucide:square-arrow-down-left.lucide:square-arrow-down-right.lucide:square-arrow-left.lucide:square-arrow-out-down-left.lucide:square-arrow-out-down-right.lucide:square-arrow-out-up-left.lucide:square-arrow-out-up-right.lucide:square-arrow-right.lucide:square-arrow-right-enter.lucide:square-arrow-right-exit.lucide:square-arrow-up.lucide:square-arrow-up-left.lucide:square-arrow-up-right.lucide:square-asterisk.lucide:square-bookmark.lucide:square-bottom-dashed-scissors.lucide:square-centerline-dashed-horizontal.lucide:square-centerline-dashed-vertical.lucide:square-chart-gantt.lucide:square-check.lucide:square-check-big.lucide:square-chevron-down.lucide:square-chevron-left.lucide:square-chevron-right.lucide:square-chevron-up.lucide:square-code.lucide:square-dashed.lucide:square-dashed-bottom.lucide:square-dashed-bottom-code.lucide:square-dashed-kanban.lucide:square-dashed-mouse-pointer.lucide:square-dashed-plus.lucide:square-dashed-text.lucide:square-dashed-top-solid.lucide:square-dashed-x.lucide:square-dashed-x-corner.lucide:square-dimensions.lucide:square-divide.lucide:square-dot.lucide:square-equal.lucide:square-exclamation-point.lucide:square-function.lucide:square-kanban.lucide:square-library.lucide:square-m.lucide:square-menu.lucide:square-minus.lucide:square-mouse-pointer.lucide:square-off.lucide:square-parking.lucide:square-parking-off.lucide:square-pause.lucide:square-pen.lucide:square-percent.lucide:square-pi.lucide:square-pilcrow.lucide:square-play.lucide:square-plus.lucide:square-power.lucide:square-radical.lucide:square-round-corner.lucide:square-scissors.lucide:square-sigma.lucide:square-slash.lucide:square-sparkles.lucide:square-split-horizontal.lucide:square-split-vertical.lucide:square-square.lucide:square-stack.lucide:square-star.lucide:square-stop.lucide:square-terminal.lucide:square-text.lucide:square-user.lucide:square-user-round.lucide:square-x.lucide:squares-exclude.lucide:squares-intersect.lucide:squares-subtract.lucide:squares-unite.lucide:squircle.lucide:squircle-dashed.lucide:squirrel.lucide:stamp.lucide:star.lucide:star-check.lucide:star-half.lucide:star-minus.lucide:star-off.lucide:star-plus.lucide:star-x.lucide:step-back.lucide:step-forward.lucide:stethoscope.lucide:sticker.lucide:sticky-note.lucide:sticky-note-check.lucide:sticky-note-minus.lucide:sticky-note-off.lucide:sticky-note-plus.lucide:sticky-note-x.lucide:sticky-notes.lucide:stone.lucide:store.lucide:stretch-horizontal.lucide:stretch-vertical.lucide:strikethrough.lucide:subscript.lucide:summary.lucide:sun.lucide:sun-dim.lucide:sun-medium.lucide:sun-moon.lucide:sun-snow.lucide:sunrise.lucide:sunset.lucide:superscript.lucide:swatch-book.lucide:swiss-franc.lucide:switch-camera.lucide:sword.lucide:swords.lucide:syringe.lucide:table.lucide:table-2.lucide:table-cells-merge.lucide:table-cells-split.lucide:table-columns-split.lucide:table-of-contents.lucide:table-properties.lucide:table-rows-split.lucide:tablet.lucide:tablet-smartphone.lucide:tablets.lucide:tag.lucide:tag-plus.lucide:tag-x.lucide:tags.lucide:tally-1.lucide:tally-2.lucide:tally-3.lucide:tally-4.lucide:tally-5.lucide:tangent.lucide:target.lucide:telescope.lucide:tent.lucide:tent-tree.lucide:terminal.lucide:test-tube.lucide:test-tube-diagonal.lucide:test-tubes.lucide:text.lucide:text-align-center.lucide:text-align-end.lucide:text-align-justify.lucide:text-align-justify-center.lucide:text-align-justify-end.lucide:text-align-justify-start.lucide:text-align-start.lucide:text-cursor.lucide:text-cursor-input.lucide:text-initial.lucide:text-quote.lucide:text-search.lucide:text-wrap.lucide:theater.lucide:thermometer.lucide:thermometer-snowflake.lucide:thermometer-sun.lucide:thumbs-down.lucide:thumbs-up.lucide:tic-tac-toe.lucide:ticket.lucide:ticket-check.lucide:ticket-minus.lucide:ticket-percent.lucide:ticket-plus.lucide:ticket-slash.lucide:ticket-x.lucide:tickets.lucide:tickets-plane.lucide:timeline.lucide:timer.lucide:timer-off.lucide:timer-reset.lucide:toggle-left.lucide:toggle-right.lucide:toilet.lucide:tombstone.lucide:tool-case.lucide:toolbox.lucide:toothbrush.lucide:toothbrush-sparkles.lucide:tornado.lucide:torus.lucide:touchpad.lucide:touchpad-off.lucide:towel-rack.lucide:tower-control.lucide:toy-brick.lucide:tractor.lucide:traffic-cone.lucide:trailer.lucide:train-front.lucide:train-front-tunnel.lucide:train-track.lucide:tram-front.lucide:transgender.lucide:trash.lucide:trash-off.lucide:tree-deciduous.lucide:tree-palm.lucide:tree-pine.lucide:trees.lucide:trello.lucide:trending-down.lucide:trending-up.lucide:trending-up-down.lucide:triangle.lucide:triangle-alert.lucide:triangle-dashed.lucide:triangle-right.lucide:triangles-centerline-dashed-horizontal.lucide:triangles-centerline-dashed-vertical.lucide:trophy.lucide:truck.lucide:truck-electric.lucide:tube-lotion.lucide:turkish-lira.lucide:turntable.lucide:turtle.lucide:tv.lucide:tv-minimal.lucide:tv-minimal-play.lucide:twitch.lucide:twitter.lucide:type.lucide:type-outline.lucide:umbrella.lucide:umbrella-off.lucide:underline.lucide:undo.lucide:undo-2.lucide:undo-dot.lucide:unfold-horizontal.lucide:unfold-vertical.lucide:ungroup.lucide:university.lucide:unlink.lucide:unlink-2.lucide:unplug.lucide:upload.lucide:usb.lucide:usb-c-port.lucide:user.lucide:user-check.lucide:user-cog.lucide:user-group.lucide:user-key.lucide:user-lock.lucide:user-minus.lucide:user-pen.lucide:user-plus.lucide:user-round.lucide:user-round-arrow-left.lucide:user-round-check.lucide:user-round-cog.lucide:user-round-group.lucide:user-round-key.lucide:user-round-minus.lucide:user-round-pen.lucide:user-round-plus.lucide:user-round-search.lucide:user-round-star.lucide:user-round-x.lucide:user-search.lucide:user-shield.lucide:user-star.lucide:user-x.lucide:users.lucide:users-collaboration.lucide:users-round.lucide:users-round-collaboration.lucide:utensils.lucide:utensils-crossed.lucide:utility-pole.lucide:van.lucide:variable.lucide:vault.lucide:vector-polygon.lucide:vector-square.lucide:vegan.lucide:venetian-mask.lucide:venus.lucide:venus-and-mars.lucide:vibrate.lucide:vibrate-off.lucide:video.lucide:video-off.lucide:videotape.lucide:view.lucide:virus.lucide:virus-off.lucide:voicemail.lucide:volleyball.lucide:volume.lucide:volume-1.lucide:volume-2.lucide:volume-off.lucide:volume-x.lucide:vote.lucide:wallet.lucide:wallet-cards.lucide:wallet-minimal.lucide:wallpaper.lucide:wand.lucide:wand-sparkles.lucide:warehouse.lucide:washing-machine.lucide:watch.lucide:waves.lucide:waves-arrow-down.lucide:waves-arrow-up.lucide:waves-horizontal.lucide:waves-ladder.lucide:waves-vertical.lucide:waypoints.lucide:webcam.lucide:webcam-off.lucide:webhook.lucide:webhook-off.lucide:weight.lucide:weight-tilde.lucide:wheat.lucide:wheat-off.lucide:whistle.lucide:whole-word.lucide:wifi.lucide:wifi-cog.lucide:wifi-high.lucide:wifi-lock.lucide:wifi-low.lucide:wifi-off.lucide:wifi-pen.lucide:wifi-sync.lucide:wifi-zero.lucide:wind.lucide:wind-arrow-down.lucide:wind-arrow-up.lucide:wine.lucide:wine-off.lucide:workflow.lucide:worm.lucide:wrap-text.lucide:wrench.lucide:wrench-off.lucide:x.lucide:x-line-top.lucide:youtube.lucide:zap.lucide:zap-off.lucide:zodiac-aquarius.lucide:zodiac-aries.lucide:zodiac-cancer.lucide:zodiac-capricorn.lucide:zodiac-gemini.lucide:zodiac-leo.lucide:zodiac-libra.lucide:zodiac-ophiuchus.lucide:zodiac-pisces.lucide:zodiac-sagittarius.lucide:zodiac-scorpio.lucide:zodiac-taurus.lucide:zodiac-virgo.lucide:zoom-in.lucide:zoom-out`.split(`.`);new Set(me);var he=new Map,ge;async function _e(){if(he.size)return he;ge||=x(()=>import(`./agentIconBodies-Cpn22UTR.js`).then(e=>e.AGENT_LIBRARY_BODIES),[]);let e=await ge;for(let[t,n]of Object.entries(e))he.set(t,n);return he}function ve(e){return he.get(e)}function ye(e,t,n){if(!n)return 0;let r=e.toLowerCase();if(t===n||r===n)return 0;if(t.startsWith(n)||r.startsWith(n))return 1;if(t.includes(n)||r.includes(n))return 2;let i=n.split(/\s+/).filter(Boolean);return i.length>1&&i.every(e=>t.includes(e)||r.includes(e))?3:9}function be(e,t=10,n=0){let r=e.trim().toLowerCase().replace(/^(ph|lucide):/,``).replace(/\s+/g,` `);if(!r){let e=P.map(e=>({id:e,label:A[e],kind:`face`})),r=me.length,i=e.length+r;if(n+t<=e.length)return{hits:e.slice(n,n+t),total:i};let a=Math.max(0,n-e.length),o=t-Math.max(0,e.length-n),s=n<e.length?e.slice(n):[],c=me.slice(a,a+o).map(e=>({id:e,label:ie(e),kind:`library`}));return{hits:[...s,...c],total:i}}let i=[];for(let e of P){let t=A[e],n=ye(t,e,r);n<9&&i.push({id:e,label:t,kind:`face`,s:n})}for(let e of me){let t=j(e);if(!t)continue;let n=ie(e),a=ye(n,t.name,r);a<9&&i.push({id:e,label:n,kind:`library`,s:a})}return i.sort((e,t)=>e.s-t.s||(e.kind===t.kind?e.label.localeCompare(t.label):e.kind===`face`?-1:1)),{hits:i.slice(n,n+t).map(({id:e,label:t,kind:n})=>({id:e,label:t,kind:n})),total:i.length}}var xe={forgeqe:{title:`the Conductor`,body:`bowtie`,hand:`baton`},engine:{title:`the Pilot`,head:`goggles`},desktop:{title:`the Operator`,head:`headset`},mobile:{title:`the Tapper`,face:`round`,hand:`flashlight`},"forgeqe-test":{title:`the Coder`,head:`headphones`},"forgeqe-read":{title:`the Reader`,face:`round`,hand:`book`},"forgeqe-heal":{title:`the Medic`,head:`nurse`},"forgeqe-pr-review":{title:`the Inspector`,face:`square`,hand:`magnifier`},"forgeqe-find":{title:`the Seeker`,hand:`flashlight`},"forgeqe-defect-rca":{title:`the Detective`,head:`detective`},"forgeqe-judge":{title:`the Judge`,face:`monocle`,body:`bowtie`},"forgeqe-knowledge-agent":{title:`the Scholar`,head:`grad`},"forgeqe-tosca":{title:`the Builder`,head:`hardhat`},"forgeqe-responsive":{title:`the Fitter`,face:`square`,hand:`magnifier`},"forgeqe-data":{title:`the Miner`,head:`miner`},"forgeqe-migrate":{title:`the Traveller`,body:`scarf`},"forgeqe-review":{title:`the Engineer`,face:`square`,body:`tie`},"forgeqe-basal":{title:`the Strategist`,body:`tie`,hand:`clipboard`},"forgeqe-model-profile":{title:`the Critic`,head:`crown`},"forgeqe-persona":{title:`the Actor`,body:`badge`},"req-agent":{title:`the Editor`,head:`pencil`,face:`round`},"forgeqe-refine":{title:`the Polisher`,hand:`wand`},"forgeqe-api-plan":{title:`the Sketcher`,head:`pencil`},"forgeqe-test-plan":{title:`the Navigator`,hand:`clipboard`},"forgeqe-explore-plan":{title:`the Explorer`,head:`safari`},explore:{title:`the Scout`,body:`binoculars`},general:{title:`the Helper`,head:`beanie`},"forgeqe-api":{title:`the Messenger`,crest:`antenna`,hand:`envelope`},"forgeqe-perf":{title:`the Timekeeper`,face:`round`,hand:`clipboard`}},Se={forgeqe:{h:259,s:100,l:72},"forgeqe-find":{h:68,s:57,l:57},"forgeqe-test-plan":{h:2,s:78,l:68},"forgeqe-knowledge-agent":{h:186,s:97,l:39},"forgeqe-test":{h:271,s:69,l:83},engine:{h:170,s:78,l:50},"forgeqe-review":{h:243,s:99,l:79},"forgeqe-api":{h:20,s:83,l:77},"forgeqe-perf":{h:30,s:45,l:64},desktop:{h:141,s:45,l:50},mobile:{h:60,s:100,l:55},"forgeqe-pr-review":{h:308,s:51,l:65},"forgeqe-data":{h:217,s:94,l:69},"forgeqe-explore-plan":{h:198,s:81,l:73},"forgeqe-refine":{h:120,s:57,l:69},"forgeqe-persona":{h:308,s:94,l:80},"req-agent":{h:273,s:96,l:79},"forgeqe-heal":{h:44,s:83,l:58},"forgeqe-judge":{h:27,s:76,l:54},"forgeqe-api-plan":{h:171,s:58,l:69},"forgeqe-migrate":{h:342,s:55,l:74},"forgeqe-model-profile":{h:197,s:100,l:56},"forgeqe-defect-rca":{h:256,s:40,l:70},"forgeqe-tosca":{h:175,s:44,l:58},"forgeqe-responsive":{h:50,s:70,l:66},"forgeqe-basal":{h:172,s:56,l:34},explore:{h:36,s:83,l:55},general:{h:101,s:31,l:63},"forgeqe-read":{h:220,s:69,l:75}},Ce=[[240,88,62],[60,88,82],[300,88,62],[333,88,62],[228,68,62],[120,88,62],[87,88,72],[180,88,82],[261,88,62],[282,88,62],[48,58,77],[147,88,77],[300,88,72],[336,88,72],[12,88,72],[282,58,62],[0,88,62],[339,58,62],[315,78,62],[258,58,62],[339,68,82],[198,58,82],[231,58,67],[180,88,62],[129,88,72],[291,78,67],[84,58,72]].map(([e,t,n])=>({h:e,s:t,l:n})),we=re.length,Te=Ce.length-we,Ee={version:-1,of:new Map};function De(e){let t=re.indexOf(e);if(t>=0)return t;let n=ee();if(Ee.version!==n.version){let e=new Map,t=new Set;for(let r of n.ids){let n=Oe(r)%Te;for(let e=0;e<Te&&t.has(n);e++)n=(n+1)%Te;t.add(n),e.set(r,we+n)}Ee={version:n.version,of:e}}return Ee.of.get(e)??we+Oe(e)%Te}function Oe(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619)>>>0;return t}function ke(e){let t=e>>>0;return()=>{t=t+1831565813>>>0;let e=t;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}}var Ae=[[`lively`,1.5],[`calm`,.65],[`curious`,1.1],[`shy`,.85],[`bouncy`,1.35],[`sleepy`,.7]],je=[`antenna`,`ears`,`sprout`,`horns`,`halo`,`tuft`],Me=new Map;function Ne(e){let t=Me.get(e);if(t)return t;let n=Oe(e),r=ke(n),[i,a]=Ae[Math.floor(r()*Ae.length)],o=Object.hasOwn(xe,e),s=o?xe[e]:{title:``},c={id:e,role:s,crest:s.crest??(o?null:je[n%je.length]),temper:i,energy:a,curiosity:i===`shy`?.5:i===`curious`?1:.75+r()*.2,sleepAfter:(i===`sleepy`?20:30)+r()*20,blinkEvery:2.2+r()*2.8,w:.94+r()*.14,hgt:.92+r()*.14,eyeGap:.3+r()*.07,eyeSize:.2+r()*.05,seed:n%1e3};return Me.set(e,c),c}var Pe=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;function Fe(e){let t=Pe.exec(e);if(!t)return[220,60];let[n,r,i]=[t[1],t[2],t[3]].map(e=>parseInt(e,16)/255),a=Math.max(n,r,i),o=Math.min(n,r,i),s=(a+o)*50;if(a===o)return[0,s];let c=a-o;return[(a===n?(r-i)/c+(r<i?6:0):a===r?(i-n)/c+2:(n-r)/c+4)*60,s]}function Ie(e,t){if(!Object.hasOwn(Se,e)){let n=Ce[De(e)];return t===`soft`?{h:n.h,l:n.l,s:n.s,soft:!0}:{h:n.h,l:Math.min(70,Math.max(55,n.l)),s:62,soft:!1}}if(t===`original`){let[t,n]=Fe(ne(e).hue);return{h:Math.round(t),l:Math.round(Math.min(70,Math.max(55,n))),s:62,soft:!1}}let n=Se[e];return{h:n.h,l:n.l,s:n.s,soft:!0}}var R=(e,t,n,r=1)=>`hsla(${(e%360+360)%360},${Math.max(0,Math.min(100,t))}%,${Math.max(0,Math.min(100,n))}%,${r})`,Le={accessibility:[`#5aa9e6`],"agents-hub":[`#4b5563`],"ai-assurance":[`#4b5563`],api:[`#4f86e0`,`#375e9d`],architecture:[`#a98bf3`],bell:[`#f6c48f`,`#c9742a`],board:[`#c3b5f5`,`#6a3fd6`],branch:[`#a6e39a`,`#749f6c`],"browser-agent":[`#c8dcf5`,`#6fa6e8`],bug:[`#f08a8a`],case:[`#6fd6aa`,`#4e9677`],chat:[`#8fb6f5`,`#3a76d0`],cloud:[`#b9d1f6`],code:[`#f3a6d8`,`#c2398f`],coins:[`#f3cf6e`,`#b8870f`],columns:[`#8fd1d8`,`#1f97a8`],container:[`#8fc9f2`,`#2a7fbf`],"context-engine":[`#d5c8fb`,`#6a3fd6`],database:[`#6fc9be`,`#1f8a7e`],desktop:[`#8fd1d8`,`#1f97a8`],download:[`#4f86e0`,`#2a5bbf`],explorer:[`#c8399a`,`#f6a7d8`],feature:[`#d9776a`],file:[`#b9d1f6`,`#3a76d0`],flask:[`#9ad9c0`,`#2f8a6b`],folder:[`#f2c46b`,`#b8860f`],healer:[`#cde67a`,`#86b02b`],history:[`#b7a4f5`,`#d0c4f8`,`#8073ac`],inbox:[`#8fc9f2`],info:[`#8fc9f2`,`#648da9`],key:[`#f2c46b`],"knowledge-base":[`#84c6d4`,`#1f8fa6`],layers:[`#8fb6f5`,`#b6d0f8`],mail:[`#f3a6a6`,`#f7c5c5`],mic:[`#8fb8f6`],mobile:[`#cbbdf7`,`#6a3fd6`],model:[`#9db8ff`,`#4a63d6`],network:[`#8fd6e3`,`#64969f`],orchestrator:[`#a98bf3`,`#6a3fd6`],palette:[`#e99ad2`,`#f1bde2`],plug:[`#f6c48f`,`#c9742a`],"pr-reviewer":[`#d77c88`],pulse:[`#f08a8a`],"quality-engineering":[`#4b5563`],replay:[`#3fb985`],report:[`#9ad9ec`,`#1c8fb2`],result:[`#5bb894`,`#94d1b9`],rocket:[`#b9d1f6`],route:[`#9ad9a0`,`#bde6c1`],rule:[`#f4e2b0`,`#c98b2a`],screenshot:[`#9ad9ec`,`#1c8fb2`],scribe:[`#5bb894`,`#2f8a6b`,`#94d1b9`,`#408168`],scroll:[`#e8cf9c`,`#a8701a`],server:[`#9ab3c9`],shield:[`#3a76d0`,`#8fb6f5`],sparkle:[`#c9b6f7`,`#8a5be6`],specs:[`#5bb894`,`#408168`],speed:[`#e0a23a`],stories:[`#b9d1f6`,`#3a76d0`],table:[`#9ad9a0`,`#2f8a3e`],terminal:[`#6f9ff0`],"test-finder":[`#8fdcef`,`#1f9fc0`],theme:[`#5b6bd6`,`#f5b83d`],ticket:[`#f6c48f`,`#c9742a`],trace:[`#6fb4c4`,`#a1ced9`],visual:[`#e99ad2`,`#a8287d`],wand:[`#c9b6f7`,`#dcd0fa`,`#8d7fad`],warning:[`#f6c84f`],web:[`#8edcf2`,`#22a0c4`],wikis:[`#e8cf9c`,`#c48a2a`],wrench:[`#a8b6c4`]},Re={record:`screenshot`,desktop:`desktop`,mobile:`mobile`,regression:`replay`,impact:`board`,"api-tests":`plug`,migration:`table`,tosca:`network`,quality:`columns`,flaky:`bug`,business:`info`,basal:`info`,"run-diff":`code`,"test-management":`ticket`,flags:`feature`,production:`web`,cost:`coins`,observability:`pulse`,explore:`sparkle`,readiness:`shield`,accessibility:`accessibility`,performance:`pulse`,visual:`visual`,responsive:`mobile`,requirements:`stories`,data:`container`,"test-data":`flask`,runs:`terminal`,reports:`report`,jobs:`speed`,knowledge:`knowledge-base`,product:`columns`,memory:`architecture`,guardrails:`shield`,skills:`feature`,prompts:`stories`,features:`branch`,"whats-new":`scroll`,help:`wikis`,theme:`theme`,settings:`desktop`,chats:`orchestrator`,agents:`board`,evidence:`flask`,"evidence-runs":`scroll`,"evidence-contracts":`file`,"evidence-review":`ticket`,"evidence-releases":`history`,"evidence-learn":`replay`,"evidence-monitor":`pulse`},ze={env:`web`,chat:`chat`,usage:`network`,commands:`terminal`,changes:`code`,outputs:`download`},Be=[`auto`,`plain`,`tiles`,`outline`,`mono`],Ve=[`phosphor`,`solar`,`lucide`,`3d`],He=`phosphor`,Ue=[`visor`,`classic`,`icons`],We=`visor`,Ge=[`soft`,`original`],Ke=`soft`,qe=e=>e.mascot&&Ue.includes(e.mascot)?e.mascot:We,Je=e=>e.mascotColours&&Ge.includes(e.mascotColours)?e.mascotColours:Ke,Ye=e=>e.iconSet&&Ve.includes(e.iconSet)?e.iconSet:He,Xe=e=>e.iconColour===`accent`?`accent`:V(e.iconColour)?`custom`:`text`,z=`#0f172a`,B=`#ffffff`,Ze={"--side-bg":`#f8fafc`,"--side-ink":`#0f172a`,"--side-ink-2":`#334155`,"--side-muted":`#5b6779`,"--side-active":`#f1f5f9`,"--side-line":`#e2e8f0`,"--side-line-soft":`#eef1f5`,"--side-icon":`#334155`},Qe={light:`#334155`,dark:`#c3c8d2`},$e={bg:`#e9eef4`,ink:`#0f172a`},et={"--color-accent":`#0284c7`,"--color-accent-hover":`#0369a1`,"--color-accent-soft":`#ebf5fb`,"--color-accent-line":`#b5dcf2`,"--color-accent-ink":B,"--color-accent-fg":`#006398`,"--color-accent-fg-hover":`#004b73`,"--color-accent-grad":`#7cc4ee`},tt=Ze[`--side-bg`],nt=`#111318`,rt={"--side-bg":`#16181e`,"--side-ink":`#e9ebf0`,"--side-ink-2":`#c3c8d2`,"--side-muted":`#8d95a5`,"--side-active":`#22252e`,"--side-line":`#2b303b`,"--side-line-soft":`#20232b`,"--side-icon":`#c3c8d2`},it={"--color-accent":`#0284c7`,"--color-accent-hover":`#0ea5e9`,"--color-accent-soft":`#0b2433`,"--color-accent-line":`#164e6e`,"--color-accent-ink":B,"--color-accent-fg":`#7cc4fa`,"--color-accent-fg-hover":`#b4dcfd`,"--color-accent-grad":`#93ccff`};function at(e,t=`light`){if(t===`dark`)return[rt[`--side-bg`]];let n=V(e.primary),r=V(e.gradient);return n||r?[n||tt,...r?[r]:[]]:[Ze[`--side-bg`]]}var ot=et[`--color-accent`];function V(e){let t=typeof e==`string`?e.trim().toLowerCase():``;if(/^#[0-9a-f]{6}$/.test(t))return t;if(/^#[0-9a-f]{3}$/.test(t))return`#${[...t.slice(1)].map(e=>e+e).join(``)}`}var st=e=>[1,3,5].map(t=>Number.parseInt(e.slice(t,t+2),16)),ct=e=>`#${e.map(e=>Math.round(Math.min(255,Math.max(0,e))).toString(16).padStart(2,`0`)).join(``)}`;function H(e,t,n){let r=st(e),i=st(t);return ct(r.map((e,t)=>e+(i[t]-e)*n))}function U(e){let[t,n,r]=st(e).map(e=>{let t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4});return .2126*t+.7152*n+.0722*r}function W(e,t){let[n,r]=[U(e),U(t)].sort((e,t)=>t-e);return(n+.05)/(r+.05)}function G(...e){let t=t=>Math.min(...e.map(e=>W(t,e))),n=t(B)>t(z)?B:z;return t(n)>=4.5||t(n)>=t(`#000000`)?n:`#000000`}function K(e,t,n){let r=e;for(let i=0;i<=1&&Math.min(...n.map(e=>W(r,e)))<4.5;i+=.1)r=H(e,t,i);return r}var lt=.75;function ut(e,t=`light`){let n=V(e.background);return t===`light`&&n&&U(n)>=.75?n:void 0}var dt=[`--color-bg`,`--color-surface-muted`,`--color-surface-strong`,`--color-field`,`--color-line`,`--color-line-soft`,`--color-line-strong`,`--color-muted`];function ft(e,t=`light`){let n=ut(e,t);return n?{"--color-bg":n,"--color-surface-muted":H(n,z,.025),"--color-surface-strong":H(n,z,.05),"--color-field":H(n,z,.04),"--color-line":H(n,z,.1),"--color-line-soft":H(n,z,.065),"--color-line-strong":H(n,z,.18),"--color-muted":K(`#5b6779`,z,[n])}:{}}var pt=`#f3f4f6`,mt=`#1a1d24`;function ht(e,t=`light`){let n=V(e.primary);if(t===`dark`){let e=n?H(n,nt,.84):mt,t=G(e);return{"--card-bg":e,"--card-ink":t,"--card-ink-2":K(`#c3c8d2`,t,[e]),"--card-muted":K(`#8d95a5`,t,[e]),"--card-line":H(e,B,.14),"--card-line-soft":H(e,B,.09),"--card-hover":H(e,B,.05),"--card-strong":H(e,B,.09)}}let r=ut(e)||B,i=n?H(n,B,U(n)>=.6?.6:.94):pt,a=W(i,r)<1.06?H(n||i,z,.05):i,o=G(a),s=o===B?z:o;return{"--card-bg":a,"--card-ink":o,"--card-ink-2":o===B?K(H(a,B,.85),B,[a]):K(`#374151`,s,[a]),"--card-muted":o===B?K(H(a,B,.68),B,[a]):K(`#5b6779`,s,[a]),"--card-line":H(a,z,.1),"--card-line-soft":H(a,z,.06),"--card-hover":H(a,z,.04),"--card-strong":H(a,z,.07)}}var gt=e=>V(e.secondary)||(Xe(e)===`custom`&&Ye(e)!==`3d`?V(e.iconColour):void 0);function _t(e,t){let n=e===`dark`?nt:B;if(t.every(e=>W(e,n)>=1.03))return n;let r=t[0];return e===`dark`?H(r,B,.08):H(r,z,.06)}function vt(e,t=`light`){let n=V(e.primary),r=V(e.gradient),i=gt(e),a=t===`dark`?rt:Ze;if(t!==`dark`&&(n||r)){let e=n||tt,t=r?[e,r]:[e],i=G(...t),o=i===B,s=i===B?z:i,c=r?H(e,r,.5):e;a={"--side-bg":r?`linear-gradient(180deg, ${e}, ${r})`:e,"--side-ink":i,"--side-ink-2":o?K(H(c,B,.85),B,t):K(`#374151`,s,t),"--side-muted":o?K(H(c,B,.68),B,t):K(`#5b6779`,s,t),"--side-active":o?H(c,B,.16):H(c,z,.06),"--side-line":o?H(c,B,.22):H(c,z,.1),"--side-line-soft":o?H(c,B,.12):H(c,z,.06),"--side-icon":i}}let o=at(e,t),s=G(...o)===B,c=o.length>1?H(o[0],o[o.length-1],.5):o[0],l=i||ot,u=t!==`dark`&&!i&&!n&&!r,d=u?$e.bg:H(l,c,s?.7:.88);if(a={...a,"--side-current-bg":d,"--side-current-ink":u?$e.ink:s?K(H(l,B,.75),B,[d]):K(l,z,[d]),...i&&!n&&!r?{"--side-icon":s?K(H(i,B,.5),B,o):K(i,z,o)}:{}},a={...a,"--side-nest":_t(t,o)},t===`dark`){let s=i?bt(i,`dark`,nt):it;return yt({...a,...s,"--color-icon":Qe.dark,...ht(e,t)},o,!n&&!r)}let f=ut(e)||B,p=!i&&f!==B?K(et[`--color-accent`],z,[f]):void 0,m=i?bt(i,`light`,f):p?{...et,"--color-accent-fg":p,"--color-accent-fg-hover":H(p,z,.25)}:et;return yt({...a,...m,"--color-icon":K(Qe.light,z,[f]),...ht(e,t)},o,!n&&!r)}function yt(e,t,n){let r=e[`--color-icon`];return n&&t.every(e=>W(r,e)>=3)?{...e,"--side-icon":r}:e}function bt(e,t,n){let r=Ht(e),i=Pt.map(e=>r[e]),a=i.indexOf(e),o=i.length-1,s=e=>{let[t,n,r]=zt(e);return Vt(Math.min(t+.045,.97),n,r)},c=e=>{for(let t=a;t>=0&&t<=o;t+=e)if(W(i[t],n)>=4.5)return t;return e===1?o:0},l=xt(e);if(t===`dark`){let[,t,n]=zt(e),r=c(-1);return{"--color-accent":l.fill,"--color-accent-hover":l.ink===B?H(l.fill,z,.12):s(e),"--color-accent-soft":Vt(.26,t*.35,n),"--color-accent-line":Vt(.38,t*.6,n),"--color-accent-ink":l.ink,"--color-accent-fg":i[r],"--color-accent-fg-hover":i[Math.max(r-2,0)],"--color-accent-grad":i[3]}}let u=c(1);return{"--color-accent":l.fill,"--color-accent-hover":l.ink===B?H(l.fill,z,.12):s(e),"--color-accent-soft":W(i[0],n)<1.06?i[1]:i[0],"--color-accent-line":i[2],"--color-accent-ink":l.ink,"--color-accent-fg":i[u],"--color-accent-fg-hover":i[Math.min(u+2,o)],"--color-accent-grad":i[3]}}function xt(e){if(W(B,e)<3)return{fill:e,ink:G(e)};let t=e;for(let n=.02;W(B,t)<4.5&&n<=.6;n+=.02)t=H(e,z,n);return{fill:t,ink:B}}function St(e,t,n,r){let i=e;for(let a=.1;a<=1.001&&Math.min(...n.map(e=>W(i,e)))<r;a+=.1)i=H(e,t,a);return i}function Ct(e,t=`light`){let n=Xe(e);if(n===`text`||Ye(e)===`3d`)return{vars:{},moved:[]};let r=n===`accent`?V(e.secondary)||ot:V(e.iconColour),i=t===`dark`?nt:ut(e)||B,a=at(e,t),o=n===`accent`?vt(e,t)[`--color-accent-fg`]:St(r,t===`dark`?B:z,[i],3),s=St(r,G(...a),a,3),c=a.length>1?H(a[0],a[a.length-1],.5):a[0],l=[];return n!==`accent`&&o!==r&&l.push(`page`),s!==r&&l.push(`sidebar`),{vars:{"--icon-colour":o,"--side-icon-colour":s,"--icon-tint":H(o,i,Tt),"--side-icon-tint":H(s,c,Tt)},moved:l}}var wt=[`--icon-colour`,`--side-icon-colour`,`--icon-tint`,`--side-icon-tint`],Tt=.8;function Et(e){let t=vt(e),n=[V(e.primary)||tt,...V(e.gradient)?[V(e.gradient)]:[]],r=Math.min(...n.map(e=>W(t[`--side-ink`],e))),i=W(t[`--color-accent-ink`],t[`--color-accent`]),a=W(t[`--color-accent-fg`],ut(e)||B),o=e=>Math.round(e*10)/10;return[{label:`Sidebar text`,ratio:o(r),ok:r>=4.5},{label:`Button text`,ratio:o(i),ok:i>=4.5},{label:`Links on the page`,ratio:o(a),ok:a>=4.5}]}function Dt(e){let t={};for(let n of e.split(/\r?\n/)){let e=[...n.matchAll(/#(?:[0-9a-f]{6}|[0-9a-f]{3})\b/gi)].map(e=>V(e[0])).filter(Boolean);if(!e.length)continue;let r=n.toLowerCase();/gradient/.test(r)?(!t.gradient&&e.length>1&&(t.gradient=e.at(-1)),!t.primary&&/primary|brand|sidebar/.test(r)&&(t.primary=e[0])):/\b(page )?background\b|\bbg\b/.test(r)&&!/button|sidebar|accent|primary|secondary/.test(r)?!t.background&&U(e[0])>=.75&&(t.background=e[0]):!t.secondary&&/secondary|accent|button|\bcta\b/.test(r)?t.secondary=e[0]:!t.primary&&/primary|brand|sidebar/.test(r)&&(t.primary=e[0])}return t}function Ot(e,t=document.documentElement,n=`light`){t.dataset.mode=n;for(let[r,i]of Object.entries(vt(e,n)))t.style.setProperty(r,i);let r=ft(e,n);for(let e of dt)r[e]?t.style.setProperty(e,r[e]):t.style.removeProperty(e);let i=Ye(e);t.dataset.iconSet=i;let a=Nt(e,jt,n);t.dataset.icons=i===`3d`?a.style:`plain`,t.style.setProperty(`--icon-tile`,a.tile),t.style.setProperty(`--icon-outline`,a.outline),t.style.setProperty(`--icon-mono`,a.mono);let o=Ct(e,n).vars;t.dataset.iconFill=o[`--icon-colour`]?`colour`:`duotone`;for(let e of wt)o[e]?t.style.setProperty(e,o[e]):t.style.removeProperty(e)}function kt(e,t){if(!e)return null;let n=e.kind===`background`?1.6:2;if(!t.some(t=>W(e.colour,t)<n))return null;let r=t.length>1?H(t[0],t[t.length-1],.5):t[0];return G(...t)===B?H(r,B,.9):H(r,z,.85)}var At=e=>/^(ph|lucide):/.test(e),jt=[...new Set([...Object.values(Re),...te.map(e=>ne(e.agent).icon)])].filter(e=>!At(e)),Mt=(e,t)=>Math.max(1,...(Le[e]||[]).map(e=>W(e,t)));function Nt(e,t=jt,n=`light`){let r=at(e,n),i=r.length>1?H(r[0],r[1],.5):r[0],a=G(...r),o=(e,t)=>Math.min(...t.map(t=>Mt(e,t))),s=t.map(e=>({icon:e,ratio:Math.round(o(e,r)*100)/100})).filter(e=>e.ratio<2).sort((e,t)=>e.ratio-t.ratio),c=[H(i,B,.9),H(i,z,.82)],l=e=>Math.min(...t.map(t=>Mt(t,e))),u=c.find(e=>l(e)>=2)||c.reduce((e,t)=>l(t)>l(e)?t:e,c[0]),d=(e.iconStyle&&e.iconStyle!==`auto`&&Be.includes(e.iconStyle)?e.iconStyle:void 0)||(s.length?`tiles`:`plain`),f=d===`tiles`?l(u):Math.min(...d===`plain`?t.map(e=>o(e,r)):r.map(e=>W(a,e)));return{style:d,tile:u,outline:a,mono:a,faint:s,lowest:Math.round(f*100)/100}}var Pt=[50,100,200,300,400,500,600,700,800,900,950],Ft=[.975,.94,.88,.8,.71,.62,.53,.45,.37,.29,.21],It=[.12,.25,.45,.7,.9,1,1,.92,.8,.66,.5],Lt=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4,Rt=e=>e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;function zt(e){let[t,n,r]=st(e).map(e=>Lt(e/255)),i=Math.cbrt(.4122214708*t+.5363325363*n+.0514459929*r),a=Math.cbrt(.2119034982*t+.6806995451*n+.1073969566*r),o=Math.cbrt(.0883024619*t+.2817188376*n+.6299787005*r),s=.2104542553*i+.793617785*a-.0040720468*o,c=1.9779984951*i-2.428592205*a+.4505937099*o,l=.0259040371*i+.7827717662*a-.808675766*o;return[s,Math.hypot(c,l),Math.atan2(l,c)]}function Bt(e,t,n){let r=t*Math.cos(n),i=t*Math.sin(n),a=(e+.3963377774*r+.2158037573*i)**3,o=(e-.1055613458*r-.0638541728*i)**3,s=(e-.0894841775*r-1.291485548*i)**3;return[4.0767416621*a-3.3077115913*o+.2309699292*s,-1.2684380046*a+2.6097574011*o-.3413193965*s,-.0041960863*a-.7034186147*o+1.707614701*s]}function Vt(e,t,n){let r=t,i=Bt(e,r,n);for(let t=0;t<24&&i.some(e=>e<-5e-4||e>1.0005);t++)i=Bt(e,r*=.85,n);return ct(i.map(e=>Rt(Math.min(1,Math.max(0,e)))*255))}function Ht(e){let t=V(e);if(!t)return;let[n,r,i]=zt(t),a=r<.01?0:r,o=Ft.reduce((e,t,r)=>Math.abs(t-n)<Math.abs(Ft[e]-n)?r:e,0),s={};return Pt.forEach((e,n)=>s[e]=n===o?t:Vt(Ft[n],a*It[n]/It[o],i)),s}var Ut=[`deep`,`light`];function Wt(e,t=`deep`){let n=Ht(e);if(!n)return;let r=V(e),i=[r,...Pt.filter(e=>zt(n[e])[0]<=zt(r)[0]+1e-9).map(e=>n[e])].find(e=>W(B,e)>=4.5)||n[700],a=U(n[50])>=.75?n[50]:B;return t===`light`?{primary:n[100],gradient:n[200],secondary:i,background:a}:{primary:n[800],gradient:n[950],secondary:i,background:a}}var Gt=`forgeqe-mode`,Kt=()=>{try{let e=localStorage.getItem(Gt);return e===`light`||e===`dark`?e:`system`}catch{return`system`}},qt=()=>typeof matchMedia==`function`&&matchMedia(`(prefers-color-scheme: dark)`).matches,Jt=(0,I.createContext)({theme:{},saved:{},reload:()=>{},preview:()=>{},mode:`light`,choice:`system`,setChoice:()=>{}});function Yt({children:e}){let[t,n]=(0,I.useState)({}),[r,i]=(0,I.useState)(null),[a,o]=(0,I.useState)(Kt),[s,c]=(0,I.useState)(qt),l=(0,I.useCallback)(()=>{ae.get().then(n,()=>{})},[]);(0,I.useEffect)(l,[l]),(0,I.useEffect)(()=>{if(typeof matchMedia!=`function`)return;let e=matchMedia(`(prefers-color-scheme: dark)`),t=()=>c(e.matches);return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},[]);let u=(0,I.useCallback)(e=>{o(e);try{e===`system`?localStorage.removeItem(Gt):localStorage.setItem(Gt,e)}catch{}},[]),d=a===`system`?s?`dark`:`light`:a,f=r??t;k(f.agentNames),(0,I.useEffect)(()=>Ot(f,document.documentElement,d),[f,d]),(0,I.useEffect)(()=>N(f.appName),[f.appName]);let p=f.logoMark||f.logo;return(0,I.useEffect)(()=>{let e=document.querySelector(`link[rel="icon"][data-brand]`);if(!p)return void e?.remove();e||(e=document.createElement(`link`),e.rel=`icon`,e.dataset.brand=``,document.head.appendChild(e)),e.href=p},[p]),(0,L.jsx)(Jt.Provider,{value:{theme:f,saved:t,reload:l,preview:i,mode:d,choice:a,setChoice:u},children:(0,L.jsx)(oe.Provider,{value:Ye(f)===`lucide`?`lucide`:`phosphor`,children:e})})}var Xt=()=>(0,I.useContext)(Jt),Zt={forgeqe:[`......####...`,`......#..#...`,`......#......`,`......#......`,`...####......`,`..#####......`,`...###.......`],engine:[`..#########..`,`..#.#.#####..`,`..#########..`,`..#.......#..`,`..#.......#..`,`..#.......#..`,`..#########..`],desktop:[`..#########..`,`..#.......#..`,`..#.......#..`,`..#.......#..`,`..#########..`,`......#......`,`....#####....`],mobile:[`....#####....`,`....#...#....`,`....#...#....`,`....#...#....`,`....#...#....`,`....##.##....`,`....#####....`],"forgeqe-test":[`...#.....#...`,`..#....#..#..`,`.#....#....#.`,`#....#......#`,`.#..#......#.`,`..##......#..`,`...#.....#...`],"forgeqe-read":[`.###.....###.`,`#...#...#...#`,`#.#.#...#.#.#`,`#.#..#.#..#.#`,`#.#..#.#..#.#`,`#....#.#....#`,`.#####.#####.`],"forgeqe-heal":[`.....###.....`,`.....###.....`,`..#########..`,`..#########..`,`..#########..`,`.....###.....`,`.....###.....`],"forgeqe-pr-review":[`...........#.`,`..........##.`,`.........##..`,`#.......##...`,`.##....##....`,`..##..##.....`,`...####......`],"forgeqe-find":[`...####......`,`..#....#.....`,`..#....#.....`,`..#....#.....`,`...####......`,`......##.....`,`.......##....`],"forgeqe-defect-rca":[`..#.....#....`,`...#...#.....`,`..#######....`,`.#.#####.#...`,`..#######....`,`.#.#####.#...`,`...#...#.....`],"forgeqe-judge":[`......#......`,`.....###.....`,`#############`,`.###########.`,`...#######...`,`..####.####..`,`.##.......##.`],"forgeqe-knowledge-agent":[`....#####....`,`...#.....#...`,`...#.....#...`,`....#...#....`,`.....###.....`,`.....###.....`,`......#......`],"forgeqe-responsive":[`#######..###.`,`#.....#..#.#.`,`#.....#..#.#.`,`#######..#.#.`,`...#.....###.`,`..###........`,`.............`],"forgeqe-tosca":[`#############`,`.#.........#.`,`.#..#####..#.`,`.#.#.....#.#.`,`.##.......##.`,`.#.........#.`,`#############`],"forgeqe-data":[`...#######...`,`..#.......#..`,`..#########..`,`..#.......#..`,`..#########..`,`..#.......#..`,`...#######...`],"forgeqe-migrate":[`.......#.....`,`.......##....`,`#############`,`#############`,`.......##....`,`.......#.....`,`.............`],"forgeqe-review":[`....#.#.#....`,`...#######...`,`.###.....###.`,`..##..#..##..`,`.###.....###.`,`...#######...`,`....#.#.#....`],"forgeqe-basal":[`....###......`,`....###..###.`,`.##.###..###.`,`.##.###..###.`,`.##.###..###.`,`.##.###..###.`,`.............`],"forgeqe-model-profile":[`.........##..`,`.........##..`,`......#####..`,`......#####..`,`...########..`,`...########..`,`#############`],"req-agent":[`..#######....`,`..#.....#....`,`..#.###.#....`,`..#.....#.#..`,`..#.###.##.#.`,`..#......#.#.`,`..########.#.`],"forgeqe-persona":[`.....###.....`,`....#####....`,`....#####....`,`.....###.....`,`...#######...`,`..#########..`,`..#########..`],"forgeqe-refine":[`......#......`,`......#......`,`.....###.....`,`..#########..`,`.....###.....`,`......#......`,`......#......`],"forgeqe-api-plan":[`..#########..`,`..#.......#..`,`..#.##.##.#..`,`..#.......#..`,`..#.##.##.#..`,`..#.......#..`,`..#########..`],"forgeqe-test-plan":[`#.#####......`,`..........#..`,`.........#...`,`#.#####.##...`,`........#....`,`...........#.`,`#.#####......`],"forgeqe-explore-plan":[`..#..........`,`..#######....`,`..#########..`,`..#######....`,`..#..........`,`..#..........`,`.###.........`],explore:[`..###...###..`,`.#####.#####.`,`#..####...###`,`#..####...###`,`.#####.#####.`,`..###...###..`,`.............`],general:[`....#####....`,`...#.....#...`,`........#....`,`.......#.....`,`......#......`,`.............`,`......#......`],"forgeqe-perf":[`....#####....`,`..##.....##..`,`.#.......#.#.`,`#.......#...#`,`#......#....#`,`#.....#.....#`,`#############`],"forgeqe-api":[`..##.....##..`,`.#.........#.`,`.#.........#.`,`#...#.#.#...#`,`.#.........#.`,`.#.........#.`,`..##.....##..`]},Qt=new Map;function $t(e){if(!Object.hasOwn(Zt,e))return;let t=Qt.get(e);return t||(t=Zt[e].flatMap((e,t)=>[...e].flatMap((e,n)=>e===`#`?[[n,t]]:[])),Qt.set(e,t)),t}var en=[`searching`,`browsing`,`reading`,`writing`,`working`,`handing`];function tn(e){if(e)return en.includes(e)?e:Object.hasOwn(nn,e)?nn[e]:void 0}var nn={recording:`browsing`,retrying:`working`,compacting:`reading`},q=Math.PI*2,J=e=>e-Math.floor(e);function rn(e){return[.55+Math.cos(e*2.2)*.38,.08+Math.sin(e*4.4)*.2]}function an(e){let t=J(e/1.7);return t<.75?{p:t/.75,flying:!0}:{p:0,flying:!1}}function on(e){let t=e/.75;return{line:Math.floor(t)%3,along:J(t)}}function sn(e,t){if(e===`searching`){let[e,n]=rn(t);return[Math.max(-1,Math.min(1,e*1.1)),Math.max(-1,Math.min(1,n*1.6))]}if(e===`browsing`)return[.75+.15*Math.sin(t*1.4),.35];if(e===`reading`){let{line:e,along:n}=on(t);return[-.7+1.4*n,.55+e*.15]}if(e===`writing`)return[.55+.1*Math.sin(t*7),.75];if(e===`working`)return[.7,.45];let{p:n,flying:r}=an(t);return r?[Math.min(1,.3+n*1.2),.35-n*.15]:[.2,.3]}function cn(e,t,n,r,i,a,o,s){e.save(),e.lineCap=`round`,e.lineJoin=`round`;let c=R(o,35,s?82:28);t===`searching`?ln(e,n,r,i,a,c):t===`browsing`?un(e,n,r+a*1,i+a*.45,a*.42,s):t===`reading`?fn(e,n,r,i+a*1.02,a,o,s,c):t===`writing`?pn(e,n,r+a*.92,i+a*.62,a,s,c):t===`working`?hn(e,n,r+a*.92,i+a*.6,a,o,s):gn(e,n,r,i,a,s),e.restore()}function ln(e,t,n,r,i,a){let[o,s]=rn(t),c=n+o*i,l=r+s*i,u=i*.28;e.strokeStyle=R(28,45,38),e.lineWidth=i*.1,e.beginPath(),e.moveTo(c+u*.75,l+u*.75),e.lineTo(c+u*1.9,l+u*1.9),e.stroke(),e.fillStyle=`rgba(190,225,255,.38)`,e.beginPath(),e.arc(c,l,u,0,q),e.fill(),e.strokeStyle=a,e.lineWidth=i*.07,e.stroke(),e.strokeStyle=`rgba(255,255,255,.85)`,e.lineWidth=i*.035,e.beginPath(),e.arc(c,l,u*.62,1.1*Math.PI,1.45*Math.PI),e.stroke()}function un(e,t,n,r,i,a){let o=e.createRadialGradient(n-i*.35,r-i*.35,i*.1,n,r,i);o.addColorStop(0,R(200,75,a?70:78)),o.addColorStop(1,R(212,65,a?42:52)),e.fillStyle=o,e.beginPath(),e.arc(n,r,i,0,q),e.fill(),e.save(),e.beginPath(),e.arc(n,r,i,0,q),e.clip(),e.fillStyle=R(140,45,a?52:58,.85);for(let[a,o,s]of[[0,-.25,.42],[2.1,.3,.32],[4.2,-.05,.38]]){let c=a+t*1.6,l=Math.cos(c);l<-.1||(e.beginPath(),e.ellipse(n+Math.sin(c)*i*.8,r+o*i,i*s*Math.max(.15,l),i*s*.7,0,0,q),e.fill())}e.strokeStyle=`rgba(255,255,255,.55)`,e.lineWidth=Math.max(1,i*.07);for(let a=0;a<4;a++){let o=t*1.6+a*Math.PI/4;e.beginPath(),e.ellipse(n,r,Math.abs(Math.sin(o))*i,i,0,0,q),e.stroke()}for(let t of[-.5,0,.5])e.beginPath(),e.ellipse(n,r+t*i,i*Math.sqrt(1-t*t),i*.12,0,0,q),e.stroke();e.restore(),e.strokeStyle=R(212,50,a?80:35,.7),e.lineWidth=Math.max(1,i*.08),e.beginPath(),e.arc(n,r,i,0,q),e.stroke()}function dn(e,t,n){e.save(),e.beginPath(),e.arc(0,0,n*.98,0,q),e.clip(),e.strokeStyle=`rgba(255,255,255,.4)`,e.lineWidth=n*.035;for(let r=0;r<6;r++){let i=t*1.6+r*Math.PI/6,a=Math.cos(i);a<0||(e.globalAlpha=.35+.65*a,e.beginPath(),e.ellipse(0,0,Math.abs(Math.sin(i))*n,n,0,0,q),e.stroke())}e.globalAlpha=1,e.restore()}function fn(e,t,n,r,i,a,o,s){let c=i*.6,l=i*.42,u=i*.08;e.fillStyle=R(a,50,o?45:52),e.beginPath(),e.moveTo(n-c-i*.04,r-l*.5+u),e.lineTo(n,r-l*.5+i*.04),e.lineTo(n+c+i*.04,r-l*.5+u),e.lineTo(n+c+i*.04,r+l*.5+u+i*.05),e.lineTo(n,r+l*.5+i*.09),e.lineTo(n-c-i*.04,r+l*.5+u+i*.05),e.closePath(),e.fill();let d=t=>{e.beginPath(),e.moveTo(n,r-l*.5),e.lineTo(n+t*c,r-l*.5+u),e.lineTo(n+t*c,r+l*.5+u),e.lineTo(n,r+l*.5),e.closePath()};e.fillStyle=o?`#e9e6f2`:`#fffdf8`;for(let t of[-1,1])d(t),e.fill();let{line:f,along:p}=on(t);e.lineWidth=i*.035;for(let t of[-1,1])for(let i=0;i<3;i++){let a=r-l*.22+i*l*.24,o=n+t*c*.15,s=n+t*c*.85;e.strokeStyle=`rgba(90,95,120,.35)`,e.beginPath(),e.moveTo(o,a+u*.4),e.lineTo(s,a+u*.9),e.stroke()}let m=-1+2*p,h=m<0?-1:1,g=r-l*.22+f*l*.24;e.strokeStyle=s,e.beginPath(),e.moveTo(n+h*c*.15,g+u*.4),e.lineTo(n+h*c*(.15+.7*Math.min(1,Math.abs(m))),g+u*(.4+.5*Math.min(1,Math.abs(m)))),e.stroke();let _=J(t/2.25);if(_>.78){let t=(_-.78)/.22,a=Math.cos(t*Math.PI);e.fillStyle=o?`#f4f2fa`:`#ffffff`,e.strokeStyle=`rgba(90,95,120,.3)`,e.lineWidth=i*.02,e.beginPath(),e.moveTo(n,r-l*.5),e.lineTo(n+a*c,r-l*.5+u-Math.sin(t*Math.PI)*i*.2),e.lineTo(n+a*c,r+l*.5+u-Math.sin(t*Math.PI)*i*.2),e.lineTo(n,r+l*.5),e.closePath(),e.fill(),e.stroke()}e.strokeStyle=`rgba(90,95,120,.45)`,e.lineWidth=i*.025,e.beginPath(),e.moveTo(n,r-l*.5),e.lineTo(n,r+l*.5),e.stroke()}function pn(e,t,n,r,i,a,o){let s=i*.66,c=i*.78;e.save(),e.translate(n,r),e.rotate(-.12),e.fillStyle=a?`#ece9f4`:`#fffdf6`,e.strokeStyle=`rgba(90,95,120,.35)`,e.lineWidth=i*.025,e.beginPath(),e.roundRect(-s/2,-c/2,s,c,i*.05),e.fill(),e.stroke(),e.fillStyle=R(350,55,62),e.fillRect(-s/2,-c/2,s,c*.13);let l=J(t/4)*4,u=Math.floor(l);e.strokeStyle=o,e.lineWidth=i*.035;let d=-s*.32,f=-c*.18;for(let t=0;t<=Math.min(u,3);t++){let n=-c*.18+t*c*.18,r=t<u?1:l-u,a=-s*.32+s*.64*r;e.beginPath();for(let r=0;r<=8;r++){let o=-s*.32+(a+s*.32)*(r/8),c=n+Math.sin(r*2.3+t)*i*.018;r?e.lineTo(o,c):e.moveTo(o,c)}e.stroke(),[d,f]=[a,n]}let p=Math.sin(t*22)*i*.02;e.translate(d+p,f),e.rotate(-.7),e.fillStyle=R(45,90,60),e.fillRect(0,-i*.045,i*.42,i*.09),e.fillStyle=R(25,50,75),e.beginPath(),e.moveTo(0,-i*.045),e.lineTo(-i*.1,0),e.lineTo(0,i*.045),e.fill(),e.fillStyle=R(350,60,70),e.fillRect(i*.42,-i*.045,i*.07,i*.09),e.restore()}function mn(e,t,n,r,i,a){e.beginPath();for(let o=0;o<i*2;o++){let s=a+o*Math.PI/i,c=a+(o+1)*Math.PI/i,l=o%2?r*.78:r;e.lineTo(t+Math.cos(s)*l,n+Math.sin(s)*l),e.lineTo(t+Math.cos(c)*l,n+Math.sin(c)*l)}e.closePath(),e.fill(),e.fillStyle=`rgba(255,255,255,.75)`,e.beginPath(),e.arc(t,n,r*.3,0,q),e.fill()}function hn(e,t,n,r,i,a,o){let s=i*.38,c=i*.25;e.fillStyle=R(a,25,o?72:50),mn(e,n,r,s,8,t*1.4),e.fillStyle=R(a+30,30,62),mn(e,n+s*.82,r-s*.95,c,6,-t*1.4*(8/6)+.2)}function gn(e,t,n,r,i,a){let{p:o,flying:s}=an(t);if(!s)return;let c=1-(1-o)**2,l=n+i*(.45+c*1.05),u=r+i*(.45-Math.sin(o*Math.PI)*.35),d=i*.4;e.globalAlpha=o>.8?(1-o)/.2:1,e.strokeStyle=a?`rgba(220,225,240,.5)`:`rgba(90,95,120,.35)`,e.lineWidth=i*.03;for(let t of[-.25,0,.25])e.beginPath(),e.moveTo(l-d*.7-i*.12,u+t*d),e.lineTo(l-d*.7-i*(.12+.25*c),u+t*d),e.stroke();e.translate(l,u),e.rotate(Math.sin(o*Math.PI)*.25),e.fillStyle=R(32,55,a?55:64),e.beginPath(),e.roundRect(-d/2,-d/2,d,d*.85,d*.08),e.fill(),e.fillStyle=R(32,40,a?75:82),e.fillRect(-d*.08,-d/2,d*.16,d*.85),e.globalAlpha=1}function _n(e,t,n,r,i,a,o){let s=o?`rgba(235,236,248,.92)`:`rgba(255,255,255,.95)`,c=R(a,30,o?70:72,.8),l=n+i*.98,u=r-i*1.05,d=Math.sin(t*1.8)*i*.04;e.save(),e.fillStyle=s,e.strokeStyle=c,e.lineWidth=i*.03;for(let[t,a,o]of[[.42,.62,.05],[.25,.38,.08]])e.beginPath(),e.arc(n+i*t,r-i*a+d*.5,i*o,0,q),e.fill(),e.stroke();e.beginPath();for(let[t,n,r]of[[-.2,.04,.17],[0,-.1,.2],[.2,.02,.17],[.02,.1,.18]])e.moveTo(l+i*t+i*r,u+i*n+d),e.arc(l+i*t,u+i*n+d,i*r,0,q);e.fill(),e.stroke(),e.fillStyle=s;for(let[t,n,r]of[[-.2,.04,.15],[0,-.1,.18],[.2,.02,.15],[.02,.1,.16]])e.beginPath(),e.arc(l+i*t,u+i*n+d,i*r,0,q),e.fill();let f=Math.floor(t*2.5)%4;e.fillStyle=R(a,45,45);for(let t=0;t<3;t++)e.globalAlpha=t<f?1:.2,e.beginPath(),e.arc(l+i*(t-1)*.15,u+d,i*.045,0,q),e.fill();e.restore()}function vn(e,t,n,r,i,a){let o=r*.24,s=r-o-r*.01,c=r-o-r*.01,l=Math.max(1,o*.16);if(e.save(),e.lineCap=`round`,e.lineJoin=`round`,t===`browsing`){un(e,n,s,c,o,a),e.restore();return}e.fillStyle=a?`#23242d`:`#ffffff`,e.strokeStyle=R(i,45,a?60:72),e.lineWidth=Math.max(1,o*.12),e.beginPath(),e.arc(s,c,o,0,q),e.fill(),e.stroke(),e.beginPath(),e.arc(s,c,o*.92,0,q),e.clip();let u=R(i,40,a?82:32);if(t===`searching`){let t=s-o*.12+Math.cos(n*3.2)*o*.18,r=c-o*.12+Math.sin(n*3.2)*o*.18;e.strokeStyle=R(28,45,42),e.lineWidth=l*1.3,e.beginPath(),e.moveTo(t+o*.28,r+o*.28),e.lineTo(t+o*.62,r+o*.62),e.stroke(),e.fillStyle=`rgba(170,215,255,.55)`,e.strokeStyle=u,e.lineWidth=l,e.beginPath(),e.arc(t,r,o*.38,0,q),e.fill(),e.stroke()}else if(t===`reading`){let t=o*.62,r=o*.62,i=o*.12,d=c-r/2;e.fillStyle=a?`#f1eff8`:`#ffffff`,e.strokeStyle=u,e.lineWidth=Math.max(1,l*.8);for(let n of[-1,1])e.beginPath(),e.moveTo(s,d),e.lineTo(s+n*t,d+i),e.lineTo(s+n*t,d+r+i),e.lineTo(s,d+r),e.closePath(),e.fill(),e.stroke();let f=J(n/1.4);if(f<.6){let n=Math.cos(f/.6*Math.PI),a=Math.sin(f/.6*Math.PI)*o*.25;e.beginPath(),e.moveTo(s,d),e.lineTo(s+n*t,d+i-a),e.lineTo(s+n*t,d+r+i-a),e.lineTo(s,d+r),e.closePath(),e.fill(),e.stroke()}}else if(t===`writing`){let t=J(n/1.6),r=s-o*.55,i=r+o*1.1*t,a=c+o*.42;e.strokeStyle=u,e.lineWidth=Math.max(1,l*.8),e.beginPath();for(let t=0;t<=10;t++){let n=r+(i-r)*(t/10),s=a+Math.sin(t*2.4)*o*.06;t?e.lineTo(n,s):e.moveTo(n,s)}e.stroke(),e.translate(i,a-o*.05+Math.sin(n*24)*o*.05),e.rotate(-.85),e.fillStyle=R(45,90,58),e.fillRect(o*.08,-o*.13,o*.85,o*.26),e.fillStyle=R(25,50,70),e.beginPath(),e.moveTo(o*.08,-o*.13),e.lineTo(-o*.12,0),e.lineTo(o*.08,o*.13),e.fill()}else if(t===`working`)e.fillStyle=R(i,30,a?70:45),mn(e,s,c,o*.72,7,n*2);else{let t=J(n/1.1),r=s-o*.75+t*o*1.5,i=o*.6;e.globalAlpha=t>.75?(1-t)/.25:t<.15?t/.15:1,e.fillStyle=R(32,55,a?58:60),e.fillRect(r-i/2,c-i/2,i,i),e.fillStyle=R(32,40,a?80:84),e.fillRect(r-i*.09,c-i/2,i*.18,i),e.globalAlpha=1}e.restore()}var yn=(e,t,n)=>Math.max(t,Math.min(n,e));function bn(e){if(e.symbol)return{lit:e.symbol.cells.filter(([,t])=>t<e.symbol.rows),pink:[]};let t=[],n=(e,n)=>{e>=0&&e<13&&n>=0&&n<7&&t.push([e,n])},r=yn(Math.round(e.gx*1.5),-1,1),i=yn(Math.round(e.gy*1.5),-1,1),a=`open`;e.expr===`sleep`?a=`sleep`:e.expr===`joy`?a=e.heart?`heart`:`happy`:e.expr===`surprised`?a=`wide`:e.expr===`concern`?a=`worried`:e.expr===`angry`?[a,i]=[`cross`,0]:e.expr===`frustrated`?[a,r,i]=[`flat`,-1,0]:e.expr===`think`&&([r,i]=[1,-1]),a===`open`&&(a=e.open<.15?`closed`:e.open<.72||e.expr===`drowsy`?`half`:`open`);let o=1+i;for(let e of[3,8]){let t=e+r;if(a===`open`)for(let e of[0,1])for(let r of[0,1,2])n(t+e,o+r);if(a===`half`||a===`worried`||a===`cross`)for(let e of[0,1])for(let r of[1,2])n(t+e,o+r);if(a===`worried`&&(e===3?(n(t,o),n(t+1,o-1)):(n(t,o-1),n(t+1,o))),a===`cross`&&(e===3?(n(t,o-1),n(t+1,o)):(n(t,o),n(t+1,o-1))),a===`flat`){for(let e=-1;e<=2;e++)n(t+e,o+1);n(t,o+2),n(t+1,o+2)}if(a===`closed`&&(n(t,o+2),n(t+1,o+2)),a===`happy`&&(n(t-1,o+2),n(t,o+1),n(t+1,o+1),n(t+2,o+2)),a===`sleep`&&(n(t-1,o+1),n(t,o+2),n(t+1,o+2),n(t+2,o+1)),a===`wide`){for(let e of[0,1])for(let r of[0,1,2])n(t+e,o+r);n(t-1,o+1),n(t+2,o+1)}if(a===`heart`){n(t-1,o),n(t+2,o);for(let e=-1;e<=2;e++)n(t+e,o+1);n(t,o+2),n(t+1,o+2)}}let s=e=>e.forEach(([e,t])=>n(e,t));if(e.yawn>.3)s([[5,4],[6,4],[7,4],[5,5],[7,5],[5,6],[6,6],[7,6]]);else if(e.expr===`talk`){let t=e.mouth;s(t<.12?[[5,6],[6,6],[7,6]]:t<.4?[[4,6],[5,6],[6,6],[7,6],[8,6]]:t<.7?[[5,5],[6,5],[7,5],[5,6],[6,6],[7,6]]:[[4,5],[5,5],[6,5],[7,5],[8,5],[4,6],[5,6],[6,6],[7,6],[8,6]])}else if(e.expr===`joy`)s([[4,5],[5,6],[6,6],[7,6],[8,5]]);else if(e.expr===`concern`)s([[5,6],[6,5],[7,6]]);else if(e.expr===`angry`)s([[4,6],[5,5],[6,5],[7,5],[8,6]]);else if(e.expr===`frustrated`)s([[4,6],[5,5],[6,6],[7,5],[8,6]]);else if(e.expr===`surprised`)s([[5,5],[6,5],[7,5],[5,6],[7,6]]);else if(e.expr===`think`){let t=Math.floor(e.t*3)%4;[[5,6],[6,6],[7,6]].forEach(([e,r],i)=>i<t&&n(e,r))}else e.expr===`sleep`?n(6,6):e.expr===`drowsy`?s([[5,6],[6,6],[7,6]]):s([[5,5],[6,6],[7,5]]);return{lit:t,pink:e.blush>.45&&e.expr!==`sleep`?[[1,4],[2,4],[10,4],[11,4]]:[]}}var Y=Math.PI*2,xn=new Map,Sn=new Map;function Cn(e){let t=Math.round(e*100),n=Sn.get(t);if(!n){let r=e*1.42,i=e*.98;n=new Path2D,n.moveTo(-r*.5,0),n.bezierCurveTo(-r*.5,i*.42,-r*.3,i*.52,0,i*.52),n.bezierCurveTo(r*.3,i*.52,r*.5,i*.42,r*.5,0),n.bezierCurveTo(r*.5,-i*.32,r*.44,-i*.5,r*.28,-i*.5),n.bezierCurveTo(r*.14,-i*.5,r*.1,-i*.36,0,-i*.36),n.bezierCurveTo(-r*.1,-i*.36,-r*.14,-i*.5,-r*.28,-i*.5),n.bezierCurveTo(-r*.44,-i*.5,-r*.5,-i*.32,-r*.5,0),Sn.set(t,n)}return n}function X(e,t,n,r,i,a,o){let s=`${e}|${t}|${n}|${r}|${i.toFixed(1)}|${a}|${o}`,c=xn.get(s);if(c)return c;let l=document.createElement(`canvas`),u=l.getContext(`2d`),d=(e,t)=>{l.width=Math.ceil(e*o),l.height=Math.ceil(t*o),l.w=e,l.h=t,u.scale(o,o)},f=a?R(t,60,97):R(t,n,90),p=R(t,n,a?88:82),m=R(t,n,r);if(e===`shadow`){let e=i;d(e*1.8,e*.5);let t=u.createRadialGradient(e*.9,e*.9,0,e*.9,e*.9,e*.9);t.addColorStop(0,a?`rgba(0,0,0,.45)`:`rgba(60,55,90,.18)`),t.addColorStop(1,`rgba(60,55,90,0)`),u.fillStyle=t,u.scale(1,.28),u.beginPath(),u.arc(e*.9,e*.9,e*.9,0,Y),u.fill()}if(e===`sphere`){let e=i,o=e*2.7;d(o,o),u.translate(o/2,o/2);let s=new Path2D;s.arc(0,0,e,0,Y);let c=u.createLinearGradient(0,-e,0,e*.95);c.addColorStop(0,f),c.addColorStop(.45,p),c.addColorStop(1,m),u.save(),u.shadowColor=a?`rgba(0,0,0,.4)`:`rgba(60,50,110,.22)`,u.shadowBlur=e*.22,u.shadowOffsetY=e*.08,u.fillStyle=c,u.fill(s),u.restore(),u.save(),u.clip(s);let l=u.createRadialGradient(e*.35,e*.55,0,e*.35,e*.55,e*1.1);l.addColorStop(0,R(t,n*.8,r-10,.35)),l.addColorStop(1,R(t,n,r,0)),u.fillStyle=l,u.fillRect(-e*2,-e*2,e*4,e*4);let h=u.createRadialGradient(-e*.34,-e*.62,0,-e*.34,-e*.62,e*.6);h.addColorStop(0,`rgba(255,255,255,.75)`),h.addColorStop(1,`rgba(255,255,255,0)`),u.fillStyle=h,u.fillRect(-e*2,-e*2,e*4,e*4),u.strokeStyle=`rgba(255,255,255,.45)`,u.lineWidth=e*.04,u.stroke(s),u.restore()}if(e===`visor`||e===`gloss`){let n=i,r=n*1.42,a=n*.98,o=n*.45;d(r+o*2,a+o*2),u.translate(l.w/2,l.h/2);let s=Cn(n);if(e===`visor`){u.save(),u.shadowColor=`rgba(40,35,60,.22)`,u.shadowBlur=n*.18,u.shadowOffsetY=n*.06,u.fillStyle=R(t,18,15),u.fill(s),u.restore();let e=u.createRadialGradient(0,a*.05,0,0,a*.05,r*.62);e.addColorStop(0,R(t,20,24)),e.addColorStop(1,R(t,18,15)),u.fillStyle=e,u.fill(s),u.save(),u.clip(s);let i=r/14.2;u.fillStyle=`rgba(255,255,255,.06)`;for(let e=0;e<13;e++)for(let t=0;t<7;t++){let n=i*.72;u.beginPath(),u.roundRect((e-6)*i-n/2,(t-3)*i+a*.02-n/2,n,n,n*.26),u.fill()}u.restore(),u.strokeStyle=`rgba(255,255,255,.14)`,u.lineWidth=n*.02,u.stroke(s)}else{u.save(),u.clip(s);let e=u.createLinearGradient(0,-a*.5,0,a*.1);e.addColorStop(0,`rgba(255,255,255,.14)`),e.addColorStop(1,`rgba(255,255,255,0)`),u.fillStyle=e,u.fillRect(-r,-a,r*2,a*1.1),u.restore()}}if(e===`glow`){let e=i*2.6;d(e,e);let n=u.createRadialGradient(e/2,e/2,0,e/2,e/2,e/2);n.addColorStop(0,R(t,80,86,.75)),n.addColorStop(.35,R(t,75,80,.32)),n.addColorStop(1,R(t,70,75,0)),u.fillStyle=n,u.fillRect(0,0,e,e)}return xn.set(s,l),xn.size>600&&xn.delete(xn.keys().next().value),l}function wn(e,t,n,r,i){for(let a of t.parts)if(e.globalAlpha=1-a.life/a.max,a.kind===`heart`){let t=n*.13*a.s;e.fillStyle=`#f7a8c4`,e.beginPath(),e.moveTo(a.x,a.y+t*.9),e.bezierCurveTo(a.x-t*1.6,a.y-t*.2,a.x-t*.6,a.y-t*1.4,a.x,a.y-t*.4),e.bezierCurveTo(a.x+t*.6,a.y-t*1.4,a.x+t*1.6,a.y-t*.2,a.x,a.y+t*.9),e.fill()}else if(a.kind===`puff`)e.fillStyle=`rgba(200,205,215,.85)`,e.beginPath(),e.arc(a.x,a.y,n*.07*a.s*(1+a.life*1.2),0,Y),e.fill();else if(a.kind===`drop`){let t=n*.09*a.s;e.fillStyle=`#8fc8f2`,e.beginPath(),e.moveTo(a.x,a.y-t*1.6),e.quadraticCurveTo(a.x+t,a.y-t*.2,a.x,a.y+t*.8),e.quadraticCurveTo(a.x-t,a.y-t*.2,a.x,a.y-t*1.6),e.fill()}else if(a.kind===`z`)e.fillStyle=r,e.font=`700 ${n*.32*a.s*(1+a.life*.3)}px "Geist", sans-serif`,e.fillText(`z`,a.x,a.y);else{let t=n*.1*a.s;e.fillStyle=i,e.beginPath();for(let n=0;n<8;n++){let r=n%2?t*.3:t,i=n*Math.PI/4+a.life*2;e.lineTo(a.x+Math.cos(i)*r,a.y+Math.sin(i)*r)}e.fill()}e.globalAlpha=1}function Tn(e){let t=e.ctx,n=e.px,{colour:r,full:i,dark:a,persona:o}=e.props,s=e.time(),c=e.dpr,l=r.h,u=r.s,d=r.l;t.clearRect(0,0,n,n);let f=i?n*.3:n*.44,p=n/2,m=i?e.sleeping?f*.08+Math.sin(s*1.3)*f*.02:Math.sin(s*Y/(2.8/Math.sqrt(o.energy))+o.seed)*f*.06:0,h=i?n*.45:n*.5,g=i?e.hop*f*.32-m:e.hop*f*.08;if(i){let e=Math.max(.35,Math.min(1,1-(g+f*.1)/(f*1.2))),n=X(`shadow`,l,u,d,f,a,c);t.drawImage(n,p-n.w*e/2,h+f*1.38-n.h*e/2,n.w*e,n.h*e)}t.save(),t.translate(p+e.lean*f*(i?.18:.05),h-g),t.rotate(e.lean*(i?.12:.07));let _=i?e.sq:1+(e.sq-1)*.6;t.scale(1/Math.sqrt(Math.max(.6,_)),_);let v=X(`sphere`,l,u,d,f,a,c);t.drawImage(v,-v.w/2,-v.h/2,v.w,v.h);let y=i?e.activity():null;y===`browsing`&&dn(t,s,f);let b=!i&&n<22,x=b?f*.86:f,S=x*1.42,C=x*.98,w=e.gx*f*.08,T=-f*.02+e.gy*f*.06,E=X(`visor`,l,u,d,x,a,c);t.drawImage(E,w-E.w/2,T-E.h/2,E.w,E.h),t.save(),t.translate(w,T),t.clip(Cn(x));let D=S/14.2*(b?1.3:1),O=(e,t)=>[(e-6)*D,(t-3)*D+C*.02],k=(e,n,r)=>{let[i,a]=O(e,n);t.beginPath(),t.roundRect(i-r/2,a-r/2,r,r,r*.26),t.fill()},A=$t(o.id),j=bn({expr:e.expr,gx:e.gx,gy:e.gy,open:e.open,mouth:e.mouth,yawn:e.yawn,blush:e.blush,heart:s<e.heartUntil,t:s,...e.symbolAt!==null&&A?{symbol:{cells:A,rows:Math.min(7,(s-e.symbolAt)*16)}}:{}});if(j.pink.length){t.fillStyle=`rgba(255,182,206,${Math.min(1,e.blush)*.7})`;for(let[e,t]of j.pink)k(e,t,D*.72)}let M=X(`glow`,l,u,d,D,a,c),N=D*2.6;for(let[e,n]of b?[]:j.lit){let[r,i]=O(e,n);t.drawImage(M,r-N/2,i-N/2,N,N)}let P=Math.max(0,Math.min(1,e.heat));t.fillStyle=P>.02?`rgb(255,${Math.round(255-140*P)},${Math.round(255-150*P)})`:`#fff`;for(let[e,t]of j.lit)k(e,t,D*(b?.92:.74));t.restore();let F=X(`gloss`,l,u,d,x,a,c);t.drawImage(F,w-F.w/2,T-F.h/2,F.w,F.h),t.restore(),y&&cn(t,y,s,p+e.lean*f*.18,h-g,f,l,a);let ee=!i&&n>=20?e.activity():null;ee&&vn(t,ee,s,n,l,a),i&&e.mode===`thinking`&&!e.sleeping&&!e.feelingNow()&&_n(t,s,p,h-g,f,l,a),wn(t,e,f,R(l,60,a?80:55),R(l,55,80))}function En(e){let t=e.ctx,n=e.px,{colour:r,dark:i,persona:a}=e.props,o=e.time(),s=r.soft,c=r.h;t.clearRect(0,0,n,n);let l=n*(n<40?.31:.27),u=n/2,d=n*(n<40?.56:.6),f=e.hop*l*.32,p=1-Math.min(.55,f/l*1.4);t.fillStyle=i?`rgba(0,0,0,.35)`:`rgba(20,25,40,.10)`,t.beginPath(),t.ellipse(u,d+l*.98,l*.72*p,l*.12*p,0,0,Y),t.fill(),t.save(),t.translate(u+e.lean*l*.18,d-f),t.rotate(e.lean*.15);let m=e.sq;t.scale(1/Math.sqrt(Math.max(.6,m))*a.w,m*a.hgt);let h=R(c,45,i?12:16),g=e.expr===`joy`?Math.abs(Math.sin(o*10))*l*.07:0;t.fillStyle=s?R(c,r.s*.65,Math.min(64,r.l)):R(c,62,i?44:48);for(let e of[-1,1])t.beginPath(),t.ellipse(e*l*.42,l*.88-(e>0?g:0),l*.23,l*.12,0,0,Y),t.fill();if(a.crest===`ears`)for(let n of[-1,1])t.save(),t.translate(n*l*.56,-l*.72),t.rotate(n*(.45+e.ant*.5)),t.fillStyle=s?R(c,45,74):R(c,70,52),t.beginPath(),t.ellipse(0,-l*.2,l*.2,l*.34,0,0,Y),t.fill(),t.fillStyle=R(c+330,70,84,.85),t.beginPath(),t.ellipse(0,-l*.17,l*.1,l*.22,0,0,Y),t.fill(),t.restore();a.crest===`halo`&&(t.strokeStyle=R(48,80,72,.9),t.lineWidth=l*.07,t.beginPath(),t.ellipse(e.ant*l*.2,-l*1.3+Math.sin(o*1.6)*l*.04,l*.44,l*.11,e.ant*.3,0,Y),t.stroke());let _=new Path2D;_.moveTo(0,-l),_.bezierCurveTo(l*.64,-l,l,-l*.55,l,l*.06),_.bezierCurveTo(l,l*.62,l*.62,l*.92,0,l*.92),_.bezierCurveTo(-l*.62,l*.92,-l,l*.62,-l,l*.06),_.bezierCurveTo(-l,-l*.55,-l*.64,-l,0,-l);let v=t.createRadialGradient(-l*.38,-l*.52,l*.08,0,0,l*1.25);s?(v.addColorStop(0,R(c,r.s*.9,93)),v.addColorStop(.5,R(c,r.s*.8,80)),v.addColorStop(1,R(c,r.s*.75,Math.min(66,r.l)))):(v.addColorStop(0,R(c,85,i?82:84)),v.addColorStop(.5,R(c,72,i?62:64)),v.addColorStop(1,R(c,68,i?40:48))),t.fillStyle=v,t.fill(_),t.save(),t.clip(_),t.fillStyle=R(c,60,90,.28),t.beginPath(),t.ellipse(0,l*.6,l*.5,l*.3,0,0,Y),t.fill();let y=t.createRadialGradient(-l*.42,-l*.55,0,-l*.42,-l*.55,l*.45);if(y.addColorStop(0,`rgba(255,255,255,.55)`),y.addColorStop(1,`rgba(255,255,255,0)`),t.fillStyle=y,t.fillRect(-l*2,-l*2,l*4,l*4),t.restore(),a.crest===`antenna`){let n=e.ant,r=l*.48,i=-l*.96,a=Math.sin(n)*r,o=i-Math.cos(n)*r;t.strokeStyle=R(c,s?35:55,s?55:38),t.lineWidth=l*.05,t.lineCap=`round`,t.beginPath(),t.moveTo(0,i),t.quadraticCurveTo(Math.sin(n)*r*.2,i-r*.6,a,o),t.stroke(),t.fillStyle=R(c+40,s?60:90,s?80:74),t.beginPath(),t.arc(a,o,l*.11,0,Y),t.fill()}if(a.crest===`sprout`){t.save(),t.translate(0,-l*.95),t.rotate(e.ant*.8),t.strokeStyle=R(120,40,40),t.lineWidth=l*.05,t.beginPath(),t.moveTo(0,0),t.lineTo(0,-l*.22),t.stroke();for(let e of[-1,1])t.save(),t.translate(0,-l*.22),t.rotate(e*(.9+Math.sin(o*2+e)*.08)),t.fillStyle=R(118,s?40:55,e<0?58:64),t.beginPath(),t.ellipse(0,-l*.15,l*.08,l*.17,0,0,Y),t.fill(),t.restore();t.restore()}if(a.crest===`horns`)for(let n of[-1,1])t.save(),t.translate(n*l*.42,-l*.84),t.rotate(n*.35+e.ant*.15),t.fillStyle=R(c,35,i?88:92),t.beginPath(),t.moveTo(-l*.09,0),t.quadraticCurveTo(-l*.02,-l*.3,l*.02*n,-l*.32),t.quadraticCurveTo(l*.06,-l*.12,l*.09,0),t.closePath(),t.fill(),t.restore();if(a.crest===`tuft`){t.save(),t.translate(0,-l*.96),t.strokeStyle=R(c,s?40:70,s?62:i?50:46),t.lineWidth=l*.06,t.lineCap=`round`;for(let n of[-1,0,1])t.beginPath(),t.moveTo(n*l*.08,0),t.quadraticCurveTo(n*l*.12+e.ant*l*.3,-l*.2,n*l*.2+e.ant*l*.5,-l*.22+Math.abs(n)*l*.06),t.stroke();t.restore()}let b=e.gx*l*.2,x=-l*.06+e.gy*l*.13,S=l*a.eyeGap,C=l*a.eyeSize,w=e.expr;if(e.heat>.02){let n=t.createRadialGradient(0,-l*.25,0,0,-l*.25,l*.72);n.addColorStop(0,`rgba(255,70,70,${Math.min(1,e.heat)*.42})`),n.addColorStop(1,`rgba(255,70,70,0)`),t.fillStyle=n,t.beginPath(),t.arc(0,-l*.25,l*.72,0,Y),t.fill()}if(e.blush>.02){t.fillStyle=`rgba(255,140,170,${e.blush*.45})`;for(let e of[-1,1])t.beginPath(),t.ellipse(b+e*(S+l*.1),x+C*1.15,l*.11,l*.06,0,0,Y),t.fill()}for(let n of[-1,1]){let a=b+n*S,o=x;if(t.lineCap=`round`,w===`joy`){t.strokeStyle=h,t.lineWidth=l*.075,t.beginPath(),t.arc(a,o+C*.4,C*.68,Math.PI*1.15,Math.PI*1.85),t.stroke();continue}if(w===`sleep`||e.open<.1){t.strokeStyle=h,t.lineWidth=l*.06,t.beginPath(),w===`sleep`?t.arc(a,o-C*.3,C*.62,.18*Math.PI,.82*Math.PI):(t.moveTo(a-C*.62,o),t.lineTo(a+C*.62,o)),t.stroke();continue}t.save(),t.beginPath(),t.ellipse(a,o,C*.86,C*1.02*Math.min(e.open,1.2),0,0,Y),t.fillStyle=`#fbfbff`,t.fill(),t.clip();let u=a+e.gx*C*.34,d=o+e.gy*C*.32;if(t.fillStyle=R(c,55,i?26:30),t.beginPath(),t.arc(u,d,C*.64,0,Y),t.fill(),t.fillStyle=`#0b0c12`,t.beginPath(),t.arc(u,d,C*.36*(w===`surprised`?.75:1),0,Y),t.fill(),t.fillStyle=`#fff`,t.beginPath(),t.arc(u-C*.24,d-C*.28,C*.21,0,Y),t.fill(),t.beginPath(),t.arc(u+C*.22,d+C*.18,C*.09,0,Y),t.fill(),w===`angry`){let e=a-n*C;t.fillStyle=s?R(c,r.s*.8,82):R(c,72,i?60:62),t.beginPath(),t.moveTo(a+n*C,o-C*1.2),t.lineTo(e,o-C*1.2),t.lineTo(e,o-C*.05),t.lineTo(a+n*C,o-C*.8),t.closePath(),t.fill()}else e.open<.95&&(t.fillStyle=s?R(c,r.s*.8,82):R(c,72,i?60:62),t.fillRect(a-C,o-C*1.1,C*2,C*1.1*(1-e.open)*1.4));t.restore()}let T=(e,n,r)=>{t.strokeStyle=R(c,45,i?14:18,r),t.lineWidth=l*.05,t.lineCap=`round`;for(let r of[-1,1]){let i=b+r*S,a=x-C*1.32-e;t.beginPath(),t.moveTo(i-r*C*.55,a+n*C*.3),t.lineTo(i+r*C*.5,a-n*C*.3),t.stroke()}};w===`concern`?T(0,-1,.9):w===`angry`?T(-C*.12,1.6,1):w===`frustrated`?T(-C*.3,.3,.85):w===`think`?T(-C*.1,.8,.8):w===`surprised`?T(C*.35,0,.85):w!==`sleep`&&w!==`joy`&&T(0,0,.28);let E=b,D=x+l*.36,O=(e,n)=>{t.fillStyle=R(c,50,12),t.beginPath(),t.ellipse(E,D,e,n,0,0,Y),t.fill(),t.save(),t.clip(),t.fillStyle=`rgba(255,130,150,.9)`,t.beginPath(),t.ellipse(E,D+n*.75,e*.75,n*.6,0,0,Y),t.fill(),t.restore()},k=(e,n)=>{t.strokeStyle=h,t.lineWidth=l*n,t.beginPath(),e(),t.stroke()};e.yawn>.05?O(l*.1,l*.16*e.yawn):w===`talk`&&e.mouth>.04?O(l*(.08+.04*e.mouth),l*(.02+.12*e.mouth)):w===`joy`?(t.fillStyle=R(c,50,12),t.beginPath(),t.moveTo(E-l*.13,D-l*.03),t.quadraticCurveTo(E,D+l*.22,E+l*.13,D-l*.03),t.closePath(),t.fill()):w===`angry`?k(()=>t.arc(E,D+l*.08,l*.11,1.15*Math.PI,1.85*Math.PI),.065):w===`frustrated`?k(()=>{t.moveTo(E-l*.11,D),t.lineTo(E-l*.055,D-l*.035),t.lineTo(E,D),t.lineTo(E+l*.055,D-l*.035),t.lineTo(E+l*.11,D)},.05):w===`concern`?k(()=>t.arc(E,D+l*.1,l*.09,1.2*Math.PI,1.8*Math.PI),.055):w===`surprised`?O(l*.05,l*.065):w===`think`?k(()=>(t.moveTo(E-l*.02,D+l*.01),t.lineTo(E+l*.09,D-l*.015)),.05):w===`sleep`?O(l*.035,l*.035*(1+.3*Math.sin(o*1.4))):k(()=>t.arc(E,D-l*.05,l*.08,.22*Math.PI,.78*Math.PI),.055);let A=a.role;A.body&&kn(t,A.body,l,o),A.face&&w!==`sleep`&&On(t,A.face,l,c,b,x,S,C),A.head&&Dn(t,A.head,l,c,i,o);let j=(e,n)=>{let a=e*l*.84,o=l*.16,u=l*.4,d=a+e*Math.sin(n)*u,f=o+Math.cos(n)*u;return t.strokeStyle=s?R(c,r.s*.7,74):R(c,66,i?52:54),t.lineWidth=l*.19,t.lineCap=`round`,t.beginPath(),t.moveTo(a,o),t.lineTo(d,f),t.stroke(),[d,f]},M=([e,n])=>{t.fillStyle=s?R(c,r.s*.8,86):R(c,74,i?66:68),t.beginPath(),t.arc(e,n,l*.105,0,Y),t.fill()};M(j(-1,e.armL));let N=j(1,e.armR);A.hand&&(t.save(),t.translate(N[0],N[1]),An(t,A.hand,l,c,o,e.armR),t.restore()),M(N),t.restore();let P=n>=56?e.activity():null;P&&cn(t,P,o,u+e.lean*l*.18,d-f,l,c,i);let F=n<56&&n>=20?e.activity():null;if(F&&vn(t,F,o,n,c,i),n>=56&&e.mode===`thinking`&&!e.sleeping&&!e.feelingNow())_n(t,o,u,d-f,l,c,i);else if(e.mode===`thinking`)for(let e=0;e<3;e++){let n=Math.max(0,Math.sin(o*4-e*.7));t.fillStyle=R(c,50,i?75:55,.4+.6*n),t.beginPath(),t.arc(u+l*(.55+e*.22),d-f-l*(1.2+e*.18)-n*l*.06,l*(.045+e*.02),0,Y),t.fill()}wn(t,e,l,i?`#c9d0e0`:`#5b6779`,R(48,90,74))}function Dn(e,t,n,r,i,a){e.save(),e.shadowColor=`rgba(40,30,80,.22)`,e.shadowBlur=n*.12,e.shadowOffsetY=n*.03;let o=(t,n,r,i)=>{e.fillStyle=i,e.beginPath(),e.ellipse(0,t,n,r,0,Math.PI,0),e.closePath(),e.fill()},s=(t,n,r,i)=>{e.fillStyle=i,e.beginPath(),e.ellipse(0,t,n,r,0,0,Y),e.fill()};if(t===`goggles`){e.strokeStyle=`#4a3424`,e.lineWidth=n*.1,e.beginPath(),e.moveTo(-n*.95,-n*.5),e.quadraticCurveTo(0,-n*.68,n*.95,-n*.5),e.stroke();for(let t of[-1,1])e.fillStyle=`rgba(160,215,235,.9)`,e.strokeStyle=`#c9a24a`,e.lineWidth=n*.06,e.beginPath(),e.arc(t*n*.25,-n*.6,n*.17,0,Y),e.fill(),e.stroke()}if(t===`headset`||t===`headphones`){let a=t===`headphones`;e.strokeStyle=`#2f3340`,e.lineWidth=n*.09,e.beginPath(),e.arc(0,-n*.12,n,Math.PI*1.12,Math.PI*1.88),e.stroke();for(let t of[-1,1])e.fillStyle=a?R(r+170,50,i?66:62):`#2f3340`,e.beginPath(),e.ellipse(t*n*.98,-n*.16,n*(a?.17:.12),n*(a?.26:.19),0,0,Y),e.fill();a||(e.strokeStyle=`#2f3340`,e.lineWidth=n*.05,e.beginPath(),e.moveTo(-n*.98,-n*.05),e.quadraticCurveTo(-n*.85,n*.38,-n*.28,n*.34),e.stroke(),s(n*.34,n*.07,n*.07,`#454b5c`))}t===`nurse`&&(e.fillStyle=`#fff`,e.beginPath(),e.moveTo(-n*.45,-n*.84),e.lineTo(-n*.33,-n*1.22),e.lineTo(n*.33,-n*1.22),e.lineTo(n*.45,-n*.84),e.quadraticCurveTo(0,-n*.92,-n*.45,-n*.84),e.fill(),e.shadowColor=`transparent`,e.fillStyle=`#e5706f`,e.fillRect(-n*.1,-n*1.1,n*.2,n*.06),e.fillRect(-n*.03,-n*1.17,n*.06,n*.2)),t===`detective`&&(o(-n*.8,n*.66,n*.4,`#a88a62`),s(-n*.8,n*.78,n*.1,`#8a6e4a`)),t===`grad`&&(s(-n*.88,n*.44,n*.16,`#262d3d`),e.fillStyle=`#2e3648`,e.beginPath(),e.moveTo(0,-n*1.36),e.lineTo(n*.72,-n*1.12),e.lineTo(0,-n*.9),e.lineTo(-n*.72,-n*1.12),e.closePath(),e.fill(),e.strokeStyle=`#e9c46a`,e.lineWidth=n*.04,e.beginPath(),e.moveTo(0,-n*1.13),e.lineTo(n*.55,-n*1.1),e.lineTo(n*.58+Math.sin(a*2)*n*.03,-n*.82),e.stroke()),(t===`hardhat`||t===`miner`)&&(o(-n*.76,n*.72,n*.46,`hsl(44,80%,62%)`),s(-n*.76,n*.9,n*.11,`hsl(42,70%,54%)`),t===`miner`&&s(-n*.98,n*.12,n*.12,`#fff4c8`)),t===`safari`&&(s(-n*.78,n*1.05,n*.15,`#c7ad7c`),o(-n*.78,n*.62,n*.42,`#d9c193`),e.fillStyle=`#7a5b36`,e.fillRect(-n*.6,-n*.9,n*1.2,n*.1)),t===`beanie`&&(o(-n*.64,n*.8,n*.56,R(r+150,45,i?62:60)),e.fillStyle=R(r+150,40,i?52:50),e.beginPath(),e.roundRect(-n*.84,-n*.74,n*1.68,n*.2,n*.08),e.fill(),s(-n*1.22,n*.14,n*.14,R(r+150,30,94))),t===`crown`&&(e.fillStyle=`hsl(44,80%,62%)`,e.beginPath(),[[-.38,-.86],[-.4,-1.16],[-.19,-1],[0,-1.25],[.19,-1],[.4,-1.16],[.38,-.86]].forEach(([t,r],i)=>i?e.lineTo(t*n,r*n):e.moveTo(t*n,r*n)),e.closePath(),e.fill()),t===`pencil`&&(e.translate(n*.66,-n*.7),e.rotate(-.7),e.fillStyle=`#f2c94c`,e.fillRect(-n*.05,-n*.3,n*.1,n*.5),e.fillStyle=`#f29fb5`,e.fillRect(-n*.05,-n*.38,n*.1,n*.09),e.fillStyle=`#e8c9a0`,e.beginPath(),e.moveTo(-n*.05,n*.2),e.lineTo(n*.05,n*.2),e.lineTo(0,n*.33),e.closePath(),e.fill()),e.restore()}function On(e,t,n,r,i,a,o,s){if(e.strokeStyle=R(r,30,16),e.lineWidth=n*.045,t===`round`)for(let t of[-1,1])e.beginPath(),e.arc(i+t*o,a,s*1.28,0,Y),e.stroke();if(t===`square`)for(let t of[-1,1])e.beginPath(),e.roundRect(i+t*o-s*1.35,a-s*1.15,s*2.7,s*2.3,s*.5),e.stroke();t===`monocle`&&(e.strokeStyle=`hsl(44,70%,55%)`,e.lineWidth=n*.04,e.beginPath(),e.arc(i+o,a,s*1.32,0,Y),e.stroke())}function kn(e,t,n,r){if(t===`bowtie`&&(e.fillStyle=`#e5706f`,e.beginPath(),e.moveTo(0,n*.6),e.lineTo(-n*.22,n*.48),e.lineTo(-n*.22,n*.72),e.closePath(),e.moveTo(0,n*.6),e.lineTo(n*.22,n*.48),e.lineTo(n*.22,n*.72),e.closePath(),e.fill()),t===`tie`&&(e.fillStyle=`#5b7fc4`,e.beginPath(),e.moveTo(-n*.07,n*.5),e.lineTo(n*.07,n*.5),e.lineTo(n*.04,n*.58),e.lineTo(n*.11,n*.86),e.lineTo(0,n*.95),e.lineTo(-n*.11,n*.86),e.lineTo(-n*.04,n*.58),e.closePath(),e.fill()),t===`badge`&&(e.save(),e.translate(n*.36,n*.58),e.rotate(-.08),e.fillStyle=`#fff`,e.beginPath(),e.roundRect(-n*.2,-n*.13,n*.4,n*.26,n*.04),e.fill(),e.fillStyle=`#e5706f`,e.fillRect(-n*.2,-n*.13,n*.4,n*.08),e.restore()),t===`scarf`&&(e.strokeStyle=`#e88a72`,e.lineWidth=n*.17,e.lineCap=`round`,e.beginPath(),e.moveTo(-n*.8,n*.4),e.quadraticCurveTo(0,n*.62,n*.8,n*.4),e.stroke(),e.save(),e.translate(n*.38,n*.55),e.rotate(.12+Math.sin(r*1.5)*.06),e.fillStyle=`#e88a72`,e.fillRect(-n*.08,0,n*.16,n*.36),e.restore()),t===`binoculars`)for(let t of[-1,1])e.fillStyle=`#3a3f4c`,e.beginPath(),e.roundRect(t*n*.16-n*.12,n*.5,n*.24,n*.3,n*.08),e.fill()}function An(e,t,n,r,i,a){if(e.save(),e.rotate(-a*.35),e.lineCap=`round`,t===`baton`&&(e.strokeStyle=`#f5f5f5`,e.lineWidth=n*.04,e.beginPath(),e.moveTo(0,0),e.lineTo(n*.32,-n*.42),e.stroke()),t===`magnifier`&&(e.strokeStyle=`#6b5444`,e.lineWidth=n*.07,e.beginPath(),e.moveTo(0,0),e.lineTo(n*.14,-n*.2),e.stroke(),e.fillStyle=`rgba(200,228,250,.5)`,e.strokeStyle=`#3a3f4c`,e.lineWidth=n*.05,e.beginPath(),e.arc(n*.24,-n*.36,n*.19,0,Y),e.fill(),e.stroke()),t===`flashlight`){e.rotate(-.6);let t=e.createLinearGradient(0,-n*.25,0,-n*.95);t.addColorStop(0,`rgba(255,240,170,.45)`),t.addColorStop(1,`rgba(255,240,170,0)`),e.fillStyle=t,e.beginPath(),e.moveTo(-n*.06,-n*.26),e.lineTo(-n*.26,-n*.95),e.lineTo(n*.26,-n*.95),e.lineTo(n*.06,-n*.26),e.closePath(),e.fill(),e.fillStyle=`#555c6e`,e.beginPath(),e.roundRect(-n*.05,-n*.24,n*.1,n*.28,n*.03),e.fill()}if(t===`clipboard`){e.rotate(.15),e.fillStyle=`#b48a5e`,e.beginPath(),e.roundRect(-n*.05,-n*.5,n*.38,n*.48,n*.04),e.fill(),e.fillStyle=`#fff`,e.fillRect(-n*.01,-n*.44,n*.3,n*.38),e.fillStyle=`#a3abbd`;for(let t=0;t<4;t++)e.fillRect(n*.03,-n*.36+t*n*.08,n*.2-t%2*n*.06,n*.025)}if(t===`wand`){e.strokeStyle=`#3a3f4c`,e.lineWidth=n*.05,e.beginPath(),e.moveTo(0,0),e.lineTo(n*.26,-n*.36),e.stroke();let t=n*.13*(1+.25*Math.sin(i*6));e.translate(n*.3,-n*.42),e.rotate(i),e.fillStyle=`#f6dc7a`,e.beginPath();for(let n=0;n<10;n++){let r=n%2?t*.42:t,i=n*Math.PI/5;e.lineTo(Math.cos(i)*r,Math.sin(i)*r)}e.fill()}t===`book`&&(e.rotate(.1),e.fillStyle=R(r+160,40,55),e.beginPath(),e.roundRect(-n*.02,-n*.42,n*.36,n*.44,n*.03),e.fill(),e.fillStyle=`#f4efe2`,e.fillRect(n*.02,-n*.4,n*.3,n*.04)),t===`envelope`&&(e.rotate(.2),e.fillStyle=`#fff`,e.beginPath(),e.roundRect(-n*.04,-n*.32,n*.42,n*.3,n*.03),e.fill(),e.strokeStyle=`#c4cad6`,e.lineWidth=n*.025,e.beginPath(),e.moveTo(-n*.04,-n*.32),e.lineTo(n*.17,-n*.15),e.lineTo(n*.38,-n*.32),e.stroke()),e.restore()}var Z={mouse:{x:-1e4,y:-1e4,t:-99},lastKey:-99,typing:null,lastActivity:0},Q=()=>performance.now()/1e3,jn=[`joy`,`concern`,`surprised`,`content`,`angry`,`frustrated`],Mn=class{cv;ctx;px;dpr;props;rect=null;visible=!0;slot=Math.floor(Math.random()*2);gx=0;gy=0;lean=0;sq=1;hop=0;hopV=0;ant=0;blush=0;heat=0;lid=1;open=1;mouth=0;yawn=0;armL=.28;armR=.28;v={};mode=`idle`;expr=`calm`;sleeping=!1;hovered=!1;parts=[];symbolAt=null;feeling=null;look=null;nextBlink=Q()+Math.random()*2;blinkAt=-9;double=!1;nextIdle=Q()+1+Math.random()*3;deck=[];later=[];waveUntil=0;wiggleUntil=0;yawnAt=-9;yawned=!1;lastZ=0;lastLook=[0,0];symbolUntil=0;ponderUntil=0;lastPuff=0;lastSelf=0;constructor(e,t,n){this.cv=e,this.px=t,this.props=n,this.dpr=Math.min(2,window.devicePixelRatio||1),e.width=Math.round(t*this.dpr),e.height=Math.round(t*this.dpr),this.ctx=e.getContext(`2d`),this.ctx.scale(this.dpr,this.dpr),this.mode=Fn(n.state),this.lastSelf=Q();let r=n.mood;r&&jn.includes(r.kind)&&Number.isFinite(r.secs)&&this.feel(r.kind,Math.max(.3,Math.min(6,r.secs)))}set(e){let t=this.props.state,n=this.props.mood,r=this.props.activity;this.props=e,this.mode=Fn(e.state),e.state!==t&&(e.state===`done`&&this.feel(`joy`,2.2),e.state===`failed`&&this.feel(`concern`,2.8),e.state!==`idle`&&this.sleeping&&this.wake()),(e.state!==`idle`||e.activity)&&(this.lastSelf=Q()),e.activity&&e.activity!==r&&this.sleeping&&(this.sleeping=!1,this.yawned=!1);let i=e.mood;i&&i.at!==n?.at&&jn.includes(i.kind)&&Number.isFinite(i.secs)&&(this.lastSelf=Q(),this.sleeping=!1,this.yawned=!1,this.feel(i.kind,Math.max(.3,Math.min(6,i.secs)))),Hn&&this.draw()}busy(){return this.mode!==`idle`||this.feeling!==null||!!this.activity()||this.px>=56}activity(){let e=this.props.activity;return e&&!this.sleeping&&en.includes(e)?e:null}feel(e,t){let n=Q();if(this.feeling={kind:e,until:n+t,at:n},e===`joy`&&(this.hopV=Math.max(this.hopV,2.4),this.burst(4)),e===`concern`&&(this.v.sq=(this.v.sq??0)+2),e===`surprised`&&(this.hopV=2.8),e===`angry`&&(this.v.sq=(this.v.sq??0)-5,this.hopV=Math.max(this.hopV,1.2)),e===`frustrated`){this.v.sq=(this.v.sq??0)+3;let e=this.px,t=e*.27;this.parts.push({kind:`drop`,x:e/2+t*.85,y:e*.5-t*.75,vx:4,vy:6,life:0,max:1.4,s:.9})}}heartUntil=0;poke(){if(Z.lastActivity=Q(),this.sleeping)return this.wake();this.v.sq=(this.v.sq??0)-7,this.hopV=Math.max(this.hopV,1.8),this.feel(`joy`,1.4),this.heartUntil=Q()+1.3;let e=this.px,t=e*.27;for(let n=0;n<3;n++)this.parts.push({kind:`heart`,x:e/2+(Math.random()-.5)*t*1.4,y:e*.5-t*.6,vx:(Math.random()-.5)*30,vy:-30-Math.random()*40,life:0,max:1.1+Math.random()*.5,s:.8+Math.random()*.5});Hn&&(this.update(0),this.draw())}wake(){this.sleeping=!1,this.yawned=!1,this.feel(`surprised`,.55),setTimeout(()=>{let e=this.feelingNow();e&&e!==`surprised`||this.feel(`joy`,.9)},550)}burst(e){let t=this.px,n=t*.27;for(let r=0;r<e;r++)this.parts.push({kind:`spark`,x:t/2+(Math.random()-.5)*n*1.4,y:t*.6-n*.9+(Math.random()-.5)*n*.4,vx:(Math.random()-.5)*30,vy:-30-Math.random()*40,life:0,max:1+Math.random()*.6,s:.7+Math.random()*.6})}spring(e,t,n,r,i){let a=this,o=((this.v[e]??0)+(t-a[e])*n*i)*Math.exp(-r*i);this.v[e]=o,a[e]=a[e]+o*i}feelingNow(){return this.feeling&&Q()<this.feeling.until?this.feeling.kind:null}update(e){let t=Q(),n=this.props.persona,r=this.rect,i=r?r.left+r.width/2:0,a=r?r.top+r.height*.52:0,o=Z.mouse;this.hovered=!!r&&o.x>r.left&&o.x<r.right&&o.y>r.top&&o.y<r.bottom;let s=this.activity();s&&(this.lastSelf=t);let c=t-Math.max(Z.lastActivity,this.lastSelf);this.sleeping&&c<.6&&this.wake();let l=this.mode===`idle`&&!this.hovered;l&&!this.sleeping&&c>n.sleepAfter&&(this.sleeping=!0);let u=l&&!this.sleeping&&c>n.sleepAfter-4;u&&!this.yawned&&c>n.sleepAfter-3&&(this.yawned=!0,this.yawnAt=t);let d=0,f=0,p=(e,t,n=1)=>{let r=e-i,o=t-a,s=Math.hypot(r,o)+140;d=r/s*1.5*n,f=o/s*1.5*n},m=t-Z.lastKey<1.6&&Z.typing,h=this.feelingNow();this.sleeping?f=.4:h===`frustrated`?[d,f]=[-.7,.45]:h===`angry`&&r&&t-o.t<7?p(o.x,o.y,1.4):h===`angry`?[d,f]=[0,.1]:s&&!h?[d,f]=sn(s,t):t<this.ponderUntil?[d,f]=[.6,-.8]:this.look&&t<this.look.until?[d,f]=[this.look.x,this.look.y]:this.mode===`thinking`?[d,f]=[.6*Math.sin(t*.9+n.seed),-.8]:this.mode===`speaking`?[d,f]=[.06*Math.sin(t*1.3),.02]:m?p(Z.typing.x,Z.typing.y):r&&t-o.t<7?p(o.x,o.y,n.curiosity):[d,f]=[.35*Math.sin(t*.31+n.seed),.12*Math.sin(t*.23+n.seed*2)];let g=Math.hypot(d,f);if(g>1&&([d,f]=[d/g,f/g]),Math.hypot(d-this.lastLook[0],f-this.lastLook[1])>.9&&t-this.blinkAt>.5&&(this.blinkAt=t),this.lastLook=[d,f],this.spring(`gx`,d,55,11,e),this.spring(`gy`,f,55,11,e),this.mode===`idle`&&!s&&!this.sleeping&&!this.hovered&&!this.feelingNow()&&t>this.nextIdle){this.deck.length||(this.deck=Pn(Nn.filter(e=>e===`wave`?this.props.look===`classic`:e!==`symbol`||this.props.look===`visor`&&!!$t(n.id))));let e=this.deck.pop();if(e===`glance`)this.look={x:Math.random()*2-1,y:Math.random()-.6,until:t+.7+Math.random()*.8};else if(e===`lookAround`){let e=Math.random()<.5?-1:1;this.look={x:e*.9,y:-.1,until:t+.8},this.later.push([t+.8,()=>this.look={x:-e*.9,y:-.1,until:Q()+.8}])}else e===`hop`?this.hopV=1.6+n.energy*.7:e===`lean`?this.v.lean=(this.v.lean??0)+(Math.random()<.5?-1:1)*4*n.energy:e===`blink`?[this.blinkAt,this.double]=[t,!0]:e===`wiggle`?this.wiggleUntil=t+.6:e===`stretch`?this.v.sq=(this.v.sq??0)+6:e===`happy`?this.feel(`content`,1.2):e===`surprise`?this.feel(`surprised`,.7):e===`sigh`?this.feel(`frustrated`,1):e===`ponder`?this.ponderUntil=t+1.6:e===`wave`?this.waveUntil=t+1.6:e===`symbol`&&(this.symbolUntil=t+1.9);this.nextIdle=t+(1.6+Math.random()*2.6)/n.energy}for(let[e,n]of this.later)t>=e&&n();this.later=this.later.filter(([e])=>t<e),t>this.nextBlink&&(this.blinkAt=t,this.double=Math.random()<.2,this.nextBlink=t+n.blinkEvery*(.5+Math.random()));let _=t-this.blinkAt,v=_<.15?Math.sin(_/.15*Math.PI):this.double&&_>.22&&_<.37?Math.sin((_-.22)/.15*Math.PI):0,y=this.feelingNow();y||(this.feeling=null);let b=Math.sin(t*6.283/(this.sleeping?4.5:3.4/Math.sqrt(n.energy))),x=t<this.wiggleUntil?Math.sin(t*16)*.22:0,S=this.mode===`listening`||!!m,C=y===`angry`?Math.sin(t*38)*.1:0;this.spring(`lean`,this.gx*.35+x+C+(this.mode===`thinking`?-.08:0),60,5,e),this.spring(`sq`,1+(this.sleeping?.035:.022)*b-(y===`concern`||y===`frustrated`?.05:0)-(y===`angry`?.03:0)+(S?.02:0),200,9,e),this.hopV-=15*e,this.hop+=this.hopV*e,this.hop<0&&(this.hopV<-1&&(this.v.sq=(this.v.sq??0)+this.hopV*2.2),this.hop=0,this.hopV=0),y===`joy`&&this.feeling&&t-this.feeling.at<1.6&&this.hop===0&&Math.random()<e*2&&(this.hopV=1.7),this.spring(`ant`,-this.lean*.9-this.hopV*.07-this.gx*.25+.06*Math.sin(t*1.7+n.seed),28,2.6,e),this.spring(`heat`,+(y===`angry`),12,7,e),this.spring(`blush`,y===`joy`||y===`content`||this.hovered?1:this.mode===`speaking`?.35:0,9,7,e);let w=this.sleeping?0:u?.42:y===`surprised`?1.2:y===`frustrated`?.55:y===`angry`?.8:s===`searching`?1.1:s===`reading`||s===`writing`||s===`working`?.82:S?1.06:y===`concern`?.85:1;this.spring(`lid`,w,40,12,e),this.open=Math.max(0,Math.min(1.25,this.lid*(1-v)));let T=Math.max(0,Math.sin(t*9.3))*Math.max(0,Math.sin(t*2.1+1));this.spring(`mouth`,this.mode===`speaking`?Math.min(1,T*1.1+.15*Math.abs(Math.sin(t*23))):0,140,16,e),this.yawn=t-this.yawnAt<2.2?Math.sin((t-this.yawnAt)/2.2*Math.PI):0;let E=!!n.role.hand,D=.28+.05*b,O=(E?.95:.28)+.05*b;if(this.sleeping)[D,O]=[.1,E?.55:.1];else if(y===`joy`)[D,O]=[2.3+.25*Math.sin(t*9),(E?1.7:2.3)+.25*Math.sin(t*9+1.3)];else if(y===`concern`)[D,O]=[.06,E?.5:.06];else if(y===`surprised`)[D,O]=[1.6,1.6];else if(y===`angry`)[D,O]=[.62+.1*Math.sin(t*30),(E?1.1:.62)+.1*Math.sin(t*30+1)];else if(y===`frustrated`)[D,O]=[.04,E?.45:.04];else if(s===`searching`||s===`writing`)O=(s===`writing`?1.2:1.7)+.12*Math.sin(t*(s===`writing`?20:4));else if(s===`reading`)[D,O]=[1.05,1.05];else if(s===`browsing`)O=1.5+.08*Math.sin(t*3);else if(s===`working`)[D,O]=[.9+.25*Math.sin(t*9),.9+.25*Math.sin(t*9+Math.PI)];else if(s===`handing`){let{p:e,flying:n}=an(t);O=n?1.9-1.1*e:.6}else this.mode===`thinking`?O=2.3+.12*Math.sin(t*8):this.mode===`speaking`?[D,O]=[.35+.18*Math.sin(t*2.2),(E?1.05:.55)+.5*this.mouth]:(this.hovered||t<this.waveUntil)&&(D=2.45+.4*Math.sin(t*13));this.spring(`armL`,D,70,9,e),this.spring(`armR`,O,70,9,e);let k=this.mode===`idle`&&!this.sleeping&&!y&&!!$t(n.id)&&(this.hovered||t<this.symbolUntil);if(this.symbolAt=k?this.symbolAt??t:null,y===`angry`&&t-this.lastPuff>.32){this.lastPuff=t;let e=this.px,n=e*.27,r=Math.random()<.5?-1:1;this.parts.push({kind:`puff`,x:e/2+r*n*.75,y:e*.5-n*.95,vx:r*14,vy:-26,life:0,max:.9,s:.7+Math.random()*.5})}this.sleeping&&t-this.lastZ>1.3&&(this.lastZ=t,this.parts.push({kind:`z`,x:this.px*.66,y:this.px*.3,vx:10,vy:-18,life:0,max:2.4,s:.6+Math.random()*.5})),this.parts=this.parts.filter(t=>(t.life+=e)<t.max);for(let t of this.parts)t.x+=t.vx*e,t.y+=t.vy*e,t.vy+=(t.kind===`z`||t.kind===`puff`?-2:t.kind===`drop`?40:25)*e;this.expr=this.sleeping?`sleep`:y===`content`?`joy`:y||(this.hovered&&this.props.look===`classic`?`joy`:this.mode===`thinking`||t<this.ponderUntil?`think`:this.mode===`speaking`?`talk`:u?`drowsy`:`calm`)}draw(){this.props.look===`visor`?Tn(this):En(this)}time(){return Q()}},Nn=[`glance`,`lookAround`,`hop`,`lean`,`blink`,`wiggle`,`stretch`,`happy`,`wave`,`symbol`,`surprise`,`sigh`,`ponder`];function Pn(e){for(let t=e.length-1;t>0;t--){let n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}var Fn=e=>e===`thinking`?`thinking`:e===`speaking`?`speaking`:e===`waiting`?`listening`:`idle`,$=new Set,In=0,Ln=0,Rn=0,zn=!0,Bn=0,Vn=!1,Hn=!1,Un=null,Wn=new WeakMap;function Gn(){if(Vn)return;Vn=!0,Z.lastActivity=Q();let e=()=>Z.lastActivity=Q();addEventListener(`mousemove`,t=>{Z.mouse={x:t.clientX,y:t.clientY,t:Q()},e()},{passive:!0}),addEventListener(`keydown`,t=>{e();let n=t.target instanceof HTMLElement?t.target:null;if(!n||!(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n.isContentEditable)||n instanceof HTMLInputElement&&n.type===`password`)return;let r=n.getBoundingClientRect(),i=n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement?n.value.length:(n.textContent??``).length;Z.typing={x:r.left+Math.min(r.width-16,16+i*7.5),y:r.top+Math.min(r.height/2,24)},Z.lastKey=Q()}),addEventListener(`scroll`,()=>(zn=!0,e()),{passive:!0,capture:!0}),addEventListener(`resize`,()=>zn=!0),Un=new IntersectionObserver(e=>e.forEach(e=>{let t=Wn.get(e.target);t&&(t.visible=e.isIntersecting)}),{rootMargin:`80px`})}function Kn(e){let t=e/1e3,n=Math.min(.05,Ln?t-Ln:.016);if(Ln=t,Rn++,zn||t-Bn>.5){for(let e of $)e.rect=e.cv.getBoundingClientRect();zn=!1,Bn=t}for(let e of $)e.update(n),e.visible&&(e.busy()||(Rn+e.slot)%2==0)&&e.draw();In=$.size?requestAnimationFrame(Kn):0}function qn(e){Gn(),Hn=E(),Wn.set(e.cv,e),Un?.observe(e.cv),$.add(e),e.rect=e.cv.getBoundingClientRect(),Hn?(e.update(0),e.draw()):In||=requestAnimationFrame(Kn)}function Jn(e){$.delete(e),Un?.unobserve(e.cv),!$.size&&In&&(cancelAnimationFrame(In),In=0,Ln=0)}function Yn({agent:e,look:t,colours:n,px:r,dark:i,state:a=`idle`,mood:o,activity:s,label:c,className:l}){let u=(0,I.useRef)(null),d=(0,I.useRef)(null),f=()=>({persona:Ne(e),colour:Ie(e,n),look:t,full:r>=56,dark:i,state:a,mood:o,activity:s});return(0,I.useEffect)(()=>{let e=new Mn(u.current,r,f());return d.current=e,qn(e),()=>{Jn(e),d.current=null}},[r]),(0,I.useEffect)(()=>d.current?.set(f()),[e,t,n,i,a,o?.at,s]),(0,L.jsx)(`canvas`,{ref:u,onPointerDown:()=>d.current?.poke(),role:c?`img`:void 0,"aria-label":c||void 0,"aria-hidden":!c||void 0,className:D(`block flex-none`,l),style:{width:r,height:r}})}var Xn={};try{Xn=Object.assign({"./agents/api.svg":c,"./agents/browser-agent.svg":s,"./agents/case.svg":v,"./agents/context-engine.svg":n,"./agents/database.svg":y,"./agents/explorer.svg":l,"./agents/healer.svg":i,"./agents/knowledge-base.svg":a,"./agents/model.svg":d,"./agents/orchestrator.svg":C,"./agents/pr-reviewer.svg":r,"./agents/report.svg":u,"./agents/result.svg":w,"./agents/rule.svg":m,"./agents/scribe.svg":T,"./agents/specs.svg":S,"./agents/test-finder.svg":p,"./agents/trace.svg":_})}catch{}function Zn({id:e,px:t,alt:n,className:r}){let[i,a]=(0,I.useState)(()=>ve(e));if((0,I.useEffect)(()=>{if(i)return;let t=!0;return _e().then(n=>{t&&a(n.get(e))}),()=>{t=!1}},[e,i]),!i)return(0,L.jsx)(`span`,{"aria-hidden":!n||void 0,className:D(`inline-block flex-none rounded-sm bg-line-soft/60`,r),style:{width:t,height:t}});let o=`url("data:image/svg+xml,${encodeURIComponent(i)}")`;return(0,L.jsx)(`span`,{role:n?`img`:void 0,"aria-label":n||void 0,"aria-hidden":!n||void 0,className:D(`inline-block flex-none bg-current`,r),style:{width:t,height:t,WebkitMask:`${o} center / contain no-repeat`,mask:`${o} center / contain no-repeat`}})}function Qn({agent:e,icon:t,px:n,iconPx:r,frame:i}){let{theme:a}=Xt();return qe(a)!==`icons`&&!M(t)?(0,L.jsx)(er,{agent:e,px:n,decorative:!0,className:`flex-none`}):(0,L.jsx)(`span`,{"data-icon-tile":``,className:D(h,`flex flex-none items-center justify-center rounded-base`,i),children:(0,L.jsx)(er,{agent:e,icon:t,px:r,decorative:!0})})}function $n(e){let{theme:t,mode:n}=Xt();if(qe(t)===`icons`||Je(t)!==`soft`)return ne(e).hue;let r=Ie(e,`soft`);return n===`dark`?R(r.h,Math.min(90,r.s),74):R(r.h,Math.min(80,r.s*.85),38)}function er({agent:e,icon:t,px:n=20,decorative:r=!1,working:i=!1,state:a,mood:o,activity:s,className:c}){let{theme:l,mode:u}=Xt(),d=ne(e),f=qe(l);if(f!==`icons`&&n>=14&&!M(t))return(0,L.jsx)(Yn,{agent:e,look:f,colours:Je(l),px:n,dark:u===`dark`,state:a??(i?`thinking`:`idle`),mood:o,activity:s,label:r?void 0:d.name,className:c});let p=M(t)?t:d.icon,m=r?``:d.name;if(j(p))return(0,L.jsx)(Zn,{id:p,px:n,alt:m,className:c});let h=F(p)?p:d.icon,_=Xn[`./agents/${h}.svg`];if(!i)return(0,L.jsx)(g,{src:_,name:h,px:n,alt:m,className:c});let v=(0,L.jsx)(`img`,{src:_,alt:m,width:n,height:n,draggable:!1,className:`block flex-none object-contain`,style:{width:n,height:n}}),y=b(h);return(0,L.jsx)(`span`,{"data-flat":y?``:void 0,className:D(`agent-shine`,c),style:{width:n,height:n,"--agent-icon":`url("${_}")`,...y},children:v})}var tr=e=>e.nativeEvent.isComposing||e.keyCode===229,nr=e=>e.key===`Enter`&&!tr(e);function rr(e,t){let n=t.toLowerCase().split(/\s+/).filter(Boolean);if(!n.length)return e.filter(e=>e.kind!==`field`).slice(0,40);let r=e=>{let t=`${e.label} ${e.meta} ${e.words||``}`.toLowerCase();return n.every(e=>t.includes(e))},i=e=>(e.label.toLowerCase().startsWith(n[0])?0:4)+[`page`,`agent`,`setting`,`field`].indexOf(e.kind);return e.filter(r).map((e,t)=>({c:e,i:t,r:i(e)})).sort((e,t)=>e.r-t.r||e.i-t.i).slice(0,40).map(e=>e.c)}function ir(e,t){let n=t.toLowerCase().split(/\s+/).filter(Boolean),r=e=>e.replace(/[^a-z0-9 ]/g,``).replace(/(?<=\w)s\b/g,``).trim(),i=r(n.filter(e=>![`the`,`a`,`my`,`page`,`section`,`screen`,`tab`].includes(e)).join(` `)),a=i?e.filter(e=>e.kind!==`field`&&r(e.label.toLowerCase())===i):[];if(a.length===1)return a[0];let o=t=>{let n=rr(e,t);return n.find(e=>e.kind!==`field`)??n[0]},s=o(n.join(` `));if(s)return s;let c=n[0]??``;if(c.length<4)return;let l=RegExp(`\\b${c.replace(/[^a-z0-9]/g,``)}`);for(let e=n.length-1;e>=1;e--){let t=o(n.slice(0,e).join(` `));if(t&&l.test(t.label.toLowerCase()))return t}}export{Ye as A,_e as B,gt as C,Xe as D,V as E,at as F,fe as G,me as H,Et as I,ue as K,Re as L,U as M,qe as N,Ct as O,Ht as P,ze as R,Pt as S,Wt as T,de as U,be as V,pe as W,Ve as _,er as a,Ge as b,tn as c,He as d,We as f,Ut as g,ot as h,nr as i,kt as j,Nt as k,Yt as l,tt as m,ir as n,Qn as o,Ke as p,tr as r,$n as s,rr as t,Xt as u,Be as v,Dt as w,lt as x,Ue as y,ve as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,t}from"./route-
|
|
1
|
+
import{r as e,t}from"./route-oDy8sV6H.js";import{N as n,i as r,m as i,n as a,t as o}from"./sectionList-B651VPon.js";import{t as s}from"./coverage-pqIlfEP0.js";function c(c){let l=e=>o.find(t=>t.id===e)?.label||e;return[...c,...r.map(e=>({id:`agent:${e.id}`,label:i(e.agent).name,meta:`Agent · ${e.short}`,href:t(e),words:e.about,kind:`agent`})),...o.filter(e=>!a.includes(e.id)).map(t=>({id:`settings:${t.id}`,label:t.label,meta:`Settings · ${t.group}`,href:e(`settings`,t.id),words:t.intro,kind:`setting`})),...s.map(t=>({id:`field:${t.section}:${t.key}`,label:t.label,meta:`Settings · ${l(t.section)} · ${t.key}`,href:e(`settings`,t.section),kind:`field`}))].map(e=>({...e,label:n(e.label),words:e.words&&n(e.words)}))}export{c as everyCommand};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{H as e,o as t}from"./preload-helper-BupTYkQW.js";import{t as n}from"./utils-DJRAScIl.js";import{t as r}from"./jsx-runtime-LKYXHABd.js";import{l as i}from"./pageBack-CbyKfisx.js";import{Zt as a,o}from"./line-icons-CwCZidXs.js";import{t as s}from"./step-mark-CaKf4dAR.js";import{n as c,t as l}from"./logos-P2LOMyTK.js";var u=r(),d={ok:{label:`Ready to start`,tone:`pass`},limits:{label:`Ready, with limits`,tone:`warn`},blocked:{label:`Not possible`,tone:`fail`}},f={migrated:{label:`Migrated`,tone:`pass`},partial:{label:`Needs review`,tone:`warn`},failed:{label:`Failed`,tone:`fail`},stopped:{label:`Stopped`,tone:`neutral`},running:{label:`Running`,tone:`running`}},p={migrated:{label:`Migrated`,tone:`pass`},written:{label:`Written`,tone:`neutral`},failed:{label:`Failed`,tone:`fail`},blocked:{label:`Not possible`,tone:`warn`},skipped:{label:`Skipped`,tone:`neutral`}},m={setup:`Set-up`,support:`Support`,feature:`Feature`,test:`Test`};function h(e){let t=e.replace(/\.git$/,``).replace(/(?<!\/)\/+$/,``),n=t.split(/[/\\:]/).filter(Boolean);return n.length>=2&&/github|gitlab|bitbucket|dev\.azure|visualstudio/.test(t)?n.slice(-2).join(`/`):n.at(-1)||e}function g(e){let t=Math.max(0,Math.round(e/1e3));if(t<60)return`${t}s`;let n=Math.floor(t/60);return n<60?`${n}m ${t%60}s`:`${Math.floor(n/60)}h ${n%60}m`}var _=e=>e?new Date(e).toLocaleString([],{month:`short`,day:`numeric`,hour:`numeric`,minute:`2-digit`}):`Not yet`;function v({label:t,value:r,sub:i,tone:a,onClick:o,on:s}){let c=(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(`span`,{className:`block w-full truncate text-body-sm text-muted`,children:t}),(0,u.jsx)(`span`,{className:n(`text-headline-sm tabular-nums`,a),children:r}),i&&(0,u.jsx)(`span`,{className:`block w-full truncate text-body-sm text-muted`,children:i})]});return o?(0,u.jsx)(`button`,{type:`button`,"aria-pressed":s,onClick:o,className:n(e,`min-w-0 flex-col items-start gap-1 py-4`),children:c}):(0,u.jsx)(`div`,{className:`flex min-w-0 flex-col items-start gap-1 px-4 py-4 text-left`,children:c})}function y({framework:e,language:r}){let i=e?l[e]:void 0,o=r?c[r]:void 0,s=n(t,`inline-flex size-12 flex-none items-center justify-center`);return(0,u.jsxs)(`span`,{"aria-hidden":`true`,className:`flex flex-none items-center`,children:[(0,u.jsx)(`span`,{className:s,children:i?(0,u.jsx)(i,{width:26,height:26}):(0,u.jsx)(a,{size:22,strokeWidth:1.8,className:`text-icon`})}),o&&(0,u.jsx)(`span`,{className:n(s,`-ml-2 shadow-[-4px_0_0_var(--color-bg)]`),children:(0,u.jsx)(o,{width:24,height:24})})]})}function b({from:e,to:t,label:r=`The migration`}){let i=e=>(0,u.jsxs)(`span`,{className:`flex min-w-0 items-center gap-4`,children:[(0,u.jsx)(y,{framework:e.framework,language:e.language}),(0,u.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,u.jsx)(`span`,{className:`truncate text-body-lg font-medium tracking-[-0.01em] text-ink`,children:e.title}),e.sub&&(0,u.jsx)(`span`,{className:`truncate text-body-sm text-muted`,children:e.sub})]})]});return(0,u.jsxs)(`figure`,{"aria-label":r,className:`m-0 flex flex-wrap items-center gap-x-6 gap-y-4`,children:[(0,u.jsx)(`span`,{className:`min-w-0 flex-none`,children:i(e)}),(0,u.jsxs)(`span`,{"aria-hidden":`true`,className:`relative hidden h-6 min-w-16 flex-1 @2xl:block`,children:[(0,u.jsx)(`span`,{className:n(`absolute top-1/2 right-2 left-0 border-t-2`,t?`border-accent`:`border-dashed border-line-strong`)}),(0,u.jsx)(o,{size:20,className:n(`absolute top-0.5 -right-1`,t?`text-accent-fg`:`text-muted`)})]}),(0,u.jsx)(`span`,{className:`min-w-0 flex-[0_1_auto]`,children:t?i(t):(0,u.jsx)(`span`,{className:`inline-flex size-12 items-center justify-center rounded-base border-[1.5px] border-dashed border-line-strong text-body-sm text-muted`,children:`?`})}),(0,u.jsxs)(`figcaption`,{className:`sr-only`,children:[e.title,` to `,t?t.title:`a target not picked yet`]})]})}function x({children:e}){return(0,u.jsx)(`div`,{className:`overflow-hidden border-y border-line-soft`,children:(0,u.jsx)(`div`,{className:`grid grid-cols-2 divide-line-soft @xl:grid-cols-4 @xl:divide-x`,children:e})})}function S({value:e,tone:t=`bg-accent`,label:r,marks:a}){let o=Math.max(0,Math.min(100,Math.round(e)));return a?(0,u.jsx)(`div`,{role:`progressbar`,"aria-label":r,"aria-valuenow":o,"aria-valuemin":0,"aria-valuemax":100,className:`w-full`,children:(0,u.jsx)(i,{share:o/100,marks:a,fill:t})}):(0,u.jsx)(`div`,{role:`progressbar`,"aria-label":r,"aria-valuenow":o,"aria-valuemin":0,"aria-valuemax":100,className:`h-1.5 w-full overflow-hidden rounded-full bg-surface-strong`,children:(0,u.jsx)(`div`,{className:n(`h-full rounded-full transition-[width] duration-250 ease-out`,t),style:{width:`${o}%`}})})}function C(e,t){if(!t)return 0;if(t.stages?.review.status===`done`)return 100;let n=e.units.length||1,r=t.stages,i=r?[`validate`,`fix`].filter(e=>r[e].status===`done`||r[e].status===`skipped`).length:0;return Math.min(99,t.units.length/n*85+i*7)}var w={prepare:`Prepare`,setup:`Set up`,migrate:`Migrate`,validate:`Validate`,fix:`Fix`,review:`Review`};function T(e){let t=e?.status||`pending`,n=e?.startedAt&&e?.endedAt?g(Date.parse(e.endedAt)-Date.parse(e.startedAt)):``;return t===`running`?e?.startedAt?`Running for ${g(Date.now()-Date.parse(e.startedAt))}`:`Running`:t===`done`?e?.note||(n?`Done in ${n}`:`Done`):t===`failed`?e?.note||`Did not finish`:t===`skipped`?e?.note||`Skipped`:`Waiting`}var E={prepare:`Read the plan and copy the source.`,setup:`Set up the new project and its packages.`,migrate:`Rewrite each file in the new framework.`,validate:`Run every migrated test.`,fix:`Fix the tests that failed, and run them again.`,review:`Compare the result with the source.`};function D(e,t){return e.map(e=>({id:e,name:w[e],about:E[e],status:t?.[e]?.status||`pending`,line:T(t?.[e])}))}function O({items:e,progress:t,label:r=`Stages`}){return(0,u.jsxs)(`nav`,{"aria-label":r,className:`flex min-w-0 flex-col gap-6`,children:[t!==void 0&&(0,u.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,u.jsxs)(`span`,{className:`flex items-baseline justify-between text-body-sm`,children:[(0,u.jsx)(`span`,{className:`font-medium text-ink`,children:`Progress`}),(0,u.jsxs)(`span`,{className:`font-medium tabular-nums text-ink`,children:[Math.round(t),`%`]})]}),(0,u.jsx)(`progress`,{max:100,value:Math.round(t),"aria-label":`Progress`,className:`h-1.5 w-full accent-ink`})]}),(0,u.jsx)(`ol`,{className:`m-0 flex list-none flex-wrap gap-4 p-0 @3xl:flex-col @3xl:flex-nowrap @3xl:gap-0`,children:e.map((t,r)=>{let i=r===e.length-1,a=t.status===`done`||t.status===`skipped`,o=t.status===`running`,c=t.status===`failed`;return(0,u.jsxs)(`li`,{"aria-current":o?`step`:void 0,className:n(`relative flex min-w-0 gap-2 @3xl:gap-4 @3xl:pb-8`,i&&`@3xl:pb-0`),children:[!i&&(0,u.jsx)(`span`,{"aria-hidden":`true`,className:n(`absolute top-10 bottom-2 left-4 hidden w-px @3xl:block`,a?`bg-ink/30`:`bg-line`)}),(0,u.jsx)(s,{size:`lg`,state:a?`done`:c?`failed`:o?`running`:`pending`,n:r+1}),(0,u.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[(0,u.jsx)(`span`,{className:n(`text-body-sm leading-8 font-medium @3xl:text-body-lg`,a||o?`text-ink`:c?`text-fail`:`text-muted`),children:t.name}),(0,u.jsx)(`span`,{className:n(`hidden text-body-sm leading-relaxed @3xl:block`,o?`text-ink-2`:`text-muted`),children:t.about}),(0,u.jsx)(`span`,{className:n(`hidden text-body-sm @3xl:block`,o?`font-medium text-ink`:c?`text-fail`:`text-muted`),children:t.status===`pending`?``:t.line}),(0,u.jsxs)(`span`,{className:`sr-only`,children:[t.name,`: `,t.line]})]})]},t.id)})})]})}export{f as a,p as c,C as d,g as f,v as i,d as l,_ as m,b as n,O as o,h as p,m as r,x as s,S as t,D as u};
|