@aic-kits/react 0.35.6 → 0.36.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.
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ var Iy = (e, n, r) => n in e ? Oy(e, n, { enumerable: !0, configurable: !0, writ
3
3
  var ri = (e, n, r) => Iy(e, typeof n != "symbol" ? n + "" : n, r);
4
4
  import { jsx as p, jsxs as X, Fragment as Dt } from "react/jsx-runtime";
5
5
  import { styled as zy, css as Xi, keyframes as Af, useTheme as Fy, StyleSheetManager as Ry, ThemeProvider as Ly } from "styled-components";
6
- import y, { forwardRef as it, createContext as Pl, useContext as Hl, useRef as _e, useEffect as ke, useState as se, useDeferredValue as Qi, createElement as Dy, useLayoutEffect as Bl, useCallback as G, useMemo as Ye, useImperativeHandle as mi } from "react";
6
+ import y, { forwardRef as it, createContext as Pl, useContext as Hl, useRef as _e, useEffect as ke, useState as se, useDeferredValue as Qi, createElement as Dy, useLayoutEffect as Bl, useCallback as G, useMemo as Ge, useImperativeHandle as mi } from "react";
7
7
  import { createPortal as Ji } from "react-dom";
8
8
  var sa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ui = { exports: {} };
9
9
  /**
@@ -28,7 +28,7 @@ function Py() {
28
28
  ["partial", $],
29
29
  ["partialRight", M],
30
30
  ["rearg", D]
31
- ], be = "[object Arguments]", P = "[object Array]", me = "[object AsyncFunction]", te = "[object Boolean]", Ae = "[object Date]", Te = "[object DOMException]", ae = "[object Error]", K = "[object Function]", ve = "[object GeneratorFunction]", U = "[object Map]", ue = "[object Number]", $e = "[object Null]", He = "[object Object]", Ge = "[object Promise]", ot = "[object Proxy]", Se = "[object RegExp]", Ie = "[object Set]", Ve = "[object String]", fe = "[object Symbol]", ze = "[object Undefined]", Re = "[object WeakMap]", et = "[object WeakSet]", at = "[object ArrayBuffer]", xt = "[object DataView]", At = "[object Float32Array]", Tn = "[object Float64Array]", tn = "[object Int8Array]", Nt = "[object Int16Array]", ct = "[object Int32Array]", un = "[object Uint8Array]", nr = "[object Uint8ClampedArray]", xr = "[object Uint16Array]", rr = "[object Uint32Array]", Vr = /\b__p \+= '';/g, Ha = /\b(__p \+=) '' \+/g, so = /(__e\(.*?\)|\b__t\)) \+\n'';/g, lo = /&(?:amp|lt|gt|quot|#39);/g, vi = /[&<>"']/g, Ba = RegExp(lo.source), Va = RegExp(vi.source), co = /<%-([\s\S]+?)%>/g, jt = /<%([\s\S]+?)%>/g, Sn = /<%=([\s\S]+?)%>/g, Za = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, wi = /^\w*$/, _r = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Mn = /[\\^$.*+?()[\]{}|]/g, Sr = RegExp(Mn.source), On = /^\s+/, uo = /\s/, fo = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Na = /\{\n\/\* \[wrapped with (.+)\] \*/, ja = /,? & /, Ua = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ga = /[()=,{}\[\]\/\s]/, qa = /\\(\\)?/g, Ya = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, xi = /\w*$/, _i = /^[-+]0x[0-9a-f]+$/i, Ka = /^0b[01]+$/i, Xa = /^\[object .+?Constructor\]$/, ho = /^0o[0-7]+$/i, po = /^(?:0|[1-9]\d*)$/, go = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Cr = /($^)/, mo = /['\n\r\u2028\u2029\\]/g, $r = "\\ud800-\\udfff", yo = "\\u0300-\\u036f", bo = "\\ufe20-\\ufe2f", vo = "\\u20d0-\\u20ff", xe = yo + bo + vo, mt = "\\u2700-\\u27bf", Ut = "a-z\\xdf-\\xf6\\xf8-\\xff", dn = "\\xac\\xb1\\xd7\\xf7", wo = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", T1 = "\\u2000-\\u206f", M1 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", fc = "A-Z\\xc0-\\xd6\\xd8-\\xde", hc = "\\ufe0e\\ufe0f", pc = dn + wo + T1 + M1, Qa = "['’]", O1 = "[" + $r + "]", gc = "[" + pc + "]", xo = "[" + xe + "]", mc = "\\d+", I1 = "[" + mt + "]", yc = "[" + Ut + "]", bc = "[^" + $r + pc + mc + mt + Ut + fc + "]", Ja = "\\ud83c[\\udffb-\\udfff]", z1 = "(?:" + xo + "|" + Ja + ")", vc = "[^" + $r + "]", es = "(?:\\ud83c[\\udde6-\\uddff]){2}", ts = "[\\ud800-\\udbff][\\udc00-\\udfff]", Zr = "[" + fc + "]", wc = "\\u200d", xc = "(?:" + yc + "|" + bc + ")", F1 = "(?:" + Zr + "|" + bc + ")", _c = "(?:" + Qa + "(?:d|ll|m|re|s|t|ve))?", Sc = "(?:" + Qa + "(?:D|LL|M|RE|S|T|VE))?", Cc = z1 + "?", $c = "[" + hc + "]?", R1 = "(?:" + wc + "(?:" + [vc, es, ts].join("|") + ")" + $c + Cc + ")*", L1 = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", D1 = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ec = $c + Cc + R1, W1 = "(?:" + [I1, es, ts].join("|") + ")" + Ec, P1 = "(?:" + [vc + xo + "?", xo, es, ts, O1].join("|") + ")", H1 = RegExp(Qa, "g"), B1 = RegExp(xo, "g"), ns = RegExp(Ja + "(?=" + Ja + ")|" + P1 + Ec, "g"), V1 = RegExp([
31
+ ], be = "[object Arguments]", P = "[object Array]", me = "[object AsyncFunction]", te = "[object Boolean]", Ae = "[object Date]", Te = "[object DOMException]", ae = "[object Error]", K = "[object Function]", ve = "[object GeneratorFunction]", U = "[object Map]", ue = "[object Number]", $e = "[object Null]", He = "[object Object]", qe = "[object Promise]", ot = "[object Proxy]", Se = "[object RegExp]", Ie = "[object Set]", Ve = "[object String]", fe = "[object Symbol]", ze = "[object Undefined]", Re = "[object WeakMap]", et = "[object WeakSet]", at = "[object ArrayBuffer]", xt = "[object DataView]", At = "[object Float32Array]", Tn = "[object Float64Array]", tn = "[object Int8Array]", Nt = "[object Int16Array]", ct = "[object Int32Array]", un = "[object Uint8Array]", nr = "[object Uint8ClampedArray]", xr = "[object Uint16Array]", rr = "[object Uint32Array]", Vr = /\b__p \+= '';/g, Ha = /\b(__p \+=) '' \+/g, so = /(__e\(.*?\)|\b__t\)) \+\n'';/g, lo = /&(?:amp|lt|gt|quot|#39);/g, vi = /[&<>"']/g, Ba = RegExp(lo.source), Va = RegExp(vi.source), co = /<%-([\s\S]+?)%>/g, jt = /<%([\s\S]+?)%>/g, Sn = /<%=([\s\S]+?)%>/g, Za = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, wi = /^\w*$/, _r = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Mn = /[\\^$.*+?()[\]{}|]/g, Sr = RegExp(Mn.source), On = /^\s+/, uo = /\s/, fo = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Na = /\{\n\/\* \[wrapped with (.+)\] \*/, ja = /,? & /, Ua = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ga = /[()=,{}\[\]\/\s]/, qa = /\\(\\)?/g, Ya = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, xi = /\w*$/, _i = /^[-+]0x[0-9a-f]+$/i, Ka = /^0b[01]+$/i, Xa = /^\[object .+?Constructor\]$/, ho = /^0o[0-7]+$/i, po = /^(?:0|[1-9]\d*)$/, go = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Cr = /($^)/, mo = /['\n\r\u2028\u2029\\]/g, $r = "\\ud800-\\udfff", yo = "\\u0300-\\u036f", bo = "\\ufe20-\\ufe2f", vo = "\\u20d0-\\u20ff", xe = yo + bo + vo, mt = "\\u2700-\\u27bf", Ut = "a-z\\xdf-\\xf6\\xf8-\\xff", dn = "\\xac\\xb1\\xd7\\xf7", wo = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", T1 = "\\u2000-\\u206f", M1 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", fc = "A-Z\\xc0-\\xd6\\xd8-\\xde", hc = "\\ufe0e\\ufe0f", pc = dn + wo + T1 + M1, Qa = "['’]", O1 = "[" + $r + "]", gc = "[" + pc + "]", xo = "[" + xe + "]", mc = "\\d+", I1 = "[" + mt + "]", yc = "[" + Ut + "]", bc = "[^" + $r + pc + mc + mt + Ut + fc + "]", Ja = "\\ud83c[\\udffb-\\udfff]", z1 = "(?:" + xo + "|" + Ja + ")", vc = "[^" + $r + "]", es = "(?:\\ud83c[\\udde6-\\uddff]){2}", ts = "[\\ud800-\\udbff][\\udc00-\\udfff]", Zr = "[" + fc + "]", wc = "\\u200d", xc = "(?:" + yc + "|" + bc + ")", F1 = "(?:" + Zr + "|" + bc + ")", _c = "(?:" + Qa + "(?:d|ll|m|re|s|t|ve))?", Sc = "(?:" + Qa + "(?:D|LL|M|RE|S|T|VE))?", Cc = z1 + "?", $c = "[" + hc + "]?", R1 = "(?:" + wc + "(?:" + [vc, es, ts].join("|") + ")" + $c + Cc + ")*", L1 = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", D1 = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ec = $c + Cc + R1, W1 = "(?:" + [I1, es, ts].join("|") + ")" + Ec, P1 = "(?:" + [vc + xo + "?", xo, es, ts, O1].join("|") + ")", H1 = RegExp(Qa, "g"), B1 = RegExp(xo, "g"), ns = RegExp(Ja + "(?=" + Ja + ")|" + P1 + Ec, "g"), V1 = RegExp([
32
32
  Zr + "?" + yc + "+" + _c + "(?=" + [gc, Zr, "$"].join("|") + ")",
33
33
  F1 + "+" + Sc + "(?=" + [gc, Zr + xc, "$"].join("|") + ")",
34
34
  Zr + "?" + xc + "+" + _c,
@@ -1986,7 +1986,7 @@ function Py() {
1986
1986
  or(i, Vs(t)), t = Oo(t);
1987
1987
  return i;
1988
1988
  } : al, Lt = Pt;
1989
- (ms && Lt(new ms(new ArrayBuffer(1))) != xt || $i && Lt(new $i()) != U || ys && Lt(ys.resolve()) != Ge || Yr && Lt(new Yr()) != Ie || Ei && Lt(new Ei()) != Re) && (Lt = function(t) {
1989
+ (ms && Lt(new ms(new ArrayBuffer(1))) != xt || $i && Lt(new $i()) != U || ys && Lt(ys.resolve()) != qe || Yr && Lt(new Yr()) != Ie || Ei && Lt(new Ei()) != Re) && (Lt = function(t) {
1990
1990
  var i = Pt(t), o = i == He ? t.constructor : r, d = o ? zr(o) : "";
1991
1991
  if (d)
1992
1992
  switch (d) {
@@ -1995,7 +1995,7 @@ function Py() {
1995
1995
  case Hh:
1996
1996
  return U;
1997
1997
  case Bh:
1998
- return Ge;
1998
+ return qe;
1999
1999
  case Vh:
2000
2000
  return Ie;
2001
2001
  case Zh:
@@ -4376,6 +4376,23 @@ const O_ = (e = vr, n = Vl, r = Vy) => {
4376
4376
  input: "md"
4377
4377
  },
4378
4378
  sizes: {
4379
+ xs: {
4380
+ containerPadding: "sm",
4381
+ panelGap: "sm",
4382
+ headerHeight: "lg",
4383
+ headerFontSize: "small",
4384
+ headerFontWeight: "semibold",
4385
+ navButtonSize: "xs",
4386
+ navIconSize: "xs",
4387
+ weekdayFontSize: "xs",
4388
+ dateCellSize: "lg",
4389
+ dateFontSize: "xs",
4390
+ cellGap: "xs",
4391
+ timezoneFontSize: "xs",
4392
+ borderWidth: "thin",
4393
+ viewHeight: 218,
4394
+ viewWidth: 250
4395
+ },
4379
4396
  sm: {
4380
4397
  containerPadding: "md",
4381
4398
  panelGap: "md",
@@ -4520,7 +4537,7 @@ const O_ = (e = vr, n = Vl, r = Vy) => {
4520
4537
  calendar: {
4521
4538
  weeksToShow: 6,
4522
4539
  daysInWeek: 7,
4523
- panelMinWidth: 280
4540
+ panelMinWidth: 220
4524
4541
  },
4525
4542
  popup: {
4526
4543
  offset: "sm",
@@ -5249,6 +5266,16 @@ const O_ = (e = vr, n = Vl, r = Vy) => {
5249
5266
  popup: "lg"
5250
5267
  },
5251
5268
  sizes: {
5269
+ xs: {
5270
+ inputHeight: "lg",
5271
+ inputPaddingHorizontal: "xs",
5272
+ inputFontSize: "2xs",
5273
+ iconSize: "xs",
5274
+ popupPadding: "xs",
5275
+ wheelItemHeight: 22,
5276
+ wheelWidth: 30,
5277
+ wheelFontSize: "xs"
5278
+ },
5252
5279
  sm: {
5253
5280
  inputHeight: "xl",
5254
5281
  inputPaddingHorizontal: "sm",
@@ -7471,7 +7498,7 @@ function Jf() {
7471
7498
  };
7472
7499
  }, [e]), e;
7473
7500
  }
7474
- var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function", mr = "undefined", pi = "object", zl = "string", Qt = "browser", Yn = "cpu", Ln = "device", kn = "engine", _n = "os", li = "result", he = "name", J = "type", de = "vendor", pe = "version", Jt = "architecture", eo = "major", oe = "model", Gi = "console", qe = "mobile", dt = "tablet", Ct = "smarttv", Rn = "wearable", cl = "xr", qi = "embedded", Wi = "inapp", Ql = "brands", Wr = "formFactors", Jl = "fullVersionList", ci = "platform", ec = "platformVersion", Ra = "bitness", wr = "sec-ch-ua", A4 = wr + "-full-version-list", k4 = wr + "-arch", T4 = wr + "-" + Ra, M4 = wr + "-form-factors", O4 = wr + "-" + qe, I4 = wr + "-" + oe, e1 = wr + "-" + ci, z4 = e1 + "-version", t1 = [Ql, Jl, qe, oe, ci, ec, Jt, Wr, Ra], la = "Amazon", ii = "Apple", T0 = "ASUS", M0 = "BlackBerry", Rr = "Google", O0 = "Huawei", I0 = "Lenovo", z0 = "Honor", ca = "LG", ul = "Microsoft", dl = "Motorola", fl = "Nvidia", F0 = "OnePlus", hl = "OPPO", Pi = "Samsung", R0 = "Sharp", Hi = "Sony", pl = "Xiaomi", gl = "Zebra", L0 = "Chrome", D0 = "Chromium", hr = "Chromecast", F4 = "Edge", Bi = "Firefox", Vi = "Opera", ml = "Facebook", W0 = "Sogou", oi = "Mobile ", Zi = " Browser", Fl = "Windows", R4 = typeof window !== mr, en = R4 && window.navigator ? window.navigator : void 0, pr = en && en.userAgentData ? en.userAgentData : void 0, L4 = function(e, n) {
7501
+ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function", mr = "undefined", pi = "object", zl = "string", Qt = "browser", Yn = "cpu", Ln = "device", kn = "engine", _n = "os", li = "result", he = "name", J = "type", de = "vendor", pe = "version", Jt = "architecture", eo = "major", oe = "model", Gi = "console", Ye = "mobile", dt = "tablet", Ct = "smarttv", Rn = "wearable", cl = "xr", qi = "embedded", Wi = "inapp", Ql = "brands", Wr = "formFactors", Jl = "fullVersionList", ci = "platform", ec = "platformVersion", Ra = "bitness", wr = "sec-ch-ua", A4 = wr + "-full-version-list", k4 = wr + "-arch", T4 = wr + "-" + Ra, M4 = wr + "-form-factors", O4 = wr + "-" + Ye, I4 = wr + "-" + oe, e1 = wr + "-" + ci, z4 = e1 + "-version", t1 = [Ql, Jl, Ye, oe, ci, ec, Jt, Wr, Ra], la = "Amazon", ii = "Apple", T0 = "ASUS", M0 = "BlackBerry", Rr = "Google", O0 = "Huawei", I0 = "Lenovo", z0 = "Honor", ca = "LG", ul = "Microsoft", dl = "Motorola", fl = "Nvidia", F0 = "OnePlus", hl = "OPPO", Pi = "Samsung", R0 = "Sharp", Hi = "Sony", pl = "Xiaomi", gl = "Zebra", L0 = "Chrome", D0 = "Chromium", hr = "Chromecast", F4 = "Edge", Bi = "Firefox", Vi = "Opera", ml = "Facebook", W0 = "Sogou", oi = "Mobile ", Zi = " Browser", Fl = "Windows", R4 = typeof window !== mr, en = R4 && window.navigator ? window.navigator : void 0, pr = en && en.userAgentData ? en.userAgentData : void 0, L4 = function(e, n) {
7475
7502
  var r = {}, a = n;
7476
7503
  if (!Aa(n)) {
7477
7504
  a = {};
@@ -7967,13 +7994,13 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
7967
7994
  /samsung[- ]((?!sm-[lr])[-\w]+)/i,
7968
7995
  /sec-(sgh\w+)/i
7969
7996
  ],
7970
- [oe, [de, Pi], [J, qe]],
7997
+ [oe, [de, Pi], [J, Ye]],
7971
7998
  [
7972
7999
  // Apple
7973
8000
  /(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i
7974
8001
  // iPod/iPhone
7975
8002
  ],
7976
- [oe, [de, ii], [J, qe]],
8003
+ [oe, [de, ii], [J, Ye]],
7977
8004
  [
7978
8005
  /\((ipad);[-\w\),; ]+apple/i,
7979
8006
  // iPad
@@ -7989,7 +8016,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
7989
8016
  // Sharp
7990
8017
  /\b(sh-?[altvz]?\d\d[a-ekm]?)/i
7991
8018
  ],
7992
- [oe, [de, R0], [J, qe]],
8019
+ [oe, [de, R0], [J, Ye]],
7993
8020
  [
7994
8021
  // Honor
7995
8022
  /\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i
@@ -7998,7 +8025,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
7998
8025
  [
7999
8026
  /honor([-\w ]+)[;\)]/i
8000
8027
  ],
8001
- [oe, [de, z0], [J, qe]],
8028
+ [oe, [de, z0], [J, Ye]],
8002
8029
  [
8003
8030
  // Huawei
8004
8031
  /\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i
@@ -8008,7 +8035,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8008
8035
  /(?:huawei)([-\w ]+)[;\)]/i,
8009
8036
  /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i
8010
8037
  ],
8011
- [oe, [de, O0], [J, qe]],
8038
+ [oe, [de, O0], [J, Ye]],
8012
8039
  [
8013
8040
  // Xiaomi
8014
8041
  /oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
@@ -8031,13 +8058,13 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8031
8058
  // Xiaomi Mi
8032
8059
  / ([\w ]+) miui\/v?\d/i
8033
8060
  ],
8034
- [[oe, /_/g, " "], [de, pl], [J, qe]],
8061
+ [[oe, /_/g, " "], [de, pl], [J, Ye]],
8035
8062
  [
8036
8063
  // OPPO
8037
8064
  /; (\w+) bui.+ oppo/i,
8038
8065
  /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i
8039
8066
  ],
8040
- [oe, [de, hl], [J, qe]],
8067
+ [oe, [de, hl], [J, Ye]],
8041
8068
  [
8042
8069
  /\b(opd2(\d{3}a?))(?: bui|\))/i
8043
8070
  ],
@@ -8046,25 +8073,25 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8046
8073
  // BLU Vivo Series
8047
8074
  /(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i
8048
8075
  ],
8049
- [oe, [de, "BLU"], [J, qe]],
8076
+ [oe, [de, "BLU"], [J, Ye]],
8050
8077
  [
8051
8078
  // Vivo
8052
8079
  /; vivo (\w+)(?: bui|\))/i,
8053
8080
  /\b(v[12]\d{3}\w?[at])(?: bui|;)/i
8054
8081
  ],
8055
- [oe, [de, "Vivo"], [J, qe]],
8082
+ [oe, [de, "Vivo"], [J, Ye]],
8056
8083
  [
8057
8084
  // Realme
8058
8085
  /\b(rmx[1-3]\d{3})(?: bui|;|\))/i
8059
8086
  ],
8060
- [oe, [de, "Realme"], [J, qe]],
8087
+ [oe, [de, "Realme"], [J, Ye]],
8061
8088
  [
8062
8089
  // Motorola
8063
8090
  /\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
8064
8091
  /\bmot(?:orola)?[- ](\w*)/i,
8065
8092
  /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
8066
8093
  ],
8067
- [oe, [de, dl], [J, qe]],
8094
+ [oe, [de, dl], [J, Ye]],
8068
8095
  [
8069
8096
  /\b(mz60\d|xoom[2 ]{0,2}) build\//i
8070
8097
  ],
@@ -8079,7 +8106,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8079
8106
  /\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,
8080
8107
  /\blg-?([\d\w]+) bui/i
8081
8108
  ],
8082
- [oe, [de, ca], [J, qe]],
8109
+ [oe, [de, ca], [J, Ye]],
8083
8110
  [
8084
8111
  // Lenovo
8085
8112
  /(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,
@@ -8095,7 +8122,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8095
8122
  /(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,
8096
8123
  /nokia[-_ ]?(([-\w\. ]*))/i
8097
8124
  ],
8098
- [[oe, /_/g, " "], [J, qe], [de, "Nokia"]],
8125
+ [[oe, /_/g, " "], [J, Ye], [de, "Nokia"]],
8099
8126
  [
8100
8127
  // Google
8101
8128
  /(pixel (c|tablet))\b/i
@@ -8106,12 +8133,12 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8106
8133
  /droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i
8107
8134
  // Google Pixel
8108
8135
  ],
8109
- [oe, [de, Rr], [J, qe]],
8136
+ [oe, [de, Rr], [J, Ye]],
8110
8137
  [
8111
8138
  // Sony
8112
8139
  /droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i
8113
8140
  ],
8114
- [oe, [de, Hi], [J, qe]],
8141
+ [oe, [de, Hi], [J, Ye]],
8115
8142
  [
8116
8143
  /sony tablet [ps]/i,
8117
8144
  /\b(?:sony)?sgp\w+(?: bui|\))/i
@@ -8122,7 +8149,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8122
8149
  / (kb2005|in20[12]5|be20[12][59])\b/i,
8123
8150
  /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i
8124
8151
  ],
8125
- [oe, [de, F0], [J, qe]],
8152
+ [oe, [de, F0], [J, Ye]],
8126
8153
  [
8127
8154
  // Amazon
8128
8155
  /(alexa)webm/i,
@@ -8136,7 +8163,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8136
8163
  /((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
8137
8164
  // Fire Phone
8138
8165
  ],
8139
- [[oe, /(.+)/g, "Fire Phone $1"], [de, la], [J, qe]],
8166
+ [[oe, /(.+)/g, "Fire Phone $1"], [de, la], [J, Ye]],
8140
8167
  [
8141
8168
  // BlackBerry
8142
8169
  /(playbook);[-\w\),; ]+(rim)/i
@@ -8148,7 +8175,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8148
8175
  /\(bb10; (\w+)/i
8149
8176
  // BlackBerry 10
8150
8177
  ],
8151
- [oe, [de, M0], [J, qe]],
8178
+ [oe, [de, M0], [J, Ye]],
8152
8179
  [
8153
8180
  // Asus
8154
8181
  /(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i
@@ -8157,7 +8184,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8157
8184
  [
8158
8185
  / (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i
8159
8186
  ],
8160
- [oe, [de, T0], [J, qe]],
8187
+ [oe, [de, T0], [J, Ye]],
8161
8188
  [
8162
8189
  // HTC
8163
8190
  /(nexus 9)/i
@@ -8172,7 +8199,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8172
8199
  /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
8173
8200
  // Alcatel/GeeksPhone/Nexian/Panasonic/Sony
8174
8201
  ],
8175
- [de, [oe, /_/g, " "], [J, qe]],
8202
+ [de, [oe, /_/g, " "], [J, Ye]],
8176
8203
  [
8177
8204
  // TCL
8178
8205
  /tcl (xess p17aa)/i,
@@ -8182,7 +8209,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8182
8209
  [
8183
8210
  /droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i
8184
8211
  ],
8185
- [oe, [de, "TCL"], [J, qe]],
8212
+ [oe, [de, "TCL"], [J, Ye]],
8186
8213
  [
8187
8214
  // itel
8188
8215
  /(itel) ((\w+))/i
@@ -8198,34 +8225,34 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8198
8225
  /droid.+; (m[1-5] note) bui/i,
8199
8226
  /\bmz-([-\w]{2,})/i
8200
8227
  ],
8201
- [oe, [de, "Meizu"], [J, qe]],
8228
+ [oe, [de, "Meizu"], [J, Ye]],
8202
8229
  [
8203
8230
  // Ulefone
8204
8231
  /; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i
8205
8232
  ],
8206
- [oe, [de, "Ulefone"], [J, qe]],
8233
+ [oe, [de, "Ulefone"], [J, Ye]],
8207
8234
  [
8208
8235
  // Energizer
8209
8236
  /; (energy ?\w+)(?: bui|\))/i,
8210
8237
  /; energizer ([\w ]+)(?: bui|\))/i
8211
8238
  ],
8212
- [oe, [de, "Energizer"], [J, qe]],
8239
+ [oe, [de, "Energizer"], [J, Ye]],
8213
8240
  [
8214
8241
  // Cat
8215
8242
  /; cat (b35);/i,
8216
8243
  /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i
8217
8244
  ],
8218
- [oe, [de, "Cat"], [J, qe]],
8245
+ [oe, [de, "Cat"], [J, Ye]],
8219
8246
  [
8220
8247
  // Smartfren
8221
8248
  /((?:new )?andromax[\w- ]+)(?: bui|\))/i
8222
8249
  ],
8223
- [oe, [de, "Smartfren"], [J, qe]],
8250
+ [oe, [de, "Smartfren"], [J, Ye]],
8224
8251
  [
8225
8252
  // Nothing
8226
8253
  /droid.+; (a(?:015|06[35]|142p?))/i
8227
8254
  ],
8228
- [oe, [de, "Nothing"], [J, qe]],
8255
+ [oe, [de, "Nothing"], [J, Ye]],
8229
8256
  [
8230
8257
  // Archos
8231
8258
  /; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,
@@ -8236,7 +8263,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8236
8263
  /archos ([\w ]+)( b|\))/i,
8237
8264
  /; (ac[3-6]\d\w{2,8})( b|\))/i
8238
8265
  ],
8239
- [oe, [de, "Archos"], [J, qe]],
8266
+ [oe, [de, "Archos"], [J, Ye]],
8240
8267
  [
8241
8268
  // MIXED
8242
8269
  /(imo) (tab \w+)/i,
@@ -8259,7 +8286,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8259
8286
  /(oppo) ?([\w ]+) bui/i
8260
8287
  // OPPO
8261
8288
  ],
8262
- [de, oe, [J, qe]],
8289
+ [de, oe, [J, Ye]],
8263
8290
  [
8264
8291
  /(kobo)\s(ereader|touch)/i,
8265
8292
  // Kobo
@@ -8278,7 +8305,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8278
8305
  /droid [\d\.]+; (fp\du?)(?: b|\))/i
8279
8306
  // Fairphone
8280
8307
  ],
8281
- [oe, [de, "Fairphone"], [J, qe]],
8308
+ [oe, [de, "Fairphone"], [J, Ye]],
8282
8309
  [
8283
8310
  /((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i
8284
8311
  // Nvidia Tablets
@@ -8288,12 +8315,12 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8288
8315
  /(sprint) (\w+)/i
8289
8316
  // Sprint Phones
8290
8317
  ],
8291
- [de, oe, [J, qe]],
8318
+ [de, oe, [J, Ye]],
8292
8319
  [
8293
8320
  /(kin\.[onetw]{3})/i
8294
8321
  // Microsoft Kin
8295
8322
  ],
8296
- [[oe, /\./g, " "], [de, ul], [J, qe]],
8323
+ [[oe, /\./g, " "], [de, ul], [J, Ye]],
8297
8324
  [
8298
8325
  /droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
8299
8326
  // Zebra
@@ -8302,7 +8329,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8302
8329
  [
8303
8330
  /droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
8304
8331
  ],
8305
- [oe, [de, gl], [J, qe]],
8332
+ [oe, [de, gl], [J, Ye]],
8306
8333
  [
8307
8334
  ///////////////////
8308
8335
  // SMARTTVS
@@ -8531,7 +8558,7 @@ var E4 = "2.0.3", Il = 500, A0 = "user-agent", hi = "", k0 = "?", Ea = "function
8531
8558
  /(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i
8532
8559
  // Unidentifiable Mobile
8533
8560
  ],
8534
- [[J, qe]],
8561
+ [[J, Ye]],
8535
8562
  [
8536
8563
  /droid .+?; ([\w\. -]+)( bui|\))/i
8537
8564
  // Generic Android Device
@@ -8805,7 +8832,7 @@ function n1(e, n) {
8805
8832
  Xn.call(this, [
8806
8833
  [Ql, yl(e[wr])],
8807
8834
  [Jl, yl(e[A4])],
8808
- [qe, /\?1/.test(e[O4])],
8835
+ [Ye, /\?1/.test(e[O4])],
8809
8836
  [oe, Ni(e[I4])],
8810
8837
  [ci, Ni(e[e1])],
8811
8838
  [ec, Ni(e[z4])],
@@ -8831,7 +8858,7 @@ function V0(e, n, r, a) {
8831
8858
  en.brave && typeof en.brave.isBrave == Ea && this.set(he, "Brave");
8832
8859
  break;
8833
8860
  case Ln:
8834
- !this.get(J) && pr && pr[qe] && this.set(J, qe), this.get(oe) == "Macintosh" && en && typeof en.standalone !== mr && en.maxTouchPoints && en.maxTouchPoints > 2 && this.set(oe, "iPad").set(J, dt);
8861
+ !this.get(J) && pr && pr[Ye] && this.set(J, Ye), this.get(oe) == "Macintosh" && en && typeof en.standalone !== mr && en.maxTouchPoints && en.maxTouchPoints > 2 && this.set(oe, "iPad").set(J, dt);
8835
8862
  break;
8836
8863
  case _n:
8837
8864
  !this.get(he) && pr && pr[ci] && this.set(he, pr[ci]);
@@ -8871,7 +8898,7 @@ function V0(e, n, r, a) {
8871
8898
  g && (g && s[Ra] == "64" && (g += "64"), vl.call(this.data, g + ";", l));
8872
8899
  break;
8873
8900
  case Ln:
8874
- if (s[qe] && this.set(J, qe), s[oe] && (this.set(oe, s[oe]), !this.get(J) || !this.get(de))) {
8901
+ if (s[Ye] && this.set(J, Ye), s[oe] && (this.set(oe, s[oe]), !this.get(J) || !this.get(de))) {
8875
8902
  var v = {};
8876
8903
  vl.call(v, "droid 9; " + s[oe] + ")", l), !this.get(J) && v.type && this.set(J, v.type), !this.get(de) && v.vendor && this.set(de, v.vendor);
8877
8904
  }
@@ -8951,7 +8978,7 @@ function er(e, n, r) {
8951
8978
  er.VERSION = E4;
8952
8979
  er.BROWSER = La([he, pe, eo, J]);
8953
8980
  er.CPU = La([Jt]);
8954
- er.DEVICE = La([oe, de, J, Gi, qe, Ct, dt, Rn, qi]);
8981
+ er.DEVICE = La([oe, de, J, Gi, Ye, Ct, dt, Rn, qi]);
8955
8982
  er.ENGINE = er.OS = La([he, pe]);
8956
8983
  var W4 = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e.Tablet = "Tablet", e.SmartTV = "Smart TV", e.Bot = "Bot/Crawler", e.Unknown = "Unknown", e))(W4 || {}), P4 = /* @__PURE__ */ ((e) => (e.Chrome = "Chrome", e.Firefox = "Firefox", e.Safari = "Safari", e.Edge = "Edge", e.IE = "IE/Edge Legacy", e.Opera = "Opera", e.Brave = "Brave", e.Other = "Other", e))(P4 || {}), H4 = /* @__PURE__ */ ((e) => (e.Windows = "Windows", e.macOS = "macOS", e.Linux = "Linux", e.Android = "Android", e.iOS = "iOS", e.Other = "Other", e))(H4 || {});
8957
8984
  const Z0 = (e) => {
@@ -9140,7 +9167,7 @@ function U4({
9140
9167
  x(!1);
9141
9168
  }, []), A = G(() => {
9142
9169
  x(!1);
9143
- }, []), T = Ye(() => {
9170
+ }, []), T = Ge(() => {
9144
9171
  const z = [];
9145
9172
  return a && z.push("transform 0.2s ease"), s && z.push("opacity 0.2s ease"), z.join(", ");
9146
9173
  }, [a, s]), E = {
@@ -9286,7 +9313,7 @@ const G4 = it(U4), gt = G4, tc = (e, n, r, a = "solid", s) => {
9286
9313
  maxWidth: A,
9287
9314
  whiteSpace: T,
9288
9315
  ...E
9289
- } = x, z = Le(), C = z.__hd__.button, $ = C.defaultColor || "primary", M = r || $, L = ((Fe = C.variants) == null ? void 0 : Fe[f]) || {}, D = C.sizes[h], Q = e || s, j = Ye(() => Q && f === "solid" ? "disabled" : f === "solid" ? M : L.bgColor || "transparent", [M, Q, f, L.bgColor]), Y = Ye(() => tc(z, M, a, f, Q), [z, M, a, f, Q]), F = (We) => {
9316
+ } = x, z = Le(), C = z.__hd__.button, $ = C.defaultColor || "primary", M = r || $, L = ((Fe = C.variants) == null ? void 0 : Fe[f]) || {}, D = C.sizes[h], Q = e || s, j = Ge(() => Q && f === "solid" ? "disabled" : f === "solid" ? M : L.bgColor || "transparent", [M, Q, f, L.bgColor]), Y = Ge(() => tc(z, M, a, f, Q), [z, M, a, f, Q]), F = (We) => {
9290
9317
  e || s || l == null || l(We);
9291
9318
  }, B = f === "text" ? "none" : D.paddingHorizontal, V = f === "text" ? "none" : D.paddingVertical, ge = D.fontSize, N = D.iconSize, re = C.iconSpacing || "xs", le = /* @__PURE__ */ X(I, { display: "flex", alignItems: "center", gap: re, children: [
9292
9319
  n && /* @__PURE__ */ p(j0, { $themePosition: "left", $iconSpacing: re, $hasText: !!v, children: /* @__PURE__ */ p(
@@ -9456,7 +9483,7 @@ const G4 = it(U4), gt = G4, tc = (e, n, r, a = "solid", s) => {
9456
9483
  return;
9457
9484
  }
9458
9485
  c == null || c();
9459
- }, z = k.__hd__.header, C = z.navItem, $ = a ? C.active : C.inactive, M = Ye(() => h ? "transparent" : f ? $.hoverBackgroundColor : $.backgroundColor, [
9486
+ }, z = k.__hd__.header, C = z.navItem, $ = a ? C.active : C.inactive, M = Ge(() => h ? "transparent" : f ? $.hoverBackgroundColor : $.backgroundColor, [
9460
9487
  h,
9461
9488
  f,
9462
9489
  $.backgroundColor,
@@ -12935,7 +12962,7 @@ const P3 = (e, n, r, a) => ({
12935
12962
  }), V3 = (e) => {
12936
12963
  var r, a;
12937
12964
  const n = Le();
12938
- return Ye(() => {
12965
+ return Ge(() => {
12939
12966
  var l, c;
12940
12967
  return {
12941
12968
  ...(l = n.__hd__.vimeo) == null ? void 0 : l.playerSettings,
@@ -13113,15 +13140,15 @@ function J3({
13113
13140
  itemWidth: h,
13114
13141
  infiniteLoop: b = !1
13115
13142
  }) {
13116
- const g = Le(), x = g.__hd__.carousel.autoScroll, _ = typeof l == "object" && l.speed || x.defaultSpeed, k = Ye(() => {
13143
+ const g = Le(), x = g.__hd__.carousel.autoScroll, _ = typeof l == "object" && l.speed || x.defaultSpeed, k = Ge(() => {
13117
13144
  if (r.length <= f)
13118
13145
  return r;
13119
13146
  const $ = r.length % f;
13120
13147
  return $ === 0 ? r : r.slice(0, r.length - $);
13121
- }, [r, f]), A = l ? k.length * (_ / 5) : 0, T = g.spaces[e || g.__hd__.carousel.container.defaultItemSpacing] || 0, E = b && !l && k.length > 1, z = Ye(() => {
13148
+ }, [r, f]), A = l ? k.length * (_ / 5) : 0, T = g.spaces[e || g.__hd__.carousel.container.defaultItemSpacing] || 0, E = b && !l && k.length > 1, z = Ge(() => {
13122
13149
  if (h)
13123
13150
  return h * f + T * (f - 1);
13124
- }, [h, f, T]), C = Ye(() => {
13151
+ }, [h, f, T]), C = Ge(() => {
13125
13152
  if (l)
13126
13153
  return /* @__PURE__ */ X(Dt, { children: [
13127
13154
  k.map(($, M) => /* @__PURE__ */ p(
@@ -13317,7 +13344,7 @@ function rx({
13317
13344
  infiniteLoop: v = !1,
13318
13345
  ...x
13319
13346
  }, _) {
13320
- const k = Le(), { width: A } = C4(), T = k.__hd__.carousel, E = Ye(() => {
13347
+ const k = Le(), { width: A } = C4(), T = k.__hd__.carousel, E = Ge(() => {
13321
13348
  if (e.length <= b)
13322
13349
  return e;
13323
13350
  const fe = e.length % b;
@@ -13444,7 +13471,7 @@ function rx({
13444
13471
  e.length,
13445
13472
  le,
13446
13473
  Te
13447
- ]), Ge = G((fe) => {
13474
+ ]), qe = G((fe) => {
13448
13475
  if (!Y || B === null || re || !L.current)
13449
13476
  return;
13450
13477
  const ze = fe - B;
@@ -13530,13 +13557,13 @@ function rx({
13530
13557
  Y && L.current && ot(), $e();
13531
13558
  },
13532
13559
  onTouchStart: (fe) => He(fe.touches[0].clientX),
13533
- onTouchMove: (fe) => Ge(fe.touches[0].clientX),
13560
+ onTouchMove: (fe) => qe(fe.touches[0].clientX),
13534
13561
  onTouchEnd: ot,
13535
13562
  onMouseDown: (fe) => {
13536
13563
  fe.button === 0 && He(fe.clientX);
13537
13564
  },
13538
13565
  onMouseMove: (fe) => {
13539
- fe.buttons === 1 && Y && Ge(fe.clientX);
13566
+ fe.buttons === 1 && Y && qe(fe.clientX);
13540
13567
  },
13541
13568
  onMouseUp: (fe) => {
13542
13569
  fe.button === 0 && Y && ot();
@@ -13776,7 +13803,7 @@ const p1 = (e, n, r, a) => r ? e.colors[r] : a === "solid" ? n === "white" ? e.c
13776
13803
  ...b
13777
13804
  // Pass remaining BoxProps to the container
13778
13805
  }) => {
13779
- const g = Le(), v = g.__hd__.tag, x = e ?? v.defaultVariant, _ = n ?? v.defaultColor, k = a ?? v.defaultSize, A = s ?? v.defaultRadius, T = p1(g, _, r, x), E = Ye(
13806
+ const g = Le(), v = g.__hd__.tag, x = e ?? v.defaultVariant, _ = n ?? v.defaultColor, k = a ?? v.defaultSize, A = s ?? v.defaultRadius, T = p1(g, _, r, x), E = Ge(
13780
13807
  () => v.sizes[k],
13781
13808
  [v.sizes, k]
13782
13809
  );
@@ -14091,7 +14118,7 @@ const p1 = (e, n, r, a) => r ? e.colors[r] : a === "solid" ? n === "white" ? e.c
14091
14118
  A || E(j), r == null || r(j);
14092
14119
  },
14093
14120
  [A, r]
14094
- ), $ = Ye(
14121
+ ), $ = Ge(
14095
14122
  () => ({
14096
14123
  value: z,
14097
14124
  onChange: C,
@@ -14484,7 +14511,7 @@ const yr = ({
14484
14511
  ke(() => {
14485
14512
  $ && C("");
14486
14513
  }, [$]);
14487
- const B = Ye(() => z ? e.filter(
14514
+ const B = Ge(() => z ? e.filter(
14488
14515
  (ue) => ue.label.toLowerCase().includes(z.toLowerCase())
14489
14516
  ) : e, [e, z]), V = h ?? E.defaultColor, ge = b ?? E.defaultSize, N = g ?? E.defaultCorner, re = E.sizes[ge], le = E.animation, Fe = v ? `${T.radii[v]}px` : E.squircleBorderRadii[N], We = v ?? (N === "circle" ? E.dropdown.borderRadiusForCircle : E.dropdown.borderRadiusForRounded), Ee = T.radii[We], we = !!c, Me = u, { backgroundColor: ie, borderColor: be, borderWidth: P, insetBoxShadow: me } = yx({
14490
14517
  theme: T,
@@ -14830,7 +14857,7 @@ const Ma = ye(gt)`
14830
14857
  return;
14831
14858
  }
14832
14859
  e === "first" && (l == null || l(h && h >= 1 ? 1 : null, T)), e === "last" && (l == null || l(h && h >= 1 ? h : null, T)), e === "previous" && (l == null || l(r >= 2 ? r - 1 : null, T)), e === "next" && (l == null || l(r <= h - 1 ? r + 1 : null, T)), e === "page" && (l == null || l(n ?? null, T));
14833
- }, A = Ye(() => {
14860
+ }, A = Ge(() => {
14834
14861
  switch (e) {
14835
14862
  case "previous":
14836
14863
  return oo;
@@ -15376,7 +15403,7 @@ const Ki = ({
15376
15403
  markerValue: c,
15377
15404
  markerLabel: u
15378
15405
  }) => {
15379
- const h = Le().__hd__.timepicker, b = h.sizes[s], g = Ye(() => !l || l.length === 0 ? null : l.map((L) => cf(L, r)), [l, r]), v = G(() => {
15406
+ const h = Le().__hd__.timepicker, b = h.sizes[s], g = Ge(() => !l || l.length === 0 ? null : l.map((L) => cf(L, r)), [l, r]), v = G(() => {
15380
15407
  if (!l || l.length === 0)
15381
15408
  return "";
15382
15409
  const L = jx(l, e);
@@ -15389,7 +15416,7 @@ const Ki = ({
15389
15416
  D >= 0 && D < l.length && n(l[D]);
15390
15417
  },
15391
15418
  [l, g, n]
15392
- ), _ = r === "24h" ? Dx : Wx, k = Ye(() => Vx(a), [a]), A = G(() => {
15419
+ ), _ = r === "24h" ? Dx : Wx, k = Ge(() => Vx(a), [a]), A = G(() => {
15393
15420
  if (!e)
15394
15421
  return _[0];
15395
15422
  if (r === "24h")
@@ -16168,7 +16195,7 @@ const d5 = "en-US", f5 = 1, h5 = ye.div`
16168
16195
  {
16169
16196
  onClick: z ? void 0 : T,
16170
16197
  variant: "text",
16171
- size: s,
16198
+ size: s === "xs" ? "sm" : s,
16172
16199
  color: "grey900",
16173
16200
  icon: oo,
16174
16201
  disabled: z,
@@ -16195,7 +16222,7 @@ const d5 = "en-US", f5 = 1, h5 = ye.div`
16195
16222
  {
16196
16223
  onClick: C ? void 0 : E,
16197
16224
  variant: "text",
16198
- size: s,
16225
+ size: s === "xs" ? "sm" : s,
16199
16226
  color: "grey900",
16200
16227
  icon: Br,
16201
16228
  disabled: C,
@@ -16335,7 +16362,7 @@ const d5 = "en-US", f5 = 1, h5 = ye.div`
16335
16362
  }, [e, a]), E = G(() => {
16336
16363
  const D = /* @__PURE__ */ new Date();
16337
16364
  a(D), r(D);
16338
- }, [a, r]), z = Ye(() => f || _1(/* @__PURE__ */ new Date(), s), [s, f]), C = () => b === "months" ? /* @__PURE__ */ p(
16365
+ }, [a, r]), z = Ge(() => f || _1(/* @__PURE__ */ new Date(), s), [s, f]), C = () => b === "months" ? /* @__PURE__ */ p(
16339
16366
  _5,
16340
16367
  {
16341
16368
  currentYear: e.getFullYear(),
@@ -16385,7 +16412,7 @@ const d5 = "en-US", f5 = 1, h5 = ye.div`
16385
16412
  {
16386
16413
  variant: "text",
16387
16414
  color: "primary",
16388
- size: u,
16415
+ size: u === "xs" ? "sm" : u,
16389
16416
  text: "Today",
16390
16417
  disabled: z,
16391
16418
  onClick: E
@@ -16884,9 +16911,9 @@ const uc = it(
16884
16911
  setSelectedTimePreview: ue,
16885
16912
  handleMonthChange: $e,
16886
16913
  reset: He,
16887
- getValue: Ge,
16914
+ getValue: qe,
16888
16915
  focus: ot
16889
- } = Ee, Se = Ye(() => !$ || $.length === 0 ? $ : a5($, We), [$, We]), Ie = Ye(() => {
16916
+ } = Ee, Se = Ge(() => !$ || $.length === 0 ? $ : a5($, We), [$, We]), Ie = Ge(() => {
16890
16917
  let xe = v;
16891
16918
  if (x) {
16892
16919
  const mt = /* @__PURE__ */ new Date();
@@ -17007,12 +17034,12 @@ const uc = it(
17007
17034
  open: Ae,
17008
17035
  close: Te,
17009
17036
  reset: He,
17010
- getValue: Ge,
17037
+ getValue: qe,
17011
17038
  focus: ot
17012
17039
  }),
17013
- [Ae, Te, He, Ge, ot]
17040
+ [Ae, Te, He, qe, ot]
17014
17041
  );
17015
- const vi = Ye(() => Se && Se.length > 0 ? be ? pf(Se, be) : void 0 : C, [Se, be, C]), Ba = T && (!Se || Se.length === 0 || be !== null), Va = G(
17042
+ const vi = Ge(() => Se && Se.length > 0 ? be ? pf(Se, be) : void 0 : C, [Se, be, C]), Ba = T && (!Se || Se.length === 0 || be !== null), Va = G(
17016
17043
  (xe) => {
17017
17044
  f === "inline" ? ve(xe) : ue(xe), be && Nt(Vt(
17018
17045
  be,
@@ -17398,23 +17425,23 @@ const C5 = ({
17398
17425
  top: 0,
17399
17426
  left: 0,
17400
17427
  width: 0
17401
- }), $ = _e(null), M = _e(null), L = _e(null), D = _e(null), Q = _e(null), j = _e(null), Y = _e(null), F = Ye(() => new Set(r.map(String)), [r]), B = Ye(() => {
17428
+ }), $ = _e(null), M = _e(null), L = _e(null), D = _e(null), Q = _e(null), j = _e(null), Y = _e(null), F = Ge(() => new Set(r.map(String)), [r]), B = Ge(() => {
17402
17429
  const P = u.trim().toLowerCase(), me = e;
17403
17430
  return P ? me.filter(
17404
17431
  (te) => te.label.toLowerCase().includes(P) || te.value.toLowerCase().includes(P)
17405
17432
  ).slice(0, c) : me.slice(0, c);
17406
- }, [e, u, c]), V = Ye(() => {
17433
+ }, [e, u, c]), V = Ge(() => {
17407
17434
  const P = u.trim().toLowerCase(), me = n || [];
17408
17435
  return P ? me.filter((te) => te.label.toLowerCase().includes(P)).slice(0, c) : me.slice(0, c);
17409
- }, [n, u, c]), ge = Ye(() => (n || []).filter(
17436
+ }, [n, u, c]), ge = Ge(() => (n || []).filter(
17410
17437
  (P) => P.values.every((me) => F.has(me))
17411
- ), [n, F]), N = Ye(() => {
17438
+ ), [n, F]), N = Ge(() => {
17412
17439
  const P = /* @__PURE__ */ new Set();
17413
17440
  for (const me of ge)
17414
17441
  for (const te of me.values)
17415
17442
  P.add(te);
17416
17443
  return P;
17417
- }, [ge]), re = Ye(() => r.filter((P) => !N.has(P)), [r, N]), le = Ye(() => {
17444
+ }, [ge]), re = Ge(() => r.filter((P) => !N.has(P)), [r, N]), le = Ge(() => {
17418
17445
  const P = [];
17419
17446
  for (const me of ge)
17420
17447
  P.push({
@@ -17541,8 +17568,8 @@ const C5 = ({
17541
17568
  if (U < K.length) {
17542
17569
  const ue = K.length - U, He = 30 + String(ue).length * 10;
17543
17570
  for (; U > 0 && ve + (U > 0 ? Te : 0) + He > te; ) {
17544
- const Ge = K[U - 1];
17545
- ve -= Ge + (U - 1 > 0 ? Te : 0), U -= 1;
17571
+ const qe = K[U - 1];
17572
+ ve -= qe + (U - 1 > 0 ? Te : 0), U -= 1;
17546
17573
  }
17547
17574
  }
17548
17575
  A(U);
@@ -17850,7 +17877,7 @@ const C5 = ({
17850
17877
  disabled: b = !1,
17851
17878
  borderRadius: g = "md"
17852
17879
  }) => {
17853
- const v = (h == null ? void 0 : h.primary) ?? "primary", x = (h == null ? void 0 : h.secondary) ?? "secondary", _ = Ye(() => Array.isArray(a) ? a.map((ie) => ({ ...ie })) : [], [a]), k = Ye(() => _.map((ie) => {
17880
+ const v = (h == null ? void 0 : h.primary) ?? "primary", x = (h == null ? void 0 : h.secondary) ?? "secondary", _ = Ge(() => Array.isArray(a) ? a.map((ie) => ({ ...ie })) : [], [a]), k = Ge(() => _.map((ie) => {
17854
17881
  const be = ie[v];
17855
17882
  if (be == null)
17856
17883
  return null;
@@ -17859,16 +17886,16 @@ const C5 = ({
17859
17886
  primary: String(be),
17860
17887
  secondary: P == null ? "" : String(P)
17861
17888
  };
17862
- }).filter((ie) => ie !== null), [_, v, x]), A = Ye(
17889
+ }).filter((ie) => ie !== null), [_, v, x]), A = Ge(
17863
17890
  () => new Map(e.map((ie) => [ie.value, ie])),
17864
17891
  [e]
17865
- ), T = Ye(
17892
+ ), T = Ge(
17866
17893
  () => new Map(n.map((ie) => [ie.value, ie])),
17867
17894
  [n]
17868
- ), E = Ye(
17895
+ ), E = Ge(
17869
17896
  () => kl(n),
17870
17897
  [n]
17871
- ), z = Ye(
17898
+ ), z = Ge(
17872
17899
  () => kl(e),
17873
17900
  [e]
17874
17901
  ), [C, $] = se(
@@ -17881,7 +17908,7 @@ const C5 = ({
17881
17908
  var ie;
17882
17909
  return ((ie = k[0]) == null ? void 0 : ie.secondary) ?? "";
17883
17910
  }
17884
- ), D = Ye(() => !r || !C ? E : kl(r(C)), [r, C, E]), [Q, j] = se(!1), [Y, F] = se(
17911
+ ), D = Ge(() => !r || !C ? E : kl(r(C)), [r, C, E]), [Q, j] = se(!1), [Y, F] = se(
17885
17912
  k.length
17886
17913
  ), [B, V] = se({
17887
17914
  top: 0,
@@ -17920,7 +17947,7 @@ const C5 = ({
17920
17947
  s(be), C === ie && ($(""), L(""));
17921
17948
  },
17922
17949
  [b, _, v, s, C]
17923
- ), Ee = Ye(() => k.map((ie) => {
17950
+ ), Ee = Ge(() => k.map((ie) => {
17924
17951
  const be = A.get(ie.primary), P = T.get(ie.secondary), me = (be == null ? void 0 : be.label) ?? ie.primary, te = (P == null ? void 0 : P.label) ?? ie.secondary;
17925
17952
  return {
17926
17953
  id: `pair:${ie.primary}`,
@@ -18842,7 +18869,7 @@ function W5({
18842
18869
  onDelete: x,
18843
18870
  onQuickEdit: _
18844
18871
  }) {
18845
- const k = Ye(() => {
18872
+ const k = Ge(() => {
18846
18873
  const E = s[e.id];
18847
18874
  return E ? Object.keys(E).some((z) => {
18848
18875
  const C = E[z], $ = e[z];
@@ -19454,7 +19481,7 @@ function Z5({
19454
19481
  ] });
19455
19482
  }
19456
19483
  function K_(e) {
19457
- const n = e.getCurrentPage(), r = e.getPageSize(), a = e.getSortBy(), s = e.getSortDirection(), l = e.getFilters(), c = G(
19484
+ const n = e.getCurrentPage(), r = e.getPageSize(), a = e.getSortBy(), s = e.getSortDirection(), l = Ge(() => e.getFilters(), [e]), c = G(
19458
19485
  (f) => {
19459
19486
  e.setPagination(f);
19460
19487
  },
@@ -19479,7 +19506,7 @@ function X_(e) {
19479
19506
  const [n, r] = se(1), [a, s] = se((e == null ? void 0 : e.defaultPageSize) ?? 10), [l, c] = se((e == null ? void 0 : e.defaultSortBy) ?? ""), [u, f] = se(
19480
19507
  (e == null ? void 0 : e.defaultSortDirection) ?? "asc"
19481
19508
  ), [h, b] = se([]);
19482
- return Ye(
19509
+ return Ge(
19483
19510
  () => ({
19484
19511
  getCurrentPage: () => n,
19485
19512
  getPageSize: () => a,
@@ -19511,7 +19538,7 @@ function N5({
19511
19538
  onFieldChange: x,
19512
19539
  renderExpandedRow: _
19513
19540
  }) {
19514
- const [k, A] = se(!1), [T, E] = se(!1), [z, C] = se([]), [$, M] = se(null), L = Ye(() => {
19541
+ const [k, A] = se(!1), [T, E] = se(!1), [z, C] = se([]), [$, M] = se(null), L = Ge(() => {
19515
19542
  const Se = {};
19516
19543
  for (const Ie of n)
19517
19544
  if (Ie.key !== "select" && Ie.defaultValue !== void 0) {
@@ -19692,7 +19719,7 @@ function N5({
19692
19719
  });
19693
19720
  },
19694
19721
  [x]
19695
- ), Ge = G(
19722
+ ), qe = G(
19696
19723
  (Se) => {
19697
19724
  if (h && we[Se.id]) {
19698
19725
  const Ie = { ...Se, ...we[Se.id] }, fe = n.filter(
@@ -19773,7 +19800,7 @@ function N5({
19773
19800
  openDeleteDialog: U,
19774
19801
  toggleExpandedRow: ue,
19775
19802
  handleInlineEditFormChange: He,
19776
- handleInlineSave: Ge,
19803
+ handleInlineSave: qe,
19777
19804
  handleQuickEdit: ot
19778
19805
  };
19779
19806
  }
@@ -19981,7 +20008,7 @@ function Q_({
19981
20008
  handlePageSizeChange: ue,
19982
20009
  handleAddFormInputChange: $e,
19983
20010
  handleAdd: He,
19984
- handleDelete: Ge,
20011
+ handleDelete: qe,
19985
20012
  openDeleteDialog: ot,
19986
20013
  toggleExpandedRow: Se,
19987
20014
  handleInlineEditFormChange: Ie,
@@ -20194,7 +20221,7 @@ function Q_({
20194
20221
  onOpenChange: (ct) => {
20195
20222
  Fe(ct), ct || P(null);
20196
20223
  },
20197
- onConfirm: Ge,
20224
+ onConfirm: qe,
20198
20225
  isLoading: ie,
20199
20226
  message: g,
20200
20227
  deleteButtonText: b
@@ -20340,10 +20367,10 @@ const vf = ye.line`
20340
20367
  U.style.position = "absolute", U.style.visibility = "hidden", U.style.pointerEvents = "none", document.body.appendChild(U);
20341
20368
  const ue = document.createElementNS("http://www.w3.org/2000/svg", "text");
20342
20369
  ue.style.fontSize = "12px", ue.style.fontFamily = A.fonts.neutral || "sans-serif", U.appendChild(ue);
20343
- const $e = e.map((Se) => Se.value), He = $e.length > 0 ? Math.max(...$e) : 100, Ge = 5;
20370
+ const $e = e.map((Se) => Se.value), He = $e.length > 0 ? Math.max(...$e) : 100, qe = 5;
20344
20371
  let ot = 0;
20345
- for (let Se = 0; Se < Ge; Se++) {
20346
- const Ie = He / (Ge - 1) * Se;
20372
+ for (let Se = 0; Se < qe; Se++) {
20373
+ const Ie = He / (qe - 1) * Se;
20347
20374
  ue.textContent = Math.round(Ie).toString();
20348
20375
  const Ve = ue.getBBox();
20349
20376
  ot = Math.max(ot, Ve.width);
@@ -20365,8 +20392,8 @@ const vf = ye.line`
20365
20392
  let $e = 0;
20366
20393
  e.forEach((He) => {
20367
20394
  ue.textContent = He.label;
20368
- const Ge = ue.getBBox();
20369
- $e = Math.max($e, Ge.width);
20395
+ const qe = ue.getBBox();
20396
+ $e = Math.max($e, qe.width);
20370
20397
  }), document.body.removeChild(U), M(Math.ceil($e) + 15);
20371
20398
  }, [
20372
20399
  e,
@@ -20391,9 +20418,9 @@ const vf = ye.line`
20391
20418
  return;
20392
20419
  }
20393
20420
  if (typeof n == "string" && /^\d+(?:\.\d+)?px$/.test(n)) {
20394
- const Ge = n.match(/^(\d+(?:\.\d+)?)px$/);
20395
- if (Ge) {
20396
- C(parseFloat(Ge[1]));
20421
+ const qe = n.match(/^(\d+(?:\.\d+)?)px$/);
20422
+ if (qe) {
20423
+ C(parseFloat(qe[1]));
20397
20424
  return;
20398
20425
  }
20399
20426
  }
@@ -20431,15 +20458,15 @@ const vf = ye.line`
20431
20458
  ), Me = e.map((U) => U.value), ie = Me.length > 0 ? Math.max(...Me) : 100, be = 0.6, P = v === "vertical" ? Ee / Math.max(e.length, 1) : we / Math.max(e.length, 1), me = Math.max(P * be, 1), te = (U) => {
20432
20459
  const ue = ie || 100, $e = U || 0;
20433
20460
  return v === "vertical" ? $e / ue * we : $e / ue * Ee;
20434
- }, Ae = Ye(() => Array.from({ length: 5 }, (ue, $e) => {
20435
- const He = ie / 4 * $e, Ge = ie || 100, ot = He || 0, Se = v === "vertical" ? we - ot / Ge * we : ot / Ge * Ee;
20461
+ }, Ae = Ge(() => Array.from({ length: 5 }, (ue, $e) => {
20462
+ const He = ie / 4 * $e, qe = ie || 100, ot = He || 0, Se = v === "vertical" ? we - ot / qe * we : ot / qe * Ee;
20436
20463
  return { value: He, position: Se };
20437
20464
  }), [ie, we, Ee, v]), Te = (U, ue) => {
20438
20465
  const He = Math.floor(ue / 7);
20439
20466
  if (U.length <= He)
20440
20467
  return U;
20441
- const Ge = Math.max(1, He - 3);
20442
- return U.substring(0, Ge) + "...";
20468
+ const qe = Math.max(1, He - 3);
20469
+ return U.substring(0, qe) + "...";
20443
20470
  };
20444
20471
  return /* @__PURE__ */ X(
20445
20472
  Y5,
@@ -20477,19 +20504,19 @@ const vf = ye.line`
20477
20504
  )),
20478
20505
  e.map((U, ue) => {
20479
20506
  const $e = te(U.value);
20480
- let He, Ge, ot, Se;
20507
+ let He, qe, ot, Se;
20481
20508
  if (v === "vertical")
20482
- He = ue * P + (P - me) / 2, Ge = we - $e, ot = me, Se = $e;
20509
+ He = ue * P + (P - me) / 2, qe = we - $e, ot = me, Se = $e;
20483
20510
  else {
20484
20511
  const et = ue * P;
20485
- He = 0, Ge = et + (P - me) / 2, ot = $e, Se = me;
20512
+ He = 0, qe = et + (P - me) / 2, ot = $e, Se = me;
20486
20513
  }
20487
20514
  const Ie = 2, Ve = Math.max(ot, Ie), fe = Math.max(Se, Ie), ze = U.color || We, Re = A.colors[ze] || ze || "#6949FF";
20488
20515
  return /* @__PURE__ */ p(
20489
20516
  "rect",
20490
20517
  {
20491
20518
  x: He,
20492
- y: Ge,
20519
+ y: qe,
20493
20520
  width: Ve,
20494
20521
  height: fe,
20495
20522
  fill: Re,
@@ -20529,9 +20556,9 @@ const vf = ye.line`
20529
20556
  }
20530
20557
  ),
20531
20558
  v === "vertical" && e.map((U, ue) => {
20532
- const $e = ue * P + P / 2, He = we + 20, Ge = P * 0.9, ot = Te(
20559
+ const $e = ue * P + P / 2, He = we + 20, qe = P * 0.9, ot = Te(
20533
20560
  U.label,
20534
- Ge
20561
+ qe
20535
20562
  );
20536
20563
  return /* @__PURE__ */ X(
20537
20564
  ya,
@@ -20846,7 +20873,7 @@ const vf = ye.line`
20846
20873
  legendSpacing: re = 8
20847
20874
  } = ((P = C == null ? void 0 : C.sizes) == null ? void 0 : P[Y]) || {}, {
20848
20875
  defaultColors: le = ["primary", "secondary", "success", "warning", "danger"]
20849
- } = ((me = C == null ? void 0 : C.variants) == null ? void 0 : me[j]) || {}, Fe = Math.min(M, D), We = Fe / 2, Ee = Fe / 2, we = f || Fe / 2 - 20, Me = u * we, ie = Ye(() => {
20876
+ } = ((me = C == null ? void 0 : C.variants) == null ? void 0 : me[j]) || {}, Fe = Math.min(M, D), We = Fe / 2, Ee = Fe / 2, we = f || Fe / 2 - 20, Me = u * we, ie = Ge(() => {
20850
20877
  const te = e.reduce((Te, ae) => Te + ae.value, 0);
20851
20878
  let Ae = A;
20852
20879
  return e.map((Te, ae) => {
@@ -21254,7 +21281,7 @@ const v_ = (e, n) => {
21254
21281
  legendSpacing: Ee
21255
21282
  } = M.sizes[B], {
21256
21283
  defaultColors: we
21257
- } = M.variants[F], [Me, ie] = Ye(() => {
21284
+ } = M.variants[F], [Me, ie] = Ge(() => {
21258
21285
  if (E)
21259
21286
  return E;
21260
21287
  let K = 1 / 0, ve = -1 / 0;
@@ -21266,12 +21293,12 @@ const v_ = (e, n) => {
21266
21293
  Math.floor(K - (ve - K) * 0.1),
21267
21294
  Math.ceil(ve + (ve - K) * 0.1)
21268
21295
  ];
21269
- }, [e, E]), be = Ye(() => {
21296
+ }, [e, E]), be = Ge(() => {
21270
21297
  const ve = Array.from({ length: 5 }, (Ve, fe) => (Me + (ie - Me) * (fe / 4)).toFixed(1)), U = $.fonts.neutral, ue = `${Fe}px ${U}`, $e = Fe * 0.6;
21271
21298
  let He = null;
21272
21299
  typeof document < "u" && (He = document.createElement("canvas").getContext("2d"), He && (He.font = ue));
21273
- const Ge = (Ve) => He ? He.measureText(Ve).width : Ve.length * $e, ot = ve.reduce(
21274
- (Ve, fe) => Math.max(Ve, Ge(fe)),
21300
+ const qe = (Ve) => He ? He.measureText(Ve).width : Ve.length * $e, ot = ve.reduce(
21301
+ (Ve, fe) => Math.max(Ve, qe(fe)),
21275
21302
  0
21276
21303
  ), Se = Math.ceil(ot + 12), Ie = (u == null ? void 0 : u.left) ?? 50;
21277
21304
  return Math.max(Ie, Se);
@@ -21292,7 +21319,7 @@ const v_ = (e, n) => {
21292
21319
  ), te = Math.max(
21293
21320
  0,
21294
21321
  j - P.top - P.bottom
21295
- ), { processedSeries: Ae, xLabels: Te, yTicks: ae } = Ye(() => {
21322
+ ), { processedSeries: Ae, xLabels: Te, yTicks: ae } = Ge(() => {
21296
21323
  const K = /* @__PURE__ */ new Set(), ve = [];
21297
21324
  let U = 1 / 0, ue = -1 / 0;
21298
21325
  e.forEach((Re) => {
@@ -21304,8 +21331,8 @@ const v_ = (e, n) => {
21304
21331
  const [$e, He] = E || [
21305
21332
  Math.floor(U - (ue - U) * 0.1),
21306
21333
  Math.ceil(ue + (ue - U) * 0.1)
21307
- ], Ge = T || ve, ot = me / (Ge.length - 1 || 1), Se = new Map(
21308
- Ge.map((Re, et) => [String(Re), et * ot])
21334
+ ], qe = T || ve, ot = me / (qe.length - 1 || 1), Se = new Map(
21335
+ qe.map((Re, et) => [String(Re), et * ot])
21309
21336
  ), Ie = (Re) => {
21310
21337
  const et = (Re - $e) / (He - $e || 1);
21311
21338
  return te - et * te;
@@ -21328,7 +21355,7 @@ const v_ = (e, n) => {
21328
21355
  });
21329
21356
  return {
21330
21357
  processedSeries: Ve,
21331
- xLabels: Ge,
21358
+ xLabels: qe,
21332
21359
  yTicks: ze.reverse()
21333
21360
  };
21334
21361
  }, [e, me, te, T, E, we]);
@@ -21444,11 +21471,11 @@ const v_ = (e, n) => {
21444
21471
  "data-testid": `${z}-line-${ve}`
21445
21472
  }
21446
21473
  ),
21447
- K.showDots !== !1 && K.points.map((Ge, ot) => /* @__PURE__ */ p(
21474
+ K.showDots !== !1 && K.points.map((qe, ot) => /* @__PURE__ */ p(
21448
21475
  b_,
21449
21476
  {
21450
- cx: Ge.x,
21451
- cy: Ge.y,
21477
+ cx: qe.x,
21478
+ cy: qe.y,
21452
21479
  r: ge,
21453
21480
  $colorKey: K.color,
21454
21481
  $animationDuration: A,