@marimo-team/islands 0.15.2 → 0.15.3

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 (189) hide show
  1. package/dist/{ConnectedDataExplorerComponent-C39nQwtD.js → ConnectedDataExplorerComponent-DfvW3rBn.js} +323 -328
  2. package/dist/{ImageComparisonComponent-BhkiyswP.js → ImageComparisonComponent-XaJshw7d.js} +13 -13
  3. package/dist/{_baseUniq-DdHL34FO.js → _baseUniq-dN9WKF9m.js} +67 -67
  4. package/dist/any-language-editor-CpFniVi-.js +27 -0
  5. package/dist/{arc-BXrety1g.js → arc-BOhn-m2C.js} +1 -1
  6. package/dist/{architectureDiagram-KFL7JDKH-BMy6ywCF.js → architectureDiagram-W76B3OCA-Bpg85ZKv.js} +144 -144
  7. package/dist/assets/{worker-COGufAQn.js → worker-Y-Q4G-N2.js} +30 -26
  8. package/dist/asterisk-DS281yxp.js +271 -0
  9. package/dist/{blockDiagram-ZYB65J3Q-DYT2-nlI.js → blockDiagram-QIGZ2CNN-DS1kOHlW.js} +10 -10
  10. package/dist/{c4Diagram-AAMF2YG6-ZiQzioe6.js → c4Diagram-FPNF74CW-CyRVKssw.js} +8 -8
  11. package/dist/{channel-CeuXqUAU.js → channel-BilGXox7.js} +1 -1
  12. package/dist/{chunk-ANTBXLJU-BvYnIrdq.js → chunk-4BX2VUAB-CZR39zCO.js} +1 -1
  13. package/dist/{chunk-WVR4S24B-DXj8yaUk.js → chunk-55IACEB6-BIH-MYov.js} +1 -1
  14. package/dist/{chunk-GLLZNHP4-CyFsosAe.js → chunk-FMBD7UC4-4PZXFZE8.js} +1 -1
  15. package/dist/{chunk-JBRWN2VN-DA_EEhy2.js → chunk-K7UQS3LO-CEvWKznk.js} +117 -117
  16. package/dist/{chunk-NRVI72HA-BYx2jMlI.js → chunk-QN33PNHL-D5LO5Jq_.js} +1 -1
  17. package/dist/{chunk-FHKO5MBM-DfCztBk8.js → chunk-QZHKN3VN-6gwUonWI.js} +1 -1
  18. package/dist/{chunk-LXBSTHXV-Se7vdY6J.js → chunk-TVAH2DTR-3gm06QdU.js} +7 -7
  19. package/dist/{chunk-OMD6QJNC-CqgcPMgL.js → chunk-TZMSLE5B-Cm8Iy9bO.js} +1 -1
  20. package/dist/{classDiagram-v2-QTMF73CY-B19A3G1l.js → classDiagram-KNZD7YFC-DC529O_z.js} +2 -2
  21. package/dist/{classDiagram-3BZAVTQC-B19A3G1l.js → classDiagram-v2-RKCZMP56-DC529O_z.js} +2 -2
  22. package/dist/{clone-78au0tn1.js → clone-CLoRX3j6.js} +1 -1
  23. package/dist/cose-bilkent-S5V4N54A-qf5DlS6Y.js +2609 -0
  24. package/dist/{cytoscape.esm-BYnVVhJX.js → cytoscape.esm-DfdJODL8.js} +34 -34
  25. package/dist/{dagre-2BBEFEWP-BfEn3ZUV.js → dagre-5GWH7T2D-Ceocls0m.js} +6 -6
  26. package/dist/{data-grid-overlay-editor-CH_qLkV2.js → data-grid-overlay-editor-AqDS_UKe.js} +11 -11
  27. package/dist/{diagram-4IRLE6MV-CL8xidnG.js → diagram-N5W7TBWH-CP66oSiv.js} +59 -60
  28. package/dist/{diagram-RP2FKANI-B1BPcUew.js → diagram-QEK2KX5R-_YD4kxxi.js} +15 -15
  29. package/dist/{diagram-GUPCWM2R-CZ5cfqlq.js → diagram-S2PKOQOG-Cnj8T-OP.js} +10 -10
  30. package/dist/dockerfile-Cm8cRYCN.js +194 -0
  31. package/dist/ebnf-DUPDuY4r.js +78 -0
  32. package/dist/{erDiagram-HZWUO2LU-BEAIww50.js → erDiagram-AWTI2OKA-CGnvoHx6.js} +8 -8
  33. package/dist/fcl-CPC2WYrI.js +103 -0
  34. package/dist/{flowDiagram-THRYKUMA-Czs2UAI2.js → flowDiagram-PVAE7QVJ-DG-pr9R9.js} +9 -9
  35. package/dist/{ganttDiagram-WV7ZQ7D5-ByYIAVFO.js → ganttDiagram-OWAHRB6G-JmChtxvn.js} +34 -34
  36. package/dist/{gitGraphDiagram-OJR772UL-BcpDsiyB.js → gitGraphDiagram-NY62KEGX-D8wLfOPd.js} +4 -4
  37. package/dist/{glide-data-editor-CmN6FVyi.js → glide-data-editor-9nC3iCIZ.js} +33 -33
  38. package/dist/{graph-77W6heli.js → graph-CoRe7vAN.js} +3 -3
  39. package/dist/http-D9LttvKF.js +44 -0
  40. package/dist/{index-Bfk9dnyS.js → index-6qYeHHjQ.js} +33090 -32892
  41. package/dist/{index-BOojn38D.js → index-BpzLh4Qe.js} +7711 -7711
  42. package/dist/{index-CmozKMxx.js → index-BthgsgYX.js} +6 -6
  43. package/dist/{index-pBmAzQJl.js → index-MCx5v1x0.js} +2 -2
  44. package/dist/index-jkm77Jrz.js +98 -0
  45. package/dist/{infoDiagram-6WOFNB3A-CfzLHHVP.js → infoDiagram-STP46IZ2-BlXxvOrR.js} +2 -2
  46. package/dist/{journeyDiagram-FFXJYRFH-ndAcpkGn.js → journeyDiagram-BIP6EPQ6-CNRYs_Fc.js} +24 -26
  47. package/dist/{kanban-definition-KOZQBZVT-DcQYzNvc.js → kanban-definition-6OIFK2YF-B9HeMAuP.js} +14 -14
  48. package/dist/{layout-XySVHJgD.js → layout-m2vOUiW1.js} +81 -81
  49. package/dist/{linear-PbooOqg7.js → linear-DU6Q5CX3.js} +35 -35
  50. package/dist/{main-B5yML0bw.js → main-BD2KGFpU.js} +74594 -68034
  51. package/dist/main.js +1 -1
  52. package/dist/{mermaid-Cg5IX6Nv.js → mermaid-HVCtvbyx.js} +6160 -7493
  53. package/dist/min-DcGMA4e_.js +80 -0
  54. package/dist/mindmap-definition-Q6HEUPPD-BW8UmIDQ.js +785 -0
  55. package/dist/nginx-zDPm3Z74.js +89 -0
  56. package/dist/{number-overlay-editor-DUhfZqtP.js → number-overlay-editor-D8Hl0Syo.js} +19 -19
  57. package/dist/{pieDiagram-DBDJKBY4-DTOlNsja.js → pieDiagram-ADFJNKIX-Bg-3zg5U.js} +17 -17
  58. package/dist/{quadrantDiagram-YPSRARAO-BX2d8VS-.js → quadrantDiagram-LMRXKWRM-BO4IG6Yz.js} +6 -6
  59. package/dist/{react-plotly-Dcyw-3Sa.js → react-plotly-dkvHVuRb.js} +3577 -3577
  60. package/dist/{requirementDiagram-EGVEC5DT-D1T5u-wG.js → requirementDiagram-4UW4RH46-5sdTguSM.js} +7 -7
  61. package/dist/{sankeyDiagram-HRAUVNP4-G6xDfnp-.js → sankeyDiagram-GR3RE2ED-Buhlv9OI.js} +5 -5
  62. package/dist/sequenceDiagram-C3RYC4MD-C3qsM2UP.js +2519 -0
  63. package/dist/{slides-component-BJLlPJSr.js → slides-component-D209A0-s.js} +66 -66
  64. package/dist/solr-BNlsLglM.js +41 -0
  65. package/dist/spreadsheet-C-cy4P5N.js +49 -0
  66. package/dist/{stateDiagram-UUKSUZ4H-CYXbjaom.js → stateDiagram-KXAO66HF-CopJ7G6P.js} +5 -5
  67. package/dist/{stateDiagram-v2-EYPG3UTE-Br1HYKT6.js → stateDiagram-v2-UMBNRL4Z-CejL8AKf.js} +2 -2
  68. package/dist/style.css +1 -1
  69. package/dist/tiddlywiki-5wqsXtSk.js +155 -0
  70. package/dist/tiki-__Kn3CeS.js +181 -0
  71. package/dist/{time-B9SZnSen.js → time-BwSBitlN.js} +58 -58
  72. package/dist/{timeline-definition-3HZDQTIS-DeK_ZRD0.js → timeline-definition-XQNQX7LJ-DzMNTX-C.js} +10 -12
  73. package/dist/{timer-BYwnU4DF.js → timer-B0-z63CM.js} +16 -16
  74. package/dist/{treemap-75Q7IDZK-CKP4vV_0.js → treemap-75Q7IDZK-zeJG07dk.js} +14 -14
  75. package/dist/{vega-component-CpgdqX2d.js → vega-component-CUkiTayd.js} +30 -30
  76. package/dist/{xychartDiagram-FDP5SA34-AMEPsx_R.js → xychartDiagram-6GGTOJPD-DiENNXMS.js} +7 -7
  77. package/package.json +39 -39
  78. package/src/__mocks__/notebook.ts +3 -0
  79. package/src/__mocks__/requests.ts +3 -0
  80. package/src/__tests__/__snapshots__/CellStatus.test.tsx.snap +12 -12
  81. package/src/__tests__/chat-utils.test.ts +26 -211
  82. package/src/components/ai/ai-model-dropdown.tsx +25 -9
  83. package/src/components/app-config/ai-config.tsx +7 -0
  84. package/src/components/chat/chat-components.tsx +71 -0
  85. package/src/components/chat/chat-panel.tsx +481 -291
  86. package/src/components/chat/chat-utils.ts +50 -0
  87. package/src/components/chat/markdown-renderer.tsx +3 -7
  88. package/src/components/chat/tool-call-accordion.tsx +5 -5
  89. package/src/components/datasources/__tests__/utils.test.ts +6 -0
  90. package/src/components/datasources/column-preview.tsx +1 -3
  91. package/src/components/editor/actions/useNotebookActions.tsx +1 -1
  92. package/src/components/editor/ai/add-cell-with-ai.tsx +20 -15
  93. package/src/components/editor/ai/ai-completion-editor.tsx +22 -3
  94. package/src/components/editor/ai/completion-handlers.tsx +2 -4
  95. package/src/components/editor/ai/completion-utils.ts +85 -11
  96. package/src/components/editor/alerts/startup-logs-alert.tsx +72 -0
  97. package/src/components/editor/chrome/panels/datasources-panel.tsx +3 -1
  98. package/src/components/editor/chrome/panels/dependency-graph-panel.tsx +3 -1
  99. package/src/components/editor/chrome/panels/documentation-panel.tsx +3 -1
  100. package/src/components/editor/chrome/panels/error-panel.tsx +3 -1
  101. package/src/components/editor/chrome/panels/file-explorer-panel.tsx +3 -1
  102. package/src/components/editor/chrome/panels/logs-panel.tsx +3 -1
  103. package/src/components/editor/chrome/panels/outline-panel.tsx +3 -1
  104. package/src/components/editor/chrome/panels/packages-panel.tsx +4 -2
  105. package/src/components/editor/chrome/panels/scratchpad-panel.tsx +3 -1
  106. package/src/components/editor/chrome/panels/secrets-panel.tsx +3 -1
  107. package/src/components/editor/chrome/panels/snippets-panel.tsx +3 -1
  108. package/src/components/editor/chrome/panels/tracing-panel.tsx +3 -1
  109. package/src/components/editor/chrome/panels/variable-panel.tsx +3 -1
  110. package/src/components/editor/chrome/wrapper/app-chrome.tsx +38 -28
  111. package/src/components/editor/controls/command-palette-button.tsx +1 -1
  112. package/src/components/editor/controls/command-palette.tsx +5 -4
  113. package/src/components/editor/controls/state.ts +4 -0
  114. package/src/components/editor/package-alert.tsx +108 -58
  115. package/src/components/editor/renderers/CellArray.tsx +2 -0
  116. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +0 -1
  117. package/src/components/pages/edit-page.tsx +7 -3
  118. package/src/core/ai/chat-utils.ts +26 -43
  119. package/src/core/ai/config.ts +1 -1
  120. package/src/core/ai/context/__tests__/registry.test.ts +277 -3
  121. package/src/core/ai/context/context.ts +11 -1
  122. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +378 -0
  123. package/src/core/ai/context/providers/__tests__/error.test.ts +3 -2
  124. package/src/core/ai/context/providers/__tests__/file.test.ts +119 -0
  125. package/src/core/ai/context/providers/cell-output.ts +349 -0
  126. package/src/core/ai/context/providers/common.ts +5 -1
  127. package/src/core/ai/context/providers/file.ts +287 -0
  128. package/src/core/ai/context/registry.ts +79 -0
  129. package/src/core/ai/state.ts +22 -5
  130. package/src/core/alerts/state.ts +71 -3
  131. package/src/core/cells/cell.ts +2 -2
  132. package/src/core/cells/cells.ts +1 -1
  133. package/src/core/cells/logs.ts +1 -1
  134. package/src/core/cells/runs.ts +6 -5
  135. package/src/core/codemirror/ai/resources.ts +47 -5
  136. package/src/core/codemirror/ai/state.ts +12 -0
  137. package/src/core/codemirror/language/__tests__/sql.test.ts +45 -0
  138. package/src/core/codemirror/markdown/__tests__/commands.test.ts +1 -0
  139. package/src/core/codemirror/theme/dark.ts +1 -1
  140. package/src/core/config/capabilities.ts +1 -1
  141. package/src/core/datasets/__tests__/data-source.test.ts +24 -0
  142. package/src/core/errors/__tests__/errors.test.ts +2 -0
  143. package/src/core/islands/bridge.ts +1 -0
  144. package/src/core/islands/main.ts +1 -0
  145. package/src/core/kernel/messages.ts +12 -6
  146. package/src/core/layout/layout.ts +3 -3
  147. package/src/core/network/requests-network.ts +8 -0
  148. package/src/core/network/requests-static.ts +1 -0
  149. package/src/core/network/requests-toasting.ts +1 -0
  150. package/src/core/network/types.ts +4 -1
  151. package/src/core/wasm/bridge.ts +18 -2
  152. package/src/core/wasm/worker/bootstrap.ts +3 -1
  153. package/src/core/wasm/worker/getMarimoWheel.ts +3 -8
  154. package/src/core/wasm/worker/types.ts +3 -0
  155. package/src/core/websocket/useMarimoWebSocket.tsx +7 -1
  156. package/src/css/app/Cell.css +42 -21
  157. package/src/css/app/codemirror.css +5 -1
  158. package/src/css/globals.css +3 -0
  159. package/src/css/md.css +1 -1
  160. package/src/plugins/impl/MicrophonePlugin.tsx +2 -2
  161. package/src/plugins/impl/chat/ChatPlugin.tsx +2 -9
  162. package/src/plugins/impl/chat/chat-ui.tsx +129 -110
  163. package/src/plugins/impl/chat/types.ts +5 -8
  164. package/src/plugins/impl/code/__tests__/language.test.ts +15 -0
  165. package/src/plugins/impl/code/any-language-editor.tsx +11 -8
  166. package/src/plugins/layout/MimeRenderPlugin.tsx +3 -6
  167. package/src/stories/cell.stories.tsx +6 -0
  168. package/src/stories/layout/vertical/one-column.stories.tsx +215 -0
  169. package/src/theme/useTheme.ts +11 -6
  170. package/src/utils/__tests__/blob.test.ts +37 -0
  171. package/src/utils/arrays.ts +13 -0
  172. package/src/utils/fileToBase64.ts +21 -6
  173. package/src/utils/json/base64.ts +5 -2
  174. package/src/utils/numbers.ts +9 -7
  175. package/dist/any-language-editor-DC5170DQ.js +0 -45
  176. package/dist/asn1-jKiBa2Ya.js +0 -95
  177. package/dist/clojure-CCKyeQKf.js +0 -800
  178. package/dist/css-BkF-NPzE.js +0 -1553
  179. package/dist/index-5ZH_qS8j.js +0 -288
  180. package/dist/index-U4yn89qO.js +0 -341
  181. package/dist/javascript-C2yteZeJ.js +0 -691
  182. package/dist/min-DS5Jz-hg.js +0 -80
  183. package/dist/mindmap-definition-LNHGMQRG-0aOVaMR8.js +0 -3234
  184. package/dist/mllike-BSnXJBGA.js +0 -272
  185. package/dist/pug-CwAQJzGR.js +0 -248
  186. package/dist/python-BkR3uSy8.js +0 -313
  187. package/dist/rpm-IznJm2Xc.js +0 -57
  188. package/dist/sequenceDiagram-WFGC7UMF-DMhHzllb.js +0 -2284
  189. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
