ant-design-x-vue 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,22 +1,22 @@
1
- var to = Object.defineProperty;
2
- var no = (e, t, n) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var Ie = (e, t, n) => no(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { computed as g, inject as ie, shallowRef as J, defineComponent as I, provide as pe, watch as N, unref as P, triggerRef as Ee, useSlots as kr, createVNode as d, mergeProps as _, ref as z, onWatcherCleanup as et, getCurrentInstance as Vr, watchEffect as tt, onBeforeUnmount as ro, toValue as B, Fragment as ze, mergeDefaults as oe, toRef as k, isVNode as yn, h as kn, nextTick as io, reactive as oo, toRaw as ao, useTemplateRef as je, Teleport as lo, openBlock as Gr, createElementBlock as Ur, createElementVNode as Re, useId as so } from "vue";
5
- import { ConfigProvider as co, theme as qr, Avatar as Kr, Tooltip as uo, Typography as ne, Dropdown as fo, Menu as ho, Flex as ft, Cascader as go, Upload as Yr, Progress as mo, Button as At } from "ant-design-vue";
6
- function po(e) {
1
+ var no = Object.defineProperty;
2
+ var ro = (e, t, n) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var Ie = (e, t, n) => ro(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { computed as g, inject as ie, shallowRef as J, defineComponent as I, provide as pe, watch as R, unref as A, triggerRef as Ee, useSlots as Vr, createVNode as d, mergeProps as _, ref as z, onWatcherCleanup as et, getCurrentInstance as Gr, watchEffect as tt, onBeforeUnmount as io, toValue as B, Fragment as ze, mergeDefaults as oe, toRef as V, isVNode as yn, h as kn, nextTick as oo, reactive as ao, toRaw as lo, useTemplateRef as je, Teleport as so, openBlock as Ur, createElementBlock as qr, createElementVNode as Ne, useId as co, withDirectives as uo, vShow as fo } from "vue";
5
+ import { ConfigProvider as ho, theme as Kr, Avatar as Yr, Tooltip as go, Typography as ne, Dropdown as mo, Menu as po, Flex as ft, Cascader as vo, Upload as Zr, Progress as yo, Button as Pt } from "ant-design-vue";
6
+ function bo(e) {
7
7
  return {
8
8
  type: Object,
9
9
  default: e
10
10
  };
11
11
  }
12
- const vo = "anticon", yo = Symbol("configProvider"), bo = {
12
+ const So = "anticon", xo = Symbol("configProvider"), Co = {
13
13
  getPrefixCls: (e, t) => t || (e ? `ant-${e}` : "ant"),
14
- iconPrefixCls: g(() => vo),
14
+ iconPrefixCls: g(() => So),
15
15
  getPopupContainer: g(() => () => document.body),
16
16
  direction: g(() => "ltr")
17
- }, So = () => ie(yo, bo), Tu = "ant";
17
+ }, $o = () => ie(xo, Co), Mu = "ant";
18
18
  function K() {
19
- const { getPrefixCls: e, direction: t, csp: n, iconPrefixCls: r, theme: i } = So();
19
+ const { getPrefixCls: e, direction: t, csp: n, iconPrefixCls: r, theme: i } = $o();
20
20
  return {
21
21
  theme: i,
22
22
  getPrefixCls: e,
@@ -31,19 +31,19 @@ function ue(e, t) {
31
31
  t.includes(r) || Object.defineProperty(n, r, { enumerable: !0, get: () => e[r] });
32
32
  return n;
33
33
  }
34
- const xo = (e) => {
34
+ const wo = (e) => {
35
35
  const t = e;
36
36
  return t.install = function(n) {
37
37
  n.component(t.displayName || t.name, e);
38
38
  }, e;
39
39
  };
40
- function Pe(e) {
40
+ function Ae(e) {
41
41
  return { type: Object, default: e };
42
42
  }
43
43
  function Ot(e) {
44
44
  return { type: Boolean, default: e };
45
45
  }
46
- function Co(e, t) {
46
+ function To(e, t) {
47
47
  const n = { validator: () => !0, default: e };
48
48
  return n;
49
49
  }
@@ -53,31 +53,31 @@ function Vn(e) {
53
53
  function Gn(e) {
54
54
  return { type: String, default: e };
55
55
  }
56
- function $o(e, t) {
57
- return e ? { type: e, default: t } : Co(t);
56
+ function Eo(e, t) {
57
+ return e ? { type: e, default: t } : To(t);
58
58
  }
59
- const Zr = Symbol("XProviderContext"), Ut = J(), wo = (e) => {
60
- pe(Zr, e), N(
59
+ const Qr = Symbol("XProviderContext"), Ut = J(), Ao = (e) => {
60
+ pe(Qr, e), R(
61
61
  e,
62
62
  () => {
63
- Ut.value = P(e), Ee(Ut);
63
+ Ut.value = A(e), Ee(Ut);
64
64
  },
65
65
  { immediate: !0, deep: !0 }
66
66
  );
67
- }, To = () => ie(
68
- Zr,
67
+ }, Po = () => ie(
68
+ Qr,
69
69
  g(() => Ut.value || {})
70
- ), Eo = I({
70
+ ), Oo = I({
71
71
  props: {
72
- value: Pe()
72
+ value: Ae()
73
73
  },
74
74
  setup(e, { slots: t }) {
75
- return wo(g(() => e.value)), () => {
75
+ return Ao(g(() => e.value)), () => {
76
76
  var n;
77
77
  return (n = t.default) == null ? void 0 : n.call(t);
78
78
  };
79
79
  }
80
- }), Eu = /* @__PURE__ */ I({
80
+ }), Iu = /* @__PURE__ */ I({
81
81
  name: "AXConfigProvider",
82
82
  inheritAttrs: !1,
83
83
  __name: "index",
@@ -92,15 +92,15 @@ const Zr = Symbol("XProviderContext"), Ut = J(), wo = (e) => {
92
92
  antd: {}
93
93
  },
94
94
  setup(e) {
95
- const t = ue(e, ["bubble", "antd"]), n = kr(), r = g(() => ({
96
- // attachments,
97
- bubble: e.bubble
98
- // conversations,
99
- // prompts,
95
+ const t = ue(e, ["attachments", "bubble", "conversations", "prompts", "suggestion", "thoughtChain", "welcome", "antd"]), n = Vr(), r = g(() => ({
96
+ attachments: e.attachments,
97
+ bubble: e.bubble,
98
+ conversations: e.conversations,
99
+ prompts: e.prompts,
100
100
  // sender,
101
- // suggestion,
102
- // thoughtChain,
103
- // welcome,
101
+ suggestion: e.suggestion,
102
+ thoughtChain: e.thoughtChain,
103
+ welcome: e.welcome
104
104
  })), {
105
105
  theme: i
106
106
  } = K(), o = g(() => ({
@@ -110,26 +110,26 @@ const Zr = Symbol("XProviderContext"), Ut = J(), wo = (e) => {
110
110
  var l;
111
111
  return (l = n.default) == null ? void 0 : l.call(n);
112
112
  });
113
- return () => d(Eo, {
113
+ return () => d(Oo, {
114
114
  value: r.value
115
115
  }, {
116
- default: () => [d(co, _(t, {
116
+ default: () => [d(ho, _(t, {
117
117
  theme: o.value
118
118
  }), {
119
119
  default: () => [a.value]
120
120
  })]
121
121
  });
122
122
  }
123
- }), Po = {
123
+ }), Mo = {
124
124
  classNames: {},
125
125
  styles: {},
126
126
  className: "",
127
127
  style: {}
128
- }, Ae = (e) => {
129
- const t = To();
128
+ }, Pe = (e) => {
129
+ const t = Po();
130
130
  return g(() => ({
131
- ...Po,
132
- ...P(t)[e]
131
+ ...Mo,
132
+ ...A(t)[e]
133
133
  }));
134
134
  };
135
135
  function D(e) {
@@ -142,23 +142,23 @@ function D(e) {
142
142
  function be(e) {
143
143
  return typeof e == "string";
144
144
  }
145
- const Ao = (e, t, n, r) => {
145
+ const Io = (e, t, n, r) => {
146
146
  const [i, o] = D(""), [a, l] = D(1), s = g(() => t.value && be(e.value));
147
- return N(e, () => {
148
- const f = P(i);
147
+ return R(e, () => {
148
+ const f = A(i);
149
149
  o(e.value), !s.value && be(e.value) ? l(e.value.length) : be(e.value) && be(f) && e.value.indexOf(f) !== 0 && l(1);
150
- }), N([a, t, e], () => {
151
- if (s.value && be(e.value) && P(a) < e.value.length) {
150
+ }), R([a, t, e], () => {
151
+ if (s.value && be(e.value) && A(a) < e.value.length) {
152
152
  const f = setTimeout(() => {
153
- l(P(a) + n.value);
153
+ l(A(a) + n.value);
154
154
  }, r.value);
155
155
  et(() => {
156
156
  clearTimeout(f);
157
157
  });
158
158
  }
159
- }, { immediate: !0 }), [g(() => s.value && be(e.value) ? e.value.slice(0, P(a)) : e.value), g(() => s.value && be(e.value) && P(a) < e.value.length)];
159
+ }, { immediate: !0 }), [g(() => s.value && be(e.value) ? e.value.slice(0, A(a)) : e.value), g(() => s.value && be(e.value) && A(a) < e.value.length)];
160
160
  };
161
- function Oo(e) {
161
+ function Ho(e) {
162
162
  const t = z(!0), n = {
163
163
  step: 1,
164
164
  interval: 50,
@@ -175,7 +175,7 @@ function Oo(e) {
175
175
  g(() => r.value.suffix)
176
176
  ];
177
177
  }
178
- const Mo = /* @__PURE__ */ I({
178
+ const Ro = /* @__PURE__ */ I({
179
179
  name: "AXBubbleLoading",
180
180
  __name: "loading",
181
181
  props: {
@@ -216,7 +216,7 @@ function bn(e) {
216
216
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
217
217
  }
218
218
  const Un = "%";
219
- class Io {
219
+ class Lo {
220
220
  constructor(t) {
221
221
  this.cache = /* @__PURE__ */ new Map(), this.instanceId = t;
222
222
  }
@@ -228,7 +228,7 @@ class Io {
228
228
  o === null ? this.cache.delete(r) : this.cache.set(r, o);
229
229
  }
230
230
  }
231
- const Qr = "data-token-hash", me = "data-css-hash", Ho = "data-cache-path", Le = "__cssinjs_instance__";
231
+ const Jr = "data-token-hash", me = "data-css-hash", No = "data-cache-path", Le = "__cssinjs_instance__";
232
232
  function Ye() {
233
233
  const e = Math.random().toString(12).slice(2);
234
234
  if (typeof document < "u" && document.head && document.body) {
@@ -245,11 +245,11 @@ function Ye() {
245
245
  r[o] ? i[Le] === e && ((a = i.parentNode) == null || a.removeChild(i)) : r[o] = !0;
246
246
  });
247
247
  }
248
- return new Io(e);
248
+ return new Lo(e);
249
249
  }
250
- const Jr = Symbol("StyleContextKey"), No = () => {
250
+ const _r = Symbol("StyleContextKey"), zo = () => {
251
251
  var n, r, i;
252
- const e = Vr();
252
+ const e = Gr();
253
253
  let t;
254
254
  if (e && e.appContext) {
255
255
  const o = (i = (r = (n = e.appContext) == null ? void 0 : n.config) == null ? void 0 : r.globalProperties) == null ? void 0 : i.__ANTDV_CSSINJS_CACHE__;
@@ -257,25 +257,25 @@ const Jr = Symbol("StyleContextKey"), No = () => {
257
257
  } else
258
258
  t = Ye();
259
259
  return t;
260
- }, _r = {
260
+ }, ei = {
261
261
  cache: Ye(),
262
262
  defaultCache: !0,
263
263
  hashPriority: "low"
264
264
  }, nt = () => {
265
- const e = No();
266
- return ie(Jr, J({
267
- ..._r,
265
+ const e = zo();
266
+ return ie(_r, J({
267
+ ...ei,
268
268
  cache: e
269
269
  }));
270
- }, ei = (e) => {
270
+ }, ti = (e) => {
271
271
  const t = nt(), n = J({
272
- ..._r,
272
+ ...ei,
273
273
  cache: Ye()
274
274
  });
275
- return N([() => P(e), t], () => {
275
+ return R([() => A(e), t], () => {
276
276
  const r = {
277
277
  ...t.value
278
- }, i = P(e);
278
+ }, i = A(e);
279
279
  Object.keys(i).forEach((a) => {
280
280
  const l = i[a];
281
281
  i[a] !== void 0 && (r[a] = l);
@@ -286,8 +286,8 @@ const Jr = Symbol("StyleContextKey"), No = () => {
286
286
  r.cache = r.cache || Ye(), r.defaultCache = !o && t.value.defaultCache, n.value = r;
287
287
  }, {
288
288
  immediate: !0
289
- }), pe(Jr, n), n;
290
- }, Lo = () => ({
289
+ }), pe(_r, n), n;
290
+ }, jo = () => ({
291
291
  autoClear: Ot(),
292
292
  /** @private Test only. Not work in production. */
293
293
  mock: Gn(),
@@ -295,13 +295,13 @@ const Jr = Symbol("StyleContextKey"), No = () => {
295
295
  * Only set when you need ssr to extract style on you own.
296
296
  * If not provided, it will auto create <style /> on the end of Provider in server side.
297
297
  */
298
- cache: Pe(),
298
+ cache: Ae(),
299
299
  /** Tell children that this context is default generated context */
300
300
  defaultCache: Ot(),
301
301
  /** Use `:where` selector to reduce hashId css selector priority */
302
302
  hashPriority: Gn(),
303
303
  /** Tell cssinjs where to inject style in */
304
- container: $o(),
304
+ container: Eo(),
305
305
  /** Component wil render inline `<style />` for fallback in SSR. Not recommend. */
306
306
  ssrInline: Ot(),
307
307
  /** Transform css before inject in document. Please note that `transformers` do not support dynamic update */
@@ -312,31 +312,31 @@ const Jr = Symbol("StyleContextKey"), No = () => {
312
312
  * Please note that `linters` do not support dynamic update.
313
313
  */
314
314
  linters: Vn()
315
- }), Ro = xo(/* @__PURE__ */ I({
315
+ }), Bo = wo(/* @__PURE__ */ I({
316
316
  name: "AStyleProvider",
317
317
  inheritAttrs: !1,
318
- props: Lo(),
318
+ props: jo(),
319
319
  setup(e, {
320
320
  slots: t
321
321
  }) {
322
- return ei(e), () => {
322
+ return ti(e), () => {
323
323
  var n;
324
324
  return (n = t.default) == null ? void 0 : n.call(t);
325
325
  };
326
326
  }
327
- })), zo = {
327
+ })), Fo = {
328
328
  useStyleInject: nt,
329
- useStyleProvider: ei,
330
- StyleProvider: Ro
329
+ useStyleProvider: ti,
330
+ StyleProvider: Bo
331
331
  };
332
- function jo() {
332
+ function Do() {
333
333
  return !1;
334
334
  }
335
335
  let qt = !1;
336
- function Bo() {
336
+ function Xo() {
337
337
  return qt;
338
338
  }
339
- const Fo = process.env.NODE_ENV === "production" ? jo : Bo;
339
+ const Wo = process.env.NODE_ENV === "production" ? Do : Xo;
340
340
  if (process.env.NODE_ENV !== "production" && typeof module < "u" && module && module.hot && typeof window < "u") {
341
341
  const e = window;
342
342
  if (typeof e.webpackHotUpdate == "function") {
@@ -351,13 +351,13 @@ function Sn(e, t, n, r) {
351
351
  tt(() => {
352
352
  o.value = [e, ...t.value].join("%");
353
353
  });
354
- const l = Fo(), s = (c) => {
354
+ const l = Wo(), s = (c) => {
355
355
  i.value.cache.update(c, (f) => {
356
356
  const [u = 0, h] = f || [];
357
357
  return u - 1 === 0 ? (r == null || r(h, !1), null) : [u - 1, h];
358
358
  });
359
359
  };
360
- return N(o, (c, f) => {
360
+ return R(o, (c, f) => {
361
361
  f && s(f), i.value.cache.update(c, (u) => {
362
362
  const [h = 0, p] = u || [];
363
363
  let m = p;
@@ -367,40 +367,40 @@ function Sn(e, t, n, r) {
367
367
  }), a.value = i.value.cache.get(o.value)[1];
368
368
  }, {
369
369
  immediate: !0
370
- }), ro(() => {
370
+ }), io(() => {
371
371
  s(o.value);
372
372
  }), a;
373
373
  }
374
374
  function Xe() {
375
375
  return !!(typeof window < "u" && window.document && window.document.createElement);
376
376
  }
377
- function Do(e, t) {
377
+ function ko(e, t) {
378
378
  return e && e.contains ? e.contains(t) : !1;
379
379
  }
380
- const qn = "data-vc-order", Xo = "vc-util-key", Kt = /* @__PURE__ */ new Map();
381
- function ti({ mark: e } = {}) {
382
- return e ? e.startsWith("data-") ? e : `data-${e}` : Xo;
380
+ const qn = "data-vc-order", Vo = "vc-util-key", Kt = /* @__PURE__ */ new Map();
381
+ function ni({ mark: e } = {}) {
382
+ return e ? e.startsWith("data-") ? e : `data-${e}` : Vo;
383
383
  }
384
384
  function xt(e) {
385
385
  return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
386
386
  }
387
- function Wo(e) {
387
+ function Go(e) {
388
388
  return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
389
389
  }
390
- function ni(e) {
390
+ function ri(e) {
391
391
  return Array.from((Kt.get(e) || e).children).filter(
392
392
  (t) => t.tagName === "STYLE"
393
393
  );
394
394
  }
395
- function ri(e, t = {}) {
395
+ function ii(e, t = {}) {
396
396
  if (!Xe())
397
397
  return null;
398
398
  const { csp: n, prepend: r } = t, i = document.createElement("style");
399
- i.setAttribute(qn, Wo(r)), n != null && n.nonce && (i.nonce = n == null ? void 0 : n.nonce), i.innerHTML = e;
399
+ i.setAttribute(qn, Go(r)), n != null && n.nonce && (i.nonce = n == null ? void 0 : n.nonce), i.innerHTML = e;
400
400
  const o = xt(t), { firstChild: a } = o;
401
401
  if (r) {
402
402
  if (r === "queue") {
403
- const l = ni(o).filter(
403
+ const l = ri(o).filter(
404
404
  (s) => ["prepend", "prependQueue"].includes(s.getAttribute(qn))
405
405
  );
406
406
  if (l.length)
@@ -411,32 +411,32 @@ function ri(e, t = {}) {
411
411
  o.appendChild(i);
412
412
  return i;
413
413
  }
414
- function ii(e, t = {}) {
414
+ function oi(e, t = {}) {
415
415
  const n = xt(t);
416
- return ni(n).find((r) => r.getAttribute(ti(t)) === e);
416
+ return ri(n).find((r) => r.getAttribute(ni(t)) === e);
417
417
  }
418
418
  function xn(e, t = {}) {
419
- const n = ii(e, t);
419
+ const n = oi(e, t);
420
420
  n && xt(t).removeChild(n);
421
421
  }
422
- function ko(e, t) {
422
+ function Uo(e, t) {
423
423
  const n = Kt.get(e);
424
- if (!n || !Do(document, n)) {
425
- const r = ri("", t), { parentNode: i } = r;
424
+ if (!n || !ko(document, n)) {
425
+ const r = ii("", t), { parentNode: i } = r;
426
426
  Kt.set(e, i), e.removeChild(r);
427
427
  }
428
428
  }
429
429
  function Yt(e, t, n = {}) {
430
430
  var a, l, s;
431
431
  const r = xt(n);
432
- ko(r, n);
433
- const i = ii(t, n);
432
+ Uo(r, n);
433
+ const i = oi(t, n);
434
434
  if (i)
435
435
  return (a = n.csp) != null && a.nonce && i.nonce !== ((l = n.csp) == null ? void 0 : l.nonce) && (i.nonce = (s = n.csp) == null ? void 0 : s.nonce), i.innerHTML !== e && (i.innerHTML = e), i;
436
- const o = ri(e, n);
437
- return o.setAttribute(ti(n), t), o;
436
+ const o = ii(e, n);
437
+ return o.setAttribute(ni(n), t), o;
438
438
  }
439
- function Vo(e, t) {
439
+ function qo(e, t) {
440
440
  if (e.length !== t.length)
441
441
  return !1;
442
442
  for (let n = 0; n < e.length; n++)
@@ -445,7 +445,7 @@ function Vo(e, t) {
445
445
  return !0;
446
446
  }
447
447
  var ce;
448
- let Go = (ce = class {
448
+ let Ko = (ce = class {
449
449
  constructor() {
450
450
  this.cache = /* @__PURE__ */ new Map(), this.keys = [], this.cacheCallTimes = 0;
451
451
  }
@@ -500,59 +500,59 @@ let Go = (ce = class {
500
500
  }
501
501
  delete(t) {
502
502
  if (this.has(t))
503
- return this.keys = this.keys.filter((n) => !Vo(n, t)), this.deleteByPath(this.cache, t);
503
+ return this.keys = this.keys.filter((n) => !qo(n, t)), this.deleteByPath(this.cache, t);
504
504
  }
505
505
  }, ce.MAX_CACHE_SIZE = 20, ce.MAX_CACHE_OFFSET = 5, ce), Zt = {};
506
- function oi(e, t) {
506
+ function ai(e, t) {
507
507
  process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error(`Warning: ${t}`);
508
508
  }
509
- function Uo() {
509
+ function Yo() {
510
510
  Zt = {};
511
511
  }
512
- function qo(e, t, n) {
512
+ function Zo(e, t, n) {
513
513
  !t && !Zt[n] && (e(!1, n), Zt[n] = !0);
514
514
  }
515
- function ai(e, t) {
516
- qo(oi, e, t);
515
+ function li(e, t) {
516
+ Zo(ai, e, t);
517
517
  }
518
- function li() {
518
+ function si() {
519
519
  }
520
520
  let se = null;
521
- function Ko() {
522
- se = null, Uo();
521
+ function Qo() {
522
+ se = null, Yo();
523
523
  }
524
- let Cn = li;
524
+ let Cn = si;
525
525
  process.env.NODE_ENV !== "production" && (Cn = (e, t, n) => {
526
- ai(e, `[antd: ${t}] ${n}`), process.env.NODE_ENV === "test" && Ko();
526
+ li(e, `[antd: ${t}] ${n}`), process.env.NODE_ENV === "test" && Qo();
527
527
  });
528
- const si = Symbol("WarningContext"), Qt = J(), Yo = (e) => {
529
- pe(si, e), N(
528
+ const ci = Symbol("WarningContext"), Qt = J(), Jo = (e) => {
529
+ pe(ci, e), R(
530
530
  e,
531
531
  () => {
532
- Qt.value = P(e), Ee(Qt);
532
+ Qt.value = A(e), Ee(Qt);
533
533
  },
534
534
  { immediate: !0, deep: !0 }
535
535
  );
536
- }, Zo = () => ie(
537
- si,
536
+ }, _o = () => ie(
537
+ ci,
538
538
  g(() => Qt.value || {})
539
539
  );
540
540
  I({
541
541
  props: {
542
- value: Pe()
542
+ value: Ae()
543
543
  },
544
544
  setup(e, { slots: t }) {
545
- return Yo(g(() => e.value)), () => {
545
+ return Jo(g(() => e.value)), () => {
546
546
  var n;
547
547
  return (n = t.default) == null ? void 0 : n.call(t);
548
548
  };
549
549
  }
550
550
  });
551
551
  process.env.NODE_ENV;
552
- const Qo = Cn;
553
- let Kn = 0, ci = class {
552
+ const ea = Cn;
553
+ let Kn = 0, ui = class {
554
554
  constructor(t) {
555
- this.derivatives = Array.isArray(t) ? t : [t], this.id = Kn, t.length === 0 && Qo(
555
+ this.derivatives = Array.isArray(t) ? t : [t], this.id = Kn, t.length === 0 && ea(
556
556
  t.length > 0,
557
557
  "[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."
558
558
  ), Kn += 1;
@@ -564,48 +564,48 @@ let Kn = 0, ci = class {
564
564
  );
565
565
  }
566
566
  };
567
- const Mt = new Go();
568
- function Jo(e) {
567
+ const Mt = new Ko();
568
+ function ta(e) {
569
569
  const t = Array.isArray(e) ? e : [e];
570
- return Mt.has(t) || Mt.set(t, new ci(t)), Mt.get(t);
570
+ return Mt.has(t) || Mt.set(t, new ui(t)), Mt.get(t);
571
571
  }
572
572
  const Yn = /* @__PURE__ */ new WeakMap();
573
573
  function St(e) {
574
574
  let t = Yn.get(e) || "";
575
575
  return t || (Object.keys(e).forEach((n) => {
576
576
  const r = e[n];
577
- t += n, r instanceof ci ? t += r.id : r && typeof r == "object" ? t += St(r) : t += r;
577
+ t += n, r instanceof ui ? t += r.id : r && typeof r == "object" ? t += St(r) : t += r;
578
578
  }), Yn.set(e, t)), t;
579
579
  }
580
- function _o(e, t) {
580
+ function na(e, t) {
581
581
  return bn(`${t}_${St(e)}`);
582
582
  }
583
- const qe = `random-${Date.now()}-${Math.random()}`.replace(/\./g, ""), ui = "_bAmBoO_";
584
- function ea(e, t, n) {
583
+ const qe = `random-${Date.now()}-${Math.random()}`.replace(/\./g, ""), di = "_bAmBoO_";
584
+ function ra(e, t, n) {
585
585
  var r, i;
586
586
  if (Xe()) {
587
587
  Yt(e, qe);
588
588
  const o = document.createElement("div");
589
589
  o.style.position = "fixed", o.style.left = "0", o.style.top = "0", t == null || t(o), document.body.appendChild(o), process.env.NODE_ENV !== "production" && (o.innerHTML = "Test", o.style.zIndex = "9999999");
590
- const a = n ? n(o) : (r = getComputedStyle(o).content) == null ? void 0 : r.includes(ui);
590
+ const a = n ? n(o) : (r = getComputedStyle(o).content) == null ? void 0 : r.includes(di);
591
591
  return (i = o.parentNode) == null || i.removeChild(o), xn(qe), a;
592
592
  }
593
593
  return !1;
594
594
  }
595
595
  let It;
596
- function ta() {
597
- return It === void 0 && (It = ea(
598
- `@layer ${qe} { .${qe} { content: "${ui}"!important; } }`,
596
+ function ia() {
597
+ return It === void 0 && (It = ra(
598
+ `@layer ${qe} { .${qe} { content: "${di}"!important; } }`,
599
599
  (e) => {
600
600
  e.className = qe;
601
601
  }
602
602
  )), It;
603
603
  }
604
- const na = Xe();
604
+ const oa = Xe();
605
605
  function re(e) {
606
606
  return typeof e == "number" ? `${e}px` : e;
607
607
  }
608
- const ht = (e, t = "") => `--${t ? `${t}-` : ""}${e}`.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g, "$1-$2").replace(/([a-z])([A-Z0-9])/g, "$1-$2").toLowerCase(), ra = (e, t, n) => Object.keys(e).length ? `.${t}${n != null && n.scope ? `.${n.scope}` : ""}{${Object.entries(e).map(([r, i]) => `${r}:${i};`).join("")}}` : "", ia = (e, t, n) => {
608
+ const ht = (e, t = "") => `--${t ? `${t}-` : ""}${e}`.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g, "$1-$2").replace(/([a-z])([A-Z0-9])/g, "$1-$2").toLowerCase(), aa = (e, t, n) => Object.keys(e).length ? `.${t}${n != null && n.scope ? `.${n.scope}` : ""}{${Object.entries(e).map(([r, i]) => `${r}:${i};`).join("")}}` : "", la = (e, t, n) => {
609
609
  const r = {}, i = {};
610
610
  return Object.entries(e).forEach(([o, a]) => {
611
611
  var l, s, c;
@@ -615,33 +615,33 @@ const ht = (e, t = "") => `--${t ? `${t}-` : ""}${e}`.replace(/([a-z0-9])([A-Z])
615
615
  const f = ht(o, n == null ? void 0 : n.prefix);
616
616
  r[f] = typeof a == "number" && !((c = n == null ? void 0 : n.unitless) != null && c[o]) ? `${a}px` : String(a), i[o] = `var(${f})`;
617
617
  }
618
- }), [i, ra(r, t, { scope: n == null ? void 0 : n.scope })];
619
- }, Zn = {}, oa = process.env.NODE_ENV === "production", aa = process.env.NODE_ENV === "prerender", la = !oa && !aa ? "css-dev-only-do-not-override" : "css", Se = /* @__PURE__ */ new Map();
620
- function sa(e) {
618
+ }), [i, aa(r, t, { scope: n == null ? void 0 : n.scope })];
619
+ }, Zn = {}, sa = process.env.NODE_ENV === "production", ca = process.env.NODE_ENV === "prerender", ua = !sa && !ca ? "css-dev-only-do-not-override" : "css", Se = /* @__PURE__ */ new Map();
620
+ function da(e) {
621
621
  Se.set(e, (Se.get(e) || 0) + 1);
622
622
  }
623
- function ca(e, t) {
624
- typeof document < "u" && document.querySelectorAll(`style[${Qr}="${e}"]`).forEach((r) => {
623
+ function fa(e, t) {
624
+ typeof document < "u" && document.querySelectorAll(`style[${Jr}="${e}"]`).forEach((r) => {
625
625
  var i;
626
626
  r[Le] === t && ((i = r.parentNode) == null || i.removeChild(r));
627
627
  });
628
628
  }
629
- const ua = 0;
630
- function da(e, t) {
629
+ const ha = 0;
630
+ function ga(e, t) {
631
631
  Se.set(e, (Se.get(e) || 0) - 1);
632
632
  const n = Array.from(Se.keys()), r = n.filter((i) => (Se.get(i) || 0) <= 0);
633
- n.length - r.length > ua && r.forEach((i) => {
634
- ca(i, t), Se.delete(i);
633
+ n.length - r.length > ha && r.forEach((i) => {
634
+ fa(i, t), Se.delete(i);
635
635
  });
636
636
  }
637
- const fa = (e, t, n, r) => {
637
+ const ma = (e, t, n, r) => {
638
638
  let o = {
639
639
  ...n == null ? void 0 : n.getDerivativeToken(e),
640
640
  ...t
641
641
  };
642
642
  return r && (o = r(o)), o;
643
643
  };
644
- function ha(e, t, n = z({})) {
644
+ function pa(e, t, n = z({})) {
645
645
  const r = nt(), i = g(() => Object.assign({}, ...t.value || [])), o = g(() => St(i.value)), a = g(() => {
646
646
  var s;
647
647
  return St(((s = n.value) == null ? void 0 : s.override) || Zn);
@@ -655,16 +655,16 @@ function ha(e, t, n = z({})) {
655
655
  override: c = Zn,
656
656
  formatToken: f,
657
657
  getComputedToken: u
658
- } = n.value || {}, h = u ? u(i.value, c, e.value) : fa(i.value, c, e.value, f), p = _o(h, s);
659
- h._tokenKey = p, sa(p);
660
- const m = `${la}-${bn(p)}`;
658
+ } = n.value || {}, h = u ? u(i.value, c, e.value) : ma(i.value, c, e.value, f), p = na(h, s);
659
+ h._tokenKey = p, da(p);
660
+ const m = `${ua}-${bn(p)}`;
661
661
  return h._hashId = m, [h, m];
662
662
  }, (s) => {
663
663
  var c;
664
- da(s[0]._tokenKey, (c = r.value) == null ? void 0 : c.cache.instanceId);
664
+ ga(s[0]._tokenKey, (c = r.value) == null ? void 0 : c.cache.instanceId);
665
665
  });
666
666
  }
667
- var ga = {
667
+ var va = {
668
668
  animationIterationCount: 1,
669
669
  aspectRatio: 1,
670
670
  borderImageOutset: 1,
@@ -713,14 +713,14 @@ var ga = {
713
713
  strokeMiterlimit: 1,
714
714
  strokeOpacity: 1,
715
715
  strokeWidth: 1
716
- }, di = "comm", fi = "rule", hi = "decl", ma = "@import", pa = "@keyframes", va = "@layer", gi = Math.abs, $n = String.fromCharCode;
717
- function mi(e) {
716
+ }, fi = "comm", hi = "rule", gi = "decl", ya = "@import", ba = "@keyframes", Sa = "@layer", mi = Math.abs, $n = String.fromCharCode;
717
+ function pi(e) {
718
718
  return e.trim();
719
719
  }
720
720
  function gt(e, t, n) {
721
721
  return e.replace(t, n);
722
722
  }
723
- function ya(e, t, n) {
723
+ function xa(e, t, n) {
724
724
  return e.indexOf(t, n);
725
725
  }
726
726
  function Ze(e, t) {
@@ -732,24 +732,24 @@ function Be(e, t, n) {
732
732
  function ee(e) {
733
733
  return e.length;
734
734
  }
735
- function ba(e) {
735
+ function Ca(e) {
736
736
  return e.length;
737
737
  }
738
738
  function ot(e, t) {
739
739
  return t.push(e), e;
740
740
  }
741
- var Ct = 1, Fe = 1, pi = 0, Y = 0, F = 0, We = "";
741
+ var Ct = 1, Fe = 1, vi = 0, Y = 0, F = 0, We = "";
742
742
  function wn(e, t, n, r, i, o, a, l) {
743
743
  return { value: e, root: t, parent: n, type: r, props: i, children: o, line: Ct, column: Fe, length: a, return: "", siblings: l };
744
744
  }
745
- function Sa() {
745
+ function $a() {
746
746
  return F;
747
747
  }
748
- function xa() {
748
+ function wa() {
749
749
  return F = Y > 0 ? Ze(We, --Y) : 0, Fe--, F === 10 && (Fe = 1, Ct--), F;
750
750
  }
751
751
  function Q() {
752
- return F = Y < pi ? Ze(We, Y++) : 0, Fe++, F === 10 && (Fe = 1, Ct++), F;
752
+ return F = Y < vi ? Ze(We, Y++) : 0, Fe++, F === 10 && (Fe = 1, Ct++), F;
753
753
  }
754
754
  function he() {
755
755
  return Ze(We, Y);
@@ -792,21 +792,21 @@ function Qe(e) {
792
792
  }
793
793
  return 0;
794
794
  }
795
- function Ca(e) {
796
- return Ct = Fe = 1, pi = ee(We = e), Y = 0, [];
795
+ function Ta(e) {
796
+ return Ct = Fe = 1, vi = ee(We = e), Y = 0, [];
797
797
  }
798
- function $a(e) {
798
+ function Ea(e) {
799
799
  return We = "", e;
800
800
  }
801
801
  function Ht(e) {
802
- return mi($t(Y - 1, Jt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
802
+ return pi($t(Y - 1, Jt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
803
803
  }
804
- function wa(e) {
804
+ function Aa(e) {
805
805
  for (; (F = he()) && F < 33; )
806
806
  Q();
807
807
  return Qe(e) > 2 || Qe(F) > 3 ? "" : " ";
808
808
  }
809
- function Ta(e, t) {
809
+ function Pa(e, t) {
810
810
  for (; --t && Q() && !(F < 48 || F > 102 || F > 57 && F < 65 || F > 70 && F < 97); )
811
811
  ;
812
812
  return $t(e, mt() + (t < 6 && he() == 32 && Q() == 32));
@@ -829,26 +829,26 @@ function Jt(e) {
829
829
  }
830
830
  return Y;
831
831
  }
832
- function Ea(e, t) {
832
+ function Oa(e, t) {
833
833
  for (; Q() && e + F !== 57; )
834
834
  if (e + F === 84 && he() === 47)
835
835
  break;
836
836
  return "/*" + $t(t, Y - 1) + "*" + $n(e === 47 ? e : Q());
837
837
  }
838
- function Pa(e) {
838
+ function Ma(e) {
839
839
  for (; !Qe(he()); )
840
840
  Q();
841
841
  return $t(e, Y);
842
842
  }
843
- function Aa(e) {
844
- return $a(pt("", null, null, null, [""], e = Ca(e), 0, [0], e));
843
+ function Ia(e) {
844
+ return Ea(pt("", null, null, null, [""], e = Ta(e), 0, [0], e));
845
845
  }
846
846
  function pt(e, t, n, r, i, o, a, l, s) {
847
847
  for (var c = 0, f = 0, u = a, h = 0, p = 0, m = 0, v = 1, b = 1, x = 1, $ = 0, S = "", C = i, T = o, w = r, y = S; b; )
848
848
  switch (m = $, $ = Q()) {
849
849
  case 40:
850
850
  if (m != 108 && Ze(y, u - 1) == 58) {
851
- ya(y += gt(Ht($), "&", "&\f"), "&\f", gi(c ? l[c - 1] : 0)) != -1 && (x = -1);
851
+ xa(y += gt(Ht($), "&", "&\f"), "&\f", mi(c ? l[c - 1] : 0)) != -1 && (x = -1);
852
852
  break;
853
853
  }
854
854
  case 34:
@@ -860,16 +860,16 @@ function pt(e, t, n, r, i, o, a, l, s) {
860
860
  case 10:
861
861
  case 13:
862
862
  case 32:
863
- y += wa(m);
863
+ y += Aa(m);
864
864
  break;
865
865
  case 92:
866
- y += Ta(mt() - 1, 7);
866
+ y += Pa(mt() - 1, 7);
867
867
  continue;
868
868
  case 47:
869
869
  switch (he()) {
870
870
  case 42:
871
871
  case 47:
872
- ot(Oa(Ea(Q(), mt()), t, n, s), s), (Qe(m || 1) == 5 || Qe(he() || 1) == 5) && ee(y) && Be(y, -1, void 0) !== " " && (y += " ");
872
+ ot(Ha(Oa(Q(), mt()), t, n, s), s), (Qe(m || 1) == 5 || Qe(he() || 1) == 5) && ee(y) && Be(y, -1, void 0) !== " " && (y += " ");
873
873
  break;
874
874
  default:
875
875
  y += "/";
@@ -913,7 +913,7 @@ function pt(e, t, n, r, i, o, a, l, s) {
913
913
  if (v < 1) {
914
914
  if ($ == 123)
915
915
  --v;
916
- else if ($ == 125 && v++ == 0 && xa() == 125)
916
+ else if ($ == 125 && v++ == 0 && wa() == 125)
917
917
  continue;
918
918
  }
919
919
  switch (y += $n($), $ * v) {
@@ -924,7 +924,7 @@ function pt(e, t, n, r, i, o, a, l, s) {
924
924
  l[c++] = (ee(y) - 1) * x, x = 1;
925
925
  break;
926
926
  case 64:
927
- he() === 45 && (y += Ht(Q())), h = he(), f = u = ee(S = y += Pa(mt())), $++;
927
+ he() === 45 && (y += Ht(Q())), h = he(), f = u = ee(S = y += Ma(mt())), $++;
928
928
  break;
929
929
  case 45:
930
930
  m === 45 && ee(y) == 2 && (v = 0);
@@ -933,61 +933,61 @@ function pt(e, t, n, r, i, o, a, l, s) {
933
933
  return o;
934
934
  }
935
935
  function Qn(e, t, n, r, i, o, a, l, s, c, f, u) {
936
- for (var h = i - 1, p = i === 0 ? o : [""], m = ba(p), v = 0, b = 0, x = 0; v < r; ++v)
937
- for (var $ = 0, S = Be(e, h + 1, h = gi(b = a[v])), C = e; $ < m; ++$)
938
- (C = mi(b > 0 ? p[$] + " " + S : gt(S, /&\f/g, p[$]))) && (s[x++] = C);
939
- return wn(e, t, n, i === 0 ? fi : l, s, c, f, u);
936
+ for (var h = i - 1, p = i === 0 ? o : [""], m = Ca(p), v = 0, b = 0, x = 0; v < r; ++v)
937
+ for (var $ = 0, S = Be(e, h + 1, h = mi(b = a[v])), C = e; $ < m; ++$)
938
+ (C = pi(b > 0 ? p[$] + " " + S : gt(S, /&\f/g, p[$]))) && (s[x++] = C);
939
+ return wn(e, t, n, i === 0 ? hi : l, s, c, f, u);
940
940
  }
941
- function Oa(e, t, n, r) {
942
- return wn(e, t, n, di, $n(Sa()), Be(e, 2, -2), 0, r);
941
+ function Ha(e, t, n, r) {
942
+ return wn(e, t, n, fi, $n($a()), Be(e, 2, -2), 0, r);
943
943
  }
944
944
  function Jn(e, t, n, r, i) {
945
- return wn(e, t, n, hi, Be(e, 0, r), Be(e, r + 1, -1), r, i);
945
+ return wn(e, t, n, gi, Be(e, 0, r), Be(e, r + 1, -1), r, i);
946
946
  }
947
947
  function _t(e, t) {
948
948
  for (var n = "", r = 0; r < e.length; r++)
949
949
  n += t(e[r], r, e, t) || "";
950
950
  return n;
951
951
  }
952
- function Ma(e, t, n, r) {
952
+ function Ra(e, t, n, r) {
953
953
  switch (e.type) {
954
- case va:
954
+ case Sa:
955
955
  if (e.children.length) break;
956
- case ma:
957
- case hi:
956
+ case ya:
957
+ case gi:
958
958
  return e.return = e.return || e.value;
959
- case di:
959
+ case fi:
960
960
  return "";
961
- case pa:
961
+ case ba:
962
962
  return e.return = e.value + "{" + _t(e.children, r) + "}";
963
- case fi:
963
+ case hi:
964
964
  if (!ee(e.value = e.props.join(","))) return "";
965
965
  }
966
966
  return ee(n = _t(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
967
967
  }
968
- function vi(e, t) {
968
+ function yi(e, t) {
969
969
  const { path: n, parentSelectors: r } = t;
970
- ai(
970
+ li(
971
971
  !1,
972
972
  `[Ant Design Vue CSS-in-JS] ${n ? `Error in '${n}': ` : ""}${e}${r.length ? ` Selector info: ${r.join(" -> ")}` : ""}`
973
973
  );
974
974
  }
975
- const Ia = (e, t, n) => {
975
+ const La = (e, t, n) => {
976
976
  if (e === "content") {
977
977
  const r = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
978
- (typeof t != "string" || ["normal", "none", "initial", "inherit", "unset"].indexOf(t) === -1 && !r.test(t) && (t.charAt(0) !== t.charAt(t.length - 1) || t.charAt(0) !== '"' && t.charAt(0) !== "'")) && vi(
978
+ (typeof t != "string" || ["normal", "none", "initial", "inherit", "unset"].indexOf(t) === -1 && !r.test(t) && (t.charAt(0) !== t.charAt(t.length - 1) || t.charAt(0) !== '"' && t.charAt(0) !== "'")) && yi(
979
979
  `You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,
980
980
  n
981
981
  );
982
982
  }
983
- }, Ha = (e, t, n) => {
984
- e === "animation" && n.hashId && t !== "none" && vi(
983
+ }, Na = (e, t, n) => {
984
+ e === "animation" && n.hashId && t !== "none" && yi(
985
985
  `You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,
986
986
  n
987
987
  );
988
- }, _n = "data-ant-cssinjs-cache-path", Na = "_FILE_STYLE__";
989
- let Te, yi = !0;
990
- function La() {
988
+ }, _n = "data-ant-cssinjs-cache-path", za = "_FILE_STYLE__";
989
+ let Te, bi = !0;
990
+ function ja() {
991
991
  var e;
992
992
  if (!Te && (Te = {}, Xe())) {
993
993
  const t = document.createElement("div");
@@ -998,32 +998,32 @@ function La() {
998
998
  Te[o] = a;
999
999
  });
1000
1000
  const r = document.querySelector(`style[${_n}]`);
1001
- r && (yi = !1, (e = r.parentNode) == null || e.removeChild(r)), document.body.removeChild(t);
1001
+ r && (bi = !1, (e = r.parentNode) == null || e.removeChild(r)), document.body.removeChild(t);
1002
1002
  }
1003
1003
  }
1004
- function Ra(e) {
1005
- return La(), !!Te[e];
1004
+ function Ba(e) {
1005
+ return ja(), !!Te[e];
1006
1006
  }
1007
- function za(e) {
1007
+ function Fa(e) {
1008
1008
  const t = Te[e];
1009
1009
  let n = null;
1010
1010
  if (t && Xe())
1011
- if (yi)
1012
- n = Na;
1011
+ if (bi)
1012
+ n = za;
1013
1013
  else {
1014
1014
  const r = document.querySelector(`style[${me}="${Te[e]}"]`);
1015
1015
  r ? n = r.innerHTML : delete Te[e];
1016
1016
  }
1017
1017
  return [n, t];
1018
1018
  }
1019
- const er = Xe(), bi = "_skip_check_", Si = "_multi_value_";
1019
+ const er = Xe(), Si = "_skip_check_", xi = "_multi_value_";
1020
1020
  function tr(e) {
1021
- return _t(Aa(e), Ma).replace(/\{%%%\:[^;];}/g, ";");
1021
+ return _t(Ia(e), Ra).replace(/\{%%%\:[^;];}/g, ";");
1022
1022
  }
1023
- function ja(e) {
1024
- return typeof e == "object" && e && (bi in e || Si in e);
1023
+ function Da(e) {
1024
+ return typeof e == "object" && e && (Si in e || xi in e);
1025
1025
  }
1026
- function Ba(e, t, n) {
1026
+ function Xa(e, t, n) {
1027
1027
  if (!t)
1028
1028
  return e;
1029
1029
  const r = `.${t}`, i = n === "low" ? `:where(${r})` : r;
@@ -1069,7 +1069,7 @@ const tn = (e, t = {}, {
1069
1069
  Array.isArray($) ? m($, x) : $ && x.push($);
1070
1070
  }), x;
1071
1071
  }
1072
- if (m(Array.isArray(e) ? e : [e]).forEach((b) => {
1072
+ return m(Array.isArray(e) ? e : [e]).forEach((b) => {
1073
1073
  const x = typeof b == "string" && !n ? {} : b;
1074
1074
  if (typeof x == "string")
1075
1075
  u += `${x}
@@ -1083,9 +1083,9 @@ const tn = (e, t = {}, {
1083
1083
  }, x);
1084
1084
  Object.keys($).forEach((S) => {
1085
1085
  const C = $[S];
1086
- if (typeof C == "object" && C && (S !== "animationName" || !C._keyframe) && !ja(C)) {
1086
+ if (typeof C == "object" && C && (S !== "animationName" || !C._keyframe) && !Da(C)) {
1087
1087
  let T = !1, w = S.trim(), y = !1;
1088
- (n || r) && o ? w.startsWith("@") ? T = !0 : w = Ba(S, o, s) : n && !o && (w === "&" || w === "") && (w = "", y = !0);
1088
+ (n || r) && o ? w.startsWith("@") ? T = !0 : w = Xa(S, o, s) : n && !o && (w === "&" || w === "") && (w = "", y = !0);
1089
1089
  const [M, E] = tn(C, t, {
1090
1090
  root: y,
1091
1091
  injectHash: T,
@@ -1097,31 +1097,25 @@ const tn = (e, t = {}, {
1097
1097
  }, u += `${w}${M}`;
1098
1098
  } else {
1099
1099
  let T = function(y, M) {
1100
- process.env.NODE_ENV !== "production" && (typeof C != "object" || !(C != null && C[bi])) && [Ia, Ha, ...f].forEach((H) => H(y, M, {
1100
+ process.env.NODE_ENV !== "production" && (typeof C != "object" || !(C != null && C[Si])) && [La, Na, ...f].forEach((H) => H(y, M, {
1101
1101
  path: l,
1102
1102
  hashId: o,
1103
1103
  parentSelectors: i
1104
1104
  }));
1105
1105
  const E = y.replace(/[A-Z]/g, (H) => `-${H.toLowerCase()}`);
1106
- let A = M;
1107
- !ga[y] && typeof A == "number" && A !== 0 && (A = `${A}px`), y === "animationName" && (M != null && M._keyframe) && (p(M), A = M.getName(o)), u += `${E}:${A};`;
1106
+ let P = M;
1107
+ !va[y] && typeof P == "number" && P !== 0 && (P = `${P}px`), y === "animationName" && (M != null && M._keyframe) && (p(M), P = M.getName(o)), u += `${E}:${P};`;
1108
1108
  };
1109
1109
  const w = (C == null ? void 0 : C.value) ?? C;
1110
- typeof C == "object" && (C != null && C[Si]) && Array.isArray(w) ? w.forEach((y) => {
1110
+ typeof C == "object" && (C != null && C[xi]) && Array.isArray(w) ? w.forEach((y) => {
1111
1111
  T(S, y);
1112
1112
  }) : T(S, w);
1113
1113
  }
1114
1114
  });
1115
1115
  }
1116
- }), !n)
1117
- u = `{${u}}`;
1118
- else if (a && ta()) {
1119
- const b = a.split(",");
1120
- u = `@layer ${b[b.length - 1].trim()} {${u}}`, b.length > 1 && (u = `@layer ${a}{%%%:%}${u}`);
1121
- }
1122
- return [u, h];
1116
+ }), n ? a && ia() : u = `{${u}}`, [u, h];
1123
1117
  };
1124
- function xi(e, t) {
1118
+ function Ci(e, t) {
1125
1119
  return bn(`${e.join("%")}${t}`);
1126
1120
  }
1127
1121
  function nr(e, t) {
@@ -1146,8 +1140,8 @@ function nr(e, t) {
1146
1140
  clientOnly: f,
1147
1141
  order: u = 0
1148
1142
  } = e.value || {}, h = i.value.join("|");
1149
- if (Ra(h)) {
1150
- const [y, M] = za(h);
1143
+ if (Ba(h)) {
1144
+ const [y, M] = Fa(h);
1151
1145
  if (y)
1152
1146
  return [y, r.value, M, {}, f, u];
1153
1147
  }
@@ -1164,7 +1158,7 @@ function nr(e, t) {
1164
1158
  path: a == null ? void 0 : a.join("-"),
1165
1159
  transformers: b,
1166
1160
  linters: x
1167
- }), T = tr(S), w = xi(i.value, T);
1161
+ }), T = tr(S), w = Ci(i.value, T);
1168
1162
  if (o) {
1169
1163
  const y = {
1170
1164
  mark: me,
@@ -1176,8 +1170,8 @@ function nr(e, t) {
1176
1170
  nonce: M
1177
1171
  });
1178
1172
  const E = Yt(T, w, y);
1179
- E[Le] = $.instanceId, E.setAttribute(Qr, r.value), process.env.NODE_ENV !== "production" && E.setAttribute(Ho, i.value.join("|")), Object.keys(C).forEach((A) => {
1180
- en.has(A) || (en.add(A), Yt(tr(C[A]), `_effect-${A}`, {
1173
+ E[Le] = $.instanceId, E.setAttribute(Jr, r.value), process.env.NODE_ENV !== "production" && E.setAttribute(No, i.value.join("|")), Object.keys(C).forEach((P) => {
1174
+ en.has(P) || (en.add(P), Yt(tr(C[P]), `_effect-${P}`, {
1181
1175
  mark: me,
1182
1176
  prepend: "queue",
1183
1177
  attachTo: v
@@ -1194,28 +1188,28 @@ function nr(e, t) {
1194
1188
  }
1195
1189
  ), (a) => a;
1196
1190
  }
1197
- const Fa = "cssVar", Da = (e, t) => {
1191
+ const Wa = "cssVar", ka = (e, t) => {
1198
1192
  const { key: n, prefix: r, unitless: i, ignore: o, token: a, scope: l = "" } = e;
1199
- useContext(zo);
1193
+ useContext(Fo);
1200
1194
  const { _tokenKey: s } = a, c = [...e.path, n, l, s];
1201
1195
  return Sn(
1202
- Fa,
1196
+ Wa,
1203
1197
  c,
1204
1198
  () => {
1205
- const u = t(), [h, p] = ia(u, n, {
1199
+ const u = t(), [h, p] = la(u, n, {
1206
1200
  prefix: r,
1207
1201
  unitless: i,
1208
1202
  ignore: o,
1209
1203
  scope: l
1210
- }), m = xi(c, p);
1204
+ }), m = Ci(c, p);
1211
1205
  return [h, p, m, n];
1212
1206
  },
1213
1207
  ([, , u]) => {
1214
- na && xn(u, { mark: me });
1208
+ oa && xn(u, { mark: me });
1215
1209
  }
1216
1210
  );
1217
1211
  };
1218
- class Ci {
1212
+ class $i {
1219
1213
  constructor(t, n) {
1220
1214
  this._keyframe = !0, this.name = t, this.style = n;
1221
1215
  }
@@ -1227,23 +1221,23 @@ function He(e) {
1227
1221
  return e.notSplit = !0, e;
1228
1222
  }
1229
1223
  He(["borderTop", "borderBottom"]), He(["borderTop"]), He(["borderBottom"]), He(["borderLeft", "borderRight"]), He(["borderLeft"]), He(["borderRight"]);
1230
- class $i {
1224
+ class wi {
1231
1225
  }
1232
- const wi = "CALC_UNIT", Xa = new RegExp(wi, "g");
1233
- function Nt(e) {
1234
- return typeof e == "number" ? `${e}${wi}` : e;
1226
+ const Ti = "CALC_UNIT", Va = new RegExp(Ti, "g");
1227
+ function Rt(e) {
1228
+ return typeof e == "number" ? `${e}${Ti}` : e;
1235
1229
  }
1236
- class xe extends $i {
1230
+ class xe extends wi {
1237
1231
  constructor(t, n) {
1238
1232
  super(), this.result = "";
1239
1233
  const r = typeof t;
1240
- this.unitlessCssVar = n, t instanceof xe ? this.result = `(${t.result})` : r === "number" ? this.result = Nt(t) : r === "string" && (this.result = t);
1234
+ this.unitlessCssVar = n, t instanceof xe ? this.result = `(${t.result})` : r === "number" ? this.result = Rt(t) : r === "string" && (this.result = t);
1241
1235
  }
1242
1236
  add(t) {
1243
- return t instanceof xe ? this.result = `${this.result} + ${t.getResult()}` : (typeof t == "number" || typeof t == "string") && (this.result = `${this.result} + ${Nt(t)}`), this.lowPriority = !0, this;
1237
+ return t instanceof xe ? this.result = `${this.result} + ${t.getResult()}` : (typeof t == "number" || typeof t == "string") && (this.result = `${this.result} + ${Rt(t)}`), this.lowPriority = !0, this;
1244
1238
  }
1245
1239
  sub(t) {
1246
- return t instanceof xe ? this.result = `${this.result} - ${t.getResult()}` : (typeof t == "number" || typeof t == "string") && (this.result = `${this.result} - ${Nt(t)}`), this.lowPriority = !0, this;
1240
+ return t instanceof xe ? this.result = `${this.result} - ${t.getResult()}` : (typeof t == "number" || typeof t == "string") && (this.result = `${this.result} - ${Rt(t)}`), this.lowPriority = !0, this;
1247
1241
  }
1248
1242
  mul(t) {
1249
1243
  return this.lowPriority && (this.result = `(${this.result})`), t instanceof xe ? this.result = `${this.result} * ${t.getResult(!0)}` : (typeof t == "number" || typeof t == "string") && (this.result = `${this.result} * ${t}`), this.lowPriority = !1, this;
@@ -1257,10 +1251,10 @@ class xe extends $i {
1257
1251
  equal(t) {
1258
1252
  const { unit: n } = t || {};
1259
1253
  let r = !0;
1260
- return typeof n == "boolean" ? r = n : Array.from(this.unitlessCssVar).some((i) => this.result.includes(i)) && (r = !1), this.result = this.result.replace(Xa, r ? "px" : ""), typeof this.lowPriority < "u" ? `calc(${this.result})` : this.result;
1254
+ return typeof n == "boolean" ? r = n : Array.from(this.unitlessCssVar).some((i) => this.result.includes(i)) && (r = !1), this.result = this.result.replace(Va, r ? "px" : ""), typeof this.lowPriority < "u" ? `calc(${this.result})` : this.result;
1261
1255
  }
1262
1256
  }
1263
- class Ce extends $i {
1257
+ class Ce extends wi {
1264
1258
  constructor(t) {
1265
1259
  super(), this.result = 0, t instanceof Ce ? this.result = t.result : typeof t == "number" && (this.result = t);
1266
1260
  }
@@ -1280,7 +1274,7 @@ class Ce extends $i {
1280
1274
  return this.result;
1281
1275
  }
1282
1276
  }
1283
- const Wa = (e, t) => {
1277
+ const Ga = (e, t) => {
1284
1278
  const n = e === "css" ? xe : Ce;
1285
1279
  return (r) => new n(r, t);
1286
1280
  }, rr = (e, t) => `${[
@@ -1294,7 +1288,7 @@ function ir(e, t = {}, n, r) {
1294
1288
  if (r != null && r.deprecatedTokens) {
1295
1289
  const { deprecatedTokens: a } = r;
1296
1290
  a.forEach(([l, s]) => {
1297
- process.env.NODE_ENV !== "production" && oi(
1291
+ process.env.NODE_ENV !== "production" && ai(
1298
1292
  !(i != null && i[l]),
1299
1293
  `Component Token \`${String(
1300
1294
  l
@@ -1307,10 +1301,10 @@ function ir(e, t = {}, n, r) {
1307
1301
  o[a] === t[a] && delete o[a];
1308
1302
  }), o;
1309
1303
  }
1310
- const Ti = process.env.NODE_ENV !== "production" || typeof CSSINJS_STATISTIC < "u";
1304
+ const Ei = process.env.NODE_ENV !== "production" || typeof CSSINJS_STATISTIC < "u";
1311
1305
  let nn = !0;
1312
1306
  function de(...e) {
1313
- if (!Ti)
1307
+ if (!Ei)
1314
1308
  return Object.assign({}, ...e);
1315
1309
  nn = !1;
1316
1310
  const t = {};
@@ -1327,11 +1321,11 @@ function de(...e) {
1327
1321
  }), nn = !0, t;
1328
1322
  }
1329
1323
  const or = {};
1330
- function ka() {
1324
+ function Ua() {
1331
1325
  }
1332
- const Va = (e) => {
1333
- let t, n = e, r = ka;
1334
- return Ti && typeof Proxy < "u" && (t = /* @__PURE__ */ new Set(), n = new Proxy(e, {
1326
+ const qa = (e) => {
1327
+ let t, n = e, r = Ua;
1328
+ return Ei && typeof Proxy < "u" && (t = /* @__PURE__ */ new Set(), n = new Proxy(e, {
1335
1329
  get(i, o) {
1336
1330
  return nn && (t == null || t.add(o)), i[o];
1337
1331
  }
@@ -1351,14 +1345,14 @@ function ar(e, t = {}, n) {
1351
1345
  de(t, t[e] ?? {})
1352
1346
  ) : n ?? {};
1353
1347
  }
1354
- function Ga(e) {
1348
+ function Ka(e) {
1355
1349
  return e === "js" ? { max: Math.max, min: Math.min } : {
1356
1350
  max: (...t) => `max(${t.map((n) => re(n)).join(",")})`,
1357
1351
  min: (...t) => `min(${t.map((n) => re(n)).join(",")})`
1358
1352
  };
1359
1353
  }
1360
- const Ua = 1e3 * 60 * 10;
1361
- class qa {
1354
+ const Ya = 1e3 * 60 * 10;
1355
+ class Za {
1362
1356
  constructor() {
1363
1357
  Ie(this, "map", /* @__PURE__ */ new Map());
1364
1358
  // Use WeakMap to avoid memory leak
@@ -1390,13 +1384,13 @@ class qa {
1390
1384
  if (this.accessBeat > 1e4) {
1391
1385
  const t = Date.now();
1392
1386
  this.lastAccessBeat.forEach((n, r) => {
1393
- t - n > Ua && (this.map.delete(r), this.lastAccessBeat.delete(r));
1387
+ t - n > Ya && (this.map.delete(r), this.lastAccessBeat.delete(r));
1394
1388
  }), this.accessBeat = 0;
1395
1389
  }
1396
1390
  }
1397
1391
  }
1398
- const lr = new qa();
1399
- function Ka(e, t) {
1392
+ const lr = new Za();
1393
+ function Qa(e, t) {
1400
1394
  return g(() => {
1401
1395
  const n = lr.get(t);
1402
1396
  if (n)
@@ -1405,10 +1399,10 @@ function Ka(e, t) {
1405
1399
  return lr.set(t, r), r;
1406
1400
  });
1407
1401
  }
1408
- const Ya = () => ({});
1409
- function Za(e) {
1402
+ const Ja = () => ({});
1403
+ function _a(e) {
1410
1404
  const {
1411
- useCSP: t = Ya,
1405
+ useCSP: t = Ja,
1412
1406
  useToken: n,
1413
1407
  usePrefix: r,
1414
1408
  getResetStyles: i,
@@ -1433,8 +1427,8 @@ function Za(e) {
1433
1427
  prefixToken: b
1434
1428
  }, T = c(u, h, p, C), w = s(v, p, C);
1435
1429
  return (y, M = B(y)) => {
1436
- const [, E] = T(B(y), M), [A, H] = w(M);
1437
- return [A, E, H];
1430
+ const [, E] = T(B(y), M), [P, H] = w(M);
1431
+ return [P, E, H];
1438
1432
  };
1439
1433
  }
1440
1434
  function s(u, h, p) {
@@ -1450,7 +1444,7 @@ function Za(e) {
1450
1444
  const {
1451
1445
  realToken: w
1452
1446
  } = n();
1453
- return Da({
1447
+ return ka({
1454
1448
  path: [u],
1455
1449
  prefix: T.prefix,
1456
1450
  key: T.key,
@@ -1490,17 +1484,17 @@ function Za(e) {
1490
1484
  token: M,
1491
1485
  cssVar: E
1492
1486
  } = n(), {
1493
- rootPrefixCls: A,
1487
+ rootPrefixCls: P,
1494
1488
  iconPrefixCls: H
1495
- } = r(), fe = t(), R = E ? "css" : "js", j = P(Ka(() => {
1489
+ } = r(), fe = t(), N = E ? "css" : "js", j = A(Qa(() => {
1496
1490
  const ke = /* @__PURE__ */ new Set();
1497
1491
  return E && Object.keys(m.unitless || {}).forEach((it) => {
1498
1492
  ke.add(ht(it, E.prefix)), ke.add(ht(it, rr(b, E.prefix)));
1499
- }), Wa(R, ke);
1500
- }, [R, b, E == null ? void 0 : E.prefix])), {
1493
+ }), Ga(N, ke);
1494
+ }, [N, b, E == null ? void 0 : E.prefix])), {
1501
1495
  max: U,
1502
1496
  min: ye
1503
- } = Ga(R), Pt = {
1497
+ } = Ka(N), At = {
1504
1498
  theme: T,
1505
1499
  token: M,
1506
1500
  hashId: y,
@@ -1510,50 +1504,50 @@ function Za(e) {
1510
1504
  // antd is always at top of styles
1511
1505
  order: m.order || -999
1512
1506
  };
1513
- return typeof i == "function" && nr({
1514
- ...Pt,
1507
+ return typeof i == "function" && nr(g(() => ({
1508
+ ...At,
1515
1509
  clientOnly: !1,
1516
- path: ["Shared", A]
1517
- }, () => i(M, {
1510
+ path: ["Shared", P]
1511
+ })), () => i(M, {
1518
1512
  prefix: {
1519
- rootPrefixCls: A,
1513
+ rootPrefixCls: P,
1520
1514
  iconPrefixCls: H
1521
1515
  },
1522
1516
  csp: fe
1523
- })), [nr({
1524
- ...Pt,
1517
+ })), [nr(g(() => ({
1518
+ ...At,
1525
1519
  path: [x, S, H]
1526
- }, () => {
1520
+ })), () => {
1527
1521
  if (m.injectStyle === !1)
1528
1522
  return [];
1529
1523
  const {
1530
1524
  token: ke,
1531
1525
  flush: it
1532
- } = Va(M), Me = ar(b, w, p), Ji = `.${S}`, Dn = ir(b, w, Me, {
1526
+ } = qa(M), Me = ar(b, w, p), _i = `.${S}`, Dn = ir(b, w, Me, {
1533
1527
  deprecatedTokens: m.deprecatedTokens
1534
1528
  });
1535
1529
  E && Me && typeof Me == "object" && Object.keys(Me).forEach((Wn) => {
1536
1530
  Me[Wn] = `var(${ht(Wn, rr(b, E.prefix))})`;
1537
1531
  });
1538
1532
  const Xn = de(ke, {
1539
- componentCls: Ji,
1533
+ componentCls: _i,
1540
1534
  prefixCls: S,
1541
1535
  iconCls: `.${H}`,
1542
- antCls: `.${A}`,
1536
+ antCls: `.${P}`,
1543
1537
  calc: j,
1544
1538
  // @ts-ignore
1545
1539
  max: U,
1546
1540
  // @ts-ignore
1547
1541
  min: ye
1548
- }, E ? Me : Dn), _i = h(Xn, {
1542
+ }, E ? Me : Dn), eo = h(Xn, {
1549
1543
  hashId: y,
1550
1544
  prefixCls: S,
1551
- rootPrefixCls: A,
1545
+ rootPrefixCls: P,
1552
1546
  iconPrefixCls: H
1553
1547
  });
1554
1548
  it(b, Dn);
1555
- const eo = typeof o == "function" ? o(Xn, S, C, m.resetFont) : null;
1556
- return [m.resetStyle === !1 ? null : eo, _i];
1549
+ const to = typeof o == "function" ? o(Xn, S, C, m.resetFont) : null;
1550
+ return [m.resetStyle === !1 ? null : to, eo];
1557
1551
  }), y];
1558
1552
  };
1559
1553
  }
@@ -1563,11 +1557,11 @@ function Za(e) {
1563
1557
  // Sub Style should default after root one
1564
1558
  order: -998,
1565
1559
  ...m
1566
- }), b = ({
1560
+ });
1561
+ return ({
1567
1562
  prefixCls: x,
1568
1563
  rootCls: $ = x
1569
1564
  }) => (v(x, $), null);
1570
- return process.env.NODE_ENV !== "production" && (b.displayName = `SubStyle_${String(Array.isArray(u) ? u.join(".") : u)}`), b;
1571
1565
  }
1572
1566
  return {
1573
1567
  genStyleHooks: l,
@@ -1575,7 +1569,7 @@ function Za(e) {
1575
1569
  genComponentStyleHook: c
1576
1570
  };
1577
1571
  }
1578
- const Qa = {
1572
+ const el = {
1579
1573
  size: !0,
1580
1574
  sizeSM: !0,
1581
1575
  sizeLG: !0,
@@ -1589,7 +1583,7 @@ const Qa = {
1589
1583
  sizeStep: !0,
1590
1584
  motionBase: !0,
1591
1585
  motionUnit: !0
1592
- }, Ja = {
1586
+ }, tl = {
1593
1587
  lineHeight: !0,
1594
1588
  lineHeightSM: !0,
1595
1589
  lineHeightLG: !0,
@@ -1613,21 +1607,21 @@ function L() {
1613
1607
  return e;
1614
1608
  }, L.apply(null, arguments);
1615
1609
  }
1616
- function V(e, t) {
1617
- _a(e) && (e = "100%");
1618
- var n = el(e);
1610
+ function k(e, t) {
1611
+ nl(e) && (e = "100%");
1612
+ var n = rl(e);
1619
1613
  return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), n && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (t === 360 ? e = (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e = e % t / parseFloat(String(t)), e);
1620
1614
  }
1621
1615
  function at(e) {
1622
1616
  return Math.min(1, Math.max(0, e));
1623
1617
  }
1624
- function _a(e) {
1618
+ function nl(e) {
1625
1619
  return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
1626
1620
  }
1627
- function el(e) {
1621
+ function rl(e) {
1628
1622
  return typeof e == "string" && e.indexOf("%") !== -1;
1629
1623
  }
1630
- function Ei(e) {
1624
+ function Ai(e) {
1631
1625
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
1632
1626
  }
1633
1627
  function lt(e) {
@@ -1636,15 +1630,15 @@ function lt(e) {
1636
1630
  function we(e) {
1637
1631
  return e.length === 1 ? "0" + e : String(e);
1638
1632
  }
1639
- function tl(e, t, n) {
1633
+ function il(e, t, n) {
1640
1634
  return {
1641
- r: V(e, 255) * 255,
1642
- g: V(t, 255) * 255,
1643
- b: V(n, 255) * 255
1635
+ r: k(e, 255) * 255,
1636
+ g: k(t, 255) * 255,
1637
+ b: k(n, 255) * 255
1644
1638
  };
1645
1639
  }
1646
1640
  function sr(e, t, n) {
1647
- e = V(e, 255), t = V(t, 255), n = V(n, 255);
1641
+ e = k(e, 255), t = k(t, 255), n = k(n, 255);
1648
1642
  var r = Math.max(e, t, n), i = Math.min(e, t, n), o = 0, a = 0, l = (r + i) / 2;
1649
1643
  if (r === i)
1650
1644
  a = 0, o = 0;
@@ -1668,9 +1662,9 @@ function sr(e, t, n) {
1668
1662
  function Lt(e, t, n) {
1669
1663
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * (6 * n) : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
1670
1664
  }
1671
- function nl(e, t, n) {
1665
+ function ol(e, t, n) {
1672
1666
  var r, i, o;
1673
- if (e = V(e, 360), t = V(t, 100), n = V(n, 100), t === 0)
1667
+ if (e = k(e, 360), t = k(t, 100), n = k(n, 100), t === 0)
1674
1668
  i = n, o = n, r = n;
1675
1669
  else {
1676
1670
  var a = n < 0.5 ? n * (1 + t) : n + t - n * t, l = 2 * n - a;
@@ -1679,7 +1673,7 @@ function nl(e, t, n) {
1679
1673
  return { r: r * 255, g: i * 255, b: o * 255 };
1680
1674
  }
1681
1675
  function rn(e, t, n) {
1682
- e = V(e, 255), t = V(t, 255), n = V(n, 255);
1676
+ e = k(e, 255), t = k(t, 255), n = k(n, 255);
1683
1677
  var r = Math.max(e, t, n), i = Math.min(e, t, n), o = 0, a = r, l = r - i, s = r === 0 ? 0 : l / r;
1684
1678
  if (r === i)
1685
1679
  o = 0;
@@ -1699,8 +1693,8 @@ function rn(e, t, n) {
1699
1693
  }
1700
1694
  return { h: o, s, v: a };
1701
1695
  }
1702
- function rl(e, t, n) {
1703
- e = V(e, 360) * 6, t = V(t, 100), n = V(n, 100);
1696
+ function al(e, t, n) {
1697
+ e = k(e, 360) * 6, t = k(t, 100), n = k(n, 100);
1704
1698
  var r = Math.floor(e), i = e - r, o = n * (1 - t), a = n * (1 - i * t), l = n * (1 - (1 - i) * t), s = r % 6, c = [n, a, o, o, l, n][s], f = [l, n, n, a, o, o][s], u = [o, o, l, n, n, a][s];
1705
1699
  return { r: c * 255, g: f * 255, b: u * 255 };
1706
1700
  }
@@ -1712,16 +1706,16 @@ function on(e, t, n, r) {
1712
1706
  ];
1713
1707
  return r && i[0].startsWith(i[0].charAt(1)) && i[1].startsWith(i[1].charAt(1)) && i[2].startsWith(i[2].charAt(1)) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) : i.join("");
1714
1708
  }
1715
- function il(e, t, n, r, i) {
1709
+ function ll(e, t, n, r, i) {
1716
1710
  var o = [
1717
1711
  we(Math.round(e).toString(16)),
1718
1712
  we(Math.round(t).toString(16)),
1719
1713
  we(Math.round(n).toString(16)),
1720
- we(ol(r))
1714
+ we(sl(r))
1721
1715
  ];
1722
1716
  return i && o[0].startsWith(o[0].charAt(1)) && o[1].startsWith(o[1].charAt(1)) && o[2].startsWith(o[2].charAt(1)) && o[3].startsWith(o[3].charAt(1)) ? o[0].charAt(0) + o[1].charAt(0) + o[2].charAt(0) + o[3].charAt(0) : o.join("");
1723
1717
  }
1724
- function ol(e) {
1718
+ function sl(e) {
1725
1719
  return Math.round(parseFloat(e) * 255).toString(16);
1726
1720
  }
1727
1721
  function cr(e) {
@@ -1730,7 +1724,7 @@ function cr(e) {
1730
1724
  function G(e) {
1731
1725
  return parseInt(e, 16);
1732
1726
  }
1733
- function al(e) {
1727
+ function cl(e) {
1734
1728
  return {
1735
1729
  r: e >> 16,
1736
1730
  g: (e & 65280) >> 8,
@@ -1887,9 +1881,9 @@ var an = {
1887
1881
  yellow: "#ffff00",
1888
1882
  yellowgreen: "#9acd32"
1889
1883
  };
1890
- function Ne(e) {
1884
+ function Re(e) {
1891
1885
  var t = { r: 0, g: 0, b: 0 }, n = 1, r = null, i = null, o = null, a = !1, l = !1;
1892
- return typeof e == "string" && (e = cl(e)), typeof e == "object" && (ae(e.r) && ae(e.g) && ae(e.b) ? (t = tl(e.r, e.g, e.b), a = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : ae(e.h) && ae(e.s) && ae(e.v) ? (r = lt(e.s), i = lt(e.v), t = rl(e.h, r, i), a = !0, l = "hsv") : ae(e.h) && ae(e.s) && ae(e.l) && (r = lt(e.s), o = lt(e.l), t = nl(e.h, r, o), a = !0, l = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = Ei(n), {
1886
+ return typeof e == "string" && (e = fl(e)), typeof e == "object" && (ae(e.r) && ae(e.g) && ae(e.b) ? (t = il(e.r, e.g, e.b), a = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : ae(e.h) && ae(e.s) && ae(e.v) ? (r = lt(e.s), i = lt(e.v), t = al(e.h, r, i), a = !0, l = "hsv") : ae(e.h) && ae(e.s) && ae(e.l) && (r = lt(e.s), o = lt(e.l), t = ol(e.h, r, o), a = !0, l = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = Ai(n), {
1893
1887
  ok: a,
1894
1888
  format: e.format || l,
1895
1889
  r: Math.min(255, Math.max(t.r, 0)),
@@ -1898,20 +1892,20 @@ function Ne(e) {
1898
1892
  a: n
1899
1893
  };
1900
1894
  }
1901
- var ll = "[-\\+]?\\d+%?", sl = "[-\\+]?\\d*\\.\\d+%?", ge = "(?:".concat(sl, ")|(?:").concat(ll, ")"), Rt = "[\\s|\\(]+(".concat(ge, ")[,|\\s]+(").concat(ge, ")[,|\\s]+(").concat(ge, ")\\s*\\)?"), zt = "[\\s|\\(]+(".concat(ge, ")[,|\\s]+(").concat(ge, ")[,|\\s]+(").concat(ge, ")[,|\\s]+(").concat(ge, ")\\s*\\)?"), Z = {
1895
+ var ul = "[-\\+]?\\d+%?", dl = "[-\\+]?\\d*\\.\\d+%?", ge = "(?:".concat(dl, ")|(?:").concat(ul, ")"), Nt = "[\\s|\\(]+(".concat(ge, ")[,|\\s]+(").concat(ge, ")[,|\\s]+(").concat(ge, ")\\s*\\)?"), zt = "[\\s|\\(]+(".concat(ge, ")[,|\\s]+(").concat(ge, ")[,|\\s]+(").concat(ge, ")[,|\\s]+(").concat(ge, ")\\s*\\)?"), Z = {
1902
1896
  CSS_UNIT: new RegExp(ge),
1903
- rgb: new RegExp("rgb" + Rt),
1897
+ rgb: new RegExp("rgb" + Nt),
1904
1898
  rgba: new RegExp("rgba" + zt),
1905
- hsl: new RegExp("hsl" + Rt),
1899
+ hsl: new RegExp("hsl" + Nt),
1906
1900
  hsla: new RegExp("hsla" + zt),
1907
- hsv: new RegExp("hsv" + Rt),
1901
+ hsv: new RegExp("hsv" + Nt),
1908
1902
  hsva: new RegExp("hsva" + zt),
1909
1903
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1910
1904
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
1911
1905
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1912
1906
  hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
1913
1907
  };
1914
- function cl(e) {
1908
+ function fl(e) {
1915
1909
  if (e = e.trim().toLowerCase(), e.length === 0)
1916
1910
  return !1;
1917
1911
  var t = !1;
@@ -1955,8 +1949,8 @@ var te = (
1955
1949
  var r;
1956
1950
  if (t instanceof e)
1957
1951
  return t;
1958
- typeof t == "number" && (t = al(t)), this.originalInput = t;
1959
- var i = Ne(t);
1952
+ typeof t == "number" && (t = cl(t)), this.originalInput = t;
1953
+ var i = Re(t);
1960
1954
  this.originalInput = t, this.r = i.r, this.g = i.g, this.b = i.b, this.a = i.a, this.roundA = Math.round(100 * this.a) / 100, this.format = (r = n.format) !== null && r !== void 0 ? r : i.format, this.gradientType = n.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = i.ok;
1961
1955
  }
1962
1956
  return e.prototype.isDark = function() {
@@ -1972,7 +1966,7 @@ var te = (
1972
1966
  }, e.prototype.getAlpha = function() {
1973
1967
  return this.a;
1974
1968
  }, e.prototype.setAlpha = function(t) {
1975
- return this.a = Ei(t), this.roundA = Math.round(100 * this.a) / 100, this;
1969
+ return this.a = Ai(t), this.roundA = Math.round(100 * this.a) / 100, this;
1976
1970
  }, e.prototype.isMonochrome = function() {
1977
1971
  var t = this.toHsl().s;
1978
1972
  return t === 0;
@@ -1993,7 +1987,7 @@ var te = (
1993
1987
  }, e.prototype.toHexString = function(t) {
1994
1988
  return t === void 0 && (t = !1), "#" + this.toHex(t);
1995
1989
  }, e.prototype.toHex8 = function(t) {
1996
- return t === void 0 && (t = !1), il(this.r, this.g, this.b, this.a, t);
1990
+ return t === void 0 && (t = !1), ll(this.r, this.g, this.b, this.a, t);
1997
1991
  }, e.prototype.toHex8String = function(t) {
1998
1992
  return t === void 0 && (t = !1), "#" + this.toHex8(t);
1999
1993
  }, e.prototype.toHexShortString = function(t) {
@@ -2010,7 +2004,7 @@ var te = (
2010
2004
  return this.a === 1 ? "rgb(".concat(t, ", ").concat(n, ", ").concat(r, ")") : "rgba(".concat(t, ", ").concat(n, ", ").concat(r, ", ").concat(this.roundA, ")");
2011
2005
  }, e.prototype.toPercentageRgb = function() {
2012
2006
  var t = function(n) {
2013
- return "".concat(Math.round(V(n, 255) * 100), "%");
2007
+ return "".concat(Math.round(k(n, 255) * 100), "%");
2014
2008
  };
2015
2009
  return {
2016
2010
  r: t(this.r),
@@ -2020,7 +2014,7 @@ var te = (
2020
2014
  };
2021
2015
  }, e.prototype.toPercentageRgbString = function() {
2022
2016
  var t = function(n) {
2023
- return Math.round(V(n, 255) * 100);
2017
+ return Math.round(k(n, 255) * 100);
2024
2018
  };
2025
2019
  return this.a === 1 ? "rgb(".concat(t(this.r), "%, ").concat(t(this.g), "%, ").concat(t(this.b), "%)") : "rgba(".concat(t(this.r), "%, ").concat(t(this.g), "%, ").concat(t(this.b), "%, ").concat(this.roundA, ")");
2026
2020
  }, e.prototype.toName = function() {
@@ -2171,7 +2165,7 @@ const Pi = {
2171
2165
  geekblue: "#2F54EB",
2172
2166
  gold: "#FAAD14",
2173
2167
  lime: "#A0D911"
2174
- }, Ai = L(L({}, Pi), {
2168
+ }, Oi = L(L({}, Pi), {
2175
2169
  // Color
2176
2170
  colorPrimary: "#1677ff",
2177
2171
  colorSuccess: "#52c41a",
@@ -2215,18 +2209,18 @@ const Pi = {
2215
2209
  // Wireframe
2216
2210
  wireframe: !1
2217
2211
  });
2218
- var ul = function(e, t) {
2212
+ var hl = function(e, t) {
2219
2213
  var n = {};
2220
2214
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
2221
2215
  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
2222
2216
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
2223
2217
  return n;
2224
2218
  };
2225
- function dl(e) {
2219
+ function gl(e) {
2226
2220
  const {
2227
2221
  override: t
2228
- } = e, n = ul(e, ["override"]), r = L({}, t);
2229
- Object.keys(Ai).forEach((p) => {
2222
+ } = e, n = hl(e, ["override"]), r = L({}, t);
2223
+ Object.keys(Oi).forEach((p) => {
2230
2224
  delete r[p];
2231
2225
  });
2232
2226
  const i = L(L({}, n), r), o = 480, a = 576, l = 768, s = 992, c = 1200, f = 1600, u = 2e3;
@@ -2370,8 +2364,8 @@ function dl(e) {
2370
2364
  boxShadowTabsOverflowBottom: "inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"
2371
2365
  }), r);
2372
2366
  }
2373
- const fl = "1.0.3";
2374
- function hl(e, t) {
2367
+ const ml = "1.0.3";
2368
+ function pl(e, t) {
2375
2369
  if (e.length !== t.length)
2376
2370
  return !1;
2377
2371
  for (let n = 0; n < e.length; n++)
@@ -2439,45 +2433,45 @@ class De {
2439
2433
  }
2440
2434
  delete(t) {
2441
2435
  if (this.has(t))
2442
- return this.keys = this.keys.filter((n) => !hl(n, t)), this.deleteByPath(this.cache, t);
2436
+ return this.keys = this.keys.filter((n) => !pl(n, t)), this.deleteByPath(this.cache, t);
2443
2437
  }
2444
2438
  }
2445
2439
  De.MAX_CACHE_SIZE = 20;
2446
2440
  De.MAX_CACHE_OFFSET = 5;
2447
2441
  let ln = {};
2448
- function gl(e, t) {
2442
+ function vl(e, t) {
2449
2443
  process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error(`Warning: ${t}`);
2450
2444
  }
2451
- function ml() {
2445
+ function yl() {
2452
2446
  ln = {};
2453
2447
  }
2454
- function pl(e, t, n) {
2448
+ function bl(e, t, n) {
2455
2449
  !t && !ln[n] && (e(!1, n), ln[n] = !0);
2456
2450
  }
2457
- function vl(e, t) {
2458
- pl(gl, e, t);
2451
+ function Sl(e, t) {
2452
+ bl(vl, e, t);
2459
2453
  }
2460
- function yl() {
2454
+ function xl() {
2461
2455
  }
2462
- let Oi = yl;
2463
- process.env.NODE_ENV !== "production" && (Oi = (e, t, n) => {
2464
- vl(e, `[ant-design-vue: ${t}] ${n}`), process.env.NODE_ENV === "test" && ml();
2456
+ let Mi = xl;
2457
+ process.env.NODE_ENV !== "production" && (Mi = (e, t, n) => {
2458
+ Sl(e, `[ant-design-vue: ${t}] ${n}`), process.env.NODE_ENV === "test" && yl();
2465
2459
  });
2466
2460
  let ur = 0;
2467
- class bl {
2461
+ class Cl {
2468
2462
  constructor(t) {
2469
- this.derivatives = Array.isArray(t) ? t : [t], this.id = ur, t.length === 0 && Oi(t.length > 0, "[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."), ur += 1;
2463
+ this.derivatives = Array.isArray(t) ? t : [t], this.id = ur, t.length === 0 && Mi(t.length > 0, "[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."), ur += 1;
2470
2464
  }
2471
2465
  getDerivativeToken(t) {
2472
2466
  return this.derivatives.reduce((n, r) => r(t, n), void 0);
2473
2467
  }
2474
2468
  }
2475
2469
  const Bt = new De();
2476
- function Sl(e) {
2470
+ function $l(e) {
2477
2471
  const t = Array.isArray(e) ? e : [e];
2478
- return Bt.has(t) || Bt.set(t, new bl(t)), Bt.get(t);
2472
+ return Bt.has(t) || Bt.set(t, new Cl(t)), Bt.get(t);
2479
2473
  }
2480
- var ct = 2, dr = 0.16, xl = 0.05, Cl = 0.05, $l = 0.15, Mi = 5, Ii = 4, wl = [{
2474
+ var ct = 2, dr = 0.16, wl = 0.05, Tl = 0.05, El = 0.15, Ii = 5, Hi = 4, Al = [{
2481
2475
  index: 7,
2482
2476
  opacity: 0.15
2483
2477
  }, {
@@ -2520,7 +2514,7 @@ function ut(e) {
2520
2514
  var t = e.r, n = e.g, r = e.b;
2521
2515
  return "#".concat(on(t, n, r, !1));
2522
2516
  }
2523
- function Tl(e, t, n) {
2517
+ function Pl(e, t, n) {
2524
2518
  var r = n / 100, i = {
2525
2519
  r: (t.r - e.r) * r + e.r,
2526
2520
  g: (t.g - e.g) * r + e.g,
@@ -2536,15 +2530,15 @@ function gr(e, t, n) {
2536
2530
  if (e.h === 0 && e.s === 0)
2537
2531
  return e.s;
2538
2532
  var r;
2539
- return n ? r = e.s - dr * t : t === Ii ? r = e.s + dr : r = e.s + xl * t, r > 1 && (r = 1), n && t === Mi && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Number(r.toFixed(2));
2533
+ return n ? r = e.s - dr * t : t === Hi ? r = e.s + dr : r = e.s + wl * t, r > 1 && (r = 1), n && t === Ii && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Number(r.toFixed(2));
2540
2534
  }
2541
2535
  function mr(e, t, n) {
2542
2536
  var r;
2543
- return n ? r = e.v + Cl * t : r = e.v - $l * t, r > 1 && (r = 1), Number(r.toFixed(2));
2537
+ return n ? r = e.v + Tl * t : r = e.v - El * t, r > 1 && (r = 1), Number(r.toFixed(2));
2544
2538
  }
2545
2539
  function Je(e) {
2546
- for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = Ne(e), i = Mi; i > 0; i -= 1) {
2547
- var o = fr(r), a = ut(Ne({
2540
+ for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = Re(e), i = Ii; i > 0; i -= 1) {
2541
+ var o = fr(r), a = ut(Re({
2548
2542
  h: hr(o, i, !0),
2549
2543
  s: gr(o, i, !0),
2550
2544
  v: mr(o, i, !0)
@@ -2552,16 +2546,16 @@ function Je(e) {
2552
2546
  n.push(a);
2553
2547
  }
2554
2548
  n.push(ut(r));
2555
- for (var l = 1; l <= Ii; l += 1) {
2556
- var s = fr(r), c = ut(Ne({
2549
+ for (var l = 1; l <= Hi; l += 1) {
2550
+ var s = fr(r), c = ut(Re({
2557
2551
  h: hr(s, l),
2558
2552
  s: gr(s, l),
2559
2553
  v: mr(s, l)
2560
2554
  }));
2561
2555
  n.push(c);
2562
2556
  }
2563
- return t.theme === "dark" ? wl.map(function(f) {
2564
- var u = f.index, h = f.opacity, p = ut(Tl(Ne(t.backgroundColor || "#141414"), Ne(n[u]), h * 100));
2557
+ return t.theme === "dark" ? Al.map(function(f) {
2558
+ var u = f.index, h = f.opacity, p = ut(Pl(Re(t.backgroundColor || "#141414"), Re(n[u]), h * 100));
2565
2559
  return p;
2566
2560
  }) : n;
2567
2561
  }
@@ -2586,8 +2580,8 @@ Object.keys(Ft).forEach(function(e) {
2586
2580
  backgroundColor: "#141414"
2587
2581
  }), Dt[e].primary = Dt[e][5];
2588
2582
  });
2589
- var El = vt.blue;
2590
- const Pl = (e) => {
2583
+ var Ol = vt.blue;
2584
+ const Ml = (e) => {
2591
2585
  const {
2592
2586
  controlHeight: t
2593
2587
  } = e;
@@ -2597,7 +2591,7 @@ const Pl = (e) => {
2597
2591
  controlHeightLG: t * 1.25
2598
2592
  };
2599
2593
  };
2600
- function Al(e) {
2594
+ function Il(e) {
2601
2595
  const {
2602
2596
  sizeUnit: t,
2603
2597
  sizeStep: n
@@ -2615,7 +2609,7 @@ function Al(e) {
2615
2609
  // 4
2616
2610
  };
2617
2611
  }
2618
- function Ol(e, t) {
2612
+ function Hl(e, t) {
2619
2613
  let {
2620
2614
  generateColorPalettes: n,
2621
2615
  generateNeutralColorPalettes: r
@@ -2684,7 +2678,7 @@ function Ol(e, t) {
2684
2678
  colorWhite: "#fff"
2685
2679
  });
2686
2680
  }
2687
- const Ml = (e) => {
2681
+ const Rl = (e) => {
2688
2682
  let t = e, n = e, r = e, i = e;
2689
2683
  return e < 6 && e >= 5 ? t = e + 1 : e < 16 && e >= 6 ? t = e + 2 : e >= 16 && (t = 16), e < 7 && e >= 5 ? n = 4 : e < 8 && e >= 7 ? n = 5 : e < 14 && e >= 8 ? n = 6 : e < 16 && e >= 14 ? n = 7 : e >= 16 && (n = 8), e < 6 && e >= 2 ? r = 1 : e >= 6 && (r = 2), e > 4 && e < 8 ? i = 4 : e >= 8 && (i = 6), {
2690
2684
  borderRadius: e > 16 ? 16 : e,
@@ -2694,7 +2688,7 @@ const Ml = (e) => {
2694
2688
  borderRadiusOuter: i
2695
2689
  };
2696
2690
  };
2697
- function Il(e) {
2691
+ function Ll(e) {
2698
2692
  const {
2699
2693
  motionUnit: t,
2700
2694
  motionBase: n,
@@ -2708,9 +2702,9 @@ function Il(e) {
2708
2702
  motionDurationSlow: `${(n + t * 3).toFixed(1)}s`,
2709
2703
  // line
2710
2704
  lineWidthBold: i + 1
2711
- }, Ml(r));
2705
+ }, Rl(r));
2712
2706
  }
2713
- const le = (e, t) => new te(e).setAlpha(t).toRgbString(), Ve = (e, t) => new te(e).darken(t).toHexString(), Hl = (e) => {
2707
+ const le = (e, t) => new te(e).setAlpha(t).toRgbString(), Ve = (e, t) => new te(e).darken(t).toHexString(), Nl = (e) => {
2714
2708
  const t = Je(e);
2715
2709
  return {
2716
2710
  1: t[0],
@@ -2727,7 +2721,7 @@ const le = (e, t) => new te(e).setAlpha(t).toRgbString(), Ve = (e, t) => new te(
2727
2721
  // 9: colors[8],
2728
2722
  // 10: colors[9],
2729
2723
  };
2730
- }, Nl = (e, t) => {
2724
+ }, zl = (e, t) => {
2731
2725
  const n = e || "#fff", r = t || "#000";
2732
2726
  return {
2733
2727
  colorBgBase: n,
@@ -2748,7 +2742,7 @@ const le = (e, t) => new te(e).setAlpha(t).toRgbString(), Ve = (e, t) => new te(
2748
2742
  colorBorderSecondary: Ve(n, 6)
2749
2743
  };
2750
2744
  };
2751
- function Ll(e) {
2745
+ function jl(e) {
2752
2746
  const t = new Array(10).fill(null).map((n, r) => {
2753
2747
  const i = r - 1, o = e * Math.pow(2.71828, i / 5), a = r > 1 ? Math.floor(o) : Math.ceil(o);
2754
2748
  return Math.floor(a / 2) * 2;
@@ -2761,8 +2755,8 @@ function Ll(e) {
2761
2755
  };
2762
2756
  });
2763
2757
  }
2764
- const Rl = (e) => {
2765
- const t = Ll(e), n = t.map((i) => i.size), r = t.map((i) => i.lineHeight);
2758
+ const Bl = (e) => {
2759
+ const t = jl(e), n = t.map((i) => i.size), r = t.map((i) => i.lineHeight);
2766
2760
  return {
2767
2761
  fontSizeSM: n[0],
2768
2762
  fontSize: n[1],
@@ -2783,43 +2777,43 @@ const Rl = (e) => {
2783
2777
  lineHeightHeading5: r[2]
2784
2778
  };
2785
2779
  };
2786
- function zl(e) {
2780
+ function Fl(e) {
2787
2781
  const t = Object.keys(Pi).map((n) => {
2788
2782
  const r = Je(e[n]);
2789
2783
  return new Array(10).fill(1).reduce((i, o, a) => (i[`${n}-${a + 1}`] = r[a], i), {});
2790
2784
  }).reduce((n, r) => (n = L(L({}, n), r), n), {});
2791
- return L(L(L(L(L(L(L({}, e), t), Ol(e, {
2792
- generateColorPalettes: Hl,
2793
- generateNeutralColorPalettes: Nl
2794
- })), Rl(e.fontSize)), Al(e)), Pl(e)), Il(e));
2795
- }
2796
- Sl(zl);
2797
- const jl = {
2798
- token: Ai,
2785
+ return L(L(L(L(L(L(L({}, e), t), Hl(e, {
2786
+ generateColorPalettes: Nl,
2787
+ generateNeutralColorPalettes: zl
2788
+ })), Bl(e.fontSize)), Il(e)), Ml(e)), Ll(e));
2789
+ }
2790
+ $l(Fl);
2791
+ const Dl = {
2792
+ token: Oi,
2799
2793
  hashed: !0
2800
- }, Hi = Symbol("DesignTokenContext"), sn = J(), Bl = (e) => {
2801
- pe(Hi, e), N(e, () => {
2802
- sn.value = P(e), Ee(sn);
2794
+ }, Ri = Symbol("DesignTokenContext"), sn = J(), Xl = (e) => {
2795
+ pe(Ri, e), R(e, () => {
2796
+ sn.value = A(e), Ee(sn);
2803
2797
  }, {
2804
2798
  immediate: !0,
2805
2799
  deep: !0
2806
2800
  });
2807
- }, Fl = () => ie(Hi, g(() => sn.value || jl));
2801
+ }, Wl = () => ie(Ri, g(() => sn.value || Dl));
2808
2802
  I({
2809
2803
  props: {
2810
- value: po()
2804
+ value: bo()
2811
2805
  },
2812
2806
  setup(e, t) {
2813
2807
  let {
2814
2808
  slots: n
2815
2809
  } = t;
2816
- return Bl(g(() => e.value)), () => {
2810
+ return Xl(g(() => e.value)), () => {
2817
2811
  var r;
2818
2812
  return (r = n.default) === null || r === void 0 ? void 0 : r.call(n);
2819
2813
  };
2820
2814
  }
2821
2815
  });
2822
- const Dl = Jo(qr.defaultAlgorithm), Xl = {
2816
+ const kl = ta(Kr.defaultAlgorithm), Vl = {
2823
2817
  screenXS: !0,
2824
2818
  screenXSMin: !0,
2825
2819
  screenXSMax: !0,
@@ -2837,16 +2831,16 @@ const Dl = Jo(qr.defaultAlgorithm), Xl = {
2837
2831
  screenXLMax: !0,
2838
2832
  screenXXL: !0,
2839
2833
  screenXXLMin: !0
2840
- }, Ni = (e, t, n) => {
2834
+ }, Li = (e, t, n) => {
2841
2835
  const r = n.getDerivativeToken(e), { override: i, ...o } = t;
2842
2836
  let a = {
2843
2837
  ...r,
2844
2838
  override: i
2845
2839
  };
2846
- return a = dl(a), o && Object.entries(o).forEach(([l, s]) => {
2840
+ return a = gl(a), o && Object.entries(o).forEach(([l, s]) => {
2847
2841
  const { theme: c, ...f } = s;
2848
2842
  let u = f;
2849
- c && (u = Ni(
2843
+ c && (u = Li(
2850
2844
  {
2851
2845
  ...a,
2852
2846
  ...f
@@ -2858,49 +2852,49 @@ const Dl = Jo(qr.defaultAlgorithm), Xl = {
2858
2852
  )), a[l] = u;
2859
2853
  }), a;
2860
2854
  };
2861
- function Wl() {
2855
+ function Gl() {
2862
2856
  const {
2863
2857
  token: e,
2864
2858
  hashed: t,
2865
2859
  // @ts-expect-error
2866
- theme: n = Dl,
2860
+ theme: n = kl,
2867
2861
  // @ts-expect-error
2868
2862
  override: r,
2869
2863
  // @ts-expect-error
2870
2864
  cssVar: i
2871
- } = P(Fl()), [
2865
+ } = A(Wl()), [
2872
2866
  o,
2873
2867
  a,
2874
2868
  // @ts-expect-error
2875
2869
  l
2876
- ] = P(ha(
2870
+ ] = A(pa(
2877
2871
  z(n),
2878
- z([qr.defaultSeed, e]),
2872
+ z([Kr.defaultSeed, e]),
2879
2873
  z({
2880
- salt: `${fl}-${t || ""}`,
2874
+ salt: `${ml}-${t || ""}`,
2881
2875
  override: r,
2882
- getComputedToken: Ni,
2876
+ getComputedToken: Li,
2883
2877
  cssVar: i && {
2884
2878
  prefix: i.prefix,
2885
2879
  key: i.key,
2886
- unitless: Ja,
2887
- ignore: Qa,
2888
- preserve: Xl
2880
+ unitless: tl,
2881
+ ignore: el,
2882
+ preserve: Vl
2889
2883
  }
2890
2884
  })
2891
2885
  ));
2892
2886
  return [n, l, t ? a : "", o, i];
2893
2887
  }
2894
- const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou } = Za({
2888
+ const { genStyleHooks: Oe, genComponentStyleHook: Ru, genSubStyleComponent: Lu } = _a({
2895
2889
  usePrefix: () => {
2896
2890
  const { getPrefixCls: e, iconPrefixCls: t } = K();
2897
2891
  return {
2898
- iconPrefixCls: P(t),
2892
+ iconPrefixCls: A(t),
2899
2893
  rootPrefixCls: e()
2900
2894
  };
2901
2895
  },
2902
2896
  useToken: () => {
2903
- const [e, t, n, r, i] = Wl();
2897
+ const [e, t, n, r, i] = Gl();
2904
2898
  return { theme: e, realToken: t, hashId: n, token: r, cssVar: i };
2905
2899
  },
2906
2900
  useCSP: () => {
@@ -2911,7 +2905,7 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
2911
2905
  name: "antdx",
2912
2906
  dependencies: ["antd"]
2913
2907
  }
2914
- }), kl = (e) => {
2908
+ }), Ul = (e) => {
2915
2909
  const { componentCls: t, paddingSM: n, padding: r } = e;
2916
2910
  return {
2917
2911
  [t]: {
@@ -2936,7 +2930,7 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
2936
2930
  }
2937
2931
  }
2938
2932
  };
2939
- }, Vl = (e) => {
2933
+ }, ql = (e) => {
2940
2934
  const { componentCls: t, fontSize: n, lineHeight: r, paddingSM: i, padding: o, calc: a } = e, l = a(n).mul(r).div(2).add(i).equal(), s = `${t}-content`;
2941
2935
  return {
2942
2936
  [t]: {
@@ -2959,7 +2953,7 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
2959
2953
  }
2960
2954
  }
2961
2955
  };
2962
- }, Gl = (e) => {
2956
+ }, Kl = (e) => {
2963
2957
  const { componentCls: t, padding: n } = e;
2964
2958
  return {
2965
2959
  [`${t}-list`]: {
@@ -2969,7 +2963,7 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
2969
2963
  overflowY: "auto"
2970
2964
  }
2971
2965
  };
2972
- }, Ul = new Ci("loadingMove", {
2966
+ }, Yl = new $i("loadingMove", {
2973
2967
  "0%": {
2974
2968
  transform: "translateY(0)"
2975
2969
  },
@@ -2985,7 +2979,7 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
2985
2979
  "40%": {
2986
2980
  transform: "translateY(0)"
2987
2981
  }
2988
- }), ql = new Ci("cursorBlink", {
2982
+ }), Zl = new $i("cursorBlink", {
2989
2983
  "0%": {
2990
2984
  opacity: 1
2991
2985
  },
@@ -2995,7 +2989,7 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
2995
2989
  "100%": {
2996
2990
  opacity: 1
2997
2991
  }
2998
- }), Kl = (e) => {
2992
+ }), Ql = (e) => {
2999
2993
  const { componentCls: t, fontSize: n, lineHeight: r, paddingSM: i, colorText: o, calc: a } = e;
3000
2994
  return {
3001
2995
  [t]: {
@@ -3017,7 +3011,7 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
3017
3011
  userSelect: "none",
3018
3012
  opacity: 1,
3019
3013
  marginInlineStart: "0.1em",
3020
- animationName: ql,
3014
+ animationName: Zl,
3021
3015
  animationDuration: "0.8s",
3022
3016
  animationIterationCount: "infinite",
3023
3017
  animationTimingFunction: "linear"
@@ -3071,7 +3065,7 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
3071
3065
  borderRadius: "100%",
3072
3066
  width: 4,
3073
3067
  height: 4,
3074
- animationName: Ul,
3068
+ animationName: Yl,
3075
3069
  animationDuration: "2s",
3076
3070
  animationIterationCount: "infinite",
3077
3071
  animationTimingFunction: "linear",
@@ -3089,40 +3083,40 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
3089
3083
  }
3090
3084
  }
3091
3085
  };
3092
- }, Yl = () => ({}), Li = Oe(
3086
+ }, Jl = () => ({}), Ni = Oe(
3093
3087
  "Bubble",
3094
3088
  (e) => {
3095
3089
  const t = de(e, {});
3096
3090
  return [
3091
+ Ql(t),
3097
3092
  Kl(t),
3098
- Gl(t),
3099
- kl(t),
3100
- Vl(t)
3093
+ Ul(t),
3094
+ ql(t)
3101
3095
  ];
3102
3096
  },
3103
- Yl
3104
- ), Ri = Symbol("BubbleContext"), cn = J(), Zl = (e) => {
3105
- pe(Ri, e), N(
3097
+ Jl
3098
+ ), zi = Symbol("BubbleContext"), cn = J(), _l = (e) => {
3099
+ pe(zi, e), R(
3106
3100
  e,
3107
3101
  () => {
3108
- cn.value = P(e), Ee(cn);
3102
+ cn.value = A(e), Ee(cn);
3109
3103
  },
3110
3104
  { immediate: !0, deep: !0 }
3111
3105
  );
3112
- }, Ql = () => ie(
3113
- Ri,
3106
+ }, es = () => ie(
3107
+ zi,
3114
3108
  g(() => cn.value || {})
3115
- ), Jl = I({
3109
+ ), ts = I({
3116
3110
  props: {
3117
- value: Pe()
3111
+ value: Ae()
3118
3112
  },
3119
3113
  setup(e, { slots: t }) {
3120
- return Zl(g(() => e.value)), () => {
3114
+ return _l(g(() => e.value)), () => {
3121
3115
  var n;
3122
3116
  return (n = t.default) == null ? void 0 : n.call(t);
3123
3117
  };
3124
3118
  }
3125
- }), _l = /* @__PURE__ */ I({
3119
+ }), ns = /* @__PURE__ */ I({
3126
3120
  name: "AXBubble",
3127
3121
  __name: "Bubble",
3128
3122
  props: oe({
@@ -3162,28 +3156,28 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
3162
3156
  expose: t
3163
3157
  }) {
3164
3158
  const n = ue(e, ["prefixCls", "rootClassName", "classNames", "styles", "avatar", "placement", "loading", "loadingRender", "typing", "content", "messageRender", "variant", "shape", "onTypingComplete", "header", "footer"]);
3165
- k(e, "content"), k(e, "prefixCls");
3159
+ V(e, "content"), V(e, "prefixCls");
3166
3160
  const r = z(e.content);
3167
- N(() => e.content, () => {
3161
+ R(() => e.content, () => {
3168
3162
  r.value = e.content;
3169
3163
  });
3170
3164
  const {
3171
3165
  onUpdate: i
3172
- } = P(Ql()), o = z(null), {
3166
+ } = A(es()), o = z(null), {
3173
3167
  direction: a,
3174
3168
  getPrefixCls: l
3175
- } = K(), s = l("bubble", e.prefixCls), c = Ae("bubble"), [f, u, h, p] = Oo(e.typing), [m, v] = Ao(r, f, u, h), b = z(!1);
3176
- N(m, () => {
3169
+ } = K(), s = l("bubble", e.prefixCls), c = Pe("bubble"), [f, u, h, p] = Ho(e.typing), [m, v] = Io(r, f, u, h), b = z(!1);
3170
+ R(m, () => {
3177
3171
  i == null || i();
3178
3172
  }), tt(() => {
3179
3173
  var E;
3180
3174
  !v.value && !e.loading ? b.value || (b.value = !0, (E = e.onTypingComplete) == null || E.call(e)) : b.value = !1;
3181
3175
  });
3182
- const [x, $, S] = Li(() => s), C = g(() => [s, e.rootClassName, c.value.className, $, S, `${s}-${e.placement}`, {
3176
+ const [x, $, S] = Ni(() => s), C = g(() => [s, e.rootClassName, c.value.className, $, S, `${s}-${e.placement}`, {
3183
3177
  [`${s}-rtl`]: a.value === "rtl"
3184
3178
  }, {
3185
3179
  [`${s}-typing`]: v.value && !e.loading && !e.messageRender && !p.value
3186
- }]), T = g(() => yn(e.avatar) ? e.avatar : d(Kr, e.avatar, null)), w = g(() => e.messageRender ? e.messageRender(m.value) : m.value), y = g(() => e.loading ? e.loadingRender ? e.loadingRender() : d(Mo, {
3180
+ }]), T = g(() => yn(e.avatar) ? e.avatar : d(Yr, e.avatar, null)), w = g(() => e.messageRender ? e.messageRender(m.value) : m.value), y = g(() => e.loading ? e.loadingRender ? e.loadingRender() : d(Ro, {
3187
3181
  prefixCls: s
3188
3182
  }, null) : d(ze, null, [w.value, v.value && B(p)])), M = g(() => {
3189
3183
  const E = d("div", {
@@ -3230,10 +3224,10 @@ const { genStyleHooks: Oe, genComponentStyleHook: Au, genSubStyleComponent: Ou }
3230
3224
  }, [B(T)]), B(M)]));
3231
3225
  }
3232
3226
  });
3233
- function es(e) {
3227
+ function rs(e) {
3234
3228
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3235
3229
  }
3236
- var zi = { exports: {} };
3230
+ var ji = { exports: {} };
3237
3231
  /*!
3238
3232
  Copyright (c) 2018 Jed Watson.
3239
3233
  Licensed under the MIT License (MIT), see
@@ -3268,16 +3262,16 @@ var zi = { exports: {} };
3268
3262
  }
3269
3263
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
3270
3264
  })();
3271
- })(zi);
3272
- var ts = zi.exports;
3273
- const O = /* @__PURE__ */ es(ts);
3265
+ })(ji);
3266
+ var is = ji.exports;
3267
+ const O = /* @__PURE__ */ rs(is);
3274
3268
  function Tn(e) {
3275
3269
  const t = z(e), n = z((r) => {
3276
3270
  t.value && t.value(r);
3277
3271
  });
3278
3272
  return t.value = e, n.value;
3279
3273
  }
3280
- const ns = `accept acceptcharset accesskey action allowfullscreen allowtransparency
3274
+ const os = `accept acceptcharset accesskey action allowfullscreen allowtransparency
3281
3275
  alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge
3282
3276
  charset checked classid classname colspan cols content contenteditable contextmenu
3283
3277
  controls coords crossorigin data datetime default defer dir disabled download draggable
@@ -3288,13 +3282,13 @@ mediagroup method min minlength multiple muted name novalidate nonce open
3288
3282
  optimum pattern placeholder poster preload radiogroup readonly rel required
3289
3283
  reversed role rowspan rows sandbox scope scoped scrolling seamless selected
3290
3284
  shape size sizes span spellcheck src srcdoc srclang srcset start step style
3291
- summary tabindex target title type usemap value width wmode wrap`, rs = `onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
3285
+ summary tabindex target title type usemap value width wmode wrap`, as = `onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
3292
3286
  onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick
3293
3287
  onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown
3294
3288
  onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel
3295
3289
  onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough
3296
3290
  onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata
3297
- onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`, pr = `${ns} ${rs}`.split(/[\s\n]+/), is = "aria-", os = "data-";
3291
+ onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`, pr = `${os} ${as}`.split(/[\s\n]+/), ls = "aria-", ss = "data-";
3298
3292
  function vr(e, t) {
3299
3293
  return e.indexOf(t) === 0;
3300
3294
  }
@@ -3312,29 +3306,29 @@ function rt(e, t = !1) {
3312
3306
  const r = {};
3313
3307
  return Object.keys(e).forEach((i) => {
3314
3308
  // Aria
3315
- (n.aria && (i === "role" || vr(i, is)) || // Data
3316
- n.data && vr(i, os) || // Attr
3309
+ (n.aria && (i === "role" || vr(i, ls)) || // Data
3310
+ n.data && vr(i, ss) || // Attr
3317
3311
  n.attr && (pr.includes(i) || pr.includes(i.toLowerCase()))) && (r[i] = e[i]);
3318
3312
  }), r;
3319
3313
  }
3320
- function as(e) {
3321
- const [t, n] = D(e.value.length), r = g(() => e.value.slice(0, P(t))), i = g(() => {
3322
- const a = P(r)[P(r).length - 1];
3314
+ function cs(e) {
3315
+ const [t, n] = D(e.value.length), r = g(() => e.value.slice(0, A(t))), i = g(() => {
3316
+ const a = A(r)[A(r).length - 1];
3323
3317
  return a ? a.key : null;
3324
3318
  });
3325
- N(
3319
+ R(
3326
3320
  e,
3327
3321
  () => {
3328
3322
  var a;
3329
- if (!(P(r).length && P(r).every((l, s) => {
3323
+ if (!(A(r).length && A(r).every((l, s) => {
3330
3324
  var c;
3331
3325
  return l.key === ((c = e.value[s]) == null ? void 0 : c.key);
3332
3326
  }))) {
3333
- if (P(r).length === 0)
3327
+ if (A(r).length === 0)
3334
3328
  n(1);
3335
3329
  else
3336
- for (let l = 0; l < P(r).length; l += 1)
3337
- if (P(r)[l].key !== ((a = e.value[l]) == null ? void 0 : a.key)) {
3330
+ for (let l = 0; l < A(r).length; l += 1)
3331
+ if (A(r)[l].key !== ((a = e.value[l]) == null ? void 0 : a.key)) {
3338
3332
  n(l);
3339
3333
  break;
3340
3334
  }
@@ -3343,11 +3337,11 @@ function as(e) {
3343
3337
  { immediate: !0, deep: !0 }
3344
3338
  );
3345
3339
  const o = Tn((a) => {
3346
- a === P(i) && n(P(t) + 1);
3340
+ a === A(i) && n(A(t) + 1);
3347
3341
  });
3348
3342
  return [r, o];
3349
3343
  }
3350
- function ls(e, t) {
3344
+ function us(e, t) {
3351
3345
  const n = (i) => typeof t == "function" ? t(i) : t ? t[i.role] || {} : {};
3352
3346
  return g(() => (e.value || []).map((i, o) => {
3353
3347
  const a = i.key ?? `preset_${o}`;
@@ -3358,7 +3352,7 @@ function ls(e, t) {
3358
3352
  };
3359
3353
  }));
3360
3354
  }
3361
- const ss = 1, Mu = /* @__PURE__ */ I({
3355
+ const ds = 1, Nu = /* @__PURE__ */ I({
3362
3356
  name: "AXBubbleList",
3363
3357
  inheritAttrs: !1,
3364
3358
  __name: "BubbleList",
@@ -3379,50 +3373,50 @@ const ss = 1, Mu = /* @__PURE__ */ I({
3379
3373
  expose: t
3380
3374
  }) {
3381
3375
  const n = ue(e, ["prefixCls", "rootClassName", "items", "autoScroll", "roles"]);
3382
- k(e, "items"), k(e, "prefixCls");
3376
+ V(e, "items"), V(e, "prefixCls");
3383
3377
  const r = rt(n, {
3384
3378
  attr: !0,
3385
3379
  aria: !0
3386
3380
  }), i = z(e.items);
3387
- N(() => e.items, () => {
3381
+ R(() => e.items, () => {
3388
3382
  i.value = e.items;
3389
3383
  });
3390
3384
  const o = z(null), a = z({}), {
3391
3385
  getPrefixCls: l
3392
- } = K(), s = l("bubble", e.prefixCls), c = `${s}-list`, [f, u, h] = Li(s), [p, m] = D(!1);
3386
+ } = K(), s = l("bubble", e.prefixCls), c = `${s}-list`, [f, u, h] = Ni(s), [p, m] = D(!1);
3393
3387
  tt(() => {
3394
3388
  m(!0), et(() => {
3395
3389
  m(!1);
3396
3390
  });
3397
3391
  });
3398
- const v = ls(i, e.roles), [b, x] = as(v), [$, S] = D(!0), [C, T] = D(0), w = (E) => {
3399
- const A = E.target;
3400
- S(A.scrollHeight - Math.abs(A.scrollTop) - A.clientHeight <= ss);
3392
+ const v = us(i, e.roles), [b, x] = cs(v), [$, S] = D(!0), [C, T] = D(0), w = (E) => {
3393
+ const P = E.target;
3394
+ S(P.scrollHeight - Math.abs(P.scrollTop) - P.clientHeight <= ds);
3401
3395
  };
3402
- N(C, () => {
3403
- e.autoScroll && P(o) && P($) && P(o).scrollTo({
3404
- top: P(o).scrollHeight
3396
+ R(C, () => {
3397
+ e.autoScroll && A(o) && A($) && A(o).scrollTo({
3398
+ top: A(o).scrollHeight
3405
3399
  });
3406
- }), N(() => P(b).length, () => {
3400
+ }), R(() => A(b).length, () => {
3407
3401
  var E;
3408
3402
  if (e.autoScroll) {
3409
- const A = (E = P(b)[P(b).length - 2]) == null ? void 0 : E.key, H = P(a)[A];
3403
+ const P = (E = A(b)[A(b).length - 2]) == null ? void 0 : E.key, H = A(a)[P];
3410
3404
  if (H) {
3411
3405
  const {
3412
3406
  nativeElement: fe
3413
3407
  } = H, {
3414
- top: R,
3408
+ top: N,
3415
3409
  bottom: j
3416
3410
  } = fe.getBoundingClientRect(), {
3417
3411
  top: U,
3418
3412
  bottom: ye
3419
- } = P(o).getBoundingClientRect();
3420
- R < ye && j > U && (T(P(C) + 1), S(!0));
3413
+ } = A(o).getBoundingClientRect();
3414
+ N < ye && j > U && (T(A(C) + 1), S(!0));
3421
3415
  }
3422
3416
  }
3423
3417
  });
3424
3418
  const y = Tn(() => {
3425
- e.autoScroll && T(P(C) + 1);
3419
+ e.autoScroll && T(A(C) + 1);
3426
3420
  }), M = g(() => ({
3427
3421
  onUpdate: y
3428
3422
  }));
@@ -3430,27 +3424,27 @@ const ss = 1, Mu = /* @__PURE__ */ I({
3430
3424
  nativeElement: o,
3431
3425
  scrollTo: ({
3432
3426
  key: E,
3433
- offset: A,
3427
+ offset: P,
3434
3428
  behavior: H = "smooth",
3435
3429
  block: fe
3436
3430
  }) => {
3437
- if (typeof A == "number")
3438
- P(o).scrollTo({
3439
- top: A,
3431
+ if (typeof P == "number")
3432
+ A(o).scrollTo({
3433
+ top: P,
3440
3434
  behavior: H
3441
3435
  });
3442
3436
  else if (E !== void 0) {
3443
- const R = P(a)[E];
3444
- if (R) {
3445
- const j = P(b).findIndex((U) => U.key === E);
3446
- S(j === P(b).length - 1), R.nativeElement.scrollIntoView({
3437
+ const N = A(a)[E];
3438
+ if (N) {
3439
+ const j = A(b).findIndex((U) => U.key === E);
3440
+ S(j === A(b).length - 1), N.nativeElement.scrollIntoView({
3447
3441
  behavior: H,
3448
3442
  block: fe
3449
3443
  });
3450
3444
  }
3451
3445
  }
3452
3446
  }
3453
- }), () => f(d(Jl, {
3447
+ }), () => f(d(ts, {
3454
3448
  value: M.value
3455
3449
  }, {
3456
3450
  default: () => [d("div", _(r, {
@@ -3459,25 +3453,25 @@ const ss = 1, Mu = /* @__PURE__ */ I({
3459
3453
  }),
3460
3454
  ref: o,
3461
3455
  onScroll: w
3462
- }), [P(b).map(({
3456
+ }), [A(b).map(({
3463
3457
  key: E,
3464
- ...A
3465
- }) => d(_l, _(A, {
3458
+ ...P
3459
+ }) => d(ns, _(P, {
3466
3460
  key: E,
3467
3461
  ref: (H) => {
3468
3462
  H ? a.value[E] = H : delete a.value[E];
3469
3463
  },
3470
- typing: p.value ? A.typing : !1,
3464
+ typing: p.value ? P.typing : !1,
3471
3465
  onTypingComplete: () => {
3472
3466
  var H;
3473
- (H = A.onTypingComplete) == null || H.call(A), x(E);
3467
+ (H = P.onTypingComplete) == null || H.call(P), x(E);
3474
3468
  }
3475
3469
  }), null))])]
3476
3470
  }));
3477
3471
  }
3478
3472
  });
3479
- var cs = Symbol("iconContext"), ji = function() {
3480
- return ie(cs, {
3473
+ var fs = Symbol("iconContext"), Bi = function() {
3474
+ return ie(fs, {
3481
3475
  prefixCls: z("anticon"),
3482
3476
  rootClassName: z(""),
3483
3477
  csp: z()
@@ -3486,38 +3480,38 @@ var cs = Symbol("iconContext"), ji = function() {
3486
3480
  function En() {
3487
3481
  return !!(typeof window < "u" && window.document && window.document.createElement);
3488
3482
  }
3489
- function us(e, t) {
3483
+ function hs(e, t) {
3490
3484
  return e && e.contains ? e.contains(t) : !1;
3491
3485
  }
3492
- var yr = "data-vc-order", ds = "vc-icon-key", un = /* @__PURE__ */ new Map();
3493
- function Bi() {
3486
+ var yr = "data-vc-order", gs = "vc-icon-key", un = /* @__PURE__ */ new Map();
3487
+ function Fi() {
3494
3488
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.mark;
3495
- return t ? t.startsWith("data-") ? t : "data-".concat(t) : ds;
3489
+ return t ? t.startsWith("data-") ? t : "data-".concat(t) : gs;
3496
3490
  }
3497
- function Pn(e) {
3491
+ function An(e) {
3498
3492
  if (e.attachTo)
3499
3493
  return e.attachTo;
3500
3494
  var t = document.querySelector("head");
3501
3495
  return t || document.body;
3502
3496
  }
3503
- function fs(e) {
3497
+ function ms(e) {
3504
3498
  return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
3505
3499
  }
3506
- function Fi(e) {
3500
+ function Di(e) {
3507
3501
  return Array.from((un.get(e) || e).children).filter(function(t) {
3508
3502
  return t.tagName === "STYLE";
3509
3503
  });
3510
3504
  }
3511
- function Di(e) {
3505
+ function Xi(e) {
3512
3506
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3513
3507
  if (!En())
3514
3508
  return null;
3515
3509
  var n = t.csp, r = t.prepend, i = document.createElement("style");
3516
- i.setAttribute(yr, fs(r)), n && n.nonce && (i.nonce = n.nonce), i.innerHTML = e;
3517
- var o = Pn(t), a = o.firstChild;
3510
+ i.setAttribute(yr, ms(r)), n && n.nonce && (i.nonce = n.nonce), i.innerHTML = e;
3511
+ var o = An(t), a = o.firstChild;
3518
3512
  if (r) {
3519
3513
  if (r === "queue") {
3520
- var l = Fi(o).filter(function(s) {
3514
+ var l = Di(o).filter(function(s) {
3521
3515
  return ["prepend", "prependQueue"].includes(s.getAttribute(yr));
3522
3516
  });
3523
3517
  if (l.length)
@@ -3528,27 +3522,27 @@ function Di(e) {
3528
3522
  o.appendChild(i);
3529
3523
  return i;
3530
3524
  }
3531
- function hs(e) {
3532
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = Pn(t);
3533
- return Fi(n).find(function(r) {
3534
- return r.getAttribute(Bi(t)) === e;
3525
+ function ps(e) {
3526
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = An(t);
3527
+ return Di(n).find(function(r) {
3528
+ return r.getAttribute(Fi(t)) === e;
3535
3529
  });
3536
3530
  }
3537
- function gs(e, t) {
3531
+ function vs(e, t) {
3538
3532
  var n = un.get(e);
3539
- if (!n || !us(document, n)) {
3540
- var r = Di("", t), i = r.parentNode;
3533
+ if (!n || !hs(document, n)) {
3534
+ var r = Xi("", t), i = r.parentNode;
3541
3535
  un.set(e, i), e.removeChild(r);
3542
3536
  }
3543
3537
  }
3544
- function ms(e, t) {
3545
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = Pn(n);
3546
- gs(r, n);
3547
- var i = hs(t, n);
3538
+ function ys(e, t) {
3539
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = An(n);
3540
+ vs(r, n);
3541
+ var i = ps(t, n);
3548
3542
  if (i)
3549
3543
  return n.csp && n.csp.nonce && i.nonce !== n.csp.nonce && (i.nonce = n.csp.nonce), i.innerHTML !== e && (i.innerHTML = e), i;
3550
- var o = Di(e, n);
3551
- return o.setAttribute(Bi(n), t), o;
3544
+ var o = Xi(e, n);
3545
+ return o.setAttribute(Fi(n), t), o;
3552
3546
  }
3553
3547
  function br(e) {
3554
3548
  for (var t = 1; t < arguments.length; t++) {
@@ -3556,19 +3550,19 @@ function br(e) {
3556
3550
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
3557
3551
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
3558
3552
  }))), r.forEach(function(i) {
3559
- ps(e, i, n[i]);
3553
+ bs(e, i, n[i]);
3560
3554
  });
3561
3555
  }
3562
3556
  return e;
3563
3557
  }
3564
- function ps(e, t, n) {
3558
+ function bs(e, t, n) {
3565
3559
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
3566
3560
  }
3567
- function vs(e, t) {
3561
+ function Ss(e, t) {
3568
3562
  process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error("Warning: ".concat(t));
3569
3563
  }
3570
- function ys(e, t) {
3571
- vs(e, "[@ant-design/icons-vue] ".concat(t));
3564
+ function xs(e, t) {
3565
+ Ss(e, "[@ant-design/icons-vue] ".concat(t));
3572
3566
  }
3573
3567
  function Sr(e) {
3574
3568
  return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
@@ -3584,13 +3578,13 @@ function dn(e, t, n) {
3584
3578
  return dn(r, "".concat(t, "-").concat(e.tag, "-").concat(i));
3585
3579
  }));
3586
3580
  }
3587
- function Xi(e) {
3581
+ function Wi(e) {
3588
3582
  return Je(e)[0];
3589
3583
  }
3590
- function Wi(e) {
3584
+ function ki(e) {
3591
3585
  return e ? Array.isArray(e) ? e : [e] : [];
3592
3586
  }
3593
- var bs = `
3587
+ var Cs = `
3594
3588
  .anticon {
3595
3589
  display: inline-block;
3596
3590
  color: inherit;
@@ -3645,31 +3639,31 @@ var bs = `
3645
3639
  }
3646
3640
  }
3647
3641
  `;
3648
- function ki(e) {
3642
+ function Vi(e) {
3649
3643
  return e && e.getRootNode && e.getRootNode();
3650
3644
  }
3651
- function Ss(e) {
3652
- return En() ? ki(e) instanceof ShadowRoot : !1;
3645
+ function $s(e) {
3646
+ return En() ? Vi(e) instanceof ShadowRoot : !1;
3653
3647
  }
3654
- function xs(e) {
3655
- return Ss(e) ? ki(e) : null;
3648
+ function ws(e) {
3649
+ return $s(e) ? Vi(e) : null;
3656
3650
  }
3657
- var Cs = function() {
3658
- var t = ji(), n = t.prefixCls, r = t.csp, i = Vr(), o = bs;
3659
- n && (o = o.replace(/anticon/g, n.value)), io(function() {
3651
+ var Ts = function() {
3652
+ var t = Bi(), n = t.prefixCls, r = t.csp, i = Gr(), o = Cs;
3653
+ n && (o = o.replace(/anticon/g, n.value)), oo(function() {
3660
3654
  if (En()) {
3661
- var a = i.vnode.el, l = xs(a);
3662
- ms(o, "@ant-design-vue-icons", {
3655
+ var a = i.vnode.el, l = ws(a);
3656
+ ys(o, "@ant-design-vue-icons", {
3663
3657
  prepend: !0,
3664
3658
  csp: r.value,
3665
3659
  attachTo: l
3666
3660
  });
3667
3661
  }
3668
3662
  });
3669
- }, $s = ["icon", "primaryColor", "secondaryColor"];
3670
- function ws(e, t) {
3663
+ }, Es = ["icon", "primaryColor", "secondaryColor"];
3664
+ function As(e, t) {
3671
3665
  if (e == null) return {};
3672
- var n = Ts(e, t), r, i;
3666
+ var n = Ps(e, t), r, i;
3673
3667
  if (Object.getOwnPropertySymbols) {
3674
3668
  var o = Object.getOwnPropertySymbols(e);
3675
3669
  for (i = 0; i < o.length; i++)
@@ -3677,7 +3671,7 @@ function ws(e, t) {
3677
3671
  }
3678
3672
  return n;
3679
3673
  }
3680
- function Ts(e, t) {
3674
+ function Ps(e, t) {
3681
3675
  if (e == null) return {};
3682
3676
  var n = {}, r = Object.keys(e), i, o;
3683
3677
  for (o = 0; o < r.length; o++)
@@ -3690,32 +3684,32 @@ function yt(e) {
3690
3684
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
3691
3685
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
3692
3686
  }))), r.forEach(function(i) {
3693
- Es(e, i, n[i]);
3687
+ Os(e, i, n[i]);
3694
3688
  });
3695
3689
  }
3696
3690
  return e;
3697
3691
  }
3698
- function Es(e, t, n) {
3692
+ function Os(e, t, n) {
3699
3693
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
3700
3694
  }
3701
- var Ke = oo({
3695
+ var Ke = ao({
3702
3696
  primaryColor: "#333",
3703
3697
  secondaryColor: "#E6E6E6",
3704
3698
  calculated: !1
3705
3699
  });
3706
- function Ps(e) {
3700
+ function Ms(e) {
3707
3701
  var t = e.primaryColor, n = e.secondaryColor;
3708
- Ke.primaryColor = t, Ke.secondaryColor = n || Xi(t), Ke.calculated = !!n;
3702
+ Ke.primaryColor = t, Ke.secondaryColor = n || Wi(t), Ke.calculated = !!n;
3709
3703
  }
3710
- function As() {
3704
+ function Is() {
3711
3705
  return yt({}, Ke);
3712
3706
  }
3713
3707
  var ve = function(t, n) {
3714
- var r = yt({}, t, n.attrs), i = r.icon, o = r.primaryColor, a = r.secondaryColor, l = ws(r, $s), s = Ke;
3708
+ var r = yt({}, t, n.attrs), i = r.icon, o = r.primaryColor, a = r.secondaryColor, l = As(r, Es), s = Ke;
3715
3709
  if (o && (s = {
3716
3710
  primaryColor: o,
3717
- secondaryColor: a || Xi(o)
3718
- }), ys(Sr(i), "icon should be icon definiton, but got ".concat(i)), !Sr(i))
3711
+ secondaryColor: a || Wi(o)
3712
+ }), xs(Sr(i), "icon should be icon definiton, but got ".concat(i)), !Sr(i))
3719
3713
  return null;
3720
3714
  var c = i;
3721
3715
  return c && typeof c.icon == "function" && (c = yt({}, c, {
@@ -3736,16 +3730,16 @@ ve.props = {
3736
3730
  };
3737
3731
  ve.inheritAttrs = !1;
3738
3732
  ve.displayName = "IconBase";
3739
- ve.getTwoToneColors = As;
3740
- ve.setTwoToneColors = Ps;
3741
- function Os(e, t) {
3742
- return Ns(e) || Hs(e, t) || Is(e, t) || Ms();
3733
+ ve.getTwoToneColors = Is;
3734
+ ve.setTwoToneColors = Ms;
3735
+ function Hs(e, t) {
3736
+ return zs(e) || Ns(e, t) || Ls(e, t) || Rs();
3743
3737
  }
3744
- function Ms() {
3738
+ function Rs() {
3745
3739
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3746
3740
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3747
3741
  }
3748
- function Is(e, t) {
3742
+ function Ls(e, t) {
3749
3743
  if (e) {
3750
3744
  if (typeof e == "string") return xr(e, t);
3751
3745
  var n = Object.prototype.toString.call(e).slice(8, -1);
@@ -3759,7 +3753,7 @@ function xr(e, t) {
3759
3753
  r[n] = e[n];
3760
3754
  return r;
3761
3755
  }
3762
- function Hs(e, t) {
3756
+ function Ns(e, t) {
3763
3757
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
3764
3758
  if (n != null) {
3765
3759
  var r = [], i = !0, o = !1, a, l;
@@ -3778,36 +3772,36 @@ function Hs(e, t) {
3778
3772
  return r;
3779
3773
  }
3780
3774
  }
3781
- function Ns(e) {
3775
+ function zs(e) {
3782
3776
  if (Array.isArray(e)) return e;
3783
3777
  }
3784
- function Vi(e) {
3785
- var t = Wi(e), n = Os(t, 2), r = n[0], i = n[1];
3778
+ function Gi(e) {
3779
+ var t = ki(e), n = Hs(t, 2), r = n[0], i = n[1];
3786
3780
  return ve.setTwoToneColors({
3787
3781
  primaryColor: r,
3788
3782
  secondaryColor: i
3789
3783
  });
3790
3784
  }
3791
- function Ls() {
3785
+ function js() {
3792
3786
  var e = ve.getTwoToneColors();
3793
3787
  return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
3794
3788
  }
3795
- var Rs = I({
3789
+ var Bs = I({
3796
3790
  name: "InsertStyles",
3797
3791
  setup: function() {
3798
- return Cs(), function() {
3792
+ return Ts(), function() {
3799
3793
  return null;
3800
3794
  };
3801
3795
  }
3802
- }), zs = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
3803
- function js(e, t) {
3804
- return Xs(e) || Ds(e, t) || Fs(e, t) || Bs();
3796
+ }), Fs = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
3797
+ function Ds(e, t) {
3798
+ return Vs(e) || ks(e, t) || Ws(e, t) || Xs();
3805
3799
  }
3806
- function Bs() {
3800
+ function Xs() {
3807
3801
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3808
3802
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3809
3803
  }
3810
- function Fs(e, t) {
3804
+ function Ws(e, t) {
3811
3805
  if (e) {
3812
3806
  if (typeof e == "string") return Cr(e, t);
3813
3807
  var n = Object.prototype.toString.call(e).slice(8, -1);
@@ -3821,7 +3815,7 @@ function Cr(e, t) {
3821
3815
  r[n] = e[n];
3822
3816
  return r;
3823
3817
  }
3824
- function Ds(e, t) {
3818
+ function ks(e, t) {
3825
3819
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
3826
3820
  if (n != null) {
3827
3821
  var r = [], i = !0, o = !1, a, l;
@@ -3840,7 +3834,7 @@ function Ds(e, t) {
3840
3834
  return r;
3841
3835
  }
3842
3836
  }
3843
- function Xs(e) {
3837
+ function Vs(e) {
3844
3838
  if (Array.isArray(e)) return e;
3845
3839
  }
3846
3840
  function $r(e) {
@@ -3857,9 +3851,9 @@ function $r(e) {
3857
3851
  function Ue(e, t, n) {
3858
3852
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
3859
3853
  }
3860
- function Ws(e, t) {
3854
+ function Gs(e, t) {
3861
3855
  if (e == null) return {};
3862
- var n = ks(e, t), r, i;
3856
+ var n = Us(e, t), r, i;
3863
3857
  if (Object.getOwnPropertySymbols) {
3864
3858
  var o = Object.getOwnPropertySymbols(e);
3865
3859
  for (i = 0; i < o.length; i++)
@@ -3867,21 +3861,21 @@ function Ws(e, t) {
3867
3861
  }
3868
3862
  return n;
3869
3863
  }
3870
- function ks(e, t) {
3864
+ function Us(e, t) {
3871
3865
  if (e == null) return {};
3872
3866
  var n = {}, r = Object.keys(e), i, o;
3873
3867
  for (o = 0; o < r.length; o++)
3874
3868
  i = r[o], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
3875
3869
  return n;
3876
3870
  }
3877
- Vi(El.primary);
3871
+ Gi(Ol.primary);
3878
3872
  var W = function(t, n) {
3879
- var r, i = $r({}, t, n.attrs), o = i.class, a = i.icon, l = i.spin, s = i.rotate, c = i.tabindex, f = i.twoToneColor, u = i.onClick, h = Ws(i, zs), p = ji(), m = p.prefixCls, v = p.rootClassName, b = (r = {}, Ue(r, v.value, !!v.value), Ue(r, m.value, !0), Ue(r, "".concat(m.value, "-").concat(a.name), !!a.name), Ue(r, "".concat(m.value, "-spin"), !!l || a.name === "loading"), r), x = c;
3873
+ var r, i = $r({}, t, n.attrs), o = i.class, a = i.icon, l = i.spin, s = i.rotate, c = i.tabindex, f = i.twoToneColor, u = i.onClick, h = Gs(i, Fs), p = Bi(), m = p.prefixCls, v = p.rootClassName, b = (r = {}, Ue(r, v.value, !!v.value), Ue(r, m.value, !0), Ue(r, "".concat(m.value, "-").concat(a.name), !!a.name), Ue(r, "".concat(m.value, "-spin"), !!l || a.name === "loading"), r), x = c;
3880
3874
  x === void 0 && u && (x = -1);
3881
3875
  var $ = s ? {
3882
3876
  msTransform: "rotate(".concat(s, "deg)"),
3883
3877
  transform: "rotate(".concat(s, "deg)")
3884
- } : void 0, S = Wi(f), C = js(S, 2), T = C[0], w = C[1];
3878
+ } : void 0, S = ki(f), C = Ds(S, 2), T = C[0], w = C[1];
3885
3879
  return d("span", $r({
3886
3880
  role: "img",
3887
3881
  "aria-label": a.name
@@ -3894,7 +3888,7 @@ var W = function(t, n) {
3894
3888
  primaryColor: T,
3895
3889
  secondaryColor: w,
3896
3890
  style: $
3897
- }, null), d(Rs, null, null)]);
3891
+ }, null), d(Bs, null, null)]);
3898
3892
  };
3899
3893
  W.props = {
3900
3894
  spin: Boolean,
@@ -3904,308 +3898,308 @@ W.props = {
3904
3898
  };
3905
3899
  W.displayName = "AntdIcon";
3906
3900
  W.inheritAttrs = !1;
3907
- W.getTwoToneColor = Ls;
3908
- W.setTwoToneColor = Vi;
3909
- var Vs = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, name: "close-circle", theme: "filled" };
3901
+ W.getTwoToneColor = js;
3902
+ W.setTwoToneColor = Gi;
3903
+ var qs = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, name: "close-circle", theme: "filled" };
3910
3904
  function wr(e) {
3911
3905
  for (var t = 1; t < arguments.length; t++) {
3912
3906
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
3913
3907
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
3914
3908
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
3915
3909
  }))), r.forEach(function(i) {
3916
- Gs(e, i, n[i]);
3910
+ Ks(e, i, n[i]);
3917
3911
  });
3918
3912
  }
3919
3913
  return e;
3920
3914
  }
3921
- function Gs(e, t, n) {
3915
+ function Ks(e, t, n) {
3922
3916
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
3923
3917
  }
3924
- var An = function(t, n) {
3918
+ var Pn = function(t, n) {
3925
3919
  var r = wr({}, t, n.attrs);
3926
3920
  return d(W, wr({}, r, {
3927
- icon: Vs
3921
+ icon: qs
3928
3922
  }), null);
3929
3923
  };
3930
- An.displayName = "CloseCircleFilled";
3931
- An.inheritAttrs = !1;
3932
- var Us = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "ellipsis", theme: "outlined" };
3924
+ Pn.displayName = "CloseCircleFilled";
3925
+ Pn.inheritAttrs = !1;
3926
+ var Ys = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "ellipsis", theme: "outlined" };
3933
3927
  function Tr(e) {
3934
3928
  for (var t = 1; t < arguments.length; t++) {
3935
3929
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
3936
3930
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
3937
3931
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
3938
3932
  }))), r.forEach(function(i) {
3939
- qs(e, i, n[i]);
3933
+ Zs(e, i, n[i]);
3940
3934
  });
3941
3935
  }
3942
3936
  return e;
3943
3937
  }
3944
- function qs(e, t, n) {
3938
+ function Zs(e, t, n) {
3945
3939
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
3946
3940
  }
3947
3941
  var On = function(t, n) {
3948
3942
  var r = Tr({}, t, n.attrs);
3949
3943
  return d(W, Tr({}, r, {
3950
- icon: Us
3944
+ icon: Ys
3951
3945
  }), null);
3952
3946
  };
3953
3947
  On.displayName = "EllipsisOutlined";
3954
3948
  On.inheritAttrs = !1;
3955
- var Ks = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z" } }] }, name: "file-excel", theme: "filled" };
3949
+ var Qs = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z" } }] }, name: "file-excel", theme: "filled" };
3956
3950
  function Er(e) {
3957
3951
  for (var t = 1; t < arguments.length; t++) {
3958
3952
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
3959
3953
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
3960
3954
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
3961
3955
  }))), r.forEach(function(i) {
3962
- Ys(e, i, n[i]);
3956
+ Js(e, i, n[i]);
3963
3957
  });
3964
3958
  }
3965
3959
  return e;
3966
3960
  }
3967
- function Ys(e, t, n) {
3961
+ function Js(e, t, n) {
3968
3962
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
3969
3963
  }
3970
3964
  var Mn = function(t, n) {
3971
3965
  var r = Er({}, t, n.attrs);
3972
3966
  return d(W, Er({}, r, {
3973
- icon: Ks
3967
+ icon: Qs
3974
3968
  }), null);
3975
3969
  };
3976
3970
  Mn.displayName = "FileExcelFilled";
3977
3971
  Mn.inheritAttrs = !1;
3978
- var Zs = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8 8 0 0112.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z" } }] }, name: "file-image", theme: "filled" };
3979
- function Pr(e) {
3972
+ var _s = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7L639.4 73.4c-6-6-14.2-9.4-22.7-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.6-9.4-22.6zM400 402c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm296 294H328c-6.7 0-10.4-7.7-6.3-12.9l99.8-127.2a8 8 0 0112.6 0l41.1 52.4 77.8-99.2a8 8 0 0112.6 0l136.5 174c4.3 5.2.5 12.9-6.1 12.9zm-94-370V137.8L790.2 326H602z" } }] }, name: "file-image", theme: "filled" };
3973
+ function Ar(e) {
3980
3974
  for (var t = 1; t < arguments.length; t++) {
3981
3975
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
3982
3976
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
3983
3977
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
3984
3978
  }))), r.forEach(function(i) {
3985
- Qs(e, i, n[i]);
3979
+ ec(e, i, n[i]);
3986
3980
  });
3987
3981
  }
3988
3982
  return e;
3989
3983
  }
3990
- function Qs(e, t, n) {
3984
+ function ec(e, t, n) {
3991
3985
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
3992
3986
  }
3993
3987
  var In = function(t, n) {
3994
- var r = Pr({}, t, n.attrs);
3995
- return d(W, Pr({}, r, {
3996
- icon: Zs
3988
+ var r = Ar({}, t, n.attrs);
3989
+ return d(W, Ar({}, r, {
3990
+ icon: _s
3997
3991
  }), null);
3998
3992
  };
3999
3993
  In.displayName = "FileImageFilled";
4000
3994
  In.inheritAttrs = !1;
4001
- var Js = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.97a16 16 0 0014.62 9.5h24.06a16 16 0 0014.63-9.51l59.1-133.35V758a16 16 0 0016.01 16H641a16 16 0 0016-16V486a16 16 0 00-16-16h-34.75a16 16 0 00-14.67 9.62L512.1 662.2l-79.48-182.59a16 16 0 00-14.67-9.61H383a16 16 0 00-16 16v272a16 16 0 0016 16h27.13a16 16 0 0016-16V600.93z" } }] }, name: "file-markdown", theme: "filled" };
4002
- function Ar(e) {
3995
+ var tc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.97a16 16 0 0014.62 9.5h24.06a16 16 0 0014.63-9.51l59.1-133.35V758a16 16 0 0016.01 16H641a16 16 0 0016-16V486a16 16 0 00-16-16h-34.75a16 16 0 00-14.67 9.62L512.1 662.2l-79.48-182.59a16 16 0 00-14.67-9.61H383a16 16 0 00-16 16v272a16 16 0 0016 16h27.13a16 16 0 0016-16V600.93z" } }] }, name: "file-markdown", theme: "filled" };
3996
+ function Pr(e) {
4003
3997
  for (var t = 1; t < arguments.length; t++) {
4004
3998
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
4005
3999
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
4006
4000
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
4007
4001
  }))), r.forEach(function(i) {
4008
- _s(e, i, n[i]);
4002
+ nc(e, i, n[i]);
4009
4003
  });
4010
4004
  }
4011
4005
  return e;
4012
4006
  }
4013
- function _s(e, t, n) {
4007
+ function nc(e, t, n) {
4014
4008
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4015
4009
  }
4016
4010
  var Hn = function(t, n) {
4017
- var r = Ar({}, t, n.attrs);
4018
- return d(W, Ar({}, r, {
4019
- icon: Js
4011
+ var r = Pr({}, t, n.attrs);
4012
+ return d(W, Pr({}, r, {
4013
+ icon: tc
4020
4014
  }), null);
4021
4015
  };
4022
4016
  Hn.displayName = "FileMarkdownFilled";
4023
4017
  Hn.inheritAttrs = !1;
4024
- var ec = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 015.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 01-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 01-1.12-.15 2.07 2.07 0 01-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 01-1.36 6.31 6.7 6.7 0 01-2.17 1.28z" } }] }, name: "file-pdf", theme: "filled" };
4018
+ var rc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM633.22 637.26c-15.18-.5-31.32.67-49.65 2.96-24.3-14.99-40.66-35.58-52.28-65.83l1.07-4.38 1.24-5.18c4.3-18.13 6.61-31.36 7.3-44.7.52-10.07-.04-19.36-1.83-27.97-3.3-18.59-16.45-29.46-33.02-30.13-15.45-.63-29.65 8-33.28 21.37-5.91 21.62-2.45 50.07 10.08 98.59-15.96 38.05-37.05 82.66-51.2 107.54-18.89 9.74-33.6 18.6-45.96 28.42-16.3 12.97-26.48 26.3-29.28 40.3-1.36 6.49.69 14.97 5.36 21.92 5.3 7.88 13.28 13 22.85 13.74 24.15 1.87 53.83-23.03 86.6-79.26 3.29-1.1 6.77-2.26 11.02-3.7l11.9-4.02c7.53-2.54 12.99-4.36 18.39-6.11 23.4-7.62 41.1-12.43 57.2-15.17 27.98 14.98 60.32 24.8 82.1 24.8 17.98 0 30.13-9.32 34.52-23.99 3.85-12.88.8-27.82-7.48-36.08-8.56-8.41-24.3-12.43-45.65-13.12zM385.23 765.68v-.36l.13-.34a54.86 54.86 0 015.6-10.76c4.28-6.58 10.17-13.5 17.47-20.87 3.92-3.95 8-7.8 12.79-12.12 1.07-.96 7.91-7.05 9.19-8.25l11.17-10.4-8.12 12.93c-12.32 19.64-23.46 33.78-33 43-3.51 3.4-6.6 5.9-9.1 7.51a16.43 16.43 0 01-2.61 1.42c-.41.17-.77.27-1.13.3a2.2 2.2 0 01-1.12-.15 2.07 2.07 0 01-1.27-1.91zM511.17 547.4l-2.26 4-1.4-4.38c-3.1-9.83-5.38-24.64-6.01-38-.72-15.2.49-24.32 5.29-24.32 6.74 0 9.83 10.8 10.07 27.05.22 14.28-2.03 29.14-5.7 35.65zm-5.81 58.46l1.53-4.05 2.09 3.8c11.69 21.24 26.86 38.96 43.54 51.31l3.6 2.66-4.39.9c-16.33 3.38-31.54 8.46-52.34 16.85 2.17-.88-21.62 8.86-27.64 11.17l-5.25 2.01 2.8-4.88c12.35-21.5 23.76-47.32 36.05-79.77zm157.62 76.26c-7.86 3.1-24.78.33-54.57-12.39l-7.56-3.22 8.2-.6c23.3-1.73 39.8-.45 49.42 3.07 4.1 1.5 6.83 3.39 8.04 5.55a4.64 4.64 0 01-1.36 6.31 6.7 6.7 0 01-2.17 1.28z" } }] }, name: "file-pdf", theme: "filled" };
4025
4019
  function Or(e) {
4026
4020
  for (var t = 1; t < arguments.length; t++) {
4027
4021
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
4028
4022
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
4029
4023
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
4030
4024
  }))), r.forEach(function(i) {
4031
- tc(e, i, n[i]);
4025
+ ic(e, i, n[i]);
4032
4026
  });
4033
4027
  }
4034
4028
  return e;
4035
4029
  }
4036
- function tc(e, t, n) {
4030
+ function ic(e, t, n) {
4037
4031
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4038
4032
  }
4039
- var Nn = function(t, n) {
4033
+ var Rn = function(t, n) {
4040
4034
  var r = Or({}, t, n.attrs);
4041
4035
  return d(W, Or({}, r, {
4042
- icon: ec
4036
+ icon: rc
4043
4037
  }), null);
4044
4038
  };
4045
- Nn.displayName = "FilePdfFilled";
4046
- Nn.inheritAttrs = !1;
4047
- var nc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM468.53 760v-91.54h59.27c60.57 0 100.2-39.65 100.2-98.12 0-58.22-39.58-98.34-99.98-98.34H424a12 12 0 00-12 12v276a12 12 0 0012 12h32.53a12 12 0 0012-12zm0-139.33h34.9c47.82 0 67.19-12.93 67.19-50.33 0-32.05-18.12-50.12-49.87-50.12h-52.22v100.45z" } }] }, name: "file-ppt", theme: "filled" };
4039
+ Rn.displayName = "FilePdfFilled";
4040
+ Rn.inheritAttrs = !1;
4041
+ var oc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM468.53 760v-91.54h59.27c60.57 0 100.2-39.65 100.2-98.12 0-58.22-39.58-98.34-99.98-98.34H424a12 12 0 00-12 12v276a12 12 0 0012 12h32.53a12 12 0 0012-12zm0-139.33h34.9c47.82 0 67.19-12.93 67.19-50.33 0-32.05-18.12-50.12-49.87-50.12h-52.22v100.45z" } }] }, name: "file-ppt", theme: "filled" };
4048
4042
  function Mr(e) {
4049
4043
  for (var t = 1; t < arguments.length; t++) {
4050
4044
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
4051
4045
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
4052
4046
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
4053
4047
  }))), r.forEach(function(i) {
4054
- rc(e, i, n[i]);
4048
+ ac(e, i, n[i]);
4055
4049
  });
4056
4050
  }
4057
4051
  return e;
4058
4052
  }
4059
- function rc(e, t, n) {
4053
+ function ac(e, t, n) {
4060
4054
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4061
4055
  }
4062
4056
  var Ln = function(t, n) {
4063
4057
  var r = Mr({}, t, n.attrs);
4064
4058
  return d(W, Mr({}, r, {
4065
- icon: nc
4059
+ icon: oc
4066
4060
  }), null);
4067
4061
  };
4068
4062
  Ln.displayName = "FilePptFilled";
4069
4063
  Ln.inheritAttrs = !1;
4070
- var ic = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z" } }] }, name: "file-text", theme: "filled" };
4064
+ var lc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z" } }] }, name: "file-text", theme: "filled" };
4071
4065
  function Ir(e) {
4072
4066
  for (var t = 1; t < arguments.length; t++) {
4073
4067
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
4074
4068
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
4075
4069
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
4076
4070
  }))), r.forEach(function(i) {
4077
- oc(e, i, n[i]);
4071
+ sc(e, i, n[i]);
4078
4072
  });
4079
4073
  }
4080
4074
  return e;
4081
4075
  }
4082
- function oc(e, t, n) {
4076
+ function sc(e, t, n) {
4083
4077
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4084
4078
  }
4085
- var Rn = function(t, n) {
4079
+ var Nn = function(t, n) {
4086
4080
  var r = Ir({}, t, n.attrs);
4087
4081
  return d(W, Ir({}, r, {
4088
- icon: ic
4082
+ icon: lc
4089
4083
  }), null);
4090
4084
  };
4091
- Rn.displayName = "FileTextFilled";
4092
- Rn.inheritAttrs = !1;
4093
- var ac = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 566.1l52.81 197a12 12 0 0011.6 8.9h31.77a12 12 0 0011.6-8.88l74.37-276a12 12 0 00.4-3.12 12 12 0 00-12-12h-35.57a12 12 0 00-11.7 9.31l-45.78 199.1-49.76-199.32A12 12 0 00528.1 472h-32.2a12 12 0 00-11.64 9.1L434.6 680.01 388.5 481.3a12 12 0 00-11.68-9.29h-35.39a12 12 0 00-3.11.41 12 12 0 00-8.47 14.7l74.17 276A12 12 0 00415.6 772h31.99a12 12 0 0011.59-8.9l52.81-197z" } }] }, name: "file-word", theme: "filled" };
4085
+ Nn.displayName = "FileTextFilled";
4086
+ Nn.inheritAttrs = !1;
4087
+ var cc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM512 566.1l52.81 197a12 12 0 0011.6 8.9h31.77a12 12 0 0011.6-8.88l74.37-276a12 12 0 00.4-3.12 12 12 0 00-12-12h-35.57a12 12 0 00-11.7 9.31l-45.78 199.1-49.76-199.32A12 12 0 00528.1 472h-32.2a12 12 0 00-11.64 9.1L434.6 680.01 388.5 481.3a12 12 0 00-11.68-9.29h-35.39a12 12 0 00-3.11.41 12 12 0 00-8.47 14.7l74.17 276A12 12 0 00415.6 772h31.99a12 12 0 0011.59-8.9l52.81-197z" } }] }, name: "file-word", theme: "filled" };
4094
4088
  function Hr(e) {
4095
4089
  for (var t = 1; t < arguments.length; t++) {
4096
4090
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
4097
4091
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
4098
4092
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
4099
4093
  }))), r.forEach(function(i) {
4100
- lc(e, i, n[i]);
4094
+ uc(e, i, n[i]);
4101
4095
  });
4102
4096
  }
4103
4097
  return e;
4104
4098
  }
4105
- function lc(e, t, n) {
4099
+ function uc(e, t, n) {
4106
4100
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4107
4101
  }
4108
4102
  var zn = function(t, n) {
4109
4103
  var r = Hr({}, t, n.attrs);
4110
4104
  return d(W, Hr({}, r, {
4111
- icon: ac
4105
+ icon: cc
4112
4106
  }), null);
4113
4107
  };
4114
4108
  zn.displayName = "FileWordFilled";
4115
4109
  zn.inheritAttrs = !1;
4116
- var sc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z" } }] }, name: "file-zip", theme: "filled" };
4117
- function Nr(e) {
4110
+ var dc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM296 136v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm64 64v64h64v-64h-64zm-64 64v64h64v-64h-64zm0 64v160h128V584H296zm48 48h32v64h-32v-64z" } }] }, name: "file-zip", theme: "filled" };
4111
+ function Rr(e) {
4118
4112
  for (var t = 1; t < arguments.length; t++) {
4119
4113
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
4120
4114
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
4121
4115
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
4122
4116
  }))), r.forEach(function(i) {
4123
- cc(e, i, n[i]);
4117
+ fc(e, i, n[i]);
4124
4118
  });
4125
4119
  }
4126
4120
  return e;
4127
4121
  }
4128
- function cc(e, t, n) {
4122
+ function fc(e, t, n) {
4129
4123
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4130
4124
  }
4131
4125
  var jn = function(t, n) {
4132
- var r = Nr({}, t, n.attrs);
4133
- return d(W, Nr({}, r, {
4134
- icon: sc
4126
+ var r = Rr({}, t, n.attrs);
4127
+ return d(W, Rr({}, r, {
4128
+ icon: dc
4135
4129
  }), null);
4136
4130
  };
4137
4131
  jn.displayName = "FileZipFilled";
4138
4132
  jn.inheritAttrs = !1;
4139
- var uc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, name: "left", theme: "outlined" };
4133
+ var hc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, name: "left", theme: "outlined" };
4140
4134
  function Lr(e) {
4141
4135
  for (var t = 1; t < arguments.length; t++) {
4142
4136
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
4143
4137
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
4144
4138
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
4145
4139
  }))), r.forEach(function(i) {
4146
- dc(e, i, n[i]);
4140
+ gc(e, i, n[i]);
4147
4141
  });
4148
4142
  }
4149
4143
  return e;
4150
4144
  }
4151
- function dc(e, t, n) {
4145
+ function gc(e, t, n) {
4152
4146
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4153
4147
  }
4154
4148
  var wt = function(t, n) {
4155
4149
  var r = Lr({}, t, n.attrs);
4156
4150
  return d(W, Lr({}, r, {
4157
- icon: uc
4151
+ icon: hc
4158
4152
  }), null);
4159
4153
  };
4160
4154
  wt.displayName = "LeftOutlined";
4161
4155
  wt.inheritAttrs = !1;
4162
- var fc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { tag: "path", attrs: { d: "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, name: "plus", theme: "outlined" };
4163
- function Rr(e) {
4156
+ var mc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { tag: "path", attrs: { d: "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, name: "plus", theme: "outlined" };
4157
+ function Nr(e) {
4164
4158
  for (var t = 1; t < arguments.length; t++) {
4165
4159
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
4166
4160
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
4167
4161
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
4168
4162
  }))), r.forEach(function(i) {
4169
- hc(e, i, n[i]);
4163
+ pc(e, i, n[i]);
4170
4164
  });
4171
4165
  }
4172
4166
  return e;
4173
4167
  }
4174
- function hc(e, t, n) {
4168
+ function pc(e, t, n) {
4175
4169
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4176
4170
  }
4177
4171
  var Bn = function(t, n) {
4178
- var r = Rr({}, t, n.attrs);
4179
- return d(W, Rr({}, r, {
4180
- icon: fc
4172
+ var r = Nr({}, t, n.attrs);
4173
+ return d(W, Nr({}, r, {
4174
+ icon: mc
4181
4175
  }), null);
4182
4176
  };
4183
4177
  Bn.displayName = "PlusOutlined";
4184
4178
  Bn.inheritAttrs = !1;
4185
- var gc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, name: "right", theme: "outlined" };
4179
+ var vc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, name: "right", theme: "outlined" };
4186
4180
  function zr(e) {
4187
4181
  for (var t = 1; t < arguments.length; t++) {
4188
4182
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
4189
4183
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
4190
4184
  return Object.getOwnPropertyDescriptor(n, i).enumerable;
4191
4185
  }))), r.forEach(function(i) {
4192
- mc(e, i, n[i]);
4186
+ yc(e, i, n[i]);
4193
4187
  });
4194
4188
  }
4195
4189
  return e;
4196
4190
  }
4197
- function mc(e, t, n) {
4191
+ function yc(e, t, n) {
4198
4192
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4199
4193
  }
4200
4194
  var Tt = function(t, n) {
4201
4195
  var r = zr({}, t, n.attrs);
4202
4196
  return d(W, zr({}, r, {
4203
- icon: gc
4197
+ icon: vc
4204
4198
  }), null);
4205
4199
  };
4206
4200
  Tt.displayName = "RightOutlined";
4207
4201
  Tt.inheritAttrs = !1;
4208
- const pc = /* @__PURE__ */ I({
4202
+ const bc = /* @__PURE__ */ I({
4209
4203
  name: "AXConversationsItem",
4210
4204
  __name: "ConversationsItem",
4211
4205
  props: {
@@ -4222,7 +4216,7 @@ const pc = /* @__PURE__ */ I({
4222
4216
  },
4223
4217
  setup(e) {
4224
4218
  const t = ue(e, ["prefixCls", "info", "class", "direction", "onClick", "active", "menu"]);
4225
- k(e, "class");
4219
+ V(e, "class");
4226
4220
  const n = g(() => rt(t, {
4227
4221
  aria: !0,
4228
4222
  data: !0,
@@ -4238,7 +4232,7 @@ const pc = /* @__PURE__ */ I({
4238
4232
  }, u = (h) => {
4239
4233
  h && s(!h);
4240
4234
  };
4241
- return () => d(uo, {
4235
+ return () => d(go, {
4242
4236
  title: e.info.label,
4243
4237
  open: o.value && l.value,
4244
4238
  onOpenChange: s,
@@ -4255,7 +4249,7 @@ const pc = /* @__PURE__ */ I({
4255
4249
  onEllipsis: a
4256
4250
  },
4257
4251
  content: e.info.label
4258
- }, null), e.menu && !i.value && d(fo, {
4252
+ }, null), e.menu && !i.value && d(mo, {
4259
4253
  placement: e.direction === "rtl" ? "bottomLeft" : "bottomRight",
4260
4254
  trigger: ["click"],
4261
4255
  disabled: i.value,
@@ -4266,27 +4260,27 @@ const pc = /* @__PURE__ */ I({
4266
4260
  disabled: i.value,
4267
4261
  class: `${e.prefixCls}-menu-icon`
4268
4262
  }, null),
4269
- overlay: () => d(ho, e.menu, null)
4263
+ overlay: () => d(po, e.menu, null)
4270
4264
  })])]
4271
4265
  });
4272
4266
  }
4273
- }), Gi = Symbol("GroupTitleContext"), fn = J(), vc = (e) => {
4274
- pe(Gi, e), N(
4267
+ }), Ui = Symbol("GroupTitleContext"), fn = J(), Sc = (e) => {
4268
+ pe(Ui, e), R(
4275
4269
  e,
4276
4270
  () => {
4277
- fn.value = P(e), Ee(fn);
4271
+ fn.value = A(e), Ee(fn);
4278
4272
  },
4279
4273
  { immediate: !0, deep: !0 }
4280
4274
  );
4281
- }, yc = () => ie(
4282
- Gi,
4275
+ }, xc = () => ie(
4276
+ Ui,
4283
4277
  g(() => fn.value || {})
4284
- ), bc = I({
4278
+ ), Cc = I({
4285
4279
  props: {
4286
- value: Pe()
4280
+ value: Ae()
4287
4281
  },
4288
4282
  setup(e, { slots: t }) {
4289
- return vc(g(() => e.value)), () => {
4283
+ return Sc(g(() => e.value)), () => {
4290
4284
  var n;
4291
4285
  return (n = t.default) == null ? void 0 : n.call(t);
4292
4286
  };
@@ -4295,7 +4289,7 @@ const pc = /* @__PURE__ */ I({
4295
4289
  name: "AXConversationsGroupTitle",
4296
4290
  __name: "GroupTitle",
4297
4291
  setup(e) {
4298
- const t = kr(), n = yc(), r = g(() => {
4292
+ const t = Vr(), n = xc(), r = g(() => {
4299
4293
  var i;
4300
4294
  return (i = t.default) == null ? void 0 : i.call(t);
4301
4295
  });
@@ -4306,10 +4300,10 @@ const pc = /* @__PURE__ */ I({
4306
4300
  })]);
4307
4301
  }
4308
4302
  });
4309
- function Sc(e, t) {
4303
+ function $c(e, t) {
4310
4304
  const { defaultValue: n, value: r = z() } = t;
4311
4305
  let i = typeof e == "function" ? e() : e;
4312
- r.value !== void 0 && (i = P(r)), n !== void 0 && (i = typeof n == "function" ? n() : n);
4306
+ r.value !== void 0 && (i = A(r)), n !== void 0 && (i = typeof n == "function" ? n() : n);
4313
4307
  const o = z(i), a = z(i);
4314
4308
  tt(() => {
4315
4309
  let s = r.value !== void 0 ? r.value : o.value;
@@ -4317,13 +4311,13 @@ function Sc(e, t) {
4317
4311
  });
4318
4312
  function l(s) {
4319
4313
  const c = a.value;
4320
- o.value = s, ao(a.value) !== s && t.onChange && t.onChange(s, c);
4314
+ o.value = s, lo(a.value) !== s && t.onChange && t.onChange(s, c);
4321
4315
  }
4322
- return N(r, () => {
4316
+ return R(r, () => {
4323
4317
  o.value = r.value;
4324
4318
  }), [a, l];
4325
4319
  }
4326
- const Xt = "__ungrouped", xc = (e, t = []) => {
4320
+ const Xt = "__ungrouped", wc = (e, t = []) => {
4327
4321
  const n = g(() => {
4328
4322
  if (!B(e))
4329
4323
  return {
@@ -4366,7 +4360,7 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4366
4360
  enableGroup: n.value.enableGroup
4367
4361
  };
4368
4362
  });
4369
- }, Cc = (e) => {
4363
+ }, Tc = (e) => {
4370
4364
  const { componentCls: t } = e;
4371
4365
  return {
4372
4366
  [t]: {
@@ -4447,14 +4441,14 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4447
4441
  }
4448
4442
  }
4449
4443
  };
4450
- }, $c = () => ({}), wc = Oe(
4444
+ }, Ec = () => ({}), Ac = Oe(
4451
4445
  "Conversations",
4452
4446
  (e) => {
4453
4447
  const t = de(e, {});
4454
- return Cc(t);
4448
+ return Tc(t);
4455
4449
  },
4456
- $c
4457
- ), Iu = /* @__PURE__ */ I({
4450
+ Ec
4451
+ ), zu = /* @__PURE__ */ I({
4458
4452
  name: "AXConversations",
4459
4453
  __name: "Conversations",
4460
4454
  props: oe({
@@ -4480,21 +4474,21 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4480
4474
  }),
4481
4475
  setup(e) {
4482
4476
  const t = ue(e, ["prefixCls", "rootClassName", "items", "activeKey", "defaultActiveKey", "onActiveChange", "menu", "styles", "classNames", "groupable", "class", "style"]);
4483
- k(e, "class"), k(e, "activeKey"), k(e, "prefixCls");
4477
+ V(e, "class"), V(e, "activeKey"), V(e, "prefixCls");
4484
4478
  const n = z(e.activeKey), r = g(() => rt(t, {
4485
4479
  attr: !0,
4486
4480
  aria: !0,
4487
4481
  data: !0
4488
- })), [i, o] = Sc(e.defaultActiveKey, {
4482
+ })), [i, o] = $c(e.defaultActiveKey, {
4489
4483
  value: n
4490
4484
  });
4491
- N(() => e.activeKey, () => {
4485
+ R(() => e.activeKey, () => {
4492
4486
  n.value = e.activeKey;
4493
4487
  });
4494
- const a = xc(() => e.groupable, () => e.items), {
4488
+ const a = wc(() => e.groupable, () => e.items), {
4495
4489
  getPrefixCls: l,
4496
4490
  direction: s
4497
- } = K(), c = g(() => l("conversations", e.prefixCls)), f = Ae("conversations"), [u, h, p] = wc(c), m = g(() => O(c.value, f.value.className, e.class, e.rootClassName, h, p, {
4491
+ } = K(), c = g(() => l("conversations", e.prefixCls)), f = Pe("conversations"), [u, h, p] = Ac(c), m = g(() => O(c.value, f.value.className, e.class, e.rootClassName, h, p, {
4498
4492
  [`${c.value}-rtl`]: s.value === "rtl"
4499
4493
  })), v = (b) => {
4500
4494
  o(b.key), e.onActiveChange && e.onActiveChange(b.key);
@@ -4506,7 +4500,7 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4506
4500
  },
4507
4501
  class: m.value
4508
4502
  }), [a.value.groupList.map((b, x) => {
4509
- const $ = b.data.map((S, C) => d(pc, {
4503
+ const $ = b.data.map((S, C) => d(bc, {
4510
4504
  key: S.key || `key-${C}`,
4511
4505
  info: S,
4512
4506
  prefixCls: c.value,
@@ -4522,7 +4516,7 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4522
4516
  }, null));
4523
4517
  return a.value.enableGroup ? d("li", {
4524
4518
  key: b.name || `key-${x}`
4525
- }, [d(bc, {
4519
+ }, [d(Cc, {
4526
4520
  value: {
4527
4521
  prefixCls: c.value
4528
4522
  }
@@ -4544,7 +4538,7 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4544
4538
  }, [$])]) : $;
4545
4539
  })]));
4546
4540
  }
4547
- }), Tc = (e) => {
4541
+ }), Pc = (e) => {
4548
4542
  const { componentCls: t, calc: n } = e, r = n(e.fontSizeHeading3).mul(e.lineHeightHeading3).equal(), i = n(e.fontSize).mul(e.lineHeight).equal();
4549
4543
  return {
4550
4544
  [t]: {
@@ -4574,7 +4568,7 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4574
4568
  }
4575
4569
  }
4576
4570
  };
4577
- }, Ec = (e) => {
4571
+ }, Oc = (e) => {
4578
4572
  const { componentCls: t } = e;
4579
4573
  return {
4580
4574
  [t]: {
@@ -4594,14 +4588,14 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4594
4588
  }
4595
4589
  }
4596
4590
  };
4597
- }, Pc = () => ({}), Ac = Oe(
4591
+ }, Mc = () => ({}), Ic = Oe(
4598
4592
  "Welcome",
4599
4593
  (e) => {
4600
4594
  const t = de(e, {});
4601
- return [Tc(t), Ec(t)];
4595
+ return [Pc(t), Oc(t)];
4602
4596
  },
4603
- Pc
4604
- ), Hu = /* @__PURE__ */ I({
4597
+ Mc
4598
+ ), ju = /* @__PURE__ */ I({
4605
4599
  name: "AXWelcome",
4606
4600
  __name: "Welcome",
4607
4601
  props: oe({
@@ -4622,11 +4616,11 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4622
4616
  styles: () => ({})
4623
4617
  }),
4624
4618
  setup(e) {
4625
- k(e, "prefixCls");
4619
+ V(e, "prefixCls");
4626
4620
  const {
4627
4621
  direction: t,
4628
4622
  getPrefixCls: n
4629
- } = K(), r = n("welcome", e.prefixCls), i = Ae("welcome"), [o, a, l] = Ac(r), s = g(() => {
4623
+ } = K(), r = n("welcome", e.prefixCls), i = Pe("welcome"), [o, a, l] = Ic(r), s = g(() => {
4630
4624
  if (!e.icon)
4631
4625
  return null;
4632
4626
  let u = e.icon;
@@ -4671,7 +4665,7 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4671
4665
  })]
4672
4666
  }));
4673
4667
  }
4674
- }), Oc = (e) => {
4668
+ }), Hc = (e) => {
4675
4669
  const { componentCls: t } = e;
4676
4670
  return {
4677
4671
  [t]: {
@@ -4764,7 +4758,7 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4764
4758
  }
4765
4759
  }
4766
4760
  };
4767
- }, Mc = (e) => {
4761
+ }, Rc = (e) => {
4768
4762
  const { componentCls: t } = e;
4769
4763
  return {
4770
4764
  [t]: {
@@ -4794,14 +4788,14 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4794
4788
  }
4795
4789
  }
4796
4790
  };
4797
- }, Ic = () => ({}), Hc = Oe(
4791
+ }, Lc = () => ({}), Nc = Oe(
4798
4792
  "Prompts",
4799
4793
  (e) => {
4800
4794
  const t = de(e, {});
4801
- return [Oc(t), Mc(t)];
4795
+ return [Hc(t), Rc(t)];
4802
4796
  },
4803
- Ic
4804
- ), Nc = /* @__PURE__ */ I({
4797
+ Lc
4798
+ ), zc = /* @__PURE__ */ I({
4805
4799
  name: "AXPrompts",
4806
4800
  __name: "Prompts",
4807
4801
  props: oe({
@@ -4826,11 +4820,11 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4826
4820
  }),
4827
4821
  setup(e) {
4828
4822
  const t = ue(e, ["prefixCls", "title", "class", "items", "onItemClick", "vertical", "wrap", "rootClassName", "styles", "classNames", "style"]);
4829
- k(e, "class"), k(e, "prefixCls");
4823
+ V(e, "class"), V(e, "prefixCls");
4830
4824
  const {
4831
4825
  getPrefixCls: n,
4832
4826
  direction: r
4833
- } = K(), i = n("prompts", e.prefixCls), o = Ae("prompts"), [a, l, s] = Hc(i), c = g(() => O(i, o.value.className, e.class, e.rootClassName, l, s, {
4827
+ } = K(), i = n("prompts", e.prefixCls), o = Pe("prompts"), [a, l, s] = Nc(i), c = g(() => O(i, o.value.className, e.class, e.rootClassName, l, s, {
4834
4828
  [`${i}-rtl`]: r.value === "rtl"
4835
4829
  })), f = g(() => O(`${i}-list`, o.value.classNames.list, e.classNames.list, {
4836
4830
  [`${i}-list-wrap`]: e.wrap
@@ -4889,7 +4883,7 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4889
4883
  class: `${i}-label`
4890
4884
  }, [h.label]), h.description && d("p", {
4891
4885
  class: `${i}-desc`
4892
- }, [h.description]), m && d(Nc, {
4886
+ }, [h.description]), m && d(zc, {
4893
4887
  class: `${i}-nested`,
4894
4888
  items: h.children,
4895
4889
  vertical: !0,
@@ -4906,7 +4900,7 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4906
4900
  })])]));
4907
4901
  };
4908
4902
  }
4909
- }), Lc = (e) => {
4903
+ }), jc = (e) => {
4910
4904
  const { componentCls: t, antCls: n } = e;
4911
4905
  return {
4912
4906
  [t]: {
@@ -4928,15 +4922,15 @@ const Xt = "__ungrouped", xc = (e, t = []) => {
4928
4922
  }
4929
4923
  }
4930
4924
  };
4931
- }, Rc = () => ({}), zc = Oe(
4925
+ }, Bc = () => ({}), Fc = Oe(
4932
4926
  "Suggestion",
4933
4927
  (e) => {
4934
4928
  const t = de(e, {});
4935
- return Lc(t);
4929
+ return jc(t);
4936
4930
  },
4937
- Rc
4931
+ Bc
4938
4932
  );
4939
- function jc(e, t, n, r, i) {
4933
+ function Dc(e, t, n, r, i) {
4940
4934
  const [o, a] = D([]), l = (p, m = o.value) => {
4941
4935
  let v = B(e);
4942
4936
  for (let b = 0; b < p - 1; b += 1) {
@@ -4982,11 +4976,11 @@ function jc(e, t, n, r, i) {
4982
4976
  break;
4983
4977
  }
4984
4978
  });
4985
- return N(() => B(t), () => {
4979
+ return R(() => B(t), () => {
4986
4980
  B(t) && a([B(e)[0].value]);
4987
4981
  }, { immediate: !0 }), [o, h];
4988
4982
  }
4989
- const Nu = /* @__PURE__ */ I({
4983
+ const Bu = /* @__PURE__ */ I({
4990
4984
  name: "AXSuggestion",
4991
4985
  __name: "Suggestion",
4992
4986
  props: oe({
@@ -5018,13 +5012,13 @@ const Nu = /* @__PURE__ */ I({
5018
5012
  open: !1
5019
5013
  }),
5020
5014
  setup(e) {
5021
- k(e, "prefixCls");
5015
+ V(e, "prefixCls");
5022
5016
  const {
5023
5017
  direction: t,
5024
5018
  getPrefixCls: n
5025
5019
  } = K(), r = g(() => n("suggestion", e.prefixCls));
5026
5020
  `${r.value}`;
5027
- const i = g(() => t.value === "rtl"), o = Ae("suggestion"), [a, l, s] = zc(r), [c, f] = D(e.open), [u, h] = D(), p = (T) => {
5021
+ const i = g(() => t.value === "rtl"), o = Pe("suggestion"), [a, l, s] = Fc(r), [c, f] = D(e.open), [u, h] = D(), p = (T) => {
5028
5022
  var w;
5029
5023
  f(T), (w = e.onOpenChange) == null || w.call(e, T);
5030
5024
  }, m = (T) => {
@@ -5033,14 +5027,14 @@ const Nu = /* @__PURE__ */ I({
5033
5027
  p(!1);
5034
5028
  }, b = g(() => typeof e.items == "function" ? e.items(u.value) : e.items), x = (T) => {
5035
5029
  e.onSelect && e.onSelect(T[T.length - 1]), p(!1);
5036
- }, [$, S] = jc(b, c, i, x, v), C = g(() => {
5030
+ }, [$, S] = Dc(b, c, i, x, v), C = g(() => {
5037
5031
  var T;
5038
5032
  return (T = e.children) == null ? void 0 : T.call(e, {
5039
5033
  onTrigger: m,
5040
5034
  onKeyDown: S
5041
5035
  });
5042
5036
  });
5043
- return () => a(d(go, {
5037
+ return () => a(d(vo, {
5044
5038
  options: b.value,
5045
5039
  open: c.value,
5046
5040
  value: $.value,
@@ -5063,29 +5057,29 @@ const Nu = /* @__PURE__ */ I({
5063
5057
  }, [C.value])
5064
5058
  }));
5065
5059
  }
5066
- }), Ui = Symbol("AttachmentContext"), hn = J(), Bc = (e) => {
5067
- pe(Ui, e), N(
5060
+ }), qi = Symbol("AttachmentContext"), hn = J(), Xc = (e) => {
5061
+ pe(qi, e), R(
5068
5062
  e,
5069
5063
  () => {
5070
- hn.value = P(e), Ee(hn);
5064
+ hn.value = A(e), Ee(hn);
5071
5065
  },
5072
5066
  { immediate: !0, deep: !0 }
5073
5067
  );
5074
5068
  }, Et = () => ie(
5075
- Ui,
5069
+ qi,
5076
5070
  g(() => hn.value || {})
5077
- ), Fc = I({
5071
+ ), Wc = I({
5078
5072
  inheritAttrs: !1,
5079
5073
  props: {
5080
- value: Pe()
5074
+ value: Ae()
5081
5075
  },
5082
5076
  setup(e, { slots: t }) {
5083
- return Bc(g(() => e.value)), () => {
5077
+ return Xc(g(() => e.value)), () => {
5084
5078
  var n;
5085
5079
  return (n = t.default) == null ? void 0 : n.call(t);
5086
5080
  };
5087
5081
  }
5088
- }), Dc = /* @__PURE__ */ I({
5082
+ }), kc = /* @__PURE__ */ I({
5089
5083
  name: "AXAttachmentsPlaceholderUploader",
5090
5084
  __name: "PlaceholderUploader",
5091
5085
  props: oe({
@@ -5142,7 +5136,7 @@ const Nu = /* @__PURE__ */ I({
5142
5136
  onDrop: f,
5143
5137
  "aria-hidden": o.value.disabled,
5144
5138
  style: e.style
5145
- }, [d(Yr.Dragger, _({
5139
+ }, [d(Zr.Dragger, _({
5146
5140
  showUploadList: !1
5147
5141
  }, e.upload, {
5148
5142
  ref: "upload-dragger",
@@ -5168,11 +5162,11 @@ const Nu = /* @__PURE__ */ I({
5168
5162
  },
5169
5163
  setup(e) {
5170
5164
  const t = Et(), [n, r] = D(), [i, o] = D(null);
5171
- N(() => e.getDropContainer, () => {
5165
+ R(() => e.getDropContainer, () => {
5172
5166
  var c;
5173
5167
  const s = (c = e.getDropContainer) == null ? void 0 : c.call(e);
5174
5168
  n.value !== s && r(s);
5175
- }), N(() => !!n.value, () => {
5169
+ }), R(() => !!n.value, () => {
5176
5170
  if (n.value) {
5177
5171
  const s = () => {
5178
5172
  o(!0);
@@ -5189,7 +5183,7 @@ const Nu = /* @__PURE__ */ I({
5189
5183
  }
5190
5184
  });
5191
5185
  const a = g(() => e.getDropContainer && n.value && !t.value.disabled), l = `${e.prefixCls}-drop-area`;
5192
- return () => a.value ? d(lo, {
5186
+ return () => a.value ? d(so, {
5193
5187
  to: n.value
5194
5188
  }, {
5195
5189
  default: () => [d("div", {
@@ -5202,7 +5196,7 @@ const Nu = /* @__PURE__ */ I({
5202
5196
  }, [e.children])]
5203
5197
  }) : null;
5204
5198
  }
5205
- }), qi = /* @__PURE__ */ I({
5199
+ }), Ki = /* @__PURE__ */ I({
5206
5200
  name: "AXAttachmentsSilentUploader",
5207
5201
  __name: "SilentUploader",
5208
5202
  props: {
@@ -5216,19 +5210,19 @@ const Nu = /* @__PURE__ */ I({
5216
5210
  const n = je("upload");
5217
5211
  return t({
5218
5212
  nativeElement: n
5219
- }), () => d(Yr, _(e.upload, {
5213
+ }), () => d(Zr, _(e.upload, {
5220
5214
  showUploadList: !1,
5221
5215
  ref: "upload"
5222
5216
  }), {
5223
5217
  default: () => [e.children]
5224
5218
  });
5225
5219
  }
5226
- }), Ki = (e, t) => {
5220
+ }), Yi = (e, t) => {
5227
5221
  const n = e.__vccOpts || e;
5228
5222
  for (const [r, i] of t)
5229
5223
  n[r] = i;
5230
5224
  return n;
5231
- }, Xc = {}, Wc = {
5225
+ }, Vc = {}, Gc = {
5232
5226
  width: "1em",
5233
5227
  height: "1em",
5234
5228
  viewBox: "0 0 16 16",
@@ -5236,23 +5230,23 @@ const Nu = /* @__PURE__ */ I({
5236
5230
  xmlns: "http://www.w3.org/2000/svg",
5237
5231
  xmlnsXlink: "http://www.w3.org/1999/xlink"
5238
5232
  };
5239
- function kc(e, t) {
5240
- return Gr(), Ur("svg", Wc, t[0] || (t[0] = [
5241
- Re("title", null, "audio", -1),
5242
- Re("g", {
5233
+ function Uc(e, t) {
5234
+ return Ur(), qr("svg", Gc, t[0] || (t[0] = [
5235
+ Ne("title", null, "audio", -1),
5236
+ Ne("g", {
5243
5237
  stroke: "none",
5244
5238
  "stroke-width": "1",
5245
5239
  fill: "none",
5246
5240
  "fill-rule": "evenodd"
5247
5241
  }, [
5248
- Re("path", {
5242
+ Ne("path", {
5249
5243
  d: "M14.1178571,4.0125 C14.225,4.11964286 14.2857143,4.26428571 14.2857143,4.41607143 L14.2857143,15.4285714 C14.2857143,15.7446429 14.0303571,16 13.7142857,16 L2.28571429,16 C1.96964286,16 1.71428571,15.7446429 1.71428571,15.4285714 L1.71428571,0.571428571 C1.71428571,0.255357143 1.96964286,0 2.28571429,0 L9.86964286,0 C10.0214286,0 10.1678571,0.0607142857 10.275,0.167857143 L14.1178571,4.0125 Z M10.7315824,7.11216117 C10.7428131,7.15148751 10.7485063,7.19218979 10.7485063,7.23309113 L10.7485063,8.07742614 C10.7484199,8.27364959 10.6183424,8.44607275 10.4296853,8.50003683 L8.32984514,9.09986306 L8.32984514,11.7071803 C8.32986605,12.5367078 7.67249692,13.217028 6.84345686,13.2454634 L6.79068592,13.2463395 C6.12766108,13.2463395 5.53916361,12.8217001 5.33010655,12.1924966 C5.1210495,11.563293 5.33842118,10.8709227 5.86959669,10.4741173 C6.40077221,10.0773119 7.12636292,10.0652587 7.67042486,10.4442027 L7.67020842,7.74937024 L7.68449368,7.74937024 C7.72405122,7.59919041 7.83988806,7.48101083 7.98924584,7.4384546 L10.1880418,6.81004755 C10.42156,6.74340323 10.6648954,6.87865515 10.7315824,7.11216117 Z M9.60714286,1.31785714 L12.9678571,4.67857143 L9.60714286,4.67857143 L9.60714286,1.31785714 Z",
5250
5244
  fill: "currentColor"
5251
5245
  })
5252
5246
  ], -1)
5253
5247
  ]));
5254
5248
  }
5255
- const Vc = /* @__PURE__ */ Ki(Xc, [["render", kc]]), Gc = {}, Uc = {
5249
+ const qc = /* @__PURE__ */ Yi(Vc, [["render", Uc]]), Kc = {}, Yc = {
5256
5250
  width: "1em",
5257
5251
  height: "1em",
5258
5252
  viewBox: "0 0 16 16",
@@ -5260,26 +5254,26 @@ const Vc = /* @__PURE__ */ Ki(Xc, [["render", kc]]), Gc = {}, Uc = {
5260
5254
  xmlns: "http://www.w3.org/2000/svg",
5261
5255
  xmlnsXlink: "http://www.w3.org/1999/xlink"
5262
5256
  };
5263
- function qc(e, t) {
5264
- return Gr(), Ur("svg", Uc, t[0] || (t[0] = [
5265
- Re("title", null, "video", -1),
5266
- Re("g", {
5257
+ function Zc(e, t) {
5258
+ return Ur(), qr("svg", Yc, t[0] || (t[0] = [
5259
+ Ne("title", null, "video", -1),
5260
+ Ne("g", {
5267
5261
  stroke: "none",
5268
5262
  "stroke-width": "1",
5269
5263
  fill: "none",
5270
5264
  "fill-rule": "evenodd"
5271
5265
  }, [
5272
- Re("path", {
5266
+ Ne("path", {
5273
5267
  d: "M14.1178571,4.0125 C14.225,4.11964286 14.2857143,4.26428571 14.2857143,4.41607143 L14.2857143,15.4285714 C14.2857143,15.7446429 14.0303571,16 13.7142857,16 L2.28571429,16 C1.96964286,16 1.71428571,15.7446429 1.71428571,15.4285714 L1.71428571,0.571428571 C1.71428571,0.255357143 1.96964286,0 2.28571429,0 L9.86964286,0 C10.0214286,0 10.1678571,0.0607142857 10.275,0.167857143 L14.1178571,4.0125 Z M12.9678571,4.67857143 L9.60714286,1.31785714 L9.60714286,4.67857143 L12.9678571,4.67857143 Z M10.5379461,10.3101106 L6.68957555,13.0059749 C6.59910784,13.0693494 6.47439406,13.0473861 6.41101953,12.9569184 C6.3874624,12.9232903 6.37482581,12.8832269 6.37482581,12.8421686 L6.37482581,7.45043999 C6.37482581,7.33998304 6.46436886,7.25043999 6.57482581,7.25043999 C6.61588409,7.25043999 6.65594753,7.26307658 6.68957555,7.28663371 L10.5379461,9.98249803 C10.6284138,10.0458726 10.6503772,10.1705863 10.5870027,10.2610541 C10.5736331,10.2801392 10.5570312,10.2967411 10.5379461,10.3101106 Z",
5274
5268
  fill: "currentColor"
5275
5269
  })
5276
5270
  ], -1)
5277
5271
  ]));
5278
5272
  }
5279
- const Kc = /* @__PURE__ */ Ki(Gc, [["render", qc]]), Yc = (e) => e.indexOf("image/") === 0, dt = 200;
5280
- function Zc(e) {
5273
+ const Qc = /* @__PURE__ */ Yi(Kc, [["render", Zc]]), Jc = (e) => e.indexOf("image/") === 0, dt = 200;
5274
+ function _c(e) {
5281
5275
  return new Promise((t) => {
5282
- if (!e || !e.type || !Yc(e.type)) {
5276
+ if (!e || !e.type || !Jc(e.type)) {
5283
5277
  t("");
5284
5278
  return;
5285
5279
  }
@@ -5311,7 +5305,7 @@ function _e(e) {
5311
5305
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
5312
5306
  }, _e(e);
5313
5307
  }
5314
- function Qc(e, t) {
5308
+ function eu(e, t) {
5315
5309
  if (_e(e) != "object" || !e) return e;
5316
5310
  var n = e[Symbol.toPrimitive];
5317
5311
  if (n !== void 0) {
@@ -5321,12 +5315,12 @@ function Qc(e, t) {
5321
5315
  }
5322
5316
  return (t === "string" ? String : Number)(e);
5323
5317
  }
5324
- function Jc(e) {
5325
- var t = Qc(e, "string");
5318
+ function tu(e) {
5319
+ var t = eu(e, "string");
5326
5320
  return _e(t) == "symbol" ? t : t + "";
5327
5321
  }
5328
5322
  function q(e, t, n) {
5329
- return (t = Jc(t)) in e ? Object.defineProperty(e, t, {
5323
+ return (t = tu(t)) in e ? Object.defineProperty(e, t, {
5330
5324
  value: n,
5331
5325
  enumerable: !0,
5332
5326
  configurable: !0,
@@ -5655,7 +5649,7 @@ class Fn {
5655
5649
  this.r = n[0], this.g = n[1], this.b = n[2], this.a = n[3];
5656
5650
  }
5657
5651
  }
5658
- const _c = (e) => {
5652
+ const nu = (e) => {
5659
5653
  const { componentCls: t, calc: n } = e, r = `${t}-list-card`, i = n(e.fontSize).mul(e.lineHeight).mul(2).add(e.paddingSM).add(e.paddingSM).equal();
5660
5654
  return {
5661
5655
  [r]: {
@@ -5807,7 +5801,7 @@ const _c = (e) => {
5807
5801
  "&, *": {
5808
5802
  boxSizing: "border-box"
5809
5803
  }
5810
- }, eu = (e) => {
5804
+ }, ru = (e) => {
5811
5805
  const { componentCls: t, calc: n, antCls: r } = e, i = `${t}-drop-area`, o = `${t}-placeholder`;
5812
5806
  return {
5813
5807
  // ============================== Full Screen ==============================
@@ -5868,7 +5862,7 @@ const _c = (e) => {
5868
5862
  }
5869
5863
  }
5870
5864
  };
5871
- }, tu = (e) => {
5865
+ }, iu = (e) => {
5872
5866
  const { componentCls: t, calc: n } = e, r = `${t}-list`, i = n(e.fontSize).mul(e.lineHeight).mul(2).add(e.paddingSM).add(e.paddingSM).equal();
5873
5867
  return {
5874
5868
  [t]: {
@@ -6006,23 +6000,23 @@ const _c = (e) => {
6006
6000
  }
6007
6001
  }
6008
6002
  };
6009
- }, nu = (e) => {
6003
+ }, ou = (e) => {
6010
6004
  const { colorBgContainer: t } = e;
6011
6005
  return {
6012
6006
  colorBgPlaceholderHover: new Fn(t).setA(0.85).toRgbString()
6013
6007
  };
6014
- }, Yi = Oe(
6008
+ }, Zi = Oe(
6015
6009
  "Attachments",
6016
6010
  (e) => {
6017
6011
  const t = de(e, {});
6018
6012
  return [
6019
- eu(t),
6020
- tu(t),
6021
- _c(t)
6013
+ ru(t),
6014
+ iu(t),
6015
+ nu(t)
6022
6016
  ];
6023
6017
  },
6024
- nu
6025
- ), kt = " ", Vt = "#8c8c8c", Zi = /* @__PURE__ */ I({
6018
+ ou
6019
+ ), kt = " ", Vt = "#8c8c8c", Qi = /* @__PURE__ */ I({
6026
6020
  name: "AXAttachmentsFileListCard",
6027
6021
  __name: "FileListCard",
6028
6022
  props: {
@@ -6037,7 +6031,7 @@ const _c = (e) => {
6037
6031
  setup(e, {
6038
6032
  expose: t
6039
6033
  }) {
6040
- k(e, "prefixCls");
6034
+ V(e, "prefixCls");
6041
6035
  const n = ["png", "jpg", "jpeg", "gif", "bmp", "webp", "svg"], r = [{
6042
6036
  icon: d(Mn, null, null),
6043
6037
  color: "#22b35e",
@@ -6051,7 +6045,7 @@ const _c = (e) => {
6051
6045
  color: Vt,
6052
6046
  ext: ["md", "mdx"]
6053
6047
  }, {
6054
- icon: d(Nn, null, null),
6048
+ icon: d(Rn, null, null),
6055
6049
  color: "#ff4d4f",
6056
6050
  ext: ["pdf"]
6057
6051
  }, {
@@ -6067,19 +6061,19 @@ const _c = (e) => {
6067
6061
  color: "#fab714",
6068
6062
  ext: ["zip", "rar", "7z", "tar", "gz"]
6069
6063
  }, {
6070
- icon: d(Kc, null, null),
6064
+ icon: d(Qc, null, null),
6071
6065
  color: "#ff4d4f",
6072
6066
  ext: ["mp4", "avi", "mov", "wmv", "flv", "mkv"]
6073
6067
  }, {
6074
- icon: d(Vc, null, null),
6068
+ icon: d(qc, null, null),
6075
6069
  color: "#8c8c8c",
6076
6070
  ext: ["mp3", "wav", "flac", "ape", "aac", "ogg"]
6077
6071
  }];
6078
- function i(R, j) {
6079
- return j.some((U) => R.toLowerCase() === `.${U}`);
6072
+ function i(N, j) {
6073
+ return j.some((U) => N.toLowerCase() === `.${U}`);
6080
6074
  }
6081
- function o(R) {
6082
- let j = R;
6075
+ function o(N) {
6076
+ let j = N;
6083
6077
  const U = ["B", "KB", "MB", "GB", "TB", "PB", "EB"];
6084
6078
  let ye = 0;
6085
6079
  for (; j >= 1024 && ye < U.length - 1; )
@@ -6088,49 +6082,49 @@ const _c = (e) => {
6088
6082
  }
6089
6083
  const a = Et(), l = g(() => a.value.disabled), s = g(() => e.item.name), c = g(() => e.item.size), f = g(() => e.item.percent), u = g(() => e.item.status || "done"), h = g(() => e.item.description), {
6090
6084
  getPrefixCls: p
6091
- } = K(), m = g(() => p("attachment", e.prefixCls)), v = `${m.value}-list-card`, [b, x, $] = Yi(m), S = je("file-list-card-container"), C = g(() => {
6092
- const R = s.value || "", j = R.match(/^(.*)\.[^.]+$/);
6085
+ } = K(), m = g(() => p("attachment", e.prefixCls)), v = `${m.value}-list-card`, [b, x, $] = Zi(m), S = je("file-list-card-container"), C = g(() => {
6086
+ const N = s.value || "", j = N.match(/^(.*)\.[^.]+$/);
6093
6087
  return {
6094
- namePrefix: j ? j[1] : R,
6095
- nameSuffix: j ? R.slice(j[1].length) : ""
6088
+ namePrefix: j ? j[1] : N,
6089
+ nameSuffix: j ? N.slice(j[1].length) : ""
6096
6090
  };
6097
6091
  }), T = g(() => i(C.value.nameSuffix, n)), w = g(() => h.value ? h.value : u.value === "uploading" ? `${f.value || 0}%` : u.value === "error" ? e.item.response || kt : c.value ? o(c.value) : kt), y = g(() => {
6098
6092
  for (const {
6099
- ext: R,
6093
+ ext: N,
6100
6094
  icon: j,
6101
6095
  color: U
6102
6096
  } of r)
6103
- if (i(C.value.nameSuffix, R))
6097
+ if (i(C.value.nameSuffix, N))
6104
6098
  return {
6105
6099
  icon: j,
6106
6100
  iconColor: U
6107
6101
  };
6108
6102
  return {
6109
- icon: d(Rn, {
6103
+ icon: d(Nn, {
6110
6104
  key: "defaultIcon"
6111
6105
  }, null),
6112
6106
  iconColor: Vt
6113
6107
  };
6114
6108
  }), [M, E] = D();
6115
- N(() => e.item.originFileObj, () => {
6109
+ R(() => e.item.originFileObj, () => {
6116
6110
  if (e.item.originFileObj) {
6117
- let R = !0;
6118
- Zc(e.item.originFileObj).then((j) => {
6119
- R && E(j);
6111
+ let N = !0;
6112
+ _c(e.item.originFileObj).then((j) => {
6113
+ N && E(j);
6120
6114
  }), et(() => {
6121
- R = !1;
6115
+ N = !1;
6122
6116
  });
6123
6117
  }
6124
6118
  E(void 0);
6125
6119
  }, {
6126
6120
  immediate: !0
6127
6121
  });
6128
- const A = g(() => e.item.thumbUrl || e.item.url || M.value), H = g(() => T.value && (e.item.originFileObj || A.value)), fe = g(() => H.value ? d(ze, null, [d("img", {
6122
+ const P = g(() => e.item.thumbUrl || e.item.url || M.value), H = g(() => T.value && (e.item.originFileObj || P.value)), fe = g(() => H.value ? d(ze, null, [d("img", {
6129
6123
  alt: "preview",
6130
- src: A.value
6124
+ src: P.value
6131
6125
  }, null), u.value !== "done" && d("div", {
6132
6126
  class: `${v}-img-mask`
6133
- }, [u.value === "uploading" && f.value !== void 0 && d(mo, {
6127
+ }, [u.value === "uploading" && f.value !== void 0 && d(yo, {
6134
6128
  percent: f.value,
6135
6129
  prefixCls: v
6136
6130
  }, null), u.value === "error" && d("div", {
@@ -6171,9 +6165,9 @@ const _c = (e) => {
6171
6165
  onClick: () => {
6172
6166
  e.onRemove(e.item);
6173
6167
  }
6174
- }, [d(An, null, null)])]));
6168
+ }, [d(Pn, null, null)])]));
6175
6169
  }
6176
- }), Dr = 1, ru = /* @__PURE__ */ I({
6170
+ }), Dr = 1, au = /* @__PURE__ */ I({
6177
6171
  name: "AXAttachmentsFileList",
6178
6172
  __name: "FileList",
6179
6173
  props: {
@@ -6200,7 +6194,7 @@ const _c = (e) => {
6200
6194
  const m = n.value;
6201
6195
  m && (e.overflow === "scrollX" ? (l(Math.abs(m.scrollLeft) >= Dr), c(m.scrollWidth - m.clientWidth - Math.abs(m.scrollLeft) >= Dr)) : e.overflow === "scrollY" && (l(m.scrollTop !== 0), c(m.scrollHeight - m.clientHeight !== m.scrollTop)));
6202
6196
  };
6203
- N(() => e.overflow, () => {
6197
+ R(() => e.overflow, () => {
6204
6198
  f();
6205
6199
  }, {
6206
6200
  immediate: !0
@@ -6225,7 +6219,7 @@ const _c = (e) => {
6225
6219
  ref: "file-list-container",
6226
6220
  onScroll: f,
6227
6221
  style: e.listStyle
6228
- }, [e.items.map((m) => d(Zi, {
6222
+ }, [e.items.map((m) => d(Qi, {
6229
6223
  key: m.uid,
6230
6224
  prefixCls: e.prefixCls,
6231
6225
  item: m,
@@ -6234,9 +6228,9 @@ const _c = (e) => {
6234
6228
  style: {
6235
6229
  ...e.itemStyle
6236
6230
  }
6237
- }, null)), !o.value.disabled && d(qi, {
6231
+ }, null)), !o.value.disabled && d(Ki, {
6238
6232
  upload: e.upload,
6239
- children: d(At, {
6233
+ children: d(Pt, {
6240
6234
  class: `${t.value}-upload-btn`,
6241
6235
  type: "dashed"
6242
6236
  }, {
@@ -6244,13 +6238,13 @@ const _c = (e) => {
6244
6238
  class: `${t.value}-upload-btn-icon`
6245
6239
  }, null)]
6246
6240
  })
6247
- }, null), e.overflow === "scrollX" && d(ze, null, [d(At, {
6241
+ }, null), e.overflow === "scrollX" && d(ze, null, [d(Pt, {
6248
6242
  size: "small",
6249
6243
  shape: "circle",
6250
6244
  class: `${t.value}-prev-btn`,
6251
6245
  icon: d(wt, null, null),
6252
6246
  onClick: h
6253
- }, null), d(At, {
6247
+ }, null), d(Pt, {
6254
6248
  size: "small",
6255
6249
  shape: "circle",
6256
6250
  class: `${t.value}-next-btn`,
@@ -6259,10 +6253,10 @@ const _c = (e) => {
6259
6253
  }, null)])]);
6260
6254
  }
6261
6255
  });
6262
- function iu(e) {
6256
+ function lu(e) {
6263
6257
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !yn(e);
6264
6258
  }
6265
- const ou = /* @__PURE__ */ I({
6259
+ const su = /* @__PURE__ */ I({
6266
6260
  name: "AXAttachments",
6267
6261
  __name: "Attachments",
6268
6262
  props: oe({
@@ -6297,12 +6291,12 @@ const ou = /* @__PURE__ */ I({
6297
6291
  expose: t
6298
6292
  }) {
6299
6293
  const n = ue(e, ["prefixCls", "rootClassName", "rootStyle", "className", "style", "items", "children", "getDropContainer", "placeholder", "onChange", "overflow", "disabled", "classNames", "styles"]);
6300
- k(e, "prefixCls");
6294
+ V(e, "prefixCls");
6301
6295
  const {
6302
6296
  getPrefixCls: r,
6303
6297
  direction: i
6304
- } = K(), o = r("attachment", e.prefixCls), a = Ae("attachments"), l = g(() => a.value.classNames), s = g(() => a.value.styles), c = je("attachments-container"), f = je("attachments-upload"), [u, h, p] = Yi(o), m = g(() => O(h, p)), [v, b] = D(e.items);
6305
- N(() => e.items, () => {
6298
+ } = K(), o = r("attachment", e.prefixCls), a = Pe("attachments"), l = g(() => a.value.classNames), s = g(() => a.value.styles), c = je("attachments-container"), f = je("attachments-upload"), [u, h, p] = Zi(o), m = g(() => O(h, p)), [v, b] = D(e.items);
6299
+ R(() => e.items, () => {
6306
6300
  b(e.items);
6307
6301
  });
6308
6302
  const x = (w) => {
@@ -6320,7 +6314,7 @@ const ou = /* @__PURE__ */ I({
6320
6314
  });
6321
6315
  }, C = (w, y, M) => {
6322
6316
  const E = typeof e.placeholder == "function" ? e.placeholder(w) : e.placeholder;
6323
- return d(Dc, {
6317
+ return d(kc, {
6324
6318
  placeholder: E,
6325
6319
  upload: $.value,
6326
6320
  prefixCls: o,
@@ -6334,7 +6328,7 @@ const ou = /* @__PURE__ */ I({
6334
6328
  }, T = g(() => {
6335
6329
  let w;
6336
6330
  if (e.children)
6337
- return d(ze, null, [d(qi, {
6331
+ return d(ze, null, [d(Ki, {
6338
6332
  upload: $.value,
6339
6333
  rootClassName: e.rootClassName,
6340
6334
  ref: "attachments-upload",
@@ -6356,7 +6350,7 @@ const ou = /* @__PURE__ */ I({
6356
6350
  },
6357
6351
  dir: i.value || "ltr",
6358
6352
  ref: "attachments-container"
6359
- }, [d(ru, {
6353
+ }, [d(au, {
6360
6354
  prefixCls: o,
6361
6355
  items: v.value,
6362
6356
  onRemove: S,
@@ -6383,7 +6377,7 @@ const ou = /* @__PURE__ */ I({
6383
6377
  getDropContainer: e.getDropContainer || (() => c.value),
6384
6378
  prefixCls: o,
6385
6379
  className: m.value
6386
- }, iu(w = C("drop")) ? w : {
6380
+ }, lu(w = C("drop")) ? w : {
6387
6381
  default: () => [w]
6388
6382
  })]);
6389
6383
  });
@@ -6396,13 +6390,13 @@ const ou = /* @__PURE__ */ I({
6396
6390
  (E = (M = f.value) == null ? void 0 : M.nativeElement) == null ? void 0 : E.querySelector('input[type="file"]')
6397
6391
  );
6398
6392
  if (y) {
6399
- const A = new DataTransfer();
6400
- A.items.add(w), y.files = A.files, y.dispatchEvent(new Event("change", {
6393
+ const P = new DataTransfer();
6394
+ P.items.add(w), y.files = P.files, y.dispatchEvent(new Event("change", {
6401
6395
  bubbles: !0
6402
6396
  }));
6403
6397
  }
6404
6398
  }
6405
- }), () => u(d(Fc, {
6399
+ }), () => u(d(Wc, {
6406
6400
  value: {
6407
6401
  disabled: e.disabled
6408
6402
  }
@@ -6410,9 +6404,9 @@ const ou = /* @__PURE__ */ I({
6410
6404
  default: () => [T.value]
6411
6405
  }));
6412
6406
  }
6413
- }), Lu = Object.assign(ou, {
6414
- FileCard: Zi
6415
- }), au = (e, t, n) => {
6407
+ }), Fu = Object.assign(su, {
6408
+ FileCard: Qi
6409
+ }), cu = (e, t, n) => {
6416
6410
  const r = g(() => {
6417
6411
  const l = B(e);
6418
6412
  let s = {
@@ -6431,18 +6425,20 @@ const ou = /* @__PURE__ */ I({
6431
6425
  };
6432
6426
  }), [i, o] = D(r.value.customizeExpandedKeys), a = (l) => {
6433
6427
  var c, f;
6428
+ if (!r.value.enableCollapse)
6429
+ return;
6434
6430
  const s = i.value.includes(l) ? i.value.filter((u) => u !== l) : [...i.value, l];
6435
6431
  (f = (c = r.value).customizeOnExpand) == null || f.call(c, s), o(s);
6436
6432
  };
6437
6433
  return [
6438
- k(() => r.value.enableCollapse),
6434
+ g(() => r.value.enableCollapse),
6439
6435
  i,
6440
- r.value.enableCollapse ? a : void 0
6436
+ a
6441
6437
  // collapseMotion,
6442
6438
  ];
6443
6439
  };
6444
6440
  var bt = /* @__PURE__ */ ((e) => (e.PENDING = "pending", e.SUCCESS = "success", e.ERROR = "error", e))(bt || {});
6445
- const lu = (e) => {
6441
+ const uu = (e) => {
6446
6442
  const { componentCls: t } = e, n = `${t}-item`, r = {
6447
6443
  [bt.PENDING]: e.colorPrimaryText,
6448
6444
  [bt.SUCCESS]: e.colorSuccessText,
@@ -6463,7 +6459,7 @@ const lu = (e) => {
6463
6459
  };
6464
6460
  }), o;
6465
6461
  }, {});
6466
- }, su = (e) => {
6462
+ }, du = (e) => {
6467
6463
  const { calc: t, componentCls: n } = e, r = `${n}-item`, i = {
6468
6464
  content: '""',
6469
6465
  width: t(e.lineWidth).mul(2).equal(),
@@ -6512,7 +6508,7 @@ const lu = (e) => {
6512
6508
  }
6513
6509
  }
6514
6510
  };
6515
- }, cu = (e) => {
6511
+ }, fu = (e) => {
6516
6512
  const { componentCls: t } = e, n = `${t}-item`;
6517
6513
  return {
6518
6514
  [n]: {
@@ -6598,23 +6594,23 @@ const lu = (e) => {
6598
6594
  [`&${n}-${t}`]: {
6599
6595
  paddingInlineStart: r.itemSize,
6600
6596
  gap: r.itemGap,
6601
- ...cu({
6597
+ ...fu({
6602
6598
  ...e,
6603
6599
  ...r
6604
6600
  }),
6605
- ...su({
6601
+ ...du({
6606
6602
  ...e,
6607
6603
  ...r
6608
6604
  })
6609
6605
  }
6610
6606
  };
6611
- }, uu = (e) => {
6607
+ }, hu = (e) => {
6612
6608
  const { componentCls: t } = e;
6613
6609
  return {
6614
6610
  [t]: {
6615
6611
  display: "flex",
6616
6612
  flexDirection: "column",
6617
- ...lu(e),
6613
+ ...uu(e),
6618
6614
  ...Gt(e),
6619
6615
  ...Gt(e, "large"),
6620
6616
  ...Gt(e, "small"),
@@ -6623,7 +6619,7 @@ const lu = (e) => {
6623
6619
  }
6624
6620
  }
6625
6621
  };
6626
- }, du = Oe("ThoughtChain", (e) => {
6622
+ }, gu = Oe("ThoughtChain", (e) => {
6627
6623
  const t = de(e, {
6628
6624
  // small size tokens
6629
6625
  itemFontSizeSM: e.fontSizeSM,
@@ -6639,31 +6635,31 @@ const lu = (e) => {
6639
6635
  itemGapLG: e.marginLG
6640
6636
  });
6641
6637
  return [
6642
- uu(t)
6638
+ hu(t)
6643
6639
  // genCollapseMotion(compToken)
6644
6640
  ];
6645
- }), Qi = Symbol("ThoughtChainNodeContext"), mn = J(), fu = (e) => {
6646
- pe(Qi, e), N(
6641
+ }), Ji = Symbol("ThoughtChainNodeContext"), mn = J(), mu = (e) => {
6642
+ pe(Ji, e), R(
6647
6643
  e,
6648
6644
  () => {
6649
- mn.value = P(e), Ee(mn);
6645
+ mn.value = A(e), Ee(mn);
6650
6646
  },
6651
6647
  { immediate: !0, deep: !0 }
6652
6648
  );
6653
- }, hu = () => ie(
6654
- Qi,
6649
+ }, pu = () => ie(
6650
+ Ji,
6655
6651
  g(() => mn.value || {})
6656
- ), gu = I({
6652
+ ), vu = I({
6657
6653
  props: {
6658
- value: Pe()
6654
+ value: Ae()
6659
6655
  },
6660
6656
  setup(e, { slots: t }) {
6661
- return fu(g(() => e.value)), () => {
6657
+ return mu(g(() => e.value)), () => {
6662
6658
  var n;
6663
6659
  return (n = t.default) == null ? void 0 : n.call(t);
6664
6660
  };
6665
6661
  }
6666
- }), mu = /* @__PURE__ */ I({
6662
+ }), yu = /* @__PURE__ */ I({
6667
6663
  name: "AXThoughtChainNode",
6668
6664
  __name: "item",
6669
6665
  props: oe({
@@ -6680,7 +6676,7 @@ const lu = (e) => {
6680
6676
  attr: !0,
6681
6677
  aria: !0,
6682
6678
  data: !0
6683
- })), r = hu(), i = g(() => r.value.prefixCls), o = g(() => r.value.enableCollapse), a = g(() => r.value.expandedKeys), l = g(() => r.value.direction), s = g(() => r.value.classNames), c = g(() => r.value.styles), f = so(), u = g(() => e.info.key ?? f), h = g(() => e.info.icon), p = g(() => e.info.title), m = g(() => e.info.extra), v = g(() => e.info.content), b = g(() => e.info.footer), x = g(() => e.info.status), $ = g(() => e.info.description), S = g(() => `${i.value}-item`), C = () => {
6679
+ })), r = pu(), i = g(() => r.value.prefixCls), o = g(() => r.value.enableCollapse), a = g(() => r.value.expandedKeys), l = g(() => r.value.direction), s = g(() => r.value.classNames), c = g(() => r.value.styles), f = co(), u = g(() => e.info.key ?? f), h = g(() => e.info.icon), p = g(() => e.info.title), m = g(() => e.info.extra), v = g(() => e.info.content), b = g(() => e.info.footer), x = g(() => e.info.status), $ = g(() => e.info.description), S = g(() => `${i.value}-item`), C = () => {
6684
6680
  var y;
6685
6681
  return (y = e.onClick) == null ? void 0 : y.call(e, u.value);
6686
6682
  }, T = g(() => {
@@ -6697,7 +6693,7 @@ const lu = (e) => {
6697
6693
  class: O(`${S.value}-header`, s.value.itemHeader),
6698
6694
  style: c.value.itemHeader,
6699
6695
  onClick: C
6700
- }, [d(Kr, {
6696
+ }, [d(Yr, {
6701
6697
  icon: h.value,
6702
6698
  class: `${S.value}-icon`
6703
6699
  }, null), d("div", {
@@ -6736,19 +6732,19 @@ const lu = (e) => {
6736
6732
  class: `${S.value}-extra`
6737
6733
  }, [m.value])]),
6738
6734
  v.value && // TODO: add animation
6739
- w.value && d("div", {
6735
+ uo(d("div", {
6740
6736
  class: O(`${S.value}-content`)
6741
6737
  }, [d("div", {
6742
6738
  class: O(`${S.value}-content-box`, s.value.itemContent),
6743
6739
  style: c.value.itemContent
6744
- }, [v.value])]),
6740
+ }, [v.value])]), [[fo, w.value]]),
6745
6741
  b.value && d("div", {
6746
6742
  class: O(`${S.value}-footer`, s.value.itemFooter),
6747
6743
  style: c.value.itemFooter
6748
6744
  }, [b.value])
6749
6745
  ]);
6750
6746
  }
6751
- }), Ru = /* @__PURE__ */ I({
6747
+ }), Du = /* @__PURE__ */ I({
6752
6748
  name: "AXThoughtChain",
6753
6749
  __name: "ThoughtChain",
6754
6750
  props: oe({
@@ -6768,7 +6764,7 @@ const lu = (e) => {
6768
6764
  }),
6769
6765
  setup(e) {
6770
6766
  const t = ue(e, ["prefixCls", "rootClassName", "class", "items", "collapsible", "styles", "style", "classNames", "size"]);
6771
- k(e, "class"), k(e, "prefixCls");
6767
+ V(e, "class"), V(e, "prefixCls");
6772
6768
  const n = g(() => rt(t, {
6773
6769
  attr: !0,
6774
6770
  aria: !0,
@@ -6776,12 +6772,12 @@ const lu = (e) => {
6776
6772
  })), {
6777
6773
  getPrefixCls: r,
6778
6774
  direction: i
6779
- } = K(), o = g(() => r()), a = g(() => r("thought-chain", e.prefixCls)), l = Ae("thoughtChain"), [
6775
+ } = K(), o = g(() => r()), a = g(() => r("thought-chain", e.prefixCls)), l = Pe("thoughtChain"), [
6780
6776
  s,
6781
6777
  c,
6782
6778
  f
6783
6779
  // collapseMotion
6784
- ] = au(() => e.collapsible, a.value, o.value), [u, h, p] = du(a), m = g(() => O(e.class, e.rootClassName, a.value, l.value.className, h, p, {
6780
+ ] = cu(() => e.collapsible, a.value, o.value), [u, h, p] = gu(a), m = g(() => O(e.class, e.rootClassName, a.value, l.value.className, h, p, {
6785
6781
  [`${a.value}-rtl`]: i.value === "rtl"
6786
6782
  }, `${a.value}-${e.size}`));
6787
6783
  return () => u(d("div", _(n.value, {
@@ -6790,7 +6786,7 @@ const lu = (e) => {
6790
6786
  ...typeof l.value.style == "object" ? l.value.style : {},
6791
6787
  ...typeof e.style == "object" ? e.style : {}
6792
6788
  }
6793
- }), [d(gu, {
6789
+ }), [d(vu, {
6794
6790
  value: {
6795
6791
  prefixCls: a.value,
6796
6792
  enableCollapse: s.value,
@@ -6822,7 +6818,7 @@ const lu = (e) => {
6822
6818
  var v;
6823
6819
  return [(v = e.items) == null ? void 0 : v.map((b, x) => {
6824
6820
  var $;
6825
- return d(mu, {
6821
+ return d(yu, {
6826
6822
  key: b.key || `key_${x}`,
6827
6823
  class: O(l.value.classNames.item, e.classNames.item),
6828
6824
  style: {
@@ -6840,16 +6836,16 @@ const lu = (e) => {
6840
6836
  }
6841
6837
  })]));
6842
6838
  }
6843
- }), pu = `
6839
+ }), bu = `
6844
6840
 
6845
- `, vu = `
6841
+ `, Su = `
6846
6842
  `, Xr = ":", pn = (e) => (e ?? "").trim() !== "";
6847
- function yu() {
6843
+ function xu() {
6848
6844
  let e = "";
6849
6845
  return new TransformStream({
6850
6846
  transform(t, n) {
6851
6847
  e += t;
6852
- const r = e.split(pu);
6848
+ const r = e.split(bu);
6853
6849
  r.slice(0, -1).forEach((i) => {
6854
6850
  pn(i) && n.enqueue(i);
6855
6851
  }), e = r[r.length - 1];
@@ -6859,10 +6855,10 @@ function yu() {
6859
6855
  }
6860
6856
  });
6861
6857
  }
6862
- function bu() {
6858
+ function Cu() {
6863
6859
  return new TransformStream({
6864
6860
  transform(e, t) {
6865
- const r = e.split(vu).reduce((i, o) => {
6861
+ const r = e.split(Su).reduce((i, o) => {
6866
6862
  const a = o.indexOf(Xr);
6867
6863
  if (a === -1)
6868
6864
  throw new Error(
@@ -6890,7 +6886,7 @@ function Wr(e) {
6890
6886
  /**
6891
6887
  * Uint8Array binary -> string -> SSE part string -> Default Output {@link SSEOutput}
6892
6888
  */
6893
- t.pipeThrough(r).pipeThrough(yu()).pipeThrough(bu())
6889
+ t.pipeThrough(r).pipeThrough(xu()).pipeThrough(Cu())
6894
6890
  );
6895
6891
  return i[Symbol.asyncIterator] = async function* () {
6896
6892
  const o = this.getReader();
@@ -6901,7 +6897,7 @@ function Wr(e) {
6901
6897
  }
6902
6898
  }, i;
6903
6899
  }
6904
- const Su = async (e, t = {}) => {
6900
+ const $u = async (e, t = {}) => {
6905
6901
  const { fetch: n = globalThis.fetch, middlewares: r = {}, ...i } = t;
6906
6902
  if (typeof n != "function")
6907
6903
  throw new Error("The options.fetch must be a typeof fetch function!");
@@ -6932,7 +6928,7 @@ const Su = async (e, t = {}) => {
6932
6928
  headers: this.defaultHeaders
6933
6929
  };
6934
6930
  try {
6935
- const u = await Su(this.baseURL, {
6931
+ const u = await $u(this.baseURL, {
6936
6932
  fetch: this.customOptions.fetch,
6937
6933
  ...c
6938
6934
  });
@@ -6994,20 +6990,65 @@ const Su = async (e, t = {}) => {
6994
6990
  };
6995
6991
  $e.instanceBuffer = /* @__PURE__ */ new Map();
6996
6992
  let vn = $e;
6997
- const zu = vn.init;
6993
+ const wu = vn.init;
6994
+ let kr = 0;
6995
+ class Tu {
6996
+ constructor(t) {
6997
+ this.requestingMap = {}, this.request = (n, r) => {
6998
+ const { request: i } = this.config, { onUpdate: o, onSuccess: a, onError: l } = r, s = kr;
6999
+ kr += 1, this.requestingMap[s] = !0, i == null || i(n, {
7000
+ // Status should be unique.
7001
+ // One get success or error should not get more message
7002
+ onUpdate: (c) => {
7003
+ this.requestingMap[s] && o(c);
7004
+ },
7005
+ onSuccess: (c) => {
7006
+ this.requestingMap[s] && (a(c), this.finishRequest(s));
7007
+ },
7008
+ onError: (c) => {
7009
+ this.requestingMap[s] && (l(c), this.finishRequest(s));
7010
+ }
7011
+ });
7012
+ }, this.config = t;
7013
+ }
7014
+ finishRequest(t) {
7015
+ delete this.requestingMap[t];
7016
+ }
7017
+ isRequesting() {
7018
+ return Object.keys(this.requestingMap).length > 0;
7019
+ }
7020
+ }
7021
+ function Xu(e) {
7022
+ const { request: t, ...n } = e;
7023
+ return {
7024
+ agent: g(
7025
+ () => new Tu({
7026
+ // @ts-expect-error
7027
+ request: t || wu({
7028
+ baseURL: n.baseURL,
7029
+ model: n.model,
7030
+ dangerouslyApiKey: n.dangerouslyApiKey
7031
+ }).create,
7032
+ ...n
7033
+ })
7034
+ )
7035
+ };
7036
+ }
6998
7037
  export {
6999
- Lu as Attachments,
7000
- _l as Bubble,
7001
- Mu as BubbleList,
7002
- Iu as Conversations,
7003
- Nc as Prompts,
7004
- Nu as Suggestion,
7005
- Ru as ThoughtChain,
7006
- Hu as Welcome,
7007
- Su as XFetch,
7008
- Eu as XProvider,
7009
- zu as XRequest,
7038
+ Fu as Attachments,
7039
+ ns as Bubble,
7040
+ Nu as BubbleList,
7041
+ zu as Conversations,
7042
+ zc as Prompts,
7043
+ Bu as Suggestion,
7044
+ Du as ThoughtChain,
7045
+ ju as Welcome,
7046
+ Tu as XAgent,
7047
+ $u as XFetch,
7048
+ Iu as XProvider,
7049
+ wu as XRequest,
7010
7050
  Wr as XStream,
7011
- Tu as defaultPrefixCls,
7051
+ Mu as defaultPrefixCls,
7052
+ Xu as useXAgent,
7012
7053
  K as useXProviderContext
7013
7054
  };