ysyt-react-agent-lib 1.0.37 → 1.0.39

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.
@@ -3930,10 +3930,10 @@ function pM(e, A, t, n) {
3930
3930
  var z = ot(function(DA) {
3931
3931
  var kA = x();
3932
3932
  if (kA !== Tr) {
3933
- var EA = Z();
3934
- if (!(DA && !DA.deadline && DA.target !== EA)) {
3933
+ var IA = Z();
3934
+ if (!(DA && !DA.deadline && DA.target !== IA)) {
3935
3935
  var uA = H.current, SA;
3936
- kA === za && uA ? SA = M == null ? void 0 : M(EA, DA) : kA === Xa && uA ? SA = g == null ? void 0 : g(EA, DA) : kA === $a && uA && (SA = Q == null ? void 0 : Q(EA, DA)), uA && SA !== !1 && L();
3936
+ kA === za && uA ? SA = M == null ? void 0 : M(IA, DA) : kA === Xa && uA ? SA = g == null ? void 0 : g(IA, DA) : kA === $a && uA && (SA = Q == null ? void 0 : Q(IA, DA)), uA && SA !== !1 && L();
3937
3937
  }
3938
3938
  }
3939
3939
  }), J = cM(z), eA = W(J, 1), nA = eA[0], iA = function(kA) {
@@ -3955,8 +3955,8 @@ function pM(e, A, t, n) {
3955
3955
  return kA ? kA(Z()) : Km;
3956
3956
  }
3957
3957
  if (rA in X) {
3958
- var EA;
3959
- K(((EA = X[rA]) === null || EA === void 0 ? void 0 : EA.call(X, Z(), null)) || null);
3958
+ var IA;
3959
+ K(((IA = X[rA]) === null || IA === void 0 ? void 0 : IA.call(X, Z(), null)) || null);
3960
3960
  }
3961
3961
  return rA === Yi && Y !== Tr && (nA(Z()), u > 0 && (clearTimeout(P.current), P.current = setTimeout(function() {
3962
3962
  z({
@@ -3973,8 +3973,8 @@ function pM(e, A, t, n) {
3973
3973
  k.current = !0;
3974
3974
  var kA;
3975
3975
  !DA && A && a && (kA = za), DA && A && i && (kA = Xa), (DA && !A && l || !DA && V && !A && l) && (kA = $a);
3976
- var EA = iA(kA);
3977
- kA && (e || EA[Un]) ? (T(kA), oA()) : T(Tr), MA.current = A;
3976
+ var IA = iA(kA);
3977
+ kA && (e || IA[Un]) ? (T(kA), oA()) : T(Tr), MA.current = A;
3978
3978
  }
3979
3979
  }, [A]), _e(function() {
3980
3980
  // Cancel appear
@@ -4297,7 +4297,7 @@ const xM = (e) => {
4297
4297
  tag: OA,
4298
4298
  table: DA,
4299
4299
  card: kA,
4300
- tabs: EA,
4300
+ tabs: IA,
4301
4301
  timeline: uA,
4302
4302
  timePicker: SA,
4303
4303
  upload: KA,
@@ -4316,7 +4316,7 @@ const xM = (e) => {
4316
4316
  popconfirm: Te,
4317
4317
  floatButtonGroup: aA,
4318
4318
  variant: CA,
4319
- inputNumber: IA,
4319
+ inputNumber: vA,
4320
4320
  treeSelect: he
4321
4321
  } = e, Le = c.useCallback((ZA, D) => {
4322
4322
  const {
@@ -4385,7 +4385,7 @@ const xM = (e) => {
4385
4385
  tag: OA,
4386
4386
  table: DA,
4387
4387
  card: kA,
4388
- tabs: EA,
4388
+ tabs: IA,
4389
4389
  timeline: uA,
4390
4390
  timePicker: SA,
4391
4391
  upload: KA,
@@ -4404,7 +4404,7 @@ const xM = (e) => {
4404
4404
  popconfirm: Te,
4405
4405
  floatButtonGroup: aA,
4406
4406
  variant: CA,
4407
- inputNumber: IA,
4407
+ inputNumber: vA,
4408
4408
  treeSelect: he
4409
4409
  };
4410
4410
  process.env.NODE_ENV !== "production" && gt("ConfigProvider")(!("autoInsertSpaceInButton" in e), "deprecated", "`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");
@@ -4427,23 +4427,23 @@ const xM = (e) => {
4427
4427
  csp: me,
4428
4428
  layer: ye ? "antd" : void 0
4429
4429
  }), [Qe, me, ye]);
4430
- let vA = /* @__PURE__ */ c.createElement(c.Fragment, null, /* @__PURE__ */ c.createElement(wM, {
4430
+ let EA = /* @__PURE__ */ c.createElement(c.Fragment, null, /* @__PURE__ */ c.createElement(wM, {
4431
4431
  dropdownMatchSelectWidth: h
4432
4432
  }), A);
4433
4433
  const JA = c.useMemo(() => {
4434
4434
  var ZA, D, lA, dA;
4435
4435
  return ki(((ZA = oo.Form) === null || ZA === void 0 ? void 0 : ZA.defaultValidateMessages) || {}, ((lA = (D = le.locale) === null || D === void 0 ? void 0 : D.Form) === null || lA === void 0 ? void 0 : lA.defaultValidateMessages) || {}, ((dA = le.form) === null || dA === void 0 ? void 0 : dA.validateMessages) || {}, (o == null ? void 0 : o.validateMessages) || {});
4436
4436
  }, [le, o == null ? void 0 : o.validateMessages]);
4437
- Object.keys(JA).length > 0 && (vA = /* @__PURE__ */ c.createElement(Gy.Provider, {
4437
+ Object.keys(JA).length > 0 && (EA = /* @__PURE__ */ c.createElement(Gy.Provider, {
4438
4438
  value: JA
4439
- }, vA)), a && (vA = /* @__PURE__ */ c.createElement(Rm, {
4439
+ }, EA)), a && (EA = /* @__PURE__ */ c.createElement(Rm, {
4440
4440
  locale: a,
4441
4441
  _ANT_MARK__: bm
4442
- }, vA)), vA = /* @__PURE__ */ c.createElement(fd.Provider, {
4442
+ }, EA)), EA = /* @__PURE__ */ c.createElement(fd.Provider, {
4443
4443
  value: FA
4444
- }, vA), s && (vA = /* @__PURE__ */ c.createElement(Py, {
4444
+ }, EA), s && (EA = /* @__PURE__ */ c.createElement(Py, {
4445
4445
  size: s
4446
- }, vA)), vA = /* @__PURE__ */ c.createElement(MM, null, vA);
4446
+ }, EA)), EA = /* @__PURE__ */ c.createElement(MM, null, EA);
4447
4447
  const WA = c.useMemo(() => {
4448
4448
  const ZA = PA || {}, {
4449
4449
  algorithm: D,
@@ -4467,15 +4467,15 @@ const xM = (e) => {
4467
4467
  cssVar: GA
4468
4468
  });
4469
4469
  }, [PA]);
4470
- return w && (vA = /* @__PURE__ */ c.createElement(Em.Provider, {
4470
+ return w && (EA = /* @__PURE__ */ c.createElement(Em.Provider, {
4471
4471
  value: WA
4472
- }, vA)), le.warning && (vA = /* @__PURE__ */ c.createElement(Bm.Provider, {
4472
+ }, EA)), le.warning && (EA = /* @__PURE__ */ c.createElement(Bm.Provider, {
4473
4473
  value: le.warning
4474
- }, vA)), B !== void 0 && (vA = /* @__PURE__ */ c.createElement(Jy, {
4474
+ }, EA)), B !== void 0 && (EA = /* @__PURE__ */ c.createElement(Jy, {
4475
4475
  disabled: B
4476
- }, vA)), /* @__PURE__ */ c.createElement(je.Provider, {
4476
+ }, EA)), /* @__PURE__ */ c.createElement(je.Provider, {
4477
4477
  value: le
4478
- }, vA);
4478
+ }, EA);
4479
4479
  }, Ir = (e) => {
4480
4480
  const A = c.useContext(je), t = c.useContext(qd);
4481
4481
  return /* @__PURE__ */ c.createElement(DM, Object.assign({
@@ -4836,7 +4836,7 @@ function FM() {
4836
4836
  function kA(D) {
4837
4837
  return DA(D);
4838
4838
  }
4839
- function EA(D) {
4839
+ function IA(D) {
4840
4840
  {
4841
4841
  var lA = typeof Symbol == "function" && Symbol.toStringTag, dA = lA && D[Symbol.toStringTag] || D.constructor.name || "Object";
4842
4842
  return dA;
@@ -4854,7 +4854,7 @@ function FM() {
4854
4854
  }
4855
4855
  function KA(D) {
4856
4856
  if (uA(D))
4857
- return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", EA(D)), SA(D);
4857
+ return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", IA(D)), SA(D);
4858
4858
  }
4859
4859
  var ee = q.ReactCurrentOwner, re = {
4860
4860
  key: !0,
@@ -4960,7 +4960,7 @@ function FM() {
4960
4960
  }
4961
4961
  var CA;
4962
4962
  CA = !1;
4963
- function IA(D) {
4963
+ function vA(D) {
4964
4964
  return typeof D == "object" && D !== null && D.$$typeof === A;
4965
4965
  }
4966
4966
  function he() {
@@ -5011,15 +5011,15 @@ Check the top-level render call using <` + dA + ">.");
5011
5011
  if (kA(D))
5012
5012
  for (var dA = 0; dA < D.length; dA++) {
5013
5013
  var GA = D[dA];
5014
- IA(GA) && PA(GA, lA);
5014
+ vA(GA) && PA(GA, lA);
5015
5015
  }
5016
- else if (IA(D))
5016
+ else if (vA(D))
5017
5017
  D._store && (D._store.validated = !0);
5018
5018
  else if (D) {
5019
5019
  var LA = f(D);
5020
5020
  if (typeof LA == "function" && LA !== D.entries)
5021
5021
  for (var ce = LA.call(D), XA; !(XA = ce.next()).done; )
5022
- IA(XA.value) && PA(XA.value, lA);
5022
+ vA(XA.value) && PA(XA.value, lA);
5023
5023
  }
5024
5024
  }
5025
5025
  }
@@ -5105,13 +5105,13 @@ React keys must be passed directly to JSX without using spread:
5105
5105
  return D === n ? le(we) : BA(we), we;
5106
5106
  }
5107
5107
  }
5108
- function vA(D, lA, dA) {
5108
+ function EA(D, lA, dA) {
5109
5109
  return FA(D, lA, dA, !0);
5110
5110
  }
5111
5111
  function JA(D, lA, dA) {
5112
5112
  return FA(D, lA, dA, !1);
5113
5113
  }
5114
- var WA = JA, ZA = vA;
5114
+ var WA = JA, ZA = EA;
5115
5115
  Fo.Fragment = n, Fo.jsx = WA, Fo.jsxs = ZA;
5116
5116
  }()), Fo;
5117
5117
  }
@@ -11285,7 +11285,7 @@ var Uq;
11285
11285
  cn._$litElement$ = !0, cn.finalized = !0, (Uq = si.litElementHydrateSupport) == null || Uq.call(si, { LitElement: cn });
11286
11286
  const Qc = si.litElementPolyfillSupport;
11287
11287
  Qc == null || Qc({ LitElement: cn }), (si.litElementVersions ?? (si.litElementVersions = [])).push("4.2.1");
11288
- const Kw = { statusColor: { [at.IDLE]: "#1D92E9", [at.BUSY]: "#F5212D", [at.OFFLINE]: "#8c8c8c", [at.RINGING]: "#e9b91d" } }, Tn = ["call_number"], Lu = ["call_number"], jw = ["hangup"], Mi = ["hold", "hangup", "mute", "transfer", "consult", "satisfaction", "dtmf"], Lw = ["consult_transfer", "conference", "consult_retrieve"], Hw = ["hangup"], Jw = ["hangup"], bc = ["answer", "reject"], ns = ["hangup", "consult", "transfer", "hold", "mute", "satisfaction", "dtmf"];
11288
+ const Kw = { statusColor: { [at.IDLE]: "#1D92E9", [at.BUSY]: "#F5212D", [at.OFFLINE]: "#8c8c8c", [at.RINGING]: "#e9b91d" } }, Tn = ["call_number"], Lu = ["call_number"], jw = ["reject"], Mi = ["hold", "hangup", "mute", "transfer", "consult", "satisfaction", "dtmf"], Lw = ["consult_transfer", "conference", "consult_retrieve"], Hw = ["hangup"], Jw = ["hangup"], bc = ["answer", "reject"], ns = ["hangup", "consult", "transfer", "hold", "mute", "satisfaction", "dtmf"];
11289
11289
  function Be(e, A, t, n) {
11290
11290
  var r, i = arguments.length, o = i < 3 ? A : n;
11291
11291
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, A, t, n);
@@ -22639,7 +22639,7 @@ var mR = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
22639
22639
  value: e.value
22640
22640
  }), K = W(N, 2), Y = K[0], k = K[1], P = Y == null ? "" : String(Y), Z = De(null), H = W(Z, 2), L = H[0], z = H[1], J = R0(q, f), eA = J.max || m, nA = J.strategy(P), iA = !!eA && nA > eA;
22641
22641
  vo(A, function() {
22642
- var EA;
22642
+ var IA;
22643
22643
  return {
22644
22644
  focus: G,
22645
22645
  blur: function() {
@@ -22655,11 +22655,11 @@ var mR = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
22655
22655
  (SA = T.current) === null || SA === void 0 || SA.select();
22656
22656
  },
22657
22657
  input: T.current,
22658
- nativeElement: ((EA = F.current) === null || EA === void 0 ? void 0 : EA.nativeElement) || T.current
22658
+ nativeElement: ((IA = F.current) === null || IA === void 0 ? void 0 : IA.nativeElement) || T.current
22659
22659
  };
22660
22660
  }), _e(function() {
22661
- x.current && (x.current = !1), S(function(EA) {
22662
- return EA && V ? !1 : EA;
22661
+ x.current && (x.current = !1), S(function(IA) {
22662
+ return IA && V ? !1 : IA;
22663
22663
  });
22664
22664
  }, [V]);
22665
22665
  var X = function(uA, SA, KA) {
@@ -22677,8 +22677,8 @@ var mR = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKe
22677
22677
  };
22678
22678
  _e(function() {
22679
22679
  if (L) {
22680
- var EA;
22681
- (EA = T.current) === null || EA === void 0 || EA.setSelectionRange.apply(EA, yA(L));
22680
+ var IA;
22681
+ (IA = T.current) === null || IA === void 0 || IA.setSelectionRange.apply(IA, yA(L));
22682
22682
  }
22683
22683
  }, [L]);
22684
22684
  var VA = function(uA) {
@@ -25010,14 +25010,14 @@ const _x = {
25010
25010
  const {
25011
25011
  compactSize: DA,
25012
25012
  compactItemClassnames: kA
25013
- } = wo(Z, F), EA = {
25013
+ } = wo(Z, F), IA = {
25014
25014
  large: "lg",
25015
25015
  small: "sm",
25016
25016
  middle: void 0
25017
25017
  }, uA = Wr((wA) => {
25018
25018
  var ae, se;
25019
25019
  return (se = (ae = V ?? DA) !== null && ae !== void 0 ? ae : nA) !== null && se !== void 0 ? se : wA;
25020
- }), SA = uA && (n = EA[uA]) !== null && n !== void 0 ? n : "", KA = X ? "loading" : q, ee = Vn(p, ["navigate"]), re = tA(Z, L, z, {
25020
+ }), SA = uA && (n = IA[uA]) !== null && n !== void 0 ? n : "", KA = X ? "loading" : q, ee = Vn(p, ["navigate"]), re = tA(Z, L, z, {
25021
25021
  [`${Z}-${u}`]: u !== "default" && u,
25022
25022
  // line(253 - 254): Compatible with versions earlier than 5.21.0
25023
25023
  [`${Z}-${y}`]: y,
@@ -25711,7 +25711,7 @@ var RD = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
25711
25711
  }), wA !== ae && oA([nA().selectionStart || 0, nA().selectionEnd || 0])), F(ae), _s(xA.currentTarget, xA, a, ae);
25712
25712
  }, kA = function(xA) {
25713
25713
  P.current = !0, u == null || u(xA);
25714
- }, EA = function(xA) {
25714
+ }, IA = function(xA) {
25715
25715
  P.current = !1, DA(xA, xA.currentTarget.value), V == null || V(xA);
25716
25716
  }, uA = function(xA) {
25717
25717
  DA(xA, xA.target.value);
@@ -25768,7 +25768,7 @@ var RD = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classNa
25768
25768
  onFocus: KA,
25769
25769
  onBlur: ee,
25770
25770
  onCompositionStart: kA,
25771
- onCompositionEnd: EA,
25771
+ onCompositionEnd: IA,
25772
25772
  className: tA(M == null ? void 0 : M.textarea),
25773
25773
  style: O(O({}, g == null ? void 0 : g.textarea), {}, {
25774
25774
  resize: I == null ? void 0 : I.resize
@@ -26363,7 +26363,7 @@ function $D(e, A, t, n, r, i, o) {
26363
26363
  bottom: nA - iA
26364
26364
  }, pA = T.htmlRegion, OA = "visible", DA = "visibleFirst";
26365
26365
  pA !== "scroll" && pA !== DA && (pA = OA);
26366
- var kA = pA === DA, EA = Pf(MA, d), uA = Pf(mA, d), SA = pA === OA ? uA : EA, KA = kA ? uA : SA;
26366
+ var kA = pA === DA, IA = Pf(MA, d), uA = Pf(mA, d), SA = pA === OA ? uA : IA, KA = kA ? uA : SA;
26367
26367
  g.style.left = "auto", g.style.top = "auto", g.style.right = "0", g.style.bottom = "0";
26368
26368
  var ee = g.getBoundingClientRect();
26369
26369
  g.style.left = y, g.style.top = b, g.style.right = S, g.style.bottom = R, g.style.overflow = x, (M = g.parentElement) === null || M === void 0 || M.removeChild(F);
@@ -26372,14 +26372,14 @@ function $D(e, A, t, n, r, i, o) {
26372
26372
  return;
26373
26373
  var YA = T.offset, $A = T.targetOffset, Ve = zf(k, YA), Ae = W(Ve, 2), xA = Ae[0], wA = Ae[1], ae = zf(G, $A), se = W(ae, 2), Ce = se[0], Te = se[1];
26374
26374
  G.x -= Ce, G.y -= Te;
26375
- var aA = T.points || [], CA = W(aA, 2), IA = CA[0], he = CA[1], Le = Xf(he), Qe = Xf(IA), me = bi(G, Le), PA = bi(k, Qe), te = O({}, T), BA = me.x - PA.x + xA, le = me.y - PA.y + wA, ye = hn(BA, le), FA = hn(BA, le, uA), vA = bi(G, ["t", "l"]), JA = bi(k, ["t", "l"]), WA = bi(G, ["b", "r"]), ZA = bi(k, ["b", "r"]), D = T.overflow || {}, lA = D.adjustX, dA = D.adjustY, GA = D.shiftX, LA = D.shiftY, ce = function(sr) {
26375
+ var aA = T.points || [], CA = W(aA, 2), vA = CA[0], he = CA[1], Le = Xf(he), Qe = Xf(vA), me = bi(G, Le), PA = bi(k, Qe), te = O({}, T), BA = me.x - PA.x + xA, le = me.y - PA.y + wA, ye = hn(BA, le), FA = hn(BA, le, uA), EA = bi(G, ["t", "l"]), JA = bi(k, ["t", "l"]), WA = bi(G, ["b", "r"]), ZA = bi(k, ["b", "r"]), D = T.overflow || {}, lA = D.adjustX, dA = D.adjustY, GA = D.shiftX, LA = D.shiftY, ce = function(sr) {
26376
26376
  return typeof sr == "boolean" ? sr : sr >= 0;
26377
26377
  }, XA, ie, Ne, pe;
26378
26378
  Ii();
26379
26379
  var we = ce(dA), fA = Qe[0] === Le[0];
26380
26380
  if (we && Qe[0] === "t" && (ie > KA.bottom || h.current.bt)) {
26381
26381
  var QA = le;
26382
- fA ? QA -= VA - oA : QA = vA.y - ZA.y - wA;
26382
+ fA ? QA -= VA - oA : QA = EA.y - ZA.y - wA;
26383
26383
  var ue = hn(BA, QA), de = hn(BA, QA, uA);
26384
26384
  // Of course use larger one
26385
26385
  ue > ye || ue === ye && (!kA || // Choose recommend one
@@ -26396,7 +26396,7 @@ function $D(e, A, t, n, r, i, o) {
26396
26396
  var Jt = ce(lA), Hn = Qe[1] === Le[1];
26397
26397
  if (Jt && Qe[1] === "l" && (pe > KA.right || h.current.rl)) {
26398
26398
  var Zt = BA;
26399
- Hn ? Zt -= j - rA : Zt = vA.x - ZA.x - xA;
26399
+ Hn ? Zt -= j - rA : Zt = EA.x - ZA.x - xA;
26400
26400
  var Kt = hn(Zt, le), Rn = hn(Zt, le, uA);
26401
26401
  // Of course use larger one
26402
26402
  Kt > ye || Kt === ye && (!kA || // Choose recommend one
@@ -26512,8 +26512,8 @@ function tT() {
26512
26512
  OA.current[qe] = nt, DA == null || DA.registerSubPopup(qe, nt);
26513
26513
  }
26514
26514
  };
26515
- }, [DA]), EA = zd(), uA = c.useState(null), SA = W(uA, 2), KA = SA[0], ee = SA[1], re = c.useRef(null), jA = ot(function(zA) {
26516
- re.current = zA, qa(zA) && KA !== zA && ee(zA), DA == null || DA.registerSubPopup(EA, zA);
26515
+ }, [DA]), IA = zd(), uA = c.useState(null), SA = W(uA, 2), KA = SA[0], ee = SA[1], re = c.useRef(null), jA = ot(function(zA) {
26516
+ re.current = zA, qa(zA) && KA !== zA && ee(zA), DA == null || DA.registerSubPopup(IA, zA);
26517
26517
  }), YA = c.useState(null), $A = W(YA, 2), Ve = $A[0], Ae = $A[1], xA = c.useRef(null), wA = ot(function(zA) {
26518
26518
  qa(zA) && Ve !== zA && (Ae(zA), xA.current = zA);
26519
26519
  }), ae = c.Children.only(o), se = (ae == null ? void 0 : ae.props) || {}, Ce = {}, Te = ot(function(zA) {
@@ -26521,7 +26521,7 @@ function tT() {
26521
26521
  return (It == null ? void 0 : It.contains(zA)) || ((qe = el(It)) === null || qe === void 0 ? void 0 : qe.host) === zA || zA === It || (KA == null ? void 0 : KA.contains(zA)) || ((nt = el(KA)) === null || nt === void 0 ? void 0 : nt.host) === zA || zA === KA || Object.values(OA.current).some(function(lt) {
26522
26522
  return (lt == null ? void 0 : lt.contains(zA)) || zA === lt;
26523
26523
  });
26524
- }), aA = Jf(i, L, eA, J), CA = Jf(i, z, iA, nA), IA = c.useState(d || !1), he = W(IA, 2), Le = he[0], Qe = he[1], me = V ?? Le, PA = ot(function(zA) {
26524
+ }), aA = Jf(i, L, eA, J), CA = Jf(i, z, iA, nA), vA = c.useState(d || !1), he = W(vA, 2), Le = he[0], Qe = he[1], me = V ?? Le, PA = ot(function(zA) {
26525
26525
  V === void 0 && Qe(zA);
26526
26526
  });
26527
26527
  tt(function() {
@@ -26536,7 +26536,7 @@ function tT() {
26536
26536
  PA(zA), ((qe = BA.current[BA.current.length - 1]) !== null && qe !== void 0 ? qe : me) !== zA && (BA.current.push(zA), h == null || h(zA));
26537
26537
  }), ye = c.useRef(), FA = function() {
26538
26538
  clearTimeout(ye.current);
26539
- }, vA = function(qe) {
26539
+ }, EA = function(qe) {
26540
26540
  var nt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
26541
26541
  FA(), nt === 0 ? le(qe) : ye.current = setTimeout(function() {
26542
26542
  le(qe);
@@ -26554,7 +26554,7 @@ function tT() {
26554
26554
  }, we = $D(me, KA, k && ie !== null ? ie : Ve, R, T, F, Z), fA = W(we, 11), QA = fA[0], ue = fA[1], de = fA[2], Ye = fA[3], Ot = fA[4], ct = fA[5], Jt = fA[6], Hn = fA[7], Zt = fA[8], Kt = fA[9], Rn = fA[10], jt = WD(MA, s, l, u), or = W(jt, 2), xn = or[0], Lt = or[1], An = xn.has("click"), dn = Lt.has("click") || Lt.has("contextMenu"), gn = ot(function() {
26555
26555
  ZA || Rn();
26556
26556
  }), Jn = function() {
26557
- te.current && k && dn && vA(!1);
26557
+ te.current && k && dn && EA(!1);
26558
26558
  };
26559
26559
  _D(me, Ve, KA, gn, Jn), tt(function() {
26560
26560
  gn();
@@ -26594,7 +26594,7 @@ function tT() {
26594
26594
  function Et(zA, qe, nt, It) {
26595
26595
  Ce[zA] = function(lt) {
26596
26596
  var ja;
26597
- It == null || It(lt), vA(qe, nt);
26597
+ It == null || It(lt), EA(qe, nt);
26598
26598
  for (var ac = arguments.length, Ig = new Array(ac > 1 ? ac - 1 : 0), La = 1; La < ac; La++)
26599
26599
  Ig[La - 1] = arguments[La];
26600
26600
  (ja = se[zA]) === null || ja === void 0 || ja.call.apply(ja, [se, lt].concat(Ig));
@@ -26602,26 +26602,26 @@ function tT() {
26602
26602
  }
26603
26603
  (An || dn) && (Ce.onClick = function(zA) {
26604
26604
  var qe;
26605
- te.current && dn ? vA(!1) : !te.current && An && (pe(zA), vA(!0));
26605
+ te.current && dn ? EA(!1) : !te.current && An && (pe(zA), EA(!0));
26606
26606
  for (var nt = arguments.length, It = new Array(nt > 1 ? nt - 1 : 0), lt = 1; lt < nt; lt++)
26607
26607
  It[lt - 1] = arguments[lt];
26608
26608
  (qe = se.onClick) === null || qe === void 0 || qe.call.apply(qe, [se, zA].concat(It));
26609
26609
  });
26610
- var zr = AT(me, dn, Ve, KA, B, g, Te, vA), nc = xn.has("hover"), hn = Lt.has("hover"), Ii, bo;
26610
+ var zr = AT(me, dn, Ve, KA, B, g, Te, EA), nc = xn.has("hover"), hn = Lt.has("hover"), Ii, bo;
26611
26611
  nc && (Et("onMouseEnter", !0, C, function(zA) {
26612
26612
  pe(zA);
26613
26613
  }), Et("onPointerEnter", !0, C, function(zA) {
26614
26614
  pe(zA);
26615
26615
  }), Ii = function(qe) {
26616
- (me || ZA) && KA !== null && KA !== void 0 && KA.contains(qe.target) && vA(!0, C);
26616
+ (me || ZA) && KA !== null && KA !== void 0 && KA.contains(qe.target) && EA(!0, C);
26617
26617
  }, k && (Ce.onMouseMove = function(zA) {
26618
26618
  var qe;
26619
26619
  (qe = se.onMouseMove) === null || qe === void 0 || qe.call(se, zA);
26620
26620
  })), hn && (Et("onMouseLeave", !1, q), Et("onPointerLeave", !1, q), bo = function() {
26621
- vA(!1, q);
26621
+ EA(!1, q);
26622
26622
  }), xn.has("focus") && Et("onFocus", !0, I), Lt.has("focus") && Et("onBlur", !1, w), xn.has("contextMenu") && (Ce.onContextMenu = function(zA) {
26623
26623
  var qe;
26624
- te.current && Lt.has("contextMenu") ? vA(!1) : (pe(zA), vA(!0)), zA.preventDefault();
26624
+ te.current && Lt.has("contextMenu") ? EA(!1) : (pe(zA), EA(!0)), zA.preventDefault();
26625
26625
  for (var nt = arguments.length, It = new Array(nt > 1 ? nt - 1 : 0), lt = 1; lt < nt; lt++)
26626
26626
  It[lt - 1] = arguments[lt];
26627
26627
  (qe = se.onContextMenu) === null || qe === void 0 || qe.call.apply(qe, [se, zA].concat(It));
@@ -27130,7 +27130,7 @@ function MT(e) {
27130
27130
  function wT(e, A) {
27131
27131
  var t = e.prefixCls, n = t === void 0 ? "rc-overflow" : t, r = e.data, i = r === void 0 ? [] : r, o = e.renderItem, a = e.renderRawItem, s = e.itemKey, l = e.itemWidth, u = l === void 0 ? 10 : l, V = e.ssr, d = e.style, h = e.className, m = e.maxCount, C = e.renderRest, f = e.renderRawRest, q = e.suffix, I = e.component, w = I === void 0 ? "div" : I, B = e.itemComponent, M = e.onVisibleChange, g = Ie(e, yT), Q = V === "full", v = mT(), E = Zo(v, null), p = W(E, 2), y = p[0], b = p[1], S = y || 0, R = Zo(v, /* @__PURE__ */ new Map()), x = W(R, 2), T = x[0], F = x[1], G = Zo(v, 0), N = W(G, 2), K = N[0], Y = N[1], k = Zo(v, 0), P = W(k, 2), Z = P[0], H = P[1], L = Zo(v, 0), z = W(L, 2), J = z[0], eA = z[1], nA = De(null), iA = W(nA, 2), X = iA[0], VA = iA[1], j = De(null), oA = W(j, 2), rA = oA[0], mA = oA[1], MA = c.useMemo(function() {
27132
27132
  return rA === null && Q ? Number.MAX_SAFE_INTEGER : rA || 0;
27133
- }, [rA, y]), pA = De(!1), OA = W(pA, 2), DA = OA[0], kA = OA[1], EA = "".concat(n, "-item"), uA = Math.max(K, Z), SA = m === hv, KA = i.length && SA, ee = m === pv, re = KA || typeof m == "number" && i.length > m, jA = wn(function() {
27133
+ }, [rA, y]), pA = De(!1), OA = W(pA, 2), DA = OA[0], kA = OA[1], IA = "".concat(n, "-item"), uA = Math.max(K, Z), SA = m === hv, KA = i.length && SA, ee = m === pv, re = KA || typeof m == "number" && i.length > m, jA = wn(function() {
27134
27134
  var PA = i;
27135
27135
  return KA ? y === null && Q ? PA = i : PA = i.slice(0, Math.min(i.length, S / u)) : typeof m == "number" && (PA = i.slice(0, m)), PA;
27136
27136
  }, [i, u, y, m, KA]), YA = wn(function() {
@@ -27195,11 +27195,11 @@ function wT(e, A) {
27195
27195
  top: 0
27196
27196
  });
27197
27197
  var CA = {
27198
- prefixCls: EA,
27198
+ prefixCls: IA,
27199
27199
  responsive: KA,
27200
27200
  component: B,
27201
27201
  invalidate: ee
27202
- }, IA = a ? function(PA, te) {
27202
+ }, vA = a ? function(PA, te) {
27203
27203
  var BA = $A(PA, te);
27204
27204
  return /* @__PURE__ */ c.createElement(ol.Provider, {
27205
27205
  key: BA,
@@ -27224,7 +27224,7 @@ function wT(e, A) {
27224
27224
  }));
27225
27225
  }, he = {
27226
27226
  order: Te ? MA : Number.MAX_SAFE_INTEGER,
27227
- className: "".concat(EA, "-rest"),
27227
+ className: "".concat(IA, "-rest"),
27228
27228
  registerSize: ae,
27229
27229
  display: Te
27230
27230
  }, Le = C || MT, Qe = f ? /* @__PURE__ */ c.createElement(ol.Provider, {
@@ -27233,11 +27233,11 @@ function wT(e, A) {
27233
27233
  className: tA(!ee && n, h),
27234
27234
  style: d,
27235
27235
  ref: A
27236
- }, g), jA.map(IA), re ? Qe : null, q && /* @__PURE__ */ c.createElement(ia, UA({}, CA, {
27236
+ }, g), jA.map(vA), re ? Qe : null, q && /* @__PURE__ */ c.createElement(ia, UA({}, CA, {
27237
27237
  responsive: SA,
27238
27238
  responsiveDisabled: !KA,
27239
27239
  order: MA,
27240
- className: "".concat(EA, "-suffix"),
27240
+ className: "".concat(IA, "-suffix"),
27241
27241
  registerSize: se,
27242
27242
  display: !0,
27243
27243
  style: aA
@@ -27820,7 +27820,7 @@ var AF = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
27820
27820
  key: i,
27821
27821
  domEvent: se
27822
27822
  });
27823
- }, EA = function(se) {
27823
+ }, IA = function(se) {
27824
27824
  DA(!1), q == null || q({
27825
27825
  key: i,
27826
27826
  domEvent: se
@@ -27895,7 +27895,7 @@ var AF = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
27895
27895
  style: t,
27896
27896
  className: tA(H, "".concat(H, "-").concat(E), n, U(U(U(U({}, "".concat(H, "-open"), X), "".concat(H, "-active"), uA), "".concat(H, "-selected"), VA), "".concat(H, "-disabled"), L)),
27897
27897
  onMouseEnter: kA,
27898
- onMouseLeave: EA
27898
+ onMouseLeave: IA
27899
27899
  }), Ve, !b && /* @__PURE__ */ c.createElement(_T, {
27900
27900
  id: YA,
27901
27901
  open: X,
@@ -28002,9 +28002,9 @@ function rq(e, A, t, n, r) {
28002
28002
  return A && (i = ed(A, o, r)), ag(i, t);
28003
28003
  }
28004
28004
  var oF = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items", "children", "direction", "id", "mode", "inlineCollapsed", "disabled", "disabledOverflow", "subMenuOpenDelay", "subMenuCloseDelay", "forceSubMenuRender", "defaultOpenKeys", "openKeys", "activeKey", "defaultActiveFirst", "selectable", "multiple", "defaultSelectedKeys", "selectedKeys", "onSelect", "onDeselect", "inlineIndent", "motion", "defaultMotions", "triggerSubMenuAction", "builtinPlacements", "itemIcon", "expandIcon", "overflowedIndicator", "overflowedIndicatorPopupClassName", "getPopupContainer", "onClick", "onOpenChange", "onKeyDown", "openAnimation", "openTransitionName", "_internalRenderMenuItem", "_internalRenderSubMenuItem", "_internalComponents"], $r = [], aF = /* @__PURE__ */ c.forwardRef(function(e, A) {
28005
- var t, n = e, r = n.prefixCls, i = r === void 0 ? "rc-menu" : r, o = n.rootClassName, a = n.style, s = n.className, l = n.tabIndex, u = l === void 0 ? 0 : l, V = n.items, d = n.children, h = n.direction, m = n.id, C = n.mode, f = C === void 0 ? "vertical" : C, q = n.inlineCollapsed, I = n.disabled, w = n.disabledOverflow, B = n.subMenuOpenDelay, M = B === void 0 ? 0.1 : B, g = n.subMenuCloseDelay, Q = g === void 0 ? 0.1 : g, v = n.forceSubMenuRender, E = n.defaultOpenKeys, p = n.openKeys, y = n.activeKey, b = n.defaultActiveFirst, S = n.selectable, R = S === void 0 ? !0 : S, x = n.multiple, T = x === void 0 ? !1 : x, F = n.defaultSelectedKeys, G = n.selectedKeys, N = n.onSelect, K = n.onDeselect, Y = n.inlineIndent, k = Y === void 0 ? 24 : Y, P = n.motion, Z = n.defaultMotions, H = n.triggerSubMenuAction, L = H === void 0 ? "hover" : H, z = n.builtinPlacements, J = n.itemIcon, eA = n.expandIcon, nA = n.overflowedIndicator, iA = nA === void 0 ? "..." : nA, X = n.overflowedIndicatorPopupClassName, VA = n.getPopupContainer, j = n.onClick, oA = n.onOpenChange, rA = n.onKeyDown, mA = n.openAnimation, MA = n.openTransitionName, pA = n._internalRenderMenuItem, OA = n._internalRenderSubMenuItem, DA = n._internalComponents, kA = Ie(n, oF), EA = c.useMemo(function() {
28005
+ var t, n = e, r = n.prefixCls, i = r === void 0 ? "rc-menu" : r, o = n.rootClassName, a = n.style, s = n.className, l = n.tabIndex, u = l === void 0 ? 0 : l, V = n.items, d = n.children, h = n.direction, m = n.id, C = n.mode, f = C === void 0 ? "vertical" : C, q = n.inlineCollapsed, I = n.disabled, w = n.disabledOverflow, B = n.subMenuOpenDelay, M = B === void 0 ? 0.1 : B, g = n.subMenuCloseDelay, Q = g === void 0 ? 0.1 : g, v = n.forceSubMenuRender, E = n.defaultOpenKeys, p = n.openKeys, y = n.activeKey, b = n.defaultActiveFirst, S = n.selectable, R = S === void 0 ? !0 : S, x = n.multiple, T = x === void 0 ? !1 : x, F = n.defaultSelectedKeys, G = n.selectedKeys, N = n.onSelect, K = n.onDeselect, Y = n.inlineIndent, k = Y === void 0 ? 24 : Y, P = n.motion, Z = n.defaultMotions, H = n.triggerSubMenuAction, L = H === void 0 ? "hover" : H, z = n.builtinPlacements, J = n.itemIcon, eA = n.expandIcon, nA = n.overflowedIndicator, iA = nA === void 0 ? "..." : nA, X = n.overflowedIndicatorPopupClassName, VA = n.getPopupContainer, j = n.onClick, oA = n.onOpenChange, rA = n.onKeyDown, mA = n.openAnimation, MA = n.openTransitionName, pA = n._internalRenderMenuItem, OA = n._internalRenderSubMenuItem, DA = n._internalComponents, kA = Ie(n, oF), IA = c.useMemo(function() {
28006
28006
  return [rq(d, V, $r, DA, i), rq(d, V, $r, {}, i)];
28007
- }, [d, V, DA]), uA = W(EA, 2), SA = uA[0], KA = uA[1], ee = c.useState(!1), re = W(ee, 2), jA = re[0], YA = re[1], $A = c.useRef(), Ve = GT(m), Ae = h === "rtl";
28007
+ }, [d, V, DA]), uA = W(IA, 2), SA = uA[0], KA = uA[1], ee = c.useState(!1), re = W(ee, 2), jA = re[0], YA = re[1], $A = c.useRef(), Ve = GT(m), Ae = h === "rtl";
28008
28008
  process.env.NODE_ENV !== "production" && Ee(!mA && !MA, "`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");
28009
28009
  var xA = Ft(E, {
28010
28010
  value: p,
@@ -28017,15 +28017,15 @@ var oF = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
28017
28017
  se(fe), oA == null || oA(fe);
28018
28018
  }
28019
28019
  Me ? iu(Fe) : Fe();
28020
- }, Te = c.useState(ae), aA = W(Te, 2), CA = aA[0], IA = aA[1], he = c.useRef(!1), Le = c.useMemo(function() {
28020
+ }, Te = c.useState(ae), aA = W(Te, 2), CA = aA[0], vA = aA[1], he = c.useRef(!1), Le = c.useMemo(function() {
28021
28021
  return (f === "inline" || f === "vertical") && q ? ["vertical", q] : [f, !1];
28022
- }, [f, q]), Qe = W(Le, 2), me = Qe[0], PA = Qe[1], te = me === "inline", BA = c.useState(me), le = W(BA, 2), ye = le[0], FA = le[1], vA = c.useState(PA), JA = W(vA, 2), WA = JA[0], ZA = JA[1];
28022
+ }, [f, q]), Qe = W(Le, 2), me = Qe[0], PA = Qe[1], te = me === "inline", BA = c.useState(me), le = W(BA, 2), ye = le[0], FA = le[1], EA = c.useState(PA), JA = W(EA, 2), WA = JA[0], ZA = JA[1];
28023
28023
  c.useEffect(function() {
28024
28024
  FA(me), ZA(PA), he.current && (te ? se(CA) : Ce($r));
28025
28025
  }, [me, PA]);
28026
28026
  var D = c.useState(0), lA = W(D, 2), dA = lA[0], GA = lA[1], LA = dA >= SA.length - 1 || ye !== "horizontal" || w;
28027
28027
  c.useEffect(function() {
28028
- te && IA(ae);
28028
+ te && vA(ae);
28029
28029
  }, [ae]), c.useEffect(function() {
28030
28030
  return he.current = !0, function() {
28031
28031
  he.current = !1;
@@ -28849,9 +28849,9 @@ const xF = /* @__PURE__ */ c.forwardRef((e, A) => {
28849
28849
  }, typeof iA == "function" ? iA() : iA), VA = F("tooltip", r), j = F(), oA = e["data-popover-inject"];
28850
28850
  let rA = L;
28851
28851
  !("open" in e) && !("visible" in e) && J && (rA = !1);
28852
- const mA = /* @__PURE__ */ c.isValidElement(l) && !q0(l) ? l : /* @__PURE__ */ c.createElement("span", null, l), MA = mA.props, pA = !MA.className || typeof MA.className == "string" ? tA(MA.className, i || `${VA}-open`) : MA.className, [OA, DA, kA] = g0(VA, !oA), EA = xv(VA, a), uA = EA.arrowStyle, SA = tA(p, {
28852
+ const mA = /* @__PURE__ */ c.isValidElement(l) && !q0(l) ? l : /* @__PURE__ */ c.createElement("span", null, l), MA = mA.props, pA = !MA.className || typeof MA.className == "string" ? tA(MA.className, i || `${VA}-open`) : MA.className, [OA, DA, kA] = g0(VA, !oA), IA = xv(VA, a), uA = IA.arrowStyle, SA = tA(p, {
28853
28853
  [`${VA}-rtl`]: G === "rtl"
28854
- }, EA.className, E, DA, kA, N, Y.root, b == null ? void 0 : b.root), KA = tA(Y.body, b == null ? void 0 : b.body), [ee, re] = kl("Tooltip", S.zIndex), jA = /* @__PURE__ */ c.createElement(wF, Object.assign({}, S, {
28854
+ }, IA.className, E, DA, kA, N, Y.root, b == null ? void 0 : b.root), KA = tA(Y.body, b == null ? void 0 : b.body), [ee, re] = kl("Tooltip", S.zIndex), jA = /* @__PURE__ */ c.createElement(wF, Object.assign({}, S, {
28855
28855
  zIndex: ee,
28856
28856
  showArrow: R,
28857
28857
  placement: M,
@@ -28864,7 +28864,7 @@ const xF = /* @__PURE__ */ c.forwardRef((e, A) => {
28864
28864
  },
28865
28865
  styles: {
28866
28866
  root: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, uA), k.root), K), v), y == null ? void 0 : y.root),
28867
- body: Object.assign(Object.assign(Object.assign(Object.assign({}, k.body), s), y == null ? void 0 : y.body), EA.overlayStyle)
28867
+ body: Object.assign(Object.assign(Object.assign(Object.assign({}, k.body), s), y == null ? void 0 : y.body), IA.overlayStyle)
28868
28868
  },
28869
28869
  getTooltipContainer: B || o || T,
28870
28870
  ref: Z,
@@ -30536,8 +30536,8 @@ var Nv = /* @__PURE__ */ c.forwardRef(function(e, A) {
30536
30536
  var DA;
30537
30537
  pA += ((DA = h.current[g[g.length - 1 - OA].key]) === null || DA === void 0 ? void 0 : DA.offsetHeight) + S;
30538
30538
  }
30539
- var kA = (R ? pA : j * y) * (n.startsWith("top") ? 1 : -1), EA = !R && f !== null && f !== void 0 && f.offsetWidth && (mA = h.current[H]) !== null && mA !== void 0 && mA.offsetWidth ? ((f == null ? void 0 : f.offsetWidth) - y * 2 * (j < 3 ? j : 3)) / ((MA = h.current[H]) === null || MA === void 0 ? void 0 : MA.offsetWidth) : 1;
30540
- VA.transform = "translate3d(".concat(oA, ", ").concat(kA, "px, 0) scaleX(").concat(EA, ")");
30539
+ var kA = (R ? pA : j * y) * (n.startsWith("top") ? 1 : -1), IA = !R && f !== null && f !== void 0 && f.offsetWidth && (mA = h.current[H]) !== null && mA !== void 0 && mA.offsetWidth ? ((f == null ? void 0 : f.offsetWidth) - y * 2 * (j < 3 ? j : 3)) / ((MA = h.current[H]) === null || MA === void 0 ? void 0 : MA.offsetWidth) : 1;
30540
+ VA.transform = "translate3d(".concat(oA, ", ").concat(kA, "px, 0) scaleX(").concat(IA, ")");
30541
30541
  } else
30542
30542
  VA.transform = "translate3d(".concat(oA, ", 0, 0)");
30543
30543
  }
@@ -31458,8 +31458,8 @@ var Cq = function(A) {
31458
31458
  customizeIcon: q
31459
31459
  }, "×"));
31460
31460
  }, eA = function(oA, rA, mA, MA, pA, OA) {
31461
- var DA = function(EA) {
31462
- Cq(EA), Q(!i);
31461
+ var DA = function(IA) {
31462
+ Cq(IA), Q(!i);
31463
31463
  };
31464
31464
  return /* @__PURE__ */ c.createElement("span", {
31465
31465
  onMouseDown: DA
@@ -31825,7 +31825,7 @@ var oO = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
31825
31825
  }), l == null || l.forEach(function(Se) {
31826
31826
  delete DA[Se];
31827
31827
  });
31828
- var kA = c.useState(!1), EA = W(kA, 2), uA = EA[0], SA = EA[1];
31828
+ var kA = c.useState(!1), IA = W(kA, 2), uA = IA[0], SA = IA[1];
31829
31829
  c.useEffect(function() {
31830
31830
  SA(sv());
31831
31831
  }, []);
@@ -31848,7 +31848,7 @@ var oO = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
31848
31848
  return y;
31849
31849
  var NA = (Se = u[0]) === null || Se === void 0 ? void 0 : Se.value;
31850
31850
  return typeof NA == "string" || typeof NA == "number" ? String(NA) : "";
31851
- }, [y, f, u]), Ce = f === "combobox" && typeof w == "function" && w() || null, Te = typeof B == "function" && B(), aA = pi(ee, Te == null || (t = Te.props) === null || t === void 0 ? void 0 : t.ref), CA = c.useState(!1), IA = W(CA, 2), he = IA[0], Le = IA[1];
31851
+ }, [y, f, u]), Ce = f === "combobox" && typeof w == "function" && w() || null, Te = typeof B == "function" && B(), aA = pi(ee, Te == null || (t = Te.props) === null || t === void 0 ? void 0 : t.ref), CA = c.useState(!1), vA = W(CA, 2), he = vA[0], Le = vA[1];
31852
31852
  tt(function() {
31853
31853
  Le(!0);
31854
31854
  }, []);
@@ -31860,7 +31860,7 @@ var oO = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
31860
31860
  var ye = le ? !1 : BA, FA = c.useCallback(function(Se) {
31861
31861
  var NA = Se !== void 0 ? Se : !BA;
31862
31862
  q || (te(NA), BA !== NA && (Q == null || Q(NA)));
31863
- }, [q, BA, te, Q]), vA = c.useMemo(function() {
31863
+ }, [q, BA, te, Q]), EA = c.useMemo(function() {
31864
31864
  return (x || []).some(function(Se) {
31865
31865
  return [`
31866
31866
  `, `\r
@@ -32049,7 +32049,7 @@ var oO = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
32049
32049
  onSearch: D,
32050
32050
  onSearchSubmit: lA,
32051
32051
  onRemove: pe,
32052
- tokenWithEnter: vA,
32052
+ tokenWithEnter: EA,
32053
32053
  onInputBlur: we
32054
32054
  }))), ar;
32055
32055
  return Te ? ar = Jn : ar = /* @__PURE__ */ c.createElement("div", UA({
@@ -32503,9 +32503,9 @@ var od = /* @__PURE__ */ c.forwardRef(function(e, A) {
32503
32503
  We.cancel(iA);
32504
32504
  var OA = b.current.getBoundingClientRect(), DA = V / (l ? OA.width : OA.height);
32505
32505
  if (mA) {
32506
- var kA = (id(oA, l) - MA) * DA, EA = pA;
32507
- !y && l ? EA -= kA : EA += kA;
32508
- var uA = L.current, SA = z.current, KA = SA ? EA / SA : 0, ee = Math.ceil(KA * uA);
32506
+ var kA = (id(oA, l) - MA) * DA, IA = pA;
32507
+ !y && l ? IA -= kA : IA += kA;
32508
+ var uA = L.current, SA = z.current, KA = SA ? IA / SA : 0, ee = Math.ceil(KA * uA);
32509
32509
  ee = Math.max(ee, 0), ee = Math.min(ee, uA), iA = We(function() {
32510
32510
  s(ee, l);
32511
32511
  });
@@ -32605,7 +32605,7 @@ function IO(e, A) {
32605
32605
  return Z.current.scrollTop = de, de;
32606
32606
  });
32607
32607
  }
32608
- var EA = RA({
32608
+ var IA = RA({
32609
32609
  start: 0,
32610
32610
  end: P.length
32611
32611
  }), uA = RA(), SA = uO(P, y), KA = W(SA, 1), ee = KA[0];
@@ -32638,7 +32638,7 @@ function IO(e, A) {
32638
32638
  offset: de
32639
32639
  };
32640
32640
  }, [K, G, eA, P, F, i]), jA = re.scrollHeight, YA = re.start, $A = re.end, Ve = re.offset;
32641
- EA.current.start = YA, EA.current.end = $A, c.useLayoutEffect(function() {
32641
+ IA.current.start = YA, IA.current.end = $A, c.useLayoutEffect(function() {
32642
32642
  var fA = T.getRecord();
32643
32643
  if (fA.size === 1) {
32644
32644
  var QA = Array.from(fA.keys())[0], ue = fA.get(QA), de = P[YA];
@@ -32666,13 +32666,13 @@ function IO(e, A) {
32666
32666
  return Sq(wA.width, C);
32667
32667
  }, [wA.width, C]), CA = c.useMemo(function() {
32668
32668
  return Sq(wA.height, jA);
32669
- }, [wA.height, jA]), IA = jA - i, he = RA(IA);
32670
- he.current = IA;
32669
+ }, [wA.height, jA]), vA = jA - i, he = RA(vA);
32670
+ he.current = vA;
32671
32671
  function Le(fA) {
32672
32672
  var QA = fA;
32673
32673
  return Number.isNaN(he.current) || (QA = Math.min(QA, he.current)), QA = Math.max(QA, 0), QA;
32674
32674
  }
32675
- var Qe = eA <= 0, me = eA >= IA, PA = VA <= 0, te = VA >= C, BA = tE(Qe, me, PA, te), le = function() {
32675
+ var Qe = eA <= 0, me = eA >= vA, PA = VA <= 0, te = VA >= C, BA = tE(Qe, me, PA, te), le = function() {
32676
32676
  return {
32677
32677
  x: Y ? -VA : VA,
32678
32678
  y: eA
@@ -32683,7 +32683,7 @@ function IO(e, A) {
32683
32683
  (ye.current.x !== QA.x || ye.current.y !== QA.y) && (w(QA), ye.current = QA);
32684
32684
  }
32685
32685
  });
32686
- function vA(fA, QA) {
32686
+ function EA(fA, QA) {
32687
32687
  var ue = fA;
32688
32688
  QA ? (iu(function() {
32689
32689
  j(ue);
@@ -32807,7 +32807,7 @@ function IO(e, A) {
32807
32807
  scrollOffset: eA,
32808
32808
  scrollRange: jA,
32809
32809
  rtl: Y,
32810
- onScroll: vA,
32810
+ onScroll: EA,
32811
32811
  onStartMove: pA,
32812
32812
  onStopMove: OA,
32813
32813
  spinSize: CA,
@@ -32821,7 +32821,7 @@ function IO(e, A) {
32821
32821
  scrollOffset: VA,
32822
32822
  scrollRange: C,
32823
32823
  rtl: Y,
32824
- onScroll: vA,
32824
+ onScroll: EA,
32825
32825
  onStartMove: pA,
32826
32826
  onStopMove: OA,
32827
32827
  spinSize: aA,
@@ -33006,7 +33006,7 @@ var wO = function(A, t) {
33006
33006
  }
33007
33007
  var DA = oA.disabled, kA = oA.title;
33008
33008
  oA.children;
33009
- var EA = oA.style, uA = oA.className, SA = Ie(oA, MO), KA = Vn(SA, L), ee = F(mA), re = DA || !ee && R, jA = "".concat(y, "-option"), YA = tA(y, jA, uA, U(U(U(U({}, "".concat(jA, "-grouped"), j), "".concat(jA, "-active"), Y === X && !re), "".concat(jA, "-disabled"), re), "".concat(jA, "-selected"), ee)), $A = z(iA), Ve = !w || typeof w == "function" || ee, Ae = typeof $A == "number" ? $A : $A || mA, xA = Bq(Ae) ? Ae.toString() : void 0;
33009
+ var IA = oA.style, uA = oA.className, SA = Ie(oA, MO), KA = Vn(SA, L), ee = F(mA), re = DA || !ee && R, jA = "".concat(y, "-option"), YA = tA(y, jA, uA, U(U(U(U({}, "".concat(jA, "-grouped"), j), "".concat(jA, "-active"), Y === X && !re), "".concat(jA, "-disabled"), re), "".concat(jA, "-selected"), ee)), $A = z(iA), Ve = !w || typeof w == "function" || ee, Ae = typeof $A == "number" ? $A : $A || mA, xA = Bq(Ae) ? Ae.toString() : void 0;
33010
33010
  return kA !== void 0 && (xA = kA), /* @__PURE__ */ c.createElement("div", UA({}, hi(KA), g ? {} : J(iA, X), {
33011
33011
  "aria-selected": Z(mA),
33012
33012
  className: YA,
@@ -33017,7 +33017,7 @@ var wO = function(A, t) {
33017
33017
  onClick: function() {
33018
33018
  re || H(mA);
33019
33019
  },
33020
- style: EA
33020
+ style: IA
33021
33021
  }), /* @__PURE__ */ c.createElement("div", {
33022
33022
  className: "".concat(jA, "-content")
33023
33023
  }, typeof p == "function" ? p(iA, {
@@ -33220,12 +33220,12 @@ var iE = /* @__PURE__ */ c.forwardRef(function(e, A) {
33220
33220
  /* eslint-enable react-hooks/exhaustive-deps */
33221
33221
  ), J = Ft("", {
33222
33222
  value: l !== void 0 ? l : s,
33223
- postState: function(vA) {
33224
- return vA || "";
33223
+ postState: function(EA) {
33224
+ return EA || "";
33225
33225
  }
33226
33226
  }), eA = W(J, 2), nA = eA[0], iA = eA[1], X = FO(M, Q, z, w, B), VA = X.valueOptions, j = X.labelOptions, oA = X.options, rA = c.useCallback(function(FA) {
33227
- var vA = pg(FA);
33228
- return vA.map(function(JA) {
33227
+ var EA = pg(FA);
33228
+ return EA.map(function(JA) {
33229
33229
  var WA, ZA, D, lA, dA;
33230
33230
  if (YO(JA))
33231
33231
  WA = JA;
@@ -33252,18 +33252,18 @@ var iE = /* @__PURE__ */ c.forwardRef(function(e, A) {
33252
33252
  }, [z, B, VA]), mA = Ft(G, {
33253
33253
  value: F
33254
33254
  }), MA = W(mA, 2), pA = MA[0], OA = MA[1], DA = c.useMemo(function() {
33255
- var FA, vA = Z && pA === null ? [] : pA, JA = rA(vA);
33255
+ var FA, EA = Z && pA === null ? [] : pA, JA = rA(EA);
33256
33256
  return n === "combobox" && PU((FA = JA[0]) === null || FA === void 0 ? void 0 : FA.value) ? [] : JA;
33257
- }, [pA, rA, n, Z]), kA = SO(DA, VA), EA = W(kA, 2), uA = EA[0], SA = EA[1], KA = c.useMemo(function() {
33257
+ }, [pA, rA, n, Z]), kA = SO(DA, VA), IA = W(kA, 2), uA = IA[0], SA = IA[1], KA = c.useMemo(function() {
33258
33258
  if (!n && uA.length === 1) {
33259
33259
  var FA = uA[0];
33260
33260
  if (FA.value === null && (FA.label === null || FA.label === void 0))
33261
33261
  return [];
33262
33262
  }
33263
- return uA.map(function(vA) {
33263
+ return uA.map(function(EA) {
33264
33264
  var JA;
33265
- return O(O({}, vA), {}, {
33266
- label: (JA = typeof T == "function" ? T(vA) : vA.label) !== null && JA !== void 0 ? JA : vA.value
33265
+ return O(O({}, EA), {}, {
33266
+ label: (JA = typeof T == "function" ? T(EA) : EA.label) !== null && JA !== void 0 ? JA : EA.value
33267
33267
  });
33268
33268
  });
33269
33269
  }, [n, uA, T]), ee = c.useMemo(function() {
@@ -33273,24 +33273,24 @@ var iE = /* @__PURE__ */ c.forwardRef(function(e, A) {
33273
33273
  }, [uA]);
33274
33274
  c.useEffect(function() {
33275
33275
  if (n === "combobox") {
33276
- var FA, vA = (FA = uA[0]) === null || FA === void 0 ? void 0 : FA.value;
33277
- iA(JU(vA) ? String(vA) : "");
33276
+ var FA, EA = (FA = uA[0]) === null || FA === void 0 ? void 0 : FA.value;
33277
+ iA(JU(EA) ? String(EA) : "");
33278
33278
  }
33279
33279
  }, [uA]);
33280
- var re = bq(function(FA, vA) {
33281
- var JA = vA ?? FA;
33280
+ var re = bq(function(FA, EA) {
33281
+ var JA = EA ?? FA;
33282
33282
  return U(U({}, z.value, FA), z.label, JA);
33283
33283
  }), jA = c.useMemo(function() {
33284
33284
  if (n !== "tags")
33285
33285
  return oA;
33286
- var FA = yA(oA), vA = function(WA) {
33286
+ var FA = yA(oA), EA = function(WA) {
33287
33287
  return VA.has(WA);
33288
33288
  };
33289
33289
  return yA(uA).sort(function(JA, WA) {
33290
33290
  return JA.value < WA.value ? -1 : 1;
33291
33291
  }).forEach(function(JA) {
33292
33292
  var WA = JA.value;
33293
- vA(WA) || FA.push(re(WA, JA.label));
33293
+ EA(WA) || FA.push(re(WA, JA.label));
33294
33294
  }), FA;
33295
33295
  }, [re, oA, VA, uA, n]), YA = BO(jA, z, nA, L, w), $A = c.useMemo(function() {
33296
33296
  return n !== "tags" || !nA || YA.some(function(FA) {
@@ -33298,8 +33298,8 @@ var iE = /* @__PURE__ */ c.forwardRef(function(e, A) {
33298
33298
  }) || YA.some(function(FA) {
33299
33299
  return FA[z.value] === nA;
33300
33300
  }) ? YA : [re(nA)].concat(yA(YA));
33301
- }, [re, w, n, YA, nA, z]), Ve = function FA(vA) {
33302
- var JA = yA(vA).sort(function(WA, ZA) {
33301
+ }, [re, w, n, YA, nA, z]), Ve = function FA(EA) {
33302
+ var JA = yA(EA).sort(function(WA, ZA) {
33303
33303
  return I(WA, ZA, {
33304
33304
  searchValue: nA
33305
33305
  });
@@ -33316,8 +33316,8 @@ var iE = /* @__PURE__ */ c.forwardRef(function(e, A) {
33316
33316
  fieldNames: z,
33317
33317
  childrenAsData: H
33318
33318
  });
33319
- }, [Ae, z, H]), wA = function(vA) {
33320
- var JA = rA(vA);
33319
+ }, [Ae, z, H]), wA = function(EA) {
33320
+ var JA = rA(EA);
33321
33321
  if (OA(JA), K && // Trigger event only when value changed
33322
33322
  (JA.length !== uA.length || JA.some(function(D, lA) {
33323
33323
  var dA;
@@ -33335,17 +33335,17 @@ var iE = /* @__PURE__ */ c.forwardRef(function(e, A) {
33335
33335
  Z ? ZA : ZA[0]
33336
33336
  );
33337
33337
  }
33338
- }, ae = c.useState(null), se = W(ae, 2), Ce = se[0], Te = se[1], aA = c.useState(0), CA = W(aA, 2), IA = CA[0], he = CA[1], Le = v !== void 0 ? v : n !== "combobox", Qe = c.useCallback(function(FA, vA) {
33338
+ }, ae = c.useState(null), se = W(ae, 2), Ce = se[0], Te = se[1], aA = c.useState(0), CA = W(aA, 2), vA = CA[0], he = CA[1], Le = v !== void 0 ? v : n !== "combobox", Qe = c.useCallback(function(FA, EA) {
33339
33339
  var JA = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, WA = JA.source, ZA = WA === void 0 ? "keyboard" : WA;
33340
- he(vA), o && n === "combobox" && FA !== null && ZA === "keyboard" && Te(String(FA));
33341
- }, [o, n]), me = function(vA, JA, WA) {
33340
+ he(EA), o && n === "combobox" && FA !== null && ZA === "keyboard" && Te(String(FA));
33341
+ }, [o, n]), me = function(EA, JA, WA) {
33342
33342
  var ZA = function() {
33343
- var pe, we = SA(vA);
33343
+ var pe, we = SA(EA);
33344
33344
  return [N ? {
33345
33345
  label: we == null ? void 0 : we[z.label],
33346
- value: vA,
33347
- key: (pe = we == null ? void 0 : we.key) !== null && pe !== void 0 ? pe : vA
33348
- } : vA, rd(we)];
33346
+ value: EA,
33347
+ key: (pe = we == null ? void 0 : we.key) !== null && pe !== void 0 ? pe : EA
33348
+ } : EA, rd(we)];
33349
33349
  };
33350
33350
  if (JA && h) {
33351
33351
  var D = ZA(), lA = W(D, 2), dA = lA[0], GA = lA[1];
@@ -33354,30 +33354,30 @@ var iE = /* @__PURE__ */ c.forwardRef(function(e, A) {
33354
33354
  var LA = ZA(), ce = W(LA, 2), XA = ce[0], ie = ce[1];
33355
33355
  m(XA, ie);
33356
33356
  }
33357
- }, PA = bq(function(FA, vA) {
33358
- var JA, WA = Z ? vA.selected : !0;
33357
+ }, PA = bq(function(FA, EA) {
33358
+ var JA, WA = Z ? EA.selected : !0;
33359
33359
  WA ? JA = Z ? [].concat(yA(uA), [FA]) : [FA] : JA = uA.filter(function(ZA) {
33360
33360
  return ZA.value !== FA;
33361
33361
  }), wA(JA), me(FA, WA), n === "combobox" ? Te("") : (!ul || d) && (iA(""), Te(""));
33362
- }), te = function(vA, JA) {
33363
- wA(vA);
33362
+ }), te = function(EA, JA) {
33363
+ wA(EA);
33364
33364
  var WA = JA.type, ZA = JA.values;
33365
33365
  (WA === "remove" || WA === "clear") && ZA.forEach(function(D) {
33366
33366
  me(D.value, !1, WA);
33367
33367
  });
33368
- }, BA = function(vA, JA) {
33369
- if (iA(vA), Te(null), JA.source === "submit") {
33370
- var WA = (vA || "").trim();
33368
+ }, BA = function(EA, JA) {
33369
+ if (iA(EA), Te(null), JA.source === "submit") {
33370
+ var WA = (EA || "").trim();
33371
33371
  if (WA) {
33372
33372
  var ZA = Array.from(new Set([].concat(yA(ee), [WA])));
33373
33373
  wA(ZA), me(WA, !0), iA("");
33374
33374
  }
33375
33375
  return;
33376
33376
  }
33377
- JA.source !== "blur" && (n === "combobox" && wA(vA), u == null || u(vA));
33378
- }, le = function(vA) {
33379
- var JA = vA;
33380
- n !== "tags" && (JA = vA.map(function(ZA) {
33377
+ JA.source !== "blur" && (n === "combobox" && wA(EA), u == null || u(EA));
33378
+ }, le = function(EA) {
33379
+ var JA = EA;
33380
+ n !== "tags" && (JA = EA.map(function(ZA) {
33381
33381
  var D = j.get(ZA);
33382
33382
  return D == null ? void 0 : D.value;
33383
33383
  }).filter(function(ZA) {
@@ -33426,7 +33426,7 @@ var iE = /* @__PURE__ */ c.forwardRef(function(e, A) {
33426
33426
  OptionList: rE,
33427
33427
  emptyOptions: !xA.length,
33428
33428
  activeValue: Ce,
33429
- activeDescendantId: "".concat(P, "_list_").concat(IA)
33429
+ activeDescendantId: "".concat(P, "_list_").concat(vA)
33430
33430
  })));
33431
33431
  });
33432
33432
  process.env.NODE_ENV !== "production" && (iE.displayName = "Select");
@@ -33769,7 +33769,7 @@ const VE = "SECRET_COMBOBOX_MODE_DO_NOT_USE", dE = (e, A) => {
33769
33769
  hasFeedback: OA,
33770
33770
  isFormItemInput: DA,
33771
33771
  feedbackIcon: kA
33772
- } = c.useContext(Kn), EA = Kl(pA, f);
33772
+ } = c.useContext(Kn), IA = Kl(pA, f);
33773
33773
  let uA;
33774
33774
  C !== void 0 ? uA = C : oA === "combobox" ? uA = null : uA = (T == null ? void 0 : T("Select")) || /* @__PURE__ */ c.createElement(ZO, {
33775
33775
  componentName: "Select"
@@ -33799,7 +33799,7 @@ const VE = "SECRET_COMBOBOX_MODE_DO_NOT_USE", dE = (e, A) => {
33799
33799
  [`${Z}-rtl`]: L === "rtl",
33800
33800
  [`${Z}-${eA}`]: nA,
33801
33801
  [`${Z}-in-form-item`]: DA
33802
- }, tl(Z, EA, OA), J, Y.className, i, o, j, iA, VA), ae = c.useMemo(() => V !== void 0 ? V : L === "rtl" ? "bottomRight" : "bottomLeft", [V, L]);
33802
+ }, tl(Z, IA, OA), J, Y.className, i, o, j, iA, VA), ae = c.useMemo(() => V !== void 0 ? V : L === "rtl" ? "bottomRight" : "bottomLeft", [V, L]);
33803
33803
  if (process.env.NODE_ENV !== "production") {
33804
33804
  const Ce = gt("Select");
33805
33805
  Ce.deprecated(!l, "dropdownClassName", "popupClassName"), Ce.deprecated(I === void 0, "dropdownMatchSelectWidth", "popupMatchSelectWidth"), process.env.NODE_ENV !== "production" && Ce(!("showArrow" in e), "deprecated", "`showArrow` is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting `suffixIcon` to null."), Ce.deprecated(!("bordered" in e), "bordered", "variant"), process.env.NODE_ENV !== "production" && Ce(!(typeof y < "u" && !rA), "usage", "`maxCount` only works with mode `multiple` or `tags`");
@@ -34284,7 +34284,7 @@ const Mk = {
34284
34284
  consult_transfer: "咨询转接",
34285
34285
  consult_retrieve: "取回通话",
34286
34286
  conference: "三方会议"
34287
- }, Sk = Oq(() => import("./ConsultModel-BkWXP015.mjs")), Bk = Oq(() => import("./TransferModel-Bc6YRpw1.mjs")), _k = (e) => {
34287
+ }, Sk = Oq(() => import("./ConsultModel-CiU5_lJB.mjs")), Bk = Oq(() => import("./TransferModel-Dn_zSwtv.mjs")), _k = (e) => {
34288
34288
  var se, Ce, Te;
34289
34289
  const {
34290
34290
  style: A,
@@ -34349,10 +34349,10 @@ const Mk = {
34349
34349
  const j = () => {
34350
34350
  var aA, CA;
34351
34351
  (aA = h.current) == null || aA.on(Ge.EVENT_ALL, ({
34352
- event: IA,
34352
+ event: vA,
34353
34353
  data: he
34354
34354
  }) => {
34355
- switch (IA) {
34355
+ switch (vA) {
34356
34356
  // 播放等待音
34357
34357
  // 外呼成功\被咨询者振铃
34358
34358
  case gA.OUT_SUCCESS:
@@ -34382,10 +34382,10 @@ const Mk = {
34382
34382
  case gA.CONSULT_INCOMING:
34383
34383
  case gA.TRANSFER_INCOMING_CALL:
34384
34384
  case gA.INCOMING_CALL: {
34385
- (IA === gA.CONSULT_INCOMING || IA === gA.TRANSFER_INCOMING_CALL) && (a == null || a(IA, {
34385
+ (vA === gA.CONSULT_INCOMING || vA === gA.TRANSFER_INCOMING_CALL) && (a == null || a(vA, {
34386
34386
  agent_no: he.agent_no,
34387
34387
  agent_name: he.agent_name
34388
- })), IA === gA.INCOMING_CALL && (a == null || a(gA.INCOMING_CALL, {
34388
+ })), vA === gA.INCOMING_CALL && (a == null || a(gA.INCOMING_CALL, {
34389
34389
  customer_phone: he.customer_phone
34390
34390
  })), oA(q);
34391
34391
  return;
@@ -34395,7 +34395,7 @@ const Mk = {
34395
34395
  case gA.TRANSFER_OFF_HOOK:
34396
34396
  case gA.CONSULT_CALL_IN_SUCCESS:
34397
34397
  case gA.INCOMING_CALL_OFF_HOOK: {
34398
- a == null || a(IA, {
34398
+ a == null || a(vA, {
34399
34399
  session_id: he.session_id
34400
34400
  }), rA(q);
34401
34401
  return;
@@ -34405,24 +34405,29 @@ const Mk = {
34405
34405
  case gA.THREE_WAY_OUR_SIDE_HANGUP:
34406
34406
  case gA.OUR_SIDE_CONSULT_HANGUP:
34407
34407
  case gA.INCOMING_CALL_END: {
34408
- a == null || a(IA, {
34408
+ a == null || a(vA, {
34409
34409
  session_id: he.session_id
34410
34410
  }), rA(q), rA(C);
34411
34411
  return;
34412
34412
  }
34413
+ case gA.REJECT:
34414
+ console.log("拒接", he), a == null || a(vA, {
34415
+ session_id: he.session_id
34416
+ });
34417
+ return;
34413
34418
  default:
34414
34419
  return null;
34415
34420
  }
34416
- }), (CA = h.current) == null || CA.on(gA.AGENT_STATE, (IA) => {
34417
- R(IA.state_name);
34418
- }).on(gA.CALL_PROGRESS, (IA) => {
34419
- K(IA);
34420
- }).on(Ge.WEBSITE_DELAY, (IA) => {
34421
- B(IA);
34422
- }).on(gA.CUSTOMER_INFO, (IA) => {
34423
- g(IA);
34424
- }).on(Ge.AGENT_INIT_STATUS, (IA) => {
34425
- if (IA) {
34421
+ }), (CA = h.current) == null || CA.on(gA.AGENT_STATE, (vA) => {
34422
+ R(vA.state_name);
34423
+ }).on(gA.CALL_PROGRESS, (vA) => {
34424
+ K(vA);
34425
+ }).on(Ge.WEBSITE_DELAY, (vA) => {
34426
+ B(vA);
34427
+ }).on(gA.CUSTOMER_INFO, (vA) => {
34428
+ g(vA);
34429
+ }).on(Ge.AGENT_INIT_STATUS, (vA) => {
34430
+ if (vA) {
34426
34431
  const {
34427
34432
  default_device: he,
34428
34433
  init_state: Le,
@@ -34431,10 +34436,10 @@ const Mk = {
34431
34436
  } = h.current.getAgentData();
34432
34437
  k(Qe === 1), Qe === 1 && Z((me || "").split("#")), b(he), R(Le === 1 ? "空闲" : "忙碌"), OA();
34433
34438
  }
34434
- }).on(Ge.SELECT_EXTERNAL_NUMBER, (IA) => {
34435
- L(IA);
34436
- }).on(Ge.FAIL_NOTIFICATION, (IA) => {
34437
- rt.error(IA);
34439
+ }).on(Ge.SELECT_EXTERNAL_NUMBER, (vA) => {
34440
+ L(vA);
34441
+ }).on(Ge.FAIL_NOTIFICATION, (vA) => {
34442
+ rt.error(vA);
34438
34443
  }).on(Ge.KICK_OFF, () => {
34439
34444
  a ? a == null || a(Ge.KICK_OFF) : rt.warning("您的座席账号已在别处登录,请重新登录。如非您本人操作,请及时修改密码。"), R("");
34440
34445
  });
@@ -34453,16 +34458,16 @@ const Mk = {
34453
34458
  b(aA), rt.success("切换设备成功"), p((/* @__PURE__ */ new Date()).getTime());
34454
34459
  }
34455
34460
  }));
34456
- } catch (IA) {
34461
+ } catch (vA) {
34457
34462
  const {
34458
34463
  msg: he
34459
- } = JSON.parse(IA.message);
34464
+ } = JSON.parse(vA.message);
34460
34465
  rt.warning(he);
34461
34466
  }
34462
34467
  }, MA = async (aA, CA) => {
34463
- var IA;
34468
+ var vA;
34464
34469
  try {
34465
- await ((IA = h.current) == null ? void 0 : IA.agent_api.changeState({
34470
+ await ((vA = h.current) == null ? void 0 : vA.agent_api.changeState({
34466
34471
  data: {
34467
34472
  state: aA,
34468
34473
  state_name: CA
@@ -34488,10 +34493,10 @@ const Mk = {
34488
34493
  rt.success(`切换[${aA}]外显号码成功`);
34489
34494
  }
34490
34495
  }));
34491
- } catch (IA) {
34496
+ } catch (vA) {
34492
34497
  const {
34493
34498
  msg: he
34494
- } = JSON.parse(IA.message);
34499
+ } = JSON.parse(vA.message);
34495
34500
  rt.warning(he);
34496
34501
  }
34497
34502
  }, OA = async () => {
@@ -34504,18 +34509,18 @@ const Mk = {
34504
34509
  }));
34505
34510
  } catch (CA) {
34506
34511
  const {
34507
- msg: IA
34512
+ msg: vA
34508
34513
  } = JSON.parse(CA.message);
34509
- rt.warning(IA);
34514
+ rt.warning(vA);
34510
34515
  }
34511
34516
  }, DA = async (aA) => {
34512
34517
  var CA;
34513
34518
  try {
34514
34519
  await ((CA = h.current) == null ? void 0 : CA.call_api.makeCall(aA));
34515
- } catch (IA) {
34520
+ } catch (vA) {
34516
34521
  const {
34517
34522
  msg: he
34518
- } = JSON.parse(IA.message);
34523
+ } = JSON.parse(vA.message);
34519
34524
  rt.warning(he);
34520
34525
  }
34521
34526
  }, kA = async () => {
@@ -34524,19 +34529,19 @@ const Mk = {
34524
34529
  await ((aA = h.current) == null ? void 0 : aA.call_api.answerCall());
34525
34530
  } catch (CA) {
34526
34531
  const {
34527
- msg: IA
34532
+ msg: vA
34528
34533
  } = JSON.parse(CA.message);
34529
- rt.warning(IA);
34534
+ rt.warning(vA);
34530
34535
  }
34531
- }, EA = async () => {
34536
+ }, IA = async () => {
34532
34537
  var aA;
34533
34538
  try {
34534
34539
  (aA = h.current) == null || aA.call_api.cancelCall();
34535
34540
  } catch (CA) {
34536
34541
  const {
34537
- msg: IA
34542
+ msg: vA
34538
34543
  } = JSON.parse(CA.message);
34539
- rt.warning(IA);
34544
+ rt.warning(vA);
34540
34545
  }
34541
34546
  }, uA = async () => {
34542
34547
  var aA;
@@ -34544,9 +34549,9 @@ const Mk = {
34544
34549
  await ((aA = h.current) == null ? void 0 : aA.call_api.hangup());
34545
34550
  } catch (CA) {
34546
34551
  const {
34547
- msg: IA
34552
+ msg: vA
34548
34553
  } = JSON.parse(CA.message);
34549
- rt.warning(IA);
34554
+ rt.warning(vA);
34550
34555
  }
34551
34556
  }, SA = async () => {
34552
34557
  var aA;
@@ -34554,9 +34559,9 @@ const Mk = {
34554
34559
  (aA = h.current) == null || aA.call_api.holdCall();
34555
34560
  } catch (CA) {
34556
34561
  const {
34557
- msg: IA
34562
+ msg: vA
34558
34563
  } = JSON.parse(CA.message);
34559
- rt.warning(IA);
34564
+ rt.warning(vA);
34560
34565
  }
34561
34566
  }, KA = () => {
34562
34567
  var aA;
@@ -34565,10 +34570,10 @@ const Mk = {
34565
34570
  var CA;
34566
34571
  try {
34567
34572
  await ((CA = h.current) == null ? void 0 : CA.call_api.consultCall(aA));
34568
- } catch (IA) {
34573
+ } catch (vA) {
34569
34574
  const {
34570
34575
  msg: he
34571
- } = JSON.parse(IA.message);
34576
+ } = JSON.parse(vA.message);
34572
34577
  rt.warning(he);
34573
34578
  }
34574
34579
  }, re = async () => {
@@ -34577,9 +34582,9 @@ const Mk = {
34577
34582
  (aA = h.current) == null || aA.call_api.consultRetrieve();
34578
34583
  } catch (CA) {
34579
34584
  const {
34580
- msg: IA
34585
+ msg: vA
34581
34586
  } = JSON.parse(CA.message);
34582
- rt.warning(IA);
34587
+ rt.warning(vA);
34583
34588
  }
34584
34589
  }, jA = async () => {
34585
34590
  var aA;
@@ -34587,9 +34592,9 @@ const Mk = {
34587
34592
  (aA = h.current) == null || aA.call_api.consultTransfer();
34588
34593
  } catch (CA) {
34589
34594
  const {
34590
- msg: IA
34595
+ msg: vA
34591
34596
  } = JSON.parse(CA.message);
34592
- rt.warning(IA);
34597
+ rt.warning(vA);
34593
34598
  }
34594
34599
  }, YA = () => {
34595
34600
  var aA;
@@ -34597,9 +34602,9 @@ const Mk = {
34597
34602
  (aA = h.current) == null || aA.call_api.mute();
34598
34603
  } catch (CA) {
34599
34604
  const {
34600
- msg: IA
34605
+ msg: vA
34601
34606
  } = JSON.parse(CA.message);
34602
- rt.warning(IA);
34607
+ rt.warning(vA);
34603
34608
  }
34604
34609
  }, $A = () => {
34605
34610
  var aA;
@@ -34607,9 +34612,9 @@ const Mk = {
34607
34612
  (aA = h.current) == null || aA.call_api.unmute();
34608
34613
  } catch (CA) {
34609
34614
  const {
34610
- msg: IA
34615
+ msg: vA
34611
34616
  } = JSON.parse(CA.message);
34612
- rt.warning(IA);
34617
+ rt.warning(vA);
34613
34618
  }
34614
34619
  }, Ve = () => {
34615
34620
  var aA;
@@ -34617,9 +34622,9 @@ const Mk = {
34617
34622
  (aA = h.current) == null || aA.call_api.satisfactionEvaluation();
34618
34623
  } catch (CA) {
34619
34624
  const {
34620
- msg: IA
34625
+ msg: vA
34621
34626
  } = JSON.parse(CA.message);
34622
- rt.warning(IA);
34627
+ rt.warning(vA);
34623
34628
  }
34624
34629
  }, Ae = () => {
34625
34630
  var aA;
@@ -34627,28 +34632,28 @@ const Mk = {
34627
34632
  (aA = h.current) == null || aA.call_api.startConference();
34628
34633
  } catch (CA) {
34629
34634
  const {
34630
- msg: IA
34635
+ msg: vA
34631
34636
  } = JSON.parse(CA.message);
34632
- rt.warning(IA);
34637
+ rt.warning(vA);
34633
34638
  }
34634
34639
  }, xA = async (aA) => {
34635
34640
  var CA;
34636
34641
  try {
34637
34642
  await ((CA = h.current) == null ? void 0 : CA.call_api.transferAgent(aA));
34638
- } catch (IA) {
34643
+ } catch (vA) {
34639
34644
  const {
34640
34645
  msg: he
34641
- } = JSON.parse(IA.message);
34646
+ } = JSON.parse(vA.message);
34642
34647
  rt.warning(he);
34643
34648
  }
34644
34649
  }, wA = async (aA) => {
34645
34650
  var CA;
34646
34651
  try {
34647
34652
  await ((CA = h.current) == null ? void 0 : CA.call_api.transferOutline(aA));
34648
- } catch (IA) {
34653
+ } catch (vA) {
34649
34654
  const {
34650
34655
  msg: he
34651
- } = JSON.parse(IA.message);
34656
+ } = JSON.parse(vA.message);
34652
34657
  rt.warning(he);
34653
34658
  }
34654
34659
  };
@@ -34688,7 +34693,7 @@ const Mk = {
34688
34693
  icon: /* @__PURE__ */ sA.jsx(ke, {
34689
34694
  name: "jujie",
34690
34695
  color: "red",
34691
- onClick: EA,
34696
+ onClick: IA,
34692
34697
  size: 25
34693
34698
  })
34694
34699
  },