@notificationapi/react 0.0.9 → 0.0.10

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.
Files changed (27) hide show
  1. package/dist/assets/BellOutlined.js +18 -15
  2. package/dist/assets/Inbox.js +2376 -2270
  3. package/dist/assets/Notification.js +1960 -1340
  4. package/dist/assets/Preferences.js +564 -533
  5. package/dist/assets/PurePanel.js +24 -23
  6. package/dist/assets/button.js +275 -265
  7. package/dist/assets/colors.js +19298 -7652
  8. package/dist/assets/index.js +48 -47
  9. package/dist/assets/index2.js +94 -92
  10. package/dist/assets/index3.js +2990 -2647
  11. package/dist/components/Notifications/Inbox.d.ts +0 -1
  12. package/dist/components/Notifications/InboxHeader.d.ts +2 -3
  13. package/dist/components/Notifications/InboxHeader.js +14 -13
  14. package/dist/components/Notifications/Notification.d.ts +2 -3
  15. package/dist/components/Notifications/NotificationCounter.d.ts +1 -1
  16. package/dist/components/Notifications/NotificationFeed.d.ts +0 -1
  17. package/dist/components/Notifications/NotificationLauncher.d.ts +0 -1
  18. package/dist/components/Notifications/NotificationPopup.d.ts +0 -1
  19. package/dist/components/Notifications/UnreadBadge.d.ts +1 -1
  20. package/dist/components/Preferences/NotificationPreferencesInline.d.ts +2 -3
  21. package/dist/components/Preferences/NotificationPreferencesPopup.d.ts +2 -3
  22. package/dist/components/Preferences/NotificationPreferencesPopup.js +682 -646
  23. package/dist/components/Preferences/PreferenceGroup.d.ts +1 -2
  24. package/dist/components/Preferences/Preferences.d.ts +1 -2
  25. package/dist/components/Provider/index.d.ts +2 -2
  26. package/dist/components/Provider/index.js +80 -80
  27. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { jsx as R, jsxs as G, Fragment as ee } from "react/jsx-runtime";
2
- import { NotificationAPIContext as ke, DeliveryOptions as A, Channels as H } from "../components/Provider/index.js";
1
+ import { jsx as R, jsxs as F, Fragment as ne } from "react/jsx-runtime";
2
+ import { NotificationAPIContext as Ne, DeliveryOptions as _, Channels as T } from "../components/Provider/index.js";
3
3
  import * as d from "react";
