@arcgis/coding-components 4.29.0-beta.93 → 4.29.0-beta.95

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 (160) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +6 -1
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +466 -26
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +466 -26
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +466 -26
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +466 -26
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +466 -26
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +466 -26
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +466 -26
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +466 -26
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +466 -26
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +466 -26
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +466 -26
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +466 -26
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +466 -26
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +466 -26
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +466 -26
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +466 -26
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +466 -26
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +466 -26
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +466 -26
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +466 -26
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +466 -26
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +466 -26
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +466 -26
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +466 -26
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +466 -26
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +466 -26
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +466 -26
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +466 -26
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +466 -26
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +466 -26
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +466 -26
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +466 -26
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +466 -26
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +466 -26
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +466 -26
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +466 -26
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +466 -26
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +466 -26
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +466 -26
  41. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +466 -26
  42. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +9 -2
  43. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +9 -2
  44. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +9 -2
  45. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +9 -2
  46. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +9 -2
  47. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +9 -2
  48. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +9 -2
  49. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +9 -2
  50. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +9 -2
  51. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +9 -2
  52. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +9 -2
  53. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +9 -2
  54. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +9 -2
  55. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +9 -2
  56. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +9 -2
  57. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +9 -2
  58. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +9 -2
  59. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +9 -2
  60. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +9 -2
  61. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +9 -2
  62. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +9 -2
  63. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +9 -2
  64. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +9 -2
  65. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +9 -2
  66. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +9 -2
  67. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +9 -2
  68. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +9 -2
  69. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +9 -2
  70. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +9 -2
  71. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +9 -2
  72. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +9 -2
  73. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +9 -2
  74. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +9 -2
  75. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +9 -2
  76. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +9 -2
  77. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +9 -2
  78. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +9 -2
  79. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +9 -2
  80. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +9 -2
  81. package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +9 -2
  82. package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +1 -1
  83. package/dist/arcgis-coding-components/index.esm.js +6 -1
  84. package/dist/arcgis-coding-components/p-23f55366.entry.js +6 -0
  85. package/dist/arcgis-coding-components/{p-009eaccf.js → p-2ee92dd4.js} +5 -0
  86. package/dist/arcgis-coding-components/{p-79707082.js → p-3379c876.js} +6 -1
  87. package/dist/arcgis-coding-components/{p-1d062d47.js → p-361da3f4.js} +6 -1
  88. package/dist/arcgis-coding-components/{p-ccafed7f.js → p-6addbe14.js} +5 -0
  89. package/dist/arcgis-coding-components/{p-590b795b.js → p-704356f7.js} +6 -1
  90. package/dist/arcgis-coding-components/{p-75ae922a.js → p-b1d0e952.js} +7 -2
  91. package/dist/arcgis-coding-components/{p-4c959bce.js → p-ca87fa23.js} +15 -10
  92. package/dist/arcgis-coding-components/{p-ca7059d4.js → p-cc1182ad.js} +6 -1
  93. package/dist/arcgis-coding-components/{p-cdfe57a1.js → p-d7115f8d.js} +6 -1
  94. package/dist/arcgis-coding-components/p-f75e9797.js +6 -0
  95. package/dist/arcgis-coding-components/{p-a1a4f5fc.js → p-f7de632b.js} +6 -1
  96. package/dist/cjs/{arcade-defaults-7faf4d5f.js → arcade-defaults-ca7e0df9.js} +487 -362
  97. package/dist/cjs/{arcade-mode-26b8bc7a.js → arcade-mode-804c5ea4.js} +24 -20
  98. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +176 -112
  99. package/dist/cjs/arcgis-coding-components.cjs.js +6 -1
  100. package/dist/cjs/{css-eb1c8e5c.js → css-57d8d5ce.js} +5 -0
  101. package/dist/cjs/{cssMode-90f06d02.js → cssMode-26f96949.js} +7 -2
  102. package/dist/cjs/{html-1aa8e458.js → html-524d1fa5.js} +7 -2
  103. package/dist/cjs/{htmlMode-d3283acc.js → htmlMode-cfbfa149.js} +7 -2
  104. package/dist/cjs/{index-aaf14a3e.js → index-b2077a1b.js} +5 -0
  105. package/dist/cjs/index.cjs.js +7 -2
  106. package/dist/cjs/{javascript-7a4d9023.js → javascript-256166f8.js} +8 -3
  107. package/dist/cjs/{jsonMode-73be73dc.js → jsonMode-07101bba.js} +7 -2
  108. package/dist/cjs/loader.cjs.js +6 -1
  109. package/dist/cjs/{tsMode-95a699e0.js → tsMode-4bf06b38.js} +7 -2
  110. package/dist/cjs/{typescript-588df930.js → typescript-d05f2c7b.js} +7 -2
  111. package/dist/components/arcade-api.js +11 -6
  112. package/dist/components/arcade-contribution.js +16 -6
  113. package/dist/components/arcade-defaults.js +243 -118
  114. package/dist/components/arcade-mode.js +22 -18
  115. package/dist/components/arcade-results.js +137 -85
  116. package/dist/components/arcade-suggestions.js +9 -4
  117. package/dist/components/arcade-variables.js +10 -5
  118. package/dist/components/arcgis-arcade-api.js +5 -0
  119. package/dist/components/arcgis-arcade-editor.js +20 -8
  120. package/dist/components/arcgis-arcade-results.js +5 -0
  121. package/dist/components/arcgis-arcade-suggestions.js +5 -0
  122. package/dist/components/arcgis-arcade-variables.js +5 -0
  123. package/dist/components/arcgis-code-editor.js +5 -0
  124. package/dist/components/code-editor.js +9 -4
  125. package/dist/components/fields.js +5 -0
  126. package/dist/components/functional-components.js +5 -0
  127. package/dist/components/index.js +5 -0
  128. package/dist/components/index2.js +7 -2
  129. package/dist/components/markdown.js +5 -0
  130. package/dist/components/utilities.js +7 -2
  131. package/dist/esm/{arcade-defaults-0bc49d1c.js → arcade-defaults-f929db03.js} +479 -354
  132. package/dist/esm/{arcade-mode-01365fb8.js → arcade-mode-87d3ea19.js} +24 -20
  133. package/dist/esm/arcgis-arcade-api_6.entry.js +176 -112
  134. package/dist/esm/arcgis-coding-components.js +7 -2
  135. package/dist/esm/{css-aade9167.js → css-eb0f99ca.js} +5 -0
  136. package/dist/esm/{cssMode-edce5a89.js → cssMode-864388a5.js} +7 -2
  137. package/dist/esm/{html-00b724af.js → html-6c5b1b7a.js} +7 -2
  138. package/dist/esm/{htmlMode-ad3459b7.js → htmlMode-8edd9000.js} +7 -2
  139. package/dist/esm/{index-3732acb8.js → index-06f96b57.js} +5 -0
  140. package/dist/esm/index.js +7 -2
  141. package/dist/esm/{javascript-bdd52d83.js → javascript-2f8e7e0f.js} +8 -3
  142. package/dist/esm/{jsonMode-7b4c07fb.js → jsonMode-7cd18ebd.js} +7 -2
  143. package/dist/esm/loader.js +7 -2
  144. package/dist/esm/{tsMode-0bd06180.js → tsMode-23e39ee2.js} +7 -2
  145. package/dist/esm/{typescript-dfdad07a.js → typescript-c122e586.js} +7 -2
  146. package/dist/loader/cdn.js +5 -1
  147. package/dist/loader/index.cjs.js +5 -1
  148. package/dist/loader/index.es2017.js +5 -1
  149. package/dist/loader/index.js +5 -1
  150. package/dist/types/components/arcade-editor/arcade-editor.d.ts +1 -1
  151. package/dist/types/components/arcade-results/arcade-results.d.ts +0 -5
  152. package/dist/types/components.d.ts +3 -3
  153. package/dist/types/utils/arcade-executor.d.ts +12 -4
  154. package/dist/types/utils/arcade-monaco/arcade.worker.d.ts +6 -4
  155. package/dist/types/utils/profile/editor-profile.d.ts +10 -5
  156. package/dist/types/utils/profile/types.d.ts +3 -3
  157. package/dist/types/utils/profile/utils.d.ts +4 -0
  158. package/package.json +10 -10
  159. package/dist/arcgis-coding-components/p-86772125.js +0 -1
  160. package/dist/arcgis-coding-components/p-ac769046.entry.js +0 -1
@@ -1,4 +1,9 @@
1
- import { g as getAssetPath } from './index-3732acb8.js';
1
+ /*!
2
+ * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ * See https://js.arcgis.com/4.29/esri/copyright.txt for details.
4
+ * v4.29.0-beta.95
5
+ */
6
+ import { g as getAssetPath } from './index-06f96b57.js';
2
7
 
3
8
  /**
4
9
  * Returns the last element of an array.
@@ -20225,10 +20230,10 @@ function _$(namespace, description, attrs, ...children) {
20225
20230
  result.append(...children);
20226
20231
  return result;
20227
20232
  }
20228
- function $$e(description, attrs, ...children) {
20233
+ function $$d(description, attrs, ...children) {
20229
20234
  return _$(Namespace.HTML, description, attrs, ...children);
20230
20235
  }
20231
- $$e.SVG = function (description, attrs, ...children) {
20236
+ $$d.SVG = function (description, attrs, ...children) {
20232
20237
  return _$(Namespace.SVG, description, attrs, ...children);
20233
20238
  };
20234
20239
  function setVisibility(visible, ...elements) {
@@ -82159,7 +82164,7 @@ class ContextView extends Disposable {
82159
82164
  this.toDisposeOnSetContainer = Disposable.None;
82160
82165
  this.shadowRoot = null;
82161
82166
  this.shadowRootHostElement = null;
82162
- this.view = $$e('.context-view');
82167
+ this.view = $$d('.context-view');
82163
82168
  hide(this.view);
82164
82169
  this.setContainer(container, domPosition);
82165
82170
  this._register(toDisposable(() => this.setContainer(null, 1 /* ContextViewDOMPosition.ABSOLUTE */)));
