@marimo-team/islands 0.23.16-dev13 → 0.23.16-dev16

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.
@@ -6,14 +6,14 @@ import { _ as Functions, f as composeRefs, g as Logger, h as cn, m as Events, n
6
6
  import { t as require_react } from "./react-DA-nE2FX.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
8
8
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DNq8q3zw.js";
9
- import { $n as import_lib, An as Close$1, At as toggleBreakpoint, B as isDataURLString, Bn as Minus, C as Accordion, Dn as atomWithStorage, E as AccordionTrigger, Fn as Wrench, Ft as useChromeActions, Gn as Eye, Gt as DATA_TYPE_ICON, H as renderHTML, In as Trash2, It as adaptForLocalStorage, J as getCellEditorView, Kn as ExternalLink, Kt as getDataTypeColor, L as base64ToUint8Array, Lt as jotaiJsonStorage, M as DotFilledIcon, Mt as goToCellLine, N as PinLeftIcon, P as PinRightIcon, Q as notebookAtom, Qn as esm_default, Qt as getRequestClient, T as AccordionItem, Tn as jsonToMarkdown, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Yn as CircleX, Zn as Braces, _ as getDatasourceContext, _n as CellOutputId, _t as sanitizeHtml, bt as displayCellName, c as Popover, cn as elementContainsMarimoCellFile, ct as AnsiUp, d as PopoverTrigger, dt as kioskModeAtom, en as useRequestClient, ft as useInstallAllowed, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, ln as extractAllTracebackInfo, m as useExpandedOutput, mt as outputIsLoading, n as Spinner, nt as useCellActions, pn as filenameAtom, pt as viewStateAtom, r as MarkdownRenderer, rt as useCellIds, t as toPng, u as PopoverContent, un as getTracebackInfo, vn as HTMLCellId, vt as DATA_CELL_ID, w as AccordionContent, wn as jsonParseWithSpecialChar, wt as Checkbox, yn as SCRATCH_CELL_ID, yt as getCellDomProps, z as extractBase64FromDataURL, zn as NotebookPen, zt as getFeatureFlag, __tla as __tla_0 } from "./html-to-image-Bif4utQZ.js";
9
+ import { An as Wrench, At as useChromeActions, B as isDataURLString, Bn as Eye, Bt as DATA_TYPE_ICON, C as Accordion, Dt as goToCellLine, E as AccordionTrigger, Fn as Minus, H as renderHTML, In as LoaderCircle, J as getCellEditorView, Jn as import_lib, Kn as Braces, L as base64ToUint8Array, M as DotFilledIcon, Mt as jotaiJsonStorage, N as PinLeftIcon, P as PinRightIcon, Pn as NotebookPen, Pt as getFeatureFlag, Q as notebookAtom, Rn as Info, Rt as PluralWord, Sn as atomWithStorage, T as AccordionItem, Tn as Close$1, Tt as toggleBreakpoint, Vn as ExternalLink, Vt as getDataTypeColor, Wn as CircleX, Yt as useRequestClient, _ as getDatasourceContext, an as getTracebackInfo, bn as jsonToMarkdown, c as Popover, cn as filenameAtom, ct as AnsiUp, d as PopoverTrigger, fn as CellOutputId, ft as sanitizeHtml, ht as displayCellName, in as extractAllTracebackInfo, it as useCellNames, j as ChevronRightIcon, jn as Trash2, jt as adaptForLocalStorage, k as CheckIcon, l as PopoverClose, lt as outputIsLoading, m as useExpandedOutput, mn as SCRATCH_CELL_ID, mt as getCellDomProps, n as Spinner, nt as useCellActions, pn as HTMLCellId, pt as DATA_CELL_ID, qn as esm_default, qt as getRequestClient, r as MarkdownRenderer, rn as elementContainsMarimoCellFile, rt as useCellIds, t as toPng, u as PopoverContent, w as AccordionContent, yn as jsonParseWithSpecialChar, yt as Checkbox, z as extractBase64FromDataURL, zn as FileText, __tla as __tla_0 } from "./html-to-image-C0Yzb7i_.js";
10
10
  import { o as useSize, u as createLucideIcon } from "./dist-DIlxLFXG.js";
11
11
  import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-CMJGqBaY.js";
12
12
  import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-Bt2qr_XS.js";
13
13
  import { t as Check } from "./check-DP7U0H0G.js";
14
14
  import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-DIy9NAmg.js";
15
15
  import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-C5K4VBvB.js";
16
- import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-CmR_xR3P.js";
16
+ import { S as isWasm, a as millisecondsInMinute, b as viewStateAtom, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate, v as kioskModeAtom, y as useInstallAllowed } from "./toDate-CqhBWjvO.js";
17
17
  import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DhLqwSWA.js";
18
18
  import { n as clsx_default } from "./clsx-CIWA5tNO.js";
19
19
  import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
@@ -29,7 +29,7 @@ import { c as uniqueBy, t as Arrays } from "./arrays-sEtDRoG4.js";
29
29
  import { t as Objects } from "./objects-De59twF-.js";
30
30
  import { n as once, t as memoizeLastValue } from "./once-B60G2fuJ.js";
31
31
  import { a as parser } from "./dist-CRmSjkLP.js";
32
- import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-CO8cn5_K.js";
32
+ import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-Dwq1THhr.js";
33
33
  import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DdVSF4FD.js";
34
34
  import { V as getContainerWidth, n as formats } from "./vega-loader.browser-DmpxCJqx.js";
35
35
  import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-DX-IDS7n.js";
@@ -19572,20 +19572,20 @@ ${n}` : "Please fix this error.";
19572
19572
  }
19573
19573
  }), t2 == null ? void 0 : t2.focus();
19574
19574
  }, t[5] = i, t[6] = c, t[7] = S, t[8] = v, t[9] = s, t[10] = w) : w = t[10];
19575
- let E = w, O;
19576
- t[11] !== i || t[12] !== y ? (O = () => {
19575
+ let O = w, A;
19576
+ t[11] !== i || t[12] !== y ? (A = () => {
19577
19577
  y({
19578
19578
  prompt: buildFixInChatPrompt(i)
19579
19579
  });
19580
- }, t[11] = i, t[12] = y, t[13] = O) : O = t[13];
19581
- let A = O, M;
19582
- t[14] === a ? M = t[15] : (M = cn("my-2", a), t[14] = a, t[15] = M);
19583
- let I;
19584
- t[16] !== S.description || t[17] !== S.fixType || t[18] !== S.title || t[19] !== E || t[20] !== A ? (I = S.fixType === "ai" ? (0, import_jsx_runtime.jsx)(AIFixButton, {
19580
+ }, t[11] = i, t[12] = y, t[13] = A) : A = t[13];
19581
+ let M = A, I;
19582
+ t[14] === a ? I = t[15] : (I = cn("my-2", a), t[14] = a, t[15] = I);
19583
+ let z;
19584
+ t[16] !== S.description || t[17] !== S.fixType || t[18] !== S.title || t[19] !== O || t[20] !== M ? (z = S.fixType === "ai" ? (0, import_jsx_runtime.jsx)(AIFixButton, {
19585
19585
  tooltip: S.description,
19586
- openPrompt: () => E(false),
19587
- applyAutofix: () => E(true),
19588
- openChat: A
19586
+ openPrompt: () => O(false),
19587
+ applyAutofix: () => O(true),
19588
+ openChat: M
19589
19589
  }) : (0, import_jsx_runtime.jsx)(Tooltip, {
19590
19590
  content: S.description,
19591
19591
  align: "start",
@@ -19593,7 +19593,7 @@ ${n}` : "Please fix this error.";
19593
19593
  size: "xs",
19594
19594
  variant: "outline",
19595
19595
  className: "font-normal",
19596
- onClick: () => E(false),
19596
+ onClick: () => O(false),
19597
19597
  children: [
19598
19598
  (0, import_jsx_runtime.jsx)(Wrench, {
19599
19599
  className: "h-3 w-3 mr-2"
@@ -19601,12 +19601,12 @@ ${n}` : "Please fix this error.";
19601
19601
  S.title
19602
19602
  ]
19603
19603
  })
19604
- }), t[16] = S.description, t[17] = S.fixType, t[18] = S.title, t[19] = E, t[20] = A, t[21] = I) : I = t[21];
19605
- let z;
19606
- return t[22] !== M || t[23] !== I ? (z = (0, import_jsx_runtime.jsx)("div", {
19607
- className: M,
19608
- children: I
19609
- }), t[22] = M, t[23] = I, t[24] = z) : z = t[24], z;
19604
+ }), t[16] = S.description, t[17] = S.fixType, t[18] = S.title, t[19] = O, t[20] = M, t[21] = z) : z = t[21];
19605
+ let U;
19606
+ return t[22] !== I || t[23] !== z ? (U = (0, import_jsx_runtime.jsx)("div", {
19607
+ className: I,
19608
+ children: z
19609
+ }), t[22] = I, t[23] = z, t[24] = U) : U = t[24], U;
19610
19610
  };
19611
19611
  var MODE_CONFIG = {
19612
19612
  autofix: {
@@ -20141,9 +20141,9 @@ ${n}` : "Please fix this error.";
20141
20141
  let i2 = e2;
20142
20142
  i2 && "exception_type" in i2 && (d = i2.exception_type);
20143
20143
  }
20144
- let y, S, w, E, O, A;
20144
+ let y, S, w, E, A, M;
20145
20145
  if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== a || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
20146
- let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15), sJ = n.filter(_temp16), cJ = n.filter(_temp17), lJ = n.filter(_temp18), uJ;
20146
+ let e2 = n.filter(_temp8), O = n.filter(_temp9), I2 = n.filter(_temp0), z2 = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15), sJ = n.filter(_temp16), cJ = n.filter(_temp17), lJ = n.filter(_temp18), uJ;
20147
20147
  t[17] === s ? uJ = t[18] : (uJ = () => {
20148
20148
  s.openApplication("scratchpad");
20149
20149
  }, t[17] = s, t[18] = uJ);
@@ -20239,7 +20239,7 @@ ${n}` : "Please fix this error.";
20239
20239
  ]
20240
20240
  })
20241
20241
  ]
20242
- }, "setup-refs")), M2.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20242
+ }, "setup-refs")), O.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20243
20243
  children: [
20244
20244
  (0, import_jsx_runtime.jsx)("p", {
20245
20245
  className: "text-muted-foreground font-medium",
@@ -20247,10 +20247,10 @@ ${n}` : "Please fix this error.";
20247
20247
  }),
