openpond 0.0.68 → 0.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/chunks/{actions-command-DLOKFA34.js → actions-command-6N5XWMR6.js} +4 -4
  2. package/dist/chunks/{app-layer-K7NAOLDL.js → app-layer-EXXOWJ5H.js} +7 -7
  3. package/dist/chunks/{app-server-runtime-OFZZIWAB.js → app-server-runtime-7FBQBE3C.js} +10 -10
  4. package/dist/chunks/{apps-5VSVJLM7.js → apps-RZSDOFAG.js} +7 -7
  5. package/dist/chunks/{chunk-N6FKRVAT.js → chunk-47EIAYI7.js} +2 -2
  6. package/dist/chunks/{chunk-7FW2CVYN.js → chunk-4L3ZJS2T.js} +426 -1
  7. package/dist/chunks/{chunk-OOJP442J.js → chunk-5TKZBMQM.js} +1 -1
  8. package/dist/chunks/{chunk-WEB37YVJ.js → chunk-7C4OIFOC.js} +1 -1
  9. package/dist/chunks/{chunk-MUS7KPXK.js → chunk-BLFIIAWZ.js} +1931 -19
  10. package/dist/chunks/{chunk-3KLQ52B2.js → chunk-BVY5JYM6.js} +4 -9
  11. package/dist/chunks/{chunk-DBHSOTYZ.js → chunk-D7BO5Y5J.js} +3 -24
  12. package/dist/chunks/chunk-DLQQIWN2.js +648 -0
  13. package/dist/chunks/{chunk-T55IL3GI.js → chunk-DNXBJZAU.js} +1 -1
  14. package/dist/chunks/{chunk-KLD7NT5J.js → chunk-F36ZVO6U.js} +3 -3
  15. package/dist/chunks/{chunk-TSDVA7QP.js → chunk-FEOLMLYU.js} +8 -12
  16. package/dist/chunks/{chunk-QETF6ILG.js → chunk-FQS2QL5F.js} +359 -841
  17. package/dist/chunks/{chunk-J2REM7LE.js → chunk-HFPUR4CQ.js} +5 -116
  18. package/dist/chunks/{chunk-JIEUB6OS.js → chunk-J3YDKJFD.js} +1 -1
  19. package/dist/chunks/{chunk-JGOP4GCK.js → chunk-JTHL5XJ2.js} +5 -25
  20. package/dist/chunks/{chunk-OQLYO7TA.js → chunk-MMRJNSWY.js} +34 -81
  21. package/dist/chunks/{chunk-HFQHD35D.js → chunk-NPNIL6SQ.js} +1 -1
  22. package/dist/chunks/{chunk-IG72OKNB.js → chunk-OOM2PHBE.js} +2080 -16400
  23. package/dist/chunks/{chunk-PSGEH4FC.js → chunk-QTN6HXOR.js} +3 -3
  24. package/dist/chunks/{chunk-HNY7OSDY.js → chunk-SFMNGWNO.js} +1 -1
  25. package/dist/chunks/{chunk-TBEBLKCQ.js → chunk-WBAZFKC7.js} +3 -3
  26. package/dist/chunks/{chunk-NA4L2HQM.js → chunk-Y57RTLVV.js} +33 -33
  27. package/dist/chunks/{chunk-Z2ZWHU7O.js → chunk-YVCYVDNP.js} +1 -1
  28. package/dist/chunks/{cli-6WFY2ULA.js → cli-HIXVXM72.js} +8 -8
  29. package/dist/chunks/{core-commands-HQ3HL34W.js → core-commands-34SVH6ZQ.js} +8 -8
  30. package/dist/chunks/{desktop-test-RU6SRARQ.js → desktop-test-66DPBNJX.js} +7 -7
  31. package/dist/chunks/{extension-4KFKWMC4.js → extension-ZMRHCDO3.js} +36 -87
  32. package/dist/chunks/{help-ZUCPOR22.js → help-COHCZEP2.js} +1 -1
  33. package/dist/chunks/{opchat-AZX7SYM7.js → opchat-2PGW2GNN.js} +10 -18
  34. package/dist/chunks/{organizations-GV6Z7G4J.js → organizations-NZ4OY56V.js} +9 -9
  35. package/dist/chunks/{profile-TSLGZPUI.js → profile-GEMTRPUG.js} +11 -11
  36. package/dist/chunks/{project-agent-SHIQZWPY.js → project-agent-NX6YBGWC.js} +10 -10
  37. package/dist/chunks/{sandbox-command-TRS66NUT.js → sandbox-command-UEY53OJO.js} +8 -8
  38. package/dist/chunks/{sandbox-template-RVWXD5O3.js → sandbox-template-YKYRB645.js} +10 -10
  39. package/dist/chunks/{src-VUJ6EBOU.js → src-IXYDKOBI.js} +799 -965
  40. package/dist/chunks/{src-Q3BOITLJ.js → src-LKJBD5AM.js} +5 -5
  41. package/dist/chunks/{teams-bot-CLCMGBW5.js → teams-bot-K6KZHZJV.js} +7 -7
  42. package/dist/chunks/{workspaces-IIPITOCV.js → workspaces-WXM72UZF.js} +2 -2
  43. package/dist/cli.js +13 -13
  44. package/dist/index.js +15 -56
  45. package/dist/web/assets/App-BF9L0JUv.js +171 -0
  46. package/dist/web/assets/{AppDialog-sLTPiFGX.js → AppDialog-DX-xs3KA.js} +1 -1
  47. package/dist/web/assets/{AppTerminalPanel-B0NCyY4L.js → AppTerminalPanel-CYVj_ITT.js} +2 -2
  48. package/dist/web/assets/{AppsView-DyDyktK2.js → AppsView-ByjyGog7.js} +1 -1
  49. package/dist/web/assets/{BrowserSidebar-C-PQxmQa.js → BrowserSidebar-BDwtMAZl.js} +1 -1
  50. package/dist/web/assets/{CartesianChart-CnerMhTr.js → CartesianChart-Dv6jJfPR.js} +1 -1
  51. package/dist/web/assets/{CollaborationTabs-DJEp6dux.js → CollaborationTabs-CC5AIhMh.js} +1 -1
  52. package/dist/web/assets/{CommandMenu-B5lGz8rG.js → CommandMenu-Ct0Sx7yP.js} +1 -1
  53. package/dist/web/assets/{CommunityView-DQJaHBa5.js → CommunityView-C_zVE0jg.js} +1 -1
  54. package/dist/web/assets/{ComposerCreateImproveStrip-7hBR2bdV.js → ComposerCreateImproveStrip-CNn4OywM.js} +1 -1
  55. package/dist/web/assets/{GetStartedView-l1Cz1e7g.js → GetStartedView-DRFpHDLd.js} +1 -1
  56. package/dist/web/assets/LabModelVersionDetailPage-BzF-IVXQ.js +1 -0
  57. package/dist/web/assets/{LabSkillSidebar-jlX5I_D5.js → LabSkillSidebar-B9jY4AgE.js} +1 -1
  58. package/dist/web/assets/{LabsRoute-D3w6nPSa.css → LabsRoute-CS_orT9s.css} +1 -1
  59. package/dist/web/assets/LabsRoute-Di1Zs4gZ.js +2 -0
  60. package/dist/web/assets/{MainChatThread-B1nXTMAf.js → MainChatThread-8VzlD8Hi.js} +2 -2
  61. package/dist/web/assets/{MainPane-DxVcMBFo.js → MainPane-StAOFINE.js} +3 -3
  62. package/dist/web/assets/{MarkdownText-B3njGyZS.js → MarkdownText-B8D_ftSJ.js} +1 -1
  63. package/dist/web/assets/{Messages-yBS4UHWl.js → Messages-TY62tiDp.js} +1 -1
  64. package/dist/web/assets/{NativeSkillSidebar-DaD52aW1.js → NativeSkillSidebar-DjebFRoi.js} +1 -1
  65. package/dist/web/assets/{NewExperienceSwitcher-C7X_K5Xl.js → NewExperienceSwitcher-C-bJxHxY.js} +1 -1
  66. package/dist/web/assets/{NewProjectDialog-NuPVF2Y7.js → NewProjectDialog-Cx8QcZm7.js} +1 -1
  67. package/dist/web/assets/{OutputsPage-Bmof4Tdv.js → OutputsPage-Y9HM-SHX.js} +1 -1
  68. package/dist/web/assets/{ProjectsPage-D7opg6ff.js → ProjectsPage-BBr58yKT.js} +1 -1
  69. package/dist/web/assets/{RightChatPanelStack-BzsNeSwx.js → RightChatPanelStack-DzUbDKwp.js} +1 -1
  70. package/dist/web/assets/{RightSidebarHomePanel-D8dAMHcp.js → RightSidebarHomePanel-Dx-1elSI.js} +1 -1
  71. package/dist/web/assets/{ScheduledWorkPage-Dkjhof6t.js → ScheduledWorkPage-BuXw_W8b.js} +1 -1
  72. package/dist/web/assets/SettingsView-DB_zPHYY.js +6 -0
  73. package/dist/web/assets/{TeamChatView-DIxvrgai.js → TeamChatView-Bkyhu40R.js} +1 -1
  74. package/dist/web/assets/{TerminalOverlay-Cd0Sp9LD.js → TerminalOverlay-CaCkZDzO.js} +1 -1
  75. package/dist/web/assets/{TrainingCreationPanel-DACYaOny.js → TrainingCreationPanel-Vvi41WNT.js} +1 -1
  76. package/dist/web/assets/{TrainingDraftPanel-DBWJW8ZD.js → TrainingDraftPanel-C2C3hffI.js} +1 -1
  77. package/dist/web/assets/{UsageSettingsSection-B3sbqaUV.js → UsageSettingsSection-DpPBd-ra.js} +1 -1
  78. package/dist/web/assets/{WorkSidebarPanel-D4yXQ64j.js → WorkSidebarPanel-CeWGboTh.js} +1 -1
  79. package/dist/web/assets/{WorkspaceDiffPanel-CBgPVF1P.js → WorkspaceDiffPanel-D_zKOW4K.js} +3 -3
  80. package/dist/web/assets/{WorkspaceEnvironmentMenu-Bp-9V7Jq.js → WorkspaceEnvironmentMenu-BTz9FISP.js} +3 -3
  81. package/dist/web/assets/{WorkspaceGitDialogs-BxU5Uhpz.js → WorkspaceGitDialogs-BnBRUYpS.js} +1 -1
  82. package/dist/web/assets/{WorkspaceMonacoEditor-Db_sWYFt.js → WorkspaceMonacoEditor--GOVrHFp.js} +3 -3
  83. package/dist/web/assets/{activity-BzKyRXbd.js → activity-DA5DNQwD.js} +1 -1
  84. package/dist/web/assets/{arrow-up-right-DaIxkG4K.js → arrow-up-right-BRZWXpqJ.js} +1 -1
  85. package/dist/web/assets/{chat-file-links-wORSEipQ.js → chat-file-links-CgFHK89C.js} +1 -1
  86. package/dist/web/assets/chevron-up-DSv2auz_.js +1 -0
  87. package/dist/web/assets/{clipboard-BTRsPPaK.js → clipboard-dPd_3lpG.js} +1 -1
  88. package/dist/web/assets/{cloud-upload-BYXHJoKd.js → cloud-upload-DOwvN4hp.js} +1 -1
  89. package/dist/web/assets/{cssMode-Be446Wgi.js → cssMode-BM4j9M0D.js} +1 -1
  90. package/dist/web/assets/{folder-open-KtKTXn4w.js → folder-open-DavjPCw4.js} +1 -1
  91. package/dist/web/assets/{folder-plus-9-Xcli22.js → folder-plus-Dyqast6G.js} +1 -1
  92. package/dist/web/assets/{git-branch-CLGxzDjJ.js → git-branch-zKnZdQiX.js} +1 -1
  93. package/dist/web/assets/{git-commit-horizontal-CmVYsUnh.js → git-commit-horizontal-s3X0cQlz.js} +1 -1
  94. package/dist/web/assets/{htmlMode-DTjTyBB_.js → htmlMode-Nlx7ckXa.js} +1 -1
  95. package/dist/web/assets/{index-DqWw2ymf.js → index-5-B6FIuE.js} +1 -1
  96. package/dist/web/assets/index-CQ3CPVHZ.css +1 -0
  97. package/dist/web/assets/index-CuoGlf-W.js +1 -0
  98. package/dist/web/assets/{info-BLmP4K0e.js → info-CVvrNOHr.js} +1 -1
  99. package/dist/web/assets/{jsonMode-Z-2iim-u.js → jsonMode-B7monA6g.js} +1 -1
  100. package/dist/web/assets/{lspLanguageFeatures-Cr2iCfG2.js → lspLanguageFeatures-CcJ9GDtK.js} +1 -1
  101. package/dist/web/assets/{minimize-2-CWA6iO3r.js → minimize-2-O1DnznGK.js} +1 -1
  102. package/dist/web/assets/{monaco.contribution-YhqlKmCp.js → monaco.contribution-2PozfA9g.js} +2 -2
  103. package/dist/web/assets/{monaco.contribution-BtMcDmCM.js → monaco.contribution-BMAF2bmO.js} +2 -2
  104. package/dist/web/assets/{monaco.contribution-Cac9eBUk.js → monaco.contribution-BSJ2jQTi.js} +2 -2
  105. package/dist/web/assets/{monaco.contribution-NtjNqMdv.js → monaco.contribution-QOOCizYq.js} +2 -2
  106. package/dist/web/assets/{play-DYSQH2rx.js → play-BpCc5ZbR.js} +1 -1
  107. package/dist/web/assets/{python-CNqOWXNv.js → python-BK41iew-.js} +1 -1
  108. package/dist/web/assets/{refresh-cw-DMysDKOA.js → refresh-cw-Csoy1ev1.js} +1 -1
  109. package/dist/web/assets/{save-HPZ4ZiDi.js → save-Dbztj0W7.js} +1 -1
  110. package/dist/web/assets/{square-D-mpY1a-.js → square-ju7fWa0W.js} +1 -1
  111. package/dist/web/assets/{toggleHighContrast-Bccdn3Qi.js → toggleHighContrast-DrmwDpyz.js} +1 -1
  112. package/dist/web/assets/{tsMode-BhcKJxhG.js → tsMode-CFgCMr7d.js} +1 -1
  113. package/dist/web/assets/{upload-DE7xaWVj.js → upload-C5nhiSMq.js} +1 -1
  114. package/dist/web/assets/{useLocalAgentSchedules-C0J--_MD.js → useLocalAgentSchedules-LAsobERb.js} +1 -1
  115. package/dist/web/assets/{wifi-off-CrCfhll9.js → wifi-off-BHxh2UbA.js} +1 -1
  116. package/dist/web/assets/{workers-DCaGzukk.js → workers-FKb-NyBI.js} +1 -1
  117. package/dist/web/assets/{yaml-CCfH63KB.js → yaml-C5DbF9S6.js} +1 -1
  118. package/dist/web/index.html +2 -2
  119. package/package.json +1 -1
  120. package/dist/api/vercel-protection.d.ts +0 -1
  121. package/dist/chunks/chunk-MLWNI3WG.js +0 -15395
  122. package/dist/web/assets/App-D7vhbyMO.js +0 -171
  123. package/dist/web/assets/LabModelVersionDetailPage-D2PfI3-r.js +0 -1
  124. package/dist/web/assets/LabsRoute-VOgPrf94.js +0 -2
  125. package/dist/web/assets/SettingsView-CWTAUy2b.js +0 -6
  126. package/dist/web/assets/chevron-up-C8-qSzck.js +0 -1
  127. package/dist/web/assets/index-AzqEDIEY.css +0 -1
  128. package/dist/web/assets/index-C5uP_Gug.js +0 -1
