@marimo-team/islands 0.16.0 → 0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DXzE2Rlw.js → ConnectedDataExplorerComponent-KvtsEmcw.js} +1567 -1544
  2. package/dist/{ImageComparisonComponent-C-eUz3jJ.js → ImageComparisonComponent-R2tjqLSx.js} +1 -1
  3. package/dist/{_baseUniq-DQHjMSO_.js → _baseUniq-BykZEXIq.js} +1 -1
  4. package/dist/{any-language-editor-DdvqlgsG.js → any-language-editor-CMt4Y6oz.js} +1 -1
  5. package/dist/{architectureDiagram-W76B3OCA-BhiWK5Po.js → architectureDiagram-W76B3OCA-mQ3sJdEW.js} +4 -4
  6. package/dist/assets/{worker-BcG8m3h5.js → worker-B0C57BK8.js} +40 -38
  7. package/dist/{blockDiagram-QIGZ2CNN-BsxfyKOq.js → blockDiagram-QIGZ2CNN-BxLRv5EM.js} +5 -5
  8. package/dist/{c4Diagram-FPNF74CW-DT6wxSq_.js → c4Diagram-FPNF74CW-Cfz16aWq.js} +2 -2
  9. package/dist/{channel-Cpc6YsEQ.js → channel-zr1uJJ5g.js} +1 -1
  10. package/dist/{chunk-4BX2VUAB-DqO0lgY1.js → chunk-4BX2VUAB-B8iHvpDe.js} +1 -1
  11. package/dist/{chunk-55IACEB6-9YHCYHRD.js → chunk-55IACEB6-CJs4dL1H.js} +1 -1
  12. package/dist/{chunk-FMBD7UC4-us9pmTom.js → chunk-FMBD7UC4-C5irHg20.js} +1 -1
  13. package/dist/{chunk-K7UQS3LO-iRfgC4yf.js → chunk-K7UQS3LO-B2XW75WS.js} +4 -4
  14. package/dist/{chunk-QN33PNHL-C8H89KNK.js → chunk-QN33PNHL-BtwctqGa.js} +1 -1
  15. package/dist/{chunk-QZHKN3VN-DrUqnrvD.js → chunk-QZHKN3VN-Sb8ZD0FY.js} +1 -1
  16. package/dist/{chunk-TVAH2DTR-Ba-bSegS.js → chunk-TVAH2DTR-CEJ5zkLX.js} +3 -3
  17. package/dist/{chunk-TZMSLE5B-C5yvoyVQ.js → chunk-TZMSLE5B-Ccm4T92V.js} +1 -1
  18. package/dist/{classDiagram-v2-RKCZMP56--YosU2wQ.js → classDiagram-KNZD7YFC-DWTbT0ww.js} +2 -2
  19. package/dist/{classDiagram-KNZD7YFC--YosU2wQ.js → classDiagram-v2-RKCZMP56-DWTbT0ww.js} +2 -2
  20. package/dist/{clone-B3q5i6e_.js → clone-CDDiMerE.js} +1 -1
  21. package/dist/{cose-bilkent-S5V4N54A-DgXfeDAu.js → cose-bilkent-S5V4N54A-B74aLjZ_.js} +2 -2
  22. package/dist/{dagre-5GWH7T2D-CSZyPlXn.js → dagre-5GWH7T2D-Cie_wUzI.js} +6 -6
  23. package/dist/{data-grid-overlay-editor-3IPfgtVA.js → data-grid-overlay-editor-OsCMRzfP.js} +2 -2
  24. package/dist/{diagram-N5W7TBWH-Bk2EPtkl.js → diagram-N5W7TBWH-CCeFeV2B.js} +5 -5
  25. package/dist/{diagram-QEK2KX5R-CmUzAfqR.js → diagram-QEK2KX5R-BPROiVV7.js} +3 -3
  26. package/dist/{diagram-S2PKOQOG-3ajjAXEO.js → diagram-S2PKOQOG-BkLFbUa_.js} +3 -3
  27. package/dist/{dockerfile-C1fNsrIG.js → dockerfile-CuJXUZQ_.js} +1 -1
  28. package/dist/{erDiagram-AWTI2OKA-B8Qsnrsf.js → erDiagram-AWTI2OKA-CpBWOTMK.js} +4 -4
  29. package/dist/{flowDiagram-PVAE7QVJ-DSj30qa8.js → flowDiagram-PVAE7QVJ-C_X4bmq3.js} +5 -5
  30. package/dist/{ganttDiagram-OWAHRB6G-JbAchSao.js → ganttDiagram-OWAHRB6G-CruldwEp.js} +4 -4
  31. package/dist/{gitGraphDiagram-NY62KEGX-HN8sfxnX.js → gitGraphDiagram-NY62KEGX-ZJnVxaQP.js} +4 -4
  32. package/dist/{glide-data-editor-DxLZKoAV.js → glide-data-editor-CnOBht4I.js} +3 -3
  33. package/dist/{graph-CnSqa440.js → graph-DjTtWtcG.js} +3 -3
  34. package/dist/{index-a9F3H4C8.js → index-CZ9vIBEc.js} +3 -3
  35. package/dist/{index-D-c83Zu2.js → index-DSpjUDnr.js} +1 -1
  36. package/dist/{index-DFWnpmwy.js → index-DeOkA9fC.js} +1 -1
  37. package/dist/{index-CN5rQ0L7.js → index-saLjL5eo.js} +1 -1
  38. package/dist/{infoDiagram-STP46IZ2-sRlbbIPE.js → infoDiagram-STP46IZ2-RZgl96nR.js} +2 -2
  39. package/dist/{journeyDiagram-BIP6EPQ6-Ggg6NzoC.js → journeyDiagram-BIP6EPQ6-9ytZy-zY.js} +3 -3
  40. package/dist/{kanban-definition-6OIFK2YF-C2bLuMPD.js → kanban-definition-6OIFK2YF-CpjPWkgX.js} +2 -2
  41. package/dist/{layout-Yxizer3A.js → layout-BAvhX25D.js} +4 -4
  42. package/dist/{linear-DafxvwEV.js → linear-BKZuvJrK.js} +1 -1
  43. package/dist/{main-mtVsqZY6.js → main-pE28kbH0.js} +64966 -64144
  44. package/dist/main.js +1 -1
  45. package/dist/{mermaid-DUnuxwY7.js → mermaid-BGd7kEsf.js} +30 -30
  46. package/dist/{min-BLUnrJi8.js → min-DmsBJf5S.js} +2 -2
  47. package/dist/{mindmap-definition-Q6HEUPPD-Vk72Jw1R.js → mindmap-definition-Q6HEUPPD-BerypnVD.js} +3 -3
  48. package/dist/{number-overlay-editor-COu53LIm.js → number-overlay-editor-A7ZQ6sSs.js} +2 -2
  49. package/dist/{pieDiagram-ADFJNKIX-DQIJVPDY.js → pieDiagram-ADFJNKIX-ChcQLZM2.js} +3 -3
  50. package/dist/{quadrantDiagram-LMRXKWRM-2UdNzO_J.js → quadrantDiagram-LMRXKWRM-BOMxo-5G.js} +2 -2
  51. package/dist/{react-plotly-DUl5VnGd.js → react-plotly-8f0vAPdB.js} +1 -1
  52. package/dist/{requirementDiagram-4UW4RH46-QhCxm6IF.js → requirementDiagram-4UW4RH46-rql0vkIr.js} +3 -3
  53. package/dist/{sankeyDiagram-GR3RE2ED-BdUAKmBf.js → sankeyDiagram-GR3RE2ED-BMz3hqw4.js} +1 -1
  54. package/dist/{sequenceDiagram-C3RYC4MD-fSAzFvC4.js → sequenceDiagram-C3RYC4MD-DFK39LUK.js} +3 -3
  55. package/dist/{slides-component-BT22bKwF.js → slides-component-BNsZuUgg.js} +2 -2
  56. package/dist/{stateDiagram-KXAO66HF-BCY34H2w.js → stateDiagram-KXAO66HF-B_3SWOCl.js} +4 -4
  57. package/dist/{stateDiagram-v2-UMBNRL4Z-CXpFdDan.js → stateDiagram-v2-UMBNRL4Z-BWAYN6aU.js} +2 -2
  58. package/dist/style.css +1 -1
  59. package/dist/{time-Cp5uV45N.js → time-DCvYzQ5t.js} +2 -2
  60. package/dist/{timeline-definition-XQNQX7LJ-BMz0bhXy.js → timeline-definition-XQNQX7LJ-CSbxJ5mV.js} +1 -1
  61. package/dist/{treemap-75Q7IDZK-Dy3GswCD.js → treemap-75Q7IDZK-LMXGKln_.js} +134 -134
  62. package/dist/{vega-component-D-4UjbYh.js → vega-component-CRmon7pH.js} +2 -2
  63. package/dist/{xychartDiagram-6GGTOJPD-D-zWFjme.js → xychartDiagram-6GGTOJPD-DaUD4dq3.js} +2 -2
  64. package/package.json +5 -4
  65. package/src/__mocks__/requests.ts +1 -0
  66. package/src/components/app-config/user-config-form.tsx +46 -1
  67. package/src/components/chat/acp/__tests__/__snapshots__/prompt.test.ts.snap +62 -43
  68. package/src/components/chat/acp/__tests__/atoms.test.ts +1 -1
  69. package/src/components/chat/acp/__tests__/state.test.ts +36 -36
  70. package/src/components/chat/acp/agent-panel.tsx +24 -27
  71. package/src/components/chat/acp/blocks.tsx +6 -6
  72. package/src/components/chat/acp/prompt.ts +62 -43
  73. package/src/components/chat/chat-panel.tsx +5 -1
  74. package/src/components/chat/markdown-renderer.tsx +6 -10
  75. package/src/components/chat/tool-call-accordion.tsx +52 -20
  76. package/src/components/data-table/SearchBar.tsx +8 -7
  77. package/src/components/data-table/__tests__/column_formatting.test.ts +50 -35
  78. package/src/components/data-table/__tests__/columns.test.tsx +38 -0
  79. package/src/components/data-table/__tests__/data-table.test.tsx +39 -1
  80. package/src/components/data-table/cell-hover-template/feature.ts +14 -0
  81. package/src/components/data-table/cell-hover-template/types.ts +11 -0
  82. package/src/components/data-table/charts/components/form-fields.tsx +41 -37
  83. package/src/components/data-table/charts/forms/common-chart.tsx +2 -2
  84. package/src/components/data-table/column-explorer-panel/column-explorer.tsx +5 -2
  85. package/src/components/data-table/column-formatting/feature.ts +62 -29
  86. package/src/components/data-table/column-formatting/types.ts +1 -0
  87. package/src/components/data-table/column-header.tsx +3 -1
  88. package/src/components/data-table/column-summary/chart-spec-model.tsx +24 -7
  89. package/src/components/data-table/column-summary/column-summary.tsx +18 -9
  90. package/src/components/data-table/columns.tsx +63 -20
  91. package/src/components/data-table/data-table.tsx +10 -2
  92. package/src/components/data-table/date-popover.tsx +85 -75
  93. package/src/components/data-table/filter-pills.tsx +14 -9
  94. package/src/components/data-table/header-items.tsx +5 -1
  95. package/src/components/data-table/pagination.tsx +20 -13
  96. package/src/components/data-table/renderers.tsx +36 -0
  97. package/src/components/data-table/row-viewer-panel/row-viewer.tsx +10 -8
  98. package/src/components/data-table/schemas.ts +16 -0
  99. package/src/components/datasources/column-preview.tsx +6 -2
  100. package/src/components/datasources/datasources.tsx +8 -12
  101. package/src/components/editor/Cell.tsx +2 -0
  102. package/src/components/editor/ai/transport/chat-transport.tsx +4 -1
  103. package/src/components/editor/cell/CellStatus.tsx +23 -20
  104. package/src/components/editor/cell/CreateCellButton.tsx +3 -4
  105. package/src/components/editor/cell/code/language-toggle.tsx +3 -4
  106. package/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx +39 -28
  107. package/src/components/editor/controls/notebook-menu-dropdown.tsx +4 -2
  108. package/src/components/editor/errors/sql-validation-errors.tsx +34 -0
  109. package/src/components/editor/file-tree/requesting-tree.tsx +14 -8
  110. package/src/components/editor/output/ConsoleOutput.tsx +13 -1
  111. package/src/components/editor/output/MarimoErrorOutput.tsx +60 -1
  112. package/src/components/editor/renderers/CellArray.tsx +3 -4
  113. package/src/components/editor/renderers/slides-layout/slides-layout.tsx +3 -3
  114. package/src/components/editor/renderers/slides-layout/types.ts +1 -0
  115. package/src/components/pages/home-page.tsx +4 -1
  116. package/src/components/slides/slides-component.tsx +1 -1
  117. package/src/components/slides/slides.css +6 -0
  118. package/src/components/terminal/theme.tsx +1 -0
  119. package/src/components/tracing/tracing-spec.ts +5 -4
  120. package/src/components/ui/range-slider.tsx +4 -2
  121. package/src/components/ui/slider.tsx +3 -1
  122. package/src/components/variables/variables-table.tsx +3 -0
  123. package/src/core/MarimoApp.tsx +9 -6
  124. package/src/core/ai/context/__tests__/registry.test.ts +6 -4
  125. package/src/core/ai/context/providers/cell-output.ts +4 -20
  126. package/src/core/ai/context/providers/error.ts +3 -1
  127. package/src/core/ai/context/providers/file.ts +7 -2
  128. package/src/core/ai/context/providers/tables.ts +3 -2
  129. package/src/core/ai/context/providers/variable.ts +6 -4
  130. package/src/core/ai/staged-cells.ts +34 -1
  131. package/src/core/cells/__tests__/add-missing-import.test.ts +67 -22
  132. package/src/core/cells/add-missing-import.ts +24 -7
  133. package/src/core/cells/cells.ts +26 -27
  134. package/src/core/cells/logs.ts +1 -1
  135. package/src/core/codemirror/find-replace/search-highlight.ts +3 -1
  136. package/src/core/codemirror/language/LanguageAdapters.ts +9 -3
  137. package/src/core/codemirror/language/__tests__/extension.test.ts +24 -0
  138. package/src/core/codemirror/language/__tests__/sql-validation.test.ts +133 -0
  139. package/src/core/codemirror/language/languages/sql/sql-mode.ts +20 -0
  140. package/src/core/codemirror/language/languages/sql/sql.ts +90 -3
  141. package/src/core/codemirror/language/languages/sql/validation-errors.ts +79 -0
  142. package/src/core/codemirror/language/panel/panel.tsx +8 -2
  143. package/src/core/codemirror/language/panel/sql.tsx +81 -4
  144. package/src/core/codemirror/lsp/notebook-lsp.ts +8 -2
  145. package/src/core/codemirror/readonly/__tests__/extension.test.ts +1 -1
  146. package/src/core/codemirror/rtc/loro/awareness.ts +52 -17
  147. package/src/core/codemirror/rtc/loro/sync.ts +12 -4
  148. package/src/core/config/config-schema.ts +1 -0
  149. package/src/core/config/config.ts +4 -0
  150. package/src/core/config/feature-flag.tsx +3 -1
  151. package/src/core/datasets/request-registry.ts +17 -1
  152. package/src/core/hotkeys/hotkeys.ts +8 -4
  153. package/src/core/i18n/__tests__/locale-provider.test.tsx +176 -0
  154. package/src/core/i18n/locale-provider.tsx +35 -0
  155. package/src/core/i18n/with-locale.tsx +12 -0
  156. package/src/core/islands/bridge.ts +1 -0
  157. package/src/core/islands/components/web-components.tsx +13 -10
  158. package/src/core/islands/main.ts +1 -0
  159. package/src/core/kernel/RuntimeState.ts +4 -1
  160. package/src/core/kernel/messages.ts +3 -2
  161. package/src/core/network/DeferredRequestRegistry.ts +16 -4
  162. package/src/core/network/requests-network.ts +7 -0
  163. package/src/core/network/requests-static.ts +1 -0
  164. package/src/core/network/requests-toasting.ts +1 -0
  165. package/src/core/network/types.ts +2 -0
  166. package/src/core/runtime/runtime.ts +5 -4
  167. package/src/core/wasm/bridge.ts +10 -1
  168. package/src/core/wasm/store.ts +4 -1
  169. package/src/core/wasm/worker/message-buffer.ts +3 -2
  170. package/src/core/websocket/types.ts +22 -16
  171. package/src/core/websocket/useMarimoWebSocket.tsx +4 -0
  172. package/src/hooks/useFormatting.ts +97 -0
  173. package/src/hooks/useTimer.ts +8 -5
  174. package/src/plugins/core/registerReactComponent.tsx +39 -29
  175. package/src/plugins/impl/DataTablePlugin.tsx +15 -4
  176. package/src/plugins/impl/RangeSliderPlugin.tsx +5 -3
  177. package/src/plugins/impl/SliderPlugin.tsx +3 -1
  178. package/src/plugins/impl/anywidget/model.ts +16 -5
  179. package/src/plugins/impl/data-editor/types.ts +7 -5
  180. package/src/plugins/impl/data-explorer/components/column-summary.tsx +20 -13
  181. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +17 -5
  182. package/src/plugins/impl/panel/utils.ts +6 -4
  183. package/src/plugins/layout/OutlinePlugin.tsx +69 -0
  184. package/src/plugins/layout/StatPlugin.tsx +4 -1
  185. package/src/plugins/plugins.ts +2 -0
  186. package/src/stories/dataframe.stories.tsx +2 -0
  187. package/src/utils/__tests__/dates.test.ts +45 -24
  188. package/src/utils/__tests__/dom.test.ts +167 -0
  189. package/src/utils/__tests__/numbers.test.ts +42 -30
  190. package/src/utils/__tests__/once.test.ts +187 -0
  191. package/src/utils/dates.ts +15 -10
  192. package/src/utils/dom.ts +55 -0
  193. package/src/utils/edit-distance.ts +8 -6
  194. package/src/utils/errors.ts +1 -1
  195. package/src/utils/id-tree.tsx +21 -10
  196. package/src/utils/localStorage.ts +13 -4
  197. package/src/utils/numbers.ts +11 -11
  198. package/src/utils/once.ts +32 -0
  199. package/src/utils/paths.ts +4 -1
  200. package/src/utils/pluralize.ts +12 -5
  201. package/src/utils/python-poet/poet.ts +30 -15
  202. package/src/utils/time.ts +5 -1