20248
20248
  (0, import_jsx_runtime.jsx)("ul", {
20249
20249
  className: "list-disc",
20250
- children: M2.flatMap(_temp24)
20250
+ children: O.flatMap(_temp24)
20251
20251
  }),
20252
20252
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20253
- errors: M2,
20253
+ errors: O,
20254
20254
  cellId: i
20255
20255
  }),
20256
20256
  (0, import_jsx_runtime.jsxs)(Tip, {
@@ -20366,11 +20366,11 @@ ${n}` : "Please fix this error.";
20366
20366
  ]
20367
20367
  }, "multiple-defs"));
20368
20368
  }
20369
- return z.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20369
+ return z2.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20370
20370
  children: [
20371
- z.map(_temp27),
20371
+ z2.map(_temp27),
20372
20372
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20373
- errors: z,
20373
+ errors: z2,
20374
20374
  cellId: i
20375
20375
  }),
20376
20376
  (0, import_jsx_runtime.jsxs)(Tip, {
@@ -20570,36 +20570,36 @@ ${n}` : "Please fix this error.";
20570
20570
  })
20571
20571
  ]
20572
20572
  }), t[19] = v, t[20] = pJ);
20573
- let mJ;
20574
- t[21] !== _ || t[22] !== d ? (mJ = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20573
+ let hJ;
20574
+ t[21] !== _ || t[22] !== d ? (hJ = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20575
20575
  className: `font-code font-medium ${_}`,
20576
20576
  children: d
20577
- }), t[21] = _, t[22] = d, t[23] = mJ) : mJ = t[23];
20578
- let hJ;
20579
- t[24] !== pJ || t[25] !== mJ ? (hJ = (0, import_jsx_runtime.jsxs)("div", {
20577
+ }), t[21] = _, t[22] = d, t[23] = hJ) : hJ = t[23];
20578
+ let gJ;
20579
+ t[24] !== pJ || t[25] !== hJ ? (gJ = (0, import_jsx_runtime.jsxs)("div", {
20580
20580
  className: "space-y-0.5",
20581
20581
  children: [
20582
20582
  pJ,
20583
- mJ
20583
+ hJ
20584
20584
  ]
20585
- }), t[24] = pJ, t[25] = mJ, t[26] = hJ) : hJ = t[26];
20586
- let gJ = hJ;
20587
- y = Alert, E = f, t[27] === a ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = O), A = gJ, S = "flex flex-col gap-4", w = fJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A;
20588
- } else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
20589
- let M;
20590
- t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
20585
+ }), t[24] = pJ, t[25] = hJ, t[26] = gJ) : gJ = t[26];
20586
+ let vJ = gJ;
20587
+ y = Alert, E = f, t[27] === a ? A = t[28] : (A = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = A), M = vJ, S = "flex flex-col gap-4", w = fJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = A, t[16] = M;
20588
+ } else y = t[11], S = t[12], w = t[13], E = t[14], A = t[15], M = t[16];
20589
+ let I;
20590
+ t[29] !== S || t[30] !== w ? (I = (0, import_jsx_runtime.jsx)("div", {
20591
20591
  className: S,
20592
20592
  children: w
20593
- }), t[29] = S, t[30] = w, t[31] = M) : M = t[31];
20594
- let I;
20595
- return t[32] !== y || t[33] !== E || t[34] !== O || t[35] !== A || t[36] !== M ? (I = (0, import_jsx_runtime.jsxs)(y, {
20593
+ }), t[29] = S, t[30] = w, t[31] = I) : I = t[31];
20594
+ let z;
20595
+ return t[32] !== y || t[33] !== E || t[34] !== A || t[35] !== M || t[36] !== I ? (z = (0, import_jsx_runtime.jsxs)(y, {
20596
20596
  variant: E,
20597
- className: O,
20597
+ className: A,
20598
20598
  children: [
20599
- A,
20600
- M
20599
+ M,
20600
+ I
20601
20601
  ]
20602
- }), t[32] = y, t[33] = E, t[34] = O, t[35] = A, t[36] = M, t[37] = I) : I = t[37], I;
20602
+ }), t[32] = y, t[33] = E, t[34] = A, t[35] = M, t[36] = I, t[37] = z) : z = t[37], z;
20603
20603
  };
