globalfy-design-system 0.38.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as Q from "react";
2
- import re, { useContext as Pe, useState as ne, useRef as U, useEffect as q, useCallback as B, createContext as Ye, useMemo as oe, forwardRef as Se, useImperativeHandle as Fd, useLayoutEffect as yr, useInsertionEffect as Vd, createElement as Z, useId as Wn, cloneElement as it, Children as Rn, isValidElement as lt, useReducer as zd, Fragment as O0 } from "react";
2
+ import re, { useContext as Pe, useState as ne, useRef as U, useEffect as q, useCallback as B, createContext as Ye, useMemo as oe, forwardRef as Me, useImperativeHandle as Fd, useLayoutEffect as yr, useInsertionEffect as Vd, createElement as Z, useId as Wn, cloneElement as it, Children as Rn, isValidElement as lt, useReducer as zd, Fragment as O0 } from "react";
3
3
  import * as N0 from "react-dom";
4
4
  import k0, { flushSync as Qs } from "react-dom";
5
5
  var ls = { exports: {} }, Wr = {};
@@ -195,7 +195,7 @@ function L0() {
195
195
  }
196
196
  }
197
197
  var se = w.ReactCurrentDispatcher, we;
198
- function Me(g, I, L) {
198
+ function Se(g, I, L) {
199
199
  {
200
200
  if (we === void 0)
201
201
  try {
@@ -281,7 +281,7 @@ function L0() {
281
281
  } finally {
282
282
  be = !1, se.current = ae, ie(), Error.prepareStackTrace = te;
283
283
  }
284
- var ft = g ? g.displayName || g.name : "", zr = ft ? Me(ft) : "";
284
+ var ft = g ? g.displayName || g.name : "", zr = ft ? Se(ft) : "";
285
285
  return typeof g == "function" && ve.set(g, zr), zr;
286
286
  }
287
287
  function Ne(g, I, L) {
@@ -297,12 +297,12 @@ function L0() {
297
297
  if (typeof g == "function")
298
298
  return Ae(g, ce(g));
299
299
  if (typeof g == "string")
300
- return Me(g);
300
+ return Se(g);
301
301
  switch (g) {
302
302
  case c:
303
- return Me("Suspense");
303
+ return Se("Suspense");
304
304
  case u:
305
- return Me("SuspenseList");
305
+ return Se("SuspenseList");
306
306
  }
307
307
  if (typeof g == "object")
308
308
  switch (g.$$typeof) {
@@ -5206,7 +5206,7 @@ function cl(e) {
5206
5206
  return /* @__PURE__ */ re.createElement(n, fe(a, i), t);
5207
5207
  }
5208
5208
  function At(e) {
5209
- return Se(e);
5209
+ return Me(e);
5210
5210
  }
5211
5211
  var To = (e, t, n = !0) => {
5212
5212
  if (!t)
@@ -9300,7 +9300,7 @@ function j1({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
9300
9300
  n(o, s, O1(f, p.visualElement, l), f, d, p.visualElement)
9301
9301
  );
9302
9302
  }
9303
- const i = Se(a);
9303
+ const i = Me(a);
9304
9304
  return i[L1] = o, i;
9305
9305
  }
9306
9306
  function _1({ layoutId: e }) {
@@ -10651,8 +10651,8 @@ function Sa({ autoplay: e = !0, delay: t = 0, driver: n = gb, keyframes: r, type
10651
10651
  M && (se.value = M(se.value));
10652
10652
  let { done: we } = se;
10653
10653
  !H && T !== null && (we = f >= 0 ? P >= x : P <= 0);
10654
- const Me = m === null && (k === "finished" || k === "running" && we);
10655
- return d && d(se.value), Me && _(), se;
10654
+ const Se = m === null && (k === "finished" || k === "running" && we);
10655
+ return d && d(se.value), Se && _(), se;
10656
10656
  }, j = () => {
10657
10657
  y && y.stop(), y = void 0;
10658
10658
  }, $ = () => {
@@ -14165,19 +14165,19 @@ function c5(e = {}) {
14165
14165
  });
14166
14166
  },
14167
14167
  [w, y, C, M, S, s, i == null ? void 0 : i.isGrid]
14168
- ), we = xe(f == null ? void 0 : f.base, E), Me = oe(() => N || l === "button", [N, l]), be = B(
14168
+ ), we = xe(f == null ? void 0 : f.base, E), Se = oe(() => N || l === "button", [N, l]), be = B(
14169
14169
  (ye = {}) => ({
14170
14170
  ref: j,
14171
- tabIndex: Me ? 0 : -1,
14171
+ tabIndex: Se ? 0 : -1,
14172
14172
  "data-hover": J(W),
14173
14173
  "data-focus": J(Y),
14174
14174
  "data-focus-visible": J(_),
14175
14175
  className: se.base({
14176
14176
  class: xe(we, ye == null ? void 0 : ye.className)
14177
14177
  }),
14178
- ...fe(P, le, Me ? K : {})
14178
+ ...fe(P, le, Se ? K : {})
14179
14179
  }),
14180
- [Me, se, we, K, P]
14180
+ [Se, se, we, K, P]
14181
14181
  ), ve = B(
14182
14182
  (ye = {}) => ({
14183
14183
  ref: $,
@@ -14399,7 +14399,7 @@ function g5(e) {
14399
14399
  k,
14400
14400
  w
14401
14401
  ]
14402
- ), { onClick: ie, onClear: se, ripples: we } = m5(), Me = B(
14402
+ ), { onClick: ie, onClear: se, ripples: we } = m5(), Se = B(
14403
14403
  (ke) => {
14404
14404
  A || H || k || Y.current && ie(ke);
14405
14405
  },
@@ -14409,7 +14409,7 @@ function g5(e) {
14409
14409
  elementType: p,
14410
14410
  isDisabled: H,
14411
14411
  onPress: P,
14412
- onClick: Kn(O, Me),
14412
+ onClick: Kn(O, Se),
14413
14413
  ...j
14414
14414
  },
14415
14415
  Y
@@ -15075,15 +15075,15 @@ function R5(e = {}) {
15075
15075
  },
15076
15076
  s.groupState,
15077
15077
  Y
15078
- ) : ih(le, kl(le), Y), Me = ie || se, [be, ve] = ne(!1), { pressProps: ye } = Mo({
15079
- isDisabled: Me,
15078
+ ) : ih(le, kl(le), Y), Se = ie || se, [be, ve] = ne(!1), { pressProps: ye } = Mo({
15079
+ isDisabled: Se,
15080
15080
  onPressStart(Ze) {
15081
15081
  Ze.pointerType !== "keyboard" && ve(!0);
15082
15082
  },
15083
15083
  onPressEnd(Ze) {
15084
15084
  Ze.pointerType !== "keyboard" && ve(!1);
15085
15085
  }
15086
- }), Ae = Me ? !1 : be || we;
15086
+ }), Ae = Se ? !1 : be || we;
15087
15087
  v && (H.required = !0);
15088
15088
  const { hoverProps: Ne, isHovered: ce } = Hn({
15089
15089
  isDisabled: H.disabled
@@ -15239,13 +15239,13 @@ const Zu = (e) => typeof e == "object" && e != null && e.nodeType === 1, Ju = (e
15239
15239
  const $ = f[j], { height: _, width: Y, top: K, right: W, bottom: le, left: H } = $.getBoundingClientRect();
15240
15240
  if (i === "if-needed" && S >= 0 && m >= 0 && k <= b && N <= v && S >= K && k <= le && m >= H && N <= W)
15241
15241
  return O;
15242
- const pe = getComputedStyle($), ie = parseInt(pe.borderLeftWidth, 10), se = parseInt(pe.borderTopWidth, 10), we = parseInt(pe.borderRightWidth, 10), Me = parseInt(pe.borderBottomWidth, 10);
15242
+ const pe = getComputedStyle($), ie = parseInt(pe.borderLeftWidth, 10), se = parseInt(pe.borderTopWidth, 10), we = parseInt(pe.borderRightWidth, 10), Se = parseInt(pe.borderBottomWidth, 10);
15243
15243
  let be = 0, ve = 0;
15244
- const ye = "offsetWidth" in $ ? $.offsetWidth - $.clientWidth - ie - we : 0, Ae = "offsetHeight" in $ ? $.offsetHeight - $.clientHeight - se - Me : 0, Ne = "offsetWidth" in $ ? $.offsetWidth === 0 ? 0 : Y / $.offsetWidth : 0, ce = "offsetHeight" in $ ? $.offsetHeight === 0 ? 0 : _ / $.offsetHeight : 0;
15244
+ const ye = "offsetWidth" in $ ? $.offsetWidth - $.clientWidth - ie - we : 0, Ae = "offsetHeight" in $ ? $.offsetHeight - $.clientHeight - se - Se : 0, Ne = "offsetWidth" in $ ? $.offsetWidth === 0 ? 0 : Y / $.offsetWidth : 0, ce = "offsetHeight" in $ ? $.offsetHeight === 0 ? 0 : _ / $.offsetHeight : 0;
15245
15245
  if (p === $)
15246
- be = s === "start" ? x : s === "end" ? x - b : s === "nearest" ? qo(y, y + b, b, se, Me, y + x, y + x + C, C) : x - b / 2, ve = l === "start" ? P : l === "center" ? P - v / 2 : l === "end" ? P - v : qo(w, w + v, v, ie, we, w + P, w + P + M, M), be = Math.max(0, be + y), ve = Math.max(0, ve + w);
15246
+ be = s === "start" ? x : s === "end" ? x - b : s === "nearest" ? qo(y, y + b, b, se, Se, y + x, y + x + C, C) : x - b / 2, ve = l === "start" ? P : l === "center" ? P - v / 2 : l === "end" ? P - v : qo(w, w + v, v, ie, we, w + P, w + P + M, M), be = Math.max(0, be + y), ve = Math.max(0, ve + w);
15247
15247
  else {
15248
- be = s === "start" ? x - K - se : s === "end" ? x - le + Me + Ae : s === "nearest" ? qo(K, le, _, se, Me + Ae, x, x + C, C) : x - (K + _ / 2) + Ae / 2, ve = l === "start" ? P - H - ie : l === "center" ? P - (H + Y / 2) + ye / 2 : l === "end" ? P - W + we + ye : qo(H, W, Y, ie, we + ye, P, P + M, M);
15248
+ be = s === "start" ? x - K - se : s === "end" ? x - le + Se + Ae : s === "nearest" ? qo(K, le, _, se, Se + Ae, x, x + C, C) : x - (K + _ / 2) + Ae / 2, ve = l === "start" ? P - H - ie : l === "center" ? P - (H + Y / 2) + ye / 2 : l === "end" ? P - W + we + ye : qo(H, W, Y, ie, we + ye, P, P + M, M);
15249
15249
  const { scrollLeft: ee, scrollTop: Fe } = $;
15250
15250
  be = ce === 0 ? 0 : Math.max(0, Math.min(Fe + be / ce, $.scrollHeight - _ / ce + Ae)), ve = Ne === 0 ? 0 : Math.max(0, Math.min(ee + ve / Ne, $.scrollWidth - Y / Ne + ye)), x += Fe - be, P += ee - ve;
15251
15251
  }
@@ -15624,7 +15624,7 @@ function q5(e) {
15624
15624
  disableAnimation: b
15625
15625
  }),
15626
15626
  [h, f, x, D, b]
15627
- ), we = xe(l == null ? void 0 : l.base, C), Me = B(
15627
+ ), we = xe(l == null ? void 0 : l.base, C), Se = B(
15628
15628
  (ce = {}) => ({
15629
15629
  ...ce,
15630
15630
  ref: N,
@@ -15702,7 +15702,7 @@ function q5(e) {
15702
15702
  isDisabled: x,
15703
15703
  isInvalid: D,
15704
15704
  isFocusVisible: _,
15705
- getBaseProps: Me,
15705
+ getBaseProps: Se,
15706
15706
  getWrapperProps: be,
15707
15707
  getInputProps: ve,
15708
15708
  getLabelProps: ye,
@@ -15827,7 +15827,7 @@ function Z5(e = {}) {
15827
15827
  "data-focus-visible": J(O),
15828
15828
  "data-hover": J($),
15829
15829
  "data-pressed": J(le)
15830
- }), Me = B(
15830
+ }), Se = B(
15831
15831
  (ee = {}) => ({
15832
15832
  ...ee,
15833
15833
  "aria-hidden": !0,
@@ -15899,7 +15899,7 @@ function Z5(e = {}) {
15899
15899
  isFocusVisible: O,
15900
15900
  isDisabled: pe,
15901
15901
  getBaseProps: we,
15902
- getWrapperProps: Me,
15902
+ getWrapperProps: Se,
15903
15903
  getInputProps: be,
15904
15904
  getLabelProps: ye,
15905
15905
  getThumbProps: ve,
@@ -16066,7 +16066,7 @@ function n4(e) {
16066
16066
  ), { isFocusVisible: pe, isFocused: ie, focusProps: se } = _t({
16067
16067
  autoFocus: p,
16068
16068
  isTextInput: !0
16069
- }), { isHovered: we, hoverProps: Me } = Hn({ isDisabled: !!(e != null && e.isDisabled) }), { focusProps: be, isFocusVisible: ve } = _t(), { focusWithinProps: ye } = Fa({
16069
+ }), { isHovered: we, hoverProps: Se } = Hn({ isDisabled: !!(e != null && e.isDisabled) }), { focusProps: be, isFocusVisible: ve } = _t(), { focusWithinProps: ye } = Fa({
16070
16070
  onFocusWithinChange: A
16071
16071
  }), { pressProps: Ae } = jn({
16072
16072
  isDisabled: !!(e != null && e.isDisabled),
@@ -16185,7 +16185,7 @@ function n4(e) {
16185
16185
  className: $e.inputWrapper({
16186
16186
  class: xe(d == null ? void 0 : d.inputWrapper, N ? "is-filled" : "")
16187
16187
  }),
16188
- ...fe(me, Me),
16188
+ ...fe(me, Se),
16189
16189
  onClick: (ut) => {
16190
16190
  O.current && ut.currentTarget === ut.target && O.current.focus();
16191
16191
  },
@@ -17143,21 +17143,22 @@ const ew = ({ icons: e, className: t }) => {
17143
17143
  hasLoading: l,
17144
17144
  isLoadingComplete: c,
17145
17145
  onClick: u,
17146
- onLoadingAnimationComplete: d
17146
+ onLoadingAnimationComplete: d,
17147
+ ...p
17147
17148
  }) => {
17148
- const [p, f] = ne(!1);
17149
- let h = null;
17150
- const [v, b] = ne("w-0"), w = (M) => {
17149
+ const [f, h] = ne(!1);
17150
+ let v = null;
17151
+ const [b, w] = ne("w-0"), y = (S) => {
17151
17152
  if (l) {
17152
- f(!0);
17153
- let S = 1;
17154
- h = setInterval(() => {
17155
- b(`w-${S}/4`), S < 3 ? S++ : h && clearInterval(h);
17153
+ h(!0);
17154
+ let N = 1;
17155
+ v = setInterval(() => {
17156
+ w(`w-${N}/4`), N < 3 ? N++ : v && clearInterval(v);
17156
17157
  }, 1e3);
17157
17158
  }
17158
- u && u(M);
17159
- }, y = Oe({
17160
- base: `absolute left-0 top-0 h-full rounded-full bg-transparent duration-1000 ease-in ${v}`,
17159
+ u && u(S);
17160
+ }, C = Oe({
17161
+ base: `absolute left-0 top-0 h-full rounded-full bg-transparent duration-1000 ease-in ${b}`,
17161
17162
  variants: {
17162
17163
  isLoadingComplete: {
17163
17164
  true: "w-full duration-500",
@@ -17177,7 +17178,7 @@ const ew = ({ icons: e, className: t }) => {
17177
17178
  directionCircle: ""
17178
17179
  }
17179
17180
  }
17180
- }), C = Oe({
17181
+ }), M = Oe({
17181
17182
  base: "relative !overflow-hidden rounded-full border-transparent px-10 py-4 font-bold text-white !ring-0 !ring-transparent hover:text-white focus:outline focus:outline-2 focus:-outline-offset-4 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-4 focus-visible:outline-white",
17182
17183
  variants: {
17183
17184
  size: {
@@ -17290,29 +17291,30 @@ const ew = ({ icons: e, className: t }) => {
17290
17291
  d && d();
17291
17292
  });
17292
17293
  }, [c, d]), q(() => () => {
17293
- h && clearInterval(h);
17294
- }, [h]), /* @__PURE__ */ R.jsx(
17294
+ v && clearInterval(v);
17295
+ }, [v]), /* @__PURE__ */ R.jsx(
17295
17296
  y5,
17296
17297
  {
17297
- onClick: w,
17298
+ onClick: y,
17298
17299
  className: Ln(
17299
17300
  s,
17300
- C({
17301
+ M({
17301
17302
  size: t,
17302
17303
  variant: n,
17303
17304
  disabled: r,
17304
17305
  full: o,
17305
- isLoading: p,
17306
+ isLoading: f,
17306
17307
  hasIcon: !!(a || i)
17307
17308
  })
17308
17309
  ),
17310
+ ...p,
17309
17311
  children: /* @__PURE__ */ R.jsxs("div", { children: [
17310
17312
  /* @__PURE__ */ R.jsx(
17311
17313
  "div",
17312
17314
  {
17313
17315
  className: Ln(
17314
17316
  s,
17315
- y({ isLoadingComplete: c, loadingVariant: n })
17317
+ C({ isLoadingComplete: c, loadingVariant: n })
17316
17318
  )
17317
17319
  }
17318
17320
  ),
@@ -17738,7 +17740,7 @@ const K4 = (e) => {
17738
17740
  Za(Ja("slide", !0));
17739
17741
  Za(Ja("zoom"));
17740
17742
  Za(Ja("flip"));
17741
- const sd = Se((e, t) => {
17743
+ const sd = Me((e, t) => {
17742
17744
  const { getToastToRender: n, containerRef: r, isToastActive: o } = z4(e), { className: a, style: i, rtl: s, containerId: l } = e;
17743
17745
  function c(u) {
17744
17746
  const d = cn("Toastify__toast-container", `Toastify__toast-container--${u}`, { "Toastify__toast-container--rtl": s });
@@ -17943,7 +17945,7 @@ function q4(...e) {
17943
17945
  };
17944
17946
  return n.scopeName = t.scopeName, n;
17945
17947
  }
17946
- const vo = /* @__PURE__ */ Se((e, t) => {
17948
+ const vo = /* @__PURE__ */ Me((e, t) => {
17947
17949
  const { children: n, ...r } = e, o = Rn.toArray(n), a = o.find(Q4);
17948
17950
  if (a) {
17949
17951
  const i = a.props.children, s = o.map((l) => l === a ? Rn.count(i) > 1 ? Rn.only(null) : /* @__PURE__ */ lt(i) ? i.props.children : null : l);
@@ -17956,7 +17958,7 @@ const vo = /* @__PURE__ */ Se((e, t) => {
17956
17958
  }), n);
17957
17959
  });
17958
17960
  vo.displayName = "Slot";
17959
- const Vs = /* @__PURE__ */ Se((e, t) => {
17961
+ const Vs = /* @__PURE__ */ Me((e, t) => {
17960
17962
  const { children: n, ...r } = e;
17961
17963
  return /* @__PURE__ */ lt(n) ? /* @__PURE__ */ it(n, {
17962
17964
  ...X4(r, n.props),
@@ -18007,7 +18009,7 @@ const Z4 = [
18007
18009
  "svg",
18008
18010
  "ul"
18009
18011
  ], nt = Z4.reduce((e, t) => {
18010
- const n = /* @__PURE__ */ Se((r, o) => {
18012
+ const n = /* @__PURE__ */ Me((r, o) => {
18011
18013
  const { asChild: a, ...i } = r, s = a ? vo : t;
18012
18014
  return q(() => {
18013
18015
  window[Symbol.for("radix-ui")] = !0;
@@ -18055,7 +18057,7 @@ const r3 = /* @__PURE__ */ Ye({
18055
18057
  layers: /* @__PURE__ */ new Set(),
18056
18058
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
18057
18059
  branches: /* @__PURE__ */ new Set()
18058
- }), Th = /* @__PURE__ */ Se((e, t) => {
18060
+ }), Th = /* @__PURE__ */ Me((e, t) => {
18059
18061
  var n;
18060
18062
  const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: o, onPointerDownOutside: a, onFocusOutside: i, onInteractOutside: s, onDismiss: l, ...c } = e, u = Pe(r3), [d, p] = ne(null), f = (n = d == null ? void 0 : d.ownerDocument) !== null && n !== void 0 ? n : globalThis == null ? void 0 : globalThis.document, [, h] = ne({}), v = Tt(
18061
18063
  t,
@@ -19377,7 +19379,7 @@ function K3(e) {
19377
19379
  floatingStyles: O
19378
19380
  }), [u, T, x, P, O]);
19379
19381
  }
19380
- const U3 = /* @__PURE__ */ Se((e, t) => {
19382
+ const U3 = /* @__PURE__ */ Me((e, t) => {
19381
19383
  const { children: n, width: r = 10, height: o = 5, ...a } = e;
19382
19384
  return /* @__PURE__ */ Z(nt.svg, Te({}, a, {
19383
19385
  ref: t,
@@ -19428,14 +19430,14 @@ const Rh = "Popper", [Lh, ri] = Cr(Rh), [G3, jh] = Lh(Rh), q3 = (e) => {
19428
19430
  anchor: r,
19429
19431
  onAnchorChange: o
19430
19432
  }, n);
19431
- }, Q3 = "PopperAnchor", X3 = /* @__PURE__ */ Se((e, t) => {
19433
+ }, Q3 = "PopperAnchor", X3 = /* @__PURE__ */ Me((e, t) => {
19432
19434
  const { __scopePopper: n, virtualRef: r, ...o } = e, a = jh(Q3, n), i = U(null), s = Tt(t, i);
19433
19435
  return q(() => {
19434
19436
  a.onAnchorChange((r == null ? void 0 : r.current) || i.current);
19435
19437
  }), r ? null : /* @__PURE__ */ Z(nt.div, Te({}, o, {
19436
19438
  ref: s
19437
19439
  }));
19438
- }), _h = "PopperContent", [Z3, J3] = Lh(_h), e6 = /* @__PURE__ */ Se((e, t) => {
19440
+ }), _h = "PopperContent", [Z3, J3] = Lh(_h), e6 = /* @__PURE__ */ Me((e, t) => {
19439
19441
  var n, r, o, a, i, s, l, c;
19440
19442
  const { __scopePopper: u, side: d = "bottom", sideOffset: p = 0, align: f = "center", alignOffset: h = 0, arrowPadding: v = 0, avoidCollisions: b = !0, collisionBoundary: w = [], collisionPadding: y = 0, sticky: C = "partial", hideWhenDetached: M = !1, updatePositionStrategy: S = "optimized", onPlaced: N, ...k } = e, m = jh(_h, u), [A, D] = ne(null), T = Tt(
19441
19443
  t,
@@ -19497,7 +19499,7 @@ const Rh = "Popper", [Lh, ri] = Cr(Rh), [G3, jh] = Lh(Rh), q3 = (e) => {
19497
19499
  ...W
19498
19500
  })
19499
19501
  ]
19500
- }), [we, Me] = Fh(pe), be = Qt(N);
19502
+ }), [we, Se] = Fh(pe), be = Qt(N);
19501
19503
  gr(() => {
19502
19504
  ie && (be == null || be());
19503
19505
  }, [
@@ -19533,7 +19535,7 @@ const Rh = "Popper", [Lh, ri] = Cr(Rh), [G3, jh] = Lh(Rh), q3 = (e) => {
19533
19535
  shouldHideArrow: Ae
19534
19536
  }, /* @__PURE__ */ Z(nt.div, Te({
19535
19537
  "data-side": we,
19536
- "data-align": Me
19538
+ "data-align": Se
19537
19539
  }, k, {
19538
19540
  ref: T,
19539
19541
  style: {
@@ -19550,7 +19552,7 @@ const Rh = "Popper", [Lh, ri] = Cr(Rh), [G3, jh] = Lh(Rh), q3 = (e) => {
19550
19552
  right: "left",
19551
19553
  bottom: "top",
19552
19554
  left: "right"
19553
- }, r6 = /* @__PURE__ */ Se(function(t, n) {
19555
+ }, r6 = /* @__PURE__ */ Me(function(t, n) {
19554
19556
  const { __scopePopper: r, ...o } = t, a = J3(t6, r), i = n6[a.placedSide];
19555
19557
  return (
19556
19558
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
@@ -19616,7 +19618,7 @@ function Fh(e) {
19616
19618
  n
19617
19619
  ];
19618
19620
  }
19619
- const Vh = q3, zh = X3, Wh = e6, i6 = r6, Bh = /* @__PURE__ */ Se((e, t) => {
19621
+ const Vh = q3, zh = X3, Wh = e6, i6 = r6, Bh = /* @__PURE__ */ Me((e, t) => {
19620
19622
  var n;
19621
19623
  const { container: r = globalThis == null || (n = globalThis.document) === null || n === void 0 ? void 0 : n.body, ...o } = e;
19622
19624
  return r ? /* @__PURE__ */ k0.createPortal(/* @__PURE__ */ Z(nt.div, Te({}, o, {
@@ -19729,7 +19731,7 @@ function c6({ defaultProp: e, onChange: t }) {
19729
19731
  a
19730
19732
  ]), n;
19731
19733
  }
19732
- const u6 = /* @__PURE__ */ Se((e, t) => /* @__PURE__ */ Z(nt.span, Te({}, e, {
19734
+ const u6 = /* @__PURE__ */ Me((e, t) => /* @__PURE__ */ Z(nt.span, Te({}, e, {
19733
19735
  ref: t,
19734
19736
  style: {
19735
19737
  // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
@@ -19822,7 +19824,7 @@ const u6 = /* @__PURE__ */ Se((e, t) => /* @__PURE__ */ Z(nt.span, Te({}, e, {
19822
19824
  onClose: S,
19823
19825
  disableHoverableContent: h
19824
19826
  }, n));
19825
- }, yd = "TooltipTrigger", b6 = /* @__PURE__ */ Se((e, t) => {
19827
+ }, yd = "TooltipTrigger", b6 = /* @__PURE__ */ Me((e, t) => {
19826
19828
  const { __scopeTooltip: n, ...r } = e, o = Oo(yd, n), a = zl(yd, n), i = ii(n), s = U(null), l = Tt(t, s, o.onTriggerChange), c = U(!1), u = U(!1), d = B(
19827
19829
  () => c.current = !1,
19828
19830
  []
@@ -19868,7 +19870,7 @@ const u6 = /* @__PURE__ */ Se((e, t) => /* @__PURE__ */ Z(nt.span, Te({}, e, {
19868
19870
  asChild: !0,
19869
19871
  container: o
19870
19872
  }, r)));
19871
- }, xo = "TooltipContent", C6 = /* @__PURE__ */ Se((e, t) => {
19873
+ }, xo = "TooltipContent", C6 = /* @__PURE__ */ Me((e, t) => {
19872
19874
  const n = x6(xo, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...a } = e, i = Oo(xo, e.__scopeTooltip);
19873
19875
  return /* @__PURE__ */ Z(Mr, {
19874
19876
  present: r || i.open
@@ -19881,7 +19883,7 @@ const u6 = /* @__PURE__ */ Se((e, t) => /* @__PURE__ */ Z(nt.span, Te({}, e, {
19881
19883
  }, a, {
19882
19884
  ref: t
19883
19885
  })));
19884
- }), P6 = /* @__PURE__ */ Se((e, t) => {
19886
+ }), P6 = /* @__PURE__ */ Me((e, t) => {
19885
19887
  const n = Oo(xo, e.__scopeTooltip), r = zl(xo, e.__scopeTooltip), o = U(null), a = Tt(t, o), [i, s] = ne(null), { trigger: l, onClose: c } = n, u = o.current, { onPointerInTransitChange: d } = r, p = B(() => {
19886
19888
  s(null), d(!1);
19887
19889
  }, [
@@ -19934,7 +19936,7 @@ const u6 = /* @__PURE__ */ Se((e, t) => /* @__PURE__ */ Z(nt.span, Te({}, e, {
19934
19936
  }));
19935
19937
  }), [T6, M6] = ai(Wl, {
19936
19938
  isInside: !1
19937
- }), Uh = /* @__PURE__ */ Se((e, t) => {
19939
+ }), Uh = /* @__PURE__ */ Me((e, t) => {
19938
19940
  const { __scopeTooltip: n, children: r, "aria-label": o, onEscapeKeyDown: a, onPointerDownOutside: i, ...s } = e, l = Oo(xo, n), c = ii(n), { onClose: u } = l;
19939
19941
  return q(() => (document.addEventListener(Ks, u), () => document.removeEventListener(Ks, u)), [
19940
19942
  u
@@ -19979,7 +19981,7 @@ const u6 = /* @__PURE__ */ Se((e, t) => /* @__PURE__ */ Z(nt.span, Te({}, e, {
19979
19981
  id: l.contentId,
19980
19982
  role: "tooltip"
19981
19983
  }, o || r))));
19982
- }), S6 = "TooltipArrow", $6 = /* @__PURE__ */ Se((e, t) => {
19984
+ }), S6 = "TooltipArrow", $6 = /* @__PURE__ */ Me((e, t) => {
19983
19985
  const { __scopeTooltip: n, ...r } = e, o = ii(n);
19984
19986
  return M6(S6, n).isInside ? null : /* @__PURE__ */ Z(i6, Te({}, o, r, {
19985
19987
  ref: t
@@ -20236,13 +20238,13 @@ const qi = "rovingFocusGroup.onEntryFocus", W6 = {
20236
20238
  cancelable: !0
20237
20239
  }, Bl = "RovingFocusGroup", [Us, Yh, B6] = V6(Bl), [K6, Gh] = Cr(Bl, [
20238
20240
  B6
20239
- ]), [U6, H6] = K6(Bl), Y6 = /* @__PURE__ */ Se((e, t) => /* @__PURE__ */ Z(Us.Provider, {
20241
+ ]), [U6, H6] = K6(Bl), Y6 = /* @__PURE__ */ Me((e, t) => /* @__PURE__ */ Z(Us.Provider, {
20240
20242
  scope: e.__scopeRovingFocusGroup
20241
20243
  }, /* @__PURE__ */ Z(Us.Slot, {
20242
20244
  scope: e.__scopeRovingFocusGroup
20243
20245
  }, /* @__PURE__ */ Z(G6, Te({}, e, {
20244
20246
  ref: t
20245
- }))))), G6 = /* @__PURE__ */ Se((e, t) => {
20247
+ }))))), G6 = /* @__PURE__ */ Me((e, t) => {
20246
20248
  const { __scopeRovingFocusGroup: n, orientation: r, loop: o = !1, dir: a, currentTabStopId: i, defaultCurrentTabStopId: s, onCurrentTabStopIdChange: l, onEntryFocus: c, ...u } = e, d = U(null), p = Tt(t, d), f = Hh(a), [h = null, v] = oi({
20247
20249
  prop: i,
20248
20250
  defaultProp: s,
@@ -20322,7 +20324,7 @@ const qi = "rovingFocusGroup.onEntryFocus", W6 = {
20322
20324
  () => w(!1)
20323
20325
  )
20324
20326
  })));
20325
- }), q6 = "RovingFocusGroupItem", Q6 = /* @__PURE__ */ Se((e, t) => {
20327
+ }), q6 = "RovingFocusGroupItem", Q6 = /* @__PURE__ */ Me((e, t) => {
20326
20328
  const { __scopeRovingFocusGroup: n, focusable: r = !0, active: o = !1, tabStopId: a, ...i } = e, s = ei(), l = a || s, c = H6(q6, n), u = c.currentTabStopId === l, d = Yh(n), { onFocusableItemAdd: p, onFocusableItemRemove: f } = c;
20327
20329
  return q(() => {
20328
20330
  if (r)
@@ -20413,7 +20415,7 @@ function e7(e, t) {
20413
20415
  }
20414
20416
  const t7 = Y6, n7 = Q6, Qh = "Tabs", [r7, lw] = Cr(Qh, [
20415
20417
  Gh
20416
- ]), Xh = Gh(), [o7, Kl] = r7(Qh), a7 = /* @__PURE__ */ Se((e, t) => {
20418
+ ]), Xh = Gh(), [o7, Kl] = r7(Qh), a7 = /* @__PURE__ */ Me((e, t) => {
20417
20419
  const { __scopeTabs: n, value: r, onValueChange: o, defaultValue: a, orientation: i = "horizontal", dir: s, activationMode: l = "automatic", ...c } = e, u = Hh(s), [d, p] = oi({
20418
20420
  prop: r,
20419
20421
  onChange: o,
@@ -20433,7 +20435,7 @@ const t7 = Y6, n7 = Q6, Qh = "Tabs", [r7, lw] = Cr(Qh, [
20433
20435
  }, c, {
20434
20436
  ref: t
20435
20437
  })));
20436
- }), i7 = "TabsList", s7 = /* @__PURE__ */ Se((e, t) => {
20438
+ }), i7 = "TabsList", s7 = /* @__PURE__ */ Me((e, t) => {
20437
20439
  const { __scopeTabs: n, loop: r = !0, ...o } = e, a = Kl(i7, n), i = Xh(n);
20438
20440
  return /* @__PURE__ */ Z(t7, Te({
20439
20441
  asChild: !0
@@ -20447,7 +20449,7 @@ const t7 = Y6, n7 = Q6, Qh = "Tabs", [r7, lw] = Cr(Qh, [
20447
20449
  }, o, {
20448
20450
  ref: t
20449
20451
  })));
20450
- }), l7 = "TabsTrigger", c7 = /* @__PURE__ */ Se((e, t) => {
20452
+ }), l7 = "TabsTrigger", c7 = /* @__PURE__ */ Me((e, t) => {
20451
20453
  const { __scopeTabs: n, value: r, disabled: o = !1, ...a } = e, i = Kl(l7, n), s = Xh(n), l = Zh(i.baseId, r), c = Jh(i.baseId, r), u = r === i.value;
20452
20454
  return /* @__PURE__ */ Z(n7, Te({
20453
20455
  asChild: !0
@@ -20479,7 +20481,7 @@ const t7 = Y6, n7 = Q6, Qh = "Tabs", [r7, lw] = Cr(Qh, [
20479
20481
  !u && !o && d && i.onValueChange(r);
20480
20482
  })
20481
20483
  })));
20482
- }), u7 = "TabsContent", d7 = /* @__PURE__ */ Se((e, t) => {
20484
+ }), u7 = "TabsContent", d7 = /* @__PURE__ */ Me((e, t) => {
20483
20485
  const { __scopeTabs: n, value: r, forceMount: o, children: a, ...i } = e, s = Kl(u7, n), l = Zh(s.baseId, r), c = Jh(s.baseId, r), u = r === s.value, d = U(u);
20484
20486
  return q(() => {
20485
20487
  const p = requestAnimationFrame(
@@ -20569,7 +20571,7 @@ const f7 = a7, p7 = s7, h7 = c7, m7 = d7, cw = ({
20569
20571
  ]
20570
20572
  }
20571
20573
  );
20572
- }, e0 = Se(
20574
+ }, e0 = Me(
20573
20575
  ({
20574
20576
  disabled: e,
20575
20577
  isDatePicker: t,
@@ -20724,20 +20726,23 @@ const f7 = a7, p7 = s7, h7 = c7, m7 = d7, cw = ({
20724
20726
  i && /* @__PURE__ */ R.jsx("div", { ...T(), children: i })
20725
20727
  ] });
20726
20728
  }
20727
- ), uw = (e) => {
20728
- const [t, n] = ne(!1), r = () => {
20729
- n((o) => !o);
20730
- };
20731
- return /* @__PURE__ */ R.jsx(
20732
- e0,
20733
- {
20734
- icon: t ? "eye" : "eye-off",
20735
- type: t ? "text" : "password",
20736
- iconAction: r,
20737
- ...e
20738
- }
20739
- );
20740
- };
20729
+ ), uw = Me(
20730
+ (e, t) => {
20731
+ const [n, r] = ne(!1), o = () => {
20732
+ r((a) => !a);
20733
+ };
20734
+ return /* @__PURE__ */ R.jsx(
20735
+ e0,
20736
+ {
20737
+ ref: t,
20738
+ icon: n ? "eye" : "eye-off",
20739
+ type: n ? "text" : "password",
20740
+ iconAction: o,
20741
+ ...e
20742
+ }
20743
+ );
20744
+ }
20745
+ );
20741
20746
  let Qi = 0;
20742
20747
  function g7() {
20743
20748
  q(() => {
@@ -20757,7 +20762,7 @@ function xd() {
20757
20762
  const Xi = "focusScope.autoFocusOnMount", Zi = "focusScope.autoFocusOnUnmount", wd = {
20758
20763
  bubbles: !1,
20759
20764
  cancelable: !0
20760
- }, v7 = /* @__PURE__ */ Se((e, t) => {
20765
+ }, v7 = /* @__PURE__ */ Me((e, t) => {
20761
20766
  const { loop: n = !1, trapped: r = !1, onMountAutoFocus: o, onUnmountAutoFocus: a, ...i } = e, [s, l] = ne(null), c = Qt(o), u = Qt(a), d = U(null), p = Tt(
20762
20767
  t,
20763
20768
  (v) => l(v)
@@ -21207,7 +21212,7 @@ const V7 = s0, l0 = "Popover", [c0, dw] = Cr(l0, [
21207
21212
  ),
21208
21213
  modal: i
21209
21214
  }, n));
21210
- }, B7 = "PopoverTrigger", K7 = /* @__PURE__ */ Se((e, t) => {
21215
+ }, B7 = "PopoverTrigger", K7 = /* @__PURE__ */ Me((e, t) => {
21211
21216
  const { __scopePopover: n, ...r } = e, o = Sr(B7, n), a = Ul(n), i = Tt(t, o.triggerRef), s = /* @__PURE__ */ Z(nt.button, Te({
21212
21217
  type: "button",
21213
21218
  "aria-haspopup": "dialog",
@@ -21234,7 +21239,7 @@ const V7 = s0, l0 = "Popover", [c0, dw] = Cr(l0, [
21234
21239
  asChild: !0,
21235
21240
  container: o
21236
21241
  }, r)));
21237
- }, wo = "PopoverContent", G7 = /* @__PURE__ */ Se((e, t) => {
21242
+ }, wo = "PopoverContent", G7 = /* @__PURE__ */ Me((e, t) => {
21238
21243
  const n = H7(wo, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, a = Sr(wo, e.__scopePopover);
21239
21244
  return /* @__PURE__ */ Z(Mr, {
21240
21245
  present: r || a.open
@@ -21243,7 +21248,7 @@ const V7 = s0, l0 = "Popover", [c0, dw] = Cr(l0, [
21243
21248
  })) : /* @__PURE__ */ Z(Q7, Te({}, o, {
21244
21249
  ref: t
21245
21250
  })));
21246
- }), q7 = /* @__PURE__ */ Se((e, t) => {
21251
+ }), q7 = /* @__PURE__ */ Me((e, t) => {
21247
21252
  const n = Sr(wo, e.__scopePopover), r = U(null), o = Tt(t, r), a = U(!1);
21248
21253
  return q(() => {
21249
21254
  const i = r.current;
@@ -21274,7 +21279,7 @@ const V7 = s0, l0 = "Popover", [c0, dw] = Cr(l0, [
21274
21279
  }
21275
21280
  )
21276
21281
  })));
21277
- }), Q7 = /* @__PURE__ */ Se((e, t) => {
21282
+ }), Q7 = /* @__PURE__ */ Me((e, t) => {
21278
21283
  const n = Sr(wo, e.__scopePopover), r = U(!1), o = U(!1);
21279
21284
  return /* @__PURE__ */ Z(d0, Te({}, e, {
21280
21285
  ref: t,
@@ -21295,7 +21300,7 @@ const V7 = s0, l0 = "Popover", [c0, dw] = Cr(l0, [
21295
21300
  ((s = n.triggerRef.current) === null || s === void 0 ? void 0 : s.contains(l)) && a.preventDefault(), a.detail.originalEvent.type === "focusin" && o.current && a.preventDefault();
21296
21301
  }
21297
21302
  }));
21298
- }), d0 = /* @__PURE__ */ Se((e, t) => {
21303
+ }), d0 = /* @__PURE__ */ Me((e, t) => {
21299
21304
  const { __scopePopover: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: a, disableOutsidePointerEvents: i, onEscapeKeyDown: s, onPointerDownOutside: l, onFocusOutside: c, onInteractOutside: u, ...d } = e, p = Sr(wo, n), f = Ul(n);
21300
21305
  return g7(), /* @__PURE__ */ Z(v7, {
21301
21306
  asChild: !0,
@@ -22858,7 +22863,7 @@ function d9() {
22858
22863
  }
22859
22864
  }
22860
22865
  var se = w.ReactCurrentDispatcher, we;
22861
- function Me(g, I, L) {
22866
+ function Se(g, I, L) {
22862
22867
  {
22863
22868
  if (we === void 0)
22864
22869
  try {
@@ -22944,7 +22949,7 @@ function d9() {
22944
22949
  } finally {
22945
22950
  be = !1, se.current = ae, ie(), Error.prepareStackTrace = te;
22946
22951
  }
22947
- var ft = g ? g.displayName || g.name : "", zr = ft ? Me(ft) : "";
22952
+ var ft = g ? g.displayName || g.name : "", zr = ft ? Se(ft) : "";
22948
22953
  return typeof g == "function" && ve.set(g, zr), zr;
22949
22954
  }
22950
22955
  function Ne(g, I, L) {
@@ -22960,12 +22965,12 @@ function d9() {
22960
22965
  if (typeof g == "function")
22961
22966
  return Ae(g, ce(g));
22962
22967
  if (typeof g == "string")
22963
- return Me(g);
22968
+ return Se(g);
22964
22969
  switch (g) {
22965
22970
  case c:
22966
- return Me("Suspense");
22971
+ return Se("Suspense");
22967
22972
  case u:
22968
- return Me("SuspenseList");
22973
+ return Se("SuspenseList");
22969
22974
  }
22970
22975
  if (typeof g == "object")
22971
22976
  switch (g.$$typeof) {
@@ -23594,7 +23599,7 @@ function W9(e) {
23594
23599
  function B9(e) {
23595
23600
  return F.jsx("svg", de({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: F.jsx("path", { d: "M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z", fill: "currentColor" }) }));
23596
23601
  }
23597
- var La = Se(function(e, t) {
23602
+ var La = Me(function(e, t) {
23598
23603
  var n = Le(), r = n.classNames, o = n.styles, a = [r.button_reset, r.button];
23599
23604
  e.className && a.push(e.className);
23600
23605
  var i = a.join(" "), s = de(de({}, o.button_reset), o.button);