@@ -1,5 +1,5 @@
1
1
  var dr = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports);
2
- var xn = dr((On, Xe) => {
2
+ var Sn = dr((En, Xe) => {
3
3
  const cr = 1e10, lr = 1e3;
4
4
  function be(t, e) {
5
5
  const r = t.map((n) => `"${n}"`).join(", ");
@@ -234,24 +234,24 @@ var xn = dr((On, Xe) => {
234
234
  if (a.indexOf("@") === 0) var i = /@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(a, ""), o = i[1], d = i[2], l = i[3];
235
235
  return new I({ functionName: n, args: s || void 0, fileName: o, lineNumber: d || void 0, columnNumber: l || void 0 });
236
236
  }, "StackFrame$$fromString");
237
- for (Q = 0; Q < re.length; Q++) I.prototype["get" + W(re[Q])] = Fe(re[Q]), I.prototype["set" + W(re[Q])] = /* @__PURE__ */ function(t) {
237
+ for (Q = 0; Q < re.length; Q++) I.prototype["get" + W(re[Q])] = Fe(re[Q]), I.prototype["set" + W(re[Q])] = /* @__PURE__ */ (function(t) {
238
238
  return function(e) {
239
239
  this[t] = !!e;
240
240
  };
241
- }(re[Q]);
241
+ })(re[Q]);
242
242
  var Q;
243
- for (X = 0; X < ne.length; X++) I.prototype["get" + W(ne[X])] = Fe(ne[X]), I.prototype["set" + W(ne[X])] = /* @__PURE__ */ function(t) {
243
+ for (X = 0; X < ne.length; X++) I.prototype["get" + W(ne[X])] = Fe(ne[X]), I.prototype["set" + W(ne[X])] = /* @__PURE__ */ (function(t) {
244
244
  return function(e) {
245
245
  if (!Ot(e)) throw new TypeError(t + " must be a Number");
246
246
  this[t] = Number(e);
247
247
  };
248
- }(ne[X]);
248
+ })(ne[X]);
249
249
  var X;
250
- for (G = 0; G < se.length; G++) I.prototype["get" + W(se[G])] = Fe(se[G]), I.prototype["set" + W(se[G])] = /* @__PURE__ */ function(t) {
250
+ for (G = 0; G < se.length; G++) I.prototype["get" + W(se[G])] = Fe(se[G]), I.prototype["set" + W(se[G])] = /* @__PURE__ */ (function(t) {
251
251
  return function(e) {
252
252
  this[t] = String(e);
253
253
  };
254
- }(se[G]);
254
+ })(se[G]);
255
255
  var G, Me = I;
256
256
  function Et() {
257
257
  var t = /^\s*at .*(\S+:\d+|\(native\))/m, e = /^(eval@)?(\[native code])?$/;
@@ -538,7 +538,7 @@ var xn = dr((On, Xe) => {
538
538
  if (typeof WasmOffsetConverter < "u") return;
539
539
  let { binary: e, response: r } = Oe(t + "pyodide.asm.wasm");
540
540
  return function(n, s) {
541
- return async function() {
541
+ return (async function() {
542
542
  try {
543
543
  let a;
544
544
  r ? a = await WebAssembly.instantiateStreaming(r, n) : a = await WebAssembly.instantiate(await e, n);
@@ -547,7 +547,7 @@ var xn = dr((On, Xe) => {
547
547
  } catch (a) {
548
548
  console.warn("wasm instantiation failed!"), console.warn(a);
549
549
  }
550
- }(), {};
550
+ })(), {};
551
551
  };
552
552
  }
553
553
  k(Wt, "getInstantiateWasmFunc");
@@ -3536,7 +3536,10 @@ var xn = dr((On, Xe) => {
3536
3536
  });
3537
3537
  });
3538
3538
  }
3539
- class yn {
3539
+ function yn(t) {
3540
+ return "marimo-base";
3541
+ }
3542
+ class gn {
3540
3543
  spans = [];
3541
3544
  startSpan(e, r = {}) {
3542
3545
  const n = {
@@ -3563,7 +3566,7 @@ var xn = dr((On, Xe) => {
3563
3566
  }
3564
3567
  }
3565
3568
  wrapAsync(e, r, n = {}) {
3566
- return async (...s) => {
3569
+ return (async (...s) => {
3567
3570
  const a = this.startSpan(r || e.name, n);
3568
3571
  try {
3569
3572
  const i = await e(...s);
@@ -3571,15 +3574,15 @@ var xn = dr((On, Xe) => {
3571
3574
  } catch (i) {
3572
3575
  throw this.endSpan(a, "error"), i;
3573
3576
  }
3574
- };
3577
+ });
3575
3578
  }
3576
3579
  logSpans() {
3577
3580
  }
3578
3581
  }
3579
- const ie = new yn();
3582
+ const ie = new gn();
3580
3583
  globalThis.t = ie;
3581
- const gn = !1;
3582
- class _n {
3584
+ const _n = !1;
3585
+ class vn {
3583
3586
  pyodide = null;
3584
3587
  get requirePyodide() {
3585
3588
  return er(this.pyodide, "Pyodide not loaded"), this.pyodide;
@@ -3596,13 +3599,14 @@ var xn = dr((On, Xe) => {
3596
3599
  // Perf: These get loaded while pyodide is being bootstrapped
3597
3600
  packages: [
3598
3601
  "micropip",
3599
- "marimo-base",
3602
+ "msgspec",
3603
+ yn(e.version),
3600
3604
  "Markdown",
3601
3605
  "pymdown-extensions",
3602
3606
  "narwhals",
3603
3607
  "packaging"
3604
3608
  ],
3605
- _makeSnapshot: gn,
3609
+ _makeSnapshot: _n,
3606
3610
  lockFileURL: `https://wasm.marimo.app/pyodide-lock.json?v=${e.version}&pyodide=${e.pyodideVersion}`,
3607
3611
  // Without this, this fails in Firefox with
3608
3612
  // `Could not extract indexURL path from pyodide module`
@@ -3691,7 +3695,7 @@ ${e}`;
3691
3695
  }), a.end();
3692
3696
  }
3693
3697
  }
3694
- class vn extends _n {
3698
+ class kn extends vn {
3695
3699
  async bootstrap(e) {
3696
3700
  return await super.bootstrap(e);
3697
3701
  }
@@ -3718,10 +3722,10 @@ ${e}`;
3718
3722
  });
3719
3723
  }
3720
3724
  }
3721
- async function kn() {
3722
- const t = bn(), e = Rr(t);
3725
+ async function wn() {
3726
+ const t = xn(), e = Rr(t);
3723
3727
  try {
3724
- self.controller = new vn(), self.pyodide = await self.controller.bootstrap({
3728
+ self.controller = new kn(), self.pyodide = await self.controller.bootstrap({
3725
3729
  version: t,
3726
3730
  pyodideVersion: e
3727
3731
  });
@@ -3731,11 +3735,11 @@ ${e}`;
3731
3735
  });
3732
3736
  }
3733
3737
  }
3734
- const Te = kn(), sr = new Cr(
3738
+ const Te = wn(), sr = new Cr(
3735
3739
  (t) => {
3736
3740
  fe.send.kernelMessage({ message: t });
3737
3741
  }
3738
- ), xt = new Ir(), wn = {
3742
+ ), xt = new Ir(), bn = {
3739
3743
  /**
3740
3744
  * Start the session
3741
3745
  */
@@ -3788,14 +3792,14 @@ ${t}`)), await self.pyodide.loadPackagesFromImports(t, {
3788
3792
  transport: yr({
3789
3793
  transportId: gr
3790
3794
  }),
3791
- requestHandler: wn
3795
+ requestHandler: bn
3792
3796
  });
3793
3797
  fe.send("ready", {});
3794
3798
  fe.addMessageListener("consumerReady", async () => {
3795
3799
  await Te, sr.start();
3796
3800
  });
3797
- function bn() {
3801
+ function xn() {
3798
3802
  return self.name;
3799
3803
  }
3800
3804
  });
3801
- export default xn();
3805
+ export default Sn();
@@ -0,0 +1,271 @@
1
+ var t = ["exten", "same", "include", "ignorepat", "switch"], o = ["#include", "#exec"], c = [
2
+ "addqueuemember",
3
+ "adsiprog",
4
+ "aelsub",
5
+ "agentlogin",
6
+ "agentmonitoroutgoing",
7
+ "agi",
8
+ "alarmreceiver",
9
+ "amd",
10
+ "answer",
11
+ "authenticate",
12
+ "background",
13
+ "backgrounddetect",
14
+ "bridge",
15
+ "busy",
16
+ "callcompletioncancel",
17
+ "callcompletionrequest",
18
+ "celgenuserevent",
19
+ "changemonitor",
20
+ "chanisavail",
21
+ "channelredirect",
22
+ "chanspy",
23
+ "clearhash",
24
+ "confbridge",
25
+ "congestion",
26
+ "continuewhile",
27
+ "controlplayback",
28
+ "dahdiacceptr2call",
29
+ "dahdibarge",
30
+ "dahdiras",
31
+ "dahdiscan",
32
+ "dahdisendcallreroutingfacility",
33
+ "dahdisendkeypadfacility",
34
+ "datetime",
35
+ "dbdel",
36
+ "dbdeltree",
37
+ "deadagi",
38
+ "dial",
39
+ "dictate",
40
+ "directory",
41
+ "disa",
42
+ "dumpchan",
43
+ "eagi",
44
+ "echo",
45
+ "endwhile",
46
+ "exec",
47
+ "execif",
48
+ "execiftime",
49
+ "exitwhile",
50
+ "extenspy",
51
+ "externalivr",
52
+ "festival",
53
+ "flash",
54
+ "followme",
55
+ "forkcdr",
56
+ "getcpeid",
57
+ "gosub",
58
+ "gosubif",
59
+ "goto",
60
+ "gotoif",
61
+ "gotoiftime",
62
+ "hangup",
63
+ "iax2provision",
64
+ "ices",
65
+ "importvar",
66
+ "incomplete",
67
+ "ivrdemo",
68
+ "jabberjoin",
69
+ "jabberleave",
70
+ "jabbersend",
71
+ "jabbersendgroup",
72
+ "jabberstatus",
73
+ "jack",
74
+ "log",
75
+ "macro",
76
+ "macroexclusive",
77
+ "macroexit",
78
+ "macroif",
79
+ "mailboxexists",
80
+ "meetme",
81
+ "meetmeadmin",
82
+ "meetmechanneladmin",
83
+ "meetmecount",
84
+ "milliwatt",
85
+ "minivmaccmess",
86
+ "minivmdelete",
87
+ "minivmgreet",
88
+ "minivmmwi",
89
+ "minivmnotify",
90
+ "minivmrecord",
91
+ "mixmonitor",
92
+ "monitor",
93
+ "morsecode",
94
+ "mp3player",
95
+ "mset",
96
+ "musiconhold",
97
+ "nbscat",
98
+ "nocdr",
99
+ "noop",
100
+ "odbc",
101
+ "odbc",
102
+ "odbcfinish",
103
+ "originate",
104
+ "ospauth",
105
+ "ospfinish",
106
+ "osplookup",
107
+ "ospnext",
108
+ "page",
109
+ "park",
110
+ "parkandannounce",
111
+ "parkedcall",
112
+ "pausemonitor",
113
+ "pausequeuemember",
114
+ "pickup",
115
+ "pickupchan",
116
+ "playback",
117
+ "playtones",
118
+ "privacymanager",
119
+ "proceeding",
120
+ "progress",
121
+ "queue",
122
+ "queuelog",
123
+ "raiseexception",
124
+ "read",
125
+ "readexten",
126
+ "readfile",
127
+ "receivefax",
128
+ "receivefax",
129
+ "receivefax",
130
+ "record",
131
+ "removequeuemember",
132
+ "resetcdr",
133
+ "retrydial",
134
+ "return",
135
+ "ringing",
136
+ "sayalpha",
137
+ "saycountedadj",
138
+ "saycountednoun",
139
+ "saycountpl",
140
+ "saydigits",
141
+ "saynumber",
142
+ "sayphonetic",
143
+ "sayunixtime",
144
+ "senddtmf",
145
+ "sendfax",
146
+ "sendfax",
147
+ "sendfax",
148
+ "sendimage",
149
+ "sendtext",
150
+ "sendurl",
151
+ "set",
152
+ "setamaflags",
153
+ "setcallerpres",
154
+ "setmusiconhold",
155
+ "sipaddheader",
156
+ "sipdtmfmode",
157
+ "sipremoveheader",
158
+ "skel",
159
+ "slastation",
160
+ "slatrunk",
161
+ "sms",
162
+ "softhangup",
163
+ "speechactivategrammar",
164
+ "speechbackground",
165
+ "speechcreate",
166
+ "speechdeactivategrammar",
167
+ "speechdestroy",
168
+ "speechloadgrammar",
169
+ "speechprocessingsound",
170
+ "speechstart",
171
+ "speechunloadgrammar",
172
+ "stackpop",
173
+ "startmusiconhold",
174
+ "stopmixmonitor",
175
+ "stopmonitor",
176
+ "stopmusiconhold",
177
+ "stopplaytones",
178
+ "system",
179
+ "testclient",
180
+ "testserver",
181
+ "transfer",
182
+ "tryexec",
183
+ "trysystem",
184
+ "unpausemonitor",
185
+ "unpausequeuemember",
186
+ "userevent",
187
+ "verbose",
188
+ "vmauthenticate",
189
+ "vmsayname",
190
+ "voicemail",
191
+ "voicemailmain",
192
+ "wait",
193
+ "waitexten",
194
+ "waitfornoise",
195
+ "waitforring",
196
+ "waitforsilence",
197
+ "waitmusiconhold",
198
+ "waituntil",
199
+ "while",
200
+ "zapateller"
201
+ ];
202
+ function l(e, n) {
203
+ var i = "", a = e.next();
204
+ if (n.blockComment)
205
+ return a == "-" && e.match("-;", true) ? n.blockComment = false : e.skipTo("--;") ? (e.next(), e.next(), e.next(), n.blockComment = false) : e.skipToEnd(), "comment";
206
+ if (a == ";")
207
+ return e.match("--", true) && !e.match("-", false) ? (n.blockComment = true, "comment") : (e.skipToEnd(), "comment");
208
+ if (a == "[")
209
+ return e.skipTo("]"), e.eat("]"), "header";
210
+ if (a == '"')
211
+ return e.skipTo('"'), "string";
212
+ if (a == "'")
213
+ return e.skipTo("'"), "string.special";
214
+ if (a == "#" && (e.eatWhile(/\w/), i = e.current(), o.indexOf(i) !== -1))
215
+ return e.skipToEnd(), "strong";
216
+ if (a == "$") {
217
+ var r = e.peek();
218
+ if (r == "{")
219
+ return e.skipTo("}"), e.eat("}"), "variableName.special";
220
+ }
221
+ if (e.eatWhile(/\w/), i = e.current(), t.indexOf(i) !== -1) {
222
+ switch (n.extenStart = true, i) {
223
+ case "same":
224
+ n.extenSame = true;
225
+ break;
226
+ case "include":
227
+ case "switch":
228
+ case "ignorepat":
229
+ n.extenInclude = true;
230
+ break;
231
+ }
232
+ return "atom";
233
+ }
234
+ }
235
+ const s = {
236
+ name: "asterisk",
237
+ startState: function() {
238
+ return {
239
+ blockComment: false,
240
+ extenStart: false,
241
+ extenSame: false,
242
+ extenInclude: false,
243
+ extenExten: false,
244
+ extenPriority: false,
245
+ extenApplication: false
246
+ };
247
+ },
248
+ token: function(e, n) {
249
+ var i = "";
250
+ if (e.eatSpace()) return null;
251
+ if (n.extenStart)
252
+ return e.eatWhile(/[^\s]/), i = e.current(), /^=>?$/.test(i) ? (n.extenExten = true, n.extenStart = false, "strong") : (n.extenStart = false, e.skipToEnd(), "error");
253
+ if (n.extenExten)
254
+ return n.extenExten = false, n.extenPriority = true, e.eatWhile(/[^,]/), n.extenInclude && (e.skipToEnd(), n.extenPriority = false, n.extenInclude = false), n.extenSame && (n.extenPriority = false, n.extenSame = false, n.extenApplication = true), "tag";
255
+ if (n.extenPriority)
256
+ return n.extenPriority = false, n.extenApplication = true, e.next(), n.extenSame ? null : (e.eatWhile(/[^,]/), "number");
257
+ if (n.extenApplication) {
258
+ if (e.eatWhile(/,/), i = e.current(), i === ",") return null;
259
+ if (e.eatWhile(/\w/), i = e.current().toLowerCase(), n.extenApplication = false, c.indexOf(i) !== -1)
260
+ return "def";
261
+ } else
262
+ return l(e, n);
263
+ return null;
264
+ },
265
+ languageData: {
266
+ commentTokens: { line: ";", block: { open: ";--", close: "--;" } }
267
+ }
268
+ };
269
+ export {
270
+ s as asterisk
271
+ };
@@ -1,11 +1,11 @@
1
1
  var _a, _b;
2
- import { g as oe } from "./chunk-GLLZNHP4-CyFsosAe.js";
3
- import { _ as d, G as rt, d as O, e as he, l as L, z as de, B as ge, c as R, a3 as ue, Q as pe, a4 as j, a5 as Wt, a6 as fe, u as $, k as xe, a7 as ye, a8 as xt, i as yt, a9 as be } from "./mermaid-Cg5IX6Nv.js";
4
- import { c as we } from "./clone-78au0tn1.js";
5
- import { G as me } from "./graph-77W6heli.js";
6
- import { c as Le } from "./channel-CeuXqUAU.js";
7
- import { l as Se, k as ke } from "./timer-BYwnU4DF.js";
8
- var bt = function() {
2
+ import { g as oe } from "./chunk-FMBD7UC4-4PZXFZE8.js";
3
+ import { _ as d, G as rt, d as O, e as he, l as L, z as de, B as ge, c as R, a3 as ue, Q as pe, a4 as j, a5 as Wt, a6 as fe, u as $, k as xe, a7 as ye, a8 as xt, i as yt, a9 as be } from "./mermaid-HVCtvbyx.js";
4
+ import { c as we } from "./clone-CLoRX3j6.js";
5
+ import { G as me } from "./graph-CoRe7vAN.js";
6
+ import { c as Le } from "./channel-BilGXox7.js";
7
+ import { l as Se, k as ke } from "./timer-B0-z63CM.js";
8
+ var bt = (function() {
9
9
  var e = /* @__PURE__ */ d(function(D, y, g, f) {
10
10
  for (g = g || {}, f = D.length; f--; g[D[f]] = y) ;
11
11
  return g;
@@ -192,7 +192,7 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[F] || F) + "'" : ft =
192
192
  }
193
193
  return true;
194
194
  }, "parse")
195
- }, B = /* @__PURE__ */ function() {
195
+ }, B = /* @__PURE__ */ (function() {
196
196
  var D = {
197
197
  EOF: 1,
198
198
  parseError: /* @__PURE__ */ d(function(g, f) {
@@ -596,13 +596,13 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[F] || F) + "'" : ft =
596
596
  conditions: { STYLE_DEFINITION: { rules: [28], inclusive: false }, STYLE_STMNT: { rules: [27], inclusive: false }, CLASSDEFID: { rules: [22], inclusive: false }, CLASSDEF: { rules: [20, 21], inclusive: false }, CLASS_STYLE: { rules: [25], inclusive: false }, CLASS: { rules: [24], inclusive: false }, LLABEL: { rules: [99, 100, 101, 102, 103], inclusive: false }, ARROW_DIR: { rules: [85, 86, 87, 88, 89, 90, 91], inclusive: false }, BLOCK_ARROW: { rules: [76, 81, 84], inclusive: false }, NODE: { rules: [37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 77, 80], inclusive: false }, md_string: { rules: [9, 10, 78, 79], inclusive: false }, space: { rules: [], inclusive: false }, string: { rules: [12, 13, 82, 83], inclusive: false }, acc_descr_multiline: { rules: [34, 35], inclusive: false }, acc_descr: { rules: [32], inclusive: false }, acc_title: { rules: [30], inclusive: false }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 14, 15, 16, 17, 18, 19, 23, 26, 29, 31, 33, 36, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 92, 93, 94, 95, 96, 97, 98, 104], inclusive: true } }
597
597
  };
598
598
  return D;
599
- }();
599
+ })();
600
600
  k.lexer = B;
601
601
  function _() {
602
602
  this.yy = {};
603
603
  }
604
604
  return d(_, "Parser"), _.prototype = k, k.Parser = _, new _();
605
- }();
605
+ })();
606
606
  bt.parser = bt;
607
607
  var ve = bt, X = /* @__PURE__ */ new Map(), kt = [], wt = /* @__PURE__ */ new Map(), Bt = "color", Ct = "fill", Ee = "bgFill", Pt = ",", _e = R(), ct = /* @__PURE__ */ new Map(), De = /* @__PURE__ */ d((e) => xe.sanitizeText(e, _e), "sanitizeText"), Ne = /* @__PURE__ */ d(function(e, t = "") {
608
608
  let a = ct.get(e);
@@ -1,7 +1,7 @@
1
1
  var _a, _b;
2
- import { g as Oe, d as Re } from "./chunk-OMD6QJNC-CqgcPMgL.js";
3
- import { _ as g, s as Se, g as De, a as Pe, b as Be, c as Dt, d as Nt, l as he, e as Ie, f as Me, h as Tt, i as pe, j as Le, w as Ne, k as Jt, m as ue } from "./mermaid-Cg5IX6Nv.js";
4
- var jt = function() {
2
+ import { g as Oe, d as Re } from "./chunk-TZMSLE5B-Cm8Iy9bO.js";
3
+ import { _ as g, s as Se, g as De, a as Pe, b as Be, c as Dt, d as Nt, l as he, e as Ie, f as Me, h as Tt, i as pe, j as Le, w as Ne, k as Jt, m as ue } from "./mermaid-HVCtvbyx.js";
4
+ var jt = (function() {
5
5
  var e = /* @__PURE__ */ g(function(_t, x, m, v) {
6
6
  for (m = m || {}, v = _t.length; v--; m[_t[v]] = x) ;
7
7
  return m;
@@ -260,7 +260,7 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : Kt =
260
260
  }
261
261
  return true;
262
262
  }, "parse")
263
- }, ke = /* @__PURE__ */ function() {
263
+ }, ke = /* @__PURE__ */ (function() {
264
264
  var _t = {
265
265
  EOF: 1,
266
266
  parseError: /* @__PURE__ */ g(function(m, v) {
@@ -620,13 +620,13 @@ Expecting ` + Lt.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : Kt =
620
620
  conditions: { acc_descr_multiline: { rules: [11, 12], inclusive: false }, acc_descr: { rules: [9], inclusive: false }, acc_title: { rules: [7], inclusive: false }, string_kv_value: { rules: [78, 79], inclusive: false }, string_kv_key: { rules: [77], inclusive: false }, string_kv: { rules: [76], inclusive: false }, string: { rules: [73, 74], inclusive: false }, attribute: { rules: [68, 69, 70, 71, 72, 75, 80], inclusive: false }, update_layout_config: { rules: [65, 66, 67, 68], inclusive: false }, update_rel_style: { rules: [65, 66, 67, 68], inclusive: false }, update_el_style: { rules: [65, 66, 67, 68], inclusive: false }, rel_b: { rules: [65, 66, 67, 68], inclusive: false }, rel_r: { rules: [65, 66, 67, 68], inclusive: false }, rel_l: { rules: [65, 66, 67, 68], inclusive: false }, rel_d: { rules: [65, 66, 67, 68], inclusive: false }, rel_u: { rules: [65, 66, 67, 68], inclusive: false }, rel_bi: { rules: [], inclusive: false }, rel: { rules: [65, 66, 67, 68], inclusive: false }, node_r: { rules: [65, 66, 67, 68], inclusive: false }, node_l: { rules: [65, 66, 67, 68], inclusive: false }, node: { rules: [65, 66, 67, 68], inclusive: false }, index: { rules: [], inclusive: false }, rel_index: { rules: [65, 66, 67, 68], inclusive: false }, component_ext_queue: { rules: [], inclusive: false }, component_ext_db: { rules: [65, 66, 67, 68], inclusive: false }, component_ext: { rules: [65, 66, 67, 68], inclusive: false }, component_queue: { rules: [65, 66, 67, 68], inclusive: false }, component_db: { rules: [65, 66, 67, 68], inclusive: false }, component: { rules: [65, 66, 67, 68], inclusive: false }, container_boundary: { rules: [65, 66, 67, 68], inclusive: false }, container_ext_queue: { rules: [65, 66, 67, 68], inclusive: false }, container_ext_db: { rules: [65, 66, 67, 68], inclusive: false }, container_ext: { rules: [65, 66, 67, 68], inclusive: false }, container_queue: { rules: [65, 66, 67, 68], inclusive: false }, container_db: { rules: [65, 66, 67, 68], inclusive: false }, container: { rules: [65, 66, 67, 68], inclusive: false }, birel: { rules: [65, 66, 67, 68], inclusive: false }, system_boundary: { rules: [65, 66, 67, 68], inclusive: false }, enterprise_boundary: { rules: [65, 66, 67, 68], inclusive: false }, boundary: { rules: [65, 66, 67, 68], inclusive: false }, system_ext_queue: { rules: [65, 66, 67, 68], inclusive: false }, system_ext_db: { rules: [65, 66, 67, 68], inclusive: false }, system_ext: { rules: [65, 66, 67, 68], inclusive: false }, system_queue: { rules: [65, 66, 67, 68], inclusive: false }, system_db: { rules: [65, 66, 67, 68], inclusive: false }, system: { rules: [65, 66, 67, 68], inclusive: false }, person_ext: { rules: [65, 66, 67, 68], inclusive: false }, person: { rules: [65, 66, 67, 68], inclusive: false }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 81, 82, 83, 84, 85], inclusive: true } }
621
621
  };
622
622
  return _t;
623
- }();
623
+ })();
624
624
  Qt.lexer = ke;
625
625
  function It() {
626
626
  this.yy = {};
627
627
  }
628
628
  return g(It, "Parser"), It.prototype = Qt, Qt.Parser = It, new It();
629
- }();
629
+ })();
630
630
  jt.parser = jt;
631
631
  var Ye = jt, V = [], xt = [""], B = "global", F = "", X = [
632
632
  {
@@ -1284,7 +1284,7 @@ var Ye = jt, V = [], xt = [""], B = "global", F = "", X = [
1284
1284
  fontFamily: e[t + "FontFamily"],
1285
1285
  fontSize: e[t + "FontSize"],
1286
1286
  fontWeight: e[t + "FontWeight"]
1287
- }), "getC4ShapeFont"), Q = /* @__PURE__ */ function() {
1287
+ }), "getC4ShapeFont"), Q = /* @__PURE__ */ (function() {
1288
1288
  function e(l, a, r, n, i, u, d) {
1289
1289
  const y = a.append("text").attr("x", r + i / 2).attr("y", n + u / 2 + 5).style("text-anchor", "middle").text(l);
1290
1290
  o(y, d);
@@ -1310,7 +1310,7 @@ var Ye = jt, V = [], xt = [""], B = "global", F = "", X = [
1310
1310
  return g(o, "_setTextAttrs"), function(l) {
1311
1311
  return l.textPlacement === "fo" ? s : l.textPlacement === "old" ? e : t;
1312
1312
  };
1313
- }(), z = {
1313
+ })(), z = {
1314
1314
  drawRect: ie,
1315
1315
  drawBoundary: p0,
1316
1316
  drawC4Shape: y0,
@@ -1,4 +1,4 @@
1
- import { U as a, C as n } from "./mermaid-Cg5IX6Nv.js";
1
+ import { U as a, C as n } from "./mermaid-HVCtvbyx.js";
2
2
  const t = (r, o) => a.lang.round(n.parse(r)[o]);
3
3
  export {
4
4
  t as c
@@ -1,4 +1,4 @@
1
- import { _ as i } from "./mermaid-Cg5IX6Nv.js";
1
+ import { _ as i } from "./mermaid-HVCtvbyx.js";
2
2
  function t(c, e) {
3
3
  var _a, _b, _c;
4
4
  c.accDescr && ((_a = e.setAccDescription) == null ? void 0 : _a.call(e, c.accDescr)), c.accTitle && ((_b = e.setAccTitle) == null ? void 0 : _b.call(e, c.accTitle)), c.title && ((_c = e.setDiagramTitle) == null ? void 0 : _c.call(e, c.title));
@@ -1,4 +1,4 @@
1
- import { _ as a, d as o } from "./mermaid-Cg5IX6Nv.js";
1
+ import { _ as a, d as o } from "./mermaid-HVCtvbyx.js";
2
2
  var d = /* @__PURE__ */ a((t, e) => {
3
3
  let n;
4
4
  return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./mermaid-Cg5IX6Nv.js";
1
+ import { _ as e } from "./mermaid-HVCtvbyx.js";
2
2
  var l = /* @__PURE__ */ e(() => `
3
3
  /* Font Awesome icon styling - consolidated */
4
4
  .label-icon {