@photoroom/ui 0.1.10 → 0.1.12

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/index.mjs CHANGED
@@ -5,7 +5,7 @@ var Rg = (e, t, r) => t.has(e) || Pg("Cannot " + r);
5
5
  var zo = (e, t, r) => (Rg(e, t, "read from private field"), r ? r.call(e) : t.get(e)), dc = (e, t, r) => t.has(e) ? Pg("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), fc = (e, t, r, n) => (Rg(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r);
6
6
  import { jsxs as E, jsx as p, Fragment as Qe } from "react/jsx-runtime";
7
7
  import * as N from "react";
8
- import W, { forwardRef as te, isValidElement as po, Children as Qi, useLayoutEffect as hi, useId as Xt, useState as Fe, useEffect as Be, Fragment as br, useMemo as me, useCallback as ue, createContext as ho, memo as nw, useContext as Ft, useRef as pe, useInsertionEffect as Lh, createElement as yl, Component as dR, cloneElement as St, useImperativeHandle as pn, Suspense as fR, lazy as pR, useReducer as hR } from "react";
8
+ import W, { forwardRef as te, isValidElement as Gn, Children as Qi, useLayoutEffect as hi, useId as Xt, useState as Fe, useEffect as Be, Fragment as br, useMemo as me, useCallback as ue, createContext as ho, memo as nw, useContext as Ft, useRef as pe, useInsertionEffect as Lh, createElement as yl, Component as dR, cloneElement as St, useImperativeHandle as pn, Suspense as fR, lazy as pR, useReducer as hR } from "react";
9
9
  import { ActivityIcon as tr, CrossIcon as mi, TeamIcon as mR, PersonIcon as vR, QuestionMarkIcon as gR, ArrowRightIcon as mo, InfoCircleIcon as is, SparklesIcon as ow, EmailIcon as bR, AppleIcon as yR, CheckSmallIcon as vi, ChevronDownShortIcon as gi, RefreshIcon as Bh, ChevronRightShortIcon as pu, AddIcon as vo, DoubleArrowHorizontalIcon as xR, CommentIcon as wR, PadlockIcon as SR, ChevronRightIcon as iw, PictureNoneIcon as CR, TextPromptIcon as NR, CheckIcon as go, DownloadIcon as ER, EllipsisHorizontalIcon as kR, SearchIcon as aw, ExclamationCircleIcon as sw, EyeIcon as _R, EyeNoneIcon as TR, DragIcon as PR, RotateLeftIcon as RR, RenameIcon as AR, PictureIcon as cw, ExclamationTriangleIcon as lw, DropIcon as IR, UploadIcon as Rf, FolderIcon as DR, PictureMultipleIcon as MR, DoubleChevronVerticalIcon as OR, ReactionAddIcon as zR, ClearMediumIcon as uw, DashMediumIcon as LR, DeleteIcon as BR, PictureAddIcon as VR, ArrowLeftIcon as hu, CheckCircleIcon as FR, RemoveIcon as $R, ChevronDownIcon as jR, StarFullIcon as GR } from "@photoroom/icons/monochromes";
10
10
  import * as mu from "react-dom";
11
11
  import Vh, { flushSync as WR } from "react-dom";
@@ -347,7 +347,7 @@ function Ue(e) {
347
347
  function Aa() {
348
348
  return !0;
349
349
  }
350
- function qn(e) {
350
+ function Zn(e) {
351
351
  return _I.test(e);
352
352
  }
353
353
  function MI(e) {
@@ -407,10 +407,10 @@ function BI() {
407
407
  theme: {
408
408
  colors: [Aa],
409
409
  spacing: [Yr],
410
- blur: ["none", "", qn, Ue],
410
+ blur: ["none", "", Zn, Ue],
411
411
  brightness: F(),
412
412
  borderColor: [e],
413
- borderRadius: ["none", "", "full", qn, Ue],
413
+ borderRadius: ["none", "", "full", Zn, Ue],
414
414
  borderSpacing: A(),
415
415
  borderWidth: R(),
416
416
  contrast: F(),
@@ -450,7 +450,7 @@ function BI() {
450
450
  * @see https://tailwindcss.com/docs/columns
451
451
  */
452
452
  columns: [{
453
- columns: [qn]
453
+ columns: [Zn]
454
454
  }],
455
455
  /**
456
456
  * Break After
@@ -1034,8 +1034,8 @@ function BI() {
1034
1034
  */
1035
1035
  "max-w": [{
1036
1036
  "max-w": ["0", "none", "full", "min", "max", "fit", "prose", {
1037
- screen: [qn]
1038
- }, qn, Ue]
1037
+ screen: [Zn]
1038
+ }, Zn, Ue]
1039
1039
  }],
1040
1040
  /**
1041
1041
  * Height
@@ -1064,7 +1064,7 @@ function BI() {
1064
1064
  * @see https://tailwindcss.com/docs/font-size
1065
1065
  */
1066
1066
  "font-size": [{
1067
- text: ["base", qn, If]
1067
+ text: ["base", Zn, If]
1068
1068
  }],
1069
1069
  /**
1070
1070
  * Font Smoothing
@@ -1745,7 +1745,7 @@ function BI() {
1745
1745
  * @see https://tailwindcss.com/docs/box-shadow
1746
1746
  */
1747
1747
  shadow: [{
1748
- shadow: ["", "inner", "none", qn, MI]
1748
+ shadow: ["", "inner", "none", Zn, MI]
1749
1749
  }],
1750
1750
  /**
1751
1751
  * Box Shadow Color
@@ -1810,7 +1810,7 @@ function BI() {
1810
1810
  * @see https://tailwindcss.com/docs/drop-shadow
1811
1811
  */
1812
1812
  "drop-shadow": [{
1813
- "drop-shadow": ["", "none", qn, Ue]
1813
+ "drop-shadow": ["", "none", Zn, Ue]
1814
1814
  }],
1815
1815
  /**
1816
1816
  * Grayscale
@@ -2376,7 +2376,7 @@ function Y(...e) {
2376
2376
  return vu(I(e));
2377
2377
  }
2378
2378
  function on(e) {
2379
- return !po(e);
2379
+ return !Gn(e);
2380
2380
  }
2381
2381
  const FI = "https://cdn.photoroom.com", $I = "gs://background-7ef44.appspot.com", jI = "gs://background-7j6xz", Mg = (e) => `${FI}/v2/image-cache?path=${e}`, Ooe = {
2382
2382
  OfficialAssetURL(e) {
@@ -3097,7 +3097,7 @@ function vr(e) {
3097
3097
  r((n) => n ?? String(vD++));
3098
3098
  }, [e]), e || (t ? `radix-${t}` : "");
3099
3099
  }
3100
- const gD = ["top", "right", "bottom", "left"], io = Math.min, Tr = Math.max, xl = Math.round, hc = Math.floor, Cn = (e) => ({
3100
+ const gD = ["top", "right", "bottom", "left"], ao = Math.min, Tr = Math.max, xl = Math.round, hc = Math.floor, Cn = (e) => ({
3101
3101
  x: e,
3102
3102
  y: e
3103
3103
  }), bD = {
@@ -3107,7 +3107,7 @@ const gD = ["top", "right", "bottom", "left"], io = Math.min, Tr = Math.max, xl
3107
3107
  top: "bottom"
3108
3108
  };
3109
3109
  function Of(e, t, r) {
3110
- return Tr(e, io(t, r));
3110
+ return Tr(e, ao(t, r));
3111
3111
  }
3112
3112
  function Bn(e, t) {
3113
3113
  return typeof e == "function" ? e(t) : e;
@@ -3382,7 +3382,7 @@ const _D = 50, TD = async (e, t, r) => {
3382
3382
  }, h = Wh(o), v = Gh(h), m = await a.getDimensions(l), g = h === "y", b = g ? "top" : "left", y = g ? "bottom" : "right", x = g ? "clientHeight" : "clientWidth", w = i.reference[v] + i.reference[h] - f[h] - i.floating[v], S = f[h] - i.reference[h], C = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l));
3383
3383
  let k = C ? C[x] : 0;
3384
3384
  (!k || !await (a.isElement == null ? void 0 : a.isElement(C))) && (k = s.floating[x] || i.floating[v]);
3385
- const _ = w / 2 - S / 2, T = k / 2 - m[v] / 2 - 1, P = io(d[b], T), D = io(d[y], T), A = P, R = k - m[v] - D, z = k / 2 - m[v] / 2 + _, M = Of(A, z, R), O = !c.arrow && pa(o) != null && z !== M && i.reference[v] / 2 - (z < A ? P : D) - m[v] / 2 < 0, B = O ? z < A ? z - A : z - R : 0;
3385
+ const _ = w / 2 - S / 2, T = k / 2 - m[v] / 2 - 1, P = ao(d[b], T), D = ao(d[y], T), A = P, R = k - m[v] - D, z = k / 2 - m[v] / 2 + _, M = Of(A, z, R), O = !c.arrow && pa(o) != null && z !== M && i.reference[v] / 2 - (z < A ? P : D) - m[v] / 2 < 0, B = O ? z < A ? z - A : z - R : 0;
3386
3386
  return {
3387
3387
  [h]: f[h] + B,
3388
3388
  data: {
@@ -3700,7 +3700,7 @@ const DD = function(e) {
3700
3700
  } = i.floating;
3701
3701
  let g, b;
3702
3702
  d === "top" || d === "bottom" ? (g = d, b = f === (await (a.isRTL == null ? void 0 : a.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (b = d, g = f === "end" ? "top" : "bottom");
3703
- const y = m - u.top - u.bottom, x = v - u.left - u.right, w = io(m - u[g], y), S = io(v - u[b], x), C = !t.middlewareData.shift;
3703
+ const y = m - u.top - u.bottom, x = v - u.left - u.right, w = ao(m - u[g], y), S = ao(v - u[b], x), C = !t.middlewareData.shift;
3704
3704
  let k = w, _ = S;
3705
3705
  if ((r = t.middlewareData.shift) != null && r.enabled.x && (_ = x), (n = t.middlewareData.shift) != null && n.enabled.y && (k = y), C && !f) {
3706
3706
  const P = Tr(u.left, 0), D = Tr(u.right, 0), A = Tr(u.top, 0), R = Tr(u.bottom, 0);
@@ -3740,7 +3740,7 @@ function Ew(e) {
3740
3740
  function ln(e) {
3741
3741
  return gu() ? e instanceof Element || e instanceof Pr(e).Element : !1;
3742
3742
  }
3743
- function Gn(e) {
3743
+ function Wn(e) {
3744
3744
  return gu() ? e instanceof HTMLElement || e instanceof Pr(e).HTMLElement : !1;
3745
3745
  }
3746
3746
  function qg(e) {
@@ -3777,13 +3777,13 @@ function Uh(e) {
3777
3777
  return Lo(t.transform) || Lo(t.translate) || Lo(t.scale) || Lo(t.rotate) || Lo(t.perspective) || !Hh() && (Lo(t.backdropFilter) || Lo(t.filter)) || BD.test(t.willChange || "") || VD.test(t.contain || "");
3778
3778
  }
3779
3779
  function FD(e) {
3780
- let t = ao(e);
3781
- for (; Gn(t) && !ea(t); ) {
3780
+ let t = so(e);
3781
+ for (; Wn(t) && !ea(t); ) {
3782
3782
  if (Uh(t))
3783
3783
  return t;
3784
3784
  if (bu(t))
3785
3785
  return null;
3786
- t = ao(t);
3786
+ t = so(t);
3787
3787
  }
3788
3788
  return null;
3789
3789
  }
@@ -3805,7 +3805,7 @@ function yu(e) {
3805
3805
  scrollTop: e.scrollY
3806
3806
  };
3807
3807
  }
3808
- function ao(e) {
3808
+ function so(e) {
3809
3809
  if (ha(e) === "html")
3810
3810
  return e;
3811
3811
  const t = (
@@ -3818,8 +3818,8 @@ function ao(e) {
3818
3818
  return qg(t) ? t.host : t;
3819
3819
  }
3820
3820
  function kw(e) {
3821
- const t = ao(e);
3822
- return ea(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Gn(t) && As(t) ? t : kw(t);
3821
+ const t = so(e);
3822
+ return ea(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Wn(t) && As(t) ? t : kw(t);
3823
3823
  }
3824
3824
  function as(e, t, r) {
3825
3825
  var n;
@@ -3837,7 +3837,7 @@ function Lf(e) {
3837
3837
  function _w(e) {
3838
3838
  const t = un(e);
3839
3839
  let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
3840
- const o = Gn(e), i = o ? e.offsetWidth : r, a = o ? e.offsetHeight : n, s = xl(r) !== i || xl(n) !== a;
3840
+ const o = Wn(e), i = o ? e.offsetWidth : r, a = o ? e.offsetHeight : n, s = xl(r) !== i || xl(n) !== a;
3841
3841
  return s && (r = i, n = a), {
3842
3842
  width: r,
3843
3843
  height: n,
@@ -3849,7 +3849,7 @@ function qh(e) {
3849
3849
  }
3850
3850
  function Hi(e) {
3851
3851
  const t = qh(e);
3852
- if (!Gn(t))
3852
+ if (!Wn(t))
3853
3853
  return Cn(1);
3854
3854
  const r = t.getBoundingClientRect(), {
3855
3855
  width: n,
@@ -3920,7 +3920,7 @@ function GD(e) {
3920
3920
  scrollLeft: 0,
3921
3921
  scrollTop: 0
3922
3922
  }, l = Cn(1);
3923
- const u = Cn(0), d = Gn(n);
3923
+ const u = Cn(0), d = Wn(n);
3924
3924
  if ((d || !d && !i) && ((ha(n) !== "body" || As(a)) && (c = yu(n)), d)) {
3925
3925
  const h = ni(n);
3926
3926
  l = Hi(n), u.x = h.x + n.clientLeft, u.y = h.y + n.clientTop;
@@ -3969,7 +3969,7 @@ function HD(e, t) {
3969
3969
  };
3970
3970
  }
3971
3971
  function qD(e, t) {
3972
- const r = ni(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, i = Gn(e) ? Hi(e) : Cn(1), a = e.clientWidth * i.x, s = e.clientHeight * i.y, c = o * i.x, l = n * i.y;
3972
+ const r = ni(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, i = Wn(e) ? Hi(e) : Cn(1), a = e.clientWidth * i.x, s = e.clientHeight * i.y, c = o * i.x, l = n * i.y;
3973
3973
  return {
3974
3974
  width: a,
3975
3975
  height: s,
@@ -3997,7 +3997,7 @@ function Yg(e, t, r) {
3997
3997
  return Sl(n);
3998
3998
  }
3999
3999
  function Rw(e, t) {
4000
- const r = ao(e);
4000
+ const r = so(e);
4001
4001
  return r === t || !ln(r) || ea(r) ? !1 : un(r).position === "fixed" || Rw(r, t);
4002
4002
  }
4003
4003
  function ZD(e, t) {
@@ -4006,10 +4006,10 @@ function ZD(e, t) {
4006
4006
  return r;
4007
4007
  let n = as(e, [], !1).filter((s) => ln(s) && ha(s) !== "body"), o = null;
4008
4008
  const i = un(e).position === "fixed";
4009
- let a = i ? ao(e) : e;
4009
+ let a = i ? so(e) : e;
4010
4010
  for (; ln(a) && !ea(a); ) {
4011
4011
  const s = un(a), c = Uh(a);
4012
- !c && s.position === "fixed" && (o = null), (i ? !c && !o : !c && s.position === "static" && !!o && (o.position === "absolute" || o.position === "fixed") || As(a) && !c && Rw(e, a)) ? n = n.filter((u) => u !== a) : o = s, a = ao(a);
4012
+ !c && s.position === "fixed" && (o = null), (i ? !c && !o : !c && s.position === "static" && !!o && (o.position === "absolute" || o.position === "fixed") || As(a) && !c && Rw(e, a)) ? n = n.filter((u) => u !== a) : o = s, a = so(a);
4013
4013
  }
4014
4014
  return t.set(e, n), n;
4015
4015
  }
@@ -4024,7 +4024,7 @@ function YD(e) {
4024
4024
  let c = s.top, l = s.right, u = s.bottom, d = s.left;
4025
4025
  for (let f = 1; f < a.length; f++) {
4026
4026
  const h = Yg(t, a[f], o);
4027
- c = Tr(h.top, c), l = io(h.right, l), u = io(h.bottom, u), d = Tr(h.left, d);
4027
+ c = Tr(h.top, c), l = ao(h.right, l), u = ao(h.bottom, u), d = Tr(h.left, d);
4028
4028
  }
4029
4029
  return {
4030
4030
  width: l - d,
@@ -4044,7 +4044,7 @@ function KD(e) {
4044
4044
  };
4045
4045
  }
4046
4046
  function XD(e, t, r) {
4047
- const n = Gn(t), o = Tn(t), i = r === "fixed", a = ni(e, !0, i, t);
4047
+ const n = Wn(t), o = Tn(t), i = r === "fixed", a = ni(e, !0, i, t);
4048
4048
  let s = {
4049
4049
  scrollLeft: 0,
4050
4050
  scrollTop: 0
@@ -4071,7 +4071,7 @@ function Cd(e) {
4071
4071
  return un(e).position === "static";
4072
4072
  }
4073
4073
  function Kg(e, t) {
4074
- if (!Gn(e) || un(e).position === "fixed")
4074
+ if (!Wn(e) || un(e).position === "fixed")
4075
4075
  return null;
4076
4076
  if (t)
4077
4077
  return t(e);
@@ -4082,12 +4082,12 @@ function Aw(e, t) {
4082
4082
  const r = Pr(e);
4083
4083
  if (bu(e))
4084
4084
  return r;
4085
- if (!Gn(e)) {
4086
- let o = ao(e);
4085
+ if (!Wn(e)) {
4086
+ let o = so(e);
4087
4087
  for (; o && !ea(o); ) {
4088
4088
  if (ln(o) && !Cd(o))
4089
4089
  return o;
4090
- o = ao(o);
4090
+ o = so(o);
4091
4091
  }
4092
4092
  return r;
4093
4093
  }
@@ -4145,7 +4145,7 @@ function tM(e, t) {
4145
4145
  return;
4146
4146
  const v = hc(d), m = hc(o.clientWidth - (u + f)), g = hc(o.clientHeight - (d + h)), b = hc(u), x = {
4147
4147
  rootMargin: -v + "px " + -m + "px " + -g + "px " + -b + "px",
4148
- threshold: Tr(0, io(1, c)) || 1
4148
+ threshold: Tr(0, ao(1, c)) || 1
4149
4149
  };
4150
4150
  let w = !0;
4151
4151
  function S(C) {
@@ -10579,7 +10579,7 @@ const Foe = te(
10579
10579
  "aria-disabled": r,
10580
10580
  children: [
10581
10581
  /* @__PURE__ */ E("div", { className: R5({ disabled: r, toggled: n, active: o }), children: [
10582
- po(e) ? e : /* @__PURE__ */ p(e, { className: A5({ toggled: n }) }),
10582
+ Gn(e) ? e : /* @__PURE__ */ p(e, { className: A5({ toggled: n }) }),
10583
10583
  a && /* @__PURE__ */ p("div", { className: "absolute -right-3 -top-2", children: a })
10584
10584
  ] }),
10585
10585
  /* @__PURE__ */ p("span", { className: "component-400 w-full truncate text-center text-content-primary", children: t })
@@ -14192,7 +14192,7 @@ const D6 = nw(lC), uC = ({ icon: e, className: t, ...r }) => {
14192
14192
  uC.displayName = "ToggleStackButtonContent";
14193
14193
  const M6 = ({ icon: e }) => O6(e) ? /* @__PURE__ */ p(z6, { as: e }) : /* @__PURE__ */ p("span", { children: e });
14194
14194
  function O6(e) {
14195
- return !po(e);
14195
+ return !Gn(e);
14196
14196
  }
14197
14197
  const z6 = ({ as: e, className: t }) => e ? /* @__PURE__ */ p(e, { className: I("icon-size-500", t), "aria-hidden": "true" }) : null, L6 = ({ value: e, onValueChange: t, children: r, ...n }) => {
14198
14198
  const o = (i) => {
@@ -14302,15 +14302,15 @@ var Rd = "focusScope.autoFocusOnMount", Ad = "focusScope.autoFocusOnUnmount", R0
14302
14302
  let m = function(x) {
14303
14303
  if (h.paused || !s) return;
14304
14304
  const w = x.target;
14305
- s.contains(w) ? d.current = w : Yn(d.current, { select: !0 });
14305
+ s.contains(w) ? d.current = w : Kn(d.current, { select: !0 });
14306
14306
  }, g = function(x) {
14307
14307
  if (h.paused || !s) return;
14308
14308
  const w = x.relatedTarget;
14309
- w !== null && (s.contains(w) || Yn(d.current, { select: !0 }));
14309
+ w !== null && (s.contains(w) || Kn(d.current, { select: !0 }));
14310
14310
  }, b = function(x) {
14311
14311
  if (document.activeElement === document.body)
14312
14312
  for (const S of x)
14313
- S.removedNodes.length > 0 && Yn(s);
14313
+ S.removedNodes.length > 0 && Kn(s);
14314
14314
  };
14315
14315
  document.addEventListener("focusin", m), document.addEventListener("focusout", g);
14316
14316
  const y = new MutationObserver(b);
@@ -14324,12 +14324,12 @@ var Rd = "focusScope.autoFocusOnMount", Ad = "focusScope.autoFocusOnUnmount", R0
14324
14324
  const m = document.activeElement;
14325
14325
  if (!s.contains(m)) {
14326
14326
  const b = new CustomEvent(Rd, R0);
14327
- s.addEventListener(Rd, l), s.dispatchEvent(b), b.defaultPrevented || (F6(U6(dC(s)), { select: !0 }), document.activeElement === m && Yn(s));
14327
+ s.addEventListener(Rd, l), s.dispatchEvent(b), b.defaultPrevented || (F6(U6(dC(s)), { select: !0 }), document.activeElement === m && Kn(s));
14328
14328
  }
14329
14329
  return () => {
14330
14330
  s.removeEventListener(Rd, l), setTimeout(() => {
14331
14331
  const b = new CustomEvent(Ad, R0);
14332
- s.addEventListener(Ad, u), s.dispatchEvent(b), b.defaultPrevented || Yn(m ?? document.body, { select: !0 }), s.removeEventListener(Ad, u), I0.remove(h);
14332
+ s.addEventListener(Ad, u), s.dispatchEvent(b), b.defaultPrevented || Kn(m ?? document.body, { select: !0 }), s.removeEventListener(Ad, u), I0.remove(h);
14333
14333
  }, 0);
14334
14334
  };
14335
14335
  }
@@ -14340,7 +14340,7 @@ var Rd = "focusScope.autoFocusOnMount", Ad = "focusScope.autoFocusOnUnmount", R0
14340
14340
  const g = m.key === "Tab" && !m.altKey && !m.ctrlKey && !m.metaKey, b = document.activeElement;
14341
14341
  if (g && b) {
14342
14342
  const y = m.currentTarget, [x, w] = $6(y);
14343
- x && w ? !m.shiftKey && b === w ? (m.preventDefault(), r && Yn(x, { select: !0 })) : m.shiftKey && b === x && (m.preventDefault(), r && Yn(w, { select: !0 })) : b === y && m.preventDefault();
14343
+ x && w ? !m.shiftKey && b === w ? (m.preventDefault(), r && Kn(x, { select: !0 })) : m.shiftKey && b === x && (m.preventDefault(), r && Kn(w, { select: !0 })) : b === y && m.preventDefault();
14344
14344
  }
14345
14345
  },
14346
14346
  [r, n, h.paused]
@@ -14351,7 +14351,7 @@ Gs.displayName = V6;
14351
14351
  function F6(e, { select: t = !1 } = {}) {
14352
14352
  const r = document.activeElement;
14353
14353
  for (const n of e)
14354
- if (Yn(n, { select: t }), document.activeElement !== r) return;
14354
+ if (Kn(n, { select: t }), document.activeElement !== r) return;
14355
14355
  }
14356
14356
  function $6(e) {
14357
14357
  const t = dC(e), r = A0(t, e), n = A0(t.reverse(), e);
@@ -14383,7 +14383,7 @@ function j6(e, { upTo: t }) {
14383
14383
  function G6(e) {
14384
14384
  return e instanceof HTMLInputElement && "select" in e;
14385
14385
  }
14386
- function Yn(e, { select: t = !1 } = {}) {
14386
+ function Kn(e, { select: t = !1 } = {}) {
14387
14387
  if (e && e.focus) {
14388
14388
  const r = document.activeElement;
14389
14389
  e.focus({ preventScroll: !0 }), e !== r && G6(e) && t && e.select();
@@ -15733,7 +15733,7 @@ typeof process < "u" && ((rw = process.env) == null ? void 0 : rw.NODE_ENV) !==
15733
15733
  if (!e)
15734
15734
  throw new Error(ep(t, r));
15735
15735
  });
15736
- const so = {}, xN = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
15736
+ const co = {}, xN = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
15737
15737
  function wN(e) {
15738
15738
  return typeof e == "object" && e !== null;
15739
15739
  }
@@ -15880,7 +15880,7 @@ function ON(e, t) {
15880
15880
  timestamp: 0,
15881
15881
  isProcessing: !1
15882
15882
  }, i = () => r = !0, a = Ec.reduce((x, w) => (x[w] = $F(i), x), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: h, postRender: v } = a, m = () => {
15883
- const x = so.useManualTiming, w = x ? o.timestamp : performance.now();
15883
+ const x = co.useManualTiming, w = x ? o.timestamp : performance.now();
15884
15884
  r = !1, x || (o.delta = n ? 1e3 / 60 : Math.max(Math.min(w - o.timestamp, jF), 1)), o.timestamp = w, o.isProcessing = !0, s.process(o), c.process(o), l.process(o), u.process(o), d.process(o), f.process(o), h.process(o), v.process(o), o.isProcessing = !1, r && t && (n = !1, e(m));
15885
15885
  }, g = () => {
15886
15886
  r = !0, n = !0, o.isProcessing || e(m);
@@ -15893,13 +15893,13 @@ function ON(e, t) {
15893
15893
  a[Ec[w]].cancel(x);
15894
15894
  }, state: o, steps: a };
15895
15895
  }
15896
- const { schedule: ot, cancel: co, state: Ht, steps: zd } = /* @__PURE__ */ ON(typeof requestAnimationFrame < "u" ? requestAnimationFrame : $r, !0);
15896
+ const { schedule: ot, cancel: lo, state: Ht, steps: zd } = /* @__PURE__ */ ON(typeof requestAnimationFrame < "u" ? requestAnimationFrame : $r, !0);
15897
15897
  let ol;
15898
15898
  function GF() {
15899
15899
  ol = void 0;
15900
15900
  }
15901
15901
  const pr = {
15902
- now: () => (ol === void 0 && pr.set(Ht.isProcessing || so.useManualTiming ? Ht.timestamp : performance.now()), ol),
15902
+ now: () => (ol === void 0 && pr.set(Ht.isProcessing || co.useManualTiming ? Ht.timestamp : performance.now()), ol),
15903
15903
  set: (e) => {
15904
15904
  ol = e, queueMicrotask(GF);
15905
15905
  }
@@ -15956,7 +15956,7 @@ const tp = {
15956
15956
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
15957
15957
  parse: parseFloat,
15958
15958
  transform: (t) => `${t}${e}`
15959
- }), Kn = /* @__PURE__ */ Ks("deg"), Nn = /* @__PURE__ */ Ks("%"), ve = /* @__PURE__ */ Ks("px"), KF = /* @__PURE__ */ Ks("vh"), XF = /* @__PURE__ */ Ks("vw"), W0 = {
15959
+ }), Xn = /* @__PURE__ */ Ks("deg"), Nn = /* @__PURE__ */ Ks("%"), ve = /* @__PURE__ */ Ks("px"), KF = /* @__PURE__ */ Ks("vh"), XF = /* @__PURE__ */ Ks("vw"), W0 = {
15960
15960
  ...Nn,
15961
15961
  parse: (e) => Nn.parse(e) / 100,
15962
15962
  transform: (e) => Nn.transform(e * 100)
@@ -16103,7 +16103,7 @@ const v8 = (e) => {
16103
16103
  const t = ({ timestamp: r }) => e(r);
16104
16104
  return {
16105
16105
  start: (r = !0) => ot.update(t, r),
16106
- stop: () => co(t),
16106
+ stop: () => lo(t),
16107
16107
  /**
16108
16108
  * If we're processing this frame we can use the
16109
16109
  * framelocked timestamp to keep things in sync.
@@ -16340,7 +16340,7 @@ function op({ keyframes: e, velocity: t = 0, power: r = 0.8, timeConstant: n = 3
16340
16340
  };
16341
16341
  }
16342
16342
  function E8(e, t, r) {
16343
- const n = [], o = r || so.mix || GN, i = e.length - 1;
16343
+ const n = [], o = r || co.mix || GN, i = e.length - 1;
16344
16344
  for (let a = 0; a < i; a++) {
16345
16345
  let s = o(e[a], e[a + 1]);
16346
16346
  if (t) {
@@ -16666,7 +16666,7 @@ function $8(e) {
16666
16666
  n !== void 0 && (t.push([r, n.get()]), n.set(r.startsWith("scale") ? 1 : 0));
16667
16667
  }), t;
16668
16668
  }
16669
- const Jn = {
16669
+ const Qn = {
16670
16670
  // Dimensions
16671
16671
  width: ({ x: e }, { paddingLeft: t = "0", paddingRight: r = "0", boxSizing: n }) => {
16672
16672
  const o = e.max - e.min;
@@ -16684,8 +16684,8 @@ const Jn = {
16684
16684
  x: (e, { transform: t }) => cp(t, "x"),
16685
16685
  y: (e, { transform: t }) => cp(t, "y")
16686
16686
  };
16687
- Jn.translateX = Jn.x;
16688
- Jn.translateY = Jn.y;
16687
+ Qn.translateX = Qn.x;
16688
+ Qn.translateY = Qn.y;
16689
16689
  const Qo = /* @__PURE__ */ new Set();
16690
16690
  let lp = !1, up = !1, dp = !1;
16691
16691
  function qN() {
@@ -17039,7 +17039,7 @@ class i$ extends Bm {
17039
17039
  const { name: i, type: a, velocity: s, delay: c, isHandoff: l, onUpdate: u } = n;
17040
17040
  this.resolvedAt = pr.now();
17041
17041
  let d = !0;
17042
- J8(t, i, a, s) || (d = !1, (so.instantAnimations || !c) && (u == null || u($u(t, n, r))), t[0] = t[t.length - 1], fp(n), n.repeat = 0);
17042
+ J8(t, i, a, s) || (d = !1, (co.instantAnimations || !c) && (u == null || u($u(t, n, r))), t[0] = t[t.length - 1], fp(n), n.repeat = 0);
17043
17043
  const h = {
17044
17044
  startTime: o ? this.resolvedAt ? this.resolvedAt - this.createdAt > o$ ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
17045
17045
  finalKeyframe: r,
@@ -17211,7 +17211,7 @@ const $m = (e, t, r, n = {}, o, i) => (a) => {
17211
17211
  };
17212
17212
  m$(s) || Object.assign(u, p$(e, u)), u.duration && (u.duration = /* @__PURE__ */ Nr(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ Nr(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
17213
17213
  let d = !1;
17214
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (fp(u), u.delay === 0 && (d = !0)), (so.instantAnimations || so.skipAnimations || o != null && o.shouldSkipAnimations) && (d = !0, fp(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !i && t.get() !== void 0) {
17214
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (fp(u), u.delay === 0 && (d = !0)), (co.instantAnimations || co.skipAnimations || o != null && o.shouldSkipAnimations) && (d = !0, fp(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !i && t.get() !== void 0) {
17215
17215
  const f = $u(u.keyframes, s);
17216
17216
  if (f !== void 0) {
17217
17217
  ot.update(() => {
@@ -17481,8 +17481,8 @@ function hp(e, t) {
17481
17481
  const r = e.getValue("willChange");
17482
17482
  if (w$(r))
17483
17483
  return r.add(t);
17484
- if (!r && so.WillChange) {
17485
- const n = new so.WillChange("auto");
17484
+ if (!r && co.WillChange) {
17485
+ const n = new co.WillChange("auto");
17486
17486
  e.addValue("willChange", n), n.add(t);
17487
17487
  }
17488
17488
  }
@@ -17581,7 +17581,7 @@ function E$(e, t, r = {}) {
17581
17581
  const k$ = {
17582
17582
  test: (e) => e === "auto",
17583
17583
  parse: (e) => e
17584
- }, uE = (e) => (t) => t.test(e), dE = [xa, ve, Nn, Kn, XF, KF, k$], nb = (e) => dE.find(uE(e));
17584
+ }, uE = (e) => (t) => t.test(e), dE = [xa, ve, Nn, Xn, XF, KF, k$], nb = (e) => dE.find(uE(e));
17585
17585
  function _$(e) {
17586
17586
  return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || SN(e) : !0;
17587
17587
  }
@@ -17613,17 +17613,17 @@ const R$ = /\b([a-z-]*)\(.*?\)/gu, vp = {
17613
17613
  ...xa,
17614
17614
  transform: Math.round
17615
17615
  }, A$ = {
17616
- rotate: Kn,
17617
- rotateX: Kn,
17618
- rotateY: Kn,
17619
- rotateZ: Kn,
17616
+ rotate: Xn,
17617
+ rotateX: Xn,
17618
+ rotateY: Xn,
17619
+ rotateZ: Xn,
17620
17620
  scale: kc,
17621
17621
  scaleX: kc,
17622
17622
  scaleY: kc,
17623
17623
  scaleZ: kc,
17624
- skew: Kn,
17625
- skewX: Kn,
17626
- skewY: Kn,
17624
+ skew: Xn,
17625
+ skewX: Xn,
17626
+ skewY: Xn,
17627
17627
  distance: ve,
17628
17628
  translateX: ve,
17629
17629
  translateY: ve,
@@ -17752,7 +17752,7 @@ class z$ extends Vm {
17752
17752
  if (this.resolveNoneKeyframes(), !aE.has(n) || t.length !== 2)
17753
17753
  return;
17754
17754
  const [o, i] = t, a = nb(o), s = nb(i), c = G0(o), l = G0(i);
17755
- if (c !== l && Jn[n]) {
17755
+ if (c !== l && Qn[n]) {
17756
17756
  this.needsMeasurement = !0;
17757
17757
  return;
17758
17758
  }
@@ -17762,7 +17762,7 @@ class z$ extends Vm {
17762
17762
  const d = t[u];
17763
17763
  typeof d == "string" && (t[u] = parseFloat(d));
17764
17764
  }
17765
- else Jn[n] && (this.needsMeasurement = !0);
17765
+ else Qn[n] && (this.needsMeasurement = !0);
17766
17766
  }
17767
17767
  resolveNoneKeyframes() {
17768
17768
  const { unresolvedKeyframes: t, name: r } = this, n = [];
@@ -17774,7 +17774,7 @@ class z$ extends Vm {
17774
17774
  const { element: t, unresolvedKeyframes: r, name: n } = this;
17775
17775
  if (!t || !t.current)
17776
17776
  return;
17777
- n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Jn[n](t.measureViewportBox(), window.getComputedStyle(t.current)), r[0] = this.measuredOrigin;
17777
+ n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Qn[n](t.measureViewportBox(), window.getComputedStyle(t.current)), r[0] = this.measuredOrigin;
17778
17778
  const o = r[r.length - 1];
17779
17779
  o !== void 0 && t.getValue(n, o).jump(o, !1);
17780
17780
  }
@@ -17786,7 +17786,7 @@ class z$ extends Vm {
17786
17786
  const o = t.getValue(r);
17787
17787
  o && o.jump(this.measuredOrigin, !1);
17788
17788
  const i = n.length - 1, a = n[i];
17789
- n[i] = Jn[r](t.measureViewportBox(), window.getComputedStyle(t.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), (s = this.removedTransforms) != null && s.length && this.removedTransforms.forEach(([c, l]) => {
17789
+ n[i] = Qn[r](t.measureViewportBox(), window.getComputedStyle(t.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), (s = this.removedTransforms) != null && s.length && this.removedTransforms.forEach(([c, l]) => {
17790
17790
  t.getValue(c).set(l);
17791
17791
  }), this.resolveNoneKeyframes();
17792
17792
  }
@@ -17927,7 +17927,7 @@ function qm(e) {
17927
17927
  return wN(e) && "ownerSVGElement" in e;
17928
17928
  }
17929
17929
  const sl = /* @__PURE__ */ new WeakMap();
17930
- let Xn;
17930
+ let Jn;
17931
17931
  const yE = (e, t, r) => (n, o) => o && o[0] ? o[0][e + "Size"] : qm(n) && "getBBox" in n ? n.getBBox()[t] : n[r], H$ = /* @__PURE__ */ yE("inline", "width", "offsetWidth"), q$ = /* @__PURE__ */ yE("block", "height", "offsetHeight");
17932
17932
  function Z$({ target: e, borderBoxSize: t }) {
17933
17933
  var r;
@@ -17946,18 +17946,18 @@ function Y$(e) {
17946
17946
  e.forEach(Z$);
17947
17947
  }
17948
17948
  function K$() {
17949
- typeof ResizeObserver > "u" || (Xn = new ResizeObserver(Y$));
17949
+ typeof ResizeObserver > "u" || (Jn = new ResizeObserver(Y$));
17950
17950
  }
17951
17951
  function X$(e, t) {
17952
- Xn || K$();
17952
+ Jn || K$();
17953
17953
  const r = hE(e);
17954
17954
  return r.forEach((n) => {
17955
17955
  let o = sl.get(n);
17956
- o || (o = /* @__PURE__ */ new Set(), sl.set(n, o)), o.add(t), Xn == null || Xn.observe(n);
17956
+ o || (o = /* @__PURE__ */ new Set(), sl.set(n, o)), o.add(t), Jn == null || Jn.observe(n);
17957
17957
  }), () => {
17958
17958
  r.forEach((n) => {
17959
17959
  const o = sl.get(n);
17960
- o == null || o.delete(t), o != null && o.size || Xn == null || Xn.unobserve(n);
17960
+ o == null || o.delete(t), o != null && o.size || Jn == null || Jn.unobserve(n);
17961
17961
  });
17962
17962
  };
17963
17963
  }
@@ -18100,7 +18100,7 @@ class cj {
18100
18100
  }
18101
18101
  unmount() {
18102
18102
  var t;
18103
- this.projection && this.projection.unmount(), co(this.notifyUpdate), co(this.render), this.valueSubscriptions.forEach((r) => r()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), (t = this.parent) == null || t.removeChild(this);
18103
+ this.projection && this.projection.unmount(), lo(this.notifyUpdate), lo(this.render), this.valueSubscriptions.forEach((r) => r()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), (t = this.parent) == null || t.removeChild(this);
18104
18104
  for (const r in this.events)
18105
18105
  this.events[r].clear();
18106
18106
  for (const r in this.features) {
@@ -18943,9 +18943,9 @@ class Zj {
18943
18943
  function Yj(e, t) {
18944
18944
  const r = pr.now(), n = ({ timestamp: o }) => {
18945
18945
  const i = o - r;
18946
- i >= t && (co(n), e(i - t));
18946
+ i >= t && (lo(n), e(i - t));
18947
18947
  };
18948
- return ot.setup(n, !0), () => co(n);
18948
+ return ot.setup(n, !0), () => lo(n);
18949
18949
  }
18950
18950
  function ul(e) {
18951
18951
  return qt(e) ? e.get() : e;
@@ -19096,7 +19096,7 @@ function GE({ attachResizeListener: e, defaultParent: t, measureScroll: r, check
19096
19096
  unmount() {
19097
19097
  this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
19098
19098
  const a = this.getStack();
19099
- a && a.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), co(this.updateProjection);
19099
+ a && a.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), lo(this.updateProjection);
19100
19100
  }
19101
19101
  // only on the root
19102
19102
  blockUpdate() {
@@ -19350,7 +19350,7 @@ function GE({ attachResizeListener: e, defaultParent: t, measureScroll: r, check
19350
19350
  }
19351
19351
  startAnimation(a) {
19352
19352
  var s, c, l;
19353
- this.notifyListeners("animationStart"), (s = this.currentAnimation) == null || s.stop(), (l = (c = this.resumingFrom) == null ? void 0 : c.currentAnimation) == null || l.stop(), this.pendingAnimation && (co(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = ot.update(() => {
19353
+ this.notifyListeners("animationStart"), (s = this.currentAnimation) == null || s.stop(), (l = (c = this.resumingFrom) == null ? void 0 : c.currentAnimation) == null || l.stop(), this.pendingAnimation && (lo(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = ot.update(() => {
19354
19354
  dl.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = na(0)), this.motionValue.jump(0, !1), this.currentAnimation = Hj(this.motionValue, [0, 1e3], {
19355
19355
  ...a,
19356
19356
  velocity: 0,
@@ -19759,10 +19759,10 @@ const _c = (e) => e.key || "";
19759
19759
  function Wb(e) {
19760
19760
  const t = [];
19761
19761
  return Qi.forEach(e, (r) => {
19762
- po(r) && t.push(r);
19762
+ Gn(r) && t.push(r);
19763
19763
  }), t;
19764
19764
  }
19765
- const Wn = ({ children: e, custom: t, initial: r = !0, onExitComplete: n, presenceAffectsLayout: o = !0, mode: i = "sync", propagate: a = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
19765
+ const Un = ({ children: e, custom: t, initial: r = !0, onExitComplete: n, presenceAffectsLayout: o = !0, mode: i = "sync", propagate: a = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
19766
19766
  const [u, d] = HE(a), f = me(() => Wb(e), [e]), h = a && !u ? [] : f.map(_c), v = pe(!0), m = pe(f), g = _m(() => /* @__PURE__ */ new Map()), b = pe(/* @__PURE__ */ new Set()), [y, x] = Fe(f), [w, S] = Fe(f);
19767
19767
  yN(() => {
19768
19768
  v.current = !1, m.current = f;
@@ -20360,7 +20360,7 @@ class rk {
20360
20360
  this.handlers = t;
20361
20361
  }
20362
20362
  end() {
20363
- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), co(this.updatePoint);
20363
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), lo(this.updatePoint);
20364
20364
  }
20365
20365
  }
20366
20366
  function Tc(e, t) {
@@ -22924,7 +22924,7 @@ const xk = te(
22924
22924
  }), u = n ? bN : br;
22925
22925
  return /* @__PURE__ */ E(PF, { open: c, onOpenChange: l, children: [
22926
22926
  /* @__PURE__ */ p(RF, { asChild: !0, children: /* @__PURE__ */ p(xk, { ...e }) }),
22927
- /* @__PURE__ */ p(Wn, { children: c && /* @__PURE__ */ p(
22927
+ /* @__PURE__ */ p(Un, { children: c && /* @__PURE__ */ p(
22928
22928
  u,
22929
22929
  {
22930
22930
  ...n ? { forceMount: !0 } : {},
@@ -22957,7 +22957,7 @@ const xk = te(
22957
22957
  });
22958
22958
  return /* @__PURE__ */ E(NF, { onOpenChange: u, modal: o, children: [
22959
22959
  /* @__PURE__ */ p(EF, { asChild: !0, disabled: a, children: t }),
22960
- /* @__PURE__ */ p(Wn, { children: l && /* @__PURE__ */ p(
22960
+ /* @__PURE__ */ p(Un, { children: l && /* @__PURE__ */ p(
22961
22961
  e ? bN : br,
22962
22962
  {
22963
22963
  ...e ? { forceMount: !0 } : {},
@@ -23284,7 +23284,7 @@ const AU = ({
23284
23284
  }), u = n ? Lk : br;
23285
23285
  return /* @__PURE__ */ E(TU, { open: c, onOpenChange: l, children: [
23286
23286
  /* @__PURE__ */ p(PU, { asChild: !0, children: /* @__PURE__ */ p(xk, { ...e }) }),
23287
- /* @__PURE__ */ p(Wn, { children: c && /* @__PURE__ */ p(
23287
+ /* @__PURE__ */ p(Un, { children: c && /* @__PURE__ */ p(
23288
23288
  u,
23289
23289
  {
23290
23290
  ...n ? { forceMount: !0 } : {},
@@ -23331,7 +23331,7 @@ const AU = ({
23331
23331
  children: a
23332
23332
  }
23333
23333
  ),
23334
- /* @__PURE__ */ p(Wn, { children: h && /* @__PURE__ */ p(
23334
+ /* @__PURE__ */ p(Un, { children: h && /* @__PURE__ */ p(
23335
23335
  n ? Lk : br,
23336
23336
  {
23337
23337
  ...n ? { forceMount: !0 } : {},
@@ -23720,7 +23720,7 @@ const YU = ({ children: e }) => /* @__PURE__ */ p("div", { className: "misc-drop
23720
23720
  }, [y]);
23721
23721
  return /* @__PURE__ */ E(UU, { open: x, onOpenChange: w, modal: r, children: [
23722
23722
  /* @__PURE__ */ p(HU, { asChild: !0, children: s }),
23723
- /* @__PURE__ */ p(Wn, { children: x && /* @__PURE__ */ p(
23723
+ /* @__PURE__ */ p(Un, { children: x && /* @__PURE__ */ p(
23724
23724
  S,
23725
23725
  {
23726
23726
  ...i ? { forceMount: !0 } : {},
@@ -26989,7 +26989,7 @@ var Lq = typeof window < "u" ? hi : Be, Bq = function() {
26989
26989
  }, equal: Oq }, jq = function(e) {
26990
26990
  return W.createElement(Fq, Qu({}, e, { colorModel: $q }));
26991
26991
  };
26992
- function Un({ invalid: e, children: t }) {
26992
+ function Hn({ invalid: e, children: t }) {
26993
26993
  return /* @__PURE__ */ p(
26994
26994
  "span",
26995
26995
  {
@@ -27083,7 +27083,7 @@ const mn = ({
27083
27083
  children: n
27084
27084
  }
27085
27085
  ),
27086
- t && /* @__PURE__ */ p(Un, { invalid: i, children: t })
27086
+ t && /* @__PURE__ */ p(Hn, { invalid: i, children: t })
27087
27087
  ] })
27088
27088
  );
27089
27089
  eT.displayName = "SelectField";
@@ -27296,7 +27296,7 @@ const qq = (e) => !e || e.length !== 7 ? !1 : Bt(e).isValid(), Dc = (e) => `#${e
27296
27296
  disabled: !1
27297
27297
  }
27298
27298
  }
27299
- ), ro = te(
27299
+ ), no = te(
27300
27300
  ({
27301
27301
  label: e,
27302
27302
  density: t = "default",
@@ -27425,7 +27425,7 @@ const qq = (e) => !e || e.length !== 7 ? !1 : Bt(e).isValid(), Dc = (e) => `#${e
27425
27425
  ) });
27426
27426
  }
27427
27427
  );
27428
- ro.displayName = "NumberField";
27428
+ no.displayName = "NumberField";
27429
27429
  const rZ = ({ color: e, onChange: t, label: r }) => {
27430
27430
  const n = Bt(e).toHsl(), o = pe(e);
27431
27431
  o.current = e;
@@ -27438,7 +27438,7 @@ const rZ = ({ color: e, onChange: t, label: r }) => {
27438
27438
  );
27439
27439
  return /* @__PURE__ */ E("fieldset", { className: "grid flex-1 grid-cols-3 gap-2", "aria-label": r, children: [
27440
27440
  /* @__PURE__ */ p(
27441
- ro,
27441
+ no,
27442
27442
  {
27443
27443
  value: n.h,
27444
27444
  min: 0,
@@ -27449,7 +27449,7 @@ const rZ = ({ color: e, onChange: t, label: r }) => {
27449
27449
  }
27450
27450
  ),
27451
27451
  /* @__PURE__ */ p(
27452
- ro,
27452
+ no,
27453
27453
  {
27454
27454
  value: n.s,
27455
27455
  min: 0,
@@ -27460,7 +27460,7 @@ const rZ = ({ color: e, onChange: t, label: r }) => {
27460
27460
  }
27461
27461
  ),
27462
27462
  /* @__PURE__ */ p(
27463
- ro,
27463
+ no,
27464
27464
  {
27465
27465
  value: n.l,
27466
27466
  min: 0,
@@ -27483,7 +27483,7 @@ const rZ = ({ color: e, onChange: t, label: r }) => {
27483
27483
  );
27484
27484
  return /* @__PURE__ */ E("fieldset", { className: "grid flex-1 grid-cols-3 gap-2", "aria-label": r, children: [
27485
27485
  /* @__PURE__ */ p(
27486
- ro,
27486
+ no,
27487
27487
  {
27488
27488
  value: n.r,
27489
27489
  min: 0,
@@ -27494,7 +27494,7 @@ const rZ = ({ color: e, onChange: t, label: r }) => {
27494
27494
  }
27495
27495
  ),
27496
27496
  /* @__PURE__ */ p(
27497
- ro,
27497
+ no,
27498
27498
  {
27499
27499
  value: n.g,
27500
27500
  min: 0,
@@ -27505,7 +27505,7 @@ const rZ = ({ color: e, onChange: t, label: r }) => {
27505
27505
  }
27506
27506
  ),
27507
27507
  /* @__PURE__ */ p(
27508
- ro,
27508
+ no,
27509
27509
  {
27510
27510
  value: n.b,
27511
27511
  min: 0,
@@ -28354,7 +28354,7 @@ function dn(e) {
28354
28354
  function $t(e) {
28355
28355
  return Array.isArray(e);
28356
28356
  }
28357
- function Hn(e) {
28357
+ function qn(e) {
28358
28358
  return typeof e === xZ;
28359
28359
  }
28360
28360
  function ys(e) {
@@ -28399,7 +28399,7 @@ function kZ(e, t, r, n, o) {
28399
28399
  return -1;
28400
28400
  }
28401
28401
  function Tv(e, t) {
28402
- var r = Hn(t) ? {
28402
+ var r = qn(t) ? {
28403
28403
  separator: t
28404
28404
  } : t, n = r.separator, o = n === void 0 ? "," : n, i = r.isSeparateFirst, a = r.isSeparateOnlyOpenClose, s = r.isSeparateOpenClose, c = s === void 0 ? a : s, l = r.openCloseCharacters, u = l === void 0 ? CZ : l, d = u.map(function(k) {
28405
28405
  var _ = k.open, T = k.close;
@@ -28442,7 +28442,7 @@ function Tv(e, t) {
28442
28442
  }
28443
28443
  return b.length && g.push(b.join("")), g;
28444
28444
  }
28445
- function lo(e) {
28445
+ function uo(e) {
28446
28446
  return Tv(e, "");
28447
28447
  }
28448
28448
  function Ko(e) {
@@ -28618,7 +28618,7 @@ function Rv(e) {
28618
28618
  function Io(e) {
28619
28619
  return Pv(e).body;
28620
28620
  }
28621
- function no(e) {
28621
+ function oo(e) {
28622
28622
  var t;
28623
28623
  return ((t = e == null ? void 0 : e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView) || window;
28624
28624
  }
@@ -28849,7 +28849,7 @@ function Oi(e) {
28849
28849
  }
28850
28850
  function aa(e, t) {
28851
28851
  t === void 0 && (t = 0);
28852
- var r = $t(e) ? e : lo(e);
28852
+ var r = $t(e) ? e : uo(e);
28853
28853
  return r.map(function(n) {
28854
28854
  var o = gT(n), i = o.prefix, a = o.value, s = null, c = i, l = "";
28855
28855
  if (i === "translate" || i === "translateX" || i === "translate3d") {
@@ -29214,7 +29214,7 @@ function Dy(e, t) {
29214
29214
  }
29215
29215
  function Lc(e) {
29216
29216
  if (e) {
29217
- if (Hn(e))
29217
+ if (qn(e))
29218
29218
  return document.querySelector(e);
29219
29219
  } else return null;
29220
29220
  if (kv(e))
@@ -29810,13 +29810,13 @@ var af = /* @__PURE__ */ function() {
29810
29810
  }, o._passCallback = function() {
29811
29811
  };
29812
29812
  var i = [].concat(r), a = i[0];
29813
- o._window = ST(a) ? a : no(a), o.options = Nt({ checkInput: !1, container: a && !("document" in a) ? no(a) : a, preventRightClick: !0, preventWheelClick: !0, preventClickEventOnDragStart: !1, preventClickEventOnDrag: !1, preventClickEventByCondition: null, preventDefault: !0, checkWindowBlur: !1, keepDragging: !1, pinchThreshold: 0, events: ["touch", "mouse"] }, n);
29813
+ o._window = ST(a) ? a : oo(a), o.options = Nt({ checkInput: !1, container: a && !("document" in a) ? oo(a) : a, preventRightClick: !0, preventWheelClick: !0, preventClickEventOnDragStart: !1, preventClickEventOnDrag: !1, preventClickEventByCondition: null, preventDefault: !0, checkWindowBlur: !1, keepDragging: !1, pinchThreshold: 0, events: ["touch", "mouse"] }, n);
29814
29814
  var s = o.options, c = s.container, l = s.events, u = s.checkWindowBlur;
29815
29815
  if (o._useDrag = l.indexOf("drag") > -1, o._useTouch = l.indexOf("touch") > -1, o._useMouse = l.indexOf("mouse") > -1, o.targets = i, o._useDrag && i.forEach(function(f) {
29816
29816
  Qt(f, "dragstart", o.onDragStart);
29817
29817
  }), o._useMouse && (i.forEach(function(f) {
29818
29818
  Qt(f, "mousedown", o.onDragStart), Qt(f, "mousemove", o._passCallback);
29819
- }), Qt(c, "contextmenu", o._onContextMenu)), u && Qt(no(), "blur", o.onBlur), o._useTouch) {
29819
+ }), Qt(c, "contextmenu", o._onContextMenu)), u && Qt(oo(), "blur", o.onBlur), o._useTouch) {
29820
29820
  var d = {
29821
29821
  passive: !1
29822
29822
  };
@@ -30476,7 +30476,7 @@ function ic(e, t, r, n) {
30476
30476
  }
30477
30477
  function HY(e, t, r, n) {
30478
30478
  var o = e.transformOrigin, i = e.offsetMatrix, a = e.is3d, s = a ? 4 : 3, c;
30479
- if (Hn(r)) {
30479
+ if (qn(r)) {
30480
30480
  var l = t.beforeTransform, u = t.afterTransform;
30481
30481
  n ? c = fn(ws(r), 4, s) : c = fn(rt(rt(l, ws([r]), 4), u, 4), 4, s);
30482
30482
  } else
@@ -30491,7 +30491,7 @@ function rd(e, t) {
30491
30491
  var r = ka(t);
30492
30492
  return {
30493
30493
  setTransform: function(n, o) {
30494
- o === void 0 && (o = -1), r.startTransforms = $t(n) ? n : lo(n), Qp(e, t, o);
30494
+ o === void 0 && (o = -1), r.startTransforms = $t(n) ? n : uo(n), Qp(e, t, o);
30495
30495
  },
30496
30496
  setTransformIndex: function(n) {
30497
30497
  Qp(e, t, n);
@@ -30523,7 +30523,7 @@ function Qp(e, t, r) {
30523
30523
  }
30524
30524
  function Fv(e, t) {
30525
30525
  var r = ka(e);
30526
- r.nextTransforms = lo(t);
30526
+ r.nextTransforms = uo(t);
30527
30527
  }
30528
30528
  function ka(e) {
30529
30529
  return e.originalDatas.beforeRenderable;
@@ -30711,7 +30711,7 @@ function oK(e, t) {
30711
30711
  function kr(e) {
30712
30712
  var t = Go == null ? void 0 : Go.get(e);
30713
30713
  if (!t) {
30714
- var r = no(e).getComputedStyle(e);
30714
+ var r = oo(e).getComputedStyle(e);
30715
30715
  if (!Go)
30716
30716
  return function(i) {
30717
30717
  return r[i];
@@ -30973,11 +30973,11 @@ var lK = ["left", "right", "center"], uK = ["top", "bottom", "middle"], Fy = {
30973
30973
  top: "start",
30974
30974
  bottom: "end",
30975
30975
  middle: "center"
30976
- }, uo = {
30976
+ }, fo = {
30977
30977
  start: "left",
30978
30978
  end: "right",
30979
30979
  center: "center"
30980
- }, fo = {
30980
+ }, po = {
30981
30981
  start: "top",
30982
30982
  end: "bottom",
30983
30983
  center: "middle"
@@ -31087,16 +31087,16 @@ function hK(e, t, r) {
31087
31087
  horizontal: m
31088
31088
  };
31089
31089
  }
31090
- function Qn(e) {
31090
+ function eo(e) {
31091
31091
  var t = "";
31092
31092
  return e === -1 || e === "top" || e === "left" ? t = "start" : e === 0 || e === "center" || e === "middle" ? t = "center" : (e === 1 || e === "right" || e === "bottom") && (t = "end"), t;
31093
31093
  }
31094
31094
  function $y(e, t, r, n) {
31095
31095
  var o = Wv(e.props.snapDirections, t), i = id(e, o.vertical, o.horizontal, o.verticalNames.map(function(c) {
31096
- return Qn(c);
31096
+ return eo(c);
31097
31097
  }), o.horizontalNames.map(function(c) {
31098
- return Qn(c);
31099
- }), r, n), a = Qn(o.horizontalNames[i.horizontal.index]), s = Qn(o.verticalNames[i.vertical.index]);
31098
+ return eo(c);
31099
+ }), r, n), a = eo(o.horizontalNames[i.horizontal.index]), s = eo(o.verticalNames[i.vertical.index]);
31100
31100
  return {
31101
31101
  vertical: j(j({}, i.vertical), { direction: s }),
31102
31102
  horizontal: j(j({}, i.horizontal), { direction: a })
@@ -31196,12 +31196,12 @@ function mK(e, t, r, n, o) {
31196
31196
  }), c = a.map(function(f) {
31197
31197
  return f[1];
31198
31198
  }), l = id(e, s, c, i.map(function(f) {
31199
- return Qn(f[0]);
31199
+ return eo(f[0]);
31200
31200
  }), i.map(function(f) {
31201
- return Qn(f[1]);
31202
- }), n, o), u = Qn(i.map(function(f) {
31201
+ return eo(f[1]);
31202
+ }), n, o), u = eo(i.map(function(f) {
31203
31203
  return f[0];
31204
- })[l.vertical.index]), d = Qn(i.map(function(f) {
31204
+ })[l.vertical.index]), d = eo(i.map(function(f) {
31205
31205
  return f[1];
31206
31206
  })[l.horizontal.index]);
31207
31207
  return {
@@ -31326,7 +31326,7 @@ function gK(e, t) {
31326
31326
  isHorizontalBound: !1,
31327
31327
  offset: [0, 0]
31328
31328
  };
31329
- var g = eo(r, a, h, o), b = eo(r, a, m, o), y = eo(r, a, f, i), x = eo(r, a, v, i), w = g.isBound && b.isBound, S = g.isBound || b.isBound, C = y.isBound && x.isBound, k = y.isBound || x.isBound, _ = la(g.offset, b.offset), T = la(y.offset, x.offset), P = [0, 0], D = !1, A = !1;
31329
+ var g = to(r, a, h, o), b = to(r, a, m, o), y = to(r, a, f, i), x = to(r, a, v, i), w = g.isBound && b.isBound, S = g.isBound || b.isBound, C = y.isBound && x.isBound, k = y.isBound || x.isBound, _ = la(g.offset, b.offset), T = la(y.offset, x.offset), P = [0, 0], D = !1, A = !1;
31330
31330
  return ie(T) < ie(_) ? (P = [_, 0], D = S, A = w) : (P = [0, T], D = k, A = C), {
31331
31331
  isAllBound: A,
31332
31332
  isVerticalBound: S,
@@ -31335,7 +31335,7 @@ function gK(e, t) {
31335
31335
  offset: P
31336
31336
  };
31337
31337
  }
31338
- function eo(e, t, r, n, o, i) {
31338
+ function to(e, t, r, n, o, i) {
31339
31339
  var a = G(t, 2), s = a[0], c = a[1], l = e[0], u = r[0], d = r[1], f = ou(d[1] - u[1]), h = ou(d[0] - u[0]), v = c, m = s, g = -s / c;
31340
31340
  if (h) {
31341
31341
  if (!f) {
@@ -31529,7 +31529,7 @@ function CK(e) {
31529
31529
  };
31530
31530
  var n = e.getRect(), o = n.pos1, i = n.pos2, a = n.pos3, s = n.pos4, c = [o, i, a, s], l = It(c, [0, 0]), u = t.left, d = t.top, f = t.width, h = t.height, v = [[u, d], [u, d + h]], m = [[u, d], [u + f, d]], g = [[u + f, d], [u + f, d + h]], b = [[u, d + h], [u + f, d + h]], y = Hv(e, c, [0, 0], !1), x = [], w = [];
31531
31531
  return y.forEach(function(S) {
31532
- var C = S.line, k = S.lineConstants, _ = rP(l, C), T = _.horizontal, P = _.vertical, D = eo(C, k, m, P, 1, !0), A = eo(C, k, b, P, 1, !0), R = eo(C, k, v, T, 1, !0), z = eo(C, k, g, T, 1, !0);
31532
+ var C = S.line, k = S.lineConstants, _ = rP(l, C), T = _.horizontal, P = _.vertical, D = to(C, k, m, P, 1, !0), A = to(C, k, b, P, 1, !0), R = to(C, k, v, T, 1, !0), z = to(C, k, g, T, 1, !0);
31533
31533
  D.isBound && !r.top && (x.push(d), r.top = !0), A.isBound && !r.bottom && (x.push(d + h), r.bottom = !0), R.isBound && !r.left && (w.push(u), r.left = !0), z.isBound && !r.right && (w.push(u + f), r.right = !0);
31534
31534
  }), {
31535
31535
  boundMap: r,
@@ -32037,7 +32037,7 @@ var qy = Jv("resizable"), rh = {
32037
32037
  f.maxOffsetHeight
32038
32038
  ]);
32039
32039
  var b = e.props.transformOrigin || "% %";
32040
- c.transformOrigin = Hn(b) ? b.split(" ") : b, c.startOffsetMatrix = f.offsetMatrix, c.startTransformOrigin = f.transformOrigin, c.isWidth = (r = t == null ? void 0 : t.parentIsWidth) !== null && r !== void 0 ? r : !d[0] && !d[1] || d[0] || !d[1];
32040
+ c.transformOrigin = qn(b) ? b.split(" ") : b, c.startOffsetMatrix = f.offsetMatrix, c.startTransformOrigin = f.transformOrigin, c.isWidth = (r = t == null ? void 0 : t.parentIsWidth) !== null && r !== void 0 ? r : !d[0] && !d[1] || d[0] || !d[1];
32041
32041
  function y(T) {
32042
32042
  c.ratio = T && isFinite(T) ? T : 0;
32043
32043
  }
@@ -32695,7 +32695,7 @@ function Zy(e, t, r, n, o, i, a, s) {
32695
32695
  });
32696
32696
  }
32697
32697
  function Yy(e, t, r, n, o, i) {
32698
- var a = e.props, s = a.zoom, c = a.isDisplayInnerSnapDigit, l = t === "horizontal" ? uo : fo, u = o[l.start], d = o[l.end];
32698
+ var a = e.props, s = a.zoom, c = a.isDisplayInnerSnapDigit, l = t === "horizontal" ? fo : po, u = o[l.start], d = o[l.end];
32699
32699
  return r.filter(function(f) {
32700
32700
  var h = f.hide, v = f.elementRect;
32701
32701
  if (h)
@@ -32745,7 +32745,7 @@ function Ga(e, t, r, n, o, i, a, s) {
32745
32745
  );
32746
32746
  }
32747
32747
  function OK(e, t, r, n) {
32748
- var o = e === "vertical" ? 0 : 1, i = e === "vertical" ? 1 : 0, a = o ? uo : fo, s = r[a.start], c = r[a.end];
32748
+ var o = e === "vertical" ? 0 : 1, i = e === "vertical" ? 1 : 0, a = o ? fo : po, s = r[a.start], c = r[a.end];
32749
32749
  return SP(t, function(l) {
32750
32750
  return l.pos[o];
32751
32751
  }).map(function(l) {
@@ -32791,7 +32791,7 @@ function zK(e, t, r, n, o) {
32791
32791
  return ["vertical", "horizontal"].forEach(function(s) {
32792
32792
  var c = t.filter(function(g) {
32793
32793
  return g.type === s;
32794
- }), l = s === "vertical" ? 1 : 0, u = l ? 0 : 1, d = OK(s, c, n, i), f = l ? fo : uo, h = l ? uo : fo, v = n[f.start], m = n[f.end];
32794
+ }), l = s === "vertical" ? 1 : 0, u = l ? 0 : 1, d = OK(s, c, n, i), f = l ? po : fo, h = l ? fo : po, v = n[f.start], m = n[f.end];
32795
32795
  d.forEach(function(g) {
32796
32796
  var b = g.total, y = g.start, x = g.end, w = g.inner, S = r[u] + b[0].pos[u] - n[h.start], C = n;
32797
32797
  y.forEach(function(k) {
@@ -32820,7 +32820,7 @@ function LK(e, t, r, n, o) {
32820
32820
  return ["horizontal", "vertical"].forEach(function(a) {
32821
32821
  var s = t.filter(function(g) {
32822
32822
  return g.type === a;
32823
- }).slice(0, 1), c = a === "vertical" ? 0 : 1, l = c ? 0 : 1, u = c ? fo : uo, d = c ? uo : fo, f = n[u.start], h = n[u.end], v = n[d.start], m = n[d.end];
32823
+ }).slice(0, 1), c = a === "vertical" ? 0 : 1, l = c ? 0 : 1, u = c ? po : fo, d = c ? fo : po, f = n[u.start], h = n[u.end], v = n[d.start], m = n[d.end];
32824
32824
  s.forEach(function(g) {
32825
32825
  var b = g.gap, y = g.gapRects, x = Math.max.apply(Math, ce([v], G(y.map(function(C) {
32826
32826
  var k = C.rect;
@@ -32868,8 +32868,8 @@ function oh(e) {
32868
32868
  function BK(e, t, r) {
32869
32869
  var n = e.props, o = n.maxSnapElementGuidelineDistance, i = o === void 0 ? 1 / 0 : o, a = n.maxSnapElementGapDistance, s = a === void 0 ? 1 / 0 : a, c = e.state.elementRects, l = [];
32870
32870
  return [
32871
- ["vertical", uo, fo],
32872
- ["horizontal", fo, uo]
32871
+ ["vertical", fo, po],
32872
+ ["horizontal", po, fo]
32873
32873
  ].forEach(function(u) {
32874
32874
  var d = G(u, 3), f = d[0], h = d[1], v = d[2], m = t[h.start], g = t[h.end], b = t[h.center], y = t[v.start], x = t[v.end], w = {
32875
32875
  left: r[0],
@@ -34007,7 +34007,7 @@ function fe(e, t, r, n, o) {
34007
34007
  return e.triggerEvent(t, r, n, o);
34008
34008
  }
34009
34009
  function Kv(e, t) {
34010
- return no(e).getComputedStyle(e, t);
34010
+ return oo(e).getComputedStyle(e, t);
34011
34011
  }
34012
34012
  function Wc(e, t, r) {
34013
34013
  var n = {}, o = {};
@@ -34137,14 +34137,14 @@ function pX(e) {
34137
34137
  return !e || !dn(e) || Av(e) ? !1 : $t(e) || "length" in e;
34138
34138
  }
34139
34139
  function En(e, t) {
34140
- return e ? Av(e) ? e : Hn(e) ? t ? document.querySelector(e) : e : kv(e) ? e() : ST(e) ? e : "current" in e ? e.current : e : null;
34140
+ return e ? Av(e) ? e : qn(e) ? t ? document.querySelector(e) : e : kv(e) ? e() : ST(e) ? e : "current" in e ? e.current : e : null;
34141
34141
  }
34142
34142
  function Qv(e, t) {
34143
34143
  if (!e)
34144
34144
  return [];
34145
34145
  var r = pX(e) ? [].slice.call(e) : [e];
34146
34146
  return r.reduce(function(n, o) {
34147
- return Hn(o) && t ? ce(ce([], G(n), !1), G([].slice.call(document.querySelectorAll(o))), !1) : ($t(o) ? n.push(Qv(o, t)) : n.push(En(o, t)), n);
34147
+ return qn(o) && t ? ce(ce([], G(n), !1), G([].slice.call(document.querySelectorAll(o))), !1) : ($t(o) ? n.push(Qv(o, t)) : n.push(En(o, t)), n);
34148
34148
  }, []);
34149
34149
  }
34150
34150
  function hX(e, t, r) {
@@ -34596,7 +34596,7 @@ var vX = Ei("pinchable", {
34596
34596
  };
34597
34597
  }
34598
34598
  };
34599
- function Zn(e, t) {
34599
+ function Yn(e, t) {
34600
34600
  return e.map(function(r, n) {
34601
34601
  return Yl(r, t[n], 1, 2);
34602
34602
  });
@@ -34628,7 +34628,7 @@ var yX = {
34628
34628
  var r = e.props, n = r.resizable, o = r.scalable, i = r.warpable, a = r.zoom;
34629
34629
  if (n || o || !i)
34630
34630
  return [];
34631
- var s = e.state, c = s.pos1, l = s.pos2, u = s.pos3, d = s.pos4, f = Zn(c, l), h = Zn(l, c), v = Zn(c, u), m = Zn(u, c), g = Zn(u, d), b = Zn(d, u), y = Zn(l, d), x = Zn(d, l);
34631
+ var s = e.state, c = s.pos1, l = s.pos2, u = s.pos3, d = s.pos4, f = Yn(c, l), h = Yn(l, c), v = Yn(c, u), m = Yn(u, c), g = Yn(u, d), b = Yn(d, u), y = Yn(l, d), x = Yn(d, l);
34632
34632
  return ce([
34633
34633
  t.createElement("div", { className: Ce("line"), key: "middeLine1", style: Wa(f, g, a) }),
34634
34634
  t.createElement("div", { className: Ce("line"), key: "middeLine2", style: Wa(h, b, a) }),
@@ -35212,7 +35212,7 @@ function sx(e, t, r, n, o) {
35212
35212
  bottom: P.maxY
35213
35213
  };
35214
35214
  } else if (C || x === "ellipse") {
35215
- var D = "", A = "", R = 0, z = 0, _ = lo(S);
35215
+ var D = "", A = "", R = 0, z = 0, _ = uo(S);
35216
35216
  if (C) {
35217
35217
  var M = "";
35218
35218
  i = G(_, 4), a = i[0], M = a === void 0 ? "50%" : a, s = i[2], D = s === void 0 ? "50%" : s, c = i[3], A = c === void 0 ? "50%" : c, R = tt(M, Math.sqrt((t * t + r * r) / 2)), z = R;
@@ -35255,7 +35255,7 @@ function sx(e, t, r, n, o) {
35255
35255
  splitter: k
35256
35256
  };
35257
35257
  } else if (x === "inset") {
35258
- var _ = lo(S || "0 0 0 0"), $ = _.indexOf("round"), V = ($ > -1 ? _.slice(0, $) : _).length, F = _.slice(V + 1), K = G(_.slice(0, V), 4), U = K[0], H = K[1], X = H === void 0 ? U : H, Q = K[2], q = Q === void 0 ? U : Q, J = K[3], re = J === void 0 ? X : J, ne = G([U, q].map(function(qe) {
35258
+ var _ = uo(S || "0 0 0 0"), $ = _.indexOf("round"), V = ($ > -1 ? _.slice(0, $) : _).length, F = _.slice(V + 1), K = G(_.slice(0, V), 4), U = K[0], H = K[1], X = H === void 0 ? U : H, Q = K[2], q = Q === void 0 ? U : Q, J = K[3], re = J === void 0 ? X : J, ne = G([U, q].map(function(qe) {
35259
35259
  return tt(qe, r);
35260
35260
  }), 2), ee = ne[0], Z = ne[1], ge = G([re, X].map(function(qe) {
35261
35261
  return tt(qe, t);
@@ -35788,7 +35788,7 @@ function FX(e, t) {
35788
35788
  function cx(e, t, r, n, o) {
35789
35789
  n === void 0 && (n = [0, 0]);
35790
35790
  var i = [];
35791
- return !e || e === "0px" ? i = [] : i = lo(e), IP(i, t, r, 0, 0, n, o);
35791
+ return !e || e === "0px" ? i = [] : i = uo(e), IP(i, t, r, 0, 0, n, o);
35792
35792
  }
35793
35793
  function lx(e, t, r, n, o) {
35794
35794
  var i = e.state, a = i.width, s = i.height, c = tg(o, e.props.roundRelative, a, s), l = c.raws, u = c.styles, d = c.radiusPoses, f = RX(d, l), h = f.horizontals, v = f.verticals, m = u.join(" ");
@@ -36020,7 +36020,7 @@ var MP = {
36020
36020
  dragRelation: "weak",
36021
36021
  setTransform: function(e, t) {
36022
36022
  var r = e.state, n = r.is3d, o = r.targetMatrix, i = r.inlineTransform, a = n ? "matrix3d(".concat(o.join(","), ")") : "matrix(".concat(ET(o, !0), ")"), s = !i || i === "none" ? a : i;
36023
- t.datas.startTransforms = jX(s, n) ? [] : lo(s);
36023
+ t.datas.startTransforms = jX(s, n) ? [] : uo(s);
36024
36024
  },
36025
36025
  resetStyle: function(e) {
36026
36026
  var t = e.datas;
@@ -36029,7 +36029,7 @@ var MP = {
36029
36029
  fillDragStartParams: function(e, t) {
36030
36030
  return Ve(e, t, {
36031
36031
  setTransform: function(r) {
36032
- t.datas.startTransforms = $t(r) ? r : lo(r);
36032
+ t.datas.startTransforms = $t(r) ? r : uo(r);
36033
36033
  },
36034
36034
  isPinch: !!t.isPinch
36035
36035
  });
@@ -36295,7 +36295,7 @@ function BP(e, t, r, n, o) {
36295
36295
  preventDefault: v,
36296
36296
  preventRightClick: g,
36297
36297
  preventWheelClick: y,
36298
- container: w || no(e.getControlBoxElement()),
36298
+ container: w || oo(e.getControlBoxElement()),
36299
36299
  pinchThreshold: c,
36300
36300
  pinchOutside: s,
36301
36301
  preventClickEventOnDrag: i ? l : !1,
@@ -36860,7 +36860,7 @@ var da = /* @__PURE__ */ function(e) {
36860
36860
  return (!((d = s[h]) === null || d === void 0) && d.isEventStart || !((f = c[h]) === null || f === void 0) && f.isEventStart) && (v += " ".concat(Ce("".concat(h).concat(r, "-dragging")))), v.trim();
36861
36861
  }).filter(Boolean).join(" ");
36862
36862
  }, t.prototype._updateResizeObserver = function(r) {
36863
- var n, o = this.props, i = o.target, a = no(this.getControlBoxElement());
36863
+ var n, o = this.props, i = o.target, a = oo(this.getControlBoxElement());
36864
36864
  if (!a.ResizeObserver || !i || !o.useResizeObserver) {
36865
36865
  (n = this._reiszeObserver) === null || n === void 0 || n.disconnect();
36866
36866
  return;
@@ -36872,7 +36872,7 @@ var da = /* @__PURE__ */ function(e) {
36872
36872
  }), this._reiszeObserver = s;
36873
36873
  }
36874
36874
  }, t.prototype._updateMutationObserver = function(r) {
36875
- var n = this, o, i = this.props, a = i.target, s = no(this.getControlBoxElement());
36875
+ var n = this, o, i = this.props, a = i.target, s = oo(this.getControlBoxElement());
36876
36876
  if (!s.MutationObserver || !a || !i.useMutationObserver) {
36877
36877
  (o = this._mutationObserver) === null || o === void 0 || o.disconnect();
36878
36878
  return;
@@ -37379,7 +37379,7 @@ function $P(e, t) {
37379
37379
  var r = [];
37380
37380
  return e.forEach(function(n) {
37381
37381
  if (n) {
37382
- if (Hn(n)) {
37382
+ if (qn(n)) {
37383
37383
  t[n] && r.push.apply(r, ce([], G(t[n]), !1));
37384
37384
  return;
37385
37385
  }
@@ -37391,7 +37391,7 @@ function jP(e, t) {
37391
37391
  var r = [];
37392
37392
  return e.forEach(function(n) {
37393
37393
  if (n) {
37394
- if (Hn(n)) {
37394
+ if (qn(n)) {
37395
37395
  t[n] && r.push.apply(r, ce([], G(t[n]), !1));
37396
37396
  return;
37397
37397
  }
@@ -37478,7 +37478,7 @@ var JX = /* @__PURE__ */ function(e) {
37478
37478
  }, t.prototype._updateRefs = function(r) {
37479
37479
  var n = this.refTargets, o = Qv(this.props.target || this.props.targets), i = typeof document < "u", a = GP(n, o), s = this.selectorMap, c = {};
37480
37480
  return this.refTargets.forEach(function l(u) {
37481
- if (Hn(u)) {
37481
+ if (qn(u)) {
37482
37482
  var d = s[u];
37483
37483
  d ? c[u] = s[u] : i && (a = !0, c[u] = [].slice.call(document.querySelectorAll(u)));
37484
37484
  } else $t(u) && u.forEach(l);
@@ -38026,7 +38026,7 @@ const die = ({
38026
38026
  );
38027
38027
  uJ.displayName = "TextSuggestion";
38028
38028
  function fie({ children: e, icon: t, visible: r = !0, className: n }) {
38029
- return /* @__PURE__ */ p(Wn, { children: r && /* @__PURE__ */ E(
38029
+ return /* @__PURE__ */ p(Un, { children: r && /* @__PURE__ */ E(
38030
38030
  _o.div,
38031
38031
  {
38032
38032
  initial: { opacity: 0, y: 16 },
@@ -38284,7 +38284,7 @@ function SJ(e) {
38284
38284
  value: u,
38285
38285
  hasConsumerStoppedPropagationRef: y,
38286
38286
  required: l,
38287
- defaultChecked: oo(o) ? !1 : o,
38287
+ defaultChecked: io(o) ? !1 : o,
38288
38288
  isFormControl: x,
38289
38289
  bubbleInput: g,
38290
38290
  setBubbleInput: b
@@ -38323,7 +38323,7 @@ var qP = "CheckboxTrigger", ZP = N.forwardRef(
38323
38323
  {
38324
38324
  type: "button",
38325
38325
  role: "checkbox",
38326
- "aria-checked": oo(c) ? "mixed" : c,
38326
+ "aria-checked": io(c) ? "mixed" : c,
38327
38327
  "aria-required": l,
38328
38328
  "data-state": JP(c),
38329
38329
  "data-disabled": s ? "" : void 0,
@@ -38335,7 +38335,7 @@ var qP = "CheckboxTrigger", ZP = N.forwardRef(
38335
38335
  b.key === "Enter" && b.preventDefault();
38336
38336
  }),
38337
38337
  onClick: le(r, (b) => {
38338
- d((y) => oo(y) ? !0 : !y), v && h && (f.current = b.isPropagationStopped(), f.current || b.stopPropagation());
38338
+ d((y) => io(y) ? !0 : !y), v && h && (f.current = b.isPropagationStopped(), f.current || b.stopPropagation());
38339
38339
  })
38340
38340
  }
38341
38341
  );
@@ -38395,7 +38395,7 @@ var YP = "CheckboxIndicator", cc = N.forwardRef(
38395
38395
  return /* @__PURE__ */ p(
38396
38396
  yr,
38397
38397
  {
38398
- present: n || oo(i.checked) || i.checked === !0,
38398
+ present: n || io(i.checked) || i.checked === !0,
38399
38399
  children: /* @__PURE__ */ p(
38400
38400
  xe.span,
38401
38401
  {
@@ -38435,10 +38435,10 @@ var KP = "CheckboxBubbleInput", XP = N.forwardRef(
38435
38435
  ).set, C = !o.current;
38436
38436
  if (m !== i && S) {
38437
38437
  const k = new Event("click", { bubbles: C });
38438
- y.indeterminate = oo(i), S.call(y, oo(i) ? !1 : i), y.dispatchEvent(k);
38438
+ y.indeterminate = io(i), S.call(y, io(i) ? !1 : i), y.dispatchEvent(k);
38439
38439
  }
38440
38440
  }, [f, m, i, o]);
38441
- const b = N.useRef(oo(i) ? !1 : i);
38441
+ const b = N.useRef(io(i) ? !1 : i);
38442
38442
  return /* @__PURE__ */ p(
38443
38443
  xe.input,
38444
38444
  {
@@ -38473,11 +38473,11 @@ XP.displayName = KP;
38473
38473
  function CJ(e) {
38474
38474
  return typeof e == "function";
38475
38475
  }
38476
- function oo(e) {
38476
+ function io(e) {
38477
38477
  return e === "indeterminate";
38478
38478
  }
38479
38479
  function JP(e) {
38480
- return oo(e) ? "indeterminate" : e ? "checked" : "unchecked";
38480
+ return io(e) ? "indeterminate" : e ? "checked" : "unchecked";
38481
38481
  }
38482
38482
  const NJ = se(
38483
38483
  [
@@ -38879,7 +38879,7 @@ const PJ = te(
38879
38879
  ]
38880
38880
  }
38881
38881
  ),
38882
- !!t && /* @__PURE__ */ p(Un, { invalid: r, children: t })
38882
+ !!t && /* @__PURE__ */ p(Hn, { invalid: r, children: t })
38883
38883
  ]
38884
38884
  }
38885
38885
  );
@@ -38905,7 +38905,7 @@ const e2 = ({
38905
38905
  onDrop: s,
38906
38906
  onDragLeave: i
38907
38907
  });
38908
- const c = /* @__PURE__ */ p(Wn, { children: r && /* @__PURE__ */ p(
38908
+ const c = /* @__PURE__ */ p(Un, { children: r && /* @__PURE__ */ p(
38909
38909
  _o.div,
38910
38910
  {
38911
38911
  transition: { ease: "easeOut", duration: 0.2 },
@@ -39958,7 +39958,7 @@ const ZJ = ({
39958
39958
  children: i
39959
39959
  }
39960
39960
  ),
39961
- !!r && /* @__PURE__ */ p(Un, { children: r })
39961
+ !!r && /* @__PURE__ */ p(Hn, { children: r })
39962
39962
  ]
39963
39963
  }
39964
39964
  );
@@ -40483,7 +40483,7 @@ const bie = ({
40483
40483
  ),
40484
40484
  /* @__PURE__ */ E("div", { className: "flex grow flex-col gap-1", children: [
40485
40485
  /* @__PURE__ */ p("span", { className: "component-500 block text-content-primary", children: e }),
40486
- !!t && /* @__PURE__ */ p(Un, { children: t })
40486
+ !!t && /* @__PURE__ */ p(Hn, { children: t })
40487
40487
  ] })
40488
40488
  ]
40489
40489
  }
@@ -42782,7 +42782,7 @@ const Nx = (e, t) => (r) => 100 * (r - e) / (t - e), Ex = ["ArrowRight", "ArrowL
42782
42782
  }
42783
42783
  ),
42784
42784
  /* @__PURE__ */ p(
42785
- ro,
42785
+ no,
42786
42786
  {
42787
42787
  ...y,
42788
42788
  min: l,
@@ -42804,7 +42804,7 @@ const Nx = (e, t) => (r) => 100 * (r - e) / (t - e), Ex = ["ArrowRight", "ArrowL
42804
42804
  }
42805
42805
  )
42806
42806
  ] }),
42807
- h && /* @__PURE__ */ p(Un, { children: h })
42807
+ h && /* @__PURE__ */ p(Hn, { children: h })
42808
42808
  ] });
42809
42809
  }, Tee = ({
42810
42810
  limit: e,
@@ -42925,7 +42925,7 @@ const Q2 = te(
42925
42925
  );
42926
42926
  return /* @__PURE__ */ E(mn, { label: e, trailingElement: o, children: [
42927
42927
  i ? /* @__PURE__ */ p(ac, { ...s, className: l, style: a }) : /* @__PURE__ */ p("textarea", { ...s, ref: c, className: l, style: a }),
42928
- t && /* @__PURE__ */ p(Un, { invalid: n, children: t })
42928
+ t && /* @__PURE__ */ p(Hn, { invalid: n, children: t })
42929
42929
  ] });
42930
42930
  }
42931
42931
  );
@@ -43051,7 +43051,7 @@ const Aee = ({
43051
43051
  className: "flex cursor-pointer flex-col gap-1 peer-disabled:cursor-not-allowed peer-disabled:opacity-30",
43052
43052
  children: [
43053
43053
  /* @__PURE__ */ p("span", { className: "component-500 text-content-primary", children: e }),
43054
- !!t && /* @__PURE__ */ p(Un, { children: t })
43054
+ !!t && /* @__PURE__ */ p(Hn, { children: t })
43055
43055
  ]
43056
43056
  }
43057
43057
  )
@@ -43142,7 +43142,7 @@ const Dee = se(
43142
43142
  }
43143
43143
  ) })
43144
43144
  ] }) }),
43145
- t && /* @__PURE__ */ p(Un, { invalid: r, children: t })
43145
+ t && /* @__PURE__ */ p(Hn, { invalid: r, children: t })
43146
43146
  ] });
43147
43147
  }, Oee = te(Mee);
43148
43148
  Oee.displayName = "TagField";
@@ -43172,7 +43172,7 @@ const Lee = te(
43172
43172
  const { invalid: i } = n;
43173
43173
  return /* @__PURE__ */ E(mn, { label: e, className: r, children: [
43174
43174
  /* @__PURE__ */ p(Ni, { ref: o, ...n }),
43175
- t && /* @__PURE__ */ p(Un, { invalid: i, children: t })
43175
+ t && /* @__PURE__ */ p(Hn, { invalid: i, children: t })
43176
43176
  ] });
43177
43177
  }
43178
43178
  );
@@ -44242,7 +44242,7 @@ const Die = ({
44242
44242
  }) => /* @__PURE__ */ E(yd, { className: I("flex-col justify-start py-2.5", r), ...n, children: [
44243
44243
  /* @__PURE__ */ p("span", { children: e }),
44244
44244
  !!t && /* @__PURE__ */ p("span", { className: "component-400 group-data-[state=off]:text-content-tertiary group-data-[state=on]:text-content-accent", children: t })
44245
- ] }), to = ({
44245
+ ] }), ro = ({
44246
44246
  className: e,
44247
44247
  testId: t,
44248
44248
  disabled: r,
@@ -44262,10 +44262,10 @@ const Die = ({
44262
44262
  ...n
44263
44263
  }
44264
44264
  );
44265
- to.Item = yd;
44266
- to.ItemIconOnly = bte;
44267
- to.ItemIconWithLabel = yte;
44268
- to.ItemLabelWithSub = xte;
44265
+ ro.Item = yd;
44266
+ ro.ItemIconOnly = bte;
44267
+ ro.ItemIconWithLabel = yte;
44268
+ ro.ItemLabelWithSub = xte;
44269
44269
  const wte = se(
44270
44270
  ["flex flex-1 grow flex-col items-center justify-center rounded-400 px-1"],
44271
44271
  {
@@ -44378,7 +44378,7 @@ const wte = se(
44378
44378
  ]
44379
44379
  }
44380
44380
  ),
44381
- /* @__PURE__ */ p(Wn, { children: l && !o && /* @__PURE__ */ p(
44381
+ /* @__PURE__ */ p(Un, { children: l && !o && /* @__PURE__ */ p(
44382
44382
  _o.div,
44383
44383
  {
44384
44384
  initial: { opacity: 0, height: 0 },
@@ -44450,7 +44450,7 @@ const kx = ({ variant: e = "default", label: t, isActive: r = !1, activeIcon: n,
44450
44450
  }
44451
44451
  ),
44452
44452
  children: [
44453
- !!i && (po(i) ? /* @__PURE__ */ p("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: i }) : /* @__PURE__ */ p(
44453
+ !!i && (Gn(i) ? /* @__PURE__ */ p("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: i }) : /* @__PURE__ */ p(
44454
44454
  i,
44455
44455
  {
44456
44456
  className: I("h-5 w-5 shrink-0 transition duration-200", {
@@ -47938,7 +47938,7 @@ const Jre = ({ title: e, date: t, className: r }) => /* @__PURE__ */ E("div", {
47938
47938
  children: r
47939
47939
  }
47940
47940
  ),
47941
- /* @__PURE__ */ p(Wn, { children: t && /* @__PURE__ */ p(
47941
+ /* @__PURE__ */ p(Un, { children: t && /* @__PURE__ */ p(
47942
47942
  _o.div,
47943
47943
  {
47944
47944
  initial: { opacity: 0 },
@@ -49156,7 +49156,7 @@ const Ba = {}, lne = ({
49156
49156
  className: "relative aspect-[3/4] overflow-hidden rounded-area-500",
49157
49157
  children: a
49158
49158
  },
49159
- po(a) ? a.key ?? s : s
49159
+ Gn(a) ? a.key ?? s : s
49160
49160
  )) }),
49161
49161
  (t || n) && /* @__PURE__ */ E("div", { className: "grid items-center gap-6 text-center lg:grid-cols-2 lg:text-left", children: [
49162
49162
  t && /* @__PURE__ */ p("p", { className: "body-600 text-content-secondary sm:body-700", children: t }),
@@ -49245,7 +49245,7 @@ const Ba = {}, lne = ({
49245
49245
  })
49246
49246
  ),
49247
49247
  [i]
49248
- ), u = po(o) ? !!((d = o.props) != null && d.children) : !!o;
49248
+ ), u = Gn(o) ? !!((d = o.props) != null && d.children) : !!o;
49249
49249
  return /* @__PURE__ */ E("div", { ...c, className: Y("flex flex-col items-center text-center", s), children: [
49250
49250
  !!n && // Include the overline inside the H1
49251
49251
  // https://photoroom-app.slack.com/archives/C04L2BFALKV/p1684244446846509?thread_ts=1684243364.037879&cid=C04L2BFALKV
@@ -49842,11 +49842,11 @@ const Xae = ({
49842
49842
  localizedInfo: d
49843
49843
  }), m = !!(i != null && i.weekly) || !!(i != null && i.monthly) || !!(i != null && i.yearly) ? "–" : void 0;
49844
49844
  return /* @__PURE__ */ E("div", { className: "pb-i600", ...l, children: [
49845
- /* @__PURE__ */ p("div", { className: "flex flex-col items-center gap-2 pb-i300", children: /* @__PURE__ */ p("div", { className: "w-full max-w-[320px]", children: /* @__PURE__ */ E(to, { value: t, onValueChange: (b) => {
49845
+ /* @__PURE__ */ p("div", { className: "flex flex-col items-center gap-2 pb-i300", children: /* @__PURE__ */ p("div", { className: "w-full max-w-[320px]", children: /* @__PURE__ */ E(ro, { value: t, onValueChange: (b) => {
49846
49846
  (b === "weekly" || b === "monthly" || b === "yearly") && (c == null || c(b));
49847
49847
  }, children: [
49848
49848
  /* @__PURE__ */ p(
49849
- to.ItemLabelWithSub,
49849
+ ro.ItemLabelWithSub,
49850
49850
  {
49851
49851
  value: "weekly",
49852
49852
  label: o.weekly,
@@ -49854,7 +49854,7 @@ const Xae = ({
49854
49854
  }
49855
49855
  ),
49856
49856
  /* @__PURE__ */ p(
49857
- to.ItemLabelWithSub,
49857
+ ro.ItemLabelWithSub,
49858
49858
  {
49859
49859
  value: "monthly",
49860
49860
  label: o.monthly,
@@ -49862,7 +49862,7 @@ const Xae = ({
49862
49862
  }
49863
49863
  ),
49864
49864
  /* @__PURE__ */ p(
49865
- to.ItemLabelWithSub,
49865
+ ro.ItemLabelWithSub,
49866
49866
  {
49867
49867
  value: "yearly",
49868
49868
  label: o.yearly,
@@ -50385,7 +50385,7 @@ const _ne = ({ children: e }) => /* @__PURE__ */ p("span", { className: "block s
50385
50385
  ...i
50386
50386
  }) {
50387
50387
  var s;
50388
- const a = po(n) ? !!((s = n.props) != null && s.children) : !!n;
50388
+ const a = Gn(n) ? !!((s = n.props) != null && s.children) : !!n;
50389
50389
  return /* @__PURE__ */ E(
50390
50390
  "div",
50391
50391
  {
@@ -50414,15 +50414,16 @@ const _ne = ({ children: e }) => /* @__PURE__ */ p("span", { className: "block s
50414
50414
  footnote: i,
50415
50415
  className: a
50416
50416
  }) {
50417
+ var l;
50417
50418
  const s = me(
50418
50419
  () => o == null ? void 0 : o.map(
50419
- (c) => St(c, {
50420
+ (u) => St(u, {
50420
50421
  density: "spacious",
50421
50422
  size: "large"
50422
50423
  })
50423
50424
  ),
50424
50425
  [o]
50425
- );
50426
+ ), c = Gn(n) ? !!((l = n.props) != null && l.children) : !!n;
50426
50427
  return /* @__PURE__ */ E(
50427
50428
  "header",
50428
50429
  {
@@ -50435,7 +50436,7 @@ const _ne = ({ children: e }) => /* @__PURE__ */ p("span", { className: "block s
50435
50436
  children: [
50436
50437
  !!r && /* @__PURE__ */ p("div", { className: "heading-light-600 mb-2 text-content-primary", children: r }),
50437
50438
  /* @__PURE__ */ p("h2", { className: "heading-light-800 text-balance text-content-primary sm:heading-light-1100", children: t }),
50438
- !!n && /* @__PURE__ */ p("div", { className: "body-600 mt-3 text-balance text-content-secondary sm:body-700 lg:mt-6", children: n }),
50439
+ !!c && /* @__PURE__ */ p("div", { className: "body-600 mt-3 text-balance text-content-secondary sm:body-700 lg:mt-6", children: n }),
50439
50440
  !!(s != null && s.length) && /* @__PURE__ */ p("div", { className: "mt-6 flex flex-col items-center gap-2 sm:mt-8 sm:flex-row lg:mt-10 lg:gap-3", children: s }),
50440
50441
  !!i && /* @__PURE__ */ p("div", { className: "body-300 mt-2 text-content-secondary lg:body-400 lg:mt-3", children: i })
50441
50442
  ]
@@ -52350,7 +52351,7 @@ export {
52350
52351
  lne as HeaderBanner,
52351
52352
  Zie as Heading,
52352
52353
  Y3 as HelpButton,
52353
- Un as HelperText,
52354
+ Hn as HelperText,
52354
52355
  K3 as HeroButton,
52355
52356
  _ae as HeroTitleBlock,
52356
52357
  ud as HiddenFileInput,
@@ -52400,7 +52401,7 @@ export {
52400
52401
  $ie as NotificationImage,
52401
52402
  jie as NotificationStack,
52402
52403
  Gie as NotificationsStore,
52403
- ro as NumberField,
52404
+ no as NumberField,
52404
52405
  Xie as NumberSelectField,
52405
52406
  cZ as ObjectItem,
52406
52407
  r_ as ObjectPreview,
@@ -52463,7 +52464,7 @@ export {
52463
52464
  cee as SearchInput,
52464
52465
  dg as SearchableSelect,
52465
52466
  cse as SectionTitle,
52466
- to as SegmentedControl,
52467
+ ro as SegmentedControl,
52467
52468
  Mie as SegmentedPicker,
52468
52469
  eT as SelectField,
52469
52470
  a2 as SelectTrigger,