20604
20604
  function _temp$10(e) {
20605
20605
  return e.type === "interruption";
@@ -28731,47 +28731,47 @@ ${n}` : "Please fix this error.";
28731
28731
  else yJ === e2 && (t2 = null);
28732
28732
  bJ(t2), (_ ?? $) || hJ(false);
28733
28733
  }, t[37] = _, t[38] = $, t[39] = hJ, t[40] = bJ, t[41] = yJ, t[42] = CJ) : CJ = t[42];
28734
- let wJ = CJ, TJ;
28735
- t[43] !== uJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== yJ ? (TJ = () => $ && uJ && E ? E : yJ == null ? E ?? "--" : Array.isArray(yJ) ? yJ.length === 0 ? E ?? "--" : yJ.length === 1 && d !== void 0 ? d(yJ[0]) : `${yJ.length} selected` : d === void 0 ? E ?? "--" : d(yJ), t[43] = uJ, t[44] = d, t[45] = $, t[46] = E, t[47] = yJ, t[48] = TJ) : TJ = t[48];
28736
- let EJ = TJ, DJ;
28737
- t[49] !== wJ || t[50] !== SJ ? (DJ = {
28734
+ let wJ = CJ, EJ;
28735
+ t[43] !== uJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== yJ ? (EJ = () => $ && uJ && E ? E : yJ == null ? E ?? "--" : Array.isArray(yJ) ? yJ.length === 0 ? E ?? "--" : yJ.length === 1 && d !== void 0 ? d(yJ[0]) : `${yJ.length} selected` : d === void 0 ? E ?? "--" : d(yJ), t[43] = uJ, t[44] = d, t[45] = $, t[46] = E, t[47] = yJ, t[48] = EJ) : EJ = t[48];
28736
+ let DJ = EJ, OJ;
28737
+ t[49] !== wJ || t[50] !== SJ ? (OJ = {
28738
28738
  isSelected: SJ,
28739
28739
  onSelect: wJ
28740
- }, t[49] = wJ, t[50] = SJ, t[51] = DJ) : DJ = t[51];
28741
- let kJ = DJ, AJ;
28742
- t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (AJ = cn("relative"), t[52] = AJ) : AJ = t[52];
28743
- let jJ;
28744
- t[53] !== dJ || t[54] !== hJ ? (jJ = (e2) => {
28740
+ }, t[49] = wJ, t[50] = SJ, t[51] = OJ) : OJ = t[51];
28741
+ let kJ = OJ, jJ;
28742
+ t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (jJ = cn("relative"), t[52] = jJ) : jJ = t[52];
28743
+ let MJ;
28744
+ t[53] !== dJ || t[54] !== hJ ? (MJ = (e2) => {
28745
28745
  dJ && e2 || hJ(e2);
28746
- }, t[53] = dJ, t[54] = hJ, t[55] = jJ) : jJ = t[55];
28747
- let MJ = dJ && "cursor-not-allowed opacity-50", NJ;
28748
- t[56] !== a || t[57] !== MJ ? (NJ = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid", MJ, a), t[56] = a, t[57] = MJ, t[58] = NJ) : NJ = t[58];
28749
- let FJ;
28750
- t[59] !== O || t[60] !== EJ || t[61] !== yJ ? (FJ = O ? O(yJ ?? null) : EJ(), t[59] = O, t[60] = EJ, t[61] = yJ, t[62] = FJ) : FJ = t[62];
28746
+ }, t[53] = dJ, t[54] = hJ, t[55] = MJ) : MJ = t[55];
28747
+ let PJ = dJ && "cursor-not-allowed opacity-50", FJ;
28748
+ t[56] !== a || t[57] !== PJ ? (FJ = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid", PJ, a), t[56] = a, t[57] = PJ, t[58] = FJ) : FJ = t[58];
28751
28749
  let IJ;
28752
- t[63] === FJ ? IJ = t[64] : (IJ = (0, import_jsx_runtime.jsx)("span", {
28750
+ t[59] !== O || t[60] !== DJ || t[61] !== yJ ? (IJ = O ? O(yJ ?? null) : DJ(), t[59] = O, t[60] = DJ, t[61] = yJ, t[62] = IJ) : IJ = t[62];
28751
+ let LJ;
28752
+ t[63] === IJ ? LJ = t[64] : (LJ = (0, import_jsx_runtime.jsx)("span", {
28753
28753
  className: "truncate flex-1 min-w-0",
28754
- children: FJ
28755
- }), t[63] = FJ, t[64] = IJ);
28754
+ children: IJ
28755
+ }), t[63] = IJ, t[64] = LJ);
28756
28756
  let RJ;
28757
28757
  t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (RJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
28758
28758
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28759
28759
  }), t[65] = RJ) : RJ = t[65];
28760
28760
  let zJ;
28761
- t[66] !== dJ || t[67] !== h || t[68] !== gJ || t[69] !== NJ || t[70] !== IJ ? (zJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28761
+ t[66] !== dJ || t[67] !== h || t[68] !== gJ || t[69] !== FJ || t[70] !== LJ ? (zJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28762
28762
  asChild: true,
28763
28763
  children: (0, import_jsx_runtime.jsxs)("button", {
28764
28764
  id: h,
28765
28765
  type: "button",
28766
- className: NJ,
28766
+ className: FJ,
28767
28767
  "aria-expanded": gJ,
28768
28768
  "aria-disabled": dJ,
28769
28769
  children: [
28770
- IJ,
28770
+ LJ,
28771
28771
  RJ
28772
28772
  ]
28773
28773
  })
28774
- }), t[66] = dJ, t[67] = h, t[68] = gJ, t[69] = NJ, t[70] = IJ, t[71] = zJ) : zJ = t[71];
28774
+ }), t[66] = dJ, t[67] = h, t[68] = gJ, t[69] = FJ, t[70] = LJ, t[71] = zJ) : zJ = t[71];
28775
28775
  let BJ;
28776
28776
  t[72] !== cJ || t[73] !== y || t[74] !== M ? (BJ = (0, import_jsx_runtime.jsx)(CommandInput, {
28777
28777
  placeholder: cJ,
@@ -28811,14 +28811,14 @@ ${n}` : "Please fix this error.";
28811
28811
  })
