@harnessio/ui 0.5.50 → 0.5.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/components.d.ts +3 -0
  2. package/dist/components.js +1 -1
  3. package/dist/context.d.ts +1 -0
  4. package/dist/{index-BVmuLE5Z.js → index-D19eVIF2.js} +546 -545
  5. package/dist/{index-BVmuLE5Z.js.map → index-D19eVIF2.js.map} +1 -1
  6. package/dist/index.d.ts +3 -0
  7. package/dist/index.js +1 -1
  8. package/dist/styles.css +1 -1
  9. package/dist/themes/{dark-deuteranopia.7a94edfb.css → dark-deuteranopia.c8ce82e9.css} +1 -1
  10. package/dist/themes/dark-dimmer-deuteranopia.2982665b.css +5 -0
  11. package/dist/themes/dark-dimmer-protanopia.de2babf0.css +5 -0
  12. package/dist/themes/dark-dimmer-tritanopia.b2a90941.css +5 -0
  13. package/dist/themes/dark-dimmer.72588e44.css +5 -0
  14. package/dist/themes/{dark-high-contrast-deuteranopia.1b14adeb.css → dark-high-contrast-deuteranopia.8ba52536.css} +1 -1
  15. package/dist/themes/{dark-high-contrast-protanopia.3f336684.css → dark-high-contrast-protanopia.7fe56ba5.css} +1 -1
  16. package/dist/themes/{dark-high-contrast-tritanopia.6043bc72.css → dark-high-contrast-tritanopia.ef769fd1.css} +1 -1
  17. package/dist/themes/{dark-high-contrast.0ae3331b.css → dark-high-contrast.92a0c729.css} +1 -1
  18. package/dist/themes/{dark-protanopia.354cf292.css → dark-protanopia.28269297.css} +1 -1
  19. package/dist/themes/{dark-tritanopia.707fe8f2.css → dark-tritanopia.d336758f.css} +1 -1
  20. package/dist/themes/{light-deuteranopia.f34eba1f.css → light-deuteranopia.2eb1464b.css} +1 -1
  21. package/dist/themes/{light-dimmer-deuteranopia.a062063c.css → light-dimmer-deuteranopia.6923a80e.css} +1 -1
  22. package/dist/themes/{light-dimmer-protanopia.01034e1e.css → light-dimmer-protanopia.d2862f9f.css} +1 -1
  23. package/dist/themes/{light-dimmer-tritanopia.2ddcbf91.css → light-dimmer-tritanopia.a62b667f.css} +1 -1
  24. package/dist/themes/{light-dimmer.39c3b1e4.css → light-dimmer.c0be7a64.css} +1 -1
  25. package/dist/themes/{light-high-contrast-deuteranopia.800aed79.css → light-high-contrast-deuteranopia.9b82bae2.css} +1 -1
  26. package/dist/themes/{light-high-contrast-protanopia.bde51730.css → light-high-contrast-protanopia.bf82dc1f.css} +1 -1
  27. package/dist/themes/{light-high-contrast-tritanopia.63b944b0.css → light-high-contrast-tritanopia.b5c42be9.css} +1 -1
  28. package/dist/themes/{light-high-contrast.0cca7457.css → light-high-contrast.6b57ee4e.css} +1 -1
  29. package/dist/themes/{light-protanopia.538d37d9.css → light-protanopia.03a7ca55.css} +1 -1
  30. package/dist/themes/{light-tritanopia.bb8be69b.css → light-tritanopia.4636b57c.css} +1 -1
  31. package/dist/themes/theme-manifest.js +22 -22
  32. package/dist/themes/theme-manifest.json +22 -22
  33. package/package.json +2 -2
  34. package/dist/themes/dark-dimmer-deuteranopia.1fd722c0.css +0 -5
  35. package/dist/themes/dark-dimmer-protanopia.b86cf633.css +0 -5
  36. package/dist/themes/dark-dimmer-tritanopia.ad3388b0.css +0 -5
  37. package/dist/themes/dark-dimmer.50c0bab7.css +0 -5
@@ -3633,7 +3633,7 @@ function G6({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, sn
3633
3633
  document.body.style.pointerEvents = "auto";
3634
3634
  }), je || (document.body.style.pointerEvents = "auto");
3635
3635
  }
