@lateralus-ai/shipping-ui 2.0.0-dev.21 → 2.0.0-dev.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -457,9 +457,9 @@ function W0() {
457
457
  }
458
458
  }
459
459
  }
460
- var It = Array.isArray;
460
+ var Mt = Array.isArray;
461
461
  function Xe(j) {
462
- return It(j);
462
+ return Mt(j);
463
463
  }
464
464
  function Ze(j) {
465
465
  {
@@ -481,12 +481,12 @@ function W0() {
481
481
  if (Ye(j))
482
482
  return V("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ze(j)), Le(j);
483
483
  }
484
- var Mt = y.ReactCurrentOwner, Kr = {
484
+ var Kt = y.ReactCurrentOwner, Kr = {
485
485
  key: !0,
486
486
  ref: !0,
487
487
  __self: !0,
488
488
  __source: !0
489
- }, Kt, Nt;
489
+ }, Nt, St;
490
490
  function Nr(j) {
491
491
  if (_.call(j, "ref")) {
492
492
  var K = Object.getOwnPropertyDescriptor(j, "ref").get;
@@ -504,12 +504,12 @@ function W0() {
504
504
  return j.key !== void 0;
505
505
  }
506
506
  function b1(j, K) {
507
- typeof j.ref == "string" && Mt.current;
507
+ typeof j.ref == "string" && Kt.current;
508
508
  }
509
509
  function I1(j, K) {
510
510
  {
511
511
  var U = function() {
512
- Kt || (Kt = !0, V("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", K));
512
+ Nt || (Nt = !0, V("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", K));
513
513
  };
514
514
  U.isReactWarning = !0, Object.defineProperty(j, "key", {
515
515
  get: U,
@@ -520,7 +520,7 @@ function W0() {
520
520
  function Ce(j, K) {
521
521
  {
522
522
  var U = function() {
523
- Nt || (Nt = !0, V("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", K));
523
+ St || (St = !0, V("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", K));
524
524
  };
525
525
  U.isReactWarning = !0, Object.defineProperty(j, "ref", {
526
526
  get: U,
@@ -572,7 +572,7 @@ function W0() {
572
572
  var C1 = typeof j == "function" ? j.displayName || j.name || "Unknown" : j;
573
573
  e1 && I1(r1, C1), z1 && Ce(r1, C1);
574
574
  }
575
- return F1(j, e1, z1, a1, B, Mt.current, r1);
575
+ return F1(j, e1, z1, a1, B, Kt.current, r1);
576
576
  }
577
577
  }
578
578
  var qr = y.ReactCurrentOwner, D2 = y.ReactDebugCurrentFrame;
@@ -3681,9 +3681,9 @@ const S = {
3681
3681
  xs: { d: "M6 0C9.31371 0 12 2.68629 12 6C12 9.31371 9.31371 12 6 12C2.68629 12 0 9.31371 0 6C0 2.68629 2.68629 0 6 0ZM8.35547 3.64648C8.16025 3.45142 7.84366 3.45142 7.64844 3.64648L6.00098 5.29395L4.35352 3.64648C4.15824 3.45137 3.8417 3.45127 3.64648 3.64648C3.45127 3.8417 3.45137 4.15824 3.64648 4.35352L5.29395 6.00098L3.64648 7.64844C3.45143 7.84367 3.45142 8.16025 3.64648 8.35547C3.84171 8.55041 4.15833 8.55048 4.35352 8.35547L6.00098 6.70801L7.64844 8.35547C7.84373 8.55031 8.16035 8.55059 8.35547 8.35547C8.55059 8.16035 8.55031 7.84373 8.35547 7.64844L6.70801 6.00098L8.35547 4.35352C8.55049 4.15833 8.55042 3.84172 8.35547 3.64648Z" }
3682
3682
  }
3683
3683
  }
3684
- }, ua = w(S.attachment), O8 = w(S.microphone), da = w(S.add), yt = w(S.plus), it = w(S.done), ar = w(S.minus), pa = w(S.send), or = w(S.search), V8 = w(S.star), v8 = w(S.heart), cr = w(S.clear), zn = w(S.analytics), b8 = w(S.trash), sr = w(S.chat), ga = w(S.chatPro), Hn = w(S.filters), xa = w(S.pen), ir = w(S.tick), kn = w(S.document), P8 = w(S.sparkles), In = w(S.expand), z8 = w(S.speaker), H8 = w(S.copy), k8 = w(S.date), I8 = w(S.refresh), Ar = w(S.activity), M8 = w(S.menu), Ca = w(S.invite), Mn = w(S.report), on = w(S.sidebar), K8 = w(S.download), N8 = w(S.upload), S8 = w(S.preview), h8 = w(S.fixes), Kn = w(S.issues), Nn = w(S.more), Sn = w(S.bulb), Te = w(S.ship), q8 = w(S.person), U8 = w(S.archive), w8 = w(S.logOut), ma = w(S.settings), hn = w(S.tasks), Ot = w(S.workflow), qn = w(S.form), T8 = w(S.approval), Vt = w(S.forms), lr = w(S.book), W8 = w(S.mention), R8 = w(S.actions), ur = w(S.critical), ja = w(S.information), F8 = w(S.caution), fa = w(S.folder), D8 = w(S.folderStarred), ya = w(S.quality), G8 = w(S.location), B8 = w(S.users), X8 = w(S.undo), Oa = w(S.spinner), Z8 = w(S.clock), Y8 = w(S.gap), Un = w(S.defectReport), L8 = w(S.task), wn = w(S.file), J8 = w(S.reportActions), Va = w(S.checkbox), At = w(S.status), Q8 = {
3684
+ }, ua = w(S.attachment), O8 = w(S.microphone), da = w(S.add), yt = w(S.plus), it = w(S.done), or = w(S.minus), pa = w(S.send), cr = w(S.search), V8 = w(S.star), v8 = w(S.heart), sr = w(S.clear), zn = w(S.analytics), b8 = w(S.trash), ir = w(S.chat), ga = w(S.chatPro), Hn = w(S.filters), xa = w(S.pen), Ar = w(S.tick), kn = w(S.document), P8 = w(S.sparkles), In = w(S.expand), z8 = w(S.speaker), H8 = w(S.copy), k8 = w(S.date), I8 = w(S.refresh), lr = w(S.activity), M8 = w(S.menu), Ca = w(S.invite), Mn = w(S.report), on = w(S.sidebar), K8 = w(S.download), N8 = w(S.upload), S8 = w(S.preview), h8 = w(S.fixes), Kn = w(S.issues), Nn = w(S.more), Sn = w(S.bulb), Te = w(S.ship), q8 = w(S.person), U8 = w(S.archive), w8 = w(S.logOut), ma = w(S.settings), hn = w(S.tasks), Ot = w(S.workflow), qn = w(S.form), T8 = w(S.approval), Vt = w(S.forms), ur = w(S.book), W8 = w(S.mention), R8 = w(S.actions), dr = w(S.critical), ja = w(S.information), F8 = w(S.caution), fa = w(S.folder), D8 = w(S.folderStarred), ya = w(S.quality), G8 = w(S.location), B8 = w(S.users), X8 = w(S.undo), Oa = w(S.spinner), Z8 = w(S.clock), Y8 = w(S.gap), Un = w(S.defectReport), L8 = w(S.task), wn = w(S.file), J8 = w(S.reportActions), Va = w(S.checkbox), At = w(S.status), Q8 = {
3685
3685
  heart: v8,
3686
- clear: cr,
3686
+ clear: sr,
3687
3687
  chevron: y1,
3688
3688
  arrow: la,
3689
3689
  attachment: ua,
@@ -3691,17 +3691,17 @@ const S = {
3691
3691
  add: da,
3692
3692
  plus: yt,
3693
3693
  done: it,
3694
- minus: ar,
3694
+ minus: or,
3695
3695
  send: pa,
3696
- search: or,
3696
+ search: cr,
3697
3697
  star: V8,
3698
3698
  analytics: zn,
3699
3699
  trash: b8,
3700
- chat: sr,
3700
+ chat: ir,
3701
3701
  chatPro: ga,
3702
3702
  filters: Hn,
3703
3703
  pen: xa,
3704
- tick: ir,
3704
+ tick: Ar,
3705
3705
  document: kn,
3706
3706
  sparkles: P8,
3707
3707
  expand: In,
@@ -3709,7 +3709,7 @@ const S = {
3709
3709
  copy: H8,
3710
3710
  date: k8,
3711
3711
  refresh: I8,
3712
- activity: Ar,
3712
+ activity: lr,
3713
3713
  menu: M8,
3714
3714
  invite: Ca,
3715
3715
  report: Mn,
@@ -3731,10 +3731,10 @@ const S = {
3731
3731
  form: qn,
3732
3732
  approval: T8,
3733
3733
  forms: Vt,
3734
- book: lr,
3734
+ book: ur,
3735
3735
  mention: W8,
3736
3736
  actions: R8,
3737
- critical: ur,
3737
+ critical: dr,
3738
3738
  information: ja,
3739
3739
  caution: F8,
3740
3740
  folder: fa,
@@ -3860,7 +3860,7 @@ function $8(...e) {
3860
3860
  }
3861
3861
  var Q1 = globalThis != null && globalThis.document ? A.useLayoutEffect : () => {
3862
3862
  }, e9 = A[" useInsertionEffect ".trim().toString()] || Q1;
3863
- function dr({
3863
+ function pr({
3864
3864
  prop: e,
3865
3865
  defaultProp: t,
3866
3866
  onChange: r = () => {
@@ -3913,13 +3913,13 @@ function lt(e) {
3913
3913
  const t = A.forwardRef((r, n) => {
3914
3914
  let { children: o, ...c } = r, s = null, i = !1;
3915
3915
  const l = [];
3916
- c5(o) && typeof St == "function" && (o = St(o._payload)), A.Children.forEach(o, (g) => {
3916
+ c5(o) && typeof ht == "function" && (o = ht(o._payload)), A.Children.forEach(o, (g) => {
3917
3917
  var x;
3918
3918
  if (s9(g)) {
3919
3919
  i = !0;
3920
3920
  const C = g;
3921
3921
  let m = "child" in C.props ? C.props.child : C.props.children;
3922
- c5(m) && typeof St == "function" && (m = St(m._payload)), s = a9(C, m), l.push((x = s == null ? void 0 : s.props) == null ? void 0 : x.children);
3922
+ c5(m) && typeof ht == "function" && (m = ht(m._payload)), s = a9(C, m), l.push((x = s == null ? void 0 : s.props) == null ? void 0 : x.children);
3923
3923
  } else
3924
3924
  l.push(g);
3925
3925
  }), s ? s = A.cloneElement(s, void 0, l) : (
@@ -3975,7 +3975,7 @@ function c5(e) {
3975
3975
  function A9(e) {
3976
3976
  return typeof e == "object" && e !== null && "then" in e;
3977
3977
  }
3978
- var l9 = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, u9 = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, St = A[" use ".trim().toString()], d9 = [
3978
+ var l9 = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, u9 = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, ht = A[" use ".trim().toString()], d9 = [
3979
3979
  "a",
3980
3980
  "button",
3981
3981
  "div",
@@ -4263,13 +4263,13 @@ function za(e, t, r, { discrete: n }) {
4263
4263
  const o = r.originalEvent.target, c = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
4264
4264
  t && o.addEventListener(e, t, { once: !0 }), n ? ba(o, c) : o.dispatchEvent(c);
4265
4265
  }
4266
- var ht = 0, Z1 = null;
4266
+ var qt = 0, Z1 = null;
4267
4267
  function Ha() {
4268
4268
  A.useEffect(() => {
4269
4269
  Z1 || (Z1 = { start: A5(), end: A5() });
4270
4270
  const { start: e, end: t } = Z1;
4271
- return document.body.firstElementChild !== e && document.body.insertAdjacentElement("afterbegin", e), document.body.lastElementChild !== t && document.body.insertAdjacentElement("beforeend", t), ht++, () => {
4272
- ht === 1 && (Z1 == null || Z1.start.remove(), Z1 == null || Z1.end.remove(), Z1 = null), ht = Math.max(0, ht - 1);
4271
+ return document.body.firstElementChild !== e && document.body.insertAdjacentElement("afterbegin", e), document.body.lastElementChild !== t && document.body.insertAdjacentElement("beforeend", t), qt++, () => {
4272
+ qt === 1 && (Z1 == null || Z1.start.remove(), Z1 == null || Z1.end.remove(), Z1 = null), qt = Math.max(0, qt - 1);
4273
4273
  };
4274
4274
  }, []);
4275
4275
  }
@@ -4416,7 +4416,7 @@ function Oe(e) {
4416
4416
  r((n) => n ?? String(K9++));
4417
4417
  }, [e]), e || (t ? `radix-${t}` : "");
4418
4418
  }
4419
- const N9 = ["top", "right", "bottom", "left"], le = Math.min, N1 = Math.max, Lt = Math.round, qt = Math.floor, E1 = (e) => ({
4419
+ const N9 = ["top", "right", "bottom", "left"], le = Math.min, N1 = Math.max, Jt = Math.round, Ut = Math.floor, E1 = (e) => ({
4420
4420
  x: e,
4421
4421
  y: e
4422
4422
  }), S9 = {
@@ -4454,10 +4454,10 @@ function h9(e, t, r) {
4454
4454
  r === void 0 && (r = !1);
4455
4455
  const n = Ge(e), o = Bn(e), c = Gn(o);
4456
4456
  let s = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
4457
- return t.reference[c] > t.floating[c] && (s = Jt(s)), [s, Jt(s)];
4457
+ return t.reference[c] > t.floating[c] && (s = Qt(s)), [s, Qt(s)];
4458
4458
  }
4459
4459
  function q9(e) {
4460
- const t = Jt(e);
4460
+ const t = Qt(e);
4461
4461
  return [An(e), t, An(t)];
4462
4462
  }
4463
4463
  function An(e) {
@@ -4481,7 +4481,7 @@ function W9(e, t, r, n) {
4481
4481
  let c = T9(re(e), r === "start", n);
4482
4482
  return o && (c = c.map((s) => s + "-" + o), t && (c = c.concat(c.map(An)))), c;
4483
4483
  }
4484
- function Jt(e) {
4484
+ function Qt(e) {
4485
4485
  const t = re(e);
4486
4486
  return S9[t] + e.slice(t.length);
4487
4487
  }
@@ -4502,7 +4502,7 @@ function Ia(e) {
4502
4502
  left: e
4503
4503
  };
4504
4504
  }
4505
- function Qt(e) {
4505
+ function Et(e) {
4506
4506
  const {
4507
4507
  x: t,
4508
4508
  y: r,
@@ -4584,7 +4584,7 @@ async function F9(e, t) {
4584
4584
  elementContext: p = "floating",
4585
4585
  altBoundary: g = !1,
4586
4586
  padding: x = 0
4587
- } = te(t, e), C = Ia(x), f = i[g ? p === "floating" ? "reference" : "floating" : p], y = Qt(await c.getClippingRect({
4587
+ } = te(t, e), C = Ia(x), f = i[g ? p === "floating" ? "reference" : "floating" : p], y = Et(await c.getClippingRect({
4588
4588
  element: (r = await (c.isElement == null ? void 0 : c.isElement(f))) == null || r ? f : f.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(i.floating)),
4589
4589
  boundary: u,
4590
4590
  rootBoundary: d,
@@ -4600,7 +4600,7 @@ async function F9(e, t) {
4600
4600
  } : {
4601
4601
  x: 1,
4602
4602
  y: 1
4603
- }, P = Qt(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
4603
+ }, P = Et(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
4604
4604
  elements: i,
4605
4605
  rect: V,
4606
4606
  offsetParent: b,
@@ -4738,7 +4738,7 @@ const D9 = 50, G9 = async (e, t, r) => {
4738
4738
  } = te(e, t);
4739
4739
  if ((r = c.arrow) != null && r.alignmentOffset)
4740
4740
  return {};
4741
- const y = re(o), V = J1(i), b = re(i) === i, v = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), P = g || (b || !m ? [Jt(i)] : q9(i)), k = C !== "none";
4741
+ const y = re(o), V = J1(i), b = re(i) === i, v = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), P = g || (b || !m ? [Qt(i)] : q9(i)), k = C !== "none";
4742
4742
  !g && k && P.push(...W9(i, m, C, v));
4743
4743
  const z = [i, ...P], q = await l.detectOverflow(t, f), N = [];
4744
4744
  let M = ((n = c.flip) == null ? void 0 : n.overflows) || [];
@@ -5039,7 +5039,7 @@ const L9 = function(e) {
5039
5039
  }
5040
5040
  };
5041
5041
  };
5042
- function pr() {
5042
+ function gr() {
5043
5043
  return typeof window < "u";
5044
5044
  }
5045
5045
  function Be(e) {
@@ -5054,16 +5054,16 @@ function _1(e) {
5054
5054
  return (t = (Ka(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
5055
5055
  }
5056
5056
  function Ka(e) {
5057
- return pr() ? e instanceof Node || e instanceof S1(e).Node : !1;
5057
+ return gr() ? e instanceof Node || e instanceof S1(e).Node : !1;
5058
5058
  }
5059
5059
  function G1(e) {
5060
- return pr() ? e instanceof Element || e instanceof S1(e).Element : !1;
5060
+ return gr() ? e instanceof Element || e instanceof S1(e).Element : !1;
5061
5061
  }
5062
5062
  function ne(e) {
5063
- return pr() ? e instanceof HTMLElement || e instanceof S1(e).HTMLElement : !1;
5063
+ return gr() ? e instanceof HTMLElement || e instanceof S1(e).HTMLElement : !1;
5064
5064
  }
5065
5065
  function f5(e) {
5066
- return !pr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof S1(e).ShadowRoot;
5066
+ return !gr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof S1(e).ShadowRoot;
5067
5067
  }
5068
5068
  function vt(e) {
5069
5069
  const {
@@ -5077,7 +5077,7 @@ function vt(e) {
5077
5077
  function _9(e) {
5078
5078
  return /^(table|td|th)$/.test(Be(e));
5079
5079
  }
5080
- function gr(e) {
5080
+ function xr(e) {
5081
5081
  try {
5082
5082
  if (e.matches(":popover-open"))
5083
5083
  return !0;
@@ -5100,7 +5100,7 @@ function t7(e) {
5100
5100
  for (; ne(t) && !We(t); ) {
5101
5101
  if (Xn(t))
5102
5102
  return t;
5103
- if (gr(t))
5103
+ if (xr(t))
5104
5104
  return null;
5105
5105
  t = ue(t);
5106
5106
  }
@@ -5115,7 +5115,7 @@ function We(e) {
5115
5115
  function B1(e) {
5116
5116
  return S1(e).getComputedStyle(e);
5117
5117
  }
5118
- function xr(e) {
5118
+ function Cr(e) {
5119
5119
  return G1(e) ? {
5120
5120
  scrollLeft: e.scrollLeft,
5121
5121
  scrollTop: e.scrollTop
@@ -5156,7 +5156,7 @@ function ln(e) {
5156
5156
  function Sa(e) {
5157
5157
  const t = B1(e);
5158
5158
  let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
5159
- const o = ne(e), c = o ? e.offsetWidth : r, s = o ? e.offsetHeight : n, i = Lt(r) !== c || Lt(n) !== s;
5159
+ const o = ne(e), c = o ? e.offsetWidth : r, s = o ? e.offsetHeight : n, i = Jt(r) !== c || Jt(n) !== s;
5160
5160
  return i && (r = c, n = s), {
5161
5161
  width: r,
5162
5162
  height: n,
@@ -5175,7 +5175,7 @@ function Ue(e) {
5175
5175
  height: o,
5176
5176
  $: c
5177
5177
  } = Sa(t);
5178
- let s = (c ? Lt(r.width) : r.width) / n, i = (c ? Lt(r.height) : r.height) / o;
5178
+ let s = (c ? Jt(r.width) : r.width) / n, i = (c ? Jt(r.height) : r.height) / o;
5179
5179
  return (!s || !Number.isFinite(s)) && (s = 1), (!i || !Number.isFinite(i)) && (i = 1), {
5180
5180
  x: s,
5181
5181
  y: i
@@ -5207,19 +5207,19 @@ function Ve(e, t, r, n) {
5207
5207
  l *= f.x, u *= f.y, d *= f.x, p *= f.y, l += b, u += v, C = S1(m), m = ln(C);
5208
5208
  }
5209
5209
  }
5210
- return Qt({
5210
+ return Et({
5211
5211
  width: d,
5212
5212
  height: p,
5213
5213
  x: l,
5214
5214
  y: u
5215
5215
  });
5216
5216
  }
5217
- function Cr(e, t) {
5218
- const r = xr(e).scrollLeft;
5217
+ function mr(e, t) {
5218
+ const r = Cr(e).scrollLeft;
5219
5219
  return t ? t.left + r : Ve(_1(e)).left + r;
5220
5220
  }
5221
5221
  function qa(e, t) {
5222
- const r = e.getBoundingClientRect(), n = r.left + t.scrollLeft - Cr(e, r), o = r.top + t.scrollTop;
5222
+ const r = e.getBoundingClientRect(), n = r.left + t.scrollLeft - mr(e, r), o = r.top + t.scrollTop;
5223
5223
  return {
5224
5224
  x: n,
5225
5225
  y: o
@@ -5232,7 +5232,7 @@ function a7(e) {
5232
5232
  offsetParent: n,
5233
5233
  strategy: o
5234
5234
  } = e;
5235
- const c = o === "fixed", s = _1(n), i = t ? gr(t.floating) : !1;
5235
+ const c = o === "fixed", s = _1(n), i = t ? xr(t.floating) : !1;
5236
5236
  if (n === s || i && c)
5237
5237
  return r;
5238
5238
  let l = {
@@ -5240,7 +5240,7 @@ function a7(e) {
5240
5240
  scrollTop: 0
5241
5241
  }, u = E1(1);
5242
5242
  const d = E1(0), p = ne(n);
5243
- if ((p || !p && !c) && ((Be(n) !== "body" || vt(s)) && (l = xr(n)), p)) {
5243
+ if ((p || !p && !c) && ((Be(n) !== "body" || vt(s)) && (l = Cr(n)), p)) {
5244
5244
  const x = Ve(n);
5245
5245
  u = Ue(n), d.x = x.x + n.clientLeft, d.y = x.y + n.clientTop;
5246
5246
  }
@@ -5256,8 +5256,8 @@ function o7(e) {
5256
5256
  return Array.from(e.getClientRects());
5257
5257
  }
5258
5258
  function c7(e) {
5259
- const t = _1(e), r = xr(e), n = e.ownerDocument.body, o = N1(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = N1(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
5260
- let s = -r.scrollLeft + Cr(e);
5259
+ const t = _1(e), r = Cr(e), n = e.ownerDocument.body, o = N1(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = N1(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
5260
+ let s = -r.scrollLeft + mr(e);
5261
5261
  const i = -r.scrollTop;
5262
5262
  return B1(n).direction === "rtl" && (s += N1(t.clientWidth, n.clientWidth) - o), {
5263
5263
  width: o,
@@ -5275,7 +5275,7 @@ function s7(e, t) {
5275
5275
  const d = Zn();
5276
5276
  (!d || d && t === "fixed") && (i = o.offsetLeft, l = o.offsetTop);
5277
5277
  }
5278
- const u = Cr(n);
5278
+ const u = mr(n);
5279
5279
  if (u <= 0) {
5280
5280
  const d = n.ownerDocument, p = d.body, g = getComputedStyle(p), x = d.compatMode === "CSS1Compat" && parseFloat(g.marginLeft) + parseFloat(g.marginRight) || 0, C = Math.abs(n.clientWidth - p.clientWidth - x);
5281
5281
  C <= y5 && (c -= C);
@@ -5313,7 +5313,7 @@ function O5(e, t, r) {
5313
5313
  height: t.height
5314
5314
  };
5315
5315
  }
5316
- return Qt(n);
5316
+ return Et(n);
5317
5317
  }
5318
5318
  function Ua(e, t) {
5319
5319
  const r = ue(e);
@@ -5339,7 +5339,7 @@ function l7(e) {
5339
5339
  rootBoundary: n,
5340
5340
  strategy: o
5341
5341
  } = e;
5342
- const s = [...r === "clippingAncestors" ? gr(t) ? [] : A7(t, this._c) : [].concat(r), n], i = O5(t, s[0], o);
5342
+ const s = [...r === "clippingAncestors" ? xr(t) ? [] : A7(t, this._c) : [].concat(r), n], i = O5(t, s[0], o);
5343
5343
  let l = i.top, u = i.right, d = i.bottom, p = i.left;
5344
5344
  for (let g = 1; g < s.length; g++) {
5345
5345
  const x = O5(t, s[g], o);
@@ -5370,10 +5370,10 @@ function d7(e, t, r) {
5370
5370
  };
5371
5371
  const l = E1(0);
5372
5372
  function u() {
5373
- l.x = Cr(o);
5373
+ l.x = mr(o);
5374
5374
  }
5375
5375
  if (n || !n && !c)
5376
- if ((Be(t) !== "body" || vt(o)) && (i = xr(t)), n) {
5376
+ if ((Be(t) !== "body" || vt(o)) && (i = Cr(t)), n) {
5377
5377
  const x = Ve(t, !0, c, t);
5378
5378
  l.x = x.x + t.clientLeft, l.y = x.y + t.clientTop;
5379
5379
  } else o && u();
@@ -5399,7 +5399,7 @@ function V5(e, t) {
5399
5399
  }
5400
5400
  function wa(e, t) {
5401
5401
  const r = S1(e);
5402
- if (gr(e))
5402
+ if (xr(e))
5403
5403
  return r;
5404
5404
  if (!ne(e)) {
5405
5405
  let o = ue(e);
@@ -5462,7 +5462,7 @@ function C7(e, t) {
5462
5462
  } = u;
5463
5463
  if (i || t(), !g || !x)
5464
5464
  return;
5465
- const C = qt(p), m = qt(o.clientWidth - (d + g)), f = qt(o.clientHeight - (p + x)), y = qt(d), b = {
5465
+ const C = Ut(p), m = Ut(o.clientWidth - (d + g)), f = Ut(o.clientHeight - (p + x)), y = Ut(d), b = {
5466
5466
  rootMargin: -C + "px " + -m + "px " + -f + "px " + -y + "px",
5467
5467
  threshold: N1(0, le(1, l)) || 1
5468
5468
  };
@@ -5541,8 +5541,8 @@ const m7 = L9, j7 = J9, f7 = X9, y7 = E9, O7 = Z9, v5 = B9, V7 = Q9, v7 = (e, t,
5541
5541
  });
5542
5542
  };
5543
5543
  var b7 = typeof document < "u", P7 = function() {
5544
- }, Dt = b7 ? N0 : P7;
5545
- function Et(e, t) {
5544
+ }, Gt = b7 ? N0 : P7;
5545
+ function _t(e, t) {
5546
5546
  if (e === t)
5547
5547
  return !0;
5548
5548
  if (typeof e != typeof t)
@@ -5554,7 +5554,7 @@ function Et(e, t) {
5554
5554
  if (Array.isArray(e)) {
5555
5555
  if (r = e.length, r !== t.length) return !1;
5556
5556
  for (n = r; n-- !== 0; )
5557
- if (!Et(e[n], t[n]))
5557
+ if (!_t(e[n], t[n]))
5558
5558
  return !1;
5559
5559
  return !0;
5560
5560
  }
@@ -5565,7 +5565,7 @@ function Et(e, t) {
5565
5565
  return !1;
5566
5566
  for (n = r; n-- !== 0; ) {
5567
5567
  const c = o[n];
5568
- if (!(c === "_owner" && e.$$typeof) && !Et(e[c], t[c]))
5568
+ if (!(c === "_owner" && e.$$typeof) && !_t(e[c], t[c]))
5569
5569
  return !1;
5570
5570
  }
5571
5571
  return !0;
@@ -5581,7 +5581,7 @@ function b5(e, t) {
5581
5581
  }
5582
5582
  function Br(e) {
5583
5583
  const t = A.useRef(e);
5584
- return Dt(() => {
5584
+ return Gt(() => {
5585
5585
  t.current = e;
5586
5586
  }), t;
5587
5587
  }
@@ -5607,7 +5607,7 @@ function Jn(e) {
5607
5607
  middlewareData: {},
5608
5608
  isPositioned: !1
5609
5609
  }), [g, x] = A.useState(n);
5610
- Et(g, n) || x(n);
5610
+ _t(g, n) || x(n);
5611
5611
  const [C, m] = A.useState(null), [f, y] = A.useState(null), V = A.useCallback((H) => {
5612
5612
  H !== k.current && (k.current = H, m(H));
5613
5613
  }, []), b = A.useCallback((H) => {
@@ -5629,21 +5629,21 @@ function Jn(e) {
5629
5629
  // setting it to `true` when `open === false` (must be specified).
5630
5630
  isPositioned: G.current !== !1
5631
5631
  };
5632
- F.current && !Et(q.current, h) && (q.current = h, ft.flushSync(() => {
5632
+ F.current && !_t(q.current, h) && (q.current = h, ft.flushSync(() => {
5633
5633
  p(h);
5634
5634
  }));
5635
5635
  });
5636
5636
  }, [g, t, r, T, G]);
5637
- Dt(() => {
5637
+ Gt(() => {
5638
5638
  u === !1 && q.current.isPositioned && (q.current.isPositioned = !1, p((H) => ({
5639
5639
  ...H,
5640
5640
  isPositioned: !1
5641
5641
  })));
5642
5642
  }, [u]);
5643
5643
  const F = A.useRef(!1);
5644
- Dt(() => (F.current = !0, () => {
5644
+ Gt(() => (F.current = !0, () => {
5645
5645
  F.current = !1;
5646
- }), []), Dt(() => {
5646
+ }), []), Gt(() => {
5647
5647
  if (v && (k.current = v), P && (z.current = P), v && P) {
5648
5648
  if (M.current)
5649
5649
  return M.current(v, P, R);
@@ -6153,7 +6153,7 @@ function Y7() {
6153
6153
  () => !1
6154
6154
  );
6155
6155
  }
6156
- var L7 = typeof Qa == "function" ? Y7 : X7, Zr = "rovingFocusGroup.onEntryFocus", J7 = { bubbles: !1, cancelable: !0 }, bt = "RovingFocusGroup", [un, Ea, Q7] = Pa(bt), [E7, mr] = ze(
6156
+ var L7 = typeof Qa == "function" ? Y7 : X7, Zr = "rovingFocusGroup.onEntryFocus", J7 = { bubbles: !1, cancelable: !0 }, bt = "RovingFocusGroup", [un, Ea, Q7] = Pa(bt), [E7, jr] = ze(
6157
6157
  bt,
6158
6158
  [Q7]
6159
6159
  ), [_7, $7] = E7(bt), _a = A.forwardRef(
@@ -6172,7 +6172,7 @@ var e6 = A.forwardRef((e, t) => {
6172
6172
  onEntryFocus: u,
6173
6173
  preventScrollOnEntryFocus: d = !1,
6174
6174
  ...p
6175
- } = e, g = A.useRef(null), x = O1(t, g), C = Tn(c), [m, f] = dr({
6175
+ } = e, g = A.useRef(null), x = O1(t, g), C = Tn(c), [m, f] = pr({
6176
6176
  prop: s,
6177
6177
  defaultProp: i ?? null,
6178
6178
  onChange: l,
@@ -6325,7 +6325,7 @@ var r4 = _a, n4 = e4, o6 = function(e) {
6325
6325
  return null;
6326
6326
  var t = Array.isArray(e) ? e[0] : e;
6327
6327
  return t.ownerDocument.body;
6328
- }, Se = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), wt = {}, Yr = 0, a4 = function(e) {
6328
+ }, Se = /* @__PURE__ */ new WeakMap(), wt = /* @__PURE__ */ new WeakMap(), Tt = {}, Yr = 0, a4 = function(e) {
6329
6329
  return e && (e.host || a4(e.parentNode));
6330
6330
  }, c6 = function(e, t) {
6331
6331
  return t.map(function(r) {
@@ -6338,8 +6338,8 @@ var r4 = _a, n4 = e4, o6 = function(e) {
6338
6338
  });
6339
6339
  }, s6 = function(e, t, r, n) {
6340
6340
  var o = c6(t, Array.isArray(e) ? e : [e]);
6341
- wt[r] || (wt[r] = /* @__PURE__ */ new WeakMap());
6342
- var c = wt[r], s = [], i = /* @__PURE__ */ new Set(), l = new Set(o), u = function(p) {
6341
+ Tt[r] || (Tt[r] = /* @__PURE__ */ new WeakMap());
6342
+ var c = Tt[r], s = [], i = /* @__PURE__ */ new Set(), l = new Set(o), u = function(p) {
6343
6343
  !p || i.has(p) || (i.add(p), u(p.parentNode));
6344
6344
  };
6345
6345
  o.forEach(u);
@@ -6350,7 +6350,7 @@ var r4 = _a, n4 = e4, o6 = function(e) {
6350
6350
  else
6351
6351
  try {
6352
6352
  var x = g.getAttribute(n), C = x !== null && x !== "false", m = (Se.get(g) || 0) + 1, f = (c.get(g) || 0) + 1;
6353
- Se.set(g, m), c.set(g, f), s.push(g), m === 1 && C && Ut.set(g, !0), f === 1 && g.setAttribute(r, "true"), C || g.setAttribute(n, "true");
6353
+ Se.set(g, m), c.set(g, f), s.push(g), m === 1 && C && wt.set(g, !0), f === 1 && g.setAttribute(r, "true"), C || g.setAttribute(n, "true");
6354
6354
  } catch (y) {
6355
6355
  console.error("aria-hidden: cannot operate on ", g, y);
6356
6356
  }
@@ -6359,8 +6359,8 @@ var r4 = _a, n4 = e4, o6 = function(e) {
6359
6359
  return d(t), i.clear(), Yr++, function() {
6360
6360
  s.forEach(function(p) {
6361
6361
  var g = Se.get(p) - 1, x = c.get(p) - 1;
6362
- Se.set(p, g), c.set(p, x), g || (Ut.has(p) || p.removeAttribute(n), Ut.delete(p)), x || p.removeAttribute(r);
6363
- }), Yr--, Yr || (Se = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), wt = {});
6362
+ Se.set(p, g), c.set(p, x), g || (wt.has(p) || p.removeAttribute(n), wt.delete(p)), x || p.removeAttribute(r);
6363
+ }), Yr--, Yr || (Se = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), wt = /* @__PURE__ */ new WeakMap(), Tt = {});
6364
6364
  };
6365
6365
  }, s2 = function(e, t, r) {
6366
6366
  r === void 0 && (r = "data-aria-hidden");
@@ -6390,7 +6390,7 @@ function i6(e, t, r) {
6390
6390
  (c || !(n in t)) && (c || (c = Array.prototype.slice.call(t, 0, n)), c[n] = t[n]);
6391
6391
  return e.concat(c || Array.prototype.slice.call(t));
6392
6392
  }
6393
- var Gt = "right-scroll-bar-position", Bt = "width-before-scroll-bar", A6 = "with-scroll-bars-hidden", l6 = "--removed-body-scroll-bar-size";
6393
+ var Bt = "right-scroll-bar-position", Xt = "width-before-scroll-bar", A6 = "with-scroll-bars-hidden", l6 = "--removed-body-scroll-bar-size";
6394
6394
  function Lr(e, t) {
6395
6395
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
6396
6396
  }
@@ -6512,7 +6512,7 @@ function m6(e, t) {
6512
6512
  return e.useMedium(t), c4;
6513
6513
  }
6514
6514
  var s4 = C6(), Jr = function() {
6515
- }, jr = A.forwardRef(function(e, t) {
6515
+ }, fr = A.forwardRef(function(e, t) {
6516
6516
  var r = A.useRef(null), n = A.useState({
6517
6517
  onScrollCapture: Jr,
6518
6518
  onWheelCapture: Jr,
@@ -6525,14 +6525,14 @@ var s4 = C6(), Jr = function() {
6525
6525
  s ? A.cloneElement(A.Children.only(i), L1(L1({}, z), { ref: k })) : A.createElement(V, L1({}, z, { className: l, ref: k }), i)
6526
6526
  );
6527
6527
  });
6528
- jr.defaultProps = {
6528
+ fr.defaultProps = {
6529
6529
  enabled: !0,
6530
6530
  removeScrollBar: !0,
6531
6531
  inert: !1
6532
6532
  };
6533
- jr.classNames = {
6534
- fullWidth: Bt,
6535
- zeroRight: Gt
6533
+ fr.classNames = {
6534
+ fullWidth: Xt,
6535
+ zeroRight: Bt
6536
6536
  };
6537
6537
  var j6 = function() {
6538
6538
  if (typeof __webpack_nonce__ < "u")
@@ -6622,19 +6622,19 @@ var V6 = function() {
6622
6622
  ].filter(Boolean).join(""), `
6623
6623
  }
6624
6624
 
6625
- .`).concat(Gt, ` {
6625
+ .`).concat(Bt, ` {
6626
6626
  right: `).concat(i, "px ").concat(n, `;
6627
6627
  }
6628
6628
 
6629
- .`).concat(Bt, ` {
6629
+ .`).concat(Xt, ` {
6630
6630
  margin-right: `).concat(i, "px ").concat(n, `;
6631
6631
  }
6632
6632
 
6633
- .`).concat(Gt, " .").concat(Gt, ` {
6633
+ .`).concat(Bt, " .").concat(Bt, ` {
6634
6634
  right: 0 `).concat(n, `;
6635
6635
  }
6636
6636
 
6637
- .`).concat(Bt, " .").concat(Bt, ` {
6637
+ .`).concat(Xt, " .").concat(Xt, ` {
6638
6638
  margin-right: 0 `).concat(n, `;
6639
6639
  }
6640
6640
 
@@ -6662,12 +6662,12 @@ var V6 = function() {
6662
6662
  }, dn = !1;
6663
6663
  if (typeof window < "u")
6664
6664
  try {
6665
- var Tt = Object.defineProperty({}, "passive", {
6665
+ var Wt = Object.defineProperty({}, "passive", {
6666
6666
  get: function() {
6667
6667
  return dn = !0, !0;
6668
6668
  }
6669
6669
  });
6670
- window.addEventListener("test", Tt, Tt), window.removeEventListener("test", Tt, Tt);
6670
+ window.addEventListener("test", Wt, Wt), window.removeEventListener("test", Wt, Wt);
6671
6671
  } catch {
6672
6672
  dn = !1;
6673
6673
  }
@@ -6734,7 +6734,7 @@ var he = dn ? { passive: !1 } : !1, K6 = function(e) {
6734
6734
  l && (t.contains(i) || t === i)
6735
6735
  );
6736
6736
  return (d && Math.abs(p) < 1 || !d && Math.abs(g) < 1) && (u = !0), u;
6737
- }, Wt = function(e) {
6737
+ }, Rt = function(e) {
6738
6738
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
6739
6739
  }, I5 = function(e) {
6740
6740
  return [e.deltaX, e.deltaY];
@@ -6768,7 +6768,7 @@ function F6(e) {
6768
6768
  var i = A.useCallback(function(m, f) {
6769
6769
  if ("touches" in m && m.touches.length === 2 || m.type === "wheel" && m.ctrlKey)
6770
6770
  return !s.current.allowPinchZoom;
6771
- var y = Wt(m), V = r.current, b = "deltaX" in m ? m.deltaX : V[0] - y[0], v = "deltaY" in m ? m.deltaY : V[1] - y[1], P, k = m.target, z = Math.abs(b) > Math.abs(v) ? "h" : "v";
6771
+ var y = Rt(m), V = r.current, b = "deltaX" in m ? m.deltaX : V[0] - y[0], v = "deltaY" in m ? m.deltaY : V[1] - y[1], P, k = m.target, z = Math.abs(b) > Math.abs(v) ? "h" : "v";
6772
6772
  if ("touches" in m && z === "h" && k.type === "range")
6773
6773
  return !1;
6774
6774
  var q = window.getSelection(), N = q && q.anchorNode, M = N ? N === k || N.contains(k) : !1;
@@ -6786,7 +6786,7 @@ function F6(e) {
6786
6786
  }, []), l = A.useCallback(function(m) {
6787
6787
  var f = m;
6788
6788
  if (!(!qe.length || qe[qe.length - 1] !== c)) {
6789
- var y = "deltaY" in f ? I5(f) : Wt(f), V = t.current.filter(function(P) {
6789
+ var y = "deltaY" in f ? I5(f) : Rt(f), V = t.current.filter(function(P) {
6790
6790
  return P.name === f.type && (P.target === f.target || f.target === P.shadowParent) && T6(P.delta, y);
6791
6791
  })[0];
6792
6792
  if (V && V.should) {
@@ -6808,11 +6808,11 @@ function F6(e) {
6808
6808
  });
6809
6809
  }, 1);
6810
6810
  }, []), d = A.useCallback(function(m) {
6811
- r.current = Wt(m), n.current = void 0;
6811
+ r.current = Rt(m), n.current = void 0;
6812
6812
  }, []), p = A.useCallback(function(m) {
6813
6813
  u(m.type, I5(m), m.target, i(m, e.lockRef.current));
6814
6814
  }, []), g = A.useCallback(function(m) {
6815
- u(m.type, Wt(m), m.target, i(m, e.lockRef.current));
6815
+ u(m.type, Rt(m), m.target, i(m, e.lockRef.current));
6816
6816
  }, []);
6817
6817
  A.useEffect(function() {
6818
6818
  return qe.push(c), e.setCallbacks({
@@ -6839,10 +6839,10 @@ function D6(e) {
6839
6839
  return t;
6840
6840
  }
6841
6841
  const G6 = m6(s4, F6);
6842
- var fr = A.forwardRef(function(e, t) {
6843
- return A.createElement(jr, L1({}, e, { ref: t, sideCar: G6 }));
6842
+ var yr = A.forwardRef(function(e, t) {
6843
+ return A.createElement(fr, L1({}, e, { ref: t, sideCar: G6 }));
6844
6844
  });
6845
- fr.classNames = jr.classNames;
6845
+ yr.classNames = fr.classNames;
6846
6846
  var pn = ["Enter", " "], B6 = ["ArrowDown", "PageUp", "Home"], d4 = ["ArrowUp", "PageDown", "End"], X6 = [...B6, ...d4], Z6 = {
6847
6847
  ltr: [...pn, "ArrowRight"],
6848
6848
  rtl: [...pn, "ArrowLeft"]
@@ -6852,9 +6852,9 @@ var pn = ["Enter", " "], B6 = ["ArrowDown", "PageUp", "Home"], d4 = ["ArrowUp",
6852
6852
  }, Pt = "Menu", [dt, L6, J6] = Pa(Pt), [He, p4] = ze(Pt, [
6853
6853
  J6,
6854
6854
  Da,
6855
- mr
6856
- ]), yr = Da(), g4 = mr(), [Q6, ke] = He(Pt), [E6, zt] = He(Pt), x4 = (e) => {
6857
- const { __scopeMenu: t, open: r = !1, children: n, dir: o, onOpenChange: c, modal: s = !0 } = e, i = yr(t), [l, u] = A.useState(null), d = A.useRef(!1), p = ee(c), g = Tn(o);
6855
+ jr
6856
+ ]), Or = Da(), g4 = jr(), [Q6, ke] = He(Pt), [E6, zt] = He(Pt), x4 = (e) => {
6857
+ const { __scopeMenu: t, open: r = !1, children: n, dir: o, onOpenChange: c, modal: s = !0 } = e, i = Or(t), [l, u] = A.useState(null), d = A.useRef(!1), p = ee(c), g = Tn(o);
6858
6858
  return A.useEffect(() => {
6859
6859
  const x = () => {
6860
6860
  d.current = !0, document.addEventListener("pointerdown", C, { capture: !0, once: !0 }), document.addEventListener("pointermove", C, { capture: !0, once: !0 });
@@ -6892,7 +6892,7 @@ var pn = ["Enter", " "], B6 = ["ArrowDown", "PageUp", "Home"], d4 = ["ArrowUp",
6892
6892
  x4.displayName = Pt;
6893
6893
  var _6 = "MenuAnchor", i2 = A.forwardRef(
6894
6894
  (e, t) => {
6895
- const { __scopeMenu: r, ...n } = e, o = yr(r);
6895
+ const { __scopeMenu: r, ...n } = e, o = Or(r);
6896
6896
  return /* @__PURE__ */ a.jsx(w7, { ...o, ...n, ref: t });
6897
6897
  }
6898
6898
  );
@@ -6962,7 +6962,7 @@ var w1 = "MenuContent", [es, l2] = He(w1), j4 = A.forwardRef(
6962
6962
  onDismiss: x,
6963
6963
  disableOutsideScroll: C,
6964
6964
  ...m
6965
- } = e, f = ke(w1, r), y = zt(w1, r), V = yr(r), b = g4(r), v = L6(r), [P, k] = A.useState(null), z = A.useRef(null), q = O1(t, z, f.onContentChange), N = A.useRef(0), M = A.useRef(""), T = A.useRef(0), G = A.useRef(null), R = A.useRef("right"), F = A.useRef(0), t1 = C ? fr : A.Fragment, X = C ? { as: ns, allowPinchZoom: !0 } : void 0, Y = (I) => {
6965
+ } = e, f = ke(w1, r), y = zt(w1, r), V = Or(r), b = g4(r), v = L6(r), [P, k] = A.useState(null), z = A.useRef(null), q = O1(t, z, f.onContentChange), N = A.useRef(0), M = A.useRef(""), T = A.useRef(0), G = A.useRef(null), R = A.useRef("right"), F = A.useRef(0), t1 = C ? yr : A.Fragment, X = C ? { as: ns, allowPinchZoom: !0 } : void 0, Y = (I) => {
6966
6966
  var E, Z;
6967
6967
  const h = M.current + I, W = v().filter(($) => !$.disabled), D = document.activeElement, n1 = (E = W.find(($) => $.ref.current === D)) == null ? void 0 : E.textValue, L = W.map(($) => $.textValue), l1 = xs(L, h, n1), o1 = (Z = W.find(($) => $.textValue === l1)) == null ? void 0 : Z.ref.current;
6968
6968
  (function $(c1) {
@@ -7097,9 +7097,9 @@ var os = "MenuLabel", f4 = A.forwardRef(
7097
7097
  }
7098
7098
  );
7099
7099
  f4.displayName = os;
7100
- var _t = "MenuItem", K5 = "menu.itemSelect", Or = A.forwardRef(
7100
+ var $t = "MenuItem", K5 = "menu.itemSelect", Vr = A.forwardRef(
7101
7101
  (e, t) => {
7102
- const { disabled: r = !1, onSelect: n, ...o } = e, c = A.useRef(null), s = zt(_t, e.__scopeMenu), i = l2(_t, e.__scopeMenu), l = O1(t, c), u = A.useRef(!1), d = () => {
7102
+ const { disabled: r = !1, onSelect: n, ...o } = e, c = A.useRef(null), s = zt($t, e.__scopeMenu), i = l2($t, e.__scopeMenu), l = O1(t, c), u = A.useRef(!1), d = () => {
7103
7103
  const p = c.current;
7104
7104
  if (!r && p) {
7105
7105
  const g = new CustomEvent(K5, { bubbles: !0, cancelable: !0 });
@@ -7128,10 +7128,10 @@ var _t = "MenuItem", K5 = "menu.itemSelect", Or = A.forwardRef(
7128
7128
  );
7129
7129
  }
7130
7130
  );
7131
- Or.displayName = _t;
7131
+ Vr.displayName = $t;
7132
7132
  var y4 = A.forwardRef(
7133
7133
  (e, t) => {
7134
- const { __scopeMenu: r, disabled: n = !1, textValue: o, ...c } = e, s = l2(_t, r), i = g4(r), l = A.useRef(null), u = O1(t, l), [d, p] = A.useState(!1), [g, x] = A.useState("");
7134
+ const { __scopeMenu: r, disabled: n = !1, textValue: o, ...c } = e, s = l2($t, r), i = g4(r), l = A.useRef(null), u = O1(t, l), [d, p] = A.useState(!1), [g, x] = A.useState("");
7135
7135
  return A.useEffect(() => {
7136
7136
  const C = l.current;
7137
7137
  C && x((C.textContent ?? "").trim());
@@ -7171,16 +7171,16 @@ var y4 = A.forwardRef(
7171
7171
  (e, t) => {
7172
7172
  const { checked: r = !1, onCheckedChange: n, ...o } = e;
7173
7173
  return /* @__PURE__ */ a.jsx(z4, { scope: e.__scopeMenu, checked: r, children: /* @__PURE__ */ a.jsx(
7174
- Or,
7174
+ Vr,
7175
7175
  {
7176
7176
  role: "menuitemcheckbox",
7177
- "aria-checked": $t(r) ? "mixed" : r,
7177
+ "aria-checked": er(r) ? "mixed" : r,
7178
7178
  ...o,
7179
7179
  ref: t,
7180
7180
  "data-state": g2(r),
7181
7181
  onSelect: Q(
7182
7182
  o.onSelect,
7183
- () => n == null ? void 0 : n($t(r) ? !0 : !r),
7183
+ () => n == null ? void 0 : n(er(r) ? !0 : !r),
7184
7184
  { checkForDefaultPrevented: !1 }
7185
7185
  )
7186
7186
  }
@@ -7203,7 +7203,7 @@ var b4 = "MenuRadioItem", P4 = A.forwardRef(
7203
7203
  (e, t) => {
7204
7204
  const { value: r, ...n } = e, o = is(b4, e.__scopeMenu), c = r === o.value;
7205
7205
  return /* @__PURE__ */ a.jsx(z4, { scope: e.__scopeMenu, checked: c, children: /* @__PURE__ */ a.jsx(
7206
- Or,
7206
+ Vr,
7207
7207
  {
7208
7208
  role: "menuitemradio",
7209
7209
  "aria-checked": c,
@@ -7232,7 +7232,7 @@ var p2 = "MenuItemIndicator", [z4, As] = He(
7232
7232
  return /* @__PURE__ */ a.jsx(
7233
7233
  ae,
7234
7234
  {
7235
- present: n || $t(c.checked) || c.checked === !0,
7235
+ present: n || er(c.checked) || c.checked === !0,
7236
7236
  children: /* @__PURE__ */ a.jsx(
7237
7237
  p1.span,
7238
7238
  {
@@ -7263,7 +7263,7 @@ var ls = "MenuSeparator", k4 = A.forwardRef(
7263
7263
  k4.displayName = ls;
7264
7264
  var us = "MenuArrow", I4 = A.forwardRef(
7265
7265
  (e, t) => {
7266
- const { __scopeMenu: r, ...n } = e, o = yr(r);
7266
+ const { __scopeMenu: r, ...n } = e, o = Or(r);
7267
7267
  return /* @__PURE__ */ a.jsx(W7, { ...o, ...n, ref: t });
7268
7268
  }
7269
7269
  );
@@ -7379,11 +7379,11 @@ S4.displayName = N4;
7379
7379
  function h4(e) {
7380
7380
  return e ? "open" : "closed";
7381
7381
  }
7382
- function $t(e) {
7382
+ function er(e) {
7383
7383
  return e === "indeterminate";
7384
7384
  }
7385
7385
  function g2(e) {
7386
- return $t(e) ? "indeterminate" : e ? "checked" : "unchecked";
7386
+ return er(e) ? "indeterminate" : e ? "checked" : "unchecked";
7387
7387
  }
7388
7388
  function ps(e) {
7389
7389
  const t = document.activeElement;
@@ -7419,10 +7419,10 @@ function ms(e, t) {
7419
7419
  function pt(e) {
7420
7420
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
7421
7421
  }
7422
- var js = x4, fs = i2, ys = m4, Os = j4, Vs = d2, vs = f4, bs = Or, Ps = O4, zs = v4, Hs = P4, ks = H4, Is = k4, Ms = I4, Ks = K4, Ns = S4, Vr = "DropdownMenu", [Ss] = ze(
7423
- Vr,
7422
+ var js = x4, fs = i2, ys = m4, Os = j4, Vs = d2, vs = f4, bs = Vr, Ps = O4, zs = v4, Hs = P4, ks = H4, Is = k4, Ms = I4, Ks = K4, Ns = S4, vr = "DropdownMenu", [Ss] = ze(
7423
+ vr,
7424
7424
  [p4]
7425
- ), k1 = p4(), [hs, q4] = Ss(Vr), U4 = (e) => {
7425
+ ), k1 = p4(), [hs, q4] = Ss(vr), U4 = (e) => {
7426
7426
  const {
7427
7427
  __scopeDropdownMenu: t,
7428
7428
  children: r,
@@ -7431,11 +7431,11 @@ var js = x4, fs = i2, ys = m4, Os = j4, Vs = d2, vs = f4, bs = Or, Ps = O4, zs =
7431
7431
  defaultOpen: c,
7432
7432
  onOpenChange: s,
7433
7433
  modal: i = !0
7434
- } = e, l = k1(t), u = A.useRef(null), [d, p] = dr({
7434
+ } = e, l = k1(t), u = A.useRef(null), [d, p] = pr({
7435
7435
  prop: o,
7436
7436
  defaultProp: c ?? !1,
7437
7437
  onChange: s,
7438
- caller: Vr
7438
+ caller: vr
7439
7439
  });
7440
7440
  return /* @__PURE__ */ a.jsx(
7441
7441
  hs,
@@ -7452,7 +7452,7 @@ var js = x4, fs = i2, ys = m4, Os = j4, Vs = d2, vs = f4, bs = Or, Ps = O4, zs =
7452
7452
  }
7453
7453
  );
7454
7454
  };
7455
- U4.displayName = Vr;
7455
+ U4.displayName = vr;
7456
7456
  var w4 = "DropdownMenuTrigger", T4 = A.forwardRef(
7457
7457
  (e, t) => {
7458
7458
  const { __scopeDropdownMenu: r, disabled: n = !1, ...o } = e, c = q4(w4, r), s = k1(r), i = O1(t, c.triggerRef);
@@ -8520,19 +8520,19 @@ function c3(e) {
8520
8520
  }
8521
8521
  });
8522
8522
  return A.useEffect(() => {
8523
- const u = Rt(n.current);
8523
+ const u = Ft(n.current);
8524
8524
  c.current = i === "mounted" ? u : "none";
8525
8525
  }, [i]), de(() => {
8526
8526
  const u = n.current, d = o.current;
8527
8527
  if (d !== e) {
8528
- const g = c.current, x = Rt(u);
8528
+ const g = c.current, x = Ft(u);
8529
8529
  e ? l("MOUNT") : x === "none" || (u == null ? void 0 : u.display) === "none" ? l("UNMOUNT") : l(d && g !== x ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
8530
8530
  }
8531
8531
  }, [e, l]), de(() => {
8532
8532
  if (t) {
8533
8533
  let u;
8534
8534
  const d = t.ownerDocument.defaultView ?? window, p = (x) => {
8535
- const m = Rt(n.current).includes(CSS.escape(x.animationName));
8535
+ const m = Ft(n.current).includes(CSS.escape(x.animationName));
8536
8536
  if (x.target === t && m && (l("ANIMATION_END"), !o.current)) {
8537
8537
  const f = t.style.animationFillMode;
8538
8538
  t.style.animationFillMode = "forwards", u = d.setTimeout(() => {
@@ -8540,7 +8540,7 @@ function c3(e) {
8540
8540
  });
8541
8541
  }
8542
8542
  }, g = (x) => {
8543
- x.target === t && (c.current = Rt(n.current));
8543
+ x.target === t && (c.current = Ft(n.current));
8544
8544
  };
8545
8545
  return t.addEventListener("animationstart", g), t.addEventListener("animationcancel", p), t.addEventListener("animationend", p), () => {
8546
8546
  d.clearTimeout(u), t.removeEventListener("animationstart", g), t.removeEventListener("animationcancel", p), t.removeEventListener("animationend", p);
@@ -8554,7 +8554,7 @@ function c3(e) {
8554
8554
  }, [])
8555
8555
  };
8556
8556
  }
8557
- function Rt(e) {
8557
+ function Ft(e) {
8558
8558
  return (e == null ? void 0 : e.animationName) || "none";
8559
8559
  }
8560
8560
  function s3(e) {
@@ -8723,9 +8723,9 @@ var f3 = [
8723
8723
  )
8724
8724
  );
8725
8725
  uo.displayName = V3;
8726
- var v3 = uo, [vr] = Y4("Tooltip", [
8726
+ var v3 = uo, [br] = Y4("Tooltip", [
8727
8727
  to
8728
- ]), br = to(), po = "TooltipProvider", b3 = 700, xn = "tooltip.open", [P3, V2] = vr(po), go = (e) => {
8728
+ ]), Pr = to(), po = "TooltipProvider", b3 = 700, xn = "tooltip.open", [P3, V2] = br(po), go = (e) => {
8729
8729
  const {
8730
8730
  __scopeTooltip: t,
8731
8731
  delayDuration: r = b3,
@@ -8761,7 +8761,7 @@ var v3 = uo, [vr] = Y4("Tooltip", [
8761
8761
  );
8762
8762
  };
8763
8763
  go.displayName = po;
8764
- var xt = "Tooltip", [z3, Ht] = vr(xt), xo = (e) => {
8764
+ var xt = "Tooltip", [z3, Ht] = br(xt), xo = (e) => {
8765
8765
  const {
8766
8766
  __scopeTooltip: t,
8767
8767
  children: r,
@@ -8770,7 +8770,7 @@ var xt = "Tooltip", [z3, Ht] = vr(xt), xo = (e) => {
8770
8770
  onOpenChange: c,
8771
8771
  disableHoverableContent: s,
8772
8772
  delayDuration: i
8773
- } = e, l = V2(xt, e.__scopeTooltip), u = br(t), [d, p] = A.useState(null), g = Bi(), x = A.useRef(0), C = s ?? l.disableHoverableContent, m = i ?? l.delayDuration, f = A.useRef(!1), [y, V] = A3({
8773
+ } = e, l = V2(xt, e.__scopeTooltip), u = Pr(t), [d, p] = A.useState(null), g = Bi(), x = A.useRef(0), C = s ?? l.disableHoverableContent, m = i ?? l.delayDuration, f = A.useRef(!1), [y, V] = A3({
8774
8774
  prop: n,
8775
8775
  defaultProp: o ?? !1,
8776
8776
  onChange: (z) => {
@@ -8813,7 +8813,7 @@ var xt = "Tooltip", [z3, Ht] = vr(xt), xo = (e) => {
8813
8813
  xo.displayName = xt;
8814
8814
  var Cn = "TooltipTrigger", Co = A.forwardRef(
8815
8815
  (e, t) => {
8816
- const { __scopeTooltip: r, ...n } = e, o = Ht(Cn, r), c = V2(Cn, r), s = br(r), i = A.useRef(null), l = Ie(t, i, o.onTriggerChange), u = A.useRef(!1), d = A.useRef(!1), p = A.useCallback(() => u.current = !1, []);
8816
+ const { __scopeTooltip: r, ...n } = e, o = Ht(Cn, r), c = V2(Cn, r), s = Pr(r), i = A.useRef(null), l = Ie(t, i, o.onTriggerChange), u = A.useRef(!1), d = A.useRef(!1), p = A.useCallback(() => u.current = !1, []);
8817
8817
  return A.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ a.jsx(t3, { asChild: !0, ...s, children: /* @__PURE__ */ a.jsx(
8818
8818
  Me.button,
8819
8819
  {
@@ -8840,7 +8840,7 @@ var Cn = "TooltipTrigger", Co = A.forwardRef(
8840
8840
  }
8841
8841
  );
8842
8842
  Co.displayName = Cn;
8843
- var v2 = "TooltipPortal", [H3, k3] = vr(v2, {
8843
+ var v2 = "TooltipPortal", [H3, k3] = br(v2, {
8844
8844
  forceMount: void 0
8845
8845
  }), mo = (e) => {
8846
8846
  const { __scopeTooltip: t, forceMount: r, children: n, container: o } = e, c = Ht(v2, t);
@@ -8878,7 +8878,7 @@ var Re = "TooltipContent", jo = A.forwardRef(
8878
8878
  return document.addEventListener("pointermove", C), () => document.removeEventListener("pointermove", C);
8879
8879
  }
8880
8880
  }, [l, d, s, u, g]), /* @__PURE__ */ a.jsx(fo, { ...e, ref: c });
8881
- }), [M3, K3] = vr(xt, { isInside: !1 }), N3 = /* @__PURE__ */ ki("TooltipContent"), fo = A.forwardRef(
8881
+ }), [M3, K3] = br(xt, { isInside: !1 }), N3 = /* @__PURE__ */ ki("TooltipContent"), fo = A.forwardRef(
8882
8882
  (e, t) => {
8883
8883
  const {
8884
8884
  __scopeTooltip: r,
@@ -8887,7 +8887,7 @@ var Re = "TooltipContent", jo = A.forwardRef(
8887
8887
  onEscapeKeyDown: c,
8888
8888
  onPointerDownOutside: s,
8889
8889
  ...i
8890
- } = e, l = Ht(Re, r), u = br(r), { onClose: d } = l;
8890
+ } = e, l = Ht(Re, r), u = Pr(r), { onClose: d } = l;
8891
8891
  return A.useEffect(() => (document.addEventListener(xn, d), () => document.removeEventListener(xn, d)), [d]), A.useEffect(() => {
8892
8892
  if (l.trigger) {
8893
8893
  const p = (g) => {
@@ -8933,7 +8933,7 @@ var Re = "TooltipContent", jo = A.forwardRef(
8933
8933
  jo.displayName = Re;
8934
8934
  var yo = "TooltipArrow", S3 = A.forwardRef(
8935
8935
  (e, t) => {
8936
- const { __scopeTooltip: r, ...n } = e, o = br(r);
8936
+ const { __scopeTooltip: r, ...n } = e, o = Pr(r);
8937
8937
  return K3(
8938
8938
  yo,
8939
8939
  r
@@ -9034,7 +9034,7 @@ function W3(e) {
9034
9034
  return r.pop(), t.length === 1 && r.length === 1 && t[0].x === r[0].x && t[0].y === r[0].y ? t : t.concat(r);
9035
9035
  }
9036
9036
  var R3 = go, F3 = xo, D3 = Co, G3 = mo, B3 = jo;
9037
- const Ld = R3, Pr = ({
9037
+ const Ld = R3, kt = ({
9038
9038
  children: e,
9039
9039
  content: t,
9040
9040
  hint: r = !1,
@@ -9475,7 +9475,7 @@ const Ld = R3, Pr = ({
9475
9475
  "aria-label": `Remove ${t}`,
9476
9476
  onClick: c,
9477
9477
  className: "size-6 [&>svg]:size-3",
9478
- children: /* @__PURE__ */ a.jsx(cr, { size: "xs" })
9478
+ children: /* @__PURE__ */ a.jsx(sr, { size: "xs" })
9479
9479
  }
9480
9480
  )
9481
9481
  ]
@@ -9535,8 +9535,8 @@ const Ld = R3, Pr = ({
9535
9535
  "peer-disabled:border-divider-primary peer-disabled:bg-grey-50"
9536
9536
  ),
9537
9537
  children: [
9538
- e && !t && /* @__PURE__ */ a.jsx(ir, { size: "xs", className: "text-white" }),
9539
- t && /* @__PURE__ */ a.jsx(ar, { size: "small", className: "text-white" })
9538
+ e && !t && /* @__PURE__ */ a.jsx(Ar, { size: "xs", className: "text-white" }),
9539
+ t && /* @__PURE__ */ a.jsx(or, { size: "small", className: "text-white" })
9540
9540
  ]
9541
9541
  }
9542
9542
  )
@@ -9572,8 +9572,8 @@ const Ld = R3, Pr = ({
9572
9572
  }
9573
9573
  );
9574
9574
  var Hr = "Tabs", [E3] = ze(Hr, [
9575
- mr
9576
- ]), Vo = mr(), [_3, b2] = E3(Hr), vo = A.forwardRef(
9575
+ jr
9576
+ ]), Vo = jr(), [_3, b2] = E3(Hr), vo = A.forwardRef(
9577
9577
  (e, t) => {
9578
9578
  const {
9579
9579
  __scopeTabs: r,
@@ -9584,7 +9584,7 @@ var Hr = "Tabs", [E3] = ze(Hr, [
9584
9584
  dir: i,
9585
9585
  activationMode: l = "automatic",
9586
9586
  ...u
9587
- } = e, d = Tn(i), [p, g] = dr({
9587
+ } = e, d = Tn(i), [p, g] = pr({
9588
9588
  prop: n,
9589
9589
  onChange: o,
9590
9590
  defaultProp: c ?? "",
@@ -9947,7 +9947,7 @@ const mp = Object.assign(aA, {
9947
9947
  Header: oA,
9948
9948
  Body: cA
9949
9949
  }), sA = {
9950
- chat: /* @__PURE__ */ a.jsx(sr, { className: "size-4" }),
9950
+ chat: /* @__PURE__ */ a.jsx(ir, { className: "size-4" }),
9951
9951
  issue: /* @__PURE__ */ a.jsx(At, { className: "size-4" }),
9952
9952
  report: /* @__PURE__ */ a.jsx(Mn, { className: "size-4" })
9953
9953
  }, iA = ({
@@ -10053,7 +10053,7 @@ var kr = "Dialog", [To] = ze(kr), [AA, X1] = To(kr), Wo = (e) => {
10053
10053
  defaultOpen: o,
10054
10054
  onOpenChange: c,
10055
10055
  modal: s = !0
10056
- } = e, i = A.useRef(null), l = A.useRef(null), [u, d] = dr({
10056
+ } = e, i = A.useRef(null), l = A.useRef(null), [u, d] = pr({
10057
10057
  prop: n,
10058
10058
  defaultProp: o ?? !1,
10059
10059
  onChange: c,
@@ -10103,20 +10103,20 @@ var z2 = "DialogPortal", [lA, Do] = To(z2, {
10103
10103
  return /* @__PURE__ */ a.jsx(lA, { scope: t, forceMount: r, children: A.Children.map(n, (s) => /* @__PURE__ */ a.jsx(ae, { present: r || c.open, children: /* @__PURE__ */ a.jsx(c2, { asChild: !0, container: o, children: s }) })) });
10104
10104
  };
10105
10105
  Go.displayName = z2;
10106
- var er = "DialogOverlay", H2 = A.forwardRef(
10106
+ var tr = "DialogOverlay", H2 = A.forwardRef(
10107
10107
  (e, t) => {
10108
- const r = Do(er, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, c = X1(er, e.__scopeDialog);
10108
+ const r = Do(tr, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, c = X1(tr, e.__scopeDialog);
10109
10109
  return c.modal ? /* @__PURE__ */ a.jsx(ae, { present: n || c.open, children: /* @__PURE__ */ a.jsx(dA, { ...o, ref: t }) }) : null;
10110
10110
  }
10111
10111
  );
10112
- H2.displayName = er;
10112
+ H2.displayName = tr;
10113
10113
  var uA = /* @__PURE__ */ lt("DialogOverlay.RemoveScroll"), dA = A.forwardRef(
10114
10114
  (e, t) => {
10115
- const { __scopeDialog: r, ...n } = e, o = X1(er, r), c = f9(), s = O1(t, c);
10115
+ const { __scopeDialog: r, ...n } = e, o = X1(tr, r), c = f9(), s = O1(t, c);
10116
10116
  return (
10117
10117
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
10118
10118
  // ie. when `Overlay` and `Content` are siblings
10119
- /* @__PURE__ */ a.jsx(fr, { as: uA, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ a.jsx(
10119
+ /* @__PURE__ */ a.jsx(yr, { as: uA, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ a.jsx(
10120
10120
  p1.div,
10121
10121
  {
10122
10122
  "data-state": K2(o.open),
@@ -10312,7 +10312,7 @@ const Op = ({
10312
10312
  /* @__PURE__ */ a.jsx("div", { className: "grow text-subheader-em text-display-on-light-primary", children: r }),
10313
10313
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-4", children: [
10314
10314
  t,
10315
- /* @__PURE__ */ a.jsx(K1, { hierarchy: "quaternary", size: "small", "aria-label": "Close", onClick: e, children: /* @__PURE__ */ a.jsx(cr, { size: "small" }) })
10315
+ /* @__PURE__ */ a.jsx(K1, { hierarchy: "quaternary", size: "small", "aria-label": "Close", onClick: e, children: /* @__PURE__ */ a.jsx(sr, { size: "small" }) })
10316
10316
  ] })
10317
10317
  ] }), fA = ({ children: e, className: t }) => /* @__PURE__ */ a.jsx("div", { className: O("w-full overflow-auto", t), children: e }), $o = {
10318
10318
  Header: jA,
@@ -10475,7 +10475,7 @@ const Op = ({
10475
10475
  )
10476
10476
  ] }),
10477
10477
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-1", children: [
10478
- /* @__PURE__ */ a.jsx("button", { type: "button", className: rt, onClick: d.zoomOut, "aria-label": "Zoom out", children: /* @__PURE__ */ a.jsx(ar, { size: "small" }) }),
10478
+ /* @__PURE__ */ a.jsx("button", { type: "button", className: rt, onClick: d.zoomOut, "aria-label": "Zoom out", children: /* @__PURE__ */ a.jsx(or, { size: "small" }) }),
10479
10479
  /* @__PURE__ */ a.jsxs("span", { className: "w-14 text-center text-caption-2", children: [
10480
10480
  u,
10481
10481
  "%"
@@ -10605,7 +10605,7 @@ const nt = "flex h-8 w-8 items-center justify-center rounded-control border bord
10605
10605
  ] }),
10606
10606
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2", children: [
10607
10607
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-1", children: [
10608
- /* @__PURE__ */ a.jsx("button", { type: "button", className: nt, onClick: s.zoomOut, "aria-label": "Zoom out", children: /* @__PURE__ */ a.jsx(ar, { size: "small" }) }),
10608
+ /* @__PURE__ */ a.jsx("button", { type: "button", className: nt, onClick: s.zoomOut, "aria-label": "Zoom out", children: /* @__PURE__ */ a.jsx(or, { size: "small" }) }),
10609
10609
  /* @__PURE__ */ a.jsxs(
10610
10610
  "button",
10611
10611
  {
@@ -10915,19 +10915,19 @@ const bp = ({
10915
10915
  const A1 = i1.replace("checkbox:", ""), h1 = Object.entries(t.properties || {}).find(([b1, I1]) => {
10916
10916
  const F1 = I1.docx_mapping;
10917
10917
  return (F1 == null ? void 0 : F1.type) === "checkbox" && F1.true_name && F1.false_name && (F1.true_name === A1 || F1.false_name === A1);
10918
- }), [It, Xe] = h1 || [], Ze = Xe, Ye = Ze == null ? void 0 : Ze.docx_mapping, Le = !!h1, Je = (Ye == null ? void 0 : Ye.true_name) === A1, Mt = () => {
10918
+ }), [Mt, Xe] = h1 || [], Ze = Xe, Ye = Ze == null ? void 0 : Ze.docx_mapping, Le = !!h1, Je = (Ye == null ? void 0 : Ye.true_name) === A1, Kt = () => {
10919
10919
  const b1 = document.createElement("span");
10920
10920
  return b1.textContent = V1, b1.className = "inline-checkbox-readonly", b1;
10921
10921
  }, Kr = () => {
10922
10922
  const b1 = document.createElement("span");
10923
10923
  b1.className = "inline-radio-container";
10924
10924
  const I1 = document.createElement("input");
10925
- I1.type = "radio", I1.name = `radio-group-${It}`, I1.value = Je ? "true" : "false";
10926
- const Ce = I[It];
10925
+ I1.type = "radio", I1.name = `radio-group-${Mt}`, I1.value = Je ? "true" : "false";
10926
+ const Ce = I[Mt];
10927
10927
  return I1.checked = Je ? Ce === !0 || Ce === "true" : Ce === !1 || Ce === "false", I1.className = "text-green-600 focus:ring-green-500 border-gray-300", I1.setAttribute("data-field-path", A1), I1.addEventListener("change", (F1) => {
10928
10928
  F1.target.checked && y(A1, !0);
10929
10929
  }), b1.appendChild(I1), b1;
10930
- }, Kt = () => {
10930
+ }, Nt = () => {
10931
10931
  const b1 = document.createElement("input");
10932
10932
  return b1.type = "checkbox", b1.checked = V1 === "☑", b1.className = "inline-checkbox rounded border-gray-300 text-green-600 focus:ring-green-500", b1.setAttribute("data-field-path", A1), b1.addEventListener("change", (I1) => {
10933
10933
  y(
@@ -10935,8 +10935,8 @@ const bp = ({
10935
10935
  I1.target.checked
10936
10936
  );
10937
10937
  }), b1;
10938
- }, Nt = () => c && Mt(), Nr = () => !c && Le && Kr(), Sr = () => !c && !Le && Kt();
10939
- return Nt() || Nr() || Sr();
10938
+ }, St = () => c && Kt(), Nr = () => !c && Le && Kr(), Sr = () => !c && !Le && Nt();
10939
+ return St() || Nr() || Sr();
10940
10940
  })() : (() => {
10941
10941
  var h1;
10942
10942
  const A1 = ((h1 = t.properties) == null ? void 0 : h1[i1]) || {};
@@ -11239,7 +11239,7 @@ const bp = ({
11239
11239
  } },
11240
11240
  { id: "example-2", label: "Example two", onSelect: () => {
11241
11241
  } }
11242
- ], Ct = "bg-[rgba(38,36,32,0.04)]", ac = "bg-[rgba(38,36,32,0.08)]", at = "gap-2", mn = "gap-1", N2 = "box-border flex h-9 w-full items-center rounded-control p-2", HA = "box-border flex h-10 w-full items-center rounded-control p-2", tr = "relative box-border flex w-full flex-col items-center justify-center rounded-control p-2", kA = "pointer-events-none absolute left-0 top-0 size-6", IA = "absolute right-0 top-0 size-1.5 rounded-full bg-[#802c20]", oc = "flex w-full min-w-0 items-center gap-2", rr = "shrink-0 [&>svg]:size-4", cc = "min-w-0 flex-1 truncate text-caption-2 tracking-[0.01em]", nr = "bg-transparent text-action-quaternary-on-idle hover:bg-[rgba(38,36,32,0.04)] hover:text-action-quaternary-on-hover disabled:bg-transparent disabled:opacity-50", MA = "sidebar-scroll flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto", be = "transition-colors hover:bg-[rgba(38,36,32,0.04)] hover:text-display-on-light-primary", KA = "group/newchat transition-colors hover:bg-action-primary-hover hover:text-action-primary-on-hover", NA = "group-hover/newchat:text-action-primary-on-hover", sc = "text-display-on-light-secondary", SA = O(Ct, "text-display-on-light-primary"), ic = O(ac, "text-display-on-light-primary"), hA = "text-display-on-light-secondary", qA = O(Ct, "text-display-on-light-primary"), UA = O(ac, "text-display-on-light-primary"), wA = "box-border flex h-9 w-full items-center gap-1 rounded-control px-2 py-1.5", TA = [
11242
+ ], Ct = "bg-[rgba(38,36,32,0.04)]", ac = "bg-[rgba(38,36,32,0.08)]", at = "gap-2", mn = "gap-1", N2 = "box-border flex h-9 w-full items-center rounded-control p-2", HA = "box-border flex h-10 w-full items-center rounded-control p-2", rr = "relative box-border flex w-full flex-col items-center justify-center rounded-control p-2", kA = "pointer-events-none absolute left-0 top-0 size-6", IA = "absolute right-0 top-0 size-1.5 rounded-full bg-[#802c20]", oc = "flex w-full min-w-0 items-center gap-2", nr = "shrink-0 [&>svg]:size-4", cc = "min-w-0 flex-1 truncate text-caption-2 tracking-[0.01em]", ar = "bg-transparent text-action-quaternary-on-idle hover:bg-[rgba(38,36,32,0.04)] hover:text-action-quaternary-on-hover disabled:bg-transparent disabled:opacity-50", MA = "sidebar-scroll flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto", be = "transition-colors hover:bg-[rgba(38,36,32,0.04)] hover:text-display-on-light-primary", KA = "group/newchat transition-colors hover:bg-action-primary-hover hover:text-action-primary-on-hover", NA = "group-hover/newchat:text-action-primary-on-hover", sc = "text-display-on-light-secondary", SA = O(Ct, "text-display-on-light-primary"), ic = O(ac, "text-display-on-light-primary"), hA = "text-display-on-light-secondary", qA = O(Ct, "text-display-on-light-primary"), UA = O(ac, "text-display-on-light-primary"), wA = "box-border flex h-9 w-full items-center gap-1 rounded-control px-2 py-1.5", TA = [
11243
11243
  { id: "settings", label: "Settings", onSelect: () => {
11244
11244
  } },
11245
11245
  { id: "logout", label: "Log out", destructive: !0, onSelect: () => {
@@ -11255,7 +11255,7 @@ const bp = ({
11255
11255
  }) => r && (o || n === "hover") ? /* @__PURE__ */ a.jsx(
11256
11256
  "div",
11257
11257
  {
11258
- className: O(tr, Ct, s),
11258
+ className: O(rr, Ct, s),
11259
11259
  "data-collapsed": r,
11260
11260
  "data-state": "hover",
11261
11261
  children: /* @__PURE__ */ a.jsx(
@@ -11264,7 +11264,7 @@ const bp = ({
11264
11264
  hierarchy: "quaternary",
11265
11265
  size: "small",
11266
11266
  "aria-label": "Expand sidebar",
11267
- className: O("size-6 p-1", nr),
11267
+ className: O("size-6 p-1", ar),
11268
11268
  onClick: c,
11269
11269
  children: /* @__PURE__ */ a.jsx(on, { size: "small" })
11270
11270
  }
@@ -11274,7 +11274,7 @@ const bp = ({
11274
11274
  "div",
11275
11275
  {
11276
11276
  className: O(
11277
- tr,
11277
+ rr,
11278
11278
  n === "idle" && be,
11279
11279
  s
11280
11280
  ),
@@ -11299,7 +11299,7 @@ const bp = ({
11299
11299
  n === "idle" && be
11300
11300
  ),
11301
11301
  children: /* @__PURE__ */ a.jsxs("div", { className: oc, children: [
11302
- /* @__PURE__ */ a.jsx("span", { className: O(rr, "size-4 overflow-hidden rounded-full"), children: /* @__PURE__ */ a.jsx(F5, { src: t ?? OA }) }),
11302
+ /* @__PURE__ */ a.jsx("span", { className: O(nr, "size-4 overflow-hidden rounded-full"), children: /* @__PURE__ */ a.jsx(F5, { src: t ?? OA }) }),
11303
11303
  /* @__PURE__ */ a.jsx("span", { className: cc, children: e })
11304
11304
  ] })
11305
11305
  }
@@ -11310,7 +11310,7 @@ const bp = ({
11310
11310
  hierarchy: "quaternary",
11311
11311
  size: "small",
11312
11312
  "aria-label": "Collapse sidebar",
11313
- className: O("size-6 shrink-0 p-1", nr),
11313
+ className: O("size-6 shrink-0 p-1", ar),
11314
11314
  onClick: c,
11315
11315
  children: /* @__PURE__ */ a.jsx(on, { size: "small" })
11316
11316
  }
@@ -11340,7 +11340,7 @@ const bp = ({
11340
11340
  className: l
11341
11341
  }
11342
11342
  );
11343
- return c ? u : r && !o && n !== "hover" ? /* @__PURE__ */ a.jsx(Pr, { content: e, side: "right", className: "w-full", children: u }) : r ? u : /* @__PURE__ */ a.jsx(x2, { side: "top", align: "start", trigger: u, children: s.map((d) => /* @__PURE__ */ a.jsxs(
11343
+ return c ? u : r && !o && n !== "hover" ? /* @__PURE__ */ a.jsx(kt, { content: e, side: "right", className: "w-full", children: u }) : r ? u : /* @__PURE__ */ a.jsx(x2, { side: "top", align: "start", trigger: u, children: s.map((d) => /* @__PURE__ */ a.jsxs(
11344
11344
  C2,
11345
11345
  {
11346
11346
  className: O(d.destructive && "text-red-500 hover:bg-red-50 hover:text-red-700"),
@@ -11422,7 +11422,7 @@ const bp = ({
11422
11422
  "aria-expanded": u,
11423
11423
  className: O(
11424
11424
  "size-6 min-h-6 shrink-0 p-1",
11425
- nr,
11425
+ ar,
11426
11426
  !s && !u && "hidden group-hover/row:inline-flex",
11427
11427
  (s || u) && "inline-flex"
11428
11428
  ),
@@ -11472,7 +11472,7 @@ const bp = ({
11472
11472
  {
11473
11473
  className: O(
11474
11474
  "relative",
11475
- tr,
11475
+ rr,
11476
11476
  D5[n],
11477
11477
  n === "idle" && be,
11478
11478
  p
@@ -11491,7 +11491,7 @@ const bp = ({
11491
11491
  }
11492
11492
  ),
11493
11493
  /* @__PURE__ */ a.jsxs("span", { className: "pointer-events-none relative z-10 inline-flex shrink-0 items-center", children: [
11494
- r && /* @__PURE__ */ a.jsx("span", { className: rr, children: r }),
11494
+ r && /* @__PURE__ */ a.jsx("span", { className: nr, children: r }),
11495
11495
  d && /* @__PURE__ */ a.jsx("span", { "aria-hidden": !0, className: kA, children: /* @__PURE__ */ a.jsx("span", { className: IA }) })
11496
11496
  ] })
11497
11497
  ]
@@ -11528,7 +11528,7 @@ const bp = ({
11528
11528
  ),
11529
11529
  children: [
11530
11530
  /* @__PURE__ */ a.jsxs("span", { className: "flex min-w-0 flex-1 items-center gap-2 truncate text-left", children: [
11531
- r && /* @__PURE__ */ a.jsx("span", { className: rr, children: r }),
11531
+ r && /* @__PURE__ */ a.jsx("span", { className: nr, children: r }),
11532
11532
  /* @__PURE__ */ a.jsx("span", { className: cc, children: t }),
11533
11533
  s
11534
11534
  ] }),
@@ -11539,13 +11539,13 @@ const bp = ({
11539
11539
  ]
11540
11540
  }
11541
11541
  );
11542
- return u || !o || !l ? x : /* @__PURE__ */ a.jsx(Pr, { content: l ?? t, side: "right", className: "w-full", children: x });
11543
- }, DA = U1, GA = (e) => e === "status" ? /* @__PURE__ */ a.jsx(At, { size: "small" }) : e === "statusClosed" ? /* @__PURE__ */ a.jsx(At, { size: "small", variant: "closed" }) : e === "chatPro" ? /* @__PURE__ */ a.jsx(ga, { size: "small" }) : /* @__PURE__ */ a.jsx(sr, { size: "small" }), S2 = ({
11542
+ return u || !o || !l ? x : /* @__PURE__ */ a.jsx(kt, { content: l ?? t, side: "right", className: "w-full", children: x });
11543
+ }, DA = U1, GA = (e) => e === "status" ? /* @__PURE__ */ a.jsx(At, { size: "small" }) : e === "statusClosed" ? /* @__PURE__ */ a.jsx(At, { size: "small", variant: "closed" }) : e === "chatPro" ? /* @__PURE__ */ a.jsx(ga, { size: "small" }) : /* @__PURE__ */ a.jsx(ir, { size: "small" }), S2 = ({
11544
11544
  href: e,
11545
11545
  chief: t,
11546
11546
  empty: r = !1,
11547
11547
  label: n = "Activity",
11548
- icon: o = /* @__PURE__ */ a.jsx(Ar, { size: "small", className: "text-display-on-light-tertiary" }),
11548
+ icon: o = /* @__PURE__ */ a.jsx(lr, { size: "small", className: "text-display-on-light-tertiary" }),
11549
11549
  className: c,
11550
11550
  onNavigate: s,
11551
11551
  entryMenuItems: i
@@ -11607,7 +11607,7 @@ const bp = ({
11607
11607
  size: "small",
11608
11608
  "aria-expanded": n,
11609
11609
  "aria-label": n ? `Collapse ${t}` : `Expand ${t}`,
11610
- className: O("size-6 shrink-0 p-1", nr),
11610
+ className: O("size-6 shrink-0 p-1", ar),
11611
11611
  onClick: (u) => {
11612
11612
  u.preventDefault(), u.stopPropagation(), o(!n);
11613
11613
  },
@@ -11714,7 +11714,7 @@ const bp = ({
11714
11714
  ] })
11715
11715
  }
11716
11716
  );
11717
- return n || !t ? i : /* @__PURE__ */ a.jsx(Pr, { content: "New chat", side: "right", className: "w-full", children: i });
11717
+ return n || !t ? i : /* @__PURE__ */ a.jsx(kt, { content: "New chat", side: "right", className: "w-full", children: i });
11718
11718
  }, LA = ({
11719
11719
  label: e,
11720
11720
  icon: t,
@@ -11731,7 +11731,7 @@ const bp = ({
11731
11731
  onClick: r,
11732
11732
  "aria-label": e,
11733
11733
  className: O(
11734
- o ? tr : N2,
11734
+ o ? rr : N2,
11735
11735
  "cursor-pointer text-left",
11736
11736
  n ? ic : sc,
11737
11737
  !n && be,
@@ -11741,12 +11741,12 @@ const bp = ({
11741
11741
  "data-active": n,
11742
11742
  "data-collapsed": o,
11743
11743
  children: [
11744
- t && /* @__PURE__ */ a.jsx("span", { className: rr, children: t }),
11744
+ t && /* @__PURE__ */ a.jsx("span", { className: nr, children: t }),
11745
11745
  !o && /* @__PURE__ */ a.jsx("span", { className: "min-w-0 flex-1 truncate text-caption-2 tracking-[0.01em]", children: e })
11746
11746
  ]
11747
11747
  }
11748
11748
  );
11749
- return !o || !c ? i : /* @__PURE__ */ a.jsx(Pr, { content: c ?? e, side: "right", className: "w-full", children: i });
11749
+ return !o || !c ? i : /* @__PURE__ */ a.jsx(kt, { content: c ?? e, side: "right", className: "w-full", children: i });
11750
11750
  }, JA = [
11751
11751
  "search",
11752
11752
  "workflows",
@@ -11872,26 +11872,26 @@ const bp = ({
11872
11872
  "aria-label": `Switch chief: ${fn[e]}`,
11873
11873
  children: /* @__PURE__ */ a.jsx(m2, { chief: e, className: "size-6 shrink-0" })
11874
11874
  }
11875
- ), Xt = (e) => `#${e.replace(/([A-Z])/g, "-$1").toLowerCase()}`, Y1 = {
11876
- search: /* @__PURE__ */ a.jsx(or, { size: "small", className: "text-display-on-light-primary" }),
11875
+ ), Zt = (e) => `#${e.replace(/([A-Z])/g, "-$1").toLowerCase()}`, Y1 = {
11876
+ search: /* @__PURE__ */ a.jsx(cr, { size: "small", className: "text-display-on-light-primary" }),
11877
11877
  workflows: /* @__PURE__ */ a.jsx(Ot, { size: "small", className: "text-display-on-light-primary" }),
11878
11878
  analytics: /* @__PURE__ */ a.jsx(zn, { size: "small", className: "text-display-on-light-primary" }),
11879
11879
  forms: /* @__PURE__ */ a.jsx(Vt, { size: "small", className: "text-display-on-light-primary" }),
11880
11880
  ships: /* @__PURE__ */ a.jsx(Te, { size: "small", className: "text-display-on-light-primary" }),
11881
11881
  defectReports: /* @__PURE__ */ a.jsx(Un, { size: "small", className: "text-display-on-light-primary" }),
11882
11882
  tasks: /* @__PURE__ */ a.jsx(hn, { size: "small", className: "text-display-on-light-primary" }),
11883
- knowledge: /* @__PURE__ */ a.jsx(lr, { size: "small", className: "text-display-on-light-primary" }),
11884
- activity: /* @__PURE__ */ a.jsx(Ar, { size: "small", className: "text-display-on-light-tertiary" })
11883
+ knowledge: /* @__PURE__ */ a.jsx(ur, { size: "small", className: "text-display-on-light-primary" }),
11884
+ activity: /* @__PURE__ */ a.jsx(lr, { size: "small", className: "text-display-on-light-tertiary" })
11885
11885
  }, el = {
11886
- search: /* @__PURE__ */ a.jsx(or, { size: "small" }),
11886
+ search: /* @__PURE__ */ a.jsx(cr, { size: "small" }),
11887
11887
  workflows: /* @__PURE__ */ a.jsx(Ot, { size: "small" }),
11888
11888
  analytics: /* @__PURE__ */ a.jsx(zn, { size: "small" }),
11889
11889
  forms: /* @__PURE__ */ a.jsx(Vt, { size: "small" }),
11890
11890
  ships: /* @__PURE__ */ a.jsx(Te, { size: "small" }),
11891
11891
  defectReports: /* @__PURE__ */ a.jsx(Un, { size: "small" }),
11892
11892
  tasks: /* @__PURE__ */ a.jsx(hn, { size: "small" }),
11893
- knowledge: /* @__PURE__ */ a.jsx(lr, { size: "small" }),
11894
- activity: /* @__PURE__ */ a.jsx(Ar, { size: "small" })
11893
+ knowledge: /* @__PURE__ */ a.jsx(ur, { size: "small" }),
11894
+ activity: /* @__PURE__ */ a.jsx(lr, { size: "small" })
11895
11895
  }, xc = (e, t, r, { shipsExpanded: n, onShipsExpandedChange: o, presentation: c, entryMenuItems: s }, i) => /* @__PURE__ */ a.jsx(
11896
11896
  h2,
11897
11897
  {
@@ -11915,10 +11915,10 @@ const bp = ({
11915
11915
  }
11916
11916
  ) : /* @__PURE__ */ a.jsx(U1, { href: e, label: t, icon: r, onNavigate: s }), B5 = (e, t, r) => {
11917
11917
  const n = jn[e];
11918
- return e === "ships" ? /* @__PURE__ */ a.jsx("div", { children: xc(n, Xt(e), Y1.ships, t, r) }, e) : e === "activity" ? /* @__PURE__ */ a.jsx("div", { children: Cc(Xt(e), n, Y1.activity, t, r) }, e) : /* @__PURE__ */ a.jsx(
11918
+ return e === "ships" ? /* @__PURE__ */ a.jsx("div", { children: xc(n, Zt(e), Y1.ships, t, r) }, e) : e === "activity" ? /* @__PURE__ */ a.jsx("div", { children: Cc(Zt(e), n, Y1.activity, t, r) }, e) : /* @__PURE__ */ a.jsx(
11919
11919
  U1,
11920
11920
  {
11921
- href: Xt(e),
11921
+ href: Zt(e),
11922
11922
  label: n,
11923
11923
  icon: Y1[e],
11924
11924
  onNavigate: r
@@ -11997,7 +11997,7 @@ const bp = ({
11997
11997
  }, z = () => (c ? m.collapsedItems : m.collapsedItems.filter(({ id: M }) => M === "activity" ? t : M === "ships" ? !0 : o || M !== "search")).map(({ id: M, unread: T }) => /* @__PURE__ */ a.jsx(
11998
11998
  U1,
11999
11999
  {
12000
- href: Xt(M),
12000
+ href: Zt(M),
12001
12001
  label: jn[M],
12002
12002
  icon: el[M],
12003
12003
  collapsed: !0,
@@ -12240,7 +12240,7 @@ const bp = ({
12240
12240
  ] }),
12241
12241
  /* @__PURE__ */ a.jsx("p", { className: "mt-0.5 line-clamp-2 text-caption-2 text-display-on-light-secondary", children: r })
12242
12242
  ] }),
12243
- /* @__PURE__ */ a.jsx(sr, { className: "size-4 shrink-0 text-display-on-light-quaternary" })
12243
+ /* @__PURE__ */ a.jsx(ir, { className: "size-4 shrink-0 text-display-on-light-quaternary" })
12244
12244
  ]
12245
12245
  }
12246
12246
  ), sl = {
@@ -12358,7 +12358,7 @@ const bp = ({
12358
12358
  r
12359
12359
  ),
12360
12360
  children: [
12361
- /* @__PURE__ */ a.jsx(lr, { className: "size-3.5 shrink-0" }),
12361
+ /* @__PURE__ */ a.jsx(ur, { className: "size-3.5 shrink-0" }),
12362
12362
  /* @__PURE__ */ a.jsx("span", { className: "truncate", children: e }),
12363
12363
  t && /* @__PURE__ */ a.jsx("span", { className: "text-display-on-light-quaternary", children: t })
12364
12364
  ]
@@ -12434,7 +12434,7 @@ const bp = ({
12434
12434
  ),
12435
12435
  "data-variant": e,
12436
12436
  children: [
12437
- /* @__PURE__ */ a.jsx("span", { className: "shrink-0 text-display-on-light-tertiary", children: e === "issue" ? /* @__PURE__ */ a.jsx(ur, { className: "size-5 text-meta-red" }) : c.icon }),
12437
+ /* @__PURE__ */ a.jsx("span", { className: "shrink-0 text-display-on-light-tertiary", children: e === "issue" ? /* @__PURE__ */ a.jsx(dr, { className: "size-5 text-meta-red" }) : c.icon }),
12438
12438
  r && /* @__PURE__ */ a.jsx(W1, { chief: r, size: 24 }),
12439
12439
  /* @__PURE__ */ a.jsx("h2", { className: "min-w-0 flex-1 truncate text-subheader-em text-display-on-light-primary", children: s }),
12440
12440
  n && /* @__PURE__ */ a.jsx(K1, { hierarchy: "quaternary", size: "small", "aria-label": "Close", onClick: n, children: /* @__PURE__ */ a.jsx("span", { className: "text-caption-1", children: "✕" }) })
@@ -12483,7 +12483,7 @@ const bp = ({
12483
12483
  children: [
12484
12484
  e === "count" && /* @__PURE__ */ a.jsx(zr, { value: t }),
12485
12485
  e === "completed" && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
12486
- /* @__PURE__ */ a.jsx(ir, { className: "size-3.5 text-meta-green" }),
12486
+ /* @__PURE__ */ a.jsx(Ar, { className: "size-3.5 text-meta-green" }),
12487
12487
  /* @__PURE__ */ a.jsx("span", { children: "Completed" })
12488
12488
  ] }),
12489
12489
  e === "dropdown" && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -12839,7 +12839,7 @@ const bp = ({
12839
12839
  ), Il = {
12840
12840
  off: "bg-transparent",
12841
12841
  on: "bg-background-secondary"
12842
- }, Zt = ({
12842
+ }, Yt = ({
12843
12843
  label: e = "Complete safety inspection checklist",
12844
12844
  variant: t = "task",
12845
12845
  hover: r = "off",
@@ -12872,7 +12872,7 @@ const bp = ({
12872
12872
  ]
12873
12873
  }
12874
12874
  );
12875
- }, Yt = ({
12875
+ }, Lt = ({
12876
12876
  label: e = "Vessel",
12877
12877
  value: t = "MV Atlantic Star",
12878
12878
  column: r = "off",
@@ -12932,14 +12932,14 @@ const bp = ({
12932
12932
  /* @__PURE__ */ a.jsx("div", { className: "mt-6 space-y-6", children: r ?? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
12933
12933
  /* @__PURE__ */ a.jsx(Uc, { title: "Vessel information" }),
12934
12934
  /* @__PURE__ */ a.jsxs("div", { className: "space-y-3", children: [
12935
- /* @__PURE__ */ a.jsx(Yt, { label: "Vessel", value: "MV Atlantic Star" }),
12936
- /* @__PURE__ */ a.jsx(Yt, { label: "IMO", value: "9876543", column: "on" }),
12937
- /* @__PURE__ */ a.jsx(Yt, { label: "Flag", value: "Marshall Islands" })
12935
+ /* @__PURE__ */ a.jsx(Lt, { label: "Vessel", value: "MV Atlantic Star" }),
12936
+ /* @__PURE__ */ a.jsx(Lt, { label: "IMO", value: "9876543", column: "on" }),
12937
+ /* @__PURE__ */ a.jsx(Lt, { label: "Flag", value: "Marshall Islands" })
12938
12938
  ] }),
12939
12939
  /* @__PURE__ */ a.jsx(qc, { title: "Outstanding actions", subtitle: "2 tasks remaining", children: /* @__PURE__ */ a.jsxs("div", { className: "space-y-1", children: [
12940
- /* @__PURE__ */ a.jsx(Zt, { label: "Review fire safety documentation" }),
12941
- /* @__PURE__ */ a.jsx(Zt, { label: "Confirm crew certification records", strikethrough: "on" }),
12942
- /* @__PURE__ */ a.jsx(Zt, { variant: "add-more" })
12940
+ /* @__PURE__ */ a.jsx(Yt, { label: "Review fire safety documentation" }),
12941
+ /* @__PURE__ */ a.jsx(Yt, { label: "Confirm crew certification records", strikethrough: "on" }),
12942
+ /* @__PURE__ */ a.jsx(Yt, { variant: "add-more" })
12943
12943
  ] }) })
12944
12944
  ] }) })
12945
12945
  ]
@@ -13173,7 +13173,7 @@ const bp = ({
13173
13173
  r
13174
13174
  ),
13175
13175
  "aria-label": `${e} importance, ${t}`,
13176
- children: n || o ? /* @__PURE__ */ a.jsx(it, { size: "small" }) : e === "critical" ? /* @__PURE__ */ a.jsx(ur, { size: "small" }) : /* @__PURE__ */ a.jsx(At, { size: "small" })
13176
+ children: n || o ? /* @__PURE__ */ a.jsx(it, { size: "small" }) : e === "critical" ? /* @__PURE__ */ a.jsx(dr, { size: "small" }) : /* @__PURE__ */ a.jsx(At, { size: "small" })
13177
13177
  }
13178
13178
  );
13179
13179
  }, Gl = {
@@ -13351,7 +13351,7 @@ const bp = ({
13351
13351
  ]
13352
13352
  }
13353
13353
  ), $l = {
13354
- "validation-checks": { title: "Validation Checks", icon: ir },
13354
+ "validation-checks": { title: "Validation Checks", icon: Ar },
13355
13355
  "quality-flags": { title: "Quality Flags", icon: ya },
13356
13356
  "ai-insights": { title: "AI Insights", icon: Sn }
13357
13357
  }, eu = ({
@@ -13395,7 +13395,7 @@ const bp = ({
13395
13395
  ),
13396
13396
  children: [
13397
13397
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 border-b border-divider-primary px-3 py-2", children: [
13398
- /* @__PURE__ */ a.jsx(ur, { size: "small", className: "text-red-500" }),
13398
+ /* @__PURE__ */ a.jsx(dr, { size: "small", className: "text-red-500" }),
13399
13399
  /* @__PURE__ */ a.jsx("span", { className: "text-caption-1-em text-display-on-light-primary", children: t })
13400
13400
  ] }),
13401
13401
  /* @__PURE__ */ a.jsxs("div", { className: "p-1", children: [
@@ -13482,11 +13482,11 @@ const Wc = ({
13482
13482
  removeAriaLabel: r,
13483
13483
  className: n,
13484
13484
  classNames: o
13485
- }) => /* @__PURE__ */ a.jsxs(
13485
+ }) => /* @__PURE__ */ a.jsx(kt, { content: e, hint: !0, side: "top", children: /* @__PURE__ */ a.jsxs(
13486
13486
  "div",
13487
13487
  {
13488
13488
  className: O(
13489
- "inline-flex min-h-9 items-center justify-center gap-2.5 rounded-full bg-background-secondary px-3 py-1",
13489
+ "inline-flex max-w-[300px] min-h-9 items-center justify-center gap-2.5 rounded-full bg-background-secondary px-3 py-1",
13490
13490
  o == null ? void 0 : o.root,
13491
13491
  n
13492
13492
  ),
@@ -13501,14 +13501,14 @@ const Wc = ({
13501
13501
  "inline-flex size-4 shrink-0 items-center justify-center rounded-control text-display-on-light-secondary transition-colors hover:text-display-on-light-primary",
13502
13502
  o == null ? void 0 : o.remove
13503
13503
  ),
13504
- children: /* @__PURE__ */ a.jsx(cr, { size: "xs" })
13504
+ children: /* @__PURE__ */ a.jsx(sr, { size: "xs" })
13505
13505
  }
13506
13506
  ),
13507
13507
  /* @__PURE__ */ a.jsx(
13508
13508
  "span",
13509
13509
  {
13510
13510
  className: O(
13511
- "text-caption-2-em text-display-on-light-primary whitespace-nowrap",
13511
+ "min-w-0 truncate text-caption-2-em text-display-on-light-primary",
13512
13512
  o == null ? void 0 : o.label
13513
13513
  ),
13514
13514
  children: e
@@ -13516,7 +13516,7 @@ const Wc = ({
13516
13516
  )
13517
13517
  ]
13518
13518
  }
13519
- ), Rc = ({ chips: e, className: t }) => e.length === 0 ? null : /* @__PURE__ */ a.jsx("div", { className: O("flex flex-wrap items-start gap-2", t), children: e.map((r) => /* @__PURE__ */ a.jsx(
13519
+ ) }), Rc = ({ chips: e, className: t }) => /* @__PURE__ */ a.jsx("div", { className: O("flex min-w-0 flex-wrap items-start gap-2", t), children: e.map((r) => /* @__PURE__ */ a.jsx(
13520
13520
  Wc,
13521
13521
  {
13522
13522
  label: r.label,
@@ -13556,7 +13556,7 @@ const Wc = ({
13556
13556
  ),
13557
13557
  /* @__PURE__ */ a.jsxs("div", { className: "flex w-[250px] items-center gap-2 rounded-md border border-divider-primary px-3 py-2", children: [
13558
13558
  /* @__PURE__ */ a.jsx("span", { className: "flex-1 text-body text-display-on-light-secondary", children: o }),
13559
- /* @__PURE__ */ a.jsx(or, { size: "small", className: "text-display-on-light-tertiary" })
13559
+ /* @__PURE__ */ a.jsx(cr, { size: "small", className: "text-display-on-light-tertiary" })
13560
13560
  ] })
13561
13561
  ] })
13562
13562
  ] }),
@@ -14268,19 +14268,19 @@ function Zu(e) {
14268
14268
  }
14269
14269
  });
14270
14270
  return A.useEffect(() => {
14271
- const u = Ft(n.current);
14271
+ const u = Dt(n.current);
14272
14272
  c.current = i === "mounted" ? u : "none";
14273
14273
  }, [i]), pe(() => {
14274
14274
  const u = n.current, d = o.current;
14275
14275
  if (d !== e) {
14276
- const g = c.current, x = Ft(u);
14276
+ const g = c.current, x = Dt(u);
14277
14277
  e ? l("MOUNT") : x === "none" || (u == null ? void 0 : u.display) === "none" ? l("UNMOUNT") : l(d && g !== x ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
14278
14278
  }
14279
14279
  }, [e, l]), pe(() => {
14280
14280
  if (t) {
14281
14281
  let u;
14282
14282
  const d = t.ownerDocument.defaultView ?? window, p = (x) => {
14283
- const m = Ft(n.current).includes(CSS.escape(x.animationName));
14283
+ const m = Dt(n.current).includes(CSS.escape(x.animationName));
14284
14284
  if (x.target === t && m && (l("ANIMATION_END"), !o.current)) {
14285
14285
  const f = t.style.animationFillMode;
14286
14286
  t.style.animationFillMode = "forwards", u = d.setTimeout(() => {
@@ -14288,7 +14288,7 @@ function Zu(e) {
14288
14288
  });
14289
14289
  }
14290
14290
  }, g = (x) => {
14291
- x.target === t && (c.current = Ft(n.current));
14291
+ x.target === t && (c.current = Dt(n.current));
14292
14292
  };
14293
14293
  return t.addEventListener("animationstart", g), t.addEventListener("animationcancel", p), t.addEventListener("animationend", p), () => {
14294
14294
  d.clearTimeout(u), t.removeEventListener("animationstart", g), t.removeEventListener("animationcancel", p), t.removeEventListener("animationend", p);
@@ -14302,7 +14302,7 @@ function Zu(e) {
14302
14302
  }, [])
14303
14303
  };
14304
14304
  }
14305
- function Ft(e) {
14305
+ function Dt(e) {
14306
14306
  return (e == null ? void 0 : e.animationName) || "none";
14307
14307
  }
14308
14308
  function Yu(e) {
@@ -14361,7 +14361,7 @@ function Eu(e) {
14361
14361
  }
14362
14362
  var Mr = "Popover", [i0] = Dc(Mr, [
14363
14363
  Ec
14364
- ]), kt = Ec(), [_u, xe] = i0(Mr), A0 = (e) => {
14364
+ ]), It = Ec(), [_u, xe] = i0(Mr), A0 = (e) => {
14365
14365
  const {
14366
14366
  __scopePopover: t,
14367
14367
  children: r,
@@ -14369,7 +14369,7 @@ var Mr = "Popover", [i0] = Dc(Mr, [
14369
14369
  defaultOpen: o,
14370
14370
  onOpenChange: c,
14371
14371
  modal: s = !1
14372
- } = e, i = kt(t), l = A.useRef(null), [u, d] = A.useState(!1), [p, g] = Ju({
14372
+ } = e, i = It(t), l = A.useRef(null), [u, d] = A.useState(!1), [p, g] = Ju({
14373
14373
  prop: n,
14374
14374
  defaultProp: o ?? !1,
14375
14375
  onChange: c,
@@ -14395,14 +14395,14 @@ var Mr = "Popover", [i0] = Dc(Mr, [
14395
14395
  A0.displayName = Mr;
14396
14396
  var l0 = "PopoverAnchor", $u = A.forwardRef(
14397
14397
  (e, t) => {
14398
- const { __scopePopover: r, ...n } = e, o = xe(l0, r), c = kt(r), { onCustomAnchorAdd: s, onCustomAnchorRemove: i } = o;
14398
+ const { __scopePopover: r, ...n } = e, o = xe(l0, r), c = It(r), { onCustomAnchorAdd: s, onCustomAnchorRemove: i } = o;
14399
14399
  return A.useEffect(() => (s(), () => i()), [s, i]), /* @__PURE__ */ a.jsx(c0, { ...c, ...n, ref: t });
14400
14400
  }
14401
14401
  );
14402
14402
  $u.displayName = l0;
14403
14403
  var u0 = "PopoverTrigger", d0 = A.forwardRef(
14404
14404
  (e, t) => {
14405
- const { __scopePopover: r, ...n } = e, o = xe(u0, r), c = kt(r), s = ge(t, o.triggerRef), i = /* @__PURE__ */ a.jsx(
14405
+ const { __scopePopover: r, ...n } = e, o = xe(u0, r), c = It(r), s = ge(t, o.triggerRef), i = /* @__PURE__ */ a.jsx(
14406
14406
  oe.button,
14407
14407
  {
14408
14408
  type: "button",
@@ -14439,7 +14439,7 @@ var rd = /* @__PURE__ */ Gc("PopoverContent.RemoveScroll"), nd = A.forwardRef(
14439
14439
  return A.useEffect(() => {
14440
14440
  const s = n.current;
14441
14441
  if (s) return s2(s);
14442
- }, []), /* @__PURE__ */ a.jsx(fr, { as: rd, allowPinchZoom: !0, children: /* @__PURE__ */ a.jsx(
14442
+ }, []), /* @__PURE__ */ a.jsx(yr, { as: rd, allowPinchZoom: !0, children: /* @__PURE__ */ a.jsx(
14443
14443
  x0,
14444
14444
  {
14445
14445
  ...e,
@@ -14502,7 +14502,7 @@ var rd = /* @__PURE__ */ Gc("PopoverContent.RemoveScroll"), nd = A.forwardRef(
14502
14502
  onFocusOutside: u,
14503
14503
  onInteractOutside: d,
14504
14504
  ...p
14505
- } = e, g = xe(De, r), x = kt(r);
14505
+ } = e, g = xe(De, r), x = It(r);
14506
14506
  return Ou(), /* @__PURE__ */ a.jsx(
14507
14507
  Yc,
14508
14508
  {
@@ -14562,7 +14562,7 @@ var rd = /* @__PURE__ */ Gc("PopoverContent.RemoveScroll"), nd = A.forwardRef(
14562
14562
  od.displayName = C0;
14563
14563
  var cd = "PopoverArrow", sd = A.forwardRef(
14564
14564
  (e, t) => {
14565
- const { __scopePopover: r, ...n } = e, o = kt(r);
14565
+ const { __scopePopover: r, ...n } = e, o = It(r);
14566
14566
  return /* @__PURE__ */ a.jsx(Gu, { ...o, ...n, ref: t });
14567
14567
  }
14568
14568
  );
@@ -15138,7 +15138,7 @@ const jd = {
15138
15138
  GroupHeader: eu,
15139
15139
  Importance: U2,
15140
15140
  InfoHeading: Uc,
15141
- InfoRow: Yt,
15141
+ InfoRow: Lt,
15142
15142
  LibraryListRow: Nd,
15143
15143
  MemberRow: ql,
15144
15144
  Navigation: kd,
@@ -15152,7 +15152,7 @@ const jd = {
15152
15152
  StatusPopover: tu,
15153
15153
  Task: Bl,
15154
15154
  TaskHeader: Jl,
15155
- TaskRow: Zt,
15155
+ TaskRow: Yt,
15156
15156
  WorkflowFilters: nu,
15157
15157
  WorkflowForm: Ll,
15158
15158
  WorkflowHeader: Fl,
@@ -15164,7 +15164,7 @@ const jd = {
15164
15164
  }, Symbol.toStringTag, { value: "Module" }));
15165
15165
  export {
15166
15166
  R8 as ActionsIcon,
15167
- Ar as ActivityIcon,
15167
+ lr as ActivityIcon,
15168
15168
  da as AddIcon,
15169
15169
  zn as AnalyticsIcon,
15170
15170
  T8 as ApprovalIcon,
@@ -15174,24 +15174,24 @@ export {
15174
15174
  ap as AuditPreparationIllustration,
15175
15175
  W1 as Avatar,
15176
15176
  ve as Badge,
15177
- lr as BookIcon,
15177
+ ur as BookIcon,
15178
15178
  Sn as BulbIcon,
15179
15179
  gt as Button,
15180
15180
  Qd as Callout,
15181
15181
  F8 as CautionIcon,
15182
- sr as ChatIcon,
15182
+ ir as ChatIcon,
15183
15183
  ga as ChatProIcon,
15184
15184
  pp as Checkbox,
15185
15185
  Va as CheckboxIcon,
15186
15186
  y1 as ChevronIcon,
15187
15187
  dp as Chip,
15188
- cr as ClearIcon,
15188
+ sr as ClearIcon,
15189
15189
  Z8 as ClockIcon,
15190
15190
  rp as CompletedTasksIllustration,
15191
15191
  H8 as CopyIcon,
15192
15192
  zr as Count,
15193
15193
  tp as CreationIllustration,
15194
- ur as CriticalIcon,
15194
+ dr as CriticalIcon,
15195
15195
  k8 as DateIcon,
15196
15196
  Un as DefectReportIcon,
15197
15197
  bp as DocumentEditor,
@@ -15235,7 +15235,7 @@ export {
15235
15235
  M8 as MenuIcon,
15236
15236
  $r as MenuItem,
15237
15237
  O8 as MicrophoneIcon,
15238
- ar as MinusIcon,
15238
+ or as MinusIcon,
15239
15239
  xA as Modal,
15240
15240
  mA as ModalBody,
15241
15241
  yp as ModalClose,
@@ -15265,7 +15265,7 @@ export {
15265
15265
  lp as ReportInput,
15266
15266
  cp as RightShipInspectionIllustration,
15267
15267
  mp as ScrollableList,
15268
- or as SearchIcon,
15268
+ cr as SearchIcon,
15269
15269
  pa as SendIcon,
15270
15270
  ma as SettingsIcon,
15271
15271
  Te as ShipIcon,
@@ -15284,8 +15284,8 @@ export {
15284
15284
  L8 as TaskIcon,
15285
15285
  hn as TasksIcon,
15286
15286
  Oo as ThinkingDot,
15287
- ir as TickIcon,
15288
- Pr as Tooltip,
15287
+ Ar as TickIcon,
15288
+ kt as Tooltip,
15289
15289
  Ld as TooltipProvider,
15290
15290
  b8 as TrashIcon,
15291
15291
  X8 as UndoIcon,