28812
28812
  }), t[84] = f, t[85] = sJ, t[86] = BJ, t[87] = UJ, t[88] = WJ) : WJ = t[88];
28813
28813
  let GJ;
28814
- t[89] !== gJ || t[90] !== jJ || t[91] !== zJ || t[92] !== WJ ? (GJ = (0, import_jsx_runtime.jsxs)(Popover, {
28814
+ t[89] !== gJ || t[90] !== MJ || t[91] !== zJ || t[92] !== WJ ? (GJ = (0, import_jsx_runtime.jsxs)(Popover, {
28815
28815
  open: gJ,
28816
- onOpenChange: jJ,
28816
+ onOpenChange: MJ,
28817
28817
  children: [
28818
28818
  zJ,
28819
28819
  WJ
28820
28820
  ]
28821
- }), t[89] = gJ, t[90] = jJ, t[91] = zJ, t[92] = WJ, t[93] = GJ) : GJ = t[93];
28821
+ }), t[89] = gJ, t[90] = MJ, t[91] = zJ, t[92] = WJ, t[93] = GJ) : GJ = t[93];
28822
28822
  let KJ;
28823
28823
  t[94] !== uJ || t[95] !== i || t[96] !== dJ || t[97] !== d || t[98] !== wJ || t[99] !== $ || t[100] !== yJ ? (KJ = $ && uJ && (0, import_jsx_runtime.jsx)("div", {
28824
28824
  className: cn("flex flex-col gap-1 items-start", i),
@@ -28837,7 +28837,7 @@ ${n}` : "Please fix this error.";
28837
28837
  }), t[94] = uJ, t[95] = i, t[96] = dJ, t[97] = d, t[98] = wJ, t[99] = $, t[100] = yJ, t[101] = KJ) : KJ = t[101];
28838
28838
  let qJ;
28839
28839
  return t[102] !== A || t[103] !== GJ || t[104] !== KJ ? (qJ = (0, import_jsx_runtime.jsxs)("div", {
28840
- className: AJ,
28840
+ className: jJ,
28841
28841
  ...A,
28842
28842
  children: [
28843
28843
  GJ,
@@ -29594,12 +29594,12 @@ ${n}` : "Please fix this error.";
29594
29594
  onChange: E,
29595
29595
  className: s
29596
29596
  }, c), t[31] = s, t[32] = n, t[33] = E, t[34] = c, t[35] = A, t[36] = M) : M = t[36];
