cli-link 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +271 -0
  2. package/bin/agentpilot.js +239 -0
  3. package/dist/client/assets/History-DR_K6WbO.js +3 -0
  4. package/dist/client/assets/MarkdownRenderer-D9IwexPM.js +1 -0
  5. package/dist/client/assets/PageTopBar-SnTIrSb5.js +1 -0
  6. package/dist/client/assets/Session-EFYFIC_X.js +11 -0
  7. package/dist/client/assets/Settings-DgmHC_Hw.js +1 -0
  8. package/dist/client/assets/Workspace-CJvVQVzU.js +8 -0
  9. package/dist/client/assets/WorkspaceLinkedText-D6hNg0T9.js +2 -0
  10. package/dist/client/assets/code-highlight-CEcsuMpw.js +1 -0
  11. package/dist/client/assets/index-Bk4_acsd.css +1 -0
  12. package/dist/client/assets/index-C89UCwGk.js +2 -0
  13. package/dist/client/assets/vendor-icons-S_ObYVVf.js +331 -0
  14. package/dist/client/assets/vendor-markdown-BDwu-Ux6.js +35 -0
  15. package/dist/client/assets/vendor-motion-n6Lx6G4a.js +9 -0
  16. package/dist/client/assets/vendor-react-DSV5aFEg.js +67 -0
  17. package/dist/client/assets/vendor-virtual-CcftJrIC.js +4 -0
  18. package/dist/client/favicon.svg +18 -0
  19. package/dist/client/icons/apple-touch-icon.png +0 -0
  20. package/dist/client/icons/icon-192.png +0 -0
  21. package/dist/client/icons/icon-512.png +0 -0
  22. package/dist/client/index.html +34 -0
  23. package/dist/client/manifest.webmanifest +59 -0
  24. package/dist/client/sw.js +143 -0
  25. package/dist/client//344/273/243/347/240/201/351/241/265/351/235/242.png +0 -0
  26. package/dist/client//345/216/206/345/217/262/350/256/260/345/275/225.png +0 -0
  27. package/dist/client//345/257/271/350/257/235/351/241/265/351/235/242.png +0 -0
  28. package/dist/client//350/256/276/347/275/256/351/241/265/351/235/242.png +0 -0
  29. package/dist/server/cli-manager.js +1532 -0
  30. package/dist/server/codex-history.js +280 -0
  31. package/dist/server/index.js +2097 -0
  32. package/dist/server/store.js +594 -0
  33. package/dist/server/terminal-qr.js +317 -0
  34. package/package.json +71 -0
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Session-EFYFIC_X.js","assets/vendor-react-DSV5aFEg.js","assets/vendor-virtual-CcftJrIC.js","assets/WorkspaceLinkedText-D6hNg0T9.js","assets/PageTopBar-SnTIrSb5.js","assets/vendor-icons-S_ObYVVf.js","assets/History-DR_K6WbO.js","assets/vendor-motion-n6Lx6G4a.js","assets/Workspace-CJvVQVzU.js","assets/code-highlight-CEcsuMpw.js","assets/vendor-markdown-BDwu-Ux6.js","assets/Settings-DgmHC_Hw.js"])))=>i.map(i=>d[i]);
2
+ var Xe=Object.defineProperty;var Qe=(e,t,r)=>t in e?Xe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var L=(e,t,r)=>Qe(e,typeof t!="symbol"?t+"":t,r);import{u as Ze,b as et,j as f,r as h,O as tt,R as de,B as rt,d as nt,e as F,N as Te,f as ot}from"./vendor-react-DSV5aFEg.js";import{M as st,C as it,a as at,S as ct}from"./vendor-icons-S_ObYVVf.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();const lt="modulepreload",dt=function(e){return"/"+e},Ie={},we=function(t,r,o){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(r.map(p=>{if(p=dt(p),p in Ie)return;Ie[p]=!0;const w=p.endsWith(".css"),I=w?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${I}`))return;const g=document.createElement("link");if(g.rel=w?"stylesheet":lt,w||(g.as="script"),g.crossOrigin="",g.href=p,c&&g.setAttribute("nonce",c),document.head.appendChild(g),w)return new Promise((A,R)=>{g.addEventListener("load",A),g.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${p}`)))})}))}function s(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return i.then(a=>{for(const c of a||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})};function Pe(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=Pe(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function ut(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=Pe(e))&&(o&&(o+=" "),o+=t);return o}const Se="-";function pt(e){const t=ht(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function i(a){const c=a.split(Se);return c[0]===""&&c.length!==1&&c.shift(),je(c,t)||ft(a)}function s(a,c){const p=r[a]||[];return c&&o[a]?[...p,...o[a]]:p}return{getClassGroupId:i,getConflictingClassGroupIds:s}}function je(e,t){var a;if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),i=o?je(e.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(Se);return(a=t.validators.find(({validator:c})=>c(s)))==null?void 0:a.classGroupId}const Re=/^\[(.+)\]$/;function ft(e){if(Re.test(e)){const t=Re.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function ht(e){const{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return mt(Object.entries(e.classGroups),r).forEach(([s,a])=>{xe(a,o,s,t)}),o}function xe(e,t,r,o){e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:_e(t,i);s.classGroupId=r;return}if(typeof i=="function"){if(gt(i)){xe(i(o),t,r,o);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([s,a])=>{xe(a,_e(t,s),r,o)})})}function _e(e,t){let r=e;return t.split(Se).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function gt(e){return e.isThemeGetter}function mt(e,t){return t?e.map(([r,o])=>{const i=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,c])=>[t+a,c])):s);return[r,i]}):e}function bt(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function i(s,a){r.set(s,a),t++,t>e&&(t=0,o=r,r=new Map)}return{get(s){let a=r.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return i(s,a),a},set(s,a){r.has(s)?r.set(s,a):i(s,a)}}}const Ue="!";function yt(e){const t=e.separator,r=t.length===1,o=t[0],i=t.length;return function(a){const c=[];let p=0,w=0,I;for(let _=0;_<a.length;_++){let m=a[_];if(p===0){if(m===o&&(r||a.slice(_,_+i)===t)){c.push(a.slice(w,_)),w=_+i;continue}if(m==="/"){I=_;continue}}m==="["?p++:m==="]"&&p--}const g=c.length===0?a:a.substring(w),A=g.startsWith(Ue),R=A?g.substring(1):g,j=I&&I>w?I-w:void 0;return{modifiers:c,hasImportantModifier:A,baseClassName:R,maybePostfixModifierPosition:j}}}function wt(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t}function kt(e){return{cache:bt(e.cacheSize),splitModifiers:yt(e),...pt(e)}}const xt=/\s+/;function vt(e,t){const{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:i}=t,s=new Set;return e.trim().split(xt).map(a=>{const{modifiers:c,hasImportantModifier:p,baseClassName:w,maybePostfixModifierPosition:I}=r(a);let g=o(I?w.substring(0,I):w),A=!!I;if(!g){if(!I)return{isTailwindClass:!1,originalClassName:a};if(g=o(w),!g)return{isTailwindClass:!1,originalClassName:a};A=!1}const R=wt(c).join(":");return{isTailwindClass:!0,modifierId:p?R+Ue:R,classGroupId:g,originalClassName:a,hasPostfixModifier:A}}).reverse().filter(a=>{if(!a.isTailwindClass)return!0;const{modifierId:c,classGroupId:p,hasPostfixModifier:w}=a,I=c+p;return s.has(I)?!1:(s.add(I),i(p,w).forEach(g=>s.add(c+g)),!0)}).reverse().map(a=>a.originalClassName).join(" ")}function St(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Oe(t))&&(o&&(o+=" "),o+=r);return o}function Oe(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Oe(e[o]))&&(r&&(r+=" "),r+=t);return r}function Ct(e,...t){let r,o,i,s=a;function a(p){const w=t.reduce((I,g)=>g(I),e());return r=kt(w),o=r.cache.get,i=r.cache.set,s=c,c(p)}function c(p){const w=o(p);if(w)return w;const I=vt(p,r);return i(p,I),I}return function(){return s(St.apply(null,arguments))}}function T(e){const t=r=>r[e]||[];return t.isThemeGetter=!0,t}const We=/^\[(?:([a-z-]+):)?(.+)\]$/i,Tt=/^\d+\/\d+$/,It=new Set(["px","full","screen"]),Rt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_t=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Et=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function z(e){return B(e)||It.has(e)||Tt.test(e)}function G(e){return Z(e,"length",Wt)}function B(e){return!!e&&!Number.isNaN(Number(e))}function ge(e){return Z(e,"number",B)}function ie(e){return!!e&&Number.isInteger(Number(e))}function At(e){return e.endsWith("%")&&B(e.slice(0,-1))}function l(e){return We.test(e)}function H(e){return Rt.test(e)}const Lt=new Set(["length","size","percentage"]);function Nt(e){return Z(e,Lt,ze)}function Pt(e){return Z(e,"position",ze)}const jt=new Set(["image","url"]);function Ut(e){return Z(e,jt,Gt)}function Ot(e){return Z(e,"",zt)}function ae(){return!0}function Z(e,t,r){const o=We.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function Wt(e){return _t.test(e)&&!Et.test(e)}function ze(){return!1}function zt(e){return qt.test(e)}function Gt(e){return Mt.test(e)}function Ht(){const e=T("colors"),t=T("spacing"),r=T("blur"),o=T("brightness"),i=T("borderColor"),s=T("borderRadius"),a=T("borderSpacing"),c=T("borderWidth"),p=T("contrast"),w=T("grayscale"),I=T("hueRotate"),g=T("invert"),A=T("gap"),R=T("gradientColorStops"),j=T("gradientColorStopPositions"),_=T("inset"),m=T("margin"),M=T("opacity"),N=T("padding"),J=T("saturate"),$=T("scale"),U=T("sepia"),O=T("skew"),ee=T("space"),ue=T("translate"),te=()=>["auto","contain","none"],re=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto",l,t],S=()=>[l,t],pe=()=>["",z,G],K=()=>["auto",B,l],fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",l],d=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[B,ge],b=()=>[B,l];return{cacheSize:500,separator:":",theme:{colors:[ae],spacing:[z,G],blur:["none","",H,l],brightness:k(),borderColor:[e],borderRadius:["none","","full",H,l],borderSpacing:S(),borderWidth:pe(),contrast:k(),grayscale:D(),hueRotate:b(),invert:D(),gap:S(),gradientColorStops:[e],gradientColorStopPositions:[At,G],inset:ne(),margin:ne(),opacity:k(),padding:S(),saturate:k(),scale:k(),sepia:D(),skew:b(),space:S(),translate:S()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[H]}],"break-after":[{"break-after":d()}],"break-before":[{"break-before":d()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...fe(),l]}],overflow:[{overflow:re()}],"overflow-x":[{"overflow-x":re()}],"overflow-y":[{"overflow-y":re()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[_]}],"inset-x":[{"inset-x":[_]}],"inset-y":[{"inset-y":[_]}],start:[{start:[_]}],end:[{end:[_]}],top:[{top:[_]}],right:[{right:[_]}],bottom:[{bottom:[_]}],left:[{left:[_]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ie,l]}],basis:[{basis:ne()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",ie,l]}],"grid-cols":[{"grid-cols":[ae]}],"col-start-end":[{col:["auto",{span:["full",ie,l]},l]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[ae]}],"row-start-end":[{row:["auto",{span:[ie,l]},l]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[A]}],"gap-x":[{"gap-x":[A]}],"gap-y":[{"gap-y":[A]}],"justify-content":[{justify:["normal",...oe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...oe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...oe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,t]}],"min-w":[{"min-w":[l,t,"min","max","fit"]}],"max-w":[{"max-w":[l,t,"none","full","min","max","fit","prose",{screen:[H]},H]}],h:[{h:[l,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,t,"auto","min","max","fit"]}],"font-size":[{text:["base",H,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ge]}],"font-family":[{font:[ae]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",B,ge]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",z,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[M]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[M]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",z,G]}],"underline-offset":[{"underline-offset":["auto",z,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[M]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...fe(),Pt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Nt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ut]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[j]}],"gradient-via-pos":[{via:[j]}],"gradient-to-pos":[{to:[j]}],"gradient-from":[{from:[R]}],"gradient-via":[{via:[R]}],"gradient-to":[{to:[R]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[M]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[M]}],"divide-style":[{divide:Y()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[z,l]}],"outline-w":[{outline:[z,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[M]}],"ring-offset-w":[{"ring-offset":[z,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",H,Ot]}],"shadow-color":[{shadow:[ae]}],opacity:[{opacity:[M]}],"mix-blend":[{"mix-blend":[...he(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":he()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",H,l]}],grayscale:[{grayscale:[w]}],"hue-rotate":[{"hue-rotate":[I]}],invert:[{invert:[g]}],saturate:[{saturate:[J]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[w]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[I]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[M]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:b()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:b()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[$]}],"scale-x":[{"scale-x":[$]}],"scale-y":[{"scale-y":[$]}],rotate:[{rotate:[ie,l]}],"translate-x":[{"translate-x":[ue]}],"translate-y":[{"translate-y":[ue]}],"skew-x":[{"skew-x":[O]}],"skew-y":[{"skew-y":[O]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[z,G,ge]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const $t=Ct(Ht);function Dt(...e){return $t(ut(e))}const Ft=()=>{const e=Ze(),t=et(),r=[{id:"session",path:"/session",icon:st,label:"对话"},{id:"history",path:"/history",icon:it,label:"记录"},{id:"workspace",path:"/workspace",icon:at,label:"代码"},{id:"settings",path:"/settings",icon:ct,label:"设置"}];return f.jsxs("div",{className:"flex flex-col h-screen w-full bg-gray-50 dark:bg-gray-950 overflow-hidden",children:[f.jsx("div",{className:"flex-1 overflow-hidden relative",children:f.jsx(h.Suspense,{fallback:f.jsx(Bt,{}),children:f.jsx(tt,{})})}),f.jsx("div",{className:"h-[60px] bg-white dark:bg-gray-900 border-t border-gray-200 dark:border-gray-800 flex items-center justify-around px-2 pb-safe flex-shrink-0",children:r.map(o=>{const i=t.pathname.startsWith(o.path);return f.jsxs("button",{onClick:()=>e(o.path+t.search),className:Dt("flex flex-col items-center justify-center w-16 h-full gap-1 transition-colors",i?"text-primary-600":"text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-200"),children:[f.jsx(o.icon,{className:"w-6 h-6"}),f.jsx("span",{className:"text-[10px] font-medium",children:o.label})]},o.id)})})]})};function Bt(){return f.jsx("div",{className:"flex h-full items-center justify-center bg-gray-50 dark:bg-gray-950 text-xs text-gray-400 dark:text-gray-600",children:"加载中..."})}const Ge=["token","agentpilot_token"],He="agentpilot_auth_token";function Vt(e){var t;for(const r of Ge){const o=(t=e.searchParams.get(r))==null?void 0:t.trim();if(o)return o}return null}function Jt(e){let t=!1;for(const r of Ge)e.searchParams.has(r)&&(e.searchParams.delete(r),t=!0);return t}function Kt(){const e=new URL(window.location.href),t=Vt(e);if(t&&sessionStorage.setItem(He,t),Jt(e)){const r=`${e.pathname}${e.search}${e.hash}`;window.history.replaceState(null,"",r)}}function $e(){return sessionStorage.getItem(He)}function Yt(){const e=$e();return e?{"X-AgentPilot-Token":e}:{}}function Xt(e){const t=$e();if(!t)return e;const r=new URL(e,window.location.href);return r.searchParams.set("token",t),r.toString()}const Qt=3e3,Zt=10,Ee="agentpilot_client_id";function er(){let e=localStorage.getItem(Ee);return e||(e=`client-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,localStorage.setItem(Ee,e)),e}class tr{constructor(t){L(this,"ws",null);L(this,"url");L(this,"handlers",new Set);L(this,"_status","disconnected");L(this,"reconnectAttempts",0);L(this,"reconnectTimer",null);L(this,"intentionalClose",!1);L(this,"statusHandlers",new Set);L(this,"requestIdCounter",0);L(this,"pendingRequests",new Map);L(this,"REQUEST_TIMEOUT",1e4);L(this,"clientId");this.url=t||this.getDefaultUrl(),this.clientId=er()}getDefaultUrl(){return`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}`}get status(){return this._status}setStatus(t){this._status=t,this.statusHandlers.forEach(r=>r(t))}onStatusChange(t){return this.statusHandlers.add(t),()=>this.statusHandlers.delete(t)}onMessage(t){return this.handlers.add(t),()=>this.handlers.delete(t)}connect(){var t,r;((t=this.ws)==null?void 0:t.readyState)===WebSocket.OPEN||((r=this.ws)==null?void 0:r.readyState)===WebSocket.CONNECTING||(this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.intentionalClose=!1,this.reconnectAttempts=0,this.doConnect())}doConnect(){var t,r;if(!(((t=this.ws)==null?void 0:t.readyState)===WebSocket.OPEN||((r=this.ws)==null?void 0:r.readyState)===WebSocket.CONNECTING)){this.setStatus("connecting");try{this.ws=new WebSocket(Xt(this.url))}catch{this.setStatus("disconnected"),this.scheduleReconnect();return}this.ws.onopen=()=>{console.log("[WS] Connected to server"),this.reconnectAttempts=0,this.setStatus("connected")},this.ws.onmessage=o=>{try{const i=JSON.parse(o.data);if(i.requestId&&this.pendingRequests.has(i.requestId)){const s=this.pendingRequests.get(i.requestId);clearTimeout(s.timer),this.pendingRequests.delete(i.requestId),s.resolve(i)}this.handlers.forEach(s=>s(i))}catch(i){console.error("[WS] Failed to parse message:",i)}},this.ws.onclose=o=>{console.log(`[WS] Disconnected from ${this.url} (code=${o.code}, reason=${o.reason||"none"})`),this.setStatus("disconnected"),this.intentionalClose||this.scheduleReconnect()},this.ws.onerror=o=>{console.error(`[WS] Error connecting to ${this.url}:`,o)}}}scheduleReconnect(){if(!this.intentionalClose){if(this.reconnectAttempts>=Zt){console.log("[WS] Max reconnect attempts reached");return}this.setStatus("reconnecting"),this.reconnectAttempts++,console.log(`[WS] Reconnecting... attempt ${this.reconnectAttempts}`),this.reconnectTimer=setTimeout(()=>{this.doConnect()},Qt)}}disconnect(){this.intentionalClose=!0,this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.ws&&(this.ws.onopen=null,this.ws.onmessage=null,this.ws.onclose=null,this.ws.onerror=null,this.ws.close(),this.ws=null);for(const[t,r]of this.pendingRequests)clearTimeout(r.timer),r.reject(new Error("Disconnected"));this.pendingRequests.clear(),this.setStatus("disconnected")}send(t){var r;((r=this.ws)==null?void 0:r.readyState)===WebSocket.OPEN?this.ws.send(JSON.stringify(t)):console.warn("[WS] Cannot send, not connected")}waitUntilConnected(t){var r;return((r=this.ws)==null?void 0:r.readyState)===WebSocket.OPEN?Promise.resolve():(this.connect(),new Promise((o,i)=>{var c;let s=()=>{};const a=setTimeout(()=>{s(),i(new Error("Not connected"))},t);s=this.onStatusChange(()=>{var p;((p=this.ws)==null?void 0:p.readyState)===WebSocket.OPEN&&(clearTimeout(a),s(),o())}),((c=this.ws)==null?void 0:c.readyState)===WebSocket.OPEN&&(clearTimeout(a),s(),o())}))}async sendRequest(t,r=this.REQUEST_TIMEOUT){return await this.waitUntilConnected(r),new Promise((o,i)=>{var p;const s=`req_${++this.requestIdCounter}_${Date.now()}`,a={...t,requestId:s,clientId:this.clientId},c=setTimeout(()=>{this.pendingRequests.delete(s),i(new Error(`Request timeout: ${t}`))},r);this.pendingRequests.set(s,{resolve:o,reject:i,timer:c}),((p=this.ws)==null?void 0:p.readyState)===WebSocket.OPEN?this.ws.send(JSON.stringify(a)):(clearTimeout(c),this.pendingRequests.delete(s),i(new Error("Not connected")))})}sendMessage(t){this.send({type:"send_message",content:t})}sendConfirmResponse(t){this.send({type:"confirm_response",approved:t})}sendQuestionResponse(t,r){this.send({type:"question_response",answer:t,toolUseId:r})}sendInterrupt(){this.send({type:"interrupt"})}sendStartCLI(t){this.send({type:"start_cli",...t})}sendRestartCLI(){this.send({type:"restart_cli"})}sendSetConfirmMode(t){this.send({type:"set_confirm_mode",mode:t})}sendGetConfig(){this.send({type:"get_config"})}sendGetSkills(){return this.sendRequest({type:"get_skills"})}sendGetSession(t={}){return this.sendRequest({type:"get_session",...t})}sendGetHistory(){return this.sendRequest({type:"get_history"})}sendGetHistoryTask(t){return this.sendRequest({type:"get_history_task",id:t})}sendResumeHistory(t,r){return this.sendRequest({type:"resume_history",id:t,content:r})}sendEditUserMessage(t,r){return this.sendRequest({type:"edit_user_message",messageId:t,content:r})}sendDeleteHistory(t){return this.sendRequest({type:"delete_history",id:t})}sendClearHistory(){return this.sendRequest({type:"clear_history"})}sendMigrateLocalData(t,r){return this.sendRequest({type:"migrate_local_data",messages:t,historyTasks:r})}sendListDir(t){return this.sendRequest({type:"list_dir",dir:t})}sendListFiles(t){return this.sendRequest({type:"list_dir",dir:t,includeFiles:!0})}sendListWorkdir(t=""){return this.sendRequest({type:"list_workdir",path:t})}sendReadWorkdirFile(t){return this.sendRequest({type:"read_workdir_file",path:t})}sendGetWorkdirChanges(t){return this.sendRequest({type:"get_workdir_changes",path:t})}sendTrackWorkdirFile(t){return this.sendRequest({type:"track_workdir_file",path:t})}sendGenerateWorkdirCommitMessage(){return this.sendRequest({type:"generate_workdir_commit_message"},12e4)}sendCommitWorkdirChanges(t){return this.sendRequest({type:"commit_workdir_changes",message:t},3e4)}destroy(){this.disconnect(),this.handlers.clear(),this.statusHandlers.clear()}}let ke=null;function De(){return ke||(ke=new tr),ke}function rr(){return window.location.origin}const nr=rr();function ce(e,t){const r=new URLSearchParams;for(const[i,s]of Object.entries(t))s!==void 0&&s!==""&&r.set(i,String(s));const o=r.toString();return o?`${e}?${o}`:e}async function P(e,t={}){const r=await fetch(`${nr}${e}`,{...t,headers:{...t.body?{"Content-Type":"application/json"}:{},...Yt(),...t.headers}}),o=await r.text(),i=o?JSON.parse(o):{};if(!r.ok)throw new Error(i.error||`HTTP ${r.status}`);return i}function X(e,t){return P(e,{method:"POST",body:JSON.stringify(t)})}function qe(e,t=!1){return P(ce("/api/dir",{dir:e,includeFiles:t}))}const Q={getConfig(){return P("/api/config")},getSkills(){return P("/api/skills")},fetchSession(e={}){return P(ce("/api/session",{afterSeq:e.afterSeq,beforeSeq:e.beforeSeq,limit:e.limit}))},fetchHistory(){return P("/api/history")},fetchHistoryTask(e){return P(`/api/history/${encodeURIComponent(e)}`)},deleteHistoryTask(e){return P(`/api/history/${encodeURIComponent(e)}`,{method:"DELETE"})},clearHistory(){return P("/api/history",{method:"DELETE"})},migrateLocalData(e,t){return X("/api/migrate-local-data",{messages:e,historyTasks:t})},listDir:qe,listFiles(e){return qe(e,!0)},listWorkdir(e=""){return P(ce("/api/workdir/tree",{path:e}))},readWorkdirFile(e){return P(ce("/api/workdir/file",{path:e}))},getWorkdirChanges(e){return P(ce("/api/workdir/changes",{path:e}))},trackWorkdirFile(e){return X("/api/workdir/track",{path:e})},stageWorkdirChanges(e){return X("/api/workdir/stage",{path:e})},unstageWorkdirChanges(e){return X("/api/workdir/unstage",{path:e})},generateWorkdirCommitMessage(){return X("/api/workdir/commit-message",{})},commitWorkdirChanges(e){return X("/api/workdir/commit",{message:e})}};function Fe(e){return{id:String(e.id),seq:typeof e.seq=="number"?e.seq:void 0,type:e.type,content:e.content||"",time:e.time||"",status:e.status||void 0,toolName:e.toolName||void 0,toolDetails:e.toolDetails||void 0,toolUseId:e.toolUseId||void 0,toolResult:e.toolResult||void 0,permission:e.permission||void 0,question:e.question||void 0,details:e.details||void 0}}function Me(e){const t=Array.isArray(e.messages);return{id:e.id,workDir:e.workDir||e.work_dir||void 0,status:e.status,title:e.title,confirmCount:e.confirmCount||e.confirm_count||0,toolCount:e.toolCount||e.tool_count||0,duration:e.duration||void 0,startTime:e.startTime||e.start_time||0,endTime:e.endTime||e.end_time||0,canResume:!!e.canResume,messagesLoaded:t,messages:t?e.messages.map(Fe):[]}}const me={async fetchSession(e={}){const t=await Q.fetchSession(e),r=(t.messages||[]).map(Fe);return{sessionId:t.sessionId,messages:r,lastSeq:t.lastSeq||0,firstSeq:t.firstSeq||0,hasMoreBefore:!!t.hasMoreBefore,tokenUsage:t.tokenUsage||{inputTokens:0,outputTokens:0,cacheReadTokens:0,cacheCreationTokens:0,costUsd:0}}},async fetchHistory(){return((await Q.fetchHistory()).tasks||[]).map(Me)},async fetchHistoryTask(e){const t=await Q.fetchHistoryTask(e);return t.task?Me(t.task):null},async resumeHistoryTask(e,t){const o=await De().sendResumeHistory(e,t);if(!o.success)throw new Error(o.error||"恢复会话记录失败")},async deleteHistoryTask(e){await Q.deleteHistoryTask(e)},async clearHistory(){await Q.clearHistory()},async migrateFromLocal(e,t){try{return(await Q.migrateLocalData(e,t)).success}catch(r){return console.error("[Storage] Migration failed:",r),!1}}};function or(e){return e.reduce((t,r)=>{var o;return r.type!=="system"||((o=r.details)==null?void 0:o.subtype)!=="result"?t:{inputTokens:t.inputTokens+Number(r.details.inputTokens||0),outputTokens:t.outputTokens+Number(r.details.outputTokens||0),cacheReadTokens:t.cacheReadTokens+Number(r.details.cacheReadTokens||0),cacheCreationTokens:t.cacheCreationTokens+Number(r.details.cacheCreationTokens||0),costUsd:t.costUsd+Number(r.details.costUsd||0)}},{inputTokens:0,outputTokens:0,cacheReadTokens:0,cacheCreationTokens:0,costUsd:0})}const sr=["idle","running","confirm","question","disconnected"];function be(e){return typeof e=="string"&&sr.includes(e)?e:"disconnected"}function y(e,t=""){return typeof e=="string"?e:t}const Be="agentpilot_messages",Ve="agentpilot_history",Ae=80,ir=80;function ar(){try{const e=localStorage.getItem(Be);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}}function cr(){try{const e=localStorage.getItem(Ve);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}}function lr(){localStorage.removeItem(Be),localStorage.removeItem(Ve)}const Je=h.createContext(null);function Cr(){const e=h.useContext(Je);if(!e)throw new Error("useSession must be used within SessionProvider");return e}class dr extends h.Component{constructor(){super(...arguments);L(this,"state",{hasError:!1,error:null})}static getDerivedStateFromError(r){return{hasError:!0,error:r}}render(){var r;return this.state.hasError?f.jsxs("div",{className:"flex flex-col items-center justify-center h-screen bg-gray-50 p-6 text-center",children:[f.jsx("div",{className:"text-red-500 text-lg font-semibold mb-2",children:"渲染错误"}),f.jsx("div",{className:"text-gray-600 text-sm mb-4",children:(r=this.state.error)==null?void 0:r.message}),f.jsx("button",{onClick:()=>this.setState({hasError:!1,error:null}),className:"px-4 py-2 bg-primary-600 text-white rounded-lg text-sm",children:"重试"})]}):this.props.children}}function ur({children:e}){const t=h.useRef(De()),[r,o]=h.useState("disconnected"),[i,s]=h.useState([]),[a,c]=h.useState("disconnected"),[p,w]=h.useState(null),[I,g]=h.useState({inputTokens:0,outputTokens:0,cacheReadTokens:0,cacheCreationTokens:0,costUsd:0}),[A,R]=h.useState(!1),[j,_]=h.useState(!1),m=h.useRef(0),M=h.useRef(!0),N=h.useRef(0),J=h.useRef(!1),$=h.useRef(!1),U=h.useCallback(d=>{const k=typeof d.id=="string"&&d.id?d.id:void 0;k||(m.current+=1);const b={...d,id:k||String(m.current),content:y(d.content),time:y(d.time)},n=parseInt(b.id,10);return Number.isNaN(n)||(m.current=Math.max(m.current,n)),s(W=>[...W,b]),b},[]),O=h.useCallback(d=>{const k=[];for(const b of d){const n=k[k.length-1];(n==null?void 0:n.type)==="ai"&&b.type==="ai"||(n==null?void 0:n.type)==="thinking"&&b.type==="thinking"?n.content+=b.content:k.push({...b})}return k},[]),ee=h.useCallback(async()=>{try{const d=await me.fetchSession({limit:Ae});if(!M.current)return;if(d.messages.length>0){const k=O(d.messages);s(k),g(d.tokenUsage),R(d.hasMoreBefore);const b=Math.max(...k.map(n=>parseInt(n.id,10)||0));m.current=b}else if(J.current)R(!1);else{const k=ar(),b=cr();if(k.length>0||b.length>0){if(await me.migrateFromLocal(k,b)){lr(),J.current=!0;const W=await me.fetchSession({limit:Ae});if(M.current&&W.messages.length>0){const u=O(W.messages);s(u),g(W.tokenUsage),R(W.hasMoreBefore);const C=Math.max(...u.map(q=>parseInt(q.id,10)||0));m.current=C}}}else J.current=!0,R(!1),g({inputTokens:0,outputTokens:0,cacheReadTokens:0,cacheCreationTokens:0,costUsd:0})}N.current=d.lastSeq,$.current=!0}catch(d){console.error("[Session] Failed to load session from server:",d)}},[O]),ue=h.useCallback(async()=>{var k;if(j||!A)return;const d=(k=i.find(b=>typeof b.seq=="number"))==null?void 0:k.seq;if(!d){R(!1);return}_(!0);try{const b=await me.fetchSession({beforeSeq:d,limit:ir});if(!M.current)return;if(b.messages.length===0){R(!1);return}s(n=>O([...b.messages,...n])),R(b.hasMoreBefore)}catch(b){console.error("[Session] Failed to load older messages:",b)}finally{M.current&&_(!1)}},[A,j,O,i]);h.useEffect(()=>{M.current=!0;const d=t.current,k=d.onStatusChange(n=>{M.current&&(c(n),n==="disconnected"&&o("disconnected"))}),b=d.onMessage(n=>{var W;if(M.current)try{switch(n.type){case"connected":n.config&&w(n.config),o(be(n.status)),ee();break;case"config":n.config&&w(n.config),o(be(n.status));break;case"status":o(be(n.status));break;case"session_reset":s([]),m.current=0,N.current=0,$.current=!0,R(!1),o("idle"),g({inputTokens:0,outputTokens:0,cacheReadTokens:0,cacheCreationTokens:0,costUsd:0}),n.config&&w(n.config);break;case"session_restored":{const u=O(Array.isArray(n.messages)?n.messages:[]);s(u);const C=u.length>0?Math.max(...u.map(q=>parseInt(q.id,10)||0)):0;m.current=C,N.current=typeof n.lastSeq=="number"?n.lastSeq:0,$.current=!0,R(!1),g(or(u)),n.config&&w(n.config),o(be(n.status||"idle"));break}case"user_message":U({id:typeof n.id=="string"?n.id:void 0,seq:typeof n.seq=="number"?n.seq:void 0,type:"user",content:y(n.content),time:y(n.time)});break;case"ai_message":{const u=y(n.content),C=typeof n.id=="string"&&n.id?n.id:void 0;C||(m.current+=1);const q=C||String(m.current);s(E=>{const x=E[E.length-1];return(x==null?void 0:x.type)==="ai"?E.map((v,se)=>se===E.length-1?{...v,content:v.content+u}:v):[...E,{id:q,seq:typeof n.seq=="number"?n.seq:void 0,type:"ai",content:u,time:y(n.time)}]});break}case"thinking_message":{const u=y(n.content),C=typeof n.id=="string"&&n.id?n.id:void 0;C||(m.current+=1);const q=C||String(m.current);s(E=>{const x=E[E.length-1];return(x==null?void 0:x.type)==="thinking"?E.map((v,se)=>se===E.length-1?{...v,content:v.content+u}:v):[...E,{id:q,seq:typeof n.seq=="number"?n.seq:void 0,type:"thinking",content:u,time:y(n.time)}]});break}case"tool_call":{const u=y(n.toolUseId,void 0),C=n.status;u&&(C==="success"||C==="failed")?s(q=>{const E=q.findIndex(v=>v.toolUseId===u&&v.status==="running");if(E!==-1)return q.map((v,se)=>se===E?{...v,status:C,toolResult:y(n.details,void 0)}:v);const x=typeof n.id=="string"&&n.id?n.id:void 0;return x||(m.current+=1),[...q,{id:x||String(m.current),seq:typeof n.seq=="number"?n.seq:void 0,type:"tool",content:y(n.content),toolName:y(n.toolName),status:C,toolDetails:y(n.details,void 0),toolUseId:u,time:y(n.time)}]}):u&&C==="running"?s(q=>{const E=q.find(v=>v.toolUseId===u&&v.type==="tool");if(E)return!E.toolDetails&&n.details?q.map(v=>v.id===E.id?{...v,toolDetails:y(n.details,void 0)}:v):q;const x=typeof n.id=="string"&&n.id?n.id:void 0;return x||(m.current+=1),[...q,{id:x||String(m.current),seq:typeof n.seq=="number"?n.seq:void 0,type:"tool",content:y(n.content),toolName:y(n.toolName),status:C,toolDetails:y(n.details,void 0),toolUseId:u,time:y(n.time)}]}):U({id:typeof n.id=="string"?n.id:void 0,seq:typeof n.seq=="number"?n.seq:void 0,type:"tool",content:y(n.content),toolName:y(n.toolName),status:C,toolDetails:y(n.details,void 0),toolUseId:u,time:y(n.time)});break}case"confirm_request":U({id:typeof n.id=="string"?n.id:void 0,seq:typeof n.seq=="number"?n.seq:void 0,type:"confirm",content:y(n.content),time:y(n.time),status:"pending",permission:n.permission||void 0});break;case"confirm_result":s(u=>u.map(C=>C.type==="confirm"&&C.status==="pending"?{...C,status:n.approved?"approved":"rejected"}:C));break;case"ask_question":U({id:typeof n.id=="string"?n.id:void 0,seq:typeof n.seq=="number"?n.seq:void 0,type:"question",content:y(n.content),time:y(n.time),status:"pending",question:{questions:n.questions||[],toolUseId:n.toolUseId}});break;case"ask_question_result":s(u=>{var E;const C=typeof n.toolUseId=="string"?n.toolUseId:void 0;if(C)return u.map(x=>{var v;return x.type==="question"&&x.status==="pending"&&((v=x.question)==null?void 0:v.toolUseId)===C?{...x,status:"answered"}:x});const q=(E=u.map((x,v)=>({m:x,i:v})).filter(({m:x})=>x.type==="question"&&x.status==="pending").pop())==null?void 0:E.i;return u.map((x,v)=>v===q?{...x,status:"answered"}:x)});break;case"confirm_mode_changed":w(u=>u&&{...u,confirmMode:n.mode==="auto"?"auto":"key"});break;case"system":U({id:typeof n.id=="string"?n.id:void 0,seq:typeof n.seq=="number"?n.seq:void 0,type:"system",content:y(n.content),time:y(n.time),details:n.details||void 0}),((W=n.details)==null?void 0:W.subtype)==="result"&&g(u=>({inputTokens:u.inputTokens+(n.details.inputTokens||0),outputTokens:u.outputTokens+(n.details.outputTokens||0),cacheReadTokens:u.cacheReadTokens+(n.details.cacheReadTokens||0),cacheCreationTokens:u.cacheCreationTokens+(n.details.cacheCreationTokens||0),costUsd:u.costUsd+(n.details.costUsd||0)}));break;case"error":U({id:typeof n.id=="string"?n.id:void 0,seq:typeof n.seq=="number"?n.seq:void 0,type:"error",content:y(n.content),time:y(n.time)});break;case"session_data":case"history_resumed":case"user_message_edited":case"history_data":case"history_deleted":case"history_cleared":case"migration_done":break}}catch(u){console.error("[Session] Error handling message:",u,n)}});return d.connect(),()=>{M.current=!1,k(),b(),d.disconnect()}},[U,ee]);const te=h.useCallback(d=>{t.current.sendMessage(d)},[]),re=h.useCallback(d=>{t.current.sendConfirmResponse(d)},[]),ne=h.useCallback((d,k)=>{t.current.sendQuestionResponse(d,k)},[]),S=h.useCallback(()=>{t.current.sendInterrupt()},[]),pe=h.useCallback(d=>{t.current.sendStartCLI(d||{})},[]),K=h.useCallback(()=>{s([]),m.current=0,R(!1),g({inputTokens:0,outputTokens:0,cacheReadTokens:0,cacheCreationTokens:0,costUsd:0}),t.current.sendRestartCLI()},[]),fe=h.useCallback(d=>{t.current.sendSetConfirmMode(d)},[]),Y=h.useCallback(()=>{s([]),R(!1)},[]),he=h.useCallback(()=>{s([]),m.current=0,R(!1),g({inputTokens:0,outputTokens:0,cacheReadTokens:0,cacheCreationTokens:0,costUsd:0}),t.current.sendRestartCLI()},[]),oe=h.useCallback(async(d,k)=>{const b=await t.current.sendEditUserMessage(d,k);if(!b.success)throw new Error(b.error||"编辑消息失败")},[]),D={status:r,messages:i,connectionStatus:a,cliConfig:p,tokenUsage:I,hasMoreMessagesBefore:A,isLoadingOlderMessages:j,loadOlderMessages:ue,sendMessage:te,confirmResponse:re,questionResponse:ne,interrupt:S,startCLI:pe,restartCLI:K,newSession:he,editUserMessage:oe,setConfirmMode:fe,clearMessages:Y};return f.jsx(dr,{children:f.jsx(Je.Provider,{value:D,children:e})})}const Ke=h.createContext({theme:"dark",toggleTheme:()=>{}}),pr=({children:e})=>{const[t,r]=h.useState(()=>{const i=localStorage.getItem("theme");return i==="light"||i==="dark"?i:"dark"});h.useLayoutEffect(()=>{const i=document.documentElement;t==="dark"?i.classList.add("dark"):i.classList.remove("dark"),localStorage.setItem("theme",t)},[t]);const o=()=>{r(i=>i==="dark"?"light":"dark")};return f.jsx(Ke.Provider,{value:{theme:t,toggleTheme:o},children:e})},Tr=()=>h.useContext(Ke),fr=de.lazy(()=>we(()=>import("./Session-EFYFIC_X.js"),__vite__mapDeps([0,1,2,3,4,5])).then(e=>({default:e.Session}))),hr=de.lazy(()=>we(()=>import("./History-DR_K6WbO.js"),__vite__mapDeps([6,1,3,4,5,7])).then(e=>({default:e.History}))),gr=de.lazy(()=>we(()=>import("./Workspace-CJvVQVzU.js"),__vite__mapDeps([8,1,9,10,4,5,7])).then(e=>({default:e.Workspace}))),mr=de.lazy(()=>we(()=>import("./Settings-DgmHC_Hw.js"),__vite__mapDeps([11,1,7,5,4])).then(e=>({default:e.Settings}))),br=()=>f.jsx(pr,{children:f.jsx(ur,{children:f.jsx(rt,{children:f.jsxs(nt,{children:[f.jsxs(F,{path:"/",element:f.jsx(Ft,{}),children:[f.jsx(F,{index:!0,element:f.jsx(Te,{to:"/session",replace:!0})}),f.jsx(F,{path:"session",element:f.jsx(fr,{})}),f.jsx(F,{path:"history",element:f.jsx(hr,{})}),f.jsx(F,{path:"workspace",element:f.jsx(gr,{})}),f.jsx(F,{path:"settings",element:f.jsx(mr,{})})]}),f.jsx(F,{path:"*",element:f.jsx(Te,{to:"/session",replace:!0})})]})})})});let V=null,ye=!1,Le=!1;const ve=new Set;function Ce(){return typeof window<"u"&&typeof window.matchMedia=="function"}function yr(){return Ce()?window.matchMedia("(display-mode: standalone)").matches||window.matchMedia("(display-mode: fullscreen)").matches||window.navigator.standalone===!0:!1}function wr(){return Ce()?/iphone|ipad|ipod/i.test(window.navigator.userAgent):!1}function le(){ve.forEach(e=>e())}function Ne(e,t){var o;if(typeof e.addEventListener=="function")return e.addEventListener("change",t),()=>e.removeEventListener("change",t);const r=e;return(o=r.addListener)==null||o.call(r,t),()=>{var i;return(i=r.removeListener)==null?void 0:i.call(r,t)}}function Ye(){if(!Ce()||Le)return;Le=!0;const e=()=>{le()},t=o=>{o.preventDefault(),V=o,le()},r=()=>{V=null,le()};window.addEventListener("beforeinstallprompt",t),window.addEventListener("appinstalled",r),Ne(window.matchMedia("(display-mode: standalone)"),e),Ne(window.matchMedia("(display-mode: fullscreen)"),e)}function Ir(){const e=yr();return{canPromptInstall:!!V&&!e,isInstalled:e,isInstalling:ye,isIos:wr()}}function Rr(e){return Ye(),ve.add(e),()=>{ve.delete(e)}}async function _r(){if(!V||ye)return"unavailable";ye=!0,le();try{await V.prompt();const e=await V.userChoice;return V=null,e.outcome}finally{ye=!1,le()}}function kr(){"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/sw.js",{scope:"/"}).catch(e=>{console.warn("[PWA] Service worker registration failed:",e)})})}Ye();Kt();kr();ot.createRoot(document.getElementById("root")).render(f.jsx(de.StrictMode,{children:f.jsx(br,{})}));export{we as _,Q as a,Ir as b,Dt as c,Rr as d,Tr as e,De as g,_r as p,me as s,Cr as u};
@@ -0,0 +1,331 @@
1
+ import{r as l}from"./vendor-react-DSV5aFEg.js";/**
2
+ * @license lucide-react v0.378.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=(...e)=>e.filter((t,y,h)=>!!t&&h.indexOf(t)===y).join(" ");/**
7
+ * @license lucide-react v0.378.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */var M={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
12
+ * @license lucide-react v0.378.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const v=l.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:y=2,absoluteStrokeWidth:h,className:r="",children:k,iconNode:d,...p},c)=>l.createElement("svg",{ref:c,...M,width:t,height:t,stroke:e,strokeWidth:h?Number(y)*24/Number(t):y,className:s("lucide",r),...p},[...d.map(([n,o])=>l.createElement(n,o)),...Array.isArray(k)?k:[k]]));/**
17
+ * @license lucide-react v0.378.0 - ISC
18
+ *
19
+ * This source code is licensed under the ISC license.
20
+ * See the LICENSE file in the root directory of this source tree.
21
+ */const a=(e,t)=>{const y=l.forwardRef(({className:h,...r},k)=>l.createElement(v,{ref:k,iconNode:t,className:s(`lucide-${i(e)}`,h),...r}));return y.displayName=`${e}`,y};/**
22
+ * @license lucide-react v0.378.0 - ISC
23
+ *
24
+ * This source code is licensed under the ISC license.
25
+ * See the LICENSE file in the root directory of this source tree.
26
+ */const x=a("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
27
+ * @license lucide-react v0.378.0 - ISC
28
+ *
29
+ * This source code is licensed under the ISC license.
30
+ * See the LICENSE file in the root directory of this source tree.
31
+ */const g=a("AtSign",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]]);/**
32
+ * @license lucide-react v0.378.0 - ISC
33
+ *
34
+ * This source code is licensed under the ISC license.
35
+ * See the LICENSE file in the root directory of this source tree.
36
+ */const q=a("Braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);/**
37
+ * @license lucide-react v0.378.0 - ISC
38
+ *
39
+ * This source code is licensed under the ISC license.
40
+ * See the LICENSE file in the root directory of this source tree.
41
+ */const u=a("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
42
+ * @license lucide-react v0.378.0 - ISC
43
+ *
44
+ * This source code is licensed under the ISC license.
45
+ * See the LICENSE file in the root directory of this source tree.
46
+ */const w=a("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
47
+ * @license lucide-react v0.378.0 - ISC
48
+ *
49
+ * This source code is licensed under the ISC license.
50
+ * See the LICENSE file in the root directory of this source tree.
51
+ */const z=a("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
52
+ * @license lucide-react v0.378.0 - ISC
53
+ *
54
+ * This source code is licensed under the ISC license.
55
+ * See the LICENSE file in the root directory of this source tree.
56
+ */const f=a("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
57
+ * @license lucide-react v0.378.0 - ISC
58
+ *
59
+ * This source code is licensed under the ISC license.
60
+ * See the LICENSE file in the root directory of this source tree.
61
+ */const C=a("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
62
+ * @license lucide-react v0.378.0 - ISC
63
+ *
64
+ * This source code is licensed under the ISC license.
65
+ * See the LICENSE file in the root directory of this source tree.
66
+ */const H=a("CircleAlert",[["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"}]]);/**
67
+ * @license lucide-react v0.378.0 - ISC
68
+ *
69
+ * This source code is licensed under the ISC license.
70
+ * See the LICENSE file in the root directory of this source tree.
71
+ */const b=a("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
72
+ * @license lucide-react v0.378.0 - ISC
73
+ *
74
+ * This source code is licensed under the ISC license.
75
+ * See the LICENSE file in the root directory of this source tree.
76
+ */const A=a("CircleX",[["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"}]]);/**
77
+ * @license lucide-react v0.378.0 - ISC
78
+ *
79
+ * This source code is licensed under the ISC license.
80
+ * See the LICENSE file in the root directory of this source tree.
81
+ */const S=a("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
82
+ * @license lucide-react v0.378.0 - ISC
83
+ *
84
+ * This source code is licensed under the ISC license.
85
+ * See the LICENSE file in the root directory of this source tree.
86
+ */const V=a("CodeXml",[["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"}]]);/**
87
+ * @license lucide-react v0.378.0 - ISC
88
+ *
89
+ * This source code is licensed under the ISC license.
90
+ * See the LICENSE file in the root directory of this source tree.
91
+ */const F=a("Copy",[["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"}]]);/**
92
+ * @license lucide-react v0.378.0 - ISC
93
+ *
94
+ * This source code is licensed under the ISC license.
95
+ * See the LICENSE file in the root directory of this source tree.
96
+ */const j=a("Database",[["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"}]]);/**
97
+ * @license lucide-react v0.378.0 - ISC
98
+ *
99
+ * This source code is licensed under the ISC license.
100
+ * See the LICENSE file in the root directory of this source tree.
101
+ */const Z=a("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
102
+ * @license lucide-react v0.378.0 - ISC
103
+ *
104
+ * This source code is licensed under the ISC license.
105
+ * See the LICENSE file in the root directory of this source tree.
106
+ */const L=a("FileArchive",[["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v18",key:"1oywqq"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}]]);/**
107
+ * @license lucide-react v0.378.0 - ISC
108
+ *
109
+ * This source code is licensed under the ISC license.
110
+ * See the LICENSE file in the root directory of this source tree.
111
+ */const P=a("FileAudio",[["path",{d:"M17.5 22h.5a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"rslqgf"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 19a2 2 0 1 1 4 0v1a2 2 0 1 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 1 1-4 0v-1a2 2 0 1 1 4 0",key:"9f7x3i"}]]);/**
112
+ * @license lucide-react v0.378.0 - ISC
113
+ *
114
+ * This source code is licensed under the ISC license.
115
+ * See the LICENSE file in the root directory of this source tree.
116
+ */const T=a("FileCode2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]]);/**
117
+ * @license lucide-react v0.378.0 - ISC
118
+ *
119
+ * This source code is licensed under the ISC license.
120
+ * See the LICENSE file in the root directory of this source tree.
121
+ */const B=a("FileCog",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v2",key:"17k7jt"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"6",cy:"14",r:"3",key:"a1xfv6"}],["path",{d:"M6 10v1",key:"xs0f9j"}],["path",{d:"M6 17v1",key:"idyhc0"}],["path",{d:"M10 14H9",key:"m5fm2q"}],["path",{d:"M3 14H2",key:"19ot09"}],["path",{d:"m9 11-.88.88",key:"lhul2b"}],["path",{d:"M3.88 16.12 3 17",key:"169z9n"}],["path",{d:"m9 17-.88-.88",key:"5io96w"}],["path",{d:"M3.88 11.88 3 11",key:"1ynhy1"}]]);/**
122
+ * @license lucide-react v0.378.0 - ISC
123
+ *
124
+ * This source code is licensed under the ISC license.
125
+ * See the LICENSE file in the root directory of this source tree.
126
+ */const D=a("FileImage",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["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"}]]);/**
127
+ * @license lucide-react v0.378.0 - ISC
128
+ *
129
+ * This source code is licensed under the ISC license.
130
+ * See the LICENSE file in the root directory of this source tree.
131
+ */const G=a("FileJson",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]);/**
132
+ * @license lucide-react v0.378.0 - ISC
133
+ *
134
+ * This source code is licensed under the ISC license.
135
+ * See the LICENSE file in the root directory of this source tree.
136
+ */const R=a("FilePen",[["path",{d:"M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v10",key:"x7tsz2"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10.4 12.6a2 2 0 1 1 3 3L8 21l-4 1 1-4Z",key:"o3xyfb"}]]);/**
137
+ * @license lucide-react v0.378.0 - ISC
138
+ *
139
+ * This source code is licensed under the ISC license.
140
+ * See the LICENSE file in the root directory of this source tree.
141
+ */const X=a("FileSpreadsheet",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]]);/**
142
+ * @license lucide-react v0.378.0 - ISC
143
+ *
144
+ * This source code is licensed under the ISC license.
145
+ * See the LICENSE file in the root directory of this source tree.
146
+ */const E=a("FileTerminal",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m8 16 2-2-2-2",key:"10vzyd"}],["path",{d:"M12 18h4",key:"1wd2n7"}]]);/**
147
+ * @license lucide-react v0.378.0 - ISC
148
+ *
149
+ * This source code is licensed under the ISC license.
150
+ * See the LICENSE file in the root directory of this source tree.
151
+ */const I=a("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
152
+ * @license lucide-react v0.378.0 - ISC
153
+ *
154
+ * This source code is licensed under the ISC license.
155
+ * See the LICENSE file in the root directory of this source tree.
156
+ */const U=a("FileType",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 13v-1h6v1",key:"1bb014"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M11 18h2",key:"12mj7e"}]]);/**
157
+ * @license lucide-react v0.378.0 - ISC
158
+ *
159
+ * This source code is licensed under the ISC license.
160
+ * See the LICENSE file in the root directory of this source tree.
161
+ */const $=a("FileVideo",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m10 11 5 3-5 3v-6Z",key:"7ntvm4"}]]);/**
162
+ * @license lucide-react v0.378.0 - ISC
163
+ *
164
+ * This source code is licensed under the ISC license.
165
+ * See the LICENSE file in the root directory of this source tree.
166
+ */const N=a("FolderOpen",[["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"}]]);/**
167
+ * @license lucide-react v0.378.0 - ISC
168
+ *
169
+ * This source code is licensed under the ISC license.
170
+ * See the LICENSE file in the root directory of this source tree.
171
+ */const O=a("Folder",[["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"}]]);/**
172
+ * @license lucide-react v0.378.0 - ISC
173
+ *
174
+ * This source code is licensed under the ISC license.
175
+ * See the LICENSE file in the root directory of this source tree.
176
+ */const J=a("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
177
+ * @license lucide-react v0.378.0 - ISC
178
+ *
179
+ * This source code is licensed under the ISC license.
180
+ * See the LICENSE file in the root directory of this source tree.
181
+ */const K=a("GitCommitHorizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]]);/**
182
+ * @license lucide-react v0.378.0 - ISC
183
+ *
184
+ * This source code is licensed under the ISC license.
185
+ * See the LICENSE file in the root directory of this source tree.
186
+ */const W=a("GitCompare",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]]);/**
187
+ * @license lucide-react v0.378.0 - ISC
188
+ *
189
+ * This source code is licensed under the ISC license.
190
+ * See the LICENSE file in the root directory of this source tree.
191
+ */const Q=a("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);/**
192
+ * @license lucide-react v0.378.0 - ISC
193
+ *
194
+ * This source code is licensed under the ISC license.
195
+ * See the LICENSE file in the root directory of this source tree.
196
+ */const Y=a("History",[["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"}]]);/**
197
+ * @license lucide-react v0.378.0 - ISC
198
+ *
199
+ * This source code is licensed under the ISC license.
200
+ * See the LICENSE file in the root directory of this source tree.
201
+ */const _=a("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);/**
202
+ * @license lucide-react v0.378.0 - ISC
203
+ *
204
+ * This source code is licensed under the ISC license.
205
+ * See the LICENSE file in the root directory of this source tree.
206
+ */const a2=a("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
207
+ * @license lucide-react v0.378.0 - ISC
208
+ *
209
+ * This source code is licensed under the ISC license.
210
+ * See the LICENSE file in the root directory of this source tree.
211
+ */const e2=a("MessageSquarePlus",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]]);/**
212
+ * @license lucide-react v0.378.0 - ISC
213
+ *
214
+ * This source code is licensed under the ISC license.
215
+ * See the LICENSE file in the root directory of this source tree.
216
+ */const t2=a("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
217
+ * @license lucide-react v0.378.0 - ISC
218
+ *
219
+ * This source code is licensed under the ISC license.
220
+ * See the LICENSE file in the root directory of this source tree.
221
+ */const y2=a("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
222
+ * @license lucide-react v0.378.0 - ISC
223
+ *
224
+ * This source code is licensed under the ISC license.
225
+ * See the LICENSE file in the root directory of this source tree.
226
+ */const h2=a("Monitor",[["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"}]]);/**
227
+ * @license lucide-react v0.378.0 - ISC
228
+ *
229
+ * This source code is licensed under the ISC license.
230
+ * See the LICENSE file in the root directory of this source tree.
231
+ */const k2=a("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
232
+ * @license lucide-react v0.378.0 - ISC
233
+ *
234
+ * This source code is licensed under the ISC license.
235
+ * See the LICENSE file in the root directory of this source tree.
236
+ */const l2=a("Package",[["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["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"}]]);/**
237
+ * @license lucide-react v0.378.0 - ISC
238
+ *
239
+ * This source code is licensed under the ISC license.
240
+ * See the LICENSE file in the root directory of this source tree.
241
+ */const r2=a("Pencil",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
242
+ * @license lucide-react v0.378.0 - ISC
243
+ *
244
+ * This source code is licensed under the ISC license.
245
+ * See the LICENSE file in the root directory of this source tree.
246
+ */const s2=a("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
247
+ * @license lucide-react v0.378.0 - ISC
248
+ *
249
+ * This source code is licensed under the ISC license.
250
+ * See the LICENSE file in the root directory of this source tree.
251
+ */const d2=a("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
252
+ * @license lucide-react v0.378.0 - ISC
253
+ *
254
+ * This source code is licensed under the ISC license.
255
+ * See the LICENSE file in the root directory of this source tree.
256
+ */const p2=a("Power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]);/**
257
+ * @license lucide-react v0.378.0 - ISC
258
+ *
259
+ * This source code is licensed under the ISC license.
260
+ * See the LICENSE file in the root directory of this source tree.
261
+ */const c2=a("RefreshCw",[["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"}]]);/**
262
+ * @license lucide-react v0.378.0 - ISC
263
+ *
264
+ * This source code is licensed under the ISC license.
265
+ * See the LICENSE file in the root directory of this source tree.
266
+ */const n2=a("ScrollText",[["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"}]]);/**
267
+ * @license lucide-react v0.378.0 - ISC
268
+ *
269
+ * This source code is licensed under the ISC license.
270
+ * See the LICENSE file in the root directory of this source tree.
271
+ */const o2=a("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]);/**
272
+ * @license lucide-react v0.378.0 - ISC
273
+ *
274
+ * This source code is licensed under the ISC license.
275
+ * See the LICENSE file in the root directory of this source tree.
276
+ */const i2=a("Server",[["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"}]]);/**
277
+ * @license lucide-react v0.378.0 - ISC
278
+ *
279
+ * This source code is licensed under the ISC license.
280
+ * See the LICENSE file in the root directory of this source tree.
281
+ */const M2=a("Settings2",[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
282
+ * @license lucide-react v0.378.0 - ISC
283
+ *
284
+ * This source code is licensed under the ISC license.
285
+ * See the LICENSE file in the root directory of this source tree.
286
+ */const v2=a("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
287
+ * @license lucide-react v0.378.0 - ISC
288
+ *
289
+ * This source code is licensed under the ISC license.
290
+ * See the LICENSE file in the root directory of this source tree.
291
+ */const m2=a("Slash",[["path",{d:"M22 2 2 22",key:"y4kqgn"}]]);/**
292
+ * @license lucide-react v0.378.0 - ISC
293
+ *
294
+ * This source code is licensed under the ISC license.
295
+ * See the LICENSE file in the root directory of this source tree.
296
+ */const x2=a("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/**
297
+ * @license lucide-react v0.378.0 - ISC
298
+ *
299
+ * This source code is licensed under the ISC license.
300
+ * See the LICENSE file in the root directory of this source tree.
301
+ */const g2=a("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
302
+ * @license lucide-react v0.378.0 - ISC
303
+ *
304
+ * This source code is licensed under the ISC license.
305
+ * See the LICENSE file in the root directory of this source tree.
306
+ */const q2=a("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]]);/**
307
+ * @license lucide-react v0.378.0 - ISC
308
+ *
309
+ * This source code is licensed under the ISC license.
310
+ * See the LICENSE file in the root directory of this source tree.
311
+ */const u2=a("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
312
+ * @license lucide-react v0.378.0 - ISC
313
+ *
314
+ * This source code is licensed under the ISC license.
315
+ * See the LICENSE file in the root directory of this source tree.
316
+ */const w2=a("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
317
+ * @license lucide-react v0.378.0 - ISC
318
+ *
319
+ * This source code is licensed under the ISC license.
320
+ * See the LICENSE file in the root directory of this source tree.
321
+ */const z2=a("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
322
+ * @license lucide-react v0.378.0 - ISC
323
+ *
324
+ * This source code is licensed under the ISC license.
325
+ * See the LICENSE file in the root directory of this source tree.
326
+ */const f2=a("TriangleAlert",[["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"}]]);/**
327
+ * @license lucide-react v0.378.0 - ISC
328
+ *
329
+ * This source code is licensed under the ISC license.
330
+ * See the LICENSE file in the root directory of this source tree.
331
+ */const C2=a("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);export{h2 as $,g as A,u as B,S as C,M2 as D,G as E,O as F,W as G,Q as H,q as I,T as J,B as K,a2 as L,t2 as M,D as N,U as O,r2 as P,n2 as Q,c2 as R,v2 as S,z2 as T,j as U,L as V,P as W,C2 as X,$ as Y,X as Z,Z as _,V as a,_ as a0,k2 as a1,w2 as a2,x2 as a3,i2 as a4,F as a5,N as a6,p2 as a7,e2 as b,q2 as c,m2 as d,Y as e,x as f,f as g,I as h,u2 as i,o2 as j,f2 as k,w as l,C as m,z as n,R as o,s2 as p,A as q,b as r,H as s,J as t,K as u,d2 as v,y2 as w,g2 as x,l2 as y,E as z};