gf-components 0.1.163 → 0.1.165

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.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as C from "react";
2
- import Ne, { version as K_, isValidElement as Dd, useContext as Yt, createContext as Jn, useRef as Le, useLayoutEffect as rb, useEffect as St, forwardRef as mr, useMemo as Se, useState as pt, Children as X_, createRef as Q_, useCallback as ze, useImperativeHandle as f1, cloneElement as zd, memo as gt, createElement as Mt, Component as J_, Fragment as Xr } from "react";
2
+ import Ae, { version as K_, isValidElement as Dd, useContext as Yt, createContext as Jn, useRef as Le, useLayoutEffect as rb, useEffect as St, forwardRef as mr, useMemo as Se, useState as pt, Children as X_, createRef as Q_, useCallback as ze, useImperativeHandle as f1, cloneElement as zd, memo as gt, createElement as Mt, Component as J_, Fragment as Xr } from "react";
3
3
  import Bt, { createGlobalStyle as eE, css as Hr } from "styled-components";
4
4
  import * as tE from "react-dom";
5
5
  import f8, { createPortal as nE, unstable_batchedUpdates as ib, flushSync as e3 } from "react-dom";
@@ -21,7 +21,7 @@ var h8;
21
21
  function rE() {
22
22
  if (h8) return Al;
23
23
  h8 = 1;
24
- var e = Ne, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
24
+ var e = Ae, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
25
25
  function a(s, l, c) {
26
26
  var u, d = {}, f = null, h = null;
27
27
  c !== void 0 && (f = "" + c), l.key !== void 0 && (f = "" + l.key), l.ref !== void 0 && (h = l.ref);
@@ -44,7 +44,7 @@ var Nl = {};
44
44
  var g8;
45
45
  function iE() {
46
46
  return g8 || (g8 = 1, process.env.NODE_ENV !== "production" && function() {
47
- var e = Ne, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, g = "@@iterator";
47
+ var e = Ae, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, g = "@@iterator";
48
48
  function v(K) {
49
49
  if (K === null || typeof K != "object")
50
50
  return null;
@@ -372,7 +372,7 @@ function iE() {
372
372
  if (le(K))
373
373
  return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", he(K)), $e(K);
374
374
  }
375
- var Fe = b.ReactCurrentOwner, Ae = {
375
+ var Fe = b.ReactCurrentOwner, Ne = {
376
376
  key: !0,
377
377
  ref: !0,
378
378
  __self: !0,
@@ -457,7 +457,7 @@ function iE() {
457
457
  var ct, ut = {}, mt = null, me = null;
458
458
  ae !== void 0 && (fe(ae), mt = "" + ae), Be(oe) && (fe(oe.key), mt = "" + oe.key), et(oe) && (me = oe.ref, ke(oe, st));
459
459
  for (ct in oe)
460
- ie.call(oe, ct) && !Ae.hasOwnProperty(ct) && (ut[ct] = oe[ct]);
460
+ ie.call(oe, ct) && !Ne.hasOwnProperty(ct) && (ut[ct] = oe[ct]);
461
461
  if (K && K.defaultProps) {
462
462
  var Ce = K.defaultProps;
463
463
  for (ct in Ce)
@@ -922,7 +922,7 @@ process.env.NODE_ENV === "production" ? n3.exports = aE() : n3.exports = sE();
922
922
  var bc = n3.exports;
923
923
  function Fr(e) {
924
924
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [];
925
- return Ne.Children.forEach(e, function(r) {
925
+ return Ae.Children.forEach(e, function(r) {
926
926
  r == null && !t.keepEmpty || (Array.isArray(r) ? n = n.concat(Fr(r)) : bc.isFragment(r) && r.props ? n = n.concat(Fr(r.props.children, t)) : n.push(r));
927
927
  }), n;
928
928
  }
@@ -1021,7 +1021,7 @@ function yc(e) {
1021
1021
  var t = dE(e);
1022
1022
  if (t)
1023
1023
  return t;
1024
- if (e instanceof Ne.Component) {
1024
+ if (e instanceof Ae.Component) {
1025
1025
  var n;
1026
1026
  return (n = f8.findDOMNode) === null || n === void 0 ? void 0 : n.call(f8, e);
1027
1027
  }
@@ -4029,7 +4029,7 @@ const ty = u3(OH), T3 = {
4029
4029
  override: Ic
4030
4030
  },
4031
4031
  hashed: !0
4032
- }, ny = /* @__PURE__ */ Ne.createContext(T3), Uu = "ant", ry = "anticon", HH = ["outlined", "borderless", "filled"], VH = (e, t) => t || (e ? `${Uu}-${e}` : Uu), Ft = /* @__PURE__ */ C.createContext({
4032
+ }, ny = /* @__PURE__ */ Ae.createContext(T3), Uu = "ant", ry = "anticon", HH = ["outlined", "borderless", "filled"], VH = (e, t) => t || (e ? `${Uu}-${e}` : Uu), Ft = /* @__PURE__ */ C.createContext({
4033
4033
  // We provide a default function for Context without provider
4034
4034
  getPrefixCls: VH,
4035
4035
  iconPrefixCls: ry
@@ -4354,7 +4354,7 @@ var WH = 1e3 * 60 * 10, ZH = /* @__PURE__ */ function() {
4354
4354
  }]), e;
4355
4355
  }(), q8 = new ZH();
4356
4356
  function UH(e, t) {
4357
- return Ne.useMemo(function() {
4357
+ return Ae.useMemo(function() {
4358
4358
  var n = q8.get(t);
4359
4359
  if (n)
4360
4360
  return n;
@@ -4407,7 +4407,7 @@ function GH(e) {
4407
4407
  }, w = function(V) {
4408
4408
  var _ = r(), M = _.cssVar;
4409
4409
  return [function(O) {
4410
- return b && M ? /* @__PURE__ */ Ne.createElement(Ne.Fragment, null, /* @__PURE__ */ Ne.createElement(S, {
4410
+ return b && M ? /* @__PURE__ */ Ae.createElement(Ae.Fragment, null, /* @__PURE__ */ Ae.createElement(S, {
4411
4411
  rootCls: V,
4412
4412
  cssVar: M,
4413
4413
  component: f
@@ -4762,7 +4762,7 @@ function oi() {
4762
4762
  theme: n,
4763
4763
  override: r,
4764
4764
  cssVar: i
4765
- } = Ne.useContext(ny), o = `${YH}-${t || ""}`, a = n || ty, [s, l, c] = yO(a, [Ic, e], {
4765
+ } = Ae.useContext(ny), o = `${YH}-${t || ""}`, a = n || ty, [s, l, c] = yO(a, [Ic, e], {
4766
4766
  salt: o,
4767
4767
  override: r,
4768
4768
  getComputedToken: cy,
@@ -5496,7 +5496,7 @@ const kV = (e) => {
5496
5496
  upload: $e,
5497
5497
  notification: fe,
5498
5498
  tree: Fe,
5499
- colorPicker: Ae,
5499
+ colorPicker: Ne,
5500
5500
  datePicker: Te,
5501
5501
  rangePicker: je,
5502
5502
  flex: Qe,
@@ -5580,7 +5580,7 @@ const kV = (e) => {
5580
5580
  upload: $e,
5581
5581
  notification: fe,
5582
5582
  tree: Fe,
5583
- colorPicker: Ae,
5583
+ colorPicker: Ne,
5584
5584
  datePicker: Te,
5585
5585
  rangePicker: je,
5586
5586
  flex: Qe,
@@ -5710,11 +5710,11 @@ function n9() {
5710
5710
  }, {});
5711
5711
  }
5712
5712
  function A3(e, t, n) {
5713
- return n ? /* @__PURE__ */ Ne.createElement(e.tag, te(te({
5713
+ return n ? /* @__PURE__ */ Ae.createElement(e.tag, te(te({
5714
5714
  key: t
5715
5715
  }, n9(e.attrs)), n), (e.children || []).map(function(r, i) {
5716
5716
  return A3(r, "".concat(t, "-").concat(e.tag, "-").concat(i));
5717
- })) : /* @__PURE__ */ Ne.createElement(e.tag, te({
5717
+ })) : /* @__PURE__ */ Ae.createElement(e.tag, te({
5718
5718
  key: t
5719
5719
  }, n9(e.attrs)), (e.children || []).map(function(r, i) {
5720
5720
  return A3(r, "".concat(t, "-").concat(e.tag, "-").concat(i));
@@ -5920,9 +5920,9 @@ function Nc(e) {
5920
5920
  }), r;
5921
5921
  }
5922
5922
  function Oy(e) {
5923
- return e && /* @__PURE__ */ Ne.isValidElement(e) && e.type === Ne.Fragment;
5923
+ return e && /* @__PURE__ */ Ae.isValidElement(e) && e.type === Ae.Fragment;
5924
5924
  }
5925
- const nT = (e, t, n) => /* @__PURE__ */ Ne.isValidElement(e) ? /* @__PURE__ */ Ne.cloneElement(e, typeof n == "function" ? n(e.props || {}) : n) : t;
5925
+ const nT = (e, t, n) => /* @__PURE__ */ Ae.isValidElement(e) ? /* @__PURE__ */ Ae.cloneElement(e, typeof n == "function" ? n(e.props || {}) : n) : t;
5926
5926
  function Yd(e, t) {
5927
5927
  return nT(e, e, t);
5928
5928
  }
@@ -6450,7 +6450,7 @@ var Ie = {
6450
6450
  }));
6451
6451
  }, Kd = /* @__PURE__ */ C.forwardRef(iT);
6452
6452
  process.env.NODE_ENV !== "production" && (Kd.displayName = "LoadingOutlined");
6453
- const F5 = /* @__PURE__ */ Ne.createContext(void 0);
6453
+ const F5 = /* @__PURE__ */ Ae.createContext(void 0);
6454
6454
  process.env.NODE_ENV !== "production" && (F5.displayName = "zIndexContext");
6455
6455
  const ua = 100, oT = 10, aT = ua * oT, Hy = {
6456
6456
  Modal: ua,
@@ -6470,7 +6470,7 @@ function lT(e) {
6470
6470
  return e in Hy;
6471
6471
  }
6472
6472
  function Vy(e, t) {
6473
- const [, n] = oi(), r = Ne.useContext(F5), i = lT(e);
6473
+ const [, n] = oi(), r = Ae.useContext(F5), i = lT(e);
6474
6474
  let o;
6475
6475
  if (t !== void 0)
6476
6476
  o = [t, t];
@@ -7039,7 +7039,7 @@ const ST = (e) => {
7039
7039
  } = e, {
7040
7040
  getPrefixCls: i
7041
7041
  } = Yt(Ft), o = Le(null), a = i("wave"), [, s] = CT(a), l = MT(o, Me(a, s), r);
7042
- if (Ne.useEffect(() => {
7042
+ if (Ae.useEffect(() => {
7043
7043
  const u = o.current;
7044
7044
  if (!u || u.nodeType !== 1 || n)
7045
7045
  return;
@@ -7050,7 +7050,7 @@ const ST = (e) => {
7050
7050
  return u.addEventListener("click", d, !0), () => {
7051
7051
  u.removeEventListener("click", d, !0);
7052
7052
  };
7053
- }, [n]), !/* @__PURE__ */ Ne.isValidElement(t))
7053
+ }, [n]), !/* @__PURE__ */ Ae.isValidElement(t))
7054
7054
  return t ?? null;
7055
7055
  const c = Ba(t) ? ii(t.ref, o) : o;
7056
7056
  return Yd(t, {
@@ -7059,8 +7059,8 @@ const ST = (e) => {
7059
7059
  };
7060
7060
  process.env.NODE_ENV !== "production" && (W5.displayName = "Wave");
7061
7061
  const ta = (e) => {
7062
- const t = Ne.useContext(Ws);
7063
- return Ne.useMemo(() => e ? typeof e == "string" ? e ?? t : e instanceof Function ? e(t) : t : t, [e, t]);
7062
+ const t = Ae.useContext(Ws);
7063
+ return Ae.useMemo(() => e ? typeof e == "string" ? e ?? t : e instanceof Function ? e(t) : t : t, [e, t]);
7064
7064
  }, _T = (e) => {
7065
7065
  const {
7066
7066
  componentCls: t
@@ -7274,12 +7274,12 @@ function kT(e, t) {
7274
7274
  const n = t ? " " : "";
7275
7275
  return typeof e != "string" && typeof e != "number" && s9(e.type) && D3(e.props.children) ? Yd(e, {
7276
7276
  children: e.props.children.split("").join(n)
7277
- }) : s9(e) ? D3(e) ? /* @__PURE__ */ Ne.createElement("span", null, e.split("").join(n)) : /* @__PURE__ */ Ne.createElement("span", null, e) : Oy(e) ? /* @__PURE__ */ Ne.createElement("span", null, e) : e;
7277
+ }) : s9(e) ? D3(e) ? /* @__PURE__ */ Ae.createElement("span", null, e.split("").join(n)) : /* @__PURE__ */ Ae.createElement("span", null, e) : Oy(e) ? /* @__PURE__ */ Ae.createElement("span", null, e) : e;
7278
7278
  }
7279
7279
  function PT(e, t) {
7280
7280
  let n = !1;
7281
7281
  const r = [];
7282
- return Ne.Children.forEach(e, (i) => {
7282
+ return Ae.Children.forEach(e, (i) => {
7283
7283
  const o = typeof i, a = o === "string" || o === "number";
7284
7284
  if (n && a) {
7285
7285
  const s = r.length - 1, l = r[s];
@@ -7287,7 +7287,7 @@ function PT(e, t) {
7287
7287
  } else
7288
7288
  r.push(i);
7289
7289
  n = a;
7290
- }), Ne.Children.map(r, (i) => kT(i, t));
7290
+ }), Ae.Children.map(r, (i) => kT(i, t));
7291
7291
  }
7292
7292
  const jy = /* @__PURE__ */ mr((e, t) => {
7293
7293
  const {
@@ -7296,7 +7296,7 @@ const jy = /* @__PURE__ */ mr((e, t) => {
7296
7296
  children: i,
7297
7297
  prefixCls: o
7298
7298
  } = e, a = Me(`${o}-icon`, n);
7299
- return /* @__PURE__ */ Ne.createElement("span", {
7299
+ return /* @__PURE__ */ Ae.createElement("span", {
7300
7300
  ref: t,
7301
7301
  className: a,
7302
7302
  style: r
@@ -7308,12 +7308,12 @@ const jy = /* @__PURE__ */ mr((e, t) => {
7308
7308
  style: i,
7309
7309
  iconClassName: o
7310
7310
  } = e, a = Me(`${n}-loading-icon`, r);
7311
- return /* @__PURE__ */ Ne.createElement(jy, {
7311
+ return /* @__PURE__ */ Ae.createElement(jy, {
7312
7312
  prefixCls: n,
7313
7313
  className: a,
7314
7314
  style: i,
7315
7315
  ref: t
7316
- }, /* @__PURE__ */ Ne.createElement(Kd, {
7316
+ }, /* @__PURE__ */ Ae.createElement(Kd, {
7317
7317
  className: o
7318
7318
  }));
7319
7319
  }), If = () => ({
@@ -7332,11 +7332,11 @@ const jy = /* @__PURE__ */ mr((e, t) => {
7332
7332
  className: i,
7333
7333
  style: o
7334
7334
  } = e, a = !!n;
7335
- return r ? /* @__PURE__ */ Ne.createElement(l9, {
7335
+ return r ? /* @__PURE__ */ Ae.createElement(l9, {
7336
7336
  prefixCls: t,
7337
7337
  className: i,
7338
7338
  style: o
7339
- }) : /* @__PURE__ */ Ne.createElement(Wa, {
7339
+ }) : /* @__PURE__ */ Ae.createElement(Wa, {
7340
7340
  visible: a,
7341
7341
  // We do not really use this motionName
7342
7342
  motionName: `${t}-loading-icon-motion`,
@@ -7353,7 +7353,7 @@ const jy = /* @__PURE__ */ mr((e, t) => {
7353
7353
  className: c,
7354
7354
  style: u
7355
7355
  } = s;
7356
- return /* @__PURE__ */ Ne.createElement(l9, {
7356
+ return /* @__PURE__ */ Ae.createElement(l9, {
7357
7357
  prefixCls: t,
7358
7358
  className: i,
7359
7359
  style: Object.assign(Object.assign({}, o), u),
@@ -7964,7 +7964,7 @@ function sR(e) {
7964
7964
  delay: 0
7965
7965
  };
7966
7966
  }
7967
- const lR = /* @__PURE__ */ Ne.forwardRef((e, t) => {
7967
+ const lR = /* @__PURE__ */ Ae.forwardRef((e, t) => {
7968
7968
  var n, r, i;
7969
7969
  const {
7970
7970
  loading: o = !1,
@@ -8043,17 +8043,17 @@ const lR = /* @__PURE__ */ Ne.forwardRef((e, t) => {
8043
8043
  [`${E}-dangerous`]: l,
8044
8044
  [`${E}-rtl`]: R === "rtl",
8045
8045
  [`${E}-icon-end`]: b === "end"
8046
- }, Z, h, p, I == null ? void 0 : I.className), ye = Object.assign(Object.assign({}, I == null ? void 0 : I.style), $), pe = Me(w == null ? void 0 : w.icon, (r = I == null ? void 0 : I.classNames) === null || r === void 0 ? void 0 : r.icon), be = Object.assign(Object.assign({}, (d == null ? void 0 : d.icon) || {}), ((i = I == null ? void 0 : I.styles) === null || i === void 0 ? void 0 : i.icon) || {}), we = v && !U ? /* @__PURE__ */ Ne.createElement(jy, {
8046
+ }, Z, h, p, I == null ? void 0 : I.className), ye = Object.assign(Object.assign({}, I == null ? void 0 : I.style), $), pe = Me(w == null ? void 0 : w.icon, (r = I == null ? void 0 : I.classNames) === null || r === void 0 ? void 0 : r.icon), be = Object.assign(Object.assign({}, (d == null ? void 0 : d.icon) || {}), ((i = I == null ? void 0 : I.styles) === null || i === void 0 ? void 0 : i.icon) || {}), we = v && !U ? /* @__PURE__ */ Ae.createElement(jy, {
8047
8047
  prefixCls: E,
8048
8048
  className: pe,
8049
8049
  style: be
8050
- }, v) : /* @__PURE__ */ Ne.createElement(IT, {
8050
+ }, v) : /* @__PURE__ */ Ae.createElement(IT, {
8051
8051
  existIcon: !!v,
8052
8052
  prefixCls: E,
8053
8053
  loading: U
8054
8054
  }), ve = g || g === 0 ? PT(g, Q && L) : null;
8055
8055
  if (ie.href !== void 0)
8056
- return T(/* @__PURE__ */ Ne.createElement("a", Object.assign({}, ie, {
8056
+ return T(/* @__PURE__ */ Ae.createElement("a", Object.assign({}, ie, {
8057
8057
  className: Me(ge, {
8058
8058
  [`${E}-disabled`]: k
8059
8059
  }),
@@ -8063,18 +8063,18 @@ const lR = /* @__PURE__ */ Ne.forwardRef((e, t) => {
8063
8063
  ref: Y,
8064
8064
  tabIndex: k ? -1 : 0
8065
8065
  }), we, ve));
8066
- let he = /* @__PURE__ */ Ne.createElement("button", Object.assign({}, _, {
8066
+ let he = /* @__PURE__ */ Ae.createElement("button", Object.assign({}, _, {
8067
8067
  type: S,
8068
8068
  className: ge,
8069
8069
  style: ye,
8070
8070
  onClick: B,
8071
8071
  disabled: k,
8072
8072
  ref: Y
8073
- }), we, ve, !!Z && /* @__PURE__ */ Ne.createElement(oR, {
8073
+ }), we, ve, !!Z && /* @__PURE__ */ Ae.createElement(oR, {
8074
8074
  key: "compact",
8075
8075
  prefixCls: E
8076
8076
  }));
8077
- return ru(M) || (he = /* @__PURE__ */ Ne.createElement(W5, {
8077
+ return ru(M) || (he = /* @__PURE__ */ Ae.createElement(W5, {
8078
8078
  component: "Button",
8079
8079
  disabled: U
8080
8080
  }, he)), T(he);
@@ -10288,10 +10288,10 @@ const hL = (e) => {
10288
10288
  if (r == null)
10289
10289
  return null;
10290
10290
  let i = r;
10291
- return n && (i = /* @__PURE__ */ Ne.createElement(hL, {
10291
+ return n && (i = /* @__PURE__ */ Ae.createElement(hL, {
10292
10292
  override: !0,
10293
10293
  status: !0
10294
- }, i)), t && (i = /* @__PURE__ */ Ne.createElement(HT, null, i)), i;
10294
+ }, i)), t && (i = /* @__PURE__ */ Ae.createElement(HT, null, i)), i;
10295
10295
  };
10296
10296
  var qy = function(t) {
10297
10297
  if (pr() && window.document.documentElement) {
@@ -11397,17 +11397,17 @@ var t0 = function(t) {
11397
11397
  }))
11398
11398
  }, o));
11399
11399
  }, gj = function(t, n, r, i, o) {
11400
- var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : !1, s = arguments.length > 6 ? arguments[6] : void 0, l = arguments.length > 7 ? arguments[7] : void 0, c = Ne.useMemo(function() {
11400
+ var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : !1, s = arguments.length > 6 ? arguments[6] : void 0, l = arguments.length > 7 ? arguments[7] : void 0, c = Ae.useMemo(function() {
11401
11401
  if (xt(i) === "object")
11402
11402
  return i.clearIcon;
11403
11403
  if (o)
11404
11404
  return o;
11405
- }, [i, o]), u = Ne.useMemo(function() {
11405
+ }, [i, o]), u = Ae.useMemo(function() {
11406
11406
  return !!(!a && i && (r.length || s) && !(l === "combobox" && s === ""));
11407
11407
  }, [i, a, r.length, s, l]);
11408
11408
  return {
11409
11409
  allowClear: u,
11410
- clearIcon: /* @__PURE__ */ Ne.createElement(t0, {
11410
+ clearIcon: /* @__PURE__ */ Ae.createElement(t0, {
11411
11411
  className: "".concat(t, "-clear"),
11412
11412
  onMouseDown: n,
11413
11413
  customizeIcon: c
@@ -11569,7 +11569,7 @@ function Dl(e, t) {
11569
11569
  });
11570
11570
  return [i, a];
11571
11571
  }
11572
- var Ju = /* @__PURE__ */ Ne.createContext(null), Sj = ["component"], $j = ["className"], Mj = ["className"], _j = function(t, n) {
11572
+ var Ju = /* @__PURE__ */ Ae.createContext(null), Sj = ["component"], $j = ["className"], Mj = ["className"], _j = function(t, n) {
11573
11573
  var r = C.useContext(Ju);
11574
11574
  if (!r) {
11575
11575
  var i = t.component, o = i === void 0 ? "div" : i, a = jt(t, Sj);
@@ -11593,7 +11593,7 @@ function Oj(e) {
11593
11593
  function Hj(e, t) {
11594
11594
  var n = e.prefixCls, r = n === void 0 ? "rc-overflow" : n, i = e.data, o = i === void 0 ? [] : i, a = e.renderItem, s = e.renderRawItem, l = e.itemKey, c = e.itemWidth, u = c === void 0 ? 10 : c, d = e.ssr, f = e.style, h = e.className, p = e.maxCount, g = e.renderRest, v = e.renderRawRest, b = e.suffix, y = e.component, x = y === void 0 ? "div" : y, S = e.itemComponent, w = e.onVisibleChange, $ = jt(e, Ej), V = d === "full", _ = wj(), M = Dl(_, null), O = se(M, 2), R = O[0], I = O[1], L = R || 0, E = Dl(_, /* @__PURE__ */ new Map()), T = se(E, 2), j = T[0], H = T[1], P = Dl(_, 0), k = se(P, 2), A = k[0], D = k[1], U = Dl(_, 0), q = se(U, 2), G = q[0], J = q[1], X = Dl(_, 0), Y = se(X, 2), Q = Y[0], B = Y[1], W = pt(null), Z = se(W, 2), N = Z[0], ne = Z[1], z = pt(null), re = se(z, 2), ie = re[0], ge = re[1], ye = C.useMemo(function() {
11595
11595
  return ie === null && V ? Number.MAX_SAFE_INTEGER : ie || 0;
11596
- }, [ie, R]), pe = pt(!1), be = se(pe, 2), we = be[0], ve = be[1], he = "".concat(r, "-item"), le = Math.max(A, G), $e = p === nC, fe = o.length && $e, Fe = p === rC, Ae = fe || typeof p == "number" && o.length > p, Te = Se(function() {
11596
+ }, [ie, R]), pe = pt(!1), be = se(pe, 2), we = be[0], ve = be[1], he = "".concat(r, "-item"), le = Math.max(A, G), $e = p === nC, fe = o.length && $e, Fe = p === rC, Ne = fe || typeof p == "number" && o.length > p, Te = Se(function() {
11597
11597
  var Ue = o;
11598
11598
  return fe ? R === null && V ? Ue = o : Ue = o.slice(0, Math.min(o.length, L / u)) : typeof p == "number" && (Ue = o.slice(0, p)), Ue;
11599
11599
  }, [o, u, R, p, fe]), je = Se(function() {
@@ -11703,7 +11703,7 @@ function Hj(e, t) {
11703
11703
  className: Me(!Fe && r, h),
11704
11704
  style: f,
11705
11705
  ref: t
11706
- }, $), Te.map(De), Ae ? Ze : null, b && /* @__PURE__ */ C.createElement(Sc, vt({}, ot, {
11706
+ }, $), Te.map(De), Ne ? Ze : null, b && /* @__PURE__ */ C.createElement(Sc, vt({}, ot, {
11707
11707
  responsive: $e,
11708
11708
  responsiveDisabled: !fe,
11709
11709
  order: ye,
@@ -12277,7 +12277,7 @@ function Zj(e, t, n, r, i, o, a) {
12277
12277
  var he = Dc(Math.round(B / parseFloat(_) * 1e3) / 1e3), le = Dc(Math.round(Q / parseFloat(M) * 1e3) / 1e3);
12278
12278
  if (he === 0 || le === 0 || Oc(n) && !z5(n))
12279
12279
  return;
12280
- var $e = j.offset, fe = j.targetOffset, Fe = I9(A, $e), Ae = se(Fe, 2), Te = Ae[0], je = Ae[1], Qe = I9(P, fe), et = se(Qe, 2), Be = et[0], ke = et[1];
12280
+ var $e = j.offset, fe = j.targetOffset, Fe = I9(A, $e), Ne = se(Fe, 2), Te = Ne[0], je = Ne[1], Qe = I9(P, fe), et = se(Qe, 2), Be = et[0], ke = et[1];
12281
12281
  P.x -= Be, P.y -= ke;
12282
12282
  var tt = j.points || [], Ge = se(tt, 2), Ke = Ge[0], ue = Ge[1], Ee = A9(ue), Je = A9(Ke), ot = fs(P, Ee), De = fs(A, Je), Ze = te({}, j), We = ot.x - De.x + Te, nt = ot.y - De.y + je, it = Dn(We, nt), Ue = Dn(We, nt, pe), Pe = fs(P, ["t", "l"]), ft = fs(A, ["t", "l"]), wt = fs(P, ["b", "r"]), Oe = fs(A, ["b", "r"]), de = j.overflow || {}, xe = de.adjustX, He = de.adjustY, Xe = de.shiftX, qe = de.shiftY, at = function(si) {
12283
12283
  return typeof si == "boolean" ? si : si >= 0;
@@ -12411,8 +12411,8 @@ function Yj() {
12411
12411
  be.current[Vt] = Vn, we == null || we.registerSubPopup(Vt, Vn);
12412
12412
  }
12413
12413
  };
12414
- }, [we]), he = bR(), le = C.useState(null), $e = se(le, 2), fe = $e[0], Fe = $e[1], Ae = C.useRef(null), Te = Xn(function(yt) {
12415
- Ae.current = yt, Oc(yt) && fe !== yt && Fe(yt), we == null || we.registerSubPopup(he, yt);
12414
+ }, [we]), he = bR(), le = C.useState(null), $e = se(le, 2), fe = $e[0], Fe = $e[1], Ne = C.useRef(null), Te = Xn(function(yt) {
12415
+ Ne.current = yt, Oc(yt) && fe !== yt && Fe(yt), we == null || we.registerSubPopup(he, yt);
12416
12416
  }), je = C.useState(null), Qe = se(je, 2), et = Qe[0], Be = Qe[1], ke = C.useRef(null), tt = Xn(function(yt) {
12417
12417
  Oc(yt) && et !== yt && (Be(yt), ke.current = yt);
12418
12418
  }), Ge = C.Children.only(a), Ke = (Ge == null ? void 0 : Ge.props) || {}, ue = {}, Ee = Xn(function(yt) {
@@ -12467,7 +12467,7 @@ function Yj() {
12467
12467
  C.useImperativeHandle(r, function() {
12468
12468
  return {
12469
12469
  nativeElement: ke.current,
12470
- popupElement: Ae.current,
12470
+ popupElement: Ne.current,
12471
12471
  forceAlign: yr
12472
12472
  };
12473
12473
  });
@@ -12765,12 +12765,12 @@ var nk = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
12765
12765
  C.useEffect(function() {
12766
12766
  le(Q5());
12767
12767
  }, []);
12768
- var $e = C.useRef(null), fe = C.useRef(null), Fe = C.useRef(null), Ae = C.useRef(null), Te = C.useRef(null), je = C.useRef(!1), Qe = pj(), et = se(Qe, 3), Be = et[0], ke = et[1], tt = et[2];
12768
+ var $e = C.useRef(null), fe = C.useRef(null), Fe = C.useRef(null), Ne = C.useRef(null), Te = C.useRef(null), je = C.useRef(!1), Qe = pj(), et = se(Qe, 3), Be = et[0], ke = et[1], tt = et[2];
12769
12769
  C.useImperativeHandle(t, function() {
12770
12770
  var It, Ot;
12771
12771
  return {
12772
- focus: (It = Ae.current) === null || It === void 0 ? void 0 : It.focus,
12773
- blur: (Ot = Ae.current) === null || Ot === void 0 ? void 0 : Ot.blur,
12772
+ focus: (It = Ne.current) === null || It === void 0 ? void 0 : It.focus,
12773
+ blur: (Ot = Ne.current) === null || Ot === void 0 ? void 0 : Ot.blur,
12774
12774
  scrollTo: function(kn) {
12775
12775
  var Ht;
12776
12776
  return (Ht = Te.current) === null || Ht === void 0 ? void 0 : Ht.scrollTo(kn);
@@ -12884,7 +12884,7 @@ var nk = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
12884
12884
  var or = lt.indexOf(_t);
12885
12885
  if (or !== -1 && lt.splice(or, 1), tt(), !he && !Ht.contains(document.activeElement)) {
12886
12886
  var Kn;
12887
- (Kn = Ae.current) === null || Kn === void 0 || Kn.focus();
12887
+ (Kn = Ne.current) === null || Kn === void 0 || Kn.focus();
12888
12888
  }
12889
12889
  });
12890
12890
  lt.push(_t);
@@ -12927,7 +12927,7 @@ var nk = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
12927
12927
  }));
12928
12928
  var Nn = function() {
12929
12929
  var Ot;
12930
- g == null || g(), (Ot = Ae.current) === null || Ot === void 0 || Ot.focus(), d([], {
12930
+ g == null || g(), (Ot = Ne.current) === null || Ot === void 0 || Ot.focus(), d([], {
12931
12931
  type: "clear",
12932
12932
  values: u
12933
12933
  }), qe("", !1, !1);
@@ -12967,7 +12967,7 @@ var nk = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
12967
12967
  domRef: fe,
12968
12968
  prefixCls: i,
12969
12969
  inputElement: Ke,
12970
- ref: Ae,
12970
+ ref: Ne,
12971
12971
  id: r,
12972
12972
  showSearch: pe,
12973
12973
  autoClearSearchValue: I,
@@ -13478,8 +13478,8 @@ function bk(e, t) {
13478
13478
  end: Ct,
13479
13479
  offset: lt
13480
13480
  };
13481
- }, [P, j, Y, D, T, o]), Fe = fe.scrollHeight, Ae = fe.start, Te = fe.end, je = fe.offset;
13482
- we.current.start = Ae, we.current.end = Te;
13481
+ }, [P, j, Y, D, T, o]), Fe = fe.scrollHeight, Ne = fe.start, Te = fe.end, je = fe.offset;
13482
+ we.current.start = Ne, we.current.end = Te;
13483
13483
  var Qe = C.useState({
13484
13484
  width: 0,
13485
13485
  height: o
@@ -13581,19 +13581,19 @@ function bk(e, t) {
13581
13581
  };
13582
13582
  }), cn(function() {
13583
13583
  if (S) {
13584
- var me = D.slice(Ae, Te + 1);
13584
+ var me = D.slice(Ne, Te + 1);
13585
13585
  S(me, D);
13586
13586
  }
13587
- }, [Ae, Te, D]);
13587
+ }, [Ne, Te, D]);
13588
13588
  var Ve = ck(D, M, E, a), st = $ == null ? void 0 : $({
13589
- start: Ae,
13589
+ start: Ne,
13590
13590
  end: Te,
13591
13591
  virtual: P,
13592
13592
  offsetX: Z,
13593
13593
  offsetY: je,
13594
13594
  rtl: k,
13595
13595
  getSize: Ve
13596
- }), ct = ok(D, Ae, Te, g, Z, I, d, pe), ut = null;
13596
+ }), ct = ok(D, Ne, Te, g, Z, I, d, pe), ut = null;
13597
13597
  o && (ut = te(ee({}, l ? "height" : "maxHeight", o), mk), j && (ut.overflowY = "hidden", g && (ut.overflowX = "hidden"), re && (ut.pointerEvents = "none")));
13598
13598
  var mt = {};
13599
13599
  return k && (mt.dir = "rtl"), /* @__PURE__ */ C.createElement("div", vt({
@@ -13818,7 +13818,7 @@ var xk = function(t, n) {
13818
13818
  }
13819
13819
  var be = z.disabled, we = z.title;
13820
13820
  z.children;
13821
- var ve = z.style, he = z.className, le = jt(z, Ck), $e = Br(le, J), fe = q(ie), Fe = be || !fe && E, Ae = "".concat(R, "-option"), Te = Me(R, Ae, he, ee(ee(ee(ee({}, "".concat(Ae, "-grouped"), ne), "".concat(Ae, "-active"), A === Z && !Fe), "".concat(Ae, "-disabled"), Fe), "".concat(Ae, "-selected"), fe)), je = X(W), Qe = !x || typeof x == "function" || fe, et = typeof je == "number" ? je : je || ie, Be = Z9(et) ? et.toString() : void 0;
13821
+ var ve = z.style, he = z.className, le = jt(z, Ck), $e = Br(le, J), fe = q(ie), Fe = be || !fe && E, Ne = "".concat(R, "-option"), Te = Me(R, Ne, he, ee(ee(ee(ee({}, "".concat(Ne, "-grouped"), ne), "".concat(Ne, "-active"), A === Z && !Fe), "".concat(Ne, "-disabled"), Fe), "".concat(Ne, "-selected"), fe)), je = X(W), Qe = !x || typeof x == "function" || fe, et = typeof je == "number" ? je : je || ie, Be = Z9(et) ? et.toString() : void 0;
13822
13822
  return we !== void 0 && (Be = we), /* @__PURE__ */ C.createElement("div", vt({}, Nc($e), $ ? {} : Y(W, Z), {
13823
13823
  "aria-selected": fe,
13824
13824
  className: Te,
@@ -13831,7 +13831,7 @@ var xk = function(t, n) {
13831
13831
  },
13832
13832
  style: ve
13833
13833
  }), /* @__PURE__ */ C.createElement("div", {
13834
- className: "".concat(Ae, "-content")
13834
+ className: "".concat(Ne, "-content")
13835
13835
  }, typeof O == "function" ? O(W, {
13836
13836
  index: Z
13837
13837
  }) : et), /* @__PURE__ */ C.isValidElement(x) || fe, Qe && /* @__PURE__ */ C.createElement(t0, {
@@ -14089,7 +14089,7 @@ var pC = /* @__PURE__ */ C.forwardRef(function(e, t) {
14089
14089
  Z(Lj(de) ? String(de) : "");
14090
14090
  }
14091
14091
  }, [le]);
14092
- var Ae = q9(function(Oe, de) {
14092
+ var Ne = q9(function(Oe, de) {
14093
14093
  var xe = de ?? Oe;
14094
14094
  return ee(ee({}, Y.value, Oe), Y.label, xe);
14095
14095
  }), Te = C.useMemo(function() {
@@ -14102,15 +14102,15 @@ var pC = /* @__PURE__ */ C.forwardRef(function(e, t) {
14102
14102
  return xe.value < He.value ? -1 : 1;
14103
14103
  }).forEach(function(xe) {
14104
14104
  var He = xe.value;
14105
- de(He) || Oe.push(Ae(He, xe.label));
14105
+ de(He) || Oe.push(Ne(He, xe.label));
14106
14106
  }), Oe;
14107
- }, [Ae, re, ne, le, r]), je = Sk(Te, Y, W, X, x), Qe = C.useMemo(function() {
14107
+ }, [Ne, re, ne, le, r]), je = Sk(Te, Y, W, X, x), Qe = C.useMemo(function() {
14108
14108
  return r !== "tags" || !W || je.some(function(Oe) {
14109
14109
  return Oe[x || "value"] === W;
14110
14110
  }) || je.some(function(Oe) {
14111
14111
  return Oe[Y.value] === W;
14112
- }) ? je : [Ae(W)].concat(ht(je));
14113
- }, [Ae, x, r, je, W, Y]), et = C.useMemo(function() {
14112
+ }) ? je : [Ne(W)].concat(ht(je));
14113
+ }, [Ne, x, r, je, W, Y]), et = C.useMemo(function() {
14114
14114
  return y ? ht(Qe).sort(function(Oe, de) {
14115
14115
  return y(Oe, de, {
14116
14116
  searchValue: W
@@ -14461,7 +14461,7 @@ const Nk = (e) => {
14461
14461
  switch (t) {
14462
14462
  case "Table":
14463
14463
  case "List":
14464
- return /* @__PURE__ */ Ne.createElement(Po, {
14464
+ return /* @__PURE__ */ Ae.createElement(Po, {
14465
14465
  image: Po.PRESENTED_IMAGE_SIMPLE
14466
14466
  });
14467
14467
  case "Select":
@@ -14469,14 +14469,14 @@ const Nk = (e) => {
14469
14469
  case "Cascader":
14470
14470
  case "Transfer":
14471
14471
  case "Mentions":
14472
- return /* @__PURE__ */ Ne.createElement(Po, {
14472
+ return /* @__PURE__ */ Ae.createElement(Po, {
14473
14473
  image: Po.PRESENTED_IMAGE_SIMPLE,
14474
14474
  className: `${r}-small`
14475
14475
  });
14476
14476
  case "Table.filter":
14477
14477
  return null;
14478
14478
  default:
14479
- return /* @__PURE__ */ Ne.createElement(Po, null);
14479
+ return /* @__PURE__ */ Ae.createElement(Po, null);
14480
14480
  }
14481
14481
  }, s6 = function(e, t) {
14482
14482
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
@@ -15575,7 +15575,7 @@ const $C = "SECRET_COMBOBOX_MODE_DO_NOT_USE", MC = (e, t) => {
15575
15575
  showSuffixIcon: ie,
15576
15576
  prefixCls: q,
15577
15577
  componentName: "Select"
15578
- })), Ae = $ === !0 ? {
15578
+ })), Ne = $ === !0 ? {
15579
15579
  clearIcon: Fe
15580
15580
  } : $, Te = Br(I, ["suffixIcon", "itemIcon"]), je = Me(l || c, {
15581
15581
  [`${q}-dropdown-${J}`]: J === "rtl"
@@ -15612,7 +15612,7 @@ const $C = "SECRET_COMBOBOX_MODE_DO_NOT_USE", MC = (e, t) => {
15612
15612
  suffixIcon: le,
15613
15613
  menuItemSelectedIcon: $e,
15614
15614
  removeIcon: fe,
15615
- allowClear: Ae,
15615
+ allowClear: Ne,
15616
15616
  notFoundContent: he,
15617
15617
  className: ke,
15618
15618
  getPopupContainer: s || L,
@@ -15657,7 +15657,7 @@ const zc = ["xxl", "xl", "lg", "md", "sm", "xs"], vP = (e) => ({
15657
15657
  };
15658
15658
  function mP() {
15659
15659
  const [, e] = oi(), t = vP(pP(e));
15660
- return Ne.useMemo(() => {
15660
+ return Ae.useMemo(() => {
15661
15661
  const n = /* @__PURE__ */ new Map();
15662
15662
  let r = -1, i = {};
15663
15663
  return {
@@ -16472,9 +16472,9 @@ var NP = /* @__PURE__ */ mr(function(e, t) {
16472
16472
  var s;
16473
16473
  return typeof n == "function" ? s = n() : s = n, s;
16474
16474
  }, [n]), a = ii(t, o == null ? void 0 : o.ref);
16475
- return /* @__PURE__ */ Ne.createElement(Ne.Fragment, null, r && /* @__PURE__ */ Ne.createElement("div", {
16475
+ return /* @__PURE__ */ Ae.createElement(Ae.Fragment, null, r && /* @__PURE__ */ Ae.createElement("div", {
16476
16476
  className: "".concat(i, "-arrow")
16477
- }), /* @__PURE__ */ Ne.cloneElement(o, {
16477
+ }), /* @__PURE__ */ Ae.cloneElement(o, {
16478
16478
  ref: Ba(o) ? a : void 0
16479
16479
  }));
16480
16480
  }), vs = {
@@ -16519,8 +16519,8 @@ var NP = /* @__PURE__ */ mr(function(e, t) {
16519
16519
  }
16520
16520
  }, DP = ["arrow", "prefixCls", "transitionName", "animation", "align", "placement", "placements", "getPopupContainer", "showAction", "hideAction", "overlayClassName", "overlayStyle", "visible", "trigger", "autoFocus", "overlay", "children", "onVisibleChange"];
16521
16521
  function zP(e, t) {
16522
- var n, r = e.arrow, i = r === void 0 ? !1 : r, o = e.prefixCls, a = o === void 0 ? "rc-dropdown" : o, s = e.transitionName, l = e.animation, c = e.align, u = e.placement, d = u === void 0 ? "bottomLeft" : u, f = e.placements, h = f === void 0 ? FP : f, p = e.getPopupContainer, g = e.showAction, v = e.hideAction, b = e.overlayClassName, y = e.overlayStyle, x = e.visible, S = e.trigger, w = S === void 0 ? ["hover"] : S, $ = e.autoFocus, V = e.overlay, _ = e.children, M = e.onVisibleChange, O = jt(e, DP), R = Ne.useState(), I = se(R, 2), L = I[0], E = I[1], T = "visible" in e ? x : L, j = Ne.useRef(null), H = Ne.useRef(null), P = Ne.useRef(null);
16523
- Ne.useImperativeHandle(t, function() {
16522
+ var n, r = e.arrow, i = r === void 0 ? !1 : r, o = e.prefixCls, a = o === void 0 ? "rc-dropdown" : o, s = e.transitionName, l = e.animation, c = e.align, u = e.placement, d = u === void 0 ? "bottomLeft" : u, f = e.placements, h = f === void 0 ? FP : f, p = e.getPopupContainer, g = e.showAction, v = e.hideAction, b = e.overlayClassName, y = e.overlayStyle, x = e.visible, S = e.trigger, w = S === void 0 ? ["hover"] : S, $ = e.autoFocus, V = e.overlay, _ = e.children, M = e.onVisibleChange, O = jt(e, DP), R = Ae.useState(), I = se(R, 2), L = I[0], E = I[1], T = "visible" in e ? x : L, j = Ae.useRef(null), H = Ae.useRef(null), P = Ae.useRef(null);
16523
+ Ae.useImperativeHandle(t, function() {
16524
16524
  return j.current;
16525
16525
  });
16526
16526
  var k = function(Q) {
@@ -16537,7 +16537,7 @@ function zP(e, t) {
16537
16537
  var B = e.onOverlayClick;
16538
16538
  E(!1), B && B(Q);
16539
16539
  }, D = function() {
16540
- return /* @__PURE__ */ Ne.createElement(NP, {
16540
+ return /* @__PURE__ */ Ae.createElement(NP, {
16541
16541
  ref: H,
16542
16542
  overlay: V,
16543
16543
  prefixCls: a,
@@ -16551,11 +16551,11 @@ function zP(e, t) {
16551
16551
  }, G = function() {
16552
16552
  var Q = e.openClassName;
16553
16553
  return Q !== void 0 ? Q : "".concat(a, "-open");
16554
- }, J = /* @__PURE__ */ Ne.cloneElement(_, {
16554
+ }, J = /* @__PURE__ */ Ae.cloneElement(_, {
16555
16555
  className: Me((n = _.props) === null || n === void 0 ? void 0 : n.className, T && G()),
16556
16556
  ref: Ba(_) ? ii(P, _.ref) : void 0
16557
16557
  }), X = v;
16558
- return !X && w.indexOf("contextMenu") !== -1 && (X = ["click"]), /* @__PURE__ */ Ne.createElement(n0, vt({
16558
+ return !X && w.indexOf("contextMenu") !== -1 && (X = ["click"]), /* @__PURE__ */ Ae.createElement(n0, vt({
16559
16559
  builtinPlacements: h
16560
16560
  }, O, {
16561
16561
  prefixCls: a,
@@ -16577,7 +16577,7 @@ function zP(e, t) {
16577
16577
  getPopupContainer: p
16578
16578
  }), J);
16579
16579
  }
16580
- const BP = /* @__PURE__ */ Ne.forwardRef(zP);
16580
+ const BP = /* @__PURE__ */ Ae.forwardRef(zP);
16581
16581
  var TC = /* @__PURE__ */ C.createContext(null);
16582
16582
  function RC(e, t) {
16583
16583
  return e === void 0 ? null : "".concat(e, "-").concat(t);
@@ -17158,7 +17158,7 @@ var mI = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
17158
17158
  key: a,
17159
17159
  domEvent: Ke
17160
17160
  }), O === "inline" && k(a, !N));
17161
- }, Ae = pc(function(Ge) {
17161
+ }, Ne = pc(function(Ge) {
17162
17162
  v == null || v(nd(Ge)), P(Ge);
17163
17163
  }), Te = function(Ke) {
17164
17164
  O !== "inline" && k(a, Ke);
@@ -17231,7 +17231,7 @@ var mI = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
17231
17231
  open: ne,
17232
17232
  disabled: Y
17233
17233
  })), /* @__PURE__ */ C.createElement(Bc, {
17234
- onItemClick: Ae,
17234
+ onItemClick: Ne,
17235
17235
  mode: O === "horizontal" ? "vertical" : O,
17236
17236
  itemIcon: W,
17237
17237
  expandIcon: Z
@@ -17324,7 +17324,7 @@ function rg(e, t, n, r) {
17324
17324
  var SI = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items", "children", "direction", "id", "mode", "inlineCollapsed", "disabled", "disabledOverflow", "subMenuOpenDelay", "subMenuCloseDelay", "forceSubMenuRender", "defaultOpenKeys", "openKeys", "activeKey", "defaultActiveFirst", "selectable", "multiple", "defaultSelectedKeys", "selectedKeys", "onSelect", "onDeselect", "inlineIndent", "motion", "defaultMotions", "triggerSubMenuAction", "builtinPlacements", "itemIcon", "expandIcon", "overflowedIndicator", "overflowedIndicatorPopupClassName", "getPopupContainer", "onClick", "onOpenChange", "onKeyDown", "openAnimation", "openTransitionName", "_internalRenderMenuItem", "_internalRenderSubMenuItem", "_internalComponents"], sa = [], $I = /* @__PURE__ */ C.forwardRef(function(e, t) {
17325
17325
  var n, r, i = e, o = i.prefixCls, a = o === void 0 ? "rc-menu" : o, s = i.rootClassName, l = i.style, c = i.className, u = i.tabIndex, d = u === void 0 ? 0 : u, f = i.items, h = i.children, p = i.direction, g = i.id, v = i.mode, b = v === void 0 ? "vertical" : v, y = i.inlineCollapsed, x = i.disabled, S = i.disabledOverflow, w = i.subMenuOpenDelay, $ = w === void 0 ? 0.1 : w, V = i.subMenuCloseDelay, _ = V === void 0 ? 0.1 : V, M = i.forceSubMenuRender, O = i.defaultOpenKeys, R = i.openKeys, I = i.activeKey, L = i.defaultActiveFirst, E = i.selectable, T = E === void 0 ? !0 : E, j = i.multiple, H = j === void 0 ? !1 : j, P = i.defaultSelectedKeys, k = i.selectedKeys, A = i.onSelect, D = i.onDeselect, U = i.inlineIndent, q = U === void 0 ? 24 : U, G = i.motion, J = i.defaultMotions, X = i.triggerSubMenuAction, Y = X === void 0 ? "hover" : X, Q = i.builtinPlacements, B = i.itemIcon, W = i.expandIcon, Z = i.overflowedIndicator, N = Z === void 0 ? "..." : Z, ne = i.overflowedIndicatorPopupClassName, z = i.getPopupContainer, re = i.onClick, ie = i.onOpenChange, ge = i.onKeyDown, ye = i.openAnimation, pe = i.openTransitionName, be = i._internalRenderMenuItem, we = i._internalRenderSubMenuItem, ve = i._internalComponents, he = jt(i, SI), le = C.useMemo(function() {
17326
17326
  return [rg(h, f, sa, ve), rg(h, f, sa, {})];
17327
- }, [h, f, ve]), $e = se(le, 2), fe = $e[0], Fe = $e[1], Ae = C.useState(!1), Te = se(Ae, 2), je = Te[0], Qe = Te[1], et = C.useRef(), Be = nI(g), ke = p === "rtl";
17327
+ }, [h, f, ve]), $e = se(le, 2), fe = $e[0], Fe = $e[1], Ne = C.useState(!1), Te = se(Ne, 2), je = Te[0], Qe = Te[1], et = C.useRef(), Be = nI(g), ke = p === "rtl";
17328
17328
  process.env.NODE_ENV !== "production" && Tt(!ye && !pe, "`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");
17329
17329
  var tt = Qn(O, {
17330
17330
  value: R,
@@ -19129,7 +19129,7 @@ var oA = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "fa
19129
19129
  process.env.NODE_ENV !== "production" && (JC.displayName = "PlusOutlined");
19130
19130
  const a0 = /* @__PURE__ */ Jn(null);
19131
19131
  var sA = function(t) {
19132
- var n = t.activeTabOffset, r = t.horizontal, i = t.rtl, o = t.indicator, a = o === void 0 ? {} : o, s = a.size, l = a.align, c = l === void 0 ? "center" : l, u = pt(), d = se(u, 2), f = d[0], h = d[1], p = Le(), g = Ne.useCallback(function(b) {
19132
+ var n = t.activeTabOffset, r = t.horizontal, i = t.rtl, o = t.indicator, a = o === void 0 ? {} : o, s = a.size, l = a.align, c = l === void 0 ? "center" : l, u = pt(), d = se(u, 2), f = d[0], h = d[1], p = Le(), g = Ae.useCallback(function(b) {
19133
19133
  return typeof s == "function" ? s(b) : typeof s == "number" ? s : b;
19134
19134
  }, [s]);
19135
19135
  function v() {
@@ -19542,10 +19542,10 @@ var pA = function(t) {
19542
19542
  !R && g && g({
19543
19543
  direction: oe > ae ? "top" : "bottom"
19544
19544
  });
19545
- }), H = se(j, 2), P = H[0], k = H[1], A = pt([0, 0]), D = se(A, 2), U = D[0], q = D[1], G = pt([0, 0]), J = se(G, 2), X = J[0], Y = J[1], Q = pt([0, 0]), B = se(Q, 2), W = B[0], Z = B[1], N = pt([0, 0]), ne = se(N, 2), z = ne[0], re = ne[1], ie = dA(/* @__PURE__ */ new Map()), ge = se(ie, 2), ye = ge[0], pe = ge[1], be = lA(x, ye, X[0]), we = au(U, R), ve = au(X, R), he = au(W, R), le = au(z, R), $e = we < ve + he, fe = $e ? we - le : we - he, Fe = "".concat(y, "-nav-operations-hidden"), Ae = 0, Te = 0;
19546
- R && s ? (Ae = 0, Te = Math.max(0, ve - fe)) : (Ae = Math.min(0, fe - ve), Te = 0);
19545
+ }), H = se(j, 2), P = H[0], k = H[1], A = pt([0, 0]), D = se(A, 2), U = D[0], q = D[1], G = pt([0, 0]), J = se(G, 2), X = J[0], Y = J[1], Q = pt([0, 0]), B = se(Q, 2), W = B[0], Z = B[1], N = pt([0, 0]), ne = se(N, 2), z = ne[0], re = ne[1], ie = dA(/* @__PURE__ */ new Map()), ge = se(ie, 2), ye = ge[0], pe = ge[1], be = lA(x, ye, X[0]), we = au(U, R), ve = au(X, R), he = au(W, R), le = au(z, R), $e = we < ve + he, fe = $e ? we - le : we - he, Fe = "".concat(y, "-nav-operations-hidden"), Ne = 0, Te = 0;
19546
+ R && s ? (Ne = 0, Te = Math.max(0, ve - fe)) : (Ne = Math.min(0, fe - ve), Te = 0);
19547
19547
  function je(oe) {
19548
- return oe < Ae ? Ae : oe > Te ? Te : oe;
19548
+ return oe < Ne ? Ne : oe > Te ? Te : oe;
19549
19549
  }
19550
19550
  var Qe = Le(null), et = pt(), Be = se(et, 2), ke = Be[0], tt = Be[1];
19551
19551
  function Ge() {
@@ -19658,11 +19658,11 @@ var pA = function(t) {
19658
19658
  }), de = Oe.style;
19659
19659
  St(function() {
19660
19660
  De();
19661
- }, [a, Ae, Te, hg(wt), hg(be), R]), St(function() {
19661
+ }, [a, Ne, Te, hg(wt), hg(be), R]), St(function() {
19662
19662
  it();
19663
19663
  }, [s]);
19664
19664
  var xe = !!ft.length, He = "".concat(y, "-nav-wrap"), Xe, qe, at, K;
19665
- return R ? s ? (qe = E > 0, Xe = E !== Te) : (Xe = E < 0, qe = E !== Ae) : (at = P < 0, K = P !== Ae), /* @__PURE__ */ C.createElement(Ar, {
19665
+ return R ? s ? (qe = E > 0, Xe = E !== Te) : (Xe = E < 0, qe = E !== Ne) : (at = P < 0, K = P !== Ne), /* @__PURE__ */ C.createElement(Ar, {
19666
19666
  onResize: it
19667
19667
  }, /* @__PURE__ */ C.createElement("div", {
19668
19668
  ref: rl(t, S),
@@ -21723,7 +21723,7 @@ function pN(e, t) {
21723
21723
  }
21724
21724
  }
21725
21725
  }
21726
- var ux = /* @__PURE__ */ Ne.forwardRef(function(e, t) {
21726
+ var ux = /* @__PURE__ */ Ae.forwardRef(function(e, t) {
21727
21727
  var n, r, i = e.inputElement, o = e.children, a = e.prefixCls, s = e.prefix, l = e.suffix, c = e.addonBefore, u = e.addonAfter, d = e.className, f = e.style, h = e.disabled, p = e.readOnly, g = e.focused, v = e.triggerFocus, b = e.allowClear, y = e.value, x = e.handleReset, S = e.hidden, w = e.classes, $ = e.classNames, V = e.dataAttrs, _ = e.styles, M = e.components, O = e.onClear, R = o ?? i, I = (M == null ? void 0 : M.affixWrapper) || "span", L = (M == null ? void 0 : M.groupWrapper) || "span", E = (M == null ? void 0 : M.wrapper) || "span", T = (M == null ? void 0 : M.groupAddon) || "span", j = Le(null), H = function(z) {
21728
21728
  var re;
21729
21729
  (re = j.current) !== null && re !== void 0 && re.contains(z.target) && (v == null || v());
@@ -21731,7 +21731,7 @@ var ux = /* @__PURE__ */ Ne.forwardRef(function(e, t) {
21731
21731
  value: y,
21732
21732
  className: Me(R.props.className, !P && ($ == null ? void 0 : $.variant)) || null
21733
21733
  }), A = Le(null);
21734
- if (Ne.useImperativeHandle(t, function() {
21734
+ if (Ae.useImperativeHandle(t, function() {
21735
21735
  return {
21736
21736
  nativeElement: A.current || j.current
21737
21737
  };
@@ -21739,7 +21739,7 @@ var ux = /* @__PURE__ */ Ne.forwardRef(function(e, t) {
21739
21739
  var D = null;
21740
21740
  if (b) {
21741
21741
  var U = !h && !p && y, q = "".concat(a, "-clear-icon"), G = xt(b) === "object" && b !== null && b !== void 0 && b.clearIcon ? b.clearIcon : "✖";
21742
- D = /* @__PURE__ */ Ne.createElement("span", {
21742
+ D = /* @__PURE__ */ Ae.createElement("span", {
21743
21743
  onClick: function(z) {
21744
21744
  x == null || x(z), O == null || O();
21745
21745
  },
@@ -21751,35 +21751,35 @@ var ux = /* @__PURE__ */ Ne.forwardRef(function(e, t) {
21751
21751
  tabIndex: -1
21752
21752
  }, G);
21753
21753
  }
21754
- var J = "".concat(a, "-affix-wrapper"), X = Me(J, ee(ee(ee(ee(ee({}, "".concat(a, "-disabled"), h), "".concat(J, "-disabled"), h), "".concat(J, "-focused"), g), "".concat(J, "-readonly"), p), "".concat(J, "-input-with-clear-btn"), l && b && y), w == null ? void 0 : w.affixWrapper, $ == null ? void 0 : $.affixWrapper, $ == null ? void 0 : $.variant), Y = (l || b) && /* @__PURE__ */ Ne.createElement("span", {
21754
+ var J = "".concat(a, "-affix-wrapper"), X = Me(J, ee(ee(ee(ee(ee({}, "".concat(a, "-disabled"), h), "".concat(J, "-disabled"), h), "".concat(J, "-focused"), g), "".concat(J, "-readonly"), p), "".concat(J, "-input-with-clear-btn"), l && b && y), w == null ? void 0 : w.affixWrapper, $ == null ? void 0 : $.affixWrapper, $ == null ? void 0 : $.variant), Y = (l || b) && /* @__PURE__ */ Ae.createElement("span", {
21755
21755
  className: Me("".concat(a, "-suffix"), $ == null ? void 0 : $.suffix),
21756
21756
  style: _ == null ? void 0 : _.suffix
21757
21757
  }, D, l);
21758
- k = /* @__PURE__ */ Ne.createElement(I, vt({
21758
+ k = /* @__PURE__ */ Ae.createElement(I, vt({
21759
21759
  className: X,
21760
21760
  style: _ == null ? void 0 : _.affixWrapper,
21761
21761
  onClick: H
21762
21762
  }, V == null ? void 0 : V.affixWrapper, {
21763
21763
  ref: j
21764
- }), s && /* @__PURE__ */ Ne.createElement("span", {
21764
+ }), s && /* @__PURE__ */ Ae.createElement("span", {
21765
21765
  className: Me("".concat(a, "-prefix"), $ == null ? void 0 : $.prefix),
21766
21766
  style: _ == null ? void 0 : _.prefix
21767
21767
  }, s), k, Y);
21768
21768
  }
21769
21769
  if (gN(e)) {
21770
21770
  var Q = "".concat(a, "-group"), B = "".concat(Q, "-addon"), W = "".concat(Q, "-wrapper"), Z = Me("".concat(a, "-wrapper"), Q, w == null ? void 0 : w.wrapper, $ == null ? void 0 : $.wrapper), N = Me(W, ee({}, "".concat(W, "-disabled"), h), w == null ? void 0 : w.group, $ == null ? void 0 : $.groupWrapper);
21771
- k = /* @__PURE__ */ Ne.createElement(L, {
21771
+ k = /* @__PURE__ */ Ae.createElement(L, {
21772
21772
  className: N,
21773
21773
  ref: A
21774
- }, /* @__PURE__ */ Ne.createElement(E, {
21774
+ }, /* @__PURE__ */ Ae.createElement(E, {
21775
21775
  className: Z
21776
- }, c && /* @__PURE__ */ Ne.createElement(T, {
21776
+ }, c && /* @__PURE__ */ Ae.createElement(T, {
21777
21777
  className: B
21778
- }, c), k, u && /* @__PURE__ */ Ne.createElement(T, {
21778
+ }, c), k, u && /* @__PURE__ */ Ae.createElement(T, {
21779
21779
  className: B
21780
21780
  }, u)));
21781
21781
  }
21782
- return /* @__PURE__ */ Ne.cloneElement(k, {
21782
+ return /* @__PURE__ */ Ae.cloneElement(k, {
21783
21783
  className: Me((n = k.props) === null || n === void 0 ? void 0 : n.className, d) || null,
21784
21784
  style: te(te({}, (r = k.props) === null || r === void 0 ? void 0 : r.style), f),
21785
21785
  hidden: S
@@ -21814,8 +21814,8 @@ var bN = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
21814
21814
  ($e = j.current) === null || $e === void 0 || $e.blur();
21815
21815
  },
21816
21816
  setSelectionRange: function($e, fe, Fe) {
21817
- var Ae;
21818
- (Ae = j.current) === null || Ae === void 0 || Ae.setSelectionRange($e, fe, Fe);
21817
+ var Ne;
21818
+ (Ne = j.current) === null || Ne === void 0 || Ne.setSelectionRange($e, fe, Fe);
21819
21819
  },
21820
21820
  select: function() {
21821
21821
  var $e;
@@ -21835,8 +21835,8 @@ var bN = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
21835
21835
  if (Fe = Q.exceedFormatter($e, {
21836
21836
  max: Q.max
21837
21837
  }), $e !== Fe) {
21838
- var Ae, Te;
21839
- Y([((Ae = j.current) === null || Ae === void 0 ? void 0 : Ae.selectionStart) || 0, ((Te = j.current) === null || Te === void 0 ? void 0 : Te.selectionEnd) || 0]);
21838
+ var Ne, Te;
21839
+ Y([((Ne = j.current) === null || Ne === void 0 ? void 0 : Ne.selectionStart) || 0, ((Te = j.current) === null || Te === void 0 ? void 0 : Te.selectionEnd) || 0]);
21840
21840
  }
21841
21841
  } else if (fe.source === "compositionEnd")
21842
21842
  return;
@@ -21886,7 +21886,7 @@ var bN = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
21886
21886
  "classNames",
21887
21887
  "onClear"
21888
21888
  ]);
21889
- return /* @__PURE__ */ Ne.createElement("input", vt({
21889
+ return /* @__PURE__ */ Ae.createElement("input", vt({
21890
21890
  autoComplete: n
21891
21891
  }, le, {
21892
21892
  onChange: ne,
@@ -21912,14 +21912,14 @@ var bN = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
21912
21912
  count: W,
21913
21913
  maxLength: B
21914
21914
  }) : "".concat(W).concat(le ? " / ".concat(B) : "");
21915
- return /* @__PURE__ */ Ne.createElement(Ne.Fragment, null, Q.show && /* @__PURE__ */ Ne.createElement("span", {
21915
+ return /* @__PURE__ */ Ae.createElement(Ae.Fragment, null, Q.show && /* @__PURE__ */ Ae.createElement("span", {
21916
21916
  className: Me("".concat(u, "-show-count-suffix"), ee({}, "".concat(u, "-show-count-has-suffix"), !!g), w == null ? void 0 : w.count),
21917
21917
  style: te({}, $ == null ? void 0 : $.count)
21918
21918
  }, $e), g);
21919
21919
  }
21920
21920
  return null;
21921
21921
  };
21922
- return /* @__PURE__ */ Ne.createElement(ux, vt({}, M, {
21922
+ return /* @__PURE__ */ Ae.createElement(ux, vt({}, M, {
21923
21923
  prefixCls: u,
21924
21924
  className: Me(h, be),
21925
21925
  handleReset: pe,
@@ -21936,7 +21936,7 @@ var bN = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
21936
21936
  const fx = (e) => {
21937
21937
  let t;
21938
21938
  return typeof e == "object" && (e != null && e.clearIcon) ? t = e : e && (t = {
21939
- clearIcon: /* @__PURE__ */ Ne.createElement(A5, null)
21939
+ clearIcon: /* @__PURE__ */ Ae.createElement(A5, null)
21940
21940
  }), t;
21941
21941
  };
21942
21942
  function CN(e, t) {
@@ -22013,13 +22013,13 @@ const $N = /* @__PURE__ */ mr((e, t) => {
22013
22013
  getPrefixCls: $,
22014
22014
  direction: V,
22015
22015
  input: _
22016
- } = Ne.useContext(Ft), M = $("input", r), O = Le(null), R = sl(M), [I, L, E] = QC(M, R), {
22016
+ } = Ae.useContext(Ft), M = $("input", r), O = Le(null), R = sl(M), [I, L, E] = QC(M, R), {
22017
22017
  compactSize: T,
22018
22018
  compactItemClassnames: j
22019
22019
  } = Z5(M, V), H = ta((z) => {
22020
22020
  var re;
22021
22021
  return (re = a ?? T) !== null && re !== void 0 ? re : z;
22022
- }), P = Ne.useContext(Bo), k = s ?? P, {
22022
+ }), P = Ae.useContext(Bo), k = s ?? P, {
22023
22023
  status: A,
22024
22024
  hasFeedback: D,
22025
22025
  feedbackIcon: U
@@ -22037,8 +22037,8 @@ const $N = /* @__PURE__ */ mr((e, t) => {
22037
22037
  X(), c == null || c(z);
22038
22038
  }, B = (z) => {
22039
22039
  X(), y == null || y(z);
22040
- }, W = (D || u) && /* @__PURE__ */ Ne.createElement(Ne.Fragment, null, u, D && U), Z = fx(d ?? (_ == null ? void 0 : _.allowClear)), [N, ne] = s6("input", S, i);
22041
- return I(/* @__PURE__ */ Ne.createElement(yN, Object.assign({
22040
+ }, W = (D || u) && /* @__PURE__ */ Ae.createElement(Ae.Fragment, null, u, D && U), Z = fx(d ?? (_ == null ? void 0 : _.allowClear)), [N, ne] = s6("input", S, i);
22041
+ return I(/* @__PURE__ */ Ae.createElement(yN, Object.assign({
22042
22042
  ref: ii(t, O),
22043
22043
  prefixCls: M,
22044
22044
  autoComplete: _ == null ? void 0 : _.autoComplete
@@ -22052,11 +22052,11 @@ const $N = /* @__PURE__ */ mr((e, t) => {
22052
22052
  allowClear: Z,
22053
22053
  className: Me(p, b, E, R, j, _ == null ? void 0 : _.className),
22054
22054
  onChange: B,
22055
- addonBefore: h && /* @__PURE__ */ Ne.createElement(Q3, {
22055
+ addonBefore: h && /* @__PURE__ */ Ae.createElement(Q3, {
22056
22056
  form: !0,
22057
22057
  space: !0
22058
22058
  }, h),
22059
- addonAfter: f && /* @__PURE__ */ Ne.createElement(Q3, {
22059
+ addonAfter: f && /* @__PURE__ */ Ae.createElement(Q3, {
22060
22060
  form: !0,
22061
22061
  space: !0
22062
22062
  }, f),
@@ -22191,11 +22191,11 @@ var HN = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
22191
22191
  value: v,
22192
22192
  onChange: y
22193
22193
  })));
22194
- }), TN = ["defaultValue", "value", "onFocus", "onBlur", "onChange", "allowClear", "maxLength", "onCompositionStart", "onCompositionEnd", "suffix", "prefixCls", "showCount", "count", "className", "style", "disabled", "hidden", "classNames", "styles", "onResize", "onClear", "onPressEnter", "readOnly", "autoSize", "onKeyDown"], RN = /* @__PURE__ */ Ne.forwardRef(function(e, t) {
22194
+ }), TN = ["defaultValue", "value", "onFocus", "onBlur", "onChange", "allowClear", "maxLength", "onCompositionStart", "onCompositionEnd", "suffix", "prefixCls", "showCount", "count", "className", "style", "disabled", "hidden", "classNames", "styles", "onResize", "onClear", "onPressEnter", "readOnly", "autoSize", "onKeyDown"], RN = /* @__PURE__ */ Ae.forwardRef(function(e, t) {
22195
22195
  var n, r = e.defaultValue, i = e.value, o = e.onFocus, a = e.onBlur, s = e.onChange, l = e.allowClear, c = e.maxLength, u = e.onCompositionStart, d = e.onCompositionEnd, f = e.suffix, h = e.prefixCls, p = h === void 0 ? "rc-textarea" : h, g = e.showCount, v = e.count, b = e.className, y = e.style, x = e.disabled, S = e.hidden, w = e.classNames, $ = e.styles, V = e.onResize, _ = e.onClear, M = e.onPressEnter, O = e.readOnly, R = e.autoSize, I = e.onKeyDown, L = jt(e, TN), E = Qn(r, {
22196
22196
  value: i,
22197
22197
  defaultValue: r
22198
- }), T = se(E, 2), j = T[0], H = T[1], P = j == null ? "" : String(j), k = Ne.useState(!1), A = se(k, 2), D = A[0], U = A[1], q = Ne.useRef(!1), G = Ne.useState(null), J = se(G, 2), X = J[0], Y = J[1], Q = Le(null), B = Le(null), W = function() {
22198
+ }), T = se(E, 2), j = T[0], H = T[1], P = j == null ? "" : String(j), k = Ae.useState(!1), A = se(k, 2), D = A[0], U = A[1], q = Ae.useRef(!1), G = Ae.useState(null), J = se(G, 2), X = J[0], Y = J[1], Q = Le(null), B = Le(null), W = function() {
22199
22199
  var ke;
22200
22200
  return (ke = B.current) === null || ke === void 0 ? void 0 : ke.textArea;
22201
22201
  }, Z = function() {
@@ -22216,8 +22216,8 @@ var HN = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
22216
22216
  return !x && Be;
22217
22217
  });
22218
22218
  }, [x]);
22219
- var N = Ne.useState(null), ne = se(N, 2), z = ne[0], re = ne[1];
22220
- Ne.useEffect(function() {
22219
+ var N = Ae.useState(null), ne = se(N, 2), z = ne[0], re = ne[1];
22220
+ Ae.useEffect(function() {
22221
22221
  if (z) {
22222
22222
  var Be;
22223
22223
  (Be = W()).setSelectionRange.apply(Be, ht(z));
@@ -22240,14 +22240,14 @@ var HN = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
22240
22240
  U(!0), o == null || o(ke);
22241
22241
  }, Fe = function(ke) {
22242
22242
  U(!1), a == null || a(ke);
22243
- }, Ae = function(ke) {
22243
+ }, Ne = function(ke) {
22244
22244
  H(""), Z(), rd(W(), ke, s);
22245
22245
  }, Te = f, je;
22246
22246
  ie.show && (ie.showFormatter ? je = ie.showFormatter({
22247
22247
  value: P,
22248
22248
  count: pe,
22249
22249
  maxLength: ge
22250
- }) : je = "".concat(pe).concat(ye ? " / ".concat(ge) : ""), Te = /* @__PURE__ */ Ne.createElement(Ne.Fragment, null, Te, /* @__PURE__ */ Ne.createElement("span", {
22250
+ }) : je = "".concat(pe).concat(ye ? " / ".concat(ge) : ""), Te = /* @__PURE__ */ Ae.createElement(Ae.Fragment, null, Te, /* @__PURE__ */ Ae.createElement("span", {
22251
22251
  className: Me("".concat(p, "-data-count"), w == null ? void 0 : w.count),
22252
22252
  style: $ == null ? void 0 : $.count
22253
22253
  }, je)));
@@ -22255,11 +22255,11 @@ var HN = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
22255
22255
  var tt;
22256
22256
  V == null || V(ke), (tt = W()) !== null && tt !== void 0 && tt.style.height && Y(!0);
22257
22257
  }, et = !R && !g && !l;
22258
- return /* @__PURE__ */ Ne.createElement(ux, {
22258
+ return /* @__PURE__ */ Ae.createElement(ux, {
22259
22259
  ref: Q,
22260
22260
  value: P,
22261
22261
  allowClear: l,
22262
- handleReset: Ae,
22262
+ handleReset: Ne,
22263
22263
  suffix: Te,
22264
22264
  prefixCls: p,
22265
22265
  classNames: te(te({}, w), {}, {
@@ -22279,7 +22279,7 @@ var HN = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
22279
22279
  hidden: S,
22280
22280
  readOnly: O,
22281
22281
  onClear: _
22282
- }, /* @__PURE__ */ Ne.createElement(VN, vt({}, L, {
22282
+ }, /* @__PURE__ */ Ae.createElement(VN, vt({}, L, {
22283
22283
  autoSize: R,
22284
22284
  maxLength: c,
22285
22285
  onKeyDown: $e,
@@ -22387,7 +22387,7 @@ function id(e) {
22387
22387
  function Cg(e) {
22388
22388
  return e ? typeof e == "number" && !Number.isNaN(e) : !1;
22389
22389
  }
22390
- const hx = /* @__PURE__ */ Ne.createContext({
22390
+ const hx = /* @__PURE__ */ Ae.createContext({
22391
22391
  latestIndex: 0
22392
22392
  }), kN = hx.Provider, PN = (e) => {
22393
22393
  let {
@@ -22573,7 +22573,7 @@ var KN = function(e, t) {
22573
22573
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
22574
22574
  return n;
22575
22575
  };
22576
- const tn = /* @__PURE__ */ Ne.forwardRef((e, t) => {
22576
+ const tn = /* @__PURE__ */ Ae.forwardRef((e, t) => {
22577
22577
  const {
22578
22578
  prefixCls: n,
22579
22579
  rootClassName: r,
@@ -22588,12 +22588,12 @@ const tn = /* @__PURE__ */ Ne.forwardRef((e, t) => {
22588
22588
  flex: f,
22589
22589
  direction: h,
22590
22590
  getPrefixCls: p
22591
- } = Ne.useContext(Ft), g = p("flex", n), [v, b, y] = YN(g), x = c ?? (f == null ? void 0 : f.vertical), S = Me(i, r, f == null ? void 0 : f.className, g, b, y, zN(g, e), {
22591
+ } = Ae.useContext(Ft), g = p("flex", n), [v, b, y] = YN(g), x = c ?? (f == null ? void 0 : f.vertical), S = Me(i, r, f == null ? void 0 : f.className, g, b, y, zN(g, e), {
22592
22592
  [`${g}-rtl`]: h === "rtl",
22593
22593
  [`${g}-gap-${s}`]: id(s),
22594
22594
  [`${g}-vertical`]: x
22595
22595
  }), w = Object.assign(Object.assign({}, f == null ? void 0 : f.style), o);
22596
- return a && (w.flex = a), s && !id(s) && (w.gap = s), v(/* @__PURE__ */ Ne.createElement(u, Object.assign({
22596
+ return a && (w.flex = a), s && !id(s) && (w.gap = s), v(/* @__PURE__ */ Ae.createElement(u, Object.assign({
22597
22597
  ref: t,
22598
22598
  className: S,
22599
22599
  style: w
@@ -23478,11 +23478,11 @@ const IF = "...", c0 = /* @__PURE__ */ C.forwardRef((e, t) => {
23478
23478
  const he = ge && (be ? B : Y), le = ge && ye === 1 && be, $e = ge && ye > 1 && be, fe = (ue, Ee) => {
23479
23479
  var Je;
23480
23480
  ie(Ee.expanded), (Je = z.onExpand) === null || Je === void 0 || Je.call(z, ue, Ee);
23481
- }, [Fe, Ae] = C.useState(0), Te = (ue) => {
23481
+ }, [Fe, Ne] = C.useState(0), Te = (ue) => {
23482
23482
  let {
23483
23483
  offsetWidth: Ee
23484
23484
  } = ue;
23485
- Ae(Ee);
23485
+ Ne(Ee);
23486
23486
  }, je = (ue) => {
23487
23487
  var Ee;
23488
23488
  Q(ue), Y !== ue && ((Ee = z.onEllipsis) === null || Ee === void 0 || Ee.call(z, ue));
@@ -33545,7 +33545,7 @@ var P2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
33545
33545
  return m.jsx(rt.text, { dominantBaseline: "central", textAnchor: y.textAnchor, transform: v.transform, style: ka({}, c.labels.text, { fill: v.color, pointerEvents: "none" }), children: y.label }, y.id);
33546
33546
  }) });
33547
33547
  }, qse = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], Gse = function(e) {
33548
- var t = e.data, n = e.valueFormat, r = e.layout, i = r === void 0 ? Zt.layout : r, o = e.sort, a = o === void 0 ? Zt.sort : o, s = e.align, l = s === void 0 ? Zt.align : s, c = e.width, u = e.height, d = e.margin, f = e.colors, h = f === void 0 ? Zt.colors : f, p = e.nodeThickness, g = p === void 0 ? Zt.nodeThickness : p, v = e.nodeSpacing, b = v === void 0 ? Zt.nodeThickness : v, y = e.nodeInnerPadding, x = y === void 0 ? Zt.nodeInnerPadding : y, S = e.nodeBorderColor, w = S === void 0 ? Zt.nodeBorderColor : S, $ = e.nodeOpacity, V = $ === void 0 ? Zt.nodeOpacity : $, _ = e.nodeHoverOpacity, M = _ === void 0 ? Zt.nodeHoverOpacity : _, O = e.nodeHoverOthersOpacity, R = O === void 0 ? Zt.nodeHoverOthersOpacity : O, I = e.nodeBorderWidth, L = I === void 0 ? Zt.nodeBorderWidth : I, E = e.nodeBorderRadius, T = E === void 0 ? Zt.nodeBorderRadius : E, j = e.linkOpacity, H = j === void 0 ? Zt.linkOpacity : j, P = e.linkHoverOpacity, k = P === void 0 ? Zt.linkHoverOpacity : P, A = e.linkHoverOthersOpacity, D = A === void 0 ? Zt.linkHoverOthersOpacity : A, U = e.linkContract, q = U === void 0 ? Zt.linkContract : U, G = e.linkBlendMode, J = G === void 0 ? Zt.linkBlendMode : G, X = e.enableLinkGradient, Y = X === void 0 ? Zt.enableLinkGradient : X, Q = e.enableLabels, B = Q === void 0 ? Zt.enableLabels : Q, W = e.labelPosition, Z = W === void 0 ? Zt.labelPosition : W, N = e.labelPadding, ne = N === void 0 ? Zt.labelPadding : N, z = e.labelOrientation, re = z === void 0 ? Zt.labelOrientation : z, ie = e.label, ge = ie === void 0 ? Zt.label : ie, ye = e.labelTextColor, pe = ye === void 0 ? Zt.labelTextColor : ye, be = e.nodeTooltip, we = be === void 0 ? Zt.nodeTooltip : be, ve = e.linkTooltip, he = ve === void 0 ? Zt.linkTooltip : ve, le = e.isInteractive, $e = le === void 0 ? Zt.isInteractive : le, fe = e.onClick, Fe = e.legends, Ae = Fe === void 0 ? Zt.legends : Fe, Te = e.layers, je = Te === void 0 ? Zt.layers : Te, Qe = e.role, et = Qe === void 0 ? Zt.role : Qe, Be = e.ariaLabel, ke = e.ariaLabelledBy, tt = e.ariaDescribedBy, Ge = ns(c, u, d), Ke = Ge.margin, ue = Ge.innerWidth, Ee = Ge.innerHeight, Je = Ge.outerWidth, ot = Ge.outerHeight, De = Fse({ data: t, valueFormat: n, layout: i, width: ue, height: Ee, sort: a, align: l, colors: h, nodeThickness: g, nodeSpacing: b, nodeInnerPadding: x, nodeBorderColor: w, label: ge, labelTextColor: pe }), Ze = De.nodes, We = De.links, nt = De.legendData, it = De.getNodeBorderColor, Ue = De.currentNode, Pe = De.setCurrentNode, ft = De.currentLink, wt = De.setCurrentLink, Oe = De.getLabelTextColor, de = function() {
33548
+ var t = e.data, n = e.valueFormat, r = e.layout, i = r === void 0 ? Zt.layout : r, o = e.sort, a = o === void 0 ? Zt.sort : o, s = e.align, l = s === void 0 ? Zt.align : s, c = e.width, u = e.height, d = e.margin, f = e.colors, h = f === void 0 ? Zt.colors : f, p = e.nodeThickness, g = p === void 0 ? Zt.nodeThickness : p, v = e.nodeSpacing, b = v === void 0 ? Zt.nodeThickness : v, y = e.nodeInnerPadding, x = y === void 0 ? Zt.nodeInnerPadding : y, S = e.nodeBorderColor, w = S === void 0 ? Zt.nodeBorderColor : S, $ = e.nodeOpacity, V = $ === void 0 ? Zt.nodeOpacity : $, _ = e.nodeHoverOpacity, M = _ === void 0 ? Zt.nodeHoverOpacity : _, O = e.nodeHoverOthersOpacity, R = O === void 0 ? Zt.nodeHoverOthersOpacity : O, I = e.nodeBorderWidth, L = I === void 0 ? Zt.nodeBorderWidth : I, E = e.nodeBorderRadius, T = E === void 0 ? Zt.nodeBorderRadius : E, j = e.linkOpacity, H = j === void 0 ? Zt.linkOpacity : j, P = e.linkHoverOpacity, k = P === void 0 ? Zt.linkHoverOpacity : P, A = e.linkHoverOthersOpacity, D = A === void 0 ? Zt.linkHoverOthersOpacity : A, U = e.linkContract, q = U === void 0 ? Zt.linkContract : U, G = e.linkBlendMode, J = G === void 0 ? Zt.linkBlendMode : G, X = e.enableLinkGradient, Y = X === void 0 ? Zt.enableLinkGradient : X, Q = e.enableLabels, B = Q === void 0 ? Zt.enableLabels : Q, W = e.labelPosition, Z = W === void 0 ? Zt.labelPosition : W, N = e.labelPadding, ne = N === void 0 ? Zt.labelPadding : N, z = e.labelOrientation, re = z === void 0 ? Zt.labelOrientation : z, ie = e.label, ge = ie === void 0 ? Zt.label : ie, ye = e.labelTextColor, pe = ye === void 0 ? Zt.labelTextColor : ye, be = e.nodeTooltip, we = be === void 0 ? Zt.nodeTooltip : be, ve = e.linkTooltip, he = ve === void 0 ? Zt.linkTooltip : ve, le = e.isInteractive, $e = le === void 0 ? Zt.isInteractive : le, fe = e.onClick, Fe = e.legends, Ne = Fe === void 0 ? Zt.legends : Fe, Te = e.layers, je = Te === void 0 ? Zt.layers : Te, Qe = e.role, et = Qe === void 0 ? Zt.role : Qe, Be = e.ariaLabel, ke = e.ariaLabelledBy, tt = e.ariaDescribedBy, Ge = ns(c, u, d), Ke = Ge.margin, ue = Ge.innerWidth, Ee = Ge.innerHeight, Je = Ge.outerWidth, ot = Ge.outerHeight, De = Fse({ data: t, valueFormat: n, layout: i, width: ue, height: Ee, sort: a, align: l, colors: h, nodeThickness: g, nodeSpacing: b, nodeInnerPadding: x, nodeBorderColor: w, label: ge, labelTextColor: pe }), Ze = De.nodes, We = De.links, nt = De.legendData, it = De.getNodeBorderColor, Ue = De.currentNode, Pe = De.setCurrentNode, ft = De.currentLink, wt = De.setCurrentLink, Oe = De.getLabelTextColor, de = function() {
33549
33549
  return !1;
33550
33550
  }, xe = function() {
33551
33551
  return !1;
@@ -33573,7 +33573,7 @@ var P2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
33573
33573
  };
33574
33574
  }
33575
33575
  var Xe = { links: We, nodes: Ze, margin: Ke, width: c, height: u, outerWidth: Je, outerHeight: ot }, qe = { links: null, nodes: null, labels: null, legends: null };
33576
- return je.includes("links") && (qe.links = m.jsx(Zse, { links: We, layout: i, linkContract: q, linkOpacity: H, linkHoverOpacity: k, linkHoverOthersOpacity: D, linkBlendMode: J, enableLinkGradient: Y, setCurrentLink: wt, currentNode: Ue, currentLink: ft, isCurrentLink: xe, isInteractive: $e, onClick: fe, tooltip: he }, "links")), je.includes("nodes") && (qe.nodes = m.jsx(zse, { nodes: Ze, nodeOpacity: V, nodeHoverOpacity: M, nodeHoverOthersOpacity: R, borderWidth: L, borderRadius: T, getBorderColor: it, setCurrentNode: Pe, currentNode: Ue, currentLink: ft, isCurrentNode: de, isInteractive: $e, onClick: fe, tooltip: we }, "nodes")), je.includes("labels") && B && (qe.labels = m.jsx(Use, { nodes: Ze, layout: i, width: ue, height: Ee, labelPosition: Z, labelPadding: ne, labelOrientation: re, getLabelTextColor: Oe }, "labels")), je.includes("legends") && (qe.legends = m.jsx(Xr, { children: Ae.map(function(at, K) {
33576
+ return je.includes("links") && (qe.links = m.jsx(Zse, { links: We, layout: i, linkContract: q, linkOpacity: H, linkHoverOpacity: k, linkHoverOthersOpacity: D, linkBlendMode: J, enableLinkGradient: Y, setCurrentLink: wt, currentNode: Ue, currentLink: ft, isCurrentLink: xe, isInteractive: $e, onClick: fe, tooltip: he }, "links")), je.includes("nodes") && (qe.nodes = m.jsx(zse, { nodes: Ze, nodeOpacity: V, nodeHoverOpacity: M, nodeHoverOthersOpacity: R, borderWidth: L, borderRadius: T, getBorderColor: it, setCurrentNode: Pe, currentNode: Ue, currentLink: ft, isCurrentNode: de, isInteractive: $e, onClick: fe, tooltip: we }, "nodes")), je.includes("labels") && B && (qe.labels = m.jsx(Use, { nodes: Ze, layout: i, width: ue, height: Ee, labelPosition: Z, labelPadding: ne, labelOrientation: re, getLabelTextColor: Oe }, "labels")), je.includes("legends") && (qe.legends = m.jsx(Xr, { children: Ne.map(function(at, K) {
33577
33577
  return m.jsx(Y0, ka({}, at, { containerWidth: ue, containerHeight: Ee, data: nt }), "legend" + K);
33578
33578
  }) }, "legends")), m.jsx(Ll, { width: Je, height: ot, margin: Ke, role: et, ariaLabel: Be, ariaLabelledBy: ke, ariaDescribedBy: tt, children: je.map(function(at, K) {
33579
33579
  var oe;
@@ -33960,8 +33960,8 @@ var dm, yle = function(e) {
33960
33960
  }, [a, v, d, u]);
33961
33961
  return m.jsx(ple, { center: t, data: n, arcGenerator: r, borderWidth: i, borderColor: o, transitionMode: h, onClick: b, onMouseEnter: y, onMouseMove: x, onMouseLeave: S });
33962
33962
  }, Ele = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], Ole = function(e) {
33963
- var t = e.data, n = e.id, r = n === void 0 ? $t.id : n, i = e.value, o = i === void 0 ? $t.value : i, a = e.valueFormat, s = e.sortByValue, l = s === void 0 ? $t.sortByValue : s, c = e.layers, u = c === void 0 ? $t.layers : c, d = e.startAngle, f = d === void 0 ? $t.startAngle : d, h = e.endAngle, p = h === void 0 ? $t.endAngle : h, g = e.padAngle, v = g === void 0 ? $t.padAngle : g, b = e.fit, y = b === void 0 ? $t.fit : b, x = e.innerRadius, S = x === void 0 ? $t.innerRadius : x, w = e.cornerRadius, $ = w === void 0 ? $t.cornerRadius : w, V = e.activeInnerRadiusOffset, _ = V === void 0 ? $t.activeInnerRadiusOffset : V, M = e.activeOuterRadiusOffset, O = M === void 0 ? $t.activeOuterRadiusOffset : M, R = e.width, I = e.height, L = e.margin, E = e.colors, T = E === void 0 ? $t.colors : E, j = e.borderWidth, H = j === void 0 ? $t.borderWidth : j, P = e.borderColor, k = P === void 0 ? $t.borderColor : P, A = e.enableArcLabels, D = A === void 0 ? $t.enableArcLabels : A, U = e.arcLabel, q = U === void 0 ? $t.arcLabel : U, G = e.arcLabelsSkipAngle, J = G === void 0 ? $t.arcLabelsSkipAngle : G, X = e.arcLabelsTextColor, Y = X === void 0 ? $t.arcLabelsTextColor : X, Q = e.arcLabelsRadiusOffset, B = Q === void 0 ? $t.arcLabelsRadiusOffset : Q, W = e.arcLabelsComponent, Z = e.enableArcLinkLabels, N = Z === void 0 ? $t.enableArcLinkLabels : Z, ne = e.arcLinkLabel, z = ne === void 0 ? $t.arcLinkLabel : ne, re = e.arcLinkLabelsSkipAngle, ie = re === void 0 ? $t.arcLinkLabelsSkipAngle : re, ge = e.arcLinkLabelsOffset, ye = ge === void 0 ? $t.arcLinkLabelsOffset : ge, pe = e.arcLinkLabelsDiagonalLength, be = pe === void 0 ? $t.arcLinkLabelsDiagonalLength : pe, we = e.arcLinkLabelsStraightLength, ve = we === void 0 ? $t.arcLinkLabelsStraightLength : we, he = e.arcLinkLabelsThickness, le = he === void 0 ? $t.arcLinkLabelsThickness : he, $e = e.arcLinkLabelsTextOffset, fe = $e === void 0 ? $t.arcLinkLabelsTextOffset : $e, Fe = e.arcLinkLabelsTextColor, Ae = Fe === void 0 ? $t.arcLinkLabelsTextColor : Fe, Te = e.arcLinkLabelsColor, je = Te === void 0 ? $t.arcLinkLabelsColor : Te, Qe = e.arcLinkLabelComponent, et = e.defs, Be = et === void 0 ? $t.defs : et, ke = e.fill, tt = ke === void 0 ? $t.fill : ke, Ge = e.isInteractive, Ke = Ge === void 0 ? $t.isInteractive : Ge, ue = e.onClick, Ee = e.onMouseEnter, Je = e.onMouseMove, ot = e.onMouseLeave, De = e.tooltip, Ze = De === void 0 ? $t.tooltip : De, We = e.activeId, nt = e.onActiveIdChange, it = e.defaultActiveId, Ue = e.transitionMode, Pe = Ue === void 0 ? $t.transitionMode : Ue, ft = e.legends, wt = ft === void 0 ? $t.legends : ft, Oe = e.forwardLegendData, de = e.role, xe = de === void 0 ? $t.role : de, He = ns(R, I, L), Xe = He.outerWidth, qe = He.outerHeight, at = He.margin, K = He.innerWidth, oe = He.innerHeight, ae = xle({ data: t, id: r, value: o, valueFormat: a, colors: T }), Ve = $le({ data: ae, width: K, height: oe, fit: y, innerRadius: S, startAngle: f, endAngle: p, padAngle: v, sortByValue: l, cornerRadius: $, activeInnerRadiusOffset: _, activeOuterRadiusOffset: O, activeId: We, onActiveIdChange: nt, defaultActiveId: it, forwardLegendData: Oe }), st = Ve.dataWithArc, ct = Ve.legendData, ut = Ve.arcGenerator, mt = Ve.centerX, me = Ve.centerY, Ce = Ve.radius, Re = Ve.innerRadius, lt = Ve.setActiveId, Ct = Ve.toggleSerie, Et = Ah(Be, st, tt), bt = { arcs: null, arcLinkLabels: null, arcLabels: null, legends: null };
33964
- u.includes("arcs") && (bt.arcs = m.jsx(_le, { center: [mt, me], data: st, arcGenerator: ut, borderWidth: H, borderColor: k, isInteractive: Ke, onClick: ue, onMouseEnter: Ee, onMouseMove: Je, onMouseLeave: ot, setActiveId: lt, tooltip: Ze, transitionMode: Pe }, "arcs")), N && u.includes("arcLinkLabels") && (bt.arcLinkLabels = m.jsx(fle, { center: [mt, me], data: st, label: z, skipAngle: ie, offset: ye, diagonalLength: be, straightLength: ve, strokeWidth: le, textOffset: fe, textColor: Ae, linkColor: je, component: Qe }, "arcLinkLabels")), D && u.includes("arcLabels") && (bt.arcLabels = m.jsx(ile, { center: [mt, me], data: st, label: q, radiusOffset: B, skipAngle: J, textColor: Y, transitionMode: Pe, component: W }, "arcLabels")), wt.length > 0 && u.includes("legends") && (bt.legends = m.jsx(yle, { width: K, height: oe, data: ct, legends: wt, toggleSerie: Ct }, "legends"));
33963
+ var t = e.data, n = e.id, r = n === void 0 ? $t.id : n, i = e.value, o = i === void 0 ? $t.value : i, a = e.valueFormat, s = e.sortByValue, l = s === void 0 ? $t.sortByValue : s, c = e.layers, u = c === void 0 ? $t.layers : c, d = e.startAngle, f = d === void 0 ? $t.startAngle : d, h = e.endAngle, p = h === void 0 ? $t.endAngle : h, g = e.padAngle, v = g === void 0 ? $t.padAngle : g, b = e.fit, y = b === void 0 ? $t.fit : b, x = e.innerRadius, S = x === void 0 ? $t.innerRadius : x, w = e.cornerRadius, $ = w === void 0 ? $t.cornerRadius : w, V = e.activeInnerRadiusOffset, _ = V === void 0 ? $t.activeInnerRadiusOffset : V, M = e.activeOuterRadiusOffset, O = M === void 0 ? $t.activeOuterRadiusOffset : M, R = e.width, I = e.height, L = e.margin, E = e.colors, T = E === void 0 ? $t.colors : E, j = e.borderWidth, H = j === void 0 ? $t.borderWidth : j, P = e.borderColor, k = P === void 0 ? $t.borderColor : P, A = e.enableArcLabels, D = A === void 0 ? $t.enableArcLabels : A, U = e.arcLabel, q = U === void 0 ? $t.arcLabel : U, G = e.arcLabelsSkipAngle, J = G === void 0 ? $t.arcLabelsSkipAngle : G, X = e.arcLabelsTextColor, Y = X === void 0 ? $t.arcLabelsTextColor : X, Q = e.arcLabelsRadiusOffset, B = Q === void 0 ? $t.arcLabelsRadiusOffset : Q, W = e.arcLabelsComponent, Z = e.enableArcLinkLabels, N = Z === void 0 ? $t.enableArcLinkLabels : Z, ne = e.arcLinkLabel, z = ne === void 0 ? $t.arcLinkLabel : ne, re = e.arcLinkLabelsSkipAngle, ie = re === void 0 ? $t.arcLinkLabelsSkipAngle : re, ge = e.arcLinkLabelsOffset, ye = ge === void 0 ? $t.arcLinkLabelsOffset : ge, pe = e.arcLinkLabelsDiagonalLength, be = pe === void 0 ? $t.arcLinkLabelsDiagonalLength : pe, we = e.arcLinkLabelsStraightLength, ve = we === void 0 ? $t.arcLinkLabelsStraightLength : we, he = e.arcLinkLabelsThickness, le = he === void 0 ? $t.arcLinkLabelsThickness : he, $e = e.arcLinkLabelsTextOffset, fe = $e === void 0 ? $t.arcLinkLabelsTextOffset : $e, Fe = e.arcLinkLabelsTextColor, Ne = Fe === void 0 ? $t.arcLinkLabelsTextColor : Fe, Te = e.arcLinkLabelsColor, je = Te === void 0 ? $t.arcLinkLabelsColor : Te, Qe = e.arcLinkLabelComponent, et = e.defs, Be = et === void 0 ? $t.defs : et, ke = e.fill, tt = ke === void 0 ? $t.fill : ke, Ge = e.isInteractive, Ke = Ge === void 0 ? $t.isInteractive : Ge, ue = e.onClick, Ee = e.onMouseEnter, Je = e.onMouseMove, ot = e.onMouseLeave, De = e.tooltip, Ze = De === void 0 ? $t.tooltip : De, We = e.activeId, nt = e.onActiveIdChange, it = e.defaultActiveId, Ue = e.transitionMode, Pe = Ue === void 0 ? $t.transitionMode : Ue, ft = e.legends, wt = ft === void 0 ? $t.legends : ft, Oe = e.forwardLegendData, de = e.role, xe = de === void 0 ? $t.role : de, He = ns(R, I, L), Xe = He.outerWidth, qe = He.outerHeight, at = He.margin, K = He.innerWidth, oe = He.innerHeight, ae = xle({ data: t, id: r, value: o, valueFormat: a, colors: T }), Ve = $le({ data: ae, width: K, height: oe, fit: y, innerRadius: S, startAngle: f, endAngle: p, padAngle: v, sortByValue: l, cornerRadius: $, activeInnerRadiusOffset: _, activeOuterRadiusOffset: O, activeId: We, onActiveIdChange: nt, defaultActiveId: it, forwardLegendData: Oe }), st = Ve.dataWithArc, ct = Ve.legendData, ut = Ve.arcGenerator, mt = Ve.centerX, me = Ve.centerY, Ce = Ve.radius, Re = Ve.innerRadius, lt = Ve.setActiveId, Ct = Ve.toggleSerie, Et = Ah(Be, st, tt), bt = { arcs: null, arcLinkLabels: null, arcLabels: null, legends: null };
33964
+ u.includes("arcs") && (bt.arcs = m.jsx(_le, { center: [mt, me], data: st, arcGenerator: ut, borderWidth: H, borderColor: k, isInteractive: Ke, onClick: ue, onMouseEnter: Ee, onMouseMove: Je, onMouseLeave: ot, setActiveId: lt, tooltip: Ze, transitionMode: Pe }, "arcs")), N && u.includes("arcLinkLabels") && (bt.arcLinkLabels = m.jsx(fle, { center: [mt, me], data: st, label: z, skipAngle: ie, offset: ye, diagonalLength: be, straightLength: ve, strokeWidth: le, textOffset: fe, textColor: Ne, linkColor: je, component: Qe }, "arcLinkLabels")), D && u.includes("arcLabels") && (bt.arcLabels = m.jsx(ile, { center: [mt, me], data: st, label: q, radiusOffset: B, skipAngle: J, textColor: Y, transitionMode: Pe, component: W }, "arcLabels")), wt.length > 0 && u.includes("legends") && (bt.legends = m.jsx(yle, { width: K, height: oe, data: ct, legends: wt, toggleSerie: Ct }, "legends"));
33965
33965
  var kt = Mle({ dataWithArc: st, arcGenerator: ut, centerX: mt, centerY: me, radius: Ce, innerRadius: Re });
33966
33966
  return m.jsx(Ll, { width: Xe, height: qe, margin: at, defs: Et, role: xe, children: u.map(function(fn, Wt) {
33967
33967
  return bt[fn] !== void 0 ? bt[fn] : typeof fn == "function" ? m.jsx(Xr, { children: Mt(fn, kt) }, Wt) : null;
@@ -35834,7 +35834,7 @@ var gde = function(e) {
35834
35834
  }, [s]);
35835
35835
  return m.jsx(iM, { nodes: t, width: n, height: r, onMouseEnter: h, onMouseMove: p, onMouseLeave: g, onClick: v, debug: c });
35836
35836
  }, xde = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], wde = function(e) {
35837
- var t = e.data, n = e.xScale, r = n === void 0 ? Mn.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? Mn.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.margin, d = e.layers, f = d === void 0 ? Mn.layers : d, h = e.colors, p = h === void 0 ? Mn.colors : h, g = e.blendMode, v = g === void 0 ? Mn.blendMode : g, b = e.nodeId, y = b === void 0 ? Mn.nodeId : b, x = e.nodeSize, S = x === void 0 ? Mn.nodeSize : x, w = e.nodeComponent, $ = w === void 0 ? Mn.nodeComponent : w, V = e.enableGridX, _ = V === void 0 ? Mn.enableGridX : V, M = e.enableGridY, O = M === void 0 ? Mn.enableGridY : M, R = e.gridXValues, I = e.gridYValues, L = e.axisTop, E = e.axisRight, T = e.axisBottom, j = T === void 0 ? Mn.axisBottom : T, H = e.axisLeft, P = H === void 0 ? Mn.axisLeft : H, k = e.annotations, A = k === void 0 ? Mn.annotations : k, D = e.isInteractive, U = D === void 0 ? Mn.isInteractive : D, q = e.useMesh, G = q === void 0 ? Mn.useMesh : q, J = e.debugMesh, X = J === void 0 ? Mn.debugMesh : J, Y = e.onMouseEnter, Q = e.onMouseMove, B = e.onMouseLeave, W = e.onClick, Z = e.tooltip, N = Z === void 0 ? Mn.tooltip : Z, ne = e.markers, z = ne === void 0 ? Mn.markers : ne, re = e.legends, ie = re === void 0 ? Mn.legends : re, ge = e.role, ye = ge === void 0 ? Mn.role : ge, pe = e.ariaLabel, be = e.ariaLabelledBy, we = e.ariaDescribedBy, ve = ns(l, c, u), he = ve.margin, le = ve.innerWidth, $e = ve.innerHeight, fe = ve.outerWidth, Fe = ve.outerHeight, Ae = lM({ data: t, xScaleSpec: r, xFormat: i, yScaleSpec: a, yFormat: s, width: le, height: $e, nodeId: y, nodeSize: S, colors: p }), Te = Ae.xScale, je = Ae.yScale, Qe = Ae.nodes, et = Ae.legendData, Be = Se(function() {
35837
+ var t = e.data, n = e.xScale, r = n === void 0 ? Mn.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? Mn.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.margin, d = e.layers, f = d === void 0 ? Mn.layers : d, h = e.colors, p = h === void 0 ? Mn.colors : h, g = e.blendMode, v = g === void 0 ? Mn.blendMode : g, b = e.nodeId, y = b === void 0 ? Mn.nodeId : b, x = e.nodeSize, S = x === void 0 ? Mn.nodeSize : x, w = e.nodeComponent, $ = w === void 0 ? Mn.nodeComponent : w, V = e.enableGridX, _ = V === void 0 ? Mn.enableGridX : V, M = e.enableGridY, O = M === void 0 ? Mn.enableGridY : M, R = e.gridXValues, I = e.gridYValues, L = e.axisTop, E = e.axisRight, T = e.axisBottom, j = T === void 0 ? Mn.axisBottom : T, H = e.axisLeft, P = H === void 0 ? Mn.axisLeft : H, k = e.annotations, A = k === void 0 ? Mn.annotations : k, D = e.isInteractive, U = D === void 0 ? Mn.isInteractive : D, q = e.useMesh, G = q === void 0 ? Mn.useMesh : q, J = e.debugMesh, X = J === void 0 ? Mn.debugMesh : J, Y = e.onMouseEnter, Q = e.onMouseMove, B = e.onMouseLeave, W = e.onClick, Z = e.tooltip, N = Z === void 0 ? Mn.tooltip : Z, ne = e.markers, z = ne === void 0 ? Mn.markers : ne, re = e.legends, ie = re === void 0 ? Mn.legends : re, ge = e.role, ye = ge === void 0 ? Mn.role : ge, pe = e.ariaLabel, be = e.ariaLabelledBy, we = e.ariaDescribedBy, ve = ns(l, c, u), he = ve.margin, le = ve.innerWidth, $e = ve.innerHeight, fe = ve.outerWidth, Fe = ve.outerHeight, Ne = lM({ data: t, xScaleSpec: r, xFormat: i, yScaleSpec: a, yFormat: s, width: le, height: $e, nodeId: y, nodeSize: S, colors: p }), Te = Ne.xScale, je = Ne.yScale, Qe = Ne.nodes, et = Ne.legendData, Be = Se(function() {
35838
35838
  return { xScale: Te, yScale: je, nodes: Qe, margin: he, innerWidth: le, innerHeight: $e, outerWidth: fe, outerHeight: Fe };
35839
35839
  }, [Te, je, Qe, he, le, $e, fe, Fe]), ke = { grid: null, axes: null, nodes: null, markers: null, mesh: null, annotations: null, legends: null };
35840
35840
  return f.includes("grid") && (ke.grid = m.jsx(J$, { width: le, height: $e, xScale: _ ? Te : null, yScale: O ? je : null, xValues: R, yValues: I }, "grid")), f.includes("axes") && (ke.axes = m.jsx(Q$, { xScale: Te, yScale: je, width: le, height: $e, top: L, right: E, bottom: j, left: P }, "axes")), f.includes("nodes") && (ke.nodes = m.jsx(yde, { nodes: Qe, nodeComponent: $, isInteractive: U, tooltip: N, blendMode: v, onMouseEnter: Y, onMouseMove: Q, onMouseLeave: B, onClick: W }, "nodes")), f.includes("markers") && (ke.markers = m.jsx(m$, { markers: z, width: le, height: $e, xScale: Te, yScale: je }, "markers")), f.includes("mesh") && U && G && (ke.mesh = m.jsx(Cde, { nodes: Qe, width: le, height: $e, onMouseEnter: Y, onMouseMove: Q, onMouseLeave: B, onClick: W, tooltip: N, debug: X }, "mesh")), f.includes("annotations") && (ke.annotations = m.jsx(pde, { nodes: Qe, annotations: A }, "annotations")), f.includes("legends") && (ke.legends = ie.map(function(tt, Ge) {
@@ -35853,9 +35853,9 @@ var gde = function(e) {
35853
35853
  return m.jsx(Sde, Dr({ width: n, height: r }, e));
35854
35854
  } });
35855
35855
  }, $de = ["isInteractive", "renderWrapper", "theme"], Mde = function(e) {
35856
- var t = e.data, n = e.xScale, r = n === void 0 ? fr.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? fr.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.margin, d = e.pixelRatio, f = d === void 0 ? fr.pixelRatio : d, h = e.layers, p = h === void 0 ? fr.layers : h, g = e.colors, v = g === void 0 ? fr.colors : g, b = e.nodeId, y = b === void 0 ? Mn.nodeId : b, x = e.nodeSize, S = x === void 0 ? fr.nodeSize : x, w = e.renderNode, $ = w === void 0 ? fr.renderNode : w, V = e.enableGridX, _ = V === void 0 ? fr.enableGridX : V, M = e.gridXValues, O = e.enableGridY, R = O === void 0 ? fr.enableGridY : O, I = e.gridYValues, L = e.axisTop, E = e.axisRight, T = e.axisBottom, j = T === void 0 ? fr.axisBottom : T, H = e.axisLeft, P = H === void 0 ? fr.axisLeft : H, k = e.annotations, A = k === void 0 ? fr.annotations : k, D = e.isInteractive, U = D === void 0 ? fr.isInteractive : D, q = e.debugMesh, G = q === void 0 ? fr.debugMesh : q, J = e.onMouseEnter, X = e.onMouseMove, Y = e.onMouseLeave, Q = e.onClick, B = e.tooltip, W = B === void 0 ? fr.tooltip : B, Z = e.legends, N = Z === void 0 ? fr.legends : Z, ne = e.canvasRef, z = Le(null), re = Qt(), ie = pt(null), ge = ie[0], ye = ie[1], pe = ns(l, c, u), be = pe.margin, we = pe.innerWidth, ve = pe.innerHeight, he = pe.outerWidth, le = pe.outerHeight, $e = lM({ data: t, xScaleSpec: r, xFormat: i, yScaleSpec: a, yFormat: s, width: we, height: ve, nodeId: y, nodeSize: S, colors: v }), fe = $e.xScale, Fe = $e.yScale, Ae = $e.nodes, Te = $e.legendData, je = cM(Ae, A), Qe = Wh({ points: Ae, width: we, height: ve, debug: G }), et = Qe.delaunay, Be = Qe.voronoi, ke = Se(function() {
35857
- return { xScale: fe, yScale: Fe, nodes: Ae, margin: be, innerWidth: we, innerHeight: ve, outerWidth: he, outerHeight: le };
35858
- }, [fe, Fe, Ae, be, we, ve, he, le]);
35856
+ var t = e.data, n = e.xScale, r = n === void 0 ? fr.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? fr.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.margin, d = e.pixelRatio, f = d === void 0 ? fr.pixelRatio : d, h = e.layers, p = h === void 0 ? fr.layers : h, g = e.colors, v = g === void 0 ? fr.colors : g, b = e.nodeId, y = b === void 0 ? Mn.nodeId : b, x = e.nodeSize, S = x === void 0 ? fr.nodeSize : x, w = e.renderNode, $ = w === void 0 ? fr.renderNode : w, V = e.enableGridX, _ = V === void 0 ? fr.enableGridX : V, M = e.gridXValues, O = e.enableGridY, R = O === void 0 ? fr.enableGridY : O, I = e.gridYValues, L = e.axisTop, E = e.axisRight, T = e.axisBottom, j = T === void 0 ? fr.axisBottom : T, H = e.axisLeft, P = H === void 0 ? fr.axisLeft : H, k = e.annotations, A = k === void 0 ? fr.annotations : k, D = e.isInteractive, U = D === void 0 ? fr.isInteractive : D, q = e.debugMesh, G = q === void 0 ? fr.debugMesh : q, J = e.onMouseEnter, X = e.onMouseMove, Y = e.onMouseLeave, Q = e.onClick, B = e.tooltip, W = B === void 0 ? fr.tooltip : B, Z = e.legends, N = Z === void 0 ? fr.legends : Z, ne = e.canvasRef, z = Le(null), re = Qt(), ie = pt(null), ge = ie[0], ye = ie[1], pe = ns(l, c, u), be = pe.margin, we = pe.innerWidth, ve = pe.innerHeight, he = pe.outerWidth, le = pe.outerHeight, $e = lM({ data: t, xScaleSpec: r, xFormat: i, yScaleSpec: a, yFormat: s, width: we, height: ve, nodeId: y, nodeSize: S, colors: v }), fe = $e.xScale, Fe = $e.yScale, Ne = $e.nodes, Te = $e.legendData, je = cM(Ne, A), Qe = Wh({ points: Ne, width: we, height: ve, debug: G }), et = Qe.delaunay, Be = Qe.voronoi, ke = Se(function() {
35857
+ return { xScale: fe, yScale: Fe, nodes: Ne, margin: be, innerWidth: we, innerHeight: ve, outerWidth: he, outerHeight: le };
35858
+ }, [fe, Fe, Ne, be, we, ve, he, le]);
35859
35859
  St(function() {
35860
35860
  if (z.current) {
35861
35861
  z.current.width = he * f, z.current.height = le * f;
@@ -35864,7 +35864,7 @@ var gde = function(e) {
35864
35864
  if (Ze === "grid") De.lineWidth = re.grid.line.strokeWidth, De.strokeStyle = re.grid.line.stroke, _ && Ld(De, { width: we, height: ve, scale: fe, axis: "x", values: M }), R && Ld(De, { width: we, height: ve, scale: Fe, axis: "y", values: I });
35865
35865
  else if (Ze === "annotations") Wue(De, { annotations: je, theme: re });
35866
35866
  else if (Ze === "axes") eM(De, { xScale: fe, yScale: Fe, width: we, height: ve, top: L, right: E, bottom: j, left: P, theme: re });
35867
- else if (Ze === "nodes") Ae.forEach(function(We) {
35867
+ else if (Ze === "nodes") Ne.forEach(function(We) {
35868
35868
  $(De, We);
35869
35869
  });
35870
35870
  else if (Ze === "mesh") G && (oM(De, Be), ge && aM(De, Be, ge.index));
@@ -35877,12 +35877,12 @@ var gde = function(e) {
35877
35877
  }
35878
35878
  });
35879
35879
  }
35880
- }, [z, we, ve, he, le, be.top, be.left, f, $, p, ke, re, fe, Fe, Ae, _, R, L, E, j, P, N, Te, G, Be, ge, je]);
35880
+ }, [z, we, ve, he, le, be.top, be.left, f, $, p, ke, re, fe, Fe, Ne, _, R, L, E, j, P, N, Te, G, Be, ge, je]);
35881
35881
  var tt = xi(), Ge = tt.showTooltipFromEvent, Ke = tt.hideTooltip, ue = ze(function(De) {
35882
35882
  var Ze = Ih(z.current, De), We = Ze[0], nt = Ze[1];
35883
35883
  if (!y$(be.left, be.top, we, ve, We, nt)) return null;
35884
35884
  var it = et.find(We - be.left, nt - be.top);
35885
- return Ae[it];
35885
+ return Ne[it];
35886
35886
  }, [z, be, we, ve, et]), Ee = ze(function(De) {
35887
35887
  var Ze = ue(De);
35888
35888
  ye(Ze), Ze ? (Ge(Mt(W, { node: Ze }), De), ge && ge.id !== Ze.id && (Y && Y(ge, De), J && J(Ze, De)), ge || J && J(Ze, De), X && X(Ze, De)) : (Ke(), ge && Y && Y(ge, De));
@@ -36550,23 +36550,23 @@ var s2e = { binary: Xfe, dice: Uh, slice: qh, sliceDice: Qfe, squarify: RM }, l2
36550
36550
  }, [t, n]);
36551
36551
  }, c2e = function(e) {
36552
36552
  var t = e.data, n = e.width, r = e.height, i = e.identity, o = i === void 0 ? Rn.identity : i, a = e.value, s = a === void 0 ? Rn.value : a, l = e.valueFormat, c = e.leavesOnly, u = c === void 0 ? Rn.leavesOnly : c, d = e.tile, f = d === void 0 ? Rn.tile : d, h = e.innerPadding, p = h === void 0 ? Rn.innerPadding : h, g = e.outerPadding, v = g === void 0 ? Rn.outerPadding : g, b = e.label, y = b === void 0 ? Rn.label : b, x = e.orientLabel, S = x === void 0 ? Rn.orientLabel : x, w = e.enableParentLabel, $ = w === void 0 ? Rn.enableParentLabel : w, V = e.parentLabel, _ = V === void 0 ? Rn.parentLabel : V, M = e.parentLabelSize, O = M === void 0 ? Rn.parentLabelSize : M, R = e.parentLabelPosition, I = R === void 0 ? Rn.parentLabelPosition : R, L = e.parentLabelPadding, E = L === void 0 ? Rn.parentLabelPadding : L, T = e.colors, j = T === void 0 ? Rn.colors : T, H = e.colorBy, P = H === void 0 ? Rn.colorBy : H, k = e.nodeOpacity, A = k === void 0 ? Rn.nodeOpacity : k, D = e.borderColor, U = D === void 0 ? Rn.borderColor : D, q = e.labelTextColor, G = q === void 0 ? Rn.labelTextColor : q, J = e.parentLabelTextColor, X = J === void 0 ? Rn.parentLabelTextColor : J, Y = Vi(o), Q = Vi(s), B = qo(l), W = Vi(y), Z = Vi(_), N = function(ve) {
36553
- var he = ve.width, le = ve.height, $e = ve.tile, fe = ve.innerPadding, Fe = ve.outerPadding, Ae = ve.enableParentLabel, Te = ve.parentLabelSize, je = ve.parentLabelPosition, Qe = ve.leavesOnly;
36553
+ var he = ve.width, le = ve.height, $e = ve.tile, fe = ve.innerPadding, Fe = ve.outerPadding, Ne = ve.enableParentLabel, Te = ve.parentLabelSize, je = ve.parentLabelPosition, Qe = ve.leavesOnly;
36554
36554
  return Se(function() {
36555
36555
  var et = Kfe().size([he, le]).tile(s2e[$e]).round(!0).paddingInner(fe).paddingOuter(Fe);
36556
- if (Ae && !Qe) {
36556
+ if (Ne && !Qe) {
36557
36557
  var Be = Te + 2 * Fe;
36558
36558
  et["padding" + Ofe(je)](Be);
36559
36559
  }
36560
36560
  return et;
36561
- }, [he, le, $e, fe, Fe, Ae, Te, je, Qe]);
36561
+ }, [he, le, $e, fe, Fe, Ne, Te, je, Qe]);
36562
36562
  }({ width: n, height: r, tile: f, innerPadding: p, outerPadding: v, enableParentLabel: $, parentLabelSize: O, parentLabelPosition: I, leavesOnly: u }), ne = l2e({ root: t, getValue: Q }), z = Se(function() {
36563
36563
  var ve = L$(ne);
36564
36564
  return N(ve), u ? ve.leaves() : ve.descendants();
36565
36565
  }, [ne, N, u]), re = Se(function() {
36566
36566
  return z.map(function(ve) {
36567
- var he = function(Fe, Ae) {
36567
+ var he = function(Fe, Ne) {
36568
36568
  var Te = Fe.ancestors().map(function(je) {
36569
- return Ae(je.data);
36569
+ return Ne(je.data);
36570
36570
  }).reverse();
36571
36571
  return { path: Te.join("."), pathComponents: Te };
36572
36572
  }(ve, Y), le = he.path, $e = he.pathComponents, fe = { id: Y(ve.data), path: le, pathComponents: $e, data: as(ve.data, "children"), x: ve.x0, y: ve.y0, width: ve.x1 - ve.x0, height: ve.y1 - ve.y0, value: ve.value, formattedValue: B(ve.value), treeDepth: ve.depth, treeHeight: ve.height, isParent: ve.height > 0, isLeaf: ve.height === 0, parentLabelX: 0, parentLabelY: 0, parentLabelRotation: 0 };
@@ -36621,7 +36621,7 @@ var s2e = { binary: Xfe, dice: Uh, slice: qh, sliceDice: Qfe, squarify: RM }, l2
36621
36621
  return Mt(n, { key: h.path, node: h, animatedProps: f, borderWidth: r, enableLabel: i, labelSkipSize: o, enableParentLabel: a });
36622
36622
  }) });
36623
36623
  }), f2e = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], h2e = function(e) {
36624
- var t = e.data, n = e.identity, r = n === void 0 ? Jt.identity : n, i = e.value, o = i === void 0 ? Jt.value : i, a = e.valueFormat, s = e.tile, l = s === void 0 ? Jt.tile : s, c = e.nodeComponent, u = c === void 0 ? Jt.nodeComponent : c, d = e.innerPadding, f = d === void 0 ? Jt.innerPadding : d, h = e.outerPadding, p = h === void 0 ? Jt.outerPadding : h, g = e.leavesOnly, v = g === void 0 ? Jt.leavesOnly : g, b = e.width, y = e.height, x = e.margin, S = e.layers, w = S === void 0 ? Jt.layers : S, $ = e.colors, V = $ === void 0 ? Jt.colors : $, _ = e.colorBy, M = _ === void 0 ? Jt.colorBy : _, O = e.nodeOpacity, R = O === void 0 ? Jt.nodeOpacity : O, I = e.borderWidth, L = I === void 0 ? Jt.borderWidth : I, E = e.borderColor, T = E === void 0 ? Jt.borderColor : E, j = e.defs, H = j === void 0 ? Jt.defs : j, P = e.fill, k = P === void 0 ? Jt.fill : P, A = e.enableLabel, D = A === void 0 ? Jt.enableLabel : A, U = e.label, q = U === void 0 ? Jt.label : U, G = e.labelTextColor, J = G === void 0 ? Jt.labelTextColor : G, X = e.orientLabel, Y = X === void 0 ? Jt.orientLabel : X, Q = e.labelSkipSize, B = Q === void 0 ? Jt.labelSkipSize : Q, W = e.enableParentLabel, Z = W === void 0 ? Jt.enableParentLabel : W, N = e.parentLabel, ne = N === void 0 ? Jt.parentLabel : N, z = e.parentLabelSize, re = z === void 0 ? Jt.parentLabelSize : z, ie = e.parentLabelPosition, ge = ie === void 0 ? Jt.parentLabelPosition : ie, ye = e.parentLabelPadding, pe = ye === void 0 ? Jt.parentLabelPadding : ye, be = e.parentLabelTextColor, we = be === void 0 ? Jt.parentLabelTextColor : be, ve = e.isInteractive, he = ve === void 0 ? Jt.isInteractive : ve, le = e.onMouseEnter, $e = e.onMouseMove, fe = e.onMouseLeave, Fe = e.onClick, Ae = e.tooltip, Te = Ae === void 0 ? Jt.tooltip : Ae, je = e.role, Qe = e.ariaLabel, et = e.ariaLabelledBy, Be = e.ariaDescribedBy, ke = ns(b, y, x), tt = ke.margin, Ge = ke.innerWidth, Ke = ke.innerHeight, ue = ke.outerWidth, Ee = ke.outerHeight, Je = c2e({ data: t, identity: r, value: o, valueFormat: a, leavesOnly: v, width: Ge, height: Ke, tile: l, innerPadding: f, outerPadding: p, colors: V, colorBy: M, nodeOpacity: R, borderColor: T, label: q, labelTextColor: J, orientLabel: Y, enableParentLabel: Z, parentLabel: ne, parentLabelSize: re, parentLabelPosition: ge, parentLabelPadding: pe, parentLabelTextColor: we }).nodes, ot = { nodes: null };
36624
+ var t = e.data, n = e.identity, r = n === void 0 ? Jt.identity : n, i = e.value, o = i === void 0 ? Jt.value : i, a = e.valueFormat, s = e.tile, l = s === void 0 ? Jt.tile : s, c = e.nodeComponent, u = c === void 0 ? Jt.nodeComponent : c, d = e.innerPadding, f = d === void 0 ? Jt.innerPadding : d, h = e.outerPadding, p = h === void 0 ? Jt.outerPadding : h, g = e.leavesOnly, v = g === void 0 ? Jt.leavesOnly : g, b = e.width, y = e.height, x = e.margin, S = e.layers, w = S === void 0 ? Jt.layers : S, $ = e.colors, V = $ === void 0 ? Jt.colors : $, _ = e.colorBy, M = _ === void 0 ? Jt.colorBy : _, O = e.nodeOpacity, R = O === void 0 ? Jt.nodeOpacity : O, I = e.borderWidth, L = I === void 0 ? Jt.borderWidth : I, E = e.borderColor, T = E === void 0 ? Jt.borderColor : E, j = e.defs, H = j === void 0 ? Jt.defs : j, P = e.fill, k = P === void 0 ? Jt.fill : P, A = e.enableLabel, D = A === void 0 ? Jt.enableLabel : A, U = e.label, q = U === void 0 ? Jt.label : U, G = e.labelTextColor, J = G === void 0 ? Jt.labelTextColor : G, X = e.orientLabel, Y = X === void 0 ? Jt.orientLabel : X, Q = e.labelSkipSize, B = Q === void 0 ? Jt.labelSkipSize : Q, W = e.enableParentLabel, Z = W === void 0 ? Jt.enableParentLabel : W, N = e.parentLabel, ne = N === void 0 ? Jt.parentLabel : N, z = e.parentLabelSize, re = z === void 0 ? Jt.parentLabelSize : z, ie = e.parentLabelPosition, ge = ie === void 0 ? Jt.parentLabelPosition : ie, ye = e.parentLabelPadding, pe = ye === void 0 ? Jt.parentLabelPadding : ye, be = e.parentLabelTextColor, we = be === void 0 ? Jt.parentLabelTextColor : be, ve = e.isInteractive, he = ve === void 0 ? Jt.isInteractive : ve, le = e.onMouseEnter, $e = e.onMouseMove, fe = e.onMouseLeave, Fe = e.onClick, Ne = e.tooltip, Te = Ne === void 0 ? Jt.tooltip : Ne, je = e.role, Qe = e.ariaLabel, et = e.ariaLabelledBy, Be = e.ariaDescribedBy, ke = ns(b, y, x), tt = ke.margin, Ge = ke.innerWidth, Ke = ke.innerHeight, ue = ke.outerWidth, Ee = ke.outerHeight, Je = c2e({ data: t, identity: r, value: o, valueFormat: a, leavesOnly: v, width: Ge, height: Ke, tile: l, innerPadding: f, outerPadding: p, colors: V, colorBy: M, nodeOpacity: R, borderColor: T, label: q, labelTextColor: J, orientLabel: Y, enableParentLabel: Z, parentLabel: ne, parentLabelSize: re, parentLabelPosition: ge, parentLabelPadding: pe, parentLabelTextColor: we }).nodes, ot = { nodes: null };
36625
36625
  w.includes("nodes") && (ot.nodes = m.jsx(d2e, { nodes: Je, nodeComponent: u, borderWidth: L, enableLabel: D, labelSkipSize: B, enableParentLabel: Z, isInteractive: he, onMouseEnter: le, onMouseMove: $e, onMouseLeave: fe, onClick: Fe, tooltip: Te }, "nodes"));
36626
36626
  var De = u2e({ nodes: Je }), Ze = Ah(H, Je, k);
36627
36627
  return m.jsx(Ll, { width: ue, height: Ee, margin: tt, defs: Ze, role: je, ariaLabel: Qe, ariaLabelledBy: et, ariaDescribedBy: Be, children: w.map(function(We, nt) {
@@ -36991,7 +36991,7 @@ var M2e = function(e) {
36991
36991
  }, [f, y]);
36992
36992
  return m.jsx(iM, { nodes: t, width: n, height: r, setCurrent: o, onMouseEnter: x, onMouseMove: S, onMouseLeave: w, onClick: $, onTouchStart: V, onTouchMove: _, onTouchEnd: M, enableTouchCrosshair: g, debug: p });
36993
36993
  }), I2e = b$(function(e) {
36994
- var t = e.data, n = e.xScale, r = n === void 0 ? { type: "point" } : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? { type: "linear", min: 0, max: "auto" } : o, s = e.yFormat, l = e.layers, c = l === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : l, u = e.curve, d = u === void 0 ? "linear" : u, f = e.areaBaselineValue, h = f === void 0 ? 0 : f, p = e.colors, g = p === void 0 ? { scheme: "nivo" } : p, v = e.margin, b = e.width, y = e.height, x = e.axisTop, S = e.axisRight, w = e.axisBottom, $ = w === void 0 ? {} : w, V = e.axisLeft, _ = V === void 0 ? {} : V, M = e.enableGridX, O = M === void 0 || M, R = e.enableGridY, I = R === void 0 || R, L = e.gridXValues, E = e.gridYValues, T = e.lineWidth, j = T === void 0 ? 2 : T, H = e.enableArea, P = H !== void 0 && H, k = e.areaOpacity, A = k === void 0 ? 0.2 : k, D = e.areaBlendMode, U = D === void 0 ? "normal" : D, q = e.enablePoints, G = q === void 0 || q, J = e.pointSymbol, X = e.pointSize, Y = X === void 0 ? 6 : X, Q = e.pointColor, B = Q === void 0 ? { from: "color" } : Q, W = e.pointBorderWidth, Z = W === void 0 ? 0 : W, N = e.pointBorderColor, ne = N === void 0 ? { theme: "background" } : N, z = e.enablePointLabel, re = z !== void 0 && z, ie = e.pointLabel, ge = ie === void 0 ? "data.yFormatted" : ie, ye = e.pointLabelYOffset, pe = e.defs, be = pe === void 0 ? [] : pe, we = e.fill, ve = we === void 0 ? [] : we, he = e.markers, le = e.legends, $e = le === void 0 ? [] : le, fe = e.isInteractive, Fe = fe === void 0 || fe, Ae = e.useMesh, Te = Ae !== void 0 && Ae, je = e.debugMesh, Qe = je !== void 0 && je, et = e.onMouseEnter, Be = e.onMouseMove, ke = e.onMouseLeave, tt = e.onClick, Ge = e.onTouchStart, Ke = e.onTouchMove, ue = e.onTouchEnd, Ee = e.tooltip, Je = Ee === void 0 ? Gh : Ee, ot = e.enableSlices, De = ot !== void 0 && ot, Ze = e.debugSlices, We = Ze !== void 0 && Ze, nt = e.sliceTooltip, it = nt === void 0 ? LM : nt, Ue = e.enableCrosshair, Pe = Ue === void 0 || Ue, ft = e.crosshairType, wt = ft === void 0 ? "bottom-left" : ft, Oe = e.enableTouchCrosshair, de = Oe !== void 0 && Oe, xe = e.role, He = xe === void 0 ? "img" : xe, Xe = ns(b, y, v), qe = Xe.margin, at = Xe.innerWidth, K = Xe.innerHeight, oe = Xe.outerWidth, ae = Xe.outerHeight, Ve = kM({ data: t, xScale: r, xFormat: i, yScale: a, yFormat: s, width: at, height: K, colors: g, curve: d, areaBaselineValue: h, pointColor: B, pointBorderColor: ne, enableSlices: De }), st = Ve.legendData, ct = Ve.toggleSerie, ut = Ve.lineGenerator, mt = Ve.areaGenerator, me = Ve.series, Ce = Ve.xScale, Re = Ve.yScale, lt = Ve.slices, Ct = Ve.points, Et = Qt(), bt = Nr(B, Et), kt = Nr(ne, Et), fn = pt(null), Wt = fn[0], Cn = fn[1], br = pt(null), Ut = br[0], Nn = br[1], dt = { grid: m.jsx(J$, { theme: Et, width: at, height: K, xScale: O ? Ce : null, yScale: I ? Re : null, xValues: L, yValues: E }, "grid"), markers: m.jsx(m$, { markers: he, width: at, height: K, xScale: Ce, yScale: Re, theme: Et }, "markers"), axes: m.jsx(Q$, { xScale: Ce, yScale: Re, width: at, height: K, theme: Et, top: x, right: S, bottom: $, left: _ }, "axes"), areas: null, lines: m.jsx(R2e, { lines: me, lineGenerator: ut, lineWidth: j }, "lines"), slices: null, points: null, crosshair: null, mesh: null, legends: $e.map(function(mn, xn) {
36994
+ var t = e.data, n = e.xScale, r = n === void 0 ? { type: "point" } : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? { type: "linear", min: 0, max: "auto" } : o, s = e.yFormat, l = e.layers, c = l === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : l, u = e.curve, d = u === void 0 ? "linear" : u, f = e.areaBaselineValue, h = f === void 0 ? 0 : f, p = e.colors, g = p === void 0 ? { scheme: "nivo" } : p, v = e.margin, b = e.width, y = e.height, x = e.axisTop, S = e.axisRight, w = e.axisBottom, $ = w === void 0 ? {} : w, V = e.axisLeft, _ = V === void 0 ? {} : V, M = e.enableGridX, O = M === void 0 || M, R = e.enableGridY, I = R === void 0 || R, L = e.gridXValues, E = e.gridYValues, T = e.lineWidth, j = T === void 0 ? 2 : T, H = e.enableArea, P = H !== void 0 && H, k = e.areaOpacity, A = k === void 0 ? 0.2 : k, D = e.areaBlendMode, U = D === void 0 ? "normal" : D, q = e.enablePoints, G = q === void 0 || q, J = e.pointSymbol, X = e.pointSize, Y = X === void 0 ? 6 : X, Q = e.pointColor, B = Q === void 0 ? { from: "color" } : Q, W = e.pointBorderWidth, Z = W === void 0 ? 0 : W, N = e.pointBorderColor, ne = N === void 0 ? { theme: "background" } : N, z = e.enablePointLabel, re = z !== void 0 && z, ie = e.pointLabel, ge = ie === void 0 ? "data.yFormatted" : ie, ye = e.pointLabelYOffset, pe = e.defs, be = pe === void 0 ? [] : pe, we = e.fill, ve = we === void 0 ? [] : we, he = e.markers, le = e.legends, $e = le === void 0 ? [] : le, fe = e.isInteractive, Fe = fe === void 0 || fe, Ne = e.useMesh, Te = Ne !== void 0 && Ne, je = e.debugMesh, Qe = je !== void 0 && je, et = e.onMouseEnter, Be = e.onMouseMove, ke = e.onMouseLeave, tt = e.onClick, Ge = e.onTouchStart, Ke = e.onTouchMove, ue = e.onTouchEnd, Ee = e.tooltip, Je = Ee === void 0 ? Gh : Ee, ot = e.enableSlices, De = ot !== void 0 && ot, Ze = e.debugSlices, We = Ze !== void 0 && Ze, nt = e.sliceTooltip, it = nt === void 0 ? LM : nt, Ue = e.enableCrosshair, Pe = Ue === void 0 || Ue, ft = e.crosshairType, wt = ft === void 0 ? "bottom-left" : ft, Oe = e.enableTouchCrosshair, de = Oe !== void 0 && Oe, xe = e.role, He = xe === void 0 ? "img" : xe, Xe = ns(b, y, v), qe = Xe.margin, at = Xe.innerWidth, K = Xe.innerHeight, oe = Xe.outerWidth, ae = Xe.outerHeight, Ve = kM({ data: t, xScale: r, xFormat: i, yScale: a, yFormat: s, width: at, height: K, colors: g, curve: d, areaBaselineValue: h, pointColor: B, pointBorderColor: ne, enableSlices: De }), st = Ve.legendData, ct = Ve.toggleSerie, ut = Ve.lineGenerator, mt = Ve.areaGenerator, me = Ve.series, Ce = Ve.xScale, Re = Ve.yScale, lt = Ve.slices, Ct = Ve.points, Et = Qt(), bt = Nr(B, Et), kt = Nr(ne, Et), fn = pt(null), Wt = fn[0], Cn = fn[1], br = pt(null), Ut = br[0], Nn = br[1], dt = { grid: m.jsx(J$, { theme: Et, width: at, height: K, xScale: O ? Ce : null, yScale: I ? Re : null, xValues: L, yValues: E }, "grid"), markers: m.jsx(m$, { markers: he, width: at, height: K, xScale: Ce, yScale: Re, theme: Et }, "markers"), axes: m.jsx(Q$, { xScale: Ce, yScale: Re, width: at, height: K, theme: Et, top: x, right: S, bottom: $, left: _ }, "axes"), areas: null, lines: m.jsx(R2e, { lines: me, lineGenerator: ut, lineWidth: j }, "lines"), slices: null, points: null, crosshair: null, mesh: null, legends: $e.map(function(mn, xn) {
36995
36995
  return m.jsx(Y0, Sr({}, mn, { containerWidth: at, containerHeight: K, data: mn.data || st, theme: Et, toggleSerie: mn.toggleSerie ? ct : void 0 }), "legend." + xn);
36996
36996
  }) }, jn = Ah(be, me, ve);
36997
36997
  return P && (dt.areas = m.jsx(V2e, { areaGenerator: mt, areaOpacity: A, areaBlendMode: U, lines: me }, "areas")), Fe && De !== !1 && (dt.slices = m.jsx(j2e, { slices: lt, axis: De, debug: We, height: K, tooltip: it, current: Ut, setCurrent: Nn, onMouseEnter: et, onMouseMove: Be, onMouseLeave: ke, onClick: tt, onTouchStart: Ge, onTouchMove: Ke, onTouchEnd: ue }, "slices")), G && (dt.points = m.jsx(k2e, { points: Ct, symbol: J, size: Y, color: bt, borderWidth: Z, borderColor: kt, enableLabel: re, label: ge, labelYOffset: ye }, "points")), Fe && Pe && (Wt !== null && (dt.crosshair = m.jsx(O4, { width: at, height: K, x: Wt.x, y: Wt.y, type: wt }, "crosshair")), Ut !== null && (dt.crosshair = m.jsx(O4, { width: at, height: K, x: Ut.x, y: Ut.y, type: De }, "crosshair"))), Fe && Te && De === !1 && (dt.mesh = m.jsx(P2e, { points: Ct, width: at, height: K, margin: qe, current: Wt, setCurrent: Cn, onMouseEnter: et, onMouseMove: Be, onMouseLeave: ke, onClick: tt, onTouchStart: Ge, onTouchMove: Ke, onTouchEnd: ue, tooltip: Je, enableTouchCrosshair: de, debug: Qe }, "mesh")), m.jsx(Ll, { defs: jn, width: oe, height: ae, margin: qe, role: He, children: c.map(function(mn, xn) {
@@ -37003,12 +37003,12 @@ var M2e = function(e) {
37003
37003
  return m.jsx(I2e, Sr({ width: n, height: r }, e));
37004
37004
  } });
37005
37005
  }, N2e = b$(function(e) {
37006
- var t = Le(null), n = e.width, r = e.height, i = e.margin, o = e.pixelRatio, a = o === void 0 ? typeof window < "u" && window.devicePixelRatio || 1 : o, s = e.data, l = e.xScale, c = l === void 0 ? { type: "point" } : l, u = e.xFormat, d = e.yScale, f = d === void 0 ? { type: "linear", min: 0, max: "auto" } : d, h = e.yFormat, p = e.curve, g = p === void 0 ? "linear" : p, v = e.layers, b = v === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : v, y = e.colors, x = y === void 0 ? { scheme: "nivo" } : y, S = e.lineWidth, w = S === void 0 ? 2 : S, $ = e.enableArea, V = $ !== void 0 && $, _ = e.areaBaselineValue, M = _ === void 0 ? 0 : _, O = e.areaOpacity, R = O === void 0 ? 0.2 : O, I = e.enablePoints, L = I === void 0 || I, E = e.pointSize, T = E === void 0 ? 6 : E, j = e.pointColor, H = j === void 0 ? { from: "color" } : j, P = e.pointBorderWidth, k = P === void 0 ? 0 : P, A = e.pointBorderColor, D = A === void 0 ? { theme: "background" } : A, U = e.enableGridX, q = U === void 0 || U, G = e.gridXValues, J = e.enableGridY, X = J === void 0 || J, Y = e.gridYValues, Q = e.axisTop, B = e.axisRight, W = e.axisBottom, Z = W === void 0 ? {} : W, N = e.axisLeft, ne = N === void 0 ? {} : N, z = e.legends, re = z === void 0 ? [] : z, ie = e.isInteractive, ge = ie === void 0 || ie, ye = e.debugMesh, pe = ye !== void 0 && ye, be = e.onMouseLeave, we = e.onClick, ve = e.tooltip, he = ve === void 0 ? Gh : ve, le = e.canvasRef, $e = ns(n, r, i), fe = $e.margin, Fe = $e.innerWidth, Ae = $e.innerHeight, Te = $e.outerWidth, je = $e.outerHeight, Qe = Qt(), et = pt(null), Be = et[0], ke = et[1], tt = kM({ data: s, xScale: c, xFormat: u, yScale: f, yFormat: h, width: Fe, height: Ae, colors: x, curve: g, areaBaselineValue: M, pointColor: H, pointBorderColor: D }), Ge = tt.lineGenerator, Ke = tt.areaGenerator, ue = tt.series, Ee = tt.xScale, Je = tt.yScale, ot = tt.points, De = Wh({ points: ot, width: Fe, height: Ae, debug: pe }), Ze = De.delaunay, We = De.voronoi;
37006
+ var t = Le(null), n = e.width, r = e.height, i = e.margin, o = e.pixelRatio, a = o === void 0 ? typeof window < "u" && window.devicePixelRatio || 1 : o, s = e.data, l = e.xScale, c = l === void 0 ? { type: "point" } : l, u = e.xFormat, d = e.yScale, f = d === void 0 ? { type: "linear", min: 0, max: "auto" } : d, h = e.yFormat, p = e.curve, g = p === void 0 ? "linear" : p, v = e.layers, b = v === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : v, y = e.colors, x = y === void 0 ? { scheme: "nivo" } : y, S = e.lineWidth, w = S === void 0 ? 2 : S, $ = e.enableArea, V = $ !== void 0 && $, _ = e.areaBaselineValue, M = _ === void 0 ? 0 : _, O = e.areaOpacity, R = O === void 0 ? 0.2 : O, I = e.enablePoints, L = I === void 0 || I, E = e.pointSize, T = E === void 0 ? 6 : E, j = e.pointColor, H = j === void 0 ? { from: "color" } : j, P = e.pointBorderWidth, k = P === void 0 ? 0 : P, A = e.pointBorderColor, D = A === void 0 ? { theme: "background" } : A, U = e.enableGridX, q = U === void 0 || U, G = e.gridXValues, J = e.enableGridY, X = J === void 0 || J, Y = e.gridYValues, Q = e.axisTop, B = e.axisRight, W = e.axisBottom, Z = W === void 0 ? {} : W, N = e.axisLeft, ne = N === void 0 ? {} : N, z = e.legends, re = z === void 0 ? [] : z, ie = e.isInteractive, ge = ie === void 0 || ie, ye = e.debugMesh, pe = ye !== void 0 && ye, be = e.onMouseLeave, we = e.onClick, ve = e.tooltip, he = ve === void 0 ? Gh : ve, le = e.canvasRef, $e = ns(n, r, i), fe = $e.margin, Fe = $e.innerWidth, Ne = $e.innerHeight, Te = $e.outerWidth, je = $e.outerHeight, Qe = Qt(), et = pt(null), Be = et[0], ke = et[1], tt = kM({ data: s, xScale: c, xFormat: u, yScale: f, yFormat: h, width: Fe, height: Ne, colors: x, curve: g, areaBaselineValue: M, pointColor: H, pointBorderColor: D }), Ge = tt.lineGenerator, Ke = tt.areaGenerator, ue = tt.series, Ee = tt.xScale, Je = tt.yScale, ot = tt.points, De = Wh({ points: ot, width: Fe, height: Ne, debug: pe }), Ze = De.delaunay, We = De.voronoi;
37007
37007
  St(function() {
37008
37008
  le && (le.current = t.current), t.current.width = Te * a, t.current.height = je * a;
37009
37009
  var de = t.current.getContext("2d");
37010
37010
  de.scale(a, a), de.fillStyle = Qe.background, de.fillRect(0, 0, Te, je), de.translate(fe.left, fe.top), b.forEach(function(xe) {
37011
- if (typeof xe == "function" && xe({ ctx: de, innerWidth: Fe, innerHeight: Ae, series: ue, points: ot, xScale: Ee, yScale: Je, lineWidth: w, lineGenerator: Ge, areaGenerator: Ke, currentPoint: Be, setCurrentPoint: ke }), xe === "grid" && Qe.grid.line.strokeWidth > 0 && (de.lineWidth = Qe.grid.line.strokeWidth, de.strokeStyle = Qe.grid.line.stroke, q && Ld(de, { width: Fe, height: Ae, scale: Ee, axis: "x", values: G }), X && Ld(de, { width: Fe, height: Ae, scale: Je, axis: "y", values: Y })), xe === "axes" && eM(de, { xScale: Ee, yScale: Je, width: Fe, height: Ae, top: Q, right: B, bottom: Z, left: ne, theme: Qe }), xe === "areas" && V === !0) {
37011
+ if (typeof xe == "function" && xe({ ctx: de, innerWidth: Fe, innerHeight: Ne, series: ue, points: ot, xScale: Ee, yScale: Je, lineWidth: w, lineGenerator: Ge, areaGenerator: Ke, currentPoint: Be, setCurrentPoint: ke }), xe === "grid" && Qe.grid.line.strokeWidth > 0 && (de.lineWidth = Qe.grid.line.strokeWidth, de.strokeStyle = Qe.grid.line.stroke, q && Ld(de, { width: Fe, height: Ne, scale: Ee, axis: "x", values: G }), X && Ld(de, { width: Fe, height: Ne, scale: Je, axis: "y", values: Y })), xe === "axes" && eM(de, { xScale: Ee, yScale: Je, width: Fe, height: Ne, top: Q, right: B, bottom: Z, left: ne, theme: Qe }), xe === "areas" && V === !0) {
37012
37012
  de.save(), de.globalAlpha = R, Ke.context(de);
37013
37013
  for (var He = ue.length - 1; He >= 0; He--) de.fillStyle = ue[He].color, de.beginPath(), Ke(ue[He].data.map(function(qe) {
37014
37014
  return qe.position;
@@ -37026,17 +37026,17 @@ var M2e = function(e) {
37026
37026
  return { id: qe.id, label: qe.id, color: qe.color };
37027
37027
  }).reverse();
37028
37028
  re.forEach(function(qe) {
37029
- M$(de, Sr({}, qe, { data: qe.data || Xe, containerWidth: Fe, containerHeight: Ae, theme: Qe }));
37029
+ M$(de, Sr({}, qe, { data: qe.data || Xe, containerWidth: Fe, containerHeight: Ne, theme: Qe }));
37030
37030
  });
37031
37031
  }
37032
37032
  });
37033
37033
  }, [t, Te, je, b, Qe, Ge, ue, Ee, Je, q, G, X, Y, Q, B, Z, ne, re, ot, L, T, Be]);
37034
37034
  var nt = ze(function(de) {
37035
37035
  var xe = Ih(t.current, de), He = xe[0], Xe = xe[1];
37036
- if (!y$(fe.left, fe.top, Fe, Ae, He, Xe)) return null;
37036
+ if (!y$(fe.left, fe.top, Fe, Ne, He, Xe)) return null;
37037
37037
  var qe = Ze.find(He - fe.left, Xe - fe.top);
37038
37038
  return ot[qe];
37039
- }, [t, fe, Fe, Ae, Ze]), it = xi(), Ue = it.showTooltipFromEvent, Pe = it.hideTooltip, ft = ze(function(de) {
37039
+ }, [t, fe, Fe, Ne, Ze]), it = xi(), Ue = it.showTooltipFromEvent, Pe = it.hideTooltip, ft = ze(function(de) {
37040
37040
  var xe = nt(de);
37041
37041
  ke(xe), xe ? Ue(Mt(he, { point: xe }), de) : Pe();
37042
37042
  }, [nt, ke, Ue, Pe, he]), wt = ze(function(de) {
@@ -38841,7 +38841,7 @@ var r5e = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
38841
38841
  return Je !== ue;
38842
38842
  }) : [].concat(Ee, [ue]);
38843
38843
  });
38844
- }, []), we = Z2(n), ve = Z2(a), he = Z2(l), le = Xh(c), $e = Bn(), fe = N4e(d, h), Fe = Fm(g, $e), Ae = Fm(b, $e), Te = (x === "grouped" ? s5e : f5e)({ layout: w, reverse: V, data: _, getIndex: we, keys: i, minValue: O, maxValue: I, width: E, height: T, getColor: fe, padding: H, innerPadding: k, valueScale: D, indexScale: q, hiddenIds: ye, formatValue: le, getTooltipLabel: he, margin: L }), je = Te.bars, Qe = Te.xScale, et = Te.yScale, Be = Se(function() {
38844
+ }, []), we = Z2(n), ve = Z2(a), he = Z2(l), le = Xh(c), $e = Bn(), fe = N4e(d, h), Fe = Fm(g, $e), Ne = Fm(b, $e), Te = (x === "grouped" ? s5e : f5e)({ layout: w, reverse: V, data: _, getIndex: we, keys: i, minValue: O, maxValue: I, width: E, height: T, getColor: fe, padding: H, innerPadding: k, valueScale: D, indexScale: q, hiddenIds: ye, formatValue: le, getTooltipLabel: he, margin: L }), je = Te.bars, Qe = Te.xScale, et = Te.yScale, Be = Se(function() {
38845
38845
  return je.filter(function(ue) {
38846
38846
  return ue.data.value !== null;
38847
38847
  }).map(function(ue, Ee) {
@@ -38889,7 +38889,7 @@ var r5e = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
38889
38889
  return nt;
38890
38890
  }(je, Qe, et, w, x, ie, le);
38891
38891
  }, [je, Qe, et, w, x, ie, le]);
38892
- return { bars: je, barsWithValue: Be, xScale: Qe, yScale: et, getIndex: we, getLabel: ve, getTooltipLabel: he, formatValue: le, getColor: fe, getBorderColor: Fe, getLabelColor: Ae, shouldRenderBarLabel: ke, hiddenIds: ye, toggleSerie: be, legendsWithData: Ge, barTotals: Ke };
38892
+ return { bars: je, barsWithValue: Be, xScale: Qe, yScale: et, getIndex: we, getLabel: ve, getTooltipLabel: he, formatValue: le, getColor: fe, getBorderColor: Fe, getLabelColor: Ne, shouldRenderBarLabel: ke, hiddenIds: ye, toggleSerie: be, legendsWithData: Ge, barTotals: Ke };
38893
38893
  }, m5e = function(e) {
38894
38894
  var t = e.data, n = e.springConfig, r = e.animate, i = e.layout, o = i === void 0 ? vn.layout : i, a = Bn();
38895
38895
  return Tr(t, { keys: function(s) {
@@ -38906,7 +38906,7 @@ var r5e = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
38906
38906
  return m.jsx(rt.text, { x: s.x, y: s.y, fillOpacity: s.labelOpacity, style: Gt({}, a.labels.text, { pointerEvents: "none", fill: a.text.fill }), fontWeight: "bold", fontSize: a.labels.text.fontSize, fontFamily: a.labels.text.fontFamily, textAnchor: o === "vertical" ? "middle" : "start", alignmentBaseline: o === "vertical" ? "alphabetic" : "middle", children: l.formattedValue }, l.key);
38907
38907
  });
38908
38908
  }, b5e = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], y5e = function(e) {
38909
- var t = e.data, n = e.indexBy, r = e.keys, i = e.margin, o = e.width, a = e.height, s = e.groupMode, l = e.layout, c = e.reverse, u = e.minValue, d = e.maxValue, f = e.valueScale, h = e.indexScale, p = e.padding, g = e.innerPadding, v = e.axisTop, b = e.axisRight, y = e.axisBottom, x = y === void 0 ? vn.axisBottom : y, S = e.axisLeft, w = S === void 0 ? vn.axisLeft : S, $ = e.enableGridX, V = $ === void 0 ? vn.enableGridX : $, _ = e.enableGridY, M = _ === void 0 ? vn.enableGridY : _, O = e.gridXValues, R = e.gridYValues, I = e.layers, L = I === void 0 ? vn.layers : I, E = e.barComponent, T = E === void 0 ? vn.barComponent : E, j = e.enableLabel, H = j === void 0 ? vn.enableLabel : j, P = e.label, k = e.labelSkipWidth, A = k === void 0 ? vn.labelSkipWidth : k, D = e.labelSkipHeight, U = D === void 0 ? vn.labelSkipHeight : D, q = e.labelTextColor, G = e.labelPosition, J = G === void 0 ? vn.labelPosition : G, X = e.labelOffset, Y = X === void 0 ? vn.labelOffset : X, Q = e.markers, B = Q === void 0 ? vn.markers : Q, W = e.colorBy, Z = e.colors, N = e.defs, ne = N === void 0 ? vn.defs : N, z = e.fill, re = z === void 0 ? vn.fill : z, ie = e.borderRadius, ge = ie === void 0 ? vn.borderRadius : ie, ye = e.borderWidth, pe = ye === void 0 ? vn.borderWidth : ye, be = e.borderColor, we = e.annotations, ve = we === void 0 ? vn.annotations : we, he = e.legendLabel, le = e.tooltipLabel, $e = e.valueFormat, fe = e.isInteractive, Fe = fe === void 0 ? vn.isInteractive : fe, Ae = e.tooltip, Te = Ae === void 0 ? vn.tooltip : Ae, je = e.onClick, Qe = e.onMouseEnter, et = e.onMouseLeave, Be = e.legends, ke = e.role, tt = ke === void 0 ? vn.role : ke, Ge = e.ariaLabel, Ke = e.ariaLabelledBy, ue = e.ariaDescribedBy, Ee = e.isFocusable, Je = Ee === void 0 ? vn.isFocusable : Ee, ot = e.barAriaLabel, De = e.barAriaLabelledBy, Ze = e.barAriaDescribedBy, We = e.barAriaHidden, nt = e.barAriaDisabled, it = e.initialHiddenIds, Ue = e.enableTotals, Pe = Ue === void 0 ? vn.enableTotals : Ue, ft = e.totalsOffset, wt = ft === void 0 ? vn.totalsOffset : ft, Oe = wi(), de = Oe.animate, xe = Oe.config, He = zM(o, a, i), Xe = He.outerWidth, qe = He.outerHeight, at = He.margin, K = He.innerWidth, oe = He.innerHeight, ae = x_({ indexBy: n, label: P, tooltipLabel: le, valueFormat: $e, colors: Z, colorBy: W, borderColor: be, labelTextColor: q, groupMode: s, layout: l, reverse: c, data: t, keys: r, minValue: u, maxValue: d, margin: at, width: K, height: oe, padding: p, innerPadding: g, valueScale: f, indexScale: h, enableLabel: H, labelSkipWidth: A, labelSkipHeight: U, legends: Be, legendLabel: he, initialHiddenIds: it, totalsOffset: wt }), Ve = ae.bars, st = ae.barsWithValue, ct = ae.xScale, ut = ae.yScale, mt = ae.getLabel, me = ae.getTooltipLabel, Ce = ae.getBorderColor, Re = ae.getLabelColor, lt = ae.shouldRenderBarLabel, Ct = ae.toggleSerie, Et = ae.legendsWithData, bt = ae.barTotals, kt = ae.getColor, fn = b_(l, c, J, Y), Wt = Tr(st, { keys: function(dt) {
38909
+ var t = e.data, n = e.indexBy, r = e.keys, i = e.margin, o = e.width, a = e.height, s = e.groupMode, l = e.layout, c = e.reverse, u = e.minValue, d = e.maxValue, f = e.valueScale, h = e.indexScale, p = e.padding, g = e.innerPadding, v = e.axisTop, b = e.axisRight, y = e.axisBottom, x = y === void 0 ? vn.axisBottom : y, S = e.axisLeft, w = S === void 0 ? vn.axisLeft : S, $ = e.enableGridX, V = $ === void 0 ? vn.enableGridX : $, _ = e.enableGridY, M = _ === void 0 ? vn.enableGridY : _, O = e.gridXValues, R = e.gridYValues, I = e.layers, L = I === void 0 ? vn.layers : I, E = e.barComponent, T = E === void 0 ? vn.barComponent : E, j = e.enableLabel, H = j === void 0 ? vn.enableLabel : j, P = e.label, k = e.labelSkipWidth, A = k === void 0 ? vn.labelSkipWidth : k, D = e.labelSkipHeight, U = D === void 0 ? vn.labelSkipHeight : D, q = e.labelTextColor, G = e.labelPosition, J = G === void 0 ? vn.labelPosition : G, X = e.labelOffset, Y = X === void 0 ? vn.labelOffset : X, Q = e.markers, B = Q === void 0 ? vn.markers : Q, W = e.colorBy, Z = e.colors, N = e.defs, ne = N === void 0 ? vn.defs : N, z = e.fill, re = z === void 0 ? vn.fill : z, ie = e.borderRadius, ge = ie === void 0 ? vn.borderRadius : ie, ye = e.borderWidth, pe = ye === void 0 ? vn.borderWidth : ye, be = e.borderColor, we = e.annotations, ve = we === void 0 ? vn.annotations : we, he = e.legendLabel, le = e.tooltipLabel, $e = e.valueFormat, fe = e.isInteractive, Fe = fe === void 0 ? vn.isInteractive : fe, Ne = e.tooltip, Te = Ne === void 0 ? vn.tooltip : Ne, je = e.onClick, Qe = e.onMouseEnter, et = e.onMouseLeave, Be = e.legends, ke = e.role, tt = ke === void 0 ? vn.role : ke, Ge = e.ariaLabel, Ke = e.ariaLabelledBy, ue = e.ariaDescribedBy, Ee = e.isFocusable, Je = Ee === void 0 ? vn.isFocusable : Ee, ot = e.barAriaLabel, De = e.barAriaLabelledBy, Ze = e.barAriaDescribedBy, We = e.barAriaHidden, nt = e.barAriaDisabled, it = e.initialHiddenIds, Ue = e.enableTotals, Pe = Ue === void 0 ? vn.enableTotals : Ue, ft = e.totalsOffset, wt = ft === void 0 ? vn.totalsOffset : ft, Oe = wi(), de = Oe.animate, xe = Oe.config, He = zM(o, a, i), Xe = He.outerWidth, qe = He.outerHeight, at = He.margin, K = He.innerWidth, oe = He.innerHeight, ae = x_({ indexBy: n, label: P, tooltipLabel: le, valueFormat: $e, colors: Z, colorBy: W, borderColor: be, labelTextColor: q, groupMode: s, layout: l, reverse: c, data: t, keys: r, minValue: u, maxValue: d, margin: at, width: K, height: oe, padding: p, innerPadding: g, valueScale: f, indexScale: h, enableLabel: H, labelSkipWidth: A, labelSkipHeight: U, legends: Be, legendLabel: he, initialHiddenIds: it, totalsOffset: wt }), Ve = ae.bars, st = ae.barsWithValue, ct = ae.xScale, ut = ae.yScale, mt = ae.getLabel, me = ae.getTooltipLabel, Ce = ae.getBorderColor, Re = ae.getLabelColor, lt = ae.shouldRenderBarLabel, Ct = ae.toggleSerie, Et = ae.legendsWithData, bt = ae.barTotals, kt = ae.getColor, fn = b_(l, c, J, Y), Wt = Tr(st, { keys: function(dt) {
38910
38910
  return dt.key;
38911
38911
  }, from: function(dt) {
38912
38912
  return Gt({ borderColor: Ce(dt), color: dt.color, height: 0, labelColor: Re(dt), labelOpacity: 0 }, fn(dt.width, dt.height), { transform: "translate(" + dt.x + ", " + (dt.y + dt.height) + ")", width: dt.width }, l === "vertical" ? {} : { height: dt.height, transform: "translate(" + dt.x + ", " + dt.y + ")", width: 0 });
@@ -38944,7 +38944,7 @@ var r5e = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
38944
38944
  me.moveTo(bt + xn, kt), me.lineTo(bt + Et - xn, kt), me.quadraticCurveTo(bt + Et, kt, bt + Et, kt + xn), me.lineTo(bt + Et, kt + Ct - xn), me.quadraticCurveTo(bt + Et, kt + Ct, bt + Et - xn, kt + Ct), me.lineTo(bt + xn, kt + Ct), me.quadraticCurveTo(bt, kt + Ct, bt, kt + Ct - xn), me.lineTo(bt, kt + xn), me.quadraticCurveTo(bt, kt, bt + xn, kt), me.closePath();
38945
38945
  } else me.rect(bt, kt, Et, Ct);
38946
38946
  me.fill(), Cn > 0 && me.stroke(), Nn && (me.textBaseline = "middle", me.textAlign = mn === "middle" ? "center" : mn, me.fillStyle = Ut, me.fillText(br, bt + dt, kt + jn));
38947
- } : P, A = e.enableLabel, D = A === void 0 ? Zn.enableLabel : A, U = e.label, q = e.labelSkipWidth, G = q === void 0 ? Zn.labelSkipWidth : q, J = e.labelSkipHeight, X = J === void 0 ? Zn.labelSkipHeight : J, Y = e.labelTextColor, Q = e.colorBy, B = e.colors, W = e.borderRadius, Z = W === void 0 ? Zn.borderRadius : W, N = e.borderWidth, ne = N === void 0 ? Zn.borderWidth : N, z = e.borderColor, re = e.annotations, ie = re === void 0 ? Zn.annotations : re, ge = e.legendLabel, ye = e.tooltipLabel, pe = e.valueFormat, be = e.isInteractive, we = be === void 0 ? Zn.isInteractive : be, ve = e.tooltip, he = ve === void 0 ? Zn.tooltip : ve, le = e.onClick, $e = e.onMouseEnter, fe = e.onMouseLeave, Fe = e.legends, Ae = e.pixelRatio, Te = Ae === void 0 ? Zn.pixelRatio : Ae, je = e.canvasRef, Qe = e.enableTotals, et = Qe === void 0 ? Zn.enableTotals : Qe, Be = e.totalsOffset, ke = Be === void 0 ? Zn.totalsOffset : Be, tt = Le(null), Ge = Bn(), Ke = zM(o, a, i), ue = Ke.margin, Ee = Ke.innerWidth, Je = Ke.innerHeight, ot = Ke.outerWidth, De = Ke.outerHeight, Ze = x_({ indexBy: n, label: U, tooltipLabel: ye, valueFormat: pe, colors: B, colorBy: Q, borderColor: z, labelTextColor: Y, groupMode: s, layout: l, reverse: c, data: t, keys: r, minValue: u, maxValue: d, margin: ue, width: Ee, height: Je, padding: p, innerPadding: g, valueScale: f, indexScale: h, enableLabel: D, labelSkipWidth: G, labelSkipHeight: X, legends: Fe, legendLabel: ge, totalsOffset: ke }), We = Ze.bars, nt = Ze.barsWithValue, it = Ze.xScale, Ue = Ze.yScale, Pe = Ze.getLabel, ft = Ze.getTooltipLabel, wt = Ze.getBorderColor, Oe = Ze.getLabelColor, de = Ze.shouldRenderBarLabel, xe = Ze.legendsWithData, He = Ze.barTotals, Xe = Ze.getColor, qe = NM(), at = qe.showTooltipFromEvent, K = qe.hideTooltip, oe = y4e({ annotations: u_({ data: We, annotations: ie, getPosition: function(me) {
38947
+ } : P, A = e.enableLabel, D = A === void 0 ? Zn.enableLabel : A, U = e.label, q = e.labelSkipWidth, G = q === void 0 ? Zn.labelSkipWidth : q, J = e.labelSkipHeight, X = J === void 0 ? Zn.labelSkipHeight : J, Y = e.labelTextColor, Q = e.colorBy, B = e.colors, W = e.borderRadius, Z = W === void 0 ? Zn.borderRadius : W, N = e.borderWidth, ne = N === void 0 ? Zn.borderWidth : N, z = e.borderColor, re = e.annotations, ie = re === void 0 ? Zn.annotations : re, ge = e.legendLabel, ye = e.tooltipLabel, pe = e.valueFormat, be = e.isInteractive, we = be === void 0 ? Zn.isInteractive : be, ve = e.tooltip, he = ve === void 0 ? Zn.tooltip : ve, le = e.onClick, $e = e.onMouseEnter, fe = e.onMouseLeave, Fe = e.legends, Ne = e.pixelRatio, Te = Ne === void 0 ? Zn.pixelRatio : Ne, je = e.canvasRef, Qe = e.enableTotals, et = Qe === void 0 ? Zn.enableTotals : Qe, Be = e.totalsOffset, ke = Be === void 0 ? Zn.totalsOffset : Be, tt = Le(null), Ge = Bn(), Ke = zM(o, a, i), ue = Ke.margin, Ee = Ke.innerWidth, Je = Ke.innerHeight, ot = Ke.outerWidth, De = Ke.outerHeight, Ze = x_({ indexBy: n, label: U, tooltipLabel: ye, valueFormat: pe, colors: B, colorBy: Q, borderColor: z, labelTextColor: Y, groupMode: s, layout: l, reverse: c, data: t, keys: r, minValue: u, maxValue: d, margin: ue, width: Ee, height: Je, padding: p, innerPadding: g, valueScale: f, indexScale: h, enableLabel: D, labelSkipWidth: G, labelSkipHeight: X, legends: Fe, legendLabel: ge, totalsOffset: ke }), We = Ze.bars, nt = Ze.barsWithValue, it = Ze.xScale, Ue = Ze.yScale, Pe = Ze.getLabel, ft = Ze.getTooltipLabel, wt = Ze.getBorderColor, Oe = Ze.getLabelColor, de = Ze.shouldRenderBarLabel, xe = Ze.legendsWithData, He = Ze.barTotals, Xe = Ze.getColor, qe = NM(), at = qe.showTooltipFromEvent, K = qe.hideTooltip, oe = y4e({ annotations: u_({ data: We, annotations: ie, getPosition: function(me) {
38948
38948
  return { x: me.x, y: me.y };
38949
38949
  }, getDimensions: function(me) {
38950
38950
  var Ce = me.width, Re = me.height;
@@ -40401,10 +40401,10 @@ var a7e = function(e) {
40401
40401
  return m.jsx(i7e, Mr({}, i), o);
40402
40402
  }) });
40403
40403
  }, w7e = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], S7e = function(e) {
40404
- var t = e.data, n = e.layers, r = n === void 0 ? qt.layers : n, i = e.valueFormat, o = e.width, a = e.height, s = e.margin, l = e.forceSquare, c = l === void 0 ? qt.forceSquare : l, u = e.xInnerPadding, d = u === void 0 ? qt.xInnerPadding : u, f = e.xOuterPadding, h = f === void 0 ? qt.xOuterPadding : f, p = e.yInnerPadding, g = p === void 0 ? qt.yInnerPadding : p, v = e.yOuterPadding, b = v === void 0 ? qt.yOuterPadding : v, y = e.sizeVariation, x = y === void 0 ? qt.sizeVariation : y, S = e.cellComponent, w = S === void 0 ? qt.cellComponent : S, $ = e.opacity, V = $ === void 0 ? qt.opacity : $, _ = e.activeOpacity, M = _ === void 0 ? qt.activeOpacity : _, O = e.inactiveOpacity, R = O === void 0 ? qt.inactiveOpacity : O, I = e.borderRadius, L = I === void 0 ? qt.borderRadius : I, E = e.borderWidth, T = E === void 0 ? qt.borderWidth : E, j = e.borderColor, H = j === void 0 ? qt.borderColor : j, P = e.enableGridX, k = P === void 0 ? qt.enableGridX : P, A = e.enableGridY, D = A === void 0 ? qt.enableGridY : A, U = e.axisTop, q = U === void 0 ? qt.axisTop : U, G = e.axisRight, J = G === void 0 ? qt.axisRight : G, X = e.axisBottom, Y = X === void 0 ? qt.axisBottom : X, Q = e.axisLeft, B = Q === void 0 ? qt.axisLeft : Q, W = e.enableLabels, Z = W === void 0 ? qt.enableLabels : W, N = e.label, ne = N === void 0 ? qt.label : N, z = e.labelTextColor, re = z === void 0 ? qt.labelTextColor : z, ie = e.colors, ge = ie === void 0 ? qt.colors : ie, ye = e.emptyColor, pe = ye === void 0 ? qt.emptyColor : ye, be = e.legends, we = be === void 0 ? qt.legends : be, ve = e.annotations, he = ve === void 0 ? qt.annotations : ve, le = e.isInteractive, $e = le === void 0 ? qt.isInteractive : le, fe = e.onMouseEnter, Fe = e.onMouseMove, Ae = e.onMouseLeave, Te = e.onClick, je = e.hoverTarget, Qe = je === void 0 ? qt.hoverTarget : je, et = e.tooltip, Be = et === void 0 ? qt.tooltip : et, ke = e.role, tt = e.ariaLabel, Ge = e.ariaLabelledBy, Ke = e.ariaDescribedBy, ue = J5e(o, a, s), Ee = ue.margin, Je = ue.innerWidth, ot = ue.innerHeight, De = ue.outerWidth, Ze = ue.outerHeight, We = g7e({ data: t, valueFormat: i, width: Je, height: ot, forceSquare: c, xInnerPadding: d, xOuterPadding: h, yInnerPadding: g, yOuterPadding: b, sizeVariation: x, colors: ge, emptyColor: pe, opacity: V, activeOpacity: M, inactiveOpacity: R, borderColor: H, label: ne, labelTextColor: re, hoverTarget: Qe }), nt = We.width, it = We.height, Ue = We.offsetX, Pe = We.offsetY, ft = We.xScale, wt = We.yScale, Oe = We.cells, de = We.colorScale, xe = We.activeCell, He = We.setActiveCell, Xe = Se(function() {
40404
+ var t = e.data, n = e.layers, r = n === void 0 ? qt.layers : n, i = e.valueFormat, o = e.width, a = e.height, s = e.margin, l = e.forceSquare, c = l === void 0 ? qt.forceSquare : l, u = e.xInnerPadding, d = u === void 0 ? qt.xInnerPadding : u, f = e.xOuterPadding, h = f === void 0 ? qt.xOuterPadding : f, p = e.yInnerPadding, g = p === void 0 ? qt.yInnerPadding : p, v = e.yOuterPadding, b = v === void 0 ? qt.yOuterPadding : v, y = e.sizeVariation, x = y === void 0 ? qt.sizeVariation : y, S = e.cellComponent, w = S === void 0 ? qt.cellComponent : S, $ = e.opacity, V = $ === void 0 ? qt.opacity : $, _ = e.activeOpacity, M = _ === void 0 ? qt.activeOpacity : _, O = e.inactiveOpacity, R = O === void 0 ? qt.inactiveOpacity : O, I = e.borderRadius, L = I === void 0 ? qt.borderRadius : I, E = e.borderWidth, T = E === void 0 ? qt.borderWidth : E, j = e.borderColor, H = j === void 0 ? qt.borderColor : j, P = e.enableGridX, k = P === void 0 ? qt.enableGridX : P, A = e.enableGridY, D = A === void 0 ? qt.enableGridY : A, U = e.axisTop, q = U === void 0 ? qt.axisTop : U, G = e.axisRight, J = G === void 0 ? qt.axisRight : G, X = e.axisBottom, Y = X === void 0 ? qt.axisBottom : X, Q = e.axisLeft, B = Q === void 0 ? qt.axisLeft : Q, W = e.enableLabels, Z = W === void 0 ? qt.enableLabels : W, N = e.label, ne = N === void 0 ? qt.label : N, z = e.labelTextColor, re = z === void 0 ? qt.labelTextColor : z, ie = e.colors, ge = ie === void 0 ? qt.colors : ie, ye = e.emptyColor, pe = ye === void 0 ? qt.emptyColor : ye, be = e.legends, we = be === void 0 ? qt.legends : be, ve = e.annotations, he = ve === void 0 ? qt.annotations : ve, le = e.isInteractive, $e = le === void 0 ? qt.isInteractive : le, fe = e.onMouseEnter, Fe = e.onMouseMove, Ne = e.onMouseLeave, Te = e.onClick, je = e.hoverTarget, Qe = je === void 0 ? qt.hoverTarget : je, et = e.tooltip, Be = et === void 0 ? qt.tooltip : et, ke = e.role, tt = e.ariaLabel, Ge = e.ariaLabelledBy, Ke = e.ariaDescribedBy, ue = J5e(o, a, s), Ee = ue.margin, Je = ue.innerWidth, ot = ue.innerHeight, De = ue.outerWidth, Ze = ue.outerHeight, We = g7e({ data: t, valueFormat: i, width: Je, height: ot, forceSquare: c, xInnerPadding: d, xOuterPadding: h, yInnerPadding: g, yOuterPadding: b, sizeVariation: x, colors: ge, emptyColor: pe, opacity: V, activeOpacity: M, inactiveOpacity: R, borderColor: H, label: ne, labelTextColor: re, hoverTarget: Qe }), nt = We.width, it = We.height, Ue = We.offsetX, Pe = We.offsetY, ft = We.xScale, wt = We.yScale, Oe = We.cells, de = We.colorScale, xe = We.activeCell, He = We.setActiveCell, Xe = Se(function() {
40405
40405
  return Mr({}, Ee, { top: Ee.top + Pe, left: Ee.left + Ue });
40406
40406
  }, [Ee, Ue, Pe]), qe = { grid: null, axes: null, cells: null, legends: null, annotations: null };
40407
- r.includes("grid") && (qe.grid = m.jsx(E6e, { width: nt, height: it, xScale: k ? ft : null, yScale: D ? wt : null }, "grid")), r.includes("axes") && (qe.axes = m.jsx(M6e, { xScale: ft, yScale: wt, width: nt, height: it, top: q, right: J, bottom: Y, left: B }, "axes")), r.includes("cells") && (qe.cells = m.jsx(Xr, { children: m.jsx(C7e, { cells: Oe, cellComponent: w, borderRadius: L, borderWidth: T, isInteractive: $e, setActiveCell: He, onMouseEnter: fe, onMouseMove: Fe, onMouseLeave: Ae, onClick: Te, tooltip: Be, enableLabels: Z }) }, "cells")), r.includes("legends") && de !== null && (qe.legends = m.jsx(Xr, { children: we.map(function(K, oe) {
40407
+ r.includes("grid") && (qe.grid = m.jsx(E6e, { width: nt, height: it, xScale: k ? ft : null, yScale: D ? wt : null }, "grid")), r.includes("axes") && (qe.axes = m.jsx(M6e, { xScale: ft, yScale: wt, width: nt, height: it, top: q, right: J, bottom: Y, left: B }, "axes")), r.includes("cells") && (qe.cells = m.jsx(Xr, { children: m.jsx(C7e, { cells: Oe, cellComponent: w, borderRadius: L, borderWidth: T, isInteractive: $e, setActiveCell: He, onMouseEnter: fe, onMouseMove: Fe, onMouseLeave: Ne, onClick: Te, tooltip: Be, enableLabels: Z }) }, "cells")), r.includes("legends") && de !== null && (qe.legends = m.jsx(Xr, { children: we.map(function(K, oe) {
40408
40408
  return Mt(U6e, Mr({}, K, { key: oe, containerWidth: nt, containerHeight: it, scale: de }));
40409
40409
  }) }, "legends")), r.includes("annotations") && he.length > 0 && (qe.annotations = m.jsx(x7e, { cells: Oe, annotations: he }, "annotations"));
40410
40410
  var at = { cells: Oe, activeCell: xe, setActiveCell: He };
@@ -40438,7 +40438,7 @@ const za = 12, d1 = 14, Rs = Bt.tspan`
40438
40438
  _7e(s, n).width > t ? (i.push(o), o = r[a]) : o = s;
40439
40439
  }
40440
40440
  return i.push(o), i;
40441
- }, Mu = Ne.memo(
40441
+ }, Mu = Ae.memo(
40442
40442
  ({ cell: e, text: t, transX: n, transY: r, textAnchor: i = "start", textStyle: o = {}, hoveredRow: a, yLabelWidth: s }) => {
40443
40443
  t = t || "label";
40444
40444
  const l = Se(() => G_(t, s, za), [t, s]), c = l.length * d1;
@@ -40456,7 +40456,7 @@ const za = 12, d1 = 14, Rs = Bt.tspan`
40456
40456
  d
40457
40457
  )) }) });
40458
40458
  }
40459
- ), eb = Ne.memo(
40459
+ ), eb = Ae.memo(
40460
40460
  ({
40461
40461
  cell: e,
40462
40462
  text: t,
@@ -41251,12 +41251,12 @@ const za = 12, d1 = 14, Rs = Bt.tspan`
41251
41251
  /* @__PURE__ */ m.jsx(u, {})
41252
41252
  ] });
41253
41253
  }, P7e = Bt.span`
41254
- font: var(--gf-label-md-default);
41255
- font-size: 14px;
41256
- line-height: 22px;
41257
- font-weight: 400;
41258
- color: var(--gf-color-button-primary);
41259
- transition: color 150ms ease, font-weight 150ms ease;
41254
+ font: var(--gf-label-md-default);
41255
+ font-size: 14px;
41256
+ line-height: 22px;
41257
+ font-weight: 400;
41258
+ color: var(--gf-color-button-primary);
41259
+ transition: color 150ms ease, font-weight 150ms ease;
41260
41260
  `, fhe = ({
41261
41261
  items: e,
41262
41262
  width: t = 226,
@@ -41264,42 +41264,58 @@ const za = 12, d1 = 14, Rs = Bt.tspan`
41264
41264
  rootMargin: r = 80,
41265
41265
  containerStyle: i = {}
41266
41266
  }) => {
41267
- const [o, a] = Ne.useState(0), s = Ne.useRef(!1), l = Ne.useRef(null), c = (d) => {
41268
- s.current = !0, l.current && clearTimeout(l.current), l.current = setTimeout(() => {
41269
- s.current = !1;
41270
- }, d);
41271
- }, u = (d) => {
41272
- var p, g;
41273
- a(d), c(800);
41274
- const f = (g = (p = e == null ? void 0 : e[d]) == null ? void 0 : p.href) == null ? void 0 : g.current;
41275
- if (!f) return;
41276
- const h = f.getBoundingClientRect().top + window.pageYOffset - n;
41277
- window.scrollTo({ top: h, behavior: "smooth" });
41278
- };
41279
- return Ne.useEffect(() => {
41280
- const d = (e || []).map((h, p) => {
41281
- var g;
41282
- return { key: p, el: (g = h.href) == null ? void 0 : g.current };
41283
- }).filter((h) => h.el);
41284
- if (!d.length) return;
41285
- const f = new IntersectionObserver(
41286
- (h) => {
41287
- if (s.current) return;
41288
- const p = h.filter((v) => v.isIntersecting).sort((v, b) => v.boundingClientRect.top - b.boundingClientRect.top)[0];
41289
- if (!p) return;
41290
- const g = d.find((v) => v.el === p.target);
41291
- g && g.key !== void 0 && a(g.key);
41267
+ const [o, a] = Ae.useState(0), s = Ae.useRef(0);
41268
+ Ae.useEffect(() => {
41269
+ s.current = o;
41270
+ }, [o]);
41271
+ const l = Ae.useRef(!1), c = Ae.useRef(null), u = (f) => {
41272
+ l.current = !0, c.current && clearTimeout(c.current), c.current = setTimeout(() => {
41273
+ l.current = !1;
41274
+ }, f);
41275
+ }, d = (f) => {
41276
+ var g, v;
41277
+ a(f), u(800);
41278
+ const h = (v = (g = e == null ? void 0 : e[f]) == null ? void 0 : g.href) == null ? void 0 : v.current;
41279
+ if (!h) return;
41280
+ const p = h.getBoundingClientRect().top + window.pageYOffset - n;
41281
+ window.scrollTo({ top: p, behavior: "smooth" });
41282
+ };
41283
+ return Ae.useEffect(() => {
41284
+ const f = (e || []).map((g, v) => {
41285
+ var b;
41286
+ return { key: v, el: (b = g.href) == null ? void 0 : b.current };
41287
+ }).filter((g) => g.el);
41288
+ if (!f.length) return;
41289
+ const h = /* @__PURE__ */ new Map(), p = new IntersectionObserver(
41290
+ (g) => {
41291
+ if (l.current) return;
41292
+ for (const y of g)
41293
+ h.set(y.target, {
41294
+ is: y.isIntersecting,
41295
+ top: y.boundingClientRect.top,
41296
+ ratio: y.intersectionRatio
41297
+ });
41298
+ const v = [];
41299
+ for (const { key: y, el: x } of f) {
41300
+ const S = h.get(x);
41301
+ S != null && S.is && v.push({ key: y, el: x, ...S });
41302
+ }
41303
+ if (!v.length) return;
41304
+ const b = v.sort(
41305
+ (y, x) => Math.abs(y.top - n) - Math.abs(x.top - n) || x.ratio - y.ratio
41306
+ )[0];
41307
+ b && b.key !== s.current && a(b.key);
41292
41308
  },
41293
41309
  {
41294
41310
  root: null,
41295
- threshold: [0.1, 0.2, 0.3],
41311
+ threshold: [0, 0.01, 0.1, 0.2],
41296
41312
  rootMargin: `-${n}px 0px -${r}% 0px`
41297
41313
  }
41298
41314
  );
41299
- return d.forEach(({ el: h }) => f.observe(h)), () => {
41300
- f.disconnect(), l.current && clearTimeout(l.current);
41315
+ return f.forEach(({ el: g }) => p.observe(g)), () => {
41316
+ p.disconnect(), c.current && clearTimeout(c.current);
41301
41317
  };
41302
- }, [e]), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
41318
+ }, [e, n, r]), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
41303
41319
  /* @__PURE__ */ m.jsx($n, {}),
41304
41320
  /* @__PURE__ */ m.jsxs(tn, { align: "stretch", children: [
41305
41321
  /* @__PURE__ */ m.jsxs(
@@ -41319,23 +41335,23 @@ const za = 12, d1 = 14, Rs = Bt.tspan`
41319
41335
  },
41320
41336
  children: [
41321
41337
  /* @__PURE__ */ m.jsx("span", { style: { fontSize: 12 }, children: "Inhoudsopgave".toUpperCase() }),
41322
- e == null ? void 0 : e.map((d, f) => {
41323
- const h = f === o;
41338
+ e == null ? void 0 : e.map((f, h) => {
41339
+ const p = h === o;
41324
41340
  return /* @__PURE__ */ m.jsx(
41325
41341
  "div",
41326
41342
  {
41327
- onClick: () => u(f),
41343
+ onClick: () => d(h),
41328
41344
  style: {
41329
41345
  width: "100%",
41330
41346
  boxSizing: "border-box",
41331
41347
  padding: 8,
41332
41348
  cursor: "pointer",
41333
- background: h ? "#F0F6FF" : "transparent",
41349
+ background: p ? "#F0F6FF" : "transparent",
41334
41350
  transition: "background 150ms ease"
41335
41351
  },
41336
- children: /* @__PURE__ */ m.jsx(P7e, { children: d == null ? void 0 : d.name })
41352
+ children: /* @__PURE__ */ m.jsx(P7e, { children: f == null ? void 0 : f.name })
41337
41353
  },
41338
- f
41354
+ h
41339
41355
  );
41340
41356
  })
41341
41357
  ]