29597
- let z;
29598
- return t[37] !== S || t[38] !== M ? (z = (0, import_jsx_runtime.jsx)("div", {
29597
+ let I;
29598
+ return t[37] !== S || t[38] !== M ? (I = (0, import_jsx_runtime.jsx)("div", {
29599
29599
  onPasteCapture: S,
29600
29600
  className: "contents",
29601
29601
  children: M
29602
- }), t[37] = S, t[38] = M, t[39] = z) : z = t[39], z;
29602
+ }), t[37] = S, t[38] = M, t[39] = I) : I = t[39], I;
29603
29603
  };
29604
29604
  function _temp$5(e) {
29605
29605
  return e + 1;
@@ -30263,7 +30263,7 @@ ${n}` : "Please fix this error.";
30263
30263
  type: S,
30264
30264
  operator: E,
30265
30265
  draft: mergeNumberTextDraft(A, I)
30266
- }), $ = Q === void 0, sJ = $ ? getMissingValueMessage(S, E) : "Apply filter", lJ = () => {
30266
+ }), $ = Q === void 0, sJ = $ ? getMissingValueMessage(S, E) : "Apply filter", cJ = () => {
30267
30267
  if (!Q) return;
30268
30268
  let e2 = Q;
30269
30269
  t.setColumnFilters((t2) => {
@@ -30282,20 +30282,20 @@ ${n}` : "Please fix this error.";
30282
30282
  value: e2
30283
30283
  }, n2;