3636
- }), [Y, F] = ce.useState(!1), [H, w] = ce.useState(!1), [Q, V] = ce.useState(!1), O = ce.useRef(null), U = ce.useRef(null), P = ce.useRef(null), W = ce.useRef(null), X = ce.useRef(null), J = ce.useRef(!1), ie = ce.useRef(null), te = ce.useRef(0), re = ce.useRef(!1), ae = ce.useRef(!y), ge = ce.useRef(0), se = ce.useRef(null), Ne = ce.useRef(((x = se.current) == null ? void 0 : x.getBoundingClientRect().height) || 0), Oe = ce.useRef(((B = se.current) == null ? void 0 : B.getBoundingClientRect().width) || 0), Ae = ce.useRef(0), qe = ce.useCallback((je) => {
3636
+ }), [Y, F] = ce.useState(!1), [H, w] = ce.useState(!1), [K, V] = ce.useState(!1), O = ce.useRef(null), U = ce.useRef(null), P = ce.useRef(null), W = ce.useRef(null), X = ce.useRef(null), J = ce.useRef(!1), ie = ce.useRef(null), te = ce.useRef(0), re = ce.useRef(!1), ae = ce.useRef(!y), ge = ce.useRef(0), se = ce.useRef(null), Ne = ce.useRef(((x = se.current) == null ? void 0 : x.getBoundingClientRect().height) || 0), Oe = ce.useRef(((B = se.current) == null ? void 0 : B.getBoundingClientRect().width) || 0), Ae = ce.useRef(0), qe = ce.useCallback((je) => {
3637
3637
  i && je === rt.length - 1 && (U.current = /* @__PURE__ */ new Date());
3638
3638
  }, []), { activeSnapPoint: Pe, activeSnapPointIndex: Ue, setActiveSnapPoint: st, onRelease: ut, snapPointsOffset: rt, onDrag: Xe, shouldFade: _t, getPercentageDragged: le } = MZ({
3639
3639
  snapPoints: i,
@@ -3648,7 +3648,7 @@ function G6({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, sn
3648
3648
  snapToSequentialPoint: N
3649
3649
  });
3650
3650
  CZ({
3651
- isDisabled: !G || H || !E || Q || !Y || !L || !R
3651
+ isDisabled: !G || H || !E || K || !Y || !L || !R
3652
3652
  });
3653
3653
  const { restorePositionSetting: oe } = FZ({
3654
3654
  isOpen: G,
@@ -4505,7 +4505,7 @@ function ZZ({
4505
4505
  labelSuffix: z,
4506
4506
  ...Y
4507
4507
  }, F) {
4508
- const [H, w] = Ee(!1), [Q, V] = Ee(n), [O, U] = Ee(""), [P, W] = Ee([]), [X, J] = Ee(!1), [ie, te] = Ee(b || ""), re = ye(0), { t: ae } = Un(), ge = x === "horizontal", se = t !== void 0, Ne = se ? t : Q, Oe = s || ae("component:select.placeholder", "Select an option"), Ae = p ? "danger" : m ? "warning" : Y.theme, qe = Re(() => c || `select-${Ud(10)}`, [c]);
4508
+ const [H, w] = Ee(!1), [K, V] = Ee(n), [O, U] = Ee(""), [P, W] = Ee([]), [X, J] = Ee(!1), [ie, te] = Ee(b || ""), re = ye(0), { t: ae } = Un(), ge = x === "horizontal", se = t !== void 0, Ne = se ? t : K, Oe = s || ae("component:select.placeholder", "Select an option"), Ae = p ? "danger" : m ? "warning" : Y.theme, qe = Re(() => c || `select-${Ud(10)}`, [c]);
4509
4509
  Se(() => {
4510
4510
  typeof e == "function" ? (J(!0), e().then((Fe) => {
4511
4511
  W(Fe), J(!1);
@@ -5626,62 +5626,63 @@ const LJ = It("cn-drawer-content", {
5626
5626
  size: n = "sm",
5627
5627
  overlayClassName: r,
5628
5628
  forceWithOverlay: a = !1,
5629
- onOpenAutoFocus: i,
5630
- onCloseAutoFocus: o,
5631
- ...s
5632
- }, l) => {
5633
- const c = ye(null), { portalContainer: u } = kd(), {
5634
- direction: d,
5635
- modal: p,
5636
- hasOpenChild: m,
5637
- topmostDescendantSize: g,
5638
- reportContentSize: f,
5639
- openDescendantCount: E,
5640
- maxStackDepth: h
5641
- } = _C(), b = (h ?? v5) - 1, T = Math.min(E ?? 0, b), v = (E ?? 0) > b, y = Hs([l, c]);
5629
+ staticStackWidth: i = !1,
5630
+ onOpenAutoFocus: o,
5631
+ onCloseAutoFocus: s,
5632
+ ...l
5633
+ }, c) => {
5634
+ const u = ye(null), { portalContainer: d } = kd(), {
5635
+ direction: p,
5636
+ modal: m,
5637
+ hasOpenChild: g,
5638
+ topmostDescendantSize: f,
5639
+ reportContentSize: E,
5640
+ openDescendantCount: h,
5641
+ maxStackDepth: b
5642
+ } = _C(), T = (b ?? v5) - 1, v = Math.min(h ?? 0, T), y = (h ?? 0) > T, R = Hs([c, u]);
5642
5643
  pi(() => {
5643
- n && f && f(n);
5644
- }, [n, f]);
5645
- const R = d === "right" || d === "left", N = (() => {
5646
- if (!m || !R || !g || !n || v) return;
5647
- const z = _D.indexOf(n), Y = _D.indexOf(g);
5648
- if (!(z === -1 || Y === -1 || z === Y))
5649
- return g;
5650
- })(), I = m ? DJ(d ?? "right", T) : void 0, L = ye(null), D = ye(null), A = ye(!0);
5644
+ n && E && E(n);
5645
+ }, [n, E]);
5646
+ const N = p === "right" || p === "left", I = (() => {
5647
+ if (i || !g || !N || !f || !n || y) return;
5648
+ const Y = _D.indexOf(n), F = _D.indexOf(f);
5649
+ if (!(Y === -1 || F === -1 || Y === F))
5650
+ return f;
5651
+ })(), L = g && !i ? DJ(p ?? "right", v) : void 0, D = ye(null), A = ye(null), M = ye(!0);
5651
5652
  pi(() => {
5652
- if (!c.current) return;
5653
- const z = c.current;
5654
- if (A.current && (A.current = !1, !m))
5653
+ if (!u.current) return;
5654
+ const Y = u.current;
5655
+ if (M.current && (M.current = !1, !g))
5655
5656
  return;
5656
- const Y = !m, F = N ?? n, H = getComputedStyle(z).getPropertyValue(`--cn-drawer-${F}`).trim();
5657
- L.current = gD(z, L.current, "width", H, Y);
5658
- const w = I ?? "scale(1) translate3d(0px, 0px, 0px)";
5659
- D.current = gD(z, D.current, "transform", w, Y);
5660
- }, [N, I, m, n, d, T]);
5661
- const { handleCloseAutoFocus: M } = vW(), x = Te(
5662
- (z) => {
5663
- M(), o == null || o(z);
5664
- },
5665
- [o, M]
5666
- ), B = a && p === !1, G = /* @__PURE__ */ _(
5657
+ const F = !g, H = I ?? n, w = getComputedStyle(Y).getPropertyValue(`--cn-drawer-${H}`).trim();
5658
+ D.current = gD(Y, D.current, "width", w, F);
5659
+ const K = L ?? "scale(1) translate3d(0px, 0px, 0px)";
5660
+ A.current = gD(Y, A.current, "transform", K, F);
5661
+ }, [I, L, g, n, p, v]);
5662
+ const { handleCloseAutoFocus: x } = vW(), B = Te(
5663
+ (Y) => {
5664
+ x(), s == null || s(Y);
5665
+ },
5666
+ [s, x]
5667
+ ), G = a && m === !1, z = /* @__PURE__ */ _(
5667
5668
  fr.Content,
5668
5669
  {
5669
- ref: y,
5670
+ ref: R,
5670
5671
  className: q(
5671
- LJ({ size: n, direction: d }),
5672
+ LJ({ size: n, direction: p }),
5672
5673
  e
5673
5674
  ),
5674
- ...s,
5675
- onCloseAutoFocus: x,
5676
- onOpenAutoFocus: (z) => {
5677
- z.preventDefault(), i == null || i(z), !(!c.current || i) && c.current.focus();
5675
+ ...l,
5676
+ onCloseAutoFocus: B,
5677
+ onOpenAutoFocus: (Y) => {
5678
+ Y.preventDefault(), o == null || o(Y), !(!u.current || o) && u.current.focus();
5678
5679
  },
5679
5680
  children: t
5680
5681
  }
5681
5682
  );
5682
- return /* @__PURE__ */ _(fr.Portal, { container: u, children: p ? /* @__PURE__ */ _(qT, { className: r, withCustomOverlay: B, children: G }) : /* @__PURE__ */ k(ot, { children: [
5683
- /* @__PURE__ */ _(qT, { className: r, withCustomOverlay: B }),
5684
- G
5683
+ return /* @__PURE__ */ _(fr.Portal, { container: d, children: m ? /* @__PURE__ */ _(qT, { className: r, withCustomOverlay: G, children: z }) : /* @__PURE__ */ k(ot, { children: [
5684
+ /* @__PURE__ */ _(qT, { className: r, withCustomOverlay: G }),
5685
+ z
5685
5686
  ] }) });
5686
5687
  }
5687
5688
  );
@@ -6026,22 +6027,22 @@ const MJ = `[data-vaul-drawer] {
6026
6027
  } = _C(), N = h, I = a ?? R ?? v5, L = N ? (y ?? 0) + 1 : 0;
6027
6028
  Se(() => {
6028
6029
  if (!o || o.querySelector("#vaul-style")) return;
6029
- const Q = document.createElement("style");
6030
- Q.setAttribute("id", "vaul-style"), Q.textContent = MJ, o == null || o.appendChild(Q);
6030
+ const K = document.createElement("style");
6031
+ K.setAttribute("id", "vaul-style"), K.textContent = MJ, o == null || o.appendChild(K);
6031
6032
  }, [o]);
6032
6033
  const D = Te(
6033
- (Q) => {
6034
- l(Q), Q || (u(void 0), g(0), N && T && d && T(d), N && v && v(0));
6034
+ (K) => {
6035
+ l(K), K || (u(void 0), g(0), N && T && d && T(d), N && v && v(0));
6035
6036
  },
6036
6037
  [N, T, d, v]
6037
6038
  ), A = Te(
6038
- (Q) => {
6039
- u(Q), N && T && T(Q);
6039
+ (K) => {
6040
+ u(K), N && T && T(K);
6040
6041
  },
6041
6042
  [N, T]
6042
6043
  ), M = Te(
6043
- (Q) => {
6044
- const V = Q + 1;
6044
+ (K) => {
6045
+ const V = K + 1;
6045
6046
  g(V), N && v && v(V);
6046
6047
  },
6047
6048
  [N, v]
@@ -6050,8 +6051,8 @@ const MJ = `[data-vaul-drawer] {
6050
6051
  x.current = d;
6051
6052
  }, [d]);
6052
6053
  const B = ye(t ?? f), G = Te(
6053
- (Q) => {
6054
- p(Q), x.current = Q, B.current && N && T && T(Q);
6054
+ (K) => {
6055
+ p(K), x.current = K, B.current && N && T && T(K);
6055
6056
  },
6056
6057
  [N, T]
6057
6058
  );
@@ -6060,12 +6061,12 @@ const MJ = `[data-vaul-drawer] {
6060
6061
  }, [t, N, b, T]);
6061
6062
  const z = ye(t ?? f);
6062
6063
  pi(() => {
6063
- const Q = t ?? f, V = Q && !z.current;
6064
- z.current = Q, V && N && v && v(m);
6064
+ const K = t ?? f, V = K && !z.current;
6065
+ z.current = K, V && N && v && v(m);
6065
6066
  }, [t, f, N, v, m]);
6066
6067
  const Y = Te(
6067
- (Q) => {
6068
- E(Q), B.current = Q, N && b && b(Q), Q && N && T && x.current && T(x.current), r == null || r(Q);
6068
+ (K) => {
6069
+ E(K), B.current = K, N && b && b(K), K && N && T && x.current && T(x.current), r == null || r(K);
6069
6070
  },
6070
6071
  [N, b, T, r]
6071
6072
  ), F = N ? fr.NestedRoot : fr.Root, H = Re(
@@ -6864,15 +6865,15 @@ var Ta = "MenuContent", [oee, vC] = zs(Ta), o8 = S.forwardRef(
6864
6865
  ...f
6865
6866
  } = e, E = Ho(Ta, n), h = zd(Ta, n), b = Yd(n), T = t8(n), v = tee(n), [y, R] = S.useState(null), N = S.useRef(null), I = wn(t, N, E.onContentChange), L = S.useRef(0), D = S.useRef(""), A = S.useRef(0), M = S.useRef(null), x = S.useRef("right"), B = S.useRef(0), G = g ? X4 : S.Fragment, z = g ? { as: Rs, allowPinchZoom: !0 } : void 0, Y = (H) => {
6866
6867
  var X, J;
6867
- const w = D.current + H, Q = v().filter((ie) => !ie.disabled), V = document.activeElement, O = (X = Q.find((ie) => ie.ref.current === V)) == null ? void 0 : X.textValue, U = Q.map((ie) => ie.textValue), P = bee(U, w, O), W = (J = Q.find((ie) => ie.textValue === P)) == null ? void 0 : J.ref.current;
6868
+ const w = D.current + H, K = v().filter((ie) => !ie.disabled), V = document.activeElement, O = (X = K.find((ie) => ie.ref.current === V)) == null ? void 0 : X.textValue, U = K.map((ie) => ie.textValue), P = bee(U, w, O), W = (J = K.find((ie) => ie.textValue === P)) == null ? void 0 : J.ref.current;
6868
6869
  (function ie(te) {
6869
6870
  D.current = te, window.clearTimeout(L.current), te !== "" && (L.current = window.setTimeout(() => ie(""), 1e3));
6870
6871
  })(w), W && setTimeout(() => W.focus());
6871
6872
  };
6872
6873
  S.useEffect(() => () => window.clearTimeout(L.current), []), Q4();
6873
6874
  const F = S.useCallback((H) => {
6874
- var Q, V;
6875
- return x.current === ((Q = M.current) == null ? void 0 : Q.side) && vee(H, (V = M.current) == null ? void 0 : V.area);
6875
+ var K, V;
6876
+ return x.current === ((K = M.current) == null ? void 0 : K.side) && vee(H, (V = M.current) == null ? void 0 : V.area);
6876
6877
  }, []);
6877
6878
  return /* @__PURE__ */ _(
6878
6879
  oee,
@@ -6949,8 +6950,8 @@ var Ta = "MenuContent", [oee, vC] = zs(Ta), o8 = S.forwardRef(
6949
6950
  ref: I,
6950
6951
  style: { outline: "none", ...f.style },
6951
6952
  onKeyDown: mt(f.onKeyDown, (H) => {
6952
- const Q = H.target.closest("[data-radix-menu-content]") === H.currentTarget, V = H.ctrlKey || H.altKey || H.metaKey, O = H.key.length === 1;
6953
- Q && (H.key === "Tab" && H.preventDefault(), !V && O && Y(H.key));
6953
+ const K = H.target.closest("[data-radix-menu-content]") === H.currentTarget, V = H.ctrlKey || H.altKey || H.metaKey, O = H.key.length === 1;
6954
+ K && (H.key === "Tab" && H.preventDefault(), !V && O && Y(H.key));
6954
6955
  const U = N.current;
6955
6956
  if (H.target !== U || !ZJ.includes(H.key)) return;
6956
6957
  H.preventDefault();
@@ -6963,8 +6964,8 @@ var Ta = "MenuContent", [oee, vC] = zs(Ta), o8 = S.forwardRef(
6963
6964
  onPointerMove: mt(
6964
6965
  e.onPointerMove,
6965
6966
  od((H) => {
6966
- const w = H.target, Q = B.current !== H.clientX;
6967
- if (H.currentTarget.contains(w) && Q) {
6967
+ const w = H.target, K = B.current !== H.clientX;
6968
+ if (H.currentTarget.contains(w) && K) {
6968
6969
  const V = H.clientX > B.current ? "right" : "left";
6969
6970
  x.current = V, B.current = H.clientX;
6970
6971
  }
@@ -10080,11 +10081,11 @@ const HC = /* @__PURE__ */ Qa(function(t) {
10080
10081
  data: (et = A == null ? void 0 : A.data) != null ? et : yne,
10081
10082
  rect: M
10082
10083
  } : null;
10083
- }, [N, A]), B = ye(null), [G, z] = Ee(null), [Y, F] = Ee(null), H = sd(g, Object.values(g)), w = Wd("DndDescribedBy", o), Q = Re(() => D.getEnabled(), [D]), V = xne(p), {
10084
+ }, [N, A]), B = ye(null), [G, z] = Ee(null), [Y, F] = Ee(null), H = sd(g, Object.values(g)), w = Wd("DndDescribedBy", o), K = Re(() => D.getEnabled(), [D]), V = xne(p), {
10084
10085
  droppableRects: O,
10085
10086
  measureDroppableContainers: U,
10086
10087
  measuringScheduled: P
10087
- } = pne(Q, {
10088
+ } = pne(K, {
10088
10089
  dragging: R,
10089
10090
  dependencies: [L.x, L.y],
10090
10091
  config: V.droppable
@@ -10132,7 +10133,7 @@ const HC = /* @__PURE__ */ Qa(function(t) {
10132
10133
  active: x,
10133
10134
  collisionRect: fe,
10134
10135
  droppableRects: O,
10135
- droppableContainers: Q,
10136
+ droppableContainers: K,
10136
10137
  pointerCoordinates: rt
10137
10138
  }) : null, De = kte(Le, "id"), [lt, Fe] = Ee(null), ze = Ae ? ut : Yl(ut, le), gt = Ute(ze, (i = lt == null ? void 0 : lt.rect) != null ? i : null, te), it = ye(null), bt = Te(
10138
10139
  (et, at) => {
@@ -10822,7 +10823,7 @@ function zC(e) {
10822
10823
  ...n
10823
10824
  },
10824
10825
  disabled: T.draggable
10825
- }), Q = fte(D, G), V = !!A, O = V && !g && Kp(p) && Kp(E), U = !h && Y, P = U && O ? w : null, X = O ? P ?? (s ?? b)({
10826
+ }), K = fte(D, G), V = !!A, O = V && !g && Kp(p) && Kp(E), U = !h && Y, P = U && O ? w : null, X = O ? P ?? (s ?? b)({
10826
10827
  rects: f,
10827
10828
  activeNodeRect: x,
10828
10829
  activeIndex: p,
@@ -10886,7 +10887,7 @@ function zC(e) {
10886
10887
  node: I,
10887
10888
  overIndex: E,
10888
10889
  over: F,
10889
- setNodeRef: Q,
10890
+ setNodeRef: K,
10890
10891
  setActivatorNodeRef: H,
10891
10892
  setDroppableNodeRef: D,
10892
10893
  setDraggableNodeRef: G,
@@ -11743,7 +11744,7 @@ var Qd = Ore(), zc = '[cmdk-group=""]', AE = '[cmdk-group-items=""]', Dre = '[cm
11743
11744
  }
11744
11745
  let H = () => z(G().length - 1), w = (V) => {
11745
11746
  V.preventDefault(), V.metaKey ? H() : V.altKey ? F(1) : Y(1);
11746
- }, Q = (V) => {
11747
+ }, K = (V) => {
11747
11748
  V.preventDefault(), V.metaKey ? z(0) : V.altKey ? F(-1) : Y(-1);
11748
11749
  };
11749
11750
  return S.createElement(Rt.div, { ref: t, tabIndex: -1, ...h, "cmdk-root": "", onKeyDown: (V) => {
@@ -11760,11 +11761,11 @@ var Qd = Ore(), zc = '[cmdk-group=""]', AE = '[cmdk-group-items=""]', Dre = '[cm
11760
11761
  }
11761
11762
  case "p":
11762
11763
  case "k": {
11763
- E && V.ctrlKey && Q(V);
11764
+ E && V.ctrlKey && K(V);
11764
11765
  break;
11765
11766
  }
11766
11767
  case "ArrowUp": {
11767
- Q(V);
11768
+ K(V);
11768
11769
  break;
11769
11770
  }
11770
11771
  case "Home": {
@@ -12116,7 +12117,7 @@ const Qre = (e) => !!e.icon, Xre = (e) => !!e.logo, jre = (e) => !!e.src || !!e.
12116
12117
  { "cn-sidebar-item-content-badge-secondary": A },
12117
12118
  Zp(p) && (p == null ? void 0 : p.className)
12118
12119
  )
12119
- }, { onClick: Y } = N, F = ci(N, ["icon", "logo", "avatarFallback", "src", "badgeProps", "onClick"]), H = q("cn-sidebar-item", m), w = n, Q = n, V = Re(() => x ? /* @__PURE__ */ _(Ke.Horizontal, { gap: "none", className: "cn-sidebar-item-content-action-buttons", children: b == null ? void 0 : b.map((P, W) => {
12120
+ }, { onClick: Y } = N, F = ci(N, ["icon", "logo", "avatarFallback", "src", "badgeProps", "onClick"]), H = q("cn-sidebar-item", m), w = n, K = n, V = Re(() => x ? /* @__PURE__ */ _(Ke.Horizontal, { gap: "none", className: "cn-sidebar-item-content-action-buttons", children: b == null ? void 0 : b.map((P, W) => {
12120
12121
  const { title: X, iconOnly: J = !0, iconName: ie, iconProps: te, onClick: re, ...ae } = P;
12121
12122
  return /* @__PURE__ */ k(
12122
12123
  Je,
@@ -12277,7 +12278,7 @@ const Qre = (e) => !!e.icon, Xre = (e) => !!e.logo, jre = (e) => !!e.src || !!e.
12277
12278
  ) : /* @__PURE__ */ k(
12278
12279
  "div",
12279
12280
  {
12280
- ref: Q,
12281
+ ref: K,
12281
12282
  className: q(
12282
12283
  H,
12283
12284
  h ? "cn-sidebar-item-trigger-active" : "cn-sidebar-item-trigger"
@@ -14427,12 +14428,12 @@ function ise(e) {
14427
14428
  I === d && L.isActive && !x && A || // If we removed a higher-priority variant (i is in reverse order)
14428
14429
  N > b && A, z = Array.isArray(D) ? D : [D], Y = z.reduce(i, {});
14429
14430
  M === !1 && (Y = {});
14430
- var F = L.prevResolvedValues, H = F === void 0 ? {} : F, w = Ve(Ve({}, H), Y), Q = function(P) {
14431
+ var F = L.prevResolvedValues, H = F === void 0 ? {} : F, w = Ve(Ve({}, H), Y), K = function(P) {
14431
14432
  G = !0, E.delete(P), L.needsAnimating[P] = !0;
14432
14433
  };
14433
14434
  for (var V in w) {
14434
14435
  var O = Y[V], U = H[V];
14435
- h.hasOwnProperty(V) || (O !== U ? md(O) && md(U) ? !E9(O, U) || B ? Q(V) : L.protectedKeys[V] = !0 : O !== void 0 ? Q(V) : E.add(V) : O !== void 0 && E.has(V) ? Q(V) : L.protectedKeys[V] = !0);
14436
+ h.hasOwnProperty(V) || (O !== U ? md(O) && md(U) ? !E9(O, U) || B ? K(V) : L.protectedKeys[V] = !0 : O !== void 0 ? K(V) : E.add(V) : O !== void 0 && E.has(V) ? K(V) : L.protectedKeys[V] = !0);
14436
14437
  }
14437
14438
  L.prevProp = D, L.prevResolvedValues = Y, L.isActive && (h = Ve(Ve({}, h), Y)), a && e.blockInitialAnimation && (G = !1), G && !x && f.push.apply(f, Ua([], yn(z.map(function(P) {
14438
14439
  return {
@@ -15054,7 +15055,7 @@ var A9 = function(e) {
15054
15055
  var w = F[H];
15055
15056
  y[H] !== void 0 && Wi(w) && w.set(y[H], !1);
15056
15057
  }
15057
- var Q = kg(f), V = E7(f), O = Ve(Ve({
15058
+ var K = kg(f), V = E7(f), O = Ve(Ve({
15058
15059
  treeType: n,
15059
15060
  /**
15060
15061
  * This is a mirror of the internal instance prop, which keeps
@@ -15108,7 +15109,7 @@ var A9 = function(e) {
15108
15109
  return !!N;
15109
15110
  },
15110
15111
  mount: function(U) {
15111
- v = !0, N = O.current = U, O.projection && O.projection.mount(U), V && g && !Q && (x = g == null ? void 0 : g.addVariantChild(O)), L.forEach(function(P, W) {
15112
+ v = !0, N = O.current = U, O.projection && O.projection.mount(U), V && g && !K && (x = g == null ? void 0 : g.addVariantChild(O)), L.forEach(function(P, W) {
15112
15113
  return Y(W, P);
15113
15114
  }), g == null || g.children.add(O), O.setProps(f);
15114
15115
  },
@@ -15310,7 +15311,7 @@ var A9 = function(e) {
15310
15311
  getVariantContext: function(U) {
15311
15312
  if (U === void 0 && (U = !1), U)
15312
15313
  return g == null ? void 0 : g.getVariantContext();
15313
- if (!Q) {
15314
+ if (!K) {
15314
15315
  var P = (g == null ? void 0 : g.getVariantContext()) || {};
15315
15316
  return f.initial !== void 0 && (P.initial = f.initial), P;
15316
15317
  }
@@ -17114,7 +17115,7 @@ function Vle() {
17114
17115
  for (var rt = 0, Xe = 0; Xe < ut; ++Xe) {
17115
17116
  var Oe = st[Xe], Pe = G(qe, Oe);
17116
17117
  if (!Pe) {
17117
- x[Xe] = Q;
17118
+ x[Xe] = K;
17118
17119
  continue;
17119
17120
  }
17120
17121
  z(Pe) || (Pe = m(Pe)), x[Xe] = Pe, rt |= Pe._bitflags;
@@ -17123,8 +17124,8 @@ function Vle() {
17123
17124
  }
17124
17125
  if (ie) for (let Fe = 0; Fe < X.spaceSearches.length; Fe++) A[Fe] = F;
17125
17126
  for (var Xe = 0; Xe < ut; ++Xe) {
17126
- if (Pe = x[Xe], Pe === Q) {
17127
- B[Xe] = Q;
17127
+ if (Pe = x[Xe], Pe === K) {
17128
+ B[Xe] = K;
17128
17129
  continue;
17129
17130
  }
17130
17131
  if (B[Xe] = E(
@@ -17135,7 +17136,7 @@ function Vle() {
17135
17136
  /*allowPartialMatch=*/
17136
17137
  ie
17137
17138
  ), B[Xe] === w) {
17138
- B[Xe] = Q;
17139
+ B[Xe] = K;
17139
17140
  continue;
17140
17141
  }
17141
17142
  if (ie) for (let ze = 0; ze < X.spaceSearches.length; ze++) {
@@ -17279,7 +17280,7 @@ function Vle() {
17279
17280
  for (var ie = U[J], ae = new l(P.keys.length), ge = P.keys.length - 1; ge >= 0; --ge) {
17280
17281
  var te = G(ie, P.keys[ge]);
17281
17282
  if (!te) {
17282
- ae[ge] = Q;
17283
+ ae[ge] = K;
17283
17284
  continue;
17284
17285
  }
17285
17286
  z(te) || (te = m(te)), te._score = F, te._indexes.len = 0, ae[ge] = te;
@@ -17440,7 +17441,7 @@ function Vle() {
17440
17441
  return U;
17441
17442
  }, z = (U) => typeof U == "object" && typeof U._bitflags == "number", Y = 1 / 0, F = -Y, H = [];
17442
17443
  H.total = 0;
17443
- var w = null, Q = i(""), V = (U) => {
17444
+ var w = null, K = i(""), V = (U) => {
17444
17445
  var P = [], W = 0, X = {}, J = (ie) => {
17445
17446
  for (var te = 0, re = P[te], ae = 1; ae < W; ) {
17446
17447
  var ge = ae + 1;
@@ -18388,7 +18389,7 @@ function hce() {
18388
18389
  ];
18389
18390
  var Y = u(A, M);
18390
18391
  if (Y) {
18391
- var F = Y[0], H = Y[1], w = Y[2], Q = Y[3], V = Y[4], O = r(F, w), U = r(H, Q);
18392
+ var F = Y[0], H = Y[1], w = Y[2], K = Y[3], V = Y[4], O = r(F, w), U = r(H, K);
18392
18393
  return O.concat([[n, V]], U);
18393
18394
  }
18394
18395
  return i(A, M);
@@ -18397,7 +18398,7 @@ function hce() {
18397
18398
  for (var x = A.length, B = M.length, G = Math.ceil((x + B) / 2), z = G, Y = 2 * G, F = new Array(Y), H = new Array(Y), w = 0; w < Y; w++)
18398
18399
  F[w] = -1, H[w] = -1;
18399
18400
  F[z + 1] = 0, H[z + 1] = 0;
18400
- for (var Q = x - B, V = Q % 2 !== 0, O = 0, U = 0, P = 0, W = 0, X = 0; X < G; X++) {
18401
+ for (var K = x - B, V = K % 2 !== 0, O = 0, U = 0, P = 0, W = 0, X = 0; X < G; X++) {
18401
18402
  for (var J = -X + O; J <= X - U; J += 2) {
18402
18403
  var ie = z + J, te;
18403
18404
  J === -X || J !== X && F[ie - 1] < F[ie + 1] ? te = F[ie + 1] : te = F[ie - 1] + 1;
@@ -18408,7 +18409,7 @@ function hce() {
18408
18409
  else if (re > B)
18409
18410
  O += 2;
18410
18411
  else if (V) {
18411
- var ae = z + Q - J;
18412
+ var ae = z + K - J;
18412
18413
  if (ae >= 0 && ae < Y && H[ae] !== -1) {
18413
18414
  var ge = x - H[ae];
18414
18415
  if (te >= ge)
@@ -18426,7 +18427,7 @@ function hce() {
18426
18427
  else if (Ne > B)
18427
18428
  P += 2;
18428
18429
  else if (!V) {
18429
- var ie = z + Q - se;
18430
+ var ie = z + K - se;
18430
18431
  if (ie >= 0 && ie < Y && F[ie] !== -1) {
18431
18432
  var te = F[ie], re = z + te - ie;
18432
18433
  if (ge = x - ge, te >= ge)
@@ -18508,10 +18509,10 @@ function hce() {
18508
18509
  if (!z && !Y)
18509
18510
  return null;
18510
18511
  Y ? z ? F = z[4].length > Y[4].length ? z : Y : F = Y : F = z;
18511
- var H, w, Q, V;
18512
- A.length > M.length ? (H = F[0], w = F[1], Q = F[2], V = F[3]) : (Q = F[0], V = F[1], H = F[2], w = F[3]);
18512
+ var H, w, K, V;
18513
+ A.length > M.length ? (H = F[0], w = F[1], K = F[2], V = F[3]) : (K = F[0], V = F[1], H = F[2], w = F[3]);
18513
18514
  var O = F[4];
18514
- return [H, w, Q, V, O];
18515
+ return [H, w, K, V, O];
18515
18516
  }
18516
18517
  function d(A) {
18517
18518
  for (var M = !1, x = [], B = 0, G = null, z = 0, Y = 0, F = 0, H = 0, w = 0; z < A.length; )
@@ -18521,20 +18522,20 @@ function hce() {
18521
18522
  ]), A[x[B - 1] + 1][0] = t, B--, B--, z = B > 0 ? x[B - 1] : -1, Y = 0, F = 0, H = 0, w = 0, G = null, M = !0)), z++;
18522
18523
  for (M && b(A), h(A), z = 1; z < A.length; ) {
18523
18524
  if (A[z - 1][0] == e && A[z][0] == t) {
18524
- var Q = A[z - 1][1], V = A[z][1], O = l(Q, V), U = l(V, Q);
18525
- O >= U ? (O >= Q.length / 2 || O >= V.length / 2) && (A.splice(z, 0, [
18525
+ var K = A[z - 1][1], V = A[z][1], O = l(K, V), U = l(V, K);
18526
+ O >= U ? (O >= K.length / 2 || O >= V.length / 2) && (A.splice(z, 0, [
18526
18527
  n,
18527
18528
  V.substring(0, O)
18528
- ]), A[z - 1][1] = Q.substring(
18529
+ ]), A[z - 1][1] = K.substring(
18529
18530
  0,
18530
- Q.length - O
18531
- ), A[z + 1][1] = V.substring(O), z++) : (U >= Q.length / 2 || U >= V.length / 2) && (A.splice(z, 0, [
18531
+ K.length - O
18532
+ ), A[z + 1][1] = V.substring(O), z++) : (U >= K.length / 2 || U >= V.length / 2) && (A.splice(z, 0, [
18532
18533
  n,
18533
- Q.substring(0, U)
18534
+ K.substring(0, U)
18534
18535
  ]), A[z - 1][0] = t, A[z - 1][1] = V.substring(
18535
18536
  0,
18536
18537
  V.length - U
18537
- ), A[z + 1][0] = e, A[z + 1][1] = Q.substring(U), z++), z++;
18538
+ ), A[z + 1][0] = e, A[z + 1][1] = K.substring(U), z++), z++;
18538
18539
  }
18539
18540
  z++;
18540
18541
  }
@@ -18554,12 +18555,12 @@ function hce() {
18554
18555
  var F = G.substring(G.length - Y);
18555
18556
  B = B.substring(0, B.length - Y), G = F + G.substring(0, G.length - Y), z = F + z;
18556
18557
  }
18557
- for (var H = B, w = G, Q = z, V = M(B, G) + M(G, z); G.charAt(0) === z.charAt(0); ) {
18558
+ for (var H = B, w = G, K = z, V = M(B, G) + M(G, z); G.charAt(0) === z.charAt(0); ) {
18558
18559
  B += G.charAt(0), G = G.substring(1) + z.charAt(0), z = z.substring(1);
18559
18560
  var O = M(B, G) + M(G, z);
18560
- O >= V && (V = O, H = B, w = G, Q = z);
18561
+ O >= V && (V = O, H = B, w = G, K = z);
18561
18562
  }
18562
- A[x - 1][1] != H && (H ? A[x - 1][1] = H : (A.splice(x - 1, 1), x--), A[x][1] = w, Q ? A[x + 1][1] = Q : (A.splice(x + 1, 1), x--));
18563
+ A[x - 1][1] != H && (H ? A[x - 1][1] = H : (A.splice(x - 1, 1), x--), A[x][1] = w, K ? A[x + 1][1] = K : (A.splice(x + 1, 1), x--));
18563
18564
  }
18564
18565
  x++;
18565
18566
  }
@@ -18588,8 +18589,8 @@ function hce() {
18588
18589
  -1
18589
18590
  ), z = w + z, Y = w + Y, !A[H][1]) {
18590
18591
  A.splice(H, 1), x--;
18591
- var Q = H - 1;
18592
- A[Q] && A[Q][0] === t && (G++, Y = A[Q][1] + Y, Q--), A[Q] && A[Q][0] === e && (B++, z = A[Q][1] + z, Q--), H = Q;
18592
+ var K = H - 1;
18593
+ A[K] && A[K][0] === t && (G++, Y = A[K][1] + Y, K--), A[K] && A[K][0] === e && (B++, z = A[K][1] + z, K--), H = K;
18593
18594
  }
18594
18595
  }
18595
18596
  if (y(A[x][1])) {
@@ -18666,10 +18667,10 @@ function hce() {
18666
18667
  function L(A, M, x) {
18667
18668
  var B = typeof x == "number" ? { index: x, length: 0 } : x.oldRange, G = typeof x == "number" ? null : x.newRange, z = A.length, Y = M.length;
18668
18669
  if (B.length === 0 && (G === null || G.length === 0)) {
18669
- var F = B.index, H = A.slice(0, F), w = A.slice(F), Q = G ? G.index : null;
18670
+ var F = B.index, H = A.slice(0, F), w = A.slice(F), K = G ? G.index : null;
18670
18671
  e: {
18671
18672
  var V = F + Y - z;
18672
- if (Q !== null && Q !== V || V < 0 || V > Y)
18673
+ if (K !== null && K !== V || V < 0 || V > Y)
18673
18674
  break e;
18674
18675
  var O = M.slice(0, V), U = M.slice(V);
18675
18676
  if (U !== w)
@@ -18681,7 +18682,7 @@ function hce() {
18681
18682
  return I(W, J, ie, w);
18682
18683
  }
18683
18684
  e: {
18684
- if (Q !== null && Q !== F)
18685
+ if (K !== null && K !== F)
18685
18686
  break e;
18686
18687
  var te = F, O = M.slice(0, te), U = M.slice(te);
18687
18688
  if (O !== H)
@@ -26377,10 +26378,10 @@ function Rue(e) {
26377
26378
  }, f = function({ includeEqual: F }) {
26378
26379
  let H;
26379
26380
  F ? H = "!%&*+-/<=>@^|~?" : H = "!%&*+-/<>@^|~?";
26380
- const w = Array.from(H), Q = xa("[", ...w.map(Nue), "]"), V = Zo(Q, /\./), O = xa(V, $c(V)), U = Zo(
26381
+ const w = Array.from(H), K = xa("[", ...w.map(Nue), "]"), V = Zo(K, /\./), O = xa(V, $c(V)), U = Zo(
26381
26382
  xa(O, V, "*"),
26382
26383
  // Matches at least 2 chars operators
26383
- xa(Q, "+")
26384
+ xa(K, "+")
26384
26385
  // Matches at least one char operators
26385
26386
  );
26386
26387
  return {
@@ -57230,19 +57231,19 @@ function ime(e) {
57230
57231
  * @param {CallbackResponse} response
57231
57232
  */
57232
57233
  isTrulyOpeningTag: (F, H) => {
57233
- const w = F[0].length + F.index, Q = F.input[w];
57234
+ const w = F[0].length + F.index, K = F.input[w];
57234
57235
  if (
57235
57236
  // HTML should not include another raw `<` inside a tag
57236
57237
  // nested type?
57237
57238
  // `<Array<Array<number>>`, etc.
57238
- Q === "<" || // the , gives away that this is not HTML
57239
+ K === "<" || // the , gives away that this is not HTML
57239
57240
  // `<T, A extends keyof T, V>`
57240
- Q === ","
57241
+ K === ","
57241
57242
  ) {
57242
57243
  H.ignoreMatch();
57243
57244
  return;
57244
57245
  }
57245
- Q === ">" && (n(F, { after: w }) || H.ignoreMatch());
57246
+ K === ">" && (n(F, { after: w }) || H.ignoreMatch());
57246
57247
  let V;
57247
57248
  const O = F.input.substring(w);
57248
57249
  if (V = O.match(/^\s*=/)) {
@@ -64005,7 +64006,7 @@ function Kme(e) {
64005
64006
  }, w = {
64006
64007
  scope: "meta",
64007
64008
  match: Jt(/@/, ti)
64008
- }, Q = [
64009
+ }, K = [
64009
64010
  F,
64010
64011
  H,
64011
64012
  w
@@ -64047,7 +64048,7 @@ function Kme(e) {
64047
64048
  contains: [
64048
64049
  ...r,
64049
64050
  ...u,
64050
- ...Q,
64051
+ ...K,
64051
64052
  g,
64052
64053
  V
64053
64054
  ]
@@ -64073,7 +64074,7 @@ function Kme(e) {
64073
64074
  T,
64074
64075
  L,
64075
64076
  ...Y,
64076
- ...Q,
64077
+ ...K,
64077
64078
  V
64078
64079
  ]
64079
64080
  }, W = {
@@ -64112,7 +64113,7 @@ function Kme(e) {
64112
64113
  ...E,
64113
64114
  T,
64114
64115
  L,
64115
- ...Q,
64116
+ ...K,
64116
64117
  V,
64117
64118
  P
64118
64119
  ],
@@ -64276,7 +64277,7 @@ function Kme(e) {
64276
64277
  T,
64277
64278
  L,
64278
64279
  ...Y,
64279
- ...Q,
64280
+ ...K,
64280
64281
  V,
64281
64282
  P
64282
64283
  ]
@@ -64443,19 +64444,19 @@ function Qme(e) {
64443
64444
  * @param {CallbackResponse} response
64444
64445
  */
64445
64446
  isTrulyOpeningTag: (F, H) => {
64446
- const w = F[0].length + F.index, Q = F.input[w];
64447
+ const w = F[0].length + F.index, K = F.input[w];
64447
64448
  if (
64448
64449
  // HTML should not include another raw `<` inside a tag
64449
64450
  // nested type?
64450
64451
  // `<Array<Array<number>>`, etc.
64451
- Q === "<" || // the , gives away that this is not HTML
64452
+ K === "<" || // the , gives away that this is not HTML
64452
64453
  // `<T, A extends keyof T, V>`
64453
- Q === ","
64454
+ K === ","
64454
64455
  ) {
64455
64456
  H.ignoreMatch();
64456
64457
  return;
64457
64458
  }
64458
- Q === ">" && (n(F, { after: w }) || H.ignoreMatch());
64459
+ K === ">" && (n(F, { after: w }) || H.ignoreMatch());
64459
64460
  let V;
64460
64461
  const O = F.input.substring(w);
64461
64462
  if (V = O.match(/^\s*=/)) {
@@ -66193,7 +66194,7 @@ function cB() {
66193
66194
  // look for 3 words in a row
66194
66195
  }
66195
66196
  ), Me;
66196
- }, H = F("//", "$"), w = F("/\\*", "\\*/"), Q = F("#", "$"), V = {
66197
+ }, H = F("//", "$"), w = F("/\\*", "\\*/"), K = F("#", "$"), V = {
66197
66198
  scope: "number",
66198
66199
  begin: L,
66199
66200
  relevance: 0
@@ -66257,7 +66258,7 @@ function cB() {
66257
66258
  }
66258
66259
  );
66259
66260
  },
66260
- HASH_COMMENT_MODE: Q,
66261
+ HASH_COMMENT_MODE: K,
66261
66262
  IDENT_RE: N,
66262
66263
  MATCH_NOTHING_RE: R,
66263
66264
  METHOD_GUARD: J,
@@ -67998,7 +67999,7 @@ class ws {
67998
67999
  m.notifyAll(!0);
67999
68000
  });
68000
68001
  }, this.getUpdateCount = () => Z(this, uu, "f"), this.getExpandEnabled = () => !Z(this, La, "f"), this.getBundle = () => {
68001
- const u = Z(this, Tl, "f"), d = Z(this, vl, "f"), p = Z(this, Cl, "f"), m = Z(this, Nl, "f"), g = Z(this, us, "f"), f = Z(this, Io, "f"), E = Z(this, xl, "f"), h = Z(this, ho, "f"), b = Z(this, Di, "f"), T = Z(this, ds, "f"), v = Z(this, Oo, "f"), y = Z(this, Ll, "f"), R = Z(this, So, "f"), N = Z(this, wi, "f"), I = this.splitLineLength, L = this.unifiedLineLength, D = this.fileLineLength, A = this.additionLength, M = this.deletionLength, x = Z(this, La, "f"), B = Z(this, ps, "f"), G = Z(this, ms, "f"), z = this.hasSomeLineCollapsed, Y = Z(this, as, "f"), F = Z(this, is, "f"), H = Z(this, Cr, "f"), w = Z(this, Ln, "f"), Q = Z(this, Bn, "f"), V = Z(this, Tn, "f"), O = Z(this, Gn, "f"), U = this._version_, P = Z(this, Jn, "f"), W = Z(this, ta, "f");
68002
+ const u = Z(this, Tl, "f"), d = Z(this, vl, "f"), p = Z(this, Cl, "f"), m = Z(this, Nl, "f"), g = Z(this, us, "f"), f = Z(this, Io, "f"), E = Z(this, xl, "f"), h = Z(this, ho, "f"), b = Z(this, Di, "f"), T = Z(this, ds, "f"), v = Z(this, Oo, "f"), y = Z(this, Ll, "f"), R = Z(this, So, "f"), N = Z(this, wi, "f"), I = this.splitLineLength, L = this.unifiedLineLength, D = this.fileLineLength, A = this.additionLength, M = this.deletionLength, x = Z(this, La, "f"), B = Z(this, ps, "f"), G = Z(this, ms, "f"), z = this.hasSomeLineCollapsed, Y = Z(this, as, "f"), F = Z(this, is, "f"), H = Z(this, Cr, "f"), w = Z(this, Ln, "f"), K = Z(this, Bn, "f"), V = Z(this, Tn, "f"), O = Z(this, Gn, "f"), U = this._version_, P = Z(this, Jn, "f"), W = Z(this, ta, "f");
68002
68003
  return {
68003
68004
  hasInitRaw: u,
68004
68005
  hasInitSyntax: d,
@@ -68021,7 +68022,7 @@ class ws {
68021
68022
  deletionLength: M,
68022
68023
  splitLeftLines: H,
68023
68024
  splitRightLines: w,
68024
- splitHunkLines: Q,
68025
+ splitHunkLines: K,
68025
68026
  unifiedLines: V,
68026
68027
  unifiedHunkLines: O,
68027
68028
  highlighterName: B,
@@ -71474,8 +71475,8 @@ const Cfe = (e) => {
71474
71475
  []
71475
71476
  );
71476
71477
  Se(() => {
71477
- const { id: T, setId: v, mode: y, setMode: R, mounted: N, setMounted: I, enableAddWidget: L, setEnableAddWidget: D, enableHighlight: A, setEnableHighlight: M, enableWrap: x, setEnableWrap: B, setExtendData: G, fontSize: z, setFontSize: Y, onAddWidgetClick: F, setOnAddWidgetClick: H, renderExtendLine: w, setRenderExtendLine: Q, renderWidgetLine: V, setRenderWidgetLine: O, onCreateUseWidgetHook: U, setOnCreateUseWidgetHook: P } = h.getReadonlyState();
71478
- E && E !== T && v(E), i && i !== y && R(i), N !== f && I(f), p !== L && D(p), l !== A && M(l), o !== x && B(o), d && G(d), s && s !== z && Y(s), m !== F.current && H({ current: m }), g !== U && P(g), u !== w && Q(u), c !== V && O(c);
71478
+ const { id: T, setId: v, mode: y, setMode: R, mounted: N, setMounted: I, enableAddWidget: L, setEnableAddWidget: D, enableHighlight: A, setEnableHighlight: M, enableWrap: x, setEnableWrap: B, setExtendData: G, fontSize: z, setFontSize: Y, onAddWidgetClick: F, setOnAddWidgetClick: H, renderExtendLine: w, setRenderExtendLine: K, renderWidgetLine: V, setRenderWidgetLine: O, onCreateUseWidgetHook: U, setOnCreateUseWidgetHook: P } = h.getReadonlyState();
71479
+ E && E !== T && v(E), i && i !== y && R(i), N !== f && I(f), p !== L && D(p), l !== A && M(l), o !== x && B(o), d && G(d), s && s !== z && Y(s), m !== F.current && H({ current: m }), g !== U && P(g), u !== w && K(u), c !== V && O(c);
71479
71480
  }, [
71480
71481
  h,
71481
71482
  s,
@@ -79420,7 +79421,7 @@ var lH = S.createContext({}), cH = S.forwardRef((e, t) => {
79420
79421
  document.removeEventListener("selectionchange", Oe, { capture: !0 }), qe.disconnect();
79421
79422
  };
79422
79423
  }, []);
79423
- let [Y, F] = S.useState(!1), [H, w] = S.useState(!1), [Q, V] = S.useState(null), [O, U] = S.useState(null);
79424
+ let [Y, F] = S.useState(!1), [H, w] = S.useState(!1), [K, V] = S.useState(null), [O, U] = S.useState(null);
79424
79425
  S.useEffect(() => {
79425
79426
  Uhe(() => {
79426
79427
  var se, Ne, Oe, Ae;
@@ -79456,7 +79457,7 @@ var lH = S.createContext({}), cH = S.forwardRef((e, t) => {
79456
79457
  Ae.value = ut, A(ut);
79457
79458
  let rt = Math.min(ut.length, i - 1), Xe = ut.length;
79458
79459
  Ae.setSelectionRange(rt, Xe), V(rt), U(Xe);
79459
- }, [i, A, M, L]), ie = S.useMemo(() => ({ position: "relative", cursor: h.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [h.disabled]), te = S.useMemo(() => ({ position: "absolute", inset: 0, width: P.willPushPWMBadge ? `calc(100% + ${P.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: P.willPushPWMBadge ? `inset(0 ${P.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: o, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [P.PWM_BADGE_SPACE_WIDTH, P.willPushPWMBadge, o]), re = S.useMemo(() => S.createElement("input", Phe(khe({ autoComplete: h.autoComplete || "one-time-code" }, h), { "data-input-otp": !0, "data-input-otp-placeholder-shown": L.length === 0 || void 0, "data-input-otp-mss": Q, "data-input-otp-mse": O, inputMode: c, pattern: M == null ? void 0 : M.source, "aria-placeholder": l, style: te, maxLength: i, value: L, ref: x, onPaste: (se) => {
79460
+ }, [i, A, M, L]), ie = S.useMemo(() => ({ position: "relative", cursor: h.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [h.disabled]), te = S.useMemo(() => ({ position: "absolute", inset: 0, width: P.willPushPWMBadge ? `calc(100% + ${P.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: P.willPushPWMBadge ? `inset(0 ${P.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: o, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [P.PWM_BADGE_SPACE_WIDTH, P.willPushPWMBadge, o]), re = S.useMemo(() => S.createElement("input", Phe(khe({ autoComplete: h.autoComplete || "one-time-code" }, h), { "data-input-otp": !0, "data-input-otp-placeholder-shown": L.length === 0 || void 0, "data-input-otp-mss": K, "data-input-otp-mse": O, inputMode: c, pattern: M == null ? void 0 : M.source, "aria-placeholder": l, style: te, maxLength: i, value: L, ref: x, onPaste: (se) => {
79460
79461
  var Ne;
79461
79462
  J(se), (Ne = h.onPaste) == null || Ne.call(h, se);
79462
79463
  }, onChange: W, onMouseOver: (se) => {
@@ -79471,11 +79472,11 @@ var lH = S.createContext({}), cH = S.forwardRef((e, t) => {
79471
79472
  }, onBlur: (se) => {
79472
79473
  var Ne;
79473
79474
  w(!1), (Ne = h.onBlur) == null || Ne.call(h, se);
79474
- } })), [W, X, J, c, te, i, O, Q, h, M == null ? void 0 : M.source, L]), ae = S.useMemo(() => ({ slots: Array.from({ length: i }).map((se, Ne) => {
79475
+ } })), [W, X, J, c, te, i, O, K, h, M == null ? void 0 : M.source, L]), ae = S.useMemo(() => ({ slots: Array.from({ length: i }).map((se, Ne) => {
79475
79476
  var Oe;
79476
- let Ae = H && Q !== null && O !== null && (Q === O && Ne === Q || Ne >= Q && Ne < O), qe = L[Ne] !== void 0 ? L[Ne] : null, Pe = L[0] !== void 0 ? null : (Oe = l == null ? void 0 : l[Ne]) != null ? Oe : null;
79477
+ let Ae = H && K !== null && O !== null && (K === O && Ne === K || Ne >= K && Ne < O), qe = L[Ne] !== void 0 ? L[Ne] : null, Pe = L[0] !== void 0 ? null : (Oe = l == null ? void 0 : l[Ne]) != null ? Oe : null;
79477
79478
  return { char: qe, placeholderChar: Pe, isActive: Ae, hasFakeCaret: Ae && qe === null };
79478
- }), isFocused: H, isHovering: !h.disabled && Y }), [H, Y, i, O, Q, h.disabled, L]), ge = S.useMemo(() => f ? f(ae) : S.createElement(lH.Provider, { value: ae }, E), [E, ae, f]);
79479
+ }), isFocused: H, isHovering: !h.disabled && Y }), [H, Y, i, O, K, h.disabled, L]), ge = S.useMemo(() => f ? f(ae) : S.createElement(lH.Provider, { value: ae }, E), [E, ae, f]);
79479
79480
  return S.createElement(S.Fragment, null, g !== null && S.createElement("noscript", null, S.createElement("style", null, g)), S.createElement("div", { ref: B, "data-input-otp-container": !0, style: ie, className: m }, ge, S.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, re)));
79480
79481
  });
79481
79482
  cH.displayName = "Input";
@@ -80775,8 +80776,8 @@ function $H() {
80775
80776
  }
80776
80777
  function Tbe(e, t) {
80777
80778
  var n = cn(), r = $H(), a = uy(), i = py(), o = _y(), s = o.focusDayAfter, l = o.focusDayBefore, c = o.focusWeekAfter, u = o.focusWeekBefore, d = o.blur, p = o.focus, m = o.focusMonthBefore, g = o.focusMonthAfter, f = o.focusYearBefore, E = o.focusYearAfter, h = o.focusStartOfWeek, b = o.focusEndOfWeek, T = function(Y) {
80778
- var F, H, w, Q;
80779
- of(n) ? (F = r.onDayClick) === null || F === void 0 || F.call(r, e, t, Y) : pp(n) ? (H = a.onDayClick) === null || H === void 0 || H.call(a, e, t, Y) : mp(n) ? (w = i.onDayClick) === null || w === void 0 || w.call(i, e, t, Y) : (Q = n.onDayClick) === null || Q === void 0 || Q.call(n, e, t, Y);
80779
+ var F, H, w, K;
80780
+ of(n) ? (F = r.onDayClick) === null || F === void 0 || F.call(r, e, t, Y) : pp(n) ? (H = a.onDayClick) === null || H === void 0 || H.call(a, e, t, Y) : mp(n) ? (w = i.onDayClick) === null || w === void 0 || w.call(i, e, t, Y) : (K = n.onDayClick) === null || K === void 0 || K.call(n, e, t, Y);
80780
80781
  }, v = function(Y) {
80781
80782
  var F;
80782
80783
  p(e), (F = n.onDayFocus) === null || F === void 0 || F.call(n, e, t, Y);
@@ -82054,7 +82055,7 @@ function cTe(e, t, n, r, a, i, o, s, l, c, u, d, p, m, g, f, E, h, b) {
82054
82055
  }, R).add(se, "touchend", () => {
82055
82056
  }).add(se, "touchstart", ge).add(se, "mousedown", ge).add(se, "touchcancel", J).add(se, "contextmenu", J).add(se, "click", ie, !0);
82056
82057
  }
82057
- function Q() {
82058
+ function K() {
82058
82059
  N.clear(), I.clear();
82059
82060
  }
82060
82061
  function V() {
@@ -82096,7 +82097,7 @@ function cTe(e, t, n, r, a, i, o, s, l, c, u, d, p, m, g, f, E, h, b) {
82096
82097
  }
82097
82098
  return {
82098
82099
  init: w,
82099
- destroy: Q,
82100
+ destroy: K,
82100
82101
  pointerDown: te
82101
82102
  };
82102
82103
  }
@@ -82723,10 +82724,10 @@ function DTe(e, t, n, r, a, i, o) {
82723
82724
  slideSizesWithGaps: F,
82724
82725
  startGap: H,
82725
82726
  endGap: w
82726
- } = ITe(A, L, D, n, z, a), Q = OTe(A, M, E, d, L, D, H, w, N), {
82727
+ } = ITe(A, L, D, n, z, a), K = OTe(A, M, E, d, L, D, H, w, N), {
82727
82728
  snaps: V,
82728
82729
  snapsAligned: O
82729
- } = bTe(A, B, L, D, Q), U = -Ya(V) + Ya(F), {
82730
+ } = bTe(A, B, L, D, K), U = -Ya(V) + Ya(F), {
82730
82731
  snapsContained: P,
82731
82732
  scrollContainLimit: W
82732
82733
  } = fTe(M, U, O, b, N), X = G ? P : O, {
@@ -82762,7 +82763,7 @@ function DTe(e, t, n, r, a, i, o) {
82762
82763
  ze.set(ve), ft && (it.loop(De.direction()), bt.loop()), lt.to(ze.get());
82763
82764
  }, se = sTe(r, a, () => ae(Le), (De) => ge(Le, De)), Ne = 0.68, Oe = X[ie.get()], Ae = fu(Oe), qe = fu(Oe), Pe = fu(Oe), Ue = fu(Oe), st = _Te(Ae, Pe, qe, Ue, p, Ne), ut = vTe(d, X, U, J, Ue), rt = CTe(se, ie, te, st, ut, Ue, o), Xe = STe(J), _t = Rd(), le = ATe(t, n, o, f), {
82764
82765
  slideRegistry: oe
82765
- } = TTe(G, b, X, W, Q, re), fe = NTe(e, n, oe, rt, st, _t, o, R), Le = {
82766
+ } = TTe(G, b, X, W, K, re), fe = NTe(e, n, oe, rt, st, _t, o, R), Le = {
82766
82767
  ownerDocument: r,
82767
82768
  ownerWindow: a,
82768
82769
  eventHandler: o,
@@ -82795,7 +82796,7 @@ function DTe(e, t, n, r, a, i, o) {
82795
82796
  slidesInView: le,
82796
82797
  slideIndexes: re,
82797
82798
  slideRegistry: oe,
82798
- slidesToScroll: Q,
82799
+ slidesToScroll: K,
82799
82800
  target: Ue,
82800
82801
  translate: dY(A, t)
82801
82802
  };
@@ -82922,7 +82923,7 @@ function j_(e, t, n) {
82922
82923
  }) => ge)]).forEach((ge) => s.add(ge, "change", A)), T.active && (h.translate.to(h.location.get()), h.animation.init(), h.slidesInView.init(), h.slideFocus.init(te), h.eventHandler.init(te), h.resizeHandler.init(te), h.slidesHandler.init(te), h.options.loop && h.slideLooper.loop(), R.offsetParent && N.length && h.dragHandler.init(te), y = o.init(te, v)));
82923
82924
  }
82924
82925
  function A(re, ae) {
82925
- const ge = Q();
82926
+ const ge = K();
82926
82927
  M(), D(c({
82927
82928
  startIndex: ge
82928
82929
  }, re), ae), l.emit("reInit");
@@ -82945,10 +82946,10 @@ function j_(e, t, n) {
82945
82946
  B(ae, re, 1);
82946
82947
  }
82947
82948
  function Y() {
82948
- return h.index.add(1).get() !== Q();
82949
+ return h.index.add(1).get() !== K();
82949
82950
  }
82950
82951
  function F() {
82951
- return h.index.add(-1).get() !== Q();
82952
+ return h.index.add(-1).get() !== K();
82952
82953
  }
82953
82954
  function H() {
82954
82955
  return h.scrollSnapList;
@@ -82956,7 +82957,7 @@ function j_(e, t, n) {
82956
82957
  function w() {
82957
82958
  return h.scrollProgress.get(h.location.get());
82958
82959
  }
82959
- function Q() {
82960
+ function K() {
82960
82961
  return h.index.get();
82961
82962
  }
82962
82963
  function V() {
@@ -83001,7 +83002,7 @@ function j_(e, t, n) {
83001
83002
  scrollProgress: w,
83002
83003
  scrollSnapList: H,
83003
83004
  scrollTo: B,
83004
- selectedScrollSnap: Q,
83005
+ selectedScrollSnap: K,
83005
83006
  slideNodes: ie,
83006
83007
  slidesInView: O,
83007
83008
  slidesNotInView: U
@@ -83865,16 +83866,16 @@ Ws.displayName = "csharp";
83865
83866
  Ws.aliases = ["cs", "dotnet"];
83866
83867
  function Ws(e) {
83867
83868
  e.register(Bt), function(t) {
83868
- function n(w, Q) {
83869
+ function n(w, K) {
83869
83870
  return w.replace(/<<(\d+)>>/g, function(V, O) {
83870
- return "(?:" + Q[+O] + ")";
83871
+ return "(?:" + K[+O] + ")";
83871
83872
  });
83872
83873
  }
83873
- function r(w, Q, V) {
83874
- return RegExp(n(w, Q), "");
83874
+ function r(w, K, V) {
83875
+ return RegExp(n(w, K), "");
83875
83876
  }
83876
- function a(w, Q) {
83877
- for (var V = 0; V < Q; V++)
83877
+ function a(w, K) {
83878
+ for (var V = 0; V < K; V++)
83878
83879
  w = w.replace(/<<self>>/g, function() {
83879
83880
  return "(?:" + w + ")";
83880
83881
  });
@@ -84188,7 +84189,7 @@ function Ws(e) {
84188
84189
  Y,
84189
84190
  B
84190
84191
  ]);
84191
- function H(w, Q) {
84192
+ function H(w, K) {
84192
84193
  return {
84193
84194
  interpolation: {
84194
84195
  pattern: r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [w]),
@@ -84196,7 +84197,7 @@ function Ws(e) {
84196
84197
  inside: {
84197
84198
  "format-string": {
84198
84199
  pattern: r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source, [
84199
- Q,
84200
+ K,
84200
84201
  B
84201
84202
  ]),
84202
84203
  lookbehind: !0,
@@ -105681,7 +105682,7 @@ function H1e(e) {
105681
105682
  o.pseudoElements.unknown === "accept"
105682
105683
  ] : [!1, !1, !1, Tm, !1], A = D[0], M = D[1], x = D[2], B = D[3], G = D[4], z = "", Y = z.length, F = 0, H = "", w = function(oe) {
105683
105684
  return H === oe;
105684
- }, Q = function() {
105685
+ }, K = function() {
105685
105686
  return w("*") || Zc(H);
105686
105687
  }, V = function(oe) {
105687
105688
  F = oe, H = z.charAt(F);
@@ -105940,7 +105941,7 @@ function H1e(e) {
105940
105941
  function _t() {
105941
105942
  if (w("*")) {
105942
105943
  var oe = F;
105943
- if (O(), !w("|") || (O(), !Q()))
105944
+ if (O(), !w("|") || (O(), !K()))
105944
105945
  return V(oe), Xe();
105945
105946
  W(p, "Namespaces are not enabled."), W(m, "Wildcard namespace is not enabled.");
105946
105947
  var fe = Xe();
@@ -105957,7 +105958,7 @@ function H1e(e) {
105957
105958
  name: Le
105958
105959
  };
105959
105960
  var oe = F;
105960
- if (O(), !Q())
105961
+ if (O(), !K())
105961
105962
  return V(oe), {
105962
105963
  type: "TagName",
105963
105964
  name: Le
@@ -105977,11 +105978,11 @@ function H1e(e) {
105977
105978
  lt && (De.combinator = lt, Ae());
105978
105979
  }
105979
105980
  for (; F < Y; )
105980
- if (Q())
105981
+ if (K())
105981
105982
  W(De.items.length === 0, "Unexpected tag/namespace start."), De.items.push(_t());
105982
105983
  else if (w("|")) {
105983
105984
  var Fe = F;
105984
- if (O(), Q())
105985
+ if (O(), K())
105985
105986
  W(De.items.length === 0, "Unexpected tag/namespace start."), V(Fe), De.items.push(_t());
105986
105987
  else {
105987
105988
  V(Fe);
@@ -107296,10 +107297,10 @@ const SCe = /* @__PURE__ */ new Set([
107296
107297
  1114110,
107297
107298
  1114111
107298
107299
  ]), pn = "�";
107299
- var K;
107300
+ var Q;
107300
107301
  (function(e) {
107301
107302
  e[e.EOF = -1] = "EOF", e[e.NULL = 0] = "NULL", e[e.TABULATION = 9] = "TABULATION", e[e.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", e[e.LINE_FEED = 10] = "LINE_FEED", e[e.FORM_FEED = 12] = "FORM_FEED", e[e.SPACE = 32] = "SPACE", e[e.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", e[e.QUOTATION_MARK = 34] = "QUOTATION_MARK", e[e.AMPERSAND = 38] = "AMPERSAND", e[e.APOSTROPHE = 39] = "APOSTROPHE", e[e.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", e[e.SOLIDUS = 47] = "SOLIDUS", e[e.DIGIT_0 = 48] = "DIGIT_0", e[e.DIGIT_9 = 57] = "DIGIT_9", e[e.SEMICOLON = 59] = "SEMICOLON", e[e.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", e[e.EQUALS_SIGN = 61] = "EQUALS_SIGN", e[e.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", e[e.QUESTION_MARK = 63] = "QUESTION_MARK", e[e.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", e[e.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", e[e.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", e[e.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", e[e.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", e[e.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z";
107302
- })(K || (K = {}));
107303
+ })(Q || (Q = {}));
107303
107304
  const Mr = {
107304
107305
  DASH_DASH: "--",
107305
107306
  CDATA_START: "[CDATA[",
@@ -107363,7 +107364,7 @@ class CCe {
107363
107364
  if (bCe(n))
107364
107365
  return this.pos++, this._addGap(), TCe(t, n);
107365
107366
  } else if (!this.lastChunkWritten)
107366
- return this.endOfChunkHit = !0, K.EOF;
107367
+ return this.endOfChunkHit = !0, Q.EOF;
107367
107368
  return this._err(be.surrogateInInputStream), t;
107368
107369
  }
107369
107370
  willDropParsedChunk() {
@@ -107391,15 +107392,15 @@ class CCe {
107391
107392
  peek(t) {
107392
107393
  const n = this.pos + t;
107393
107394
  if (n >= this.html.length)
107394
- return this.endOfChunkHit = !this.lastChunkWritten, K.EOF;
107395
+ return this.endOfChunkHit = !this.lastChunkWritten, Q.EOF;
107395
107396
  const r = this.html.charCodeAt(n);
107396
- return r === K.CARRIAGE_RETURN ? K.LINE_FEED : r;
107397
+ return r === Q.CARRIAGE_RETURN ? Q.LINE_FEED : r;
107397
107398
  }
107398
107399
  advance() {
107399
107400
  if (this.pos++, this.isEol && (this.isEol = !1, this.line++, this.lineStartPos = this.pos), this.pos >= this.html.length)
107400
- return this.endOfChunkHit = !this.lastChunkWritten, K.EOF;
107401
+ return this.endOfChunkHit = !this.lastChunkWritten, Q.EOF;
107401
107402
  let t = this.html.charCodeAt(this.pos);
107402
- return t === K.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, K.LINE_FEED) : t === K.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, tz(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === K.LINE_FEED || t === K.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
107403
+ return t === Q.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, Q.LINE_FEED) : t === Q.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, tz(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === Q.LINE_FEED || t === Q.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
107403
107404
  }
107404
107405
  _checkForProblematicCharacters(t) {
107405
107406
  nz(t) ? this._err(be.controlCharacterInInputStream) : rz(t) && this._err(be.noncharacterInInputStream);
@@ -107983,13 +107984,13 @@ const In = {
107983
107984
  CDATA_SECTION: j.CDATA_SECTION
107984
107985
  };
107985
107986
  function kCe(e) {
107986
- return e >= K.DIGIT_0 && e <= K.DIGIT_9;
107987
+ return e >= Q.DIGIT_0 && e <= Q.DIGIT_9;
107987
107988
  }
107988
107989
  function Eu(e) {
107989
- return e >= K.LATIN_CAPITAL_A && e <= K.LATIN_CAPITAL_Z;
107990
+ return e >= Q.LATIN_CAPITAL_A && e <= Q.LATIN_CAPITAL_Z;
107990
107991
  }
107991
107992
  function PCe(e) {
107992
- return e >= K.LATIN_SMALL_A && e <= K.LATIN_SMALL_Z;
107993
+ return e >= Q.LATIN_SMALL_A && e <= Q.LATIN_SMALL_Z;
107993
107994
  }
107994
107995
  function mo(e) {
107995
107996
  return PCe(e) || Eu(e);
@@ -108001,13 +108002,13 @@ function Cm(e) {
108001
108002
  return e + 32;
108002
108003
  }
108003
108004
  function lz(e) {
108004
- return e === K.SPACE || e === K.LINE_FEED || e === K.TABULATION || e === K.FORM_FEED;
108005
+ return e === Q.SPACE || e === Q.LINE_FEED || e === Q.TABULATION || e === Q.FORM_FEED;
108005
108006
  }
108006
108007
  function GL(e) {
108007
- return lz(e) || e === K.SOLIDUS || e === K.GREATER_THAN_SIGN;
108008
+ return lz(e) || e === Q.SOLIDUS || e === Q.GREATER_THAN_SIGN;
108008
108009
  }
108009
108010
  function FCe(e) {
108010
- return e === K.NULL ? be.nullCharacterReference : e > 1114111 ? be.characterReferenceOutsideUnicodeRange : tz(e) ? be.surrogateCharacterReference : rz(e) ? be.noncharacterCharacterReference : nz(e) || e === K.CARRIAGE_RETURN ? be.controlCharacterReference : null;
108011
+ return e === Q.NULL ? be.nullCharacterReference : e > 1114111 ? be.characterReferenceOutsideUnicodeRange : tz(e) ? be.surrogateCharacterReference : rz(e) ? be.noncharacterCharacterReference : nz(e) || e === Q.CARRIAGE_RETURN ? be.controlCharacterReference : null;
108011
108012
  }
108012
108013
  class UCe {
108013
108014
  constructor(t, n) {
@@ -108207,7 +108208,7 @@ class UCe {
108207
108208
  this._createCharacterToken(t, n);
108208
108209
  }
108209
108210
  _emitCodePoint(t) {
108210
- const n = lz(t) ? Mt.WHITESPACE_CHARACTER : t === K.NULL ? Mt.NULL_CHARACTER : Mt.CHARACTER;
108211
+ const n = lz(t) ? Mt.WHITESPACE_CHARACTER : t === Q.NULL ? Mt.NULL_CHARACTER : Mt.CHARACTER;
108211
108212
  this._appendCharToCurrentCharacterToken(n, String.fromCodePoint(t));
108212
108213
  }
108213
108214
  //NOTE: used when we emit characters explicitly.
@@ -108529,19 +108530,19 @@ class UCe {
108529
108530
  //------------------------------------------------------------------
108530
108531
  _stateData(t) {
108531
108532
  switch (t) {
108532
- case K.LESS_THAN_SIGN: {
108533
+ case Q.LESS_THAN_SIGN: {
108533
108534
  this.state = j.TAG_OPEN;
108534
108535
  break;
108535
108536
  }
108536
- case K.AMPERSAND: {
108537
+ case Q.AMPERSAND: {
108537
108538
  this._startCharacterReference();
108538
108539
  break;
108539
108540
  }
108540
- case K.NULL: {
108541
+ case Q.NULL: {
108541
108542
  this._err(be.unexpectedNullCharacter), this._emitCodePoint(t);
108542
108543
  break;
108543
108544
  }
108544
- case K.EOF: {
108545
+ case Q.EOF: {
108545
108546
  this._emitEOFToken();
108546
108547
  break;
108547
108548
  }
@@ -108553,19 +108554,19 @@ class UCe {
108553
108554
  //------------------------------------------------------------------
108554
108555
  _stateRcdata(t) {
108555
108556
  switch (t) {
108556
- case K.AMPERSAND: {
108557
+ case Q.AMPERSAND: {
108557
108558
  this._startCharacterReference();
108558
108559
  break;
108559
108560
  }
108560
- case K.LESS_THAN_SIGN: {
108561
+ case Q.LESS_THAN_SIGN: {
108561
108562
  this.state = j.RCDATA_LESS_THAN_SIGN;
108562
108563
  break;
108563
108564
  }
108564
- case K.NULL: {
108565
+ case Q.NULL: {
108565
108566
  this._err(be.unexpectedNullCharacter), this._emitChars(pn);
108566
108567
  break;
108567
108568
  }
108568
- case K.EOF: {
108569
+ case Q.EOF: {
108569
108570
  this._emitEOFToken();
108570
108571
  break;
108571
108572
  }
@@ -108577,15 +108578,15 @@ class UCe {
108577
108578
  //------------------------------------------------------------------
108578
108579
  _stateRawtext(t) {
108579
108580
  switch (t) {
108580
- case K.LESS_THAN_SIGN: {
108581
+ case Q.LESS_THAN_SIGN: {
108581
108582
  this.state = j.RAWTEXT_LESS_THAN_SIGN;
108582
108583
  break;
108583
108584
  }
108584
- case K.NULL: {
108585
+ case Q.NULL: {
108585
108586
  this._err(be.unexpectedNullCharacter), this._emitChars(pn);
108586
108587
  break;
108587
108588
  }
108588
- case K.EOF: {
108589
+ case Q.EOF: {
108589
108590
  this._emitEOFToken();
108590
108591
  break;
108591
108592
  }
@@ -108597,15 +108598,15 @@ class UCe {
108597
108598
  //------------------------------------------------------------------
108598
108599
  _stateScriptData(t) {
108599
108600
  switch (t) {
108600
- case K.LESS_THAN_SIGN: {
108601
+ case Q.LESS_THAN_SIGN: {
108601
108602
  this.state = j.SCRIPT_DATA_LESS_THAN_SIGN;
108602
108603
  break;
108603
108604
  }
108604
- case K.NULL: {
108605
+ case Q.NULL: {
108605
108606
  this._err(be.unexpectedNullCharacter), this._emitChars(pn);
108606
108607
  break;
108607
108608
  }
108608
- case K.EOF: {
108609
+ case Q.EOF: {
108609
108610
  this._emitEOFToken();
108610
108611
  break;
108611
108612
  }
@@ -108617,11 +108618,11 @@ class UCe {
108617
108618
  //------------------------------------------------------------------
108618
108619
  _statePlaintext(t) {
108619
108620
  switch (t) {
108620
- case K.NULL: {
108621
+ case Q.NULL: {
108621
108622
  this._err(be.unexpectedNullCharacter), this._emitChars(pn);
108622
108623
  break;
108623
108624
  }
108624
- case K.EOF: {
108625
+ case Q.EOF: {
108625
108626
  this._emitEOFToken();
108626
108627
  break;
108627
108628
  }
@@ -108636,19 +108637,19 @@ class UCe {
108636
108637
  this._createStartTagToken(), this.state = j.TAG_NAME, this._stateTagName(t);
108637
108638
  else
108638
108639
  switch (t) {
108639
- case K.EXCLAMATION_MARK: {
108640
+ case Q.EXCLAMATION_MARK: {
108640
108641
  this.state = j.MARKUP_DECLARATION_OPEN;
108641
108642
  break;
108642
108643
  }
108643
- case K.SOLIDUS: {
108644
+ case Q.SOLIDUS: {
108644
108645
  this.state = j.END_TAG_OPEN;
108645
108646
  break;
108646
108647
  }
108647
- case K.QUESTION_MARK: {
108648
+ case Q.QUESTION_MARK: {
108648
108649
  this._err(be.unexpectedQuestionMarkInsteadOfTagName), this._createCommentToken(1), this.state = j.BOGUS_COMMENT, this._stateBogusComment(t);
108649
108650
  break;
108650
108651
  }
108651
- case K.EOF: {
108652
+ case Q.EOF: {
108652
108653
  this._err(be.eofBeforeTagName), this._emitChars("<"), this._emitEOFToken();
108653
108654
  break;
108654
108655
  }
@@ -108663,11 +108664,11 @@ class UCe {
108663
108664
  this._createEndTagToken(), this.state = j.TAG_NAME, this._stateTagName(t);
108664
108665
  else
108665
108666
  switch (t) {
108666
- case K.GREATER_THAN_SIGN: {
108667
+ case Q.GREATER_THAN_SIGN: {
108667
108668
  this._err(be.missingEndTagName), this.state = j.DATA;
108668
108669
  break;
108669
108670
  }
108670
- case K.EOF: {
108671
+ case Q.EOF: {
108671
108672
  this._err(be.eofBeforeTagName), this._emitChars("</"), this._emitEOFToken();
108672
108673
  break;
108673
108674
  }
@@ -108680,26 +108681,26 @@ class UCe {
108680
108681
  _stateTagName(t) {
108681
108682
  const n = this.currentToken;
108682
108683
  switch (t) {
108683
- case K.SPACE:
108684
- case K.LINE_FEED:
108685
- case K.TABULATION:
108686
- case K.FORM_FEED: {
108684
+ case Q.SPACE:
108685
+ case Q.LINE_FEED:
108686
+ case Q.TABULATION:
108687
+ case Q.FORM_FEED: {
108687
108688
  this.state = j.BEFORE_ATTRIBUTE_NAME;
108688
108689
  break;
108689
108690
  }
108690
- case K.SOLIDUS: {
108691
+ case Q.SOLIDUS: {
108691
108692
  this.state = j.SELF_CLOSING_START_TAG;
108692
108693
  break;
108693
108694
  }
108694
- case K.GREATER_THAN_SIGN: {
108695
+ case Q.GREATER_THAN_SIGN: {
108695
108696
  this.state = j.DATA, this.emitCurrentTagToken();
108696
108697
  break;
108697
108698
  }
108698
- case K.NULL: {
108699
+ case Q.NULL: {
108699
108700
  this._err(be.unexpectedNullCharacter), n.tagName += pn;
108700
108701
  break;
108701
108702
  }
108702
- case K.EOF: {
108703
+ case Q.EOF: {
108703
108704
  this._err(be.eofInTag), this._emitEOFToken();
108704
108705
  break;
108705
108706
  }
@@ -108710,7 +108711,7 @@ class UCe {
108710
108711
  // RCDATA less-than sign state
108711
108712
  //------------------------------------------------------------------
108712
108713
  _stateRcdataLessThanSign(t) {
108713
- t === K.SOLIDUS ? this.state = j.RCDATA_END_TAG_OPEN : (this._emitChars("<"), this.state = j.RCDATA, this._stateRcdata(t));
108714
+ t === Q.SOLIDUS ? this.state = j.RCDATA_END_TAG_OPEN : (this._emitChars("<"), this.state = j.RCDATA, this._stateRcdata(t));
108714
108715
  }
108715
108716
  // RCDATA end tag open state
108716
108717
  //------------------------------------------------------------------
@@ -108723,14 +108724,14 @@ class UCe {
108723
108724
  this._createEndTagToken();
108724
108725
  const n = this.currentToken;
108725
108726
  switch (n.tagName = this.lastStartTagName, this.preprocessor.peek(this.lastStartTagName.length)) {
108726
- case K.SPACE:
108727
- case K.LINE_FEED:
108728
- case K.TABULATION:
108729
- case K.FORM_FEED:
108727
+ case Q.SPACE:
108728
+ case Q.LINE_FEED:
108729
+ case Q.TABULATION:
108730
+ case Q.FORM_FEED:
108730
108731
  return this._advanceBy(this.lastStartTagName.length), this.state = j.BEFORE_ATTRIBUTE_NAME, !1;
108731
- case K.SOLIDUS:
108732
+ case Q.SOLIDUS:
108732
108733
  return this._advanceBy(this.lastStartTagName.length), this.state = j.SELF_CLOSING_START_TAG, !1;
108733
- case K.GREATER_THAN_SIGN:
108734
+ case Q.GREATER_THAN_SIGN:
108734
108735
  return this._advanceBy(this.lastStartTagName.length), this.emitCurrentTagToken(), this.state = j.DATA, !1;
108735
108736
  default:
108736
108737
  return !this._ensureHibernation();
@@ -108744,7 +108745,7 @@ class UCe {
108744
108745
  // RAWTEXT less-than sign state
108745
108746
  //------------------------------------------------------------------
108746
108747
  _stateRawtextLessThanSign(t) {
108747
- t === K.SOLIDUS ? this.state = j.RAWTEXT_END_TAG_OPEN : (this._emitChars("<"), this.state = j.RAWTEXT, this._stateRawtext(t));
108748
+ t === Q.SOLIDUS ? this.state = j.RAWTEXT_END_TAG_OPEN : (this._emitChars("<"), this.state = j.RAWTEXT, this._stateRawtext(t));
108748
108749
  }
108749
108750
  // RAWTEXT end tag open state
108750
108751
  //------------------------------------------------------------------
@@ -108760,11 +108761,11 @@ class UCe {
108760
108761
  //------------------------------------------------------------------
108761
108762
  _stateScriptDataLessThanSign(t) {
108762
108763
  switch (t) {
108763
- case K.SOLIDUS: {
108764
+ case Q.SOLIDUS: {
108764
108765
  this.state = j.SCRIPT_DATA_END_TAG_OPEN;
108765
108766
  break;
108766
108767
  }
108767
- case K.EXCLAMATION_MARK: {
108768
+ case Q.EXCLAMATION_MARK: {
108768
108769
  this.state = j.SCRIPT_DATA_ESCAPE_START, this._emitChars("<!");
108769
108770
  break;
108770
108771
  }
@@ -108785,30 +108786,30 @@ class UCe {
108785
108786
  // Script data escape start state
108786
108787
  //------------------------------------------------------------------
108787
108788
  _stateScriptDataEscapeStart(t) {
108788
- t === K.HYPHEN_MINUS ? (this.state = j.SCRIPT_DATA_ESCAPE_START_DASH, this._emitChars("-")) : (this.state = j.SCRIPT_DATA, this._stateScriptData(t));
108789
+ t === Q.HYPHEN_MINUS ? (this.state = j.SCRIPT_DATA_ESCAPE_START_DASH, this._emitChars("-")) : (this.state = j.SCRIPT_DATA, this._stateScriptData(t));
108789
108790
  }
108790
108791
  // Script data escape start dash state
108791
108792
  //------------------------------------------------------------------
108792
108793
  _stateScriptDataEscapeStartDash(t) {
108793
- t === K.HYPHEN_MINUS ? (this.state = j.SCRIPT_DATA_ESCAPED_DASH_DASH, this._emitChars("-")) : (this.state = j.SCRIPT_DATA, this._stateScriptData(t));
108794
+ t === Q.HYPHEN_MINUS ? (this.state = j.SCRIPT_DATA_ESCAPED_DASH_DASH, this._emitChars("-")) : (this.state = j.SCRIPT_DATA, this._stateScriptData(t));
108794
108795
  }
108795
108796
  // Script data escaped state
108796
108797
  //------------------------------------------------------------------
108797
108798
  _stateScriptDataEscaped(t) {
108798
108799
  switch (t) {
108799
- case K.HYPHEN_MINUS: {
108800
+ case Q.HYPHEN_MINUS: {
108800
108801
  this.state = j.SCRIPT_DATA_ESCAPED_DASH, this._emitChars("-");
108801
108802
  break;
108802
108803
  }
108803
- case K.LESS_THAN_SIGN: {
108804
+ case Q.LESS_THAN_SIGN: {
108804
108805
  this.state = j.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;
108805
108806
  break;
108806
108807
  }
108807
- case K.NULL: {
108808
+ case Q.NULL: {
108808
108809
  this._err(be.unexpectedNullCharacter), this._emitChars(pn);
108809
108810
  break;
108810
108811
  }
108811
- case K.EOF: {
108812
+ case Q.EOF: {
108812
108813
  this._err(be.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
108813
108814
  break;
108814
108815
  }
@@ -108820,19 +108821,19 @@ class UCe {
108820
108821
  //------------------------------------------------------------------
108821
108822
  _stateScriptDataEscapedDash(t) {
108822
108823
  switch (t) {
108823
- case K.HYPHEN_MINUS: {
108824
+ case Q.HYPHEN_MINUS: {
108824
108825
  this.state = j.SCRIPT_DATA_ESCAPED_DASH_DASH, this._emitChars("-");
108825
108826
  break;
108826
108827
  }
108827
- case K.LESS_THAN_SIGN: {
108828
+ case Q.LESS_THAN_SIGN: {
108828
108829
  this.state = j.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;
108829
108830
  break;
108830
108831
  }
108831
- case K.NULL: {
108832
+ case Q.NULL: {
108832
108833
  this._err(be.unexpectedNullCharacter), this.state = j.SCRIPT_DATA_ESCAPED, this._emitChars(pn);
108833
108834
  break;
108834
108835
  }
108835
- case K.EOF: {
108836
+ case Q.EOF: {
108836
108837
  this._err(be.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
108837
108838
  break;
108838
108839
  }
@@ -108844,23 +108845,23 @@ class UCe {
108844
108845
  //------------------------------------------------------------------
108845
108846
  _stateScriptDataEscapedDashDash(t) {
108846
108847
  switch (t) {
108847
- case K.HYPHEN_MINUS: {
108848
+ case Q.HYPHEN_MINUS: {
108848
108849
  this._emitChars("-");
108849
108850
  break;
108850
108851
  }
108851
- case K.LESS_THAN_SIGN: {
108852
+ case Q.LESS_THAN_SIGN: {
108852
108853
  this.state = j.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;
108853
108854
  break;
108854
108855
  }
108855
- case K.GREATER_THAN_SIGN: {
108856
+ case Q.GREATER_THAN_SIGN: {
108856
108857
  this.state = j.SCRIPT_DATA, this._emitChars(">");
108857
108858
  break;
108858
108859
  }
108859
- case K.NULL: {
108860
+ case Q.NULL: {
108860
108861
  this._err(be.unexpectedNullCharacter), this.state = j.SCRIPT_DATA_ESCAPED, this._emitChars(pn);
108861
108862
  break;
108862
108863
  }
108863
- case K.EOF: {
108864
+ case Q.EOF: {
108864
108865
  this._err(be.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
108865
108866
  break;
108866
108867
  }
@@ -108871,7 +108872,7 @@ class UCe {
108871
108872
  // Script data escaped less-than sign state
108872
108873
  //------------------------------------------------------------------
108873
108874
  _stateScriptDataEscapedLessThanSign(t) {
108874
- t === K.SOLIDUS ? this.state = j.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : mo(t) ? (this._emitChars("<"), this.state = j.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(t)) : (this._emitChars("<"), this.state = j.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
108875
+ t === Q.SOLIDUS ? this.state = j.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : mo(t) ? (this._emitChars("<"), this.state = j.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(t)) : (this._emitChars("<"), this.state = j.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
108875
108876
  }
108876
108877
  // Script data escaped end tag open state
108877
108878
  //------------------------------------------------------------------
@@ -108897,19 +108898,19 @@ class UCe {
108897
108898
  //------------------------------------------------------------------
108898
108899
  _stateScriptDataDoubleEscaped(t) {
108899
108900
  switch (t) {
108900
- case K.HYPHEN_MINUS: {
108901
+ case Q.HYPHEN_MINUS: {
108901
108902
  this.state = j.SCRIPT_DATA_DOUBLE_ESCAPED_DASH, this._emitChars("-");
108902
108903
  break;
108903
108904
  }
108904
- case K.LESS_THAN_SIGN: {
108905
+ case Q.LESS_THAN_SIGN: {
108905
108906
  this.state = j.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN, this._emitChars("<");
108906
108907
  break;
108907
108908
  }
108908
- case K.NULL: {
108909
+ case Q.NULL: {
108909
108910
  this._err(be.unexpectedNullCharacter), this._emitChars(pn);
108910
108911
  break;
108911
108912
  }
108912
- case K.EOF: {
108913
+ case Q.EOF: {
108913
108914
  this._err(be.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
108914
108915
  break;
108915
108916
  }
@@ -108921,19 +108922,19 @@ class UCe {
108921
108922
  //------------------------------------------------------------------
108922
108923
  _stateScriptDataDoubleEscapedDash(t) {
108923
108924
  switch (t) {
108924
- case K.HYPHEN_MINUS: {
108925
+ case Q.HYPHEN_MINUS: {
108925
108926
  this.state = j.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH, this._emitChars("-");
108926
108927
  break;
108927
108928
  }
108928
- case K.LESS_THAN_SIGN: {
108929
+ case Q.LESS_THAN_SIGN: {
108929
108930
  this.state = j.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN, this._emitChars("<");
108930
108931
  break;
108931
108932
  }
108932
- case K.NULL: {
108933
+ case Q.NULL: {
108933
108934
  this._err(be.unexpectedNullCharacter), this.state = j.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(pn);
108934
108935
  break;
108935
108936
  }
108936
- case K.EOF: {
108937
+ case Q.EOF: {
108937
108938
  this._err(be.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
108938
108939
  break;
108939
108940
  }
@@ -108945,23 +108946,23 @@ class UCe {
108945
108946
  //------------------------------------------------------------------
108946
108947
  _stateScriptDataDoubleEscapedDashDash(t) {
108947
108948
  switch (t) {
108948
- case K.HYPHEN_MINUS: {
108949
+ case Q.HYPHEN_MINUS: {
108949
108950
  this._emitChars("-");
108950
108951
  break;
108951
108952
  }
108952
- case K.LESS_THAN_SIGN: {
108953
+ case Q.LESS_THAN_SIGN: {
108953
108954
  this.state = j.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN, this._emitChars("<");
108954
108955
  break;
108955
108956
  }
108956
- case K.GREATER_THAN_SIGN: {
108957
+ case Q.GREATER_THAN_SIGN: {
108957
108958
  this.state = j.SCRIPT_DATA, this._emitChars(">");
108958
108959
  break;
108959
108960
  }
108960
- case K.NULL: {
108961
+ case Q.NULL: {
108961
108962
  this._err(be.unexpectedNullCharacter), this.state = j.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(pn);
108962
108963
  break;
108963
108964
  }
108964
- case K.EOF: {
108965
+ case Q.EOF: {
108965
108966
  this._err(be.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
108966
108967
  break;
108967
108968
  }
@@ -108972,7 +108973,7 @@ class UCe {
108972
108973
  // Script data double escaped less-than sign state
108973
108974
  //------------------------------------------------------------------
108974
108975
  _stateScriptDataDoubleEscapedLessThanSign(t) {
108975
- t === K.SOLIDUS ? (this.state = j.SCRIPT_DATA_DOUBLE_ESCAPE_END, this._emitChars("/")) : (this.state = j.SCRIPT_DATA_DOUBLE_ESCAPED, this._stateScriptDataDoubleEscaped(t));
108976
+ t === Q.SOLIDUS ? (this.state = j.SCRIPT_DATA_DOUBLE_ESCAPE_END, this._emitChars("/")) : (this.state = j.SCRIPT_DATA_DOUBLE_ESCAPED, this._stateScriptDataDoubleEscaped(t));
108976
108977
  }
108977
108978
  // Script data double escape end state
108978
108979
  //------------------------------------------------------------------
@@ -108988,18 +108989,18 @@ class UCe {
108988
108989
  //------------------------------------------------------------------
108989
108990
  _stateBeforeAttributeName(t) {
108990
108991
  switch (t) {
108991
- case K.SPACE:
108992
- case K.LINE_FEED:
108993
- case K.TABULATION:
108994
- case K.FORM_FEED:
108992
+ case Q.SPACE:
108993
+ case Q.LINE_FEED:
108994
+ case Q.TABULATION:
108995
+ case Q.FORM_FEED:
108995
108996
  break;
108996
- case K.SOLIDUS:
108997
- case K.GREATER_THAN_SIGN:
108998
- case K.EOF: {
108997
+ case Q.SOLIDUS:
108998
+ case Q.GREATER_THAN_SIGN:
108999
+ case Q.EOF: {
108999
109000
  this.state = j.AFTER_ATTRIBUTE_NAME, this._stateAfterAttributeName(t);
109000
109001
  break;
109001
109002
  }
109002
- case K.EQUALS_SIGN: {
109003
+ case Q.EQUALS_SIGN: {
109003
109004
  this._err(be.unexpectedEqualsSignBeforeAttributeName), this._createAttr("="), this.state = j.ATTRIBUTE_NAME;
109004
109005
  break;
109005
109006
  }
@@ -109011,27 +109012,27 @@ class UCe {
109011
109012
  //------------------------------------------------------------------
109012
109013
  _stateAttributeName(t) {
109013
109014
  switch (t) {
109014
- case K.SPACE:
109015
- case K.LINE_FEED:
109016
- case K.TABULATION:
109017
- case K.FORM_FEED:
109018
- case K.SOLIDUS:
109019
- case K.GREATER_THAN_SIGN:
109020
- case K.EOF: {
109015
+ case Q.SPACE:
109016
+ case Q.LINE_FEED:
109017
+ case Q.TABULATION:
109018
+ case Q.FORM_FEED:
109019
+ case Q.SOLIDUS:
109020
+ case Q.GREATER_THAN_SIGN:
109021
+ case Q.EOF: {
109021
109022
  this._leaveAttrName(), this.state = j.AFTER_ATTRIBUTE_NAME, this._stateAfterAttributeName(t);
109022
109023
  break;
109023
109024
  }
109024
- case K.EQUALS_SIGN: {
109025
+ case Q.EQUALS_SIGN: {
109025
109026
  this._leaveAttrName(), this.state = j.BEFORE_ATTRIBUTE_VALUE;
109026
109027
  break;
109027
109028
  }
109028
- case K.QUOTATION_MARK:
109029
- case K.APOSTROPHE:
109030
- case K.LESS_THAN_SIGN: {
109029
+ case Q.QUOTATION_MARK:
109030
+ case Q.APOSTROPHE:
109031
+ case Q.LESS_THAN_SIGN: {
109031
109032
  this._err(be.unexpectedCharacterInAttributeName), this.currentAttr.name += String.fromCodePoint(t);
109032
109033
  break;
109033
109034
  }
109034
- case K.NULL: {
109035
+ case Q.NULL: {
109035
109036
  this._err(be.unexpectedNullCharacter), this.currentAttr.name += pn;
109036
109037
  break;
109037
109038
  }
@@ -109043,24 +109044,24 @@ class UCe {
109043
109044
  //------------------------------------------------------------------
109044
109045
  _stateAfterAttributeName(t) {
109045
109046
  switch (t) {
109046
- case K.SPACE:
109047
- case K.LINE_FEED:
109048
- case K.TABULATION:
109049
- case K.FORM_FEED:
109047
+ case Q.SPACE:
109048
+ case Q.LINE_FEED:
109049
+ case Q.TABULATION:
109050
+ case Q.FORM_FEED:
109050
109051
  break;
109051
- case K.SOLIDUS: {
109052
+ case Q.SOLIDUS: {
109052
109053
  this.state = j.SELF_CLOSING_START_TAG;
109053
109054
  break;
109054
109055
  }
109055
- case K.EQUALS_SIGN: {
109056
+ case Q.EQUALS_SIGN: {
109056
109057
  this.state = j.BEFORE_ATTRIBUTE_VALUE;
109057
109058
  break;
109058
109059
  }
109059
- case K.GREATER_THAN_SIGN: {
109060
+ case Q.GREATER_THAN_SIGN: {
109060
109061
  this.state = j.DATA, this.emitCurrentTagToken();
109061
109062
  break;
109062
109063
  }
109063
- case K.EOF: {
109064
+ case Q.EOF: {
109064
109065
  this._err(be.eofInTag), this._emitEOFToken();
109065
109066
  break;
109066
109067
  }
@@ -109072,20 +109073,20 @@ class UCe {
109072
109073
  //------------------------------------------------------------------
109073
109074
  _stateBeforeAttributeValue(t) {
109074
109075
  switch (t) {
109075
- case K.SPACE:
109076
- case K.LINE_FEED:
109077
- case K.TABULATION:
109078
- case K.FORM_FEED:
109076
+ case Q.SPACE:
109077
+ case Q.LINE_FEED:
109078
+ case Q.TABULATION:
109079
+ case Q.FORM_FEED:
109079
109080
  break;
109080
- case K.QUOTATION_MARK: {
109081
+ case Q.QUOTATION_MARK: {
109081
109082
  this.state = j.ATTRIBUTE_VALUE_DOUBLE_QUOTED;
109082
109083
  break;
109083
109084
  }
109084
- case K.APOSTROPHE: {
109085
+ case Q.APOSTROPHE: {
109085
109086
  this.state = j.ATTRIBUTE_VALUE_SINGLE_QUOTED;
109086
109087
  break;
109087
109088
  }
109088
- case K.GREATER_THAN_SIGN: {
109089
+ case Q.GREATER_THAN_SIGN: {
109089
109090
  this._err(be.missingAttributeValue), this.state = j.DATA, this.emitCurrentTagToken();
109090
109091
  break;
109091
109092
  }
@@ -109097,19 +109098,19 @@ class UCe {
109097
109098
  //------------------------------------------------------------------
109098
109099
  _stateAttributeValueDoubleQuoted(t) {
109099
109100
  switch (t) {
109100
- case K.QUOTATION_MARK: {
109101
+ case Q.QUOTATION_MARK: {
109101
109102
  this.state = j.AFTER_ATTRIBUTE_VALUE_QUOTED;
109102
109103
  break;
109103
109104
  }
109104
- case K.AMPERSAND: {
109105
+ case Q.AMPERSAND: {
109105
109106
  this._startCharacterReference();
109106
109107
  break;
109107
109108
  }
109108
- case K.NULL: {
109109
+ case Q.NULL: {
109109
109110
  this._err(be.unexpectedNullCharacter), this.currentAttr.value += pn;
109110
109111
  break;
109111
109112
  }
109112
- case K.EOF: {
109113
+ case Q.EOF: {
109113
109114
  this._err(be.eofInTag), this._emitEOFToken();
109114
109115
  break;
109115
109116
  }
@@ -109121,19 +109122,19 @@ class UCe {
109121
109122
  //------------------------------------------------------------------
109122
109123
  _stateAttributeValueSingleQuoted(t) {
109123
109124
  switch (t) {
109124
- case K.APOSTROPHE: {
109125
+ case Q.APOSTROPHE: {
109125
109126
  this.state = j.AFTER_ATTRIBUTE_VALUE_QUOTED;
109126
109127
  break;
109127
109128
  }
109128
- case K.AMPERSAND: {
109129
+ case Q.AMPERSAND: {
109129
109130
  this._startCharacterReference();
109130
109131
  break;
109131
109132
  }
109132
- case K.NULL: {
109133
+ case Q.NULL: {
109133
109134
  this._err(be.unexpectedNullCharacter), this.currentAttr.value += pn;
109134
109135
  break;
109135
109136
  }
109136
- case K.EOF: {
109137
+ case Q.EOF: {
109137
109138
  this._err(be.eofInTag), this._emitEOFToken();
109138
109139
  break;
109139
109140
  }
@@ -109145,34 +109146,34 @@ class UCe {
109145
109146
  //------------------------------------------------------------------
109146
109147
  _stateAttributeValueUnquoted(t) {
109147
109148
  switch (t) {
109148
- case K.SPACE:
109149
- case K.LINE_FEED:
109150
- case K.TABULATION:
109151
- case K.FORM_FEED: {
109149
+ case Q.SPACE:
109150
+ case Q.LINE_FEED:
109151
+ case Q.TABULATION:
109152
+ case Q.FORM_FEED: {
109152
109153
  this._leaveAttrValue(), this.state = j.BEFORE_ATTRIBUTE_NAME;
109153
109154
  break;
109154
109155
  }
109155
- case K.AMPERSAND: {
109156
+ case Q.AMPERSAND: {
109156
109157
  this._startCharacterReference();
109157
109158
  break;
109158
109159
  }
109159
- case K.GREATER_THAN_SIGN: {
109160
+ case Q.GREATER_THAN_SIGN: {
109160
109161
  this._leaveAttrValue(), this.state = j.DATA, this.emitCurrentTagToken();
109161
109162
  break;
109162
109163
  }
109163
- case K.NULL: {
109164
+ case Q.NULL: {
109164
109165
  this._err(be.unexpectedNullCharacter), this.currentAttr.value += pn;
109165
109166
  break;
109166
109167
  }
109167
- case K.QUOTATION_MARK:
109168
- case K.APOSTROPHE:
109169
- case K.LESS_THAN_SIGN:
109170
- case K.EQUALS_SIGN:
109171
- case K.GRAVE_ACCENT: {
109168
+ case Q.QUOTATION_MARK:
109169
+ case Q.APOSTROPHE:
109170
+ case Q.LESS_THAN_SIGN:
109171
+ case Q.EQUALS_SIGN:
109172
+ case Q.GRAVE_ACCENT: {
109172
109173
  this._err(be.unexpectedCharacterInUnquotedAttributeValue), this.currentAttr.value += String.fromCodePoint(t);
109173
109174
  break;
109174
109175
  }
109175
- case K.EOF: {
109176
+ case Q.EOF: {
109176
109177
  this._err(be.eofInTag), this._emitEOFToken();
109177
109178
  break;
109178
109179
  }
@@ -109184,22 +109185,22 @@ class UCe {
109184
109185
  //------------------------------------------------------------------
109185
109186
  _stateAfterAttributeValueQuoted(t) {
109186
109187
  switch (t) {
109187
- case K.SPACE:
109188
- case K.LINE_FEED:
109189
- case K.TABULATION:
109190
- case K.FORM_FEED: {
109188
+ case Q.SPACE:
109189
+ case Q.LINE_FEED:
109190
+ case Q.TABULATION:
109191
+ case Q.FORM_FEED: {
109191
109192
  this._leaveAttrValue(), this.state = j.BEFORE_ATTRIBUTE_NAME;
109192
109193
  break;
109193
109194
  }
109194
- case K.SOLIDUS: {
109195
+ case Q.SOLIDUS: {
109195
109196
  this._leaveAttrValue(), this.state = j.SELF_CLOSING_START_TAG;
109196
109197
  break;
109197
109198
  }
109198
- case K.GREATER_THAN_SIGN: {
109199
+ case Q.GREATER_THAN_SIGN: {
109199
109200
  this._leaveAttrValue(), this.state = j.DATA, this.emitCurrentTagToken();
109200
109201
  break;
109201
109202
  }
109202
- case K.EOF: {
109203
+ case Q.EOF: {
109203
109204
  this._err(be.eofInTag), this._emitEOFToken();
109204
109205
  break;
109205
109206
  }
@@ -109211,12 +109212,12 @@ class UCe {
109211
109212
  //------------------------------------------------------------------
109212
109213
  _stateSelfClosingStartTag(t) {
109213
109214
  switch (t) {
109214
- case K.GREATER_THAN_SIGN: {
109215
+ case Q.GREATER_THAN_SIGN: {
109215
109216
  const n = this.currentToken;
109216
109217
  n.selfClosing = !0, this.state = j.DATA, this.emitCurrentTagToken();
109217
109218
  break;
109218
109219
  }
109219
- case K.EOF: {
109220
+ case Q.EOF: {
109220
109221
  this._err(be.eofInTag), this._emitEOFToken();
109221
109222
  break;
109222
109223
  }
@@ -109229,15 +109230,15 @@ class UCe {
109229
109230
  _stateBogusComment(t) {
109230
109231
  const n = this.currentToken;
109231
109232
  switch (t) {
109232
- case K.GREATER_THAN_SIGN: {
109233
+ case Q.GREATER_THAN_SIGN: {
109233
109234
  this.state = j.DATA, this.emitCurrentComment(n);
109234
109235
  break;
109235
109236
  }
109236
- case K.EOF: {
109237
+ case Q.EOF: {
109237
109238
  this.emitCurrentComment(n), this._emitEOFToken();
109238
109239
  break;
109239
109240
  }
109240
- case K.NULL: {
109241
+ case Q.NULL: {
109241
109242
  this._err(be.unexpectedNullCharacter), n.data += pn;
109242
109243
  break;
109243
109244
  }
@@ -109254,11 +109255,11 @@ class UCe {
109254
109255
  //------------------------------------------------------------------
109255
109256
  _stateCommentStart(t) {
109256
109257
  switch (t) {
109257
- case K.HYPHEN_MINUS: {
109258
+ case Q.HYPHEN_MINUS: {
109258
109259
  this.state = j.COMMENT_START_DASH;
109259
109260
  break;
109260
109261
  }
109261
- case K.GREATER_THAN_SIGN: {
109262
+ case Q.GREATER_THAN_SIGN: {
109262
109263
  this._err(be.abruptClosingOfEmptyComment), this.state = j.DATA;
109263
109264
  const n = this.currentToken;
109264
109265
  this.emitCurrentComment(n);
@@ -109273,15 +109274,15 @@ class UCe {
109273
109274
  _stateCommentStartDash(t) {
109274
109275
  const n = this.currentToken;
109275
109276
  switch (t) {
109276
- case K.HYPHEN_MINUS: {
109277
+ case Q.HYPHEN_MINUS: {
109277
109278
  this.state = j.COMMENT_END;
109278
109279
  break;
109279
109280
  }
109280
- case K.GREATER_THAN_SIGN: {
109281
+ case Q.GREATER_THAN_SIGN: {
109281
109282
  this._err(be.abruptClosingOfEmptyComment), this.state = j.DATA, this.emitCurrentComment(n);
109282
109283
  break;
109283
109284
  }
109284
- case K.EOF: {
109285
+ case Q.EOF: {
109285
109286
  this._err(be.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
109286
109287
  break;
109287
109288
  }
@@ -109294,19 +109295,19 @@ class UCe {
109294
109295
  _stateComment(t) {
109295
109296
  const n = this.currentToken;
109296
109297
  switch (t) {
109297
- case K.HYPHEN_MINUS: {
109298
+ case Q.HYPHEN_MINUS: {
109298
109299
  this.state = j.COMMENT_END_DASH;
109299
109300
  break;
109300
109301
  }
109301
- case K.LESS_THAN_SIGN: {
109302
+ case Q.LESS_THAN_SIGN: {
109302
109303
  n.data += "<", this.state = j.COMMENT_LESS_THAN_SIGN;
109303
109304
  break;
109304
109305
  }
109305
- case K.NULL: {
109306
+ case Q.NULL: {
109306
109307
  this._err(be.unexpectedNullCharacter), n.data += pn;
109307
109308
  break;
109308
109309
  }
109309
- case K.EOF: {
109310
+ case Q.EOF: {
109310
109311
  this._err(be.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
109311
109312
  break;
109312
109313
  }
@@ -109319,11 +109320,11 @@ class UCe {
109319
109320
  _stateCommentLessThanSign(t) {
109320
109321
  const n = this.currentToken;
109321
109322
  switch (t) {
109322
- case K.EXCLAMATION_MARK: {
109323
+ case Q.EXCLAMATION_MARK: {
109323
109324
  n.data += "!", this.state = j.COMMENT_LESS_THAN_SIGN_BANG;
109324
109325
  break;
109325
109326
  }
109326
- case K.LESS_THAN_SIGN: {
109327
+ case Q.LESS_THAN_SIGN: {
109327
109328
  n.data += "<";
109328
109329
  break;
109329
109330
  }
@@ -109334,28 +109335,28 @@ class UCe {
109334
109335
  // Comment less-than sign bang state
109335
109336
  //------------------------------------------------------------------
109336
109337
  _stateCommentLessThanSignBang(t) {
109337
- t === K.HYPHEN_MINUS ? this.state = j.COMMENT_LESS_THAN_SIGN_BANG_DASH : (this.state = j.COMMENT, this._stateComment(t));
109338
+ t === Q.HYPHEN_MINUS ? this.state = j.COMMENT_LESS_THAN_SIGN_BANG_DASH : (this.state = j.COMMENT, this._stateComment(t));
109338
109339
  }
109339
109340
  // Comment less-than sign bang dash state
109340
109341
  //------------------------------------------------------------------
109341
109342
  _stateCommentLessThanSignBangDash(t) {
109342
- t === K.HYPHEN_MINUS ? this.state = j.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH : (this.state = j.COMMENT_END_DASH, this._stateCommentEndDash(t));
109343
+ t === Q.HYPHEN_MINUS ? this.state = j.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH : (this.state = j.COMMENT_END_DASH, this._stateCommentEndDash(t));
109343
109344
  }
109344
109345
  // Comment less-than sign bang dash dash state
109345
109346
  //------------------------------------------------------------------
109346
109347
  _stateCommentLessThanSignBangDashDash(t) {
109347
- t !== K.GREATER_THAN_SIGN && t !== K.EOF && this._err(be.nestedComment), this.state = j.COMMENT_END, this._stateCommentEnd(t);
109348
+ t !== Q.GREATER_THAN_SIGN && t !== Q.EOF && this._err(be.nestedComment), this.state = j.COMMENT_END, this._stateCommentEnd(t);
109348
109349
  }
109349
109350
  // Comment end dash state
109350
109351
  //------------------------------------------------------------------
109351
109352
  _stateCommentEndDash(t) {
109352
109353
  const n = this.currentToken;
109353
109354
  switch (t) {
109354
- case K.HYPHEN_MINUS: {
109355
+ case Q.HYPHEN_MINUS: {
109355
109356
  this.state = j.COMMENT_END;
109356
109357
  break;
109357
109358
  }
109358
- case K.EOF: {
109359
+ case Q.EOF: {
109359
109360
  this._err(be.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
109360
109361
  break;
109361
109362
  }
@@ -109368,19 +109369,19 @@ class UCe {
109368
109369
  _stateCommentEnd(t) {
109369
109370
  const n = this.currentToken;
109370
109371
  switch (t) {
109371
- case K.GREATER_THAN_SIGN: {
109372
+ case Q.GREATER_THAN_SIGN: {
109372
109373
  this.state = j.DATA, this.emitCurrentComment(n);
109373
109374
  break;
109374
109375
  }
109375
- case K.EXCLAMATION_MARK: {
109376
+ case Q.EXCLAMATION_MARK: {
109376
109377
  this.state = j.COMMENT_END_BANG;
109377
109378
  break;
109378
109379
  }
109379
- case K.HYPHEN_MINUS: {
109380
+ case Q.HYPHEN_MINUS: {
109380
109381
  n.data += "-";
109381
109382
  break;
109382
109383
  }
109383
- case K.EOF: {
109384
+ case Q.EOF: {
109384
109385
  this._err(be.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
109385
109386
  break;
109386
109387
  }
@@ -109393,15 +109394,15 @@ class UCe {
109393
109394
  _stateCommentEndBang(t) {
109394
109395
  const n = this.currentToken;
109395
109396
  switch (t) {
109396
- case K.HYPHEN_MINUS: {
109397
+ case Q.HYPHEN_MINUS: {
109397
109398
  n.data += "--!", this.state = j.COMMENT_END_DASH;
109398
109399
  break;
109399
109400
  }
109400
- case K.GREATER_THAN_SIGN: {
109401
+ case Q.GREATER_THAN_SIGN: {
109401
109402
  this._err(be.incorrectlyClosedComment), this.state = j.DATA, this.emitCurrentComment(n);
109402
109403
  break;
109403
109404
  }
109404
- case K.EOF: {
109405
+ case Q.EOF: {
109405
109406
  this._err(be.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
109406
109407
  break;
109407
109408
  }
@@ -109413,18 +109414,18 @@ class UCe {
109413
109414
  //------------------------------------------------------------------
109414
109415
  _stateDoctype(t) {
109415
109416
  switch (t) {
109416
- case K.SPACE:
109417
- case K.LINE_FEED:
109418
- case K.TABULATION:
109419
- case K.FORM_FEED: {
109417
+ case Q.SPACE:
109418
+ case Q.LINE_FEED:
109419
+ case Q.TABULATION:
109420
+ case Q.FORM_FEED: {
109420
109421
  this.state = j.BEFORE_DOCTYPE_NAME;
109421
109422
  break;
109422
109423
  }
109423
- case K.GREATER_THAN_SIGN: {
109424
+ case Q.GREATER_THAN_SIGN: {
109424
109425
  this.state = j.BEFORE_DOCTYPE_NAME, this._stateBeforeDoctypeName(t);
109425
109426
  break;
109426
109427
  }
109427
- case K.EOF: {
109428
+ case Q.EOF: {
109428
109429
  this._err(be.eofInDoctype), this._createDoctypeToken(null);
109429
109430
  const n = this.currentToken;
109430
109431
  n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
@@ -109441,22 +109442,22 @@ class UCe {
109441
109442
  this._createDoctypeToken(String.fromCharCode(Cm(t))), this.state = j.DOCTYPE_NAME;
109442
109443
  else
109443
109444
  switch (t) {
109444
- case K.SPACE:
109445
- case K.LINE_FEED:
109446
- case K.TABULATION:
109447
- case K.FORM_FEED:
109445
+ case Q.SPACE:
109446
+ case Q.LINE_FEED:
109447
+ case Q.TABULATION:
109448
+ case Q.FORM_FEED:
109448
109449
  break;
109449
- case K.NULL: {
109450
+ case Q.NULL: {
109450
109451
  this._err(be.unexpectedNullCharacter), this._createDoctypeToken(pn), this.state = j.DOCTYPE_NAME;
109451
109452
  break;
109452
109453
  }
109453
- case K.GREATER_THAN_SIGN: {
109454
+ case Q.GREATER_THAN_SIGN: {
109454
109455
  this._err(be.missingDoctypeName), this._createDoctypeToken(null);
109455
109456
  const n = this.currentToken;
109456
109457
  n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = j.DATA;
109457
109458
  break;
109458
109459
  }
109459
- case K.EOF: {
109460
+ case Q.EOF: {
109460
109461
  this._err(be.eofInDoctype), this._createDoctypeToken(null);
109461
109462
  const n = this.currentToken;
109462
109463
  n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
@@ -109471,22 +109472,22 @@ class UCe {
109471
109472
  _stateDoctypeName(t) {
109472
109473
  const n = this.currentToken;
109473
109474
  switch (t) {
109474
- case K.SPACE:
109475
- case K.LINE_FEED:
109476
- case K.TABULATION:
109477
- case K.FORM_FEED: {
109475
+ case Q.SPACE:
109476
+ case Q.LINE_FEED:
109477
+ case Q.TABULATION:
109478
+ case Q.FORM_FEED: {
109478
109479
  this.state = j.AFTER_DOCTYPE_NAME;
109479
109480
  break;
109480
109481
  }
109481
- case K.GREATER_THAN_SIGN: {
109482
+ case Q.GREATER_THAN_SIGN: {
109482
109483
  this.state = j.DATA, this.emitCurrentDoctype(n);
109483
109484
  break;
109484
109485
  }
109485
- case K.NULL: {
109486
+ case Q.NULL: {
109486
109487
  this._err(be.unexpectedNullCharacter), n.name += pn;
109487
109488
  break;
109488
109489
  }
109489
- case K.EOF: {
109490
+ case Q.EOF: {
109490
109491
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109491
109492
  break;
109492
109493
  }
@@ -109499,16 +109500,16 @@ class UCe {
109499
109500
  _stateAfterDoctypeName(t) {
109500
109501
  const n = this.currentToken;
109501
109502
  switch (t) {
109502
- case K.SPACE:
109503
- case K.LINE_FEED:
109504
- case K.TABULATION:
109505
- case K.FORM_FEED:
109503
+ case Q.SPACE:
109504
+ case Q.LINE_FEED:
109505
+ case Q.TABULATION:
109506
+ case Q.FORM_FEED:
109506
109507
  break;
109507
- case K.GREATER_THAN_SIGN: {
109508
+ case Q.GREATER_THAN_SIGN: {
109508
109509
  this.state = j.DATA, this.emitCurrentDoctype(n);
109509
109510
  break;
109510
109511
  }
109511
- case K.EOF: {
109512
+ case Q.EOF: {
109512
109513
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109513
109514
  break;
109514
109515
  }
@@ -109521,26 +109522,26 @@ class UCe {
109521
109522
  _stateAfterDoctypePublicKeyword(t) {
109522
109523
  const n = this.currentToken;
109523
109524
  switch (t) {
109524
- case K.SPACE:
109525
- case K.LINE_FEED:
109526
- case K.TABULATION:
109527
- case K.FORM_FEED: {
109525
+ case Q.SPACE:
109526
+ case Q.LINE_FEED:
109527
+ case Q.TABULATION:
109528
+ case Q.FORM_FEED: {
109528
109529
  this.state = j.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;
109529
109530
  break;
109530
109531
  }
109531
- case K.QUOTATION_MARK: {
109532
+ case Q.QUOTATION_MARK: {
109532
109533
  this._err(be.missingWhitespaceAfterDoctypePublicKeyword), n.publicId = "", this.state = j.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;
109533
109534
  break;
109534
109535
  }
109535
- case K.APOSTROPHE: {
109536
+ case Q.APOSTROPHE: {
109536
109537
  this._err(be.missingWhitespaceAfterDoctypePublicKeyword), n.publicId = "", this.state = j.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;
109537
109538
  break;
109538
109539
  }
109539
- case K.GREATER_THAN_SIGN: {
109540
+ case Q.GREATER_THAN_SIGN: {
109540
109541
  this._err(be.missingDoctypePublicIdentifier), n.forceQuirks = !0, this.state = j.DATA, this.emitCurrentDoctype(n);
109541
109542
  break;
109542
109543
  }
109543
- case K.EOF: {
109544
+ case Q.EOF: {
109544
109545
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109545
109546
  break;
109546
109547
  }
@@ -109553,24 +109554,24 @@ class UCe {
109553
109554
  _stateBeforeDoctypePublicIdentifier(t) {
109554
109555
  const n = this.currentToken;
109555
109556
  switch (t) {
109556
- case K.SPACE:
109557
- case K.LINE_FEED:
109558
- case K.TABULATION:
109559
- case K.FORM_FEED:
109557
+ case Q.SPACE:
109558
+ case Q.LINE_FEED:
109559
+ case Q.TABULATION:
109560
+ case Q.FORM_FEED:
109560
109561
  break;
109561
- case K.QUOTATION_MARK: {
109562
+ case Q.QUOTATION_MARK: {
109562
109563
  n.publicId = "", this.state = j.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;
109563
109564
  break;
109564
109565
  }
109565
- case K.APOSTROPHE: {
109566
+ case Q.APOSTROPHE: {
109566
109567
  n.publicId = "", this.state = j.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;
109567
109568
  break;
109568
109569
  }
109569
- case K.GREATER_THAN_SIGN: {
109570
+ case Q.GREATER_THAN_SIGN: {
109570
109571
  this._err(be.missingDoctypePublicIdentifier), n.forceQuirks = !0, this.state = j.DATA, this.emitCurrentDoctype(n);
109571
109572
  break;
109572
109573
  }
109573
- case K.EOF: {
109574
+ case Q.EOF: {
109574
109575
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109575
109576
  break;
109576
109577
  }
@@ -109583,19 +109584,19 @@ class UCe {
109583
109584
  _stateDoctypePublicIdentifierDoubleQuoted(t) {
109584
109585
  const n = this.currentToken;
109585
109586
  switch (t) {
109586
- case K.QUOTATION_MARK: {
109587
+ case Q.QUOTATION_MARK: {
109587
109588
  this.state = j.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;
109588
109589
  break;
109589
109590
  }
109590
- case K.NULL: {
109591
+ case Q.NULL: {
109591
109592
  this._err(be.unexpectedNullCharacter), n.publicId += pn;
109592
109593
  break;
109593
109594
  }
109594
- case K.GREATER_THAN_SIGN: {
109595
+ case Q.GREATER_THAN_SIGN: {
109595
109596
  this._err(be.abruptDoctypePublicIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = j.DATA;
109596
109597
  break;
109597
109598
  }
109598
- case K.EOF: {
109599
+ case Q.EOF: {
109599
109600
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109600
109601
  break;
109601
109602
  }
@@ -109608,19 +109609,19 @@ class UCe {
109608
109609
  _stateDoctypePublicIdentifierSingleQuoted(t) {
109609
109610
  const n = this.currentToken;
109610
109611
  switch (t) {
109611
- case K.APOSTROPHE: {
109612
+ case Q.APOSTROPHE: {
109612
109613
  this.state = j.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;
109613
109614
  break;
109614
109615
  }
109615
- case K.NULL: {
109616
+ case Q.NULL: {
109616
109617
  this._err(be.unexpectedNullCharacter), n.publicId += pn;
109617
109618
  break;
109618
109619
  }
109619
- case K.GREATER_THAN_SIGN: {
109620
+ case Q.GREATER_THAN_SIGN: {
109620
109621
  this._err(be.abruptDoctypePublicIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = j.DATA;
109621
109622
  break;
109622
109623
  }
109623
- case K.EOF: {
109624
+ case Q.EOF: {
109624
109625
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109625
109626
  break;
109626
109627
  }
@@ -109633,26 +109634,26 @@ class UCe {
109633
109634
  _stateAfterDoctypePublicIdentifier(t) {
109634
109635
  const n = this.currentToken;
109635
109636
  switch (t) {
109636
- case K.SPACE:
109637
- case K.LINE_FEED:
109638
- case K.TABULATION:
109639
- case K.FORM_FEED: {
109637
+ case Q.SPACE:
109638
+ case Q.LINE_FEED:
109639
+ case Q.TABULATION:
109640
+ case Q.FORM_FEED: {
109640
109641
  this.state = j.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;
109641
109642
  break;
109642
109643
  }
109643
- case K.GREATER_THAN_SIGN: {
109644
+ case Q.GREATER_THAN_SIGN: {
109644
109645
  this.state = j.DATA, this.emitCurrentDoctype(n);
109645
109646
  break;
109646
109647
  }
109647
- case K.QUOTATION_MARK: {
109648
+ case Q.QUOTATION_MARK: {
109648
109649
  this._err(be.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers), n.systemId = "", this.state = j.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
109649
109650
  break;
109650
109651
  }
109651
- case K.APOSTROPHE: {
109652
+ case Q.APOSTROPHE: {
109652
109653
  this._err(be.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers), n.systemId = "", this.state = j.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
109653
109654
  break;
109654
109655
  }
109655
- case K.EOF: {
109656
+ case Q.EOF: {
109656
109657
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109657
109658
  break;
109658
109659
  }
@@ -109665,24 +109666,24 @@ class UCe {
109665
109666
  _stateBetweenDoctypePublicAndSystemIdentifiers(t) {
109666
109667
  const n = this.currentToken;
109667
109668
  switch (t) {
109668
- case K.SPACE:
109669
- case K.LINE_FEED:
109670
- case K.TABULATION:
109671
- case K.FORM_FEED:
109669
+ case Q.SPACE:
109670
+ case Q.LINE_FEED:
109671
+ case Q.TABULATION:
109672
+ case Q.FORM_FEED:
109672
109673
  break;
109673
- case K.GREATER_THAN_SIGN: {
109674
+ case Q.GREATER_THAN_SIGN: {
109674
109675
  this.emitCurrentDoctype(n), this.state = j.DATA;
109675
109676
  break;
109676
109677
  }
109677
- case K.QUOTATION_MARK: {
109678
+ case Q.QUOTATION_MARK: {
109678
109679
  n.systemId = "", this.state = j.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
109679
109680
  break;
109680
109681
  }
109681
- case K.APOSTROPHE: {
109682
+ case Q.APOSTROPHE: {
109682
109683
  n.systemId = "", this.state = j.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
109683
109684
  break;
109684
109685
  }
109685
- case K.EOF: {
109686
+ case Q.EOF: {
109686
109687
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109687
109688
  break;
109688
109689
  }
@@ -109695,26 +109696,26 @@ class UCe {
109695
109696
  _stateAfterDoctypeSystemKeyword(t) {
109696
109697
  const n = this.currentToken;
109697
109698
  switch (t) {
109698
- case K.SPACE:
109699
- case K.LINE_FEED:
109700
- case K.TABULATION:
109701
- case K.FORM_FEED: {
109699
+ case Q.SPACE:
109700
+ case Q.LINE_FEED:
109701
+ case Q.TABULATION:
109702
+ case Q.FORM_FEED: {
109702
109703
  this.state = j.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;
109703
109704
  break;
109704
109705
  }
109705
- case K.QUOTATION_MARK: {
109706
+ case Q.QUOTATION_MARK: {
109706
109707
  this._err(be.missingWhitespaceAfterDoctypeSystemKeyword), n.systemId = "", this.state = j.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
109707
109708
  break;
109708
109709
  }
109709
- case K.APOSTROPHE: {
109710
+ case Q.APOSTROPHE: {
109710
109711
  this._err(be.missingWhitespaceAfterDoctypeSystemKeyword), n.systemId = "", this.state = j.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
109711
109712
  break;
109712
109713
  }
109713
- case K.GREATER_THAN_SIGN: {
109714
+ case Q.GREATER_THAN_SIGN: {
109714
109715
  this._err(be.missingDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = j.DATA, this.emitCurrentDoctype(n);
109715
109716
  break;
109716
109717
  }
109717
- case K.EOF: {
109718
+ case Q.EOF: {
109718
109719
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109719
109720
  break;
109720
109721
  }
@@ -109727,24 +109728,24 @@ class UCe {
109727
109728
  _stateBeforeDoctypeSystemIdentifier(t) {
109728
109729
  const n = this.currentToken;
109729
109730
  switch (t) {
109730
- case K.SPACE:
109731
- case K.LINE_FEED:
109732
- case K.TABULATION:
109733
- case K.FORM_FEED:
109731
+ case Q.SPACE:
109732
+ case Q.LINE_FEED:
109733
+ case Q.TABULATION:
109734
+ case Q.FORM_FEED:
109734
109735
  break;
109735
- case K.QUOTATION_MARK: {
109736
+ case Q.QUOTATION_MARK: {
109736
109737
  n.systemId = "", this.state = j.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
109737
109738
  break;
109738
109739
  }
109739
- case K.APOSTROPHE: {
109740
+ case Q.APOSTROPHE: {
109740
109741
  n.systemId = "", this.state = j.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
109741
109742
  break;
109742
109743
  }
109743
- case K.GREATER_THAN_SIGN: {
109744
+ case Q.GREATER_THAN_SIGN: {
109744
109745
  this._err(be.missingDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = j.DATA, this.emitCurrentDoctype(n);
109745
109746
  break;
109746
109747
  }
109747
- case K.EOF: {
109748
+ case Q.EOF: {
109748
109749
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109749
109750
  break;
109750
109751
  }
@@ -109757,19 +109758,19 @@ class UCe {
109757
109758
  _stateDoctypeSystemIdentifierDoubleQuoted(t) {
109758
109759
  const n = this.currentToken;
109759
109760
  switch (t) {
109760
- case K.QUOTATION_MARK: {
109761
+ case Q.QUOTATION_MARK: {
109761
109762
  this.state = j.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;
109762
109763
  break;
109763
109764
  }
109764
- case K.NULL: {
109765
+ case Q.NULL: {
109765
109766
  this._err(be.unexpectedNullCharacter), n.systemId += pn;
109766
109767
  break;
109767
109768
  }
109768
- case K.GREATER_THAN_SIGN: {
109769
+ case Q.GREATER_THAN_SIGN: {
109769
109770
  this._err(be.abruptDoctypeSystemIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = j.DATA;
109770
109771
  break;
109771
109772
  }
109772
- case K.EOF: {
109773
+ case Q.EOF: {
109773
109774
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109774
109775
  break;
109775
109776
  }
@@ -109782,19 +109783,19 @@ class UCe {
109782
109783
  _stateDoctypeSystemIdentifierSingleQuoted(t) {
109783
109784
  const n = this.currentToken;
109784
109785
  switch (t) {
109785
- case K.APOSTROPHE: {
109786
+ case Q.APOSTROPHE: {
109786
109787
  this.state = j.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;
109787
109788
  break;
109788
109789
  }
109789
- case K.NULL: {
109790
+ case Q.NULL: {
109790
109791
  this._err(be.unexpectedNullCharacter), n.systemId += pn;
109791
109792
  break;
109792
109793
  }
109793
- case K.GREATER_THAN_SIGN: {
109794
+ case Q.GREATER_THAN_SIGN: {
109794
109795
  this._err(be.abruptDoctypeSystemIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = j.DATA;
109795
109796
  break;
109796
109797
  }
109797
- case K.EOF: {
109798
+ case Q.EOF: {
109798
109799
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109799
109800
  break;
109800
109801
  }
@@ -109807,16 +109808,16 @@ class UCe {
109807
109808
  _stateAfterDoctypeSystemIdentifier(t) {
109808
109809
  const n = this.currentToken;
109809
109810
  switch (t) {
109810
- case K.SPACE:
109811
- case K.LINE_FEED:
109812
- case K.TABULATION:
109813
- case K.FORM_FEED:
109811
+ case Q.SPACE:
109812
+ case Q.LINE_FEED:
109813
+ case Q.TABULATION:
109814
+ case Q.FORM_FEED:
109814
109815
  break;
109815
- case K.GREATER_THAN_SIGN: {
109816
+ case Q.GREATER_THAN_SIGN: {
109816
109817
  this.emitCurrentDoctype(n), this.state = j.DATA;
109817
109818
  break;
109818
109819
  }
109819
- case K.EOF: {
109820
+ case Q.EOF: {
109820
109821
  this._err(be.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
109821
109822
  break;
109822
109823
  }
@@ -109829,15 +109830,15 @@ class UCe {
109829
109830
  _stateBogusDoctype(t) {
109830
109831
  const n = this.currentToken;
109831
109832
  switch (t) {
109832
- case K.GREATER_THAN_SIGN: {
109833
+ case Q.GREATER_THAN_SIGN: {
109833
109834
  this.emitCurrentDoctype(n), this.state = j.DATA;
109834
109835
  break;
109835
109836
  }
109836
- case K.NULL: {
109837
+ case Q.NULL: {
109837
109838
  this._err(be.unexpectedNullCharacter);
109838
109839
  break;
109839
109840
  }
109840
- case K.EOF: {
109841
+ case Q.EOF: {
109841
109842
  this.emitCurrentDoctype(n), this._emitEOFToken();
109842
109843
  break;
109843
109844
  }
@@ -109847,11 +109848,11 @@ class UCe {
109847
109848
  //------------------------------------------------------------------
109848
109849
  _stateCdataSection(t) {
109849
109850
  switch (t) {
109850
- case K.RIGHT_SQUARE_BRACKET: {
109851
+ case Q.RIGHT_SQUARE_BRACKET: {
109851
109852
  this.state = j.CDATA_SECTION_BRACKET;
109852
109853
  break;
109853
109854
  }
109854
- case K.EOF: {
109855
+ case Q.EOF: {
109855
109856
  this._err(be.eofInCdata), this._emitEOFToken();
109856
109857
  break;
109857
109858
  }
@@ -109862,17 +109863,17 @@ class UCe {
109862
109863
  // CDATA section bracket state
109863
109864
  //------------------------------------------------------------------
109864
109865
  _stateCdataSectionBracket(t) {
109865
- t === K.RIGHT_SQUARE_BRACKET ? this.state = j.CDATA_SECTION_END : (this._emitChars("]"), this.state = j.CDATA_SECTION, this._stateCdataSection(t));
109866
+ t === Q.RIGHT_SQUARE_BRACKET ? this.state = j.CDATA_SECTION_END : (this._emitChars("]"), this.state = j.CDATA_SECTION, this._stateCdataSection(t));
109866
109867
  }
109867
109868
  // CDATA section end state
109868
109869
  //------------------------------------------------------------------
109869
109870
  _stateCdataSectionEnd(t) {
109870
109871
  switch (t) {
109871
- case K.GREATER_THAN_SIGN: {
109872
+ case Q.GREATER_THAN_SIGN: {
109872
109873
  this.state = j.DATA;
109873
109874
  break;
109874
109875
  }
109875
- case K.RIGHT_SQUARE_BRACKET: {
109876
+ case Q.RIGHT_SQUARE_BRACKET: {
109876
109877
  this._emitChars("]");
109877
109878
  break;
109878
109879
  }
@@ -109891,12 +109892,12 @@ class UCe {
109891
109892
  this.active = !1, this.preprocessor.pos = this.preprocessor.html.length - 1, this.consumedAfterSnapshot = 0, this.preprocessor.endOfChunkHit = !0;
109892
109893
  return;
109893
109894
  }
109894
- t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(K.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && BL(this.preprocessor.peek(1)) ? j.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
109895
+ t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(Q.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && BL(this.preprocessor.peek(1)) ? j.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
109895
109896
  }
109896
109897
  // Ambiguos ampersand state
109897
109898
  //------------------------------------------------------------------
109898
109899
  _stateAmbiguousAmpersand(t) {
109899
- BL(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === K.SEMICOLON && this._err(be.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
109900
+ BL(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === Q.SEMICOLON && this._err(be.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
109900
109901
  }
109901
109902
  }
109902
109903
  const cz = /* @__PURE__ */ new Set([C.DD, C.DT, C.LI, C.OPTGROUP, C.OPTION, C.P, C.RB, C.RP, C.RT, C.RTC]), HL = /* @__PURE__ */ new Set([
@@ -111539,7 +111540,7 @@ class KL {
111539
111540
  }
111540
111541
  /** @internal */
111541
111542
  onWhitespaceCharacter(t) {
111542
- if (this.skipNextNewLine && (this.skipNextNewLine = !1, t.chars.charCodeAt(0) === K.LINE_FEED)) {
111543
+ if (this.skipNextNewLine && (this.skipNextNewLine = !1, t.chars.charCodeAt(0) === Q.LINE_FEED)) {
111543
111544
  if (t.chars.length === 1)
111544
111545
  return;
111545
111546
  t.chars = t.chars.substr(1);
@@ -115012,7 +115013,7 @@ function MAe(e, t, n) {
115012
115013
  return O === null || Et(O) ? M(O) : Ut(O) ? (e.consume(O), A) : n(O);
115013
115014
  }
115014
115015
  function M(O) {
115015
- return O === 45 && a === 2 ? (e.consume(O), z) : O === 60 && a === 1 ? (e.consume(O), Y) : O === 62 && a === 4 ? (e.consume(O), Q) : O === 63 && a === 3 ? (e.consume(O), w) : O === 93 && a === 5 ? (e.consume(O), H) : Et(O) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(wAe, V, x)(O)) : O === null || Et(O) ? (e.exit("htmlFlowData"), x(O)) : (e.consume(O), M);
115016
+ return O === 45 && a === 2 ? (e.consume(O), z) : O === 60 && a === 1 ? (e.consume(O), Y) : O === 62 && a === 4 ? (e.consume(O), K) : O === 63 && a === 3 ? (e.consume(O), w) : O === 93 && a === 5 ? (e.consume(O), H) : Et(O) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(wAe, V, x)(O)) : O === null || Et(O) ? (e.exit("htmlFlowData"), x(O)) : (e.consume(O), M);
115016
115017
  }
115017
115018
  function x(O) {
115018
115019
  return e.check(xAe, B, V)(O);
@@ -115032,7 +115033,7 @@ function MAe(e, t, n) {
115032
115033
  function F(O) {
115033
115034
  if (O === 62) {
115034
115035
  const U = o.toLowerCase();
115035
- return d3.includes(U) ? (e.consume(O), Q) : M(O);
115036
+ return d3.includes(U) ? (e.consume(O), K) : M(O);
115036
115037
  }
115037
115038
  return Ir(O) && o.length < 8 ? (e.consume(O), o += String.fromCharCode(O), F) : M(O);
115038
115039
  }
@@ -115040,10 +115041,10 @@ function MAe(e, t, n) {
115040
115041
  return O === 93 ? (e.consume(O), w) : M(O);
115041
115042
  }
115042
115043
  function w(O) {
115043
- return O === 62 ? (e.consume(O), Q) : O === 45 && a === 2 ? (e.consume(O), w) : M(O);
115044
+ return O === 62 ? (e.consume(O), K) : O === 45 && a === 2 ? (e.consume(O), w) : M(O);
115044
115045
  }
115045
- function Q(O) {
115046
- return O === null || Et(O) ? (e.exit("htmlFlowData"), V(O)) : (e.consume(O), Q);
115046
+ function K(O) {
115047
+ return O === null || Et(O) ? (e.exit("htmlFlowData"), V(O)) : (e.consume(O), K);
115047
115048
  }
115048
115049
  function V(O) {
115049
115050
  return e.exit("htmlFlow"), t(O);
@@ -115095,8 +115096,8 @@ function UAe(e, t, n) {
115095
115096
  return w === 62 ? z(w) : w === 45 ? p(w) : d(w);
115096
115097
  }
115097
115098
  function g(w) {
115098
- const Q = "CDATA[";
115099
- return w === Q.charCodeAt(i++) ? (e.consume(w), i === Q.length ? f : g) : n(w);
115099
+ const K = "CDATA[";
115100
+ return w === K.charCodeAt(i++) ? (e.consume(w), i === K.length ? f : g) : n(w);
115100
115101
  }
115101
115102
  function f(w) {
115102
115103
  return w === null ? n(w) : w === 93 ? (e.consume(w), E) : Et(w) ? (o = f, Y(w)) : (e.consume(w), f);
@@ -115790,8 +115791,8 @@ function yIe(e, t, n) {
115790
115791
  /** @type {Construct} */
115791
115792
  B
115792
115793
  ])
115793
- ) : Q(B);
115794
- function Q(W) {
115794
+ ) : K(B);
115795
+ function K(W) {
115795
115796
  return X;
115796
115797
  function X(J) {
115797
115798
  const ie = J !== null && W[J], te = J !== null && W.null, re = [
@@ -116069,7 +116070,7 @@ function kIe(e) {
116069
116070
  paragraph: l(),
116070
116071
  referenceString: U,
116071
116072
  resourceDestinationString: w,
116072
- resourceTitleString: Q,
116073
+ resourceTitleString: K,
116073
116074
  resource: V,
116074
116075
  setextHeading: l(I),
116075
116076
  setextHeadingLineSequence: N,
@@ -116346,7 +116347,7 @@ function kIe(e) {
116346
116347
  const le = this.resume(), oe = this.stack[this.stack.length - 1];
116347
116348
  oe.url = le;
116348
116349
  }
116349
- function Q() {
116350
+ function K() {
116350
116351
  const le = this.resume(), oe = this.stack[this.stack.length - 1];
116351
116352
  oe.title = le;
116352
116353
  }
@@ -133779,7 +133780,7 @@ function uLe() {
133779
133780
  s.BACKSLASH_ESCAPE,
133780
133781
  H
133781
133782
  ]
133782
- }, Q = {
133783
+ }, K = {
133783
133784
  scope: "string",
133784
133785
  begin: /(\$@|@\$)"/,
133785
133786
  end: /"/,
@@ -133828,7 +133829,7 @@ function uLe() {
133828
133829
  )
133829
133830
  };
133830
133831
  return H.contains = [
133831
- Q,
133832
+ K,
133832
133833
  w,
133833
133834
  Y,
133834
133835
  z,
@@ -133858,7 +133859,7 @@ function uLe() {
133858
133859
  {
133859
133860
  variants: [
133860
133861
  V,
133861
- Q,
133862
+ K,
133862
133863
  w,
133863
133864
  F,
133864
133865
  Y,
@@ -140145,13 +140146,13 @@ function MLe() {
140145
140146
  match: /\b[A-Z][A-Z_0-9]+\b/,
140146
140147
  className: "variable.constant"
140147
140148
  };
140148
- function Q(X) {
140149
+ function K(X) {
140149
140150
  return u.concat("(?!", X.join("|"), ")");
140150
140151
  }
140151
140152
  const V = {
140152
140153
  match: u.concat(
140153
140154
  /\b/,
140154
- Q([
140155
+ K([
140155
140156
  ...i,
140156
140157
  "super",
140157
140158
  "import"
@@ -165045,7 +165046,7 @@ function cMe() {
165045
165046
  }, w = {
165046
165047
  className: "built_in",
165047
165048
  match: n(/\b/, a(...m), /(?=\()/)
165048
- }, Q = [
165049
+ }, K = [
165049
165050
  H,
165050
165051
  w
165051
165052
  ], V = {
@@ -165249,7 +165250,7 @@ function cMe() {
165249
165250
  ...A,
165250
165251
  Ae,
165251
165252
  ...F,
165252
- ...Q,
165253
+ ...K,
165253
165254
  ...U,
165254
165255
  X,
165255
165256
  ge,
@@ -165414,7 +165415,7 @@ function cMe() {
165414
165415
  ft.keywords = Y;
165415
165416
  const et = [
165416
165417
  ...F,
165417
- ...Q,
165418
+ ...K,
165418
165419
  ...U,
165419
165420
  X,
165420
165421
  ge,
@@ -165452,7 +165453,7 @@ function cMe() {
165452
165453
  },
165453
165454
  Ae,
165454
165455
  ...F,
165455
- ...Q,
165456
+ ...K,
165456
165457
  ...U,
165457
165458
  X,
165458
165459
  ge,
@@ -166825,7 +166826,7 @@ function EMe() {
166825
166826
  label: "func.def",
166826
166827
  contains: [z],
166827
166828
  illegal: /%/
166828
- }, Q = {
166829
+ }, K = {
166829
166830
  relevance: 0,
166830
166831
  match: /\b[A-Z][A-Z_0-9]+\b/,
166831
166832
  className: "variable.constant"
@@ -167037,7 +167038,7 @@ function EMe() {
167037
167038
  contains: [z]
167038
167039
  },
167039
167040
  O,
167040
- Q,
167041
+ K,
167041
167042
  Y,
167042
167043
  P,
167043
167044
  {
@@ -169532,7 +169533,7 @@ const MMe = (e) => e === "markdown", kMe = (e) => /^h(1|2|3|4|5|6)/.test(e), PMe
169532
169533
  (F) => {
169533
169534
  try {
169534
169535
  if (F.startsWith("./") && (F = F.replace("./", "")), new URL(window.location.href + "/" + F).origin === window.location.origin) {
169535
- const w = window.location.href.split("~/")[1] ?? "", Q = w.replace("README.md", ""), V = "/~/" + (w && !w.includes(F) ? Q + "/" : "") + F;
169536
+ const w = window.location.href.split("~/")[1] ?? "", K = w.replace("README.md", ""), V = "/~/" + (w && !w.includes(F) ? K + "/" : "") + F;
169536
169537
  return (h + V.replace(/\/\//g, "/")).replace(/^\/ng\//, "/");
169537
169538
  }
169538
169539
  return F;
@@ -169544,8 +169545,8 @@ const MMe = (e) => e === "markdown", kMe = (e) => /^h(1|2|3|4|5|6)/.test(e), PMe
169544
169545
  ), A = Te(
169545
169546
  (F, H, w) => {
169546
169547
  if (F.type === "element" && (F == null ? void 0 : F.tagName) === "a" && (w && w.type === "element" && kMe(w.tagName) && (w.children = w.children.slice(1)), h)) {
169547
- const { properties: Q } = F;
169548
- Q != null && Q.href && PMe(Q.href) && (Q.href = D(Q.href));
169548
+ const { properties: K } = F;
169549
+ K != null && K.href && PMe(K.href) && (K.href = D(K.href));
169549
169550
  }
169550
169551
  },
169551
169552
  [h, D]
@@ -169555,15 +169556,15 @@ const MMe = (e) => e === "markdown", kMe = (e) => /^h(1|2|3|4|5|6)/.test(e), PMe
169555
169556
  const { target: H } = F;
169556
169557
  if (H instanceof HTMLImageElement) {
169557
169558
  F.preventDefault();
169558
- const Q = H.getAttribute("src");
169559
- Q && window.open(Q, "_blank", "noopener,noreferrer");
169559
+ const K = H.getAttribute("src");
169560
+ K && window.open(K, "_blank", "noopener,noreferrer");
169560
169561
  return;
169561
169562
  }
169562
169563
  if (H instanceof HTMLAnchorElement) {
169563
- const Q = H.getAttribute("href");
169564
- if (Q && !/^(https?:\/\/|mailto:|tel:|data:|javascript:|sms:)/.test(Q))
169565
- if (F.preventDefault(), Q.startsWith("#"))
169566
- (w = document.getElementById(Q.slice(1))) == null || w.scrollIntoView();
169564
+ const K = H.getAttribute("href");
169565
+ if (K && !/^(https?:\/\/|mailto:|tel:|data:|javascript:|sms:)/.test(K))
169566
+ if (F.preventDefault(), K.startsWith("#"))
169567
+ (w = document.getElementById(K.slice(1))) == null || w.scrollIntoView();
169567
169568
  else {
169568
169569
  const V = new URL(H.href), O = (E == null ? void 0 : E.pathname) ?? window.location.pathname, U = window.location.pathname.endsWith(O) ? window.location.pathname.slice(0, window.location.pathname.length - O.length) : "", P = U && V.pathname.startsWith(U) ? V.pathname.slice(U.length) || "/" : V.pathname;
169569
169570
  f(P);
@@ -169575,7 +169576,7 @@ const MMe = (e) => e === "markdown", kMe = (e) => /^h(1|2|3|4|5|6)/.test(e), PMe
169575
169576
  (F) => {
169576
169577
  var H, w;
169577
169578
  if (l) {
169578
- const Q = "task-list-item", V = F.target.classList.contains(Q), O = (w = (H = F.target) == null ? void 0 : H.closest) == null ? void 0 : w.call(H, `.${Q}`), U = O == null ? void 0 : O.firstElementChild, P = (U == null ? void 0 : U.tagName) === "INPUT" ? U : U == null ? void 0 : U.querySelector('input[type="checkbox"]'), W = V ? !(P != null && P.checked) : P == null ? void 0 : P.checked, X = parseInt(F.target.getAttribute("data-checkbox-index") || "0", 10);
169579
+ const K = "task-list-item", V = F.target.classList.contains(K), O = (w = (H = F.target) == null ? void 0 : H.closest) == null ? void 0 : w.call(H, `.${K}`), U = O == null ? void 0 : O.firstElementChild, P = (U == null ? void 0 : U.tagName) === "INPUT" ? U : U == null ? void 0 : U.querySelector('input[type="checkbox"]'), W = V ? !(P != null && P.checked) : P == null ? void 0 : P.checked, X = parseInt(F.target.getAttribute("data-checkbox-index") || "0", 10);
169579
169580
  let J = 0;
169580
169581
  const ie = e.split(`
169581
169582
  `).map((te) => (te.startsWith("- [ ]") || te.startsWith("- [x]")) && (J++, X === J) ? W ? te.replace("- [ ]", "- [x]") : te.replace("- [x]", "- [ ]") : te).join(`
@@ -169588,8 +169589,8 @@ const MMe = (e) => e === "markdown", kMe = (e) => /^h(1|2|3|4|5|6)/.test(e), PMe
169588
169589
  (F) => {
169589
169590
  var O;
169590
169591
  const w = F.trim().split(`
169591
- `), Q = I.findIndex((U) => U.includes(w[0] || ""));
169592
- return { isSuggestion: Q !== -1 && ((O = I[Q - 1]) == null ? void 0 : O.includes("suggestion")), codeLines: w };
169592
+ `), K = I.findIndex((U) => U.includes(w[0] || ""));
169593
+ return { isSuggestion: K !== -1 && ((O = I[K - 1]) == null ? void 0 : O.includes("suggestion")), codeLines: w };
169593
169594
  },
169594
169595
  [I]
169595
169596
  );
@@ -169641,14 +169642,14 @@ const MMe = (e) => e === "markdown", kMe = (e) => /^h(1|2|3|4|5|6)/.test(e), PMe
169641
169642
  src: H,
169642
169643
  ...w
169643
169644
  }) => {
169644
- let Q = H || "";
169645
- p && (Q = p(Q));
169645
+ let K = H || "";
169646
+ p && (K = p(K));
169646
169647
  const V = { ...w };
169647
169648
  delete V.node, delete V.dangerouslySetInnerHTML, delete V.onLoad, delete V.onError, Object.keys(V).filter(
169648
169649
  (P) => P.startsWith("on") && typeof V[P] == "string"
169649
169650
  ).forEach((P) => delete V[P]);
169650
169651
  const U = typeof F == "string" ? F.replace(/[<>]/g, "") : "";
169651
- return /* @__PURE__ */ _("img", { src: Q, alt: U, ...V });
169652
+ return /* @__PURE__ */ _("img", { src: K, alt: U, ...V });
169652
169653
  },
169653
169654
  input: ({ type: F, checked: H, ...w }) => F === "checkbox" ? (N.current++, /* @__PURE__ */ _(
169654
169655
  "input",
@@ -169663,7 +169664,7 @@ const MMe = (e) => e === "markdown", kMe = (e) => /^h(1|2|3|4|5|6)/.test(e), PMe
169663
169664
  )) : /* @__PURE__ */ _("input", { type: F, checked: H, ...w }),
169664
169665
  p: ({ className: F, children: H }) => {
169665
169666
  if ((F == null ? void 0 : F.includes("markdown-alert-title")) && typeof H == "string") {
169666
- const Q = H.toLocaleLowerCase().trim(), V = FMe[Q];
169667
+ const K = H.toLocaleLowerCase().trim(), V = FMe[K];
169667
169668
  if (V)
169668
169669
  return /* @__PURE__ */ k("p", { className: F, children: [
169669
169670
  /* @__PURE__ */ _(pe, { name: V.icon, size: "md" }),
@@ -169674,9 +169675,9 @@ const MMe = (e) => e === "markdown", kMe = (e) => /^h(1|2|3|4|5|6)/.test(e), PMe
169674
169675
  },
169675
169676
  pre: ({ children: F, node: H }) => {
169676
169677
  const w = H && H.children ? tg(H.children) : F;
169677
- let Q = "";
169678
- typeof w == "string" && (Q = w);
169679
- const { isSuggestion: V, codeLines: O } = B(Q), U = O.length > 0 && O[O.length - 1] === "" ? O.slice(0, -1) : O, P = s && U.length > 1;
169678
+ let K = "";
169679
+ typeof w == "string" && (K = w);
169680
+ const { isSuggestion: V, codeLines: O } = B(K), U = O.length > 0 && O[O.length - 1] === "" ? O.slice(0, -1) : O, P = s && U.length > 1;
169680
169681
  return V ? /* @__PURE__ */ k("div", { className: "rounded-cn-2 overflow-hidden border", children: [
169681
169682
  /* @__PURE__ */ _("div", { className: "bg-cn-2 px-cn-md py-cn-sm border-b", children: /* @__PURE__ */ _(he, { variant: "body-strong", color: "foreground-1", className: "!m-0", children: c }) }),
169682
169683
  /* @__PURE__ */ _("pre", { children: F }),
@@ -169708,11 +169709,11 @@ const MMe = (e) => e === "markdown", kMe = (e) => /^h(1|2|3|4|5|6)/.test(e), PMe
169708
169709
  );
169709
169710
  },
169710
169711
  code: ({ children: F = [], className: H, ...w }) => {
169711
- const Q = w.node && w.node.children ? tg(w.node.children) : F;
169712
- if (typeof Q == "string" && typeof H == "string" && H.split(" ")[0].toLocaleLowerCase() === "language-suggestion") {
169713
- const { isSuggestion: O } = B(Q);
169712
+ const K = w.node && w.node.children ? tg(w.node.children) : F;
169713
+ if (typeof K == "string" && typeof H == "string" && H.split(" ")[0].toLocaleLowerCase() === "language-suggestion") {
169714
+ const { isSuggestion: O } = B(K);
169714
169715
  if (O)
169715
- return /* @__PURE__ */ _(LMe, { code: Q, suggestionBlock: i });
169716
+ return /* @__PURE__ */ _(LMe, { code: K, suggestionBlock: i });
169716
169717
  }
169717
169718
  return /* @__PURE__ */ _("code", { className: `mr-cn-3xl !whitespace-pre-wrap ${String(H)}`, children: F });
169718
169719
  }
@@ -171248,7 +171249,7 @@ const hT = (e, t) => {
171248
171249
  labelSuffix: N,
171249
171250
  prefix: I
171250
171251
  }, L) => {
171251
- const D = ye(null), [A, M] = Ee(!1), [x, B] = Ee(!1), G = ye(null), [z, Y] = Ee(e || r || []), [F, H] = Ee(null), [w, Q] = Ee(""), { search: V } = aK({
171252
+ const D = ye(null), [A, M] = Ee(!1), [x, B] = Ee(!1), G = ye(null), [z, Y] = Ee(e || r || []), [F, H] = Ee(null), [w, K] = Ee(""), { search: V } = aK({
171252
171253
  handleChangeSearchValue: o,
171253
171254
  searchValue: i || ""
171254
171255
  }), O = !!e, U = v === "horizontal", P = f ? "danger" : E ? "warning" : m, W = Re(() => (p == null ? void 0 : p.id) || `multi-select-${Ud(10)}`, [p == null ? void 0 : p.id]), X = Te(() => O ? e : z, [O, e, z]);
@@ -171295,7 +171296,7 @@ const hT = (e, t) => {
171295
171296
  }, ut = Ae.findIndex((rt) => rt.key === st.key);
171296
171297
  ut !== -1 ? Ae[ut] = st : Ae.push(st);
171297
171298
  }
171298
- O ? t == null || t(Ae) : Y(Ae), Q(""), o == null || o(""), re.preventDefault();
171299
+ O ? t == null || t(Ae) : Y(Ae), K(""), o == null || o(""), re.preventDefault();
171299
171300
  }
171300
171301
  re.key === "Escape" && ae.blur();
171301
171302
  }
@@ -171405,7 +171406,7 @@ const hT = (e, t) => {
171405
171406
  disabled: s,
171406
171407
  onValueChange: (re) => {
171407
171408
  var ae;
171408
- Q(re), (ae = p == null ? void 0 : p.onValueChange) == null || ae.call(p, re), o == null || o(re);
171409
+ K(re), (ae = p == null ? void 0 : p.onValueChange) == null || ae.call(p, re), o == null || o(re);
171409
171410
  },
171410
171411
  onBlur: (re) => {
171411
171412
  var ae;
@@ -171446,7 +171447,7 @@ const hT = (e, t) => {
171446
171447
  disabled: re.disable,
171447
171448
  title: re.title,
171448
171449
  onSelect: () => {
171449
- Q(""), o == null || o("");
171450
+ K(""), o == null || o("");
171450
171451
  const ae = [...X(), re];
171451
171452
  O ? t == null || t(ae) : (t == null || t(ae), Y(ae));
171452
171453
  },
@@ -173867,7 +173868,7 @@ function l$({
173867
173868
  panelDataArray: U
173868
173869
  } = N.current, P = Rl(U, O);
173869
173870
  P >= 0 && (U.splice(P, 1), delete T.current[O.id], N.current.panelDataArrayChanged = !0, b());
173870
- }, [b]), Q = Jke(() => ({
173871
+ }, [b]), K = Jke(() => ({
173871
173872
  collapsePanel: I,
173872
173873
  direction: r,
173873
173874
  dragState: g,
@@ -173893,7 +173894,7 @@ function l$({
173893
173894
  width: "100%"
173894
173895
  };
173895
173896
  return pc(Hf.Provider, {
173896
- value: Q
173897
+ value: K
173897
173898
  }, pc(u, {
173898
173899
  ...d,
173899
173900
  children: t,
@@ -174020,8 +174021,8 @@ function u$({
174020
174021
  return xt(F, "Element ref not attached"), pPe(N, F, h, {
174021
174022
  coarse: G,
174022
174023
  fine: z
174023
- }, (w, Q, V) => {
174024
- if (Q)
174024
+ }, (w, K, V) => {
174025
+ if (K)
174025
174026
  switch (w) {
174026
174027
  case "down": {
174027
174028
  L("drag"), xt(V, 'Expected event to be defined for "down" action'), v(N, V);
@@ -176812,11 +176813,11 @@ const x4 = (e) => {
176812
176813
  ...Y
176813
176814
  ]), E)
176814
176815
  if (!!I) {
176815
- const w = Y[0], Q = w.cell;
176816
+ const w = Y[0], K = w.cell;
176816
176817
  Y[0] = {
176817
176818
  ...w,
176818
176819
  cell: (V) => {
176819
- const { row: O } = V, U = O.depth > 0 ? { paddingLeft: `calc(${O.depth} * var(--cn-layout-2xl))` } : void 0, P = typeof Q == "function" ? Q(V) : V.getValue();
176820
+ const { row: O } = V, U = O.depth > 0 ? { paddingLeft: `calc(${O.depth} * var(--cn-layout-2xl))` } : void 0, P = typeof K == "function" ? K(V) : V.getValue();
176820
176821
  return /* @__PURE__ */ k("div", { style: U, "data-depth": O.depth, className: "flex items-center gap-cn-sm", children: [
176821
176822
  /* @__PURE__ */ _("span", { className: "inline-flex w-5 shrink-0 justify-center", children: O.getCanExpand() ? /* @__PURE__ */ _(
176822
176823
  Je,
@@ -176951,10 +176952,10 @@ const x4 = (e) => {
176951
176952
  children: [
176952
176953
  /* @__PURE__ */ _(Zn.Header, { children: (() => {
176953
176954
  const Y = G.getHeaderGroups(), F = Y.length, H = F > 1;
176954
- return Y.map((w, Q) => /* @__PURE__ */ _(Zn.Row, { "data-header-depth": Q, children: w.headers.map((V) => {
176955
+ return Y.map((w, K) => /* @__PURE__ */ _(Zn.Row, { "data-header-depth": K, children: w.headers.map((V) => {
176955
176956
  const O = V.column, U = O.columnDef.meta, P = O.columns.length === 0, W = H && P && !O.parent;
176956
176957
  if (W) {
176957
- if (Q > 0) return null;
176958
+ if (K > 0) return null;
176958
176959
  } else if (V.isPlaceholder)
176959
176960
  return null;
176960
176961
  const X = W ? F : 1, J = O.getCanSort(), ie = (U == null ? void 0 : U.isGroupHeader) ?? !P;
@@ -176963,7 +176964,7 @@ const x4 = (e) => {
176963
176964
  {
176964
176965
  colSpan: V.colSpan,
176965
176966
  rowSpan: X > 1 ? X : void 0,
176966
- "data-header-depth": Q,
176967
+ "data-header-depth": K,
176967
176968
  className: q(
176968
176969
  // Temporary fix to prevent text bleeding in header when it is pinned
176969
176970
  { "cn-table-v2-cell-pinned": V.column.getIsPinned() },
@@ -178680,7 +178681,7 @@ const vo = {
178680
178681
  repoIdentifier: t,
178681
178682
  repoPath: n
178682
178683
  }) => n.split("/").filter((i) => i !== e && i !== t).join("/");
178683
- var oW = /* @__PURE__ */ ((e) => (e.CODE_REPOSITORY = "CODE_REPOSITORY", e.SECRET = "SECRET", e))(oW || {}), sW = /* @__PURE__ */ ((e) => (e.CODE_REPO_CREATE = "code_repo_create", e.CODE_REPO_DELETE = "code_repo_delete", e.UPDATE_SECRET = "core_secret_edit", e.DELETE_SECRET = "core_secret_delete", e))(sW || {});
178684
+ var oW = /* @__PURE__ */ ((e) => (e.CODE_REPOSITORY = "CODE_REPOSITORY", e.SECRET = "SECRET", e))(oW || {}), sW = /* @__PURE__ */ ((e) => (e.CODE_REPO_CREATE = "code_repo_create", e.CODE_REPO_DELETE = "code_repo_delete", e.CODE_REPO_REVIEW = "code_repo_review", e.UPDATE_SECRET = "core_secret_edit", e.DELETE_SECRET = "core_secret_delete", e))(sW || {});
178684
178685
  const P6e = "You are missing the permission for this action.";
178685
178686
  var F6e = (e) => {
178686
178687
  switch (e) {
@@ -178773,7 +178774,7 @@ function o5e(e) {
178773
178774
  }
178774
178775
  var s5e = (e) => {
178775
178776
  var t, n, r, a, i, o, s, l, c, u, d;
178776
- let { invert: p, toast: m, unstyled: g, interacting: f, setHeights: E, visibleToasts: h, heights: b, index: T, toasts: v, expanded: y, removeToast: R, defaultRichColors: N, closeButton: I, style: L, cancelButtonStyle: D, actionButtonStyle: A, className: M = "", descriptionClassName: x = "", duration: B, position: G, gap: z, loadingIcon: Y, expandByDefault: F, classNames: H, icons: w, closeButtonAriaLabel: Q = "Close toast", pauseWhenPageIsHidden: V } = e, [O, U] = ce.useState(null), [P, W] = ce.useState(null), [X, J] = ce.useState(!1), [ie, te] = ce.useState(!1), [re, ae] = ce.useState(!1), [ge, se] = ce.useState(!1), [Ne, Oe] = ce.useState(!1), [Ae, qe] = ce.useState(0), [Pe, Ue] = ce.useState(0), st = ce.useRef(m.duration || B || B4), ut = ce.useRef(null), rt = ce.useRef(null), Xe = T === 0, _t = T + 1 <= h, le = m.type, oe = m.dismissible !== !1, fe = m.className || "", Le = m.descriptionClassName || "", De = ce.useMemo(() => b.findIndex((ue) => ue.toastId === m.id) || 0, [b, m.id]), lt = ce.useMemo(() => {
178777
+ let { invert: p, toast: m, unstyled: g, interacting: f, setHeights: E, visibleToasts: h, heights: b, index: T, toasts: v, expanded: y, removeToast: R, defaultRichColors: N, closeButton: I, style: L, cancelButtonStyle: D, actionButtonStyle: A, className: M = "", descriptionClassName: x = "", duration: B, position: G, gap: z, loadingIcon: Y, expandByDefault: F, classNames: H, icons: w, closeButtonAriaLabel: K = "Close toast", pauseWhenPageIsHidden: V } = e, [O, U] = ce.useState(null), [P, W] = ce.useState(null), [X, J] = ce.useState(!1), [ie, te] = ce.useState(!1), [re, ae] = ce.useState(!1), [ge, se] = ce.useState(!1), [Ne, Oe] = ce.useState(!1), [Ae, qe] = ce.useState(0), [Pe, Ue] = ce.useState(0), st = ce.useRef(m.duration || B || B4), ut = ce.useRef(null), rt = ce.useRef(null), Xe = T === 0, _t = T + 1 <= h, le = m.type, oe = m.dismissible !== !1, fe = m.className || "", Le = m.descriptionClassName || "", De = ce.useMemo(() => b.findIndex((ue) => ue.toastId === m.id) || 0, [b, m.id]), lt = ce.useMemo(() => {
178777
178778
  var ue;
178778
178779
  return (ue = m.closeButton) != null ? ue : I;
178779
178780
  }, [m.closeButton, I]), Fe = ce.useMemo(() => m.duration || B || B4, [m.duration, B]), ze = ce.useRef(0), gt = ce.useRef(0), it = ce.useRef(0), bt = ce.useRef(null), [At, Pt] = G.split("-"), je = ce.useMemo(() => b.reduce((ue, ve, Me) => Me >= De ? ue : ue + ve.height, 0), [b, De]), Qe = q6e(), ft = m.invert || p, et = le === "loading";
@@ -178840,7 +178841,7 @@ var s5e = (e) => {
178840
178841
  !O && (Math.abs(He) > 1 || Math.abs(xe) > 1) && U(Math.abs(He) > Math.abs(xe) ? "x" : "y");
178841
178842
  let Lt = { x: 0, y: 0 };
178842
178843
  O === "y" ? (Ze.includes("top") || Ze.includes("bottom")) && (Ze.includes("top") && xe < 0 || Ze.includes("bottom") && xe > 0) && (Lt.y = xe) : O === "x" && (Ze.includes("left") || Ze.includes("right")) && (Ze.includes("left") && He < 0 || Ze.includes("right") && He > 0) && (Lt.x = He), (Math.abs(Lt.x) > 0 || Math.abs(Lt.y) > 0) && Oe(!0), (pt = rt.current) == null || pt.style.setProperty("--swipe-amount-x", `${Lt.x}px`), (ht = rt.current) == null || ht.style.setProperty("--swipe-amount-y", `${Lt.y}px`);
178843
- } }, lt && !m.jsx ? ce.createElement("button", { "aria-label": Q, "data-disabled": et, "data-close-button": !0, onClick: et || !oe ? () => {
178844
+ } }, lt && !m.jsx ? ce.createElement("button", { "aria-label": K, "data-disabled": et, "data-close-button": !0, onClick: et || !oe ? () => {
178844
178845
  } : () => {
178845
178846
  var ue;
178846
178847
  at(), (ue = m.onDismiss) == null || ue.call(m, m);
@@ -178872,7 +178873,7 @@ function l5e(e, t) {
178872
178873
  }), n;
178873
178874
  }
178874
178875
  var c5e = _e(function(e, t) {
178875
- let { invert: n, position: r = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: i, closeButton: o, className: s, offset: l, mobileOffset: c, theme: u = "light", richColors: d, duration: p, style: m, visibleToasts: g = J6e, toastOptions: f, dir: E = G4(), gap: h = r5e, loadingIcon: b, icons: T, containerAriaLabel: v = "Notifications", pauseWhenPageIsHidden: y } = e, [R, N] = ce.useState([]), I = ce.useMemo(() => Array.from(new Set([r].concat(R.filter((V) => V.position).map((V) => V.position)))), [R, r]), [L, D] = ce.useState([]), [A, M] = ce.useState(!1), [x, B] = ce.useState(!1), [G, z] = ce.useState(u !== "system" ? u : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), Y = ce.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), H = ce.useRef(null), w = ce.useRef(!1), Q = ce.useCallback((V) => {
178876
+ let { invert: n, position: r = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: i, closeButton: o, className: s, offset: l, mobileOffset: c, theme: u = "light", richColors: d, duration: p, style: m, visibleToasts: g = J6e, toastOptions: f, dir: E = G4(), gap: h = r5e, loadingIcon: b, icons: T, containerAriaLabel: v = "Notifications", pauseWhenPageIsHidden: y } = e, [R, N] = ce.useState([]), I = ce.useMemo(() => Array.from(new Set([r].concat(R.filter((V) => V.position).map((V) => V.position)))), [R, r]), [L, D] = ce.useState([]), [A, M] = ce.useState(!1), [x, B] = ce.useState(!1), [G, z] = ce.useState(u !== "system" ? u : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), Y = ce.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), H = ce.useRef(null), w = ce.useRef(!1), K = ce.useCallback((V) => {
178876
178877
  N((O) => {
178877
178878
  var U;
178878
178879
  return (U = O.find((P) => P.id === V.id)) != null && U.delete || Br.dismiss(V.id), O.filter(({ id: P }) => P !== V.id);
@@ -178936,7 +178937,7 @@ var c5e = _e(function(e, t) {
178936
178937
  X.target instanceof HTMLElement && X.target.dataset.dismissible === "false" || B(!0);
178937
178938
  }, onPointerUp: () => B(!1) }, R.filter((X) => !X.position && O === 0 || X.position === V).map((X, J) => {
178938
178939
  var ie, te;
178939
- return ce.createElement(s5e, { key: X.id, icons: T, index: J, toast: X, defaultRichColors: d, duration: (ie = f == null ? void 0 : f.duration) != null ? ie : p, className: f == null ? void 0 : f.className, descriptionClassName: f == null ? void 0 : f.descriptionClassName, invert: n, visibleToasts: g, closeButton: (te = f == null ? void 0 : f.closeButton) != null ? te : o, interacting: x, position: V, style: f == null ? void 0 : f.style, unstyled: f == null ? void 0 : f.unstyled, classNames: f == null ? void 0 : f.classNames, cancelButtonStyle: f == null ? void 0 : f.cancelButtonStyle, actionButtonStyle: f == null ? void 0 : f.actionButtonStyle, removeToast: Q, toasts: R.filter((re) => re.position == X.position), heights: L.filter((re) => re.position == X.position), setHeights: D, expandByDefault: i, gap: h, loadingIcon: b, expanded: A, pauseWhenPageIsHidden: y, swipeDirections: e.swipeDirections });
178940
+ return ce.createElement(s5e, { key: X.id, icons: T, index: J, toast: X, defaultRichColors: d, duration: (ie = f == null ? void 0 : f.duration) != null ? ie : p, className: f == null ? void 0 : f.className, descriptionClassName: f == null ? void 0 : f.descriptionClassName, invert: n, visibleToasts: g, closeButton: (te = f == null ? void 0 : f.closeButton) != null ? te : o, interacting: x, position: V, style: f == null ? void 0 : f.style, unstyled: f == null ? void 0 : f.unstyled, classNames: f == null ? void 0 : f.classNames, cancelButtonStyle: f == null ? void 0 : f.cancelButtonStyle, actionButtonStyle: f == null ? void 0 : f.actionButtonStyle, removeToast: K, toasts: R.filter((re) => re.position == X.position), heights: L.filter((re) => re.position == X.position), setHeights: D, expandByDefault: i, gap: h, loadingIcon: b, expanded: A, pauseWhenPageIsHidden: y, swipeDirections: e.swipeDirections });
178940
178941
  })) : null;
178941
178942
  }));
178942
178943
  });
@@ -180235,8 +180236,8 @@ function X5e({
180235
180236
  children: i
180236
180237
  }) {
180237
180238
  const [o, s] = Ee([]), [l, c] = Ee(/* @__PURE__ */ new Map()), [u, d] = Ee(/* @__PURE__ */ new Map()), [p, m] = Ee(0), g = ye(null), f = o.indexOf(e), E = Re(() => {
180238
- for (const [w, Q] of l.entries())
180239
- if (Q.includes(e))
180239
+ for (const [w, K] of l.entries())
180240
+ if (K.includes(e))
180240
180241
  return w;
180241
180242
  return null;
180242
180243
  }, [l, e]), h = Re(() => f >= 0 ? f : E ? o.indexOf(E) : -1, [f, E, o]);
@@ -180252,21 +180253,21 @@ function X5e({
180252
180253
  const w = y.current;
180253
180254
  if (y.current = h, h > w && w >= 0 && h >= 0) {
180254
180255
  T({ sourceIndex: w, targetIndex: h });
180255
- const Q = setTimeout(() => T(null), 600);
180256
- return () => clearTimeout(Q);
180256
+ const K = setTimeout(() => T(null), 600);
180257
+ return () => clearTimeout(K);
180257
180258
  }
180258
180259
  }, [h]), Se(() => {
180259
180260
  E ? g.current = { parent: E, value: e } : g.current = null;
180260
180261
  }, [E, e]);
180261
- const R = Te((w) => (s((Q) => Q.includes(w) ? Q : [...Q, w]), () => {
180262
- s((Q) => Q.filter((V) => V !== w)), d((Q) => {
180263
- const V = new Map(Q);
180262
+ const R = Te((w) => (s((K) => K.includes(w) ? K : [...K, w]), () => {
180263
+ s((K) => K.filter((V) => V !== w)), d((K) => {
180264
+ const V = new Map(K);
180264
180265
  return V.delete(w), V;
180265
180266
  });
180266
180267
  }), []), N = Te(
180267
- (w, Q) => (c((V) => {
180268
+ (w, K) => (c((V) => {
180268
180269
  const O = new Map(V), U = O.get(w) || [];
180269
- return U.includes(Q) ? V : (O.set(w, [...U, Q]), O);
180270
+ return U.includes(K) ? V : (O.set(w, [...U, K]), O);
180270
180271
  }), () => {
180271
180272
  var V, O;
180272
180273
  c((U) => {
@@ -180274,30 +180275,30 @@ function X5e({
180274
180275
  const P = new Map(U), W = P.get(w) || [];
180275
180276
  return P.set(
180276
180277
  w,
180277
- W.filter((J) => J !== Q)
180278
+ W.filter((J) => J !== K)
180278
180279
  ), ((X = P.get(w)) == null ? void 0 : X.length) === 0 && P.delete(w), P;
180279
- }), ((V = g.current) == null ? void 0 : V.value) === Q && ((O = g.current) == null ? void 0 : O.parent) === w && t(w);
180280
+ }), ((V = g.current) == null ? void 0 : V.value) === K && ((O = g.current) == null ? void 0 : O.parent) === w && t(w);
180280
180281
  }),
180281
180282
  [t]
180282
- ), I = Te((w, Q) => {
180283
+ ), I = Te((w, K) => {
180283
180284
  d((V) => {
180284
180285
  const O = V.get(w);
180285
- if (O && O.disabled === Q.disabled && O.blocking === Q.blocking && O.state === Q.state && O.loading === Q.loading)
180286
+ if (O && O.disabled === K.disabled && O.blocking === K.blocking && O.state === K.state && O.loading === K.loading)
180286
180287
  return V;
180287
180288
  const U = new Map(V);
180288
- return U.set(w, Q), U;
180289
+ return U.set(w, K), U;
180289
180290
  });
180290
180291
  }, []), L = Re(() => {
180291
180292
  for (let w = 0; w < o.length; w++) {
180292
- const Q = u.get(o[w]);
180293
- if (Q != null && Q.blocking)
180293
+ const K = u.get(o[w]);
180294
+ if (K != null && K.blocking)
180294
180295
  return w;
180295
180296
  }
180296
180297
  return -1;
180297
180298
  }, [o, u]), D = Te(
180298
180299
  (w) => {
180299
- const Q = o.indexOf(w), V = u.get(w);
180300
- return V != null && V.state ? V.state : a ? "completed" : e === w || E === w ? "active" : Q < h ? "completed" : L >= 0 && Q > L ? "upcoming" : Q <= p ? "completed" : "upcoming";
180300
+ const K = o.indexOf(w), V = u.get(w);
180301
+ return V != null && V.state ? V.state : a ? "completed" : e === w || E === w ? "active" : K < h ? "completed" : L >= 0 && K > L ? "upcoming" : K <= p ? "completed" : "upcoming";
180301
180302
  },
180302
180303
  [
180303
180304
  o,
@@ -180310,20 +180311,20 @@ function X5e({
180310
180311
  p
180311
180312
  ]
180312
180313
  ), A = Te(
180313
- (w, Q) => {
180314
+ (w, K) => {
180314
180315
  const V = D(w);
180315
180316
  if (V === "completed") return "completed";
180316
180317
  if (V !== "active") return "upcoming";
180317
- const O = l.get(w) || [], U = O.indexOf(Q);
180318
- if (e === Q) return "active";
180318
+ const O = l.get(w) || [], U = O.indexOf(K);
180319
+ if (e === K) return "active";
180319
180320
  const P = O.indexOf(e);
180320
180321
  return P >= 0 && U < P ? "completed" : e === w && U === 0 ? "active" : (e === w && U > 0, "upcoming");
180321
180322
  },
180322
180323
  [D, l, e]
180323
180324
  ), M = Te(
180324
180325
  (w) => {
180325
- const Q = u.get(w);
180326
- if (Q != null && Q.disabled || D(w) === "upcoming") return !0;
180326
+ const K = u.get(w);
180327
+ if (K != null && K.disabled || D(w) === "upcoming") return !0;
180327
180328
  const O = o.indexOf(w);
180328
180329
  return L >= 0 && O > L;
180329
180330
  },
@@ -180332,10 +180333,10 @@ function X5e({
180332
180333
  (w) => {
180333
180334
  if (!M(w)) {
180334
180335
  if (n) {
180335
- const Q = n(e, w);
180336
- if (Q === !1) return;
180337
- if (typeof Q == "string") {
180338
- B({ to: w, message: Q });
180336
+ const K = n(e, w);
180337
+ if (K === !1) return;
180338
+ if (typeof K == "string") {
180339
+ B({ to: w, message: K });
180339
180340
  return;
180340
180341
  }
180341
180342
  }
@@ -180346,10 +180347,10 @@ function X5e({
180346
180347
  ), z = Te(
180347
180348
  (w) => {
180348
180349
  if (n) {
180349
- const Q = n(e, w);
180350
- if (Q === !1) return;
180351
- if (typeof Q == "string") {
180352
- B({ to: w, message: Q });
180350
+ const K = n(e, w);
180351
+ if (K === !1) return;
180352
+ if (typeof K == "string") {
180353
+ B({ to: w, message: K });
180353
180354
  return;
180354
180355
  }
180355
180356
  }
@@ -180708,14 +180709,14 @@ function c8e({ flow: e, onComplete: t, children: n }) {
180708
180709
  if (f.current.has(B)) return;
180709
180710
  f.current.add(B);
180710
180711
  const Y = z || ((w = e.subSteps[B]) == null ? void 0 : w.next), F = p.current, H = G ? { ...F, ...G } : F;
180711
- G && a(H), o((Q) => {
180712
- const V = Q.map(
180712
+ G && a(H), o((K) => {
180713
+ const V = K.map(
180713
180714
  (O) => O.subStepId === B ? { ...O, status: "completed", stateSnapshot: H } : O
180714
180715
  );
180715
180716
  return Y && !V.find((O) => O.subStepId === Y) && V.push({ subStepId: Y, status: "active", stateSnapshot: H }), V;
180716
180717
  }), Y ? setTimeout(() => {
180717
- var Q;
180718
- return (Q = d.current) == null ? void 0 : Q.call(d, Y);
180718
+ var K;
180719
+ return (K = d.current) == null ? void 0 : K.call(d, Y);
180719
180720
  }, 150) : t == null || t(H);
180720
180721
  },
180721
180722
  [e.subSteps, t]
@@ -180755,7 +180756,7 @@ function c8e({ flow: e, onComplete: t, children: n }) {
180755
180756
  const G = m.current, z = G.findIndex((F) => F.subStepId === B);
180756
180757
  if (z < 0) return;
180757
180758
  const Y = z > 0 ? G[z - 1].stateSnapshot : {};
180758
- a(Y), o((F) => F.slice(0, z + 1).map((w, Q) => Q === z ? { ...w, status: "active" } : w));
180759
+ a(Y), o((F) => F.slice(0, z + 1).map((w, K) => K === z ? { ...w, status: "active" } : w));
180759
180760
  for (const F of G.slice(z))
180760
180761
  f.current.delete(F.subStepId);
180761
180762
  u(null), setTimeout(() => {
@@ -181459,4 +181460,4 @@ export {
181459
181460
  NN as y,
181460
181461
  Gle as z
181461
181462
  };
181462
- //# sourceMappingURL=index-BVmuLE5Z.js.map
181463
+ //# sourceMappingURL=index-D19eVIF2.js.map