@notificationapi/react 0.0.12 → 0.0.14

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,7 +1,7 @@
1
1
  import { jsx as nt, jsxs as mi } from "react/jsx-runtime";
2
2
  import { InboxHeader as Un } from "../components/Notifications/InboxHeader.js";
3
3
  import { K as et, c as Se, v as Ht, w as re, L as bt, _ as ze, d as ce, al as $t, A as bn, am as yn, ac as Ft, x as gi, p as vi, M as ue, O as st, an as pi, q as mt, t as hi, ao as Si, ap as bi, aq as yi, ar as Ci, z as $i, as as qn, h as dn, T as an, g as Wt, m as Nt, a as xt, r as Qt, at as Cn, u as J, Q as br, j as zn, D as xi, b as $n, n as wi, N as Yn, o as Ei, au as Ii } from "./colors.js";
4
- import { n as yr, K as ne, D as fn, E as Oi, G as Ni, u as en, o as _n, x as xn, m as Cr, f as Mi, I as nn, s as Ri, R as Pi, e as Di, h as zi, H as _i, p as Ti, F as Li, j as Tn, J as Bi, q as ji, d as Hi, L as Vi, M as Ai, O as Fi, Q as Wi, S as Ki, U as Xi, V as Gi } from "./index3.js";
4
+ import { n as yr, K as ne, D as fn, E as Oi, G as Ni, u as en, o as _n, x as xn, m as Cr, f as Ri, I as nn, s as Mi, R as Pi, e as Di, h as zi, H as _i, p as Ti, F as Li, j as Tn, J as Bi, q as ji, d as Hi, L as Vi, M as Ai, O as Fi, Q as Wi, S as Ki, U as Xi, V as Gi } from "./index3.js";
5
5
  import * as o from "react";
6
6
  import G, { useState as jt, useMemo as wn, useCallback as Jn, useRef as De, useEffect as sn, useContext as Yt, createContext as Ui, Children as Qn } from "react";
7
7
  import { u as qi, r as Jt, a as $r, N as Zn } from "./Notification.js";
@@ -319,7 +319,7 @@ function So() {
319
319
  };
320
320
  return [r, s, l];
321
321
  }