@@ -1 +1 @@
1
- import{c,C as M}from"./App-D7vhbyMO.js";import{r as m,j as o}from"./index-DqWw2ymf.js";const $=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],K=c("archive",$);const L=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],J=c("arrow-right",L);const S=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],Y=c("bot",S);const R=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],ee=c("code-xml",R);const C=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],te=c("file",C);const P=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],ne=c("pause",P);const z=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],F=c("plus",z);const W=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],ae=c("trash-2",W);const A=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],se=c("workflow",A);function re({value:e,options:n,disabled:a,compact:s,className:r,icon:h,placement:f="bottom",label:i,tooltip:d,searchable:N=!1,onChange:_}){const[l,u]=m.useState(!1),[x,y]=m.useState(""),g=m.useRef(null),v=n.find(t=>t.value===e)??n[0],E=x.trim().toLowerCase(),j=E?n.filter(t=>[t.label,t.shortLabel,t.description].some(p=>p?.toLowerCase().includes(E))):n;return m.useEffect(()=>{if(!l){y("");return}function t(k){g.current?.contains(k.target)||u(!1)}function p(k){k.key==="Escape"&&u(!1)}return document.addEventListener("pointerdown",t),document.addEventListener("keydown",p),()=>{document.removeEventListener("pointerdown",t),document.removeEventListener("keydown",p)}},[l]),o.jsxs("div",{className:`dropdown-select ${r??""} ${s?"compact":""} ${f==="top"?"open-up":""}`,"data-tooltip":d,ref:g,children:[o.jsxs("button",{type:"button",className:`dropdown-trigger ${l?"active":""}`,disabled:a,"aria-label":i,"aria-haspopup":"menu","aria-expanded":l,onClick:()=>u(t=>!t),children:[h,o.jsx("span",{children:v?.shortLabel??v?.label??e}),o.jsx(M,{size:14})]}),l&&o.jsxs("div",{className:"dropdown-menu",role:"menu",children:[N?o.jsxs("label",{className:"dropdown-search",onClick:t=>t.stopPropagation(),children:[o.jsxs("span",{className:"sr-only",children:["Search ",i]}),o.jsx("input",{autoFocus:!0,placeholder:`Search ${i.toLowerCase()}`,value:x,onChange:t=>y(t.target.value)})]}):null,j.map(t=>o.jsxs("button",{type:"button",role:"menuitemradio","aria-checked":t.value===e,disabled:t.disabled,className:[t.value===e?"selected":"",t.separatorBefore?"separator-before":"",t.icon?"with-icon":""].filter(Boolean).join(" "),onClick:()=>{t.disabled||(_(t.value),y(""),u(!1))},children:[o.jsxs("span",{children:[t.icon==="plus"?o.jsx(F,{size:13}):null,o.jsx("span",{children:t.label})]}),t.description&&o.jsx("small",{children:t.description})]},t.value)),j.length?null:o.jsx("div",{className:"dropdown-empty",children:"No matches"})]})]})}const I=new Set(["bash","c","cc","cjs","cpp","css","csv","env","gif","go","graphql","h","hpp","html","ico","java","jpeg","jpg","js","json","jsx","lock","lockb","md","mdx","m4v","mjs","mov","mp4","png","py","rs","scss","sh","sql","svg","toml","ts","tsx","txt","webp","webm","yaml","yml","zsh"]),T=new Set(["AGENTS.md","Dockerfile","LICENSE","Makefile","README"]),w=String.raw`[A-Za-z0-9_.@+-]+`,B=new RegExp(String.raw`^(?:(?:\.{1,2}|~)?[\\/]|[A-Za-z]:[\\/])?(?:${w}[\\/])+${w}(?::\d+(?::\d+)?)?`),D=new RegExp(String.raw`^${w}(?::\d+(?::\d+)?)?`),q=/^(?:workspace|sandbox):file:[^\s<>()]+/;function oe({projectTargetDetail:e,projectTargetValue:n,workspaceRepoPath:a,workspaceTargetValue:s}){const r=a?.trim();return r||(s!=="local"||!n.startsWith("local:")?null:e.trim()||null)}function ce(e,n,a={}){if(!X(e[n-1]))return null;const s=e.slice(n),r=q.exec(s),h=r?null:B.exec(s),f=r||h?null:D.exec(s),i=b((r??h??f)?.[0]??"");if(!i)return null;const d=H(i,a);return d?{...d,end:n+i.length}:null}function H(e,n={}){const a=b(e.trim().replace(/^['"`]+|['"`]+$/g,""));if(!a||/^https?:\/\//i.test(a))return null;const r=V(O(a)).replace(/:\d+(?::\d+)?$/,"");return G(r)?{displayPath:a,path:U(r,n.workspaceRootPath)}:null}function O(e){const n=/^(workspace|sandbox):file:(.*)$/i.exec(e);if(!n)return e;const a=n[1]?.toLowerCase();let s=n[2]??"";return a==="sandbox"&&(s=s.replace(/^\/workspace\/app\//,"").replace(/^\/workspace\//,"")),s}function V(e){if(!/^file:\/\//i.test(e))return e;try{return decodeURIComponent(new URL(e).pathname)}catch{return e.replace(/^file:\/\//i,"")}}function U(e,n){let a=e.replace(/\\/g,"/").replace(/^\.\/+/,"");const s=n?.trim().replace(/\\/g,"/").replace(/\/+$/,"");if(!s)return a;a.startsWith(`${s}/`)&&(a=a.slice(s.length+1));const r=s.split("/").filter(Boolean).at(-1);return r&&a.startsWith(`${r}/`)&&(a=a.slice(r.length+1)),a}function G(e){const n=e.replace(/\\/g,"/").split("/").filter(Boolean).at(-1)??e;if(T.has(n)||n.startsWith(".")&&n.length>1)return!0;const a=n.includes(".")?n.split(".").at(-1)?.toLowerCase():null;return!!(a&&I.has(a))}function X(e){return!e||/[\s([{<"'`]/.test(e)}function b(e){return e.replace(/[.,;!?]+$/,"").replace(/[\])}]+$/,"")}export{K as A,Y as B,ee as C,re as D,te as F,F as P,ae as T,se as W,ne as a,J as b,ce as m,H as n,oe as r};
1
+ import{c,C as M}from"./App-BF9L0JUv.js";import{r as m,j as o}from"./index-5-B6FIuE.js";const $=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],K=c("archive",$);const L=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],J=c("arrow-right",L);const S=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],Y=c("bot",S);const R=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],ee=c("code-xml",R);const C=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],te=c("file",C);const P=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],ne=c("pause",P);const z=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],F=c("plus",z);const W=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],ae=c("trash-2",W);const A=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],se=c("workflow",A);function re({value:e,options:n,disabled:a,compact:s,className:r,icon:h,placement:f="bottom",label:i,tooltip:d,searchable:N=!1,onChange:_}){const[l,u]=m.useState(!1),[x,y]=m.useState(""),g=m.useRef(null),v=n.find(t=>t.value===e)??n[0],E=x.trim().toLowerCase(),j=E?n.filter(t=>[t.label,t.shortLabel,t.description].some(p=>p?.toLowerCase().includes(E))):n;return m.useEffect(()=>{if(!l){y("");return}function t(k){g.current?.contains(k.target)||u(!1)}function p(k){k.key==="Escape"&&u(!1)}return document.addEventListener("pointerdown",t),document.addEventListener("keydown",p),()=>{document.removeEventListener("pointerdown",t),document.removeEventListener("keydown",p)}},[l]),o.jsxs("div",{className:`dropdown-select ${r??""} ${s?"compact":""} ${f==="top"?"open-up":""}`,"data-tooltip":d,ref:g,children:[o.jsxs("button",{type:"button",className:`dropdown-trigger ${l?"active":""}`,disabled:a,"aria-label":i,"aria-haspopup":"menu","aria-expanded":l,onClick:()=>u(t=>!t),children:[h,o.jsx("span",{children:v?.shortLabel??v?.label??e}),o.jsx(M,{size:14})]}),l&&o.jsxs("div",{className:"dropdown-menu",role:"menu",children:[N?o.jsxs("label",{className:"dropdown-search",onClick:t=>t.stopPropagation(),children:[o.jsxs("span",{className:"sr-only",children:["Search ",i]}),o.jsx("input",{autoFocus:!0,placeholder:`Search ${i.toLowerCase()}`,value:x,onChange:t=>y(t.target.value)})]}):null,j.map(t=>o.jsxs("button",{type:"button",role:"menuitemradio","aria-checked":t.value===e,disabled:t.disabled,className:[t.value===e?"selected":"",t.separatorBefore?"separator-before":"",t.icon?"with-icon":""].filter(Boolean).join(" "),onClick:()=>{t.disabled||(_(t.value),y(""),u(!1))},children:[o.jsxs("span",{children:[t.icon==="plus"?o.jsx(F,{size:13}):null,o.jsx("span",{children:t.label})]}),t.description&&o.jsx("small",{children:t.description})]},t.value)),j.length?null:o.jsx("div",{className:"dropdown-empty",children:"No matches"})]})]})}const I=new Set(["bash","c","cc","cjs","cpp","css","csv","env","gif","go","graphql","h","hpp","html","ico","java","jpeg","jpg","js","json","jsx","lock","lockb","md","mdx","m4v","mjs","mov","mp4","png","py","rs","scss","sh","sql","svg","toml","ts","tsx","txt","webp","webm","yaml","yml","zsh"]),T=new Set(["AGENTS.md","Dockerfile","LICENSE","Makefile","README"]),w=String.raw`[A-Za-z0-9_.@+-]+`,B=new RegExp(String.raw`^(?:(?:\.{1,2}|~)?[\\/]|[A-Za-z]:[\\/])?(?:${w}[\\/])+${w}(?::\d+(?::\d+)?)?`),D=new RegExp(String.raw`^${w}(?::\d+(?::\d+)?)?`),q=/^(?:workspace|sandbox):file:[^\s<>()]+/;function oe({projectTargetDetail:e,projectTargetValue:n,workspaceRepoPath:a,workspaceTargetValue:s}){const r=a?.trim();return r||(s!=="local"||!n.startsWith("local:")?null:e.trim()||null)}function ce(e,n,a={}){if(!X(e[n-1]))return null;const s=e.slice(n),r=q.exec(s),h=r?null:B.exec(s),f=r||h?null:D.exec(s),i=b((r??h??f)?.[0]??"");if(!i)return null;const d=H(i,a);return d?{...d,end:n+i.length}:null}function H(e,n={}){const a=b(e.trim().replace(/^['"`]+|['"`]+$/g,""));if(!a||/^https?:\/\//i.test(a))return null;const r=V(O(a)).replace(/:\d+(?::\d+)?$/,"");return G(r)?{displayPath:a,path:U(r,n.workspaceRootPath)}:null}function O(e){const n=/^(workspace|sandbox):file:(.*)$/i.exec(e);if(!n)return e;const a=n[1]?.toLowerCase();let s=n[2]??"";return a==="sandbox"&&(s=s.replace(/^\/workspace\/app\//,"").replace(/^\/workspace\//,"")),s}function V(e){if(!/^file:\/\//i.test(e))return e;try{return decodeURIComponent(new URL(e).pathname)}catch{return e.replace(/^file:\/\//i,"")}}function U(e,n){let a=e.replace(/\\/g,"/").replace(/^\.\/+/,"");const s=n?.trim().replace(/\\/g,"/").replace(/\/+$/,"");if(!s)return a;a.startsWith(`${s}/`)&&(a=a.slice(s.length+1));const r=s.split("/").filter(Boolean).at(-1);return r&&a.startsWith(`${r}/`)&&(a=a.slice(r.length+1)),a}function G(e){const n=e.replace(/\\/g,"/").split("/").filter(Boolean).at(-1)??e;if(T.has(n)||n.startsWith(".")&&n.length>1)return!0;const a=n.includes(".")?n.split(".").at(-1)?.toLowerCase():null;return!!(a&&I.has(a))}function X(e){return!e||/[\s([{<"'`]/.test(e)}function b(e){return e.replace(/[.,;!?]+$/,"").replace(/[\])}]+$/,"")}export{K as A,Y as B,ee as C,re as D,te as F,F as P,ae as T,se as W,ne as a,J as b,ce as m,H as n,oe as r};
@@ -0,0 +1 @@
1
+ import{c as o}from"./App-BF9L0JUv.js";const c=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],n=o("chevron-up",c);export{n as C};
@@ -1 +1 @@
1
- import{c as a}from"./App-D7vhbyMO.js";const o=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],t=a("clipboard",o);export{t as C};
1
+ import{c as a}from"./App-BF9L0JUv.js";const o=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],t=a("clipboard",o);export{t as C};
@@ -1 +1 @@
1
- import{c as o}from"./App-D7vhbyMO.js";const a=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],p=o("cloud-upload",a);export{p as C};
1
+ import{c as o}from"./App-BF9L0JUv.js";const a=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],p=o("cloud-upload",a);export{p as C};
@@ -1 +1 @@
1
- import{c as h}from"./workers-DCaGzukk.js";import{C as c,H as u,D as p,a as m,R as f,b as _,c as w,d as k,F as v,e as D,S as P,f as R,g as I}from"./lspLanguageFeatures-Cr2iCfG2.js";import{h as y,i as T,j as x,t as j,k as M}from"./lspLanguageFeatures-Cr2iCfG2.js";import{l as s}from"./WorkspaceMonacoEditor-Db_sWYFt.js";import"./toggleHighContrast-Bccdn3Qi.js";import"./index-DqWw2ymf.js";const C=120*1e3;class A{constructor(n){this._defaults=n,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>C&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=h({moduleId:"vs/language/css/cssWorker",createWorker:()=>new Worker(new URL(""+new URL("css.worker-DBVD8oXr.js",import.meta.url).href,import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...n){let e;return this._getClient().then(a=>{e=a}).then(a=>{if(this._worker)return this._worker.withSyncedResources(n)}).then(a=>e)}}function b(o){const n=[],e=[],a=new A(o);n.push(a);const r=(...t)=>a.getLanguageServiceWorker(...t);function l(){const{languageId:t,modeConfiguration:i}=o;g(e),i.completionItems&&e.push(s.registerCompletionItemProvider(t,new c(r,["/","-",":"]))),i.hovers&&e.push(s.registerHoverProvider(t,new u(r))),i.documentHighlights&&e.push(s.registerDocumentHighlightProvider(t,new p(r))),i.definitions&&e.push(s.registerDefinitionProvider(t,new m(r))),i.references&&e.push(s.registerReferenceProvider(t,new f(r))),i.documentSymbols&&e.push(s.registerDocumentSymbolProvider(t,new _(r))),i.rename&&e.push(s.registerRenameProvider(t,new w(r))),i.colors&&e.push(s.registerColorProvider(t,new k(r))),i.foldingRanges&&e.push(s.registerFoldingRangeProvider(t,new v(r))),i.diagnostics&&e.push(new D(t,r,o.onDidChange)),i.selectionRanges&&e.push(s.registerSelectionRangeProvider(t,new P(r))),i.documentFormattingEdits&&e.push(s.registerDocumentFormattingEditProvider(t,new R(r))),i.documentRangeFormattingEdits&&e.push(s.registerDocumentRangeFormattingEditProvider(t,new I(r)))}return l(),n.push(d(e)),d(n)}function d(o){return{dispose:()=>g(o)}}function g(o){for(;o.length;)o.pop().dispose()}export{c as CompletionAdapter,m as DefinitionAdapter,D as DiagnosticsAdapter,k as DocumentColorAdapter,R as DocumentFormattingEditProvider,p as DocumentHighlightAdapter,y as DocumentLinkAdapter,I as DocumentRangeFormattingEditProvider,_ as DocumentSymbolAdapter,v as FoldingRangeAdapter,u as HoverAdapter,f as ReferenceAdapter,w as RenameAdapter,P as SelectionRangeAdapter,A as WorkerManager,T as fromPosition,x as fromRange,b as setupMode,j as toRange,M as toTextEdit};
1
+ import{c as h}from"./workers-FKb-NyBI.js";import{C as c,H as u,D as p,a as m,R as f,b as _,c as w,d as k,F as v,e as D,S as P,f as R,g as I}from"./lspLanguageFeatures-CcJ9GDtK.js";import{h as y,i as T,j as x,t as j,k as M}from"./lspLanguageFeatures-CcJ9GDtK.js";import{l as s}from"./WorkspaceMonacoEditor--GOVrHFp.js";import"./toggleHighContrast-DrmwDpyz.js";import"./index-5-B6FIuE.js";const C=120*1e3;class A{constructor(n){this._defaults=n,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>C&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=h({moduleId:"vs/language/css/cssWorker",createWorker:()=>new Worker(new URL(""+new URL("css.worker-DBVD8oXr.js",import.meta.url).href,import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...n){let e;return this._getClient().then(a=>{e=a}).then(a=>{if(this._worker)return this._worker.withSyncedResources(n)}).then(a=>e)}}function b(o){const n=[],e=[],a=new A(o);n.push(a);const r=(...t)=>a.getLanguageServiceWorker(...t);function l(){const{languageId:t,modeConfiguration:i}=o;g(e),i.completionItems&&e.push(s.registerCompletionItemProvider(t,new c(r,["/","-",":"]))),i.hovers&&e.push(s.registerHoverProvider(t,new u(r))),i.documentHighlights&&e.push(s.registerDocumentHighlightProvider(t,new p(r))),i.definitions&&e.push(s.registerDefinitionProvider(t,new m(r))),i.references&&e.push(s.registerReferenceProvider(t,new f(r))),i.documentSymbols&&e.push(s.registerDocumentSymbolProvider(t,new _(r))),i.rename&&e.push(s.registerRenameProvider(t,new w(r))),i.colors&&e.push(s.registerColorProvider(t,new k(r))),i.foldingRanges&&e.push(s.registerFoldingRangeProvider(t,new v(r))),i.diagnostics&&e.push(new D(t,r,o.onDidChange)),i.selectionRanges&&e.push(s.registerSelectionRangeProvider(t,new P(r))),i.documentFormattingEdits&&e.push(s.registerDocumentFormattingEditProvider(t,new R(r))),i.documentRangeFormattingEdits&&e.push(s.registerDocumentRangeFormattingEditProvider(t,new I(r)))}return l(),n.push(d(e)),d(n)}function d(o){return{dispose:()=>g(o)}}function g(o){for(;o.length;)o.pop().dispose()}export{c as CompletionAdapter,m as DefinitionAdapter,D as DiagnosticsAdapter,k as DocumentColorAdapter,R as DocumentFormattingEditProvider,p as DocumentHighlightAdapter,y as DocumentLinkAdapter,I as DocumentRangeFormattingEditProvider,_ as DocumentSymbolAdapter,v as FoldingRangeAdapter,u as HoverAdapter,f as ReferenceAdapter,w as RenameAdapter,P as SelectionRangeAdapter,A as WorkerManager,T as fromPosition,x as fromRange,b as setupMode,j as toRange,M as toTextEdit};
@@ -1 +1 @@
1
- import{c as a}from"./App-D7vhbyMO.js";const o=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],c=a("folder-open",o);export{c as F};
1
+ import{c as a}from"./App-BF9L0JUv.js";const o=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],c=a("folder-open",o);export{c as F};
@@ -1 +1 @@
1
- import{c as e}from"./App-D7vhbyMO.js";const a=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],t=e("folder-plus",a);export{t as F};
1
+ import{c as e}from"./App-BF9L0JUv.js";const a=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],t=e("folder-plus",a);export{t as F};
@@ -1 +1 @@
1
- import{c}from"./App-D7vhbyMO.js";const e=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],y=c("git-branch",e);export{y as G};
1
+ import{c}from"./App-BF9L0JUv.js";const e=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],y=c("git-branch",e);export{y as G};
@@ -1 +1 @@
1
- import{c as o}from"./App-D7vhbyMO.js";const c=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],t=o("git-commit-horizontal",c);export{t as G};
1
+ import{c as o}from"./App-BF9L0JUv.js";const c=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],t=o("git-commit-horizontal",c);export{t as G};
@@ -1 +1 @@
1
- import{c as D}from"./workers-DCaGzukk.js";import{H as d,D as l,h as c,F as u,b as h,S as m,c as p,f as w,g as f,C as R}from"./lspLanguageFeatures-Cr2iCfG2.js";import{a as y,e as T,d as U,R as x,i as M,j,t as O,k as J}from"./lspLanguageFeatures-Cr2iCfG2.js";import{l as t}from"./WorkspaceMonacoEditor-Db_sWYFt.js";import"./toggleHighContrast-Bccdn3Qi.js";import"./index-DqWw2ymf.js";const I=120*1e3;class _{constructor(n){this._defaults=n,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>I&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=D({moduleId:"vs/language/html/htmlWorker",createWorker:()=>new Worker(new URL(""+new URL("html.worker-CwpTb9lJ.js",import.meta.url).href,import.meta.url),{type:"module"}),createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...n){let e;return this._getClient().then(r=>{e=r}).then(r=>{if(this._worker)return this._worker.withSyncedResources(n)}).then(r=>e)}}class v extends R{constructor(n){super(n,[".",":","<",'"',"=","/"])}}function F(i){const n=new _(i),e=(...o)=>n.getLanguageServiceWorker(...o);let r=i.languageId;t.registerCompletionItemProvider(r,new v(e)),t.registerHoverProvider(r,new d(e)),t.registerDocumentHighlightProvider(r,new l(e)),t.registerLinkProvider(r,new c(e)),t.registerFoldingRangeProvider(r,new u(e)),t.registerDocumentSymbolProvider(r,new h(e)),t.registerSelectionRangeProvider(r,new m(e)),t.registerRenameProvider(r,new p(e)),r==="html"&&(t.registerDocumentFormattingEditProvider(r,new w(e)),t.registerDocumentRangeFormattingEditProvider(r,new f(e)))}function E(i){const n=[],e=[],r=new _(i);n.push(r);const o=(...s)=>r.getLanguageServiceWorker(...s);function P(){const{languageId:s,modeConfiguration:a}=i;k(e),a.completionItems&&e.push(t.registerCompletionItemProvider(s,new v(o))),a.hovers&&e.push(t.registerHoverProvider(s,new d(o))),a.documentHighlights&&e.push(t.registerDocumentHighlightProvider(s,new l(o))),a.links&&e.push(t.registerLinkProvider(s,new c(o))),a.documentSymbols&&e.push(t.registerDocumentSymbolProvider(s,new h(o))),a.rename&&e.push(t.registerRenameProvider(s,new p(o))),a.foldingRanges&&e.push(t.registerFoldingRangeProvider(s,new u(o))),a.selectionRanges&&e.push(t.registerSelectionRangeProvider(s,new m(o))),a.documentFormattingEdits&&e.push(t.registerDocumentFormattingEditProvider(s,new w(o))),a.documentRangeFormattingEdits&&e.push(t.registerDocumentRangeFormattingEditProvider(s,new f(o)))}return P(),n.push(g(e)),g(n)}function g(i){return{dispose:()=>k(i)}}function k(i){for(;i.length;)i.pop().dispose()}export{R as CompletionAdapter,y as DefinitionAdapter,T as DiagnosticsAdapter,U as DocumentColorAdapter,w as DocumentFormattingEditProvider,l as DocumentHighlightAdapter,c as DocumentLinkAdapter,f as DocumentRangeFormattingEditProvider,h as DocumentSymbolAdapter,u as FoldingRangeAdapter,d as HoverAdapter,x as ReferenceAdapter,p as RenameAdapter,m as SelectionRangeAdapter,_ as WorkerManager,M as fromPosition,j as fromRange,E as setupMode,F as setupMode1,O as toRange,J as toTextEdit};
1
+ import{c as D}from"./workers-FKb-NyBI.js";import{H as d,D as l,h as c,F as u,b as h,S as m,c as p,f as w,g as f,C as R}from"./lspLanguageFeatures-CcJ9GDtK.js";import{a as y,e as T,d as U,R as x,i as M,j,t as O,k as J}from"./lspLanguageFeatures-CcJ9GDtK.js";import{l as t}from"./WorkspaceMonacoEditor--GOVrHFp.js";import"./toggleHighContrast-DrmwDpyz.js";import"./index-5-B6FIuE.js";const I=120*1e3;class _{constructor(n){this._defaults=n,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>I&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=D({moduleId:"vs/language/html/htmlWorker",createWorker:()=>new Worker(new URL(""+new URL("html.worker-CwpTb9lJ.js",import.meta.url).href,import.meta.url),{type:"module"}),createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...n){let e;return this._getClient().then(r=>{e=r}).then(r=>{if(this._worker)return this._worker.withSyncedResources(n)}).then(r=>e)}}class v extends R{constructor(n){super(n,[".",":","<",'"',"=","/"])}}function F(i){const n=new _(i),e=(...o)=>n.getLanguageServiceWorker(...o);let r=i.languageId;t.registerCompletionItemProvider(r,new v(e)),t.registerHoverProvider(r,new d(e)),t.registerDocumentHighlightProvider(r,new l(e)),t.registerLinkProvider(r,new c(e)),t.registerFoldingRangeProvider(r,new u(e)),t.registerDocumentSymbolProvider(r,new h(e)),t.registerSelectionRangeProvider(r,new m(e)),t.registerRenameProvider(r,new p(e)),r==="html"&&(t.registerDocumentFormattingEditProvider(r,new w(e)),t.registerDocumentRangeFormattingEditProvider(r,new f(e)))}function E(i){const n=[],e=[],r=new _(i);n.push(r);const o=(...s)=>r.getLanguageServiceWorker(...s);function P(){const{languageId:s,modeConfiguration:a}=i;k(e),a.completionItems&&e.push(t.registerCompletionItemProvider(s,new v(o))),a.hovers&&e.push(t.registerHoverProvider(s,new d(o))),a.documentHighlights&&e.push(t.registerDocumentHighlightProvider(s,new l(o))),a.links&&e.push(t.registerLinkProvider(s,new c(o))),a.documentSymbols&&e.push(t.registerDocumentSymbolProvider(s,new h(o))),a.rename&&e.push(t.registerRenameProvider(s,new p(o))),a.foldingRanges&&e.push(t.registerFoldingRangeProvider(s,new u(o))),a.selectionRanges&&e.push(t.registerSelectionRangeProvider(s,new m(o))),a.documentFormattingEdits&&e.push(t.registerDocumentFormattingEditProvider(s,new w(o))),a.documentRangeFormattingEdits&&e.push(t.registerDocumentRangeFormattingEditProvider(s,new f(o)))}return P(),n.push(g(e)),g(n)}function g(i){return{dispose:()=>k(i)}}function k(i){for(;i.length;)i.pop().dispose()}export{R as CompletionAdapter,y as DefinitionAdapter,T as DiagnosticsAdapter,U as DocumentColorAdapter,w as DocumentFormattingEditProvider,l as DocumentHighlightAdapter,c as DocumentLinkAdapter,f as DocumentRangeFormattingEditProvider,h as DocumentSymbolAdapter,u as FoldingRangeAdapter,d as HoverAdapter,x as ReferenceAdapter,p as RenameAdapter,m as SelectionRangeAdapter,_ as WorkerManager,M as fromPosition,j as fromRange,E as setupMode,F as setupMode1,O as toRange,J as toTextEdit};