@@ -82188,14 +82193,14 @@ class ContextView extends Disposable {
82188
82193
  if (container) {
82189
82194
  this.container = container;
82190
82195
  if (this.useShadowDOM) {
82191
- this.shadowRootHostElement = $$e('.shadow-root-host');
82196
+ this.shadowRootHostElement = $$d('.shadow-root-host');
82192
82197
  this.container.appendChild(this.shadowRootHostElement);
82193
82198
  this.shadowRoot = this.shadowRootHostElement.attachShadow({ mode: 'open' });
82194
82199
  const style = document.createElement('style');
82195
82200
  style.textContent = SHADOW_ROOT_CSS;
82196
82201
  this.shadowRoot.appendChild(style);
82197
82202
  this.shadowRoot.appendChild(this.view);
82198
- this.shadowRoot.appendChild($$e('slot'));
82203
+ this.shadowRoot.appendChild($$d('slot'));
82199
82204
  }
82200
82205
  else {
82201
82206
  this.container.appendChild(this.view);
@@ -84676,7 +84681,7 @@ function renderLabelWithIcons(text) {
84676
84681
  return elements;
84677
84682
  }
84678
84683
  function renderIcon(icon) {
84679
- const node = $$e(`span`);
84684
+ const node = $$d(`span`);
84680
84685
  node.classList.add(...ThemeIcon.asClassNameArray(icon));
84681
84686
  return node;
84682
84687
  }
@@ -88708,7 +88713,7 @@ class RowCache {
88708
88713
  }
88709
88714
  }
88710
88715
  else {
88711
- const domNode = $$e('.monaco-list-row');
88716
+ const domNode = $$d('.monaco-list-row');
88712
88717
  const renderer = this.getRenderer(templateId);
88713
88718
  const templateData = renderer.renderTemplate(domNode);
88714
88719
  result = { domNode, templateId, templateData };
@@ -89472,7 +89477,7 @@ class ListView {
89472
89477
  if (typeof label === 'undefined') {
89473
89478
  label = String(elements.length);
89474
89479
  }
89475
- const dragImage = $$e('.monaco-drag-image');
89480
+ const dragImage = $$d('.monaco-drag-image');
89476
89481
  dragImage.textContent = label;
89477
89482
  const getDragImageContainer = (e) => {
89478
89483
  while (e && !e.classList.contains('monaco-workbench')) {
@@ -91333,16 +91338,16 @@ __decorate$1V([
91333
91338
  * Copyright (c) Microsoft Corporation. All rights reserved.
91334
91339
  * Licensed under the MIT License. See License.txt in the project root for license information.
91335
91340
  *--------------------------------------------------------------------------------------------*/
91336
- const $$d = $$e;
91341
+ const $$c = $$d;
91337
91342
  const SELECT_OPTION_ENTRY_TEMPLATE_ID = 'selectOption.entry.template';
91338
91343
  class SelectListRenderer {
91339
91344
  get templateId() { return SELECT_OPTION_ENTRY_TEMPLATE_ID; }
91340
91345
  renderTemplate(container) {
91341
91346
  const data = Object.create(null);
91342
91347
  data.root = container;
91343
- data.text = append$1(container, $$d('.option-text'));
91344
- data.detail = append$1(container, $$d('.option-detail'));
91345
- data.decoratorRight = append$1(container, $$d('.option-decorator-right'));
91348
+ data.text = append$1(container, $$c('.option-text'));
91349
+ data.detail = append$1(container, $$c('.option-detail'));
91350
+ data.decoratorRight = append$1(container, $$c('.option-decorator-right'));
91346
91351
  return data;
91347
91352
  }
91348
91353
  renderElement(element, index, templateData) {
@@ -91413,14 +91418,14 @@ class SelectBoxList extends Disposable {
91413
91418
  constructSelectDropDown(contextViewProvider) {
91414
91419
  // SetUp ContextView container to hold select Dropdown
91415
91420
  this.contextViewProvider = contextViewProvider;
91416
- this.selectDropDownContainer = $$e('.monaco-select-box-dropdown-container');
91421
+ this.selectDropDownContainer = $$d('.monaco-select-box-dropdown-container');
91417
91422
  // Use custom CSS vars for padding calculation (shared with parent select)
91418
91423
  this.selectDropDownContainer.classList.add('monaco-select-box-dropdown-padding');
91419
91424
  // Setup container for select option details
91420
- this.selectionDetailsPane = append$1(this.selectDropDownContainer, $$d('.select-box-details-pane'));
91425
+ this.selectionDetailsPane = append$1(this.selectDropDownContainer, $$c('.select-box-details-pane'));
91421
91426
  // Create span flex box item/div we can measure and control
91422
- const widthControlOuterDiv = append$1(this.selectDropDownContainer, $$d('.select-box-dropdown-container-width-control'));
91423
- const widthControlInnerDiv = append$1(widthControlOuterDiv, $$d('.width-control-div'));
91427
+ const widthControlOuterDiv = append$1(this.selectDropDownContainer, $$c('.select-box-dropdown-container-width-control'));
91428
+ const widthControlInnerDiv = append$1(widthControlOuterDiv, $$c('.width-control-div'));
91424
91429
  this.widthControlElement = document.createElement('span');
91425
91430
  this.widthControlElement.className = 'option-text-width-control';
91426
91431
  append$1(widthControlInnerDiv, this.widthControlElement);
@@ -91863,7 +91868,7 @@ class SelectBoxList extends Disposable {
91863
91868
  return;
91864
91869
  }
91865
91870
  // SetUp container for list
91866
- this.selectDropDownListContainer = append$1(parent, $$d('.select-box-dropdown-list-container'));
91871
+ this.selectDropDownListContainer = append$1(parent, $$c('.select-box-dropdown-list-container'));
91867
91872
  this.listRenderer = new SelectListRenderer();
91868
91873
  this.selectList = new List('SelectBoxCustom', this.selectDropDownListContainer, this, [this.listRenderer], {
91869
91874
  useShadows: false,
@@ -92711,8 +92716,8 @@ class BaseDropdown extends ActionRunner {
92711
92716
  super();
92712
92717
  this._onDidChangeVisibility = this._register(new Emitter$1());
92713
92718
  this.onDidChangeVisibility = this._onDidChangeVisibility.event;
92714
- this._element = append$1(container, $$e('.monaco-dropdown'));
92715
- this._label = append$1(this._element, $$e('.dropdown-label'));
92719
+ this._element = append$1(container, $$d('.monaco-dropdown'));
92720
+ this._label = append$1(this._element, $$d('.dropdown-label'));
92716
92721
  let labelRenderer = options.labelRenderer;
92717
92722
  if (!labelRenderer) {
92718
92723
  labelRenderer = (container) => {
@@ -92852,7 +92857,7 @@ class DropdownMenuActionViewItem extends BaseActionViewItem {
92852
92857
  render(container) {
92853
92858
  this.actionItem = container;
92854
92859
  const labelRenderer = (el) => {
92855
- this.element = append$1(el, $$e('a.action-label'));
92860
+ this.element = append$1(el, $$d('a.action-label'));
92856
92861
  let classNames = [];
92857
92862
  if (typeof this.options.classNames === 'string') {
92858
92863
  classNames = this.options.classNames.split(/\s+/g).filter(s => !!s);
@@ -93781,7 +93786,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
93781
93786
  }
93782
93787
  }();
93783
93788
  if (this._container) {
93784
- this._defaultAction.render(prepend$1(this._container, $$e('.action-container')));
93789
+ this._defaultAction.render(prepend$1(this._container, $$d('.action-container')));
93785
93790
  }
93786
93791
  }
93787
93792
  _getDefaultActionKeybindingLabel(defaultAction) {
@@ -93804,7 +93809,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
93804
93809
  this._container = container;
93805
93810
  super.render(this._container);
93806
93811
  this._container.classList.add('monaco-dropdown-with-default');
93807
- const primaryContainer = $$e('.action-container');
93812
+ const primaryContainer = $$d('.action-container');
93808
93813
  this._defaultAction.render(append$1(this._container, primaryContainer));
93809
93814
  this._register(addDisposableListener(primaryContainer, EventType$1.KEY_DOWN, (e) => {
93810
93815
  const event = new StandardKeyboardEvent(e);
@@ -93814,7 +93819,7 @@ let DropdownWithDefaultActionViewItem = class DropdownWithDefaultActionViewItem
93814
93819
  event.stopPropagation();
93815
93820
  }
93816
93821
  }));
93817
- const dropdownContainer = $$e('.dropdown-action-container');
93822
+ const dropdownContainer = $$d('.dropdown-action-container');
93818
93823
  this._dropdown.render(append$1(this._container, dropdownContainer));
93819
93824
  this._register(addDisposableListener(dropdownContainer, EventType$1.KEY_DOWN, (e) => {
93820
93825
  var _a;
@@ -94661,7 +94666,7 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
94661
94666
  return;
94662
94667
  }
94663
94668
  this.container = container;
94664
- this.item = append$1(this.element, $$e('a.action-menu-item'));
94669
+ this.item = append$1(this.element, $$d('a.action-menu-item'));
94665
94670
  if (this._action.id === Separator.ID) {
94666
94671
  // A separator is a presentation item
94667
94672
  this.item.setAttribute('role', 'presentation');
@@ -94672,11 +94677,11 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
94672
94677
  this.item.setAttribute('aria-keyshortcuts', `${this.mnemonic}`);
94673
94678
  }
94674
94679
  }
94675
- this.check = append$1(this.item, $$e('span.menu-item-check' + ThemeIcon.asCSSSelector(Codicon.menuSelection)));
94680
+ this.check = append$1(this.item, $$d('span.menu-item-check' + ThemeIcon.asCSSSelector(Codicon.menuSelection)));
94676
94681
  this.check.setAttribute('role', 'none');
94677
- this.label = append$1(this.item, $$e('span.action-label'));
94682
+ this.label = append$1(this.item, $$d('span.action-label'));
94678
94683
  if (this.options.label && this.options.keybinding) {
94679
- append$1(this.item, $$e('span.keybinding')).textContent = this.options.keybinding;
94684
+ append$1(this.item, $$d('span.keybinding')).textContent = this.options.keybinding;
94680
94685
  }
94681
94686
  // Adds mouse up listener to actually run the action
94682
94687
  this.runOnceToEnableMouseUp.schedule();
@@ -94729,7 +94734,7 @@ class BaseMenuActionViewItem extends BaseActionViewItem {
94729
94734
  }
94730
94735
  const replaceDoubleEscapes = (str) => str.replace(/&&/g, '&');
94731
94736
  if (escMatch) {
94732
- this.label.append(ltrim(replaceDoubleEscapes(label.substr(0, escMatch.index)), ' '), $$e('u', { 'aria-hidden': 'true' }, escMatch[3]), rtrim(replaceDoubleEscapes(label.substr(escMatch.index + escMatch[0].length)), ' '));
94737
+ this.label.append(ltrim(replaceDoubleEscapes(label.substr(0, escMatch.index)), ' '), $$d('u', { 'aria-hidden': 'true' }, escMatch[3]), rtrim(replaceDoubleEscapes(label.substr(escMatch.index + escMatch[0].length)), ' '));
94733
94738
  }
94734
94739
  else {
94735
94740
  this.label.innerText = replaceDoubleEscapes(label).trim();
@@ -94852,7 +94857,7 @@ class SubmenuMenuActionViewItem extends BaseMenuActionViewItem {
94852
94857
  this.item.tabIndex = 0;
94853
94858
  this.item.setAttribute('aria-haspopup', 'true');
94854
94859
  this.updateAriaExpanded('false');
94855
- this.submenuIndicator = append$1(this.item, $$e('span.submenu-indicator' + ThemeIcon.asCSSSelector(Codicon.menuSubmenu)));
94860
+ this.submenuIndicator = append$1(this.item, $$d('span.submenu-indicator' + ThemeIcon.asCSSSelector(Codicon.menuSubmenu)));
94856
94861
  this.submenuIndicator.setAttribute('aria-hidden', 'true');
94857
94862
  }
94858
94863
  this._register(addDisposableListener(this.element, EventType$1.KEY_UP, e => {
@@ -94943,7 +94948,7 @@ class SubmenuMenuActionViewItem extends BaseMenuActionViewItem {
94943
94948
  }
94944
94949
  if (!this.parentData.submenu) {
94945
94950
  this.updateAriaExpanded('true');
94946
- this.submenuContainer = append$1(this.element, $$e('div.monaco-submenu'));
94951
+ this.submenuContainer = append$1(this.element, $$d('div.monaco-submenu'));
94947
94952
  this.submenuContainer.classList.add('menubar-menu-items-holder', 'context-view');
94948
94953
  // Set the top value of the menu container before construction
94949
94954
  // This allows the menu constructor to calculate the proper max height
@@ -95481,7 +95486,7 @@ class ContextMenuHandler {
95481
95486
  }
95482
95487
  // Render invisible div to block mouse interaction in the rest of the UI
95483
95488
  if (this.options.blockMouse) {
95484
- this.block = container.appendChild($$e('.context-view-block'));
95489
+ this.block = container.appendChild($$d('.context-view-block'));
95485
95490
  this.block.style.position = 'fixed';
95486
95491
  this.block.style.cursor = 'initial';
95487
95492
  this.block.style.left = '0';
@@ -96935,7 +96940,7 @@ class Sash extends Disposable {
96935
96940
  const onChange = (state) => {
96936
96941
  this.orthogonalStartDragHandleDisposables.clear();
96937
96942
  if (state !== 0 /* SashState.Disabled */) {
96938
- this._orthogonalStartDragHandle = append$1(this.el, $$e('.orthogonal-drag-handle.start'));
96943
+ this._orthogonalStartDragHandle = append$1(this.el, $$d('.orthogonal-drag-handle.start'));
96939
96944
  this.orthogonalStartDragHandleDisposables.add(toDisposable(() => this._orthogonalStartDragHandle.remove()));
96940
96945
  this.orthogonalStartDragHandleDisposables.add(new DomEmitter(this._orthogonalStartDragHandle, 'mouseenter')).event(() => Sash.onMouseEnter(sash), undefined, this.orthogonalStartDragHandleDisposables);
96941
96946
  this.orthogonalStartDragHandleDisposables.add(new DomEmitter(this._orthogonalStartDragHandle, 'mouseleave')).event(() => Sash.onMouseLeave(sash), undefined, this.orthogonalStartDragHandleDisposables);
@@ -96964,7 +96969,7 @@ class Sash extends Disposable {
96964
96969
  const onChange = (state) => {
96965
96970
  this.orthogonalEndDragHandleDisposables.clear();
96966
96971
  if (state !== 0 /* SashState.Disabled */) {
96967
- this._orthogonalEndDragHandle = append$1(this.el, $$e('.orthogonal-drag-handle.end'));
96972
+ this._orthogonalEndDragHandle = append$1(this.el, $$d('.orthogonal-drag-handle.end'));
96968
96973
  this.orthogonalEndDragHandleDisposables.add(toDisposable(() => this._orthogonalEndDragHandle.remove()));
96969
96974
  this.orthogonalEndDragHandleDisposables.add(new DomEmitter(this._orthogonalEndDragHandle, 'mouseenter')).event(() => Sash.onMouseEnter(sash), undefined, this.orthogonalEndDragHandleDisposables);
96970
96975
  this.orthogonalEndDragHandleDisposables.add(new DomEmitter(this._orthogonalEndDragHandle, 'mouseleave')).event(() => Sash.onMouseLeave(sash), undefined, this.orthogonalEndDragHandleDisposables);
@@ -97013,7 +97018,7 @@ class Sash extends Disposable {
97013
97018
  * Useful in 2x2 grids. Not meant for widespread usage.
97014
97019
  */
97015
97020
  this.linkedSash = undefined;
97016
- this.el = append$1(container, $$e('.monaco-sash'));
97021
+ this.el = append$1(container, $$d('.monaco-sash'));
97017
97022
  if (options.orthogonalEdge) {
97018
97023
  this.el.classList.add(`orthogonal-edge-${options.orthogonalEdge}`);
97019
97024
  }
@@ -97465,8 +97470,8 @@ class SplitView extends Disposable {
97465
97470
  this.el.classList.add('monaco-split-view2');
97466
97471
  this.el.classList.add(this.orientation === 0 /* Orientation.VERTICAL */ ? 'vertical' : 'horizontal');
97467
97472
  container.appendChild(this.el);
97468
- this.sashContainer = append$1(this.el, $$e('.sash-container'));
97469
- this.viewContainer = $$e('.split-view-container');
97473
+ this.sashContainer = append$1(this.el, $$d('.sash-container'));
97474
+ this.viewContainer = $$d('.split-view-container');
97470
97475
  this.scrollable = this._register(new Scrollable({
97471
97476
  forceIntegerValues: true,
97472
97477
  smoothScrollDuration: 125,
@@ -97751,7 +97756,7 @@ class SplitView extends Disposable {
97751
97756
  this.state = State.Busy;
97752
97757
  try {
97753
97758
  // Add view
97754
- const container = $$e('.split-view-view');
97759
+ const container = $$d('.split-view-view');
97755
97760
  if (index === this.viewItems.length) {
97756
97761
  this.viewContainer.appendChild(container);
97757
97762
  }
@@ -98077,12 +98082,12 @@ class TableListRenderer {
98077
98082
  }
98078
98083
  }
98079
98084
  renderTemplate(container) {
98080
- const rowContainer = append$1(container, $$e('.monaco-table-tr'));
98085
+ const rowContainer = append$1(container, $$d('.monaco-table-tr'));
98081
98086
  const cellContainers = [];
98082
98087
  const cellTemplateData = [];
98083
98088
  for (let i = 0; i < this.columns.length; i++) {
98084
98089
  const renderer = this.renderers[i];
98085
- const cellContainer = append$1(rowContainer, $$e('.monaco-table-td', { 'data-col-index': i }));
98090
+ const cellContainer = append$1(rowContainer, $$d('.monaco-table-td', { 'data-col-index': i }));
98086
98091
  cellContainer.style.width = `${this.getColumnSize(i)}px`;
98087
98092
  cellContainers.push(cellContainer);
98088
98093
  cellTemplateData.push(renderer.renderTemplate(cellContainer));
@@ -98139,7 +98144,7 @@ class ColumnHeader {
98139
98144
  this.index = index;
98140
98145
  this._onDidLayout = new Emitter$1();
98141
98146
  this.onDidLayout = this._onDidLayout.event;
98142
- this.element = $$e('.monaco-table-th', { 'data-col-index': index, title: column.tooltip }, column.label);
98147
+ this.element = $$d('.monaco-table-th', { 'data-col-index': index, title: column.tooltip }, column.label);
98143
98148
  }
98144
98149
  layout(size) {
98145
98150
  this._onDidLayout.fire([this.index, size]);
@@ -98163,7 +98168,7 @@ class Table {
98163
98168
  this.disposables = new DisposableStore();
98164
98169
  this.cachedWidth = 0;
98165
98170
  this.cachedHeight = 0;
98166
- this.domNode = append$1(container, $$e(`.monaco-table.${this.domId}`));
98171
+ this.domNode = append$1(container, $$d(`.monaco-table.${this.domId}`));
98167
98172
  const headers = columns.map((c, i) => new ColumnHeader(c, i));
98168
98173
  const descriptor = {
98169
98174
  size: headers.reduce((a, b) => a + b.column.weight, 0),
@@ -98467,7 +98472,7 @@ class HistoryNavigator {
98467
98472
  * Copyright (c) Microsoft Corporation. All rights reserved.
98468
98473
  * Licensed under the MIT License. See License.txt in the project root for license information.
98469
98474
  *--------------------------------------------------------------------------------------------*/
98470
- const $$c = $$e;
98475
+ const $$b = $$d;
98471
98476
  class InputBox$1 extends Widget$1 {
98472
98477
  constructor(container, contextViewProvider, options) {
98473
98478
  var _a;
@@ -98487,10 +98492,10 @@ class InputBox$1 extends Widget$1 {
98487
98492
  if (this.options.validationOptions) {
98488
98493
  this.validation = this.options.validationOptions.validation;
98489
98494
  }
98490
- this.element = append$1(container, $$c('.monaco-inputbox.idle'));
98495
+ this.element = append$1(container, $$b('.monaco-inputbox.idle'));
98491
98496
  const tagName = this.options.flexibleHeight ? 'textarea' : 'input';
98492
- const wrapper = append$1(this.element, $$c('.ibwrapper'));
98493
- this.input = append$1(wrapper, $$c(tagName + '.input.empty'));
98497
+ const wrapper = append$1(this.element, $$b('.ibwrapper'));
98498
+ this.input = append$1(wrapper, $$b(tagName + '.input.empty'));
98494
98499
  this.input.setAttribute('autocorrect', 'off');
98495
98500
  this.input.setAttribute('autocapitalize', 'off');
98496
98501
  this.input.setAttribute('spellcheck', 'false');
@@ -98498,7 +98503,7 @@ class InputBox$1 extends Widget$1 {
98498
98503
  this.onblur(this.input, () => this.element.classList.remove('synthetic-focus'));
98499
98504
  if (this.options.flexibleHeight) {
98500
98505
  this.maxHeight = typeof this.options.flexibleMaxHeight === 'number' ? this.options.flexibleMaxHeight : Number.POSITIVE_INFINITY;
98501
- this.mirror = append$1(wrapper, $$c('div.mirror'));
98506
+ this.mirror = append$1(wrapper, $$b('div.mirror'));
98502
98507
  this.mirror.innerText = '\u00a0';
98503
98508
  this.scrollableElement = new ScrollableElement(this.element, { vertical: 1 /* ScrollbarVisibility.Auto */ });
98504
98509
  if (this.options.flexibleWidth) {
@@ -98695,7 +98700,7 @@ class InputBox$1 extends Widget$1 {
98695
98700
  if (!this.message) {
98696
98701
  return null;
98697
98702
  }
98698
- div = append$1(container, $$c('.monaco-inputbox-container'));
98703
+ div = append$1(container, $$b('.monaco-inputbox-container'));
98699
98704
  layout();
98700
98705
  const renderOptions = {
98701
98706
  inline: true,
@@ -100043,10 +100048,10 @@ class TreeRenderer {
100043
100048
  }
100044
100049
  }
100045
100050
  renderTemplate(container) {
100046
- const el = append$1(container, $$e('.monaco-tl-row'));
100047
- const indent = append$1(el, $$e('.monaco-tl-indent'));
100048
- const twistie = append$1(el, $$e('.monaco-tl-twistie'));
100049
- const contents = append$1(el, $$e('.monaco-tl-contents'));
100051
+ const el = append$1(container, $$d('.monaco-tl-row'));
100052
+ const indent = append$1(el, $$d('.monaco-tl-indent'));
100053
+ const twistie = append$1(el, $$d('.monaco-tl-twistie'));
100054
+ const contents = append$1(el, $$d('.monaco-tl-contents'));
100050
100055
  const templateData = this.renderer.renderTemplate(contents);
100051
100056
  return { container, indent, twistie, indentGuidesDisposable: Disposable.None, templateData };
100052
100057
  }
@@ -100125,7 +100130,7 @@ class TreeRenderer {
100125
100130
  break;
100126
100131
  }
100127
100132
  const parent = model.getNode(parentRef);
100128
- const guide = $$e('.indent-guide', { style: `width: ${this.indent}px` });
100133
+ const guide = $$d('.indent-guide', { style: `width: ${this.indent}px` });
100129
100134
  if (this.activeIndentNodes.has(parent)) {
100130
100135
  guide.classList.add('active');
100131
100136
  }
@@ -100614,7 +100619,7 @@ class StickyScrollWidget$1 {
100614
100619
  state.addDisposable(disposable);
100615
100620
  }
100616
100621
  // Add shadow element to the end of the widget
100617
- const shadow = $$e('.monaco-tree-sticky-container-shadow');
100622
+ const shadow = $$d('.monaco-tree-sticky-container-shadow');
100618
100623
  this._rootDomNode.appendChild(shadow);
100619
100624
  state.addDisposable(toDisposable(() => shadow.remove()));
100620
100625
  // Set the height of the widget to the bottom of the last sticky node
@@ -104304,7 +104309,7 @@ class CountBadge {
104304
104309
  this.options = options;
104305
104310
  this.styles = styles;
104306
104311
  this.count = 0;
104307
- this.element = append$1(container, $$e('.monaco-count-badge'));
104312
+ this.element = append$1(container, $$d('.monaco-count-badge'));
104308
104313
  this.countFormat = this.options.countFormat || '{0}';
104309
104314
  this.titleFormat = this.options.titleFormat || '';
104310
104315
  this.setCount(this.options.count || 0);
@@ -104430,7 +104435,7 @@ ProgressBar.LONG_RUNNING_INFINITE_THRESHOLD = 10000;
104430
104435
  * Copyright (c) Microsoft Corporation. All rights reserved.
104431
104436
  * Licensed under the MIT License. See License.txt in the project root for license information.
104432
104437
  *--------------------------------------------------------------------------------------------*/
104433
- const $$b = $$e;
104438
+ const $$a = $$d;
104434
104439
  class QuickInputBox extends Disposable {
104435
104440
  constructor(parent, inputBoxStyles, toggleStyles) {
104436
104441
  super();
@@ -104444,7 +104449,7 @@ class QuickInputBox extends Disposable {
104444
104449
  this.onDidChange = (handler) => {
104445
104450
  return this.findInput.onDidChange(handler);
104446
104451
  };
104447
- this.container = append$1(this.parent, $$b('.quick-input-box'));
104452
+ this.container = append$1(this.parent, $$a('.quick-input-box'));
104448
104453
  this.findInput = this._register(new FindInput(this.container, undefined, { label: '', inputBoxStyles, toggleStyles }));
104449
104454
  const input = this.findInput.inputBox.inputElement;
104450
104455
  input.role = 'combobox';
@@ -104533,7 +104538,7 @@ class HighlightedLabel {
104533
104538
  this.highlights = [];
104534
104539
  this.didEverRender = false;
104535
104540
  this.supportIcons = (_a = options === null || options === void 0 ? void 0 : options.supportIcons) !== null && _a !== void 0 ? _a : false;
104536
- this.domNode = append$1(container, $$e('span.monaco-highlighted-label'));
104541
+ this.domNode = append$1(container, $$d('span.monaco-highlighted-label'));
104537
104542
  }
104538
104543
  /**
104539
104544
  * The label's DOM node.
@@ -104584,7 +104589,7 @@ class HighlightedLabel {
104584
104589
  pos = highlight.start;
104585
104590
  }
104586
104591
  const substring = this.text.substring(pos, highlight.end);
104587
- const element = $$e('span.highlight', undefined, ...this.supportIcons ? renderLabelWithIcons(substring) : [substring]);
104592
+ const element = $$d('span.highlight', undefined, ...this.supportIcons ? renderLabelWithIcons(substring) : [substring]);
104588
104593
  if (highlight.extraClasses) {
104589
104594
  element.classList.add(...highlight.extraClasses);
104590
104595
  }
@@ -104673,9 +104678,9 @@ class IconLabel extends Disposable {
104673
104678
  super();
104674
104679
  this.customHovers = new Map();
104675
104680
  this.creationOptions = options;
104676
- this.domNode = this._register(new FastLabelNode(append$1(container, $$e('.monaco-icon-label'))));
104677
- this.labelContainer = append$1(this.domNode.element, $$e('.monaco-icon-label-container'));
104678
- this.nameContainer = append$1(this.labelContainer, $$e('span.monaco-icon-name-container'));
104681
+ this.domNode = this._register(new FastLabelNode(append$1(container, $$d('.monaco-icon-label'))));
104682
+ this.labelContainer = append$1(this.domNode.element, $$d('.monaco-icon-label-container'));
104683
+ this.nameContainer = append$1(this.labelContainer, $$d('span.monaco-icon-name-container'));
104679
104684
  if ((options === null || options === void 0 ? void 0 : options.supportHighlights) || (options === null || options === void 0 ? void 0 : options.supportIcons)) {
104680
104685
  this.nameNode = new LabelWithHighlights(this.nameContainer, !!options.supportIcons);
104681
104686
  }
@@ -104765,20 +104770,20 @@ class IconLabel extends Disposable {
104765
104770
  }
104766
104771
  getOrCreateSuffixNode() {
104767
104772
  if (!this.suffixNode) {
104768
- const suffixContainer = this._register(new FastLabelNode(after(this.nameContainer, $$e('span.monaco-icon-suffix-container'))));
104769
- this.suffixNode = this._register(new FastLabelNode(append$1(suffixContainer.element, $$e('span.label-suffix'))));
104773
+ const suffixContainer = this._register(new FastLabelNode(after(this.nameContainer, $$d('span.monaco-icon-suffix-container'))));
104774
+ this.suffixNode = this._register(new FastLabelNode(append$1(suffixContainer.element, $$d('span.label-suffix'))));
104770
104775
  }
104771
104776
  return this.suffixNode;
104772
104777
  }
104773
104778
  getOrCreateDescriptionNode() {
104774
104779
  var _a;
104775
104780
  if (!this.descriptionNode) {
104776
- const descriptionContainer = this._register(new FastLabelNode(append$1(this.labelContainer, $$e('span.monaco-icon-description-container'))));
104781
+ const descriptionContainer = this._register(new FastLabelNode(append$1(this.labelContainer, $$d('span.monaco-icon-description-container'))));
104777
104782
  if ((_a = this.creationOptions) === null || _a === void 0 ? void 0 : _a.supportDescriptionHighlights) {
104778
- this.descriptionNode = new HighlightedLabel(append$1(descriptionContainer.element, $$e('span.label-description')), { supportIcons: !!this.creationOptions.supportIcons });
104783
+ this.descriptionNode = new HighlightedLabel(append$1(descriptionContainer.element, $$d('span.label-description')), { supportIcons: !!this.creationOptions.supportIcons });
104779
104784
  }
104780
104785
  else {
104781
- this.descriptionNode = this._register(new FastLabelNode(append$1(descriptionContainer.element, $$e('span.label-description'))));
104786
+ this.descriptionNode = this._register(new FastLabelNode(append$1(descriptionContainer.element, $$d('span.label-description'))));
104782
104787
  }
104783
104788
  }
104784
104789
  return this.descriptionNode;
@@ -104800,7 +104805,7 @@ class Label {
104800
104805
  if (!this.singleLabel) {
104801
104806
  this.container.innerText = '';
104802
104807
  this.container.classList.remove('multiple');
104803
- this.singleLabel = append$1(this.container, $$e('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId }));
104808
+ this.singleLabel = append$1(this.container, $$d('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId }));
104804
104809
  }
104805
104810
  this.singleLabel.textContent = label;
104806
104811
  }
@@ -104811,9 +104816,9 @@ class Label {
104811
104816
  for (let i = 0; i < label.length; i++) {
104812
104817
  const l = label[i];
104813
104818
  const id = (options === null || options === void 0 ? void 0 : options.domId) && `${options === null || options === void 0 ? void 0 : options.domId}_${i}`;
104814
- append$1(this.container, $$e('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' }, l));
104819
+ append$1(this.container, $$d('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' }, l));
104815
104820
  if (i < label.length - 1) {
104816
- append$1(this.container, $$e('span.label-separator', undefined, (options === null || options === void 0 ? void 0 : options.separator) || '/'));
104821
+ append$1(this.container, $$d('span.label-separator', undefined, (options === null || options === void 0 ? void 0 : options.separator) || '/'));
104817
104822
  }
104818
104823
  }
104819
104824
  }
@@ -104851,7 +104856,7 @@ class LabelWithHighlights {
104851
104856
  if (!this.singleLabel) {
104852
104857
  this.container.innerText = '';
104853
104858
  this.container.classList.remove('multiple');
104854
- this.singleLabel = new HighlightedLabel(append$1(this.container, $$e('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId })), { supportIcons: this.supportIcons });
104859
+ this.singleLabel = new HighlightedLabel(append$1(this.container, $$d('a.label-name', { id: options === null || options === void 0 ? void 0 : options.domId })), { supportIcons: this.supportIcons });
104855
104860
  }
104856
104861
  this.singleLabel.set(label, options === null || options === void 0 ? void 0 : options.matches, undefined, options === null || options === void 0 ? void 0 : options.labelEscapeNewLines);
104857
104862
  }
@@ -104865,11 +104870,11 @@ class LabelWithHighlights {
104865
104870
  const l = label[i];
104866
104871
  const m = matches ? matches[i] : undefined;
104867
104872
  const id = (options === null || options === void 0 ? void 0 : options.domId) && `${options === null || options === void 0 ? void 0 : options.domId}_${i}`;
104868
- const name = $$e('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' });
104873
+ const name = $$d('a.label-name', { id, 'data-icon-label-count': label.length, 'data-icon-label-index': i, 'role': 'treeitem' });
104869
104874
  const highlightedLabel = new HighlightedLabel(append$1(this.container, name), { supportIcons: this.supportIcons });
104870
104875
  highlightedLabel.set(l, m, undefined, options === null || options === void 0 ? void 0 : options.labelEscapeNewLines);
104871
104876
  if (i < label.length - 1) {
104872
- append$1(name, $$e('span.label-separator', undefined, separator));
104877
+ append$1(name, $$d('span.label-separator', undefined, separator));
104873
104878
  }
104874
104879
  }
104875
104880
  }
@@ -104880,7 +104885,7 @@ class LabelWithHighlights {
104880
104885
  * Copyright (c) Microsoft Corporation. All rights reserved.
104881
104886
  * Licensed under the MIT License. See License.txt in the project root for license information.
104882
104887
  *--------------------------------------------------------------------------------------------*/
104883
- const $$a = $$e;
104888
+ const $$9 = $$d;
104884
104889
  const unthemedKeybindingLabelOptions = {
104885
104890
  keybindingLabelBackground: undefined,
104886
104891
  keybindingLabelForeground: undefined,
@@ -104894,7 +104899,7 @@ class KeybindingLabel {
104894
104899
  this.keyElements = new Set();
104895
104900
  this.options = options || Object.create(null);
104896
104901
  const labelForeground = this.options.keybindingLabelForeground;
104897
- this.domNode = append$1(container, $$a('.monaco-keybinding'));
104902
+ this.domNode = append$1(container, $$9('.monaco-keybinding'));
104898
104903
  if (labelForeground) {
104899
104904
  this.domNode.style.color = labelForeground;
104900
104905
  }
@@ -104921,7 +104926,7 @@ class KeybindingLabel {
104921
104926
  this.renderChord(this.domNode, chords[0], this.matches ? this.matches.firstPart : null);
104922
104927
  }
104923
104928
  for (let i = 1; i < chords.length; i++) {
104924
- append$1(this.domNode, $$a('span.monaco-keybinding-key-chord-separator', undefined, ' '));
104929
+ append$1(this.domNode, $$9('span.monaco-keybinding-key-chord-separator', undefined, ' '));
104925
104930
  this.renderChord(this.domNode, chords[i], this.matches ? this.matches.chordPart : null);
104926
104931
  }
104927
104932
  const title = ((_a = this.options.disableTitle) !== null && _a !== void 0 ? _a : false) ? undefined : this.keybinding.getAriaLabel() || undefined;
@@ -104963,14 +104968,14 @@ class KeybindingLabel {
104963
104968
  renderKey(parent, label, highlight, separator) {
104964
104969
  append$1(parent, this.createKeyElement(label, highlight ? '.highlight' : ''));
104965
104970
  if (separator) {
104966
- append$1(parent, $$a('span.monaco-keybinding-key-separator', undefined, separator));
104971
+ append$1(parent, $$9('span.monaco-keybinding-key-separator', undefined, separator));
104967
104972
  }
104968
104973
  }
104969
104974
  renderUnbound(parent) {
104970
104975
  append$1(parent, this.createKeyElement(localize('unbound', "Unbound")));
104971
104976
  }
104972
104977
  createKeyElement(label, extraClass = '') {
104973
- const keyElement = $$a('span.monaco-keybinding-key' + extraClass, undefined, label);
104978
+ const keyElement = $$9('span.monaco-keybinding-key' + extraClass, undefined, label);
104974
104979
  this.keyElements.add(keyElement);
104975
104980
  if (this.options.keybindingLabelBackground) {
104976
104981
  keyElement.style.backgroundColor = this.options.keybindingLabelBackground;
@@ -105147,7 +105152,7 @@ function renderQuickInputDescription(description, container, actionHandler) {
105147
105152
  else if (!title) {
105148
105153
  title = node.href;
105149
105154
  }
105150
- const anchor = $$e('a', { href: node.href, title, tabIndex: tabIndex++ }, node.label);
105155
+ const anchor = $$d('a', { href: node.href, title, tabIndex: tabIndex++ }, node.label);
105151
105156
  anchor.style.textDecoration = 'underline';
105152
105157
  const handleOpen = (e) => {
105153
105158
  if (isEventLike(e)) {
@@ -105179,7 +105184,7 @@ var __decorate$1K = (undefined && undefined.__decorate) || function (decorators,
105179
105184
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
105180
105185
  return c > 3 && r && Object.defineProperty(target, key, r), r;
105181
105186
  };
105182
- const $$9 = $$e;
105187
+ const $$8 = $$d;
105183
105188
  class ListElement {
105184
105189
  constructor(mainItem, previous, index, hasCheckbox, fireButtonTriggered, fireSeparatorButtonTriggered, onCheckedEmitter) {
105185
105190
  var _a, _b, _c;
@@ -105293,36 +105298,36 @@ class ListElementRenderer {
105293
105298
  const data = Object.create(null);
105294
105299
  data.toDisposeElement = [];
105295
105300
  data.toDisposeTemplate = [];
105296
- data.entry = append$1(container, $$9('.quick-input-list-entry'));
105301
+ data.entry = append$1(container, $$8('.quick-input-list-entry'));
105297
105302
  // Checkbox
105298
- const label = append$1(data.entry, $$9('label.quick-input-list-label'));
105303
+ const label = append$1(data.entry, $$8('label.quick-input-list-label'));
105299
105304
  data.toDisposeTemplate.push(addStandardDisposableListener(label, EventType$1.CLICK, e => {
105300
105305
  if (!data.checkbox.offsetParent) { // If checkbox not visible:
105301
105306
  e.preventDefault(); // Prevent toggle of checkbox when it is immediately shown afterwards. #91740
105302
105307
  }
105303
105308
  }));
105304
- data.checkbox = append$1(label, $$9('input.quick-input-list-checkbox'));
105309
+ data.checkbox = append$1(label, $$8('input.quick-input-list-checkbox'));
105305
105310
  data.checkbox.type = 'checkbox';
105306
105311
  data.toDisposeTemplate.push(addStandardDisposableListener(data.checkbox, EventType$1.CHANGE, e => {
105307
105312
  data.element.checked = data.checkbox.checked;
105308
105313
  }));
105309
105314
  // Rows
105310
- const rows = append$1(label, $$9('.quick-input-list-rows'));
105311
- const row1 = append$1(rows, $$9('.quick-input-list-row'));
105312
- const row2 = append$1(rows, $$9('.quick-input-list-row'));
105315
+ const rows = append$1(label, $$8('.quick-input-list-rows'));
105316
+ const row1 = append$1(rows, $$8('.quick-input-list-row'));
105317
+ const row2 = append$1(rows, $$8('.quick-input-list-row'));
105313
105318
  // Label
105314
105319
  data.label = new IconLabel(row1, { supportHighlights: true, supportDescriptionHighlights: true, supportIcons: true });
105315
105320
  data.toDisposeTemplate.push(data.label);
105316
- data.icon = prepend$1(data.label.element, $$9('.quick-input-list-icon'));
105321
+ data.icon = prepend$1(data.label.element, $$8('.quick-input-list-icon'));
105317
105322
  // Keybinding
105318
- const keybindingContainer = append$1(row1, $$9('.quick-input-list-entry-keybinding'));
105323
+ const keybindingContainer = append$1(row1, $$8('.quick-input-list-entry-keybinding'));
105319
105324
  data.keybinding = new KeybindingLabel(keybindingContainer, OS);
105320
105325
  // Detail
105321
- const detailContainer = append$1(row2, $$9('.quick-input-list-label-meta'));
105326
+ const detailContainer = append$1(row2, $$8('.quick-input-list-label-meta'));
105322
105327
  data.detail = new IconLabel(detailContainer, { supportHighlights: true, supportIcons: true });
105323
105328
  data.toDisposeTemplate.push(data.detail);
105324
105329
  // Separator
105325
- data.separator = append$1(data.entry, $$9('.quick-input-list-separator'));
105330
+ data.separator = append$1(data.entry, $$8('.quick-input-list-separator'));
105326
105331
  // Actions
105327
105332
  data.actionBar = new ActionBar(data.entry);
105328
105333
  data.actionBar.domNode.classList.add('quick-input-list-entry-action-bar');
@@ -105485,7 +105490,7 @@ class QuickInputList {
105485
105490
  this.elementDisposables = [];
105486
105491
  this.disposables = [];
105487
105492
  this.id = id;
105488
- this.container = append$1(this.parent, $$9('.quick-input-list'));
105493
+ this.container = append$1(this.parent, $$8('.quick-input-list'));
105489
105494
  const delegate = new ListElementDelegate();
105490
105495
  const accessibilityProvider = new QuickInputAccessibilityProvider();
105491
105496
  this.list = options.createList('QuickInput', this.container, delegate, [new ListElementRenderer(themeService)], {
@@ -106991,7 +106996,7 @@ class InputBox extends QuickInput {
106991
106996
  * Copyright (c) Microsoft Corporation. All rights reserved.
106992
106997
  * Licensed under the MIT License. See License.txt in the project root for license information.
106993
106998
  *--------------------------------------------------------------------------------------------*/
106994
- const $$8 = $$e;
106999
+ const $$7 = $$d;
106995
107000
  class QuickInputController extends Disposable {
106996
107001
  constructor(options, themeService, layoutService) {
106997
107002
  super();
@@ -107042,19 +107047,19 @@ class QuickInputController extends Disposable {
107042
107047
  }
107043
107048
  return this.ui;
107044
107049
  }
107045
- const container = append$1(this.parentElement, $$8('.quick-input-widget.show-file-icons'));
107050
+ const container = append$1(this.parentElement, $$7('.quick-input-widget.show-file-icons'));
107046
107051
  container.tabIndex = -1;
107047
107052
  container.style.display = 'none';
107048
107053
  const styleSheet = createStyleSheet(container);
107049
- const titleBar = append$1(container, $$8('.quick-input-titlebar'));
107054
+ const titleBar = append$1(container, $$7('.quick-input-titlebar'));
107050
107055
  const actionBarOption = this.options.hoverDelegate ? { hoverDelegate: this.options.hoverDelegate } : undefined;
107051
107056
  const leftActionBar = this._register(new ActionBar(titleBar, actionBarOption));
107052
107057
  leftActionBar.domNode.classList.add('quick-input-left-action-bar');
107053
- const title = append$1(titleBar, $$8('.quick-input-title'));
107058
+ const title = append$1(titleBar, $$7('.quick-input-title'));
107054
107059
  const rightActionBar = this._register(new ActionBar(titleBar, actionBarOption));
107055
107060
  rightActionBar.domNode.classList.add('quick-input-right-action-bar');
107056
- const headerContainer = append$1(container, $$8('.quick-input-header'));
107057
- const checkAll = append$1(headerContainer, $$8('input.quick-input-check-all'));
107061
+ const headerContainer = append$1(container, $$7('.quick-input-header'));
107062
+ const checkAll = append$1(headerContainer, $$7('input.quick-input-check-all'));
107058
107063
  checkAll.type = 'checkbox';
107059
107064
  checkAll.setAttribute('aria-label', localize('quickInput.checkAll', "Toggle all checkboxes"));
107060
107065
  this._register(addStandardDisposableListener(checkAll, EventType$1.CHANGE, e => {
@@ -107066,36 +107071,36 @@ class QuickInputController extends Disposable {
107066
107071
  inputBox.setFocus();
107067
107072
  }
107068
107073
  }));
107069
- const description2 = append$1(headerContainer, $$8('.quick-input-description'));
107070
- const inputContainer = append$1(headerContainer, $$8('.quick-input-and-message'));
107071
- const filterContainer = append$1(inputContainer, $$8('.quick-input-filter'));
107074
+ const description2 = append$1(headerContainer, $$7('.quick-input-description'));
107075
+ const inputContainer = append$1(headerContainer, $$7('.quick-input-and-message'));
107076
+ const filterContainer = append$1(inputContainer, $$7('.quick-input-filter'));
107072
107077
  const inputBox = this._register(new QuickInputBox(filterContainer, this.styles.inputBox, this.styles.toggle));
107073
107078
  inputBox.setAttribute('aria-describedby', `${this.idPrefix}message`);
107074
- const visibleCountContainer = append$1(filterContainer, $$8('.quick-input-visible-count'));
107079
+ const visibleCountContainer = append$1(filterContainer, $$7('.quick-input-visible-count'));
107075
107080
  visibleCountContainer.setAttribute('aria-live', 'polite');
107076
107081
  visibleCountContainer.setAttribute('aria-atomic', 'true');
107077
107082
  const visibleCount = new CountBadge(visibleCountContainer, { countFormat: localize({ key: 'quickInput.visibleCount', comment: ['This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers.'] }, "{0} Results") }, this.styles.countBadge);
107078
- const countContainer = append$1(filterContainer, $$8('.quick-input-count'));
107083
+ const countContainer = append$1(filterContainer, $$7('.quick-input-count'));
107079
107084
  countContainer.setAttribute('aria-live', 'polite');
107080
107085
  const count = new CountBadge(countContainer, { countFormat: localize({ key: 'quickInput.countSelected', comment: ['This tells the user how many items are selected in a list of items to select from. The items can be anything.'] }, "{0} Selected") }, this.styles.countBadge);
107081
- const okContainer = append$1(headerContainer, $$8('.quick-input-action'));
107086
+ const okContainer = append$1(headerContainer, $$7('.quick-input-action'));
107082
107087
  const ok = this._register(new Button(okContainer, this.styles.button));
107083
107088
  ok.label = localize('ok', "OK");
107084
107089
  this._register(ok.onDidClick(e => {
107085
107090
  this.onDidAcceptEmitter.fire();
107086
107091
  }));
107087
- const customButtonContainer = append$1(headerContainer, $$8('.quick-input-action'));
107092
+ const customButtonContainer = append$1(headerContainer, $$7('.quick-input-action'));
107088
107093
  const customButton = this._register(new Button(customButtonContainer, this.styles.button));
107089
107094
  customButton.label = localize('custom', "Custom");
107090
107095
  this._register(customButton.onDidClick(e => {
107091
107096
  this.onDidCustomEmitter.fire();
107092
107097
  }));
107093
- const message = append$1(inputContainer, $$8(`#${this.idPrefix}message.quick-input-message`));
107098
+ const message = append$1(inputContainer, $$7(`#${this.idPrefix}message.quick-input-message`));
107094
107099
  const progressBar = this._register(new ProgressBar(container, this.styles.progressBar));
107095
107100
  progressBar.getContainer().classList.add('quick-input-progress');
107096
- const widget = append$1(container, $$8('.quick-input-html-widget'));
107101
+ const widget = append$1(container, $$7('.quick-input-html-widget'));
107097
107102
  widget.tabIndex = -1;
107098
- const description1 = append$1(container, $$8('.quick-input-description'));
107103
+ const description1 = append$1(container, $$7('.quick-input-description'));
107099
107104
  const listId = this.idPrefix + 'list';
107100
107105
  const list = this._register(new QuickInputList(container, listId, this.options, this.themeService));
107101
107106
  inputBox.setAttribute('aria-controls', listId);
@@ -109440,7 +109445,7 @@ let BrowserClipboardService = class BrowserClipboardService extends Disposable {
109440
109445
  // Fallback to textarea and execCommand solution
109441
109446
  const activeDocument = getActiveDocument();
109442
109447
  const activeElement = activeDocument.activeElement;
109443
- const textArea = activeDocument.body.appendChild($$e('textarea', { 'aria-hidden': true }));
109448
+ const textArea = activeDocument.body.appendChild($$d('textarea', { 'aria-hidden': true }));
109444
109449
  textArea.style.height = '1px';
109445
109450
  textArea.style.width = '1px';
109446
109451
  textArea.style.position = 'absolute';
@@ -114562,7 +114567,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
114562
114567
  this._nodes = h$1('div.diff-hidden-lines', [
114563
114568
  h$1('div.top@top', { title: localize('diff.hiddenLines.top', 'Click or drag to show more above') }),
114564
114569
  h$1('div.center@content', { style: { display: 'flex' } }, [
114565
- h$1('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$$e('a', { title: localize('showUnchangedRegion', 'Show Unchanged Region'), role: 'button', onclick: () => { this._unchangedRegion.showAll(undefined); } }, ...renderLabelWithIcons('$(unfold)'))]),
114570
+ h$1('div@first', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center', flexShrink: '0' } }, [$$d('a', { title: localize('showUnchangedRegion', 'Show Unchanged Region'), role: 'button', onclick: () => { this._unchangedRegion.showAll(undefined); } }, ...renderLabelWithIcons('$(unfold)'))]),
114566
114571
  h$1('div@others', { style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } }),
114567
114572
  ]),
114568
114573
  h$1('div.bottom@bottom', { title: localize('diff.bottom', 'Click or drag to show more below'), role: 'button' }),
@@ -114674,7 +114679,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
114674
114679
  if (!this._hide) {
114675
114680
  const lineCount = _unchangedRegion.getHiddenModifiedRange(reader).length;
114676
114681
  const linesHiddenText = localize('hiddenLines', '{0} hidden lines', lineCount);
114677
- const span = $$e('span', { title: localize('diff.hiddenLines.expandAll', 'Double click to unfold') }, linesHiddenText);
114682
+ const span = $$d('span', { title: localize('diff.hiddenLines.expandAll', 'Double click to unfold') }, linesHiddenText);
114678
114683
  span.addEventListener('dblclick', e => {
114679
114684
  if (e.button !== 0) {
114680
114685
  return;
@@ -114686,7 +114691,7 @@ class CollapsedCodeOverlayWidget extends ViewZoneOverlayWidget {
114686
114691
  const range = this._unchangedRegion.getHiddenModifiedRange(reader);
114687
114692
  const items = this._modifiedOutlineSource.getBreadcrumbItems(range, reader);
114688
114693
  if (items.length > 0) {
114689
- children.push($$e('span', undefined, '\u00a0\u00a0|\u00a0\u00a0'));
114694
+ children.push($$d('span', undefined, '\u00a0\u00a0|\u00a0\u00a0'));
114690
114695
  for (let i = 0; i < items.length; i++) {
114691
114696
  const item = items[i];
114692
114697
  const icon = SymbolKinds.toIcon(item.kind);
@@ -115819,7 +115824,7 @@ let ViewZoneManager = class ViewZoneManager extends Disposable {
115819
115824
  e.stopPropagation();
115820
115825
  _diffEditorWidget.revert(a.diff);
115821
115826
  }));
115822
- return $$e('div', {}, arrow);
115827
+ return $$d('div', {}, arrow);
115823
115828
  }
115824
115829
  let marginDomNode = undefined;
115825
115830
  if (a.diff && a.diff.modified.isEmpty && this._options.shouldRenderRevertArrows.read(reader)) {
@@ -116588,7 +116593,7 @@ let DiffEditorWidget = class DiffEditorWidget extends DelegatingEditor {
116588
116593
  this._audioCueService = _audioCueService;
116589
116594
  this._editorProgressService = _editorProgressService;
116590
116595
  this.elements = h$1('div.monaco-diff-editor.side-by-side', { style: { position: 'relative', height: '100%' } }, [
116591
- h$1('div.noModificationsOverlay@overlay', { style: { position: 'absolute', height: '100%', visibility: 'hidden', } }, [$$e('span', {}, 'No Changes')]),
116596
+ h$1('div.noModificationsOverlay@overlay', { style: { position: 'absolute', height: '100%', visibility: 'hidden', } }, [$$d('span', {}, 'No Changes')]),
116592
116597
  h$1('div.editor.original@original', { style: { position: 'absolute', height: '100%' } }),
116593
116598
  h$1('div.editor.modified@modified', { style: { position: 'absolute', height: '100%' } }),
116594
116599
  h$1('div.accessibleDiffViewer@accessibleDiffViewer', { style: { position: 'absolute', height: '100%' } }),
@@ -120517,7 +120522,7 @@ registerLanguage({
120517
120522
  mimetypes: ["text/css"],
120518
120523
  loader: () => {
120519
120524
  {
120520
- return import('./css-aade9167.js');
120525
+ return import('./css-eb0f99ca.js');
120521
120526
  }
120522
120527
  }
120523
120528
  });
@@ -120535,7 +120540,7 @@ registerLanguage({
120535
120540
  mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
120536
120541
  loader: () => {
120537
120542
  {
120538
- return import('./html-00b724af.js');
120543
+ return import('./html-6c5b1b7a.js');
120539
120544
  }
120540
120545
  }
120541
120546
  });
@@ -120555,7 +120560,7 @@ registerLanguage({
120555
120560
  mimetypes: ["text/javascript"],
120556
120561
  loader: () => {
120557
120562
  {
120558
- return import('./javascript-bdd52d83.js');
120563
+ return import('./javascript-2f8e7e0f.js');
120559
120564
  }
120560
120565
  }
120561
120566
  });
@@ -120573,7 +120578,7 @@ registerLanguage({
120573
120578
  mimetypes: ["text/typescript"],
120574
120579
  loader: () => {
120575
120580
  {
120576
- return import('./typescript-dfdad07a.js');
120581
+ return import('./typescript-c122e586.js');
120577
120582
  }
120578
120583
  }
120579
120584
  });
@@ -120694,7 +120699,7 @@ var lessDefaults = new LanguageServiceDefaultsImpl$3("less", optionsDefault$1, m
120694
120699
  monaco_editor_core_exports$3.languages.css = { cssDefaults, lessDefaults, scssDefaults };
120695
120700
  function getMode$3() {
120696
120701
  {
120697
- return import('./cssMode-edce5a89.js');
120702
+ return import('./cssMode-864388a5.js');
120698
120703
  }
120699
120704
  }
120700
120705
  monaco_editor_core_exports$3.languages.onLanguage("less", () => {
@@ -120819,7 +120824,7 @@ monaco_editor_core_exports$2.languages.html = {
120819
120824
  };
120820
120825
  function getMode$2() {
120821
120826
  {
120822
- return import('./htmlMode-ad3459b7.js');
120827
+ return import('./htmlMode-8edd9000.js');
120823
120828
  }
120824
120829
  }
120825
120830
  function registerHTMLLanguageService(languageId, options = optionsDefault, modeConfiguration = getConfigurationDefault(languageId)) {
@@ -120921,7 +120926,7 @@ var jsonDefaults = new LanguageServiceDefaultsImpl$1("json", diagnosticDefault,
120921
120926
  monaco_editor_core_exports$1.languages.json = { jsonDefaults };
120922
120927
  function getMode$1() {
120923
120928
  {
120924
- return import('./jsonMode-7b4c07fb.js');
120929
+ return import('./jsonMode-7cd18ebd.js');
120925
120930
  }
120926
120931
  }
120927
120932
  monaco_editor_core_exports$1.languages.register({
@@ -121190,7 +121195,7 @@ monaco_editor_core_exports.languages.typescript = {
121190
121195
  };
121191
121196
  function getMode() {
121192
121197
  {
121193
- return import('./tsMode-0bd06180.js');
121198
+ return import('./tsMode-23e39ee2.js');
121194
121199
  }
121195
121200
  }
121196
121201
  monaco_editor_core_exports.languages.onLanguage("typescript", () => {
@@ -123142,7 +123147,7 @@ let LightBulbWidget = LightBulbWidget_1 = class LightBulbWidget extends Disposab
123142
123147
  this.onClick = this._onClick.event;
123143
123148
  this._state = LightBulbState.Hidden;
123144
123149
  this._iconClasses = [];
123145
- this._domNode = $$e('div.lightBulbWidget');
123150
+ this._domNode = $$d('div.lightBulbWidget');
123146
123151
  this._register(Gesture.ignoreTarget(this._domNode));
123147
123152
  this._editor.addContentWidget(this);
123148
123153
  this._register(this._editor.onDidChangeModelContent(_ => {
@@ -123998,7 +124003,7 @@ let ActionWidgetService = class ActionWidgetService extends Disposable {
123998
124003
  if (!actions.length) {
123999
124004
  return undefined;
124000
124005
  }
124001
- const container = $$e(className);
124006
+ const container = $$d(className);
124002
124007
  const actionBar = new ActionBar(container);
124003
124008
  actionBar.push(actions, { icon: false, label: true });
124004
124009
  return actionBar;
@@ -125192,20 +125197,20 @@ class CodeLensContentWidget {
125192
125197
  if (lens.command) {
125193
125198
  const title = renderLabelWithIcons(lens.command.title.trim());
125194
125199
  if (lens.command.id) {
125195
- children.push($$e('a', { id: String(i), title: lens.command.tooltip, role: 'button' }, ...title));
125200
+ children.push($$d('a', { id: String(i), title: lens.command.tooltip, role: 'button' }, ...title));
125196
125201
  this._commands.set(String(i), lens.command);
125197
125202
  }
125198
125203
  else {
125199
- children.push($$e('span', { title: lens.command.tooltip }, ...title));
125204
+ children.push($$d('span', { title: lens.command.tooltip }, ...title));
125200
125205
  }
125201
125206
  if (i + 1 < lenses.length) {
125202
- children.push($$e('span', undefined, '\u00a0|\u00a0'));
125207
+ children.push($$d('span', undefined, '\u00a0|\u00a0'));
125203
125208
  }
125204
125209
  }
125205
125210
  }
125206
125211
  if (!hasSymbol) {
125207
125212
  // symbols but no commands
125208
- reset(this._domNode, $$e('span', undefined, 'no commands'));
125213
+ reset(this._domNode, $$d('span', undefined, 'no commands'));
125209
125214
  }
125210
125215
  else {
125211
125216
  // symbols and commands
@@ -126303,22 +126308,22 @@ class ColorPickerModel {
126303
126308
  * Copyright (c) Microsoft Corporation. All rights reserved.
126304
126309
  * Licensed under the MIT License. See License.txt in the project root for license information.
126305
126310
  *--------------------------------------------------------------------------------------------*/
126306
- const $$7 = $$e;
126311
+ const $$6 = $$d;
126307
126312
  class ColorPickerHeader extends Disposable {
126308
126313
  constructor(container, model, themeService, showingStandaloneColorPicker = false) {
126309
126314
  super();
126310
126315
  this.model = model;
126311
126316
  this.showingStandaloneColorPicker = showingStandaloneColorPicker;
126312
126317
  this._closeButton = null;
126313
- this._domNode = $$7('.colorpicker-header');
126318
+ this._domNode = $$6('.colorpicker-header');
126314
126319
  append$1(container, this._domNode);
126315
- this._pickedColorNode = append$1(this._domNode, $$7('.picked-color'));
126316
- append$1(this._pickedColorNode, $$7('span.codicon.codicon-color-mode'));
126320
+ this._pickedColorNode = append$1(this._domNode, $$6('.picked-color'));
126321
+ append$1(this._pickedColorNode, $$6('span.codicon.codicon-color-mode'));
126317
126322
  this._pickedColorPresentation = append$1(this._pickedColorNode, document.createElement('span'));
126318
126323
  this._pickedColorPresentation.classList.add('picked-color-presentation');
126319
126324
  const tooltip = localize('clickToToggleColorOptions', "Click to toggle color options (rgb/hsl/hex)");
126320
126325
  this._pickedColorNode.setAttribute('title', tooltip);
126321
- this._originalColorNode = append$1(this._domNode, $$7('.original-color'));
126326
+ this._originalColorNode = append$1(this._domNode, $$6('.original-color'));
126322
126327
  this._originalColorNode.style.backgroundColor = Color.Format.CSS.format(this.model.originalColor) || '';
126323
126328
  this.backgroundColor = themeService.getColorTheme().getColor(editorHoverBackground) || Color.white;
126324
126329
  this._register(themeService.onDidColorThemeChange(theme => {
@@ -126369,7 +126374,7 @@ class CloseButton extends Disposable {
126369
126374
  const innerDiv = document.createElement('div');
126370
126375
  innerDiv.classList.add('close-button-inner-div');
126371
126376
  append$1(this._button, innerDiv);
126372
- const closeButton = append$1(innerDiv, $$7('.button' + ThemeIcon.asCSSSelector(registerIcon('color-picker-close', Codicon.close, localize('closeIcon', 'Icon to close the color picker')))));
126377
+ const closeButton = append$1(innerDiv, $$6('.button' + ThemeIcon.asCSSSelector(registerIcon('color-picker-close', Codicon.close, localize('closeIcon', 'Icon to close the color picker')))));
126373
126378
  closeButton.classList.add('close-icon');
126374
126379
  this._button.onclick = () => {
126375
126380
  this._onClicked.fire();
@@ -126382,7 +126387,7 @@ class ColorPickerBody extends Disposable {
126382
126387
  this.model = model;
126383
126388
  this.pixelRatio = pixelRatio;
126384
126389
  this._insertButton = null;
126385
- this._domNode = $$7('.colorpicker-body');
126390
+ this._domNode = $$6('.colorpicker-body');
126386
126391
  append$1(container, this._domNode);
126387
126392
  this._saturationBox = new SaturationBox(this._domNode, this.model, this.pixelRatio);
126388
126393
  this._register(this._saturationBox);
@@ -126441,14 +126446,14 @@ class SaturationBox extends Disposable {
126441
126446
  this.onDidChange = this._onDidChange.event;
126442
126447
  this._onColorFlushed = new Emitter$1();
126443
126448
  this.onColorFlushed = this._onColorFlushed.event;
126444
- this._domNode = $$7('.saturation-wrap');
126449
+ this._domNode = $$6('.saturation-wrap');
126445
126450
  append$1(container, this._domNode);
126446
126451
  // Create canvas, draw selected color
126447
126452
  this._canvas = document.createElement('canvas');
126448
126453
  this._canvas.className = 'saturation-box';
126449
126454
  append$1(this._domNode, this._canvas);
126450
126455
  // Add selection circle
126451
- this.selection = $$7('.saturation-selection');
126456
+ this.selection = $$6('.saturation-selection');
126452
126457
  append$1(this._domNode, this.selection);
126453
126458
  this.layout();
126454
126459
  this._register(addDisposableListener(this._domNode, EventType$1.POINTER_DOWN, e => this.onPointerDown(e)));
@@ -126533,14 +126538,14 @@ class Strip extends Disposable {
126533
126538
  this._onColorFlushed = new Emitter$1();
126534
126539
  this.onColorFlushed = this._onColorFlushed.event;
126535
126540
  if (showingStandaloneColorPicker) {
126536
- this.domNode = append$1(container, $$7('.standalone-strip'));
126537
- this.overlay = append$1(this.domNode, $$7('.standalone-overlay'));
126541
+ this.domNode = append$1(container, $$6('.standalone-strip'));
126542
+ this.overlay = append$1(this.domNode, $$6('.standalone-overlay'));
126538
126543
  }
126539
126544
  else {
126540
- this.domNode = append$1(container, $$7('.strip'));
126541
- this.overlay = append$1(this.domNode, $$7('.overlay'));
126545
+ this.domNode = append$1(container, $$6('.strip'));
126546
+ this.overlay = append$1(this.domNode, $$6('.overlay'));
126542
126547
  }
126543
- this.slider = append$1(this.domNode, $$7('.slider'));
126548
+ this.slider = append$1(this.domNode, $$6('.slider'));
126544
126549
  this.slider.style.top = `0px`;
126545
126550
  this._register(addDisposableListener(this.domNode, EventType$1.POINTER_DOWN, e => this.onPointerDown(e)));
126546
126551
  this._register(model.onDidChangeColor(this.onDidChangeColor, this));
@@ -126630,7 +126635,7 @@ class ColorPickerWidget extends Widget$1 {
126630
126635
  this.model = model;
126631
126636
  this.pixelRatio = pixelRatio;
126632
126637
  this._register(PixelRatio.onDidChange(() => this.layout()));
126633
- const element = $$7('.colorpicker-widget');
126638
+ const element = $$6('.colorpicker-widget');
126634
126639
  container.appendChild(element);
126635
126640
  this.header = this._register(new ColorPickerHeader(element, this.model, themeService, standaloneColorPicker));
126636
126641
  this.body = this._register(new ColorPickerBody(element, this.model, this.pixelRatio, standaloneColorPicker));
@@ -127555,26 +127560,26 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
127555
127560
  }
127556
127561
  _fillContainer(container) {
127557
127562
  this.setCssClass('peekview-widget');
127558
- this._headElement = $$e('.head');
127559
- this._bodyElement = $$e('.body');
127563
+ this._headElement = $$d('.head');
127564
+ this._bodyElement = $$d('.body');
127560
127565
  this._fillHead(this._headElement);
127561
127566
  this._fillBody(this._bodyElement);
127562
127567
  container.appendChild(this._headElement);
127563
127568
  container.appendChild(this._bodyElement);
127564
127569
  }
127565
127570
  _fillHead(container, noCloseAction) {
127566
- this._titleElement = $$e('.peekview-title');
127571
+ this._titleElement = $$d('.peekview-title');
127567
127572
  if (this.options.supportOnTitleClick) {
127568
127573
  this._titleElement.classList.add('clickable');
127569
127574
  addStandardDisposableListener(this._titleElement, 'click', event => this._onTitleClick(event));
127570
127575
  }
127571
127576
  append$1(this._headElement, this._titleElement);
127572
127577
  this._fillTitleIcon(this._titleElement);
127573
- this._primaryHeading = $$e('span.filename');
127574
- this._secondaryHeading = $$e('span.dirname');
127575
- this._metaHeading = $$e('span.meta');
127578
+ this._primaryHeading = $$d('span.filename');
127579
+ this._secondaryHeading = $$d('span.dirname');
127580
+ this._metaHeading = $$d('span.meta');
127576
127581
  append$1(this._titleElement, this._primaryHeading, this._secondaryHeading, this._metaHeading);
127577
- const actionsContainer = $$e('.peekview-actions');
127582
+ const actionsContainer = $$d('.peekview-actions');
127578
127583
  append$1(this._headElement, actionsContainer);
127579
127584
  const actionBarOptions = this._getActionBarOptions();
127580
127585
  this._actionbarWidget = new ActionBar(actionsContainer, actionBarOptions);
@@ -127987,7 +127992,7 @@ let FileReferencesTemplate = class FileReferencesTemplate extends Disposable {
127987
127992
  const parent = document.createElement('div');
127988
127993
  parent.classList.add('reference-file');
127989
127994
  this.file = this._register(new IconLabel(parent, { supportHighlights: true }));
127990
- this.badge = new CountBadge(append$1(parent, $$e('.count')), {}, defaultCountBadgeStyles);
127995
+ this.badge = new CountBadge(append$1(parent, $$d('.count')), {}, defaultCountBadgeStyles);
127991
127996
  container.appendChild(parent);
127992
127997
  }
127993
127998
  set(element, matches) {
@@ -128290,11 +128295,11 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
128290
128295
  _fillBody(containerElement) {
128291
128296
  this.setCssClass('reference-zone-widget');
128292
128297
  // message pane
128293
- this._messageContainer = append$1(containerElement, $$e('div.messages'));
128298
+ this._messageContainer = append$1(containerElement, $$d('div.messages'));
128294
128299
  hide(this._messageContainer);
128295
128300
  this._splitView = new SplitView(containerElement, { orientation: 1 /* Orientation.HORIZONTAL */ });
128296
128301
  // editor
128297
- this._previewContainer = append$1(containerElement, $$e('div.preview.inline'));
128302
+ this._previewContainer = append$1(containerElement, $$d('div.preview.inline'));
128298
128303
  const options = {
128299
128304
  scrollBeyondLastLine: false,
128300
128305
  scrollbar: {
@@ -128315,7 +128320,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
128315
128320
  hide(this._previewContainer);
128316
128321
  this._previewNotAvailableMessage = new TextModel(localize('missingPreviewMessage', "no preview available"), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null, this._undoRedoService, this._languageService, this._languageConfigurationService);
128317
128322
  // tree
128318
- this._treeContainer = append$1(containerElement, $$e('div.ref-tree.inline'));
128323
+ this._treeContainer = append$1(containerElement, $$d('div.ref-tree.inline'));
128319
128324
  const treeOptions = {
128320
128325
  keyboardSupport: this._defaultTreeKeyboardSupport,
128321
128326
  accessibilityProvider: new AccessibilityProvider(),
@@ -130091,7 +130096,7 @@ registerEditorContribution(GotoDefinitionAtPositionEditorContribution.ID, GotoDe
130091
130096
  * Copyright (c) Microsoft Corporation. All rights reserved.
130092
130097
  * Licensed under the MIT License. See License.txt in the project root for license information.
130093
130098
  *--------------------------------------------------------------------------------------------*/
130094
- const $$6 = $$e;
130099
+ const $$5 = $$d;
130095
130100
  class HoverWidget extends Disposable {
130096
130101
  constructor() {
130097
130102
  super();
@@ -130116,14 +130121,14 @@ class HoverAction extends Disposable {
130116
130121
  }
130117
130122
  constructor(parent, actionOptions, keybindingLabel) {
130118
130123
  super();
130119
- this.actionContainer = append$1(parent, $$6('div.action-container'));
130124
+ this.actionContainer = append$1(parent, $$5('div.action-container'));
130120
130125
  this.actionContainer.setAttribute('tabindex', '0');
130121
- this.action = append$1(this.actionContainer, $$6('a.action'));
130126
+ this.action = append$1(this.actionContainer, $$5('a.action'));
130122
130127
  this.action.setAttribute('role', 'button');
130123
130128
  if (actionOptions.iconClass) {
130124
- append$1(this.action, $$6(`span.icon.${actionOptions.iconClass}`));
130129
+ append$1(this.action, $$5(`span.icon.${actionOptions.iconClass}`));
130125
130130
  }
130126
- const label = append$1(this.action, $$6('span'));
130131
+ const label = append$1(this.action, $$5('span'));
130127
130132
  label.textContent = keybindingLabel ? `${actionOptions.label} (${keybindingLabel})` : actionOptions.label;
130128
130133
  this._register(addDisposableListener(this.actionContainer, EventType$1.CLICK, e => {
130129
130134
  e.stopPropagation();
@@ -130593,7 +130598,7 @@ var __param$14 = (undefined && undefined.__param) || function (paramIndex, decor
130593
130598
  return function (target, key) { decorator(target, key, paramIndex); }
130594
130599
  };
130595
130600
  var ContentHoverController_1, ContentHoverWidget_1;
130596
- const $$5 = $$e;
130601
+ const $$4 = $$d;
130597
130602
  let ContentHoverController = ContentHoverController_1 = class ContentHoverController extends Disposable {
130598
130603
  constructor(_editor, _instantiationService, _keybindingService) {
130599
130604
  super();
@@ -131334,8 +131339,8 @@ let EditorHoverStatusBar = class EditorHoverStatusBar extends Disposable {
131334
131339
  super();
131335
131340
  this._keybindingService = _keybindingService;
131336
131341
  this._hasContent = false;
131337
- this.hoverElement = $$5('div.hover-row.status-bar');
131338
- this.actionsElement = append$1(this.hoverElement, $$5('div.actions'));
131342
+ this.hoverElement = $$4('div.hover-row.status-bar');
131343
+ this.actionsElement = append$1(this.hoverElement, $$4('div.actions'));
131339
131344
  }
131340
131345
  addAction(actionOptions) {
131341
131346
  const keybinding = this._keybindingService.lookupKeybinding(actionOptions.commandId);
@@ -131437,7 +131442,7 @@ function computeDistanceFromPointToRectangle(pointX, pointY, left, top, width, h
131437
131442
  * Copyright (c) Microsoft Corporation. All rights reserved.
131438
131443
  * Licensed under the MIT License. See License.txt in the project root for license information.
131439
131444
  *--------------------------------------------------------------------------------------------*/
131440
- const $$4 = $$e;
131445
+ const $$3 = $$d;
131441
131446
  class MarginHoverWidget extends Disposable {
131442
131447
  constructor(editor, languageService, openerService) {
131443
131448
  super();
@@ -131518,8 +131523,8 @@ class MarginHoverWidget extends Disposable {
131518
131523
  this._renderDisposeables.clear();
131519
131524
  const fragment = document.createDocumentFragment();
131520
131525
  for (const msg of messages) {
131521
- const markdownHoverElement = $$4('div.hover-row.markdown-hover');
131522
- const hoverContentsElement = append$1(markdownHoverElement, $$4('div.hover-contents'));
131526
+ const markdownHoverElement = $$3('div.hover-row.markdown-hover');
131527
+ const hoverContentsElement = append$1(markdownHoverElement, $$3('div.hover-contents'));
131523
131528
  const renderedContents = this._renderDisposeables.add(this._markdownRenderer.render(msg.value));
131524
131529
  hoverContentsElement.appendChild(renderedContents.element);
131525
131530
  fragment.appendChild(markdownHoverElement);
@@ -131638,7 +131643,7 @@ var __decorate$13 = (undefined && undefined.__decorate) || function (decorators,
131638
131643
  var __param$13 = (undefined && undefined.__param) || function (paramIndex, decorator) {
131639
131644
  return function (target, key) { decorator(target, key, paramIndex); }
131640
131645
  };
131641
- const $$3 = $$e;
131646
+ const $$2 = $$d;
131642
131647
  class MarkdownHover {
131643
131648
  constructor(owner, range, contents, isBeforeContent, ordinal) {
131644
131649
  this.owner = owner;
@@ -131743,8 +131748,8 @@ function renderMarkdownHovers(context, hoverParts, editor, languageService, open
131743
131748
  if (isEmptyMarkdownString(contents)) {
131744
131749
  continue;
131745
131750
  }
131746
- const markdownHoverElement = $$3('div.hover-row.markdown-hover');
131747
- const hoverContentsElement = append$1(markdownHoverElement, $$3('div.hover-contents'));
131751
+ const markdownHoverElement = $$2('div.hover-row.markdown-hover');
131752
+ const hoverContentsElement = append$1(markdownHoverElement, $$2('div.hover-contents'));
131748
131753
  const renderer = disposables.add(new MarkdownRenderer({ editor }, languageService, openerService));
131749
131754
  disposables.add(renderer.onDidRenderAsync(() => {
131750
131755
  hoverContentsElement.className = 'hover-contents code-hover-contents';
@@ -132065,14 +132070,14 @@ class MessageWidget {
132065
132070
  detailsElement.appendChild(codeElement);
132066
132071
  }
132067
132072
  else {
132068
- this._codeLink = $$e('a.code-link');
132073
+ this._codeLink = $$d('a.code-link');
132069
132074
  this._codeLink.setAttribute('href', `${code.target.toString()}`);
132070
132075
  this._codeLink.onclick = (e) => {
132071
132076
  this._openerService.open(code.target, { allowCommands: true });
132072
132077
  e.preventDefault();
132073
132078
  e.stopPropagation();
132074
132079
  };
132075
- const codeElement = append$1(this._codeLink, $$e('span'));
132080
+ const codeElement = append$1(this._codeLink, $$d('span'));
132076
132081
  codeElement.innerText = code.value;
132077
132082
  detailsElement.appendChild(this._codeLink);
132078
132083
  }
@@ -132196,7 +132201,7 @@ let MarkerNavigationWidget = MarkerNavigationWidget_1 = class MarkerNavigationWi
132196
132201
  menu.dispose();
132197
132202
  }
132198
132203
  _fillTitleIcon(container) {
132199
- this._icon = append$1(container, $$e(''));
132204
+ this._icon = append$1(container, $$d(''));
132200
132205
  }
132201
132206
  _fillBody(container) {
132202
132207
  this._parentContainer = container;
@@ -132552,7 +132557,7 @@ var __decorate$$ = (undefined && undefined.__decorate) || function (decorators,
132552
132557
  var __param$$ = (undefined && undefined.__param) || function (paramIndex, decorator) {
132553
132558
  return function (target, key) { decorator(target, key, paramIndex); }
132554
132559
  };
132555
- const $$2 = $$e;
132560
+ const $$1 = $$d;
132556
132561
  class MarkerHover {
132557
132562
  constructor(owner, range, marker) {
132558
132563
  this.owner = owner;
@@ -132610,36 +132615,36 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
132610
132615
  return disposables;
132611
132616
  }
132612
132617
  renderMarkerHover(markerHover, disposables) {
132613
- const hoverElement = $$2('div.hover-row');
132614
- const markerElement = append$1(hoverElement, $$2('div.marker.hover-contents'));
132618
+ const hoverElement = $$1('div.hover-row');
132619
+ const markerElement = append$1(hoverElement, $$1('div.marker.hover-contents'));
132615
132620
  const { source, message, code, relatedInformation } = markerHover.marker;
132616
132621
  this._editor.applyFontInfo(markerElement);
132617
- const messageElement = append$1(markerElement, $$2('span'));
132622
+ const messageElement = append$1(markerElement, $$1('span'));
132618
132623
  messageElement.style.whiteSpace = 'pre-wrap';
132619
132624
  messageElement.innerText = message;
132620
132625
  if (source || code) {
132621
132626
  // Code has link
132622
132627
  if (code && typeof code !== 'string') {
132623
- const sourceAndCodeElement = $$2('span');
132628
+ const sourceAndCodeElement = $$1('span');
132624
132629
  if (source) {
132625
- const sourceElement = append$1(sourceAndCodeElement, $$2('span'));
132630
+ const sourceElement = append$1(sourceAndCodeElement, $$1('span'));
132626
132631
  sourceElement.innerText = source;
132627
132632
  }
132628
- const codeLink = append$1(sourceAndCodeElement, $$2('a.code-link'));
132633
+ const codeLink = append$1(sourceAndCodeElement, $$1('a.code-link'));
132629
132634
  codeLink.setAttribute('href', code.target.toString());
132630
132635
  disposables.add(addDisposableListener(codeLink, 'click', (e) => {
132631
132636
  this._openerService.open(code.target, { allowCommands: true });
132632
132637
  e.preventDefault();
132633
132638
  e.stopPropagation();
132634
132639
  }));
132635
- const codeElement = append$1(codeLink, $$2('span'));
132640
+ const codeElement = append$1(codeLink, $$1('span'));
132636
132641
  codeElement.innerText = code.value;
132637
132642
  const detailsElement = append$1(markerElement, sourceAndCodeElement);
132638
132643
  detailsElement.style.opacity = '0.6';
132639
132644
  detailsElement.style.paddingLeft = '6px';
132640
132645
  }
132641
132646
  else {
132642
- const detailsElement = append$1(markerElement, $$2('span'));
132647
+ const detailsElement = append$1(markerElement, $$1('span'));
132643
132648
  detailsElement.style.opacity = '0.6';
132644
132649
  detailsElement.style.paddingLeft = '6px';
132645
132650
  detailsElement.innerText = source && code ? `${source}(${code})` : source ? source : `(${code})`;
@@ -132647,9 +132652,9 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
132647
132652
  }
132648
132653
  if (isNonEmptyArray(relatedInformation)) {
132649
132654
  for (const { message, resource, startLineNumber, startColumn } of relatedInformation) {
132650
- const relatedInfoContainer = append$1(markerElement, $$2('div'));
132655
+ const relatedInfoContainer = append$1(markerElement, $$1('div'));
132651
132656
  relatedInfoContainer.style.marginTop = '8px';
132652
- const a = append$1(relatedInfoContainer, $$2('a'));
132657
+ const a = append$1(relatedInfoContainer, $$1('a'));
132653
132658
  a.innerText = `${basename(resource)}(${startLineNumber}, ${startColumn}): `;
132654
132659
  a.style.cursor = 'pointer';
132655
132660
  disposables.add(addDisposableListener(a, 'click', (e) => {
@@ -132662,7 +132667,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
132662
132667
  }).catch(onUnexpectedError);
132663
132668
  }
132664
132669
  }));
132665
- const messageElement = append$1(relatedInfoContainer, $$2('span'));
132670
+ const messageElement = append$1(relatedInfoContainer, $$1('span'));
132666
132671
  messageElement.innerText = message;
132667
132672
  this._editor.applyFontInfo(messageElement);
132668
132673
  }
@@ -132683,7 +132688,7 @@ let MarkerHoverParticipant = class MarkerHoverParticipant {
132683
132688
  });
132684
132689
  }
132685
132690
  if (!this._editor.getOption(90 /* EditorOption.readOnly */)) {
132686
- const quickfixPlaceholderElement = context.statusBar.append($$2('div'));
132691
+ const quickfixPlaceholderElement = context.statusBar.append($$1('div'));
132687
132692
  if (this.recentMarkerCodeActionsInfo) {
132688
132693
  if (IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker) === IMarkerData.makeKey(markerHover.marker)) {
132689
132694
  if (!this.recentMarkerCodeActionsInfo.hasCodeActions) {
@@ -135771,10 +135776,10 @@ class InlineProgressWidget extends Disposable {
135771
135776
  this.editor.layoutContentWidget(this);
135772
135777
  }
135773
135778
  create(title) {
135774
- this.domNode = $$e('.inline-progress-widget');
135779
+ this.domNode = $$d('.inline-progress-widget');
135775
135780
  this.domNode.role = 'button';
135776
135781
  this.domNode.title = title;
135777
- const iconElement = $$e('span.icon');
135782
+ const iconElement = $$d('span.icon');
135778
135783
  this.domNode.append(iconElement);
135779
135784
  iconElement.classList.add(...ThemeIcon.asClassNameArray(Codicon.loading), 'codicon-modifier-spin');
135780
135785
  const updateSize = () => {
@@ -135906,7 +135911,7 @@ let PostEditWidget = PostEditWidget_1 = class PostEditWidget extends Disposable
135906
135911
  this.button.element.title = this.showCommand.label + (binding ? ` (${binding})` : '');
135907
135912
  }
135908
135913
  create() {
135909
- this.domNode = $$e('.post-edit-widget');
135914
+ this.domNode = $$d('.post-edit-widget');
135910
135915
  this.button = this._register(new Button(this.domNode, {
135911
135916
  supportIcons: true,
135912
135917
  }));
@@ -149575,7 +149580,7 @@ let SuggestWidgetStatus = class SuggestWidgetStatus {
149575
149580
  this._menuService = _menuService;
149576
149581
  this._contextKeyService = _contextKeyService;
149577
149582
  this._menuDisposables = new DisposableStore();
149578
- this.element = append$1(container, $$e('.suggest-status-bar'));
149583
+ this.element = append$1(container, $$d('.suggest-status-bar'));
149579
149584
  const actionViewItemProvider = (action => {
149580
149585
  return action instanceof MenuItemAction ? instantiationService.createInstance(StatusBarViewItem, action, undefined) : undefined;
149581
149586
  });
@@ -149648,20 +149653,20 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
149648
149653
  this._renderDisposeable = new DisposableStore();
149649
149654
  this._borderWidth = 1;
149650
149655
  this._size = new Dimension(330, 0);
149651
- this.domNode = $$e('.suggest-details');
149656
+ this.domNode = $$d('.suggest-details');
149652
149657
  this.domNode.classList.add('no-docs');
149653
149658
  this._markdownRenderer = instaService.createInstance(MarkdownRenderer, { editor: _editor });
149654
- this._body = $$e('.body');
149659
+ this._body = $$d('.body');
149655
149660
  this._scrollbar = new DomScrollableElement(this._body, {
149656
149661
  alwaysConsumeMouseWheel: true,
149657
149662
  });
149658
149663
  append$1(this.domNode, this._scrollbar.getDomNode());
149659
149664
  this._disposables.add(this._scrollbar);
149660
- this._header = append$1(this._body, $$e('.header'));
149661
- this._close = append$1(this._header, $$e('span' + ThemeIcon.asCSSSelector(Codicon.close)));
149665
+ this._header = append$1(this._body, $$d('.header'));
149666
+ this._close = append$1(this._header, $$d('span' + ThemeIcon.asCSSSelector(Codicon.close)));
149662
149667
  this._close.title = localize('details.close', "Close");
149663
- this._type = append$1(this._header, $$e('p.type'));
149664
- this._docs = append$1(this._body, $$e('p.docs'));
149668
+ this._type = append$1(this._header, $$d('p.type'));
149669
+ this._docs = append$1(this._body, $$d('p.docs'));
149665
149670
  this._configureFont();
149666
149671
  this._disposables.add(this._editor.onDidChangeConfiguration(e => {
149667
149672
  if (e.hasChanged(50 /* EditorOption.fontInfo */)) {
@@ -150149,19 +150154,19 @@ let ItemRenderer = class ItemRenderer {
150149
150154
  const disposables = new DisposableStore();
150150
150155
  const root = container;
150151
150156
  root.classList.add('show-file-icons');
150152
- const icon = append$1(container, $$e('.icon'));
150153
- const colorspan = append$1(icon, $$e('span.colorspan'));
150154
- const text = append$1(container, $$e('.contents'));
150155
- const main = append$1(text, $$e('.main'));
150156
- const iconContainer = append$1(main, $$e('.icon-label.codicon'));
150157
- const left = append$1(main, $$e('span.left'));
150158
- const right = append$1(main, $$e('span.right'));
150157
+ const icon = append$1(container, $$d('.icon'));
150158
+ const colorspan = append$1(icon, $$d('span.colorspan'));
150159
+ const text = append$1(container, $$d('.contents'));
150160
+ const main = append$1(text, $$d('.main'));
150161
+ const iconContainer = append$1(main, $$d('.icon-label.codicon'));
150162
+ const left = append$1(main, $$d('span.left'));
150163
+ const right = append$1(main, $$d('span.right'));
150159
150164
  const iconLabel = new IconLabel(left, { supportHighlights: true, supportIcons: true });
150160
150165
  disposables.add(iconLabel);
150161
- const parametersLabel = append$1(left, $$e('span.signature-label'));
150162
- const qualifierLabel = append$1(left, $$e('span.qualifier-label'));
150163
- const detailsLabel = append$1(right, $$e('span.details-label'));
150164
- const readMore = append$1(right, $$e('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
150166
+ const parametersLabel = append$1(left, $$d('span.signature-label'));
150167
+ const qualifierLabel = append$1(left, $$d('span.qualifier-label'));
150168
+ const detailsLabel = append$1(right, $$d('span.details-label'));
150169
+ const readMore = append$1(right, $$d('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
150165
150170
  readMore.title = localize('readMore', "Read More");
150166
150171
  const configureFont = () => {
150167
150172
  const options = this._editor.getOptions();
@@ -150406,8 +150411,8 @@ let SuggestWidget = SuggestWidget_1 = class SuggestWidget {
150406
150411
  this._contentWidget.unlockPreference();
150407
150412
  state = undefined;
150408
150413
  }));
150409
- this._messageElement = append$1(this.element.domNode, $$e('.message'));
150410
- this._listElement = append$1(this.element.domNode, $$e('.tree'));
150414
+ this._messageElement = append$1(this.element.domNode, $$d('.message'));
150415
+ this._listElement = append$1(this.element.domNode, $$d('.tree'));
150411
150416
  const details = this._disposables.add(instantiationService.createInstance(SuggestDetailsWidget, this.editor));
150412
150417
  details.onDidClose(this.toggleDetails, this, this._disposables);
150413
150418
  this._details = new SuggestDetailsOverlay(details, this.editor);
@@ -152647,7 +152652,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
152647
152652
  return disposableStore;
152648
152653
  }
152649
152654
  renderScreenReaderText(context, part, disposableStore) {
152650
- const $ = $$e;
152655
+ const $ = $$d;
152651
152656
  const markdownHoverElement = $('div.hover-row.markdown-hover');
152652
152657
  const hoverContentsElement = append$1(markdownHoverElement, $('div.hover-contents', { ['aria-live']: 'assertive' }));
152653
152658
  const renderer = disposableStore.add(new MarkdownRenderer({ editor: this._editor }, this._languageService, this._openerService));
@@ -158319,7 +158324,7 @@ var __param$n = (undefined && undefined.__param) || function (paramIndex, decora
158319
158324
  return function (target, key) { decorator(target, key, paramIndex); }
158320
158325
  };
158321
158326
  var ParameterHintsWidget_1;
158322
- const $$1 = $$e;
158327
+ const $ = $$d;
158323
158328
  const parameterHintsNextIcon = registerIcon('parameter-hints-next', Codicon.chevronDown, localize('parameterHintsNextIcon', 'Icon for show next parameter hint.'));
158324
158329
  const parameterHintsPreviousIcon = registerIcon('parameter-hints-previous', Codicon.chevronUp, localize('parameterHintsPreviousIcon', 'Icon for show previous parameter hint.'));
158325
158330
  let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget extends Disposable {
@@ -158337,13 +158342,13 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
158337
158342
  this.keyMultipleSignatures = Context.MultipleSignatures.bindTo(contextKeyService);
158338
158343
  }
158339
158344
  createParameterHintDOMNodes() {
158340
- const element = $$1('.editor-widget.parameter-hints-widget');
158341
- const wrapper = append$1(element, $$1('.phwrapper'));
158345
+ const element = $('.editor-widget.parameter-hints-widget');
158346
+ const wrapper = append$1(element, $('.phwrapper'));
158342
158347
  wrapper.tabIndex = -1;
158343
- const controls = append$1(wrapper, $$1('.controls'));
158344
- const previous = append$1(controls, $$1('.button' + ThemeIcon.asCSSSelector(parameterHintsPreviousIcon)));
158345
- const overloads = append$1(controls, $$1('.overloads'));
158346
- const next = append$1(controls, $$1('.button' + ThemeIcon.asCSSSelector(parameterHintsNextIcon)));
158348
+ const controls = append$1(wrapper, $('.controls'));
158349
+ const previous = append$1(controls, $('.button' + ThemeIcon.asCSSSelector(parameterHintsPreviousIcon)));
158350
+ const overloads = append$1(controls, $('.overloads'));
158351
+ const next = append$1(controls, $('.button' + ThemeIcon.asCSSSelector(parameterHintsNextIcon)));
158347
158352
  this._register(addDisposableListener(previous, 'click', e => {
158348
158353
  EventHelper.stop(e);
158349
158354
  this.previous();
@@ -158352,14 +158357,14 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
158352
158357
  EventHelper.stop(e);
158353
158358
  this.next();
158354
158359
  }));
158355
- const body = $$1('.body');
158360
+ const body = $('.body');
158356
158361
  const scrollbar = new DomScrollableElement(body, {
158357
158362
  alwaysConsumeMouseWheel: true,
158358
158363
  });
158359
158364
  this._register(scrollbar);
158360
158365
  wrapper.appendChild(scrollbar.getDomNode());
158361
- const signature = append$1(body, $$1('.signature'));
158362
- const docs = append$1(body, $$1('.docs'));
158366
+ const signature = append$1(body, $('.signature'));
158367
+ const docs = append$1(body, $('.docs'));
158363
158368
  element.style.userSelect = 'text';
158364
158369
  this.domNodes = {
158365
158370
  element,
@@ -158439,14 +158444,14 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
158439
158444
  if (!signature) {
158440
158445
  return;
158441
158446
  }
158442
- const code = append$1(this.domNodes.signature, $$1('.code'));
158447
+ const code = append$1(this.domNodes.signature, $('.code'));
158443
158448
  const fontInfo = this.editor.getOption(50 /* EditorOption.fontInfo */);
158444
158449
  code.style.fontSize = `${fontInfo.fontSize}px`;
158445
158450
  code.style.fontFamily = fontInfo.fontFamily;
158446
158451
  const hasParameters = signature.parameters.length > 0;
158447
158452
  const activeParameterIndex = (_a = signature.activeParameter) !== null && _a !== void 0 ? _a : hints.activeParameter;
158448
158453
  if (!hasParameters) {
158449
- const label = append$1(code, $$1('span'));
158454
+ const label = append$1(code, $('span'));
158450
158455
  label.textContent = signature.label;
158451
158456
  }
158452
158457
  else {
@@ -158454,7 +158459,7 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
158454
158459
  }
158455
158460
  const activeParameter = signature.parameters[activeParameterIndex];
158456
158461
  if (activeParameter === null || activeParameter === void 0 ? void 0 : activeParameter.documentation) {
158457
- const documentation = $$1('span.documentation');
158462
+ const documentation = $('span.documentation');
158458
158463
  if (typeof activeParameter.documentation === 'string') {
158459
158464
  documentation.textContent = activeParameter.documentation;
158460
158465
  }
@@ -158462,11 +158467,11 @@ let ParameterHintsWidget = ParameterHintsWidget_1 = class ParameterHintsWidget e
158462
158467
  const renderedContents = this.renderMarkdownDocs(activeParameter.documentation);
158463
158468
  documentation.appendChild(renderedContents.element);
158464
158469
  }
158465
- append$1(this.domNodes.docs, $$1('p', {}, documentation));
158470
+ append$1(this.domNodes.docs, $('p', {}, documentation));
158466
158471
  }
158467
158472
  if (signature.documentation === undefined) ;
158468
158473
  else if (typeof signature.documentation === 'string') {
158469
- append$1(this.domNodes.docs, $$1('p', {}, signature.documentation));
158474
+ append$1(this.domNodes.docs, $('p', {}, signature.documentation));
158470
158475
  }
158471
158476
  else {
158472
158477
  const renderedContents = this.renderMarkdownDocs(signature.documentation);
@@ -162149,7 +162154,7 @@ let Link = class Link extends Disposable {
162149
162154
  super();
162150
162155
  this._link = _link;
162151
162156
  this._enabled = true;
162152
- this.el = append$1(container, $$e('a.monaco-link', {
162157
+ this.el = append$1(container, $$d('a.monaco-link', {
162153
162158
  tabIndex: (_a = _link.tabIndex) !== null && _a !== void 0 ? _a : 0,
162154
162159
  href: _link.href,
162155
162160
  title: _link.title
@@ -162223,7 +162228,7 @@ let Banner = class Banner extends Disposable {
162223
162228
  super();
162224
162229
  this.instantiationService = instantiationService;
162225
162230
  this.markdownRenderer = this.instantiationService.createInstance(MarkdownRenderer, {});
162226
- this.element = $$e('div.editor-banner');
162231
+ this.element = $$d('div.editor-banner');
162227
162232
  this.element.tabIndex = 0;
162228
162233
  }
162229
162234
  getAriaLabel(item) {
@@ -162237,7 +162242,7 @@ let Banner = class Banner extends Disposable {
162237
162242
  }
162238
162243
  getBannerMessage(message) {
162239
162244
  if (typeof message === 'string') {
162240
- const element = $$e('span');
162245
+ const element = $$d('span');
162241
162246
  element.innerText = message;
162242
162247
  return element;
162243
162248
  }
@@ -162255,24 +162260,24 @@ let Banner = class Banner extends Disposable {
162255
162260
  this.element.setAttribute('aria-label', ariaLabel);
162256
162261
  }
162257
162262
  // Icon
162258
- const iconContainer = append$1(this.element, $$e('div.icon-container'));
162263
+ const iconContainer = append$1(this.element, $$d('div.icon-container'));
162259
162264
  iconContainer.setAttribute('aria-hidden', 'true');
162260
162265
  if (item.icon) {
162261
- iconContainer.appendChild($$e(`div${ThemeIcon.asCSSSelector(item.icon)}`));
162266
+ iconContainer.appendChild($$d(`div${ThemeIcon.asCSSSelector(item.icon)}`));
162262
162267
  }
162263
162268
  // Message
162264
- const messageContainer = append$1(this.element, $$e('div.message-container'));
162269
+ const messageContainer = append$1(this.element, $$d('div.message-container'));
162265
162270
  messageContainer.setAttribute('aria-hidden', 'true');
162266
162271
  messageContainer.appendChild(this.getBannerMessage(item.message));
162267
162272
  // Message Actions
162268
- this.messageActionsContainer = append$1(this.element, $$e('div.message-actions-container'));
162273
+ this.messageActionsContainer = append$1(this.element, $$d('div.message-actions-container'));
162269
162274
  if (item.actions) {
162270
162275
  for (const action of item.actions) {
162271
162276
  this._register(this.instantiationService.createInstance(Link, this.messageActionsContainer, { ...action, tabIndex: -1 }, {}));
162272
162277
  }
162273
162278
  }
162274
162279
  // Action
162275
- const actionBarContainer = append$1(this.element, $$e('div.action-container'));
162280
+ const actionBarContainer = append$1(this.element, $$d('div.action-container'));
162276
162281
  this.actionBar = this._register(new ActionBar(actionBarContainer));
162277
162282
  this.actionBar.push(this._register(new Action('banner.close', 'Close Banner', ThemeIcon.asClassName(widgetClose), true, () => {
162278
162283
  if (typeof item.onClose === 'function') {
@@ -164585,13 +164590,13 @@ class InspectTokensWidget extends Disposable {
164585
164590
  const tokenEndIndex = token1Index + 1 < data.tokens1.length ? data.tokens1[token1Index + 1].offset : lineContent.length;
164586
164591
  tokenText = lineContent.substring(tokenStartIndex, tokenEndIndex);
164587
164592
  }
164588
- reset(this._domNode, $$e('h2.tm-token', undefined, renderTokenText(tokenText), $$e('span.tm-token-length', undefined, `${tokenText.length} ${tokenText.length === 1 ? 'char' : 'chars'}`)));
164589
- append$1(this._domNode, $$e('hr.tokens-inspect-separator', { 'style': 'clear:both' }));
164593
+ reset(this._domNode, $$d('h2.tm-token', undefined, renderTokenText(tokenText), $$d('span.tm-token-length', undefined, `${tokenText.length} ${tokenText.length === 1 ? 'char' : 'chars'}`)));
164594
+ append$1(this._domNode, $$d('hr.tokens-inspect-separator', { 'style': 'clear:both' }));
164590
164595
  const metadata = (token2Index << 1) + 1 < data.tokens2.length ? this._decodeMetadata(data.tokens2[(token2Index << 1) + 1]) : null;
164591
- append$1(this._domNode, $$e('table.tm-metadata-table', undefined, $$e('tbody', undefined, $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'language'), $$e('td.tm-metadata-value', undefined, `${metadata ? metadata.languageId : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'token type'), $$e('td.tm-metadata-value', undefined, `${metadata ? this._tokenTypeToString(metadata.tokenType) : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'font style'), $$e('td.tm-metadata-value', undefined, `${metadata ? this._fontStyleToString(metadata.fontStyle) : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'foreground'), $$e('td.tm-metadata-value', undefined, `${metadata ? Color.Format.CSS.formatHex(metadata.foreground) : '-?-'}`)), $$e('tr', undefined, $$e('td.tm-metadata-key', undefined, 'background'), $$e('td.tm-metadata-value', undefined, `${metadata ? Color.Format.CSS.formatHex(metadata.background) : '-?-'}`)))));
164592
- append$1(this._domNode, $$e('hr.tokens-inspect-separator'));
164596
+ append$1(this._domNode, $$d('table.tm-metadata-table', undefined, $$d('tbody', undefined, $$d('tr', undefined, $$d('td.tm-metadata-key', undefined, 'language'), $$d('td.tm-metadata-value', undefined, `${metadata ? metadata.languageId : '-?-'}`)), $$d('tr', undefined, $$d('td.tm-metadata-key', undefined, 'token type'), $$d('td.tm-metadata-value', undefined, `${metadata ? this._tokenTypeToString(metadata.tokenType) : '-?-'}`)), $$d('tr', undefined, $$d('td.tm-metadata-key', undefined, 'font style'), $$d('td.tm-metadata-value', undefined, `${metadata ? this._fontStyleToString(metadata.fontStyle) : '-?-'}`)), $$d('tr', undefined, $$d('td.tm-metadata-key', undefined, 'foreground'), $$d('td.tm-metadata-value', undefined, `${metadata ? Color.Format.CSS.formatHex(metadata.foreground) : '-?-'}`)), $$d('tr', undefined, $$d('td.tm-metadata-key', undefined, 'background'), $$d('td.tm-metadata-value', undefined, `${metadata ? Color.Format.CSS.formatHex(metadata.background) : '-?-'}`)))));
164597
+ append$1(this._domNode, $$d('hr.tokens-inspect-separator'));
164593
164598
  if (token1Index < data.tokens1.length) {
164594
- append$1(this._domNode, $$e('span.tm-token-type', undefined, data.tokens1[token1Index].type));
164599
+ append$1(this._domNode, $$d('span.tm-token-type', undefined, data.tokens1[token1Index].type));
164595
164600
  }
164596
164601
  this._editor.layoutContentWidget(this);
164597
164602
  }
@@ -169010,6 +169015,13 @@ function isQueryableLayerInstance(item) {
169010
169015
  "queryFeatures" in item &&
169011
169016
  typeof item.queryFeatures === "function");
169012
169017
  }
169018
+ function isSubtypeSublayerInstance(item) {
169019
+ return (!!item &&
169020
+ typeof item === "object" &&
169021
+ "declaredClass" in item &&
169022
+ typeof item.declaredClass === "string" &&
169023
+ item.declaredClass === "esri.layers.support.SubtypeSublayer");
169024
+ }
169013
169025
  function isGroupLayerInstance(item) {
169014
169026
  return (!!item &&
169015
169027
  typeof item === "object" &&
@@ -169036,6 +169048,24 @@ function isFieldsDefinition(item) {
169036
169048
  function isUrlDefinition(item) {
169037
169049
  return (!!item && typeof item === "object" && "url" in item && typeof item.url === "string" && !("declaredClass" in item));
169038
169050
  }
169051
+ function isSubtypeInstance(item) {
169052
+ return (!!item &&
169053
+ typeof item === "object" &&
169054
+ "declaredClass" in item &&
169055
+ item.declaredClass === "esri.layers.support.Subtype");
169056
+ }
169057
+ function isCodedValueDomainInstance(item) {
169058
+ return (!!item &&
169059
+ typeof item === "object" &&
169060
+ "declaredClass" in item &&
169061
+ item.declaredClass === "esri.layers.support.CodedValueDomain");
169062
+ }
169063
+ function isInheritedDomainInstance(item) {
169064
+ return (!!item &&
169065
+ typeof item === "object" &&
169066
+ "declaredClass" in item &&
169067
+ item.declaredClass === "esri.layers.support.InheritedDomain");
169068
+ }
169039
169069
  function isPredefinedProfile(item) {
169040
169070
  return (!!item &&
169041
169071
  typeof item === "object" &&
@@ -169046,7 +169076,7 @@ function isPredefinedProfile(item) {
169046
169076
  !Array.isArray(item.definitions));
169047
169077
  }
169048
169078
 
169049
- var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function y(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function T(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)y(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function x(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function $(e){let t=x(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function f(e,t,n){return x(e,`[${t}]`)?.getAttribute(t)??n}function S(e){return e.nodeType===Node.ELEMENT_NODE}function d(e,t=""){if(!S(e))return !1;if(e.matches(t))return setTimeout(()=>e?.setFocus(),0),!0;for(let r=0;r<e.children.length;r++)if(d(e.children[r],t))return !0;let n=e.shadowRoot;if(n){for(let r=0;r<n.children.length;r++)if(d(n.children[r],t))return !0}return !1}function j(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){d(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),d(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function F(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function N(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await N("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function C(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,M=new WeakMap;async function W(e,t,n){m.set(e,t),p.set(e,T(e._hostElement,["lang"],()=>{b(e,n);})),await b(e,n);}function B(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=C(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=M.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),u=`${s}/${i}/t9n`,l=`${i}.t9n.`;o=await N(r,u,l);}e._t9nLocale=r,e._t9nStrings=o,await t?.call(e);}var v='"',w="'";function L(e,t){return new Array(t+1).join(e)}function q(e){let t=v,n=w;e.includes(t)&&!e.includes(n)&&(n=v,t=w);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,u,l,g)=>u+l+L(n,g.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,u,l,g)=>u+l+L(`\\${t}`,g.length)),t+e+t}function Q(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function D(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function G(e){return `\u200E${e??""}\u200E`}function V(e){return e!==null}function X(e){return e!==void 0}function te(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function ne(e){try{return new URL(e),!0}catch{return !1}}
169079
+ var h=class{constructor(){this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n;});}};function S(e,t){let n=e;for(;n;){if(n===t)return !0;if(!n.parentNode)return !1;n.parentNode instanceof ShadowRoot?n=n.parentNode.host:n=n.parentNode;}return !1}function x(e,t,n=()=>{}){if(!t||t.length<=0)return;let r=new MutationObserver(o=>{for(let s of o)S(e,s.target)&&n();});return r.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0}),r}function T(e,t){let n=e;for(;n;){let r=n.closest(t);if(r)return r;let o=n.getRootNode();if(o===document)return null;n=o.host;}return null}function O(e){let t=T(e,":is(.calcite-mode-light, .calcite-mode-dark)");return t&&t.classList.contains("calcite-mode-dark")?"dark":"light"}function f(e,t,n){return T(e,`[${t}]`)?.getAttribute(t)??n}function M(e){return e.nodeType===Node.ELEMENT_NODE}function d(e,t=""){if(!M(e))return !1;if(e.matches(t))return setTimeout(()=>e?.setFocus(),0),!0;for(let r=0;r<e.children.length;r++)if(d(e.children[r],t))return !0;let n=e.shadowRoot;if(n){for(let r=0;r<n.children.length;r++)if(d(n.children[r],t))return !0}return !1}function U(e,t){if(!e?.shadowRoot)return;if(e.hasAttribute("hydrated")||e.hasAttribute("calcite-hydrated")){d(e,t);return}let n=new MutationObserver(()=>{n.disconnect(),d(e,t);});n.observe(e,{attributes:!0,attributeFilter:["hydrated","calcite-hydrated"]});}function c(e){let t="";for(let n=0;n<e;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function z(){return [c(2),c(1),c(1),c(1),c(3)].join("-")}var E=new Set(["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"]),a=new Map;async function N(e,t,n=""){let r=`${t}/${n}${e}.json`;if(a.has(r))return a.get(r);try{let o=await fetch(r);if(o.ok){let i=await o.json();return a.set(r,i),i}if(e==="en"){a.set(r,void 0);return}let s=await N("en",t,n);return a.set(r,s),s}catch{a.set(r,void 0);return}}function R(e){let t=f(e,"lang",navigator.language||"en");if(E.has(t))return {lang:t,t9nLocale:t};let n=t.slice(0,2);return {lang:t,t9nLocale:E.has(n)?n:"en"}}var p=new WeakMap,m=new WeakMap,C=new WeakMap;async function H(e,t,n){m.set(e,t),p.set(e,x(e._hostElement,["lang"],()=>{b(e,n);})),await b(e,n);}function q(e){p.get(e)?.disconnect(),p.delete(e),m.delete(e);}async function b(e,t){let{lang:n,t9nLocale:r}=R(e._hostElement);if(n===e._lang&&r===e._t9nLocale||(n!==e._lang&&(e._lang=n),r===e._t9nLocale))return;let o=C.get(e);if(!o){let s=m.get(e)??"",i=e._hostElement.tagName.toLowerCase().replace("arcgis-",""),l=`${s}/${i}/t9n`,u=`${i}.t9n.`;o=await N(r,l,u);}e._t9nLocale=r,e._t9nStrings=o,await t?.call(e);}var v='"',w="'";function L(e,t){return new Array(t+1).join(e)}function D(e){let t=v,n=w;e.includes(t)&&!e.includes(n)&&(n=v,t=w);let o=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)((?:\\\\${n})+)`,"gu");e=e.replace(o,(i,l,u,g)=>l+u+L(n,g.length/2));let s=new RegExp(`(^|[^\\\\])((?:\\\\{2})*)(${t}+)`,"gu");return e=e.replace(s,(i,l,u,g)=>l+u+L(`\\${t}`,g.length)),t+e+t}function G(e){let t=e?e.replaceAll(/[-[\]/{}()*+?.\\^$|]/gu,"\\$&"):"^.*$";return new RegExp(t,"i")}function I(e,t={}){return (e??"").replace(/\{(.*?)\}/gu,(n,r)=>t[r]??n)}function J(e){return `\u200E${e??""}\u200E`}function Z(e){return e!==null}function ee(e){return e!==void 0}function oe(e,t,n=!1){if(!e||!t)return !1;let r=new URL(e),o=new URL(t);return !n&&r.protocol!==o.protocol||r.host==null||o.host==null?!1:r.host.toLowerCase()===o.host.toLowerCase()&&r.port===o.port}function se(e){try{return new URL(e),!0}catch{return !1}}
169050
169080
 
169051
169081
  /**
169052
169082
  * Filters a collection of items by the given keys and filter word.
@@ -169059,7 +169089,7 @@ function filterCollection(collection, keys, filterWord, beforeFilteringFn) {
169059
169089
  if (!_keys.length) {
169060
169090
  return [];
169061
169091
  }
169062
- const filterExpression = Q(filterWord);
169092
+ const filterExpression = G(filterWord);
169063
169093
  return collection.filter((item) => {
169064
169094
  if (beforeFilteringFn) {
169065
169095
  const res = beforeFilteringFn(item);
@@ -169163,29 +169193,29 @@ function supportedFields(fields) {
169163
169193
  });
169164
169194
  }
169165
169195
 
169166
- function resolveIntlPath(dictionary, path) {
169167
- if (!dictionary) {
169168
- return "";
169169
- }
169170
- const pathSegments = path.split(".");
169171
- let pathSegment = pathSegments.shift();
169172
- let entry = dictionary;
169173
- while (entry && pathSegment) {
169174
- // @ts-expect-error
169175
- entry = entry[pathSegment];
169176
- pathSegment = pathSegments.shift();
169177
- }
169178
- return typeof entry === "string" ? entry : path;
169196
+ function isTitleCapableSource(item) {
169197
+ return !!item && typeof item === "object" && "title" in item && typeof item.title === "string";
169179
169198
  }
169180
- function isTypesCapabaleLayer(item) {
169181
- return !!item && typeof item === "object" && "typeIdField" in item;
169199
+ function isUrlCapableSource(item) {
169200
+ return !!item && typeof item === "object" && "url" in item && typeof item.url === "string";
169201
+ }
169202
+ function isLayerIdCapableSource(item) {
169203
+ return !!item && typeof item === "object" && "layerId" in item && typeof item.layerId === "number";
169204
+ }
169205
+ function isFeatureTypesCapableLayer(item) {
169206
+ return !!item && typeof item === "object" && "typeIdField" in item && "types" in item;
169182
169207
  }
169183
169208
  function isDomainsCapableLayer(item) {
169184
169209
  return !!item && typeof item === "object" && "getFieldDomain" in item && typeof item.getFieldDomain === "function";
169185
169210
  }
169211
+ function isSubtypeFieldCapableLayer(item) {
169212
+ return !!item && typeof item === "object" && "subtypeField" in item;
169213
+ }
169214
+ function isSubtypesCapableLayer(item) {
169215
+ return isSubtypeFieldCapableLayer(item) && "subtypes" in item;
169216
+ }
169186
169217
  function isRelationshipsCapableLayer(item) {
169187
- return (!!item &&
169188
- typeof item === "object" &&
169218
+ return (isLayerIdCapableSource(item) &&
169189
169219
  "relationships" in item &&
169190
169220
  "url" in item &&
169191
169221
  Array.isArray(item.relationships) &&
@@ -169212,7 +169242,23 @@ function sortFields(layer) {
169212
169242
  if (secondField.type === "oid") {
169213
169243
  return 1;
169214
169244
  }
169215
- if (isTypesCapabaleLayer(layer)) {
169245
+ if (isSubtypeSublayerInstance(layer)) {
169246
+ if (firstField.name === layer.parent.subtypeField) {
169247
+ return -1;
169248
+ }
169249
+ if (secondField.name === layer.parent.subtypeField) {
169250
+ return 1;
169251
+ }
169252
+ }
169253
+ if (isSubtypeFieldCapableLayer(layer)) {
169254
+ if (firstField.name === layer.subtypeField) {
169255
+ return -1;
169256
+ }
169257
+ if (secondField.name === layer.subtypeField) {
169258
+ return 1;
169259
+ }
169260
+ }
169261
+ if (isFeatureTypesCapableLayer(layer)) {
169216
169262
  if (firstField.name === layer.typeIdField) {
169217
169263
  return -1;
169218
169264
  }
@@ -169223,20 +169269,19 @@ function sortFields(layer) {
169223
169269
  return firstField.name.localeCompare(secondField.name, "en", { sensitivity: "base" });
169224
169270
  };
169225
169271
  }
169226
- function getSubtypesProperties(profile, types, field) {
169272
+ function getTypeOrSubtypeDomainGroup(profile, types, field) {
169227
169273
  // Try the coded domain first
169228
- const group = getDomainValuesProperties(profile, field.domain, { code: "subtypes" });
169229
- if (group) {
169230
- return group;
169231
- }
169232
- // No coded domain for the subtypes, we will manufacture it
169233
- const values = types.map((t) => new ValueVariable({ profile, label: `${t.id}`, description: t.name, snippet: `"${t.id}"` }));
169274
+ if (isCodedValueDomainInstance(field.domain)) {
169275
+ return getCodedValueDomainGroup(profile, field.domain, { code: "subtypes" });
169276
+ }
169277
+ // No coded domain, we will manufacture it
169278
+ const values = types?.map((t) => {
169279
+ const label = isSubtypeInstance(t) ? t.code : t.id;
169280
+ return new ValueVariable({ profile, label: `${label}`, description: t.name, snippet: `"${label}"` });
169281
+ }) ?? [];
169234
169282
  return new GroupOfVariables(profile, { code: "subtypes" }, values);
169235
169283
  }
169236
- function getDomainValuesProperties(profile, domain, label) {
169237
- if (!domain || domain.type !== "coded-value") {
169238
- return null;
169239
- }
169284
+ function getCodedValueDomainGroup(profile, domain, label) {
169240
169285
  const values = domain.codedValues.map((v) => new ValueVariable({
169241
169286
  profile,
169242
169287
  label: `${v.code}`,
@@ -169246,29 +169291,33 @@ function getDomainValuesProperties(profile, domain, label) {
169246
169291
  }));
169247
169292
  return new GroupOfVariables(profile, label, values);
169248
169293
  }
169249
- function getDomainValuesBySubtypeGroup(profile, types, field) {
169294
+ function getDomainValuesGroup(profile, types, field) {
169250
169295
  const variables = [];
169251
- types.forEach((t) => {
169252
- let domain = t.domains[field.name];
169296
+ if (!types || types.length === 0) {
169297
+ return null;
169298
+ }
169299
+ types.forEach((type) => {
169300
+ let domain = type.domains[field.name];
169253
169301
  if (!domain) {
169254
169302
  return;
169255
169303
  }
169256
- if (domain.type === "inherited") {
169304
+ if (isInheritedDomainInstance(domain)) {
169257
169305
  domain = field.domain;
169258
169306
  return;
169259
169307
  }
169260
- const domainValuesGroup = getDomainValuesProperties(profile, domain, {
169308
+ if (!isCodedValueDomainInstance(domain)) {
169309
+ return;
169310
+ }
169311
+ const domainValuesGroup = getCodedValueDomainGroup(profile, domain, {
169261
169312
  code: "domainvaluesfortypeformat",
169262
169313
  formatValues: {
169263
169314
  fieldName: field.alias ?? field.name,
169264
- typeName: t.name
169315
+ typeName: type.name
169265
169316
  }
169266
169317
  });
169267
- if (!domainValuesGroup) {
169268
- return;
169269
- }
169270
- const label = `${t.id}`;
169271
- const snippet = `"${t.id}""`;
169318
+ const id = isSubtypeInstance(type) ? type.code : type.id;
169319
+ const label = `${id}`;
169320
+ const snippet = `"${id}""`;
169272
169321
  const subtypeDictionary = new DictionaryVariable({ profile, label, snippet });
169273
169322
  subtypeDictionary.variables = [domainValuesGroup];
169274
169323
  variables.push(subtypeDictionary);
@@ -169278,6 +169327,9 @@ function getDomainValuesBySubtypeGroup(profile, types, field) {
169278
169327
  }
169279
169328
  return new GroupOfVariables(profile, { code: "domainvaluesbysubtypes" }, variables);
169280
169329
  }
169330
+ function areAllDomainsInherited(types, field) {
169331
+ return types?.every((type) => type.domains[field.name]?.type === "inherited") ?? false;
169332
+ }
169281
169333
  // const validIdentifierExpr = new RegExp(/^[a-z_$][\w$]*$/gi);
169282
169334
  const validIdentifierExpr = /^[a-z_$][a-z0-9_$]*$/giu;
169283
169335
  function getMemberExpressionProperty(prop, includeDot = true) {
@@ -169340,10 +169392,7 @@ function filterFeatureLayerInfos(layers, queryCapability) {
169340
169392
  //#endregion
169341
169393
  //#region Functions to Editor Variables to a language service variables
169342
169394
  async function variablesToLSVariable(editorVariables, kind = main.CompletionItemKind.Variable) {
169343
- if (!editorVariables) {
169344
- return [];
169345
- }
169346
- const properties = await Promise.all(editorVariables.map(async (editorVariable) => {
169395
+ return await Promise.all(editorVariables.map(async (editorVariable) => {
169347
169396
  switch (editorVariable.type) {
169348
169397
  case "dictionary":
169349
169398
  return await dictionaryToLSDictionary(editorVariable, kind);
@@ -169353,7 +169402,6 @@ async function variablesToLSVariable(editorVariables, kind = main.CompletionItem
169353
169402
  return variableToLSVariable(editorVariable, kind);
169354
169403
  }
169355
169404
  }));
169356
- return properties.filter((p) => p);
169357
169405
  }
169358
169406
  function variableToLSVariable(editorVariable, kind) {
169359
169407
  const { name, type } = editorVariable;
@@ -169471,7 +169519,7 @@ async function dictionaryToLSDictionary(editorDictionary, kind) {
169471
169519
  previous += ` \n${description}`;
169472
169520
  }
169473
169521
  return previous;
169474
- }, description ?? "");
169522
+ }, description);
169475
169523
  return {
169476
169524
  name,
169477
169525
  description,
@@ -169512,9 +169560,9 @@ class ProfileItemBase {
169512
169560
  // If the component is under RTL, the string is messed up.
169513
169561
  // It is converted from $feature to feature$, This is not acceptable since the label
169514
169562
  // represents a variable name. We are adding in front of the $ sign a right to left mark.
169515
- return G(this._label);
169563
+ return J(this._label);
169516
169564
  }
169517
- return D(this._profile?.intlStrings[this._label.code], this._label.formatValues);
169565
+ return I(this._profile?.intlStrings[this._label.code], this._label.formatValues);
169518
169566
  }
169519
169567
  /**
169520
169568
  * Returns the description string.
@@ -169526,7 +169574,7 @@ class ProfileItemBase {
169526
169574
  if (typeof this.description === "string") {
169527
169575
  return this.description;
169528
169576
  }
169529
- return D(this._profile?.intlStrings[this.description.code ?? ""], this.description.formatValues);
169577
+ return I(this._profile?.intlStrings[this.description.code], this.description.formatValues);
169530
169578
  }
169531
169579
  /**
169532
169580
  * Returns true if the item pass the filter test
@@ -169549,7 +169597,7 @@ class VariableBase extends ProfileItemBase {
169549
169597
  super(props.profile, props.label, props.description ?? props.declaration?.description);
169550
169598
  this.declaration = props.declaration ?? {};
169551
169599
  this.name = props.declaration?.name ?? "";
169552
- this.snippet = props.snippet || "";
169600
+ this.snippet = props.snippet ?? "";
169553
169601
  this.nonInteractive = props.nonInteractive ?? false;
169554
169602
  this.filterDescription = props.filterDescription ?? false;
169555
169603
  this.icon = props.icon;
@@ -169567,7 +169615,7 @@ class ValueVariable extends VariableBase {
169567
169615
  }
169568
169616
  getDescription() {
169569
169617
  if (this.description == null) {
169570
- return resolveIntlPath(this._profile?.intlStrings, this.type.toLowerCase()) ?? "";
169618
+ return this._profile?.intlStrings[this.type.toLowerCase()] ?? "";
169571
169619
  }
169572
169620
  return super.getDescription();
169573
169621
  }
@@ -169588,7 +169636,7 @@ class ArrayVariable extends VariableBase {
169588
169636
  }
169589
169637
  getDescription() {
169590
169638
  if (this.description == null) {
169591
- return resolveIntlPath(this._profile?.intlStrings, this.type.toLowerCase()) ?? "";
169639
+ return this._profile?.intlStrings[this.type.toLowerCase()] ?? "";
169592
169640
  }
169593
169641
  return super.getDescription();
169594
169642
  }
@@ -169603,8 +169651,8 @@ class ArrayVariable extends VariableBase {
169603
169651
  * collection is ready or not.
169604
169652
  */
169605
169653
  class CollectionBasedVariable extends VariableBase {
169606
- constructor(props) {
169607
- super(props);
169654
+ constructor() {
169655
+ super(...arguments);
169608
169656
  this.isCollection = true;
169609
169657
  this._loaded = true;
169610
169658
  /**
@@ -169740,42 +169788,53 @@ class SourceBasedVariable extends CollectionBasedVariable {
169740
169788
  this._definition = props.declaration?.definition;
169741
169789
  }
169742
169790
  get title() {
169743
- return this._source?.title ?? "";
169791
+ return isTitleCapableSource(this._source) ? this._source.title : "";
169744
169792
  }
169745
169793
  get url() {
169746
- return this._definition?.url ?? "";
169794
+ return isUrlCapableSource(this._source) ? this._source.url : "";
169747
169795
  }
169748
169796
  get informationUrl() {
169749
169797
  if (!this.loaded) {
169750
169798
  return null;
169751
169799
  }
169752
- const url = this._source?.url;
169753
- if (!url) {
169800
+ if (!this.url) {
169754
169801
  return null;
169755
169802
  }
169756
- const layerId = this._source?.layerId ?? "";
169757
- return `${url}/${layerId}`;
169803
+ return isLayerIdCapableSource(this._source) ? `${this.url}/${this._source.layerId}` : this.url;
169758
169804
  }
169759
169805
  get informationType() {
169760
169806
  return this._profile?.intlStrings.layer ?? "layer";
169761
169807
  }
169762
169808
  async loadSource() {
169763
- if (V(this._loadPromise) && X(this._loadPromise)) {
169809
+ if (Z(this._loadPromise) && ee(this._loadPromise)) {
169764
169810
  return await this._loadPromise;
169765
169811
  }
169766
169812
  this._loadPromise = this._loadSource();
169767
169813
  return await this._loadPromise;
169768
169814
  }
169815
+ _getValueSnippet(field) {
169816
+ // If the source is a feature, then we want to assemble the snippet ($feature) with the field name as a member expression
169817
+ return this.type === "feature" ? assembleMemberExpression(this.snippet, field.name) : field.name;
169818
+ }
169819
+ _getSubtypeOrDomainNameSnippet(field) {
169820
+ if (this.type !== "feature") {
169821
+ return null;
169822
+ }
169823
+ if (isSubtypeFieldCapableLayer(this._source) && field.name === this._source.subtypeField) {
169824
+ return `SubtypeName(${this.snippet})`;
169825
+ }
169826
+ return `DomainName(${this.snippet}, "${field.name}")`;
169827
+ }
169769
169828
  _getFieldProperty(field) {
169770
169829
  // Check if the field is the type id field or of the field has a coded domain.
169771
169830
  // If it has then the property will be an exanpdable property (dictionary).
169772
169831
  // Otherwise just return a simple value property.
169773
- const subtypesOrDomainValuesDictionary = this._getSubtypesOrDomainValuesDictionary(field);
169832
+ const subtypesOrDomainValuesDictionary = this._getDomainDictionary(field);
169774
169833
  if (subtypesOrDomainValuesDictionary) {
169775
169834
  return subtypesOrDomainValuesDictionary;
169776
169835
  }
169777
169836
  // Create the value property
169778
- const valueSnippet = this.type === "feature" ? assembleMemberExpression(this.snippet, field.name) : field.name;
169837
+ const valueSnippet = this._getValueSnippet(field);
169779
169838
  return new ValueVariable({
169780
169839
  profile: this._profile,
169781
169840
  label: valueSnippet,
@@ -169785,12 +169844,107 @@ class SourceBasedVariable extends CollectionBasedVariable {
169785
169844
  filterDescription: true
169786
169845
  });
169787
169846
  }
169788
- _getSubtypesOrDomainValuesDictionary(field) {
169847
+ _getDomainDictionary(field) {
169789
169848
  if (!isDomainsCapableLayer(this._source)) {
169790
169849
  return null;
169791
169850
  }
169792
- // Create the domain dictionary, we may not use it
169793
- const valueSnippet = this.type === "feature" ? assembleMemberExpression(this.snippet, field.name) : field.name;
169851
+ // Note we have multiple scenarios:
169852
+ // - Layers without subtypes or feature types: We will check if the field has a domain
169853
+ // - Layers with only subtypes: We will parse the subtypes metadata and create a dictionary
169854
+ // - Layers with only feature types: We will parse the feature types metadata
169855
+ // - Layers with both subtypes and feature types: we will actually use the subtypes metadata
169856
+ // Summary, we will always use the subtypes metadata if available.
169857
+ if (isSubtypeFieldCapableLayer(this._source) && !!this._source.subtypeField) {
169858
+ return this._getSubtypeDomainDictionary(field);
169859
+ }
169860
+ if (isFeatureTypesCapableLayer(this._source) && !!this._source.typeIdField) {
169861
+ return this._getFeatureTypeDomainDictionary(field);
169862
+ }
169863
+ return this._getFieldDomainDictionary(field);
169864
+ }
169865
+ _getSubtypeDomainDictionary(field) {
169866
+ // Should be tested before calling this function
169867
+ if (!isSubtypeFieldCapableLayer(this._source)) {
169868
+ return null;
169869
+ }
169870
+ // If the source has a subtype field but doesn't have subtypes, it is certainly a subtype sublayer
169871
+ if (!isSubtypesCapableLayer(this._source)) {
169872
+ // For the subtype field there is no domain
169873
+ if (field.name === this._source.subtypeField) {
169874
+ return null;
169875
+ }
169876
+ // For the other fields, we will use the getFieldDomain function
169877
+ return this._getFieldDomainDictionary(field);
169878
+ }
169879
+ // The code here shoud be executed for layers that have subtypes
169880
+ // Sepcial case for the subtype field
169881
+ if (field.name === this._source.subtypeField) {
169882
+ const domainDictionary = this._createDomainDictionary(field);
169883
+ domainDictionary.variables.push(getTypeOrSubtypeDomainGroup(this._profile, this._source.subtypes, field));
169884
+ return domainDictionary;
169885
+ }
169886
+ // Check if all the domains for the field in the types are inherited.
169887
+ // If it is we can simplify the structure by avoiding splitting in subtypes
169888
+ if (areAllDomainsInherited(this._source.subtypes, field)) {
169889
+ return this._getFieldDomainDictionary(field);
169890
+ }
169891
+ // We have domains per subtype
169892
+ // We need to go thru each types and create a dictionary.
169893
+ const domainValuesBySubtypeGroup = getDomainValuesGroup(this._profile, this._source.subtypes, field);
169894
+ if (!domainValuesBySubtypeGroup) {
169895
+ return null;
169896
+ }
169897
+ const domainDictionary = this._createDomainDictionary(field);
169898
+ domainDictionary.variables.push(domainValuesBySubtypeGroup);
169899
+ return domainDictionary;
169900
+ }
169901
+ _getFeatureTypeDomainDictionary(field) {
169902
+ // SHould be tested before calling this function
169903
+ if (!isFeatureTypesCapableLayer(this._source)) {
169904
+ return null;
169905
+ }
169906
+ // Special case for the type id field
169907
+ if (field.name === this._source.typeIdField) {
169908
+ const domainDictionary = this._createDomainDictionary(field);
169909
+ domainDictionary.variables.push(getTypeOrSubtypeDomainGroup(this._profile, this._source.types, field));
169910
+ return domainDictionary;
169911
+ }
169912
+ // Check if all the domains for the field in the types are inherited.
169913
+ // If it is we can simplify the structure by avoiding splitting in subtypes
169914
+ if (areAllDomainsInherited(this._source.types, field)) {
169915
+ return this._getFieldDomainDictionary(field);
169916
+ }
169917
+ // We have domains per feature type
169918
+ // We need to go thru each types and create a dictionary.
169919
+ const domainValuesByFeatureTypeGroup = getDomainValuesGroup(this._profile, this._source.types, field);
169920
+ if (!domainValuesByFeatureTypeGroup) {
169921
+ return null;
169922
+ }
169923
+ const domainDictionary = this._createDomainDictionary(field);
169924
+ domainDictionary.variables.push(domainValuesByFeatureTypeGroup);
169925
+ return domainDictionary;
169926
+ }
169927
+ _getFieldDomainDictionary(field) {
169928
+ // SHould be tested before calling this function
169929
+ if (!isDomainsCapableLayer(this._source)) {
169930
+ return null;
169931
+ }
169932
+ const fieldDomain = this._source.getFieldDomain(field.name);
169933
+ if (!isCodedValueDomainInstance(fieldDomain)) {
169934
+ return null;
169935
+ }
169936
+ const domainValuesGroup = getCodedValueDomainGroup(this._profile, fieldDomain, {
169937
+ code: "domainvalues"
169938
+ });
169939
+ const domainDictionary = this._createDomainDictionary(field);
169940
+ domainDictionary.variables.push(domainValuesGroup);
169941
+ return domainDictionary;
169942
+ }
169943
+ _createDomainDictionary(field) {
169944
+ // Create the domain dictionary.
169945
+ // The dictionary will have a header group and a value group.
169946
+ // At this point we are only creating the header group in the dictionary.
169947
+ const valueSnippet = this._getValueSnippet(field);
169794
169948
  const domainDictionary = new DictionaryVariable({
169795
169949
  profile: this._profile,
169796
169950
  label: valueSnippet,
@@ -169808,45 +169962,16 @@ class SourceBasedVariable extends CollectionBasedVariable {
169808
169962
  })
169809
169963
  ]);
169810
169964
  domainDictionary.variables = [headerGroup];
169811
- // If it is the subtype field then get its coded domain values
169812
- if (isTypesCapabaleLayer(this._source) && field.name === this._source.typeIdField) {
169813
- const subtypesGroup = getSubtypesProperties(this._profile, this._source.types, field);
169814
- domainDictionary.variables.push(subtypesGroup);
169815
- return domainDictionary;
169816
- }
169817
- // Since its' not the subtype field then add the snippet for the domain name
169818
- if (this.type === "feature") {
169819
- const domainNameSnippet = `DomainName(${this.snippet}, "${field.name}")`;
169965
+ // Add the SubtypeName or DomainName snippet if available
169966
+ const subtypeOrDomainNameSnippet = this._getSubtypeOrDomainNameSnippet(field);
169967
+ if (subtypeOrDomainNameSnippet) {
169820
169968
  headerGroup.variables.push(new ValueVariable({
169821
169969
  profile: this._profile,
169822
- label: domainNameSnippet,
169970
+ label: subtypeOrDomainNameSnippet,
169823
169971
  description: "",
169824
- snippet: domainNameSnippet
169972
+ snippet: subtypeOrDomainNameSnippet
169825
169973
  }));
169826
169974
  }
169827
- if (isTypesCapabaleLayer(this._source)) {
169828
- // Check if all the domains for the field in the types are inherited.
169829
- // If it is we can simplify the structure by avoiding splitting in subtypes
169830
- const allInherited = this._source.types.every((t) => t.domains[field.name].type === "inherited");
169831
- if (!allInherited) {
169832
- // We have domains per subtype
169833
- // We need to go thru each types and create a dictionary.
169834
- const domainValuesBySubtypeGroup = getDomainValuesBySubtypeGroup(this._profile, this._source.types, field);
169835
- if (!domainValuesBySubtypeGroup) {
169836
- return null;
169837
- }
169838
- domainDictionary.variables.push(domainValuesBySubtypeGroup);
169839
- return domainDictionary;
169840
- }
169841
- }
169842
- // Either we have types but all the domains are inherited or we don't have types
169843
- const domainValuesGroup = getDomainValuesProperties(this._profile, this._source.getFieldDomain(field.name), {
169844
- code: "domainvalues"
169845
- });
169846
- if (!domainValuesGroup) {
169847
- return null;
169848
- }
169849
- domainDictionary.variables.push(domainValuesGroup);
169850
169975
  return domainDictionary;
169851
169976
  }
169852
169977
  async _getRelationshipsProperty() {
@@ -169877,7 +170002,7 @@ class SourceBasedVariable extends CollectionBasedVariable {
169877
170002
  nonInteractive: true
169878
170003
  }, [new ValueVariable({ profile: this._profile, label: snippet, description: "", snippet })], { exposeRelationships: true, sourceTableId: source.layerId });
169879
170004
  }));
169880
- relationshipsGroup.variables = relationshipItems.filter(V);
170005
+ relationshipsGroup.variables = relationshipItems.filter(Z);
169881
170006
  if (!relationshipsGroup.variables.length) {
169882
170007
  return null;
169883
170008
  }
@@ -170035,7 +170160,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170035
170160
  return this._profile?.intlStrings.featureservice ?? "featureservice";
170036
170161
  }
170037
170162
  async loadSource() {
170038
- if (V(this._loadPromise) && X(this._loadPromise)) {
170163
+ if (Z(this._loadPromise) && ee(this._loadPromise)) {
170039
170164
  return await this._loadPromise;
170040
170165
  }
170041
170166
  this._loadPromise = this._loadSource();
@@ -170056,7 +170181,7 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170056
170181
  : {
170057
170182
  code: "webmapformat",
170058
170183
  formatValues: {
170059
- webMapTitle: this._featureSetCollections.source.portalItem.title ?? "Untitled map"
170184
+ webMapTitle: this._featureSetCollections.source.portalItem.title || "Untitled map"
170060
170185
  }
170061
170186
  };
170062
170187
  const headerGroup = new GroupOfVariables(this._profile, groupLabel, [
@@ -170133,22 +170258,25 @@ class FeatureSetCollectionVariable extends CollectionBasedVariable {
170133
170258
  }
170134
170259
  }
170135
170260
  async _featureSetCollectionFromUrl(url) {
170136
- url = url.replace(/\/featureserver\/[0-9]*/iu, "/FeatureServer");
170137
- url = url.replace(/\/mapserver\/[0-9]*/iu, "/MapServer");
170138
- url = url.split("?")[0];
170139
- const metadata = await serviceMetaData(url);
170261
+ let processedUrl = url.replace(/\/featureserver\/[0-9]*/iu, "/FeatureServer");
170262
+ processedUrl = processedUrl.replace(/\/mapserver\/[0-9]*/iu, "/MapServer");
170263
+ processedUrl = processedUrl.split("?")[0];
170264
+ if (!processedUrl) {
170265
+ return null;
170266
+ }
170267
+ const metadata = await serviceMetaData(processedUrl);
170140
170268
  const layersPromise = Promise.all(metadata.layers.map(async (layerInfo) => {
170141
- const featureLayer = await newFeatureLayer({ url: `${url}/${layerInfo.id}` });
170269
+ const featureLayer = await newFeatureLayer({ url: `${processedUrl}/${layerInfo.id}` });
170142
170270
  await featureLayer.load();
170143
170271
  return this._createFeatureSetVariable(featureLayer);
170144
170272
  }));
170145
170273
  const tablesPromise = Promise.all(metadata.tables.map(async (layerInfo) => {
170146
- const table = await newFeatureLayer({ url: `${url}/${layerInfo.id}` });
170274
+ const table = await newFeatureLayer({ url: `${processedUrl}/${layerInfo.id}` });
170147
170275
  await table.load();
170148
170276
  return this._createFeatureSetVariable(table);
170149
170277
  }));
170150
170278
  const [layers, tables] = await Promise.all([layersPromise, tablesPromise]);
170151
- return { layers, tables, source: url };
170279
+ return { layers, tables, source: processedUrl };
170152
170280
  }
170153
170281
  _convertWebMapLayersToVariables(layers, filteringTables = false) {
170154
170282
  const layerVariables = [];
@@ -170283,7 +170411,7 @@ async function getSdkPredefinedProfiles(locale = "en") {
170283
170411
  try {
170284
170412
  const response = await fetch(getAssetPath(`./assets/arcade-language/profiles/arcade-profiles.t9n.${locale}.json`));
170285
170413
  if (response.ok) {
170286
- return cacheSdkPredefinedProfiles(locale, await response.json());
170414
+ return cacheSdkPredefinedProfiles(locale, (await response.json()));
170287
170415
  }
170288
170416
  if (locale === "en") {
170289
170417
  return null;
@@ -170311,13 +170439,10 @@ async function getSdkPredefinedProfile(id, locale = "en") {
170311
170439
  const profiles = await getSdkPredefinedProfiles(locale);
170312
170440
  return profiles?.get(id) ?? null;
170313
170441
  }
170314
- function isExtendedPredefinedProfileDefinition(predefinedProfileDefinition) {
170315
- return Array.isArray(predefinedProfileDefinition?.additionalVariables);
170442
+ function isExtendedPredefinedProfileDefinition(item) {
170443
+ return !!item && typeof item === "object" && "additionalVariables" in item && Array.isArray(item.additionalVariables);
170316
170444
  }
170317
170445
  function convertApiVariables(variables) {
170318
- if (!variables) {
170319
- return [];
170320
- }
170321
170446
  return variables.map(convertApiVariable);
170322
170447
  }
170323
170448
  function convertApiVariable(variable) {
@@ -170533,4 +170658,4 @@ const arcade = {
170533
170658
  setProfileForModel: arcadeDefaults.setProfileForModel.bind(arcadeDefaults)
170534
170659
  };
170535
170660
 
170536
- export { $, B, D, Emitter as E, F, G, IStandaloneThemeService as I, KeyCode as K, MarkerSeverity as M, Q, Range as R, StandaloneServices as S, T, Uri as U, W, arcade as a, commonjsGlobal as b, createCommonjsModule as c, arcadeDefaults as d, editor as e, filterCollection as f, generateTokensCSSForColorMap as g, importArcade as h, importRequest as i, j, h as k, languages as l, KeyMod as m, ne as n, monaco_editor_core_star as o, typescriptDefaults as p, q, main as r, supportedFields as s, te as t };
170661
+ export { D, Emitter as E, G, H, IStandaloneThemeService as I, J, KeyCode as K, MarkerSeverity as M, O, Range as R, StandaloneServices as S, Uri as U, arcade as a, commonjsGlobal as b, createCommonjsModule as c, arcadeDefaults as d, editor as e, U as f, generateTokensCSSForColorMap as g, filterCollection as h, importRequest as i, importArcade as j, h as k, languages as l, I as m, supportedFields as n, oe as o, KeyMod as p, q, monaco_editor_core_star as r, se as s, typescriptDefaults as t, main as u, x, z };