@marimo-team/islands 0.25.1-dev2 → 0.25.1-dev20
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.
- package/dist/{ConnectedDataExplorerComponent-KVhjDMSe.js → ConnectedDataExplorerComponent-CwMXfDQR.js} +3 -3
- package/dist/{ErrorBoundary-DO0ie20N.js → ErrorBoundary-BU3l6Hi2.js} +1 -1
- package/dist/{abnfDiagram-VCTEODGH-CpN0FRda.js → abnfDiagram-VCTEODGH-AFhOQTt8.js} +3 -3
- package/dist/{architectureDiagram-5GKGNRK7-DDyj5SRB.js → architectureDiagram-5GKGNRK7-BngksAAQ.js} +5 -5
- package/dist/{blockDiagram-I7D4REHJ-BbXEXJRu.js → blockDiagram-I7D4REHJ-CvBmppdy.js} +9 -9
- package/dist/{c4Diagram-7LVT6UL2-DcLsbQmR.js → c4Diagram-7LVT6UL2-EceL4_jH.js} +7 -7
- package/dist/{cells-DYIkSxs6.js → cells-Cksce8br.js} +4123 -4150
- package/dist/{channel-B5XnTarr.js → channel-z7HZXHwv.js} +1 -1
- package/dist/{chat-ui-BXj3uYjy.js → chat-ui-ruucqBTA.js} +45 -45
- package/dist/{chunk-4HAMMTFA-D2qv8E0X.js → chunk-4HAMMTFA-BPTTOOC5.js} +5 -5
- package/dist/{chunk-75Z2AOVW-5_HsvXwr.js → chunk-75Z2AOVW-C4AOleKf.js} +1 -1
- package/dist/{chunk-DU6HZSFF-BUgAHvnM.js → chunk-DU6HZSFF-1TwWR6gh.js} +1 -1
- package/dist/{chunk-F27PBJKO-DHmYWZXr.js → chunk-F27PBJKO-DMI1PBe4.js} +1 -1
- package/dist/{chunk-GMAD6QVW-Czynz8aA.js → chunk-GMAD6QVW-vStrMz2P.js} +3 -3
- package/dist/{chunk-GVQU2GXP-yQEdulRS.js → chunk-GVQU2GXP-2HwWgs4u.js} +2 -2
- package/dist/{chunk-IMKFNOWR-BfwTebD0.js → chunk-IMKFNOWR-UOVZuZVn.js} +5 -5
- package/dist/{chunk-L3NEJ4N5-DwRWnDDK.js → chunk-L3NEJ4N5-RhC7i0I2.js} +5 -5
- package/dist/{chunk-OSK3NFVY-BBKU_Ign.js → chunk-OSK3NFVY-CZV09N-U.js} +6 -6
- package/dist/{chunk-P2QGCYS3-C0iGU29N.js → chunk-P2QGCYS3-0TAWai9C.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-BCbS3Ozc.js → chunk-POPQ4Y6H-Cc3_56GX.js} +1 -1
- package/dist/{chunk-PWAF6VOD-CTFCL0jI.js → chunk-PWAF6VOD-lNxB9k8z.js} +1 -1
- package/dist/{chunk-SHT3W25Y-BspJEJ5H.js → chunk-SHT3W25Y-CrEPyWy1.js} +7 -7
- package/dist/{chunk-SVP7TREG-DX3rFNTe.js → chunk-SVP7TREG-uIyyySp6.js} +2 -2
- package/dist/{chunk-TICWLB2K-fVF7Uujg.js → chunk-TICWLB2K-DdXM3eg6.js} +5 -5
- package/dist/classDiagram-ZZMXUADV-BiATbBE4.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-JnH97GYw.js +30 -0
- package/dist/{code-visibility-64_ACQvC.js → code-visibility-DDDujOI0.js} +17 -17
- package/dist/{common-LlPE7GR6.js → common-BkYqr2IQ.js} +620 -620
- package/dist/{cynefinDiagram-5FMLGOSQ-CFQrqzSX.js → cynefinDiagram-5FMLGOSQ-zknaAsGy.js} +3 -3
- package/dist/{dagre-GXQ25YYZ-xHNAUTyG.js → dagre-GXQ25YYZ-BhMOoMGJ.js} +10 -10
- package/dist/{data-grid-overlay-editor-BUvmnptP.js → data-grid-overlay-editor-3APq_6Z0.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-Bt1rPbAx.js → diagram-S7CK7UJ4-V5-Z-EDY.js} +4 -4
- package/dist/{diagram-UQ7AKVKN-D1sq5FoZ.js → diagram-UQ7AKVKN-qw8AjDal.js} +3 -3
- package/dist/{diagram-VSXAHHWV-BKpmG23x.js → diagram-VSXAHHWV-CR7BJygZ.js} +2 -2
- package/dist/{diagram-VX7I27RA-BMwGFVD6.js → diagram-VX7I27RA-DfuqFb1E.js} +5 -5
- package/dist/{diagram-Z3DM3KII--KLDR9Pl.js → diagram-Z3DM3KII-DpWwlYZB.js} +3 -3
- package/dist/{dist-BaHjhkpZ.js → dist-CcyKTBTF.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-WnG4cvSQ.js → ebnfDiagram-PWID7BFC-C20OnNMZ.js} +3 -3
- package/dist/{erDiagram-RLTQ6QDP-DhzKiYHc.js → erDiagram-RLTQ6QDP-DBXLWO9v.js} +12 -12
- package/dist/{error-entries-C0NsUqXl.js → error-entries-CvCFdpY2.js} +18 -18
- package/dist/{feedback-button-B98mEc3M.js → feedback-button-DWSXRUAw.js} +19 -19
- package/dist/flowDiagram-HODETNUW-DL52nMkt.js +16 -0
- package/dist/{formats-BR5iGb4s.js → formats-Cl_67ghI.js} +2 -2
- package/dist/{ganttDiagram-EL5Y4UJY-DbzEBLbl.js → ganttDiagram-EL5Y4UJY-cRRaDt88.js} +2 -2
- package/dist/{gitGraphDiagram-WWUBYQGX-BMf0iKi1.js → gitGraphDiagram-WWUBYQGX-Pox5k9-Y.js} +2 -2
- package/dist/{glide-data-editor-CBIPbkXG.js → glide-data-editor-DGmuodBB.js} +3 -3
- package/dist/{globals-VpAtGRbg.js → globals-ciicQhoq.js} +1 -1
- package/dist/{html-to-image-CeYYvQNb.js → html-to-image-CcfkLMrx.js} +32 -31
- package/dist/{infoDiagram-27XIBGKW-BagtCX_5.js → infoDiagram-27XIBGKW-ntpxMfrq.js} +2 -2
- package/dist/{ishikawaDiagram-5VMMS53U-DByDehYy.js → ishikawaDiagram-5VMMS53U-BllIlHE5.js} +3 -3
- package/dist/{journeyDiagram-3NMN7TZE-D2LcKDUO.js → journeyDiagram-3NMN7TZE-EPJDPlt0.js} +2 -2
- package/dist/{kanban-definition-UXKFOSKX-BxwkbBI_.js → kanban-definition-UXKFOSKX-GYtNMjtS.js} +9 -9
- package/dist/{katex-C6D4cX_N.js → katex-BNCmKUol.js} +983 -1120
- package/dist/{loader-D2W4oM-3.js → loader-DEZSzvma.js} +253 -248
- package/dist/main.js +622 -620
- package/dist/{mermaid-DPNuhemn.js → mermaid-Dnzoxjt1.js} +49 -49
- package/dist/{mhchem-DWCF06w9.js → mhchem-BEc7A1or.js} +1 -1
- package/dist/{mindmap-definition-YA3MSWOX-Cgvojw3y.js → mindmap-definition-YA3MSWOX-Cth76xgH.js} +11 -11
- package/dist/{number-overlay-editor-ClZmv3Qw.js → number-overlay-editor-CcdYLWWR.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-DahHhYyN.js → pegDiagram-XKGWAZYB-Cu4uOXii.js} +3 -3
- package/dist/{pieDiagram-E7YTZNPT-CCtX0oCK.js → pieDiagram-E7YTZNPT-Bh3eDa9s.js} +3 -3
- package/dist/{process-output-BCTjlyuH.js → process-output-C6apL85F.js} +2 -2
- package/dist/{quadrantDiagram-AXDQQJYC-DftINo6g.js → quadrantDiagram-AXDQQJYC--kqzFC3w.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-Du5NsPUb.js → railroadDiagram-O6MQD6OU-DG-M6Rnc.js} +3 -3
- package/dist/{react-vega-5AcMW8gG.js → react-vega-ewj7q_U5.js} +1 -1
- package/dist/{requirementDiagram-BXWQKSXE-0pmmxL6_.js → requirementDiagram-BXWQKSXE-DCwsThh0.js} +11 -11
- package/dist/{reveal-component-C1s_K6O8.js → reveal-component-DUPORxps.js} +744 -743
- package/dist/{sankeyDiagram-P5KCCOFB-CDKR5TJH.js → sankeyDiagram-P5KCCOFB-BdzhT0BM.js} +1 -1
- package/dist/{sequenceDiagram-WJ2MYXX4-DB-ChWwU.js → sequenceDiagram-WJ2MYXX4-CbXB1_PU.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-orN6AwMx.js → stateDiagram-D77RDMKH-A-Zf3Sb2.js} +13 -13
- package/dist/stateDiagram-v2-MP3YSRHH-D9YMnUGx.js +30 -0
- package/dist/style.css +1 -1
- package/dist/{swimlanes-42K2YHIH-BkSDcqDT.js → swimlanes-42K2YHIH-B_pMf0J4.js} +10 -10
- package/dist/swimlanesDiagram-VR7AAH4N-Ctgy-yGP.js +30 -0
- package/dist/{timeline-definition-24CTP7MA-BuqJUIRZ.js → timeline-definition-24CTP7MA-DTXFjTTM.js} +3 -3
- package/dist/{toDate-WXg1yLcI.js → toDate-C67bxMWn.js} +139 -111
- package/dist/{vega-component-D0QXopU8.js → vega-component-tFOzgarw.js} +12 -12
- package/dist/{vega-embed-container-CbnTccZi.js → vega-embed-container-sSR5hAsy.js} +2 -2
- package/dist/{vega-loader.browser-D95WfUcj.js → vega-loader.browser-DNST6uVf.js} +2 -2
- package/dist/{vennDiagram-4TSXK5OY-CTUlJ2PK.js → vennDiagram-4TSXK5OY-BPHjZo0R.js} +3 -3
- package/dist/{wardleyDiagram-VM6X3IG4-3evLUb0M.js → wardleyDiagram-VM6X3IG4-6fTLYBuD.js} +3 -3
- package/dist/{xychartDiagram-S5SC5T6Z-DL2E3K8-.js → xychartDiagram-S5SC5T6Z-BYjwjrzE.js} +5 -5
- package/package.json +1 -2
- package/src/components/data-table/charts/__tests__/chart-panel.test.tsx +286 -0
- package/src/components/data-table/charts/charts.tsx +26 -13
- package/src/components/editor/chrome/components/contribute-snippet-button.tsx +6 -1
- package/src/components/editor/notebook-cell.tsx +2 -2
- package/src/components/editor/output/MarimoTracebackOutput.tsx +1 -1
- package/src/components/editor/output/VideoOutput.tsx +1 -1
- package/src/components/editor/output/ansi-reduce.ts +8 -4
- package/src/components/editor/output/console/text-rendering.tsx +3 -1
- package/src/components/home/components.tsx +1 -0
- package/src/components/pages/run-page.tsx +1 -0
- package/src/components/static-html/share-modal.tsx +2 -1
- package/src/components/static-html/static-banner.tsx +2 -2
- package/src/components/ui/links.tsx +6 -1
- package/src/components/ui/typography.tsx +16 -8
- package/src/core/kernel/__tests__/session.test.ts +110 -1
- package/src/core/kernel/session.ts +46 -15
- package/src/css/globals.css +18 -21
- package/src/css/katex.min.css +260 -241
- package/src/plugins/impl/vega/__tests__/utils.test.ts +16 -1
- package/src/plugins/impl/vega/__tests__/vega.test.ts +37 -0
- package/src/plugins/impl/vega/loader.ts +23 -1
- package/src/plugins/impl/vega/utils.ts +5 -4
- package/src/plugins/layout/RoutesPlugin.tsx +4 -6
- package/dist/classDiagram-ZZMXUADV-Fe-V14Sc.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-xTDg7lOs.js +0 -30
- package/dist/flowDiagram-HODETNUW-6dMdB8pR.js +0 -16
- package/dist/katex-DFBiSucW.js +0 -21840
- package/dist/stateDiagram-v2-MP3YSRHH-o05_rJN8.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-D_nFQfRc.js +0 -30
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as e, it as t } from "./chunk-DU6HZSFF-
|
|
1
|
+
import { at as e, it as t } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
2
2
|
//#region ../node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.js
|
|
3
3
|
var n = (n, r) => e.lang.round(t.parse(n)[r]);
|
|
4
4
|
//#endregion
|
|
@@ -3,13 +3,13 @@ import { c as n, g as r, h as i, t as a } from "./button-DdXAm8iz.js";
|
|
|
3
3
|
import { t as o } from "./react-ofJbxM4x.js";
|
|
4
4
|
import { t as s } from "./compiler-runtime-Cj8ZWiNS.js";
|
|
5
5
|
import { i as c, t as l } from "./copy-icon-CLdENY__.js";
|
|
6
|
-
import { F as u, H as d, U as f, V as p, X as m, Y as h, Z as g, _, a as v, c as y, d as b, f as x, g as S, h as C, l as w, m as T, n as E, p as D, r as O, t as k, v as A, x as ee, y as te, z as ne } from "./html-to-image-
|
|
6
|
+
import { F as u, H as d, U as f, V as p, X as m, Y as h, Z as g, _, a as v, c as y, d as b, f as x, g as S, h as C, l as w, m as T, n as E, p as D, r as O, t as k, v as A, x as ee, y as te, z as ne } from "./html-to-image-CcfkLMrx.js";
|
|
7
7
|
import { g as j, t as re } from "./tooltip-qB8NlSqV.js";
|
|
8
|
-
import {
|
|
8
|
+
import { $ as ie, $t as ae, It as oe, K as se, Mt as ce, N as le, St as ue, Vt as de, X as fe, _t as pe, b as me, cn as he, d as ge, it as _e, pn as ve, rt as ye, sn as be, un as xe, ut as Se, vt as Ce, yt as we } from "./cells-Cksce8br.js";
|
|
9
9
|
import { A as Te, C as Ee, M as De, b as Oe } from "./select-C6plhmZr.js";
|
|
10
10
|
import { _ as ke, f as Ae, h as je, i as Me, n as Ne, t as Pe } from "./dropdown-menu-CZgjYSAh.js";
|
|
11
|
-
import {
|
|
12
|
-
import { d as Le, f as Re, i as ze, n as Be, t as Ve, u as He } from "./process-output-
|
|
11
|
+
import { T as Fe, p as Ie } from "./toDate-C67bxMWn.js";
|
|
12
|
+
import { d as Le, f as Re, i as ze, n as Be, t as Ve, u as He } from "./process-output-C6apL85F.js";
|
|
13
13
|
import { t as Ue } from "./jsx-runtime-DgDPJV9S.js";
|
|
14
14
|
import { A as We, C as Ge, D as Ke, E as qe, F as Je, L as Ye, M as Xe, O as Ze, P as Qe, R as $e, S as et, T as tt, V as nt, b as rt, j as it, v as at, w as ot, x as st, y as ct, z as lt } from "./use-restore-focus-D5D9xEjZ.js";
|
|
15
15
|
import { n as ut } from "./error-banner-B94dcDmP.js";
|
|
@@ -22,7 +22,7 @@ import { n as kt, o as At, r as jt } from "./dist-B1vYLK28.js";
|
|
|
22
22
|
import { n as Mt } from "./dist-BRxfaJgs.js";
|
|
23
23
|
import { n as Nt, t as Pt } from "./esm-h8f7-1CJ.js";
|
|
24
24
|
import { t as Ft } from "./useAsyncData-BD6AStMt.js";
|
|
25
|
-
import { i as It, r as Lt, t as Rt } from "./error-entries-
|
|
25
|
+
import { i as It, r as Lt, t as Rt } from "./error-entries-CvCFdpY2.js";
|
|
26
26
|
var zt = j("ban", [["circle", {
|
|
27
27
|
cx: "12",
|
|
28
28
|
cy: "12",
|
|
@@ -3383,7 +3383,7 @@ var Ea = class extends T {
|
|
|
3383
3383
|
super(), this.store = e;
|
|
3384
3384
|
}
|
|
3385
3385
|
getItems() {
|
|
3386
|
-
let e = this.store.get(
|
|
3386
|
+
let e = this.store.get(ge), t = [];
|
|
3387
3387
|
for (let n of e.cellIds.inOrderIds) {
|
|
3388
3388
|
let r = ka(n, e), i = r.cellOutput;
|
|
3389
3389
|
if (!i) continue;
|
|
@@ -3461,7 +3461,7 @@ async function Da(e, t, n) {
|
|
|
3461
3461
|
let i = e.filter((e) => e.shouldDownloadImage && e.outputType === "media");
|
|
3462
3462
|
if (i.length === 0) return [];
|
|
3463
3463
|
let a = i.flatMap((e) => {
|
|
3464
|
-
let i = document.getElementById(
|
|
3464
|
+
let i = document.getElementById(de.create(t));
|
|
3465
3465
|
return i ? {
|
|
3466
3466
|
cellId: t,
|
|
3467
3467
|
cellName: n,
|
|
@@ -3492,7 +3492,7 @@ function Oa(e) {
|
|
|
3492
3492
|
};
|
|
3493
3493
|
}
|
|
3494
3494
|
function ka(e, t, n) {
|
|
3495
|
-
let { includeConsoleOutput: r = !1 } = n || {}, i = t.cellRuntime[e], a = t.cellData[e], o = t.cellIds.inOrderIds.indexOf(e), s =
|
|
3495
|
+
let { includeConsoleOutput: r = !1 } = n || {}, i = t.cellRuntime[e], a = t.cellData[e], o = t.cellIds.inOrderIds.indexOf(e), s = le(a.name, o), c;
|
|
3496
3496
|
r && (c = i.consoleOutputs.map((e) => Oa(e)).filter((e) => e !== null));
|
|
3497
3497
|
let l, u = i.output;
|
|
3498
3498
|
return u && !v(u) && (l = Oa(u) ?? void 0), {
|
|
@@ -3507,7 +3507,7 @@ function ka(e, t, n) {
|
|
|
3507
3507
|
//#region src/core/ai/context/providers/error.ts
|
|
3508
3508
|
function Aa(e, t) {
|
|
3509
3509
|
let n = [`Code:\n${e.cellCode}`];
|
|
3510
|
-
if (e.tracebackHtml && n.push(`Traceback:\n${
|
|
3510
|
+
if (e.tracebackHtml && n.push(`Traceback:\n${me(e.tracebackHtml)}`), e.errorData.length > 0 && n.push(e.errorData.map((e) => Lt(e)).join("\n\n")), e.errorData.some((e) => e.type === "sql-error")) {
|
|
3511
3511
|
let r = w(e.cellId, t);
|
|
3512
3512
|
r && n.push(`Database schema:\n${r}`);
|
|
3513
3513
|
}
|
|
@@ -3524,12 +3524,12 @@ function ja(e, t) {
|
|
|
3524
3524
|
});
|
|
3525
3525
|
}
|
|
3526
3526
|
function Ma(e) {
|
|
3527
|
-
return e.errorData.length === 1 ? Rt(e.errorData[0]) : e.errorData.length > 1 ? `${e.errorData.length} errors` : e.tracebackHtml ?
|
|
3527
|
+
return e.errorData.length === 1 ? Rt(e.errorData[0]) : e.errorData.length > 1 ? `${e.errorData.length} errors` : e.tracebackHtml ? me(e.tracebackHtml).trim().split("\n").find((e) => e.trim())?.trim() || "traceback" : "error";
|
|
3528
3528
|
}
|
|
3529
3529
|
function Na(e) {
|
|
3530
3530
|
return `Error: ${e.cellName || `Cell ${e.cellId}`}`;
|
|
3531
3531
|
}
|
|
3532
|
-
var Pa = new
|
|
3532
|
+
var Pa = new Se("error", "errors"), Fa = class extends T {
|
|
3533
3533
|
title = "Errors";
|
|
3534
3534
|
mentionPrefix = "@";
|
|
3535
3535
|
contextType = "error";
|
|
@@ -3603,7 +3603,7 @@ var Pa = new _e("error", "errors"), Fa = class extends T {
|
|
|
3603
3603
|
formatContext(e) {
|
|
3604
3604
|
return (e.data.type === "all-errors" ? e.data.errors : [e.data.error]).map((e) => ja(e, this.store)).join("\n\n");
|
|
3605
3605
|
}
|
|
3606
|
-
}, Ia =
|
|
3606
|
+
}, Ia = ce(), La = {
|
|
3607
3607
|
maxDepth: 3,
|
|
3608
3608
|
maxResults: 20,
|
|
3609
3609
|
defaultResultsLimit: 5,
|
|
@@ -3894,7 +3894,7 @@ var Pa = new _e("error", "errors"), Fa = class extends T {
|
|
|
3894
3894
|
detail: n.dataType ?? "",
|
|
3895
3895
|
type: this.contextType,
|
|
3896
3896
|
section: x.VARIABLE,
|
|
3897
|
-
info: () =>
|
|
3897
|
+
info: () => se(n)
|
|
3898
3898
|
};
|
|
3899
3899
|
}
|
|
3900
3900
|
formatContext(e) {
|
|
@@ -3912,11 +3912,11 @@ var Pa = new _e("error", "errors"), Fa = class extends T {
|
|
|
3912
3912
|
//#endregion
|
|
3913
3913
|
//#region src/core/ai/context/context.ts
|
|
3914
3914
|
function Va(e) {
|
|
3915
|
-
let t = e.get(
|
|
3915
|
+
let t = e.get(Ce), n = e.get(pe), r = e.get(_e);
|
|
3916
3916
|
return new C().register(new za(n)).register(new Ba(r, n)).register(new Fa(e)).register(new Ea(e)).register(new y(t.connectionsMap, n));
|
|
3917
3917
|
}
|
|
3918
3918
|
function Ha() {
|
|
3919
|
-
return new Ra(
|
|
3919
|
+
return new Ra(ue());
|
|
3920
3920
|
}
|
|
3921
3921
|
//#endregion
|
|
3922
3922
|
//#region src/components/editor/ai/completion-utils.ts
|
|
@@ -3986,7 +3986,7 @@ var Ka = (e) => {
|
|
|
3986
3986
|
s
|
|
3987
3987
|
] }), t[4] = n, t[5] = o, t[6] = s, t[7] = c) : c = t[7];
|
|
3988
3988
|
let l = c;
|
|
3989
|
-
if (a &&
|
|
3989
|
+
if (a && Ie(a)) {
|
|
3990
3990
|
let e = i ?? r, n;
|
|
3991
3991
|
return t[8] !== l || t[9] !== a || t[10] !== e ? (n = /* @__PURE__ */ (0, q.jsx)("a", {
|
|
3992
3992
|
href: a,
|
|
@@ -4150,7 +4150,7 @@ var Xa = (e) => {
|
|
|
4150
4150
|
let m;
|
|
4151
4151
|
t[5] === Symbol.for("react.memo_cache_sentinel") ? (m = () => l($a), t[5] = m) : m = t[5];
|
|
4152
4152
|
let h;
|
|
4153
|
-
t[6] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, q.jsx)(
|
|
4153
|
+
t[6] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, q.jsx)(ve, { className: "h-3.5 w-3.5 shrink-0" }), t[6] = h) : h = t[6];
|
|
4154
4154
|
let g;
|
|
4155
4155
|
t[7] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ (0, q.jsx)("span", {
|
|
4156
4156
|
className: "font-semibold",
|
|
@@ -4247,7 +4247,7 @@ var to = Ze({
|
|
|
4247
4247
|
let m;
|
|
4248
4248
|
t[10] === c ? m = t[11] : (m = c && /* @__PURE__ */ (0, q.jsxs)("div", {
|
|
4249
4249
|
className: "flex items-start gap-2",
|
|
4250
|
-
children: [/* @__PURE__ */ (0, q.jsx)(
|
|
4250
|
+
children: [/* @__PURE__ */ (0, q.jsx)(be, { className: "h-3 w-3 text-(--blue-11) mt-0.5 shrink-0" }), /* @__PURE__ */ (0, q.jsx)("div", {
|
|
4251
4251
|
className: "text-xs text-foreground",
|
|
4252
4252
|
children: c
|
|
4253
4253
|
})]
|
|
@@ -4531,12 +4531,12 @@ var lo = (e) => {
|
|
|
4531
4531
|
isActive: i
|
|
4532
4532
|
}, s);
|
|
4533
4533
|
case "source-document": return /* @__PURE__ */ (0, q.jsx)(qa, {
|
|
4534
|
-
icon: /* @__PURE__ */ (0, q.jsx)(
|
|
4534
|
+
icon: /* @__PURE__ */ (0, q.jsx)(he, { className: "h-3 w-3 shrink-0" }),
|
|
4535
4535
|
title: o.title,
|
|
4536
4536
|
subtitle: o.filename
|
|
4537
4537
|
}, s);
|
|
4538
4538
|
case "source-url": return /* @__PURE__ */ (0, q.jsx)(qa, {
|
|
4539
|
-
icon: /* @__PURE__ */ (0, q.jsx)(
|
|
4539
|
+
icon: /* @__PURE__ */ (0, q.jsx)(xe, { className: "h-3 w-3 shrink-0" }),
|
|
4540
4540
|
title: o.title ?? o.url,
|
|
4541
4541
|
subtitle: o.title ? o.url : void 0,
|
|
4542
4542
|
href: o.url
|
|
@@ -5111,8 +5111,8 @@ function ns(e) {
|
|
|
5111
5111
|
let t = document.createElement("div");
|
|
5112
5112
|
return t.innerHTML = e, { dom: t };
|
|
5113
5113
|
}
|
|
5114
|
-
|
|
5115
|
-
var rs = "marimo:ai-prompt-history", is = new
|
|
5114
|
+
ae("marimo:ai-language", "python", ye);
|
|
5115
|
+
var rs = "marimo:ai-prompt-history", is = new oe(et(Je()), () => []), as = (e) => {
|
|
5116
5116
|
let t = (0, M.c)(35), { value: n, placeholder: r, inputRef: a, className: o, onChange: s, onSubmit: c, onKeyDown: l, onClose: u, onAddFiles: d, additionalCompletions: f, maxHeight: p } = e, m = c, h = u, g = mt(), { theme: _ } = ht(), v;
|
|
5117
5117
|
t[0] === f ? v = t[1] : (v = (e) => f ? Ua([f.triggerCompletionRegex], f.completions)(e) : null, t[0] = f, t[1] = v);
|
|
5118
5118
|
let y = pt(v), b, x, S, C;
|
|
@@ -5221,7 +5221,7 @@ var ds = (e) => {
|
|
|
5221
5221
|
y.current = s;
|
|
5222
5222
|
let b = (0, K.useRef)(null), x = (0, K.useRef)(null), S = (0, K.useRef)(null), [C, w] = (0, K.useState)(null), T = () => {
|
|
5223
5223
|
S.current = null, w(null);
|
|
5224
|
-
}, { data: D } = Ft(async () => (await e.get_chat_history({})).messages, []), O = e.value.length > 0 ? e.value : D, { messages: k, sendMessage: A, setMessages: ee, status: te, stop: ne, error: j, regenerate:
|
|
5224
|
+
}, { data: D } = Ft(async () => (await e.get_chat_history({})).messages, []), O = e.value.length > 0 ? e.value : D, { messages: k, sendMessage: A, setMessages: ee, status: te, stop: ne, error: j, regenerate: ae, clearError: oe, addToolApprovalResponse: se } = ba({
|
|
5225
5225
|
sendAutomaticallyWhen: ({ messages: e }) => Ga(e),
|
|
5226
5226
|
transport: new ea({ fetch: async (t, n) => {
|
|
5227
5227
|
if (n === void 0) return fetch(t);
|
|
@@ -5237,7 +5237,7 @@ var ds = (e) => {
|
|
|
5237
5237
|
let t = i.messages.map((e) => ({
|
|
5238
5238
|
...e,
|
|
5239
5239
|
content: e.parts?.map((e) => "text" in e ? e.text : "").join("\n")
|
|
5240
|
-
})), n =
|
|
5240
|
+
})), n = ie();
|
|
5241
5241
|
T();
|
|
5242
5242
|
let s = new ReadableStream({
|
|
5243
5243
|
start(t) {
|
|
@@ -5310,30 +5310,30 @@ var ds = (e) => {
|
|
|
5310
5310
|
});
|
|
5311
5311
|
}
|
|
5312
5312
|
});
|
|
5313
|
-
let
|
|
5313
|
+
let ce = te === "submitted" || te === "streaming", le = (t) => {
|
|
5314
5314
|
let n = k.findIndex((e) => e.id === t);
|
|
5315
5315
|
if (n !== -1) {
|
|
5316
5316
|
let r = k.filter((e) => e.id !== t);
|
|
5317
5317
|
e.delete_chat_message({ index: n }), ee(r), e.setValue(r), r.length === 0 && T();
|
|
5318
5318
|
}
|
|
5319
|
-
},
|
|
5319
|
+
}, ue = Array.isArray(e.allowAttachments) && e.allowAttachments.length > 0 || e.allowAttachments === !0, de = {
|
|
5320
5320
|
triggerCompletionRegex: /^\/(\w+)?/,
|
|
5321
5321
|
completions: e.prompts.map((e) => ({
|
|
5322
5322
|
label: `/${e}`,
|
|
5323
5323
|
displayLabel: e,
|
|
5324
5324
|
apply: e
|
|
5325
5325
|
}))
|
|
5326
|
-
},
|
|
5326
|
+
}, pe = e.prompts.length > 0 ? "Type your message here, / for prompts" : "Type your message here...";
|
|
5327
5327
|
(0, K.useEffect)(() => {
|
|
5328
5328
|
v.current?.scrollTo({
|
|
5329
5329
|
top: v.current.scrollHeight,
|
|
5330
5330
|
behavior: "smooth"
|
|
5331
5331
|
});
|
|
5332
5332
|
}, [k.length, v]);
|
|
5333
|
-
let
|
|
5334
|
-
if (
|
|
5335
|
-
let e =
|
|
5336
|
-
|
|
5333
|
+
let me = _.current?.view, he = () => {
|
|
5334
|
+
if (me) {
|
|
5335
|
+
let e = me.state.doc.length;
|
|
5336
|
+
me.dispatch({ changes: {
|
|
5337
5337
|
from: 0,
|
|
5338
5338
|
to: e,
|
|
5339
5339
|
insert: ""
|
|
@@ -5352,7 +5352,7 @@ var ds = (e) => {
|
|
|
5352
5352
|
size: "icon",
|
|
5353
5353
|
disabled: k.length === 0,
|
|
5354
5354
|
onClick: () => {
|
|
5355
|
-
ee([]), e.setValue([]), e.delete_chat_history({}),
|
|
5355
|
+
ee([]), e.setValue([]), e.delete_chat_history({}), oe(), T();
|
|
5356
5356
|
},
|
|
5357
5357
|
children: /* @__PURE__ */ (0, q.jsx)(Wt, { className: "h-3 w-3" })
|
|
5358
5358
|
})
|
|
@@ -5385,8 +5385,8 @@ var ds = (e) => {
|
|
|
5385
5385
|
message: e,
|
|
5386
5386
|
isStreamingReasoning: te === "streaming",
|
|
5387
5387
|
isLast: r,
|
|
5388
|
-
isActive:
|
|
5389
|
-
addToolApprovalResponse: r ?
|
|
5388
|
+
isActive: ce,
|
|
5389
|
+
addToolApprovalResponse: r ? se : void 0
|
|
5390
5390
|
})
|
|
5391
5391
|
}), /* @__PURE__ */ (0, q.jsxs)("div", {
|
|
5392
5392
|
className: "flex justify-end text-xs gap-2 invisible group-hover:visible",
|
|
@@ -5396,14 +5396,14 @@ var ds = (e) => {
|
|
|
5396
5396
|
buttonClassName: "text-xs text-(--slate-9) hover:text-(--slate-11)"
|
|
5397
5397
|
}), /* @__PURE__ */ (0, q.jsx)("button", {
|
|
5398
5398
|
type: "button",
|
|
5399
|
-
onClick: () =>
|
|
5399
|
+
onClick: () => le(e.id),
|
|
5400
5400
|
className: "text-xs text-(--slate-9) hover:text-(--slate-11)",
|
|
5401
5401
|
children: /* @__PURE__ */ (0, q.jsx)(m, { className: "h-3 w-3 text-(--red-9)" })
|
|
5402
5402
|
})]
|
|
5403
5403
|
})]
|
|
5404
5404
|
}, `${e.id}-${t}`);
|
|
5405
5405
|
}),
|
|
5406
|
-
|
|
5406
|
+
ce && /* @__PURE__ */ (0, q.jsx)("div", {
|
|
5407
5407
|
className: "flex items-center justify-center mb-4",
|
|
5408
5408
|
children: /* @__PURE__ */ (0, q.jsx)(E, { size: "small" })
|
|
5409
5409
|
}),
|
|
@@ -5412,11 +5412,11 @@ var ds = (e) => {
|
|
|
5412
5412
|
children: [/* @__PURE__ */ (0, q.jsx)(ut, { error: j }), /* @__PURE__ */ (0, q.jsx)(a, {
|
|
5413
5413
|
variant: "outline",
|
|
5414
5414
|
size: "sm",
|
|
5415
|
-
onClick: () =>
|
|
5415
|
+
onClick: () => ae(),
|
|
5416
5416
|
children: "Retry"
|
|
5417
5417
|
})]
|
|
5418
5418
|
}),
|
|
5419
|
-
C && !
|
|
5419
|
+
C && !ce && !j && /* @__PURE__ */ (0, q.jsx)("div", {
|
|
5420
5420
|
className: "flex justify-center py-2",
|
|
5421
5421
|
children: /* @__PURE__ */ (0, q.jsx)("span", {
|
|
5422
5422
|
className: "text-xs text-muted-foreground",
|
|
@@ -5435,7 +5435,7 @@ var ds = (e) => {
|
|
|
5435
5435
|
type: "text",
|
|
5436
5436
|
text: t
|
|
5437
5437
|
}, ...r ?? []]
|
|
5438
|
-
}),
|
|
5438
|
+
}), he();
|
|
5439
5439
|
},
|
|
5440
5440
|
ref: g,
|
|
5441
5441
|
inert: e.disabled || void 0,
|
|
@@ -5449,13 +5449,13 @@ var ds = (e) => {
|
|
|
5449
5449
|
prompts: e.prompts,
|
|
5450
5450
|
onSelect: (e) => {
|
|
5451
5451
|
o(e), requestAnimationFrame(() => {
|
|
5452
|
-
|
|
5452
|
+
me?.focus(), fe(me);
|
|
5453
5453
|
});
|
|
5454
5454
|
}
|
|
5455
5455
|
}),
|
|
5456
5456
|
/* @__PURE__ */ (0, q.jsx)(as, {
|
|
5457
5457
|
className: "rounded-sm mr-2",
|
|
5458
|
-
placeholder:
|
|
5458
|
+
placeholder: pe,
|
|
5459
5459
|
value: t,
|
|
5460
5460
|
inputRef: _,
|
|
5461
5461
|
maxHeight: e.maxHeight ? `${e.maxHeight / 2}px` : void 0,
|
|
@@ -5464,7 +5464,7 @@ var ds = (e) => {
|
|
|
5464
5464
|
t.trim() && g.current?.requestSubmit();
|
|
5465
5465
|
},
|
|
5466
5466
|
onClose: () => {},
|
|
5467
|
-
additionalCompletions:
|
|
5467
|
+
additionalCompletions: de
|
|
5468
5468
|
}),
|
|
5469
5469
|
f && f.length === 1 && /* @__PURE__ */ (0, q.jsx)("span", {
|
|
5470
5470
|
title: f[0].name,
|
|
@@ -5485,7 +5485,7 @@ var ds = (e) => {
|
|
|
5485
5485
|
},
|
|
5486
5486
|
children: /* @__PURE__ */ (0, q.jsx)(Te, { className: "size-3" })
|
|
5487
5487
|
}),
|
|
5488
|
-
|
|
5488
|
+
ue && /* @__PURE__ */ (0, q.jsxs)(q.Fragment, { children: [/* @__PURE__ */ (0, q.jsx)(a, {
|
|
5489
5489
|
type: "button",
|
|
5490
5490
|
variant: "text",
|
|
5491
5491
|
size: "sm",
|
|
@@ -5501,7 +5501,7 @@ var ds = (e) => {
|
|
|
5501
5501
|
e.target.files && p([...e.target.files]);
|
|
5502
5502
|
}
|
|
5503
5503
|
})] }),
|
|
5504
|
-
|
|
5504
|
+
ce ? /* @__PURE__ */ (0, q.jsx)(re, {
|
|
5505
5505
|
content: "Stop generating",
|
|
5506
5506
|
children: /* @__PURE__ */ (0, q.jsx)(a, {
|
|
5507
5507
|
type: "button",
|
|
@@ -5610,7 +5610,7 @@ var ds = (e) => {
|
|
|
5610
5610
|
className: "text-xs flex flex-col",
|
|
5611
5611
|
children: fs[t].description
|
|
5612
5612
|
}),
|
|
5613
|
-
children: /* @__PURE__ */ (0, q.jsx)(
|
|
5613
|
+
children: /* @__PURE__ */ (0, q.jsx)(Fe, { className: "h-3 w-3 cursor-help text-muted-foreground hover:text-foreground" })
|
|
5614
5614
|
})]
|
|
5615
5615
|
}), /* @__PURE__ */ (0, q.jsx)(ke, {
|
|
5616
5616
|
id: t,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as e, p as t, r as n, u as r } from "./chunk-75Z2AOVW-
|
|
1
|
+
import { a as e, p as t, r as n, u as r } from "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
2
2
|
import { n as i, t as a } from "./src-CA_m4ONl.js";
|
|
3
3
|
import { n as o } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
|
-
import { A as s, B as c, M as l, T as u, b as d, f, g as p, x as m, z as h } from "./chunk-DU6HZSFF-
|
|
5
|
-
import { a as g, i as _, r as v, t as y } from "./chunk-P2QGCYS3-
|
|
6
|
-
import { t as b } from "./chunk-PWAF6VOD-
|
|
7
|
-
import { n as x, r as S } from "./chunk-GMAD6QVW-
|
|
4
|
+
import { A as s, B as c, M as l, T as u, b as d, f, g as p, x as m, z as h } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
5
|
+
import { a as g, i as _, r as v, t as y } from "./chunk-P2QGCYS3-0TAWai9C.js";
|
|
6
|
+
import { t as b } from "./chunk-PWAF6VOD-lNxB9k8z.js";
|
|
7
|
+
import { n as x, r as S } from "./chunk-GMAD6QVW-vStrMz2P.js";
|
|
8
8
|
import { t as C } from "./rough.esm-CtV9AnV1.js";
|
|
9
9
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4HAMMTFA.mjs
|
|
10
10
|
var w = 1, T = 3;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as e, B as t, F as n, G as r, H as i, I as a, K as o, L as s, M as c, N as l, P as u, R as ee, U as te, V as ne, W as re, X as ie, j as ae, z as oe } from "./cubic-OaEBhQPK.js";
|
|
2
2
|
import { n as d, t as se } from "./src-CA_m4ONl.js";
|
|
3
3
|
import { n as f } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
|
-
import { R as ce, h as p, p as le, r as m, s as h } from "./chunk-DU6HZSFF-
|
|
4
|
+
import { R as ce, h as p, p as le, r as m, s as h } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
5
5
|
import { t as ue } from "./dist-DUAh96QY.js";
|
|
6
6
|
//#region ../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.js
|
|
7
7
|
var de = class {
|
|
@@ -2831,7 +2831,7 @@ var nt = /* @__PURE__ */ r((t) => (et(), e.sanitize(t)), "removeScript"), rt = /
|
|
|
2831
2831
|
if (!G(e)) return e;
|
|
2832
2832
|
if (!(ht() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(W, "MathML is unsupported in this environment.");
|
|
2833
2833
|
{
|
|
2834
|
-
let { default: n } = await import("./katex-
|
|
2834
|
+
let { default: n } = await import("./katex-BNCmKUol.js").then((e) => e.n), r = t.forceLegacyMathML || !ht() && t.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
2835
2835
|
return e.split(V).map((e) => G(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(W, (e, t) => n.renderToString(t, {
|
|
2836
2836
|
throwOnError: !0,
|
|
2837
2837
|
displayMode: !0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./src-CA_m4ONl.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
|
-
import { j as n } from "./chunk-DU6HZSFF-
|
|
3
|
+
import { j as n } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
4
4
|
import { t as r } from "./dist-DUAh96QY.js";
|
|
5
5
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-F27PBJKO.mjs
|
|
6
6
|
var i = r(), a = /* @__PURE__ */ t((e, t) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, t } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { a as n } from "./chunk-75Z2AOVW-
|
|
2
|
+
import { a as n } from "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
3
3
|
import { n as r, t as i } from "./src-CA_m4ONl.js";
|
|
4
4
|
import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
5
|
-
import { A as o, F as s, b as c, s as l, z as u } from "./chunk-DU6HZSFF-
|
|
6
|
-
import { n as d, t as f } from "./chunk-PWAF6VOD-
|
|
5
|
+
import { A as o, F as s, b as c, s as l, z as u } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
6
|
+
import { n as d, t as f } from "./chunk-PWAF6VOD-lNxB9k8z.js";
|
|
7
7
|
//#region ../node_modules/.pnpm/fastdom@1.0.12/node_modules/fastdom/fastdom.js
|
|
8
8
|
var p = /* @__PURE__ */ t(((e, t) => {
|
|
9
9
|
(function(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as e } from "./chunk-75Z2AOVW-
|
|
1
|
+
import { u as e } from "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
2
2
|
import { n as t } from "./src-CA_m4ONl.js";
|
|
3
3
|
import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
|
-
import { o as r } from "./chunk-4HAMMTFA-
|
|
4
|
+
import { o as r } from "./chunk-4HAMMTFA-BPTTOOC5.js";
|
|
5
5
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-GVQU2GXP.mjs
|
|
6
6
|
var i = /* @__PURE__ */ n(({ flowchart: e }) => {
|
|
7
7
|
let t = e?.subGraphTitleMargin?.top ?? 0, n = e?.subGraphTitleMargin?.bottom ?? 0;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./purify.es-DgKyQviY.js";
|
|
2
|
-
import { g as t, s as n } from "./chunk-75Z2AOVW-
|
|
2
|
+
import { g as t, s as n } from "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
3
3
|
import { n as r, t as i } from "./src-CA_m4ONl.js";
|
|
4
4
|
import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
5
|
-
import { H as o, K as s, U as c, a as l, s as u, v as d, w as f, x as p, y as m } from "./chunk-DU6HZSFF-
|
|
6
|
-
import { r as h } from "./mermaid-
|
|
7
|
-
import { t as g } from "./chunk-F27PBJKO-
|
|
5
|
+
import { H as o, K as s, U as c, a as l, s as u, v as d, w as f, x as p, y as m } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
6
|
+
import { r as h } from "./mermaid-Dnzoxjt1.js";
|
|
7
|
+
import { t as g } from "./chunk-F27PBJKO-DMI1PBe4.js";
|
|
8
8
|
import { t as _ } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
9
|
-
import { t as v } from "./chunk-POPQ4Y6H-
|
|
9
|
+
import { t as v } from "./chunk-POPQ4Y6H-Cc3_56GX.js";
|
|
10
10
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IMKFNOWR.mjs
|
|
11
11
|
var y = (function() {
|
|
12
12
|
var e = /* @__PURE__ */ a(function(e, t, n, r) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as e, t } from "./src-CA_m4ONl.js";
|
|
2
2
|
import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
|
-
import { T as r, g as i, x as a } from "./chunk-DU6HZSFF-
|
|
4
|
-
import { a as o, i as s } from "./chunk-P2QGCYS3-
|
|
5
|
-
import { n as c } from "./chunk-GMAD6QVW-
|
|
3
|
+
import { T as r, g as i, x as a } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
4
|
+
import { a as o, i as s } from "./chunk-P2QGCYS3-0TAWai9C.js";
|
|
5
|
+
import { n as c } from "./chunk-GMAD6QVW-vStrMz2P.js";
|
|
6
6
|
import { t as l } from "./rough.esm-CtV9AnV1.js";
|
|
7
|
-
import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-
|
|
8
|
-
import { n as p } from "./chunk-GVQU2GXP-
|
|
7
|
+
import { n as u, r as d, t as f } from "./chunk-4HAMMTFA-BPTTOOC5.js";
|
|
8
|
+
import { n as p } from "./chunk-GVQU2GXP-2HwWgs4u.js";
|
|
9
9
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-L3NEJ4N5.mjs
|
|
10
10
|
var m = /* @__PURE__ */ n(async (n, r) => {
|
|
11
11
|
let u = a(), { themeVariables: f, handDrawnSeed: p } = u, { clusterBkg: m, clusterBorder: h } = f, g = h, { labelStyles: _, nodeStyles: v, borderStyles: y, backgroundStyles: b } = s(r), x = n.insert("g").attr("class", "cluster swimlane " + (r.cssClasses || "")).attr("id", r.id).attr("data-id", r.id).attr("data-et", "cluster").attr("data-look", r.look), S = i(u.flowchart.htmlLabels), C = r.direction === "LR", w = x.insert("g").attr("class", "cluster-label swimlane-label"), T = await c(w, r.label, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { A as e, F as t, H as n, K as r, M as i, N as a, P as o, X as s, j as c, q as l, z as u } from "./cubic-OaEBhQPK.js";
|
|
2
|
-
import { K as d, g as f, q as p, u as m } from "./chunk-75Z2AOVW-
|
|
2
|
+
import { K as d, g as f, q as p, u as m } from "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
3
3
|
import { n as h, t as g } from "./src-CA_m4ONl.js";
|
|
4
4
|
import { n as _ } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
5
|
-
import { T as v, b as y, x as b } from "./chunk-DU6HZSFF-
|
|
6
|
-
import { i as x, n as S } from "./chunk-P2QGCYS3-
|
|
7
|
-
import { n as ee, r as C } from "./chunk-GMAD6QVW-
|
|
5
|
+
import { T as v, b as y, x as b } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
6
|
+
import { i as x, n as S } from "./chunk-P2QGCYS3-0TAWai9C.js";
|
|
7
|
+
import { n as ee, r as C } from "./chunk-GMAD6QVW-vStrMz2P.js";
|
|
8
8
|
import { t as te } from "./rough.esm-CtV9AnV1.js";
|
|
9
|
-
import { t as w } from "./chunk-4HAMMTFA-
|
|
10
|
-
import { n as T } from "./chunk-GVQU2GXP-
|
|
9
|
+
import { t as w } from "./chunk-4HAMMTFA-BPTTOOC5.js";
|
|
10
|
+
import { n as T } from "./chunk-GVQU2GXP-2HwWgs4u.js";
|
|
11
11
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OSK3NFVY.mjs
|
|
12
12
|
var E = /* @__PURE__ */ _((e, t) => {
|
|
13
13
|
if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
2
|
-
import { x as t } from "./chunk-DU6HZSFF-
|
|
2
|
+
import { x as t } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
3
3
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-P2QGCYS3.mjs
|
|
4
4
|
var n = /* @__PURE__ */ e((e) => {
|
|
5
5
|
let { handDrawnSeed: n } = t();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./src-CA_m4ONl.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
|
-
import { c as n } from "./chunk-DU6HZSFF-
|
|
3
|
+
import { c as n } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
4
4
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-POPQ4Y6H.mjs
|
|
5
5
|
var r = /* @__PURE__ */ t((t, r, o, s) => {
|
|
6
6
|
t.attr("class", o);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./src-CA_m4ONl.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
|
-
import { b as n, z as r } from "./chunk-DU6HZSFF-
|
|
3
|
+
import { b as n, z as r } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
4
4
|
//#region ../node_modules/.pnpm/@iconify+utils@3.1.4/node_modules/@iconify/utils/lib/icon/defaults.js
|
|
5
5
|
var i = Object.freeze({
|
|
6
6
|
left: 0,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./purify.es-DgKyQviY.js";
|
|
2
|
-
import { c as t, g as n } from "./chunk-75Z2AOVW-
|
|
2
|
+
import { c as t, g as n } from "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
3
3
|
import { n as r, t as i } from "./src-CA_m4ONl.js";
|
|
4
4
|
import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
5
|
-
import { G as o, H as s, K as c, U as l, a as u, d, k as f, rt as p, s as ee, v as m, w as h, x as g, y as _ } from "./chunk-DU6HZSFF-
|
|
6
|
-
import { t as te } from "./channel-
|
|
7
|
-
import { i as ne } from "./chunk-4HAMMTFA-
|
|
8
|
-
import { a as re, i as v, n as y, r as b } from "./mermaid-
|
|
5
|
+
import { G as o, H as s, K as c, U as l, a as u, d, k as f, rt as p, s as ee, v as m, w as h, x as g, y as _ } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
6
|
+
import { t as te } from "./channel-z7HZXHwv.js";
|
|
7
|
+
import { i as ne } from "./chunk-4HAMMTFA-BPTTOOC5.js";
|
|
8
|
+
import { a as re, i as v, n as y, r as b } from "./mermaid-Dnzoxjt1.js";
|
|
9
9
|
import { t as x } from "./chunk-5VM5RSS4-DKsmPCL6.js";
|
|
10
|
-
import { t as S } from "./chunk-F27PBJKO-
|
|
10
|
+
import { t as S } from "./chunk-F27PBJKO-DMI1PBe4.js";
|
|
11
11
|
import { t as C } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
12
|
-
import { t as w } from "./chunk-POPQ4Y6H-
|
|
12
|
+
import { t as w } from "./chunk-POPQ4Y6H-Cc3_56GX.js";
|
|
13
13
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SHT3W25Y.mjs
|
|
14
14
|
var T = "flowchart-", E = class {
|
|
15
15
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./src-CA_m4ONl.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
|
-
import { D as n, a as r, b as i, c as a, x as o, z as s } from "./chunk-DU6HZSFF-
|
|
4
|
-
import { p as c } from "./mermaid-
|
|
3
|
+
import { D as n, a as r, b as i, c as a, x as o, z as s } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
4
|
+
import { p as c } from "./mermaid-Dnzoxjt1.js";
|
|
5
5
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SVP7TREG.mjs
|
|
6
6
|
var l = "", u = "", d = "", f = [], p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ t((e) => s(e, o()), "sanitizeText"), h = /* @__PURE__ */ t((e) => {
|
|
7
7
|
switch (e.type) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./purify.es-DgKyQviY.js";
|
|
2
|
-
import { c as t, g as n } from "./chunk-75Z2AOVW-
|
|
2
|
+
import { c as t, g as n } from "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
3
3
|
import { n as r, t as i } from "./src-CA_m4ONl.js";
|
|
4
4
|
import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
5
|
-
import { H as o, K as s, M as c, U as l, a as u, s as d, v as f, w as p, x as m, y as h, z as g } from "./chunk-DU6HZSFF-
|
|
6
|
-
import { n as _, r as v } from "./mermaid-
|
|
5
|
+
import { H as o, K as s, M as c, U as l, a as u, s as d, v as f, w as p, x as m, y as h, z as g } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
6
|
+
import { n as _, r as v } from "./mermaid-Dnzoxjt1.js";
|
|
7
7
|
import { t as y } from "./chunk-5VM5RSS4-DKsmPCL6.js";
|
|
8
|
-
import { t as b } from "./chunk-F27PBJKO-
|
|
8
|
+
import { t as b } from "./chunk-F27PBJKO-DMI1PBe4.js";
|
|
9
9
|
import { t as x } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
10
|
-
import { t as S } from "./chunk-POPQ4Y6H-
|
|
10
|
+
import { t as S } from "./chunk-POPQ4Y6H-Cc3_56GX.js";
|
|
11
11
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TICWLB2K.mjs
|
|
12
12
|
var C = (function() {
|
|
13
13
|
var e = /* @__PURE__ */ a(function(e, t, n, r) {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
2
|
+
import "./src-CA_m4ONl.js";
|
|
3
|
+
import { n as e } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
|
+
import "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
5
|
+
import "./chunk-P2QGCYS3-0TAWai9C.js";
|
|
6
|
+
import "./chunk-PWAF6VOD-lNxB9k8z.js";
|
|
7
|
+
import "./chunk-GMAD6QVW-vStrMz2P.js";
|
|
8
|
+
import "./chunk-4HAMMTFA-BPTTOOC5.js";
|
|
9
|
+
import "./chunk-GVQU2GXP-2HwWgs4u.js";
|
|
10
|
+
import "./chunk-L3NEJ4N5-RhC7i0I2.js";
|
|
11
|
+
import "./chunk-OSK3NFVY-CZV09N-U.js";
|
|
12
|
+
import "./mermaid-Dnzoxjt1.js";
|
|
13
|
+
import "./chunk-F27PBJKO-DMI1PBe4.js";
|
|
14
|
+
import "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
15
|
+
import "./chunk-POPQ4Y6H-Cc3_56GX.js";
|
|
16
|
+
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-DdXM3eg6.js";
|
|
17
|
+
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-ZZMXUADV.mjs
|
|
18
|
+
var a = {
|
|
19
|
+
parser: n,
|
|
20
|
+
get db() {
|
|
21
|
+
return new i();
|
|
22
|
+
},
|
|
23
|
+
renderer: r,
|
|
24
|
+
styles: t,
|
|
25
|
+
init: /* @__PURE__ */ e((e) => {
|
|
26
|
+
e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
27
|
+
}, "init")
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { a as diagram };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
2
|
+
import "./src-CA_m4ONl.js";
|
|
3
|
+
import { n as e } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
|
+
import "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
5
|
+
import "./chunk-P2QGCYS3-0TAWai9C.js";
|
|
6
|
+
import "./chunk-PWAF6VOD-lNxB9k8z.js";
|
|
7
|
+
import "./chunk-GMAD6QVW-vStrMz2P.js";
|
|
8
|
+
import "./chunk-4HAMMTFA-BPTTOOC5.js";
|
|
9
|
+
import "./chunk-GVQU2GXP-2HwWgs4u.js";
|
|
10
|
+
import "./chunk-L3NEJ4N5-RhC7i0I2.js";
|
|
11
|
+
import "./chunk-OSK3NFVY-CZV09N-U.js";
|
|
12
|
+
import "./mermaid-Dnzoxjt1.js";
|
|
13
|
+
import "./chunk-F27PBJKO-DMI1PBe4.js";
|
|
14
|
+
import "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
15
|
+
import "./chunk-POPQ4Y6H-Cc3_56GX.js";
|
|
16
|
+
import { i as t, n, r, t as i } from "./chunk-TICWLB2K-DdXM3eg6.js";
|
|
17
|
+
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-VYDZK3BY.mjs
|
|
18
|
+
var a = {
|
|
19
|
+
parser: n,
|
|
20
|
+
get db() {
|
|
21
|
+
return new i();
|
|
22
|
+
},
|
|
23
|
+
renderer: r,
|
|
24
|
+
styles: t,
|
|
25
|
+
init: /* @__PURE__ */ e((e) => {
|
|
26
|
+
e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
27
|
+
}, "init")
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { a as diagram };
|