@zenuml/core 3.19.2 → 3.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -919,7 +919,7 @@ function t1(t, e) {
919
919
  function gt(t) {
920
920
  return !!(t && t.__v_isRef === !0);
921
921
  }
922
- function pe(t) {
922
+ function ge(t) {
923
923
  return t3(t, !1);
924
924
  }
925
925
  function e3(t) {
@@ -943,11 +943,11 @@ class P8 {
943
943
  function F8(t) {
944
944
  t1(t);
945
945
  }
946
- function _e(t) {
946
+ function Le(t) {
947
947
  return gt(t) ? t.value : t;
948
948
  }
949
949
  const D8 = {
950
- get: (t, e, n) => _e(Reflect.get(t, e, n)),
950
+ get: (t, e, n) => Le(Reflect.get(t, e, n)),
951
951
  set: (t, e, n, r) => {
952
952
  const s = t[e];
953
953
  return gt(s) && !gt(n) ? (s.value = n, !0) : Reflect.set(t, e, n, r);
@@ -1479,12 +1479,12 @@ function Bl(t, e, n, r, s, i, o, l, a, c, u = !1) {
1479
1479
  if (x.isHydrating)
1480
1480
  x.isHydrating = !1;
1481
1481
  else if (!C) {
1482
- const Le = M && $.transition && $.transition.mode === "out-in";
1483
- Le && (M.transition.afterLeave = () => {
1482
+ const _e = M && $.transition && $.transition.mode === "out-in";
1483
+ _e && (M.transition.afterLeave = () => {
1484
1484
  j === x.pendingId && d($, le, re, 0);
1485
1485
  });
1486
1486
  let { anchor: re } = x;
1487
- M && (re = g(M), p(M, ae, x, !0)), Le || d($, le, re, 0);
1487
+ M && (re = g(M), p(M, ae, x, !0)), _e || d($, le, re, 0);
1488
1488
  }
1489
1489
  us(x, $), x.pendingBranch = null, x.isInFallback = !1;
1490
1490
  let he = x.parent, He = !1;
@@ -1823,10 +1823,10 @@ function xs(t, e, n, r) {
1823
1823
  else
1824
1824
  return;
1825
1825
  let He = !1;
1826
- const Le = R._enterCb = (re) => {
1826
+ const _e = R._enterCb = (re) => {
1827
1827
  He || (He = !0, re ? M(he, [R]) : M(le, [R]), j.delayedLeave && j.delayedLeave(), R._enterCb = void 0);
1828
1828
  };
1829
- ae ? $(ae, [R, Le]) : Le();
1829
+ ae ? $(ae, [R, _e]) : _e();
1830
1830
  },
1831
1831
  leave(R, ae) {
1832
1832
  const le = String(t.key);
@@ -1834,8 +1834,8 @@ function xs(t, e, n, r) {
1834
1834
  return ae();
1835
1835
  M(h, [R]);
1836
1836
  let he = !1;
1837
- const He = R._leaveCb = (Le) => {
1838
- he || (he = !0, ae(), Le ? M(g, [R]) : M(p, [R]), R._leaveCb = void 0, E[le] === t && delete E[le]);
1837
+ const He = R._leaveCb = (_e) => {
1838
+ he || (he = !0, ae(), _e ? M(g, [R]) : M(p, [R]), R._leaveCb = void 0, E[le] === t && delete E[le]);
1839
1839
  };
1840
1840
  E[le] = t, d ? $(d, [R, He]) : He();
1841
1841
  },
@@ -1910,7 +1910,7 @@ function hs(t) {
1910
1910
  return d().then((x) => () => j1(x, p)).catch((x) => (g(x), () => r ? V(r, {
1911
1911
  error: x
1912
1912
  }) : null));
1913
- const L = pe(!1), T = pe(), _ = pe(!!s);
1913
+ const L = ge(!1), T = ge(), _ = ge(!!s);
1914
1914
  return s && setTimeout(() => {
1915
1915
  _.value = !1;
1916
1916
  }, s), i != null && setTimeout(() => {
@@ -2635,7 +2635,7 @@ function Fd(t) {
2635
2635
  expose: le,
2636
2636
  inheritAttrs: he,
2637
2637
  components: He,
2638
- directives: Le,
2638
+ directives: _e,
2639
2639
  filters: re
2640
2640
  } = e;
2641
2641
  if (c && $3(c, r, null, t.appContext.config.unwrapInjectedRef), o)
@@ -2684,7 +2684,7 @@ function Fd(t) {
2684
2684
  });
2685
2685
  } else
2686
2686
  t.exposed || (t.exposed = {});
2687
- M && t.render === Bt && (t.render = M), he != null && (t.inheritAttrs = he), He && (t.components = He), Le && (t.directives = Le), re && Ue("FILTERS", t) && (t.filters = re);
2687
+ M && t.render === Bt && (t.render = M), he != null && (t.inheritAttrs = he), He && (t.components = He), _e && (t.directives = _e), re && Ue("FILTERS", t) && (t.filters = re);
2688
2688
  }
2689
2689
  function $3(t, e, n = Bt, r = !1) {
2690
2690
  K(t) && (t = ko(t));
@@ -3267,18 +3267,18 @@ function rf(t) {
3267
3267
  er = !1, h(x.firstChild, _, null, null, null), Si(), x._vnode = _, er && console.error("Hydration completed but contains mismatches.");
3268
3268
  }, h = (_, x, C, E, M, $ = !1) => {
3269
3269
  const j = li(_) && _.data === "[", R = () => L(_, x, C, E, M, j), { type: ae, ref: le, shapeFlag: he, patchFlag: He } = x;
3270
- let Le = _.nodeType;
3270
+ let _e = _.nodeType;
3271
3271
  x.el = _, He === -2 && ($ = !1, x.dynamicChildren = null);
3272
3272
  let re = null;
3273
3273
  switch (ae) {
3274
3274
  case Ur:
3275
- Le !== 3 ? x.children === "" ? (a(x.el = s(""), o(_), _), re = _) : re = R() : (_.data !== x.children && (er = !0, _.data = x.children), re = i(_));
3275
+ _e !== 3 ? x.children === "" ? (a(x.el = s(""), o(_), _), re = _) : re = R() : (_.data !== x.children && (er = !0, _.data = x.children), re = i(_));
3276
3276
  break;
3277
3277
  case yt:
3278
- Le !== 8 || j ? re = R() : re = i(_);
3278
+ _e !== 8 || j ? re = R() : re = i(_);
3279
3279
  break;
3280
3280
  case Fr:
3281
- if (j && (_ = i(_), Le = _.nodeType), Le === 1 || Le === 3) {
3281
+ if (j && (_ = i(_), _e = _.nodeType), _e === 1 || _e === 3) {
3282
3282
  re = _;
3283
3283
  const Ne = !x.children.length;
3284
3284
  for (let D = 0; D < x.staticCount; D++)
@@ -3292,7 +3292,7 @@ function rf(t) {
3292
3292
  break;
3293
3293
  default:
3294
3294
  if (he & 1)
3295
- Le !== 1 || x.type.toLowerCase() !== _.tagName.toLowerCase() ? re = R() : re = d(_, x, C, E, M, $);
3295
+ _e !== 1 || x.type.toLowerCase() !== _.tagName.toLowerCase() ? re = R() : re = d(_, x, C, E, M, $);
3296
3296
  else if (he & 6) {
3297
3297
  x.slotScopeIds = M;
3298
3298
  const Ne = o(_);
@@ -3301,7 +3301,7 @@ function rf(t) {
3301
3301
  j ? (D = V(Fe), D.anchor = re ? re.previousSibling : Ne.lastChild) : D = _.nodeType === 3 ? dn("") : V("div"), D.el = _, x.component.subTree = D;
3302
3302
  }
3303
3303
  } else
3304
- he & 64 ? Le !== 8 ? re = R() : re = x.type.hydrate(_, x, C, E, M, $, t, p) : he & 128 && (re = x.type.hydrate(_, x, C, E, oi(o(_)), M, $, t, h));
3304
+ he & 64 ? _e !== 8 ? re = R() : re = x.type.hydrate(_, x, C, E, M, $, t, p) : he & 128 && (re = x.type.hydrate(_, x, C, E, oi(o(_)), M, $, t, h));
3305
3305
  }
3306
3306
  return le != null && ki(le, null, E, x), re;
3307
3307
  }, d = (_, x, C, E, M, $) => {
@@ -3314,9 +3314,9 @@ function rf(t) {
3314
3314
  (He && re.endsWith("value") || Yn(re) && !os(re)) && r(_, re, null, R[re], !1, void 0, C);
3315
3315
  else
3316
3316
  R.onClick && r(_, "onClick", null, R.onClick, !1, void 0, C);
3317
- let Le;
3318
- if ((Le = R && R.onVnodeBeforeMount) && Nt(Le, C, x), he && yn(x, null, C, "beforeMount"), ((Le = R && R.onVnodeMounted) || he) && h3(() => {
3319
- Le && Nt(Le, C, x), he && yn(x, null, C, "mounted");
3317
+ let _e;
3318
+ if ((_e = R && R.onVnodeBeforeMount) && Nt(_e, C, x), he && yn(x, null, C, "beforeMount"), ((_e = R && R.onVnodeMounted) || he) && h3(() => {
3319
+ _e && Nt(_e, C, x), he && yn(x, null, C, "mounted");
3320
3320
  }, E), le & 16 && !(R && (R.innerHTML || R.textContent))) {
3321
3321
  let re = p(_.firstChild, x, _, C, E, M, $);
3322
3322
  for (; re; ) {
@@ -3401,7 +3401,7 @@ function X3(t, e) {
3401
3401
  He(m, y, S, I, O, H, Y, U, z);
3402
3402
  break;
3403
3403
  default:
3404
- ie & 1 ? M(m, y, S, I, O, H, Y, U, z) : ie & 6 ? Le(m, y, S, I, O, H, Y, U, z) : (ie & 64 || ie & 128) && P.process(m, y, S, I, O, H, Y, U, z, mt);
3404
+ ie & 1 ? M(m, y, S, I, O, H, Y, U, z) : ie & 6 ? _e(m, y, S, I, O, H, Y, U, z) : (ie & 64 || ie & 128) && P.process(m, y, S, I, O, H, Y, U, z, mt);
3405
3405
  }
3406
3406
  F != null && O && ki(F, m && m.ref, H, y || m, !y);
3407
3407
  }, T = (m, y, S, I) => {
@@ -3502,7 +3502,7 @@ function X3(t, e) {
3502
3502
  const P = y.el = m ? m.el : l(""), F = y.anchor = m ? m.anchor : l("");
3503
3503
  let { patchFlag: ie, dynamicChildren: Q, slotScopeIds: ne } = y;
3504
3504
  ne && (U = U ? U.concat(ne) : ne), m == null ? (r(P, S, I), r(F, S, I), R(y.children, S, F, O, H, Y, U, z)) : ie > 0 && ie & 64 && Q && m.dynamicChildren ? (le(m.dynamicChildren, Q, S, O, H, Y, U), (y.key != null || O && y === O.subTree) && Gl(m, y, !0)) : de(m, y, S, F, O, H, Y, U, z);
3505
- }, Le = (m, y, S, I, O, H, Y, U, z) => {
3505
+ }, _e = (m, y, S, I, O, H, Y, U, z) => {
3506
3506
  y.slotScopeIds = U, m == null ? y.shapeFlag & 512 ? O.ctx.activate(y, S, I, Y, z) : re(y, S, I, O, H, Y, z) : Ne(m, y, z);
3507
3507
  }, re = (m, y, S, I, O, H, Y) => {
3508
3508
  const U = m.isCompatRoot && m.component, z = U || (m.component = jl(m, I, O));
@@ -4701,12 +4701,12 @@ function f5(t) {
4701
4701
  const D = (X) => X.replace(/-from$/, "");
4702
4702
  t.enterFromClass || (L = D(i)), t.appearFromClass || (T = D(a)), t.leaveFromClass || (_ = D(h));
4703
4703
  }
4704
- const x = r9(s), C = x && x[0], E = x && x[1], { onBeforeEnter: M, onEnter: $, onEnterCancelled: j, onLeave: R, onLeaveCancelled: ae, onBeforeAppear: le = M, onAppear: he = $, onAppearCancelled: He = j } = e, Le = (D, X, de) => {
4704
+ const x = r9(s), C = x && x[0], E = x && x[1], { onBeforeEnter: M, onEnter: $, onEnterCancelled: j, onLeave: R, onLeaveCancelled: ae, onBeforeAppear: le = M, onAppear: he = $, onAppearCancelled: He = j } = e, _e = (D, X, de) => {
4705
4705
  Ln(D, X ? u : l), Ln(D, X ? c : o), de && de();
4706
4706
  }, re = (D, X) => {
4707
4707
  D._isLeaving = !1, Ln(D, h), Ln(D, p), Ln(D, d), X && X();
4708
4708
  }, Ne = (D) => (X, de) => {
4709
- const Xe = D ? he : $, Qe = () => Le(X, D, de);
4709
+ const Xe = D ? he : $, Qe = () => _e(X, D, de);
4710
4710
  br(Xe, [X, Qe]), u2(() => {
4711
4711
  Ln(X, D ? a : i), g && Ln(X, D ? T : L), on(X, D ? u : l), c2(Xe) || h2(X, r, C, Qe);
4712
4712
  });
@@ -4728,10 +4728,10 @@ function f5(t) {
4728
4728
  }), br(R, [D, de]);
4729
4729
  },
4730
4730
  onEnterCancelled(D) {
4731
- Le(D, !1), br(j, [D]);
4731
+ _e(D, !1), br(j, [D]);
4732
4732
  },
4733
4733
  onAppearCancelled(D) {
4734
- Le(D, !0), br(He, [D]);
4734
+ _e(D, !0), br(He, [D]);
4735
4735
  },
4736
4736
  onLeaveCancelled(D) {
4737
4737
  re(D), br(ae, [D]);
@@ -5179,9 +5179,9 @@ var L9 = /* @__PURE__ */ Object.freeze({
5179
5179
  withKeys: p9,
5180
5180
  vShow: N0,
5181
5181
  reactive: Rn,
5182
- ref: pe,
5182
+ ref: ge,
5183
5183
  readonly: wl,
5184
- unref: _e,
5184
+ unref: Le,
5185
5185
  proxyRefs: kl,
5186
5186
  isRef: gt,
5187
5187
  toRef: n3,
@@ -25326,12 +25326,12 @@ const hh = () => (uh = X9(), {
25326
25326
  }
25327
25327
  },
25328
25328
  setup(t) {
25329
- const e = t, n = hs(() => _v(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.ad9ac109.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.1ea404c0.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.d2f926b9.js"), "./icons/debug.svg": () => import("./debug.ab7c8dbf.js"), "./icons/message-arrow.svg": () => import("./message-arrow.f78a91c6.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.56cc79b5.js"), "./icons/numbering.svg": () => import("./numbering.76ac4d53.js"), "./icons/privacy.svg": () => import("./privacy.05d4b6f0.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.ae1410c5.js"), "./icons/theme.svg": () => import("./theme.bbf44b85.js"), "./icons/tip.svg": () => import("./tip.d4a623cc.js"), "./icons/zoom-in.svg": () => import("./zoom-in.bdf3b3df.js"), "./icons/zoom-out.svg": () => import("./zoom-out.7062f2d1.js") }), `./icons/${e.name}.svg`));
25329
+ const e = t, n = hs(() => _v(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.195d517a.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.874f1fcd.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.f736bb9c.js"), "./icons/debug.svg": () => import("./debug.0ff13f16.js"), "./icons/message-arrow.svg": () => import("./message-arrow.a8f59a31.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.b79a9030.js"), "./icons/numbering.svg": () => import("./numbering.49ea6dfd.js"), "./icons/privacy.svg": () => import("./privacy.c6be66a6.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.eb0120a9.js"), "./icons/theme.svg": () => import("./theme.41637e42.js"), "./icons/tip.svg": () => import("./tip.393faeb5.js"), "./icons/zoom-in.svg": () => import("./zoom-in.b68740a4.js"), "./icons/zoom-out.svg": () => import("./zoom-out.392ce9d0.js") }), `./icons/${e.name}.svg`));
25330
25330
  return (r, s) => (k(), q("span", {
25331
25331
  class: ve(["flex items-center justify-center", t.iconClass]),
25332
25332
  onClick: s[0] || (s[0] = (i) => r.$emit("icon-click"))
25333
25333
  }, [
25334
- (k(), Re(ks(_e(n)), { class: "w-full h-full" }))
25334
+ (k(), Re(ks(Le(n)), { class: "w-full h-full" }))
25335
25335
  ], 2));
25336
25336
  }
25337
25337
  };
@@ -26581,7 +26581,7 @@ const Pv = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
26581
26581
  redis: cw
26582
26582
  };
26583
26583
  function gh() {
26584
- const t = pe(0), e = pe(0), n = () => {
26584
+ const t = ge(0), e = ge(0), n = () => {
26585
26585
  t.value = document.documentElement.scrollTop, e.value = document.documentElement.scrollLeft;
26586
26586
  };
26587
26587
  return We(() => {
@@ -26614,7 +26614,7 @@ function dw() {
26614
26614
  }), document.body.appendChild(t), { detectorContainer: t, detectors: e });
26615
26615
  }
26616
26616
  function mh() {
26617
- const t = pe(0);
26617
+ const t = ge(0);
26618
26618
  let e;
26619
26619
  return We(() => {
26620
26620
  const { detectorContainer: n, detectors: r } = dw(), s = document.documentElement.scrollHeight, i = document.documentElement.scrollWidth - hw;
@@ -26649,7 +26649,7 @@ function xh(t) {
26649
26649
  const fw = 10, pw = {
26650
26650
  name: "Participant",
26651
26651
  setup(t) {
26652
- const e = Fn(), n = pe(null);
26652
+ const e = Fn(), n = ge(null);
26653
26653
  if (e.state.mode === Gn.Static)
26654
26654
  return { translate: 0, participant: n };
26655
26655
  const r = mh(), [s] = gh();
@@ -27009,7 +27009,7 @@ const uo = /* @__PURE__ */ ze(Ow, [["render", Mw]]), Nw = { class: "message-laye
27009
27009
  context: null
27010
27010
  },
27011
27011
  setup(t) {
27012
- const e = t, n = hs(() => import("./StylePanel.11b8b627.js")), r = b0.child({ name: "MessageLayer" }), s = Fn(), i = G(() => s.getters.participants), o = G(() => s.getters.centerOf), l = G(() => {
27012
+ const e = t, n = hs(() => import("./StylePanel.7eee017a.js")), r = b0.child({ name: "MessageLayer" }), s = Fn(), i = G(() => s.getters.participants), o = G(() => s.getters.centerOf), l = G(() => {
27013
27013
  var g, L;
27014
27014
  const c = (g = e.context) == null ? void 0 : g.stat()[0].message();
27015
27015
  if (!c)
@@ -27032,9 +27032,9 @@ const uo = /* @__PURE__ */ ze(Ow, [["render", Mw]]), Nw = { class: "message-laye
27032
27032
  return k(), q("div", Nw, [
27033
27033
  V(h, {
27034
27034
  context: t.context,
27035
- style: Ce({ "padding-left": _e(a) + "px" })
27035
+ style: Ce({ "padding-left": Le(a) + "px" })
27036
27036
  }, null, 8, ["context", "style"]),
27037
- V(_e(n))
27037
+ V(Le(n))
27038
27038
  ]);
27039
27039
  };
27040
27040
  }
@@ -27143,44 +27143,44 @@ const dc = /* @__PURE__ */ Ye({
27143
27143
  const e = Fn(), n = G(() => e.state.mode), r = G(() => e.getters.rootContext), s = G(() => e.getters.coordinates), i = G(() => yh(r.value, s.value)), o = G(() => {
27144
27144
  const a = s.value.orderedParticipantNames(), u = new uc(a).getFrame(r.value);
27145
27145
  return u ? hc(u).left + il + 20 : 0;
27146
- }), l = pe(null);
27146
+ }), l = ge(null);
27147
27147
  return e.commit("diagramElement", l), (a, c) => (k(), q("div", {
27148
27148
  class: "zenuml sequence-diagram relative box-border text-left overflow-visible",
27149
27149
  ref_key: "diagramRef",
27150
27150
  ref: l
27151
27151
  }, [
27152
27152
  A("div", {
27153
- style: Ce({ paddingLeft: `${_e(o)}px` }),
27153
+ style: Ce({ paddingLeft: `${Le(o)}px` }),
27154
27154
  class: "relative"
27155
27155
  }, [
27156
- _e(n) === _e(Gn).Dynamic ? (k(), q(Fe, { key: 0 }, [
27156
+ Le(n) === Le(Gn).Dynamic ? (k(), q(Fe, { key: 0 }, [
27157
27157
  V(uo, {
27158
- leftGap: _e(o),
27159
- context: _e(r).head(),
27158
+ leftGap: Le(o),
27159
+ context: Le(r).head(),
27160
27160
  renderParticipants: !1,
27161
27161
  renderLifeLine: !0
27162
27162
  }, null, 8, ["leftGap", "context"]),
27163
27163
  V(iu, {
27164
- context: _e(r).block(),
27165
- style: Ce({ width: `${_e(i)}px` })
27164
+ context: Le(r).block(),
27165
+ style: Ce({ width: `${Le(i)}px` })
27166
27166
  }, null, 8, ["context", "style"]),
27167
27167
  V(uo, {
27168
- leftGap: _e(o),
27169
- context: _e(r).head(),
27168
+ leftGap: Le(o),
27169
+ context: Le(r).head(),
27170
27170
  renderParticipants: !0,
27171
27171
  renderLifeLine: !1
27172
27172
  }, null, 8, ["leftGap", "context"])
27173
27173
  ], 64)) : xe("", !0),
27174
- _e(n) === _e(Gn).Static ? (k(), q(Fe, { key: 1 }, [
27174
+ Le(n) === Le(Gn).Static ? (k(), q(Fe, { key: 1 }, [
27175
27175
  V(uo, {
27176
- leftGap: _e(o),
27177
- context: _e(r).head(),
27176
+ leftGap: Le(o),
27177
+ context: Le(r).head(),
27178
27178
  renderParticipants: !0,
27179
27179
  renderLifeLine: !0
27180
27180
  }, null, 8, ["leftGap", "context"]),
27181
27181
  V(iu, {
27182
- context: _e(r).block(),
27183
- style: Ce({ width: `${_e(i)}px` })
27182
+ context: Le(r).block(),
27183
+ style: Ce({ width: `${Le(i)}px` })
27184
27184
  }, null, 8, ["context", "style"])
27185
27185
  ], 64)) : xe("", !0)
27186
27186
  ], 4)
@@ -27462,7 +27462,7 @@ const CE = /* @__PURE__ */ ze(fE, [["render", yE], ["__scopeId", "data-v-de6521b
27462
27462
  number: null
27463
27463
  },
27464
27464
  setup(t) {
27465
- const e = t, { context: n, content: r, rtl: s, type: i, textStyle: o, classNames: l, number: a } = Rl(e), c = Fn(), u = pe(), h = G(() => c.state.numbering), d = G(() => (i == null ? void 0 : i.value) === "async"), p = G(() => {
27465
+ const e = t, { context: n, content: r, rtl: s, type: i, textStyle: o, classNames: l, number: a } = Rl(e), c = Fn(), u = ge(), h = G(() => c.state.numbering), d = G(() => (i == null ? void 0 : i.value) === "async"), p = G(() => {
27466
27466
  switch (i == null ? void 0 : i.value) {
27467
27467
  case "sync":
27468
27468
  case "async":
@@ -27487,13 +27487,13 @@ const CE = /* @__PURE__ */ ze(fE, [["render", yE], ["__scopeId", "data-v-de6521b
27487
27487
  };
27488
27488
  return (T, _) => (k(), q("div", {
27489
27489
  class: ve(["message border-skin-message-arrow border-b-2 flex items-end", {
27490
- "flex-row-reverse": _e(s),
27491
- return: _e(i) === "return",
27492
- "right-to-left": _e(s),
27493
- "text-left": _e(d),
27494
- "text-center": !_e(d)
27490
+ "flex-row-reverse": Le(s),
27491
+ return: Le(i) === "return",
27492
+ "right-to-left": Le(s),
27493
+ "text-left": Le(d),
27494
+ "text-center": !Le(d)
27495
27495
  }]),
27496
- style: Ce({ "border-bottom-style": _e(p) || void 0 }),
27496
+ style: Ce({ "border-bottom-style": Le(p) || void 0 }),
27497
27497
  onClick: L,
27498
27498
  ref_key: "messageRef",
27499
27499
  ref: u
@@ -27501,16 +27501,16 @@ const CE = /* @__PURE__ */ ze(fE, [["render", yE], ["__scopeId", "data-v-de6521b
27501
27501
  A("div", vE, [
27502
27502
  A("div", bE, [
27503
27503
  A("div", {
27504
- style: Ce(_e(o)),
27505
- class: ve(_e(l))
27506
- }, Ve(_e(r)), 7),
27507
- _e(h) ? (k(), q("div", wE, Ve(_e(a)), 1)) : xe("", !0)
27504
+ style: Ce(Le(o)),
27505
+ class: ve(Le(l))
27506
+ }, Ve(Le(r)), 7),
27507
+ Le(h) ? (k(), q("div", wE, Ve(Le(a)), 1)) : xe("", !0)
27508
27508
  ])
27509
27509
  ]),
27510
27510
  V(CE, {
27511
27511
  class: "flex-shrink-0 transform translate-y-1/2 -my-px",
27512
- fill: _e(g),
27513
- rtl: _e(s)
27512
+ fill: Le(g),
27513
+ rtl: Le(s)
27514
27514
  }, null, 8, ["fill", "rtl"])
27515
27515
  ], 6));
27516
27516
  }
@@ -28303,7 +28303,7 @@ function jT(t, e, n = G(() => !0)) {
28303
28303
  }
28304
28304
  return !UT(l, Mh.Loose) && l.tabIndex !== -1 && i.preventDefault(), e(i, l);
28305
28305
  }
28306
- let s = pe(null);
28306
+ let s = ge(null);
28307
28307
  gi("pointerdown", (i) => {
28308
28308
  var o, l;
28309
28309
  n.value && (s.value = ((l = (o = i.composedPath) == null ? void 0 : o.call(i)) == null ? void 0 : l[0]) || i.target);
@@ -28349,7 +28349,7 @@ function ZT(t) {
28349
28349
  }
28350
28350
  }
28351
28351
  function WT(t, e, n) {
28352
- let r = pe(n == null ? void 0 : n.value), s = G(() => t.value !== void 0);
28352
+ let r = ge(n == null ? void 0 : n.value), s = G(() => t.value !== void 0);
28353
28353
  return [G(() => s.value ? t.value : r.value), function(i) {
28354
28354
  return s.value || (r.value = i), e == null ? void 0 : e(i);
28355
28355
  }];
@@ -28405,7 +28405,7 @@ function Z0() {
28405
28405
  }
28406
28406
  var Xs = ((t) => (t[t.Forwards = 0] = "Forwards", t[t.Backwards = 1] = "Backwards", t))(Xs || {});
28407
28407
  function KT() {
28408
- let t = pe(0);
28408
+ let t = ge(0);
28409
28409
  return Ph("keydown", (e) => {
28410
28410
  e.key === "Tab" && (t.value = e.shiftKey ? 1 : 0);
28411
28411
  }), t;
@@ -28434,10 +28434,10 @@ function Hh(t) {
28434
28434
  return e;
28435
28435
  }
28436
28436
  var Uh = ((t) => (t[t.None = 1] = "None", t[t.InitialFocus = 2] = "InitialFocus", t[t.TabLock = 4] = "TabLock", t[t.FocusLock = 8] = "FocusLock", t[t.RestoreFocus = 16] = "RestoreFocus", t[t.All = 30] = "All", t))(Uh || {});
28437
- let Ws = Object.assign(Ye({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: pe(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(t, { attrs: e, slots: n, expose: r }) {
28438
- let s = pe(null);
28437
+ let Ws = Object.assign(Ye({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: ge(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(t, { attrs: e, slots: n, expose: r }) {
28438
+ let s = ge(null);
28439
28439
  r({ el: s, $el: s });
28440
- let i = G(() => Sn(s)), o = pe(!1);
28440
+ let i = G(() => Sn(s)), o = ge(!1);
28441
28441
  We(() => o.value = !0), ht(() => o.value = !1), QT({ ownerDocument: i }, G(() => o.value && Boolean(t.features & 16)));
28442
28442
  let l = JT({ ownerDocument: i, container: s, initialFocus: G(() => t.initialFocus) }, G(() => o.value && Boolean(t.features & 2)));
28443
28443
  eS({ ownerDocument: i, container: s, containers: t.containers, previousActiveElement: l }, G(() => o.value && Boolean(t.features & 8)));
@@ -28452,7 +28452,7 @@ let Ws = Object.assign(Ye({ name: "FocusTrap", props: { as: { type: [Object, Str
28452
28452
  } });
28453
28453
  });
28454
28454
  }
28455
- let u = pe(!1);
28455
+ let u = ge(!1);
28456
28456
  function h(p) {
28457
28457
  p.key === "Tab" && (u.value = !0, requestAnimationFrame(() => {
28458
28458
  u.value = !1;
@@ -28478,7 +28478,7 @@ YT(() => {
28478
28478
  window.addEventListener("click", t, { capture: !0 }), window.addEventListener("mousedown", t, { capture: !0 }), window.addEventListener("focus", t, { capture: !0 }), document.body.addEventListener("click", t, { capture: !0 }), document.body.addEventListener("mousedown", t, { capture: !0 }), document.body.addEventListener("focus", t, { capture: !0 });
28479
28479
  });
28480
28480
  function XT(t) {
28481
- let e = pe(Rr.slice());
28481
+ let e = ge(Rr.slice());
28482
28482
  return Yt([t], ([n], [r]) => {
28483
28483
  r === !0 && n === !1 ? Lc(() => {
28484
28484
  e.value.splice(0);
@@ -28500,7 +28500,7 @@ function QT({ ownerDocument: t }, e) {
28500
28500
  });
28501
28501
  }
28502
28502
  function JT({ ownerDocument: t, container: e, initialFocus: n }, r) {
28503
- let s = pe(null), i = pe(!1);
28503
+ let s = ge(null), i = ge(!1);
28504
28504
  return We(() => i.value = !0), ht(() => i.value = !1), We(() => {
28505
28505
  Yt([e, n, r], (o, l) => {
28506
28506
  if (o.every((c, u) => (l == null ? void 0 : l[u]) === c) || !r.value)
@@ -28546,7 +28546,7 @@ function Vh(t, e) {
28546
28546
  return !1;
28547
28547
  }
28548
28548
  let po = /* @__PURE__ */ new Map(), qs = /* @__PURE__ */ new Map();
28549
- function pu(t, e = pe(!0)) {
28549
+ function pu(t, e = ge(!0)) {
28550
28550
  Qt((n) => {
28551
28551
  var r;
28552
28552
  if (!e.value)
@@ -28592,7 +28592,7 @@ function nS(t) {
28592
28592
  return r.setAttribute("id", "headlessui-portal-root"), e.body.appendChild(r);
28593
28593
  }
28594
28594
  let Gh = Ye({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(t, { slots: e, attrs: n }) {
28595
- let r = pe(null), s = G(() => Sn(r)), i = tS(), o = lt(jh, null), l = pe(i === !0 || o == null ? nS(r.value) : o.resolveTarget());
28595
+ let r = ge(null), s = G(() => Sn(r)), i = tS(), o = lt(jh, null), l = ge(i === !0 || o == null ? nS(r.value) : o.resolveTarget());
28596
28596
  Qt(() => {
28597
28597
  i || o != null && (l.value = o.resolveTarget());
28598
28598
  });
@@ -28612,7 +28612,7 @@ let Gh = Ye({ name: "Portal", props: { as: { type: [Object, String], default: "d
28612
28612
  };
28613
28613
  } }), hl = Symbol("PortalParentContext");
28614
28614
  function rS() {
28615
- let t = lt(hl, null), e = pe([]);
28615
+ let t = lt(hl, null), e = ge([]);
28616
28616
  function n(i) {
28617
28617
  return e.value.push(i), t && t.register(i), () => r(i);
28618
28618
  }
@@ -28662,8 +28662,8 @@ function lS() {
28662
28662
  throw new Error("Missing parent");
28663
28663
  return t;
28664
28664
  }
28665
- function _c({ slot: t = pe({}), name: e = "Description", props: n = {} } = {}) {
28666
- let r = pe([]);
28665
+ function _c({ slot: t = ge({}), name: e = "Description", props: n = {} } = {}) {
28666
+ let r = ge([]);
28667
28667
  function s(i) {
28668
28668
  return r.value.push(i), () => {
28669
28669
  let o = r.value.indexOf(i);
@@ -28675,7 +28675,7 @@ function _c({ slot: t = pe({}), name: e = "Description", props: n = {} } = {}) {
28675
28675
  let QO = Ye({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${Bn()}` } }, setup(t, { attrs: e, slots: n }) {
28676
28676
  let r = lS();
28677
28677
  return We(() => ht(r.register(t.id))), () => {
28678
- let { name: s = "Description", slot: i = pe({}), props: o = {} } = r, { id: l, ...a } = t, c = { ...Object.entries(o).reduce((u, [h, d]) => Object.assign(u, { [h]: _e(d) }), {}), id: l };
28678
+ let { name: s = "Description", slot: i = ge({}), props: o = {} } = r, { id: l, ...a } = t, c = { ...Object.entries(o).reduce((u, [h, d]) => Object.assign(u, { [h]: Le(d) }), {}), id: l };
28679
28679
  return wt({ ourProps: c, theirProps: a, slot: i.value, attrs: e, slots: n, name: s });
28680
28680
  };
28681
28681
  } });
@@ -28791,7 +28791,7 @@ function pS(t, e, n) {
28791
28791
  }, { immediate: !0 }), s;
28792
28792
  }
28793
28793
  function gS({ defaultContainers: t = [], portals: e, mainTreeNodeRef: n } = {}) {
28794
- let r = pe(null), s = Sn(r);
28794
+ let r = ge(null), s = Sn(r);
28795
28795
  function i() {
28796
28796
  var o;
28797
28797
  let l = [];
@@ -28822,18 +28822,18 @@ function W0(t) {
28822
28822
  }
28823
28823
  let mi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", xS = Ye({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: mi }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${Bn()}` } }, emits: { close: (t) => !0 }, setup(t, { emit: e, attrs: n, slots: r, expose: s }) {
28824
28824
  var i;
28825
- let o = pe(!1);
28825
+ let o = ge(!1);
28826
28826
  We(() => {
28827
28827
  o.value = !0;
28828
28828
  });
28829
- let l = pe(0), a = xc(), c = G(() => t.open === mi && a !== null ? (a.value & qt.Open) === qt.Open : t.open), u = pe(null), h = G(() => Sn(u));
28829
+ let l = ge(0), a = xc(), c = G(() => t.open === mi && a !== null ? (a.value & qt.Open) === qt.Open : t.open), u = ge(null), h = G(() => Sn(u));
28830
28830
  if (s({ el: u, $el: u }), !(t.open !== mi || a !== null))
28831
28831
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
28832
28832
  if (typeof c.value != "boolean")
28833
28833
  throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${c.value === mi ? void 0 : t.open}`);
28834
28834
  let d = G(() => o.value && c.value ? 0 : 1), p = G(() => d.value === 0), g = G(() => l.value > 1), L = lt(fl, null) !== null, [T, _] = rS(), { resolveContainers: x, mainTreeNodeRef: C, MainTreeNode: E } = gS({ portals: T, defaultContainers: [G(() => {
28835
28835
  var X;
28836
- return (X = Le.panelRef.value) != null ? X : u.value;
28836
+ return (X = _e.panelRef.value) != null ? X : u.value;
28837
28837
  })] }), M = G(() => g.value ? "parent" : "leaf"), $ = G(() => a !== null ? (a.value & qt.Closing) === qt.Closing : !1), j = G(() => L || $.value ? !1 : p.value), R = G(() => {
28838
28838
  var X, de, Xe;
28839
28839
  return (Xe = Array.from((de = (X = h.value) == null ? void 0 : X.querySelectorAll("body > *")) != null ? de : []).find((Qe) => Qe.id === "headlessui-portal-root" ? !1 : Qe.contains(st(C)) && Qe instanceof HTMLElement)) != null ? Xe : null;
@@ -28847,19 +28847,19 @@ let mi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", xS = Ye({ name: "Dialog", inher
28847
28847
  if (de === "Dialog")
28848
28848
  return Nn(X, { [dl.Add]: () => l.value += 1, [dl.Remove]: () => l.value -= 1 });
28849
28849
  } });
28850
- let he = _c({ name: "DialogDescription", slot: G(() => ({ open: c.value })) }), He = pe(null), Le = { titleId: He, panelRef: pe(null), dialogState: d, setTitleId(X) {
28850
+ let he = _c({ name: "DialogDescription", slot: G(() => ({ open: c.value })) }), He = ge(null), _e = { titleId: He, panelRef: ge(null), dialogState: d, setTitleId(X) {
28851
28851
  He.value !== X && (He.value = X);
28852
28852
  }, close() {
28853
28853
  e("close", !1);
28854
28854
  } };
28855
- Ut(fl, Le);
28855
+ Ut(fl, _e);
28856
28856
  let re = G(() => !(!p.value || g.value));
28857
28857
  jT(x, (X, de) => {
28858
- Le.close(), gr(() => de == null ? void 0 : de.focus());
28858
+ _e.close(), gr(() => de == null ? void 0 : de.focus());
28859
28859
  }, re);
28860
28860
  let Ne = G(() => !(g.value || d.value !== 0));
28861
28861
  $h((i = h.value) == null ? void 0 : i.defaultView, "keydown", (X) => {
28862
- Ne.value && (X.defaultPrevented || X.key === sr.Escape && (X.preventDefault(), X.stopPropagation(), Le.close()));
28862
+ Ne.value && (X.defaultPrevented || X.key === sr.Escape && (X.preventDefault(), X.stopPropagation(), _e.close()));
28863
28863
  });
28864
28864
  let D = G(() => !($.value || d.value !== 0 || L));
28865
28865
  return pS(h, D, (X) => {
@@ -28874,7 +28874,7 @@ let mi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", xS = Ye({ name: "Dialog", inher
28874
28874
  let Xe = new ResizeObserver((Qe) => {
28875
28875
  for (let Ot of Qe) {
28876
28876
  let it = Ot.target.getBoundingClientRect();
28877
- it.x === 0 && it.y === 0 && it.width === 0 && it.height === 0 && Le.close();
28877
+ it.x === 0 && it.y === 0 && it.width === 0 && it.height === 0 && _e.close();
28878
28878
  }
28879
28879
  });
28880
28880
  Xe.observe(de), X(() => Xe.disconnect());
@@ -28894,7 +28894,7 @@ Ye({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div
28894
28894
  };
28895
28895
  } });
28896
28896
  Ye({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${Bn()}` } }, inheritAttrs: !1, setup(t, { attrs: e, slots: n, expose: r }) {
28897
- let s = W0("DialogBackdrop"), i = pe(null);
28897
+ let s = W0("DialogBackdrop"), i = ge(null);
28898
28898
  return r({ el: i, $el: i }), We(() => {
28899
28899
  if (s.panelRef.value === null)
28900
28900
  throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
@@ -28931,7 +28931,7 @@ function Kh() {
28931
28931
  return t;
28932
28932
  }
28933
28933
  function Yh({ slot: t = {}, name: e = "Label", props: n = {} } = {}) {
28934
- let r = pe([]);
28934
+ let r = ge([]);
28935
28935
  function s(i) {
28936
28936
  return r.value.push(i), () => {
28937
28937
  let o = r.value.indexOf(i);
@@ -28943,7 +28943,7 @@ function Yh({ slot: t = {}, name: e = "Label", props: n = {} } = {}) {
28943
28943
  let yS = Ye({ name: "Label", props: { as: { type: [Object, String], default: "label" }, passive: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-label-${Bn()}` } }, setup(t, { slots: e, attrs: n }) {
28944
28944
  let r = Kh();
28945
28945
  return We(() => ht(r.register(t.id))), () => {
28946
- let { name: s = "Label", slot: i = {}, props: o = {} } = r, { id: l, passive: a, ...c } = t, u = { ...Object.entries(o).reduce((h, [d, p]) => Object.assign(h, { [d]: _e(p) }), {}), id: l };
28946
+ let { name: s = "Label", slot: i = {}, props: o = {} } = r, { id: l, passive: a, ...c } = t, u = { ...Object.entries(o).reduce((h, [d, p]) => Object.assign(h, { [d]: Le(p) }), {}), id: l };
28947
28947
  return a && (delete u.onClick, delete u.htmlFor, delete c.onClick), wt({ ourProps: u, theirProps: c, slot: i, attrs: n, slots: e, name: s });
28948
28948
  };
28949
28949
  } });
@@ -28960,7 +28960,7 @@ function Qh(t) {
28960
28960
  return e;
28961
28961
  }
28962
28962
  let vS = Ye({ name: "RadioGroup", emits: { "update:modelValue": (t) => !0 }, props: { as: { type: [Object, String], default: "div" }, disabled: { type: [Boolean], default: !1 }, by: { type: [String, Function], default: () => CS }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, id: { type: String, default: () => `headlessui-radiogroup-${Bn()}` } }, inheritAttrs: !1, setup(t, { emit: e, attrs: n, slots: r, expose: s }) {
28963
- let i = pe(null), o = pe([]), l = Yh({ name: "RadioGroupLabel" }), a = _c({ name: "RadioGroupDescription" });
28963
+ let i = ge(null), o = ge([]), l = Yh({ name: "RadioGroupLabel" }), a = _c({ name: "RadioGroupDescription" });
28964
28964
  s({ el: i, $el: i });
28965
28965
  let [c, u] = WT(G(() => t.modelValue), (g) => e("update:modelValue", g), G(() => t.defaultValue)), h = { options: o, value: c, disabled: G(() => t.disabled), firstOption: G(() => o.value.find((g) => !g.propsRef.disabled)), containsCheckedOption: G(() => o.value.some((g) => h.compare(we(g.propsRef.value), we(t.modelValue)))), compare(g, L) {
28966
28966
  if (typeof t.by == "string") {
@@ -29048,7 +29048,7 @@ let vS = Ye({ name: "RadioGroup", emits: { "update:modelValue": (t) => !0 }, pro
29048
29048
  } });
29049
29049
  var bS = ((t) => (t[t.Empty = 1] = "Empty", t[t.Active = 2] = "Active", t))(bS || {});
29050
29050
  let wS = Ye({ name: "RadioGroupOption", props: { as: { type: [Object, String], default: "div" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-radiogroup-option-${Bn()}` } }, setup(t, { attrs: e, slots: n, expose: r }) {
29051
- let s = Qh("RadioGroupOption"), i = Yh({ name: "RadioGroupLabel" }), o = _c({ name: "RadioGroupDescription" }), l = pe(null), a = G(() => ({ value: t.value, disabled: t.disabled })), c = pe(1);
29051
+ let s = Qh("RadioGroupOption"), i = Yh({ name: "RadioGroupLabel" }), o = _c({ name: "RadioGroupDescription" }), l = ge(null), a = G(() => ({ value: t.value, disabled: t.disabled })), c = ge(1);
29052
29052
  r({ el: l, $el: l });
29053
29053
  let u = G(() => st(l));
29054
29054
  We(() => s.registerOption({ id: t.id, element: u, propsRef: a })), ht(() => s.unregisterOption(t.id));
@@ -29127,7 +29127,7 @@ function U1(t) {
29127
29127
  return "children" in t ? U1(t.children) : t.value.filter(({ state: e }) => e === "visible").length > 0;
29128
29128
  }
29129
29129
  function Jh(t) {
29130
- let e = pe([]), n = pe(!1);
29130
+ let e = ge([]), n = ge(!1);
29131
29131
  We(() => n.value = !0), ht(() => n.value = !1);
29132
29132
  function r(i, o = lr.Hidden) {
29133
29133
  let l = e.value.findIndex(({ id: a }) => a === i);
@@ -29144,7 +29144,7 @@ function Jh(t) {
29144
29144
  return { children: e, register: s, unregister: r };
29145
29145
  }
29146
29146
  let e6 = Gi.RenderStrategy, gl = Ye({ props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: e, attrs: n, slots: r, expose: s }) {
29147
- let i = pe(0);
29147
+ let i = ge(0);
29148
29148
  function o() {
29149
29149
  i.value |= qt.Opening, e("beforeEnter");
29150
29150
  }
@@ -29159,14 +29159,14 @@ let e6 = Gi.RenderStrategy, gl = Ye({ props: { as: { type: [Object, String], def
29159
29159
  }
29160
29160
  if (!AS() && MT())
29161
29161
  return () => ct(t6, { ...t, onBeforeEnter: o, onAfterEnter: l, onBeforeLeave: a, onAfterLeave: c }, r);
29162
- let u = pe(null), h = G(() => t.unmount ? lr.Unmount : lr.Hidden);
29162
+ let u = ge(null), h = G(() => t.unmount ? lr.Unmount : lr.Hidden);
29163
29163
  s({ el: u, $el: u });
29164
- let { show: d, appear: p } = kS(), { register: g, unregister: L } = RS(), T = pe(d.value ? "visible" : "hidden"), _ = { value: !0 }, x = Bn(), C = { value: !1 }, E = Jh(() => {
29164
+ let { show: d, appear: p } = kS(), { register: g, unregister: L } = RS(), T = ge(d.value ? "visible" : "hidden"), _ = { value: !0 }, x = Bn(), C = { value: !1 }, E = Jh(() => {
29165
29165
  !C.value && T.value !== "hidden" && (T.value = "hidden", L(x), c());
29166
29166
  });
29167
29167
  We(() => {
29168
- let Le = g(x);
29169
- ht(Le);
29168
+ let _e = g(x);
29169
+ ht(_e);
29170
29170
  }), Qt(() => {
29171
29171
  if (h.value === lr.Hidden && x) {
29172
29172
  if (d.value && T.value !== "visible") {
@@ -29180,26 +29180,26 @@ let e6 = Gi.RenderStrategy, gl = Ye({ props: { as: { type: [Object, String], def
29180
29180
  We(() => {
29181
29181
  Qt(() => {
29182
29182
  if (T.value === "visible") {
29183
- let Le = st(u);
29184
- if (Le instanceof Comment && Le.data === "")
29183
+ let _e = st(u);
29184
+ if (_e instanceof Comment && _e.data === "")
29185
29185
  throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
29186
29186
  }
29187
29187
  });
29188
29188
  });
29189
- function He(Le) {
29189
+ function He(_e) {
29190
29190
  let re = _.value && !p.value, Ne = st(u);
29191
- !Ne || !(Ne instanceof HTMLElement) || re || (C.value = !0, d.value && o(), d.value || a(), Le(d.value ? mu(Ne, M, $, j, R, (D) => {
29191
+ !Ne || !(Ne instanceof HTMLElement) || re || (C.value = !0, d.value && o(), d.value || a(), _e(d.value ? mu(Ne, M, $, j, R, (D) => {
29192
29192
  C.value = !1, D === pl.Finished && l();
29193
29193
  }) : mu(Ne, ae, le, he, R, (D) => {
29194
29194
  C.value = !1, D === pl.Finished && (U1(E) || (T.value = "hidden", L(x), c()));
29195
29195
  })));
29196
29196
  }
29197
29197
  return We(() => {
29198
- Yt([d], (Le, re, Ne) => {
29198
+ Yt([d], (_e, re, Ne) => {
29199
29199
  He(Ne), _.value = !1;
29200
29200
  }, { immediate: !0 });
29201
29201
  }), Ut(Cc, E), NT(G(() => Nn(T.value, { visible: qt.Open, hidden: qt.Closed }) | i.value)), () => {
29202
- let { appear: Le, show: re, enter: Ne, enterFrom: D, enterTo: X, entered: de, leave: Xe, leaveFrom: Qe, leaveTo: Ot, ...it } = t, N = { ref: u }, se = { ...it, ...p.value && d.value && j0.isServer ? { class: ve([n.class, it.class, ...M, ...$]) } : {} };
29202
+ let { appear: _e, show: re, enter: Ne, enterFrom: D, enterTo: X, entered: de, leave: Xe, leaveFrom: Qe, leaveTo: Ot, ...it } = t, N = { ref: u }, se = { ...it, ...p.value && d.value && j0.isServer ? { class: ve([n.class, it.class, ...M, ...$]) } : {} };
29203
29203
  return wt({ theirProps: se, ourProps: N, slot: {}, slots: r, attrs: n, features: e6, visible: T.value === "visible", name: "TransitionChild" });
29204
29204
  };
29205
29205
  } }), OS = gl, t6 = Ye({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: e, attrs: n, slots: r }) {
@@ -29208,9 +29208,9 @@ let e6 = Gi.RenderStrategy, gl = Ye({ props: { as: { type: [Object, String], def
29208
29208
  if (![!0, !1].includes(i.value))
29209
29209
  throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.');
29210
29210
  });
29211
- let o = pe(i.value ? "visible" : "hidden"), l = Jh(() => {
29211
+ let o = ge(i.value ? "visible" : "hidden"), l = Jh(() => {
29212
29212
  o.value = "hidden";
29213
- }), a = pe(!0), c = { show: i, appear: G(() => t.appear || !a.value) };
29213
+ }), a = ge(!0), c = { show: i, appear: G(() => t.appear || !a.value) };
29214
29214
  return We(() => {
29215
29215
  Qt(() => {
29216
29216
  a.value = !1, i.value ? o.value = "visible" : U1(l) || (o.value = "hidden");
@@ -29269,7 +29269,7 @@ const PS = {
29269
29269
  }, FS = /* @__PURE__ */ A("div", { class: "fixed inset-0 bg-black bg-opacity-25" }, null, -1), DS = { class: "fixed inset-0 overflow-y-auto" }, BS = { class: "flex min-h-full items-center justify-center p-4 text-center" }, $S = /* @__PURE__ */ A("p", { class: "text-gray-500 text-sm" }, "Customize your UI theme", -1), HS = { class: "mt-4" }, US = { class: "space-y-2" }, VS = { class: "flex w-full items-center justify-between" }, zS = { class: "flex items-center text-sm text-gray-900" }, GS = ["innerHTML"], jS = {
29270
29270
  __name: "ThemeSelect",
29271
29271
  setup(t) {
29272
- const e = pe(!1), n = [
29272
+ const e = ge(!1), n = [
29273
29273
  {
29274
29274
  name: "Legacy",
29275
29275
  id: "theme-default",
@@ -29285,7 +29285,7 @@ const PS = {
29285
29285
  id: "theme-clean-dark",
29286
29286
  icon: NS
29287
29287
  }
29288
- ], r = Fn(), s = pe(r.state.theme || n[0].id), i = pe(r.state.themeIconDot), o = () => {
29288
+ ], r = Fn(), s = G(() => r.state.theme || n[0].id), i = ge(r.state.themeIconDot), o = () => {
29289
29289
  e.value = !1;
29290
29290
  }, l = () => {
29291
29291
  e.value = !0, i.value = !0, r.commit("setThemeIconDot", !0);
@@ -29301,19 +29301,19 @@ const PS = {
29301
29301
  V(dr, { name: "theme" }),
29302
29302
  i.value ? xe("", !0) : (k(), q("span", PS))
29303
29303
  ]),
29304
- V(_e(t6), {
29304
+ V(Le(t6), {
29305
29305
  appear: "",
29306
29306
  show: e.value,
29307
29307
  as: "template"
29308
29308
  }, {
29309
29309
  default: jt(() => [
29310
- V(_e(xS), {
29310
+ V(Le(xS), {
29311
29311
  as: "div",
29312
29312
  onClose: o,
29313
29313
  class: "relative z-10"
29314
29314
  }, {
29315
29315
  default: jt(() => [
29316
- V(_e(gl), {
29316
+ V(Le(gl), {
29317
29317
  as: "template",
29318
29318
  enter: "duration-300 ease-out",
29319
29319
  "enter-from": "opacity-0",
@@ -29329,7 +29329,7 @@ const PS = {
29329
29329
  }),
29330
29330
  A("div", DS, [
29331
29331
  A("div", BS, [
29332
- V(_e(gl), {
29332
+ V(Le(gl), {
29333
29333
  as: "template",
29334
29334
  enter: "duration-300 ease-out",
29335
29335
  "enter-from": "opacity-0 scale-95",
@@ -29339,9 +29339,9 @@ const PS = {
29339
29339
  "leave-to": "opacity-0 scale-95"
29340
29340
  }, {
29341
29341
  default: jt(() => [
29342
- V(_e(LS), { class: "w-full max-w-md transform overflow-hidden rounded-2xl bg-white p-6 text-left align-middle shadow-xl transition-all" }, {
29342
+ V(Le(LS), { class: "w-full max-w-md transform overflow-hidden rounded-2xl bg-white p-6 text-left align-middle shadow-xl transition-all" }, {
29343
29343
  default: jt(() => [
29344
- V(_e(_S), {
29344
+ V(Le(_S), {
29345
29345
  as: "h3",
29346
29346
  class: "text-lg font-semibold leading-6 text-gray-900"
29347
29347
  }, {
@@ -29353,19 +29353,19 @@ const PS = {
29353
29353
  $S,
29354
29354
  A("div", HS, [
29355
29355
  A("div", null, [
29356
- V(_e(vS), {
29357
- "model-value": s.value,
29356
+ V(Le(vS), {
29357
+ "model-value": Le(s),
29358
29358
  "onUpdate:modelValue": a
29359
29359
  }, {
29360
29360
  default: jt(() => [
29361
- V(_e(gu), { class: "sr-only" }, {
29361
+ V(Le(gu), { class: "sr-only" }, {
29362
29362
  default: jt(() => [
29363
29363
  dn("Server size")
29364
29364
  ], void 0, !0),
29365
29365
  _: 1
29366
29366
  }),
29367
29367
  A("div", US, [
29368
- (k(), q(Fe, null, On(n, (h) => V(_e(wS), {
29368
+ (k(), q(Fe, null, On(n, (h) => V(Le(wS), {
29369
29369
  as: "template",
29370
29370
  key: h.id,
29371
29371
  value: h.id
@@ -29387,7 +29387,7 @@ const PS = {
29387
29387
  name: "non-selected-cycle",
29388
29388
  "icon-class": "h-5 w-5"
29389
29389
  })),
29390
- V(_e(gu), {
29390
+ V(Le(gu), {
29391
29391
  as: "p",
29392
29392
  class: ve([
29393
29393
  "text-gray-900",
@@ -30890,12 +30890,12 @@ class Kn {
30890
30890
  return r;
30891
30891
  }
30892
30892
  }
30893
- function ge(t, e, n) {
30893
+ function pe(t, e, n) {
30894
30894
  if (typeof t > "u" || t === null)
30895
30895
  throw new Error("marked(): input parameter is undefined or null");
30896
30896
  if (typeof t != "string")
30897
30897
  throw new Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected");
30898
- if (typeof e == "function" && (n = e, e = null), e = mn({}, ge.defaults, e || {}), i6(e), n) {
30898
+ if (typeof e == "function" && (n = e, e = null), e = mn({}, pe.defaults, e || {}), i6(e), n) {
30899
30899
  const r = e.highlight;
30900
30900
  let s;
30901
30901
  try {
@@ -30907,7 +30907,7 @@ function ge(t, e, n) {
30907
30907
  let a;
30908
30908
  if (!l)
30909
30909
  try {
30910
- e.walkTokens && ge.walkTokens(s, e.walkTokens), a = Kn.parse(s, e);
30910
+ e.walkTokens && pe.walkTokens(s, e.walkTokens), a = Kn.parse(s, e);
30911
30911
  } catch (c) {
30912
30912
  l = c;
30913
30913
  }
@@ -30916,7 +30916,7 @@ function ge(t, e, n) {
30916
30916
  if (!r || r.length < 3 || (delete e.highlight, !s.length))
30917
30917
  return i();
30918
30918
  let o = 0;
30919
- ge.walkTokens(s, function(l) {
30919
+ pe.walkTokens(s, function(l) {
30920
30920
  l.type === "code" && (o++, setTimeout(() => {
30921
30921
  r(l.text, l.lang, function(a, c) {
30922
30922
  if (a)
@@ -30929,7 +30929,7 @@ function ge(t, e, n) {
30929
30929
  }
30930
30930
  try {
30931
30931
  const r = qn.lex(t, e);
30932
- return e.walkTokens && ge.walkTokens(r, e.walkTokens), Kn.parse(r, e);
30932
+ return e.walkTokens && pe.walkTokens(r, e.walkTokens), Kn.parse(r, e);
30933
30933
  } catch (r) {
30934
30934
  if (r.message += `
30935
30935
  Please report this to https://github.com/markedjs/marked.`, e.silent)
@@ -30937,13 +30937,13 @@ Please report this to https://github.com/markedjs/marked.`, e.silent)
30937
30937
  throw r;
30938
30938
  }
30939
30939
  }
30940
- ge.options = ge.setOptions = function(t) {
30941
- return mn(ge.defaults, t), aA(ge.defaults), ge;
30940
+ pe.options = pe.setOptions = function(t) {
30941
+ return mn(pe.defaults, t), aA(pe.defaults), pe;
30942
30942
  };
30943
- ge.getDefaults = r6;
30944
- ge.defaults = Bs;
30945
- ge.use = function(...t) {
30946
- const e = mn({}, ...t), n = ge.defaults.extensions || { renderers: {}, childTokens: {} };
30943
+ pe.getDefaults = r6;
30944
+ pe.defaults = Bs;
30945
+ pe.use = function(...t) {
30946
+ const e = mn({}, ...t), n = pe.defaults.extensions || { renderers: {}, childTokens: {} };
30947
30947
  let r;
30948
30948
  t.forEach((s) => {
30949
30949
  if (s.extensions && (r = !0, s.extensions.forEach((i) => {
@@ -30963,7 +30963,7 @@ ge.use = function(...t) {
30963
30963
  }
30964
30964
  i.childTokens && (n.childTokens[i.name] = i.childTokens);
30965
30965
  })), s.renderer) {
30966
- const i = ge.defaults.renderer || new bc();
30966
+ const i = pe.defaults.renderer || new bc();
30967
30967
  for (const o in s.renderer) {
30968
30968
  const l = i[o];
30969
30969
  i[o] = (...a) => {
@@ -30974,7 +30974,7 @@ ge.use = function(...t) {
30974
30974
  e.renderer = i;
30975
30975
  }
30976
30976
  if (s.tokenizer) {
30977
- const i = ge.defaults.tokenizer || new vc();
30977
+ const i = pe.defaults.tokenizer || new vc();
30978
30978
  for (const o in s.tokenizer) {
30979
30979
  const l = i[o];
30980
30980
  i[o] = (...a) => {
@@ -30985,44 +30985,44 @@ ge.use = function(...t) {
30985
30985
  e.tokenizer = i;
30986
30986
  }
30987
30987
  if (s.walkTokens) {
30988
- const i = ge.defaults.walkTokens;
30988
+ const i = pe.defaults.walkTokens;
30989
30989
  e.walkTokens = function(o) {
30990
30990
  s.walkTokens.call(this, o), i && i.call(this, o);
30991
30991
  };
30992
30992
  }
30993
- r && (e.extensions = n), ge.setOptions(e);
30993
+ r && (e.extensions = n), pe.setOptions(e);
30994
30994
  });
30995
30995
  };
30996
- ge.walkTokens = function(t, e) {
30996
+ pe.walkTokens = function(t, e) {
30997
30997
  for (const n of t)
30998
- switch (e.call(ge, n), n.type) {
30998
+ switch (e.call(pe, n), n.type) {
30999
30999
  case "table": {
31000
31000
  for (const r of n.header)
31001
- ge.walkTokens(r.tokens, e);
31001
+ pe.walkTokens(r.tokens, e);
31002
31002
  for (const r of n.rows)
31003
31003
  for (const s of r)
31004
- ge.walkTokens(s.tokens, e);
31004
+ pe.walkTokens(s.tokens, e);
31005
31005
  break;
31006
31006
  }
31007
31007
  case "list": {
31008
- ge.walkTokens(n.items, e);
31008
+ pe.walkTokens(n.items, e);
31009
31009
  break;
31010
31010
  }
31011
31011
  default:
31012
- ge.defaults.extensions && ge.defaults.extensions.childTokens && ge.defaults.extensions.childTokens[n.type] ? ge.defaults.extensions.childTokens[n.type].forEach(function(r) {
31013
- ge.walkTokens(n[r], e);
31014
- }) : n.tokens && ge.walkTokens(n.tokens, e);
31012
+ pe.defaults.extensions && pe.defaults.extensions.childTokens && pe.defaults.extensions.childTokens[n.type] ? pe.defaults.extensions.childTokens[n.type].forEach(function(r) {
31013
+ pe.walkTokens(n[r], e);
31014
+ }) : n.tokens && pe.walkTokens(n.tokens, e);
31015
31015
  }
31016
31016
  };
31017
- ge.parseInline = function(t, e) {
31017
+ pe.parseInline = function(t, e) {
31018
31018
  if (typeof t > "u" || t === null)
31019
31019
  throw new Error("marked.parseInline(): input parameter is undefined or null");
31020
31020
  if (typeof t != "string")
31021
31021
  throw new Error("marked.parseInline(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected");
31022
- e = mn({}, ge.defaults, e || {}), i6(e);
31022
+ e = mn({}, pe.defaults, e || {}), i6(e);
31023
31023
  try {
31024
31024
  const n = qn.lexInline(t, e);
31025
- return e.walkTokens && ge.walkTokens(n, e.walkTokens), Kn.parseInline(n, e);
31025
+ return e.walkTokens && pe.walkTokens(n, e.walkTokens), Kn.parseInline(n, e);
31026
31026
  } catch (n) {
31027
31027
  if (n.message += `
31028
31028
  Please report this to https://github.com/markedjs/marked.`, e.silent)
@@ -31030,20 +31030,20 @@ Please report this to https://github.com/markedjs/marked.`, e.silent)
31030
31030
  throw n;
31031
31031
  }
31032
31032
  };
31033
- ge.Parser = Kn;
31034
- ge.parser = Kn.parse;
31035
- ge.Renderer = bc;
31036
- ge.TextRenderer = o6;
31037
- ge.Lexer = qn;
31038
- ge.lexer = qn.lex;
31039
- ge.Tokenizer = vc;
31040
- ge.Slugger = l6;
31041
- ge.parse = ge;
31042
- ge.options;
31043
- ge.setOptions;
31044
- ge.use;
31045
- ge.walkTokens;
31046
- ge.parseInline;
31033
+ pe.Parser = Kn;
31034
+ pe.parser = Kn.parse;
31035
+ pe.Renderer = bc;
31036
+ pe.TextRenderer = o6;
31037
+ pe.Lexer = qn;
31038
+ pe.lexer = qn.lex;
31039
+ pe.Tokenizer = vc;
31040
+ pe.Slugger = l6;
31041
+ pe.parse = pe;
31042
+ pe.options;
31043
+ pe.setOptions;
31044
+ pe.use;
31045
+ pe.walkTokens;
31046
+ pe.parseInline;
31047
31047
  Kn.parse;
31048
31048
  qn.lex;
31049
31049
  function wc(t) {
@@ -31915,7 +31915,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), xn = N, tt = se);
31915
31915
  for (const se of Object.keys(n))
31916
31916
  n[se] === N && delete n[se];
31917
31917
  }
31918
- function Le() {
31918
+ function _e() {
31919
31919
  return Object.keys(e);
31920
31920
  }
31921
31921
  function re(N) {
@@ -31975,7 +31975,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), xn = N, tt = se);
31975
31975
  initHighlightingOnLoad: j,
31976
31976
  registerLanguage: he,
31977
31977
  unregisterLanguage: He,
31978
- listLanguages: Le,
31978
+ listLanguages: _e,
31979
31979
  getLanguage: Ne,
31980
31980
  registerAliases: D,
31981
31981
  requireLanguage: re,
@@ -32712,7 +32712,7 @@ const Pk = {
32712
32712
  ` : `<code>${t}</code>`;
32713
32713
  }
32714
32714
  };
32715
- ge.setOptions({
32715
+ pe.setOptions({
32716
32716
  highlight: function(t, e) {
32717
32717
  if (!e)
32718
32718
  return Br.highlightAuto(t).value;
@@ -32721,14 +32721,14 @@ ge.setOptions({
32721
32721
  },
32722
32722
  breaks: !0
32723
32723
  });
32724
- ge.use({ renderer: Pk });
32724
+ pe.use({ renderer: Pk });
32725
32725
  const Fk = {
32726
32726
  name: "comment",
32727
32727
  props: ["comment", "commentObj"],
32728
32728
  computed: {
32729
32729
  markedComment() {
32730
32730
  var t, e;
32731
- return ((t = this.commentObj) == null ? void 0 : t.text) && ge.parse((e = this.commentObj) == null ? void 0 : e.text) || this.comment && ge.parse(this.comment);
32731
+ return ((t = this.commentObj) == null ? void 0 : t.text) && pe.parse((e = this.commentObj) == null ? void 0 : e.text) || this.comment && pe.parse(this.comment);
32732
32732
  },
32733
32733
  commentStyle() {
32734
32734
  var t;
@@ -33037,7 +33037,7 @@ const nR = /* @__PURE__ */ ze(Xk, [["render", tR]]), rR = { class: "name group p
33037
33037
  classNames: null
33038
33038
  },
33039
33039
  setup(t) {
33040
- const e = t, { context: n } = Rl(e), r = Fn(), s = G(() => r.state.numbering), i = pe(), o = () => {
33040
+ const e = t, { context: n } = Rl(e), r = Fn(), s = G(() => r.state.numbering), i = ge(), o = () => {
33041
33041
  r.getters.onMessageClick(n, i.value);
33042
33042
  };
33043
33043
  return (l, a) => (k(), q("div", {
@@ -33048,7 +33048,7 @@ const nR = /* @__PURE__ */ ze(Xk, [["render", tR]]), rR = { class: "name group p
33048
33048
  ref: i
33049
33049
  }, [
33050
33050
  A("label", rR, [
33051
- _e(s) ? (k(), q("div", sR, Ve(t.number), 1)) : xe("", !0),
33051
+ Le(s) ? (k(), q("div", sR, Ve(t.number), 1)) : xe("", !0),
33052
33052
  A("div", {
33053
33053
  style: Ce(t.textStyle),
33054
33054
  class: ve(t.classNames)
@@ -33471,7 +33471,7 @@ const AR = /* @__PURE__ */ ze(wR, [["render", SR], ["__scopeId", "data-v-048a518
33471
33471
  name: "ConditionLabel",
33472
33472
  props: ["block", "getConditionFromBlock"],
33473
33473
  setup(t) {
33474
- const e = pe(!1), n = Fn(), r = G(() => n.getters.code), s = G(
33474
+ const e = ge(!1), n = Fn(), r = G(() => n.getters.code), s = G(
33475
33475
  () => n.getters.onContentChange || (() => {
33476
33476
  })
33477
33477
  ), i = G(() => t.getConditionFromBlock(t.block)), o = G(
@@ -34433,7 +34433,7 @@ const GO = /* @__PURE__ */ ze(VO, [["render", zO]]), jO = { class: "block" }, ZO
34433
34433
  return ((s = e.context) == null ? void 0 : s.stat()) || [];
34434
34434
  }), r = (s) => e.number ? e.incremental ? m6(e.number, s) : `${e.number}.${s + 1}` : String(s + 1);
34435
34435
  return (s, i) => (k(), q("div", jO, [
34436
- (k(!0), q(Fe, null, On(_e(n), (o, l) => (k(), q("div", {
34436
+ (k(!0), q(Fe, null, On(Le(n), (o, l) => (k(), q("div", {
34437
34437
  class: "statement-container mt-1",
34438
34438
  key: l
34439
34439
  }, [
@@ -34540,14 +34540,14 @@ export {
34540
34540
  k as o,
34541
34541
  Ut as p,
34542
34542
  an as q,
34543
- pe as r,
34543
+ ge as r,
34544
34544
  e3 as s,
34545
34545
  n3 as t,
34546
- _e as u,
34546
+ Le as u,
34547
34547
  Ye as v,
34548
34548
  Yt as w,
34549
34549
  Fn as x,
34550
34550
  xh as y,
34551
34551
  Re as z
34552
34552
  };
34553
- //# sourceMappingURL=core.9ef99c7f.js.map
34553
+ //# sourceMappingURL=core.2c7790c4.js.map