@tdesign/site-components 0.17.3 → 0.17.5

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 Lt(e, t) {
24
24
  t(o), o.shadowRoot && Lt(o.shadowRoot, t);
25
25
  }
26
26
  }
27
- const zn = Promise.resolve(), ei = /* @__PURE__ */ new WeakMap(), Tn = Lt.name === "walkInShadow", gt = /* @__PURE__ */ new Set();
28
- function xr(e) {
29
- gt.size || zn.then(ni), gt.add(e);
27
+ const zn = Promise.resolve(), ti = /* @__PURE__ */ new WeakMap(), Tn = Lt.name === "walkInShadow", gt = /* @__PURE__ */ new Set();
28
+ function yr(e) {
29
+ gt.size || zn.then(oi), gt.add(e);
30
30
  }
31
- function ti(e) {
31
+ function ni(e) {
32
32
  gt.delete(e);
33
33
  }
34
- function ni() {
34
+ function oi() {
35
35
  for (const e of gt)
36
36
  try {
37
37
  e();
@@ -41,7 +41,7 @@ function ni() {
41
41
  gt.clear();
42
42
  }
43
43
  const zt = /* @__PURE__ */ new WeakMap(), lt = /* @__PURE__ */ new Set();
44
- function Ar(e) {
44
+ function xr(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 Ar(e) {
52
52
  if (e.contexts)
53
53
  for (const o of e.contexts)
54
54
  lt.has(o) || (t.add(o), e.contexts.delete(o));
55
- e.observe && xr(e.observe), e = n.next().value;
55
+ e.observe && yr(e.observe), e = n.next().value;
56
56
  }
57
57
  }
58
58
  function Nt(e, t) {
@@ -71,7 +71,7 @@ function Nt(e, t) {
71
71
  }, n.set(t, o)), o;
72
72
  }
73
73
  let Ae = null;
74
- function Dr(e, t, n) {
74
+ function Ar(e, t, n) {
75
75
  const o = Nt(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 Dr(e, t, n) {
84
84
  }
85
85
  return o.value;
86
86
  }
87
- function oi(e, t, n, o) {
87
+ function ri(e, t, n, o) {
88
88
  const r = Nt(e, t), i = n(e, o, r.value);
89
- i !== r.value && (r.value = i, Ar(r));
89
+ i !== r.value && (r.value = i, xr(r));
90
90
  }
91
- function ri(e, t, n, o) {
91
+ function ii(e, t, n, o) {
92
92
  const r = Nt(e, t);
93
93
  r.observe = () => {
94
- const i = Dr(e, t, n);
94
+ const i = Ar(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 ri(e, t, n, o) {
100
100
  console.error(i);
101
101
  }
102
102
  return () => {
103
- ti(r.observe), r.observe = void 0, r.lastValue = void 0;
103
+ ni(r.observe), r.observe = void 0, r.lastValue = void 0;
104
104
  };
105
105
  }
106
106
  const At = /* @__PURE__ */ new Set();
107
- function ii(e) {
107
+ function ai(e) {
108
108
  At.size || setTimeout(() => {
109
109
  for (const t of At)
110
110
  if (!t.contexts || t.contexts.size === 0) {
@@ -116,18 +116,18 @@ function ii(e) {
116
116
  At.clear();
117
117
  }), At.add(e);
118
118
  }
119
- function Tr(e, t) {
120
- Ar(e), t.clearValue && (e.value = void 0, e.lastValue = void 0), t.deleteEntry && ii(e);
119
+ function Dr(e, t) {
120
+ xr(e), t.clearValue && (e.value = void 0, e.lastValue = void 0), t.deleteEntry && ai(e);
121
121
  }
122
- function Hr(e, t, n = {}) {
122
+ function Tr(e, t, n = {}) {
123
123
  const o = Nt(e, t);
124
- Tr(o, n);
124
+ Dr(o, n);
125
125
  }
126
- function ai(e, t = {}) {
126
+ function si(e, t = {}) {
127
127
  const n = zt.get(e);
128
128
  if (n)
129
129
  for (const o of n.values())
130
- Tr(o, t);
130
+ Dr(o, t);
131
131
  }
132
132
  function Wn(e, t) {
133
133
  return {
@@ -146,7 +146,7 @@ function Wn(e, t) {
146
146
  }
147
147
  };
148
148
  }
149
- const Pr = {
149
+ const Hr = {
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 Pr = {
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" && Pr[o];
163
+ const o = typeof t, r = o !== "undefined" && Hr[o];
164
164
  return r ? r(e, t, n) : (e.hasAttribute(n) && e.removeAttribute(n), t);
165
165
  }
166
- }, si = {
166
+ }, li = {
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 li(e, t) {
173
- const n = typeof t.value, o = Pr[n], r = si[n];
172
+ function ci(e, t) {
173
+ const n = typeof t.value, o = Hr[n], r = li[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 Hn(e, t) {
199
199
  delete this[a], this[a] = s;
200
200
  }
201
201
  const i = /* @__PURE__ */ new Set();
202
- Dt.set(this, i), xr(() => {
202
+ Dt.set(this, i), yr(() => {
203
203
  if (i === Dt.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 Hn(e, t) {
210
210
  const i = Dt.get(this);
211
211
  for (const a of i)
212
212
  a && a();
213
- Dt.delete(this), ai(this);
213
+ Dt.delete(this), si(this);
214
214
  }
215
215
  };
216
216
  ht.set(t, Object.freeze(e));
@@ -232,30 +232,30 @@ function Hn(e, t) {
232
232
  a.get = (g, f) => (f === void 0 && (f = a.set(g, g.getAttribute(c) || f)), h(g, f));
233
233
  }
234
234
  if (hasOwnProperty.call(a, "value"))
235
- a = li(i, a);
235
+ a = ci(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 Dr(this, i, a.get);
242
+ return Ar(this, i, a.get);
243
243
  },
244
244
  set: a.set && function(h) {
245
- oi(this, i, a.set, h);
245
+ ri(this, i, a.set, h);
246
246
  },
247
247
  enumerable: !0,
248
248
  configurable: !0
249
249
  }), a.connect && n.add(
250
250
  (c) => a.connect(c, i, () => {
251
- Hr(c, i);
251
+ Tr(c, i);
252
252
  })
253
- ), a.observe && o.add((c) => ri(c, i, a.get, a.observe));
253
+ ), a.observe && o.add((c) => ii(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 ot = /* @__PURE__ */ new Map();
258
- function ci(e) {
258
+ function di(e) {
259
259
  ot.size || zn.then(() => {
260
260
  Lt(globalThis.document.body, (t) => {
261
261
  if (ot.has(t.constructor)) {
@@ -263,14 +263,14 @@ function ci(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)), Hr(t, r, { clearValue: a });
266
+ a && t.removeAttribute(Ct(r)), Tr(t, r, { clearValue: a });
267
267
  }
268
268
  t.connectedCallback();
269
269
  }
270
270
  }), ot.clear();
271
271
  }), ot.set(e, ht.get(e));
272
272
  }
273
- function Br(e) {
273
+ function Pr(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 Br(e) {
278
278
  const t = globalThis.customElements.get(e.tag);
279
279
  if (t) {
280
280
  if (ht.get(t))
281
- return ci(t), Hn(e, t), e;
281
+ return di(t), Hn(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, Hn(e)), e;
287
287
  }
288
- function di(e, { root: t = "", prefix: n } = {}) {
288
+ function ui(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 di(e, { root: t = "", prefix: n } = {}) {
294
294
  );
295
295
  r.tag = n ? `${n}-${i}` : i;
296
296
  }
297
- Br(r);
297
+ Pr(r);
298
298
  }
299
299
  return e;
300
300
  }
301
301
  const ie = Object.freeze(
302
- Object.assign(Br, {
302
+ Object.assign(Pr, {
303
303
  compile: (e) => Hn(e),
304
- from: di
304
+ from: ui
305
305
  })
306
306
  ), dt = /* @__PURE__ */ new WeakMap();
307
- function je(e) {
307
+ function Se(e) {
308
308
  let t = dt.get(e);
309
309
  return t || (dt.set(e, t = {}), t);
310
310
  }
311
311
  function Xt(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 pt(e) {
334
334
  dt.set(e, {});
335
335
  }
336
336
  }
337
- const ui = Date.now(), Fe = (e = 0) => `H-${ui}-${e}`, Rn = !!(globalThis.document && globalThis.document.adoptedStyleSheets), qt = /^\d+$/, fi = {
337
+ const fi = Date.now(), qe = (e = 0) => `H-${fi}-${e}`, Rn = !!(globalThis.document && globalThis.document.adoptedStyleSheets), qt = /^\d+$/, gi = {
338
338
  // base
339
339
  block: (e, t) => ({
340
340
  display: "block",
@@ -455,35 +455,35 @@ const ui = Date.now(), Fe = (e = 0) => `H-${ui}-${e}`, Rn = !!(globalThis.docume
455
455
  };
456
456
  },
457
457
  view: (e, t) => ({ "view-transition-name": t })
458
- }, gi = {
458
+ }, hi = {
459
459
  min: "min-content",
460
460
  max: "max-content",
461
461
  fit: "fit-content",
462
462
  full: "100%"
463
- }, hi = {
463
+ }, pi = {
464
464
  portrait: "orientation: portrait",
465
465
  landscape: "orientation: landscape"
466
466
  };
467
467
  function le(e) {
468
- return e = gi[e] || e, /^-?\d+(\.\d+)*$/.test(String(e)) ? `${e * 8}px` : e || "";
468
+ return e = hi[e] || e, /^-?\d+(\.\d+)*$/.test(String(e)) ? `${e * 8}px` : e || "";
469
469
  }
470
- let Ve;
471
- function Or() {
472
- if (Ve) return Ve;
470
+ let Ze;
471
+ function Br() {
472
+ if (Ze) return Ze;
473
473
  if (Rn)
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 _n = /* @__PURE__ */ new WeakMap();
482
482
  let Pn = /* @__PURE__ */ new WeakSet();
483
- function pi(e) {
483
+ function vi(e) {
484
484
  const t = e.getRootNode();
485
485
  if (Pn.has(t)) return;
486
- const n = Or();
486
+ const n = Br();
487
487
  if (Rn)
488
488
  t.adoptedStyleSheets = [...t.adoptedStyleSheets, n];
489
489
  else {
@@ -501,9 +501,9 @@ const $n = /* @__PURE__ */ new Map();
501
501
  function eo(e, t, n, o) {
502
502
  let r = $n.get(e);
503
503
  r || (r = `l-${Math.random().toString(36).substr(2, 5)}`, $n.set(e, r)), Rn || (Pn = /* @__PURE__ */ new WeakSet());
504
- const i = Or(), [a, s = ""] = t.split("@"), c = Object.entries(
504
+ const i = Br(), [a, s = ""] = t.split("@"), c = Object.entries(
505
505
  n.replace(/\s+/g, " ").trim().split(" ").reduce((g, f) => {
506
- const [b, ...w] = f.split(":"), u = fi[b];
506
+ const [b, ...w] = f.split(":"), u = gi[b];
507
507
  if (!u)
508
508
  throw TypeError(`Unsupported layout rule: '${b}'`);
509
509
  return Object.assign(
@@ -514,7 +514,7 @@ function eo(e, t, n, o) {
514
514
  ).reduce(
515
515
  (g, [f, b]) => b !== void 0 && b !== "" ? g + `${f}: ${b};` : g,
516
516
  ""
517
- ), h = s.split(":").reduce((g, f) => f === "" ? g : g + ` and (${hi[f] || `min-width: ${f}`})`, "@media screen");
517
+ ), h = s.split(":").reduce((g, f) => f === "" ? g : g + ` and (${pi[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 eo(e, t, n, o) {
533
533
  return r;
534
534
  }
535
535
  const Bn = /* @__PURE__ */ new WeakMap();
536
- function vi(e, t) {
537
- const n = je(e), o = n.startNode, r = Xt(n.endNode);
536
+ function mi(e, t) {
537
+ const n = Se(e), o = n.startNode, r = Xt(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 vi(e, t) {
542
542
  i.parentNode.insertBefore(a, i.nextSibling), i = a, a = s !== r.nextSibling && s;
543
543
  }
544
544
  }
545
- function mi(e, t, n, o, r) {
545
+ function bi(e, t, n, o, r) {
546
546
  let i = Bn.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 mi(e, t, n, o, r) {
557
557
  i = i.filter((f) => g.has(f.id) ? !0 : (pt(f.placeholder), f.placeholder.parentNode.removeChild(f.placeholder), !1));
558
558
  }
559
559
  let s = t;
560
- const c = n.length - 1, h = je(t);
560
+ const c = n.length - 1, h = 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 mi(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 && vi(f.placeholder, s), b.value !== f.value && o(
571
+ b ? (b.available = !1, f.placeholder = b.placeholder, f.placeholder.previousSibling !== s && mi(f.placeholder, s), b.value !== f.value && o(
572
572
  e,
573
573
  f.placeholder,
574
574
  f.value,
@@ -578,16 +578,16 @@ function mi(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 = Xt(
581
- je(f.placeholder).endNode || f.placeholder
581
+ Se(f.placeholder).endNode || f.placeholder
582
582
  ), g === 0 && (h.startNode = f.placeholder), g === c && (h.endNode = s);
583
583
  }
584
584
  if (i)
585
585
  for (const g of i)
586
586
  g.available && (pt(g.placeholder), g.placeholder.parentNode.removeChild(g.placeholder));
587
587
  }
588
- function bi(e, t, n) {
588
+ function Ci(e, t, n) {
589
589
  pt(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 to(e) {
@@ -602,10 +602,10 @@ function vt(e, t, n, o, r) {
602
602
  const i = to(n), a = to(o);
603
603
  switch (a !== "undefined" && i !== a && (i !== "function" && pt(t), a === "array" ? Bn.delete(t) : a !== "node" && a !== "function" && (t.textContent = "")), i) {
604
604
  case "array":
605
- mi(e, t, n, vt, r);
605
+ bi(e, t, n, vt, r);
606
606
  break;
607
607
  case "node":
608
- bi(e, t, n);
608
+ Ci(e, t, n);
609
609
  break;
610
610
  case "function":
611
611
  r && (n.useLayout = !0), n(e, t);
@@ -615,7 +615,7 @@ function vt(e, t, n, o, r) {
615
615
  }
616
616
  }
617
617
  const Gt = /* @__PURE__ */ new WeakMap();
618
- function Ci(e) {
618
+ function wi(e) {
619
619
  return (t, n, o, r) => {
620
620
  if (r) {
621
621
  const i = Gt.get(n);
@@ -639,7 +639,7 @@ function Ci(e) {
639
639
  }
640
640
  };
641
641
  }
642
- function wi(e, t = /* @__PURE__ */ new Set()) {
642
+ function yi(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 wi(e, t = /* @__PURE__ */ new Set()) {
651
651
  return t;
652
652
  }
653
653
  const no = /* @__PURE__ */ new WeakMap();
654
- function yi(e, t, n) {
655
- const o = no.get(t) || /* @__PURE__ */ new Set(), r = wi(n);
654
+ function xi(e, t, n) {
655
+ const o = no.get(t) || /* @__PURE__ */ new Set(), r = yi(n);
656
656
  no.set(t, r);
657
657
  for (const i of r)
658
658
  t.classList.add(i), o.delete(i);
@@ -660,7 +660,7 @@ function yi(e, t, n) {
660
660
  t.classList.remove(i);
661
661
  }
662
662
  const oo = /* @__PURE__ */ new WeakMap();
663
- function xi(e, t, n) {
663
+ function Ai(e, t, n) {
664
664
  if (n === null || typeof n != "object")
665
665
  throw TypeError(
666
666
  `Style value must be an object in ${Qt(t)}:`,
@@ -675,16 +675,16 @@ function xi(e, t, n) {
675
675
  t.style[i] = "";
676
676
  oo.set(t, r);
677
677
  }
678
- function Ai(e, t, n) {
678
+ function Di(e, t, n) {
679
679
  if (t.substr(0, 2) === "on") {
680
680
  const o = t.substr(2);
681
- return Ci(o);
681
+ return wi(o);
682
682
  }
683
683
  switch (e) {
684
684
  case "class":
685
- return yi;
686
- case "style":
687
685
  return xi;
686
+ case "style":
687
+ return Ai;
688
688
  default: {
689
689
  let o = !1;
690
690
  return (r, i, a) => {
@@ -700,16 +700,16 @@ function Ai(e, t, n) {
700
700
  }
701
701
  }
702
702
  }
703
- const Er = Fe("(\\d+)"), rt = new RegExp(`^${Er}$`), Ye = new RegExp(Er, "g"), Di = /^[^A-Za-z]+$/;
704
- function Ti(e) {
703
+ const Or = qe("(\\d+)"), rt = new RegExp(`^${Or}$`), Je = new RegExp(Or, "g"), Ti = /^[^A-Za-z]+$/;
704
+ function Hi(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 Hi(e) {
712
+ function Pi(e) {
713
713
  return e.replace(/\s*=\s*['"]*$/g, "").split(/\s+/).pop();
714
714
  }
715
715
  function ro(e) {
@@ -720,7 +720,7 @@ function ro(e) {
720
720
  !1
721
721
  );
722
722
  }
723
- function Pi(e, t = 0) {
723
+ function Bi(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 Pi(e, t = 0) {
736
736
  return e;
737
737
  }
738
738
  function io(e, t) {
739
- const n = Fe(t);
740
- return `${Pi(e).split(`
739
+ const n = qe(t);
740
+ return `${Bi(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 ao = /* @__PURE__ */ new Map(), so = /* @__PURE__ */ new WeakMap();
749
- function Bi(e, t) {
749
+ function Oi(e, t) {
750
750
  const n = so.get(e);
751
751
  if (!n && !t) return;
752
752
  const o = t && t.map((i) => {
@@ -764,7 +764,7 @@ function Bi(e, t) {
764
764
  o && (r = (r || e.adoptedStyleSheets).concat(o)), e.adoptedStyleSheets = r, so.set(e, o);
765
765
  }
766
766
  const Ut = /* @__PURE__ */ new WeakMap();
767
- function Mr(e, t) {
767
+ function Er(e, t) {
768
768
  let n = Ut.get(e);
769
769
  if (t) {
770
770
  (!n || n.parentNode !== e) && (n = globalThis.document.createElement("style"), Ut.set(e, n), e = Xt(e), e.nodeType === globalThis.Node.TEXT_NODE ? e.parentNode.insertBefore(n, e.nextSibling) : e.appendChild(n));
@@ -775,13 +775,13 @@ function Mr(e, t) {
775
775
  } else n && (n.parentNode.removeChild(n), Ut.set(e, null));
776
776
  }
777
777
  const lo = /* @__PURE__ */ new WeakMap();
778
- function Oi(e, t) {
778
+ function Ei(e, t) {
779
779
  let n = lo.get(e);
780
- n || (n = e.adoptedStyleSheets ? Bi : Mr, lo.set(e, n)), n(e, t);
780
+ n || (n = e.adoptedStyleSheets ? Oi : Er, lo.set(e, n)), n(e, t);
781
781
  }
782
- function Ei(e, t, n, o) {
782
+ function Mi(e, t, n, o) {
783
783
  let r = globalThis.document.createElement("template");
784
- const i = {}, a = Ti(e);
784
+ const i = {}, a = Hi(e);
785
785
  r.innerHTML = a;
786
786
  let s;
787
787
  const c = r.content.children[0];
@@ -789,7 +789,7 @@ function Ei(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 = eo(
795
795
  c,
@@ -818,20 +818,20 @@ function Ei(e, t, n, o) {
818
818
  if (d)
819
819
  u.textContent = "", i[d[1]] = [f, vt];
820
820
  else {
821
- if (Ki() && !b && !l.match(/^\s*$/)) {
821
+ if (Vi() && !b && !l.match(/^\s*$/)) {
822
822
  let p;
823
- const C = l.trim(), y = C.replace(/\s+/g, " ").replace(Ye, (D, A) => (A = Number(A), p === void 0 && (p = A), `\${${A - p}}`));
824
- if (!y.match(Di)) {
823
+ const C = l.trim(), y = C.replace(/\s+/g, " ").replace(Je, (D, A) => (A = Number(A), p === void 0 && (p = A), `\${${A - p}}`));
824
+ if (!y.match(Ti)) {
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 = Vi(y, D).replace(
827
+ const A = Zi(y, D).replace(
828
828
  /\${(\d+)}/g,
829
- (H, O) => Fe(Number(O) + p)
829
+ (H, O) => qe(Number(O) + p)
830
830
  );
831
831
  l = l.replace(C, 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 p = u;
837
837
  v.reduce(
@@ -860,7 +860,7 @@ function Ei(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 C = eo(u, v.substr(6), d);
866
866
  u.removeAttribute(v), u.classList.add(C);
@@ -868,13 +868,13 @@ function Ei(e, t, n, o) {
868
868
  }
869
869
  const p = d.match(rt);
870
870
  if (p) {
871
- const C = Hi(e[p[1]]);
871
+ const C = Pi(e[p[1]]);
872
872
  i[p[1]] = [
873
873
  f,
874
- Ai(v, C)
874
+ Di(v, C)
875
875
  ], u.removeAttribute(l.name);
876
876
  } else {
877
- const C = d.match(Ye);
877
+ const C = d.match(Je);
878
878
  if (C) {
879
879
  const y = `attr__${v}`;
880
880
  for (const [D, A] of C.entries()) {
@@ -883,7 +883,7 @@ function Ei(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 @@ ${io(a, -1)}`
904
904
  );
905
905
  const w = Object.keys(i);
906
906
  return function(l, d, v, { styleSheets: p }) {
907
- let C = je(d);
907
+ let C = Se(d);
908
908
  if (r !== C.template) {
909
909
  const y = globalThis.document.importNode(r.content, !0), D = ro(y), A = [];
910
910
  let H = 0, O = 0, P = i[w[O]];
@@ -918,8 +918,8 @@ ${io(a, -1)}`
918
918
  }), O += 1, P = i[w[O]];
919
919
  H += 1;
920
920
  }
921
- if (C.hostLayout && l.classList.remove(C.hostLayout), pt(d), C = je(d), C.template = r, C.markers = A, d.nodeType === globalThis.Node.TEXT_NODE) {
922
- Mr(d), C.startNode = y.childNodes[0], C.endNode = y.childNodes[y.childNodes.length - 1];
921
+ if (C.hostLayout && l.classList.remove(C.hostLayout), pt(d), C = Se(d), C.template = r, C.markers = A, d.nodeType === globalThis.Node.TEXT_NODE) {
922
+ Er(d), C.startNode = y.childNodes[0], C.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 @@ ${io(a, -1)}`
930
930
  }
931
931
  d.appendChild(y);
932
932
  }
933
- o && pi(d);
933
+ o && vi(d);
934
934
  }
935
- Oi(d, p);
935
+ Ei(d, p);
936
936
  for (const y of C.markers) {
937
937
  const D = v[y.index], A = C.prevArgs && C.prevArgs[y.index];
938
938
  if (!(C.prevArgs && D === A))
@@ -951,7 +951,7 @@ ${io(a, y.index)}`
951
951
  };
952
952
  }
953
953
  const Kt = /* @__PURE__ */ new WeakMap();
954
- function Mi(e, t, n = 200) {
954
+ function ki(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 co({ target: e, detail: t }, n) {
983
983
  }
984
984
  n(o);
985
985
  }
986
- function ki(e, t) {
986
+ function Qi(e, t) {
987
987
  return e.split(".").reverse().reduce((n, o) => n ? { [o]: n } : { [o]: t }, null);
988
988
  }
989
989
  const uo = /* @__PURE__ */ new Map();
990
- function Qi(e, t) {
990
+ function Li(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 Qi(e, t) {
997
997
  throw Error(
998
998
  "For model instance property the second argument must be defined"
999
999
  );
1000
- const o = ei.get(e);
1000
+ const o = ti.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
  co(i, (a) => {
1007
- o.set(e, ki(t, a));
1007
+ o.set(e, Qi(t, a));
1008
1008
  });
1009
1009
  };
1010
1010
  }
@@ -1020,7 +1020,7 @@ function Qi(e, t) {
1020
1020
  }, uo.set(e, n)), n;
1021
1021
  }
1022
1022
  let Tt;
1023
- const Li = globalThis.document && globalThis.document.startViewTransition !== void 0 && function(t) {
1023
+ const zi = globalThis.document && globalThis.document.startViewTransition !== void 0 && function(t) {
1024
1024
  return function n(o, r) {
1025
1025
  if (Tt) {
1026
1026
  console.warn(
@@ -1035,55 +1035,55 @@ const Li = globalThis.document && globalThis.document.startViewTransition !== vo
1035
1035
  })));
1036
1036
  };
1037
1037
  } || // istanbul ignore next
1038
- ((e) => e), zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1038
+ ((e) => e), Ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1039
1039
  __proto__: null,
1040
- resolve: Mi,
1041
- set: Qi,
1042
- transition: Li
1040
+ resolve: ki,
1041
+ set: Li,
1042
+ transition: zi
1043
1043
  }, Symbol.toStringTag, { value: "Module" }));
1044
- function Ri(e) {
1044
+ function ji(e) {
1045
1045
  return this.id = e, this;
1046
1046
  }
1047
- function ji(...e) {
1047
+ function Si(...e) {
1048
1048
  return this.styleSheets = this.styleSheets || [], this.styleSheets.push(...e), this;
1049
1049
  }
1050
- function Si(e, ...t) {
1050
+ function Ii(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 Ii(e) {
1057
+ function Ni(e) {
1058
1058
  return this.plugins = this.plugins || [], this.plugins.push(e), this;
1059
1059
  }
1060
- const Ni = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1060
+ const Xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1061
1061
  __proto__: null,
1062
- css: Si,
1063
- key: Ri,
1064
- style: ji,
1065
- use: Ii
1066
- }, Symbol.toStringTag, { value: "Module" })), Xi = Fe(), Fi = Fe("layout"), fo = /* @__PURE__ */ new Map();
1067
- function qi(e, t, n, o) {
1062
+ css: Ii,
1063
+ key: ji,
1064
+ style: Si,
1065
+ use: Ni
1066
+ }, Symbol.toStringTag, { value: "Module" })), Fi = qe(), qi = qe("layout"), fo = /* @__PURE__ */ new Map();
1067
+ function Gi(e, t, n, o) {
1068
1068
  function r(i, a = i) {
1069
- let s = e.join(Xi);
1069
+ let s = e.join(Fi);
1070
1070
  const c = r.useLayout;
1071
- c && (s += Fi);
1071
+ c && (s += qi);
1072
1072
  let h = fo.get(s);
1073
- h || (h = Ei(e, n, o, c), fo.set(s, h)), r.plugins ? r.plugins.reduce(
1073
+ h || (h = Mi(e, n, o, c), fo.set(s, h)), r.plugins ? r.plugins.reduce(
1074
1074
  (g, f) => f(g),
1075
1075
  () => h(i, a, t, r)
1076
1076
  )(i, a) : h(i, a, t, r);
1077
1077
  }
1078
- return Object.assign(r, Ni);
1078
+ return Object.assign(r, Xi);
1079
1079
  }
1080
1080
  function R(e, ...t) {
1081
- return qi(e, t, !1, !1);
1081
+ return Gi(e, t, !1, !1);
1082
1082
  }
1083
- Object.freeze(Object.assign(R, zi));
1083
+ Object.freeze(Object.assign(R, Ri));
1084
1084
  const Et = /* @__PURE__ */ new Map(), go = /* @__PURE__ */ new Map();
1085
- let Gi = null;
1086
- const Ui = (() => {
1085
+ let Ui = null;
1086
+ const Ki = (() => {
1087
1087
  let e;
1088
1088
  try {
1089
1089
  e = globalThis.navigator.languages || [globalThis.navigator.language];
@@ -1095,17 +1095,17 @@ const Ui = (() => {
1095
1095
  return t.add(n), n !== o && t.add(o), t;
1096
1096
  }, /* @__PURE__ */ new Set());
1097
1097
  })();
1098
- function Ki() {
1098
+ function Vi() {
1099
1099
  return Et.size;
1100
1100
  }
1101
1101
  const ho = /* @__PURE__ */ new Map();
1102
- function Vi(e, t, n = []) {
1102
+ function Zi(e, t, n = []) {
1103
1103
  e = e.trim().replace(/\s+/g, " "), t = t.trim();
1104
1104
  const o = `${e} | ${t}`;
1105
1105
  let r = go.get(o);
1106
1106
  if (!r) {
1107
1107
  if (Et.size)
1108
- for (const i of Ui) {
1108
+ for (const i of Ki) {
1109
1109
  const a = Et.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 Vi(e, t, n = []) {
1117
1117
  break;
1118
1118
  }
1119
1119
  }
1120
- r || r || (r = e, (Et.size || Gi) && Tn && console.warn(
1120
+ r || r || (r = e, (Et.size || Ui) && Tn && console.warn(
1121
1121
  `Missing translation: "${e}"${t ? ` [${t}]` : ""}`
1122
1122
  )), go.set(o, r);
1123
1123
  }
1124
1124
  return typeof r == "function" ? r(n[0]) : r;
1125
1125
  }
1126
- const jn = `<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>`, kr = `<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
- `, Zi = `<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>`, Vt = "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", po = "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", vo = "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", Yi = "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 Qr(e) {
1126
+ function Mr(e) {
1139
1127
  if (!e) return;
1140
1128
  function t() {
1141
1129
  requestAnimationFrame(() => {
@@ -1146,29 +1134,29 @@ function Qr(e) {
1146
1134
  }
1147
1135
  return window.addEventListener("load", t), () => window.removeEventListener("load", t);
1148
1136
  }
1149
- function Sn() {
1137
+ function jn() {
1150
1138
  return /\/components\//.test(location.pathname);
1151
1139
  }
1152
- function Lr() {
1140
+ function kr() {
1153
1141
  return /\/global-configuration/.test(location.pathname);
1154
1142
  }
1155
- const In = {
1143
+ const Sn = {
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 = Sn() ? "400px" : ""), e.mobileBodyStyle = n;
1149
+ e.platform === "mobile" && (window.innerWidth < 960 ? n.paddingRight = "0px" : n.paddingRight = jn() ? "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 zr(e = () => {
1159
+ function Qr(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 zr(e = () => {
1179
1167
  }, r = new MutationObserver(o);
1180
1168
  return r.observe(t, n), r;
1181
1169
  }
1182
- function ze() {
1170
+ function Lr() {
1183
1171
  return /-en$/.test(location.pathname) ? "en" : "zh";
1184
1172
  }
1185
- function Je(e, t = !0) {
1173
+ function Ee() {
1174
+ return Lr() === "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 Ji = (e) => e.split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join(""), mo = [];
1189
- function Wi() {
1190
- if (ze() === "en") {
1191
- const t = location.pathname.slice(0, -3);
1192
- location.pathname = t;
1179
+ const Yi = (e) => e.split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join(""), po = [];
1180
+ function Ji() {
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 e1(e = Wi) {
1197
- mo.includes(e) || (mo.push(e), document.addEventListener("tdesign_site_lang", e));
1187
+ function e1(e = Ji) {
1188
+ po.includes(e) || (po.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 _i = () => {
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 Wi = "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", vo = "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", Vt = "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", mo = "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", _i = () => {
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 _i = () => {
1232
1223
  },
1233
1224
  {
1234
1225
  name: "React",
1235
- icon: po,
1226
+ icon: vo,
1236
1227
  path: ve("/react/overview"),
1237
1228
  npm: "tdesign-react",
1238
1229
  status: 1
@@ -1240,7 +1231,7 @@ const _i = () => {
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 _i = () => {
1251
1242
  },
1252
1243
  {
1253
1244
  name: "React",
1254
- icon: po,
1245
+ icon: vo,
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: Yi,
1252
+ icon: Wi,
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: vo,
1258
+ name: t ? "WeChat-Miniprogram" : "微信小程序",
1259
+ icon: mo,
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: vo,
1265
+ name: t ? "QQ-Miniprogram" : "QQ 小程序",
1266
+ icon: mo,
1276
1267
  path: ve("/qq-miniprogram/overview"),
1277
1268
  npm: "tdesign-qq-miniprogram",
1278
1269
  status: 2
@@ -1288,14 +1279,25 @@ const _i = () => {
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
- }, $i = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1286
+ }, In = `<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>`, zr = `<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
+ `, $i = `<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>`, ea = `<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
- `, ea = ".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}}", ta = ':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}', na = _i(), { headerList: bo, baseComponentsLinks: ct, baseComponentPrefix: oa } = na;
1300
+ `, ta = ".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}}", na = ':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}', oa = _i(), { headerList: bo, baseComponentsLinks: ct, baseComponentPrefix: ra } = oa;
1299
1301
  function Rt(e, t, n) {
1300
1302
  t.preventDefault(), n.status && (location.href = n.path);
1301
1303
  }
@@ -1309,7 +1311,7 @@ function jt(e) {
1309
1311
  function On(e) {
1310
1312
  return /^https?:/.test(e) ? location.href.includes(e) : location.pathname.includes(e);
1311
1313
  }
1312
- function ra(e) {
1314
+ function ia(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 ra(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="${jn}" onclick="${i}"></i>`}
1333
+ ${o.closeable && R`<i class="TDesign-header-notice__close" innerHTML="${In}" onclick="${i}"></i>`}
1332
1334
  </div>
1333
1335
  `;
1334
1336
  }
1335
- function ia(e, t) {
1337
+ function aa(e, t) {
1336
1338
  return R`
1337
- <td-doc-popup placement="bottom" portalStyle="${ea}">
1339
+ <td-doc-popup placement="bottom" portalStyle="${ta}">
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 Rr(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 aa(e, t, n, o) {
1398
+ function sa(e, t, n, o) {
1397
1399
  const r = R`
1398
1400
  <a class="TDesign-header-nav__git" href="${Rr(n, o)}" id="${n}" target="_blank">
1399
- <span class="TDesign-header-nav__git-icon" innerHTML="${Zi}"></span>
1401
+ <span class="TDesign-header-nav__git-icon" innerHTML="${$i}"></span>
1400
1402
  </a>
1401
1403
  `;
1402
1404
  function i() {
1403
- const h = ze() === "zh" ? "en" : "zh";
1404
- document.dispatchEvent(new CustomEvent("tdesign_site_lang", { detail: h }));
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="${$i}"></span>
1410
+ <span class="TDesign-header-nav__translate-icon" innerHTML="${ea}"></span>
1409
1411
  </div>
1410
1412
  `, s = () => {
1411
1413
  const [, c] = location.pathname.split("/");
1412
- return oa.includes(c);
1414
+ return ra.includes(c);
1413
1415
  };
1414
1416
  return t.map((c) => {
1415
1417
  if (c.type === "base") {
1416
1418
  const h = R`
1417
1419
  <span class="TDesign-header-nav__link ${s() ? "active" : ""}">
1418
- ${c.name} <i class="icon" innerHTML="${kr}"></i>
1420
+ ${c.name} <i class="icon" innerHTML="${zr}"></i>
1419
1421
  </span>
1420
1422
  `;
1421
- return ia(e, h);
1423
+ return aa(e, h);
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
- ${ra(e)}
1478
+ ${ia(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
- ${aa(e, bo, t, n)}
1498
+ ${sa(e, bo, 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`${ta}`;
1504
+ `.css`${na}`;
1503
1505
  }
1504
1506
  });
1505
- const sa = ".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)}", la = ".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}", ca = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1507
+ const la = ".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)}", ca = ".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}", da = `<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 sa = ".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 da({ headerList: e, baseComponentsLinks: t, platform: n, framework: o }) {
1515
+ function ua({ headerList: e, baseComponentsLinks: t, platform: n, framework: o }) {
1514
1516
  const r = R`
1515
1517
  <a class="link" href="${Rr(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="${la}" trigger-type="click">
1569
- <div class="collapse-icon" innerHTML="${ca}"></div>
1570
+ <td-doc-popup portalStyle="${ca}" trigger-type="click">
1571
+ <div class="collapse-icon" innerHTML="${da}"></div>
1570
1572
  <div slot="content" class="TDesign-collapse-menu__list">
1571
- ${da(e)} ${e.disabledTheme ? R`` : R`<td-theme-tabs></td-theme-tabs>`}
1573
+ ${ua(e)} ${e.disabledTheme ? R`` : R`<td-theme-tabs></td-theme-tabs>`}
1572
1574
  </div>
1573
1575
  </td-doc-popup>
1574
1576
  </div>
1575
- `.css`${sa}`
1577
+ `.css`${la}`
1576
1578
  });
1577
- const ua = `<svg width="122" height="32" viewBox="0 0 122 32" fill="none" xmlns="http://www.w3.org/2000/svg">
1579
+ const fa = `<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 ua = `<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>`, fa = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1637
+ </svg>`, ga = `<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 ua = `<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
- `, ga = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1648
+ `, ha = `<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
- `, ha = "https://cdc.cdn-go.cn/tdc/latest/menu.json", pa = "https://cdc.cdn-go.cn/tdc/latest/menu.woa.json", va = "https://cdc.cdn-go.cn/tdc/latest/images", ma = ".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)}", ba = ".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)}", Ca = ze() === "en";
1651
+ `, pa = "https://cdc.cdn-go.cn/tdc/latest/menu.json", va = "https://cdc.cdn-go.cn/tdc/latest/menu.woa.json", ma = "https://cdc.cdn-go.cn/tdc/latest/images", ba = ".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)}", Ca = ".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 wa(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="${va}/${t.key}.svg" />
1656
+ <img class="icon" src="${ma}/${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 ya(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="${ga}"></i>
1671
+ ${n.category_title} <i innerHTML="${ha}"></i>
1670
1672
  </a>
1671
1673
  ` : R` <span class="title"> ${n.category_title} </span> `}
1672
1674
  ${wa(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() ? pa : ha;
1688
+ const t = Xe() ? va : pa;
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
- ${ma}
1700
+ ${ba}
1699
1701
  </style>
1700
1702
 
1701
1703
  <div class="TDesign-header-logo">
1702
- <td-doc-popup portalStyle="${ba}" placement="bottom-start">
1703
- <div class="TDesign-header-logo__menu" innerHTML=${fa}></div>
1704
+ <td-doc-popup portalStyle="${Ca}" placement="bottom-start">
1705
+ <div class="TDesign-header-logo__menu" innerHTML=${ga}></div>
1704
1706
  <div slot="content" class="TDesign-header-logo__content">${ya(e)}</div>
1705
1707
  </td-doc-popup>
1706
1708
  <span class="divider"></span>
1707
- <a class="home" href="${Ca ? "/index-en" : "/"}" title="TDesign" innerHTML=${ua}></a>
1709
+ <a class="home" href="${Ee() ? "/index-en" : "/"}" title="TDesign" innerHTML=${fa}></a>
1708
1710
  </div>
1709
1711
  `
1710
1712
  });
@@ -1899,10 +1901,10 @@ ie({
1899
1901
  get: (e, t) => t || "light",
1900
1902
  set: (e, t) => (t && (localStorage.setItem("--tdesign-theme", t), window.dispatchEvent(za)), t),
1901
1903
  connect: (e, t, n) => {
1902
- const o = localStorage.getItem("--tdesign-theme");
1903
- o && (document.documentElement.removeAttribute("theme-mode"), Object.assign(e, { [t]: o }), document.documentElement.setAttribute("theme-mode", o), n());
1904
- const r = zr((i) => Object.assign(e, { [t]: i }));
1905
- return () => r.disconnect();
1904
+ const o = localStorage.getItem("--tdesign-theme"), r = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", i = o || r;
1905
+ document.documentElement.setAttribute("theme-mode", i), Object.assign(e, { [t]: i }), n();
1906
+ const a = Qr((s) => Object.assign(e, { [t]: s }));
1907
+ return () => a.disconnect();
1906
1908
  }
1907
1909
  },
1908
1910
  blockStyleMap: {
@@ -2193,7 +2195,7 @@ ie({
2193
2195
  patchDom: {
2194
2196
  get: (e, t) => t || !1,
2195
2197
  set: (e, t) => t,
2196
- connect: Qr
2198
+ connect: Mr
2197
2199
  },
2198
2200
  updateNotice: {
2199
2201
  get: (e, t) => t || {},
@@ -2958,7 +2960,7 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
2958
2960
  fe && !N && m.getElementsByClassName ? _ ? m.getElementsByClassName(q) : m.getElementsByTagName(E) : m.querySelectorAll(E)
2959
2961
  );
2960
2962
  };
2961
- function Me(m, E) {
2963
+ function ke(m, E) {
2962
2964
  return E == null ? a(m) : a(m).filter(E);
2963
2965
  }
2964
2966
  a.contains = b.documentElement.contains ? function(m, E) {
@@ -2971,7 +2973,7 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
2971
2973
  function pe(m, E, Q, N) {
2972
2974
  return G(E) ? E.call(m, Q, N) : E;
2973
2975
  }
2974
- function Ie(m, E, Q) {
2976
+ function Ne(m, E, Q) {
2975
2977
  Q == null ? m.removeAttribute(E) : m.setAttribute(E, Q);
2976
2978
  }
2977
2979
  function ye(m, E) {
@@ -3151,13 +3153,13 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
3151
3153
  if ((N = N.parentNode) && !K(N) && E.indexOf(N) < 0)
3152
3154
  return E.push(N), N;
3153
3155
  });
3154
- return Me(E, m);
3156
+ return ke(E, m);
3155
3157
  },
3156
3158
  parent: function(m) {
3157
- return Me(S(this.pluck("parentNode")), m);
3159
+ return ke(S(this.pluck("parentNode")), m);
3158
3160
  },
3159
3161
  children: function(m) {
3160
- return Me(
3162
+ return ke(
3161
3163
  this.map(function() {
3162
3164
  return ce(this);
3163
3165
  }),
@@ -3170,7 +3172,7 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
3170
3172
  });
3171
3173
  },
3172
3174
  siblings: function(m) {
3173
- return Me(
3175
+ return ke(
3174
3176
  this.map(function(E, Q) {
3175
3177
  return g.call(ce(Q.parentNode), function(N) {
3176
3178
  return N !== Q;
@@ -3269,9 +3271,9 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
3269
3271
  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) {
3270
3272
  if (this.nodeType === 1)
3271
3273
  if (oe(m))
3272
- for (i in m) Ie(this, i, m[i]);
3274
+ for (i in m) Ne(this, i, m[i]);
3273
3275
  else
3274
- Ie(
3276
+ Ne(
3275
3277
  this,
3276
3278
  m,
3277
3279
  pe(this, E, N, this.getAttribute(m))
@@ -3281,7 +3283,7 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
3281
3283
  removeAttr: function(m) {
3282
3284
  return this.each(function() {
3283
3285
  this.nodeType === 1 && m.split(" ").forEach(function(E) {
3284
- Ie(this, E);
3286
+ Ne(this, E);
3285
3287
  }, this);
3286
3288
  });
3287
3289
  },
@@ -3445,10 +3447,10 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
3445
3447
  });
3446
3448
  };
3447
3449
  });
3448
- function ke(m, E) {
3450
+ function Qe(m, E) {
3449
3451
  E(m);
3450
3452
  for (var Q = 0, N = m.childNodes.length; Q < N; Q++)
3451
- ke(m.childNodes[Q], E);
3453
+ Qe(m.childNodes[Q], E);
3452
3454
  }
3453
3455
  return A.forEach(function(m, E) {
3454
3456
  var Q = E % 2;
@@ -3471,7 +3473,7 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
3471
3473
  _.forEach(function(J) {
3472
3474
  if (fe) J = J.cloneNode(!0);
3473
3475
  else if (!q) return a(J).remove();
3474
- q.insertBefore(J, I), X && ke(J, function($) {
3476
+ q.insertBefore(J, I), X && Qe(J, function($) {
3475
3477
  if ($.nodeName != null && $.nodeName.toUpperCase() === "SCRIPT" && (!$.type || $.type === "text/javascript") && !$.src) {
3476
3478
  var te = $.ownerDocument ? $.ownerDocument.defaultView : n;
3477
3479
  te.eval.call(te, $.innerHTML);
@@ -5535,17 +5537,17 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
5535
5537
  }
5536
5538
  }
5537
5539
  function Ce(L, I, X, J) {
5538
- var $ = a(X), te = void 0, ge = void 0, Ke = void 0, xt = void 0;
5540
+ var $ = a(X), te = void 0, ge = void 0, Ve = void 0, xt = void 0;
5539
5541
  if ($) {
5540
- if (te = he(X, J), te === U ? (xt = !0, ge = te.error, te.error = null) : Ke = !0, I === te) {
5542
+ if (te = he(X, J), te === U ? (xt = !0, ge = te.error, te.error = null) : Ve = !0, I === te) {
5541
5543
  ne(I, W());
5542
5544
  return;
5543
5545
  }
5544
5546
  } else
5545
- te = J, Ke = !0;
5546
- I._state !== z || ($ && Ke ? ee(I, te) : xt ? ne(I, ge) : L === F ? se(I, te) : L === Z && ne(I, te));
5547
+ te = J, Ve = !0;
5548
+ I._state !== z || ($ && Ve ? ee(I, te) : xt ? ne(I, ge) : L === F ? se(I, te) : L === Z && ne(I, te));
5547
5549
  }
5548
- function Me(L, I) {
5550
+ function ke(L, I) {
5549
5551
  try {
5550
5552
  I(
5551
5553
  function(J) {
@@ -5560,7 +5562,7 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
5560
5562
  }
5561
5563
  }
5562
5564
  var pe = 0;
5563
- function Ie() {
5565
+ function Ne() {
5564
5566
  return pe++;
5565
5567
  }
5566
5568
  function ye(L) {
@@ -5569,7 +5571,7 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
5569
5571
  function xe() {
5570
5572
  return new Error("Array Methods must be provided an Array");
5571
5573
  }
5572
- var ke = function() {
5574
+ var Qe = function() {
5573
5575
  function L(I, X) {
5574
5576
  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());
5575
5577
  }
@@ -5585,8 +5587,8 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
5585
5587
  else if (typeof ge != "function")
5586
5588
  this._remaining--, this._result[J] = X;
5587
5589
  else if ($ === q) {
5588
- var Ke = new $(S);
5589
- V(Ke, X, ge), this._willSettleAt(Ke, J);
5590
+ var Ve = new $(S);
5591
+ V(Ve, X, ge), this._willSettleAt(Ve, J);
5590
5592
  } else
5591
5593
  this._willSettleAt(
5592
5594
  new $(function(xt) {
@@ -5614,7 +5616,7 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
5614
5616
  }, L;
5615
5617
  }();
5616
5618
  function m(L) {
5617
- return new ke(this, L).promise;
5619
+ return new Qe(this, L).promise;
5618
5620
  }
5619
5621
  function E(L) {
5620
5622
  var I = this;
@@ -5641,7 +5643,7 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
5641
5643
  }
5642
5644
  var q = function() {
5643
5645
  function L(I) {
5644
- this[j] = Ie(), this._result = this._state = void 0, this._subscribers = [], S !== I && (typeof I != "function" && N(), this instanceof L ? Me(this, I) : _());
5646
+ this[j] = Ne(), this._result = this._state = void 0, this._subscribers = [], S !== I && (typeof I != "function" && N(), this instanceof L ? ke(this, I) : _());
5645
5647
  }
5646
5648
  return L.prototype.catch = function(X) {
5647
5649
  return this.then(null, X);
@@ -7012,8 +7014,8 @@ const Za = ".TDesign-doc-search{position:relative;width:200px;height:32px;box-si
7012
7014
  }
7013
7015
  ]);
7014
7016
  });
7015
- const Ja = `.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}`, Wa = ze() === "en";
7016
- function _a(e) {
7017
+ const Ja = `.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}`;
7018
+ function Wa(e) {
7017
7019
  if (!e.indexName) return;
7018
7020
  const t = Object.assign(
7019
7021
  {
@@ -7037,14 +7039,14 @@ ie({
7037
7039
  <style>${Za}</style>
7038
7040
  <style>${Ja}</style>
7039
7041
  <div class="TDesign-doc-search">
7040
- <input id="TDSearch" class="TDesign-doc-search__inner" placeholder="${Wa ? "Search" : "搜索"}" type="text" />
7042
+ <input id="TDSearch" class="TDesign-doc-search__inner" placeholder="${Ee() ? "Search" : "搜索"}" type="text" />
7041
7043
  <span class="TDesign-doc-search__icon">${Ya}</span>
7042
7044
  </div>
7043
7045
  `;
7044
7046
  Object.assign(e, { innerHTML: t });
7045
7047
  },
7046
7048
  observe(e, t) {
7047
- _a(t);
7049
+ Wa(t);
7048
7050
  }
7049
7051
  },
7050
7052
  render: () => R`
@@ -7054,7 +7056,7 @@ ie({
7054
7056
  `
7055
7057
  });
7056
7058
  const Xn = () => {
7057
- const e = ze();
7059
+ const e = Lr();
7058
7060
  return {
7059
7061
  zh: {
7060
7062
  changelog: {
@@ -7079,54 +7081,66 @@ const Xn = () => {
7079
7081
  }
7080
7082
  }
7081
7083
  }[e];
7082
- }, $a = '.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)}}';
7083
- let Zt = null;
7084
- const We = "TDesign-doc-changelog", Qe = `${We}__logs`, jr = Xn(), es = ["tencent.com", "woa.com"], ts = {
7084
+ }, _a = '.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)}}', Zt = /* @__PURE__ */ new Map(), We = "TDesign-doc-changelog", ze = `${We}__logs`, jr = Xn(), $a = ["tencent.com", "woa.com"], es = "https://static.tdesign.tencent.com", ts = {
7085
7085
  qrcode: "QRCode"
7086
7086
  };
7087
+ function Sr() {
7088
+ const { pathname: e, hostname: t, origin: n } = window.location, o = e.split("/").filter(Boolean), r = o[0], i = $a.some((a) => t.includes(a));
7089
+ return {
7090
+ origin: n,
7091
+ segments: o,
7092
+ framework: r,
7093
+ isOfficial: i
7094
+ };
7095
+ }
7087
7096
  function ns() {
7088
- const t = window.location.href.split("/")[3], n = es.some((o) => location.hostname.includes(o));
7089
- return `${location.origin}${n ? `/${t}` : ""}`;
7097
+ const { isOfficial: e, framework: t, origin: n } = Sr();
7098
+ return e ? `${es}/${t}` : n;
7090
7099
  }
7091
7100
  function os() {
7092
- if (Sn()) {
7093
- let t = window.location.pathname.split("/")[3] || "";
7094
- return t.endsWith("-en") && (t = t.slice(0, -3)), ts[t] || Ji(t);
7095
- } else if (Lr())
7101
+ const { segments: e } = Sr();
7102
+ if (jn()) {
7103
+ let t = e[2] || "";
7104
+ return t.endsWith("-en") && (t = t.slice(0, -3)), ts[t] || Yi(t);
7105
+ }
7106
+ if (kr())
7096
7107
  return "ConfigProvider";
7097
7108
  }
7098
7109
  async function rs(e) {
7099
- var n, o, r;
7100
- const t = os();
7110
+ var r, i, a, s;
7111
+ const t = os(), n = Ee() && e.changelogEn ? "changelog.en-US.json" : "changelog.json", o = `${ns()}/${n}`;
7101
7112
  try {
7102
- Zt || (Zt = await (await fetch(`${ns()}/changelog.json`)).json());
7103
- const i = (n = e.shadowRoot) == null ? void 0 : n.querySelector(`.${Qe}__loading`);
7104
- i == null || i.remove();
7105
- const a = (o = e.shadowRoot) == null ? void 0 : o.querySelector(`.${We}__drawer-body`);
7106
- a && (a.scrollTop = 0);
7107
- const s = Zt[t], c = (r = e.shadowRoot) == null ? void 0 : r.querySelector(`.${Qe}`);
7108
- c && (c.innerHTML = is(s));
7109
- } catch (i) {
7110
- console.error("Failed to load changelog:", i);
7113
+ if (!Zt.has(n)) {
7114
+ const w = await (await fetch(o)).json();
7115
+ Zt.set(n, w);
7116
+ }
7117
+ const c = Zt.get(n);
7118
+ (i = (r = e.shadowRoot) == null ? void 0 : r.querySelector(`.${ze}__loading`)) == null || i.remove();
7119
+ const h = (a = e.shadowRoot) == null ? void 0 : a.querySelector(`.${We}__drawer-body`);
7120
+ h && (h.scrollTop = 0);
7121
+ const g = c == null ? void 0 : c[t], f = (s = e.shadowRoot) == null ? void 0 : s.querySelector(`.${ze}`);
7122
+ f && (f.innerHTML = is(g));
7123
+ } catch (c) {
7124
+ console.error("Failed to load changelog:", c);
7111
7125
  }
7112
7126
  }
7113
7127
  function is(e) {
7114
7128
  return Array.isArray(e) ? e.map((t) => {
7115
7129
  const n = Object.keys(t).filter((o) => Array.isArray(t[o])).map((o) => as(o, t[o])).join("");
7116
7130
  return `
7117
- <div class="${Qe}-version">
7118
- <h2 class="${Qe}-version-header">
7131
+ <div class="${ze}-version">
7132
+ <h2 class="${ze}-version-header">
7119
7133
  <span>🌈 ${t.version}</span>
7120
7134
  <code>${t.date}</code>
7121
7135
  </h2>
7122
7136
  ${n}
7123
7137
  </div>
7124
7138
  `;
7125
- }).join("") : `<div class="${Qe}-empty">${jr.changelog.emptyInfo}</div>`;
7139
+ }).join("") : `<div class="${ze}-empty">${jr.changelog.emptyInfo}</div>`;
7126
7140
  }
7127
7141
  function as(e, t) {
7128
7142
  return t ? `
7129
- <div class="${Qe}-version-section">
7143
+ <div class="${ze}-version-section">
7130
7144
  <h3>${e}</h3>
7131
7145
  <ul>
7132
7146
  ${t.map((n) => ss(n)).join("")}
@@ -7149,6 +7163,10 @@ function Ho(e) {
7149
7163
  }
7150
7164
  ie({
7151
7165
  tag: "td-doc-changelog",
7166
+ changelogEn: {
7167
+ get: (e, t) => Le(t, !1),
7168
+ set: (e, t) => t
7169
+ },
7152
7170
  visible: {
7153
7171
  value: !1,
7154
7172
  observe: (e, t) => {
@@ -7165,27 +7183,26 @@ ie({
7165
7183
  <div class="${We}__drawer">
7166
7184
  <div class="${We}__drawer-header">
7167
7185
  <p>${jr.changelog.title}</p>
7168
- <button onclick="${t}" innerHTML="${jn}"></button>
7186
+ <button onclick="${t}" innerHTML="${In}"></button>
7169
7187
  </div>
7170
7188
  <div class="${We}__drawer-body">
7171
- <div class="${Qe}__loading">
7189
+ <div class="${ze}__loading">
7172
7190
  <svg
7173
- class="${Qe}__loading-icon"
7191
+ class="${ze}__loading-icon"
7174
7192
  viewBox="0 0 12 12"
7175
- version="1.1"
7176
7193
  width="1em"
7177
7194
  height="1em"
7178
7195
  xmlns="http://www.w3.org/2000/svg"
7179
7196
  ></svg>
7180
7197
  </div>
7181
- <div class="${Qe}"></div>
7198
+ <div class="${ze}"></div>
7182
7199
  </div>
7183
7200
  </div>
7184
7201
  </div>
7185
- `.css`${$a}`;
7202
+ `.css`${_a}`;
7186
7203
  }
7187
7204
  });
7188
- const ls = ".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)}", cs = 228, Sr = ['div[name="DEMO"]', 'div[name="API"]', 'div[name="DESIGN"]', 'div[name="DOC"]'];
7205
+ const ls = ".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)}", cs = 228, Ir = ['div[name="DEMO"]', 'div[name="API"]', 'div[name="DESIGN"]', 'div[name="DOC"]'];
7189
7206
  function ds() {
7190
7207
  function e(n) {
7191
7208
  return n.map((r) => {
@@ -7206,7 +7223,7 @@ function ds() {
7206
7223
  break;
7207
7224
  }
7208
7225
  }
7209
- Sr.forEach((n) => {
7226
+ Ir.forEach((n) => {
7210
7227
  const o = document.querySelector(n);
7211
7228
  if (!o) return;
7212
7229
  const r = Array.from(o.querySelectorAll(".tdesign-toc_list_item_a")) || [], i = e(r);
@@ -7217,7 +7234,7 @@ ie({
7217
7234
  tag: "td-doc-content",
7218
7235
  platform: "web",
7219
7236
  pageStatus: "show",
7220
- mobileBodyStyle: In,
7237
+ mobileBodyStyle: Sn,
7221
7238
  fixedAnchor: {
7222
7239
  get: (e, t) => t || void 0,
7223
7240
  set: (e, t) => t,
@@ -7244,7 +7261,7 @@ ie({
7244
7261
  }
7245
7262
  function n() {
7246
7263
  const r = new MutationObserver(() => {
7247
- for (const i of Sr)
7264
+ for (const i of Ir)
7248
7265
  if (document.querySelector(i)) {
7249
7266
  r.disconnect(), o();
7250
7267
  break;
@@ -7308,7 +7325,7 @@ const ue = "https://tdesign.gtimg.com/site", Mn = {
7308
7325
  "design-icon-dark": `${ue}/spline/design/icon_dark/index.html`,
7309
7326
  "design-font": `${ue}/spline/design/font_light/index.html`,
7310
7327
  "design-font-dark": `${ue}/spline/design/font_dark/index.html`
7311
- }, Ir = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
7328
+ }, Nr = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
7312
7329
  <path
7313
7330
  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"
7314
7331
  fill="currentColor" />
@@ -7351,7 +7368,7 @@ ie({
7351
7368
  get: (e, t) => t || "",
7352
7369
  set: (e, t) => t,
7353
7370
  connect: (e) => {
7354
- const t = zr((n) => Bo(n, e));
7371
+ const t = Qr((n) => Bo(n, e));
7355
7372
  return () => t.disconnect();
7356
7373
  },
7357
7374
  observe: (e) => {
@@ -7364,10 +7381,14 @@ ie({
7364
7381
  },
7365
7382
  platform: "web",
7366
7383
  changelog: {
7367
- get: (e, t) => Je(t, !0),
7368
- set: (e, t) => Je(t, !0)
7384
+ get: (e, t) => Le(t, !0),
7385
+ set: (e, t) => Le(t, !0)
7369
7386
  },
7370
- mobileBodyStyle: In,
7387
+ changelogEn: {
7388
+ get: (e, t) => Le(t, !0),
7389
+ set: (e, t) => Le(t, !0)
7390
+ },
7391
+ mobileBodyStyle: Sn,
7371
7392
  shouldShowPopup: {
7372
7393
  get: (e, t) => t || !1,
7373
7394
  set: (e, t) => t
@@ -7425,31 +7446,31 @@ ie({
7425
7446
  }
7426
7447
  },
7427
7448
  showIssue: {
7428
- get: (e, t) => Je(t, !0),
7429
- set: (e, t) => Je(t, !0)
7449
+ get: (e, t) => Le(t, !0),
7450
+ set: (e, t) => Le(t, !0)
7430
7451
  },
7431
7452
  render: (e) => {
7432
- const { changelog: t, docInfo: n, spline: o, showIssue: r } = e, i = { ...e.mobileBodyStyle }, a = Mn[o], s = customElements.get("td-doc-changelog"), c = () => {
7433
- let h = document.querySelector("td-doc-changelog");
7434
- h || (h = document.createElement("td-doc-changelog"), document.body.appendChild(h)), requestAnimationFrame(() => {
7435
- h.visible = !0;
7453
+ const { changelog: t, changelogEn: n, docInfo: o, spline: r, showIssue: i } = e, a = { ...e.mobileBodyStyle }, s = Mn[r], c = customElements.get("td-doc-changelog"), h = () => {
7454
+ let g = document.querySelector("td-doc-changelog");
7455
+ g || (g = document.createElement("td-doc-changelog"), g.changelogEn = n, document.body.appendChild(g)), requestAnimationFrame(() => {
7456
+ g.visible = !0;
7436
7457
  });
7437
7458
  };
7438
7459
  return R`
7439
- ${a ? R` <iframe id="__iframe__" class="TDesign-doc-header__thumb" onload="${gs}"></iframe>` : R``}
7440
- <div class="TDesign-doc-header" style="${i}">
7460
+ ${s ? R` <iframe id="__iframe__" class="TDesign-doc-header__thumb" onload="${gs}"></iframe>` : R``}
7461
+ <div class="TDesign-doc-header" style="${a}">
7441
7462
  <div class="TDesign-doc-header__inner">
7442
7463
  <div class="TDesign-doc-header__badge">
7443
7464
  <slot name="badge"></slot>
7444
7465
  </div>
7445
7466
  <div class="TDesign-doc-header__content">
7446
7467
  <div class="TDesign-doc-header__info">
7447
- ${n ? R`
7468
+ ${o ? R`
7448
7469
  <div>
7449
- <h1 class="TDesign-doc-header__info-title">${n.title}</h1>
7450
- ${t && s && (Sn() || Lr()) ? R`
7451
- <button id="TDesign-doc-changelog__entry" onclick="${c}">
7452
- <i innerHTML="${Ir}"></i>
7470
+ <h1 class="TDesign-doc-header__info-title">${o.title}</h1>
7471
+ ${t && c && (jn() || kr()) ? R`
7472
+ <button id="TDesign-doc-changelog__entry" onclick="${h}">
7473
+ <i innerHTML="${Nr}"></i>
7453
7474
  <span>${fs.changelog.title}</span>
7454
7475
  </button>
7455
7476
  ` : R``}
@@ -7457,11 +7478,11 @@ ie({
7457
7478
  <div class="TDesign-doc-header__info-describe">
7458
7479
  ${e.shouldShowPopup ? R`
7459
7480
  <td-doc-popup placement="top-end" equal-width="true">
7460
- <div class="TDesign-doc-header__info-describe-line" innerHTML="${n.desc}"></div>
7461
- <div slot="content" innerHTML="${n.desc}"></div>
7481
+ <div class="TDesign-doc-header__info-describe-line" innerHTML="${o.desc}"></div>
7482
+ <div slot="content" innerHTML="${o.desc}"></div>
7462
7483
  </td-doc-popup>
7463
7484
  ` : R`
7464
- <div class="TDesign-doc-header__info-describe-line" innerHTML="${n.desc}"></div>
7485
+ <div class="TDesign-doc-header__info-describe-line" innerHTML="${o.desc}"></div>
7465
7486
  `}
7466
7487
  </div>
7467
7488
  ` : R``}
@@ -7470,7 +7491,7 @@ ie({
7470
7491
  </div>
7471
7492
  </div>
7472
7493
  <div class="TDesign-doc-header__background"></div>
7473
- ${r ? R`<td-doc-issue />` : R``}
7494
+ ${i ? R`<td-doc-issue />` : R``}
7474
7495
  `.css`${us}`;
7475
7496
  }
7476
7497
  });
@@ -7570,29 +7591,29 @@ ie({
7570
7591
  render: (e) => R`${Cs(e)}`.css`${hs}`
7571
7592
  });
7572
7593
  const ys = () => {
7573
- const t = ze() === "en";
7594
+ const e = Ee();
7574
7595
  return [
7575
7596
  {
7576
- title: t ? "Resource" : "资源",
7597
+ title: e ? "Resource" : "资源",
7577
7598
  links: [
7578
- { name: t ? "Design Resource" : "设计资源", url: ve("/source"), target: "_self" },
7599
+ { name: e ? "Design Resource" : "设计资源", url: ve("/source"), target: "_self" },
7579
7600
  { name: "TDesign Starter", url: ve("https://tdesign.tencent.com/starter/"), target: "_self" }
7580
7601
  ]
7581
7602
  },
7582
7603
  {
7583
- title: t ? "Tencent Design" : "腾讯设计",
7604
+ title: e ? "Tencent Design" : "腾讯设计",
7584
7605
  links: [
7585
7606
  { name: "CoDesign", url: "https://codesign.qq.com/", target: "_blank" },
7586
- { name: "TDesign", url: `https://tdesign.${Ne() ? "woa" : "tencent"}.com`, target: "_self" },
7587
- Ne() ? { name: "TVision", url: "https://tvision.woa.com/", target: "_blank" } : null,
7588
- Ne() ? { name: "TEditor", url: "https://teditor.woa.com/", target: "_blank" } : null
7589
- ].filter((o) => o)
7607
+ { name: "TDesign", url: `https://tdesign.${Xe() ? "woa" : "tencent"}.com`, target: "_self" },
7608
+ Xe() ? { name: "TVision", url: "https://tvision.woa.com/", target: "_blank" } : null,
7609
+ Xe() ? { name: "TEditor", url: "https://teditor.woa.com/", target: "_blank" } : null
7610
+ ].filter((n) => n)
7590
7611
  },
7591
7612
  {
7592
- title: t ? "About" : "关于",
7613
+ title: e ? "About" : "关于",
7593
7614
  links: [
7594
- { name: t ? "About us" : "关于我们", url: ve("/about/introduce"), target: "_self" },
7595
- { name: t ? "Contact us" : "联系我们", url: ve("/about/contact"), target: "_self" }
7615
+ { name: e ? "About us" : "关于我们", url: ve("/about/introduce"), target: "_self" },
7616
+ { name: e ? "Contact us" : "联系我们", url: ve("/about/contact"), target: "_self" }
7596
7617
  ]
7597
7618
  }
7598
7619
  ];
@@ -7793,13 +7814,13 @@ const ys = () => {
7793
7814
  };
7794
7815
  ie({
7795
7816
  tag: "td-doc-footer",
7796
- mobileBodyStyle: In,
7817
+ mobileBodyStyle: Sn,
7797
7818
  platform: "web",
7798
7819
  displayQrCode: "",
7799
7820
  patchDom: {
7800
7821
  get: (e, t) => t || !1,
7801
7822
  set: (e, t) => t,
7802
- connect: Qr
7823
+ connect: Mr
7803
7824
  },
7804
7825
  render: (e) => {
7805
7826
  const t = { ...e.mobileBodyStyle }, { displayQrCode: n } = e, o = (r) => {
@@ -7886,12 +7907,12 @@ ie({
7886
7907
  `.css`${Ls}`;
7887
7908
  }
7888
7909
  });
7889
- var me = "top", He = "bottom", Pe = "right", be = "left", Fn = "auto", wt = [me, He, Pe, be], _e = "start", mt = "end", Is = "clippingParents", Nr = "viewport", at = "popper", Ns = "reference", Mo = /* @__PURE__ */ wt.reduce(function(e, t) {
7910
+ var me = "top", He = "bottom", Pe = "right", be = "left", Fn = "auto", wt = [me, He, Pe, be], _e = "start", mt = "end", Is = "clippingParents", Xr = "viewport", at = "popper", Ns = "reference", Mo = /* @__PURE__ */ wt.reduce(function(e, t) {
7890
7911
  return e.concat([t + "-" + _e, t + "-" + mt]);
7891
- }, []), Xr = /* @__PURE__ */ [].concat(wt, [Fn]).reduce(function(e, t) {
7912
+ }, []), Fr = /* @__PURE__ */ [].concat(wt, [Fn]).reduce(function(e, t) {
7892
7913
  return e.concat([t, t + "-" + _e, t + "-" + mt]);
7893
7914
  }, []), Xs = "beforeRead", Fs = "read", qs = "afterRead", Gs = "beforeMain", Us = "main", Ks = "afterMain", Vs = "beforeWrite", Zs = "write", Ys = "afterWrite", Js = [Xs, Fs, qs, Gs, Us, Ks, Vs, Zs, Ys];
7894
- function Ee(e) {
7915
+ function Me(e) {
7895
7916
  return e ? (e.nodeName || "").toLowerCase() : null;
7896
7917
  }
7897
7918
  function we(e) {
@@ -7903,7 +7924,7 @@ function we(e) {
7903
7924
  }
7904
7925
  return e;
7905
7926
  }
7906
- function qe(e) {
7927
+ function Ge(e) {
7907
7928
  var t = we(e).Element;
7908
7929
  return e instanceof t || e instanceof Element;
7909
7930
  }
@@ -7921,7 +7942,7 @@ function Ws(e) {
7921
7942
  var t = e.state;
7922
7943
  Object.keys(t.elements).forEach(function(n) {
7923
7944
  var o = t.styles[n] || {}, r = t.attributes[n] || {}, i = t.elements[n];
7924
- !De(i) || !Ee(i) || (Object.assign(i.style, o), Object.keys(r).forEach(function(a) {
7945
+ !De(i) || !Me(i) || (Object.assign(i.style, o), Object.keys(r).forEach(function(a) {
7925
7946
  var s = r[a];
7926
7947
  s === !1 ? i.removeAttribute(a) : i.setAttribute(a, s === !0 ? "" : s);
7927
7948
  }));
@@ -7945,7 +7966,7 @@ function _s(e) {
7945
7966
  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, h) {
7946
7967
  return c[h] = "", c;
7947
7968
  }, {});
7948
- !De(r) || !Ee(r) || (Object.assign(r.style, s), Object.keys(i).forEach(function(c) {
7969
+ !De(r) || !Me(r) || (Object.assign(r.style, s), Object.keys(i).forEach(function(c) {
7949
7970
  r.removeAttribute(c);
7950
7971
  }));
7951
7972
  });
@@ -7962,21 +7983,21 @@ const $s = {
7962
7983
  function Oe(e) {
7963
7984
  return e.split("-")[0];
7964
7985
  }
7965
- var Xe = Math.max, It = Math.min, $e = Math.round;
7986
+ var Fe = Math.max, It = Math.min, $e = Math.round;
7966
7987
  function Qn() {
7967
7988
  var e = navigator.userAgentData;
7968
7989
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
7969
7990
  return t.brand + "/" + t.version;
7970
7991
  }).join(" ") : navigator.userAgent;
7971
7992
  }
7972
- function Fr() {
7993
+ function qr() {
7973
7994
  return !/^((?!chrome|android).)*safari/i.test(Qn());
7974
7995
  }
7975
7996
  function et(e, t, n) {
7976
7997
  t === void 0 && (t = !1), n === void 0 && (n = !1);
7977
7998
  var o = e.getBoundingClientRect(), r = 1, i = 1;
7978
7999
  t && De(e) && (r = e.offsetWidth > 0 && $e(o.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && $e(o.height) / e.offsetHeight || 1);
7979
- var a = qe(e) ? we(e) : window, s = a.visualViewport, c = !Fr() && n, h = (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;
8000
+ var a = Ge(e) ? we(e) : window, s = a.visualViewport, c = !qr() && n, h = (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;
7980
8001
  return {
7981
8002
  width: f,
7982
8003
  height: b,
@@ -7997,7 +8018,7 @@ function Gn(e) {
7997
8018
  height: o
7998
8019
  };
7999
8020
  }
8000
- function qr(e, t) {
8021
+ function Gr(e, t) {
8001
8022
  var n = t.getRootNode && t.getRootNode();
8002
8023
  if (e.contains(t))
8003
8024
  return !0;
@@ -8011,20 +8032,20 @@ function qr(e, t) {
8011
8032
  }
8012
8033
  return !1;
8013
8034
  }
8014
- function Le(e) {
8035
+ function Re(e) {
8015
8036
  return we(e).getComputedStyle(e);
8016
8037
  }
8017
8038
  function el(e) {
8018
- return ["table", "td", "th"].indexOf(Ee(e)) >= 0;
8039
+ return ["table", "td", "th"].indexOf(Me(e)) >= 0;
8019
8040
  }
8020
- function Se(e) {
8021
- return ((qe(e) ? e.ownerDocument : (
8041
+ function Ie(e) {
8042
+ return ((Ge(e) ? e.ownerDocument : (
8022
8043
  // $FlowFixMe[prop-missing]
8023
8044
  e.document
8024
8045
  )) || window.document).documentElement;
8025
8046
  }
8026
8047
  function Ft(e) {
8027
- return Ee(e) === "html" ? e : (
8048
+ return Me(e) === "html" ? e : (
8028
8049
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
8029
8050
  // $FlowFixMe[incompatible-return]
8030
8051
  // $FlowFixMe[prop-missing]
@@ -8032,23 +8053,23 @@ function Ft(e) {
8032
8053
  e.parentNode || // DOM Element detected
8033
8054
  (qn(e) ? e.host : null) || // ShadowRoot detected
8034
8055
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
8035
- Se(e)
8056
+ Ie(e)
8036
8057
  );
8037
8058
  }
8038
8059
  function ko(e) {
8039
8060
  return !De(e) || // https://github.com/popperjs/popper-core/issues/837
8040
- Le(e).position === "fixed" ? null : e.offsetParent;
8061
+ Re(e).position === "fixed" ? null : e.offsetParent;
8041
8062
  }
8042
8063
  function tl(e) {
8043
8064
  var t = /firefox/i.test(Qn()), n = /Trident/i.test(Qn());
8044
8065
  if (n && De(e)) {
8045
- var o = Le(e);
8066
+ var o = Re(e);
8046
8067
  if (o.position === "fixed")
8047
8068
  return null;
8048
8069
  }
8049
8070
  var r = Ft(e);
8050
- for (qn(r) && (r = r.host); De(r) && ["html", "body"].indexOf(Ee(r)) < 0; ) {
8051
- var i = Le(r);
8071
+ for (qn(r) && (r = r.host); De(r) && ["html", "body"].indexOf(Me(r)) < 0; ) {
8072
+ var i = Re(r);
8052
8073
  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")
8053
8074
  return r;
8054
8075
  r = r.parentNode;
@@ -8056,21 +8077,21 @@ function tl(e) {
8056
8077
  return null;
8057
8078
  }
8058
8079
  function yt(e) {
8059
- for (var t = we(e), n = ko(e); n && el(n) && Le(n).position === "static"; )
8080
+ for (var t = we(e), n = ko(e); n && el(n) && Re(n).position === "static"; )
8060
8081
  n = ko(n);
8061
- return n && (Ee(n) === "html" || Ee(n) === "body" && Le(n).position === "static") ? t : n || tl(e) || t;
8082
+ return n && (Me(n) === "html" || Me(n) === "body" && Re(n).position === "static") ? t : n || tl(e) || t;
8062
8083
  }
8063
8084
  function Un(e) {
8064
8085
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
8065
8086
  }
8066
8087
  function ut(e, t, n) {
8067
- return Xe(e, It(t, n));
8088
+ return Fe(e, It(t, n));
8068
8089
  }
8069
8090
  function nl(e, t, n) {
8070
8091
  var o = ut(e, t, n);
8071
8092
  return o > n ? n : o;
8072
8093
  }
8073
- function Gr() {
8094
+ function Ur() {
8074
8095
  return {
8075
8096
  top: 0,
8076
8097
  right: 0,
@@ -8078,10 +8099,10 @@ function Gr() {
8078
8099
  left: 0
8079
8100
  };
8080
8101
  }
8081
- function Ur(e) {
8082
- return Object.assign({}, Gr(), e);
8102
+ function Kr(e) {
8103
+ return Object.assign({}, Ur(), e);
8083
8104
  }
8084
- function Kr(e, t) {
8105
+ function Vr(e, t) {
8085
8106
  return t.reduce(function(n, o) {
8086
8107
  return n[o] = e, n;
8087
8108
  }, {});
@@ -8089,7 +8110,7 @@ function Kr(e, t) {
8089
8110
  var ol = function(t, n) {
8090
8111
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
8091
8112
  placement: n.placement
8092
- })) : t, Ur(typeof t != "number" ? t : Kr(t, wt));
8113
+ })) : t, Kr(typeof t != "number" ? t : Vr(t, wt));
8093
8114
  };
8094
8115
  function rl(e) {
8095
8116
  var t, n = e.state, o = e.name, r = e.options, i = n.elements.arrow, a = n.modifiersData.popperOffsets, s = Oe(n.placement), c = Un(s), h = [be, Pe].indexOf(s) >= 0, g = h ? "height" : "width";
@@ -8100,7 +8121,7 @@ function rl(e) {
8100
8121
  }
8101
8122
  function il(e) {
8102
8123
  var t = e.state, n = e.options, o = n.element, r = o === void 0 ? "[data-popper-arrow]" : o;
8103
- r != null && (typeof r == "string" && (r = t.elements.popper.querySelector(r), !r) || qr(t.elements.popper, r) && (t.elements.arrow = r));
8124
+ r != null && (typeof r == "string" && (r = t.elements.popper.querySelector(r), !r) || Gr(t.elements.popper, r) && (t.elements.arrow = r));
8104
8125
  }
8105
8126
  const al = {
8106
8127
  name: "arrow",
@@ -8139,7 +8160,7 @@ function Qo(e) {
8139
8160
  var v = a.hasOwnProperty("x"), p = a.hasOwnProperty("y"), C = be, y = me, D = window;
8140
8161
  if (h) {
8141
8162
  var A = yt(n), H = "clientHeight", O = "clientWidth";
8142
- if (A === we(n) && (A = Se(n), Le(A).position !== "static" && s === "absolute" && (H = "scrollHeight", O = "scrollWidth")), A = A, r === me || (r === be || r === Pe) && i === mt) {
8163
+ if (A === we(n) && (A = Ie(n), Re(A).position !== "static" && s === "absolute" && (H = "scrollHeight", O = "scrollWidth")), A = A, r === me || (r === be || r === Pe) && i === mt) {
8143
8164
  y = He;
8144
8165
  var P = f && A === D && D.visualViewport ? D.visualViewport.height : (
8145
8166
  // $FlowFixMe[prop-missing]
@@ -8251,13 +8272,13 @@ function Kn(e) {
8251
8272
  };
8252
8273
  }
8253
8274
  function Vn(e) {
8254
- return et(Se(e)).left + Kn(e).scrollLeft;
8275
+ return et(Ie(e)).left + Kn(e).scrollLeft;
8255
8276
  }
8256
8277
  function pl(e, t) {
8257
- var n = we(e), o = Se(e), r = n.visualViewport, i = o.clientWidth, a = o.clientHeight, s = 0, c = 0;
8278
+ var n = we(e), o = Ie(e), r = n.visualViewport, i = o.clientWidth, a = o.clientHeight, s = 0, c = 0;
8258
8279
  if (r) {
8259
8280
  i = r.width, a = r.height;
8260
- var h = Fr();
8281
+ var h = qr();
8261
8282
  (h || !h && t === "fixed") && (s = r.offsetLeft, c = r.offsetTop);
8262
8283
  }
8263
8284
  return {
@@ -8268,8 +8289,8 @@ function pl(e, t) {
8268
8289
  };
8269
8290
  }
8270
8291
  function vl(e) {
8271
- var t, n = Se(e), o = Kn(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 + Vn(e), c = -o.scrollTop;
8272
- return Le(r || n).direction === "rtl" && (s += Xe(n.clientWidth, r ? r.clientWidth : 0) - i), {
8292
+ var t, n = Ie(e), o = Kn(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 + Vn(e), c = -o.scrollTop;
8293
+ return Re(r || n).direction === "rtl" && (s += Fe(n.clientWidth, r ? r.clientWidth : 0) - i), {
8273
8294
  width: i,
8274
8295
  height: a,
8275
8296
  x: s,
@@ -8277,16 +8298,16 @@ function vl(e) {
8277
8298
  };
8278
8299
  }
8279
8300
  function Zn(e) {
8280
- var t = Le(e), n = t.overflow, o = t.overflowX, r = t.overflowY;
8301
+ var t = Re(e), n = t.overflow, o = t.overflowX, r = t.overflowY;
8281
8302
  return /auto|scroll|overlay|hidden/.test(n + r + o);
8282
8303
  }
8283
- function Vr(e) {
8284
- return ["html", "body", "#document"].indexOf(Ee(e)) >= 0 ? e.ownerDocument.body : De(e) && Zn(e) ? e : Vr(Ft(e));
8304
+ function Zr(e) {
8305
+ return ["html", "body", "#document"].indexOf(Me(e)) >= 0 ? e.ownerDocument.body : De(e) && Zn(e) ? e : Zr(Ft(e));
8285
8306
  }
8286
8307
  function ft(e, t) {
8287
8308
  var n;
8288
8309
  t === void 0 && (t = []);
8289
- var o = Vr(e), r = o === ((n = e.ownerDocument) == null ? void 0 : n.body), i = we(o), a = r ? [i].concat(i.visualViewport || [], Zn(o) ? o : []) : o, s = t.concat(a);
8310
+ var o = Zr(e), r = o === ((n = e.ownerDocument) == null ? void 0 : n.body), i = we(o), a = r ? [i].concat(i.visualViewport || [], Zn(o) ? o : []) : o, s = t.concat(a);
8290
8311
  return r ? s : (
8291
8312
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
8292
8313
  s.concat(ft(Ft(a)))
@@ -8305,22 +8326,22 @@ function ml(e, t) {
8305
8326
  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;
8306
8327
  }
8307
8328
  function zo(e, t, n) {
8308
- return t === Nr ? Ln(pl(e, n)) : qe(t) ? ml(t, n) : Ln(vl(Se(e)));
8329
+ return t === Xr ? Ln(pl(e, n)) : Ge(t) ? ml(t, n) : Ln(vl(Ie(e)));
8309
8330
  }
8310
8331
  function bl(e) {
8311
- var t = ft(Ft(e)), n = ["absolute", "fixed"].indexOf(Le(e).position) >= 0, o = n && De(e) ? yt(e) : e;
8312
- return qe(o) ? t.filter(function(r) {
8313
- return qe(r) && qr(r, o) && Ee(r) !== "body";
8332
+ var t = ft(Ft(e)), n = ["absolute", "fixed"].indexOf(Re(e).position) >= 0, o = n && De(e) ? yt(e) : e;
8333
+ return Ge(o) ? t.filter(function(r) {
8334
+ return Ge(r) && Gr(r, o) && Me(r) !== "body";
8314
8335
  }) : [];
8315
8336
  }
8316
8337
  function Cl(e, t, n, o) {
8317
8338
  var r = t === "clippingParents" ? bl(e) : [].concat(t), i = [].concat(r, [n]), a = i[0], s = i.reduce(function(c, h) {
8318
8339
  var g = zo(e, h, o);
8319
- 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;
8340
+ 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;
8320
8341
  }, zo(e, a, o));
8321
8342
  return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
8322
8343
  }
8323
- function Zr(e) {
8344
+ function Yr(e) {
8324
8345
  var t = e.reference, n = e.element, o = e.placement, r = o ? Oe(o) : null, i = o ? tt(o) : null, a = t.x + t.width / 2 - n.width / 2, s = t.y + t.height / 2 - n.height / 2, c;
8325
8346
  switch (r) {
8326
8347
  case me:
@@ -8369,7 +8390,7 @@ function Zr(e) {
8369
8390
  }
8370
8391
  function bt(e, t) {
8371
8392
  t === void 0 && (t = {});
8372
- 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 ? Is : s, h = n.rootBoundary, g = h === void 0 ? Nr : h, f = n.elementContext, b = f === void 0 ? at : f, w = n.altBoundary, u = w === void 0 ? !1 : w, l = n.padding, d = l === void 0 ? 0 : l, v = Ur(typeof d != "number" ? d : Kr(d, wt)), p = b === at ? Ns : at, C = e.rects.popper, y = e.elements[u ? p : b], D = Cl(qe(y) ? y : y.contextElement || Se(e.elements.popper), c, g, a), A = et(e.elements.reference), H = Zr({
8393
+ 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 ? Is : s, h = n.rootBoundary, g = h === void 0 ? Xr : h, f = n.elementContext, b = f === void 0 ? at : f, w = n.altBoundary, u = w === void 0 ? !1 : w, l = n.padding, d = l === void 0 ? 0 : l, v = Kr(typeof d != "number" ? d : Vr(d, wt)), p = b === at ? Ns : at, C = e.rects.popper, y = e.elements[u ? p : b], D = Cl(Ge(y) ? y : y.contextElement || Ie(e.elements.popper), c, g, a), A = et(e.elements.reference), H = Yr({
8373
8394
  reference: A,
8374
8395
  element: C,
8375
8396
  placement: r
@@ -8390,7 +8411,7 @@ function bt(e, t) {
8390
8411
  }
8391
8412
  function wl(e, t) {
8392
8413
  t === void 0 && (t = {});
8393
- var n = t, o = n.placement, r = n.boundary, i = n.rootBoundary, a = n.padding, s = n.flipVariations, c = n.allowedAutoPlacements, h = c === void 0 ? Xr : c, g = tt(o), f = g ? s ? Mo : Mo.filter(function(u) {
8414
+ var n = t, o = n.placement, r = n.boundary, i = n.rootBoundary, a = n.padding, s = n.flipVariations, c = n.allowedAutoPlacements, h = c === void 0 ? Fr : c, g = tt(o), f = g ? s ? Mo : Mo.filter(function(u) {
8394
8415
  return tt(u) === g;
8395
8416
  }) : wt, b = f.filter(function(u) {
8396
8417
  return h.indexOf(u) >= 0;
@@ -8524,7 +8545,7 @@ function Hl(e, t, n) {
8524
8545
  };
8525
8546
  }
8526
8547
  function Pl(e) {
8527
- var t = e.state, n = e.options, o = e.name, r = n.offset, i = r === void 0 ? [0, 0] : r, a = Xr.reduce(function(g, f) {
8548
+ var t = e.state, n = e.options, o = e.name, r = n.offset, i = r === void 0 ? [0, 0] : r, a = Fr.reduce(function(g, f) {
8528
8549
  return g[f] = Hl(f, t.rects, i), g;
8529
8550
  }, {}), s = a[t.placement], c = s.x, h = s.y;
8530
8551
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += h), t.modifiersData[o] = a;
@@ -8538,7 +8559,7 @@ const Bl = {
8538
8559
  };
8539
8560
  function Ol(e) {
8540
8561
  var t = e.state, n = e.name;
8541
- t.modifiersData[n] = Zr({
8562
+ t.modifiersData[n] = Yr({
8542
8563
  reference: t.rects.reference,
8543
8564
  element: t.rects.popper,
8544
8565
  placement: t.placement
@@ -8577,11 +8598,11 @@ function kl(e) {
8577
8598
  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 = w ? -O[S] / 2 : 0, G = p === _e ? H[S] : O[S], W = p === _e ? -O[S] : -H[S], K = t.elements.arrow, oe = w && K ? Gn(K) : {
8578
8599
  width: 0,
8579
8600
  height: 0
8580
- }, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Gr(), re = Y[M], V = Y[j], ee = ut(0, H[S], oe[S]), ae = C ? H[S] / 2 - U - ee - re - x.mainAxis : G - ee - re - x.mainAxis, se = C ? -H[S] / 2 + U + ee + V + x.mainAxis : W + ee + V + x.mainAxis, ne = t.elements.arrow && yt(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, he = z + ae - ce - de, Ce = z + se - ce, Me = ut(w ? It(F, he) : F, z, w ? Xe(Z, Ce) : Z);
8581
- A[y] = Me, k[y] = Me - z;
8601
+ }, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ur(), re = Y[M], V = Y[j], ee = ut(0, H[S], oe[S]), ae = C ? H[S] / 2 - U - ee - re - x.mainAxis : G - ee - re - x.mainAxis, se = C ? -H[S] / 2 + U + ee + V + x.mainAxis : W + ee + V + x.mainAxis, ne = t.elements.arrow && yt(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, he = z + ae - ce - de, Ce = z + se - ce, ke = ut(w ? It(F, he) : F, z, w ? Fe(Z, Ce) : Z);
8602
+ A[y] = ke, k[y] = ke - z;
8582
8603
  }
8583
8604
  if (s) {
8584
- var pe, 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 = (pe = B == null ? void 0 : B[D]) != null ? pe : 0, _ = Q ? m : xe - H[ke] - O[ke] - N + x.altAxis, q = Q ? xe + H[ke] + O[ke] - N - x.altAxis : E, fe = w && Q ? nl(_, xe, q) : ut(w ? _ : m, xe, w ? q : E);
8605
+ var pe, 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 = (pe = B == null ? void 0 : B[D]) != null ? pe : 0, _ = Q ? m : xe - H[Qe] - O[Qe] - N + x.altAxis, q = Q ? xe + H[Qe] + O[Qe] - N - x.altAxis : E, fe = w && Q ? nl(_, xe, q) : ut(w ? _ : m, xe, w ? q : E);
8585
8606
  A[D] = fe, k[D] = fe - xe;
8586
8607
  }
8587
8608
  t.modifiersData[o] = k;
@@ -8609,14 +8630,14 @@ function Rl(e) {
8609
8630
  }
8610
8631
  function jl(e, t, n) {
8611
8632
  n === void 0 && (n = !1);
8612
- var o = De(t), r = De(t) && Rl(t), i = Se(t), a = et(e, r, n), s = {
8633
+ var o = De(t), r = De(t) && Rl(t), i = Ie(t), a = et(e, r, n), s = {
8613
8634
  scrollLeft: 0,
8614
8635
  scrollTop: 0
8615
8636
  }, c = {
8616
8637
  x: 0,
8617
8638
  y: 0
8618
8639
  };
8619
- return (o || !o && !n) && ((Ee(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
8640
+ return (o || !o && !n) && ((Me(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
8620
8641
  Zn(i)) && (s = zl(t)), De(t) ? (c = et(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : i && (c.x = Vn(i))), {
8621
8642
  x: a.left + s.scrollLeft - c.x,
8622
8643
  y: a.top + s.scrollTop - c.y,
@@ -8706,7 +8727,7 @@ function Fl(e) {
8706
8727
  setOptions: function(v) {
8707
8728
  var p = typeof v == "function" ? v(g.options) : v;
8708
8729
  l(), g.options = Object.assign({}, i, g.options, p), g.scrollParents = {
8709
- reference: qe(s) ? ft(s) : s.contextElement ? ft(s.contextElement) : [],
8730
+ reference: Ge(s) ? ft(s) : s.contextElement ? ft(s.contextElement) : [],
8710
8731
  popper: ft(c)
8711
8732
  };
8712
8733
  var C = Il(Xl([].concat(o, g.options.modifiers)));
@@ -8802,8 +8823,8 @@ ie({
8802
8823
  placement: "bottom-end",
8803
8824
  triggerType: "hover",
8804
8825
  equalWidth: {
8805
- get: (e, t) => Je(t, !1),
8806
- set: (e, t) => Je(t, !1)
8826
+ get: (e, t) => Le(t, !1),
8827
+ set: (e, t) => Le(t, !1)
8807
8828
  },
8808
8829
  visible: {
8809
8830
  get: (e, t) => t || !1,
@@ -8874,15 +8895,15 @@ ie({
8874
8895
  return R` <img class="TDesign-doc-badge" src="${i}" /> `.css`${Kl}`;
8875
8896
  }
8876
8897
  });
8877
- var Ze = {}, $t, Xo;
8898
+ var Ye = {}, $t, Xo;
8878
8899
  function Zl() {
8879
8900
  return Xo || (Xo = 1, $t = function() {
8880
8901
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
8881
8902
  }), $t;
8882
8903
  }
8883
- var en = {}, Re = {}, Fo;
8884
- function Ge() {
8885
- if (Fo) return Re;
8904
+ var en = {}, je = {}, Fo;
8905
+ function Ue() {
8906
+ if (Fo) return je;
8886
8907
  Fo = 1;
8887
8908
  let e;
8888
8909
  const t = [
@@ -8929,26 +8950,26 @@ function Ge() {
8929
8950
  3532,
8930
8951
  3706
8931
8952
  ];
8932
- return Re.getSymbolSize = function(o) {
8953
+ return je.getSymbolSize = function(o) {
8933
8954
  if (!o) throw new Error('"version" cannot be null or undefined');
8934
8955
  if (o < 1 || o > 40) throw new Error('"version" should be in range from 1 to 40');
8935
8956
  return o * 4 + 17;
8936
- }, Re.getSymbolTotalCodewords = function(o) {
8957
+ }, je.getSymbolTotalCodewords = function(o) {
8937
8958
  return t[o];
8938
- }, Re.getBCHDigit = function(n) {
8959
+ }, je.getBCHDigit = function(n) {
8939
8960
  let o = 0;
8940
8961
  for (; n !== 0; )
8941
8962
  o++, n >>>= 1;
8942
8963
  return o;
8943
- }, Re.setToSJISFunction = function(o) {
8964
+ }, je.setToSJISFunction = function(o) {
8944
8965
  if (typeof o != "function")
8945
8966
  throw new Error('"toSJISFunc" is not a valid function.');
8946
8967
  e = o;
8947
- }, Re.isKanjiModeEnabled = function() {
8968
+ }, je.isKanjiModeEnabled = function() {
8948
8969
  return typeof e < "u";
8949
- }, Re.toSJIS = function(o) {
8970
+ }, je.toSJIS = function(o) {
8950
8971
  return e(o);
8951
- }, Re;
8972
+ }, je;
8952
8973
  }
8953
8974
  var tn = {}, qo;
8954
8975
  function Yn() {
@@ -9035,7 +9056,7 @@ function Jl() {
9035
9056
  var rn = {}, Ko;
9036
9057
  function Wl() {
9037
9058
  return Ko || (Ko = 1, function(e) {
9038
- const t = Ge().getSymbolSize;
9059
+ const t = Ue().getSymbolSize;
9039
9060
  e.getRowColCoords = function(o) {
9040
9061
  if (o === 1) return [];
9041
9062
  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];
@@ -9057,7 +9078,7 @@ var an = {}, Vo;
9057
9078
  function _l() {
9058
9079
  if (Vo) return an;
9059
9080
  Vo = 1;
9060
- const e = Ge().getSymbolSize, t = 7;
9081
+ const e = Ue().getSymbolSize, t = 7;
9061
9082
  return an.getPositions = function(o) {
9062
9083
  const r = e(o);
9063
9084
  return [
@@ -9169,7 +9190,7 @@ function $l() {
9169
9190
  }(sn)), sn;
9170
9191
  }
9171
9192
  var Ot = {}, Yo;
9172
- function Yr() {
9193
+ function Jr() {
9173
9194
  if (Yo) return Ot;
9174
9195
  Yo = 1;
9175
9196
  const e = Yn(), t = [
@@ -9598,13 +9619,13 @@ function nc() {
9598
9619
  }, cn = t, cn;
9599
9620
  }
9600
9621
  var dn = {}, un = {}, fn = {}, $o;
9601
- function Jr() {
9622
+ function Wr() {
9602
9623
  return $o || ($o = 1, fn.isValid = function(t) {
9603
9624
  return !isNaN(t) && t >= 1 && t <= 40;
9604
9625
  }), fn;
9605
9626
  }
9606
9627
  var Be = {}, er;
9607
- function Wr() {
9628
+ function _r() {
9608
9629
  if (er) return Be;
9609
9630
  er = 1;
9610
9631
  const e = "[0-9]+", t = "[A-Z $%*+\\-./:]+";
@@ -9623,9 +9644,9 @@ function Wr() {
9623
9644
  }, Be;
9624
9645
  }
9625
9646
  var tr;
9626
- function Ue() {
9647
+ function Ke() {
9627
9648
  return tr || (tr = 1, function(e) {
9628
- const t = Jr(), n = Wr();
9649
+ const t = Wr(), n = _r();
9629
9650
  e.NUMERIC = {
9630
9651
  id: "Numeric",
9631
9652
  bit: 1,
@@ -9687,7 +9708,7 @@ function Ue() {
9687
9708
  var nr;
9688
9709
  function oc() {
9689
9710
  return nr || (nr = 1, function(e) {
9690
- const t = Ge(), n = Yr(), o = Yn(), r = Ue(), i = Jr(), a = 7973, s = t.getBCHDigit(a);
9711
+ const t = Ue(), n = Jr(), o = Yn(), r = Ke(), i = Wr(), a = 7973, s = t.getBCHDigit(a);
9691
9712
  function c(b, w, u) {
9692
9713
  for (let l = 1; l <= 40; l++)
9693
9714
  if (w <= e.getCapacity(l, u, b))
@@ -9754,7 +9775,7 @@ var gn = {}, or;
9754
9775
  function rc() {
9755
9776
  if (or) return gn;
9756
9777
  or = 1;
9757
- const e = Ge(), t = 1335, n = 21522, o = e.getBCHDigit(t);
9778
+ const e = Ue(), t = 1335, n = 21522, o = e.getBCHDigit(t);
9758
9779
  return gn.getEncodedBits = function(i, a) {
9759
9780
  const s = i.bit << 3 | a;
9760
9781
  let c = s << 10;
@@ -9767,7 +9788,7 @@ var hn = {}, pn, rr;
9767
9788
  function ic() {
9768
9789
  if (rr) return pn;
9769
9790
  rr = 1;
9770
- const e = Ue();
9791
+ const e = Ke();
9771
9792
  function t(n) {
9772
9793
  this.mode = e.NUMERIC, this.data = n.toString();
9773
9794
  }
@@ -9789,7 +9810,7 @@ var vn, ir;
9789
9810
  function ac() {
9790
9811
  if (ir) return vn;
9791
9812
  ir = 1;
9792
- const e = Ue(), t = [
9813
+ const e = Ke(), t = [
9793
9814
  "0",
9794
9815
  "1",
9795
9816
  "2",
@@ -9858,7 +9879,7 @@ var mn, ar;
9858
9879
  function sc() {
9859
9880
  if (ar) return mn;
9860
9881
  ar = 1;
9861
- const e = Ue();
9882
+ const e = Ke();
9862
9883
  function t(n) {
9863
9884
  this.mode = e.BYTE, typeof n == "string" ? this.data = new TextEncoder().encode(n) : this.data = new Uint8Array(n);
9864
9885
  }
@@ -9877,7 +9898,7 @@ var bn, sr;
9877
9898
  function lc() {
9878
9899
  if (sr) return bn;
9879
9900
  sr = 1;
9880
- const e = Ue(), t = Ge();
9901
+ const e = Ke(), t = Ue();
9881
9902
  function n(o) {
9882
9903
  this.mode = e.KANJI, this.data = o;
9883
9904
  }
@@ -9975,7 +9996,7 @@ function cc() {
9975
9996
  var cr;
9976
9997
  function dc() {
9977
9998
  return cr || (cr = 1, function(e) {
9978
- const t = Ue(), n = ic(), o = ac(), r = sc(), i = lc(), a = Wr(), s = Ge(), c = cc();
9999
+ const t = Ke(), n = ic(), o = ac(), r = sc(), i = lc(), a = _r(), s = Ue(), c = cc();
9979
10000
  function h(v) {
9980
10001
  return unescape(encodeURIComponent(v)).length;
9981
10002
  }
@@ -10110,7 +10131,7 @@ var dr;
10110
10131
  function uc() {
10111
10132
  if (dr) return en;
10112
10133
  dr = 1;
10113
- const e = Ge(), t = Yn(), n = Yl(), o = Jl(), r = Wl(), i = _l(), a = $l(), s = Yr(), c = nc(), h = oc(), g = rc(), f = Ue(), b = dc();
10134
+ const e = Ue(), t = Yn(), n = Yl(), o = Jl(), r = Wl(), i = _l(), a = $l(), s = Jr(), c = nc(), h = oc(), g = rc(), f = Ke(), b = dc();
10114
10135
  function w(A, H) {
10115
10136
  const O = A.size, P = i.getPositions(H);
10116
10137
  for (let x = 0; x < P.length; x++) {
@@ -10244,7 +10265,7 @@ Minimum version required to store current data is: ` + B + `.
10244
10265
  }, en;
10245
10266
  }
10246
10267
  var wn = {}, yn = {}, ur;
10247
- function _r() {
10268
+ function $r() {
10248
10269
  return ur || (ur = 1, function(e) {
10249
10270
  function t(n) {
10250
10271
  if (typeof n == "number" && (n = n.toString()), typeof n != "string")
@@ -10300,7 +10321,7 @@ function _r() {
10300
10321
  var fr;
10301
10322
  function fc() {
10302
10323
  return fr || (fr = 1, function(e) {
10303
- const t = _r();
10324
+ const t = $r();
10304
10325
  function n(r, i, a) {
10305
10326
  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";
10306
10327
  }
@@ -10328,7 +10349,7 @@ var xn = {}, gr;
10328
10349
  function gc() {
10329
10350
  if (gr) return xn;
10330
10351
  gr = 1;
10331
- const e = _r();
10352
+ const e = $r();
10332
10353
  function t(r, i) {
10333
10354
  const a = r.a / 255, s = i + '="' + r.hex + '"';
10334
10355
  return a < 1 ? s + " " + i + '-opacity="' + a.toFixed(2).slice(1) + '"' : s;
@@ -10353,7 +10374,7 @@ function gc() {
10353
10374
  }
10354
10375
  var hr;
10355
10376
  function hc() {
10356
- if (hr) return Ze;
10377
+ if (hr) return Ye;
10357
10378
  hr = 1;
10358
10379
  const e = Zl(), t = uc(), n = fc(), o = gc();
10359
10380
  function r(i, a, s, c, h) {
@@ -10383,9 +10404,9 @@ function hc() {
10383
10404
  h(w);
10384
10405
  }
10385
10406
  }
10386
- 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) {
10407
+ 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) {
10387
10408
  return o.render(i, s);
10388
- }), Ze;
10409
+ }), Ye;
10389
10410
  }
10390
10411
  var pc = hc();
10391
10412
  const pr = /* @__PURE__ */ Nn(pc), vc = ':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">
@@ -10489,14 +10510,14 @@ ie({
10489
10510
  <div class="TDesign-doc-phone__body">
10490
10511
  <slot></slot>
10491
10512
  </div>
10492
- <div class="TDesign-doc-phone__close" innerHTML="${jn}" onclick="${An}"></div>
10513
+ <div class="TDesign-doc-phone__close" innerHTML="${In}" onclick="${An}"></div>
10493
10514
  </div>
10494
10515
  <div class="TDesign-doc-phone-collapse" onclick="${An}">
10495
10516
  <i class="icon" innerHTML="${bc}"></i>
10496
10517
  </div>
10497
10518
  `.css`${vc}`
10498
10519
  });
10499
- const wc = ":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)}", vr = ze();
10520
+ const wc = ":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)}";
10500
10521
  function yc(e, t) {
10501
10522
  e.tabScrollMap[e.tab] = document.documentElement.scrollTop;
10502
10523
  const { tab: n } = t.target.dataset;
@@ -10509,9 +10530,9 @@ function yc(e, t) {
10509
10530
  });
10510
10531
  }
10511
10532
  const xc = [
10512
- { tab: "demo", name: vr === "zh" ? "示例" : "Demo" },
10533
+ { tab: "demo", name: Ee() ? "Demo" : "示例" },
10513
10534
  { tab: "api", name: "API" },
10514
- { tab: "design", name: vr === "zh" ? "指南" : "Guide" }
10535
+ { tab: "design", name: Ee() ? "Guide" : "指南" }
10515
10536
  ];
10516
10537
  ie({
10517
10538
  tag: "td-doc-tabs",
@@ -10576,9 +10597,9 @@ ie({
10576
10597
  `.css`${wc}` : R``;
10577
10598
  }
10578
10599
  });
10579
- var Dn = { exports: {} }, mr;
10600
+ var Dn = { exports: {} }, vr;
10580
10601
  function Ac() {
10581
- return mr || (mr = 1, function(e) {
10602
+ return vr || (vr = 1, function(e) {
10582
10603
  var t = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
10583
10604
  /**
10584
10605
  * Prism: Lightweight, robust, elegant syntax highlighting
@@ -11736,7 +11757,7 @@ function Ac() {
11736
11757
  }(Dn)), Dn.exports;
11737
11758
  }
11738
11759
  var Dc = Ac();
11739
- const nt = /* @__PURE__ */ Nn(Dc), Tc = '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)}', $r = `<svg width="18" height="16" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
11760
+ const nt = /* @__PURE__ */ Nn(Dc), Tc = '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)}', ei = `<svg width="18" height="16" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
11740
11761
  <path fill="currentColor" d="M10.3736 0.498413L11.581 0.821937L7.69869 15.3108L6.49128 14.9873L10.3736 0.498413Z" />
11741
11762
  <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" />
11742
11763
  <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" />
@@ -12158,9 +12179,9 @@ Prism.languages.markup && (Prism.languages.markup.tag.addInlined("script", "java
12158
12179
  "javascript"
12159
12180
  ));
12160
12181
  Prism.languages.js = Prism.languages.javascript;
12161
- var br = {}, Cr;
12182
+ var mr = {}, br;
12162
12183
  function Hc() {
12163
- return Cr || (Cr = 1, function(e) {
12184
+ return br || (br = 1, function(e) {
12164
12185
  e.languages.typescript = e.languages.extend("javascript", {
12165
12186
  "class-name": {
12166
12187
  pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
@@ -12204,7 +12225,7 @@ function Hc() {
12204
12225
  }
12205
12226
  }
12206
12227
  }), e.languages.ts = e.languages.typescript;
12207
- }(Prism)), br;
12228
+ }(Prism)), mr;
12208
12229
  }
12209
12230
  Hc();
12210
12231
  ie({
@@ -12282,7 +12303,7 @@ ie({
12282
12303
  ${r === "open" ? R`` : R`<span
12283
12304
  class="action code ${o ? "active" : ""}"
12284
12305
  onclick=${R.set("showCode", !o)}
12285
- innerHTML=${$r}
12306
+ innerHTML=${ei}
12286
12307
  ></span>`}
12287
12308
  </div>
12288
12309
  <div class="TDesign-doc-demo__code ${i}" style="${l}">
@@ -12361,7 +12382,7 @@ ie({
12361
12382
  content: "",
12362
12383
  render: ({ time: e, content: t }) => R`
12363
12384
  <div class="TDesign-doc-history">
12364
- <i class="icon" innerHTML="${Ir}"></i>
12385
+ <i class="icon" innerHTML="${Nr}"></i>
12365
12386
  ${t || R`
12366
12387
  <span class="text">Last Update: </span>
12367
12388
  ${Qc(e)}
@@ -12380,7 +12401,7 @@ function Rc(e) {
12380
12401
  const r = e.shadowRoot.querySelectorAll(".header-panel"), { offsetLeft: i, offsetWidth: a } = r[o];
12381
12402
  return `width: ${a}px; left: ${i}px`;
12382
12403
  }
12383
- function wr(e, t, n) {
12404
+ function Cr(e, t, n) {
12384
12405
  const { detail: o } = t;
12385
12406
  Te(e, "ConfigChange", {
12386
12407
  detail: { value: o.value, name: n.name, type: n.type }
@@ -12400,7 +12421,7 @@ function jc(e = []) {
12400
12421
  <td-switch
12401
12422
  size="small"
12402
12423
  value="${o.defaultValue}"
12403
- onchange="${(r, i) => wr(r, i, o)}"
12424
+ onchange="${(r, i) => Cr(r, i, o)}"
12404
12425
  ></td-switch>
12405
12426
  </li>
12406
12427
  `
@@ -12418,7 +12439,7 @@ function jc(e = []) {
12418
12439
  borderless
12419
12440
  value="${o.defaultValue}"
12420
12441
  options="${o.options}"
12421
- onchange="${(r, i) => wr(r, i, o)}"
12442
+ onchange="${(r, i) => Cr(r, i, o)}"
12422
12443
  ></td-select>
12423
12444
  </li>
12424
12445
  `
@@ -12482,7 +12503,7 @@ ie({
12482
12503
  <span
12483
12504
  class="action code ${o ? "active" : ""}"
12484
12505
  onclick=${R.set("showCode", !o)}
12485
- innerHTML=${$r}
12506
+ innerHTML=${ei}
12486
12507
  ></span>
12487
12508
  </div>
12488
12509
  </div>
@@ -12567,7 +12588,7 @@ ie({
12567
12588
  `.css`${Ic}`;
12568
12589
  }
12569
12590
  });
12570
- function yr(e, t, n) {
12591
+ function wr(e, t, n) {
12571
12592
  if (document.getElementById(e)) return;
12572
12593
  const o = document.createElement("script");
12573
12594
  o.async = !0, o.id = e, o.type = "text/javascript", Object.keys(t).forEach((r) => {
@@ -12591,10 +12612,10 @@ ie({
12591
12612
  set: (e, t) => t,
12592
12613
  connect: (e) => {
12593
12614
  function t() {
12594
- yr("horizon-tracker", {
12615
+ wr("horizon-tracker", {
12595
12616
  "data-account": e.dataAccount,
12596
12617
  src: "https://static.codesign.qq.com/analytics.js"
12597
- }), yr(
12618
+ }), wr(
12598
12619
  "__td_tcss__",
12599
12620
  {
12600
12621
  src: "https://pingjs.qq.com/tcss.ping.https.js"
@@ -12728,7 +12749,7 @@ ie({
12728
12749
  "TDesign-select-input--borderless": r
12729
12750
  }}">
12730
12751
  <input class="TDesign-select-input__inner" readonly value="${a}" />
12731
- <i class="suffix-icon ${o ? "up" : ""}" innerHTML="${kr}"></i>
12752
+ <i class="suffix-icon ${o ? "up" : ""}" innerHTML="${zr}"></i>
12732
12753
  </div>
12733
12754
  <div slot="content" class="TDesign-select-dropdown">${Wc(e)}</div>
12734
12755
  </td-doc-popup>
@@ -12757,6 +12778,6 @@ ie({
12757
12778
  }
12758
12779
  });
12759
12780
  export {
12760
- ze as getLang,
12781
+ Lr as getLang,
12761
12782
  e1 as registerLocaleChange
12762
12783
  };