@notificationapi/react 0.0.17 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import * as c from "react";
2
2
  import re, { useContext as tr, useEffect as wt, useRef as Be, useState as qn, useMemo as Ei, createContext as _o, forwardRef as an, useImperativeHandle as va, cloneElement as Io } from "react";
3
- import { av as To, aw as ga, ax as ma, ao as rr, ap as nr, ay as on, t as pa, d as j, aq as Pn, v as Ne, x as Gn, _ as De, az as Mo, J as Na, s as Pa, w as ne, A as tt, aA as _a, O as We, aB as Ao, aC as Si, aD as ha, L as rt, R as Vo, c as X, M as N, h as sn, aE as Lo, aF as zo, al as Qt, f as ya, p as ar, a as dt, b as ba, aG as jo, g as ln, m as ir, z as Zt, q as ae, ac as Le, aH as Kn, am as Do, aI as Wo, aJ as xi, aK as Bo, aL as ve, aM as br, aN as It, aO as bt, aP as Ia, K as Ye, aQ as Ho, aR as Zn, u as Re, r as wa, e as ko, i as Uo, j as Ct, k as qo, F as Go, D as Oi, aS as Ko, aj as Zo } from "./colors.js";
3
+ import { av as To, aw as ga, ax as ma, ao as rr, ap as nr, ay as on, q as pa, s as j, aq as Pn, t as Fe, w as Gn, _ as De, az as Mo, J as Fa, p as Pa, v as ne, z as tt, aA as _a, O as We, aB as Ao, aC as Si, aD as ha, L as rt, R as Vo, c as X, M as F, e as sn, aE as Lo, aF as zo, al as Qt, d as ya, n as ar, C as dt, a as ba, aG as jo, g as ln, m as ir, y as Zt, o as ae, ac as Le, aH as Kn, am as Do, aI as Wo, aJ as xi, aK as Bo, aL as ve, aM as br, aN as It, aO as bt, aP as Ia, K as Ye, aQ as Ho, aR as Zn, u as Re, r as wa, b as ko, i as Uo, f as Ct, h as qo, E as Go, D as Oi, aS as Ko, aj as Zo } from "./colors.js";
4
4
  function Mt(e) {
5
5
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [];
6
6
  return re.Children.forEach(e, function(n) {
@@ -152,7 +152,7 @@ var es = 20, ts = ["top", "right", "bottom", "left", "width", "height", "size",
152
152
  }, Jt = function(e) {
153
153
  var t = e && e.ownerDocument && e.ownerDocument.defaultView;
154
154
  return t || Jr;
155
- }, Fi = cn(0, 0, 0, 0);
155
+ }, Ni = cn(0, 0, 0, 0);
156
156
  function Yr(e) {
157
157
  return parseFloat(e) || 0;
158
158
  }
@@ -178,7 +178,7 @@ function is(e) {
178
178
  function os(e) {
179
179
  var t = e.clientWidth, r = e.clientHeight;
180
180
  if (!t && !r)
181
- return Fi;
181
+ return Ni;
182
182
  var n = Jt(e).getComputedStyle(e), a = as(n), i = a.left + a.right, o = a.top + a.bottom, s = Yr(n.width), u = Yr(n.height);
183
183
  if (n.boxSizing === "border-box" && (Math.round(s + i) !== t && (s -= Ta(n, "left", "right") + i), Math.round(u + o) !== r && (u -= Ta(n, "top", "bottom") + o)), !ls(e)) {
184
184
  var d = Math.round(s + i) - t, l = Math.round(u + o) - r;
@@ -197,7 +197,7 @@ function ls(e) {
197
197
  return e === Jt(e).document.documentElement;
198
198
  }
199
199
  function cs(e) {
200
- return Qn ? ss(e) ? is(e) : os(e) : Fi;
200
+ return Qn ? ss(e) ? is(e) : os(e) : Ni;
201
201
  }
202
202
  function us(e) {
203
203
  var t = e.x, r = e.y, n = e.width, a = e.height, i = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, o = Object.create(i.prototype);
@@ -284,7 +284,7 @@ var ds = (
284
284
  return this.activeObservations_.length > 0;
285
285
  }, e;
286
286
  }()
287
- ), Ni = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new $i(), Pi = (
287
+ ), Fi = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new $i(), Pi = (
288
288
  /** @class */
289
289
  /* @__PURE__ */ function() {
290
290
  function e(t) {
@@ -293,7 +293,7 @@ var ds = (
293
293
  if (!arguments.length)
294
294
  throw new TypeError("1 argument required, but only 0 present.");
295
295
  var r = ns.getInstance(), n = new vs(t, r, this);
296
- Ni.set(this, n);
296
+ Fi.set(this, n);
297
297
  }
298
298
  return e;
299
299
  }()
@@ -305,7 +305,7 @@ var ds = (
305
305
  ].forEach(function(e) {
306
306
  Pi.prototype[e] = function() {
307
307
  var t;
308
- return (t = Ni.get(this))[e].apply(t, arguments);
308
+ return (t = Fi.get(this))[e].apply(t, arguments);
309
309
  };
310
310
  });
311
311
  var gs = function() {
@@ -350,7 +350,7 @@ function ys(e, t) {
350
350
  }), l = !s && /* @__PURE__ */ c.isValidElement(u) && on(u), f = l ? u.ref : null, g = pa(f, a), b = function() {
351
351
  var x;
352
352
  return Pn(a.current) || // Support `nativeElement` format
353
- (a.current && Ne(a.current) === "object" ? Pn((x = a.current) === null || x === void 0 ? void 0 : x.nativeElement) : null) || Pn(i.current);
353
+ (a.current && Fe(a.current) === "object" ? Pn((x = a.current) === null || x === void 0 ? void 0 : x.nativeElement) : null) || Pn(i.current);
354
354
  };
355
355
  c.useImperativeHandle(t, function() {
356
356
  return b();
@@ -358,16 +358,16 @@ function ys(e, t) {
358
358
  var p = c.useRef(e);
359
359
  p.current = e;
360
360
  var h = c.useCallback(function(v) {
361
- var x = p.current, y = x.onResize, m = x.data, w = v.getBoundingClientRect(), R = w.width, $ = w.height, F = v.offsetWidth, P = v.offsetHeight, E = Math.floor(R), I = Math.floor($);
362
- if (d.current.width !== E || d.current.height !== I || d.current.offsetWidth !== F || d.current.offsetHeight !== P) {
361
+ var x = p.current, y = x.onResize, m = x.data, w = v.getBoundingClientRect(), R = w.width, $ = w.height, N = v.offsetWidth, P = v.offsetHeight, E = Math.floor(R), I = Math.floor($);
362
+ if (d.current.width !== E || d.current.height !== I || d.current.offsetWidth !== N || d.current.offsetHeight !== P) {
363
363
  var M = {
364
364
  width: E,
365
365
  height: I,
366
- offsetWidth: F,
366
+ offsetWidth: N,
367
367
  offsetHeight: P
368
368
  };
369
369
  d.current = M;
370
- var A = F === Math.round(R) ? R : F, z = P === Math.round($) ? $ : P, T = j(j({}, M), {}, {
370
+ var A = N === Math.round(R) ? R : N, z = P === Math.round($) ? $ : P, T = j(j({}, M), {}, {
371
371
  offsetWidth: A,
372
372
  offsetHeight: z
373
373
  });
@@ -412,11 +412,11 @@ function Ca(e, t) {
412
412
  const Cs = (e, t) => {
413
413
  const r = c.useContext(Mo), n = c.useMemo(() => {
414
414
  var i;
415
- const o = t || Na[e], s = (i = r == null ? void 0 : r[e]) !== null && i !== void 0 ? i : {};
415
+ const o = t || Fa[e], s = (i = r == null ? void 0 : r[e]) !== null && i !== void 0 ? i : {};
416
416
  return Object.assign(Object.assign({}, typeof o == "function" ? o() : o), s || {});
417
417
  }, [e, t, r]), a = c.useMemo(() => {
418
418
  const i = r == null ? void 0 : r.locale;
419
- return r != null && r.exist && !i ? Na.locale : i;
419
+ return r != null && r.exist && !i ? Fa.locale : i;
420
420
  }, [r]);
421
421
  return [n, a];
422
422
  };
@@ -472,7 +472,7 @@ function xs(e, t) {
472
472
  We(e, "[@ant-design/icons] ".concat(t));
473
473
  }
474
474
  function Ma(e) {
475
- return Ne(e) === "object" && typeof e.name == "string" && typeof e.theme == "string" && (Ne(e.icon) === "object" || typeof e.icon == "function");
475
+ return Fe(e) === "object" && typeof e.name == "string" && typeof e.theme == "string" && (Fe(e.icon) === "object" || typeof e.icon == "function");
476
476
  }
477
477
  function Aa() {
478
478
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -575,11 +575,11 @@ var Os = `
575
575
  secondaryColor: "#E6E6E6",
576
576
  calculated: !1
577
577
  };
578
- function Fs(e) {
578
+ function Ns(e) {
579
579
  var t = e.primaryColor, r = e.secondaryColor;
580
580
  Cr.primaryColor = t, Cr.secondaryColor = r || Vi(t), Cr.calculated = !!r;
581
581
  }
582
- function Ns() {
582
+ function Fs() {
583
583
  return j({}, Cr);
584
584
  }
585
585
  var sr = function(t) {
@@ -606,8 +606,8 @@ var sr = function(t) {
606
606
  }));
607
607
  };
608
608
  sr.displayName = "IconReact";
609
- sr.getTwoToneColors = Ns;
610
- sr.setTwoToneColors = Fs;
609
+ sr.getTwoToneColors = Fs;
610
+ sr.setTwoToneColors = Ns;
611
611
  function zi(e) {
612
612
  var t = Li(e), r = ne(t, 2), n = r[0], a = r[1];
613
613
  return sr.setTwoToneColors({
@@ -622,7 +622,7 @@ function Ps() {
622
622
  var _s = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
623
623
  zi(Vo.primary);
624
624
  var ft = /* @__PURE__ */ c.forwardRef(function(e, t) {
625
- var r = e.className, n = e.icon, a = e.spin, i = e.rotate, o = e.tabIndex, s = e.onClick, u = e.twoToneColor, d = rt(e, _s), l = c.useContext(Si), f = l.prefixCls, g = f === void 0 ? "anticon" : f, b = l.rootClassName, p = X(b, g, N(N({}, "".concat(g, "-").concat(n.name), !!n.name), "".concat(g, "-spin"), !!a || n.name === "loading"), r), h = o;
625
+ var r = e.className, n = e.icon, a = e.spin, i = e.rotate, o = e.tabIndex, s = e.onClick, u = e.twoToneColor, d = rt(e, _s), l = c.useContext(Si), f = l.prefixCls, g = f === void 0 ? "anticon" : f, b = l.rootClassName, p = X(b, g, F(F({}, "".concat(g, "-").concat(n.name), !!n.name), "".concat(g, "-spin"), !!a || n.name === "loading"), r), h = o;
626
626
  h === void 0 && s && (h = -1);
627
627
  var v = i ? {
628
628
  msTransform: "rotate(".concat(i, "deg)"),
@@ -1260,7 +1260,7 @@ function He() {
1260
1260
  });
1261
1261
  var R = Object.getPrototypeOf, $ = R && R(R(D([])));
1262
1262
  $ && $ !== r && n.call($, o) && (w = $);
1263
- var F = m.prototype = x.prototype = Object.create(w);
1263
+ var N = m.prototype = x.prototype = Object.create(w);
1264
1264
  function P(O) {
1265
1265
  ["next", "throw", "return"].forEach(function(C) {
1266
1266
  d(O, C, function(S) {
@@ -1273,7 +1273,7 @@ function He() {
1273
1273
  var q = f(O[_], O, L);
1274
1274
  if (q.type !== "throw") {
1275
1275
  var G = q.arg, k = G.value;
1276
- return k && Ne(k) == "object" && n.call(k, "__await") ? C.resolve(k.__await).then(function(oe) {
1276
+ return k && Fe(k) == "object" && n.call(k, "__await") ? C.resolve(k.__await).then(function(oe) {
1277
1277
  S("next", oe, W, U);
1278
1278
  }, function(oe) {
1279
1279
  S("throw", oe, W, U);
@@ -1384,9 +1384,9 @@ function He() {
1384
1384
  return V.next = V;
1385
1385
  }
1386
1386
  }
1387
- throw new TypeError(Ne(O) + " is not iterable");
1387
+ throw new TypeError(Fe(O) + " is not iterable");
1388
1388
  }
1389
- return y.prototype = m, a(F, "constructor", {
1389
+ return y.prototype = m, a(N, "constructor", {
1390
1390
  value: m,
1391
1391
  configurable: !0
1392
1392
  }), a(m, "constructor", {
@@ -1396,7 +1396,7 @@ function He() {
1396
1396
  var C = typeof O == "function" && O.constructor;
1397
1397
  return !!C && (C === y || (C.displayName || C.name) === "GeneratorFunction");
1398
1398
  }, t.mark = function(O) {
1399
- return Object.setPrototypeOf ? Object.setPrototypeOf(O, m) : (O.__proto__ = m, d(O, u, "GeneratorFunction")), O.prototype = Object.create(F), O;
1399
+ return Object.setPrototypeOf ? Object.setPrototypeOf(O, m) : (O.__proto__ = m, d(O, u, "GeneratorFunction")), O.prototype = Object.create(N), O;
1400
1400
  }, t.awrap = function(O) {
1401
1401
  return {
1402
1402
  __await: O
@@ -1409,9 +1409,9 @@ function He() {
1409
1409
  return t.isGeneratorFunction(C) ? L : L.next().then(function(W) {
1410
1410
  return W.done ? W.value : L.next();
1411
1411
  });
1412
- }, P(F), d(F, u, "Generator"), d(F, o, function() {
1412
+ }, P(N), d(N, u, "Generator"), d(N, o, function() {
1413
1413
  return this;
1414
- }), d(F, "toString", function() {
1414
+ }), d(N, "toString", function() {
1415
1415
  return "[object Generator]";
1416
1416
  }), t.keys = function(O) {
1417
1417
  var C = Object(O), S = [];
@@ -1547,7 +1547,7 @@ try {
1547
1547
  }
1548
1548
  function La(e) {
1549
1549
  var t = Or.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1550
- t && Ne(t) === "object" && (t.usingClientEntryPoint = e);
1550
+ t && Fe(t) === "object" && (t.usingClientEntryPoint = e);
1551
1551
  }
1552
1552
  var tn = "__rc_react_root__";
1553
1553
  function Us(e, t) {
@@ -1719,11 +1719,11 @@ const nl = (e) => {
1719
1719
  function w() {
1720
1720
  const $ = getComputedStyle(r);
1721
1721
  o(rl(r));
1722
- const F = $.position === "static", {
1722
+ const N = $.position === "static", {
1723
1723
  borderLeftWidth: P,
1724
1724
  borderTopWidth: E
1725
1725
  } = $;
1726
- l(F ? r.offsetLeft : An(-parseFloat(P))), g(F ? r.offsetTop : An(-parseFloat(E))), p(r.offsetWidth), v(r.offsetHeight);
1726
+ l(N ? r.offsetLeft : An(-parseFloat(P))), g(N ? r.offsetTop : An(-parseFloat(E))), p(r.offsetWidth), v(r.offsetHeight);
1727
1727
  const {
1728
1728
  borderTopLeftRadius: I,
1729
1729
  borderTopRightRadius: M,
@@ -1737,9 +1737,9 @@ const nl = (e) => {
1737
1737
  const $ = Qt(() => {
1738
1738
  w(), y(!0);
1739
1739
  });
1740
- let F;
1741
- return typeof ResizeObserver < "u" && (F = new ResizeObserver(w), F.observe(r)), () => {
1742
- Qt.cancel($), F == null || F.disconnect();
1740
+ let N;
1741
+ return typeof ResizeObserver < "u" && (N = new ResizeObserver(w), N.observe(r)), () => {
1742
+ Qt.cancel($), N == null || N.disconnect();
1743
1743
  };
1744
1744
  }
1745
1745
  }, []), !x)
@@ -1750,9 +1750,9 @@ const nl = (e) => {
1750
1750
  motionAppear: !0,
1751
1751
  motionName: "wave-motion",
1752
1752
  motionDeadline: 5e3,
1753
- onAppearEnd: ($, F) => {
1753
+ onAppearEnd: ($, N) => {
1754
1754
  var P;
1755
- if (F.deadline || F.propertyName === "opacity") {
1755
+ if (N.deadline || N.propertyName === "opacity") {
1756
1756
  const E = (P = a.current) === null || P === void 0 ? void 0 : P.parentElement;
1757
1757
  Xs(E).then(() => {
1758
1758
  E == null || E.remove();
@@ -1760,12 +1760,12 @@ const nl = (e) => {
1760
1760
  }
1761
1761
  return !1;
1762
1762
  }
1763
- }, ($, F) => {
1763
+ }, ($, N) => {
1764
1764
  let {
1765
1765
  className: P
1766
1766
  } = $;
1767
1767
  return /* @__PURE__ */ c.createElement("div", {
1768
- ref: ar(a, F),
1768
+ ref: ar(a, N),
1769
1769
  className: X(t, {
1770
1770
  "wave-quick": R
1771
1771
  }, P),
@@ -2163,12 +2163,12 @@ var Wa = function(t) {
2163
2163
  });
2164
2164
  var y = pl(b && !v, i), m = ne(y, 2), w = m[0], R = m[1], $ = v ?? w;
2165
2165
  Cl(n && r && Zt() && ($ === w || $ === document.body));
2166
- var F = null;
2166
+ var N = null;
2167
2167
  if (u && on(u) && t) {
2168
2168
  var P = u;
2169
- F = P.ref;
2169
+ N = P.ref;
2170
2170
  }
2171
- var E = pa(F, t);
2171
+ var E = pa(N, t);
2172
2172
  if (!b || !Zt() || v === void 0)
2173
2173
  return null;
2174
2174
  var I = $ === !1 || Sl(), M = u;
@@ -2312,14 +2312,14 @@ function ra() {
2312
2312
  };
2313
2313
  }
2314
2314
  var na = ra();
2315
- function Fl(e) {
2315
+ function Nl(e) {
2316
2316
  try {
2317
2317
  return Function.toString.call(e).indexOf("[native code]") !== -1;
2318
2318
  } catch {
2319
2319
  return typeof e == "function";
2320
2320
  }
2321
2321
  }
2322
- function Nl(e, t, r) {
2322
+ function Fl(e, t, r) {
2323
2323
  if (Wo())
2324
2324
  return Reflect.construct.apply(null, arguments);
2325
2325
  var n = [null];
@@ -2330,7 +2330,7 @@ function Nl(e, t, r) {
2330
2330
  function aa(e) {
2331
2331
  var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
2332
2332
  return aa = function(n) {
2333
- if (n === null || !Fl(n))
2333
+ if (n === null || !Nl(n))
2334
2334
  return n;
2335
2335
  if (typeof n != "function")
2336
2336
  throw new TypeError("Super expression must either be null or a function");
@@ -2340,7 +2340,7 @@ function aa(e) {
2340
2340
  t.set(n, a);
2341
2341
  }
2342
2342
  function a() {
2343
- return Nl(n, arguments, Bo(this).constructor);
2343
+ return Fl(n, arguments, Bo(this).constructor);
2344
2344
  }
2345
2345
  return a.prototype = Object.create(n.prototype, {
2346
2346
  constructor: {
@@ -2438,7 +2438,7 @@ var qa = /* @__PURE__ */ function(e) {
2438
2438
  var t = ma(r);
2439
2439
  function r(n, a) {
2440
2440
  var i;
2441
- return nr(this, r), i = t.call(this, "Async Validation Error"), N(ve(i), "errors", void 0), N(ve(i), "fields", void 0), i.errors = n, i.fields = a, i;
2441
+ return nr(this, r), i = t.call(this, "Async Validation Error"), F(ve(i), "errors", void 0), F(ve(i), "fields", void 0), i.errors = n, i.fields = a, i;
2442
2442
  }
2443
2443
  return rr(r);
2444
2444
  }(/* @__PURE__ */ aa(Error));
@@ -2494,7 +2494,7 @@ function Ka(e, t) {
2494
2494
  for (var r in t)
2495
2495
  if (t.hasOwnProperty(r)) {
2496
2496
  var n = t[r];
2497
- Ne(n) === "object" && Ne(e[r]) === "object" ? e[r] = j(j({}, e[r]), n) : e[r] = n;
2497
+ Fe(n) === "object" && Fe(e[r]) === "object" ? e[r] = j(j({}, e[r]), n) : e[r] = n;
2498
2498
  }
2499
2499
  }
2500
2500
  return e;
@@ -2585,7 +2585,7 @@ var Za = {
2585
2585
  return isNaN(t) ? !1 : typeof t == "number";
2586
2586
  },
2587
2587
  object: function(t) {
2588
- return Ne(t) === "object" && !wr.array(t);
2588
+ return Fe(t) === "object" && !wr.array(t);
2589
2589
  },
2590
2590
  method: function(t) {
2591
2591
  return typeof t == "function";
@@ -2605,7 +2605,7 @@ var Za = {
2605
2605
  return;
2606
2606
  }
2607
2607
  var o = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], s = t.type;
2608
- o.indexOf(s) > -1 ? wr[s](r) || a.push(Ge(i.messages.types[s], t.fullField, t.type)) : s && Ne(r) !== t.type && a.push(Ge(i.messages.types[s], t.fullField, t.type));
2608
+ o.indexOf(s) > -1 ? wr[s](r) || a.push(Ge(i.messages.types[s], t.fullField, t.type)) : s && Fe(r) !== t.type && a.push(Ge(i.messages.types[s], t.fullField, t.type));
2609
2609
  }, Bl = function(t, r, n, a, i) {
2610
2610
  (/^\s+$/.test(r) || r === "") && a.push(Ge(i.messages.whitespace, t.fullField));
2611
2611
  };
@@ -2717,7 +2717,7 @@ var Hl = function(t, r, n, a, i) {
2717
2717
  }
2718
2718
  n(o);
2719
2719
  }, rc = function(t, r, n, a, i) {
2720
- var o = [], s = Array.isArray(r) ? "array" : Ne(r);
2720
+ var o = [], s = Array.isArray(r) ? "array" : Fe(r);
2721
2721
  ce.required(t, r, a, o, i, s), n(o);
2722
2722
  }, nc = function(t, r, n, a, i) {
2723
2723
  var o = [], s = t.required || !t.required && a.hasOwnProperty(t.field);
@@ -2757,7 +2757,7 @@ const Er = {
2757
2757
  };
2758
2758
  var $r = /* @__PURE__ */ function() {
2759
2759
  function e(t) {
2760
- nr(this, e), N(this, "rules", null), N(this, "_messages", na), this.define(t);
2760
+ nr(this, e), F(this, "rules", null), F(this, "_messages", na), this.define(t);
2761
2761
  }
2762
2762
  return rr(e, [{
2763
2763
  key: "define",
@@ -2765,7 +2765,7 @@ var $r = /* @__PURE__ */ function() {
2765
2765
  var n = this;
2766
2766
  if (!r)
2767
2767
  throw new Error("Cannot configure a schema with no rules");
2768
- if (Ne(r) !== "object" || Array.isArray(r))
2768
+ if (Fe(r) !== "object" || Array.isArray(r))
2769
2769
  throw new Error("Rules must be an object");
2770
2770
  this.rules = {}, Object.keys(r).forEach(function(a) {
2771
2771
  var i = r[a];
@@ -2807,7 +2807,7 @@ var $r = /* @__PURE__ */ function() {
2807
2807
  var h = n.rules[p], v = o[p];
2808
2808
  h.forEach(function(x) {
2809
2809
  var y = x;
2810
- typeof y.transform == "function" && (o === r && (o = j({}, o)), v = o[p] = y.transform(v), v != null && (y.type = y.type || (Array.isArray(v) ? "array" : Ne(v)))), typeof y == "function" ? y = {
2810
+ typeof y.transform == "function" && (o === r && (o = j({}, o)), v = o[p] = y.transform(v), v != null && (y.type = y.type || (Array.isArray(v) ? "array" : Fe(v)))), typeof y == "function" ? y = {
2811
2811
  validator: y
2812
2812
  } : y = j({}, y), y.validator = n.getValidationMethod(y), y.validator && (y.field = p, y.fullField = y.fullField || p, y.type = n.getType(y), f[p] = f[p] || [], f[p].push({
2813
2813
  rule: y,
@@ -2819,16 +2819,16 @@ var $r = /* @__PURE__ */ function() {
2819
2819
  });
2820
2820
  var b = {};
2821
2821
  return Ml(f, s, function(p, h) {
2822
- var v = p.rule, x = (v.type === "object" || v.type === "array") && (Ne(v.fields) === "object" || Ne(v.defaultField) === "object");
2822
+ var v = p.rule, x = (v.type === "object" || v.type === "array") && (Fe(v.fields) === "object" || Fe(v.defaultField) === "object");
2823
2823
  x = x && (v.required || !v.required && p.value), v.field = p.field;
2824
- function y(F, P) {
2824
+ function y(N, P) {
2825
2825
  return j(j({}, P), {}, {
2826
- fullField: "".concat(v.fullField, ".").concat(F),
2827
- fullFields: v.fullFields ? [].concat(ae(v.fullFields), [F]) : [F]
2826
+ fullField: "".concat(v.fullField, ".").concat(N),
2827
+ fullFields: v.fullFields ? [].concat(ae(v.fullFields), [N]) : [N]
2828
2828
  });
2829
2829
  }
2830
2830
  function m() {
2831
- var F = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], P = Array.isArray(F) ? F : [F];
2831
+ var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], P = Array.isArray(N) ? N : [N];
2832
2832
  !s.suppressWarning && P.length && e.warning("async-validator:", P), P.length && v.message !== void 0 && (P = [].concat(v.message));
2833
2833
  var E = P.map(Ga(v, o));
2834
2834
  if (s.first && E.length)
@@ -2860,18 +2860,18 @@ var $r = /* @__PURE__ */ function() {
2860
2860
  else if (v.validator) {
2861
2861
  try {
2862
2862
  w = v.validator(v, p.value, m, p.source, s);
2863
- } catch (F) {
2863
+ } catch (N) {
2864
2864
  var R, $;
2865
- (R = ($ = console).error) === null || R === void 0 || R.call($, F), s.suppressValidatorError || setTimeout(function() {
2866
- throw F;
2867
- }, 0), m(F.message);
2865
+ (R = ($ = console).error) === null || R === void 0 || R.call($, N), s.suppressValidatorError || setTimeout(function() {
2866
+ throw N;
2867
+ }, 0), m(N.message);
2868
2868
  }
2869
2869
  w === !0 ? m() : w === !1 ? m(typeof v.message == "function" ? v.message(v.fullField || v.field) : v.message || "".concat(v.fullField || v.field, " fails")) : w instanceof Array ? m(w) : w instanceof Error && m(w.message);
2870
2870
  }
2871
2871
  w && w.then && w.then(function() {
2872
2872
  return m();
2873
- }, function(F) {
2874
- return m(F);
2873
+ }, function(N) {
2874
+ return m(N);
2875
2875
  });
2876
2876
  }, function(p) {
2877
2877
  d(p);
@@ -2894,14 +2894,14 @@ var $r = /* @__PURE__ */ function() {
2894
2894
  }
2895
2895
  }]), e;
2896
2896
  }();
2897
- N($r, "register", function(t, r) {
2897
+ F($r, "register", function(t, r) {
2898
2898
  if (typeof r != "function")
2899
2899
  throw new Error("Cannot register a validator by type, validator is not a function");
2900
2900
  Er[t] = r;
2901
2901
  });
2902
- N($r, "warning", Zi);
2903
- N($r, "messages", na);
2904
- N($r, "validators", Er);
2902
+ F($r, "warning", Zi);
2903
+ F($r, "messages", na);
2904
+ F($r, "validators", Er);
2905
2905
  var qe = "'${name}' is not a valid ${type}", Qi = {
2906
2906
  default: "Validation error on field '${name}'",
2907
2907
  required: "'${name}' is required",
@@ -2973,7 +2973,7 @@ function sa() {
2973
2973
  } catch (x) {
2974
2974
  return console.error(x), Promise.reject(Qa);
2975
2975
  }
2976
- }), u = null, o && o.type === "array" && o.defaultField && (u = o.defaultField, delete o.defaultField), d = new Xa(N({}, t, [o])), l = br(Qi, a.validateMessages), d.messages(l), f = [], v.prev = 10, v.next = 13, Promise.resolve(d.validate(N({}, t, r), j({}, a)));
2976
+ }), u = null, o && o.type === "array" && o.defaultField && (u = o.defaultField, delete o.defaultField), d = new Xa(F({}, t, [o])), l = br(Qi, a.validateMessages), d.messages(l), f = [], v.prev = 10, v.next = 13, Promise.resolve(d.validate(F({}, t, r), j({}, a)));
2977
2977
  case 13:
2978
2978
  v.next = 18;
2979
2979
  break;
@@ -3020,8 +3020,8 @@ function ic(e, t, r, n, a, i) {
3020
3020
  });
3021
3021
  return g && (b.validator = function(p, h, v) {
3022
3022
  var x = !1, y = function() {
3023
- for (var R = arguments.length, $ = new Array(R), F = 0; F < R; F++)
3024
- $[F] = arguments[F];
3023
+ for (var R = arguments.length, $ = new Array(R), N = 0; N < R; N++)
3024
+ $[N] = arguments[N];
3025
3025
  Promise.resolve().then(function() {
3026
3026
  We(!x, "Your validator function has already return a promise. `callback` will be ignored."), x || v.apply(void 0, $);
3027
3027
  });
@@ -3161,7 +3161,7 @@ function Ji(e, t) {
3161
3161
  function lc(e, t) {
3162
3162
  if (e === t)
3163
3163
  return !0;
3164
- if (!e && t || e && !t || !e || !t || Ne(e) !== "object" || Ne(t) !== "object")
3164
+ if (!e && t || e && !t || !e || !t || Fe(e) !== "object" || Fe(t) !== "object")
3165
3165
  return !1;
3166
3166
  var r = Object.keys(e), n = Object.keys(t), a = new Set([].concat(r, n));
3167
3167
  return ae(a).every(function(i) {
@@ -3171,7 +3171,7 @@ function lc(e, t) {
3171
3171
  }
3172
3172
  function cc(e) {
3173
3173
  var t = arguments.length <= 1 ? void 0 : arguments[1];
3174
- return t && t.target && Ne(t.target) === "object" && e in t.target ? t.target[e] : t;
3174
+ return t && t.target && Fe(t.target) === "object" && e in t.target ? t.target[e] : t;
3175
3175
  }
3176
3176
  function Ya(e, t, r) {
3177
3177
  var n = e.length;
@@ -3191,27 +3191,27 @@ var Oa = /* @__PURE__ */ function(e) {
3191
3191
  var t = ma(r);
3192
3192
  function r(n) {
3193
3193
  var a;
3194
- if (nr(this, r), a = t.call(this, n), N(ve(a), "state", {
3194
+ if (nr(this, r), a = t.call(this, n), F(ve(a), "state", {
3195
3195
  resetCount: 0
3196
- }), N(ve(a), "cancelRegisterFunc", null), N(ve(a), "mounted", !1), N(ve(a), "touched", !1), N(ve(a), "dirty", !1), N(ve(a), "validatePromise", void 0), N(ve(a), "prevValidating", void 0), N(ve(a), "errors", Xe), N(ve(a), "warnings", Xe), N(ve(a), "cancelRegister", function() {
3196
+ }), F(ve(a), "cancelRegisterFunc", null), F(ve(a), "mounted", !1), F(ve(a), "touched", !1), F(ve(a), "dirty", !1), F(ve(a), "validatePromise", void 0), F(ve(a), "prevValidating", void 0), F(ve(a), "errors", Xe), F(ve(a), "warnings", Xe), F(ve(a), "cancelRegister", function() {
3197
3197
  var u = a.props, d = u.preserve, l = u.isListField, f = u.name;
3198
3198
  a.cancelRegisterFunc && a.cancelRegisterFunc(l, d, Ae(f)), a.cancelRegisterFunc = null;
3199
- }), N(ve(a), "getNamePath", function() {
3199
+ }), F(ve(a), "getNamePath", function() {
3200
3200
  var u = a.props, d = u.name, l = u.fieldContext, f = l.prefixName, g = f === void 0 ? [] : f;
3201
3201
  return d !== void 0 ? [].concat(ae(g), ae(d)) : [];
3202
- }), N(ve(a), "getRules", function() {
3202
+ }), F(ve(a), "getRules", function() {
3203
3203
  var u = a.props, d = u.rules, l = d === void 0 ? [] : d, f = u.fieldContext;
3204
3204
  return l.map(function(g) {
3205
3205
  return typeof g == "function" ? g(f) : g;
3206
3206
  });
3207
- }), N(ve(a), "refresh", function() {
3207
+ }), F(ve(a), "refresh", function() {
3208
3208
  a.mounted && a.setState(function(u) {
3209
3209
  var d = u.resetCount;
3210
3210
  return {
3211
3211
  resetCount: d + 1
3212
3212
  };
3213
3213
  });
3214
- }), N(ve(a), "metaCache", null), N(ve(a), "triggerMetaEvent", function(u) {
3214
+ }), F(ve(a), "metaCache", null), F(ve(a), "triggerMetaEvent", function(u) {
3215
3215
  var d = a.props.onMetaChange;
3216
3216
  if (d) {
3217
3217
  var l = j(j({}, a.getMeta()), {}, {
@@ -3220,7 +3220,7 @@ var Oa = /* @__PURE__ */ function(e) {
3220
3220
  Ia(a.metaCache, l) || d(l), a.metaCache = l;
3221
3221
  } else
3222
3222
  a.metaCache = null;
3223
- }), N(ve(a), "onStoreChange", function(u, d, l) {
3223
+ }), F(ve(a), "onStoreChange", function(u, d, l) {
3224
3224
  var f = a.props, g = f.shouldUpdate, b = f.dependencies, p = b === void 0 ? [] : b, h = f.onReset, v = l.store, x = a.getNamePath(), y = a.getValue(u), m = a.getValue(v), w = d && Xt(d, x);
3225
3225
  switch (l.type === "valueUpdate" && l.source === "external" && !Ia(y, m) && (a.touched = !0, a.dirty = !0, a.validatePromise = null, a.errors = Xe, a.warnings = Xe, a.triggerMetaEvent()), l.type) {
3226
3226
  case "reset":
@@ -3253,8 +3253,8 @@ var Oa = /* @__PURE__ */ function(e) {
3253
3253
  }
3254
3254
  case "dependenciesUpdate": {
3255
3255
  var $ = p.map(Ae);
3256
- if ($.some(function(F) {
3257
- return Xt(l.relatedFields, F);
3256
+ if ($.some(function(N) {
3257
+ return Xt(l.relatedFields, N);
3258
3258
  })) {
3259
3259
  a.reRender();
3260
3260
  return;
@@ -3269,9 +3269,9 @@ var Oa = /* @__PURE__ */ function(e) {
3269
3269
  break;
3270
3270
  }
3271
3271
  g === !0 && a.reRender();
3272
- }), N(ve(a), "validateRules", function(u) {
3272
+ }), F(ve(a), "validateRules", function(u) {
3273
3273
  var d = a.getNamePath(), l = a.getValue(), f = u || {}, g = f.triggerName, b = f.validateOnly, p = b === void 0 ? !1 : b, h = Promise.resolve().then(/* @__PURE__ */ At(/* @__PURE__ */ He().mark(function v() {
3274
- var x, y, m, w, R, $, F;
3274
+ var x, y, m, w, R, $, N;
3275
3275
  return He().wrap(function(E) {
3276
3276
  for (; ; )
3277
3277
  switch (E.prev = E.next) {
@@ -3304,7 +3304,7 @@ var Oa = /* @__PURE__ */ function(e) {
3304
3304
  }
3305
3305
  return E.abrupt("return", []);
3306
3306
  case 10:
3307
- return F = ic(d, l, $, u, m, w), F.catch(function(I) {
3307
+ return N = ic(d, l, $, u, m, w), N.catch(function(I) {
3308
3308
  return I;
3309
3309
  }).then(function() {
3310
3310
  var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Xe;
@@ -3317,7 +3317,7 @@ var Oa = /* @__PURE__ */ function(e) {
3317
3317
  D ? z.push.apply(z, ae(C)) : A.push.apply(A, ae(C));
3318
3318
  }), a.errors = A, a.warnings = z, a.triggerMetaEvent(), a.reRender();
3319
3319
  }
3320
- }), E.abrupt("return", F);
3320
+ }), E.abrupt("return", N);
3321
3321
  case 13:
3322
3322
  case "end":
3323
3323
  return E.stop();
@@ -3325,26 +3325,26 @@ var Oa = /* @__PURE__ */ function(e) {
3325
3325
  }, v);
3326
3326
  })));
3327
3327
  return p || (a.validatePromise = h, a.dirty = !0, a.errors = Xe, a.warnings = Xe, a.triggerMetaEvent(), a.reRender()), h;
3328
- }), N(ve(a), "isFieldValidating", function() {
3328
+ }), F(ve(a), "isFieldValidating", function() {
3329
3329
  return !!a.validatePromise;
3330
- }), N(ve(a), "isFieldTouched", function() {
3330
+ }), F(ve(a), "isFieldTouched", function() {
3331
3331
  return a.touched;
3332
- }), N(ve(a), "isFieldDirty", function() {
3332
+ }), F(ve(a), "isFieldDirty", function() {
3333
3333
  if (a.dirty || a.props.initialValue !== void 0)
3334
3334
  return !0;
3335
3335
  var u = a.props.fieldContext, d = u.getInternalHooks(Tt), l = d.getInitialValue;
3336
3336
  return l(a.getNamePath()) !== void 0;
3337
- }), N(ve(a), "getErrors", function() {
3337
+ }), F(ve(a), "getErrors", function() {
3338
3338
  return a.errors;
3339
- }), N(ve(a), "getWarnings", function() {
3339
+ }), F(ve(a), "getWarnings", function() {
3340
3340
  return a.warnings;
3341
- }), N(ve(a), "isListField", function() {
3341
+ }), F(ve(a), "isListField", function() {
3342
3342
  return a.props.isListField;
3343
- }), N(ve(a), "isList", function() {
3343
+ }), F(ve(a), "isList", function() {
3344
3344
  return a.props.isList;
3345
- }), N(ve(a), "isPreserve", function() {
3345
+ }), F(ve(a), "isPreserve", function() {
3346
3346
  return a.props.preserve;
3347
- }), N(ve(a), "getMeta", function() {
3347
+ }), F(ve(a), "getMeta", function() {
3348
3348
  a.prevValidating = a.isFieldValidating();
3349
3349
  var u = {
3350
3350
  touched: a.isFieldTouched(),
@@ -3355,7 +3355,7 @@ var Oa = /* @__PURE__ */ function(e) {
3355
3355
  validated: a.validatePromise === null
3356
3356
  };
3357
3357
  return u;
3358
- }), N(ve(a), "getOnlyChild", function(u) {
3358
+ }), F(ve(a), "getOnlyChild", function(u) {
3359
3359
  if (typeof u == "function") {
3360
3360
  var d = a.getMeta();
3361
3361
  return j(j({}, a.getOnlyChild(u(a.getControlled(), d, a.props.fieldContext))), {}, {
@@ -3370,12 +3370,12 @@ var Oa = /* @__PURE__ */ function(e) {
3370
3370
  child: l[0],
3371
3371
  isFunction: !1
3372
3372
  };
3373
- }), N(ve(a), "getValue", function(u) {
3373
+ }), F(ve(a), "getValue", function(u) {
3374
3374
  var d = a.props.fieldContext.getFieldsValue, l = a.getNamePath();
3375
3375
  return It(u || d(!0), l);
3376
- }), N(ve(a), "getControlled", function() {
3377
- var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, d = a.props, l = d.name, f = d.trigger, g = d.validateTrigger, b = d.getValueFromEvent, p = d.normalize, h = d.valuePropName, v = d.getValueProps, x = d.fieldContext, y = g !== void 0 ? g : x.validateTrigger, m = a.getNamePath(), w = x.getInternalHooks, R = x.getFieldsValue, $ = w(Tt), F = $.dispatch, P = a.getValue(), E = v || function(T) {
3378
- return N({}, h, T);
3376
+ }), F(ve(a), "getControlled", function() {
3377
+ var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, d = a.props, l = d.name, f = d.trigger, g = d.validateTrigger, b = d.getValueFromEvent, p = d.normalize, h = d.valuePropName, v = d.getValueProps, x = d.fieldContext, y = g !== void 0 ? g : x.validateTrigger, m = a.getNamePath(), w = x.getInternalHooks, R = x.getFieldsValue, $ = w(Tt), N = $.dispatch, P = a.getValue(), E = v || function(T) {
3378
+ return F({}, h, T);
3379
3379
  }, I = u[f], M = l !== void 0 ? E(P) : {};
3380
3380
  process.env.NODE_ENV !== "production" && M && Object.keys(M).forEach(function(T) {
3381
3381
  We(typeof M[T] != "function", "It's not recommended to generate dynamic function prop by `getValueProps`. Please pass it to child component directly (prop: ".concat(T, ")"));
@@ -3385,7 +3385,7 @@ var Oa = /* @__PURE__ */ function(e) {
3385
3385
  a.touched = !0, a.dirty = !0, a.triggerMetaEvent();
3386
3386
  for (var T, D = arguments.length, O = new Array(D), C = 0; C < D; C++)
3387
3387
  O[C] = arguments[C];
3388
- b ? T = b.apply(void 0, O) : T = cc.apply(void 0, [h].concat(O)), p && (T = p(T, P, R(!0))), F({
3388
+ b ? T = b.apply(void 0, O) : T = cc.apply(void 0, [h].concat(O)), p && (T = p(T, P, R(!0))), N({
3389
3389
  type: "updateValue",
3390
3390
  namePath: m,
3391
3391
  value: T
@@ -3397,7 +3397,7 @@ var Oa = /* @__PURE__ */ function(e) {
3397
3397
  A[T] = function() {
3398
3398
  D && D.apply(void 0, arguments);
3399
3399
  var O = a.props.rules;
3400
- O && O.length && F({
3400
+ O && O.length && N({
3401
3401
  type: "validateField",
3402
3402
  namePath: m,
3403
3403
  triggerName: T
@@ -3440,8 +3440,8 @@ var Oa = /* @__PURE__ */ function(e) {
3440
3440
  }
3441
3441
  }]), r;
3442
3442
  }(c.Component);
3443
- N(Oa, "contextType", er);
3444
- N(Oa, "defaultProps", {
3443
+ F(Oa, "contextType", er);
3444
+ F(Oa, "defaultProps", {
3445
3445
  trigger: "onChange",
3446
3446
  valuePropName: "value"
3447
3447
  });
@@ -3515,8 +3515,8 @@ function dc(e) {
3515
3515
  E < 0 || E >= M.length || I < 0 || I >= M.length || (l.keys = Ya(l.keys, E, I), m(Ya(M, E, I)));
3516
3516
  }
3517
3517
  }
3518
- }, F = y || [];
3519
- return Array.isArray(F) || (F = [], process.env.NODE_ENV !== "production" && We(!1, "Current value of '".concat(f.join(" > "), "' is not an array type."))), n(F.map(function(P, E) {
3518
+ }, N = y || [];
3519
+ return Array.isArray(N) || (N = [], process.env.NODE_ENV !== "production" && We(!1, "Current value of '".concat(f.join(" > "), "' is not an array type."))), n(N.map(function(P, E) {
3520
3520
  var I = l.keys[E];
3521
3521
  return I === void 0 && (l.keys[E] = l.id, I = l.keys[E], l.id += 1), {
3522
3522
  name: E,
@@ -3541,12 +3541,12 @@ function fc(e) {
3541
3541
  var eo = "__@field_split__";
3542
3542
  function Ln(e) {
3543
3543
  return e.map(function(t) {
3544
- return "".concat(Ne(t), ":").concat(t);
3544
+ return "".concat(Fe(t), ":").concat(t);
3545
3545
  }).join(eo);
3546
3546
  }
3547
3547
  var Ut = /* @__PURE__ */ function() {
3548
3548
  function e() {
3549
- nr(this, e), N(this, "kvs", /* @__PURE__ */ new Map());
3549
+ nr(this, e), F(this, "kvs", /* @__PURE__ */ new Map());
3550
3550
  }
3551
3551
  return rr(e, [{
3552
3552
  key: "set",
@@ -3596,7 +3596,7 @@ var Ut = /* @__PURE__ */ function() {
3596
3596
  }]), e;
3597
3597
  }(), vc = ["name"], gc = /* @__PURE__ */ rr(function e(t) {
3598
3598
  var r = this;
3599
- nr(this, e), N(this, "formHooked", !1), N(this, "forceRootUpdate", void 0), N(this, "subscribable", !0), N(this, "store", {}), N(this, "fieldEntities", []), N(this, "initialValues", {}), N(this, "callbacks", {}), N(this, "validateMessages", null), N(this, "preserve", null), N(this, "lastValidatePromise", null), N(this, "getForm", function() {
3599
+ nr(this, e), F(this, "formHooked", !1), F(this, "forceRootUpdate", void 0), F(this, "subscribable", !0), F(this, "store", {}), F(this, "fieldEntities", []), F(this, "initialValues", {}), F(this, "callbacks", {}), F(this, "validateMessages", null), F(this, "preserve", null), F(this, "lastValidatePromise", null), F(this, "getForm", function() {
3600
3600
  return {
3601
3601
  getFieldValue: r.getFieldValue,
3602
3602
  getFieldsValue: r.getFieldsValue,
@@ -3616,7 +3616,7 @@ var Ut = /* @__PURE__ */ function() {
3616
3616
  _init: !0,
3617
3617
  getInternalHooks: r.getInternalHooks
3618
3618
  };
3619
- }), N(this, "getInternalHooks", function(n) {
3619
+ }), F(this, "getInternalHooks", function(n) {
3620
3620
  return n === Tt ? (r.formHooked = !0, {
3621
3621
  dispatch: r.dispatch,
3622
3622
  initEntityValue: r.initEntityValue,
@@ -3631,9 +3631,9 @@ var Ut = /* @__PURE__ */ function() {
3631
3631
  getInitialValue: r.getInitialValue,
3632
3632
  registerWatch: r.registerWatch
3633
3633
  }) : (We(!1, "`getInternalHooks` is internal usage. Should not call directly."), null);
3634
- }), N(this, "useSubscribe", function(n) {
3634
+ }), F(this, "useSubscribe", function(n) {
3635
3635
  r.subscribable = n;
3636
- }), N(this, "prevWithoutPreserves", null), N(this, "setInitialValues", function(n, a) {
3636
+ }), F(this, "prevWithoutPreserves", null), F(this, "setInitialValues", function(n, a) {
3637
3637
  if (r.initialValues = n || {}, a) {
3638
3638
  var i, o = br(n, r.store);
3639
3639
  (i = r.prevWithoutPreserves) === null || i === void 0 || i.map(function(s) {
@@ -3641,27 +3641,27 @@ var Ut = /* @__PURE__ */ function() {
3641
3641
  o = bt(o, u, It(n, u));
3642
3642
  }), r.prevWithoutPreserves = null, r.updateStore(o);
3643
3643
  }
3644
- }), N(this, "destroyForm", function() {
3644
+ }), F(this, "destroyForm", function() {
3645
3645
  var n = new Ut();
3646
3646
  r.getFieldEntities(!0).forEach(function(a) {
3647
3647
  r.isMergedPreserve(a.isPreserve()) || n.set(a.getNamePath(), !0);
3648
3648
  }), r.prevWithoutPreserves = n;
3649
- }), N(this, "getInitialValue", function(n) {
3649
+ }), F(this, "getInitialValue", function(n) {
3650
3650
  var a = It(r.initialValues, n);
3651
3651
  return n.length ? br(a) : a;
3652
- }), N(this, "setCallbacks", function(n) {
3652
+ }), F(this, "setCallbacks", function(n) {
3653
3653
  r.callbacks = n;
3654
- }), N(this, "setValidateMessages", function(n) {
3654
+ }), F(this, "setValidateMessages", function(n) {
3655
3655
  r.validateMessages = n;
3656
- }), N(this, "setPreserve", function(n) {
3656
+ }), F(this, "setPreserve", function(n) {
3657
3657
  r.preserve = n;
3658
- }), N(this, "watchList", []), N(this, "registerWatch", function(n) {
3658
+ }), F(this, "watchList", []), F(this, "registerWatch", function(n) {
3659
3659
  return r.watchList.push(n), function() {
3660
3660
  r.watchList = r.watchList.filter(function(a) {
3661
3661
  return a !== n;
3662
3662
  });
3663
3663
  };
3664
- }), N(this, "notifyWatch", function() {
3664
+ }), F(this, "notifyWatch", function() {
3665
3665
  var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
3666
3666
  if (r.watchList.length) {
3667
3667
  var a = r.getFieldsValue(), i = r.getFieldsValue(!0);
@@ -3669,24 +3669,24 @@ var Ut = /* @__PURE__ */ function() {
3669
3669
  o(a, i, n);
3670
3670
  });
3671
3671
  }
3672
- }), N(this, "timeoutId", null), N(this, "warningUnhooked", function() {
3672
+ }), F(this, "timeoutId", null), F(this, "warningUnhooked", function() {
3673
3673
  process.env.NODE_ENV !== "production" && !r.timeoutId && typeof window < "u" && (r.timeoutId = setTimeout(function() {
3674
3674
  r.timeoutId = null, r.formHooked || We(!1, "Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?");
3675
3675
  }));
3676
- }), N(this, "updateStore", function(n) {
3676
+ }), F(this, "updateStore", function(n) {
3677
3677
  r.store = n;
3678
- }), N(this, "getFieldEntities", function() {
3678
+ }), F(this, "getFieldEntities", function() {
3679
3679
  var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
3680
3680
  return n ? r.fieldEntities.filter(function(a) {
3681
3681
  return a.getNamePath().length;
3682
3682
  }) : r.fieldEntities;
3683
- }), N(this, "getFieldsMap", function() {
3683
+ }), F(this, "getFieldsMap", function() {
3684
3684
  var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, a = new Ut();
3685
3685
  return r.getFieldEntities(n).forEach(function(i) {
3686
3686
  var o = i.getNamePath();
3687
3687
  a.set(o, i);
3688
3688
  }), a;
3689
- }), N(this, "getFieldEntitiesForNamePathList", function(n) {
3689
+ }), F(this, "getFieldEntitiesForNamePathList", function(n) {
3690
3690
  if (!n)
3691
3691
  return r.getFieldEntities(!0);
3692
3692
  var a = r.getFieldsMap(!0);
@@ -3696,10 +3696,10 @@ var Ut = /* @__PURE__ */ function() {
3696
3696
  INVALIDATE_NAME_PATH: Ae(i)
3697
3697
  };
3698
3698
  });
3699
- }), N(this, "getFieldsValue", function(n, a) {
3699
+ }), F(this, "getFieldsValue", function(n, a) {
3700
3700
  r.warningUnhooked();
3701
3701
  var i, o, s;
3702
- if (n === !0 || Array.isArray(n) ? (i = n, o = a) : n && Ne(n) === "object" && (s = n.strict, o = n.filter), i === !0 && !o)
3702
+ if (n === !0 || Array.isArray(n) ? (i = n, o = a) : n && Fe(n) === "object" && (s = n.strict, o = n.filter), i === !0 && !o)
3703
3703
  return r.store;
3704
3704
  var u = r.getFieldEntitiesForNamePathList(Array.isArray(i) ? i : null), d = [];
3705
3705
  return u.forEach(function(l) {
@@ -3717,11 +3717,11 @@ var Ut = /* @__PURE__ */ function() {
3717
3717
  o(v) && d.push(b);
3718
3718
  }
3719
3719
  }), Ja(r.store, d.map(Ae));
3720
- }), N(this, "getFieldValue", function(n) {
3720
+ }), F(this, "getFieldValue", function(n) {
3721
3721
  r.warningUnhooked();
3722
3722
  var a = Ae(n);
3723
3723
  return It(r.store, a);
3724
- }), N(this, "getFieldsError", function(n) {
3724
+ }), F(this, "getFieldsError", function(n) {
3725
3725
  r.warningUnhooked();
3726
3726
  var a = r.getFieldEntitiesForNamePathList(n);
3727
3727
  return a.map(function(i, o) {
@@ -3735,15 +3735,15 @@ var Ut = /* @__PURE__ */ function() {
3735
3735
  warnings: []
3736
3736
  };
3737
3737
  });
3738
- }), N(this, "getFieldError", function(n) {
3738
+ }), F(this, "getFieldError", function(n) {
3739
3739
  r.warningUnhooked();
3740
3740
  var a = Ae(n), i = r.getFieldsError([a])[0];
3741
3741
  return i.errors;
3742
- }), N(this, "getFieldWarning", function(n) {
3742
+ }), F(this, "getFieldWarning", function(n) {
3743
3743
  r.warningUnhooked();
3744
3744
  var a = Ae(n), i = r.getFieldsError([a])[0];
3745
3745
  return i.warnings;
3746
- }), N(this, "isFieldsTouched", function() {
3746
+ }), F(this, "isFieldsTouched", function() {
3747
3747
  r.warningUnhooked();
3748
3748
  for (var n = arguments.length, a = new Array(n), i = 0; i < n; i++)
3749
3749
  a[i] = arguments[i];
@@ -3776,9 +3776,9 @@ var Ut = /* @__PURE__ */ function() {
3776
3776
  return v;
3777
3777
  });
3778
3778
  return d ? p.every(b) : p.some(b);
3779
- }), N(this, "isFieldTouched", function(n) {
3779
+ }), F(this, "isFieldTouched", function(n) {
3780
3780
  return r.warningUnhooked(), r.isFieldsTouched([n]);
3781
- }), N(this, "isFieldsValidating", function(n) {
3781
+ }), F(this, "isFieldsValidating", function(n) {
3782
3782
  r.warningUnhooked();
3783
3783
  var a = r.getFieldEntities();
3784
3784
  if (!n)
@@ -3790,9 +3790,9 @@ var Ut = /* @__PURE__ */ function() {
3790
3790
  var s = o.getNamePath();
3791
3791
  return Xt(i, s) && o.isFieldValidating();
3792
3792
  });
3793
- }), N(this, "isFieldValidating", function(n) {
3793
+ }), F(this, "isFieldValidating", function(n) {
3794
3794
  return r.warningUnhooked(), r.isFieldsValidating([n]);
3795
- }), N(this, "resetWithFieldInitialValue", function() {
3795
+ }), F(this, "resetWithFieldInitialValue", function() {
3796
3796
  var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = new Ut(), i = r.getFieldEntities(!0);
3797
3797
  i.forEach(function(u) {
3798
3798
  var d = u.props.initialValue, l = u.getNamePath();
@@ -3832,7 +3832,7 @@ var Ut = /* @__PURE__ */ function() {
3832
3832
  })));
3833
3833
  }
3834
3834
  })) : s = i, o(s);
3835
- }), N(this, "resetFields", function(n) {
3835
+ }), F(this, "resetFields", function(n) {
3836
3836
  r.warningUnhooked();
3837
3837
  var a = r.store;
3838
3838
  if (!n) {
@@ -3850,7 +3850,7 @@ var Ut = /* @__PURE__ */ function() {
3850
3850
  }), r.notifyObservers(a, i, {
3851
3851
  type: "reset"
3852
3852
  }), r.notifyWatch(i);
3853
- }), N(this, "setFields", function(n) {
3853
+ }), F(this, "setFields", function(n) {
3854
3854
  r.warningUnhooked();
3855
3855
  var a = r.store, i = [];
3856
3856
  n.forEach(function(o) {
@@ -3860,7 +3860,7 @@ var Ut = /* @__PURE__ */ function() {
3860
3860
  data: o
3861
3861
  });
3862
3862
  }), r.notifyWatch(i);
3863
- }), N(this, "getFields", function() {
3863
+ }), F(this, "getFields", function() {
3864
3864
  var n = r.getFieldEntities(!0), a = n.map(function(i) {
3865
3865
  var o = i.getNamePath(), s = i.getMeta(), u = j(j({}, s), {}, {
3866
3866
  name: o,
@@ -3871,16 +3871,16 @@ var Ut = /* @__PURE__ */ function() {
3871
3871
  }), u;
3872
3872
  });
3873
3873
  return a;
3874
- }), N(this, "initEntityValue", function(n) {
3874
+ }), F(this, "initEntityValue", function(n) {
3875
3875
  var a = n.props.initialValue;
3876
3876
  if (a !== void 0) {
3877
3877
  var i = n.getNamePath(), o = It(r.store, i);
3878
3878
  o === void 0 && r.updateStore(bt(r.store, i, a));
3879
3879
  }
3880
- }), N(this, "isMergedPreserve", function(n) {
3880
+ }), F(this, "isMergedPreserve", function(n) {
3881
3881
  var a = n !== void 0 ? n : r.preserve;
3882
3882
  return a ?? !0;
3883
- }), N(this, "registerField", function(n) {
3883
+ }), F(this, "registerField", function(n) {
3884
3884
  r.fieldEntities.push(n);
3885
3885
  var a = n.getNamePath();
3886
3886
  if (r.notifyWatch([a]), n.props.initialValue !== void 0) {
@@ -3913,7 +3913,7 @@ var Ut = /* @__PURE__ */ function() {
3913
3913
  }
3914
3914
  r.notifyWatch([a]);
3915
3915
  };
3916
- }), N(this, "dispatch", function(n) {
3916
+ }), F(this, "dispatch", function(n) {
3917
3917
  switch (n.type) {
3918
3918
  case "updateValue": {
3919
3919
  var a = n.namePath, i = n.value;
@@ -3928,7 +3928,7 @@ var Ut = /* @__PURE__ */ function() {
3928
3928
  break;
3929
3929
  }
3930
3930
  }
3931
- }), N(this, "notifyObservers", function(n, a, i) {
3931
+ }), F(this, "notifyObservers", function(n, a, i) {
3932
3932
  if (r.subscribable) {
3933
3933
  var o = j(j({}, i), {}, {
3934
3934
  store: r.getFieldsValue(!0)
@@ -3939,13 +3939,13 @@ var Ut = /* @__PURE__ */ function() {
3939
3939
  });
3940
3940
  } else
3941
3941
  r.forceRootUpdate();
3942
- }), N(this, "triggerDependenciesUpdate", function(n, a) {
3942
+ }), F(this, "triggerDependenciesUpdate", function(n, a) {
3943
3943
  var i = r.getDependencyChildrenFields(a);
3944
3944
  return i.length && r.validateFields(i), r.notifyObservers(n, i, {
3945
3945
  type: "dependenciesUpdate",
3946
3946
  relatedFields: [a].concat(ae(i))
3947
3947
  }), i;
3948
- }), N(this, "updateValue", function(n, a) {
3948
+ }), F(this, "updateValue", function(n, a) {
3949
3949
  var i = Ae(n), o = r.store;
3950
3950
  r.updateStore(bt(r.store, i, a)), r.notifyObservers(o, [i], {
3951
3951
  type: "valueUpdate",
@@ -3957,7 +3957,7 @@ var Ut = /* @__PURE__ */ function() {
3957
3957
  u(d, r.getFieldsValue());
3958
3958
  }
3959
3959
  r.triggerOnFieldsChange([i].concat(ae(s)));
3960
- }), N(this, "setFieldsValue", function(n) {
3960
+ }), F(this, "setFieldsValue", function(n) {
3961
3961
  r.warningUnhooked();
3962
3962
  var a = r.store;
3963
3963
  if (n) {
@@ -3968,12 +3968,12 @@ var Ut = /* @__PURE__ */ function() {
3968
3968
  type: "valueUpdate",
3969
3969
  source: "external"
3970
3970
  }), r.notifyWatch();
3971
- }), N(this, "setFieldValue", function(n, a) {
3971
+ }), F(this, "setFieldValue", function(n, a) {
3972
3972
  r.setFields([{
3973
3973
  name: n,
3974
3974
  value: a
3975
3975
  }]);
3976
- }), N(this, "getDependencyChildrenFields", function(n) {
3976
+ }), F(this, "getDependencyChildrenFields", function(n) {
3977
3977
  var a = /* @__PURE__ */ new Set(), i = [], o = new Ut();
3978
3978
  r.getFieldEntities().forEach(function(u) {
3979
3979
  var d = u.props.dependencies;
@@ -3996,7 +3996,7 @@ var Ut = /* @__PURE__ */ function() {
3996
3996
  });
3997
3997
  };
3998
3998
  return s(n), i;
3999
- }), N(this, "triggerOnFieldsChange", function(n, a) {
3999
+ }), F(this, "triggerOnFieldsChange", function(n, a) {
4000
4000
  var i = r.callbacks.onFieldsChange;
4001
4001
  if (i) {
4002
4002
  var o = r.getFields();
@@ -4015,7 +4015,7 @@ var Ut = /* @__PURE__ */ function() {
4015
4015
  });
4016
4016
  u.length && i(u, o);
4017
4017
  }
4018
- }), N(this, "validateFields", function(n, a) {
4018
+ }), F(this, "validateFields", function(n, a) {
4019
4019
  r.warningUnhooked();
4020
4020
  var i, o;
4021
4021
  Array.isArray(n) || typeof n == "string" || typeof a == "string" ? (i = n, o = a) : o = n;
@@ -4034,17 +4034,17 @@ var Ut = /* @__PURE__ */ function() {
4034
4034
  warnings: []
4035
4035
  };
4036
4036
  }).catch(function(R) {
4037
- var $, F = [], P = [];
4037
+ var $, N = [], P = [];
4038
4038
  return ($ = R.forEach) === null || $ === void 0 || $.call(R, function(E) {
4039
4039
  var I = E.rule.warningOnly, M = E.errors;
4040
- I ? P.push.apply(P, ae(M)) : F.push.apply(F, ae(M));
4041
- }), F.length ? Promise.reject({
4040
+ I ? P.push.apply(P, ae(M)) : N.push.apply(N, ae(M));
4041
+ }), N.length ? Promise.reject({
4042
4042
  name: m,
4043
- errors: F,
4043
+ errors: N,
4044
4044
  warnings: P
4045
4045
  }) : {
4046
4046
  name: m,
4047
- errors: F,
4047
+ errors: N,
4048
4048
  warnings: P
4049
4049
  };
4050
4050
  }));
@@ -4082,7 +4082,7 @@ var Ut = /* @__PURE__ */ function() {
4082
4082
  return f.has(y.join(l));
4083
4083
  });
4084
4084
  return r.triggerOnFieldsChange(x), v;
4085
- }), N(this, "submit", function() {
4085
+ }), F(this, "submit", function() {
4086
4086
  r.warningUnhooked(), r.validateFields().then(function(n) {
4087
4087
  var a = r.callbacks.onFinish;
4088
4088
  if (a)
@@ -4140,7 +4140,7 @@ var ua = /* @__PURE__ */ c.createContext({
4140
4140
  }), o.triggerFormFinish(d, l);
4141
4141
  },
4142
4142
  registerForm: function(d, l) {
4143
- d && (s.current = j(j({}, s.current), {}, N({}, d, l))), o.registerForm(d, l);
4143
+ d && (s.current = j(j({}, s.current), {}, F({}, d, l))), o.registerForm(d, l);
4144
4144
  },
4145
4145
  unregisterForm: function(d) {
4146
4146
  var l = j({}, s.current);
@@ -4149,7 +4149,7 @@ var ua = /* @__PURE__ */ c.createContext({
4149
4149
  })
4150
4150
  }, i);
4151
4151
  }, pc = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed"], hc = function(t, r) {
4152
- var n = t.name, a = t.initialValues, i = t.fields, o = t.form, s = t.preserve, u = t.children, d = t.component, l = d === void 0 ? "form" : d, f = t.validateMessages, g = t.validateTrigger, b = g === void 0 ? "onChange" : g, p = t.onValuesChange, h = t.onFieldsChange, v = t.onFinish, x = t.onFinishFailed, y = rt(t, pc), m = c.useContext(ua), w = to(o), R = ne(w, 1), $ = R[0], F = $.getInternalHooks(Tt), P = F.useSubscribe, E = F.setInitialValues, I = F.setCallbacks, M = F.setValidateMessages, A = F.setPreserve, z = F.destroyForm;
4152
+ var n = t.name, a = t.initialValues, i = t.fields, o = t.form, s = t.preserve, u = t.children, d = t.component, l = d === void 0 ? "form" : d, f = t.validateMessages, g = t.validateTrigger, b = g === void 0 ? "onChange" : g, p = t.onValuesChange, h = t.onFieldsChange, v = t.onFinish, x = t.onFinishFailed, y = rt(t, pc), m = c.useContext(ua), w = to(o), R = ne(w, 1), $ = R[0], N = $.getInternalHooks(Tt), P = N.useSubscribe, E = N.setInitialValues, I = N.setCallbacks, M = N.setValidateMessages, A = N.setPreserve, z = N.destroyForm;
4153
4153
  c.useImperativeHandle(r, function() {
4154
4154
  return $;
4155
4155
  }), c.useEffect(function() {
@@ -4235,13 +4235,13 @@ function bc() {
4235
4235
  return y.current = x, yc(x), wt(
4236
4236
  function() {
4237
4237
  if (v) {
4238
- var m = h.getFieldsValue, w = h.getInternalHooks, R = w(Tt), $ = R.registerWatch, F = function(M, A) {
4238
+ var m = h.getFieldsValue, w = h.getInternalHooks, R = w(Tt), $ = R.registerWatch, N = function(M, A) {
4239
4239
  var z = o.preserve ? A : M;
4240
4240
  return typeof n == "function" ? n(z) : It(z, y.current);
4241
4241
  }, P = $(function(I, M) {
4242
- var A = F(I, M), z = ti(A);
4242
+ var A = N(I, M), z = ti(A);
4243
4243
  b.current !== z && (b.current = z, f(A));
4244
- }), E = F(m(), m(!0));
4244
+ }), E = N(m(), m(!0));
4245
4245
  return l !== E && f(E), P;
4246
4246
  }
4247
4247
  },
@@ -4336,7 +4336,7 @@ const Cc = (e) => {
4336
4336
  transform: "scale(0.8)",
4337
4337
  opacity: 0
4338
4338
  }
4339
- }), Fc = new Ye("antZoomUpIn", {
4339
+ }), Nc = new Ye("antZoomUpIn", {
4340
4340
  "0%": {
4341
4341
  transform: "scale(0.8)",
4342
4342
  transformOrigin: "50% 0%",
@@ -4346,7 +4346,7 @@ const Cc = (e) => {
4346
4346
  transform: "scale(1)",
4347
4347
  transformOrigin: "50% 0%"
4348
4348
  }
4349
- }), Nc = new Ye("antZoomUpOut", {
4349
+ }), Fc = new Ye("antZoomUpOut", {
4350
4350
  "0%": {
4351
4351
  transform: "scale(1)",
4352
4352
  transformOrigin: "50% 0%"
@@ -4438,8 +4438,8 @@ const Cc = (e) => {
4438
4438
  outKeyframes: Tc
4439
4439
  },
4440
4440
  "zoom-up": {
4441
- inKeyframes: Fc,
4442
- outKeyframes: Nc
4441
+ inKeyframes: Nc,
4442
+ outKeyframes: Fc
4443
4443
  },
4444
4444
  "zoom-down": {
4445
4445
  inKeyframes: Mc,
@@ -4515,7 +4515,7 @@ var ro = /* @__PURE__ */ c.memo(function(e) {
4515
4515
  });
4516
4516
  process.env.NODE_ENV !== "production" && (ro.displayName = "PopupContent");
4517
4517
  var no = /* @__PURE__ */ c.forwardRef(function(e, t) {
4518
- var r = e.popup, n = e.className, a = e.prefixCls, i = e.style, o = e.target, s = e.onVisibleChanged, u = e.open, d = e.keepDom, l = e.fresh, f = e.onClick, g = e.mask, b = e.arrow, p = e.arrowPos, h = e.align, v = e.motion, x = e.maskMotion, y = e.forceRender, m = e.getPopupContainer, w = e.autoDestroy, R = e.portal, $ = e.zIndex, F = e.onMouseEnter, P = e.onMouseLeave, E = e.onPointerEnter, I = e.ready, M = e.offsetX, A = e.offsetY, z = e.offsetR, T = e.offsetB, D = e.onAlign, O = e.onPrepare, C = e.stretch, S = e.targetWidth, V = e.targetHeight, _ = typeof r == "function" ? r() : r, L = u || d, W = (m == null ? void 0 : m.length) > 0, U = c.useState(!m || !W), q = ne(U, 2), G = q[0], k = q[1];
4518
+ var r = e.popup, n = e.className, a = e.prefixCls, i = e.style, o = e.target, s = e.onVisibleChanged, u = e.open, d = e.keepDom, l = e.fresh, f = e.onClick, g = e.mask, b = e.arrow, p = e.arrowPos, h = e.align, v = e.motion, x = e.maskMotion, y = e.forceRender, m = e.getPopupContainer, w = e.autoDestroy, R = e.portal, $ = e.zIndex, N = e.onMouseEnter, P = e.onMouseLeave, E = e.onPointerEnter, I = e.ready, M = e.offsetX, A = e.offsetY, z = e.offsetR, T = e.offsetB, D = e.onAlign, O = e.onPrepare, C = e.stretch, S = e.targetWidth, V = e.targetHeight, _ = typeof r == "function" ? r() : r, L = u || d, W = (m == null ? void 0 : m.length) > 0, U = c.useState(!m || !W), q = ne(U, 2), G = q[0], k = q[1];
4519
4519
  if (Le(function() {
4520
4520
  !G && W && o && k(!0);
4521
4521
  }, [G, W, o]), !G)
@@ -4574,7 +4574,7 @@ var no = /* @__PURE__ */ c.forwardRef(function(e, t) {
4574
4574
  boxSizing: "border-box",
4575
4575
  zIndex: $
4576
4576
  }, i),
4577
- onMouseEnter: F,
4577
+ onMouseEnter: N,
4578
4578
  onMouseLeave: P,
4579
4579
  onPointerEnter: E,
4580
4580
  onClick: f
@@ -4628,12 +4628,12 @@ function oi(e, t, r, n) {
4628
4628
  motionName: n
4629
4629
  } : null);
4630
4630
  }
4631
- function Fr(e) {
4631
+ function Nr(e) {
4632
4632
  return e.ownerDocument.defaultView;
4633
4633
  }
4634
4634
  function da(e) {
4635
4635
  for (var t = [], r = e == null ? void 0 : e.parentElement, n = ["hidden", "scroll", "clip", "auto"]; r; ) {
4636
- var a = Fr(r).getComputedStyle(r), i = a.overflowX, o = a.overflowY, s = a.overflow;
4636
+ var a = Nr(r).getComputedStyle(r), i = a.overflowX, o = a.overflowY, s = a.overflow;
4637
4637
  [i, o, s].some(function(u) {
4638
4638
  return n.includes(u);
4639
4639
  }) && t.push(r), r = r.parentElement;
@@ -4651,12 +4651,12 @@ function si(e, t) {
4651
4651
  var r = j({}, e);
4652
4652
  return (t || []).forEach(function(n) {
4653
4653
  if (!(n instanceof HTMLBodyElement || n instanceof HTMLHtmlElement)) {
4654
- var a = Fr(n).getComputedStyle(n), i = a.overflow, o = a.overflowClipMargin, s = a.borderTopWidth, u = a.borderBottomWidth, d = a.borderLeftWidth, l = a.borderRightWidth, f = n.getBoundingClientRect(), g = n.offsetHeight, b = n.clientHeight, p = n.offsetWidth, h = n.clientWidth, v = yr(s), x = yr(u), y = yr(d), m = yr(l), w = xr(Math.round(f.width / p * 1e3) / 1e3), R = xr(Math.round(f.height / g * 1e3) / 1e3), $ = (p - h - y - m) * w, F = (g - b - v - x) * R, P = v * R, E = x * R, I = y * w, M = m * w, A = 0, z = 0;
4654
+ var a = Nr(n).getComputedStyle(n), i = a.overflow, o = a.overflowClipMargin, s = a.borderTopWidth, u = a.borderBottomWidth, d = a.borderLeftWidth, l = a.borderRightWidth, f = n.getBoundingClientRect(), g = n.offsetHeight, b = n.clientHeight, p = n.offsetWidth, h = n.clientWidth, v = yr(s), x = yr(u), y = yr(d), m = yr(l), w = xr(Math.round(f.width / p * 1e3) / 1e3), R = xr(Math.round(f.height / g * 1e3) / 1e3), $ = (p - h - y - m) * w, N = (g - b - v - x) * R, P = v * R, E = x * R, I = y * w, M = m * w, A = 0, z = 0;
4655
4655
  if (i === "clip") {
4656
4656
  var T = yr(o);
4657
4657
  A = T * w, z = T * R;
4658
4658
  }
4659
- var D = f.x + I - A, O = f.y + P - z, C = D + f.width + 2 * A - I - M - $, S = O + f.height + 2 * z - P - E - F;
4659
+ var D = f.x + I - A, O = f.y + P - z, C = D + f.width + 2 * A - I - M - $, S = O + f.height + 2 * z - P - E - N;
4660
4660
  r.left = Math.max(r.left, D), r.top = Math.max(r.top, O), r.right = Math.min(r.right, C), r.bottom = Math.min(r.bottom, S);
4661
4661
  }
4662
4662
  }), r;
@@ -4712,12 +4712,12 @@ function kc(e, t, r, n, a, i, o) {
4712
4712
  var h = tt(function() {
4713
4713
  if (t && r && e) {
4714
4714
  let Ke = function(Wr, Ze) {
4715
- var Bt = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : te, Br = _.x + Wr, Ht = _.y + Ze, Hr = Br + ge, hr = Ht + de, kr = Math.max(Br, Bt.left), $n = Math.max(Ht, Bt.top), Rn = Math.min(Hr, Bt.right), Fn = Math.min(hr, Bt.bottom);
4716
- return Math.max(0, (Rn - kr) * (Fn - $n));
4715
+ var Bt = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : te, Br = _.x + Wr, Ht = _.y + Ze, Hr = Br + ge, hr = Ht + de, kr = Math.max(Br, Bt.left), $n = Math.max(Ht, Bt.top), Rn = Math.min(Hr, Bt.right), Nn = Math.min(hr, Bt.bottom);
4716
+ return Math.max(0, (Rn - kr) * (Nn - $n));
4717
4717
  }, Dr = function() {
4718
4718
  xt = _.y + Te, Ot = xt + de, st = _.x + Ve, $t = st + ge;
4719
4719
  };
4720
- var y, m, w = t, R = w.ownerDocument, $ = Fr(w), F = $.getComputedStyle(w), P = F.width, E = F.height, I = F.position, M = w.style.left, A = w.style.top, z = w.style.right, T = w.style.bottom, D = w.style.overflow, O = j(j({}, a[n]), i), C = R.createElement("div");
4720
+ var y, m, w = t, R = w.ownerDocument, $ = Nr(w), N = $.getComputedStyle(w), P = N.width, E = N.height, I = N.position, M = w.style.left, A = w.style.top, z = w.style.right, T = w.style.bottom, D = w.style.overflow, O = j(j({}, a[n]), i), C = R.createElement("div");
4721
4721
  (y = w.parentElement) === null || y === void 0 || y.appendChild(C), C.style.left = "".concat(w.offsetLeft, "px"), C.style.top = "".concat(w.offsetTop, "px"), C.style.position = I, C.style.height = "".concat(w.offsetHeight, "px"), C.style.width = "".concat(w.offsetWidth, "px"), w.style.left = "0", w.style.top = "0", w.style.right = "auto", w.style.bottom = "auto", w.style.overflow = "hidden";
4722
4722
  var S;
4723
4723
  if (Array.isArray(r))
@@ -4757,43 +4757,43 @@ function kc(e, t, r, n, a, i, o) {
4757
4757
  return;
4758
4758
  var pe = O.offset, xe = O.targetOffset, vt = ci(_, pe), at = ne(vt, 2), fe = at[0], ie = at[1], Oe = ci(S, xe), $e = ne(Oe, 2), lr = $e[0], Vt = $e[1];
4759
4759
  S.x -= lr, S.y -= Vt;
4760
- var cr = O.points || [], it = ne(cr, 2), ke = it[0], B = it[1], ee = ui(B), Fe = ui(ke), gt = qt(S, ee), Lt = qt(_, Fe), ot = j({}, O), Ve = gt.x - Lt.x + fe, Te = gt.y - Lt.y + ie, Me = Ke(Ve, Te), zt = Ke(Ve, Te, se), mt = qt(S, ["t", "l"]), Et = qt(_, ["t", "l"]), ur = qt(S, ["b", "r"]), dr = qt(_, ["b", "r"]), St = O.overflow || {}, et = St.adjustX, gn = St.adjustY, fr = St.shiftX, jt = St.shiftY, vr = function(Ze) {
4760
+ var cr = O.points || [], it = ne(cr, 2), ke = it[0], B = it[1], ee = ui(B), Ne = ui(ke), gt = qt(S, ee), Lt = qt(_, Ne), ot = j({}, O), Ve = gt.x - Lt.x + fe, Te = gt.y - Lt.y + ie, Me = Ke(Ve, Te), zt = Ke(Ve, Te, se), mt = qt(S, ["t", "l"]), Et = qt(_, ["t", "l"]), ur = qt(S, ["b", "r"]), dr = qt(_, ["b", "r"]), St = O.overflow || {}, et = St.adjustX, gn = St.adjustY, fr = St.shiftX, jt = St.shiftY, vr = function(Ze) {
4761
4761
  return typeof Ze == "boolean" ? Ze : Ze >= 0;
4762
4762
  }, xt, Ot, st, $t;
4763
4763
  Dr();
4764
- var Pr = vr(gn), gr = Fe[0] === ee[0];
4765
- if (Pr && Fe[0] === "t" && (Ot > Q.bottom || b.current.bt)) {
4764
+ var Pr = vr(gn), gr = Ne[0] === ee[0];
4765
+ if (Pr && Ne[0] === "t" && (Ot > Q.bottom || b.current.bt)) {
4766
4766
  var pt = Te;
4767
4767
  gr ? pt -= de - we : pt = mt.y - dr.y - ie;
4768
4768
  var _r = Ke(Ve, pt), Dt = Ke(Ve, pt, se);
4769
4769
  // Of course use larger one
4770
4770
  _r > Me || _r === Me && (!ue || // Choose recommend one
4771
- Dt >= zt) ? (b.current.bt = !0, Te = pt, ie = -ie, ot.points = [yt(Fe, 0), yt(ee, 0)]) : b.current.bt = !1;
4771
+ Dt >= zt) ? (b.current.bt = !0, Te = pt, ie = -ie, ot.points = [yt(Ne, 0), yt(ee, 0)]) : b.current.bt = !1;
4772
4772
  }
4773
- if (Pr && Fe[0] === "b" && (xt < Q.top || b.current.tb)) {
4773
+ if (Pr && Ne[0] === "b" && (xt < Q.top || b.current.tb)) {
4774
4774
  var Rt = Te;
4775
4775
  gr ? Rt += de - we : Rt = ur.y - Et.y - ie;
4776
4776
  var Ue = Ke(Ve, Rt), mn = Ke(Ve, Rt, se);
4777
4777
  // Of course use larger one
4778
4778
  Ue > Me || Ue === Me && (!ue || // Choose recommend one
4779
- mn >= zt) ? (b.current.tb = !0, Te = Rt, ie = -ie, ot.points = [yt(Fe, 0), yt(ee, 0)]) : b.current.tb = !1;
4779
+ mn >= zt) ? (b.current.tb = !0, Te = Rt, ie = -ie, ot.points = [yt(Ne, 0), yt(ee, 0)]) : b.current.tb = !1;
4780
4780
  }
4781
- var Ir = vr(et), Tr = Fe[1] === ee[1];
4782
- if (Ir && Fe[1] === "l" && ($t > Q.right || b.current.rl)) {
4783
- var Ft = Ve;
4784
- Tr ? Ft -= ge - Se : Ft = mt.x - dr.x - fe;
4785
- var Mr = Ke(Ft, Te), pn = Ke(Ft, Te, se);
4781
+ var Ir = vr(et), Tr = Ne[1] === ee[1];
4782
+ if (Ir && Ne[1] === "l" && ($t > Q.right || b.current.rl)) {
4783
+ var Nt = Ve;
4784
+ Tr ? Nt -= ge - Se : Nt = mt.x - dr.x - fe;
4785
+ var Mr = Ke(Nt, Te), pn = Ke(Nt, Te, se);
4786
4786
  // Of course use larger one
4787
4787
  Mr > Me || Mr === Me && (!ue || // Choose recommend one
4788
- pn >= zt) ? (b.current.rl = !0, Ve = Ft, fe = -fe, ot.points = [yt(Fe, 1), yt(ee, 1)]) : b.current.rl = !1;
4788
+ pn >= zt) ? (b.current.rl = !0, Ve = Nt, fe = -fe, ot.points = [yt(Ne, 1), yt(ee, 1)]) : b.current.rl = !1;
4789
4789
  }
4790
- if (Ir && Fe[1] === "r" && (st < Q.left || b.current.lr)) {
4791
- var Nt = Ve;
4792
- Tr ? Nt += ge - Se : Nt = ur.x - Et.x - fe;
4793
- var Ar = Ke(Nt, Te), hn = Ke(Nt, Te, se);
4790
+ if (Ir && Ne[1] === "r" && (st < Q.left || b.current.lr)) {
4791
+ var Ft = Ve;
4792
+ Tr ? Ft += ge - Se : Ft = ur.x - Et.x - fe;
4793
+ var Ar = Ke(Ft, Te), hn = Ke(Ft, Te, se);
4794
4794
  // Of course use larger one
4795
4795
  Ar > Me || Ar === Me && (!ue || // Choose recommend one
4796
- hn >= zt) ? (b.current.lr = !0, Ve = Nt, fe = -fe, ot.points = [yt(Fe, 1), yt(ee, 1)]) : b.current.lr = !1;
4796
+ hn >= zt) ? (b.current.lr = !0, Ve = Ft, fe = -fe, ot.points = [yt(Ne, 1), yt(ee, 1)]) : b.current.lr = !1;
4797
4797
  }
4798
4798
  Dr();
4799
4799
  var nt = fr === !0 ? 0 : fr;
@@ -4839,7 +4839,7 @@ function Uc(e, t, r, n, a) {
4839
4839
  let f = function() {
4840
4840
  n(), a();
4841
4841
  };
4842
- var i = t, o = r, s = da(i), u = da(o), d = Fr(o), l = new Set([d].concat(ae(s), ae(u)));
4842
+ var i = t, o = r, s = da(i), u = da(o), d = Nr(o), l = new Set([d].concat(ae(s), ae(u)));
4843
4843
  return l.forEach(function(g) {
4844
4844
  g.addEventListener("scroll", f, {
4845
4845
  passive: !0
@@ -4861,7 +4861,7 @@ function qc(e, t, r, n, a, i, o, s) {
4861
4861
  var d = function(x) {
4862
4862
  var y = x.target;
4863
4863
  u.current && !o(y) && s(!1);
4864
- }, l = Fr(n);
4864
+ }, l = Nr(n);
4865
4865
  l.addEventListener("mousedown", d, !0), l.addEventListener("contextmenu", d, !0);
4866
4866
  var f = en(r);
4867
4867
  if (f && (f.addEventListener("mousedown", d, !0), f.addEventListener("contextmenu", d, !0)), process.env.NODE_ENV !== "production") {
@@ -4877,7 +4877,7 @@ function qc(e, t, r, n, a, i, o, s) {
4877
4877
  var Gc = ["prefixCls", "children", "action", "showAction", "hideAction", "popupVisible", "defaultPopupVisible", "onPopupVisibleChange", "afterPopupVisibleChange", "mouseEnterDelay", "mouseLeaveDelay", "focusDelay", "blurDelay", "mask", "maskClosable", "getPopupContainer", "forceRender", "autoDestroy", "destroyPopupOnHide", "popup", "popupClassName", "popupStyle", "popupPlacement", "builtinPlacements", "popupAlign", "zIndex", "stretch", "getPopupClassNameFromAlign", "fresh", "alignPoint", "onPopupClick", "onPopupAlign", "arrow", "popupMotion", "maskMotion", "popupTransitionName", "popupAnimation", "maskTransitionName", "maskAnimation", "className", "getTriggerDOMNode"];
4878
4878
  function Kc() {
4879
4879
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : xa, t = /* @__PURE__ */ c.forwardRef(function(r, n) {
4880
- var a = r.prefixCls, i = a === void 0 ? "rc-trigger-popup" : a, o = r.children, s = r.action, u = s === void 0 ? "hover" : s, d = r.showAction, l = r.hideAction, f = r.popupVisible, g = r.defaultPopupVisible, b = r.onPopupVisibleChange, p = r.afterPopupVisibleChange, h = r.mouseEnterDelay, v = r.mouseLeaveDelay, x = v === void 0 ? 0.1 : v, y = r.focusDelay, m = r.blurDelay, w = r.mask, R = r.maskClosable, $ = R === void 0 ? !0 : R, F = r.getPopupContainer, P = r.forceRender, E = r.autoDestroy, I = r.destroyPopupOnHide, M = r.popup, A = r.popupClassName, z = r.popupStyle, T = r.popupPlacement, D = r.builtinPlacements, O = D === void 0 ? {} : D, C = r.popupAlign, S = r.zIndex, V = r.stretch, _ = r.getPopupClassNameFromAlign, L = r.fresh, W = r.alignPoint, U = r.onPopupClick, q = r.onPopupAlign, G = r.arrow, k = r.popupMotion, oe = r.maskMotion, de = r.popupTransitionName, ge = r.popupAnimation, we = r.maskTransitionName, Se = r.maskAnimation, Ce = r.className, he = r.getTriggerDOMNode, Z = rt(r, Gc), Y = E || I || !1, me = c.useState(!1), ue = ne(me, 2), Pe = ue[0], se = ue[1];
4880
+ var a = r.prefixCls, i = a === void 0 ? "rc-trigger-popup" : a, o = r.children, s = r.action, u = s === void 0 ? "hover" : s, d = r.showAction, l = r.hideAction, f = r.popupVisible, g = r.defaultPopupVisible, b = r.onPopupVisibleChange, p = r.afterPopupVisibleChange, h = r.mouseEnterDelay, v = r.mouseLeaveDelay, x = v === void 0 ? 0.1 : v, y = r.focusDelay, m = r.blurDelay, w = r.mask, R = r.maskClosable, $ = R === void 0 ? !0 : R, N = r.getPopupContainer, P = r.forceRender, E = r.autoDestroy, I = r.destroyPopupOnHide, M = r.popup, A = r.popupClassName, z = r.popupStyle, T = r.popupPlacement, D = r.builtinPlacements, O = D === void 0 ? {} : D, C = r.popupAlign, S = r.zIndex, V = r.stretch, _ = r.getPopupClassNameFromAlign, L = r.fresh, W = r.alignPoint, U = r.onPopupClick, q = r.onPopupAlign, G = r.arrow, k = r.popupMotion, oe = r.maskMotion, de = r.popupTransitionName, ge = r.popupAnimation, we = r.maskTransitionName, Se = r.maskAnimation, Ce = r.className, he = r.getTriggerDOMNode, Z = rt(r, Gc), Y = E || I || !1, me = c.useState(!1), ue = ne(me, 2), Pe = ue[0], se = ue[1];
4881
4881
  Le(function() {
4882
4882
  se(zc());
4883
4883
  }, []);
@@ -4896,7 +4896,7 @@ function Kc() {
4896
4896
  return (ze == null ? void 0 : ze.contains(H)) || ((J = en(ze)) === null || J === void 0 ? void 0 : J.host) === H || H === ze || (xe == null ? void 0 : xe.contains(H)) || ((_e = en(xe)) === null || _e === void 0 ? void 0 : _e.host) === H || H === xe || Object.values(te.current).some(function(Ie) {
4897
4897
  return (Ie == null ? void 0 : Ie.contains(H)) || H === Ie;
4898
4898
  });
4899
- }), Fe = oi(i, k, ge, de), gt = oi(i, oe, Se, we), Lt = c.useState(g || !1), ot = ne(Lt, 2), Ve = ot[0], Te = ot[1], Me = f ?? Ve, zt = tt(function(H) {
4899
+ }), Ne = oi(i, k, ge, de), gt = oi(i, oe, Se, we), Lt = c.useState(g || !1), ot = ne(Lt, 2), Ve = ot[0], Te = ot[1], Me = f ?? Ve, zt = tt(function(H) {
4900
4900
  f === void 0 && Te(H);
4901
4901
  });
4902
4902
  Le(function() {
@@ -4926,7 +4926,7 @@ function Kc() {
4926
4926
  }, [Me]);
4927
4927
  var xt = c.useState(null), Ot = ne(xt, 2), st = Ot[0], $t = Ot[1], Pr = c.useState([0, 0]), gr = ne(Pr, 2), pt = gr[0], _r = gr[1], Dt = function(J) {
4928
4928
  _r([J.clientX, J.clientY]);
4929
- }, Rt = kc(Me, xe, W ? pt : $e, T, O, C, q), Ue = ne(Rt, 11), mn = Ue[0], Ir = Ue[1], Tr = Ue[2], Ft = Ue[3], Mr = Ue[4], pn = Ue[5], Nt = Ue[6], Ar = Ue[7], hn = Ue[8], nt = Ue[9], lt = Ue[10], mr = Wc(Pe, u, d, l), Vr = ne(mr, 2), ht = Vr[0], Pt = Vr[1], pr = ht.has("click"), Wt = Pt.has("click") || Pt.has("contextMenu"), ct = tt(function() {
4929
+ }, Rt = kc(Me, xe, W ? pt : $e, T, O, C, q), Ue = ne(Rt, 11), mn = Ue[0], Ir = Ue[1], Tr = Ue[2], Nt = Ue[3], Mr = Ue[4], pn = Ue[5], Ft = Ue[6], Ar = Ue[7], hn = Ue[8], nt = Ue[9], lt = Ue[10], mr = Wc(Pe, u, d, l), Vr = ne(mr, 2), ht = Vr[0], Pt = Vr[1], pr = ht.has("click"), Wt = Pt.has("click") || Pt.has("contextMenu"), ct = tt(function() {
4930
4930
  jt || lt();
4931
4931
  }), yn = function() {
4932
4932
  mt.current && W && Wt && et(!1);
@@ -4970,9 +4970,9 @@ function Kc() {
4970
4970
  B[H] = function(Ie) {
4971
4971
  var Ur;
4972
4972
  ze == null || ze(Ie), et(J, _e);
4973
- for (var Nn = arguments.length, Fa = new Array(Nn > 1 ? Nn - 1 : 0), qr = 1; qr < Nn; qr++)
4974
- Fa[qr - 1] = arguments[qr];
4975
- (Ur = ke[H]) === null || Ur === void 0 || Ur.call.apply(Ur, [ke, Ie].concat(Fa));
4973
+ for (var Fn = arguments.length, Na = new Array(Fn > 1 ? Fn - 1 : 0), qr = 1; qr < Fn; qr++)
4974
+ Na[qr - 1] = arguments[qr];
4975
+ (Ur = ke[H]) === null || Ur === void 0 || Ur.call.apply(Ur, [ke, Ie].concat(Na));
4976
4976
  };
4977
4977
  }
4978
4978
  (pr || Wt) && (B.onClick = function(H) {
@@ -5009,9 +5009,9 @@ function Kc() {
5009
5009
  (J = hr[H]) === null || J === void 0 || J.call.apply(J, [hr].concat(ze)), Z[H].apply(Z, ze);
5010
5010
  });
5011
5011
  });
5012
- var Rn = /* @__PURE__ */ c.cloneElement(it, j(j({}, hr), kr)), Fn = {
5012
+ var Rn = /* @__PURE__ */ c.cloneElement(it, j(j({}, hr), kr)), Nn = {
5013
5013
  x: pn,
5014
- y: Nt
5014
+ y: Ft
5015
5015
  }, Po = G ? j({}, G !== !0 ? G : {}) : null;
5016
5016
  return /* @__PURE__ */ c.createElement(c.Fragment, null, /* @__PURE__ */ c.createElement(or, {
5017
5017
  disabled: !Me,
@@ -5038,20 +5038,20 @@ function Kc() {
5038
5038
  fresh: L,
5039
5039
  onClick: U,
5040
5040
  mask: w,
5041
- motion: Fe,
5041
+ motion: Ne,
5042
5042
  maskMotion: gt,
5043
5043
  onVisibleChanged: Dr,
5044
5044
  onPrepare: Wr,
5045
5045
  forceRender: P,
5046
5046
  autoDestroy: Y,
5047
- getPopupContainer: F,
5047
+ getPopupContainer: N,
5048
5048
  align: nt,
5049
5049
  arrow: Po,
5050
- arrowPos: Fn,
5050
+ arrowPos: Nn,
5051
5051
  ready: mn,
5052
5052
  offsetX: Ir,
5053
5053
  offsetY: Tr,
5054
- offsetR: Ft,
5054
+ offsetR: Nt,
5055
5055
  offsetB: Mr,
5056
5056
  onAlign: ct,
5057
5057
  stretch: V,
@@ -5178,7 +5178,7 @@ var Gt = {
5178
5178
  targetOffset: Qe
5179
5179
  }
5180
5180
  }, eu = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow"], tu = function(t, r) {
5181
- var n = t.overlayClassName, a = t.trigger, i = a === void 0 ? ["hover"] : a, o = t.mouseEnterDelay, s = o === void 0 ? 0 : o, u = t.mouseLeaveDelay, d = u === void 0 ? 0.1 : u, l = t.overlayStyle, f = t.prefixCls, g = f === void 0 ? "rc-tooltip" : f, b = t.children, p = t.onVisibleChange, h = t.afterVisibleChange, v = t.transitionName, x = t.animation, y = t.motion, m = t.placement, w = m === void 0 ? "right" : m, R = t.align, $ = R === void 0 ? {} : R, F = t.destroyTooltipOnHide, P = F === void 0 ? !1 : F, E = t.defaultVisible, I = t.getTooltipContainer, M = t.overlayInnerStyle;
5181
+ var n = t.overlayClassName, a = t.trigger, i = a === void 0 ? ["hover"] : a, o = t.mouseEnterDelay, s = o === void 0 ? 0 : o, u = t.mouseLeaveDelay, d = u === void 0 ? 0.1 : u, l = t.overlayStyle, f = t.prefixCls, g = f === void 0 ? "rc-tooltip" : f, b = t.children, p = t.onVisibleChange, h = t.afterVisibleChange, v = t.transitionName, x = t.animation, y = t.motion, m = t.placement, w = m === void 0 ? "right" : m, R = t.align, $ = R === void 0 ? {} : R, N = t.destroyTooltipOnHide, P = N === void 0 ? !1 : N, E = t.defaultVisible, I = t.getTooltipContainer, M = t.overlayInnerStyle;
5182
5182
  t.arrowContent;
5183
5183
  var A = t.overlay, z = t.id, T = t.showArrow, D = T === void 0 ? !0 : T, O = rt(t, eu), C = Be(null);
5184
5184
  va(r, function() {
@@ -5727,7 +5727,7 @@ const gu = /* @__PURE__ */ c.forwardRef((e, t) => {
5727
5727
  autoAdjustOverflow: m = !0
5728
5728
  } = e, w = !!p, [, R] = sn(), {
5729
5729
  getPopupContainer: $,
5730
- getPrefixCls: F,
5730
+ getPrefixCls: N,
5731
5731
  direction: P
5732
5732
  } = c.useContext(dt), E = Ct("Tooltip"), I = c.useRef(null), M = () => {
5733
5733
  var le;
@@ -5770,7 +5770,7 @@ const gu = /* @__PURE__ */ c.forwardRef((e, t) => {
5770
5770
  mouseLeaveDelay: W = 0.1,
5771
5771
  overlayStyle: U,
5772
5772
  rootClassName: q
5773
- } = e, G = vu(e, ["getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "rootClassName"]), k = F("tooltip", a), oe = F(), de = e["data-popover-inject"];
5773
+ } = e, G = vu(e, ["getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "rootClassName"]), k = N("tooltip", a), oe = N(), de = e["data-popover-inject"];
5774
5774
  let ge = A;
5775
5775
  !("open" in e) && !("visible" in e) && T && (ge = !1);
5776
5776
  const we = /* @__PURE__ */ c.isValidElement(l) && !qo(l) ? l : /* @__PURE__ */ c.createElement("span", null, l), Se = we.props, Ce = !Se.className || typeof Se.className == "string" ? X(Se.className, i || `${k}-open`) : Se.className, [he, Z, Y] = fo(k, !de), me = vo(k, u), ue = me.arrowStyle, Pe = Object.assign(Object.assign({}, d), me.overlayStyle), se = X(s, {
@@ -5806,9 +5806,9 @@ const gu = /* @__PURE__ */ c.forwardRef((e, t) => {
5806
5806
  return he(/* @__PURE__ */ c.createElement(Ea.Provider, {
5807
5807
  value: Q
5808
5808
  }, ye));
5809
- }), Nr = gu;
5810
- process.env.NODE_ENV !== "production" && (Nr.displayName = "Tooltip");
5811
- Nr._InternalPanelDoNotUseOrYouWillBeFired = fu;
5809
+ }), Fr = gu;
5810
+ process.env.NODE_ENV !== "production" && (Fr.displayName = "Tooltip");
5811
+ Fr._InternalPanelDoNotUseOrYouWillBeFired = fu;
5812
5812
  function mu(e) {
5813
5813
  return ir(e, {
5814
5814
  inputAffixPadding: e.paddingXXS
@@ -6488,7 +6488,7 @@ const pu = (e) => {
6488
6488
  }
6489
6489
  })
6490
6490
  };
6491
- }, Fu = (e) => {
6491
+ }, Nu = (e) => {
6492
6492
  const {
6493
6493
  componentCls: t,
6494
6494
  borderRadiusLG: r,
@@ -6555,7 +6555,7 @@ const pu = (e) => {
6555
6555
  })
6556
6556
  })
6557
6557
  };
6558
- }, Nu = (e) => {
6558
+ }, Fu = (e) => {
6559
6559
  const {
6560
6560
  componentCls: t,
6561
6561
  antCls: r
@@ -6739,8 +6739,8 @@ const pu = (e) => {
6739
6739
  Ou(t),
6740
6740
  Pu(t),
6741
6741
  Ru(t),
6742
- Fu(t),
6743
6742
  Nu(t),
6743
+ Fu(t),
6744
6744
  _u(t),
6745
6745
  // =====================================================
6746
6746
  // == Space Compact ==
@@ -6803,7 +6803,7 @@ function Mu(e, t) {
6803
6803
  }
6804
6804
  }
6805
6805
  var wo = /* @__PURE__ */ re.forwardRef(function(e, t) {
6806
- var r, n, a = e.inputElement, i = e.children, o = e.prefixCls, s = e.prefix, u = e.suffix, d = e.addonBefore, l = e.addonAfter, f = e.className, g = e.style, b = e.disabled, p = e.readOnly, h = e.focused, v = e.triggerFocus, x = e.allowClear, y = e.value, m = e.handleReset, w = e.hidden, R = e.classes, $ = e.classNames, F = e.dataAttrs, P = e.styles, E = e.components, I = i ?? a, M = (E == null ? void 0 : E.affixWrapper) || "span", A = (E == null ? void 0 : E.groupWrapper) || "span", z = (E == null ? void 0 : E.wrapper) || "span", T = (E == null ? void 0 : E.groupAddon) || "span", D = Be(null), O = function(Y) {
6806
+ var r, n, a = e.inputElement, i = e.children, o = e.prefixCls, s = e.prefix, u = e.suffix, d = e.addonBefore, l = e.addonAfter, f = e.className, g = e.style, b = e.disabled, p = e.readOnly, h = e.focused, v = e.triggerFocus, x = e.allowClear, y = e.value, m = e.handleReset, w = e.hidden, R = e.classes, $ = e.classNames, N = e.dataAttrs, P = e.styles, E = e.components, I = i ?? a, M = (E == null ? void 0 : E.affixWrapper) || "span", A = (E == null ? void 0 : E.groupWrapper) || "span", z = (E == null ? void 0 : E.wrapper) || "span", T = (E == null ? void 0 : E.groupAddon) || "span", D = Be(null), O = function(Y) {
6807
6807
  var me;
6808
6808
  (me = D.current) !== null && me !== void 0 && me.contains(Y.target) && (v == null || v());
6809
6809
  }, C = Tu(e), S = /* @__PURE__ */ Io(I, {
@@ -6817,18 +6817,18 @@ var wo = /* @__PURE__ */ re.forwardRef(function(e, t) {
6817
6817
  }), C) {
6818
6818
  var _, L = null;
6819
6819
  if (x) {
6820
- var W, U = !b && !p && y, q = "".concat(o, "-clear-icon"), G = Ne(x) === "object" && x !== null && x !== void 0 && x.clearIcon ? x.clearIcon : "✖";
6820
+ var W, U = !b && !p && y, q = "".concat(o, "-clear-icon"), G = Fe(x) === "object" && x !== null && x !== void 0 && x.clearIcon ? x.clearIcon : "✖";
6821
6821
  L = /* @__PURE__ */ re.createElement("span", {
6822
6822
  onClick: m,
6823
6823
  onMouseDown: function(Y) {
6824
6824
  return Y.preventDefault();
6825
6825
  },
6826
- className: X(q, (W = {}, N(W, "".concat(q, "-hidden"), !U), N(W, "".concat(q, "-has-suffix"), !!u), W)),
6826
+ className: X(q, (W = {}, F(W, "".concat(q, "-hidden"), !U), F(W, "".concat(q, "-has-suffix"), !!u), W)),
6827
6827
  role: "button",
6828
6828
  tabIndex: -1
6829
6829
  }, G);
6830
6830
  }
6831
- var k = "".concat(o, "-affix-wrapper"), oe = X(k, (_ = {}, N(_, "".concat(o, "-disabled"), b), N(_, "".concat(k, "-disabled"), b), N(_, "".concat(k, "-focused"), h), N(_, "".concat(k, "-readonly"), p), N(_, "".concat(k, "-input-with-clear-btn"), u && x && y), _), R == null ? void 0 : R.affixWrapper, $ == null ? void 0 : $.affixWrapper, $ == null ? void 0 : $.variant), de = (u || x) && /* @__PURE__ */ re.createElement("span", {
6831
+ var k = "".concat(o, "-affix-wrapper"), oe = X(k, (_ = {}, F(_, "".concat(o, "-disabled"), b), F(_, "".concat(k, "-disabled"), b), F(_, "".concat(k, "-focused"), h), F(_, "".concat(k, "-readonly"), p), F(_, "".concat(k, "-input-with-clear-btn"), u && x && y), _), R == null ? void 0 : R.affixWrapper, $ == null ? void 0 : $.affixWrapper, $ == null ? void 0 : $.variant), de = (u || x) && /* @__PURE__ */ re.createElement("span", {
6832
6832
  className: X("".concat(o, "-suffix"), $ == null ? void 0 : $.suffix),
6833
6833
  style: P == null ? void 0 : P.suffix
6834
6834
  }, L, u);
@@ -6836,7 +6836,7 @@ var wo = /* @__PURE__ */ re.forwardRef(function(e, t) {
6836
6836
  className: oe,
6837
6837
  style: P == null ? void 0 : P.affixWrapper,
6838
6838
  onClick: O
6839
- }, F == null ? void 0 : F.affixWrapper, {
6839
+ }, N == null ? void 0 : N.affixWrapper, {
6840
6840
  ref: D
6841
6841
  }), s && /* @__PURE__ */ re.createElement("span", {
6842
6842
  className: X("".concat(o, "-prefix"), $ == null ? void 0 : $.prefix),
@@ -6844,7 +6844,7 @@ var wo = /* @__PURE__ */ re.forwardRef(function(e, t) {
6844
6844
  }, s), S, de);
6845
6845
  }
6846
6846
  if (Iu(e)) {
6847
- var ge = "".concat(o, "-group"), we = "".concat(ge, "-addon"), Se = "".concat(ge, "-wrapper"), Ce = X("".concat(o, "-wrapper"), ge, R == null ? void 0 : R.wrapper, $ == null ? void 0 : $.wrapper), he = X(Se, N({}, "".concat(Se, "-disabled"), b), R == null ? void 0 : R.group, $ == null ? void 0 : $.groupWrapper);
6847
+ var ge = "".concat(o, "-group"), we = "".concat(ge, "-addon"), Se = "".concat(ge, "-wrapper"), Ce = X("".concat(o, "-wrapper"), ge, R == null ? void 0 : R.wrapper, $ == null ? void 0 : $.wrapper), he = X(Se, F({}, "".concat(Se, "-disabled"), b), R == null ? void 0 : R.group, $ == null ? void 0 : $.groupWrapper);
6848
6848
  S = /* @__PURE__ */ re.createElement(A, {
6849
6849
  className: he,
6850
6850
  ref: V
@@ -6865,7 +6865,7 @@ var wo = /* @__PURE__ */ re.forwardRef(function(e, t) {
6865
6865
  function Co(e, t) {
6866
6866
  return c.useMemo(function() {
6867
6867
  var r = {};
6868
- t && (r.show = Ne(t) === "object" && t.formatter ? t.formatter : !!t), r = j(j({}, r), e);
6868
+ t && (r.show = Fe(t) === "object" && t.formatter ? t.formatter : !!t), r = j(j({}, r), e);
6869
6869
  var n = r, a = n.show, i = rt(n, Au);
6870
6870
  return j(j({}, i), {}, {
6871
6871
  show: !!a,
@@ -6877,7 +6877,7 @@ function Co(e, t) {
6877
6877
  }, [e, t]);
6878
6878
  }
6879
6879
  var Vu = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKeyDown", "prefixCls", "disabled", "htmlSize", "className", "maxLength", "suffix", "showCount", "count", "type", "classes", "classNames", "styles", "onCompositionStart", "onCompositionEnd"], Lu = /* @__PURE__ */ an(function(e, t) {
6880
- var r = e.autoComplete, n = e.onChange, a = e.onFocus, i = e.onBlur, o = e.onPressEnter, s = e.onKeyDown, u = e.prefixCls, d = u === void 0 ? "rc-input" : u, l = e.disabled, f = e.htmlSize, g = e.className, b = e.maxLength, p = e.suffix, h = e.showCount, v = e.count, x = e.type, y = x === void 0 ? "text" : x, m = e.classes, w = e.classNames, R = e.styles, $ = e.onCompositionStart, F = e.onCompositionEnd, P = rt(e, Vu), E = qn(!1), I = ne(E, 2), M = I[0], A = I[1], z = Be(!1), T = Be(null), D = Be(null), O = function(Q) {
6880
+ var r = e.autoComplete, n = e.onChange, a = e.onFocus, i = e.onBlur, o = e.onPressEnter, s = e.onKeyDown, u = e.prefixCls, d = u === void 0 ? "rc-input" : u, l = e.disabled, f = e.htmlSize, g = e.className, b = e.maxLength, p = e.suffix, h = e.showCount, v = e.count, x = e.type, y = x === void 0 ? "text" : x, m = e.classes, w = e.classNames, R = e.styles, $ = e.onCompositionStart, N = e.onCompositionEnd, P = rt(e, Vu), E = qn(!1), I = ne(E, 2), M = I[0], A = I[1], z = Be(!1), T = Be(null), D = Be(null), O = function(Q) {
6881
6881
  T.current && Mu(T.current, Q);
6882
6882
  }, C = Yt(e.defaultValue, {
6883
6883
  value: e.value
@@ -6932,7 +6932,7 @@ var Vu = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
6932
6932
  }, Ce = function(Q) {
6933
6933
  z.current = !1, we(Q, Q.currentTarget.value, {
6934
6934
  source: "compositionEnd"
6935
- }), F == null || F(Q);
6935
+ }), N == null || N(Q);
6936
6936
  }, he = function(Q) {
6937
6937
  o && Q.key === "Enter" && o(Q), s == null || s(Q);
6938
6938
  }, Z = function(Q) {
@@ -6967,7 +6967,7 @@ var Vu = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
6967
6967
  onFocus: Z,
6968
6968
  onBlur: Y,
6969
6969
  onKeyDown: he,
6970
- className: X(d, N({}, "".concat(d, "-disabled"), l), w == null ? void 0 : w.input),
6970
+ className: X(d, F({}, "".concat(d, "-disabled"), l), w == null ? void 0 : w.input),
6971
6971
  style: R == null ? void 0 : R.input,
6972
6972
  ref: T,
6973
6973
  size: f,
@@ -6986,7 +6986,7 @@ var Vu = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
6986
6986
  maxLength: oe
6987
6987
  }) : "".concat(de).concat(Q ? " / ".concat(oe) : "");
6988
6988
  return /* @__PURE__ */ re.createElement(re.Fragment, null, k.show && /* @__PURE__ */ re.createElement("span", {
6989
- className: X("".concat(d, "-show-count-suffix"), N({}, "".concat(d, "-show-count-has-suffix"), !!p), w == null ? void 0 : w.count),
6989
+ className: X("".concat(d, "-show-count-suffix"), F({}, "".concat(d, "-show-count-has-suffix"), !!p), w == null ? void 0 : w.count),
6990
6990
  style: j({}, R == null ? void 0 : R.count)
6991
6991
  }, ye), p);
6992
6992
  }
@@ -7086,12 +7086,12 @@ const Bu = /* @__PURE__ */ an((e, t) => {
7086
7086
  }
7087
7087
  const {
7088
7088
  getPrefixCls: $,
7089
- direction: F,
7089
+ direction: N,
7090
7090
  input: P
7091
7091
  } = re.useContext(dt), E = $("input", n), I = Be(null), M = Di(E), [A, z, T] = bo(E, M), {
7092
7092
  compactSize: D,
7093
7093
  compactItemClassnames: O
7094
- } = dl(E, F), C = Sa((Y) => {
7094
+ } = dl(E, N), C = Sa((Y) => {
7095
7095
  var me;
7096
7096
  return (me = o ?? D) !== null && me !== void 0 ? me : Y;
7097
7097
  }), S = re.useContext(Oi), V = s ?? S, {
@@ -7136,7 +7136,7 @@ const Bu = /* @__PURE__ */ an((e, t) => {
7136
7136
  input: X({
7137
7137
  [`${E}-sm`]: C === "small",
7138
7138
  [`${E}-lg`]: C === "large",
7139
- [`${E}-rtl`]: F === "rtl"
7139
+ [`${E}-rtl`]: N === "rtl"
7140
7140
  }, m == null ? void 0 : m.input, (r = P == null ? void 0 : P.classNames) === null || r === void 0 ? void 0 : r.input, z),
7141
7141
  variant: X({
7142
7142
  [`${E}-${he}`]: Z
@@ -7144,15 +7144,15 @@ const Bu = /* @__PURE__ */ an((e, t) => {
7144
7144
  affixWrapper: X({
7145
7145
  [`${E}-affix-wrapper-sm`]: C === "small",
7146
7146
  [`${E}-affix-wrapper-lg`]: C === "large",
7147
- [`${E}-affix-wrapper-rtl`]: F === "rtl"
7147
+ [`${E}-affix-wrapper-rtl`]: N === "rtl"
7148
7148
  }, z),
7149
7149
  wrapper: X({
7150
- [`${E}-group-rtl`]: F === "rtl"
7150
+ [`${E}-group-rtl`]: N === "rtl"
7151
7151
  }, z),
7152
7152
  groupWrapper: X({
7153
7153
  [`${E}-group-wrapper-sm`]: C === "small",
7154
7154
  [`${E}-group-wrapper-lg`]: C === "large",
7155
- [`${E}-group-wrapper-rtl`]: F === "rtl",
7155
+ [`${E}-group-wrapper-rtl`]: N === "rtl",
7156
7156
  [`${E}-group-wrapper-${he}`]: Z
7157
7157
  }, fa(`${E}-group-wrapper`, U, L), z)
7158
7158
  })
@@ -7220,8 +7220,8 @@ var Gu = ["prefixCls", "onPressEnter", "defaultValue", "value", "autoSize", "onR
7220
7220
  };
7221
7221
  });
7222
7222
  var w = c.useMemo(function() {
7223
- return o && Ne(o) === "object" ? [o.minRows, o.maxRows] : [];
7224
- }, [o]), R = ne(w, 2), $ = R[0], F = R[1], P = !!o, E = function() {
7223
+ return o && Fe(o) === "object" ? [o.minRows, o.maxRows] : [];
7224
+ }, [o]), R = ne(w, 2), $ = R[0], N = R[1], P = !!o, E = function() {
7225
7225
  try {
7226
7226
  if (document.activeElement === m.current) {
7227
7227
  var G = m.current, k = G.selectionStart, oe = G.selectionEnd, de = G.scrollTop;
@@ -7234,11 +7234,11 @@ var Gu = ["prefixCls", "onPressEnter", "defaultValue", "value", "autoSize", "onR
7234
7234
  };
7235
7235
  Le(function() {
7236
7236
  P && S();
7237
- }, [i, $, F, P]), Le(function() {
7237
+ }, [i, $, N, P]), Le(function() {
7238
7238
  if (A === jn)
7239
7239
  z(Dn);
7240
7240
  else if (A === Dn) {
7241
- var q = qu(m.current, !1, $, F);
7241
+ var q = qu(m.current, !1, $, N);
7242
7242
  z(Wn), C(q);
7243
7243
  } else
7244
7244
  E();
@@ -7260,13 +7260,13 @@ var Gu = ["prefixCls", "onPressEnter", "defaultValue", "value", "autoSize", "onR
7260
7260
  }, /* @__PURE__ */ c.createElement("textarea", De({}, b, {
7261
7261
  ref: m,
7262
7262
  style: U,
7263
- className: X(n, u, N({}, "".concat(n, "-disabled"), l)),
7263
+ className: X(n, u, F({}, "".concat(n, "-disabled"), l)),
7264
7264
  disabled: l,
7265
7265
  value: v,
7266
7266
  onChange: y
7267
7267
  })));
7268
7268
  }), Zu = ["defaultValue", "value", "onFocus", "onBlur", "onChange", "allowClear", "maxLength", "onCompositionStart", "onCompositionEnd", "suffix", "prefixCls", "showCount", "count", "className", "style", "disabled", "hidden", "classNames", "styles", "onResize", "readOnly"], Xu = /* @__PURE__ */ re.forwardRef(function(e, t) {
7269
- var r, n = e.defaultValue, a = e.value, i = e.onFocus, o = e.onBlur, s = e.onChange, u = e.allowClear, d = e.maxLength, l = e.onCompositionStart, f = e.onCompositionEnd, g = e.suffix, b = e.prefixCls, p = b === void 0 ? "rc-textarea" : b, h = e.showCount, v = e.count, x = e.className, y = e.style, m = e.disabled, w = e.hidden, R = e.classNames, $ = e.styles, F = e.onResize, P = e.readOnly, E = rt(e, Zu), I = Yt(n, {
7269
+ var r, n = e.defaultValue, a = e.value, i = e.onFocus, o = e.onBlur, s = e.onChange, u = e.allowClear, d = e.maxLength, l = e.onCompositionStart, f = e.onCompositionEnd, g = e.suffix, b = e.prefixCls, p = b === void 0 ? "rc-textarea" : b, h = e.showCount, v = e.count, x = e.className, y = e.style, m = e.disabled, w = e.hidden, R = e.classNames, $ = e.styles, N = e.onResize, P = e.readOnly, E = rt(e, Zu), I = Yt(n, {
7270
7270
  value: a,
7271
7271
  defaultValue: n
7272
7272
  }), M = ne(I, 2), A = M[0], z = M[1], T = A == null ? "" : String(A), D = re.useState(!1), O = ne(D, 2), C = O[0], S = O[1], V = re.useRef(!1), _ = re.useState(null), L = ne(_, 2), W = L[0], U = L[1], q = Be(null), G = Be(null), k = function() {
@@ -7328,7 +7328,7 @@ var Gu = ["prefixCls", "onPressEnter", "defaultValue", "value", "autoSize", "onR
7328
7328
  }, xe)));
7329
7329
  var vt = function(ie) {
7330
7330
  var Oe;
7331
- F == null || F(ie), (Oe = k()) !== null && Oe !== void 0 && Oe.style.height && U(!0);
7331
+ N == null || N(ie), (Oe = k()) !== null && Oe !== void 0 && Oe.style.height && U(!0);
7332
7332
  }, at = !E.autoSize && !h && !u;
7333
7333
  return /* @__PURE__ */ re.createElement(wo, {
7334
7334
  ref: q,
@@ -7338,7 +7338,7 @@ var Gu = ["prefixCls", "onPressEnter", "defaultValue", "value", "autoSize", "onR
7338
7338
  suffix: pe,
7339
7339
  prefixCls: p,
7340
7340
  classNames: j(j({}, R), {}, {
7341
- affixWrapper: X(R == null ? void 0 : R.affixWrapper, N(N({}, "".concat(p, "-show-count"), h), "".concat(p, "-textarea-allow-clear"), u))
7341
+ affixWrapper: X(R == null ? void 0 : R.affixWrapper, F(F({}, "".concat(p, "-show-count"), h), "".concat(p, "-textarea-allow-clear"), u))
7342
7342
  }),
7343
7343
  disabled: m,
7344
7344
  focused: C,
@@ -7407,10 +7407,10 @@ const Ju = /* @__PURE__ */ an((e, t) => {
7407
7407
  direction: y,
7408
7408
  textArea: m
7409
7409
  } = c.useContext(dt), w = Sa(o), R = c.useContext(Oi), $ = s ?? R, {
7410
- status: F,
7410
+ status: N,
7411
7411
  hasFeedback: P,
7412
7412
  feedbackIcon: E
7413
- } = c.useContext(Sr), I = io(F, u), M = c.useRef(null);
7413
+ } = c.useContext(Sr), I = io(N, u), M = c.useRef(null);
7414
7414
  c.useImperativeHandle(t, () => {
7415
7415
  var _;
7416
7416
  return {
@@ -7833,7 +7833,7 @@ const id = (e, t, r, n) => {
7833
7833
  keyCode: O
7834
7834
  } = D;
7835
7835
  h.current || (v.current = O);
7836
- }, F = () => {
7836
+ }, N = () => {
7837
7837
  d(x.trim());
7838
7838
  }, P = (D) => {
7839
7839
  let {
@@ -7843,9 +7843,9 @@ const id = (e, t, r, n) => {
7843
7843
  metaKey: V,
7844
7844
  shiftKey: _
7845
7845
  } = D;
7846
- v.current === O && !h.current && !C && !S && !V && !_ && (O === K.ENTER ? (F(), f == null || f()) : O === K.ESC && l());
7846
+ v.current === O && !h.current && !C && !S && !V && !_ && (O === K.ENTER ? (N(), f == null || f()) : O === K.ESC && l());
7847
7847
  }, E = () => {
7848
- F();
7848
+ N();
7849
7849
  }, I = g ? `${t}-${g}` : "", [M, A, z] = $o(t), T = X(t, `${t}-edit-content`, {
7850
7850
  [`${t}-rtl`]: i === "rtl"
7851
7851
  }, n, I, A, z);
@@ -8041,12 +8041,12 @@ const Ra = /* @__PURE__ */ c.forwardRef((e, t) => {
8041
8041
  );
8042
8042
  });
8043
8043
  process.env.NODE_ENV !== "production" && (Ra.displayName = "Typography");
8044
- var Rd = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" }, Fd = function(t, r) {
8044
+ var Rd = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" }, Nd = function(t, r) {
8045
8045
  return /* @__PURE__ */ c.createElement(ft, De({}, t, {
8046
8046
  ref: r,
8047
8047
  icon: Rd
8048
8048
  }));
8049
- }, Ro = /* @__PURE__ */ c.forwardRef(Fd);
8049
+ }, Ro = /* @__PURE__ */ c.forwardRef(Nd);
8050
8050
  process.env.NODE_ENV !== "production" && (Ro.displayName = "CopyOutlined");
8051
8051
  function yi(e) {
8052
8052
  return e === !1 ? [!1, !1] : Array.isArray(e) ? e : [e];
@@ -8054,7 +8054,7 @@ function yi(e) {
8054
8054
  function Zr(e, t, r) {
8055
8055
  return e === !0 || e === void 0 ? t : e || r && t;
8056
8056
  }
8057
- const Nd = (e) => {
8057
+ const Fd = (e) => {
8058
8058
  const {
8059
8059
  prefixCls: t,
8060
8060
  copied: r,
@@ -8069,7 +8069,7 @@ const Nd = (e) => {
8069
8069
  copied: g,
8070
8070
  copy: b
8071
8071
  } = n ?? {}, p = r ? Zr(l[1], g) : Zr(l[0], b), v = typeof p == "string" ? p : r ? g : b;
8072
- return /* @__PURE__ */ c.createElement(Nr, {
8072
+ return /* @__PURE__ */ c.createElement(Fr, {
8073
8073
  key: "copy",
8074
8074
  title: p
8075
8075
  }, /* @__PURE__ */ c.createElement(So, {
@@ -8106,14 +8106,14 @@ const Nd = (e) => {
8106
8106
  }, r)
8107
8107
  }, n);
8108
8108
  });
8109
- function Fo(e) {
8109
+ function No(e) {
8110
8110
  const t = typeof e;
8111
8111
  return t === "string" || t === "number";
8112
8112
  }
8113
8113
  function Pd(e) {
8114
8114
  let t = 0;
8115
8115
  return e.forEach((r) => {
8116
- Fo(r) ? t += String(r).length : t += 1;
8116
+ No(r) ? t += String(r).length : t += 1;
8117
8117
  }), t;
8118
8118
  }
8119
8119
  function bi(e, t) {
@@ -8122,7 +8122,7 @@ function bi(e, t) {
8122
8122
  for (let a = 0; a < e.length; a += 1) {
8123
8123
  if (r === t)
8124
8124
  return n;
8125
- const i = e[a], s = Fo(i) ? String(i).length : 1, u = r + s;
8125
+ const i = e[a], s = No(i) ? String(i).length : 1, u = r + s;
8126
8126
  if (u > t) {
8127
8127
  const d = t - r;
8128
8128
  return n.push(String(i).slice(0, d)), n;
@@ -8146,7 +8146,7 @@ function _d(e) {
8146
8146
  expanded: o,
8147
8147
  miscDeps: s,
8148
8148
  onEllipsis: u
8149
- } = e, d = c.useMemo(() => Mt(n), [n]), l = c.useMemo(() => Pd(d), [n]), f = c.useMemo(() => a(d, !1), [n]), [g, b] = c.useState(null), p = c.useRef(null), h = c.useRef(null), v = c.useRef(null), x = c.useRef(null), [y, m] = c.useState(!1), [w, R] = c.useState(Hn), [$, F] = c.useState(0);
8149
+ } = e, d = c.useMemo(() => Mt(n), [n]), l = c.useMemo(() => Pd(d), [n]), f = c.useMemo(() => a(d, !1), [n]), [g, b] = c.useState(null), p = c.useRef(null), h = c.useRef(null), v = c.useRef(null), x = c.useRef(null), [y, m] = c.useState(!1), [w, R] = c.useState(Hn), [$, N] = c.useState(0);
8150
8150
  Le(() => {
8151
8151
  R(t && r && l ? kn : Hn);
8152
8152
  }, [r, n, i, t, d]), Le(() => {
@@ -8155,7 +8155,7 @@ function _d(e) {
8155
8155
  const D = !!(!((M = h.current) === null || M === void 0) && M.isExceed());
8156
8156
  R(D ? Un : wi), b(D ? [0, l] : null), m(D);
8157
8157
  const O = ((A = h.current) === null || A === void 0 ? void 0 : A.getHeight()) || 0, C = i === 1 ? 0 : ((z = v.current) === null || z === void 0 ? void 0 : z.getHeight()) || 0, S = ((T = x.current) === null || T === void 0 ? void 0 : T.getHeight()) || 0, V = C + S, _ = Math.max(O, V);
8158
- F(_ + 1), u(D);
8158
+ N(_ + 1), u(D);
8159
8159
  }
8160
8160
  }, [w]);
8161
8161
  const P = g ? Math.ceil((g[0] + g[1]) / 2) : 0;
@@ -8206,18 +8206,18 @@ function _d(e) {
8206
8206
  ref: p
8207
8207
  }, a(bi(d, P), !0)));
8208
8208
  }
8209
- const No = (e) => {
8209
+ const Fo = (e) => {
8210
8210
  let {
8211
8211
  enableEllipsis: t,
8212
8212
  isEllipsis: r,
8213
8213
  children: n,
8214
8214
  tooltipProps: a
8215
8215
  } = e;
8216
- return !(a != null && a.title) || !t ? n : /* @__PURE__ */ c.createElement(Nr, Object.assign({
8216
+ return !(a != null && a.title) || !t ? n : /* @__PURE__ */ c.createElement(Fr, Object.assign({
8217
8217
  open: r ? void 0 : !1
8218
8218
  }, a), n);
8219
8219
  };
8220
- process.env.NODE_ENV !== "production" && (No.displayName = "EllipsisTooltip");
8220
+ process.env.NODE_ENV !== "production" && (Fo.displayName = "EllipsisTooltip");
8221
8221
  var Id = function(e, t) {
8222
8222
  var r = {};
8223
8223
  for (var n in e)
@@ -8259,7 +8259,7 @@ const Md = "...", fn = /* @__PURE__ */ c.forwardRef((e, t) => {
8259
8259
  } = e, v = Id(e, ["prefixCls", "className", "style", "type", "disabled", "children", "ellipsis", "editable", "copyable", "component", "title"]), {
8260
8260
  getPrefixCls: x,
8261
8261
  direction: y
8262
- } = c.useContext(dt), [m] = Cs("Text"), w = c.useRef(null), R = c.useRef(null), $ = x("typography", i), F = Ca(v, ["mark", "code", "delete", "underline", "strong", "keyboard", "italic"]), [P, E] = Bn(g), [I, M] = Yt(!1, {
8262
+ } = c.useContext(dt), [m] = Cs("Text"), w = c.useRef(null), R = c.useRef(null), $ = x("typography", i), N = Ca(v, ["mark", "code", "delete", "underline", "strong", "keyboard", "italic"]), [P, E] = Bn(g), [I, M] = Yt(!1, {
8263
8263
  value: E.editing
8264
8264
  }), {
8265
8265
  triggerType: A = ["icon"]
@@ -8307,8 +8307,8 @@ const Md = "...", fn = /* @__PURE__ */ c.forwardRef((e, t) => {
8307
8307
  Q(ye && ue);
8308
8308
  }, [ye, ue]);
8309
8309
  const le = ue && (te ? ge : oe), be = ue && Pe === 1 && te, pe = ue && Pe > 1 && te, xe = (B, ee) => {
8310
- var Fe;
8311
- me(ee.expanded), (Fe = Z.onExpand) === null || Fe === void 0 || Fe.call(Z, B, ee);
8310
+ var Ne;
8311
+ me(ee.expanded), (Ne = Z.onExpand) === null || Ne === void 0 || Ne.call(Z, B, ee);
8312
8312
  }, [vt, at] = c.useState(0), fe = (B) => {
8313
8313
  let {
8314
8314
  offsetWidth: ee
@@ -8381,7 +8381,7 @@ const Md = "...", fn = /* @__PURE__ */ c.forwardRef((e, t) => {
8381
8381
  return !B || Y && B !== "collapsible" ? null : /* @__PURE__ */ c.createElement("a", {
8382
8382
  key: "expand",
8383
8383
  className: `${$}-${Y ? "collapse" : "expand"}`,
8384
- onClick: (Fe) => xe(Fe, {
8384
+ onClick: (Ne) => xe(Ne, {
8385
8385
  expanded: !Y
8386
8386
  }),
8387
8387
  "aria-label": Y ? m.collapse : m == null ? void 0 : m.expand
@@ -8392,9 +8392,9 @@ const Md = "...", fn = /* @__PURE__ */ c.forwardRef((e, t) => {
8392
8392
  const {
8393
8393
  icon: B,
8394
8394
  tooltip: ee,
8395
- tabIndex: Fe
8395
+ tabIndex: Ne
8396
8396
  } = E, gt = Mt(ee)[0] || (m == null ? void 0 : m.edit), Lt = typeof gt == "string" ? gt : "";
8397
- return A.includes("icon") ? /* @__PURE__ */ c.createElement(Nr, {
8397
+ return A.includes("icon") ? /* @__PURE__ */ c.createElement(Fr, {
8398
8398
  key: "edit",
8399
8399
  title: ee === !1 ? "" : gt
8400
8400
  }, /* @__PURE__ */ c.createElement(So, {
@@ -8402,11 +8402,11 @@ const Md = "...", fn = /* @__PURE__ */ c.forwardRef((e, t) => {
8402
8402
  className: `${$}-edit`,
8403
8403
  onClick: D,
8404
8404
  "aria-label": Lt,
8405
- tabIndex: Fe
8405
+ tabIndex: Ne
8406
8406
  }, B || /* @__PURE__ */ c.createElement(xo, {
8407
8407
  role: "button"
8408
8408
  }))) : null;
8409
- }, cr = () => S ? /* @__PURE__ */ c.createElement(Nd, Object.assign({
8409
+ }, cr = () => S ? /* @__PURE__ */ c.createElement(Fd, Object.assign({
8410
8410
  key: "copy"
8411
8411
  }, V, {
8412
8412
  prefixCls: $,
@@ -8427,7 +8427,7 @@ const Md = "...", fn = /* @__PURE__ */ c.forwardRef((e, t) => {
8427
8427
  return /* @__PURE__ */ c.createElement(or, {
8428
8428
  onResize: fe,
8429
8429
  disabled: !ue
8430
- }, (B) => /* @__PURE__ */ c.createElement(No, {
8430
+ }, (B) => /* @__PURE__ */ c.createElement(Fo, {
8431
8431
  tooltipProps: Oe,
8432
8432
  enableEllipsis: ue,
8433
8433
  isEllipsis: le
@@ -8450,7 +8450,7 @@ const Md = "...", fn = /* @__PURE__ */ c.forwardRef((e, t) => {
8450
8450
  onClick: A.includes("text") ? D : void 0,
8451
8451
  "aria-label": $e == null ? void 0 : $e.toString(),
8452
8452
  title: h
8453
- }, F), /* @__PURE__ */ c.createElement(_d, {
8453
+ }, N), /* @__PURE__ */ c.createElement(_d, {
8454
8454
  enableMeasure: ue && !te,
8455
8455
  text: l,
8456
8456
  rows: Pe,
@@ -8458,10 +8458,10 @@ const Md = "...", fn = /* @__PURE__ */ c.forwardRef((e, t) => {
8458
8458
  onEllipsis: ie,
8459
8459
  expanded: Y,
8460
8460
  miscDeps: [_, Y, L, P, S]
8461
- }, (ee, Fe) => Td(e, /* @__PURE__ */ c.createElement(c.Fragment, null, ee.length > 0 && Fe && !Y && $e ? /* @__PURE__ */ c.createElement("span", {
8461
+ }, (ee, Ne) => Td(e, /* @__PURE__ */ c.createElement(c.Fragment, null, ee.length > 0 && Ne && !Y && $e ? /* @__PURE__ */ c.createElement("span", {
8462
8462
  key: "show-content",
8463
8463
  "aria-hidden": !0
8464
- }, ee) : ee, ke(Fe)))))));
8464
+ }, ee) : ee, ke(Ne)))))));
8465
8465
  });
8466
8466
  var Ad = function(e, t) {
8467
8467
  var r = {};
@@ -8573,7 +8573,7 @@ export {
8573
8573
  ol as W,
8574
8574
  nu as a,
8575
8575
  uo as b,
8576
- Nr as c,
8576
+ Fr as c,
8577
8577
  Js as d,
8578
8578
  Wi as e,
8579
8579
  ml as f,