@kimiclaw/cli 1.0.44 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -19
- package/package.json +9 -9
- package/web/dist/assets/{AssistantsView-Y4TXobGE.js → AssistantsView-Y3nFezhd.js} +1 -1
- package/web/dist/assets/AutomationView-bf7_zU_p.js +4 -0
- package/web/dist/assets/Button-B43HsIQ3.js +1 -0
- package/web/dist/assets/{ChannelConfigView-WJ-zUV8p.js → ChannelConfigView---Dwl3Fk.js} +3 -3
- package/web/dist/assets/ChartsView-Dw6G-jf3.js +1 -0
- package/web/dist/assets/{ConnectorsView-DaHmxnGE.js → ConnectorsView-BWvdrpyK.js} +2 -2
- package/web/dist/assets/{DiffPreview-D8tIj_aF.js → DiffPreview-WQihq3bK.js} +57 -56
- package/web/dist/assets/{FileContextMenu-C5WYeBNu.js → FileContextMenu-CyjXlSHp.js} +1 -1
- package/web/dist/assets/FileTreeView-Cafy33nT.js +1 -0
- package/web/dist/assets/HookConfigView-D-lASVju.js +2 -0
- package/web/dist/assets/InboxView-BWajw-Yx.js +1 -0
- package/web/dist/assets/InputArea-CSqaA55j.js +31 -0
- package/web/dist/assets/Install-ClEm4oGX.js +2 -0
- package/web/dist/assets/MemoryView-DLri75dm.js +1 -0
- package/web/dist/assets/ModelsView-BBLUMzR5.js +1 -0
- package/web/dist/assets/PluginsView-C-fnbDGZ.js +1 -0
- package/web/dist/assets/ProjectsView-BruI2W_l.js +1 -0
- package/web/dist/assets/{SessionGrid-BQSrCDqQ.js → SessionGrid-7GLpwn6d.js} +4 -4
- package/web/dist/assets/SettingsModal-cc9Qu2QU.js +4 -0
- package/web/dist/assets/SkillsView-Bf-2-U_q.js +1 -0
- package/web/dist/assets/TemplatesTab-CKul8nbL.js +2 -0
- package/web/dist/assets/{ToolsView-CjdYiaNz.js → ToolsView-D_aluOsK.js} +1 -1
- package/web/dist/assets/WorkspaceDirPicker-Z42YqE4a.js +5 -0
- package/web/dist/assets/{agentIconSet-CDeMxTHf.js → agentIconSet-Cqhm4UOl.js} +1 -1
- package/web/dist/assets/api-BW4-5gtM.js +1 -0
- package/web/dist/assets/chatStore-D8Zzr1hE.js +242 -0
- package/web/dist/assets/cn-CoHJgTJ5.js +1 -0
- package/web/dist/assets/{common-CPZxdYLs.js → common-CP2UB8TN.js} +99 -99
- package/web/dist/assets/icons-CittejKL.js +1 -0
- package/web/dist/assets/imageUrl-BVgcEm7e.js +2 -0
- package/web/dist/assets/index-CEUbTcNL.css +1 -0
- package/web/dist/assets/index-CxrzleFg.js +122 -0
- package/web/dist/assets/{markdown-Cps-36Z5.js → markdown-DZQBOzWk.js} +1 -1
- package/web/dist/assets/{panels-DCwx2Pbu.js → panels-CuDz4aqU.js} +1 -1
- package/web/dist/assets/projectsStore-B7fdKRzl.js +1 -0
- package/web/dist/assets/{react-vendor-CXI113IS.js → react-vendor-BEA-EtI-.js} +1 -1
- package/web/dist/assets/{settingsStore-BSdi9gNd.js → settingsStore-DYqiXodu.js} +1 -1
- package/web/dist/assets/src-55YckF5W.js +2 -0
- package/web/dist/assets/{state-pOTP5BEk.js → state-A4wJ8QgR.js} +1 -1
- package/web/dist/assets/{statusAxesRefresh--2evRuAU.js → statusAxesRefresh-BBqszCp-.js} +1 -1
- package/web/dist/assets/sttLanguages-jnSk4aqg.js +6 -0
- package/web/dist/assets/threadStore-CQi4OzSe.js +1 -0
- package/web/dist/assets/useConfirm-kTv3x0H6.js +1 -0
- package/web/dist/assets/{useTranslation-gGKZZfux.js → useTranslation-2BGEBvJE.js} +1 -1
- package/web/dist/assets/websocket-DCs7f54y.js +1 -0
- package/web/dist/assets/whatsNewStore-DoCQvcMq.js +1 -0
- package/web/dist/index.html +27 -23
- package/web/dist/assets/AutomationView-DfAF2L92.js +0 -3
- package/web/dist/assets/Button-D-g7PgYh.js +0 -1
- package/web/dist/assets/ChartsView-CSAfGqTC.js +0 -1
- package/web/dist/assets/FileTreeView-B7IN0KmE.js +0 -1
- package/web/dist/assets/HookConfigView-9gqvrRhQ.js +0 -2
- package/web/dist/assets/InboxView-BcEfijbj.js +0 -1
- package/web/dist/assets/InputArea-D5F91Uwk.js +0 -14
- package/web/dist/assets/Install-Cuelo0If.js +0 -2
- package/web/dist/assets/MemoryView-BvZSh5-T.js +0 -1
- package/web/dist/assets/ModelsView-BgvMN8xv.js +0 -1
- package/web/dist/assets/PluginsView-C3d6e8vV.js +0 -1
- package/web/dist/assets/ProjectsView-CM7GOsoK.js +0 -1
- package/web/dist/assets/SettingsModal-BvGXq5EE.js +0 -4
- package/web/dist/assets/SkillsView-87kGRliE.js +0 -1
- package/web/dist/assets/TemplatesTab-8MLwVNwV.js +0 -1
- package/web/dist/assets/api-ZQf0Ys8y.js +0 -1
- package/web/dist/assets/icons-B8Ngx6rM.js +0 -1
- package/web/dist/assets/imageUrl-CrQM4gmf.js +0 -74
- package/web/dist/assets/index-Bm7r92T3.css +0 -1
- package/web/dist/assets/index-STsyoFCk.js +0 -145
- package/web/dist/assets/src-BK8SoTFV.js +0 -1
- package/web/dist/assets/sttLanguages-BPcOF0nQ.js +0 -2
- package/web/dist/assets/useConfirm-CQjBnYuP.js +0 -1
- package/web/dist/assets/websocket-CeKJTCdp.js +0 -1
- package/web/dist/assets/whatsNewStore-C0hbStfc.js +0 -1
- package/web/dist/assets/workspaceSemantics-CW8ytHq2.js +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(t){var n,r,i=``;if(typeof t==`string`||typeof t==`number`)i+=t;else if(typeof t==`object`){if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=` `),i+=r)}else for(r in t)t[r]&&(i&&(i+=` `),i+=r)}return i}function t(){for(var t,n,r=0,i=``,a=arguments.length;r<a;r++)(t=arguments[r])&&(n=e(t))&&(i&&(i+=` `),i+=n);return i}function n(...e){return t(e)}export{n as t};
|
|
@@ -1,101 +1,4 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{It as t,Lt as n,Or as r,Tr as i,kr as a,n as o,ni as s,zt as c}from"./icons-B8Ngx6rM.js";import{t as l}from"./useTranslation-gGKZZfux.js";import{n as u}from"./state-pOTP5BEk.js";import{n as d,r as f,t as p}from"./Button-D-g7PgYh.js";import{r as m}from"./api-ZQf0Ys8y.js";import{I as h}from"./markdown-Cps-36Z5.js";import{f as g,i as _,n as v,r as y,u as b}from"./agentIconSet-CDeMxTHf.js";import"./FileContextMenu-C5WYeBNu.js";import{i as x}from"./useConfirm-CQjBnYuP.js";var S=e(s(),1),C=h();function w(e){return e<=0?2.2:Math.min(2.2,Math.max(.9,2.2/(1+e/45)))}function T(e,t,n){let r=(e%360+360)%360,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(r/60%2-1)),o=n-i/2,s=0,c=0,l=0;return r<60?[s,c,l]=[i,a,0]:r<120?[s,c,l]=[a,i,0]:r<180?[s,c,l]=[0,i,a]:r<240?[s,c,l]=[0,a,i]:r<300?[s,c,l]=[a,0,i]:[s,c,l]=[i,0,a],`${Math.round((s+o)*255)} ${Math.round((c+o)*255)} ${Math.round((l+o)*255)}`}function E(e){let t=5381;for(let n=0;n<e.length;n++)t=t*33^e.charCodeAt(n);return(t%360+360)%360}var D=(0,S.memo)(function({size:e=12,rate:t=0,accent:n=`blue`,hue:r,className:i}){let a=Math.max(1.4,e/8.5),o=r===void 0?void 0:{"--rs-mid":T(r,.78,.62),"--rs-head":T(r+40,.95,.74)};return(0,C.jsxs)(`span`,{className:`rate-spinner${i?` ${i}`:``}`,"data-accent":n,style:{width:e,height:e,"--rs-stroke":`${a.toFixed(2)}px`,"--rs-dur":`${w(t).toFixed(2)}s`,...o},role:`status`,"aria-label":`generating`,children:[(0,C.jsx)(`i`,{className:`rs-arc rs-arc--a`,"aria-hidden":!0}),(0,C.jsx)(`i`,{className:`rs-arc rs-arc--b`,"aria-hidden":!0})]})});function O({className:e,variant:t=`rectangular`,width:n,height:r,shimmer:i=!0}){return(0,C.jsx)(`div`,{"aria-hidden":`true`,className:f(i?`skeleton-shimmer`:`animate-pulse bg-dark-border/50`,{text:`rounded h-4`,circular:`rounded-full`,rectangular:`rounded-lg`}[t],e),style:{width:n,height:r}})}function k({count:e=3,className:t}){return(0,C.jsx)(`div`,{className:f(`space-y-2`,t),children:Array.from({length:e}).map((e,t)=>(0,C.jsxs)(`div`,{className:`flex items-center gap-3 p-3 bg-dark-surface border border-dark-border rounded-lg`,children:[(0,C.jsx)(O,{variant:`circular`,width:40,height:40}),(0,C.jsxs)(`div`,{className:`flex-1 space-y-2`,children:[(0,C.jsx)(O,{variant:`text`,width:`30%`,height:16}),(0,C.jsx)(O,{variant:`text`,width:`70%`,height:14})]})]},`skeleton-${t}`))})}(0,S.createContext)(null);function A({isOpen:e,onClose:t,title:n,children:r,size:i=`md`,className:a}){x({isOpen:e,onClose:t});let{visible:s,phase:c}=d(e),l=(0,S.useId)();return s?(0,C.jsxs)(`div`,{className:`fixed inset-0 z-50 overflow-hidden`,children:[(0,C.jsx)(`div`,{className:`absolute inset-0 ui-scrim ui-overlay-backdrop`,"data-phase":c,onClick:t}),(0,C.jsxs)(`div`,{role:`dialog`,"aria-modal":`true`,"aria-labelledby":n?l:void 0,"data-phase":c,className:f(`absolute inset-y-0 right-0 w-full bg-dark-overlay ui-surface-overlay border-s border-dark-border shadow-pop ui-overlay-panel-edge`,`flex flex-col overflow-hidden`,{sm:`max-w-sm`,md:`max-w-md`,lg:`max-w-xl`}[i],a),children:[n&&(0,C.jsxs)(`div`,{className:`flex shrink-0 items-center justify-between px-6 py-4 border-b border-dark-border`,children:[(0,C.jsx)(`h2`,{id:l,className:`text-lg font-semibold text-dark-text truncate`,children:n}),(0,C.jsx)(`button`,{onClick:t,"aria-label":`Close`,className:`p-1 rounded-lg text-dark-muted hover:text-dark-text hover:bg-dark-hover transition-colors shrink-0`,children:(0,C.jsx)(o,{className:`w-5 h-5`,"aria-hidden":`true`})})]}),(0,C.jsx)(`div`,{className:`min-h-0 flex-1 overflow-y-auto custom-scrollbar p-6`,children:r})]})]}):null}function j({children:e,variant:t=`default`,size:n=`md`,className:r}){return(0,C.jsx)(`span`,{className:f(`inline-flex items-center rounded-full font-medium`,{default:`bg-dark-border text-dark-muted`,success:`bg-accent-green/20 text-accent-green`,warning:`bg-accent-yellow/20 text-accent-yellow`,error:`bg-accent-red/20 text-accent-red`,info:`bg-accent-blue/20 text-accent-blue`}[t],{sm:`px-1.5 py-0.5 text-badge`,md:`px-2 py-0.5 text-xs`}[n],r),children:e})}var M={list:()=>m.get(`/api/session-kinds`),read:()=>m.get(`/api/config/session-types`),write:(e,t)=>m.put(`/api/config/session-types`,{kind:e,entry:t})},N=u((e,t)=>({kinds:[],entries:{},configPath:null,activeKind:null,loading:!1,saving:!1,error:null,load:async n=>{if(!n?.force&&t().kinds.length>0)return;e({loading:!0,error:null});let[r,i]=await Promise.all([M.list(),M.read()]);if(!r.success||!r.data){e({loading:!1,error:r.error||`加载会话类型清单失败`});return}let a=r.data.kinds,o=i.success&&i.data?i.data.sessionTypes:{},s=t().activeKind,c=s&&a.some(e=>e.id===s)?s:a[0]?.id??null;e({kinds:a,entries:o,configPath:i.success&&i.data?i.data.configPath:null,activeKind:c,loading:!1,error:i.success?null:i.error||`加载会话类型配置失败`})},setActiveKind:n=>{t().activeKind!==n&&e({activeKind:n})},entryFor:e=>{let n=e??t().activeKind;return n?t().entries[n]:void 0},saveEntry:async(t,n)=>{e({saving:!0,error:null});let r=await M.write(t,n);if(!r.success||!r.data)return e({saving:!1,error:r.error||`保存「${t}」的配置失败`}),!1;e({entries:r.data.sessionTypes,configPath:r.data.configPath,saving:!1});let i=await M.list();return i.success&&i.data&&e({kinds:i.data.kinds}),!0},copyFrom:async(n,r)=>{if(n===r)return!1;let i=t().entries[n];return i?t().saveEntry(r,structuredClone(i)):(e({error:`「${n}」还没有任何配置可复制`}),!1)}}));function P({slot:e,className:t}){let{t:n}=l(),r=N(e=>e.kinds),i=N(e=>e.activeKind),a=N(e=>e.loading),o=N(e=>e.error),s=N(e=>e.load),c=N(e=>e.setActiveKind),u=N(e=>e.saving),d=N(e=>e.copyFrom),[p,m]=(0,S.useState)(``),[h,g]=(0,S.useState)(null),_=(0,S.useRef)(null),v=(0,S.useRef)(new Map),y=(0,S.useCallback)(()=>{let e=_.current,t=i?v.current.get(i):void 0;if(!e||!t){g(null);return}let n={x:t.offsetLeft,y:t.offsetTop,w:t.offsetWidth,h:t.offsetHeight};g(e=>e&&e.x===n.x&&e.y===n.y&&e.w===n.w&&e.h===n.h?e:n)},[i]);(0,S.useLayoutEffect)(()=>{r.length!==0&&y()},[y,r.length]),(0,S.useEffect)(()=>{let e=_.current;if(!e||typeof ResizeObserver>`u`)return;let t=new ResizeObserver(()=>y());return t.observe(e),()=>t.disconnect()},[y]);let[b,x]=(0,S.useState)(!1),w=(0,S.useRef)(null);(0,S.useEffect)(()=>{if(!i)return;if(w.current===null){w.current=i;return}if(w.current===i)return;w.current=i,x(!0);let e=window.setTimeout(()=>x(!1),280);return()=>window.clearTimeout(e)},[i]),(0,S.useEffect)(()=>{s()},[s]);let T=e=>e.labelKey?n(e.labelKey):e.id;if(o&&r.length===0)return(0,C.jsx)(`p`,{role:`alert`,className:f(`text-xs text-accent-red`,t),children:o});if(a&&r.length===0)return(0,C.jsx)(`p`,{className:f(`text-xs text-dark-muted`,t),children:n(`settings.kindScope.loading`)});if(r.length===0)return(0,C.jsx)(`p`,{className:f(`text-xs text-dark-muted`,t),children:n(`settings.kindScope.empty`)});let E=r.find(e=>e.id===i),D=E?r.filter(e=>e.id!==E.id&&e.configured):[];return(0,C.jsxs)(`div`,{className:f(`space-y-1.5`,t),children:[(0,C.jsxs)(`div`,{ref:_,role:`tablist`,"aria-label":n(`settings.kindScope.ariaLabel`,{slot:e}),className:`relative flex flex-wrap items-center gap-1.5`,children:[(0,C.jsx)(`span`,{"aria-hidden":`true`,"data-testid":`kind-scope-pill`,className:f(`pointer-events-none absolute left-0 top-0 rounded-full bg-accent-blue/10`,`transition-[transform,width,height,opacity,box-shadow] duration-300 ease-out`,h?`opacity-100`:`opacity-0`,b?`ring-4 ring-accent-blue/45`:`ring-2 ring-accent-blue/30`),style:h?{width:h.w,height:h.h,transform:`translate(${h.x}px, ${h.y}px) scale(${b?1.04:1})`}:void 0}),r.map(e=>{let t=e.id===i;return(0,C.jsxs)(`button`,{ref:t=>{t?v.current.set(e.id,t):v.current.delete(e.id)},type:`button`,role:`tab`,"aria-selected":t,onClick:()=>c(e.id),className:f(`inline-flex items-center gap-1.5 rounded-full border px-2.5 py-1 text-xs transition-colors`,t?`border-accent-blue bg-accent-blue/15 text-accent-blue`:`border-dark-border text-dark-muted hover:border-dark-tertiary hover:text-dark-text`),children:[(0,C.jsx)(`span`,{children:T(e)}),!e.configured&&(0,C.jsx)(`span`,{role:`img`,"aria-label":n(`settings.kindScope.unconfigured`),title:n(`settings.kindScope.unconfigured`),className:`h-1.5 w-1.5 rounded-full bg-dark-tertiary`})]},e.id)})]}),E&&(0,C.jsxs)(`div`,{className:`animate-fade-in flex flex-wrap items-center justify-between gap-2 text-xs`,children:[(0,C.jsx)(`p`,{className:`text-dark-muted`,children:E.configured?n(`settings.kindScope.configuredHint`,{kind:T(E)}):n(`settings.kindScope.unconfiguredHint`,{kind:T(E)})}),!E.configured&&D.length>0&&(0,C.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1.5`,children:[(0,C.jsxs)(`select`,{value:p,disabled:u,onChange:e=>m(e.target.value),"aria-label":n(`settings.kindScope.copySource`),className:`rounded border border-dark-border bg-dark-surface px-1.5 py-0.5 text-xs text-dark-text disabled:opacity-50`,children:[(0,C.jsx)(`option`,{value:``,children:n(`settings.kindScope.copySource`)}),D.map(e=>(0,C.jsx)(`option`,{value:e.id,children:T(e)},e.id))]}),(0,C.jsx)(`button`,{type:`button`,disabled:!p||u,onClick:()=>{p&&d(p,E.id).then(e=>{e&&m(``)})},className:`rounded border border-dark-border px-2 py-0.5 text-dark-muted hover:border-dark-tertiary hover:text-dark-text disabled:opacity-40`,children:n(`settings.kindScope.copyAction`)})]})]},E.id)]})}function F(e,t){return e?e.deny?.includes(t)?!1:e.allow&&e.allow.length>0?e.allow.includes(t):!0:!0}function I(e,t){return e?.deny?.includes(t)?`deny`:e?.allow?.includes(t)?`allow`:`inherit`}function L(e,t,n){let r=(e?.allow??[]).filter(e=>e!==t),i=(e?.deny??[]).filter(e=>e!==t);if(n===`allow`&&r.push(t),n===`deny`&&i.push(t),r.length!==0||i.length!==0)return{...r.length>0?{allow:r}:{},...i.length>0?{deny:i}:{}}}function R(e){let t=N(e=>e.activeKind),n=N(e=>e.activeKind?e.entries[e.activeKind]:void 0),r=N(e=>e.saving),i=N(e=>e.saveEntry),a=n?.[e],o=(0,S.useCallback)(e=>I(a,e),[a]),s=(0,S.useCallback)(e=>F(a,e),[a]),c=(0,S.useCallback)(async(n,r)=>{if(!t)return!1;let a=N.getState().entries[t],o=L(a?.[e],n,r),s={...a??{}};o?s[e]=o:delete s[e];let c=Object.values(s).some(e=>e!==void 0);return i(t,c?s:null)},[t,i,e]);return(0,S.useMemo)(()=>({configured:a!==void 0,settingFor:o,effectiveFor:s,setSetting:c,saving:r}),[a,o,s,c,r])}var z={inherit:`allow`,allow:`deny`,deny:`inherit`};function B({slot:e,id:t,className:n}){let{t:r}=l(),{settingFor:i,effectiveFor:a,setSetting:o,saving:s}=R(e),c=i(t),u=a(t),d=c===`inherit`&&!u,p=r(c===`inherit`?d?`settings.kindCapability.excluded`:`settings.kindCapability.inherit`:`settings.kindCapability.${c}`);return(0,C.jsx)(`button`,{type:`button`,disabled:s,onClick:()=>void o(t,z[c]),title:r(`settings.kindCapability.hint`),"aria-label":`${p}: ${t}`,className:f(`inline-flex shrink-0 items-center rounded-full border px-2 py-0.5 text-xs transition-colors`,c===`allow`&&`border-accent-green/40 bg-accent-green/15 text-accent-green`,c===`deny`&&`border-accent-red/40 bg-accent-red/15 text-accent-red`,c===`inherit`&&!d&&`border-dark-border text-dark-muted hover:border-dark-tertiary`,d&&`border-dark-border text-dark-tertiary line-through`,s&&`opacity-50`,n),children:p})}function V({value:e,max:t=100,size:n=`md`,variant:r=`default`,showLabel:i=!1,className:a}){let o=Math.min(Math.max(e/t*100,0),100);return(0,C.jsxs)(`div`,{className:f(`w-full`,a),children:[(0,C.jsx)(`div`,{className:f(`w-full bg-dark-border rounded-full overflow-hidden`,{sm:`h-1`,md:`h-2`,lg:`h-3`}[n]),children:(0,C.jsx)(`div`,{className:f(`h-full rounded-full transition-all duration-300`,{default:`bg-accent-blue`,success:`bg-accent-green`,warning:`bg-accent-yellow`,error:`bg-accent-red`}[r]),style:{width:`${o}%`}})}),i&&(0,C.jsxs)(`span`,{className:`text-xs text-dark-muted mt-1`,children:[Math.round(o),`%`]})]})}var H={running:{Icon:t,label:`nav.sessionRunning`,ring:`spin`},waiting:{Icon:c,label:`nav.sessionWaiting`,ring:`breathe`},failed:{Icon:n,label:`nav.sessionFailed`,ring:`static`},done:{Icon:a,label:`nav.sessionDone`}},U=`
|
|
2
|
-
.dsc-status {
|
|
3
|
-
--dsc-rgb: var(--color-muted);
|
|
4
|
-
/* 龙卷风涡流的两端:涡头靛蓝 → 涡尾青绿(中段由浏览器插值成蓝绿) */
|
|
5
|
-
--dsc-vortex-a: var(--color-accent-blue);
|
|
6
|
-
--dsc-vortex-b: var(--color-accent-green);
|
|
7
|
-
--dsc-chip: 0.1;
|
|
8
|
-
color: rgb(var(--dsc-rgb));
|
|
9
|
-
background-color: rgb(var(--dsc-rgb) / var(--dsc-chip));
|
|
10
|
-
border-color: transparent;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.dsc-status[data-status='running'] { --dsc-rgb: var(--color-accent-blue); }
|
|
14
|
-
.dsc-status[data-status='waiting'] { --dsc-rgb: var(--color-accent-yellow); --dsc-chip: 0.13; }
|
|
15
|
-
.dsc-status[data-status='failed'] { --dsc-rgb: var(--color-accent-red); }
|
|
16
|
-
|
|
17
|
-
/* 已完成:绿勾 + 极淡绿底 —— 「尘埃落定」的正向确认(一眼可辨,无需读标题)。
|
|
18
|
-
刻意比 running 收敛:无动效、低饱和底板、绿而非高饱和大色块,
|
|
19
|
-
避免侧栏一排会话全是喧闹的绿灯抢占 running 的视觉重心。 */
|
|
20
|
-
.dsc-status[data-status='done'] {
|
|
21
|
-
color: rgb(var(--color-accent-green));
|
|
22
|
-
background-color: rgb(var(--color-accent-green) / 0.14);
|
|
23
|
-
border-color: rgb(var(--color-accent-green) / 0.34);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/* 进行中:同色柔光晕缓慢呼吸 —— 即使截图静止,也认得出这是彩色状态。
|
|
27
|
-
box-shadow 是重绘属性,小尺寸上强脉冲会被读成「闪烁」:这里把外圈光晕
|
|
28
|
-
幅度进一步压小、周期拉长到 5.2s,只保留极淡的一圈「活着」的呼吸感,
|
|
29
|
-
不抢运行中指示器本身的视觉重心。 */
|
|
30
|
-
.dsc-status[data-status='running'] {
|
|
31
|
-
animation: dscGlow 5.2s ease-in-out infinite;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.dsc-ring {
|
|
35
|
-
position: absolute;
|
|
36
|
-
inset: -2px;
|
|
37
|
-
border: 2px solid transparent;
|
|
38
|
-
border-radius: 8px;
|
|
39
|
-
pointer-events: none;
|
|
40
|
-
}
|
|
41
|
-
.dsc-ring[data-motion='spin'] {
|
|
42
|
-
/* 龙卷风:蓝→青→绿的头尾渐隐涡流(comet),遮罩抠出 2.5px 环带 */
|
|
43
|
-
border-color: transparent;
|
|
44
|
-
background: conic-gradient(
|
|
45
|
-
from 0deg,
|
|
46
|
-
rgb(var(--dsc-vortex-a) / 0) 0deg,
|
|
47
|
-
rgb(var(--dsc-vortex-a)) 80deg,
|
|
48
|
-
rgb(var(--dsc-vortex-b)) 250deg,
|
|
49
|
-
rgb(var(--dsc-vortex-b) / 0) 340deg,
|
|
50
|
-
rgb(var(--dsc-vortex-a) / 0) 360deg
|
|
51
|
-
);
|
|
52
|
-
-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
|
|
53
|
-
mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
|
|
54
|
-
animation: dscSpin 1.5s linear infinite;
|
|
55
|
-
/* 提示浏览器把这一层独立合成:旋转只走 composite,不整帧重绘父级 */
|
|
56
|
-
will-change: transform;
|
|
57
|
-
}
|
|
58
|
-
/* 内涡:反向、稍快的细弧,让静止截图也读得出「漏斗」而非一片渐变。
|
|
59
|
-
透明度压低(0.6/0.35):11px 直径上的 1.5px 细弧本身很小,高对比会让
|
|
60
|
-
亚像素抗锯齿随旋转闪烁。 */
|
|
61
|
-
.dsc-ring[data-motion='spin']::after {
|
|
62
|
-
content: '';
|
|
63
|
-
position: absolute;
|
|
64
|
-
inset: 3.5px;
|
|
65
|
-
border: 1.5px solid transparent;
|
|
66
|
-
border-top-color: rgb(var(--dsc-vortex-b) / 0.6);
|
|
67
|
-
border-left-color: rgb(var(--dsc-vortex-a) / 0.35);
|
|
68
|
-
border-radius: 50%;
|
|
69
|
-
animation: dscSpin 1.6s linear infinite reverse;
|
|
70
|
-
}
|
|
71
|
-
.dsc-ring[data-motion='breathe'] {
|
|
72
|
-
border-color: rgb(var(--dsc-rgb) / 0.85);
|
|
73
|
-
animation: dscBreathe 1.9s ease-in-out infinite;
|
|
74
|
-
}
|
|
75
|
-
.dsc-ring[data-motion='static'] {
|
|
76
|
-
border-color: rgb(var(--dsc-rgb) / 0.5);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@keyframes dscSpin {
|
|
80
|
-
to { transform: rotate(360deg); }
|
|
81
|
-
}
|
|
82
|
-
@keyframes dscBreathe {
|
|
83
|
-
0%, 100% { opacity: 0.3; transform: scale(0.96); }
|
|
84
|
-
50% { opacity: 1; transform: scale(1); }
|
|
85
|
-
}
|
|
86
|
-
@keyframes dscGlow {
|
|
87
|
-
0%, 100% { box-shadow: 0 0 0 2px rgb(var(--dsc-rgb) / 0.06), 0 0 4px rgb(var(--dsc-rgb) / 0.12); }
|
|
88
|
-
50% { box-shadow: 0 0 0 2px rgb(var(--dsc-rgb) / 0.1), 0 0 6px rgb(var(--dsc-rgb) / 0.2); }
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@media (prefers-reduced-motion: reduce) {
|
|
92
|
-
.dsc-status,
|
|
93
|
-
.dsc-ring,
|
|
94
|
-
.dsc-ring::after { animation: none !important; }
|
|
95
|
-
.dsc-status[data-status='running'] { box-shadow: 0 0 0 2px rgb(var(--dsc-rgb) / 0.16); }
|
|
96
|
-
.dsc-ring[data-motion='breathe'] { opacity: 0.7; transform: none; }
|
|
97
|
-
}
|
|
98
|
-
`;(0,S.memo)(function({status:e,label:t,className:n,sessionId:r}){let{t:i}=l(),a=H[e]??H.done,{Icon:o,ring:s}=a,c=t??i(a.label);if(e===`running`){let e=r===void 0?void 0:E(r),t=e===void 0?void 0:T(e,.78,.62);return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`style`,{href:`deepseekcode-session-status`,precedence:`default`,children:U}),(0,C.jsx)(`span`,{"data-status":`running`,className:f(`dsc-status relative flex h-5 w-5 shrink-0 items-center justify-center rounded-[6px] border transition-colors`,n),style:t?{"--dsc-rgb":t}:void 0,title:c,"aria-label":c,role:`img`,children:(0,C.jsx)(D,{size:17,rate:0,hue:e})})]})}return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`style`,{href:`deepseekcode-session-status`,precedence:`default`,children:U}),(0,C.jsxs)(`span`,{"data-status":e,className:f(`dsc-status relative flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-[5px] border transition-colors`,n),title:c,"aria-label":c,role:`img`,children:[s&&(0,C.jsx)(`span`,{className:`dsc-ring`,"data-motion":s,"aria-hidden":`true`}),(0,C.jsx)(o,{size:e===`done`?14:13,strokeWidth:e===`done`?2.8:2.2,"aria-hidden":`true`,className:`relative`})]})]})});var W=`
|
|
1
|
+
import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{Ar as t,Bt as n,Dr as r,Lt as i,Rt as a,ii as o,jr as s,n as c}from"./icons-CittejKL.js";import{t as l}from"./useTranslation-2BGEBvJE.js";import{n as u}from"./state-A4wJ8QgR.js";import{n as d,t as f}from"./Button-B43HsIQ3.js";import{r as p}from"./api-BW4-5gtM.js";import{I as m}from"./markdown-DZQBOzWk.js";import{f as h,i as g,n as _,r as v,u as y}from"./agentIconSet-Cqhm4UOl.js";import"./FileContextMenu-CyjXlSHp.js";import{t as b}from"./cn-CoHJgTJ5.js";import{i as x}from"./useConfirm-kTv3x0H6.js";var S=e(o(),1),C=m(),w=`
|
|
99
2
|
.ag-glyph { --ag-size: 22px; }
|
|
100
3
|
|
|
101
4
|
/* 环/角标全部按槽位尺寸等比(--ag-size 由组件内联给出):
|
|
@@ -301,4 +204,101 @@ import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{It as t,Lt as n,Or as
|
|
|
301
204
|
0%, 100% { opacity: 0.45; }
|
|
302
205
|
50% { opacity: 1; }
|
|
303
206
|
}
|
|
304
|
-
`,G=(0,S.memo)(function({sessionId:e,icon:t,size:n=22,status:r,signal:i,signalLabel:a,expression:o,animate:s=!1,className:c,label:l}){let u=t?v(t):_(e),d=g(n),p=(0,S.useId)().replace(/[^a-zA-Z0-9_-]/g,``),m=o??y(r),h=i&&(r===`waiting`||r===`failed`&&i===`interrupted`)?i:void 0,x=[l??`${u.name} · ${u.desc}`,a].filter(Boolean).join(` · `);return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`style`,{href:`deepseekcode-agent-glyph`,precedence:`default`,children:W}),(0,C.jsxs)(`span`,{className:f(`ag-glyph relative inline-flex shrink-0 items-center justify-center`,c),style:{width:n,height:n,"--ag-size":`${n}px`},"data-status":r,"data-signal":h,"data-icon":u.id,"data-expression":m,"data-animate":s&&r!==`running`?`true`:`false`,title:x,"aria-label":x,role:`img`,children:[(0,C.jsx)(b,{colors:u.colors,expression:m,accessory:u.accessory,tier:d,uid:p,size:n}),r&&r!==`done`&&(0,C.jsx)(`span`,{className:`ag-ring`,"data-status":r,"aria-hidden":`true`}),r===`done`&&(0,C.jsxs)(`svg`,{className:`ag-check`,viewBox:`0 0 10 10`,"aria-hidden":`true`,children:[(0,C.jsx)(`circle`,{cx:5,cy:5,r:5,fill:`rgb(var(--color-accent-green))`}),(0,C.jsx)(`path`,{d:`M2.6 5.1 L4.3 6.8 L7.5 3.2`,fill:`none`,stroke:`#fff`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`})]}),h?(0,C.jsx)(`span`,{className:`ag-badge`,"data-glyph-signal":h,"aria-hidden":`true`,children:h===`paused`?(0,C.jsxs)(`span`,{className:`ag-badge-bars`,children:[(0,C.jsx)(`i`,{}),(0,C.jsx)(`i`,{})]}):(0,C.jsx)(`span`,{className:`ag-badge-mark`,children:h===`question`?`?`:h===`approval`?`!`:`×`})}):r&&r!==`done`&&r!==`running`&&(0,C.jsx)(`span`,{className:`ag-dot`,"data-status":r,"aria-hidden":`true`})]})]})}),K=1.5,q=1,J=1.5;function Y(e,t,n){return t>0&&e>t*n+q}function X({children:e,contentKey:t,lines:n=12,className:a}){let{t:o}=l(),s=(0,S.useId)(),c=(0,S.useRef)(null),[u,d]=(0,S.useState)(null),[m,h]=(0,S.useState)(0),[g,_]=(0,S.useState)(!1),v=(0,S.useCallback)(()=>{let e=c.current;if(!e)return;let t=window.getComputedStyle(e),r=Number.parseFloat(t.lineHeight),i=Number.parseFloat(t.fontSize),a=Number.isFinite(r)&&r>0?r:Number.isFinite(i)&&i>0?i*J:0;a<=0||(h(a),Y(e.scrollHeight,a,n)?d(a*n):(d(null),_(!1)))},[n]);(0,S.useLayoutEffect)(()=>{v()},[v,t]),(0,S.useLayoutEffect)(()=>{let e=c.current;if(!e||typeof ResizeObserver>`u`)return;let t=new ResizeObserver(()=>v());return t.observe(e),()=>t.disconnect()},[v]);let y=u!==null&&!g;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`div`,{ref:c,id:s,className:f(`ui-clamp`,a),"data-expanded":y?`false`:`true`,style:{"--ui-clamp-max-h":`${u??0}px`,"--ui-clamp-fade":`${m*K}px`},onFocusCapture:y?()=>_(!0):void 0,children:e}),u!==null&&(0,C.jsx)(p,{variant:`ghost`,size:`sm`,className:`-ms-3.5 mt-0.5`,"aria-expanded":!y,"aria-controls":s,onClick:()=>_(e=>!e),rightIcon:y?(0,C.jsx)(r,{size:13,"aria-hidden":`true`}):(0,C.jsx)(i,{size:13,"aria-hidden":`true`}),children:o(y?`chat.messageExpand`:`chat.messageCollapse`)})]})}function Z(e,t){if(typeof document>`u`||typeof document.createRange!=`function`)return 0;let n=document.createRange();n.selectNodeContents(t);let r=typeof n.getBoundingClientRect==`function`?n.getBoundingClientRect().width:0,i=e.clientWidth||e.getBoundingClientRect().width;return!r||!i?0:Math.ceil(r-i)}function Q(e){let t=Math.abs(e)/80/.4;return Math.round(Math.min(20,Math.max(4,t))*10)/10}function $(e){let t=Math.max(0,Math.round(e));return{"--marquee-shift":t>0?`-${t}px`:`0px`,"--marquee-dur":`${Q(t)}s`}}function ee({text:e,active:t=!1,trigger:n=`active`,className:r=``,title:i}){let a=(0,S.useRef)(null),o=(0,S.useRef)(null),[s,c]=(0,S.useState)(0),[l,u]=(0,S.useState)(!1),d=n===`hover`?l:t,f=(0,S.useCallback)(()=>{let e=a.current,t=o.current;if(!e||!t)return;let n=Z(e,t);c(n>=8?n:0)},[]);(0,S.useLayoutEffect)(()=>{d?f():c(0)},[d,e,f]),(0,S.useEffect)(()=>{if(d)return window.addEventListener(`resize`,f),()=>window.removeEventListener(`resize`,f)},[d,f]);let p=d&&s>0,m=n===`hover`;return(0,C.jsx)(`span`,{ref:a,className:`block min-w-0 overflow-hidden ${r}`,title:i,onMouseEnter:m?()=>u(!0):void 0,onMouseLeave:m?()=>u(!1):void 0,children:(0,C.jsx)(`span`,{ref:o,className:p?`marquee-track block w-max whitespace-nowrap`:`block truncate`,style:p?$(s):void 0,children:e})})}export{B as a,N as c,O as d,k as f,V as i,j as l,X as n,R as o,D as p,G as r,P as s,ee as t,A as u};
|
|
207
|
+
`,T=(0,S.memo)(function({sessionId:e,icon:t,size:n=22,status:r,signal:i,signalLabel:a,expression:o,animate:s=!1,className:c,label:l}){let u=t?_(t):g(e),d=h(n),f=(0,S.useId)().replace(/[^a-zA-Z0-9_-]/g,``),p=o??v(r),m=i&&(r===`waiting`||r===`failed`&&i===`interrupted`)?i:void 0,x=[l??`${u.name} · ${u.desc}`,a].filter(Boolean).join(` · `);return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`style`,{href:`deepseekcode-agent-glyph`,precedence:`default`,children:w}),(0,C.jsxs)(`span`,{className:b(`ag-glyph relative inline-flex shrink-0 items-center justify-center`,c),style:{width:n,height:n,"--ag-size":`${n}px`},"data-status":r,"data-signal":m,"data-icon":u.id,"data-expression":p,"data-animate":s&&r!==`running`?`true`:`false`,title:x,"aria-label":x,role:`img`,children:[(0,C.jsx)(y,{colors:u.colors,expression:p,accessory:u.accessory,tier:d,uid:f,size:n}),r&&r!==`done`&&(0,C.jsx)(`span`,{className:`ag-ring`,"data-status":r,"aria-hidden":`true`}),r===`done`&&(0,C.jsxs)(`svg`,{className:`ag-check`,viewBox:`0 0 10 10`,"aria-hidden":`true`,children:[(0,C.jsx)(`circle`,{cx:5,cy:5,r:5,fill:`rgb(var(--color-accent-green))`}),(0,C.jsx)(`path`,{d:`M2.6 5.1 L4.3 6.8 L7.5 3.2`,fill:`none`,stroke:`#fff`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`})]}),m?(0,C.jsx)(`span`,{className:`ag-badge`,"data-glyph-signal":m,"aria-hidden":`true`,children:m===`paused`?(0,C.jsxs)(`span`,{className:`ag-badge-bars`,children:[(0,C.jsx)(`i`,{}),(0,C.jsx)(`i`,{})]}):(0,C.jsx)(`span`,{className:`ag-badge-mark`,children:m===`question`?`?`:m===`approval`?`!`:`×`})}):r&&r!==`done`&&r!==`running`&&(0,C.jsx)(`span`,{className:`ag-dot`,"data-status":r,"aria-hidden":`true`})]})]})});function E(e,t){if(typeof document>`u`||typeof document.createRange!=`function`)return 0;let n=document.createRange();n.selectNodeContents(t);let r=typeof n.getBoundingClientRect==`function`?n.getBoundingClientRect().width:0,i=e.clientWidth||e.getBoundingClientRect().width;return!r||!i?0:Math.ceil(r-i)}function D(e){let t=Math.abs(e)/80/.4;return Math.round(Math.min(20,Math.max(4,t))*10)/10}function O(e){let t=Math.max(0,Math.round(e));return{"--marquee-shift":t>0?`-${t}px`:`0px`,"--marquee-dur":`${D(t)}s`}}function k({text:e,active:t=!1,trigger:n=`active`,className:r=``,title:i}){let a=(0,S.useRef)(null),o=(0,S.useRef)(null),[s,c]=(0,S.useState)(0),[l,u]=(0,S.useState)(!1),d=n===`hover`?l:t,f=(0,S.useCallback)(()=>{let e=a.current,t=o.current;if(!e||!t)return;let n=E(e,t);c(n>=8?n:0)},[]);(0,S.useLayoutEffect)(()=>{d?f():c(0)},[d,e,f]),(0,S.useEffect)(()=>{if(d)return window.addEventListener(`resize`,f),()=>window.removeEventListener(`resize`,f)},[d,f]);let p=d&&s>0,m=n===`hover`;return(0,C.jsx)(`span`,{ref:a,className:`block min-w-0 overflow-hidden ${r}`,title:i,onMouseEnter:m?()=>u(!0):void 0,onMouseLeave:m?()=>u(!1):void 0,children:(0,C.jsx)(`span`,{ref:o,className:p?`marquee-track block w-max whitespace-nowrap`:`block truncate`,style:p?O(s):void 0,children:e})})}function A({className:e,variant:t=`rectangular`,width:n,height:r,shimmer:i=!0}){return(0,C.jsx)(`div`,{"aria-hidden":`true`,className:b(i?`skeleton-shimmer`:`animate-pulse bg-dark-border/50`,{text:`rounded h-4`,circular:`rounded-full`,rectangular:`rounded-lg`}[t],e),style:{width:n,height:r}})}function j({count:e=3,className:t}){return(0,C.jsx)(`div`,{className:b(`space-y-2`,t),children:Array.from({length:e}).map((e,t)=>(0,C.jsxs)(`div`,{className:`flex items-center gap-3 p-3 bg-dark-surface border border-dark-border rounded-lg`,children:[(0,C.jsx)(A,{variant:`circular`,width:40,height:40}),(0,C.jsxs)(`div`,{className:`flex-1 space-y-2`,children:[(0,C.jsx)(A,{variant:`text`,width:`30%`,height:16}),(0,C.jsx)(A,{variant:`text`,width:`70%`,height:14})]})]},`skeleton-${t}`))})}(0,S.createContext)(null);function M({isOpen:e,onClose:t,title:n,children:r,size:i=`md`,className:a}){x({isOpen:e,onClose:t});let{visible:o,phase:s}=d(e),l=(0,S.useId)();return o?(0,C.jsxs)(`div`,{className:`fixed inset-0 z-50 overflow-hidden`,children:[(0,C.jsx)(`div`,{className:`absolute inset-0 ui-scrim ui-overlay-backdrop`,"data-phase":s,onClick:t}),(0,C.jsxs)(`div`,{role:`dialog`,"aria-modal":`true`,"aria-labelledby":n?l:void 0,"data-phase":s,className:b(`absolute inset-y-0 right-0 w-full bg-dark-overlay ui-surface-overlay border-s border-dark-border shadow-pop ui-overlay-panel-edge`,`flex flex-col overflow-hidden`,{sm:`max-w-sm`,md:`max-w-md`,lg:`max-w-xl`}[i],a),children:[n&&(0,C.jsxs)(`div`,{className:`flex shrink-0 items-center justify-between px-6 py-4 border-b border-dark-border`,children:[(0,C.jsx)(`h2`,{id:l,className:`text-lg font-semibold text-dark-text truncate`,children:n}),(0,C.jsx)(`button`,{onClick:t,"aria-label":`Close`,className:`p-1 rounded-lg text-dark-muted hover:text-dark-text hover:bg-dark-hover transition-colors shrink-0`,children:(0,C.jsx)(c,{className:`w-5 h-5`,"aria-hidden":`true`})})]}),(0,C.jsx)(`div`,{className:`min-h-0 flex-1 overflow-y-auto custom-scrollbar p-6`,children:r})]})]}):null}function N({children:e,variant:t=`default`,size:n=`md`,className:r}){return(0,C.jsx)(`span`,{className:b(`inline-flex items-center rounded-full font-medium`,{default:`bg-dark-border text-dark-muted`,success:`bg-accent-green/20 text-accent-green`,warning:`bg-accent-yellow/20 text-accent-yellow`,error:`bg-accent-red/20 text-accent-red`,info:`bg-accent-blue/20 text-accent-blue`}[t],{sm:`px-1.5 py-0.5 text-badge`,md:`px-2 py-0.5 text-xs`}[n],r),children:e})}var P={list:()=>p.get(`/api/session-kinds`),read:()=>p.get(`/api/config/session-types`),write:(e,t)=>p.put(`/api/config/session-types`,{kind:e,entry:t})},F=u((e,t)=>({kinds:[],entries:{},configPath:null,activeKind:null,loading:!1,saving:!1,error:null,load:async n=>{if(!n?.force&&t().kinds.length>0)return;e({loading:!0,error:null});let[r,i]=await Promise.all([P.list(),P.read()]);if(!r.success||!r.data){e({loading:!1,error:r.error||`加载会话类型清单失败`});return}let a=r.data.kinds,o=i.success&&i.data?i.data.sessionTypes:{},s=t().activeKind,c=s&&a.some(e=>e.id===s)?s:a[0]?.id??null;e({kinds:a,entries:o,configPath:i.success&&i.data?i.data.configPath:null,activeKind:c,loading:!1,error:i.success?null:i.error||`加载会话类型配置失败`})},setActiveKind:n=>{t().activeKind!==n&&e({activeKind:n})},entryFor:e=>{let n=e??t().activeKind;return n?t().entries[n]:void 0},saveEntry:async(t,n)=>{e({saving:!0,error:null});let r=await P.write(t,n);if(!r.success||!r.data)return e({saving:!1,error:r.error||`保存「${t}」的配置失败`}),!1;e({entries:r.data.sessionTypes,configPath:r.data.configPath,saving:!1});let i=await P.list();return i.success&&i.data&&e({kinds:i.data.kinds}),!0},copyFrom:async(n,r)=>{if(n===r)return!1;let i=t().entries[n];return i?t().saveEntry(r,structuredClone(i)):(e({error:`「${n}」还没有任何配置可复制`}),!1)}}));function I({slot:e,className:t}){let{t:n}=l(),r=F(e=>e.kinds),i=F(e=>e.activeKind),a=F(e=>e.loading),o=F(e=>e.error),s=F(e=>e.load),c=F(e=>e.setActiveKind),u=F(e=>e.saving),d=F(e=>e.copyFrom),[f,p]=(0,S.useState)(``),[m,h]=(0,S.useState)(null),g=(0,S.useRef)(null),_=(0,S.useRef)(new Map),v=(0,S.useCallback)(()=>{let e=g.current,t=i?_.current.get(i):void 0;if(!e||!t){h(null);return}let n={x:t.offsetLeft,y:t.offsetTop,w:t.offsetWidth,h:t.offsetHeight};h(e=>e&&e.x===n.x&&e.y===n.y&&e.w===n.w&&e.h===n.h?e:n)},[i]);(0,S.useLayoutEffect)(()=>{r.length!==0&&v()},[v,r.length]),(0,S.useEffect)(()=>{let e=g.current;if(!e||typeof ResizeObserver>`u`)return;let t=new ResizeObserver(()=>v());return t.observe(e),()=>t.disconnect()},[v]);let[y,x]=(0,S.useState)(!1),w=(0,S.useRef)(null);(0,S.useEffect)(()=>{if(!i)return;if(w.current===null){w.current=i;return}if(w.current===i)return;w.current=i,x(!0);let e=window.setTimeout(()=>x(!1),280);return()=>window.clearTimeout(e)},[i]),(0,S.useEffect)(()=>{s()},[s]);let T=e=>e.labelKey?n(e.labelKey):e.id;if(o&&r.length===0)return(0,C.jsx)(`p`,{role:`alert`,className:b(`text-xs text-accent-red`,t),children:o});if(a&&r.length===0)return(0,C.jsx)(`p`,{className:b(`text-xs text-dark-muted`,t),children:n(`settings.kindScope.loading`)});if(r.length===0)return(0,C.jsx)(`p`,{className:b(`text-xs text-dark-muted`,t),children:n(`settings.kindScope.empty`)});let E=r.find(e=>e.id===i),D=E?r.filter(e=>e.id!==E.id&&e.configured):[];return(0,C.jsxs)(`div`,{className:b(`space-y-1.5`,t),children:[(0,C.jsxs)(`div`,{ref:g,role:`tablist`,"aria-label":n(`settings.kindScope.ariaLabel`,{slot:e}),className:`relative flex flex-wrap items-center gap-1.5`,children:[(0,C.jsx)(`span`,{"aria-hidden":`true`,"data-testid":`kind-scope-pill`,className:b(`pointer-events-none absolute left-0 top-0 rounded-full bg-accent-blue/10`,`transition-[transform,width,height,opacity,box-shadow] duration-300 ease-out`,m?`opacity-100`:`opacity-0`,y?`ring-4 ring-accent-blue/45`:`ring-2 ring-accent-blue/30`),style:m?{width:m.w,height:m.h,transform:`translate(${m.x}px, ${m.y}px) scale(${y?1.04:1})`}:void 0}),r.map(e=>{let t=e.id===i;return(0,C.jsxs)(`button`,{ref:t=>{t?_.current.set(e.id,t):_.current.delete(e.id)},type:`button`,role:`tab`,"aria-selected":t,onClick:()=>c(e.id),className:b(`inline-flex items-center gap-1.5 rounded-full border px-2.5 py-1 text-xs transition-colors`,t?`border-accent-blue bg-accent-blue/15 text-accent-blue`:`border-dark-border text-dark-muted hover:border-dark-tertiary hover:text-dark-text`),children:[(0,C.jsx)(`span`,{children:T(e)}),!e.configured&&(0,C.jsx)(`span`,{role:`img`,"aria-label":n(`settings.kindScope.unconfigured`),title:n(`settings.kindScope.unconfigured`),className:`h-1.5 w-1.5 rounded-full bg-dark-tertiary`})]},e.id)})]}),E&&(0,C.jsxs)(`div`,{className:`animate-fade-in flex flex-wrap items-center justify-between gap-2 text-xs`,children:[(0,C.jsx)(`p`,{className:`text-dark-muted`,children:E.configured?n(`settings.kindScope.configuredHint`,{kind:T(E)}):n(`settings.kindScope.unconfiguredHint`,{kind:T(E)})}),!E.configured&&D.length>0&&(0,C.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1.5`,children:[(0,C.jsxs)(`select`,{value:f,disabled:u,onChange:e=>p(e.target.value),"aria-label":n(`settings.kindScope.copySource`),className:`rounded border border-dark-border bg-dark-surface px-1.5 py-0.5 text-xs text-dark-text disabled:opacity-50`,children:[(0,C.jsx)(`option`,{value:``,children:n(`settings.kindScope.copySource`)}),D.map(e=>(0,C.jsx)(`option`,{value:e.id,children:T(e)},e.id))]}),(0,C.jsx)(`button`,{type:`button`,disabled:!f||u,onClick:()=>{f&&d(f,E.id).then(e=>{e&&p(``)})},className:`rounded border border-dark-border px-2 py-0.5 text-dark-muted hover:border-dark-tertiary hover:text-dark-text disabled:opacity-40`,children:n(`settings.kindScope.copyAction`)})]})]},E.id)]})}function L(e,t){return e?e.deny?.includes(t)?!1:e.allow&&e.allow.length>0?e.allow.includes(t):!0:!0}function R(e,t){return e?.deny?.includes(t)?`deny`:e?.allow?.includes(t)?`allow`:`inherit`}function z(e,t,n){let r=(e?.allow??[]).filter(e=>e!==t),i=(e?.deny??[]).filter(e=>e!==t);if(n===`allow`&&r.push(t),n===`deny`&&i.push(t),r.length!==0||i.length!==0)return{...r.length>0?{allow:r}:{},...i.length>0?{deny:i}:{}}}function B(e){let t=F(e=>e.activeKind),n=F(e=>e.activeKind?e.entries[e.activeKind]:void 0),r=F(e=>e.saving),i=F(e=>e.saveEntry),a=n?.[e],o=(0,S.useCallback)(e=>R(a,e),[a]),s=(0,S.useCallback)(e=>L(a,e),[a]),c=(0,S.useCallback)(async(n,r)=>{if(!t)return!1;let a=F.getState().entries[t],o=z(a?.[e],n,r),s={...a??{}};o?s[e]=o:delete s[e];let c=Object.values(s).some(e=>e!==void 0);return i(t,c?s:null)},[t,i,e]);return(0,S.useMemo)(()=>({configured:a!==void 0,settingFor:o,effectiveFor:s,setSetting:c,saving:r}),[a,o,s,c,r])}var V={inherit:`allow`,allow:`deny`,deny:`inherit`};function H({slot:e,id:t,className:n}){let{t:r}=l(),{settingFor:i,effectiveFor:a,setSetting:o,saving:s}=B(e),c=i(t),u=a(t),d=c===`inherit`&&!u,f=r(c===`inherit`?d?`settings.kindCapability.excluded`:`settings.kindCapability.inherit`:`settings.kindCapability.${c}`);return(0,C.jsx)(`button`,{type:`button`,disabled:s,onClick:()=>void o(t,V[c]),title:r(`settings.kindCapability.hint`),"aria-label":`${f}: ${t}`,className:b(`inline-flex shrink-0 items-center rounded-full border px-2 py-0.5 text-xs transition-colors`,c===`allow`&&`border-accent-green/40 bg-accent-green/15 text-accent-green`,c===`deny`&&`border-accent-red/40 bg-accent-red/15 text-accent-red`,c===`inherit`&&!d&&`border-dark-border text-dark-muted hover:border-dark-tertiary`,d&&`border-dark-border text-dark-tertiary line-through`,s&&`opacity-50`,n),children:f})}function U({value:e,max:t=100,size:n=`md`,variant:r=`default`,showLabel:i=!1,className:a}){let o=Math.min(Math.max(e/t*100,0),100);return(0,C.jsxs)(`div`,{className:b(`w-full`,a),children:[(0,C.jsx)(`div`,{className:b(`w-full bg-dark-border rounded-full overflow-hidden`,{sm:`h-1`,md:`h-2`,lg:`h-3`}[n]),children:(0,C.jsx)(`div`,{className:b(`h-full rounded-full transition-all duration-300`,{default:`bg-accent-blue`,success:`bg-accent-green`,warning:`bg-accent-yellow`,error:`bg-accent-red`}[r]),style:{width:`${o}%`}})}),i&&(0,C.jsxs)(`span`,{className:`text-xs text-dark-muted mt-1`,children:[Math.round(o),`%`]})]})}function W(e){return e<=0?2.2:Math.min(2.2,Math.max(.9,2.2/(1+e/45)))}function G(e,t,n){let r=(e%360+360)%360,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(r/60%2-1)),o=n-i/2,s=0,c=0,l=0;return r<60?[s,c,l]=[i,a,0]:r<120?[s,c,l]=[a,i,0]:r<180?[s,c,l]=[0,i,a]:r<240?[s,c,l]=[0,a,i]:r<300?[s,c,l]=[a,0,i]:[s,c,l]=[i,0,a],`${Math.round((s+o)*255)} ${Math.round((c+o)*255)} ${Math.round((l+o)*255)}`}function K(e){let t=5381;for(let n=0;n<e.length;n++)t=t*33^e.charCodeAt(n);return(t%360+360)%360}var q=(0,S.memo)(function({size:e=12,rate:t=0,accent:n=`blue`,hue:r,className:i}){let a=Math.max(1.4,e/8.5),o=r===void 0?void 0:{"--rs-mid":G(r,.78,.62),"--rs-head":G(r+40,.95,.74)};return(0,C.jsxs)(`span`,{className:`rate-spinner${i?` ${i}`:``}`,"data-accent":n,style:{width:e,height:e,"--rs-stroke":`${a.toFixed(2)}px`,"--rs-dur":`${W(t).toFixed(2)}s`,...o},role:`status`,"aria-label":`generating`,children:[(0,C.jsx)(`i`,{className:`rs-arc rs-arc--a`,"aria-hidden":!0}),(0,C.jsx)(`i`,{className:`rs-arc rs-arc--b`,"aria-hidden":!0})]})}),J={running:{Icon:i,label:`nav.sessionRunning`,ring:`spin`},waiting:{Icon:n,label:`nav.sessionWaiting`,ring:`breathe`},failed:{Icon:a,label:`nav.sessionFailed`,ring:`static`},done:{Icon:s,label:`nav.sessionDone`}},Y=`
|
|
208
|
+
.dsc-status {
|
|
209
|
+
--dsc-rgb: var(--color-muted);
|
|
210
|
+
/* 龙卷风涡流的两端:涡头靛蓝 → 涡尾青绿(中段由浏览器插值成蓝绿) */
|
|
211
|
+
--dsc-vortex-a: var(--color-accent-blue);
|
|
212
|
+
--dsc-vortex-b: var(--color-accent-green);
|
|
213
|
+
--dsc-chip: 0.1;
|
|
214
|
+
color: rgb(var(--dsc-rgb));
|
|
215
|
+
background-color: rgb(var(--dsc-rgb) / var(--dsc-chip));
|
|
216
|
+
border-color: transparent;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.dsc-status[data-status='running'] { --dsc-rgb: var(--color-accent-blue); }
|
|
220
|
+
.dsc-status[data-status='waiting'] { --dsc-rgb: var(--color-accent-yellow); --dsc-chip: 0.13; }
|
|
221
|
+
.dsc-status[data-status='failed'] { --dsc-rgb: var(--color-accent-red); }
|
|
222
|
+
|
|
223
|
+
/* 已完成:绿勾 + 极淡绿底 —— 「尘埃落定」的正向确认(一眼可辨,无需读标题)。
|
|
224
|
+
刻意比 running 收敛:无动效、低饱和底板、绿而非高饱和大色块,
|
|
225
|
+
避免侧栏一排会话全是喧闹的绿灯抢占 running 的视觉重心。 */
|
|
226
|
+
.dsc-status[data-status='done'] {
|
|
227
|
+
color: rgb(var(--color-accent-green));
|
|
228
|
+
background-color: rgb(var(--color-accent-green) / 0.14);
|
|
229
|
+
border-color: rgb(var(--color-accent-green) / 0.34);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/* 进行中:同色柔光晕缓慢呼吸 —— 即使截图静止,也认得出这是彩色状态。
|
|
233
|
+
box-shadow 是重绘属性,小尺寸上强脉冲会被读成「闪烁」:这里把外圈光晕
|
|
234
|
+
幅度进一步压小、周期拉长到 5.2s,只保留极淡的一圈「活着」的呼吸感,
|
|
235
|
+
不抢运行中指示器本身的视觉重心。 */
|
|
236
|
+
.dsc-status[data-status='running'] {
|
|
237
|
+
animation: dscGlow 5.2s ease-in-out infinite;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.dsc-ring {
|
|
241
|
+
position: absolute;
|
|
242
|
+
inset: -2px;
|
|
243
|
+
border: 2px solid transparent;
|
|
244
|
+
border-radius: 8px;
|
|
245
|
+
pointer-events: none;
|
|
246
|
+
}
|
|
247
|
+
.dsc-ring[data-motion='spin'] {
|
|
248
|
+
/* 龙卷风:蓝→青→绿的头尾渐隐涡流(comet),遮罩抠出 2.5px 环带 */
|
|
249
|
+
border-color: transparent;
|
|
250
|
+
background: conic-gradient(
|
|
251
|
+
from 0deg,
|
|
252
|
+
rgb(var(--dsc-vortex-a) / 0) 0deg,
|
|
253
|
+
rgb(var(--dsc-vortex-a)) 80deg,
|
|
254
|
+
rgb(var(--dsc-vortex-b)) 250deg,
|
|
255
|
+
rgb(var(--dsc-vortex-b) / 0) 340deg,
|
|
256
|
+
rgb(var(--dsc-vortex-a) / 0) 360deg
|
|
257
|
+
);
|
|
258
|
+
-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
|
|
259
|
+
mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
|
|
260
|
+
animation: dscSpin 1.5s linear infinite;
|
|
261
|
+
/* 提示浏览器把这一层独立合成:旋转只走 composite,不整帧重绘父级 */
|
|
262
|
+
will-change: transform;
|
|
263
|
+
}
|
|
264
|
+
/* 内涡:反向、稍快的细弧,让静止截图也读得出「漏斗」而非一片渐变。
|
|
265
|
+
透明度压低(0.6/0.35):11px 直径上的 1.5px 细弧本身很小,高对比会让
|
|
266
|
+
亚像素抗锯齿随旋转闪烁。 */
|
|
267
|
+
.dsc-ring[data-motion='spin']::after {
|
|
268
|
+
content: '';
|
|
269
|
+
position: absolute;
|
|
270
|
+
inset: 3.5px;
|
|
271
|
+
border: 1.5px solid transparent;
|
|
272
|
+
border-top-color: rgb(var(--dsc-vortex-b) / 0.6);
|
|
273
|
+
border-left-color: rgb(var(--dsc-vortex-a) / 0.35);
|
|
274
|
+
border-radius: 50%;
|
|
275
|
+
animation: dscSpin 1.6s linear infinite reverse;
|
|
276
|
+
}
|
|
277
|
+
.dsc-ring[data-motion='breathe'] {
|
|
278
|
+
border-color: rgb(var(--dsc-rgb) / 0.85);
|
|
279
|
+
animation: dscBreathe 1.9s ease-in-out infinite;
|
|
280
|
+
}
|
|
281
|
+
.dsc-ring[data-motion='static'] {
|
|
282
|
+
border-color: rgb(var(--dsc-rgb) / 0.5);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
@keyframes dscSpin {
|
|
286
|
+
to { transform: rotate(360deg); }
|
|
287
|
+
}
|
|
288
|
+
@keyframes dscBreathe {
|
|
289
|
+
0%, 100% { opacity: 0.3; transform: scale(0.96); }
|
|
290
|
+
50% { opacity: 1; transform: scale(1); }
|
|
291
|
+
}
|
|
292
|
+
@keyframes dscGlow {
|
|
293
|
+
0%, 100% { box-shadow: 0 0 0 2px rgb(var(--dsc-rgb) / 0.06), 0 0 4px rgb(var(--dsc-rgb) / 0.12); }
|
|
294
|
+
50% { box-shadow: 0 0 0 2px rgb(var(--dsc-rgb) / 0.1), 0 0 6px rgb(var(--dsc-rgb) / 0.2); }
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@media (prefers-reduced-motion: reduce) {
|
|
298
|
+
.dsc-status,
|
|
299
|
+
.dsc-ring,
|
|
300
|
+
.dsc-ring::after { animation: none !important; }
|
|
301
|
+
.dsc-status[data-status='running'] { box-shadow: 0 0 0 2px rgb(var(--dsc-rgb) / 0.16); }
|
|
302
|
+
.dsc-ring[data-motion='breathe'] { opacity: 0.7; transform: none; }
|
|
303
|
+
}
|
|
304
|
+
`;(0,S.memo)(function({status:e,label:t,className:n,sessionId:r}){let{t:i}=l(),a=J[e]??J.done,{Icon:o,ring:s}=a,c=t??i(a.label);if(e===`running`){let e=r===void 0?void 0:K(r),t=e===void 0?void 0:G(e,.78,.62);return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`style`,{href:`deepseekcode-session-status`,precedence:`default`,children:Y}),(0,C.jsx)(`span`,{"data-status":`running`,className:b(`dsc-status relative flex h-5 w-5 shrink-0 items-center justify-center rounded-[6px] border transition-colors`,n),style:t?{"--dsc-rgb":t}:void 0,title:c,"aria-label":c,role:`img`,children:(0,C.jsx)(q,{size:17,rate:0,hue:e})})]})}return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`style`,{href:`deepseekcode-session-status`,precedence:`default`,children:Y}),(0,C.jsxs)(`span`,{"data-status":e,className:b(`dsc-status relative flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-[5px] border transition-colors`,n),title:c,"aria-label":c,role:`img`,children:[s&&(0,C.jsx)(`span`,{className:`dsc-ring`,"data-motion":s,"aria-hidden":`true`}),(0,C.jsx)(o,{size:e===`done`?14:13,strokeWidth:e===`done`?2.8:2.2,"aria-hidden":`true`,className:`relative`})]})]})});var X=1.5,Z=1,Q=1.5;function $(e,t,n){return t>0&&e>t*n+Z}function ee({children:e,contentKey:n,lines:i=12,className:a}){let{t:o}=l(),s=(0,S.useId)(),c=(0,S.useRef)(null),[u,d]=(0,S.useState)(null),[p,m]=(0,S.useState)(0),[h,g]=(0,S.useState)(!1),_=(0,S.useCallback)(()=>{let e=c.current;if(!e)return;let t=window.getComputedStyle(e),n=Number.parseFloat(t.lineHeight),r=Number.parseFloat(t.fontSize),a=Number.isFinite(n)&&n>0?n:Number.isFinite(r)&&r>0?r*Q:0;a<=0||(m(a),$(e.scrollHeight,a,i)?d(a*i):(d(null),g(!1)))},[i]);(0,S.useLayoutEffect)(()=>{_()},[_,n]),(0,S.useLayoutEffect)(()=>{let e=c.current;if(!e||typeof ResizeObserver>`u`)return;let t=new ResizeObserver(()=>_());return t.observe(e),()=>t.disconnect()},[_]);let v=u!==null&&!h;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(`div`,{ref:c,id:s,className:b(`ui-clamp`,a),"data-expanded":v?`false`:`true`,style:{"--ui-clamp-max-h":`${u??0}px`,"--ui-clamp-fade":`${p*X}px`},onFocusCapture:v?()=>g(!0):void 0,children:e}),u!==null&&(0,C.jsx)(f,{variant:`ghost`,size:`sm`,className:`-ms-3.5 mt-0.5`,"aria-expanded":!v,"aria-controls":s,onClick:()=>g(e=>!e),rightIcon:v?(0,C.jsx)(t,{size:13,"aria-hidden":`true`}):(0,C.jsx)(r,{size:13,"aria-hidden":`true`}),children:o(v?`chat.messageExpand`:`chat.messageCollapse`)})]})}export{B as a,N as c,j as d,k as f,H as i,M as l,q as n,I as o,T as p,U as r,F as s,ee as t,A as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,t}from"./rolldown-runtime-COiEfhsA.js";var n=t((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function ee(e,t){return D(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=ee(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function te(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var F=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function I(e){var t=T.T,n={};n.types=t===null?null:t.types,T.T=n;try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(w,F)}catch(e){F(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),T.T=t}}function L(e){var t=T.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else I(L.bind(null,e))}var R={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=R,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},e.addTransitionType=L,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!E.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return D(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)E.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:te}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=I,e.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},e.use=function(e){return T.H.use(e)},e.useActionState=function(e,t,n){return T.H.useActionState(e,t,n)},e.useCallback=function(e,t){return T.H.useCallback(e,t)},e.useContext=function(e){return T.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return T.H.useEffect(e,t)},e.useEffectEvent=function(e){return T.H.useEffectEvent(e)},e.useId=function(){return T.H.useId()},e.useImperativeHandle=function(e,t,n){return T.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.H.useMemo(e,t)},e.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return T.H.useReducer(e,t,n)},e.useRef=function(e){return T.H.useRef(e)},e.useState=function(e){return T.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.H.useTransition()},e.version=`19.3.1`})),r=t(((e,t)=>{t.exports=n()})),i=e(r(),1),a=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function o(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:a(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var s=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},c=e=>{let t=s(e);return t.charAt(0).toUpperCase()+t.slice(1)},l=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),u={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function d(e){return e!=null}function f(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??u.width,a=e.size??e.height??u.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],f=t.includeDefaultClasses===!1?l(...c):l(`lucide`,...s,...c),p=t.absoluteStrokeWidth?Number(t.strokeWidth??u[`stroke-width`])*Number(e.size??e.width??u.width)/Number(t.size??t.width??u.width):t.strokeWidth??u[`stroke-width`];return[`svg`,{...Object.entries(u).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&d(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&d(t.width)&&{[r(`width`)]:t.width},...`height`in t&&d(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:p,...f&&{[r(`class`)]:f},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function p(e,t={}){return f(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var m=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},h=(0,i.createContext)({}),g=()=>(0,i.useContext)(h),_=(0,i.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:a,absoluteStrokeWidth:o,nonScalingStroke:s,className:c=``,children:u,iconNode:d=[],icon:f={node:d,aliases:[],size:24},...h},_)=>{let{size:v=24,strokeWidth:y=2,absoluteStrokeWidth:b=!1,nonScalingStroke:x=!1,color:S=`currentColor`,className:C=``}=g()??{},w=!!u||m(h),[T,E,D=[]]=p(f,{color:e??S,width:n??t??v,height:r??t??v,strokeWidth:a??y,absoluteStrokeWidth:o??b,nonScalingStroke:s??x,className:l(C,c),hasA11yProp:w,attributes:h});return(0,i.createElement)(T,{ref:_,...E},[...D.map(([e,t])=>(0,i.createElement)(e,t)),...Array.isArray(u)?u:[u]])});function v(e,t=[],n=[]){let r=typeof e==`string`?o(e,t,n):e,a=(0,i.forwardRef)(({className:e,...t},n)=>(0,i.createElement)(_,{ref:n,icon:r,className:e,...t}));return r.name&&(a.displayName=c(r.name)),a}var y={name:`activity`,size:24,node:[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]};y.node;var b=v(y),x={name:`app-window`,size:24,node:[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}],[`path`,{d:`M10 4v4`,key:`pp8u80`}],[`path`,{d:`M2 8h20`,key:`d11cs7`}],[`path`,{d:`M6 4v4`,key:`1svtjw`}]]};x.node;var S=v(x),C={name:`arrow-down-left`,size:24,node:[[`path`,{d:`M17 7 7 17`,key:`15tmo1`}],[`path`,{d:`M17 17H7V7`,key:`1org7z`}]]};C.node;var w=v(C),T={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]};T.node;var E=v(T),D={name:`arrow-left-to-line`,size:24,node:[[`path`,{d:`M3 19V5`,key:`rwsyhb`}],[`path`,{d:`m13 6-6 6 6 6`,key:`1yhaz7`}],[`path`,{d:`M7 12h14`,key:`uoisry`}]]};D.node;var ee=v(D),O={name:`arrow-left`,size:24,node:[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]};O.node;var k=v(O),A={name:`arrow-right`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]};A.node;var j=v(A),M={name:`arrow-up-right`,size:24,node:[[`path`,{d:`M7 7h10v10`,key:`1tivn9`}],[`path`,{d:`M7 17 17 7`,key:`1vkiza`}]]};M.node;var N=v(M),P={name:`arrow-up-to-line`,size:24,node:[[`path`,{d:`M5 3h14`,key:`7usisc`}],[`path`,{d:`m18 13-6-6-6 6`,key:`1kf1n9`}],[`path`,{d:`M12 7v14`,key:`1akyts`}]]};P.node;var te=v(P),F={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};F.node;var I=v(F),L={name:`bell-off`,size:24,node:[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742`,key:`178tsu`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05`,key:`1hqiys`}]]};L.node;var R=v(L),z={name:`bell`,size:24,node:[[`path`,{d:`M10.268 21a2 2 0 0 0 3.464 0`,key:`vwvbt9`}],[`path`,{d:`M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326`,key:`11g9vi`}]]};z.node;var ne=v(z),B={name:`blocks`,size:24,node:[[`path`,{d:`M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2`,key:`1ah6g2`}],[`rect`,{x:`14`,y:`2`,width:`8`,height:`8`,rx:`1`,key:`88lufb`}]]};B.node;var re=v(B),V={name:`bold`,size:24,node:[[`path`,{d:`M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8`,key:`mg9rjx`}]]};V.node;var ie=v(V),H={name:`bookmark-check`,size:24,node:[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`,key:`oz39mx`}],[`path`,{d:`m9 10 2 2 4-4`,key:`1gnqz4`}]]};H.node;var ae=v(H),U={name:`bookmark`,size:24,node:[[`path`,{d:`M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z`,key:`oz39mx`}]]};U.node;var oe=v(U),W={name:`bot`,size:24,node:[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]};W.node;var se=v(W),G={name:`box`,size:24,node:[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]};G.node;var ce=v(G),K={name:`boxes`,size:24,node:[[`path`,{d:`M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z`,key:`lc1i9w`}],[`path`,{d:`m7 16.5-4.74-2.85`,key:`1o9zyk`}],[`path`,{d:`m7 16.5 5-3`,key:`va8pkn`}],[`path`,{d:`M7 16.5v5.17`,key:`jnp8gn`}],[`path`,{d:`M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z`,key:`8zsnat`}],[`path`,{d:`m17 16.5-5-3`,key:`8arw3v`}],[`path`,{d:`m17 16.5 4.74-2.85`,key:`8rfmw`}],[`path`,{d:`M17 16.5v5.17`,key:`k6z78m`}],[`path`,{d:`M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z`,key:`1xygjf`}],[`path`,{d:`M12 8 7.26 5.15`,key:`1vbdud`}],[`path`,{d:`m12 8 4.74-2.85`,key:`3rx089`}],[`path`,{d:`M12 13.5V8`,key:`1io7kd`}]]};K.node;var le=v(K),q={name:`brain`,size:24,node:[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 01-3-4 4.17 4.17 0 01-3 4`,key:`5nuw1p`}],[`path`,{d:`M17.707 6.294A3 3 0 1012 5a3 3 0 10-5.707 1.294`,key:`18ldcf`}],[`path`,{d:`M17.996 5.125a4 4 0 012.526 5.77`,key:`1sdu8q`}],[`path`,{d:`M18 18a4 4 0 002-7.465`,key:`7xqqvr`}],[`path`,{d:`M19.967 17.482a4 4 0 11-7.967.517 4 4 0 11-7.967-.517`,key:`t46ysz`}],[`path`,{d:`M6 18a4 4 0 01-2-7.465`,key:`1y2m15`}],[`path`,{d:`M6.004 5.125a4 4 0 00-2.526 5.77`,key:`3cw1ss`}]]};q.node;var ue=v(q),J={name:`calendar-clock`,size:24,node:[[`path`,{d:`M16 14v2.2l1.6 1`,key:`fo4ql5`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`path`,{d:`M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338`,key:`7hb8p4`}],[`path`,{d:`M3 9h5.859`,key:`numkqi`}],[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`circle`,{cx:`16`,cy:`16`,r:`6`,key:`qoo3c4`}]]};J.node;var de=v(J),Y={name:`calendar-days`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 13h.01`,key:`1sbv64`}],[`path`,{d:`M12 13h.01`,key:`y0uutt`}],[`path`,{d:`M16 13h.01`,key:`wip0gl`}],[`path`,{d:`M8 17h.01`,key:`p3bg7i`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}],[`path`,{d:`M16 17h.01`,key:`ql8jdd`}]]};Y.node;var fe=v(Y),X={name:`calendar-range`,size:24,node:[[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M17 13h-6`,key:`1qbiup`}],[`path`,{d:`M13 17H7`,key:`1x38vv`}],[`path`,{d:`M7 13h.01`,key:`1vezk1`}],[`path`,{d:`M17 17h.01`,key:`1sd3ek`}]]};X.node;var pe=v(X),Z={name:`calendar`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}]]};Z.node;var me=v(Z),Q={name:`camera`,size:24,node:[[`path`,{d:`M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z`,key:`18u6gg`}],[`circle`,{cx:`12`,cy:`13`,r:`3`,key:`1vg3eu`}]]};Q.node;var he=v(Q),$={name:`chart-column`,size:24,node:[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]],aliases:[`bar-chart-3`]};$.node;var ge=v($),_e={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};_e.node;var ve=v(_e),ye={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};ye.node;var be=v(ye),xe={name:`chevron-left`,size:24,node:[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]};xe.node;var Se=v(xe),Ce={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};Ce.node;var we=v(Ce),Te={name:`chevron-up`,size:24,node:[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]};Te.node;var Ee=v(Te),De={name:`chevrons-down-up`,size:24,node:[[`path`,{d:`m7 20 5-5 5 5`,key:`13a0gw`}],[`path`,{d:`m7 4 5 5 5-5`,key:`1kwcof`}]]};De.node;var Oe=v(De),ke={name:`chevrons-left`,size:24,node:[[`path`,{d:`m11 17-5-5 5-5`,key:`13zhaf`}],[`path`,{d:`m18 17-5-5 5-5`,key:`h8a8et`}]]};ke.node;var Ae=v(ke),je={name:`chevrons-right`,size:24,node:[[`path`,{d:`m6 17 5-5-5-5`,key:`xnjwq`}],[`path`,{d:`m13 17 5-5-5-5`,key:`17xmmf`}]]};je.node;var Me=v(je),Ne={name:`chevrons-up-down`,size:24,node:[[`path`,{d:`m7 15 5 5 5-5`,key:`1hf1tw`}],[`path`,{d:`m7 9 5-5 5 5`,key:`sgt6xg`}]]};Ne.node;var Pe=v(Ne),Fe={name:`circle-alert`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`]};Fe.node;var Ie=v(Fe),Le={name:`circle-check-big`,size:24,node:[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]],aliases:[`check-circle`]};Le.node;var Re=v(Le),ze={name:`circle-check`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 9-5.5 5.5L8 12`,key:`xofnsj`}]],aliases:[`check-circle-2`]};ze.node;var Be=v(ze),Ve={name:`circle-dollar-sign`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8`,key:`1h4pet`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}]]};Ve.node;var He=v(Ve),Ue={name:`circle-dot`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]};Ue.node;var We=v(Ue),Ge={name:`circle-pause`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`10`,x2:`10`,y1:`15`,y2:`9`,key:`c1nkhi`}],[`line`,{x1:`14`,x2:`14`,y1:`15`,y2:`9`,key:`h65svq`}]],aliases:[`pause-circle`]};Ge.node;var Ke=v(Ge),qe={name:`circle-question-mark`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`help-circle`,`circle-help`]};qe.node;var Je=v(qe),Ye={name:`circle-x`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]],aliases:[`x-circle`]};Ye.node;var Xe=v(Ye),Ze={name:`circle-user`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}],[`path`,{d:`M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662`,key:`154egf`}]],aliases:[`user-circle`]};Ze.node;var Qe=v(Ze),$e={name:`circle`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]};$e.node;var et=v($e),tt={name:`clapperboard`,size:24,node:[[`path`,{d:`m12.296 3.464 3.02 3.956`,key:`qash78`}],[`path`,{d:`M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z`,key:`1h7j8b`}],[`path`,{d:`M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`4lm6w1`}],[`path`,{d:`m6.18 5.276 3.1 3.899`,key:`zjj9t3`}]]};tt.node;var nt=v(tt),rt={name:`clipboard-list`,size:24,node:[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M12 11h4`,key:`1jrz19`}],[`path`,{d:`M12 16h4`,key:`n85exb`}],[`path`,{d:`M8 11h.01`,key:`1dfujw`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]};rt.node;var it=v(rt),at={name:`clock-3`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6h4`,key:`135r8i`}]]};at.node;var ot=v(at),st={name:`clock`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]};st.node;var ct=v(st),lt={name:`code-xml`,size:24,node:[[`path`,{d:`m18 16 4-4-4-4`,key:`1inbqp`}],[`path`,{d:`m6 8-4 4 4 4`,key:`15zrgr`}],[`path`,{d:`m14.5 4-5 16`,key:`e7oirm`}]],aliases:[`code-2`]};lt.node;var ut=v(lt),dt={name:`code`,size:24,node:[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]};dt.node;var ft=v(dt),pt={name:`coffee`,size:24,node:[[`path`,{d:`M10 2v2`,key:`7u0qdc`}],[`path`,{d:`M14 2v2`,key:`6buw04`}],[`path`,{d:`M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1`,key:`pwadti`}],[`path`,{d:`M6 2v2`,key:`colzsn`}]]};pt.node;var mt=v(pt),ht={name:`columns-2`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 3v18`,key:`108xh3`}]],aliases:[`columns`]};ht.node;var gt=v(ht),_t={name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]};_t.node;var vt=v(_t),yt={name:`corner-down-left`,size:24,node:[[`path`,{d:`M20 4v7a4 4 0 0 1-4 4H4`,key:`6o5b7l`}],[`path`,{d:`m9 10-5 5 5 5`,key:`1kshq7`}]]};yt.node;var bt=v(yt),xt={name:`corner-down-right`,size:24,node:[[`path`,{d:`m15 10 5 5-5 5`,key:`qqa56n`}],[`path`,{d:`M4 4v7a4 4 0 0 0 4 4h12`,key:`z08zvw`}]]};xt.node;var St=v(xt),Ct={name:`corner-up-left`,size:24,node:[[`path`,{d:`M20 20v-7a4 4 0 0 0-4-4H4`,key:`1nkjon`}],[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}]]};Ct.node;var wt=v(Ct),Tt={name:`cpu`,size:24,node:[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]};Tt.node;var Et=v(Tt),Dt={name:`crown`,size:24,node:[[`path`,{d:`M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z`,key:`1vdc57`}],[`path`,{d:`M5 21h14`,key:`11awu3`}]]};Dt.node;var Ot=v(Dt),kt={name:`database`,size:24,node:[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]};kt.node;var At=v(kt),jt={name:`dot`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}]]};jt.node;var Mt=v(jt),Nt={name:`download`,size:24,node:[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]};Nt.node;var Pt=v(Nt),Ft={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};Ft.node;var It=v(Ft),Lt={name:`eraser`,size:24,node:[[`path`,{d:`M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21`,key:`g5wo59`}],[`path`,{d:`m5.082 11.09 8.828 8.828`,key:`1wx5vj`}]]};Lt.node;var Rt=v(Lt),zt={name:`external-link`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]};zt.node;var Bt=v(zt),Vt={name:`eye-off`,size:24,node:[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};Vt.node;var Ht=v(Vt),Ut={name:`eye`,size:24,node:[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};Ut.node;var Wt=v(Ut),Gt={name:`file-check`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m9 15 2 2 4-4`,key:`1grp1n`}]]};Gt.node;var Kt=v(Gt),qt={name:`file-code-corner`,size:24,node:[[`path`,{d:`M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35`,key:`1wthlu`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m5 16-3 3 3 3`,key:`331omg`}],[`path`,{d:`m9 22 3-3-3-3`,key:`lsp7cz`}]],aliases:[`file-code-2`]};qt.node;var Jt=v(qt),Yt={name:`file-code`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]};Yt.node;var Xt=v(Yt),Zt={name:`file-diff`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M9 10h6`,key:`9gxzsh`}],[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`M9 17h6`,key:`r8uit2`}]]};Zt.node;var Qt=v(Zt),$t={name:`file-image`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`circle`,{cx:`10`,cy:`12`,r:`2`,key:`737tya`}],[`path`,{d:`m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22`,key:`wt3hpn`}]]};$t.node;var en=v($t),tn={name:`file-headphone`,size:24,node:[[`path`,{d:`M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343`,key:`1vfytu`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0`,key:`1etmh7`}]],aliases:[`file-audio`,`file-audio-2`]};tn.node;var nn=v(tn),rn={name:`file-pen`,size:24,node:[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`,key:`o6klzx`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`,key:`zhnas1`}]],aliases:[`file-edit`]};rn.node;var an=v(rn),on={name:`file-play`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M15.033 13.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56v-4.704a.645.645 0 0 1 .967-.56z`,key:`1tzo1f`}]],aliases:[`file-video`]};on.node;var sn=v(on),cn={name:`file-plus-corner`,size:24,node:[[`path`,{d:`M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35`,key:`17jvcc`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M14 19h6`,key:`bvotb8`}],[`path`,{d:`M17 16v6`,key:`18yu1i`}]],aliases:[`file-plus-2`]};cn.node;var ln=v(cn),un={name:`file-spreadsheet`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 13h2`,key:`yr2amv`}],[`path`,{d:`M14 13h2`,key:`un5t4a`}],[`path`,{d:`M8 17h2`,key:`2yhykz`}],[`path`,{d:`M14 17h2`,key:`10kma7`}]]};un.node;var dn=v(un),fn={name:`file-text`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]};fn.node;var pn=v(fn),mn={name:`file-type`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M11 18h2`,key:`12mj7e`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`M9 13v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5`,key:`qbrxap`}]]};mn.node;var hn=v(mn),gn={name:`file-up`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}],[`path`,{d:`m15 15-3-3-3 3`,key:`15xj92`}]]};gn.node;var _n=v(gn),vn={name:`file`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]};vn.node;var yn=v(vn),bn={name:`flame`,size:24,node:[[`path`,{d:`M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4`,key:`1slcih`}]]};bn.node;var xn=v(bn),Sn={name:`flask-conical`,size:24,node:[[`path`,{d:`M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2`,key:`18mbvz`}],[`path`,{d:`M6.453 15h11.094`,key:`3shlmq`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}]]};Sn.node;var Cn=v(Sn),wn={name:`folder-git-2`,size:24,node:[[`path`,{d:`M18 19a5 5 0 0 1-5-5v8`,key:`sz5oeg`}],[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`,key:`1w6njk`}],[`circle`,{cx:`13`,cy:`12`,r:`2`,key:`1j92g6`}],[`circle`,{cx:`20`,cy:`19`,r:`2`,key:`1obnsp`}]]};wn.node;var Tn=v(wn),En={name:`folder-kanban`,size:24,node:[[`path`,{d:`M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z`,key:`1fr9dc`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M12 10v2`,key:`hh53o1`}],[`path`,{d:`M16 10v6`,key:`1d6xys`}]]};En.node;var Dn=v(En),On={name:`folder-open`,size:24,node:[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]};On.node;var kn=v(On),An={name:`folder-plus`,size:24,node:[[`path`,{d:`M12 10v6`,key:`1bos4e`}],[`path`,{d:`M9 13h6`,key:`1uhe8q`}],[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]};An.node;var jn=v(An),Mn={name:`folder-tree`,size:24,node:[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]};Mn.node;var Nn=v(Mn),Pn={name:`folder`,size:24,node:[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]};Pn.node;var Fn=v(Pn),In={name:`gauge`,size:24,node:[[`path`,{d:`m12 14 4-4`,key:`9kzdfg`}],[`path`,{d:`M3.34 19a10 10 0 1 1 17.32 0`,key:`19p75a`}]]};In.node;var Ln=v(In),Rn={name:`git-branch`,size:24,node:[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]};Rn.node;var zn=v(Rn),Bn={name:`git-fork`,size:24,node:[[`circle`,{cx:`12`,cy:`18`,r:`3`,key:`1mpf1b`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`path`,{d:`M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9`,key:`1uq4wg`}],[`path`,{d:`M12 12v3`,key:`158kv8`}]]};Bn.node;var Vn=v(Bn),Hn={name:`globe`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]};Hn.node;var Un=v(Hn),Wn={name:`grip-vertical`,size:24,node:[[`circle`,{cx:`9`,cy:`12`,r:`1`,key:`1vctgf`}],[`circle`,{cx:`9`,cy:`5`,r:`1`,key:`hp0tcf`}],[`circle`,{cx:`9`,cy:`19`,r:`1`,key:`fkjjf6`}],[`circle`,{cx:`15`,cy:`12`,r:`1`,key:`1tmaij`}],[`circle`,{cx:`15`,cy:`5`,r:`1`,key:`19l28e`}],[`circle`,{cx:`15`,cy:`19`,r:`1`,key:`f4zoj3`}]]};Wn.node;var Gn=v(Wn),Kn={name:`hammer`,size:24,node:[[`path`,{d:`m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9`,key:`1hayfq`}],[`path`,{d:`m18 15 4-4`,key:`16gjal`}],[`path`,{d:`m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5`,key:`15ts47`}]]};Kn.node;var qn=v(Kn),Jn={name:`heading-1`,size:24,node:[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`m17 12 3-2v8`,key:`1hhhft`}]]};Jn.node;var Yn=v(Jn),Xn={name:`heading-2`,size:24,node:[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1`,key:`9jr5yi`}]]};Xn.node;var Zn=v(Xn),Qn={name:`heading-3`,size:24,node:[[`path`,{d:`M4 12h8`,key:`17cfdx`}],[`path`,{d:`M4 18V6`,key:`1rz3zl`}],[`path`,{d:`M12 18V6`,key:`zqpxq5`}],[`path`,{d:`M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2`,key:`68ncm8`}],[`path`,{d:`M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2`,key:`1ejuhz`}]]};Qn.node;var $n=v(Qn),er={name:`house`,size:24,node:[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]],aliases:[`home`]};er.node;var tr=v(er),nr={name:`image-plus`,size:24,node:[[`path`,{d:`M16 5h6`,key:`1vod17`}],[`path`,{d:`M19 2v6`,key:`4bpg5p`}],[`path`,{d:`M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5`,key:`1ue2ih`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]};nr.node;var rr=v(nr),ir={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]};ir.node;var ar=v(ir),or={name:`inbox`,size:24,node:[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`,key:`o97t9d`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}]]};or.node;var sr=v(or),cr={name:`info`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]};cr.node;var lr=v(cr),ur={name:`italic`,size:24,node:[[`line`,{x1:`19`,x2:`10`,y1:`4`,y2:`4`,key:`15jd3p`}],[`line`,{x1:`14`,x2:`5`,y1:`20`,y2:`20`,key:`bu0au3`}],[`line`,{x1:`15`,x2:`9`,y1:`4`,y2:`20`,key:`uljnxc`}]]};ur.node;var dr=v(ur),fr={name:`key-round`,size:24,node:[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]};fr.node;var pr=v(fr),mr={name:`key`,size:24,node:[[`path`,{d:`m2 21 9.6-9.6`,key:`9l79m3`}],[`path`,{d:`m7.5 15.5 2.3 2.3a1 1 0 0 1 0 1.4l-2.1 2.1a1 1 0 0 1-1.4 0L4 19`,key:`fw8biw`}],[`circle`,{cx:`15.5`,cy:`7.5`,r:`5.5`,key:`4wxmhb`}]]};mr.node;var hr=v(mr),gr={name:`languages`,size:24,node:[[`path`,{d:`m5 8 6 6`,key:`1wu5hv`}],[`path`,{d:`m4 14 6-6 2-3`,key:`1k1g8d`}],[`path`,{d:`M2 5h12`,key:`or177f`}],[`path`,{d:`M7 2h1`,key:`1t2jsx`}],[`path`,{d:`m22 22-5-10-5 10`,key:`don7ne`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]};gr.node;var _r=v(gr),vr={name:`layers`,size:24,node:[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]],aliases:[`layers-3`]};vr.node;var yr=v(vr),br={name:`layout-grid`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]};br.node;var xr=v(br),Sr={name:`layout-template`,size:24,node:[[`rect`,{width:`18`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`f1a2em`}],[`rect`,{width:`9`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`jqznyg`}],[`rect`,{width:`5`,height:`7`,x:`16`,y:`14`,rx:`1`,key:`q5h2i8`}]]};Sr.node;var Cr=v(Sr),wr={name:`leaf`,size:24,node:[[`path`,{d:`M11 20a10 10 0 0010-10 25.9 25.9 0 00-1.04-7.281 1 1 0 00-1.755-.325C15.833 5.5 13 5.5 9.8 6.1A7 7 0 0011 20`,key:`1wjnjv`}],[`path`,{d:`M2 21a5 5 0 012.911-4.544C7.613 15.212 8.351 15.24 11 13`,key:`c1ejpn`}]]};wr.node;var Tr=v(wr),Er={name:`link-2`,size:24,node:[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]};Er.node;var Dr=v(Er),Or={name:`list-checks`,size:24,node:[[`path`,{d:`M13 5h8`,key:`a7qcls`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`m3 17 2 2 4-4`,key:`1jhpwq`}],[`path`,{d:`m3 7 2 2 4-4`,key:`1obspn`}]]};Or.node;var kr=v(Or),Ar={name:`list-collapse`,size:24,node:[[`path`,{d:`M10 5h11`,key:`1hkqpe`}],[`path`,{d:`M10 12h11`,key:`6m4ad9`}],[`path`,{d:`M10 19h11`,key:`14g2nv`}],[`path`,{d:`m3 10 3-3-3-3`,key:`i7pm08`}],[`path`,{d:`m3 20 3-3-3-3`,key:`20gx1n`}]]};Ar.node;var jr=v(Ar),Mr={name:`list-filter`,size:24,node:[[`path`,{d:`M2 5h20`,key:`1fs1ex`}],[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M9 19h6`,key:`456am0`}]]};Mr.node;var Nr=v(Mr),Pr={name:`list-ordered`,size:24,node:[[`path`,{d:`M11 5h10`,key:`1cz7ny`}],[`path`,{d:`M11 12h10`,key:`1438ji`}],[`path`,{d:`M11 19h10`,key:`11t30w`}],[`path`,{d:`M4 4h1v5`,key:`10yrso`}],[`path`,{d:`M4 9h2`,key:`r1h2o0`}],[`path`,{d:`M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02`,key:`xtkcd5`}]]};Pr.node;var Fr=v(Pr),Ir={name:`list-tree`,size:24,node:[[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M13 12h8`,key:`h98zly`}],[`path`,{d:`M13 19h8`,key:`c3s6r1`}],[`path`,{d:`M3 10a2 2 0 0 0 2 2h3`,key:`1npucw`}],[`path`,{d:`M3 5v12a2 2 0 0 0 2 2h3`,key:`x1gjn2`}]]};Ir.node;var Lr=v(Ir),Rr={name:`list`,size:24,node:[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]};Rr.node;var zr=v(Rr),Br={name:`loader-circle`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],aliases:[`loader-2`]};Br.node;var Vr=v(Br),Hr={name:`loader`,size:24,node:[[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m16.2 7.8 2.9-2.9`,key:`r700ao`}],[`path`,{d:`M18 12h4`,key:`wj9ykh`}],[`path`,{d:`m16.2 16.2 2.9 2.9`,key:`1bxg5t`}],[`path`,{d:`M12 18v4`,key:`jadmvz`}],[`path`,{d:`m4.9 19.1 2.9-2.9`,key:`bwix9q`}],[`path`,{d:`M2 12h4`,key:`j09sii`}],[`path`,{d:`m4.9 4.9 2.9 2.9`,key:`giyufr`}]]};Hr.node;var Ur=v(Hr),Wr={name:`lock`,size:24,node:[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]};Wr.node;var Gr=v(Wr),Kr={name:`mail`,size:24,node:[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]};Kr.node;var qr=v(Kr),Jr={name:`map-pin`,size:24,node:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]};Jr.node;var Yr=v(Jr),Xr={name:`maximize-2`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]};Xr.node;var Zr=v(Xr),Qr={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};Qr.node;var $r=v(Qr),ei={name:`message-square-dot`,size:24,node:[[`path`,{d:`M12.7 3H4a2 2 0 0 0-2 2v16.286a.71.71 0 0 0 1.212.502l2.202-2.202A2 2 0 0 1 6.828 19H20a2 2 0 0 0 2-2v-4.7`,key:`wjb7ig`}],[`circle`,{cx:`19`,cy:`6`,r:`3`,key:`108a5v`}]]};ei.node;var ti=v(ei),ni={name:`message-square-plus`,size:24,node:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M12 8v6`,key:`1ib9pf`}],[`path`,{d:`M9 11h6`,key:`1fldmi`}]]};ni.node;var ri=v(ni),ii={name:`message-square-x`,size:24,node:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`m14.5 8.5-5 5`,key:`19tnj2`}],[`path`,{d:`m9.5 8.5 5 5`,key:`1oa8ql`}]]};ii.node;var ai=v(ii),oi={name:`message-square`,size:24,node:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]};oi.node;var si=v(oi),ci={name:`mic-off`,size:24,node:[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M15 9.34V5a3 3 0 0 0-5.68-1.33`,key:`1gzdoj`}],[`path`,{d:`M16.95 16.95A7 7 0 0 1 5 12v-2`,key:`cqa7eg`}],[`path`,{d:`M18.89 13.23A7 7 0 0 0 19 12v-2`,key:`16hl24`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M9 9v3a3 3 0 0 0 5.12 2.12`,key:`r2i35w`}]]};ci.node;var li=v(ci),ui={name:`mic`,size:24,node:[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]};ui.node;var di=v(ui),fi={name:`minimize-2`,size:24,node:[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]};fi.node;var pi=v(fi),mi={name:`minus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]};mi.node;var hi=v(mi),gi={name:`monitor-down`,size:24,node:[[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`m15 10-3 3-3-3`,key:`lzhmyn`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}]]};gi.node;var _i=v(gi),vi={name:`monitor-play`,size:24,node:[[`path`,{d:`M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z`,key:`vbtd3f`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,key:`x3v2xh`}]]};vi.node;var yi=v(vi),bi={name:`monitor`,size:24,node:[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]};bi.node;var xi=v(bi),Si={name:`moon`,size:24,node:[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]};Si.node;var Ci=v(Si),wi={name:`notebook-pen`,size:24,node:[[`path`,{d:`M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4`,key:`re6nr2`}],[`path`,{d:`M2 6h4`,key:`aawbzj`}],[`path`,{d:`M2 10h4`,key:`l0bgd4`}],[`path`,{d:`M2 14h4`,key:`1gsvsf`}],[`path`,{d:`M2 18h4`,key:`1bu2t1`}],[`path`,{d:`M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z`,key:`pqwjuv`}]]};wi.node;var Ti=v(wi),Ei={name:`package`,size:24,node:[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]};Ei.node;var Di=v(Ei),Oi={name:`palette`,size:24,node:[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`,key:`e79jfc`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`1okk4w`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`,key:`f64h9f`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`,key:`qy21gx`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`fotxhn`}]]};Oi.node;var ki=v(Oi),Ai={name:`panel-left-close`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m16 15-3-3 3-3`,key:`14y99z`}]],aliases:[`sidebar-close`]};Ai.node;var ji=v(Ai),Mi={name:`panel-left-open`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m14 9 3 3-3 3`,key:`8010ee`}]],aliases:[`sidebar-open`]};Mi.node;var Ni=v(Mi),Pi={name:`panel-right-open`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}],[`path`,{d:`m10 15-3-3 3-3`,key:`1pgupc`}]]};Pi.node;var Fi=v(Pi),Ii={name:`panel-right`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}]]};Ii.node;var Li=v(Ii),Ri={name:`paperclip`,size:24,node:[[`path`,{d:`m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551`,key:`1miecu`}]]};Ri.node;var zi=v(Ri),Bi={name:`pause`,size:24,node:[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]};Bi.node;var Vi=v(Bi),Hi={name:`pen-line`,size:24,node:[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]],aliases:[`edit-3`]};Hi.node;var Ui=v(Hi),Wi={name:`pen`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]],aliases:[`edit-2`]};Wi.node;var Gi=v(Wi),Ki={name:`pencil`,size:24,node:[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]};Ki.node;var qi=v(Ki),Ji={name:`pilcrow`,size:24,node:[[`path`,{d:`M13 4v16`,key:`8vvj80`}],[`path`,{d:`M17 4v16`,key:`7dpous`}],[`path`,{d:`M19 4H9.5a4.5 4.5 0 0 0 0 9H13`,key:`sh4n9v`}]]};Ji.node;var Yi=v(Ji),Xi={name:`pin-off`,size:24,node:[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89`,key:`znwnzq`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11`,key:`c9qhm2`}]]};Xi.node;var Zi=v(Xi),Qi={name:`pin`,size:24,node:[[`path`,{d:`M12 17v5`,key:`bb1du9`}],[`path`,{d:`M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z`,key:`1nkz8b`}]]};Qi.node;var $i=v(Qi),ea={name:`play`,size:24,node:[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]};ea.node;var ta=v(ea),na={name:`plug`,size:24,node:[[`path`,{d:`M12 22v-5`,key:`1ega77`}],[`path`,{d:`M15 8V2`,key:`18g5xt`}],[`path`,{d:`M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z`,key:`1xoxul`}],[`path`,{d:`M9 8V2`,key:`14iosj`}]]};na.node;var ra=v(na),ia={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};ia.node;var aa=v(ia),oa={name:`power-off`,size:24,node:[[`path`,{d:`M18.36 6.64A9 9 0 0 1 20.77 15`,key:`dxknvb`}],[`path`,{d:`M6.16 6.16a9 9 0 1 0 12.68 12.68`,key:`1x7qb5`}],[`path`,{d:`M12 2v4`,key:`3427ic`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};oa.node;var sa=v(oa),ca={name:`power`,size:24,node:[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]};ca.node;var la=v(ca),ua={name:`puzzle`,size:24,node:[[`path`,{d:`M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z`,key:`w46dr5`}]]};ua.node;var da=v(ua),fa={name:`qr-code`,size:24,node:[[`rect`,{width:`5`,height:`5`,x:`3`,y:`3`,rx:`1`,key:`1tu5fj`}],[`rect`,{width:`5`,height:`5`,x:`16`,y:`3`,rx:`1`,key:`1v8r4q`}],[`rect`,{width:`5`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`1x03jg`}],[`path`,{d:`M21 16h-3a2 2 0 0 0-2 2v3`,key:`177gqh`}],[`path`,{d:`M21 21v.01`,key:`ents32`}],[`path`,{d:`M12 7v3a2 2 0 0 1-2 2H7`,key:`8crl2c`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M12 3h.01`,key:`n36tog`}],[`path`,{d:`M12 16v.01`,key:`133mhm`}],[`path`,{d:`M16 12h1`,key:`1slzba`}],[`path`,{d:`M21 12v.01`,key:`1lwtk9`}],[`path`,{d:`M12 21v-1`,key:`1880an`}]]};fa.node;var pa=v(fa),ma={name:`quote`,size:24,node:[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]};ma.node;var ha=v(ma),ga={name:`radio`,size:24,node:[[`path`,{d:`M16.247 7.761a6 6 0 0 1 0 8.478`,key:`1fwjs5`}],[`path`,{d:`M19.075 4.933a10 10 0 0 1 0 14.134`,key:`ehdyv1`}],[`path`,{d:`M4.925 19.067a10 10 0 0 1 0-14.134`,key:`1q22gi`}],[`path`,{d:`M7.753 16.239a6 6 0 0 1 0-8.478`,key:`r2q7qm`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]};ga.node;var _a=v(ga),va={name:`refresh-cw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]};va.node;var ya=v(va),ba={name:`rotate-ccw-clock`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}],[`path`,{d:`M12 7v5l4 2`,key:`1fdv2h`}]],aliases:[`history`]};ba.node;var xa=v(ba),Sa={name:`rotate-ccw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]};Sa.node;var Ca=v(Sa),wa={name:`rotate-cw`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]};wa.node;var Ta=v(wa),Ea={name:`route`,size:24,node:[[`circle`,{cx:`6`,cy:`19`,r:`3`,key:`1kj8tv`}],[`path`,{d:`M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15`,key:`1d8sl`}],[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}]]};Ea.node;var Da=v(Ea),Oa={name:`save`,size:24,node:[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]};Oa.node;var ka=v(Oa),Aa={name:`scan-search`,size:24,node:[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}],[`path`,{d:`m16 16-1.9-1.9`,key:`1dq9hf`}]]};Aa.node;var ja=v(Aa),Ma={name:`scroll-text`,size:24,node:[[`path`,{d:`M15 12h-5`,key:`r7krc0`}],[`path`,{d:`M15 8h-5`,key:`1khuty`}],[`path`,{d:`M19 17V5a2 2 0 0 0-2-2H4`,key:`zz82l3`}],[`path`,{d:`M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3`,key:`1ph1d7`}]]};Ma.node;var Na=v(Ma),Pa={name:`search-check`,size:24,node:[[`path`,{d:`m8 11 2 2 4-4`,key:`1sed1v`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]};Pa.node;var Fa=v(Pa),Ia={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};Ia.node;var La=v(Ia),Ra={name:`send-horizontal`,size:24,node:[[`path`,{d:`M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z`,key:`117uat`}],[`path`,{d:`M6 12h16`,key:`s4cdu5`}]],aliases:[`send-horizonal`]};Ra.node;var za=v(Ra),Ba={name:`send`,size:24,node:[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]};Ba.node;var Va=v(Ba),Ha={name:`server`,size:24,node:[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]};Ha.node;var Ua=v(Ha),Wa={name:`settings`,size:24,node:[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]};Wa.node;var Ga=v(Wa),Ka={name:`shapes`,size:24,node:[[`path`,{d:`M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z`,key:`1bo67w`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}],[`circle`,{cx:`17.5`,cy:`17.5`,r:`3.5`,key:`w3z12y`}]]};Ka.node;var qa=v(Ka),Ja={name:`settings-2`,size:24,node:[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]};Ja.node;var Ya=v(Ja),Xa={name:`share-2`,size:24,node:[[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}],[`circle`,{cx:`6`,cy:`12`,r:`3`,key:`w7nqdw`}],[`circle`,{cx:`18`,cy:`19`,r:`3`,key:`1xt0gg`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`,key:`47mynk`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`,key:`1n3mei`}]]};Xa.node;var Za=v(Xa),Qa={name:`shield-alert`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]};Qa.node;var $a=v(Qa),eo={name:`shield-check`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]};eo.node;var to=v(eo),no={name:`shield`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]};no.node;var ro=v(no),io={name:`shopping-bag`,size:24,node:[[`path`,{d:`M16 10a4 4 0 0 1-8 0`,key:`1ltviw`}],[`path`,{d:`M3.103 6.034h17.794`,key:`awc11p`}],[`path`,{d:`M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z`,key:`o988cm`}]]};io.node;var ao=v(io),oo={name:`shuffle`,size:24,node:[[`path`,{d:`m18 14 4 4-4 4`,key:`10pe0f`}],[`path`,{d:`m18 2 4 4-4 4`,key:`pucp1d`}],[`path`,{d:`M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22`,key:`1ailkh`}],[`path`,{d:`M2 6h1.972a4 4 0 0 1 3.6 2.2`,key:`km57vx`}],[`path`,{d:`M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45`,key:`os18l9`}]]};oo.node;var so=v(oo),co={name:`siren`,size:24,node:[[`path`,{d:`M7 18v-6a5 5 0 1 1 10 0v6`,key:`pcx96s`}],[`path`,{d:`M5 21a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2z`,key:`1b4s83`}],[`path`,{d:`M21 12h1`,key:`jtio3y`}],[`path`,{d:`M18.5 4.5 18 5`,key:`g5sp9y`}],[`path`,{d:`M2 12h1`,key:`1uaihz`}],[`path`,{d:`M12 2v1`,key:`11qlp1`}],[`path`,{d:`m4.929 4.929.707.707`,key:`1i51kw`}],[`path`,{d:`M12 12v6`,key:`3ahymv`}]]};co.node;var lo=v(co),uo={name:`skip-forward`,size:24,node:[[`path`,{d:`M21 4v16`,key:`7j8fe9`}],[`path`,{d:`M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z`,key:`zs4d6`}]]};uo.node;var fo=v(uo),po={name:`sliders-horizontal`,size:24,node:[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]};po.node;var mo=v(po),ho={name:`sliders-vertical`,size:24,node:[[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M12 21v-9`,key:`17s77i`}],[`path`,{d:`M12 8V3`,key:`13r4qs`}],[`path`,{d:`M17 16h4`,key:`h1uq16`}],[`path`,{d:`M19 12V3`,key:`o1uvq1`}],[`path`,{d:`M19 21v-5`,key:`qua636`}],[`path`,{d:`M3 14h4`,key:`bcjad9`}],[`path`,{d:`M5 10V3`,key:`cb8scm`}],[`path`,{d:`M5 21v-7`,key:`1w1uti`}]],aliases:[`sliders`]};ho.node;var go=v(ho),_o={name:`smartphone`,size:24,node:[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]};_o.node;var vo=v(_o),yo={name:`speaker`,size:24,node:[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`path`,{d:`M12 6h.01`,key:`1vi96p`}],[`circle`,{cx:`12`,cy:`14`,r:`4`,key:`1jruaj`}],[`path`,{d:`M12 14h.01`,key:`1etili`}]]};yo.node;var bo=v(yo),xo={name:`sparkles`,size:24,node:[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]],aliases:[`stars`]};xo.node;var So=v(xo),Co={name:`square-check-big`,size:24,node:[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`,key:`2acyp4`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]],aliases:[`check-square`]};Co.node;var wo=v(Co),To={name:`square-code`,size:24,node:[[`path`,{d:`m10 9-3 3 3 3`,key:`1oro0q`}],[`path`,{d:`m14 15 3-3-3-3`,key:`bz13h7`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]],aliases:[`code-square`]};To.node;var Eo=v(To),Do={name:`square`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]};Do.node;var Oo=v(Do),ko={name:`star`,size:24,node:[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]};ko.node;var Ao=v(ko),jo={name:`store`,size:24,node:[[`path`,{d:`M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5`,key:`slp6dd`}],[`path`,{d:`M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244`,key:`o0xfot`}],[`path`,{d:`M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05`,key:`wn3emo`}]]};jo.node;var Mo=v(jo),No={name:`tag`,size:24,node:[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]};No.node;var Po=v(No),Fo={name:`target`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`6`,key:`1vlfrh`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}]]};Fo.node;var Io=v(Fo),Lo={name:`terminal`,size:24,node:[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]};Lo.node;var Ro=v(Lo),zo={name:`timer`,size:24,node:[[`line`,{x1:`10`,x2:`14`,y1:`2`,y2:`2`,key:`14vaq8`}],[`line`,{x1:`12`,x2:`15`,y1:`14`,y2:`11`,key:`17fdiu`}],[`circle`,{cx:`12`,cy:`14`,r:`8`,key:`1e1u0o`}]]};zo.node;var Bo=v(zo),Vo={name:`toggle-left`,size:24,node:[[`circle`,{cx:`9`,cy:`12`,r:`3`,key:`u3jwor`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`,key:`g7kal2`}]]};Vo.node;var Ho=v(Vo),Uo={name:`toggle-right`,size:24,node:[[`circle`,{cx:`15`,cy:`12`,r:`3`,key:`1afu0r`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`7`,key:`g7kal2`}]]};Uo.node;var Wo=v(Uo),Go={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};Go.node;var Ko=v(Go),qo={name:`trending-up`,size:24,node:[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]};qo.node;var Jo=v(qo),Yo={name:`triangle-alert`,size:24,node:[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`alert-triangle`]};Yo.node;var Xo=v(Yo),Zo={name:`undo-2`,size:24,node:[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]};Zo.node;var Qo=v(Zo),$o={name:`upload`,size:24,node:[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]};$o.node;var es=v($o),ts={name:`user-round`,size:24,node:[[`circle`,{cx:`12`,cy:`8`,r:`5`,key:`1hypcn`}],[`path`,{d:`M20 21a8 8 0 0 0-16 0`,key:`rfgkzh`}]],aliases:[`user-2`]};ts.node;var ns=v(ts),rs={name:`user`,size:24,node:[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`,key:`975kel`}],[`circle`,{cx:`12`,cy:`7`,r:`4`,key:`17ys0d`}]]};rs.node;var is=v(rs),as={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};as.node;var os=v(as),ss={name:`utensils`,size:24,node:[[`path`,{d:`M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2`,key:`cjf0a3`}],[`path`,{d:`M7 2v20`,key:`1473qp`}],[`path`,{d:`M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7`,key:`j28e5`}]],aliases:[`fork-knife`]};ss.node;var cs=v(ss),ls={name:`volume-2`,size:24,node:[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]};ls.node;var us=v(ls),ds={name:`wallet`,size:24,node:[[`path`,{d:`M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1`,key:`18etb6`}],[`path`,{d:`M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4`,key:`xoc0q4`}]]};ds.node;var fs=v(ds),ps={name:`webhook`,size:24,node:[[`path`,{d:`M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2`,key:`q3hayz`}],[`path`,{d:`m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06`,key:`1go1hn`}],[`path`,{d:`m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8`,key:`qlwsc0`}]]};ps.node;var ms=v(ps),hs={name:`wifi-off`,size:24,node:[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}],[`path`,{d:`M5 12.859a10 10 0 0 1 5.17-2.69`,key:`1dl1wf`}],[`path`,{d:`M19 12.859a10 10 0 0 0-2.007-1.523`,key:`4k23kn`}],[`path`,{d:`M2 8.82a15 15 0 0 1 4.177-2.643`,key:`1grhjp`}],[`path`,{d:`M22 8.82a15 15 0 0 0-11.288-3.764`,key:`z3jwby`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};hs.node;var gs=v(hs),_s={name:`wifi`,size:24,node:[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]};_s.node;var vs=v(_s),ys={name:`workflow`,size:24,node:[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]};ys.node;var bs=v(ys),xs={name:`wrench`,size:24,node:[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]};xs.node;var Ss=v(xs),Cs={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Cs.node;var ws=v(Cs),Ts={name:`zap`,size:24,node:[[`path`,{d:`M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z`,key:`1v7up4`}]]};Ts.node;var Es=v(Ts);export{ka as $,Ot as $n,ee as $r,kr as $t,So as A,xn as An,be as Ar,xi as At,to as B,en as Bn,ce as Br,ti as Bt,Io as C,Fn as Cn,Pe as Cr,Fi as Ct,Oo as D,Dn,Ee as Dr,Di as Dt,Ao as E,kn as En,Oe as Er,ki as Et,fo as F,dn as Fn,pe as Fr,di as Ft,Ga as G,Wt as Gn,re as Gr,Gr as Gt,Za as H,Xt as Hn,oe as Hr,Zr as Ht,lo as I,ln as In,fe as Ir,li as It,za as J,Rt as Jn,I as Jr,zr as Jt,Ua as K,Ht as Kn,ne as Kr,Ur as Kt,so as L,sn as Ln,de as Lr,si as Lt,vo as M,_n as Mn,ge as Mr,_i as Mt,go as N,hn as Nn,he as Nr,hi as Nt,Eo as O,Tn as On,we as Or,Ti as Ot,mo as P,pn as Pn,me as Pr,pi as Pt,ja as Q,At as Qn,k as Qr,jr as Qt,ao as R,an as Rn,ue as Rr,ai as Rt,Ro as S,Ln as Sn,Ie as Sr,Li as St,Mo as T,jn as Tn,Ae as Tr,ji as Tt,Ya as U,Jt as Un,ae as Ur,Yr as Ut,$a as V,Qt as Vn,se as Vr,$r as Vt,qa as W,Kt as Wn,ie as Wr,qr as Wt,Fa as X,Pt as Xn,N as Xr,Fr as Xt,La as Y,It as Yn,te as Yr,Lr as Yt,Na as Z,Mt as Zn,j as Zr,Nr as Zt,Jo as _,qn as _n,Ke as _r,qi as _t,vs as a,_r as an,gt as ar,_a as at,Ho as b,Vn as bn,Be as br,Vi as bt,fs as c,dr as cn,ut as cr,da as ct,os as d,ar as dn,it as dr,aa as dt,E as ei,Dr as en,Et as er,Da as et,is as f,rr as fn,nt as fr,ra as ft,Xo as g,Yn as gn,Je as gr,Yi as gt,Qo as h,Zn as hn,Xe as hr,Zi as ht,bs as i,r as ii,yr as in,vt as ir,ya as it,bo as j,yn as jn,ve as jr,yi as jt,wo as k,Cn as kn,Se as kr,Ci as kt,us as l,lr as ln,ct as lr,la as lt,es as m,$n as mn,Qe as mr,$i as mt,ws as n,S as ni,Cr as nn,St as nr,Ca as nt,gs as o,hr as on,mt as or,ha as ot,ns as p,tr as pn,et as pr,ta as pt,Va as q,Bt as qn,R as qr,Vr as qt,Ss as r,b as ri,xr as rn,bt as rr,xa as rt,ms as s,pr as sn,ft as sr,pa as st,Es as t,w as ti,Tr as tn,wt as tr,Ta as tt,cs as u,sr as un,ot as ur,sa as ut,Ko as v,Gn as vn,We as vr,Gi as vt,Po as w,Nn as wn,Me as wr,Ni as wt,Bo as x,zn as xn,Re as xr,zi as xt,Wo as y,Un as yn,He as yr,Ui as yt,ro as z,nn as zn,le as zr,ri as zt};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/api-BW4-5gtM.js","assets/rolldown-runtime-COiEfhsA.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{E as e,c as t}from"./chatStore-D8Zzr1hE.js";import{n}from"./state-A4wJ8QgR.js";import"./src-55YckF5W.js";import{a as r,i}from"./api-BW4-5gtM.js";import{t as a}from"./preload-helper-BLdHbfdN.js";var o=``,s=new Map;function c(t){let n=s.get(t);if(n)return n;let r=e();return s.set(t,r),r}function l(e){return e===void 0?y.getState().activeSessionKey??o:e??o}function u(){return{updatedAt:0,calls:0,promptTokens:0,completionTokens:0,totalTokens:0,cacheHitTokens:0,cacheMissTokens:0}}var d=Object.freeze(u());function f(e){return{currentUsage:{promptTokens:0,completionTokens:0,totalTokens:0,estimatedCost:0},sessionUsage:u(),sessionCost:0,cacheStats:null,model:e?.model??``,modelRef:e?.modelRef??``,modelSource:``,contextBreakdown:null,contextWindowTokens:0,contextDistribution:null,thresholdWarning:null,retryState:null,degradation:null,compactionProgress:null,compactingUntil:0,lastCompactInfo:null,lastCompactSummary:null,contextAdvice:null,statusNotice:null,_hasBackendData:!1}}function p(e){return{currentUsage:e.currentUsage,sessionUsage:e.sessionUsage,sessionCost:e.sessionCost,cacheStats:e.cacheStats,model:e.model,modelRef:e.modelRef,modelSource:e.modelSource,contextBreakdown:e.contextBreakdown,contextWindowTokens:e.contextWindowTokens,contextDistribution:e.contextDistribution,thresholdWarning:e.thresholdWarning,retryState:e.retryState,degradation:e.degradation,compactionProgress:e.compactionProgress,compactingUntil:e.compactingUntil,lastCompactInfo:e.lastCompactInfo,lastCompactSummary:e.lastCompactSummary,contextAdvice:e.contextAdvice,statusNotice:e.statusNotice,_hasBackendData:e._hasBackendData}}function m(e){if(!e)return 0;let t=(e.match(/[\u4e00-\u9fff]/g)||[]).length,n=e.length-t;return Math.ceil(t*1.5+n*.25)}function h(e,t){let n=y.getState().activeSessionKey;!e||!n||e===n?y.setState(e=>t(p(e))):y.setState(n=>{let r=n.bySession[e]??f(n.globalModel);return{bySession:{...n.bySession,[e]:{...r,...t(r)}}}})}var g=Object.freeze(f());function _(e,t,n){let r=e.activeSessionKey;if(t===void 0)return e[n];if(t===null)return v(e,n);if(!r||t===r)return e[n];let i=e.bySession[t];return i?i[n]:v(e,n)}function v(e,t){return t===`model`?e.globalModel.model:t===`modelRef`?e.globalModel.modelRef:g[t]}var y=n((e,t)=>({...f(),maxContextTokens:1e6,showTokenInfo:!1,contextWindowRefreshNonce:0,history:[],tokenRate:0,rates:{},sessionBaseTotal:0,workflowTokens:0,bySession:{},activeSessionKey:null,globalModel:{model:``,modelRef:``},setGlobalModel:t=>e({globalModel:t}),patchSession:h,activateSession:n=>{let r=t().activeSessionKey;if(r===n)return;let i={...t().bySession};r?i[r]=p(t()):n&&!i[n]&&(i[n]=p(t())),e({...n?i[n]??f(t().globalModel):f(t().globalModel),bySession:i,activeSessionKey:n,tokenRate:b(t(),n)})},setContextDistribution:(e,t)=>h(t,()=>({contextDistribution:e})),setContextBreakdown:(e,t)=>h(t,()=>({contextBreakdown:e})),setContextWindowTokens:(e,t)=>h(t,t=>{let n=Number(e);return{contextWindowTokens:Number.isFinite(n)&&n>0?Math.floor(n):t.contextWindowTokens}}),setThresholdWarning:(e,t)=>h(t,()=>({thresholdWarning:e})),setRetryState:(e,t)=>h(t,()=>({retryState:e})),updateUsage:(e,t)=>h(t,t=>({currentUsage:{...t.currentUsage,...e},_hasBackendData:!0})),accumulateSessionUsage:(e,t)=>{let n=Number(e.promptTokens)||0,r=Number(e.completionTokens)||0,i=Number(e.totalTokens)||n+r,a=Number(e.cacheHitTokens)||0,o=Number(e.cacheMissTokens)||0;(n!==0||r!==0||i!==0||a!==0||o!==0)&&h(t,e=>{let t=e.sessionUsage;return{sessionUsage:{updatedAt:Date.now(),calls:t.calls+1,promptTokens:t.promptTokens+n,completionTokens:t.completionTokens+r,totalTokens:t.totalTokens+i,cacheHitTokens:t.cacheHitTokens+a,cacheMissTokens:t.cacheMissTokens+o}}})},addSessionCost:(e,t)=>{Number.isFinite(e)&&e!==0&&h(t,t=>({sessionCost:t.sessionCost+e}))},setSessionCost:(e,t)=>{Number.isFinite(e)&&h(t,()=>({sessionCost:Math.max(0,e)}))},recordStreamText:(e,t)=>{let n=l(t),r=c(n);r.feed(e);let i=r.rate();S(n,i),i>0&&D()},setModel:(e,t)=>h(t,()=>({model:e})),setModelRef:(e,t)=>h(t,()=>({modelRef:e})),setModelSource:(e,t)=>h(t,()=>({modelSource:e})),addWorkflowTokens:t=>e(e=>({workflowTokens:e.workflowTokens+(Number(t)||0)})),setMaxContextTokens:t=>e({maxContextTokens:t}),bumpContextWindowRefresh:()=>e(e=>({contextWindowRefreshNonce:e.contextWindowRefreshNonce+1})),setDegradation:(e,t)=>h(t,()=>({degradation:e})),setCompacting:(e,t)=>h(t,()=>({compactingUntil:Date.now()+3e3,lastCompactInfo:e})),setStatusNotice:(e,t)=>h(t,()=>({statusNotice:e})),setCompactionProgress:(e,t)=>h(t,()=>({compactionProgress:e})),setCompactSummary:(e,t)=>h(t,()=>({lastCompactSummary:e})),setContextAdvice:(e,t)=>h(t,()=>({contextAdvice:e})),setCacheStats:(e,t)=>h(t,()=>({cacheStats:e})),accumulateCacheStats:(e,t,n)=>h(n,n=>{let r=n.cacheStats,i=(r?.cacheHitTokens??0)+e,a=(r?.cacheMissTokens??0)+t;return{cacheStats:{cacheHitTokens:i,cacheMissTokens:a,cacheHitRate:i+a>0?i/(i+a):void 0,cacheStatsCalls:(r?.cacheStatsCalls??0)+1}}}),setShowTokenInfo:t=>e({showTokenInfo:t}),addToHistory:t=>e(e=>({history:[...e.history.slice(-100),{timestamp:Date.now(),usage:t}]})),estimateTokens:e=>m(e),recalculateFromMessages:(e,n)=>{if(!e||e.length===0){h(n,()=>({currentUsage:{promptTokens:0,completionTokens:0,totalTokens:0,estimatedCost:0},_hasBackendData:!1}));return}let r=t().activeSessionKey;if((n&&r&&n!==r?t().bySession[n]:t())?._hasBackendData)return;let i=t().estimateTokens,a=0,o=0;for(let t of e){if(t.shellRun)continue;let e=t.content||``;if(t.thinking&&(e+=` `+t.thinking),t.steps)for(let n of t.steps)n.thought&&(e+=` `+n.thought),n.action&&(e+=` `+n.action),n.result&&(e+=` `+n.result);if(t.toolCalls)for(let n of t.toolCalls)n.args&&(e+=` `+(typeof n.args==`string`?n.args:JSON.stringify(n.args)));let n=i(e);t.type===`user`?a+=n:o+=n}let s=a+o,c=a/1e6*.15+o/1e6*.6;h(n,()=>({currentUsage:{promptTokens:a,completionTokens:o,totalTokens:s,estimatedCost:c}}))},resetUsage:()=>{let t=l(void 0);s.get(t)?.reset(),e(e=>({currentUsage:{promptTokens:0,completionTokens:0,totalTokens:0,estimatedCost:0},sessionUsage:u(),sessionCost:0,_hasBackendData:!1,sessionBaseTotal:e.currentUsage.totalTokens,workflowTokens:0,tokenRate:0,rates:{...e.rates,[t]:0},contextDistribution:null,thresholdWarning:null,contextBreakdown:null,contextWindowTokens:0})),E()},resetTokenRate:e=>{let t=l(e);s.get(t)?.reset(),S(t,0)}}));function b(e,t){return t?t===e.activeSessionKey?e.tokenRate:e.rates[t]??0:e.rates[o]??0}function x(e,t){return t===void 0?e.tokenRate:b(e,t)}function S(e,t){let n=y.getState();if((n.rates[e]??0)===t)return;let r={...n.rates,[e]:t},i=e===(n.activeSessionKey??o);y.setState(i?{rates:r,tokenRate:t}:{rates:r})}var C=500,w=null;function T(){w!==null&&(clearInterval(w),w=null)}function E(){for(let e of s.values())if(e.rate()>0)return;T()}function D(){w===null&&(w=setInterval(()=>{let e=y.getState(),t=null,n=e.tokenRate,r=!1;for(let[i,a]of s){let s=a.rate();s>0&&(r=!0),(e.rates[i]??0)!==s&&(t={...t??e.rates,[i]:s},i===(e.activeSessionKey??o)&&(n=s))}t&&y.setState({rates:t,tokenRate:n}),r||T()},C))}async function O(e){if(e)try{let{api:t}=await a(async()=>{let{api:e}=await import(`./api-BW4-5gtM.js`).then(e=>e.n);return{api:e}},__vite__mapDeps([0,1])),n=await t.observability.costs(e),r=Number(n?.data?.totalCostDollars);Number.isFinite(r)&&y.getState().setSessionCost(r,e)}catch{}}t.subscribe((e,t)=>{e.activeSessionId!==t.activeSessionId&&(y.getState().activateSession(e.activeSessionId||null),O(e.activeSessionId||null))}),y.getState().activateSession(t.getState().activeSessionId||null),O(t.getState().activeSessionId||null);function k(){try{let e=sessionStorage.getItem(`auth_token`)??localStorage.getItem(`auth_token`);return e?`&token=${encodeURIComponent(e)}`:``}catch{return``}}var A=/\.(png|jpe?g|webp|gif|bmp|svg)$/i;function j(e){return/^https?:\/\//i.test(e)}function M(e){return j(e)?e:i(`/api/generated-images?path=${encodeURIComponent(e)}${k()}`)}function N(e){if(!e||j(e)||e.startsWith(`data:`)||e.startsWith(`/`)||e.startsWith(`#`)||e.startsWith(`artifact:`)||e.startsWith(`dscfile:`))return null;let t=e.split(/[?#]/)[0]??``;return A.test(t)?i(`/api/files/download?path=${encodeURIComponent(e)}${k()}${r()}`):null}function P(e){return!e||j(e)||e.startsWith(`data:`)?e:i(`/api/images?path=${encodeURIComponent(e)}${k()}`)}export{_ as a,d as i,P as n,x as o,N as r,y as s,M as t};
|