30284
30284
  }), i();
30285
- }, uJ = () => {
30285
+ }, lJ = () => {
30286
30286
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
30287
- }, dJ = !OPERATORS_WITHOUT_VALUE.has(E), fJ = OPERATORS_BY_TYPE[S], pJ = (0, import_react.useRef)(null), mJ = (0, import_react.useRef)(null);
30287
+ }, uJ = !OPERATORS_WITHOUT_VALUE.has(E), dJ = OPERATORS_BY_TYPE[S], fJ = (0, import_react.useRef)(null), pJ = (0, import_react.useRef)(null);
30288
30288
  return (0, import_react.useEffect)(() => {
30289
30289
  var _a2, _b;
30290
- let e2 = (_a2 = pJ.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
30291
- e2 ? e2.focus() : (_b = mJ.current) == null ? void 0 : _b.focus();
30290
+ let e2 = (_a2 = fJ.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
30291
+ e2 ? e2.focus() : (_b = pJ.current) == null ? void 0 : _b.focus();
30292
30292
  }, [
30293
30293
  S,
30294
30294
  E
30295
30295
  ]), (0, import_jsx_runtime.jsxs)("form", {
30296
30296
  className: "flex flex-row gap-4 items-end p-3",
30297
30297
  onSubmit: (e2) => {
30298
- e2.preventDefault(), lJ();
30298
+ e2.preventDefault(), cJ();
30299
30299
  },
30300
30300
  onKeyDownCapture: (e2) => {
30301
30301
  e2.key === "Tab" && e2.stopPropagation();
@@ -30336,13 +30336,13 @@ ${n}` : "Please fix this error.";
30336
30336
  onValueChange: (e2) => J(e2),
30337
30337
  children: [
30338
30338
  (0, import_jsx_runtime.jsx)(SelectTrigger, {
30339
- ref: mJ,
30339
+ ref: pJ,
30340
30340
  id: s,
30341
30341
  className: "h-6 mb-1 bg-transparent",
30342
30342
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
30343
30343
  }),
30344
30344
  (0, import_jsx_runtime.jsx)(SelectContent, {
30345
- children: fJ.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
30345
+ children: dJ.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
30346
30346
  value: e2,
30347
30347
  children: OPERATOR_LABELS[e2]
30348
30348
  }, e2))
@@ -30351,8 +30351,8 @@ ${n}` : "Please fix this error.";
30351
30351
  }, S)
30352
30352
  ]
30353
30353
  }),