322
- function Mr() {
322
+ function Rr() {
323
323
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 250, t = o.useRef(null), n = o.useRef(null);
324
324
  o.useEffect(function() {
325
325
  return function() {
@@ -472,14 +472,14 @@ var cn = /* @__PURE__ */ G.createContext(null), Eo = ["component"], Io = ["class
472
472
  ref: n,
473
473
  className: Se(s, v)
474
474
  }, u, f)));
475
- }, Rr = /* @__PURE__ */ o.forwardRef(No);
476
- Rr.displayName = "RawItem";
477
- var Mo = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"], Pr = "responsive", Dr = "invalidate";
478
- function Ro(e) {
475
+ }, Mr = /* @__PURE__ */ o.forwardRef(No);
476
+ Mr.displayName = "RawItem";
477
+ var Ro = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"], Pr = "responsive", Dr = "invalidate";
478
+ function Mo(e) {
479
479
  return "+ ".concat(e.length, " ...");
480
480
  }
481
481
  function Po(e, t) {
482
- var n = e.prefixCls, r = n === void 0 ? "rc-overflow" : n, i = e.data, a = i === void 0 ? [] : i, l = e.renderItem, s = e.renderRawItem, u = e.itemKey, v = e.itemWidth, f = v === void 0 ? 10 : v, d = e.ssr, b = e.style, c = e.className, m = e.maxCount, g = e.renderRest, p = e.renderRawRest, h = e.suffix, S = e.component, $ = S === void 0 ? "div" : S, w = e.itemComponent, P = e.onVisibleChange, C = bt(e, Mo), x = d === "full", D = wo(), O = Zt(D, null), I = re(O, 2), H = I[0], j = I[1], T = H || 0, R = Zt(D, /* @__PURE__ */ new Map()), _ = re(R, 2), Y = _[0], V = _[1], M = Zt(D, 0), L = re(M, 2), k = L[0], W = L[1], Ie = Zt(D, 0), de = re(Ie, 2), fe = de[0], me = de[1], Ae = Zt(D, 0), ie = re(Ae, 2), ye = ie[0], _e = ie[1], N = jt(null), y = re(N, 2), F = y[0], Q = y[1], B = jt(null), E = re(B, 2), ee = E[0], xe = E[1], ae = o.useMemo(function() {
482
+ var n = e.prefixCls, r = n === void 0 ? "rc-overflow" : n, i = e.data, a = i === void 0 ? [] : i, l = e.renderItem, s = e.renderRawItem, u = e.itemKey, v = e.itemWidth, f = v === void 0 ? 10 : v, d = e.ssr, b = e.style, c = e.className, m = e.maxCount, g = e.renderRest, p = e.renderRawRest, h = e.suffix, S = e.component, $ = S === void 0 ? "div" : S, w = e.itemComponent, P = e.onVisibleChange, C = bt(e, Ro), x = d === "full", D = wo(), O = Zt(D, null), I = re(O, 2), H = I[0], j = I[1], T = H || 0, M = Zt(D, /* @__PURE__ */ new Map()), _ = re(M, 2), Y = _[0], V = _[1], R = Zt(D, 0), L = re(R, 2), k = L[0], W = L[1], Ie = Zt(D, 0), de = re(Ie, 2), fe = de[0], me = de[1], Ae = Zt(D, 0), ie = re(Ae, 2), ye = ie[0], _e = ie[1], N = jt(null), y = re(N, 2), F = y[0], Q = y[1], B = jt(null), E = re(B, 2), ee = E[0], xe = E[1], ae = o.useMemo(function() {
483
483
  return ee === null && x ? Number.MAX_SAFE_INTEGER : ee || 0;
484
484
  }, [ee, H]), ve = jt(!1), Oe = re(ve, 2), le = Oe[0], $e = Oe[1], Ce = "".concat(r, "-item"), be = Math.max(k, fe), Ge = m === Pr, we = a.length && Ge, Te = m === Dr, Pe = we || typeof m == "number" && a.length > m, Le = wn(function() {
485
485
  var oe = a;
@@ -487,20 +487,20 @@ function Po(e, t) {
487
487
  }, [a, f, H, m, we]), Be = wn(function() {
488
488
  return we ? a.slice(ae + 1) : a.slice(Le.length);
489
489
  }, [a, Le, we, ae]), Qe = Jn(function(oe, U) {
490
- var Me;
491
- return typeof u == "function" ? u(oe) : (Me = u && (oe == null ? void 0 : oe[u])) !== null && Me !== void 0 ? Me : U;
490
+ var Re;
491
+ return typeof u == "function" ? u(oe) : (Re = u && (oe == null ? void 0 : oe[u])) !== null && Re !== void 0 ? Re : U;
492
492
  }, [u]), Ze = Jn(l || function(oe) {
493
493
  return oe;
494
494
  }, [l]);
495
- function pe(oe, U, Me) {
496
- ee === oe && (U === void 0 || U === F) || (xe(oe), Me || ($e(oe < a.length - 1), P == null || P(oe)), U !== void 0 && Q(U));
495
+ function pe(oe, U, Re) {
496
+ ee === oe && (U === void 0 || U === F) || (xe(oe), Re || ($e(oe < a.length - 1), P == null || P(oe)), U !== void 0 && Q(U));
497
497
  }
498
498
  function Xe(oe, U) {
499
499
  j(U.clientWidth);
500
500
  }
501
501
  function it(oe, U) {
502
- V(function(Me) {
503
- var We = new Map(Me);
502
+ V(function(Re) {
503
+ var We = new Map(Re);
504
504
  return U === null ? We.delete(oe) : We.set(oe, U), We;
505
505
  });
506
506
  }
@@ -515,7 +515,7 @@ function Po(e, t) {
515
515
  }
516
516
  Ft(function() {
517
517
  if (T && typeof be == "number" && Le) {
518
- var oe = ye, U = Le.length, Me = U - 1;
518
+ var oe = ye, U = Le.length, Re = U - 1;
519
519
  if (!U) {
520
520
  pe(0, null);
521
521
  return;
@@ -527,9 +527,9 @@ function Po(e, t) {
527
527
  break;
528
528
  }
529
529
  if (oe += A, // Only one means `totalWidth` is the final width
530
- Me === 0 && oe <= T || // Last two width will be the final width
531
- We === Me - 1 && oe + je(Me) <= T) {
532
- pe(Me, null);
530
+ Re === 0 && oe <= T || // Last two width will be the final width
531
+ We === Re - 1 && oe + je(Re) <= T) {
532
+ pe(Re, null);
533
533
  break;
534
534
  } else if (oe + be > T) {
535
535
  pe(We - 1, oe - A - ye + fe);
@@ -550,26 +550,26 @@ function Po(e, t) {
550
550
  responsive: we,
551
551
  component: w,
552
552
  invalidate: Te
553
- }, Rt = s ? function(oe, U) {
554
- var Me = Qe(oe, U);
553
+ }, Mt = s ? function(oe, U) {
554
+ var Re = Qe(oe, U);
555
555
  return /* @__PURE__ */ o.createElement(cn.Provider, {
556
- key: Me,
556
+ key: Re,
557
557
  value: ce(ce({}, qe), {}, {
558
558
  order: U,
559
559
  item: oe,
560
- itemKey: Me,
560
+ itemKey: Re,
561
561
  registerSize: it,
562
562
  display: U <= ae
563
563
  })
564
564
  }, s(oe, U));
565
565
  } : function(oe, U) {
566
- var Me = Qe(oe, U);
566
+ var Re = Qe(oe, U);
567
567
  return /* @__PURE__ */ o.createElement(kt, ze({}, qe, {
568
568
  order: U,
569
- key: Me,
569
+ key: Re,
570
570
  item: oe,
571
571
  renderItem: Ze,
572
- itemKey: Me,
572
+ itemKey: Re,
573
573
  registerSize: it,
574
574
  display: U <= ae
575
575
  }));
@@ -584,14 +584,14 @@ function Po(e, t) {
584
584
  value: ce(ce({}, qe), ht)
585
585
  }, p(Be)));
586
586
  else {
587
- var rt = g || Ro;
587
+ var rt = g || Mo;
588
588
  gt = /* @__PURE__ */ o.createElement(kt, ze({}, qe, ht), typeof rt == "function" ? rt(Be) : rt);
589
589
  }
590
590
  var ut = /* @__PURE__ */ o.createElement($, ze({
591
591
  className: Se(!Te && r, c),
592
592
  style: b,
593
593
  ref: t
594
- }, C), Le.map(Rt), Pe ? gt : null, h && /* @__PURE__ */ o.createElement(kt, ze({}, qe, {
594
+ }, C), Le.map(Mt), Pe ? gt : null, h && /* @__PURE__ */ o.createElement(kt, ze({}, qe, {
595
595
  responsive: Ge,
596
596
  responsiveDisabled: !we,
597
597
  order: ae,
@@ -607,11 +607,11 @@ function Po(e, t) {
607
607
  }
608
608
  var rn = /* @__PURE__ */ o.forwardRef(Po);
609
609
  rn.displayName = "Overflow";
610
- rn.Item = Rr;
610
+ rn.Item = Mr;
611
611
  rn.RESPONSIVE = Pr;
612
612
  rn.INVALIDATE = Dr;
613
613
  var Do = function(t, n) {
614
- var r, i = t.prefixCls, a = t.id, l = t.inputElement, s = t.disabled, u = t.tabIndex, v = t.autoFocus, f = t.autoComplete, d = t.editable, b = t.activeDescendantId, c = t.value, m = t.maxLength, g = t.onKeyDown, p = t.onMouseDown, h = t.onChange, S = t.onPaste, $ = t.onCompositionStart, w = t.onCompositionEnd, P = t.open, C = t.attrs, x = l || /* @__PURE__ */ o.createElement("input", null), D = x, O = D.ref, I = D.props, H = I.onKeyDown, j = I.onChange, T = I.onMouseDown, R = I.onCompositionStart, _ = I.onCompositionEnd, Y = I.style;
614
+ var r, i = t.prefixCls, a = t.id, l = t.inputElement, s = t.disabled, u = t.tabIndex, v = t.autoFocus, f = t.autoComplete, d = t.editable, b = t.activeDescendantId, c = t.value, m = t.maxLength, g = t.onKeyDown, p = t.onMouseDown, h = t.onChange, S = t.onPaste, $ = t.onCompositionStart, w = t.onCompositionEnd, P = t.open, C = t.attrs, x = l || /* @__PURE__ */ o.createElement("input", null), D = x, O = D.ref, I = D.props, H = I.onKeyDown, j = I.onChange, T = I.onMouseDown, M = I.onCompositionStart, _ = I.onCompositionEnd, Y = I.style;
615
615
  return gi(!("maxLength" in x.props), "Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."), x = /* @__PURE__ */ o.cloneElement(x, ce(ce(ce({
616
616
  type: "search"
617
617
  }, I), {}, {
@@ -638,20 +638,20 @@ var Do = function(t, n) {
638
638
  style: ce(ce({}, Y), {}, {
639
639
  opacity: d ? null : 0
640
640
  }),
641
- onKeyDown: function(M) {
642
- g(M), H && H(M);
641
+ onKeyDown: function(R) {
642
+ g(R), H && H(R);
643
643
  },
644
- onMouseDown: function(M) {
645
- p(M), T && T(M);
644
+ onMouseDown: function(R) {
645
+ p(R), T && T(R);
646
646
  },
647
- onChange: function(M) {
648
- h(M), j && j(M);
647
+ onChange: function(R) {
648
+ h(R), j && j(R);
649
649
  },
650
- onCompositionStart: function(M) {
651
- $(M), R && R(M);
650
+ onCompositionStart: function(R) {
651
+ $(R), M && M(R);
652
652
  },
653
- onCompositionEnd: function(M) {
654
- w(M), _ && _(M);
653
+ onCompositionEnd: function(R) {
654
+ w(R), _ && _(R);
655
655
  },
656
656
  onPaste: S
657
657
  })), x;
@@ -686,7 +686,7 @@ var rr = function(t) {
686
686
  }, Ho = function(t) {
687
687
  var n = t.id, r = t.prefixCls, i = t.values, a = t.open, l = t.searchValue, s = t.autoClearSearchValue, u = t.inputRef, v = t.placeholder, f = t.disabled, d = t.mode, b = t.showSearch, c = t.autoFocus, m = t.autoComplete, g = t.activeDescendantId, p = t.tabIndex, h = t.removeIcon, S = t.maxTagCount, $ = t.maxTagTextLength, w = t.maxTagPlaceholder, P = w === void 0 ? function(Q) {
688
688
  return "+ ".concat(Q.length, " ...");
689
- } : w, C = t.tagRender, x = t.onToggleOpen, D = t.onRemove, O = t.onInputChange, I = t.onInputPaste, H = t.onInputKeyDown, j = t.onInputMouseDown, T = t.onInputCompositionStart, R = t.onInputCompositionEnd, _ = o.useRef(null), Y = jt(0), V = re(Y, 2), M = V[0], L = V[1], k = jt(!1), W = re(k, 2), Ie = W[0], de = W[1], fe = "".concat(r, "-selection"), me = a || d === "multiple" && s === !1 || d === "tags" ? l : "", Ae = d === "tags" || d === "multiple" && s === !1 || b && (a || Ie);
689
+ } : w, C = t.tagRender, x = t.onToggleOpen, D = t.onRemove, O = t.onInputChange, I = t.onInputPaste, H = t.onInputKeyDown, j = t.onInputMouseDown, T = t.onInputCompositionStart, M = t.onInputCompositionEnd, _ = o.useRef(null), Y = jt(0), V = re(Y, 2), R = V[0], L = V[1], k = jt(!1), W = re(k, 2), Ie = W[0], de = W[1], fe = "".concat(r, "-selection"), me = a || d === "multiple" && s === !1 || d === "tags" ? l : "", Ae = d === "tags" || d === "multiple" && s === !1 || b && (a || Ie);
690
690
  Bo(function() {
691
691
  L(_.current.scrollWidth);
692
692
  }, [me]);
@@ -734,7 +734,7 @@ var rr = function(t) {
734
734
  }, y = /* @__PURE__ */ o.createElement("div", {
735
735
  className: "".concat(fe, "-search"),
736
736
  style: {
737
- width: M
737
+ width: R
738
738
  },
739
739
  onFocus: function() {
740
740
  de(!0);
@@ -759,7 +759,7 @@ var rr = function(t) {
759
759
  onChange: O,
760
760
  onPaste: I,
761
761
  onCompositionStart: T,
762
- onCompositionEnd: R,
762
+ onCompositionEnd: M,
763
763
  tabIndex: p,
764
764
  attrs: tn(t, !0)
765
765
  }), /* @__PURE__ */ o.createElement("span", {
@@ -779,18 +779,18 @@ var rr = function(t) {
779
779
  className: "".concat(fe, "-placeholder")
780
780
  }, v));
781
781
  }, Vo = function(t) {
782
- var n = t.inputElement, r = t.prefixCls, i = t.id, a = t.inputRef, l = t.disabled, s = t.autoFocus, u = t.autoComplete, v = t.activeDescendantId, f = t.mode, d = t.open, b = t.values, c = t.placeholder, m = t.tabIndex, g = t.showSearch, p = t.searchValue, h = t.activeValue, S = t.maxLength, $ = t.onInputKeyDown, w = t.onInputMouseDown, P = t.onInputChange, C = t.onInputPaste, x = t.onInputCompositionStart, D = t.onInputCompositionEnd, O = t.title, I = o.useState(!1), H = re(I, 2), j = H[0], T = H[1], R = f === "combobox", _ = R || g, Y = b[0], V = p || "";
783
- R && h && !j && (V = h), o.useEffect(function() {
784
- R && T(!1);
785
- }, [R, h]);
786
- var M = f !== "combobox" && !d && !g ? !1 : !!V, L = O === void 0 ? zr(Y) : O, k = o.useMemo(function() {
782
+ var n = t.inputElement, r = t.prefixCls, i = t.id, a = t.inputRef, l = t.disabled, s = t.autoFocus, u = t.autoComplete, v = t.activeDescendantId, f = t.mode, d = t.open, b = t.values, c = t.placeholder, m = t.tabIndex, g = t.showSearch, p = t.searchValue, h = t.activeValue, S = t.maxLength, $ = t.onInputKeyDown, w = t.onInputMouseDown, P = t.onInputChange, C = t.onInputPaste, x = t.onInputCompositionStart, D = t.onInputCompositionEnd, O = t.title, I = o.useState(!1), H = re(I, 2), j = H[0], T = H[1], M = f === "combobox", _ = M || g, Y = b[0], V = p || "";
783
+ M && h && !j && (V = h), o.useEffect(function() {
784
+ M && T(!1);
785
+ }, [M, h]);
786
+ var R = f !== "combobox" && !d && !g ? !1 : !!V, L = O === void 0 ? zr(Y) : O, k = o.useMemo(function() {
787
787
  return Y ? null : /* @__PURE__ */ o.createElement("span", {
788
788
  className: "".concat(r, "-selection-placeholder"),
789
- style: M ? {
789
+ style: R ? {
790
790
  visibility: "hidden"
791
791
  } : void 0
792
792
  }, c);
793
- }, [Y, M, c, r]);
793
+ }, [Y, R, c, r]);
794
794
  return /* @__PURE__ */ o.createElement(o.Fragment, null, /* @__PURE__ */ o.createElement("span", {
795
795
  className: "".concat(r, "-selection-search")
796
796
  }, /* @__PURE__ */ o.createElement(Ln, {
@@ -815,11 +815,11 @@ var rr = function(t) {
815
815
  onCompositionEnd: D,
816
816
  tabIndex: m,
817
817
  attrs: tn(t, !0),
818
- maxLength: R ? S : void 0
819
- })), !R && Y ? /* @__PURE__ */ o.createElement("span", {
818
+ maxLength: M ? S : void 0
819
+ })), !M && Y ? /* @__PURE__ */ o.createElement("span", {
820
820
  className: "".concat(r, "-selection-item"),
821
821
  title: L,
822
- style: M ? {
822
+ style: R ? {
823
823
  visibility: "hidden"
824
824
  } : void 0
825
825
  }, Y.label) : null, k);
@@ -827,46 +827,46 @@ var rr = function(t) {
827
827
  var r = De(null), i = De(!1), a = t.prefixCls, l = t.open, s = t.mode, u = t.showSearch, v = t.tokenWithEnter, f = t.disabled, d = t.autoClearSearchValue, b = t.onSearch, c = t.onSearchSubmit, m = t.onToggleOpen, g = t.onInputKeyDown, p = t.domRef;
828
828
  o.useImperativeHandle(n, function() {
829
829
  return {
830
- focus: function(M) {
831
- r.current.focus(M);
830
+ focus: function(R) {
831
+ r.current.focus(R);
832
832
  },
833
833
  blur: function() {
834
834
  r.current.blur();
835
835
  }
836
836
  };
837
837
  });
838
- var h = Mr(0), S = re(h, 2), $ = S[0], w = S[1], P = function(M) {
839
- var L = M.which;
840
- (L === ne.UP || L === ne.DOWN) && M.preventDefault(), g && g(M), L === ne.ENTER && s === "tags" && !i.current && !l && (c == null || c(M.target.value)), yo(L) && m(!0);
838
+ var h = Rr(0), S = re(h, 2), $ = S[0], w = S[1], P = function(R) {
839
+ var L = R.which;
840
+ (L === ne.UP || L === ne.DOWN) && R.preventDefault(), g && g(R), L === ne.ENTER && s === "tags" && !i.current && !l && (c == null || c(R.target.value)), yo(L) && m(!0);
841
841
  }, C = function() {
842
842
  w(!0);
843
- }, x = De(null), D = function(M) {
844
- b(M, !0, i.current) !== !1 && m(!0);
843
+ }, x = De(null), D = function(R) {
844
+ b(R, !0, i.current) !== !1 && m(!0);
845
845
  }, O = function() {
846
846
  i.current = !0;
847
- }, I = function(M) {
848
- i.current = !1, s !== "combobox" && D(M.target.value);
849
- }, H = function(M) {
850
- var L = M.target.value;
847
+ }, I = function(R) {
848
+ i.current = !1, s !== "combobox" && D(R.target.value);
849
+ }, H = function(R) {
850
+ var L = R.target.value;
851
851
  if (v && x.current && /[\r\n]/.test(x.current)) {
852
852
  var k = x.current.replace(/[\r\n]+$/, "").replace(/\r\n/g, " ").replace(/[\r\n]/g, " ");
853
853
  L = L.replace(k, x.current);
854
854
  }
855
855
  x.current = null, D(L);
856
- }, j = function(M) {
857
- var L = M.clipboardData, k = L == null ? void 0 : L.getData("text");
856
+ }, j = function(R) {
857
+ var L = R.clipboardData, k = L == null ? void 0 : L.getData("text");
858
858
  x.current = k || "";
859
- }, T = function(M) {
860
- var L = M.target;
859
+ }, T = function(R) {
860
+ var L = R.target;
861
861
  if (L !== r.current) {
862
862
  var k = document.body.style.msTouchAction !== void 0;
863
863
  k ? setTimeout(function() {
864
864
  r.current.focus();
865
865
  }) : r.current.focus();
866
866
  }
867
- }, R = function(M) {
867
+ }, M = function(R) {
868
868
  var L = $();
869
- M.target !== r.current && !L && !(s === "combobox" && f) && M.preventDefault(), (s !== "combobox" && (!u || !L) || !l) && (l && d !== !1 && b("", !0, !1), m());
869
+ R.target !== r.current && !L && !(s === "combobox" && f) && R.preventDefault(), (s !== "combobox" && (!u || !L) || !l) && (l && d !== !1 && b("", !0, !1), m());
870
870
  }, _ = {
871
871
  inputRef: r,
872
872
  onInputKeyDown: P,
@@ -880,7 +880,7 @@ var rr = function(t) {
880
880
  ref: p,
881
881
  className: "".concat(a, "-selector"),
882
882
  onClick: T,
883
- onMouseDown: R
883
+ onMouseDown: M
884
884
  }, Y);
885
885
  }, _r = /* @__PURE__ */ o.forwardRef(Ao);
886
886
  process.env.NODE_ENV !== "production" && (_r.displayName = "Selector");
@@ -933,8 +933,8 @@ var Fo = ["prefixCls", "disabled", "visible", "children", "popupElement", "anima
933
933
  return m || Wo(g);
934
934
  }, [m, g]), H = s ? "".concat(D, "-").concat(s) : u, j = typeof g == "number", T = o.useMemo(function() {
935
935
  return j ? null : g === !1 ? "minWidth" : "width";
936
- }, [g, j]), R = v;
937
- j && (R = ce(ce({}, R), {}, {
936
+ }, [g, j]), M = v;
937
+ j && (M = ce(ce({}, M), {}, {
938
938
  width: g
939
939
  }));
940
940
  var _ = o.useRef(null);
@@ -961,7 +961,7 @@ var Fo = ["prefixCls", "disabled", "visible", "children", "popupElement", "anima
961
961
  popupVisible: i,
962
962
  getPopupContainer: S,
963
963
  popupClassName: Se(f, ue({}, "".concat(D, "-empty"), $)),
964
- popupStyle: R,
964
+ popupStyle: M,
965
965
  getTriggerDOMNode: w,
966
966
  onPopupVisibleChange: P
967
967
  }), a);
@@ -1053,7 +1053,7 @@ function Uo(e) {
1053
1053
  var qo = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction", "omitDomProps", "displayValues", "onDisplayValuesChange", "emptyOptions", "notFoundContent", "onClear", "mode", "disabled", "loading", "getInputElement", "getRawInputElement", "open", "defaultOpen", "onDropdownVisibleChange", "activeValue", "onActiveValueChange", "activeDescendantId", "searchValue", "autoClearSearchValue", "onSearch", "onSearchSplit", "tokenSeparators", "allowClear", "suffixIcon", "clearIcon", "OptionList", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "placement", "builtinPlacements", "getPopupContainer", "showAction", "onFocus", "onBlur", "onKeyUp", "onKeyDown", "onMouseDown"], Yo = ["value", "onChange", "removeIcon", "placeholder", "autoFocus", "maxTagCount", "maxTagTextLength", "maxTagPlaceholder", "choiceTransitionName", "onInputKeyDown", "onPopupScroll", "tabIndex"], un = function(t) {
1054
1054
  return t === "tags" || t === "multiple";
1055
1055
  }, Br = /* @__PURE__ */ o.forwardRef(function(e, t) {
1056
- var n, r = e.id, i = e.prefixCls, a = e.className, l = e.showSearch, s = e.tagRender, u = e.direction, v = e.omitDomProps, f = e.displayValues, d = e.onDisplayValuesChange, b = e.emptyOptions, c = e.notFoundContent, m = c === void 0 ? "Not Found" : c, g = e.onClear, p = e.mode, h = e.disabled, S = e.loading, $ = e.getInputElement, w = e.getRawInputElement, P = e.open, C = e.defaultOpen, x = e.onDropdownVisibleChange, D = e.activeValue, O = e.onActiveValueChange, I = e.activeDescendantId, H = e.searchValue, j = e.autoClearSearchValue, T = e.onSearch, R = e.onSearchSplit, _ = e.tokenSeparators, Y = e.allowClear, V = e.suffixIcon, M = e.clearIcon, L = e.OptionList, k = e.animation, W = e.transitionName, Ie = e.dropdownStyle, de = e.dropdownClassName, fe = e.dropdownMatchSelectWidth, me = e.dropdownRender, Ae = e.dropdownAlign, ie = e.placement, ye = e.builtinPlacements, _e = e.getPopupContainer, N = e.showAction, y = N === void 0 ? [] : N, F = e.onFocus, Q = e.onBlur, B = e.onKeyUp, E = e.onKeyDown, ee = e.onMouseDown, xe = bt(e, qo), ae = un(p), ve = (l !== void 0 ? l : ae) || p === "combobox", Oe = ce({}, xe);
1056
+ var n, r = e.id, i = e.prefixCls, a = e.className, l = e.showSearch, s = e.tagRender, u = e.direction, v = e.omitDomProps, f = e.displayValues, d = e.onDisplayValuesChange, b = e.emptyOptions, c = e.notFoundContent, m = c === void 0 ? "Not Found" : c, g = e.onClear, p = e.mode, h = e.disabled, S = e.loading, $ = e.getInputElement, w = e.getRawInputElement, P = e.open, C = e.defaultOpen, x = e.onDropdownVisibleChange, D = e.activeValue, O = e.onActiveValueChange, I = e.activeDescendantId, H = e.searchValue, j = e.autoClearSearchValue, T = e.onSearch, M = e.onSearchSplit, _ = e.tokenSeparators, Y = e.allowClear, V = e.suffixIcon, R = e.clearIcon, L = e.OptionList, k = e.animation, W = e.transitionName, Ie = e.dropdownStyle, de = e.dropdownClassName, fe = e.dropdownMatchSelectWidth, me = e.dropdownRender, Ae = e.dropdownAlign, ie = e.placement, ye = e.builtinPlacements, _e = e.getPopupContainer, N = e.showAction, y = N === void 0 ? [] : N, F = e.onFocus, Q = e.onBlur, B = e.onKeyUp, E = e.onKeyDown, ee = e.onMouseDown, xe = bt(e, qo), ae = un(p), ve = (l !== void 0 ? l : ae) || p === "combobox", Oe = ce({}, xe);
1057
1057
  Yo.forEach(function(Ne) {
1058
1058
  delete Oe[Ne];
1059
1059
  }), v == null || v.forEach(function(Ne) {
@@ -1082,16 +1082,16 @@ var qo = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
1082
1082
  return H;
1083
1083
  var ge = (Ne = f[0]) === null || Ne === void 0 ? void 0 : Ne.value;
1084
1084
  return typeof ge == "string" || typeof ge == "number" ? String(ge) : "";
1085
- }, [H, p, f]), Fe = p === "combobox" && typeof $ == "function" && $() || null, je = typeof w == "function" && w(), yt = hi(we, je == null || (n = je.props) === null || n === void 0 ? void 0 : n.ref), ct = o.useState(!1), qe = re(ct, 2), Rt = qe[0], gt = qe[1];
1085
+ }, [H, p, f]), Fe = p === "combobox" && typeof $ == "function" && $() || null, je = typeof w == "function" && w(), yt = hi(we, je == null || (n = je.props) === null || n === void 0 ? void 0 : n.ref), ct = o.useState(!1), qe = re(ct, 2), Mt = qe[0], gt = qe[1];
1086
1086
  Ft(function() {
1087
1087
  gt(!0);
1088
1088
  }, []);
1089
1089
  var ht = en(!1, {
1090
1090
  defaultValue: C,
1091
1091
  value: P
1092
- }), rt = re(ht, 2), ut = rt[0], oe = rt[1], U = Rt ? ut : !1, Me = !m && b;
1093
- (h || Me && U && p === "combobox") && (U = !1);
1094
- var We = Me ? !1 : U, A = o.useCallback(function(Ne) {
1092
+ }), rt = re(ht, 2), ut = rt[0], oe = rt[1], U = Mt ? ut : !1, Re = !m && b;
1093
+ (h || Re && U && p === "combobox") && (U = !1);
1094
+ var We = Re ? !1 : U, A = o.useCallback(function(Ne) {
1095
1095
  var ge = Ne !== void 0 ? Ne : !U;
1096
1096
  h || (oe(ge), U !== ge && (x == null || x(ge)));
1097
1097
  }, [h, U, oe, x]), te = o.useMemo(function() {
@@ -1100,12 +1100,12 @@ var qo = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
1100
1100
  `, `\r
1101
1101
  `].includes(Ne);
1102
1102
  });
1103
- }, [_]), z = o.useContext(jn) || {}, q = z.maxCount, he = z.rawValues, Re = function(ge, dt, ft) {
1103
+ }, [_]), z = o.useContext(jn) || {}, q = z.maxCount, he = z.rawValues, Me = function(ge, dt, ft) {
1104
1104
  if (!(ae && En(q) && (he == null ? void 0 : he.size) >= q)) {
1105
1105
  var Je = !0, lt = ge;
1106
1106
  O == null || O(null);
1107
1107
  var Ot = Go(ge, _, En(q) ? q - he.size : void 0), Tt = ft ? null : Ot;
1108
- return p !== "combobox" && Tt && (lt = "", R == null || R(Tt), A(!1), Je = !1), T && Ue !== lt && T(lt, {
1108
+ return p !== "combobox" && Tt && (lt = "", M == null || M(Tt), A(!1), Je = !1), T && Ue !== lt && T(lt, {
1109
1109
  source: dt ? "typing" : "effect"
1110
1110
  }), Je;
1111
1111
  }
@@ -1115,11 +1115,11 @@ var qo = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
1115
1115
  });
1116
1116
  };
1117
1117
  o.useEffect(function() {
1118
- !U && !ae && p !== "combobox" && Re("", !1, !1);
1118
+ !U && !ae && p !== "combobox" && Me("", !1, !1);
1119
1119
  }, [U]), o.useEffect(function() {
1120
1120
  ut && h && oe(!1), h && !Be.current && Xe(!1);
1121
1121
  }, [h]);
1122
- var ke = Mr(), tt = re(ke, 2), He = tt[0], Ye = tt[1], at = function(ge) {
1122
+ var ke = Rr(), tt = re(ke, 2), He = tt[0], Ye = tt[1], at = function(ge) {
1123
1123
  var dt = He(), ft = ge.which;
1124
1124
  if (ft === ne.ENTER && (p !== "combobox" && ge.preventDefault(), U || A(!0)), Ye(!!Ue), ft === ne.BACKSPACE && !dt && ae && !Ue && f.length) {
1125
1125
  for (var Je = mt(f), lt = null, Ot = Je.length - 1; Ot >= 0; Ot -= 1) {
@@ -1228,8 +1228,8 @@ var qo = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
1228
1228
  g == null || g(), (ge = Pe.current) === null || ge === void 0 || ge.focus(), d([], {
1229
1229
  type: "clear",
1230
1230
  values: f
1231
- }), Re("", !1, !1);
1232
- }, Ke = po(i, Ee, f, Y, M, h, Ue, p), It = Ke.allowClear, Kt = Ke.clearIcon, di = /* @__PURE__ */ o.createElement(L, {
1231
+ }), Me("", !1, !1);
1232
+ }, Ke = po(i, Ee, f, Y, R, h, Ue, p), It = Ke.allowClear, Kt = Ke.clearIcon, di = /* @__PURE__ */ o.createElement(L, {
1233
1233
  ref: Le
1234
1234
  }), fi = Se(i, a, ue(ue(ue(ue(ue(ue(ue(ue(ue(ue({}, "".concat(i, "-focused"), pe), "".concat(i, "-multiple"), ae), "".concat(i, "-single"), !ae), "".concat(i, "-allow-clear"), Y), "".concat(i, "-show-arrow"), _t), "".concat(i, "-disabled"), h), "".concat(i, "-loading"), S), "".concat(i, "-open"), U), "".concat(i, "-customize-input"), Fe), "".concat(i, "-show-search"), ve)), Gn = /* @__PURE__ */ o.createElement(Tr, {
1235
1235
  ref: Te,
@@ -1277,7 +1277,7 @@ var qo = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
1277
1277
  onToggleOpen: A,
1278
1278
  activeValue: D,
1279
1279
  searchValue: Ue,
1280
- onSearch: Re,
1280
+ onSearch: Me,
1281
1281
  onSearchSubmit: ot,
1282
1282
  onRemove: wt,
1283
1283
  tokenWithEnter: te
@@ -1548,8 +1548,8 @@ function oa(e, t, n, r, i, a, l, s) {
1548
1548
  var j = n.get(H);
1549
1549
  D = x + (j === void 0 ? r : j), C = D;
1550
1550
  }
1551
- for (var T = P === "top" ? p : h - p, R = O; R >= 0; R -= 1) {
1552
- var _ = i(t[R]), Y = n.get(_);
1551
+ for (var T = P === "top" ? p : h - p, M = O; M >= 0; M -= 1) {
1552
+ var _ = i(t[M]), Y = n.get(_);
1553
1553
  if (Y === void 0) {
1554
1554
  S = !0;
1555
1555
  break;
@@ -1565,8 +1565,8 @@ function oa(e, t, n, r, i, a, l, s) {
1565
1565
  w = D - h + p;
1566
1566
  break;
1567
1567
  default: {
1568
- var V = e.current.scrollTop, M = V + h;
1569
- x < V ? $ = "top" : D > M && ($ = "bottom");
1568
+ var V = e.current.scrollTop, R = V + h;
1569
+ x < V ? $ = "top" : D > R && ($ = "bottom");
1570
1570
  }
1571
1571
  }
1572
1572
  w !== null && l(w), w !== d.lastTop && (S = !0);
@@ -1605,7 +1605,7 @@ function sr(e, t) {
1605
1605
  return n[t ? "pageX" : "pageY"];
1606
1606
  }
1607
1607
  var On = /* @__PURE__ */ o.forwardRef(function(e, t) {
1608
- var n = e.prefixCls, r = e.rtl, i = e.scrollOffset, a = e.scrollRange, l = e.onStartMove, s = e.onStopMove, u = e.onScroll, v = e.horizontal, f = e.spinSize, d = e.containerSize, b = e.style, c = e.thumbStyle, m = o.useState(!1), g = re(m, 2), p = g[0], h = g[1], S = o.useState(null), $ = re(S, 2), w = $[0], P = $[1], C = o.useState(null), x = re(C, 2), D = x[0], O = x[1], I = !r, H = o.useRef(), j = o.useRef(), T = o.useState(!1), R = re(T, 2), _ = R[0], Y = R[1], V = o.useRef(), M = function() {
1608
+ var n = e.prefixCls, r = e.rtl, i = e.scrollOffset, a = e.scrollRange, l = e.onStartMove, s = e.onStopMove, u = e.onScroll, v = e.horizontal, f = e.spinSize, d = e.containerSize, b = e.style, c = e.thumbStyle, m = o.useState(!1), g = re(m, 2), p = g[0], h = g[1], S = o.useState(null), $ = re(S, 2), w = $[0], P = $[1], C = o.useState(null), x = re(C, 2), D = x[0], O = x[1], I = !r, H = o.useRef(), j = o.useRef(), T = o.useState(!1), M = re(T, 2), _ = M[0], Y = M[1], V = o.useRef(), R = function() {
1609
1609
  clearTimeout(V.current), Y(!0), V.current = setTimeout(function() {
1610
1610
  Y(!1);
1611
1611
  }, 3e3);
@@ -1662,10 +1662,10 @@ var On = /* @__PURE__ */ o.forwardRef(function(e, t) {
1662
1662
  };
1663
1663
  }
1664
1664
  }, [p]), o.useEffect(function() {
1665
- M();
1665
+ R();
1666
1666
  }, [i]), o.useImperativeHandle(t, function() {
1667
1667
  return {
1668
- delayHidden: M
1668
+ delayHidden: R
1669
1669
  };
1670
1670
  });
1671
1671
  var ie = "".concat(n, "-scrollbar"), ye = {
@@ -1683,7 +1683,7 @@ var On = /* @__PURE__ */ o.forwardRef(function(e, t) {
1683
1683
  className: Se(ie, ue(ue(ue({}, "".concat(ie, "-horizontal"), v), "".concat(ie, "-vertical"), !v), "".concat(ie, "-visible"), _)),
1684
1684
  style: ce(ce({}, ye), b),
1685
1685
  onMouseDown: Ie,
1686
- onMouseMove: M
1686
+ onMouseMove: R
1687
1687
  }, /* @__PURE__ */ o.createElement("div", {
1688
1688
  ref: j,
1689
1689
  className: Se("".concat(ie, "-thumb"), ue({}, "".concat(ie, "-thumb-moving"), p)),
@@ -1704,11 +1704,11 @@ var la = ["prefixCls", "className", "height", "itemHeight", "fullHeight", "style
1704
1704
  function ua(e, t) {
1705
1705
  var n = e.prefixCls, r = n === void 0 ? "rc-virtual-list" : n, i = e.className, a = e.height, l = e.itemHeight, s = e.fullHeight, u = s === void 0 ? !0 : s, v = e.style, f = e.data, d = e.children, b = e.itemKey, c = e.virtual, m = e.direction, g = e.scrollWidth, p = e.component, h = p === void 0 ? "div" : p, S = e.onScroll, $ = e.onVirtualScroll, w = e.onVisibleChange, P = e.innerProps, C = e.extraRender, x = e.styles, D = bt(e, la), O = o.useCallback(function(X) {
1706
1706
  return typeof b == "function" ? b(X) : X == null ? void 0 : X[b];
1707
- }, [b]), I = ra(O), H = re(I, 4), j = H[0], T = H[1], R = H[2], _ = H[3], Y = !!(c !== !1 && a && l), V = o.useMemo(function() {
1708
- return Object.values(R.maps).reduce(function(X, K) {
1707
+ }, [b]), I = ra(O), H = re(I, 4), j = H[0], T = H[1], M = H[2], _ = H[3], Y = !!(c !== !1 && a && l), V = o.useMemo(function() {
1708
+ return Object.values(M.maps).reduce(function(X, K) {
1709
1709
  return X + K;
1710
1710
  }, 0);
1711
- }, [R.id, R.maps]), M = Y && f && (Math.max(l * f.length, V) > a || !!g), L = m === "rtl", k = Se(r, ue({}, "".concat(r, "-rtl"), L), i), W = f || sa, Ie = De(), de = De(), fe = De(), me = jt(0), Ae = re(me, 2), ie = Ae[0], ye = Ae[1], _e = jt(0), N = re(_e, 2), y = N[0], F = N[1], Q = jt(!1), B = re(Q, 2), E = B[0], ee = B[1], xe = function() {
1711
+ }, [M.id, M.maps]), R = Y && f && (Math.max(l * f.length, V) > a || !!g), L = m === "rtl", k = Se(r, ue({}, "".concat(r, "-rtl"), L), i), W = f || sa, Ie = De(), de = De(), fe = De(), me = jt(0), Ae = re(me, 2), ie = Ae[0], ye = Ae[1], _e = jt(0), N = re(_e, 2), y = N[0], F = N[1], Q = jt(!1), B = re(Q, 2), E = B[0], ee = B[1], xe = function() {
1712
1712
  ee(!0);
1713
1713
  }, ae = function() {
1714
1714
  ee(!1);
@@ -1719,7 +1719,7 @@ function ua(e, t) {
1719
1719
  ye(function(K) {
1720
1720
  var se;
1721
1721
  typeof X == "function" ? se = X(K) : se = X;
1722
- var Ve = Rt(se);
1722
+ var Ve = Mt(se);
1723
1723
  return Ie.current.scrollTop = Ve, Ve;
1724
1724
  });
1725
1725
  }
@@ -1736,7 +1736,7 @@ function ua(e, t) {
1736
1736
  end: W.length - 1,
1737
1737
  offset: void 0
1738
1738
  };
1739
- if (!M) {
1739
+ if (!R) {
1740
1740
  var X;
1741
1741
  return {
1742
1742
  scrollHeight: ((X = de.current) === null || X === void 0 ? void 0 : X.offsetHeight) || 0,
@@ -1746,7 +1746,7 @@ function ua(e, t) {
1746
1746
  };
1747
1747
  }
1748
1748
  for (var K = 0, se, Ve, pt, Pt = W.length, Ct = 0; Ct < Pt; Ct += 1) {
1749
- var Dt = W[Ct], Et = O(Dt), zt = R.get(Et), _t = K + (zt === void 0 ? l : zt);
1749
+ var Dt = W[Ct], Et = O(Dt), zt = M.get(Et), _t = K + (zt === void 0 ? l : zt);
1750
1750
  _t >= ie && se === void 0 && (se = Ct, Ve = K), _t > ie + a && pt === void 0 && (pt = Ct), K = _t;
1751
1751
  }
1752
1752
  return se === void 0 && (se = 0, Ve = 0, pt = Math.ceil(a / l)), pt === void 0 && (pt = W.length - 1), pt = Math.min(pt + 1, W.length - 1), {
@@ -1755,7 +1755,7 @@ function ua(e, t) {
1755
1755
  end: pt,
1756
1756
  offset: Ve
1757
1757
  };
1758
- }, [M, Y, ie, W, _, a]), Te = we.scrollHeight, Pe = we.start, Le = we.end, Be = we.offset;
1758
+ }, [R, Y, ie, W, _, a]), Te = we.scrollHeight, Pe = we.start, Le = we.end, Be = we.offset;
1759
1759
  le.current.start = Pe, le.current.end = Le;
1760
1760
  var Qe = o.useState({
1761
1761
  width: 0,
@@ -1771,7 +1771,7 @@ function ua(e, t) {
1771
1771
  return cr(pe.height, Te);
1772
1772
  }, [pe.height, Te]), ct = Te - a, qe = De(ct);
1773
1773
  qe.current = ct;
1774
- function Rt(X) {
1774
+ function Mt(X) {
1775
1775
  var K = X;
1776
1776
  return Number.isNaN(qe.current) || (K = Math.min(K, qe.current)), K = Math.max(K, 0), K;
1777
1777
  }
@@ -1780,10 +1780,10 @@ function ua(e, t) {
1780
1780
  x: L ? -y : y,
1781
1781
  y: ie
1782
1782
  };
1783
- }, Me = De(U()), We = bn(function(X) {
1783
+ }, Re = De(U()), We = bn(function(X) {
1784
1784
  if ($) {
1785
1785
  var K = ce(ce({}, U()), X);
1786
- (Me.current.x !== K.x || Me.current.y !== K.y) && ($(K), Me.current = K);
1786
+ (Re.current.x !== K.x || Re.current.y !== K.y) && ($(K), Re.current = K);
1787
1787
  }
1788
1788
  });
1789
1789
  function A(X, K) {
@@ -1809,7 +1809,7 @@ function ua(e, t) {
1809
1809
  var Ve = se + X;
1810
1810
  return Ve;
1811
1811
  });
1812
- }), he = ea(Y, gt, ht, rt, ut, !!g, q), Re = re(he, 2), ot = Re[0], ke = Re[1];
1812
+ }), he = ea(Y, gt, ht, rt, ut, !!g, q), Me = re(he, 2), ot = Me[0], ke = Me[1];
1813
1813
  ia(Y, Ie, function(X, K, se) {
1814
1814
  return oe(X, K, se) ? !1 : (ot({
1815
1815
  preventDefault: function() {
@@ -1836,7 +1836,7 @@ function ua(e, t) {
1836
1836
  var tt = function() {
1837
1837
  var K, se;
1838
1838
  (K = Ue.current) === null || K === void 0 || K.delayHidden(), (se = Fe.current) === null || se === void 0 || se.delayHidden();
1839
- }, He = oa(Ie, W, R, l, O, function() {
1839
+ }, He = oa(Ie, W, M, l, O, function() {
1840
1840
  return T(!0);
1841
1841
  }, Oe, tt);
1842
1842
  o.useImperativeHandle(t, function() {
@@ -1856,10 +1856,10 @@ function ua(e, t) {
1856
1856
  w(X, W);
1857
1857
  }
1858
1858
  }, [Pe, Le, W]);
1859
- var Ye = ta(W, O, R, l), at = C == null ? void 0 : C({
1859
+ var Ye = ta(W, O, M, l), at = C == null ? void 0 : C({
1860
1860
  start: Pe,
1861
1861
  end: Le,
1862
- virtual: M,
1862
+ virtual: R,
1863
1863
  offsetX: y,
1864
1864
  offsetY: Be,
1865
1865
  rtl: L,
@@ -1892,7 +1892,7 @@ function ua(e, t) {
1892
1892
  innerProps: P,
1893
1893
  rtl: L,
1894
1894
  extra: at
1895
- }, Vt))), M && Te > a && /* @__PURE__ */ o.createElement(On, {
1895
+ }, Vt))), R && Te > a && /* @__PURE__ */ o.createElement(On, {
1896
1896
  ref: Ue,
1897
1897
  prefixCls: r,
1898
1898
  scrollOffset: ie,
@@ -1905,7 +1905,7 @@ function ua(e, t) {
1905
1905
  containerSize: pe.height,
1906
1906
  style: x == null ? void 0 : x.verticalScrollBar,
1907
1907
  thumbStyle: x == null ? void 0 : x.verticalScrollBarThumb
1908
- }), M && g > pe.width && /* @__PURE__ */ o.createElement(On, {
1908
+ }), R && g > pe.width && /* @__PURE__ */ o.createElement(On, {
1909
1909
  ref: Fe,
1910
1910
  prefixCls: r,
1911
1911
  scrollOffset: y,
@@ -1935,7 +1935,7 @@ var ma = function(t, n) {
1935
1935
  return g;
1936
1936
  }, [l, g], function(N, y) {
1937
1937
  return y[0] && N[1] !== y[1];
1938
- }), T = o.useRef(null), R = o.useMemo(function() {
1938
+ }), T = o.useRef(null), M = o.useMemo(function() {
1939
1939
  return s && En(m) && (w == null ? void 0 : w.size) >= m;
1940
1940
  }, [s, m, w == null ? void 0 : w.size]), _ = function(y) {
1941
1941
  y.preventDefault();
@@ -1947,13 +1947,13 @@ var ma = function(t, n) {
1947
1947
  }, V = function(y) {
1948
1948
  for (var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, Q = j.length, B = 0; B < Q; B += 1) {
1949
1949
  var E = (y + B * F + Q) % Q, ee = j[E] || {}, xe = ee.group, ae = ee.data;
1950
- if (!xe && !(ae != null && ae.disabled) && !R)
1950
+ if (!xe && !(ae != null && ae.disabled) && !M)
1951
1951
  return E;
1952
1952
  }
1953
1953
  return -1;
1954
- }, M = o.useState(function() {
1954
+ }, R = o.useState(function() {
1955
1955
  return V(0);
1956
- }), L = re(M, 2), k = L[0], W = L[1], Ie = function(y) {
1956
+ }), L = re(R, 2), k = L[0], W = L[1], Ie = function(y) {
1957
1957
  var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
1958
1958
  W(y);
1959
1959
  var Q = {
@@ -2012,7 +2012,7 @@ var ma = function(t, n) {
2012
2012
  }
2013
2013
  case ne.ENTER: {
2014
2014
  var ee, xe = j[k];
2015
- xe && !(xe != null && (ee = xe.data) !== null && ee !== void 0 && ee.disabled) && !R ? fe(xe.value) : fe(void 0), l && y.preventDefault();
2015
+ xe && !(xe != null && (ee = xe.data) !== null && ee !== void 0 && ee.disabled) && !M ? fe(xe.value) : fe(void 0), l && y.preventDefault();
2016
2016
  break;
2017
2017
  }
2018
2018
  case ne.ESC:
@@ -2089,7 +2089,7 @@ var ma = function(t, n) {
2089
2089
  }
2090
2090
  var Oe = B.disabled, le = B.title;
2091
2091
  B.children;
2092
- var $e = B.style, Ce = B.className, be = bt(B, fa), Ge = _n(be, me), we = de(ee), Te = Oe || !we && R, Pe = "".concat(H, "-option"), Le = Se(H, Pe, Ce, ue(ue(ue(ue({}, "".concat(Pe, "-grouped"), Q), "".concat(Pe, "-active"), k === y && !Te), "".concat(Pe, "-disabled"), Te), "".concat(Pe, "-selected"), we)), Be = Ae(N), Qe = !$ || typeof $ == "function" || we, Ze = typeof Be == "number" ? Be : Be || ee, pe = ur(Ze) ? Ze.toString() : void 0;
2092
+ var $e = B.style, Ce = B.className, be = bt(B, fa), Ge = _n(be, me), we = de(ee), Te = Oe || !we && M, Pe = "".concat(H, "-option"), Le = Se(H, Pe, Ce, ue(ue(ue(ue({}, "".concat(Pe, "-grouped"), Q), "".concat(Pe, "-active"), k === y && !Te), "".concat(Pe, "-disabled"), Te), "".concat(Pe, "-selected"), we)), Be = Ae(N), Qe = !$ || typeof $ == "function" || we, Ze = typeof Be == "number" ? Be : Be || ee, pe = ur(Ze) ? Ze.toString() : void 0;
2093
2093
  return le !== void 0 && (pe = le), /* @__PURE__ */ o.createElement("div", ze({}, tn(Ge), C ? {} : ie(N, y), {
2094
2094
  "aria-selected": we,
2095
2095
  className: Le,
@@ -2288,7 +2288,7 @@ function Oa(e) {
2288
2288
  return !e || Ht(e) !== "object";
2289
2289
  }
2290
2290
  var Ar = /* @__PURE__ */ o.forwardRef(function(e, t) {
2291
- var n = e.id, r = e.mode, i = e.prefixCls, a = i === void 0 ? "rc-select" : i, l = e.backfill, s = e.fieldNames, u = e.inputValue, v = e.searchValue, f = e.onSearch, d = e.autoClearSearchValue, b = d === void 0 ? !0 : d, c = e.onSelect, m = e.onDeselect, g = e.dropdownMatchSelectWidth, p = g === void 0 ? !0 : g, h = e.filterOption, S = e.filterSort, $ = e.optionFilterProp, w = e.optionLabelProp, P = e.options, C = e.optionRender, x = e.children, D = e.defaultActiveFirstOption, O = e.menuItemSelectedIcon, I = e.virtual, H = e.direction, j = e.listHeight, T = j === void 0 ? 200 : j, R = e.listItemHeight, _ = R === void 0 ? 20 : R, Y = e.labelRender, V = e.value, M = e.defaultValue, L = e.labelInValue, k = e.onChange, W = e.maxCount, Ie = bt(e, Ea), de = Sa(n), fe = un(r), me = !!(!P && x), Ae = o.useMemo(function() {
2291
+ var n = e.id, r = e.mode, i = e.prefixCls, a = i === void 0 ? "rc-select" : i, l = e.backfill, s = e.fieldNames, u = e.inputValue, v = e.searchValue, f = e.onSearch, d = e.autoClearSearchValue, b = d === void 0 ? !0 : d, c = e.onSelect, m = e.onDeselect, g = e.dropdownMatchSelectWidth, p = g === void 0 ? !0 : g, h = e.filterOption, S = e.filterSort, $ = e.optionFilterProp, w = e.optionLabelProp, P = e.options, C = e.optionRender, x = e.children, D = e.defaultActiveFirstOption, O = e.menuItemSelectedIcon, I = e.virtual, H = e.direction, j = e.listHeight, T = j === void 0 ? 200 : j, M = e.listItemHeight, _ = M === void 0 ? 20 : M, Y = e.labelRender, V = e.value, R = e.defaultValue, L = e.labelInValue, k = e.onChange, W = e.maxCount, Ie = bt(e, Ea), de = Sa(n), fe = un(r), me = !!(!P && x), Ae = o.useMemo(function() {
2292
2292
  return h === void 0 && r === "combobox" ? !1 : h;
2293
2293
  }, [h, r]), ie = o.useMemo(
2294
2294
  function() {
@@ -2309,17 +2309,17 @@ var Ar = /* @__PURE__ */ o.forwardRef(function(e, t) {
2309
2309
  }), _e = re(ye, 2), N = _e[0], y = _e[1], F = $a(P, x, ie, $, w), Q = F.valueOptions, B = F.labelOptions, E = F.options, ee = o.useCallback(function(A) {
2310
2310
  var te = Bn(A);
2311
2311
  return te.map(function(z) {
2312
- var q, he, Re, ot, ke;
2312
+ var q, he, Me, ot, ke;
2313
2313
  if (Oa(z))
2314
2314
  q = z;
2315
2315
  else {
2316
2316
  var tt;
2317
- Re = z.key, he = z.label, q = (tt = z.value) !== null && tt !== void 0 ? tt : Re;
2317
+ Me = z.key, he = z.label, q = (tt = z.value) !== null && tt !== void 0 ? tt : Me;
2318
2318
  }
2319
2319
  var He = Q.get(q);
2320
2320
  if (He) {
2321
2321
  var Ye;
2322
- if (he === void 0 && (he = He == null ? void 0 : He[w || ie.label]), Re === void 0 && (Re = (Ye = He == null ? void 0 : He.key) !== null && Ye !== void 0 ? Ye : q), ot = He == null ? void 0 : He.disabled, ke = He == null ? void 0 : He.title, process.env.NODE_ENV !== "production" && !w) {
2322
+ if (he === void 0 && (he = He == null ? void 0 : He[w || ie.label]), Me === void 0 && (Me = (Ye = He == null ? void 0 : He.key) !== null && Ye !== void 0 ? Ye : q), ot = He == null ? void 0 : He.disabled, ke = He == null ? void 0 : He.title, process.env.NODE_ENV !== "production" && !w) {
2323
2323
  var at = He == null ? void 0 : He[ie.label];
2324
2324
  at !== void 0 && !/* @__PURE__ */ o.isValidElement(at) && !/* @__PURE__ */ o.isValidElement(he) && at !== he && st(!1, "`label` of `value` is not same as `label` in Select options.");
2325
2325
  }
@@ -2327,12 +2327,12 @@ var Ar = /* @__PURE__ */ o.forwardRef(function(e, t) {
2327
2327
  return {
2328
2328
  label: he,
2329
2329
  value: q,
2330
- key: Re,
2330
+ key: Me,
2331
2331
  disabled: ot,
2332
2332
  title: ke
2333
2333
  };
2334
2334
  });
2335
- }, [ie, w, Q]), xe = en(M, {
2335
+ }, [ie, w, Q]), xe = en(R, {
2336
2336
  value: V
2337
2337
  }), ae = re(xe, 2), ve = ae[0], Oe = ae[1], le = o.useMemo(function() {
2338
2338
  var A, te = fe && ve === null ? [] : ve, z = ee(te);
@@ -2393,14 +2393,14 @@ var Ar = /* @__PURE__ */ o.forwardRef(function(e, t) {
2393
2393
  }, [Ze, ie, me]), Xe = function(te) {
2394
2394
  var z = ee(te);
2395
2395
  if (Oe(z), k && // Trigger event only when value changed
2396
- (z.length !== be.length || z.some(function(Re, ot) {
2396
+ (z.length !== be.length || z.some(function(Me, ot) {
2397
2397
  var ke;
2398
- return ((ke = be[ot]) === null || ke === void 0 ? void 0 : ke.value) !== (Re == null ? void 0 : Re.value);
2398
+ return ((ke = be[ot]) === null || ke === void 0 ? void 0 : ke.value) !== (Me == null ? void 0 : Me.value);
2399
2399
  }))) {
2400
- var q = L ? z : z.map(function(Re) {
2401
- return Re.value;
2402
- }), he = z.map(function(Re) {
2403
- return In(Ge(Re.value));
2400
+ var q = L ? z : z.map(function(Me) {
2401
+ return Me.value;
2402
+ }), he = z.map(function(Me) {
2403
+ return In(Ge(Me.value));
2404
2404
  });
2405
2405
  k(
2406
2406
  // Value
@@ -2409,9 +2409,9 @@ var Ar = /* @__PURE__ */ o.forwardRef(function(e, t) {
2409
2409
  fe ? he : he[0]
2410
2410
  );
2411
2411
  }
2412
- }, it = o.useState(null), Ue = re(it, 2), Fe = Ue[0], je = Ue[1], yt = o.useState(0), ct = re(yt, 2), qe = ct[0], Rt = ct[1], gt = D !== void 0 ? D : r !== "combobox", ht = o.useCallback(function(A, te) {
2412
+ }, it = o.useState(null), Ue = re(it, 2), Fe = Ue[0], je = Ue[1], yt = o.useState(0), ct = re(yt, 2), qe = ct[0], Mt = ct[1], gt = D !== void 0 ? D : r !== "combobox", ht = o.useCallback(function(A, te) {
2413
2413
  var z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, q = z.source, he = q === void 0 ? "keyboard" : q;
2414
- Rt(te), l && r === "combobox" && A !== null && he === "keyboard" && je(String(A));
2414
+ Mt(te), l && r === "combobox" && A !== null && he === "keyboard" && je(String(A));
2415
2415
  }, [l, r]), rt = function(te, z, q) {
2416
2416
  var he = function() {
2417
2417
  var vt, X = Ge(te);
@@ -2422,7 +2422,7 @@ var Ar = /* @__PURE__ */ o.forwardRef(function(e, t) {
2422
2422
  } : te, In(X)];
2423
2423
  };
2424
2424
  if (z && c) {
2425
- var Re = he(), ot = re(Re, 2), ke = ot[0], tt = ot[1];
2425
+ var Me = he(), ot = re(Me, 2), ke = ot[0], tt = ot[1];
2426
2426
  c(ke, tt);
2427
2427
  } else if (!z && m && q !== "clear") {
2428
2428
  var He = he(), Ye = re(He, 2), at = Ye[0], Vt = Ye[1];
@@ -2436,8 +2436,8 @@ var Ar = /* @__PURE__ */ o.forwardRef(function(e, t) {
2436
2436
  }), oe = function(te, z) {
2437
2437
  Xe(te);
2438
2438
  var q = z.type, he = z.values;
2439
- (q === "remove" || q === "clear") && he.forEach(function(Re) {
2440
- rt(Re.value, !1, q);
2439
+ (q === "remove" || q === "clear") && he.forEach(function(Me) {
2440
+ rt(Me.value, !1, q);
2441
2441
  });
2442
2442
  }, U = function(te, z) {
2443
2443
  if (y(te), je(null), z.source === "submit") {
@@ -2449,11 +2449,11 @@ var Ar = /* @__PURE__ */ o.forwardRef(function(e, t) {
2449
2449
  return;
2450
2450
  }
2451
2451
  z.source !== "blur" && (r === "combobox" && Xe(te), f == null || f(te));
2452
- }, Me = function(te) {
2452
+ }, Re = function(te) {
2453
2453
  var z = te;
2454
2454
  r !== "tags" && (z = te.map(function(he) {
2455
- var Re = B.get(he);
2456
- return Re == null ? void 0 : Re.value;
2455
+ var Me = B.get(he);
2456
+ return Me == null ? void 0 : Me.value;
2457
2457
  }).filter(function(he) {
2458
2458
  return he !== void 0;
2459
2459
  }));
@@ -2495,7 +2495,7 @@ var Ar = /* @__PURE__ */ o.forwardRef(function(e, t) {
2495
2495
  searchValue: N,
2496
2496
  onSearch: U,
2497
2497
  autoClearSearchValue: b,
2498
- onSearchSplit: Me,
2498
+ onSearchSplit: Re,
2499
2499
  dropdownMatchSelectWidth: p,
2500
2500
  OptionList: Vr,
2501
2501
  emptyOptions: !pe.length,
@@ -2654,7 +2654,7 @@ const Na = (e) => {
2654
2654
  }
2655
2655
  }
2656
2656
  };
2657
- }, Ma = Wt("Empty", (e) => {
2657
+ }, Ra = Wt("Empty", (e) => {
2658
2658
  const {
2659
2659
  componentCls: t,
2660
2660
  controlHeightLG: n,
@@ -2667,7 +2667,7 @@ const Na = (e) => {
2667
2667
  });
2668
2668
  return [Na(i)];
2669
2669
  });
2670
- var Ra = function(e, t) {
2670
+ var Ma = function(e, t) {
2671
2671
  var n = {};
2672
2672
  for (var r in e)
2673
2673
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -2686,12 +2686,12 @@ const Kr = /* @__PURE__ */ o.createElement(Fr, null), Xr = /* @__PURE__ */ o.cre
2686
2686
  children: l,
2687
2687
  imageStyle: s,
2688
2688
  style: u
2689
- } = e, v = Ra(e, ["className", "rootClassName", "prefixCls", "image", "description", "children", "imageStyle", "style"]);
2689
+ } = e, v = Ma(e, ["className", "rootClassName", "prefixCls", "image", "description", "children", "imageStyle", "style"]);
2690
2690
  const {
2691
2691
  getPrefixCls: f,
2692
2692
  direction: d,
2693
2693
  empty: b
2694
- } = o.useContext(xt), c = f("empty", r), [m, g, p] = Ma(c), [h] = Cr("Empty"), S = typeof a < "u" ? a : h == null ? void 0 : h.description, $ = typeof S == "string" ? S : "empty";
2694
+ } = o.useContext(xt), c = f("empty", r), [m, g, p] = Ra(c), [h] = Cr("Empty"), S = typeof a < "u" ? a : h == null ? void 0 : h.description, $ = typeof S == "string" ? S : "empty";
2695
2695
  let w = null;
2696
2696
  return typeof i == "string" ? w = /* @__PURE__ */ o.createElement("img", {
2697
2697
  alt: $,
@@ -3651,7 +3651,7 @@ const Va = (e) => {
3651
3651
  // =====================================================
3652
3652
  // == Space Compact ==
3653
3653
  // =====================================================
3654
- Mi(e, {
3654
+ Ri(e, {
3655
3655
  borderElCls: `${t}-selector`,
3656
3656
  focusElCls: `${t}-focused`
3657
3657
  })
@@ -3703,7 +3703,7 @@ function el(e) {
3703
3703
  componentName: b
3704
3704
  } = e;
3705
3705
  process.env.NODE_ENV !== "production" && zn(b).deprecated(!n, "clearIcon", "allowClear={{ clearIcon: React.ReactNode }}");
3706
- const c = n ?? /* @__PURE__ */ o.createElement(Ri, null), m = (S) => t === null && !s && !d ? null : /* @__PURE__ */ o.createElement(o.Fragment, null, v !== !1 && S, s && f);
3706
+ const c = n ?? /* @__PURE__ */ o.createElement(Mi, null), m = (S) => t === null && !s && !d ? null : /* @__PURE__ */ o.createElement(o.Fragment, null, v !== !1 && S, s && f);
3707
3707
  let g = null;
3708
3708
  if (t !== void 0)
3709
3709
  g = m(t);
@@ -3777,14 +3777,14 @@ const Qr = "SECRET_COMBOBOX_MODE_DO_NOT_USE", Zr = (e, t) => {
3777
3777
  maxCount: H
3778
3778
  } = e, j = nl(e, ["prefixCls", "bordered", "className", "rootClassName", "getPopupContainer", "popupClassName", "dropdownClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "builtinPlacements", "dropdownMatchSelectWidth", "popupMatchSelectWidth", "direction", "style", "allowClear", "variant", "dropdownStyle", "transitionName", "tagRender", "maxCount"]), {
3779
3779
  getPopupContainer: T,
3780
- getPrefixCls: R,
3780
+ getPrefixCls: M,
3781
3781
  renderEmpty: _,
3782
3782
  direction: Y,
3783
3783
  virtual: V,
3784
- popupMatchSelectWidth: M,
3784
+ popupMatchSelectWidth: R,
3785
3785
  popupOverflow: L,
3786
3786
  select: k
3787
- } = o.useContext(xt), [, W] = dn(), Ie = b ?? (W == null ? void 0 : W.controlHeight), de = R("select", r), fe = R(), me = w ?? Y, {
3787
+ } = o.useContext(xt), [, W] = dn(), Ie = b ?? (W == null ? void 0 : W.controlHeight), de = M("select", r), fe = M(), me = w ?? Y, {
3788
3788
  compactSize: Ae,
3789
3789
  compactItemClassnames: ie
3790
3790
  } = zi(de, me), [ye, _e] = _i(x, i), N = Ti(de), [y, F, Q] = Ya(de, N), B = o.useMemo(() => {
@@ -3793,7 +3793,7 @@ const Qr = "SECRET_COMBOBOX_MODE_DO_NOT_USE", Zr = (e, t) => {
3793
3793
  } = e;
3794
3794
  if (Fe !== "combobox")
3795
3795
  return Fe === Qr ? "combobox" : Fe;
3796
- }, [e.mode]), E = B === "multiple" || B === "tags", ee = tl(e.suffixIcon, e.showArrow), xe = (n = $ ?? S) !== null && n !== void 0 ? n : M, {
3796
+ }, [e.mode]), E = B === "multiple" || B === "tags", ee = tl(e.suffixIcon, e.showArrow), xe = (n = $ ?? S) !== null && n !== void 0 ? n : R, {
3797
3797
  status: ae,
3798
3798
  hasFeedback: ve,
3799
3799
  isFormItemInput: Oe,
@@ -3866,12 +3866,12 @@ const Qr = "SECRET_COMBOBOX_MODE_DO_NOT_USE", Zr = (e, t) => {
3866
3866
  })));
3867
3867
  };
3868
3868
  process.env.NODE_ENV !== "production" && (Zr.displayName = "Select");
3869
- const Mt = /* @__PURE__ */ o.forwardRef(Zr), rl = Qi(Mt);
3870
- Mt.SECRET_COMBOBOX_MODE_DO_NOT_USE = Qr;
3871
- Mt.Option = Vn;
3872
- Mt.OptGroup = Hn;
3873
- Mt._InternalPanelDoNotUseOrYouWillBeFired = rl;
3874
- process.env.NODE_ENV !== "production" && (Mt.displayName = "Select");
3869
+ const Rt = /* @__PURE__ */ o.forwardRef(Zr), rl = Qi(Rt);
3870
+ Rt.SECRET_COMBOBOX_MODE_DO_NOT_USE = Qr;
3871
+ Rt.Option = Vn;
3872
+ Rt.OptGroup = Hn;
3873
+ Rt._InternalPanelDoNotUseOrYouWillBeFired = rl;
3874
+ process.env.NODE_ENV !== "production" && (Rt.displayName = "Select");
3875
3875
  var il = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, name: "left", theme: "outlined" }, ol = function(t, n) {
3876
3876
  return /* @__PURE__ */ o.createElement(nn, ze({}, t, {
3877
3877
  ref: n,
@@ -4020,8 +4020,8 @@ const kr = /* @__PURE__ */ Ui({}), sl = (e) => {
4020
4020
  return a[`${r}${t}-flex`] = {
4021
4021
  flex: `var(--${n}${t}-flex)`
4022
4022
  }, a;
4023
- }, Mn = (e, t) => ul(e, t), dl = (e, t, n) => ({
4024
- [`@media (min-width: ${J(t)})`]: Object.assign({}, Mn(e, n))
4023
+ }, Rn = (e, t) => ul(e, t), dl = (e, t, n) => ({
4024
+ [`@media (min-width: ${J(t)})`]: Object.assign({}, Rn(e, n))
4025
4025
  }), fl = () => ({}), ml = () => ({}), gl = Wt("Grid", sl, fl), vl = Wt("Grid", (e) => {
4026
4026
  const t = Nt(e, {
4027
4027
  gridColumns: 24
@@ -4033,7 +4033,7 @@ const kr = /* @__PURE__ */ Ui({}), sl = (e) => {
4033
4033
  "-xl": t.screenXLMin,
4034
4034
  "-xxl": t.screenXXLMin
4035
4035
  };
4036
- return [cl(t), Mn(t, ""), Mn(t, "-xs"), Object.keys(n).map((r) => dl(t, n[r], r)).reduce((r, i) => Object.assign(Object.assign({}, r), i), {})];
4036
+ return [cl(t), Rn(t, ""), Rn(t, "-xs"), Object.keys(n).map((r) => dl(t, n[r], r)).reduce((r, i) => Object.assign(Object.assign({}, r), i), {})];
4037
4037
  }, ml);
4038
4038
  var pl = function(e, t) {
4039
4039
  var n = {};
@@ -4153,10 +4153,10 @@ const ti = /* @__PURE__ */ o.forwardRef((e, t) => {
4153
4153
  xxl: !1
4154
4154
  }), h = hr(i, g), S = hr(r, g), $ = o.useRef(u), w = qi();
4155
4155
  o.useEffect(() => {
4156
- const V = w.subscribe((M) => {
4157
- p(M);
4156
+ const V = w.subscribe((R) => {
4157
+ p(R);
4158
4158
  const L = $.current || 0;
4159
- (!Array.isArray(L) && typeof L == "object" || Array.isArray(L) && (typeof L[0] == "object" || typeof L[1] == "object")) && m(M);
4159
+ (!Array.isArray(L) && typeof L == "object" || Array.isArray(L) && (typeof L[0] == "object" || typeof L[1] == "object")) && m(R);
4160
4160
  });
4161
4161
  return () => w.unsubscribe(V);
4162
4162
  }, []);
@@ -4181,12 +4181,12 @@ const ti = /* @__PURE__ */ o.forwardRef((e, t) => {
4181
4181
  [`${C}-rtl`]: b === "rtl"
4182
4182
  }, a, D, O), j = {}, T = I[0] != null && I[0] > 0 ? I[0] / -2 : void 0;
4183
4183
  T && (j.marginLeft = T, j.marginRight = T);
4184
- const [R, _] = I;
4184
+ const [M, _] = I;
4185
4185
  j.rowGap = _;
4186
4186
  const Y = o.useMemo(() => ({
4187
- gutter: [R, _],
4187
+ gutter: [M, _],
4188
4188
  wrap: v
4189
- }), [R, _, v]);
4189
+ }), [M, _, v]);
4190
4190
  return x(/* @__PURE__ */ o.createElement(kr.Provider, {
4191
4191
  value: Y
4192
4192
  }, /* @__PURE__ */ o.createElement("div", Object.assign({}, f, {
@@ -4543,17 +4543,17 @@ const Ol = function() {
4543
4543
  }
4544
4544
  return e;
4545
4545
  };
4546
- var Nl = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" } }] }, name: "double-left", theme: "outlined" }, Ml = function(t, n) {
4546
+ var Nl = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" } }] }, name: "double-left", theme: "outlined" }, Rl = function(t, n) {
4547
4547
  return /* @__PURE__ */ o.createElement(nn, ze({}, t, {
4548
4548
  ref: n,
4549
4549
  icon: Nl
4550
4550
  }));
4551
- }, Rn = /* @__PURE__ */ o.forwardRef(Ml);
4552
- process.env.NODE_ENV !== "production" && (Rn.displayName = "DoubleLeftOutlined");
4553
- var Rl = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" } }] }, name: "double-right", theme: "outlined" }, Pl = function(t, n) {
4551
+ }, Mn = /* @__PURE__ */ o.forwardRef(Rl);
4552
+ process.env.NODE_ENV !== "production" && (Mn.displayName = "DoubleLeftOutlined");
4553
+ var Ml = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" } }] }, name: "double-right", theme: "outlined" }, Pl = function(t, n) {
4554
4554
  return /* @__PURE__ */ o.createElement(nn, ze({}, t, {
4555
4555
  ref: n,
4556
- icon: Rl
4556
+ icon: Ml
4557
4557
  }));
4558
4558
  }, Pn = /* @__PURE__ */ o.forwardRef(Pl);
4559
4559
  process.env.NODE_ENV !== "production" && (Pn.displayName = "DoubleRightOutlined");
@@ -4574,8 +4574,8 @@ var Dl = {
4574
4574
  }, zl = ["10", "20", "50", "100"], ni = function(t) {
4575
4575
  var n = t.pageSizeOptions, r = n === void 0 ? zl : n, i = t.locale, a = t.changeSize, l = t.pageSize, s = t.goButton, u = t.quickGo, v = t.rootPrefixCls, f = t.selectComponentClass, d = t.selectPrefixCls, b = t.disabled, c = t.buildOptionText, m = G.useState(""), g = re(m, 2), p = g[0], h = g[1], S = function() {
4576
4576
  return !p || Number.isNaN(p) ? void 0 : Number(p);
4577
- }, $ = typeof c == "function" ? c : function(R) {
4578
- return "".concat(R, " ").concat(i.items_per_page);
4577
+ }, $ = typeof c == "function" ? c : function(M) {
4578
+ return "".concat(M, " ").concat(i.items_per_page);
4579
4579
  }, w = function(_) {
4580
4580
  a == null || a(Number(_));
4581
4581
  }, P = function(_) {
@@ -4588,19 +4588,19 @@ var Dl = {
4588
4588
  return r.some(function(_) {
4589
4589
  return _.toString() === l.toString();
4590
4590
  }) ? r : r.concat([l.toString()]).sort(function(_, Y) {
4591
- var V = Number.isNaN(Number(_)) ? 0 : Number(_), M = Number.isNaN(Number(Y)) ? 0 : Number(Y);
4592
- return V - M;
4591
+ var V = Number.isNaN(Number(_)) ? 0 : Number(_), R = Number.isNaN(Number(Y)) ? 0 : Number(Y);
4592
+ return V - R;
4593
4593
  });
4594
4594
  }, O = "".concat(v, "-options");
4595
4595
  if (!a && !u)
4596
4596
  return null;
4597
4597
  var I = null, H = null, j = null;
4598
4598
  if (a && f) {
4599
- var T = D().map(function(R, _) {
4599
+ var T = D().map(function(M, _) {
4600
4600
  return /* @__PURE__ */ G.createElement(f.Option, {
4601
4601
  key: _,
4602
- value: R.toString()
4603
- }, $(R));
4602
+ value: M.toString()
4603
+ }, $(M));
4604
4604
  });
4605
4605
  I = /* @__PURE__ */ G.createElement(f, {
4606
4606
  disabled: b,
@@ -4673,7 +4673,7 @@ function At(e, t, n) {
4673
4673
  return Math.floor((n - 1) / r) + 1;
4674
4674
  }
4675
4675
  var ri = function(t) {
4676
- var n, r = t.prefixCls, i = r === void 0 ? "rc-pagination" : r, a = t.selectPrefixCls, l = a === void 0 ? "rc-select" : a, s = t.className, u = t.selectComponentClass, v = t.current, f = t.defaultCurrent, d = f === void 0 ? 1 : f, b = t.total, c = b === void 0 ? 0 : b, m = t.pageSize, g = t.defaultPageSize, p = g === void 0 ? 10 : g, h = t.onChange, S = h === void 0 ? Sn : h, $ = t.hideOnSinglePage, w = t.showPrevNextJumpers, P = w === void 0 ? !0 : w, C = t.showQuickJumper, x = t.showLessItems, D = t.showTitle, O = D === void 0 ? !0 : D, I = t.onShowSizeChange, H = I === void 0 ? Sn : I, j = t.locale, T = j === void 0 ? Dl : j, R = t.style, _ = t.totalBoundaryShowSizeChanger, Y = _ === void 0 ? 50 : _, V = t.disabled, M = t.simple, L = t.showTotal, k = t.showSizeChanger, W = t.pageSizeOptions, Ie = t.itemRender, de = Ie === void 0 ? _l : Ie, fe = t.jumpPrevIcon, me = t.jumpNextIcon, Ae = t.prevIcon, ie = t.nextIcon, ye = G.useRef(null), _e = en(10, {
4676
+ var n, r = t.prefixCls, i = r === void 0 ? "rc-pagination" : r, a = t.selectPrefixCls, l = a === void 0 ? "rc-select" : a, s = t.className, u = t.selectComponentClass, v = t.current, f = t.defaultCurrent, d = f === void 0 ? 1 : f, b = t.total, c = b === void 0 ? 0 : b, m = t.pageSize, g = t.defaultPageSize, p = g === void 0 ? 10 : g, h = t.onChange, S = h === void 0 ? Sn : h, $ = t.hideOnSinglePage, w = t.showPrevNextJumpers, P = w === void 0 ? !0 : w, C = t.showQuickJumper, x = t.showLessItems, D = t.showTitle, O = D === void 0 ? !0 : D, I = t.onShowSizeChange, H = I === void 0 ? Sn : I, j = t.locale, T = j === void 0 ? Dl : j, M = t.style, _ = t.totalBoundaryShowSizeChanger, Y = _ === void 0 ? 50 : _, V = t.disabled, R = t.simple, L = t.showTotal, k = t.showSizeChanger, W = t.pageSizeOptions, Ie = t.itemRender, de = Ie === void 0 ? _l : Ie, fe = t.jumpPrevIcon, me = t.jumpNextIcon, Ae = t.prevIcon, ie = t.nextIcon, ye = G.useRef(null), _e = en(10, {
4677
4677
  value: m,
4678
4678
  defaultValue: p
4679
4679
  }), N = re(_e, 2), y = N[0], F = N[1], Q = en(1, {
@@ -4756,7 +4756,7 @@ var ri = function(t) {
4756
4756
  Ee.apply(void 0, It);
4757
4757
  }
4758
4758
  }
4759
- function Rt(Z) {
4759
+ function Mt(Z) {
4760
4760
  qe(Z, Fe);
4761
4761
  }
4762
4762
  function gt(Z) {
@@ -4783,7 +4783,7 @@ var ri = function(t) {
4783
4783
  function U(Z) {
4784
4784
  (Z.type === "click" || Z.keyCode === ne.ENTER) && pe(ve);
4785
4785
  }
4786
- var Me = null, We = tn(t, {
4786
+ var Re = null, We = tn(t, {
4787
4787
  aria: !0,
4788
4788
  data: !0
4789
4789
  }), A = L && /* @__PURE__ */ G.createElement("li", {
@@ -4798,8 +4798,8 @@ var ri = function(t) {
4798
4798
  showTitle: O,
4799
4799
  itemRender: de,
4800
4800
  page: -1
4801
- }, Re = E - 1 > 0 ? E - 1 : 0, ot = E + 1 < z ? E + 1 : z, ke = C && C.goButton, tt = ke, He = null;
4802
- M && (ke && (typeof ke == "boolean" ? tt = /* @__PURE__ */ G.createElement("button", {
4801
+ }, Me = E - 1 > 0 ? E - 1 : 0, ot = E + 1 < z ? E + 1 : z, ke = C && C.goButton, tt = ke, He = null;
4802
+ R && (ke && (typeof ke == "boolean" ? tt = /* @__PURE__ */ G.createElement("button", {
4803
4803
  type: "button",
4804
4804
  onClick: U,
4805
4805
  onKeyUp: U
@@ -4839,7 +4839,7 @@ var ri = function(t) {
4839
4839
  })));
4840
4840
  } else {
4841
4841
  var Vt = x ? T.prev_3 : T.prev_5, wt = x ? T.next_3 : T.next_5, vt = de(Ce, "jump-prev", Ge(fe, "prev page")), X = de(be, "jump-next", Ge(me, "next page"));
4842
- P && (Me = vt ? /* @__PURE__ */ G.createElement("li", {
4842
+ P && (Re = vt ? /* @__PURE__ */ G.createElement("li", {
4843
4843
  title: O ? Vt : null,
4844
4844
  key: "prev",
4845
4845
  onClick: yt,
@@ -4864,7 +4864,7 @@ var ri = function(t) {
4864
4864
  })));
4865
4865
  if (E - 1 >= Ye * 2 && E !== 3 && (q[0] = /* @__PURE__ */ G.cloneElement(q[0], {
4866
4866
  className: Se("".concat(i, "-item-after-jump-prev"), q[0].props.className)
4867
- }), q.unshift(Me)), z - E >= Ye * 2 && E !== z - 2) {
4867
+ }), q.unshift(Re)), z - E >= Ye * 2 && E !== z - 2) {
4868
4868
  var pt = q[q.length - 1];
4869
4869
  q[q.length - 1] = /* @__PURE__ */ G.cloneElement(pt, {
4870
4870
  className: Se("".concat(i, "-item-before-jump-next"), pt.props.className)
@@ -4878,14 +4878,14 @@ var ri = function(t) {
4878
4878
  page: z
4879
4879
  })));
4880
4880
  }
4881
- var Pt = ut(Re);
4881
+ var Pt = ut(Me);
4882
4882
  if (Pt) {
4883
4883
  var Ct = !Xe || !z;
4884
4884
  Pt = /* @__PURE__ */ G.createElement("li", {
4885
4885
  title: O ? T.prev_page : null,
4886
4886
  onClick: Fe,
4887
4887
  tabIndex: Ct ? null : 0,
4888
- onKeyDown: Rt,
4888
+ onKeyDown: Mt,
4889
4889
  className: Se("".concat(i, "-prev"), ue({}, "".concat(i, "-disabled"), Ct)),
4890
4890
  "aria-disabled": Ct
4891
4891
  }, Pt);
@@ -4893,7 +4893,7 @@ var ri = function(t) {
4893
4893
  var Dt = oe(ot);
4894
4894
  if (Dt) {
4895
4895
  var Et, zt;
4896
- M ? (Et = !it, zt = Xe ? 0 : null) : (Et = !it || !z, zt = Et ? null : 0), Dt = /* @__PURE__ */ G.createElement("li", {
4896
+ R ? (Et = !it, zt = Xe ? 0 : null) : (Et = !it || !z, zt = Et ? null : 0), Dt = /* @__PURE__ */ G.createElement("li", {
4897
4897
  title: O ? T.next_page : null,
4898
4898
  onClick: je,
4899
4899
  tabIndex: zt,
@@ -4902,12 +4902,12 @@ var ri = function(t) {
4902
4902
  "aria-disabled": Et
4903
4903
  }, Dt);
4904
4904
  }
4905
- var _t = Se(i, s, (n = {}, ue(n, "".concat(i, "-simple"), M), ue(n, "".concat(i, "-disabled"), V), n));
4905
+ var _t = Se(i, s, (n = {}, ue(n, "".concat(i, "-simple"), R), ue(n, "".concat(i, "-disabled"), V), n));
4906
4906
  return /* @__PURE__ */ G.createElement("ul", ze({
4907
4907
  className: _t,
4908
- style: R,
4908
+ style: M,
4909
4909
  ref: ye
4910
- }, We), A, Pt, M ? He : q, Dt, /* @__PURE__ */ G.createElement(ni, {
4910
+ }, We), A, Pt, R ? He : q, Dt, /* @__PURE__ */ G.createElement(ni, {
4911
4911
  locale: T,
4912
4912
  rootPrefixCls: i,
4913
4913
  disabled: V,
@@ -4921,15 +4921,15 @@ var ri = function(t) {
4921
4921
  }));
4922
4922
  };
4923
4923
  process.env.NODE_ENV !== "production" && (ri.displayName = "Pagination");
4924
- const ii = (e) => /* @__PURE__ */ o.createElement(Mt, Object.assign({}, e, {
4924
+ const ii = (e) => /* @__PURE__ */ o.createElement(Rt, Object.assign({}, e, {
4925
4925
  showSearch: !0,
4926
4926
  size: "small"
4927
- })), oi = (e) => /* @__PURE__ */ o.createElement(Mt, Object.assign({}, e, {
4927
+ })), oi = (e) => /* @__PURE__ */ o.createElement(Rt, Object.assign({}, e, {
4928
4928
  showSearch: !0,
4929
4929
  size: "middle"
4930
4930
  }));
4931
- ii.Option = Mt.Option;
4932
- oi.Option = Mt.Option;
4931
+ ii.Option = Rt.Option;
4932
+ oi.Option = Rt.Option;
4933
4933
  const Tl = (e) => {
4934
4934
  const {
4935
4935
  componentCls: t
@@ -5544,7 +5544,7 @@ const si = (e) => {
5544
5544
  direction: g,
5545
5545
  pagination: p = {}
5546
5546
  } = o.useContext(xt), h = m("pagination", t), [S, $, w] = Fl(h), P = f ?? p.showSizeChanger, C = o.useMemo(() => {
5547
- const R = /* @__PURE__ */ o.createElement("span", {
5547
+ const M = /* @__PURE__ */ o.createElement("span", {
5548
5548
  className: `${h}-item-ellipsis`
5549
5549
  }, "•••"), _ = /* @__PURE__ */ o.createElement("button", {
5550
5550
  className: `${h}-item-link`,
@@ -5560,22 +5560,22 @@ const si = (e) => {
5560
5560
  className: `${h}-item-container`
5561
5561
  }, g === "rtl" ? /* @__PURE__ */ o.createElement(Pn, {
5562
5562
  className: `${h}-item-link-icon`
5563
- }) : /* @__PURE__ */ o.createElement(Rn, {
5563
+ }) : /* @__PURE__ */ o.createElement(Mn, {
5564
5564
  className: `${h}-item-link-icon`
5565
- }), R)), M = /* @__PURE__ */ o.createElement("a", {
5565
+ }), M)), R = /* @__PURE__ */ o.createElement("a", {
5566
5566
  className: `${h}-item-link`
5567
5567
  }, /* @__PURE__ */ o.createElement("div", {
5568
5568
  className: `${h}-item-container`
5569
- }, g === "rtl" ? /* @__PURE__ */ o.createElement(Rn, {
5569
+ }, g === "rtl" ? /* @__PURE__ */ o.createElement(Mn, {
5570
5570
  className: `${h}-item-link-icon`
5571
5571
  }) : /* @__PURE__ */ o.createElement(Pn, {
5572
5572
  className: `${h}-item-link-icon`
5573
- }), R));
5573
+ }), M));
5574
5574
  return {
5575
5575
  prevIcon: _,
5576
5576
  nextIcon: Y,
5577
5577
  jumpPrevIcon: V,
5578
- jumpNextIcon: M
5578
+ jumpNextIcon: R
5579
5579
  };
5580
5580
  }, [g, h]), [x] = Cr("Pagination", Ii), D = Object.assign(Object.assign({}, x), s), O = Tn(l), I = O === "small" || !!(b && !O && v), H = m("select", n), j = Se({
5581
5581
  [`${h}-mini`]: I,
@@ -6030,14 +6030,14 @@ function qt(e) {
6030
6030
  getPrefixCls: H,
6031
6031
  renderEmpty: j,
6032
6032
  direction: T,
6033
- list: R
6033
+ list: M
6034
6034
  } = o.useContext(xt), _ = {
6035
6035
  current: 1,
6036
6036
  total: 0
6037
6037
  }, Y = (le) => ($e, Ce) => {
6038
6038
  var be;
6039
6039
  D($e), I(Ce), n && n[le] && ((be = n == null ? void 0 : n[le]) === null || be === void 0 || be.call(n, $e, Ce));
6040
- }, V = Y("onChange"), M = Y("onShowSizeChange"), L = (le, $e) => {
6040
+ }, V = Y("onChange"), R = Y("onShowSizeChange"), L = (le, $e) => {
6041
6041
  if (!$)
6042
6042
  return null;
6043
6043
  let Ce;
@@ -6068,7 +6068,7 @@ function qt(e) {
6068
6068
  [`${W}-grid`]: !!b,
6069
6069
  [`${W}-something-after-last-item`]: k(),
6070
6070
  [`${W}-rtl`]: T === "rtl"
6071
- }, R == null ? void 0 : R.className, l, s, de, fe), N = Ol(_, {
6071
+ }, M == null ? void 0 : M.className, l, s, de, fe), N = Ol(_, {
6072
6072
  total: c.length,
6073
6073
  current: x,
6074
6074
  pageSize: O
@@ -6078,7 +6078,7 @@ function qt(e) {
6078
6078
  className: Se(`${W}-pagination`, `${W}-pagination-align-${(t = N == null ? void 0 : N.align) !== null && t !== void 0 ? t : "end"}`)
6079
6079
  }, /* @__PURE__ */ o.createElement(si, Object.assign({}, N, {
6080
6080
  onChange: V,
6081
- onShowSizeChange: M
6081
+ onShowSizeChange: R
6082
6082
  }))) : null;
6083
6083
  let Q = mt(c);
6084
6084
  n && c.length > (N.current - 1) * N.pageSize && (Q = mt(c).splice((N.current - 1) * N.pageSize, N.pageSize));
@@ -6126,7 +6126,7 @@ function qt(e) {
6126
6126
  return Ie(/* @__PURE__ */ o.createElement(Xn.Provider, {
6127
6127
  value: Oe
6128
6128
  }, /* @__PURE__ */ o.createElement("div", Object.assign({
6129
- style: Object.assign(Object.assign({}, R == null ? void 0 : R.style), u),
6129
+ style: Object.assign(Object.assign({}, M == null ? void 0 : M.style), u),
6130
6130
  className: _e
6131
6131
  }, P), (ve === "top" || ve === "both") && F, g && /* @__PURE__ */ o.createElement("div", {
6132
6132
  className: `${W}-header`
@@ -6138,7 +6138,11 @@ process.env.NODE_ENV !== "production" && (qt.displayName = "List");
6138
6138
  qt.Item = ui;
6139
6139
  var Dn = /* @__PURE__ */ ((e) => (e.ALL = "ALL", e.UNARCHIVED = "UNARCHIVED", e))(Dn || {});
6140
6140
  const gs = (e) => {
6141
- const t = {
6141
+ var r;
6142
+ const t = Yt(xr);
6143
+ if (!t)
6144
+ return null;
6145
+ const n = {
6142
6146
  buttonWidth: e.buttonWidth || 40,
6143
6147
  buttonHeight: e.buttonHeight || 40,
6144
6148
  popupWidth: e.popupWidth || 400,
@@ -6151,10 +6155,12 @@ const gs = (e) => {
6151
6155
  style: e.style || {},
6152
6156
  unreadBadgeProps: e.unreadBadgeProps ?? {},
6153
6157
  count: e.count || "COUNT_UNOPENED_NOTIFICATIONS",
6154
- filter: e.filter || "ALL"
6155
- /* ALL */
6156
- }, n = Yt(xr);
6157
- return n ? /* @__PURE__ */ nt(
6158
+ filter: e.filter || "ALL",
6159
+ renderers: {
6160
+ notification: (r = e.renderers) == null ? void 0 : r.notification
6161
+ }
6162
+ };
6163
+ return /* @__PURE__ */ nt(
6158
6164
  ki,
6159
6165
  {
6160
6166
  autoAdjustOverflow: !0,
@@ -6163,20 +6169,21 @@ const gs = (e) => {
6163
6169
  ts,
6164
6170
  {
6165
6171
  maxHeight: 500,
6166
- pagination: t.pagination,
6167
- filter: t.filter,
6168
- imageShape: t.imageShape,
6169
- pageSize: t.pageSize,
6170
- pagePosition: t.pagePosition
6172
+ pagination: n.pagination,
6173
+ filter: n.filter,
6174
+ imageShape: n.imageShape,
6175
+ pageSize: n.pageSize,
6176
+ pagePosition: n.pagePosition,
6177
+ notificationRenderer: n.renderers.notification
6171
6178
  }
6172
6179
  ),
6173
- onOpenChange: (r) => {
6174
- r && n.markAsOpened();
6180
+ onOpenChange: (i) => {
6181
+ i && t.markAsOpened();
6175
6182
  },
6176
6183
  arrow: !1,
6177
6184
  overlayStyle: {
6178
6185
  padding: "0 16px",
6179
- minWidth: t.popupWidth
6186
+ minWidth: n.popupWidth
6180
6187
  },
6181
6188
  children: /* @__PURE__ */ nt(
6182
6189
  "div",
@@ -6192,8 +6199,8 @@ const gs = (e) => {
6192
6199
  top: 5,
6193
6200
  right: 5
6194
6201
  },
6195
- count: t.count,
6196
- filter: t.filter,
6202
+ count: n.count,
6203
+ filter: n.filter,
6197
6204
  children: /* @__PURE__ */ nt(
6198
6205
  eo,
6199
6206
  {
@@ -6201,13 +6208,13 @@ const gs = (e) => {
6201
6208
  Yi,
6202
6209
  {
6203
6210
  style: {
6204
- fontSize: t.buttonIconSize
6211
+ fontSize: n.buttonIconSize
6205
6212
  }
6206
6213
  }
6207
6214
  ),
6208
6215
  style: {
6209
- width: t.buttonWidth,
6210
- height: t.buttonHeight
6216
+ width: n.buttonWidth,
6217
+ height: n.buttonHeight
6211
6218
  },
6212
6219
  shape: "circle",
6213
6220
  type: "text"
@@ -6218,12 +6225,15 @@ const gs = (e) => {
6218
6225
  }
6219
6226
  )
6220
6227
  }
6221
- ) : null;
6228
+ );
6222
6229
  };
6223
6230
  var es = /* @__PURE__ */ ((e) => (e.INFINITE_SCROLL = "infinite_scroll", e.PAGINATED = "paginated", e))(es || {});
6224
6231
  const ts = (e) => {
6225
- const t = Yt(xr), n = (r) => e.filter === Dn.ALL || !e.filter ? r : e.filter === Dn.UNARCHIVED ? r.filter((i) => !i.archived) : r.filter(e.filter);
6226
- return !t || t.notifications === void 0 ? null : /* @__PURE__ */ nt("div", { children: e.pagination === "INFINITE_SCROLL" ? /* @__PURE__ */ mi(
6232
+ const t = Yt(xr);
6233
+ if (!t)
6234
+ return null;
6235
+ const n = (r) => e.filter === Dn.ALL || !e.filter ? r : e.filter === Dn.UNARCHIVED ? r.filter((i) => !i.archived) : r.filter(e.filter);
6236
+ return t.notifications === void 0 ? null : /* @__PURE__ */ nt("div", { children: e.pagination === "INFINITE_SCROLL" ? /* @__PURE__ */ mi(
6227
6237
  qt,
6228
6238
  {
6229
6239
  header: /* @__PURE__ */ nt(Un, { markAsArchived: t.markAsArchived }),
@@ -6254,7 +6264,8 @@ const ts = (e) => {
6254
6264
  imageShape: e.imageShape,
6255
6265
  markAsArchived: t.markAsArchived,
6256
6266
  notification: r,
6257
- markAsClicked: t.markAsClicked
6267
+ markAsClicked: t.markAsClicked,
6268
+ renderer: e.notificationRenderer
6258
6269
  }
6259
6270
  ) }, r.id)
6260
6271
  }