@@ -2,11 +2,11 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  var _a2, _b, _c2, _d2, _e, _f2, _g, _h2, _i2, _j, _k, _l2, _m2, _n2, _o2, _p2, _q;
5
- import { dY as Kl, bO as Vl, al as Ma, aT as Hl, u as _t, aO as Wl, ao as Q, bk as jl, bl as zl, k as ql, n as Ni, m as Da, am as Qs, dZ as Fa, aK as Yl, b0 as Ga, d_ as Ua, aM as Xl, b2 as wi, an as Jl, d$ as Zl, bg as Ql, e0 as eu, aP as Ie, q as vt, ar as _i, b3 as tu, e1 as H, e2 as Re } from "./main-mtVsqZY6.js";
6
- import { g as ei, d as bt, k as nu, v as W, l as Ba, m as ru, n as su, a as Ka, c as x, i as qe, r as ae, f as ke, o as z } from "./_baseUniq-DQHjMSO_.js";
7
- import { m as k, f as Lt, h as I, e as ti, l as Ot, d as iu } from "./min-BLUnrJi8.js";
8
- import { ad as P } from "./mermaid-DUnuxwY7.js";
9
- import { c as te } from "./clone-B3q5i6e_.js";
5
+ import { d_ as Kl, bQ as Vl, al as Ma, aT as Hl, u as _t, aO as Wl, ao as Z, bk as jl, bl as zl, k as ql, n as Ni, m as Da, am as Zs, d$ as Fa, aK as Yl, b0 as Ga, e0 as Ua, aM as Xl, b2 as wi, an as Jl, e1 as Ql, bg as Zl, e2 as eu, aP as Ie, q as vt, ar as _i, b3 as tu, e3 as H, e4 as Re } from "./main-pE28kbH0.js";
6
+ import { g as ei, d as bt, k as nu, v as W, l as Ba, m as ru, n as su, a as Ka, c as x, i as qe, r as ae, f as ke, o as z } from "./_baseUniq-BykZEXIq.js";
7
+ import { m as k, f as Lt, h as I, e as ti, l as Ot, d as iu } from "./min-DmsBJf5S.js";
8
+ import { ad as P } from "./mermaid-BGd7kEsf.js";
9
+ import { c as te } from "./clone-CDDiMerE.js";
10
10
  var au = Object.prototype, ou = au.hasOwnProperty, Ee = Kl(function(n, e) {
11
11
  if (Vl(e) || Ma(e)) {
12
12
  Hl(e, _t(e), n);
@@ -36,7 +36,7 @@ function uu(n, e, t, r) {
36
36
  }
37
37
  function cu(n, e) {
38
38
  return function(t, r) {
39
- var s = Q(t) ? lu : uu, i = e ? e() : {};
39
+ var s = Z(t) ? lu : uu, i = e ? e() : {};
40
40
  return s(t, n, bt(r), i);
41
41
  };
42
42
  }
@@ -63,11 +63,11 @@ var Gr = ql(function(n, e) {
63
63
  });
64
64
  function X(n, e, t) {
65
65
  var r = n == null ? 0 : n.length;
66
- return r ? (e = e === void 0 ? 1 : Qs(e), Fa(n, e < 0 ? 0 : e, r)) : [];
66
+ return r ? (e = e === void 0 ? 1 : Zs(e), Fa(n, e < 0 ? 0 : e, r)) : [];
67
67
  }
68
68
  function xn(n, e, t) {
69
69
  var r = n == null ? 0 : n.length;
70
- return r ? (e = e === void 0 ? 1 : Qs(e), e = r - e, Fa(n, 0, e < 0 ? 0 : e)) : [];
70
+ return r ? (e = e === void 0 ? 1 : Zs(e), e = r - e, Fa(n, 0, e < 0 ? 0 : e)) : [];
71
71
  }
72
72
  function hu(n, e) {
73
73
  for (var t = -1, r = n == null ? 0 : n.length; ++t < r; )
@@ -82,7 +82,7 @@ function pu(n, e) {
82
82
  }), t;
83
83
  }
84
84
  function Oe(n, e, t) {
85
- var r = Q(n) ? hu : pu;
85
+ var r = Z(n) ? hu : pu;
86
86
  return r(n, bt(e));
87
87
  }
88
88
  function Pe(n) {
@@ -95,11 +95,11 @@ var mu = Object.prototype, gu = mu.hasOwnProperty, yu = cu(function(n, e, t) {
95
95
  gu.call(n, t) ? n[t].push(e) : Yl(n, t, [e]);
96
96
  }), Tu = "[object String]";
97
97
  function de(n) {
98
- return typeof n == "string" || !Q(n) && Ga(n) && Ua(n) == Tu;
98
+ return typeof n == "string" || !Z(n) && Ga(n) && Ua(n) == Tu;
99
99
  }
100
100
  var Ru = Math.max;
101
101
  function ue(n, e, t, r) {
102
- n = Ma(n) ? n : W(n), t = t ? Qs(t) : 0;
102
+ n = Ma(n) ? n : W(n), t = t ? Zs(t) : 0;
103
103
  var s = n.length;
104
104
  return t < 0 && (t = Ru(s + t, 0)), de(n) ? t <= s && n.indexOf(e, t) > -1 : !!s && Ba(n, e, t) > -1;
105
105
  }
@@ -139,12 +139,12 @@ function be(n, e) {
139
139
  var t = Jl(ru(n), function(r) {
140
140
  return [r];
141
141
  });
142
- return e = bt(e), Zl(n, t, function(r, s) {
142
+ return e = bt(e), Ql(n, t, function(r, s) {
143
143
  return e(r, s[0]);
144
144
  });
145
145
  }
146
146
  function Ur(n, e) {
147
- var t = Q(n) ? Ql : su;
147
+ var t = Z(n) ? Zl : su;
148
148
  return t(n, ku(bt(e)));
149
149
  }
150
150
  function $u(n, e) {
@@ -154,7 +154,7 @@ function $u(n, e) {
154
154
  }), !!t;
155
155
  }
156
156
  function Va(n, e, t) {
157
- var r = Q(n) ? eu : $u;
157
+ var r = Z(n) ? eu : $u;
158
158
  return r(n, bt(e));
159
159
  }
160
160
  function ni(n) {
@@ -483,7 +483,7 @@ function Ar(n) {
483
483
  }
484
484
  const Iu = new J(() => {
485
485
  }, () => Te), Te = Object.freeze({ done: true, value: void 0 });
486
- function Z(...n) {
486
+ function Q(...n) {
487
487
  if (n.length === 1) {
488
488
  const e = n[0];
489
489
  if (e instanceof J)
@@ -689,17 +689,17 @@ const Wn = "ReferenceType", or = "ReturnType";
689
689
  function Bu(n) {
690
690
  return O.isInstance(n, or);
691
691
  }
692
- const Zt = "SimpleType";
692
+ const Qt = "SimpleType";
693
693
  function Ku(n) {
694
- return O.isInstance(n, Zt);
694
+ return O.isInstance(n, Qt);
695
695
  }
696
696
  const jn = "StringLiteral", xt = "TerminalRule";
697
697
  function At(n) {
698
698
  return O.isInstance(n, xt);
699
699
  }
700
- const Qt = "Type";
700
+ const Zt = "Type";
701
701
  function Xa(n) {
702
- return O.isInstance(n, Qt);
702
+ return O.isInstance(n, Zt);
703
703
  }
704
704
  const as = "TypeAttribute", zn = "UnionType", en = "Action";
705
705
  function Br(n) {
@@ -758,7 +758,7 @@ function Yu(n) {
758
758
  return O.isInstance(n, pn);
759
759
  }
760
760
  const mn = "UnorderedGroup";
761
- function Za(n) {
761
+ function Qa(n) {
762
762
  return O.isInstance(n, mn);
763
763
  }
764
764
  const gn = "UntilToken";
@@ -769,9 +769,9 @@ const yn = "Wildcard";
769
769
  function Ju(n) {
770
770
  return O.isInstance(n, yn);
771
771
  }
772
- class Qa extends Ha {
772
+ class Za extends Ha {
773
773
  getAllTypes() {
774
- return [Vt, Fn, Gn, en, tn, Un, Bn, nn, Ht, rn, ns, Wt, sn, jt, an, Kn, ss, on, zt, qt, ln, is, un, Yt, Vn, Hn, Xt, Jt, Wn, cn, or, dn, Zt, jn, fn, hn, xt, pn, Qt, as, bi, zn, mn, gn, rs, yn];
774
+ return [Vt, Fn, Gn, en, tn, Un, Bn, nn, Ht, rn, ns, Wt, sn, jt, an, Kn, ss, on, zt, qt, ln, is, un, Yt, Vn, Hn, Xt, Jt, Wn, cn, or, dn, Qt, jn, fn, hn, xt, pn, Zt, as, bi, zn, mn, gn, rs, yn];
775
775
  }
776
776
  computeIsSubtype(e, t) {
777
777
  switch (e) {
@@ -799,7 +799,7 @@ class Qa extends Ha {
799
799
  return this.isSubtype(rs, t);
800
800
  case Bn:
801
801
  case Wn:
802
- case Zt:
802
+ case Qt:
803
803
  case zn:
804
804
  return this.isSubtype(bi, t);
805
805
  case Ht:
@@ -811,7 +811,7 @@ class Qa extends Ha {
811
811
  return this.isSubtype(ns, t);
812
812
  case zt:
813
813
  case qt:
814
- case Qt:
814
+ case Zt:
815
815
  return this.isSubtype(Gn, t);
816
816
  case Jt:
817
817
  return this.isSubtype(Fn, t) || this.isSubtype(Gn, t);
@@ -998,9 +998,9 @@ class Qa extends Ha {
998
998
  { name: "name" }
999
999
  ]
1000
1000
  };
1001
- case Zt:
1001
+ case Qt:
1002
1002
  return {
1003
- name: Zt,
1003
+ name: Qt,
1004
1004
  properties: [
1005
1005
  { name: "primitiveType" },
1006
1006
  { name: "stringType" },
@@ -1025,9 +1025,9 @@ class Qa extends Ha {
1025
1025
  { name: "type" }
1026
1026
  ]
1027
1027
  };
1028
- case Qt:
1028
+ case Zt:
1029
1029
  return {
1030
- name: Qt,
1030
+ name: Zt,
1031
1031
  properties: [
1032
1032
  { name: "name" },
1033
1033
  { name: "type" }
@@ -1219,8 +1219,8 @@ class Qa extends Ha {
1219
1219
  }
1220
1220
  }
1221
1221
  }
1222
- const O = new Qa();
1223
- function Zu(n) {
1222
+ const O = new Za();
1223
+ function Qu(n) {
1224
1224
  for (const [e, t] of Object.entries(n))
1225
1225
  e.startsWith("$") || (Array.isArray(t) ? t.forEach((r, s) => {
1226
1226
  se(r) && (r.$container = n, r.$containerProperty = e, r.$containerIndex = s);
@@ -1234,7 +1234,7 @@ function Kr(n, e) {
1234
1234
  t = t.$container;
1235
1235
  }
1236
1236
  }
1237
- function Ze(n) {
1237
+ function Qe(n) {
1238
1238
  const t = Os(n).$document;
1239
1239
  if (!t)
1240
1240
  throw new Error("AST node has no document.");
@@ -1318,7 +1318,7 @@ function eo(n) {
1318
1318
  return Te;
1319
1319
  });
1320
1320
  }
1321
- function Qu(n, e) {
1321
+ function Zu(n, e) {
1322
1322
  const t = n.getTypeMetaData(e.$type), r = e;
1323
1323
  for (const s of t.properties)
1324
1324
  s.defaultValue !== void 0 && r[s.name] === void 0 && (r[s.name] = to(s.defaultValue));
@@ -2983,7 +2983,7 @@ function Ms(n, e, t) {
2983
2983
  for (let c = u.from; c <= u.to && c < Rn; c++)
2984
2984
  Yn(c, e, t);
2985
2985
  if (u.to >= Rn) {
2986
- const c = u.from >= Rn ? u.from : Rn, d = u.to, f = Qe(c), h = Qe(d);
2986
+ const c = u.from >= Rn ? u.from : Rn, d = u.to, f = Ze(c), h = Ze(d);
2987
2987
  for (let p = f; p <= h; p++)
2988
2988
  e[p] = p;
2989
2989
  }
@@ -3015,18 +3015,18 @@ function Ms(n, e, t) {
3015
3015
  return W(e);
3016
3016
  }
3017
3017
  function Yn(n, e, t) {
3018
- const r = Qe(n);
3018
+ const r = Ze(n);
3019
3019
  e[r] = r, t === true && Bc(n, e);
3020
3020
  }
3021
3021
  function Bc(n, e) {
3022
3022
  const t = String.fromCharCode(n), r = t.toUpperCase();
3023
3023
  if (r !== t) {
3024
- const s = Qe(r.charCodeAt(0));
3024
+ const s = Ze(r.charCodeAt(0));
3025
3025
  e[s] = s;
3026
3026
  } else {
3027
3027
  const s = t.toLowerCase();
3028
3028
  if (s !== t) {
3029
- const i = Qe(s.charCodeAt(0));
3029
+ const i = Ze(s.charCodeAt(0));
3030
3030
  e[i] = i;
3031
3031
  }
3032
3032
  }
@@ -3043,7 +3043,7 @@ function Ui(n, e) {
3043
3043
  }
3044
3044
  function Ds(n) {
3045
3045
  const e = n.quantifier;
3046
- return e && e.atLeast === 0 ? true : n.value ? Q(n.value) ? Oe(n.value, Ds) : Ds(n.value) : false;
3046
+ return e && e.atLeast === 0 ? true : n.value ? Z(n.value) ? Oe(n.value, Ds) : Ds(n.value) : false;
3047
3047
  }
3048
3048
  class Kc extends Vr {
3049
3049
  constructor(e) {
@@ -3153,7 +3153,7 @@ function Vc(n, e) {
3153
3153
  }), l = k(r, (A) => {
3154
3154
  const T = A.LONGER_ALT;
3155
3155
  if (T)
3156
- return Q(T) ? k(T, (b) => Li(r, b)) : [Li(r, T)];
3156
+ return Z(T) ? k(T, (b) => Li(r, b)) : [Li(r, T)];
3157
3157
  }), u = k(r, (A) => A.PUSH_MODE), c = k(r, (A) => I(A, "POP_MODE"));
3158
3158
  });
3159
3159
  let d;
@@ -3183,12 +3183,12 @@ function Vc(n, e) {
3183
3183
  return e.safeMode || t("First Char Optimization", () => {
3184
3184
  y = ae(r, (A, T, C) => {
3185
3185
  if (typeof T.PATTERN == "string") {
3186
- const b = T.PATTERN.charCodeAt(0), ne = Qe(b);
3186
+ const b = T.PATTERN.charCodeAt(0), ne = Ze(b);
3187
3187
  cs(A, ne, m[C]);
3188
- } else if (Q(T.START_CHARS_HINT)) {
3188
+ } else if (Z(T.START_CHARS_HINT)) {
3189
3189
  let b;
3190
3190
  x(T.START_CHARS_HINT, (ne) => {
3191
- const we = typeof ne == "string" ? ne.charCodeAt(0) : ne, me = Qe(we);
3191
+ const we = typeof ne == "string" ? ne.charCodeAt(0) : ne, me = Ze(we);
3192
3192
  b !== me && (b = me, cs(A, me, m[C]));
3193
3193
  });
3194
3194
  } else if (Ye(T.PATTERN))
@@ -3227,7 +3227,7 @@ function Hc(n, e) {
3227
3227
  function Wc(n) {
3228
3228
  let e = [];
3229
3229
  const t = ke(n, (r) => Ye(r[yt]));
3230
- return e = e.concat(Yc(t)), e = e.concat(Zc(t)), e = e.concat(Qc(t)), e = e.concat(ed(t)), e = e.concat(Xc(t)), e;
3230
+ return e = e.concat(Yc(t)), e = e.concat(Qc(t)), e = e.concat(Zc(t)), e = e.concat(ed(t)), e = e.concat(Xc(t)), e;
3231
3231
  }
3232
3232
  function jc(n) {
3233
3233
  const e = ke(n, (s) => !I(s, yt)), t = k(e, (s) => ({
@@ -3284,7 +3284,7 @@ function Xc(n) {
3284
3284
  }));
3285
3285
  }
3286
3286
  const Jc = /[^\\[][\^]|^\^/;
3287
- function Zc(n) {
3287
+ function Qc(n) {
3288
3288
  class e extends Vr {
3289
3289
  constructor() {
3290
3290
  super(...arguments), this.found = false;
@@ -3310,7 +3310,7 @@ function Zc(n) {
3310
3310
  tokenTypes: [s]
3311
3311
  }));
3312
3312
  }
3313
- function Qc(n) {
3313
+ function Zc(n) {
3314
3314
  const e = ke(n, (r) => {
3315
3315
  const s = r[yt];
3316
3316
  return s instanceof RegExp && (s.multiline || s.global);
@@ -3438,7 +3438,7 @@ function ad(n, e, t) {
3438
3438
  type: K.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED
3439
3439
  });
3440
3440
  else if (I(a, "LONGER_ALT")) {
3441
- const l = Q(a.LONGER_ALT) ? a.LONGER_ALT : [a.LONGER_ALT];
3441
+ const l = Z(a.LONGER_ALT) ? a.LONGER_ALT : [a.LONGER_ALT];
3442
3442
  x(l, (u) => {
3443
3443
  !qe(u) && !ue(s, u) && r.push({
3444
3444
  message: `A MultiMode Lexer cannot be initialized with a longer_alt <${u.name}> on token <${a.name}> outside of mode <${i}>
@@ -3478,7 +3478,7 @@ function ld(n) {
3478
3478
  const e = {}, t = _t(n);
3479
3479
  return x(t, (r) => {
3480
3480
  const s = n[r];
3481
- if (Q(s))
3481
+ if (Z(s))
3482
3482
  e[r] = [];
3483
3483
  else
3484
3484
  throw Error("non exhaustive match");
@@ -3555,7 +3555,7 @@ function cs(n, e, t) {
3555
3555
  }
3556
3556
  const Rn = 256;
3557
3557
  let cr = [];
3558
- function Qe(n) {
3558
+ function Ze(n) {
3559
3559
  return n < Rn ? n : cr[n];
3560
3560
  }
3561
3561
  function fd() {
@@ -3591,7 +3591,7 @@ function hd(n) {
3591
3591
  }
3592
3592
  function pd(n) {
3593
3593
  x(n, (e) => {
3594
- Eo(e) || (vo[Vi] = e, e.tokenTypeIdx = Vi++), Hi(e) && !Q(e.CATEGORIES) && (e.CATEGORIES = [e.CATEGORIES]), Hi(e) || (e.CATEGORIES = []), yd(e) || (e.categoryMatches = []), Td(e) || (e.categoryMatchesMap = {});
3594
+ Eo(e) || (vo[Vi] = e, e.tokenTypeIdx = Vi++), Hi(e) && !Z(e.CATEGORIES) && (e.CATEGORIES = [e.CATEGORIES]), Hi(e) || (e.CATEGORIES = []), yd(e) || (e.categoryMatches = []), Td(e) || (e.categoryMatchesMap = {});
3595
3595
  });
3596
3596
  }
3597
3597
  function md(n) {
@@ -3681,7 +3681,7 @@ a boolean 2nd argument is no longer supported`);
3681
3681
  For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);
3682
3682
  if (t.safeMode && t.ensureOptimizations)
3683
3683
  throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');
3684
- this.trackStartLines = /full|onlyStart/i.test(this.config.positionTracking), this.trackEndLines = /full/i.test(this.config.positionTracking), Q(e) ? s = {
3684
+ this.trackStartLines = /full|onlyStart/i.test(this.config.positionTracking), this.trackEndLines = /full/i.test(this.config.positionTracking), Z(e) ? s = {
3685
3685
  modes: { defaultMode: te(e) },
3686
3686
  defaultMode: Tn
3687
3687
  } : (i = false, s = te(e));
@@ -3770,7 +3770,7 @@ a boolean 2nd argument is no longer supported`);
3770
3770
  return L;
3771
3771
  }
3772
3772
  function ut(re) {
3773
- const xe = Qe(re), St = _[xe];
3773
+ const xe = Ze(re), St = _[xe];
3774
3774
  return St === void 0 ? ge : St;
3775
3775
  }
3776
3776
  const Bl = (re) => {
@@ -3936,7 +3936,7 @@ function wt(n) {
3936
3936
  function ko(n) {
3937
3937
  return de(n.LABEL) && n.LABEL !== "";
3938
3938
  }
3939
- const vd = "parent", Wi = "categories", ji = "label", zi = "group", qi = "push_mode", Yi = "pop_mode", Xi = "longer_alt", Ji = "line_breaks", Zi = "start_chars_hint";
3939
+ const vd = "parent", Wi = "categories", ji = "label", zi = "group", qi = "push_mode", Yi = "pop_mode", Xi = "longer_alt", Ji = "line_breaks", Qi = "start_chars_hint";
3940
3940
  function $o(n) {
3941
3941
  return Ad(n);
3942
3942
  }
@@ -3945,7 +3945,7 @@ function Ad(n) {
3945
3945
  if (t.name = n.name, qe(e) || (t.PATTERN = e), I(n, vd))
3946
3946
  throw `The parent property is no longer supported.
3947
3947
  See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;
3948
- return I(n, Wi) && (t.CATEGORIES = n[Wi]), bn([t]), I(n, ji) && (t.LABEL = n[ji]), I(n, zi) && (t.GROUP = n[zi]), I(n, Yi) && (t.POP_MODE = n[Yi]), I(n, qi) && (t.PUSH_MODE = n[qi]), I(n, Xi) && (t.LONGER_ALT = n[Xi]), I(n, Ji) && (t.LINE_BREAKS = n[Ji]), I(n, Zi) && (t.START_CHARS_HINT = n[Zi]), t;
3948
+ return I(n, Wi) && (t.CATEGORIES = n[Wi]), bn([t]), I(n, ji) && (t.LABEL = n[ji]), I(n, zi) && (t.GROUP = n[zi]), I(n, Yi) && (t.POP_MODE = n[Yi]), I(n, qi) && (t.PUSH_MODE = n[qi]), I(n, Xi) && (t.LONGER_ALT = n[Xi]), I(n, Ji) && (t.LINE_BREAKS = n[Ji]), I(n, Qi) && (t.START_CHARS_HINT = n[Qi]), t;
3949
3949
  }
3950
3950
  const et = $o({ name: "EOF", pattern: ce.NA });
3951
3951
  bn([et]);
@@ -4158,7 +4158,7 @@ class xd extends zr {
4158
4158
  super.walkMany(e, t, r);
4159
4159
  }
4160
4160
  }
4161
- class Qi extends zr {
4161
+ class Zi extends zr {
4162
4162
  walkManySep(e, t, r) {
4163
4163
  if (e.idx === this.occurrence) {
4164
4164
  const s = Pe(t.concat(r));
@@ -4984,7 +4984,7 @@ function Jd(n, e, t) {
4984
4984
  }
4985
4985
  }), r;
4986
4986
  }
4987
- function Zd(n) {
4987
+ function Qd(n) {
4988
4988
  const e = ti(n, {
4989
4989
  errMsgProvider: Ed
4990
4990
  }), t = {};
@@ -4992,7 +4992,7 @@ function Zd(n) {
4992
4992
  t[r.name] = r;
4993
4993
  }), kd(t, e.errMsgProvider);
4994
4994
  }
4995
- function Qd(n) {
4995
+ function Zd(n) {
4996
4996
  return n = ti(n, {
4997
4997
  errMsgProvider: ht
4998
4998
  }), Fd(n.rules, n.tokenTypes, n.errMsgProvider, n.grammarName);
@@ -5368,7 +5368,7 @@ function mf(n, e) {
5368
5368
  Bo(t, n + "BaseSemantics");
5369
5369
  const r = {
5370
5370
  visit: function(s, i) {
5371
- if (Q(s) && (s = s[0]), !qe(s))
5371
+ if (Z(s) && (s = s[0]), !qe(s))
5372
5372
  return this[s.name](s.children, i);
5373
5373
  },
5374
5374
  validateVisitor: function() {
@@ -5871,7 +5871,7 @@ class Ef {
5871
5871
  throw Error(`The Parser's configuration can no longer contain a <serializedGrammar> property.
5872
5872
  See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0
5873
5873
  For Further details.`);
5874
- if (Q(e)) {
5874
+ if (Z(e)) {
5875
5875
  if (P(e))
5876
5876
  throw Error(`A Token Vocabulary cannot be empty.
5877
5877
  Note that the first argument for the parser constructor
@@ -5881,7 +5881,7 @@ class Ef {
5881
5881
  See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0
5882
5882
  For Further details.`);
5883
5883
  }
5884
- if (Q(e))
5884
+ if (Z(e))
5885
5885
  this.tokensMap = ae(e, (i, a) => (i[a.name] = a, i), {});
5886
5886
  else if (I(e, "modes") && Oe(Ie(W(e.modes)), Rd)) {
5887
5887
  const i = Ie(W(e.modes)), a = ni(i);
@@ -6060,8 +6060,8 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis
6060
6060
  i,
6061
6061
  o,
6062
6062
  s,
6063
- Qi
6064
- ], o, Vs, e, Qi);
6063
+ Zi
6064
+ ], o, Vs, e, Zi);
6065
6065
  }
6066
6066
  }
6067
6067
  repetitionSepSecondInternal(e, t, r, s, i) {
@@ -6080,7 +6080,7 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis
6080
6080
  return e.call(this), this.getLexerPosition() > t;
6081
6081
  }
6082
6082
  orInternal(e, t) {
6083
- const r = this.getKeyForAutomaticLookahead(Go, t), s = Q(e) ? e : e.DEF, a = this.getLaFuncFromCache(r).call(this, s);
6083
+ const r = this.getKeyForAutomaticLookahead(Go, t), s = Z(e) ? e : e.DEF, a = this.getLaFuncFromCache(r).call(this, s);
6084
6084
  if (a !== void 0)
6085
6085
  return s[a].ALT.call(this);
6086
6086
  this.raiseNoAltException(t, e.ERR_MSG);
@@ -6394,7 +6394,7 @@ function Bt(n, e, t, r = false) {
6394
6394
  }
6395
6395
  function xf(n, e) {
6396
6396
  Nr(e);
6397
- const t = Ot(this.recordingProdStack), r = Q(n) === false, s = r === false ? n : n.DEF, i = new pe({
6397
+ const t = Ot(this.recordingProdStack), r = Z(n) === false, s = r === false ? n : n.DEF, i = new pe({
6398
6398
  definition: [],
6399
6399
  idx: e,
6400
6400
  ignoreAmbiguities: r && n.IGNORE_AMBIGUITIES === true
@@ -6504,12 +6504,12 @@ class Mn {
6504
6504
  });
6505
6505
  let r = [];
6506
6506
  if (this.TRACE_INIT("Grammar Resolving", () => {
6507
- r = Zd({
6507
+ r = Qd({
6508
6508
  rules: W(this.gastProductionsCache)
6509
6509
  }), this.definitionErrors = this.definitionErrors.concat(r);
6510
6510
  }), this.TRACE_INIT("Grammar Validations", () => {
6511
6511
  if (P(r) && this.skipValidations === false) {
6512
- const s = Qd({
6512
+ const s = Zd({
6513
6513
  rules: W(this.gastProductionsCache),
6514
6514
  tokenTypes: W(this.tokensMap),
6515
6515
  errMsgProvider: ht,
@@ -6857,7 +6857,7 @@ function Xf(n, e) {
6857
6857
  }, t[s] = i), i;
6858
6858
  };
6859
6859
  }
6860
- class Zo {
6860
+ class Qo {
6861
6861
  constructor() {
6862
6862
  this.predicates = [];
6863
6863
  }
@@ -6875,14 +6875,14 @@ class Zo {
6875
6875
  return e;
6876
6876
  }
6877
6877
  }
6878
- const ua = new Zo();
6878
+ const ua = new Qo();
6879
6879
  class Jf extends gi {
6880
6880
  constructor(e) {
6881
6881
  var t;
6882
6882
  super(), this.logging = (t = e == null ? void 0 : e.logging) !== null && t !== void 0 ? t : ((r) => console.log(r));
6883
6883
  }
6884
6884
  initialize(e) {
6885
- this.atn = Mf(e.rules), this.dfas = Zf(this.atn);
6885
+ this.atn = Mf(e.rules), this.dfas = Qf(this.atn);
6886
6886
  }
6887
6887
  validateAmbiguousAlternationAlternatives() {
6888
6888
  return [];
@@ -6917,7 +6917,7 @@ class Jf extends gi {
6917
6917
  return f[h.tokenTypeIdx];
6918
6918
  };
6919
6919
  } else return s ? function(f) {
6920
- const h = new Zo(), p = f === void 0 ? 0 : f.length;
6920
+ const h = new Qo(), p = f === void 0 ? 0 : f.length;
6921
6921
  for (let v = 0; v < p; v++) {
6922
6922
  const y = f == null ? void 0 : f[v].GATE;
6923
6923
  h.set(v, y === void 0 || y.call(this));
@@ -6980,7 +6980,7 @@ function ca(n, e = true) {
6980
6980
  }
6981
6981
  return true;
6982
6982
  }
6983
- function Zf(n) {
6983
+ function Qf(n) {
6984
6984
  const e = n.decisionStates.length, t = Array(e);
6985
6985
  for (let r = 0; r < e; r++)
6986
6986
  t[r] = Xf(n.decisionStates[r], r);
@@ -6991,11 +6991,11 @@ function ps(n, e, t, r) {
6991
6991
  let i = s.start;
6992
6992
  if (i === void 0) {
6993
6993
  const o = uh(s.atnStartState);
6994
- i = el(s, Qo(o)), s.start = i;
6994
+ i = el(s, Zo(o)), s.start = i;
6995
6995
  }
6996
- return Qf.apply(this, [s, i, t, r]);
6996
+ return Zf.apply(this, [s, i, t, r]);
6997
6997
  }
6998
- function Qf(n, e, t, r) {
6998
+ function Zf(n, e, t, r) {
6999
6999
  let s = e, i = 1;
7000
7000
  const a = [];
7001
7001
  let o = this.LA(i++);
@@ -7012,7 +7012,7 @@ function eh(n, e, t, r, s, i) {
7012
7012
  const a = ah(e.configs, t, s);
7013
7013
  if (a.size === 0)
7014
7014
  return da(n, e, t, Lr), Lr;
7015
- let o = Qo(a);
7015
+ let o = Zo(a);
7016
7016
  const l = lh(a, s);
7017
7017
  if (l !== void 0)
7018
7018
  o.isAcceptState = true, o.prediction = l, o.configs.uniqueAlt = l;
@@ -7117,7 +7117,7 @@ function lh(n, e) {
7117
7117
  }
7118
7118
  return t;
7119
7119
  }
7120
- function Qo(n) {
7120
+ function Zo(n) {
7121
7121
  return {
7122
7122
  configs: n,
7123
7123
  edges: {},
@@ -7563,7 +7563,7 @@ class Th extends sl {
7563
7563
  if (this.isRecording())
7564
7564
  return;
7565
7565
  const e = this.current;
7566
- return Zu(e), this.nodeBuilder.construct(e), this.stack.pop(), ms(e) ? this.converter.convert(e.value, e.$cstNode) : (Qu(this.astReflection, e), e);
7566
+ return Qu(e), this.nodeBuilder.construct(e), this.stack.pop(), ms(e) ? this.converter.convert(e.value, e.$cstNode) : (Zu(this.astReflection, e), e);
7567
7567
  }
7568
7568
  getAssignment(e) {
7569
7569
  if (!this.assignmentMap.has(e)) {
@@ -7741,7 +7741,7 @@ function al(n, e, t) {
7741
7741
  }, n), e;
7742
7742
  }
7743
7743
  function kh(n, e) {
7744
- const t = ro(e, false), r = Z(e.rules).filter(Ne).filter((s) => t.has(s));
7744
+ const t = ro(e, false), r = Q(e.rules).filter(Ne).filter((s) => t.has(s));
7745
7745
  for (const s of r) {
7746
7746
  const i = Object.assign(Object.assign({}, n), { consume: 1, optional: 1, subrule: 1, many: 1, or: 1 });
7747
7747
  n.parser.rule(s, Tt(i, s.definition));
@@ -7761,7 +7761,7 @@ function Tt(n, e, t = false) {
7761
7761
  r = Sh(n, e);
7762
7762
  else if (Ja(e))
7763
7763
  r = xh(n, e);
7764
- else if (Za(e))
7764
+ else if (Qa(e))
7765
7765
  r = Ih(n, e);
7766
7766
  else if (ii(e))
7767
7767
  r = Nh(n, e);
@@ -7978,7 +7978,7 @@ function _h(n, e) {
7978
7978
  {
7979
7979
  let t = e, r = t.$container, s = e.$type;
7980
7980
  for (; !Ne(r); )
7981
- (ii(r) || Ja(r) || Za(r)) && (s = r.elements.indexOf(t).toString() + ":" + s), t = r, r = r.$container;
7981
+ (ii(r) || Ja(r) || Qa(r)) && (s = r.elements.indexOf(t).toString() + ":" + s), t = r, r = r.$container;
7982
7982
  return s = r.name + ":" + s, n.ruleNames.set(e, s), s;
7983
7983
  }
7984
7984
  }
@@ -8005,7 +8005,7 @@ class cl {
8005
8005
  this.diagnostics = [];
8006
8006
  }
8007
8007
  buildTokens(e, t) {
8008
- const r = Z(ro(e, false)), s = this.buildTerminalTokens(r), i = this.buildKeywordTokens(r, s, t);
8008
+ const r = Q(ro(e, false)), s = this.buildTerminalTokens(r), i = this.buildKeywordTokens(r, s, t);
8009
8009
  return s.forEach((a) => {
8010
8010
  const o = a.PATTERN;
8011
8011
  typeof o == "object" && o && "test" in o && Ps(o) ? i.unshift(a) : i.push(a);
@@ -8154,10 +8154,10 @@ var Ve;
8154
8154
  }
8155
8155
  n.convertBoolean = l;
8156
8156
  })(Ve || (Ve = {}));
8157
- var dt = {}, Zn = {}, ha;
8157
+ var dt = {}, Qn = {}, ha;
8158
8158
  function fl() {
8159
- if (ha) return Zn;
8160
- ha = 1, Object.defineProperty(Zn, "__esModule", { value: true });
8159
+ if (ha) return Qn;
8160
+ ha = 1, Object.defineProperty(Qn, "__esModule", { value: true });
8161
8161
  let n;
8162
8162
  function e() {
8163
8163
  if (n === void 0)
@@ -8171,7 +8171,7 @@ function fl() {
8171
8171
  n = s;
8172
8172
  }
8173
8173
  t.install = r;
8174
- })(e || (e = {})), Zn.default = e, Zn;
8174
+ })(e || (e = {})), Qn.default = e, Qn;
8175
8175
  }
8176
8176
  var Y = {}, pa;
8177
8177
  function bh() {
@@ -8356,7 +8356,7 @@ function Gh() {
8356
8356
  return hr = performance.now(), new G.CancellationTokenSource();
8357
8357
  }
8358
8358
  const br = Symbol("OperationCancelled");
8359
- function Zr(n) {
8359
+ function Qr(n) {
8360
8360
  return n === br;
8361
8361
  }
8362
8362
  async function ve(n) {
@@ -8984,7 +8984,7 @@ class Kh {
8984
8984
  this.documentMap = /* @__PURE__ */ new Map(), this.langiumDocumentFactory = e.workspace.LangiumDocumentFactory, this.serviceRegistry = e.ServiceRegistry;
8985
8985
  }
8986
8986
  get all() {
8987
- return Z(this.documentMap.values());
8987
+ return Q(this.documentMap.values());
8988
8988
  }
8989
8989
  addDocument(e) {
8990
8990
  const t = e.uri.toString();
@@ -9173,12 +9173,12 @@ class jh {
9173
9173
  i && r.push(i);
9174
9174
  }
9175
9175
  let s = this.index.findAllReferences(e, this.nodeLocator.getAstNodePath(e));
9176
- return t.documentUri && (s = s.filter((i) => nt.equals(i.sourceUri, t.documentUri))), r.push(...s), Z(r);
9176
+ return t.documentUri && (s = s.filter((i) => nt.equals(i.sourceUri, t.documentUri))), r.push(...s), Q(r);
9177
9177
  }
9178
9178
  getReferenceToSelf(e) {
9179
9179
  const t = this.nameProvider.getNameNode(e);
9180
9180
  if (t) {
9181
- const r = Ze(e), s = this.nodeLocator.getAstNodePath(e);
9181
+ const r = Qe(e), s = this.nodeLocator.getAstNodePath(e);
9182
9182
  return {
9183
9183
  sourceUri: r.uri,
9184
9184
  sourcePath: s,
@@ -9200,7 +9200,7 @@ class Mr {
9200
9200
  * The total number of values in the multimap.
9201
9201
  */
9202
9202
  get size() {
9203
- return ws.sum(Z(this.map.values()).map((e) => e.length));
9203
+ return ws.sum(Q(this.map.values()).map((e) => e.length));
9204
9204
  }
9205
9205
  /**
9206
9206
  * Clear all entries in the multimap.
@@ -9281,25 +9281,25 @@ class Mr {
9281
9281
  * Returns a stream of key, value pairs for every entry in the map.
9282
9282
  */
9283
9283
  entries() {
9284
- return Z(this.map.entries()).flatMap(([e, t]) => t.map((r) => [e, r]));
9284
+ return Q(this.map.entries()).flatMap(([e, t]) => t.map((r) => [e, r]));
9285
9285
  }
9286
9286
  /**
9287
9287
  * Returns a stream of keys in the map.
9288
9288
  */
9289
9289
  keys() {
9290
- return Z(this.map.keys());
9290
+ return Q(this.map.keys());
9291
9291
  }
9292
9292
  /**
9293
9293
  * Returns a stream of values in the map.
9294
9294
  */
9295
9295
  values() {
9296
- return Z(this.map.values()).flat();
9296
+ return Q(this.map.values()).flat();
9297
9297
  }
9298
9298
  /**
9299
9299
  * Returns a stream of key, value set pairs for every key in the map.
9300
9300
  */
9301
9301
  entriesGroupedByKey() {
9302
- return Z(this.map.entries());
9302
+ return Q(this.map.entries());
9303
9303
  }
9304
9304
  }
9305
9305
  class Ta {
@@ -9415,7 +9415,7 @@ class qh {
9415
9415
  return this.outerScope.getElement(e);
9416
9416
  }
9417
9417
  getAllElements() {
9418
- let e = Z(this.elements.values());
9418
+ let e = Q(this.elements.values());
9419
9419
  return this.outerScope && (e = e.concat(this.outerScope.getAllElements())), e;
9420
9420
  }
9421
9421
  }
@@ -9516,17 +9516,17 @@ class Jh extends Yh {
9516
9516
  }));
9517
9517
  }
9518
9518
  }
9519
- class Zh {
9519
+ class Qh {
9520
9520
  constructor(e) {
9521
9521
  this.reflection = e.shared.AstReflection, this.nameProvider = e.references.NameProvider, this.descriptions = e.workspace.AstNodeDescriptionProvider, this.indexManager = e.shared.workspace.IndexManager, this.globalScopeCache = new Jh(e.shared);
9522
9522
  }
9523
9523
  getScope(e) {
9524
- const t = [], r = this.reflection.getReferenceType(e), s = Ze(e.container).precomputedScopes;
9524
+ const t = [], r = this.reflection.getReferenceType(e), s = Qe(e.container).precomputedScopes;
9525
9525
  if (s) {
9526
9526
  let a = e.container;
9527
9527
  do {
9528
9528
  const o = s.get(a);
9529
- o.length > 0 && t.push(Z(o).filter((l) => this.reflection.isSubtype(l.type, r))), a = a.$container;
9529
+ o.length > 0 && t.push(Q(o).filter((l) => this.reflection.isSubtype(l.type, r))), a = a.$container;
9530
9530
  } while (a);
9531
9531
  }
9532
9532
  let i = this.getGlobalScope(r, e);
@@ -9538,14 +9538,14 @@ class Zh {
9538
9538
  * Create a scope for the given collection of AST node descriptions.
9539
9539
  */
9540
9540
  createScope(e, t, r) {
9541
- return new Ra(Z(e), t, r);
9541
+ return new Ra(Q(e), t, r);
9542
9542
  }
9543
9543
  /**
9544
9544
  * Create a scope for the given collection of AST nodes, which need to be transformed into respective
9545
9545
  * descriptions first. This is done using the `NameProvider` and `AstNodeDescriptionProvider` services.
9546
9546
  */
9547
9547
  createScopeForNodes(e, t, r) {
9548
- const s = Z(e).map((i) => {
9548
+ const s = Q(e).map((i) => {
9549
9549
  const a = this.nameProvider.getName(i);
9550
9550
  if (a)
9551
9551
  return this.descriptions.createDescription(i, a);
@@ -9559,7 +9559,7 @@ class Zh {
9559
9559
  return this.globalScopeCache.get(e, () => new qh(this.indexManager.allElements(e)));
9560
9560
  }
9561
9561
  }
9562
- function Qh(n) {
9562
+ function Zh(n) {
9563
9563
  return typeof n.$comment == "string";
9564
9564
  }
9565
9565
  function va(n) {
@@ -9572,7 +9572,7 @@ class ep {
9572
9572
  serialize(e, t) {
9573
9573
  const r = t ?? {}, s = t == null ? void 0 : t.replacer, i = (o, l) => this.replacer(o, l, r), a = s ? (o, l) => s(o, l, i) : i;
9574
9574
  try {
9575
- return this.currentDocument = Ze(e), JSON.stringify(e, a, t == null ? void 0 : t.space);
9575
+ return this.currentDocument = Qe(e), JSON.stringify(e, a, t == null ? void 0 : t.space);
9576
9576
  } finally {
9577
9577
  this.currentDocument = void 0;
9578
9578
  }
@@ -9587,7 +9587,7 @@ class ep {
9587
9587
  if (Ge(t)) {
9588
9588
  const f = t.ref, h = r ? t.$refText : void 0;
9589
9589
  if (f) {
9590
- const p = Ze(f);
9590
+ const p = Qe(f);
9591
9591
  let m = "";
9592
9592
  this.currentDocument && this.currentDocument !== p && (o ? m = o(p.uri, t) : m = p.uri.toString());
9593
9593
  const v = this.astNodeLocator.getAstNodePath(f);
@@ -9779,7 +9779,7 @@ class np {
9779
9779
  try {
9780
9780
  await e();
9781
9781
  } catch (i) {
9782
- if (Zr(i))
9782
+ if (Qr(i))
9783
9783
  throw i;
9784
9784
  console.error(`${t}:`, i), i instanceof Error && i.stack && console.error(i.stack);
9785
9785
  const a = i instanceof Error ? i.message : String(i);
@@ -9795,7 +9795,7 @@ class np {
9795
9795
  this.entries.add(r, t);
9796
9796
  }
9797
9797
  getChecks(e, t) {
9798
- let r = Z(this.entries.get(e)).concat(this.entries.get("AstNode"));
9798
+ let r = Q(this.entries.get(e)).concat(this.entries.get("AstNode"));
9799
9799
  return t && (r = r.filter((s) => t.includes(s.category))), r.map((s) => s.check);
9800
9800
  }
9801
9801
  /**
@@ -9868,7 +9868,7 @@ class rp {
9868
9868
  try {
9869
9869
  i.push(...await this.validateAst(s.value, t, r));
9870
9870
  } catch (a) {
9871
- if (Zr(a))
9871
+ if (Qr(a))
9872
9872
  throw a;
9873
9873
  console.error("An error occurred during validation:", a);
9874
9874
  }
@@ -10033,7 +10033,7 @@ class ap {
10033
10033
  this.astNodeLocator = e.workspace.AstNodeLocator, this.nameProvider = e.references.NameProvider;
10034
10034
  }
10035
10035
  createDescription(e, t, r) {
10036
- const s = r ?? Ze(e);
10036
+ const s = r ?? Qe(e);
10037
10037
  t ?? (t = this.nameProvider.getName(e));
10038
10038
  const i = this.astNodeLocator.getAstNodePath(e);
10039
10039
  if (!t)
@@ -10073,7 +10073,7 @@ class op {
10073
10073
  const t = e.reference.$nodeDescription, r = e.reference.$refNode;
10074
10074
  if (!t || !r)
10075
10075
  return;
10076
- const s = Ze(e.container).uri;
10076
+ const s = Qe(e.container).uri;
10077
10077
  return {
10078
10078
  sourceUri: s,
10079
10079
  sourcePath: this.nodeLocator.getAstNodePath(e.container),
@@ -10234,7 +10234,7 @@ class dp {
10234
10234
  }
10235
10235
  this.buildState.delete(a.toString());
10236
10236
  }
10237
- const s = Z(e).concat(t).map((a) => a.toString()).toSet();
10237
+ const s = Q(e).concat(t).map((a) => a.toString()).toSet();
10238
10238
  this.langiumDocuments.all.filter((a) => !s.has(a.uri.toString()) && this.shouldRelink(a, s)).forEach((a) => {
10239
10239
  this.serviceRegistry.getServices(a.uri).references.Linker.unlink(a), a.state = Math.min(a.state, D.ComputedScopes), a.diagnostics = void 0;
10240
10240
  }), await this.emitUpdate(e, t), await ve(r);
@@ -10370,7 +10370,7 @@ class dp {
10370
10370
  try {
10371
10371
  await a(e, r);
10372
10372
  } catch (o) {
10373
- if (!Zr(o))
10373
+ if (!Qr(o))
10374
10374
  throw o;
10375
10375
  }
10376
10376
  }
@@ -10414,15 +10414,15 @@ class fp {
10414
10414
  this.symbolIndex = /* @__PURE__ */ new Map(), this.symbolByTypeIndex = new Xh(), this.referenceIndex = /* @__PURE__ */ new Map(), this.documents = e.workspace.LangiumDocuments, this.serviceRegistry = e.ServiceRegistry, this.astReflection = e.AstReflection;
10415
10415
  }
10416
10416
  findAllReferences(e, t) {
10417
- const r = Ze(e).uri, s = [];
10417
+ const r = Qe(e).uri, s = [];
10418
10418
  return this.referenceIndex.forEach((i) => {
10419
10419
  i.forEach((a) => {
10420
10420
  nt.equals(a.targetUri, r) && a.targetPath === t && s.push(a);
10421
10421
  });
10422
- }), Z(s);
10422
+ }), Q(s);
10423
10423
  }
10424
10424
  allElements(e, t) {
10425
- let r = Z(this.symbolIndex.keys());
10425
+ let r = Q(this.symbolIndex.keys());
10426
10426
  return t && (r = r.filter((s) => !t || t.has(s))), r.map((s) => this.getFileDescriptions(s, e)).flat();
10427
10427
  }
10428
10428
  getFileDescriptions(e, t) {
@@ -10750,7 +10750,7 @@ function vl(n) {
10750
10750
  const s = [];
10751
10751
  for (; e && e.type !== "break" && e.type !== "tag"; )
10752
10752
  s.push(Np(n)), r = e, e = n.tokens[n.index];
10753
- return new Zs(s, Re.create(t.range.start, r.range.end));
10753
+ return new Qs(s, Re.create(t.range.start, r.range.end));
10754
10754
  }
10755
10755
  function Np(n) {
10756
10756
  return n.tokens[n.index].type === "inline-tag" ? Al(n, true) : El(n);
@@ -10760,14 +10760,14 @@ function Al(n, e) {
10760
10760
  if ((s == null ? void 0 : s.type) === "text")
10761
10761
  if (e) {
10762
10762
  const i = El(n);
10763
- return new Rs(r, new Zs([i], i.range), e, Re.create(t.range.start, i.range.end));
10763
+ return new Rs(r, new Qs([i], i.range), e, Re.create(t.range.start, i.range.end));
10764
10764
  } else {
10765
10765
  const i = vl(n);
10766
10766
  return new Rs(r, i, e, Re.create(t.range.start, i.range.end));
10767
10767
  }
10768
10768
  else {
10769
10769
  const i = t.range;
10770
- return new Rs(r, new Zs([], i), e, i);
10770
+ return new Rs(r, new Qs([], i), e, i);
10771
10771
  }
10772
10772
  }
10773
10773
  function El(n) {
@@ -10878,7 +10878,7 @@ function _p(n, e) {
10878
10878
  return n;
10879
10879
  }
10880
10880
  }
10881
- class Zs {
10881
+ class Qs {
10882
10882
  constructor(e, t) {
10883
10883
  this.inlines = e, this.range = t;
10884
10884
  }
@@ -10943,7 +10943,7 @@ class Lp {
10943
10943
  documentationTagRenderer(e, t) {
10944
10944
  }
10945
10945
  findNameInPrecomputedScopes(e, t) {
10946
- const s = Ze(e).precomputedScopes;
10946
+ const s = Qe(e).precomputedScopes;
10947
10947
  if (!s)
10948
10948
  return;
10949
10949
  let i = e;
@@ -10964,7 +10964,7 @@ class Op {
10964
10964
  }
10965
10965
  getComment(e) {
10966
10966
  var t;
10967
- return Qh(e) ? e.$comment : (t = Ou(e.$cstNode, this.grammarConfig().multilineCommentRules)) === null || t === void 0 ? void 0 : t.text;
10967
+ return Zh(e) ? e.$comment : (t = Ou(e.$cstNode, this.grammarConfig().multilineCommentRules)) === null || t === void 0 ? void 0 : t.text;
10968
10968
  }
10969
10969
  }
10970
10970
  class Pp {
@@ -11010,7 +11010,7 @@ class bp {
11010
11010
  const i = await Promise.resolve().then(() => t(s));
11011
11011
  r.resolve(i);
11012
11012
  } catch (i) {
11013
- Zr(i) ? r.resolve(void 0) : r.reject(i);
11013
+ Qr(i) ? r.resolve(void 0) : r.reject(i);
11014
11014
  }
11015
11015
  })), this.done = true, this.performNextOperation();
11016
11016
  }
@@ -11174,7 +11174,7 @@ function it(n) {
11174
11174
  references: {
11175
11175
  Linker: (e) => new Vh(e),
11176
11176
  NameProvider: () => new Wh(),
11177
- ScopeProvider: (e) => new Zh(e),
11177
+ ScopeProvider: (e) => new Qh(e),
11178
11178
  ScopeComputation: (e) => new zh(e),
11179
11179
  References: (e) => new jh(e)
11180
11180
  },
@@ -11278,7 +11278,7 @@ const ot = {
11278
11278
  languageId: "langium"
11279
11279
  })
11280
11280
  }, Up = {
11281
- AstReflection: () => new Qa()
11281
+ AstReflection: () => new Za()
11282
11282
  };
11283
11283
  function Bp() {
11284
11284
  const n = ie(at(ot), Up), e = ie(it({ shared: n }), Gp);
@@ -11294,7 +11294,7 @@ function Vp(n) {
11294
11294
  return Me.isInstance(n, pr);
11295
11295
  }
11296
11296
  R(Vp, "isArchitecture");
11297
- var Qn = "Axis", En = "Branch";
11297
+ var Zn = "Axis", En = "Branch";
11298
11298
  function Hp(n) {
11299
11299
  return Me.isInstance(n, En);
11300
11300
  }
@@ -11335,18 +11335,18 @@ function Jp(n) {
11335
11335
  }
11336
11336
  R(Jp, "isPie");
11337
11337
  var Rr = "PieSection";
11338
- function Zp(n) {
11338
+ function Qp(n) {
11339
11339
  return Me.isInstance(n, Rr);
11340
11340
  }
11341
- R(Zp, "isPieSection");
11341
+ R(Qp, "isPieSection");
11342
11342
  var xs = "Radar", Is = "Service", vr = "Treemap";
11343
- function Qp(n) {
11343
+ function Zp(n) {
11344
11344
  return Me.isInstance(n, vr);
11345
11345
  }
11346
- R(Qp, "isTreemap");
11346
+ R(Zp, "isTreemap");
11347
11347
  var Ns = "TreemapRow", rr = "Direction", sr = "Leaf", ir = "Section", Sl = (_a2 = class extends Ha {
11348
11348
  getAllTypes() {
11349
- return [pr, Qn, En, er, tr, vs, kn, As, rr, Es, ks, $n, $s, mr, nr, Ss, sr, Sn, Cs, gr, yr, Tr, Rr, xs, ir, Is, Ia, vr, Ns];
11349
+ return [pr, Zn, En, er, tr, vs, kn, As, rr, Es, ks, $n, $s, mr, nr, Ss, sr, Sn, Cs, gr, yr, Tr, Rr, xs, ir, Is, Ia, vr, Ns];
11350
11350
  }
11351
11351
  computeIsSubtype(n, e) {
11352
11352
  switch (n) {
@@ -11369,7 +11369,7 @@ var Ns = "TreemapRow", rr = "Direction", sr = "Leaf", ir = "Section", Sl = (_a2
11369
11369
  const e = `${n.container.$type}:${n.property}`;
11370
11370
  switch (e) {
11371
11371
  case "Entry:axis":
11372
- return Qn;
11372
+ return Zn;
11373
11373
  default:
11374
11374
  throw new Error(`${e} is not a valid reference id.`);
11375
11375
  }
@@ -11389,9 +11389,9 @@ var Ns = "TreemapRow", rr = "Direction", sr = "Leaf", ir = "Section", Sl = (_a2
11389
11389
  { name: "title" }
11390
11390
  ]
11391
11391
  };
11392
- case Qn:
11392
+ case Zn:
11393
11393
  return {
11394
- name: Qn,
11394
+ name: Zn,
11395
11395
  properties: [
11396
11396
  { name: "label" },
11397
11397
  { name: "name" }
@@ -11718,7 +11718,7 @@ var Ns = "TreemapRow", rr = "Direction", sr = "Leaf", ir = "Section", Sl = (_a2
11718
11718
  ACC_DESCR: Am,
11719
11719
  ACC_TITLE: Em,
11720
11720
  TITLE: km
11721
- }, Qr = (_b = class extends dl {
11721
+ }, Zr = (_b = class extends dl {
11722
11722
  runConverter(n, e, t) {
11723
11723
  let r = this.runCommonConverter(n, e, t);
11724
11724
  return r === void 0 && (r = this.runCustomConverter(n, e, t)), r === void 0 ? super.runConverter(n, e, t) : r;
@@ -11736,7 +11736,7 @@ var Ns = "TreemapRow", rr = "Direction", sr = "Leaf", ir = "Section", Sl = (_a2
11736
11736
  `);
11737
11737
  }
11738
11738
  }
11739
- }, R(_b, "AbstractMermaidValueConverter"), _b), es = (_c2 = class extends Qr {
11739
+ }, R(_b, "AbstractMermaidValueConverter"), _b), es = (_c2 = class extends Zr {
11740
11740
  runCustomConverter(n, e, t) {
11741
11741
  }
11742
11742
  }, R(_c2, "CommonValueConverter"), _c2), lt = (_d2 = class extends cl {
@@ -11822,7 +11822,7 @@ var Im = (_i2 = class extends lt {
11822
11822
  constructor() {
11823
11823
  super(["pie", "showData"]);
11824
11824
  }
11825
- }, R(_i2, "PieTokenBuilder"), _i2), Nm = (_j = class extends Qr {
11825
+ }, R(_i2, "PieTokenBuilder"), _i2), Nm = (_j = class extends Zr {
11826
11826
  runCustomConverter(n, e, t) {
11827
11827
  if (n.name === "PIE_SECTION_LABEL")
11828
11828
  return e.replace(/"/g, "").trim();
@@ -11849,7 +11849,7 @@ var wm = (_k = class extends lt {
11849
11849
  constructor() {
11850
11850
  super(["architecture"]);
11851
11851
  }
11852
- }, R(_k, "ArchitectureTokenBuilder"), _k), _m = (_l2 = class extends Qr {
11852
+ }, R(_k, "ArchitectureTokenBuilder"), _k), _m = (_l2 = class extends Zr {
11853
11853
  runCustomConverter(n, e, t) {
11854
11854
  if (n.name === "ARCH_ICON")
11855
11855
  return e.replace(/[()]/g, "").trim();
@@ -11902,7 +11902,7 @@ var Om = (_n2 = class extends lt {
11902
11902
  constructor() {
11903
11903
  super(["treemap"]);
11904
11904
  }
11905
- }, R(_n2, "TreemapTokenBuilder"), _n2), Pm = /classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/, bm = (_o2 = class extends Qr {
11905
+ }, R(_n2, "TreemapTokenBuilder"), _n2), Pm = /classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/, bm = (_o2 = class extends Zr {
11906
11906
  runCustomConverter(n, e, t) {
11907
11907
  if (n.name === "NUMBER2")
11908
11908
  return parseFloat(e.replace(/,/g, ""));