@asgard-js/react 0.0.43-canary.23 → 0.0.43-canary.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ var te = (e, t, n) => TK(e, typeof t != "symbol" ? t + "" : t, n), iA = (e, t, n
7
7
  var aA = (e, t, n) => (iA(e, t, "read from private field"), n ? n.call(e) : t.get(e)), oA = (e, t, n) => t.has(e) ? rA("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), xv = (e, t, n, r) => (iA(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
8
8
  import { Fragment as Ww, jsx as Q, jsxs as nt } from "react/jsx-runtime";
9
9
  import * as kt from "react";
10
- import Tu, { useRef as Ja, useEffect as tn, useState as cn, useCallback as zt, useMemo as rn, useLayoutEffect as $D, createContext as Lb, useContext as zb, useImperativeHandle as MK, memo as NK, forwardRef as $K } from "react";
10
+ import Tu, { useRef as Ja, useEffect as tn, useState as cn, useCallback as Lt, useMemo as rn, useLayoutEffect as $D, createContext as Lb, useContext as zb, useImperativeHandle as MK, memo as NK, forwardRef as $K } from "react";
11
11
  import { AsgardServiceClient as OK, EventType as Lc, Conversation as RK, Channel as DK, MessageTemplateType as du } from "@asgard-js/core";
12
12
  function sA(e) {
13
13
  return e !== null && typeof e == "object" && !Array.isArray(e);
@@ -118,7 +118,7 @@ function zK(e) {
118
118
  throw new Error("Client instance is required");
119
119
  if (!i)
120
120
  throw new Error("Custom channel id is required");
121
- const [u, c] = cn(null), [f, d] = cn(n ?? !0), [h, p] = cn(!1), [m, g] = cn(!1), [y, b] = cn(null), v = zt(
121
+ const [u, c] = cn(null), [f, d] = cn(n ?? !0), [h, p] = cn(!1), [m, g] = cn(!1), [y, b] = cn(null), v = Lt(
122
122
  async (_) => {
123
123
  const S = new RK({
124
124
  messages: new Map(
@@ -154,9 +154,9 @@ function zK(e) {
154
154
  d(!0), c(N);
155
155
  },
156
156
  [t, i, a, o, s, l]
157
- ), w = zt(() => {
157
+ ), w = Lt(() => {
158
158
  c((_) => (_ == null || _.close(), null)), d(!1), p(!1), g(!1), b(null);
159
- }, []), E = zt(
159
+ }, []), E = Lt(
160
160
  (_) => u == null ? void 0 : u.sendMessage({ ..._, customMessageId: a }),
161
161
  [u, a]
162
162
  );
@@ -197,7 +197,7 @@ function BK() {
197
197
  return window.visualViewport ? [window.visualViewport.width, window.visualViewport.height] : [window.innerWidth, window.innerHeight];
198
198
  }
199
199
  function UK() {
200
- const [e, t] = cn(), n = zt(() => {
200
+ const [e, t] = cn(), n = Lt(() => {
201
201
  const r = BK();
202
202
  t(
203
203
  (i) => i && i[0] === r[0] && i[1] === r[1] ? i : r
@@ -289,7 +289,7 @@ function jK(e) {
289
289
  }
290
290
  const Ev = typeof window < "u" ? $D : null;
291
291
  function WK(e) {
292
- const t = zt(() => {
292
+ const t = Lt(() => {
293
293
  const n = window.innerHeight * 0.01;
294
294
  e.current && e.current.style.setProperty("--vh", `${n}px`);
295
295
  }, [e]);
@@ -1707,7 +1707,7 @@ function EA(e) {
1707
1707
  function _A(e) {
1708
1708
  return e && typeof e == "number" ? e : 1;
1709
1709
  }
1710
- class ir extends Error {
1710
+ class rr extends Error {
1711
1711
  /**
1712
1712
  * Create a message for `reason`.
1713
1713
  *
@@ -1781,19 +1781,19 @@ class ir extends Error {
1781
1781
  this.ancestors = a.ancestors || void 0, this.cause = a.cause || void 0, this.column = s ? s.column : void 0, this.fatal = void 0, this.file = "", this.message = i, this.line = s ? s.line : void 0, this.name = bh(a.place) || "1:1", this.place = a.place || void 0, this.reason = this.message, this.ruleId = a.ruleId || void 0, this.source = a.source || void 0, this.stack = o && a.cause && typeof a.cause.stack == "string" ? a.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
1782
1782
  }
1783
1783
  }
1784
- ir.prototype.file = "";
1785
- ir.prototype.name = "";
1786
- ir.prototype.reason = "";
1787
- ir.prototype.message = "";
1788
- ir.prototype.stack = "";
1789
- ir.prototype.column = void 0;
1790
- ir.prototype.line = void 0;
1791
- ir.prototype.ancestors = void 0;
1792
- ir.prototype.cause = void 0;
1793
- ir.prototype.fatal = void 0;
1794
- ir.prototype.place = void 0;
1795
- ir.prototype.ruleId = void 0;
1796
- ir.prototype.source = void 0;
1784
+ rr.prototype.file = "";
1785
+ rr.prototype.name = "";
1786
+ rr.prototype.reason = "";
1787
+ rr.prototype.message = "";
1788
+ rr.prototype.stack = "";
1789
+ rr.prototype.column = void 0;
1790
+ rr.prototype.line = void 0;
1791
+ rr.prototype.ancestors = void 0;
1792
+ rr.prototype.cause = void 0;
1793
+ rr.prototype.fatal = void 0;
1794
+ rr.prototype.place = void 0;
1795
+ rr.prototype.ruleId = void 0;
1796
+ rr.prototype.source = void 0;
1797
1797
  const Xw = {}.hasOwnProperty, FZ = /* @__PURE__ */ new Map(), LZ = /[A-Z]/g, zZ = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), PZ = /* @__PURE__ */ new Set(["td", "th"]), GD = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1798
1798
  function BZ(e, t) {
1799
1799
  if (!t || t.Fragment === void 0)
@@ -2016,7 +2016,7 @@ function QZ(e, t) {
2016
2016
  const r = (
2017
2017
  /** @type {Error} */
2018
2018
  n
2019
- ), i = new ir("Cannot parse `style` attribute", {
2019
+ ), i = new rr("Cannot parse `style` attribute", {
2020
2020
  ancestors: e.ancestors,
2021
2021
  cause: r,
2022
2022
  ruleId: "style",
@@ -2057,7 +2057,7 @@ function XD(e, t, n) {
2057
2057
  qh(e);
2058
2058
  }
2059
2059
  function qh(e, t) {
2060
- const n = new ir(
2060
+ const n = new rr(
2061
2061
  "Cannot handle MDX estrees without `createEvaluater`",
2062
2062
  {
2063
2063
  ancestors: e.ancestors,
@@ -2201,7 +2201,7 @@ function QD(e, t) {
2201
2201
  function oa(e) {
2202
2202
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
2203
2203
  }
2204
- const yr = Ol(/[A-Za-z]/), Jn = Ol(/[\dA-Za-z]/), oQ = Ol(/[#-'*+\--9=?A-Z^-~]/);
2204
+ const gr = Ol(/[A-Za-z]/), Qn = Ol(/[\dA-Za-z]/), oQ = Ol(/[#-'*+\--9=?A-Z^-~]/);
2205
2205
  function P1(e) {
2206
2206
  return (
2207
2207
  // Special whitespace codes (which have negative values), C0 and Control
@@ -2232,7 +2232,7 @@ function b0(e) {
2232
2232
  for (; ++n < e.length; ) {
2233
2233
  const a = e.charCodeAt(n);
2234
2234
  let o = "";
2235
- if (a === 37 && Jn(e.charCodeAt(n + 1)) && Jn(e.charCodeAt(n + 2)))
2235
+ if (a === 37 && Qn(e.charCodeAt(n + 1)) && Qn(e.charCodeAt(n + 2)))
2236
2236
  i = 2;
2237
2237
  else if (a < 128)
2238
2238
  /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a)) || (o = String.fromCharCode(a));
@@ -2511,13 +2511,13 @@ function yQ(e, t, n) {
2511
2511
  return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), a;
2512
2512
  }
2513
2513
  function a(h) {
2514
- return yr(h) ? (e.consume(h), o) : h === 64 ? n(h) : u(h);
2514
+ return gr(h) ? (e.consume(h), o) : h === 64 ? n(h) : u(h);
2515
2515
  }
2516
2516
  function o(h) {
2517
- return h === 43 || h === 45 || h === 46 || Jn(h) ? (r = 1, s(h)) : u(h);
2517
+ return h === 43 || h === 45 || h === 46 || Qn(h) ? (r = 1, s(h)) : u(h);
2518
2518
  }
2519
2519
  function s(h) {
2520
- return h === 58 ? (e.consume(h), r = 0, l) : (h === 43 || h === 45 || h === 46 || Jn(h)) && r++ < 32 ? (e.consume(h), s) : (r = 0, u(h));
2520
+ return h === 58 ? (e.consume(h), r = 0, l) : (h === 43 || h === 45 || h === 46 || Qn(h)) && r++ < 32 ? (e.consume(h), s) : (r = 0, u(h));
2521
2521
  }
2522
2522
  function l(h) {
2523
2523
  return h === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), t) : h === null || h === 32 || h === 60 || P1(h) ? n(h) : (e.consume(h), l);
@@ -2526,13 +2526,13 @@ function yQ(e, t, n) {
2526
2526
  return h === 64 ? (e.consume(h), c) : oQ(h) ? (e.consume(h), u) : n(h);
2527
2527
  }
2528
2528
  function c(h) {
2529
- return Jn(h) ? f(h) : n(h);
2529
+ return Qn(h) ? f(h) : n(h);
2530
2530
  }
2531
2531
  function f(h) {
2532
2532
  return h === 46 ? (e.consume(h), r = 0, c) : h === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), t) : d(h);
2533
2533
  }
2534
2534
  function d(h) {
2535
- if ((h === 45 || Jn(h)) && r++ < 63) {
2535
+ if ((h === 45 || Qn(h)) && r++ < 63) {
2536
2536
  const p = h === 45 ? d : f;
2537
2537
  return e.consume(h), p;
2538
2538
  }
@@ -2614,7 +2614,7 @@ function _Q(e, t, n) {
2614
2614
  return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), l;
2615
2615
  }
2616
2616
  function l(f) {
2617
- return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, o = Jn, c(f));
2617
+ return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), a = 31, o = Qn, c(f));
2618
2618
  }
2619
2619
  function u(f) {
2620
2620
  return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, o = sQ, c) : (e.enter("characterReferenceValue"), a = 7, o = t5, c(f));
@@ -2622,7 +2622,7 @@ function _Q(e, t, n) {
2622
2622
  function c(f) {
2623
2623
  if (f === 59 && i) {
2624
2624
  const d = e.exit("characterReferenceValue");
2625
- return o === Jn && !Jw(r.sliceSerialize(d)) ? n(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
2625
+ return o === Qn && !Jw(r.sliceSerialize(d)) ? n(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
2626
2626
  }
2627
2627
  return o(f) && i++ < a ? (e.consume(f), c) : n(f);
2628
2628
  }
@@ -3354,10 +3354,10 @@ function eJ(e, t, n) {
3354
3354
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(I), f;
3355
3355
  }
3356
3356
  function f(I) {
3357
- return I === 33 ? (e.consume(I), d) : I === 47 ? (e.consume(I), a = !0, m) : I === 63 ? (e.consume(I), i = 3, r.interrupt ? t : A) : yr(I) ? (e.consume(I), o = String.fromCharCode(I), g) : n(I);
3357
+ return I === 33 ? (e.consume(I), d) : I === 47 ? (e.consume(I), a = !0, m) : I === 63 ? (e.consume(I), i = 3, r.interrupt ? t : A) : gr(I) ? (e.consume(I), o = String.fromCharCode(I), g) : n(I);
3358
3358
  }
3359
3359
  function d(I) {
3360
- return I === 45 ? (e.consume(I), i = 2, h) : I === 91 ? (e.consume(I), i = 5, s = 0, p) : yr(I) ? (e.consume(I), i = 4, r.interrupt ? t : A) : n(I);
3360
+ return I === 45 ? (e.consume(I), i = 2, h) : I === 91 ? (e.consume(I), i = 5, s = 0, p) : gr(I) ? (e.consume(I), i = 4, r.interrupt ? t : A) : n(I);
3361
3361
  }
3362
3362
  function h(I) {
3363
3363
  return I === 45 ? (e.consume(I), r.interrupt ? t : A) : n(I);
@@ -3367,14 +3367,14 @@ function eJ(e, t, n) {
3367
3367
  return I === re.charCodeAt(s++) ? (e.consume(I), s === re.length ? r.interrupt ? t : z : p) : n(I);
3368
3368
  }
3369
3369
  function m(I) {
3370
- return yr(I) ? (e.consume(I), o = String.fromCharCode(I), g) : n(I);
3370
+ return gr(I) ? (e.consume(I), o = String.fromCharCode(I), g) : n(I);
3371
3371
  }
3372
3372
  function g(I) {
3373
3373
  if (I === null || I === 47 || I === 62 || At(I)) {
3374
3374
  const re = I === 47, ne = o.toLowerCase();
3375
3375
  return !re && !a && $A.includes(ne) ? (i = 1, r.interrupt ? t(I) : z(I)) : XQ.includes(o.toLowerCase()) ? (i = 6, re ? (e.consume(I), y) : r.interrupt ? t(I) : z(I)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(I) : a ? b(I) : v(I));
3376
3376
  }
3377
- return I === 45 || Jn(I) ? (e.consume(I), o += String.fromCharCode(I), g) : n(I);
3377
+ return I === 45 || Qn(I) ? (e.consume(I), o += String.fromCharCode(I), g) : n(I);
3378
3378
  }
3379
3379
  function y(I) {
3380
3380
  return I === 62 ? (e.consume(I), r.interrupt ? t : z) : n(I);
@@ -3383,10 +3383,10 @@ function eJ(e, t, n) {
3383
3383
  return et(I) ? (e.consume(I), b) : T(I);
3384
3384
  }
3385
3385
  function v(I) {
3386
- return I === 47 ? (e.consume(I), T) : I === 58 || I === 95 || yr(I) ? (e.consume(I), w) : et(I) ? (e.consume(I), v) : T(I);
3386
+ return I === 47 ? (e.consume(I), T) : I === 58 || I === 95 || gr(I) ? (e.consume(I), w) : et(I) ? (e.consume(I), v) : T(I);
3387
3387
  }
3388
3388
  function w(I) {
3389
- return I === 45 || I === 46 || I === 58 || I === 95 || Jn(I) ? (e.consume(I), w) : E(I);
3389
+ return I === 45 || I === 46 || I === 58 || I === 95 || Qn(I) ? (e.consume(I), w) : E(I);
3390
3390
  }
3391
3391
  function E(I) {
3392
3392
  return I === 61 ? (e.consume(I), _) : et(I) ? (e.consume(I), E) : v(I);
@@ -3432,7 +3432,7 @@ function eJ(e, t, n) {
3432
3432
  const re = o.toLowerCase();
3433
3433
  return $A.includes(re) ? (e.consume(I), V) : z(I);
3434
3434
  }
3435
- return yr(I) && o.length < 8 ? (e.consume(I), o += String.fromCharCode(I), q) : z(I);
3435
+ return gr(I) && o.length < 8 ? (e.consume(I), o += String.fromCharCode(I), q) : z(I);
3436
3436
  }
3437
3437
  function W(I) {
3438
3438
  return I === 93 ? (e.consume(I), A) : z(I);
@@ -3475,10 +3475,10 @@ function iJ(e, t, n) {
3475
3475
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(A), l;
3476
3476
  }
3477
3477
  function l(A) {
3478
- return A === 33 ? (e.consume(A), u) : A === 47 ? (e.consume(A), E) : A === 63 ? (e.consume(A), v) : yr(A) ? (e.consume(A), N) : n(A);
3478
+ return A === 33 ? (e.consume(A), u) : A === 47 ? (e.consume(A), E) : A === 63 ? (e.consume(A), v) : gr(A) ? (e.consume(A), N) : n(A);
3479
3479
  }
3480
3480
  function u(A) {
3481
- return A === 45 ? (e.consume(A), c) : A === 91 ? (e.consume(A), a = 0, p) : yr(A) ? (e.consume(A), b) : n(A);
3481
+ return A === 45 ? (e.consume(A), c) : A === 91 ? (e.consume(A), a = 0, p) : gr(A) ? (e.consume(A), b) : n(A);
3482
3482
  }
3483
3483
  function c(A) {
3484
3484
  return A === 45 ? (e.consume(A), h) : n(A);
@@ -3515,22 +3515,22 @@ function iJ(e, t, n) {
3515
3515
  return A === 62 ? D(A) : v(A);
3516
3516
  }
3517
3517
  function E(A) {
3518
- return yr(A) ? (e.consume(A), _) : n(A);
3518
+ return gr(A) ? (e.consume(A), _) : n(A);
3519
3519
  }
3520
3520
  function _(A) {
3521
- return A === 45 || Jn(A) ? (e.consume(A), _) : S(A);
3521
+ return A === 45 || Qn(A) ? (e.consume(A), _) : S(A);
3522
3522
  }
3523
3523
  function S(A) {
3524
3524
  return Ce(A) ? (o = S, U(A)) : et(A) ? (e.consume(A), S) : D(A);
3525
3525
  }
3526
3526
  function N(A) {
3527
- return A === 45 || Jn(A) ? (e.consume(A), N) : A === 47 || A === 62 || At(A) ? M(A) : n(A);
3527
+ return A === 45 || Qn(A) ? (e.consume(A), N) : A === 47 || A === 62 || At(A) ? M(A) : n(A);
3528
3528
  }
3529
3529
  function M(A) {
3530
- return A === 47 ? (e.consume(A), D) : A === 58 || A === 95 || yr(A) ? (e.consume(A), T) : Ce(A) ? (o = M, U(A)) : et(A) ? (e.consume(A), M) : D(A);
3530
+ return A === 47 ? (e.consume(A), D) : A === 58 || A === 95 || gr(A) ? (e.consume(A), T) : Ce(A) ? (o = M, U(A)) : et(A) ? (e.consume(A), M) : D(A);
3531
3531
  }
3532
3532
  function T(A) {
3533
- return A === 45 || A === 46 || A === 58 || A === 95 || Jn(A) ? (e.consume(A), T) : O(A);
3533
+ return A === 45 || A === 46 || A === 58 || A === 95 || Qn(A) ? (e.consume(A), T) : O(A);
3534
3534
  }
3535
3535
  function O(A) {
3536
3536
  return A === 61 ? (e.consume(A), z) : Ce(A) ? (o = O, U(A)) : et(A) ? (e.consume(A), O) : M(A);
@@ -4382,7 +4382,7 @@ function tee(e) {
4382
4382
  transforms: [],
4383
4383
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
4384
4384
  enter: {
4385
- autolink: a(or),
4385
+ autolink: a(ar),
4386
4386
  autolinkProtocol: M,
4387
4387
  autolinkEmail: M,
4388
4388
  atxHeading: a(je),
@@ -4410,7 +4410,7 @@ function tee(e) {
4410
4410
  htmlTextData: M,
4411
4411
  image: a(ke),
4412
4412
  label: o,
4413
- link: a(or),
4413
+ link: a(ar),
4414
4414
  listItem: a(ft),
4415
4415
  listItemValue: d,
4416
4416
  listOrdered: a(Ht, f),
@@ -4500,18 +4500,18 @@ function tee(e) {
4500
4500
  if (j[Pe][0] === "enter")
4501
4501
  ve.push(Pe);
4502
4502
  else {
4503
- const Ft = ve.pop();
4504
- Pe = i(j, Ft, Pe);
4503
+ const It = ve.pop();
4504
+ Pe = i(j, It, Pe);
4505
4505
  }
4506
4506
  for (Pe = -1; ++Pe < j.length; ) {
4507
- const Ft = t[j[Pe][0]];
4508
- lI.call(Ft, j[Pe][1].type) && Ft[j[Pe][1].type].call(Object.assign({
4507
+ const It = t[j[Pe][0]];
4508
+ lI.call(It, j[Pe][1].type) && It[j[Pe][1].type].call(Object.assign({
4509
4509
  sliceSerialize: j[Pe][2].sliceSerialize
4510
4510
  }, he), j[Pe][1]);
4511
4511
  }
4512
4512
  if (he.tokenStack.length > 0) {
4513
- const Ft = he.tokenStack[he.tokenStack.length - 1];
4514
- (Ft[1] || DA).call(he, void 0, Ft[0]);
4513
+ const It = he.tokenStack[he.tokenStack.length - 1];
4514
+ (It[1] || DA).call(he, void 0, It[0]);
4515
4515
  }
4516
4516
  for (K.position = {
4517
4517
  start: Is(j.length > 0 ? j[0][1].start : {
@@ -4529,7 +4529,7 @@ function tee(e) {
4529
4529
  return K;
4530
4530
  }
4531
4531
  function i(j, K, he) {
4532
- let ve = K - 1, Pe = -1, Ft = !1, vi, $r, Rs, Ds;
4532
+ let ve = K - 1, Pe = -1, It = !1, vi, Nr, Rs, Ds;
4533
4533
  for (; ++ve <= he; ) {
4534
4534
  const jn = j[ve];
4535
4535
  switch (jn[1].type) {
@@ -4555,14 +4555,14 @@ function tee(e) {
4555
4555
  if (!Pe && jn[0] === "enter" && jn[1].type === "listItemPrefix" || Pe === -1 && jn[0] === "exit" && (jn[1].type === "listUnordered" || jn[1].type === "listOrdered")) {
4556
4556
  if (vi) {
4557
4557
  let Mo = ve;
4558
- for ($r = void 0; Mo--; ) {
4558
+ for (Nr = void 0; Mo--; ) {
4559
4559
  const xi = j[Mo];
4560
4560
  if (xi[1].type === "lineEnding" || xi[1].type === "lineEndingBlank") {
4561
4561
  if (xi[0] === "exit") continue;
4562
- $r && (j[$r][1].type = "lineEndingBlank", Ft = !0), xi[1].type = "lineEnding", $r = Mo;
4562
+ Nr && (j[Nr][1].type = "lineEndingBlank", It = !0), xi[1].type = "lineEnding", Nr = Mo;
4563
4563
  } else if (!(xi[1].type === "linePrefix" || xi[1].type === "blockQuotePrefix" || xi[1].type === "blockQuotePrefixWhitespace" || xi[1].type === "blockQuoteMarker" || xi[1].type === "listItemIndent")) break;
4564
4564
  }
4565
- Rs && (!$r || Rs < $r) && (vi._spread = !0), vi.end = Object.assign({}, $r ? j[$r][1].start : jn[1].end), j.splice($r || ve, 0, ["exit", vi, jn[2]]), ve++, he++;
4565
+ Rs && (!Nr || Rs < Nr) && (vi._spread = !0), vi.end = Object.assign({}, Nr ? j[Nr][1].start : jn[1].end), j.splice(Nr || ve, 0, ["exit", vi, jn[2]]), ve++, he++;
4566
4566
  }
4567
4567
  if (jn[1].type === "listItemPrefix") {
4568
4568
  const Mo = {
@@ -4576,7 +4576,7 @@ function tee(e) {
4576
4576
  }
4577
4577
  }
4578
4578
  }
4579
- return j[K][1]._spread = Ft, he;
4579
+ return j[K][1]._spread = It, he;
4580
4580
  }
4581
4581
  function a(j, K) {
4582
4582
  return he;
@@ -4844,7 +4844,7 @@ function tee(e) {
4844
4844
  alt: null
4845
4845
  };
4846
4846
  }
4847
- function or() {
4847
+ function ar() {
4848
4848
  return {
4849
4849
  type: "link",
4850
4850
  title: null,
@@ -6414,7 +6414,7 @@ class bI {
6414
6414
  * Message.
6415
6415
  */
6416
6416
  message(t, n, r) {
6417
- const i = new ir(
6417
+ const i = new rr(
6418
6418
  // @ts-expect-error: the overloads are fine.
6419
6419
  t,
6420
6420
  n,
@@ -8340,13 +8340,13 @@ function nre(e, t, n) {
8340
8340
  return s5(f) ? (e.consume(f), s) : f === 64 ? (e.consume(f), l) : n(f);
8341
8341
  }
8342
8342
  function l(f) {
8343
- return f === 46 ? e.check(ere, c, u)(f) : f === 45 || f === 95 || Jn(f) ? (a = !0, e.consume(f), l) : c(f);
8343
+ return f === 46 ? e.check(ere, c, u)(f) : f === 45 || f === 95 || Qn(f) ? (a = !0, e.consume(f), l) : c(f);
8344
8344
  }
8345
8345
  function u(f) {
8346
8346
  return e.consume(f), i = !0, l;
8347
8347
  }
8348
8348
  function c(f) {
8349
- return a && i && yr(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(f)) : n(f);
8349
+ return a && i && gr(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(f)) : n(f);
8350
8350
  }
8351
8351
  }
8352
8352
  function rre(e, t, n) {
@@ -8367,7 +8367,7 @@ function ire(e, t, n) {
8367
8367
  return (f === 72 || f === 104) && UI.call(r, r.previous) && !u7(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), i += String.fromCodePoint(f), e.consume(f), s) : n(f);
8368
8368
  }
8369
8369
  function s(f) {
8370
- if (yr(f) && i.length < 5)
8370
+ if (gr(f) && i.length < 5)
8371
8371
  return i += String.fromCodePoint(f), e.consume(f), s;
8372
8372
  if (f === 58) {
8373
8373
  const d = i.toLowerCase();
@@ -8432,10 +8432,10 @@ function lre(e, t, n) {
8432
8432
  return s === null || s === 40 || s === 91 || At(s) || Hu(s) ? t(s) : r(s);
8433
8433
  }
8434
8434
  function a(s) {
8435
- return yr(s) ? o(s) : n(s);
8435
+ return gr(s) ? o(s) : n(s);
8436
8436
  }
8437
8437
  function o(s) {
8438
- return s === 59 ? (e.consume(s), r) : yr(s) ? (e.consume(s), o) : n(s);
8438
+ return s === 59 ? (e.consume(s), r) : gr(s) ? (e.consume(s), o) : n(s);
8439
8439
  }
8440
8440
  }
8441
8441
  function ure(e, t, n) {
@@ -8444,20 +8444,20 @@ function ure(e, t, n) {
8444
8444
  return e.consume(a), i;
8445
8445
  }
8446
8446
  function i(a) {
8447
- return Jn(a) ? n(a) : t(a);
8447
+ return Qn(a) ? n(a) : t(a);
8448
8448
  }
8449
8449
  }
8450
8450
  function BI(e) {
8451
8451
  return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || At(e);
8452
8452
  }
8453
8453
  function UI(e) {
8454
- return !yr(e);
8454
+ return !gr(e);
8455
8455
  }
8456
8456
  function qI(e) {
8457
8457
  return !(e === 47 || s5(e));
8458
8458
  }
8459
8459
  function s5(e) {
8460
- return e === 43 || e === 45 || e === 46 || e === 95 || Jn(e);
8460
+ return e === 43 || e === 45 || e === 46 || e === 95 || Qn(e);
8461
8461
  }
8462
8462
  function u7(e) {
8463
8463
  let t = e.length, n = !1;
@@ -9568,7 +9568,7 @@ class Fs {
9568
9568
  return this.size >= 2;
9569
9569
  }
9570
9570
  }
9571
- var f7 = 0, H1 = 1, gf = 2, Xo = 3, jh = 4, Ci = 5, Of = 6, vr = 7, Ia = [new Fs(f7, 0, !1), new Fs(H1, 0, !0), new Fs(gf, 1, !1), new Fs(Xo, 1, !0), new Fs(jh, 2, !1), new Fs(Ci, 2, !0), new Fs(Of, 3, !1), new Fs(vr, 3, !0)], Jre = [jh, Ci, jh, Ci, Of, vr, Of, vr], eie = [Ci, Ci, Ci, Ci, vr, vr, vr, vr], tie = [gf, Xo, jh, Ci, Of, vr, Of, vr], nie = [Xo, Xo, Ci, Ci, vr, vr, vr, vr], rie = [H1, H1, Xo, Xo, Ci, Ci, vr, vr], iie = [f7, H1, gf, Xo, gf, Xo, gf, Xo], Fe = {
9571
+ var f7 = 0, H1 = 1, gf = 2, Xo = 3, jh = 4, Ci = 5, Of = 6, br = 7, Ia = [new Fs(f7, 0, !1), new Fs(H1, 0, !0), new Fs(gf, 1, !1), new Fs(Xo, 1, !0), new Fs(jh, 2, !1), new Fs(Ci, 2, !0), new Fs(Of, 3, !1), new Fs(br, 3, !0)], Jre = [jh, Ci, jh, Ci, Of, br, Of, br], eie = [Ci, Ci, Ci, Ci, br, br, br, br], tie = [gf, Xo, jh, Ci, Of, br, Of, br], nie = [Xo, Xo, Ci, Ci, br, br, br, br], rie = [H1, H1, Xo, Xo, Ci, Ci, br, br], iie = [f7, H1, gf, Xo, gf, Xo, gf, Xo], Fe = {
9572
9572
  DISPLAY: Ia[f7],
9573
9573
  TEXT: Ia[gf],
9574
9574
  SCRIPT: Ia[jh],
@@ -12850,7 +12850,7 @@ function x(e, t, n, r, i, a) {
12850
12850
  replace: r
12851
12851
  }, a && r && (Nt[e][r] = Nt[e][i]);
12852
12852
  }
12853
- var k = "math", ie = "text", C = "main", L = "ams", qt = "accent-token", be = "bin", Cr = "close", v0 = "inner", De = "mathord", pn = "op-token", gi = "open", Gb = "punct", P = "rel", vs = "spacing", H = "textord";
12853
+ var k = "math", ie = "text", C = "main", L = "ams", qt = "accent-token", be = "bin", Ar = "close", v0 = "inner", De = "mathord", pn = "op-token", gi = "open", Gb = "punct", P = "rel", vs = "spacing", H = "textord";
12854
12854
  x(k, C, P, "≡", "\\equiv", !0);
12855
12855
  x(k, C, P, "≺", "\\prec", !0);
12856
12856
  x(k, C, P, "≻", "\\succ", !0);
@@ -12907,9 +12907,9 @@ x(ie, C, H, "†", "\\textdagger");
12907
12907
  x(k, C, H, "‡", "\\ddag");
12908
12908
  x(ie, C, H, "‡", "\\ddag");
12909
12909
  x(ie, C, H, "‡", "\\textdaggerdbl");
12910
- x(k, C, Cr, "⎱", "\\rmoustache", !0);
12910
+ x(k, C, Ar, "⎱", "\\rmoustache", !0);
12911
12911
  x(k, C, gi, "⎰", "\\lmoustache", !0);
12912
- x(k, C, Cr, "⟯", "\\rgroup", !0);
12912
+ x(k, C, Ar, "⟯", "\\rgroup", !0);
12913
12913
  x(k, C, gi, "⟮", "\\lgroup", !0);
12914
12914
  x(k, C, be, "∓", "\\mp", !0);
12915
12915
  x(k, C, be, "⊖", "\\ominus", !0);
@@ -13041,9 +13041,9 @@ x(k, L, H, "ℷ", "\\gimel", !0);
13041
13041
  x(k, L, H, "ϝ", "\\digamma", !0);
13042
13042
  x(k, L, H, "ϰ", "\\varkappa");
13043
13043
  x(k, L, gi, "┌", "\\@ulcorner", !0);
13044
- x(k, L, Cr, "┐", "\\@urcorner", !0);
13044
+ x(k, L, Ar, "┐", "\\@urcorner", !0);
13045
13045
  x(k, L, gi, "└", "\\@llcorner", !0);
13046
- x(k, L, Cr, "┘", "\\@lrcorner", !0);
13046
+ x(k, L, Ar, "┘", "\\@lrcorner", !0);
13047
13047
  x(k, L, P, "≦", "\\leqq", !0);
13048
13048
  x(k, L, P, "⩽", "\\leqslant", !0);
13049
13049
  x(k, L, P, "⪕", "\\eqslantless", !0);
@@ -13264,11 +13264,11 @@ x(k, C, H, "√", "\\surd");
13264
13264
  x(k, C, gi, "⟨", "\\langle", !0);
13265
13265
  x(k, C, gi, "∣", "\\lvert");
13266
13266
  x(k, C, gi, "∥", "\\lVert");
13267
- x(k, C, Cr, "?", "?");
13268
- x(k, C, Cr, "!", "!");
13269
- x(k, C, Cr, "⟩", "\\rangle", !0);
13270
- x(k, C, Cr, "∣", "\\rvert");
13271
- x(k, C, Cr, "∥", "\\rVert");
13267
+ x(k, C, Ar, "?", "?");
13268
+ x(k, C, Ar, "!", "!");
13269
+ x(k, C, Ar, "⟩", "\\rangle", !0);
13270
+ x(k, C, Ar, "∣", "\\rvert");
13271
+ x(k, C, Ar, "∥", "\\rVert");
13272
13272
  x(k, C, P, "=", "=");
13273
13273
  x(k, C, P, ":", ":");
13274
13274
  x(k, C, P, "≈", "\\approx", !0);
@@ -13324,23 +13324,23 @@ x(k, C, be, "▹", "\\triangleright");
13324
13324
  x(k, C, gi, "{", "\\{");
13325
13325
  x(ie, C, H, "{", "\\{");
13326
13326
  x(ie, C, H, "{", "\\textbraceleft");
13327
- x(k, C, Cr, "}", "\\}");
13327
+ x(k, C, Ar, "}", "\\}");
13328
13328
  x(ie, C, H, "}", "\\}");
13329
13329
  x(ie, C, H, "}", "\\textbraceright");
13330
13330
  x(k, C, gi, "{", "\\lbrace");
13331
- x(k, C, Cr, "}", "\\rbrace");
13331
+ x(k, C, Ar, "}", "\\rbrace");
13332
13332
  x(k, C, gi, "[", "\\lbrack", !0);
13333
13333
  x(ie, C, H, "[", "\\lbrack", !0);
13334
- x(k, C, Cr, "]", "\\rbrack", !0);
13334
+ x(k, C, Ar, "]", "\\rbrack", !0);
13335
13335
  x(ie, C, H, "]", "\\rbrack", !0);
13336
13336
  x(k, C, gi, "(", "\\lparen", !0);
13337
- x(k, C, Cr, ")", "\\rparen", !0);
13337
+ x(k, C, Ar, ")", "\\rparen", !0);
13338
13338
  x(ie, C, H, "<", "\\textless", !0);
13339
13339
  x(ie, C, H, ">", "\\textgreater", !0);
13340
13340
  x(k, C, gi, "⌊", "\\lfloor", !0);
13341
- x(k, C, Cr, "⌋", "\\rfloor", !0);
13341
+ x(k, C, Ar, "⌋", "\\rfloor", !0);
13342
13342
  x(k, C, gi, "⌈", "\\lceil", !0);
13343
- x(k, C, Cr, "⌉", "\\rceil", !0);
13343
+ x(k, C, Ar, "⌉", "\\rceil", !0);
13344
13344
  x(k, C, H, "\\", "\\backslash");
13345
13345
  x(k, C, H, "∣", "|");
13346
13346
  x(k, C, H, "∣", "\\vert");
@@ -13481,9 +13481,9 @@ x(ie, L, H, "Z", "ℤ");
13481
13481
  x(k, C, De, "h", "ℎ");
13482
13482
  x(ie, C, De, "h", "ℎ");
13483
13483
  var ze = "";
13484
- for (var sr = 0; sr < j1.length; sr++) {
13485
- var Xt = j1.charAt(sr);
13486
- ze = String.fromCharCode(55349, 56320 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56372 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56424 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56580 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56684 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56736 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56788 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56840 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56944 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), sr < 26 && (ze = String.fromCharCode(55349, 56632 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56476 + sr), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze));
13484
+ for (var or = 0; or < j1.length; or++) {
13485
+ var Xt = j1.charAt(or);
13486
+ ze = String.fromCharCode(55349, 56320 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56372 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56424 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56580 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56684 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56736 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56788 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56840 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56944 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), or < 26 && (ze = String.fromCharCode(55349, 56632 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze), ze = String.fromCharCode(55349, 56476 + or), x(k, C, De, Xt, ze), x(ie, C, H, Xt, ze));
13487
13487
  }
13488
13488
  ze = "𝕜";
13489
13489
  x(k, C, De, "k", ze);
@@ -16157,10 +16157,10 @@ var fo = function(t, n) {
16157
16157
  unit: "ex"
16158
16158
  }, n) : 12 * f, m = 3 * f, g = t.arraystretch * p, y = 0.7 * g, b = 0.3 * g, v = 0;
16159
16159
  function w(ke) {
16160
- for (var or = 0; or < ke.length; ++or)
16161
- or > 0 && (v += 0.25), u.push({
16160
+ for (var ar = 0; ar < ke.length; ++ar)
16161
+ ar > 0 && (v += 0.25), u.push({
16162
16162
  pos: v,
16163
- isDashed: ke[or]
16163
+ isDashed: ke[ar]
16164
16164
  });
16165
16165
  }
16166
16166
  for (w(o[0]), r = 0; r < t.body.length; ++r) {
@@ -31663,7 +31663,7 @@ function lse(e) {
31663
31663
  const t = e[e.length - 1];
31664
31664
  return typeof t == "object" && t.constructor === Object ? (e.splice(e.length - 1, 1), t) : {};
31665
31665
  }
31666
- function cr(...e) {
31666
+ function ur(...e) {
31667
31667
  return "(" + (lse(e).capture ? "" : "?:") + e.map((r) => XF(r)).join("|") + ")";
31668
31668
  }
31669
31669
  const $7 = (e) => Et(
@@ -31884,7 +31884,7 @@ const $7 = (e) => Et(
31884
31884
  "withVaList",
31885
31885
  "withoutActuallyEscaping",
31886
31886
  "zip"
31887
- ], KF = cr(
31887
+ ], KF = ur(
31888
31888
  /[/=\-+!*%<>&|^~?]/,
31889
31889
  /[\u00A1-\u00A7]/,
31890
31890
  /[\u00A9\u00AB]/,
@@ -31903,7 +31903,7 @@ const $7 = (e) => Et(
31903
31903
  /[\u3001-\u3003]/,
31904
31904
  /[\u3008-\u3020]/,
31905
31905
  /[\u3030]/
31906
- ), ZF = cr(
31906
+ ), ZF = ur(
31907
31907
  KF,
31908
31908
  /[\u0300-\u036F]/,
31909
31909
  /[\u1DC0-\u1DFF]/,
@@ -31912,7 +31912,7 @@ const $7 = (e) => Et(
31912
31912
  /[\uFE20-\uFE2F]/
31913
31913
  // TODO: The following characters are also allowed, but the regex isn't supported yet.
31914
31914
  // /[\u{E0100}-\u{E01EF}]/u
31915
- ), ex = Et(KF, ZF, "*"), QF = cr(
31915
+ ), ex = Et(KF, ZF, "*"), QF = ur(
31916
31916
  /[a-zA-Z_]/,
31917
31917
  /[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,
31918
31918
  /[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,
@@ -31930,14 +31930,14 @@ const $7 = (e) => Et(
31930
31930
  // /[\u{50000}-\u{5FFFD}\u{60000-\u{6FFFD}\u{70000}-\u{7FFFD}\u{80000}-\u{8FFFD}]/u,
31931
31931
  // /[\u{90000}-\u{9FFFD}\u{A0000-\u{AFFFD}\u{B0000}-\u{BFFFD}\u{C0000}-\u{CFFFD}]/u,
31932
31932
  // /[\u{D0000}-\u{DFFFD}\u{E0000-\u{EFFFD}]/u
31933
- ), Y1 = cr(
31933
+ ), Y1 = ur(
31934
31934
  QF,
31935
31935
  /\d/,
31936
31936
  /[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/
31937
31937
  ), Ma = Et(QF, Y1, "*"), Zm = Et(/[A-Z]/, Y1, "*"), hse = [
31938
31938
  "attached",
31939
31939
  "autoclosure",
31940
- Et(/convention\(/, cr("swift", "block", "c"), /\)/),
31940
+ Et(/convention\(/, ur("swift", "block", "c"), /\)/),
31941
31941
  "discardableResult",
31942
31942
  "dynamicCallable",
31943
31943
  "dynamicMemberLookup",
@@ -31996,20 +31996,20 @@ function mse(e) {
31996
31996
  ], i = {
31997
31997
  match: [
31998
31998
  /\./,
31999
- cr(...use, ...ZC)
31999
+ ur(...use, ...ZC)
32000
32000
  ],
32001
32001
  className: { 2: "keyword" }
32002
32002
  }, a = {
32003
32003
  // Consume .keyword to prevent highlighting properties and methods as keywords.
32004
- match: Et(/\./, cr(...Jv)),
32004
+ match: Et(/\./, ur(...Jv)),
32005
32005
  relevance: 0
32006
32006
  }, o = Jv.filter(($e) => typeof $e == "string").concat(["_|0"]), s = Jv.filter(($e) => typeof $e != "string").concat(cse).map($7), l = { variants: [
32007
32007
  {
32008
32008
  className: "keyword",
32009
- match: cr(...s, ...ZC)
32009
+ match: ur(...s, ...ZC)
32010
32010
  }
32011
32011
  ] }, u = {
32012
- $pattern: cr(
32012
+ $pattern: ur(
32013
32013
  /\b\w+/,
32014
32014
  // regular keywords
32015
32015
  /#\w+/
@@ -32023,11 +32023,11 @@ function mse(e) {
32023
32023
  l
32024
32024
  ], f = {
32025
32025
  // Consume .built_in to prevent highlighting properties and methods.
32026
- match: Et(/\./, cr(...JC)),
32026
+ match: Et(/\./, ur(...JC)),
32027
32027
  relevance: 0
32028
32028
  }, d = {
32029
32029
  className: "built_in",
32030
- match: Et(/\b/, cr(...JC), /(?=\()/)
32030
+ match: Et(/\b/, ur(...JC), /(?=\()/)
32031
32031
  }, h = [
32032
32032
  f,
32033
32033
  d
@@ -32165,7 +32165,7 @@ function mse(e) {
32165
32165
  ] }
32166
32166
  }, W = {
32167
32167
  scope: "keyword",
32168
- match: Et(/@/, cr(...hse), vd(cr(/\(/, /\s+/)))
32168
+ match: Et(/@/, ur(...hse), vd(ur(/\(/, /\s+/)))
32169
32169
  }, A = {
32170
32170
  scope: "meta",
32171
32171
  match: Et(/@/, Ma)
@@ -32249,7 +32249,7 @@ function mse(e) {
32249
32249
  X
32250
32250
  ]
32251
32251
  }, Ee = {
32252
- begin: cr(
32252
+ begin: ur(
32253
32253
  vd(Et(Ma, /\s*:/)),
32254
32254
  vd(Et(Ma, /\s+/, Ma, /\s*:/))
32255
32255
  ),
@@ -32286,7 +32286,7 @@ function mse(e) {
32286
32286
  match: [
32287
32287
  /(func|macro)/,
32288
32288
  /\s+/,
32289
- cr(F.match, Ma, ex)
32289
+ ur(F.match, Ma, ex)
32290
32290
  ],
32291
32291
  className: {
32292
32292
  1: "keyword",
@@ -32393,7 +32393,7 @@ function mse(e) {
32393
32393
  ]
32394
32394
  };
32395
32395
  for (const $e of M.variants) {
32396
- const wt = $e.contains.find((or) => or.label === "interpol");
32396
+ const wt = $e.contains.find((ar) => ar.label === "interpol");
32397
32397
  wt.keywords = u;
32398
32398
  const ke = [
32399
32399
  ...c,
@@ -34563,12 +34563,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = D, W = U), q ===
34563
34563
  he += ft.substring(j, K.index);
34564
34564
  const ve = je.case_insensitive ? K[0].toLowerCase() : K[0], Pe = V(ke, ve);
34565
34565
  if (Pe) {
34566
- const [Ft, vi] = Pe;
34567
- if (Ht.addText(he), he = "", A[ve] = (A[ve] || 0) + 1, A[ve] <= ple && (To += vi), Ft.startsWith("_"))
34566
+ const [It, vi] = Pe;
34567
+ if (Ht.addText(he), he = "", A[ve] = (A[ve] || 0) + 1, A[ve] <= ple && (To += vi), It.startsWith("_"))
34568
34568
  he += K[0];
34569
34569
  else {
34570
- const $r = je.classNameAliases[Ft] || Ft;
34571
- ne(K[0], $r);
34570
+ const Nr = je.classNameAliases[It] || It;
34571
+ ne(K[0], Nr);
34572
34572
  }
34573
34573
  } else
34574
34574
  he += K[0];
@@ -34584,7 +34584,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = D, W = U), q ===
34584
34584
  Ht.addText(ft);
34585
34585
  return;
34586
34586
  }
34587
- j = f(ke.subLanguage, ft, !0, or[ke.subLanguage]), or[ke.subLanguage] = /** @type {CompiledMode} */
34587
+ j = f(ke.subLanguage, ft, !0, ar[ke.subLanguage]), ar[ke.subLanguage] = /** @type {CompiledMode} */
34588
34588
  j._top;
34589
34589
  } else
34590
34590
  j = h(ft, ke.subLanguage.length ? ke.subLanguage : null);
@@ -34604,8 +34604,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = D, W = U), q ===
34604
34604
  he++;
34605
34605
  continue;
34606
34606
  }
34607
- const Pe = je.classNameAliases[j[he]] || j[he], Ft = K[he];
34608
- Pe ? ne(Ft, Pe) : (ft = Ft, X(), ft = ""), he++;
34607
+ const Pe = je.classNameAliases[j[he]] || j[he], It = K[he];
34608
+ Pe ? ne(It, Pe) : (ft = It, X(), ft = ""), he++;
34609
34609
  }
34610
34610
  }
34611
34611
  function Ee(j, K) {
@@ -34632,8 +34632,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = D, W = U), q ===
34632
34632
  }
34633
34633
  function ce(j) {
34634
34634
  const K = j[0], he = j.rule, ve = new eT(he), Pe = [he.__beforeBegin, he["on:begin"]];
34635
- for (const Ft of Pe)
34636
- if (Ft && (Ft(j, ve), ve.isMatchIgnored))
34635
+ for (const It of Pe)
34636
+ if (It && (It(j, ve), ve.isMatchIgnored))
34637
34637
  return ee(K);
34638
34638
  return he.skip ? ft += K : (he.excludeBegin && (ft += K), re(), !he.returnBegin && !he.excludeBegin && (ft = K)), Ee(he, j), he.returnBegin ? 0 : K.length;
34639
34639
  }
@@ -34688,7 +34688,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = D, W = U), q ===
34688
34688
  throw Mu(a.replace("{}", D)), new Error('Unknown language: "' + D + '"');
34689
34689
  const $e = cle(je);
34690
34690
  let wt = "", ke = W || $e;
34691
- const or = {}, Ht = new s.__emitter(s);
34691
+ const ar = {}, Ht = new s.__emitter(s);
34692
34692
  G();
34693
34693
  let ft = "", To = 0, bi = 0, $s = 0, Os = !1;
34694
34694
  try {
@@ -35560,7 +35560,7 @@ function eue(e) {
35560
35560
  return r && s || l && s;
35561
35561
  }
35562
35562
  const tue = ({ children: e, ...t }) => /* @__PURE__ */ Q("div", { className: ki.table_container, children: /* @__PURE__ */ Q("table", { ...t, children: e }) }), nue = ({ children: e, className: t, ...n }) => /* @__PURE__ */ Q("code", { className: `hljs ${t || ""}`, ...n, children: e }), rue = ({ children: e, href: t, ...n }) => {
35563
- const { defaultLinkTarget: r } = F7(), { botMessage: i } = ar(), a = zt(
35563
+ const { defaultLinkTarget: r } = F7(), { botMessage: i } = ir(), a = Lt(
35564
35564
  (o) => {
35565
35565
  o.preventDefault(), t && EL(t, r || "_blank");
35566
35566
  },
@@ -35597,7 +35597,7 @@ const tue = ({ children: e, ...t }) => /* @__PURE__ */ Q("div", { className: ki.
35597
35597
  ) : /* @__PURE__ */ Q("div", { className: e, ...t })
35598
35598
  };
35599
35599
  function _L(e, t = 100) {
35600
- const [n, r] = cn([]), [i, a] = cn(""), o = Ja(/* @__PURE__ */ new Map()), s = zt((c) => c || "", []), l = zt((c) => c ? (c.includes(`
35600
+ const [n, r] = cn([]), [i, a] = cn(""), o = Ja(/* @__PURE__ */ new Map()), s = Lt((c) => c || "", []), l = Lt((c) => c ? (c.includes(`
35601
35601
 
35602
35602
  `) ? c.split(/\n\s*\n/) : [c]).map((d) => ({
35603
35603
  raw: d + (c.includes(`
@@ -35816,9 +35816,9 @@ function fT(e) {
35816
35816
  var o;
35817
35817
  const { children: t, theme: n = {} } = e, {
35818
35818
  data: { annotations: r }
35819
- } = SL(), i = zt(
35819
+ } = SL(), i = Lt(
35820
35820
  function() {
35821
- var f, d, h, p, m, g, y, b, v, w, E, _, S, N, M, T, O, z, B, F, R, D, U, q, W, A, V, X, I, re, ne, pe, Ee, we, ee, ce, xe, G, Ge, Le, je, $e, wt, ke, or, Ht, ft, To, bi, $s, Os, j, K, he, ve, Pe, Ft, vi, $r, Rs, Ds, jn, Mo, xi, kS, SS, AS, CS, TS, MS, NS, $S, OS, RS, DS, IS, FS, LS, zS, PS, BS, US, qS, HS, jS, WS, GS, VS, YS, XS, KS, ZS, QS, JS, eA, tA, nA;
35821
+ var f, d, h, p, m, g, y, b, v, w, E, _, S, N, M, T, O, z, B, F, R, D, U, q, W, A, V, X, I, re, ne, pe, Ee, we, ee, ce, xe, G, Ge, Le, je, $e, wt, ke, ar, Ht, ft, To, bi, $s, Os, j, K, he, ve, Pe, It, vi, Nr, Rs, Ds, jn, Mo, xi, kS, SS, AS, CS, TS, MS, NS, $S, OS, RS, DS, IS, FS, LS, zS, PS, BS, US, qS, HS, jS, WS, GS, VS, YS, XS, KS, ZS, QS, JS, eA, tA, nA;
35822
35822
  const s = ((f = r == null ? void 0 : r.embedConfig) == null ? void 0 : f.theme) ?? {
35823
35823
  chatbot: {},
35824
35824
  botMessage: {},
@@ -35927,7 +35927,7 @@ function fT(e) {
35927
35927
  button: {
35928
35928
  style: {
35929
35929
  borderColor: (wt = ($e = s.chatbot) == null ? void 0 : $e.primaryComponent) == null ? void 0 : wt.mainColor,
35930
- backgroundColor: (or = (ke = s.chatbot) == null ? void 0 : ke.primaryComponent) == null ? void 0 : or.mainColor,
35930
+ backgroundColor: (ar = (ke = s.chatbot) == null ? void 0 : ke.primaryComponent) == null ? void 0 : ar.mainColor,
35931
35931
  color: (ft = (Ht = s.chatbot) == null ? void 0 : Ht.primaryComponent) == null ? void 0 : ft.secondaryColor
35932
35932
  }
35933
35933
  }
@@ -35948,12 +35948,12 @@ function fT(e) {
35948
35948
  },
35949
35949
  title: {
35950
35950
  style: {
35951
- color: (vi = (Ft = u.chatbot) == null ? void 0 : Ft.primaryComponent) == null ? void 0 : vi.secondaryColor
35951
+ color: (vi = (It = u.chatbot) == null ? void 0 : It.primaryComponent) == null ? void 0 : vi.secondaryColor
35952
35952
  }
35953
35953
  },
35954
35954
  actionButton: {
35955
35955
  style: {
35956
- color: ($r = u.chatbot) == null ? void 0 : $r.inactiveColor
35956
+ color: (Nr = u.chatbot) == null ? void 0 : Nr.inactiveColor
35957
35957
  }
35958
35958
  }
35959
35959
  },
@@ -36058,7 +36058,7 @@ function fT(e) {
36058
36058
  ), a = rn(() => i(), [i]);
36059
36059
  return /* @__PURE__ */ Q(AL.Provider, { value: a, children: t });
36060
36060
  }
36061
- function ar() {
36061
+ function ir() {
36062
36062
  return zb(AL);
36063
36063
  }
36064
36064
  const CL = Lb({
@@ -36143,7 +36143,7 @@ function TL(e) {
36143
36143
  } else for (n in e) e[n] && (r && (r += " "), r += n);
36144
36144
  return r;
36145
36145
  }
36146
- function It() {
36146
+ function Pt() {
36147
36147
  for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = TL(e)) && (r && (r += " "), r += t);
36148
36148
  return r;
36149
36149
  }
@@ -36163,7 +36163,7 @@ function ML(e) {
36163
36163
  }
36164
36164
  ) : /* @__PURE__ */ Q(uue, {});
36165
36165
  }
36166
- const cue = (e) => /* @__PURE__ */ kt.createElement("svg", { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", ...e }, /* @__PURE__ */ kt.createElement("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }), /* @__PURE__ */ kt.createElement("circle", { cx: 12, cy: 12, r: 3 })), fue = (e) => /* @__PURE__ */ kt.createElement("svg", { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", ...e }, /* @__PURE__ */ kt.createElement("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }), /* @__PURE__ */ kt.createElement("line", { x1: 1, y1: 1, x2: 23, y2: 23 })), due = "_api_key_input_1g4tc_1", hue = "_api_key_input__header_1g4tc_18", pue = "_api_key_input__icon_1g4tc_26", mue = "_api_key_input__title_1g4tc_31", gue = "_api_key_input__form_1g4tc_38", yue = "_api_key_input__label_1g4tc_45", bue = "_api_key_input__input_wrapper_1g4tc_52", vue = "_api_key_input__input_1g4tc_52", xue = "_api_key_input__toggle_button_1g4tc_93", wue = "_api_key_input__toggle_icon_1g4tc_118", Eue = "_api_key_input__error_message_1g4tc_123", _ue = "_api_key_input__submit_button_1g4tc_129", Wn = {
36166
+ const cue = (e) => /* @__PURE__ */ kt.createElement("svg", { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", ...e }, /* @__PURE__ */ kt.createElement("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }), /* @__PURE__ */ kt.createElement("circle", { cx: 12, cy: 12, r: 3 })), fue = (e) => /* @__PURE__ */ kt.createElement("svg", { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", ...e }, /* @__PURE__ */ kt.createElement("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }), /* @__PURE__ */ kt.createElement("line", { x1: 1, y1: 1, x2: 23, y2: 23 })), due = "_api_key_input_ygz4i_1", hue = "_api_key_input__header_ygz4i_18", pue = "_api_key_input__icon_ygz4i_26", mue = "_api_key_input__title_ygz4i_31", gue = "_api_key_input__form_ygz4i_38", yue = "_api_key_input__label_ygz4i_45", bue = "_api_key_input__input_wrapper_ygz4i_52", vue = "_api_key_input__input_ygz4i_52", xue = "_api_key_input__toggle_button_ygz4i_93", wue = "_api_key_input__toggle_icon_ygz4i_118", Eue = "_api_key_input__error_message_ygz4i_123", _ue = "_api_key_input__submit_button_ygz4i_129", $r = {
36167
36167
  api_key_input: due,
36168
36168
  api_key_input__header: hue,
36169
36169
  api_key_input__icon: pue,
@@ -36172,8 +36172,8 @@ const cue = (e) => /* @__PURE__ */ kt.createElement("svg", { width: 16, height:
36172
36172
  api_key_input__label: yue,
36173
36173
  api_key_input__input_wrapper: bue,
36174
36174
  api_key_input__input: vue,
36175
- "api_key_input__input--error": "_api_key_input__input--error_1g4tc_84",
36176
- "api_key_input__input--disabled": "_api_key_input__input--disabled_1g4tc_88",
36175
+ "api_key_input__input--error": "_api_key_input__input--error_ygz4i_84",
36176
+ "api_key_input__input--disabled": "_api_key_input__input--disabled_ygz4i_88",
36177
36177
  api_key_input__toggle_button: xue,
36178
36178
  api_key_input__toggle_icon: wue,
36179
36179
  api_key_input__error_message: Eue,
@@ -36189,7 +36189,7 @@ function hT({
36189
36189
  className: o
36190
36190
  }) {
36191
36191
  var g, y;
36192
- const [s, l] = cn(""), [u, c] = cn(!1), { chatbot: f } = ar(), { avatar: d } = yi(), h = (b) => {
36192
+ const [s, l] = cn(""), [u, c] = cn(!1), { chatbot: f } = ir(), { avatar: d } = yi(), h = (b) => {
36193
36193
  b.preventDefault(), s.trim() && !t && e(s.trim());
36194
36194
  }, p = (b) => {
36195
36195
  l(b.target.value);
@@ -36199,20 +36199,20 @@ function hT({
36199
36199
  return /* @__PURE__ */ nt(
36200
36200
  "div",
36201
36201
  {
36202
- className: It(Wn.api_key_input, o),
36202
+ className: Pt($r.api_key_input, o),
36203
36203
  style: {
36204
36204
  backgroundColor: f.backgroundColor,
36205
36205
  borderColor: f.borderColor
36206
36206
  },
36207
36207
  children: [
36208
- /* @__PURE__ */ nt("div", { className: Wn.api_key_input__header, children: [
36208
+ /* @__PURE__ */ nt("div", { className: $r.api_key_input__header, children: [
36209
36209
  /* @__PURE__ */ Q(ML, { avatar: d }),
36210
- /* @__PURE__ */ Q("h2", { className: Wn.api_key_input__title, style: (y = (g = f == null ? void 0 : f.header) == null ? void 0 : g.title) == null ? void 0 : y.style, children: i })
36210
+ /* @__PURE__ */ Q("h2", { className: $r.api_key_input__title, style: (y = (g = f == null ? void 0 : f.header) == null ? void 0 : g.title) == null ? void 0 : y.style, children: i })
36211
36211
  ] }),
36212
- /* @__PURE__ */ nt("form", { onSubmit: h, className: Wn.api_key_input__form, children: [
36213
- /* @__PURE__ */ nt("div", { className: Wn.inputGroup, children: [
36214
- /* @__PURE__ */ Q("label", { className: Wn.api_key_input__label, children: "Key" }),
36215
- /* @__PURE__ */ nt("div", { className: Wn.api_key_input__input_wrapper, children: [
36212
+ /* @__PURE__ */ nt("form", { onSubmit: h, className: $r.api_key_input__form, children: [
36213
+ /* @__PURE__ */ nt("div", { children: [
36214
+ /* @__PURE__ */ Q("label", { className: $r.api_key_input__label, children: "Key" }),
36215
+ /* @__PURE__ */ nt("div", { className: $r.api_key_input__input_wrapper, children: [
36216
36216
  /* @__PURE__ */ Q(
36217
36217
  "input",
36218
36218
  {
@@ -36220,9 +36220,9 @@ function hT({
36220
36220
  value: s,
36221
36221
  onChange: p,
36222
36222
  placeholder: r,
36223
- className: It(Wn.api_key_input__input, {
36224
- [Wn["api_key_input__input--error"]]: n,
36225
- [Wn["api_key_input__input--disabled"]]: t
36223
+ className: Pt($r.api_key_input__input, {
36224
+ [$r["api_key_input__input--error"]]: n,
36225
+ [$r["api_key_input__input--disabled"]]: t
36226
36226
  }),
36227
36227
  disabled: t,
36228
36228
  autoComplete: "off"
@@ -36233,23 +36233,21 @@ function hT({
36233
36233
  {
36234
36234
  type: "button",
36235
36235
  onClick: m,
36236
- className: Wn.api_key_input__toggle_button,
36236
+ className: $r.api_key_input__toggle_button,
36237
36237
  disabled: t,
36238
36238
  "aria-label": u ? "Hide password" : "Show password",
36239
- children: u ? /* @__PURE__ */ Q(fue, { className: Wn.api_key_input__toggle_icon }) : /* @__PURE__ */ Q(cue, { className: Wn.api_key_input__toggle_icon })
36239
+ children: u ? /* @__PURE__ */ Q(fue, { className: $r.api_key_input__toggle_icon }) : /* @__PURE__ */ Q(cue, { className: $r.api_key_input__toggle_icon })
36240
36240
  }
36241
36241
  )
36242
36242
  ] }),
36243
- n && /* @__PURE__ */ Q("div", { className: Wn.api_key_input__error_message, children: n })
36243
+ n && /* @__PURE__ */ Q("div", { className: $r.api_key_input__error_message, children: n })
36244
36244
  ] }),
36245
36245
  /* @__PURE__ */ Q(
36246
36246
  "button",
36247
36247
  {
36248
36248
  type: "submit",
36249
36249
  disabled: !s.trim() || t,
36250
- className: It(Wn.api_key_input__submit_button, {
36251
- [Wn["api_key_input__submit_button--loading"]]: t
36252
- }),
36250
+ className: $r.api_key_input__submit_button,
36253
36251
  style: {
36254
36252
  backgroundColor: f == null ? void 0 : f.mainColor,
36255
36253
  color: f == null ? void 0 : f.secondaryColor
@@ -36276,7 +36274,7 @@ function pT(e) {
36276
36274
  onClose: r,
36277
36275
  customActions: i,
36278
36276
  maintainConnectionWhenClosed: a
36279
- } = e, { chatbot: o } = ar(), {
36277
+ } = e, { chatbot: o } = ir(), {
36280
36278
  data: { annotations: s }
36281
36279
  } = SL(), { avatar: l, isResetting: u, resetChannel: c, closeChannel: f } = yi(), d = rn(
36282
36280
  () => ({
@@ -36284,12 +36282,12 @@ function pT(e) {
36284
36282
  borderBottomColor: o == null ? void 0 : o.borderColor
36285
36283
  }),
36286
36284
  [o]
36287
- ), h = zt(
36285
+ ), h = Lt(
36288
36286
  (E) => {
36289
36287
  u || (E.stopPropagation(), n == null || n(), c == null || c());
36290
36288
  },
36291
36289
  [u, n, c]
36292
- ), p = zt(
36290
+ ), p = Lt(
36293
36291
  (E) => {
36294
36292
  u || (E.stopPropagation(), r == null || r(), a || f == null || f());
36295
36293
  },
@@ -36298,7 +36296,7 @@ function pT(e) {
36298
36296
  return /* @__PURE__ */ Q(
36299
36297
  "div",
36300
36298
  {
36301
- className: It("asgard-chatbot-header", Jm.chatbot_header),
36299
+ className: Pt("asgard-chatbot-header", Jm.chatbot_header),
36302
36300
  style: (m = o == null ? void 0 : o.header) == null ? void 0 : m.style,
36303
36301
  children: /* @__PURE__ */ nt("div", { className: Jm.chatbot_header__content, style: d, children: [
36304
36302
  /* @__PURE__ */ nt("div", { className: Jm.chatbot_header__title, children: [
@@ -36335,10 +36333,10 @@ function ju(e) {
36335
36333
  const { type: t, direction: n = "horizontal", children: r, style: i, className: a } = e, o = rn(() => {
36336
36334
  switch (t) {
36337
36335
  case "user":
36338
- return It(Uc.template_box, Uc["template_box--user"]);
36336
+ return Pt(Uc.template_box, Uc["template_box--user"]);
36339
36337
  case "bot":
36340
36338
  default:
36341
- return It(
36339
+ return Pt(
36342
36340
  Uc.template_box,
36343
36341
  Uc["template_box--bot"],
36344
36342
  n === "horizontal" ? Uc["template_box--horizontal"] : Uc["template_box--vertical"]
@@ -36348,7 +36346,7 @@ function ju(e) {
36348
36346
  return /* @__PURE__ */ Q(
36349
36347
  "div",
36350
36348
  {
36351
- className: It("asgard-template-box", o, a),
36349
+ className: Pt("asgard-template-box", o, a),
36352
36350
  style: i,
36353
36351
  children: r
36354
36352
  }
@@ -36363,14 +36361,14 @@ const Oue = "_template_box_content_fs2wk_1", Rue = "_content_fs2wk_8", gT = {
36363
36361
  };
36364
36362
  function Fue(e) {
36365
36363
  var s;
36366
- const { quickReplies: t } = e, { template: n, botMessage: r } = ar(), { sendMessage: i, isConnecting: a } = yi(), o = zt(
36364
+ const { quickReplies: t } = e, { template: n, botMessage: r } = ir(), { sendMessage: i, isConnecting: a } = yi(), o = Lt(
36367
36365
  (l) => i == null ? void 0 : i({ text: l }),
36368
36366
  [i]
36369
36367
  );
36370
36368
  return t != null && t.length ? /* @__PURE__ */ Q(
36371
36369
  "div",
36372
36370
  {
36373
- className: It("asgard-quick-replies", yT.quick_replies_box),
36371
+ className: Pt("asgard-quick-replies", yT.quick_replies_box),
36374
36372
  style: (s = n == null ? void 0 : n.quickReplies) == null ? void 0 : s.style,
36375
36373
  children: t.map((l) => {
36376
36374
  var u, c, f, d, h;
@@ -36405,7 +36403,7 @@ const Lue = "_time_rgg92_1", zue = {
36405
36403
  };
36406
36404
  function e2(e) {
36407
36405
  var a, o;
36408
- const { time: t, className: n } = e, { template: r } = ar(), i = rn(
36406
+ const { time: t, className: n } = e, { template: r } = ir(), i = rn(
36409
36407
  () => {
36410
36408
  var s, l;
36411
36409
  return {
@@ -36417,7 +36415,7 @@ function e2(e) {
36417
36415
  return t ? /* @__PURE__ */ Q(
36418
36416
  "div",
36419
36417
  {
36420
- className: It("asgard-time", zue.time, n),
36418
+ className: Pt("asgard-time", zue.time, n),
36421
36419
  style: i,
36422
36420
  children: x5(t)
36423
36421
  }
@@ -36428,7 +36426,7 @@ function w0(e) {
36428
36426
  return /* @__PURE__ */ nt(
36429
36427
  "div",
36430
36428
  {
36431
- className: It(
36429
+ className: Pt(
36432
36430
  "asgard-template-box-content",
36433
36431
  gT.template_box_content
36434
36432
  ),
@@ -36451,9 +36449,9 @@ const Pue = "_bot_avatar_xrs9x_1", bT = {
36451
36449
  {
36452
36450
  src: t,
36453
36451
  alt: "Bot Avatar",
36454
- className: It("asgard-avatar", bT.bot_avatar)
36452
+ className: Pt("asgard-avatar", bT.bot_avatar)
36455
36453
  }
36456
- ) : /* @__PURE__ */ Q("div", { className: It("asgard-avatar", bT.bot_avatar), children: /* @__PURE__ */ Q(Bue, {}) });
36454
+ ) : /* @__PURE__ */ Q("div", { className: Pt("asgard-avatar", bT.bot_avatar), children: /* @__PURE__ */ Q(Bue, {}) });
36457
36455
  }), Uue = "_card_root_1qjc0_1", que = "_card_content_1qjc0_12", Hue = "_card_title_1qjc0_20", jue = "_card_description_1qjc0_26", Wue = "_card_actions_1qjc0_41", xd = {
36458
36456
  card_root: Uue,
36459
36457
  card_content: que,
@@ -36474,7 +36472,7 @@ function $L(e) {
36474
36472
  default:
36475
36473
  return "1.51 / 1";
36476
36474
  }
36477
- }, [t]), l = zt(
36475
+ }, [t]), l = Lt(
36478
36476
  (c) => function() {
36479
36477
  switch (c.type) {
36480
36478
  case "message":
@@ -36505,7 +36503,7 @@ function $L(e) {
36505
36503
  return /* @__PURE__ */ nt(
36506
36504
  "div",
36507
36505
  {
36508
- className: It("asgard-card", xd.card_root),
36506
+ className: Pt("asgard-card", xd.card_root),
36509
36507
  style: n == null ? void 0 : n.style,
36510
36508
  children: [
36511
36509
  (t == null ? void 0 : t.thumbnailImageUrl) && /* @__PURE__ */ Q(
@@ -36544,7 +36542,7 @@ function $L(e) {
36544
36542
  }
36545
36543
  function Gue(e) {
36546
36544
  var a, o, s;
36547
- const { message: t } = e, { template: n } = ar(), { avatar: r } = yi(), i = t.message.template;
36545
+ const { message: t } = e, { template: n } = ir(), { avatar: r } = yi(), i = t.message.template;
36548
36546
  return /* @__PURE__ */ nt(
36549
36547
  ju,
36550
36548
  {
@@ -36578,7 +36576,7 @@ function Gue(e) {
36578
36576
  }
36579
36577
  function vT(e) {
36580
36578
  var u, c, f, d;
36581
- const { message: t } = e, { avatar: n } = yi(), r = ar(), { botMessage: i } = r, { htmlBlocks: a, lastTypingText: o } = _L(
36579
+ const { message: t } = e, { avatar: n } = yi(), r = ir(), { botMessage: i } = r, { htmlBlocks: a, lastTypingText: o } = _L(
36582
36580
  ((u = t == null ? void 0 : t.message) == null ? void 0 : u.text) || "",
36583
36581
  20
36584
36582
  ), s = (f = (c = r == null ? void 0 : r.template) == null ? void 0 : c.TextMessageTemplate) == null ? void 0 : f.style, l = rn(() => {
@@ -36612,7 +36610,7 @@ function vT(e) {
36612
36610
  /* @__PURE__ */ Q(
36613
36611
  "div",
36614
36612
  {
36615
- className: It(ki.text, ki["text--user"]),
36613
+ className: Pt(ki.text, ki["text--user"]),
36616
36614
  style: l,
36617
36615
  children: t.text
36618
36616
  }
@@ -36637,7 +36635,7 @@ function vT(e) {
36637
36635
  children: /* @__PURE__ */ nt(
36638
36636
  "div",
36639
36637
  {
36640
- className: It(ki.text, ki["text--bot"]),
36638
+ className: Pt(ki.text, ki["text--bot"]),
36641
36639
  style: l,
36642
36640
  children: [
36643
36641
  a,
@@ -36652,7 +36650,7 @@ function vT(e) {
36652
36650
  );
36653
36651
  }
36654
36652
  function OL(e) {
36655
- const { isTyping: t, typingText: n } = e, { messageBoxBottomRef: r, avatar: i } = yi(), a = ar(), o = Ja(null), s = zt(() => {
36653
+ const { isTyping: t, typingText: n } = e, { messageBoxBottomRef: r, avatar: i } = yi(), a = ir(), o = Ja(null), s = Lt(() => {
36656
36654
  var h;
36657
36655
  (h = r.current) == null || h.scrollIntoView({ behavior: "smooth" });
36658
36656
  }, [r]);
@@ -36690,7 +36688,7 @@ function OL(e) {
36690
36688
  "div",
36691
36689
  {
36692
36690
  ref: o,
36693
- className: It(ki.text, ki["text--bot"]),
36691
+ className: Pt(ki.text, ki["text--bot"]),
36694
36692
  style: f,
36695
36693
  children: /* @__PURE__ */ nt("span", { children: [
36696
36694
  u,
@@ -36722,7 +36720,7 @@ const Yue = "_carousel_root_sv1hc_1", Xue = "_carousel_time_sv1hc_12", xT = {
36722
36720
  };
36723
36721
  function Kue(e) {
36724
36722
  var a, o;
36725
- const { message: t } = e, { template: n } = ar(), { avatar: r } = yi(), i = t.message.template;
36723
+ const { message: t } = e, { template: n } = ir(), { avatar: r } = yi(), i = t.message.template;
36726
36724
  return /* @__PURE__ */ nt(
36727
36725
  ju,
36728
36726
  {
@@ -36758,7 +36756,7 @@ const Zue = "_hint_root_1hmle_1", Que = "_hint_root__error_1hmle_14", Jue = "_er
36758
36756
  };
36759
36757
  function wT(e) {
36760
36758
  var s, l;
36761
- const { message: t } = e, { template: n } = ar(), { onErrorClick: r, errorMessageRenderer: i } = F7(), a = zt(() => {
36759
+ const { message: t } = e, { template: n } = ir(), { onErrorClick: r, errorMessageRenderer: i } = F7(), a = Lt(() => {
36762
36760
  r == null || r(t);
36763
36761
  }, [t, r]);
36764
36762
  if (t.type === "user") return null;
@@ -36766,7 +36764,7 @@ function wT(e) {
36766
36764
  return /* @__PURE__ */ Q(
36767
36765
  "div",
36768
36766
  {
36769
- className: It(
36767
+ className: Pt(
36770
36768
  "asgard-hint-template asgard-hint-template--error",
36771
36769
  Jl.hint_root
36772
36770
  ),
@@ -36794,7 +36792,7 @@ function wT(e) {
36794
36792
  return o.type !== du.HINT ? null : /* @__PURE__ */ nt(
36795
36793
  "div",
36796
36794
  {
36797
- className: It(
36795
+ className: Pt(
36798
36796
  "asgard-hint-template asgard-hint-template--hint",
36799
36797
  Jl.hint_root
36800
36798
  ),
@@ -38154,8 +38152,8 @@ let Bce = class Na {
38154
38152
  return this.raw = this.format(), this.build.length && (this.raw += `+${this.build.join(".")}`), this;
38155
38153
  }
38156
38154
  };
38157
- var Tr = Bce;
38158
- const FT = Tr, Uce = (e, t, n = !1) => {
38155
+ var Cr = Bce;
38156
+ const FT = Cr, Uce = (e, t, n = !1) => {
38159
38157
  if (e instanceof FT)
38160
38158
  return e;
38161
38159
  try {
@@ -38177,7 +38175,7 @@ const Wce = _0, Gce = (e, t) => {
38177
38175
  return n ? n.version : null;
38178
38176
  };
38179
38177
  var Vce = Gce;
38180
- const LT = Tr, Yce = (e, t, n, r, i) => {
38178
+ const LT = Cr, Yce = (e, t, n, r, i) => {
38181
38179
  typeof n == "string" && (i = r, r = n, n = void 0);
38182
38180
  try {
38183
38181
  return new LT(
@@ -38204,24 +38202,24 @@ const zT = _0, Kce = (e, t) => {
38204
38202
  return n.major !== r.major ? c + "major" : n.minor !== r.minor ? c + "minor" : n.patch !== r.patch ? c + "patch" : "prerelease";
38205
38203
  };
38206
38204
  var Zce = Kce;
38207
- const Qce = Tr, Jce = (e, t) => new Qce(e, t).major;
38205
+ const Qce = Cr, Jce = (e, t) => new Qce(e, t).major;
38208
38206
  var efe = Jce;
38209
- const tfe = Tr, nfe = (e, t) => new tfe(e, t).minor;
38207
+ const tfe = Cr, nfe = (e, t) => new tfe(e, t).minor;
38210
38208
  var rfe = nfe;
38211
- const ife = Tr, afe = (e, t) => new ife(e, t).patch;
38209
+ const ife = Cr, afe = (e, t) => new ife(e, t).patch;
38212
38210
  var ofe = afe;
38213
38211
  const sfe = _0, lfe = (e, t) => {
38214
38212
  const n = sfe(e, t);
38215
38213
  return n && n.prerelease.length ? n.prerelease : null;
38216
38214
  };
38217
38215
  var ufe = lfe;
38218
- const PT = Tr, cfe = (e, t, n) => new PT(e, n).compare(new PT(t, n));
38216
+ const PT = Cr, cfe = (e, t, n) => new PT(e, n).compare(new PT(t, n));
38219
38217
  var ga = cfe;
38220
38218
  const ffe = ga, dfe = (e, t, n) => ffe(t, e, n);
38221
38219
  var hfe = dfe;
38222
38220
  const pfe = ga, mfe = (e, t) => pfe(e, t, !0);
38223
38221
  var gfe = mfe;
38224
- const BT = Tr, yfe = (e, t, n) => {
38222
+ const BT = Cr, yfe = (e, t, n) => {
38225
38223
  const r = new BT(e, n), i = new BT(t, n);
38226
38224
  return r.compare(i) || r.compareBuild(i);
38227
38225
  };
@@ -38267,7 +38265,7 @@ const Ffe = UL, Lfe = qL, zfe = i2, Pfe = H7, Bfe = q7, Ufe = j7, qfe = (e, t, n
38267
38265
  }
38268
38266
  };
38269
38267
  var HL = qfe;
38270
- const Hfe = Tr, jfe = _0, { safeRe: ag, t: og } = Pp, Wfe = (e, t) => {
38268
+ const Hfe = Cr, jfe = _0, { safeRe: ag, t: og } = Pp, Wfe = (e, t) => {
38271
38269
  if (e instanceof Hfe)
38272
38270
  return e;
38273
38271
  if (typeof e == "number" && (e = String(e)), typeof e != "string")
@@ -38397,7 +38395,7 @@ function ya() {
38397
38395
  }
38398
38396
  }
38399
38397
  cx = t;
38400
- const n = Yfe, r = new n(), i = B7, a = a2(), o = r2, s = Tr, {
38398
+ const n = Yfe, r = new n(), i = B7, a = a2(), o = r2, s = Cr, {
38401
38399
  safeRe: l,
38402
38400
  t: u,
38403
38401
  comparatorTrimReplace: c,
@@ -38494,7 +38492,7 @@ function a2() {
38494
38492
  }
38495
38493
  }
38496
38494
  fx = t;
38497
- const n = B7, { safeRe: r, t: i } = Pp, a = HL, o = r2, s = Tr, l = ya();
38495
+ const n = B7, { safeRe: r, t: i } = Pp, a = HL, o = r2, s = Cr, l = ya();
38498
38496
  return fx;
38499
38497
  }
38500
38498
  const Xfe = ya(), Kfe = (e, t, n) => {
@@ -38508,7 +38506,7 @@ const Xfe = ya(), Kfe = (e, t, n) => {
38508
38506
  var o2 = Kfe;
38509
38507
  const Zfe = ya(), Qfe = (e, t) => new Zfe(e, t).set.map((n) => n.map((r) => r.value).join(" ").trim().split(" "));
38510
38508
  var Jfe = Qfe;
38511
- const e0e = Tr, t0e = ya(), n0e = (e, t, n) => {
38509
+ const e0e = Cr, t0e = ya(), n0e = (e, t, n) => {
38512
38510
  let r = null, i = null, a = null;
38513
38511
  try {
38514
38512
  a = new t0e(t, n);
@@ -38520,7 +38518,7 @@ const e0e = Tr, t0e = ya(), n0e = (e, t, n) => {
38520
38518
  }), r;
38521
38519
  };
38522
38520
  var r0e = n0e;
38523
- const i0e = Tr, a0e = ya(), o0e = (e, t, n) => {
38521
+ const i0e = Cr, a0e = ya(), o0e = (e, t, n) => {
38524
38522
  let r = null, i = null, a = null;
38525
38523
  try {
38526
38524
  a = new a0e(t, n);
@@ -38532,7 +38530,7 @@ const i0e = Tr, a0e = ya(), o0e = (e, t, n) => {
38532
38530
  }), r;
38533
38531
  };
38534
38532
  var s0e = o0e;
38535
- const dx = Tr, l0e = ya(), HT = i2, u0e = (e, t) => {
38533
+ const dx = Cr, l0e = ya(), HT = i2, u0e = (e, t) => {
38536
38534
  e = new l0e(e, t);
38537
38535
  let n = new dx("0.0.0");
38538
38536
  if (e.test(n) || (n = new dx("0.0.0-0"), e.test(n)))
@@ -38569,7 +38567,7 @@ const f0e = ya(), d0e = (e, t) => {
38569
38567
  }
38570
38568
  };
38571
38569
  var h0e = d0e;
38572
- const p0e = Tr, jL = a2(), { ANY: m0e } = jL, g0e = ya(), y0e = o2, jT = i2, WT = q7, b0e = j7, v0e = H7, x0e = (e, t, n, r) => {
38570
+ const p0e = Cr, jL = a2(), { ANY: m0e } = jL, g0e = ya(), y0e = o2, jT = i2, WT = q7, b0e = j7, v0e = H7, x0e = (e, t, n, r) => {
38573
38571
  e = new p0e(e, r), t = new g0e(t, r);
38574
38572
  let i, a, o, s, l;
38575
38573
  switch (n) {
@@ -38699,7 +38697,7 @@ const VT = ya(), G7 = a2(), { ANY: hx } = G7, wd = o2, V7 = ga, O0e = (e, t, n =
38699
38697
  return r < 0 ? e : r > 0 || t.operator === "<" && e.operator === "<=" ? t : e;
38700
38698
  };
38701
38699
  var I0e = O0e;
38702
- const px = Pp, ZT = n2, F0e = Tr, QT = BL, L0e = _0, z0e = jce, P0e = Vce, B0e = Xce, U0e = Zce, q0e = efe, H0e = rfe, j0e = ofe, W0e = ufe, G0e = ga, V0e = hfe, Y0e = gfe, X0e = U7, K0e = xfe, Z0e = _fe, Q0e = i2, J0e = q7, ede = UL, tde = qL, nde = H7, rde = j7, ide = HL, ade = Gfe, ode = a2(), sde = ya(), lde = o2, ude = Jfe, cde = r0e, fde = s0e, dde = c0e, hde = h0e, pde = W7, mde = _0e, gde = A0e, yde = T0e, bde = $0e, vde = I0e;
38700
+ const px = Pp, ZT = n2, F0e = Cr, QT = BL, L0e = _0, z0e = jce, P0e = Vce, B0e = Xce, U0e = Zce, q0e = efe, H0e = rfe, j0e = ofe, W0e = ufe, G0e = ga, V0e = hfe, Y0e = gfe, X0e = U7, K0e = xfe, Z0e = _fe, Q0e = i2, J0e = q7, ede = UL, tde = qL, nde = H7, rde = j7, ide = HL, ade = Gfe, ode = a2(), sde = ya(), lde = o2, ude = Jfe, cde = r0e, fde = s0e, dde = c0e, hde = h0e, pde = W7, mde = _0e, gde = A0e, yde = T0e, bde = $0e, vde = I0e;
38703
38701
  var WL = {
38704
38702
  parse: L0e,
38705
38703
  valid: z0e,
@@ -39727,7 +39725,7 @@ function spe(e, t) {
39727
39725
  const n = ope(e, t);
39728
39726
  return n && Math.sqrt(n);
39729
39727
  }
39730
- class Er {
39728
+ class wr {
39731
39729
  constructor() {
39732
39730
  this._partials = new Float64Array(32), this._n = 0;
39733
39731
  }
@@ -40393,27 +40391,27 @@ function Dz(e, t, n, r, i, a) {
40393
40391
  }
40394
40392
  return [s, l];
40395
40393
  }
40396
- const [Vpe, Ype] = Dz(to, Zh, N0, Rz, y2, m2), [Xpe, Kpe] = Dz(eo, Kh, M0, Qo, g2, p2), Bn = "year", Ur = "quarter", tr = "month", yn = "week", qr = "date", Qn = "day", no = "dayofyear", di = "hours", hi = "minutes", Li = "seconds", ua = "milliseconds", s8 = [Bn, Ur, tr, yn, qr, Qn, no, di, hi, Li, ua], wx = s8.reduce((e, t, n) => (e[t] = 1 + n, e), {});
40394
+ const [Vpe, Ype] = Dz(to, Zh, N0, Rz, y2, m2), [Xpe, Kpe] = Dz(eo, Kh, M0, Qo, g2, p2), Bn = "year", Ur = "quarter", er = "month", yn = "week", qr = "date", Zn = "day", no = "dayofyear", di = "hours", hi = "minutes", Li = "seconds", ua = "milliseconds", s8 = [Bn, Ur, er, yn, qr, Zn, no, di, hi, Li, ua], wx = s8.reduce((e, t, n) => (e[t] = 1 + n, e), {});
40397
40395
  function l8(e) {
40398
40396
  const t = Ope(e).slice(), n = {};
40399
40397
  return t.length || bf("Missing time unit."), t.forEach((i) => {
40400
40398
  Fpe(wx, i) ? n[i] = 1 : bf(`Invalid time unit: ${i}.`);
40401
- }), (n[yn] || n[Qn] ? 1 : 0) + (n[Ur] || n[tr] || n[qr] ? 1 : 0) + (n[no] ? 1 : 0) > 1 && bf(`Incompatible time units: ${e}`), t.sort((i, a) => wx[i] - wx[a]), t;
40399
+ }), (n[yn] || n[Zn] ? 1 : 0) + (n[Ur] || n[er] || n[qr] ? 1 : 0) + (n[no] ? 1 : 0) > 1 && bf(`Incompatible time units: ${e}`), t.sort((i, a) => wx[i] - wx[a]), t;
40402
40400
  }
40403
40401
  const Zpe = {
40404
40402
  [Bn]: "%Y ",
40405
40403
  [Ur]: "Q%q ",
40406
- [tr]: "%b ",
40404
+ [er]: "%b ",
40407
40405
  [qr]: "%d ",
40408
40406
  [yn]: "W%U ",
40409
- [Qn]: "%a ",
40407
+ [Zn]: "%a ",
40410
40408
  [no]: "%j ",
40411
40409
  [di]: "%H:00",
40412
40410
  [hi]: "00:%M",
40413
40411
  [Li]: ":%S",
40414
40412
  [ua]: ".%L",
40415
- [`${Bn}-${tr}`]: "%Y-%m ",
40416
- [`${Bn}-${tr}-${qr}`]: "%Y-%m-%d ",
40413
+ [`${Bn}-${er}`]: "%Y-%m ",
40414
+ [`${Bn}-${er}-${qr}`]: "%Y-%m-%d ",
40417
40415
  [`${di}-${hi}`]: "%H:%M"
40418
40416
  };
40419
40417
  function Iz(e, t) {
@@ -40478,7 +40476,7 @@ function Jpe(e, t, n, r, i, a, o) {
40478
40476
  return new Date(Date.UTC(e, t, n, r, i, a, o));
40479
40477
  }
40480
40478
  function qz(e, t, n, r, i) {
40481
- const a = t || 1, o = Oz(e), s = (y, b, v) => (v = v || y, eme(n[v], r[v], y === o && a, b)), l = /* @__PURE__ */ new Date(), u = zpe(e), c = u[Bn] ? s(Bn) : Dpe(2012), f = u[tr] ? s(tr) : u[Ur] ? s(Ur) : kd, d = u[yn] && u[Qn] ? s(Qn, 1, yn + Qn) : u[yn] ? s(yn, 1) : u[Qn] ? s(Qn, 1) : u[qr] ? s(qr, 1) : u[no] ? s(no, 1) : Npe, h = u[di] ? s(di) : kd, p = u[hi] ? s(hi) : kd, m = u[Li] ? s(Li) : kd, g = u[ua] ? s(ua) : kd;
40479
+ const a = t || 1, o = Oz(e), s = (y, b, v) => (v = v || y, eme(n[v], r[v], y === o && a, b)), l = /* @__PURE__ */ new Date(), u = zpe(e), c = u[Bn] ? s(Bn) : Dpe(2012), f = u[er] ? s(er) : u[Ur] ? s(Ur) : kd, d = u[yn] && u[Zn] ? s(Zn, 1, yn + Zn) : u[yn] ? s(yn, 1) : u[Zn] ? s(Zn, 1) : u[qr] ? s(qr, 1) : u[no] ? s(no, 1) : Npe, h = u[di] ? s(di) : kd, p = u[hi] ? s(hi) : kd, m = u[Li] ? s(Li) : kd, g = u[ua] ? s(ua) : kd;
40482
40480
  return function(y) {
40483
40481
  l.setTime(+y);
40484
40482
  const b = c(l);
@@ -40495,7 +40493,7 @@ function Pf(e, t, n) {
40495
40493
  const tme = {
40496
40494
  [Bn]: (e) => e.getFullYear(),
40497
40495
  [Ur]: (e) => Math.floor(e.getMonth() / 3),
40498
- [tr]: (e) => e.getMonth(),
40496
+ [er]: (e) => e.getMonth(),
40499
40497
  [qr]: (e) => e.getDate(),
40500
40498
  [di]: (e) => e.getHours(),
40501
40499
  [hi]: (e) => e.getMinutes(),
@@ -40503,8 +40501,8 @@ const tme = {
40503
40501
  [ua]: (e) => e.getMilliseconds(),
40504
40502
  [no]: (e) => zz(e),
40505
40503
  [yn]: (e) => I5(e),
40506
- [yn + Qn]: (e, t) => Pf(I5(e), e.getDay(), F5(t)),
40507
- [Qn]: (e, t) => Pf(1, e.getDay(), F5(t))
40504
+ [yn + Zn]: (e, t) => Pf(I5(e), e.getDay(), F5(t)),
40505
+ [Zn]: (e, t) => Pf(1, e.getDay(), F5(t))
40508
40506
  }, nme = {
40509
40507
  [Ur]: (e) => 3 * e,
40510
40508
  [yn]: (e, t) => Pf(e, 0, F5(t))
@@ -40515,7 +40513,7 @@ function Hz(e, t) {
40515
40513
  const rme = {
40516
40514
  [Bn]: (e) => e.getUTCFullYear(),
40517
40515
  [Ur]: (e) => Math.floor(e.getUTCMonth() / 3),
40518
- [tr]: (e) => e.getUTCMonth(),
40516
+ [er]: (e) => e.getUTCMonth(),
40519
40517
  [qr]: (e) => e.getUTCDate(),
40520
40518
  [di]: (e) => e.getUTCHours(),
40521
40519
  [hi]: (e) => e.getUTCMinutes(),
@@ -40523,8 +40521,8 @@ const rme = {
40523
40521
  [ua]: (e) => e.getUTCMilliseconds(),
40524
40522
  [no]: (e) => Uz(e),
40525
40523
  [yn]: (e) => L5(e),
40526
- [Qn]: (e, t) => Pf(1, e.getUTCDay(), z5(t)),
40527
- [yn + Qn]: (e, t) => Pf(L5(e), e.getUTCDay(), z5(t))
40524
+ [Zn]: (e, t) => Pf(1, e.getUTCDay(), z5(t)),
40525
+ [yn + Zn]: (e, t) => Pf(L5(e), e.getUTCDay(), z5(t))
40528
40526
  }, ime = {
40529
40527
  [Ur]: (e) => 3 * e,
40530
40528
  [yn]: (e, t) => Pf(e, 0, z5(t))
@@ -40535,10 +40533,10 @@ function jz(e, t) {
40535
40533
  const ame = {
40536
40534
  [Bn]: eo,
40537
40535
  [Ur]: Kh.every(3),
40538
- [tr]: Kh,
40536
+ [er]: Kh,
40539
40537
  [yn]: M0,
40540
40538
  [qr]: Qo,
40541
- [Qn]: Qo,
40539
+ [Zn]: Qo,
40542
40540
  [no]: Qo,
40543
40541
  [di]: g2,
40544
40542
  [hi]: p2,
@@ -40547,10 +40545,10 @@ const ame = {
40547
40545
  }, ome = {
40548
40546
  [Bn]: to,
40549
40547
  [Ur]: Zh.every(3),
40550
- [tr]: Zh,
40548
+ [er]: Zh,
40551
40549
  [yn]: N0,
40552
40550
  [qr]: il,
40553
- [Qn]: il,
40551
+ [Zn]: il,
40554
40552
  [no]: il,
40555
40553
  [di]: y2,
40556
40554
  [hi]: m2,
@@ -40581,7 +40579,7 @@ function Xz(e, t, n, r) {
40581
40579
  function Kz(e, t, n, r) {
40582
40580
  return Yz(O0(e), t, n, r);
40583
40581
  }
40584
- const Kd = 1e3, Zd = Kd * 60, Qd = Zd * 60, b2 = Qd * 24, sme = b2 * 7, fM = b2 * 30, P5 = b2 * 365, Zz = [Bn, tr, qr, di, hi, Li, ua], Jd = Zz.slice(0, -1), eh = Jd.slice(0, -1), th = eh.slice(0, -1), lme = th.slice(0, -1), ume = [Bn, yn], dM = [Bn, tr], Qz = [Bn], Sd = [[Jd, 1, Kd], [Jd, 5, 5 * Kd], [Jd, 15, 15 * Kd], [Jd, 30, 30 * Kd], [eh, 1, Zd], [eh, 5, 5 * Zd], [eh, 15, 15 * Zd], [eh, 30, 30 * Zd], [th, 1, Qd], [th, 3, 3 * Qd], [th, 6, 6 * Qd], [th, 12, 12 * Qd], [lme, 1, b2], [ume, 1, sme], [dM, 1, fM], [dM, 3, 3 * fM], [Qz, 1, P5]];
40582
+ const Kd = 1e3, Zd = Kd * 60, Qd = Zd * 60, b2 = Qd * 24, sme = b2 * 7, fM = b2 * 30, P5 = b2 * 365, Zz = [Bn, er, qr, di, hi, Li, ua], Jd = Zz.slice(0, -1), eh = Jd.slice(0, -1), th = eh.slice(0, -1), lme = th.slice(0, -1), ume = [Bn, yn], dM = [Bn, er], Qz = [Bn], Sd = [[Jd, 1, Kd], [Jd, 5, 5 * Kd], [Jd, 15, 15 * Kd], [Jd, 30, 30 * Kd], [eh, 1, Zd], [eh, 5, 5 * Zd], [eh, 15, 15 * Zd], [eh, 30, 30 * Zd], [th, 1, Qd], [th, 3, 3 * Qd], [th, 6, 6 * Qd], [th, 12, 12 * Qd], [lme, 1, b2], [ume, 1, sme], [dM, 1, fM], [dM, 3, 3 * fM], [Qz, 1, P5]];
40585
40583
  function Jz(e) {
40586
40584
  const t = e.extent, n = e.maxbins || 40, r = Math.abs(Lpe(t)) / n;
40587
40585
  let i = C0((s) => s[2]).right(Sd, r), a, o;
@@ -41228,7 +41226,7 @@ function sy(e) {
41228
41226
  }
41229
41227
  function kM(e, t, n) {
41230
41228
  n = n || {}, mme(n) || _h(`Invalid time multi-format specifier: ${n}`);
41231
- const r = t(Li), i = t(hi), a = t(di), o = t(qr), s = t(yn), l = t(tr), u = t(Ur), c = t(Bn), f = e(n[ua] || ".%L"), d = e(n[Li] || ":%S"), h = e(n[hi] || "%I:%M"), p = e(n[di] || "%I %p"), m = e(n[qr] || n[Qn] || "%a %d"), g = e(n[yn] || "%b %d"), y = e(n[tr] || "%B"), b = e(n[Ur] || "%B"), v = e(n[Bn] || "%Y");
41229
+ const r = t(Li), i = t(hi), a = t(di), o = t(qr), s = t(yn), l = t(er), u = t(Ur), c = t(Bn), f = e(n[ua] || ".%L"), d = e(n[Li] || ":%S"), h = e(n[hi] || "%I:%M"), p = e(n[di] || "%I %p"), m = e(n[qr] || n[Zn] || "%a %d"), g = e(n[yn] || "%b %d"), y = e(n[er] || "%B"), b = e(n[Ur] || "%B"), v = e(n[Bn] || "%Y");
41232
41230
  return (w) => (r(w) < w ? f : i(w) < w ? d : a(w) < w ? h : o(w) < w ? p : l(w) < w ? s(w) < w ? m : g : c(w) < w ? u(w) < w ? y : b : v)(w);
41233
41231
  }
41234
41232
  function cP(e) {
@@ -42543,7 +42541,7 @@ function OP(e) {
42543
42541
  function RP(e) {
42544
42542
  return e == null || e === "" ? null : +e;
42545
42543
  }
42546
- function hr(e) {
42544
+ function dr(e) {
42547
42545
  return e != null ? $P(e) ? e : [e] : [];
42548
42546
  }
42549
42547
  function DP(e) {
@@ -42551,9 +42549,9 @@ function DP(e) {
42551
42549
  }
42552
42550
  const k1e = "descending";
42553
42551
  function S1e(e, t, n) {
42554
- n = n || {}, t = hr(t) || [];
42552
+ n = n || {}, t = dr(t) || [];
42555
42553
  const r = [], i = [], a = {}, o = n.comparator || A1e;
42556
- return hr(e).forEach((s, l) => {
42554
+ return dr(e).forEach((s, l) => {
42557
42555
  s != null && (r.push(t[l] === k1e ? -1 : 1), i.push(s = DP(s) ? s : Jh(s, null, n)), (ro(s) || []).forEach((u) => a[u] = 1));
42558
42556
  }), i.length === 0 ? null : ba(o(i, r), Object.keys(a));
42559
42557
  }
@@ -42665,7 +42663,7 @@ function Xe(e, t, n) {
42665
42663
  }), x8(r, n);
42666
42664
  }
42667
42665
  function $1e(e, t, n) {
42668
- e && (e = t ? hr(e).map((s) => s.replace(/\\(.)/g, "$1")) : hr(e));
42666
+ e && (e = t ? dr(e).map((s) => s.replace(/\\(.)/g, "$1")) : dr(e));
42669
42667
  const r = e && e.length, i = TP, a = (s) => i(t ? [s] : MP(s));
42670
42668
  let o;
42671
42669
  if (!r)
@@ -43631,12 +43629,12 @@ Xe(yl, Z, {
43631
43629
  init(e) {
43632
43630
  const t = this._inputs = [], n = this._outputs = [], r = {};
43633
43631
  function i(b) {
43634
- const v = hr(ro(b)), w = v.length;
43632
+ const v = dr(ro(b)), w = v.length;
43635
43633
  let E = 0, _;
43636
43634
  for (; E < w; ++E)
43637
43635
  r[_ = v[E]] || (r[_] = 1, t.push(_));
43638
43636
  }
43639
- this._dims = hr(e.groupby), this._dnames = this._dims.map((b) => {
43637
+ this._dims = dr(e.groupby), this._dnames = this._dims.map((b) => {
43640
43638
  const v = Pr(b);
43641
43639
  return i(b), n.push(v), v;
43642
43640
  }), this.cellkey = e.key ? e.key : j5(this._dims), this._countOnly = !0, this._counts = [], this._measures = [];
@@ -44305,7 +44303,7 @@ function aB(e) {
44305
44303
  }
44306
44304
  Xe(aB, St);
44307
44305
  function dye(e) {
44308
- return this.value && !e.modified() ? this.value : $P(e.name) ? hr(e.name).map((t) => Jh(t)) : Jh(e.name, e.as);
44306
+ return this.value && !e.modified() ? this.value : $P(e.name) ? dr(e.name).map((t) => Jh(t)) : Jh(e.name, e.as);
44309
44307
  }
44310
44308
  function X8(e) {
44311
44309
  Z.call(this, w8(), e);
@@ -44656,8 +44654,8 @@ Xe(lB, Z, {
44656
44654
  transform(e, t) {
44657
44655
  const n = t.dataflow;
44658
44656
  return this._pending ? Ax(this, t, this._pending) : bye(e) ? t.StopPropagation : e.values ? Ax(this, t, n.parse(e.values, e.format)) : e.async ? {
44659
- async: n.request(e.url, e.format).then((i) => (this._pending = hr(i.data), (a) => a.touch(this)))
44660
- } : n.request(e.url, e.format).then((r) => Ax(this, t, hr(r.data)));
44657
+ async: n.request(e.url, e.format).then((i) => (this._pending = dr(i.data), (a) => a.touch(this)))
44658
+ } : n.request(e.url, e.format).then((r) => Ax(this, t, dr(r.data)));
44661
44659
  }
44662
44660
  });
44663
44661
  function bye(e) {
@@ -45243,10 +45241,10 @@ function Cye(e, t, n) {
45243
45241
  }
45244
45242
  const Tye = Object.keys(np);
45245
45243
  function vB(e) {
45246
- const t = hr(e.ops), n = hr(e.fields), r = hr(e.params), i = hr(e.aggregate_params), a = hr(e.as), o = this.outputs = [], s = this.windows = [], l = {}, u = {}, c = [], f = [];
45244
+ const t = dr(e.ops), n = dr(e.fields), r = dr(e.params), i = dr(e.aggregate_params), a = dr(e.as), o = this.outputs = [], s = this.windows = [], l = {}, u = {}, c = [], f = [];
45247
45245
  let d = !0;
45248
45246
  function h(p) {
45249
- hr(ro(p)).forEach((m) => l[m] = 1);
45247
+ dr(ro(p)).forEach((m) => l[m] = 1);
45250
45248
  }
45251
45249
  h(e.sort), t.forEach((p, m) => {
45252
45250
  const g = n[m], y = r[m], b = i[m] || null, v = Pr(g), w = YP(p, v, a[m]);
@@ -45550,7 +45548,7 @@ function mt(e) {
45550
45548
  return e;
45551
45549
  };
45552
45550
  }
45553
- const PM = Math.abs, Gn = Math.atan2, eu = Math.cos, Hye = Math.max, Cx = Math.min, Ca = Math.sin, _u = Math.sqrt, Yn = 1e-12, Uf = Math.PI, uy = Uf / 2, SB = 2 * Uf;
45551
+ const PM = Math.abs, Wn = Math.atan2, eu = Math.cos, Hye = Math.max, Cx = Math.min, Ca = Math.sin, _u = Math.sqrt, Vn = 1e-12, Uf = Math.PI, uy = Uf / 2, SB = 2 * Uf;
45554
45552
  function jye(e) {
45555
45553
  return e > 1 ? 0 : e < -1 ? Uf : Math.acos(e);
45556
45554
  }
@@ -45653,7 +45651,7 @@ function Zye(e) {
45653
45651
  }
45654
45652
  function Qye(e, t, n, r, i, a, o, s) {
45655
45653
  var l = n - e, u = r - t, c = o - i, f = s - a, d = f * l - c * u;
45656
- if (!(d * d < Yn))
45654
+ if (!(d * d < Vn))
45657
45655
  return d = (c * (t - a) - f * (e - i)) / d, [e + d * l, t + d * u];
45658
45656
  }
45659
45657
  function hg(e, t, n, r, i, a, o) {
@@ -45671,17 +45669,17 @@ function Jye() {
45671
45669
  var e = Vye, t = Yye, n = mt(0), r = null, i = Xye, a = Kye, o = Zye, s = null, l = O2(u);
45672
45670
  function u() {
45673
45671
  var c, f, d = +e.apply(this, arguments), h = +t.apply(this, arguments), p = i.apply(this, arguments) - uy, m = a.apply(this, arguments) - uy, g = PM(m - p), y = m > p;
45674
- if (s || (s = c = l()), h < d && (f = h, h = d, d = f), !(h > Yn)) s.moveTo(0, 0);
45675
- else if (g > SB - Yn)
45676
- s.moveTo(h * eu(p), h * Ca(p)), s.arc(0, 0, h, p, m, !y), d > Yn && (s.moveTo(d * eu(m), d * Ca(m)), s.arc(0, 0, d, m, p, y));
45672
+ if (s || (s = c = l()), h < d && (f = h, h = d, d = f), !(h > Vn)) s.moveTo(0, 0);
45673
+ else if (g > SB - Vn)
45674
+ s.moveTo(h * eu(p), h * Ca(p)), s.arc(0, 0, h, p, m, !y), d > Vn && (s.moveTo(d * eu(m), d * Ca(m)), s.arc(0, 0, d, m, p, y));
45677
45675
  else {
45678
- var b = p, v = m, w = p, E = m, _ = g, S = g, N = o.apply(this, arguments) / 2, M = N > Yn && (r ? +r.apply(this, arguments) : _u(d * d + h * h)), T = Cx(PM(h - d) / 2, +n.apply(this, arguments)), O = T, z = T, B, F;
45679
- if (M > Yn) {
45676
+ var b = p, v = m, w = p, E = m, _ = g, S = g, N = o.apply(this, arguments) / 2, M = N > Vn && (r ? +r.apply(this, arguments) : _u(d * d + h * h)), T = Cx(PM(h - d) / 2, +n.apply(this, arguments)), O = T, z = T, B, F;
45677
+ if (M > Vn) {
45680
45678
  var R = BM(M / d * Ca(N)), D = BM(M / h * Ca(N));
45681
- (_ -= R * 2) > Yn ? (R *= y ? 1 : -1, w += R, E -= R) : (_ = 0, w = E = (p + m) / 2), (S -= D * 2) > Yn ? (D *= y ? 1 : -1, b += D, v -= D) : (S = 0, b = v = (p + m) / 2);
45679
+ (_ -= R * 2) > Vn ? (R *= y ? 1 : -1, w += R, E -= R) : (_ = 0, w = E = (p + m) / 2), (S -= D * 2) > Vn ? (D *= y ? 1 : -1, b += D, v -= D) : (S = 0, b = v = (p + m) / 2);
45682
45680
  }
45683
45681
  var U = h * eu(b), q = h * Ca(b), W = d * eu(E), A = d * Ca(E);
45684
- if (T > Yn) {
45682
+ if (T > Vn) {
45685
45683
  var V = h * eu(v), X = h * Ca(v), I = d * eu(w), re = d * Ca(w), ne;
45686
45684
  if (g < Uf)
45687
45685
  if (ne = Qye(U, q, I, re, V, X, W, A)) {
@@ -45690,7 +45688,7 @@ function Jye() {
45690
45688
  } else
45691
45689
  O = z = 0;
45692
45690
  }
45693
- S > Yn ? z > Yn ? (B = hg(I, re, U, q, h, z, y), F = hg(V, X, W, A, h, z, y), s.moveTo(B.cx + B.x01, B.cy + B.y01), z < T ? s.arc(B.cx, B.cy, z, Gn(B.y01, B.x01), Gn(F.y01, F.x01), !y) : (s.arc(B.cx, B.cy, z, Gn(B.y01, B.x01), Gn(B.y11, B.x11), !y), s.arc(0, 0, h, Gn(B.cy + B.y11, B.cx + B.x11), Gn(F.cy + F.y11, F.cx + F.x11), !y), s.arc(F.cx, F.cy, z, Gn(F.y11, F.x11), Gn(F.y01, F.x01), !y))) : (s.moveTo(U, q), s.arc(0, 0, h, b, v, !y)) : s.moveTo(U, q), !(d > Yn) || !(_ > Yn) ? s.lineTo(W, A) : O > Yn ? (B = hg(W, A, V, X, d, -O, y), F = hg(U, q, I, re, d, -O, y), s.lineTo(B.cx + B.x01, B.cy + B.y01), O < T ? s.arc(B.cx, B.cy, O, Gn(B.y01, B.x01), Gn(F.y01, F.x01), !y) : (s.arc(B.cx, B.cy, O, Gn(B.y01, B.x01), Gn(B.y11, B.x11), !y), s.arc(0, 0, d, Gn(B.cy + B.y11, B.cx + B.x11), Gn(F.cy + F.y11, F.cx + F.x11), y), s.arc(F.cx, F.cy, O, Gn(F.y11, F.x11), Gn(F.y01, F.x01), !y))) : s.arc(0, 0, d, E, w, y);
45691
+ S > Vn ? z > Vn ? (B = hg(I, re, U, q, h, z, y), F = hg(V, X, W, A, h, z, y), s.moveTo(B.cx + B.x01, B.cy + B.y01), z < T ? s.arc(B.cx, B.cy, z, Wn(B.y01, B.x01), Wn(F.y01, F.x01), !y) : (s.arc(B.cx, B.cy, z, Wn(B.y01, B.x01), Wn(B.y11, B.x11), !y), s.arc(0, 0, h, Wn(B.cy + B.y11, B.cx + B.x11), Wn(F.cy + F.y11, F.cx + F.x11), !y), s.arc(F.cx, F.cy, z, Wn(F.y11, F.x11), Wn(F.y01, F.x01), !y))) : (s.moveTo(U, q), s.arc(0, 0, h, b, v, !y)) : s.moveTo(U, q), !(d > Vn) || !(_ > Vn) ? s.lineTo(W, A) : O > Vn ? (B = hg(W, A, V, X, d, -O, y), F = hg(U, q, I, re, d, -O, y), s.lineTo(B.cx + B.x01, B.cy + B.y01), O < T ? s.arc(B.cx, B.cy, O, Wn(B.y01, B.x01), Wn(F.y01, F.x01), !y) : (s.arc(B.cx, B.cy, O, Wn(B.y01, B.x01), Wn(B.y11, B.x11), !y), s.arc(0, 0, d, Wn(B.cy + B.y11, B.cx + B.x11), Wn(F.cy + F.y11, F.cx + F.x11), y), s.arc(F.cx, F.cy, O, Wn(F.y11, F.x11), Wn(F.y01, F.x01), !y))) : s.arc(0, 0, d, E, w, y);
45694
45692
  }
45695
45693
  if (s.closePath(), c) return s = null, c + "" || null;
45696
45694
  }
@@ -46172,11 +46170,11 @@ const lbe = function e(t) {
46172
46170
  }(0);
46173
46171
  function gE(e, t, n) {
46174
46172
  var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
46175
- if (e._l01_a > Yn) {
46173
+ if (e._l01_a > Vn) {
46176
46174
  var s = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, l = 3 * e._l01_a * (e._l01_a + e._l12_a);
46177
46175
  r = (r * s - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / l, i = (i * s - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / l;
46178
46176
  }
46179
- if (e._l23_a > Yn) {
46177
+ if (e._l23_a > Vn) {
46180
46178
  var u = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, c = 3 * e._l23_a * (e._l23_a + e._l12_a);
46181
46179
  a = (a * u + e._x1 * e._l23_2a - t * e._l12_2a) / c, o = (o * u + e._y1 * e._l23_2a - n * e._l12_2a) / c;
46182
46180
  }
@@ -50518,8 +50516,8 @@ class p_ extends im {
50518
50516
  return Si(c, 0), n._svg;
50519
50517
  c.setAttribute("class", kq(n));
50520
50518
  const f = Fq(n);
50521
- for (const m in f) fr(c, m, f[m]);
50522
- u || fr(c, "pointer-events", l), fr(c, "clip-path", n.clip ? WE(this, n, n.group) : null);
50519
+ for (const m in f) cr(c, m, f[m]);
50520
+ u || cr(c, "pointer-events", l), cr(c, "clip-path", n.clip ? WE(this, n, n.group) : null);
50523
50521
  let d = null, h = 0;
50524
50522
  const p = (m) => {
50525
50523
  const g = this.isDirty(m), y = zN(m, c, d, s.tag, a);
@@ -50534,7 +50532,7 @@ class p_ extends im {
50534
50532
  * @param {Item} item - The mark item.
50535
50533
  */
50536
50534
  _update(t, n, r) {
50537
- Vo = n, Kn = n.__values__, Iq(Ch, r), t.attr(Ch, r, this);
50535
+ Vo = n, Xn = n.__values__, Iq(Ch, r), t.attr(Ch, r, this);
50538
50536
  const i = Hxe[t.type];
50539
50537
  i && i.call(this, t, n, r), Vo && this.style(Vo, r);
50540
50538
  }
@@ -50547,9 +50545,9 @@ class p_ extends im {
50547
50545
  if (n != null) {
50548
50546
  for (const r in Ny) {
50549
50547
  let i = r === "font" ? rm(n) : n[r];
50550
- if (i === Kn[r]) continue;
50548
+ if (i === Xn[r]) continue;
50551
50549
  const a = Ny[r];
50552
- i == null ? t.removeAttribute(a) : (qE(i) && (i = JU(i, this._defs.gradient, qq())), t.setAttribute(a, i + "")), Kn[r] = i;
50550
+ i == null ? t.removeAttribute(a) : (qE(i) && (i = JU(i, this._defs.gradient, qq())), t.setAttribute(a, i + "")), Xn[r] = i;
50553
50551
  }
50554
50552
  for (const r in $y)
50555
50553
  y1(t, $y[r], n[r]);
@@ -50653,19 +50651,19 @@ function zN(e, t, n, r, i) {
50653
50651
  function qxe(e, t) {
50654
50652
  return e.parentNode && e.parentNode.childNodes.length > 1 && e.previousSibling != t;
50655
50653
  }
50656
- let Vo = null, Kn = null;
50654
+ let Vo = null, Xn = null;
50657
50655
  const Hxe = {
50658
50656
  group(e, t, n) {
50659
50657
  const r = Vo = t.childNodes[2];
50660
- Kn = r.__values__, e.foreground(Ch, n, this), Kn = t.__values__, Vo = t.childNodes[1], e.content(Ch, n, this);
50658
+ Xn = r.__values__, e.foreground(Ch, n, this), Xn = t.__values__, Vo = t.childNodes[1], e.content(Ch, n, this);
50661
50659
  const i = Vo = t.childNodes[0];
50662
50660
  e.background(Ch, n, this);
50663
50661
  const a = n.mark.interactive === !1 ? "none" : null;
50664
- if (a !== Kn.events && (fr(r, "pointer-events", a), fr(i, "pointer-events", a), Kn.events = a), n.strokeForeground && n.stroke) {
50662
+ if (a !== Xn.events && (cr(r, "pointer-events", a), cr(i, "pointer-events", a), Xn.events = a), n.strokeForeground && n.stroke) {
50665
50663
  const o = n.fill;
50666
- fr(r, "display", null), this.style(i, n), fr(i, "stroke", null), o && (n.fill = null), Kn = r.__values__, this.style(r, n), o && (n.fill = o), Vo = null;
50664
+ cr(r, "display", null), this.style(i, n), cr(i, "stroke", null), o && (n.fill = null), Xn = r.__values__, this.style(r, n), o && (n.fill = o), Vo = null;
50667
50665
  } else
50668
- fr(r, "display", "none");
50666
+ cr(r, "display", "none");
50669
50667
  },
50670
50668
  image(e, t, n) {
50671
50669
  n.smooth === !1 ? (y1(t, "image-rendering", "optimizeSpeed"), y1(t, "image-rendering", "pixelated")) : y1(t, "image-rendering", null);
@@ -50674,23 +50672,23 @@ const Hxe = {
50674
50672
  const r = nm(n);
50675
50673
  let i, a, o, s;
50676
50674
  Dl(r) ? (a = r.map((l) => _l(n, l)), i = a.join(`
50677
- `), i !== Kn.text && (Si(t, 0), o = t.ownerDocument, s = El(n), a.forEach((l, u) => {
50675
+ `), i !== Xn.text && (Si(t, 0), o = t.ownerDocument, s = El(n), a.forEach((l, u) => {
50678
50676
  const c = Xs(o, "tspan", mn);
50679
50677
  c.__data__ = n, c.textContent = l, u && (c.setAttribute("x", 0), c.setAttribute("dy", s)), t.appendChild(c);
50680
- }), Kn.text = i)) : (a = _l(n, r), a !== Kn.text && (t.textContent = a, Kn.text = a)), fr(t, "font-family", rm(n)), fr(t, "font-size", go(n) + "px"), fr(t, "font-style", n.fontStyle), fr(t, "font-variant", n.fontVariant), fr(t, "font-weight", n.fontWeight);
50678
+ }), Xn.text = i)) : (a = _l(n, r), a !== Xn.text && (t.textContent = a, Xn.text = a)), cr(t, "font-family", rm(n)), cr(t, "font-size", go(n) + "px"), cr(t, "font-style", n.fontStyle), cr(t, "font-variant", n.fontVariant), cr(t, "font-weight", n.fontWeight);
50681
50679
  }
50682
50680
  };
50683
50681
  function Ch(e, t, n) {
50684
- t !== Kn[e] && (n ? jxe(Vo, e, t, n) : fr(Vo, e, t), Kn[e] = t);
50682
+ t !== Xn[e] && (n ? jxe(Vo, e, t, n) : cr(Vo, e, t), Xn[e] = t);
50685
50683
  }
50686
50684
  function y1(e, t, n) {
50687
- n !== Kn[t] && (n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n + ""), Kn[t] = n);
50685
+ n !== Xn[t] && (n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n + ""), Xn[t] = n);
50688
50686
  }
50689
50687
  function Ks(e, t) {
50690
50688
  for (const n in t)
50691
- fr(e, n, t[n]);
50689
+ cr(e, n, t[n]);
50692
50690
  }
50693
- function fr(e, t, n) {
50691
+ function cr(e, t, n) {
50694
50692
  n != null ? e.setAttribute(t, n) : e.removeAttribute(t);
50695
50693
  }
50696
50694
  function jxe(e, t, n, r) {
@@ -51110,7 +51108,7 @@ function U0(e, t, n) {
51110
51108
  configurable: !0
51111
51109
  }), r3e(r, n);
51112
51110
  }
51113
- const Xf = "top", ea = "left", ta = "right", kl = "bottom", i3e = "top-left", a3e = "top-right", o3e = "bottom-left", s3e = "bottom-right", g_ = "start", h6 = "middle", dr = "end", l3e = "x", u3e = "y", n4 = "group", y_ = "axis", b_ = "title", c3e = "frame", f3e = "scope", v_ = "legend", nH = "row-header", rH = "row-footer", iH = "row-title", aH = "column-header", oH = "column-footer", sH = "column-title", d3e = "padding", h3e = "symbol", lH = "fit", uH = "fit-x", cH = "fit-y", p3e = "pad", x_ = "none", bg = "all", p6 = "each", w_ = "flush", Qs = "column", Js = "row";
51111
+ const Xf = "top", ea = "left", ta = "right", kl = "bottom", i3e = "top-left", a3e = "top-right", o3e = "bottom-left", s3e = "bottom-right", g_ = "start", h6 = "middle", fr = "end", l3e = "x", u3e = "y", n4 = "group", y_ = "axis", b_ = "title", c3e = "frame", f3e = "scope", v_ = "legend", nH = "row-header", rH = "row-footer", iH = "row-title", aH = "column-header", oH = "column-footer", sH = "column-title", d3e = "padding", h3e = "symbol", lH = "fit", uH = "fit-x", cH = "fit-y", p3e = "pad", x_ = "none", bg = "all", p6 = "each", w_ = "flush", Qs = "column", Js = "row";
51114
51112
  function fH(e) {
51115
51113
  Z.call(this, null, e);
51116
51114
  }
@@ -51235,7 +51233,7 @@ U0(mH, Z, {
51235
51233
  }
51236
51234
  }
51237
51235
  });
51238
- const Xn = new hn();
51236
+ const Yn = new hn();
51239
51237
  function ff(e, t, n) {
51240
51238
  return e[t] === n ? 0 : (e[t] = n, 1);
51241
51239
  }
@@ -51256,7 +51254,7 @@ function x3e(e) {
51256
51254
  }
51257
51255
  function w3e(e, t, n, r) {
51258
51256
  var i = t.items[0], a = i.datum, o = i.translate != null ? i.translate : 0.5, s = i.orient, l = x3e(a), u = i.range, c = i.offset, f = i.position, d = i.minExtent, h = i.maxExtent, p = a.title && i.items[l[2]].items[0], m = i.titlePadding, g = i.bounds, y = p && i_(p), b = 0, v = 0, w, E;
51259
- switch (Xn.clear().union(g), g.clear(), (w = l[0]) > -1 && g.union(i.items[w].bounds), (w = l[1]) > -1 && g.union(i.items[w].bounds), s) {
51257
+ switch (Yn.clear().union(g), g.clear(), (w = l[0]) > -1 && g.union(i.items[w].bounds), (w = l[1]) > -1 && g.union(i.items[w].bounds), s) {
51260
51258
  case Xf:
51261
51259
  b = f || 0, v = -c, E = Math.max(d, Math.min(h, -g.y1)), g.add(0, -E).add(u, 0), p && xg(e, p, E, m, y, 0, -1, g);
51262
51260
  break;
@@ -51272,7 +51270,7 @@ function w3e(e, t, n, r) {
51272
51270
  default:
51273
51271
  b = i.x, v = i.y;
51274
51272
  }
51275
- return ws(g.translate(b, v), i), ff(i, "x", b + o) | ff(i, "y", v + o) && (i.bounds = Xn, e.dirty(i), i.bounds = g, e.dirty(i)), i.mark.bounds.clear().union(g);
51273
+ return ws(g.translate(b, v), i), ff(i, "x", b + o) | ff(i, "y", v + o) && (i.bounds = Yn, e.dirty(i), i.bounds = g, e.dirty(i)), i.mark.bounds.clear().union(g);
51276
51274
  }
51277
51275
  function xg(e, t, n, r, i, a, o, s) {
51278
51276
  const l = t.bounds;
@@ -51332,7 +51330,7 @@ function k3e(e) {
51332
51330
  const t = e.bounds.clone();
51333
51331
  return t.empty() ? t.set(0, 0, 0, 0) : t.translate(-(e.x || 0), -(e.y || 0));
51334
51332
  }
51335
- function Lt(e, t, n) {
51333
+ function Ft(e, t, n) {
51336
51334
  const r = n3e(e) ? e[t] : e;
51337
51335
  return r ?? (n !== void 0 ? n : 0);
51338
51336
  }
@@ -51340,7 +51338,7 @@ function GN(e) {
51340
51338
  return e < 0 ? Math.ceil(-e) : 0;
51341
51339
  }
51342
51340
  function gH(e, t, n) {
51343
- var r = !n.nodirty, i = n.bounds === w_ ? _3e : k3e, a = Xn.set(0, 0, 0, 0), o = Lt(n.align, Qs), s = Lt(n.align, Js), l = Lt(n.padding, Qs), u = Lt(n.padding, Js), c = n.columns || t.length, f = c <= 0 ? 1 : Math.ceil(t.length / c), d = t.length, h = Array(d), p = Array(c), m = 0, g = Array(d), y = Array(f), b = 0, v = Array(d), w = Array(d), E = Array(d), _, S, N, M, T, O, z, B, F, R, D;
51341
+ var r = !n.nodirty, i = n.bounds === w_ ? _3e : k3e, a = Yn.set(0, 0, 0, 0), o = Ft(n.align, Qs), s = Ft(n.align, Js), l = Ft(n.padding, Qs), u = Ft(n.padding, Js), c = n.columns || t.length, f = c <= 0 ? 1 : Math.ceil(t.length / c), d = t.length, h = Array(d), p = Array(c), m = 0, g = Array(d), y = Array(f), b = 0, v = Array(d), w = Array(d), E = Array(d), _, S, N, M, T, O, z, B, F, R, D;
51344
51342
  for (S = 0; S < c; ++S) p[S] = 0;
51345
51343
  for (S = 0; S < f; ++S) y[S] = 0;
51346
51344
  for (S = 0; S < d; ++S)
@@ -51384,23 +51382,23 @@ function gH(e, t, n) {
51384
51382
  for (N = 0; N < c; ++N)
51385
51383
  for (R = 0, S = N; S < d; S += c)
51386
51384
  R += g[S], w[S] += R - t[S].y;
51387
- if (o && Lt(n.center, Qs) && f > 1)
51385
+ if (o && Ft(n.center, Qs) && f > 1)
51388
51386
  for (S = 0; S < d; ++S)
51389
51387
  T = o === bg ? m : p[S % c], F = T - E[S].x2 - t[S].x - v[S], F > 0 && (v[S] += F / 2);
51390
- if (s && Lt(n.center, Js) && c !== 1)
51388
+ if (s && Ft(n.center, Js) && c !== 1)
51391
51389
  for (S = 0; S < d; ++S)
51392
51390
  T = s === bg ? b : y[~~(S / c)], R = T - E[S].y2 - t[S].y - w[S], R > 0 && (w[S] += R / 2);
51393
51391
  for (S = 0; S < d; ++S)
51394
51392
  a.union(E[S].translate(v[S], w[S]));
51395
- switch (F = Lt(n.anchor, l3e), R = Lt(n.anchor, u3e), Lt(n.anchor, Qs)) {
51396
- case dr:
51393
+ switch (F = Ft(n.anchor, l3e), R = Ft(n.anchor, u3e), Ft(n.anchor, Qs)) {
51394
+ case fr:
51397
51395
  F -= a.width();
51398
51396
  break;
51399
51397
  case h6:
51400
51398
  F -= a.width() / 2;
51401
51399
  }
51402
- switch (Lt(n.anchor, Js)) {
51403
- case dr:
51400
+ switch (Ft(n.anchor, Js)) {
51401
+ case fr:
51404
51402
  R -= a.height();
51405
51403
  break;
51406
51404
  case h6:
@@ -51415,7 +51413,7 @@ function gH(e, t, n) {
51415
51413
  function S3e(e, t, n) {
51416
51414
  var r = E3e(t), i = r.marks, a = n.bounds === w_ ? A3e : C3e, o = n.offset, s = n.columns || i.length, l = s <= 0 ? 1 : Math.ceil(i.length / s), u = l * s, c, f, d, h, p, m, g;
51417
51415
  const y = gH(e, i, n);
51418
- y.empty() && y.set(0, 0, 0, 0), r.rowheaders && (m = Lt(n.headerBand, Js, null), c = wg(e, r.rowheaders, i, s, l, -Lt(o, "rowHeader"), jN, 0, a, "x1", 0, s, 1, m)), r.colheaders && (m = Lt(n.headerBand, Qs, null), f = wg(e, r.colheaders, i, s, s, -Lt(o, "columnHeader"), jN, 1, a, "y1", 0, 1, s, m)), r.rowfooters && (m = Lt(n.footerBand, Js, null), d = wg(e, r.rowfooters, i, s, l, Lt(o, "rowFooter"), WN, 0, a, "x2", s - 1, s, 1, m)), r.colfooters && (m = Lt(n.footerBand, Qs, null), h = wg(e, r.colfooters, i, s, s, Lt(o, "columnFooter"), WN, 1, a, "y2", u - s, 1, s, m)), r.rowtitle && (p = Lt(n.titleAnchor, Js), g = Lt(o, "rowTitle"), g = p === dr ? d + g : c - g, m = Lt(n.titleBand, Js, 0.5), VN(e, r.rowtitle, g, 0, y, m)), r.coltitle && (p = Lt(n.titleAnchor, Qs), g = Lt(o, "columnTitle"), g = p === dr ? h + g : f - g, m = Lt(n.titleBand, Qs, 0.5), VN(e, r.coltitle, g, 1, y, m));
51416
+ y.empty() && y.set(0, 0, 0, 0), r.rowheaders && (m = Ft(n.headerBand, Js, null), c = wg(e, r.rowheaders, i, s, l, -Ft(o, "rowHeader"), jN, 0, a, "x1", 0, s, 1, m)), r.colheaders && (m = Ft(n.headerBand, Qs, null), f = wg(e, r.colheaders, i, s, s, -Ft(o, "columnHeader"), jN, 1, a, "y1", 0, 1, s, m)), r.rowfooters && (m = Ft(n.footerBand, Js, null), d = wg(e, r.rowfooters, i, s, l, Ft(o, "rowFooter"), WN, 0, a, "x2", s - 1, s, 1, m)), r.colfooters && (m = Ft(n.footerBand, Qs, null), h = wg(e, r.colfooters, i, s, s, Ft(o, "columnFooter"), WN, 1, a, "y2", u - s, 1, s, m)), r.rowtitle && (p = Ft(n.titleAnchor, Js), g = Ft(o, "rowTitle"), g = p === fr ? d + g : c - g, m = Ft(n.titleBand, Js, 0.5), VN(e, r.rowtitle, g, 0, y, m)), r.coltitle && (p = Ft(n.titleAnchor, Qs), g = Ft(o, "columnTitle"), g = p === fr ? h + g : f - g, m = Ft(n.titleBand, Qs, 0.5), VN(e, r.coltitle, g, 1, y, m));
51419
51417
  }
51420
51418
  function A3e(e, t) {
51421
51419
  return t === "x1" ? e.x || 0 : t === "y1" ? e.y || 0 : t === "x2" ? (e.x || 0) + (e.width || 0) : t === "y2" ? (e.y || 0) + (e.height || 0) : void 0;
@@ -51455,7 +51453,7 @@ function M3e(e, t) {
51455
51453
  }), n > -1 / 0 ? n : t;
51456
51454
  }
51457
51455
  function N3e(e, t, n, r, i, a, o) {
51458
- const s = T3e(n, t), l = M3e(e, s("offset", 0)), u = s("anchor", g_), c = u === dr ? 1 : u === h6 ? 0.5 : 0, f = {
51456
+ const s = T3e(n, t), l = M3e(e, s("offset", 0)), u = s("anchor", g_), c = u === fr ? 1 : u === h6 ? 0.5 : 0, f = {
51459
51457
  align: p6,
51460
51458
  bounds: s("bounds", w_),
51461
51459
  columns: s("direction") === "vertical" ? 1 : e.length,
@@ -51467,7 +51465,7 @@ function N3e(e, t, n, r, i, a, o) {
51467
51465
  case ea:
51468
51466
  f.anchor = {
51469
51467
  x: Math.floor(r.x1) - l,
51470
- column: dr,
51468
+ column: fr,
51471
51469
  y: c * (o || r.height() + 2 * r.y1),
51472
51470
  row: u
51473
51471
  };
@@ -51482,7 +51480,7 @@ function N3e(e, t, n, r, i, a, o) {
51482
51480
  case Xf:
51483
51481
  f.anchor = {
51484
51482
  y: Math.floor(i.y1) - l,
51485
- row: dr,
51483
+ row: fr,
51486
51484
  x: c * (a || i.width() + 2 * i.x1),
51487
51485
  column: u
51488
51486
  };
@@ -51504,22 +51502,22 @@ function N3e(e, t, n, r, i, a, o) {
51504
51502
  f.anchor = {
51505
51503
  x: a - l,
51506
51504
  y: l,
51507
- column: dr
51505
+ column: fr
51508
51506
  };
51509
51507
  break;
51510
51508
  case o3e:
51511
51509
  f.anchor = {
51512
51510
  x: l,
51513
51511
  y: o - l,
51514
- row: dr
51512
+ row: fr
51515
51513
  };
51516
51514
  break;
51517
51515
  case s3e:
51518
51516
  f.anchor = {
51519
51517
  x: a - l,
51520
51518
  y: o - l,
51521
- column: dr,
51522
- row: dr
51519
+ column: fr,
51520
+ row: fr
51523
51521
  };
51524
51522
  break;
51525
51523
  }
@@ -51553,10 +51551,10 @@ function R3e(e, t, n) {
51553
51551
  c += Gc(t, n, o, s, 1, 1);
51554
51552
  break;
51555
51553
  case ta:
51556
- u += Gc(t, n, o, dr, 0, 0) + l, c += Gc(t, n, o, s, 1, 1);
51554
+ u += Gc(t, n, o, fr, 0, 0) + l, c += Gc(t, n, o, s, 1, 1);
51557
51555
  break;
51558
51556
  case kl:
51559
- u += Gc(t, n, o, s, 0, 0), c += Gc(t, n, o, dr, -1, 0, 1) + l;
51557
+ u += Gc(t, n, o, s, 0, 0), c += Gc(t, n, o, fr, -1, 0, 1) + l;
51560
51558
  break;
51561
51559
  default:
51562
51560
  u += Gc(t, n, o, s, 0, 0);
@@ -51566,7 +51564,7 @@ function R3e(e, t, n) {
51566
51564
  }
51567
51565
  function Gc(e, t, n, r, i, a, o) {
51568
51566
  const s = e.datum.type !== "symbol", l = n.datum.vgrad, u = s && (a || !l) && !o ? t.items[0] : t, c = u.bounds[i ? "y2" : "x2"] - e.padding, f = l && a ? c : 0, d = l && a ? 0 : c, h = i <= 0 ? 0 : i_(n);
51569
- return Math.round(r === g_ ? f : r === dr ? d - h : 0.5 * (c - h));
51567
+ return Math.round(r === g_ ? f : r === fr ? d - h : 0.5 * (c - h));
51570
51568
  }
51571
51569
  function Dd(e, t, n, r) {
51572
51570
  t.x += n, t.y += r, t.bounds.translate(n, r), t.mark.bounds.translate(n, r), e.dirty(t);
@@ -51579,7 +51577,7 @@ function D3e(e) {
51579
51577
  }
51580
51578
  function I3e(e, t, n, r, i) {
51581
51579
  var a = t.items[0], o = a.frame, s = a.orient, l = a.anchor, u = a.offset, c = a.padding, f = a.items[0].items[0], d = a.items[1] && a.items[1].items[0], h = s === ea || s === ta ? r : n, p = 0, m = 0, g = 0, y = 0, b = 0, v;
51582
- if (o !== n4 ? s === ea ? (p = i.y2, h = i.y1) : s === ta ? (p = i.y1, h = i.y2) : (p = i.x1, h = i.x2) : s === ea && (p = r, h = 0), v = l === g_ ? p : l === dr ? h : (p + h) / 2, d && d.text) {
51580
+ if (o !== n4 ? s === ea ? (p = i.y2, h = i.y1) : s === ta ? (p = i.y1, h = i.y2) : (p = i.x1, h = i.x2) : s === ea && (p = r, h = 0), v = l === g_ ? p : l === fr ? h : (p + h) / 2, d && d.text) {
51583
51581
  switch (s) {
51584
51582
  case Xf:
51585
51583
  case kl:
@@ -51592,18 +51590,18 @@ function I3e(e, t, n, r, i) {
51592
51590
  y = -f.bounds.width() - c;
51593
51591
  break;
51594
51592
  }
51595
- Xn.clear().union(d.bounds), Xn.translate(y - (d.x || 0), b - (d.y || 0)), ff(d, "x", y) | ff(d, "y", b) && (e.dirty(d), d.bounds.clear().union(Xn), d.mark.bounds.clear().union(Xn), e.dirty(d)), Xn.clear().union(d.bounds);
51593
+ Yn.clear().union(d.bounds), Yn.translate(y - (d.x || 0), b - (d.y || 0)), ff(d, "x", y) | ff(d, "y", b) && (e.dirty(d), d.bounds.clear().union(Yn), d.mark.bounds.clear().union(Yn), e.dirty(d)), Yn.clear().union(d.bounds);
51596
51594
  } else
51597
- Xn.clear();
51598
- switch (Xn.union(f.bounds), s) {
51595
+ Yn.clear();
51596
+ switch (Yn.union(f.bounds), s) {
51599
51597
  case Xf:
51600
- m = v, g = i.y1 - Xn.height() - u;
51598
+ m = v, g = i.y1 - Yn.height() - u;
51601
51599
  break;
51602
51600
  case ea:
51603
- m = i.x1 - Xn.width() - u, g = v;
51601
+ m = i.x1 - Yn.width() - u, g = v;
51604
51602
  break;
51605
51603
  case ta:
51606
- m = i.x2 + Xn.width() + u, g = v;
51604
+ m = i.x2 + Yn.width() + u, g = v;
51607
51605
  break;
51608
51606
  case kl:
51609
51607
  m = v, g = i.y2 + u;
@@ -51611,7 +51609,7 @@ function I3e(e, t, n, r, i) {
51611
51609
  default:
51612
51610
  m = a.x, g = a.y;
51613
51611
  }
51614
- return ff(a, "x", m) | ff(a, "y", g) && (Xn.translate(m, g), e.dirty(a), a.bounds.clear().union(Xn), t.bounds.clear().union(Xn), e.dirty(a)), a.bounds;
51612
+ return ff(a, "x", m) | ff(a, "y", g) && (Yn.translate(m, g), e.dirty(a), a.bounds.clear().union(Yn), t.bounds.clear().union(Yn), e.dirty(a)), a.bounds;
51615
51613
  }
51616
51614
  function yH(e) {
51617
51615
  Z.call(this, null, e);
@@ -52368,9 +52366,9 @@ function W5e(e) {
52368
52366
  for (let r = 0; r < n; ++r) t[e[r]] = !0;
52369
52367
  return t;
52370
52368
  }
52371
- var Ie = 1e-6, g6 = 1e-12, Ze = Math.PI, Qt = Ze / 2, Oy = Ze / 4, kr = Ze * 2, en = 180 / Ze, Ke = Ze / 180, rt = Math.abs, j0 = Math.atan, Pi = Math.atan2, Re = Math.cos, _g = Math.ceil, zH = Math.exp, y6 = Math.hypot, Ry = Math.log, jx = Math.pow, Ne = Math.sin, Mi = Math.sign || function(e) {
52369
+ var Ie = 1e-6, g6 = 1e-12, Ze = Math.PI, Qt = Ze / 2, Oy = Ze / 4, _r = Ze * 2, en = 180 / Ze, Ke = Ze / 180, rt = Math.abs, j0 = Math.atan, Pi = Math.atan2, Re = Math.cos, _g = Math.ceil, zH = Math.exp, y6 = Math.hypot, Ry = Math.log, jx = Math.pow, Ne = Math.sin, Mi = Math.sign || function(e) {
52372
52370
  return e > 0 ? 1 : e < 0 ? -1 : 0;
52373
- }, Sr = Math.sqrt, T_ = Math.tan;
52371
+ }, kr = Math.sqrt, T_ = Math.tan;
52374
52372
  function PH(e) {
52375
52373
  return e > 1 ? 0 : e < -1 ? Ze : Math.acos(e);
52376
52374
  }
@@ -52428,19 +52426,19 @@ function n$(e, t) {
52428
52426
  function Uo(e, t) {
52429
52427
  e && e$.hasOwnProperty(e.type) ? e$[e.type](e, t) : Dy(e, t);
52430
52428
  }
52431
- var Iy = new Er(), Fy = new Er(), BH, UH, v6, x6, w6, io = {
52429
+ var Iy = new wr(), Fy = new wr(), BH, UH, v6, x6, w6, io = {
52432
52430
  point: zn,
52433
52431
  lineStart: zn,
52434
52432
  lineEnd: zn,
52435
52433
  polygonStart: function() {
52436
- Iy = new Er(), io.lineStart = G5e, io.lineEnd = V5e;
52434
+ Iy = new wr(), io.lineStart = G5e, io.lineEnd = V5e;
52437
52435
  },
52438
52436
  polygonEnd: function() {
52439
52437
  var e = +Iy;
52440
- Fy.add(e < 0 ? kr + e : e), this.lineStart = this.lineEnd = this.point = zn;
52438
+ Fy.add(e < 0 ? _r + e : e), this.lineStart = this.lineEnd = this.point = zn;
52441
52439
  },
52442
52440
  sphere: function() {
52443
- Fy.add(kr);
52441
+ Fy.add(_r);
52444
52442
  }
52445
52443
  };
52446
52444
  function G5e() {
@@ -52458,7 +52456,7 @@ function qH(e, t) {
52458
52456
  Iy.add(Pi(u, l)), v6 = e, x6 = a, w6 = o;
52459
52457
  }
52460
52458
  function X5e(e) {
52461
- return Fy = new Er(), Uo(e, io), Fy * 2;
52459
+ return Fy = new wr(), Uo(e, io), Fy * 2;
52462
52460
  }
52463
52461
  function Ly(e) {
52464
52462
  return [Pi(e[1], e[0]), Hr(e[2])];
@@ -52480,7 +52478,7 @@ function Sg(e, t) {
52480
52478
  return [e[0] * t, e[1] * t, e[2] * t];
52481
52479
  }
52482
52480
  function zy(e) {
52483
- var t = Sr(e[0] * e[0] + e[1] * e[1] + e[2] * e[2]);
52481
+ var t = kr(e[0] * e[0] + e[1] * e[1] + e[2] * e[2]);
52484
52482
  e[0] /= t, e[1] /= t, e[2] /= t;
52485
52483
  }
52486
52484
  var Wt, Fr, Kt, ei, gu, HH, jH, Ef, Th, qs, hs, Lo = {
@@ -52488,7 +52486,7 @@ var Wt, Fr, Kt, ei, gu, HH, jH, Ef, Th, qs, hs, Lo = {
52488
52486
  lineStart: r$,
52489
52487
  lineEnd: i$,
52490
52488
  polygonStart: function() {
52491
- Lo.point = GH, Lo.lineStart = K5e, Lo.lineEnd = Z5e, Th = new Er(), io.polygonStart();
52489
+ Lo.point = GH, Lo.lineStart = K5e, Lo.lineEnd = Z5e, Th = new wr(), io.polygonStart();
52492
52490
  },
52493
52491
  polygonEnd: function() {
52494
52492
  io.polygonEnd(), Lo.point = E6, Lo.lineStart = r$, Lo.lineEnd = i$, Iy < 0 ? (Wt = -(Kt = 180), Fr = -(ei = 90)) : Th > Ie ? ei = 90 : Th < -1e-6 && (Fr = -90), hs[0] = Wt, hs[1] = Kt;
@@ -52550,7 +52548,7 @@ function J5e(e) {
52550
52548
  }
52551
52549
  return qs = hs = null, Wt === 1 / 0 || Fr === 1 / 0 ? [[NaN, NaN], [NaN, NaN]] : [[Wt, Fr], [Kt, ei]];
52552
52550
  }
52553
- var ih, Py, By, Uy, qy, Hy, jy, Wy, _6, k6, S6, VH, YH, pr, mr, gr, na = {
52551
+ var ih, Py, By, Uy, qy, Hy, jy, Wy, _6, k6, S6, VH, YH, hr, pr, mr, na = {
52554
52552
  sphere: zn,
52555
52553
  point: M_,
52556
52554
  lineStart: o$,
@@ -52576,12 +52574,12 @@ function o$() {
52576
52574
  function e6e(e, t) {
52577
52575
  e *= Ke, t *= Ke;
52578
52576
  var n = Re(t);
52579
- pr = n * Re(e), mr = n * Ne(e), gr = Ne(t), na.point = t6e, sm(pr, mr, gr);
52577
+ hr = n * Re(e), pr = n * Ne(e), mr = Ne(t), na.point = t6e, sm(hr, pr, mr);
52580
52578
  }
52581
52579
  function t6e(e, t) {
52582
52580
  e *= Ke, t *= Ke;
52583
- var n = Re(t), r = n * Re(e), i = n * Ne(e), a = Ne(t), o = Pi(Sr((o = mr * a - gr * i) * o + (o = gr * r - pr * a) * o + (o = pr * i - mr * r) * o), pr * r + mr * i + gr * a);
52584
- Py += o, Hy += o * (pr + (pr = r)), jy += o * (mr + (mr = i)), Wy += o * (gr + (gr = a)), sm(pr, mr, gr);
52581
+ var n = Re(t), r = n * Re(e), i = n * Ne(e), a = Ne(t), o = Pi(kr((o = pr * a - mr * i) * o + (o = mr * r - hr * a) * o + (o = hr * i - pr * r) * o), hr * r + pr * i + mr * a);
52582
+ Py += o, Hy += o * (hr + (hr = r)), jy += o * (pr + (pr = i)), Wy += o * (mr + (mr = a)), sm(hr, pr, mr);
52585
52583
  }
52586
52584
  function s$() {
52587
52585
  na.point = M_;
@@ -52595,15 +52593,15 @@ function r6e() {
52595
52593
  function i6e(e, t) {
52596
52594
  VH = e, YH = t, e *= Ke, t *= Ke, na.point = XH;
52597
52595
  var n = Re(t);
52598
- pr = n * Re(e), mr = n * Ne(e), gr = Ne(t), sm(pr, mr, gr);
52596
+ hr = n * Re(e), pr = n * Ne(e), mr = Ne(t), sm(hr, pr, mr);
52599
52597
  }
52600
52598
  function XH(e, t) {
52601
52599
  e *= Ke, t *= Ke;
52602
- var n = Re(t), r = n * Re(e), i = n * Ne(e), a = Ne(t), o = mr * a - gr * i, s = gr * r - pr * a, l = pr * i - mr * r, u = y6(o, s, l), c = Hr(u), f = u && -c / u;
52603
- _6.add(f * o), k6.add(f * s), S6.add(f * l), Py += c, Hy += c * (pr + (pr = r)), jy += c * (mr + (mr = i)), Wy += c * (gr + (gr = a)), sm(pr, mr, gr);
52600
+ var n = Re(t), r = n * Re(e), i = n * Ne(e), a = Ne(t), o = pr * a - mr * i, s = mr * r - hr * a, l = hr * i - pr * r, u = y6(o, s, l), c = Hr(u), f = u && -c / u;
52601
+ _6.add(f * o), k6.add(f * s), S6.add(f * l), Py += c, Hy += c * (hr + (hr = r)), jy += c * (pr + (pr = i)), Wy += c * (mr + (mr = a)), sm(hr, pr, mr);
52604
52602
  }
52605
52603
  function a6e(e) {
52606
- ih = Py = By = Uy = qy = Hy = jy = Wy = 0, _6 = new Er(), k6 = new Er(), S6 = new Er(), Uo(e, na);
52604
+ ih = Py = By = Uy = qy = Hy = jy = Wy = 0, _6 = new wr(), k6 = new wr(), S6 = new wr(), Uo(e, na);
52607
52605
  var t = +_6, n = +k6, r = +S6, i = y6(t, n, r);
52608
52606
  return i < g6 && (t = Hy, n = jy, r = Wy, Py < Ie && (t = By, n = Uy, r = qy), i = y6(t, n, r), i < g6) ? [NaN, NaN] : [Pi(n, t) * en, Hr(r / i) * en];
52609
52607
  }
@@ -52616,15 +52614,15 @@ function A6(e, t) {
52616
52614
  }), n;
52617
52615
  }
52618
52616
  function C6(e, t) {
52619
- return rt(e) > Ze && (e -= Math.round(e / kr) * kr), [e, t];
52617
+ return rt(e) > Ze && (e -= Math.round(e / _r) * _r), [e, t];
52620
52618
  }
52621
52619
  C6.invert = C6;
52622
52620
  function KH(e, t, n) {
52623
- return (e %= kr) ? t || n ? A6(u$(e), c$(t, n)) : u$(e) : t || n ? c$(t, n) : C6;
52621
+ return (e %= _r) ? t || n ? A6(u$(e), c$(t, n)) : u$(e) : t || n ? c$(t, n) : C6;
52624
52622
  }
52625
52623
  function l$(e) {
52626
52624
  return function(t, n) {
52627
- return t += e, rt(t) > Ze && (t -= Math.round(t / kr) * kr), [t, n];
52625
+ return t += e, rt(t) > Ze && (t -= Math.round(t / _r) * _r), [t, n];
52628
52626
  };
52629
52627
  }
52630
52628
  function u$(e) {
@@ -52660,7 +52658,7 @@ function o6e(e) {
52660
52658
  function s6e(e, t, n, r, i, a) {
52661
52659
  if (n) {
52662
52660
  var o = Re(t), s = Ne(t), l = r * n;
52663
- i == null ? (i = t + r * kr, a = t - l / 2) : (i = f$(o, i), a = f$(o, a), (r > 0 ? i < a : i > a) && (i += r * kr));
52661
+ i == null ? (i = t + r * _r, a = t - l / 2) : (i = f$(o, i), a = f$(o, a), (r > 0 ? i < a : i > a) && (i += r * _r));
52664
52662
  for (var u, c = i; r > 0 ? c > a : c < a; c -= l)
52665
52663
  u = Ly([o, -s * Re(c), -s * Ne(c)]), e.point(u[0], u[1]);
52666
52664
  }
@@ -52668,7 +52666,7 @@ function s6e(e, t, n, r, i, a) {
52668
52666
  function f$(e, t) {
52669
52667
  t = Ku(t), t[0] -= e, zy(t);
52670
52668
  var n = PH(-t[1]);
52671
- return ((-t[2] < 0 ? -n : n) + kr - Ie) % kr;
52669
+ return ((-t[2] < 0 ? -n : n) + _r - Ie) % _r;
52672
52670
  }
52673
52671
  function ZH() {
52674
52672
  var e = [], t;
@@ -52744,16 +52742,16 @@ function d$(e) {
52744
52742
  }
52745
52743
  }
52746
52744
  function Gx(e) {
52747
- return rt(e[0]) <= Ze ? e[0] : Mi(e[0]) * ((rt(e[0]) + Ze) % kr - Ze);
52745
+ return rt(e[0]) <= Ze ? e[0] : Mi(e[0]) * ((rt(e[0]) + Ze) % _r - Ze);
52748
52746
  }
52749
52747
  function l6e(e, t) {
52750
- var n = Gx(t), r = t[1], i = Ne(r), a = [Ne(n), -Re(n), 0], o = 0, s = 0, l = new Er();
52748
+ var n = Gx(t), r = t[1], i = Ne(r), a = [Ne(n), -Re(n), 0], o = 0, s = 0, l = new wr();
52751
52749
  i === 1 ? r = Qt + Ie : i === -1 && (r = -Qt - Ie);
52752
52750
  for (var u = 0, c = e.length; u < c; ++u)
52753
52751
  if (d = (f = e[u]).length)
52754
52752
  for (var f, d, h = f[d - 1], p = Gx(h), m = h[1] / 2 + Oy, g = Ne(m), y = Re(m), b = 0; b < d; ++b, p = w, g = _, y = S, h = v) {
52755
52753
  var v = f[b], w = Gx(v), E = v[1] / 2 + Oy, _ = Ne(E), S = Re(E), N = w - p, M = N >= 0 ? 1 : -1, T = M * N, O = T > Ze, z = g * _;
52756
- if (l.add(Pi(z * M * Ne(T), y * S + z * Re(T))), o += O ? N + M * kr : N, O ^ p >= n ^ w >= n) {
52754
+ if (l.add(Pi(z * M * Ne(T), y * S + z * Re(T))), o += O ? N + M * _r : N, O ^ p >= n ^ w >= n) {
52757
52755
  var B = Kf(Ku(h), Ku(v));
52758
52756
  zy(B);
52759
52757
  var F = Kf(a, B);
@@ -52904,7 +52902,7 @@ function p6e(e) {
52904
52902
  Wx(S, N);
52905
52903
  var M = _, T = kg(S, M), O = kg(M, M), z = T * T - O * (kg(S, S) - 1);
52906
52904
  if (!(z < 0)) {
52907
- var B = Sr(z), F = Sg(M, (-T - B) / O);
52905
+ var B = kr(z), F = Sg(M, (-T - B) / O);
52908
52906
  if (Wx(F, S), F = Ly(F), !d) return F;
52909
52907
  var R = c[0], D = f[0], U = c[1], q = f[1], W;
52910
52908
  D < R && (W = R, R = D, D = W);
@@ -53089,7 +53087,7 @@ function g6e() {
53089
53087
  }, y.extentMajor([[-180, -90 + Ie], [180, 90 - Ie]]).extentMinor([[-180, -80 - Ie], [180, 80 + Ie]]);
53090
53088
  }
53091
53089
  const fp = (e) => e;
53092
- var Vx = new Er(), T6 = new Er(), tj, nj, M6, N6, qo = {
53090
+ var Vx = new wr(), T6 = new wr(), tj, nj, M6, N6, qo = {
53093
53091
  point: zn,
53094
53092
  lineStart: zn,
53095
53093
  lineEnd: zn,
@@ -53097,11 +53095,11 @@ var Vx = new Er(), T6 = new Er(), tj, nj, M6, N6, qo = {
53097
53095
  qo.lineStart = y6e, qo.lineEnd = v6e;
53098
53096
  },
53099
53097
  polygonEnd: function() {
53100
- qo.lineStart = qo.lineEnd = qo.point = zn, Vx.add(rt(T6)), T6 = new Er();
53098
+ qo.lineStart = qo.lineEnd = qo.point = zn, Vx.add(rt(T6)), T6 = new wr();
53101
53099
  },
53102
53100
  result: function() {
53103
53101
  var e = Vx / 2;
53104
- return Vx = new Er(), e;
53102
+ return Vx = new wr(), e;
53105
53103
  }
53106
53104
  };
53107
53105
  function y6e() {
@@ -53155,7 +53153,7 @@ function w6e(e, t) {
53155
53153
  Ai.point = E6e, Zu(za = e, Pa = t);
53156
53154
  }
53157
53155
  function E6e(e, t) {
53158
- var n = e - za, r = t - Pa, i = Sr(n * n + r * r);
53156
+ var n = e - za, r = t - Pa, i = kr(n * n + r * r);
53159
53157
  Xy += i * (za + e) / 2, Ky += i * (Pa + t) / 2, df += i, Zu(za = e, Pa = t);
53160
53158
  }
53161
53159
  function y$() {
@@ -53171,7 +53169,7 @@ function S6e(e, t) {
53171
53169
  Ai.point = oj, Zu(ij = za = e, aj = Pa = t);
53172
53170
  }
53173
53171
  function oj(e, t) {
53174
- var n = e - za, r = t - Pa, i = Sr(n * n + r * r);
53172
+ var n = e - za, r = t - Pa, i = kr(n * n + r * r);
53175
53173
  Xy += i * (za + e) / 2, Ky += i * (Pa + t) / 2, df += i, i = Pa * e - za * t, R6 += i * (za + e), D6 += i * (Pa + t), oh += i * 3, Zu(za = e, Pa = t);
53176
53174
  }
53177
53175
  function sj(e) {
@@ -53205,14 +53203,14 @@ sj.prototype = {
53205
53203
  break;
53206
53204
  }
53207
53205
  default: {
53208
- this._context.moveTo(e + this._radius, t), this._context.arc(e, t, this._radius, 0, kr);
53206
+ this._context.moveTo(e + this._radius, t), this._context.arc(e, t, this._radius, 0, _r);
53209
53207
  break;
53210
53208
  }
53211
53209
  }
53212
53210
  },
53213
53211
  result: zn
53214
53212
  };
53215
- var I6 = new Er(), Yx, lj, uj, sh, lh, hp = {
53213
+ var I6 = new wr(), Yx, lj, uj, sh, lh, hp = {
53216
53214
  point: zn,
53217
53215
  lineStart: function() {
53218
53216
  hp.point = A6e;
@@ -53228,14 +53226,14 @@ var I6 = new Er(), Yx, lj, uj, sh, lh, hp = {
53228
53226
  },
53229
53227
  result: function() {
53230
53228
  var e = +I6;
53231
- return I6 = new Er(), e;
53229
+ return I6 = new wr(), e;
53232
53230
  }
53233
53231
  };
53234
53232
  function A6e(e, t) {
53235
53233
  hp.point = cj, lj = sh = e, uj = lh = t;
53236
53234
  }
53237
53235
  function cj(e, t) {
53238
- sh -= e, lh -= t, I6.add(Sr(sh * sh + lh * lh)), sh = e, lh = t;
53236
+ sh -= e, lh -= t, I6.add(kr(sh * sh + lh * lh)), sh = e, lh = t;
53239
53237
  }
53240
53238
  let b$, Zy, v$, x$;
53241
53239
  class w$ {
@@ -53403,7 +53401,7 @@ function N6e(e, t) {
53403
53401
  function n(r, i, a, o, s, l, u, c, f, d, h, p, m, g) {
53404
53402
  var y = u - r, b = c - i, v = y * y + b * b;
53405
53403
  if (v > 4 * t && m--) {
53406
- var w = o + d, E = s + h, _ = l + p, S = Sr(w * w + E * E + _ * _), N = Hr(_ /= S), M = rt(rt(_) - 1) < Ie || rt(a - f) < Ie ? (a + f) / 2 : Pi(E, w), T = e(M, N), O = T[0], z = T[1], B = O - r, F = z - i, R = b * B - y * F;
53404
+ var w = o + d, E = s + h, _ = l + p, S = kr(w * w + E * E + _ * _), N = Hr(_ /= S), M = rt(rt(_) - 1) < Ie || rt(a - f) < Ie ? (a + f) / 2 : Pi(E, w), T = e(M, N), O = T[0], z = T[1], B = O - r, F = z - i, R = b * B - y * F;
53407
53405
  (R * R / v > t || rt((y * B + b * F) / v - 0.5) > 0.3 || o * d + s * h + l * p < T6e) && (n(r, i, a, o, s, l, O, z, M, w /= S, E /= S, _, m, g), g.point(O, z), n(O, z, M, w, E, _, u, c, f, d, h, p, m, g));
53408
53406
  }
53409
53407
  }
@@ -53513,7 +53511,7 @@ function hj(e) {
53513
53511
  }, O.reflectY = function(R) {
53514
53512
  return arguments.length ? (h = R ? -1 : 1, B()) : h < 0;
53515
53513
  }, O.precision = function(R) {
53516
- return arguments.length ? (_ = _$(S, E = R * R), F()) : Sr(E);
53514
+ return arguments.length ? (_ = _$(S, E = R * R), F()) : kr(E);
53517
53515
  }, O.fitExtent = function(R, D) {
53518
53516
  return a4(O, R, D);
53519
53517
  }, O.fitSize = function(R, D) {
@@ -53552,9 +53550,9 @@ function D6e(e) {
53552
53550
  function I6e(e, t) {
53553
53551
  var n = Ne(e), r = (n + Ne(t)) / 2;
53554
53552
  if (rt(r) < Ie) return D6e(e);
53555
- var i = 1 + n * (2 * r - n), a = Sr(i) / r;
53553
+ var i = 1 + n * (2 * r - n), a = kr(i) / r;
53556
53554
  function o(s, l) {
53557
- var u = Sr(i - 2 * r * Ne(l)) / r;
53555
+ var u = kr(i - 2 * r * Ne(l)) / r;
53558
53556
  return [u * Ne(s *= r), a - u * Re(s)];
53559
53557
  }
53560
53558
  return o.invert = function(s, l) {
@@ -53637,7 +53635,7 @@ function mj(e) {
53637
53635
  }
53638
53636
  function lm(e) {
53639
53637
  return function(t, n) {
53640
- var r = Sr(t * t + n * n), i = e(r), a = Ne(i), o = Re(i);
53638
+ var r = kr(t * t + n * n), i = e(r), a = Ne(i), o = Re(i);
53641
53639
  return [
53642
53640
  Pi(t * a, r * o),
53643
53641
  Hr(r && n * a / r)
@@ -53645,7 +53643,7 @@ function lm(e) {
53645
53643
  };
53646
53644
  }
53647
53645
  var gj = mj(function(e) {
53648
- return Sr(2 / (1 + e));
53646
+ return kr(2 / (1 + e));
53649
53647
  });
53650
53648
  gj.invert = lm(function(e) {
53651
53649
  return 2 * Hr(e / 2);
@@ -53669,7 +53667,7 @@ o4.invert = function(e, t) {
53669
53667
  return [e, 2 * j0(zH(t)) - Qt];
53670
53668
  };
53671
53669
  function B6e() {
53672
- return bj(o4).scale(961 / kr);
53670
+ return bj(o4).scale(961 / _r);
53673
53671
  }
53674
53672
  function bj(e) {
53675
53673
  var t = bo(e), n = t.center, r = t.scale, i = t.translate, a = t.clipExtent, o = null, s, l, u;
@@ -53700,7 +53698,7 @@ function U6e(e, t) {
53700
53698
  return [l * Ne(r * o), i - l * Re(r * o)];
53701
53699
  }
53702
53700
  return a.invert = function(o, s) {
53703
- var l = i - s, u = Mi(r) * Sr(o * o + l * l), c = Pi(o, rt(l)) * Mi(l);
53701
+ var l = i - s, u = Mi(r) * kr(o * o + l * l), c = Pi(o, rt(l)) * Mi(l);
53704
53702
  return l * r < 0 && (c -= Ze * Mi(o) * Mi(l)), [c / r, 2 * j0(jx(i / u, 1 / r)) - Qt];
53705
53703
  }, a;
53706
53704
  }
@@ -53723,13 +53721,13 @@ function j6e(e, t) {
53723
53721
  }
53724
53722
  return a.invert = function(o, s) {
53725
53723
  var l = i - s, u = Pi(o, rt(l)) * Mi(l);
53726
- return l * r < 0 && (u -= Ze * Mi(o) * Mi(l)), [u / r, i - Mi(r) * Sr(o * o + l * l)];
53724
+ return l * r < 0 && (u -= Ze * Mi(o) * Mi(l)), [u / r, i - Mi(r) * kr(o * o + l * l)];
53727
53725
  }, a;
53728
53726
  }
53729
53727
  function W6e() {
53730
53728
  return D_(j6e).scale(131.154).center([0, 13.9389]);
53731
53729
  }
53732
- var Mh = 1.340264, Nh = -0.081106, $h = 893e-6, Oh = 3796e-6, eb = Sr(3) / 2, G6e = 12;
53730
+ var Mh = 1.340264, Nh = -0.081106, $h = 893e-6, Oh = 3796e-6, eb = kr(3) / 2, G6e = 12;
53733
53731
  function vj(e, t) {
53734
53732
  var n = Hr(eb * Ne(t)), r = n * n, i = r * r * r;
53735
53733
  return [
@@ -54826,20 +54824,20 @@ function Gwe() {
54826
54824
  function Vwe(e) {
54827
54825
  return arguments.length ? this.cover(+e[0][0], +e[0][1]).cover(+e[1][0], +e[1][1]) : isNaN(this._x0) ? void 0 : [[this._x0, this._y0], [this._x1, this._y1]];
54828
54826
  }
54829
- function br(e, t, n, r, i) {
54827
+ function yr(e, t, n, r, i) {
54830
54828
  this.node = e, this.x0 = t, this.y0 = n, this.x1 = r, this.y1 = i;
54831
54829
  }
54832
54830
  function Ywe(e, t, n) {
54833
54831
  var r, i = this._x0, a = this._y0, o, s, l, u, c = this._x1, f = this._y1, d = [], h = this._root, p, m;
54834
- for (h && d.push(new br(h, i, a, c, f)), n == null ? n = 1 / 0 : (i = e - n, a = t - n, c = e + n, f = t + n, n *= n); p = d.pop(); )
54832
+ for (h && d.push(new yr(h, i, a, c, f)), n == null ? n = 1 / 0 : (i = e - n, a = t - n, c = e + n, f = t + n, n *= n); p = d.pop(); )
54835
54833
  if (!(!(h = p.node) || (o = p.x0) > c || (s = p.y0) > f || (l = p.x1) < i || (u = p.y1) < a))
54836
54834
  if (h.length) {
54837
54835
  var g = (o + l) / 2, y = (s + u) / 2;
54838
54836
  d.push(
54839
- new br(h[3], g, y, l, u),
54840
- new br(h[2], o, y, g, u),
54841
- new br(h[1], g, s, l, y),
54842
- new br(h[0], o, s, g, y)
54837
+ new yr(h[3], g, y, l, u),
54838
+ new yr(h[2], o, y, g, u),
54839
+ new yr(h[1], g, s, l, y),
54840
+ new yr(h[0], o, s, g, y)
54843
54841
  ), (m = (t >= y) << 1 | e >= g) && (p = d[d.length - 1], d[d.length - 1] = d[d.length - 1 - m], d[d.length - 1 - m] = p);
54844
54842
  } else {
54845
54843
  var b = e - +this._x.call(null, h.data), v = t - +this._y.call(null, h.data), w = b * b + v * v;
@@ -54879,20 +54877,20 @@ function Qwe() {
54879
54877
  }
54880
54878
  function Jwe(e) {
54881
54879
  var t = [], n, r = this._root, i, a, o, s, l;
54882
- for (r && t.push(new br(r, this._x0, this._y0, this._x1, this._y1)); n = t.pop(); )
54880
+ for (r && t.push(new yr(r, this._x0, this._y0, this._x1, this._y1)); n = t.pop(); )
54883
54881
  if (!e(r = n.node, a = n.x0, o = n.y0, s = n.x1, l = n.y1) && r.length) {
54884
54882
  var u = (a + s) / 2, c = (o + l) / 2;
54885
- (i = r[3]) && t.push(new br(i, u, c, s, l)), (i = r[2]) && t.push(new br(i, a, c, u, l)), (i = r[1]) && t.push(new br(i, u, o, s, c)), (i = r[0]) && t.push(new br(i, a, o, u, c));
54883
+ (i = r[3]) && t.push(new yr(i, u, c, s, l)), (i = r[2]) && t.push(new yr(i, a, c, u, l)), (i = r[1]) && t.push(new yr(i, u, o, s, c)), (i = r[0]) && t.push(new yr(i, a, o, u, c));
54886
54884
  }
54887
54885
  return this;
54888
54886
  }
54889
54887
  function e7e(e) {
54890
54888
  var t = [], n = [], r;
54891
- for (this._root && t.push(new br(this._root, this._x0, this._y0, this._x1, this._y1)); r = t.pop(); ) {
54889
+ for (this._root && t.push(new yr(this._root, this._x0, this._y0, this._x1, this._y1)); r = t.pop(); ) {
54892
54890
  var i = r.node;
54893
54891
  if (i.length) {
54894
54892
  var a, o = r.x0, s = r.y0, l = r.x1, u = r.y1, c = (o + l) / 2, f = (s + u) / 2;
54895
- (a = i[0]) && t.push(new br(a, o, s, c, f)), (a = i[1]) && t.push(new br(a, c, s, l, f)), (a = i[2]) && t.push(new br(a, o, f, c, u)), (a = i[3]) && t.push(new br(a, c, f, l, u));
54893
+ (a = i[0]) && t.push(new yr(a, o, s, c, f)), (a = i[1]) && t.push(new yr(a, c, s, l, f)), (a = i[2]) && t.push(new yr(a, o, f, c, u)), (a = i[3]) && t.push(new yr(a, c, f, l, u));
54896
54894
  }
54897
54895
  n.push(r);
54898
54896
  }
@@ -54923,8 +54921,8 @@ function M$(e) {
54923
54921
  for (var t = { data: e.data }, n = t; e = e.next; ) n = n.next = { data: e.data };
54924
54922
  return t;
54925
54923
  }
54926
- var Mr = V_.prototype = Y_.prototype;
54927
- Mr.copy = function() {
54924
+ var Tr = V_.prototype = Y_.prototype;
54925
+ Tr.copy = function() {
54928
54926
  var e = new Y_(this._x, this._y, this._x0, this._y0, this._x1, this._y1), t = this._root, n, r;
54929
54927
  if (!t) return e;
54930
54928
  if (!t.length) return e._root = M$(t), e;
@@ -54933,21 +54931,21 @@ Mr.copy = function() {
54933
54931
  (r = t.source[i]) && (r.length ? n.push({ source: r, target: t.target[i] = new Array(4) }) : t.target[i] = M$(r));
54934
54932
  return e;
54935
54933
  };
54936
- Mr.add = Hwe;
54937
- Mr.addAll = jwe;
54938
- Mr.cover = Wwe;
54939
- Mr.data = Gwe;
54940
- Mr.extent = Vwe;
54941
- Mr.find = Ywe;
54942
- Mr.remove = Xwe;
54943
- Mr.removeAll = Kwe;
54944
- Mr.root = Zwe;
54945
- Mr.size = Qwe;
54946
- Mr.visit = Jwe;
54947
- Mr.visitAfter = e7e;
54948
- Mr.x = n7e;
54949
- Mr.y = i7e;
54950
- function xr(e) {
54934
+ Tr.add = Hwe;
54935
+ Tr.addAll = jwe;
54936
+ Tr.cover = Wwe;
54937
+ Tr.data = Gwe;
54938
+ Tr.extent = Vwe;
54939
+ Tr.find = Ywe;
54940
+ Tr.remove = Xwe;
54941
+ Tr.removeAll = Kwe;
54942
+ Tr.root = Zwe;
54943
+ Tr.size = Qwe;
54944
+ Tr.visit = Jwe;
54945
+ Tr.visitAfter = e7e;
54946
+ Tr.x = n7e;
54947
+ Tr.y = i7e;
54948
+ function vr(e) {
54951
54949
  return function() {
54952
54950
  return e;
54953
54951
  };
@@ -54963,7 +54961,7 @@ function o7e(e) {
54963
54961
  }
54964
54962
  function s7e(e) {
54965
54963
  var t, n, r, i = 1, a = 1;
54966
- typeof e != "function" && (e = xr(e == null ? 1 : +e));
54964
+ typeof e != "function" && (e = vr(e == null ? 1 : +e));
54967
54965
  function o() {
54968
54966
  for (var u, c = t.length, f, d, h, p, m, g, y = 0; y < a; ++y)
54969
54967
  for (f = V_(t, a7e, o7e).visitAfter(s), u = 0; u < c; ++u)
@@ -54998,7 +54996,7 @@ function s7e(e) {
54998
54996
  }, o.strength = function(u) {
54999
54997
  return arguments.length ? (i = +u, o) : i;
55000
54998
  }, o.radius = function(u) {
55001
- return arguments.length ? (e = typeof u == "function" ? u : xr(+u), l(), o) : e;
54999
+ return arguments.length ? (e = typeof u == "function" ? u : vr(+u), l(), o) : e;
55002
55000
  }, o;
55003
55001
  }
55004
55002
  function l7e(e) {
@@ -55010,7 +55008,7 @@ function N$(e, t) {
55010
55008
  return n;
55011
55009
  }
55012
55010
  function u7e(e) {
55013
- var t = l7e, n = f, r, i = xr(30), a, o, s, l, u, c = 1;
55011
+ var t = l7e, n = f, r, i = vr(30), a, o, s, l, u, c = 1;
55014
55012
  e == null && (e = []);
55015
55013
  function f(g) {
55016
55014
  return 1 / Math.min(s[g.source.index], s[g.target.index]);
@@ -55049,9 +55047,9 @@ function u7e(e) {
55049
55047
  }, d.iterations = function(g) {
55050
55048
  return arguments.length ? (c = +g, d) : c;
55051
55049
  }, d.strength = function(g) {
55052
- return arguments.length ? (n = typeof g == "function" ? g : xr(+g), p(), d) : n;
55050
+ return arguments.length ? (n = typeof g == "function" ? g : vr(+g), p(), d) : n;
55053
55051
  }, d.distance = function(g) {
55054
- return arguments.length ? (i = typeof g == "function" ? g : xr(+g), m(), d) : i;
55052
+ return arguments.length ? (i = typeof g == "function" ? g : vr(+g), m(), d) : i;
55055
55053
  }, d;
55056
55054
  }
55057
55055
  var c7e = { value: () => {
@@ -55263,7 +55261,7 @@ function S7e(e) {
55263
55261
  };
55264
55262
  }
55265
55263
  function A7e() {
55266
- var e, t, n, r, i = xr(-30), a, o = 1, s = 1 / 0, l = 0.81;
55264
+ var e, t, n, r, i = vr(-30), a, o = 1, s = 1 / 0, l = 0.81;
55267
55265
  function u(h) {
55268
55266
  var p, m = e.length, g = V_(e, w7e, E7e).visitAfter(f);
55269
55267
  for (r = h, p = 0; p < m; ++p) t = e[p], g.visit(d);
@@ -55302,7 +55300,7 @@ function A7e() {
55302
55300
  return u.initialize = function(h, p) {
55303
55301
  e = h, n = p, c();
55304
55302
  }, u.strength = function(h) {
55305
- return arguments.length ? (i = typeof h == "function" ? h : xr(+h), c(), u) : i;
55303
+ return arguments.length ? (i = typeof h == "function" ? h : vr(+h), c(), u) : i;
55306
55304
  }, u.distanceMin = function(h) {
55307
55305
  return arguments.length ? (o = h * h, u) : Math.sqrt(o);
55308
55306
  }, u.distanceMax = function(h) {
@@ -55312,8 +55310,8 @@ function A7e() {
55312
55310
  }, u;
55313
55311
  }
55314
55312
  function C7e(e) {
55315
- var t = xr(0.1), n, r, i;
55316
- typeof e != "function" && (e = xr(e == null ? 0 : +e));
55313
+ var t = vr(0.1), n, r, i;
55314
+ typeof e != "function" && (e = vr(e == null ? 0 : +e));
55317
55315
  function a(s) {
55318
55316
  for (var l = 0, u = n.length, c; l < u; ++l)
55319
55317
  c = n[l], c.vx += (i[l] - c.x) * r[l] * s;
@@ -55328,14 +55326,14 @@ function C7e(e) {
55328
55326
  return a.initialize = function(s) {
55329
55327
  n = s, o();
55330
55328
  }, a.strength = function(s) {
55331
- return arguments.length ? (t = typeof s == "function" ? s : xr(+s), o(), a) : t;
55329
+ return arguments.length ? (t = typeof s == "function" ? s : vr(+s), o(), a) : t;
55332
55330
  }, a.x = function(s) {
55333
- return arguments.length ? (e = typeof s == "function" ? s : xr(+s), o(), a) : e;
55331
+ return arguments.length ? (e = typeof s == "function" ? s : vr(+s), o(), a) : e;
55334
55332
  }, a;
55335
55333
  }
55336
55334
  function T7e(e) {
55337
- var t = xr(0.1), n, r, i;
55338
- typeof e != "function" && (e = xr(e == null ? 0 : +e));
55335
+ var t = vr(0.1), n, r, i;
55336
+ typeof e != "function" && (e = vr(e == null ? 0 : +e));
55339
55337
  function a(s) {
55340
55338
  for (var l = 0, u = n.length, c; l < u; ++l)
55341
55339
  c = n[l], c.vy += (i[l] - c.y) * r[l] * s;
@@ -55350,9 +55348,9 @@ function T7e(e) {
55350
55348
  return a.initialize = function(s) {
55351
55349
  n = s, o();
55352
55350
  }, a.strength = function(s) {
55353
- return arguments.length ? (t = typeof s == "function" ? s : xr(+s), o(), a) : t;
55351
+ return arguments.length ? (t = typeof s == "function" ? s : vr(+s), o(), a) : t;
55354
55352
  }, a.y = function(s) {
55355
- return arguments.length ? (e = typeof s == "function" ? s : xr(+s), o(), a) : e;
55353
+ return arguments.length ? (e = typeof s == "function" ? s : vr(+s), o(), a) : e;
55356
55354
  }, a;
55357
55355
  }
55358
55356
  const D$ = {
@@ -56783,7 +56781,7 @@ function uEe(e) {
56783
56781
  fillOpacity: 0
56784
56782
  } : t;
56785
56783
  }
56786
- const Ro = 5, lr = 31, mp = 32, Hs = new Uint32Array(mp + 1), Qi = new Uint32Array(mp + 1);
56784
+ const Ro = 5, sr = 31, mp = 32, Hs = new Uint32Array(mp + 1), Qi = new Uint32Array(mp + 1);
56787
56785
  Qi[0] = 0;
56788
56786
  Hs[0] = ~Qi[0];
56789
56787
  for (let e = 1; e <= mp; ++e)
@@ -56800,24 +56798,24 @@ function cEe(e, t) {
56800
56798
  array: n,
56801
56799
  get: (a, o) => {
56802
56800
  const s = o * e + a;
56803
- return n[s >>> Ro] & 1 << (s & lr);
56801
+ return n[s >>> Ro] & 1 << (s & sr);
56804
56802
  },
56805
56803
  set: (a, o) => {
56806
56804
  const s = o * e + a;
56807
- r(s >>> Ro, 1 << (s & lr));
56805
+ r(s >>> Ro, 1 << (s & sr));
56808
56806
  },
56809
56807
  clear: (a, o) => {
56810
56808
  const s = o * e + a;
56811
- i(s >>> Ro, ~(1 << (s & lr)));
56809
+ i(s >>> Ro, ~(1 << (s & sr)));
56812
56810
  },
56813
56811
  getRange: (a, o, s, l) => {
56814
56812
  let u = l, c, f, d, h;
56815
56813
  for (; u >= o; --u)
56816
56814
  if (c = u * e + a, f = u * e + s, d = c >>> Ro, h = f >>> Ro, d === h) {
56817
- if (n[d] & Hs[c & lr] & Qi[(f & lr) + 1])
56815
+ if (n[d] & Hs[c & sr] & Qi[(f & sr) + 1])
56818
56816
  return !0;
56819
56817
  } else {
56820
- if (n[d] & Hs[c & lr] || n[h] & Qi[(f & lr) + 1]) return !0;
56818
+ if (n[d] & Hs[c & sr] || n[h] & Qi[(f & sr) + 1]) return !0;
56821
56819
  for (let p = d + 1; p < h; ++p)
56822
56820
  if (n[p]) return !0;
56823
56821
  }
@@ -56827,17 +56825,17 @@ function cEe(e, t) {
56827
56825
  let u, c, f, d, h;
56828
56826
  for (; o <= l; ++o)
56829
56827
  if (u = o * e + a, c = o * e + s, f = u >>> Ro, d = c >>> Ro, f === d)
56830
- r(f, Hs[u & lr] & Qi[(c & lr) + 1]);
56828
+ r(f, Hs[u & sr] & Qi[(c & sr) + 1]);
56831
56829
  else
56832
- for (r(f, Hs[u & lr]), r(d, Qi[(c & lr) + 1]), h = f + 1; h < d; ++h) r(h, 4294967295);
56830
+ for (r(f, Hs[u & sr]), r(d, Qi[(c & sr) + 1]), h = f + 1; h < d; ++h) r(h, 4294967295);
56833
56831
  },
56834
56832
  clearRange: (a, o, s, l) => {
56835
56833
  let u, c, f, d, h;
56836
56834
  for (; o <= l; ++o)
56837
56835
  if (u = o * e + a, c = o * e + s, f = u >>> Ro, d = c >>> Ro, f === d)
56838
- i(f, Qi[u & lr] | Hs[(c & lr) + 1]);
56836
+ i(f, Qi[u & sr] | Hs[(c & sr) + 1]);
56839
56837
  else
56840
- for (i(f, Qi[u & lr]), i(d, Hs[(c & lr) + 1]), h = f + 1; h < d; ++h) i(h, 0);
56838
+ for (i(f, Qi[u & sr]), i(d, Hs[(c & sr) + 1]), h = f + 1; h < d; ++h) i(h, 0);
56841
56839
  },
56842
56840
  outOfBounds: (a, o, s, l) => a < 0 || o < 0 || l >= t || s >= e
56843
56841
  };
@@ -57391,7 +57389,7 @@ function jEe(e, t, n) {
57391
57389
  configurable: !0
57392
57390
  }), HEe(r, n);
57393
57391
  }
57394
- const es = 11102230246251565e-32, Vn = 134217729, WEe = (3 + 8 * es) * es;
57392
+ const es = 11102230246251565e-32, Gn = 134217729, WEe = (3 + 8 * es) * es;
57395
57393
  function c3(e, t, n, r, i) {
57396
57394
  let a, o, s, l, u = t[0], c = r[0], f = 0, d = 0;
57397
57395
  c > u == c > -u ? (a = u, u = t[++f]) : (a = c, c = r[++d]);
@@ -57413,19 +57411,19 @@ function GEe(e, t) {
57413
57411
  function cm(e) {
57414
57412
  return new Float64Array(e);
57415
57413
  }
57416
- const VEe = (3 + 16 * es) * es, YEe = (2 + 12 * es) * es, XEe = (9 + 64 * es) * es * es, Xc = cm(4), Y$ = cm(8), X$ = cm(12), K$ = cm(16), ur = cm(4);
57414
+ const VEe = (3 + 16 * es) * es, YEe = (2 + 12 * es) * es, XEe = (9 + 64 * es) * es * es, Xc = cm(4), Y$ = cm(8), X$ = cm(12), K$ = cm(16), lr = cm(4);
57417
57415
  function KEe(e, t, n, r, i, a, o) {
57418
57416
  let s, l, u, c, f, d, h, p, m, g, y, b, v, w, E, _, S, N;
57419
57417
  const M = e - i, T = n - i, O = t - a, z = r - a;
57420
- w = M * z, d = Vn * M, h = d - (d - M), p = M - h, d = Vn * z, m = d - (d - z), g = z - m, E = p * g - (w - h * m - p * m - h * g), _ = O * T, d = Vn * O, h = d - (d - O), p = O - h, d = Vn * T, m = d - (d - T), g = T - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, Xc[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, Xc[1] = v - (y + f) + (f - _), N = b + y, f = N - b, Xc[2] = b - (N - f) + (y - f), Xc[3] = N;
57418
+ w = M * z, d = Gn * M, h = d - (d - M), p = M - h, d = Gn * z, m = d - (d - z), g = z - m, E = p * g - (w - h * m - p * m - h * g), _ = O * T, d = Gn * O, h = d - (d - O), p = O - h, d = Gn * T, m = d - (d - T), g = T - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, Xc[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, Xc[1] = v - (y + f) + (f - _), N = b + y, f = N - b, Xc[2] = b - (N - f) + (y - f), Xc[3] = N;
57421
57419
  let B = GEe(4, Xc), F = YEe * o;
57422
57420
  if (B >= F || -B >= F || (f = e - M, s = e - (M + f) + (f - i), f = n - T, u = n - (T + f) + (f - i), f = t - O, l = t - (O + f) + (f - a), f = r - z, c = r - (z + f) + (f - a), s === 0 && l === 0 && u === 0 && c === 0) || (F = XEe * o + WEe * Math.abs(B), B += M * c + z * s - (O * u + T * l), B >= F || -B >= F)) return B;
57423
- w = s * z, d = Vn * s, h = d - (d - s), p = s - h, d = Vn * z, m = d - (d - z), g = z - m, E = p * g - (w - h * m - p * m - h * g), _ = l * T, d = Vn * l, h = d - (d - l), p = l - h, d = Vn * T, m = d - (d - T), g = T - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, ur[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, ur[1] = v - (y + f) + (f - _), N = b + y, f = N - b, ur[2] = b - (N - f) + (y - f), ur[3] = N;
57424
- const R = c3(4, Xc, 4, ur, Y$);
57425
- w = M * c, d = Vn * M, h = d - (d - M), p = M - h, d = Vn * c, m = d - (d - c), g = c - m, E = p * g - (w - h * m - p * m - h * g), _ = O * u, d = Vn * O, h = d - (d - O), p = O - h, d = Vn * u, m = d - (d - u), g = u - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, ur[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, ur[1] = v - (y + f) + (f - _), N = b + y, f = N - b, ur[2] = b - (N - f) + (y - f), ur[3] = N;
57426
- const D = c3(R, Y$, 4, ur, X$);
57427
- w = s * c, d = Vn * s, h = d - (d - s), p = s - h, d = Vn * c, m = d - (d - c), g = c - m, E = p * g - (w - h * m - p * m - h * g), _ = l * u, d = Vn * l, h = d - (d - l), p = l - h, d = Vn * u, m = d - (d - u), g = u - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, ur[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, ur[1] = v - (y + f) + (f - _), N = b + y, f = N - b, ur[2] = b - (N - f) + (y - f), ur[3] = N;
57428
- const U = c3(D, X$, 4, ur, K$);
57421
+ w = s * z, d = Gn * s, h = d - (d - s), p = s - h, d = Gn * z, m = d - (d - z), g = z - m, E = p * g - (w - h * m - p * m - h * g), _ = l * T, d = Gn * l, h = d - (d - l), p = l - h, d = Gn * T, m = d - (d - T), g = T - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, lr[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, lr[1] = v - (y + f) + (f - _), N = b + y, f = N - b, lr[2] = b - (N - f) + (y - f), lr[3] = N;
57422
+ const R = c3(4, Xc, 4, lr, Y$);
57423
+ w = M * c, d = Gn * M, h = d - (d - M), p = M - h, d = Gn * c, m = d - (d - c), g = c - m, E = p * g - (w - h * m - p * m - h * g), _ = O * u, d = Gn * O, h = d - (d - O), p = O - h, d = Gn * u, m = d - (d - u), g = u - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, lr[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, lr[1] = v - (y + f) + (f - _), N = b + y, f = N - b, lr[2] = b - (N - f) + (y - f), lr[3] = N;
57424
+ const D = c3(R, Y$, 4, lr, X$);
57425
+ w = s * c, d = Gn * s, h = d - (d - s), p = s - h, d = Gn * c, m = d - (d - c), g = c - m, E = p * g - (w - h * m - p * m - h * g), _ = l * u, d = Gn * l, h = d - (d - l), p = l - h, d = Gn * u, m = d - (d - u), g = u - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, lr[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, lr[1] = v - (y + f) + (f - _), N = b + y, f = N - b, lr[2] = b - (N - f) + (y - f), lr[3] = N;
57426
+ const U = c3(D, X$, 4, lr, K$);
57429
57427
  return K$[U - 1];
57430
57428
  }
57431
57429
  function Og(e, t, n, r, i, a) {
@@ -59229,7 +59227,7 @@ function Y9e(e) {
59229
59227
  return [];
59230
59228
  }
59231
59229
  }
59232
- var vo, Se, J, nr, vt, d4 = 1, dm = 2, ec = 3, Bl = 4, h4 = 5, kc = 6, Ir = 7, hm = 8, X9e = 9;
59230
+ var vo, Se, J, tr, vt, d4 = 1, dm = 2, ec = 3, Bl = 4, h4 = 5, kc = 6, Ir = 7, hm = 8, X9e = 9;
59233
59231
  vo = {};
59234
59232
  vo[d4] = "Boolean";
59235
59233
  vo[dm] = "<end>";
@@ -59320,7 +59318,7 @@ const mke = {
59320
59318
  implements: 1
59321
59319
  };
59322
59320
  function yW() {
59323
- for (; J < nr; ) {
59321
+ for (; J < tr; ) {
59324
59322
  const e = Se.charCodeAt(J);
59325
59323
  if (pke(e) || bp(e))
59326
59324
  ++J;
@@ -59331,24 +59329,24 @@ function yW() {
59331
59329
  function ew(e) {
59332
59330
  var t, n, r, i = 0;
59333
59331
  for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t)
59334
- J < nr && y9(Se[J]) ? (r = Se[J++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : lt({}, An, Pn);
59332
+ J < tr && y9(Se[J]) ? (r = Se[J++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : lt({}, An, Pn);
59335
59333
  return String.fromCharCode(i);
59336
59334
  }
59337
59335
  function gke() {
59338
59336
  var e, t, n, r;
59339
- for (e = Se[J], t = 0, e === "}" && lt({}, An, Pn); J < nr && (e = Se[J++], !!y9(e)); )
59337
+ for (e = Se[J], t = 0, e === "}" && lt({}, An, Pn); J < tr && (e = Se[J++], !!y9(e)); )
59340
59338
  t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
59341
59339
  return (t > 1114111 || e !== "}") && lt({}, An, Pn), t <= 65535 ? String.fromCharCode(t) : (n = (t - 65536 >> 10) + 55296, r = (t - 65536 & 1023) + 56320, String.fromCharCode(n, r));
59342
59340
  }
59343
59341
  function bW() {
59344
59342
  var e, t;
59345
- for (e = Se.charCodeAt(J++), t = String.fromCharCode(e), e === 92 && (Se.charCodeAt(J) !== 117 && lt({}, An, Pn), ++J, e = ew("u"), (!e || e === "\\" || !pm(e.charCodeAt(0))) && lt({}, An, Pn), t = e); J < nr && (e = Se.charCodeAt(J), !!hb(e)); )
59343
+ for (e = Se.charCodeAt(J++), t = String.fromCharCode(e), e === 92 && (Se.charCodeAt(J) !== 117 && lt({}, An, Pn), ++J, e = ew("u"), (!e || e === "\\" || !pm(e.charCodeAt(0))) && lt({}, An, Pn), t = e); J < tr && (e = Se.charCodeAt(J), !!hb(e)); )
59346
59344
  ++J, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), Se.charCodeAt(J) !== 117 && lt({}, An, Pn), ++J, e = ew("u"), (!e || e === "\\" || !hb(e.charCodeAt(0))) && lt({}, An, Pn), t += e);
59347
59345
  return t;
59348
59346
  }
59349
59347
  function yke() {
59350
59348
  var e, t;
59351
- for (e = J++; J < nr; ) {
59349
+ for (e = J++; J < tr; ) {
59352
59350
  if (t = Se.charCodeAt(J), t === 92)
59353
59351
  return J = e, bW();
59354
59352
  if (hb(t))
@@ -59449,7 +59447,7 @@ function m3() {
59449
59447
  }
59450
59448
  function vke(e) {
59451
59449
  let t = "";
59452
- for (; J < nr && y9(Se[J]); )
59450
+ for (; J < tr && y9(Se[J]); )
59453
59451
  t += Se[J++];
59454
59452
  return t.length === 0 && lt({}, An, Pn), pm(Se.charCodeAt(J)) && lt({}, An, Pn), {
59455
59453
  type: kc,
@@ -59460,7 +59458,7 @@ function vke(e) {
59460
59458
  }
59461
59459
  function xke(e) {
59462
59460
  let t = "0" + Se[J++];
59463
- for (; J < nr && Dh(Se[J]); )
59461
+ for (; J < tr && Dh(Se[J]); )
59464
59462
  t += Se[J++];
59465
59463
  return (pm(Se.charCodeAt(J)) || zo(Se.charCodeAt(J))) && lt({}, An, Pn), {
59466
59464
  type: kc,
@@ -59504,7 +59502,7 @@ function iO() {
59504
59502
  }
59505
59503
  function wke() {
59506
59504
  var e = "", t, n, r, i, a = !1;
59507
- for (t = Se[J], p4(t === "'" || t === '"', "String literal must starts with a quote"), n = J, ++J; J < nr; )
59505
+ for (t = Se[J], p4(t === "'" || t === '"', "String literal must starts with a quote"), n = J, ++J; J < tr; )
59508
59506
  if (r = Se[J++], r === t) {
59509
59507
  t = "";
59510
59508
  break;
@@ -59535,7 +59533,7 @@ function wke() {
59535
59533
  e += "\v";
59536
59534
  break;
59537
59535
  default:
59538
- Dh(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), J < nr && Dh(Se[J]) && (a = !0, i = i * 8 + "01234567".indexOf(Se[J++]), "0123".includes(r) && J < nr && Dh(Se[J]) && (i = i * 8 + "01234567".indexOf(Se[J++]))), e += String.fromCharCode(i)) : e += r;
59536
+ Dh(r) ? (i = "01234567".indexOf(r), i !== 0 && (a = !0), J < tr && Dh(Se[J]) && (a = !0, i = i * 8 + "01234567".indexOf(Se[J++]), "0123".includes(r) && J < tr && Dh(Se[J]) && (i = i * 8 + "01234567".indexOf(Se[J++]))), e += String.fromCharCode(i)) : e += r;
59539
59537
  break;
59540
59538
  }
59541
59539
  else
@@ -59574,7 +59572,7 @@ function Eke(e, t) {
59574
59572
  }
59575
59573
  function _ke() {
59576
59574
  var e, t, n, r, i;
59577
- for (e = Se[J], p4(e === "/", "Regular expression literal must start with a slash"), t = Se[J++], n = !1, r = !1; J < nr; )
59575
+ for (e = Se[J], p4(e === "/", "Regular expression literal must start with a slash"), t = Se[J++], n = !1, r = !1; J < tr; )
59578
59576
  if (e = Se[J++], t += e, e === "\\")
59579
59577
  e = Se[J++], bp(e.charCodeAt(0)) && lt({}, p3), t += e;
59580
59578
  else if (bp(e.charCodeAt(0)))
@@ -59592,8 +59590,8 @@ function _ke() {
59592
59590
  }
59593
59591
  function kke() {
59594
59592
  var e, t, n;
59595
- for (t = "", n = ""; J < nr && (e = Se[J], !!hb(e.charCodeAt(0))); )
59596
- ++J, e === "\\" && J < nr ? lt({}, An, Pn) : (n += e, t += e);
59593
+ for (t = "", n = ""; J < tr && (e = Se[J], !!hb(e.charCodeAt(0))); )
59594
+ ++J, e === "\\" && J < tr ? lt({}, An, Pn) : (n += e, t += e);
59597
59595
  return n.search(/[^gimuy]/g) >= 0 && lt({}, J6, n), {
59598
59596
  value: n,
59599
59597
  literal: t
@@ -59616,7 +59614,7 @@ function Ake(e) {
59616
59614
  return e.type === ec || e.type === Bl || e.type === d4 || e.type === h4;
59617
59615
  }
59618
59616
  function vW() {
59619
- if (yW(), J >= nr)
59617
+ if (yW(), J >= tr)
59620
59618
  return {
59621
59619
  type: dm,
59622
59620
  start: J,
@@ -59680,7 +59678,7 @@ function lt(e, t) {
59680
59678
  function m4(e) {
59681
59679
  e.type === dm && lt(e, cke), e.type === kc && lt(e, oke), e.type === hm && lt(e, ske), e.type === ec && lt(e, lke), e.type === Bl && lt(e, uke), lt(e, An, e.value);
59682
59680
  }
59683
- function rr(e) {
59681
+ function nr(e) {
59684
59682
  const t = Lr();
59685
59683
  (t.type !== Ir || t.value !== e) && m4(t);
59686
59684
  }
@@ -59692,8 +59690,8 @@ function g3(e) {
59692
59690
  }
59693
59691
  function Oke() {
59694
59692
  const e = [];
59695
- for (J = vt.start, rr("["); !Rt("]"); )
59696
- Rt(",") ? (Lr(), e.push(null)) : (e.push(tc()), Rt("]") || rr(","));
59693
+ for (J = vt.start, nr("["); !Rt("]"); )
59694
+ Rt(",") ? (Lr(), e.push(null)) : (e.push(tc()), Rt("]") || nr(","));
59697
59695
  return Lr(), Cke(e);
59698
59696
  }
59699
59697
  function lO() {
@@ -59704,22 +59702,22 @@ function lO() {
59704
59702
  function Rke() {
59705
59703
  var e, t, n, r;
59706
59704
  if (J = vt.start, e = vt, e.type === ec)
59707
- return n = lO(), rr(":"), r = tc(), sO("init", n, r);
59705
+ return n = lO(), nr(":"), r = tc(), sO("init", n, r);
59708
59706
  if (e.type === dm || e.type === Ir)
59709
59707
  m4(e);
59710
59708
  else
59711
- return t = lO(), rr(":"), r = tc(), sO("init", t, r);
59709
+ return t = lO(), nr(":"), r = tc(), sO("init", t, r);
59712
59710
  }
59713
59711
  function Dke() {
59714
59712
  var e = [], t, n, r, i = {}, a = String;
59715
- for (J = vt.start, rr("{"); !Rt("}"); )
59716
- t = Rke(), t.key.type === mW ? n = t.key.name : n = a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? lt({}, fke) : i[r] = !0, e.push(t), Rt("}") || rr(",");
59717
- return rr("}"), Nke(e);
59713
+ for (J = vt.start, nr("{"); !Rt("}"); )
59714
+ t = Rke(), t.key.type === mW ? n = t.key.name : n = a(t.key.value), r = "$" + n, Object.prototype.hasOwnProperty.call(i, r) ? lt({}, fke) : i[r] = !0, e.push(t), Rt("}") || nr(",");
59715
+ return nr("}"), Nke(e);
59718
59716
  }
59719
59717
  function Ike() {
59720
- rr("(");
59718
+ nr("(");
59721
59719
  const e = v9();
59722
- return rr(")"), e;
59720
+ return nr(")"), e;
59723
59721
  }
59724
59722
  const Fke = {
59725
59723
  if: 1
@@ -59745,10 +59743,10 @@ function Lke() {
59745
59743
  }
59746
59744
  function zke() {
59747
59745
  const e = [];
59748
- if (rr("("), !Rt(")"))
59749
- for (; J < nr && (e.push(tc()), !Rt(")")); )
59750
- rr(",");
59751
- return rr(")"), e;
59746
+ if (nr("("), !Rt(")"))
59747
+ for (; J < tr && (e.push(tc()), !Rt(")")); )
59748
+ nr(",");
59749
+ return nr(")"), e;
59752
59750
  }
59753
59751
  function Pke() {
59754
59752
  J = vt.start;
@@ -59756,12 +59754,12 @@ function Pke() {
59756
59754
  return Ake(e) || m4(e), b9(e.value);
59757
59755
  }
59758
59756
  function Bke() {
59759
- return rr("."), Pke();
59757
+ return nr("."), Pke();
59760
59758
  }
59761
59759
  function Uke() {
59762
- rr("[");
59760
+ nr("[");
59763
59761
  const e = v9();
59764
- return rr("]"), e;
59762
+ return nr("]"), e;
59765
59763
  }
59766
59764
  function qke() {
59767
59765
  var e, t, n;
@@ -59865,7 +59863,7 @@ function Hke() {
59865
59863
  }
59866
59864
  function tc() {
59867
59865
  var e, t, n;
59868
- return e = Hke(), Rt("?") && (Lr(), t = tc(), rr(":"), n = tc(), e = Mke(e, t, n)), e;
59866
+ return e = Hke(), Rt("?") && (Lr(), t = tc(), nr(":"), n = tc(), e = Mke(e, t, n)), e;
59869
59867
  }
59870
59868
  function v9() {
59871
59869
  const e = tc();
@@ -59874,7 +59872,7 @@ function v9() {
59874
59872
  return e;
59875
59873
  }
59876
59874
  function x9(e) {
59877
- Se = e, J = 0, nr = Se.length, vt = null, xW();
59875
+ Se = e, J = 0, tr = Se.length, vt = null, xW();
59878
59876
  const t = v9();
59879
59877
  if (vt.type !== dm)
59880
59878
  throw new Error("Unexpect token after expression.");
@@ -60265,7 +60263,7 @@ function OSe(e, t, n, r) {
60265
60263
  const i = t[0].value, a = t[1].value, o = $Se + a;
60266
60264
  f4(o, r) || (r[o] = n.getData(i).indataRef(n, a));
60267
60265
  }
60268
- function _r(e, t, n, r) {
60266
+ function Er(e, t, n, r) {
60269
60267
  if (t[0].type === Ju)
60270
60268
  yO(n, r, t[0].value);
60271
60269
  else
@@ -60288,7 +60286,7 @@ function xo(e, t) {
60288
60286
  return fN(e) ? e : void 0;
60289
60287
  }
60290
60288
  function RSe(e, t, n) {
60291
- t.__bandwidth = (i) => i && i.bandwidth ? i.bandwidth() : 0, n._bandwidth = _r, n._range = _r, n._scale = _r;
60289
+ t.__bandwidth = (i) => i && i.bandwidth ? i.bandwidth() : 0, n._bandwidth = Er, n._range = Er, n._scale = Er;
60292
60290
  const r = (i) => "_[" + (i.type === Ju ? gp(nw + i.value) : gp(nw) + "+" + e(i)) + "]";
60293
60291
  return {
60294
60292
  _bandwidth: (i) => `this.__bandwidth(${r(i[0])})`,
@@ -60676,18 +60674,18 @@ function kAe(e) {
60676
60674
  function ln(e, t, n) {
60677
60675
  return arguments.length === 1 ? xp[e] : (xp[e] = t, n && (T9[e] = n), LW.functions[e] = IW + e, this);
60678
60676
  }
60679
- ln("bandwidth", rAe, _r);
60680
- ln("copy", iAe, _r);
60681
- ln("domain", aAe, _r);
60682
- ln("range", sAe, _r);
60683
- ln("invert", oAe, _r);
60684
- ln("scale", lAe, _r);
60685
- ln("gradient", uAe, _r);
60686
- ln("geoArea", DSe, _r);
60687
- ln("geoBounds", ISe, _r);
60688
- ln("geoCentroid", FSe, _r);
60689
- ln("geoShape", cAe, _r);
60690
- ln("geoScale", LSe, _r);
60677
+ ln("bandwidth", rAe, Er);
60678
+ ln("copy", iAe, Er);
60679
+ ln("domain", aAe, Er);
60680
+ ln("range", sAe, Er);
60681
+ ln("invert", oAe, Er);
60682
+ ln("scale", lAe, Er);
60683
+ ln("gradient", uAe, Er);
60684
+ ln("geoArea", DSe, Er);
60685
+ ln("geoBounds", ISe, Er);
60686
+ ln("geoCentroid", FSe, Er);
60687
+ ln("geoShape", cAe, Er);
60688
+ ln("geoScale", LSe, Er);
60691
60689
  ln("indata", vSe, OSe);
60692
60690
  ln("data", AW, k9);
60693
60691
  ln("treePath", dAe, k9);
@@ -61902,7 +61900,7 @@ function lTe(e, t) {
61902
61900
  function Ih(e) {
61903
61901
  return e[e.length - 1];
61904
61902
  }
61905
- function Zn(e) {
61903
+ function Kn(e) {
61906
61904
  return e != null ? Cn(e) ? e : [e] : [];
61907
61905
  }
61908
61906
  function Jt(e) {
@@ -62071,7 +62069,7 @@ function LTe(e, t, n, r, i) {
62071
62069
  l = "lineBreak", t === "text" && i[l] != null && !of(l, e) && E3(a, l, i[l]), (n == "legend" || String(n).startsWith("axis")) && (n = null), c = n === L9 ? i.group : n === F9 ? Jt({}, i.mark, i[t]) : null;
62072
62070
  for (l in c)
62073
62071
  u = of(l, e) || (l === "fill" || l === "stroke") && (of("fill", e) || of("stroke", e)), u || E3(a, l, c[l]);
62074
- Zn(r).forEach((f) => {
62072
+ Kn(r).forEach((f) => {
62075
62073
  const d = i.style && i.style[f];
62076
62074
  for (const h in d)
62077
62075
  of(h, e) || E3(a, h, d[h]);
@@ -62291,7 +62289,7 @@ function iMe(e, t, n) {
62291
62289
  target: n
62292
62290
  };
62293
62291
  let a = e.events, o = e.update, s = [];
62294
- a || We("Signal update missing events specification."), fa(a) && (a = Ul(a, t.isSubscope() ? P9 : uw)), a = Zn(a).filter((l) => l.signal || l.scale ? (s.push(l), 0) : 1), s.length > 1 && (s = [oMe(s)]), a.length && s.push(a.length > 1 ? {
62292
+ a || We("Signal update missing events specification."), fa(a) && (a = Ul(a, t.isSubscope() ? P9 : uw)), a = Kn(a).filter((l) => l.signal || l.scale ? (s.push(l), 0) : 1), s.length > 1 && (s = [oMe(s)]), a.length && s.push(a.length > 1 ? {
62295
62293
  merge: a
62296
62294
  } : a[0]), r != null && (o && We("Signal encode and update are mutually exclusive."), o = "encode(item()," + qe(r) + ")"), i.update = fa(o) ? ao(o, t) : o.expr != null ? ao(o.expr, t) : o.value != null ? o.value : o.signal != null ? {
62297
62295
  $expr: rMe,
@@ -62958,7 +62956,7 @@ function CNe(e, t, n) {
62958
62956
  let r, i, a, o, s;
62959
62957
  return e ? (r = e.facet) && (t || We("Only group marks can be faceted."), r.field != null ? o = s = I1(r, n) : (e.data ? s = Te(n.getData(e.data).aggregate) : (a = Y9(Jt({
62960
62958
  type: "aggregate",
62961
- groupby: Zn(r.groupby)
62959
+ groupby: Kn(r.groupby)
62962
62960
  }, r.aggregate), n), a.params.key = n.keyRef(r.groupby), a.params.pulse = I1(r, n), o = s = Te(n.add(a))), i = n.keyRef(r.groupby, !0))) : o = Te(n.add(xa(null, [{}]))), o || (o = I1(e, n)), {
62963
62961
  key: i,
62964
62962
  pulse: o,
@@ -63388,7 +63386,7 @@ function jNe(e, t, n) {
63388
63386
  })) : e.url ? O1(e.url) || O1(e.format) ? (r.push(VO(t, e)), r.push(i = ru())) : r.push(i = ru({
63389
63387
  $request: e.url,
63390
63388
  $format: e.format
63391
- })) : e.source && (i = s = Zn(e.source).map((d) => Te(t.getData(d).output)), r.push(null)), l = 0, u = n.length; l < u; ++l)
63389
+ })) : e.source && (i = s = Kn(e.source).map((d) => Te(t.getData(d).output)), r.push(null)), l = 0, u = n.length; l < u; ++l)
63392
63390
  c = n[l], f = c.metadata, !i && !f.source && r.push(i = ru()), r.push(c), f.generates && (o = !0), f.modifies && !o && (a = !0), f.source ? i = c : f.changes && (i = null);
63393
63391
  return s && (u = s.length - 1, r[0] = _Me({
63394
63392
  derive: a,
@@ -63821,8 +63819,8 @@ function l$e(e, t) {
63821
63819
  }), n;
63822
63820
  }
63823
63821
  function zG(e, t, n) {
63824
- const r = Zn(e.signals), i = Zn(e.scales);
63825
- return n || r.forEach((a) => gG(a, t)), Zn(e.projections).forEach((a) => BMe(a, t)), i.forEach((a) => TMe(a, t)), Zn(e.data).forEach((a) => HNe(a, t)), i.forEach((a) => MMe(a, t)), (n || r).forEach((a) => sMe(a, t)), Zn(e.axes).forEach((a) => s$e(a, t)), Zn(e.marks).forEach((a) => C4(a, t)), Zn(e.legends).forEach((a) => $Ne(a, t)), e.title && zNe(e.title, t), t.parseLambdas(), t;
63822
+ const r = Kn(e.signals), i = Kn(e.scales);
63823
+ return n || r.forEach((a) => gG(a, t)), Kn(e.projections).forEach((a) => BMe(a, t)), i.forEach((a) => TMe(a, t)), Kn(e.data).forEach((a) => HNe(a, t)), i.forEach((a) => MMe(a, t)), (n || r).forEach((a) => sMe(a, t)), Kn(e.axes).forEach((a) => s$e(a, t)), Kn(e.marks).forEach((a) => C4(a, t)), Kn(e.legends).forEach((a) => $Ne(a, t)), e.title && zNe(e.title, t), t.parseLambdas(), t;
63826
63824
  }
63827
63825
  const u$e = (e) => id({
63828
63826
  enter: {
@@ -63876,9 +63874,9 @@ function Ud(e, t) {
63876
63874
  }
63877
63875
  function f$e(e, t) {
63878
63876
  const n = (o) => Ki(e[o], t[o]), r = [Ud("background", n("background")), Ud("autosize", vTe(n("autosize"))), Ud("padding", wTe(n("padding"))), Ud("width", n("width") || 0), Ud("height", n("height") || 0)], i = r.reduce((o, s) => (o[s.name] = s, o), {}), a = {};
63879
- return Zn(e.signals).forEach((o) => {
63877
+ return Kn(e.signals).forEach((o) => {
63880
63878
  ni(i, o.name) ? o = Jt(i[o.name], o) : r.push(o), a[o.name] = o;
63881
- }), Zn(t.signals).forEach((o) => {
63879
+ }), Kn(t.signals).forEach((o) => {
63882
63880
  !ni(a, o.name) && !ni(i, o.name) && r.push(o);
63883
63881
  }), r;
63884
63882
  }
@@ -63986,7 +63984,7 @@ PG.prototype = ZO.prototype = {
63986
63984
  },
63987
63985
  compareRef(e) {
63988
63986
  let t = !1;
63989
- const n = (a) => vn(a) ? (t = !0, this.signalRef(a.signal)) : ZTe(a) ? (t = !0, this.exprRef(a.expr)) : a, r = Zn(e.field).map(n), i = Zn(e.order).map(n);
63987
+ const n = (a) => vn(a) ? (t = !0, this.signalRef(a.signal)) : ZTe(a) ? (t = !0, this.exprRef(a.expr)) : a, r = Kn(e.field).map(n), i = Kn(e.order).map(n);
63990
63988
  return t ? Te(this.add(LO({
63991
63989
  fields: r,
63992
63990
  orders: i
@@ -63995,7 +63993,7 @@ PG.prototype = ZO.prototype = {
63995
63993
  keyRef(e, t) {
63996
63994
  let n = !1;
63997
63995
  const r = (a) => vn(a) ? (n = !0, Te(i[a.signal])) : a, i = this.signals;
63998
- return e = Zn(e).map(r), n ? Te(this.add(hMe({
63996
+ return e = Kn(e).map(r), n ? Te(this.add(hMe({
63999
63997
  fields: e,
64000
63998
  flat: t
64001
63999
  }))) : VTe(e, t);
@@ -64341,7 +64339,7 @@ const y$e = g$e, b$e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
64341
64339
  CanvasHandler: am,
64342
64340
  CanvasRenderer: My,
64343
64341
  DATE: qr,
64344
- DAY: Qn,
64342
+ DAY: Zn,
64345
64343
  DAYOFYEAR: no,
64346
64344
  Dataflow: vf,
64347
64345
  Debug: QL,
@@ -64357,7 +64355,7 @@ const y$e = g$e, b$e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
64357
64355
  Item: G2,
64358
64356
  MILLISECONDS: ua,
64359
64357
  MINUTES: hi,
64360
- MONTH: tr,
64358
+ MONTH: er,
64361
64359
  Marks: pi,
64362
64360
  MultiPulse: y8,
64363
64361
  None: YL,
@@ -64845,7 +64843,7 @@ const ae = Object.keys, dn = Object.values, Cl = Object.entries;
64845
64843
  function Sp(e) {
64846
64844
  return e === !0 || e === !1;
64847
64845
  }
64848
- function Pt(e) {
64846
+ function zt(e) {
64849
64847
  const t = e.replace(/\W/g, "_");
64850
64848
  return (e.match(/^\d+/) ? "_" : "") + t;
64851
64849
  }
@@ -65496,7 +65494,7 @@ const aOe = /* @__PURE__ */ new Set([
65496
65494
  "max"
65497
65495
  ]);
65498
65496
  function uV(e) {
65499
- return bm(e) && (e = X4(e, void 0)), `bin${ae(e).map((t) => z4(e[t]) ? Pt(`_${t}_${Cl(e[t])}`) : Pt(`_${t}_${e[t]}`)).join("")}`;
65497
+ return bm(e) && (e = X4(e, void 0)), `bin${ae(e).map((t) => z4(e[t]) ? zt(`_${t}_${Cl(e[t])}`) : zt(`_${t}_${e[t]}`)).join("")}`;
65500
65498
  }
65501
65499
  function Ot(e) {
65502
65500
  return e === !0 || Nc(e) && !e.binned;
@@ -66200,7 +66198,7 @@ function Nn(e) {
66200
66198
  }
66201
66199
  function IRe(e) {
66202
66200
  const { utc: t, ...n } = Nn(e);
66203
- return n.unit ? (t ? "utc" : "") + ae(n).map((r) => Pt(`${r === "unit" ? "" : `_${r}_`}${n[r]}`)).join("") : `${t ? "utc" : ""}timeunit${ae(n).map((r) => Pt(`_${r}_${n[r]}`)).join("")}`;
66201
+ return n.unit ? (t ? "utc" : "") + ae(n).map((r) => zt(`${r === "unit" ? "" : `_${r}_`}${n[r]}`)).join("") : `${t ? "utc" : ""}timeunit${ae(n).map((r) => zt(`_${r}_${n[r]}`)).join("")}`;
66204
66202
  }
66205
66203
  function OV(e, t = (n) => n) {
66206
66204
  const n = Nn(e), r = MV(n.unit);
@@ -66649,7 +66647,7 @@ function nDe(e, t, n = !1) {
66649
66647
  function rDe(e) {
66650
66648
  return st(e) && "value" in e;
66651
66649
  }
66652
- const Nr = {
66650
+ const Mr = {
66653
66651
  arc: "arc",
66654
66652
  area: "area",
66655
66653
  bar: "bar",
@@ -66664,7 +66662,7 @@ const Nr = {
66664
66662
  circle: "circle",
66665
66663
  square: "square",
66666
66664
  geoshape: "geoshape"
66667
- }, HV = Nr.arc, q4 = Nr.area, H4 = Nr.bar, iDe = Nr.image, j4 = Nr.line, W4 = Nr.point, aDe = Nr.rect, Eb = Nr.rule, jV = Nr.text, Mk = Nr.tick, oDe = Nr.trail, Nk = Nr.circle, $k = Nr.square, WV = Nr.geoshape;
66665
+ }, HV = Mr.arc, q4 = Mr.area, H4 = Mr.bar, iDe = Mr.image, j4 = Mr.line, W4 = Mr.point, aDe = Mr.rect, Eb = Mr.rule, jV = Mr.text, Mk = Mr.tick, oDe = Mr.trail, Nk = Mr.circle, $k = Mr.square, WV = Mr.geoshape;
66668
66666
  function Xl(e) {
66669
66667
  return ["line", "area", "trail"].includes(e);
66670
66668
  }
@@ -66678,7 +66676,7 @@ function Cp(e) {
66678
66676
  /* arc is rect/interval in polar coordinate */
66679
66677
  ].includes(e);
66680
66678
  }
66681
- const sDe = new Set(ae(Nr));
66679
+ const sDe = new Set(ae(Mr));
66682
66680
  function so(e) {
66683
66681
  return oe(e, "type");
66684
66682
  }
@@ -66853,7 +66851,7 @@ function Ik({ channel: e, channelDef: t, channel2Def: n, markDef: r, config: i,
66853
66851
  if (t) {
66854
66852
  if (Ue(t)) {
66855
66853
  const f = o == null ? void 0 : o.get("type");
66856
- if (Ar(t)) {
66854
+ if (Sr(t)) {
66857
66855
  c ?? (c = Ml({
66858
66856
  fieldDef: t,
66859
66857
  fieldDef2: n,
@@ -67120,7 +67118,7 @@ function nY({ channel: e, fieldDef: t, fieldDef2: n, markDef: r, config: i, scal
67120
67118
  return a ? $n(a) ? ((u = i[r.type]) == null ? void 0 : u.discreteBandSize) || { band: 1 } : (c = i[r.type]) == null ? void 0 : c.continuousBandSize : (f = i[r.type]) == null ? void 0 : f.discreteBandSize;
67121
67119
  }
67122
67120
  function rY(e, t, n, r) {
67123
- return Ot(e.bin) || e.timeUnit && Ar(e) && e.type === "temporal" ? Ml({ fieldDef: e, fieldDef2: t, markDef: n, config: r }) !== void 0 : !1;
67121
+ return Ot(e.bin) || e.timeUnit && Sr(e) && e.type === "temporal" ? Ml({ fieldDef: e, fieldDef2: t, markDef: n, config: r }) !== void 0 : !1;
67124
67122
  }
67125
67123
  function iY(e) {
67126
67124
  return oe(e, "sort") && !oe(e, "field");
@@ -67150,10 +67148,10 @@ function Co(e) {
67150
67148
  return oe(e, "datum");
67151
67149
  }
67152
67150
  function nl(e) {
67153
- return Ar(e) && !Sb(e) || kb(e);
67151
+ return Sr(e) && !Sb(e) || kb(e);
67154
67152
  }
67155
67153
  function yR(e) {
67156
- return Ar(e) && e.type === "quantitative" && !e.bin || kb(e);
67154
+ return Sr(e) && e.type === "quantitative" && !e.bin || kb(e);
67157
67155
  }
67158
67156
  function kb(e) {
67159
67157
  return Co(e) && Bt(e.datum);
@@ -67161,7 +67159,7 @@ function kb(e) {
67161
67159
  function Ue(e) {
67162
67160
  return ue(e) || Co(e);
67163
67161
  }
67164
- function Ar(e) {
67162
+ function Sr(e) {
67165
67163
  return e && (oe(e, "field") || e.aggregate === "count") && oe(e, "type");
67166
67164
  }
67167
67165
  function ha(e) {
@@ -67372,14 +67370,14 @@ function PDe(e) {
67372
67370
  }
67373
67371
  function Uk(e, t, { compositeMark: n = !1 } = {}) {
67374
67372
  const { aggregate: r, timeUnit: i, bin: a, field: o } = e, s = { ...e };
67375
- if (!n && r && !dk(r) && !Yl(r) && !ms(r) && (le(BOe(r)), delete s.aggregate), i && (s.timeUnit = Nn(i)), o && (s.field = `${o}`), Ot(a) && (s.bin = X4(a, t)), Dn(a) && !sn(t) && le(bRe(t)), Ar(s)) {
67373
+ if (!n && r && !dk(r) && !Yl(r) && !ms(r) && (le(BOe(r)), delete s.aggregate), i && (s.timeUnit = Nn(i)), o && (s.field = `${o}`), Ot(a) && (s.bin = X4(a, t)), Dn(a) && !sn(t) && le(bRe(t)), Sr(s)) {
67376
67374
  const { type: l } = s, u = HRe(l);
67377
67375
  l !== u && (s.type = u), l !== "quantitative" && L4(r) && (le(POe(l, r)), s.type = "quantitative");
67378
67376
  } else if (!rV(t)) {
67379
67377
  const l = zDe(s, t);
67380
67378
  s.type = l;
67381
67379
  }
67382
- if (Ar(s)) {
67380
+ if (Sr(s)) {
67383
67381
  const { compatible: l, warning: u } = BDe(s, t) || {};
67384
67382
  l === !1 && le(u);
67385
67383
  }
@@ -67862,7 +67860,7 @@ function bY(e, t) {
67862
67860
  };
67863
67861
  u && (v.field = u), a.push(v);
67864
67862
  }
67865
- } else if (n.push(g), Ar(s) && Ot(f)) {
67863
+ } else if (n.push(g), Sr(s) && Ot(f)) {
67866
67864
  if (r.push({ bin: f, field: u, as: g }), n.push(ge(s, { binSuffix: "end" })), Mm(s, l) && n.push(ge(s, { binSuffix: "range" })), sn(l)) {
67867
67865
  const b = {
67868
67866
  field: `${g}_end`
@@ -67876,7 +67874,7 @@ function bY(e, t) {
67876
67874
  field: u,
67877
67875
  as: g
67878
67876
  });
67879
- const b = Ar(s) && s.type !== a0 && "time";
67877
+ const b = Sr(s) && s.type !== a0 && "time";
67880
67878
  b && (l === xm || l === ic ? y.formatType = b : K$e(l) ? y.legend = {
67881
67879
  formatType: b,
67882
67880
  ...y.legend
@@ -69453,7 +69451,7 @@ function HIe(e, t, n) {
69453
69451
  if (s && l)
69454
69452
  return "vertical";
69455
69453
  {
69456
- const u = Ar(r) && r.type === a0, c = Ar(i) && i.type === a0;
69454
+ const u = Sr(r) && r.type === a0, c = Sr(i) && i.type === a0;
69457
69455
  if (u && !c)
69458
69456
  return "vertical";
69459
69457
  if (!u && c)
@@ -69709,7 +69707,7 @@ class XIe extends Qk {
69709
69707
  const h = {
69710
69708
  ...c,
69711
69709
  layer: d
69712
- }, p = `${(a.name ? `${a.name}_` : "") + f}child__layer_${Pt(d)}`, m = this.mapLayerOrUnit(a, { ...r, repeater: h, repeaterPrefix: p });
69710
+ }, p = `${(a.name ? `${a.name}_` : "") + f}child__layer_${zt(d)}`, m = this.mapLayerOrUnit(a, { ...r, repeater: h, repeaterPrefix: p });
69713
69711
  return m.name = p, m;
69714
69712
  })
69715
69713
  };
@@ -69726,7 +69724,7 @@ class XIe extends Qk {
69726
69724
  row: g,
69727
69725
  column: y,
69728
69726
  layer: u.layer
69729
- }, v = `${(a.name ? `${a.name}_` : "") + c}child__${_e(i) ? `${Pt(m)}` : (i.row ? `row_${Pt(g)}` : "") + (i.column ? `column_${Pt(y)}` : "")}`, w = this.map(a, { ...r, repeater: b, repeaterPrefix: v });
69727
+ }, v = `${(a.name ? `${a.name}_` : "") + c}child__${_e(i) ? `${zt(m)}` : (i.row ? `row_${zt(g)}` : "") + (i.column ? `column_${zt(y)}` : "")}`, w = this.map(a, { ...r, repeater: b, repeaterPrefix: v });
69730
69728
  w.name = v, l.push(ci(w, ["data"]));
69731
69729
  }
69732
69730
  const p = _e(i) ? n.columns : i.column ? i.column.length : 1;
@@ -70492,9 +70490,9 @@ const MFe = {
70492
70490
  parse: (e, t, n) => {
70493
70491
  const r = t.name, i = t.project ?? (t.project = new TFe()), a = {}, o = {}, s = /* @__PURE__ */ new Set(), l = (p, m) => {
70494
70492
  const g = m === "visual" ? p.channel : p.field;
70495
- let y = Pt(`${r}_${g}`);
70493
+ let y = zt(`${r}_${g}`);
70496
70494
  for (let b = 1; s.has(y); b++)
70497
- y = Pt(`${r}_${g}_${b}`);
70495
+ y = zt(`${r}_${g}_${b}`);
70498
70496
  return s.add(y), { [m]: y };
70499
70497
  }, u = t.type, c = e.config.selection[u], f = n.value !== void 0 ? an(n.value) : null;
70500
70498
  let { fields: d, encodings: h } = st(n.select) ? n.select : {};
@@ -71031,7 +71029,7 @@ function lX(e, t = {}) {
71031
71029
  function uX(e, t, n, { reactiveGeom: r } = {}) {
71032
71030
  const i = { ...n, ...n.tooltipFormat }, a = /* @__PURE__ */ new Set(), o = r ? "datum.datum" : "datum", s = [];
71033
71031
  function l(c, f) {
71034
- const d = Mc(f), h = Ar(c) ? c : {
71032
+ const d = Mc(f), h = Sr(c) ? c : {
71035
71033
  ...c,
71036
71034
  type: e[d].type
71037
71035
  // for secondary field def, copy type from main channel
@@ -71198,7 +71196,7 @@ function f0({ channel: e, markDef: t, encoding: n = {}, model: r, bandPosition:
71198
71196
  const l = t[a];
71199
71197
  return l ? { offsetType: "visual", offset: l } : {};
71200
71198
  }
71201
- function wr(e, t, { defaultPos: n, vgChannel: r }) {
71199
+ function xr(e, t, { defaultPos: n, vgChannel: r }) {
71202
71200
  const { encoding: i, markDef: a, config: o, stack: s } = t, l = i[e], u = i[So(e)], c = t.scaleName(e), f = t.getScaleComponent(e), { offset: d, offsetType: h } = f0({
71203
71201
  channel: e,
71204
71202
  markDef: a,
@@ -71308,7 +71306,7 @@ function fX(e, t, n, r = "middle") {
71308
71306
  return Ae(a) ? (le(VOe(i)), o = void 0) : o = a, e === "x" ? VFe[o || (r === "top" ? "left" : "center")] : YFe[o || r];
71309
71307
  }
71310
71308
  function Nb(e, t, { defaultPos: n, defaultPos2: r, range: i }) {
71311
- return i ? dX(e, t, { defaultPos: n, defaultPos2: r }) : wr(e, t, { defaultPos: n });
71309
+ return i ? dX(e, t, { defaultPos: n, defaultPos2: r }) : xr(e, t, { defaultPos: n });
71312
71310
  }
71313
71311
  function dX(e, t, { defaultPos: n, defaultPos2: r }) {
71314
71312
  const { markDef: i, config: a } = t, o = So(e), s = Gr(e), l = XFe(t, r, o), u = l[s] ? (
@@ -71319,7 +71317,7 @@ function dX(e, t, { defaultPos: n, defaultPos2: r }) {
71319
71317
  Tl(e)
71320
71318
  );
71321
71319
  return {
71322
- ...wr(e, t, { defaultPos: n, vgChannel: u }),
71320
+ ...xr(e, t, { defaultPos: n, vgChannel: u }),
71323
71321
  ...l
71324
71322
  };
71325
71323
  }
@@ -71639,7 +71637,7 @@ const F3 = "voronoi", hX = {
71639
71637
  var l;
71640
71638
  const r = t.name, i = t.project, a = t.bind, o = (l = t.init) == null ? void 0 : l[0], s = hX.defined(t) ? "(item().isVoronoi ? datum.datum : datum)" : "datum";
71641
71639
  return i.items.forEach((u, c) => {
71642
- const f = Pt(`${r}_${u.field}`);
71640
+ const f = zt(`${r}_${u.field}`);
71643
71641
  n.filter((h) => h.name === f).length || n.unshift({
71644
71642
  name: f,
71645
71643
  ...o ? { init: cc(o[c]) } : { value: null },
@@ -71654,7 +71652,7 @@ const F3 = "voronoi", hX = {
71654
71652
  }), n;
71655
71653
  },
71656
71654
  signals: (e, t, n) => {
71657
- const r = t.name, i = t.project, a = n.find((u) => u.name === r + ys), o = r + $m, s = i.items.map((u) => Pt(`${r}_${u.field}`)), l = s.map((u) => `${u} !== null`).join(" && ");
71655
+ const r = t.name, i = t.project, a = n.find((u) => u.name === r + ys), o = r + $m, s = i.items.map((u) => zt(`${r}_${u.field}`)), l = s.map((u) => `${u} !== null`).join(" && ");
71658
71656
  return s.length && (a.update = `${l} ? {fields: ${o}, values: [${s.join(", ")}]} : null`), delete a.value, delete a.on, n;
71659
71657
  }
71660
71658
  }, $b = "_toggle", mX = {
@@ -71676,7 +71674,7 @@ const F3 = "voronoi", hX = {
71676
71674
  topLevelSignals: (e, t, n) => {
71677
71675
  if (pX.defined(t))
71678
71676
  for (const r of t.project.items) {
71679
- const i = n.findIndex((a) => a.name === Pt(`${t.name}_${r.field}`));
71677
+ const i = n.findIndex((a) => a.name === zt(`${t.name}_${r.field}`));
71680
71678
  i !== -1 && n[i].on.push({ events: t.clear, update: "null" });
71681
71679
  }
71682
71680
  return n;
@@ -71722,7 +71720,7 @@ const F3 = "voronoi", hX = {
71722
71720
  for (const o of t.project.items) {
71723
71721
  if (!o.hasLegend)
71724
71722
  continue;
71725
- const s = `${Pt(o.field)}_legend`, l = `${r}_${s}`;
71723
+ const s = `${zt(o.field)}_legend`, l = `${r}_${s}`;
71726
71724
  if (n.filter((c) => c.name === l).length === 0) {
71727
71725
  const c = i.merge.map(a(`${s}_symbols`)).concat(i.merge.map(a(`${s}_labels`))).concat(i.merge.map(a(`${s}_entries`)));
71728
71726
  n.unshift({
@@ -71743,7 +71741,7 @@ const F3 = "voronoi", hX = {
71743
71741
  return n;
71744
71742
  },
71745
71743
  signals: (e, t, n) => {
71746
- const r = t.name, i = t.project, a = n.find((d) => d.name === r + ys), o = r + $m, s = i.items.filter((d) => d.hasLegend).map((d) => Pt(`${r}_${Pt(d.field)}_legend`)), u = `${s.map((d) => `${d} !== null`).join(" && ")} ? {fields: ${o}, values: [${s.join(", ")}]} : null`;
71744
+ const r = t.name, i = t.project, a = n.find((d) => d.name === r + ys), o = r + $m, s = i.items.filter((d) => d.hasLegend).map((d) => zt(`${r}_${zt(d.field)}_legend`)), u = `${s.map((d) => `${d} !== null`).join(" && ")} ? {fields: ${o}, values: [${s.join(", ")}]} : null`;
71747
71745
  t.events && s.length > 0 ? a.on.push({
71748
71746
  events: s.map((d) => ({ signal: d })),
71749
71747
  update: u
@@ -71915,7 +71913,7 @@ function lLe(e, t) {
71915
71913
  return n;
71916
71914
  let i = 0;
71917
71915
  for (const a of t) {
71918
- const o = Pt(a.name), s = a.select, l = He(s) ? s : s.type, u = st(s) ? Be(s) : { type: l }, c = r[l];
71916
+ const o = zt(a.name), s = a.select, l = He(s) ? s : s.type, u = st(s) ? Be(s) : { type: l }, c = r[l];
71919
71917
  for (const h in c)
71920
71918
  h === "fields" || h === "encodings" || (h === "mark" && (u.mark = { ...c.mark, ...u.mark }), (u[h] === void 0 || u[h] === !0) && (u[h] = Be(c[h] ?? u[h])));
71921
71919
  const f = n[o] = {
@@ -71937,7 +71935,7 @@ function lLe(e, t) {
71937
71935
  return i > 1 && le(COe), n;
71938
71936
  }
71939
71937
  function SX(e, t, n, r = "datum") {
71940
- const i = He(t) ? t : t.param, a = Pt(i), o = at(a + fc);
71938
+ const i = He(t) ? t : t.param, a = zt(i), o = at(a + fc);
71941
71939
  let s;
71942
71940
  try {
71943
71941
  s = e.getSelectionComponent(a, i);
@@ -71952,7 +71950,7 @@ function SX(e, t, n, r = "datum") {
71952
71950
  return t.empty === !1 ? `${f} && ${c}` : `!${f} || ${c}`;
71953
71951
  }
71954
71952
  function AX(e, t, n) {
71955
- const r = Pt(t), i = n.encoding;
71953
+ const r = zt(t), i = n.encoding;
71956
71954
  let a = n.field, o;
71957
71955
  try {
71958
71956
  o = e.getSelectionComponent(r, t);
@@ -72724,7 +72722,7 @@ function UX(e, t, n) {
72724
72722
  if (!(r != null && r.length))
72725
72723
  return;
72726
72724
  const i = at(n.field);
72727
- return r.map((a) => `(!length(data(${at(Pt(a) + fc)})) || (${a}[${i}] && indexof(${a}[${i}], datum.value) >= 0))`).join(" || ");
72725
+ return r.map((a) => `(!length(data(${at(zt(a) + fc)})) || (${a}[${i}] && indexof(${a}[${i}], datum.value) >= 0))`).join(" || ");
72728
72726
  }
72729
72727
  const XR = {
72730
72728
  direction: ({ direction: e }) => e,
@@ -72899,7 +72897,7 @@ function YLe(e, t) {
72899
72897
  for (const E of ["labels", "legend", "title", "symbols", "gradient", "entries"]) {
72900
72898
  const _ = FX(g[E] ?? {}, e), S = E in YR ? YR[E](_, v) : _;
72901
72899
  S !== void 0 && !Tt(S) && (b[E] = {
72902
- ...y != null && y.length && ue(c) ? { name: `${Pt(c.field)}_legend_${E}` } : {},
72900
+ ...y != null && y.length && ue(c) ? { name: `${zt(c.field)}_legend_${E}` } : {},
72903
72901
  ...y != null && y.length ? { interactive: !0 } : {},
72904
72902
  update: y != null && y.length ? { ...S, cursor: { value: "pointer" } } : S
72905
72903
  });
@@ -73183,7 +73181,7 @@ class Qa extends xt {
73183
73181
  }
73184
73182
  static makeFromEncoding(n, r) {
73185
73183
  const i = r.reduceFieldDef((a, o, s) => {
73186
- if (Ar(o) && Ot(o.bin)) {
73184
+ if (Sr(o) && Ot(o.bin)) {
73187
73185
  const { key: l, binComponent: u } = ZR(o, o.bin, r);
73188
73186
  a[l] = {
73189
73187
  ...u,
@@ -73259,7 +73257,7 @@ class Qa extends xt {
73259
73257
  function uze(e, t, n, r) {
73260
73258
  var a;
73261
73259
  const i = Gt(r) ? r.encoding[So(t)] : void 0;
73262
- if (Ar(n) && Gt(r) && rY(n, i, r.markDef, r.config)) {
73260
+ if (Sr(n) && Gt(r) && rY(n, i, r.markDef, r.config)) {
73263
73261
  e.add(ge(n, {})), e.add(ge(n, { suffix: "end" }));
73264
73262
  const { mark: o, markDef: s, config: l } = r, u = Ml({ fieldDef: n, markDef: s, config: l });
73265
73263
  Cp(o) && u !== 0.5 && sn(t) && (e.add(ge(n, { suffix: nv })), e.add(ge(n, { suffix: rv }))), n.bin && Mm(n, t) && e.add(ge(n, { binSuffix: "range" }));
@@ -73557,7 +73555,7 @@ function hze(e) {
73557
73555
  u0(r) ? t[r.field] = "date" : r.type === "quantitative" && iOe(r.aggregate) ? t[r.field] = "number" : r0(r.field) > 1 ? r.field in t || (t[r.field] = "flatten") : Dc(r) && is(r.sort) && r0(r.sort.field) > 1 && (r.sort.field in t || (t[r.sort.field] = "flatten"));
73558
73556
  }
73559
73557
  if ((Gt(e) || fi(e)) && e.forEachFieldDef((r, i) => {
73560
- if (Ar(r))
73558
+ if (Sr(r))
73561
73559
  n(r);
73562
73560
  else {
73563
73561
  const a = Mc(i), o = e.fieldDef(a);
@@ -73586,14 +73584,14 @@ function pze(e) {
73586
73584
  }
73587
73585
  return t;
73588
73586
  }
73589
- class er extends xt {
73587
+ class Jn extends xt {
73590
73588
  constructor(n, r) {
73591
73589
  super(n);
73592
73590
  te(this, "_parse");
73593
73591
  this._parse = r;
73594
73592
  }
73595
73593
  clone() {
73596
- return new er(null, Be(this._parse));
73594
+ return new Jn(null, Be(this._parse));
73597
73595
  }
73598
73596
  hash() {
73599
73597
  return `Parse ${tt(this._parse)}`;
@@ -73626,7 +73624,7 @@ class er extends xt {
73626
73624
  const u = o.get(l);
73627
73625
  u !== null && (s[l] = u);
73628
73626
  }
73629
- return ae(s).length === 0 || a.parseNothing ? null : new er(n, s);
73627
+ return ae(s).length === 0 || a.parseNothing ? null : new Jn(n, s);
73630
73628
  }
73631
73629
  get parse() {
73632
73630
  return this._parse;
@@ -73858,7 +73856,7 @@ class gze extends hS {
73858
73856
  this.requiresSelectionId = n && aS(n);
73859
73857
  }
73860
73858
  run(n) {
73861
- n instanceof $l && (this.requiresSelectionId && (fS(n.parent) || n.parent instanceof la || n.parent instanceof er) || (this.setModified(), n.remove()));
73859
+ n instanceof $l && (this.requiresSelectionId && (fS(n.parent) || n.parent instanceof la || n.parent instanceof Jn) || (this.setModified(), n.remove()));
73862
73860
  }
73863
73861
  }
73864
73862
  class yze extends dS {
@@ -73884,8 +73882,8 @@ class vze extends Ic {
73884
73882
  run(t) {
73885
73883
  if (!fS(t) && !(t.numChildren() > 1)) {
73886
73884
  for (const n of t.children)
73887
- if (n instanceof er)
73888
- if (t instanceof er)
73885
+ if (n instanceof Jn)
73886
+ if (t instanceof Jn)
73889
73887
  this.setModified(), t.merge(n);
73890
73888
  else {
73891
73889
  if (nk(t.producedFields(), n.dependentFields()))
@@ -73897,7 +73895,7 @@ class vze extends Ic {
73897
73895
  }
73898
73896
  class xze extends Ic {
73899
73897
  run(t) {
73900
- const n = [...t.children], r = t.children.filter((i) => i instanceof er);
73898
+ const n = [...t.children], r = t.children.filter((i) => i instanceof Jn);
73901
73899
  if (t.numChildren() > 1 && r.length >= 1) {
73902
73900
  const i = {}, a = /* @__PURE__ */ new Set();
73903
73901
  for (const o of r) {
@@ -73909,12 +73907,12 @@ class xze extends Ic {
73909
73907
  delete i[o];
73910
73908
  if (!Tt(i)) {
73911
73909
  this.setModified();
73912
- const o = new er(t, i);
73910
+ const o = new Jn(t, i);
73913
73911
  for (const s of n) {
73914
- if (s instanceof er)
73912
+ if (s instanceof Jn)
73915
73913
  for (const l of ae(i))
73916
73914
  delete s.parse[l];
73917
- t.removeChild(s), s.parent = o, s instanceof er && ae(s.parse).length === 0 && s.remove();
73915
+ t.removeChild(s), s.parent = o, s instanceof Jn && ae(s.parse).length === 0 && s.remove();
73918
73916
  }
73919
73917
  }
73920
73918
  }
@@ -73956,7 +73954,7 @@ class kze extends Ic {
73956
73954
  this.model = n;
73957
73955
  }
73958
73956
  run(n) {
73959
- const r = !(fS(n) || n instanceof dd || n instanceof er || n instanceof $l), i = [], a = [];
73957
+ const r = !(fS(n) || n instanceof dd || n instanceof Jn || n instanceof $l), i = [], a = [];
73960
73958
  for (const o of n.children)
73961
73959
  o instanceof Qa && (r && !nk(n.producedFields(), o.dependentFields()) ? i.push(o) : a.push(o));
73962
73960
  if (i.length > 0) {
@@ -75451,7 +75449,7 @@ class gS {
75451
75449
  return o.length > 0 && (n.legends = o), n;
75452
75450
  }
75453
75451
  getName(t) {
75454
- return Pt((this.name ? `${this.name}_` : "") + t);
75452
+ return zt((this.name ? `${this.name}_` : "") + t);
75455
75453
  }
75456
75454
  getDataName(t) {
75457
75455
  return this.getName(Yt[t].toLowerCase());
@@ -75924,7 +75922,7 @@ class Np extends xt {
75924
75922
  i = { as: u, ...i };
75925
75923
  let c;
75926
75924
  try {
75927
- c = r.getSelectionComponent(Pt(u), u);
75925
+ c = r.getSelectionComponent(zt(u), u);
75928
75926
  } catch {
75929
75927
  throw new Error(EOe(u));
75930
75928
  }
@@ -76088,7 +76086,7 @@ function lK(e) {
76088
76086
  name: null,
76089
76087
  source: i.name,
76090
76088
  transform: []
76091
- }), r instanceof er && (r.parent instanceof dc && !i.source ? (i.format = {
76089
+ }), r instanceof Jn && (r.parent instanceof dc && !i.source ? (i.format = {
76092
76090
  ...i.format,
76093
76091
  parse: r.assembleFormatParse()
76094
76092
  }, i.transform.push(...r.assembleTransforms(!0))) : i.transform.push(...r.assembleTransforms())), r instanceof hd) {
@@ -76563,11 +76561,11 @@ function wPe(e, t, n) {
76563
76561
  o = e = new d0(e, i), a = "derived";
76564
76562
  else if (Jk(i)) {
76565
76563
  const s = dze(i);
76566
- o = e = er.makeWithAncestors(e, {}, s, n) ?? e, e = new dd(e, t, i.filter);
76564
+ o = e = Jn.makeWithAncestors(e, {}, s, n) ?? e, e = new dd(e, t, i.filter);
76567
76565
  } else if (WY(i))
76568
76566
  o = e = Qa.makeFromTransform(e, i, t), a = "number";
76569
76567
  else if (cFe(i))
76570
- a = "date", n.getWithExplicit(i.field).value === void 0 && (e = new er(e, { [i.field]: a }), n.set(i.field, a, !1)), o = e = Ka.makeFromTransform(e, i);
76568
+ a = "date", n.getWithExplicit(i.field).value === void 0 && (e = new Jn(e, { [i.field]: a }), n.set(i.field, a, !1)), o = e = Ka.makeFromTransform(e, i);
76571
76569
  else if (fFe(i))
76572
76570
  o = e = la.makeFromTransform(e, i), a = "number", aS(t) && (e = new $l(e));
76573
76571
  else if (jY(i))
@@ -76612,11 +76610,11 @@ function bv(e) {
76612
76610
  var g;
76613
76611
  let t = xPe(e, e.component.data.sources);
76614
76612
  const { outputNodes: n, outputNodeRefCounts: r } = e.component.data, i = e.data, o = !(i && (cl(i) || c0(i) || Tp(i))) && e.parent ? e.parent.component.data.ancestorParse.clone() : new AFe();
76615
- cl(i) ? (ZY(i) ? t = new Rm(t, i.sequence) : eS(i) && (t = new Om(t, i.graticule)), o.parseNothing = !0) : ((g = i == null ? void 0 : i.format) == null ? void 0 : g.parse) === null && (o.parseNothing = !0), t = er.makeExplicit(t, e, o) ?? t, t = new $l(t);
76613
+ cl(i) ? (ZY(i) ? t = new Rm(t, i.sequence) : eS(i) && (t = new Om(t, i.graticule)), o.parseNothing = !0) : ((g = i == null ? void 0 : i.format) == null ? void 0 : g.parse) === null && (o.parseNothing = !0), t = Jn.makeExplicit(t, e, o) ?? t, t = new $l(t);
76616
76614
  const s = e.parent && md(e.parent);
76617
76615
  (Gt(e) || fi(e)) && s && (t = Qa.makeFromEncoding(t, e) ?? t), e.transforms.length > 0 && (t = wPe(t, e, o));
76618
76616
  const l = pze(e), u = hze(e);
76619
- t = er.makeWithAncestors(t, {}, { ...l, ...u }, o) ?? t, Gt(e) && (t = Mf.parseAll(t, e), t = Mp.parseAll(t, e)), (Gt(e) || fi(e)) && (s || (t = Qa.makeFromEncoding(t, e) ?? t), t = Ka.makeFromEncoding(t, e) ?? t, t = d0.parseAllForSortIndex(t, e));
76617
+ t = Jn.makeWithAncestors(t, {}, { ...l, ...u }, o) ?? t, Gt(e) && (t = Mf.parseAll(t, e), t = Mp.parseAll(t, e)), (Gt(e) || fi(e)) && (s || (t = Qa.makeFromEncoding(t, e) ?? t), t = Ka.makeFromEncoding(t, e) ?? t, t = d0.parseAllForSortIndex(t, e));
76620
76618
  const c = t = Gg(Yt.Raw, e, t);
76621
76619
  if (Gt(e)) {
76622
76620
  const y = la.makeFromEncoding(t, e);
@@ -76994,8 +76992,8 @@ const IPe = {
76994
76992
  orient: "ignore",
76995
76993
  theta: "ignore"
76996
76994
  }),
76997
- ...wr("x", e, { defaultPos: "mid" }),
76998
- ...wr("y", e, { defaultPos: "mid" }),
76995
+ ...xr("x", e, { defaultPos: "mid" }),
76996
+ ...xr("y", e, { defaultPos: "mid" }),
76999
76997
  // arcs are rectangles in polar coordinates
77000
76998
  ...gs(e, "radius"),
77001
76999
  ...gs(e, "theta")
@@ -77084,8 +77082,8 @@ const IPe = {
77084
77082
  orient: "ignore",
77085
77083
  theta: "ignore"
77086
77084
  }),
77087
- ...wr("x", e, { defaultPos: "mid" }),
77088
- ...wr("y", e, { defaultPos: "mid" }),
77085
+ ...xr("x", e, { defaultPos: "mid" }),
77086
+ ...xr("y", e, { defaultPos: "mid" }),
77089
77087
  ...Ln("size", e, {
77090
77088
  vgChannel: "strokeWidth"
77091
77089
  // VL's line size is strokeWidth
@@ -77103,8 +77101,8 @@ const IPe = {
77103
77101
  orient: "ignore",
77104
77102
  theta: "ignore"
77105
77103
  }),
77106
- ...wr("x", e, { defaultPos: "mid" }),
77107
- ...wr("y", e, { defaultPos: "mid" }),
77104
+ ...xr("x", e, { defaultPos: "mid" }),
77105
+ ...xr("y", e, { defaultPos: "mid" }),
77108
77106
  ...Ln("size", e),
77109
77107
  ...iS(e)
77110
77108
  })
@@ -77120,8 +77118,8 @@ function vS(e, t) {
77120
77118
  orient: "ignore",
77121
77119
  theta: "ignore"
77122
77120
  }),
77123
- ...wr("x", e, { defaultPos: "mid" }),
77124
- ...wr("y", e, { defaultPos: "mid" }),
77121
+ ...xr("x", e, { defaultPos: "mid" }),
77122
+ ...xr("y", e, { defaultPos: "mid" }),
77125
77123
  ...Ln("size", e),
77126
77124
  ...Ln("angle", e),
77127
77125
  ...qPe(e, n, t)
@@ -77197,8 +77195,8 @@ const HPe = {
77197
77195
  orient: "ignore",
77198
77196
  theta: "include"
77199
77197
  }),
77200
- ...wr("x", e, { defaultPos: "mid" }),
77201
- ...wr("y", e, { defaultPos: "mid" }),
77198
+ ...xr("x", e, { defaultPos: "mid" }),
77199
+ ...xr("y", e, { defaultPos: "mid" }),
77202
77200
  ...nS(e),
77203
77201
  ...Ln("size", e, {
77204
77202
  vgChannel: "fontSize"
@@ -77207,8 +77205,8 @@ const HPe = {
77207
77205
  ...Ln("angle", e),
77208
77206
  ...qR("align", XPe(e.markDef, n, t)),
77209
77207
  ...qR("baseline", KPe(e.markDef, n, t)),
77210
- ...wr("radius", e, { defaultPos: null }),
77211
- ...wr("theta", e, { defaultPos: null })
77208
+ ...xr("radius", e, { defaultPos: null }),
77209
+ ...xr("theta", e, { defaultPos: null })
77212
77210
  };
77213
77211
  }
77214
77212
  };
@@ -77234,7 +77232,7 @@ const ZPe = {
77234
77232
  theta: "ignore"
77235
77233
  }),
77236
77234
  ...gs(e, i),
77237
- ...wr(a, e, {
77235
+ ...xr(a, e, {
77238
77236
  defaultPos: "mid",
77239
77237
  vgChannel: a === "y" ? "yc" : "xc"
77240
77238
  }),
@@ -77601,7 +77599,7 @@ class dK extends sK {
77601
77599
  }
77602
77600
  typedFieldDef(n) {
77603
77601
  const r = this.fieldDef(n);
77604
- return Ar(r) ? r : null;
77602
+ return Sr(r) ? r : null;
77605
77603
  }
77606
77604
  }
77607
77605
  class wS extends gS {
@@ -77796,7 +77794,7 @@ const lBe = O$e.version, uBe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obj
77796
77794
  unique: qa,
77797
77795
  uniqueId: YG,
77798
77796
  vals: dn,
77799
- varName: Pt,
77797
+ varName: zt,
77800
77798
  version: lBe
77801
77799
  }, Symbol.toStringTag, { value: "Module" }));
77802
77800
  var hK = {};
@@ -79475,7 +79473,7 @@ const XUe = "_text_we7dz_1", KUe = "_md_container_we7dz_11", ZUe = "_chart_time_
79475
79473
  };
79476
79474
  function eqe(e) {
79477
79475
  var f, d, h;
79478
- const { message: t } = e, n = t.message.template, { template: r, botMessage: i } = ar(), { avatar: a } = yi(), [o, s] = cn(
79476
+ const { message: t } = e, n = t.message.template, { template: r, botMessage: i } = ir(), { avatar: a } = yi(), [o, s] = cn(
79479
79477
  (n == null ? void 0 : n.defaultChart) ?? ((d = (f = n == null ? void 0 : n.chartOptions) == null ? void 0 : f[0]) == null ? void 0 : d.type)
79480
79478
  ), l = rn(() => n.chartOptions, [n]), u = rn(
79481
79479
  () => {
@@ -79499,7 +79497,7 @@ function eqe(e) {
79499
79497
  style: (h = r == null ? void 0 : r.ChartMessageTemplate) == null ? void 0 : h.style,
79500
79498
  children: [
79501
79499
  /* @__PURE__ */ Q(E0, { avatar: a }),
79502
- /* @__PURE__ */ nt("div", { className: It(Vd.text, Vd["text--bot"]), style: c, children: [
79500
+ /* @__PURE__ */ nt("div", { className: Pt(Vd.text, Vd["text--bot"]), style: c, children: [
79503
79501
  /* @__PURE__ */ Q("div", { children: n.title }),
79504
79502
  /* @__PURE__ */ Q("div", { children: n.text })
79505
79503
  ] }),
@@ -79529,7 +79527,7 @@ const tqe = "_image_box_8cz9p_1", nqe = "_time_8cz9p_14", rqe = "_quick_replies_
79529
79527
  };
79530
79528
  function lqe(e) {
79531
79529
  var u;
79532
- const { message: t } = e, n = t.message.template, { previewImageUrl: r, originalContentUrl: i } = n, { template: a } = ar(), { avatar: o } = yi(), [s, l] = cn(!1);
79530
+ const { message: t } = e, n = t.message.template, { previewImageUrl: r, originalContentUrl: i } = n, { template: a } = ir(), { avatar: o } = yi(), [s, l] = cn(!1);
79533
79531
  return s ? /* @__PURE__ */ nt(
79534
79532
  "div",
79535
79533
  {
@@ -79601,7 +79599,7 @@ function uqe(e) {
79601
79599
  }
79602
79600
  function cqe() {
79603
79601
  var a;
79604
- const { chatbot: e } = ar(), { messages: t, messageBoxBottomRef: n, botTypingPlaceholder: r } = yi();
79602
+ const { chatbot: e } = ir(), { messages: t, messageBoxBottomRef: n, botTypingPlaceholder: r } = yi();
79605
79603
  tn(() => {
79606
79604
  var o;
79607
79605
  (o = n.current) == null || o.scrollIntoView({ behavior: "smooth" });
@@ -79615,7 +79613,7 @@ function cqe() {
79615
79613
  return /* @__PURE__ */ Q(
79616
79614
  "div",
79617
79615
  {
79618
- className: It("asgard-chatbot-body", mT.chatbot_body),
79616
+ className: Pt("asgard-chatbot-body", mT.chatbot_body),
79619
79617
  style: (a = e == null ? void 0 : e.body) == null ? void 0 : a.style,
79620
79618
  children: /* @__PURE__ */ nt("div", { className: mT.chatbot_body__content, style: i, children: [
79621
79619
  Array.from((t == null ? void 0 : t.values()) ?? []).map((o) => /* @__PURE__ */ Q(
@@ -79658,7 +79656,7 @@ function vqe(e) {
79658
79656
  a(!1);
79659
79657
  }, o.current = p;
79660
79658
  }, [t]);
79661
- const s = zt(() => {
79659
+ const s = Lt(() => {
79662
79660
  if (!o.current) {
79663
79661
  alert("無法開始辨識: 語音識別器未初始化,請檢查是否有授權使用麥克風");
79664
79662
  return;
@@ -79668,24 +79666,24 @@ function vqe(e) {
79668
79666
  } catch (h) {
79669
79667
  alert(`無法開始辨識: ${JSON.stringify(h)}`);
79670
79668
  }
79671
- }, []), l = zt(() => {
79669
+ }, []), l = Lt(() => {
79672
79670
  o.current && (o.current.stop(), a(!1));
79673
- }, []), u = zt(
79671
+ }, []), u = Lt(
79674
79672
  (h) => {
79675
79673
  i || (h.preventDefault(), s());
79676
79674
  },
79677
79675
  [i, s]
79678
- ), c = zt(
79676
+ ), c = Lt(
79679
79677
  (h) => {
79680
79678
  i && (h.preventDefault(), l());
79681
79679
  },
79682
79680
  [i, l]
79683
- ), f = zt(
79681
+ ), f = Lt(
79684
79682
  (h) => {
79685
79683
  i || (h.preventDefault(), s());
79686
79684
  },
79687
79685
  [i, s]
79688
- ), d = zt(
79686
+ ), d = Lt(
79689
79687
  (h) => {
79690
79688
  i && (h.preventDefault(), l());
79691
79689
  },
@@ -79706,7 +79704,7 @@ function vqe(e) {
79706
79704
  }
79707
79705
  function xqe() {
79708
79706
  var p, m, g, y, b, v, w, E;
79709
- const { sendMessage: e, isConnecting: t, inputPlaceholder: n } = yi(), { chatbot: r } = ar(), [i, a] = cn(""), [o, s] = cn(!1), l = Ja(null), u = rn(
79707
+ const { sendMessage: e, isConnecting: t, inputPlaceholder: n } = yi(), { chatbot: r } = ir(), [i, a] = cn(""), [o, s] = cn(!1), l = Ja(null), u = rn(
79710
79708
  () => t || !i.trim(),
79711
79709
  [t, i]
79712
79710
  ), c = rn(
@@ -79715,15 +79713,15 @@ function xqe() {
79715
79713
  borderTopColor: r == null ? void 0 : r.borderColor
79716
79714
  }),
79717
79715
  [r]
79718
- ), f = zt(
79716
+ ), f = Lt(
79719
79717
  (_) => {
79720
79718
  const S = _.target, N = S.value;
79721
79719
  S.style.height = "36px", N && (S.style.height = `${S.scrollHeight}px`), a(_.target.value);
79722
79720
  },
79723
79721
  []
79724
- ), d = zt(() => {
79722
+ ), d = Lt(() => {
79725
79723
  !o && !t && (e == null || e({ text: i }), a(""), l.current && (l.current.style.height = "36px"));
79726
- }, [o, t, e, i]), h = zt(
79724
+ }, [o, t, e, i]), h = Lt(
79727
79725
  (_) => {
79728
79726
  if (_.key === "Enter" && !o && !t && i.trim()) {
79729
79727
  e == null || e({ text: i }), a("");
@@ -79742,7 +79740,7 @@ function xqe() {
79742
79740
  }, [(p = r.footer) == null ? void 0 : p.textArea]), /* @__PURE__ */ Q(
79743
79741
  "div",
79744
79742
  {
79745
- className: It("asgard-chatbot-footer", fu.chatbot_footer),
79743
+ className: Pt("asgard-chatbot-footer", fu.chatbot_footer),
79746
79744
  style: (m = r.footer) == null ? void 0 : m.style,
79747
79745
  children: /* @__PURE__ */ nt("div", { className: fu.chatbot_footer__content, style: c, children: [
79748
79746
  /* @__PURE__ */ Q(
@@ -79764,7 +79762,7 @@ function xqe() {
79764
79762
  i ? /* @__PURE__ */ Q(
79765
79763
  "button",
79766
79764
  {
79767
- className: It(
79765
+ className: Pt(
79768
79766
  fu.chatbot_submit_button,
79769
79767
  u && fu.chatbot_submit_button__disabled
79770
79768
  ),
@@ -79777,7 +79775,7 @@ function xqe() {
79777
79775
  vqe,
79778
79776
  {
79779
79777
  setValue: a,
79780
- className: It(
79778
+ className: Pt(
79781
79779
  fu.chatbot_submit_button,
79782
79780
  t && fu.chatbot_submit_button__disabled
79783
79781
  ),
@@ -79795,7 +79793,7 @@ const wqe = "_chatbot_root_z7j5t_2", Eqe = "_full_screen_z7j5t_125", _qe = "_cha
79795
79793
  screen_keyboard_open: kqe
79796
79794
  };
79797
79795
  function Sqe(e) {
79798
- const { children: t } = e, n = Ja(null), r = ar();
79796
+ const { children: t } = e, n = Ja(null), r = ir();
79799
79797
  jK(n), HK();
79800
79798
  const [, i] = UK() ?? [], a = qK(), o = rn(() => {
79801
79799
  var s, l;
@@ -79810,7 +79808,7 @@ function Sqe(e) {
79810
79808
  "div",
79811
79809
  {
79812
79810
  ref: n,
79813
- className: It(
79811
+ className: Pt(
79814
79812
  Bh.chatbot_container,
79815
79813
  a && Bh.screen_keyboard_open
79816
79814
  ),
@@ -79830,12 +79828,12 @@ function ND(e) {
79830
79828
  footer: u,
79831
79829
  ...c
79832
79830
  }
79833
- } = ar();
79831
+ } = ir();
79834
79832
  return /* @__PURE__ */ Q(
79835
79833
  "div",
79836
79834
  {
79837
79835
  ref: a,
79838
- className: It(Bh.chatbot_root, r),
79836
+ className: Pt(Bh.chatbot_root, r),
79839
79837
  style: Object.assign({}, o, i),
79840
79838
  children: t ? /* @__PURE__ */ Q(Sqe, { children: n }) : /* @__PURE__ */ Q(
79841
79839
  "div",
@@ -80055,7 +80053,7 @@ export {
80055
80053
  yi as useAsgardContext,
80056
80054
  LK as useAsgardServiceClient,
80057
80055
  F7 as useAsgardTemplateContext,
80058
- ar as useAsgardThemeContext,
80056
+ ir as useAsgardThemeContext,
80059
80057
  zK as useChannel,
80060
80058
  PK as useDebounce,
80061
80059
  cA as useDeepCompareMemo,