@tdesign/site-components 0.18.0-alpha.6 → 0.18.0-alpha.8

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/lib/site.es.js CHANGED
@@ -24,14 +24,14 @@ function zt(e, t) {
24
24
  t(o), o.shadowRoot && zt(o.shadowRoot, t);
25
25
  }
26
26
  }
27
- const Sn = Promise.resolve(), ai = /* @__PURE__ */ new WeakMap(), Pn = zt.name === "walkInShadow", pt = /* @__PURE__ */ new Set();
28
- function Hr(e) {
29
- pt.size || Sn.then(li), pt.add(e);
27
+ const Sn = Promise.resolve(), si = /* @__PURE__ */ new WeakMap(), Pn = zt.name === "walkInShadow", pt = /* @__PURE__ */ new Set();
28
+ function Tr(e) {
29
+ pt.size || Sn.then(ci), pt.add(e);
30
30
  }
31
- function si(e) {
31
+ function li(e) {
32
32
  pt.delete(e);
33
33
  }
34
- function li() {
34
+ function ci() {
35
35
  for (const e of pt)
36
36
  try {
37
37
  e();
@@ -41,7 +41,7 @@ function li() {
41
41
  pt.clear();
42
42
  }
43
43
  const Rt = /* @__PURE__ */ new WeakMap(), ct = /* @__PURE__ */ new Set();
44
- function Pr(e) {
44
+ function Hr(e) {
45
45
  const t = /* @__PURE__ */ new Set(), n = t.values();
46
46
  for (; e; ) {
47
47
  if (e.resolved = !1, e.deps) {
@@ -52,7 +52,7 @@ function Pr(e) {
52
52
  if (e.contexts)
53
53
  for (const o of e.contexts)
54
54
  ct.has(o) || (t.add(o), e.contexts.delete(o));
55
- e.observe && Hr(e.observe), e = n.next().value;
55
+ e.observe && Tr(e.observe), e = n.next().value;
56
56
  }
57
57
  }
58
58
  function Xt(e, t) {
@@ -71,7 +71,7 @@ function Xt(e, t) {
71
71
  }, n.set(t, o)), o;
72
72
  }
73
73
  let Ae = null;
74
- function Br(e, t, n) {
74
+ function Pr(e, t, n) {
75
75
  const o = Xt(e, t);
76
76
  if (Ae && (o.contexts || (o.contexts = /* @__PURE__ */ new Set()), Ae.deps || (Ae.deps = /* @__PURE__ */ new Set()), o.contexts.add(Ae), Ae.deps.add(o)), o.resolved) return o.value;
77
77
  const r = Ae;
@@ -84,14 +84,14 @@ function Br(e, t, n) {
84
84
  }
85
85
  return o.value;
86
86
  }
87
- function ci(e, t, n, o) {
87
+ function di(e, t, n, o) {
88
88
  const r = Xt(e, t), i = n(e, o, r.value);
89
- i !== r.value && (r.value = i, Pr(r));
89
+ i !== r.value && (r.value = i, Hr(r));
90
90
  }
91
- function di(e, t, n, o) {
91
+ function ui(e, t, n, o) {
92
92
  const r = Xt(e, t);
93
93
  r.observe = () => {
94
- const i = Br(e, t, n);
94
+ const i = Pr(e, t, n);
95
95
  i !== r.lastValue && (o(e, i, r.lastValue), r.lastValue = i);
96
96
  };
97
97
  try {
@@ -100,11 +100,11 @@ function di(e, t, n, o) {
100
100
  console.error(i);
101
101
  }
102
102
  return () => {
103
- si(r.observe), r.observe = void 0, r.lastValue = void 0;
103
+ li(r.observe), r.observe = void 0, r.lastValue = void 0;
104
104
  };
105
105
  }
106
106
  const Dt = /* @__PURE__ */ new Set();
107
- function ui(e) {
107
+ function fi(e) {
108
108
  Dt.size || setTimeout(() => {
109
109
  for (const t of Dt)
110
110
  if (!t.contexts || t.contexts.size === 0) {
@@ -116,18 +116,18 @@ function ui(e) {
116
116
  Dt.clear();
117
117
  }), Dt.add(e);
118
118
  }
119
- function Or(e, t) {
120
- Pr(e), t.clearValue && (e.value = void 0, e.lastValue = void 0), t.deleteEntry && ui(e);
119
+ function Br(e, t) {
120
+ Hr(e), t.clearValue && (e.value = void 0, e.lastValue = void 0), t.deleteEntry && fi(e);
121
121
  }
122
- function Er(e, t, n = {}) {
122
+ function Or(e, t, n = {}) {
123
123
  const o = Xt(e, t);
124
- Or(o, n);
124
+ Br(o, n);
125
125
  }
126
- function fi(e, t = {}) {
126
+ function gi(e, t = {}) {
127
127
  const n = Rt.get(e);
128
128
  if (n)
129
129
  for (const o of n.values())
130
- Or(o, t);
130
+ Br(o, t);
131
131
  }
132
132
  function eo(e, t) {
133
133
  return {
@@ -146,7 +146,7 @@ function eo(e, t) {
146
146
  }
147
147
  };
148
148
  }
149
- const Mr = {
149
+ const Er = {
150
150
  string: (e, t, n) => {
151
151
  const o = t ? String(t) : "";
152
152
  return o ? e.setAttribute(n, o) : e.removeAttribute(n), o;
@@ -160,17 +160,17 @@ const Mr = {
160
160
  return o ? e.setAttribute(n, "") : e.removeAttribute(n), o;
161
161
  },
162
162
  undefined: (e, t, n) => {
163
- const o = typeof t, r = o !== "undefined" && Mr[o];
163
+ const o = typeof t, r = o !== "undefined" && Er[o];
164
164
  return r ? r(e, t, n) : (e.hasAttribute(n) && e.removeAttribute(n), t);
165
165
  }
166
- }, gi = {
166
+ }, pi = {
167
167
  string: (e, t) => e.getAttribute(t),
168
168
  number: (e, t) => Number(e.getAttribute(t)) || 0,
169
169
  boolean: (e, t) => e.hasAttribute(t),
170
170
  undefined: (e, t) => e.getAttribute(t)
171
171
  };
172
- function pi(e, t) {
173
- const n = typeof t.value, o = Mr[n], r = gi[n];
172
+ function hi(e, t) {
173
+ const n = typeof t.value, o = Er[n], r = pi[n];
174
174
  if (!o)
175
175
  throw TypeError(
176
176
  `Invalid default value for '${e}' property - it must be a string, number, boolean or undefined: ${n}`
@@ -199,7 +199,7 @@ function Bn(e, t) {
199
199
  delete this[a], this[a] = s;
200
200
  }
201
201
  const i = /* @__PURE__ */ new Set();
202
- Tt.set(this, i), Hr(() => {
202
+ Tt.set(this, i), Tr(() => {
203
203
  if (i === Tt.get(this)) {
204
204
  for (const a of t.connects) i.add(a(this));
205
205
  for (const a of t.observers) i.add(a(this));
@@ -210,7 +210,7 @@ function Bn(e, t) {
210
210
  const i = Tt.get(this);
211
211
  for (const a of i)
212
212
  a && a();
213
- Tt.delete(this), fi(this);
213
+ Tt.delete(this), gi(this);
214
214
  }
215
215
  };
216
216
  ht.set(t, Object.freeze(e));
@@ -232,30 +232,30 @@ function Bn(e, t) {
232
232
  a.get = (g, f) => (f === void 0 && (f = a.set(g, g.getAttribute(c) || f)), p(g, f));
233
233
  }
234
234
  if (hasOwnProperty.call(a, "value"))
235
- a = pi(i, a);
235
+ a = hi(i, a);
236
236
  else if (!a.get)
237
237
  throw TypeError(
238
238
  `Invalid descriptor for '${i}' property - it must contain 'value' or 'get' option`
239
239
  );
240
240
  a.set && r.add(i), Object.defineProperty(t.prototype, i, {
241
241
  get: function() {
242
- return Br(this, i, a.get);
242
+ return Pr(this, i, a.get);
243
243
  },
244
244
  set: a.set && function(p) {
245
- ci(this, i, a.set, p);
245
+ di(this, i, a.set, p);
246
246
  },
247
247
  enumerable: !0,
248
248
  configurable: !0
249
249
  }), a.connect && n.add(
250
250
  (c) => a.connect(c, i, () => {
251
- Er(c, i);
251
+ Or(c, i);
252
252
  })
253
- ), a.observe && o.add((c) => di(c, i, a.get, a.observe));
253
+ ), a.observe && o.add((c) => ui(c, i, a.get, a.observe));
254
254
  }
255
255
  return t.connects = n, t.observers = o, t.settable = r, t;
256
256
  }
257
257
  const rt = /* @__PURE__ */ new Map();
258
- function hi(e) {
258
+ function vi(e) {
259
259
  rt.size || Sn.then(() => {
260
260
  zt(globalThis.document.body, (t) => {
261
261
  if (rt.has(t.constructor)) {
@@ -263,14 +263,14 @@ function hi(e) {
263
263
  t.disconnectedCallback();
264
264
  for (const r of Object.keys(o)) {
265
265
  const i = typeof o[r], a = i !== "object" && i !== "function" && o[r] !== n[r];
266
- a && t.removeAttribute(Ct(r)), Er(t, r, { clearValue: a });
266
+ a && t.removeAttribute(Ct(r)), Or(t, r, { clearValue: a });
267
267
  }
268
268
  t.connectedCallback();
269
269
  }
270
270
  }), rt.clear();
271
271
  }), rt.set(e, ht.get(e));
272
272
  }
273
- function kr(e) {
273
+ function Mr(e) {
274
274
  if (!e.tag)
275
275
  throw TypeError(
276
276
  "Error while defining hybrids: 'tag' property with dashed tag name is required"
@@ -278,14 +278,14 @@ function kr(e) {
278
278
  const t = globalThis.customElements.get(e.tag);
279
279
  if (t) {
280
280
  if (ht.get(t))
281
- return hi(t), Bn(e, t), e;
281
+ return vi(t), Bn(e, t), e;
282
282
  throw TypeError(
283
283
  `Custom element with '${e.tag}' tag name already defined outside of the hybrids context`
284
284
  );
285
285
  }
286
286
  return globalThis.customElements.define(e.tag, Bn(e)), e;
287
287
  }
288
- function vi(e, { root: t = "", prefix: n } = {}) {
288
+ function mi(e, { root: t = "", prefix: n } = {}) {
289
289
  for (const o of Object.keys(e)) {
290
290
  const r = e[o];
291
291
  if (!r.tag) {
@@ -294,23 +294,23 @@ function vi(e, { root: t = "", prefix: n } = {}) {
294
294
  );
295
295
  r.tag = n ? `${n}-${i}` : i;
296
296
  }
297
- kr(r);
297
+ Mr(r);
298
298
  }
299
299
  return e;
300
300
  }
301
301
  const ie = Object.freeze(
302
- Object.assign(kr, {
302
+ Object.assign(Mr, {
303
303
  compile: (e) => Bn(e),
304
- from: vi
304
+ from: mi
305
305
  })
306
306
  ), ut = /* @__PURE__ */ new WeakMap();
307
- function je(e) {
307
+ function Se(e) {
308
308
  let t = ut.get(e);
309
309
  return t || (ut.set(e, t = {}), t);
310
310
  }
311
311
  function Ft(e) {
312
312
  let t;
313
- for (; e && (t = je(e)) && t.endNode; )
313
+ for (; e && (t = Se(e)) && t.endNode; )
314
314
  e = t.endNode;
315
315
  return e;
316
316
  }
@@ -334,7 +334,7 @@ function vt(e) {
334
334
  ut.set(e, {});
335
335
  }
336
336
  }
337
- const mi = Date.now(), Fe = (e = 0) => `H-${mi}-${e}`, In = !!(globalThis.document && globalThis.document.adoptedStyleSheets), Gt = /^\d+$/, bi = {
337
+ const bi = Date.now(), qe = (e = 0) => `H-${bi}-${e}`, In = !!(globalThis.document && globalThis.document.adoptedStyleSheets), Gt = /^\d+$/, wi = {
338
338
  // base
339
339
  block: (e, t) => ({
340
340
  display: "block",
@@ -455,35 +455,35 @@ const mi = Date.now(), Fe = (e = 0) => `H-${mi}-${e}`, In = !!(globalThis.docume
455
455
  };
456
456
  },
457
457
  view: (e, t) => ({ "view-transition-name": t })
458
- }, wi = {
458
+ }, Ci = {
459
459
  min: "min-content",
460
460
  max: "max-content",
461
461
  fit: "fit-content",
462
462
  full: "100%"
463
- }, Ci = {
463
+ }, yi = {
464
464
  portrait: "orientation: portrait",
465
465
  landscape: "orientation: landscape"
466
466
  };
467
467
  function le(e) {
468
- return e = wi[e] || e, /^-?\d+(\.\d+)*$/.test(String(e)) ? `${e * 8}px` : e || "";
468
+ return e = Ci[e] || e, /^-?\d+(\.\d+)*$/.test(String(e)) ? `${e * 8}px` : e || "";
469
469
  }
470
- let Ve;
471
- function Qr() {
472
- if (Ve) return Ve;
470
+ let Ze;
471
+ function kr() {
472
+ if (Ze) return Ze;
473
473
  if (In)
474
- Ve = new globalThis.CSSStyleSheet();
474
+ Ze = new globalThis.CSSStyleSheet();
475
475
  else {
476
476
  const e = globalThis.document.createElement("style");
477
- e.appendChild(globalThis.document.createTextNode("")), globalThis.document.head.appendChild(e), Ve = e.sheet;
477
+ e.appendChild(globalThis.document.createTextNode("")), globalThis.document.head.appendChild(e), Ze = e.sheet;
478
478
  }
479
- return Ve.insertRule(":host([hidden]) { display: none; }"), Ve;
479
+ return Ze.insertRule(":host([hidden]) { display: none; }"), Ze;
480
480
  }
481
481
  const to = /* @__PURE__ */ new WeakMap();
482
482
  let On = /* @__PURE__ */ new WeakSet();
483
- function yi(e) {
483
+ function xi(e) {
484
484
  const t = e.getRootNode();
485
485
  if (On.has(t)) return;
486
- const n = Qr();
486
+ const n = kr();
487
487
  if (In)
488
488
  t.adoptedStyleSheets = [...t.adoptedStyleSheets, n];
489
489
  else {
@@ -501,9 +501,9 @@ const no = /* @__PURE__ */ new Map();
501
501
  function oo(e, t, n, o) {
502
502
  let r = no.get(e);
503
503
  r || (r = `l-${Math.random().toString(36).substr(2, 5)}`, no.set(e, r)), In || (On = /* @__PURE__ */ new WeakSet());
504
- const i = Qr(), [a, s = ""] = t.split("@"), c = Object.entries(
504
+ const i = kr(), [a, s = ""] = t.split("@"), c = Object.entries(
505
505
  n.replace(/\s+/g, " ").trim().split(" ").reduce((g, f) => {
506
- const [b, ...C] = f.split(":"), u = bi[b];
506
+ const [b, ...C] = f.split(":"), u = wi[b];
507
507
  if (!u)
508
508
  throw TypeError(`Unsupported layout rule: '${b}'`);
509
509
  return Object.assign(
@@ -514,7 +514,7 @@ function oo(e, t, n, o) {
514
514
  ).reduce(
515
515
  (g, [f, b]) => b !== void 0 && b !== "" ? g + `${f}: ${b};` : g,
516
516
  ""
517
- ), p = s.split(":").reduce((g, f) => f === "" ? g : g + ` and (${Ci[f] || `min-width: ${f}`})`, "@media screen");
517
+ ), p = s.split(":").reduce((g, f) => f === "" ? g : g + ` and (${yi[f] || `min-width: ${f}`})`, "@media screen");
518
518
  if (o) {
519
519
  const g = `:host(.${r}-s${a})`, f = `:where(.${r}-c${a})`;
520
520
  [g, f].forEach((b) => {
@@ -533,8 +533,8 @@ function oo(e, t, n, o) {
533
533
  return r;
534
534
  }
535
535
  const En = /* @__PURE__ */ new WeakMap();
536
- function xi(e, t) {
537
- const n = je(e), o = n.startNode, r = Ft(n.endNode);
536
+ function Ai(e, t) {
537
+ const n = Se(e), o = n.startNode, r = Ft(n.endNode);
538
538
  t.parentNode.insertBefore(e, t.nextSibling);
539
539
  let i = e, a = o;
540
540
  for (; a; ) {
@@ -542,7 +542,7 @@ function xi(e, t) {
542
542
  i.parentNode.insertBefore(a, i.nextSibling), i = a, a = s !== r.nextSibling && s;
543
543
  }
544
544
  }
545
- function Ai(e, t, n, o, r) {
545
+ function Di(e, t, n, o, r) {
546
546
  let i = En.get(t);
547
547
  const a = n.map((g, f) => ({
548
548
  id: hasOwnProperty.call(g, "id") ? g.id : f,
@@ -557,7 +557,7 @@ function Ai(e, t, n, o, r) {
557
557
  i = i.filter((f) => g.has(f.id) ? !0 : (vt(f.placeholder), f.placeholder.parentNode.removeChild(f.placeholder), !1));
558
558
  }
559
559
  let s = t;
560
- const c = n.length - 1, p = je(t);
560
+ const c = n.length - 1, p = Se(t);
561
561
  for (let g = 0; g < a.length; g += 1) {
562
562
  const f = a[g];
563
563
  let b;
@@ -568,7 +568,7 @@ function Ai(e, t, n, o, r) {
568
568
  break;
569
569
  }
570
570
  }
571
- b ? (b.available = !1, f.placeholder = b.placeholder, f.placeholder.previousSibling !== s && xi(f.placeholder, s), b.value !== f.value && o(
571
+ b ? (b.available = !1, f.placeholder = b.placeholder, f.placeholder.previousSibling !== s && Ai(f.placeholder, s), b.value !== f.value && o(
572
572
  e,
573
573
  f.placeholder,
574
574
  f.value,
@@ -578,16 +578,16 @@ function Ai(e, t, n, o, r) {
578
578
  f.placeholder,
579
579
  s.nextSibling
580
580
  ), o(e, f.placeholder, f.value, void 0, r)), s = Ft(
581
- je(f.placeholder).endNode || f.placeholder
581
+ Se(f.placeholder).endNode || f.placeholder
582
582
  ), g === 0 && (p.startNode = f.placeholder), g === c && (p.endNode = s);
583
583
  }
584
584
  if (i)
585
585
  for (const g of i)
586
586
  g.available && (vt(g.placeholder), g.placeholder.parentNode.removeChild(g.placeholder));
587
587
  }
588
- function Di(e, t, n) {
588
+ function Ti(e, t, n) {
589
589
  vt(t);
590
- const o = je(t);
590
+ const o = Se(t);
591
591
  o.startNode = o.endNode = n, t.parentNode.insertBefore(n, t.nextSibling);
592
592
  }
593
593
  function ro(e) {
@@ -602,10 +602,10 @@ function mt(e, t, n, o, r) {
602
602
  const i = ro(n), a = ro(o);
603
603
  switch (a !== "undefined" && i !== a && (i !== "function" && vt(t), a === "array" ? En.delete(t) : a !== "node" && a !== "function" && (t.textContent = "")), i) {
604
604
  case "array":
605
- Ai(e, t, n, mt, r);
605
+ Di(e, t, n, mt, r);
606
606
  break;
607
607
  case "node":
608
- Di(e, t, n);
608
+ Ti(e, t, n);
609
609
  break;
610
610
  case "function":
611
611
  r && (n.useLayout = !0), n(e, t);
@@ -615,7 +615,7 @@ function mt(e, t, n, o, r) {
615
615
  }
616
616
  }
617
617
  const Ut = /* @__PURE__ */ new WeakMap();
618
- function Ti(e) {
618
+ function Hi(e) {
619
619
  return (t, n, o, r) => {
620
620
  if (r) {
621
621
  const i = Ut.get(n);
@@ -639,7 +639,7 @@ function Ti(e) {
639
639
  }
640
640
  };
641
641
  }
642
- function Hi(e, t = /* @__PURE__ */ new Set()) {
642
+ function Pi(e, t = /* @__PURE__ */ new Set()) {
643
643
  if (Array.isArray(e))
644
644
  for (const n of e)
645
645
  n && t.add(n);
@@ -651,8 +651,8 @@ function Hi(e, t = /* @__PURE__ */ new Set()) {
651
651
  return t;
652
652
  }
653
653
  const io = /* @__PURE__ */ new WeakMap();
654
- function Pi(e, t, n) {
655
- const o = io.get(t) || /* @__PURE__ */ new Set(), r = Hi(n);
654
+ function Bi(e, t, n) {
655
+ const o = io.get(t) || /* @__PURE__ */ new Set(), r = Pi(n);
656
656
  io.set(t, r);
657
657
  for (const i of r)
658
658
  t.classList.add(i), o.delete(i);
@@ -660,7 +660,7 @@ function Pi(e, t, n) {
660
660
  t.classList.remove(i);
661
661
  }
662
662
  const ao = /* @__PURE__ */ new WeakMap();
663
- function Bi(e, t, n) {
663
+ function Oi(e, t, n) {
664
664
  if (n === null || typeof n != "object")
665
665
  throw TypeError(
666
666
  `Style value must be an object in ${Lt(t)}:`,
@@ -675,16 +675,16 @@ function Bi(e, t, n) {
675
675
  t.style[i] = "";
676
676
  ao.set(t, r);
677
677
  }
678
- function Oi(e, t, n) {
678
+ function Ei(e, t, n) {
679
679
  if (t.substr(0, 2) === "on") {
680
680
  const o = t.substr(2);
681
- return Ti(o);
681
+ return Hi(o);
682
682
  }
683
683
  switch (e) {
684
684
  case "class":
685
- return Pi;
686
- case "style":
687
685
  return Bi;
686
+ case "style":
687
+ return Oi;
688
688
  default: {
689
689
  let o = !1;
690
690
  return (r, i, a) => {
@@ -700,16 +700,16 @@ function Oi(e, t, n) {
700
700
  }
701
701
  }
702
702
  }
703
- const Lr = Fe("(\\d+)"), it = new RegExp(`^${Lr}$`), Ye = new RegExp(Lr, "g"), Ei = /^[^A-Za-z]+$/;
704
- function Mi(e) {
703
+ const Qr = qe("(\\d+)"), it = new RegExp(`^${Qr}$`), Je = new RegExp(Qr, "g"), Mi = /^[^A-Za-z]+$/;
704
+ function ki(e) {
705
705
  let t = e[0], n = !1;
706
706
  for (let o = 1; o < e.length; o += 1)
707
707
  n = n || e[o - 1].match(
708
708
  /<\s*(table|tr|thead|tbody|tfoot|colgroup)([^<>]|"[^"]*"|'[^']*')*>\s*$/
709
- ), t += (n ? `<!--${Fe(o - 1)}-->` : Fe(o - 1)) + e[o], n = n && !e[o].match(/<\/\s*(table|tr|thead|tbody|tfoot|colgroup)\s*>/);
709
+ ), t += (n ? `<!--${qe(o - 1)}-->` : qe(o - 1)) + e[o], n = n && !e[o].match(/<\/\s*(table|tr|thead|tbody|tfoot|colgroup)\s*>/);
710
710
  return t;
711
711
  }
712
- function ki(e) {
712
+ function Qi(e) {
713
713
  return e.replace(/\s*=\s*['"]*$/g, "").split(/\s+/).pop();
714
714
  }
715
715
  function so(e) {
@@ -720,7 +720,7 @@ function so(e) {
720
720
  !1
721
721
  );
722
722
  }
723
- function Qi(e, t = 0) {
723
+ function Li(e, t = 0) {
724
724
  e = e.replace(/(^[\n\s\t ]+)|([\n\s\t ]+$)+/g, "");
725
725
  let n = e.indexOf(`
726
726
  `);
@@ -736,17 +736,17 @@ function Qi(e, t = 0) {
736
736
  return e;
737
737
  }
738
738
  function lo(e, t) {
739
- const n = Fe(t);
740
- return `${Qi(e).split(`
739
+ const n = qe(t);
740
+ return `${Li(e).split(`
741
741
  `).filter((r) => r).map((r) => {
742
742
  const i = r.indexOf(n);
743
743
  return i > -1 ? `| ${r}
744
744
  --${"-".repeat(i)}${"^".repeat(6)}` : `| ${r}`;
745
745
  }).join(`
746
- `).replace(Ye, "${...}")}`;
746
+ `).replace(Je, "${...}")}`;
747
747
  }
748
748
  const co = /* @__PURE__ */ new Map(), uo = /* @__PURE__ */ new WeakMap();
749
- function Li(e, t) {
749
+ function zi(e, t) {
750
750
  const n = uo.get(e);
751
751
  if (!n && !t) return;
752
752
  const o = t && t.map((i) => {
@@ -764,7 +764,7 @@ function Li(e, t) {
764
764
  o && (r = (r || e.adoptedStyleSheets).concat(o)), e.adoptedStyleSheets = r, uo.set(e, o);
765
765
  }
766
766
  const Kt = /* @__PURE__ */ new WeakMap();
767
- function zr(e, t) {
767
+ function Lr(e, t) {
768
768
  let n = Kt.get(e);
769
769
  if (t) {
770
770
  (!n || n.parentNode !== e) && (n = globalThis.document.createElement("style"), Kt.set(e, n), e = Ft(e), e.nodeType === globalThis.Node.TEXT_NODE ? e.parentNode.insertBefore(n, e.nextSibling) : e.appendChild(n));
@@ -775,13 +775,13 @@ function zr(e, t) {
775
775
  } else n && (n.parentNode.removeChild(n), Kt.set(e, null));
776
776
  }
777
777
  const fo = /* @__PURE__ */ new WeakMap();
778
- function zi(e, t) {
778
+ function Ri(e, t) {
779
779
  let n = fo.get(e);
780
- n || (n = e.adoptedStyleSheets ? Li : zr, fo.set(e, n)), n(e, t);
780
+ n || (n = e.adoptedStyleSheets ? zi : Lr, fo.set(e, n)), n(e, t);
781
781
  }
782
- function Ri(e, t, n, o) {
782
+ function ji(e, t, n, o) {
783
783
  let r = globalThis.document.createElement("template");
784
- const i = {}, a = Mi(e);
784
+ const i = {}, a = ki(e);
785
785
  r.innerHTML = a;
786
786
  let s;
787
787
  const c = r.content.children[0];
@@ -789,7 +789,7 @@ function Ri(e, t, n, o) {
789
789
  for (const u of Array.from(c.attributes)) {
790
790
  const l = u.value.trim();
791
791
  if (l && u.name.startsWith("layout")) {
792
- if (l.match(Ye))
792
+ if (l.match(Je))
793
793
  throw Error("Layout attribute cannot contain expressions");
794
794
  s = oo(
795
795
  c,
@@ -818,20 +818,20 @@ function Ri(e, t, n, o) {
818
818
  if (d)
819
819
  u.textContent = "", i[d[1]] = [f, mt];
820
820
  else {
821
- if (_i() && !b && !l.match(/^\s*$/)) {
821
+ if ($i() && !b && !l.match(/^\s*$/)) {
822
822
  let h;
823
- const w = l.trim(), y = w.replace(/\s+/g, " ").replace(Ye, (D, A) => (A = Number(A), h === void 0 && (h = A), `\${${A - h}}`));
824
- if (!y.match(Ei)) {
823
+ const w = l.trim(), y = w.replace(/\s+/g, " ").replace(Je, (D, A) => (A = Number(A), h === void 0 && (h = A), `\${${A - h}}`));
824
+ if (!y.match(Mi)) {
825
825
  let D = u.previousSibling && u.previousSibling.nodeType === globalThis.Node.COMMENT_NODE ? u.previousSibling : "";
826
826
  D && (D.parentNode.removeChild(D), f -= 1, D = (D.textContent.split("|")[1] || "").trim().replace(/\s+/g, " "));
827
- const A = $i(y, D).replace(
827
+ const A = ea(y, D).replace(
828
828
  /\${(\d+)}/g,
829
- (H, O) => Fe(Number(O) + h)
829
+ (H, O) => qe(Number(O) + h)
830
830
  );
831
831
  l = l.replace(w, A), u.textContent = l;
832
832
  }
833
833
  }
834
- const v = l.match(Ye);
834
+ const v = l.match(Je);
835
835
  if (v) {
836
836
  let h = u;
837
837
  v.reduce(
@@ -860,7 +860,7 @@ function Ri(e, t, n, o) {
860
860
  for (const l of Array.from(u.attributes)) {
861
861
  const d = l.value.trim(), v = l.name;
862
862
  if (o && v.startsWith("layout") && d) {
863
- if (d.match(Ye))
863
+ if (d.match(Je))
864
864
  throw Error("Layout attribute cannot contain expressions");
865
865
  const w = oo(u, v.substr(6), d);
866
866
  u.removeAttribute(v), u.classList.add(w);
@@ -868,13 +868,13 @@ function Ri(e, t, n, o) {
868
868
  }
869
869
  const h = d.match(it);
870
870
  if (h) {
871
- const w = ki(e[h[1]]);
871
+ const w = Qi(e[h[1]]);
872
872
  i[h[1]] = [
873
873
  f,
874
- Oi(v, w)
874
+ Ei(v, w)
875
875
  ], u.removeAttribute(l.name);
876
876
  } else {
877
- const w = d.match(Ye);
877
+ const w = d.match(Je);
878
878
  if (w) {
879
879
  const y = `attr__${v}`;
880
880
  for (const [D, A] of w.entries()) {
@@ -883,7 +883,7 @@ function Ri(e, t, n, o) {
883
883
  i[H] = [
884
884
  f,
885
885
  (P, x, B) => {
886
- const k = je(x);
886
+ const k = Se(x);
887
887
  k[y] = (k[y] || d).replace(
888
888
  A,
889
889
  B ?? ""
@@ -904,7 +904,7 @@ ${lo(a, -1)}`
904
904
  );
905
905
  const C = Object.keys(i);
906
906
  return function(l, d, v, { styleSheets: h }) {
907
- let w = je(d);
907
+ let w = Se(d);
908
908
  if (r !== w.template) {
909
909
  const y = globalThis.document.importNode(r.content, !0), D = so(y), A = [];
910
910
  let H = 0, O = 0, P = i[C[O]];
@@ -918,8 +918,8 @@ ${lo(a, -1)}`
918
918
  }), O += 1, P = i[C[O]];
919
919
  H += 1;
920
920
  }
921
- if (w.hostLayout && l.classList.remove(w.hostLayout), vt(d), w = je(d), w.template = r, w.markers = A, d.nodeType === globalThis.Node.TEXT_NODE) {
922
- zr(d), w.startNode = y.childNodes[0], w.endNode = y.childNodes[y.childNodes.length - 1];
921
+ if (w.hostLayout && l.classList.remove(w.hostLayout), vt(d), w = Se(d), w.template = r, w.markers = A, d.nodeType === globalThis.Node.TEXT_NODE) {
922
+ Lr(d), w.startNode = y.childNodes[0], w.endNode = y.childNodes[y.childNodes.length - 1];
923
923
  let x = d, B = y.childNodes[0];
924
924
  for (; B; )
925
925
  d.parentNode.insertBefore(B, x.nextSibling), x = B, B = y.childNodes[0];
@@ -930,9 +930,9 @@ ${lo(a, -1)}`
930
930
  }
931
931
  d.appendChild(y);
932
932
  }
933
- o && yi(d);
933
+ o && xi(d);
934
934
  }
935
- zi(d, h);
935
+ Ri(d, h);
936
936
  for (const y of w.markers) {
937
937
  const D = v[y.index], A = w.prevArgs && w.prevArgs[y.index];
938
938
  if (!(w.prevArgs && D === A))
@@ -951,7 +951,7 @@ ${lo(a, y.index)}`
951
951
  };
952
952
  }
953
953
  const Vt = /* @__PURE__ */ new WeakMap();
954
- function ji(e, t, n = 200) {
954
+ function Si(e, t, n = 200) {
955
955
  return function o(r, i) {
956
956
  const a = o.useLayout;
957
957
  let s;
@@ -983,11 +983,11 @@ function go({ target: e, detail: t }, n) {
983
983
  }
984
984
  n(o);
985
985
  }
986
- function Si(e, t) {
986
+ function Ii(e, t) {
987
987
  return e.split(".").reverse().reduce((n, o) => n ? { [o]: n } : { [o]: t }, null);
988
988
  }
989
989
  const po = /* @__PURE__ */ new Map();
990
- function Ii(e, t) {
990
+ function Ni(e, t) {
991
991
  if (!e)
992
992
  throw Error(
993
993
  `The first argument must be a property name or an object instance: ${e}`
@@ -997,14 +997,14 @@ function Ii(e, t) {
997
997
  throw Error(
998
998
  "For model instance property the second argument must be defined"
999
999
  );
1000
- const o = ai.get(e);
1000
+ const o = si.get(e);
1001
1001
  if (!o)
1002
1002
  throw Error("Provided object must be a model instance of the store");
1003
1003
  return t === null ? () => {
1004
1004
  o.set(e, null);
1005
1005
  } : (r, i) => {
1006
1006
  go(i, (a) => {
1007
- o.set(e, Si(t, a));
1007
+ o.set(e, Ii(t, a));
1008
1008
  });
1009
1009
  };
1010
1010
  }
@@ -1020,7 +1020,7 @@ function Ii(e, t) {
1020
1020
  }, po.set(e, n)), n;
1021
1021
  }
1022
1022
  let Ht;
1023
- const Ni = globalThis.document && globalThis.document.startViewTransition !== void 0 && function(t) {
1023
+ const Xi = globalThis.document && globalThis.document.startViewTransition !== void 0 && function(t) {
1024
1024
  return function n(o, r) {
1025
1025
  if (Ht) {
1026
1026
  console.warn(
@@ -1035,55 +1035,55 @@ const Ni = globalThis.document && globalThis.document.startViewTransition !== vo
1035
1035
  })));
1036
1036
  };
1037
1037
  } || // istanbul ignore next
1038
- ((e) => e), Xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1038
+ ((e) => e), Fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1039
1039
  __proto__: null,
1040
- resolve: ji,
1041
- set: Ii,
1042
- transition: Ni
1040
+ resolve: Si,
1041
+ set: Ni,
1042
+ transition: Xi
1043
1043
  }, Symbol.toStringTag, { value: "Module" }));
1044
- function Fi(e) {
1044
+ function qi(e) {
1045
1045
  return this.id = e, this;
1046
1046
  }
1047
- function qi(...e) {
1047
+ function Gi(...e) {
1048
1048
  return this.styleSheets = this.styleSheets || [], this.styleSheets.push(...e), this;
1049
1049
  }
1050
- function Gi(e, ...t) {
1050
+ function Ui(e, ...t) {
1051
1051
  this.styleSheets = this.styleSheets || [];
1052
1052
  let n = e[0];
1053
1053
  for (let o = 1; o < e.length; o++)
1054
1054
  n += (t[o - 1] !== void 0 ? t[o - 1] : "") + e[o];
1055
1055
  return this.styleSheets.push(n), this;
1056
1056
  }
1057
- function Ui(e) {
1057
+ function Ki(e) {
1058
1058
  return this.plugins = this.plugins || [], this.plugins.push(e), this;
1059
1059
  }
1060
- const Ki = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1060
+ const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1061
1061
  __proto__: null,
1062
- css: Gi,
1063
- key: Fi,
1064
- style: qi,
1065
- use: Ui
1066
- }, Symbol.toStringTag, { value: "Module" })), Vi = Fe(), Zi = Fe("layout"), ho = /* @__PURE__ */ new Map();
1067
- function Yi(e, t, n, o) {
1062
+ css: Ui,
1063
+ key: qi,
1064
+ style: Gi,
1065
+ use: Ki
1066
+ }, Symbol.toStringTag, { value: "Module" })), Zi = qe(), Yi = qe("layout"), ho = /* @__PURE__ */ new Map();
1067
+ function Ji(e, t, n, o) {
1068
1068
  function r(i, a = i) {
1069
- let s = e.join(Vi);
1069
+ let s = e.join(Zi);
1070
1070
  const c = r.useLayout;
1071
- c && (s += Zi);
1071
+ c && (s += Yi);
1072
1072
  let p = ho.get(s);
1073
- p || (p = Ri(e, n, o, c), ho.set(s, p)), r.plugins ? r.plugins.reduce(
1073
+ p || (p = ji(e, n, o, c), ho.set(s, p)), r.plugins ? r.plugins.reduce(
1074
1074
  (g, f) => f(g),
1075
1075
  () => p(i, a, t, r)
1076
1076
  )(i, a) : p(i, a, t, r);
1077
1077
  }
1078
- return Object.assign(r, Ki);
1078
+ return Object.assign(r, Vi);
1079
1079
  }
1080
1080
  function R(e, ...t) {
1081
- return Yi(e, t, !1, !1);
1081
+ return Ji(e, t, !1, !1);
1082
1082
  }
1083
- Object.freeze(Object.assign(R, Xi));
1083
+ Object.freeze(Object.assign(R, Fi));
1084
1084
  const Mt = /* @__PURE__ */ new Map(), vo = /* @__PURE__ */ new Map();
1085
- let Ji = null;
1086
- const Wi = (() => {
1085
+ let Wi = null;
1086
+ const _i = (() => {
1087
1087
  let e;
1088
1088
  try {
1089
1089
  e = globalThis.navigator.languages || [globalThis.navigator.language];
@@ -1095,17 +1095,17 @@ const Wi = (() => {
1095
1095
  return t.add(n), n !== o && t.add(o), t;
1096
1096
  }, /* @__PURE__ */ new Set());
1097
1097
  })();
1098
- function _i() {
1098
+ function $i() {
1099
1099
  return Mt.size;
1100
1100
  }
1101
1101
  const mo = /* @__PURE__ */ new Map();
1102
- function $i(e, t, n = []) {
1102
+ function ea(e, t, n = []) {
1103
1103
  e = e.trim().replace(/\s+/g, " "), t = t.trim();
1104
1104
  const o = `${e} | ${t}`;
1105
1105
  let r = vo.get(o);
1106
1106
  if (!r) {
1107
1107
  if (Mt.size)
1108
- for (const i of Wi) {
1108
+ for (const i of _i) {
1109
1109
  const a = Mt.get(i);
1110
1110
  if (a && (r = a[o] || a[e], r)) {
1111
1111
  if (r = r.message, typeof r == "object") {
@@ -1117,25 +1117,13 @@ function $i(e, t, n = []) {
1117
1117
  break;
1118
1118
  }
1119
1119
  }
1120
- r || r || (r = e, (Mt.size || Ji) && Pn && console.warn(
1120
+ r || r || (r = e, (Mt.size || Wi) && Pn && console.warn(
1121
1121
  `Missing translation: "${e}"${t ? ` [${t}]` : ""}`
1122
1122
  )), vo.set(o, r);
1123
1123
  }
1124
1124
  return typeof r == "function" ? r(n[0]) : r;
1125
1125
  }
1126
- const Nn = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
1127
- <path
1128
- d="M16 17.8385L22.1518 23.9903L23.9903 22.1518L17.8385 16L23.9903 9.84817L22.1518 8.0097L16 14.1615L9.84812 8.00964L8.00964 9.84812L14.1615 16L8.00964 22.1518L9.84812 23.9903L16 17.8385Z"
1129
- fill="currentColor" />
1130
- </svg>`, Rr = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1131
- <path d="M3.75 5.7998L7.99274 10.0425L12.2361 5.79921" stroke="currentColor" />
1132
- </svg>
1133
- `, ea = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1134
- <path fill-rule="evenodd" clip-rule="evenodd"
1135
- d="M12 2.23999C6.475 2.23999 2 6.71499 2 12.24C2 16.665 4.8625 20.4025 8.8375 21.7275C9.3375 21.815 9.525 21.515 9.525 21.2525C9.525 21.015 9.5125 20.2275 9.5125 19.39C7 19.8525 6.35 18.7775 6.15 18.215C6.0375 17.9275 5.55 17.04 5.125 16.8025C4.775 16.615 4.275 16.1525 5.1125 16.14C5.9 16.1275 6.4625 16.865 6.65 17.165C7.55 18.6775 8.9875 18.2525 9.5625 17.99C9.65 17.34 9.9125 16.9025 10.2 16.6525C7.975 16.4025 5.65 15.54 5.65 11.715C5.65 10.6275 6.0375 9.72749 6.675 9.02749C6.575 8.77749 6.225 7.75249 6.775 6.37749C6.775 6.37749 7.6125 6.11499 9.525 7.40249C10.325 7.17749 11.175 7.06499 12.025 7.06499C12.875 7.06499 13.725 7.17749 14.525 7.40249C16.4375 6.10249 17.275 6.37749 17.275 6.37749C17.825 7.75249 17.475 8.77749 17.375 9.02749C18.0125 9.72749 18.4 10.615 18.4 11.715C18.4 15.5525 16.0625 16.4025 13.8375 16.6525C14.2 16.965 14.5125 17.565 14.5125 18.5025C14.5125 19.84 14.5 20.915 14.5 21.2525C14.5 21.515 14.6875 21.8275 15.1875 21.7275C17.1727 21.0573 18.8977 19.7815 20.1198 18.0795C21.3419 16.3776 21.9995 14.3352 22 12.24C22 6.71499 17.525 2.23999 12 2.23999Z"
1136
- fill="currentColor" />
1137
- </svg>`, Zt = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M24.0133%205.06641L19.9833%2012.0465L15.9535%205.06641H2.5332L19.9835%2035.2915L37.4337%205.06641H24.0133Z'%20fill='%2342B983'/%3e%3cpath%20d='M24.0137%205.06641L19.9837%2012.0465L15.9538%205.06641H9.51367L19.9838%2023.2011L30.4539%205.06641H24.0137Z'%20fill='%2335495E'/%3e%3c/svg%3e", bo = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.1175%205.91895C28.521%206.15192%2028.9018%206.65217%2029.1092%207.6216C29.3165%208.59087%2029.316%209.89706%2029.0621%2011.4818C28.9831%2011.9749%2028.8805%2012.4888%2028.7548%2013.0205C27.3951%2012.7295%2025.934%2012.5052%2024.4005%2012.3569C23.5053%2011.103%2022.5805%209.94987%2021.6487%208.91778C22.0462%208.54307%2022.44%208.19733%2022.8276%207.88233C24.0731%206.87007%2025.204%206.21654%2026.1471%205.91145C27.0903%205.60631%2027.7139%205.68597%2028.1175%205.91895ZM18.3272%208.91778C17.9297%208.54307%2017.5359%208.19734%2017.1483%207.88235C15.9029%206.87009%2014.7719%206.21656%2013.8288%205.91147C12.8856%205.60633%2012.262%205.68599%2011.8585%205.91896C11.4549%206.15194%2011.0741%206.65219%2010.8668%207.62162C10.6595%208.59088%2010.66%209.89708%2010.9138%2011.4818C10.9929%2011.975%2011.0954%2012.4888%2011.2211%2013.0205C12.5809%2012.7295%2014.0419%2012.5052%2015.5755%2012.3569C16.4706%2011.103%2017.3954%209.94987%2018.3272%208.91778ZM19.988%207.21345C19.5394%206.78938%2019.0922%206.39612%2018.649%206.03591C17.2716%204.91642%2015.8816%204.07479%2014.5612%203.64762C13.2409%203.2205%2011.8585%203.17148%2010.6688%203.85837C9.47905%204.54526%208.83027%205.76701%208.54003%207.12395C8.24976%208.48106%208.28365%2010.1056%208.56444%2011.8582C8.65479%2012.4222%208.7718%2013.006%208.91475%2013.6065C8.32322%2013.783%207.75908%2013.9736%207.22554%2014.1773C5.56732%2014.8104%204.14347%2015.5934%203.11332%2016.5233C2.08329%2017.4531%201.34961%2018.6259%201.34961%2019.9996C1.34961%2021.3734%202.08329%2022.5461%203.11332%2023.476C4.14347%2024.4059%205.56732%2025.1888%207.22554%2025.822C7.75909%2026.0257%208.32324%2026.2163%208.91478%2026.3927C8.77182%2026.9933%208.65481%2027.5772%208.56445%2028.1411C8.28366%2029.8937%208.24976%2031.5183%208.54004%2032.8754C8.83028%2034.2323%209.47905%2035.4541%2010.6688%2036.141C11.8585%2036.8279%2013.241%2036.7788%2014.5612%2036.3517C15.8816%2035.9246%2017.2716%2035.0829%2018.649%2033.9634C19.0922%2033.6032%2019.5394%2033.21%2019.988%2032.7859C20.4365%2033.21%2020.8837%2033.6032%2021.3269%2033.9635C22.7043%2035.0829%2024.0943%2035.9246%2025.4147%2036.3517C26.735%2036.7789%2028.1174%2036.8279%2029.3071%2036.141C30.4969%2035.4541%2031.1456%2034.2324%2031.4359%2032.8754C31.7262%2031.5183%2031.6923%2029.8937%2031.4115%2028.1411C31.3211%2027.5772%2031.2041%2026.9933%2031.0611%2026.3928C31.6527%2026.2163%2032.2169%2026.0257%2032.7504%2025.822C34.4087%2025.1888%2035.8325%2024.4059%2036.8627%2023.476C37.8927%2022.5461%2038.6264%2021.3734%2038.6264%2019.9996C38.6264%2018.6259%2037.8927%2017.4531%2036.8627%2016.5233C35.8325%2015.5934%2034.4087%2014.8104%2032.7504%2014.1773C32.2169%2013.9736%2031.6527%2013.783%2031.0612%2013.6065C31.2041%2013.006%2031.3211%2012.4221%2031.4115%2011.8582C31.6923%2010.1056%2031.7262%208.48104%2031.4359%207.12393C31.1457%205.76699%2030.4969%204.54524%2029.3072%203.85835C28.1174%203.17147%2026.735%203.22049%2025.4147%203.6476C24.0943%204.07477%2022.7043%204.9164%2021.3269%206.03589C20.8837%206.3961%2020.4365%206.78938%2019.988%207.21345ZM28.1027%2015.3146C27.4695%2015.1824%2026.8097%2015.0649%2026.1268%2014.9637C26.3504%2015.3277%2026.5709%2015.6979%2026.7879%2016.0737C27.0049%2016.4496%2027.2152%2016.8256%2027.4186%2017.2013C27.6724%2016.5592%2027.9006%2015.9291%2028.1027%2015.3146ZM28.813%2019.9997C29.4514%2018.5974%2029.9876%2017.22%2030.4155%2015.8969C30.9388%2016.0538%2031.4351%2016.222%2031.9017%2016.4001C33.4011%2016.9726%2034.5326%2017.6253%2035.2683%2018.2895C36.0042%2018.9538%2036.247%2019.5337%2036.247%2019.9996C36.247%2020.4656%2036.0042%2021.0455%2035.2683%2021.7098C34.5326%2022.374%2033.4011%2023.0266%2031.9017%2023.5991C31.4351%2023.7773%2030.9388%2023.9454%2030.4155%2024.1024C29.9876%2022.7793%2029.4513%2021.4019%2028.813%2019.9997ZM26.183%2019.9997C25.7431%2019.097%2025.2576%2018.1819%2024.7273%2017.2634C24.197%2016.3449%2023.6473%2015.4669%2023.0854%2014.6346C22.0837%2014.5641%2021.0485%2014.5271%2019.988%2014.5271C18.9274%2014.5271%2017.8922%2014.5641%2016.8905%2014.6346C16.3286%2015.4669%2015.7789%2016.3449%2015.2486%2017.2634C14.7183%2018.1819%2014.2328%2019.0969%2013.7929%2019.9997C14.2328%2020.9024%2014.7183%2021.8175%2015.2486%2022.736C15.7789%2023.6544%2016.3286%2024.5324%2016.8904%2025.3647C17.8921%2025.4351%2018.9274%2025.4722%2019.988%2025.4722C21.0485%2025.4722%2022.0838%2025.4351%2023.0855%2025.3647C23.6474%2024.5324%2024.1971%2023.6544%2024.7273%2022.7359C25.2576%2021.8175%2025.7431%2020.9024%2026.183%2019.9997ZM26.1268%2025.0356C26.3504%2024.6716%2026.5709%2024.3015%2026.7879%2023.9256C27.0049%2023.5498%2027.2152%2023.1738%2027.4186%2022.7981C27.6724%2023.4401%2027.9006%2024.0702%2028.1027%2024.6847C27.4695%2024.8169%2026.8097%2024.9343%2026.1268%2025.0356ZM21.2798%2027.834C20.8528%2027.8456%2020.422%2027.8515%2019.988%2027.8515C19.554%2027.8515%2019.1232%2027.8456%2018.6961%2027.834C19.1252%2028.3748%2019.5568%2028.8875%2019.988%2029.3698C20.4191%2028.8875%2020.8507%2028.3748%2021.2798%2027.834ZM21.6487%2031.0816C22.5805%2030.0495%2023.5053%2028.8963%2024.4005%2027.6424C25.934%2027.4941%2027.3951%2027.2698%2028.7548%2026.9788C28.8805%2027.5105%2028.9831%2028.0244%2029.0621%2028.5175C29.316%2030.1023%2029.3165%2031.4085%2029.1091%2032.3777C28.9018%2033.3472%2028.521%2033.8474%2028.1175%2034.0804C27.7139%2034.3134%2027.0903%2034.393%2026.1471%2034.0879C25.204%2033.7828%2024.0731%2033.1293%2022.8276%2032.117C22.44%2031.802%2022.0462%2031.4563%2021.6487%2031.0816ZM18.3272%2031.0816C17.3954%2030.0495%2016.4706%2028.8963%2015.5754%2027.6424C14.0419%2027.494%2012.5809%2027.2698%2011.2211%2026.9788C11.0954%2027.5105%2010.9929%2028.0244%2010.9139%2028.5175C10.66%2030.1023%2010.6595%2031.4085%2010.8668%2032.3777C11.0741%2033.3472%2011.4549%2033.8474%2011.8585%2034.0804C12.262%2034.3134%2012.8856%2034.393%2013.8288%2034.0879C14.7719%2033.7828%2015.9029%2033.1293%2017.1483%2032.117C17.5359%2031.802%2017.9297%2031.4563%2018.3272%2031.0816ZM11.8732%2024.6847C12.5064%2024.8169%2013.1662%2024.9343%2013.8491%2025.0356C13.6255%2024.6716%2013.405%2024.3015%2013.188%2023.9256C12.971%2023.5498%2012.7607%2023.1738%2012.5573%2022.7981C12.3035%2023.4401%2012.0754%2024.0702%2011.8732%2024.6847ZM12.5573%2017.2012C12.7607%2016.8256%2012.971%2016.4496%2013.188%2016.0737C13.405%2015.6978%2013.6255%2015.3277%2013.8491%2014.9637C13.1662%2015.0649%2012.5064%2015.1824%2011.8732%2015.3146C12.0753%2015.9291%2012.3035%2016.5592%2012.5573%2017.2012ZM11.1629%2019.9997C10.5246%2021.4019%209.98831%2022.7793%209.56042%2024.1023C9.03713%2023.9454%208.54083%2023.7773%208.07426%2023.5991C6.57488%2023.0266%205.44343%2022.374%204.70768%2021.7098C3.9718%2021.0455%203.72898%2020.4656%203.72898%2019.9996C3.72898%2019.5337%203.9718%2018.9538%204.70768%2018.2895C5.44343%2017.6253%206.57488%2016.9726%208.07426%2016.4001C8.54082%2016.222%209.03711%2016.0539%209.56038%2015.8969C9.98828%2017.22%2010.5246%2018.5974%2011.1629%2019.9997ZM18.6962%2012.1653C19.1232%2012.1536%2019.554%2012.1477%2019.988%2012.1477C20.422%2012.1477%2020.8527%2012.1536%2021.2797%2012.1652C20.8506%2011.6245%2020.419%2011.1119%2019.988%2010.6295C19.5569%2011.1119%2019.1253%2011.6245%2018.6962%2012.1653ZM23.2393%2019.9997C23.2393%2021.7956%2021.7834%2023.2515%2019.9875%2023.2515C18.1916%2023.2515%2016.7357%2021.7956%2016.7357%2019.9997C16.7357%2018.2038%2018.1916%2016.7479%2019.9875%2016.7479C21.7834%2016.7479%2023.2393%2018.2038%2023.2393%2019.9997Z'%20fill='%2361DAFB'/%3e%3c/svg%3e", wo = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_22539_139637'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='40'%20height='40'%3e%3crect%20width='40'%20height='40'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_22539_139637)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M32.4972%204.95434C35.1486%206.25306%2036.7951%208.81475%2037.3777%2012.1934C37.9432%2015.473%2036.4782%2018.0897%2034.8157%2019.8171C33.1907%2021.5055%2031.1401%2022.6188%2029.704%2023.0506C28.3818%2023.4482%2026.9876%2022.6987%2026.59%2021.3764C26.1924%2020.0542%2026.942%2018.66%2028.2642%2018.2624C28.8967%2018.0722%2030.1971%2017.4056%2031.2131%2016.3499C32.1915%2015.3333%2032.6572%2014.2419%2032.4504%2013.043C32.0677%2010.8235%2031.1629%209.86839%2030.2978%209.4446C29.3298%208.97047%2027.8151%208.86811%2025.7622%209.53967C23.2029%2010.3769%2022.7262%2012.1074%2022.6585%2012.7263V28.3271L22.6246%2028.5308C22.3096%2030.4256%2021.0062%2032.7905%2018.9145%2034.4353C16.6883%2036.1857%2013.5289%2037.1461%209.75544%2035.9603C5.964%2034.7689%203.98007%2032.1666%203.23478%2029.4408C2.53713%2026.8892%202.92557%2024.2691%203.68407%2022.6241C4.14363%2021.6274%205.13716%2020.3341%206.39848%2019.2718C7.67494%2018.1968%209.53668%2017.0968%2011.7876%2017.0101C13.1673%2016.9569%2014.3289%2018.0322%2014.3821%2019.4119C14.4353%2020.7916%2013.3599%2021.9532%2011.9802%2022.0063C11.2523%2022.0344%2010.4251%2022.4177%209.61935%2023.0962C8.79849%2023.7876%208.31664%2024.5182%208.22464%2024.7177C7.94126%2025.3323%207.68144%2026.7458%208.05776%2028.1221C8.38644%2029.3243%209.19871%2030.5443%2011.2543%2031.1903C13.3279%2031.8419%2014.7885%2031.319%2015.8239%2030.5048C16.8991%2029.6594%2017.4928%2028.509%2017.6585%2027.8677V12.5293L17.6648%2012.4407C17.8097%2010.4042%2019.1476%206.44281%2024.2076%204.7875C26.9814%203.8801%2029.9486%203.70596%2032.4972%204.95434Z'%20fill='%2300A870'/%3e%3c/g%3e%3c/svg%3e", ta = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M23.1861%203.33301L6.5%2019.9997L11.6389%2025.1386L33.4222%203.34967H23.2042L23.1861%203.33301ZM23.2056%2018.7108L14.2181%2027.6788L23.2042%2036.665H33.4444L24.4722%2027.6816L33.4444%2018.7094L23.2056%2018.7108Z'%20fill='%2344D1FD'/%3e%3c/svg%3e";
1138
- function jr(e) {
1126
+ function zr(e) {
1139
1127
  if (!e) return;
1140
1128
  function t() {
1141
1129
  requestAnimationFrame(() => {
@@ -1146,29 +1134,29 @@ function jr(e) {
1146
1134
  }
1147
1135
  return window.addEventListener("load", t), () => window.removeEventListener("load", t);
1148
1136
  }
1149
- function Xn() {
1137
+ function Nn() {
1150
1138
  return /\/components\//.test(location.pathname);
1151
1139
  }
1152
- function Sr() {
1140
+ function Rr() {
1153
1141
  return /\/global-configuration/.test(location.pathname);
1154
1142
  }
1155
- const Fn = {
1143
+ const Xn = {
1156
1144
  get: (e, t) => t || {},
1157
1145
  set: (e, t) => t,
1158
1146
  connect: (e) => {
1159
1147
  const t = () => {
1160
1148
  const n = {};
1161
- e.platform === "mobile" && (window.innerWidth < 960 ? n.paddingRight = "0px" : n.paddingRight = Xn() ? "400px" : ""), e.mobileBodyStyle = n;
1149
+ e.platform === "mobile" && (window.innerWidth < 960 ? n.paddingRight = "0px" : n.paddingRight = Nn() ? "400px" : ""), e.mobileBodyStyle = n;
1162
1150
  };
1163
1151
  return t(), window.addEventListener("resize", t), () => {
1164
1152
  window.removeEventListener("resize", t);
1165
1153
  };
1166
1154
  }
1167
1155
  };
1168
- function Ne() {
1156
+ function Xe() {
1169
1157
  return location.host.includes("oa.com");
1170
1158
  }
1171
- function Ir(e = () => {
1159
+ function jr(e = () => {
1172
1160
  }) {
1173
1161
  const t = document.documentElement, n = { attributes: !0 }, o = (i) => {
1174
1162
  for (const a of i)
@@ -1179,42 +1167,45 @@ function Ir(e = () => {
1179
1167
  }, r = new MutationObserver(o);
1180
1168
  return r.observe(t, n), r;
1181
1169
  }
1182
- function ze() {
1170
+ function Sr() {
1183
1171
  return /-en$/.test(location.pathname) ? "en" : "zh";
1184
1172
  }
1185
- function Je(e, t = !0) {
1173
+ function Ee() {
1174
+ return Sr() === "en";
1175
+ }
1176
+ function Le(e, t = !0) {
1186
1177
  return e === void 0 ? t : typeof e == "string" ? e === "true" : !!e;
1187
1178
  }
1188
- const na = (e) => e.split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join(""), Co = [];
1189
- function oa() {
1190
- if (ze() === "en") {
1191
- const t = location.pathname.slice(0, -3);
1192
- location.pathname = t;
1179
+ const ta = (e) => e.split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join(""), bo = [];
1180
+ function na() {
1181
+ if (Ee()) {
1182
+ const e = location.pathname.slice(0, -3);
1183
+ location.pathname = e;
1193
1184
  } else
1194
1185
  location.pathname === "/" ? location.pathname = "index-en" : location.pathname = `${location.pathname}-en`;
1195
1186
  }
1196
- function p1(e = oa) {
1197
- Co.includes(e) || (Co.push(e), document.addEventListener("tdesign_site_lang", e));
1187
+ function p1(e = na) {
1188
+ bo.includes(e) || (bo.push(e), document.addEventListener("tdesign_site_lang", e));
1198
1189
  }
1199
1190
  function ve(e) {
1200
- return ze() === "en" ? `${e}-en` : e;
1191
+ return Ee() ? `${e}-en` : e;
1201
1192
  }
1202
- const ra = () => {
1203
- const e = Ne(), n = ze() === "en", o = [
1204
- { name: n ? "Design" : "设计", path: ve("/design"), type: "main", target: "_self" },
1205
- { name: n ? "Components" : "基础组件", path: ve("/vue/overview"), type: "base", target: "_self" },
1206
- e ? { name: n ? "Industry component" : "行业组件", path: "/trade", type: "main", target: "_self" } : null,
1193
+ const oa = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M23.1861%203.33301L6.5%2019.9997L11.6389%2025.1386L33.4222%203.34967H23.2042L23.1861%203.33301ZM23.2056%2018.7108L14.2181%2027.6788L23.2042%2036.665H33.4444L24.4722%2027.6816L33.4444%2018.7094L23.2056%2018.7108Z'%20fill='%2344D1FD'/%3e%3c/svg%3e", wo = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.1175%205.91895C28.521%206.15192%2028.9018%206.65217%2029.1092%207.6216C29.3165%208.59087%2029.316%209.89706%2029.0621%2011.4818C28.9831%2011.9749%2028.8805%2012.4888%2028.7548%2013.0205C27.3951%2012.7295%2025.934%2012.5052%2024.4005%2012.3569C23.5053%2011.103%2022.5805%209.94987%2021.6487%208.91778C22.0462%208.54307%2022.44%208.19733%2022.8276%207.88233C24.0731%206.87007%2025.204%206.21654%2026.1471%205.91145C27.0903%205.60631%2027.7139%205.68597%2028.1175%205.91895ZM18.3272%208.91778C17.9297%208.54307%2017.5359%208.19734%2017.1483%207.88235C15.9029%206.87009%2014.7719%206.21656%2013.8288%205.91147C12.8856%205.60633%2012.262%205.68599%2011.8585%205.91896C11.4549%206.15194%2011.0741%206.65219%2010.8668%207.62162C10.6595%208.59088%2010.66%209.89708%2010.9138%2011.4818C10.9929%2011.975%2011.0954%2012.4888%2011.2211%2013.0205C12.5809%2012.7295%2014.0419%2012.5052%2015.5755%2012.3569C16.4706%2011.103%2017.3954%209.94987%2018.3272%208.91778ZM19.988%207.21345C19.5394%206.78938%2019.0922%206.39612%2018.649%206.03591C17.2716%204.91642%2015.8816%204.07479%2014.5612%203.64762C13.2409%203.2205%2011.8585%203.17148%2010.6688%203.85837C9.47905%204.54526%208.83027%205.76701%208.54003%207.12395C8.24976%208.48106%208.28365%2010.1056%208.56444%2011.8582C8.65479%2012.4222%208.7718%2013.006%208.91475%2013.6065C8.32322%2013.783%207.75908%2013.9736%207.22554%2014.1773C5.56732%2014.8104%204.14347%2015.5934%203.11332%2016.5233C2.08329%2017.4531%201.34961%2018.6259%201.34961%2019.9996C1.34961%2021.3734%202.08329%2022.5461%203.11332%2023.476C4.14347%2024.4059%205.56732%2025.1888%207.22554%2025.822C7.75909%2026.0257%208.32324%2026.2163%208.91478%2026.3927C8.77182%2026.9933%208.65481%2027.5772%208.56445%2028.1411C8.28366%2029.8937%208.24976%2031.5183%208.54004%2032.8754C8.83028%2034.2323%209.47905%2035.4541%2010.6688%2036.141C11.8585%2036.8279%2013.241%2036.7788%2014.5612%2036.3517C15.8816%2035.9246%2017.2716%2035.0829%2018.649%2033.9634C19.0922%2033.6032%2019.5394%2033.21%2019.988%2032.7859C20.4365%2033.21%2020.8837%2033.6032%2021.3269%2033.9635C22.7043%2035.0829%2024.0943%2035.9246%2025.4147%2036.3517C26.735%2036.7789%2028.1174%2036.8279%2029.3071%2036.141C30.4969%2035.4541%2031.1456%2034.2324%2031.4359%2032.8754C31.7262%2031.5183%2031.6923%2029.8937%2031.4115%2028.1411C31.3211%2027.5772%2031.2041%2026.9933%2031.0611%2026.3928C31.6527%2026.2163%2032.2169%2026.0257%2032.7504%2025.822C34.4087%2025.1888%2035.8325%2024.4059%2036.8627%2023.476C37.8927%2022.5461%2038.6264%2021.3734%2038.6264%2019.9996C38.6264%2018.6259%2037.8927%2017.4531%2036.8627%2016.5233C35.8325%2015.5934%2034.4087%2014.8104%2032.7504%2014.1773C32.2169%2013.9736%2031.6527%2013.783%2031.0612%2013.6065C31.2041%2013.006%2031.3211%2012.4221%2031.4115%2011.8582C31.6923%2010.1056%2031.7262%208.48104%2031.4359%207.12393C31.1457%205.76699%2030.4969%204.54524%2029.3072%203.85835C28.1174%203.17147%2026.735%203.22049%2025.4147%203.6476C24.0943%204.07477%2022.7043%204.9164%2021.3269%206.03589C20.8837%206.3961%2020.4365%206.78938%2019.988%207.21345ZM28.1027%2015.3146C27.4695%2015.1824%2026.8097%2015.0649%2026.1268%2014.9637C26.3504%2015.3277%2026.5709%2015.6979%2026.7879%2016.0737C27.0049%2016.4496%2027.2152%2016.8256%2027.4186%2017.2013C27.6724%2016.5592%2027.9006%2015.9291%2028.1027%2015.3146ZM28.813%2019.9997C29.4514%2018.5974%2029.9876%2017.22%2030.4155%2015.8969C30.9388%2016.0538%2031.4351%2016.222%2031.9017%2016.4001C33.4011%2016.9726%2034.5326%2017.6253%2035.2683%2018.2895C36.0042%2018.9538%2036.247%2019.5337%2036.247%2019.9996C36.247%2020.4656%2036.0042%2021.0455%2035.2683%2021.7098C34.5326%2022.374%2033.4011%2023.0266%2031.9017%2023.5991C31.4351%2023.7773%2030.9388%2023.9454%2030.4155%2024.1024C29.9876%2022.7793%2029.4513%2021.4019%2028.813%2019.9997ZM26.183%2019.9997C25.7431%2019.097%2025.2576%2018.1819%2024.7273%2017.2634C24.197%2016.3449%2023.6473%2015.4669%2023.0854%2014.6346C22.0837%2014.5641%2021.0485%2014.5271%2019.988%2014.5271C18.9274%2014.5271%2017.8922%2014.5641%2016.8905%2014.6346C16.3286%2015.4669%2015.7789%2016.3449%2015.2486%2017.2634C14.7183%2018.1819%2014.2328%2019.0969%2013.7929%2019.9997C14.2328%2020.9024%2014.7183%2021.8175%2015.2486%2022.736C15.7789%2023.6544%2016.3286%2024.5324%2016.8904%2025.3647C17.8921%2025.4351%2018.9274%2025.4722%2019.988%2025.4722C21.0485%2025.4722%2022.0838%2025.4351%2023.0855%2025.3647C23.6474%2024.5324%2024.1971%2023.6544%2024.7273%2022.7359C25.2576%2021.8175%2025.7431%2020.9024%2026.183%2019.9997ZM26.1268%2025.0356C26.3504%2024.6716%2026.5709%2024.3015%2026.7879%2023.9256C27.0049%2023.5498%2027.2152%2023.1738%2027.4186%2022.7981C27.6724%2023.4401%2027.9006%2024.0702%2028.1027%2024.6847C27.4695%2024.8169%2026.8097%2024.9343%2026.1268%2025.0356ZM21.2798%2027.834C20.8528%2027.8456%2020.422%2027.8515%2019.988%2027.8515C19.554%2027.8515%2019.1232%2027.8456%2018.6961%2027.834C19.1252%2028.3748%2019.5568%2028.8875%2019.988%2029.3698C20.4191%2028.8875%2020.8507%2028.3748%2021.2798%2027.834ZM21.6487%2031.0816C22.5805%2030.0495%2023.5053%2028.8963%2024.4005%2027.6424C25.934%2027.4941%2027.3951%2027.2698%2028.7548%2026.9788C28.8805%2027.5105%2028.9831%2028.0244%2029.0621%2028.5175C29.316%2030.1023%2029.3165%2031.4085%2029.1091%2032.3777C28.9018%2033.3472%2028.521%2033.8474%2028.1175%2034.0804C27.7139%2034.3134%2027.0903%2034.393%2026.1471%2034.0879C25.204%2033.7828%2024.0731%2033.1293%2022.8276%2032.117C22.44%2031.802%2022.0462%2031.4563%2021.6487%2031.0816ZM18.3272%2031.0816C17.3954%2030.0495%2016.4706%2028.8963%2015.5754%2027.6424C14.0419%2027.494%2012.5809%2027.2698%2011.2211%2026.9788C11.0954%2027.5105%2010.9929%2028.0244%2010.9139%2028.5175C10.66%2030.1023%2010.6595%2031.4085%2010.8668%2032.3777C11.0741%2033.3472%2011.4549%2033.8474%2011.8585%2034.0804C12.262%2034.3134%2012.8856%2034.393%2013.8288%2034.0879C14.7719%2033.7828%2015.9029%2033.1293%2017.1483%2032.117C17.5359%2031.802%2017.9297%2031.4563%2018.3272%2031.0816ZM11.8732%2024.6847C12.5064%2024.8169%2013.1662%2024.9343%2013.8491%2025.0356C13.6255%2024.6716%2013.405%2024.3015%2013.188%2023.9256C12.971%2023.5498%2012.7607%2023.1738%2012.5573%2022.7981C12.3035%2023.4401%2012.0754%2024.0702%2011.8732%2024.6847ZM12.5573%2017.2012C12.7607%2016.8256%2012.971%2016.4496%2013.188%2016.0737C13.405%2015.6978%2013.6255%2015.3277%2013.8491%2014.9637C13.1662%2015.0649%2012.5064%2015.1824%2011.8732%2015.3146C12.0753%2015.9291%2012.3035%2016.5592%2012.5573%2017.2012ZM11.1629%2019.9997C10.5246%2021.4019%209.98831%2022.7793%209.56042%2024.1023C9.03713%2023.9454%208.54083%2023.7773%208.07426%2023.5991C6.57488%2023.0266%205.44343%2022.374%204.70768%2021.7098C3.9718%2021.0455%203.72898%2020.4656%203.72898%2019.9996C3.72898%2019.5337%203.9718%2018.9538%204.70768%2018.2895C5.44343%2017.6253%206.57488%2016.9726%208.07426%2016.4001C8.54082%2016.222%209.03711%2016.0539%209.56038%2015.8969C9.98828%2017.22%2010.5246%2018.5974%2011.1629%2019.9997ZM18.6962%2012.1653C19.1232%2012.1536%2019.554%2012.1477%2019.988%2012.1477C20.422%2012.1477%2020.8527%2012.1536%2021.2797%2012.1652C20.8506%2011.6245%2020.419%2011.1119%2019.988%2010.6295C19.5569%2011.1119%2019.1253%2011.6245%2018.6962%2012.1653ZM23.2393%2019.9997C23.2393%2021.7956%2021.7834%2023.2515%2019.9875%2023.2515C18.1916%2023.2515%2016.7357%2021.7956%2016.7357%2019.9997C16.7357%2018.2038%2018.1916%2016.7479%2019.9875%2016.7479C21.7834%2016.7479%2023.2393%2018.2038%2023.2393%2019.9997Z'%20fill='%2361DAFB'/%3e%3c/svg%3e", Zt = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M24.0133%205.06641L19.9833%2012.0465L15.9535%205.06641H2.5332L19.9835%2035.2915L37.4337%205.06641H24.0133Z'%20fill='%2342B983'/%3e%3cpath%20d='M24.0137%205.06641L19.9837%2012.0465L15.9538%205.06641H9.51367L19.9838%2023.2011L30.4539%205.06641H24.0137Z'%20fill='%2335495E'/%3e%3c/svg%3e", Co = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_22539_139637'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='40'%20height='40'%3e%3crect%20width='40'%20height='40'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_22539_139637)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M32.4972%204.95434C35.1486%206.25306%2036.7951%208.81475%2037.3777%2012.1934C37.9432%2015.473%2036.4782%2018.0897%2034.8157%2019.8171C33.1907%2021.5055%2031.1401%2022.6188%2029.704%2023.0506C28.3818%2023.4482%2026.9876%2022.6987%2026.59%2021.3764C26.1924%2020.0542%2026.942%2018.66%2028.2642%2018.2624C28.8967%2018.0722%2030.1971%2017.4056%2031.2131%2016.3499C32.1915%2015.3333%2032.6572%2014.2419%2032.4504%2013.043C32.0677%2010.8235%2031.1629%209.86839%2030.2978%209.4446C29.3298%208.97047%2027.8151%208.86811%2025.7622%209.53967C23.2029%2010.3769%2022.7262%2012.1074%2022.6585%2012.7263V28.3271L22.6246%2028.5308C22.3096%2030.4256%2021.0062%2032.7905%2018.9145%2034.4353C16.6883%2036.1857%2013.5289%2037.1461%209.75544%2035.9603C5.964%2034.7689%203.98007%2032.1666%203.23478%2029.4408C2.53713%2026.8892%202.92557%2024.2691%203.68407%2022.6241C4.14363%2021.6274%205.13716%2020.3341%206.39848%2019.2718C7.67494%2018.1968%209.53668%2017.0968%2011.7876%2017.0101C13.1673%2016.9569%2014.3289%2018.0322%2014.3821%2019.4119C14.4353%2020.7916%2013.3599%2021.9532%2011.9802%2022.0063C11.2523%2022.0344%2010.4251%2022.4177%209.61935%2023.0962C8.79849%2023.7876%208.31664%2024.5182%208.22464%2024.7177C7.94126%2025.3323%207.68144%2026.7458%208.05776%2028.1221C8.38644%2029.3243%209.19871%2030.5443%2011.2543%2031.1903C13.3279%2031.8419%2014.7885%2031.319%2015.8239%2030.5048C16.8991%2029.6594%2017.4928%2028.509%2017.6585%2027.8677V12.5293L17.6648%2012.4407C17.8097%2010.4042%2019.1476%206.44281%2024.2076%204.7875C26.9814%203.8801%2029.9486%203.70596%2032.4972%204.95434Z'%20fill='%2300A870'/%3e%3c/g%3e%3c/svg%3e", ra = () => {
1194
+ const e = Xe(), t = Ee(), n = [
1195
+ { name: t ? "Design" : "设计", path: ve("/design"), type: "main", target: "_self" },
1196
+ { name: t ? "Components" : "基础组件", path: ve("/vue/overview"), type: "base", target: "_self" },
1197
+ e ? { name: t ? "Industry component" : "行业组件", path: "/trade", type: "main", target: "_self" } : null,
1207
1198
  {
1208
- name: n ? "Templates" : "页面模板",
1199
+ name: t ? "Templates" : "页面模板",
1209
1200
  path: "https://tdesign.tencent.com/starter/",
1210
1201
  type: "main",
1211
1202
  target: "_self"
1212
1203
  },
1213
- { name: n ? "Resources" : "资源", path: ve("/source"), type: "main", target: "_self" },
1214
- { name: n ? "About" : "关于", path: ve("/about/introduce"), type: "main", target: "_self" }
1215
- ].filter((a) => a), r = {
1204
+ { name: t ? "Resources" : "资源", path: ve("/source"), type: "main", target: "_self" },
1205
+ { name: t ? "About" : "关于", path: ve("/about/introduce"), type: "main", target: "_self" }
1206
+ ].filter((i) => i), o = {
1216
1207
  web: {
1217
- name: n ? "Web PC" : "Web 桌面端",
1208
+ name: t ? "Web PC" : "Web 桌面端",
1218
1209
  links: [
1219
1210
  {
1220
1211
  name: "Vue",
@@ -1232,7 +1223,7 @@ const ra = () => {
1232
1223
  },
1233
1224
  {
1234
1225
  name: "React",
1235
- icon: bo,
1226
+ icon: wo,
1236
1227
  path: ve("/react/overview"),
1237
1228
  npm: "tdesign-react",
1238
1229
  status: 1
@@ -1240,7 +1231,7 @@ const ra = () => {
1240
1231
  ]
1241
1232
  },
1242
1233
  mobile: {
1243
- name: n ? "Mobile" : "Mobile 移动端",
1234
+ name: t ? "Mobile" : "Mobile 移动端",
1244
1235
  links: [
1245
1236
  {
1246
1237
  name: "Vue Next",
@@ -1251,28 +1242,28 @@ const ra = () => {
1251
1242
  },
1252
1243
  {
1253
1244
  name: "React",
1254
- icon: bo,
1245
+ icon: wo,
1255
1246
  path: ve("/mobile-react/overview"),
1256
1247
  npm: "tdesign-mobile-react",
1257
1248
  status: 2
1258
1249
  },
1259
1250
  {
1260
1251
  name: "Flutter",
1261
- icon: ta,
1252
+ icon: oa,
1262
1253
  path: ve("/flutter/overview"),
1263
1254
  npm: "tdesign-flutter",
1264
1255
  status: 2
1265
1256
  },
1266
1257
  {
1267
- name: n ? "WeChat-Miniprogram" : "微信小程序",
1268
- icon: wo,
1258
+ name: t ? "WeChat-Miniprogram" : "微信小程序",
1259
+ icon: Co,
1269
1260
  path: ve("/miniprogram/overview"),
1270
1261
  npm: "tdesign-miniprogram",
1271
1262
  status: 1
1272
1263
  },
1273
1264
  {
1274
- name: n ? "QQ-Miniprogram" : "QQ 小程序",
1275
- icon: wo,
1265
+ name: t ? "QQ-Miniprogram" : "QQ 小程序",
1266
+ icon: Co,
1276
1267
  path: ve("/qq-miniprogram/overview"),
1277
1268
  npm: "tdesign-qq-miniprogram",
1278
1269
  status: 2
@@ -1288,14 +1279,25 @@ const ra = () => {
1288
1279
  }
1289
1280
  };
1290
1281
  return {
1291
- headerList: o,
1292
- baseComponentsLinks: r,
1282
+ headerList: n,
1283
+ baseComponentsLinks: o,
1293
1284
  baseComponentPrefix: ["vue", "react", "mobile-vue", "mobile-react", "vue-next", "flutter", "miniprogram"]
1294
1285
  };
1295
- }, ia = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1286
+ }, Fn = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
1287
+ <path
1288
+ d="M16 17.8385L22.1518 23.9903L23.9903 22.1518L17.8385 16L23.9903 9.84817L22.1518 8.0097L16 14.1615L9.84812 8.00964L8.00964 9.84812L14.1615 16L8.00964 22.1518L9.84812 23.9903L16 17.8385Z"
1289
+ fill="currentColor" />
1290
+ </svg>`, Ir = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1291
+ <path d="M3.75 5.7998L7.99274 10.0425L12.2361 5.79921" stroke="currentColor" />
1292
+ </svg>
1293
+ `, ia = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1294
+ <path fill-rule="evenodd" clip-rule="evenodd"
1295
+ d="M12 2.23999C6.475 2.23999 2 6.71499 2 12.24C2 16.665 4.8625 20.4025 8.8375 21.7275C9.3375 21.815 9.525 21.515 9.525 21.2525C9.525 21.015 9.5125 20.2275 9.5125 19.39C7 19.8525 6.35 18.7775 6.15 18.215C6.0375 17.9275 5.55 17.04 5.125 16.8025C4.775 16.615 4.275 16.1525 5.1125 16.14C5.9 16.1275 6.4625 16.865 6.65 17.165C7.55 18.6775 8.9875 18.2525 9.5625 17.99C9.65 17.34 9.9125 16.9025 10.2 16.6525C7.975 16.4025 5.65 15.54 5.65 11.715C5.65 10.6275 6.0375 9.72749 6.675 9.02749C6.575 8.77749 6.225 7.75249 6.775 6.37749C6.775 6.37749 7.6125 6.11499 9.525 7.40249C10.325 7.17749 11.175 7.06499 12.025 7.06499C12.875 7.06499 13.725 7.17749 14.525 7.40249C16.4375 6.10249 17.275 6.37749 17.275 6.37749C17.825 7.75249 17.475 8.77749 17.375 9.02749C18.0125 9.72749 18.4 10.615 18.4 11.715C18.4 15.5525 16.0625 16.4025 13.8375 16.6525C14.2 16.965 14.5125 17.565 14.5125 18.5025C14.5125 19.84 14.5 20.915 14.5 21.2525C14.5 21.515 14.6875 21.8275 15.1875 21.7275C17.1727 21.0573 18.8977 19.7815 20.1198 18.0795C21.3419 16.3776 21.9995 14.3352 22 12.24C22 6.71499 17.525 2.23999 12 2.23999Z"
1296
+ fill="currentColor" />
1297
+ </svg>`, aa = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1296
1298
  <path fill-rule="evenodd" clip-rule="evenodd" d="M2 5C2 3.34315 3.34315 2 5 2H7C8.65685 2 10 3.34315 10 5V11H8V8.5H4V11H2V5ZM4 6.5H8V5C8 4.44772 7.55228 4 7 4H5C4.44772 4 4 4.44772 4 5V6.5ZM12 3.5H18C19.6569 3.5 21 4.84315 21 6.5V9H19V6.5C19 5.94772 18.5523 5.5 18 5.5H12V3.5ZM18 11.5V13H22V15H20.9381C20.7182 16.7638 19.9241 18.3492 18.7488 19.5634C19.4441 19.845 20.2041 20 21 20H22V22H21C19.5425 22 18.1765 21.6102 17.0001 20.9297C15.8234 21.6104 14.4572 22 13 22H12V20H13C13.7962 20 14.5562 19.8449 15.2514 19.5633C14.6487 18.9407 14.1463 18.2205 13.7704 17.4291L13.3413 16.5258L15.1478 15.6676L15.5769 16.5709C15.9219 17.2971 16.4081 17.9427 16.9999 18.4723C17.9921 17.5843 18.687 16.371 18.917 15H12V13H16V11.5H18ZM6 13V19C6 19.5523 6.44772 20 7 20H9.5V22H7C5.34315 22 4 20.6569 4 19V13H6Z" fill="currentColor"/>
1297
1299
  </svg>
1298
- `, aa = ".TDesign-base-components-links{display:flex;flex-direction:column;padding:16px;width:832px;box-sizing:border-box;row-gap:16px}.TDesign-base-components-links__web,.TDesign-base-components-links__mobile{display:flex;flex-direction:column;row-gap:8px}.TDesign-base-components-links__list{display:flex;flex-wrap:wrap;gap:4px}.TDesign-base-components-links .title{color:var(--text-placeholder);margin:0 8px;font-size:14px;line-height:22px}.TDesign-base-components-links .link{border-radius:6px;transition:all .2s linear;color:var(--text-secondary);text-decoration:none;padding:8px;display:inline-flex;align-items:center;width:264px;box-sizing:border-box}.TDesign-base-components-links .link:not(.disabled):hover{color:var(--text-primary);background:var(--bg-color-container-hover)}.TDesign-base-components-links .link .details{display:flex;flex-direction:column}.TDesign-base-components-links .link .name{font-size:14px;line-height:24px;height:24px}.TDesign-base-components-links .link .version{font-size:14px;line-height:22px;color:var(--text-placeholder)}.TDesign-base-components-links .link .icon{max-width:40px;max-height:40px;margin-right:8px}.TDesign-base-components-links .link.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-base-components-links .link.disabled{cursor:no-drop}.TDesign-base-components-links .link .disable-tag,.TDesign-base-components-links .link .alpha-tag,.TDesign-base-components-links .link .beta-tag,.TDesign-base-components-links .link .rc-tag,.TDesign-base-components-links .link .stable-tag{font-size:12px;border-radius:var(--border-radius);padding:2px 4px;margin-left:4px;vertical-align:bottom}.TDesign-base-components-links .link .disable-tag{color:var(--text-secondary);background:var(--bg-color-tag)}.TDesign-base-components-links .link .alpha-tag{color:var(--brand-main);background:var(--brand-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-base-components-links .link .beta-tag,.TDesign-base-components-links .link .rc-tag{color:var(--success-main);background:var(--success-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-base-components-links .link .stable-tag{color:#029cd4;background:#029cd41a;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}@media screen and (max-width: 960px){.TDesign-base-components-links{display:none}}", sa = ':host{position:relative;--header-inner-max-width: 100%;--header-inner-padding: 0 24px;--search-display: block}@media screen and (max-width: 1200px){:host{--search-display: none}}.TDesign-header-notice{width:100%;line-height:24px;padding:8px 16px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;position:relative}.TDesign-header-notice.primary{background-color:var(--brand-main)}.TDesign-header-notice__content{cursor:pointer;color:#ffffffe6;transition:all .2s}.TDesign-header-notice__content:hover{color:#fff}.TDesign-header-notice__close{display:inline-flex;align-items:center;position:absolute;right:8px;cursor:pointer;transition:all .2s;color:#ffffffe6}.TDesign-header-notice__close:hover{color:#fff}.TDesign-header-notice__close svg{width:16px;height:16px}.TDesign-header{height:var(--header-height);background-color:var(--bg-color-container);color:var(--text-secondary);position:relative;z-index:1400;box-shadow:var(--header-box-shadow)}.TDesign-header-inner{padding:var(--header-inner-padding);height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;max-width:var(--header-inner-max-width);margin:auto;transition:all .25s var(--anim-time-fn-easing)}.TDesign-header-left{display:flex;align-items:center}.TDesign-header .slot-search{display:var(--search-display)}.TDesign-header-nav{display:flex;align-items:center;justify-content:flex-start;column-gap:8px}.TDesign-header-nav__link{cursor:pointer;padding:4px 16px;box-sizing:border-box;height:32px;line-height:24px;color:var(--text-primary);text-decoration:none;border-radius:var(--border-radius);transition:all .1s;display:inline-block;vertical-align:middle;word-break:keep-all;flex-shrink:0}.TDesign-header-nav__link:hover{background:var(--bg-color-container-hover)}.TDesign-header-nav__link:hover .icon svg path{d:path("M3.75 10.2002L7.99274 5.7998L12.2361 10.0425")}.TDesign-header-nav__link.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-header-nav__link .icon{width:16px;height:16px;display:inline-block;vertical-align:middle;margin-top:-4px;margin-left:4px}.TDesign-header-nav__link .icon svg path{transition:d .2s;stroke:currentColor}.TDesign-header-nav__git,.TDesign-header-nav__translate{display:inline-flex;color:var(--text-primary);border-radius:var(--border-radius);transition:all .2s linear;width:32px;height:32px;align-items:center;justify-content:center;cursor:pointer}.TDesign-header-nav__git:hover,.TDesign-header-nav__translate:hover{background:var(--bg-color-container-hover)}.TDesign-header-nav__git-icon,.TDesign-header-nav__translate-icon{width:24px;height:24px;display:inline-block}.TDesign-header-nav td-theme-tabs{margin-left:8px}', la = ra(), { headerList: yo, baseComponentsLinks: dt, baseComponentPrefix: ca } = la;
1300
+ `, sa = ".TDesign-base-components-links{display:flex;flex-direction:column;padding:16px;width:832px;box-sizing:border-box;row-gap:16px}.TDesign-base-components-links__web,.TDesign-base-components-links__mobile{display:flex;flex-direction:column;row-gap:8px}.TDesign-base-components-links__list{display:flex;flex-wrap:wrap;gap:4px}.TDesign-base-components-links .title{color:var(--text-placeholder);margin:0 8px;font-size:14px;line-height:22px}.TDesign-base-components-links .link{border-radius:6px;transition:all .2s linear;color:var(--text-secondary);text-decoration:none;padding:8px;display:inline-flex;align-items:center;width:264px;box-sizing:border-box}.TDesign-base-components-links .link:not(.disabled):hover{color:var(--text-primary);background:var(--bg-color-container-hover)}.TDesign-base-components-links .link .details{display:flex;flex-direction:column}.TDesign-base-components-links .link .name{font-size:14px;line-height:24px;height:24px}.TDesign-base-components-links .link .version{font-size:14px;line-height:22px;color:var(--text-placeholder)}.TDesign-base-components-links .link .icon{max-width:40px;max-height:40px;margin-right:8px}.TDesign-base-components-links .link.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-base-components-links .link.disabled{cursor:no-drop}.TDesign-base-components-links .link .disable-tag,.TDesign-base-components-links .link .alpha-tag,.TDesign-base-components-links .link .beta-tag,.TDesign-base-components-links .link .rc-tag,.TDesign-base-components-links .link .stable-tag{font-size:12px;border-radius:var(--border-radius);padding:2px 4px;margin-left:4px;vertical-align:bottom}.TDesign-base-components-links .link .disable-tag{color:var(--text-secondary);background:var(--bg-color-tag)}.TDesign-base-components-links .link .alpha-tag{color:var(--brand-main);background:var(--brand-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-base-components-links .link .beta-tag,.TDesign-base-components-links .link .rc-tag{color:var(--success-main);background:var(--success-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-base-components-links .link .stable-tag{color:#029cd4;background:#029cd41a;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}@media screen and (max-width: 960px){.TDesign-base-components-links{display:none}}", la = ':host{position:relative;--header-inner-max-width: 100%;--header-inner-padding: 0 24px;--search-display: block}@media screen and (max-width: 1200px){:host{--search-display: none}}.TDesign-header-notice{width:100%;line-height:24px;padding:8px 16px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;position:relative}.TDesign-header-notice.primary{background-color:var(--brand-main)}.TDesign-header-notice__content{cursor:pointer;color:#ffffffe6;transition:all .2s}.TDesign-header-notice__content:hover{color:#fff}.TDesign-header-notice__close{display:inline-flex;align-items:center;position:absolute;right:8px;cursor:pointer;transition:all .2s;color:#ffffffe6}.TDesign-header-notice__close:hover{color:#fff}.TDesign-header-notice__close svg{width:16px;height:16px}.TDesign-header{height:var(--header-height);background-color:var(--bg-color-container);color:var(--text-secondary);position:relative;z-index:1400;box-shadow:var(--header-box-shadow)}.TDesign-header-inner{padding:var(--header-inner-padding);height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;max-width:var(--header-inner-max-width);margin:auto;transition:all .25s var(--anim-time-fn-easing)}.TDesign-header-left{display:flex;align-items:center}.TDesign-header .slot-search{display:var(--search-display)}.TDesign-header-nav{display:flex;align-items:center;justify-content:flex-start;column-gap:8px}.TDesign-header-nav__link{cursor:pointer;padding:4px 16px;box-sizing:border-box;height:32px;line-height:24px;color:var(--text-primary);text-decoration:none;border-radius:var(--border-radius);transition:all .1s;display:inline-block;vertical-align:middle;word-break:keep-all;flex-shrink:0}.TDesign-header-nav__link:hover{background:var(--bg-color-container-hover)}.TDesign-header-nav__link:hover .icon svg path{d:path("M3.75 10.2002L7.99274 5.7998L12.2361 10.0425")}.TDesign-header-nav__link.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-header-nav__link .icon{width:16px;height:16px;display:inline-block;vertical-align:middle;margin-top:-4px;margin-left:4px}.TDesign-header-nav__link .icon svg path{transition:d .2s;stroke:currentColor}.TDesign-header-nav__git,.TDesign-header-nav__translate{display:inline-flex;color:var(--text-primary);border-radius:var(--border-radius);transition:all .2s linear;width:32px;height:32px;align-items:center;justify-content:center;cursor:pointer}.TDesign-header-nav__git:hover,.TDesign-header-nav__translate:hover{background:var(--bg-color-container-hover)}.TDesign-header-nav__git-icon,.TDesign-header-nav__translate-icon{width:24px;height:24px;display:inline-block}.TDesign-header-nav td-theme-tabs{margin-left:8px}', ca = ra(), { headerList: yo, baseComponentsLinks: dt, baseComponentPrefix: da } = ca;
1299
1301
  function jt(e, t, n) {
1300
1302
  t.preventDefault(), n.status && (location.href = n.path);
1301
1303
  }
@@ -1309,7 +1311,7 @@ function St(e) {
1309
1311
  function Mn(e) {
1310
1312
  return /^https?:/.test(e) ? location.href.includes(e) : location.pathname.includes(e);
1311
1313
  }
1312
- function da(e) {
1314
+ function ua(e) {
1313
1315
  if (location.host !== "tdesign.tencent.com" && !localStorage.getItem("TDesign_notice")) return R``;
1314
1316
  const { notice: t } = e;
1315
1317
  let n = location.pathname.split("/")[1] || "site";
@@ -1328,13 +1330,13 @@ function da(e) {
1328
1330
  return r(), R`
1329
1331
  <div class="TDesign-header-notice ${o.type}">
1330
1332
  <div class="TDesign-header-notice__content" onclick="${a}">${o.title}</div>
1331
- ${o.closeable && R`<i class="TDesign-header-notice__close" innerHTML="${Nn}" onclick="${i}"></i>`}
1333
+ ${o.closeable && R`<i class="TDesign-header-notice__close" innerHTML="${Fn}" onclick="${i}"></i>`}
1332
1334
  </div>
1333
1335
  `;
1334
1336
  }
1335
- function ua(e, t) {
1337
+ function fa(e, t) {
1336
1338
  return R`
1337
- <td-doc-popup placement="bottom" portalStyle="${aa}">
1339
+ <td-doc-popup placement="bottom" portalStyle="${sa}">
1338
1340
  ${t}
1339
1341
  <div slot="content" class="TDesign-base-components-links">
1340
1342
  <div class="TDesign-base-components-links__web">
@@ -1393,32 +1395,32 @@ function Nr(e, t) {
1393
1395
  }
1394
1396
  return t === "site" ? "https://github.com/Tencent/tdesign" : e === "mobile" ? `https://github.com/Tencent/tdesign-${e}-${t}` : `https://github.com/Tencent/tdesign-${t}`;
1395
1397
  }
1396
- function fa(e, t, n, o) {
1398
+ function ga(e, t, n, o) {
1397
1399
  const r = R`
1398
1400
  <a class="TDesign-header-nav__git" href="${Nr(n, o)}" id="${n}" target="_blank">
1399
- <span class="TDesign-header-nav__git-icon" innerHTML="${ea}"></span>
1401
+ <span class="TDesign-header-nav__git-icon" innerHTML="${ia}"></span>
1400
1402
  </a>
1401
1403
  `;
1402
1404
  function i() {
1403
- const p = ze() === "zh" ? "en" : "zh";
1404
- document.dispatchEvent(new CustomEvent("tdesign_site_lang", { detail: p }));
1405
+ const c = Ee() ? "zh" : "en";
1406
+ document.dispatchEvent(new CustomEvent("tdesign_site_lang", { detail: c }));
1405
1407
  }
1406
1408
  const a = e.disabledLocale ? R`` : R`
1407
1409
  <div class="TDesign-header-nav__translate" onclick="${i}">
1408
- <span class="TDesign-header-nav__translate-icon" innerHTML="${ia}"></span>
1410
+ <span class="TDesign-header-nav__translate-icon" innerHTML="${aa}"></span>
1409
1411
  </div>
1410
1412
  `, s = () => {
1411
1413
  const [, c] = location.pathname.split("/");
1412
- return ca.includes(c);
1414
+ return da.includes(c);
1413
1415
  };
1414
1416
  return t.map((c) => {
1415
1417
  if (c.type === "base") {
1416
1418
  const p = R`
1417
1419
  <span class="TDesign-header-nav__link ${s() ? "active" : ""}">
1418
- ${c.name} <i class="icon" innerHTML="${Rr}"></i>
1420
+ ${c.name} <i class="icon" innerHTML="${Ir}"></i>
1419
1421
  </span>
1420
1422
  `;
1421
- return ua(e, p);
1423
+ return fa(e, p);
1422
1424
  }
1423
1425
  return R`
1424
1426
  <a
@@ -1473,7 +1475,7 @@ ie({
1473
1475
  render: (e) => {
1474
1476
  const { platform: t, framework: n, disabledTheme: o, collapseMenu: r } = e;
1475
1477
  return R`
1476
- ${da(e)}
1478
+ ${ua(e)}
1477
1479
  <header class="TDesign-header">
1478
1480
  <div class="TDesign-header-inner">
1479
1481
  <div class="TDesign-header-left">
@@ -1493,16 +1495,16 @@ ie({
1493
1495
  <div class="slot-search">
1494
1496
  <slot name="search"></slot>
1495
1497
  </div>
1496
- ${fa(e, yo, t, n)}
1498
+ ${ga(e, yo, t, n)}
1497
1499
  ${o ? R`` : R`<td-theme-tabs></td-theme-tabs>`}
1498
1500
  `}
1499
1501
  </div>
1500
1502
  </div>
1501
1503
  </header>
1502
- `.css`${sa}`;
1504
+ `.css`${la}`;
1503
1505
  }
1504
1506
  });
1505
- const ga = ".TDesign-collapse-menu{position:relative;display:flex;align-items:center;height:var(--header-height)}.TDesign-collapse-menu .collapse-icon{width:24px;height:24px;cursor:pointer}.TDesign-collapse-menu .collapse-icon svg{color:var(--text-primary)}", pa = ".TDesign-collapse-menu__list{min-height:32px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;padding:8px;width:254px;box-sizing:border-box;flex-direction:column;transition:all .2s var(--anim-time-fn-easing)}.TDesign-collapse-menu__list .link+.link{margin-top:4px}.TDesign-collapse-menu__list .link{display:flex;align-items:center;height:32px;box-sizing:border-box;padding:8px;text-decoration:none;color:var(--text-secondary);font-size:14px;border-radius:3px;transition:all .2s linear}.TDesign-collapse-menu__list .link:hover{color:var(--text-primary);background:var(--bg-color-container-hover)}.TDesign-collapse-menu__list .link .icon{max-width:16px;max-height:16px;margin-right:8px}.TDesign-collapse-menu__list .link svg{width:16px;height:16px}.TDesign-collapse-menu__list .link.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-collapse-menu__list .link.disabled{cursor:no-drop}.TDesign-collapse-menu__list .link .disable-tag,.TDesign-collapse-menu__list .link .alpha-tag,.TDesign-collapse-menu__list .link .beta-tag,.TDesign-collapse-menu__list .link .stable-tag{font-size:12px;border-radius:var(--border-radius);padding:2px 4px;margin-left:8px}.TDesign-collapse-menu__list .link .disable-tag{color:var(--text-secondary);background:var(--bg-color-tag)}.TDesign-collapse-menu__list .link .alpha-tag{color:var(--brand-main);background:var(--brand-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-collapse-menu__list .link .beta-tag{color:var(--success-main);background:var(--success-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-collapse-menu__list .link .stable-tag{color:#029cd4;background:#029cd41a;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-collapse-menu__list .divider{width:100%;height:1px;margin:8px 0;background-color:var(--component-stroke)}.TDesign-collapse-menu__list .divider+.title{margin-top:0}.TDesign-collapse-menu__list .title{font-size:12px;margin:8px 8px 4px;color:var(--text-placeholder)}.TDesign-collapse-menu__list td-theme-tabs{margin-top:4px}", ha = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1507
+ const pa = ".TDesign-collapse-menu{position:relative;display:flex;align-items:center;height:var(--header-height)}.TDesign-collapse-menu .collapse-icon{width:24px;height:24px;cursor:pointer}.TDesign-collapse-menu .collapse-icon svg{color:var(--text-primary)}", ha = ".TDesign-collapse-menu__list{min-height:32px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;padding:8px;width:254px;box-sizing:border-box;flex-direction:column;transition:all .2s var(--anim-time-fn-easing)}.TDesign-collapse-menu__list .link+.link{margin-top:4px}.TDesign-collapse-menu__list .link{display:flex;align-items:center;height:32px;box-sizing:border-box;padding:8px;text-decoration:none;color:var(--text-secondary);font-size:14px;border-radius:3px;transition:all .2s linear}.TDesign-collapse-menu__list .link:hover{color:var(--text-primary);background:var(--bg-color-container-hover)}.TDesign-collapse-menu__list .link .icon{max-width:16px;max-height:16px;margin-right:8px}.TDesign-collapse-menu__list .link svg{width:16px;height:16px}.TDesign-collapse-menu__list .link.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-collapse-menu__list .link.disabled{cursor:no-drop}.TDesign-collapse-menu__list .link .disable-tag,.TDesign-collapse-menu__list .link .alpha-tag,.TDesign-collapse-menu__list .link .beta-tag,.TDesign-collapse-menu__list .link .stable-tag{font-size:12px;border-radius:var(--border-radius);padding:2px 4px;margin-left:8px}.TDesign-collapse-menu__list .link .disable-tag{color:var(--text-secondary);background:var(--bg-color-tag)}.TDesign-collapse-menu__list .link .alpha-tag{color:var(--brand-main);background:var(--brand-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-collapse-menu__list .link .beta-tag{color:var(--success-main);background:var(--success-main-light);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-collapse-menu__list .link .stable-tag{color:#029cd4;background:#029cd41a;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.TDesign-collapse-menu__list .divider{width:100%;height:1px;margin:8px 0;background-color:var(--component-stroke)}.TDesign-collapse-menu__list .divider+.title{margin-top:0}.TDesign-collapse-menu__list .title{font-size:12px;margin:8px 8px 4px;color:var(--text-placeholder)}.TDesign-collapse-menu__list td-theme-tabs{margin-top:4px}", va = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1506
1508
  <path d="M21.0001 4.50004L7.50007 4.5L7.50006 6L21.0001 6.00004V4.50004Z" fill="currentColor" />
1507
1509
  <path d="M5.25007 4.5L3.00098 4.5L3.00098 6L5.25007 6V4.5Z" fill="currentColor" />
1508
1510
  <path d="M7.50007 11.2501L21.0001 11.2501V12.7501L7.50006 12.7501L7.50007 11.2501Z" fill="currentColor" />
@@ -1510,10 +1512,10 @@ const ga = ".TDesign-collapse-menu{position:relative;display:flex;align-items:ce
1510
1512
  <path d="M7.50007 18L21.0001 18V19.5L7.50006 19.5L7.50007 18Z" fill="currentColor" />
1511
1513
  <path d="M3.00098 18H5.25007V19.5H3.00098L3.00098 18Z" fill="currentColor" />
1512
1514
  </svg>`;
1513
- function va({ headerList: e, baseComponentsLinks: t, platform: n, framework: o }) {
1515
+ function ma({ headerList: e, baseComponentsLinks: t, platform: n, framework: o }) {
1514
1516
  const r = R`
1515
1517
  <a class="link" href="${Nr(n, o)}" id="${n}" target="_blank">
1516
- <span>${Ne() ? "工蜂" : "Github"}</span>
1518
+ <span>${Xe() ? "工蜂" : "Github"}</span>
1517
1519
  </a>
1518
1520
  `, i = (c) => location.pathname.includes(c);
1519
1521
  let a = [R`<div class="divider"></div>`];
@@ -1565,16 +1567,16 @@ ie({
1565
1567
  disabledTheme: !1,
1566
1568
  render: (e) => R`
1567
1569
  <div class="TDesign-collapse-menu">
1568
- <td-doc-popup portalStyle="${pa}" trigger-type="click">
1569
- <div class="collapse-icon" innerHTML="${ha}"></div>
1570
+ <td-doc-popup portalStyle="${ha}" trigger-type="click">
1571
+ <div class="collapse-icon" innerHTML="${va}"></div>
1570
1572
  <div slot="content" class="TDesign-collapse-menu__list">
1571
- ${va(e)} ${e.disabledTheme ? R`` : R`<td-theme-tabs></td-theme-tabs>`}
1573
+ ${ma(e)} ${e.disabledTheme ? R`` : R`<td-theme-tabs></td-theme-tabs>`}
1572
1574
  </div>
1573
1575
  </td-doc-popup>
1574
1576
  </div>
1575
- `.css`${ga}`
1577
+ `.css`${pa}`
1576
1578
  });
1577
- const ma = `<svg width="122" height="32" viewBox="0 0 122 32" fill="none" xmlns="http://www.w3.org/2000/svg">
1579
+ const ba = `<svg width="122" height="32" viewBox="0 0 122 32" fill="none" xmlns="http://www.w3.org/2000/svg">
1578
1580
  <g clip-path="url(#clip0_16025_26913)">
1579
1581
  <path
1580
1582
  d="M42.1876 8.78706H37.2302L34.1354 26.2045H30.52L33.5916 8.78706H28.6111L29.1491 5.79641H42.7256L42.1876 8.78706Z"
@@ -1632,7 +1634,7 @@ const ma = `<svg width="122" height="32" viewBox="0 0 122 32" fill="none" xmlns=
1632
1634
  <rect width="121.367" height="32" fill="white" />
1633
1635
  </clipPath>
1634
1636
  </defs>
1635
- </svg>`, ba = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1637
+ </svg>`, wa = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1636
1638
  <path d="M6 4.5C6 5.32846 5.32846 6 4.5 6C3.67154 6 3 5.32846 3 4.5C3 3.67154 3.67154 3 4.5 3C5.32846 3 6 3.67154 6 4.5Z" fill="currentColor" />
1637
1639
  <path d="M6 12C6 12.8285 5.32846 13.5 4.5 13.5C3.67154 13.5 3 12.8285 3 12C3 11.1715 3.67154 10.5 4.5 10.5C5.32846 10.5 6 11.1715 6 12Z" fill="currentColor" />
1638
1640
  <path d="M4.5 21C5.32846 21 6 20.3285 6 19.5C6 18.6715 5.32846 18 4.5 18C3.67154 18 3 18.6715 3 19.5C3 20.3285 3.67154 21 4.5 21Z" fill="currentColor" />
@@ -1643,15 +1645,15 @@ const ma = `<svg width="122" height="32" viewBox="0 0 122 32" fill="none" xmlns=
1643
1645
  <path d="M21 12C21 12.8285 20.3285 13.5 19.5 13.5C18.6715 13.5 18 12.8285 18 12C18 11.1715 18.6715 10.5 19.5 10.5C20.3285 10.5 21 11.1715 21 12Z" fill="currentColor" />
1644
1646
  <path d="M19.5 21C20.3285 21 21 20.3285 21 19.5C21 18.6715 20.3285 18 19.5 18C18.6715 18 18 18.6715 18 19.5C18 20.3285 18.6715 21 19.5 21Z" fill="currentColor" />
1645
1647
  </svg>
1646
- `, wa = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1648
+ `, Ca = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1647
1649
  <path d="M6.46042 12.4592L5.54119 11.54L9.08157 7.99961L5.54119 4.45923L6.46042 3.53999L10.92 7.99961L6.46042 12.4592Z" fill="currentColor" />
1648
1650
  </svg>
1649
- `, Ca = "https://cdc.cdn-go.cn/tdc/latest/menu.json", ya = "https://cdc.cdn-go.cn/tdc/latest/menu.woa.json", xa = "https://cdc.cdn-go.cn/tdc/latest/images", Aa = ".TDesign-header-logo{height:32px;display:inline-flex;align-items:center}.TDesign-header-logo .home{color:var(--text-primary);text-decoration:none}.TDesign-header-logo .home svg{display:block;height:32px}.TDesign-header-logo .divider{width:1px;height:16px;background:var(--component-stroke);margin:0 16px}.TDesign-header-logo__menu{height:32px;cursor:pointer}.TDesign-header-logo__menu svg{border-radius:var(--border-radius);padding:4px;width:32px;height:32px;box-sizing:border-box;transition:all .2s linear;color:var(--text-secondary)}.TDesign-header-logo__menu svg:hover{background-color:var(--bg-color-container-hover)}", Da = ".TDesign-header-logo__content{--menu-list-width: 400px;--list-direction: row;padding:16px;border-radius:6px;width:var(--menu-list-width);box-sizing:border-box}@media screen and (max-width: 750px){.TDesign-header-logo__content{--list-direction: column;--menu-list-width: 212px}}.TDesign-header-logo__content span.title:hover{cursor:auto;color:var(--text-primary);font-family:TencentSansW7}.TDesign-header-logo__content .title{color:var(--text-primary);display:inline-flex;align-items:flex-end;margin:0 16px 8px;line-height:22px;transition:color .2s linear;text-decoration:none;font-family:TencentSansW7}.TDesign-header-logo__content .title:hover{color:var(--brand-main)}.TDesign-header-logo__content .title i{width:16px;height:16px;margin-left:4px;margin-bottom:2px}.TDesign-header-logo__content .list{display:flex;flex-wrap:wrap;flex-direction:var(--list-direction);row-gap:8px;column-gap:8px}.TDesign-header-logo__content .list .item{text-decoration:none;padding:8px;width:180px;border-radius:var(--border-radius);box-sizing:border-box;display:flex;align-items:center;row-gap:8px;column-gap:8px;transition:all .2s linear}.TDesign-header-logo__content .list .item:hover{color:var(--text-primary);background:var(--bg-color-container-hover)}.TDesign-header-logo__content .list .item.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-header-logo__content .list .item .icon{width:40px;height:40px}.TDesign-header-logo__content .list .item .details{display:flex;justify-content:center;flex-direction:column}.TDesign-header-logo__content .list .item .details .name{color:var(--text-primary);font-family:TencentSansW7}.TDesign-header-logo__content .list .item .details .desc{font-size:12px;line-height:20px;color:var(--text-secondary)}.TDesign-header-logo__content .line{width:100%;height:1px;margin:16px 0;background-color:var(--component-stroke)}", Ta = ze() === "en";
1651
+ `, ya = "https://cdc.cdn-go.cn/tdc/latest/menu.json", xa = "https://cdc.cdn-go.cn/tdc/latest/menu.woa.json", Aa = "https://cdc.cdn-go.cn/tdc/latest/images", Da = ".TDesign-header-logo{height:32px;display:inline-flex;align-items:center}.TDesign-header-logo .home{color:var(--text-primary);text-decoration:none}.TDesign-header-logo .home svg{display:block;height:32px}.TDesign-header-logo .divider{width:1px;height:16px;background:var(--component-stroke);margin:0 16px}.TDesign-header-logo__menu{height:32px;cursor:pointer}.TDesign-header-logo__menu svg{border-radius:var(--border-radius);padding:4px;width:32px;height:32px;box-sizing:border-box;transition:all .2s linear;color:var(--text-secondary)}.TDesign-header-logo__menu svg:hover{background-color:var(--bg-color-container-hover)}", Ta = ".TDesign-header-logo__content{--menu-list-width: 400px;--list-direction: row;padding:16px;border-radius:6px;width:var(--menu-list-width);box-sizing:border-box}@media screen and (max-width: 750px){.TDesign-header-logo__content{--list-direction: column;--menu-list-width: 212px}}.TDesign-header-logo__content span.title:hover{cursor:auto;color:var(--text-primary);font-family:TencentSansW7}.TDesign-header-logo__content .title{color:var(--text-primary);display:inline-flex;align-items:flex-end;margin:0 16px 8px;line-height:22px;transition:color .2s linear;text-decoration:none;font-family:TencentSansW7}.TDesign-header-logo__content .title:hover{color:var(--brand-main)}.TDesign-header-logo__content .title i{width:16px;height:16px;margin-left:4px;margin-bottom:2px}.TDesign-header-logo__content .list{display:flex;flex-wrap:wrap;flex-direction:var(--list-direction);row-gap:8px;column-gap:8px}.TDesign-header-logo__content .list .item{text-decoration:none;padding:8px;width:180px;border-radius:var(--border-radius);box-sizing:border-box;display:flex;align-items:center;row-gap:8px;column-gap:8px;transition:all .2s linear}.TDesign-header-logo__content .list .item:hover{color:var(--text-primary);background:var(--bg-color-container-hover)}.TDesign-header-logo__content .list .item.active{color:var(--text-primary);background:var(--bg-color-container-select)}.TDesign-header-logo__content .list .item .icon{width:40px;height:40px}.TDesign-header-logo__content .list .item .details{display:flex;justify-content:center;flex-direction:column}.TDesign-header-logo__content .list .item .details .name{color:var(--text-primary);font-family:TencentSansW7}.TDesign-header-logo__content .list .item .details .desc{font-size:12px;line-height:20px;color:var(--text-secondary)}.TDesign-header-logo__content .line{width:100%;height:1px;margin:16px 0;background-color:var(--component-stroke)}";
1650
1652
  function Ha(e = []) {
1651
1653
  return R` <div class="list">
1652
1654
  ${e.map(
1653
1655
  (t) => R` <a class="item" href="${t.url}" target="${t.target}">
1654
- <img class="icon" src="${xa}/${t.key}.svg" />
1656
+ <img class="icon" src="${Aa}/${t.key}.svg" />
1655
1657
  <div class="details">
1656
1658
  <span class="name">${t.title}</span>
1657
1659
  <span class="desc">${t.desc}</span>
@@ -1666,7 +1668,7 @@ function Pa(e) {
1666
1668
  (n, o) => R`
1667
1669
  ${n.category_url ? R`
1668
1670
  <a href="${n.category_url}" class="title" target="${n.target}">
1669
- ${n.category_title} <i innerHTML="${wa}"></i>
1671
+ ${n.category_title} <i innerHTML="${Ca}"></i>
1670
1672
  </a>
1671
1673
  ` : R` <span class="title"> ${n.category_title} </span> `}
1672
1674
  ${Ha(n.children)} ${o < t - 1 ? R`<div class="line"></div>` : R``}
@@ -1680,10 +1682,10 @@ ie({
1680
1682
  set: (e, t) => t
1681
1683
  },
1682
1684
  isIntranet: {
1683
- get: () => Ne(),
1685
+ get: () => Xe(),
1684
1686
  set: (e) => e,
1685
1687
  connect: (e) => {
1686
- const t = Ne() ? ya : Ca;
1688
+ const t = Xe() ? xa : ya;
1687
1689
  fetch(t).then((n) => n.json()).then((n) => {
1688
1690
  n.forEach((o) => {
1689
1691
  o.target = "_blank", o.children.forEach((r) => {
@@ -1695,16 +1697,16 @@ ie({
1695
1697
  },
1696
1698
  render: ({ menuList: e }) => R`
1697
1699
  <style>
1698
- ${Aa}
1700
+ ${Da}
1699
1701
  </style>
1700
1702
 
1701
1703
  <div class="TDesign-header-logo">
1702
- <td-doc-popup portalStyle="${Da}" placement="bottom-start">
1703
- <div class="TDesign-header-logo__menu" innerHTML=${ba}></div>
1704
+ <td-doc-popup portalStyle="${Ta}" placement="bottom-start">
1705
+ <div class="TDesign-header-logo__menu" innerHTML=${wa}></div>
1704
1706
  <div slot="content" class="TDesign-header-logo__content">${Pa(e)}</div>
1705
1707
  </td-doc-popup>
1706
1708
  <span class="divider"></span>
1707
- <a class="home" href="${Ta ? "/index-en" : "/"}" title="TDesign" innerHTML=${ma}></a>
1709
+ <a class="home" href="${Ee() ? "/index-en" : "/"}" title="TDesign" innerHTML=${ba}></a>
1708
1710
  </div>
1709
1711
  `
1710
1712
  });
@@ -1760,7 +1762,7 @@ var me = "top", He = "bottom", Pe = "right", be = "left", qn = "auto", yt = [me,
1760
1762
  }, []), Fr = /* @__PURE__ */ [].concat(yt, [qn]).reduce(function(e, t) {
1761
1763
  return e.concat([t, t + "-" + _e, t + "-" + bt]);
1762
1764
  }, []), La = "beforeRead", za = "read", Ra = "afterRead", ja = "beforeMain", Sa = "main", Ia = "afterMain", Na = "beforeWrite", Xa = "write", Fa = "afterWrite", qa = [La, za, Ra, ja, Sa, Ia, Na, Xa, Fa];
1763
- function Ee(e) {
1765
+ function Me(e) {
1764
1766
  return e ? (e.nodeName || "").toLowerCase() : null;
1765
1767
  }
1766
1768
  function Ce(e) {
@@ -1772,7 +1774,7 @@ function Ce(e) {
1772
1774
  }
1773
1775
  return e;
1774
1776
  }
1775
- function qe(e) {
1777
+ function Ge(e) {
1776
1778
  var t = Ce(e).Element;
1777
1779
  return e instanceof t || e instanceof Element;
1778
1780
  }
@@ -1790,7 +1792,7 @@ function Ga(e) {
1790
1792
  var t = e.state;
1791
1793
  Object.keys(t.elements).forEach(function(n) {
1792
1794
  var o = t.styles[n] || {}, r = t.attributes[n] || {}, i = t.elements[n];
1793
- !De(i) || !Ee(i) || (Object.assign(i.style, o), Object.keys(r).forEach(function(a) {
1795
+ !De(i) || !Me(i) || (Object.assign(i.style, o), Object.keys(r).forEach(function(a) {
1794
1796
  var s = r[a];
1795
1797
  s === !1 ? i.removeAttribute(a) : i.setAttribute(a, s === !0 ? "" : s);
1796
1798
  }));
@@ -1814,7 +1816,7 @@ function Ua(e) {
1814
1816
  var r = t.elements[o], i = t.attributes[o] || {}, a = Object.keys(t.styles.hasOwnProperty(o) ? t.styles[o] : n[o]), s = a.reduce(function(c, p) {
1815
1817
  return c[p] = "", c;
1816
1818
  }, {});
1817
- !De(r) || !Ee(r) || (Object.assign(r.style, s), Object.keys(i).forEach(function(c) {
1819
+ !De(r) || !Me(r) || (Object.assign(r.style, s), Object.keys(i).forEach(function(c) {
1818
1820
  r.removeAttribute(c);
1819
1821
  }));
1820
1822
  });
@@ -1831,7 +1833,7 @@ const Ka = {
1831
1833
  function Oe(e) {
1832
1834
  return e.split("-")[0];
1833
1835
  }
1834
- var Xe = Math.max, It = Math.min, $e = Math.round;
1836
+ var Fe = Math.max, It = Math.min, $e = Math.round;
1835
1837
  function kn() {
1836
1838
  var e = navigator.userAgentData;
1837
1839
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
@@ -1845,7 +1847,7 @@ function et(e, t, n) {
1845
1847
  t === void 0 && (t = !1), n === void 0 && (n = !1);
1846
1848
  var o = e.getBoundingClientRect(), r = 1, i = 1;
1847
1849
  t && De(e) && (r = e.offsetWidth > 0 && $e(o.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && $e(o.height) / e.offsetHeight || 1);
1848
- var a = qe(e) ? Ce(e) : window, s = a.visualViewport, c = !qr() && n, p = (o.left + (c && s ? s.offsetLeft : 0)) / r, g = (o.top + (c && s ? s.offsetTop : 0)) / i, f = o.width / r, b = o.height / i;
1850
+ var a = Ge(e) ? Ce(e) : window, s = a.visualViewport, c = !qr() && n, p = (o.left + (c && s ? s.offsetLeft : 0)) / r, g = (o.top + (c && s ? s.offsetTop : 0)) / i, f = o.width / r, b = o.height / i;
1849
1851
  return {
1850
1852
  width: f,
1851
1853
  height: b,
@@ -1880,20 +1882,20 @@ function Gr(e, t) {
1880
1882
  }
1881
1883
  return !1;
1882
1884
  }
1883
- function Le(e) {
1885
+ function Re(e) {
1884
1886
  return Ce(e).getComputedStyle(e);
1885
1887
  }
1886
1888
  function Va(e) {
1887
- return ["table", "td", "th"].indexOf(Ee(e)) >= 0;
1889
+ return ["table", "td", "th"].indexOf(Me(e)) >= 0;
1888
1890
  }
1889
- function Se(e) {
1890
- return ((qe(e) ? e.ownerDocument : (
1891
+ function Ie(e) {
1892
+ return ((Ge(e) ? e.ownerDocument : (
1891
1893
  // $FlowFixMe[prop-missing]
1892
1894
  e.document
1893
1895
  )) || window.document).documentElement;
1894
1896
  }
1895
1897
  function qt(e) {
1896
- return Ee(e) === "html" ? e : (
1898
+ return Me(e) === "html" ? e : (
1897
1899
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
1898
1900
  // $FlowFixMe[incompatible-return]
1899
1901
  // $FlowFixMe[prop-missing]
@@ -1901,23 +1903,23 @@ function qt(e) {
1901
1903
  e.parentNode || // DOM Element detected
1902
1904
  (Gn(e) ? e.host : null) || // ShadowRoot detected
1903
1905
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
1904
- Se(e)
1906
+ Ie(e)
1905
1907
  );
1906
1908
  }
1907
1909
  function Ao(e) {
1908
1910
  return !De(e) || // https://github.com/popperjs/popper-core/issues/837
1909
- Le(e).position === "fixed" ? null : e.offsetParent;
1911
+ Re(e).position === "fixed" ? null : e.offsetParent;
1910
1912
  }
1911
1913
  function Za(e) {
1912
1914
  var t = /firefox/i.test(kn()), n = /Trident/i.test(kn());
1913
1915
  if (n && De(e)) {
1914
- var o = Le(e);
1916
+ var o = Re(e);
1915
1917
  if (o.position === "fixed")
1916
1918
  return null;
1917
1919
  }
1918
1920
  var r = qt(e);
1919
- for (Gn(r) && (r = r.host); De(r) && ["html", "body"].indexOf(Ee(r)) < 0; ) {
1920
- var i = Le(r);
1921
+ for (Gn(r) && (r = r.host); De(r) && ["html", "body"].indexOf(Me(r)) < 0; ) {
1922
+ var i = Re(r);
1921
1923
  if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
1922
1924
  return r;
1923
1925
  r = r.parentNode;
@@ -1925,15 +1927,15 @@ function Za(e) {
1925
1927
  return null;
1926
1928
  }
1927
1929
  function xt(e) {
1928
- for (var t = Ce(e), n = Ao(e); n && Va(n) && Le(n).position === "static"; )
1930
+ for (var t = Ce(e), n = Ao(e); n && Va(n) && Re(n).position === "static"; )
1929
1931
  n = Ao(n);
1930
- return n && (Ee(n) === "html" || Ee(n) === "body" && Le(n).position === "static") ? t : n || Za(e) || t;
1932
+ return n && (Me(n) === "html" || Me(n) === "body" && Re(n).position === "static") ? t : n || Za(e) || t;
1931
1933
  }
1932
1934
  function Kn(e) {
1933
1935
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
1934
1936
  }
1935
1937
  function ft(e, t, n) {
1936
- return Xe(e, It(t, n));
1938
+ return Fe(e, It(t, n));
1937
1939
  }
1938
1940
  function Ya(e, t, n) {
1939
1941
  var o = ft(e, t, n);
@@ -2008,7 +2010,7 @@ function Do(e) {
2008
2010
  var v = a.hasOwnProperty("x"), h = a.hasOwnProperty("y"), w = be, y = me, D = window;
2009
2011
  if (p) {
2010
2012
  var A = xt(n), H = "clientHeight", O = "clientWidth";
2011
- if (A === Ce(n) && (A = Se(n), Le(A).position !== "static" && s === "absolute" && (H = "scrollHeight", O = "scrollWidth")), A = A, r === me || (r === be || r === Pe) && i === bt) {
2013
+ if (A === Ce(n) && (A = Ie(n), Re(A).position !== "static" && s === "absolute" && (H = "scrollHeight", O = "scrollWidth")), A = A, r === me || (r === be || r === Pe) && i === bt) {
2012
2014
  y = He;
2013
2015
  var P = f && A === D && D.visualViewport ? D.visualViewport.height : (
2014
2016
  // $FlowFixMe[prop-missing]
@@ -2120,10 +2122,10 @@ function Vn(e) {
2120
2122
  };
2121
2123
  }
2122
2124
  function Zn(e) {
2123
- return et(Se(e)).left + Vn(e).scrollLeft;
2125
+ return et(Ie(e)).left + Vn(e).scrollLeft;
2124
2126
  }
2125
2127
  function ls(e, t) {
2126
- var n = Ce(e), o = Se(e), r = n.visualViewport, i = o.clientWidth, a = o.clientHeight, s = 0, c = 0;
2128
+ var n = Ce(e), o = Ie(e), r = n.visualViewport, i = o.clientWidth, a = o.clientHeight, s = 0, c = 0;
2127
2129
  if (r) {
2128
2130
  i = r.width, a = r.height;
2129
2131
  var p = qr();
@@ -2137,8 +2139,8 @@ function ls(e, t) {
2137
2139
  };
2138
2140
  }
2139
2141
  function cs(e) {
2140
- var t, n = Se(e), o = Vn(e), r = (t = e.ownerDocument) == null ? void 0 : t.body, i = Xe(n.scrollWidth, n.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), a = Xe(n.scrollHeight, n.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), s = -o.scrollLeft + Zn(e), c = -o.scrollTop;
2141
- return Le(r || n).direction === "rtl" && (s += Xe(n.clientWidth, r ? r.clientWidth : 0) - i), {
2142
+ var t, n = Ie(e), o = Vn(e), r = (t = e.ownerDocument) == null ? void 0 : t.body, i = Fe(n.scrollWidth, n.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), a = Fe(n.scrollHeight, n.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), s = -o.scrollLeft + Zn(e), c = -o.scrollTop;
2143
+ return Re(r || n).direction === "rtl" && (s += Fe(n.clientWidth, r ? r.clientWidth : 0) - i), {
2142
2144
  width: i,
2143
2145
  height: a,
2144
2146
  x: s,
@@ -2146,11 +2148,11 @@ function cs(e) {
2146
2148
  };
2147
2149
  }
2148
2150
  function Yn(e) {
2149
- var t = Le(e), n = t.overflow, o = t.overflowX, r = t.overflowY;
2151
+ var t = Re(e), n = t.overflow, o = t.overflowX, r = t.overflowY;
2150
2152
  return /auto|scroll|overlay|hidden/.test(n + r + o);
2151
2153
  }
2152
2154
  function Zr(e) {
2153
- return ["html", "body", "#document"].indexOf(Ee(e)) >= 0 ? e.ownerDocument.body : De(e) && Yn(e) ? e : Zr(qt(e));
2155
+ return ["html", "body", "#document"].indexOf(Me(e)) >= 0 ? e.ownerDocument.body : De(e) && Yn(e) ? e : Zr(qt(e));
2154
2156
  }
2155
2157
  function gt(e, t) {
2156
2158
  var n;
@@ -2174,18 +2176,18 @@ function ds(e, t) {
2174
2176
  return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
2175
2177
  }
2176
2178
  function Ho(e, t, n) {
2177
- return t === Xr ? Qn(ls(e, n)) : qe(t) ? ds(t, n) : Qn(cs(Se(e)));
2179
+ return t === Xr ? Qn(ls(e, n)) : Ge(t) ? ds(t, n) : Qn(cs(Ie(e)));
2178
2180
  }
2179
2181
  function us(e) {
2180
- var t = gt(qt(e)), n = ["absolute", "fixed"].indexOf(Le(e).position) >= 0, o = n && De(e) ? xt(e) : e;
2181
- return qe(o) ? t.filter(function(r) {
2182
- return qe(r) && Gr(r, o) && Ee(r) !== "body";
2182
+ var t = gt(qt(e)), n = ["absolute", "fixed"].indexOf(Re(e).position) >= 0, o = n && De(e) ? xt(e) : e;
2183
+ return Ge(o) ? t.filter(function(r) {
2184
+ return Ge(r) && Gr(r, o) && Me(r) !== "body";
2183
2185
  }) : [];
2184
2186
  }
2185
2187
  function fs(e, t, n, o) {
2186
2188
  var r = t === "clippingParents" ? us(e) : [].concat(t), i = [].concat(r, [n]), a = i[0], s = i.reduce(function(c, p) {
2187
2189
  var g = Ho(e, p, o);
2188
- return c.top = Xe(g.top, c.top), c.right = It(g.right, c.right), c.bottom = It(g.bottom, c.bottom), c.left = Xe(g.left, c.left), c;
2190
+ return c.top = Fe(g.top, c.top), c.right = It(g.right, c.right), c.bottom = It(g.bottom, c.bottom), c.left = Fe(g.left, c.left), c;
2189
2191
  }, Ho(e, a, o));
2190
2192
  return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
2191
2193
  }
@@ -2238,7 +2240,7 @@ function Yr(e) {
2238
2240
  }
2239
2241
  function wt(e, t) {
2240
2242
  t === void 0 && (t = {});
2241
- var n = t, o = n.placement, r = o === void 0 ? e.placement : o, i = n.strategy, a = i === void 0 ? e.strategy : i, s = n.boundary, c = s === void 0 ? ka : s, p = n.rootBoundary, g = p === void 0 ? Xr : p, f = n.elementContext, b = f === void 0 ? at : f, C = n.altBoundary, u = C === void 0 ? !1 : C, l = n.padding, d = l === void 0 ? 0 : l, v = Kr(typeof d != "number" ? d : Vr(d, yt)), h = b === at ? Qa : at, w = e.rects.popper, y = e.elements[u ? h : b], D = fs(qe(y) ? y : y.contextElement || Se(e.elements.popper), c, g, a), A = et(e.elements.reference), H = Yr({
2243
+ var n = t, o = n.placement, r = o === void 0 ? e.placement : o, i = n.strategy, a = i === void 0 ? e.strategy : i, s = n.boundary, c = s === void 0 ? ka : s, p = n.rootBoundary, g = p === void 0 ? Xr : p, f = n.elementContext, b = f === void 0 ? at : f, C = n.altBoundary, u = C === void 0 ? !1 : C, l = n.padding, d = l === void 0 ? 0 : l, v = Kr(typeof d != "number" ? d : Vr(d, yt)), h = b === at ? Qa : at, w = e.rects.popper, y = e.elements[u ? h : b], D = fs(Ge(y) ? y : y.contextElement || Ie(e.elements.popper), c, g, a), A = et(e.elements.reference), H = Yr({
2242
2244
  reference: A,
2243
2245
  element: w,
2244
2246
  placement: r
@@ -2446,11 +2448,11 @@ function Ts(e) {
2446
2448
  var T, M = y === "y" ? me : be, j = y === "y" ? He : Pe, S = y === "y" ? "height" : "width", z = A[y], F = z + d[M], Z = z - d[j], U = C ? -O[S] / 2 : 0, G = h === _e ? H[S] : O[S], W = h === _e ? -O[S] : -H[S], K = t.elements.arrow, oe = C && K ? Un(K) : {
2447
2449
  width: 0,
2448
2450
  height: 0
2449
- }, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ur(), re = Y[M], V = Y[j], ee = ft(0, H[S], oe[S]), ae = w ? H[S] / 2 - U - ee - re - x.mainAxis : G - ee - re - x.mainAxis, se = w ? -H[S] / 2 + U + ee + V + x.mainAxis : W + ee + V + x.mainAxis, ne = t.elements.arrow && xt(t.elements.arrow), de = ne ? y === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, ce = (T = B == null ? void 0 : B[y]) != null ? T : 0, pe = z + ae - ce - de, we = z + se - ce, Me = ft(C ? It(F, pe) : F, z, C ? Xe(Z, we) : Z);
2450
- A[y] = Me, k[y] = Me - z;
2451
+ }, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ur(), re = Y[M], V = Y[j], ee = ft(0, H[S], oe[S]), ae = w ? H[S] / 2 - U - ee - re - x.mainAxis : G - ee - re - x.mainAxis, se = w ? -H[S] / 2 + U + ee + V + x.mainAxis : W + ee + V + x.mainAxis, ne = t.elements.arrow && xt(t.elements.arrow), de = ne ? y === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, ce = (T = B == null ? void 0 : B[y]) != null ? T : 0, pe = z + ae - ce - de, we = z + se - ce, ke = ft(C ? It(F, pe) : F, z, C ? Fe(Z, we) : Z);
2452
+ A[y] = ke, k[y] = ke - z;
2451
2453
  }
2452
2454
  if (s) {
2453
- var he, Ie = y === "x" ? me : be, ye = y === "x" ? He : Pe, xe = A[D], ke = D === "y" ? "height" : "width", m = xe + d[Ie], E = xe - d[ye], Q = [me, be].indexOf(v) !== -1, N = (he = B == null ? void 0 : B[D]) != null ? he : 0, _ = Q ? m : xe - H[ke] - O[ke] - N + x.altAxis, q = Q ? xe + H[ke] + O[ke] - N - x.altAxis : E, fe = C && Q ? Ya(_, xe, q) : ft(C ? _ : m, xe, C ? q : E);
2455
+ var he, Ne = y === "x" ? me : be, ye = y === "x" ? He : Pe, xe = A[D], Qe = D === "y" ? "height" : "width", m = xe + d[Ne], E = xe - d[ye], Q = [me, be].indexOf(v) !== -1, N = (he = B == null ? void 0 : B[D]) != null ? he : 0, _ = Q ? m : xe - H[Qe] - O[Qe] - N + x.altAxis, q = Q ? xe + H[Qe] + O[Qe] - N - x.altAxis : E, fe = C && Q ? Ya(_, xe, q) : ft(C ? _ : m, xe, C ? q : E);
2454
2456
  A[D] = fe, k[D] = fe - xe;
2455
2457
  }
2456
2458
  t.modifiersData[o] = k;
@@ -2478,14 +2480,14 @@ function Os(e) {
2478
2480
  }
2479
2481
  function Es(e, t, n) {
2480
2482
  n === void 0 && (n = !1);
2481
- var o = De(t), r = De(t) && Os(t), i = Se(t), a = et(e, r, n), s = {
2483
+ var o = De(t), r = De(t) && Os(t), i = Ie(t), a = et(e, r, n), s = {
2482
2484
  scrollLeft: 0,
2483
2485
  scrollTop: 0
2484
2486
  }, c = {
2485
2487
  x: 0,
2486
2488
  y: 0
2487
2489
  };
2488
- return (o || !o && !n) && ((Ee(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
2490
+ return (o || !o && !n) && ((Me(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
2489
2491
  Yn(i)) && (s = Bs(t)), De(t) ? (c = et(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : i && (c.x = Zn(i))), {
2490
2492
  x: a.left + s.scrollLeft - c.x,
2491
2493
  y: a.top + s.scrollTop - c.y,
@@ -2575,7 +2577,7 @@ function zs(e) {
2575
2577
  setOptions: function(v) {
2576
2578
  var h = typeof v == "function" ? v(g.options) : v;
2577
2579
  l(), g.options = Object.assign({}, i, g.options, h), g.scrollParents = {
2578
- reference: qe(s) ? gt(s) : s.contextElement ? gt(s.contextElement) : [],
2580
+ reference: Ge(s) ? gt(s) : s.contextElement ? gt(s.contextElement) : [],
2579
2581
  popper: gt(c)
2580
2582
  };
2581
2583
  var w = ks(Ls([].concat(o, g.options.modifiers)));
@@ -2958,10 +2960,10 @@ ie({
2958
2960
  get: (e, t) => t || "light",
2959
2961
  set: (e, t) => (t && (localStorage.setItem("--tdesign-theme", t), window.dispatchEvent(tl)), t),
2960
2962
  connect: (e, t, n) => {
2961
- const o = localStorage.getItem("--tdesign-theme");
2962
- o && (document.documentElement.removeAttribute("theme-mode"), Object.assign(e, { [t]: o }), document.documentElement.setAttribute("theme-mode", o), n());
2963
- const r = Ir((i) => Object.assign(e, { [t]: i }));
2964
- return () => r.disconnect();
2963
+ const o = localStorage.getItem("--tdesign-theme"), r = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", i = o || r;
2964
+ document.documentElement.setAttribute("theme-mode", i), Object.assign(e, { [t]: i }), n();
2965
+ const a = jr((s) => Object.assign(e, { [t]: s }));
2966
+ return () => a.disconnect();
2965
2967
  }
2966
2968
  },
2967
2969
  blockStyleMap: {
@@ -3253,7 +3255,7 @@ ie({
3253
3255
  patchDom: {
3254
3256
  get: (e, t) => t || !1,
3255
3257
  set: (e, t) => t,
3256
- connect: jr
3258
+ connect: zr
3257
3259
  },
3258
3260
  updateNotice: {
3259
3261
  get: (e, t) => t || {},
@@ -4018,7 +4020,7 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
4018
4020
  fe && !N && m.getElementsByClassName ? _ ? m.getElementsByClassName(q) : m.getElementsByTagName(E) : m.querySelectorAll(E)
4019
4021
  );
4020
4022
  };
4021
- function Me(m, E) {
4023
+ function ke(m, E) {
4022
4024
  return E == null ? a(m) : a(m).filter(E);
4023
4025
  }
4024
4026
  a.contains = b.documentElement.contains ? function(m, E) {
@@ -4031,7 +4033,7 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
4031
4033
  function he(m, E, Q, N) {
4032
4034
  return G(E) ? E.call(m, Q, N) : E;
4033
4035
  }
4034
- function Ie(m, E, Q) {
4036
+ function Ne(m, E, Q) {
4035
4037
  Q == null ? m.removeAttribute(E) : m.setAttribute(E, Q);
4036
4038
  }
4037
4039
  function ye(m, E) {
@@ -4211,13 +4213,13 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
4211
4213
  if ((N = N.parentNode) && !K(N) && E.indexOf(N) < 0)
4212
4214
  return E.push(N), N;
4213
4215
  });
4214
- return Me(E, m);
4216
+ return ke(E, m);
4215
4217
  },
4216
4218
  parent: function(m) {
4217
- return Me(S(this.pluck("parentNode")), m);
4219
+ return ke(S(this.pluck("parentNode")), m);
4218
4220
  },
4219
4221
  children: function(m) {
4220
- return Me(
4222
+ return ke(
4221
4223
  this.map(function() {
4222
4224
  return ce(this);
4223
4225
  }),
@@ -4230,7 +4232,7 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
4230
4232
  });
4231
4233
  },
4232
4234
  siblings: function(m) {
4233
- return Me(
4235
+ return ke(
4234
4236
  this.map(function(E, Q) {
4235
4237
  return g.call(ce(Q.parentNode), function(N) {
4236
4238
  return N !== Q;
@@ -4329,9 +4331,9 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
4329
4331
  return typeof m == "string" && !(1 in arguments) ? 0 in this && this[0].nodeType == 1 && (Q = this[0].getAttribute(m)) != null ? Q : r : this.each(function(N) {
4330
4332
  if (this.nodeType === 1)
4331
4333
  if (oe(m))
4332
- for (i in m) Ie(this, i, m[i]);
4334
+ for (i in m) Ne(this, i, m[i]);
4333
4335
  else
4334
- Ie(
4336
+ Ne(
4335
4337
  this,
4336
4338
  m,
4337
4339
  he(this, E, N, this.getAttribute(m))
@@ -4341,7 +4343,7 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
4341
4343
  removeAttr: function(m) {
4342
4344
  return this.each(function() {
4343
4345
  this.nodeType === 1 && m.split(" ").forEach(function(E) {
4344
- Ie(this, E);
4346
+ Ne(this, E);
4345
4347
  }, this);
4346
4348
  });
4347
4349
  },
@@ -4505,10 +4507,10 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
4505
4507
  });
4506
4508
  };
4507
4509
  });
4508
- function ke(m, E) {
4510
+ function Qe(m, E) {
4509
4511
  E(m);
4510
4512
  for (var Q = 0, N = m.childNodes.length; Q < N; Q++)
4511
- ke(m.childNodes[Q], E);
4513
+ Qe(m.childNodes[Q], E);
4512
4514
  }
4513
4515
  return A.forEach(function(m, E) {
4514
4516
  var Q = E % 2;
@@ -4531,7 +4533,7 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
4531
4533
  _.forEach(function(J) {
4532
4534
  if (fe) J = J.cloneNode(!0);
4533
4535
  else if (!q) return a(J).remove();
4534
- q.insertBefore(J, I), X && ke(J, function($) {
4536
+ q.insertBefore(J, I), X && Qe(J, function($) {
4535
4537
  if ($.nodeName != null && $.nodeName.toUpperCase() === "SCRIPT" && (!$.type || $.type === "text/javascript") && !$.src) {
4536
4538
  var te = $.ownerDocument ? $.ownerDocument.defaultView : n;
4537
4539
  te.eval.call(te, $.innerHTML);
@@ -6595,17 +6597,17 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
6595
6597
  }
6596
6598
  }
6597
6599
  function we(L, I, X, J) {
6598
- var $ = a(X), te = void 0, ge = void 0, Ke = void 0, At = void 0;
6600
+ var $ = a(X), te = void 0, ge = void 0, Ve = void 0, At = void 0;
6599
6601
  if ($) {
6600
- if (te = pe(X, J), te === U ? (At = !0, ge = te.error, te.error = null) : Ke = !0, I === te) {
6602
+ if (te = pe(X, J), te === U ? (At = !0, ge = te.error, te.error = null) : Ve = !0, I === te) {
6601
6603
  ne(I, W());
6602
6604
  return;
6603
6605
  }
6604
6606
  } else
6605
- te = J, Ke = !0;
6606
- I._state !== z || ($ && Ke ? ee(I, te) : At ? ne(I, ge) : L === F ? se(I, te) : L === Z && ne(I, te));
6607
+ te = J, Ve = !0;
6608
+ I._state !== z || ($ && Ve ? ee(I, te) : At ? ne(I, ge) : L === F ? se(I, te) : L === Z && ne(I, te));
6607
6609
  }
6608
- function Me(L, I) {
6610
+ function ke(L, I) {
6609
6611
  try {
6610
6612
  I(
6611
6613
  function(J) {
@@ -6620,7 +6622,7 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
6620
6622
  }
6621
6623
  }
6622
6624
  var he = 0;
6623
- function Ie() {
6625
+ function Ne() {
6624
6626
  return he++;
6625
6627
  }
6626
6628
  function ye(L) {
@@ -6629,7 +6631,7 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
6629
6631
  function xe() {
6630
6632
  return new Error("Array Methods must be provided an Array");
6631
6633
  }
6632
- var ke = function() {
6634
+ var Qe = function() {
6633
6635
  function L(I, X) {
6634
6636
  this._instanceConstructor = I, this.promise = new I(S), this.promise[j] || ye(this.promise), c(X) ? (this.length = X.length, this._remaining = X.length, this._result = new Array(this.length), this.length === 0 ? se(this.promise, this._result) : (this.length = this.length || 0, this._enumerate(X), this._remaining === 0 && se(this.promise, this._result))) : ne(this.promise, xe());
6635
6637
  }
@@ -6645,8 +6647,8 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
6645
6647
  else if (typeof ge != "function")
6646
6648
  this._remaining--, this._result[J] = X;
6647
6649
  else if ($ === q) {
6648
- var Ke = new $(S);
6649
- V(Ke, X, ge), this._willSettleAt(Ke, J);
6650
+ var Ve = new $(S);
6651
+ V(Ve, X, ge), this._willSettleAt(Ve, J);
6650
6652
  } else
6651
6653
  this._willSettleAt(
6652
6654
  new $(function(At) {
@@ -6674,7 +6676,7 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
6674
6676
  }, L;
6675
6677
  }();
6676
6678
  function m(L) {
6677
- return new ke(this, L).promise;
6679
+ return new Qe(this, L).promise;
6678
6680
  }
6679
6681
  function E(L) {
6680
6682
  var I = this;
@@ -6701,7 +6703,7 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
6701
6703
  }
6702
6704
  var q = function() {
6703
6705
  function L(I) {
6704
- this[j] = Ie(), this._result = this._state = void 0, this._subscribers = [], S !== I && (typeof I != "function" && N(), this instanceof L ? Me(this, I) : _());
6706
+ this[j] = Ne(), this._result = this._state = void 0, this._subscribers = [], S !== I && (typeof I != "function" && N(), this instanceof L ? ke(this, I) : _());
6705
6707
  }
6706
6708
  return L.prototype.catch = function(X) {
6707
6709
  return this.then(null, X);
@@ -8072,8 +8074,8 @@ const pl = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
8072
8074
  }
8073
8075
  ]);
8074
8076
  });
8075
- const vl = `.algolia-autocomplete{width:100%;height:100%}.algolia-autocomplete .ds-dropdown-menu{width:480px;top:-6px;border-radius:6px;margin:8px 0 0;padding:0;text-align:left;height:auto;position:relative;border:0;z-index:999;max-width:600px;min-width:500px;box-shadow:var(--popup-box-shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:var(--bg-color-container-transparent)}.algolia-autocomplete .ds-dropdown-menu .ds-suggestions{position:relative;z-index:1000;border-bottom:1px solid var(--component-stroke);padding:8px}.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-]{position:relative;border-radius:6px;overflow:auto;border:1px solid var(--component-border)}.algolia-autocomplete .ds-dropdown-menu *{box-sizing:border-box}.algolia-autocomplete .algolia-docsearch-suggestion{display:block;position:relative;color:var(--text-primary);overflow:hidden}.algolia-autocomplete .algolia-docsearch-suggestion--category-header{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{float:left;width:30%;text-align:right;position:relative;padding:8px;color:var(--text-secondary);font-size:14px;word-wrap:break-word}.algolia-autocomplete .algolia-docsearch-suggestion--content{display:block;float:right;width:70%;position:relative;padding:8px 16px;cursor:pointer;border-radius:0 3px 3px 0}.algolia-autocomplete .algolia-docsearch-suggestion--content .algolia-docsearch-suggestion--subcategory-inline{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--content:before{content:"";position:absolute;display:block;top:0;height:100%;width:1px;background:var(--component-border);left:-1px}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion.ds-cursor .algolia-docsearch-suggestion.suggestion-layout-simple,.algolia-autocomplete .ds-dropdown-menu .ds-suggestion.ds-cursor .algolia-docsearch-suggestion:not(.suggestion-layout-simple) .algolia-docsearch-suggestion--content{background:var(--bg-color-container-hover);transition:all .2s linear}.algolia-autocomplete .algolia-docsearch-suggestion--title{font-weight:700;color:var(--text-primary);margin-bottom:0;font-size:16px;line-height:24px}.algolia-autocomplete .algolia-docsearch-suggestion--title+.algolia-docsearch-suggestion--text{margin-top:4px}.algolia-autocomplete .algolia-docsearch-suggestion--text{font-size:14px;line-height:22px;color:var(--text-secondary)}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{padding:1px 4px;border-radius:3px;color:var(--brand-main);background-color:var(--brand-main-light);text-decoration:underline;text-decoration-color:var(--brand-main)}.algolia-autocomplete .algolia-docsearch-suggestion--no-results{width:100%;padding:8px 0;text-align:center;font-size:14px}.algolia-autocomplete .algolia-docsearch-footer{width:134px;height:26px;z-index:2000;margin:4px 8px;float:right;font-size:0;line-height:0}.algolia-autocomplete .algolia-docsearch-footer--logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='168' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M78.988.938h16.594a2.968 2.968 0 0 1 2.966 2.966V20.5a2.967 2.967 0 0 1-2.966 2.964H78.988a2.967 2.967 0 0 1-2.966-2.964V3.897A2.961 2.961 0 0 1 78.988.938zm41.937 17.866c-4.386.02-4.386-3.54-4.386-4.106l-.007-13.336 2.675-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-10.846-2.18c.821 0 1.43-.047 1.855-.129v-2.719a6.334 6.334 0 0 0-1.574-.199 5.7 5.7 0 0 0-.897.069 2.699 2.699 0 0 0-.814.24c-.24.116-.439.28-.582.491-.15.212-.219.335-.219.656 0 .628.219.991.616 1.23s.938.362 1.615.362zm-.233-9.7c.883 0 1.629.109 2.231.328.602.218 1.088.525 1.444.915.363.396.609.922.76 1.483.157.56.232 1.175.232 1.85v6.874a32.5 32.5 0 0 1-1.868.314c-.834.123-1.772.185-2.813.185-.69 0-1.327-.069-1.895-.198a4.001 4.001 0 0 1-1.471-.636 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.803 0-.656.13-1.073.384-1.525a3.24 3.24 0 0 1 1.047-1.106c.445-.287.95-.492 1.532-.615a8.8 8.8 0 0 1 1.82-.185 8.404 8.404 0 0 1 1.972.24v-.438c0-.307-.035-.6-.11-.874a1.88 1.88 0 0 0-.384-.73 1.784 1.784 0 0 0-.724-.493 3.164 3.164 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.735 7.735 0 0 0-1.26.307l-.321-2.192c.335-.117.834-.233 1.478-.349a10.98 10.98 0 0 1 2.073-.178zm52.842 9.626c.822 0 1.43-.048 1.854-.13V13.7a6.347 6.347 0 0 0-1.574-.199c-.294 0-.595.021-.896.069a2.7 2.7 0 0 0-.814.24 1.46 1.46 0 0 0-.582.491c-.15.212-.218.335-.218.656 0 .628.218.991.615 1.23.404.245.938.362 1.615.362zm-.226-9.694c.883 0 1.629.108 2.231.327.602.219 1.088.526 1.444.915.355.39.609.923.759 1.483a6.8 6.8 0 0 1 .233 1.852v6.873c-.41.088-1.034.19-1.868.314-.834.123-1.772.184-2.813.184-.69 0-1.327-.068-1.895-.198a4.001 4.001 0 0 1-1.471-.635 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.804 0-.656.13-1.073.384-1.524.26-.45.608-.82 1.047-1.107.445-.286.95-.491 1.532-.614a8.803 8.803 0 0 1 2.751-.13c.329.034.671.096 1.04.185v-.437a3.3 3.3 0 0 0-.109-.875 1.873 1.873 0 0 0-.384-.731 1.784 1.784 0 0 0-.724-.492 3.165 3.165 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.75 7.75 0 0 0-1.26.307l-.321-2.193c.335-.116.834-.232 1.478-.348a11.633 11.633 0 0 1 2.073-.177zm-8.034-1.271a1.626 1.626 0 0 1-1.628-1.62c0-.895.725-1.62 1.628-1.62.904 0 1.63.725 1.63 1.62 0 .895-.733 1.62-1.63 1.62zm1.348 13.22h-2.689V7.27l2.69-.423v11.956zm-4.714 0c-4.386.02-4.386-3.54-4.386-4.107l-.008-13.336 2.676-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-8.698-5.903c0-1.156-.253-2.119-.746-2.788-.493-.677-1.183-1.01-2.067-1.01-.882 0-1.574.333-2.065 1.01-.493.676-.733 1.632-.733 2.788 0 1.168.246 1.953.74 2.63.492.683 1.183 1.018 2.066 1.018.882 0 1.574-.342 2.067-1.019.492-.683.738-1.46.738-2.63zm2.737-.007c0 .902-.13 1.584-.397 2.33a5.52 5.52 0 0 1-1.128 1.906 4.986 4.986 0 0 1-1.752 1.223c-.685.286-1.739.45-2.265.45-.528-.006-1.574-.157-2.252-.45a5.096 5.096 0 0 1-1.744-1.223c-.487-.527-.863-1.162-1.137-1.906a6.345 6.345 0 0 1-.41-2.33c0-.902.123-1.77.397-2.508a5.554 5.554 0 0 1 1.15-1.892 5.133 5.133 0 0 1 1.75-1.216c.679-.287 1.425-.423 2.232-.423.808 0 1.553.142 2.237.423a4.88 4.88 0 0 1 1.753 1.216 5.644 5.644 0 0 1 1.135 1.892c.287.738.431 1.606.431 2.508zm-20.138 0c0 1.12.246 2.363.738 2.882.493.52 1.13.78 1.91.78.424 0 .828-.062 1.204-.178.377-.116.677-.253.917-.417V9.33a10.476 10.476 0 0 0-1.766-.226c-.971-.028-1.71.37-2.23 1.004-.513.636-.773 1.75-.773 2.788zm7.438 5.274c0 1.824-.466 3.156-1.404 4.004-.936.846-2.367 1.27-4.296 1.27-.705 0-2.17-.137-3.34-.396l.431-2.118c.98.205 2.272.26 2.95.26 1.074 0 1.84-.219 2.299-.656.459-.437.684-1.086.684-1.948v-.437a8.07 8.07 0 0 1-1.047.397c-.43.13-.93.198-1.492.198-.739 0-1.41-.116-2.018-.349a4.206 4.206 0 0 1-1.567-1.025c-.431-.45-.774-1.017-1.013-1.694-.24-.677-.363-1.885-.363-2.773 0-.834.13-1.88.384-2.577.26-.696.629-1.298 1.129-1.796.493-.498 1.095-.881 1.8-1.162a6.605 6.605 0 0 1 2.428-.457c.87 0 1.67.109 2.45.24.78.129 1.444.265 1.985.415V18.17z' fill='%235468FF'/%3E%3Cpath d='M6.972 6.677v1.627c-.712-.446-1.52-.67-2.425-.67-.585 0-1.045.13-1.38.391a1.24 1.24 0 0 0-.502 1.03c0 .425.164.765.494 1.02.33.256.835.532 1.516.83.447.192.795.356 1.045.495.25.138.537.332.862.582.324.25.563.548.718.894.154.345.23.741.23 1.188 0 .947-.334 1.691-1.004 2.234-.67.542-1.537.814-2.601.814-1.18 0-2.16-.229-2.936-.686v-1.708c.84.628 1.814.942 2.92.942.585 0 1.048-.136 1.388-.407.34-.271.51-.646.51-1.125 0-.287-.1-.55-.302-.79-.203-.24-.42-.42-.655-.542-.234-.123-.585-.29-1.053-.503a61.27 61.27 0 0 1-.582-.271 13.67 13.67 0 0 1-.55-.287 4.275 4.275 0 0 1-.567-.351 6.92 6.92 0 0 1-.455-.4c-.18-.17-.31-.34-.39-.51-.08-.17-.155-.37-.224-.598a2.553 2.553 0 0 1-.104-.742c0-.915.333-1.638.998-2.17.664-.532 1.523-.798 2.576-.798.968 0 1.793.17 2.473.51zm7.468 5.696v-.287c-.022-.607-.187-1.088-.495-1.444-.309-.357-.75-.535-1.324-.535-.532 0-.99.194-1.373.583-.382.388-.622.949-.717 1.683h3.909zm1.005 2.792v1.404c-.596.34-1.383.51-2.362.51-1.255 0-2.255-.377-3-1.132-.744-.755-1.116-1.744-1.116-2.968 0-1.297.34-2.316 1.021-3.055.68-.74 1.548-1.11 2.6-1.11 1.033 0 1.852.323 2.458.966.606.644.91 1.572.91 2.784 0 .33-.033.676-.096 1.038h-5.314c.107.702.405 1.239.894 1.611.49.372 1.106.558 1.85.558.862 0 1.58-.202 2.155-.606zm6.605-1.77h-1.212c-.596 0-1.045.116-1.349.35-.303.234-.454.532-.454.894 0 .372.117.664.35.877.235.213.575.32 1.022.32.51 0 .912-.142 1.204-.424.293-.281.44-.651.44-1.108v-.91zm-4.068-2.554V9.325c.627-.361 1.457-.542 2.489-.542 2.116 0 3.175 1.026 3.175 3.08V17h-1.548v-.957c-.415.68-1.143 1.02-2.186 1.02-.766 0-1.38-.22-1.843-.661-.462-.442-.694-1.003-.694-1.684 0-.776.293-1.38.878-1.81.585-.431 1.404-.647 2.457-.647h1.34V11.8c0-.554-.133-.971-.399-1.253-.266-.282-.707-.423-1.324-.423a4.07 4.07 0 0 0-2.345.718zm9.333-1.93v1.42c.394-1 1.101-1.5 2.123-1.5.148 0 .313.016.494.048v1.531a1.885 1.885 0 0 0-.75-.143c-.542 0-.989.24-1.34.718-.351.479-.527 1.048-.527 1.707V17h-1.563V8.91h1.563zm5.01 4.084c.022.82.272 1.492.75 2.019.479.526 1.15.79 2.01.79.639 0 1.235-.176 1.788-.527v1.404c-.521.319-1.186.479-1.995.479-1.265 0-2.276-.4-3.031-1.197-.755-.798-1.133-1.792-1.133-2.984 0-1.16.38-2.151 1.14-2.975.761-.825 1.79-1.237 3.088-1.237.702 0 1.346.149 1.93.447v1.436a3.242 3.242 0 0 0-1.77-.495c-.84 0-1.513.266-2.019.798-.505.532-.758 1.213-.758 2.042zM40.24 5.72v4.579c.458-1 1.293-1.5 2.505-1.5.787 0 1.42.245 1.899.734.479.49.718 1.17.718 2.042V17h-1.564v-5.106c0-.553-.14-.98-.422-1.284-.282-.303-.652-.455-1.11-.455-.531 0-1.002.202-1.411.606-.41.405-.615 1.022-.615 1.851V17h-1.563V5.72h1.563zm14.966 10.02c.596 0 1.096-.253 1.5-.758.404-.506.606-1.157.606-1.955 0-.915-.202-1.62-.606-2.114-.404-.495-.92-.742-1.548-.742-.553 0-1.05.224-1.491.67-.442.447-.662 1.133-.662 2.058 0 .958.212 1.67.638 2.138.425.469.946.703 1.563.703zM53.004 5.72v4.42c.574-.894 1.388-1.341 2.44-1.341 1.022 0 1.857.383 2.506 1.149.649.766.973 1.781.973 3.047 0 1.138-.309 2.109-.925 2.912-.617.803-1.463 1.205-2.537 1.205-1.075 0-1.894-.447-2.457-1.34V17h-1.58V5.72h1.58zm9.908 11.104l-3.223-7.913h1.739l1.005 2.632 1.26 3.415c.096-.32.48-1.458 1.15-3.415l.909-2.632h1.66l-2.92 7.866c-.777 2.074-1.963 3.11-3.559 3.11a2.92 2.92 0 0 1-.734-.079v-1.34c.17.042.351.064.543.064 1.032 0 1.755-.57 2.17-1.708z' fill='%235D6494'/%3E%3Cpath d='M89.632 5.967v-.772a.978.978 0 0 0-.978-.977h-2.28a.978.978 0 0 0-.978.977v.793c0 .088.082.15.171.13a7.127 7.127 0 0 1 1.984-.28c.65 0 1.295.088 1.917.259.082.02.164-.04.164-.13m-6.248 1.01l-.39-.389a.977.977 0 0 0-1.382 0l-.465.465a.973.973 0 0 0 0 1.38l.383.383c.062.061.15.047.205-.014.226-.307.472-.601.746-.874.281-.28.568-.526.883-.751.068-.042.075-.137.02-.2m4.16 2.453v3.341c0 .096.104.165.192.117l2.97-1.537c.068-.034.089-.117.055-.184a3.695 3.695 0 0 0-3.08-1.866c-.068 0-.136.054-.136.13m0 8.048a4.489 4.489 0 0 1-4.49-4.482 4.488 4.488 0 0 1 4.49-4.482 4.488 4.488 0 0 1 4.489 4.482 4.484 4.484 0 0 1-4.49 4.482m0-10.85a6.363 6.363 0 1 0 0 12.729 6.37 6.37 0 0 0 6.372-6.368 6.358 6.358 0 0 0-6.371-6.36' fill='%23FFF'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;background-size:100%;overflow:hidden;text-indent:-9000px;width:100%;height:100%;display:block}`, ml = ze() === "en";
8076
- function bl(e) {
8077
+ const vl = `.algolia-autocomplete{width:100%;height:100%}.algolia-autocomplete .ds-dropdown-menu{width:480px;top:-6px;border-radius:6px;margin:8px 0 0;padding:0;text-align:left;height:auto;position:relative;border:0;z-index:999;max-width:600px;min-width:500px;box-shadow:var(--popup-box-shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:var(--bg-color-container-transparent)}.algolia-autocomplete .ds-dropdown-menu .ds-suggestions{position:relative;z-index:1000;border-bottom:1px solid var(--component-stroke);padding:8px}.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-]{position:relative;border-radius:6px;overflow:auto;border:1px solid var(--component-border)}.algolia-autocomplete .ds-dropdown-menu *{box-sizing:border-box}.algolia-autocomplete .algolia-docsearch-suggestion{display:block;position:relative;color:var(--text-primary);overflow:hidden}.algolia-autocomplete .algolia-docsearch-suggestion--category-header{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{float:left;width:30%;text-align:right;position:relative;padding:8px;color:var(--text-secondary);font-size:14px;word-wrap:break-word}.algolia-autocomplete .algolia-docsearch-suggestion--content{display:block;float:right;width:70%;position:relative;padding:8px 16px;cursor:pointer;border-radius:0 3px 3px 0}.algolia-autocomplete .algolia-docsearch-suggestion--content .algolia-docsearch-suggestion--subcategory-inline{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--content:before{content:"";position:absolute;display:block;top:0;height:100%;width:1px;background:var(--component-border);left:-1px}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion.ds-cursor .algolia-docsearch-suggestion.suggestion-layout-simple,.algolia-autocomplete .ds-dropdown-menu .ds-suggestion.ds-cursor .algolia-docsearch-suggestion:not(.suggestion-layout-simple) .algolia-docsearch-suggestion--content{background:var(--bg-color-container-hover);transition:all .2s linear}.algolia-autocomplete .algolia-docsearch-suggestion--title{font-weight:700;color:var(--text-primary);margin-bottom:0;font-size:16px;line-height:24px}.algolia-autocomplete .algolia-docsearch-suggestion--title+.algolia-docsearch-suggestion--text{margin-top:4px}.algolia-autocomplete .algolia-docsearch-suggestion--text{font-size:14px;line-height:22px;color:var(--text-secondary)}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{padding:1px 4px;border-radius:3px;color:var(--brand-main);background-color:var(--brand-main-light);text-decoration:underline;text-decoration-color:var(--brand-main)}.algolia-autocomplete .algolia-docsearch-suggestion--no-results{width:100%;padding:8px 0;text-align:center;font-size:14px}.algolia-autocomplete .algolia-docsearch-footer{width:134px;height:26px;z-index:2000;margin:4px 8px;float:right;font-size:0;line-height:0}.algolia-autocomplete .algolia-docsearch-footer--logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='168' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M78.988.938h16.594a2.968 2.968 0 0 1 2.966 2.966V20.5a2.967 2.967 0 0 1-2.966 2.964H78.988a2.967 2.967 0 0 1-2.966-2.964V3.897A2.961 2.961 0 0 1 78.988.938zm41.937 17.866c-4.386.02-4.386-3.54-4.386-4.106l-.007-13.336 2.675-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-10.846-2.18c.821 0 1.43-.047 1.855-.129v-2.719a6.334 6.334 0 0 0-1.574-.199 5.7 5.7 0 0 0-.897.069 2.699 2.699 0 0 0-.814.24c-.24.116-.439.28-.582.491-.15.212-.219.335-.219.656 0 .628.219.991.616 1.23s.938.362 1.615.362zm-.233-9.7c.883 0 1.629.109 2.231.328.602.218 1.088.525 1.444.915.363.396.609.922.76 1.483.157.56.232 1.175.232 1.85v6.874a32.5 32.5 0 0 1-1.868.314c-.834.123-1.772.185-2.813.185-.69 0-1.327-.069-1.895-.198a4.001 4.001 0 0 1-1.471-.636 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.803 0-.656.13-1.073.384-1.525a3.24 3.24 0 0 1 1.047-1.106c.445-.287.95-.492 1.532-.615a8.8 8.8 0 0 1 1.82-.185 8.404 8.404 0 0 1 1.972.24v-.438c0-.307-.035-.6-.11-.874a1.88 1.88 0 0 0-.384-.73 1.784 1.784 0 0 0-.724-.493 3.164 3.164 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.735 7.735 0 0 0-1.26.307l-.321-2.192c.335-.117.834-.233 1.478-.349a10.98 10.98 0 0 1 2.073-.178zm52.842 9.626c.822 0 1.43-.048 1.854-.13V13.7a6.347 6.347 0 0 0-1.574-.199c-.294 0-.595.021-.896.069a2.7 2.7 0 0 0-.814.24 1.46 1.46 0 0 0-.582.491c-.15.212-.218.335-.218.656 0 .628.218.991.615 1.23.404.245.938.362 1.615.362zm-.226-9.694c.883 0 1.629.108 2.231.327.602.219 1.088.526 1.444.915.355.39.609.923.759 1.483a6.8 6.8 0 0 1 .233 1.852v6.873c-.41.088-1.034.19-1.868.314-.834.123-1.772.184-2.813.184-.69 0-1.327-.068-1.895-.198a4.001 4.001 0 0 1-1.471-.635 3.085 3.085 0 0 1-.951-1.134c-.226-.465-.343-1.12-.343-1.804 0-.656.13-1.073.384-1.524.26-.45.608-.82 1.047-1.107.445-.286.95-.491 1.532-.614a8.803 8.803 0 0 1 2.751-.13c.329.034.671.096 1.04.185v-.437a3.3 3.3 0 0 0-.109-.875 1.873 1.873 0 0 0-.384-.731 1.784 1.784 0 0 0-.724-.492 3.165 3.165 0 0 0-1.143-.205c-.616 0-1.177.075-1.69.164a7.75 7.75 0 0 0-1.26.307l-.321-2.193c.335-.116.834-.232 1.478-.348a11.633 11.633 0 0 1 2.073-.177zm-8.034-1.271a1.626 1.626 0 0 1-1.628-1.62c0-.895.725-1.62 1.628-1.62.904 0 1.63.725 1.63 1.62 0 .895-.733 1.62-1.63 1.62zm1.348 13.22h-2.689V7.27l2.69-.423v11.956zm-4.714 0c-4.386.02-4.386-3.54-4.386-4.107l-.008-13.336 2.676-.424v13.254c0 .322 0 2.358 1.718 2.364v2.248zm-8.698-5.903c0-1.156-.253-2.119-.746-2.788-.493-.677-1.183-1.01-2.067-1.01-.882 0-1.574.333-2.065 1.01-.493.676-.733 1.632-.733 2.788 0 1.168.246 1.953.74 2.63.492.683 1.183 1.018 2.066 1.018.882 0 1.574-.342 2.067-1.019.492-.683.738-1.46.738-2.63zm2.737-.007c0 .902-.13 1.584-.397 2.33a5.52 5.52 0 0 1-1.128 1.906 4.986 4.986 0 0 1-1.752 1.223c-.685.286-1.739.45-2.265.45-.528-.006-1.574-.157-2.252-.45a5.096 5.096 0 0 1-1.744-1.223c-.487-.527-.863-1.162-1.137-1.906a6.345 6.345 0 0 1-.41-2.33c0-.902.123-1.77.397-2.508a5.554 5.554 0 0 1 1.15-1.892 5.133 5.133 0 0 1 1.75-1.216c.679-.287 1.425-.423 2.232-.423.808 0 1.553.142 2.237.423a4.88 4.88 0 0 1 1.753 1.216 5.644 5.644 0 0 1 1.135 1.892c.287.738.431 1.606.431 2.508zm-20.138 0c0 1.12.246 2.363.738 2.882.493.52 1.13.78 1.91.78.424 0 .828-.062 1.204-.178.377-.116.677-.253.917-.417V9.33a10.476 10.476 0 0 0-1.766-.226c-.971-.028-1.71.37-2.23 1.004-.513.636-.773 1.75-.773 2.788zm7.438 5.274c0 1.824-.466 3.156-1.404 4.004-.936.846-2.367 1.27-4.296 1.27-.705 0-2.17-.137-3.34-.396l.431-2.118c.98.205 2.272.26 2.95.26 1.074 0 1.84-.219 2.299-.656.459-.437.684-1.086.684-1.948v-.437a8.07 8.07 0 0 1-1.047.397c-.43.13-.93.198-1.492.198-.739 0-1.41-.116-2.018-.349a4.206 4.206 0 0 1-1.567-1.025c-.431-.45-.774-1.017-1.013-1.694-.24-.677-.363-1.885-.363-2.773 0-.834.13-1.88.384-2.577.26-.696.629-1.298 1.129-1.796.493-.498 1.095-.881 1.8-1.162a6.605 6.605 0 0 1 2.428-.457c.87 0 1.67.109 2.45.24.78.129 1.444.265 1.985.415V18.17z' fill='%235468FF'/%3E%3Cpath d='M6.972 6.677v1.627c-.712-.446-1.52-.67-2.425-.67-.585 0-1.045.13-1.38.391a1.24 1.24 0 0 0-.502 1.03c0 .425.164.765.494 1.02.33.256.835.532 1.516.83.447.192.795.356 1.045.495.25.138.537.332.862.582.324.25.563.548.718.894.154.345.23.741.23 1.188 0 .947-.334 1.691-1.004 2.234-.67.542-1.537.814-2.601.814-1.18 0-2.16-.229-2.936-.686v-1.708c.84.628 1.814.942 2.92.942.585 0 1.048-.136 1.388-.407.34-.271.51-.646.51-1.125 0-.287-.1-.55-.302-.79-.203-.24-.42-.42-.655-.542-.234-.123-.585-.29-1.053-.503a61.27 61.27 0 0 1-.582-.271 13.67 13.67 0 0 1-.55-.287 4.275 4.275 0 0 1-.567-.351 6.92 6.92 0 0 1-.455-.4c-.18-.17-.31-.34-.39-.51-.08-.17-.155-.37-.224-.598a2.553 2.553 0 0 1-.104-.742c0-.915.333-1.638.998-2.17.664-.532 1.523-.798 2.576-.798.968 0 1.793.17 2.473.51zm7.468 5.696v-.287c-.022-.607-.187-1.088-.495-1.444-.309-.357-.75-.535-1.324-.535-.532 0-.99.194-1.373.583-.382.388-.622.949-.717 1.683h3.909zm1.005 2.792v1.404c-.596.34-1.383.51-2.362.51-1.255 0-2.255-.377-3-1.132-.744-.755-1.116-1.744-1.116-2.968 0-1.297.34-2.316 1.021-3.055.68-.74 1.548-1.11 2.6-1.11 1.033 0 1.852.323 2.458.966.606.644.91 1.572.91 2.784 0 .33-.033.676-.096 1.038h-5.314c.107.702.405 1.239.894 1.611.49.372 1.106.558 1.85.558.862 0 1.58-.202 2.155-.606zm6.605-1.77h-1.212c-.596 0-1.045.116-1.349.35-.303.234-.454.532-.454.894 0 .372.117.664.35.877.235.213.575.32 1.022.32.51 0 .912-.142 1.204-.424.293-.281.44-.651.44-1.108v-.91zm-4.068-2.554V9.325c.627-.361 1.457-.542 2.489-.542 2.116 0 3.175 1.026 3.175 3.08V17h-1.548v-.957c-.415.68-1.143 1.02-2.186 1.02-.766 0-1.38-.22-1.843-.661-.462-.442-.694-1.003-.694-1.684 0-.776.293-1.38.878-1.81.585-.431 1.404-.647 2.457-.647h1.34V11.8c0-.554-.133-.971-.399-1.253-.266-.282-.707-.423-1.324-.423a4.07 4.07 0 0 0-2.345.718zm9.333-1.93v1.42c.394-1 1.101-1.5 2.123-1.5.148 0 .313.016.494.048v1.531a1.885 1.885 0 0 0-.75-.143c-.542 0-.989.24-1.34.718-.351.479-.527 1.048-.527 1.707V17h-1.563V8.91h1.563zm5.01 4.084c.022.82.272 1.492.75 2.019.479.526 1.15.79 2.01.79.639 0 1.235-.176 1.788-.527v1.404c-.521.319-1.186.479-1.995.479-1.265 0-2.276-.4-3.031-1.197-.755-.798-1.133-1.792-1.133-2.984 0-1.16.38-2.151 1.14-2.975.761-.825 1.79-1.237 3.088-1.237.702 0 1.346.149 1.93.447v1.436a3.242 3.242 0 0 0-1.77-.495c-.84 0-1.513.266-2.019.798-.505.532-.758 1.213-.758 2.042zM40.24 5.72v4.579c.458-1 1.293-1.5 2.505-1.5.787 0 1.42.245 1.899.734.479.49.718 1.17.718 2.042V17h-1.564v-5.106c0-.553-.14-.98-.422-1.284-.282-.303-.652-.455-1.11-.455-.531 0-1.002.202-1.411.606-.41.405-.615 1.022-.615 1.851V17h-1.563V5.72h1.563zm14.966 10.02c.596 0 1.096-.253 1.5-.758.404-.506.606-1.157.606-1.955 0-.915-.202-1.62-.606-2.114-.404-.495-.92-.742-1.548-.742-.553 0-1.05.224-1.491.67-.442.447-.662 1.133-.662 2.058 0 .958.212 1.67.638 2.138.425.469.946.703 1.563.703zM53.004 5.72v4.42c.574-.894 1.388-1.341 2.44-1.341 1.022 0 1.857.383 2.506 1.149.649.766.973 1.781.973 3.047 0 1.138-.309 2.109-.925 2.912-.617.803-1.463 1.205-2.537 1.205-1.075 0-1.894-.447-2.457-1.34V17h-1.58V5.72h1.58zm9.908 11.104l-3.223-7.913h1.739l1.005 2.632 1.26 3.415c.096-.32.48-1.458 1.15-3.415l.909-2.632h1.66l-2.92 7.866c-.777 2.074-1.963 3.11-3.559 3.11a2.92 2.92 0 0 1-.734-.079v-1.34c.17.042.351.064.543.064 1.032 0 1.755-.57 2.17-1.708z' fill='%235D6494'/%3E%3Cpath d='M89.632 5.967v-.772a.978.978 0 0 0-.978-.977h-2.28a.978.978 0 0 0-.978.977v.793c0 .088.082.15.171.13a7.127 7.127 0 0 1 1.984-.28c.65 0 1.295.088 1.917.259.082.02.164-.04.164-.13m-6.248 1.01l-.39-.389a.977.977 0 0 0-1.382 0l-.465.465a.973.973 0 0 0 0 1.38l.383.383c.062.061.15.047.205-.014.226-.307.472-.601.746-.874.281-.28.568-.526.883-.751.068-.042.075-.137.02-.2m4.16 2.453v3.341c0 .096.104.165.192.117l2.97-1.537c.068-.034.089-.117.055-.184a3.695 3.695 0 0 0-3.08-1.866c-.068 0-.136.054-.136.13m0 8.048a4.489 4.489 0 0 1-4.49-4.482 4.488 4.488 0 0 1 4.49-4.482 4.488 4.488 0 0 1 4.489 4.482 4.484 4.484 0 0 1-4.49 4.482m0-10.85a6.363 6.363 0 1 0 0 12.729 6.37 6.37 0 0 0 6.372-6.368 6.358 6.358 0 0 0-6.371-6.36' fill='%23FFF'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;background-size:100%;overflow:hidden;text-indent:-9000px;width:100%;height:100%;display:block}`;
8078
+ function ml(e) {
8077
8079
  if (!e.indexName) return;
8078
8080
  const t = Object.assign(
8079
8081
  {
@@ -8097,14 +8099,14 @@ ie({
8097
8099
  <style>${pl}</style>
8098
8100
  <style>${vl}</style>
8099
8101
  <div class="TDesign-doc-search">
8100
- <input id="TDSearch" class="TDesign-doc-search__inner" placeholder="${ml ? "Search" : "搜索"}" type="text" />
8102
+ <input id="TDSearch" class="TDesign-doc-search__inner" placeholder="${Ee() ? "Search" : "搜索"}" type="text" />
8101
8103
  <span class="TDesign-doc-search__icon">${hl}</span>
8102
8104
  </div>
8103
8105
  `;
8104
8106
  Object.assign(e, { innerHTML: t });
8105
8107
  },
8106
8108
  observe(e, t) {
8107
- bl(t);
8109
+ ml(t);
8108
8110
  }
8109
8111
  },
8110
8112
  render: () => R`
@@ -8114,7 +8116,7 @@ ie({
8114
8116
  `
8115
8117
  });
8116
8118
  const Wn = () => {
8117
- const e = ze();
8119
+ const e = Sr();
8118
8120
  return {
8119
8121
  zh: {
8120
8122
  changelog: {
@@ -8139,54 +8141,66 @@ const Wn = () => {
8139
8141
  }
8140
8142
  }
8141
8143
  }[e];
8142
- }, wl = '.TDesign-doc-changelog__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0000004d;z-index:10000}.hidden .TDesign-doc-changelog__overlay{display:none}.TDesign-doc-changelog__drawer{position:fixed;top:0;right:0;width:500px;height:100vh;background-color:var(--bg-color-container);z-index:100001;box-shadow:-4px 0 12px #0000001a;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:var(--text-primary);transition:transform .35s cubic-bezier(.4,0,.2,1),opacity .35s ease}@media screen and (max-width: 960px){.TDesign-doc-changelog__drawer{width:85vw}}.visible .TDesign-doc-changelog__drawer{transform:translate(0);opacity:1}.hidden .TDesign-doc-changelog__drawer{transform:translate(100%);opacity:0}.TDesign-doc-changelog__drawer-header{display:flex;justify-content:space-between;align-items:center;height:56px;box-shadow:var(--header-box-shadow)}.TDesign-doc-changelog__drawer-header p{position:relative;font-size:16px;left:16px;height:24px;font-weight:600}.TDesign-doc-changelog__drawer-header button{background:transparent;border:none;cursor:pointer;padding:2px}.TDesign-doc-changelog__drawer-header button svg{width:20px;height:20px;color:var(--text-primary)}.TDesign-doc-changelog__drawer-body{position:relative;padding:16px;overflow-y:auto;height:calc(100vh - 80px)}.TDesign-doc-changelog__drawer-body:hover::-webkit-scrollbar-thumb{background-color:var(--bg-color-scroll)}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar{width:12px;height:12px;background:transparent}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar-corner{width:0}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar-thumb{border-radius:6px;border:4px solid transparent;background-clip:content-box;background-color:transparent}.TDesign-doc-changelog__logs{position:relative;display:flex;flex-direction:column;gap:16px}.TDesign-doc-changelog__logs:not(:has(.TDesign-doc-changelog__logs-empty)):after{content:"";position:absolute;top:32px;left:15px;width:2px;height:100%;background:var(--brand-main)}.TDesign-doc-changelog__logs-version{position:relative;padding-left:32px}.TDesign-doc-changelog__logs-version:last-of-type:after{content:"";position:absolute;left:15px;top:30px;z-index:10;width:8px;height:105%;background:var(--bg-color-docpage)}.TDesign-doc-changelog__logs-version-header{display:flex;align-items:center;margin:10px 0}.TDesign-doc-changelog__logs-version-header:before{content:"";position:absolute;left:12px;width:8px;height:8px;border:2px solid var(--brand-main);background:var(--bg-color-docpage);outline:8px solid var(--bg-color-docpage);box-sizing:border-box;border-radius:50%;z-index:10}.TDesign-doc-changelog__logs-version-header span{font-size:18px;font-weight:600;color:var(--text-primary)}.TDesign-doc-changelog__logs-version-header code{position:relative;left:8px;color:var(--text-primary);background:var(--bg-color-tag);border-radius:3px;margin:0 2px;padding:2px 8px;font-size:12px;font-weight:400;line-height:20px}.TDesign-doc-changelog__logs-version-section h3{font-size:16px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.TDesign-doc-changelog__logs-version-section ul{margin:0;padding-left:20px;list-style-type:disc;font-size:14px}.TDesign-doc-changelog__logs-version-section ul ul{padding-left:22px}.TDesign-doc-changelog__logs-version-section ul ul li{list-style-type:circle}.TDesign-doc-changelog__logs-version-section ul li{padding-left:6px;margin-bottom:6px;line-height:22px;color:var(--text-primary)}.TDesign-doc-changelog__logs-version-section ul a{color:var(--brand-main);text-decoration:none}.TDesign-doc-changelog__logs-version-section ul a:hover{color:var(--brand-main-hover)}.TDesign-doc-changelog__logs-empty{color:var(--text-secondary);text-align:center;padding:30px 0;font-style:italic}.TDesign-doc-changelog__logs__loading{display:flex;align-items:center;justify-content:center;width:100%;height:128px;color:var(--brand-main)}.TDesign-doc-changelog__logs__loading-icon{width:32px;height:32px;border-radius:50%;background:conic-gradient(from 90deg at 50% 50%,#fff 0deg,currentColor 360deg);-webkit-mask:radial-gradient(transparent calc(50% - .5px),#fff 50%);mask:radial-gradient(transparent calc(50% - .5px),#fff 50%);animation:spin 1s linear infinite;-webkit-animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}';
8143
- let Jt = null;
8144
- const We = "TDesign-doc-changelog", Qe = `${We}__logs`, _r = Wn(), Cl = ["tencent.com", "woa.com"], yl = {
8144
+ }, bl = '.TDesign-doc-changelog__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0000004d;z-index:10000}.hidden .TDesign-doc-changelog__overlay{display:none}.TDesign-doc-changelog__drawer{position:fixed;top:0;right:0;width:500px;height:100vh;background-color:var(--bg-color-container);z-index:100001;box-shadow:-4px 0 12px #0000001a;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:var(--text-primary);transition:transform .35s cubic-bezier(.4,0,.2,1),opacity .35s ease}@media screen and (max-width: 960px){.TDesign-doc-changelog__drawer{width:85vw}}.visible .TDesign-doc-changelog__drawer{transform:translate(0);opacity:1}.hidden .TDesign-doc-changelog__drawer{transform:translate(100%);opacity:0}.TDesign-doc-changelog__drawer-header{display:flex;justify-content:space-between;align-items:center;height:56px;box-shadow:var(--header-box-shadow)}.TDesign-doc-changelog__drawer-header p{position:relative;font-size:16px;left:16px;height:24px;font-weight:600}.TDesign-doc-changelog__drawer-header button{background:transparent;border:none;cursor:pointer;padding:2px}.TDesign-doc-changelog__drawer-header button svg{width:20px;height:20px;color:var(--text-primary)}.TDesign-doc-changelog__drawer-body{position:relative;padding:16px;overflow-y:auto;height:calc(100vh - 80px)}.TDesign-doc-changelog__drawer-body:hover::-webkit-scrollbar-thumb{background-color:var(--bg-color-scroll)}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar{width:12px;height:12px;background:transparent}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar-corner{width:0}.TDesign-doc-changelog__drawer-body::-webkit-scrollbar-thumb{border-radius:6px;border:4px solid transparent;background-clip:content-box;background-color:transparent}.TDesign-doc-changelog__logs{position:relative;display:flex;flex-direction:column;gap:16px}.TDesign-doc-changelog__logs:not(:has(.TDesign-doc-changelog__logs-empty)):after{content:"";position:absolute;top:32px;left:15px;width:2px;height:100%;background:var(--brand-main)}.TDesign-doc-changelog__logs-version{position:relative;padding-left:32px}.TDesign-doc-changelog__logs-version:last-of-type:after{content:"";position:absolute;left:15px;top:30px;z-index:10;width:8px;height:105%;background:var(--bg-color-docpage)}.TDesign-doc-changelog__logs-version-header{display:flex;align-items:center;margin:10px 0}.TDesign-doc-changelog__logs-version-header:before{content:"";position:absolute;left:12px;width:8px;height:8px;border:2px solid var(--brand-main);background:var(--bg-color-docpage);outline:8px solid var(--bg-color-docpage);box-sizing:border-box;border-radius:50%;z-index:10}.TDesign-doc-changelog__logs-version-header span{font-size:18px;font-weight:600;color:var(--text-primary)}.TDesign-doc-changelog__logs-version-header code{position:relative;left:8px;color:var(--text-primary);background:var(--bg-color-tag);border-radius:3px;margin:0 2px;padding:2px 8px;font-size:12px;font-weight:400;line-height:20px}.TDesign-doc-changelog__logs-version-section h3{font-size:16px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.TDesign-doc-changelog__logs-version-section ul{margin:0;padding-left:20px;list-style-type:disc;font-size:14px}.TDesign-doc-changelog__logs-version-section ul ul{padding-left:22px}.TDesign-doc-changelog__logs-version-section ul ul li{list-style-type:circle}.TDesign-doc-changelog__logs-version-section ul li{padding-left:6px;margin-bottom:6px;line-height:22px;color:var(--text-primary)}.TDesign-doc-changelog__logs-version-section ul a{color:var(--brand-main);text-decoration:none}.TDesign-doc-changelog__logs-version-section ul a:hover{color:var(--brand-main-hover)}.TDesign-doc-changelog__logs-empty{color:var(--text-secondary);text-align:center;padding:30px 0;font-style:italic}.TDesign-doc-changelog__logs__loading{display:flex;align-items:center;justify-content:center;width:100%;height:128px;color:var(--brand-main)}.TDesign-doc-changelog__logs__loading-icon{width:32px;height:32px;border-radius:50%;background:conic-gradient(from 90deg at 50% 50%,#fff 0deg,currentColor 360deg);-webkit-mask:radial-gradient(transparent calc(50% - .5px),#fff 50%);mask:radial-gradient(transparent calc(50% - .5px),#fff 50%);animation:spin 1s linear infinite;-webkit-animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}', Jt = /* @__PURE__ */ new Map(), We = "TDesign-doc-changelog", ze = `${We}__logs`, _r = Wn(), wl = ["tencent.com", "woa.com"], Cl = "https://static.tdesign.tencent.com", yl = {
8145
8145
  qrcode: "QRCode"
8146
8146
  };
8147
+ function $r() {
8148
+ const { pathname: e, hostname: t, origin: n } = window.location, o = e.split("/").filter(Boolean), r = o[0], i = wl.some((a) => t.includes(a));
8149
+ return {
8150
+ origin: n,
8151
+ segments: o,
8152
+ framework: r,
8153
+ isOfficial: i
8154
+ };
8155
+ }
8147
8156
  function xl() {
8148
- const t = window.location.href.split("/")[3], n = Cl.some((o) => location.hostname.includes(o));
8149
- return `${location.origin}${n ? `/${t}` : ""}`;
8157
+ const { isOfficial: e, framework: t, origin: n } = $r();
8158
+ return e ? `${Cl}/${t}` : n;
8150
8159
  }
8151
8160
  function Al() {
8152
- if (Xn()) {
8153
- let t = window.location.pathname.split("/")[3] || "";
8154
- return t.endsWith("-en") && (t = t.slice(0, -3)), yl[t] || na(t);
8155
- } else if (Sr())
8161
+ const { segments: e } = $r();
8162
+ if (Nn()) {
8163
+ let t = e[2] || "";
8164
+ return t.endsWith("-en") && (t = t.slice(0, -3)), yl[t] || ta(t);
8165
+ }
8166
+ if (Rr())
8156
8167
  return "ConfigProvider";
8157
8168
  }
8158
8169
  async function Dl(e) {
8159
- var n, o, r;
8160
- const t = Al();
8170
+ var r, i, a, s;
8171
+ const t = Al(), n = Ee() && e.changelogEn ? "changelog.en-US.json" : "changelog.json", o = `${xl()}/${n}`;
8161
8172
  try {
8162
- Jt || (Jt = await (await fetch(`${xl()}/changelog.json`)).json());
8163
- const i = (n = e.shadowRoot) == null ? void 0 : n.querySelector(`.${Qe}__loading`);
8164
- i == null || i.remove();
8165
- const a = (o = e.shadowRoot) == null ? void 0 : o.querySelector(`.${We}__drawer-body`);
8166
- a && (a.scrollTop = 0);
8167
- const s = Jt[t], c = (r = e.shadowRoot) == null ? void 0 : r.querySelector(`.${Qe}`);
8168
- c && (c.innerHTML = Tl(s));
8169
- } catch (i) {
8170
- console.error("Failed to load changelog:", i);
8173
+ if (!Jt.has(n)) {
8174
+ const C = await (await fetch(o)).json();
8175
+ Jt.set(n, C);
8176
+ }
8177
+ const c = Jt.get(n);
8178
+ (i = (r = e.shadowRoot) == null ? void 0 : r.querySelector(`.${ze}__loading`)) == null || i.remove();
8179
+ const p = (a = e.shadowRoot) == null ? void 0 : a.querySelector(`.${We}__drawer-body`);
8180
+ p && (p.scrollTop = 0);
8181
+ const g = c == null ? void 0 : c[t], f = (s = e.shadowRoot) == null ? void 0 : s.querySelector(`.${ze}`);
8182
+ f && (f.innerHTML = Tl(g));
8183
+ } catch (c) {
8184
+ console.error("Failed to load changelog:", c);
8171
8185
  }
8172
8186
  }
8173
8187
  function Tl(e) {
8174
8188
  return Array.isArray(e) ? e.map((t) => {
8175
8189
  const n = Object.keys(t).filter((o) => Array.isArray(t[o])).map((o) => Hl(o, t[o])).join("");
8176
8190
  return `
8177
- <div class="${Qe}-version">
8178
- <h2 class="${Qe}-version-header">
8191
+ <div class="${ze}-version">
8192
+ <h2 class="${ze}-version-header">
8179
8193
  <span>🌈 ${t.version}</span>
8180
8194
  <code>${t.date}</code>
8181
8195
  </h2>
8182
8196
  ${n}
8183
8197
  </div>
8184
8198
  `;
8185
- }).join("") : `<div class="${Qe}-empty">${_r.changelog.emptyInfo}</div>`;
8199
+ }).join("") : `<div class="${ze}-empty">${_r.changelog.emptyInfo}</div>`;
8186
8200
  }
8187
8201
  function Hl(e, t) {
8188
8202
  return t ? `
8189
- <div class="${Qe}-version-section">
8203
+ <div class="${ze}-version-section">
8190
8204
  <h3>${e}</h3>
8191
8205
  <ul>
8192
8206
  ${t.map((n) => Pl(n)).join("")}
@@ -8209,6 +8223,10 @@ function Io(e) {
8209
8223
  }
8210
8224
  ie({
8211
8225
  tag: "td-doc-changelog",
8226
+ changelogEn: {
8227
+ get: (e, t) => Le(t, !1),
8228
+ set: (e, t) => t
8229
+ },
8212
8230
  visible: {
8213
8231
  value: !1,
8214
8232
  observe: (e, t) => {
@@ -8225,27 +8243,26 @@ ie({
8225
8243
  <div class="${We}__drawer">
8226
8244
  <div class="${We}__drawer-header">
8227
8245
  <p>${_r.changelog.title}</p>
8228
- <button onclick="${t}" innerHTML="${Nn}"></button>
8246
+ <button onclick="${t}" innerHTML="${Fn}"></button>
8229
8247
  </div>
8230
8248
  <div class="${We}__drawer-body">
8231
- <div class="${Qe}__loading">
8249
+ <div class="${ze}__loading">
8232
8250
  <svg
8233
- class="${Qe}__loading-icon"
8251
+ class="${ze}__loading-icon"
8234
8252
  viewBox="0 0 12 12"
8235
- version="1.1"
8236
8253
  width="1em"
8237
8254
  height="1em"
8238
8255
  xmlns="http://www.w3.org/2000/svg"
8239
8256
  ></svg>
8240
8257
  </div>
8241
- <div class="${Qe}"></div>
8258
+ <div class="${ze}"></div>
8242
8259
  </div>
8243
8260
  </div>
8244
8261
  </div>
8245
- `.css`${wl}`;
8262
+ `.css`${bl}`;
8246
8263
  }
8247
8264
  });
8248
- const Bl = ".TDesign-doc-content{display:flex;flex-direction:column;position:relative;background:var(--bg-color-docpage)}.TDesign-doc-content.hidden{opacity:0;visibility:hidden}.TDesign-doc-content.show{opacity:1;visibility:visible;transition:all .2s linear}.TDesign-doc-content .TDesign-doc-body{min-height:calc(100vh - var(--footer-height));color:var(--text-primary);padding-right:var(--content-padding-right)}.TDesign-doc-content .TDesign-doc-body__inner{width:100%;padding:64px var(--content-padding-left-right) 120px var(--content-padding-left-right);margin:0 auto;box-sizing:border-box;min-width:320px;max-width:var(--content-max-width)}.TDesign-doc-content__backtop{width:40px;height:40px;position:fixed;right:24px;bottom:40px;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color-scroll);border-radius:100%;cursor:pointer;transition:all .2s linear;opacity:0;visibility:hidden;color:var(--text-secondary)}.TDesign-doc-content__backtop.show{opacity:1;visibility:visible}.TDesign-doc-content__backtop:hover{color:var(--text-primary);background-color:var(--text-disabled)}", Ol = 228, $r = ['div[name="DEMO"]', 'div[name="API"]', 'div[name="DESIGN"]', 'div[name="DOC"]'];
8265
+ const Bl = ".TDesign-doc-content{display:flex;flex-direction:column;position:relative;background:var(--bg-color-docpage)}.TDesign-doc-content.hidden{opacity:0;visibility:hidden}.TDesign-doc-content.show{opacity:1;visibility:visible;transition:all .2s linear}.TDesign-doc-content .TDesign-doc-body{min-height:calc(100vh - var(--footer-height));color:var(--text-primary);padding-right:var(--content-padding-right)}.TDesign-doc-content .TDesign-doc-body__inner{width:100%;padding:64px var(--content-padding-left-right) 120px var(--content-padding-left-right);margin:0 auto;box-sizing:border-box;min-width:320px;max-width:var(--content-max-width)}.TDesign-doc-content__backtop{width:40px;height:40px;position:fixed;right:24px;bottom:40px;display:flex;justify-content:center;align-items:center;background-color:var(--bg-color-scroll);border-radius:100%;cursor:pointer;transition:all .2s linear;opacity:0;visibility:hidden;color:var(--text-secondary)}.TDesign-doc-content__backtop.show{opacity:1;visibility:visible}.TDesign-doc-content__backtop:hover{color:var(--text-primary);background-color:var(--text-disabled)}", Ol = 228, ei = ['div[name="DEMO"]', 'div[name="API"]', 'div[name="DESIGN"]', 'div[name="DOC"]'];
8249
8266
  function El() {
8250
8267
  function e(n) {
8251
8268
  return n.map((r) => {
@@ -8266,7 +8283,7 @@ function El() {
8266
8283
  break;
8267
8284
  }
8268
8285
  }
8269
- $r.forEach((n) => {
8286
+ ei.forEach((n) => {
8270
8287
  const o = document.querySelector(n);
8271
8288
  if (!o) return;
8272
8289
  const r = Array.from(o.querySelectorAll(".tdesign-toc_list_item_a")) || [], i = e(r);
@@ -8277,7 +8294,7 @@ ie({
8277
8294
  tag: "td-doc-content",
8278
8295
  platform: "web",
8279
8296
  pageStatus: "show",
8280
- mobileBodyStyle: Fn,
8297
+ mobileBodyStyle: Xn,
8281
8298
  fixedAnchor: {
8282
8299
  get: (e, t) => t || void 0,
8283
8300
  set: (e, t) => t,
@@ -8304,7 +8321,7 @@ ie({
8304
8321
  }
8305
8322
  function n() {
8306
8323
  const r = new MutationObserver(() => {
8307
- for (const i of $r)
8324
+ for (const i of ei)
8308
8325
  if (document.querySelector(i)) {
8309
8326
  r.disconnect(), o();
8310
8327
  break;
@@ -8368,7 +8385,7 @@ const ue = "https://tdesign.gtimg.com/site", Rn = {
8368
8385
  "design-icon-dark": `${ue}/spline/design/icon_dark/index.html`,
8369
8386
  "design-font": `${ue}/spline/design/font_light/index.html`,
8370
8387
  "design-font-dark": `${ue}/spline/design/font_dark/index.html`
8371
- }, ei = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
8388
+ }, ti = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
8372
8389
  <path
8373
8390
  d="M7.90582 2.79363C10.8499 2.79364 13.2095 5.14029 13.2095 8.00195C13.2095 10.8636 10.8499 13.2103 7.90581 13.2103C5.44426 13.2103 3.39128 11.5698 2.78447 9.35939L1.75098 9.52803C2.44243 12.2422 4.93584 14.252 7.90581 14.252C11.4103 14.252 14.2512 11.4537 14.2512 8.00196C14.2512 4.55018 11.4103 1.75195 7.90582 1.75195C5.80622 1.75195 3.9448 2.75638 2.78981 4.304L2.78981 2.6451H1.75098V5.7916C1.75098 6.06774 1.97483 6.2916 2.25098 6.2916L5.37759 6.2916V5.24707H3.40454C4.33896 3.77709 5.99992 2.79363 7.90582 2.79363Z"
8374
8391
  fill="currentColor" />
@@ -8411,7 +8428,7 @@ ie({
8411
8428
  get: (e, t) => t || "",
8412
8429
  set: (e, t) => t,
8413
8430
  connect: (e) => {
8414
- const t = Ir((n) => Xo(n, e));
8431
+ const t = jr((n) => Xo(n, e));
8415
8432
  return () => t.disconnect();
8416
8433
  },
8417
8434
  observe: (e) => {
@@ -8424,10 +8441,14 @@ ie({
8424
8441
  },
8425
8442
  platform: "web",
8426
8443
  changelog: {
8427
- get: (e, t) => Je(t, !0),
8428
- set: (e, t) => Je(t, !0)
8444
+ get: (e, t) => Le(t, !0),
8445
+ set: (e, t) => Le(t, !0)
8446
+ },
8447
+ changelogEn: {
8448
+ get: (e, t) => Le(t, !0),
8449
+ set: (e, t) => Le(t, !0)
8429
8450
  },
8430
- mobileBodyStyle: Fn,
8451
+ mobileBodyStyle: Xn,
8431
8452
  shouldShowPopup: {
8432
8453
  get: (e, t) => t || !1,
8433
8454
  set: (e, t) => t
@@ -8485,31 +8506,31 @@ ie({
8485
8506
  }
8486
8507
  },
8487
8508
  showIssue: {
8488
- get: (e, t) => Je(t, !0),
8489
- set: (e, t) => Je(t, !0)
8509
+ get: (e, t) => Le(t, !0),
8510
+ set: (e, t) => Le(t, !0)
8490
8511
  },
8491
8512
  render: (e) => {
8492
- const { changelog: t, docInfo: n, spline: o, showIssue: r } = e, i = { ...e.mobileBodyStyle }, a = Rn[o], s = customElements.get("td-doc-changelog"), c = () => {
8493
- let p = document.querySelector("td-doc-changelog");
8494
- p || (p = document.createElement("td-doc-changelog"), document.body.appendChild(p)), requestAnimationFrame(() => {
8495
- p.visible = !0;
8513
+ const { changelog: t, changelogEn: n, docInfo: o, spline: r, showIssue: i } = e, a = { ...e.mobileBodyStyle }, s = Rn[r], c = customElements.get("td-doc-changelog"), p = () => {
8514
+ let g = document.querySelector("td-doc-changelog");
8515
+ g || (g = document.createElement("td-doc-changelog"), g.changelogEn = n, document.body.appendChild(g)), requestAnimationFrame(() => {
8516
+ g.visible = !0;
8496
8517
  });
8497
8518
  };
8498
8519
  return R`
8499
- ${a ? R` <iframe id="__iframe__" class="TDesign-doc-header__thumb" onload="${Ql}"></iframe>` : R``}
8500
- <div class="TDesign-doc-header" style="${i}">
8520
+ ${s ? R` <iframe id="__iframe__" class="TDesign-doc-header__thumb" onload="${Ql}"></iframe>` : R``}
8521
+ <div class="TDesign-doc-header" style="${a}">
8501
8522
  <div class="TDesign-doc-header__inner">
8502
8523
  <div class="TDesign-doc-header__badge">
8503
8524
  <slot name="badge"></slot>
8504
8525
  </div>
8505
8526
  <div class="TDesign-doc-header__content">
8506
8527
  <div class="TDesign-doc-header__info">
8507
- ${n ? R`
8528
+ ${o ? R`
8508
8529
  <div>
8509
- <h1 class="TDesign-doc-header__info-title">${n.title}</h1>
8510
- ${t && s && (Xn() || Sr()) ? R`
8511
- <button id="TDesign-doc-changelog__entry" onclick="${c}">
8512
- <i innerHTML="${ei}"></i>
8530
+ <h1 class="TDesign-doc-header__info-title">${o.title}</h1>
8531
+ ${t && c && (Nn() || Rr()) ? R`
8532
+ <button id="TDesign-doc-changelog__entry" onclick="${p}">
8533
+ <i innerHTML="${ti}"></i>
8513
8534
  <span>${kl.changelog.title}</span>
8514
8535
  </button>
8515
8536
  ` : R``}
@@ -8517,11 +8538,11 @@ ie({
8517
8538
  <div class="TDesign-doc-header__info-describe">
8518
8539
  ${e.shouldShowPopup ? R`
8519
8540
  <td-doc-popup placement="top-end" equal-width="true">
8520
- <div class="TDesign-doc-header__info-describe-line" innerHTML="${n.desc}"></div>
8521
- <div slot="content" innerHTML="${n.desc}"></div>
8541
+ <div class="TDesign-doc-header__info-describe-line" innerHTML="${o.desc}"></div>
8542
+ <div slot="content" innerHTML="${o.desc}"></div>
8522
8543
  </td-doc-popup>
8523
8544
  ` : R`
8524
- <div class="TDesign-doc-header__info-describe-line" innerHTML="${n.desc}"></div>
8545
+ <div class="TDesign-doc-header__info-describe-line" innerHTML="${o.desc}"></div>
8525
8546
  `}
8526
8547
  </div>
8527
8548
  ` : R``}
@@ -8530,7 +8551,7 @@ ie({
8530
8551
  </div>
8531
8552
  </div>
8532
8553
  <div class="TDesign-doc-header__background"></div>
8533
- ${r ? R`<td-doc-issue />` : R``}
8554
+ ${i ? R`<td-doc-issue />` : R``}
8534
8555
  `.css`${Ml}`;
8535
8556
  }
8536
8557
  });
@@ -8630,29 +8651,29 @@ ie({
8630
8651
  render: (e) => R`${Il(e)}`.css`${Ll}`
8631
8652
  });
8632
8653
  const Xl = () => {
8633
- const t = ze() === "en";
8654
+ const e = Ee();
8634
8655
  return [
8635
8656
  {
8636
- title: t ? "Resource" : "资源",
8657
+ title: e ? "Resource" : "资源",
8637
8658
  links: [
8638
- { name: t ? "Design Resource" : "设计资源", url: ve("/source"), target: "_self" },
8659
+ { name: e ? "Design Resource" : "设计资源", url: ve("/source"), target: "_self" },
8639
8660
  { name: "TDesign Starter", url: ve("https://tdesign.tencent.com/starter/"), target: "_self" }
8640
8661
  ]
8641
8662
  },
8642
8663
  {
8643
- title: t ? "Tencent Design" : "腾讯设计",
8664
+ title: e ? "Tencent Design" : "腾讯设计",
8644
8665
  links: [
8645
8666
  { name: "CoDesign", url: "https://codesign.qq.com/", target: "_blank" },
8646
- { name: "TDesign", url: `https://tdesign.${Ne() ? "woa" : "tencent"}.com`, target: "_self" },
8647
- Ne() ? { name: "TVision", url: "https://tvision.woa.com/", target: "_blank" } : null,
8648
- Ne() ? { name: "TEditor", url: "https://teditor.woa.com/", target: "_blank" } : null
8649
- ].filter((o) => o)
8667
+ { name: "TDesign", url: `https://tdesign.${Xe() ? "woa" : "tencent"}.com`, target: "_self" },
8668
+ Xe() ? { name: "TVision", url: "https://tvision.woa.com/", target: "_blank" } : null,
8669
+ Xe() ? { name: "TEditor", url: "https://teditor.woa.com/", target: "_blank" } : null
8670
+ ].filter((n) => n)
8650
8671
  },
8651
8672
  {
8652
- title: t ? "About" : "关于",
8673
+ title: e ? "About" : "关于",
8653
8674
  links: [
8654
- { name: t ? "About us" : "关于我们", url: ve("/about/introduce"), target: "_self" },
8655
- { name: t ? "Contact us" : "联系我们", url: ve("/about/contact"), target: "_self" }
8675
+ { name: e ? "About us" : "关于我们", url: ve("/about/introduce"), target: "_self" },
8676
+ { name: e ? "Contact us" : "联系我们", url: ve("/about/contact"), target: "_self" }
8656
8677
  ]
8657
8678
  }
8658
8679
  ];
@@ -8853,13 +8874,13 @@ const Xl = () => {
8853
8874
  };
8854
8875
  ie({
8855
8876
  tag: "td-doc-footer",
8856
- mobileBodyStyle: Fn,
8877
+ mobileBodyStyle: Xn,
8857
8878
  platform: "web",
8858
8879
  displayQrCode: "",
8859
8880
  patchDom: {
8860
8881
  get: (e, t) => t || !1,
8861
8882
  set: (e, t) => t,
8862
- connect: jr
8883
+ connect: zr
8863
8884
  },
8864
8885
  render: (e) => {
8865
8886
  const t = { ...e.mobileBodyStyle }, { displayQrCode: n } = e, o = (r) => {
@@ -8961,8 +8982,8 @@ ie({
8961
8982
  placement: "bottom-end",
8962
8983
  triggerType: "hover",
8963
8984
  equalWidth: {
8964
- get: (e, t) => Je(t, !1),
8965
- set: (e, t) => Je(t, !1)
8985
+ get: (e, t) => Le(t, !1),
8986
+ set: (e, t) => Le(t, !1)
8966
8987
  },
8967
8988
  visible: {
8968
8989
  get: (e, t) => t || !1,
@@ -9033,15 +9054,15 @@ ie({
9033
9054
  return R` <img class="TDesign-doc-badge" src="${i}" /> `.css`${ac}`;
9034
9055
  }
9035
9056
  });
9036
- var Ze = {}, tn, Uo;
9057
+ var Ye = {}, tn, Uo;
9037
9058
  function lc() {
9038
9059
  return Uo || (Uo = 1, tn = function() {
9039
9060
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
9040
9061
  }), tn;
9041
9062
  }
9042
- var nn = {}, Re = {}, Ko;
9043
- function Ge() {
9044
- if (Ko) return Re;
9063
+ var nn = {}, je = {}, Ko;
9064
+ function Ue() {
9065
+ if (Ko) return je;
9045
9066
  Ko = 1;
9046
9067
  let e;
9047
9068
  const t = [
@@ -9088,26 +9109,26 @@ function Ge() {
9088
9109
  3532,
9089
9110
  3706
9090
9111
  ];
9091
- return Re.getSymbolSize = function(o) {
9112
+ return je.getSymbolSize = function(o) {
9092
9113
  if (!o) throw new Error('"version" cannot be null or undefined');
9093
9114
  if (o < 1 || o > 40) throw new Error('"version" should be in range from 1 to 40');
9094
9115
  return o * 4 + 17;
9095
- }, Re.getSymbolTotalCodewords = function(o) {
9116
+ }, je.getSymbolTotalCodewords = function(o) {
9096
9117
  return t[o];
9097
- }, Re.getBCHDigit = function(n) {
9118
+ }, je.getBCHDigit = function(n) {
9098
9119
  let o = 0;
9099
9120
  for (; n !== 0; )
9100
9121
  o++, n >>>= 1;
9101
9122
  return o;
9102
- }, Re.setToSJISFunction = function(o) {
9123
+ }, je.setToSJISFunction = function(o) {
9103
9124
  if (typeof o != "function")
9104
9125
  throw new Error('"toSJISFunc" is not a valid function.');
9105
9126
  e = o;
9106
- }, Re.isKanjiModeEnabled = function() {
9127
+ }, je.isKanjiModeEnabled = function() {
9107
9128
  return typeof e < "u";
9108
- }, Re.toSJIS = function(o) {
9129
+ }, je.toSJIS = function(o) {
9109
9130
  return e(o);
9110
- }, Re;
9131
+ }, je;
9111
9132
  }
9112
9133
  var on = {}, Vo;
9113
9134
  function _n() {
@@ -9194,7 +9215,7 @@ function dc() {
9194
9215
  var sn = {}, Jo;
9195
9216
  function uc() {
9196
9217
  return Jo || (Jo = 1, function(e) {
9197
- const t = Ge().getSymbolSize;
9218
+ const t = Ue().getSymbolSize;
9198
9219
  e.getRowColCoords = function(o) {
9199
9220
  if (o === 1) return [];
9200
9221
  const r = Math.floor(o / 7) + 2, i = t(o), a = i === 145 ? 26 : Math.ceil((i - 13) / (2 * r - 2)) * 2, s = [i - 7];
@@ -9216,7 +9237,7 @@ var ln = {}, Wo;
9216
9237
  function fc() {
9217
9238
  if (Wo) return ln;
9218
9239
  Wo = 1;
9219
- const e = Ge().getSymbolSize, t = 7;
9240
+ const e = Ue().getSymbolSize, t = 7;
9220
9241
  return ln.getPositions = function(o) {
9221
9242
  const r = e(o);
9222
9243
  return [
@@ -9328,7 +9349,7 @@ function gc() {
9328
9349
  }(cn)), cn;
9329
9350
  }
9330
9351
  var Et = {}, $o;
9331
- function ti() {
9352
+ function ni() {
9332
9353
  if ($o) return Et;
9333
9354
  $o = 1;
9334
9355
  const e = _n(), t = [
@@ -9757,13 +9778,13 @@ function vc() {
9757
9778
  }, un = t, un;
9758
9779
  }
9759
9780
  var fn = {}, gn = {}, pn = {}, or;
9760
- function ni() {
9781
+ function oi() {
9761
9782
  return or || (or = 1, pn.isValid = function(t) {
9762
9783
  return !isNaN(t) && t >= 1 && t <= 40;
9763
9784
  }), pn;
9764
9785
  }
9765
9786
  var Be = {}, rr;
9766
- function oi() {
9787
+ function ri() {
9767
9788
  if (rr) return Be;
9768
9789
  rr = 1;
9769
9790
  const e = "[0-9]+", t = "[A-Z $%*+\\-./:]+";
@@ -9782,9 +9803,9 @@ function oi() {
9782
9803
  }, Be;
9783
9804
  }
9784
9805
  var ir;
9785
- function Ue() {
9806
+ function Ke() {
9786
9807
  return ir || (ir = 1, function(e) {
9787
- const t = ni(), n = oi();
9808
+ const t = oi(), n = ri();
9788
9809
  e.NUMERIC = {
9789
9810
  id: "Numeric",
9790
9811
  bit: 1,
@@ -9846,7 +9867,7 @@ function Ue() {
9846
9867
  var ar;
9847
9868
  function mc() {
9848
9869
  return ar || (ar = 1, function(e) {
9849
- const t = Ge(), n = ti(), o = _n(), r = Ue(), i = ni(), a = 7973, s = t.getBCHDigit(a);
9870
+ const t = Ue(), n = ni(), o = _n(), r = Ke(), i = oi(), a = 7973, s = t.getBCHDigit(a);
9850
9871
  function c(b, C, u) {
9851
9872
  for (let l = 1; l <= 40; l++)
9852
9873
  if (C <= e.getCapacity(l, u, b))
@@ -9913,7 +9934,7 @@ var hn = {}, sr;
9913
9934
  function bc() {
9914
9935
  if (sr) return hn;
9915
9936
  sr = 1;
9916
- const e = Ge(), t = 1335, n = 21522, o = e.getBCHDigit(t);
9937
+ const e = Ue(), t = 1335, n = 21522, o = e.getBCHDigit(t);
9917
9938
  return hn.getEncodedBits = function(i, a) {
9918
9939
  const s = i.bit << 3 | a;
9919
9940
  let c = s << 10;
@@ -9926,7 +9947,7 @@ var vn = {}, mn, lr;
9926
9947
  function wc() {
9927
9948
  if (lr) return mn;
9928
9949
  lr = 1;
9929
- const e = Ue();
9950
+ const e = Ke();
9930
9951
  function t(n) {
9931
9952
  this.mode = e.NUMERIC, this.data = n.toString();
9932
9953
  }
@@ -9948,7 +9969,7 @@ var bn, cr;
9948
9969
  function Cc() {
9949
9970
  if (cr) return bn;
9950
9971
  cr = 1;
9951
- const e = Ue(), t = [
9972
+ const e = Ke(), t = [
9952
9973
  "0",
9953
9974
  "1",
9954
9975
  "2",
@@ -10017,7 +10038,7 @@ var wn, dr;
10017
10038
  function yc() {
10018
10039
  if (dr) return wn;
10019
10040
  dr = 1;
10020
- const e = Ue();
10041
+ const e = Ke();
10021
10042
  function t(n) {
10022
10043
  this.mode = e.BYTE, typeof n == "string" ? this.data = new TextEncoder().encode(n) : this.data = new Uint8Array(n);
10023
10044
  }
@@ -10036,7 +10057,7 @@ var Cn, ur;
10036
10057
  function xc() {
10037
10058
  if (ur) return Cn;
10038
10059
  ur = 1;
10039
- const e = Ue(), t = Ge();
10060
+ const e = Ke(), t = Ue();
10040
10061
  function n(o) {
10041
10062
  this.mode = e.KANJI, this.data = o;
10042
10063
  }
@@ -10134,7 +10155,7 @@ function Ac() {
10134
10155
  var gr;
10135
10156
  function Dc() {
10136
10157
  return gr || (gr = 1, function(e) {
10137
- const t = Ue(), n = wc(), o = Cc(), r = yc(), i = xc(), a = oi(), s = Ge(), c = Ac();
10158
+ const t = Ke(), n = wc(), o = Cc(), r = yc(), i = xc(), a = ri(), s = Ue(), c = Ac();
10138
10159
  function p(v) {
10139
10160
  return unescape(encodeURIComponent(v)).length;
10140
10161
  }
@@ -10269,7 +10290,7 @@ var pr;
10269
10290
  function Tc() {
10270
10291
  if (pr) return nn;
10271
10292
  pr = 1;
10272
- const e = Ge(), t = _n(), n = cc(), o = dc(), r = uc(), i = fc(), a = gc(), s = ti(), c = vc(), p = mc(), g = bc(), f = Ue(), b = Dc();
10293
+ const e = Ue(), t = _n(), n = cc(), o = dc(), r = uc(), i = fc(), a = gc(), s = ni(), c = vc(), p = mc(), g = bc(), f = Ke(), b = Dc();
10273
10294
  function C(A, H) {
10274
10295
  const O = A.size, P = i.getPositions(H);
10275
10296
  for (let x = 0; x < P.length; x++) {
@@ -10403,7 +10424,7 @@ Minimum version required to store current data is: ` + B + `.
10403
10424
  }, nn;
10404
10425
  }
10405
10426
  var xn = {}, An = {}, hr;
10406
- function ri() {
10427
+ function ii() {
10407
10428
  return hr || (hr = 1, function(e) {
10408
10429
  function t(n) {
10409
10430
  if (typeof n == "number" && (n = n.toString()), typeof n != "string")
@@ -10459,7 +10480,7 @@ function ri() {
10459
10480
  var vr;
10460
10481
  function Hc() {
10461
10482
  return vr || (vr = 1, function(e) {
10462
- const t = ri();
10483
+ const t = ii();
10463
10484
  function n(r, i, a) {
10464
10485
  r.clearRect(0, 0, i.width, i.height), i.style || (i.style = {}), i.height = a, i.width = a, i.style.height = a + "px", i.style.width = a + "px";
10465
10486
  }
@@ -10487,7 +10508,7 @@ var Dn = {}, mr;
10487
10508
  function Pc() {
10488
10509
  if (mr) return Dn;
10489
10510
  mr = 1;
10490
- const e = ri();
10511
+ const e = ii();
10491
10512
  function t(r, i) {
10492
10513
  const a = r.a / 255, s = i + '="' + r.hex + '"';
10493
10514
  return a < 1 ? s + " " + i + '-opacity="' + a.toFixed(2).slice(1) + '"' : s;
@@ -10512,7 +10533,7 @@ function Pc() {
10512
10533
  }
10513
10534
  var br;
10514
10535
  function Bc() {
10515
- if (br) return Ze;
10536
+ if (br) return Ye;
10516
10537
  br = 1;
10517
10538
  const e = lc(), t = Tc(), n = Hc(), o = Pc();
10518
10539
  function r(i, a, s, c, p) {
@@ -10542,9 +10563,9 @@ function Bc() {
10542
10563
  p(C);
10543
10564
  }
10544
10565
  }
10545
- return Ze.create = t.create, Ze.toCanvas = r.bind(null, n.render), Ze.toDataURL = r.bind(null, n.renderToDataURL), Ze.toString = r.bind(null, function(i, a, s) {
10566
+ return Ye.create = t.create, Ye.toCanvas = r.bind(null, n.render), Ye.toDataURL = r.bind(null, n.renderToDataURL), Ye.toString = r.bind(null, function(i, a, s) {
10546
10567
  return o.render(i, s);
10547
- }), Ze;
10568
+ }), Ye;
10548
10569
  }
10549
10570
  var Oc = Bc();
10550
10571
  const wr = /* @__PURE__ */ Jn(Oc), Ec = ':host{--phone-display: block;--phone-collapse-display: none;--phone-header-height: 48px;--phone-body-height: 667px}@media screen and (max-width: 960px){:host{--phone-display: none;--phone-collapse-display: flex}}.TDesign-doc-phone{width:375px;width:min(75vw,375px);border-radius:6px;border:1px solid var(--component-border);outline:9999px solid transparent;position:absolute;top:316px;right:24px;display:var(--phone-display)}.TDesign-doc-phone__close{width:40px;height:40px;display:flex;justify-content:center;align-items:center;border:1px solid var(--component-border);border-radius:0 6px 6px 0;position:absolute;right:-42px;top:42px;background-color:var(--bg-color-container);visibility:hidden;opacity:0;transition:all .2s linear}.TDesign-doc-phone__close svg{color:var(--text-primary);width:24px;height:24px}.TDesign-doc-phone__header{height:var(--phone-header-height);padding:8px;border-radius:6px 6px 0 0;box-sizing:border-box;background:var(--bg-color-demo)}.TDesign-doc-phone__header-icons{display:flex;height:100%}.TDesign-doc-phone__header-icons .icon{width:32px;height:32px;border-radius:var(--border-radius);transition:all .1s;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-secondary)}.TDesign-doc-phone__header-icons .icon:hover{color:var(--text-primary);background-color:var(--bg-color-demo-hover)}.TDesign-doc-phone__header-icons .icon.active{color:var(--text-primary);background-color:var(--bg-color-demo-select)}.TDesign-doc-phone__header-icons .qrcode-wrapper{display:flex;justify-content:center;align-items:center;border-radius:3px;overflow:hidden;max-width:200px;max-height:200px}.TDesign-doc-phone__body{width:100%;height:var(--phone-body-height);border-radius:0 0 6px 6px;background-color:var(--bg-color-demo)}.TDesign-doc-phone-mask{content:"";position:fixed;left:0;top:0;width:100%;height:100%;z-index:2500;display:none}.TDesign-doc-phone-mask.show{display:block}.TDesign-doc-phone-mask.hide+.TDesign-doc-phone{visibility:hidden;opacity:0}.TDesign-doc-phone-mask.show+.TDesign-doc-phone{position:fixed;left:50%;top:50%!important;transform:translate3d(-50%,-50%,0);outline-color:var(--text-disabled);transition:transform .2s var(--anim-time-fn-easing),opacity .2s linear,visibility .2s linear;visibility:visible;opacity:1;z-index:2500;display:block}.TDesign-doc-phone-mask.show+.TDesign-doc-phone .TDesign-doc-phone__close{opacity:1;visibility:visible;cursor:pointer}.TDesign-doc-phone-collapse{position:fixed;right:0;top:400px;z-index:400;border-radius:3px 0 0 3px;box-shadow:2px 0 8px #00000042;width:40px;height:40px;align-items:center;justify-content:center;background-color:var(--bg-color-container);transition:all .2s var(--anim-time-fn-easing);display:var(--phone-collapse-display);cursor:pointer}.TDesign-doc-phone-collapse .icon svg{width:24px;height:24px;color:var(--text-primary)}', Mc = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -10648,14 +10669,14 @@ ie({
10648
10669
  <div class="TDesign-doc-phone__body">
10649
10670
  <slot></slot>
10650
10671
  </div>
10651
- <div class="TDesign-doc-phone__close" innerHTML="${Nn}" onclick="${Tn}"></div>
10672
+ <div class="TDesign-doc-phone__close" innerHTML="${Fn}" onclick="${Tn}"></div>
10652
10673
  </div>
10653
10674
  <div class="TDesign-doc-phone-collapse" onclick="${Tn}">
10654
10675
  <i class="icon" innerHTML="${kc}"></i>
10655
10676
  </div>
10656
10677
  `.css`${Ec}`
10657
10678
  });
10658
- const Lc = ":host{--block-base-width: 16px;position:absolute;top:228px;z-index:500}@media screen and (max-width: 960px){:host{--block-base-width: 14px}}.TDesign-doc-tabs{display:flex;align-items:center;justify-content:center;border-radius:6px;background:var(--bg-color-tab);height:calc(var(--block-base-width) * 3);box-sizing:border-box;cursor:pointer;border:1px solid var(--component-border)}.TDesign-doc-tabs__block{background-color:var(--bg-color-tab-select);box-shadow:0 2px 4px #00000026;position:absolute;height:calc(100% - 8px);left:4px;transition:all var(--anim-time-fn-easing) var(--anim-duration-moderate);border-radius:var(--border-radius)}.TDesign-doc-tabs .item+.item{margin-left:8px}.TDesign-doc-tabs .item{margin:4px;padding:8px calc(var(--block-base-width) * 1.5);font-size:var(--block-base-width);box-sizing:border-box;transition:all var(--anim-time-fn-easing) var(--anim-duration-moderate);border-radius:var(--border-radius);color:var(--text-secondary);position:relative;word-break:keep-all;white-space:nowrap}.TDesign-doc-tabs .item:hover,.TDesign-doc-tabs .item.active{color:var(--text-primary)}", Cr = ze();
10679
+ const Lc = ":host{--block-base-width: 16px;position:absolute;top:228px;z-index:500}@media screen and (max-width: 960px){:host{--block-base-width: 14px}}.TDesign-doc-tabs{display:flex;align-items:center;justify-content:center;border-radius:6px;background:var(--bg-color-tab);height:calc(var(--block-base-width) * 3);box-sizing:border-box;cursor:pointer;border:1px solid var(--component-border)}.TDesign-doc-tabs__block{background-color:var(--bg-color-tab-select);box-shadow:0 2px 4px #00000026;position:absolute;height:calc(100% - 8px);left:4px;transition:all var(--anim-time-fn-easing) var(--anim-duration-moderate);border-radius:var(--border-radius)}.TDesign-doc-tabs .item+.item{margin-left:8px}.TDesign-doc-tabs .item{margin:4px;padding:8px calc(var(--block-base-width) * 1.5);font-size:var(--block-base-width);box-sizing:border-box;transition:all var(--anim-time-fn-easing) var(--anim-duration-moderate);border-radius:var(--border-radius);color:var(--text-secondary);position:relative;word-break:keep-all;white-space:nowrap}.TDesign-doc-tabs .item:hover,.TDesign-doc-tabs .item.active{color:var(--text-primary)}";
10659
10680
  function zc(e, t) {
10660
10681
  e.tabScrollMap[e.tab] = document.documentElement.scrollTop;
10661
10682
  const { tab: n } = t.target.dataset;
@@ -10668,9 +10689,9 @@ function zc(e, t) {
10668
10689
  });
10669
10690
  }
10670
10691
  const Rc = [
10671
- { tab: "demo", name: Cr === "zh" ? "示例" : "Demo" },
10692
+ { tab: "demo", name: Ee() ? "Demo" : "示例" },
10672
10693
  { tab: "api", name: "API" },
10673
- { tab: "design", name: Cr === "zh" ? "指南" : "Guide" }
10694
+ { tab: "design", name: Ee() ? "Guide" : "指南" }
10674
10695
  ];
10675
10696
  ie({
10676
10697
  tag: "td-doc-tabs",
@@ -10735,9 +10756,9 @@ ie({
10735
10756
  `.css`${Lc}` : R``;
10736
10757
  }
10737
10758
  });
10738
- var Hn = { exports: {} }, yr;
10759
+ var Hn = { exports: {} }, Cr;
10739
10760
  function jc() {
10740
- return yr || (yr = 1, function(e) {
10761
+ return Cr || (Cr = 1, function(e) {
10741
10762
  var t = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
10742
10763
  /**
10743
10764
  * Prism: Lightweight, robust, elegant syntax highlighting
@@ -11895,7 +11916,7 @@ function jc() {
11895
11916
  }(Hn)), Hn.exports;
11896
11917
  }
11897
11918
  var Sc = jc();
11898
- const ot = /* @__PURE__ */ Jn(Sc), Ic = 'code[class*=language-],pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-]::selection,pre[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}pre[class*=language-]{overflow:auto;position:relative}.language-css>code,.language-sass>code,.language-scss>code{color:#c24c08}[class*=language-] .namespace{opacity:.7}.token.atrule{color:#6d3bac}.token.attr-name{color:#007edf}.token.attr-value,.token.attribute{color:#d29c00}.token.boolean{color:#6d3bac}.token.builtin,.token.cdata,.token.char,.token.class{color:#007edf}.token.class-name{color:#003cbf}.token.comment{color:#97a3b7}.token.constant{color:#6d3bac}.token.deleted{color:#b01531}.token.doctype{color:#97a3b7}.token.entity{color:#b01531}.token.function{color:#6d3bac}.token.hexcode{color:#c24c08}.token.id,.token.important{color:#6d3bac;font-weight:700}.token.inserted{color:#007edf}.token.keyword{color:#6d3bac}.token.number{color:#c24c08}.token.operator{color:#007edf}.token.prolog{color:#97a3b7}.token.property{color:#007edf}.token.pseudo-class,.token.pseudo-element{color:#d29c00}.token.punctuation{color:#007edf}.token.regex{color:#003cbf}.token.selector{color:#b01531}.token.string{color:#d29c00}.token.symbol{color:#6d3bac}.token.tag{color:#b01531}.token.unit{color:#c24c08}.token.url,.token.variable{color:#b01531}:root[theme-mode=dark] code[class*=language-],:root[theme-mode=dark] pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}:root[theme-mode=dark] code[class*=language-]::selection,:root[theme-mode=dark] pre[class*=language-]::selection,:root[theme-mode=dark] code[class*=language-] ::selection,:root[theme-mode=dark] pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:root[theme-mode=dark] :not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}:root[theme-mode=dark] pre[class*=language-]{overflow:auto;position:relative}:root[theme-mode=dark] .language-css>code,:root[theme-mode=dark] .language-sass>code,:root[theme-mode=dark] .language-scss>code{color:#f2995f}:root[theme-mode=dark] [class*=language-] .namespace{opacity:.7}:root[theme-mode=dark] .token.atrule{color:#ae78f0}:root[theme-mode=dark] .token.attr-name{color:#3280ff}:root[theme-mode=dark] .token.attr-value{color:#fbca25}:root[theme-mode=dark] .token.attribute{color:#fbca25}:root[theme-mode=dark] .token.boolean{color:#ae78f0}:root[theme-mode=dark] .token.builtin{color:#3280ff}:root[theme-mode=dark] .token.cdata{color:#3280ff}:root[theme-mode=dark] .token.char{color:#3280ff}:root[theme-mode=dark] .token.class{color:#3280ff}:root[theme-mode=dark] .token.class-name{color:#5cc5fc}:root[theme-mode=dark] .token.comment{color:#97a3b7}:root[theme-mode=dark] .token.constant{color:#ae78f0}:root[theme-mode=dark] .token.deleted{color:#48c79c}:root[theme-mode=dark] .token.doctype{color:#97a3b7}:root[theme-mode=dark] .token.entity{color:#48c79c}:root[theme-mode=dark] .token.function{color:#ae78f0}:root[theme-mode=dark] .token.hexcode{color:#f2995f}:root[theme-mode=dark] .token.id{color:#ae78f0;font-weight:700}:root[theme-mode=dark] .token.important{color:#f6c;font-weight:700}:root[theme-mode=dark] .token.inserted{color:#3280ff}:root[theme-mode=dark] .token.keyword{color:#f6c}:root[theme-mode=dark] .token.number{color:#f2995f}:root[theme-mode=dark] .token.operator{color:#3280ff}:root[theme-mode=dark] .token.prolog{color:#97a3b7}:root[theme-mode=dark] .token.property{color:#3280ff}:root[theme-mode=dark] .token.pseudo-class{color:#fbca25}:root[theme-mode=dark] .token.pseudo-element{color:#fbca25}:root[theme-mode=dark] .token.punctuation{color:#3280ff}:root[theme-mode=dark] .token.regex{color:#5cc5fc}:root[theme-mode=dark] .token.selector{color:#f36d78}:root[theme-mode=dark] .token.string{color:#fbca25}:root[theme-mode=dark] .token.symbol{color:#f6c}:root[theme-mode=dark] .token.tag{color:#48c79c}:root[theme-mode=dark] .token.unit{color:#f2995f}:root[theme-mode=dark] .token.url{color:#48c79c}:root[theme-mode=dark] .token.variable{color:#48c79c}.TDesign-doc-demo{margin:24px 0 48px;background-color:var(--bg-color-demo);color:var(--text-primary);border:1px solid var(--component-border);border-radius:6px}.TDesign-doc-demo.open{background:var(--bg-color-code)}.TDesign-doc-demo.open .TDesign-doc-demo__footer{border-radius:6px}.TDesign-doc-demo.open .TDesign-doc-demo__btns{position:relative}.TDesign-doc-demo.open .TDesign-doc-demo__btns:after{content:"";width:100%;height:20px;position:absolute;top:100%;left:0;z-index:1;background:var(--bg-color-code-linear)}.TDesign-doc-demo.open .TDesign-doc-demo__btns .action:hover{background-color:var(--bg-color-component-hover)}.TDesign-doc-demo__footer{border-radius:0 0 5px 5px}.TDesign-doc-demo__btns{height:48px;padding:8px;display:flex;justify-content:flex-end;column-gap:8px;align-items:center;box-sizing:border-box}.TDesign-doc-demo__btns .action{height:32px;width:32px;padding:8px;box-sizing:border-box;border-radius:var(--border-radius);cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .1s;display:inline-flex;color:var(--text-secondary)}.TDesign-doc-demo__btns .action:hover{color:var(--text-primary);background-color:var(--bg-color-demo-hover)}.TDesign-doc-demo__btns .action.active{color:var(--text-primary);background-color:var(--bg-color-demo-select)}.TDesign-doc-demo__code{border-radius:0 0 6px 6px;overflow:hidden;max-height:560px}.TDesign-doc-demo__code pre{margin:0;padding:20px 24px 36px;max-height:560px;box-sizing:border-box;overflow:auto;background:var(--bg-color-code);color:var(--text-primary);border-top:1px solid var(--component-border)}.TDesign-doc-demo__code pre:hover::-webkit-scrollbar-thumb{background-color:var(--bg-color-scroll)}.TDesign-doc-demo__code pre::-webkit-scrollbar{width:12px;height:12px;background:transparent}.TDesign-doc-demo__code pre::-webkit-scrollbar-corner{width:0}.TDesign-doc-demo__code pre::-webkit-scrollbar-thumb{border-radius:6px;border:4px solid transparent;background-clip:content-box;background-color:transparent}.TDesign-doc-demo-tabs{display:flex;align-items:center;justify-content:center;height:calc(var(--block-base-width) * 3);box-sizing:border-box;cursor:pointer;border-top:1px solid var(--component-border);padding:4px 0;position:relative}.TDesign-doc-demo-tabs__active{height:2px;width:180px;background-color:var(--text-interactive);position:absolute;left:0;bottom:1px;transition:all var(--anim-time-fn-easing) var(--anim-duration-moderate)}.TDesign-doc-demo-tabs__item+.TDesign-doc-demo-tabs__item{margin-left:8px}.TDesign-doc-demo-tabs__item{margin:4px;width:188px;text-align:center;padding:4px 0;font-size:var(--block-base-width);box-sizing:border-box;border-radius:var(--border-radius);color:var(--text-secondary);word-break:keep-all;white-space:nowrap;transition:background .2s}.TDesign-doc-demo-tabs__item:hover,.TDesign-doc-demo-tabs__item.active{color:var(--text-interactive)}.TDesign-doc-demo-tabs__item:hover{background:var(--bg-color-demo-hover)}', ii = `<svg width="18" height="16" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
11919
+ const ot = /* @__PURE__ */ Jn(Sc), Ic = 'code[class*=language-],pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-]::selection,pre[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}pre[class*=language-]{overflow:auto;position:relative}.language-css>code,.language-sass>code,.language-scss>code{color:#c24c08}[class*=language-] .namespace{opacity:.7}.token.atrule{color:#6d3bac}.token.attr-name{color:#007edf}.token.attr-value,.token.attribute{color:#d29c00}.token.boolean{color:#6d3bac}.token.builtin,.token.cdata,.token.char,.token.class{color:#007edf}.token.class-name{color:#003cbf}.token.comment{color:#97a3b7}.token.constant{color:#6d3bac}.token.deleted{color:#b01531}.token.doctype{color:#97a3b7}.token.entity{color:#b01531}.token.function{color:#6d3bac}.token.hexcode{color:#c24c08}.token.id,.token.important{color:#6d3bac;font-weight:700}.token.inserted{color:#007edf}.token.keyword{color:#6d3bac}.token.number{color:#c24c08}.token.operator{color:#007edf}.token.prolog{color:#97a3b7}.token.property{color:#007edf}.token.pseudo-class,.token.pseudo-element{color:#d29c00}.token.punctuation{color:#007edf}.token.regex{color:#003cbf}.token.selector{color:#b01531}.token.string{color:#d29c00}.token.symbol{color:#6d3bac}.token.tag{color:#b01531}.token.unit{color:#c24c08}.token.url,.token.variable{color:#b01531}:root[theme-mode=dark] code[class*=language-],:root[theme-mode=dark] pre[class*=language-]{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:1em;line-height:1.5em;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}:root[theme-mode=dark] code[class*=language-]::selection,:root[theme-mode=dark] pre[class*=language-]::selection,:root[theme-mode=dark] code[class*=language-] ::selection,:root[theme-mode=dark] pre[class*=language-] ::selection{background:#d6dbe3;color:#263238}:root[theme-mode=dark] :not(pre)>code[class*=language-]{white-space:normal;border-radius:.2em;padding:.1em}:root[theme-mode=dark] pre[class*=language-]{overflow:auto;position:relative}:root[theme-mode=dark] .language-css>code,:root[theme-mode=dark] .language-sass>code,:root[theme-mode=dark] .language-scss>code{color:#f2995f}:root[theme-mode=dark] [class*=language-] .namespace{opacity:.7}:root[theme-mode=dark] .token.atrule{color:#ae78f0}:root[theme-mode=dark] .token.attr-name{color:#3280ff}:root[theme-mode=dark] .token.attr-value{color:#fbca25}:root[theme-mode=dark] .token.attribute{color:#fbca25}:root[theme-mode=dark] .token.boolean{color:#ae78f0}:root[theme-mode=dark] .token.builtin{color:#3280ff}:root[theme-mode=dark] .token.cdata{color:#3280ff}:root[theme-mode=dark] .token.char{color:#3280ff}:root[theme-mode=dark] .token.class{color:#3280ff}:root[theme-mode=dark] .token.class-name{color:#5cc5fc}:root[theme-mode=dark] .token.comment{color:#97a3b7}:root[theme-mode=dark] .token.constant{color:#ae78f0}:root[theme-mode=dark] .token.deleted{color:#48c79c}:root[theme-mode=dark] .token.doctype{color:#97a3b7}:root[theme-mode=dark] .token.entity{color:#48c79c}:root[theme-mode=dark] .token.function{color:#ae78f0}:root[theme-mode=dark] .token.hexcode{color:#f2995f}:root[theme-mode=dark] .token.id{color:#ae78f0;font-weight:700}:root[theme-mode=dark] .token.important{color:#f6c;font-weight:700}:root[theme-mode=dark] .token.inserted{color:#3280ff}:root[theme-mode=dark] .token.keyword{color:#f6c}:root[theme-mode=dark] .token.number{color:#f2995f}:root[theme-mode=dark] .token.operator{color:#3280ff}:root[theme-mode=dark] .token.prolog{color:#97a3b7}:root[theme-mode=dark] .token.property{color:#3280ff}:root[theme-mode=dark] .token.pseudo-class{color:#fbca25}:root[theme-mode=dark] .token.pseudo-element{color:#fbca25}:root[theme-mode=dark] .token.punctuation{color:#3280ff}:root[theme-mode=dark] .token.regex{color:#5cc5fc}:root[theme-mode=dark] .token.selector{color:#f36d78}:root[theme-mode=dark] .token.string{color:#fbca25}:root[theme-mode=dark] .token.symbol{color:#f6c}:root[theme-mode=dark] .token.tag{color:#48c79c}:root[theme-mode=dark] .token.unit{color:#f2995f}:root[theme-mode=dark] .token.url{color:#48c79c}:root[theme-mode=dark] .token.variable{color:#48c79c}.TDesign-doc-demo{margin:24px 0 48px;background-color:var(--bg-color-demo);color:var(--text-primary);border:1px solid var(--component-border);border-radius:6px}.TDesign-doc-demo.open{background:var(--bg-color-code)}.TDesign-doc-demo.open .TDesign-doc-demo__footer{border-radius:6px}.TDesign-doc-demo.open .TDesign-doc-demo__btns{position:relative}.TDesign-doc-demo.open .TDesign-doc-demo__btns:after{content:"";width:100%;height:20px;position:absolute;top:100%;left:0;z-index:1;background:var(--bg-color-code-linear)}.TDesign-doc-demo.open .TDesign-doc-demo__btns .action:hover{background-color:var(--bg-color-component-hover)}.TDesign-doc-demo__footer{border-radius:0 0 5px 5px}.TDesign-doc-demo__btns{height:48px;padding:8px;display:flex;justify-content:flex-end;column-gap:8px;align-items:center;box-sizing:border-box}.TDesign-doc-demo__btns .action{height:32px;width:32px;padding:8px;box-sizing:border-box;border-radius:var(--border-radius);cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .1s;display:inline-flex;color:var(--text-secondary)}.TDesign-doc-demo__btns .action:hover{color:var(--text-primary);background-color:var(--bg-color-demo-hover)}.TDesign-doc-demo__btns .action.active{color:var(--text-primary);background-color:var(--bg-color-demo-select)}.TDesign-doc-demo__code{border-radius:0 0 6px 6px;overflow:hidden;max-height:560px}.TDesign-doc-demo__code pre{margin:0;padding:20px 24px 36px;max-height:560px;box-sizing:border-box;overflow:auto;background:var(--bg-color-code);color:var(--text-primary);border-top:1px solid var(--component-border)}.TDesign-doc-demo__code pre:hover::-webkit-scrollbar-thumb{background-color:var(--bg-color-scroll)}.TDesign-doc-demo__code pre::-webkit-scrollbar{width:12px;height:12px;background:transparent}.TDesign-doc-demo__code pre::-webkit-scrollbar-corner{width:0}.TDesign-doc-demo__code pre::-webkit-scrollbar-thumb{border-radius:6px;border:4px solid transparent;background-clip:content-box;background-color:transparent}.TDesign-doc-demo-tabs{display:flex;align-items:center;justify-content:center;height:calc(var(--block-base-width) * 3);box-sizing:border-box;cursor:pointer;border-top:1px solid var(--component-border);padding:4px 0;position:relative}.TDesign-doc-demo-tabs__active{height:2px;width:180px;background-color:var(--text-interactive);position:absolute;left:0;bottom:1px;transition:all var(--anim-time-fn-easing) var(--anim-duration-moderate)}.TDesign-doc-demo-tabs__item+.TDesign-doc-demo-tabs__item{margin-left:8px}.TDesign-doc-demo-tabs__item{margin:4px;width:188px;text-align:center;padding:4px 0;font-size:var(--block-base-width);box-sizing:border-box;border-radius:var(--border-radius);color:var(--text-secondary);word-break:keep-all;white-space:nowrap;transition:background .2s}.TDesign-doc-demo-tabs__item:hover,.TDesign-doc-demo-tabs__item.active{color:var(--text-interactive)}.TDesign-doc-demo-tabs__item:hover{background:var(--bg-color-demo-hover)}', ai = `<svg width="18" height="16" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
11899
11920
  <path fill="currentColor" d="M10.3736 0.498413L11.581 0.821937L7.69869 15.3108L6.49128 14.9873L10.3736 0.498413Z" />
11900
11921
  <path fill="currentColor" d="M13.687 2.66028L17.3046 6.79909C17.8786 7.45583 17.9195 8.41353 17.4255 9.11321L17.3115 9.25899L13.6894 13.4505L12.7436 12.6332C12.7436 12.6332 16.645 8.25979 16.5103 8.0325L12.7459 3.4829L13.687 2.66028Z" />
11901
11922
  <path fill="currentColor" d="M0.667582 6.90809L3.84161 2.67255L4.8419 3.42215L1.51505 7.99998C1.41314 8.20784 4.8419 12.6428 4.8419 12.6428L3.84161 13.3924L0.667582 9.1569L0.5612 8.99891C0.171134 8.35104 0.206595 7.52325 0.667582 6.90809Z" />
@@ -12317,9 +12338,9 @@ Prism.languages.markup && (Prism.languages.markup.tag.addInlined("script", "java
12317
12338
  "javascript"
12318
12339
  ));
12319
12340
  Prism.languages.js = Prism.languages.javascript;
12320
- var xr = {}, Ar;
12341
+ var yr = {}, xr;
12321
12342
  function Nc() {
12322
- return Ar || (Ar = 1, function(e) {
12343
+ return xr || (xr = 1, function(e) {
12323
12344
  e.languages.typescript = e.languages.extend("javascript", {
12324
12345
  "class-name": {
12325
12346
  pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
@@ -12363,7 +12384,7 @@ function Nc() {
12363
12384
  }
12364
12385
  }
12365
12386
  }), e.languages.ts = e.languages.typescript;
12366
- }(Prism)), xr;
12387
+ }(Prism)), yr;
12367
12388
  }
12368
12389
  Nc();
12369
12390
  ie({
@@ -12441,7 +12462,7 @@ ie({
12441
12462
  ${r === "open" ? R`` : R`<span
12442
12463
  class="action code ${o ? "active" : ""}"
12443
12464
  onclick=${R.set("showCode", !o)}
12444
- innerHTML=${ii}
12465
+ innerHTML=${ai}
12445
12466
  ></span>`}
12446
12467
  </div>
12447
12468
  <div class="TDesign-doc-demo__code ${i}" style="${l}">
@@ -12520,7 +12541,7 @@ ie({
12520
12541
  content: "",
12521
12542
  render: ({ time: e, content: t }) => R`
12522
12543
  <div class="TDesign-doc-history">
12523
- <i class="icon" innerHTML="${ei}"></i>
12544
+ <i class="icon" innerHTML="${ti}"></i>
12524
12545
  ${t || R`
12525
12546
  <span class="text">Last Update: </span>
12526
12547
  ${Vc(e)}
@@ -12539,7 +12560,7 @@ function Jc(e) {
12539
12560
  const r = e.shadowRoot.querySelectorAll(".header-panel"), { offsetLeft: i, offsetWidth: a } = r[o];
12540
12561
  return `width: ${a}px; left: ${i}px`;
12541
12562
  }
12542
- function Dr(e, t, n) {
12563
+ function Ar(e, t, n) {
12543
12564
  const { detail: o } = t;
12544
12565
  Te(e, "ConfigChange", {
12545
12566
  detail: { value: o.value, name: n.name, type: n.type }
@@ -12559,7 +12580,7 @@ function Wc(e = []) {
12559
12580
  <td-switch
12560
12581
  size="small"
12561
12582
  value="${o.defaultValue}"
12562
- onchange="${(r, i) => Dr(r, i, o)}"
12583
+ onchange="${(r, i) => Ar(r, i, o)}"
12563
12584
  ></td-switch>
12564
12585
  </li>
12565
12586
  `
@@ -12577,7 +12598,7 @@ function Wc(e = []) {
12577
12598
  borderless
12578
12599
  value="${o.defaultValue}"
12579
12600
  options="${o.options}"
12580
- onchange="${(r, i) => Dr(r, i, o)}"
12601
+ onchange="${(r, i) => Ar(r, i, o)}"
12581
12602
  ></td-select>
12582
12603
  </li>
12583
12604
  `
@@ -12641,7 +12662,7 @@ ie({
12641
12662
  <span
12642
12663
  class="action code ${o ? "active" : ""}"
12643
12664
  onclick=${R.set("showCode", !o)}
12644
- innerHTML=${ii}
12665
+ innerHTML=${ai}
12645
12666
  ></span>
12646
12667
  </div>
12647
12668
  </div>
@@ -12726,7 +12747,7 @@ ie({
12726
12747
  `.css`${$c}`;
12727
12748
  }
12728
12749
  });
12729
- function Tr(e, t, n) {
12750
+ function Dr(e, t, n) {
12730
12751
  if (document.getElementById(e)) return;
12731
12752
  const o = document.createElement("script");
12732
12753
  o.async = !0, o.id = e, o.type = "text/javascript", Object.keys(t).forEach((r) => {
@@ -12750,10 +12771,10 @@ ie({
12750
12771
  set: (e, t) => t,
12751
12772
  connect: (e) => {
12752
12773
  function t() {
12753
- Tr("horizon-tracker", {
12774
+ Dr("horizon-tracker", {
12754
12775
  "data-account": e.dataAccount,
12755
12776
  src: "https://static.codesign.qq.com/analytics.js"
12756
- }), Tr(
12777
+ }), Dr(
12757
12778
  "__td_tcss__",
12758
12779
  {
12759
12780
  src: "https://pingjs.qq.com/tcss.ping.https.js"
@@ -12887,7 +12908,7 @@ ie({
12887
12908
  "TDesign-select-input--borderless": r
12888
12909
  }}">
12889
12910
  <input class="TDesign-select-input__inner" readonly value="${a}" />
12890
- <i class="suffix-icon ${o ? "up" : ""}" innerHTML="${Rr}"></i>
12911
+ <i class="suffix-icon ${o ? "up" : ""}" innerHTML="${Ir}"></i>
12891
12912
  </div>
12892
12913
  <div slot="content" class="TDesign-select-dropdown">${u1(e)}</div>
12893
12914
  </td-doc-popup>
@@ -12916,6 +12937,6 @@ ie({
12916
12937
  }
12917
12938
  });
12918
12939
  export {
12919
- ze as getLang,
12940
+ Sr as getLang,
12920
12941
  p1 as registerLocaleChange
12921
12942
  };