30354
- dJ && (0, import_jsx_runtime.jsxs)("div", {
30355
- ref: pJ,
30354
+ uJ && (0, import_jsx_runtime.jsxs)("div", {
30355
+ ref: fJ,
30356
30356
  className: "flex flex-col gap-1",
30357
30357
  children: [
30358
30358
  (0, import_jsx_runtime.jsx)("label", {
@@ -30418,7 +30418,7 @@ ${n}` : "Please fix this error.";
30418
30418
  size: "icon",
30419
30419
  variant: "ghost",
30420
30420
  className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
30421
- onClick: uJ,
30421
+ onClick: lJ,
30422
30422
  "aria-label": "Remove filter",
30423
30423
  children: (0, import_jsx_runtime.jsx)(Trash2, {
30424
30424
  className: "h-3.5 w-3.5",
@@ -34596,14 +34596,14 @@ ${d}`,
34596
34596
  triggerImmediately: e2
34597
34597
  });
34598
34598
  }, t[12] = d, t[13] = n, t[14] = K) : K = t[14];
34599
- let q = K, J;
34600
- t[15] !== a || t[16] !== d || t[17] !== _ ? (J = () => {
34599
+ let q = K, Q;
34600
+ t[15] !== a || t[16] !== d || t[17] !== _ ? (Q = () => {
34601
34601
  _({
34602
34602
  prompt: buildFixInChatPrompt(a, d)
34603
34603
  });
34604
- }, t[15] = a, t[16] = d, t[17] = _, t[18] = J) : J = t[18];
34605
- let Q = J, $;
34606
- t[19] === z ? $ = t[20] : ($ = () => U(!z), t[19] = z, t[20] = $);
34604
+ }, t[15] = a, t[16] = d, t[17] = _, t[18] = Q) : Q = t[18];
34605
+ let $ = Q, sJ;
34606
+ t[19] === z ? sJ = t[20] : (sJ = () => U(!z), t[19] = z, t[20] = sJ);
34607
34607
  let cJ = z ? "Collapse traceback" : "Expand traceback", lJ;
34608
34608
  t[21] === z ? lJ = t[22] : (lJ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
34609
34609
  className: "h-3 w-3"
@@ -34615,10 +34615,10 @@ ${d}`,
34615
34615
  className: "text-[0.6875rem] uppercase tracking-wider",
34616
34616
  children: "Traceback"
34617
34617
  }), t[23] = uJ) : uJ = t[23];
34618
- let fJ;
34619
- t[24] !== z || t[25] !== lJ || t[26] !== $ || t[27] !== cJ ? (fJ = (0, import_jsx_runtime.jsxs)("button", {
34618
+ let dJ;
34619
+ t[24] !== z || t[25] !== lJ || t[26] !== sJ || t[27] !== cJ ? (dJ = (0, import_jsx_runtime.jsxs)("button", {
34620
34620
  type: "button",
34621
- onClick: $,
34621
+ onClick: sJ,
34622
34622
  "aria-expanded": z,
34623
34623
  "aria-label": cJ,
34624
34624
  className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
@@ -34626,21 +34626,21 @@ ${d}`,
34626
34626
  lJ,
34627
34627
  uJ
34628
34628
  ]
34629
- }), t[24] = z, t[25] = lJ, t[26] = $, t[27] = cJ, t[28] = fJ) : fJ = t[28];
34630
- let pJ;
34631
- t[29] !== s || t[30] !== z ? (pJ = z && (0, import_jsx_runtime.jsx)("div", {
34629
+ }), t[24] = z, t[25] = lJ, t[26] = sJ, t[27] = cJ, t[28] = dJ) : dJ = t[28];
34630
+ let fJ;
34631
+ t[29] !== s || t[30] !== z ? (fJ = z && (0, import_jsx_runtime.jsx)("div", {
34632
34632
  className: "text-muted-foreground pr-4 text-xs overflow-auto",
34633
34633
  children: s
34634
- }), t[29] = s, t[30] = z, t[31] = pJ) : pJ = t[31];
34635
- let mJ;
34636
- t[32] !== q || t[33] !== Q || t[34] !== M ? (mJ = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
34634
+ }), t[29] = s, t[30] = z, t[31] = fJ) : fJ = t[31];
34635
+ let pJ;
34636
+ t[32] !== q || t[33] !== $ || t[34] !== M ? (pJ = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
34637
34637
  tooltip: "Fix with AI",
34638
34638
  openPrompt: () => q(false),
34639
34639
  applyAutofix: () => q(true),
34640
- openChat: Q
34641
- }), t[32] = q, t[33] = Q, t[34] = M, t[35] = mJ) : mJ = t[35];
34642
- let hJ;
34643
- t[36] !== O || t[37] !== S ? (hJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
34640
+ openChat: $
34641
+ }), t[32] = q, t[33] = $, t[34] = M, t[35] = pJ) : pJ = t[35];
34642
+ let mJ;
34643
+ t[36] !== O || t[37] !== S ? (mJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
34644
34644
  content: "Attach pdb to the exception point.",
34645
34645
  children: (0, import_jsx_runtime.jsxs)(Button, {
34646
34646
  size: "xs",
@@ -34657,9 +34657,9 @@ ${d}`,
34657
34657
  "Launch debugger"
34658
34658
  ]
34659
34659
  })
34660
- }), t[36] = O, t[37] = S, t[38] = hJ) : hJ = t[38];
34661
- let gJ;
34662
- t[39] !== d || t[40] !== i ? (gJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
34660
+ }), t[36] = O, t[37] = S, t[38] = mJ) : mJ = t[38];
34661
+ let hJ;
34662
+ t[39] !== d || t[40] !== i ? (hJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
34663
34663
  children: [
34664
34664
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
34665
34665
  asChild: true,
@@ -34727,25 +34727,25 @@ ${d}`,
34727
34727
  ]
34728
34728
  })
