@graphysdk/react 1.9.0-beta.1792409717036 → 1.9.0-beta.1792410301640

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.
@@ -213,7 +213,7 @@ function f1(e, t) {
213
213
  const r = Ye(e);
214
214
  return isNaN(t) ? Ze(e, NaN) : (t && r.setDate(r.getDate() + t), r);
215
215
  }
216
- var ZR = 365.2425, eL = Math.pow(10, 8) * 24 * 60 * 60 * 1e3, tpe = -eL, m1 = 6048e5, tL = 864e5, rL = 6e4, nL = 36e5, iL = 1e3, oL = 3600, p1 = oL * 24, rpe = p1 * 7, aL = p1 * ZR, sL = aL / 12, npe = sL * 3, lL = {};
216
+ var ZR = 365.2425, eL = Math.pow(10, 8) * 24 * 60 * 60 * 1e3, rpe = -eL, m1 = 6048e5, tL = 864e5, rL = 6e4, nL = 36e5, iL = 1e3, oL = 3600, p1 = oL * 24, npe = p1 * 7, aL = p1 * ZR, sL = aL / 12, ipe = sL * 3, lL = {};
217
217
  function Ks() {
218
218
  return lL;
219
219
  }
@@ -2399,7 +2399,7 @@ var Dt = (e) => e instanceof Date && $t(e), rD = (e) => Dt(e) || e === null, gu
2399
2399
  }, T1 = (e, t) => {
2400
2400
  const { x: r, y: n } = Pm(e, t);
2401
2401
  return km(r, n);
2402
- }, M1 = "\0graphy\0_", ye = (e) => `${M1}${e}`, jn = { x: ye("constantX") }, ipe = {
2402
+ }, M1 = "\0graphy\0_", ye = (e) => `${M1}${e}`, jn = { x: ye("constantX") }, ope = {
2403
2403
  bar: ye("barSeriesLabel"),
2404
2404
  line: ye("lineSeriesLabel")
2405
2405
  }, At = {
@@ -2428,7 +2428,7 @@ var Dt = (e) => e instanceof Date && $t(e), rD = (e) => Dt(e) || e === null, gu
2428
2428
  }, Xa = {
2429
2429
  y: ye("ruleY"),
2430
2430
  x: ye("ruleX")
2431
- }, ope = {
2431
+ }, ape = {
2432
2432
  ...jn,
2433
2433
  ...At,
2434
2434
  ...xe,
@@ -2464,7 +2464,7 @@ function ot(e) {
2464
2464
  function k1(e) {
2465
2465
  return e[O.yRaw];
2466
2466
  }
2467
- function ape(e, t) {
2467
+ function spe(e, t) {
2468
2468
  return e[E1(t)];
2469
2469
  }
2470
2470
  var dD = {
@@ -6262,7 +6262,7 @@ Lc.every = function(e) {
6262
6262
  return (r - t) / e;
6263
6263
  }) : Lc;
6264
6264
  };
6265
- var spe = Lc.range, pn = 1e3, lr = pn * 60, gn = lr * 60, $i = gn * 24, zm = $i * 7, Sy = $i * 30, Fd = $i * 365, Po = gt(function(e) {
6265
+ var lpe = Lc.range, pn = 1e3, lr = pn * 60, gn = lr * 60, $i = gn * 24, zm = $i * 7, Sy = $i * 30, Fd = $i * 365, Po = gt(function(e) {
6266
6266
  e.setTime(e - e.getMilliseconds());
6267
6267
  }, function(e, t) {
6268
6268
  e.setTime(+e + t * pn);
@@ -6270,7 +6270,7 @@ var spe = Lc.range, pn = 1e3, lr = pn * 60, gn = lr * 60, $i = gn * 24, zm = $i
6270
6270
  return (t - e) / pn;
6271
6271
  }, function(e) {
6272
6272
  return e.getUTCSeconds();
6273
- }), lpe = Po.range, eT = gt(function(e) {
6273
+ }), cpe = Po.range, eT = gt(function(e) {
6274
6274
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * pn);
6275
6275
  }, function(e, t) {
6276
6276
  e.setTime(+e + t * lr);
@@ -6278,7 +6278,7 @@ var spe = Lc.range, pn = 1e3, lr = pn * 60, gn = lr * 60, $i = gn * 24, zm = $i
6278
6278
  return (t - e) / lr;
6279
6279
  }, function(e) {
6280
6280
  return e.getMinutes();
6281
- }), cpe = eT.range, tT = gt(function(e) {
6281
+ }), upe = eT.range, tT = gt(function(e) {
6282
6282
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * pn - e.getMinutes() * lr);
6283
6283
  }, function(e, t) {
6284
6284
  e.setTime(+e + t * gn);
@@ -6286,7 +6286,7 @@ var spe = Lc.range, pn = 1e3, lr = pn * 60, gn = lr * 60, $i = gn * 24, zm = $i
6286
6286
  return (t - e) / gn;
6287
6287
  }, function(e) {
6288
6288
  return e.getHours();
6289
- }), upe = tT.range, Ru = gt((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * lr) / $i, (e) => e.getDate() - 1), dpe = Ru.range;
6289
+ }), dpe = tT.range, Ru = gt((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * lr) / $i, (e) => e.getDate() - 1), hpe = Ru.range;
6290
6290
  function ro(e) {
6291
6291
  return gt(function(t) {
6292
6292
  t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
@@ -6296,7 +6296,7 @@ function ro(e) {
6296
6296
  return (r - t - (r.getTimezoneOffset() - t.getTimezoneOffset()) * lr) / zm;
6297
6297
  });
6298
6298
  }
6299
- var Ym = ro(0), Dc = ro(1), MH = ro(2), EH = ro(3), ta = ro(4), kH = ro(5), PH = ro(6), hpe = Ym.range, fpe = Dc.range, mpe = MH.range, ppe = EH.range, gpe = ta.range, vpe = kH.range, ype = PH.range, rT = gt(function(e) {
6299
+ var Ym = ro(0), Dc = ro(1), MH = ro(2), EH = ro(3), ta = ro(4), kH = ro(5), PH = ro(6), fpe = Ym.range, mpe = Dc.range, ppe = MH.range, gpe = EH.range, vpe = ta.range, ype = kH.range, bpe = PH.range, rT = gt(function(e) {
6300
6300
  e.setDate(1), e.setHours(0, 0, 0, 0);
6301
6301
  }, function(e, t) {
6302
6302
  e.setMonth(e.getMonth() + t);
@@ -6304,7 +6304,7 @@ var Ym = ro(0), Dc = ro(1), MH = ro(2), EH = ro(3), ta = ro(4), kH = ro(5), PH =
6304
6304
  return t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12;
6305
6305
  }, function(e) {
6306
6306
  return e.getMonth();
6307
- }), bpe = rT.range, Xn = gt(function(e) {
6307
+ }), xpe = rT.range, Xn = gt(function(e) {
6308
6308
  e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
6309
6309
  }, function(e, t) {
6310
6310
  e.setFullYear(e.getFullYear() + t);
@@ -6320,7 +6320,7 @@ Xn.every = function(e) {
6320
6320
  t.setFullYear(t.getFullYear() + r * e);
6321
6321
  });
6322
6322
  };
6323
- var xpe = Xn.range, Km = gt(function(e) {
6323
+ var wpe = Xn.range, Km = gt(function(e) {
6324
6324
  e.setUTCSeconds(0, 0);
6325
6325
  }, function(e, t) {
6326
6326
  e.setTime(+e + t * lr);
@@ -6328,7 +6328,7 @@ var xpe = Xn.range, Km = gt(function(e) {
6328
6328
  return (t - e) / lr;
6329
6329
  }, function(e) {
6330
6330
  return e.getUTCMinutes();
6331
- }), wpe = Km.range, Lu = gt(function(e) {
6331
+ }), Ape = Km.range, Lu = gt(function(e) {
6332
6332
  e.setUTCMinutes(0, 0, 0);
6333
6333
  }, function(e, t) {
6334
6334
  e.setTime(+e + t * gn);
@@ -6336,7 +6336,7 @@ var xpe = Xn.range, Km = gt(function(e) {
6336
6336
  return (t - e) / gn;
6337
6337
  }, function(e) {
6338
6338
  return e.getUTCHours();
6339
- }), Ape = Lu.range, ma = gt(function(e) {
6339
+ }), Spe = Lu.range, ma = gt(function(e) {
6340
6340
  e.setUTCHours(0, 0, 0, 0);
6341
6341
  }, function(e, t) {
6342
6342
  e.setUTCDate(e.getUTCDate() + t);
@@ -6344,7 +6344,7 @@ var xpe = Xn.range, Km = gt(function(e) {
6344
6344
  return (t - e) / $i;
6345
6345
  }, function(e) {
6346
6346
  return e.getUTCDate() - 1;
6347
- }), Spe = ma.range;
6347
+ }), Tpe = ma.range;
6348
6348
  function no(e) {
6349
6349
  return gt(function(t) {
6350
6350
  t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -6354,7 +6354,7 @@ function no(e) {
6354
6354
  return (r - t) / zm;
6355
6355
  });
6356
6356
  }
6357
- var Du = no(0), Ts = no(1), _H = no(2), CH = no(3), ra = no(4), IH = no(5), RH = no(6), Tpe = Du.range, Mpe = Ts.range, Epe = _H.range, kpe = CH.range, Ppe = ra.range, _pe = IH.range, Cpe = RH.range, Ou = gt(function(e) {
6357
+ var Du = no(0), Ts = no(1), _H = no(2), CH = no(3), ra = no(4), IH = no(5), RH = no(6), Mpe = Du.range, Epe = Ts.range, kpe = _H.range, Ppe = CH.range, _pe = ra.range, Cpe = IH.range, Ipe = RH.range, Ou = gt(function(e) {
6358
6358
  e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
6359
6359
  }, function(e, t) {
6360
6360
  e.setUTCMonth(e.getUTCMonth() + t);
@@ -6362,7 +6362,7 @@ var Du = no(0), Ts = no(1), _H = no(2), CH = no(3), ra = no(4), IH = no(5), RH =
6362
6362
  return t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12;
6363
6363
  }, function(e) {
6364
6364
  return e.getUTCMonth();
6365
- }), Ipe = Ou.range, tn = gt(function(e) {
6365
+ }), Rpe = Ou.range, tn = gt(function(e) {
6366
6366
  e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
6367
6367
  }, function(e, t) {
6368
6368
  e.setUTCFullYear(e.getUTCFullYear() + t);
@@ -6378,7 +6378,7 @@ tn.every = function(e) {
6378
6378
  t.setUTCFullYear(t.getUTCFullYear() + r * e);
6379
6379
  });
6380
6380
  };
6381
- var Rpe = tn.range;
6381
+ var Lpe = tn.range;
6382
6382
  function nT(e, t) {
6383
6383
  return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
6384
6384
  }
@@ -6416,7 +6416,7 @@ function LH(e) {
6416
6416
  function DH(e) {
6417
6417
  return e === null ? NaN : +e;
6418
6418
  }
6419
- var iT = Xm(nT), OH = iT.right, Lpe = iT.left, Dpe = Xm(DH).center, Ty = class extends Map {
6419
+ var iT = Xm(nT), OH = iT.right, Dpe = iT.left, Ope = Xm(DH).center, Ty = class extends Map {
6420
6420
  constructor(e, t = VH) {
6421
6421
  if (super(), Object.defineProperties(this, {
6422
6422
  _intern: { value: /* @__PURE__ */ new Map() },
@@ -6587,7 +6587,7 @@ function aT(e, t, r, n, i, o) {
6587
6587
  }
6588
6588
  return [s, l];
6589
6589
  }
6590
- var [HH, GH] = aT(tn, Ou, Du, ma, Lu, Km), [Ope, Npe] = aT(Xn, rT, Ym, Ru, tT, eT), $H = [
6590
+ var [HH, GH] = aT(tn, Ou, Du, ma, Lu, Km), [Npe, Bpe] = aT(Xn, rT, Ym, Ru, tT, eT), $H = [
6591
6591
  {
6592
6592
  unit: "year",
6593
6593
  step: 1e3
@@ -9479,7 +9479,7 @@ var W3 = /* @__PURE__ */ new Set(["label", "group"]), $y = {
9479
9479
  });
9480
9480
  }
9481
9481
  };
9482
- function Bpe(e) {
9482
+ function Vpe(e) {
9483
9483
  return e;
9484
9484
  }
9485
9485
  var Y3 = (e) => e.observation?.aesthetics ?? Pe.geom.aesthetics, CT = (e) => e.observation?.sharedPaint === !1 ? { ...e.observation.vocabulary } : {
@@ -12431,7 +12431,7 @@ function cM(e) {
12431
12431
  };
12432
12432
  };
12433
12433
  }
12434
- var Vpe = cM(Q$), Fpe = cM(J$);
12434
+ var Fpe = cM(Q$), Hpe = cM(J$);
12435
12435
  function t4(e, t) {
12436
12436
  t || (t = []);
12437
12437
  var r = e ? Math.min(t.length, e.length) : 0, n = t.slice(), i;
@@ -12512,7 +12512,7 @@ function uM(e) {
12512
12512
  };
12513
12513
  };
12514
12514
  }
12515
- var u4 = uM(lM), Hpe = uM(Gt);
12515
+ var u4 = uM(lM), Gpe = uM(Gt);
12516
12516
  function d4(e, t) {
12517
12517
  var r = Gt((e = uf(e)).l, (t = uf(t)).l), n = Gt(e.a, t.a), i = Gt(e.b, t.b), o = Gt(e.opacity, t.opacity);
12518
12518
  return function(a) {
@@ -12527,7 +12527,7 @@ function dM(e) {
12527
12527
  };
12528
12528
  };
12529
12529
  }
12530
- var h4 = dM(lM), Gpe = dM(Gt);
12530
+ var h4 = dM(lM), $pe = dM(Gt);
12531
12531
  function f4(e, t) {
12532
12532
  t === void 0 && (t = e, e = $u);
12533
12533
  for (var r = 0, n = t.length - 1, i = t[0], o = new Array(n < 0 ? 0 : n); r < n; ) o[r] = e(i, i = t[++r]);
@@ -15400,7 +15400,7 @@ function vp(e) {
15400
15400
  declarations: i
15401
15401
  }), t);
15402
15402
  }
15403
- var cr = (e) => Object.keys(e.children ?? {}), Bj = cr(Pe.dataLabel), $pe = cr(Pe.panelBorder), Wpe = cr(Pe.tooltip), jpe = cr(Pe.source), Upe = cr(Pe.heading), zpe = cr(Pe.editOutline), Ype = cr(Pe.legendItem), Kpe = cr(Pe.annotation), Xpe = {
15403
+ var cr = (e) => Object.keys(e.children ?? {}), Bj = cr(Pe.dataLabel), Wpe = cr(Pe.panelBorder), jpe = cr(Pe.tooltip), Upe = cr(Pe.source), zpe = cr(Pe.heading), Ype = cr(Pe.editOutline), Kpe = cr(Pe.legendItem), Xpe = cr(Pe.annotation), qpe = {
15404
15404
  arrow: cr(Pe.annotation.children.arrow),
15405
15405
  differenceArrow: cr(Pe.annotation.children.differenceArrow),
15406
15406
  pinnedNumber: cr(Pe.annotation.children.pinnedNumber),
@@ -15412,7 +15412,7 @@ var cr = (e) => Object.keys(e.children ?? {}), Bj = cr(Pe.dataLabel), $pe = cr(P
15412
15412
  for (const s of Object.values(o.children ?? {})) i(s);
15413
15413
  };
15414
15414
  return i(e), r;
15415
- }, Vj = yp(Pe.dataLabel, "position"), qpe = yp(Pe.headlineItem, "part"), Qpe = yp(Pe.legend, "part");
15415
+ }, Vj = yp(Pe.dataLabel, "position"), Qpe = yp(Pe.headlineItem, "part"), Jpe = yp(Pe.legend, "part");
15416
15416
  function Fj(e) {
15417
15417
  return new Set(e.options ?? []);
15418
15418
  }
@@ -16786,7 +16786,7 @@ function XU(e) {
16786
16786
  options: e
16787
16787
  };
16788
16788
  }
16789
- var Jpe = JM().style;
16789
+ var Zpe = JM().style;
16790
16790
  function JM(e) {
16791
16791
  const t = e?.plugins ?? [], r = JU(t);
16792
16792
  return {
@@ -19475,7 +19475,7 @@ var Af = [
19475
19475
  }
19476
19476
  return t;
19477
19477
  };
19478
- function Zpe(e) {
19478
+ function ege(e) {
19479
19479
  return e;
19480
19480
  }
19481
19481
  function Sr(e) {
@@ -20205,7 +20205,7 @@ function Qe(e) {
20205
20205
  };
20206
20206
  }
20207
20207
  var DE = Math.cos, $c = Math.sin, Ir = Math.sqrt;
20208
- var Ds = Math.PI, ege = Ds / 2, Ku = 2 * Ds, Mf = Math.PI, Ef = 2 * Mf, bi = 1e-6, iY = Ef - bi;
20208
+ var Ds = Math.PI, tge = Ds / 2, Ku = 2 * Ds, Mf = Math.PI, Ef = 2 * Mf, bi = 1e-6, iY = Ef - bi;
20209
20209
  function OE(e) {
20210
20210
  this._ += e[0];
20211
20211
  for (let t = 1, r = e.length; t < r; ++t) this._ += arguments[t] + e[t];
@@ -20278,7 +20278,7 @@ function Fp(e) {
20278
20278
  return e;
20279
20279
  }, () => new Vp(t);
20280
20280
  }
20281
- var tge = Array.prototype.slice;
20281
+ var rge = Array.prototype.slice;
20282
20282
  function NE(e) {
20283
20283
  return typeof e == "object" && "length" in e ? e : Array.from(e);
20284
20284
  }
@@ -20472,7 +20472,7 @@ $p.prototype = {
20472
20472
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
20473
20473
  }
20474
20474
  };
20475
- var rge = (function e(t) {
20475
+ var nge = (function e(t) {
20476
20476
  function r(n) {
20477
20477
  return new $p(n, t);
20478
20478
  }
@@ -20863,7 +20863,7 @@ var bY = (function e(t) {
20863
20863
  const o = er(i) ?? "default", a = n(i);
20864
20864
  return `${r}-${o}${a !== null && a !== "" ? `-${a}` : ""}`;
20865
20865
  };
20866
- }, nge = (e, t, r) => {
20866
+ }, ige = (e, t, r) => {
20867
20867
  const n = qs(e, t);
20868
20868
  return (i) => {
20869
20869
  const o = n(i);
@@ -21509,7 +21509,7 @@ function Yl(e, t, r, n, i, o) {
21509
21509
  const a = (t - o) * (r - i), s = (e - i) * (n - o), l = a - s, c = Math.abs(a + s);
21510
21510
  return Math.abs(l) >= S9 * c ? l : -E9(e, t, r, n, i, o, c);
21511
21511
  }
21512
- var ige = (7 + 56 * Le) * Le, oge = (3 + 28 * Le) * Le, age = (26 + 288 * Le) * Le * Le, sge = z(4), lge = z(4), cge = z(4), uge = z(4), dge = z(4), hge = z(4), fge = z(4), mge = z(4), pge = z(4), gge = z(8), vge = z(8), yge = z(8), bge = z(4), xge = z(8), wge = z(8), Age = z(16), Sge = z(12), Tge = z(192), Mge = z(192), Ege = (10 + 96 * Le) * Le, kge = (4 + 48 * Le) * Le, Pge = (44 + 576 * Le) * Le * Le, _ge = z(4), Cge = z(4), Ige = z(4), Rge = z(4), Lge = z(4), Dge = z(4), Oge = z(4), Nge = z(4), Bge = z(8), Vge = z(8), Fge = z(8), Hge = z(8), Gge = z(8), $ge = z(8), Wge = z(8), jge = z(8), Uge = z(8), zge = z(4), Yge = z(4), Kge = z(4), Xge = z(8), qge = z(16), Qge = z(16), Jge = z(16), Zge = z(32), eve = z(32), tve = z(48), rve = z(64), nve = z(1152), ive = z(1152), ove = (16 + 224 * Le) * Le, ave = (5 + 72 * Le) * Le, sve = (71 + 1408 * Le) * Le * Le, lve = z(4), cve = z(4), uve = z(4), dve = z(4), hve = z(4), fve = z(4), mve = z(4), pve = z(4), gve = z(4), vve = z(4), yve = z(24), bve = z(24), xve = z(24), wve = z(24), Ave = z(24), Sve = z(24), Tve = z(24), Mve = z(24), Eve = z(24), kve = z(24), Pve = z(1152), _ve = z(1152), Cve = z(1152), Ive = z(1152), Rve = z(1152), Lve = z(2304), Dve = z(2304), Ove = z(3456), Nve = z(5760), Bve = z(8), Vve = z(8), Fve = z(8), Hve = z(16), Gve = z(24), $ve = z(48), Wve = z(48), jve = z(96), Uve = z(192), zve = z(384), Yve = z(384), Kve = z(384), Xve = z(768), qve = z(96), Qve = z(96), Jve = z(96), Zve = z(1152), Bb = Math.pow(2, -52), Kl = /* @__PURE__ */ new Uint32Array(512), Vb = class dk {
21512
+ var oge = (7 + 56 * Le) * Le, age = (3 + 28 * Le) * Le, sge = (26 + 288 * Le) * Le * Le, lge = z(4), cge = z(4), uge = z(4), dge = z(4), hge = z(4), fge = z(4), mge = z(4), pge = z(4), gge = z(4), vge = z(8), yge = z(8), bge = z(8), xge = z(4), wge = z(8), Age = z(8), Sge = z(16), Tge = z(12), Mge = z(192), Ege = z(192), kge = (10 + 96 * Le) * Le, Pge = (4 + 48 * Le) * Le, _ge = (44 + 576 * Le) * Le * Le, Cge = z(4), Ige = z(4), Rge = z(4), Lge = z(4), Dge = z(4), Oge = z(4), Nge = z(4), Bge = z(4), Vge = z(8), Fge = z(8), Hge = z(8), Gge = z(8), $ge = z(8), Wge = z(8), jge = z(8), Uge = z(8), zge = z(8), Yge = z(4), Kge = z(4), Xge = z(4), qge = z(8), Qge = z(16), Jge = z(16), Zge = z(16), eve = z(32), tve = z(32), rve = z(48), nve = z(64), ive = z(1152), ove = z(1152), ave = (16 + 224 * Le) * Le, sve = (5 + 72 * Le) * Le, lve = (71 + 1408 * Le) * Le * Le, cve = z(4), uve = z(4), dve = z(4), hve = z(4), fve = z(4), mve = z(4), pve = z(4), gve = z(4), vve = z(4), yve = z(4), bve = z(24), xve = z(24), wve = z(24), Ave = z(24), Sve = z(24), Tve = z(24), Mve = z(24), Eve = z(24), kve = z(24), Pve = z(24), _ve = z(1152), Cve = z(1152), Ive = z(1152), Rve = z(1152), Lve = z(1152), Dve = z(2304), Ove = z(2304), Nve = z(3456), Bve = z(5760), Vve = z(8), Fve = z(8), Hve = z(8), Gve = z(16), $ve = z(24), Wve = z(48), jve = z(48), Uve = z(96), zve = z(192), Yve = z(384), Kve = z(384), Xve = z(384), qve = z(768), Qve = z(96), Jve = z(96), Zve = z(96), eye = z(1152), Bb = Math.pow(2, -52), Kl = /* @__PURE__ */ new Uint32Array(512), Vb = class dk {
21513
21513
  static from(t, r = I9, n = R9) {
21514
21514
  const i = t.length, o = new Float64Array(i * 2);
21515
21515
  for (let a = 0; a < i; a++) {
@@ -26574,7 +26574,7 @@ var jP = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
26574
26574
  function TJ(e) {
26575
26575
  return Yk(e) && "offsetHeight" in e;
26576
26576
  }
26577
- var { schedule: Eg, cancel: eye } = /* @__PURE__ */ cP(queueMicrotask, !1), vr = {
26577
+ var { schedule: Eg, cancel: tye } = /* @__PURE__ */ cP(queueMicrotask, !1), vr = {
26578
26578
  x: !1,
26579
26579
  y: !1
26580
26580
  };
@@ -31931,7 +31931,7 @@ var ja = "var(--graphy-editor-font-family, var(--graphy-font-family))", B = {
31931
31931
  fontEditorControlValue: Ie(B.fontWeightMedium, B.fontSizeSm, B.fontLineHeightSm, ja),
31932
31932
  fontEditorSectionTitle: Ie(B.fontWeightSemibold, B.fontSizeSm, B.fontLineHeightSm, ja),
31933
31933
  fontEditorCaption: Ie(B.fontWeightMedium, B.fontSizeXxs, B.fontLineHeightXxs, ja)
31934
- }, nne = (e, t) => ({ familyDefault: Eh(t) ?? Eh(e.fontFamily) ?? Eh(hd) ?? "" }), Eh = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), Xt = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, ine = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, rye = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, one = (e) => `${e}px`, dC = { editorControlHeight: one(32) }, Zl = {
31934
+ }, nne = (e, t) => ({ familyDefault: Eh(t) ?? Eh(e.fontFamily) ?? Eh(hd) ?? "" }), Eh = (e) => e === void 0 || e.includes("var(") ? null : e.replace(/\s+/g, " ").trim(), Xt = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, ine = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, nye = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, one = (e) => `${e}px`, dC = { editorControlHeight: one(32) }, Zl = {
31935
31935
  editOutline: 1,
31936
31936
  textToolbar: 10,
31937
31937
  textToolbarTooltip: 20,
@@ -33691,7 +33691,7 @@ function vd(e) {
33691
33691
  function Pa(e) {
33692
33692
  return e ? vd(e.render).live : !1;
33693
33693
  }
33694
- function nye(e, t) {
33694
+ function iye(e, t) {
33695
33695
  return typeof e == "string" ? {
33696
33696
  ...t,
33697
33697
  geom: e
@@ -34260,7 +34260,7 @@ var Aoe = ({ hitTest: e, input: t }) => {
34260
34260
  y: "-25%",
34261
34261
  width: "150%",
34262
34262
  height: "150%"
34263
- }, iye = (e) => /* @__PURE__ */ g(jC, {
34263
+ }, oye = (e) => /* @__PURE__ */ g(jC, {
34264
34264
  ...e,
34265
34265
  isEmpty: !1
34266
34266
  }), jC = ({ styleReaders: e, state: t, isEmpty: r, children: n }) => {
@@ -34300,7 +34300,7 @@ var Aoe = ({ hitTest: e, input: t }) => {
34300
34300
  if (!e.endsWith("%")) return null;
34301
34301
  const r = Number.parseFloat(e);
34302
34302
  return Number.isFinite(r) ? r / 100 * t : null;
34303
- }, oye = ({ x: e, y: t, width: r, height: n }, i) => {
34303
+ }, aye = ({ x: e, y: t, width: r, height: n }, i) => {
34304
34304
  const o = Za(e, i.width), a = Za(t, i.height), s = Za(r, i.width), l = Za(n, i.height);
34305
34305
  return o === null || a === null || s === null || l === null ? null : {
34306
34306
  x: o,
@@ -34387,19 +34387,19 @@ var Aoe = ({ hitTest: e, input: t }) => {
34387
34387
  style: o,
34388
34388
  ...i
34389
34389
  });
34390
- }, aye = (e) => {
34390
+ }, sye = (e) => {
34391
34391
  const { Circle: t } = cd();
34392
34392
  return t === void 0 ? Moe(e) : /* @__PURE__ */ g(vl, { children: /* @__PURE__ */ g(t, { ...e }) });
34393
- }, sye = (e) => {
34393
+ }, lye = (e) => {
34394
34394
  const { Line: t } = cd();
34395
34395
  return t === void 0 ? Eoe(e) : /* @__PURE__ */ g(vl, { children: /* @__PURE__ */ g(t, { ...e }) });
34396
- }, lye = ({ cornerRadius: e, ...t }) => {
34396
+ }, cye = ({ cornerRadius: e, ...t }) => {
34397
34397
  const { Rect: r } = cd(), n = Fg(), i = ore(), o = {
34398
34398
  ...t,
34399
34399
  ...Coe(e, t, n, i)
34400
34400
  };
34401
34401
  return r === void 0 ? koe(o) : /* @__PURE__ */ g(vl, { children: /* @__PURE__ */ g(r, { ...o }) });
34402
- }, cye = (e) => {
34402
+ }, uye = (e) => {
34403
34403
  const { Path: t } = cd();
34404
34404
  return t === void 0 ? Poe(e) : /* @__PURE__ */ g(vl, { children: /* @__PURE__ */ g(t, { ...e }) });
34405
34405
  }, _oe = ({ d: e, source: t, ...r }) => {
@@ -34455,7 +34455,7 @@ function Roe(e) {
34455
34455
  e
34456
34456
  ]);
34457
34457
  }
34458
- var uye = ({ children: e, ...t }) => {
34458
+ var dye = ({ children: e, ...t }) => {
34459
34459
  const r = Fg();
34460
34460
  return /* @__PURE__ */ g("svg", {
34461
34461
  viewBox: "0 0 1 1",
@@ -34470,7 +34470,7 @@ var uye = ({ children: e, ...t }) => {
34470
34470
  children: e
34471
34471
  })
34472
34472
  });
34473
- }, dye = ({ box: e, children: t }) => {
34473
+ }, hye = ({ box: e, children: t }) => {
34474
34474
  const r = q_(), n = r === null ? null : r.width * (e.x1 - e.x0), i = r === null ? null : r.height * (e.y1 - e.y0), o = G(() => n === null || i === null ? null : {
34475
34475
  width: n,
34476
34476
  height: i
@@ -34538,7 +34538,7 @@ var uye = ({ children: e, ...t }) => {
34538
34538
  setElement: l
34539
34539
  };
34540
34540
  };
34541
- function hye() {
34541
+ function fye() {
34542
34542
  const [e, t] = Me(null), r = de(null), n = de(null), i = de(null), o = Re(() => {
34543
34543
  i.current = null;
34544
34544
  const c = n.current;
@@ -34592,7 +34592,7 @@ var Koe = "dev-tools-panel_theadRow__58flceh", Xoe = "dev-tools-panel_historyHea
34592
34592
  ran: "dev-tools-panel_dot_ran__58flceq dev-tools-panel_dotBase__58flcep",
34593
34593
  cached: "dev-tools-panel_dot_cached__58flcer dev-tools-panel_dotBase__58flcep",
34594
34594
  untouched: "dev-tools-panel_dot_untouched__58flces dev-tools-panel_dotBase__58flcep"
34595
- }, fye = ({ width: e = 440, style: t, className: r } = {}) => {
34595
+ }, mye = ({ width: e = 440, style: t, className: r } = {}) => {
34596
34596
  const { compileBus: n } = yt(), [i] = Me(() => eoe()), [o, a] = Me(!1), [s, l] = Me(DV);
34597
34597
  pe(() => {
34598
34598
  const { recordCompile: m } = i.getState(), p = n.getLastTrigger(), v = n.getLastCompile();
@@ -37796,7 +37796,7 @@ var Ase = /* @__PURE__ */ nn(((e) => {
37796
37796
  return v;
37797
37797
  }
37798
37798
  t.exports = p;
37799
- })), xA = /* @__PURE__ */ c1(Tse(), 1), mye = xA.default ?? xA, Mse = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = We.createContext(null)) : We.createContext(null), { Consumer: pye, Provider: Ese } = Mse, kse = Ese;
37799
+ })), xA = /* @__PURE__ */ c1(Tse(), 1), pye = xA.default ?? xA, Mse = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = We.createContext(null)) : We.createContext(null), { Consumer: gye, Provider: Ese } = Mse, kse = Ese;
37800
37800
  function pI(e) {
37801
37801
  return e && Object.keys(e).reduce((t, r) => {
37802
37802
  const n = e[r];
@@ -39065,12 +39065,12 @@ var gm = (e, t) => {
39065
39065
  if (e.alpha === void 0 || e.alpha >= 1) return e.image;
39066
39066
  const r = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${t.width} ${t.height}" preserveAspectRatio="none"><image href="${Cle(e.image)}" width="${t.width}" height="${t.height}" opacity="${e.alpha}" preserveAspectRatio="none"/></svg>`;
39067
39067
  return `data:image/svg+xml,${encodeURIComponent(r)}`;
39068
- }, Cle = (e) => e.replace(/&/gu, "&amp;").replace(/</gu, "&lt;").replace(/>/gu, "&gt;").replace(/"/gu, "&quot;"), OA = (e) => `url("${e.replace(/[\\"]/gu, "\\$&").replace(/[\n\r\f]/gu, (t) => `\\${t.charCodeAt(0).toString(16)} `)}")`, Ile = "theme-provider_root__74ffgy0", Rle = "theme-provider_portalRoot__74ffgy1", Lle = "theme-provider_inner__74ffgy2", Dle = "theme-provider_editorFocusScope__74ffgy3", Ole = "theme-provider_editorTransparencyBackdrop__74ffgy4", RI = "themes_lightTheme__1eul5320", Nle = "themes_darkTheme__1eul5321", iv = lie(), LI = Be({
39068
+ }, Cle = (e) => e.replace(/&/gu, "&amp;").replace(/</gu, "&lt;").replace(/>/gu, "&gt;").replace(/"/gu, "&quot;"), OA = (e) => `url("${e.replace(/[\\"]/gu, "\\$&").replace(/[\n\r\f]/gu, (t) => `\\${t.charCodeAt(0).toString(16)} `)}")`, Ile = "theme-provider_root__74ffgy0", Rle = "theme-provider_portalRoot__74ffgy1", Lle = "theme-provider_inner__74ffgy2", Dle = "theme-provider_editorFocusScope__74ffgy3", Ole = "theme-provider_editorTransparencyBackdrop__74ffgy4", RI = "themes_lightTheme__1eul5320", Nle = "themes_darkTheme__1eul5321", iv = lie(), Ble = {
39069
39069
  colorScheme: "light",
39070
39070
  themeClass: RI,
39071
39071
  inlineVarsStyle: {},
39072
39072
  themeValues: Wg("light", {})
39073
- }), ov = () => se(LI), Ble = ({ colorScheme: e, textScale: t = 1, graphBackground: r, graphFontFamily: n, headingFontFamily: i, children: o }) => {
39073
+ }, LI = Be(null), ov = () => se(LI) ?? Ble, Vle = ({ colorScheme: e, textScale: t = 1, graphBackground: r, graphFontFamily: n, headingFontFamily: i, children: o }) => {
39074
39074
  const a = G(() => Wg(e), [e]), s = G(() => {
39075
39075
  const c = { [B.textScale]: String(t) };
39076
39076
  return r !== void 0 && (c[B.graphBackground] = r), n !== void 0 && (c[B.fontFamily] = n), i !== void 0 && (c[B.fontFamilyHeading] = i), (0, iv.assignInlineVars)(c);
@@ -39093,7 +39093,7 @@ var gm = (e, t) => {
39093
39093
  value: l,
39094
39094
  children: o
39095
39095
  });
39096
- }, Vle = ({ children: e, className: t, style: r }) => {
39096
+ }, Fle = ({ children: e, className: t, style: r }) => {
39097
39097
  const { colorScheme: n, themeClass: i, inlineVarsStyle: o } = ov();
39098
39098
  return /* @__PURE__ */ g("div", {
39099
39099
  className: Qt(i, Rle, t),
@@ -39104,30 +39104,30 @@ var gm = (e, t) => {
39104
39104
  "data-graphy-color-scheme": n,
39105
39105
  children: e
39106
39106
  });
39107
- }, Fle = "graphy_root", Hle = () => typeof document > "u" ? null : document.getElementById(Fle) ?? document.body, Gle = {
39107
+ }, Hle = "graphy_root", Gle = () => typeof document > "u" ? null : document.getElementById(Hle) ?? document.body, $le = {
39108
39108
  modern: "'Inter', -apple-system, BlinkMacSystemFont, 'Open Sans', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif",
39109
39109
  timeless: "'Noto Serif', Georgia, 'Times New Roman', serif",
39110
39110
  fresh: "'Aeonik', 'Aeonik Fallback', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif",
39111
39111
  technical: "'PT Mono', 'Courier New', monospace",
39112
39112
  handwritten: "'Permanent Marker', cursive",
39113
39113
  fineliner: "'Intruding Cat', cursive"
39114
- }, $le = (e) => {
39114
+ }, Wle = (e) => {
39115
39115
  const t = e !== null && typeof e == "object" ? e.fontFamily : e;
39116
39116
  return typeof t == "string" && t.length > 0 ? t : void 0;
39117
39117
  }, NA = (e) => {
39118
- const t = $le(e);
39118
+ const t = Wle(e);
39119
39119
  if (t !== void 0)
39120
- return Gle[t] ?? t;
39121
- }, Wle = "rich-text-renderer_link__yr622d0", zs = ({ content: e }) => /* @__PURE__ */ g(fe, { children: DI(e.content ?? [e]) }), DI = (e) => e.map((t, r) => jle(t, r)), jle = (e, t) => {
39122
- if (e.type === "text") return Ule(e, t);
39120
+ return $le[t] ?? t;
39121
+ }, jle = "rich-text-renderer_link__yr622d0", zs = ({ content: e }) => /* @__PURE__ */ g(fe, { children: DI(e.content ?? [e]) }), DI = (e) => e.map((t, r) => Ule(t, r)), Ule = (e, t) => {
39122
+ if (e.type === "text") return zle(e, t);
39123
39123
  if (e.type === "hardBreak" || e.type === "hard_break") return /* @__PURE__ */ g("br", {}, t);
39124
39124
  const r = e.content ? DI(e.content) : null;
39125
39125
  switch (e.type) {
39126
39126
  case "doc":
39127
39127
  return /* @__PURE__ */ g(zi, { children: r }, t);
39128
39128
  case "heading": {
39129
- const n = Xle(e.attrs?.level);
39130
- return qle(n, t, r, BA(e.attrs));
39129
+ const n = qle(e.attrs?.level);
39130
+ return Qle(n, t, r, BA(e.attrs));
39131
39131
  }
39132
39132
  case "paragraph":
39133
39133
  return /* @__PURE__ */ g("p", {
@@ -39149,10 +39149,10 @@ var gm = (e, t) => {
39149
39149
  default:
39150
39150
  return /* @__PURE__ */ g("span", { children: r }, t);
39151
39151
  }
39152
- }, Ule = (e, t) => {
39152
+ }, zle = (e, t) => {
39153
39153
  const r = e.text ?? "";
39154
- return !e.marks || e.marks.length === 0 ? /* @__PURE__ */ g("span", { children: r }, t) : e.marks.reduceRight((n, i, o) => zle(i, n, `${t}-${o}`), r);
39155
- }, zle = (e, t, r) => {
39154
+ return !e.marks || e.marks.length === 0 ? /* @__PURE__ */ g("span", { children: r }, t) : e.marks.reduceRight((n, i, o) => Yle(i, n, `${t}-${o}`), r);
39155
+ }, Yle = (e, t, r) => {
39156
39156
  switch (e.type) {
39157
39157
  case "bold":
39158
39158
  case "strong":
@@ -39171,7 +39171,7 @@ var gm = (e, t) => {
39171
39171
  case "link": {
39172
39172
  const n = av(e.attrs?.href);
39173
39173
  return Zp(n) ? /* @__PURE__ */ g("a", {
39174
- className: Wle,
39174
+ className: jle,
39175
39175
  href: n,
39176
39176
  rel: "noopener noreferrer",
39177
39177
  target: "_blank",
@@ -39179,7 +39179,7 @@ var gm = (e, t) => {
39179
39179
  }, r) : /* @__PURE__ */ g("span", { children: t }, r);
39180
39180
  }
39181
39181
  case "textStyle": {
39182
- const n = Yle(e.attrs);
39182
+ const n = Kle(e.attrs);
39183
39183
  return n ? /* @__PURE__ */ g("span", {
39184
39184
  style: n,
39185
39185
  children: t
@@ -39188,17 +39188,17 @@ var gm = (e, t) => {
39188
39188
  default:
39189
39189
  return /* @__PURE__ */ g("span", { children: t }, r);
39190
39190
  }
39191
- }, Yle = (e) => {
39191
+ }, Kle = (e) => {
39192
39192
  if (!e) return null;
39193
39193
  const t = {}, r = av(e.color);
39194
39194
  r && (t.color = r);
39195
39195
  const n = NA(e.font) ?? NA(e.fontFamily);
39196
39196
  n && (t.fontFamily = n);
39197
- const i = Kle(e.fontSize);
39197
+ const i = Xle(e.fontSize);
39198
39198
  return i && (t.fontSize = i), Object.keys(t).length > 0 ? t : null;
39199
- }, Kle = (e) => {
39199
+ }, Xle = (e) => {
39200
39200
  if (typeof e == "number" && Number.isFinite(e)) return `calc(${e}px * ${B.textScale})`;
39201
- }, av = (e) => typeof e == "string" && e.length > 0 ? e : void 0, Xle = (e) => typeof e != "number" ? 3 : e < 1 ? 1 : e > 3 ? 3 : Math.round(e), qle = (e, t, r, n) => {
39201
+ }, av = (e) => typeof e == "string" && e.length > 0 ? e : void 0, qle = (e) => typeof e != "number" ? 3 : e < 1 ? 1 : e > 3 ? 3 : Math.round(e), Qle = (e, t, r, n) => {
39202
39202
  const i = OI(n);
39203
39203
  switch (e) {
39204
39204
  case 1:
@@ -39225,28 +39225,28 @@ function zo(e) {
39225
39225
  const { store: t } = co();
39226
39226
  return Mn(t, e);
39227
39227
  }
39228
- var Qle = "tooltip_root__1aumv50";
39229
- var Jle = "tooltip_rows__1aumv52", Zle = "tooltip_row__1aumv53";
39230
- var ece = "tooltip_label__1aumv56", tce = "tooltip_value__1aumv57", rce = "tooltip_positioner__1aumv58";
39228
+ var Jle = "tooltip_root__1aumv50";
39229
+ var Zle = "tooltip_rows__1aumv52", ece = "tooltip_row__1aumv53";
39230
+ var tce = "tooltip_label__1aumv56", rce = "tooltip_value__1aumv57", nce = "tooltip_positioner__1aumv58";
39231
39231
  var hu = {
39232
39232
  plansByLayerId: null,
39233
39233
  coordKey: null,
39234
39234
  introEndsAtMs: 0,
39235
39235
  isWaitingForView: !1
39236
- }, nce = {
39236
+ }, ice = {
39237
39237
  ...hu,
39238
39238
  isWaitingForView: !0
39239
- }, Md = Be(hu), NI = 0.4, ice = ({ intro: e, panelRect: t, children: r }) => {
39239
+ }, Md = Be(hu), NI = 0.4, oce = ({ intro: e, panelRect: t, children: r }) => {
39240
39240
  const { layers: n, coordSystem: i, scales: o } = Ae(rr((d) => ({
39241
39241
  layers: d.layers,
39242
39242
  coordSystem: d.coordSystem,
39243
39243
  scales: d.scales
39244
- }))), [a, s] = Me(() => VA(e) ? nce : FA({
39244
+ }))), [a, s] = Me(() => VA(e) ? ice : FA({
39245
39245
  layers: n,
39246
39246
  coordSystem: i,
39247
39247
  scales: o,
39248
39248
  intro: e
39249
- })), [l, c] = Me(null), u = ace(l) || !VA(e);
39249
+ })), [l, c] = Me(null), u = sce(l) || !VA(e);
39250
39250
  return a.isWaitingForView && u && s(FA({
39251
39251
  layers: n,
39252
39252
  coordSystem: i,
@@ -39265,8 +39265,8 @@ var hu = {
39265
39265
  }
39266
39266
  }, `${t.width}x${t.height}`), r]
39267
39267
  });
39268
- }, uo = () => se(Md).isWaitingForView, oce = () => {
39269
- const { introEndsAtMs: e } = se(Md), [t] = Me(() => lce(e) / 1e3);
39268
+ }, uo = () => se(Md).isWaitingForView, ace = () => {
39269
+ const { introEndsAtMs: e } = se(Md), [t] = Me(() => cce(e) / 1e3);
39270
39270
  return t;
39271
39271
  }, BI = (e) => {
39272
39272
  const { plansByLayerId: t, coordKey: r } = se(Md), n = Ae((i) => VI(i.coordSystem));
@@ -39295,16 +39295,16 @@ var hu = {
39295
39295
  introEndsAtMs: performance.now() + a * 1e3,
39296
39296
  isWaitingForView: !1
39297
39297
  };
39298
- }, ace = (e) => {
39298
+ }, sce = (e) => {
39299
39299
  const [t, r] = Me(!1);
39300
39300
  return pe(() => {
39301
39301
  if (e === null) return;
39302
39302
  const n = new IntersectionObserver((i) => {
39303
- i.some(sce) && r(!0);
39303
+ i.some(lce) && r(!0);
39304
39304
  }, { threshold: NI });
39305
39305
  return n.observe(e), () => n.disconnect();
39306
39306
  }, [e]), t;
39307
- }, sce = ({ intersectionRatio: e, intersectionRect: t }) => t.width > 0 && t.height > 0 && e >= NI, lce = (e) => Math.max(0, e - performance.now()), VI = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, cce = (e) => {
39307
+ }, lce = ({ intersectionRatio: e, intersectionRect: t }) => t.width > 0 && t.height > 0 && e >= NI, cce = (e) => Math.max(0, e - performance.now()), VI = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, uce = (e) => {
39308
39308
  const { overlayRef: t } = co(), r = de(null), [n, i] = Me(!1), o = Wo(e);
39309
39309
  return pe(() => {
39310
39310
  const a = t.current;
@@ -39328,7 +39328,7 @@ var hu = {
39328
39328
  cursorRef: r,
39329
39329
  isInside: n
39330
39330
  };
39331
- }, uce = 24, dce = 8, hce = {
39331
+ }, dce = 24, hce = 8, fce = {
39332
39332
  x: 0,
39333
39333
  y: 0,
39334
39334
  top: 0,
@@ -39340,8 +39340,8 @@ var hu = {
39340
39340
  toJSON: () => ({})
39341
39341
  }, ic = {
39342
39342
  boundary: [],
39343
- padding: dce
39344
- }, fce = () => {
39343
+ padding: hce
39344
+ }, mce = () => {
39345
39345
  const e = Ae(rr((x) => ({
39346
39346
  layers: x.layers,
39347
39347
  coordSystem: x.coordSystem,
@@ -39351,8 +39351,8 @@ var hu = {
39351
39351
  parsingLocale: x.config.parsingLocale,
39352
39352
  mode: x.config.tooltip.mode,
39353
39353
  comments: x.annotations.comments
39354
- }))), { formattingLocale: t } = yt(), r = ke(), n = zo((x) => x.hover), i = zo((x) => x.tooltipAnchor), o = zo((x) => x.isPointerSuspended), a = Wr("Tooltip", mce), s = de(() => {
39355
- }), { cursorRef: l, isInside: c } = cce(() => s.current()), u = G(() => fX({
39354
+ }))), { formattingLocale: t } = yt(), r = ke(), n = zo((x) => x.hover), i = zo((x) => x.tooltipAnchor), o = zo((x) => x.isPointerSuspended), a = Wr("Tooltip", pce), s = de(() => {
39355
+ }), { cursorRef: l, isInside: c } = uce(() => s.current()), u = G(() => fX({
39356
39356
  ...e,
39357
39357
  hover: n,
39358
39358
  readers: r,
@@ -39365,10 +39365,10 @@ var hu = {
39365
39365
  t,
39366
39366
  i
39367
39367
  ]), d = !o && u !== null && (c || i !== null), h = G(() => ({ getBoundingClientRect: () => {
39368
- if (i !== null) return vce(i);
39368
+ if (i !== null) return yce(i);
39369
39369
  const x = l.current;
39370
- return x === null ? hce : gce(x);
39371
- } }), [l, i]), { refs: f, floatingStyles: m, update: p } = CI(yce({
39370
+ return x === null ? fce : vce(x);
39371
+ } }), [l, i]), { refs: f, floatingStyles: m, update: p } = CI(bce({
39372
39372
  isOpen: d,
39373
39373
  tooltipAnchor: i,
39374
39374
  virtualReference: h
@@ -39377,17 +39377,17 @@ var hu = {
39377
39377
  const v = /* @__PURE__ */ g("div", {
39378
39378
  ref: f.setFloating,
39379
39379
  role: "tooltip",
39380
- className: rce,
39380
+ className: nce,
39381
39381
  style: m,
39382
39382
  "data-testid": "chart-tooltip",
39383
39383
  children: /* @__PURE__ */ g(a, { content: u })
39384
- }), y = Hle();
39385
- return y ? PR(/* @__PURE__ */ g(Vle, { children: v }), y) : v;
39386
- }, mce = ({ content: e }) => {
39384
+ }), y = Gle();
39385
+ return y ? PR(/* @__PURE__ */ g(Fle, { children: v }), y) : v;
39386
+ }, pce = ({ content: e }) => {
39387
39387
  const t = Lr(), r = Ae((d) => d.coordSystem), n = ue(vz, ke()), i = Ea([n.box.fill]), o = Tt(n.heading), a = Tt(n.label), s = Tt(n.value), l = { paddingInline: n.box.paddingInline }, c = e.rows.some((d) => d.swatchColor !== null), u = e.rows.some((d) => !d.isPrimary);
39388
39388
  return /* @__PURE__ */ W("div", {
39389
- className: Qle,
39390
- style: pce(n.box, i(n.box.fill)),
39389
+ className: Jle,
39390
+ style: gce(n.box, i(n.box.fill)),
39391
39391
  "data-testid": "chart-tooltip-body",
39392
39392
  children: [
39393
39393
  e.comment !== null && /* @__PURE__ */ g("div", {
@@ -39409,10 +39409,10 @@ var hu = {
39409
39409
  children: e.heading
39410
39410
  }),
39411
39411
  /* @__PURE__ */ g("div", {
39412
- className: Jle,
39412
+ className: Zle,
39413
39413
  children: e.rows.map((d) => {
39414
39414
  const h = t(d.geom, r.type);
39415
- return /* @__PURE__ */ g(bce, {
39415
+ return /* @__PURE__ */ g(xce, {
39416
39416
  row: d,
39417
39417
  swatchShape: h?.swatchShape ?? "square",
39418
39418
  mainAxis: ni(r),
@@ -39428,14 +39428,14 @@ var hu = {
39428
39428
  })
39429
39429
  ]
39430
39430
  });
39431
- }, pce = (e, t) => ({
39431
+ }, gce = (e, t) => ({
39432
39432
  ...ua(e.fill, t),
39433
39433
  borderRadius: Ml(e.cornerRadius),
39434
39434
  paddingBlock: e.paddingBlock,
39435
39435
  boxShadow: ba(e.shadow),
39436
39436
  ...e.alpha === void 0 ? {} : { opacity: e.alpha },
39437
39437
  ...e.strokeWidth > 0 ? { border: `${e.strokeWidth}px solid ${e.stroke}` } : {}
39438
- }), gce = (e) => ({
39438
+ }), vce = (e) => ({
39439
39439
  x: e.clientX,
39440
39440
  y: e.clientY,
39441
39441
  top: e.clientY,
@@ -39445,7 +39445,7 @@ var hu = {
39445
39445
  width: 0,
39446
39446
  height: 0,
39447
39447
  toJSON: () => ({})
39448
- }), vce = (e) => ({
39448
+ }), yce = (e) => ({
39449
39449
  x: e.x,
39450
39450
  y: e.y,
39451
39451
  top: e.y,
@@ -39455,7 +39455,7 @@ var hu = {
39455
39455
  width: 0,
39456
39456
  height: 0,
39457
39457
  toJSON: () => ({})
39458
- }), yce = ({ isOpen: e, tooltipAnchor: t, virtualReference: r }) => ({
39458
+ }), bce = ({ isOpen: e, tooltipAnchor: t, virtualReference: r }) => ({
39459
39459
  open: e,
39460
39460
  placement: t !== null ? t.placement : "right",
39461
39461
  middleware: t !== null ? [
@@ -39463,13 +39463,13 @@ var hu = {
39463
39463
  vm(ic),
39464
39464
  ym(ic)
39465
39465
  ] : [
39466
- gm(uce),
39466
+ gm(dce),
39467
39467
  ym(ic),
39468
39468
  vm(ic)
39469
39469
  ],
39470
39470
  elements: { reference: r }
39471
- }), bce = ({ row: e, swatchShape: t, mainAxis: r, hasSwatches: n, shouldHighlight: i, labelStyle: o, valueStyle: a, paddingInline: s, paddingBlock: l, highlightBackground: c }) => /* @__PURE__ */ W("div", {
39472
- className: Zle,
39471
+ }), xce = ({ row: e, swatchShape: t, mainAxis: r, hasSwatches: n, shouldHighlight: i, labelStyle: o, valueStyle: a, paddingInline: s, paddingBlock: l, highlightBackground: c }) => /* @__PURE__ */ W("div", {
39472
+ className: ece,
39473
39473
  style: {
39474
39474
  paddingInline: s,
39475
39475
  paddingBlock: l,
@@ -39493,13 +39493,13 @@ var hu = {
39493
39493
  mainAxis: r
39494
39494
  }),
39495
39495
  /* @__PURE__ */ g("span", {
39496
- className: ece,
39496
+ className: tce,
39497
39497
  style: o,
39498
39498
  "data-testid": "chart-tooltip-label",
39499
39499
  children: e.label
39500
39500
  }),
39501
39501
  /* @__PURE__ */ g("span", {
39502
- className: tce,
39502
+ className: rce,
39503
39503
  style: a,
39504
39504
  "data-testid": "chart-tooltip-value",
39505
39505
  children: e.value
@@ -39511,7 +39511,7 @@ var hu = {
39511
39511
  }), HI = (e) => ({
39512
39512
  x: e.tickLine.x().resolve(),
39513
39513
  y: e.tickLine.y().resolve()
39514
- }), xce = (e) => {
39514
+ }), wce = (e) => {
39515
39515
  const t = e.graph();
39516
39516
  return h1(Fe(t.get("fill")), t.get("alpha") ?? 1);
39517
39517
  }, sv = (e) => (t, r) => r === void 0 ? e.tickLabel[t]().resolve() : e.tickLabel[r](t).resolve(), Ed = (e) => {
@@ -39529,7 +39529,7 @@ var hu = {
39529
39529
  focusStroke: t.focusStroke,
39530
39530
  popover: e.legend.popover().resolve()
39531
39531
  };
39532
- }, lv = (e) => e.headline().resolve(), wce = ({ textMeasurer: e, tickLabelStyles: t, tickLineStyles: r, familyDefault: n }) => (i) => {
39532
+ }, lv = (e) => e.headline().resolve(), Ace = ({ textMeasurer: e, tickLabelStyles: t, tickLineStyles: r, familyDefault: n }) => (i) => {
39533
39533
  const o = i.position === "top" || i.position === "bottom", a = Xe(i.scaleAestheticKey), { offset: s, ...l } = t(a, i.position), c = i.ticksVisible ? Math.max(s, r[a].length) : s, u = Wt(l, n), d = i.ticks.map((f) => e.measureText(f.formattedLabel, u)), h = i.labelMaxWidthPx ?? Number.POSITIVE_INFINITY;
39534
39534
  if (o) {
39535
39535
  if (i.labelRotation !== 0) {
@@ -39539,30 +39539,30 @@ var hu = {
39539
39539
  return Math.max(...d.map((f) => f.height)) + c;
39540
39540
  }
39541
39541
  return HA(d.map((f) => f.width), h) + c;
39542
- }, HA = (e, t) => Math.min(Math.max(...e), t), Ace = ({ axisLabelStyles: e }) => (t) => qn(e[Xe(t.scaleAestheticKey)]), $I = ({ textMeasurer: e, dataLabelStyles: t, familyDefault: r }) => (n, i, o) => {
39542
+ }, HA = (e, t) => Math.min(Math.max(...e), t), Sce = ({ axisLabelStyles: e }) => (t) => qn(e[Xe(t.scaleAestheticKey)]), $I = ({ textMeasurer: e, dataLabelStyles: t, familyDefault: r }) => (n, i, o) => {
39543
39543
  const a = t[n][i], s = e.measureText(o, Wt(a, r));
39544
39544
  return {
39545
39545
  ...s,
39546
39546
  width: s.width + a.paddingInline * 2,
39547
39547
  height: s.height + a.paddingBlock * 2
39548
39548
  };
39549
- }, Sce = ({ textMeasurer: e, familyDefault: t }) => (r, n) => e.measureText(r, Wt(n, t)), Tce = yr.sm, Mce = ({ textMeasurer: e, familyDefault: t, itemGap: r, headlineItemStyles: n }) => (i, o) => {
39549
+ }, Tce = ({ textMeasurer: e, familyDefault: t }) => (r, n) => e.measureText(r, Wt(n, t)), Mce = yr.sm, Ece = ({ textMeasurer: e, familyDefault: t, itemGap: r, headlineItemStyles: n }) => (i, o) => {
39550
39550
  const a = WI(i, n[o], e, t);
39551
39551
  return {
39552
39552
  width: jI(a.map((s) => s.width)) + Math.max(0, a.length - 1) * r,
39553
39553
  height: Math.max(0, ...a.map((s) => s.height))
39554
39554
  };
39555
- }, Ece = ({ textMeasurer: e, familyDefault: t, headlineItemStyles: r }) => (n, i) => WI(n, r[i], e, t).map((o) => o.width), kce = ({ textMeasurer: e, familyDefault: t, headlineItemStyles: r }) => (n, i, o = !1) => {
39555
+ }, kce = ({ textMeasurer: e, familyDefault: t, headlineItemStyles: r }) => (n, i) => WI(n, r[i], e, t).map((o) => o.width), Pce = ({ textMeasurer: e, familyDefault: t, headlineItemStyles: r }) => (n, i, o = !1) => {
39556
39556
  const a = SE(r[i], o);
39557
39557
  return {
39558
39558
  width: e.measureText(n, Wt(a, t)).width,
39559
39559
  height: qn(a)
39560
39560
  };
39561
- }, Pce = (e) => {
39562
- const t = Mce(e), r = kce(e);
39561
+ }, _ce = (e) => {
39562
+ const t = Ece(e), r = Pce(e);
39563
39563
  return (n, i, o = !1) => n.kind === "perGroup" ? t(n, i) : r(n.value, i, o);
39564
39564
  }, WI = (e, t, r, n) => {
39565
- const i = (o) => _ce(o, t, r, n);
39565
+ const i = (o) => Cce(o, t, r, n);
39566
39566
  return e.items.map((o) => {
39567
39567
  const a = LE(o, t).map(i), s = Math.max(0, a.length - 1) * t.gap;
39568
39568
  return {
@@ -39570,18 +39570,18 @@ var hu = {
39570
39570
  height: jI(a.map((l) => l.height)) + s
39571
39571
  };
39572
39572
  });
39573
- }, _ce = (e, t, r, n) => {
39573
+ }, Cce = (e, t, r, n) => {
39574
39574
  let i = 0, o = 0;
39575
39575
  for (const a of e.segments) if (a.kind === "text") {
39576
- const s = Cce(t, a.textRole);
39577
- i += r.measureText(a.text, Wt(s, n)).width, o = Math.max(o, Ice(s));
39576
+ const s = Ice(t, a.textRole);
39577
+ i += r.measureText(a.text, Wt(s, n)).width, o = Math.max(o, Rce(s));
39578
39578
  } else
39579
39579
  i += a.size, o = Math.max(o, a.size);
39580
39580
  return {
39581
39581
  width: i + Math.max(0, e.segments.length - 1) * e.gap,
39582
39582
  height: o
39583
39583
  };
39584
- }, Cce = (e, t) => {
39584
+ }, Ice = (e, t) => {
39585
39585
  switch (t) {
39586
39586
  case "value":
39587
39587
  return e.number;
@@ -39595,13 +39595,13 @@ var hu = {
39595
39595
  default:
39596
39596
  return t;
39597
39597
  }
39598
- }, Ice = (e) => e.fontSize * (e.lineHeight ?? Tce), jI = (e) => e.reduce((t, r) => t + r, 0), Rce = (e, t) => e ? t : 0, fu = (e, t, r) => {
39598
+ }, Rce = (e) => e.fontSize * (e.lineHeight ?? Mce), jI = (e) => e.reduce((t, r) => t + r, 0), Lce = (e, t) => e ? t : 0, fu = (e, t, r) => {
39599
39599
  if (r) {
39600
39600
  const n = Number(e.size);
39601
39601
  return Number.isFinite(n) && n > 0 ? n : 0;
39602
39602
  }
39603
- return Rce(e.color, t);
39604
- }, Lce = ({ textMeasurer: e, familyDefault: t, legendItemStyle: r, directLabelStyle: n }) => (i) => {
39603
+ return Lce(e.color, t);
39604
+ }, Dce = ({ textMeasurer: e, familyDefault: t, legendItemStyle: r, directLabelStyle: n }) => (i) => {
39605
39605
  const o = i.position === "top" || i.position === "bottom";
39606
39606
  if (i.display === "direct") {
39607
39607
  const m = qn(n);
@@ -39619,7 +39619,7 @@ var hu = {
39619
39619
  return v + (v > 0 ? a.gap : 0) + p;
39620
39620
  });
39621
39621
  return Math.max(...f) + d;
39622
- }, Dce = ({ textMeasurer: e, tickLabelStyles: t, familyDefault: r }) => (n, i) => e.measureText(n, Wt(t(i), r)), Oce = Object.freeze({}), Nce = ({ textMeasurer: e, metrics: t, overrides: r = Oce }) => {
39622
+ }, Oce = ({ textMeasurer: e, tickLabelStyles: t, familyDefault: r }) => (n, i) => e.measureText(n, Wt(t(i), r)), Nce = Object.freeze({}), Bce = ({ textMeasurer: e, metrics: t, overrides: r = Nce }) => {
39623
39623
  const n = ke(), i = ue(FI, n), o = ue(Ed, n), a = ue(AE, n), s = ue(sl, n), l = ue(sv, n), c = ue(HI, n), u = de(r);
39624
39624
  return u.current = r, G(() => {
39625
39625
  if (!e) return null;
@@ -39632,23 +39632,23 @@ var hu = {
39632
39632
  medium: hc(n, "medium"),
39633
39633
  large: hc(n, "large")
39634
39634
  }
39635
- }, m = wce({
39635
+ }, m = Ace({
39636
39636
  textMeasurer: e,
39637
39637
  tickLabelStyles: l,
39638
39638
  tickLineStyles: c,
39639
39639
  familyDefault: d
39640
- }), p = Ace({ axisLabelStyles: i }), v = Lce({
39640
+ }), p = Sce({ axisLabelStyles: i }), v = Dce({
39641
39641
  textMeasurer: e,
39642
39642
  familyDefault: d,
39643
39643
  legendItemStyle: s,
39644
39644
  directLabelStyle: a
39645
- }), y = Pce(f), x = Ece(f), w = {
39645
+ }), y = _ce(f), x = kce(f), w = {
39646
39646
  measureText: (S, P) => e.measureText(S, P),
39647
39647
  textScale: h
39648
39648
  };
39649
39649
  return {
39650
39650
  measureAxis: (S) => {
39651
- if (Vce(S)) return 0;
39651
+ if (Fce(S)) return 0;
39652
39652
  const P = u.current.measureAxis;
39653
39653
  return P ? P(S, w) : m(S);
39654
39654
  },
@@ -39657,18 +39657,18 @@ var hu = {
39657
39657
  return P ? P(S, w) : p(S);
39658
39658
  },
39659
39659
  measureLegend: (S) => {
39660
- if (Fce(S)) return 0;
39660
+ if (Hce(S)) return 0;
39661
39661
  const P = u.current.measureLegend;
39662
39662
  return P ? P(S, w) : v(S);
39663
39663
  },
39664
39664
  measureHeadline: (S, P, A) => (u.current.measureHeadline ?? y)(S, P, A),
39665
39665
  measureHeadlineItemWidths: (S, P) => (u.current.measureHeadlineItemWidths ?? x)(S, P),
39666
- measureTickLabel: Dce({
39666
+ measureTickLabel: Oce({
39667
39667
  textMeasurer: e,
39668
39668
  tickLabelStyles: l,
39669
39669
  familyDefault: d
39670
39670
  }),
39671
- measureDifferenceArrowLabel: Sce({
39671
+ measureDifferenceArrowLabel: Tce({
39672
39672
  textMeasurer: e,
39673
39673
  familyDefault: d
39674
39674
  }),
@@ -39689,7 +39689,7 @@ var hu = {
39689
39689
  c,
39690
39690
  n
39691
39691
  ]);
39692
- }, Bce = ({ measurer: e, axes: t, numberFormat: r, parsingLocale: n, formattedLegends: i, containerSize: o, externalMeasurements: a, headline: s, formattingLocale: l, annotations: c, layers: u, coordSystem: d, overflowStrategy: h, panelBorder: f, padding: m, margins: p }) => {
39692
+ }, Vce = ({ measurer: e, axes: t, numberFormat: r, parsingLocale: n, formattedLegends: i, containerSize: o, externalMeasurements: a, headline: s, formattingLocale: l, annotations: c, layers: u, coordSystem: d, overflowStrategy: h, panelBorder: f, padding: m, margins: p }) => {
39693
39693
  const v = ke(), y = rg(), x = G(() => (w) => Rk(v, w), [v]);
39694
39694
  return G(() => e ? new Wz(e).compile({
39695
39695
  axes: t,
@@ -39731,18 +39731,18 @@ var hu = {
39731
39731
  p,
39732
39732
  e
39733
39733
  ]);
39734
- }, Vce = (e) => !e.isVisible || e.ticks.length === 0, Fce = (e) => e.items.length === 0, Hce = () => {
39734
+ }, Fce = (e) => !e.isVisible || e.ticks.length === 0, Hce = (e) => e.items.length === 0, Gce = () => {
39735
39735
  const { formattingLocale: e } = yt(), t = Ae((r) => r.config.parsingLocale);
39736
39736
  return e ?? t;
39737
39737
  }, GA = 0.5, UI = Be(/* @__PURE__ */ new Map()), zI = Be(() => {
39738
- }), YI = Be(/* @__PURE__ */ new Set()), Gce = ({ children: e }) => {
39738
+ }), YI = Be(/* @__PURE__ */ new Set()), $ce = ({ children: e }) => {
39739
39739
  const [t, r] = Me(() => /* @__PURE__ */ new Map()), [n] = Me(() => /* @__PURE__ */ new Set()), i = de(/* @__PURE__ */ new Map()), o = Re((a, s, l) => {
39740
39740
  const c = i.current.get(a) ?? /* @__PURE__ */ new Set();
39741
39741
  if (l !== null) {
39742
- c.add(s), i.current.set(a, c), r((u) => zce(u, a, l));
39742
+ c.add(s), i.current.set(a, c), r((u) => Yce(u, a, l));
39743
39743
  return;
39744
39744
  }
39745
- c.delete(s), !(c.size > 0) && (i.current.delete(a), r((u) => Yce(u, a)));
39745
+ c.delete(s), !(c.size > 0) && (i.current.delete(a), r((u) => Kce(u, a)));
39746
39746
  }, []);
39747
39747
  return /* @__PURE__ */ g(zI.Provider, {
39748
39748
  value: o,
@@ -39754,8 +39754,8 @@ var hu = {
39754
39754
  })
39755
39755
  })
39756
39756
  });
39757
- }, $ce = () => se(UI), Wce = () => se(zI), jce = (e) => {
39758
- const t = Wce(), r = dt(), n = de(null);
39757
+ }, Wce = () => se(UI), jce = () => se(zI), Uce = (e) => {
39758
+ const t = jce(), r = dt(), n = de(null);
39759
39759
  return pe(() => {
39760
39760
  if (typeof ResizeObserver > "u") return;
39761
39761
  const i = n.current;
@@ -39774,34 +39774,34 @@ var hu = {
39774
39774
  r,
39775
39775
  t
39776
39776
  ]), n;
39777
- }, Uce = () => se(YI), zce = (e, t, r) => {
39777
+ }, zce = () => se(YI), Yce = (e, t, r) => {
39778
39778
  const n = e.get(t);
39779
39779
  if (n !== void 0 && Math.abs(n.width - r.width) < GA && Math.abs(n.height - r.height) < GA) return e;
39780
39780
  const i = new Map(e);
39781
39781
  return i.set(t, r), i;
39782
- }, Yce = (e, t) => {
39782
+ }, Kce = (e, t) => {
39783
39783
  if (!e.has(t)) return e;
39784
39784
  const r = new Map(e);
39785
39785
  return r.delete(t), r;
39786
- }, Kce = (e, t) => e.annotationId === t.annotationId && e.translation.x === t.translation.x && e.translation.y === t.translation.y, Xce = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && e.anchor.x === t.anchor.x && e.anchor.y === t.anchor.y, qce = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && V7(e.point.anchor, t.point.anchor), Qce = (e, t) => e.annotationId === t.annotationId && e.region.x === t.region.x && e.region.y === t.region.y && e.region.width === t.region.width && e.region.height === t.region.height, Jce = (e, t) => e.annotationId === t.annotationId && e.at.x === t.at.x && e.width === t.width && e.shift === t.shift, gs = ({ standingInteraction: e }, t) => e !== null && Si(e, t) ? e : null, Zce = (e, t) => {
39786
+ }, Xce = (e, t) => e.annotationId === t.annotationId && e.translation.x === t.translation.x && e.translation.y === t.translation.y, qce = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && e.anchor.x === t.anchor.x && e.anchor.y === t.anchor.y, Qce = (e, t) => e.annotationId === t.annotationId && e.endpoint === t.endpoint && V7(e.point.anchor, t.point.anchor), Jce = (e, t) => e.annotationId === t.annotationId && e.region.x === t.region.x && e.region.y === t.region.y && e.region.width === t.region.width && e.region.height === t.region.height, Zce = (e, t) => e.annotationId === t.annotationId && e.at.x === t.at.x && e.width === t.width && e.shift === t.shift, gs = ({ standingInteraction: e }, t) => e !== null && Si(e, t) ? e : null, eue = (e, t) => {
39787
39787
  if (e === null) return !1;
39788
39788
  switch (t.kind) {
39789
39789
  case "difference-arrow-endpoint-drag":
39790
- return Si(e, t.kind) && qce(e, t);
39790
+ return Si(e, t.kind) && Qce(e, t);
39791
39791
  case "arrow-endpoint-drag":
39792
- return Si(e, t.kind) && Xce(e, t);
39792
+ return Si(e, t.kind) && qce(e, t);
39793
39793
  case "move-drag":
39794
- return Si(e, t.kind) && Kce(e, t);
39794
+ return Si(e, t.kind) && Xce(e, t);
39795
39795
  case "shape-resize-drag":
39796
- return Si(e, t.kind) && Qce(e, t);
39797
- case "text-resize-drag":
39798
39796
  return Si(e, t.kind) && Jce(e, t);
39797
+ case "text-resize-drag":
39798
+ return Si(e, t.kind) && Zce(e, t);
39799
39799
  case "chrome-popup":
39800
39800
  return Si(e, t.kind);
39801
39801
  case "menu":
39802
39802
  return !1;
39803
39803
  }
39804
- }, Si = (e, t) => e.kind === t, eue = (e, t) => e === t ? !0 : e === null || t === null ? !1 : e.observationIndex === t.observationIndex && CV(e.predicate, t.predicate) && Di(e.selectedFor, t.selectedFor), tue = (e, t) => {
39804
+ }, Si = (e, t) => e.kind === t, tue = (e, t) => e === t ? !0 : e === null || t === null ? !1 : e.observationIndex === t.observationIndex && CV(e.predicate, t.predicate) && Di(e.selectedFor, t.selectedFor), rue = (e, t) => {
39805
39805
  if (e === t) return !0;
39806
39806
  if (e === null || t === null) return !1;
39807
39807
  if (e.kind === "annotation" && t.kind === "annotation") return Di(e.target, t.target);
@@ -39816,10 +39816,10 @@ var hu = {
39816
39816
  }, KI = (e) => {
39817
39817
  const t = e.editTargetUnderPointer;
39818
39818
  return t?.kind === "annotation" ? t.target.id : null;
39819
- }, rue = (e) => {
39819
+ }, nue = (e) => {
39820
39820
  const t = e.editTargetUnderPointer;
39821
39821
  return t !== null && t.kind !== "menu-trigger";
39822
- }, nue = () => ya((e) => ({
39822
+ }, iue = () => ya((e) => ({
39823
39823
  menuTrigger: null,
39824
39824
  editTargetUnderPointer: null,
39825
39825
  standingInteraction: null,
@@ -39827,10 +39827,10 @@ var hu = {
39827
39827
  caret: null,
39828
39828
  pressedObservation: null,
39829
39829
  setMenuTrigger: (t) => e((r) => N7(r.menuTrigger, t) ? r : { menuTrigger: t }),
39830
- setEditTargetUnderPointer: (t) => e((r) => tue(r.editTargetUnderPointer, t) ? r : { editTargetUnderPointer: t }),
39831
- claimInteraction: (t) => e((r) => Zce(r.standingInteraction, t) ? r : { standingInteraction: t }),
39830
+ setEditTargetUnderPointer: (t) => e((r) => rue(r.editTargetUnderPointer, t) ? r : { editTargetUnderPointer: t }),
39831
+ claimInteraction: (t) => e((r) => eue(r.standingInteraction, t) ? r : { standingInteraction: t }),
39832
39832
  releaseInteraction: (t) => e((r) => r.standingInteraction?.kind === t ? { standingInteraction: null } : r),
39833
- setSelectedOutline: (t) => e((r) => iue(r.selectedOutline, t) ? r : { selectedOutline: t }),
39833
+ setSelectedOutline: (t) => e((r) => oue(r.selectedOutline, t) ? r : { selectedOutline: t }),
39834
39834
  setCaret: (t) => e((r) => (r.caret?.annotationId ?? null) === t ? r : { caret: t === null ? null : {
39835
39835
  annotationId: t,
39836
39836
  editor: null
@@ -39839,25 +39839,25 @@ var hu = {
39839
39839
  ...r.caret,
39840
39840
  editor: t
39841
39841
  } }),
39842
- setPressedObservation: (t) => e((r) => eue(r.pressedObservation, t) ? r : { pressedObservation: t })
39843
- })), iue = (e, t) => e === t ? !0 : e === null || t === null ? !1 : Di(e.target, t.target) && e.frameScale === t.frameScale && am(e.frame, t.frame) && sm(e.frameSpans, t.frameSpans), oue = Be(null), aue = nue();
39842
+ setPressedObservation: (t) => e((r) => tue(r.pressedObservation, t) ? r : { pressedObservation: t })
39843
+ })), oue = (e, t) => e === t ? !0 : e === null || t === null ? !1 : Di(e.target, t.target) && e.frameScale === t.frameScale && am(e.frame, t.frame) && sm(e.frameSpans, t.frameSpans), aue = Be(null), sue = iue();
39844
39844
  function Gn(e) {
39845
- return Mn(se(oue) ?? aue, e);
39845
+ return Mn(se(aue) ?? sue, e);
39846
39846
  }
39847
- var XI = Be(null), sue = ({ panelRect: e, children: t }) => {
39848
- const r = cue(e);
39847
+ var XI = Be(null), lue = ({ panelRect: e, children: t }) => {
39848
+ const r = uue(e);
39849
39849
  return /* @__PURE__ */ g(XI.Provider, {
39850
39850
  value: r,
39851
39851
  children: t
39852
39852
  });
39853
- }, lue = () => {
39853
+ }, cue = () => {
39854
39854
  const e = se(XI);
39855
39855
  if (e === null) throw new Error("Difference arrows read outside a <DifferenceArrowsProvider>.");
39856
39856
  return e;
39857
39857
  }, $A = (e, t, r) => t.isStrokeAuthored ? t.stroke : k7(e.start, e.end, {
39858
39858
  start: r(e.start),
39859
39859
  end: r(e.end)
39860
- }) ?? t.stroke, cue = (e) => {
39860
+ }) ?? t.stroke, uue = (e) => {
39861
39861
  const { formattingLocale: t } = yt(), r = li(), { fonts: n } = lo(), i = Gn((v) => gs(v, "difference-arrow-endpoint-drag")), o = wq(), a = ke(), { differenceArrows: s, mainAxis: l, parsingLocale: c } = Ae(rr((v) => ({
39862
39862
  differenceArrows: v.annotations.differenceArrows,
39863
39863
  mainAxis: ni(v.coordSystem),
@@ -39872,7 +39872,7 @@ var XI = Be(null), sue = ({ panelRect: e, children: t }) => {
39872
39872
  d,
39873
39873
  h,
39874
39874
  u
39875
- ]), m = G(() => uue(r, n.familyDefault), [r, n.familyDefault]), p = G(() => s.map((v) => {
39875
+ ]), m = G(() => due(r, n.familyDefault), [r, n.familyDefault]), p = G(() => s.map((v) => {
39876
39876
  const y = Rk(a, v.id), x = WA(v, y, f, m);
39877
39877
  return {
39878
39878
  ...x,
@@ -39894,7 +39894,7 @@ var XI = Be(null), sue = ({ panelRect: e, children: t }) => {
39894
39894
  ]);
39895
39895
  return G(() => i === null ? p : p.map((v) => {
39896
39896
  if (v.id !== i.annotationId) return v;
39897
- const y = due(v.committedArrow, i);
39897
+ const y = hue(v.committedArrow, i);
39898
39898
  return {
39899
39899
  ...WA(y, v.style, f, m),
39900
39900
  style: v.style,
@@ -39927,7 +39927,7 @@ var XI = Be(null), sue = ({ panelRect: e, children: t }) => {
39927
39927
  label: t.label
39928
39928
  })
39929
39929
  };
39930
- }, uue = (e, t) => {
39930
+ }, due = (e, t) => {
39931
39931
  const r = /* @__PURE__ */ new Map();
39932
39932
  return (n, i) => {
39933
39933
  const o = Wt(i, t), a = [
@@ -39943,18 +39943,18 @@ var XI = Be(null), sue = ({ panelRect: e, children: t }) => {
39943
39943
  const { width: l } = e.measureText(n, o);
39944
39944
  return r.set(a, l), l;
39945
39945
  };
39946
- }, due = (e, t) => ({
39946
+ }, hue = (e, t) => ({
39947
39947
  ...e,
39948
39948
  start: t.endpoint === "start" ? t.point : e.start,
39949
39949
  end: t.endpoint === "end" ? t.point : e.end
39950
- }), hue = "https://graphy.dev/?utm_source=chart-mark&utm_medium=embed", fue = "Made with Graphy — open graphy.dev";
39951
- var mue = "brand-mark_root__mjr3u50";
39952
- var pue = "brand-mark_glyph__mjr3u52", gue = "brand-mark_label__mjr3u53", vue = "brand-mark_footerAnchor__mjr3u54", yue = "brand-mark_headerAnchor__mjr3u55", bue = (e) => {
39953
- const t = xue(e.trim());
39950
+ }), fue = "https://graphy.dev/?utm_source=chart-mark&utm_medium=embed", mue = "Made with Graphy — open graphy.dev";
39951
+ var pue = "brand-mark_root__mjr3u50";
39952
+ var gue = "brand-mark_glyph__mjr3u52", vue = "brand-mark_label__mjr3u53", yue = "brand-mark_footerAnchor__mjr3u54", bue = "brand-mark_headerAnchor__mjr3u55", xue = (e) => {
39953
+ const t = wue(e.trim());
39954
39954
  if (t === null) return "light";
39955
- const r = wue(t);
39955
+ const r = Aue(t);
39956
39956
  return r <= 0.22 ? "dark" : r <= 0.65 ? "mid" : "light";
39957
- }, xue = (e) => {
39957
+ }, wue = (e) => {
39958
39958
  if (!e.startsWith("#")) return null;
39959
39959
  const t = e.slice(1);
39960
39960
  if (t.length === 3) {
@@ -39970,13 +39970,13 @@ var pue = "brand-mark_glyph__mjr3u52", gue = "brand-mark_label__mjr3u53", vue =
39970
39970
  green: Number.parseInt(t.slice(2, 4), 16),
39971
39971
  blue: Number.parseInt(t.slice(4, 6), 16)
39972
39972
  } : null;
39973
- }, wue = ({ red: e, green: t, blue: r }) => {
39973
+ }, Aue = ({ red: e, green: t, blue: r }) => {
39974
39974
  const n = (i) => {
39975
39975
  const o = i / 255;
39976
39976
  return o <= 0.03928 ? o / 12.92 : ((o + 0.055) / 1.055) ** 2.4;
39977
39977
  };
39978
39978
  return 0.2126 * n(e) + 0.7152 * n(t) + 0.0722 * n(r);
39979
- }, Aue = "24 16.68 51.61 67.15", Sue = /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ g("path", {
39979
+ }, Sue = "24 16.68 51.61 67.15", Tue = /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ g("path", {
39980
39980
  fillRule: "evenodd",
39981
39981
  clipRule: "evenodd",
39982
39982
  d: "M57.2309 65.7612V45.0502V37.5111L47.9581 32.1578L57.2309 26.8044L66.5037 32.1578V36.2585V60.4072L57.2309 65.7612ZM33.2284 56.8836L42.5012 51.5303L51.774 56.8836V68.9113L42.5019 74.2646V62.237L33.2284 56.8836Z",
@@ -39986,7 +39986,7 @@ var pue = "brand-mark_glyph__mjr3u52", gue = "brand-mark_label__mjr3u53", vue =
39986
39986
  clipRule: "evenodd",
39987
39987
  d: "M71.9257 61.4889V31.007C71.9257 29.7132 71.2842 28.602 70.1635 27.9551L58.9581 21.4852C57.8375 20.8383 56.5545 20.8383 55.4338 21.4852L29.4987 36.4592C28.3781 37.1061 27.7366 38.2172 27.7366 39.5111V69.993C27.7366 71.2868 28.3781 72.398 29.4987 73.0449L40.7041 79.5148C41.8248 80.1617 43.1078 80.1617 44.2277 79.5148L57.1953 72.0278L70.1629 64.5408C71.2835 63.8939 71.925 62.7828 71.925 61.4889H71.9257ZM57.196 65.7264V45.016V37.4769L47.9232 32.1236L57.196 26.7695L66.4688 32.1236V36.2244V60.373L57.196 65.7264ZM33.1935 56.8488L42.4663 51.4954L51.7391 56.8488V68.8764L42.4669 74.2298V62.2021L33.1941 56.8488H33.1935Z",
39988
39988
  fill: "black"
39989
- })] }), Tue = /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ g("path", {
39989
+ })] }), Mue = /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ g("path", {
39990
39990
  fillRule: "evenodd",
39991
39991
  clipRule: "evenodd",
39992
39992
  d: "M72.046 67.4784L45.9638 82.5379C43.727 83.8291 41.0707 83.8291 38.8339 82.5379L27.5645 76.0311C25.3277 74.7399 24 72.4387 24 69.8573V39.2016C24 36.6192 25.3287 34.3181 27.5645 33.0279L53.6467 17.9684C55.8825 16.6772 58.5398 16.6772 60.7757 17.9684L72.0451 24.4753C74.2809 25.7665 75.6096 28.0676 75.6096 30.649V61.3047C75.6096 63.8871 74.2809 66.1882 72.0451 67.4784H72.046ZM57.2121 71.9031L44.1706 79.4323C43.0435 80.0832 41.7533 80.0832 40.6272 79.4323L29.3578 72.9254C28.2307 72.2746 27.5856 71.1581 27.5856 69.8564V39.2007C27.5856 37.8989 28.2307 36.7824 29.3578 36.1316L55.44 21.0721C56.567 20.4212 57.8573 20.4212 58.9843 21.0721L70.2537 27.5789C71.3808 28.2298 72.0259 29.3463 72.0259 30.6481V61.3037C72.0259 62.6054 71.3808 63.7219 70.2537 64.3728L57.2121 71.9021V71.9031ZM66.5376 60.1824V35.8964V31.7722L57.2121 26.3876L47.8867 31.7722L57.2121 37.1559V44.7379V65.5661L66.5376 60.1815V60.1824ZM51.7238 68.7351V56.6391L42.3984 51.2554L33.073 56.6391L42.3984 62.0237V74.1197L51.7238 68.7351Z",
@@ -39996,41 +39996,41 @@ var pue = "brand-mark_glyph__mjr3u52", gue = "brand-mark_label__mjr3u53", vue =
39996
39996
  clipRule: "evenodd",
39997
39997
  d: "M57.2236 65.5896V44.7279V37.1334L47.8828 31.741L57.2236 26.3487L66.5635 31.741V35.8719V60.1964L57.2227 65.5896H57.2236ZM72.0604 61.3215V30.6178C72.0604 29.3151 71.4143 28.1958 70.2854 27.5439L58.9977 21.0275C57.8687 20.3756 56.5766 20.3756 55.4486 21.0275L29.3241 36.11C28.1952 36.7618 27.5491 37.8802 27.5491 39.1839V69.8876C27.5491 71.1912 28.1952 72.3097 29.3241 72.9615L40.6118 79.4789C41.7407 80.1307 43.0329 80.1307 44.1609 79.4789L57.2236 71.9371L70.2854 64.3954C71.4143 63.7436 72.0604 62.6252 72.0604 61.3215ZM33.046 56.6473L42.3868 51.2549L51.7276 56.6473V68.7634L42.3868 74.1557V62.0405L33.046 56.6473Z",
39998
39998
  fill: "black"
39999
- })] }), Mue = ({ backgroundTone: e, className: t }) => /* @__PURE__ */ g("svg", {
40000
- viewBox: Aue,
39999
+ })] }), Eue = ({ backgroundTone: e, className: t }) => /* @__PURE__ */ g("svg", {
40000
+ viewBox: Sue,
40001
40001
  fill: "none",
40002
40002
  xmlns: "http://www.w3.org/2000/svg",
40003
40003
  "aria-hidden": "true",
40004
40004
  className: t,
40005
- children: e === "dark" ? Tue : Sue
40006
- }), Eue = (e, t, r = "full") => !e || t.width < 120 || t.height < 80 ? "hidden" : t.width < 200 || r === "mini" ? "mini" : "full", qI = ({ visual: e, placement: t }) => {
40007
- const r = bue(Fe(ke().graph().get("fill")));
40005
+ children: e === "dark" ? Mue : Tue
40006
+ }), kue = (e, t, r = "full") => !e || t.width < 120 || t.height < 80 ? "hidden" : t.width < 200 || r === "mini" ? "mini" : "full", qI = ({ visual: e, placement: t }) => {
40007
+ const r = xue(Fe(ke().graph().get("fill")));
40008
40008
  return /* @__PURE__ */ W("a", {
40009
- className: Qt(mue, e === "mini" && "brand-mark_miniRoot__mjr3u51", t === "footer" ? vue : yue),
40010
- href: hue,
40009
+ className: Qt(pue, e === "mini" && "brand-mark_miniRoot__mjr3u51", t === "footer" ? yue : bue),
40010
+ href: fue,
40011
40011
  target: "_blank",
40012
40012
  rel: "noopener noreferrer",
40013
- "aria-label": fue,
40013
+ "aria-label": mue,
40014
40014
  "data-visual": e,
40015
40015
  "data-background-tone": r,
40016
- children: [/* @__PURE__ */ g(Mue, {
40016
+ children: [/* @__PURE__ */ g(Eue, {
40017
40017
  backgroundTone: r,
40018
- className: pue
40018
+ className: gue
40019
40019
  }), /* @__PURE__ */ g("span", {
40020
- className: gue,
40020
+ className: vue,
40021
40021
  children: "Made with Graphy"
40022
40022
  })]
40023
40023
  });
40024
- }, kue = Be({
40024
+ }, Pue = Be({
40025
40025
  Title: null,
40026
40026
  Caption: null,
40027
40027
  TextAnnotation: null
40028
- }), cv = () => se(kue), jA = "content_text__15hmocs0", Pue = "footer.renderer_root__2nw8o50";
40029
- var _ue = "footer.renderer_sourceCluster__2nw8o52", Cue = "footer.renderer_sourceLink__2nw8o53", Iue = "footer.renderer_sourceLabel__2nw8o54", Rue = "footer.renderer_sourceValue__2nw8o55", Lue = ({ ref: e, footerRect: t, mode: r = wn.readonly, caption: n, isCaptionVisible: i, source: o, isSourceVisible: a, captionStyle: s, sourceStyle: l, brandMark: c }) => {
40030
- const { Caption: u } = cv(), d = ci[qg(r)].inlineTextEditing ? u : null, h = i && (d !== null || n !== null), f = a && o !== null && Bue(o), m = c !== "hidden";
40028
+ }), cv = () => se(Pue), jA = "content_text__15hmocs0", _ue = "footer.renderer_root__2nw8o50";
40029
+ var Cue = "footer.renderer_sourceCluster__2nw8o52", Iue = "footer.renderer_sourceLink__2nw8o53", Rue = "footer.renderer_sourceLabel__2nw8o54", Lue = "footer.renderer_sourceValue__2nw8o55", Due = ({ ref: e, footerRect: t, mode: r = wn.readonly, caption: n, isCaptionVisible: i, source: o, isSourceVisible: a, captionStyle: s, sourceStyle: l, brandMark: c }) => {
40030
+ const { Caption: u } = cv(), d = ci[qg(r)].inlineTextEditing ? u : null, h = i && (d !== null || n !== null), f = a && o !== null && Vue(o), m = c !== "hidden";
40031
40031
  return !h && !f && !m ? null : /* @__PURE__ */ W("div", {
40032
40032
  ref: e,
40033
- className: Pue,
40033
+ className: _ue,
40034
40034
  style: {
40035
40035
  left: t.x,
40036
40036
  top: t.y,
@@ -40039,12 +40039,12 @@ var _ue = "footer.renderer_sourceCluster__2nw8o52", Cue = "footer.renderer_sourc
40039
40039
  children: [h ? d ? /* @__PURE__ */ g(d, {
40040
40040
  caption: n,
40041
40041
  captionStyle: s
40042
- }) : /* @__PURE__ */ g(Due, {
40042
+ }) : /* @__PURE__ */ g(Oue, {
40043
40043
  caption: n,
40044
40044
  captionStyle: s
40045
40045
  }) : null, (f || m) && /* @__PURE__ */ W("div", {
40046
40046
  className: "footer.renderer_attributionRow__2nw8o51",
40047
- children: [f && /* @__PURE__ */ g(Oue, {
40047
+ children: [f && /* @__PURE__ */ g(Nue, {
40048
40048
  source: o,
40049
40049
  sourceStyle: l
40050
40050
  }), c !== "hidden" ? /* @__PURE__ */ g(qI, {
@@ -40053,7 +40053,7 @@ var _ue = "footer.renderer_sourceCluster__2nw8o52", Cue = "footer.renderer_sourc
40053
40053
  }) : null]
40054
40054
  })]
40055
40055
  });
40056
- }, Due = ({ caption: e, captionStyle: t }) => e === null ? null : typeof e == "string" ? /* @__PURE__ */ g("p", {
40056
+ }, Oue = ({ caption: e, captionStyle: t }) => e === null ? null : typeof e == "string" ? /* @__PURE__ */ g("p", {
40057
40057
  className: jA,
40058
40058
  style: Tt(t),
40059
40059
  children: e
@@ -40061,43 +40061,43 @@ var _ue = "footer.renderer_sourceCluster__2nw8o52", Cue = "footer.renderer_sourc
40061
40061
  className: jA,
40062
40062
  style: Tt(t),
40063
40063
  children: /* @__PURE__ */ g(zs, { content: e })
40064
- }), Oue = ({ source: e, sourceStyle: t }) => {
40065
- const r = Zp(e.url) ? e.url : void 0, n = e.label ?? (r !== void 0 ? Nue(r) : "");
40064
+ }), Nue = ({ source: e, sourceStyle: t }) => {
40065
+ const r = Zp(e.url) ? e.url : void 0, n = e.label ?? (r !== void 0 ? Bue(r) : "");
40066
40066
  return n === "" && r === void 0 ? null : /* @__PURE__ */ W("span", {
40067
- className: _ue,
40067
+ className: Cue,
40068
40068
  style: Tt(t.label),
40069
40069
  children: [/* @__PURE__ */ g("span", {
40070
- className: Iue,
40070
+ className: Rue,
40071
40071
  children: "Source:"
40072
40072
  }), r !== void 0 ? /* @__PURE__ */ g("a", {
40073
- className: Cue,
40073
+ className: Iue,
40074
40074
  href: r,
40075
40075
  target: "_blank",
40076
40076
  rel: "noopener noreferrer",
40077
40077
  style: Tt(t.link),
40078
40078
  children: n
40079
40079
  }) : /* @__PURE__ */ g("span", {
40080
- className: Rue,
40080
+ className: Lue,
40081
40081
  children: n
40082
40082
  })]
40083
40083
  });
40084
- }, Nue = (e) => {
40084
+ }, Bue = (e) => {
40085
40085
  try {
40086
40086
  return new URL(e).hostname;
40087
40087
  } catch {
40088
40088
  return e;
40089
40089
  }
40090
- }, Bue = (e) => e.label !== void 0 && e.label !== "" || e.url !== void 0 && e.url !== "" && Zp(e.url), Vue = "header.renderer_root__1y52e9e0";
40091
- var Fue = 22, Hue = ({ ref: e, headerRect: t, mode: r = wn.readonly, title: n, isTitleVisible: i, subtitle: o, isSubtitleVisible: a, headingStyle: s, subtitleStyle: l, brandMark: c }) => {
40090
+ }, Vue = (e) => e.label !== void 0 && e.label !== "" || e.url !== void 0 && e.url !== "" && Zp(e.url), Fue = "header.renderer_root__1y52e9e0";
40091
+ var Hue = 22, Gue = ({ ref: e, headerRect: t, mode: r = wn.readonly, title: n, isTitleVisible: i, subtitle: o, isSubtitleVisible: a, headingStyle: s, subtitleStyle: l, brandMark: c }) => {
40092
40092
  const { Title: u } = cv(), d = ci[qg(r)].inlineTextEditing ? u : null, h = d !== null, f = i && (h || n !== null), m = a && (h || o !== null), p = c !== "hidden";
40093
40093
  return !f && !m && !p ? null : /* @__PURE__ */ W("div", {
40094
40094
  ref: e,
40095
- className: Qt(Vue, p && "header.renderer_withBrandMark__1y52e9e1"),
40095
+ className: Qt(Fue, p && "header.renderer_withBrandMark__1y52e9e1"),
40096
40096
  style: {
40097
40097
  left: t.x,
40098
40098
  top: t.y,
40099
40099
  width: t.width,
40100
- ...p && !f && !m ? { minHeight: Fue } : {}
40100
+ ...p && !f && !m ? { minHeight: Hue } : {}
40101
40101
  },
40102
40102
  children: [d ? /* @__PURE__ */ g(d, {
40103
40103
  title: n,
@@ -40106,7 +40106,7 @@ var Fue = 22, Hue = ({ ref: e, headerRect: t, mode: r = wn.readonly, title: n, i
40106
40106
  subtitle: o,
40107
40107
  headingStyle: s,
40108
40108
  subtitleStyle: l
40109
- }, [i ? "title" : "", a ? "subtitle" : ""].join("-")) : /* @__PURE__ */ g(Gue, {
40109
+ }, [i ? "title" : "", a ? "subtitle" : ""].join("-")) : /* @__PURE__ */ g($ue, {
40110
40110
  title: n,
40111
40111
  isTitleVisible: i,
40112
40112
  isSubtitleVisible: a,
@@ -40118,7 +40118,7 @@ var Fue = 22, Hue = ({ ref: e, headerRect: t, mode: r = wn.readonly, title: n, i
40118
40118
  placement: "header"
40119
40119
  }) : null]
40120
40120
  });
40121
- }, Gue = ({ title: e, isTitleVisible: t, isSubtitleVisible: r, subtitle: n, headingStyle: i, subtitleStyle: o }) => {
40121
+ }, $ue = ({ title: e, isTitleVisible: t, isSubtitleVisible: r, subtitle: n, headingStyle: i, subtitleStyle: o }) => {
40122
40122
  const a = t && e !== null, s = r && n !== null;
40123
40123
  return /* @__PURE__ */ W(fe, { children: [a && (typeof e == "string" ? /* @__PURE__ */ g("h1", {
40124
40124
  className: "content_text__15hmocs0",
@@ -40137,25 +40137,25 @@ var Fue = 22, Hue = ({ ref: e, headerRect: t, mode: r = wn.readonly, title: n, i
40137
40137
  style: Tt(o),
40138
40138
  children: /* @__PURE__ */ g(zs, { content: n })
40139
40139
  }))] });
40140
- }, $ue = "headline.renderer_root__weqb70", Wue = "headline.renderer_grandTotal__weqb71", jue = /* @__PURE__ */ s1({
40141
- group: () => Yue,
40140
+ }, Wue = "headline.renderer_root__weqb70", jue = "headline.renderer_grandTotal__weqb71", Uue = /* @__PURE__ */ s1({
40141
+ group: () => Kue,
40142
40142
  item: () => QI,
40143
- trend: () => zue,
40144
- value: () => Uue
40145
- }), Uue = "headline-item_value__8zulrb0", zue = "headline-item_trend__8zulrb1", Yue = "headline-item_group__8zulrb2", QI = "headline-item_item__8zulrb3", Kue = {
40143
+ trend: () => Yue,
40144
+ value: () => zue
40145
+ }), zue = "headline-item_value__8zulrb0", Yue = "headline-item_trend__8zulrb1", Kue = "headline-item_group__8zulrb2", QI = "headline-item_item__8zulrb3", Xue = {
40146
40146
  xxs: 8,
40147
40147
  xs: 12,
40148
40148
  sm: 16,
40149
40149
  md: 20,
40150
40150
  lg: 24,
40151
40151
  xl: 36
40152
- }, Xue = {
40152
+ }, que = {
40153
40153
  primary: "icon_variant_primary__q8p7at1 icon_base__q8p7at0",
40154
40154
  secondary: "icon_variant_secondary__q8p7at2 icon_base__q8p7at0"
40155
40155
  }, JI = ({ children: e, title: t, variant: r = "primary", size: n = "sm", ...i }) => {
40156
- const o = dt(), a = Kue[n];
40156
+ const o = dt(), a = Xue[n];
40157
40157
  return /* @__PURE__ */ W("svg", {
40158
- className: Xue[r],
40158
+ className: que[r],
40159
40159
  "aria-labelledby": t ? o : void 0,
40160
40160
  height: a,
40161
40161
  width: a,
@@ -40168,7 +40168,7 @@ var Fue = 22, Hue = ({ ref: e, headerRect: t, mode: r = wn.readonly, title: n, i
40168
40168
  children: t
40169
40169
  }), e]
40170
40170
  });
40171
- }, que = (e) => /* @__PURE__ */ g(JI, {
40171
+ }, Que = (e) => /* @__PURE__ */ g(JI, {
40172
40172
  ...e,
40173
40173
  children: /* @__PURE__ */ W("g", {
40174
40174
  stroke: "currentColor",
@@ -40177,7 +40177,7 @@ var Fue = 22, Hue = ({ ref: e, headerRect: t, mode: r = wn.readonly, title: n, i
40177
40177
  strokeLinejoin: "round",
40178
40178
  children: [/* @__PURE__ */ g("path", { d: "m5 12 7-7 7 7" }), /* @__PURE__ */ g("path", { d: "M12 19V5" })]
40179
40179
  })
40180
- }), Que = (e) => /* @__PURE__ */ g(JI, {
40180
+ }), Jue = (e) => /* @__PURE__ */ g(JI, {
40181
40181
  ...e,
40182
40182
  children: /* @__PURE__ */ g("g", {
40183
40183
  stroke: "currentColor",
@@ -40186,36 +40186,36 @@ var Fue = 22, Hue = ({ ref: e, headerRect: t, mode: r = wn.readonly, title: n, i
40186
40186
  strokeLinejoin: "round",
40187
40187
  children: /* @__PURE__ */ g("path", { d: "M5 12h14" })
40188
40188
  })
40189
- }), Jue = "headline-segment_caption__1gz17pz0", Zue = "headline-segment_label__1gz17pz1", ede = "headline-segment_trendArrowDisc__1gz17pz2";
40190
- var tde = ({ segment: e, itemStyle: t }) => {
40191
- if (e.kind === "swatch") return /* @__PURE__ */ g(rde, {
40189
+ }), Zue = "headline-segment_caption__1gz17pz0", ede = "headline-segment_label__1gz17pz1", tde = "headline-segment_trendArrowDisc__1gz17pz2";
40190
+ var rde = ({ segment: e, itemStyle: t }) => {
40191
+ if (e.kind === "swatch") return /* @__PURE__ */ g(nde, {
40192
40192
  swatch: e.swatch,
40193
40193
  size: e.size
40194
40194
  });
40195
40195
  if (e.kind === "trendArrow") {
40196
40196
  const i = ZI(t, e.direction);
40197
40197
  return /* @__PURE__ */ g("div", {
40198
- className: Qt(ede, e.direction === "down" && "headline-segment_trendArrowDown__1gz17pz3"),
40198
+ className: Qt(tde, e.direction === "down" && "headline-segment_trendArrowDown__1gz17pz3"),
40199
40199
  style: {
40200
40200
  color: i,
40201
40201
  backgroundColor: e.direction === "flat" ? Xt(B.textPrimary, 0.1) : Xt(i, 0.2)
40202
40202
  },
40203
- children: e.direction === "flat" ? /* @__PURE__ */ g(Que, {
40203
+ children: e.direction === "flat" ? /* @__PURE__ */ g(Jue, {
40204
40204
  size: "xs",
40205
40205
  title: ""
40206
- }) : /* @__PURE__ */ g(que, {
40206
+ }) : /* @__PURE__ */ g(Que, {
40207
40207
  size: "xs",
40208
40208
  title: ""
40209
40209
  })
40210
40210
  });
40211
40211
  }
40212
- const { className: r, style: n } = nde(e, t);
40212
+ const { className: r, style: n } = ide(e, t);
40213
40213
  return /* @__PURE__ */ g("span", {
40214
40214
  className: r,
40215
40215
  style: n,
40216
40216
  children: e.text
40217
40217
  });
40218
- }, rde = ({ swatch: e, size: t }) => {
40218
+ }, nde = ({ swatch: e, size: t }) => {
40219
40219
  const r = Lr(), n = md(e.layerId, e.value, t), i = fd(e.layerId, e.value, e.color) ?? e.color;
40220
40220
  return /* @__PURE__ */ g(xl, {
40221
40221
  shape: r(e.geom, "cartesian")?.swatchShape ?? "square",
@@ -40228,18 +40228,18 @@ var tde = ({ segment: e, itemStyle: t }) => {
40228
40228
  cornerRadius: n.cornerRadius,
40229
40229
  symbol: n.symbol
40230
40230
  });
40231
- }, nde = (e, t) => {
40231
+ }, ide = (e, t) => {
40232
40232
  switch (e.textRole) {
40233
40233
  case "value":
40234
40234
  return { style: Eo(t.number) };
40235
40235
  case "caption":
40236
40236
  return {
40237
- className: Jue,
40237
+ className: Zue,
40238
40238
  style: Eo(t.caption)
40239
40239
  };
40240
40240
  case "label":
40241
40241
  return {
40242
- className: Zue,
40242
+ className: ede,
40243
40243
  style: Eo(t.label)
40244
40244
  };
40245
40245
  case "trendPercentage":
@@ -40263,31 +40263,31 @@ var tde = ({ segment: e, itemStyle: t }) => {
40263
40263
  default:
40264
40264
  return t;
40265
40265
  }
40266
- }, ide = ({ item: e, itemStyle: t }) => /* @__PURE__ */ g("div", {
40266
+ }, ode = ({ item: e, itemStyle: t }) => /* @__PURE__ */ g("div", {
40267
40267
  className: QI,
40268
40268
  style: { gap: t.gap },
40269
- children: LE(e, t).map((r) => /* @__PURE__ */ g(ode, {
40269
+ children: LE(e, t).map((r) => /* @__PURE__ */ g(ade, {
40270
40270
  row: r,
40271
40271
  itemStyle: t
40272
40272
  }, r.role))
40273
- }), ode = ({ row: e, itemStyle: t }) => {
40273
+ }), ade = ({ row: e, itemStyle: t }) => {
40274
40274
  const r = e.role === "trend";
40275
40275
  return /* @__PURE__ */ g("div", {
40276
- className: jue[e.role],
40276
+ className: Uue[e.role],
40277
40277
  style: { gap: e.gap },
40278
40278
  "data-testid": r ? "headline-trend" : void 0,
40279
- "data-direction": r ? ade(e) : void 0,
40279
+ "data-direction": r ? sde(e) : void 0,
40280
40280
  role: r ? "img" : void 0,
40281
40281
  "aria-label": r ? e.ariaLabel : void 0,
40282
- children: e.segments.map((n, i) => /* @__PURE__ */ g(tde, {
40282
+ children: e.segments.map((n, i) => /* @__PURE__ */ g(rde, {
40283
40283
  segment: n,
40284
40284
  itemStyle: t
40285
40285
  }, i))
40286
40286
  });
40287
- }, ade = (e) => {
40287
+ }, sde = (e) => {
40288
40288
  const t = e.segments.find((r) => r.kind === "trendArrow");
40289
40289
  return t?.kind === "trendArrow" ? t.direction : void 0;
40290
- }, sde = ({ headline: e, rect: t, resolvedSize: r, visibleItemCount: n, isInDonutHole: i = !1 }) => {
40290
+ }, lde = ({ headline: e, rect: t, resolvedSize: r, visibleItemCount: n, isInDonutHole: i = !1 }) => {
40291
40291
  const o = ke(), a = ue(lv, o), s = ue(hc, o, r), l = {
40292
40292
  left: t.x,
40293
40293
  top: t.y,
@@ -40297,7 +40297,7 @@ var tde = ({ segment: e, itemStyle: t }) => {
40297
40297
  if (e.kind === "grandTotal") {
40298
40298
  const c = SE(s, i);
40299
40299
  return /* @__PURE__ */ g("div", {
40300
- className: Wue,
40300
+ className: jue,
40301
40301
  style: l,
40302
40302
  children: /* @__PURE__ */ g("span", {
40303
40303
  style: Eo(c),
@@ -40306,26 +40306,26 @@ var tde = ({ segment: e, itemStyle: t }) => {
40306
40306
  });
40307
40307
  }
40308
40308
  return /* @__PURE__ */ g("div", {
40309
- className: $ue,
40309
+ className: Wue,
40310
40310
  style: {
40311
40311
  ...l,
40312
40312
  gap: a.gap
40313
40313
  },
40314
- children: e.items.slice(0, n).map((c, u) => /* @__PURE__ */ g(ide, {
40314
+ children: e.items.slice(0, n).map((c, u) => /* @__PURE__ */ g(ode, {
40315
40315
  item: c,
40316
40316
  itemStyle: s
40317
40317
  }, `${c.label}-${u}`))
40318
40318
  });
40319
- }, lde = "data-legend-index", cde = "data-legend-item-index", eR = ({ legendIndex: e, itemIndex: t }) => ({
40320
- [lde]: String(e),
40321
- [cde]: String(t)
40322
- }), Ra = "data-edit-kind", ude = "data-edit-id", tR = "data-edit-axis", dde = "data-edit-tick-index", rR = "data-legend-overflow-control", gye = `[${rR}]`, hde = "observations", fde = "data-live-geom", vye = `[${Ra}]`, El = (e) => ({
40319
+ }, cde = "data-legend-index", ude = "data-legend-item-index", eR = ({ legendIndex: e, itemIndex: t }) => ({
40320
+ [cde]: String(e),
40321
+ [ude]: String(t)
40322
+ }), Ra = "data-edit-kind", dde = "data-edit-id", tR = "data-edit-axis", hde = "data-edit-tick-index", rR = "data-legend-overflow-control", vye = `[${rR}]`, fde = "observations", mde = "data-live-geom", yye = `[${Ra}]`, El = (e) => ({
40323
40323
  [Ra]: e.kind,
40324
- [ude]: e.id
40324
+ [dde]: e.id
40325
40325
  }), uv = (e, t) => ({
40326
40326
  [Ra]: "axis",
40327
40327
  [tR]: e,
40328
- ...t === void 0 ? {} : { [dde]: String(t) }
40328
+ ...t === void 0 ? {} : { [hde]: String(t) }
40329
40329
  }), dv = (e) => ({
40330
40330
  [Ra]: "legend",
40331
40331
  ...eR(e)
@@ -40333,14 +40333,14 @@ var tde = ({ segment: e, itemStyle: t }) => {
40333
40333
  [Ra]: "grid",
40334
40334
  [tR]: e
40335
40335
  }), iR = ({ isLive: e = !1 } = {}) => ({
40336
- [Ra]: hde,
40337
- ...e ? { [fde]: "" } : {}
40336
+ [Ra]: fde,
40337
+ ...e ? { [mde]: "" } : {}
40338
40338
  }), oR = Be(wn.readonly);
40339
40339
  function kl() {
40340
40340
  return se(oR);
40341
40341
  }
40342
- var hi = () => ci[kl()].guidePress, mde = 0.25, hv = (e) => uo() ? null : /* @__PURE__ */ g(pde, { ...e }), pde = ({ children: e, as: t = "g", ...r }) => {
40343
- const n = oce(), i = t;
40342
+ var hi = () => ci[kl()].guidePress, pde = 0.25, hv = (e) => uo() ? null : /* @__PURE__ */ g(gde, { ...e }), gde = ({ children: e, as: t = "g", ...r }) => {
40343
+ const n = ace(), i = t;
40344
40344
  if (n <= 0) return /* @__PURE__ */ g(i, {
40345
40345
  ...r,
40346
40346
  children: e
@@ -40351,26 +40351,26 @@ var hi = () => ci[kl()].guidePress, mde = 0.25, hv = (e) => uo() ? null : /* @__
40351
40351
  initial: { opacity: 0 },
40352
40352
  animate: { opacity: 1 },
40353
40353
  transition: {
40354
- duration: mde,
40354
+ duration: pde,
40355
40355
  delay: n
40356
40356
  },
40357
40357
  children: e
40358
40358
  });
40359
- }, gde = (e, t) => e.isTextColorAuthored ? e.textColor : t ?? e.textColor, vde = "direct-labels_root__1a6kdls0";
40360
- var yde = "direct-labels_item__1a6kdls2";
40361
- var bde = 8, xde = 16, wde = 2, Ade = ({ indexedLegends: e, containerRect: t }) => {
40362
- const r = ue(AE, ke()), n = qn(r), { placements: i, hasOverlap: o } = Sde(e, t, n), a = hi(), s = Tt(r);
40359
+ }, vde = (e, t) => e.isTextColorAuthored ? e.textColor : t ?? e.textColor, yde = "direct-labels_root__1a6kdls0";
40360
+ var bde = "direct-labels_item__1a6kdls2";
40361
+ var xde = 8, wde = 16, Ade = 2, Sde = ({ indexedLegends: e, containerRect: t }) => {
40362
+ const r = ue(AE, ke()), n = qn(r), { placements: i, hasOverlap: o } = Tde(e, t, n), a = hi(), s = Tt(r);
40363
40363
  if (i.length === 0) return null;
40364
- const l = o ? xde : bde, c = l - wde, u = ao(r.dashArray, r.strokeWidth);
40364
+ const l = o ? wde : xde, c = l - Ade, u = ao(r.dashArray, r.strokeWidth);
40365
40365
  return /* @__PURE__ */ W(hv, {
40366
40366
  as: "div",
40367
- className: vde,
40367
+ className: yde,
40368
40368
  "data-testid": "direct-labels",
40369
40369
  children: [o && /* @__PURE__ */ g("svg", {
40370
40370
  className: "direct-labels_connectors__1a6kdls1",
40371
40371
  width: t.width,
40372
40372
  height: t.height,
40373
- children: i.map((d) => /* @__PURE__ */ g(Tde, {
40373
+ children: i.map((d) => /* @__PURE__ */ g(Mde, {
40374
40374
  anchorY: d.anchorY,
40375
40375
  labelY: d.y,
40376
40376
  endX: c,
@@ -40379,18 +40379,18 @@ var bde = 8, xde = 16, wde = 2, Ade = ({ indexedLegends: e, containerRect: t })
40379
40379
  dashArray: u
40380
40380
  }, d.payload.key))
40381
40381
  }), i.map((d) => /* @__PURE__ */ g("span", {
40382
- className: Qt(yde, a && "direct-labels_hitTestableItem__1a6kdls3"),
40382
+ className: Qt(bde, a && "direct-labels_hitTestableItem__1a6kdls3"),
40383
40383
  style: {
40384
40384
  ...s,
40385
40385
  left: l,
40386
40386
  top: d.y,
40387
- color: gde(r, d.payload.color)
40387
+ color: vde(r, d.payload.color)
40388
40388
  },
40389
40389
  ...a ? dv(d.payload.address) : eR(d.payload.address),
40390
40390
  children: d.payload.label
40391
40391
  }, d.payload.key))]
40392
40392
  });
40393
- }, Sde = (e, t, r) => {
40393
+ }, Tde = (e, t, r) => {
40394
40394
  const { colorScheme: n } = yt(), i = Ae((o) => o.layers);
40395
40395
  return G(() => {
40396
40396
  const o = [];
@@ -40425,7 +40425,7 @@ var bde = 8, xde = 16, wde = 2, Ade = ({ indexedLegends: e, containerRect: t })
40425
40425
  r,
40426
40426
  i
40427
40427
  ]);
40428
- }, Tde = ({ anchorY: e, labelY: t, endX: r, color: n, strokeWidth: i, dashArray: o }) => {
40428
+ }, Mde = ({ anchorY: e, labelY: t, endX: r, color: n, strokeWidth: i, dashArray: o }) => {
40429
40429
  const a = r / 2;
40430
40430
  return /* @__PURE__ */ g("path", {
40431
40431
  d: `M0,${e} C${a},${e} ${a},${t} ${r},${t}`,
@@ -40434,8 +40434,8 @@ var bde = 8, xde = 16, wde = 2, Ade = ({ indexedLegends: e, containerRect: t })
40434
40434
  strokeWidth: i,
40435
40435
  strokeDasharray: o
40436
40436
  });
40437
- }, Mde = "legend.renderer_root__12du00r0";
40438
- var Ede = 0.6;
40437
+ }, Ede = "legend.renderer_root__12du00r0";
40438
+ var kde = 0.6;
40439
40439
  var aR = (e, t) => ({
40440
40440
  ...e.fill === void 0 ? {} : ua(e.fill, t),
40441
40441
  ...e.cornerRadius === void 0 ? {} : { borderRadius: Ml(e.cornerRadius) },
@@ -40447,7 +40447,7 @@ var aR = (e, t) => ({
40447
40447
  ...e.alpha === void 0 ? {} : { opacity: e.alpha },
40448
40448
  paddingInline: e.paddingInline,
40449
40449
  paddingBlock: e.paddingBlock
40450
- }), lR = (e) => e.fill !== void 0 || e.strokeWidth > 0, kde = (e, t, r) => ({
40450
+ }), lR = (e) => e.fill !== void 0 || e.strokeWidth > 0, Pde = (e, t, r) => ({
40451
40451
  ...ua(e.fill, r),
40452
40452
  borderRadius: Ml(e.cornerRadius),
40453
40453
  paddingInline: e.paddingInline,
@@ -40456,21 +40456,21 @@ var aR = (e, t) => ({
40456
40456
  ...e.alpha === void 0 ? {} : { opacity: e.alpha },
40457
40457
  ...cR(e.strokeWidth, e.stroke),
40458
40458
  ...Tt(t)
40459
- }), cR = (e, t) => e > 0 && t !== void 0 ? { border: `${e}px solid ${t}` } : {}, Pde = "var(--focusStroke__h68bv30)", _de = "legend-overflow_triggerGroup__h68bv31", Cde = {
40459
+ }), cR = (e, t) => e > 0 && t !== void 0 ? { border: `${e}px solid ${t}` } : {}, _de = "var(--focusStroke__h68bv30)", Cde = "legend-overflow_triggerGroup__h68bv31", Ide = {
40460
40460
  1: "legend-overflow_triggerGroupHorizontal_1__h68bv32",
40461
40461
  2: "legend-overflow_triggerGroupHorizontal_2__h68bv33"
40462
- }, Ide = {
40462
+ }, Rde = {
40463
40463
  1: "legend-overflow_triggerGroupVertical_1__h68bv34",
40464
40464
  2: "legend-overflow_triggerGroupVertical_2__h68bv35"
40465
40465
  };
40466
- var Rde = {
40466
+ var Lde = {
40467
40467
  1: "legend-overflow_triggerGhostHorizontal_1__h68bv37",
40468
40468
  2: "legend-overflow_triggerGhostHorizontal_2__h68bv38"
40469
- }, Lde = {
40469
+ }, Dde = {
40470
40470
  1: "legend-overflow_triggerGhostVertical_1__h68bv39",
40471
40471
  2: "legend-overflow_triggerGhostVertical_2__h68bv3a"
40472
- }, Dde = "legend-overflow_trigger__h68bv3b", Ode = "legend-overflow_triggerLabel__h68bv3c";
40473
- var Nde = "pill-content_bubble__1rqnt0m0", Lh = "\0", Bde = (e, t) => {
40472
+ }, Ode = "legend-overflow_trigger__h68bv3b", Nde = "legend-overflow_triggerLabel__h68bv3c";
40473
+ var Bde = "pill-content_bubble__1rqnt0m0", Lh = "\0", Vde = (e, t) => {
40474
40474
  const r = [];
40475
40475
  for (const { legend: n, legendIndex: i } of e) {
40476
40476
  const o = n.aesthetics.includes("size");
@@ -40497,8 +40497,8 @@ var Nde = "pill-content_bubble__1rqnt0m0", Lh = "\0", Bde = (e, t) => {
40497
40497
  });
40498
40498
  }
40499
40499
  return r;
40500
- }, uR = ({ pill: e }) => e.isBubble ? /* @__PURE__ */ g(Hde, { pill: e }) : /* @__PURE__ */ g(Fde, { pill: e }), Vde = ({ color: e, lineType: t, shape: r, label: n, layerId: i, groupValue: o }) => {
40501
- const { swatch: a } = ue(sl, ke()), s = md(i, o, a.size), l = fd(i, o, e), c = Ae((d) => ni(d.coordSystem)), u = Gde(e, l);
40500
+ }, uR = ({ pill: e }) => e.isBubble ? /* @__PURE__ */ g(Gde, { pill: e }) : /* @__PURE__ */ g(Hde, { pill: e }), Fde = ({ color: e, lineType: t, shape: r, label: n, layerId: i, groupValue: o }) => {
40501
+ const { swatch: a } = ue(sl, ke()), s = md(i, o, a.size), l = fd(i, o, e), c = Ae((d) => ni(d.coordSystem)), u = $de(e, l);
40502
40502
  return u ? /* @__PURE__ */ g(xl, {
40503
40503
  shape: r,
40504
40504
  color: u,
@@ -40514,17 +40514,17 @@ var Nde = "pill-content_bubble__1rqnt0m0", Lh = "\0", Bde = (e, t) => {
40514
40514
  symbol: s.symbol,
40515
40515
  mainAxis: c
40516
40516
  }) : null;
40517
- }, Fde = ({ pill: e }) => /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ g(Vde, {
40517
+ }, Hde = ({ pill: e }) => /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ g(Fde, {
40518
40518
  color: e.visual.color,
40519
40519
  lineType: e.primaryLineType,
40520
40520
  shape: e.swatchShape,
40521
40521
  label: e.formattedLabel,
40522
40522
  layerId: e.layerId,
40523
40523
  groupValue: e.groupValue
40524
- }), /* @__PURE__ */ g("span", { children: e.formattedLabel })] }), Hde = ({ pill: e }) => {
40524
+ }), /* @__PURE__ */ g("span", { children: e.formattedLabel })] }), Gde = ({ pill: e }) => {
40525
40525
  const t = Number(e.visual.size), { item: r } = ue(sl, ke()), n = md(e.layerId, e.groupValue, t), i = fd(e.layerId, e.groupValue, r.textColor), o = n.fill === void 0 ? i : Fe(n.fill);
40526
40526
  return /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ g("span", {
40527
- className: Nde,
40527
+ className: Bde,
40528
40528
  style: {
40529
40529
  width: t,
40530
40530
  height: t,
@@ -40532,10 +40532,10 @@ var Nde = "pill-content_bubble__1rqnt0m0", Lh = "\0", Bde = (e, t) => {
40532
40532
  opacity: n.alpha
40533
40533
  }
40534
40534
  }), /* @__PURE__ */ g("span", { children: e.formattedLabel })] });
40535
- }, Gde = (e, t) => e === void 0 ? void 0 : t, UA = { [rR]: "" }, $de = ({ hiddenPills: e, placement: t }) => {
40536
- const r = vI(), [n, i] = Me(!1), o = ke(), a = ue(sl, o), s = ue(GI, o), l = hi(), c = Ea([a.item.fill, s.popover.fill]), u = c(a.item.fill), d = sR(a.item, u), h = Wde(e.length, a.item), f = h === null ? void 0 : {
40535
+ }, $de = (e, t) => e === void 0 ? void 0 : t, UA = { [rR]: "" }, Wde = ({ hiddenPills: e, placement: t }) => {
40536
+ const r = vI(), [n, i] = Me(!1), o = ke(), a = ue(sl, o), s = ue(GI, o), l = hi(), c = Ea([a.item.fill, s.popover.fill]), u = c(a.item.fill), d = sR(a.item, u), h = jde(e.length, a.item), f = h === null ? void 0 : {
40537
40537
  ...aR(a.item, u),
40538
- opacity: Ede * (a.item.alpha ?? 1)
40538
+ opacity: kde * (a.item.alpha ?? 1)
40539
40539
  }, { refs: m, floatingStyles: p } = CI({
40540
40540
  open: n,
40541
40541
  placement: t,
@@ -40566,28 +40566,28 @@ var Nde = "pill-content_bubble__1rqnt0m0", Lh = "\0", Bde = (e, t) => {
40566
40566
  const v = t === "left" || t === "right", y = h === null ? [] : Array.from({ length: h }, (x, w) => h - w);
40567
40567
  return /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ W("div", {
40568
40568
  ref: m.setReference,
40569
- className: Qt(_de, h !== null && v && Ide[h], h !== null && !v && Cde[h]),
40569
+ className: Qt(Cde, h !== null && v && Rde[h], h !== null && !v && Ide[h]),
40570
40570
  ...UA,
40571
40571
  children: [h !== null && y.map((x) => /* @__PURE__ */ g("span", {
40572
- className: Qt("legend-overflow_triggerGhost__h68bv36", v ? Lde[h] : Rde[h]),
40572
+ className: Qt("legend-overflow_triggerGhost__h68bv36", v ? Dde[h] : Lde[h]),
40573
40573
  style: {
40574
40574
  ...f,
40575
- ...jde(x, v)
40575
+ ...Ude(x, v)
40576
40576
  },
40577
40577
  "aria-hidden": !0
40578
40578
  }, x)), /* @__PURE__ */ g("button", {
40579
40579
  type: "button",
40580
- className: Dde,
40580
+ className: Ode,
40581
40581
  style: {
40582
40582
  ...d,
40583
- ...(0, iv.assignInlineVars)({ [Pde]: s.focusStroke })
40583
+ ...(0, iv.assignInlineVars)({ [_de]: s.focusStroke })
40584
40584
  },
40585
40585
  onClick: () => i((x) => !x),
40586
40586
  "aria-haspopup": "dialog",
40587
40587
  "aria-expanded": n,
40588
40588
  "aria-label": `Show ${e.length} hidden legend ${e.length === 1 ? "item" : "items"}`,
40589
40589
  children: /* @__PURE__ */ W("span", {
40590
- className: Ode,
40590
+ className: Nde,
40591
40591
  children: ["+", e.length]
40592
40592
  })
40593
40593
  })]
@@ -40598,7 +40598,7 @@ var Nde = "pill-content_bubble__1rqnt0m0", Lh = "\0", Bde = (e, t) => {
40598
40598
  className: "legend-overflow_popover__h68bv3d",
40599
40599
  style: {
40600
40600
  ...p,
40601
- ...kde(s.popover, a.item, c(s.popover.fill))
40601
+ ...Pde(s.popover, a.item, c(s.popover.fill))
40602
40602
  },
40603
40603
  ...UA,
40604
40604
  children: /* @__PURE__ */ g("ul", {
@@ -40611,23 +40611,23 @@ var Nde = "pill-content_bubble__1rqnt0m0", Lh = "\0", Bde = (e, t) => {
40611
40611
  }, x.key))
40612
40612
  })
40613
40613
  })] });
40614
- }, Wde = (e, t) => {
40614
+ }, jde = (e, t) => {
40615
40615
  if (!lR(t)) return null;
40616
40616
  const r = Math.min(e - 1, 2);
40617
40617
  return r === 1 ? 1 : r === 2 ? 2 : null;
40618
- }, jde = (e, t) => {
40618
+ }, Ude = (e, t) => {
40619
40619
  const r = -e * 4;
40620
40620
  return { transform: t ? `translateY(${r}px)` : `translateX(${r}px)` };
40621
- }, Ude = "pill-legends_root__1unrqh40", zde = "pill-legends_horizontalRoot__1unrqh41", Yde = "pill-legends_verticalRoot__1unrqh42", Kde = {
40621
+ }, zde = "pill-legends_root__1unrqh40", Yde = "pill-legends_horizontalRoot__1unrqh41", Kde = "pill-legends_verticalRoot__1unrqh42", Xde = {
40622
40622
  start: "pill-legends_mainAxisAlign_start__1unrqh43",
40623
40623
  center: "pill-legends_mainAxisAlign_center__1unrqh44",
40624
40624
  end: "pill-legends_mainAxisAlign_end__1unrqh45"
40625
- }, Xde = {
40625
+ }, qde = {
40626
40626
  right: "pill-legends_verticalPlotHug_right__1unrqh46",
40627
40627
  left: "pill-legends_verticalPlotHug_left__1unrqh47"
40628
- }, qde = "pill-legends_item__1unrqh48";
40629
- var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }) => {
40630
- const i = li(), o = lo(), a = ke(), s = ue(GI, a), l = ue(sl, a), c = Lr(), u = Ae((A) => A.coordSystem.type), d = hi(), h = G(() => Bde(t, (A) => c(A, u)?.swatchShape ?? "square"), [
40628
+ }, Qde = "pill-legends_item__1unrqh48";
40629
+ var Jde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }) => {
40630
+ const i = li(), o = lo(), a = ke(), s = ue(GI, a), l = ue(sl, a), c = Lr(), u = Ae((A) => A.coordSystem.type), d = hi(), h = G(() => Vde(t, (A) => c(A, u)?.swatchShape ?? "square"), [
40631
40631
  t,
40632
40632
  c,
40633
40633
  u
@@ -40640,9 +40640,9 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40640
40640
  visibleCount: h.length,
40641
40641
  hasOverflow: !1
40642
40642
  };
40643
- const A = Wt(l.item, o.fonts.familyDefault), D = qn(l.item), b = 2 * (l.item.paddingInline + l.item.strokeWidth), T = 2 * (l.item.paddingBlock + l.item.strokeWidth), R = (M) => f ? Jde(M, D, l.swatch.size, T) : zA({
40643
+ const A = Wt(l.item, o.fonts.familyDefault), D = qn(l.item), b = 2 * (l.item.paddingInline + l.item.strokeWidth), T = 2 * (l.item.paddingBlock + l.item.strokeWidth), R = (M) => f ? Zde(M, D, l.swatch.size, T) : zA({
40644
40644
  label: M.formattedLabel,
40645
- swatchInlineSize: Zde(M, l.swatch.size),
40645
+ swatchInlineSize: ehe(M, l.swatch.size),
40646
40646
  textMeasurer: i,
40647
40647
  font: A,
40648
40648
  swatchGap: l.item.gap,
@@ -40655,7 +40655,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40655
40655
  swatchGap: l.item.gap,
40656
40656
  horizontalChrome: b
40657
40657
  })) + (lR(l.item) ? 8 : 0);
40658
- return the({
40658
+ return rhe({
40659
40659
  pillSizes: I,
40660
40660
  overflowPillSize: V,
40661
40661
  containerSize: m,
@@ -40673,32 +40673,32 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40673
40673
  if (h.length === 0) return null;
40674
40674
  const x = h.slice(0, v.visibleCount), w = h.slice(v.visibleCount), S = v.hasOverflow && w.length > 0, P = sR(l.item, y(l.item.fill));
40675
40675
  return /* @__PURE__ */ W("div", {
40676
- className: Qt(Kde[p], Ude, {
40677
- [Yde]: f,
40678
- [zde]: !f,
40679
- [Xde[e === "left" ? "left" : "right"]]: f
40676
+ className: Qt(Xde[p], zde, {
40677
+ [Kde]: f,
40678
+ [Yde]: !f,
40679
+ [qde[e === "left" ? "left" : "right"]]: f
40680
40680
  }),
40681
40681
  style: { gap: s.gap },
40682
40682
  children: [x.map((A) => /* @__PURE__ */ g("div", {
40683
- className: Qt(qde, d && "pill-legends_hitTestableItem__1unrqh49"),
40683
+ className: Qt(Qde, d && "pill-legends_hitTestableItem__1unrqh49"),
40684
40684
  style: {
40685
40685
  ...P,
40686
40686
  gap: l.item.gap
40687
40687
  },
40688
40688
  ...d ? dv(A.address) : void 0,
40689
40689
  children: /* @__PURE__ */ g(uR, { pill: A })
40690
- }, A.key)), S && /* @__PURE__ */ g($de, {
40690
+ }, A.key)), S && /* @__PURE__ */ g(Wde, {
40691
40691
  hiddenPills: w,
40692
- placement: rhe(e)
40692
+ placement: nhe(e)
40693
40693
  })]
40694
40694
  });
40695
40695
  }, zA = ({ label: e, swatchInlineSize: t, textMeasurer: r, font: n, swatchGap: i, horizontalChrome: o }) => {
40696
40696
  const a = r.measureText(e, n).width;
40697
40697
  return t + (t > 0 ? i : 0) + a + o;
40698
- }, Jde = (e, t, r, n) => {
40699
- const i = ehe(e, r);
40698
+ }, Zde = (e, t, r, n) => {
40699
+ const i = the(e, r);
40700
40700
  return Math.max(t, i) + n;
40701
- }, Zde = (e, t) => fu(e.visual, t, e.isBubble), ehe = (e, t) => e.isBubble ? fu(e.visual, t, !0) : t, the = ({ pillSizes: e, overflowPillSize: t, containerSize: r, gap: n }) => {
40701
+ }, ehe = (e, t) => fu(e.visual, t, e.isBubble), the = (e, t) => e.isBubble ? fu(e.visual, t, !0) : t, rhe = ({ pillSizes: e, overflowPillSize: t, containerSize: r, gap: n }) => {
40702
40702
  if (e.length === 0) return {
40703
40703
  visibleCount: 0,
40704
40704
  hasOverflow: !1
@@ -40720,7 +40720,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40720
40720
  visibleCount: a,
40721
40721
  hasOverflow: !0
40722
40722
  };
40723
- }, rhe = (e) => {
40723
+ }, nhe = (e) => {
40724
40724
  switch (e) {
40725
40725
  case "top":
40726
40726
  return "bottom";
@@ -40731,7 +40731,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40731
40731
  case "right":
40732
40732
  return "left";
40733
40733
  }
40734
- }, nhe = _r(function({ formattedLegends: t, rects: r }) {
40734
+ }, ihe = _r(function({ formattedLegends: t, rects: r }) {
40735
40735
  const n = G(() => {
40736
40736
  const o = /* @__PURE__ */ new Map();
40737
40737
  return t.forEach((a, s) => {
@@ -40750,25 +40750,25 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40750
40750
  return /* @__PURE__ */ g(fe, { children: Array.from(n, ([o, a]) => {
40751
40751
  const s = r[o];
40752
40752
  return s === void 0 ? null : /* @__PURE__ */ W("div", {
40753
- className: Mde,
40753
+ className: Ede,
40754
40754
  style: {
40755
40755
  left: s.x,
40756
40756
  top: s.y,
40757
40757
  width: s.width,
40758
40758
  height: s.height
40759
40759
  },
40760
- children: [/* @__PURE__ */ g(Qde, {
40760
+ children: [/* @__PURE__ */ g(Jde, {
40761
40761
  edge: o,
40762
40762
  indexedLegends: a.pill,
40763
40763
  containerWidth: s.width,
40764
40764
  containerHeight: s.height
40765
- }), !i && /* @__PURE__ */ g(Ade, {
40765
+ }), !i && /* @__PURE__ */ g(Sde, {
40766
40766
  indexedLegends: a.direct,
40767
40767
  containerRect: s
40768
40768
  })]
40769
40769
  }, o);
40770
40770
  }) });
40771
- }), ihe = (e, t, r) => {
40771
+ }), ohe = (e, t, r) => {
40772
40772
  if (e.type === "cartesian") return DK(e, t);
40773
40773
  const n = wa(r), i = fr(t.x, e.innerRadius, n), o = fr(t.x, 1, n);
40774
40774
  return {
@@ -40777,43 +40777,43 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40777
40777
  x2: o.x,
40778
40778
  y2: o.y
40779
40779
  };
40780
- }, ohe = ({ layers: e, primaryLayerId: t, coordSystem: r, resolveRenderer: n }) => {
40780
+ }, ahe = ({ layers: e, primaryLayerId: t, coordSystem: r, resolveRenderer: n }) => {
40781
40781
  const i = e.find((a) => a.id === t);
40782
40782
  if (!i) return null;
40783
40783
  const o = n(i.geom, r.type);
40784
40784
  return o ? o.guideMode ?? null : null;
40785
- }, ahe = ({ panelRect: e }) => {
40785
+ }, she = ({ panelRect: e }) => {
40786
40786
  const { coordSystem: t, layers: r, scales: n } = Ae(rr((l) => ({
40787
40787
  coordSystem: l.coordSystem,
40788
40788
  layers: l.layers,
40789
40789
  scales: l.scales
40790
- }))), i = zo((l) => l.hover.primary), o = Lr(), a = ue(uhe, ke());
40790
+ }))), i = zo((l) => l.hover.primary), o = Lr(), a = ue(dhe, ke());
40791
40791
  if (!ci[kl()].hoverPaint || r.length === 0 || i === null || !i.anchored) return null;
40792
- const s = ohe({
40792
+ const s = ahe({
40793
40793
  layers: r,
40794
40794
  primaryLayerId: i.layerId,
40795
40795
  coordSystem: t,
40796
40796
  resolveRenderer: o
40797
40797
  });
40798
- return s === null ? null : s === "crosshair" ? /* @__PURE__ */ g(she, {
40798
+ return s === null ? null : s === "crosshair" ? /* @__PURE__ */ g(lhe, {
40799
40799
  coordSystem: t,
40800
40800
  primary: i,
40801
40801
  panelRect: e,
40802
40802
  guide: a
40803
- }) : t.type === "polar" ? /* @__PURE__ */ g(che, {
40803
+ }) : t.type === "polar" ? /* @__PURE__ */ g(uhe, {
40804
40804
  coordSystem: t,
40805
40805
  primary: i,
40806
40806
  panelRect: e,
40807
40807
  guide: a
40808
- }) : /* @__PURE__ */ g(lhe, {
40808
+ }) : /* @__PURE__ */ g(che, {
40809
40809
  coordSystem: t,
40810
40810
  scales: n,
40811
40811
  primary: i,
40812
40812
  panelRect: e,
40813
40813
  guide: a
40814
40814
  });
40815
- }, she = ({ coordSystem: e, primary: t, panelRect: r, guide: n }) => {
40816
- const i = ihe(e, t, r);
40815
+ }, lhe = ({ coordSystem: e, primary: t, panelRect: r, guide: n }) => {
40816
+ const i = ohe(e, t, r);
40817
40817
  return /* @__PURE__ */ g(fv, {
40818
40818
  panelRect: r,
40819
40819
  children: /* @__PURE__ */ g("line", {
@@ -40825,7 +40825,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40825
40825
  "data-testid": "hover-guide-line"
40826
40826
  })
40827
40827
  });
40828
- }, lhe = ({ coordSystem: e, scales: t, primary: r, panelRect: n, guide: i }) => {
40828
+ }, che = ({ coordSystem: e, scales: t, primary: r, panelRect: n, guide: i }) => {
40829
40829
  const o = OK(e, t, r);
40830
40830
  return o === null ? null : /* @__PURE__ */ g(fv, {
40831
40831
  panelRect: n,
@@ -40835,7 +40835,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40835
40835
  "data-testid": "hover-guide-rect"
40836
40836
  })
40837
40837
  });
40838
- }, che = ({ coordSystem: e, primary: t, panelRect: r, guide: n }) => {
40838
+ }, uhe = ({ coordSystem: e, primary: t, panelRect: r, guide: n }) => {
40839
40839
  const i = NK(e, t);
40840
40840
  if (i === null) return null;
40841
40841
  const o = Wi(i);
@@ -40865,14 +40865,14 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40865
40865
  },
40866
40866
  "data-testid": "hover-guide",
40867
40867
  children: t
40868
- }), uhe = (e) => e.hoverGuide().resolve(), dhe = (e) => phe[e] !== void 0, hhe = (e, t, r) => dR(e, r, t / 2), fhe = (e, t) => {
40868
+ }), dhe = (e) => e.hoverGuide().resolve(), hhe = (e) => ghe[e] !== void 0, fhe = (e, t, r) => dR(e, r, t / 2), mhe = (e, t) => {
40869
40869
  const r = Qn(e.start, t), n = Qn(e.end, t);
40870
40870
  return r.x === n.x && r.y === n.y ? null : {
40871
40871
  shape: "segment",
40872
40872
  start: r,
40873
40873
  end: n
40874
40874
  };
40875
- }, mhe = (e, { panel: t, measuredBoxes: r }) => {
40875
+ }, phe = (e, { panel: t, measuredBoxes: r }) => {
40876
40876
  const n = r.get(e.id);
40877
40877
  if (n === void 0) return null;
40878
40878
  const i = _m(e.align), o = Qn(e.at, t);
@@ -40899,20 +40899,20 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40899
40899
  height: n.height + r * 2
40900
40900
  }
40901
40901
  };
40902
- }, phe = {
40903
- text: oc((e) => e.textAnnotations, mhe),
40904
- shape: oc((e) => e.shapes, (e, t) => hhe(e.region, t.readers.annotation.shape(e.id).get("strokeWidth"), t.panel)),
40902
+ }, ghe = {
40903
+ text: oc((e) => e.textAnnotations, phe),
40904
+ shape: oc((e) => e.shapes, (e, t) => fhe(e.region, t.readers.annotation.shape(e.id).get("strokeWidth"), t.panel)),
40905
40905
  image: oc((e) => e.images, (e, t) => dR(e.region, t.panel)),
40906
- arrow: oc((e) => e.arrows, (e, t) => fhe(e, t.panel))
40907
- }, ghe = (e, t) => {
40906
+ arrow: oc((e) => e.arrows, (e, t) => mhe(e, t.panel))
40907
+ }, vhe = (e, t) => {
40908
40908
  const r = BM(e, t);
40909
- return r !== null && dhe(r.kind) && $X(r);
40910
- }, vhe = 200, yhe = ({ engine: e, store: t, overlayRef: r }) => {
40909
+ return r !== null && hhe(r.kind) && $X(r);
40910
+ }, yhe = 200, bhe = ({ engine: e, store: t, overlayRef: r }) => {
40911
40911
  const { tolerance: n } = ci[kl()], i = Mn(t, (a) => a.isQueryOwnedByEditor), o = uo();
40912
40912
  pe(() => {
40913
40913
  const a = r.current;
40914
40914
  if (!a) return;
40915
- const s = bhe(a, e), l = i || o ? void 0 : whe(a, e, t, n ?? void 0);
40915
+ const s = xhe(a, e), l = i || o ? void 0 : Ahe(a, e, t, n ?? void 0);
40916
40916
  return () => {
40917
40917
  l?.(), s();
40918
40918
  };
@@ -40924,7 +40924,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40924
40924
  i,
40925
40925
  o
40926
40926
  ]);
40927
- }, bhe = (e, t) => {
40927
+ }, xhe = (e, t) => {
40928
40928
  const r = () => {
40929
40929
  const a = e.getBoundingClientRect();
40930
40930
  a.width === 0 || a.height === 0 || t.setViewport({
@@ -40936,17 +40936,17 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40936
40936
  const i = () => {
40937
40937
  n !== null && clearTimeout(n), n = setTimeout(() => {
40938
40938
  n = null, r();
40939
- }, vhe);
40939
+ }, yhe);
40940
40940
  }, o = new ResizeObserver(i);
40941
40941
  return o.observe(e), r(), () => {
40942
40942
  o.disconnect(), n !== null && clearTimeout(n);
40943
40943
  };
40944
- }, xhe = (e, t) => e.kind === "cursor" ? null : {
40944
+ }, whe = (e, t) => e.kind === "cursor" ? null : {
40945
40945
  x: t.left + e.point.x,
40946
40946
  y: t.top + e.point.y,
40947
40947
  placement: e.placement,
40948
40948
  annotationId: e.annotationId
40949
- }, whe = (e, t, r, n) => {
40949
+ }, Ahe = (e, t, r, n) => {
40950
40950
  let i = null, o = null;
40951
40951
  const a = () => {
40952
40952
  const m = e.getBoundingClientRect();
@@ -40964,7 +40964,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40964
40964
  if (y.isPointerSuspended) return;
40965
40965
  const x = Tb(v, y.pointerRegions);
40966
40966
  if (x !== null) {
40967
- y.setHoverState(t.query(x.cursor, { tolerance: n })), y.setTooltipAnchor(xhe(x.tooltip, p));
40967
+ y.setHoverState(t.query(x.cursor, { tolerance: n })), y.setTooltipAnchor(whe(x.tooltip, p));
40968
40968
  return;
40969
40969
  }
40970
40970
  const w = _E(v, p);
@@ -40993,14 +40993,14 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
40993
40993
  return e.addEventListener("pointermove", h), e.addEventListener("pointerleave", f), () => {
40994
40994
  e.removeEventListener("pointermove", h), e.removeEventListener("pointerleave", f), document.removeEventListener("pointermove", d), o !== null && cancelAnimationFrame(o), i = null;
40995
40995
  };
40996
- }, Ahe = ({ panelRect: e }) => {
40997
- const { engine: t, store: r, overlayRef: n } = co(), i = Gn(KI), o = Gn(rue), a = Gn((l) => l.caret !== null);
40998
- yhe({
40996
+ }, She = ({ panelRect: e }) => {
40997
+ const { engine: t, store: r, overlayRef: n } = co(), i = Gn(KI), o = Gn(nue), a = Gn((l) => l.caret !== null);
40998
+ bhe({
40999
40999
  engine: t,
41000
41000
  store: r,
41001
41001
  overlayRef: n
41002
41002
  });
41003
- const s = Ae((l) => i !== null && ghe(l.spec.annotations, i));
41003
+ const s = Ae((l) => i !== null && vhe(l.spec.annotations, i));
41004
41004
  return /* @__PURE__ */ g("rect", {
41005
41005
  ref: n,
41006
41006
  x: e.x,
@@ -41009,10 +41009,10 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41009
41009
  height: e.height,
41010
41010
  fill: "transparent",
41011
41011
  pointerEvents: a ? "none" : "all",
41012
- cursor: She(s, o),
41012
+ cursor: The(s, o),
41013
41013
  "data-testid": "pointer-capture-layer"
41014
41014
  });
41015
- }, She = (e, t) => e ? "move" : t ? "pointer" : void 0, Dh = "data-hover-active", The = (e) => {
41015
+ }, The = (e, t) => e ? "move" : t ? "pointer" : void 0, Dh = "data-hover-active", Mhe = (e) => {
41016
41016
  const { store: t } = co(), r = ci[kl()].hoverPaint, n = Mn(t, (o) => o.hover.primary !== null), i = r && n;
41017
41017
  pe(() => {
41018
41018
  const o = e.current;
@@ -41022,7 +41022,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41022
41022
  };
41023
41023
  }, [e, i]);
41024
41024
  }, kd = () => Gn((e) => gs(e, "move-drag")?.annotationId ?? gs(e, "shape-resize-drag")?.annotationId ?? gs(e, "arrow-endpoint-drag")?.annotationId ?? null), Pl = (e) => {
41025
- const t = Ae((a) => a.annotations), r = $ce(), n = Uce(), i = Re((a) => YA(n, "cycle", a, `Annotation reference cycle detected; dropping annotation(s): ${a.join(", ")}`), [n]), o = Re((a) => YA(n, "missing-ref", a, `Annotation reference target(s) no longer exist (dropped during compilation); dropping annotations referencing: ${a.join(", ")}`), [n]);
41025
+ const t = Ae((a) => a.annotations), r = Wce(), n = zce(), i = Re((a) => YA(n, "cycle", a, `Annotation reference cycle detected; dropping annotation(s): ${a.join(", ")}`), [n]), o = Re((a) => YA(n, "missing-ref", a, `Annotation reference target(s) no longer exist (dropped during compilation); dropping annotations referencing: ${a.join(", ")}`), [n]);
41026
41026
  return G(() => Qz({
41027
41027
  annotations: t,
41028
41028
  panelRect: e,
@@ -41039,13 +41039,13 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41039
41039
  }, YA = (e, t, r, n) => {
41040
41040
  const i = [t, ...[...r].sort()].join("\0");
41041
41041
  e.has(i) || (e.add(i), console.warn(n));
41042
- }, Mhe = 16, hR = ({ linePath: e, strokeWidth: t }) => /* @__PURE__ */ g("path", {
41042
+ }, Ehe = 16, hR = ({ linePath: e, strokeWidth: t }) => /* @__PURE__ */ g("path", {
41043
41043
  d: e,
41044
41044
  stroke: "transparent",
41045
- strokeWidth: Math.max(t, Mhe),
41045
+ strokeWidth: Math.max(t, Ehe),
41046
41046
  fill: "none",
41047
41047
  pointerEvents: "stroke"
41048
- }), Ehe = 1.4, khe = {
41048
+ }), khe = 1.4, Phe = {
41049
41049
  light: {
41050
41050
  primary: "#1D2129",
41051
41051
  inverse: "#FFFFFF"
@@ -41054,11 +41054,11 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41054
41054
  primary: "#FFFFFF",
41055
41055
  inverse: "#1D2129"
41056
41056
  }
41057
- }, Phe = ({ computed: e, style: t, isAddressable: r }) => {
41057
+ }, _he = ({ computed: e, style: t, isAddressable: r }) => {
41058
41058
  const n = dt(), { colorScheme: i } = ov(), o = e.dashArray ? {
41059
41059
  strokeDasharray: e.dashArray,
41060
41060
  strokeDashoffset: e.dashOffset
41061
- } : {}, a = t.outline.shadow === "none" ? null : t.outline.shadow, s = t.outline.strokeWidth > 0, l = khe[i], c = t.outline.stroke ?? Ihe(t.stroke, l.primary, l.inverse), u = a === null ? null : Che(e, t.outline.strokeWidth, a.blur);
41061
+ } : {}, a = t.outline.shadow === "none" ? null : t.outline.shadow, s = t.outline.strokeWidth > 0, l = Phe[i], c = t.outline.stroke ?? Rhe(t.stroke, l.primary, l.inverse), u = a === null ? null : Ihe(e, t.outline.strokeWidth, a.blur);
41062
41062
  return /* @__PURE__ */ W("g", {
41063
41063
  pointerEvents: r ? void 0 : "none",
41064
41064
  children: [
@@ -41081,7 +41081,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41081
41081
  filter: a === null ? void 0 : `url(#${n})`,
41082
41082
  children: [
41083
41083
  s && /* @__PURE__ */ g("path", {
41084
- d: _he(e),
41084
+ d: Che(e),
41085
41085
  stroke: c,
41086
41086
  strokeWidth: e.strokeWidth + 2 * t.outline.strokeWidth,
41087
41087
  strokeLinecap: "round",
@@ -41113,11 +41113,11 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41113
41113
  })
41114
41114
  ]
41115
41115
  });
41116
- }, _he = (e) => [
41116
+ }, Che = (e) => [
41117
41117
  e.linePath,
41118
41118
  e.startArrowheadPath,
41119
41119
  e.endArrowheadPath
41120
- ].filter((t) => t.length > 0).join(" "), Che = (e, t, r) => {
41120
+ ].filter((t) => t.length > 0).join(" "), Ihe = (e, t, r) => {
41121
41121
  const n = e.arrowheadExtent + e.strokeWidth + t + r;
41122
41122
  return {
41123
41123
  x: Math.min(e.startX, e.endX) - n,
@@ -41125,13 +41125,13 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41125
41125
  width: Math.abs(e.endX - e.startX) + 2 * n,
41126
41126
  height: Math.abs(e.endY - e.startY) + 2 * n
41127
41127
  };
41128
- }, Ihe = (e, t, r) => {
41128
+ }, Rhe = (e, t, r) => {
41129
41129
  try {
41130
- return Sc(e, t) < Ehe ? r : t;
41130
+ return Sc(e, t) < khe ? r : t;
41131
41131
  } catch {
41132
41132
  return r;
41133
41133
  }
41134
- }, Rhe = ({ panelRect: e, isEditable: t }) => {
41134
+ }, Lhe = ({ panelRect: e, isEditable: t }) => {
41135
41135
  const { arrows: r } = Pl(e), n = kd(), i = ke(), o = G(() => r.filter((a) => a.id !== n).flatMap((a) => {
41136
41136
  const s = PX(i, a.id), l = c7({
41137
41137
  arrow: a,
@@ -41158,17 +41158,17 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41158
41158
  kind: "annotation",
41159
41159
  id: a.id
41160
41160
  }),
41161
- children: /* @__PURE__ */ g(Phe, {
41161
+ children: /* @__PURE__ */ g(_he, {
41162
41162
  computed: a,
41163
41163
  style: s,
41164
41164
  isAddressable: t
41165
41165
  })
41166
41166
  }, a.id))
41167
41167
  });
41168
- }, Lhe = () => {
41168
+ }, Dhe = () => {
41169
41169
  const { selectionStore: e } = yt();
41170
41170
  return Mn(e, (t) => t.selection);
41171
- }, Dhe = ({ linePath: e, arrowheadPath: t, stroke: r, strokeWidth: n, isAddressable: i }) => {
41171
+ }, Ohe = ({ linePath: e, arrowheadPath: t, stroke: r, strokeWidth: n, isAddressable: i }) => {
41172
41172
  const o = {
41173
41173
  stroke: r,
41174
41174
  strokeWidth: n,
@@ -41193,7 +41193,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41193
41193
  })
41194
41194
  ]
41195
41195
  });
41196
- }, Ohe = ({ x: e, y: t, text: r, box: n, label: i, arrowColor: o, isAddressable: a }) => {
41196
+ }, Nhe = ({ x: e, y: t, text: r, box: n, label: i, arrowColor: o, isAddressable: a }) => {
41197
41197
  const { fonts: s } = lo(), l = Td(i.cornerRadius), c = i.shadow === void 0 ? void 0 : so(i.shadow), u = {
41198
41198
  fill: Fe(i.fill),
41199
41199
  stroke: i.stroke ?? o,
@@ -41227,27 +41227,27 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41227
41227
  children: va(r, i.textTransform)
41228
41228
  })]
41229
41229
  });
41230
- }, Nhe = "difference-arrows_pointer__1lwhbn50", Bhe = "75%", Vhe = ({ panelRect: e, isEditable: t }) => {
41231
- const r = lue(), n = Gn(KI), i = Lhe(), o = G(() => new Set(i.filter((a) => a.kind === "annotation").map((a) => a.id)), [i]);
41230
+ }, Bhe = "difference-arrows_pointer__1lwhbn50", Vhe = "75%", Fhe = ({ panelRect: e, isEditable: t }) => {
41231
+ const r = cue(), n = Gn(KI), i = Dhe(), o = G(() => new Set(i.filter((a) => a.kind === "annotation").map((a) => a.id)), [i]);
41232
41232
  return r.length === 0 ? null : /* @__PURE__ */ g("g", {
41233
41233
  transform: `translate(${e.x}, ${e.y})`,
41234
41234
  "data-testid": "difference-arrows",
41235
41235
  children: r.map(({ color: a, style: s, id: l, linePath: c, arrowheadPath: u, labelPosition: d, labelBox: h, labelText: f, isDragged: m, hasComparableEndpoints: p }) => {
41236
- const v = n === l || o.has(l), y = m && !p, x = y ? B.alert : a, w = v && !y ? Fhe(x) : x;
41236
+ const v = n === l || o.has(l), y = m && !p, x = y ? B.alert : a, w = v && !y ? Hhe(x) : x;
41237
41237
  return /* @__PURE__ */ W("g", {
41238
- className: n === l ? Nhe : void 0,
41238
+ className: n === l ? Bhe : void 0,
41239
41239
  "data-warning": y || void 0,
41240
41240
  ...El({
41241
41241
  kind: "annotation",
41242
41242
  id: l
41243
41243
  }),
41244
- children: [/* @__PURE__ */ g(Dhe, {
41244
+ children: [/* @__PURE__ */ g(Ohe, {
41245
41245
  linePath: c,
41246
41246
  arrowheadPath: u,
41247
41247
  stroke: w,
41248
41248
  strokeWidth: s.strokeWidth,
41249
41249
  isAddressable: t
41250
- }), /* @__PURE__ */ g(Ohe, {
41250
+ }), /* @__PURE__ */ g(Nhe, {
41251
41251
  x: d.x,
41252
41252
  y: d.y,
41253
41253
  text: f,
@@ -41259,11 +41259,11 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41259
41259
  }, l);
41260
41260
  })
41261
41261
  });
41262
- }, Fhe = (e) => `color-mix(in srgb, ${e} ${Bhe}, ${B.textPrimary})`, Hhe = {
41262
+ }, Hhe = (e) => `color-mix(in srgb, ${e} ${Vhe}, ${B.textPrimary})`, Ghe = {
41263
41263
  fill: "none",
41264
41264
  contain: "xMidYMid meet",
41265
41265
  cover: "xMidYMid slice"
41266
- }, Ghe = ({ image: e, panel: t, style: r }) => {
41266
+ }, $he = ({ image: e, panel: t, style: r }) => {
41267
41267
  const n = dt(), { src: i, region: o, fit: a } = e, s = Np(o, t), l = kle(r.cornerRadius), c = Td(r.cornerRadius), u = r.shadow === void 0 ? void 0 : so(r.shadow);
41268
41268
  return /* @__PURE__ */ W("g", {
41269
41269
  opacity: r.alpha,
@@ -41277,7 +41277,7 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41277
41277
  }), /* @__PURE__ */ g("image", {
41278
41278
  href: i,
41279
41279
  ...s,
41280
- preserveAspectRatio: Hhe[a],
41280
+ preserveAspectRatio: Ghe[a],
41281
41281
  clipPath: l ? `url(#${n})` : void 0
41282
41282
  })]
41283
41283
  });
@@ -41295,14 +41295,14 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41295
41295
  kind: "annotation",
41296
41296
  id: a.id
41297
41297
  }),
41298
- children: /* @__PURE__ */ g(Ghe, {
41298
+ children: /* @__PURE__ */ g($he, {
41299
41299
  image: a,
41300
41300
  panel: e,
41301
41301
  style: n.annotation.image(a.id).resolve()
41302
41302
  })
41303
41303
  }, a.id))
41304
41304
  });
41305
- }, $he = ({ shape: e, style: t, panel: r }) => {
41305
+ }, Whe = ({ shape: e, style: t, panel: r }) => {
41306
41306
  const n = Np(e.region, r);
41307
41307
  return /* @__PURE__ */ g("rect", {
41308
41308
  x: n.x,
@@ -41329,14 +41329,14 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41329
41329
  kind: "annotation",
41330
41330
  id: a.id
41331
41331
  }),
41332
- children: /* @__PURE__ */ g($he, {
41332
+ children: /* @__PURE__ */ g(Whe, {
41333
41333
  shape: a,
41334
41334
  style: n.annotation.shape(a.id).resolve(),
41335
41335
  panel: e
41336
41336
  })
41337
41337
  }, a.id))
41338
41338
  });
41339
- }, Whe = "text-annotation_annotation__1plg4b60", jhe = 0.1, Uhe = ({ annotation: e, panel: t, style: r, blockRef: n, children: i }) => {
41339
+ }, jhe = "text-annotation_annotation__1plg4b60", Uhe = 0.1, zhe = ({ annotation: e, panel: t, style: r, blockRef: n, children: i }) => {
41340
41340
  const o = Qn(e.at, t);
41341
41341
  return /* @__PURE__ */ g("foreignObject", {
41342
41342
  x: o.x,
@@ -41347,19 +41347,19 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41347
41347
  pointerEvents: "none",
41348
41348
  children: /* @__PURE__ */ g("div", {
41349
41349
  ref: n,
41350
- className: Whe,
41350
+ className: jhe,
41351
41351
  style: {
41352
- ...Yhe(r),
41353
- transform: zhe(e.align)
41352
+ ...Khe(r),
41353
+ transform: Yhe(e.align)
41354
41354
  },
41355
41355
  children: i
41356
41356
  })
41357
41357
  });
41358
- }, zhe = (e) => {
41358
+ }, Yhe = (e) => {
41359
41359
  const t = _m(e);
41360
41360
  return `translate(${-t.x * 100}%, ${-(1 - t.y) * 100}%)`;
41361
- }, Yhe = (e) => {
41362
- const { backgroundColor: t, borderShadow: r } = Khe(e), n = [r, e.shadow === void 0 || e.shadow === "none" ? void 0 : ba(e.shadow)].filter((i) => i !== void 0);
41361
+ }, Khe = (e) => {
41362
+ const { backgroundColor: t, borderShadow: r } = Xhe(e), n = [r, e.shadow === void 0 || e.shadow === "none" ? void 0 : ba(e.shadow)].filter((i) => i !== void 0);
41363
41363
  return {
41364
41364
  ...Tt(e),
41365
41365
  padding: `${e.paddingBlock}px ${e.paddingInline}px`,
@@ -41368,27 +41368,27 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41368
41368
  ...t === void 0 ? {} : { backgroundColor: t },
41369
41369
  ...n.length === 0 ? {} : { boxShadow: n.join(", ") }
41370
41370
  };
41371
- }, Khe = (e) => {
41371
+ }, Xhe = (e) => {
41372
41372
  if (e.fill === "transparent") return {};
41373
41373
  const t = Fe(e.fill), r = e.fillAlpha < 1 ? Xt(t, e.fillAlpha) : t;
41374
41374
  if (e.strokeWidth <= 0) return { backgroundColor: r };
41375
- const n = e.stroke ?? ine(t, jhe);
41375
+ const n = e.stroke ?? ine(t, Uhe);
41376
41376
  return {
41377
41377
  backgroundColor: r,
41378
41378
  borderShadow: `0 0 0 ${e.strokeWidth}px ${n}`
41379
41379
  };
41380
- }, Xhe = (e) => {
41380
+ }, qhe = (e) => {
41381
41381
  const t = Pl(e).textAnnotations, r = Gn((n) => gs(n, "text-resize-drag"));
41382
- return G(() => t.map((n) => qhe(n, r)), [t, r]);
41383
- }, qhe = (e, t) => t === null || t.annotationId !== e.id ? e : {
41382
+ return G(() => t.map((n) => Qhe(n, r)), [t, r]);
41383
+ }, Qhe = (e, t) => t === null || t.annotationId !== e.id ? e : {
41384
41384
  ...e,
41385
41385
  at: {
41386
41386
  ...e.at,
41387
41387
  x: e.at.x + t.shift
41388
41388
  },
41389
41389
  width: t.width
41390
- }, Qhe = ({ panelRect: e }) => {
41391
- const t = Xhe(e), r = ke(), n = kd(), i = t.filter((o) => o.id !== n);
41390
+ }, Jhe = ({ panelRect: e }) => {
41391
+ const t = qhe(e), r = ke(), n = kd(), i = t.filter((o) => o.id !== n);
41392
41392
  return i.length === 0 ? null : /* @__PURE__ */ g("svg", {
41393
41393
  x: e.x,
41394
41394
  y: e.y,
@@ -41396,20 +41396,20 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41396
41396
  height: e.height,
41397
41397
  overflow: "visible",
41398
41398
  "data-testid": "text-annotations",
41399
- children: i.map((o) => /* @__PURE__ */ g(Jhe, {
41399
+ children: i.map((o) => /* @__PURE__ */ g(Zhe, {
41400
41400
  annotation: o,
41401
41401
  panel: e,
41402
41402
  style: r.annotation.text(o.id).resolve()
41403
41403
  }, o.id))
41404
41404
  });
41405
- }, Jhe = ({ annotation: e, panel: t, style: r }) => {
41406
- const n = jce(e.id), i = Gn((a) => a.caret?.annotationId === e.id), { TextAnnotation: o } = cv();
41405
+ }, Zhe = ({ annotation: e, panel: t, style: r }) => {
41406
+ const n = Uce(e.id), i = Gn((a) => a.caret?.annotationId === e.id), { TextAnnotation: o } = cv();
41407
41407
  return /* @__PURE__ */ g("g", {
41408
41408
  ...El({
41409
41409
  kind: "annotation",
41410
41410
  id: e.id
41411
41411
  }),
41412
- children: /* @__PURE__ */ g(Uhe, {
41412
+ children: /* @__PURE__ */ g(zhe, {
41413
41413
  annotation: e,
41414
41414
  panel: t,
41415
41415
  style: r,
@@ -41417,11 +41417,11 @@ var Qde = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
41417
41417
  children: i && o ? /* @__PURE__ */ g(o, { annotation: e }) : /* @__PURE__ */ g(zs, { content: e.content })
41418
41418
  })
41419
41419
  });
41420
- }, Zhe = "callouts_overlay__1rlvxtx0";
41421
- var efe = "callouts_miniText__1rlvxtx2", qA = {
41420
+ }, efe = "callouts_overlay__1rlvxtx0";
41421
+ var tfe = "callouts_miniText__1rlvxtx2", qA = {
41422
41422
  hittable: "callouts_miniBubble_hittable__1rlvxtx4 callouts_miniBubbleBase__1rlvxtx3",
41423
41423
  inert: "callouts_miniBubble_inert__1rlvxtx5 callouts_miniBubbleBase__1rlvxtx3"
41424
- }, tfe = ({ cx: e, cy: t, color: r, style: n }) => {
41424
+ }, rfe = ({ cx: e, cy: t, color: r, style: n }) => {
41425
41425
  const i = so(n.shadow);
41426
41426
  return /* @__PURE__ */ g("circle", {
41427
41427
  cx: e,
@@ -41435,7 +41435,7 @@ var efe = "callouts_miniText__1rlvxtx2", qA = {
41435
41435
  }
41436
41436
  });
41437
41437
  };
41438
- function rfe(e) {
41438
+ function nfe(e) {
41439
41439
  const t = li(), { formattingLocale: r } = yt(), n = ke(), i = Ae(rr((l) => ({
41440
41440
  pinnedNumbers: l.annotations.pinnedNumbers,
41441
41441
  comments: l.annotations.comments,
@@ -41446,7 +41446,7 @@ function rfe(e) {
41446
41446
  numberFormat: i.numberFormat,
41447
41447
  locale: o
41448
41448
  }), [i.numberFormat, o]), s = G(() => (l, c, u) => {
41449
- const d = Rf(n, l === "pinned-number" ? "pinnedNumber" : "comment", c).label, h = Wt(d, hd), f = nfe(t, l, u, h), m = t.measureText(f, h), p = l === "pinned-number" ? 15 : 0;
41449
+ const d = Rf(n, l === "pinned-number" ? "pinnedNumber" : "comment", c).label, h = Wt(d, hd), f = ife(t, l, u, h), m = t.measureText(f, h), p = l === "pinned-number" ? 15 : 0;
41450
41450
  return {
41451
41451
  width: m.width + p + (d.paddingInline + d.strokeWidth) * 2,
41452
41452
  height: Math.max(m.height, 10) + (d.paddingBlock + d.strokeWidth) * 2,
@@ -41469,11 +41469,11 @@ function rfe(e) {
41469
41469
  a
41470
41470
  ]);
41471
41471
  }
41472
- var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(i, n).width), QA = "callouts", ife = ({ panelRect: e }) => {
41472
+ var ife = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(i, n).width), QA = "callouts", ofe = ({ panelRect: e }) => {
41473
41473
  const { pinnedNumbers: t, comments: r } = Ae(rr((m) => ({
41474
41474
  pinnedNumbers: m.annotations.pinnedNumbers,
41475
41475
  comments: m.annotations.comments
41476
- }))), n = Ae((m) => m.coordSystem), i = Lr(), o = Aq(10), a = ke(), s = rfe(e), { store: l } = co(), c = G(() => {
41476
+ }))), n = Ae((m) => m.coordSystem), i = Lr(), o = Aq(10), a = ke(), s = nfe(e), { store: l } = co(), c = G(() => {
41477
41477
  const m = /* @__PURE__ */ new Map();
41478
41478
  for (const p of t) m.set(p.id, p.at);
41479
41479
  for (const p of r) m.set(p.id, p.at);
@@ -41503,7 +41503,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41503
41503
  width: e.width,
41504
41504
  height: e.height,
41505
41505
  overflow: "visible",
41506
- className: Zhe,
41506
+ className: efe,
41507
41507
  "data-testid": "callouts",
41508
41508
  children: s.map((m) => {
41509
41509
  if (!m.inView) return null;
@@ -41520,7 +41520,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41520
41520
  overflow: "visible",
41521
41521
  children: /* @__PURE__ */ W("div", {
41522
41522
  className: w ? qA.hittable : qA.inert,
41523
- style: sfe(v.label, f(v.label.fill)),
41523
+ style: lfe(v.label, f(v.label.fill)),
41524
41524
  children: [m.kind === "pinned-number" && /* @__PURE__ */ g("span", {
41525
41525
  className: "callouts_miniSwatch__1rlvxtx1",
41526
41526
  children: /* @__PURE__ */ g(xl, {
@@ -41536,31 +41536,31 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41536
41536
  mainAxis: ni(n)
41537
41537
  })
41538
41538
  }), /* @__PURE__ */ g("span", {
41539
- className: efe,
41540
- style: lfe(v.label),
41539
+ className: tfe,
41540
+ style: cfe(v.label),
41541
41541
  children: m.text
41542
41542
  })]
41543
41543
  })
41544
- }), /* @__PURE__ */ g(tfe, {
41544
+ }), /* @__PURE__ */ g(rfe, {
41545
41545
  cx: m.anchorPx.x,
41546
41546
  cy: m.anchorPx.y,
41547
- color: ofe(v.marker, x),
41547
+ color: afe(v.marker, x),
41548
41548
  style: v.marker
41549
41549
  })]
41550
41550
  }, m.id);
41551
41551
  })
41552
41552
  });
41553
- }, ofe = (e, t) => e.isFillAuthored ? Fe(e.fill) : t ?? Fe(e.fill), afe = (e) => e.isTextColorAuthored ? e.textColor : Tm(e.textColor, Fe(e.fill)), sfe = (e, t) => ({
41553
+ }, afe = (e, t) => e.isFillAuthored ? Fe(e.fill) : t ?? Fe(e.fill), sfe = (e) => e.isTextColorAuthored ? e.textColor : Tm(e.textColor, Fe(e.fill)), lfe = (e, t) => ({
41554
41554
  ...ua(e.fill, t),
41555
41555
  borderRadius: Ml(e.cornerRadius),
41556
41556
  padding: `${e.paddingBlock}px ${e.paddingInline}px`,
41557
41557
  boxShadow: ba(e.shadow),
41558
41558
  ...e.alpha === void 0 ? {} : { opacity: e.alpha },
41559
41559
  ...e.strokeWidth > 0 ? { border: `${e.strokeWidth}px solid ${e.stroke}` } : {}
41560
- }), lfe = (e) => ({
41560
+ }), cfe = (e) => ({
41561
41561
  ...Tt(e),
41562
- color: afe(e)
41563
- }), cfe = (e, t) => e * 10 * t, ufe = {
41562
+ color: sfe(e)
41563
+ }), ufe = (e, t) => e * 10 * t, dfe = {
41564
41564
  "clapping-hands": {
41565
41565
  aspectRatio: 1.059,
41566
41566
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABICAYAAABP0VPJAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABipSURBVHgB7VwJfFTVuf/uMvtMlplJJiEhBEhYwiIYNgExUBSQ6qMqblWrz5/WtfBa67NiH1iftbW1VqWghWqt+opFfajFBRcSUMImEBISspCFSTIh++zbXfqdO3cmswWSSPVHf/1+ub977znfPfec//m28507Afg3/ZvORsxwmEVRpJDo0tISCqA0XEzJBx06bwjXUXAB0lA7TZWUlDCtra3Mtm3vjCUF1113dbNWqxXItcfjod966718igpSubm5ow8fPnx8zZo1fQ0NMzlR/JuAIIrwL0LU6tWrmfz8fLXD4XgYJaRPlEkQhH6v1/s6lj9FrsU44nm+BevuAihWbNiwgYZ/ASLSw5aXfzU5EAjuFUdICNr/ElDgAlWhCBHJ2L//SFGy2R8uWa3ty9G2XNBSQhUVFSmJ2IvngdDGvEHaS/YeUZQkhykuLlaEeIoV5JpMCEiGWgKSHTg2yMb7GyTSmZqamksGG6DP1ZdQhqpha6jcd7Tp6MdOjuMc0XUEWDS2mriBEEPNfvrppxa32/2k3+9/H/kqgsHgHp/Pt7Gzs+cGi8Wis1qty8k9sVfk3N5+ZllBQYFKBugbAUaSjra2tgfiB+040yS+u75E/PDpVVGz77VJdZ1N4ubVIP5uFf2VyTR9bmVl7ZYw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WVbl1esBI9CvyM8S5ETKkF5ywRGCkotrpFEY2FEaQQgwosjTgYCCpyiBYxiFX612+7u6RHSp1STgGvL3ZXLjFxzhTDswS9cWTEubiYPmUQLSfCoVeO32dk9BAeWbM2dKoLq6TP7l0vDoQjYyUUnXUDqe0Nf9f0f/APDc5Dseec9LAAAAAElFTkSuQmCC"
@@ -41581,10 +41581,10 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41581
41581
  aspectRatio: 1.063,
41582
41582
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABECAYAAAAx+DPIAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABSHSURBVHgB7VwLcFzVef7PfezefWklZEl+BQQSGGQsMMa0vFXStCRAaQsaEpoyZTINTMkwHaAloWlRTcNQZkImSTNTmoG4YEoTOhkTkjF1gYgE6leEjQ0yorIs23pYLySttK/7Ov3/c+5Ku3uv1qJIUGfyjw93d+8595z/P//zO1cA/IZ+Qx8nMc45A+hQ8LMG0KZt2rRJpyvd89rHuyD4+IjmUpqbP6v94hdPtcXj8YvC4XCr4zjTuVzuYF/fwOuXXtrah30cbC42Dr8u1NHRobS0tISGhoauR4aP8QUom81u6+rqugBgk05j4BPQiCUnqfKb9HQ6/Q2+SKK+zc3NYRyuwOlMyAtdtEOHDl/BPyRls/ltjY2NBpzOQpC732hUUvvKQshuI9OB09UUyI7J7gO5Sx3kfPBJzoeeQU6HFxRCKpV6UEaK05Bo96amph7zcZUb4fytGzh/53PY8PrW73N+fGugAFzXndq+fftqL3QuOS2rfeHuqbquX+S7MfqinJmpwBUdeDgCMPFDgMPf8HVljCWvueaaO9rbO5bFDJZVAPl8lcqYkvTdyPQJq+aKhi0KoBrAdTT1yVcBhn7m6445w427dq0NSZ+ytLScAsCsb5TYrLBoFf9FgKtxXAkKIIaacOyHvl6oRVdu2bJlBWrD6SWAine4vHImtYCuoK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I//elTt6xff94fqCpU2bY7k05nhlKp2aGJiQ+GZmezqVdfffP99947mv7qV+9uu+SS9XcZRngVfEJkmubQd7+77bann/7mge7ubvKOvFL/hQQAmDioP//5ldFs1ozZdi4aj+vhfN6RJQqTBbJpauJqGOKtJ8wk8zpWk8ZLL239w02bLrz7kxDEa6/tvve2277yH+Pj2QmAbvNU/Vnl2+3q2rUDoYGBbDged0PIqJbJkAAshzHdVRQDr7NYQ0QFyGBZdsi2LUPXlYjj5IydO5/940su2fCxaASV8fv2vfP49dff8ZyqZiY+/emNaaxwnVONY6d+NLC2tjYVsTStv38V9h9GlboA26hLKFJnZ6enYgSkvKs2NGh6JmOiEBLRdDodjkY148knH/2tyy7beF1tbdXmeDx+Liwhob3/z+Dg6GsPPPD4v/7yl10jnOtTqZSJzq/LWsz4xQigvH9FmyK0bP16ekWtPnTixIxh23YYj6YM153VNC2sY0qrPvroX62rr1+RoJMPjv/QpOglcPHcX/2qexi1ZtUFFzSuQ81JGEYoiS1Gf1xCfoc6ou8Z3rfv0Huvv757sLNz95SqGmY6zTKhkJ6uq0tkent3VHwzrJyh5SDvuZsoylCBrJMJIRN6OKxorququZzL8HAHMLJhve4q+TxBwfJgW353WSiEJ6SQxRPrqGJZGdeDlKmmcNEfoflpDsIBFh54mOHwmvz4+E9y9LYotkW/VL1cAph7PiU/TPxFRAv6k6RqWWnFNHWNi+Se/iQuoszMzHqMUZ5cjVo0wVwXqyHMkriotYkcFo8nEbbLoMZkUYQRR9OyzthYEu18Gtt6bC/8//6z+/m3S0H1XnrW0L+QlhSaWtS8/7kCaVBLSP4NMTXxmxi/FH9i/7+rT2twf4PgbQAAAABJRU5ErkJggg=="
41583
41583
  }
41584
- }, dfe = 3.2, hfe = ({ panelRect: e }) => {
41584
+ }, hfe = 3.2, ffe = ({ panelRect: e }) => {
41585
41585
  const t = Pl(e).stickers, r = ke().graph().get("textScale");
41586
41586
  if (t.length === 0) return null;
41587
- const n = cfe(dfe, r);
41587
+ const n = ufe(hfe, r);
41588
41588
  return /* @__PURE__ */ g("svg", {
41589
41589
  x: e.x,
41590
41590
  y: e.y,
@@ -41594,7 +41594,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41594
41594
  "data-testid": "stickers",
41595
41595
  children: t.map((i) => {
41596
41596
  const o = Qn(i.at, e);
41597
- return /* @__PURE__ */ g(ffe, {
41597
+ return /* @__PURE__ */ g(mfe, {
41598
41598
  sticker: i,
41599
41599
  sizePx: n,
41600
41600
  x: o.x,
@@ -41602,10 +41602,10 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41602
41602
  }, i.id);
41603
41603
  })
41604
41604
  });
41605
- }, ffe = ({ sticker: e, sizePx: t, x: r, y: n }) => {
41606
- const i = ufe[e.sticker];
41605
+ }, mfe = ({ sticker: e, sizePx: t, x: r, y: n }) => {
41606
+ const i = dfe[e.sticker];
41607
41607
  if (!i) return null;
41608
- const { width: o, height: a } = mfe(i.aspectRatio, t);
41608
+ const { width: o, height: a } = pfe(i.aspectRatio, t);
41609
41609
  return /* @__PURE__ */ g("image", {
41610
41610
  href: i.src,
41611
41611
  x: r,
@@ -41614,20 +41614,20 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41614
41614
  height: a,
41615
41615
  transform: `translate(${-o / 2}, ${-a / 2})`
41616
41616
  });
41617
- }, mfe = (e, t) => e >= 1 ? {
41617
+ }, pfe = (e, t) => e >= 1 ? {
41618
41618
  width: t,
41619
41619
  height: t / e
41620
41620
  } : {
41621
41621
  width: t * e,
41622
41622
  height: t
41623
- }, pfe = "data-labels_overlay__15wb5l30", gfe = "data-labels_background__15wb5l31", vfe = "data-labels_label__15wb5l32", fR = ({ x: e, y: t, width: r, height: n, text: i, isRotated: o, labelRole: a, position: s, coordType: l, backdropColor: c }) => {
41624
- const u = ke(), d = ue(Ed, u), h = ue(xce, u), f = o ? `rotate(-90 ${e} ${t})` : void 0, m = d[a][s], p = m.stroke !== void 0 && (m.strokeWidth ?? 0) > 0, v = wfe(a, l, m), y = bfe(m, v, c, h), x = {
41623
+ }, gfe = "data-labels_overlay__15wb5l30", vfe = "data-labels_background__15wb5l31", yfe = "data-labels_label__15wb5l32", fR = ({ x: e, y: t, width: r, height: n, text: i, isRotated: o, labelRole: a, position: s, coordType: l, backdropColor: c }) => {
41624
+ const u = ke(), d = ue(Ed, u), h = ue(wce, u), f = o ? `rotate(-90 ${e} ${t})` : void 0, m = d[a][s], p = m.stroke !== void 0 && (m.strokeWidth ?? 0) > 0, v = Afe(a, l, m), y = xfe(m, v, c, h), x = {
41625
41625
  x: e - r / 2,
41626
41626
  y: t - n / 2,
41627
41627
  width: r,
41628
41628
  height: n
41629
41629
  }, w = Td(m.cornerRadius), S = m.shadow === void 0 ? void 0 : so(m.shadow), P = {
41630
- className: gfe,
41630
+ className: vfe,
41631
41631
  fill: m.fill === void 0 ? void 0 : Fe(m.fill),
41632
41632
  style: S === void 0 ? void 0 : { filter: S },
41633
41633
  ...p ? {
@@ -41647,11 +41647,11 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41647
41647
  ry: w,
41648
41648
  ...P
41649
41649
  })), /* @__PURE__ */ g("text", {
41650
- className: vfe,
41650
+ className: yfe,
41651
41651
  style: {
41652
41652
  ...ka(m),
41653
41653
  ...gd(m),
41654
- fill: yfe(m, y)
41654
+ fill: bfe(m, y)
41655
41655
  },
41656
41656
  ...pd(m),
41657
41657
  x: e,
@@ -41661,19 +41661,19 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41661
41661
  children: va(i, m.textTransform)
41662
41662
  })]
41663
41663
  });
41664
- }, yfe = (e, t) => e.isTextColorAuthored || t === void 0 ? e.textColor : e.isTextColorThemed ? Tm(e.textColor, t) : Sm(t), bfe = (e, t, r, n) => {
41664
+ }, bfe = (e, t) => e.isTextColorAuthored || t === void 0 ? e.textColor : e.isTextColorThemed ? Tm(e.textColor, t) : Sm(t), xfe = (e, t, r, n) => {
41665
41665
  if (r === void 0) return;
41666
- const i = xfe(e);
41666
+ const i = wfe(e);
41667
41667
  if (i !== void 0) return i;
41668
41668
  const o = t && e.fill !== void 0 ? Fe(e.fill) : void 0, a = o === void 0 ? void 0 : ts(void 0, o);
41669
41669
  if (a !== void 0) return a;
41670
41670
  const s = ts(r, n) ?? QR(r);
41671
41671
  if (s !== void 0)
41672
41672
  return ts(o, s);
41673
- }, xfe = (e) => {
41673
+ }, wfe = (e) => {
41674
41674
  if (!(e.textOutlineColor === void 0 || (e.textOutlineWidth ?? 0) <= 0))
41675
41675
  return ts(void 0, e.textOutlineColor);
41676
- }, wfe = (e, t, r) => r.fill === void 0 ? !1 : e === "aggregate" || t === "cartesian", Afe = ({ panelRect: e, formattingLocale: t, plotBottomY: r, isFooterChromeReserved: n }) => {
41676
+ }, Afe = (e, t, r) => r.fill === void 0 ? !1 : e === "aggregate" || t === "cartesian", Sfe = ({ panelRect: e, formattingLocale: t, plotBottomY: r, isFooterChromeReserved: n }) => {
41677
41677
  const i = li(), o = lo(), a = Ae(rr((m) => ({
41678
41678
  layers: m.layers,
41679
41679
  coordSystem: m.coordSystem,
@@ -41728,12 +41728,12 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41728
41728
  backdropColor: m.backdropColor
41729
41729
  }, `${m.layerId}:${p}`));
41730
41730
  return /* @__PURE__ */ g(hv, {
41731
- className: pfe,
41731
+ className: gfe,
41732
41732
  transform: `translate(${e.x}, ${e.y})`,
41733
41733
  "data-testid": "data-labels",
41734
41734
  children: f
41735
41735
  });
41736
- }, Sfe = ({ edge: e, position: t, labelRotation: r, offset: n, axisSize: i }) => {
41736
+ }, Tfe = ({ edge: e, position: t, labelRotation: r, offset: n, axisSize: i }) => {
41737
41737
  if (r !== 0 && (e === "top" || e === "bottom")) {
41738
41738
  const o = e === "top", a = o ? -n : n;
41739
41739
  return {
@@ -41778,7 +41778,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41778
41778
  transform: void 0
41779
41779
  };
41780
41780
  }
41781
- }, Tfe = (e, t) => {
41781
+ }, Mfe = (e, t) => {
41782
41782
  const r = t.height / 2;
41783
41783
  switch (e) {
41784
41784
  case "left":
@@ -41807,8 +41807,8 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41807
41807
  transform: void 0
41808
41808
  };
41809
41809
  }
41810
- }, Mfe = (e, t, r, n) => {
41811
- const { width: i, ascent: o, descent: a } = t, s = o + a, l = Cfe(e, i), c = Ife(e, o, s), u = kfe(r, e, n, {
41810
+ }, Efe = (e, t, r, n) => {
41811
+ const { width: i, ascent: o, descent: a } = t, s = o + a, l = Ife(e, i), c = Rfe(e, o, s), u = Pfe(r, e, n, {
41812
41812
  x: l,
41813
41813
  y: c,
41814
41814
  width: i,
@@ -41821,7 +41821,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41821
41821
  height: s + u.top + u.bottom,
41822
41822
  transform: e.transform
41823
41823
  };
41824
- }, Efe = (e, t) => {
41824
+ }, kfe = (e, t) => {
41825
41825
  const r = e.map((i, o) => ({
41826
41826
  position: i,
41827
41827
  index: o
@@ -41830,12 +41830,12 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41830
41830
  const a = r[o - 1], s = r[o + 1], l = a === void 0 ? 1 / 0 : i.position - a.position, c = s === void 0 ? 1 / 0 : s.position - i.position, u = Math.min(l, c);
41831
41831
  n[i.index] = Number.isFinite(u) ? u * t : 1 / 0;
41832
41832
  }), n;
41833
- }, kfe = (e, t, r, n) => r === void 0 ? {
41833
+ }, Pfe = (e, t, r, n) => r === void 0 ? {
41834
41834
  left: e,
41835
41835
  right: e,
41836
41836
  top: e,
41837
41837
  bottom: e
41838
- } : t.transform !== void 0 ? Pfe(e, t) : _fe(e, r, n), Pfe = (e, { y: t, textAnchor: r }) => {
41838
+ } : t.transform !== void 0 ? _fe(e, t) : Cfe(e, r, n), _fe = (e, { y: t, textAnchor: r }) => {
41839
41839
  const n = es(e, Math.abs(t));
41840
41840
  return r === "end" ? {
41841
41841
  left: e,
@@ -41848,7 +41848,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41848
41848
  top: e,
41849
41849
  bottom: e
41850
41850
  };
41851
- }, _fe = (e, { edge: t, stepPx: r, axisSize: n }, i) => {
41851
+ }, Cfe = (e, { edge: t, stepPx: r, axisSize: n }, i) => {
41852
41852
  const o = JA(e, r, i.width), a = JA(e, r, i.height);
41853
41853
  switch (t) {
41854
41854
  case "bottom":
@@ -41880,7 +41880,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41880
41880
  bottom: a
41881
41881
  };
41882
41882
  }
41883
- }, es = (e, t) => Math.max(0, Math.min(e, t)), JA = (e, t, r) => Math.min(e, Math.max(0, (t - r) / 2)), Cfe = ({ x: e, textAnchor: t }, r) => {
41883
+ }, es = (e, t) => Math.max(0, Math.min(e, t)), JA = (e, t, r) => Math.min(e, Math.max(0, (t - r) / 2)), Ife = ({ x: e, textAnchor: t }, r) => {
41884
41884
  switch (t) {
41885
41885
  case "start":
41886
41886
  return e;
@@ -41889,7 +41889,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41889
41889
  case "end":
41890
41890
  return e - r;
41891
41891
  }
41892
- }, Ife = ({ y: e, dominantBaseline: t }, r, n) => {
41892
+ }, Rfe = ({ y: e, dominantBaseline: t }, r, n) => {
41893
41893
  switch (t) {
41894
41894
  case "hanging":
41895
41895
  return e;
@@ -41899,10 +41899,10 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41899
41899
  case "auto":
41900
41900
  return e - r;
41901
41901
  }
41902
- }, Rfe = {
41902
+ }, Lfe = {
41903
41903
  fill: "transparent",
41904
41904
  pointerEvents: "all"
41905
- }, mv = ({ placement: e, text: t, style: r, isHitTestable: n, bounds: i }) => /* @__PURE__ */ W(fe, { children: [n && /* @__PURE__ */ g(Lfe, {
41905
+ }, mv = ({ placement: e, text: t, style: r, isHitTestable: n, bounds: i }) => /* @__PURE__ */ W(fe, { children: [n && /* @__PURE__ */ g(Dfe, {
41906
41906
  placement: e,
41907
41907
  text: t,
41908
41908
  style: r,
@@ -41916,10 +41916,10 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41916
41916
  ...pd(r),
41917
41917
  fill: r.textColor,
41918
41918
  children: va(t, r.textTransform)
41919
- })] }), Lfe = ({ placement: e, text: t, style: r, bounds: n }) => {
41919
+ })] }), Dfe = ({ placement: e, text: t, style: r, bounds: n }) => {
41920
41920
  const i = li(), { fonts: o } = lo();
41921
41921
  return /* @__PURE__ */ g("rect", {
41922
- ...G(() => Mfe(e, i.measureText(t, Wt(r, o.familyDefault)), 3, n), [
41922
+ ...G(() => Efe(e, i.measureText(t, Wt(r, o.familyDefault)), 3, n), [
41923
41923
  e,
41924
41924
  i,
41925
41925
  t,
@@ -41927,10 +41927,10 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41927
41927
  o.familyDefault,
41928
41928
  n
41929
41929
  ]),
41930
- ...Rfe
41930
+ ...Lfe
41931
41931
  });
41932
- }, Dfe = ({ edge: e, position: t, labelRotation: r, label: n, tickLabelStyle: i, axisSize: o, stepPx: a = 1 / 0, isHitTestable: s = !1 }) => {
41933
- const { offset: l } = i, c = G(() => Sfe({
41932
+ }, Ofe = ({ edge: e, position: t, labelRotation: r, label: n, tickLabelStyle: i, axisSize: o, stepPx: a = 1 / 0, isHitTestable: s = !1 }) => {
41933
+ const { offset: l } = i, c = G(() => Tfe({
41934
41934
  edge: e,
41935
41935
  position: t,
41936
41936
  labelRotation: r,
@@ -41963,11 +41963,11 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41963
41963
  style: { overflow: "visible" },
41964
41964
  children: u
41965
41965
  });
41966
- }, Ofe = ({ formattedAxis: e, rect: t }) => {
41966
+ }, Nfe = ({ formattedAxis: e, rect: t }) => {
41967
41967
  const r = e.position === "bottom" || e.position === "top", n = Xe(e.scaleAestheticKey), i = ke(), o = ue(sv, i)(n, e.position), a = ue(HI, i)[n], s = hi(), l = G(() => ({
41968
41968
  width: t.width,
41969
41969
  height: t.height
41970
- }), [t.width, t.height]), c = r ? t.width : t.height, u = G(() => s ? Efe(e.ticks.map((d) => d.position), c) : void 0, [
41970
+ }), [t.width, t.height]), c = r ? t.width : t.height, u = G(() => s ? kfe(e.ticks.map((d) => d.position), c) : void 0, [
41971
41971
  s,
41972
41972
  e.ticks,
41973
41973
  c
@@ -41979,7 +41979,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41979
41979
  height: t.height,
41980
41980
  style: { overflow: "visible" },
41981
41981
  children: [!1, e.ticks.map((d, h) => {
41982
- const f = d.formattedLabel, m = r ? d.position : 1 - d.position, p = Nfe(e.position, m, t, a.length), v = s && f !== "";
41982
+ const f = d.formattedLabel, m = r ? d.position : 1 - d.position, p = Bfe(e.position, m, t, a.length), v = s && f !== "";
41983
41983
  return /* @__PURE__ */ W("g", {
41984
41984
  ...v ? uv(e.scaleAestheticKey, h) : void 0,
41985
41985
  cursor: v ? "pointer" : void 0,
@@ -41989,7 +41989,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
41989
41989
  strokeWidth: a.strokeWidth,
41990
41990
  strokeDasharray: ao(a.dashArray, a.strokeWidth),
41991
41991
  pointerEvents: s ? "none" : void 0
41992
- }), /* @__PURE__ */ g(Dfe, {
41992
+ }), /* @__PURE__ */ g(Ofe, {
41993
41993
  edge: e.position,
41994
41994
  position: m,
41995
41995
  labelRotation: e.labelRotation,
@@ -42002,7 +42002,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
42002
42002
  }, h);
42003
42003
  })]
42004
42004
  });
42005
- }, Nfe = (e, t, r, n) => {
42005
+ }, Bfe = (e, t, r, n) => {
42006
42006
  const i = Z(t);
42007
42007
  switch (e) {
42008
42008
  case "bottom":
@@ -42034,19 +42034,19 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
42034
42034
  y2: i
42035
42035
  };
42036
42036
  }
42037
- }, Bfe = ({ axes: e, rects: t }) => {
42037
+ }, Vfe = ({ axes: e, rects: t }) => {
42038
42038
  const r = ue(FI, ke()), n = hi();
42039
42039
  return /* @__PURE__ */ g(fe, { children: e.map((i) => {
42040
42040
  const o = t[i.position];
42041
- return !o || !i.isVisible ? null : /* @__PURE__ */ g(Vfe, {
42041
+ return !o || !i.isVisible ? null : /* @__PURE__ */ g(Ffe, {
42042
42042
  axis: i,
42043
42043
  rect: o,
42044
42044
  labelStyle: r[Xe(i.scaleAestheticKey)],
42045
42045
  isHitTestable: n
42046
42046
  }, `axis-label-${i.position}`);
42047
42047
  }) });
42048
- }, Vfe = ({ axis: e, rect: t, labelStyle: r, isHitTestable: n }) => {
42049
- const i = G(() => Tfe(e.position, t), [e.position, t]), o = n && e.label !== null && e.label !== "", a = o ? uv(e.scaleAestheticKey) : void 0;
42048
+ }, Ffe = ({ axis: e, rect: t, labelStyle: r, isHitTestable: n }) => {
42049
+ const i = G(() => Mfe(e.position, t), [e.position, t]), o = n && e.label !== null && e.label !== "", a = o ? uv(e.scaleAestheticKey) : void 0;
42050
42050
  return /* @__PURE__ */ W("g", {
42051
42051
  transform: `translate(${t.x}, ${t.y})`,
42052
42052
  ...a,
@@ -42058,20 +42058,20 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
42058
42058
  isHitTestable: o
42059
42059
  })]
42060
42060
  });
42061
- }, Ffe = ({ formattedAxes: e, tickRects: t }) => /* @__PURE__ */ g(fe, { children: e.map((r) => {
42061
+ }, Hfe = ({ formattedAxes: e, tickRects: t }) => /* @__PURE__ */ g(fe, { children: e.map((r) => {
42062
42062
  if (r.geometry !== "linear") return null;
42063
42063
  const n = t[r.position];
42064
- return !n || !r.isVisible ? null : /* @__PURE__ */ g(Ofe, {
42064
+ return !n || !r.isVisible ? null : /* @__PURE__ */ g(Nfe, {
42065
42065
  formattedAxis: r,
42066
42066
  rect: n
42067
42067
  }, r.scaleAestheticKey);
42068
- }) }), Hfe = ({ formattedAxes: e, labelRects: t }) => /* @__PURE__ */ g(Bfe, {
42068
+ }) }), Gfe = ({ formattedAxes: e, labelRects: t }) => /* @__PURE__ */ g(Vfe, {
42069
42069
  axes: e.filter((r) => r.geometry === "linear"),
42070
42070
  rects: t
42071
42071
  }), mR = {
42072
42072
  strokeDashoffset: "0",
42073
42073
  strokeLinecap: "round"
42074
- }, mu = (e, t) => e.gridLine[t]().resolve(), Gfe = ({ axes: e, panelBorderSizes: t, panelFrameRect: r, panelRect: n }) => {
42074
+ }, mu = (e, t) => e.gridLine[t]().resolve(), $fe = ({ axes: e, panelBorderSizes: t, panelFrameRect: r, panelRect: n }) => {
42075
42075
  const i = ke(), o = hi(), a = ue(mu, i, "x"), s = ue(mu, i, "y"), l = n.x - r.x, c = n.y - r.y;
42076
42076
  return /* @__PURE__ */ g("svg", {
42077
42077
  "data-testid": "grid",
@@ -42086,7 +42086,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
42086
42086
  if (d.strokeWidth <= 0) return null;
42087
42087
  const h = u.position === "bottom" || u.position === "top", f = G_(d.dashArray, d.strokeWidth), m = ao(d.dashArray, f);
42088
42088
  return /* @__PURE__ */ g("g", { children: u.ticks.map((p, v) => {
42089
- const y = $fe(h, p.position);
42089
+ const y = Wfe(h, p.position);
42090
42090
  if (y !== null && t[y] > 0) return null;
42091
42091
  const x = h ? p.position : 1 - p.position;
42092
42092
  let w;
@@ -42127,7 +42127,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
42127
42127
  }) }, u.scaleAestheticKey);
42128
42128
  })
42129
42129
  });
42130
- }, $fe = (e, t) => t <= 0 ? e ? "left" : "bottom" : t >= 1 ? e ? "right" : "top" : null, Wfe = ({ sizes: e, panelFrameRect: t }) => {
42130
+ }, Wfe = (e, t) => t <= 0 ? e ? "left" : "bottom" : t >= 1 ? e ? "right" : "top" : null, jfe = ({ sizes: e, panelFrameRect: t }) => {
42131
42131
  const r = Ae((o) => o.coordSystem.type === "polar"), n = ue(Lk, ke());
42132
42132
  if (r) return null;
42133
42133
  const i = nX(n, {
@@ -42144,7 +42144,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
42144
42144
  height: t.height,
42145
42145
  style: { overflow: "visible" },
42146
42146
  children: i.map((o, a) => /* @__PURE__ */ g("path", {
42147
- d: jfe(o.segments),
42147
+ d: Ufe(o.segments),
42148
42148
  fill: "none",
42149
42149
  stroke: o.stroke,
42150
42150
  strokeDasharray: ao(o.dashArray, o.strokeWidth),
@@ -42152,7 +42152,7 @@ var nfe = (e, t, r, n) => t !== "comment" ? r : Ap(r, 140, (i) => e.measureText(
42152
42152
  ...mR
42153
42153
  }, a))
42154
42154
  });
42155
- }, jfe = (e) => e.map((t) => {
42155
+ }, Ufe = (e) => e.map((t) => {
42156
42156
  switch (t.type) {
42157
42157
  case "move":
42158
42158
  return `M ${t.x} ${t.y}`;
@@ -42181,10 +42181,10 @@ var pR = (e, t) => {
42181
42181
  angleFor: (l) => S1(l, o, a),
42182
42182
  radiusNormFor: (l) => i + l * (1 - i)
42183
42183
  };
42184
- }, Ufe = 16, zfe = ({ formattedAxes: e, panelRect: t }) => {
42184
+ }, zfe = 16, Yfe = ({ formattedAxes: e, panelRect: t }) => {
42185
42185
  const r = ue(sv, ke()), n = hi(), i = pR(t, e);
42186
42186
  if (!i) return null;
42187
- const { circle: o, circularAxis: a, radialAxis: s, startAngle: l, angleFor: c, radiusNormFor: u } = i, d = Yfe(s, u, o.radius), h = (f) => r(Xe(f.scaleAestheticKey));
42187
+ const { circle: o, circularAxis: a, radialAxis: s, startAngle: l, angleFor: c, radiusNormFor: u } = i, d = Kfe(s, u, o.radius), h = (f) => r(Xe(f.scaleAestheticKey));
42188
42188
  return /* @__PURE__ */ W("svg", {
42189
42189
  x: t.x,
42190
42190
  y: t.y,
@@ -42205,7 +42205,7 @@ var pR = (e, t) => {
42205
42205
  return /* @__PURE__ */ g(ZA, {
42206
42206
  scaleAestheticKey: a.scaleAestheticKey,
42207
42207
  tickIndex: m,
42208
- placement: e1(v, Kfe(p)),
42208
+ placement: e1(v, Xfe(p)),
42209
42209
  label: f.formattedLabel,
42210
42210
  labelStyle: h(a),
42211
42211
  isHitTestable: n
@@ -42224,7 +42224,7 @@ var pR = (e, t) => {
42224
42224
  cursor: "pointer",
42225
42225
  children: a
42226
42226
  }) : a;
42227
- }, Yfe = (e, t, r) => {
42227
+ }, Kfe = (e, t, r) => {
42228
42228
  if (!e) return [];
42229
42229
  const n = [];
42230
42230
  let i = Number.NEGATIVE_INFINITY;
@@ -42232,7 +42232,7 @@ var pR = (e, t) => {
42232
42232
  const s = t(a.position);
42233
42233
  if (s <= 0) continue;
42234
42234
  const l = s * r;
42235
- l - i < Ufe || (n.push({
42235
+ l - i < zfe || (n.push({
42236
42236
  tick: a,
42237
42237
  tickIndex: o,
42238
42238
  radiusNorm: s
@@ -42245,10 +42245,10 @@ var pR = (e, t) => {
42245
42245
  textAnchor: t,
42246
42246
  dominantBaseline: "central",
42247
42247
  transform: void 0
42248
- }), Kfe = (e) => {
42248
+ }), Xfe = (e) => {
42249
42249
  const t = Math.sin(e);
42250
42250
  return Math.abs(t) < 0.01 ? "middle" : t > 0 ? "start" : "end";
42251
- }, Xfe = ({ formattedAxes: e, panelRect: t }) => {
42251
+ }, qfe = ({ formattedAxes: e, panelRect: t }) => {
42252
42252
  const r = ke(), n = hi(), i = ue(mu, r, "y"), o = ue(mu, r, "x"), a = pR(t, e);
42253
42253
  if (!a) return null;
42254
42254
  const { circle: s, circularAxis: l, radialAxis: c, innerRadius: u, angleFor: d, radiusNormFor: h } = a;
@@ -42324,7 +42324,7 @@ var pR = (e, t) => {
42324
42324
  ...r,
42325
42325
  isEmpty: bm(t),
42326
42326
  children: t
42327
- }), bm = (e) => e == null || typeof e == "boolean" || e === "" ? !0 : Array.isArray(e) ? e.every(bm) : MR(e) && (e.type === zi || e.type === "g") ? bm(e.props.children) : !1, qfe = ({ layer: e, isDimmed: t, dimStyle: r, ...n }) => {
42327
+ }), bm = (e) => e == null || typeof e == "boolean" || e === "" ? !0 : Array.isArray(e) ? e.every(bm) : MR(e) && (e.type === zi || e.type === "g") ? bm(e.props.children) : !1, Qfe = ({ layer: e, isDimmed: t, dimStyle: r, ...n }) => {
42328
42328
  const i = BI(e.id), o = pq(e, He(e)), a = t ? r.filter : void 0, s = o && a ? `${o} ${a}` : o || a, l = i?.type === "fade", c = G(() => ({
42329
42329
  layerId: e.id,
42330
42330
  paintsShadow: o !== void 0,
@@ -42340,7 +42340,7 @@ var pR = (e, t) => {
42340
42340
  },
42341
42341
  children: /* @__PURE__ */ g(td.Provider, {
42342
42342
  value: c,
42343
- children: /* @__PURE__ */ g(Qfe, {
42343
+ children: /* @__PURE__ */ g(Jfe, {
42344
42344
  layer: e,
42345
42345
  ...n
42346
42346
  })
@@ -42352,7 +42352,7 @@ var pR = (e, t) => {
42352
42352
  transition: z_(i),
42353
42353
  children: u
42354
42354
  }) : u;
42355
- }, Qfe = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, formattingLocale: n, panelRect: i, live: o }) => {
42355
+ }, Jfe = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, formattingLocale: n, panelRect: i, live: o }) => {
42356
42356
  const a = Lr(), s = BI(e.id), { colorScheme: l } = yt(), c = He(e), u = a(e.geom, t.type);
42357
42357
  if (u === null) return null;
42358
42358
  const d = vd(u.render), h = {
@@ -42380,7 +42380,7 @@ var pR = (e, t) => {
42380
42380
  children: f
42381
42381
  });
42382
42382
  };
42383
- function Jfe({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
42383
+ function Zfe({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
42384
42384
  if (e?.getOverlayAnchor === void 0 || n.length === 0) return [];
42385
42385
  const i = [];
42386
42386
  for (const { observation: o, observationIndex: a } of n) {
@@ -42397,8 +42397,8 @@ function Jfe({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
42397
42397
  }
42398
42398
  return i;
42399
42399
  }
42400
- var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n, coordSystem: i, shouldAnimateTransitions: o, panelRect: a, formattingLocale: s }) => {
42401
- const l = Ae((w) => w.config.numberFormat), c = G(() => Jfe({
42400
+ var eme = 4, tme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n, coordSystem: i, shouldAnimateTransitions: o, panelRect: a, formattingLocale: s }) => {
42401
+ const l = Ae((w) => w.config.numberFormat), c = G(() => Zfe({
42402
42402
  renderer: e,
42403
42403
  layer: t,
42404
42404
  coordSystem: i,
@@ -42437,7 +42437,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42437
42437
  children: e.renderHighlight ? e.renderHighlight(w) : y.fn(w)
42438
42438
  });
42439
42439
  }
42440
- return /* @__PURE__ */ W(hv, { children: [x, c.map(({ observation: w, observationIndex: S, anchor: P }) => /* @__PURE__ */ g(tme, {
42440
+ return /* @__PURE__ */ W(hv, { children: [x, c.map(({ observation: w, observationIndex: S, anchor: P }) => /* @__PURE__ */ g(rme, {
42441
42441
  observation: w,
42442
42442
  anchor: P,
42443
42443
  panelRect: a,
@@ -42448,8 +42448,8 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42448
42448
  formatYValue: m,
42449
42449
  labelStyle: v.observation.outside,
42450
42450
  familyDefault: p.familyDefault
42451
- }, rme(w, S)))] });
42452
- }, tme = ({ observation: e, anchor: t, panelRect: r, fill: n, symbol: i, dotRadius: o, readSegmentY: a, formatYValue: s, labelStyle: l, familyDefault: c }) => {
42451
+ }, nme(w, S)))] });
42452
+ }, rme = ({ observation: e, anchor: t, panelRect: r, fill: n, symbol: i, dotRadius: o, readSegmentY: a, formatYValue: s, labelStyle: l, familyDefault: c }) => {
42453
42453
  const u = li(), d = t.x, h = Sr(t.y), f = a(e) ?? null, m = f !== null ? s(f, e) : null, p = G(() => {
42454
42454
  if (m === null) return null;
42455
42455
  const v = u.measureText(m, Wt(l, c));
@@ -42472,7 +42472,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42472
42472
  "data-testid": "highlight-overlay-dot"
42473
42473
  }), m !== null && p !== null && /* @__PURE__ */ g(fR, {
42474
42474
  x: d * r.width,
42475
- y: h * r.height - o - Zfe - p.height / 2,
42475
+ y: h * r.height - o - eme - p.height / 2,
42476
42476
  width: p.width,
42477
42477
  height: p.height,
42478
42478
  text: m,
@@ -42481,10 +42481,10 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42481
42481
  position: "outside",
42482
42482
  coordType: "cartesian"
42483
42483
  })] });
42484
- }, rme = (e, t) => {
42484
+ }, nme = (e, t) => {
42485
42485
  const r = e[xe.group];
42486
42486
  return `${String(r ?? "")}\0${t}`;
42487
- }, nme = ({ layer: e, coordSystem: t, panelRect: r }) => {
42487
+ }, ime = ({ layer: e, coordSystem: t, panelRect: r }) => {
42488
42488
  const { primary: n, group: i, related: o } = zo(rr((f) => ({
42489
42489
  primary: f.hover.primary,
42490
42490
  group: f.hover.group,
@@ -42518,7 +42518,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42518
42518
  styleReaders: l
42519
42519
  })
42520
42520
  });
42521
- }, ime = (e) => {
42521
+ }, ome = (e) => {
42522
42522
  const t = He(e);
42523
42523
  return G(() => {
42524
42524
  const [r] = e.data;
@@ -42532,11 +42532,11 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42532
42532
  filter: W_(Mk(n))
42533
42533
  };
42534
42534
  }, [e, t]);
42535
- }, ome = "var(--hoverDimOpacity__1rzsuvz0)", ame = "var(--hoverDimFilter__1rzsuvz1)", gR = "geom-layers.renderer_svg__1rzsuvz2", sme = "geom-layers.renderer_geomGroup__1rzsuvz3", lme = ({ shouldAnimateTransitions: e, panelRect: t, formattingLocale: r }) => {
42535
+ }, ame = "var(--hoverDimOpacity__1rzsuvz0)", sme = "var(--hoverDimFilter__1rzsuvz1)", gR = "geom-layers.renderer_svg__1rzsuvz2", lme = "geom-layers.renderer_geomGroup__1rzsuvz3", cme = ({ shouldAnimateTransitions: e, panelRect: t, formattingLocale: r }) => {
42536
42536
  const { layers: n, coordSystem: i } = Ae(rr((s) => ({
42537
42537
  layers: s.layers,
42538
42538
  coordSystem: s.coordSystem
42539
- }))), o = cme(n, i), a = G(() => ({
42539
+ }))), o = ume(n, i), a = G(() => ({
42540
42540
  width: t.width,
42541
42541
  height: t.height
42542
42542
  }), [t.width, t.height]);
@@ -42556,7 +42556,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42556
42556
  shouldAnimateTransitions: e,
42557
42557
  panelRect: t,
42558
42558
  formattingLocale: r
42559
- }), /* @__PURE__ */ g(nme, {
42559
+ }), /* @__PURE__ */ g(ime, {
42560
42560
  layer: s,
42561
42561
  coordSystem: i,
42562
42562
  panelRect: t
@@ -42568,7 +42568,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42568
42568
  s,
42569
42569
  e,
42570
42570
  t
42571
- ]), c = e.highlight, u = ime(e), { colorScheme: d } = yt(), h = {
42571
+ ]), c = e.highlight, u = ome(e), { colorScheme: d } = yt(), h = {
42572
42572
  layer: e,
42573
42573
  coordSystem: t,
42574
42574
  shouldAnimateTransitions: r,
@@ -42578,10 +42578,10 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42578
42578
  styleReaders: He(e)
42579
42579
  }, f = l ? vd(l.render) : null, m = e.spatialKind === "render-hit-test", p = a && (u.opacity !== void 0 || u.filter !== void 0);
42580
42580
  return /* @__PURE__ */ W("g", {
42581
- className: p ? sme : void 0,
42582
- style: p ? ume(u) : void 0,
42581
+ className: p ? lme : void 0,
42582
+ style: p ? dme(u) : void 0,
42583
42583
  children: [
42584
- /* @__PURE__ */ g(qfe, {
42584
+ /* @__PURE__ */ g(Qfe, {
42585
42585
  layer: e,
42586
42586
  coordSystem: t,
42587
42587
  shouldAnimateTransitions: r,
@@ -42595,7 +42595,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42595
42595
  hitTest: l.hitTest,
42596
42596
  input: h
42597
42597
  }),
42598
- c !== null && /* @__PURE__ */ g(eme, {
42598
+ c !== null && /* @__PURE__ */ g(tme, {
42599
42599
  renderer: l,
42600
42600
  layer: e,
42601
42601
  matchedLayer: c.composition.matchedLayer,
@@ -42607,13 +42607,13 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42607
42607
  })
42608
42608
  ]
42609
42609
  });
42610
- }, cme = (e, t) => {
42610
+ }, ume = (e, t) => {
42611
42611
  const r = Lr();
42612
42612
  return uo() ? [] : e.filter((n) => !Pa(r(n.geom, t.type)));
42613
- }, ume = (e) => (0, iv.assignInlineVars)({
42614
- ...e.opacity === void 0 ? {} : { [ome]: String(e.opacity) },
42615
- ...e.filter === void 0 ? {} : { [ame]: e.filter }
42616
- }), dme = ({ panelRect: e, shouldAnimateTransitions: t, formattingLocale: r }) => {
42613
+ }, dme = (e) => (0, iv.assignInlineVars)({
42614
+ ...e.opacity === void 0 ? {} : { [ame]: String(e.opacity) },
42615
+ ...e.filter === void 0 ? {} : { [sme]: e.filter }
42616
+ }), hme = ({ panelRect: e, shouldAnimateTransitions: t, formattingLocale: r }) => {
42617
42617
  const { layers: n, coordSystem: i } = Ae(rr((c) => ({
42618
42618
  layers: c.layers,
42619
42619
  coordSystem: c.coordSystem
@@ -42628,7 +42628,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42628
42628
  }, []), s = G(() => ({
42629
42629
  width: e.width,
42630
42630
  height: e.height
42631
- }), [e.width, e.height]), l = fme(n, i);
42631
+ }), [e.width, e.height]), l = mme(n, i);
42632
42632
  return l.length === 0 ? null : /* @__PURE__ */ g("svg", {
42633
42633
  ref: o,
42634
42634
  x: e.x,
@@ -42640,7 +42640,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42640
42640
  ...iR({ isLive: !0 }),
42641
42641
  children: /* @__PURE__ */ g(yl, {
42642
42642
  size: s,
42643
- children: l.map((c) => /* @__PURE__ */ g(hme, {
42643
+ children: l.map((c) => /* @__PURE__ */ g(fme, {
42644
42644
  layer: c,
42645
42645
  coordSystem: i,
42646
42646
  readPanelPoint: a,
@@ -42650,7 +42650,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42650
42650
  }, `${c.id}-${vR(i)}`))
42651
42651
  })
42652
42652
  });
42653
- }, hme = ({ layer: e, coordSystem: t, readPanelPoint: r, panelRect: n, shouldAnimateTransitions: i, formattingLocale: o }) => {
42653
+ }, fme = ({ layer: e, coordSystem: t, readPanelPoint: r, panelRect: n, shouldAnimateTransitions: i, formattingLocale: o }) => {
42654
42654
  const a = Roe(e.id), s = G(() => ({
42655
42655
  pushHover: a,
42656
42656
  readPanelPoint: r
@@ -42664,16 +42664,16 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42664
42664
  live: s,
42665
42665
  shouldDimOnHover: !l
42666
42666
  });
42667
- }, fme = (e, t) => {
42667
+ }, mme = (e, t) => {
42668
42668
  const r = Lr();
42669
42669
  return uo() ? [] : e.filter((n) => Pa(r(n.geom, t.type)));
42670
- }, mme = "plot.renderer_root__1ts0j5d0", pme = ({ formattedAxes: e, plotRect: t, panelBorder: r, panelFrameRect: n, panelRect: i, axisRects: o, axisLabelRects: a, shouldAnimateTransitions: s, formattingLocale: l, plotBottomY: c, isFooterChromeReserved: u, isEditable: d, showAnnotations: h }) => {
42670
+ }, pme = "plot.renderer_root__1ts0j5d0", gme = ({ formattedAxes: e, plotRect: t, panelBorder: r, panelFrameRect: n, panelRect: i, axisRects: o, axisLabelRects: a, shouldAnimateTransitions: s, formattingLocale: l, plotBottomY: c, isFooterChromeReserved: u, isEditable: d, showAnnotations: h }) => {
42671
42671
  const f = de(null);
42672
- The(f);
42673
- const m = Wr("Grid", Gfe), p = Wr("AxisTicks", Ffe), v = Wr("AxisLabel", Hfe), y = G(() => xm(n, t), [n, t]), x = G(() => xm(i, t), [i, t]), w = G(() => t1(o, t), [o, t]), S = G(() => t1(a, t), [a, t]), P = uo(), A = h && !P;
42672
+ Mhe(f);
42673
+ const m = Wr("Grid", $fe), p = Wr("AxisTicks", Hfe), v = Wr("AxisLabel", Gfe), y = G(() => xm(n, t), [n, t]), x = G(() => xm(i, t), [i, t]), w = G(() => t1(o, t), [o, t]), S = G(() => t1(a, t), [a, t]), P = uo(), A = h && !P;
42674
42674
  return /* @__PURE__ */ W("svg", {
42675
42675
  ref: f,
42676
- className: mme,
42676
+ className: pme,
42677
42677
  width: t.width,
42678
42678
  height: t.height,
42679
42679
  style: { transform: `translate(${t.x}px, ${t.y}px)` },
@@ -42693,11 +42693,11 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42693
42693
  formattedAxes: e,
42694
42694
  labelRects: S
42695
42695
  }),
42696
- /* @__PURE__ */ g(Xfe, {
42696
+ /* @__PURE__ */ g(qfe, {
42697
42697
  formattedAxes: e,
42698
42698
  panelRect: x
42699
42699
  }),
42700
- /* @__PURE__ */ g(ahe, { panelRect: x }),
42700
+ /* @__PURE__ */ g(she, { panelRect: x }),
42701
42701
  A && /* @__PURE__ */ W(fe, { children: [/* @__PURE__ */ g(XA, {
42702
42702
  panelRect: x,
42703
42703
  zOrder: "background"
@@ -42705,27 +42705,27 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42705
42705
  panelRect: x,
42706
42706
  zOrder: "background"
42707
42707
  })] }),
42708
- /* @__PURE__ */ g(Wfe, {
42708
+ /* @__PURE__ */ g(jfe, {
42709
42709
  sizes: r,
42710
42710
  panelFrameRect: y
42711
42711
  }),
42712
- /* @__PURE__ */ g(lme, {
42712
+ /* @__PURE__ */ g(cme, {
42713
42713
  shouldAnimateTransitions: s,
42714
42714
  panelRect: x,
42715
42715
  formattingLocale: l
42716
42716
  }),
42717
- /* @__PURE__ */ g(zfe, {
42717
+ /* @__PURE__ */ g(Yfe, {
42718
42718
  formattedAxes: e,
42719
42719
  panelRect: x
42720
42720
  }),
42721
- /* @__PURE__ */ g(Afe, {
42721
+ /* @__PURE__ */ g(Sfe, {
42722
42722
  panelRect: x,
42723
42723
  formattingLocale: l,
42724
42724
  plotBottomY: c,
42725
42725
  isFooterChromeReserved: u
42726
42726
  }),
42727
42727
  A && /* @__PURE__ */ W(fe, { children: [
42728
- /* @__PURE__ */ g(Vhe, {
42728
+ /* @__PURE__ */ g(Fhe, {
42729
42729
  panelRect: x,
42730
42730
  isEditable: d
42731
42731
  }),
@@ -42737,16 +42737,16 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42737
42737
  panelRect: x,
42738
42738
  zOrder: "foreground"
42739
42739
  }),
42740
- /* @__PURE__ */ g(Rhe, {
42740
+ /* @__PURE__ */ g(Lhe, {
42741
42741
  panelRect: x,
42742
42742
  isEditable: d
42743
42743
  }),
42744
- /* @__PURE__ */ g(Qhe, { panelRect: x }),
42745
- /* @__PURE__ */ g(hfe, { panelRect: x }),
42746
- /* @__PURE__ */ g(ife, { panelRect: x })
42744
+ /* @__PURE__ */ g(Jhe, { panelRect: x }),
42745
+ /* @__PURE__ */ g(ffe, { panelRect: x }),
42746
+ /* @__PURE__ */ g(ofe, { panelRect: x })
42747
42747
  ] }),
42748
- /* @__PURE__ */ g(Ahe, { panelRect: x }),
42749
- /* @__PURE__ */ g(dme, {
42748
+ /* @__PURE__ */ g(She, { panelRect: x }),
42749
+ /* @__PURE__ */ g(hme, {
42750
42750
  shouldAnimateTransitions: s,
42751
42751
  panelRect: x,
42752
42752
  formattingLocale: l
@@ -42762,7 +42762,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42762
42762
  const r = {};
42763
42763
  for (const [n, i] of Object.entries(e)) r[n] = xm(i, t);
42764
42764
  return r;
42765
- }, gme = (e) => {
42765
+ }, vme = (e) => {
42766
42766
  let t, r;
42767
42767
  return "aspectRatio" in e ? "intrinsicWidth" in e ? (t = e.intrinsicWidth, r = t / e.aspectRatio) : (r = e.intrinsicHeight, t = r * e.aspectRatio) : (t = e.intrinsicWidth, r = e.intrinsicHeight), {
42768
42768
  width: r1(t, "width"),
@@ -42771,7 +42771,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42771
42771
  }, r1 = (e, t) => {
42772
42772
  if (e <= 0 || Number.isNaN(e) || !Number.isFinite(e)) throw new he({ message: `Expected ${t} to be a positive, finite number, but got ${e}.` });
42773
42773
  return e;
42774
- }, vme = ({ sizing: e, onResize: t, children: r }) => {
42774
+ }, yme = ({ sizing: e, onResize: t, children: r }) => {
42775
42775
  const n = UC({ onResize: t }), i = de(!1);
42776
42776
  if (pe(() => {
42777
42777
  e.mode === "responsive" && (n.isDefault || n.width > 0 && n.height > 0 || i.current || (i.current = !0, console.warn(`[graphy] ZERO_SIZE_CONTAINER: GraphRenderer measured ${n.width}×${n.height}; the chart will not paint until the host has a positive width and height.`)));
@@ -42781,7 +42781,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42781
42781
  n.width,
42782
42782
  n.height
42783
42783
  ]), e.mode === "keepAspectRatio") {
42784
- const { intrinsicSize: a, canRender: s, outerStyles: l, innerStyles: c } = yme(e, n.width, !n.isDefault);
42784
+ const { intrinsicSize: a, canRender: s, outerStyles: l, innerStyles: c } = bme(e, n.width, !n.isDefault);
42785
42785
  return /* @__PURE__ */ g("div", {
42786
42786
  ref: n.setElement,
42787
42787
  style: l,
@@ -42817,8 +42817,8 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42817
42817
  height: n.height
42818
42818
  })
42819
42819
  });
42820
- }, yme = (e, t, r) => {
42821
- const n = gme(e), i = t > 0 && n.width > 0 ? t / n.width : 1;
42820
+ }, bme = (e, t, r) => {
42821
+ const n = vme(e), i = t > 0 && n.width > 0 ? t / n.width : 1;
42822
42822
  return {
42823
42823
  intrinsicSize: n,
42824
42824
  canRender: r,
@@ -42833,7 +42833,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42833
42833
  height: n.height
42834
42834
  }
42835
42835
  };
42836
- }, bme = { mode: "responsive" }, Nh = {
42836
+ }, xme = { mode: "responsive" }, Nh = {
42837
42837
  headerSize: {
42838
42838
  width: 0,
42839
42839
  height: 0
@@ -42842,7 +42842,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42842
42842
  width: 0,
42843
42843
  height: 0
42844
42844
  }
42845
- }, xme = () => {
42845
+ }, wme = () => {
42846
42846
  const [e, t] = Me(null), [r, n] = Me(null), [i, o] = Me(Nh);
42847
42847
  return wm(() => {
42848
42848
  const a = () => {
@@ -42853,7 +42853,7 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42853
42853
  width: r.offsetWidth,
42854
42854
  height: r.offsetHeight
42855
42855
  } : Nh.footerSize;
42856
- o((u) => wme(u, {
42856
+ o((u) => Ame(u, {
42857
42857
  headerSize: l,
42858
42858
  footerSize: c
42859
42859
  }) ? {
@@ -42869,9 +42869,9 @@ var Zfe = 4, eme = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
42869
42869
  footerRef: n,
42870
42870
  measurements: i
42871
42871
  };
42872
- }, wme = (e, t) => e.headerSize.width !== t.headerSize.width || e.headerSize.height !== t.headerSize.height || e.footerSize.width !== t.footerSize.width || e.footerSize.height !== t.footerSize.height, Ame = () => null, Sme = "graph-frame_overpaint__fzk2ns0", Tme = "graph-frame_backgroundScope__fzk2ns1";
42873
- var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, contentRef: i, children: o }) => {
42874
- const { themeClass: a, inlineVarsStyle: s } = ov(), l = e.strokeWidth, c = l > 0 ? e.stroke : void 0, u = Math.max(0, e.cornerRadius), d = u === 0 ? 0 : u + l, { shadow: h, alpha: f, blendMode: m, fill: p, overpaint: v = Mme } = e, y = Ea([p, ...v]), x = y(p), w = typeof p != "string", S = G(() => ({
42872
+ }, Ame = (e, t) => e.headerSize.width !== t.headerSize.width || e.headerSize.height !== t.headerSize.height || e.footerSize.width !== t.footerSize.width || e.footerSize.height !== t.footerSize.height, Sme = () => null, Tme = "graph-frame_overpaint__fzk2ns0", Mme = "graph-frame_backgroundScope__fzk2ns1";
42873
+ var Eme = [], kme = ({ graphChrome: e, isEditable: t, mode: r, style: n, contentRef: i, children: o }) => {
42874
+ const { themeClass: a, inlineVarsStyle: s } = ov(), l = e.strokeWidth, c = l > 0 ? e.stroke : void 0, u = Math.max(0, e.cornerRadius), d = u === 0 ? 0 : u + l, { shadow: h, alpha: f, blendMode: m, fill: p, overpaint: v = Eme } = e, y = Ea([p, ...v]), x = y(p), w = typeof p != "string", S = G(() => ({
42875
42875
  ...n,
42876
42876
  borderRadius: `${d}px`,
42877
42877
  ...s,
@@ -42891,7 +42891,7 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42891
42891
  ]), P = G(() => ({
42892
42892
  borderRadius: `${u}px`,
42893
42893
  ...m === "normal" ? {} : { mixBlendMode: m },
42894
- ...kme(w, f)
42894
+ ...Pme(w, f)
42895
42895
  }), [
42896
42896
  u,
42897
42897
  m,
@@ -42917,7 +42917,7 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42917
42917
  className: Qt(Lle, {
42918
42918
  [Dle]: t,
42919
42919
  [Ole]: D,
42920
- [Tme]: w
42920
+ [Mme]: w
42921
42921
  }),
42922
42922
  style: P,
42923
42923
  children: [
@@ -42931,27 +42931,27 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42931
42931
  [...v].reverse().map((b, T) => /* @__PURE__ */ g("div", {
42932
42932
  "aria-hidden": !0,
42933
42933
  "data-testid": "graph-overpaint",
42934
- className: Sme,
42934
+ className: Tme,
42935
42935
  style: ua(b, y(b))
42936
42936
  }, T))
42937
42937
  ]
42938
42938
  })
42939
42939
  });
42940
- }, kme = (e, t) => e ? { backgroundColor: "transparent" } : t === void 0 || t >= 1 ? {} : { backgroundColor: `color-mix(in srgb, ${B.graphBackground} ${t * 100}%, transparent)` }, yye = (e) => /* @__PURE__ */ g(Hse, {
42941
- locale: Hce(),
42942
- children: /* @__PURE__ */ g(Pme, { ...e })
42943
- }), Pme = ({ slots: e, sizing: t = bme, onResize: r, ...n }) => /* @__PURE__ */ g(xoe, { children: /* @__PURE__ */ g(Tne, { children: /* @__PURE__ */ g(Hne, {
42940
+ }, Pme = (e, t) => e ? { backgroundColor: "transparent" } : t === void 0 || t >= 1 ? {} : { backgroundColor: `color-mix(in srgb, ${B.graphBackground} ${t * 100}%, transparent)` }, bye = (e) => /* @__PURE__ */ g(Hse, {
42941
+ locale: Gce(),
42942
+ children: /* @__PURE__ */ g(_me, { ...e })
42943
+ }), _me = ({ slots: e, sizing: t = xme, onResize: r, ...n }) => /* @__PURE__ */ g(xoe, { children: /* @__PURE__ */ g(Tne, { children: /* @__PURE__ */ g(Hne, {
42944
42944
  slots: e,
42945
- children: /* @__PURE__ */ g(vme, {
42945
+ children: /* @__PURE__ */ g(yme, {
42946
42946
  sizing: t,
42947
42947
  onResize: r,
42948
- children: ({ width: i, height: o }) => /* @__PURE__ */ g(_me, {
42948
+ children: ({ width: i, height: o }) => /* @__PURE__ */ g(Cme, {
42949
42949
  width: i,
42950
42950
  height: o,
42951
42951
  ...n
42952
42952
  })
42953
42953
  })
42954
- }) }) }), _me = ({ width: e, height: t, animation: r, showTooltips: n = !0, mode: i = wn.readonly }) => {
42954
+ }) }) }), Cme = ({ width: e, height: t, animation: r, showTooltips: n = !0, mode: i = wn.readonly }) => {
42955
42955
  const o = vI(), a = qg(i), { axes: s, legends: l, layers: c, numberFormat: u, parsingLocale: d, annotations: h, coordSystem: f, headline: m, headlineConfig: p, content: v, overflowStrategy: y } = Ae(rr((Ft) => ({
42956
42956
  axes: Ft.guides.axes,
42957
42957
  legends: Ft.guides.legends.drawn,
@@ -42964,7 +42964,7 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42964
42964
  headlineConfig: Ft.config.headline,
42965
42965
  content: Ft.config.content,
42966
42966
  overflowStrategy: Ft.config.panel.overflow
42967
- }))), { intro: x, transitions: w } = iae(r, c), { headerRef: S, footerRef: P, measurements: A } = xme(), { formattingLocale: D, colorScheme: b } = yt(), T = ci[a], R = T.editorSurface, [I, V] = Me(null), M = Wr("Header", Hue), L = Wr("Footer", Lue), N = Wr("Legend", nhe), C = Wr("Headline", sde), E = Wr("EditorSurface", Ame), k = G(() => K7({
42967
+ }))), { intro: x, transitions: w } = iae(r, c), { headerRef: S, footerRef: P, measurements: A } = wme(), { formattingLocale: D, colorScheme: b } = yt(), T = ci[a], R = T.editorSurface, [I, V] = Me(null), M = Wr("Header", Gue), L = Wr("Footer", Due), N = Wr("Legend", ihe), C = Wr("Headline", lde), E = Wr("EditorSurface", Sme), k = G(() => K7({
42968
42968
  legends: l,
42969
42969
  numberFormat: u,
42970
42970
  parsingLocale: d,
@@ -42988,14 +42988,14 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
42988
42988
  d,
42989
42989
  D,
42990
42990
  o
42991
- ]), j = li(), X = ke(), ee = ue(Cme, X), ne = ue(Lk, X), oe = ue(lv, X), te = ue(Ime, X), ae = ue(Rme, X), ie = ue(Lme, X), le = ue(Dme, X), { fontFamily: $, textScale: Y, strokeWidth: q, fill: F } = ee, ce = G(() => gC(b, {}, $), [b, $]), J = G(() => ({
42991
+ ]), j = li(), X = ke(), ee = ue(Ime, X), ne = ue(Lk, X), oe = ue(lv, X), te = ue(Rme, X), ae = ue(Lme, X), ie = ue(Dme, X), le = ue(Ome, X), { fontFamily: $, textScale: Y, strokeWidth: q, fill: F } = ee, ce = G(() => gC(b, {}, $), [b, $]), J = G(() => ({
42992
42992
  width: Math.max(0, e - 2 * q),
42993
42993
  height: Math.max(0, t - 2 * q)
42994
42994
  }), [
42995
42995
  e,
42996
42996
  t,
42997
42997
  q
42998
- ]), Se = G(() => Eue(v.brandMark.enabled, J, v.brandMark.variant), [
42998
+ ]), Se = G(() => kue(v.brandMark.enabled, J, v.brandMark.variant), [
42999
42999
  v.brandMark.enabled,
43000
43000
  v.brandMark.variant,
43001
43001
  J
@@ -43009,11 +43009,11 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43009
43009
  p.size,
43010
43010
  p.position,
43011
43011
  f
43012
- ]), lt = Nce({
43012
+ ]), lt = Bce({
43013
43013
  textMeasurer: j,
43014
43014
  metrics: ce,
43015
43015
  overrides: Gne()
43016
- }), nr = G(() => iX(ne), [ne]), ct = Bce({
43016
+ }), nr = G(() => iX(ne), [ne]), ct = Vce({
43017
43017
  measurer: lt,
43018
43018
  axes: s,
43019
43019
  numberFormat: u,
@@ -43047,7 +43047,7 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43047
43047
  const { layout: Ce, formattedAxes: Pt, plotBottomY: Ut } = ct, _l = Ce.footer.height > 0;
43048
43048
  return /* @__PURE__ */ g(oR.Provider, {
43049
43049
  value: a,
43050
- children: /* @__PURE__ */ g(Ble, {
43050
+ children: /* @__PURE__ */ g(Vle, {
43051
43051
  colorScheme: b,
43052
43052
  textScale: Y,
43053
43053
  graphBackground: Fe(F),
@@ -43055,9 +43055,9 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43055
43055
  headingFontFamily: te.fontFamily,
43056
43056
  children: /* @__PURE__ */ g(yne, {
43057
43057
  metrics: ce,
43058
- children: /* @__PURE__ */ g(Gce, { children: /* @__PURE__ */ g(sue, {
43058
+ children: /* @__PURE__ */ g($ce, { children: /* @__PURE__ */ g(lue, {
43059
43059
  panelRect: Ce.panel,
43060
- children: /* @__PURE__ */ g(Eme, {
43060
+ children: /* @__PURE__ */ g(kme, {
43061
43061
  graphChrome: ee,
43062
43062
  isEditable: R,
43063
43063
  mode: a,
@@ -43066,7 +43066,7 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43066
43066
  width: "100%",
43067
43067
  height: "100%"
43068
43068
  },
43069
- children: /* @__PURE__ */ W(ice, {
43069
+ children: /* @__PURE__ */ W(oce, {
43070
43070
  intro: x,
43071
43071
  panelRect: Ce.panel,
43072
43072
  children: [
@@ -43082,7 +43082,7 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43082
43082
  subtitleStyle: ae,
43083
43083
  brandMark: qe
43084
43084
  }),
43085
- /* @__PURE__ */ g(pme, {
43085
+ /* @__PURE__ */ g(gme, {
43086
43086
  formattedAxes: Pt,
43087
43087
  plotRect: Ce.plot,
43088
43088
  panelBorder: nr,
@@ -43126,7 +43126,7 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43126
43126
  formattedAxes: Pt,
43127
43127
  shouldAnimateTransitions: w
43128
43128
  }),
43129
- n && T.tooltips && /* @__PURE__ */ g(fce, {})
43129
+ n && T.tooltips && /* @__PURE__ */ g(mce, {})
43130
43130
  ]
43131
43131
  })
43132
43132
  })
@@ -43134,10 +43134,10 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43134
43134
  })
43135
43135
  })
43136
43136
  });
43137
- }, Cme = (e) => e.graph().resolve(), Ime = (e) => e.heading.h1().resolve(), Rme = (e) => e.heading.h2().resolve(), Lme = (e) => e.caption().resolve(), Dme = (e) => ({
43137
+ }, Ime = (e) => e.graph().resolve(), Rme = (e) => e.heading.h1().resolve(), Lme = (e) => e.heading.h2().resolve(), Dme = (e) => e.caption().resolve(), Ome = (e) => ({
43138
43138
  label: e.source().resolve(),
43139
43139
  link: e.source.link().resolve()
43140
- }), bye = (e) => {
43140
+ }), xye = (e) => {
43141
43141
  const t = se(ng), r = rg();
43142
43142
  return G(() => e || (t ? {
43143
43143
  commands: t.commands,
@@ -43155,10 +43155,10 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43155
43155
  t,
43156
43156
  r
43157
43157
  ]);
43158
- }, xye = (e) => o1(e.subscribe, e.getScene, e.getScene), wye = () => {
43158
+ }, wye = (e) => o1(e.subscribe, e.getScene, e.getScene), Aye = () => {
43159
43159
  const { commands: e } = yt();
43160
43160
  return e;
43161
- }, Aye = () => {
43161
+ }, Sye = () => {
43162
43162
  const { history: e } = yt(), { stack: t, undo: r, redo: n } = e, i = Re((s) => t.subscribe(s), [t]), o = Re(() => t.getSnapshot(), [t]), a = o1(i, o, o);
43163
43163
  return G(() => ({
43164
43164
  ...a,
@@ -43169,11 +43169,11 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43169
43169
  r,
43170
43170
  n
43171
43171
  ]);
43172
- }, Ome = (e) => {
43172
+ }, Nme = (e) => {
43173
43173
  if (e.altKey || !e.metaKey && !e.ctrlKey) return null;
43174
43174
  const t = e.key.toLowerCase();
43175
43175
  return t === "z" ? e.shiftKey ? "redo" : "undo" : t === "y" && e.ctrlKey && !e.shiftKey ? "redo" : null;
43176
- }, Nme = /* @__PURE__ */ new Set([
43176
+ }, Bme = /* @__PURE__ */ new Set([
43177
43177
  "button",
43178
43178
  "checkbox",
43179
43179
  "color",
@@ -43184,14 +43184,14 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43184
43184
  "range",
43185
43185
  "reset",
43186
43186
  "submit"
43187
- ]), Sye = (e, t = {}) => {
43187
+ ]), Tye = (e, t = {}) => {
43188
43188
  const { target: r, enabled: n = !0 } = t;
43189
43189
  pe(() => {
43190
- const i = Bme(r);
43190
+ const i = Vme(r);
43191
43191
  if (!n || !i) return;
43192
43192
  const o = (a) => {
43193
- if (!Vme(a) || a.defaultPrevented || Fme(a.target)) return;
43194
- const s = Ome(a);
43193
+ if (!Fme(a) || a.defaultPrevented || Hme(a.target)) return;
43194
+ const s = Nme(a);
43195
43195
  if (!s) return;
43196
43196
  const l = e.current;
43197
43197
  l && (s === "undo" ? l.undo() : l.redo()) && a.preventDefault();
@@ -43202,7 +43202,7 @@ var Mme = [], Eme = ({ graphChrome: e, isEditable: t, mode: r, style: n, content
43202
43202
  r,
43203
43203
  n
43204
43204
  ]);
43205
- }, Bme = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, Vme = (e) => "key" in e, Fme = (e) => e instanceof HTMLInputElement ? !Nme.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1, Tye = () => {
43205
+ }, Vme = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, Fme = (e) => "key" in e, Hme = (e) => e instanceof HTMLInputElement ? !Bme.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1, Mye = () => {
43206
43206
  const { targetBoundaryStore: e } = yt();
43207
43207
  return Mn(e, (t) => t.boundary);
43208
43208
  };
@@ -43213,12 +43213,12 @@ function bR(e) {
43213
43213
  brandMark: { enabled: !0 }
43214
43214
  } } });
43215
43215
  }
43216
- function Hme(e) {
43216
+ function Gme(e) {
43217
43217
  const { layers: t, coordSystem: r, scales: n, guides: i, annotations: o, spec: a } = e, s = i.colorGroups.length > 0 ? i.colorGroups.length : null, l = t.reduce((c, u) => c + u.data.size(), 0);
43218
43218
  return {
43219
43219
  layerCount: t.length,
43220
43220
  geoms: t.map((c) => c.geom),
43221
- positions: Gme(t.map((c) => c.position)),
43221
+ positions: $me(t.map((c) => c.position)),
43222
43222
  coordSystem: r.type,
43223
43223
  ...r.type === "cartesian" ? { mainAxis: r.mainAxis } : {},
43224
43224
  scaleAesthetics: Object.keys(n),
@@ -43231,11 +43231,11 @@ function Hme(e) {
43231
43231
  visibleAxes: i.axes.filter((c) => c.isVisible).length,
43232
43232
  dataLabels: t.some((c) => c.dataLabels.showDataLabels),
43233
43233
  highlights: a.highlights.length,
43234
- annotations: $me(o)
43234
+ annotations: Wme(o)
43235
43235
  }
43236
43236
  };
43237
43237
  }
43238
- var Gme = (e) => [...new Set(e)], $me = (e) => ({
43238
+ var $me = (e) => [...new Set(e)], Wme = (e) => ({
43239
43239
  differenceArrows: e.differenceArrows.length,
43240
43240
  shapes: e.shapes.length,
43241
43241
  freeformArrows: e.arrows.length,
@@ -43244,12 +43244,12 @@ var Gme = (e) => [...new Set(e)], $me = (e) => ({
43244
43244
  stickers: e.stickers.length,
43245
43245
  pinnedNumbers: e.pinnedNumbers.length,
43246
43246
  comments: e.comments.length
43247
- }), Wme = "", jme = "1.9.0-beta.1792409717036", Ume = /^(https?):\/\/([^@]+)@([^/]+)\/(\d+)\/?$/;
43247
+ }), jme = "", Ume = "1.9.0-beta.1792410301640", zme = /^(https?):\/\/([^@]+)@([^/]+)\/(\d+)\/?$/;
43248
43248
  function xR() {
43249
- return Wme;
43249
+ return jme;
43250
43250
  }
43251
43251
  function wR(e) {
43252
- const t = Ume.exec(e);
43252
+ const t = zme.exec(e);
43253
43253
  if (!t) return null;
43254
43254
  const r = t[1], n = t[2], i = t[3], o = t[4];
43255
43255
  return !r || !n || !i || !o ? null : {
@@ -43259,14 +43259,14 @@ function wR(e) {
43259
43259
  projectId: o
43260
43260
  };
43261
43261
  }
43262
- function zme(e, t, r) {
43262
+ function Yme(e, t, r) {
43263
43263
  return e === "production" && t && wR(r) !== null;
43264
43264
  }
43265
- function Yme(e, t = {}) {
43265
+ function Kme(e, t = {}) {
43266
43266
  try {
43267
43267
  const r = t.dsn ?? xR(), n = wR(r);
43268
43268
  if (!n) return;
43269
- const i = t.version ?? jme, o = t.fetchImpl ?? fetch, a = qme(), s = Xme(e, r, i, a), l = o(Kme(n, i), {
43269
+ const i = t.version ?? Ume, o = t.fetchImpl ?? fetch, a = Qme(), s = qme(e, r, i, a), l = o(Xme(n, i), {
43270
43270
  method: "POST",
43271
43271
  body: s,
43272
43272
  keepalive: !0,
@@ -43278,10 +43278,10 @@ function Yme(e, t = {}) {
43278
43278
  } catch {
43279
43279
  }
43280
43280
  }
43281
- var Kme = (e, t) => {
43281
+ var Xme = (e, t) => {
43282
43282
  const r = encodeURIComponent(e.publicKey), n = encodeURIComponent(`graphy-react/${t}`);
43283
43283
  return `${e.protocol}://${e.host}/api/${e.projectId}/envelope/?sentry_version=7&sentry_key=${r}&sentry_client=${n}`;
43284
- }, Xme = (e, t, r, n) => {
43284
+ }, qme = (e, t, r, n) => {
43285
43285
  const i = {
43286
43286
  event_id: n,
43287
43287
  dsn: t,
@@ -43304,7 +43304,7 @@ var Kme = (e, t) => {
43304
43304
  ${JSON.stringify(o)}
43305
43305
  ${JSON.stringify(a)}
43306
43306
  `;
43307
- }, qme = () => crypto.randomUUID().replace(/-/g, ""), Qme = (e, t) => {
43307
+ }, Qme = () => crypto.randomUUID().replace(/-/g, ""), Jme = (e, t) => {
43308
43308
  if (typeof e == "function") {
43309
43309
  e(t);
43310
43310
  return;
@@ -43312,7 +43312,7 @@ ${JSON.stringify(a)}
43312
43312
  e && (e.current = t);
43313
43313
  };
43314
43314
  function AR(e, t) {
43315
- const r = de(null), n = de(!1), i = t !== !1, o = xR(), a = "production", s = typeof window < "u", l = i && zme(a, s, o);
43315
+ const r = de(null), n = de(!1), i = t !== !1, o = xR(), a = "production", s = typeof window < "u", l = i && Yme(a, s, o);
43316
43316
  pe(() => {
43317
43317
  if (!i || !l) return;
43318
43318
  const u = r.current;
@@ -43322,7 +43322,7 @@ function AR(e, t) {
43322
43322
  if (n.current) return;
43323
43323
  const h = u.getScene();
43324
43324
  if (!h) return;
43325
- n.current = !0, Yme(Hme(h), { dsn: o });
43325
+ n.current = !0, Kme(Gme(h), { dsn: o });
43326
43326
  } catch {
43327
43327
  }
43328
43328
  };
@@ -43335,11 +43335,11 @@ function AR(e, t) {
43335
43335
  l
43336
43336
  ]);
43337
43337
  const c = Re((u) => {
43338
- Qme(e, u), r.current = u;
43338
+ Jme(e, u), r.current = u;
43339
43339
  }, [e]);
43340
43340
  return l ? c : e;
43341
43341
  }
43342
- var Mye = ({ telemetry: e, handleRef: t, spec: r, ...n }) => {
43342
+ var Eye = ({ telemetry: e, handleRef: t, spec: r, ...n }) => {
43343
43343
  const i = G(() => bR(r), [r]), o = AR(t, e);
43344
43344
  return /* @__PURE__ */ g($C, {
43345
43345
  ...n,
@@ -43347,7 +43347,7 @@ var Mye = ({ telemetry: e, handleRef: t, spec: r, ...n }) => {
43347
43347
  handleRef: o
43348
43348
  });
43349
43349
  };
43350
- function Eye(e = {}) {
43350
+ function kye(e = {}) {
43351
43351
  const t = goe(e), r = t.GraphProvider;
43352
43352
  return {
43353
43353
  ...t,
@@ -43366,38 +43366,38 @@ export {
43366
43366
  qI as BrandMark,
43367
43367
  xne as CanvasTextMeasurer,
43368
43368
  Hn as Dataset,
43369
- Lue as DefaultFooter,
43369
+ Due as DefaultFooter,
43370
43370
  Moe as DefaultGeomCircle,
43371
43371
  Eoe as DefaultGeomLine,
43372
43372
  Poe as DefaultGeomPath,
43373
43373
  koe as DefaultGeomRect,
43374
- Gfe as DefaultGrid,
43375
- Hue as DefaultHeader,
43374
+ $fe as DefaultGrid,
43375
+ Gue as DefaultHeader,
43376
43376
  Qne as DefaultSwatch,
43377
- mce as DefaultTooltip,
43378
- fye as DevToolsPanel,
43377
+ pce as DefaultTooltip,
43378
+ mye as DevToolsPanel,
43379
43379
  x3 as GEOM_EFFECTS_VOCABULARY,
43380
43380
  wn as GRAPH_MODES,
43381
43381
  xe as GROUP_VARIABLES,
43382
43382
  an as Geom,
43383
- aye as GeomCircle,
43384
- sye as GeomLine,
43385
- iye as GeomOverpaint,
43386
- cye as GeomPath,
43387
- lye as GeomRect,
43383
+ sye as GeomCircle,
43384
+ lye as GeomLine,
43385
+ oye as GeomOverpaint,
43386
+ uye as GeomPath,
43387
+ cye as GeomRect,
43388
43388
  uq as GraphErrorBoundary,
43389
43389
  sx as GraphErrorPanel,
43390
- Mye as GraphProvider,
43391
- yye as GraphRenderer,
43390
+ Eye as GraphProvider,
43391
+ bye as GraphRenderer,
43392
43392
  xoe as HoverProvider,
43393
43393
  vie as IntroFade,
43394
43394
  Y_ as IntroWipeClip,
43395
43395
  O as POSITION_VARIABLES,
43396
43396
  io as Stat,
43397
43397
  Tne as TextMeasurerProvider,
43398
- Ble as ThemeProvider,
43399
- dye as UnitBoxSvg,
43400
- uye as UnitSpaceSvg,
43398
+ Vle as ThemeProvider,
43399
+ hye as UnitBoxSvg,
43400
+ dye as UnitSpaceSvg,
43401
43401
  Ke as UserInputError,
43402
43402
  An as VISUAL_VARIABLES,
43403
43403
  Rj as annotation,
@@ -43408,17 +43408,17 @@ export {
43408
43408
  PU as config,
43409
43409
  _U as coord,
43410
43410
  jp as createAreaPathGenerators,
43411
- Eye as createGraphyKit,
43411
+ kye as createGraphyKit,
43412
43412
  zp as createLinePathGenerator,
43413
43413
  LU as createSpec,
43414
- nge as createStableBandKeyGenerator,
43414
+ ige as createStableBandKeyGenerator,
43415
43415
  WY as createStableCellKeyGenerator,
43416
43416
  tr as createStableKeyGenerator,
43417
43417
  Dk as createStyleResolver,
43418
43418
  ht as createValueFormatter,
43419
43419
  Nle as darkTheme,
43420
- nye as defineGeomRenderer,
43421
- Bpe as defineGeomStyleTarget,
43420
+ iye as defineGeomRenderer,
43421
+ Vpe as defineGeomStyleTarget,
43422
43422
  zY as findAttachedHit,
43423
43423
  lV as geom,
43424
43424
  ap as getAlpha,
@@ -43430,7 +43430,7 @@ export {
43430
43430
  BT as getLineType,
43431
43431
  Vu as getPaintedTileRect,
43432
43432
  Bu as getRadiusExtent,
43433
- ape as getScaledAesthetic,
43433
+ spe as getScaledAesthetic,
43434
43434
  sp as getSize,
43435
43435
  RT as getStackRole,
43436
43436
  BG as getStrokeWidth,
@@ -43446,7 +43446,7 @@ export {
43446
43446
  k1 as getYRaw,
43447
43447
  CU as highlight,
43448
43448
  RI as lightTheme,
43449
- rye as lightenCss,
43449
+ nye as lightenCss,
43450
43450
  IU as mapping,
43451
43451
  DU as pipe,
43452
43452
  Yr as polarToUnit,
@@ -43458,11 +43458,11 @@ export {
43458
43458
  kt as readGeomEffects,
43459
43459
  ni as readMainAxis,
43460
43460
  Za as readPositionPixels,
43461
- oye as readRectPixels,
43461
+ aye as readRectPixels,
43462
43462
  K as readVariableName,
43463
43463
  tl as resolveAnchoredLabelCenter,
43464
43464
  ll as resolveBarCornerRadiusPx,
43465
- Eue as resolveBrandMarkVisual,
43465
+ kue as resolveBrandMarkVisual,
43466
43466
  Os as resolveGeomCornerRadiusPx,
43467
43467
  si as resolvePathStroke,
43468
43468
  RU as scale,
@@ -43471,36 +43471,36 @@ export {
43471
43471
  nR as stampGridEditTarget,
43472
43472
  dv as stampLegendEditTarget,
43473
43473
  BU as stat,
43474
- Jpe as style,
43474
+ Zpe as style,
43475
43475
  FM as styles,
43476
43476
  Fe as toPaintColor,
43477
43477
  Z as toPercent,
43478
43478
  ao as toStrokeDasharray,
43479
- Zpe as toViewBoxX,
43479
+ ege as toViewBoxX,
43480
43480
  Sr as toViewBoxY,
43481
43481
  re as token,
43482
43482
  jU as transform,
43483
- hye as useElementScreenRect,
43483
+ fye as useElementScreenRect,
43484
43484
  woe as useGeomHitTest,
43485
43485
  Roe as useGeomHover,
43486
43486
  q_ as useGeomPanelSize,
43487
43487
  xa as useGeomReaderTree,
43488
43488
  He as useGeomStyleReader,
43489
- wye as useGraphCommands,
43490
- bye as useGraphHandle,
43491
- Aye as useGraphHistory,
43492
- Sye as useGraphHistoryShortcuts,
43493
- Hce as useGraphLocale,
43494
- Lhe as useGraphSelection,
43489
+ Aye as useGraphCommands,
43490
+ xye as useGraphHandle,
43491
+ Sye as useGraphHistory,
43492
+ Tye as useGraphHistoryShortcuts,
43493
+ Gce as useGraphLocale,
43494
+ Dhe as useGraphSelection,
43495
43495
  hi as useGuidesTakePress,
43496
- xye as useHandleScene,
43496
+ wye as useHandleScene,
43497
43497
  zo as useHoverState,
43498
43498
  mr as usePaintDefs,
43499
43499
  ue as useResolvedStyle,
43500
43500
  Ae as useSceneSelector,
43501
43501
  ke as useStyleReaderTree,
43502
43502
  Hk as useStyleResolver,
43503
- Tye as useTargetBoundary,
43503
+ Mye as useTargetBoundary,
43504
43504
  li as useTextMeasurer,
43505
43505
  B as vars
43506
43506
  };