openpond 0.2.40 → 0.2.42

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 (182) hide show
  1. package/dist/app-server.d.ts +23 -1
  2. package/dist/app-server.js +1 -1
  3. package/dist/chunks/actions-command-6EMO4BIK.js +2 -0
  4. package/dist/chunks/{app-layer-W2M7SM2L.js → app-layer-ETI5QXQ3.js} +1 -1
  5. package/dist/chunks/app-server-runtime-CJ7SJTTF.js +2 -0
  6. package/dist/chunks/apps-LH5AJCUI.js +2 -0
  7. package/dist/chunks/{chunk-FFTVDR3E.js → chunk-2VTXKZNK.js} +132 -132
  8. package/dist/chunks/{chunk-ALYT2HWV.js → chunk-2Z6H32OC.js} +1 -1
  9. package/dist/chunks/chunk-3CKJETWW.js +2 -0
  10. package/dist/chunks/chunk-4F2Q4CFS.js +4 -0
  11. package/dist/chunks/{chunk-3HQEEZPO.js → chunk-65BW2QXY.js} +1 -1
  12. package/dist/chunks/{chunk-J4S7AVGF.js → chunk-6UGTLC7Z.js} +1 -1
  13. package/dist/chunks/chunk-76YP4FDQ.js +3 -0
  14. package/dist/chunks/{chunk-YHBIGFFA.js → chunk-AANEPCEZ.js} +1 -1
  15. package/dist/chunks/chunk-ALZRXBEC.js +33 -0
  16. package/dist/chunks/chunk-ANCZVBMI.js +42 -0
  17. package/dist/chunks/chunk-AT6XYNQ5.js +2 -0
  18. package/dist/chunks/{chunk-IYWNO4RB.js → chunk-AUOMUBLE.js} +2 -2
  19. package/dist/chunks/{chunk-4QURHV3Q.js → chunk-BAQ3DWH2.js} +1 -1
  20. package/dist/chunks/chunk-BJSXEGWG.js +2 -0
  21. package/dist/chunks/chunk-DXAZUJPA.js +2 -0
  22. package/dist/chunks/{chunk-H7YH35JO.js → chunk-EEJ3HL6O.js} +1 -1
  23. package/dist/chunks/chunk-GC4OCTP6.js +2 -0
  24. package/dist/chunks/chunk-JYM3O4G7.js +5 -0
  25. package/dist/chunks/chunk-KCENW4ME.js +2 -0
  26. package/dist/chunks/{chunk-T7Y5OYO2.js → chunk-KIGN4FI6.js} +1 -1
  27. package/dist/chunks/{chunk-FUFIZ37W.js → chunk-LRGLV6JX.js} +1 -1
  28. package/dist/chunks/chunk-MOMDY22U.js +2 -0
  29. package/dist/chunks/chunk-MTJNKRXL.js +22 -0
  30. package/dist/chunks/{chunk-JARGGWF5.js → chunk-NT2UKDF7.js} +1 -1
  31. package/dist/chunks/chunk-OUN6VQDO.js +5 -0
  32. package/dist/chunks/{chunk-3UQU3KOS.js → chunk-QZ4KTU65.js} +1 -1
  33. package/dist/chunks/chunk-R6YJY7F2.js +3 -0
  34. package/dist/chunks/chunk-S2MLTFZF.js +2 -0
  35. package/dist/chunks/chunk-SUAT5DR4.js +9 -0
  36. package/dist/chunks/{chunk-ELUCM7CG.js → chunk-TPMXLA5Y.js} +7 -7
  37. package/dist/chunks/{chunk-TU5ITNMX.js → chunk-TPOW52DO.js} +3 -3
  38. package/dist/chunks/chunk-V62BHD5G.js +2 -0
  39. package/dist/chunks/{chunk-JIG7KQOX.js → chunk-VI3ZF54E.js} +2 -2
  40. package/dist/chunks/{chunk-ZCFX6HQO.js → chunk-VQG25QBJ.js} +1 -1
  41. package/dist/chunks/{chunk-ASRSYRE3.js → chunk-VTWY3U4M.js} +1 -1
  42. package/dist/chunks/chunk-XJAK6DDB.js +5 -0
  43. package/dist/chunks/chunk-Z2BYC6TP.js +2 -0
  44. package/dist/chunks/chunk-Z7VAZVC5.js +578 -0
  45. package/dist/chunks/{chunk-562Q5UVS.js → chunk-ZG7QX66E.js} +1 -1
  46. package/dist/chunks/{chunk-WWCU4ETR.js → chunk-ZLQQUZH7.js} +1 -1
  47. package/dist/chunks/{chunk-3QXPXBVG.js → chunk-ZQWXPDCB.js} +1 -1
  48. package/dist/chunks/cli-FM3DESGO.js +2 -0
  49. package/dist/chunks/configuration-command-N2FD7DWB.js +2 -0
  50. package/dist/chunks/core-commands-D2MJ7QFZ.js +2 -0
  51. package/dist/chunks/datasets-UYIZCMNZ.js +13 -0
  52. package/dist/chunks/desktop-test-IWDHFDSZ.js +3 -0
  53. package/dist/chunks/dist-ELWB75PL.js +2 -0
  54. package/dist/chunks/{dist-GKCGK44T.js → dist-JPRXSUXC.js} +1 -1
  55. package/dist/chunks/experiments-Q6TAHJV3.js +2 -0
  56. package/dist/chunks/{extension-3P3JNRYN.js → extension-7GYFAHRP.js} +1 -1
  57. package/dist/chunks/{help-23QDOMG7.js → help-MD7Z72QS.js} +1 -1
  58. package/dist/chunks/hosted-harness-runtime-LMYM7PYZ.js +2 -0
  59. package/dist/chunks/hosted-profile-compiler-H2J5HFT3.js +2 -0
  60. package/dist/chunks/hosted-profile-evaluation-control-VV2NXFBE.js +2 -0
  61. package/dist/chunks/hosted-profile-evaluation-inspection-XMPRKON6.js +3 -0
  62. package/dist/chunks/hosted-profile-evaluation-preparation-ZZ3MZJDR.js +3 -0
  63. package/dist/chunks/opchat-URWW53CK.js +3 -0
  64. package/dist/chunks/organizations-BPBJV7LZ.js +2 -0
  65. package/dist/chunks/{profile-NJMKPS6Z.js → profile-BZDCYKGL.js} +1 -1
  66. package/dist/chunks/project-agent-U6YNYPHS.js +2 -0
  67. package/dist/chunks/sandbox-command-TTLFWUXV.js +2 -0
  68. package/dist/chunks/{sandbox-template-RCDR2FXX.js → sandbox-template-ZYXK4QCI.js} +1 -1
  69. package/dist/chunks/{src-H7VE4J62.js → src-5Z35O6L7.js} +1 -1
  70. package/dist/chunks/src-NABQMSR3.js +325 -0
  71. package/dist/chunks/{teams-bot-KCKZTM3N.js → teams-bot-WXGP3PA6.js} +1 -1
  72. package/dist/chunks/{workspaces-J5QQUR53.js → workspaces-7WY3ZVQW.js} +1 -1
  73. package/dist/cli.js +3 -3
  74. package/dist/index.js +1 -1
  75. package/dist/web/assets/App-BpYDvJ6x.js +226 -0
  76. package/dist/web/assets/{AppDialog-CmPsGOzE.js → AppDialog-DMymIOcU.js} +1 -1
  77. package/dist/web/assets/{AppTerminalPanel-0_Ewf4wJ.js → AppTerminalPanel-CFsUD-di.js} +2 -2
  78. package/dist/web/assets/{AppsView-Ddn9R2I-.js → AppsView-CUrRKOiz.js} +1 -1
  79. package/dist/web/assets/{BrowserSidebar-j2Yyiaz-.js → BrowserSidebar-C5psWtoF.js} +1 -1
  80. package/dist/web/assets/{CartesianChart-BWAkc0mY.js → CartesianChart-DVGs4fGn.js} +1 -1
  81. package/dist/web/assets/{CollaborationTabs-SVc7oX8N.js → CollaborationTabs-D6eqNw88.js} +1 -1
  82. package/dist/web/assets/{CommandMenu-CcX5ypdX.js → CommandMenu--GRjuf3j.js} +1 -1
  83. package/dist/web/assets/{CommunityView-B7W1C8KG.js → CommunityView-CHGceVA_.js} +1 -1
  84. package/dist/web/assets/{ComposerCreateImproveStrip-BBKdrbNP.js → ComposerCreateImproveStrip-D08PAaxI.js} +1 -1
  85. package/dist/web/assets/{GetStartedView-BXuTBT4U.js → GetStartedView-BPZcWzsG.js} +1 -1
  86. package/dist/web/assets/HostedModelLearningReview-DiS-n3XW.js +1 -0
  87. package/dist/web/assets/HostedModelLearningSettings-BmEMKcoy.js +1 -0
  88. package/dist/web/assets/{LabModelVersionDetailPage-CctGBUae.js → LabModelVersionDetailPage-CX5pOLl2.js} +1 -1
  89. package/dist/web/assets/{LabSkillSidebar-Cl8Sdiqc.js → LabSkillSidebar-C4vAz_0b.js} +1 -1
  90. package/dist/web/assets/LabsRoute-BL04wKhE.js +52 -0
  91. package/dist/web/assets/LabsRoute-Cq9XLVDP.css +1 -0
  92. package/dist/web/assets/{MainChatThread-BaEeNsrh.js → MainChatThread-BSwHDALr.js} +2 -2
  93. package/dist/web/assets/{MainPane-Dw90VsN-.js → MainPane-EwtIf5_E.js} +14 -14
  94. package/dist/web/assets/{MarkdownText-CGGUFrZe.js → MarkdownText-Bj9uRWtM.js} +1 -1
  95. package/dist/web/assets/{NativeSkillSidebar-2mgh6WV4.js → NativeSkillSidebar-U7PHw5DO.js} +1 -1
  96. package/dist/web/assets/{NewExperienceSwitcher-DMTe3jS9.js → NewExperienceSwitcher-DneuamYK.js} +1 -1
  97. package/dist/web/assets/{NewProjectDialog-D6pvuCoo.js → NewProjectDialog-CrpXYCYV.js} +1 -1
  98. package/dist/web/assets/{OutputsPage-DMeIKxzN.js → OutputsPage-C1SPqz45.js} +1 -1
  99. package/dist/web/assets/{ProjectsPage-V5oXwB-5.js → ProjectsPage-CCW3mGQb.js} +1 -1
  100. package/dist/web/assets/{RightChatPanelStack-B0y2XNdm.js → RightChatPanelStack-D7ECzLfp.js} +1 -1
  101. package/dist/web/assets/{RightSidebarHomePanel-BksZR71F.js → RightSidebarHomePanel-B-4r-yLc.js} +1 -1
  102. package/dist/web/assets/{ScheduledWorkPage-BRcVebWV.js → ScheduledWorkPage-XjmcT64Z.js} +1 -1
  103. package/dist/web/assets/{SettingsView-CtI170q1.js → SettingsView-BEBpD7W0.js} +3 -3
  104. package/dist/web/assets/{TeamChatView-DWGM8eXj.js → TeamChatView-n9GnPY4F.js} +2 -2
  105. package/dist/web/assets/{TerminalOverlay-DLSmAkbQ.js → TerminalOverlay-CNaaMo7W.js} +1 -1
  106. package/dist/web/assets/{TrainingCreationPanel-C6e6zhC8.js → TrainingCreationPanel-CEEXMmC5.js} +1 -1
  107. package/dist/web/assets/{TrainingDraftPanel-Q1GXOAlQ.js → TrainingDraftPanel-CwyoL_Dy.js} +1 -1
  108. package/dist/web/assets/{UsageSettingsSection-UET2vS1c.js → UsageSettingsSection-BNjgosYd.js} +1 -1
  109. package/dist/web/assets/{WorkSidebarPanel-DMsXId2s.js → WorkSidebarPanel-BatJltaq.js} +1 -1
  110. package/dist/web/assets/{WorkspaceDiffPanel-B_eZE-bq.js → WorkspaceDiffPanel-Cbr7qcqm.js} +3 -3
  111. package/dist/web/assets/{WorkspaceEnvironmentMenu-C848cDBP.js → WorkspaceEnvironmentMenu-DYu-PXRv.js} +1 -1
  112. package/dist/web/assets/{WorkspaceGitDialogs-CSnIC26s.js → WorkspaceGitDialogs-BoamHtgk.js} +1 -1
  113. package/dist/web/assets/{WorkspaceMonacoEditor-C5dvv9s_.js → WorkspaceMonacoEditor-yg83VXk5.js} +3 -3
  114. package/dist/web/assets/{arrow-up-right-CsvQameJ.js → arrow-up-right-CN9lcbsD.js} +1 -1
  115. package/dist/web/assets/{clipboard-fZsv7_ot.js → clipboard-DfLDGpSz.js} +1 -1
  116. package/dist/web/assets/{cloud-upload-CUXNsLn2.js → cloud-upload-hk4EBTu-.js} +1 -1
  117. package/dist/web/assets/{cssMode-1tbsSShK.js → cssMode-DkhTpCaH.js} +1 -1
  118. package/dist/web/assets/{folder-open-Da8t5AtB.js → folder-open-BmhusYOx.js} +1 -1
  119. package/dist/web/assets/{folder-plus-X7B8dzc3.js → folder-plus-Bedc_RqV.js} +1 -1
  120. package/dist/web/assets/{git-commit-horizontal-CajQIfK5.js → git-commit-horizontal-D2Zvz4i7.js} +1 -1
  121. package/dist/web/assets/{htmlMode-qapgENKW.js → htmlMode-Bf3_KJ2b.js} +1 -1
  122. package/dist/web/assets/{index-DUQK09vA.js → index-CpTHPmvd.js} +2 -2
  123. package/dist/web/assets/index-DUIWDN8o.css +1 -0
  124. package/dist/web/assets/{info-BYfs9_PT.js → info-CayXQYUk.js} +1 -1
  125. package/dist/web/assets/{jsonMode-DYPkWxLK.js → jsonMode-_Ywm0ZC4.js} +1 -1
  126. package/dist/web/assets/{lspLanguageFeatures-Cbcp__rz.js → lspLanguageFeatures-Caw_TPYu.js} +1 -1
  127. package/dist/web/assets/{minimize-2-Dp7tWjno.js → minimize-2-sPQtjkx8.js} +1 -1
  128. package/dist/web/assets/{monaco.contribution-DApKEq_e.js → monaco.contribution-Bqi-s2-g.js} +2 -2
  129. package/dist/web/assets/{monaco.contribution-COP3_DCK.js → monaco.contribution-CngZuH1Z.js} +2 -2
  130. package/dist/web/assets/{monaco.contribution-cIq6c5M4.js → monaco.contribution-DKY5M77J.js} +2 -2
  131. package/dist/web/assets/{monaco.contribution-CcL6YtdZ.js → monaco.contribution-DmEqb8O2.js} +2 -2
  132. package/dist/web/assets/{monitor-nP1D5S_1.js → monitor-BuaCDSIZ.js} +1 -1
  133. package/dist/web/assets/{python-DXYfRGSs.js → python-D6SoZF70.js} +1 -1
  134. package/dist/web/assets/{refresh-cw-D_9Q01ox.js → refresh-cw-DmpWkVF6.js} +1 -1
  135. package/dist/web/assets/{save-BxG7d5Nm.js → save-Di43Sc13.js} +1 -1
  136. package/dist/web/assets/{square--Ua9DQPL.js → square-Cui64whj.js} +1 -1
  137. package/dist/web/assets/{toggleHighContrast-CqAtkn5E.js → toggleHighContrast-e8XiQRTr.js} +1 -1
  138. package/dist/web/assets/{tsMode-BCdfa4wT.js → tsMode-Cvh0MpFm.js} +1 -1
  139. package/dist/web/assets/{upload-BkYSJcbc.js → upload-Dphgk6dy.js} +1 -1
  140. package/dist/web/assets/{useLocalAgentSchedules-CGlPbPZr.js → useLocalAgentSchedules-CDN8WQld.js} +1 -1
  141. package/dist/web/assets/{useSessionTurnCache-DtNQyWXl.js → useSessionTurnCache-Bvcc_al6.js} +1 -1
  142. package/dist/web/assets/{wifi-off-DF8YmlRa.js → wifi-off-CIWXrn3o.js} +1 -1
  143. package/dist/web/assets/{workers-BUHY0ojx.js → workers-XU4YZxHD.js} +1 -1
  144. package/dist/web/assets/{yaml-CtBzXx8s.js → yaml-BZ0UGaZH.js} +1 -1
  145. package/dist/web/index.html +2 -2
  146. package/package.json +1 -1
  147. package/dist/chunks/actions-command-X2ERGYMA.js +0 -2
  148. package/dist/chunks/app-server-runtime-IO3FDF37.js +0 -2
  149. package/dist/chunks/apps-IBVU56HR.js +0 -2
  150. package/dist/chunks/chunk-5OA57RW4.js +0 -2
  151. package/dist/chunks/chunk-62H5KUOS.js +0 -12
  152. package/dist/chunks/chunk-AOBTILU5.js +0 -2
  153. package/dist/chunks/chunk-CYZOPDTW.js +0 -2
  154. package/dist/chunks/chunk-DDHUSA3I.js +0 -2
  155. package/dist/chunks/chunk-DWY6YCBI.js +0 -578
  156. package/dist/chunks/chunk-GTG2ODOV.js +0 -5
  157. package/dist/chunks/chunk-PKBU37CH.js +0 -5
  158. package/dist/chunks/chunk-QCLVO56H.js +0 -4
  159. package/dist/chunks/chunk-QK2GLRCY.js +0 -53
  160. package/dist/chunks/chunk-SHCKK3SU.js +0 -2
  161. package/dist/chunks/chunk-XRI3HLZ3.js +0 -42
  162. package/dist/chunks/chunk-ZCPIVNCS.js +0 -2
  163. package/dist/chunks/cli-QXO6OHZJ.js +0 -2
  164. package/dist/chunks/configuration-command-6VJUXQNZ.js +0 -2
  165. package/dist/chunks/core-commands-J6OY62PE.js +0 -2
  166. package/dist/chunks/datasets-W24QTQL7.js +0 -13
  167. package/dist/chunks/desktop-test-SHS2VUYP.js +0 -3
  168. package/dist/chunks/dist-4OUZANXR.js +0 -2
  169. package/dist/chunks/experiments-O7WTSICN.js +0 -2
  170. package/dist/chunks/hosted-harness-runtime-U7JV7Z5T.js +0 -2
  171. package/dist/chunks/hosted-profile-compiler-ZCVMUTFA.js +0 -3
  172. package/dist/chunks/opchat-OI2YFNNY.js +0 -3
  173. package/dist/chunks/organizations-LB5QXKWT.js +0 -2
  174. package/dist/chunks/project-agent-SZLUVG3U.js +0 -2
  175. package/dist/chunks/sandbox-command-FQBOFZGM.js +0 -2
  176. package/dist/chunks/src-JVSP6UKT.js +0 -325
  177. package/dist/web/assets/App-BL1D_PLh.js +0 -226
  178. package/dist/web/assets/HostedModelLearningReview-C3oAdyoF.js +0 -1
  179. package/dist/web/assets/HostedModelLearningSettings-9e5z5eRf.js +0 -1
  180. package/dist/web/assets/LabsRoute-C1FWCoYb.css +0 -1
  181. package/dist/web/assets/LabsRoute-di9O0XV1.js +0 -32
  182. package/dist/web/assets/index-lqk3IxE0.css +0 -1
@@ -1 +1 @@
1
- import{c as D}from"./workers-BUHY0ojx.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-Cbcp__rz.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-Cbcp__rz.js";import{l as t}from"./WorkspaceMonacoEditor-C5dvv9s_.js";import"./toggleHighContrast-CqAtkn5E.js";import"./index-DUQK09vA.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-XU4YZxHD.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-Caw_TPYu.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-Caw_TPYu.js";import{l as t}from"./WorkspaceMonacoEditor-yg83VXk5.js";import"./toggleHighContrast-e8XiQRTr.js";import"./index-CpTHPmvd.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};