34729
34729
  ]
34730
- }), t[39] = d, t[40] = i, t[41] = gJ) : gJ = t[41];
34731
- let _J;
34732
- t[42] !== mJ || t[43] !== hJ || t[44] !== gJ ? (_J = (0, import_jsx_runtime.jsxs)("div", {
34730
+ }), t[39] = d, t[40] = i, t[41] = hJ) : hJ = t[41];
34731
+ let gJ;
34732
+ t[42] !== pJ || t[43] !== mJ || t[44] !== hJ ? (gJ = (0, import_jsx_runtime.jsxs)("div", {
34733
34733
  className: "flex gap-2",
34734
34734
  children: [
34735
+ pJ,
34735
34736
  mJ,
34736
- hJ,
34737
- gJ
34737
+ hJ
34738
34738
  ]
34739
- }), t[42] = mJ, t[43] = hJ, t[44] = gJ, t[45] = _J) : _J = t[45];
34740
- let vJ;
34741
- return t[46] !== fJ || t[47] !== pJ || t[48] !== _J ? (vJ = (0, import_jsx_runtime.jsxs)("div", {
34739
+ }), t[42] = pJ, t[43] = mJ, t[44] = hJ, t[45] = gJ) : gJ = t[45];
34740
+ let _J;
34741
+ return t[46] !== dJ || t[47] !== fJ || t[48] !== gJ ? (_J = (0, import_jsx_runtime.jsxs)("div", {
34742
34742
  className: "flex flex-col gap-2 min-w-full w-fit",
34743
34743
  children: [
34744
+ dJ,
34744
34745
  fJ,
34745
- pJ,
34746
- _J
34746
+ gJ
34747
34747
  ]
34748
- }), t[46] = fJ, t[47] = pJ, t[48] = _J, t[49] = vJ) : vJ = t[49], vJ;
34748
+ }), t[46] = dJ, t[47] = fJ, t[48] = gJ, t[49] = _J) : _J = t[49], _J;
34749
34749
  };
34750
34750
  function lastLine(e) {
34751
34751
  var _a2, _b;
@@ -36313,7 +36313,7 @@ ${d}`,
36313
36313
  return Logger.warn("Failed to get version from mount config"), null;
36314
36314
  }
36315
36315
  }
36316
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev13");
36316
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev16");
36317
36317
  showCodeInRunModeAtom = atom(true);
36318
36318
  atom(null);
36319
36319
  var import_compiler_runtime = require_compiler_runtime();
@@ -2,7 +2,7 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { h as cn, r as cva } from "./button-BSm8IXRU.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { t as toDate } from "./toDate-CmR_xR3P.js";
5
+ import { t as toDate } from "./toDate-CqhBWjvO.js";
6
6
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
7
7
  import { i as tableFromIPC } from "./loader-DX-IDS7n.js";
8
8
  function isDate(e) {