@intent-hq/web 2.374.1 → 2.374.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{VgpkVPqy.js → 3cKBmyAG.js} +1 -1
- package/web/app/immutable/chunks/{cZ6WbhzF.js → 4QO0cu3z.js} +4 -4
- package/web/app/immutable/chunks/{B5RGOddd.js → 5ubKG1fw.js} +2 -2
- package/web/app/immutable/chunks/{C1VzVy_T.js → 7u4ZW-_Z.js} +1 -1
- package/web/app/immutable/chunks/{CI03it4q.js → 85wf0Cv8.js} +1 -1
- package/web/app/immutable/chunks/{BFBRQlnB.js → A9zSZ8H9.js} +1 -1
- package/web/app/immutable/chunks/{DqeGDed0.js → ATfBW89h.js} +1 -1
- package/web/app/immutable/chunks/{ChuuGcaj.js → B-4SMsb_.js} +3 -3
- package/web/app/immutable/chunks/{DfrnAh60.js → B0GuR3bJ.js} +13 -13
- package/web/app/immutable/chunks/{CMSXP3JK.js → B1JbKfg-.js} +1 -1
- package/web/app/immutable/chunks/{BFSIy5Dg.js → B3U3T8_Z.js} +3 -3
- package/web/app/immutable/chunks/{JJ3RCq0j.js → B7M-47Is.js} +1 -1
- package/web/app/immutable/chunks/{Dya4in_M.js → B8jCEPhi.js} +1 -1
- package/web/app/immutable/chunks/{D-_a8-qv.js → B9BY7BTd.js} +1 -1
- package/web/app/immutable/chunks/{qZOpciCD.js → BA5rGp3P.js} +1 -1
- package/web/app/immutable/chunks/{Bu_b7Geq.js → BAUDY8ju.js} +1 -1
- package/web/app/immutable/chunks/{DWiCzmLc.js → BCAvWplY.js} +1 -1
- package/web/app/immutable/chunks/{C4qomPfT.js → BDX_Xsmi.js} +1 -1
- package/web/app/immutable/chunks/{CykMvH93.js → BEs8P5qJ.js} +1 -1
- package/web/app/immutable/chunks/{8iM9mVCJ.js → BGUKyP63.js} +1 -1
- package/web/app/immutable/chunks/{CZA7HKg8.js → BIkmu8XX.js} +1 -1
- package/web/app/immutable/chunks/{D91ZkM-_.js → BMrvDo7v.js} +1 -1
- package/web/app/immutable/chunks/{BfjyDFQP.js → BOf4ykdJ.js} +1 -1
- package/web/app/immutable/chunks/{B1WcmQpq.js → BPK1anoi.js} +1 -1
- package/web/app/immutable/chunks/{CcBYgr_O.js → BQWRYuYV.js} +1 -1
- package/web/app/immutable/chunks/{CBFYLXFF.js → BTLE7W-J.js} +1 -1
- package/web/app/immutable/chunks/{C8IXZPNs.js → BVhdEiOI.js} +2 -2
- package/web/app/immutable/chunks/{DyvQorI4.js → BVpl8e4e.js} +1 -1
- package/web/app/immutable/chunks/{QVs7xD_-.js → BXm1LOV6.js} +1 -1
- package/web/app/immutable/chunks/{CkF26rCa.js → BYoDJRDO.js} +1 -1
- package/web/app/immutable/chunks/{DGGMIXhj.js → B_T-BNgN.js} +2 -2
- package/web/app/immutable/chunks/{MvtlzB8k.js → B_rOdNUT.js} +1 -1
- package/web/app/immutable/chunks/{I0qWsqIQ.js → BaUyyVaF.js} +2 -2
- package/web/app/immutable/chunks/{zLwkenCD.js → BalRQ77x.js} +1 -1
- package/web/app/immutable/chunks/{CiJzGYSi.js → Bb8U_oXl.js} +1 -1
- package/web/app/immutable/chunks/{Dfqr3ucI.js → BcCmxwSj.js} +1 -1
- package/web/app/immutable/chunks/{AWXowPxU.js → BcM59Lcv.js} +1 -1
- package/web/app/immutable/chunks/{Bnhl7xZz.js → BdtL69yP.js} +1 -1
- package/web/app/immutable/chunks/{D5wSh12h.js → Be3ctlCz.js} +1 -1
- package/web/app/immutable/chunks/{CHfIP-Ca.js → Bg5oaQDG.js} +1 -1
- package/web/app/immutable/chunks/{IOUuDzhl.js → BiVcCGFj.js} +3 -3
- package/web/app/immutable/chunks/{BdEeTGSl.js → BiekSSQx.js} +1 -1
- package/web/app/immutable/chunks/{QWptVHsb.js → Bj-YBxcA.js} +1 -1
- package/web/app/immutable/chunks/{Cn1QrsR7.js → Bm8gOyQA.js} +1 -1
- package/web/app/immutable/chunks/{M2ziLO4-.js → Bo-dnNXZ.js} +1 -1
- package/web/app/immutable/chunks/{R7rkruRO.js → BoIx_pzM.js} +1 -1
- package/web/app/immutable/chunks/{DcgZLPGn.js → Boj7sQg1.js} +1 -1
- package/web/app/immutable/chunks/{DwGC3Qoc.js → BsmtfVfM.js} +1 -1
- package/web/app/immutable/chunks/{Dhf5PPGB.js → BtIGJq9M.js} +1 -1
- package/web/app/immutable/chunks/{DAbdqRSx.js → Bw79RGVy.js} +4 -4
- package/web/app/immutable/chunks/{C0urABBN.js → BwxJWPNn.js} +1 -1
- package/web/app/immutable/chunks/{CI8lfy7e.js → BzsWb2DZ.js} +1 -1
- package/web/app/immutable/chunks/{iwYLzKdV.js → Bzwng2vU.js} +1 -1
- package/web/app/immutable/chunks/{B2Arx0ZF.js → C23BHMTF.js} +1 -1
- package/web/app/immutable/chunks/{B9zxG49e.js → C2RXgXeo.js} +1 -1
- package/web/app/immutable/chunks/{BPqj6Qvi.js → C7p2lOwL.js} +1 -1
- package/web/app/immutable/chunks/{C-1CqQ1f.js → CAYmzy7n.js} +1 -1
- package/web/app/immutable/chunks/{CkGI1ZG-.js → CDt7gkIg.js} +1 -1
- package/web/app/immutable/chunks/{o1xI68Cv.js → CFd4ikzx.js} +3 -3
- package/web/app/immutable/chunks/{CU4TDhZp.js → CKLF9hRU.js} +2 -2
- package/web/app/immutable/chunks/{C6Y4L69O.js → COUouSsQ.js} +1 -1
- package/web/app/immutable/chunks/{BlbJ4pnj.js → CPloqKhj.js} +1 -1
- package/web/app/immutable/chunks/{CeAbChdf.js → CTAiPv85.js} +1 -1
- package/web/app/immutable/chunks/{DhTidcoi.js → CTKxd-aq.js} +1 -1
- package/web/app/immutable/chunks/{CG5Ujj5n.js → CTc2r7_5.js} +1 -1
- package/web/app/immutable/chunks/{5JkhMlm8.js → CVA4h5nu.js} +1 -1
- package/web/app/immutable/chunks/{Bx_Vy-8F.js → CWAFstnw.js} +1 -1
- package/web/app/immutable/chunks/{BE6Jwt_-.js → CWdVki31.js} +2 -2
- package/web/app/immutable/chunks/{eUuFvR6M.js → CY3iiE5t.js} +1 -1
- package/web/app/immutable/chunks/{BlBjpUY-.js → CYrmrI7Y.js} +2 -2
- package/web/app/immutable/chunks/{JFDbnVgN.js → C_lt_MLT.js} +1 -1
- package/web/app/immutable/chunks/{Dm8F4oqT.js → CaA0sSW1.js} +2 -2
- package/web/app/immutable/chunks/{KLcMYBf-.js → CeKzyAwj.js} +1 -1
- package/web/app/immutable/chunks/{BXUbR1fc.js → CgrfkEos.js} +1 -1
- package/web/app/immutable/chunks/{DaNITilt.js → ColX8Rl-.js} +1 -1
- package/web/app/immutable/chunks/{jbqICVar.js → CrkK-7cq.js} +2 -2
- package/web/app/immutable/chunks/{Cfbp4n6F.js → CtA5V2Vr.js} +2 -2
- package/web/app/immutable/chunks/{CyyQuDJ2.js → Cyu5F7IF.js} +1 -1
- package/web/app/immutable/chunks/{D76tHJtr.js → D0nMX7Fy.js} +1 -1
- package/web/app/immutable/chunks/{D4X5QfgO.js → D48rWb8_.js} +3 -3
- package/web/app/immutable/chunks/{BHMaHtb7.js → D4Ynme_h.js} +3 -3
- package/web/app/immutable/chunks/{TRC-1MZ6.js → D6KeRVx3.js} +1 -1
- package/web/app/immutable/chunks/{TZXFgAt8.js → D6l063h1.js} +1 -1
- package/web/app/immutable/chunks/{YTYw24Kl.js → D7zF8mVD.js} +1 -1
- package/web/app/immutable/chunks/{D8KugJqg.js → D7zs1WNS.js} +1 -1
- package/web/app/immutable/chunks/{BazydCWO.js → DApALACW.js} +1 -1
- package/web/app/immutable/chunks/{BuWZ2vPD.js → DBwPHDLx.js} +1 -1
- package/web/app/immutable/chunks/{B2wZ0Bb3.js → DFO9hn7q.js} +1 -1
- package/web/app/immutable/chunks/{BtBMs8pl.js → DHQlFr3x.js} +1 -1
- package/web/app/immutable/chunks/{A3itjZn8.js → DJVOcVb6.js} +3 -3
- package/web/app/immutable/chunks/{Cox9QorC.js → DJmFFfBr.js} +1 -1
- package/web/app/immutable/chunks/{CNsG6rqe.js → DKqiEltW.js} +1 -1
- package/web/app/immutable/chunks/{UBi_ObtY.js → DVZxKzOj.js} +1 -1
- package/web/app/immutable/chunks/{LcfcL_-4.js → DYtp8pRu.js} +1 -1
- package/web/app/immutable/chunks/{Dw5mZcm5.js → DYw1r29m.js} +1 -1
- package/web/app/immutable/chunks/{DQn-1ubH.js → D_Ck4oYy.js} +1 -1
- package/web/app/immutable/chunks/{DjKYseTS.js → Daka7UwW.js} +1 -1
- package/web/app/immutable/chunks/{BU_lcjuY.js → Daz1QCGS.js} +1 -1
- package/web/app/immutable/chunks/{CDYjKRWo.js → DbKwos66.js} +1 -1
- package/web/app/immutable/chunks/{BMLCt23V.js → DecRlFIH.js} +1 -1
- package/web/app/immutable/chunks/{Csr-rIZF.js → DfmpMhdc.js} +1 -1
- package/web/app/immutable/chunks/{B6ZYX7Y8.js → Dh0g4rYu.js} +1 -1
- package/web/app/immutable/chunks/{BPU4O8X2.js → DhfRQpUa.js} +1 -1
- package/web/app/immutable/chunks/{-GzAayRi.js → DkgA-dp6.js} +1 -1
- package/web/app/immutable/chunks/{1PBEbLiL.js → DwwhuCym.js} +1 -1
- package/web/app/immutable/chunks/{K-0xnE6j.js → DwxO0CzF.js} +1 -1
- package/web/app/immutable/chunks/{C8vjEKe_.js → Dx94_CW7.js} +1 -1
- package/web/app/immutable/chunks/{hf11ueQS.js → DxHDxHbR.js} +1 -1
- package/web/app/immutable/chunks/{D8-vtN74.js → IyDGTGib.js} +4 -4
- package/web/app/immutable/chunks/{7N4d1SHx.js → KqnunP55.js} +1 -1
- package/web/app/immutable/chunks/{CiasNS4Y.js → PAMGn91D.js} +1 -1
- package/web/app/immutable/chunks/{D1p7bFmY.js → YxIlUfko.js} +1 -1
- package/web/app/immutable/chunks/{DDt9eLZK.js → ZxE81vSk.js} +3 -3
- package/web/app/immutable/chunks/{CnAm8UDm.js → _a6vNmVW.js} +1 -1
- package/web/app/immutable/chunks/{Dm3SETfX.js → _zL9bNp2.js} +6 -6
- package/web/app/immutable/chunks/{C-IFS50X.js → d6_ZY1Pu.js} +1 -1
- package/web/app/immutable/chunks/{Rar9KqJV.js → eDLszxKs.js} +1 -1
- package/web/app/immutable/chunks/{Cm47R70f.js → eMk2ArKz.js} +1 -1
- package/web/app/immutable/chunks/{BWuBGnGl.js → jX0VhUGG.js} +1 -1
- package/web/app/immutable/chunks/{B14ddEbH.js → jgG3dE9T.js} +1 -1
- package/web/app/immutable/chunks/{C1kgjET0.js → k6oRCp56.js} +1 -1
- package/web/app/immutable/chunks/{DvyPNixU.js → piMAhJa1.js} +1 -1
- package/web/app/immutable/chunks/{H-xlkAY8.js → tNwydG8P.js} +1 -1
- package/web/app/immutable/chunks/{DYuqveqh.js → tnMWXb13.js} +1 -1
- package/web/app/immutable/chunks/{DL1sQHpf.js → x4xTOnLp.js} +1 -1
- package/web/app/immutable/chunks/{CheTmX4x.js → y-zFXgFQ.js} +1 -1
- package/web/app/immutable/chunks/{Cvxp3hv6.js → z37DF9wR.js} +1 -1
- package/web/app/immutable/entry/{app.CSmhn5IS.js → app.BbxDhWp9.js} +2 -2
- package/web/app/immutable/entry/start.BnlppRR8.js +1 -0
- package/web/app/immutable/nodes/{0.BJ-vuqyF.js → 0.DSIplukO.js} +1 -1
- package/web/app/immutable/nodes/{1.K8N2U7fJ.js → 1.CXRUG1SB.js} +1 -1
- package/web/app/immutable/nodes/{10.R5acEqWk.js → 10.DxleRET6.js} +4 -4
- package/web/app/immutable/nodes/{11.4wdFN3fm.js → 11.CbSyrlEM.js} +1 -1
- package/web/app/immutable/nodes/{15.N_o5QWkl.js → 15.keGRwwSO.js} +1 -1
- package/web/app/immutable/nodes/{19.DRknpyiO.js → 19.NgmHhhjU.js} +2 -2
- package/web/app/immutable/nodes/{2.MIO2fuwM.js → 2.BKQlffFF.js} +4 -4
- package/web/app/immutable/nodes/{3.-a-xJZ2X.js → 3.Bdi4F8FT.js} +1 -1
- package/web/app/immutable/nodes/{4.Cp7W3COg.js → 4.AJeYxvcn.js} +1 -1
- package/web/app/immutable/nodes/{5.gJXhj0lL.js → 5.Wga00_ld.js} +1 -1
- package/web/app/immutable/nodes/{6.DKNQvcTz.js → 6.0Su9KBVy.js} +1 -1
- package/web/app/immutable/nodes/{7.CxbGknsS.js → 7.Dq7qh1Tw.js} +1 -1
- package/web/app/immutable/nodes/{8.C-MNb_3a.js → 8.BC8OLPhP.js} +1 -1
- package/web/app/immutable/nodes/{9.5VNiGtUs.js → 9.BAS_V8so.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/entry/start.9LRUpX9-.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as o}from"./
|
|
1
|
+
import{b as o}from"./Bw79RGVy.js";var c=1;function i(){if(!(typeof globalThis>"u"))return globalThis}o(i,"getCaptureGlobal");function p(){return!!i()?.mermaidCaptureSizes}o(p,"shouldCaptureSizes");function u(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}o(u,"capturedFromLocation");function d(n,r){const t=i();if(!t)return;const e=r.node(),s=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";t.mermaidCapturedSizes??=[];const a={svgId:s,sizes:n};t.mermaidCapturedSizes.push(a),t.mermaidLastCapturedSizes=a}o(d,"emitCapturedSizes");function m(n,r){const t=[];for(const e of r.nodes)e.isGroup||t.push({id:e.id,width:e.width??0,height:e.height??0});t.length!==0&&d({metadata:{captureVersion:c,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:t},n)}o(m,"captureNodeSizes");export{m as captureNodeSizes,p as shouldCaptureSizes};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{_ as i}from"./DxxarOOi.js";import{c as m}from"./ChTqQfQN.js";import{t as g}from"./DKwAaLwd.js";function d(){return typeof window<"u"&&window.location.pathname.startsWith("/hud")}function l(){return typeof window>"u"?null:g(window.location.pathname)}function h(){return l()!==null}let w=0;function y(){w+=1}function T(){return w}const v=m("Navigation"),_="settings-previous-path";function s(t){return/^\/settings(?:[/?#]|$)/.test(t)}async function E(t,e={}){if(d()||h()||typeof window<"u"&&/^\/dock(?:\/|$)/.test(window.location.pathname)){v.debug("Ignoring navigation in auxiliary window",{route:t});return}const c=e.assistantContent||t.startsWith("intent://")||/^https?:\/\//.test(t);if(c||y(),c){const{showAssistantContent:n}=await i(async()=>{const{showAssistantContent:o}=await import("./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/5ubKG1fw.js","/app/immutable/chunks/DxxarOOi.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/Zs30783q.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/50l-lj9m.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/C600Ggsz.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BXwdEeCG.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BfQPFCP7.js","/app/immutable/chunks/C0_snm4j.js","/app/immutable/chunks/Ch-D6DCZ.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/CAeNUoVv.js","/app/immutable/chunks/CrkK-7cq.js","/app/immutable/chunks/DkkzFfYK.js","/app/immutable/chunks/DzAQQ1i-.js","/app/immutable/chunks/D5eCb9SA.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BUT4El0L.js","/app/immutable/chunks/CruJ4jyB.js","/app/immutable/chunks/ByAetY4P.js","/app/immutable/chunks/BqJSWZOr.js","/app/immutable/chunks/BWsFbeUj.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/B5yEHkSy.js","/app/immutable/chunks/DSjVYlVX.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/BfdTnj-p.js","/app/immutable/chunks/CkbzWFJM.js","/app/immutable/chunks/D1E_1zhz.js","/app/immutable/chunks/DhNEeuS_.js","/app/immutable/chunks/Cij6f88k.js","/app/immutable/chunks/CsI7oUrd.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/_zL9bNp2.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as i}from"./DxxarOOi.js";import{c as m}from"./ChTqQfQN.js";import{t as g}from"./DKwAaLwd.js";function d(){return typeof window<"u"&&window.location.pathname.startsWith("/hud")}function l(){return typeof window>"u"?null:g(window.location.pathname)}function h(){return l()!==null}let w=0;function y(){w+=1}function T(){return w}const v=m("Navigation"),_="settings-previous-path";function s(t){return/^\/settings(?:[/?#]|$)/.test(t)}async function E(t,e={}){if(d()||h()||typeof window<"u"&&/^\/dock(?:\/|$)/.test(window.location.pathname)){v.debug("Ignoring navigation in auxiliary window",{route:t});return}const c=e.assistantContent||t.startsWith("intent://")||/^https?:\/\//.test(t);if(c||y(),c){const{showAssistantContent:n}=await i(async()=>{const{showAssistantContent:o}=await import("./5ubKG1fw.js");return{showAssistantContent:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44]),import.meta.url);if(await n(t,{preserveFocus:!0,background:e.assistantContent===!0,agentId:e.assistantAgentId})){if(e.assistantContent)return;const{openPanel:o}=await i(async()=>{const{openPanel:a}=await import("./Zs30783q.js").then(r=>r.I_);return{openPanel:a}},__vite__mapDeps([3,4,2,5,6,7,8,1,9,10,11]),import.meta.url),{store:f}=await i(async()=>{const{store:a}=await import("./CsI7oUrd.js");return{store:a}},__vite__mapDeps([45,3,4,2,5,6,7,8,1,9,10,11,46,47]),import.meta.url);f.dispatch(o("chief"));const{goto:p}=await i(async()=>{const{goto:a}=await import("./_zL9bNp2.js").then(r=>r.n);return{goto:a}},__vite__mapDeps([48,2]),import.meta.url);window.location.pathname!=="/"&&await p("/");return}}if(s(t)&&typeof window<"u"&&typeof sessionStorage<"u"&&!s(window.location.pathname)){const n=new URL(window.location.href);sessionStorage.setItem(_,n.pathname+n.search+n.hash)}const{goto:u}=await i(async()=>{const{goto:n}=await import("./_zL9bNp2.js").then(o=>o.n);return{goto:n}},__vite__mapDeps([48,2]),import.meta.url);return e.state?u(t,{state:e.state}):u(t)}const b=Object.freeze(Object.defineProperty({__proto__:null,SETTINGS_PREV_PATH_KEY:_,isHudWindowRenderer:d,isSettingsRoute:s,navigateToRoute:E},Symbol.toStringTag,{value:"Module"}));export{_ as S,s as a,y as b,l as c,h as d,T as e,b as f,d as i,E as n};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as l,r as m,d as a}from"./
|
|
1
|
+
import{g as l,r as m,d as a}from"./BDX_Xsmi.js";import{p}from"./C7p2lOwL.js";import{b as t,ay as o}from"./Bw79RGVy.js";import{M as u,b as c}from"./Co5Wv5vC.js";var f=c().RailroadPeg.parser.LangiumParser,i=t(e=>{const r=e.alternatives.map(d);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformOrderedChoice"),d=t(e=>{const r=e.elements.map(P);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),P=t(e=>{const r=g(e.suffix);return e.operator?{type:"special",text:e.operator==="&"?`&${s(r)}`:`!${s(r)}`}:r},"transformPrefix"),s=t(e=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),g=t(e=>{const r=y(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw new Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),y=t(e=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return i(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw new Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),v=t(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=t(e=>{p(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(v(r)))},"populateDb"),b={parse:t(e=>{a.clear(),o.debug("[PEG Parser] Starting Langium parse");const r=f.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const n=r.value;o.debug("[PEG Parser] Parsed rules:",n.rules.length),h(n),o.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:a}},$={parser:b,db:a,renderer:m,styles:l};export{$ as diagram};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/B2wZ0Bb3.js","/app/immutable/chunks/DxxarOOi.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/DzAQQ1i-.js","/app/immutable/chunks/ByAetY4P.js","/app/immutable/chunks/BlbJ4pnj.js","/app/immutable/chunks/BUT4El0L.js","/app/immutable/chunks/C600Ggsz.js","/app/immutable/chunks/Ch-D6DCZ.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CruJ4jyB.js","/app/immutable/chunks/DkkzFfYK.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/D5eCb9SA.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BfQPFCP7.js","/app/immutable/chunks/C0_snm4j.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BqJSWZOr.js","/app/immutable/chunks/BWsFbeUj.js","/app/immutable/chunks/Zs30783q.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/50l-lj9m.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/B5yEHkSy.js","/app/immutable/chunks/DSjVYlVX.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/CvP7-iXZ.js","/app/immutable/chunks/DBEo2Y3v.js","/app/immutable/chunks/VlOW_lom.js","/app/immutable/chunks/Cncxuk-H.js","/app/immutable/chunks/DeaknxEN.js","/app/immutable/chunks/BrfF5NLx.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/DBI9dTMM.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/euI_ACTK.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/Dep4c5m-.js","/app/immutable/chunks/B55Lo0FS.js","/app/immutable/chunks/BLKGmMKH.js","/app/immutable/chunks/BtLlD_LO.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/89cPEaN9.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/qM_0Sky2.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/B14ddEbH.js","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/BFSIy5Dg.js","/app/immutable/chunks/BfdTnj-p.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/CkbzWFJM.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/xzC0xG4O.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B2Arx0ZF.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/DvyPNixU.js","/app/immutable/chunks/BlBjpUY-.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/BmO6NekI.js","/app/immutable/chunks/D1E_1zhz.js","/app/immutable/chunks/CAeNUoVv.js","/app/immutable/chunks/DhNEeuS_.js","/app/immutable/chunks/Hxdz4eYy.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BzL9Egzq.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/DYME5vl6.js","/app/immutable/chunks/I0qWsqIQ.js","/app/immutable/chunks/Do2AbdMZ.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/Wu03VY_-.js","/app/immutable/chunks/BHhpe04T.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/BMT3BZWc.js","/app/immutable/chunks/BuXfbkCo.js","/app/immutable/chunks/DtVS2Hpo.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/D5wSh12h.js","/app/immutable/chunks/BXwdEeCG.js","/app/immutable/chunks/BHMaHtb7.js","/app/immutable/chunks/B_fuDTJc.js","/app/immutable/chunks/dLGWDtiP.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/D208CAsp.js","/app/immutable/chunks/BtdtsPJb.js","/app/immutable/chunks/DxXHN0Kd.js","/app/immutable/chunks/DVK3tNru.js","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/C7PhRIIZ.js","/app/immutable/chunks/TRC-1MZ6.js","/app/immutable/chunks/BQMaTSUT.js","/app/immutable/chunks/C_-1lZIi.js","/app/immutable/chunks/BrrhiHyd.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/SqcDn3FF.js","/app/immutable/chunks/C0urABBN.js","/app/immutable/chunks/Dm3SETfX.js","/app/immutable/chunks/BfjyDFQP.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CkF26rCa.js","/app/immutable/chunks/CGCLUZ3o.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/A3itjZn8.js","/app/immutable/chunks/D1F-b1I5.js","/app/immutable/chunks/C8IXZPNs.js","/app/immutable/chunks/BMfEzUyf.js","/app/immutable/chunks/BcubO1aW.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/CddxYcvS.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/CeNk7AI9.js","/app/immutable/chunks/OjneFxUj.js","/app/immutable/chunks/DQQg-_Fv.js","/app/immutable/assets/AttachmentPreview.D_hsaikk.css","/app/immutable/chunks/CcBYgr_O.js","/app/immutable/chunks/BOImXhxR.js","/app/immutable/assets/DictationStopButton.DWUPhcKi.css","/app/immutable/chunks/D8-vtN74.js","/app/immutable/chunks/H-xlkAY8.js","/app/immutable/chunks/CyyQuDJ2.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/_rr6nsRq.js","/app/immutable/chunks/KLcMYBf-.js","/app/immutable/chunks/BE6Jwt_-.js","/app/immutable/chunks/DH7vXXdq.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/BOABr5iA.js","/app/immutable/chunks/CmHh0Wvy.js","/app/immutable/chunks/w8yC-37t.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/CNsG6rqe.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/chunks/D5XjMLtX.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/ZQWbYglS.js","/app/immutable/chunks/eO_Y6Zjh.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/DAbdqRSx.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/BYqiRSP_.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/CkJd-nyM.js","/app/immutable/chunks/jbqICVar.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/IOUuDzhl.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/B5RGOddd.js","/app/immutable/chunks/Cij6f88k.js","/app/immutable/chunks/CnAm8UDm.js","/app/immutable/chunks/o1xI68Cv.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/DQvmr3ea.js","/app/immutable/chunks/_NdZi_dM.js","/app/immutable/chunks/Bu_b7Geq.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/DDt9eLZK.js","/app/immutable/chunks/CaAd_cyY.js","/app/immutable/chunks/5rvkVpHO.js","/app/immutable/chunks/DhTidcoi.js","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/7N4d1SHx.js","/app/immutable/chunks/hf11ueQS.js","/app/immutable/chunks/EKAiX2GI.js","/app/immutable/chunks/YTYw24Kl.js","/app/immutable/chunks/BgsG3ZiB.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/D1ZkKLqt.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/C33vrAzQ.js","/app/immutable/chunks/yglMjm12.js","/app/immutable/chunks/DgboVgd_.js","/app/immutable/chunks/BkB7PRB0.js","/app/immutable/chunks/wWw37-Ke.js","/app/immutable/chunks/JJ3RCq0j.js","/app/immutable/chunks/MvtlzB8k.js","/app/immutable/chunks/Dgmf4O3-.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/DCEkJXus.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/6svm3ALY.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/CPthbtAR.js","/app/immutable/chunks/HjJJbdN8.js","/app/immutable/chunks/K-0xnE6j.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/CHfIP-Ca.js","/app/immutable/chunks/BlTs1zAy.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/C5DeEaYP.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/chunks/ChuuGcaj.js","/app/immutable/chunks/Ciub7-gv.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/BuWZ2vPD.js","/app/immutable/chunks/CheTmX4x.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/BfmZaG-s.js","/app/immutable/chunks/sX1SzO2T.js","/app/immutable/chunks/Ax2B7QQh.js","/app/immutable/chunks/Cft5DaOC.js","/app/immutable/chunks/CGDwhMyu.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/QWptVHsb.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/U7PCJ0KW.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/BGL-uifv.js","/app/immutable/chunks/DgNmFGXj.js","/app/immutable/chunks/DjKYseTS.js","/app/immutable/chunks/DfrnAh60.js","/app/immutable/chunks/B-W7deES.js","/app/immutable/chunks/CU4TDhZp.js","/app/immutable/chunks/BnVNvux0.js","/app/immutable/chunks/DaNITilt.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/PoxwHYkO.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/IfuzSDQC.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/Dfqr3ucI.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/C8vjEKe_.js","/app/immutable/chunks/BWuBGnGl.js","/app/immutable/chunks/BzPBikEv.js","/app/immutable/chunks/B1WcmQpq.js","/app/immutable/chunks/Or6TlXVc.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/D4X5QfgO.js","/app/immutable/chunks/B94otgnH.js","/app/immutable/chunks/DUaNnRvN.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/BZSpcC6v.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/CsFzjSWo.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/B9zxG49e.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/Df8V6WlA.js","/app/immutable/chunks/BUTJbFoT.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/CI03it4q.js","/app/immutable/chunks/iwYLzKdV.js","/app/immutable/chunks/C-1CqQ1f.js","/app/immutable/chunks/C6Y4L69O.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/BFBRQlnB.js","/app/immutable/chunks/D91ZkM-_.js","/app/immutable/chunks/Cox9QorC.js","/app/immutable/chunks/DoA8ABAE.js","/app/immutable/chunks/ow3T0tN7.js","/app/immutable/chunks/9sLim_4t.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./DxxarOOi.js";import{t as u}from"./BJs6L98H.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./B5yEHkSy.js";import{R as H}from"./wrK6ZRyS.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./3SdAC2_C.js";import{i as D}from"./DzAQQ1i-.js";import{s as fe}from"./Ch-D6DCZ.js";import{L as me}from"./DQQg-_Fv.js";import{C as Xe,L as be}from"./CvP7-iXZ.js";import{I as Ze}from"./VlOW_lom.js";import"./Cncxuk-H.js";import"./euI_ACTK.js";import{f as le}from"./D5eCb9SA.js";import{v as Ie}from"./BfQPFCP7.js";import"./DBI9dTMM.js";import"./C600Ggsz.js";import{I as ve}from"./BUT4El0L.js";import{I as et}from"./Bqd7fdCF.js";import"./C0_snm4j.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./B2wZ0Bb3.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./CHfIP-Ca.js"),__vite__mapDeps([210,1,2,3,11,6,7,8,9,10,15,211,22,23,24,25,26,18,13,4,67,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,76,68,57,58,59,62,63,64,69,70,71,72,73,74,75,181,91,92,85,182,212,123,213,125,52,136,84,214,99,100,215,109,110,111,112,113,216,217,102,218]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./BuWZ2vPD.js"),__vite__mapDeps([219,1,2,3,4,11,28,7,8,9,10,6,57,18,22,23,24,25,26,13,58,16,17,19,59,20,220,15,221,222,64,63,92,76,85,73,223,224,225,226,227,112,212,191,228,14,12,21,27,29,30,31,32,213,229,68,62,69,70,71,72,74,75,36,42,43,40,41,217,230,38,35,39,136,33,34,37,44,45,46,215,231,149,232,233,102,234]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./DjKYseTS.js"),__vite__mapDeps([235,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,57,28,11,58,16,17,19,59,20,216,72,73,75,91,68,12,14,15,4,21,27,30,31,32,62,63,64,69,70,71,74,76,92,85,217,181,182,102,236,237,178,82,86,179,180,130,132,133,142,229,167,238,234,239,36,42,43,40,41,113,112,172,206,191,213,143,135,67,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,140,153,154,35,164,80,65,66,33,34,37,38,39,44,45,46,77,78,79,50,51,117,165,125,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./Dfqr3ucI.js"),__vite__mapDeps([247,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,71,22,23,24,25,26,72,73,74,57,28,58,59,20,75,76,122,12,21,27,29,30,31,32,158,79,51,178,82,86,62,63,64,179,180,130,91,68,69,70,92,85,132,133,142,109,110,111,112,113,248]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./C8vjEKe_.js"),__vite__mapDeps([249,1,2,3,4,6,7,8,9,10,11,15,68,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,57,58,59,62,63,64,69,70,71,72,73,74,75,76,250,251,238,237,102,92,85,133,205,44,45,215,240,132,91,241,103,35,36,47,48,49,42,43,50,51,52,53,104,38,39,105,84,34,37,40,41,67,80,33,46,106,107,79,108,95,96,109,110,111,112,113,114,115,194,54,55,56,60,61,65,66,77,78,81,82,83,86,87,88,89,90,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,206,207,208,217,216]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./B1WcmQpq.js"),__vite__mapDeps([252,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,217,12,20,30,32,57,58,59,68,62,63,64,69,70,71,72,73,74,75,76,91,92,85,194,87,88,60,114,120,121,125,52,161,80,164,140,65,66,67,77,78,79,50,51,117,165,99,100,48,236,216,181,182,102,237,178,82,86,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,129,131,253,98,94,95,49,96,97,118,215,254]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./D4X5QfgO.js"),__vite__mapDeps([255,1,2,3,11,57,18,9,22,23,24,25,7,26,13,28,8,10,6,58,16,17,19,59,20,215,181,91,68,12,14,15,4,21,27,29,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,182,35,36,79,87,88,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,67,52,65,66,77,78,80,61,118,114,119,122,123,100,124,236,216,217,102,237,178,82,86,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,146,55,147,148,149,150,256,257,258,108,95,49,96,163,195,259,260,153,154,106,48,107,261,156,157,158,159,152,155,162,184,192,136,197,198,174,164,165,262]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./B9zxG49e.js"),__vite__mapDeps([263,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,215,151,57,28,58,16,17,19,59,20,264,62,63,64,199,74,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,236,85,92,76,73,91,68,69,70,71,72,75,216,217,181,182,102,237,178,82,86,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,67,240,241,242,243,244,109,110,111,245,246,223,224,225,226,227,256,257,117,258,164,140,80,65,66,77,78,79,50,51,165,136,265,123,266,233,267]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./CI03it4q.js"),__vite__mapDeps([268,1,2,3,4,11,163,22,23,24,25,9,7,26,18,13,215,57,28,8,10,6,58,16,17,19,59,20,146,55,15,132,64,91,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,136,265,197,198,174,199,121]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./C-1CqQ1f.js"),__vite__mapDeps([270,1,2,4,15,22,23,24,25,9,7,26,18,13,163,215,57,28,11,3,8,10,6,58,16,17,19,59,20,216,72,73,75,91,68,12,14,21,27,29,30,31,32,62,63,64,69,70,71,74,76,92,85,217,181,182,102,271,160,259,260,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,67,126,143,178,82,86,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./BFBRQlnB.js"),__vite__mapDeps([273,1,2,15,22,23,24,25,9,7,26,18,13,163,215,57,28,11,3,8,10,6,58,16,17,19,59,20,271,29,160,259,260,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,67,126,143,181,182,216,217,102,178,82,86,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./D91ZkM-_.js"),__vite__mapDeps([274,1,2,3,271,6,7,8,9,10,29,15,22,23,24,25,26,18,13,160,57,28,11,58,16,17,19,59,20,259,260,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,67,126,143,181,182,216,217,102,178,82,86,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./Cox9QorC.js"),__vite__mapDeps([275,1,2,3,4,11,58,241,24,64,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,91,57,28,6,59,20,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,215,136,265,197,198,174,199,121]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./DoA8ABAE.js"),__vite__mapDeps([276,1,2,3,152,6,7,8,9,10,140,153,64,154,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,155,167,57,58,59,72,73,74]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./ow3T0tN7.js"),__vite__mapDeps([277,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./9sLim_4t.js"),__vite__mapDeps([278,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([279,64]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DFO9hn7q.js","/app/immutable/chunks/DxxarOOi.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/DzAQQ1i-.js","/app/immutable/chunks/ByAetY4P.js","/app/immutable/chunks/CPloqKhj.js","/app/immutable/chunks/BUT4El0L.js","/app/immutable/chunks/C600Ggsz.js","/app/immutable/chunks/Ch-D6DCZ.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CruJ4jyB.js","/app/immutable/chunks/DkkzFfYK.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/D5eCb9SA.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BfQPFCP7.js","/app/immutable/chunks/C0_snm4j.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BqJSWZOr.js","/app/immutable/chunks/BWsFbeUj.js","/app/immutable/chunks/Zs30783q.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/50l-lj9m.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/B5yEHkSy.js","/app/immutable/chunks/DSjVYlVX.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/CvP7-iXZ.js","/app/immutable/chunks/DBEo2Y3v.js","/app/immutable/chunks/VlOW_lom.js","/app/immutable/chunks/Cncxuk-H.js","/app/immutable/chunks/DeaknxEN.js","/app/immutable/chunks/BrfF5NLx.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/DBI9dTMM.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/euI_ACTK.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/Dep4c5m-.js","/app/immutable/chunks/B55Lo0FS.js","/app/immutable/chunks/BLKGmMKH.js","/app/immutable/chunks/BtLlD_LO.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/89cPEaN9.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/qM_0Sky2.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/jgG3dE9T.js","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/B3U3T8_Z.js","/app/immutable/chunks/BfdTnj-p.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/CkbzWFJM.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/xzC0xG4O.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/C23BHMTF.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/piMAhJa1.js","/app/immutable/chunks/CYrmrI7Y.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/BmO6NekI.js","/app/immutable/chunks/D1E_1zhz.js","/app/immutable/chunks/CAeNUoVv.js","/app/immutable/chunks/DhNEeuS_.js","/app/immutable/chunks/Hxdz4eYy.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BzL9Egzq.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/DYME5vl6.js","/app/immutable/chunks/BaUyyVaF.js","/app/immutable/chunks/Do2AbdMZ.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/Wu03VY_-.js","/app/immutable/chunks/BHhpe04T.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/BMT3BZWc.js","/app/immutable/chunks/BuXfbkCo.js","/app/immutable/chunks/DtVS2Hpo.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/Be3ctlCz.js","/app/immutable/chunks/BXwdEeCG.js","/app/immutable/chunks/D4Ynme_h.js","/app/immutable/chunks/B_fuDTJc.js","/app/immutable/chunks/dLGWDtiP.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/D208CAsp.js","/app/immutable/chunks/BtdtsPJb.js","/app/immutable/chunks/DxXHN0Kd.js","/app/immutable/chunks/DVK3tNru.js","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/C7PhRIIZ.js","/app/immutable/chunks/D6KeRVx3.js","/app/immutable/chunks/BQMaTSUT.js","/app/immutable/chunks/C_-1lZIi.js","/app/immutable/chunks/BrrhiHyd.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/SqcDn3FF.js","/app/immutable/chunks/BwxJWPNn.js","/app/immutable/chunks/_zL9bNp2.js","/app/immutable/chunks/BOf4ykdJ.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/BYoDJRDO.js","/app/immutable/chunks/CGCLUZ3o.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/DJVOcVb6.js","/app/immutable/chunks/D1F-b1I5.js","/app/immutable/chunks/BVhdEiOI.js","/app/immutable/chunks/BMfEzUyf.js","/app/immutable/chunks/BcubO1aW.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/CddxYcvS.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/CeNk7AI9.js","/app/immutable/chunks/OjneFxUj.js","/app/immutable/chunks/DQQg-_Fv.js","/app/immutable/assets/AttachmentPreview.D_hsaikk.css","/app/immutable/chunks/BQWRYuYV.js","/app/immutable/chunks/BOImXhxR.js","/app/immutable/assets/DictationStopButton.DWUPhcKi.css","/app/immutable/chunks/IyDGTGib.js","/app/immutable/chunks/tNwydG8P.js","/app/immutable/chunks/Cyu5F7IF.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/_rr6nsRq.js","/app/immutable/chunks/CeKzyAwj.js","/app/immutable/chunks/CWdVki31.js","/app/immutable/chunks/DH7vXXdq.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/BOABr5iA.js","/app/immutable/chunks/CmHh0Wvy.js","/app/immutable/chunks/w8yC-37t.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/DKqiEltW.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/chunks/D5XjMLtX.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/ZQWbYglS.js","/app/immutable/chunks/eO_Y6Zjh.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/Bw79RGVy.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/BYqiRSP_.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/CkJd-nyM.js","/app/immutable/chunks/CrkK-7cq.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/BiVcCGFj.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/5ubKG1fw.js","/app/immutable/chunks/Cij6f88k.js","/app/immutable/chunks/_a6vNmVW.js","/app/immutable/chunks/CFd4ikzx.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/DQvmr3ea.js","/app/immutable/chunks/_NdZi_dM.js","/app/immutable/chunks/BAUDY8ju.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/ZxE81vSk.js","/app/immutable/chunks/CaAd_cyY.js","/app/immutable/chunks/5rvkVpHO.js","/app/immutable/chunks/CTKxd-aq.js","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/KqnunP55.js","/app/immutable/chunks/DxHDxHbR.js","/app/immutable/chunks/EKAiX2GI.js","/app/immutable/chunks/D7zF8mVD.js","/app/immutable/chunks/BgsG3ZiB.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/D1ZkKLqt.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/C33vrAzQ.js","/app/immutable/chunks/yglMjm12.js","/app/immutable/chunks/DgboVgd_.js","/app/immutable/chunks/BkB7PRB0.js","/app/immutable/chunks/wWw37-Ke.js","/app/immutable/chunks/B7M-47Is.js","/app/immutable/chunks/B_rOdNUT.js","/app/immutable/chunks/Dgmf4O3-.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/DCEkJXus.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/6svm3ALY.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/CPthbtAR.js","/app/immutable/chunks/HjJJbdN8.js","/app/immutable/chunks/DwxO0CzF.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/Bg5oaQDG.js","/app/immutable/chunks/BlTs1zAy.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/C5DeEaYP.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/chunks/B-4SMsb_.js","/app/immutable/chunks/Ciub7-gv.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/DBwPHDLx.js","/app/immutable/chunks/y-zFXgFQ.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/BfmZaG-s.js","/app/immutable/chunks/sX1SzO2T.js","/app/immutable/chunks/Ax2B7QQh.js","/app/immutable/chunks/Cft5DaOC.js","/app/immutable/chunks/CGDwhMyu.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/Bj-YBxcA.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/U7PCJ0KW.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/BGL-uifv.js","/app/immutable/chunks/DgNmFGXj.js","/app/immutable/chunks/Daka7UwW.js","/app/immutable/chunks/B0GuR3bJ.js","/app/immutable/chunks/B-W7deES.js","/app/immutable/chunks/CKLF9hRU.js","/app/immutable/chunks/BnVNvux0.js","/app/immutable/chunks/ColX8Rl-.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/PoxwHYkO.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/IfuzSDQC.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/BcCmxwSj.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/Dx94_CW7.js","/app/immutable/chunks/jX0VhUGG.js","/app/immutable/chunks/BzPBikEv.js","/app/immutable/chunks/BPK1anoi.js","/app/immutable/chunks/Or6TlXVc.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/D48rWb8_.js","/app/immutable/chunks/B94otgnH.js","/app/immutable/chunks/DUaNnRvN.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/BZSpcC6v.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/CsFzjSWo.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/C2RXgXeo.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/Df8V6WlA.js","/app/immutable/chunks/BUTJbFoT.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/85wf0Cv8.js","/app/immutable/chunks/Bzwng2vU.js","/app/immutable/chunks/CAYmzy7n.js","/app/immutable/chunks/COUouSsQ.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/A9zSZ8H9.js","/app/immutable/chunks/BMrvDo7v.js","/app/immutable/chunks/DJmFFfBr.js","/app/immutable/chunks/DoA8ABAE.js","/app/immutable/chunks/ow3T0tN7.js","/app/immutable/chunks/9sLim_4t.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./DxxarOOi.js";import{t as u}from"./BJs6L98H.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./B5yEHkSy.js";import{R as H}from"./wrK6ZRyS.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./3SdAC2_C.js";import{i as D}from"./DzAQQ1i-.js";import{s as fe}from"./Ch-D6DCZ.js";import{L as me}from"./DQQg-_Fv.js";import{C as Xe,L as be}from"./CvP7-iXZ.js";import{I as Ze}from"./VlOW_lom.js";import"./Cncxuk-H.js";import"./euI_ACTK.js";import{f as le}from"./D5eCb9SA.js";import{v as Ie}from"./BfQPFCP7.js";import"./DBI9dTMM.js";import"./C600Ggsz.js";import{I as ve}from"./BUT4El0L.js";import{I as et}from"./Bqd7fdCF.js";import"./C0_snm4j.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./DFO9hn7q.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./Bg5oaQDG.js"),__vite__mapDeps([210,1,2,3,11,6,7,8,9,10,15,211,22,23,24,25,26,18,13,4,67,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,76,68,57,58,59,62,63,64,69,70,71,72,73,74,75,181,91,92,85,182,212,123,213,125,52,136,84,214,99,100,215,109,110,111,112,113,216,217,102,218]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./DBwPHDLx.js"),__vite__mapDeps([219,1,2,3,4,11,28,7,8,9,10,6,57,18,22,23,24,25,26,13,58,16,17,19,59,20,220,15,221,222,64,63,92,76,85,73,223,224,225,226,227,112,212,191,228,14,12,21,27,29,30,31,32,213,229,68,62,69,70,71,72,74,75,36,42,43,40,41,217,230,38,35,39,136,33,34,37,44,45,46,215,231,149,232,233,102,234]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./Daka7UwW.js"),__vite__mapDeps([235,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,57,28,11,58,16,17,19,59,20,216,72,73,75,91,68,12,14,15,4,21,27,30,31,32,62,63,64,69,70,71,74,76,92,85,217,181,182,102,236,237,178,82,86,179,180,130,132,133,142,229,167,238,234,239,36,42,43,40,41,113,112,172,206,191,213,143,135,67,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,140,153,154,35,164,80,65,66,33,34,37,38,39,44,45,46,77,78,79,50,51,117,165,125,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./BcCmxwSj.js"),__vite__mapDeps([247,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,71,22,23,24,25,26,72,73,74,57,28,58,59,20,75,76,122,12,21,27,29,30,31,32,158,79,51,178,82,86,62,63,64,179,180,130,91,68,69,70,92,85,132,133,142,109,110,111,112,113,248]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./Dx94_CW7.js"),__vite__mapDeps([249,1,2,3,4,6,7,8,9,10,11,15,68,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,57,58,59,62,63,64,69,70,71,72,73,74,75,76,250,251,238,237,102,92,85,133,205,44,45,215,240,132,91,241,103,35,36,47,48,49,42,43,50,51,52,53,104,38,39,105,84,34,37,40,41,67,80,33,46,106,107,79,108,95,96,109,110,111,112,113,114,115,194,54,55,56,60,61,65,66,77,78,81,82,83,86,87,88,89,90,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,206,207,208,217,216]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./BPK1anoi.js"),__vite__mapDeps([252,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,217,12,20,30,32,57,58,59,68,62,63,64,69,70,71,72,73,74,75,76,91,92,85,194,87,88,60,114,120,121,125,52,161,80,164,140,65,66,67,77,78,79,50,51,117,165,99,100,48,236,216,181,182,102,237,178,82,86,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,129,131,253,98,94,95,49,96,97,118,215,254]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./D48rWb8_.js"),__vite__mapDeps([255,1,2,3,11,57,18,9,22,23,24,25,7,26,13,28,8,10,6,58,16,17,19,59,20,215,181,91,68,12,14,15,4,21,27,29,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,182,35,36,79,87,88,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,67,52,65,66,77,78,80,61,118,114,119,122,123,100,124,236,216,217,102,237,178,82,86,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,223,224,225,226,227,146,55,147,148,149,150,256,257,258,108,95,49,96,163,195,259,260,153,154,106,48,107,261,156,157,158,159,152,155,162,184,192,136,197,198,174,164,165,262]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./C2RXgXeo.js"),__vite__mapDeps([263,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,215,151,57,28,58,16,17,19,59,20,264,62,63,64,199,74,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,236,85,92,76,73,91,68,69,70,71,72,75,216,217,181,182,102,237,178,82,86,179,180,130,132,133,142,229,167,238,234,239,113,112,172,206,191,213,143,135,67,240,241,242,243,244,109,110,111,245,246,223,224,225,226,227,256,257,117,258,164,140,80,65,66,77,78,79,50,51,165,136,265,123,266,233,267]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./85wf0Cv8.js"),__vite__mapDeps([268,1,2,3,4,11,163,22,23,24,25,9,7,26,18,13,215,57,28,8,10,6,58,16,17,19,59,20,146,55,15,132,64,91,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,136,265,197,198,174,199,121]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./CAYmzy7n.js"),__vite__mapDeps([270,1,2,4,15,22,23,24,25,9,7,26,18,13,163,215,57,28,11,3,8,10,6,58,16,17,19,59,20,216,72,73,75,91,68,12,14,21,27,29,30,31,32,62,63,64,69,70,71,74,76,92,85,217,181,182,102,271,160,259,260,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,67,126,143,178,82,86,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./A9zSZ8H9.js"),__vite__mapDeps([273,1,2,15,22,23,24,25,9,7,26,18,13,163,215,57,28,11,3,8,10,6,58,16,17,19,59,20,271,29,160,259,260,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,67,126,143,181,182,216,217,102,178,82,86,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./BMrvDo7v.js"),__vite__mapDeps([274,1,2,3,271,6,7,8,9,10,29,15,22,23,24,25,26,18,13,160,57,28,11,58,16,17,19,59,20,259,260,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,67,126,143,181,182,216,217,102,178,82,86,179,180,130,142,236,237,229,167,238,234,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,223,224,225,226,227,272]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./DJmFFfBr.js"),__vite__mapDeps([275,1,2,3,4,11,58,241,24,64,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,91,57,28,6,59,20,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,215,136,265,197,198,174,199,121]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./DoA8ABAE.js"),__vite__mapDeps([276,1,2,3,152,6,7,8,9,10,140,153,64,154,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,155,167,57,58,59,72,73,74]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./ow3T0tN7.js"),__vite__mapDeps([277,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./9sLim_4t.js"),__vite__mapDeps([278,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([279,64]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{k as qa,s as fa}from"./
|
|
1
|
+
import{k as qa,s as fa}from"./Cyu5F7IF.js";import{p as ma,g as Ct,I as Wa,X as Qa,e as Nn}from"./BUT4El0L.js";import{Z as Ka,cW as Ga,A as Va,a_ as xn,bZ as Ya,v as Xa}from"./Be3ctlCz.js";import{bm as c,t as Pt,bo as w,bw as Tt,b as Rt,bq as qn,bs as Re,br as Za}from"./DxxarOOi.js";import{bo as Wn,bs as Ot,a5 as O,bl as U,bS as b,bA as $,b_ as x,aD as e,W as l,ay as H,a7 as Oe,bO as L,bn as Lt,c9 as u,aA as k,aB as _,ca as ze,bH as h,b$ as Qt,bV as le,cd as Mt,br as va,be as un,c5 as Ja,bi as En,bj as er,bf as hn,am as ta,ax as na,ai as tr,aj as nr,c0 as ar}from"./3SdAC2_C.js";import{i as M}from"./DzAQQ1i-.js";import{s as _a}from"./C600Ggsz.js";import{e as rr}from"./qM_0Sky2.js";import{s as q,g as en,f as ve,b as sr}from"./Ch-D6DCZ.js";import{a as or,n as ha}from"./DSjVYlVX.js";import{r as ir,o as lr,A as aa,L as dr}from"./CWdVki31.js";import{t as Dn}from"./DAsc1V4f.js";import{R as ra}from"./DkkzFfYK.js";import{I as ba}from"./VlOW_lom.js";import"./Cncxuk-H.js";import{aN as wn,cK as ur,aw as cr,aL as pr,cE as gr,cF as fr,as as mr,au as vr,aB as _r,aH as hr,s as br,O as wr,e4 as kr,X as xr,cv as yr,c1 as $r}from"./BfdTnj-p.js";import{Jq as Z,cp as zn,cn as wa,cq as kn,rs as Ar,DQ as Sr,fU as ka,DV as Ir,bE as Cr,A0 as Pr,mM as sa,uo as Tr,ct as Rr,uZ as oa,nI as Or,DA as Lr,DT as Nr,cb as Er}from"./Zs30783q.js";import{A as Dr,b as Mr}from"./BMfEzUyf.js";import{y as Fr}from"./Bqd7fdCF.js";import{l as zr}from"./BOABr5iA.js";import{f as ia}from"./BwxJWPNn.js";import{h as Br,g as jr}from"./CmHh0Wvy.js";import{o as Hr,S as Ur}from"./D4Ynme_h.js";import"./euI_ACTK.js";import{ae as qr,ah as Wr,f as Mn,a1 as Qr}from"./D5eCb9SA.js";import{h as Kr,F as la}from"./BfQPFCP7.js";import"./DBI9dTMM.js";import{C as Gr,k as Vr,j as Yr,i as Xr}from"./CvP7-iXZ.js";import{L as Zr}from"./DQQg-_Fv.js";import{c as de}from"./CruJ4jyB.js";import{c as Bn,b as da,d as jn,a as Hn,A as xa}from"./D6KeRVx3.js";import{l as Wt,b as Jr}from"./BqJSWZOr.js";import{F as es,bc as ts}from"./piMAhJa1.js";import{D as ns}from"./C_-1lZIi.js";import{b as as}from"./BHhpe04T.js";import{T as rs}from"./BuXfbkCo.js";import"./DtVS2Hpo.js";import{cl as ya,cP as ss,cO as os,bR as is,M as ls,F as yn,b5 as ds,au as us,aK as cs,aG as ps,cT as gs,be as fs,aA as ms,aL as vs,b1 as _s,ah as ua,a8 as hs,c6 as bs,ag as ws,cF as ks,an as xs,cS as ys,aD as $s}from"./B5yEHkSy.js";import{b as As}from"./Dn334wJv.js";import"./BrfF5NLx.js";import{S as bn}from"./SqcDn3FF.js";import{E as Ss}from"./Dep4c5m-.js";import"./B55Lo0FS.js";import{f as Is}from"./w8yC-37t.js";import{P as Cs}from"./DxXHN0Kd.js";import{b as Ps,P as Ts}from"./DVK3tNru.js";import{h as Rs,H as Os,g as Ls}from"./C7PhRIIZ.js";const Ns=80,Es=10,Ds=new Ka(Ga,{renderer:{html({text:a}){return Va(a)},image({tokens:a}){return this.parser.parseInline(a)}}});function Qn(a){const n=document.createElement("template");n.innerHTML=Ds.parseInline(a,{async:!1});for(const o of n.content.querySelectorAll("br"))o.replaceWith(" ");return(n.content.textContent??"").replace(/\s+/g," ").trim()}function Ft(a){return a.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/`+([^`]*?)`+/g,"$1").replace(/<[^>]+>/g,"").replace(/\\([\\`*_[\]{}()#+\-.!>])/g,"$1").replace(/[*~]/g,"").replace(/(^|[^A-Za-z0-9])_+/g,"$1").replace(/_+([^A-Za-z0-9]|$)/g,"$1").replace(/\s+/g," ").trim()}function Un(a,n){return a.slice(n).replace(/^(?:[ \t]*(?:\r\n|\n|\r))+/,"")}function Sn(a,n){return!n||n.length>Ns||n.split(/\s+/).length>Es||/[.!?;]$/.test(n)?!1:!/^[ \t]*(?:[-+*][ \t]+|\d+[.)][ \t]+|>|```|~~~|\|)/.test(a)}function tl(a){const o=a.trim().match(/^\*\*([^\r\n]+)\*\*$/);if(!o)return null;const i=Ft(o[1]);return Sn(o[0],i)?i:null}function Kn(a,n=!1,o=!0){const i=a.match(/^(?:[ \t]*(?:\r\n|\n|\r))*/)?.[0]??"",r=a.slice(i.length).match(/^\*\*([^\r\n]+)\*\*[ \t]*(?:(?:\r\n|\n|\r)|$)/);if(!r)return null;if(n){const v=r[1],f=v.match(/\\+$/)?.[0].length??0;if(v!==v.trim()||v.includes("**")||v.startsWith("*")||v.endsWith("*")||f%2!==0)return null}const p=Ft(r[1]);return Sn(r[0],p)?{title:n&&o?Qn(r[1]):p,body:Un(a,i.length+r[0].length)}:null}function ca(a){const n=[];let o=a;for(;o.trim();){const i=Gn(o,!0),d=i.heading?{body:i.body}:Kn(o,!0,!1);if(!d)return null;n.push(o.slice(0,o.length-d.body.length)),o=d.body}return n.length?n:null}function nl(a){const n=[];let o=a;for(;o.trim();){const i=Gn(o,!0,Qn),d=i.heading?{title:i.heading,body:i.body}:Kn(o,!0);if(!d)return null;n.push(d.title),o=d.body}return n.length?n:null}function al(a){const n=Fs(a),o=[];let i=a;for(n.heading&&(o.push({title:n.heading,body:""}),i=n.body);i;){const d=Kn(i);if(!d||d.body.length>=i.length)break;o.push({title:d.title,body:""}),i=d.body}if(o.length===0){const d=a.trim(),r=Ft(d);return!d.includes(`
|
|
2
2
|
`)&&Sn(d,r)?[{title:r,body:""}]:d?[{title:null,body:d}]:[]}return o[o.length-1].body=i.trim(),o}function Ms(a){const n=a.replace(/^ {0,3}/,"");return!/^(?:\s|>|`{3}|~{3}|(?:[-+*]|\d+[.)])(?:[ \t]|$)|#{1,6}(?:[ \t]|$)|<|\[[^\]]*\]:)/.test(n)&&!/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})$/.test(n)}function Gn(a,n=!1,o=Ft){const i=a.match(/^(?:\uFEFF)?(?:[ \t]*(?:\r\n|\n|\r))*/)?.[0]??"",d=a.slice(i.length);if(n&&/^(?: {4}| {0,3}\t)/.test(d))return{heading:null,body:a};const r=d.match(/^[ \t]{0,3}#{1,6}[ \t]+([^\r\n]*?)(?:[ \t]+#+)?[ \t]*(?:\r\n|\n|\r|$)/);if(r&&Ft(r[1]))return{heading:o(r[1]),body:Un(a,i.length+r[0].length)};const p=d.match(/^([^\r\n]+)(?:\r\n|\n|\r)([ \t]{0,3})(?:=+|-+)[ \t]*(?:\r\n|\n|\r|$)/);return p&&(!n||Ms(p[1])&&!p[2].includes(" "))&&Ft(p[1])?{heading:o(p[1]),body:Un(a,i.length+p[0].length)}:{heading:null,body:a}}function Fs(a,{preserveInlineText:n=!1}={}){const o=n?Qn:Ft,i=Gn(a,!1,o);if(i.heading)return i;const d=a.match(/^(?:\uFEFF)?(?:[ \t]*(?:\r\n|\n|\r))*/)?.[0]??"",p=a.slice(d.length).match(/^([^\r\n]+)(?:\r\n|\n|\r)(?:[ \t]*(?:\r\n|\n|\r))+/);if(p){const v=Ft(p[1]),f=a.slice(d.length+p[0].length);if(f.trim()&&Sn(p[1],v))return{heading:o(p[1]),body:f}}return{heading:null,body:a}}const Kt="[--operational-row-inline-padding:var(--chat-operational-row-inline-padding,0.5rem)] [--operational-leading-slot-size:1.25rem] [--operational-leading-half-slot-size:0.625rem] [--operational-leading-gap:var(--chat-operational-leading-gap,0.5rem)]",rl="type-body font-family-child font-normal text-muted-foreground",sl=`${Kt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))]`,ol=`${Kt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))] pt-1.5`,il=`${Kt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))] pt-1`,ll=`${Kt} relative min-w-0 max-w-full`,dl=`${Kt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))]`,ul=`${Kt} operational-group-child-row ml-2 min-w-0 w-[calc(100%-0.5rem)] max-w-[calc(100%-0.5rem)]`,cl="pt-6",pl="text-muted-foreground",gl="text-muted-foreground",$a="font-normal text-muted-foreground",fl="tool-call-container group relative block w-full min-w-0 max-w-full overflow-hidden type-body font-family-child font-normal text-muted-foreground",ml="h-[16px]! w-[16px]! shrink-0",vl=`${Kt} relative grid h-7 w-full min-w-0 max-w-full grid-cols-[var(--operational-leading-slot-size)_minmax(0,1fr)_auto] items-center gap-[var(--operational-leading-gap)] overflow-hidden rounded-md px-[var(--operational-row-inline-padding)] type-body transition-colors duration-[var(--motion-fast)] motion-reduce:transition-none`,_l=`a11y-ignore pointer-events-none flex size-[var(--operational-leading-slot-size)] min-w-[var(--operational-leading-slot-size)] shrink-0 items-center justify-center [&_svg]:size-[16px]! ${$a}`,hl=`type-body block min-w-0 max-w-full truncate overflow-hidden text-ellipsis whitespace-nowrap border-0 bg-transparent p-0 text-left ${$a}`,bl="type-body flex min-w-0 shrink-0 items-center gap-1 whitespace-nowrap",wl="h-[16px]! w-[16px]! shrink-0 opacity-60 transition-transform duration-[var(--motion-fast)] motion-reduce:transition-none";function kl(a){return qa(a,{axis:"y",duration:ma()?0:150})}function cn(a){return a.type==="thinking"||a.type==="tool_use"||a.type==="content_group"}function xl(a){const n=a?.[0];return!n||cn(n)?"":"pt-4"}function yl(a,n,o=()=>!0){const i=a[n];if(!i||!o(i)||!cn(i))return!1;let d=n-1;for(;d>=0&&!o(a[d]);)d-=1;return d>=0&&cn(a[d])}function $l(a,n,o=()=>!0,i=!1){const d=a[n];if(!d||!o(d))return"";let r=n-1;for(;r>=0&&!o(a[r]);)r-=1;if(r<0)return"";const p=a[r];if(p.type==="thinking"&&d.type==="thinking")return i||ca(p.text??p.content??"")!==null&&ca(d.text??d.content??"")!==null?"":"pt-14";const v=cn(p),f=cn(d);return v&&f?"":p.type==="thinking"&&!f?"pt-6":v||f?"pt-4":"pt-1"}const Al="shrink-0 whitespace-nowrap text-ui text-subtle focus-visible:outline-none focus-visible:text-foreground";function zs(a){if(a?.status==="halted")return c.agent_node_halted_label();if(a?.status==="resuming")return c.agent_node_resuming_label();if(a?.placement?.target==="remote"||Fr(a?.placement?.target)){if(a.placementError)return c.remoteAgent_status_failed();if(a.cloudStart)return c.remoteAgent_status_starting();if(a.effectiveIsolation==="pending")return a.setup?.state==="pending"?c.remoteAgent_status_preparingCheckout():a.setup?.state==="running"?c.remoteAgent_status_runningSetup():c.remoteAgent_status_starting()}if(a?.placement&&a.effectiveIsolation==="pending")return c.agent_node_provisioning_label()}var Bs=_('<span class="owner-fill block h-full svelte-sxf8s9"></span>'),js=_('<span class="shrink-0 text-xs text-muted-foreground"> </span>'),Hs=_('<span class="flex items-center gap-2"><span class="group-key size-1.5 shrink-0 rounded-full svelte-sxf8s9"></span> <span class="min-w-0 flex-1"> </span> <!> <span> </span></span>'),Us=_('<dd class="col-span-2 pl-[1.125rem] text-xs text-muted-foreground wrap-anywhere"> </dd>'),qs=_(`<div class="grid grid-cols-[1fr_auto] items-baseline gap-x-3 py-0.5 text-sm"><dt class="relative min-w-0 pl-[1.125rem] wrap-anywhere before:absolute before:top-2 before:left-0 before:size-1 before:rounded-full before:bg-muted-foreground before:content-['']"> </dt> <dd> </dd> <!></div>`),Ws=_('<dl class="ml-3.5 text-foreground"></dl>'),Fn=_("<!> <!>",1),Qs=_('<span class="flex items-center gap-2"><span class="min-w-0 flex-1"> </span> <span class="shrink-0 tabular-nums text-muted-foreground"> </span></span>'),Ks=_('<div class="min-w-0"><dt class="truncate text-sm text-foreground"> </dt> <dd class="text-xs text-muted-foreground wrap-anywhere"> </dd></div>'),Gs=_('<dl class="ml-3.5 flex flex-col gap-2"></dl>'),Vs=_('<section class="min-w-0" data-testid="prompt-breakdown"><div class="mb-3 flex items-baseline justify-between gap-3"><h3 class="text-sm font-medium"> </h3> <span class="shrink-0 text-sm tabular-nums text-muted-foreground"> </span></div> <div class="owner-strip mb-2 flex h-1.5 w-full overflow-hidden svelte-sxf8s9" role="img"></div> <!></section>');function Aa(a,n){const o=Wn();if(new.target)return Pt({component:Aa,...a});Ot(n,!0);let i=w(n,"breakdown",7);const d="type-body font-normal text-foreground data-[state=open]:font-normal";function r(T){return Jr(T,{maximumFractionDigits:T<1e4?1:0})}function p(T){return T==="native"?c.agent_contextBreakdown_owner_native_label():T==="intent"?c.agent_contextBreakdown_owner_intent_label():c.agent_contextBreakdown_owner_user_label()}const v=u(()=>i().owners.map(T=>c.agent_contextBreakdown_ownerShare_label({owner:p(T.owner),tokens:r(T.estTokens)})).join(", "));var f={get breakdown(){return i()},set breakdown(T){i(T),k()},$set:Tt,$on:(T,m)=>Rt(n,T,m)},S=Vs(),y=O(S),g=O(y),E=U(g,!0),F=b(g,2),Ce=U(F,!0);$(y);var D=b(y,2);Ct(D,21,()=>i().owners,T=>T.owner,(T,m)=>{var me=Bs();let ue;x(()=>{q(me,"data-owner",e(m).owner),ue=en(me,"",ue,{"flex-grow":e(m).share})}),l(T,me)}),$(D);var P=b(D,2);return de(P,()=>xa,(T,m)=>{m(T,{type:"multiple",children:(me,ue)=>{var R=Fn(),_e=H(R);Ct(_e,17,()=>i().groups,pe=>pe.kind,(pe,G)=>{var W=Oe(),ne=H(W);de(ne,()=>Bn,(ge,Fe)=>{Fe(ge,{get value(){return e(G).kind},get"data-prompt-group"(){return e(G).kind},children:(ot,K)=>{var I=Fn(),ae=H(I);de(ae,()=>da,(he,N)=>{N(he,{level:4,children:(Le,X)=>{var Q=Oe(),J=H(Q);de(J,()=>jn,(V,oe)=>{oe(V,{inset:!1,class:d,children:(ee,Ne)=>{var be=Hs(),je=O(be),et=b(je,2),ut=U(et,!0),tt=b(et,2);{var at=ct=>{var Nt=js(),yt=U(Nt,!0);x(Y=>L(yt,Y),[()=>c.agent_contextBreakdown_notCounted_label()]),l(ct,Nt)};M(tt,ct=>{e(G).kind==="native"&&ct(at)})}var Ee=b(tt,2),Gt=U(Ee,!0);$(be),x((ct,Nt)=>{q(je,"data-kind",e(G).kind),L(ut,ct),ve(Ee,1,`shrink-0 tabular-nums ${e(G).kind==="native"?"text-muted-foreground":""}`),L(Gt,Nt)},[()=>p(e(G).kind),()=>r(e(G).estTokens)]),l(ee,be)},$$slots:{default:!0}})}),l(Le,Q)},$$slots:{default:!0}})});var Be=b(ae,2);de(Be,()=>Hn,(he,N)=>{N(he,{inset:!1,children:(Le,X)=>{var Q=Ws();Ct(Q,21,()=>e(G).rows,J=>J.key,(J,V)=>{var oe=qs(),ee=O(oe),Ne=U(ee,!0),be=b(ee,2),je=U(be,!0),et=b(be,2);{var ut=tt=>{var at=Us(),Ee=U(at,!0);x(()=>L(Ee,e(V).hint)),l(tt,at)};M(et,tt=>{e(V).hint&&tt(ut)})}$(oe),x(tt=>{L(Ne,e(V).label),ve(be,1,`tabular-nums ${e(V).counted?"":"text-muted-foreground"}`),L(je,tt)},[()=>r(e(V).estTokens)]),l(J,oe)}),$(Q),l(Le,Q)},$$slots:{default:!0}})}),l(ot,I)},$$slots:{default:!0}})}),l(pe,W)});var ce=b(_e,2);{var xe=pe=>{var G=Oe(),W=H(G);de(W,()=>Bn,(ne,ge)=>{ge(ne,{value:"hidden-skills",class:"mt-1",children:(Fe,ot)=>{var K=Fn(),I=H(K);de(I,()=>da,(Be,he)=>{he(Be,{level:4,children:(N,Le)=>{var X=Oe(),Q=H(X);de(Q,()=>jn,(J,V)=>{V(J,{inset:!1,class:d,children:(oe,ee)=>{var Ne=Qs(),be=O(Ne),je=U(be,!0),et=b(be,2),ut=U(et,!0);$(Ne),x((tt,at)=>{L(je,tt),L(ut,at)},[()=>c.agent_contextBreakdown_hiddenSkills_title(),()=>Wt(i().hiddenSkills.length)]),l(oe,Ne)},$$slots:{default:!0}})}),l(N,X)},$$slots:{default:!0}})});var ae=b(I,2);de(ae,()=>Hn,(Be,he)=>{he(Be,{inset:!1,children:(N,Le)=>{var X=Gs();Ct(X,21,()=>i().hiddenSkills,Q=>Q.name,(Q,J)=>{var V=Ks(),oe=O(V),ee=U(oe,!0),Ne=b(oe,2),be=U(Ne,!0);$(V),x(je=>{L(ee,e(J).name),L(be,je)},[()=>[e(J).detail,e(J).fix].filter(Boolean).join(" · ")]),l(Q,V)}),$(X),l(N,X)},$$slots:{default:!0}})}),l(Fe,K)},$$slots:{default:!0}})}),l(pe,G)};M(ce,pe=>{i().hiddenSkills.length>0&&pe(xe)})}l(me,R)},$$slots:{default:!0}})}),$(S),x((T,m)=>{q(S,"aria-labelledby",`${o}-title`),q(g,"id",`${o}-title`),L(E,T),L(Ce,m),q(D,"aria-label",e(v))},[()=>c.agent_contextBreakdown_title(),()=>c.agent_contextBreakdown_tokens_label({tokens:r(i().estTokens)})]),l(a,S),Lt(f)}const Ys=["intent","user"],Xs=["systemPrompt","toolDescription","provider"],Zs=["native","user","intent"],$n=a=>typeof a=="object"&&a!==null&&!Array.isArray(a),An=a=>typeof a=="number"&&Number.isFinite(a)&&a>=0,Js=a=>a==="intent"||a==="user";function eo(a,n){if(!$n(a))return null;const{id:o,label:i,owner:d,location:r,chars:p,estTokens:v,controlHint:f}=a;if(typeof o!="string"||typeof i!="string"||!Js(d)||typeof r!="string"||!Xs.includes(r)||!An(p)||!An(v))return null;const S=$n(f)&&typeof f.text=="string"&&f.text;return{key:`${n}:${o}`,id:o,label:i,owner:d,chars:p,estTokens:v,counted:r!=="provider",...S?{hint:S}:{}}}function to(a){if(!$n(a))return null;const{name:n,reason:o,detail:i,fix:d}=a;return[n,o,i,d].some(r=>typeof r!="string")?null:{name:n,reason:o,detail:i,fix:d}}function no(a){if(!$n(a)||a.available!==!0)return null;const{totalChars:n,estTokens:o,sections:i,hiddenSkills:d}=a;if(!An(n)||!An(o)||!Array.isArray(i)||!Array.isArray(d))return null;const r=i.map(eo).filter(f=>f!==null).sort((f,S)=>S.chars-f.chars),p=Ys.map(f=>{const S=r.filter(g=>g.counted&&g.owner===f),y=S.reduce((g,E)=>g+E.chars,0);return{owner:f,chars:y,estTokens:S.reduce((g,E)=>g+E.estTokens,0),share:n>0?y/n:0}}).filter(f=>f.chars>0),v=Zs.map(f=>{const S=r.filter(y=>f==="native"?!y.counted:y.counted&&y.owner===f);return{kind:f,chars:S.reduce((y,g)=>y+g.chars,0),estTokens:S.reduce((y,g)=>y+g.estTokens,0),rows:S}}).filter(f=>f.rows.length>0);return{totalChars:n,estTokens:o,rows:r,groups:v,owners:p,hiddenSkills:d.map(to).filter(f=>f!==null)}}async function ao(a){try{const n=await Kr("agent.getSession",{agentId:a});return no(n?.session?.promptBreakdown)}catch{return null}}const pa=es.map(a=>({key:a.path.replace(/^agentFeatures\./,""),label:a.label,description:a.description}));function ro(a){const n=a.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").toLowerCase().trim();return n.charAt(0).toUpperCase()+n.slice(1)}function so(a){const n=a??{},o=pa.map(r=>({key:r.key,label:r.label(),description:r.description(),enabled:n[r.key]===!0,known:!0})),i=new Set(pa.map(r=>r.key)),d=[];for(const[r,p]of Object.entries(n))i.has(r)||d.push({key:r,label:ro(r),description:null,enabled:p===!0,known:!1});return d.sort((r,p)=>r.label.localeCompare(p.label)),o.concat(d)}var oo=_('<div class="mb-6 border-b border-border pb-6"><!></div>'),io=_("<span> </span>"),lo=_('<!> <span class="sr-only"> </span>',1),uo=_('<div role="listitem" class="text-xs text-subtle" aria-hidden="true">—</div>'),co=_('<section class="min-w-0"><h4 class="text-sm font-medium mb-3"> </h4> <div role="list" class="space-y-2"></div></section>'),po=_('<div class="@container"><!> <section><h3 class="text-sm font-medium"> </h3> <p class="mb-4 mt-1 text-sm text-muted-foreground"> </p> <div class="grid grid-cols-1 gap-6 @min-[28rem]:grid-cols-2" data-testid="harness-features-list"></div></section></div>');function Sa(a,n){const o=Wn();if(new.target)return Pt({component:Sa,...a});Ot(n,!0);let i=w(n,"open",15,!1),d=w(n,"static",7,!1),r=w(n,"version",7),p=w(n,"features",7,null),v=w(n,"agentId",7),f=w(n,"breakdown",7),S=le(null);const y=u(()=>f()===void 0&&!!v());ze(()=>{if(!i()||!e(y)||!v())return;const D=v();let P=!0;return ao(D).then(T=>{P&&h(S,{agentId:D,view:T},!0)}),()=>{P=!1}});const g=u(()=>f()!==void 0?f():e(y)&&e(S)&&e(S).agentId===v()?e(S).view:null),E=u(()=>so(p())),F=u(()=>[{enabled:!0,label:c.chat_shared_valueOn_label(),rows:e(E).filter(D=>D.enabled)},{enabled:!1,label:c.chat_shared_valueOff_label(),rows:e(E).filter(D=>!D.enabled)}]);var Ce={get open(){return i()},set open(D=!1){i(D),k()},get static(){return d()},set static(D=!1){d(D),k()},get version(){return r()},set version(D){r(D),k()},get features(){return p()},set features(D=null){p(D),k()},get agentId(){return v()},set agentId(D){v(D),k()},get breakdown(){return f()},set breakdown(D){f(D),k()},$set:Tt,$on:(D,P)=>Rt(n,D,P)};{let D=u(()=>c.chat_harnessFeaturesModal_title({version:r()}));Gr(a,{get static(){return d()},get title(){return e(D)},size:"wide",get open(){return i()},set open(P){i(P)},children:(P,T)=>{var m=po(),me=O(m);{var ue=W=>{var ne=oo(),ge=O(ne);Aa(ge,{get breakdown(){return e(g)}}),$(ne),l(W,ne)};M(me,W=>{e(g)&&W(ue)})}var R=b(me,2),_e=O(R),ce=U(_e,!0),xe=b(_e,2),pe=U(xe,!0),G=b(xe,2);Ct(G,21,()=>e(F),W=>W.enabled,(W,ne)=>{var ge=co(),Fe=O(ge),ot=U(Fe,!0),K=b(Fe,2);Ct(K,21,()=>e(ne).rows,I=>I.key,(I,ae)=>{Zr(I,{role:"listitem",class:"min-h-0 px-0 py-0 [&_.truncate]:whitespace-normal","data-testid":"harness-feature-state",get"data-feature"(){return e(ae).key},get"data-enabled"(){return e(ae).enabled},title:he=>{var N=Oe(),Le=H(N);{var X=J=>{var V=lo(),oe=H(V);qr(oe,{get content(){return e(ae).description},side:"top",size:"sm",children:(be,je)=>{var et=io(),ut=U(et,!0);x(()=>L(ut,e(ae).label)),l(be,et)},$$slots:{default:!0}});var ee=b(oe,2),Ne=U(ee,!0);x(()=>L(Ne,e(ae).description)),l(J,V)},Q=J=>{var V=Qt();x(()=>L(V,e(ae).label)),l(J,V)};M(Le,J=>{e(ae).description?J(X):J(Q,-1)})}l(he,N)},$$slots:{title:!0}})},I=>{var ae=uo();l(I,ae)}),$(K),$(ge),x(()=>{q(ge,"aria-label",e(ne).label),L(ot,e(ne).label)}),l(W,ge)}),$(G),$(R),$(m),x((W,ne)=>{q(R,"aria-labelledby",`${o}-capabilities`),q(_e,"id",`${o}-capabilities`),L(ce,W),L(pe,ne)},[()=>c.chat_harnessFeaturesModal_capabilities_title(),()=>c.chat_harnessFeaturesModal_description()]),l(P,m)},$$slots:{default:!0}})}return Lt(Ce)}var go=_('<p role="alert" class="type-body text-danger"> </p>');function Ia(a,n){if(new.target)return Pt({component:Ia,...a});Ot(n,!0);const o=()=>Re(g,"$outcome$",i),[i,d]=qn();let r=w(n,"open",15,!1),p=w(n,"agentName",7),v=w(n,"workspaceId",7),f=w(n,"agentId",7);const S=crypto.randomUUID(),y=Mt(""),g=xn(y,S),E=u(()=>o()?.workspaceId===v()&&o().agentId===f()?o():void 0),F=u(()=>e(E)?.status==="pending"),Ce=u(()=>e(E)?.status==="failed"?e(E).error:"");ze(()=>{const m=v();return f(),y.set(m),()=>Z.dispatch(zn(m,S))}),ze(()=>{e(E)?.status==="succeeded"&&(r(!1),Z.dispatch(wa(v(),S,e(E).requestId)))});function D(){const m=xn.select(Z.state,v(),S);m?.agentId===f()&&m.status==="pending"||Z.dispatch(kn(v(),S,crypto.randomUUID(),f(),{kind:"retire"}))}var P={get open(){return r()},set open(m=!1){r(m),k()},get agentName(){return p()},set agentName(m){p(m),k()},get workspaceId(){return v()},set workspaceId(m){v(m),k()},get agentId(){return f()},set agentId(m){f(m),k()},$set:Tt,$on:(m,me)=>Rt(n,m,me)};{const m=ce=>{var xe=Oe(),pe=H(xe);{var G=W=>{var ne=go(),ge=U(ne,!0);x(()=>L(ge,e(Ce))),l(W,ne)};M(pe,W=>{e(Ce)&&W(G)})}l(ce,xe)};let me=u(()=>c.modals_retireAgent_title()),ue=u(()=>c.modals_retireAgent_description({name:p()})),R=u(()=>c.modals_retireAgent_confirm_label()),_e=u(()=>c.modals_bulkActionConfirm_cancel_label());ns(a,{get title(){return e(me)},get description(){return e(ue)},get confirmLabel(){return e(R)},get cancelLabel(){return e(_e)},focusSubmit:!1,focusCancel:!0,get busy(){return e(F)},onConfirm:D,get open(){return r()},set open(ce){r(ce)},details:m,$$slots:{details:!0}})}var T=Lt(P);return d(),T}function fo({agentName:a,specialist:n}){const o=n?`{ topLevel: true, specialist: ${JSON.stringify(n)} }`:"{ topLevel: true }",i=n?`and keep the same specialist (${JSON.stringify(n)})`:"and, if you were created with a specialist, pass that exact same `specialist` value in the options";return`Please replace yourself with a fresh top-level agent and run a gradual, coordinated hand-off:
|
|
3
3
|
|
|
4
4
|
1. Create your replacement now: call \`ws.agent.create(${JSON.stringify(a)}, kickoffMessage, ${o})\`. The first argument must be your EXACT current name (${JSON.stringify(a)}) ${i}. Write the kickoff message as a thorough context hand-off: the overall goal, the current state of the work, key notes and files, decisions already made, and open threads.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aZ as Ae,U as ke,Y as ae,b0 as Fe,V as Pe,a_ as ve,b as o,X as Vt,ay as bt,aW as Lt,B as Ce,r as Le,O as V,aV as Ee,a6 as De}from"./
|
|
1
|
+
import{aZ as Ae,U as ke,Y as ae,b0 as Fe,V as Pe,a_ as ve,b as o,X as Vt,ay as bt,aW as Lt,B as Ce,r as Le,O as V,aV as Ee,a6 as De}from"./Bw79RGVy.js";import{l as ie}from"./D0nMX7Fy.js";var Et=(function(){var t=o(function(Y,r,l,x){for(l=l||{},x=Y.length;x--;l[Y[x]]=r);return l},"o"),n=[1,3],f=[1,4],d=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],_=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],k=[2,36],u=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],g=[1,41],A=[1,45],ht=[1,14],xt=[1,23],ft=[1,18],gt=[1,19],ct=[1,20],_t=[1,21],dt=[1,22],i=[1,24],zt=[1,25],It=[1,26],wt=[1,27],Bt=[1,28],Rt=[1,29],U=[1,32],Q=[1,33],F=[1,34],P=[1,39],v=[1,40],C=[1,42],L=[1,44],X=[1,63],H=[1,62],E=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Xt=[1,71],Ht=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],Kt=[1,77],w=[4,5,6,7,8,9,10,11,12,13,14,15,18],K=[1,91],Z=[1,92],J=[1,93],$=[1,100],tt=[1,94],et=[1,97],it=[1,95],at=[1,96],nt=[1,98],st=[1,99],At=[1,103],Zt=[10,55,56,57],N=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],kt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,x,c,S,e,ut){var s=e.length-1;switch(S){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],c.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),c.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),c.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),c.setAccDescription(this.$);break;case 46:c.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:c.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:c.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:c.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:c.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:c.setXAxisLeftText(e[s-2]),c.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",c.setXAxisLeftText(e[s-1]);break;case 53:c.setXAxisLeftText(e[s]);break;case 54:c.setYAxisBottomText(e[s-2]),c.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",c.setYAxisBottomText(e[s-1]);break;case 56:c.setYAxisBottomText(e[s]);break;case 57:c.setQuadrant1Text(e[s]);break;case 58:c.setQuadrant2Text(e[s]);break;case 59:c.setQuadrant3Text(e[s]);break;case 60:c.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:f,55:d,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:f,55:d,56:h,57:p},{18:n,26:9,27:2,28:f,55:d,56:h,57:p},t(y,[2,33],{29:10}),t(_,[2,61]),t(_,[2,62]),t(_,[2,63]),{1:[2,30]},{1:[2,31]},t(a,k,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(y,[2,34]),{27:46,55:d,56:h,57:p},t(a,[2,37]),t(a,k,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:u,5:T,10:q,12:m,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Bt,54:Rt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(a,[2,45]),t(a,[2,46]),{18:[1,51]},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:52,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:53,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:54,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:55,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:56,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:q,12:m,13:b,14:g,15:A,43:57,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,44:[1,58],47:[1,59],58:61,59:60,63:F,64:P,65:v,66:C,67:L},t(E,[2,64]),t(E,[2,66]),t(E,[2,67]),t(E,[2,70]),t(E,[2,71]),t(E,[2,72]),t(E,[2,73]),t(E,[2,74]),t(E,[2,75]),t(E,[2,76]),t(E,[2,77]),t(E,[2,78]),t(E,[2,79]),t(E,[2,80]),t(E,[2,81]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:65,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,21:64},t(a,[2,53],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,78],63:F,64:P,65:v,66:C,67:L}),t(a,[2,56],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,49:[1,79],63:F,64:P,65:v,66:C,67:L}),t(a,[2,57],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,58],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,59],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,60],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),{45:[1,80]},{44:[1,81]},t(E,[2,65]),t(E,[2,82]),t(E,[2,83]),t(E,[2,84]),{3:83,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Xt,10:Ht,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,18:[1,82]},t(w,[2,23]),t(w,[2,1]),t(w,[2,2]),t(w,[2,3]),t(w,[2,4]),t(w,[2,5]),t(w,[2,6]),t(w,[2,7]),t(w,[2,8]),t(w,[2,9]),t(w,[2,10]),t(w,[2,11]),t(w,[2,12]),t(a,[2,52],{58:31,43:84,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,55],{58:31,43:85,4:u,5:T,10:q,12:m,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),{46:[1,86]},{45:[1,87]},{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:89,23:88},t(w,[2,24]),t(a,[2,51],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,54],{59:60,58:61,4:u,5:T,8:X,10:q,12:m,13:b,14:g,15:A,18:H,63:F,64:P,65:v,66:C,67:L}),t(a,[2,47],{22:89,16:90,23:101,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{46:[1,102]},t(a,[2,29],{10:At}),t(Zt,[2,27],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),t(N,[2,25]),t(N,[2,13]),t(N,[2,14]),t(N,[2,15]),t(N,[2,16]),t(N,[2,17]),t(N,[2,18]),t(N,[2,19]),t(N,[2,20]),t(N,[2,21]),t(N,[2,22]),t(a,[2,49],{10:At}),t(a,[2,48],{22:89,16:90,23:105,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:106},t(N,[2,26]),t(a,[2,50],{10:At}),t(Zt,[2,28],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var x=new Error(r);throw x.hash=l,x}},"parseError"),parse:o(function(r){var l=this,x=[0],c=[],S=[null],e=[],ut=this.table,s="",yt=0,Jt=0,me=2,$t=1,be=e.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(j.yy[Ft]=this.yy[Ft]);D.setInput(r,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Pt=D.yylloc;e.push(Pt);var Se=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(R){x.length=x.length-2*R,S.length=S.length-R,e.length=e.length-R}o(_e,"popStack");function te(){var R;return R=c.pop()||D.lex()||$t,typeof R!="number"&&(R instanceof Array&&(c=R,R=c.pop()),R=l.symbols_[R]||R),R}o(te,"lex");for(var B,G,W,vt,rt={},Tt,M,ee,qt;;){if(G=x[x.length-1],this.defaultActions[G]?W=this.defaultActions[G]:((B===null||typeof B>"u")&&(B=te()),W=ut[G]&&ut[G][B]),typeof W>"u"||!W.length||!W[0]){var Ct="";qt=[];for(Tt in ut[G])this.terminals_[Tt]&&Tt>me&&qt.push("'"+this.terminals_[Tt]+"'");D.showPosition?Ct="Parse error on line "+(yt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+qt.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ct="Parse error on line "+(yt+1)+": Unexpected "+(B==$t?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[B]||B,line:D.yylineno,loc:Pt,expected:qt})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+B);switch(W[0]){case 1:x.push(B),S.push(D.yytext),e.push(D.yylloc),x.push(W[1]),B=null,Jt=D.yyleng,s=D.yytext,yt=D.yylineno,Pt=D.yylloc;break;case 2:if(M=this.productions_[W[1]][1],rt.$=S[S.length-M],rt._$={first_line:e[e.length-(M||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(M||1)].first_column,last_column:e[e.length-1].last_column},Se&&(rt._$.range=[e[e.length-(M||1)].range[0],e[e.length-1].range[1]]),vt=this.performAction.apply(rt,[s,Jt,yt,j.yy,W[1],S,e].concat(be)),typeof vt<"u")return vt;M&&(x=x.slice(0,-1*M*2),S=S.slice(0,-1*M),e=e.slice(0,-1*M)),x.push(this.productions_[W[1]][0]),S.push(rt.$),e.push(rt._$),ee=ut[x[x.length-2]][x[x.length-1]],x.push(ee);break;case 3:return!0}}return!0},"parse")},qe=(function(){var Y={EOF:1,parseError:o(function(l,x){if(this.yy.parser)this.yy.parser.parseError(l,x);else throw new Error(l)},"parseError"),setInput:o(function(r,l){return this.yy=l||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:o(function(r){var l=r.length,x=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),x.length-1&&(this.yylineno-=x.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:x?(x.length===c.length?this.yylloc.first_column:0)+c[c.length-x.length].length-x[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(r){this.unput(this.match.slice(r))},"less"),pastInput:o(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|