4
- import j, { forwardRef as Ge, useRef as me, useImperativeHandle as Ve, useContext as Oe } from "react";
5
- import { G as ie, v as oe, c as D, H as _, _ as W, d as fe, g as ae, m as re, r as V, u as N, I as Pe, a as q, o as Ke, D as Ee, f as Xe, J as Ue, t as Ye, p as Je, L as Qe, b as be, l as Ze, T as en, M as F } from "./colors.js";
6
- import { u as J, F as nn, p as Me, W as Ne, w as tn, j as ue, K as ne, x as he, y as on, o as pe, A as an, B as rn, e as ln, I as Q, T as ze } from "./index3.js";
7
- import { p as Re, a as cn, R as sn } from "./BellOutlined.js";
8
- const dn = (e) => ({
4
+ import B, { forwardRef as Je, useRef as be, useImperativeHandle as Ze, useContext as ke } from "react";
5
+ import { L as oe, w as ae, c as j, M as H, _ as V, d as ve, g as re, m as le, r as G, u as M, N as Pe, a as W, p as en, j as ce, D as Me, f as nn, O as tn, v as on, q as an, Q as rn, b as Ce, n as ln, T as cn, R as q } from "./colors.js";
6
+ import { u as J, F as sn, p as ze, W as Re, w as dn, j as ge, K as te, x as fe, y as un, o as $e, A as hn, B as gn, e as fn, I as Z, T as De } from "./index3.js";
7
+ import { p as Be, a as mn, R as pn } from "./BellOutlined.js";
8
+ const bn = (e) => ({
9
9
  [e.componentCls]: {
10
10
  // For common/openAnimation
11
11
  [`${e.antCls}-motion-collapse-legacy`]: {
@@ -21,48 +21,48 @@ const dn = (e) => ({
21
21
  opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`
22
22
  }
23
23
  }
24
- }), Be = /* @__PURE__ */ d.createContext(null), un = Be.Provider, je = /* @__PURE__ */ d.createContext(null), hn = je.Provider;
25
- var gn = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "title", "onChange"], mn = /* @__PURE__ */ Ge(function(e, n) {
26
- var o = e.prefixCls, t = o === void 0 ? "rc-checkbox" : o, i = e.className, r = e.style, c = e.checked, a = e.disabled, l = e.defaultChecked, s = l === void 0 ? !1 : l, m = e.type, h = m === void 0 ? "checkbox" : m, C = e.title, u = e.onChange, w = ie(e, gn), f = me(null), p = me(null), I = J(s, {
24
+ }), _e = /* @__PURE__ */ d.createContext(null), vn = _e.Provider, je = /* @__PURE__ */ d.createContext(null), Cn = je.Provider;
25
+ var $n = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "title", "onChange"], yn = /* @__PURE__ */ Je(function(e, n) {
26
+ var o = e.prefixCls, t = o === void 0 ? "rc-checkbox" : o, i = e.className, r = e.style, c = e.checked, a = e.disabled, l = e.defaultChecked, s = l === void 0 ? !1 : l, f = e.type, h = f === void 0 ? "checkbox" : f, v = e.title, u = e.onChange, w = oe(e, $n), m = be(null), b = be(null), I = J(s, {
27
27
  value: c
28
- }), $ = oe(I, 2), S = $[0], v = $[1];
29
- Ve(n, function() {
28
+ }), $ = ae(I, 2), S = $[0], C = $[1];
29
+ Ze(n, function() {
30
30
  return {
31
- focus: function(b) {
32
- var k;
33
- (k = f.current) === null || k === void 0 || k.focus(b);
31
+ focus: function(p) {
32
+ var E;
33
+ (E = m.current) === null || E === void 0 || E.focus(p);
34
34
  },
35
35
  blur: function() {
36
- var b;
37
- (b = f.current) === null || b === void 0 || b.blur();
36
+ var p;
37
+ (p = m.current) === null || p === void 0 || p.blur();
38
38
  },
39
- input: f.current,
40
- nativeElement: p.current
39
+ input: m.current,
40
+ nativeElement: b.current
41
41
  };
42
42
  });
43
- var x = D(t, i, _(_({}, "".concat(t, "-checked"), S), "".concat(t, "-disabled"), a)), g = function(b) {
44
- a || ("checked" in e || v(b.target.checked), u == null || u({
45
- target: fe(fe({}, e), {}, {
43
+ var x = j(t, i, H(H({}, "".concat(t, "-checked"), S), "".concat(t, "-disabled"), a)), g = function(p) {
44
+ a || ("checked" in e || C(p.target.checked), u == null || u({
45
+ target: ve(ve({}, e), {}, {
46
46
  type: h,
47
- checked: b.target.checked
47
+ checked: p.target.checked
48
48
  }),
49
49
  stopPropagation: function() {
50
- b.stopPropagation();
50
+ p.stopPropagation();
51
51
  },
52
52
  preventDefault: function() {
53
- b.preventDefault();
53
+ p.preventDefault();
54
54
  },
55
- nativeEvent: b.nativeEvent
55
+ nativeEvent: p.nativeEvent
56
56
  }));
57
57
  };
58
58
  return /* @__PURE__ */ d.createElement("span", {
59
59
  className: x,
60
- title: C,
60
+ title: v,
61
61
  style: r,
62
- ref: p
63
- }, /* @__PURE__ */ d.createElement("input", W({}, w, {
62
+ ref: b
63
+ }, /* @__PURE__ */ d.createElement("input", V({}, w, {
64
64
  className: "".concat(t, "-input"),
65
- ref: f,
65
+ ref: m,
66
66
  onChange: g,
67
67
  disabled: a,
68
68
  checked: !!S,
@@ -71,13 +71,13 @@ var gn = ["prefixCls", "className", "style", "checked", "disabled", "defaultChec
71
71
  className: "".concat(t, "-inner")
72
72
  }));
73
73
  });
74
- const fn = (e) => {
74
+ const Sn = (e) => {
75
75
  const {
76
76
  componentCls: n,
77
77
  antCls: o
78
78
  } = e, t = `${n}-group`;
79
79
  return {
80
- [t]: Object.assign(Object.assign({}, V(e)), {
80
+ [t]: Object.assign(Object.assign({}, G(e)), {
81
81
  display: "inline-block",
82
82
  fontSize: 0,
83
83
  // RTL
@@ -92,7 +92,7 @@ const fn = (e) => {
92
92
  }
93
93
  })
94
94
  };
95
- }, bn = (e) => {
95
+ }, xn = (e) => {
96
96
  const {
97
97
  componentCls: n,
98
98
  wrapperMarginInlineEnd: o,
@@ -103,18 +103,18 @@ const fn = (e) => {
103
103
  motionEaseInOutCirc: a,
104
104
  colorBgContainer: l,
105
105
  colorBorder: s,
106
- lineWidth: m,
106
+ lineWidth: f,
107
107
  colorBgContainerDisabled: h,
108
- colorTextDisabled: C,
108
+ colorTextDisabled: v,
109
109
  paddingXS: u,
110
110
  dotColorDisabled: w,
111
- lineType: f,
112
- radioColor: p,
111
+ lineType: m,
112
+ radioColor: b,
113
113
  radioBgColor: I,
114
114
  calc: $
115
115
  } = e, S = `${n}-inner`, x = $(i).sub($(4).mul(2)), g = $(1).mul(i).equal();
116
116
  return {
117
- [`${n}-wrapper`]: Object.assign(Object.assign({}, V(e)), {
117
+ [`${n}-wrapper`]: Object.assign(Object.assign({}, G(e)), {
118
118
  display: "inline-flex",
119
119
  alignItems: "baseline",
120
120
  marginInlineStart: 0,
@@ -141,13 +141,13 @@ const fn = (e) => {
141
141
  insetInlineStart: 0,
142
142
  width: "100%",
143
143
  height: "100%",
144
- border: `${N(m)} ${f} ${t}`,
144
+ border: `${M(f)} ${m} ${t}`,
145
145
  borderRadius: "50%",
146
146
  visibility: "hidden",
147
147
  opacity: 0,
148
148
  content: '""'
149
149
  },
150
- [n]: Object.assign(Object.assign({}, V(e)), {
150
+ [n]: Object.assign(Object.assign({}, G(e)), {
151
151
  position: "relative",
152
152
  display: "inline-block",
153
153
  outline: "none",
@@ -174,7 +174,7 @@ const fn = (e) => {
174
174
  height: g,
175
175
  marginBlockStart: $(1).mul(i).div(-2).equal(),
176
176
  marginInlineStart: $(1).mul(i).div(-2).equal(),
177
- backgroundColor: p,
177
+ backgroundColor: b,
178
178
  borderBlockStart: 0,
179
179
  borderInlineStart: 0,
180
180
  borderRadius: g,
@@ -193,7 +193,7 @@ const fn = (e) => {
193
193
  backgroundColor: l,
194
194
  borderColor: s,
195
195
  borderStyle: "solid",
196
- borderWidth: m,
196
+ borderWidth: f,
197
197
  borderRadius: "50%",
198
198
  transition: `all ${c}`
199
199
  },
@@ -230,7 +230,7 @@ const fn = (e) => {
230
230
  cursor: "not-allowed"
231
231
  },
232
232
  [`${n}-disabled + span`]: {
233
- color: C,
233
+ color: v,
234
234
  cursor: "not-allowed"
235
235
  },
236
236
  [`&${n}-checked`]: {
@@ -249,7 +249,7 @@ const fn = (e) => {
249
249
  }
250
250
  })
251
251
  };
252
- }, pn = (e) => {
252
+ }, In = (e) => {
253
253
  const {
254
254
  buttonColor: n,
255
255
  controlHeight: o,
@@ -260,26 +260,26 @@ const fn = (e) => {
260
260
  motionDurationSlow: a,
261
261
  motionDurationMid: l,
262
262
  buttonPaddingInline: s,
263
- fontSize: m,
263
+ fontSize: f,
264
264
  buttonBg: h,
265
- fontSizeLG: C,
265
+ fontSizeLG: v,
266
266
  controlHeightLG: u,
267
267
  controlHeightSM: w,
268
- paddingXS: f,
269
- borderRadius: p,
268
+ paddingXS: m,
269
+ borderRadius: b,
270
270
  borderRadiusSM: I,
271
271
  borderRadiusLG: $,
272
272
  buttonCheckedBg: S,
273
- buttonSolidCheckedColor: v,
273
+ buttonSolidCheckedColor: C,
274
274
  colorTextDisabled: x,
275
275
  colorBgContainerDisabled: g,
276
- buttonCheckedBgDisabled: P,
277
- buttonCheckedColorDisabled: b,
278
- colorPrimary: k,
279
- colorPrimaryHover: M,
276
+ buttonCheckedBgDisabled: N,
277
+ buttonCheckedColorDisabled: p,
278
+ colorPrimary: E,
279
+ colorPrimaryHover: k,
280
280
  colorPrimaryActive: y,
281
- buttonSolidCheckedBg: E,
282
- buttonSolidCheckedHoverBg: B,
281
+ buttonSolidCheckedBg: P,
282
+ buttonSolidCheckedHoverBg: D,
283
283
  buttonSolidCheckedActiveBg: O,
284
284
  calc: z
285
285
  } = e;
@@ -292,10 +292,10 @@ const fn = (e) => {
292
292
  paddingInline: s,
293
293
  paddingBlock: 0,
294
294
  color: n,
295
- fontSize: m,
296
- lineHeight: N(z(o).sub(z(i).mul(2)).equal()),
295
+ fontSize: f,
296
+ lineHeight: M(z(o).sub(z(i).mul(2)).equal()),
297
297
  background: h,
298
- border: `${N(i)} ${r} ${c}`,
298
+ border: `${M(i)} ${r} ${c}`,
299
299
  // strange align fix for chrome but works
300
300
  // https://gw.alipayobjects.com/zos/rmsportal/VFTfKXJuogBAXcvfAUWJ.gif
301
301
  borderBlockStartWidth: z(i).add(0.02).equal(),
@@ -331,21 +331,21 @@ const fn = (e) => {
331
331
  }
332
332
  },
333
333
  "&:first-child": {
334
- borderInlineStart: `${N(i)} ${r} ${c}`,
335
- borderStartStartRadius: p,
336
- borderEndStartRadius: p
334
+ borderInlineStart: `${M(i)} ${r} ${c}`,
335
+ borderStartStartRadius: b,
336
+ borderEndStartRadius: b
337
337
  },
338
338
  "&:last-child": {
339
- borderStartEndRadius: p,
340
- borderEndEndRadius: p
339
+ borderStartEndRadius: b,
340
+ borderEndEndRadius: b
341
341
  },
342
342
  "&:first-child:last-child": {
343
- borderRadius: p
343
+ borderRadius: b
344
344
  },
345
345
  [`${t}-group-large &`]: {
346
346
  height: u,
347
- fontSize: C,
348
- lineHeight: N(z(u).sub(z(i).mul(2)).equal()),
347
+ fontSize: v,
348
+ lineHeight: M(z(u).sub(z(i).mul(2)).equal()),
349
349
  "&:first-child": {
350
350
  borderStartStartRadius: $,
351
351
  borderEndStartRadius: $
@@ -357,9 +357,9 @@ const fn = (e) => {
357
357
  },
358
358
  [`${t}-group-small &`]: {
359
359
  height: w,
360
- paddingInline: z(f).sub(i).equal(),
360
+ paddingInline: z(m).sub(i).equal(),
361
361
  paddingBlock: 0,
362
- lineHeight: N(z(w).sub(z(i).mul(2)).equal()),
362
+ lineHeight: M(z(w).sub(z(i).mul(2)).equal()),
363
363
  "&:first-child": {
364
364
  borderStartStartRadius: I,
365
365
  borderEndStartRadius: I
@@ -371,7 +371,7 @@ const fn = (e) => {
371
371
  },
372
372
  "&:hover": {
373
373
  position: "relative",
374
- color: k
374
+ color: E
375
375
  },
376
376
  "&:has(:focus-visible)": Object.assign({}, Pe(e)),
377
377
  [`${t}-inner, input[type='checkbox'], input[type='radio']`]: {
@@ -382,20 +382,20 @@ const fn = (e) => {
382
382
  },
383
383
  [`&-checked:not(${t}-button-wrapper-disabled)`]: {
384
384
  zIndex: 1,
385
- color: k,
385
+ color: E,
386
386
  background: S,
387
- borderColor: k,
387
+ borderColor: E,
388
388
  "&::before": {
389
- backgroundColor: k
389
+ backgroundColor: E
390
390
  },
391
391
  "&:first-child": {
392
- borderColor: k
392
+ borderColor: E
393
393
  },
394
394
  "&:hover": {
395
- color: M,
396
- borderColor: M,
395
+ color: k,
396
+ borderColor: k,
397
397
  "&::before": {
398
- backgroundColor: M
398
+ backgroundColor: k
399
399
  }
400
400
  },
401
401
  "&:active": {
@@ -407,16 +407,16 @@ const fn = (e) => {
407
407
  }
408
408
  },
409
409
  [`${t}-group-solid &-checked:not(${t}-button-wrapper-disabled)`]: {
410
- color: v,
411
- background: E,
412
- borderColor: E,
410
+ color: C,
411
+ background: P,
412
+ borderColor: P,
413
413
  "&:hover": {
414
- color: v,
415
- background: B,
416
- borderColor: B
414
+ color: C,
415
+ background: D,
416
+ borderColor: D
417
417
  },
418
418
  "&:active": {
419
- color: v,
419
+ color: C,
420
420
  background: O,
421
421
  borderColor: O
422
422
  }
@@ -433,14 +433,14 @@ const fn = (e) => {
433
433
  }
434
434
  },
435
435
  [`&-disabled${t}-button-wrapper-checked`]: {
436
- color: b,
437
- backgroundColor: P,
436
+ color: p,
437
+ backgroundColor: N,
438
438
  borderColor: c,
439
439
  boxShadow: "none"
440
440
  }
441
441
  }
442
442
  };
443
- }, vn = (e) => {
443
+ }, wn = (e) => {
444
444
  const {
445
445
  wireframe: n,
446
446
  padding: o,
@@ -451,21 +451,21 @@ const fn = (e) => {
451
451
  colorBgContainer: a,
452
452
  colorTextDisabled: l,
453
453
  controlItemBgActiveDisabled: s,
454
- colorTextLightSolid: m,
454
+ colorTextLightSolid: f,
455
455
  colorPrimary: h,
456
- colorPrimaryHover: C,
456
+ colorPrimaryHover: v,
457
457
  colorPrimaryActive: u,
458
458
  colorWhite: w
459
- } = e, f = 4, p = r, I = n ? p - f * 2 : p - (f + i) * 2;
459
+ } = e, m = 4, b = r, I = n ? b - m * 2 : b - (m + i) * 2;
460
460
  return {
461
461
  // Radio
462
- radioSize: p,
462
+ radioSize: b,
463
463
  dotSize: I,
464
464
  dotColorDisabled: l,
465
465
  // Radio buttons
466
- buttonSolidCheckedColor: m,
466
+ buttonSolidCheckedColor: f,
467
467
  buttonSolidCheckedBg: h,
468
- buttonSolidCheckedHoverBg: C,
468
+ buttonSolidCheckedHoverBg: v,
469
469
  buttonSolidCheckedActiveBg: u,
470
470
  buttonBg: a,
471
471
  buttonCheckedBg: a,
@@ -478,22 +478,22 @@ const fn = (e) => {
478
478
  radioColor: n ? h : w,
479
479
  radioBgColor: n ? a : h
480
480
  };
481
- }, Ae = ae("Radio", (e) => {
481
+ }, Ae = re("Radio", (e) => {
482
482
  const {
483
483
  controlOutline: n,
484
484
  controlOutlineWidth: o
485
- } = e, t = `0 0 0 ${N(o)} ${n}`, r = re(e, {
485
+ } = e, t = `0 0 0 ${M(o)} ${n}`, r = le(e, {
486
486
  radioFocusShadow: t,
487
487
  radioButtonFocusShadow: t
488
488
  });
489
- return [fn(r), bn(r), pn(r)];
490
- }, vn, {
489
+ return [Sn(r), xn(r), In(r)];
490
+ }, wn, {
491
491
  unitless: {
492
492
  radioSize: !0,
493
493
  dotSize: !0
494
494
  }
495
495
  });
496
- var Cn = function(e, n) {
496
+ var En = function(e, n) {
497
497
  var o = {};
498
498
  for (var t in e)
499
499
  Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
@@ -502,87 +502,94 @@ var Cn = function(e, n) {
502
502
  n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
503
503
  return o;
504
504
  };
505
- const $n = (e, n) => {
505
+ const On = (e, n) => {
506
506
  var o, t;
507
- const i = d.useContext(Be), r = d.useContext(je), {
507
+ const i = d.useContext(_e), r = d.useContext(je), {
508
508
  getPrefixCls: c,
509
509
  direction: a,
510
510
  radio: l
511
- } = d.useContext(q), s = d.useRef(null), m = Ke(n, s), {
511
+ } = d.useContext(W), s = d.useRef(null), f = en(n, s), {
512
512
  isFormItemInput: h
513
- } = d.useContext(nn), C = (O) => {
514
- var z, T;
515
- (z = e.onChange) === null || z === void 0 || z.call(e, O), (T = i == null ? void 0 : i.onChange) === null || T === void 0 || T.call(i, O);
513
+ } = d.useContext(sn);
514
+ if (process.env.NODE_ENV !== "production") {
515
+ const O = ce("Radio");
516
+ process.env.NODE_ENV !== "production" && O(!("optionType" in e), "usage", "`optionType` is only support in Radio.Group.");
517
+ }
518
+ const v = (O) => {
519
+ var z, A;
520
+ (z = e.onChange) === null || z === void 0 || z.call(e, O), (A = i == null ? void 0 : i.onChange) === null || A === void 0 || A.call(i, O);
516
521
  }, {
517
522
  prefixCls: u,
518
523
  className: w,
519
- rootClassName: f,
520
- children: p,
524
+ rootClassName: m,
525
+ children: b,
521
526
  style: I,
522
527
  title: $
523
- } = e, S = Cn(e, ["prefixCls", "className", "rootClassName", "children", "style", "title"]), v = c("radio", u), x = ((i == null ? void 0 : i.optionType) || r) === "button", g = x ? `${v}-button` : v, P = Me(v), [b, k, M] = Ae(v, P), y = Object.assign({}, S), E = d.useContext(Ee);
524
- i && (y.name = i.name, y.onChange = C, y.checked = e.value === i.value, y.disabled = (o = y.disabled) !== null && o !== void 0 ? o : i.disabled), y.disabled = (t = y.disabled) !== null && t !== void 0 ? t : E;
525
- const B = D(`${g}-wrapper`, {
528
+ } = e, S = En(e, ["prefixCls", "className", "rootClassName", "children", "style", "title"]), C = c("radio", u), x = ((i == null ? void 0 : i.optionType) || r) === "button", g = x ? `${C}-button` : C, N = ze(C), [p, E, k] = Ae(C, N), y = Object.assign({}, S), P = d.useContext(Me);
529
+ i && (y.name = i.name, y.onChange = v, y.checked = e.value === i.value, y.disabled = (o = y.disabled) !== null && o !== void 0 ? o : i.disabled), y.disabled = (t = y.disabled) !== null && t !== void 0 ? t : P;
530
+ const D = j(`${g}-wrapper`, {
526
531
  [`${g}-wrapper-checked`]: y.checked,
527
532
  [`${g}-wrapper-disabled`]: y.disabled,
528
533
  [`${g}-wrapper-rtl`]: a === "rtl",
529
534
  [`${g}-wrapper-in-form-item`]: h
530
- }, l == null ? void 0 : l.className, w, f, k, M, P);
531
- return b(/* @__PURE__ */ d.createElement(Ne, {
535
+ }, l == null ? void 0 : l.className, w, m, E, k, N);
536
+ return p(/* @__PURE__ */ d.createElement(Re, {
532
537
  component: "Radio",
533
538
  disabled: y.disabled
534
539
  }, /* @__PURE__ */ d.createElement("label", {
535
- className: B,
540
+ className: D,
536
541
  style: Object.assign(Object.assign({}, l == null ? void 0 : l.style), I),
537
542
  onMouseEnter: e.onMouseEnter,
538
543
  onMouseLeave: e.onMouseLeave,
539
544
  title: $
540
- }, /* @__PURE__ */ d.createElement(mn, Object.assign({}, y, {
541
- className: D(y.className, !x && tn),
545
+ }, /* @__PURE__ */ d.createElement(yn, Object.assign({}, y, {
546
+ className: j(y.className, !x && dn),
542
547
  type: "radio",
543
548
  prefixCls: g,
544
- ref: m
545
- })), p !== void 0 ? /* @__PURE__ */ d.createElement("span", null, p) : null)));
546
- }, te = /* @__PURE__ */ d.forwardRef($n), yn = /* @__PURE__ */ d.forwardRef((e, n) => {
549
+ ref: f
550
+ })), b !== void 0 ? /* @__PURE__ */ d.createElement("span", null, b) : null)));
551
+ }, Y = /* @__PURE__ */ d.forwardRef(On);
552
+ process.env.NODE_ENV !== "production" && (Y.displayName = "Radio");
553
+ const Nn = /* @__PURE__ */ d.forwardRef((e, n) => {
547
554
  const {
548
555
  getPrefixCls: o,
549
556
  direction: t
550
- } = d.useContext(q), [i, r] = J(e.defaultValue, {
557
+ } = d.useContext(W), [i, r] = J(e.defaultValue, {
551
558
  value: e.value
552
559
  }), c = (O) => {
553
- const z = i, T = O.target.value;
554
- "value" in e || r(T);
560
+ const z = i, A = O.target.value;
561
+ "value" in e || r(A);
555
562
  const {
556
563
  onChange: L
557
564
  } = e;
558
- L && T !== z && L(O);
565
+ L && A !== z && L(O);
559
566
  }, {
560
567
  prefixCls: a,
561
568
  className: l,
562
569
  rootClassName: s,
563
- options: m,
570
+ options: f,
564
571
  buttonStyle: h = "outline",
565
- disabled: C,
572
+ disabled: v,
566
573
  children: u,
567
574
  size: w,
568
- style: f,
569
- id: p,
575
+ style: m,
576
+ id: b,
570
577
  onMouseEnter: I,
571
578
  onMouseLeave: $,
572
579
  onFocus: S,
573
- onBlur: v
574
- } = e, x = o("radio", a), g = `${x}-group`, P = Me(x), [b, k, M] = Ae(x, P);
580
+ onBlur: C
581
+ } = e, x = o("radio", a), g = `${x}-group`, N = ze(x), [p, E, k] = Ae(x, N);
575
582
  let y = u;
576
- m && m.length > 0 && (y = m.map((O) => typeof O == "string" || typeof O == "number" ? /* @__PURE__ */ d.createElement(te, {
583
+ f && f.length > 0 && (y = f.map((O) => typeof O == "string" || typeof O == "number" ? /* @__PURE__ */ d.createElement(Y, {
577
584
  key: O.toString(),
578
585
  prefixCls: x,
579
- disabled: C,
586
+ disabled: v,
580
587
  value: O,
581
588
  checked: i === O
582
- }, O) : /* @__PURE__ */ d.createElement(te, {
589
+ }, O) : /* @__PURE__ */ d.createElement(Y, {
583
590
  key: `radio-group-value-options-${O.value}`,
584
591
  prefixCls: x,
585
- disabled: O.disabled || C,
592
+ disabled: O.disabled || v,
586
593
  value: O.value,
587
594
  checked: i === O.value,
588
595
  title: O.title,
@@ -590,23 +597,23 @@ const $n = (e, n) => {
590
597
  id: O.id,
591
598
  required: O.required
592
599
  }, O.label)));
593
- const E = ue(w), B = D(g, `${g}-${h}`, {
594
- [`${g}-${E}`]: E,
600
+ const P = ge(w), D = j(g, `${g}-${h}`, {
601
+ [`${g}-${P}`]: P,
595
602
  [`${g}-rtl`]: t === "rtl"
596
- }, l, s, k, M, P);
597
- return b(/* @__PURE__ */ d.createElement("div", Object.assign({}, Re(e, {
603
+ }, l, s, E, k, N);
604
+ return p(/* @__PURE__ */ d.createElement("div", Object.assign({}, Be(e, {
598
605
  aria: !0,
599
606
  data: !0
600
607
  }), {
601
- className: B,
602
- style: f,
608
+ className: D,
609
+ style: m,
603
610
  onMouseEnter: I,
604
611
  onMouseLeave: $,
605
612
  onFocus: S,
606
- onBlur: v,
607
- id: p,
613
+ onBlur: C,
614
+ id: b,
608
615
  ref: n
609
- }), /* @__PURE__ */ d.createElement(un, {
616
+ }), /* @__PURE__ */ d.createElement(vn, {
610
617
  value: {
611
618
  onChange: c,
612
619
  value: i,
@@ -615,8 +622,8 @@ const $n = (e, n) => {
615
622
  optionType: e.optionType
616
623
  }
617
624
  }, y)));
618
- }), Sn = /* @__PURE__ */ d.memo(yn);
619
- var xn = function(e, n) {
625
+ }), kn = /* @__PURE__ */ d.memo(Nn);
626
+ var Pn = function(e, n) {
620
627
  var o = {};
621
628
  for (var t in e)
622
629
  Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
@@ -625,206 +632,207 @@ var xn = function(e, n) {
625
632
  n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
626
633
  return o;
627
634
  };
628
- const In = (e, n) => {
635
+ const Mn = (e, n) => {
629
636
  const {
630
637
  getPrefixCls: o
631
- } = d.useContext(q), {
638
+ } = d.useContext(W), {
632
639
  prefixCls: t
633
- } = e, i = xn(e, ["prefixCls"]), r = o("radio", t);
634
- return /* @__PURE__ */ d.createElement(hn, {
640
+ } = e, i = Pn(e, ["prefixCls"]), r = o("radio", t);
641
+ return /* @__PURE__ */ d.createElement(Cn, {
635
642
  value: "button"
636
- }, /* @__PURE__ */ d.createElement(te, Object.assign({
643
+ }, /* @__PURE__ */ d.createElement(Y, Object.assign({
637
644
  prefixCls: r
638
645
  }, i, {
639
646
  type: "radio",
640
647
  ref: n
641
648
  })));
642
- }, wn = /* @__PURE__ */ d.forwardRef(In), Y = te;
643
- Y.Button = wn;
644
- Y.Group = Sn;
645
- Y.__ANT_RADIO = !0;
646
- var De = /* @__PURE__ */ j.forwardRef(function(e, n) {
647
- var o = e.prefixCls, t = e.forceRender, i = e.className, r = e.style, c = e.children, a = e.isActive, l = e.role, s = j.useState(a || t), m = oe(s, 2), h = m[0], C = m[1];
648
- return j.useEffect(function() {
649
- (t || a) && C(!0);
650
- }, [t, a]), h ? /* @__PURE__ */ j.createElement("div", {
649
+ }, zn = /* @__PURE__ */ d.forwardRef(Mn), Q = Y;
650
+ Q.Button = zn;
651
+ Q.Group = kn;
652
+ Q.__ANT_RADIO = !0;
653
+ var Te = /* @__PURE__ */ B.forwardRef(function(e, n) {
654
+ var o = e.prefixCls, t = e.forceRender, i = e.className, r = e.style, c = e.children, a = e.isActive, l = e.role, s = B.useState(a || t), f = ae(s, 2), h = f[0], v = f[1];
655
+ return B.useEffect(function() {
656
+ (t || a) && v(!0);
657
+ }, [t, a]), h ? /* @__PURE__ */ B.createElement("div", {
651
658
  ref: n,
652
- className: D("".concat(o, "-content"), _(_({}, "".concat(o, "-content-active"), a), "".concat(o, "-content-inactive"), !a), i),
659
+ className: j("".concat(o, "-content"), H(H({}, "".concat(o, "-content-active"), a), "".concat(o, "-content-inactive"), !a), i),
653
660
  style: r,
654
661
  role: l
655
- }, /* @__PURE__ */ j.createElement("div", {
662
+ }, /* @__PURE__ */ B.createElement("div", {
656
663
  className: "".concat(o, "-content-box")
657
664
  }, c)) : null;
658
665
  });
659
- De.displayName = "PanelContent";
660
- var kn = ["showArrow", "headerClass", "isActive", "onItemClick", "forceRender", "className", "prefixCls", "collapsible", "accordion", "panelKey", "extra", "header", "expandIcon", "openMotion", "destroyInactivePanel", "children"], Te = /* @__PURE__ */ j.forwardRef(function(e, n) {
661
- var o = e.showArrow, t = o === void 0 ? !0 : o, i = e.headerClass, r = e.isActive, c = e.onItemClick, a = e.forceRender, l = e.className, s = e.prefixCls, m = e.collapsible, h = e.accordion, C = e.panelKey, u = e.extra, w = e.header, f = e.expandIcon, p = e.openMotion, I = e.destroyInactivePanel, $ = e.children, S = ie(e, kn), v = m === "disabled", x = m === "header", g = m === "icon", P = u != null && typeof u != "boolean", b = function() {
662
- c == null || c(C);
663
- }, k = function(z) {
664
- (z.key === "Enter" || z.keyCode === ne.ENTER || z.which === ne.ENTER) && b();
665
- }, M = typeof f == "function" ? f(e) : /* @__PURE__ */ j.createElement("i", {
666
+ Te.displayName = "PanelContent";
667
+ var Rn = ["showArrow", "headerClass", "isActive", "onItemClick", "forceRender", "className", "prefixCls", "collapsible", "accordion", "panelKey", "extra", "header", "expandIcon", "openMotion", "destroyInactivePanel", "children"], He = /* @__PURE__ */ B.forwardRef(function(e, n) {
668
+ var o = e.showArrow, t = o === void 0 ? !0 : o, i = e.headerClass, r = e.isActive, c = e.onItemClick, a = e.forceRender, l = e.className, s = e.prefixCls, f = e.collapsible, h = e.accordion, v = e.panelKey, u = e.extra, w = e.header, m = e.expandIcon, b = e.openMotion, I = e.destroyInactivePanel, $ = e.children, S = oe(e, Rn), C = f === "disabled", x = f === "header", g = f === "icon", N = u != null && typeof u != "boolean", p = function() {
669
+ c == null || c(v);
670
+ }, E = function(z) {
671
+ (z.key === "Enter" || z.keyCode === te.ENTER || z.which === te.ENTER) && p();
672
+ }, k = typeof m == "function" ? m(e) : /* @__PURE__ */ B.createElement("i", {
666
673
  className: "arrow"
667
674
  });
668
- M && (M = /* @__PURE__ */ j.createElement("div", {
675
+ k && (k = /* @__PURE__ */ B.createElement("div", {
669
676
  className: "".concat(s, "-expand-icon"),
670
- onClick: ["header", "icon"].includes(m) ? b : void 0
671
- }, M));
672
- var y = D(_(_(_({}, "".concat(s, "-item"), !0), "".concat(s, "-item-active"), r), "".concat(s, "-item-disabled"), v), l), E = D(i, _(_(_({}, "".concat(s, "-header"), !0), "".concat(s, "-header-collapsible-only"), x), "".concat(s, "-icon-collapsible-only"), g)), B = {
673
- className: E,
677
+ onClick: ["header", "icon"].includes(f) ? p : void 0
678
+ }, k));
679
+ var y = j(H(H(H({}, "".concat(s, "-item"), !0), "".concat(s, "-item-active"), r), "".concat(s, "-item-disabled"), C), l), P = j(i, H(H(H({}, "".concat(s, "-header"), !0), "".concat(s, "-header-collapsible-only"), x), "".concat(s, "-icon-collapsible-only"), g)), D = {
680
+ className: P,
674
681
  "aria-expanded": r,
675
- "aria-disabled": v,
676
- onKeyDown: k
682
+ "aria-disabled": C,
683
+ onKeyDown: E
677
684
  };
678
- return !x && !g && (B.onClick = b, B.role = h ? "tab" : "button", B.tabIndex = v ? -1 : 0), /* @__PURE__ */ j.createElement("div", W({}, S, {
685
+ return !x && !g && (D.onClick = p, D.role = h ? "tab" : "button", D.tabIndex = C ? -1 : 0), /* @__PURE__ */ B.createElement("div", V({}, S, {
679
686
  ref: n,
680
687
  className: y
681
- }), /* @__PURE__ */ j.createElement("div", B, t && M, /* @__PURE__ */ j.createElement("span", {
688
+ }), /* @__PURE__ */ B.createElement("div", D, t && k, /* @__PURE__ */ B.createElement("span", {
682
689
  className: "".concat(s, "-header-text"),
683
- onClick: m === "header" ? b : void 0
684
- }, w), P && /* @__PURE__ */ j.createElement("div", {
690
+ onClick: f === "header" ? p : void 0
691
+ }, w), N && /* @__PURE__ */ B.createElement("div", {
685
692
  className: "".concat(s, "-extra")
686
- }, u)), /* @__PURE__ */ j.createElement(Xe, W({
693
+ }, u)), /* @__PURE__ */ B.createElement(nn, V({
687
694
  visible: r,
688
695
  leavedClassName: "".concat(s, "-content-hidden")
689
- }, p, {
696
+ }, b, {
690
697
  forceRender: a,
691
698
  removeOnLeave: I
692
699
  }), function(O, z) {
693
- var T = O.className, L = O.style;
694
- return /* @__PURE__ */ j.createElement(De, {
700
+ var A = O.className, L = O.style;
701
+ return /* @__PURE__ */ B.createElement(Te, {
695
702
  ref: z,
696
703
  prefixCls: s,
697
- className: T,
704
+ className: A,
698
705
  style: L,
699
706
  isActive: r,
700
707
  forceRender: a,
701
708
  role: h ? "tabpanel" : void 0
702
709
  }, $);
703
710
  }));
704
- }), On = ["children", "label", "key", "collapsible", "onItemClick", "destroyInactivePanel"], Pn = function(n, o) {
705
- var t = o.prefixCls, i = o.accordion, r = o.collapsible, c = o.destroyInactivePanel, a = o.onItemClick, l = o.activeKey, s = o.openMotion, m = o.expandIcon;
706
- return n.map(function(h, C) {
707
- var u = h.children, w = h.label, f = h.key, p = h.collapsible, I = h.onItemClick, $ = h.destroyInactivePanel, S = ie(h, On), v = String(f ?? C), x = p ?? r, g = $ ?? c, P = function(M) {
708
- x !== "disabled" && (a(M), I == null || I(M));
709
- }, b = !1;
710
- return i ? b = l[0] === v : b = l.indexOf(v) > -1, /* @__PURE__ */ j.createElement(Te, W({}, S, {
711
+ }), Dn = ["children", "label", "key", "collapsible", "onItemClick", "destroyInactivePanel"], Bn = function(n, o) {
712
+ var t = o.prefixCls, i = o.accordion, r = o.collapsible, c = o.destroyInactivePanel, a = o.onItemClick, l = o.activeKey, s = o.openMotion, f = o.expandIcon;
713
+ return n.map(function(h, v) {
714
+ var u = h.children, w = h.label, m = h.key, b = h.collapsible, I = h.onItemClick, $ = h.destroyInactivePanel, S = oe(h, Dn), C = String(m ?? v), x = b ?? r, g = $ ?? c, N = function(k) {
715
+ x !== "disabled" && (a(k), I == null || I(k));
716
+ }, p = !1;
717
+ return i ? p = l[0] === C : p = l.indexOf(C) > -1, /* @__PURE__ */ B.createElement(He, V({}, S, {
711
718
  prefixCls: t,
712
- key: v,
713
- panelKey: v,
714
- isActive: b,
719
+ key: C,
720
+ panelKey: C,
721
+ isActive: p,
715
722
  accordion: i,
716
723
  openMotion: s,
717
- expandIcon: m,
724
+ expandIcon: f,
718
725
  header: w,
719
726
  collapsible: x,
720
- onItemClick: P,
727
+ onItemClick: N,
721
728
  destroyInactivePanel: g
722
729
  }), u);
723
730
  });
724
- }, En = function(n, o, t) {
731
+ }, _n = function(n, o, t) {
725
732
  if (!n)
726
733
  return null;
727
- var i = t.prefixCls, r = t.accordion, c = t.collapsible, a = t.destroyInactivePanel, l = t.onItemClick, s = t.activeKey, m = t.openMotion, h = t.expandIcon, C = n.key || String(o), u = n.props, w = u.header, f = u.headerClass, p = u.destroyInactivePanel, I = u.collapsible, $ = u.onItemClick, S = !1;
728
- r ? S = s[0] === C : S = s.indexOf(C) > -1;
729
- var v = I ?? c, x = function(b) {
730
- v !== "disabled" && (l(b), $ == null || $(b));
734
+ var i = t.prefixCls, r = t.accordion, c = t.collapsible, a = t.destroyInactivePanel, l = t.onItemClick, s = t.activeKey, f = t.openMotion, h = t.expandIcon, v = n.key || String(o), u = n.props, w = u.header, m = u.headerClass, b = u.destroyInactivePanel, I = u.collapsible, $ = u.onItemClick, S = !1;
735
+ r ? S = s[0] === v : S = s.indexOf(v) > -1;
736
+ var C = I ?? c, x = function(p) {
737
+ C !== "disabled" && (l(p), $ == null || $(p));
731
738
  }, g = {
732
- key: C,
733
- panelKey: C,
739
+ key: v,
740
+ panelKey: v,
734
741
  header: w,
735
- headerClass: f,
742
+ headerClass: m,
736
743
  isActive: S,
737
744
  prefixCls: i,
738
- destroyInactivePanel: p ?? a,
739
- openMotion: m,
745
+ destroyInactivePanel: b ?? a,
746
+ openMotion: f,
740
747
  accordion: r,
741
748
  children: n.props.children,
742
749
  onItemClick: x,
743
750
  expandIcon: h,
744
- collapsible: v
751
+ collapsible: C
745
752
  };
746
- return typeof n.type == "string" ? n : (Object.keys(g).forEach(function(P) {
747
- typeof g[P] > "u" && delete g[P];
748
- }), /* @__PURE__ */ j.cloneElement(n, g));
753
+ return typeof n.type == "string" ? n : (Object.keys(g).forEach(function(N) {
754
+ typeof g[N] > "u" && delete g[N];
755
+ }), /* @__PURE__ */ B.cloneElement(n, g));
749
756
  };
750
- function Mn(e, n, o) {
751
- return Array.isArray(e) ? Pn(e, o) : he(n).map(function(t, i) {
752
- return En(t, i, o);
757
+ function jn(e, n, o) {
758
+ return Array.isArray(e) ? Bn(e, o) : fe(n).map(function(t, i) {
759
+ return _n(t, i, o);
753
760
  });
754
761
  }
755
- function Nn(e) {
762
+ function An(e) {
756
763
  var n = e;
757
764
  if (!Array.isArray(n)) {
758
- var o = Ye(n);
765
+ var o = on(n);
759
766
  n = o === "number" || o === "string" ? [n] : [];
760
767
  }
761
768
  return n.map(function(t) {
762
769
  return String(t);
763
770
  });
764
771
  }
765
- var zn = /* @__PURE__ */ j.forwardRef(function(e, n) {
766
- var o = e.prefixCls, t = o === void 0 ? "rc-collapse" : o, i = e.destroyInactivePanel, r = i === void 0 ? !1 : i, c = e.style, a = e.accordion, l = e.className, s = e.children, m = e.collapsible, h = e.openMotion, C = e.expandIcon, u = e.activeKey, w = e.defaultActiveKey, f = e.onChange, p = e.items, I = D(t, l), $ = J([], {
772
+ var Tn = /* @__PURE__ */ B.forwardRef(function(e, n) {
773
+ var o = e.prefixCls, t = o === void 0 ? "rc-collapse" : o, i = e.destroyInactivePanel, r = i === void 0 ? !1 : i, c = e.style, a = e.accordion, l = e.className, s = e.children, f = e.collapsible, h = e.openMotion, v = e.expandIcon, u = e.activeKey, w = e.defaultActiveKey, m = e.onChange, b = e.items, I = j(t, l), $ = J([], {
767
774
  value: u,
768
- onChange: function(k) {
769
- return f == null ? void 0 : f(k);
775
+ onChange: function(E) {
776
+ return m == null ? void 0 : m(E);
770
777
  },
771
778
  defaultValue: w,
772
- postState: Nn
773
- }), S = oe($, 2), v = S[0], x = S[1], g = function(k) {
779
+ postState: An
780
+ }), S = ae($, 2), C = S[0], x = S[1], g = function(E) {
774
781
  return x(function() {
775
782
  if (a)
776
- return v[0] === k ? [] : [k];
777
- var M = v.indexOf(k), y = M > -1;
778
- return y ? v.filter(function(E) {
779
- return E !== k;
780
- }) : [].concat(Je(v), [k]);
783
+ return C[0] === E ? [] : [E];
784
+ var k = C.indexOf(E), y = k > -1;
785
+ return y ? C.filter(function(P) {
786
+ return P !== E;
787
+ }) : [].concat(an(C), [E]);
781
788
  });
782
789
  };
783
- Ue(!s, "[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");
784
- var P = Mn(p, s, {
790
+ tn(!s, "[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");
791
+ var N = jn(b, s, {
785
792
  prefixCls: t,
786
793
  accordion: a,
787
794
  openMotion: h,
788
- expandIcon: C,
789
- collapsible: m,
795
+ expandIcon: v,
796
+ collapsible: f,
790
797
  destroyInactivePanel: r,
791
798
  onItemClick: g,
792
- activeKey: v
799
+ activeKey: C
793
800
  });
794
- return /* @__PURE__ */ j.createElement("div", W({
801
+ return /* @__PURE__ */ B.createElement("div", V({
795
802
  ref: n,
796
803
  className: I,
797
804
  style: c,
798
805
  role: a ? "tablist" : void 0
799
- }, Re(e, {
806
+ }, Be(e, {
800
807
  aria: !0,
801
808
  data: !0
802
- })), P);
809
+ })), N);
803
810
  });
804
- const ge = Object.assign(zn, {
811
+ const me = Object.assign(Tn, {
805
812
  /**
806
813
  * @deprecated use `items` instead, will be removed in `v4.0.0`
807
814
  */
808
- Panel: Te
815
+ Panel: He
809
816
  });
810
- ge.Panel;
811
- const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
817
+ me.Panel;
818
+ const Hn = /* @__PURE__ */ d.forwardRef((e, n) => {
819
+ process.env.NODE_ENV !== "production" && ce("Collapse.Panel").deprecated(!("disabled" in e), "disabled", 'collapsible="disabled"');
812
820
  const {
813
821
  getPrefixCls: o
814
- } = d.useContext(q), {
822
+ } = d.useContext(W), {
815
823
  prefixCls: t,
816
824
  className: i,
817
825
  showArrow: r = !0
818
- } = e, c = o("collapse", t), a = D({
826
+ } = e, c = o("collapse", t), a = j({
819
827
  [`${c}-no-arrow`]: !r
820
828
  }, i);
821
- return /* @__PURE__ */ d.createElement(ge.Panel, Object.assign({
829
+ return /* @__PURE__ */ d.createElement(me.Panel, Object.assign({
822
830
  ref: n
823
831
  }, e, {
824
832
  prefixCls: c,
825
833
  className: a
826
834
  }));
827
- }), Bn = (e) => {
835
+ }), Ln = (e) => {
828
836
  const {
829
837
  componentCls: n,
830
838
  contentBg: o,
@@ -835,26 +843,26 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
835
843
  collapseHeaderPaddingLG: a,
836
844
  collapsePanelBorderRadius: l,
837
845
  lineWidth: s,
838
- lineType: m,
846
+ lineType: f,
839
847
  colorBorder: h,
840
- colorText: C,
848
+ colorText: v,
841
849
  colorTextHeading: u,
842
850
  colorTextDisabled: w,
843
- fontSizeLG: f,
844
- lineHeight: p,
851
+ fontSizeLG: m,
852
+ lineHeight: b,
845
853
  lineHeightLG: I,
846
854
  marginSM: $,
847
855
  paddingSM: S,
848
- paddingLG: v,
856
+ paddingLG: C,
849
857
  paddingXS: x,
850
858
  motionDurationSlow: g,
851
- fontSizeIcon: P,
852
- contentPadding: b,
853
- fontHeight: k,
854
- fontHeightLG: M
855
- } = e, y = `${N(s)} ${m} ${h}`;
859
+ fontSizeIcon: N,
860
+ contentPadding: p,
861
+ fontHeight: E,
862
+ fontHeightLG: k
863
+ } = e, y = `${M(s)} ${f} ${h}`;
856
864
  return {
857
- [n]: Object.assign(Object.assign({}, V(e)), {
865
+ [n]: Object.assign(Object.assign({}, G(e)), {
858
866
  backgroundColor: i,
859
867
  border: y,
860
868
  borderRadius: l,
@@ -867,7 +875,7 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
867
875
  [`
868
876
  &,
869
877
  & > ${n}-header`]: {
870
- borderRadius: `0 0 ${N(l)} ${N(l)}`
878
+ borderRadius: `0 0 ${M(l)} ${M(l)}`
871
879
  }
872
880
  },
873
881
  [`> ${n}-header`]: {
@@ -878,7 +886,7 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
878
886
  alignItems: "flex-start",
879
887
  padding: r,
880
888
  color: u,
881
- lineHeight: p,
889
+ lineHeight: b,
882
890
  cursor: "pointer",
883
891
  transition: `all ${g}, visibility 0s`,
884
892
  [`> ${n}-header-text`]: {
@@ -889,13 +897,13 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
889
897
  },
890
898
  // >>>>> Arrow
891
899
  [`${n}-expand-icon`]: {
892
- height: k,
900
+ height: E,
893
901
  display: "flex",
894
902
  alignItems: "center",
895
903
  paddingInlineEnd: $
896
904
  },
897
- [`${n}-arrow`]: Object.assign(Object.assign({}, Qe()), {
898
- fontSize: P,
905
+ [`${n}-arrow`]: Object.assign(Object.assign({}, rn()), {
906
+ fontSize: N,
899
907
  // when `transform: rotate()` is applied to icon's root element
900
908
  transition: `transform ${g}`,
901
909
  // when `transform: rotate()` is applied to icon's child element
@@ -916,11 +924,11 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
916
924
  }
917
925
  },
918
926
  [`${n}-content`]: {
919
- color: C,
927
+ color: v,
920
928
  backgroundColor: o,
921
929
  borderTop: y,
922
930
  [`& > ${n}-content-box`]: {
923
- padding: b
931
+ padding: p
924
932
  },
925
933
  "&-hidden": {
926
934
  display: "none"
@@ -943,26 +951,26 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
943
951
  },
944
952
  "&-large": {
945
953
  [`> ${n}-item`]: {
946
- fontSize: f,
954
+ fontSize: m,
947
955
  lineHeight: I,
948
956
  [`> ${n}-header`]: {
949
957
  padding: a,
950
958
  paddingInlineStart: t,
951
959
  [`> ${n}-expand-icon`]: {
952
- height: M,
960
+ height: k,
953
961
  // Arrow offset
954
- marginInlineStart: e.calc(v).sub(t).equal()
962
+ marginInlineStart: e.calc(C).sub(t).equal()
955
963
  }
956
964
  },
957
965
  [`> ${n}-content > ${n}-content-box`]: {
958
- padding: v
966
+ padding: C
959
967
  }
960
968
  }
961
969
  },
962
970
  [`${n}-item:last-child`]: {
963
971
  borderBottom: 0,
964
972
  [`> ${n}-content`]: {
965
- borderRadius: `0 0 ${N(l)} ${N(l)}`
973
+ borderRadius: `0 0 ${M(l)} ${M(l)}`
966
974
  }
967
975
  },
968
976
  [`& ${n}-item-disabled > ${n}-header`]: {
@@ -985,7 +993,7 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
985
993
  }
986
994
  })
987
995
  };
988
- }, jn = (e) => {
996
+ }, Vn = (e) => {
989
997
  const {
990
998
  componentCls: n
991
999
  } = e, o = `> ${n}-item > ${n}-header ${n}-arrow`;
@@ -996,7 +1004,7 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
996
1004
  }
997
1005
  }
998
1006
  };
999
- }, An = (e) => {
1007
+ }, Wn = (e) => {
1000
1008
  const {
1001
1009
  componentCls: n,
1002
1010
  headerBg: o,
@@ -1028,7 +1036,7 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
1028
1036
  }
1029
1037
  }
1030
1038
  };
1031
- }, Dn = (e) => {
1039
+ }, qn = (e) => {
1032
1040
  const {
1033
1041
  componentCls: n,
1034
1042
  paddingSM: o
@@ -1049,86 +1057,93 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
1049
1057
  }
1050
1058
  }
1051
1059
  };
1052
- }, Tn = (e) => ({
1060
+ }, Fn = (e) => ({
1053
1061
  headerPadding: `${e.paddingSM}px ${e.padding}px`,
1054
1062
  headerBg: e.colorFillAlter,
1055
1063
  contentPadding: `${e.padding}px 16px`,
1056
1064
  // Fixed Value
1057
1065
  contentBg: e.colorBgContainer
1058
- }), Hn = ae("Collapse", (e) => {
1059
- const n = re(e, {
1060
- collapseHeaderPaddingSM: `${N(e.paddingXS)} ${N(e.paddingSM)}`,
1061
- collapseHeaderPaddingLG: `${N(e.padding)} ${N(e.paddingLG)}`,
1066
+ }), Gn = re("Collapse", (e) => {
1067
+ const n = le(e, {
1068
+ collapseHeaderPaddingSM: `${M(e.paddingXS)} ${M(e.paddingSM)}`,
1069
+ collapseHeaderPaddingLG: `${M(e.padding)} ${M(e.paddingLG)}`,
1062
1070
  collapsePanelBorderRadius: e.borderRadiusLG
1063
1071
  });
1064
- return [Bn(n), An(n), Dn(n), jn(n), dn(n)];
1065
- }, Tn), _n = /* @__PURE__ */ d.forwardRef((e, n) => {
1072
+ return [Ln(n), Wn(n), qn(n), Vn(n), bn(n)];
1073
+ }, Fn), Le = /* @__PURE__ */ d.forwardRef((e, n) => {
1066
1074
  const {
1067
1075
  getPrefixCls: o,
1068
1076
  direction: t,
1069
1077
  collapse: i
1070
- } = d.useContext(q), {
1078
+ } = d.useContext(W), {
1071
1079
  prefixCls: r,
1072
1080
  className: c,
1073
1081
  rootClassName: a,
1074
1082
  style: l,
1075
1083
  bordered: s = !0,
1076
- ghost: m,
1084
+ ghost: f,
1077
1085
  size: h,
1078
- expandIconPosition: C = "start",
1086
+ expandIconPosition: v = "start",
1079
1087
  children: u,
1080
1088
  expandIcon: w
1081
- } = e, f = ue((y) => {
1082
- var E;
1083
- return (E = h ?? y) !== null && E !== void 0 ? E : "middle";
1084
- }), p = o("collapse", r), I = o(), [$, S, v] = Hn(p), x = d.useMemo(() => C === "left" ? "start" : C === "right" ? "end" : C, [C]), g = w ?? (i == null ? void 0 : i.expandIcon), P = d.useCallback(function() {
1089
+ } = e, m = ge((y) => {
1090
+ var P;
1091
+ return (P = h ?? y) !== null && P !== void 0 ? P : "middle";
1092
+ }), b = o("collapse", r), I = o(), [$, S, C] = Gn(b);
1093
+ if (process.env.NODE_ENV !== "production") {
1094
+ const y = ce("Collapse");
1095
+ process.env.NODE_ENV !== "production" && y(v !== "left" && v !== "right", "deprecated", "`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.");
1096
+ }
1097
+ const x = d.useMemo(() => v === "left" ? "start" : v === "right" ? "end" : v, [v]), g = w ?? (i == null ? void 0 : i.expandIcon), N = d.useCallback(function() {
1085
1098
  let y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1086
- const E = typeof g == "function" ? g(y) : /* @__PURE__ */ d.createElement(cn, {
1099
+ const P = typeof g == "function" ? g(y) : /* @__PURE__ */ d.createElement(mn, {
1087
1100
  rotate: y.isActive ? 90 : void 0
1088
1101
  });
1089
- return be(E, () => {
1090
- var B;
1102
+ return Ce(P, () => {
1103
+ var D;
1091
1104
  return {
1092
- className: D((B = E == null ? void 0 : E.props) === null || B === void 0 ? void 0 : B.className, `${p}-arrow`)
1105
+ className: j((D = P == null ? void 0 : P.props) === null || D === void 0 ? void 0 : D.className, `${b}-arrow`)
1093
1106
  };
1094
1107
  });
1095
- }, [g, p]), b = D(`${p}-icon-position-${x}`, {
1096
- [`${p}-borderless`]: !s,
1097
- [`${p}-rtl`]: t === "rtl",
1098
- [`${p}-ghost`]: !!m,
1099
- [`${p}-${f}`]: f !== "middle"
1100
- }, i == null ? void 0 : i.className, c, a, S, v), k = Object.assign(Object.assign({}, on(I)), {
1108
+ }, [g, b]), p = j(`${b}-icon-position-${x}`, {
1109
+ [`${b}-borderless`]: !s,
1110
+ [`${b}-rtl`]: t === "rtl",
1111
+ [`${b}-ghost`]: !!f,
1112
+ [`${b}-${m}`]: m !== "middle"
1113
+ }, i == null ? void 0 : i.className, c, a, S, C), E = Object.assign(Object.assign({}, un(I)), {
1101
1114
  motionAppear: !1,
1102
- leavedClassName: `${p}-content-hidden`
1103
- }), M = d.useMemo(() => u ? he(u).map((y, E) => {
1104
- var B, O;
1105
- if (!((B = y.props) === null || B === void 0) && B.disabled) {
1106
- const z = (O = y.key) !== null && O !== void 0 ? O : String(E), {
1107
- disabled: T,
1115
+ leavedClassName: `${b}-content-hidden`
1116
+ }), k = d.useMemo(() => u ? fe(u).map((y, P) => {
1117
+ var D, O;
1118
+ if (!((D = y.props) === null || D === void 0) && D.disabled) {
1119
+ const z = (O = y.key) !== null && O !== void 0 ? O : String(P), {
1120
+ disabled: A,
1108
1121
  collapsible: L
1109
- } = y.props, K = Object.assign(Object.assign({}, pe(y.props, ["disabled"])), {
1122
+ } = y.props, K = Object.assign(Object.assign({}, $e(y.props, ["disabled"])), {
1110
1123
  key: z,
1111
- collapsible: L ?? (T ? "disabled" : void 0)
1124
+ collapsible: L ?? (A ? "disabled" : void 0)
1112
1125
  });
1113
- return be(y, K);
1126
+ return Ce(y, K);
1114
1127
  }
1115
1128
  return y;
1116
1129
  }) : null, [u]);
1117
1130
  return $(
1118
1131
  // @ts-ignore
1119
- /* @__PURE__ */ d.createElement(ge, Object.assign({
1132
+ /* @__PURE__ */ d.createElement(me, Object.assign({
1120
1133
  ref: n,
1121
- openMotion: k
1122
- }, pe(e, ["rootClassName"]), {
1123
- expandIcon: P,
1124
- prefixCls: p,
1125
- className: b,
1134
+ openMotion: E
1135
+ }, $e(e, ["rootClassName"]), {
1136
+ expandIcon: N,
1137
+ prefixCls: b,
1138
+ className: p,
1126
1139
  style: Object.assign(Object.assign({}, i == null ? void 0 : i.style), l)
1127
- }), M)
1140
+ }), k)
1128
1141
  );
1129
- }), Ln = Object.assign(_n, {
1130
- Panel: Rn
1131
- }), Wn = (e) => {
1142
+ });
1143
+ process.env.NODE_ENV !== "production" && (Le.displayName = "Collapse");
1144
+ const Kn = Object.assign(Le, {
1145
+ Panel: Hn
1146
+ }), Xn = (e) => {
1132
1147
  const {
1133
1148
  componentCls: n,
1134
1149
  sizePaddingEdgeHorizontal: o,
@@ -1139,8 +1154,8 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
1139
1154
  verticalMarginInline: a
1140
1155
  } = e;
1141
1156
  return {
1142
- [n]: Object.assign(Object.assign({}, V(e)), {
1143
- borderBlockStart: `${N(i)} solid ${t}`,
1157
+ [n]: Object.assign(Object.assign({}, G(e)), {
1158
+ borderBlockStart: `${M(i)} solid ${t}`,
1144
1159
  // vertical
1145
1160
  "&-vertical": {
1146
1161
  position: "relative",
@@ -1151,7 +1166,7 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
1151
1166
  marginBlock: 0,
1152
1167
  verticalAlign: "middle",
1153
1168
  borderTop: 0,
1154
- borderInlineStart: `${N(i)} solid ${t}`
1169
+ borderInlineStart: `${M(i)} solid ${t}`
1155
1170
  },
1156
1171
  "&-horizontal": {
1157
1172
  display: "flex",
@@ -1159,12 +1174,12 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
1159
1174
  width: "100%",
1160
1175
  minWidth: "100%",
1161
1176
  // Fix https://github.com/ant-design/ant-design/issues/10914
1162
- margin: `${N(e.dividerHorizontalGutterMargin)} 0`
1177
+ margin: `${M(e.dividerHorizontalGutterMargin)} 0`
1163
1178
  },
1164
1179
  [`&-horizontal${n}-with-text`]: {
1165
1180
  display: "flex",
1166
1181
  alignItems: "center",
1167
- margin: `${N(e.dividerHorizontalWithTextGutterMargin)} 0`,
1182
+ margin: `${M(e.dividerHorizontalWithTextGutterMargin)} 0`,
1168
1183
  color: e.colorTextHeading,
1169
1184
  fontWeight: 500,
1170
1185
  fontSize: e.fontSizeLG,
@@ -1174,7 +1189,7 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
1174
1189
  "&::before, &::after": {
1175
1190
  position: "relative",
1176
1191
  width: "50%",
1177
- borderBlockStart: `${N(i)} solid transparent`,
1192
+ borderBlockStart: `${M(i)} solid transparent`,
1178
1193
  // Chrome not accept `inherit` in `border-top`
1179
1194
  borderBlockStartColor: "inherit",
1180
1195
  borderBlockEnd: 0,
@@ -1207,7 +1222,7 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
1207
1222
  background: "none",
1208
1223
  borderColor: t,
1209
1224
  borderStyle: "dashed",
1210
- borderWidth: `${N(i)} 0 0`
1225
+ borderWidth: `${M(i)} 0 0`
1211
1226
  },
1212
1227
  [`&-horizontal${n}-with-text${n}-dashed`]: {
1213
1228
  "&::before, &::after": {
@@ -1249,23 +1264,23 @@ const Rn = /* @__PURE__ */ d.forwardRef((e, n) => {
1249
1264
  }
1250
1265
  })
1251
1266
  };
1252
- }, qn = (e) => ({
1267
+ }, Un = (e) => ({
1253
1268
  textPaddingInline: "1em",
1254
1269
  orientationMargin: 0.05,
1255
1270
  verticalMarginInline: e.marginXS
1256
- }), Fn = ae("Divider", (e) => {
1257
- const n = re(e, {
1271
+ }), Yn = re("Divider", (e) => {
1272
+ const n = le(e, {
1258
1273
  dividerHorizontalWithTextGutterMargin: e.margin,
1259
1274
  dividerHorizontalGutterMargin: e.marginLG,
1260
1275
  sizePaddingEdgeHorizontal: 0
1261
1276
  });
1262
- return [Wn(n)];
1263
- }, qn, {
1277
+ return [Xn(n)];
1278
+ }, Un, {
1264
1279
  unitless: {
1265
1280
  orientationMargin: !0
1266
1281
  }
1267
1282
  });
1268
- var Gn = function(e, n) {
1283
+ var Qn = function(e, n) {
1269
1284
  var o = {};
1270
1285
  for (var t in e)
1271
1286
  Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
@@ -1274,54 +1289,59 @@ var Gn = function(e, n) {
1274
1289
  n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
1275
1290
  return o;
1276
1291
  };
1277
- const Vn = (e) => {
1292
+ const Ve = (e) => {
1278
1293
  const {
1279
1294
  getPrefixCls: n,
1280
1295
  direction: o,
1281
1296
  divider: t
1282
- } = d.useContext(q), {
1297
+ } = d.useContext(W), {
1283
1298
  prefixCls: i,
1284
1299
  type: r = "horizontal",
1285
1300
  orientation: c = "center",
1286
1301
  orientationMargin: a,
1287
1302
  className: l,
1288
1303
  rootClassName: s,
1289
- children: m,
1304
+ children: f,
1290
1305
  dashed: h,
1291
- plain: C,
1306
+ plain: v,
1292
1307
  style: u
1293
- } = e, w = Gn(e, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]), f = n("divider", i), [p, I, $] = Fn(f), S = c.length > 0 ? `-${c}` : c, v = !!m, x = c === "left" && a != null, g = c === "right" && a != null, P = D(f, t == null ? void 0 : t.className, I, $, `${f}-${r}`, {
1294
- [`${f}-with-text`]: v,
1295
- [`${f}-with-text${S}`]: v,
1296
- [`${f}-dashed`]: !!h,
1297
- [`${f}-plain`]: !!C,
1298
- [`${f}-rtl`]: o === "rtl",
1299
- [`${f}-no-default-orientation-margin-left`]: x,
1300
- [`${f}-no-default-orientation-margin-right`]: g
1301
- }, l, s), b = d.useMemo(() => typeof a == "number" ? a : /^\d+$/.test(a) ? Number(a) : a, [a]), k = Object.assign(Object.assign({}, x && {
1302
- marginLeft: b
1308
+ } = e, w = Qn(e, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]), m = n("divider", i), [b, I, $] = Yn(m), S = c.length > 0 ? `-${c}` : c, C = !!f, x = c === "left" && a != null, g = c === "right" && a != null, N = j(m, t == null ? void 0 : t.className, I, $, `${m}-${r}`, {
1309
+ [`${m}-with-text`]: C,
1310
+ [`${m}-with-text${S}`]: C,
1311
+ [`${m}-dashed`]: !!h,
1312
+ [`${m}-plain`]: !!v,
1313
+ [`${m}-rtl`]: o === "rtl",
1314
+ [`${m}-no-default-orientation-margin-left`]: x,
1315
+ [`${m}-no-default-orientation-margin-right`]: g
1316
+ }, l, s), p = d.useMemo(() => typeof a == "number" ? a : /^\d+$/.test(a) ? Number(a) : a, [a]), E = Object.assign(Object.assign({}, x && {
1317
+ marginLeft: p
1303
1318
  }), g && {
1304
- marginRight: b
1319
+ marginRight: p
1305
1320
  });
1306
- return p(/* @__PURE__ */ d.createElement("div", Object.assign({
1307
- className: P,
1321
+ if (process.env.NODE_ENV !== "production") {
1322
+ const k = ce("Divider");
1323
+ process.env.NODE_ENV !== "production" && k(!f || r !== "vertical", "usage", "`children` not working in `vertical` mode.");
1324
+ }
1325
+ return b(/* @__PURE__ */ d.createElement("div", Object.assign({
1326
+ className: N,
1308
1327
  style: Object.assign(Object.assign({}, t == null ? void 0 : t.style), u)
1309
1328
  }, w, {
1310
1329
  role: "separator"
1311
- }), m && r !== "vertical" && /* @__PURE__ */ d.createElement("span", {
1312
- className: `${f}-inner-text`,
1313
- style: k
1314
- }, m)));
1330
+ }), f && r !== "vertical" && /* @__PURE__ */ d.createElement("span", {
1331
+ className: `${m}-inner-text`,
1332
+ style: E
1333
+ }, f)));
1315
1334
  };
1316
- function ve(e) {
1335
+ process.env.NODE_ENV !== "production" && (Ve.displayName = "Divider");
1336
+ function ye(e) {
1317
1337
  return ["small", "middle", "large"].includes(e);
1318
1338
  }
1319
- function Ce(e) {
1339
+ function Se(e) {
1320
1340
  return e ? typeof e == "number" && !Number.isNaN(e) : !1;
1321
1341
  }
1322
- const He = /* @__PURE__ */ j.createContext({
1342
+ const We = /* @__PURE__ */ B.createContext({
1323
1343
  latestIndex: 0
1324
- }), Kn = He.Provider, Xn = (e) => {
1344
+ }), Jn = We.Provider, Zn = (e) => {
1325
1345
  let {
1326
1346
  className: n,
1327
1347
  index: o,
@@ -1331,7 +1351,7 @@ const He = /* @__PURE__ */ j.createContext({
1331
1351
  } = e;
1332
1352
  const {
1333
1353
  latestIndex: c
1334
- } = d.useContext(He);
1354
+ } = d.useContext(We);
1335
1355
  return t == null ? null : /* @__PURE__ */ d.createElement(d.Fragment, null, /* @__PURE__ */ d.createElement("div", {
1336
1356
  className: n,
1337
1357
  style: r
@@ -1339,7 +1359,7 @@ const He = /* @__PURE__ */ j.createContext({
1339
1359
  className: `${n}-split`
1340
1360
  }, i));
1341
1361
  };
1342
- var Un = function(e, n) {
1362
+ var et = function(e, n) {
1343
1363
  var o = {};
1344
1364
  for (var t in e)
1345
1365
  Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
@@ -1348,83 +1368,84 @@ var Un = function(e, n) {
1348
1368
  n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
1349
1369
  return o;
1350
1370
  };
1351
- const Yn = /* @__PURE__ */ d.forwardRef((e, n) => {
1371
+ const nt = /* @__PURE__ */ d.forwardRef((e, n) => {
1352
1372
  var o, t;
1353
1373
  const {
1354
1374
  getPrefixCls: i,
1355
1375
  space: r,
1356
1376
  direction: c
1357
- } = d.useContext(q), {
1377
+ } = d.useContext(W), {
1358
1378
  size: a = (r == null ? void 0 : r.size) || "small",
1359
1379
  align: l,
1360
1380
  className: s,
1361
- rootClassName: m,
1381
+ rootClassName: f,
1362
1382
  children: h,
1363
- direction: C = "horizontal",
1383
+ direction: v = "horizontal",
1364
1384
  prefixCls: u,
1365
1385
  split: w,
1366
- style: f,
1367
- wrap: p = !1,
1386
+ style: m,
1387
+ wrap: b = !1,
1368
1388
  classNames: I,
1369
1389
  styles: $
1370
- } = e, S = Un(e, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]), [v, x] = Array.isArray(a) ? a : [a, a], g = ve(x), P = ve(v), b = Ce(x), k = Ce(v), M = he(h, {
1390
+ } = e, S = et(e, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]), [C, x] = Array.isArray(a) ? a : [a, a], g = ye(x), N = ye(C), p = Se(x), E = Se(C), k = fe(h, {
1371
1391
  keepEmpty: !0
1372
- }), y = l === void 0 && C === "horizontal" ? "center" : l, E = i("space", u), [B, O, z] = rn(E), T = D(E, r == null ? void 0 : r.className, O, `${E}-${C}`, {
1373
- [`${E}-rtl`]: c === "rtl",
1374
- [`${E}-align-${y}`]: y,
1375
- [`${E}-gap-row-${x}`]: g,
1376
- [`${E}-gap-col-${v}`]: P
1377
- }, s, m, z), L = D(`${E}-item`, (o = I == null ? void 0 : I.item) !== null && o !== void 0 ? o : (t = r == null ? void 0 : r.classNames) === null || t === void 0 ? void 0 : t.item);
1392
+ }), y = l === void 0 && v === "horizontal" ? "center" : l, P = i("space", u), [D, O, z] = gn(P), A = j(P, r == null ? void 0 : r.className, O, `${P}-${v}`, {
1393
+ [`${P}-rtl`]: c === "rtl",
1394
+ [`${P}-align-${y}`]: y,
1395
+ [`${P}-gap-row-${x}`]: g,
1396
+ [`${P}-gap-col-${C}`]: N
1397
+ }, s, f, z), L = j(`${P}-item`, (o = I == null ? void 0 : I.item) !== null && o !== void 0 ? o : (t = r == null ? void 0 : r.classNames) === null || t === void 0 ? void 0 : t.item);
1378
1398
  let K = 0;
1379
- const We = M.map((X, le) => {
1380
- var ce, se;
1381
- X != null && (K = le);
1382
- const Fe = X && X.key || `${L}-${le}`;
1383
- return /* @__PURE__ */ d.createElement(Xn, {
1399
+ const Ue = k.map((X, se) => {
1400
+ var de, ue;
1401
+ X != null && (K = se);
1402
+ const Qe = X && X.key || `${L}-${se}`;
1403
+ return /* @__PURE__ */ d.createElement(Zn, {
1384
1404
  className: L,
1385
- key: Fe,
1386
- index: le,
1405
+ key: Qe,
1406
+ index: se,
1387
1407
  split: w,
1388
- style: (ce = $ == null ? void 0 : $.item) !== null && ce !== void 0 ? ce : (se = r == null ? void 0 : r.styles) === null || se === void 0 ? void 0 : se.item
1408
+ style: (de = $ == null ? void 0 : $.item) !== null && de !== void 0 ? de : (ue = r == null ? void 0 : r.styles) === null || ue === void 0 ? void 0 : ue.item
1389
1409
  }, X);
1390
- }), qe = d.useMemo(() => ({
1410
+ }), Ye = d.useMemo(() => ({
1391
1411
  latestIndex: K
1392
1412
  }), [K]);
1393
- if (M.length === 0)
1413
+ if (k.length === 0)
1394
1414
  return null;
1395
- const Z = {};
1396
- return p && (Z.flexWrap = "wrap"), !P && k && (Z.columnGap = v), !g && b && (Z.rowGap = x), B(/* @__PURE__ */ d.createElement("div", Object.assign({
1415
+ const ee = {};
1416
+ return b && (ee.flexWrap = "wrap"), !N && E && (ee.columnGap = C), !g && p && (ee.rowGap = x), D(/* @__PURE__ */ d.createElement("div", Object.assign({
1397
1417
  ref: n,
1398
- className: T,
1399
- style: Object.assign(Object.assign(Object.assign({}, Z), r == null ? void 0 : r.style), f)
1400
- }, S), /* @__PURE__ */ d.createElement(Kn, {
1401
- value: qe
1402
- }, We)));
1403
- }), _e = Yn;
1404
- _e.Compact = an;
1405
- var Jn = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"], Le = /* @__PURE__ */ d.forwardRef(function(e, n) {
1406
- var o, t = e.prefixCls, i = t === void 0 ? "rc-switch" : t, r = e.className, c = e.checked, a = e.defaultChecked, l = e.disabled, s = e.loadingIcon, m = e.checkedChildren, h = e.unCheckedChildren, C = e.onClick, u = e.onChange, w = e.onKeyDown, f = ie(e, Jn), p = J(!1, {
1418
+ className: A,
1419
+ style: Object.assign(Object.assign(Object.assign({}, ee), r == null ? void 0 : r.style), m)
1420
+ }, S), /* @__PURE__ */ d.createElement(Jn, {
1421
+ value: Ye
1422
+ }, Ue)));
1423
+ }), pe = nt;
1424
+ pe.Compact = hn;
1425
+ process.env.NODE_ENV !== "production" && (pe.displayName = "Space");
1426
+ var tt = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"], qe = /* @__PURE__ */ d.forwardRef(function(e, n) {
1427
+ var o, t = e.prefixCls, i = t === void 0 ? "rc-switch" : t, r = e.className, c = e.checked, a = e.defaultChecked, l = e.disabled, s = e.loadingIcon, f = e.checkedChildren, h = e.unCheckedChildren, v = e.onClick, u = e.onChange, w = e.onKeyDown, m = oe(e, tt), b = J(!1, {
1407
1428
  value: c,
1408
1429
  defaultValue: a
1409
- }), I = oe(p, 2), $ = I[0], S = I[1];
1410
- function v(b, k) {
1411
- var M = $;
1412
- return l || (M = b, S(M), u == null || u(M, k)), M;
1430
+ }), I = ae(b, 2), $ = I[0], S = I[1];
1431
+ function C(p, E) {
1432
+ var k = $;
1433
+ return l || (k = p, S(k), u == null || u(k, E)), k;
1413
1434
  }
1414
- function x(b) {
1415
- b.which === ne.LEFT ? v(!1, b) : b.which === ne.RIGHT && v(!0, b), w == null || w(b);
1435
+ function x(p) {
1436
+ p.which === te.LEFT ? C(!1, p) : p.which === te.RIGHT && C(!0, p), w == null || w(p);
1416
1437
  }
1417
- function g(b) {
1418
- var k = v(!$, b);
1419
- C == null || C(k, b);
1438
+ function g(p) {
1439
+ var E = C(!$, p);
1440
+ v == null || v(E, p);
1420
1441
  }
1421
- var P = D(i, r, (o = {}, _(o, "".concat(i, "-checked"), $), _(o, "".concat(i, "-disabled"), l), o));
1422
- return /* @__PURE__ */ d.createElement("button", W({}, f, {
1442
+ var N = j(i, r, (o = {}, H(o, "".concat(i, "-checked"), $), H(o, "".concat(i, "-disabled"), l), o));
1443
+ return /* @__PURE__ */ d.createElement("button", V({}, m, {
1423
1444
  type: "button",
1424
1445
  role: "switch",
1425
1446
  "aria-checked": $,
1426
1447
  disabled: l,
1427
- className: P,
1448
+ className: N,
1428
1449
  ref: n,
1429
1450
  onKeyDown: x,
1430
1451
  onClick: g
@@ -1432,12 +1453,12 @@ var Jn = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "lo
1432
1453
  className: "".concat(i, "-inner")
1433
1454
  }, /* @__PURE__ */ d.createElement("span", {
1434
1455
  className: "".concat(i, "-inner-checked")
1435
- }, m), /* @__PURE__ */ d.createElement("span", {
1456
+ }, f), /* @__PURE__ */ d.createElement("span", {
1436
1457
  className: "".concat(i, "-inner-unchecked")
1437
1458
  }, h)));
1438
1459
  });
1439
- Le.displayName = "Switch";
1440
- const Qn = (e) => {
1460
+ qe.displayName = "Switch";
1461
+ const it = (e) => {
1441
1462
  const {
1442
1463
  componentCls: n,
1443
1464
  trackHeightSM: o,
@@ -1447,13 +1468,13 @@ const Qn = (e) => {
1447
1468
  innerMaxMarginSM: c,
1448
1469
  handleSizeSM: a,
1449
1470
  calc: l
1450
- } = e, s = `${n}-inner`, m = N(l(a).add(l(t).mul(2)).equal()), h = N(l(c).mul(2).equal());
1471
+ } = e, s = `${n}-inner`, f = M(l(a).add(l(t).mul(2)).equal()), h = M(l(c).mul(2).equal());
1451
1472
  return {
1452
1473
  [n]: {
1453
1474
  [`&${n}-small`]: {
1454
1475
  minWidth: i,
1455
1476
  height: o,
1456
- lineHeight: N(o),
1477
+ lineHeight: M(o),
1457
1478
  [`${n}-inner`]: {
1458
1479
  paddingInlineStart: c,
1459
1480
  paddingInlineEnd: r,
@@ -1461,8 +1482,8 @@ const Qn = (e) => {
1461
1482
  minHeight: o
1462
1483
  },
1463
1484
  [`${s}-checked`]: {
1464
- marginInlineStart: `calc(-100% + ${m} - ${h})`,
1465
- marginInlineEnd: `calc(100% - ${m} + ${h})`
1485
+ marginInlineStart: `calc(-100% + ${f} - ${h})`,
1486
+ marginInlineEnd: `calc(100% - ${f} + ${h})`
1466
1487
  },
1467
1488
  [`${s}-unchecked`]: {
1468
1489
  marginTop: l(o).mul(-1).equal(),
@@ -1487,12 +1508,12 @@ const Qn = (e) => {
1487
1508
  marginInlineEnd: 0
1488
1509
  },
1489
1510
  [`${s}-unchecked`]: {
1490
- marginInlineStart: `calc(100% - ${m} + ${h})`,
1491
- marginInlineEnd: `calc(-100% + ${m} - ${h})`
1511
+ marginInlineStart: `calc(100% - ${f} + ${h})`,
1512
+ marginInlineEnd: `calc(-100% + ${f} - ${h})`
1492
1513
  }
1493
1514
  },
1494
1515
  [`${n}-handle`]: {
1495
- insetInlineStart: `calc(100% - ${N(l(a).add(t).equal())})`
1516
+ insetInlineStart: `calc(100% - ${M(l(a).add(t).equal())})`
1496
1517
  }
1497
1518
  },
1498
1519
  [`&:not(${n}-disabled):active`]: {
@@ -1512,7 +1533,7 @@ const Qn = (e) => {
1512
1533
  }
1513
1534
  }
1514
1535
  };
1515
- }, Zn = (e) => {
1536
+ }, ot = (e) => {
1516
1537
  const {
1517
1538
  componentCls: n,
1518
1539
  handleSize: o,
@@ -1531,7 +1552,7 @@ const Qn = (e) => {
1531
1552
  }
1532
1553
  }
1533
1554
  };
1534
- }, et = (e) => {
1555
+ }, at = (e) => {
1535
1556
  const {
1536
1557
  componentCls: n,
1537
1558
  trackPadding: o,
@@ -1563,7 +1584,7 @@ const Qn = (e) => {
1563
1584
  }
1564
1585
  },
1565
1586
  [`&${n}-checked ${a}`]: {
1566
- insetInlineStart: `calc(100% - ${N(c(r).add(o).equal())})`
1587
+ insetInlineStart: `calc(100% - ${M(c(r).add(o).equal())})`
1567
1588
  },
1568
1589
  [`&:not(${n}-disabled):active`]: {
1569
1590
  [`${a}::before`]: {
@@ -1577,7 +1598,7 @@ const Qn = (e) => {
1577
1598
  }
1578
1599
  }
1579
1600
  };
1580
- }, nt = (e) => {
1601
+ }, rt = (e) => {
1581
1602
  const {
1582
1603
  componentCls: n,
1583
1604
  trackHeight: o,
@@ -1586,7 +1607,7 @@ const Qn = (e) => {
1586
1607
  innerMaxMargin: r,
1587
1608
  handleSize: c,
1588
1609
  calc: a
1589
- } = e, l = `${n}-inner`, s = N(a(c).add(a(t).mul(2)).equal()), m = N(a(r).mul(2).equal());
1610
+ } = e, l = `${n}-inner`, s = M(a(c).add(a(t).mul(2)).equal()), f = M(a(r).mul(2).equal());
1590
1611
  return {
1591
1612
  [n]: {
1592
1613
  [l]: {
@@ -1606,8 +1627,8 @@ const Qn = (e) => {
1606
1627
  minHeight: o
1607
1628
  },
1608
1629
  [`${l}-checked`]: {
1609
- marginInlineStart: `calc(-100% + ${s} - ${m})`,
1610
- marginInlineEnd: `calc(100% - ${s} + ${m})`
1630
+ marginInlineStart: `calc(-100% + ${s} - ${f})`,
1631
+ marginInlineEnd: `calc(100% - ${s} + ${f})`
1611
1632
  },
1612
1633
  [`${l}-unchecked`]: {
1613
1634
  marginTop: a(o).mul(-1).equal(),
@@ -1623,8 +1644,8 @@ const Qn = (e) => {
1623
1644
  marginInlineEnd: 0
1624
1645
  },
1625
1646
  [`${l}-unchecked`]: {
1626
- marginInlineStart: `calc(100% - ${s} + ${m})`,
1627
- marginInlineEnd: `calc(-100% + ${s} - ${m})`
1647
+ marginInlineStart: `calc(100% - ${s} + ${f})`,
1648
+ marginInlineEnd: `calc(-100% + ${s} - ${f})`
1628
1649
  }
1629
1650
  },
1630
1651
  [`&:not(${n}-disabled):active`]: {
@@ -1643,20 +1664,20 @@ const Qn = (e) => {
1643
1664
  }
1644
1665
  }
1645
1666
  };
1646
- }, tt = (e) => {
1667
+ }, lt = (e) => {
1647
1668
  const {
1648
1669
  componentCls: n,
1649
1670
  trackHeight: o,
1650
1671
  trackMinWidth: t
1651
1672
  } = e;
1652
1673
  return {
1653
- [n]: Object.assign(Object.assign(Object.assign(Object.assign({}, V(e)), {
1674
+ [n]: Object.assign(Object.assign(Object.assign(Object.assign({}, G(e)), {
1654
1675
  position: "relative",
1655
1676
  display: "inline-block",
1656
1677
  boxSizing: "border-box",
1657
1678
  minWidth: t,
1658
1679
  height: o,
1659
- lineHeight: `${N(o)}`,
1680
+ lineHeight: `${M(o)}`,
1660
1681
  verticalAlign: "middle",
1661
1682
  background: e.colorTextQuaternary,
1662
1683
  border: "0",
@@ -1667,7 +1688,7 @@ const Qn = (e) => {
1667
1688
  [`&:hover:not(${n}-disabled)`]: {
1668
1689
  background: e.colorTextTertiary
1669
1690
  }
1670
- }), Ze(e)), {
1691
+ }), ln(e)), {
1671
1692
  [`&${n}-checked`]: {
1672
1693
  background: e.switchColor,
1673
1694
  [`&:hover:not(${n}-disabled)`]: {
@@ -1688,7 +1709,7 @@ const Qn = (e) => {
1688
1709
  }
1689
1710
  })
1690
1711
  };
1691
- }, it = (e) => {
1712
+ }, ct = (e) => {
1692
1713
  const {
1693
1714
  fontSize: n,
1694
1715
  lineHeight: o,
@@ -1705,14 +1726,14 @@ const Qn = (e) => {
1705
1726
  handleBg: i,
1706
1727
  handleSize: l,
1707
1728
  handleSizeSM: s,
1708
- handleShadow: `0 2px 4px 0 ${new en("#00230b").setAlpha(0.2).toRgbString()}`,
1729
+ handleShadow: `0 2px 4px 0 ${new cn("#00230b").setAlpha(0.2).toRgbString()}`,
1709
1730
  innerMinMargin: l / 2,
1710
1731
  innerMaxMargin: l + a + a * 2,
1711
1732
  innerMinMarginSM: s / 2,
1712
1733
  innerMaxMarginSM: s + a + a * 2
1713
1734
  };
1714
- }, ot = ae("Switch", (e) => {
1715
- const n = re(e, {
1735
+ }, st = re("Switch", (e) => {
1736
+ const n = le(e, {
1716
1737
  switchDuration: e.motionDurationMid,
1717
1738
  switchColor: e.colorPrimary,
1718
1739
  switchDisabledOpacity: e.opacityLoading,
@@ -1721,18 +1742,18 @@ const Qn = (e) => {
1721
1742
  switchHandleActiveInset: "-30%"
1722
1743
  });
1723
1744
  return [
1724
- tt(n),
1745
+ lt(n),
1725
1746
  // inner style
1726
- nt(n),
1747
+ rt(n),
1727
1748
  // handle style
1728
- et(n),
1749
+ at(n),
1729
1750
  // loading style
1730
- Zn(n),
1751
+ ot(n),
1731
1752
  // small style
1732
- Qn(n)
1753
+ it(n)
1733
1754
  ];
1734
- }, it);
1735
- var at = function(e, n) {
1755
+ }, ct);
1756
+ var dt = function(e, n) {
1736
1757
  var o = {};
1737
1758
  for (var t in e)
1738
1759
  Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (o[t] = e[t]);
@@ -1741,7 +1762,7 @@ var at = function(e, n) {
1741
1762
  n.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
1742
1763
  return o;
1743
1764
  };
1744
- const rt = /* @__PURE__ */ d.forwardRef((e, n) => {
1765
+ const ut = /* @__PURE__ */ d.forwardRef((e, n) => {
1745
1766
  const {
1746
1767
  prefixCls: o,
1747
1768
  size: t,
@@ -1751,153 +1772,163 @@ const rt = /* @__PURE__ */ d.forwardRef((e, n) => {
1751
1772
  rootClassName: a,
1752
1773
  style: l,
1753
1774
  checked: s,
1754
- value: m,
1775
+ value: f,
1755
1776
  defaultChecked: h,
1756
- defaultValue: C,
1777
+ defaultValue: v,
1757
1778
  onChange: u
1758
- } = e, w = at(e, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style", "checked", "value", "defaultChecked", "defaultValue", "onChange"]), [f, p] = J(!1, {
1759
- value: s ?? m,
1760
- defaultValue: h ?? C
1779
+ } = e, w = dt(e, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style", "checked", "value", "defaultChecked", "defaultValue", "onChange"]), [m, b] = J(!1, {
1780
+ value: s ?? f,
1781
+ defaultValue: h ?? v
1761
1782
  }), {
1762
1783
  getPrefixCls: I,
1763
1784
  direction: $,
1764
1785
  switch: S
1765
- } = d.useContext(q), v = d.useContext(Ee), x = (i ?? v) || r, g = I("switch", o), P = /* @__PURE__ */ d.createElement("div", {
1786
+ } = d.useContext(W), C = d.useContext(Me), x = (i ?? C) || r, g = I("switch", o), N = /* @__PURE__ */ d.createElement("div", {
1766
1787
  className: `${g}-handle`
1767
- }, r && /* @__PURE__ */ d.createElement(ln, {
1788
+ }, r && /* @__PURE__ */ d.createElement(fn, {
1768
1789
  className: `${g}-loading-icon`
1769
- })), [b, k, M] = ot(g), y = ue(t), E = D(S == null ? void 0 : S.className, {
1790
+ })), [p, E, k] = st(g), y = ge(t), P = j(S == null ? void 0 : S.className, {
1770
1791
  [`${g}-small`]: y === "small",
1771
1792
  [`${g}-loading`]: r,
1772
1793
  [`${g}-rtl`]: $ === "rtl"
1773
- }, c, a, k, M), B = Object.assign(Object.assign({}, S == null ? void 0 : S.style), l), O = function() {
1774
- p(arguments.length <= 0 ? void 0 : arguments[0]), u == null || u.apply(void 0, arguments);
1794
+ }, c, a, E, k), D = Object.assign(Object.assign({}, S == null ? void 0 : S.style), l), O = function() {
1795
+ b(arguments.length <= 0 ? void 0 : arguments[0]), u == null || u.apply(void 0, arguments);
1775
1796
  };
1776
- return b(/* @__PURE__ */ d.createElement(Ne, {
1797
+ return p(/* @__PURE__ */ d.createElement(Re, {
1777
1798
  component: "Switch"
1778
- }, /* @__PURE__ */ d.createElement(Le, Object.assign({}, w, {
1779
- checked: f,
1799
+ }, /* @__PURE__ */ d.createElement(qe, Object.assign({}, w, {
1800
+ checked: m,
1780
1801
  onChange: O,
1781
1802
  prefixCls: g,
1782
- className: E,
1783
- style: B,
1803
+ className: P,
1804
+ style: D,
1784
1805
  disabled: x,
1785
1806
  ref: n,
1786
- loadingIcon: P
1807
+ loadingIcon: N
1787
1808
  }))));
1788
- }), de = rt;
1789
- de.__ANT_SWITCH = !0;
1790
- var lt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z" } }] }, name: "chrome", theme: "outlined" }, ct = function(n, o) {
1791
- return /* @__PURE__ */ d.createElement(Q, W({}, n, {
1809
+ }), ie = ut;
1810
+ ie.__ANT_SWITCH = !0;
1811
+ process.env.NODE_ENV !== "production" && (ie.displayName = "Switch");
1812
+ var ht = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M928 512.3v-.3c0-229.8-186.2-416-416-416S96 282.2 96 512v.4c0 229.8 186.2 416 416 416s416-186.2 416-416v-.3.2zm-6.7-74.6l.6 3.3-.6-3.3zM676.7 638.2c53.5-82.2 52.5-189.4-11.1-263.7l162.4-8.4c20.5 44.4 32 93.8 32 145.9 0 185.2-144.6 336.6-327.1 347.4l143.8-221.2zM512 652.3c-77.5 0-140.2-62.7-140.2-140.2 0-77.7 62.7-140.2 140.2-140.2S652.2 434.5 652.2 512 589.5 652.3 512 652.3zm369.2-331.7l-3-5.7 3 5.7zM512 164c121.3 0 228.2 62.1 290.4 156.2l-263.6-13.9c-97.5-5.7-190.2 49.2-222.3 141.1L227.8 311c63.1-88.9 166.9-147 284.2-147zM102.5 585.8c26 145 127.1 264 261.6 315.1C229.6 850 128.5 731 102.5 585.8zM164 512c0-55.9 13.2-108.7 36.6-155.5l119.7 235.4c44.1 86.7 137.4 139.7 234 121.6l-74 145.1C302.9 842.5 164 693.5 164 512zm324.7 415.4c4 .2 8 .4 12 .5-4-.2-8-.3-12-.5z" } }] }, name: "chrome", theme: "outlined" }, gt = function(n, o) {
1813
+ return /* @__PURE__ */ d.createElement(Z, V({}, n, {
1792
1814
  ref: o,
1793
- icon: lt
1815
+ icon: ht
1794
1816
  }));
1795
- }, st = /* @__PURE__ */ d.forwardRef(ct), dt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z" } }] }, name: "mail", theme: "outlined" }, ut = function(n, o) {
1796
- return /* @__PURE__ */ d.createElement(Q, W({}, n, {
1817
+ }, Fe = /* @__PURE__ */ d.forwardRef(gt);
1818
+ process.env.NODE_ENV !== "production" && (Fe.displayName = "ChromeOutlined");
1819
+ var ft = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z" } }] }, name: "mail", theme: "outlined" }, mt = function(n, o) {
1820
+ return /* @__PURE__ */ d.createElement(Z, V({}, n, {
1797
1821
  ref: o,
1798
- icon: dt
1822
+ icon: ft
1799
1823
  }));
1800
- }, $e = /* @__PURE__ */ d.forwardRef(ut), ht = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z" } }] }, name: "message", theme: "outlined" }, gt = function(n, o) {
1801
- return /* @__PURE__ */ d.createElement(Q, W({}, n, {
1824
+ }, he = /* @__PURE__ */ d.forwardRef(mt);
1825
+ process.env.NODE_ENV !== "production" && (he.displayName = "MailOutlined");
1826
+ var pt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z" } }] }, name: "message", theme: "outlined" }, bt = function(n, o) {
1827
+ return /* @__PURE__ */ d.createElement(Z, V({}, n, {
1802
1828
  ref: o,
1803
- icon: ht
1829
+ icon: pt
1804
1830
  }));
1805
- }, mt = /* @__PURE__ */ d.forwardRef(gt), ft = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z" } }] }, name: "mobile", theme: "outlined" }, bt = function(n, o) {
1806
- return /* @__PURE__ */ d.createElement(Q, W({}, n, {
1831
+ }, Ge = /* @__PURE__ */ d.forwardRef(bt);
1832
+ process.env.NODE_ENV !== "production" && (Ge.displayName = "MessageOutlined");
1833
+ var vt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z" } }] }, name: "mobile", theme: "outlined" }, Ct = function(n, o) {
1834
+ return /* @__PURE__ */ d.createElement(Z, V({}, n, {
1807
1835
  ref: o,
1808
- icon: ft
1836
+ icon: vt
1809
1837
  }));
1810
- }, pt = /* @__PURE__ */ d.forwardRef(bt), vt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z" } }] }, name: "phone", theme: "outlined" }, Ct = function(n, o) {
1811
- return /* @__PURE__ */ d.createElement(Q, W({}, n, {
1838
+ }, Ke = /* @__PURE__ */ d.forwardRef(Ct);
1839
+ process.env.NODE_ENV !== "production" && (Ke.displayName = "MobileOutlined");
1840
+ var $t = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z" } }] }, name: "phone", theme: "outlined" }, yt = function(n, o) {
1841
+ return /* @__PURE__ */ d.createElement(Z, V({}, n, {
1812
1842
  ref: o,
1813
- icon: vt
1843
+ icon: $t
1814
1844
  }));
1815
- }, $t = /* @__PURE__ */ d.forwardRef(Ct);
1816
- const U = ze.Text, ye = (e) => ({
1845
+ }, Xe = /* @__PURE__ */ d.forwardRef(yt);
1846
+ process.env.NODE_ENV !== "production" && (Xe.displayName = "PhoneOutlined");
1847
+ const U = De.Text, xe = (e) => ({
1817
1848
  off: "Off",
1818
1849
  instant: "Instant",
1819
1850
  hourly: "Hourly",
1820
1851
  daily: "Daily",
1821
1852
  weekly: "Weekly",
1822
1853
  monthly: "Monthly"
1823
- })[e], yt = (e, n) => {
1854
+ })[e], St = (e, n) => {
1824
1855
  const o = [
1825
- H.EMAIL,
1826
- H.INAPP_WEB,
1827
- H.SMS,
1828
- H.CALL,
1829
- H.PUSH,
1830
- H.WEB_PUSH
1856
+ T.EMAIL,
1857
+ T.INAPP_WEB,
1858
+ T.SMS,
1859
+ T.CALL,
1860
+ T.PUSH,
1861
+ T.WEB_PUSH
1831
1862
  ];
1832
1863
  return o.indexOf(e) - o.indexOf(n);
1833
- }, Se = (e, n) => {
1864
+ }, Ie = (e, n) => {
1834
1865
  const o = [
1835
- A.OFF,
1836
- A.INSTANT,
1837
- A.HOURLY,
1838
- A.DAILY,
1839
- A.WEEKLY,
1840
- A.MONTHLY
1866
+ _.OFF,
1867
+ _.INSTANT,
1868
+ _.HOURLY,
1869
+ _.DAILY,
1870
+ _.WEEKLY,
1871
+ _.MONTHLY
1841
1872
  ];
1842
1873
  return o.indexOf(e) - o.indexOf(n);
1843
- }, xe = () => {
1844
- const e = Oe(ke);
1874
+ }, we = () => {
1875
+ const e = ke(Ne);
1845
1876
  if (!e || !e.preferences)
1846
1877
  return null;
1847
1878
  const n = e.preferences.preferences, t = e.preferences.notifications.map((i) => {
1848
1879
  const r = Array.from(
1849
1880
  new Set(
1850
1881
  n.filter(
1851
- (c) => c.notificationId === i.notificationId && c.delivery !== A.OFF
1882
+ (c) => c.notificationId === i.notificationId && c.delivery !== _.OFF
1852
1883
  ).map((c) => c.channel)
1853
1884
  )
1854
1885
  );
1855
1886
  return {
1856
1887
  label: i.notificationId,
1857
1888
  key: i.notificationId,
1858
- extra: /* @__PURE__ */ R(U, { type: "secondary", children: r.map((c) => we(c)).join(", ") }),
1859
- children: /* @__PURE__ */ R("div", { children: i.channels.sort(yt).map((c, a) => {
1889
+ extra: /* @__PURE__ */ R(U, { type: "secondary", children: r.map((c) => Oe(c)).join(", ") }),
1890
+ children: /* @__PURE__ */ R("div", { children: i.channels.sort(St).map((c, a) => {
1860
1891
  const l = n.find(
1861
1892
  (s) => s.channel === c && s.notificationId === i.notificationId
1862
1893
  );
1863
1894
  if (l.notificationId === i.notificationId) {
1864
- let s = we(c), m = St(c);
1895
+ let s = Oe(c), f = xt(c);
1865
1896
  const h = Object.keys(i.options[c]).filter(
1866
1897
  (u) => u !== "defaultDeliveryOption" && u !== "defaultDeliverOption"
1867
1898
  );
1868
- let C;
1869
- return h.length === 1 ? C = /* @__PURE__ */ R(U, { children: ye(l.delivery) }) : h.length === 2 && h.includes(A.OFF) ? C = /* @__PURE__ */ R(
1870
- de,
1899
+ let v;
1900
+ return h.length === 1 ? v = /* @__PURE__ */ R(U, { children: xe(l.delivery) }) : h.length === 2 && h.includes(_.OFF) ? v = /* @__PURE__ */ R(
1901
+ ie,
1871
1902
  {
1872
- checked: l.delivery !== A.OFF,
1903
+ checked: l.delivery !== _.OFF,
1873
1904
  onChange: (u) => {
1874
1905
  if (u) {
1875
1906
  const w = h.find(
1876
- (f) => f !== A.OFF
1907
+ (m) => m !== _.OFF
1877
1908
  );
1878
1909
  e.updateDelivery(i.notificationId, c, w);
1879
1910
  } else
1880
1911
  e.updateDelivery(
1881
1912
  i.notificationId,
1882
1913
  c,
1883
- A.OFF
1914
+ _.OFF
1884
1915
  );
1885
1916
  }
1886
1917
  }
1887
- ) : C = /* @__PURE__ */ G(ee, { children: [
1918
+ ) : v = /* @__PURE__ */ F(ne, { children: [
1888
1919
  /* @__PURE__ */ R(
1889
- de,
1920
+ ie,
1890
1921
  {
1891
- checked: l.delivery !== A.OFF,
1922
+ checked: l.delivery !== _.OFF,
1892
1923
  onChange: (u) => {
1893
1924
  if (u) {
1894
- const w = h.sort(Se).find((f) => f !== A.OFF);
1925
+ const w = h.sort(Ie).find((m) => m !== _.OFF);
1895
1926
  e.updateDelivery(i.notificationId, c, w);
1896
1927
  } else
1897
1928
  e.updateDelivery(
1898
1929
  i.notificationId,
1899
1930
  c,
1900
- A.OFF
1931
+ _.OFF
1901
1932
  );
1902
1933
  }
1903
1934
  }
@@ -1908,14 +1939,14 @@ const U = ze.Text, ye = (e) => ({
1908
1939
  style: {
1909
1940
  width: "100%",
1910
1941
  marginTop: 8,
1911
- maxHeight: l.delivery !== A.OFF ? 1e3 : 0,
1942
+ maxHeight: l.delivery !== _.OFF ? 1e3 : 0,
1912
1943
  overflow: "hidden",
1913
1944
  transition: "max-height 0.3s ease"
1914
1945
  },
1915
- children: /* @__PURE__ */ G("div", { children: [
1946
+ children: /* @__PURE__ */ F("div", { children: [
1916
1947
  /* @__PURE__ */ R("div", { style: { marginTop: 20 }, children: /* @__PURE__ */ R(U, { strong: !0, children: "Choose frequency:" }) }),
1917
1948
  /* @__PURE__ */ R(
1918
- Y.Group,
1949
+ Q.Group,
1919
1950
  {
1920
1951
  value: l.delivery,
1921
1952
  onChange: (u) => {
@@ -1926,11 +1957,11 @@ const U = ze.Text, ye = (e) => ({
1926
1957
  );
1927
1958
  },
1928
1959
  children: /* @__PURE__ */ R(
1929
- _e,
1960
+ pe,
1930
1961
  {
1931
1962
  direction: "vertical",
1932
1963
  style: { paddingTop: 10 },
1933
- children: h.filter((u) => u !== A.OFF).sort(Se).map((u) => /* @__PURE__ */ R(Y, { value: u, children: /* @__PURE__ */ R(U, { children: ye(u) }) }, u))
1964
+ children: h.filter((u) => u !== _.OFF).sort(Ie).map((u) => /* @__PURE__ */ R(Q, { value: u, children: /* @__PURE__ */ R(U, { children: xe(u) }) }, u))
1934
1965
  }
1935
1966
  )
1936
1967
  }
@@ -1938,8 +1969,8 @@ const U = ze.Text, ye = (e) => ({
1938
1969
  ] })
1939
1970
  }
1940
1971
  )
1941
- ] }), /* @__PURE__ */ G(ee, { children: [
1942
- /* @__PURE__ */ G(
1972
+ ] }), /* @__PURE__ */ F(ne, { children: [
1973
+ /* @__PURE__ */ F(
1943
1974
  "div",
1944
1975
  {
1945
1976
  style: {
@@ -1950,50 +1981,50 @@ const U = ze.Text, ye = (e) => ({
1950
1981
  marginBottom: a === i.channels.length - 1 ? 12 : 0
1951
1982
  },
1952
1983
  children: [
1953
- /* @__PURE__ */ G(U, { children: [
1954
- m,
1984
+ /* @__PURE__ */ F(U, { children: [
1985
+ f,
1955
1986
  " ",
1956
1987
  s
1957
1988
  ] }),
1958
- C
1989
+ v
1959
1990
  ]
1960
1991
  },
1961
1992
  c
1962
1993
  ),
1963
- a !== i.channels.length - 1 && /* @__PURE__ */ R(Vn, {})
1994
+ a !== i.channels.length - 1 && /* @__PURE__ */ R(Ve, {})
1964
1995
  ] });
1965
1996
  }
1966
1997
  }) }, i.notificationId)
1967
1998
  };
1968
1999
  });
1969
- return /* @__PURE__ */ R(Ln, { items: t, defaultActiveKey: [] });
1970
- }, Ie = ze.Text, we = (e) => ({
2000
+ return /* @__PURE__ */ R(Kn, { items: t, defaultActiveKey: [] });
2001
+ }, Ee = De.Text, Oe = (e) => ({
1971
2002
  EMAIL: "Email",
1972
2003
  INAPP_WEB: "In-App",
1973
2004
  SMS: "Text",
1974
2005
  CALL: "Automated Calling",
1975
2006
  PUSH: "Mobile",
1976
2007
  WEB_PUSH: "Browser"
1977
- })[e], St = (e) => {
2008
+ })[e], xt = (e) => {
1978
2009
  switch (e) {
1979
- case H.EMAIL:
1980
- return /* @__PURE__ */ R($e, { style: { color: F.primary } });
1981
- case H.SMS:
1982
- return /* @__PURE__ */ R(mt, { style: { color: F.primary } });
1983
- case H.PUSH:
1984
- return /* @__PURE__ */ R(pt, { style: { color: F.primary } });
1985
- case H.CALL:
1986
- return /* @__PURE__ */ R($t, { style: { color: F.primary } });
1987
- case H.INAPP_WEB:
1988
- return /* @__PURE__ */ R(sn, { style: { color: F.primary } });
1989
- case H.WEB_PUSH:
1990
- return /* @__PURE__ */ R(st, { style: { color: F.primary } });
2010
+ case T.EMAIL:
2011
+ return /* @__PURE__ */ R(he, { style: { color: q.primary } });
2012
+ case T.SMS:
2013
+ return /* @__PURE__ */ R(Ge, { style: { color: q.primary } });
2014
+ case T.PUSH:
2015
+ return /* @__PURE__ */ R(Ke, { style: { color: q.primary } });
2016
+ case T.CALL:
2017
+ return /* @__PURE__ */ R(Xe, { style: { color: q.primary } });
2018
+ case T.INAPP_WEB:
2019
+ return /* @__PURE__ */ R(pn, { style: { color: q.primary } });
2020
+ case T.WEB_PUSH:
2021
+ return /* @__PURE__ */ R(Fe, { style: { color: q.primary } });
1991
2022
  default:
1992
- return /* @__PURE__ */ R($e, { style: { color: F.primary } });
2023
+ return /* @__PURE__ */ R(he, { style: { color: q.primary } });
1993
2024
  }
1994
2025
  };
1995
- function Et() {
1996
- const e = Oe(ke);
2026
+ function Pt() {
2027
+ const e = ke(Ne);
1997
2028
  if (!e || !e.preferences)
1998
2029
  return null;
1999
2030
  const n = e.preferences.preferences;
@@ -2006,19 +2037,19 @@ function Et() {
2006
2037
  subNotificationId: i.subNotificationId,
2007
2038
  title: i.title
2008
2039
  });
2009
- }), /* @__PURE__ */ G(ee, { children: [
2010
- /* @__PURE__ */ R(Ie, { strong: !0, children: "General Notifications" }),
2040
+ }), /* @__PURE__ */ F(ne, { children: [
2041
+ /* @__PURE__ */ R(Ee, { strong: !0, children: "General Notifications" }),
2011
2042
  /* @__PURE__ */ R(
2012
- xe,
2043
+ we,
2013
2044
  {
2014
2045
  title: "General Notifications",
2015
2046
  subNotificationId: void 0
2016
2047
  }
2017
2048
  ),
2018
- t.map((i) => /* @__PURE__ */ G(ee, { children: [
2019
- /* @__PURE__ */ R(Ie, { strong: !0, children: i.title }),
2049
+ t.map((i) => /* @__PURE__ */ F(ne, { children: [
2050
+ /* @__PURE__ */ R(Ee, { strong: !0, children: i.title }),
2020
2051
  /* @__PURE__ */ R(
2021
- xe,
2052
+ we,
2022
2053
  {
2023
2054
  title: i.title,
2024
2055
  subNotificationId: i.subNotificationId
@@ -2028,8 +2059,8 @@ function Et() {
2028
2059
  ] });
2029
2060
  }
2030
2061
  export {
2031
- Et as P,
2032
- xe as a,
2033
- St as b,
2034
- we as g
2062
+ Pt as P,
2063
+ we as a,
2064
+ xt as b,
2065
+ Oe as g
2035
2066
  };