@w5-ui/wc 0.3.0 → 0.5.0

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/index.js CHANGED
@@ -1000,7 +1000,7 @@ class Batch {
1000
1000
  }
1001
1001
  }
1002
1002
  }
1003
- if (batch.#roots.length > 0) {
1003
+ if (batch.#roots.length > 0 && !batch.#decrement_queued) {
1004
1004
  batch.apply();
1005
1005
  for (var root2 of batch.#roots) {
1006
1006
  batch.#traverse(root2, [], []);
@@ -3198,7 +3198,10 @@ function get(signal) {
3198
3198
  }
3199
3199
  }
3200
3200
  } else {
3201
- (active_reaction.deps ??= []).push(signal);
3201
+ active_reaction.deps ??= [];
3202
+ if (!includes.call(active_reaction.deps, signal)) {
3203
+ active_reaction.deps.push(signal);
3204
+ }
3202
3205
  var reactions = signal.reactions;
3203
3206
  if (reactions === null) {
3204
3207
  signal.reactions = [active_reaction];
@@ -4577,6 +4580,17 @@ function component(node, get_component, render_fn) {
4577
4580
  branches.ensure(component2, component2 && ((target) => render_fn(target, component2)));
4578
4581
  }, EFFECT_TRANSPARENT);
4579
4582
  }
4583
+ function action(dom, action2, get_value) {
4584
+ effect(() => {
4585
+ var payload = untrack(() => action2(dom, get_value?.()) || {});
4586
+ if (payload?.destroy) {
4587
+ return () => (
4588
+ /** @type {Function} */
4589
+ payload.destroy()
4590
+ );
4591
+ }
4592
+ });
4593
+ }
4580
4594
  function attach(node, get_fn) {
4581
4595
  var fn = void 0;
4582
4596
  var e;
@@ -5837,9 +5851,9 @@ function create_custom_element(Component, props_definition, slots, exports, shad
5837
5851
  Class;
5838
5852
  return Class;
5839
5853
  }
5840
- var root$2G = /* @__PURE__ */ from_html(`<div class="flex flex-col"><!></div>`);
5854
+ var root$2H = /* @__PURE__ */ from_html(`<div class="flex flex-col"><!></div>`);
5841
5855
  function Accordion($$anchor, $$props) {
5842
- var div = root$2G();
5856
+ var div = root$2H();
5843
5857
  var node = child(div);
5844
5858
  snippet(node, () => $$props.children ?? noop);
5845
5859
  reset(div);
@@ -5856,6 +5870,93 @@ function Accordion_wc($$anchor, $$props) {
5856
5870
  });
5857
5871
  }
5858
5872
  customElements.define("uni-accordion", create_custom_element(Accordion_wc, {}, ["default"], [], { mode: "open" }));
5873
+ var root_1$2b = /* @__PURE__ */ from_html(`<div role="region"><div class="pb-2.5"><!></div></div>`);
5874
+ var root$2G = /* @__PURE__ */ from_html(`<div class="border-b border-border-1 last:border-b-0"><h3 class="m-0"><button type="button" class="flex w-full cursor-pointer items-center justify-between gap-2.5 border-0 bg-transparent py-2.5 text-left text-13 font-medium leading-[1.4] text-text-1 transition-colors duration-100 hover:text-text-link focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><span> </span> <svg viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button></h3> <!></div>`);
5875
+ function AccordionItem($$anchor, $$props) {
5876
+ push($$props, true);
5877
+ let defaultOpen = prop($$props, "defaultOpen", 3, false);
5878
+ let open = /* @__PURE__ */ state(proxy(defaultOpen()));
5879
+ const uid2 = Math.random().toString(36).slice(2, 9);
5880
+ const btnId = `acc-btn-${uid2}`;
5881
+ const panelId = `acc-panel-${uid2}`;
5882
+ var div = root$2G();
5883
+ var h3 = child(div);
5884
+ var button = child(h3);
5885
+ var span = child(button);
5886
+ var text2 = child(span, true);
5887
+ reset(span);
5888
+ var svg = sibling(span, 2);
5889
+ reset(button);
5890
+ reset(h3);
5891
+ var node = sibling(h3, 2);
5892
+ {
5893
+ var consequent = ($$anchor2) => {
5894
+ var div_1 = root_1$2b();
5895
+ var div_2 = child(div_1);
5896
+ var node_1 = child(div_2);
5897
+ snippet(node_1, () => $$props.children ?? noop);
5898
+ reset(div_2);
5899
+ reset(div_1);
5900
+ template_effect(() => {
5901
+ set_attribute(div_1, "id", panelId);
5902
+ set_attribute(div_1, "aria-labelledby", btnId);
5903
+ });
5904
+ append($$anchor2, div_1);
5905
+ };
5906
+ if_block(node, ($$render) => {
5907
+ if (get(open)) $$render(consequent);
5908
+ });
5909
+ }
5910
+ reset(div);
5911
+ template_effect(() => {
5912
+ set_attribute(button, "id", btnId);
5913
+ set_attribute(button, "aria-expanded", get(open));
5914
+ set_attribute(button, "aria-controls", panelId);
5915
+ set_text(text2, $$props.title);
5916
+ set_class(svg, 0, `h-3.5 w-3.5 shrink-0 text-text-4 transition-transform duration-200 motion-reduce:transition-none ${get(open) ? "rotate-180" : ""}`);
5917
+ });
5918
+ delegated("click", button, () => set(open, !get(open)));
5919
+ append($$anchor, div);
5920
+ pop();
5921
+ }
5922
+ delegate(["click"]);
5923
+ function AccordionItem_wc($$anchor, $$props) {
5924
+ push($$props, true);
5925
+ let title = prop($$props, "title", 7, void 0), defaultOpen = prop($$props, "defaultOpen", 7, false);
5926
+ var $$exports = {
5927
+ get title() {
5928
+ return title();
5929
+ },
5930
+ set title($$value = void 0) {
5931
+ title($$value);
5932
+ flushSync();
5933
+ },
5934
+ get defaultOpen() {
5935
+ return defaultOpen();
5936
+ },
5937
+ set defaultOpen($$value = false) {
5938
+ defaultOpen($$value);
5939
+ flushSync();
5940
+ }
5941
+ };
5942
+ AccordionItem($$anchor, {
5943
+ get title() {
5944
+ return title();
5945
+ },
5946
+ get defaultOpen() {
5947
+ return defaultOpen();
5948
+ },
5949
+ children: ($$anchor2, $$slotProps) => {
5950
+ var fragment_1 = comment();
5951
+ var node = first_child(fragment_1);
5952
+ slot(node, $$props, "default", {});
5953
+ append($$anchor2, fragment_1);
5954
+ },
5955
+ $$slots: { default: true }
5956
+ });
5957
+ return pop($$exports);
5958
+ }
5959
+ customElements.define("uni-accordion-item", create_custom_element(AccordionItem_wc, { title: {}, defaultOpen: {} }, ["default"], [], { mode: "open" }));
5859
5960
  let counter$t = 0;
5860
5961
  var root_2$1M = /* @__PURE__ */ from_html(`<li role="menuitem" class="flex cursor-pointer items-center whitespace-nowrap rounded-[5px] px-2.5 py-1.5 text-13 text-text-2 outline-none hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 data-[danger=true]:text-status-danger data-[danger=true]:hover:bg-status-danger/10 aria-disabled:cursor-not-allowed aria-disabled:opacity-40"> </li>`);
5861
5962
  var root_1$2a = /* @__PURE__ */ from_html(`<ul role="menu" class="absolute right-0 top-[calc(100%+4px)] z-[9100] m-0 min-w-[148px] list-none rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"></ul>`);
@@ -6284,7 +6385,7 @@ function Alert_wc($$anchor, $$props) {
6284
6385
  customElements.define("uni-alert", create_custom_element(Alert_wc, { variant: {} }, ["default"], [], { mode: "open" }));
6285
6386
  var root_2$1K = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
6286
6387
  var root_3$17 = /* @__PURE__ */ from_svg(`<line stroke-width="1" stroke-dasharray="3,2" opacity="0.85"></line><text font-size="7" font-family="inherit"> </text>`, 1);
6287
- var root_4$X = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" font-family="inherit"> </text>`);
6388
+ var root_4$Y = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" font-family="inherit"> </text>`);
6288
6389
  var root_1$28 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><path fill-opacity="0.08"></path><path fill="none" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"></path><!><!></svg></div>`);
6289
6390
  function AnnotatedTimeSeries($$anchor, $$props) {
6290
6391
  push($$props, true);
@@ -6366,7 +6467,7 @@ function AnnotatedTimeSeries($$anchor, $$props) {
6366
6467
  });
6367
6468
  var node_3 = sibling(node_2);
6368
6469
  each(node_3, 17, () => get(xLabels), (l) => l.i, ($$anchor3, l) => {
6369
- var text_4 = root_4$X();
6470
+ var text_4 = root_4$Y();
6370
6471
  var text_5 = child(text_4, true);
6371
6472
  reset(text_4);
6372
6473
  template_effect(() => {
@@ -6580,7 +6681,7 @@ function AppLayout_wc($$anchor, $$props) {
6580
6681
  customElements.define("uni-app-layout", create_custom_element(AppLayout_wc, { pageLabel: {}, class: {} }, ["default"], [], { mode: "open" }));
6581
6682
  var root_2$1J = /* @__PURE__ */ from_svg(`<path fill="none"></path>`);
6582
6683
  var root_3$16 = /* @__PURE__ */ from_svg(`<circle></circle>`);
6583
- var root_4$W = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#A4A7B5" font-family="inherit"> </text>`);
6684
+ var root_4$X = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#A4A7B5" font-family="inherit"> </text>`);
6584
6685
  var root_1$27 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><line stroke="rgba(255,255,255,0.08)"></line><!><!><!></svg></div>`);
6585
6686
  function ArcDiagram($$anchor, $$props) {
6586
6687
  push($$props, true);
@@ -6663,7 +6764,7 @@ function ArcDiagram($$anchor, $$props) {
6663
6764
  });
6664
6765
  var node_4 = sibling(node_3);
6665
6766
  each(node_4, 17, () => get(layout).dots, index, ($$anchor3, dot) => {
6666
- var text2 = root_4$W();
6767
+ var text2 = root_4$X();
6667
6768
  set_attribute(text2, "font-size", 9);
6668
6769
  var text_1 = child(text2, true);
6669
6770
  reset(text2);
@@ -6752,7 +6853,7 @@ function ArcDiagram_wc($$anchor, $$props) {
6752
6853
  customElements.define("uni-arc-diagram", create_custom_element(ArcDiagram_wc, { nodes: {}, links: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
6753
6854
  var root_1$26 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
6754
6855
  var root_2$1I = /* @__PURE__ */ from_svg(`<path fill-opacity="0.75"></path>`);
6755
- var root_4$V = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
6856
+ var root_4$W = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
6756
6857
  var root$2y = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
6757
6858
  function AreaChart($$anchor, $$props) {
6758
6859
  push($$props, true);
@@ -6811,7 +6912,7 @@ function AreaChart($$anchor, $$props) {
6811
6912
  var node_3 = first_child(fragment);
6812
6913
  each(node_3, 17, labels, index, ($$anchor3, lbl, i) => {
6813
6914
  const x = /* @__PURE__ */ user_derived(() => PAD.l + (labels().length > 1 ? i / (labels().length - 1) * get(chartW) : get(chartW) / 2));
6814
- var text2 = root_4$V();
6915
+ var text2 = root_4$W();
6815
6916
  var text_1 = child(text2, true);
6816
6917
  reset(text2);
6817
6918
  template_effect(() => {
@@ -7304,7 +7405,7 @@ var root_2$1G = /* @__PURE__ */ from_html(`<button type="button" class="h-6 shri
7304
7405
  var root$2u = /* @__PURE__ */ from_html(`<div aria-atomic="true"><div class="flex flex-1 flex-wrap items-baseline gap-x-2 gap-y-0.5"><!> <span><!></span></div> <!> <!></div>`);
7305
7406
  function Banner($$anchor, $$props) {
7306
7407
  push($$props, true);
7307
- let variant = prop($$props, "variant", 3, "info"), title = prop($$props, "title", 3, void 0), action = prop($$props, "action", 3, void 0), onDismiss = prop($$props, "onDismiss", 3, void 0);
7408
+ let variant = prop($$props, "variant", 3, "info"), title = prop($$props, "title", 3, void 0), action2 = prop($$props, "action", 3, void 0), onDismiss = prop($$props, "onDismiss", 3, void 0);
7308
7409
  let isUrgent = /* @__PURE__ */ user_derived(() => variant() === "danger" || variant() === "warn");
7309
7410
  const BANNER = {
7310
7411
  info: "bg-status-info/10 border-t-brand-05 text-status-info",
@@ -7347,14 +7448,14 @@ function Banner($$anchor, $$props) {
7347
7448
  var button = root_2$1G();
7348
7449
  var text_1 = child(button, true);
7349
7450
  reset(button);
7350
- template_effect(() => set_text(text_1, action().label));
7451
+ template_effect(() => set_text(text_1, action2().label));
7351
7452
  delegated("click", button, function(...$$args) {
7352
- action().onClick?.apply(this, $$args);
7453
+ action2().onClick?.apply(this, $$args);
7353
7454
  });
7354
7455
  append($$anchor2, button);
7355
7456
  };
7356
7457
  if_block(node_2, ($$render) => {
7357
- if (action()) $$render(consequent_1);
7458
+ if (action2()) $$render(consequent_1);
7358
7459
  });
7359
7460
  }
7360
7461
  var node_3 = sibling(node_2, 2);
@@ -7390,7 +7491,7 @@ function Banner($$anchor, $$props) {
7390
7491
  delegate(["click"]);
7391
7492
  function Banner_wc($$anchor, $$props) {
7392
7493
  push($$props, true);
7393
- let variant = prop($$props, "variant", 7, "info"), title = prop($$props, "title", 7, void 0), action = prop($$props, "action", 7, void 0);
7494
+ let variant = prop($$props, "variant", 7, "info"), title = prop($$props, "title", 7, void 0), action2 = prop($$props, "action", 7, void 0);
7394
7495
  var $$exports = {
7395
7496
  get variant() {
7396
7497
  return variant();
@@ -7407,10 +7508,10 @@ function Banner_wc($$anchor, $$props) {
7407
7508
  flushSync();
7408
7509
  },
7409
7510
  get action() {
7410
- return action();
7511
+ return action2();
7411
7512
  },
7412
7513
  set action($$value = void 0) {
7413
- action($$value);
7514
+ action2($$value);
7414
7515
  flushSync();
7415
7516
  }
7416
7517
  };
@@ -7422,7 +7523,7 @@ function Banner_wc($$anchor, $$props) {
7422
7523
  return title();
7423
7524
  },
7424
7525
  get action() {
7425
- return action();
7526
+ return action2();
7426
7527
  },
7427
7528
  children: ($$anchor2, $$slotProps) => {
7428
7529
  var fragment_1 = comment();
@@ -7437,7 +7538,7 @@ function Banner_wc($$anchor, $$props) {
7437
7538
  customElements.define("uni-banner", create_custom_element(Banner_wc, { variant: {}, title: {}, action: {} }, ["default"], [], { mode: "open" }));
7438
7539
  var root_1$21 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
7439
7540
  var root_2$1F = /* @__PURE__ */ from_svg(`<rect fill-opacity="0.9" rx="2"></rect>`);
7440
- var root_4$U = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9"> </text>`);
7541
+ var root_4$V = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9"> </text>`);
7441
7542
  var root$2t = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
7442
7543
  function BarChart($$anchor, $$props) {
7443
7544
  push($$props, true);
@@ -7498,7 +7599,7 @@ function BarChart($$anchor, $$props) {
7498
7599
  var node_3 = first_child(fragment);
7499
7600
  each(node_3, 17, labels, index, ($$anchor3, lbl, i) => {
7500
7601
  const x = /* @__PURE__ */ user_derived(() => (PAD.l + (i + 0.5) * get(gw)).toFixed(1));
7501
- var text2 = root_4$U();
7602
+ var text2 = root_4$V();
7502
7603
  var text_1 = child(text2, true);
7503
7604
  reset(text2);
7504
7605
  template_effect(() => {
@@ -7581,7 +7682,7 @@ function BarChart_wc($$anchor, $$props) {
7581
7682
  }
7582
7683
  customElements.define("uni-bar-chart", create_custom_element(BarChart_wc, { series: {}, labels: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
7583
7684
  var root_2$1E = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
7584
- var root_4$T = /* @__PURE__ */ from_svg(`<circle fill-opacity="0.75"></circle>`);
7685
+ var root_4$U = /* @__PURE__ */ from_svg(`<circle fill-opacity="0.75"></circle>`);
7585
7686
  var root_3$14 = /* @__PURE__ */ from_svg(`<g><!><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text></g>`);
7586
7687
  var root_1$20 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
7587
7688
  function BeeswarmChart($$anchor, $$props) {
@@ -7679,7 +7780,7 @@ function BeeswarmChart($$anchor, $$props) {
7679
7780
  var g = root_3$14();
7680
7781
  var node_3 = child(g);
7681
7782
  each(node_3, 17, () => get(pts), index, ($$anchor4, p) => {
7682
- var circle = root_4$T();
7783
+ var circle = root_4$U();
7683
7784
  template_effect(() => {
7684
7785
  set_attribute(circle, "cx", get(cx) + get(p).x);
7685
7786
  set_attribute(circle, "cy", get(p).y);
@@ -8039,8 +8140,8 @@ function BoxPlot_wc($$anchor, $$props) {
8039
8140
  customElements.define("uni-box-plot", create_custom_element(BoxPlot_wc, { series: {}, yRange: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
8040
8141
  var root_2$1C = /* @__PURE__ */ from_html(`<span aria-current="page" class="font-medium text-text-2"> </span>`);
8041
8142
  var root_3$13 = /* @__PURE__ */ from_html(`<a class="cursor-pointer text-text-4 no-underline transition-colors duration-100 hover:text-text-2 focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"> </a>`);
8042
- var root_4$S = /* @__PURE__ */ from_html(`<button type="button" class="cursor-pointer border-0 bg-transparent p-0 font-[inherit] text-text-4 transition-colors duration-100 hover:text-text-2 focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"> </button>`);
8043
- var root_5$w = /* @__PURE__ */ from_html(`<span class="select-none text-border-3" aria-hidden="true">/</span>`);
8143
+ var root_4$T = /* @__PURE__ */ from_html(`<button type="button" class="cursor-pointer border-0 bg-transparent p-0 font-[inherit] text-text-4 transition-colors duration-100 hover:text-text-2 focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"> </button>`);
8144
+ var root_5$x = /* @__PURE__ */ from_html(`<span class="select-none text-border-3" aria-hidden="true">/</span>`);
8044
8145
  var root_1$1_ = /* @__PURE__ */ from_html(`<li class="flex items-center gap-1.5"><!> <!></li>`);
8045
8146
  var root$2p = /* @__PURE__ */ from_html(`<nav aria-label="Breadcrumb"><ol class="m-0 flex flex-wrap items-center gap-x-1.5 gap-y-0.5 p-0 text-12 [list-style:none]"></ol></nav>`);
8046
8147
  function Breadcrumb($$anchor, $$props) {
@@ -8071,7 +8172,7 @@ function Breadcrumb($$anchor, $$props) {
8071
8172
  append($$anchor3, a);
8072
8173
  };
8073
8174
  var alternate = ($$anchor3) => {
8074
- var button = root_4$S();
8175
+ var button = root_4$T();
8075
8176
  var text_2 = child(button, true);
8076
8177
  reset(button);
8077
8178
  template_effect(() => set_text(text_2, get(item).label));
@@ -8087,7 +8188,7 @@ function Breadcrumb($$anchor, $$props) {
8087
8188
  var node_1 = sibling(node, 2);
8088
8189
  {
8089
8190
  var consequent_2 = ($$anchor3) => {
8090
- var span_1 = root_5$w();
8191
+ var span_1 = root_5$x();
8091
8192
  append($$anchor3, span_1);
8092
8193
  };
8093
8194
  if_block(node_1, ($$render) => {
@@ -8457,7 +8558,7 @@ function BulletChart_wc($$anchor, $$props) {
8457
8558
  customElements.define("uni-bullet-chart", create_custom_element(BulletChart_wc, { items: {}, max: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
8458
8559
  var root_1$1X = /* @__PURE__ */ from_svg(`<g><line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text></g>`);
8459
8560
  var root_2$1z = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.04)" stroke-width="1"></line>`);
8460
- var root_4$R = /* @__PURE__ */ from_svg(`<circle stroke="#1A1F2E" stroke-width="1.5"></circle>`);
8561
+ var root_4$S = /* @__PURE__ */ from_svg(`<circle stroke="#1A1F2E" stroke-width="1.5"></circle>`);
8461
8562
  var root_3$12 = /* @__PURE__ */ from_svg(`<g><path fill="none" stroke-width="2.5" opacity="0.85"></path><!><text font-size="10" font-family="inherit"> </text></g>`);
8462
8563
  var root$2m = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
8463
8564
  function BumpChart($$anchor, $$props) {
@@ -8545,7 +8646,7 @@ function BumpChart($$anchor, $$props) {
8545
8646
  var path = child(g_1);
8546
8647
  var node_3 = sibling(path);
8547
8648
  each(node_3, 17, () => get(s).ranks, index, ($$anchor3, rank, i) => {
8548
- var circle = root_4$R();
8649
+ var circle = root_4$S();
8549
8650
  set_attribute(circle, "r", DOT_R);
8550
8651
  template_effect(
8551
8652
  ($0, $1) => {
@@ -9031,7 +9132,7 @@ function CIDRInput_wc($$anchor, $$props) {
9031
9132
  customElements.define("uni-cidrinput", create_custom_element(CIDRInput_wc, { label: {}, value: {}, disabled: {}, class: {} }, ["default"], [], { mode: "open" }));
9032
9133
  var root_2$1x = /* @__PURE__ */ from_svg(`<text text-anchor="end" fill="#6E7079" font-size="7" font-family="inherit"> </text>`);
9033
9134
  var root_3$11 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="7" font-family="inherit"> </text>`);
9034
- var root_4$Q = /* @__PURE__ */ from_svg(`<rect rx="2"></rect>`);
9135
+ var root_4$R = /* @__PURE__ */ from_svg(`<rect rx="2"></rect>`);
9035
9136
  var root$2i = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;overflow-x:auto;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
9036
9137
  function CalendarHeatmap($$anchor, $$props) {
9037
9138
  push($$props, true);
@@ -9129,7 +9230,7 @@ function CalendarHeatmap($$anchor, $$props) {
9129
9230
  });
9130
9231
  var node_3 = sibling(node_2);
9131
9232
  each(node_3, 17, () => get(cells), index, ($$anchor2, c) => {
9132
- var rect = root_4$Q();
9233
+ var rect = root_4$R();
9133
9234
  set_attribute(rect, "width", CELL);
9134
9235
  set_attribute(rect, "height", CELL);
9135
9236
  template_effect(() => {
@@ -9195,9 +9296,9 @@ customElements.define("uni-calendar-heatmap", create_custom_element(CalendarHeat
9195
9296
  var root_1$1V = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM7.25 5.5a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0ZM7 7.5h2v4H7v-4Z"></path></svg>`);
9196
9297
  var root_2$1w = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1Zm3.78 5.47-4.25 4.5a.75.75 0 0 1-1.06.03L4.72 9.22a.75.75 0 1 1 1.06-1.06l1.22 1.22 3.72-3.94a.75.75 0 1 1 1.06 1.03Z"></path></svg>`);
9197
9298
  var root_3$10 = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M8.9 1.6a1 1 0 0 0-1.8 0L.6 13a1 1 0 0 0 .9 1.5h13a1 1 0 0 0 .9-1.5L8.9 1.6ZM7.25 6.5a.75.75 0 1 1 1.5 0v3a.75.75 0 0 1-1.5 0v-3Zm.75 6a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"></path></svg>`);
9198
- var root_4$P = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM5.97 5.97a.75.75 0 0 1 1.06 0L8 6.94l.97-.97a.75.75 0 1 1 1.06 1.06L9.06 8l.97.97a.75.75 0 0 1-1.06 1.06L8 9.06l-.97.97a.75.75 0 0 1-1.06-1.06L6.94 8l-.97-.97a.75.75 0 0 1 0-1.06Z"></path></svg>`);
9199
- var root_5$v = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 1a5 5 0 0 1 3 9.01V11H5v-.99A5 5 0 0 1 8 1Zm-1 12h2v1.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5V13Z"></path></svg>`);
9200
- var root_6$f = /* @__PURE__ */ from_html(`<div> </div>`);
9299
+ var root_4$Q = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM5.97 5.97a.75.75 0 0 1 1.06 0L8 6.94l.97-.97a.75.75 0 1 1 1.06 1.06L9.06 8l.97.97a.75.75 0 0 1-1.06 1.06L8 9.06l-.97.97a.75.75 0 0 1-1.06-1.06L6.94 8l-.97-.97a.75.75 0 0 1 0-1.06Z"></path></svg>`);
9300
+ var root_5$w = /* @__PURE__ */ from_svg(`<svg class="mt-px h-4 w-4 shrink-0" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 1a5 5 0 0 1 3 9.01V11H5v-.99A5 5 0 0 1 8 1Zm-1 12h2v1.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5V13Z"></path></svg>`);
9301
+ var root_6$g = /* @__PURE__ */ from_html(`<div> </div>`);
9201
9302
  var root$2h = /* @__PURE__ */ from_html(`<div role="note"><!> <div class="flex-1"><!> <div><!></div></div></div>`);
9202
9303
  function Callout($$anchor, $$props) {
9203
9304
  let variant = prop($$props, "variant", 3, "info"), title = prop($$props, "title", 3, void 0);
@@ -9231,11 +9332,11 @@ function Callout($$anchor, $$props) {
9231
9332
  append($$anchor2, svg_2);
9232
9333
  };
9233
9334
  var consequent_3 = ($$anchor2) => {
9234
- var svg_3 = root_4$P();
9335
+ var svg_3 = root_4$Q();
9235
9336
  append($$anchor2, svg_3);
9236
9337
  };
9237
9338
  var alternate = ($$anchor2) => {
9238
- var svg_4 = root_5$v();
9339
+ var svg_4 = root_5$w();
9239
9340
  append($$anchor2, svg_4);
9240
9341
  };
9241
9342
  if_block(node, ($$render) => {
@@ -9250,7 +9351,7 @@ function Callout($$anchor, $$props) {
9250
9351
  var node_1 = child(div_1);
9251
9352
  {
9252
9353
  var consequent_4 = ($$anchor2) => {
9253
- var div_2 = root_6$f();
9354
+ var div_2 = root_6$g();
9254
9355
  var text2 = child(div_2, true);
9255
9356
  reset(div_2);
9256
9357
  template_effect(() => {
@@ -9311,7 +9412,7 @@ function Callout_wc($$anchor, $$props) {
9311
9412
  customElements.define("uni-callout", create_custom_element(Callout_wc, { variant: {}, title: {} }, ["default"], [], { mode: "open" }));
9312
9413
  var root_2$1v = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
9313
9414
  var root_3$$ = /* @__PURE__ */ from_svg(`<line stroke-width="1"></line><rect></rect>`, 1);
9314
- var root_4$O = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
9415
+ var root_4$P = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
9315
9416
  var root_1$1U = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
9316
9417
  function CandlestickChart($$anchor, $$props) {
9317
9418
  push($$props, true);
@@ -9397,7 +9498,7 @@ function CandlestickChart($$anchor, $$props) {
9397
9498
  });
9398
9499
  var node_3 = sibling(node_2);
9399
9500
  each(node_3, 17, bars, index, ($$anchor3, b, i) => {
9400
- var text_2 = root_4$O();
9501
+ var text_2 = root_4$P();
9401
9502
  var text_3 = child(text_2, true);
9402
9503
  reset(text_2);
9403
9504
  template_effect(
@@ -9714,7 +9815,7 @@ customElements.define("uni-card-title", create_custom_element(CardTitle_wc, { cl
9714
9815
  var root_2$1u = /* @__PURE__ */ from_html(`<div class="w-1 shrink-0 rounded" aria-hidden="true"></div>`);
9715
9816
  var root_3$_ = /* @__PURE__ */ from_html(`<div class="mt-1 text-13 text-text-3"> </div>`);
9716
9817
  var root_1$1T = /* @__PURE__ */ from_html(`<div role="group" aria-roledescription="slide" class="absolute inset-0 flex items-stretch gap-3 p-4 opacity-0 transition-opacity duration-200 data-[active=true]:opacity-100 data-[active=true]:relative"><!> <div class="min-w-0 flex-1"><div class="text-15 font-semibold text-text-1"> </div> <!></div></div>`);
9717
- var root_4$N = /* @__PURE__ */ from_html(`<button type="button" role="tab" class="h-1.5 w-1.5 cursor-pointer rounded-full border-0 bg-border-3 transition-all duration-150 hover:bg-text-3 data-[active=true]:w-4 data-[active=true]:bg-brand-05"></button>`);
9818
+ var root_4$O = /* @__PURE__ */ from_html(`<button type="button" role="tab" class="h-1.5 w-1.5 cursor-pointer rounded-full border-0 bg-border-3 transition-all duration-150 hover:bg-text-3 data-[active=true]:w-4 data-[active=true]:bg-brand-05"></button>`);
9718
9819
  var root$2c = /* @__PURE__ */ from_html(`<section aria-roledescription="carousel"><div class="relative min-h-[140px]" aria-live="polite" aria-atomic="false"></div> <div class="flex items-center justify-between border-t border-border-1 bg-bg-page px-2 py-1.5"><button type="button" aria-label="Previous slide" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">&#8249;</button> <div role="tablist" aria-label="Choose slide to display" class="flex items-center gap-1.5"></div> <button type="button" aria-label="Next slide" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">&#8250;</button></div></section>`);
9719
9820
  function Carousel($$anchor, $$props) {
9720
9821
  push($$props, true);
@@ -9773,7 +9874,7 @@ function Carousel($$anchor, $$props) {
9773
9874
  var button = child(div_6);
9774
9875
  var div_7 = sibling(button, 2);
9775
9876
  each(div_7, 23, slides, (slide) => slide.id, ($$anchor2, slide, i) => {
9776
- var button_1 = root_4$N();
9877
+ var button_1 = root_4$O();
9777
9878
  template_effect(() => {
9778
9879
  set_attribute(button_1, "aria-selected", get(i) === get(index2));
9779
9880
  set_attribute(button_1, "aria-label", `Slide ${get(i) + 1}: ${get(slide).title}`);
@@ -10186,7 +10287,7 @@ function ChordDiagram_wc($$anchor, $$props) {
10186
10287
  }
10187
10288
  customElements.define("uni-chord-diagram", create_custom_element(ChordDiagram_wc, { nodes: {}, matrix: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
10188
10289
  var root_3$Y = /* @__PURE__ */ from_svg(`<text text-anchor="middle" dominant-baseline="middle" fill="#E2E4ED" font-family="inherit"> </text>`);
10189
- var root_4$M = /* @__PURE__ */ from_svg(`<text text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
10290
+ var root_4$N = /* @__PURE__ */ from_svg(`<text text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
10190
10291
  var root_2$1r = /* @__PURE__ */ from_svg(`<g><circle></circle><!><!></g>`);
10191
10292
  var root_1$1Q = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"></svg></div>`);
10192
10293
  function CirclePacking($$anchor, $$props) {
@@ -10334,7 +10435,7 @@ function CirclePacking($$anchor, $$props) {
10334
10435
  var node_2 = sibling(node_1);
10335
10436
  {
10336
10437
  var consequent_1 = ($$anchor4) => {
10337
- var text_2 = root_4$M();
10438
+ var text_2 = root_4$N();
10338
10439
  var text_3 = child(text_2, true);
10339
10440
  reset(text_2);
10340
10441
  template_effect(
@@ -10465,7 +10566,7 @@ customElements.define("uni-code", create_custom_element(Code_wc, { class: {} },
10465
10566
  var root_1$1P = /* @__PURE__ */ from_html(`<span class="font-mono text-11 uppercase tracking-[0.05em] text-text-4"> </span>`);
10466
10567
  var root_2$1q = /* @__PURE__ */ from_html(`<span></span>`);
10467
10568
  var root_3$X = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 14 14" width="14" height="14" fill="none" aria-hidden="true" focusable="false"><path d="M2.5 7.5l3.5 3.5L12 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
10468
- var root_4$L = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 14 14" width="14" height="14" fill="none" aria-hidden="true" focusable="false"><rect x="4" y="1" width="9" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"></rect><rect x="1" y="4" width="9" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"></rect></svg>`);
10569
+ var root_4$M = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 14 14" width="14" height="14" fill="none" aria-hidden="true" focusable="false"><rect x="4" y="1" width="9" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"></rect><rect x="1" y="4" width="9" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"></rect></svg>`);
10469
10570
  var root$29 = /* @__PURE__ */ from_html(`<div role="region"><div class="flex min-h-8 items-center justify-between border-b border-border-1 bg-bg-page py-1.5 pl-3 pr-2"><!> <button type="button" class="inline-flex h-[22px] w-[22px] shrink-0 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 transition-[color,background-color] duration-100 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05 data-[copied=true]:text-status-success data-[copied=true]:hover:bg-status-success/10 data-[copied=true]:hover:text-status-success"><!></button></div> <pre class="m-0 overflow-x-auto px-3.5 py-3"><code class="whitespace-pre font-mono text-12 leading-[1.6] text-text-2"> </code></pre></div>`);
10470
10571
  function CodeBlock($$anchor, $$props) {
10471
10572
  push($$props, true);
@@ -10515,7 +10616,7 @@ function CodeBlock($$anchor, $$props) {
10515
10616
  append($$anchor2, svg);
10516
10617
  };
10517
10618
  var alternate_1 = ($$anchor2) => {
10518
- var svg_1 = root_4$L();
10619
+ var svg_1 = root_4$M();
10519
10620
  append($$anchor2, svg_1);
10520
10621
  };
10521
10622
  if_block(node_1, ($$render) => {
@@ -10889,7 +10990,7 @@ customElements.define("uni-column-toggle", create_custom_element(ColumnToggle_wc
10889
10990
  let counter$p = 0;
10890
10991
  var root_1$1M = /* @__PURE__ */ from_html(`<label class="sr-only"> </label>`);
10891
10992
  var root_3$W = /* @__PURE__ */ from_html(`<li class="list-none p-2.5 text-center text-13 text-text-4">No results</li>`);
10892
- var root_5$u = /* @__PURE__ */ from_html(`<li role="option" class="flex cursor-pointer items-center rounded-[5px] px-2.5 py-1.5 text-13 text-text-2 hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 aria-selected:font-medium aria-selected:text-brand-05"> </li>`);
10993
+ var root_5$v = /* @__PURE__ */ from_html(`<li role="option" class="flex cursor-pointer items-center rounded-[5px] px-2.5 py-1.5 text-13 text-text-2 hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 aria-selected:font-medium aria-selected:text-brand-05"> </li>`);
10893
10994
  var root_2$1o = /* @__PURE__ */ from_html(`<ul role="listbox" class="absolute left-0 top-[calc(100%+4px)] z-[9000] m-0 max-h-60 min-w-full list-none overflow-y-auto rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"><!></ul>`);
10894
10995
  var root$26 = /* @__PURE__ */ from_html(`<div><!> <div class="relative flex items-center"><input role="combobox" aria-autocomplete="list" autocomplete="off" spellcheck="false" class="box-border h-[34px] w-full rounded-md border border-border-2 bg-bg-page py-0 pl-3 pr-9 text-13 leading-none text-text-1 transition-colors duration-100 hover:border-border-3 focus:border-brand-05 focus:outline-none focus:shadow-[0_0_0_2px_rgba(0,111,255,0.2)] disabled:cursor-not-allowed disabled:opacity-40"/> <button type="button" aria-hidden="true" class="absolute right-2 flex cursor-pointer items-center border-0 bg-transparent p-0.5 leading-none text-text-4"><svg viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path></svg></button></div> <!></div>`);
10895
10996
  function Combobox($$anchor, $$props) {
@@ -11006,7 +11107,7 @@ function Combobox($$anchor, $$props) {
11006
11107
  var fragment = comment();
11007
11108
  var node_3 = first_child(fragment);
11008
11109
  each(node_3, 19, () => get(filtered), (opt) => opt.value, ($$anchor4, opt, idx) => {
11009
- var li_1 = root_5$u();
11110
+ var li_1 = root_5$v();
11010
11111
  var text_1 = child(li_1, true);
11011
11112
  reset(li_1);
11012
11113
  template_effect(() => {
@@ -11206,10 +11307,10 @@ function Kbd($$anchor, $$props) {
11206
11307
  pop();
11207
11308
  }
11208
11309
  var root_2$1m = /* @__PURE__ */ from_html(`<li class="list-none p-6 text-center text-13 text-text-4"> </li>`);
11209
- var root_5$t = /* @__PURE__ */ from_html(`<div class="px-2.5 pb-1 pt-2 text-[10px] font-semibold uppercase tracking-[0.06em] text-text-4"> </div>`);
11210
- var root_7$a = /* @__PURE__ */ from_html(`<span class="ml-auto shrink-0"><!></span>`);
11211
- var root_6$e = /* @__PURE__ */ from_html(`<div role="option" class="flex cursor-pointer list-none items-center gap-2.5 rounded-md px-2.5 py-2 text-13 text-text-2 outline-none data-[active=true]:bg-brand-05/15 data-[active=true]:text-text-1"> <!></div>`);
11212
- var root_4$K = /* @__PURE__ */ from_html(`<li role="presentation"><!> <!></li>`);
11310
+ var root_5$u = /* @__PURE__ */ from_html(`<div class="px-2.5 pb-1 pt-2 text-[10px] font-semibold uppercase tracking-[0.06em] text-text-4"> </div>`);
11311
+ var root_7$b = /* @__PURE__ */ from_html(`<span class="ml-auto shrink-0"><!></span>`);
11312
+ var root_6$f = /* @__PURE__ */ from_html(`<div role="option" class="flex cursor-pointer list-none items-center gap-2.5 rounded-md px-2.5 py-2 text-13 text-text-2 outline-none data-[active=true]:bg-brand-05/15 data-[active=true]:text-text-1"> <!></div>`);
11313
+ var root_4$L = /* @__PURE__ */ from_html(`<li role="presentation"><!> <!></li>`);
11213
11314
  var root_1$1K = /* @__PURE__ */ from_html(`<div class="fixed inset-0 z-[9300] flex items-start justify-center bg-black/60 pt-[15vh] backdrop-blur-md" role="presentation"><div role="dialog" aria-modal="true" aria-label="Command palette" class="w-[520px] max-w-[90vw] overflow-hidden rounded-xl border border-border-3 bg-bg-1 shadow-[0_24px_64px_rgba(0,0,0,0.6)]"><div class="flex items-center gap-2.5 border-b border-border-1 px-4 py-3"><svg class="shrink-0 text-text-4" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><circle cx="6.5" cy="6.5" r="4.5"></circle><path d="M10.5 10.5l3 3"></path></svg> <input type="text" role="combobox" aria-autocomplete="list" class="min-w-0 flex-1 border-0 bg-transparent text-[15px] leading-none text-text-1 outline-none placeholder:text-text-4"/> <span class="shrink-0 whitespace-nowrap rounded border border-border-2 bg-row-active px-1.5 py-0.5 text-[10px] text-text-4">Esc</span></div> <ul role="listbox" aria-label="Results" class="m-0 max-h-[360px] list-none overflow-y-auto p-1.5"><!></ul></div></div>`);
11214
11315
  function CommandPalette($$anchor, $$props) {
11215
11316
  push($$props, true);
@@ -11291,11 +11392,11 @@ function CommandPalette($$anchor, $$props) {
11291
11392
  each(node_2, 17, () => get(grouped), index, ($$anchor4, $$item) => {
11292
11393
  let group = () => get($$item).group;
11293
11394
  let groupItems = () => get($$item).items;
11294
- var li_1 = root_4$K();
11395
+ var li_1 = root_4$L();
11295
11396
  var node_3 = child(li_1);
11296
11397
  {
11297
11398
  var consequent_1 = ($$anchor5) => {
11298
- var div_3 = root_5$t();
11399
+ var div_3 = root_5$u();
11299
11400
  var text_1 = child(div_3, true);
11300
11401
  reset(div_3);
11301
11402
  template_effect(() => set_text(text_1, group()));
@@ -11308,13 +11409,13 @@ function CommandPalette($$anchor, $$props) {
11308
11409
  var node_4 = sibling(node_3, 2);
11309
11410
  each(node_4, 17, groupItems, index, ($$anchor5, item) => {
11310
11411
  const idx = /* @__PURE__ */ user_derived(() => get(filtered).indexOf(get(item)));
11311
- var div_4 = root_6$e();
11412
+ var div_4 = root_6$f();
11312
11413
  set_attribute(div_4, "tabindex", -1);
11313
11414
  var text_2 = child(div_4);
11314
11415
  var node_5 = sibling(text_2);
11315
11416
  {
11316
11417
  var consequent_2 = ($$anchor6) => {
11317
- var span = root_7$a();
11418
+ var span = root_7$b();
11318
11419
  var node_6 = child(span);
11319
11420
  Kbd(node_6, {
11320
11421
  get keys() {
@@ -11640,11 +11741,62 @@ customElements.define("uni-confirm-dialog", create_custom_element(
11640
11741
  [],
11641
11742
  { mode: "open" }
11642
11743
  ));
11744
+ var root_1$1I = /* @__PURE__ */ from_html(`<span aria-hidden="true"></span>`);
11745
+ var root$23 = /* @__PURE__ */ from_html(`<span><!> <!></span>`);
11746
+ function Pill($$anchor, $$props) {
11747
+ let variant = prop($$props, "variant", 3, "neutral"), showDot = prop($$props, "showDot", 3, true), className = prop($$props, "class", 3, ""), style = prop($$props, "style", 3, "");
11748
+ const PILL = {
11749
+ success: "bg-status-success/14 text-status-success",
11750
+ warn: "bg-status-warning/14 text-status-warning",
11751
+ danger: "bg-status-danger/14 text-status-danger",
11752
+ info: "bg-status-info/14 text-status-info",
11753
+ neutral: "bg-row-active text-text-2"
11754
+ };
11755
+ const DOT = {
11756
+ success: "bg-status-success",
11757
+ warn: "bg-status-warning",
11758
+ danger: "bg-status-danger",
11759
+ info: "bg-status-info",
11760
+ neutral: "bg-status-neutral"
11761
+ };
11762
+ let pillClass = /* @__PURE__ */ user_derived(() => `inline-flex items-center gap-1.5 rounded-full px-2 py-0.5 text-[11px] font-medium leading-[1.4] ${PILL[variant()]} ${className()}`);
11763
+ var span = root$23();
11764
+ var node = child(span);
11765
+ {
11766
+ var consequent = ($$anchor2) => {
11767
+ var span_1 = root_1$1I();
11768
+ template_effect(() => set_class(span_1, 1, `h-1.5 w-1.5 rounded-full ${DOT[variant()] ?? ""}`));
11769
+ append($$anchor2, span_1);
11770
+ };
11771
+ if_block(node, ($$render) => {
11772
+ if (showDot()) $$render(consequent);
11773
+ });
11774
+ }
11775
+ var node_1 = sibling(node, 2);
11776
+ snippet(node_1, () => $$props.children ?? noop);
11777
+ reset(span);
11778
+ template_effect(() => {
11779
+ set_class(span, 1, clsx(get(pillClass)));
11780
+ set_style(span, style());
11781
+ });
11782
+ append($$anchor, span);
11783
+ }
11643
11784
  var root_3$V = /* @__PURE__ */ from_html(`<li role="separator" class="my-1 h-px bg-row-active"></li>`);
11644
- var root_4$J = /* @__PURE__ */ from_html(`<li role="menuitem" class="flex cursor-pointer items-center whitespace-nowrap rounded-[5px] px-3 py-1.5 text-13 text-text-2 outline-none hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 data-[danger=true]:text-status-danger data-[danger=true]:hover:bg-status-danger/10 aria-disabled:cursor-not-allowed aria-disabled:opacity-40"> </li>`);
11645
- var root_1$1I = /* @__PURE__ */ from_html(`<ul role="menu" class="fixed z-[9200] m-0 min-w-[168px] list-none rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)] focus:outline-none"></ul>`);
11785
+ var root_5$t = /* @__PURE__ */ from_html(` <!> `, 1);
11786
+ var root_4$K = /* @__PURE__ */ from_html(`<li role="menuitem" class="flex cursor-pointer items-center whitespace-nowrap rounded-[5px] px-3 py-1.5 text-13 text-text-2 outline-none hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 data-[danger=true]:text-status-danger data-[danger=true]:hover:bg-status-danger/10 data-[warning=true]:text-status-warning data-[warning=true]:hover:bg-status-warning/10 data-[success=true]:text-status-success data-[success=true]:hover:bg-status-success/10 aria-disabled:cursor-not-allowed aria-disabled:opacity-40"><!></li>`);
11787
+ var root_1$1H = /* @__PURE__ */ from_html(`<ul role="menu" class="fixed z-[9200] m-0 min-w-[168px] list-none rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)] focus:outline-none"></ul>`);
11646
11788
  function ContextMenu($$anchor, $$props) {
11647
11789
  push($$props, true);
11790
+ const PILL_SLOT = "{pill}";
11791
+ function pillParts(entry) {
11792
+ if (entry.pill === void 0) return null;
11793
+ const idx = entry.label.indexOf(PILL_SLOT);
11794
+ if (idx === -1) return null;
11795
+ return {
11796
+ before: entry.label.slice(0, idx),
11797
+ after: entry.label.slice(idx + PILL_SLOT.length)
11798
+ };
11799
+ }
11648
11800
  let items = prop($$props, "items", 19, () => []), x = prop($$props, "x", 3, 0), y = prop($$props, "y", 3, 0), open = prop($$props, "open", 3, false), label = prop($$props, "label", 3, "Context menu");
11649
11801
  let menuEl = /* @__PURE__ */ state(void 0);
11650
11802
  let activeIdx = /* @__PURE__ */ state(0);
@@ -11709,8 +11861,8 @@ function ContextMenu($$anchor, $$props) {
11709
11861
  var fragment = comment();
11710
11862
  var node = first_child(fragment);
11711
11863
  {
11712
- var consequent_1 = ($$anchor2) => {
11713
- var ul = root_1$1I();
11864
+ var consequent_2 = ($$anchor2) => {
11865
+ var ul = root_1$1H();
11714
11866
  set_attribute(ul, "tabindex", -1);
11715
11867
  each(ul, 21, items, index, ($$anchor3, entry) => {
11716
11868
  var fragment_1 = comment();
@@ -11720,17 +11872,59 @@ function ContextMenu($$anchor, $$props) {
11720
11872
  var li = root_3$V();
11721
11873
  append($$anchor4, li);
11722
11874
  };
11723
- var alternate = ($$anchor4) => {
11724
- var li_1 = root_4$J();
11875
+ var alternate_1 = ($$anchor4) => {
11876
+ var li_1 = root_4$K();
11725
11877
  set_attribute(li_1, "tabindex", -1);
11726
- var text2 = child(li_1, true);
11878
+ var node_2 = child(li_1);
11879
+ {
11880
+ var consequent_1 = ($$anchor5) => {
11881
+ const parts = /* @__PURE__ */ user_derived(() => pillParts(get(entry)));
11882
+ var fragment_2 = root_5$t();
11883
+ var text$1 = first_child(fragment_2, true);
11884
+ var node_3 = sibling(text$1);
11885
+ {
11886
+ let $0 = /* @__PURE__ */ user_derived(() => get(entry).pill?.variant ?? "neutral");
11887
+ Pill(node_3, {
11888
+ get variant() {
11889
+ return get($0);
11890
+ },
11891
+ showDot: false,
11892
+ class: "mx-0.5 !px-1.5 !py-0 text-[10px] font-semibold leading-[1]",
11893
+ children: ($$anchor6, $$slotProps) => {
11894
+ next();
11895
+ var text_1 = text();
11896
+ template_effect(() => set_text(text_1, get(entry).pill?.text));
11897
+ append($$anchor6, text_1);
11898
+ },
11899
+ $$slots: { default: true }
11900
+ });
11901
+ }
11902
+ var text_2 = sibling(node_3, 1, true);
11903
+ template_effect(() => {
11904
+ set_text(text$1, get(parts)?.before);
11905
+ set_text(text_2, get(parts)?.after);
11906
+ });
11907
+ append($$anchor5, fragment_2);
11908
+ };
11909
+ var d = /* @__PURE__ */ user_derived(() => pillParts(get(entry)));
11910
+ var alternate = ($$anchor5) => {
11911
+ var text_3 = text();
11912
+ template_effect(() => set_text(text_3, get(entry).label));
11913
+ append($$anchor5, text_3);
11914
+ };
11915
+ if_block(node_2, ($$render) => {
11916
+ if (get(d)) $$render(consequent_1);
11917
+ else $$render(alternate, -1);
11918
+ });
11919
+ }
11727
11920
  reset(li_1);
11728
11921
  template_effect(
11729
11922
  ($0) => {
11730
11923
  set_attribute(li_1, "aria-disabled", get(entry).disabled || void 0);
11731
11924
  set_attribute(li_1, "data-active", $0);
11732
11925
  set_attribute(li_1, "data-danger", get(entry).danger || void 0);
11733
- set_text(text2, get(entry).label);
11926
+ set_attribute(li_1, "data-warning", get(entry).warning || void 0);
11927
+ set_attribute(li_1, "data-success", get(entry).success || void 0);
11734
11928
  },
11735
11929
  [
11736
11930
  () => actionIndex(get(entry)) === get(activeIdx) ? "true" : void 0
@@ -11747,7 +11941,7 @@ function ContextMenu($$anchor, $$props) {
11747
11941
  };
11748
11942
  if_block(node_1, ($$render) => {
11749
11943
  if ("separator" in get(entry)) $$render(consequent);
11750
- else $$render(alternate, -1);
11944
+ else $$render(alternate_1, -1);
11751
11945
  });
11752
11946
  }
11753
11947
  append($$anchor3, fragment_1);
@@ -11762,7 +11956,7 @@ function ContextMenu($$anchor, $$props) {
11762
11956
  append($$anchor2, ul);
11763
11957
  };
11764
11958
  if_block(node, ($$render) => {
11765
- if (open()) $$render(consequent_1);
11959
+ if (open()) $$render(consequent_2);
11766
11960
  });
11767
11961
  }
11768
11962
  append($$anchor, fragment);
@@ -11837,8 +12031,8 @@ function ContextMenu_wc($$anchor, $$props) {
11837
12031
  }
11838
12032
  customElements.define("uni-context-menu", create_custom_element(ContextMenu_wc, { items: {}, x: {}, y: {}, open: {}, label: {} }, ["default"], [], { mode: "open" }));
11839
12033
  let counter$o = 0;
11840
- var root_1$1H = /* @__PURE__ */ from_html(`<div role="dialog"><div class="border-b border-border-1 px-3.5 pb-2 pt-2.5 text-12 font-semibold text-text-2"> </div> <div class="px-3.5 py-2.5 text-12 leading-[1.5] text-text-3"> </div></div>`);
11841
- var root$23 = /* @__PURE__ */ from_html(`<span class="relative inline-flex items-center"><button type="button" aria-label="Help" aria-haspopup="dialog" class="inline-flex h-4 w-4 shrink-0 cursor-pointer items-center justify-center rounded-full border border-border-3 bg-transparent p-0 text-[10px] font-bold leading-none text-text-4 transition-[border-color,color] duration-100 hover:border-text-3 hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">?</button> <!></span>`);
12034
+ var root_1$1G = /* @__PURE__ */ from_html(`<div role="dialog"><div class="border-b border-border-1 px-3.5 pb-2 pt-2.5 text-12 font-semibold text-text-2"> </div> <div class="px-3.5 py-2.5 text-12 leading-[1.5] text-text-3"> </div></div>`);
12035
+ var root$22 = /* @__PURE__ */ from_html(`<span class="relative inline-flex items-center"><button type="button" aria-label="Help" aria-haspopup="dialog" class="inline-flex h-4 w-4 shrink-0 cursor-pointer items-center justify-center rounded-full border border-border-3 bg-transparent p-0 text-[10px] font-bold leading-none text-text-4 transition-[border-color,color] duration-100 hover:border-text-3 hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">?</button> <!></span>`);
11842
12036
  function ContextualHelp($$anchor, $$props) {
11843
12037
  push($$props, true);
11844
12038
  let placement = prop($$props, "placement", 3, "top");
@@ -11878,13 +12072,13 @@ function ContextualHelp($$anchor, $$props) {
11878
12072
  top: "bottom-[calc(100%+8px)] left-1/2 -translate-x-1/2",
11879
12073
  bottom: "top-[calc(100%+8px)] left-1/2 -translate-x-1/2"
11880
12074
  };
11881
- var span = root$23();
12075
+ var span = root$22();
11882
12076
  var button = child(span);
11883
12077
  bind_this(button, ($$value) => set(triggerEl, $$value), () => get(triggerEl));
11884
12078
  var node = sibling(button, 2);
11885
12079
  {
11886
12080
  var consequent = ($$anchor2) => {
11887
- var div = root_1$1H();
12081
+ var div = root_1$1G();
11888
12082
  set_attribute(div, "tabindex", -1);
11889
12083
  var div_1 = child(div);
11890
12084
  var text2 = child(div_1, true);
@@ -11965,8 +12159,8 @@ customElements.define("uni-contextual-help", create_custom_element(ContextualHel
11965
12159
  var root_2$1l = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
11966
12160
  var root_3$U = /* @__PURE__ */ from_svg(`<circle r="1.5" opacity="0.2"></circle>`);
11967
12161
  var root_5$s = /* @__PURE__ */ from_svg(`<line stroke-linecap="round"></line>`);
11968
- var root_6$d = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
11969
- var root_1$1G = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><!></svg></div>`);
12162
+ var root_6$e = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
12163
+ var root_1$1F = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><!></svg></div>`);
11970
12164
  function ContourPlot($$anchor, $$props) {
11971
12165
  push($$props, true);
11972
12166
  let points = prop($$props, "points", 19, () => []), xRange = prop($$props, "xRange", 3, void 0), yRange = prop($$props, "yRange", 3, void 0), height = prop($$props, "height", 3, 200), bandwidth = prop($$props, "bandwidth", 3, 3.5), color = prop($$props, "color", 3, "#006FFF"), ariaLabel = prop($$props, "ariaLabel", 3, "Contour plot");
@@ -12103,7 +12297,7 @@ function ContourPlot($$anchor, $$props) {
12103
12297
  var node = first_child(fragment);
12104
12298
  {
12105
12299
  var consequent = ($$anchor2) => {
12106
- var div = root_1$1G();
12300
+ var div = root_1$1F();
12107
12301
  var svg = child(div);
12108
12302
  var node_1 = child(svg);
12109
12303
  each(node_1, 17, () => get(yTicks), index, ($$anchor3, v) => {
@@ -12165,7 +12359,7 @@ function ContourPlot($$anchor, $$props) {
12165
12359
  });
12166
12360
  var node_5 = sibling(node_3);
12167
12361
  each(node_5, 17, () => get(xTicks), index, ($$anchor3, v) => {
12168
- var text_2 = root_6$d();
12362
+ var text_2 = root_6$e();
12169
12363
  var text_3 = child(text_2, true);
12170
12364
  reset(text_2);
12171
12365
  template_effect(
@@ -12294,9 +12488,9 @@ customElements.define("uni-contour-plot", create_custom_element(
12294
12488
  [],
12295
12489
  { mode: "open" }
12296
12490
  ));
12297
- var root_1$1F = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 14 14" width="14" height="14" fill="none" aria-hidden="true" focusable="false"><path d="M2.5 7.5l3.5 3.5L12 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
12491
+ var root_1$1E = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 14 14" width="14" height="14" fill="none" aria-hidden="true" focusable="false"><path d="M2.5 7.5l3.5 3.5L12 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
12298
12492
  var root_2$1k = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 14 14" width="14" height="14" fill="none" aria-hidden="true" focusable="false"><rect x="4" y="1" width="9" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"></rect><rect x="1" y="4" width="9" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5"></rect></svg>`);
12299
- var root$22 = /* @__PURE__ */ from_html(`<button type="button" class="inline-flex h-[22px] w-[22px] shrink-0 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 transition-[color,background-color] duration-100 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05 data-[copied=true]:text-status-success data-[copied=true]:hover:bg-status-success/10"><!></button>`);
12493
+ var root$21 = /* @__PURE__ */ from_html(`<button type="button" class="inline-flex h-[22px] w-[22px] shrink-0 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 transition-[color,background-color] duration-100 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05 data-[copied=true]:text-status-success data-[copied=true]:hover:bg-status-success/10"><!></button>`);
12300
12494
  function CopyButton($$anchor, $$props) {
12301
12495
  push($$props, true);
12302
12496
  let label = prop($$props, "label", 3, "Copy");
@@ -12314,11 +12508,11 @@ function CopyButton($$anchor, $$props) {
12314
12508
  );
12315
12509
  });
12316
12510
  }
12317
- var button = root$22();
12511
+ var button = root$21();
12318
12512
  var node = child(button);
12319
12513
  {
12320
12514
  var consequent = ($$anchor2) => {
12321
- var svg = root_1$1F();
12515
+ var svg = root_1$1E();
12322
12516
  append($$anchor2, svg);
12323
12517
  };
12324
12518
  var alternate = ($$anchor2) => {
@@ -12377,10 +12571,10 @@ function CopyButton_wc($$anchor, $$props) {
12377
12571
  return pop($$exports);
12378
12572
  }
12379
12573
  customElements.define("uni-copy-button", create_custom_element(CopyButton_wc, { text: {}, label: {} }, ["default"], [], { mode: "open" }));
12380
- var root_1$1E = /* @__PURE__ */ from_svg(`<text text-anchor="middle" font-size="9" fill="#A4A7B5" font-family="inherit"> </text>`);
12574
+ var root_1$1D = /* @__PURE__ */ from_svg(`<text text-anchor="middle" font-size="9" fill="#A4A7B5" font-family="inherit"> </text>`);
12381
12575
  var root_2$1j = /* @__PURE__ */ from_svg(`<text text-anchor="end" dominant-baseline="middle" font-size="9" fill="#A4A7B5" font-family="inherit"> </text>`);
12382
- var root_4$I = /* @__PURE__ */ from_svg(`<g><rect rx="3"></rect><text text-anchor="middle" dominant-baseline="middle" font-size="10" font-family="inherit"> </text></g>`);
12383
- var root$21 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
12576
+ var root_4$J = /* @__PURE__ */ from_svg(`<g><rect rx="3"></rect><text text-anchor="middle" dominant-baseline="middle" font-size="10" font-family="inherit"> </text></g>`);
12577
+ var root$20 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
12384
12578
  function CorrelationMatrix($$anchor, $$props) {
12385
12579
  push($$props, true);
12386
12580
  let labels = prop($$props, "labels", 19, () => []), data = prop($$props, "data", 19, () => []), cellSize = prop($$props, "cellSize", 3, 52), ariaLabel = prop($$props, "ariaLabel", 3, "Correlation matrix");
@@ -12405,11 +12599,11 @@ function CorrelationMatrix($$anchor, $$props) {
12405
12599
  let n = /* @__PURE__ */ user_derived(() => labels().length);
12406
12600
  let svgW = /* @__PURE__ */ user_derived(() => LABEL_W + get(n) * cellSize());
12407
12601
  let svgH = /* @__PURE__ */ user_derived(() => LABEL_H + get(n) * cellSize());
12408
- var div = root$21();
12602
+ var div = root$20();
12409
12603
  var svg = child(div);
12410
12604
  var node = child(svg);
12411
12605
  each(node, 17, labels, index, ($$anchor2, label, j) => {
12412
- var text2 = root_1$1E();
12606
+ var text2 = root_1$1D();
12413
12607
  set_attribute(text2, "y", LABEL_H - 4);
12414
12608
  var text_1 = child(text2, true);
12415
12609
  reset(text2);
@@ -12438,7 +12632,7 @@ function CorrelationMatrix($$anchor, $$props) {
12438
12632
  each(node_3, 19, () => get(row), (v, j) => `${i}-${j}`, ($$anchor3, v, j) => {
12439
12633
  const x = /* @__PURE__ */ user_derived(() => LABEL_W + get(j) * cellSize());
12440
12634
  const y = /* @__PURE__ */ user_derived(() => LABEL_H + i * cellSize());
12441
- var g = root_4$I();
12635
+ var g = root_4$J();
12442
12636
  var rect = child(g);
12443
12637
  var text_4 = sibling(rect);
12444
12638
  var text_5 = child(text_4, true);
@@ -12533,7 +12727,7 @@ function CorrelationMatrix_wc($$anchor, $$props) {
12533
12727
  return pop($$exports);
12534
12728
  }
12535
12729
  customElements.define("uni-correlation-matrix", create_custom_element(CorrelationMatrix_wc, { labels: {}, data: {}, cellSize: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
12536
- var root$20 = /* @__PURE__ */ from_html(`<span><span aria-hidden="true"> </span> <span class="sr-only"> </span></span>`);
12730
+ var root$1$ = /* @__PURE__ */ from_html(`<span><span aria-hidden="true"> </span> <span class="sr-only"> </span></span>`);
12537
12731
  function CountUp($$anchor, $$props) {
12538
12732
  push($$props, true);
12539
12733
  let from = prop($$props, "from", 3, 0), duration = prop($$props, "duration", 3, 1200), decimals = prop($$props, "decimals", 3, 0), prefix = prop($$props, "prefix", 3, ""), suffix = prop($$props, "suffix", 3, ""), separator = prop($$props, "separator", 3, ","), klass = prop($$props, "class", 3, "");
@@ -12569,7 +12763,7 @@ function CountUp($$anchor, $$props) {
12569
12763
  onDestroy(() => {
12570
12764
  if (rafId) cancelAnimationFrame(rafId);
12571
12765
  });
12572
- var span = root$20();
12766
+ var span = root$1$();
12573
12767
  var span_1 = child(span);
12574
12768
  var text2 = child(span_1, true);
12575
12769
  reset(span_1);
@@ -12699,10 +12893,10 @@ customElements.define("uni-count-up", create_custom_element(
12699
12893
  ));
12700
12894
  var root_2$1i = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
12701
12895
  var root_3$T = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.18)" stroke-width="1" stroke-dasharray="4 3"></line><text text-anchor="end" fill="#6E7079" font-size="9" font-family="inherit"> </text>`, 1);
12702
- var root_4$H = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="2" stroke-linejoin="round"></path>`);
12896
+ var root_4$I = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="2" stroke-linejoin="round"></path>`);
12703
12897
  var root_5$r = /* @__PURE__ */ from_svg(`<text text-anchor="end" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
12704
- var root_6$c = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
12705
- var root_1$1D = /* @__PURE__ */ from_html(`<div role="img" style="line-height:0;"><svg width="100%" aria-hidden="true" focusable="false"><!><!><!><!><!></svg></div>`);
12898
+ var root_6$d = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
12899
+ var root_1$1C = /* @__PURE__ */ from_html(`<div role="img" style="line-height:0;"><svg width="100%" aria-hidden="true" focusable="false"><!><!><!><!><!></svg></div>`);
12706
12900
  function CumulativeDistribution($$anchor, $$props) {
12707
12901
  push($$props, true);
12708
12902
  let series = prop($$props, "series", 19, () => []), guides = prop($$props, "guides", 19, () => [50, 95]), height = prop($$props, "height", 3, 160), unit = prop($$props, "unit", 3, ""), ariaLabel = prop($$props, "ariaLabel", 3, "Cumulative distribution chart");
@@ -12744,7 +12938,7 @@ function CumulativeDistribution($$anchor, $$props) {
12744
12938
  var node = first_child(fragment);
12745
12939
  {
12746
12940
  var consequent = ($$anchor2) => {
12747
- var div = root_1$1D();
12941
+ var div = root_1$1C();
12748
12942
  var svg = child(div);
12749
12943
  var node_1 = child(svg);
12750
12944
  each(node_1, 17, () => get(yTicks), (t) => t.label, ($$anchor3, t) => {
@@ -12777,7 +12971,7 @@ function CumulativeDistribution($$anchor, $$props) {
12777
12971
  });
12778
12972
  var node_3 = sibling(node_2);
12779
12973
  each(node_3, 17, () => get(paths), (s) => s.label, ($$anchor3, s) => {
12780
- var path = root_4$H();
12974
+ var path = root_4$I();
12781
12975
  template_effect(() => {
12782
12976
  set_attribute(path, "d", get(s).d);
12783
12977
  set_attribute(path, "stroke", get(s).color);
@@ -12798,7 +12992,7 @@ function CumulativeDistribution($$anchor, $$props) {
12798
12992
  });
12799
12993
  var node_5 = sibling(node_4);
12800
12994
  each(node_5, 17, () => get(xTicks), index, ($$anchor3, t) => {
12801
- var text_4 = root_6$c();
12995
+ var text_4 = root_6$d();
12802
12996
  var text_5 = child(text_4, true);
12803
12997
  reset(text_4);
12804
12998
  template_effect(() => {
@@ -12930,12 +13124,12 @@ function buildGrid$1(year, month) {
12930
13124
  }
12931
13125
  return grid;
12932
13126
  }
12933
- var root_1$1C = /* @__PURE__ */ from_svg(`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="1" y="2" width="12" height="11" rx="1.5"></rect><path d="M1 6h12M4 1v2M10 1v2"></path></svg> `, 1);
13127
+ var root_1$1B = /* @__PURE__ */ from_svg(`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="1" y="2" width="12" height="11" rx="1.5"></rect><path d="M1 6h12M4 1v2M10 1v2"></path></svg> `, 1);
12934
13128
  var root_3$S = /* @__PURE__ */ from_html(`<th scope="col" class="p-0 text-center text-11 font-semibold uppercase tracking-[0.05em] text-text-4"> </th>`);
12935
13129
  var root_5$q = /* @__PURE__ */ from_html(`<td role="gridcell" class="p-0"><button type="button"> </button></td>`);
12936
- var root_4$G = /* @__PURE__ */ from_html(`<tr></tr>`);
13130
+ var root_4$H = /* @__PURE__ */ from_html(`<tr></tr>`);
12937
13131
  var root_2$1h = /* @__PURE__ */ from_html(`<div role="dialog" aria-modal="true" class="absolute left-0 top-[calc(100%+4px)] z-[9100] rounded-lg border border-border-3 bg-bg-2 p-2 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"><div class="flex items-center justify-between px-1 py-1"><button type="button" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05" aria-label="Previous month"><svg width="8" height="12" viewBox="0 0 8 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M7 1L2 6l5 5"></path></svg></button> <span class="text-13 font-medium text-text-1" aria-live="polite"> </span> <button type="button" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05" aria-label="Next month"><svg width="8" height="12" viewBox="0 0 8 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M1 1l5 5-5 5"></path></svg></button></div> <table role="grid" class="mt-1 border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div>`);
12938
- var root$1$ = /* @__PURE__ */ from_html(`<div class="relative inline-block"><!> <!></div>`);
13132
+ var root$1_ = /* @__PURE__ */ from_html(`<div class="relative inline-block"><!> <!></div>`);
12939
13133
  function DatePicker($$anchor, $$props) {
12940
13134
  push($$props, true);
12941
13135
  let value = prop($$props, "value", 3, null), placeholder = prop($$props, "placeholder", 3, "Pick a date"), disabled = prop($$props, "disabled", 3, false);
@@ -13046,7 +13240,7 @@ function DatePicker($$anchor, $$props) {
13046
13240
  if (isSelected) cls += " bg-brand-05 text-white hover:bg-brand-06";
13047
13241
  return cls;
13048
13242
  }
13049
- var div = root$1$();
13243
+ var div = root$1_();
13050
13244
  var node = child(div);
13051
13245
  {
13052
13246
  let $0 = /* @__PURE__ */ user_derived(() => get(open) ? calId : void 0);
@@ -13064,7 +13258,7 @@ function DatePicker($$anchor, $$props) {
13064
13258
  },
13065
13259
  onclick: () => get(open) ? closeCal() : openCal(),
13066
13260
  children: ($$anchor2, $$slotProps) => {
13067
- var fragment = root_1$1C();
13261
+ var fragment = root_1$1B();
13068
13262
  var text2 = sibling(first_child(fragment), 1, true);
13069
13263
  template_effect(($02) => set_text(text2, $02), [() => value() ? formatDate$1(value()) : placeholder()]);
13070
13264
  append($$anchor2, fragment);
@@ -13100,7 +13294,7 @@ function DatePicker($$anchor, $$props) {
13100
13294
  reset(thead);
13101
13295
  var tbody = sibling(thead);
13102
13296
  each(tbody, 20, () => Array(6), index, ($$anchor3, _, row) => {
13103
- var tr_1 = root_4$G();
13297
+ var tr_1 = root_4$H();
13104
13298
  each(tr_1, 20, () => Array(7), index, ($$anchor4, _2, col, $$array) => {
13105
13299
  const idx = /* @__PURE__ */ user_derived(() => row * 7 + col);
13106
13300
  const day = /* @__PURE__ */ user_derived(() => get(grid)[get(idx)]);
@@ -13249,16 +13443,16 @@ function buildGrid(year, month) {
13249
13443
  }
13250
13444
  return grid;
13251
13445
  }
13252
- var root_1$1B = /* @__PURE__ */ from_svg(`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="1" y="2" width="12" height="11" rx="1.5"></rect><path d="M1 6h12M4 1v2M10 1v2"></path></svg> `, 1);
13446
+ var root_1$1A = /* @__PURE__ */ from_svg(`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="1" y="2" width="12" height="11" rx="1.5"></rect><path d="M1 6h12M4 1v2M10 1v2"></path></svg> `, 1);
13253
13447
  var root_3$R = /* @__PURE__ */ from_html(`<th scope="col" class="p-0 text-center text-11 font-semibold uppercase tracking-[0.05em] text-text-4"> </th>`);
13254
13448
  var root_5$p = /* @__PURE__ */ from_html(`<td role="gridcell" class="p-0"><button type="button"> </button></td>`);
13255
- var root_4$F = /* @__PURE__ */ from_html(`<tr></tr>`);
13256
- var root_6$b = /* @__PURE__ */ from_html(`<th scope="col" class="p-0 text-center text-11 font-semibold uppercase tracking-[0.05em] text-text-4"> </th>`);
13257
- var root_8$9 = /* @__PURE__ */ from_html(`<td role="gridcell" class="p-0"><button type="button"> </button></td>`);
13258
- var root_7$9 = /* @__PURE__ */ from_html(`<tr></tr>`);
13449
+ var root_4$G = /* @__PURE__ */ from_html(`<tr></tr>`);
13450
+ var root_6$c = /* @__PURE__ */ from_html(`<th scope="col" class="p-0 text-center text-11 font-semibold uppercase tracking-[0.05em] text-text-4"> </th>`);
13451
+ var root_8$8 = /* @__PURE__ */ from_html(`<td role="gridcell" class="p-0"><button type="button"> </button></td>`);
13452
+ var root_7$a = /* @__PURE__ */ from_html(`<tr></tr>`);
13259
13453
  var root_9$5 = /* @__PURE__ */ from_html(`<p class="mt-2 px-1 text-12 text-status-info" aria-live="polite">Pick the end date</p>`);
13260
13454
  var root_2$1g = /* @__PURE__ */ from_html(`<div role="dialog" aria-modal="true" aria-label="Select date range" class="absolute left-0 top-[calc(100%+4px)] z-[9100] rounded-lg border border-border-3 bg-bg-2 p-2 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"><div class="flex gap-3"><div><div class="flex items-center justify-between px-1 py-1"><button type="button" aria-label="Previous month"><svg width="8" height="12" viewBox="0 0 8 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M7 1L2 6l5 5"></path></svg></button> <span class="text-13 font-medium text-text-1" aria-live="polite"> </span> <span class="inline-block w-7" aria-hidden="true"></span></div> <table role="grid" class="mt-1 border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div> <div><div class="flex items-center justify-between px-1 py-1"><span class="inline-block w-7" aria-hidden="true"></span> <span class="text-13 font-medium text-text-1" aria-live="polite"> </span> <button type="button" aria-label="Next month"><svg width="8" height="12" viewBox="0 0 8 12" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M1 1l5 5-5 5"></path></svg></button></div> <table role="grid" class="mt-1 border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div></div> <!></div>`);
13261
- var root$1_ = /* @__PURE__ */ from_html(`<div class="relative inline-block"><!> <!></div>`);
13455
+ var root$1Z = /* @__PURE__ */ from_html(`<div class="relative inline-block"><!> <!></div>`);
13262
13456
  function DateRangePicker($$anchor, $$props) {
13263
13457
  push($$props, true);
13264
13458
  let value = prop($$props, "value", 19, () => ({ start: null, end: null })), placeholder = prop($$props, "placeholder", 3, "Select date range"), disabled = prop($$props, "disabled", 3, false);
@@ -13339,7 +13533,7 @@ function DateRangePicker($$anchor, $$props) {
13339
13533
  return cls;
13340
13534
  }
13341
13535
  const NAV_BTN = "inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05";
13342
- var div = root$1_();
13536
+ var div = root$1Z();
13343
13537
  var node = child(div);
13344
13538
  {
13345
13539
  let $0 = /* @__PURE__ */ user_derived(() => get(open) ? dlgId : void 0);
@@ -13362,7 +13556,7 @@ function DateRangePicker($$anchor, $$props) {
13362
13556
  } else set(open, true);
13363
13557
  },
13364
13558
  children: ($$anchor2, $$slotProps) => {
13365
- var fragment = root_1$1B();
13559
+ var fragment = root_1$1A();
13366
13560
  var text2 = sibling(first_child(fragment), 1, true);
13367
13561
  template_effect(($02) => set_text(text2, $02), [() => formatRange() ?? placeholder()]);
13368
13562
  append($$anchor2, fragment);
@@ -13402,7 +13596,7 @@ function DateRangePicker($$anchor, $$props) {
13402
13596
  reset(thead);
13403
13597
  var tbody = sibling(thead);
13404
13598
  each(tbody, 20, () => Array(6), index, ($$anchor3, _, row) => {
13405
- var tr_1 = root_4$F();
13599
+ var tr_1 = root_4$G();
13406
13600
  each(tr_1, 20, () => Array(7), index, ($$anchor4, _2, col, $$array) => {
13407
13601
  const idx = /* @__PURE__ */ user_derived(() => row * 7 + col);
13408
13602
  const day = /* @__PURE__ */ user_derived(() => get(leftGrid)[get(idx)]);
@@ -13461,7 +13655,7 @@ function DateRangePicker($$anchor, $$props) {
13461
13655
  var thead_1 = child(table_1);
13462
13656
  var tr_2 = child(thead_1);
13463
13657
  each(tr_2, 21, () => DAYS, index, ($$anchor3, d) => {
13464
- var th_1 = root_6$b();
13658
+ var th_1 = root_6$c();
13465
13659
  var text_5 = child(th_1, true);
13466
13660
  reset(th_1);
13467
13661
  template_effect(() => {
@@ -13474,7 +13668,7 @@ function DateRangePicker($$anchor, $$props) {
13474
13668
  reset(thead_1);
13475
13669
  var tbody_1 = sibling(thead_1);
13476
13670
  each(tbody_1, 20, () => Array(6), index, ($$anchor3, _, row) => {
13477
- var tr_3 = root_7$9();
13671
+ var tr_3 = root_7$a();
13478
13672
  each(tr_3, 20, () => Array(7), index, ($$anchor4, _2, col, $$array_1) => {
13479
13673
  const idx = /* @__PURE__ */ user_derived(() => row * 7 + col);
13480
13674
  const day = /* @__PURE__ */ user_derived(() => get(rightGrid)[get(idx)]);
@@ -13483,7 +13677,7 @@ function DateRangePicker($$anchor, $$props) {
13483
13677
  const start = /* @__PURE__ */ user_derived(() => isStart(get(day)));
13484
13678
  const end = /* @__PURE__ */ user_derived(() => isEnd(get(day)));
13485
13679
  const inRange = /* @__PURE__ */ user_derived(() => isInRange(get(day)));
13486
- var td_1 = root_8$9();
13680
+ var td_1 = root_8$8();
13487
13681
  var button_3 = child(td_1);
13488
13682
  var text_6 = child(button_3, true);
13489
13683
  reset(button_3);
@@ -13609,13 +13803,13 @@ function DateRangePicker_wc($$anchor, $$props) {
13609
13803
  return pop($$exports);
13610
13804
  }
13611
13805
  customElements.define("uni-date-range-picker", create_custom_element(DateRangePicker_wc, { value: {}, placeholder: {}, disabled: {} }, ["default"], [], { mode: "open" }));
13612
- var root$1Z = /* @__PURE__ */ from_html(`<span class="sr-only">Trend:</span> <span><!></span>`, 1);
13806
+ var root$1Y = /* @__PURE__ */ from_html(`<span class="sr-only">Trend:</span> <span><!></span>`, 1);
13613
13807
  function Delta($$anchor, $$props) {
13614
13808
  push($$props, true);
13615
13809
  let className = prop($$props, "class", 3, "");
13616
13810
  let deltaClass = /* @__PURE__ */ user_derived(() => $$props.dir === "flat" ? "" : `delta-${$$props.dir}`);
13617
13811
  let merged = /* @__PURE__ */ user_derived(() => `${get(deltaClass)} ${className()}`.trim());
13618
- var fragment = root$1Z();
13812
+ var fragment = root$1Y();
13619
13813
  var span = sibling(first_child(fragment), 2);
13620
13814
  var node = child(span);
13621
13815
  snippet(node, () => $$props.children ?? noop);
@@ -13662,11 +13856,11 @@ function Delta_wc($$anchor, $$props) {
13662
13856
  }
13663
13857
  customElements.define("uni-delta", create_custom_element(Delta_wc, { dir: {}, class: {} }, ["default"], [], { mode: "open" }));
13664
13858
  var root_2$1f = /* @__PURE__ */ from_svg(`<path fill="none" stroke="rgba(255,255,255,0.13)" stroke-width="1.5"></path>`);
13665
- var root_4$E = /* @__PURE__ */ from_svg(`<text fill="#C8CDD9" font-size="10" font-family="inherit"> </text>`);
13859
+ var root_4$F = /* @__PURE__ */ from_svg(`<text fill="#C8CDD9" font-size="10" font-family="inherit"> </text>`);
13666
13860
  var root_5$o = /* @__PURE__ */ from_svg(`<text fill="#8B909E" font-size="9" font-family="inherit"> </text>`);
13667
- var root_6$a = /* @__PURE__ */ from_svg(`<text fill="#8B909E" font-size="9" font-family="inherit" text-anchor="middle"> </text>`);
13861
+ var root_6$b = /* @__PURE__ */ from_svg(`<text fill="#8B909E" font-size="9" font-family="inherit" text-anchor="middle"> </text>`);
13668
13862
  var root_3$Q = /* @__PURE__ */ from_svg(`<circle></circle><!>`, 1);
13669
- var root_1$1A = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;overflow-x:auto"><svg aria-hidden="true" focusable="false"><!><!></svg></div>`);
13863
+ var root_1$1z = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;overflow-x:auto"><svg aria-hidden="true" focusable="false"><!><!></svg></div>`);
13670
13864
  function Dendrogram($$anchor, $$props) {
13671
13865
  const CHILD_COLORS = [
13672
13866
  "#006FFF",
@@ -13746,7 +13940,7 @@ function Dendrogram($$anchor, $$props) {
13746
13940
  }
13747
13941
  let colWidth = prop($$props, "colWidth", 3, 130), rowHeight = prop($$props, "rowHeight", 3, 28), ariaLabel = prop($$props, "ariaLabel", 3, "Dendrogram");
13748
13942
  let $$d = /* @__PURE__ */ user_derived(() => compute($$props.root, colWidth(), rowHeight())), svgW = /* @__PURE__ */ user_derived(() => get($$d).svgW), svgH = /* @__PURE__ */ user_derived(() => get($$d).svgH), nodes = /* @__PURE__ */ user_derived(() => get($$d).nodes), links = /* @__PURE__ */ user_derived(() => get($$d).links);
13749
- var div = root_1$1A();
13943
+ var div = root_1$1z();
13750
13944
  var svg = child(div);
13751
13945
  var node = child(svg);
13752
13946
  each(node, 17, () => get(links), index, ($$anchor2, $$item) => {
@@ -13766,7 +13960,7 @@ function Dendrogram($$anchor, $$props) {
13766
13960
  var node_2 = sibling(circle);
13767
13961
  {
13768
13962
  var consequent = ($$anchor3) => {
13769
- var text2 = root_4$E();
13963
+ var text2 = root_4$F();
13770
13964
  var text_1 = child(text2, true);
13771
13965
  reset(text2);
13772
13966
  template_effect(() => {
@@ -13788,7 +13982,7 @@ function Dendrogram($$anchor, $$props) {
13788
13982
  append($$anchor3, text_2);
13789
13983
  };
13790
13984
  var alternate = ($$anchor3) => {
13791
- var text_4 = root_6$a();
13985
+ var text_4 = root_6$b();
13792
13986
  var text_5 = child(text_4, true);
13793
13987
  reset(text_4);
13794
13988
  template_effect(() => {
@@ -13877,10 +14071,10 @@ function Dendrogram_wc($$anchor, $$props) {
13877
14071
  return pop($$exports);
13878
14072
  }
13879
14073
  customElements.define("uni-dendrogram", create_custom_element(Dendrogram_wc, { root: {}, colWidth: {}, rowHeight: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
13880
- var root$1Y = /* @__PURE__ */ from_html(`<h1><!></h1>`);
14074
+ var root$1X = /* @__PURE__ */ from_html(`<h1><!></h1>`);
13881
14075
  function Display1($$anchor, $$props) {
13882
14076
  let className = prop($$props, "class", 3, "");
13883
- var h1 = root$1Y();
14077
+ var h1 = root$1X();
13884
14078
  var node = child(h1);
13885
14079
  snippet(node, () => $$props.children ?? noop);
13886
14080
  reset(h1);
@@ -13914,10 +14108,10 @@ function Display1_wc($$anchor, $$props) {
13914
14108
  return pop($$exports);
13915
14109
  }
13916
14110
  customElements.define("uni-display1", create_custom_element(Display1_wc, { class: {} }, ["default"], [], { mode: "open" }));
13917
- var root$1X = /* @__PURE__ */ from_html(`<h1><!></h1>`);
14111
+ var root$1W = /* @__PURE__ */ from_html(`<h1><!></h1>`);
13918
14112
  function Display2($$anchor, $$props) {
13919
14113
  let className = prop($$props, "class", 3, "");
13920
- var h1 = root$1X();
14114
+ var h1 = root$1W();
13921
14115
  var node = child(h1);
13922
14116
  snippet(node, () => $$props.children ?? noop);
13923
14117
  reset(h1);
@@ -13951,8 +14145,8 @@ function Display2_wc($$anchor, $$props) {
13951
14145
  return pop($$exports);
13952
14146
  }
13953
14147
  customElements.define("uni-display2", create_custom_element(Display2_wc, { class: {} }, ["default"], [], { mode: "open" }));
13954
- var root_1$1z = /* @__PURE__ */ from_svg(`<circle fill="none" stroke-width="10" stroke-linecap="round"></circle>`);
13955
- var root$1W = /* @__PURE__ */ from_html(`<div role="img"><svg aria-hidden="true" focusable="false" style="transform:rotate(-90deg);"><circle fill="none" stroke-width="10"></circle><!></svg> <div aria-hidden="true" style="position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;"><div style="font-size:20px;font-weight:600;letter-spacing:-0.01em;font-variant-numeric:tabular-nums;"> </div> <div style="font-size:10px;color:#6E7079;"> </div></div></div>`);
14148
+ var root_1$1y = /* @__PURE__ */ from_svg(`<circle fill="none" stroke-width="10" stroke-linecap="round"></circle>`);
14149
+ var root$1V = /* @__PURE__ */ from_html(`<div role="img"><svg aria-hidden="true" focusable="false" style="transform:rotate(-90deg);"><circle fill="none" stroke-width="10"></circle><!></svg> <div aria-hidden="true" style="position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;"><div style="font-size:20px;font-weight:600;letter-spacing:-0.01em;font-variant-numeric:tabular-nums;"> </div> <div style="font-size:10px;color:#6E7079;"> </div></div></div>`);
13956
14150
  function Donut($$anchor, $$props) {
13957
14151
  push($$props, true);
13958
14152
  let size = prop($$props, "size", 3, 96), segments = prop($$props, "segments", 19, () => []), trackColor = prop($$props, "trackColor", 3, "rgba(255,255,255,0.06)"), ariaLabel = prop($$props, "ariaLabel", 3, void 0);
@@ -13971,12 +14165,12 @@ function Donut($$anchor, $$props) {
13971
14165
  return { ...seg, offset, rotate };
13972
14166
  });
13973
14167
  })());
13974
- var div = root$1W();
14168
+ var div = root$1V();
13975
14169
  var svg = child(div);
13976
14170
  var circle = child(svg);
13977
14171
  var node = sibling(circle);
13978
14172
  each(node, 17, () => get(arcs), (a) => a.label, ($$anchor2, a) => {
13979
- var circle_1 = root_1$1z();
14173
+ var circle_1 = root_1$1y();
13980
14174
  template_effect(() => {
13981
14175
  set_attribute(circle_1, "cx", size() / 2);
13982
14176
  set_attribute(circle_1, "cy", size() / 2);
@@ -14103,13 +14297,13 @@ customElements.define("uni-donut", create_custom_element(
14103
14297
  [],
14104
14298
  { mode: "open" }
14105
14299
  ));
14106
- var root_1$1y = /* @__PURE__ */ from_svg(`<g><line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text></g>`);
14300
+ var root_1$1x = /* @__PURE__ */ from_svg(`<g><line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text></g>`);
14107
14301
  var root_3$P = /* @__PURE__ */ from_svg(`<line stroke-width="1.5" opacity="0.35"></line><circle fill="none" stroke="#A4A7B5" stroke-width="1.5"></circle>`, 1);
14108
14302
  var root_2$1e = /* @__PURE__ */ from_svg(`<g><text fill="#A4A7B5" font-size="10" text-anchor="end" font-family="inherit"> </text><line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><!><circle></circle><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text></g>`);
14109
14303
  var root_5$n = /* @__PURE__ */ from_svg(`<circle r="4" fill="#006FFF"></circle><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text>`, 1);
14110
- var root_6$9 = /* @__PURE__ */ from_svg(`<circle r="3" fill="none" stroke="#A4A7B5" stroke-width="1.5"></circle><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text>`, 1);
14111
- var root_4$D = /* @__PURE__ */ from_svg(`<!><!>`, 1);
14112
- var root$1V = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
14304
+ var root_6$a = /* @__PURE__ */ from_svg(`<circle r="3" fill="none" stroke="#A4A7B5" stroke-width="1.5"></circle><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text>`, 1);
14305
+ var root_4$E = /* @__PURE__ */ from_svg(`<!><!>`, 1);
14306
+ var root$1U = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
14113
14307
  function DotPlot($$anchor, $$props) {
14114
14308
  push($$props, true);
14115
14309
  let items = prop($$props, "items", 19, () => []), min = prop($$props, "min", 3, 0), max = prop($$props, "max", 3, void 0), unit = prop($$props, "unit", 3, ""), valueLegend = prop($$props, "valueLegend", 3, void 0), compareLegend = prop($$props, "compareLegend", 3, void 0), ariaLabel = prop($$props, "ariaLabel", 3, "Dot plot");
@@ -14136,11 +14330,11 @@ function DotPlot($$anchor, $$props) {
14136
14330
  function fmtTick(t) {
14137
14331
  return (Number.isInteger(t) ? t : t.toFixed(1)) + unit();
14138
14332
  }
14139
- var div = root$1V();
14333
+ var div = root$1U();
14140
14334
  var svg = child(div);
14141
14335
  var node = child(svg);
14142
14336
  each(node, 17, () => get(ticks), index, ($$anchor2, t) => {
14143
- var g = root_1$1y();
14337
+ var g = root_1$1x();
14144
14338
  var line = child(g);
14145
14339
  set_attribute(line, "y1", PAD_T);
14146
14340
  var text2 = sibling(line);
@@ -14230,7 +14424,7 @@ function DotPlot($$anchor, $$props) {
14230
14424
  var node_3 = sibling(node_1);
14231
14425
  {
14232
14426
  var consequent_3 = ($$anchor2) => {
14233
- var fragment_1 = root_4$D();
14427
+ var fragment_1 = root_4$E();
14234
14428
  var node_4 = first_child(fragment_1);
14235
14429
  {
14236
14430
  var consequent_1 = ($$anchor3) => {
@@ -14255,7 +14449,7 @@ function DotPlot($$anchor, $$props) {
14255
14449
  var node_5 = sibling(node_4);
14256
14450
  {
14257
14451
  var consequent_2 = ($$anchor3) => {
14258
- var fragment_3 = root_6$9();
14452
+ var fragment_3 = root_6$a();
14259
14453
  var circle_3 = first_child(fragment_3);
14260
14454
  var text_8 = sibling(circle_3);
14261
14455
  var text_9 = child(text_8, true);
@@ -14389,7 +14583,7 @@ customElements.define("uni-dot-plot", create_custom_element(
14389
14583
  [],
14390
14584
  { mode: "open" }
14391
14585
  ));
14392
- var root$1U = /* @__PURE__ */ from_html(`<div aria-hidden="true" role="presentation"></div> <div role="dialog" aria-modal="true" tabindex="-1"><div class="flex shrink-0 items-center justify-between border-b border-border-1 px-5 py-4"><h2 class="m-0 text-16 font-semibold"> </h2> <!></div> <div class="flex-1 overflow-y-auto px-5 py-4"><!></div></div>`, 1);
14586
+ var root$1T = /* @__PURE__ */ from_html(`<div aria-hidden="true" role="presentation"></div> <div role="dialog" aria-modal="true" tabindex="-1"><div class="flex shrink-0 items-center justify-between border-b border-border-1 px-5 py-4"><h2 class="m-0 text-16 font-semibold"> </h2> <!></div> <div class="flex-1 overflow-y-auto px-5 py-4"><!></div></div>`, 1);
14393
14587
  function Drawer($$anchor, $$props) {
14394
14588
  push($$props, true);
14395
14589
  let open = prop($$props, "open", 15, false);
@@ -14433,7 +14627,7 @@ function Drawer($$anchor, $$props) {
14433
14627
  f.focus();
14434
14628
  }
14435
14629
  }
14436
- var fragment = root$1U();
14630
+ var fragment = root$1T();
14437
14631
  event("keydown", $window, onKeydown);
14438
14632
  var div = first_child(fragment);
14439
14633
  var div_1 = sibling(div, 2);
@@ -14507,14 +14701,14 @@ function Drawer_wc($$anchor, $$props) {
14507
14701
  return pop($$exports);
14508
14702
  }
14509
14703
  customElements.define("uni-drawer", create_custom_element(Drawer_wc, { open: {}, title: {} }, ["default"], [], { mode: "open" }));
14510
- var root_1$1x = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
14704
+ var root_1$1w = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
14511
14705
  var root_2$1d = /* @__PURE__ */ from_svg(`<text text-anchor="end" font-size="9" font-family="inherit" fill-opacity="0.8"> </text>`);
14512
14706
  var root_3$O = /* @__PURE__ */ from_svg(`<text text-anchor="start" font-size="9" font-family="inherit" fill-opacity="0.8"> </text>`);
14513
- var root_4$C = /* @__PURE__ */ from_svg(`<rect fill-opacity="0.75" rx="2"></rect>`);
14707
+ var root_4$D = /* @__PURE__ */ from_svg(`<rect fill-opacity="0.75" rx="2"></rect>`);
14514
14708
  var root_5$m = /* @__PURE__ */ from_svg(`<path fill-opacity="0.12"></path>`);
14515
- var root_6$8 = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path>`);
14516
- var root_7$8 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
14517
- var root$1T = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><!><!><!><!></svg> <div style="display:flex;gap:16px;justify-content:center;font-size:11px;color:#A4A7B5;margin-top:4px;"><span style="display:flex;align-items:center;gap:4px;"><span></span> </span> <span style="display:flex;align-items:center;gap:4px;"><span></span> </span></div></div>`);
14709
+ var root_6$9 = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path>`);
14710
+ var root_7$9 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9" font-family="inherit"> </text>`);
14711
+ var root$1S = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><!><!><!><!></svg> <div style="display:flex;gap:16px;justify-content:center;font-size:11px;color:#A4A7B5;margin-top:4px;"><span style="display:flex;align-items:center;gap:4px;"><span></span> </span> <span style="display:flex;align-items:center;gap:4px;"><span></span> </span></div></div>`);
14518
14712
  function DualAxisChart($$anchor, $$props) {
14519
14713
  push($$props, true);
14520
14714
  let labels = prop($$props, "labels", 19, () => []), height = prop($$props, "height", 3, 160), ariaLabel = prop($$props, "ariaLabel", 3, "Dual axis chart");
@@ -14552,11 +14746,11 @@ function DualAxisChart($$anchor, $$props) {
14552
14746
  let linePoints = /* @__PURE__ */ user_derived(() => $$props.line.values.map((v, i) => `${(PAD.l + (get(n) > 1 ? i / (get(n) - 1) * get(chartW) : get(chartW) / 2)).toFixed(1)},${(PAD.t + get(chartH) - (v - get(lineMin)) / get(lineRange) * get(chartH)).toFixed(1)}`));
14553
14747
  let linePath = /* @__PURE__ */ user_derived(() => get(linePoints).length ? `M ${get(linePoints).join(" L ")}` : "");
14554
14748
  let lineArea = /* @__PURE__ */ user_derived(() => get(linePoints).length ? `M ${PAD.l.toFixed(1)},${get(bot).toFixed(1)} L ${get(linePoints).join(" L ")} L ${(PAD.l + (get(n) > 1 ? get(chartW) : 0)).toFixed(1)},${get(bot).toFixed(1)} Z` : "");
14555
- var div = root$1T();
14749
+ var div = root$1S();
14556
14750
  var svg = child(div);
14557
14751
  var node = child(svg);
14558
14752
  each(node, 17, () => get(gridLines), index, ($$anchor2, y) => {
14559
- var line_1 = root_1$1x();
14753
+ var line_1 = root_1$1w();
14560
14754
  template_effect(() => {
14561
14755
  set_attribute(line_1, "x1", PAD.l);
14562
14756
  set_attribute(line_1, "y1", get(y));
@@ -14593,7 +14787,7 @@ function DualAxisChart($$anchor, $$props) {
14593
14787
  });
14594
14788
  var node_3 = sibling(node_2);
14595
14789
  each(node_3, 17, () => get(barRects), index, ($$anchor2, b) => {
14596
- var rect = root_4$C();
14790
+ var rect = root_4$D();
14597
14791
  template_effect(() => {
14598
14792
  set_attribute(rect, "x", get(b).x);
14599
14793
  set_attribute(rect, "y", get(b).y);
@@ -14620,7 +14814,7 @@ function DualAxisChart($$anchor, $$props) {
14620
14814
  var node_5 = sibling(node_4);
14621
14815
  {
14622
14816
  var consequent_1 = ($$anchor2) => {
14623
- var path_1 = root_6$8();
14817
+ var path_1 = root_6$9();
14624
14818
  template_effect(() => {
14625
14819
  set_attribute(path_1, "d", get(linePath));
14626
14820
  set_attribute(path_1, "stroke", $$props.line.color);
@@ -14633,7 +14827,7 @@ function DualAxisChart($$anchor, $$props) {
14633
14827
  }
14634
14828
  var node_6 = sibling(node_5);
14635
14829
  each(node_6, 17, labels, index, ($$anchor2, lbl, i) => {
14636
- var text_4 = root_7$8();
14830
+ var text_4 = root_7$9();
14637
14831
  var text_5 = child(text_4, true);
14638
14832
  reset(text_4);
14639
14833
  template_effect(
@@ -14736,9 +14930,9 @@ function DualAxisChart_wc($$anchor, $$props) {
14736
14930
  return pop($$exports);
14737
14931
  }
14738
14932
  customElements.define("uni-dual-axis-chart", create_custom_element(DualAxisChart_wc, { bars: {}, line: {}, labels: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
14739
- var root_1$1w = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`, 1);
14933
+ var root_1$1v = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`, 1);
14740
14934
  var root_2$1c = /* @__PURE__ */ from_svg(`<text fill="#A4A7B5" font-size="10" text-anchor="end" font-family="inherit"> </text><line stroke-width="2" opacity="0.4"></line><circle fill="#13131A" stroke-width="1.5"></circle><circle></circle>`, 1);
14741
- var root$1S = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
14935
+ var root$1R = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
14742
14936
  function DumbbellChart($$anchor, $$props) {
14743
14937
  push($$props, true);
14744
14938
  let items = prop($$props, "items", 19, () => []), unit = prop($$props, "unit", 3, ""), color = prop($$props, "color", 3, "#006FFF"), ariaLabel = prop($$props, "ariaLabel", 3, "Dumbbell chart");
@@ -14760,11 +14954,11 @@ function DumbbellChart($$anchor, $$props) {
14760
14954
  return LABEL_W + (v - get(minVal)) / get(range) * TRACK_W;
14761
14955
  }
14762
14956
  let ticks = /* @__PURE__ */ user_derived(() => Array.from({ length: TICKS + 1 }, (_, i) => Math.round(get(minVal) + i / TICKS * get(range))));
14763
- var div = root$1S();
14957
+ var div = root$1R();
14764
14958
  var svg = child(div);
14765
14959
  var node = child(svg);
14766
14960
  each(node, 17, () => get(ticks), index, ($$anchor2, t) => {
14767
- var fragment = root_1$1w();
14961
+ var fragment = root_1$1v();
14768
14962
  var line = first_child(fragment);
14769
14963
  set_attribute(line, "y1", PAD_T);
14770
14964
  var text2 = sibling(line);
@@ -14883,10 +15077,10 @@ function DumbbellChart_wc($$anchor, $$props) {
14883
15077
  }
14884
15078
  customElements.define("uni-dumbbell-chart", create_custom_element(DumbbellChart_wc, { items: {}, unit: {}, color: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
14885
15079
  let counter$l = 0;
14886
- var root_1$1v = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
15080
+ var root_1$1u = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
14887
15081
  var root_3$N = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="select-none text-13 leading-none text-text-4">:</span>`);
14888
15082
  var root_2$1b = /* @__PURE__ */ from_html(`<input type="text" inputmode="numeric" pattern="[0-9]*" role="spinbutton"/> <!>`, 1);
14889
- var root$1R = /* @__PURE__ */ from_html(`<div><!> <div role="group" class="inline-flex h-[34px] items-center gap-0.5 rounded-md border border-border-2 bg-bg-page px-2 transition-colors duration-100 focus-within:border-brand-05 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-40"></div></div>`);
15083
+ var root$1Q = /* @__PURE__ */ from_html(`<div><!> <div role="group" class="inline-flex h-[34px] items-center gap-0.5 rounded-md border border-border-2 bg-bg-page px-2 transition-colors duration-100 focus-within:border-brand-05 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-40"></div></div>`);
14890
15084
  function DurationInput($$anchor, $$props) {
14891
15085
  push($$props, true);
14892
15086
  let label = prop($$props, "label", 3, void 0), value = prop($$props, "value", 15, 0), maxHours = prop($$props, "maxHours", 3, 99), disabled = prop($$props, "disabled", 3, false), className = prop($$props, "class", 3, "");
@@ -14952,11 +15146,11 @@ function DurationInput($$anchor, $$props) {
14952
15146
  let fieldVals = /* @__PURE__ */ user_derived(() => [get(hours), get(minutes), get(seconds)]);
14953
15147
  let fieldMaxes = /* @__PURE__ */ user_derived(() => [maxHours(), 59, 59]);
14954
15148
  const FIELD_CLS = "w-9 border-0 bg-transparent p-0 text-center font-mono text-13 text-text-1 outline-none";
14955
- var div = root$1R();
15149
+ var div = root$1Q();
14956
15150
  var node = child(div);
14957
15151
  {
14958
15152
  var consequent = ($$anchor2) => {
14959
- var label_1 = root_1$1v();
15153
+ var label_1 = root_1$1u();
14960
15154
  var text2 = child(label_1, true);
14961
15155
  reset(label_1);
14962
15156
  template_effect(() => {
@@ -15088,19 +15282,19 @@ function DurationInput_wc($$anchor, $$props) {
15088
15282
  return pop($$exports);
15089
15283
  }
15090
15284
  customElements.define("uni-duration-input", create_custom_element(DurationInput_wc, { label: {}, value: {}, maxHours: {}, disabled: {}, class: {} }, ["default"], [], { mode: "open" }));
15091
- var root_1$1u = /* @__PURE__ */ from_html(`<p class="m-0 max-w-[280px] text-12 leading-[1.5] text-text-4"> </p>`);
15285
+ var root_1$1t = /* @__PURE__ */ from_html(`<p class="m-0 max-w-[280px] text-12 leading-[1.5] text-text-4"> </p>`);
15092
15286
  var root_2$1a = /* @__PURE__ */ from_html(`<div class="mt-1.5"><!></div>`);
15093
- var root$1Q = /* @__PURE__ */ from_html(`<div role="status" aria-live="polite"><svg class="h-12 w-12 shrink-0 text-border-3" viewBox="0 0 48 48" fill="none" aria-hidden="true" focusable="false"><rect x="6" y="11" width="36" height="28" rx="4" stroke="currentColor" stroke-width="1.5"></rect><path d="M6 30h10l3 5h10l3-5h10" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"></path><path d="M15 20h18M15 25h12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" opacity=".4"></path></svg> <p class="m-0 text-14 font-medium text-text-3"> </p> <!> <!></div>`);
15287
+ var root$1P = /* @__PURE__ */ from_html(`<div role="status" aria-live="polite"><svg class="h-12 w-12 shrink-0 text-border-3" viewBox="0 0 48 48" fill="none" aria-hidden="true" focusable="false"><rect x="6" y="11" width="36" height="28" rx="4" stroke="currentColor" stroke-width="1.5"></rect><path d="M6 30h10l3 5h10l3-5h10" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"></path><path d="M15 20h18M15 25h12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" opacity=".4"></path></svg> <p class="m-0 text-14 font-medium text-text-3"> </p> <!> <!></div>`);
15094
15288
  function EmptyState($$anchor, $$props) {
15095
15289
  let description = prop($$props, "description", 3, void 0), className = prop($$props, "class", 3, "");
15096
- var div = root$1Q();
15290
+ var div = root$1P();
15097
15291
  var p = sibling(child(div), 2);
15098
15292
  var text2 = child(p, true);
15099
15293
  reset(p);
15100
15294
  var node = sibling(p, 2);
15101
15295
  {
15102
15296
  var consequent = ($$anchor2) => {
15103
- var p_1 = root_1$1u();
15297
+ var p_1 = root_1$1t();
15104
15298
  var text_1 = child(p_1, true);
15105
15299
  reset(p_1);
15106
15300
  template_effect(() => set_text(text_1, description()));
@@ -15179,8 +15373,8 @@ function EmptyState_wc($$anchor, $$props) {
15179
15373
  customElements.define("uni-empty-state", create_custom_element(EmptyState_wc, { title: {}, description: {}, class: {} }, ["default"], [], { mode: "open" }));
15180
15374
  var root_2$19 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
15181
15375
  var root_3$M = /* @__PURE__ */ from_svg(`<path opacity="0.12"></path><path fill="none" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"></path>`, 1);
15182
- var root_4$B = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
15183
- var root_1$1t = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
15376
+ var root_4$C = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
15377
+ var root_1$1s = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
15184
15378
  function ErrorBandChart($$anchor, $$props) {
15185
15379
  push($$props, true);
15186
15380
  let series = prop($$props, "series", 19, () => []), xLabels = prop($$props, "xLabels", 19, () => []), yRange = prop($$props, "yRange", 3, void 0), height = prop($$props, "height", 3, 180), unit = prop($$props, "unit", 3, ""), ariaLabel = prop($$props, "ariaLabel", 3, "Error band chart");
@@ -15215,7 +15409,7 @@ function ErrorBandChart($$anchor, $$props) {
15215
15409
  var node = first_child(fragment);
15216
15410
  {
15217
15411
  var consequent = ($$anchor2) => {
15218
- var div = root_1$1t();
15412
+ var div = root_1$1s();
15219
15413
  var svg = child(div);
15220
15414
  var node_1 = child(svg);
15221
15415
  each(node_1, 17, () => get(yTicks), index, ($$anchor3, v) => {
@@ -15264,7 +15458,7 @@ function ErrorBandChart($$anchor, $$props) {
15264
15458
  });
15265
15459
  var node_3 = sibling(node_2);
15266
15460
  each(node_3, 17, xLabels, index, ($$anchor3, lbl, i) => {
15267
- var text_2 = root_4$B();
15461
+ var text_2 = root_4$C();
15268
15462
  var text_3 = child(text_2, true);
15269
15463
  reset(text_2);
15270
15464
  template_effect(() => {
@@ -15379,13 +15573,13 @@ customElements.define("uni-error-band-chart", create_custom_element(
15379
15573
  [],
15380
15574
  { mode: "open" }
15381
15575
  ));
15382
- var root$1P = /* @__PURE__ */ from_html(`<tbody><tr><td class="w-8 px-1"><button type="button" class="inline-flex h-6 w-6 cursor-pointer items-center justify-center rounded border-0 bg-transparent p-0 text-text-4 transition-colors duration-100 hover:text-text-2 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg viewBox="0 0 10 6" fill="none" aria-hidden="true"><path d="M1 1l4 4 4-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button></td><!></tr><tr><td class="border-b border-border-1 bg-divider pb-3 pl-9 pr-3 pt-2"><!></td></tr></tbody>`);
15576
+ var root$1O = /* @__PURE__ */ from_html(`<tbody><tr><td class="w-8 px-1"><button type="button" class="inline-flex h-6 w-6 cursor-pointer items-center justify-center rounded border-0 bg-transparent p-0 text-text-4 transition-colors duration-100 hover:text-text-2 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg viewBox="0 0 10 6" fill="none" aria-hidden="true"><path d="M1 1l4 4 4-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button></td><!></tr><tr><td class="border-b border-border-1 bg-divider pb-3 pl-9 pr-3 pt-2"><!></td></tr></tbody>`);
15383
15577
  function ExpandableRow($$anchor, $$props) {
15384
15578
  push($$props, true);
15385
15579
  let defaultExpanded = prop($$props, "defaultExpanded", 3, false);
15386
15580
  let open = /* @__PURE__ */ state(proxy(defaultExpanded()));
15387
15581
  const detailId = `exp-${Math.random().toString(36).slice(2, 9)}`;
15388
- var tbody = root$1P();
15582
+ var tbody = root$1O();
15389
15583
  var tr = child(tbody);
15390
15584
  var td = child(tr);
15391
15585
  var button = child(td);
@@ -15454,10 +15648,10 @@ function ExpandableRow_wc($$anchor, $$props) {
15454
15648
  return pop($$exports);
15455
15649
  }
15456
15650
  customElements.define("uni-expandable-row", create_custom_element(ExpandableRow_wc, { colSpan: {}, defaultExpanded: {} }, ["default"], [], { mode: "open" }));
15457
- var root$1O = /* @__PURE__ */ from_html(`<span><!></span>`);
15651
+ var root$1N = /* @__PURE__ */ from_html(`<span><!></span>`);
15458
15652
  function Eyebrow($$anchor, $$props) {
15459
15653
  let className = prop($$props, "class", 3, "");
15460
- var span = root$1O();
15654
+ var span = root$1N();
15461
15655
  var node = child(span);
15462
15656
  snippet(node, () => $$props.children ?? noop);
15463
15657
  reset(span);
@@ -15492,11 +15686,11 @@ function Eyebrow_wc($$anchor, $$props) {
15492
15686
  }
15493
15687
  customElements.define("uni-eyebrow", create_custom_element(Eyebrow_wc, { class: {} }, ["default"], [], { mode: "open" }));
15494
15688
  let counter$k = 0;
15495
- var root_1$1s = /* @__PURE__ */ from_html(`<span class="text-status-danger" aria-hidden="true">*</span>`);
15689
+ var root_1$1r = /* @__PURE__ */ from_html(`<span class="text-status-danger" aria-hidden="true">*</span>`);
15496
15690
  var root_2$18 = /* @__PURE__ */ from_html(`<div class="text-12 text-text-3"> </div>`);
15497
- var root_4$A = /* @__PURE__ */ from_html(`<input class="h-[34px] w-full rounded-md border border-border-2 bg-bg-page px-3 text-13 text-text-1 outline-none transition-[border-color] duration-100 focus:border-brand-05 focus:[box-shadow:0_0_0_2px_rgba(0,111,255,0.2)] aria-[invalid='true']:border-status-danger aria-[invalid='true']:focus:[box-shadow:0_0_0_2px_rgba(240,58,58,0.12)]"/>`);
15691
+ var root_4$B = /* @__PURE__ */ from_html(`<input class="h-[34px] w-full rounded-md border border-border-2 bg-bg-page px-3 text-13 text-text-1 outline-none transition-[border-color] duration-100 focus:border-brand-05 focus:[box-shadow:0_0_0_2px_rgba(0,111,255,0.2)] aria-[invalid='true']:border-status-danger aria-[invalid='true']:focus:[box-shadow:0_0_0_2px_rgba(240,58,58,0.12)]"/>`);
15498
15692
  var root_5$l = /* @__PURE__ */ from_html(`<div class="text-12 text-status-danger" role="alert"> </div>`);
15499
- var root$1N = /* @__PURE__ */ from_html(`<div class="mb-3 flex flex-col gap-1.5"><label class="text-12 font-medium text-text-3"> <!></label> <!> <!> <!></div>`);
15693
+ var root$1M = /* @__PURE__ */ from_html(`<div class="mb-3 flex flex-col gap-1.5"><label class="text-12 font-medium text-text-3"> <!></label> <!> <!> <!></div>`);
15500
15694
  function Field($$anchor, $$props) {
15501
15695
  push($$props, true);
15502
15696
  let value = prop($$props, "value", 15, ""), id = prop($$props, "id", 3, void 0), error = prop($$props, "error", 3, void 0), required = prop($$props, "required", 3, false), hint = prop($$props, "hint", 3, void 0);
@@ -15504,13 +15698,13 @@ function Field($$anchor, $$props) {
15504
15698
  let errorId = /* @__PURE__ */ user_derived(() => error() ? `${inputId}-error` : void 0);
15505
15699
  let hintId = /* @__PURE__ */ user_derived(() => hint() ? `${inputId}-hint` : void 0);
15506
15700
  let describedBy = /* @__PURE__ */ user_derived(() => [get(hintId), get(errorId)].filter(Boolean).join(" ") || void 0);
15507
- var div = root$1N();
15701
+ var div = root$1M();
15508
15702
  var label_1 = child(div);
15509
15703
  var text2 = child(label_1, true);
15510
15704
  var node = sibling(text2);
15511
15705
  {
15512
15706
  var consequent = ($$anchor2) => {
15513
- var span = root_1$1s();
15707
+ var span = root_1$1r();
15514
15708
  append($$anchor2, span);
15515
15709
  };
15516
15710
  if_block(node, ($$render) => {
@@ -15543,7 +15737,7 @@ function Field($$anchor, $$props) {
15543
15737
  append($$anchor2, fragment);
15544
15738
  };
15545
15739
  var alternate = ($$anchor2) => {
15546
- var input = root_4$A();
15740
+ var input = root_4$B();
15547
15741
  remove_input_defaults(input);
15548
15742
  template_effect(() => {
15549
15743
  set_attribute(input, "id", inputId);
@@ -15673,10 +15867,10 @@ customElements.define("uni-field", create_custom_element(
15673
15867
  [],
15674
15868
  { mode: "open" }
15675
15869
  ));
15676
- var root$1M = /* @__PURE__ */ from_html(`<div><!></div>`);
15870
+ var root$1L = /* @__PURE__ */ from_html(`<div><!></div>`);
15677
15871
  function FieldStack($$anchor, $$props) {
15678
15872
  let className = prop($$props, "class", 3, "");
15679
- var div = root$1M();
15873
+ var div = root$1L();
15680
15874
  var node = child(div);
15681
15875
  snippet(node, () => $$props.children ?? noop);
15682
15876
  reset(div);
@@ -15710,10 +15904,10 @@ function FieldStack_wc($$anchor, $$props) {
15710
15904
  return pop($$exports);
15711
15905
  }
15712
15906
  customElements.define("uni-field-stack", create_custom_element(FieldStack_wc, { class: {} }, ["default"], [], { mode: "open" }));
15713
- var root_1$1r = /* @__PURE__ */ from_svg(`<path d="M5 13l4 4L19 7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>`);
15907
+ var root_1$1q = /* @__PURE__ */ from_svg(`<path d="M5 13l4 4L19 7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>`);
15714
15908
  var root_2$17 = /* @__PURE__ */ from_svg(`<path d="M12 15V3m0 0L8 7m4-4 4 4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path><path d="M3 15v4a2 2 0 002 2h14a2 2 0 002-2v-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" fill="none"></path>`, 1);
15715
15909
  var root_3$L = /* @__PURE__ */ from_html(`<p class="m-0 mt-1 text-11 text-text-4"> </p>`);
15716
- var root$1L = /* @__PURE__ */ from_html(`<div role="button" class="flex cursor-pointer select-none flex-col items-center justify-center gap-2.5 rounded-[10px] border-[1.5px] border-dashed border-border-3 bg-divider p-6 text-center transition-[border-color,background-color] duration-100 hover:border-text-3 data-[drag=true]:border-brand-05 data-[drag=true]:bg-brand-05/[0.08] data-[done=true]:border-status-success data-[done=true]:bg-status-success/[0.08] data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-40 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><input type="file" class="sr-only"/> <svg class="h-7 w-7 shrink-0 text-text-4" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><!></svg> <div><span class="block text-13 text-text-2"> </span> <!></div></div>`);
15910
+ var root$1K = /* @__PURE__ */ from_html(`<div role="button" class="flex cursor-pointer select-none flex-col items-center justify-center gap-2.5 rounded-[10px] border-[1.5px] border-dashed border-border-3 bg-divider p-6 text-center transition-[border-color,background-color] duration-100 hover:border-text-3 data-[drag=true]:border-brand-05 data-[drag=true]:bg-brand-05/[0.08] data-[done=true]:border-status-success data-[done=true]:bg-status-success/[0.08] data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-40 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><input type="file" class="sr-only"/> <svg class="h-7 w-7 shrink-0 text-text-4" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><!></svg> <div><span class="block text-13 text-text-2"> </span> <!></div></div>`);
15717
15911
  function FileUpload($$anchor, $$props) {
15718
15912
  push($$props, true);
15719
15913
  let label = prop($$props, "label", 3, "Upload file"), hint = prop($$props, "hint", 3, void 0), accept = prop($$props, "accept", 3, void 0), multiple = prop($$props, "multiple", 3, false), disabled = prop($$props, "disabled", 3, false);
@@ -15753,7 +15947,7 @@ function FileUpload($$anchor, $$props) {
15753
15947
  if (!disabled()) get(inputEl)?.click();
15754
15948
  }
15755
15949
  }
15756
- var div = root$1L();
15950
+ var div = root$1K();
15757
15951
  var input = child(div);
15758
15952
  set_attribute(input, "tabindex", -1);
15759
15953
  bind_this(input, ($$value) => set(inputEl, $$value), () => get(inputEl));
@@ -15761,7 +15955,7 @@ function FileUpload($$anchor, $$props) {
15761
15955
  var node = child(svg);
15762
15956
  {
15763
15957
  var consequent = ($$anchor2) => {
15764
- var path = root_1$1r();
15958
+ var path = root_1$1q();
15765
15959
  append($$anchor2, path);
15766
15960
  };
15767
15961
  var alternate = ($$anchor2) => {
@@ -15909,16 +16103,16 @@ function defaultOp(type) {
15909
16103
  return opsFor(type)[0];
15910
16104
  }
15911
16105
  var root_2$16 = /* @__PURE__ */ from_html(`<button type="button" class="cursor-pointer border-0 bg-transparent px-2.5 py-0.5 text-11 font-bold uppercase tracking-[0.06em] text-text-4 hover:bg-row-active hover:text-text-1 aria-pressed:bg-brand-05/[0.18] aria-pressed:text-status-info focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-brand-05"> </button>`);
15912
- var root_1$1q = /* @__PURE__ */ from_html(`<span class="text-13 text-text-4">Match</span> <div class="flex overflow-hidden rounded border border-border-2" role="group" aria-label="Conjunction"></div> <span class="text-13 text-text-4">conditions</span>`, 1);
16106
+ var root_1$1p = /* @__PURE__ */ from_html(`<span class="text-13 text-text-4">Match</span> <div class="flex overflow-hidden rounded border border-border-2" role="group" aria-label="Conjunction"></div> <span class="text-13 text-text-4">conditions</span>`, 1);
15913
16107
  var root_3$K = /* @__PURE__ */ from_html(`<button type="button" aria-label="Clear all filters" class="cursor-pointer border-0 bg-transparent px-1.5 py-1 text-12 leading-none text-text-4 hover:text-text-1 focus-visible:rounded-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">Clear</button>`);
15914
- var root_6$7 = /* @__PURE__ */ from_html(`<option> </option>`);
15915
- var root_7$7 = /* @__PURE__ */ from_html(`<option> </option>`);
16108
+ var root_6$8 = /* @__PURE__ */ from_html(`<option> </option>`);
16109
+ var root_7$8 = /* @__PURE__ */ from_html(`<option> </option>`);
15916
16110
  var root_9$4 = /* @__PURE__ */ from_html(`<option> </option>`);
15917
- var root_8$8 = /* @__PURE__ */ from_html(`<select><option>Any</option><!></select>`);
16111
+ var root_8$7 = /* @__PURE__ */ from_html(`<select><option>Any</option><!></select>`);
15918
16112
  var root_10$3 = /* @__PURE__ */ from_html(`<input placeholder="Value…"/>`);
15919
16113
  var root_5$k = /* @__PURE__ */ from_html(`<li class="flex items-center gap-1.5"><label class="sr-only"></label> <select></select> <label class="sr-only"></label> <select></select> <label class="sr-only"></label> <!> <button type="button" class="flex h-[26px] w-[26px] shrink-0 cursor-pointer items-center justify-center rounded-md border-0 bg-transparent text-text-4 hover:bg-status-danger/10 hover:text-status-danger focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg viewBox="0 0 12 12" width="10" height="10" aria-hidden="true" fill="currentColor"><path d="M1 1l10 10M11 1L1 11" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"></path></svg></button></li>`);
15920
- var root_4$z = /* @__PURE__ */ from_html(`<ul class="m-0 flex list-none flex-col gap-1 p-0" aria-label="Filter rules"></ul>`);
15921
- var root$1K = /* @__PURE__ */ from_html(`<div class="flex flex-col gap-1.5" role="group"><div class="flex min-h-8 flex-wrap items-center gap-2"><span class="mr-1 text-12 font-semibold uppercase tracking-[0.05em] text-text-3">Filters</span> <!> <button type="button" aria-label="Add filter rule" class="ml-auto cursor-pointer rounded border border-dashed border-border-3 bg-transparent px-2.5 py-1 text-12 leading-none text-brand-05 hover:border-brand-05 hover:bg-brand-05/[0.08] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">+ Add rule</button> <!></div> <!></div>`);
16114
+ var root_4$A = /* @__PURE__ */ from_html(`<ul class="m-0 flex list-none flex-col gap-1 p-0" aria-label="Filter rules"></ul>`);
16115
+ var root$1J = /* @__PURE__ */ from_html(`<div class="flex flex-col gap-1.5" role="group"><div class="flex min-h-8 flex-wrap items-center gap-2"><span class="mr-1 text-12 font-semibold uppercase tracking-[0.05em] text-text-3">Filters</span> <!> <button type="button" aria-label="Add filter rule" class="ml-auto cursor-pointer rounded border border-dashed border-border-3 bg-transparent px-2.5 py-1 text-12 leading-none text-brand-05 hover:border-brand-05 hover:bg-brand-05/[0.08] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">+ Add rule</button> <!></div> <!></div>`);
15922
16116
  function FilterBuilder($$anchor, $$props) {
15923
16117
  push($$props, true);
15924
16118
  let fields = prop($$props, "fields", 19, () => []), value = prop($$props, "value", 19, () => []), conjunction = prop($$props, "conjunction", 3, "and"), ariaLabel = prop($$props, "ariaLabel", 3, "Filter builder");
@@ -15955,12 +16149,12 @@ function FilterBuilder($$anchor, $$props) {
15955
16149
  const SELECT_CHEVRON = `background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236E7079' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;`;
15956
16150
  const SELECT_CLS = "h-[30px] cursor-pointer appearance-none rounded border border-border-2 bg-row-active px-2 pr-6 text-13 leading-none text-text-1 outline-none transition-colors duration-100 hover:border-border-3 focus:border-brand-05";
15957
16151
  const INPUT_CLS = "h-[30px] min-w-[140px] flex-1 rounded border border-border-2 bg-row-active px-2 text-13 leading-none text-text-1 outline-none transition-colors duration-100 placeholder:text-text-4 hover:border-border-3 focus:border-brand-05";
15958
- var div = root$1K();
16152
+ var div = root$1J();
15959
16153
  var div_1 = child(div);
15960
16154
  var node = sibling(child(div_1), 2);
15961
16155
  {
15962
16156
  var consequent = ($$anchor2) => {
15963
- var fragment = root_1$1q();
16157
+ var fragment = root_1$1p();
15964
16158
  var div_2 = sibling(first_child(fragment), 2);
15965
16159
  each(div_2, 21, () => CONJUNCTIONS, index, ($$anchor3, c) => {
15966
16160
  var button = root_2$16();
@@ -16000,7 +16194,7 @@ function FilterBuilder($$anchor, $$props) {
16000
16194
  var node_2 = sibling(div_1, 2);
16001
16195
  {
16002
16196
  var consequent_3 = ($$anchor2) => {
16003
- var ul = root_4$z();
16197
+ var ul = root_4$A();
16004
16198
  each(ul, 21, value, index, ($$anchor3, rule, i) => {
16005
16199
  const f = /* @__PURE__ */ user_derived(() => fields().find((x) => x.key === get(rule).field));
16006
16200
  const ops = /* @__PURE__ */ user_derived(() => opsFor(get(f)?.type));
@@ -16015,7 +16209,7 @@ function FilterBuilder($$anchor, $$props) {
16015
16209
  set_style(select, SELECT_CHEVRON);
16016
16210
  set_attribute(select, "aria-label", `Rule ${i + 1} field`);
16017
16211
  each(select, 21, fields, index, ($$anchor4, x) => {
16018
- var option = root_6$7();
16212
+ var option = root_6$8();
16019
16213
  var text_1 = child(option, true);
16020
16214
  reset(option);
16021
16215
  var option_value = {};
@@ -16037,7 +16231,7 @@ function FilterBuilder($$anchor, $$props) {
16037
16231
  set_style(select_1, SELECT_CHEVRON);
16038
16232
  set_attribute(select_1, "aria-label", `Rule ${i + 1} operator`);
16039
16233
  each(select_1, 21, () => get(ops), index, ($$anchor4, op) => {
16040
- var option_1 = root_7$7();
16234
+ var option_1 = root_7$8();
16041
16235
  var text_2 = child(option_1, true);
16042
16236
  reset(option_1);
16043
16237
  var option_1_value = {};
@@ -16057,7 +16251,7 @@ function FilterBuilder($$anchor, $$props) {
16057
16251
  var node_3 = sibling(label_2, 2);
16058
16252
  {
16059
16253
  var consequent_2 = ($$anchor4) => {
16060
- var select_2 = root_8$8();
16254
+ var select_2 = root_8$7();
16061
16255
  set_class(select_2, 1, clsx(SELECT_CLS));
16062
16256
  set_style(select_2, SELECT_CHEVRON);
16063
16257
  set_attribute(select_2, "aria-label", `Rule ${i + 1} value`);
@@ -16200,7 +16394,7 @@ function FilterBuilder_wc($$anchor, $$props) {
16200
16394
  }
16201
16395
  customElements.define("uni-filter-builder", create_custom_element(FilterBuilder_wc, { fields: {}, value: {}, conjunction: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
16202
16396
  var root_5$j = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#fff" font-family="inherit"> </text>`);
16203
- var root_4$y = /* @__PURE__ */ from_svg(`<g><rect></rect><!></g>`);
16397
+ var root_4$z = /* @__PURE__ */ from_svg(`<g><rect></rect><!></g>`);
16204
16398
  var root_2$15 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"></svg></div>`);
16205
16399
  function FlameGraph($$anchor, $$props) {
16206
16400
  let height = prop($$props, "height", 3, 160), ariaLabel = prop($$props, "ariaLabel", 3, "Flame graph");
@@ -16257,7 +16451,7 @@ function FlameGraph($$anchor, $$props) {
16257
16451
  var node_2 = first_child(fragment_1);
16258
16452
  {
16259
16453
  var consequent_1 = ($$anchor4) => {
16260
- var g = root_4$y();
16454
+ var g = root_4$z();
16261
16455
  var rect = child(g);
16262
16456
  set_attribute(rect, "rx", 2);
16263
16457
  var node_3 = sibling(rect);
@@ -16368,8 +16562,8 @@ function FlameGraph_wc($$anchor, $$props) {
16368
16562
  }
16369
16563
  customElements.define("uni-flame-graph", create_custom_element(FlameGraph_wc, { root: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
16370
16564
  var root_3$J = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)" stroke-width="1.5"></line>`);
16371
- var root_4$x = /* @__PURE__ */ from_svg(`<g><circle fill-opacity="0.85"></circle><text fill="#A4A7B5" font-size="8" text-anchor="middle" font-family="inherit"> </text></g>`);
16372
- var root_1$1p = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
16565
+ var root_4$y = /* @__PURE__ */ from_svg(`<g><circle fill-opacity="0.85"></circle><text fill="#A4A7B5" font-size="8" text-anchor="middle" font-family="inherit"> </text></g>`);
16566
+ var root_1$1o = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
16373
16567
  function ForceGraph($$anchor, $$props) {
16374
16568
  push($$props, true);
16375
16569
  let nodes = prop($$props, "nodes", 19, () => []), links = prop($$props, "links", 19, () => []), height = prop($$props, "height", 3, 260), ariaLabel = prop($$props, "ariaLabel", 3, "Force-directed network graph");
@@ -16440,7 +16634,7 @@ function ForceGraph($$anchor, $$props) {
16440
16634
  var node = first_child(fragment);
16441
16635
  {
16442
16636
  var consequent_1 = ($$anchor2) => {
16443
- var div = root_1$1p();
16637
+ var div = root_1$1o();
16444
16638
  var svg = child(div);
16445
16639
  var node_1 = child(svg);
16446
16640
  each(node_1, 17, links, index, ($$anchor3, l) => {
@@ -16469,7 +16663,7 @@ function ForceGraph($$anchor, $$props) {
16469
16663
  each(node_3, 17, nodes, index, ($$anchor3, n, ni) => {
16470
16664
  const r2 = /* @__PURE__ */ user_derived(() => get(n).r ?? 10);
16471
16665
  const color = /* @__PURE__ */ user_derived(() => get(n).color ?? PALETTE[ni % PALETTE.length]);
16472
- var g = root_4$x();
16666
+ var g = root_4$y();
16473
16667
  var circle = child(g);
16474
16668
  var text2 = sibling(circle);
16475
16669
  var text_1 = child(text2, true);
@@ -16558,10 +16752,10 @@ function ForceGraph_wc($$anchor, $$props) {
16558
16752
  return pop($$exports);
16559
16753
  }
16560
16754
  customElements.define("uni-force-graph", create_custom_element(ForceGraph_wc, { nodes: {}, links: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
16561
- var root$1J = /* @__PURE__ */ from_html(`<div><!></div>`);
16755
+ var root$1I = /* @__PURE__ */ from_html(`<div><!></div>`);
16562
16756
  function FormActions($$anchor, $$props) {
16563
16757
  let className = prop($$props, "class", 3, "");
16564
- var div = root$1J();
16758
+ var div = root$1I();
16565
16759
  var node = child(div);
16566
16760
  snippet(node, () => $$props.children ?? noop);
16567
16761
  reset(div);
@@ -16595,10 +16789,10 @@ function FormActions_wc($$anchor, $$props) {
16595
16789
  return pop($$exports);
16596
16790
  }
16597
16791
  customElements.define("uni-form-actions", create_custom_element(FormActions_wc, { class: {} }, ["default"], [], { mode: "open" }));
16598
- var root$1I = /* @__PURE__ */ from_html(`<div><!></div>`);
16792
+ var root$1H = /* @__PURE__ */ from_html(`<div><!></div>`);
16599
16793
  function FormRow($$anchor, $$props) {
16600
16794
  let className = prop($$props, "class", 3, "");
16601
- var div = root$1I();
16795
+ var div = root$1H();
16602
16796
  var node = child(div);
16603
16797
  snippet(node, () => $$props.children ?? noop);
16604
16798
  reset(div);
@@ -16632,8 +16826,8 @@ function FormRow_wc($$anchor, $$props) {
16632
16826
  return pop($$exports);
16633
16827
  }
16634
16828
  customElements.define("uni-form-row", create_custom_element(FormRow_wc, { class: {} }, ["default"], [], { mode: "open" }));
16635
- var root_1$1o = /* @__PURE__ */ from_svg(`<polygon fill-opacity="0.75"></polygon><text text-anchor="middle" dominant-baseline="central" fill="rgba(255,255,255,0.9)" font-size="10" font-family="inherit" font-weight="500"> </text>`, 1);
16636
- var root$1H = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"></svg></div>`);
16829
+ var root_1$1n = /* @__PURE__ */ from_svg(`<polygon fill-opacity="0.75"></polygon><text text-anchor="middle" dominant-baseline="central" fill="rgba(255,255,255,0.9)" font-size="10" font-family="inherit" font-weight="500"> </text>`, 1);
16830
+ var root$1G = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"></svg></div>`);
16637
16831
  function FunnelChart($$anchor, $$props) {
16638
16832
  push($$props, true);
16639
16833
  let segments = prop($$props, "segments", 19, () => []), height = prop($$props, "height", 3, 160), ariaLabel = prop($$props, "ariaLabel", 3, "Funnel chart");
@@ -16662,10 +16856,10 @@ function FunnelChart($$anchor, $$props) {
16662
16856
  cy: ((y0 + y1) / 2).toFixed(1)
16663
16857
  };
16664
16858
  }));
16665
- var div = root$1H();
16859
+ var div = root$1G();
16666
16860
  var svg = child(div);
16667
16861
  each(svg, 21, () => get(shapes), index, ($$anchor2, s) => {
16668
- var fragment = root_1$1o();
16862
+ var fragment = root_1$1n();
16669
16863
  var polygon = first_child(fragment);
16670
16864
  var text2 = sibling(polygon);
16671
16865
  var text_1 = child(text2);
@@ -16735,9 +16929,9 @@ function FunnelChart_wc($$anchor, $$props) {
16735
16929
  return pop($$exports);
16736
16930
  }
16737
16931
  customElements.define("uni-funnel-chart", create_custom_element(FunnelChart_wc, { segments: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
16738
- var root_1$1n = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`, 1);
16932
+ var root_1$1m = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`, 1);
16739
16933
  var root_2$14 = /* @__PURE__ */ from_svg(`<text fill="#A4A7B5" font-size="10" text-anchor="end" font-family="inherit"> </text><rect rx="3" opacity="0.85"></rect>`, 1);
16740
- var root$1G = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
16934
+ var root$1F = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
16741
16935
  function GanttChart($$anchor, $$props) {
16742
16936
  push($$props, true);
16743
16937
  let tasks = prop($$props, "tasks", 19, () => []), xLabels = prop($$props, "xLabels", 19, () => []), ariaLabel = prop($$props, "ariaLabel", 3, "Gantt chart");
@@ -16754,13 +16948,13 @@ function GanttChart($$anchor, $$props) {
16754
16948
  function tx(v) {
16755
16949
  return LABEL_W + v * TRACK_W;
16756
16950
  }
16757
- var div = root$1G();
16951
+ var div = root$1F();
16758
16952
  var svg = child(div);
16759
16953
  var node = child(svg);
16760
16954
  each(node, 17, () => get(ticks), index, ($$anchor2, $$item) => {
16761
16955
  let x = () => get($$item).x;
16762
16956
  let lbl = () => get($$item).lbl;
16763
- var fragment = root_1$1n();
16957
+ var fragment = root_1$1m();
16764
16958
  var line = first_child(fragment);
16765
16959
  set_attribute(line, "y1", PAD_T);
16766
16960
  var text2 = sibling(line);
@@ -16856,7 +17050,7 @@ function GanttChart_wc($$anchor, $$props) {
16856
17050
  return pop($$exports);
16857
17051
  }
16858
17052
  customElements.define("uni-gantt-chart", create_custom_element(GanttChart_wc, { tasks: {}, xLabels: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
16859
- var root$1F = /* @__PURE__ */ from_html(`<div role="meter" style="display:inline-flex;flex-direction:column;align-items:center;"><svg aria-hidden="true" focusable="false"><path fill="none" stroke="rgba(255,255,255,0.08)" stroke-linecap="round"></path><path fill="none" stroke-linecap="round"></path><text text-anchor="middle" fill="#fff"> </text><text text-anchor="middle" fill="#6E7079"> </text></svg></div>`);
17053
+ var root$1E = /* @__PURE__ */ from_html(`<div role="meter" style="display:inline-flex;flex-direction:column;align-items:center;"><svg aria-hidden="true" focusable="false"><path fill="none" stroke="rgba(255,255,255,0.08)" stroke-linecap="round"></path><path fill="none" stroke-linecap="round"></path><text text-anchor="middle" fill="#fff"> </text><text text-anchor="middle" fill="#6E7079"> </text></svg></div>`);
16860
17054
  function Gauge($$anchor, $$props) {
16861
17055
  let value = prop($$props, "value", 3, 0), label = prop($$props, "label", 3, ""), color = prop($$props, "color", 3, "#006FFF"), size = prop($$props, "size", 3, 120), ariaLabel = prop($$props, "ariaLabel", 3, void 0);
16862
17056
  const sw = 10;
@@ -16870,7 +17064,7 @@ function Gauge($$anchor, $$props) {
16870
17064
  let valY = /* @__PURE__ */ user_derived(() => get(cy) + Math.round(size() * 0.06));
16871
17065
  let lblY = /* @__PURE__ */ user_derived(() => get(valY) + Math.round(size() * 0.13) + 2);
16872
17066
  let a11yLabel = /* @__PURE__ */ user_derived(() => ariaLabel() ?? `${label()} ${value()}%`);
16873
- var div = root$1F();
17067
+ var div = root$1E();
16874
17068
  set_attribute(div, "aria-valuemin", 0);
16875
17069
  set_attribute(div, "aria-valuemax", 100);
16876
17070
  var svg = child(div);
@@ -16980,10 +17174,10 @@ function Gauge_wc($$anchor, $$props) {
16980
17174
  return pop($$exports);
16981
17175
  }
16982
17176
  customElements.define("uni-gauge", create_custom_element(Gauge_wc, { value: {}, label: {}, color: {}, size: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
16983
- var root$1E = /* @__PURE__ */ from_html(`<div><!></div>`);
17177
+ var root$1D = /* @__PURE__ */ from_html(`<div><!></div>`);
16984
17178
  function Grid($$anchor, $$props) {
16985
17179
  let className = prop($$props, "class", 3, "");
16986
- var div = root$1E();
17180
+ var div = root$1D();
16987
17181
  var node = child(div);
16988
17182
  snippet(node, () => $$props.children ?? noop);
16989
17183
  reset(div);
@@ -17020,14 +17214,14 @@ customElements.define("uni-grid", create_custom_element(Grid_wc, { class: {} },
17020
17214
  var root_3$I = /* @__PURE__ */ from_html(`<span class="inline-block h-2 w-2 shrink-0 rounded-full" aria-hidden="true"></span>`);
17021
17215
  var root_2$13 = /* @__PURE__ */ from_html(`<button type="button"><!> <span class="flex-1 text-left font-medium"> </span> <span class="rounded bg-row-active px-1.5 py-0.5 text-11 text-text-3 tabular-nums"> </span> <svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true" focusable="false"><path d="M2 4l4 4 4-4" stroke="currentColor" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path></svg></button>`);
17022
17216
  var root_5$i = /* @__PURE__ */ from_html(`<span class="inline-block h-2 w-2 shrink-0 rounded-full" aria-hidden="true"></span>`);
17023
- var root_4$w = /* @__PURE__ */ from_html(`<div><!> <span class="flex-1 text-left font-medium"> </span> <span class="rounded bg-row-active px-1.5 py-0.5 text-11 text-text-3 tabular-nums"> </span></div>`);
17024
- var root_8$7 = /* @__PURE__ */ from_html(`<span class="inline-block h-2 w-2 shrink-0 rounded-full"></span>`);
17217
+ var root_4$x = /* @__PURE__ */ from_html(`<div><!> <span class="flex-1 text-left font-medium"> </span> <span class="rounded bg-row-active px-1.5 py-0.5 text-11 text-text-3 tabular-nums"> </span></div>`);
17218
+ var root_8$6 = /* @__PURE__ */ from_html(`<span class="inline-block h-2 w-2 shrink-0 rounded-full"></span>`);
17025
17219
  var root_9$3 = /* @__PURE__ */ from_html(`<div class="truncate text-11 text-text-4"> </div>`);
17026
17220
  var root_10$2 = /* @__PURE__ */ from_html(`<span class="shrink-0 text-11 text-text-4 tabular-nums"> </span>`);
17027
- var root_7$6 = /* @__PURE__ */ from_html(`<li class="flex items-center gap-2 rounded px-2 py-1.5 text-13 hover:bg-divider"><!> <div class="min-w-0 flex-1"><div class="truncate text-text-2"> </div> <!></div> <!></li>`);
17028
- var root_6$6 = /* @__PURE__ */ from_html(`<ul class="m-0 flex list-none flex-col gap-0.5 p-0 pl-4" role="list"></ul>`);
17029
- var root_1$1m = /* @__PURE__ */ from_html(`<div class="flex flex-col gap-0.5"><!> <!></div>`);
17030
- var root$1D = /* @__PURE__ */ from_html(`<div class="flex flex-col gap-1.5"></div>`);
17221
+ var root_7$7 = /* @__PURE__ */ from_html(`<li class="flex items-center gap-2 rounded px-2 py-1.5 text-13 hover:bg-divider"><!> <div class="min-w-0 flex-1"><div class="truncate text-text-2"> </div> <!></div> <!></li>`);
17222
+ var root_6$7 = /* @__PURE__ */ from_html(`<ul class="m-0 flex list-none flex-col gap-0.5 p-0 pl-4" role="list"></ul>`);
17223
+ var root_1$1l = /* @__PURE__ */ from_html(`<div class="flex flex-col gap-0.5"><!> <!></div>`);
17224
+ var root$1C = /* @__PURE__ */ from_html(`<div class="flex flex-col gap-1.5"></div>`);
17031
17225
  function GroupedList($$anchor, $$props) {
17032
17226
  push($$props, true);
17033
17227
  let collapsible = prop($$props, "collapsible", 3, true), ariaLabel = prop($$props, "ariaLabel", 3, "Grouped list");
@@ -17046,11 +17240,11 @@ function GroupedList($$anchor, $$props) {
17046
17240
  }
17047
17241
  const HEADER_CLS = "flex w-full items-center gap-2 rounded-md border border-border-1 bg-divider px-3 py-2 text-13 text-text-1";
17048
17242
  const HEADER_BTN = HEADER_CLS + " cursor-pointer hover:bg-row-hover focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05";
17049
- var div = root$1D();
17243
+ var div = root$1C();
17050
17244
  each(div, 21, () => $$props.groups, index, ($$anchor2, group, gi) => {
17051
17245
  const isOpen = /* @__PURE__ */ user_derived(() => get(open)[gi]);
17052
17246
  const panelId = /* @__PURE__ */ user_derived(() => `${uid2}-gl-${gi}`);
17053
- var div_1 = root_1$1m();
17247
+ var div_1 = root_1$1l();
17054
17248
  var node = child(div_1);
17055
17249
  {
17056
17250
  var consequent_1 = ($$anchor3) => {
@@ -17086,7 +17280,7 @@ function GroupedList($$anchor, $$props) {
17086
17280
  append($$anchor3, button);
17087
17281
  };
17088
17282
  var alternate = ($$anchor3) => {
17089
- var div_2 = root_4$w();
17283
+ var div_2 = root_4$x();
17090
17284
  set_class(div_2, 1, clsx(HEADER_CLS));
17091
17285
  var node_2 = child(div_2);
17092
17286
  {
@@ -17120,13 +17314,13 @@ function GroupedList($$anchor, $$props) {
17120
17314
  var node_3 = sibling(node, 2);
17121
17315
  {
17122
17316
  var consequent_6 = ($$anchor3) => {
17123
- var ul = root_6$6();
17317
+ var ul = root_6$7();
17124
17318
  each(ul, 21, () => get(group).items, index, ($$anchor4, item) => {
17125
- var li = root_7$6();
17319
+ var li = root_7$7();
17126
17320
  var node_4 = child(li);
17127
17321
  {
17128
17322
  var consequent_3 = ($$anchor5) => {
17129
- var span_6 = root_8$7();
17323
+ var span_6 = root_8$6();
17130
17324
  template_effect(() => {
17131
17325
  set_style(span_6, `background:${STATUS_COLORS[get(item).status] ?? ""}`);
17132
17326
  set_attribute(span_6, "aria-label", get(item).status);
@@ -17236,10 +17430,10 @@ function GroupedList_wc($$anchor, $$props) {
17236
17430
  return pop($$exports);
17237
17431
  }
17238
17432
  customElements.define("uni-grouped-list", create_custom_element(GroupedList_wc, { groups: {}, collapsible: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
17239
- var root$1C = /* @__PURE__ */ from_html(`<h1><!></h1>`);
17433
+ var root$1B = /* @__PURE__ */ from_html(`<h1><!></h1>`);
17240
17434
  function H1($$anchor, $$props) {
17241
17435
  let className = prop($$props, "class", 3, "");
17242
- var h1 = root$1C();
17436
+ var h1 = root$1B();
17243
17437
  var node = child(h1);
17244
17438
  snippet(node, () => $$props.children ?? noop);
17245
17439
  reset(h1);
@@ -17273,10 +17467,10 @@ function H1_wc($$anchor, $$props) {
17273
17467
  return pop($$exports);
17274
17468
  }
17275
17469
  customElements.define("uni-h1", create_custom_element(H1_wc, { class: {} }, ["default"], [], { mode: "open" }));
17276
- var root$1B = /* @__PURE__ */ from_html(`<h2><!></h2>`);
17470
+ var root$1A = /* @__PURE__ */ from_html(`<h2><!></h2>`);
17277
17471
  function H2($$anchor, $$props) {
17278
17472
  let className = prop($$props, "class", 3, "");
17279
- var h2 = root$1B();
17473
+ var h2 = root$1A();
17280
17474
  var node = child(h2);
17281
17475
  snippet(node, () => $$props.children ?? noop);
17282
17476
  reset(h2);
@@ -17310,10 +17504,10 @@ function H2_wc($$anchor, $$props) {
17310
17504
  return pop($$exports);
17311
17505
  }
17312
17506
  customElements.define("uni-h2", create_custom_element(H2_wc, { class: {} }, ["default"], [], { mode: "open" }));
17313
- var root$1A = /* @__PURE__ */ from_html(`<h3><!></h3>`);
17507
+ var root$1z = /* @__PURE__ */ from_html(`<h3><!></h3>`);
17314
17508
  function H3($$anchor, $$props) {
17315
17509
  let className = prop($$props, "class", 3, "");
17316
- var h3 = root$1A();
17510
+ var h3 = root$1z();
17317
17511
  var node = child(h3);
17318
17512
  snippet(node, () => $$props.children ?? noop);
17319
17513
  reset(h3);
@@ -17347,10 +17541,10 @@ function H3_wc($$anchor, $$props) {
17347
17541
  return pop($$exports);
17348
17542
  }
17349
17543
  customElements.define("uni-h3", create_custom_element(H3_wc, { class: {} }, ["default"], [], { mode: "open" }));
17350
- var root$1z = /* @__PURE__ */ from_html(`<h4><!></h4>`);
17544
+ var root$1y = /* @__PURE__ */ from_html(`<h4><!></h4>`);
17351
17545
  function H4($$anchor, $$props) {
17352
17546
  let className = prop($$props, "class", 3, "");
17353
- var h4 = root$1z();
17547
+ var h4 = root$1y();
17354
17548
  var node = child(h4);
17355
17549
  snippet(node, () => $$props.children ?? noop);
17356
17550
  reset(h4);
@@ -17384,11 +17578,11 @@ function H4_wc($$anchor, $$props) {
17384
17578
  return pop($$exports);
17385
17579
  }
17386
17580
  customElements.define("uni-h4", create_custom_element(H4_wc, { class: {} }, ["default"], [], { mode: "open" }));
17387
- var root$1y = /* @__PURE__ */ from_html(`<div class="h-1 overflow-hidden rounded-sm bg-row-active" role="progressbar"><div class="h-full bg-gradient-to-r from-brand-05 to-brand-06"></div></div>`);
17581
+ var root$1x = /* @__PURE__ */ from_html(`<div class="h-1 overflow-hidden rounded-sm bg-row-active" role="progressbar"><div class="h-full bg-gradient-to-r from-brand-05 to-brand-06"></div></div>`);
17388
17582
  function HealthBar($$anchor, $$props) {
17389
17583
  let fillStyle = prop($$props, "fillStyle", 3, ""), label = prop($$props, "label", 3, void 0), valueText = prop($$props, "valueText", 3, void 0);
17390
17584
  let clamped = /* @__PURE__ */ user_derived(() => Math.max(0, Math.min(100, $$props.value)));
17391
- var div = root$1y();
17585
+ var div = root$1x();
17392
17586
  set_attribute(div, "aria-valuemin", 0);
17393
17587
  set_attribute(div, "aria-valuemax", 100);
17394
17588
  var div_1 = child(div);
@@ -17461,9 +17655,9 @@ function HealthBar_wc($$anchor, $$props) {
17461
17655
  return pop($$exports);
17462
17656
  }
17463
17657
  customElements.define("uni-health-bar", create_custom_element(HealthBar_wc, { value: {}, fillStyle: {}, label: {}, valueText: {} }, ["default"], [], { mode: "open" }));
17464
- var root_1$1l = /* @__PURE__ */ from_svg(`<rect></rect>`);
17658
+ var root_1$1k = /* @__PURE__ */ from_svg(`<rect></rect>`);
17465
17659
  var root_2$12 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9"> </text>`);
17466
- var root$1x = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
17660
+ var root$1w = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
17467
17661
  function HeatMap($$anchor, $$props) {
17468
17662
  push($$props, true);
17469
17663
  let data = prop($$props, "data", 19, () => []), colors = prop($$props, "colors", 19, () => [
@@ -17509,11 +17703,11 @@ function HeatMap($$anchor, $$props) {
17509
17703
  x: (PAD_BASE.l + (xLabels().length > 1 ? i / (xLabels().length - 1) * get(chartW) : get(chartW) / 2)).toFixed(1),
17510
17704
  y: height() - 2
17511
17705
  })));
17512
- var div = root$1x();
17706
+ var div = root$1w();
17513
17707
  var svg = child(div);
17514
17708
  var node = child(svg);
17515
17709
  each(node, 17, () => get(rects), (r2) => r2.key, ($$anchor2, r2) => {
17516
- var rect = root_1$1l();
17710
+ var rect = root_1$1k();
17517
17711
  template_effect(() => {
17518
17712
  set_attribute(rect, "x", get(r2).x);
17519
17713
  set_attribute(rect, "y", get(r2).y);
@@ -17652,9 +17846,9 @@ customElements.define("uni-heat-map", create_custom_element(
17652
17846
  { mode: "open" }
17653
17847
  ));
17654
17848
  var root_2$11 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
17655
- var root_4$v = /* @__PURE__ */ from_svg(`<path stroke="rgba(0,111,255,0.2)" stroke-width="0.5"></path>`);
17849
+ var root_4$w = /* @__PURE__ */ from_svg(`<path stroke="rgba(0,111,255,0.2)" stroke-width="0.5"></path>`);
17656
17850
  var root_5$h = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
17657
- var root_1$1k = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
17851
+ var root_1$1j = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
17658
17852
  function HexbinChart($$anchor, $$props) {
17659
17853
  push($$props, true);
17660
17854
  let points = prop($$props, "points", 19, () => []), xRange = prop($$props, "xRange", 3, void 0), yRange = prop($$props, "yRange", 3, void 0), height = prop($$props, "height", 3, 200), hexRadius = prop($$props, "hexRadius", 3, 10), ariaLabel = prop($$props, "ariaLabel", 3, "Hexbin chart");
@@ -17721,7 +17915,7 @@ function HexbinChart($$anchor, $$props) {
17721
17915
  var node = first_child(fragment);
17722
17916
  {
17723
17917
  var consequent_1 = ($$anchor2) => {
17724
- var div = root_1$1k();
17918
+ var div = root_1$1j();
17725
17919
  var svg = child(div);
17726
17920
  var node_1 = child(svg);
17727
17921
  each(node_1, 17, () => get(yTicks), index, ($$anchor3, v) => {
@@ -17763,7 +17957,7 @@ function HexbinChart($$anchor, $$props) {
17763
17957
  {
17764
17958
  var consequent = ($$anchor4) => {
17765
17959
  const alpha = /* @__PURE__ */ user_derived(() => (0.15 + 0.85 * (count() / get(maxCount))).toFixed(3));
17766
- var path = root_4$v();
17960
+ var path = root_4$w();
17767
17961
  template_effect(
17768
17962
  ($0) => {
17769
17963
  set_attribute(path, "d", $0);
@@ -17901,10 +18095,10 @@ customElements.define("uni-hexbin-chart", create_custom_element(
17901
18095
  [],
17902
18096
  { mode: "open" }
17903
18097
  ));
17904
- var root_1$1j = /* @__PURE__ */ from_svg(`<g><line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="end" font-family="inherit"> </text></g>`);
18098
+ var root_1$1i = /* @__PURE__ */ from_svg(`<g><line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="end" font-family="inherit"> </text></g>`);
17905
18099
  var root_2$10 = /* @__PURE__ */ from_svg(`<rect opacity="0.85"></rect>`);
17906
18100
  var root_3$H = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
17907
- var root$1w = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><line stroke="rgba(255,255,255,0.12)" stroke-width="1"></line><!></svg></div>`);
18101
+ var root$1v = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><line stroke="rgba(255,255,255,0.12)" stroke-width="1"></line><!></svg></div>`);
17908
18102
  function Histogram($$anchor, $$props) {
17909
18103
  push($$props, true);
17910
18104
  let bins = prop($$props, "bins", 19, () => []), height = prop($$props, "height", 3, 160), color = prop($$props, "color", 3, "#006FFF"), xUnit = prop($$props, "xUnit", 3, ""), ariaLabel = prop($$props, "ariaLabel", 3, "Histogram");
@@ -17938,12 +18132,12 @@ function Histogram($$anchor, $$props) {
17938
18132
  function by(count) {
17939
18133
  return PAD_T + get(PLOT_H) - bh(count);
17940
18134
  }
17941
- var div = root$1w();
18135
+ var div = root$1v();
17942
18136
  var svg = child(div);
17943
18137
  var node = child(svg);
17944
18138
  each(node, 17, () => get(yTicks), index, ($$anchor2, tick2) => {
17945
18139
  const ty = /* @__PURE__ */ user_derived(() => PAD_T + get(PLOT_H) - get(tick2) / get(maxCount) * get(PLOT_H));
17946
- var g = root_1$1j();
18140
+ var g = root_1$1i();
17947
18141
  var line = child(g);
17948
18142
  set_attribute(line, "x1", PAD_L);
17949
18143
  set_attribute(line, "x2", PAD_L + get(PLOT_W));
@@ -18074,8 +18268,8 @@ function Histogram_wc($$anchor, $$props) {
18074
18268
  customElements.define("uni-histogram", create_custom_element(Histogram_wc, { bins: {}, height: {}, color: {}, xUnit: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
18075
18269
  var root_3$G = /* @__PURE__ */ from_svg(`<rect rx="1"></rect>`);
18076
18270
  var root_2$$ = /* @__PURE__ */ from_svg(`<text text-anchor="end" fill="#C8C9D0" font-size="9" font-family="inherit"> </text><rect fill="rgba(255,255,255,0.04)" rx="2"></rect><!>`, 1);
18077
- var root_4$u = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" font-family="inherit"> </text>`);
18078
- var root_1$1i = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
18271
+ var root_4$v = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" font-family="inherit"> </text>`);
18272
+ var root_1$1h = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
18079
18273
  function HorizonChart($$anchor, $$props) {
18080
18274
  push($$props, true);
18081
18275
  let series = prop($$props, "series", 19, () => []), xLabels = prop($$props, "xLabels", 3, void 0), bands = prop($$props, "bands", 3, 3), ariaLabel = prop($$props, "ariaLabel", 3, "Horizon chart");
@@ -18123,7 +18317,7 @@ function HorizonChart($$anchor, $$props) {
18123
18317
  var node = first_child(fragment);
18124
18318
  {
18125
18319
  var consequent = ($$anchor2) => {
18126
- var div = root_1$1i();
18320
+ var div = root_1$1h();
18127
18321
  var svg = child(div);
18128
18322
  var node_1 = child(svg);
18129
18323
  each(node_1, 17, () => get(rows), index, ($$anchor3, row) => {
@@ -18158,7 +18352,7 @@ function HorizonChart($$anchor, $$props) {
18158
18352
  });
18159
18353
  var node_3 = sibling(node_1);
18160
18354
  each(node_3, 17, () => get(xTickPositions), index, ($$anchor3, tick2) => {
18161
- var text_2 = root_4$u();
18355
+ var text_2 = root_4$v();
18162
18356
  var text_3 = child(text_2, true);
18163
18357
  reset(text_2);
18164
18358
  template_effect(() => {
@@ -18242,8 +18436,8 @@ function HorizonChart_wc($$anchor, $$props) {
18242
18436
  }
18243
18437
  customElements.define("uni-horizon-chart", create_custom_element(HorizonChart_wc, { series: {}, xLabels: {}, bands: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
18244
18438
  let counter$i = 0;
18245
- var root_1$1h = /* @__PURE__ */ from_html(`<div role="tooltip"><!></div>`);
18246
- var root$1v = /* @__PURE__ */ from_html(`<div role="group"><div class="block"><!></div> <!></div>`);
18439
+ var root_1$1g = /* @__PURE__ */ from_html(`<div role="tooltip"><!></div>`);
18440
+ var root$1u = /* @__PURE__ */ from_html(`<div role="group"><div class="block"><!></div> <!></div>`);
18247
18441
  function HoverCard($$anchor, $$props) {
18248
18442
  push($$props, true);
18249
18443
  let placement = prop($$props, "placement", 3, "bottom"), delay = prop($$props, "delay", 3, 300), className = prop($$props, "class", 3, "");
@@ -18272,7 +18466,7 @@ function HoverCard($$anchor, $$props) {
18272
18466
  left: "right-[calc(100%+6px)] top-0",
18273
18467
  right: "left-[calc(100%+6px)] top-0"
18274
18468
  };
18275
- var div = root$1v();
18469
+ var div = root$1u();
18276
18470
  var div_1 = child(div);
18277
18471
  var node = child(div_1);
18278
18472
  snippet(node, () => $$props.trigger ?? noop);
@@ -18280,7 +18474,7 @@ function HoverCard($$anchor, $$props) {
18280
18474
  var node_1 = sibling(div_1, 2);
18281
18475
  {
18282
18476
  var consequent = ($$anchor2) => {
18283
- var div_2 = root_1$1h();
18477
+ var div_2 = root_1$1g();
18284
18478
  var node_2 = child(div_2);
18285
18479
  snippet(node_2, () => $$props.content ?? noop);
18286
18480
  reset(div_2);
@@ -18355,10 +18549,10 @@ function HoverCard_wc($$anchor, $$props) {
18355
18549
  }
18356
18550
  customElements.define("uni-hover-card", create_custom_element(HoverCard_wc, { placement: {}, delay: {}, class: {} }, ["default"], [], { mode: "open" }));
18357
18551
  let counter$h = 0;
18358
- var root_1$1g = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
18552
+ var root_1$1f = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
18359
18553
  var root_3$F = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="select-none text-13 leading-none text-text-4">.</span>`);
18360
18554
  var root_2$_ = /* @__PURE__ */ from_html(`<input type="text" inputmode="numeric" pattern="[0-9]*" role="spinbutton"/> <!>`, 1);
18361
- var root$1u = /* @__PURE__ */ from_html(`<div><!> <div role="group" class="inline-flex h-[34px] items-center gap-0.5 rounded-md border border-border-2 bg-bg-page px-2 transition-colors duration-100 focus-within:border-brand-05 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-40"></div></div>`);
18555
+ var root$1t = /* @__PURE__ */ from_html(`<div><!> <div role="group" class="inline-flex h-[34px] items-center gap-0.5 rounded-md border border-border-2 bg-bg-page px-2 transition-colors duration-100 focus-within:border-brand-05 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-40"></div></div>`);
18362
18556
  function IPInput($$anchor, $$props) {
18363
18557
  push($$props, true);
18364
18558
  let label = prop($$props, "label", 3, void 0), value = prop($$props, "value", 15, "0.0.0.0"), disabled = prop($$props, "disabled", 3, false), className = prop($$props, "class", 3, "");
@@ -18426,11 +18620,11 @@ function IPInput($$anchor, $$props) {
18426
18620
  }
18427
18621
  }
18428
18622
  const OCTET_CLS = "w-9 border-0 bg-transparent p-0 text-center font-mono text-13 text-text-1 outline-none [appearance:textfield] [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none";
18429
- var div = root$1u();
18623
+ var div = root$1t();
18430
18624
  var node = child(div);
18431
18625
  {
18432
18626
  var consequent = ($$anchor2) => {
18433
- var label_1 = root_1$1g();
18627
+ var label_1 = root_1$1f();
18434
18628
  var text_1 = child(label_1, true);
18435
18629
  reset(label_1);
18436
18630
  template_effect(() => {
@@ -18548,7 +18742,7 @@ function IPInput_wc($$anchor, $$props) {
18548
18742
  }
18549
18743
  customElements.define("uni-ipinput", create_custom_element(IPInput_wc, { label: {}, value: {}, disabled: {}, class: {} }, ["default"], [], { mode: "open" }));
18550
18744
  var root_5$g = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#fff" font-family="inherit"> </text>`);
18551
- var root_4$t = /* @__PURE__ */ from_svg(`<g><rect></rect><!></g>`);
18745
+ var root_4$u = /* @__PURE__ */ from_svg(`<g><rect></rect><!></g>`);
18552
18746
  var root_2$Z = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"></svg></div>`);
18553
18747
  function IcicleChart($$anchor, $$props) {
18554
18748
  let height = prop($$props, "height", 3, 160), ariaLabel = prop($$props, "ariaLabel", 3, "Icicle chart");
@@ -18604,7 +18798,7 @@ function IcicleChart($$anchor, $$props) {
18604
18798
  var node_2 = first_child(fragment_1);
18605
18799
  {
18606
18800
  var consequent_1 = ($$anchor4) => {
18607
- var g = root_4$t();
18801
+ var g = root_4$u();
18608
18802
  var rect = child(g);
18609
18803
  set_attribute(rect, "rx", 2);
18610
18804
  var node_3 = sibling(rect);
@@ -18771,7 +18965,7 @@ function IconButton_wc($$anchor, $$props) {
18771
18965
  return pop($$exports);
18772
18966
  }
18773
18967
  customElements.define("uni-icon-button", create_custom_element(IconButton_wc, { title: {}, type: {}, class: {}, style: {} }, ["default"], [], { mode: "open" }));
18774
- var root_1$1f = /* @__PURE__ */ from_html(`<span class="inline-flex items-center gap-1"><input class="min-w-[80px] max-w-[200px] rounded-[5px] border border-brand-05/50 bg-row-active px-[7px] py-0.5 text-13 leading-none text-text-1 outline-none focus:border-brand-05 focus:bg-brand-05/[0.08]"/> <button type="button" aria-label="Save" class="inline-flex cursor-pointer items-center rounded border-0 bg-transparent px-1 py-0.5 text-status-success transition-[color,background-color] duration-100 hover:bg-status-success/15 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg viewBox="0 0 14 14" width="12" height="12" fill="none" aria-hidden="true" focusable="false"><path d="M2.5 7.5l3.5 3.5L12 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button> <button type="button" aria-label="Cancel" class="inline-flex cursor-pointer items-center rounded border-0 bg-transparent px-1 py-0.5 text-text-4 transition-[color,background-color] duration-100 hover:bg-row-active hover:text-text-2 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg viewBox="0 0 14 14" width="12" height="12" fill="none" aria-hidden="true" focusable="false"><path d="M3 3l8 8M11 3l-8 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></button></span>`);
18968
+ var root_1$1e = /* @__PURE__ */ from_html(`<span class="inline-flex items-center gap-1"><input class="min-w-[80px] max-w-[200px] rounded-[5px] border border-brand-05/50 bg-row-active px-[7px] py-0.5 text-13 leading-none text-text-1 outline-none focus:border-brand-05 focus:bg-brand-05/[0.08]"/> <button type="button" aria-label="Save" class="inline-flex cursor-pointer items-center rounded border-0 bg-transparent px-1 py-0.5 text-status-success transition-[color,background-color] duration-100 hover:bg-status-success/15 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg viewBox="0 0 14 14" width="12" height="12" fill="none" aria-hidden="true" focusable="false"><path d="M2.5 7.5l3.5 3.5L12 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button> <button type="button" aria-label="Cancel" class="inline-flex cursor-pointer items-center rounded border-0 bg-transparent px-1 py-0.5 text-text-4 transition-[color,background-color] duration-100 hover:bg-row-active hover:text-text-2 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg viewBox="0 0 14 14" width="12" height="12" fill="none" aria-hidden="true" focusable="false"><path d="M3 3l8 8M11 3l-8 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></button></span>`);
18775
18969
  var root_2$Y = /* @__PURE__ */ from_html(`<span class="group/ie inline-flex items-center gap-1"><span class="text-13 text-text-1"> </span> <button type="button" class="inline-flex cursor-pointer items-center rounded border-0 bg-transparent px-1 py-0.5 text-text-4 opacity-0 transition-[opacity,color] duration-100 hover:text-text-2 focus-visible:opacity-100 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05 group-hover/ie:opacity-100"><svg viewBox="0 0 14 14" width="12" height="12" fill="none" aria-hidden="true" focusable="false"><path d="M9.5 2l2.5 2.5-8 8H1.5v-2.5l8-8z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button></span>`);
18776
18970
  function InlineEdit($$anchor, $$props) {
18777
18971
  push($$props, true);
@@ -18813,7 +19007,7 @@ function InlineEdit($$anchor, $$props) {
18813
19007
  var node = first_child(fragment);
18814
19008
  {
18815
19009
  var consequent = ($$anchor2) => {
18816
- var span = root_1$1f();
19010
+ var span = root_1$1e();
18817
19011
  var input = child(span);
18818
19012
  remove_input_defaults(input);
18819
19013
  bind_this(input, ($$value) => set(inputEl, $$value), () => get(inputEl));
@@ -18901,10 +19095,10 @@ function InlineEdit_wc($$anchor, $$props) {
18901
19095
  return pop($$exports);
18902
19096
  }
18903
19097
  customElements.define("uni-inline-edit", create_custom_element(InlineEdit_wc, { value: {}, label: {}, placeholder: {} }, ["default"], [], { mode: "open" }));
18904
- var root_1$1e = /* @__PURE__ */ from_html(`<input type="text"/>`);
19098
+ var root_1$1d = /* @__PURE__ */ from_html(`<input type="text"/>`);
18905
19099
  var root_2$X = /* @__PURE__ */ from_html(`<input type="password"/>`);
18906
19100
  var root_3$E = /* @__PURE__ */ from_html(`<input type="number"/>`);
18907
- var root_4$s = /* @__PURE__ */ from_html(`<input/>`);
19101
+ var root_4$t = /* @__PURE__ */ from_html(`<input/>`);
18908
19102
  function Input($$anchor, $$props) {
18909
19103
  push($$props, true);
18910
19104
  let value = prop($$props, "value", 15, ""), placeholder = prop($$props, "placeholder", 3, ""), type = prop($$props, "type", 3, "text"), className = prop($$props, "class", 3, ""), style = prop($$props, "style", 3, "");
@@ -18912,7 +19106,7 @@ function Input($$anchor, $$props) {
18912
19106
  var node = first_child(fragment);
18913
19107
  {
18914
19108
  var consequent = ($$anchor2) => {
18915
- var input = root_1$1e();
19109
+ var input = root_1$1d();
18916
19110
  remove_input_defaults(input);
18917
19111
  template_effect(() => {
18918
19112
  set_class(input, 1, `h-[34px] w-full rounded-md border border-border-2 bg-bg-page px-3 text-13 text-text-1 outline-none transition-[border-color] duration-100 focus:border-brand-05 focus:[box-shadow:0_0_0_2px_rgba(0,111,255,0.2)] aria-[invalid='true']:border-status-danger aria-[invalid='true']:focus:[box-shadow:0_0_0_2px_rgba(240,58,58,0.12)] ${className() ?? ""}`);
@@ -18981,7 +19175,7 @@ function Input($$anchor, $$props) {
18981
19175
  append($$anchor2, input_2);
18982
19176
  };
18983
19177
  var alternate = ($$anchor2) => {
18984
- var input_3 = root_4$s();
19178
+ var input_3 = root_4$t();
18985
19179
  remove_input_defaults(input_3);
18986
19180
  template_effect(() => {
18987
19181
  set_class(input_3, 1, `h-[34px] w-full rounded-md border border-border-2 bg-bg-page px-3 text-13 text-text-1 outline-none transition-[border-color] duration-100 focus:border-brand-05 focus:[box-shadow:0_0_0_2px_rgba(0,111,255,0.2)] aria-[invalid='true']:border-status-danger aria-[invalid='true']:focus:[box-shadow:0_0_0_2px_rgba(240,58,58,0.12)] ${className() ?? ""}`);
@@ -19082,16 +19276,16 @@ function Input_wc($$anchor, $$props) {
19082
19276
  return pop($$exports);
19083
19277
  }
19084
19278
  customElements.define("uni-input", create_custom_element(Input_wc, { value: {}, placeholder: {}, type: {}, class: {}, style: {} }, ["default"], [], { mode: "open" }));
19085
- var root_1$1d = /* @__PURE__ */ from_html(`<span class="flex shrink-0 select-none items-center whitespace-nowrap rounded-l-md border border-r-0 border-border-2 bg-row-active px-2.5 text-13 text-text-4"> </span>`);
19279
+ var root_1$1c = /* @__PURE__ */ from_html(`<span class="flex shrink-0 select-none items-center whitespace-nowrap rounded-l-md border border-r-0 border-border-2 bg-row-active px-2.5 text-13 text-text-4"> </span>`);
19086
19280
  var root_2$W = /* @__PURE__ */ from_html(`<span class="flex shrink-0 select-none items-center whitespace-nowrap rounded-r-md border border-l-0 border-border-2 bg-row-active px-2.5 text-13 text-text-4"> </span>`);
19087
- var root$1t = /* @__PURE__ */ from_html(`<div><!> <!> <!></div>`);
19281
+ var root$1s = /* @__PURE__ */ from_html(`<div><!> <!> <!></div>`);
19088
19282
  function InputGroup($$anchor, $$props) {
19089
19283
  let prefix = prop($$props, "prefix", 3, void 0), suffix = prop($$props, "suffix", 3, void 0);
19090
- var div = root$1t();
19284
+ var div = root$1s();
19091
19285
  var node = child(div);
19092
19286
  {
19093
19287
  var consequent = ($$anchor2) => {
19094
- var span = root_1$1d();
19288
+ var span = root_1$1c();
19095
19289
  var text2 = child(span, true);
19096
19290
  reset(span);
19097
19291
  template_effect(() => set_text(text2, prefix()));
@@ -19162,14 +19356,14 @@ function InputGroup_wc($$anchor, $$props) {
19162
19356
  customElements.define("uni-input-group", create_custom_element(InputGroup_wc, { prefix: {}, suffix: {} }, ["default"], [], { mode: "open" }));
19163
19357
  var root_2$V = /* @__PURE__ */ from_html(`<span> </span><span>:</span>`, 1);
19164
19358
  var root_3$D = /* @__PURE__ */ from_html(`<span>null</span>`);
19165
- var root_4$r = /* @__PURE__ */ from_html(`<span> </span>`);
19359
+ var root_4$s = /* @__PURE__ */ from_html(`<span> </span>`);
19166
19360
  var root_5$f = /* @__PURE__ */ from_html(`<span> </span>`);
19167
- var root_6$5 = /* @__PURE__ */ from_html(`<span> </span>`);
19168
- var root_1$1c = /* @__PURE__ */ from_html(`<div role="treeitem" aria-selected="false" class="px-3 py-px"><!> <!></div>`);
19169
- var root_8$6 = /* @__PURE__ */ from_html(`<span> </span><span>:</span>`, 1);
19361
+ var root_6$6 = /* @__PURE__ */ from_html(`<span> </span>`);
19362
+ var root_1$1b = /* @__PURE__ */ from_html(`<div role="treeitem" aria-selected="false" class="px-3 py-px"><!> <!></div>`);
19363
+ var root_8$5 = /* @__PURE__ */ from_html(`<span> </span><span>:</span>`, 1);
19170
19364
  var root_9$2 = /* @__PURE__ */ from_html(`<span> </span><span> </span>`, 1);
19171
19365
  var root_10$1 = /* @__PURE__ */ from_html(`<div role="group" class="block"><!> <div class="px-3 py-px"><span> </span></div></div>`);
19172
- var root_7$5 = /* @__PURE__ */ from_html(`<div role="treeitem" aria-selected="false" class="block"><button type="button" class="flex w-full cursor-pointer items-baseline border-0 bg-transparent px-3 py-px text-left font-mono text-12 leading-[1.8] hover:bg-divider focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-brand-05"><span class="mr-1 inline-block w-3 text-text-4" aria-hidden="true"> </span> <!> <span> </span> <!></button> <!></div>`);
19366
+ var root_7$6 = /* @__PURE__ */ from_html(`<div role="treeitem" aria-selected="false" class="block"><button type="button" class="flex w-full cursor-pointer items-baseline border-0 bg-transparent px-3 py-px text-left font-mono text-12 leading-[1.8] hover:bg-divider focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-brand-05"><span class="mr-1 inline-block w-3 text-text-4" aria-hidden="true"> </span> <!> <span> </span> <!></button> <!></div>`);
19173
19367
  function JsonViewerNode_1($$anchor, $$props) {
19174
19368
  push($$props, true);
19175
19369
  let k = prop($$props, "k", 3, void 0), depth = prop($$props, "depth", 3, 0), maxDepth = prop($$props, "maxDepth", 3, 3), startOpen = prop($$props, "startOpen", 3, true);
@@ -19194,7 +19388,7 @@ function JsonViewerNode_1($$anchor, $$props) {
19194
19388
  var node = first_child(fragment);
19195
19389
  {
19196
19390
  var consequent_4 = ($$anchor2) => {
19197
- var div = root_1$1c();
19391
+ var div = root_1$1b();
19198
19392
  let styles;
19199
19393
  var node_1 = child(div);
19200
19394
  {
@@ -19221,7 +19415,7 @@ function JsonViewerNode_1($$anchor, $$props) {
19221
19415
  append($$anchor3, span_2);
19222
19416
  };
19223
19417
  var consequent_2 = ($$anchor3) => {
19224
- var span_3 = root_4$r();
19418
+ var span_3 = root_4$s();
19225
19419
  set_class(span_3, 1, clsx(STR));
19226
19420
  var text_1 = child(span_3);
19227
19421
  reset(span_3);
@@ -19237,7 +19431,7 @@ function JsonViewerNode_1($$anchor, $$props) {
19237
19431
  append($$anchor3, span_4);
19238
19432
  };
19239
19433
  var alternate = ($$anchor3) => {
19240
- var span_5 = root_6$5();
19434
+ var span_5 = root_6$6();
19241
19435
  set_class(span_5, 1, clsx(BOOL));
19242
19436
  var text_3 = child(span_5, true);
19243
19437
  reset(span_5);
@@ -19256,7 +19450,7 @@ function JsonViewerNode_1($$anchor, $$props) {
19256
19450
  append($$anchor2, div);
19257
19451
  };
19258
19452
  var alternate_1 = ($$anchor2) => {
19259
- var div_1 = root_7$5();
19453
+ var div_1 = root_7$6();
19260
19454
  var button = child(div_1);
19261
19455
  let styles_1;
19262
19456
  var span_6 = child(button);
@@ -19265,7 +19459,7 @@ function JsonViewerNode_1($$anchor, $$props) {
19265
19459
  var node_3 = sibling(span_6, 2);
19266
19460
  {
19267
19461
  var consequent_5 = ($$anchor3) => {
19268
- var fragment_2 = root_8$6();
19462
+ var fragment_2 = root_8$5();
19269
19463
  var span_7 = first_child(fragment_2);
19270
19464
  set_class(span_7, 1, clsx(KEY));
19271
19465
  var text_5 = child(span_7);
@@ -19375,11 +19569,11 @@ function JsonViewerNode_1($$anchor, $$props) {
19375
19569
  pop();
19376
19570
  }
19377
19571
  delegate(["click"]);
19378
- var root_1$1b = /* @__PURE__ */ from_html(`<div class="overflow-auto rounded-md border border-border-1 bg-bg-page py-2 font-mono text-12 leading-[1.8]" role="tree"><!></div>`);
19572
+ var root_1$1a = /* @__PURE__ */ from_html(`<div class="overflow-auto rounded-md border border-border-1 bg-bg-page py-2 font-mono text-12 leading-[1.8]" role="tree"><!></div>`);
19379
19573
  function JsonViewer($$anchor, $$props) {
19380
19574
  let label = prop($$props, "label", 3, "JSON viewer"), defaultExpanded = prop($$props, "defaultExpanded", 3, true), maxDepth = prop($$props, "maxDepth", 3, 3);
19381
19575
  let root2 = /* @__PURE__ */ user_derived(() => $$props.data);
19382
- var div = root_1$1b();
19576
+ var div = root_1$1a();
19383
19577
  var node = child(div);
19384
19578
  JsonViewerNode_1(node, {
19385
19579
  get v() {
@@ -19521,16 +19715,16 @@ function JsonViewerNode_wc($$anchor, $$props) {
19521
19715
  return pop($$exports);
19522
19716
  }
19523
19717
  customElements.define("uni-json-viewer-node", create_custom_element(JsonViewerNode_wc, { v: {}, k: {}, depth: {}, maxDepth: {}, startOpen: {} }, ["default"], [], { mode: "open" }));
19524
- var root_1$1a = /* @__PURE__ */ from_html(`<caption class="sr-only"> </caption>`);
19718
+ var root_1$19 = /* @__PURE__ */ from_html(`<caption class="sr-only"> </caption>`);
19525
19719
  var root_2$U = /* @__PURE__ */ from_html(`<tr class="border-b border-border-1 last:border-b-0"><th scope="row" class="w-2/5 whitespace-nowrap py-1.5 pr-3 text-left align-top font-medium text-text-3"> </th><td class="py-1.5 align-top text-text-1 break-words"> </td></tr>`);
19526
- var root$1s = /* @__PURE__ */ from_html(`<table class="w-full border-collapse text-13"><!><tbody></tbody></table>`);
19720
+ var root$1r = /* @__PURE__ */ from_html(`<table class="w-full border-collapse text-13"><!><tbody></tbody></table>`);
19527
19721
  function KVTable($$anchor, $$props) {
19528
19722
  let rows = prop($$props, "rows", 19, () => []), caption = prop($$props, "caption", 3, void 0);
19529
- var table = root$1s();
19723
+ var table = root$1r();
19530
19724
  var node = child(table);
19531
19725
  {
19532
19726
  var consequent = ($$anchor2) => {
19533
- var caption_1 = root_1$1a();
19727
+ var caption_1 = root_1$19();
19534
19728
  var text2 = child(caption_1, true);
19535
19729
  reset(caption_1);
19536
19730
  template_effect(() => set_text(text2, caption()));
@@ -19602,12 +19796,12 @@ function KVTable_wc($$anchor, $$props) {
19602
19796
  }
19603
19797
  customElements.define("uni-kvtable", create_custom_element(KVTable_wc, { rows: {}, caption: {} }, ["default"], [], { mode: "open" }));
19604
19798
  var root_2$T = /* @__PURE__ */ from_html(`<span class="inline-block h-2 w-2 shrink-0 rounded-full" aria-hidden="true"></span>`);
19605
- var root_4$q = /* @__PURE__ */ from_html(`<span class="text-12 text-text-3"> </span>`);
19799
+ var root_4$r = /* @__PURE__ */ from_html(`<span class="text-12 text-text-3"> </span>`);
19606
19800
  var root_5$e = /* @__PURE__ */ from_html(`<span class="text-11 text-text-4"> </span>`);
19607
19801
  var root_3$C = /* @__PURE__ */ from_html(`<li><button type="button" class="flex w-full cursor-grab flex-col items-start gap-0.5 rounded-md border border-border-1 bg-bg-1 p-2 text-left active:cursor-grabbing hover:border-border-3 data-[grabbed=true]:border-brand-05 data-[grabbed=true]:bg-brand-05/[0.08] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><span class="text-13 font-medium text-text-1"> </span> <!> <!></button></li>`);
19608
- var root_6$4 = /* @__PURE__ */ from_html(`<li class="rounded-md border border-dashed border-border-1 p-3 text-center text-11 text-text-4" role="note">Empty</li>`);
19609
- var root_1$19 = /* @__PURE__ */ from_html(`<div role="listitem" class="flex min-w-[240px] flex-1 flex-col gap-2 rounded-lg border border-border-1 bg-divider p-2 data-[over=true]:border-brand-05/40 data-[over=true]:bg-brand-05/[0.04]"><div class="flex items-center gap-2 px-1 pt-0.5"><!> <span class="flex-1 text-12 font-semibold uppercase tracking-[0.05em] text-text-3"> </span> <span class="rounded bg-row-active px-1.5 py-0.5 text-11 text-text-4 tabular-nums"> </span></div> <ul class="m-0 flex list-none flex-col gap-1.5 p-0"><!> <!></ul></div>`);
19610
- var root$1r = /* @__PURE__ */ from_html(`<div role="region"><span role="status" aria-live="assertive" aria-atomic="true" class="sr-only"> </span> <div class="flex gap-3 overflow-x-auto" role="list"></div></div>`);
19802
+ var root_6$5 = /* @__PURE__ */ from_html(`<li class="rounded-md border border-dashed border-border-1 p-3 text-center text-11 text-text-4" role="note">Empty</li>`);
19803
+ var root_1$18 = /* @__PURE__ */ from_html(`<div role="listitem" class="flex min-w-[240px] flex-1 flex-col gap-2 rounded-lg border border-border-1 bg-divider p-2 data-[over=true]:border-brand-05/40 data-[over=true]:bg-brand-05/[0.04]"><div class="flex items-center gap-2 px-1 pt-0.5"><!> <span class="flex-1 text-12 font-semibold uppercase tracking-[0.05em] text-text-3"> </span> <span class="rounded bg-row-active px-1.5 py-0.5 text-11 text-text-4 tabular-nums"> </span></div> <ul class="m-0 flex list-none flex-col gap-1.5 p-0"><!> <!></ul></div>`);
19804
+ var root$1q = /* @__PURE__ */ from_html(`<div role="region"><span role="status" aria-live="assertive" aria-atomic="true" class="sr-only"> </span> <div class="flex gap-3 overflow-x-auto" role="list"></div></div>`);
19611
19805
  function KanbanBoard($$anchor, $$props) {
19612
19806
  push($$props, true);
19613
19807
  let onCardMove = prop($$props, "onCardMove", 3, void 0), ariaLabel = prop($$props, "ariaLabel", 3, "Kanban board");
@@ -19677,13 +19871,13 @@ function KanbanBoard($$anchor, $$props) {
19677
19871
  set(dragSrc, null);
19678
19872
  set(dragOverCol, null);
19679
19873
  }
19680
- var div = root$1r();
19874
+ var div = root$1q();
19681
19875
  var span = child(div);
19682
19876
  var text2 = child(span, true);
19683
19877
  reset(span);
19684
19878
  var div_1 = sibling(span, 2);
19685
19879
  each(div_1, 21, () => $$props.columns, (col) => col.id, ($$anchor2, col) => {
19686
- var div_2 = root_1$19();
19880
+ var div_2 = root_1$18();
19687
19881
  var div_3 = child(div_2);
19688
19882
  var node = child(div_3);
19689
19883
  {
@@ -19716,7 +19910,7 @@ function KanbanBoard($$anchor, $$props) {
19716
19910
  var node_2 = sibling(span_4, 2);
19717
19911
  {
19718
19912
  var consequent_1 = ($$anchor4) => {
19719
- var span_5 = root_4$q();
19913
+ var span_5 = root_4$r();
19720
19914
  var text_4 = child(span_5, true);
19721
19915
  reset(span_5);
19722
19916
  template_effect(() => set_text(text_4, get(card).subtitle));
@@ -19759,7 +19953,7 @@ function KanbanBoard($$anchor, $$props) {
19759
19953
  var node_4 = sibling(node_1, 2);
19760
19954
  {
19761
19955
  var consequent_3 = ($$anchor3) => {
19762
- var li_1 = root_6$4();
19956
+ var li_1 = root_6$5();
19763
19957
  template_effect(() => set_attribute(li_1, "aria-label", `${get(col).title} is empty`));
19764
19958
  append($$anchor3, li_1);
19765
19959
  };
@@ -19868,10 +20062,10 @@ function Kbd_wc($$anchor, $$props) {
19868
20062
  return pop($$exports);
19869
20063
  }
19870
20064
  customElements.define("uni-kbd", create_custom_element(Kbd_wc, { keys: {}, class: {} }, ["default"], [], { mode: "open" }));
19871
- var root$1q = /* @__PURE__ */ from_html(`<span><!></span>`);
20065
+ var root$1p = /* @__PURE__ */ from_html(`<span><!></span>`);
19872
20066
  function Label($$anchor, $$props) {
19873
20067
  let className = prop($$props, "class", 3, "");
19874
- var span = root$1q();
20068
+ var span = root$1p();
19875
20069
  var node = child(span);
19876
20070
  snippet(node, () => $$props.children ?? noop);
19877
20071
  reset(span);
@@ -19905,11 +20099,11 @@ function Label_wc($$anchor, $$props) {
19905
20099
  return pop($$exports);
19906
20100
  }
19907
20101
  customElements.define("uni-label", create_custom_element(Label_wc, { class: {} }, ["default"], [], { mode: "open" }));
19908
- var root_1$18 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
20102
+ var root_1$17 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
19909
20103
  var root_2$S = /* @__PURE__ */ from_svg(`<path fill-opacity="0.1"></path>`);
19910
20104
  var root_3$B = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"></path>`);
19911
20105
  var root_5$d = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9"> </text>`);
19912
- var root$1p = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><!></svg></div>`);
20106
+ var root$1o = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><!></svg></div>`);
19913
20107
  function LineChart($$anchor, $$props) {
19914
20108
  push($$props, true);
19915
20109
  let series = prop($$props, "series", 19, () => []), labels = prop($$props, "labels", 19, () => []), height = prop($$props, "height", 3, 160), ariaLabel = prop($$props, "ariaLabel", 3, "Line chart");
@@ -19942,11 +20136,11 @@ function LineChart($$anchor, $$props) {
19942
20136
  d: `M ${toX(0).toFixed(1)},${bot} L ${pts.join(" L ")} L ${toX(get(n) - 1).toFixed(1)},${bot} Z`
19943
20137
  };
19944
20138
  }));
19945
- var div = root$1p();
20139
+ var div = root$1o();
19946
20140
  var svg = child(div);
19947
20141
  var node = child(svg);
19948
20142
  each(node, 17, () => get(gridLines), index, ($$anchor2, y) => {
19949
- var line = root_1$18();
20143
+ var line = root_1$17();
19950
20144
  template_effect(() => {
19951
20145
  set_attribute(line, "x1", PAD.l);
19952
20146
  set_attribute(line, "y1", get(y));
@@ -20062,8 +20256,8 @@ function LineChart_wc($$anchor, $$props) {
20062
20256
  return pop($$exports);
20063
20257
  }
20064
20258
  customElements.define("uni-line-chart", create_custom_element(LineChart_wc, { series: {}, labels: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
20065
- var root_1$17 = /* @__PURE__ */ from_html(`<tr class="border-b border-divider last:border-b-0 hover:bg-divider"><td class="whitespace-nowrap py-1 pl-3 pr-2"><span><span class="inline-block h-1.5 w-1.5 rounded-full" aria-hidden="true"></span> </span></td><td class="whitespace-nowrap px-2 py-1 text-text-4"> </td><td class="whitespace-nowrap px-2 py-1 text-text-4 tabular-nums"> </td><td class="whitespace-nowrap px-2 py-1 text-text-2"> </td><td class="whitespace-nowrap px-2 py-1 text-text-2"> </td><td class="px-2 py-1 pr-3 text-text-3"> </td></tr>`);
20066
- var root$1o = /* @__PURE__ */ from_html(`<div><div class="flex items-center justify-between border-b border-border-1 px-3 py-1.5 text-12 text-text-4"><span class="tabular-nums"> </span> <button type="button" class="inline-flex h-6 cursor-pointer items-center rounded border border-border-2 bg-transparent px-2 text-12 text-text-3 transition-colors duration-100 hover:bg-row-hover hover:text-text-1 data-[on=true]:border-brand-05 data-[on=true]:bg-brand-05/[0.10] data-[on=true]:text-brand-05 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">Follow</button></div> <div role="log" aria-live="polite" class="overflow-auto"><table class="w-full border-collapse font-mono text-12"><caption class="sr-only"> </caption><thead class="sr-only"><tr><th scope="col">Severity</th><th scope="col">Source</th><th scope="col">Time</th><th scope="col">Event</th><th scope="col">Subject</th><th scope="col">Detail</th></tr></thead><tbody></tbody></table></div></div>`);
20259
+ var root_1$16 = /* @__PURE__ */ from_html(`<tr class="border-b border-divider last:border-b-0 hover:bg-divider"><td class="whitespace-nowrap py-1 pl-3 pr-2"><span><span class="inline-block h-1.5 w-1.5 rounded-full" aria-hidden="true"></span> </span></td><td class="whitespace-nowrap px-2 py-1 text-text-4"> </td><td class="whitespace-nowrap px-2 py-1 text-text-4 tabular-nums"> </td><td class="whitespace-nowrap px-2 py-1 text-text-2"> </td><td class="whitespace-nowrap px-2 py-1 text-text-2"> </td><td class="px-2 py-1 pr-3 text-text-3"> </td></tr>`);
20260
+ var root$1n = /* @__PURE__ */ from_html(`<div><div class="flex items-center justify-between border-b border-border-1 px-3 py-1.5 text-12 text-text-4"><span class="tabular-nums"> </span> <button type="button" class="inline-flex h-6 cursor-pointer items-center rounded border border-border-2 bg-transparent px-2 text-12 text-text-3 transition-colors duration-100 hover:bg-row-hover hover:text-text-1 data-[on=true]:border-brand-05 data-[on=true]:bg-brand-05/[0.10] data-[on=true]:text-brand-05 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">Follow</button></div> <div role="log" aria-live="polite" class="overflow-auto"><table class="w-full border-collapse font-mono text-12"><caption class="sr-only"> </caption><thead class="sr-only"><tr><th scope="col">Severity</th><th scope="col">Source</th><th scope="col">Time</th><th scope="col">Event</th><th scope="col">Subject</th><th scope="col">Detail</th></tr></thead><tbody></tbody></table></div></div>`);
20067
20261
  function LogViewer($$anchor, $$props) {
20068
20262
  push($$props, true);
20069
20263
  let entries = prop($$props, "entries", 19, () => []), height = prop($$props, "height", 3, 360), defaultFollow = prop($$props, "defaultFollow", 3, true), ariaLabel = prop($$props, "ariaLabel", 3, "Log entries"), className = prop($$props, "className", 3, "");
@@ -20085,7 +20279,7 @@ function LogViewer($$anchor, $$props) {
20085
20279
  void entries().length;
20086
20280
  if (get(follow) && get(bodyEl)) get(bodyEl).scrollTop = get(bodyEl).scrollHeight;
20087
20281
  });
20088
- var div = root$1o();
20282
+ var div = root$1n();
20089
20283
  var div_1 = child(div);
20090
20284
  var span = child(div_1);
20091
20285
  var text2 = child(span);
@@ -20099,7 +20293,7 @@ function LogViewer($$anchor, $$props) {
20099
20293
  reset(caption);
20100
20294
  var tbody = sibling(caption, 2);
20101
20295
  each(tbody, 23, entries, (e, i) => e.id ?? i, ($$anchor2, e) => {
20102
- var tr = root_1$17();
20296
+ var tr = root_1$16();
20103
20297
  var td = child(tr);
20104
20298
  var span_1 = child(td);
20105
20299
  var span_2 = child(span_1);
@@ -20234,9 +20428,9 @@ customElements.define("uni-log-viewer", create_custom_element(
20234
20428
  [],
20235
20429
  { mode: "open" }
20236
20430
  ));
20237
- var root_1$16 = /* @__PURE__ */ from_svg(`<g><line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text></g>`);
20431
+ var root_1$15 = /* @__PURE__ */ from_svg(`<g><line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="9" text-anchor="middle" font-family="inherit"> </text></g>`);
20238
20432
  var root_2$R = /* @__PURE__ */ from_svg(`<g><text fill="#A4A7B5" font-size="10" text-anchor="end" font-family="inherit"> </text><line stroke-width="1.5" opacity="0.5"></line><circle></circle><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text></g>`);
20239
- var root$1n = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
20433
+ var root$1m = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
20240
20434
  function LollipopChart($$anchor, $$props) {
20241
20435
  push($$props, true);
20242
20436
  let items = prop($$props, "items", 19, () => []), unit = prop($$props, "unit", 3, ""), color = prop($$props, "color", 3, "#006FFF"), ariaLabel = prop($$props, "ariaLabel", 3, "Lollipop chart");
@@ -20256,11 +20450,11 @@ function LollipopChart($$anchor, $$props) {
20256
20450
  function tx(v) {
20257
20451
  return LABEL_W + v / get(maxVal) * TRACK_W;
20258
20452
  }
20259
- var div = root$1n();
20453
+ var div = root$1m();
20260
20454
  var svg = child(div);
20261
20455
  var node = child(svg);
20262
20456
  each(node, 17, () => get(ticks), index, ($$anchor2, t) => {
20263
- var g = root_1$16();
20457
+ var g = root_1$15();
20264
20458
  var line = child(g);
20265
20459
  set_attribute(line, "y1", PAD_T);
20266
20460
  var text2 = sibling(line);
@@ -20381,10 +20575,10 @@ function LollipopChart_wc($$anchor, $$props) {
20381
20575
  }
20382
20576
  customElements.define("uni-lollipop-chart", create_custom_element(LollipopChart_wc, { items: {}, unit: {}, color: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
20383
20577
  let counter$g = 0;
20384
- var root_1$15 = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
20578
+ var root_1$14 = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
20385
20579
  var root_3$A = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="select-none text-13 leading-none text-text-4">:</span>`);
20386
20580
  var root_2$Q = /* @__PURE__ */ from_html(`<input type="text" inputmode="text"/> <!>`, 1);
20387
- var root$1m = /* @__PURE__ */ from_html(`<div><!> <div role="group" class="inline-flex h-[34px] items-center gap-0.5 rounded-md border border-border-2 bg-bg-page px-2 transition-colors duration-100 focus-within:border-brand-05 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-40"></div></div>`);
20581
+ var root$1l = /* @__PURE__ */ from_html(`<div><!> <div role="group" class="inline-flex h-[34px] items-center gap-0.5 rounded-md border border-border-2 bg-bg-page px-2 transition-colors duration-100 focus-within:border-brand-05 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-40"></div></div>`);
20388
20582
  function MACInput($$anchor, $$props) {
20389
20583
  push($$props, true);
20390
20584
  let label = prop($$props, "label", 3, void 0), value = prop($$props, "value", 15, "00:00:00:00:00:00"), disabled = prop($$props, "disabled", 3, false), className = prop($$props, "class", 3, "");
@@ -20451,11 +20645,11 @@ function MACInput($$anchor, $$props) {
20451
20645
  }
20452
20646
  }
20453
20647
  const PAIR_CLS = "w-6 border-0 bg-transparent p-0 text-center font-mono text-13 uppercase text-text-1 outline-none";
20454
- var div = root$1m();
20648
+ var div = root$1l();
20455
20649
  var node = child(div);
20456
20650
  {
20457
20651
  var consequent = ($$anchor2) => {
20458
- var label_1 = root_1$15();
20652
+ var label_1 = root_1$14();
20459
20653
  var text_1 = child(label_1, true);
20460
20654
  reset(label_1);
20461
20655
  template_effect(() => {
@@ -20566,10 +20760,10 @@ function MACInput_wc($$anchor, $$props) {
20566
20760
  return pop($$exports);
20567
20761
  }
20568
20762
  customElements.define("uni-macinput", create_custom_element(MACInput_wc, { label: {}, value: {}, disabled: {}, class: {} }, ["default"], [], { mode: "open" }));
20569
- var root$1l = /* @__PURE__ */ from_html(`<span><!></span>`);
20763
+ var root$1k = /* @__PURE__ */ from_html(`<span><!></span>`);
20570
20764
  function Mac($$anchor, $$props) {
20571
20765
  let className = prop($$props, "class", 3, "");
20572
- var span = root$1l();
20766
+ var span = root$1k();
20573
20767
  var node = child(span);
20574
20768
  snippet(node, () => $$props.children ?? noop);
20575
20769
  reset(span);
@@ -20604,10 +20798,10 @@ function Mac_wc($$anchor, $$props) {
20604
20798
  }
20605
20799
  customElements.define("uni-mac", create_custom_element(Mac_wc, { class: {} }, ["default"], [], { mode: "open" }));
20606
20800
  var root_3$z = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#A4A7B5" font-family="inherit"> </text>`);
20607
- var root_6$3 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#fff" font-family="inherit"> </text>`);
20801
+ var root_6$4 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#fff" font-family="inherit"> </text>`);
20608
20802
  var root_5$c = /* @__PURE__ */ from_svg(`<g><rect></rect><!></g>`);
20609
- var root_7$4 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)"></line>`);
20610
- var root_1$14 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
20803
+ var root_7$5 = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)"></line>`);
20804
+ var root_1$13 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
20611
20805
  function MarimekkoChart($$anchor, $$props) {
20612
20806
  push($$props, true);
20613
20807
  let height = prop($$props, "height", 3, 160), ariaLabel = prop($$props, "ariaLabel", 3, "Marimekko chart");
@@ -20656,7 +20850,7 @@ function MarimekkoChart($$anchor, $$props) {
20656
20850
  var node = first_child(fragment);
20657
20851
  {
20658
20852
  var consequent_3 = ($$anchor2) => {
20659
- var div = root_1$14();
20853
+ var div = root_1$13();
20660
20854
  var svg = child(div);
20661
20855
  var node_1 = child(svg);
20662
20856
  each(node_1, 17, () => get(layout).headers, index, ($$anchor3, h) => {
@@ -20697,7 +20891,7 @@ function MarimekkoChart($$anchor, $$props) {
20697
20891
  var node_5 = sibling(rect);
20698
20892
  {
20699
20893
  var consequent_1 = ($$anchor5) => {
20700
- var text_2 = root_6$3();
20894
+ var text_2 = root_6$4();
20701
20895
  var text_3 = child(text_2, true);
20702
20896
  reset(text_2);
20703
20897
  template_effect(
@@ -20741,7 +20935,7 @@ function MarimekkoChart($$anchor, $$props) {
20741
20935
  });
20742
20936
  var node_6 = sibling(node_3);
20743
20937
  each(node_6, 17, () => get(layout).headers.slice(0, -1), index, ($$anchor3, h) => {
20744
- var line = root_7$4();
20938
+ var line = root_7$5();
20745
20939
  set_attribute(line, "y1", LABEL_H);
20746
20940
  set_attribute(line, "stroke-width", 1);
20747
20941
  template_effect(() => {
@@ -20813,11 +21007,11 @@ function MarimekkoChart_wc($$anchor, $$props) {
20813
21007
  return pop($$exports);
20814
21008
  }
20815
21009
  customElements.define("uni-marimekko-chart", create_custom_element(MarimekkoChart_wc, { columns: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
20816
- var root_1$13 = /* @__PURE__ */ from_svg(`<text fill="#A4A7B5" font-size="10" text-anchor="end" font-family="inherit"> </text>`);
21010
+ var root_1$12 = /* @__PURE__ */ from_svg(`<text fill="#A4A7B5" font-size="10" text-anchor="end" font-family="inherit"> </text>`);
20817
21011
  var root_2$P = /* @__PURE__ */ from_svg(`<text fill="#A4A7B5" font-size="10" text-anchor="end" font-family="inherit"> </text>`);
20818
21012
  var root_5$b = /* @__PURE__ */ from_svg(`<text font-size="9" text-anchor="middle" font-family="inherit"> </text>`);
20819
- var root_4$p = /* @__PURE__ */ from_svg(`<rect rx="3"></rect><!>`, 1);
20820
- var root$1k = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
21013
+ var root_4$q = /* @__PURE__ */ from_svg(`<rect rx="3"></rect><!>`, 1);
21014
+ var root$1j = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
20821
21015
  function MatrixChart($$anchor, $$props) {
20822
21016
  push($$props, true);
20823
21017
  let rows = prop($$props, "rows", 19, () => []), cols = prop($$props, "cols", 19, () => []), values = prop($$props, "values", 19, () => []), unit = prop($$props, "unit", 3, ""), ariaLabel = prop($$props, "ariaLabel", 3, "Matrix chart");
@@ -20836,12 +21030,12 @@ function MatrixChart($$anchor, $$props) {
20836
21030
  let max = /* @__PURE__ */ user_derived(() => Math.max(...get(allVals), 1));
20837
21031
  let W = /* @__PURE__ */ user_derived(() => LEFT + cols().length * CELL);
20838
21032
  let H = /* @__PURE__ */ user_derived(() => TOP + rows().length * CELL);
20839
- var div = root$1k();
21033
+ var div = root$1j();
20840
21034
  var svg = child(div);
20841
21035
  var node = child(svg);
20842
21036
  each(node, 17, cols, index, ($$anchor2, col, ci) => {
20843
21037
  const cx = /* @__PURE__ */ user_derived(() => LEFT + ci * CELL + CELL / 2);
20844
- var text2 = root_1$13();
21038
+ var text2 = root_1$12();
20845
21039
  set_attribute(text2, "y", TOP - 8);
20846
21040
  var text_1 = child(text2, true);
20847
21041
  reset(text2);
@@ -20876,7 +21070,7 @@ function MatrixChart($$anchor, $$props) {
20876
21070
  const y = /* @__PURE__ */ user_derived(() => TOP + ri * CELL);
20877
21071
  const cx = /* @__PURE__ */ user_derived(() => get(x) + CELL / 2);
20878
21072
  const cy = /* @__PURE__ */ user_derived(() => get(y) + CELL / 2);
20879
- var fragment_1 = root_4$p();
21073
+ var fragment_1 = root_4$q();
20880
21074
  var rect = first_child(fragment_1);
20881
21075
  set_attribute(rect, "width", CELL - 2);
20882
21076
  set_attribute(rect, "height", CELL - 2);
@@ -20990,11 +21184,11 @@ function MatrixChart_wc($$anchor, $$props) {
20990
21184
  }
20991
21185
  customElements.define("uni-matrix-chart", create_custom_element(MatrixChart_wc, { rows: {}, cols: {}, values: {}, unit: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
20992
21186
  let counter$f = 0;
20993
- var root_4$o = /* @__PURE__ */ from_html(`<li role="separator" aria-hidden="true" class="my-[3px] h-px list-none bg-row-active"></li>`);
21187
+ var root_4$p = /* @__PURE__ */ from_html(`<li role="separator" aria-hidden="true" class="my-[3px] h-px list-none bg-row-active"></li>`);
20994
21188
  var root_5$a = /* @__PURE__ */ from_html(`<li role="menuitem" class="flex cursor-pointer select-none items-center whitespace-nowrap rounded px-2.5 py-1.5 text-13 text-text-3 transition-colors duration-75 hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 aria-disabled:cursor-default aria-disabled:text-white/25 aria-disabled:pointer-events-none"> </li>`);
20995
21189
  var root_2$O = /* @__PURE__ */ from_html(`<ul role="menu" class="absolute left-0 top-[calc(100%+2px)] z-[200] m-0 min-w-[180px] list-none rounded-md border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.4)]"></ul>`);
20996
- var root_1$12 = /* @__PURE__ */ from_html(`<div class="relative"><button type="button" role="menuitem" aria-haspopup="menu" class="inline-flex cursor-pointer items-center rounded border-0 bg-transparent px-2.5 py-1.5 text-13 leading-none text-text-3 transition-[background-color,color] duration-100 hover:bg-row-active hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-[1px] focus-visible:outline-brand-05 data-[open=true]:bg-row-active data-[open=true]:text-text-1"> </button> <!></div>`);
20997
- var root$1j = /* @__PURE__ */ from_html(`<div role="menubar"></div>`);
21190
+ var root_1$11 = /* @__PURE__ */ from_html(`<div class="relative"><button type="button" role="menuitem" aria-haspopup="menu" class="inline-flex cursor-pointer items-center rounded border-0 bg-transparent px-2.5 py-1.5 text-13 leading-none text-text-3 transition-[background-color,color] duration-100 hover:bg-row-active hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-[1px] focus-visible:outline-brand-05 data-[open=true]:bg-row-active data-[open=true]:text-text-1"> </button> <!></div>`);
21191
+ var root$1i = /* @__PURE__ */ from_html(`<div role="menubar"></div>`);
20998
21192
  function Menubar($$anchor, $$props) {
20999
21193
  push($$props, true);
21000
21194
  let menus = prop($$props, "menus", 19, () => []), label = prop($$props, "label", 3, "Menu"), klass = prop($$props, "class", 3, "");
@@ -21080,12 +21274,12 @@ function Menubar($$anchor, $$props) {
21080
21274
  }
21081
21275
  onMount(() => document.addEventListener("mousedown", handleOutside));
21082
21276
  onDestroy(() => document.removeEventListener("mousedown", handleOutside));
21083
- var div = root$1j();
21277
+ var div = root$1i();
21084
21278
  each(div, 23, menus, (menu) => menu.id, ($$anchor2, menu, idx) => {
21085
21279
  const isOpen = /* @__PURE__ */ user_derived(() => get(openIdx) === get(idx));
21086
21280
  const menuId = /* @__PURE__ */ user_derived(() => `${uid2}-menu-${get(idx)}`);
21087
21281
  const elig = /* @__PURE__ */ user_derived(() => get(menu).items.filter((i) => !i.separator && !i.disabled));
21088
- var div_1 = root_1$12();
21282
+ var div_1 = root_1$11();
21089
21283
  var button = child(div_1);
21090
21284
  var text2 = child(button, true);
21091
21285
  reset(button);
@@ -21099,7 +21293,7 @@ function Menubar($$anchor, $$props) {
21099
21293
  var node_1 = first_child(fragment);
21100
21294
  {
21101
21295
  var consequent = ($$anchor5) => {
21102
- var li = root_4$o();
21296
+ var li = root_4$p();
21103
21297
  append($$anchor5, li);
21104
21298
  };
21105
21299
  var alternate = ($$anchor5) => {
@@ -21215,8 +21409,8 @@ function Menubar_wc($$anchor, $$props) {
21215
21409
  customElements.define("uni-menubar", create_custom_element(Menubar_wc, { menus: {}, label: {}, class: {} }, ["default"], [], { mode: "open" }));
21216
21410
  var root_2$N = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.55)" font-size="9" text-anchor="start" font-family="inherit"> </text>`);
21217
21411
  var root_3$y = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.55)" font-size="9" text-anchor="end" font-family="inherit"> </text>`);
21218
- var root_1$11 = /* @__PURE__ */ from_svg(`<g><rect opacity="0.85" rx="2"></rect><rect opacity="0.85" rx="2"></rect><text fill="#CDD0DB" font-size="10" text-anchor="middle" font-family="inherit"> </text><!><!></g>`);
21219
- var root$1i = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><text fill="#6E7079" font-size="9" text-anchor="end" font-family="inherit"> </text><text fill="#6E7079" font-size="9" text-anchor="start" font-family="inherit"> </text><line stroke="rgba(255,255,255,0.12)" stroke-width="1"></line><!></svg></div>`);
21412
+ var root_1$10 = /* @__PURE__ */ from_svg(`<g><rect opacity="0.85" rx="2"></rect><rect opacity="0.85" rx="2"></rect><text fill="#CDD0DB" font-size="10" text-anchor="middle" font-family="inherit"> </text><!><!></g>`);
21413
+ var root$1h = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><text fill="#6E7079" font-size="9" text-anchor="end" font-family="inherit"> </text><text fill="#6E7079" font-size="9" text-anchor="start" font-family="inherit"> </text><line stroke="rgba(255,255,255,0.12)" stroke-width="1"></line><!></svg></div>`);
21220
21414
  function MirroredBarChart($$anchor, $$props) {
21221
21415
  push($$props, true);
21222
21416
  let items = prop($$props, "items", 19, () => []), leftLabel = prop($$props, "leftLabel", 3, "Download"), rightLabel = prop($$props, "rightLabel", 3, "Upload"), leftColor = prop($$props, "leftColor", 3, "#006FFF"), rightColor = prop($$props, "rightColor", 3, "#00C8C8"), unit = prop($$props, "unit", 3, ""), ariaLabel = prop($$props, "ariaLabel", 3, "Mirrored bar chart");
@@ -21232,7 +21426,7 @@ function MirroredBarChart($$anchor, $$props) {
21232
21426
  function bw(val) {
21233
21427
  return val / get(maxVal) * HALF_W;
21234
21428
  }
21235
- var div = root$1i();
21429
+ var div = root$1h();
21236
21430
  var svg = child(div);
21237
21431
  var text2 = child(svg);
21238
21432
  set_attribute(text2, "x", CX - LABEL_W / 2 - 6);
@@ -21256,7 +21450,7 @@ function MirroredBarChart($$anchor, $$props) {
21256
21450
  const by = /* @__PURE__ */ user_derived(() => get(y) + 4);
21257
21451
  const lw = /* @__PURE__ */ user_derived(() => bw(get(item).left));
21258
21452
  const rw = /* @__PURE__ */ user_derived(() => bw(get(item).right));
21259
- var g = root_1$11();
21453
+ var g = root_1$10();
21260
21454
  var rect = child(g);
21261
21455
  set_attribute(rect, "height", get(bh));
21262
21456
  var rect_1 = sibling(rect);
@@ -21428,10 +21622,17 @@ customElements.define("uni-mirrored-bar-chart", create_custom_element(
21428
21622
  { mode: "open" }
21429
21623
  ));
21430
21624
  var root_2$M = /* @__PURE__ */ from_html(`<div class="flex justify-end gap-2 border-t border-border-1 bg-bg-0 px-5 py-3.5"><!></div>`);
21431
- var root$1h = /* @__PURE__ */ from_html(`<div role="presentation"><div class="w-[520px] max-w-[90vw] overflow-hidden rounded-xl border border-border-2 bg-bg-1 shadow-modal" role="dialog" aria-modal="true" tabindex="-1"><div class="flex items-center justify-between border-b border-border-1 px-5 py-4"><h2 class="m-0 text-16 font-semibold"> </h2> <!></div> <div class="px-5 py-4"><!></div> <!></div></div>`);
21625
+ var root$1g = /* @__PURE__ */ from_html(`<div role="presentation"><div role="dialog" aria-modal="true" tabindex="-1"><div class="flex items-center justify-between border-b border-border-1 px-5 py-4"><h2 class="m-0 text-16 font-semibold"> </h2> <!></div> <div class="px-5 py-4"><!></div> <!></div></div>`);
21432
21626
  function Modal($$anchor, $$props) {
21433
21627
  push($$props, true);
21434
- let open = prop($$props, "open", 15, false);
21628
+ let open = prop($$props, "open", 15, false), size = prop($$props, "size", 3, "md");
21629
+ const SIZE = {
21630
+ sm: "w-[400px]",
21631
+ md: "w-[520px]",
21632
+ lg: "w-[720px]",
21633
+ xl: "w-[960px]",
21634
+ "2xl": "w-[1200px]"
21635
+ };
21435
21636
  const titleId = `modal-title-${Math.random().toString(36).slice(2, 9)}`;
21436
21637
  const FOCUSABLE = 'a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])';
21437
21638
  let modalEl = /* @__PURE__ */ state(void 0);
@@ -21482,7 +21683,7 @@ function Modal($$anchor, $$props) {
21482
21683
  f.focus();
21483
21684
  }
21484
21685
  }
21485
- var div = root$1h();
21686
+ var div = root$1g();
21486
21687
  event("keydown", $window, onKeydown);
21487
21688
  var div_1 = child(div);
21488
21689
  var div_2 = child(div_1);
@@ -21522,6 +21723,7 @@ function Modal($$anchor, $$props) {
21522
21723
  template_effect(() => {
21523
21724
  set_class(div, 1, `fixed inset-0 z-[60] items-center justify-center bg-black/55 backdrop-blur-lg
21524
21725
  ${open() ? "flex" : "hidden"}`);
21726
+ set_class(div_1, 1, `${SIZE[size()] ?? ""} max-w-[90vw] overflow-hidden rounded-xl border border-border-2 bg-bg-1 shadow-modal`);
21525
21727
  set_attribute(div_1, "aria-labelledby", titleId);
21526
21728
  set_attribute(h2, "id", titleId);
21527
21729
  set_text(text2, $$props.title);
@@ -21537,7 +21739,7 @@ function Modal($$anchor, $$props) {
21537
21739
  delegate(["mousedown", "click"]);
21538
21740
  function Modal_wc($$anchor, $$props) {
21539
21741
  push($$props, true);
21540
- let open = prop($$props, "open", 7, false), title = prop($$props, "title", 7, void 0);
21742
+ let open = prop($$props, "open", 7, false), title = prop($$props, "title", 7, void 0), size = prop($$props, "size", 7, "md");
21541
21743
  var $$exports = {
21542
21744
  get open() {
21543
21745
  return open();
@@ -21552,6 +21754,13 @@ function Modal_wc($$anchor, $$props) {
21552
21754
  set title($$value = void 0) {
21553
21755
  title($$value);
21554
21756
  flushSync();
21757
+ },
21758
+ get size() {
21759
+ return size();
21760
+ },
21761
+ set size($$value = "md") {
21762
+ size($$value);
21763
+ flushSync();
21555
21764
  }
21556
21765
  };
21557
21766
  Modal($$anchor, {
@@ -21561,6 +21770,9 @@ function Modal_wc($$anchor, $$props) {
21561
21770
  get title() {
21562
21771
  return title();
21563
21772
  },
21773
+ get size() {
21774
+ return size();
21775
+ },
21564
21776
  children: ($$anchor2, $$slotProps) => {
21565
21777
  var fragment_1 = comment();
21566
21778
  var node = first_child(fragment_1);
@@ -21571,11 +21783,11 @@ function Modal_wc($$anchor, $$props) {
21571
21783
  });
21572
21784
  return pop($$exports);
21573
21785
  }
21574
- customElements.define("uni-modal", create_custom_element(Modal_wc, { open: {}, title: {} }, ["default"], [], { mode: "open" }));
21575
- var root$1g = /* @__PURE__ */ from_html(`<span><!></span>`);
21786
+ customElements.define("uni-modal", create_custom_element(Modal_wc, { open: {}, title: {}, size: {} }, ["default"], [], { mode: "open" }));
21787
+ var root$1f = /* @__PURE__ */ from_html(`<span><!></span>`);
21576
21788
  function Mono($$anchor, $$props) {
21577
21789
  let className = prop($$props, "class", 3, "");
21578
- var span = root$1g();
21790
+ var span = root$1f();
21579
21791
  var node = child(span);
21580
21792
  snippet(node, () => $$props.children ?? noop);
21581
21793
  reset(span);
@@ -21610,13 +21822,13 @@ function Mono_wc($$anchor, $$props) {
21610
21822
  }
21611
21823
  customElements.define("uni-mono", create_custom_element(Mono_wc, { class: {} }, ["default"], [], { mode: "open" }));
21612
21824
  let counter$e = 0;
21613
- var root_1$10 = /* @__PURE__ */ from_html(`<label class="sr-only"> </label>`);
21825
+ var root_1$$ = /* @__PURE__ */ from_html(`<label class="sr-only"> </label>`);
21614
21826
  var root_3$x = /* @__PURE__ */ from_html(`<span class="inline-flex h-6 items-center gap-1 whitespace-nowrap rounded-full border border-brand-05/25 bg-brand-05/[0.14] pl-2.5 pr-1 text-12 font-medium text-status-info"><span class="leading-none"> </span> <button type="button" class="inline-flex h-[18px] w-[18px] shrink-0 cursor-pointer items-center justify-center rounded-full border-0 bg-transparent p-0 text-status-info transition-colors duration-100 hover:bg-brand-05/25 hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-brand-05"><svg viewBox="0 0 10 10" width="10" height="10" fill="none" aria-hidden="true" focusable="false"><path d="M2 2l6 6M8 2l-6 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg></button></span>`);
21615
21827
  var root_5$9 = /* @__PURE__ */ from_html(`<li class="list-none p-2.5 text-center text-13 text-text-4">No results</li>`);
21616
- var root_8$5 = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 12 12" width="12" height="12" fill="none" aria-hidden="true"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
21617
- var root_7$3 = /* @__PURE__ */ from_html(`<li role="option" class="flex cursor-pointer items-center gap-2 rounded-[5px] px-2.5 py-1.5 text-13 text-text-2 hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1"><span aria-hidden="true"><!></span> </li>`);
21618
- var root_4$n = /* @__PURE__ */ from_html(`<ul role="listbox" aria-multiselectable="true" class="absolute left-0 top-[calc(100%+4px)] z-[9000] m-0 max-h-60 min-w-full list-none overflow-y-auto rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"><!></ul>`);
21619
- var root$1f = /* @__PURE__ */ from_html(`<div><!> <div class="relative flex min-h-[34px] cursor-text flex-wrap items-center gap-1 rounded-md border border-border-2 bg-bg-page py-[3px] pl-2 pr-9 transition-colors duration-100 hover:border-border-3 data-[open=true]:border-brand-05 data-[open=true]:shadow-[0_0_0_2px_rgba(0,111,255,0.2)]"><!> <input role="combobox" aria-autocomplete="list" autocomplete="off" spellcheck="false" class="h-6 min-w-[80px] flex-1 border-0 bg-transparent px-1 text-13 leading-none text-text-1 outline-none placeholder:text-text-4"/> <button type="button" aria-hidden="true" class="absolute right-2 flex cursor-pointer items-center border-0 bg-transparent p-0.5 leading-none text-text-4"><svg viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path></svg></button></div> <!></div>`);
21828
+ var root_8$4 = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 12 12" width="12" height="12" fill="none" aria-hidden="true"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
21829
+ var root_7$4 = /* @__PURE__ */ from_html(`<li role="option" class="flex cursor-pointer items-center gap-2 rounded-[5px] px-2.5 py-1.5 text-13 text-text-2 hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1"><span aria-hidden="true"><!></span> </li>`);
21830
+ var root_4$o = /* @__PURE__ */ from_html(`<ul role="listbox" aria-multiselectable="true" class="absolute left-0 top-[calc(100%+4px)] z-[9000] m-0 max-h-60 min-w-full list-none overflow-y-auto rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"><!></ul>`);
21831
+ var root$1e = /* @__PURE__ */ from_html(`<div><!> <div class="relative flex min-h-[34px] cursor-text flex-wrap items-center gap-1 rounded-md border border-border-2 bg-bg-page py-[3px] pl-2 pr-9 transition-colors duration-100 hover:border-border-3 data-[open=true]:border-brand-05 data-[open=true]:shadow-[0_0_0_2px_rgba(0,111,255,0.2)]"><!> <input role="combobox" aria-autocomplete="list" autocomplete="off" spellcheck="false" class="h-6 min-w-[80px] flex-1 border-0 bg-transparent px-1 text-13 leading-none text-text-1 outline-none placeholder:text-text-4"/> <button type="button" aria-hidden="true" class="absolute right-2 flex cursor-pointer items-center border-0 bg-transparent p-0.5 leading-none text-text-4"><svg viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" fill="none"></path></svg></button></div> <!></div>`);
21620
21832
  function MultiSelect($$anchor, $$props) {
21621
21833
  push($$props, true);
21622
21834
  let options = prop($$props, "options", 19, () => []), value = prop($$props, "value", 19, () => []), label = prop($$props, "label", 3, void 0), placeholder = prop($$props, "placeholder", 3, "Select…"), id = prop($$props, "id", 3, void 0), disabled = prop($$props, "disabled", 3, false), className = prop($$props, "class", 3, "");
@@ -21689,11 +21901,11 @@ function MultiSelect($$anchor, $$props) {
21689
21901
  }
21690
21902
  onMount(() => document.addEventListener("mousedown", handleOutside));
21691
21903
  onDestroy(() => document.removeEventListener("mousedown", handleOutside));
21692
- var div = root$1f();
21904
+ var div = root$1e();
21693
21905
  var node = child(div);
21694
21906
  {
21695
21907
  var consequent = ($$anchor2) => {
21696
- var label_1 = root_1$10();
21908
+ var label_1 = root_1$$();
21697
21909
  var text2 = child(label_1, true);
21698
21910
  reset(label_1);
21699
21911
  template_effect(() => {
@@ -21747,7 +21959,7 @@ function MultiSelect($$anchor, $$props) {
21747
21959
  var node_3 = sibling(div_1, 2);
21748
21960
  {
21749
21961
  var consequent_4 = ($$anchor2) => {
21750
- var ul = root_4$n();
21962
+ var ul = root_4$o();
21751
21963
  var node_4 = child(ul);
21752
21964
  {
21753
21965
  var consequent_2 = ($$anchor3) => {
@@ -21759,12 +21971,12 @@ function MultiSelect($$anchor, $$props) {
21759
21971
  var node_5 = first_child(fragment_1);
21760
21972
  each(node_5, 19, () => get(filtered), (opt) => opt.value, ($$anchor4, opt, idx) => {
21761
21973
  const selected = /* @__PURE__ */ user_derived(() => get(selectedSet).has(get(opt).value));
21762
- var li_1 = root_7$3();
21974
+ var li_1 = root_7$4();
21763
21975
  var span_2 = child(li_1);
21764
21976
  var node_6 = child(span_2);
21765
21977
  {
21766
21978
  var consequent_3 = ($$anchor5) => {
21767
- var svg_1 = root_8$5();
21979
+ var svg_1 = root_8$4();
21768
21980
  append($$anchor5, svg_1);
21769
21981
  };
21770
21982
  if_block(node_6, ($$render) => {
@@ -21948,10 +22160,10 @@ customElements.define("uni-multi-select", create_custom_element(
21948
22160
  [],
21949
22161
  { mode: "open" }
21950
22162
  ));
21951
- var root$1e = /* @__PURE__ */ from_html(`<span><!></span>`);
22163
+ var root$1d = /* @__PURE__ */ from_html(`<span><!></span>`);
21952
22164
  function Muted($$anchor, $$props) {
21953
22165
  let className = prop($$props, "class", 3, "");
21954
- var span = root$1e();
22166
+ var span = root$1d();
21955
22167
  var node = child(span);
21956
22168
  snippet(node, () => $$props.children ?? noop);
21957
22169
  reset(span);
@@ -21985,15 +22197,15 @@ function Muted_wc($$anchor, $$props) {
21985
22197
  return pop($$exports);
21986
22198
  }
21987
22199
  customElements.define("uni-muted", create_custom_element(Muted_wc, { class: {} }, ["default"], [], { mode: "open" }));
21988
- var root_1$$ = /* @__PURE__ */ from_html(`<span><!></span>`);
21989
- var root$1d = /* @__PURE__ */ from_html(`<div><!> <!></div>`);
22200
+ var root_1$_ = /* @__PURE__ */ from_html(`<span><!></span>`);
22201
+ var root$1c = /* @__PURE__ */ from_html(`<div><!> <!></div>`);
21990
22202
  function NameCell($$anchor, $$props) {
21991
22203
  let className = prop($$props, "class", 3, ""), thumbClass = prop($$props, "thumbClass", 3, "");
21992
- var div = root$1d();
22204
+ var div = root$1c();
21993
22205
  var node = child(div);
21994
22206
  {
21995
22207
  var consequent = ($$anchor2) => {
21996
- var span = root_1$$();
22208
+ var span = root_1$_();
21997
22209
  var node_1 = child(span);
21998
22210
  snippet(node_1, () => $$props.thumb);
21999
22211
  reset(span);
@@ -22048,9 +22260,9 @@ function NameCell_wc($$anchor, $$props) {
22048
22260
  }
22049
22261
  customElements.define("uni-name-cell", create_custom_element(NameCell_wc, { class: {}, thumbClass: {} }, ["default"], [], { mode: "open" }));
22050
22262
  var root_2$L = /* @__PURE__ */ from_svg(`<circle fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"></circle>`);
22051
- var root_4$m = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
22263
+ var root_4$n = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
22052
22264
  var root_3$w = /* @__PURE__ */ from_svg(`<path></path><!>`, 1);
22053
- var root_1$_ = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><circle fill="#13131A" stroke="rgba(255,255,255,0.1)" stroke-width="1"></circle></svg></div>`);
22265
+ var root_1$Z = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><circle fill="#13131A" stroke="rgba(255,255,255,0.1)" stroke-width="1"></circle></svg></div>`);
22054
22266
  function NightingaleChart($$anchor, $$props) {
22055
22267
  push($$props, true);
22056
22268
  let segments = prop($$props, "segments", 19, () => []), color = prop($$props, "color", 3, "#006FFF"), ariaLabel = prop($$props, "ariaLabel", 3, "Nightingale chart");
@@ -22090,7 +22302,7 @@ function NightingaleChart($$anchor, $$props) {
22090
22302
  var node = first_child(fragment);
22091
22303
  {
22092
22304
  var consequent_1 = ($$anchor2) => {
22093
- var div = root_1$_();
22305
+ var div = root_1$Z();
22094
22306
  var svg = child(div);
22095
22307
  set_attribute(svg, "viewBox", "0 0 280 280");
22096
22308
  var node_1 = child(svg);
@@ -22108,7 +22320,7 @@ function NightingaleChart($$anchor, $$props) {
22108
22320
  var node_3 = sibling(path);
22109
22321
  {
22110
22322
  var consequent = ($$anchor4) => {
22111
- var text2 = root_4$m();
22323
+ var text2 = root_4$n();
22112
22324
  var text_1 = child(text2, true);
22113
22325
  reset(text2);
22114
22326
  template_effect(
@@ -22195,10 +22407,10 @@ function NightingaleChart_wc($$anchor, $$props) {
22195
22407
  return pop($$exports);
22196
22408
  }
22197
22409
  customElements.define("uni-nightingale-chart", create_custom_element(NightingaleChart_wc, { segments: {}, color: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
22198
- var root$1c = /* @__PURE__ */ from_html(`<span aria-hidden="true"></span>`);
22410
+ var root$1b = /* @__PURE__ */ from_html(`<span aria-hidden="true"></span>`);
22199
22411
  function NotifDot($$anchor, $$props) {
22200
22412
  let className = prop($$props, "class", 3, "");
22201
- var span = root$1c();
22413
+ var span = root$1b();
22202
22414
  template_effect(() => set_class(span, 1, `topbar-notif-dot ${className() ?? ""}`));
22203
22415
  append($$anchor, span);
22204
22416
  }
@@ -22229,14 +22441,14 @@ function NotifDot_wc($$anchor, $$props) {
22229
22441
  return pop($$exports);
22230
22442
  }
22231
22443
  customElements.define("uni-notif-dot", create_custom_element(NotifDot_wc, { class: {} }, ["default"], [], { mode: "open" }));
22232
- var root_1$Z = /* @__PURE__ */ from_html(`<span class="inline-flex h-5 min-w-[20px] items-center justify-center rounded-full bg-brand-05 px-1.5 text-11 font-bold text-white tabular-nums"> </span>`);
22444
+ var root_1$Y = /* @__PURE__ */ from_html(`<span class="inline-flex h-5 min-w-[20px] items-center justify-center rounded-full bg-brand-05 px-1.5 text-11 font-bold text-white tabular-nums"> </span>`);
22233
22445
  var root_2$K = /* @__PURE__ */ from_html(`<button type="button" class="cursor-pointer rounded border-0 bg-transparent px-1.5 py-0.5 text-11 text-brand-05 hover:text-status-info focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">Mark all read</button>`);
22234
22446
  var root_3$v = /* @__PURE__ */ from_html(`<button type="button" role="tab" class="cursor-pointer rounded border border-border-2 bg-transparent px-2.5 py-0.5 text-11 text-text-3 hover:bg-row-hover hover:text-text-1 data-[active=true]:border-brand-05 data-[active=true]:bg-brand-05/[0.10] data-[active=true]:text-brand-05 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"> </button>`);
22235
- var root_4$l = /* @__PURE__ */ from_html(`<div class="p-6 text-center text-13 text-text-4">No notifications</div>`);
22236
- var root_7$2 = /* @__PURE__ */ from_html(`<p class="m-0 mt-0.5 text-12 text-text-3"> </p>`);
22237
- var root_8$4 = /* @__PURE__ */ from_html(`<button type="button" title="Mark as read" class="inline-flex h-6 w-6 shrink-0 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-status-success hover:bg-status-success/10 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">&#10003;</button>`);
22238
- var root_6$2 = /* @__PURE__ */ from_html(`<div class="flex items-start gap-2 border-b border-border-1 px-4 py-3 last:border-b-0 data-[read=true]:opacity-60"><span class="mt-1.5 inline-block h-2 w-2 shrink-0 rounded-full" aria-hidden="true"></span> <div class="min-w-0 flex-1"><div class="flex items-baseline justify-between gap-2"><span class="truncate text-13 font-medium text-text-1"> </span> <span class="shrink-0 text-11 text-text-4 tabular-nums"> </span></div> <!> <span class="mt-1 inline-block rounded bg-row-active px-1.5 py-0.5 text-[10px] uppercase tracking-[0.05em] text-text-4"> </span></div> <!></div>`);
22239
- var root$1b = /* @__PURE__ */ from_html(`<div class="fixed inset-0 z-[9100] hidden bg-black/45 backdrop-blur-sm data-[open=true]:block" aria-hidden="true"></div> <div class="fixed right-0 top-0 z-[9200] flex h-full w-[380px] max-w-[90vw] translate-x-full flex-col overflow-hidden border-l border-border-1 bg-bg-1 shadow-[0_0_40px_rgba(0,0,0,0.6)] transition-transform duration-200 data-[open=true]:translate-x-0 motion-reduce:transition-none" role="dialog" aria-modal="true"><div class="border-b border-border-1 px-4 py-3"><div class="flex items-center justify-between gap-2"><h2 class="m-0 flex items-center gap-2 text-15 font-semibold text-text-1">Notifications <!></h2> <div class="flex items-center gap-1.5"><!> <button type="button" aria-label="Close notifications" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.75.75 0 1 1 1.06 1.06L9.06 8l3.22 3.22a.75.75 0 1 1-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 0 1-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06z"></path></svg></button></div></div> <div class="mt-2 flex gap-1" role="tablist" aria-label="Filter by type"></div></div> <div class="flex-1 overflow-y-auto" role="log" aria-live="polite" aria-label="Notifications" aria-relevant="additions"><!></div></div>`, 1);
22447
+ var root_4$m = /* @__PURE__ */ from_html(`<div class="p-6 text-center text-13 text-text-4">No notifications</div>`);
22448
+ var root_7$3 = /* @__PURE__ */ from_html(`<p class="m-0 mt-0.5 text-12 text-text-3"> </p>`);
22449
+ var root_8$3 = /* @__PURE__ */ from_html(`<button type="button" title="Mark as read" class="inline-flex h-6 w-6 shrink-0 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-status-success hover:bg-status-success/10 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05">&#10003;</button>`);
22450
+ var root_6$3 = /* @__PURE__ */ from_html(`<div class="flex items-start gap-2 border-b border-border-1 px-4 py-3 last:border-b-0 data-[read=true]:opacity-60"><span class="mt-1.5 inline-block h-2 w-2 shrink-0 rounded-full" aria-hidden="true"></span> <div class="min-w-0 flex-1"><div class="flex items-baseline justify-between gap-2"><span class="truncate text-13 font-medium text-text-1"> </span> <span class="shrink-0 text-11 text-text-4 tabular-nums"> </span></div> <!> <span class="mt-1 inline-block rounded bg-row-active px-1.5 py-0.5 text-[10px] uppercase tracking-[0.05em] text-text-4"> </span></div> <!></div>`);
22451
+ var root$1a = /* @__PURE__ */ from_html(`<div class="fixed inset-0 z-[9100] hidden bg-black/45 backdrop-blur-sm data-[open=true]:block" aria-hidden="true"></div> <div class="fixed right-0 top-0 z-[9200] flex h-full w-[380px] max-w-[90vw] translate-x-full flex-col overflow-hidden border-l border-border-1 bg-bg-1 shadow-[0_0_40px_rgba(0,0,0,0.6)] transition-transform duration-200 data-[open=true]:translate-x-0 motion-reduce:transition-none" role="dialog" aria-modal="true"><div class="border-b border-border-1 px-4 py-3"><div class="flex items-center justify-between gap-2"><h2 class="m-0 flex items-center gap-2 text-15 font-semibold text-text-1">Notifications <!></h2> <div class="flex items-center gap-1.5"><!> <button type="button" aria-label="Close notifications" class="inline-flex h-7 w-7 cursor-pointer items-center justify-center rounded border-0 bg-transparent text-text-4 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.75.75 0 1 1 1.06 1.06L9.06 8l3.22 3.22a.75.75 0 1 1-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 0 1-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06z"></path></svg></button></div></div> <div class="mt-2 flex gap-1" role="tablist" aria-label="Filter by type"></div></div> <div class="flex-1 overflow-y-auto" role="log" aria-live="polite" aria-label="Notifications" aria-relevant="additions"><!></div></div>`, 1);
22240
22452
  function NotificationPanel($$anchor, $$props) {
22241
22453
  push($$props, true);
22242
22454
  let open = prop($$props, "open", 11, false), notifications = prop($$props, "notifications", 19, () => []), onClose = prop($$props, "onClose", 3, () => {
@@ -22305,7 +22517,7 @@ function NotificationPanel($$anchor, $$props) {
22305
22517
  window.removeEventListener("keydown", trapFocus);
22306
22518
  });
22307
22519
  let titleId = "np-title-" + Math.random().toString(36).slice(2);
22308
- var fragment = root$1b();
22520
+ var fragment = root$1a();
22309
22521
  var div = first_child(fragment);
22310
22522
  var div_1 = sibling(div, 2);
22311
22523
  set_attribute(div_1, "tabindex", -1);
@@ -22315,7 +22527,7 @@ function NotificationPanel($$anchor, $$props) {
22315
22527
  var node = sibling(child(h2));
22316
22528
  {
22317
22529
  var consequent = ($$anchor2) => {
22318
- var span = root_1$Z();
22530
+ var span = root_1$Y();
22319
22531
  var text2 = child(span, true);
22320
22532
  reset(span);
22321
22533
  template_effect(() => {
@@ -22365,14 +22577,14 @@ function NotificationPanel($$anchor, $$props) {
22365
22577
  var node_2 = child(div_6);
22366
22578
  {
22367
22579
  var consequent_2 = ($$anchor2) => {
22368
- var div_7 = root_4$l();
22580
+ var div_7 = root_4$m();
22369
22581
  append($$anchor2, div_7);
22370
22582
  };
22371
22583
  var alternate = ($$anchor2) => {
22372
22584
  var fragment_1 = comment();
22373
22585
  var node_3 = first_child(fragment_1);
22374
22586
  each(node_3, 17, () => get(filtered), (n) => n.id, ($$anchor3, n) => {
22375
- var div_8 = root_6$2();
22587
+ var div_8 = root_6$3();
22376
22588
  var span_1 = child(div_8);
22377
22589
  var div_9 = sibling(span_1, 2);
22378
22590
  var div_10 = child(div_9);
@@ -22386,7 +22598,7 @@ function NotificationPanel($$anchor, $$props) {
22386
22598
  var node_4 = sibling(div_10, 2);
22387
22599
  {
22388
22600
  var consequent_3 = ($$anchor4) => {
22389
- var p = root_7$2();
22601
+ var p = root_7$3();
22390
22602
  var text_4 = child(p, true);
22391
22603
  reset(p);
22392
22604
  template_effect(() => set_text(text_4, get(n).description));
@@ -22403,7 +22615,7 @@ function NotificationPanel($$anchor, $$props) {
22403
22615
  var node_5 = sibling(div_9, 2);
22404
22616
  {
22405
22617
  var consequent_4 = ($$anchor4) => {
22406
- var button_3 = root_8$4();
22618
+ var button_3 = root_8$3();
22407
22619
  template_effect(() => set_attribute(button_3, "aria-label", `Mark as read: ${get(n).title}`));
22408
22620
  delegated("click", button_3, () => onMarkRead()?.(get(n).id));
22409
22621
  append($$anchor4, button_3);
@@ -22486,9 +22698,9 @@ function NotificationPanel_wc($$anchor, $$props) {
22486
22698
  }
22487
22699
  customElements.define("uni-notification-panel", create_custom_element(NotificationPanel_wc, { open: {}, notifications: {} }, ["default"], [], { mode: "open" }));
22488
22700
  let counter$d = 0;
22489
- var root_1$Y = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
22701
+ var root_1$X = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
22490
22702
  var root_2$J = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="flex items-center whitespace-nowrap pl-0.5 pr-2 text-12 text-text-4"> </span>`);
22491
- var root$1a = /* @__PURE__ */ from_html(`<div><!> <div class="inline-flex h-[34px] items-stretch overflow-hidden rounded-md border border-border-2 bg-bg-page transition-colors duration-100 focus-within:border-brand-05"><button type="button" aria-label="Decrement">−</button> <input type="number" role="spinbutton" class="w-[6ch] min-w-[40px] border-0 bg-transparent px-1 text-center text-13 text-text-1 outline-none [appearance:textfield] [-moz-appearance:textfield] [&amp;::-webkit-outer-spin-button]:m-0 [&amp;::-webkit-outer-spin-button]:appearance-none [&amp;::-webkit-inner-spin-button]:m-0 [&amp;::-webkit-inner-spin-button]:appearance-none"/> <!> <button type="button" aria-label="Increment">+</button></div></div>`);
22703
+ var root$19 = /* @__PURE__ */ from_html(`<div><!> <div class="inline-flex h-[34px] items-stretch overflow-hidden rounded-md border border-border-2 bg-bg-page transition-colors duration-100 focus-within:border-brand-05"><button type="button" aria-label="Decrement">−</button> <input type="number" role="spinbutton" class="w-[6ch] min-w-[40px] border-0 bg-transparent px-1 text-center text-13 text-text-1 outline-none [appearance:textfield] [-moz-appearance:textfield] [&amp;::-webkit-outer-spin-button]:m-0 [&amp;::-webkit-outer-spin-button]:appearance-none [&amp;::-webkit-inner-spin-button]:m-0 [&amp;::-webkit-inner-spin-button]:appearance-none"/> <!> <button type="button" aria-label="Increment">+</button></div></div>`);
22492
22704
  function NumberInput($$anchor, $$props) {
22493
22705
  push($$props, true);
22494
22706
  let label = prop($$props, "label", 3, void 0), value = prop($$props, "value", 15, 0), min = prop($$props, "min", 3, void 0), max = prop($$props, "max", 3, void 0), step = prop($$props, "step", 3, 1), suffix = prop($$props, "suffix", 3, void 0), disabled = prop($$props, "disabled", 3, false), id = prop($$props, "id", 3, void 0), className = prop($$props, "class", 3, "");
@@ -22532,11 +22744,11 @@ function NumberInput($$anchor, $$props) {
22532
22744
  let canDecrement = /* @__PURE__ */ user_derived(() => !disabled() && (min() === void 0 || value() > min()));
22533
22745
  let canIncrement = /* @__PURE__ */ user_derived(() => !disabled() && (max() === void 0 || value() < max()));
22534
22746
  const BTN_CLS = "inline-flex h-full w-[30px] shrink-0 cursor-pointer items-center justify-center border-0 bg-transparent text-base text-text-4 transition-[background-color,color] duration-100 hover:bg-row-hover hover:text-text-1 disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-brand-05";
22535
- var div = root$1a();
22747
+ var div = root$19();
22536
22748
  var node = child(div);
22537
22749
  {
22538
22750
  var consequent = ($$anchor2) => {
22539
- var label_1 = root_1$Y();
22751
+ var label_1 = root_1$X();
22540
22752
  var text2 = child(label_1, true);
22541
22753
  reset(label_1);
22542
22754
  template_effect(() => {
@@ -22717,10 +22929,10 @@ customElements.define("uni-number-input", create_custom_element(
22717
22929
  { mode: "open" }
22718
22930
  ));
22719
22931
  let counter$c = 0;
22720
- var root_1$X = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
22932
+ var root_1$W = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
22721
22933
  var root_3$u = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="select-none text-13 text-text-4">&ndash;</span>`);
22722
22934
  var root_2$I = /* @__PURE__ */ from_html(`<!> <input type="text" inputmode="numeric" pattern="[0-9]*"/>`, 1);
22723
- var root$19 = /* @__PURE__ */ from_html(`<div><!> <div role="group" class="inline-flex items-center gap-1.5 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-40"></div></div>`);
22935
+ var root$18 = /* @__PURE__ */ from_html(`<div><!> <div role="group" class="inline-flex items-center gap-1.5 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-40"></div></div>`);
22724
22936
  function OTPInput($$anchor, $$props) {
22725
22937
  push($$props, true);
22726
22938
  let label = prop($$props, "label", 3, void 0), length = prop($$props, "length", 3, 6), value = prop($$props, "value", 15, ""), disabled = prop($$props, "disabled", 3, false), className = prop($$props, "class", 3, "");
@@ -22774,11 +22986,11 @@ function OTPInput($$anchor, $$props) {
22774
22986
  setTimeout(() => focusAt(Math.min(text2.length, length() - 1)), 0);
22775
22987
  }
22776
22988
  const DIGIT_CLS = "h-9 w-9 rounded-md border border-border-2 bg-bg-page text-center font-mono text-15 text-text-1 outline-none transition-colors duration-100 focus:border-brand-05 focus:shadow-[0_0_0_2px_rgba(0,111,255,0.2)]";
22777
- var div = root$19();
22989
+ var div = root$18();
22778
22990
  var node = child(div);
22779
22991
  {
22780
22992
  var consequent = ($$anchor2) => {
22781
- var label_1 = root_1$X();
22993
+ var label_1 = root_1$W();
22782
22994
  var text_1 = child(label_1, true);
22783
22995
  reset(label_1);
22784
22996
  template_effect(() => {
@@ -22900,18 +23112,18 @@ function OTPInput_wc($$anchor, $$props) {
22900
23112
  return pop($$exports);
22901
23113
  }
22902
23114
  customElements.define("uni-otpinput", create_custom_element(OTPInput_wc, { label: {}, length: {}, value: {}, disabled: {}, class: {} }, ["default"], [], { mode: "open" }));
22903
- var root_1$W = /* @__PURE__ */ from_html(`<div class="ph-actions"><!></div>`);
22904
- var root$18 = /* @__PURE__ */ from_html(`<div><h2 class="ph-title"> </h2> <!></div>`);
23115
+ var root_1$V = /* @__PURE__ */ from_html(`<div class="ph-actions"><!></div>`);
23116
+ var root$17 = /* @__PURE__ */ from_html(`<div><h2 class="ph-title"> </h2> <!></div>`);
22905
23117
  function PageHeader($$anchor, $$props) {
22906
23118
  let sticky = prop($$props, "sticky", 3, true), className = prop($$props, "class", 3, "");
22907
- var div = root$18();
23119
+ var div = root$17();
22908
23120
  var h2 = child(div);
22909
23121
  var text2 = child(h2, true);
22910
23122
  reset(h2);
22911
23123
  var node = sibling(h2, 2);
22912
23124
  {
22913
23125
  var consequent = ($$anchor2) => {
22914
- var div_1 = root_1$W();
23126
+ var div_1 = root_1$V();
22915
23127
  var node_1 = child(div_1);
22916
23128
  snippet(node_1, () => $$props.actions ?? noop);
22917
23129
  reset(div_1);
@@ -22977,8 +23189,8 @@ function PageHeader_wc($$anchor, $$props) {
22977
23189
  }
22978
23190
  customElements.define("uni-page-header", create_custom_element(PageHeader_wc, { title: {}, sticky: {}, class: {} }, ["default"], [], { mode: "open" }));
22979
23191
  var root_3$t = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="inline-flex h-[30px] min-w-[30px] items-center justify-center text-13 text-text-4">&#x2026;</span>`);
22980
- var root_4$k = /* @__PURE__ */ from_html(`<button type="button"> </button>`);
22981
- var root_1$V = /* @__PURE__ */ from_html(`<nav class="flex items-center gap-0.5" aria-label="Pagination"><button type="button" aria-label="Previous page">&#x2039;</button> <!> <button type="button" aria-label="Next page">&#x203A;</button></nav>`);
23192
+ var root_4$l = /* @__PURE__ */ from_html(`<button type="button"> </button>`);
23193
+ var root_1$U = /* @__PURE__ */ from_html(`<nav class="flex items-center gap-0.5" aria-label="Pagination"><button type="button" aria-label="Previous page">&#x2039;</button> <!> <button type="button" aria-label="Next page">&#x203A;</button></nav>`);
22982
23194
  function Pagination($$anchor, $$props) {
22983
23195
  push($$props, true);
22984
23196
  let page = prop($$props, "page", 3, 1), pageSize = prop($$props, "pageSize", 3, 10), total = prop($$props, "total", 3, 0);
@@ -23004,7 +23216,7 @@ function Pagination($$anchor, $$props) {
23004
23216
  var node = first_child(fragment);
23005
23217
  {
23006
23218
  var consequent_1 = ($$anchor2) => {
23007
- var nav = root_1$V();
23219
+ var nav = root_1$U();
23008
23220
  var button = child(nav);
23009
23221
  set_class(button, 1, clsx(BTN_BASE));
23010
23222
  var node_1 = sibling(button, 2);
@@ -23017,7 +23229,7 @@ function Pagination($$anchor, $$props) {
23017
23229
  append($$anchor4, span);
23018
23230
  };
23019
23231
  var alternate = ($$anchor4) => {
23020
- var button_1 = root_4$k();
23232
+ var button_1 = root_4$l();
23021
23233
  var text2 = child(button_1, true);
23022
23234
  reset(button_1);
23023
23235
  template_effect(() => {
@@ -23104,9 +23316,9 @@ function Pagination_wc($$anchor, $$props) {
23104
23316
  customElements.define("uni-pagination", create_custom_element(Pagination_wc, { page: {}, pageSize: {}, total: {} }, ["default"], [], { mode: "open" }));
23105
23317
  var root_2$H = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="7" text-anchor="middle" font-family="inherit"> </text>`);
23106
23318
  var root_3$s = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.25)" stroke-width="1"></line><text fill="#6E7079" font-size="7" text-anchor="end" font-family="inherit"> </text>`, 1);
23107
- var root_1$U = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.2)" stroke-width="1"></line><text fill="#A4A7B5" font-size="8" text-anchor="middle" font-family="inherit"> </text><!><!>`, 1);
23108
- var root_4$j = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="1.5" opacity="0.75"></path>`);
23109
- var root$17 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
23319
+ var root_1$T = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.2)" stroke-width="1"></line><text fill="#A4A7B5" font-size="8" text-anchor="middle" font-family="inherit"> </text><!><!>`, 1);
23320
+ var root_4$k = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="1.5" opacity="0.75"></path>`);
23321
+ var root$16 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!></svg></div>`);
23110
23322
  function ParallelCoordinates($$anchor, $$props) {
23111
23323
  push($$props, true);
23112
23324
  const COLORS = [
@@ -23155,14 +23367,14 @@ function ParallelCoordinates($$anchor, $$props) {
23155
23367
  });
23156
23368
  return { axis, x, ticks };
23157
23369
  }));
23158
- var div = root$17();
23370
+ var div = root$16();
23159
23371
  var svg = child(div);
23160
23372
  var node = child(svg);
23161
23373
  each(node, 17, () => get(axisData), ({ axis, x, ticks }) => axis.label, ($$anchor2, $$item) => {
23162
23374
  let axis = () => get($$item).axis;
23163
23375
  let x = () => get($$item).x;
23164
23376
  let ticks = () => get($$item).ticks;
23165
- var fragment = root_1$U();
23377
+ var fragment = root_1$T();
23166
23378
  var line = first_child(fragment);
23167
23379
  set_attribute(line, "y1", PAD_T);
23168
23380
  var text2 = sibling(line);
@@ -23220,7 +23432,7 @@ function ParallelCoordinates($$anchor, $$props) {
23220
23432
  });
23221
23433
  var node_3 = sibling(node);
23222
23434
  each(node_3, 17, () => get(paths), index, ($$anchor2, p) => {
23223
- var path = root_4$j();
23435
+ var path = root_4$k();
23224
23436
  template_effect(() => {
23225
23437
  set_attribute(path, "d", get(p).d);
23226
23438
  set_attribute(path, "stroke", get(p).stroke);
@@ -23293,12 +23505,12 @@ function ParallelCoordinates_wc($$anchor, $$props) {
23293
23505
  return pop($$exports);
23294
23506
  }
23295
23507
  customElements.define("uni-parallel-coordinates", create_custom_element(ParallelCoordinates_wc, { axes: {}, series: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
23296
- var root_1$T = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
23508
+ var root_1$S = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
23297
23509
  var root_2$G = /* @__PURE__ */ from_svg(`<rect fill-opacity="0.85" rx="2"></rect>`);
23298
23510
  var root_3$r = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.3)" stroke-width="1" stroke-dasharray="4 3"></line>`);
23299
- var root_4$i = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8"> </text>`);
23511
+ var root_4$j = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8"> </text>`);
23300
23512
  var root_5$8 = /* @__PURE__ */ from_svg(`<text text-anchor="middle" fill="#6E7079" font-size="9"> </text>`);
23301
- var root$16 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><polyline fill="none" stroke-width="1.5" stroke-linejoin="round"></polyline><!><!></svg></div>`);
23513
+ var root$15 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><polyline fill="none" stroke-width="1.5" stroke-linejoin="round"></polyline><!><!></svg></div>`);
23302
23514
  function ParetoChart($$anchor, $$props) {
23303
23515
  push($$props, true);
23304
23516
  let items = prop($$props, "items", 19, () => []), height = prop($$props, "height", 3, 160), ariaLabel = prop($$props, "ariaLabel", 3, "Pareto chart"), barColor = prop($$props, "barColor", 3, "#006FFF"), lineColor = prop($$props, "lineColor", 3, "#F5A623"), threshold = prop($$props, "threshold", 3, 0.8);
@@ -23344,11 +23556,11 @@ function ParetoChart($$anchor, $$props) {
23344
23556
  label: `${pct}%`,
23345
23557
  y: (PAD.t + (1 - pct / 100) * get(chartH) + 3).toFixed(1)
23346
23558
  })));
23347
- var div = root$16();
23559
+ var div = root$15();
23348
23560
  var svg = child(div);
23349
23561
  var node = child(svg);
23350
23562
  each(node, 17, () => get(gridLines), index, ($$anchor2, y) => {
23351
- var line = root_1$T();
23563
+ var line = root_1$S();
23352
23564
  template_effect(() => {
23353
23565
  set_attribute(line, "x1", PAD.l);
23354
23566
  set_attribute(line, "y1", get(y));
@@ -23388,7 +23600,7 @@ function ParetoChart($$anchor, $$props) {
23388
23600
  var polyline = sibling(node_2);
23389
23601
  var node_3 = sibling(polyline);
23390
23602
  each(node_3, 17, () => get(pctLabels), index, ($$anchor2, pl) => {
23391
- var text2 = root_4$i();
23603
+ var text2 = root_4$j();
23392
23604
  var text_1 = child(text2, true);
23393
23605
  reset(text2);
23394
23606
  template_effect(() => {
@@ -23518,10 +23730,10 @@ customElements.define("uni-pareto-chart", create_custom_element(
23518
23730
  { mode: "open" }
23519
23731
  ));
23520
23732
  let counter$b = 0;
23521
- var root_1$S = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
23733
+ var root_1$R = /* @__PURE__ */ from_html(`<label class="text-12 text-text-4"> </label>`);
23522
23734
  var root_2$F = /* @__PURE__ */ from_svg(`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" focusable="false"><path d="M2 2l12 12M6.5 6.6A2 2 0 0 0 9.4 9.5M4.2 4.3C2.7 5.3 1.5 7 1.5 8s2.2 4.5 6.5 4.5c1.3 0 2.4-.3 3.3-.8M7 3.6C7.3 3.5 7.7 3.5 8 3.5c4.3 0 6.5 3.5 6.5 4.5 0 .6-.6 1.7-1.7 2.7" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
23523
23735
  var root_3$q = /* @__PURE__ */ from_svg(`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true" focusable="false"><path d="M1 8s2.5-5 7-5 7 5 7 5-2.5 5-7 5-7-5-7-5z" stroke="currentColor" stroke-width="1.25" stroke-linejoin="round"></path><circle cx="8" cy="8" r="2" stroke="currentColor" stroke-width="1.25"></circle></svg>`);
23524
- var root$15 = /* @__PURE__ */ from_html(`<div><!> <div class="flex h-[34px] items-stretch overflow-hidden rounded-md border border-border-2 bg-bg-page transition-colors duration-100 focus-within:border-brand-05 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-40"><input class="min-w-0 flex-1 border-0 bg-transparent px-3 text-13 text-text-1 outline-none placeholder:text-text-4"/> <button type="button" class="inline-flex h-full w-9 shrink-0 cursor-pointer items-center justify-center border-0 border-l border-l-white/[0.08] bg-transparent text-text-4 transition-colors duration-100 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-brand-05"><!></button></div></div>`);
23736
+ var root$14 = /* @__PURE__ */ from_html(`<div><!> <div class="flex h-[34px] items-stretch overflow-hidden rounded-md border border-border-2 bg-bg-page transition-colors duration-100 focus-within:border-brand-05 data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-40"><input class="min-w-0 flex-1 border-0 bg-transparent px-3 text-13 text-text-1 outline-none placeholder:text-text-4"/> <button type="button" class="inline-flex h-full w-9 shrink-0 cursor-pointer items-center justify-center border-0 border-l border-l-white/[0.08] bg-transparent text-text-4 transition-colors duration-100 hover:bg-row-hover hover:text-text-1 focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-brand-05"><!></button></div></div>`);
23525
23737
  function PasswordInput($$anchor, $$props) {
23526
23738
  push($$props, true);
23527
23739
  let label = prop($$props, "label", 3, void 0), value = prop($$props, "value", 15, ""), placeholder = prop($$props, "placeholder", 3, void 0), disabled = prop($$props, "disabled", 3, false), autocomplete = prop($$props, "autocomplete", 3, "current-password"), className = prop($$props, "class", 3, "");
@@ -23531,11 +23743,11 @@ function PasswordInput($$anchor, $$props) {
23531
23743
  value(e.target.value);
23532
23744
  $$props.onchange?.(value());
23533
23745
  }
23534
- var div = root$15();
23746
+ var div = root$14();
23535
23747
  var node = child(div);
23536
23748
  {
23537
23749
  var consequent = ($$anchor2) => {
23538
- var label_1 = root_1$S();
23750
+ var label_1 = root_1$R();
23539
23751
  var text2 = child(label_1, true);
23540
23752
  reset(label_1);
23541
23753
  template_effect(() => {
@@ -23679,10 +23891,10 @@ customElements.define("uni-password-input", create_custom_element(
23679
23891
  [],
23680
23892
  { mode: "open" }
23681
23893
  ));
23682
- var root_1$R = /* @__PURE__ */ from_svg(`<path stroke="#1a1d2b" stroke-width="1.5"></path>`);
23894
+ var root_1$Q = /* @__PURE__ */ from_svg(`<path stroke="#1a1d2b" stroke-width="1.5"></path>`);
23683
23895
  var root_3$p = /* @__PURE__ */ from_svg(`<text fill="#fff" font-size="9" text-anchor="middle" dominant-baseline="middle" font-family="inherit" font-weight="600"> </text>`);
23684
- var root_4$h = /* @__PURE__ */ from_svg(`<g><rect width="8" height="8" rx="2"></rect><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text></g>`);
23685
- var root$14 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
23896
+ var root_4$i = /* @__PURE__ */ from_svg(`<g><rect width="8" height="8" rx="2"></rect><text fill="#A4A7B5" font-size="9" font-family="inherit"> </text></g>`);
23897
+ var root$13 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
23686
23898
  function PieChart($$anchor, $$props) {
23687
23899
  push($$props, true);
23688
23900
  let slices = prop($$props, "slices", 19, () => []), size = prop($$props, "size", 3, 140), ariaLabel = prop($$props, "ariaLabel", 3, "Pie chart");
@@ -23729,11 +23941,11 @@ function PieChart($$anchor, $$props) {
23729
23941
  }
23730
23942
  return result;
23731
23943
  })());
23732
- var div = root$14();
23944
+ var div = root$13();
23733
23945
  var svg = child(div);
23734
23946
  var node = child(svg);
23735
23947
  each(node, 17, () => get(segments), index, ($$anchor2, seg) => {
23736
- var path = root_1$R();
23948
+ var path = root_1$Q();
23737
23949
  template_effect(() => {
23738
23950
  set_attribute(path, "d", get(seg).path);
23739
23951
  set_attribute(path, "fill", get(seg).color);
@@ -23780,7 +23992,7 @@ function PieChart($$anchor, $$props) {
23780
23992
  const lx = /* @__PURE__ */ user_derived(() => get(col) * get(colW) + 10);
23781
23993
  const ly = /* @__PURE__ */ user_derived(() => size() + 6 + get(row) * LEGEND_ROW);
23782
23994
  const c = /* @__PURE__ */ user_derived(() => get(sl).color ?? COLORS[get(i) % COLORS.length]);
23783
- var g = root_4$h();
23995
+ var g = root_4$i();
23784
23996
  var rect = child(g);
23785
23997
  var text_2 = sibling(rect);
23786
23998
  var text_3 = child(text_2);
@@ -23852,46 +24064,6 @@ function PieChart_wc($$anchor, $$props) {
23852
24064
  return pop($$exports);
23853
24065
  }
23854
24066
  customElements.define("uni-pie-chart", create_custom_element(PieChart_wc, { slices: {}, size: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
23855
- var root_1$Q = /* @__PURE__ */ from_html(`<span aria-hidden="true"></span>`);
23856
- var root$13 = /* @__PURE__ */ from_html(`<span><!> <!></span>`);
23857
- function Pill($$anchor, $$props) {
23858
- let variant = prop($$props, "variant", 3, "neutral"), showDot = prop($$props, "showDot", 3, true), className = prop($$props, "class", 3, ""), style = prop($$props, "style", 3, "");
23859
- const PILL = {
23860
- success: "bg-status-success/14 text-status-success",
23861
- warn: "bg-status-warning/14 text-status-warning",
23862
- danger: "bg-status-danger/14 text-status-danger",
23863
- info: "bg-status-info/14 text-status-info",
23864
- neutral: "bg-row-active text-text-2"
23865
- };
23866
- const DOT = {
23867
- success: "bg-status-success",
23868
- warn: "bg-status-warning",
23869
- danger: "bg-status-danger",
23870
- info: "bg-status-info",
23871
- neutral: "bg-status-neutral"
23872
- };
23873
- let pillClass = /* @__PURE__ */ user_derived(() => `inline-flex items-center gap-1.5 rounded-full px-2 py-0.5 text-[11px] font-medium leading-[1.4] ${PILL[variant()]} ${className()}`);
23874
- var span = root$13();
23875
- var node = child(span);
23876
- {
23877
- var consequent = ($$anchor2) => {
23878
- var span_1 = root_1$Q();
23879
- template_effect(() => set_class(span_1, 1, `h-1.5 w-1.5 rounded-full ${DOT[variant()] ?? ""}`));
23880
- append($$anchor2, span_1);
23881
- };
23882
- if_block(node, ($$render) => {
23883
- if (showDot()) $$render(consequent);
23884
- });
23885
- }
23886
- var node_1 = sibling(node, 2);
23887
- snippet(node_1, () => $$props.children ?? noop);
23888
- reset(span);
23889
- template_effect(() => {
23890
- set_class(span, 1, clsx(get(pillClass)));
23891
- set_style(span, style());
23892
- });
23893
- append($$anchor, span);
23894
- }
23895
24067
  function Pill_wc($$anchor, $$props) {
23896
24068
  push($$props, true);
23897
24069
  let variant = prop($$props, "variant", 7, "neutral"), showDot = prop($$props, "showDot", 7, true), className = prop($$props, "class", 7, ""), style = prop($$props, "style", 7, "");
@@ -23951,7 +24123,7 @@ function Pill_wc($$anchor, $$props) {
23951
24123
  customElements.define("uni-pill", create_custom_element(Pill_wc, { variant: {}, showDot: {}, class: {}, style: {} }, ["default"], [], { mode: "open" }));
23952
24124
  var root_2$E = /* @__PURE__ */ from_svg(`<circle fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"></circle>`);
23953
24125
  var root_3$o = /* @__PURE__ */ from_svg(`<path></path>`);
23954
- var root_4$g = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="7" text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
24126
+ var root_4$h = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="7" text-anchor="middle" dominant-baseline="middle" font-family="inherit"> </text>`);
23955
24127
  var root_1$P = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><circle fill="#13131A" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"></circle></svg></div>`);
23956
24128
  function PolarHeatmap($$anchor, $$props) {
23957
24129
  push($$props, true);
@@ -24034,7 +24206,7 @@ function PolarHeatmap($$anchor, $$props) {
24034
24206
  });
24035
24207
  var node_3 = sibling(node_2);
24036
24208
  each(node_3, 17, () => get(visibleColLabels), index, ($$anchor3, lbl) => {
24037
- var text2 = root_4$g();
24209
+ var text2 = root_4$h();
24038
24210
  var text_1 = child(text2, true);
24039
24211
  reset(text2);
24040
24212
  template_effect(() => {
@@ -24150,10 +24322,65 @@ customElements.define("uni-polar-heatmap", create_custom_element(
24150
24322
  [],
24151
24323
  { mode: "open" }
24152
24324
  ));
24325
+ const portal = (node, target = "body") => {
24326
+ const resolveTarget = (value) => {
24327
+ if (value === void 0) return document.body;
24328
+ if (typeof value === "string") {
24329
+ return document.querySelector(value);
24330
+ }
24331
+ return value;
24332
+ };
24333
+ const move2 = (value) => {
24334
+ const parent = resolveTarget(value);
24335
+ if (parent !== null && parent !== node.parentNode) {
24336
+ parent.appendChild(node);
24337
+ }
24338
+ };
24339
+ move2(target);
24340
+ return {
24341
+ update(next2) {
24342
+ move2(next2);
24343
+ },
24344
+ destroy() {
24345
+ node.remove();
24346
+ }
24347
+ };
24348
+ };
24349
+ const computePanelPosition = (input) => {
24350
+ const {
24351
+ triggerRect,
24352
+ panelWidth,
24353
+ panelHeight,
24354
+ viewportWidth,
24355
+ viewportHeight,
24356
+ placement,
24357
+ margin,
24358
+ offset
24359
+ } = input;
24360
+ let left;
24361
+ if (placement === "bottom-start") {
24362
+ left = triggerRect.left;
24363
+ } else if (placement === "bottom-end") {
24364
+ left = triggerRect.right - panelWidth;
24365
+ } else {
24366
+ left = triggerRect.left + triggerRect.width / 2 - panelWidth / 2;
24367
+ }
24368
+ left = Math.max(margin, Math.min(left, viewportWidth - panelWidth - margin));
24369
+ const spaceBelow = viewportHeight - triggerRect.bottom - margin;
24370
+ const spaceAbove = triggerRect.top - margin;
24371
+ const fitsBelow = panelHeight + offset <= spaceBelow;
24372
+ let top;
24373
+ if (fitsBelow || spaceBelow >= spaceAbove) {
24374
+ top = triggerRect.bottom + offset;
24375
+ } else {
24376
+ top = Math.max(margin, triggerRect.top - offset - panelHeight);
24377
+ }
24378
+ return { top, left };
24379
+ };
24153
24380
  let counter$a = 0;
24154
24381
  var root_5$7 = /* @__PURE__ */ from_html(`<div class="border-b border-border-1 px-3.5 pb-2 pt-2.5 text-11 font-semibold uppercase tracking-[0.06em] text-text-4"> </div>`);
24155
- var root_4$f = /* @__PURE__ */ from_html(`<div role="dialog" class="fixed z-[9100] min-w-[200px] max-w-[320px] rounded-[10px] border border-border-3 bg-bg-2 shadow-[0_8px_32px_rgba(0,0,0,0.5)] focus:outline-none"><!> <div class="flex flex-col gap-2.5 px-3.5 py-3"><!></div></div>`);
24156
- var root$12 = /* @__PURE__ */ from_html(`<div class="relative inline-block"><!> <!></div>`);
24382
+ var root_4$g = /* @__PURE__ */ from_html(`<div role="dialog" class="fixed z-[9100] min-w-[200px] max-w-[320px] rounded-[10px] border border-border-3 bg-bg-2 shadow-[0_8px_32px_rgba(0,0,0,0.5)] focus:outline-none"><!> <div class="flex flex-col gap-2.5 px-3.5 py-3"><!></div></div>`);
24383
+ var root$12 = /* @__PURE__ */ from_html(`<div class="relative inline-flex items-center"><!> <!></div>`);
24157
24384
  function Popover($$anchor, $$props) {
24158
24385
  push($$props, true);
24159
24386
  let variant = prop($$props, "variant", 3, "ghost"), title = prop($$props, "title", 3, void 0), placement = prop($$props, "placement", 3, "bottom-start"), open = prop($$props, "open", 15, false);
@@ -24168,16 +24395,24 @@ function Popover($$anchor, $$props) {
24168
24395
  function recomputePosition() {
24169
24396
  if (!get(triggerEl) || !get(panelEl)) return;
24170
24397
  const tr = get(triggerEl).getBoundingClientRect();
24171
- const margin = 8;
24172
- const offset = 6;
24173
- const panelWidth = get(panelEl).offsetWidth;
24174
- let left;
24175
- if (placement() === "bottom-start") left = tr.left;
24176
- else if (placement() === "bottom-end") left = tr.right - panelWidth;
24177
- else left = tr.left + tr.width / 2 - panelWidth / 2;
24178
- left = Math.max(margin, Math.min(left, window.innerWidth - panelWidth - margin));
24398
+ const { top, left } = computePanelPosition({
24399
+ triggerRect: {
24400
+ top: tr.top,
24401
+ bottom: tr.bottom,
24402
+ left: tr.left,
24403
+ right: tr.right,
24404
+ width: tr.width
24405
+ },
24406
+ panelWidth: get(panelEl).offsetWidth,
24407
+ panelHeight: get(panelEl).offsetHeight,
24408
+ viewportWidth: window.innerWidth,
24409
+ viewportHeight: window.innerHeight,
24410
+ placement: placement(),
24411
+ margin: 8,
24412
+ offset: 6
24413
+ });
24414
+ set(panelTop, top, true);
24179
24415
  set(panelLeft, left, true);
24180
- set(panelTop, tr.bottom + offset);
24181
24416
  }
24182
24417
  async function toggle() {
24183
24418
  if (!open()) {
@@ -24217,7 +24452,11 @@ function Popover($$anchor, $$props) {
24217
24452
  }
24218
24453
  }
24219
24454
  function onPointer(e) {
24220
- if (open() && !get(rootEl)?.contains(e.target)) open(false);
24455
+ if (!open()) return;
24456
+ const target = e.target;
24457
+ if (get(rootEl)?.contains(target)) return;
24458
+ if (get(panelEl)?.contains(target)) return;
24459
+ open(false);
24221
24460
  }
24222
24461
  function onResize() {
24223
24462
  if (open()) recomputePosition();
@@ -24273,7 +24512,7 @@ function Popover($$anchor, $$props) {
24273
24512
  var node_2 = sibling(node, 2);
24274
24513
  {
24275
24514
  var consequent_2 = ($$anchor2) => {
24276
- var div_1 = root_4$f();
24515
+ var div_1 = root_4$g();
24277
24516
  set_attribute(div_1, "tabindex", -1);
24278
24517
  var node_3 = child(div_1);
24279
24518
  {
@@ -24297,6 +24536,7 @@ function Popover($$anchor, $$props) {
24297
24536
  reset(div_3);
24298
24537
  reset(div_1);
24299
24538
  bind_this(div_1, ($$value) => set(panelEl, $$value), () => get(panelEl));
24539
+ action(div_1, ($$node) => portal?.($$node));
24300
24540
  template_effect(() => {
24301
24541
  set_attribute(div_1, "aria-labelledby", title() ? titleId : void 0);
24302
24542
  set_style(div_1, `top: ${get(panelTop)}px; left: ${get(panelLeft)}px`);
@@ -24492,7 +24732,7 @@ function ProgressBar_wc($$anchor, $$props) {
24492
24732
  customElements.define("uni-progress-bar", create_custom_element(ProgressBar_wc, { value: {}, label: {}, valueText: {}, color: {} }, ["default"], [], { mode: "open" }));
24493
24733
  var root_1$N = /* @__PURE__ */ from_svg(`<text font-size="8" fill="#6E7079" text-anchor="end" font-family="inherit"> </text>`);
24494
24734
  var root_3$n = /* @__PURE__ */ from_svg(`<text font-size="7" fill="#6E7079" text-anchor="middle" font-family="inherit"> </text>`);
24495
- var root_4$e = /* @__PURE__ */ from_svg(`<circle fill-opacity="0.72"></circle>`);
24735
+ var root_4$f = /* @__PURE__ */ from_svg(`<circle fill-opacity="0.72"></circle>`);
24496
24736
  var root$10 = /* @__PURE__ */ from_html(`<div role="img" style="width:100%"><svg style="width:100%;height:auto;display:block" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
24497
24737
  function PunchCard($$anchor, $$props) {
24498
24738
  push($$props, true);
@@ -24558,7 +24798,7 @@ function PunchCard($$anchor, $$props) {
24558
24798
  let cx = () => get($$item).cx;
24559
24799
  let cy = () => get($$item).cy;
24560
24800
  let r2 = () => get($$item).r;
24561
- var circle = root_4$e();
24801
+ var circle = root_4$f();
24562
24802
  template_effect(() => {
24563
24803
  set_attribute(circle, "cx", cx());
24564
24804
  set_attribute(circle, "cy", cy());
@@ -24668,11 +24908,11 @@ customElements.define("uni-punch-card", create_custom_element(
24668
24908
  ));
24669
24909
  var root_2$C = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.22)" font-size="9" font-family="inherit"> </text>`);
24670
24910
  var root_3$m = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.22)" font-size="9" font-family="inherit" text-anchor="end"> </text>`);
24671
- var root_4$d = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.22)" font-size="9" font-family="inherit"> </text>`);
24911
+ var root_4$e = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.22)" font-size="9" font-family="inherit"> </text>`);
24672
24912
  var root_5$6 = /* @__PURE__ */ from_svg(`<text fill="rgba(255,255,255,0.22)" font-size="9" font-family="inherit" text-anchor="end"> </text>`);
24673
- var root_6$1 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`);
24674
- var root_7$1 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
24675
- var root_8$3 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
24913
+ var root_6$2 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`);
24914
+ var root_7$2 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
24915
+ var root_8$2 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
24676
24916
  var root_9$1 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
24677
24917
  var root_11 = /* @__PURE__ */ from_svg(`<text fill="#CDD0DB" font-size="8" font-family="inherit"> </text>`);
24678
24918
  var root_10 = /* @__PURE__ */ from_svg(`<circle r="5" fill-opacity="0.85"></circle><!>`, 1);
@@ -24763,7 +25003,7 @@ function QuadrantChart($$anchor, $$props) {
24763
25003
  var node_3 = sibling(node_2);
24764
25004
  {
24765
25005
  var consequent_2 = ($$anchor3) => {
24766
- var text_4 = root_4$d();
25006
+ var text_4 = root_4$e();
24767
25007
  var text_5 = child(text_4, true);
24768
25008
  reset(text_4);
24769
25009
  template_effect(() => {
@@ -24796,7 +25036,7 @@ function QuadrantChart($$anchor, $$props) {
24796
25036
  }
24797
25037
  var node_5 = sibling(node_4);
24798
25038
  each(node_5, 17, () => get(yTicks), index, ($$anchor3, v) => {
24799
- var text_8 = root_6$1();
25039
+ var text_8 = root_6$2();
24800
25040
  var text_9 = child(text_8, true);
24801
25041
  reset(text_8);
24802
25042
  template_effect(
@@ -24811,7 +25051,7 @@ function QuadrantChart($$anchor, $$props) {
24811
25051
  });
24812
25052
  var node_6 = sibling(node_5);
24813
25053
  each(node_6, 17, () => get(xTicks), index, ($$anchor3, v) => {
24814
- var text_10 = root_7$1();
25054
+ var text_10 = root_7$2();
24815
25055
  var text_11 = child(text_10, true);
24816
25056
  reset(text_10);
24817
25057
  template_effect(
@@ -24827,7 +25067,7 @@ function QuadrantChart($$anchor, $$props) {
24827
25067
  var node_7 = sibling(node_6);
24828
25068
  {
24829
25069
  var consequent_4 = ($$anchor3) => {
24830
- var text_12 = root_8$3();
25070
+ var text_12 = root_8$2();
24831
25071
  var text_13 = child(text_12, true);
24832
25072
  reset(text_12);
24833
25073
  template_effect(() => {
@@ -25096,7 +25336,7 @@ customElements.define("uni-quadrant-chart", create_custom_element(
25096
25336
  var root_1$L = /* @__PURE__ */ from_svg(`<polygon fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"></polygon>`);
25097
25337
  var root_2$B = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.08)" stroke-width="1"></line>`);
25098
25338
  var root_3$l = /* @__PURE__ */ from_svg(`<polygon fill-opacity="0.12" stroke-width="1.5" stroke-linejoin="round"></polygon>`);
25099
- var root_4$c = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" font-family="inherit" dominant-baseline="middle"> </text>`);
25339
+ var root_4$d = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="9" font-family="inherit" dominant-baseline="middle"> </text>`);
25100
25340
  var root$$ = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!><!></svg></div>`);
25101
25341
  function RadarChart($$anchor, $$props) {
25102
25342
  push($$props, true);
@@ -25161,7 +25401,7 @@ function RadarChart($$anchor, $$props) {
25161
25401
  });
25162
25402
  var node_3 = sibling(node_2);
25163
25403
  each(node_3, 17, () => get(axisLabels), (l) => l.label, ($$anchor2, l) => {
25164
- var text2 = root_4$c();
25404
+ var text2 = root_4$d();
25165
25405
  var text_1 = child(text2, true);
25166
25406
  reset(text2);
25167
25407
  template_effect(() => {
@@ -27140,16 +27380,16 @@ function SelectionToolbar($$anchor, $$props) {
27140
27380
  reset(span);
27141
27381
  var div_1 = sibling(span, 2);
27142
27382
  var node_1 = child(div_1);
27143
- each(node_1, 17, actions, index, ($$anchor3, action) => {
27383
+ each(node_1, 17, actions, index, ($$anchor3, action2) => {
27144
27384
  var button = root_2$s();
27145
27385
  var text_1 = child(button, true);
27146
27386
  reset(button);
27147
27387
  template_effect(() => {
27148
- set_attribute(button, "data-danger", get(action).variant === "danger" ? "true" : void 0);
27149
- set_text(text_1, get(action).label);
27388
+ set_attribute(button, "data-danger", get(action2).variant === "danger" ? "true" : void 0);
27389
+ set_text(text_1, get(action2).label);
27150
27390
  });
27151
27391
  delegated("click", button, function(...$$args) {
27152
- get(action).onClick?.apply(this, $$args);
27392
+ get(action2).onClick?.apply(this, $$args);
27153
27393
  });
27154
27394
  append($$anchor3, button);
27155
27395
  });
@@ -27225,7 +27465,7 @@ function SelectionToolbar_wc($$anchor, $$props) {
27225
27465
  }
27226
27466
  customElements.define("uni-selection-toolbar", create_custom_element(SelectionToolbar_wc, { count: {}, actions: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
27227
27467
  var root_3$g = /* @__PURE__ */ from_html(`<span> </span>`);
27228
- var root_4$b = /* @__PURE__ */ from_html(`<span class="ml-auto rounded-full bg-brand-05 px-1.5 py-px text-[10px] font-semibold text-white"> <span class="sr-only"> </span></span>`);
27468
+ var root_4$c = /* @__PURE__ */ from_html(`<span class="ml-auto rounded-full bg-brand-05 px-1.5 py-px text-[10px] font-semibold text-white"> <span class="sr-only"> </span></span>`);
27229
27469
  var root_2$r = /* @__PURE__ */ from_html(`<li><button type="button"><span class="sb-ico shrink-0 text-text-3 [&amp;_svg]:h-4 [&amp;_svg]:w-4"><!></span> <!> <!></button></li>`);
27230
27470
  var root_1$A = /* @__PURE__ */ from_html(`<h2 class="m-0 px-4 pb-1.5 pt-3.5 text-[10px] font-semibold uppercase leading-[1.4] tracking-[0.06em] text-text-4"> </h2> <ul class="m-0 flex list-none flex-col gap-px px-2"></ul>`, 1);
27231
27471
  var root$O = /* @__PURE__ */ from_html(`<nav class="overflow-auto border-r border-border-1 bg-bg-page py-2" aria-label="Primary"></nav>`);
@@ -27268,7 +27508,7 @@ function Sidebar($$anchor, $$props) {
27268
27508
  var node_2 = sibling(node_1, 2);
27269
27509
  {
27270
27510
  var consequent_1 = ($$anchor4) => {
27271
- var span_2 = root_4$b();
27511
+ var span_2 = root_4$c();
27272
27512
  var text_3 = child(span_2, true);
27273
27513
  var span_3 = sibling(text_3);
27274
27514
  var text_4 = child(span_3);
@@ -27703,7 +27943,7 @@ customElements.define("uni-slider", create_custom_element(
27703
27943
  { mode: "open" }
27704
27944
  ));
27705
27945
  var root_3$f = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)" stroke-width="0.75"></line>`);
27706
- var root_4$a = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)" stroke-width="0.75"></line>`);
27946
+ var root_4$b = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.12)" stroke-width="0.75"></line>`);
27707
27947
  var root_2$p = /* @__PURE__ */ from_svg(`<line stroke-width="1.5" opacity="0.65"></line><!><!><circle></circle><circle></circle><text fill="#A4A7B5" font-size="9" text-anchor="end" font-family="inherit"> </text><text fill="#6E7079" font-size="9" text-anchor="end" font-family="inherit" style="font-variant-numeric: tabular-nums"> </text><text fill="#A4A7B5" font-size="9" text-anchor="start" font-family="inherit" style="font-variant-numeric: tabular-nums"> </text><text font-size="9" text-anchor="start" font-family="inherit" style="font-variant-numeric: tabular-nums"> </text>`, 1);
27708
27948
  var root_1$y = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><text y="14" fill="#6E7079" font-size="10" text-anchor="middle" font-family="inherit"> </text><text y="14" fill="#6E7079" font-size="10" text-anchor="middle" font-family="inherit"> </text><line stroke="rgba(255,255,255,0.07)" stroke-width="1"></line><line stroke="rgba(255,255,255,0.07)" stroke-width="1"></line><!></svg></div>`);
27709
27949
  function SlopeChart($$anchor, $$props) {
@@ -27803,7 +28043,7 @@ function SlopeChart($$anchor, $$props) {
27803
28043
  var node_3 = sibling(node_2);
27804
28044
  {
27805
28045
  var consequent_1 = ($$anchor4) => {
27806
- var line_4 = root_4$a();
28046
+ var line_4 = root_4$b();
27807
28047
  set_attribute(line_4, "x1", COL_R + 6);
27808
28048
  set_attribute(line_4, "x2", COL_R + 6);
27809
28049
  template_effect(() => {
@@ -28278,7 +28518,7 @@ function Sparkline_wc($$anchor, $$props) {
28278
28518
  }
28279
28519
  customElements.define("uni-sparkline", create_custom_element(Sparkline_wc, { bars: {}, active: {}, seed: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
28280
28520
  var root_3$e = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line>`);
28281
- var root_4$9 = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"></path>`);
28521
+ var root_4$a = /* @__PURE__ */ from_svg(`<path fill="none" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round"></path>`);
28282
28522
  var root_2$n = /* @__PURE__ */ from_svg(`<g><!><text text-anchor="end" fill="#6E7079" font-size="9" font-family="inherit"> </text><!><circle r="2.5"></circle><text text-anchor="start" font-size="9" font-family="inherit"> </text></g>`);
28283
28523
  var root_1$v = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"></svg></div>`);
28284
28524
  function SparklineMatrix($$anchor, $$props) {
@@ -28354,7 +28594,7 @@ function SparklineMatrix($$anchor, $$props) {
28354
28594
  var node_2 = sibling(text2);
28355
28595
  {
28356
28596
  var consequent_1 = ($$anchor4) => {
28357
- var path = root_4$9();
28597
+ var path = root_4$a();
28358
28598
  template_effect(() => {
28359
28599
  set_attribute(path, "d", get(computed)[i].d);
28360
28600
  set_attribute(path, "stroke", get(computed)[i].color);
@@ -28820,7 +29060,7 @@ function SrOnly_wc($$anchor, $$props) {
28820
29060
  customElements.define("uni-sr-only", create_custom_element(SrOnly_wc, { class: {} }, ["default"], [], { mode: "open" }));
28821
29061
  var root_2$k = /* @__PURE__ */ from_svg(`<line stroke="rgba(255,255,255,0.06)" stroke-width="1"></line><text fill="#6E7079" font-size="8" text-anchor="end" font-family="inherit"> </text>`, 1);
28822
29062
  var root_5$5 = /* @__PURE__ */ from_svg(`<rect fill-opacity="0.9"></rect>`);
28823
- var root_6 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
29063
+ var root_6$1 = /* @__PURE__ */ from_svg(`<text fill="#6E7079" font-size="8" text-anchor="middle" font-family="inherit"> </text>`);
28824
29064
  var root_1$s = /* @__PURE__ */ from_html(`<div role="img" style="width:100%;"><svg style="width:100%;height:auto;display:block;" aria-hidden="true" focusable="false"><!><!><!></svg></div>`);
28825
29065
  function StackedBarChart($$anchor, $$props) {
28826
29066
  push($$props, true);
@@ -28916,7 +29156,7 @@ function StackedBarChart($$anchor, $$props) {
28916
29156
  });
28917
29157
  var node_5 = sibling(node_2);
28918
29158
  each(node_5, 17, () => get(xLabels), index, ($$anchor3, l) => {
28919
- var text_2 = root_6();
29159
+ var text_2 = root_6$1();
28920
29160
  var text_3 = child(text_2, true);
28921
29161
  reset(text_2);
28922
29162
  template_effect(() => {
@@ -29136,7 +29376,7 @@ customElements.define("uni-stacked-progress", create_custom_element(StackedProgr
29136
29376
  let counter$5 = 0;
29137
29377
  var root_2$i = /* @__PURE__ */ from_html(`<span aria-hidden="true"><svg viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5" aria-hidden="true" focusable="false"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"></polygon></svg></span>`);
29138
29378
  var root_1$q = /* @__PURE__ */ from_html(`<span class="m-0 inline-flex items-center gap-0.5 border-0 bg-transparent p-0" role="img"></span>`);
29139
- var root_4$8 = /* @__PURE__ */ from_html(`<label><input type="radio" class="sr-only"/> <svg viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5" aria-hidden="true" focusable="false"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"></polygon></svg></label>`);
29379
+ var root_4$9 = /* @__PURE__ */ from_html(`<label><input type="radio" class="sr-only"/> <svg viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5" aria-hidden="true" focusable="false"><polygon points="12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26"></polygon></svg></label>`);
29140
29380
  var root_3$c = /* @__PURE__ */ from_html(`<fieldset class="m-0 inline-flex items-center gap-0.5 border-0 bg-transparent p-0"><legend class="sr-only"> </legend> <!></fieldset>`);
29141
29381
  function StarRating($$anchor, $$props) {
29142
29382
  push($$props, true);
@@ -29178,7 +29418,7 @@ function StarRating($$anchor, $$props) {
29178
29418
  each(node_1, 17, () => Array(max()), index, ($$anchor3, _, i) => {
29179
29419
  const star = /* @__PURE__ */ user_derived(() => i + 1);
29180
29420
  const on = /* @__PURE__ */ user_derived(() => get(star) <= (get(hovered) || value()));
29181
- var label_1 = root_4$8();
29421
+ var label_1 = root_4$9();
29182
29422
  var input = child(label_1);
29183
29423
  remove_input_defaults(input);
29184
29424
  var svg_1 = sibling(input, 2);
@@ -29282,8 +29522,8 @@ function StarRating_wc($$anchor, $$props) {
29282
29522
  return pop($$exports);
29283
29523
  }
29284
29524
  customElements.define("uni-star-rating", create_custom_element(StarRating_wc, { label: {}, value: {}, max: {}, readOnly: {}, size: {} }, ["default"], [], { mode: "open" }));
29285
- var root_4$7 = /* @__PURE__ */ from_html(`<span class="ml-1 text-13 font-normal text-text-4"> </span>`);
29286
- var root_8$2 = /* @__PURE__ */ from_html(`<span class="sr-only">Trend:</span><span> </span>`, 1);
29525
+ var root_4$8 = /* @__PURE__ */ from_html(`<span class="ml-1 text-13 font-normal text-text-4"> </span>`);
29526
+ var root_8$1 = /* @__PURE__ */ from_html(`<span class="sr-only">Trend:</span><span> </span>`, 1);
29287
29527
  var root_5$4 = /* @__PURE__ */ from_html(`<div class="text-[11px] tabular-nums text-text-4"><!><!><!></div>`);
29288
29528
  var root_1$p = /* @__PURE__ */ from_html(`<h3> </h3> <div class="text-[28px] font-semibold leading-[1.05] tracking-[-0.01em] tabular-nums text-text-1"><!><!></div> <!>`, 1);
29289
29529
  function Stat($$anchor, $$props) {
@@ -29320,7 +29560,7 @@ function Stat($$anchor, $$props) {
29320
29560
  var node_2 = sibling(node);
29321
29561
  {
29322
29562
  var consequent_1 = ($$anchor3) => {
29323
- var span_1 = root_4$7();
29563
+ var span_1 = root_4$8();
29324
29564
  var text_2 = child(span_1, true);
29325
29565
  reset(span_1);
29326
29566
  template_effect(() => set_text(text_2, unit()));
@@ -29359,7 +29599,7 @@ function Stat($$anchor, $$props) {
29359
29599
  var node_6 = sibling(node_5);
29360
29600
  {
29361
29601
  var consequent_4 = ($$anchor4) => {
29362
- var fragment_5 = root_8$2();
29602
+ var fragment_5 = root_8$1();
29363
29603
  var span_2 = sibling(first_child(fragment_5));
29364
29604
  var text_5 = child(span_2, true);
29365
29605
  reset(span_2);
@@ -29828,7 +30068,7 @@ function StepChart_wc($$anchor, $$props) {
29828
30068
  }
29829
30069
  customElements.define("uni-step-chart", create_custom_element(StepChart_wc, { series: {}, labels: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
29830
30070
  var root_2$g = /* @__PURE__ */ from_svg(`<svg viewBox="0 0 12 12" width="12" height="12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>`);
29831
- var root_4$6 = /* @__PURE__ */ from_html(`<span class="sr-only">completed:</span>`);
30071
+ var root_4$7 = /* @__PURE__ */ from_html(`<span class="sr-only">completed:</span>`);
29832
30072
  var root_1$n = /* @__PURE__ */ from_html(`<li><span aria-hidden="true"><!></span> <!> <span> </span></li>`);
29833
30073
  var root$z = /* @__PURE__ */ from_html(`<nav aria-label="Progress"><ol class="m-0 flex list-none items-start p-0"></ol></nav>`);
29834
30074
  function Stepper($$anchor, $$props) {
@@ -29878,7 +30118,7 @@ function Stepper($$anchor, $$props) {
29878
30118
  var node_1 = sibling(span, 2);
29879
30119
  {
29880
30120
  var consequent_1 = ($$anchor3) => {
29881
- var span_1 = root_4$6();
30121
+ var span_1 = root_4$7();
29882
30122
  append($$anchor3, span_1);
29883
30123
  };
29884
30124
  if_block(node_1, ($$render) => {
@@ -31566,7 +31806,7 @@ const PRESETS = [
31566
31806
  { id: "30d", label: "Last 30 days", short: "Last 30 d" }
31567
31807
  ];
31568
31808
  var root_1$e = /* @__PURE__ */ from_svg(` <svg width="10" height="6" viewBox="0 0 10 6" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M1 1l4 4 4-4"></path></svg>`, 1);
31569
- var root_4$5 = /* @__PURE__ */ from_svg(`<svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M2 6l3 3 5-5"></path></svg>`);
31809
+ var root_4$6 = /* @__PURE__ */ from_svg(`<svg width="12" height="12" viewBox="0 0 12 12" aria-hidden="true" focusable="false" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M2 6l3 3 5-5"></path></svg>`);
31570
31810
  var root_3$7 = /* @__PURE__ */ from_html(`<li role="option" class="flex cursor-pointer items-center justify-between gap-2 whitespace-nowrap rounded-[5px] px-2.5 py-1.5 text-13 text-text-2 outline-none hover:bg-row-active hover:text-text-1 data-[active=true]:bg-row-active data-[active=true]:text-text-1 aria-selected:text-status-info"> <!></li>`);
31571
31811
  var root_2$9 = /* @__PURE__ */ from_html(`<ul role="listbox" aria-label="Time range" class="absolute right-0 top-[calc(100%+4px)] z-[9100] m-0 min-w-[152px] list-none rounded-lg border border-border-3 bg-bg-2 p-1 shadow-[0_8px_24px_rgba(0,0,0,0.5)]"></ul>`);
31572
31812
  var root$l = /* @__PURE__ */ from_html(`<div class="relative inline-block" role="presentation"><!> <!></div>`);
@@ -31662,7 +31902,7 @@ function TimeRange($$anchor, $$props) {
31662
31902
  var node_2 = sibling(text_1);
31663
31903
  {
31664
31904
  var consequent = ($$anchor4) => {
31665
- var svg_1 = root_4$5();
31905
+ var svg_1 = root_4$6();
31666
31906
  append($$anchor4, svg_1);
31667
31907
  };
31668
31908
  if_block(node_2, ($$render) => {
@@ -32094,12 +32334,14 @@ function Tooltip_wc($$anchor, $$props) {
32094
32334
  }
32095
32335
  customElements.define("uni-tooltip", create_custom_element(Tooltip_wc, { label: {}, placement: {}, class: {} }, ["default"], [], { mode: "open" }));
32096
32336
  const agentsUrl = new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A4A7B5'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3ccircle%20cx='12'%20cy='6'%20r='2.5'/%3e%3ccircle%20cx='5.5'%20cy='18'%20r='2.5'/%3e%3ccircle%20cx='18.5'%20cy='18'%20r='2.5'/%3e%3cpath%20d='M11%208.2%206.8%2016M13%208.2%2017.2%2016M8%2018h8'/%3e%3c/svg%3e", import.meta.url).href;
32337
+ const brainUrl = new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A4A7B5'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M12%205a3%203%200%201%200-5.997.125%204%204%200%200%200-2.526%205.77%204%204%200%200%200%20.556%206.588A4%204%200%201%200%2012%2018Z'/%3e%3cpath%20d='M12%205a3%203%200%201%201%205.997.125%204%204%200%200%201%202.526%205.77%204%204%200%200%201-.556%206.588A4%204%200%201%201%2012%2018Z'/%3e%3cpath%20d='M15%2013a4.5%204.5%200%200%201-3-4%204.5%204.5%200%200%201-3%204'/%3e%3cpath%20d='M17.599%206.5a3%203%200%200%200%20.399-1.375M6.003%205.125A3%203%200%200%200%206.401%206.5'/%3e%3cpath%20d='M3.477%2010.896a4%204%200%200%201%20.585-.396M19.938%2010.5a4%204%200%200%201%20.585.396'/%3e%3cpath%20d='M6%2018a4%204%200%200%201-1.967-.516M19.967%2017.484A4%204%200%200%201%2018%2018'/%3e%3c/svg%3e", import.meta.url).href;
32097
32338
  new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20width='64'%20height='64'%3e%3c!--%20Charcoal%20squircle%20(neutral-08),%20deliberately%20NOT%20the%20brand-blue%20gradient%20so%20the%20mark%20does%20not%20read%20as%20a%20product-app%20icon.%20The%20brand-blue%20sparkline%20is%20the%20only%20saturated%20colour,%20kept%20small%20as%20a%20design-system%20wink.%20--%3e%3crect%20width='64'%20height='64'%20rx='14'%20fill='%231C1C1E'/%3e%3c!--%20Layered%20dashboard%20panels.%20--%3e%3crect%20x='22'%20y='12'%20width='30'%20height='22'%20rx='3'%20fill='%23FFFFFF'%20fill-opacity='0.16'/%3e%3crect%20x='12'%20y='28'%20width='30'%20height='22'%20rx='3'%20fill='%23FFFFFF'/%3e%3c!--%20Sparkline%20accent.%20--%3e%3cpath%20d='M17%2043%20L22%2039%20L27%2041%20L32%2035%20L37%2038'%20stroke='%23006FFF'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20fill='none'/%3e%3c/svg%3e", import.meta.url).href;
32098
32339
  new URL("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNjQiIHdpZHRoPSIzMjAiIGhlaWdodD0iNjQiPgogIDxnIGZpbGw9ImN1cnJlbnRDb2xvciIgZm9udC1mYW1pbHk9IkludGVyLCBzeXN0ZW0tdWksIHNhbnMtc2VyaWYiIGZvbnQtd2VpZ2h0PSI3MDAiPgogICAgPHRleHQgeD0iMCIgeT0iNDQiIGZvbnQtc2l6ZT0iMzYiIGxldHRlci1zcGFjaW5nPSItMC4wMmVtIj5EYXNoIFVJPC90ZXh0PgogIDwvZz4KPC9zdmc+Cg==", import.meta.url).href;
32099
32340
  const instancesUrl = new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A4A7B5'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3crect%20x='3'%20y='3'%20width='8'%20height='8'%20rx='1.5'/%3e%3crect%20x='13'%20y='3'%20width='8'%20height='8'%20rx='1.5'/%3e%3crect%20x='3'%20y='13'%20width='8'%20height='8'%20rx='1.5'/%3e%3crect%20x='13'%20y='13'%20width='8'%20height='8'%20rx='1.5'/%3e%3c/svg%3e", import.meta.url).href;
32100
32341
  const systemUrl = new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A4A7B5'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3ccircle%20cx='12'%20cy='12'%20r='3'/%3e%3cpath%20d='M19.4%2015a1.65%201.65%200%200%200%20.33%201.82l.06.06a2%202%200%201%201-2.83%202.83l-.06-.06a1.65%201.65%200%200%200-1.82-.33%201.65%201.65%200%200%200-1%201.51V21a2%202%200%201%201-4%200v-.09a1.65%201.65%200%200%200-1-1.51%201.65%201.65%200%200%200-1.82.33l-.06.06a2%202%200%201%201-2.83-2.83l.06-.06a1.65%201.65%200%200%200%20.33-1.82%201.65%201.65%200%200%200-1.51-1H3a2%202%200%201%201%200-4h.09a1.65%201.65%200%200%200%201.51-1%201.65%201.65%200%200%200-.33-1.82l-.06-.06a2%202%200%201%201%202.83-2.83l.06.06a1.65%201.65%200%200%200%201.82.33h0a1.65%201.65%200%200%200%201-1.51V3a2%202%200%201%201%204%200v.09a1.65%201.65%200%200%200%201%201.51%201.65%201.65%200%200%200%201.82-.33l.06-.06a2%202%200%201%201%202.83%202.83l-.06.06a1.65%201.65%200%200%200-.33%201.82v0a1.65%201.65%200%200%200%201.51%201H21a2%202%200%201%201%200%204h-.09a1.65%201.65%200%200%200-1.51%201Z'/%3e%3c/svg%3e", import.meta.url).href;
32101
32342
  const appLogos = {
32102
32343
  agents: agentsUrl,
32344
+ brain: brainUrl,
32103
32345
  instances: instancesUrl,
32104
32346
  system: systemUrl
32105
32347
  };
@@ -32144,15 +32386,23 @@ function HelpIcon($$anchor, $$props) {
32144
32386
  });
32145
32387
  append($$anchor, svg);
32146
32388
  }
32147
- var root_1$a = /* @__PURE__ */ from_html(`<button type="button" class="flex cursor-pointer items-center gap-2 rounded-md px-2.5 py-1.5 hover:bg-row-hover focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05" aria-haspopup="menu"><span><span></span></span> <span class="text-13 font-medium text-text-1" aria-hidden="true"> </span> <!></button>`);
32148
- var root_2$7 = /* @__PURE__ */ from_html(`<div class="flex items-center gap-2 px-2.5 py-1.5" role="presentation"><span><span></span></span> <span class="text-13 font-medium text-text-1"> </span></div>`);
32149
- var root_3$6 = /* @__PURE__ */ from_html(`<button type="button"><img alt="" width="24" height="24"/> <span class="mt-0.5 text-[10px] font-medium leading-none"> </span></button>`);
32150
- var root_9 = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="absolute right-1.5 top-1.5 h-1.5 w-1.5 rounded-full border-[1.5px] border-bg-page bg-status-danger"></span>`);
32151
- var root_8$1 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
32152
- var root_5$2 = /* @__PURE__ */ from_html(`<!> <!> <!> <!> <!>`, 1);
32389
+ var root_2$7 = /* @__PURE__ */ from_html(`<span class="relative inline-flex h-6 w-6 items-center justify-center"><span data-testid="site-logo-glow" aria-hidden="true" class="pointer-events-none absolute -inset-1.5 rounded-full transition-opacity duration-300"></span> <span aria-hidden="true"><img alt="" width="24" height="24" class="h-full w-full object-cover"/></span></span>`);
32390
+ var root_3$6 = /* @__PURE__ */ from_html(`<span><span></span></span>`);
32391
+ var root_1$a = /* @__PURE__ */ from_html(`<button type="button" class="flex cursor-pointer items-center gap-2 rounded-md px-2.5 py-1.5 hover:bg-row-hover focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05" aria-haspopup="menu"><!> <span class="text-13 font-medium text-text-1" aria-hidden="true"> </span> <!></button>`);
32392
+ var root_5$2 = /* @__PURE__ */ from_html(`<span class="relative inline-flex h-6 w-6 items-center justify-center"><span data-testid="site-logo-glow" aria-hidden="true" class="pointer-events-none absolute -inset-1.5 rounded-full transition-opacity duration-300"></span> <span aria-hidden="true"><img alt="" width="24" height="24" class="h-full w-full object-cover"/></span></span>`);
32393
+ var root_6 = /* @__PURE__ */ from_html(`<span><span></span></span>`);
32394
+ var root_4$5 = /* @__PURE__ */ from_html(`<div class="flex items-center gap-2 px-2.5 py-1.5" role="presentation"><!> <span class="text-13 font-medium text-text-1"> </span></div>`);
32395
+ var root_7$1 = /* @__PURE__ */ from_html(`<button type="button"><img alt="" width="24" height="24"/> <span class="mt-0.5 text-[10px] font-medium leading-none"> </span></button>`);
32396
+ var root_13 = /* @__PURE__ */ from_html(`<span aria-hidden="true" class="absolute right-1.5 top-1.5 h-1.5 w-1.5 rounded-full border-[1.5px] border-bg-page bg-status-danger"></span>`);
32397
+ var root_12 = /* @__PURE__ */ from_html(`<!> <!>`, 1);
32398
+ var root_9 = /* @__PURE__ */ from_html(`<!> <!> <!> <!> <!>`, 1);
32153
32399
  var root$c = /* @__PURE__ */ from_html(`<header class="flex h-12 shrink-0 items-center gap-0 bg-bg-page px-2"><!> <nav class="ml-3.5 flex h-12 items-center gap-0.5" aria-label="Apps"></nav> <div class="flex-1"></div> <div class="flex items-center gap-1 pr-2"><!></div></header>`);
32154
32400
  function Topbar($$anchor, $$props) {
32155
32401
  push($$props, true);
32402
+ function resolveLogo(logo) {
32403
+ if (logo in appLogos) return appLogos[logo];
32404
+ return logo;
32405
+ }
32156
32406
  const DEFAULT_APPS2 = [
32157
32407
  { id: "system", label: "System", logo: "system" },
32158
32408
  { id: "instances", label: "Instances", logo: "instances" },
@@ -32171,69 +32421,151 @@ function Topbar($$anchor, $$props) {
32171
32421
  danger: "bg-status-danger",
32172
32422
  neutral: "bg-status-neutral"
32173
32423
  };
32424
+ const LOGO_RING = {
32425
+ ok: "ring-status-success",
32426
+ warn: "ring-status-warning",
32427
+ danger: "ring-status-danger",
32428
+ neutral: "ring-status-neutral"
32429
+ };
32174
32430
  let ringWrapClass = /* @__PURE__ */ user_derived(() => `inline-flex h-[18px] w-[18px] items-center justify-center rounded-full ${RING_BG[status()]}`);
32175
32431
  let ringDotClass = /* @__PURE__ */ user_derived(() => `h-2 w-2 rounded-full ${RING_DOT[status()]}`);
32432
+ let logoRingClass = /* @__PURE__ */ user_derived(() => `inline-flex h-6 w-6 items-center justify-center overflow-hidden rounded-full ring-2 ring-inset ${LOGO_RING[status()]}`);
32433
+ const GLOW_TOKEN = {
32434
+ ok: "--status-success",
32435
+ warn: "--status-warning",
32436
+ danger: "--status-danger",
32437
+ neutral: null
32438
+ };
32439
+ let logoGlowStyle = /* @__PURE__ */ user_derived(() => {
32440
+ const token = GLOW_TOKEN[status()];
32441
+ if (token === null) return "opacity: 0;";
32442
+ const colour = `var(${token})`;
32443
+ return `background: radial-gradient(closest-side, ${colour}, transparent); opacity: 0.85; filter: blur(5px);`;
32444
+ });
32176
32445
  var $$exports = { DEFAULT_APPS: DEFAULT_APPS2 };
32177
32446
  var header = root$c();
32178
32447
  var node = child(header);
32179
32448
  {
32180
- var consequent = ($$anchor2) => {
32449
+ var consequent_1 = ($$anchor2) => {
32181
32450
  var button = root_1$a();
32182
- var span = child(button);
32183
- var span_1 = child(span);
32184
- reset(span);
32185
- var span_2 = sibling(span, 2);
32186
- var text2 = child(span_2, true);
32187
- reset(span_2);
32188
- var node_1 = sibling(span_2, 2);
32189
- CaretIcon(node_1, { class: "h-3.5 w-3.5 text-text-3" });
32451
+ var node_1 = child(button);
32452
+ {
32453
+ var consequent = ($$anchor3) => {
32454
+ var span = root_2$7();
32455
+ var span_1 = child(span);
32456
+ var span_2 = sibling(span_1, 2);
32457
+ var img = child(span_2);
32458
+ reset(span_2);
32459
+ reset(span);
32460
+ template_effect(
32461
+ ($0) => {
32462
+ set_style(span_1, get(logoGlowStyle));
32463
+ set_class(span_2, 1, `relative ${get(logoRingClass)}`);
32464
+ set_attribute(img, "src", $0);
32465
+ },
32466
+ [() => resolveLogo($$props.siteLogo)]
32467
+ );
32468
+ append($$anchor3, span);
32469
+ };
32470
+ var alternate = ($$anchor3) => {
32471
+ var span_3 = root_3$6();
32472
+ var span_4 = child(span_3);
32473
+ reset(span_3);
32474
+ template_effect(() => {
32475
+ set_class(span_3, 1, clsx(get(ringWrapClass)));
32476
+ set_class(span_4, 1, clsx(get(ringDotClass)));
32477
+ });
32478
+ append($$anchor3, span_3);
32479
+ };
32480
+ if_block(node_1, ($$render) => {
32481
+ if ($$props.siteLogo !== void 0) $$render(consequent);
32482
+ else $$render(alternate, -1);
32483
+ });
32484
+ }
32485
+ var span_5 = sibling(node_1, 2);
32486
+ var text2 = child(span_5, true);
32487
+ reset(span_5);
32488
+ var node_2 = sibling(span_5, 2);
32489
+ CaretIcon(node_2, { class: "h-3.5 w-3.5 text-text-3" });
32190
32490
  reset(button);
32191
32491
  template_effect(() => {
32192
32492
  set_attribute(button, "aria-label", `Switch site: ${$$props.siteName ?? ""}`);
32193
- set_class(span, 1, clsx(get(ringWrapClass)));
32194
- set_class(span_1, 1, clsx(get(ringDotClass)));
32493
+ set_attribute(button, "title", `${$$props.siteName} — status: ${status()}`);
32195
32494
  set_text(text2, $$props.siteName);
32196
32495
  });
32197
32496
  append($$anchor2, button);
32198
32497
  };
32199
- var alternate = ($$anchor2) => {
32200
- var div = root_2$7();
32201
- var span_3 = child(div);
32202
- var span_4 = child(span_3);
32203
- reset(span_3);
32204
- var span_5 = sibling(span_3, 2);
32205
- var text_1 = child(span_5, true);
32206
- reset(span_5);
32498
+ var alternate_2 = ($$anchor2) => {
32499
+ var div = root_4$5();
32500
+ var node_3 = child(div);
32501
+ {
32502
+ var consequent_2 = ($$anchor3) => {
32503
+ var span_6 = root_5$2();
32504
+ var span_7 = child(span_6);
32505
+ var span_8 = sibling(span_7, 2);
32506
+ var img_1 = child(span_8);
32507
+ reset(span_8);
32508
+ reset(span_6);
32509
+ template_effect(
32510
+ ($0) => {
32511
+ set_style(span_7, get(logoGlowStyle));
32512
+ set_class(span_8, 1, `relative ${get(logoRingClass)}`);
32513
+ set_attribute(img_1, "src", $0);
32514
+ },
32515
+ [() => resolveLogo($$props.siteLogo)]
32516
+ );
32517
+ append($$anchor3, span_6);
32518
+ };
32519
+ var alternate_1 = ($$anchor3) => {
32520
+ var span_9 = root_6();
32521
+ var span_10 = child(span_9);
32522
+ reset(span_9);
32523
+ template_effect(() => {
32524
+ set_class(span_9, 1, clsx(get(ringWrapClass)));
32525
+ set_class(span_10, 1, clsx(get(ringDotClass)));
32526
+ });
32527
+ append($$anchor3, span_9);
32528
+ };
32529
+ if_block(node_3, ($$render) => {
32530
+ if ($$props.siteLogo !== void 0) $$render(consequent_2);
32531
+ else $$render(alternate_1, -1);
32532
+ });
32533
+ }
32534
+ var span_11 = sibling(node_3, 2);
32535
+ var text_1 = child(span_11, true);
32536
+ reset(span_11);
32207
32537
  reset(div);
32208
32538
  template_effect(() => {
32209
- set_class(span_3, 1, clsx(get(ringWrapClass)));
32210
- set_class(span_4, 1, clsx(get(ringDotClass)));
32539
+ set_attribute(div, "title", `${$$props.siteName} — status: ${status()}`);
32211
32540
  set_text(text_1, $$props.siteName);
32212
32541
  });
32213
32542
  append($$anchor2, div);
32214
32543
  };
32215
32544
  if_block(node, ($$render) => {
32216
- if (siteSwitchable()) $$render(consequent);
32217
- else $$render(alternate, -1);
32545
+ if (siteSwitchable()) $$render(consequent_1);
32546
+ else $$render(alternate_2, -1);
32218
32547
  });
32219
32548
  }
32220
32549
  var nav = sibling(node, 2);
32221
32550
  each(nav, 21, apps, (a) => a.id, ($$anchor2, a) => {
32222
- var button_1 = root_3$6();
32223
- var img = child(button_1);
32224
- var span_6 = sibling(img, 2);
32225
- var text_2 = child(span_6, true);
32226
- reset(span_6);
32551
+ var button_1 = root_7$1();
32552
+ var img_2 = child(button_1);
32553
+ var span_12 = sibling(img_2, 2);
32554
+ var text_2 = child(span_12, true);
32555
+ reset(span_12);
32227
32556
  reset(button_1);
32228
- template_effect(() => {
32229
- set_class(button_1, 1, `flex h-12 w-16 cursor-pointer flex-col items-center justify-center py-1.5 transition-colors duration-100 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05
32557
+ template_effect(
32558
+ ($0) => {
32559
+ set_class(button_1, 1, `flex h-12 w-16 cursor-pointer flex-col items-center justify-center py-1.5 transition-colors duration-100 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-05
32230
32560
  ${get(a).id === activeApp() ? "bg-bg-1 text-text-1" : "bg-transparent text-text-3 hover:text-text-1"}`);
32231
- set_attribute(button_1, "aria-current", get(a).id === activeApp() ? "page" : void 0);
32232
- set_attribute(img, "src", appLogos[get(a).logo]);
32233
- set_class(img, 1, `transition-[opacity,filter] duration-150
32561
+ set_attribute(button_1, "aria-current", get(a).id === activeApp() ? "page" : void 0);
32562
+ set_attribute(img_2, "src", $0);
32563
+ set_class(img_2, 1, `transition-[opacity,filter] duration-150
32234
32564
  ${get(a).id === activeApp() ? "opacity-100 dark:brightness-[1.6]" : "opacity-65 hover:opacity-90 dark:hover:brightness-[1.4]"}`);
32235
- set_text(text_2, get(a).label);
32236
- });
32565
+ set_text(text_2, get(a).label);
32566
+ },
32567
+ [() => resolveLogo(get(a).logo)]
32568
+ );
32237
32569
  delegated("click", button_1, () => {
32238
32570
  activeApp(get(a).id);
32239
32571
  $$props.onappchange?.(get(a).id);
@@ -32242,18 +32574,18 @@ function Topbar($$anchor, $$props) {
32242
32574
  });
32243
32575
  reset(nav);
32244
32576
  var div_1 = sibling(nav, 4);
32245
- var node_2 = child(div_1);
32577
+ var node_4 = child(div_1);
32246
32578
  {
32247
- var consequent_1 = ($$anchor2) => {
32579
+ var consequent_3 = ($$anchor2) => {
32248
32580
  var fragment = comment();
32249
- var node_3 = first_child(fragment);
32250
- snippet(node_3, () => $$props.actions);
32581
+ var node_5 = first_child(fragment);
32582
+ snippet(node_5, () => $$props.actions);
32251
32583
  append($$anchor2, fragment);
32252
32584
  };
32253
- var alternate_1 = ($$anchor2) => {
32254
- var fragment_1 = root_5$2();
32255
- var node_4 = first_child(fragment_1);
32256
- IconButton(node_4, {
32585
+ var alternate_3 = ($$anchor2) => {
32586
+ var fragment_1 = root_9();
32587
+ var node_6 = first_child(fragment_1);
32588
+ IconButton(node_6, {
32257
32589
  "aria-label": "Search",
32258
32590
  title: "Search",
32259
32591
  children: ($$anchor3, $$slotProps) => {
@@ -32261,8 +32593,8 @@ function Topbar($$anchor, $$props) {
32261
32593
  },
32262
32594
  $$slots: { default: true }
32263
32595
  });
32264
- var node_5 = sibling(node_4, 2);
32265
- IconButton(node_5, {
32596
+ var node_7 = sibling(node_6, 2);
32597
+ IconButton(node_7, {
32266
32598
  "aria-label": "Updates",
32267
32599
  title: "Updates",
32268
32600
  children: ($$anchor3, $$slotProps) => {
@@ -32270,27 +32602,27 @@ function Topbar($$anchor, $$props) {
32270
32602
  },
32271
32603
  $$slots: { default: true }
32272
32604
  });
32273
- var node_6 = sibling(node_5, 2);
32605
+ var node_8 = sibling(node_7, 2);
32274
32606
  {
32275
32607
  let $0 = /* @__PURE__ */ user_derived(() => notificationCount() > 0 ? `Notifications, ${notificationCount()} new` : "Notifications");
32276
- IconButton(node_6, {
32608
+ IconButton(node_8, {
32277
32609
  get "aria-label"() {
32278
32610
  return get($0);
32279
32611
  },
32280
32612
  title: "Notifications",
32281
32613
  class: "relative",
32282
32614
  children: ($$anchor3, $$slotProps) => {
32283
- var fragment_4 = root_8$1();
32284
- var node_7 = first_child(fragment_4);
32285
- BellIcon(node_7, {});
32286
- var node_8 = sibling(node_7, 2);
32615
+ var fragment_4 = root_12();
32616
+ var node_9 = first_child(fragment_4);
32617
+ BellIcon(node_9, {});
32618
+ var node_10 = sibling(node_9, 2);
32287
32619
  {
32288
- var consequent_2 = ($$anchor4) => {
32289
- var span_7 = root_9();
32290
- append($$anchor4, span_7);
32620
+ var consequent_4 = ($$anchor4) => {
32621
+ var span_13 = root_13();
32622
+ append($$anchor4, span_13);
32291
32623
  };
32292
- if_block(node_8, ($$render) => {
32293
- if (notificationCount() > 0) $$render(consequent_2);
32624
+ if_block(node_10, ($$render) => {
32625
+ if (notificationCount() > 0) $$render(consequent_4);
32294
32626
  });
32295
32627
  }
32296
32628
  append($$anchor3, fragment_4);
@@ -32298,8 +32630,8 @@ function Topbar($$anchor, $$props) {
32298
32630
  $$slots: { default: true }
32299
32631
  });
32300
32632
  }
32301
- var node_9 = sibling(node_6, 2);
32302
- IconButton(node_9, {
32633
+ var node_11 = sibling(node_8, 2);
32634
+ IconButton(node_11, {
32303
32635
  "aria-label": "Help",
32304
32636
  title: "Help",
32305
32637
  children: ($$anchor3, $$slotProps) => {
@@ -32307,8 +32639,8 @@ function Topbar($$anchor, $$props) {
32307
32639
  },
32308
32640
  $$slots: { default: true }
32309
32641
  });
32310
- var node_10 = sibling(node_9, 2);
32311
- Avatar(node_10, {
32642
+ var node_12 = sibling(node_11, 2);
32643
+ Avatar(node_12, {
32312
32644
  get initials() {
32313
32645
  return initials();
32314
32646
  },
@@ -32320,9 +32652,9 @@ function Topbar($$anchor, $$props) {
32320
32652
  });
32321
32653
  append($$anchor2, fragment_1);
32322
32654
  };
32323
- if_block(node_2, ($$render) => {
32324
- if ($$props.actions) $$render(consequent_1);
32325
- else $$render(alternate_1, -1);
32655
+ if_block(node_4, ($$render) => {
32656
+ if ($$props.actions) $$render(consequent_3);
32657
+ else $$render(alternate_3, -1);
32326
32658
  });
32327
32659
  }
32328
32660
  reset(div_1);
@@ -32333,7 +32665,7 @@ function Topbar($$anchor, $$props) {
32333
32665
  delegate(["click"]);
32334
32666
  function Topbar_wc($$anchor, $$props) {
32335
32667
  push($$props, true);
32336
- let siteName = prop($$props, "siteName", 7, void 0), activeApp = prop($$props, "activeApp", 7, void 0), apps = prop($$props, "apps", 7, DEFAULT_APPS), initials = prop($$props, "initials", 7, "MS"), notificationCount = prop($$props, "notificationCount", 7, 1), status = prop($$props, "status", 7, "ok"), siteSwitchable = prop($$props, "siteSwitchable", 7, true);
32668
+ let siteName = prop($$props, "siteName", 7, void 0), activeApp = prop($$props, "activeApp", 7, void 0), apps = prop($$props, "apps", 7, DEFAULT_APPS), initials = prop($$props, "initials", 7, "MS"), notificationCount = prop($$props, "notificationCount", 7, 1), status = prop($$props, "status", 7, "ok"), siteLogo = prop($$props, "siteLogo", 7, void 0), siteSwitchable = prop($$props, "siteSwitchable", 7, true);
32337
32669
  var $$exports = {
32338
32670
  get siteName() {
32339
32671
  return siteName();
@@ -32377,6 +32709,13 @@ function Topbar_wc($$anchor, $$props) {
32377
32709
  status($$value);
32378
32710
  flushSync();
32379
32711
  },
32712
+ get siteLogo() {
32713
+ return siteLogo();
32714
+ },
32715
+ set siteLogo($$value = void 0) {
32716
+ siteLogo($$value);
32717
+ flushSync();
32718
+ },
32380
32719
  get siteSwitchable() {
32381
32720
  return siteSwitchable();
32382
32721
  },
@@ -32404,6 +32743,9 @@ function Topbar_wc($$anchor, $$props) {
32404
32743
  get status() {
32405
32744
  return status();
32406
32745
  },
32746
+ get siteLogo() {
32747
+ return siteLogo();
32748
+ },
32407
32749
  get siteSwitchable() {
32408
32750
  return siteSwitchable();
32409
32751
  },
@@ -32426,6 +32768,7 @@ customElements.define("uni-topbar", create_custom_element(
32426
32768
  initials: {},
32427
32769
  notificationCount: {},
32428
32770
  status: {},
32771
+ siteLogo: {},
32429
32772
  siteSwitchable: {}
32430
32773
  },
32431
32774
  ["default"],
@@ -34545,6 +34888,7 @@ function WordCloud_wc($$anchor, $$props) {
34545
34888
  customElements.define("uni-word-cloud", create_custom_element(WordCloud_wc, { items: {}, height: {}, ariaLabel: {} }, ["default"], [], { mode: "open" }));
34546
34889
  const REGISTERED_TAGS = [
34547
34890
  "uni-accordion",
34891
+ "uni-accordion-item",
34548
34892
  "uni-action-menu",
34549
34893
  "uni-activity-feed",
34550
34894
  "uni-alert",