@graphysdk/react 1.9.0-beta.1791541380583 → 1.9.0-beta.1791545054682

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.
@@ -38104,7 +38104,7 @@ var Rp = (e, t, n) => {
38104
38104
  }
38105
38105
  };
38106
38106
  }, [e.data, t]);
38107
- var e3 = "\0", dG = (e, t) => {
38107
+ var eD = "\0", dG = (e, t) => {
38108
38108
  const n = e.size ?? 32;
38109
38109
  return {
38110
38110
  width: n,
@@ -38124,11 +38124,11 @@ var e3 = "\0", dG = (e, t) => {
38124
38124
  } : null);
38125
38125
  }, n.onerror = () => t(null), n.src = e;
38126
38126
  }), Xd = (e) => {
38127
- const t = [...new Set(e.map(t3).filter((a) => a !== void 0))].join(e3), [n, r] = Ne(() => /* @__PURE__ */ new Map()), o = Oe(/* @__PURE__ */ new Set()), i = Oe(/* @__PURE__ */ new Set());
38127
+ const t = [...new Set(e.map(tD).filter((a) => a !== void 0))].join(eD), [n, r] = Ne(() => /* @__PURE__ */ new Map()), o = Oe(/* @__PURE__ */ new Set()), i = Oe(/* @__PURE__ */ new Set());
38128
38128
  return we(() => () => {
38129
38129
  o.current = /* @__PURE__ */ new Set();
38130
38130
  }, []), we(() => {
38131
- const a = new Set(t === "" ? [] : t.split(e3));
38131
+ const a = new Set(t === "" ? [] : t.split(eD));
38132
38132
  o.current = a;
38133
38133
  for (const s of i.current) a.has(s) || i.current.delete(s);
38134
38134
  r((s) => {
@@ -38140,10 +38140,10 @@ var e3 = "\0", dG = (e, t) => {
38140
38140
  o.current.has(s) && (i.current.delete(s), r((c) => new Map(c).set(s, l)));
38141
38141
  }));
38142
38142
  }, [t, n]), Ye((a) => {
38143
- const s = t3(a);
38143
+ const s = tD(a);
38144
38144
  return s === void 0 ? void 0 : n.get(s);
38145
38145
  }, [n]);
38146
- }, t3 = (e) => e !== void 0 && NC(e) && (e.fit ?? "tile") === "tile" ? e.image : void 0;
38146
+ }, tD = (e) => e !== void 0 && NC(e) && (e.fit ?? "tile") === "tile" ? e.image : void 0;
38147
38147
  var O5e = 1 / 3, L5e = {
38148
38148
  x: 1,
38149
38149
  y: 1
@@ -38585,7 +38585,7 @@ var O5e = 1 / 3, L5e = {
38585
38585
  }), X5e = ({ column: e, animation: t }) => {
38586
38586
  const { id: n, bars: r, radii: o, stroke: i, outlineOpacity: a, clippedStrokeWidth: s } = e, l = i !== void 0, c = /* @__PURE__ */ m("clipPath", {
38587
38587
  id: n,
38588
- children: /* @__PURE__ */ m(n3, {
38588
+ children: /* @__PURE__ */ m(nD, {
38589
38589
  bounds: e,
38590
38590
  radii: o
38591
38591
  })
@@ -38605,7 +38605,7 @@ var O5e = 1 / 3, L5e = {
38605
38605
  }, d)
38606
38606
  })] });
38607
38607
  }
38608
- return /* @__PURE__ */ B(Le, { children: [c, gG(e, t, l && /* @__PURE__ */ m(n3, {
38608
+ return /* @__PURE__ */ B(Le, { children: [c, gG(e, t, l && /* @__PURE__ */ m(nD, {
38609
38609
  bounds: e,
38610
38610
  radii: o,
38611
38611
  fill: "none",
@@ -38709,7 +38709,7 @@ var O5e = 1 / 3, L5e = {
38709
38709
  stroke: o,
38710
38710
  strokeWidth: i
38711
38711
  });
38712
- }, n3 = ({ bounds: e, radii: t, fill: n, stroke: r, strokeWidth: o, opacity: i }) => /* @__PURE__ */ m("rect", {
38712
+ }, nD = ({ bounds: e, radii: t, fill: n, stroke: r, strokeWidth: o, opacity: i }) => /* @__PURE__ */ m("rect", {
38713
38713
  x: De(e.x),
38714
38714
  y: De(e.y),
38715
38715
  width: De(e.width),
@@ -39140,7 +39140,7 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
39140
39140
  o,
39141
39141
  i
39142
39142
  ]);
39143
- }), r3 = ({ primary: e, companions: t }) => {
39143
+ }), rD = ({ primary: e, companions: t }) => {
39144
39144
  const n = /* @__PURE__ */ B(Le, { children: [t.map((r) => /* @__PURE__ */ m(Zs, { hit: r }, `companion-${r.layerId}-${r.pointIndex}`)), e ? /* @__PURE__ */ m(qd, { hit: e }) : null] });
39145
39145
  return e ? /* @__PURE__ */ m("g", {
39146
39146
  "data-testid": "hovered-point",
@@ -39155,11 +39155,11 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
39155
39155
  shouldAnimateTransitions: t,
39156
39156
  intro: n
39157
39157
  }),
39158
- renderHover: ({ primary: e, group: t, related: n }) => /* @__PURE__ */ m(r3, {
39158
+ renderHover: ({ primary: e, group: t, related: n }) => /* @__PURE__ */ m(rD, {
39159
39159
  primary: e,
39160
39160
  companions: [...t, ...n]
39161
39161
  }),
39162
- renderHoverCompanions: ({ related: e }) => /* @__PURE__ */ m(r3, { companions: e }),
39162
+ renderHoverCompanions: ({ related: e }) => /* @__PURE__ */ m(rD, { companions: e }),
39163
39163
  getEditOutlineShapes: (e) => bG({
39164
39164
  ...e,
39165
39165
  project: hc
@@ -39699,7 +39699,7 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
39699
39699
  }, D_e = (e) => {
39700
39700
  const t = N_e();
39701
39701
  return t ? (t.style.font = e, t.getBoundingClientRect().width) : null;
39702
- }, N_e = () => typeof document > "u" ? null : (ga || (ga = document.createElement("span"), ga.style.position = "absolute", ga.style.visibility = "hidden", ga.style.whiteSpace = "nowrap", ga.style.left = "-9999px", ga.textContent = OG, document.body.appendChild(ga)), ga), _G = wt(null), o3 = 3e3, F_e = ({ children: e, measurer: t }) => {
39702
+ }, N_e = () => typeof document > "u" ? null : (ga || (ga = document.createElement("span"), ga.style.position = "absolute", ga.style.visibility = "hidden", ga.style.whiteSpace = "nowrap", ga.style.left = "-9999px", ga.textContent = OG, document.body.appendChild(ga)), ga), _G = wt(null), oD = 3e3, F_e = ({ children: e, measurer: t }) => {
39703
39703
  const [n, r] = Ne(null);
39704
39704
  we(() => {
39705
39705
  if (t !== void 0) return;
@@ -39712,8 +39712,8 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
39712
39712
  return;
39713
39713
  }
39714
39714
  const s = setTimeout(() => {
39715
- i || (console.warn(`[graphy] FONT_READY_TIMEOUT: document.fonts.ready has not settled in ${o3}ms; painting with the fonts available so far.`), a());
39716
- }, o3), l = () => {
39715
+ i || (console.warn(`[graphy] FONT_READY_TIMEOUT: document.fonts.ready has not settled in ${oD}ms; painting with the fonts available so far.`), a());
39716
+ }, oD), l = () => {
39717
39717
  clearTimeout(s), a();
39718
39718
  };
39719
39719
  return document.fonts.ready.then(l, l), document.fonts.addEventListener("loadingdone", l), () => {
@@ -39735,7 +39735,7 @@ var CS = 3, n_e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
39735
39735
  } catch {
39736
39736
  return new ZL(new j2e());
39737
39737
  }
39738
- }, V_e = 11.7, H_e = 0.75, i3 = 21.6, $_e = "0 0 10 18", z_e = "M2.48935 16.9323L9.07098 9.82964C9.51595 9.34944 9.51504 8.60728 9.0689 8.12818L2.48866 1.06172C1.85811 0.384586 0.974477 0 0.049217 0H0V18H0.0443689C0.972463 18 1.85854 17.6131 2.48935 16.9323Z", W_e = "cartesian-rule_group__1d0mbae0", G_e = (e, t) => e.mapping.y !== void 0 != (t.mainAxis === "y"), U_e = (e, t) => {
39738
+ }, V_e = 11.7, H_e = 0.75, iD = 21.6, $_e = "0 0 10 18", z_e = "M2.48935 16.9323L9.07098 9.82964C9.51595 9.34944 9.51504 8.60728 9.0689 8.12818L2.48866 1.06172C1.85811 0.384586 0.974477 0 0.049217 0H0V18H0.0443689C0.972463 18 1.85854 17.6131 2.48935 16.9323Z", W_e = "cartesian-rule_group__1d0mbae0", G_e = (e, t) => e.mapping.y !== void 0 != (t.mainAxis === "y"), U_e = (e, t) => {
39739
39739
  const n = De(e ? 1 - t : t);
39740
39740
  return e ? {
39741
39741
  x1: "0%",
@@ -39783,17 +39783,17 @@ function Q_e() {
39783
39783
  function Z_e(e) {
39784
39784
  return "render" in e && "measure" in e;
39785
39785
  }
39786
- var e3e = "swatch_root__1uv26hu0", t3e = 2, n3e = 12, r3e = 12, a3 = 1, s3 = 2, o3e = 4, i3e = 3, a3e = 2, s3e = /* @__PURE__ */ new Set(["square", "slice"]), l3 = 0.375, NG = 1, Im = (e) => /* @__PURE__ */ m(Oi("Swatch", l3e), { ...e }), l3e = ({ shape: e, color: t, paint: n, lineType: r = "solid", width: o = n3e, height: i = r3e, strokeWidth: a = t3e, alpha: s, cornerRadius: l, symbol: c, mainAxis: u = "x" }) => {
39787
- const d = d3e(e, t, n, Math.min(o, i)), f = Ko({ paints: [d] }), h = f.fillFor(d);
39786
+ var eDe = "swatch_root__1uv26hu0", tDe = 2, nDe = 12, rDe = 12, aD = 1, sD = 2, oDe = 4, iDe = 3, aDe = 2, sDe = /* @__PURE__ */ new Set(["square", "slice"]), lD = 0.375, NG = 1, Im = (e) => /* @__PURE__ */ m(Oi("Swatch", lDe), { ...e }), lDe = ({ shape: e, color: t, paint: n, lineType: r = "solid", width: o = nDe, height: i = rDe, strokeWidth: a = tDe, alpha: s, cornerRadius: l, symbol: c, mainAxis: u = "x" }) => {
39787
+ const d = dDe(e, t, n, Math.min(o, i)), f = Ko({ paints: [d] }), h = f.fillFor(d);
39788
39788
  return /* @__PURE__ */ B("svg", {
39789
- className: e3e,
39789
+ className: eDe,
39790
39790
  width: o,
39791
39791
  height: i,
39792
39792
  viewBox: `0 0 ${o} ${i}`,
39793
39793
  "aria-hidden": !0,
39794
39794
  "data-testid": "chart-swatch",
39795
39795
  "data-shape": e,
39796
- children: [f.defs, c3e({
39796
+ children: [f.defs, cDe({
39797
39797
  shape: e,
39798
39798
  color: t,
39799
39799
  fill: h,
@@ -39807,8 +39807,8 @@ var e3e = "swatch_root__1uv26hu0", t3e = 2, n3e = 12, r3e = 12, a3 = 1, s3 = 2,
39807
39807
  mainAxis: u
39808
39808
  })]
39809
39809
  });
39810
- }, c3e = ({ shape: e, color: t, fill: n, lineType: r, width: o, height: i, strokeWidth: a, alpha: s, cornerRadius: l, symbol: c, mainAxis: u }) => {
39811
- const d = h3e(r, o);
39810
+ }, cDe = ({ shape: e, color: t, fill: n, lineType: r, width: o, height: i, strokeWidth: a, alpha: s, cornerRadius: l, symbol: c, mainAxis: u }) => {
39811
+ const d = hDe(r, o);
39812
39812
  switch (e) {
39813
39813
  case "square":
39814
39814
  return /* @__PURE__ */ m("rect", {
@@ -39879,7 +39879,7 @@ var e3e = "swatch_root__1uv26hu0", t3e = 2, n3e = 12, r3e = 12, a3 = 1, s3 = 2,
39879
39879
  });
39880
39880
  case "interval":
39881
39881
  return /* @__PURE__ */ m("path", {
39882
- d: u3e(o, i, u),
39882
+ d: uDe(o, i, u),
39883
39883
  fill: "none",
39884
39884
  stroke: t,
39885
39885
  strokeWidth: NG,
@@ -39888,22 +39888,22 @@ var e3e = "swatch_root__1uv26hu0", t3e = 2, n3e = 12, r3e = 12, a3 = 1, s3 = 2,
39888
39888
  default:
39889
39889
  return e;
39890
39890
  }
39891
- }, u3e = (e, t, n) => {
39891
+ }, uDe = (e, t, n) => {
39892
39892
  const r = NG / 2;
39893
39893
  if (n === "x") {
39894
- const s = e / 2, l = e * l3, c = (u) => `M ${s - l} ${u} H ${s + l}`;
39894
+ const s = e / 2, l = e * lD, c = (u) => `M ${s - l} ${u} H ${s + l}`;
39895
39895
  return `${c(r)} M ${s} ${r} V ${t - r} ${c(t - r)}`;
39896
39896
  }
39897
- const o = t / 2, i = t * l3, a = (s) => `M ${s} ${o - i} V ${o + i}`;
39897
+ const o = t / 2, i = t * lD, a = (s) => `M ${s} ${o - i} V ${o + i}`;
39898
39898
  return `${a(r)} M ${r} ${o} H ${e - r} ${a(e - r)}`;
39899
- }, d3e = (e, t, n, r) => n === void 0 ? t : s3e.has(e) ? f3e(n, r) : Ut(n), f3e = (e, t) => {
39899
+ }, dDe = (e, t, n, r) => n === void 0 ? t : sDe.has(e) ? fDe(n, r) : Ut(n), fDe = (e, t) => {
39900
39900
  if (typeof e == "string" || !Rd(e)) return e;
39901
- const n = Math.max(a3e, Math.floor(t / i3e));
39901
+ const n = Math.max(aDe, Math.floor(t / iDe));
39902
39902
  return {
39903
39903
  ...e,
39904
39904
  size: Math.min(e.size ?? 8, n)
39905
39905
  };
39906
- }, h3e = (e, t) => e === "solid" ? {
39906
+ }, hDe = (e, t) => e === "solid" ? {
39907
39907
  x1: 0,
39908
39908
  x2: t,
39909
39909
  dashArray: void 0,
@@ -39911,23 +39911,23 @@ var e3e = "swatch_root__1uv26hu0", t3e = 2, n3e = 12, r3e = 12, a3 = 1, s3 = 2,
39911
39911
  } : e === "dashed" ? {
39912
39912
  x1: 0,
39913
39913
  x2: t,
39914
- dashArray: `${(t - a3 * (s3 - 1)) / s3} ${a3}`,
39914
+ dashArray: `${(t - aD * (sD - 1)) / sD} ${aD}`,
39915
39915
  linecap: "butt"
39916
39916
  } : {
39917
39917
  x1: 0,
39918
39918
  x2: t,
39919
- dashArray: `1 ${t / (o3e - 1)}`,
39919
+ dashArray: `1 ${t / (oDe - 1)}`,
39920
39920
  linecap: "round"
39921
- }, p3e = /* @__PURE__ */ A4({
39922
- get: () => g3e,
39923
- getVarName: () => m3e,
39921
+ }, pDe = /* @__PURE__ */ A4({
39922
+ get: () => gDe,
39923
+ getVarName: () => mDe,
39924
39924
  walkObject: () => FG
39925
39925
  });
39926
- function m3e(e) {
39926
+ function mDe(e) {
39927
39927
  var t = e.match(/^var\((.*)\)$/);
39928
39928
  return t ? t[1] : e;
39929
39929
  }
39930
- function g3e(e, t) {
39930
+ function gDe(e, t) {
39931
39931
  var n = e;
39932
39932
  for (var r of t) {
39933
39933
  if (!(r in n)) throw new Error("Path ".concat(t.join(" -> "), " does not exist in object"));
@@ -39943,10 +39943,10 @@ function FG(e, t) {
39943
39943
  }
39944
39944
  return r;
39945
39945
  }
39946
- var v3e = pee((() => {
39947
- })), y3e = /* @__PURE__ */ zr(((e) => {
39946
+ var vDe = pee((() => {
39947
+ })), yDe = /* @__PURE__ */ zr(((e) => {
39948
39948
  Object.defineProperty(e, "__esModule", { value: !0 });
39949
- var t = mee(p3e);
39949
+ var t = mee(pDe);
39950
39950
  function n(r, o) {
39951
39951
  var i = {};
39952
39952
  if (typeof o == "object") {
@@ -39972,9 +39972,9 @@ var v3e = pee((() => {
39972
39972
  }), i;
39973
39973
  }
39974
39974
  e.assignInlineVars = n;
39975
- })), b3e = /* @__PURE__ */ zr(((e, t) => {
39976
- t.exports = y3e();
39977
- })), Yo = b3e(), Qd = (e, t = te.fontFamily) => ({
39975
+ })), bDe = /* @__PURE__ */ zr(((e, t) => {
39976
+ t.exports = yDe();
39977
+ })), Yo = bDe(), Qd = (e, t = te.fontFamily) => ({
39978
39978
  fontFamily: e.fontFamily ?? t,
39979
39979
  fontSize: e.fontSize,
39980
39980
  fontWeight: e.fontWeight,
@@ -40006,13 +40006,13 @@ var v3e = pee((() => {
40006
40006
  ...e.textTransform === void 0 ? {} : { textTransform: e.textTransform },
40007
40007
  ...VG(e),
40008
40008
  ...BG(e)
40009
- }), x3e = (e, t) => (0, Yo.assignInlineVars)({
40009
+ }), xDe = (e, t) => (0, Yo.assignInlineVars)({
40010
40010
  [e.fontFamily]: t.fontFamily ?? te.fontFamily,
40011
40011
  [e.fontSize]: `${t.fontSize}px`,
40012
40012
  [e.fontWeight]: String(t.fontWeight),
40013
40013
  [e.lineHeight]: String(t.lineHeight),
40014
40014
  [e.textColor]: t.textColor
40015
- }), HG = (e) => e.textOutlineColor !== void 0 && e.textOutlineWidth !== void 0 && e.textOutlineWidth > 0, S3e = ({ labelPosition: e, linePosition: t, color: n, pillWidth: r, pillHeight: o, text: i, shouldAnimateTransitions: a }) => {
40015
+ }), HG = (e) => e.textOutlineColor !== void 0 && e.textOutlineWidth !== void 0 && e.textOutlineWidth > 0, SDe = ({ labelPosition: e, linePosition: t, color: n, pillWidth: r, pillHeight: o, text: i, shouldAnimateTransitions: a }) => {
40016
40016
  const s = e === "start", l = s ? -13 : -(r - 13), c = s ? l + r - 5 : l + 5 - 12, u = s ? void 0 : `rotate(180 ${c + 12 / 2} ${o / 2})`, d = s ? "0%" : "100%", f = De(1 - t), h = /* @__PURE__ */ B("g", {
40017
40017
  transform: `translate(0, ${-o / 2})`,
40018
40018
  pointerEvents: "none",
@@ -40029,9 +40029,9 @@ var v3e = pee((() => {
40029
40029
  transform: u,
40030
40030
  children: /* @__PURE__ */ m("svg", {
40031
40031
  x: c,
40032
- y: (o - i3) / 2,
40032
+ y: (o - iD) / 2,
40033
40033
  width: 12,
40034
- height: i3,
40034
+ height: iD,
40035
40035
  viewBox: $_e,
40036
40036
  overflow: "visible",
40037
40037
  children: /* @__PURE__ */ m("path", {
@@ -40059,7 +40059,7 @@ var v3e = pee((() => {
40059
40059
  overflow: "visible",
40060
40060
  children: h
40061
40061
  });
40062
- }, w3e = ({ labelPosition: e, linePosition: t, color: n, pillWidth: r, pillHeight: o, panelWidth: i, text: a, shouldAnimateTransitions: s }) => {
40062
+ }, wDe = ({ labelPosition: e, linePosition: t, color: n, pillWidth: r, pillHeight: o, panelWidth: i, text: a, shouldAnimateTransitions: s }) => {
40063
40063
  const l = e === "start", c = l ? -13 : -(o - 13), u = De(t), d = l ? "100%" : "0%", f = /* @__PURE__ */ B("g", {
40064
40064
  transform: `translate(${X_e(t, r, i)}, 0)`,
40065
40065
  pointerEvents: "none",
@@ -40088,7 +40088,7 @@ var v3e = pee((() => {
40088
40088
  overflow: "visible",
40089
40089
  children: f
40090
40090
  });
40091
- }, T3e = ({ label: e, textStyle: t, textWidth: n, labelPosition: r, isHorizontalLine: o, position: i, color: a, textColor: s, symbolShape: l, symbolColor: c, symbolPaint: u, symbolAlpha: d, symbolCornerRadius: f, symbolGlyph: h, symbolMainAxis: p, panelWidth: g, shouldAnimateTransitions: v }) => {
40091
+ }, TDe = ({ label: e, textStyle: t, textWidth: n, labelPosition: r, isHorizontalLine: o, position: i, color: a, textColor: s, symbolShape: l, symbolColor: c, symbolPaint: u, symbolAlpha: d, symbolCornerRadius: f, symbolGlyph: h, symbolMainAxis: p, panelWidth: g, shouldAnimateTransitions: v }) => {
40092
40092
  const y = l === null ? 0 : 14, b = n + y + 10, S = Math.max(V_e, Ns(t)) + 10, w = /* @__PURE__ */ B(Le, { children: [l !== null && c !== null && /* @__PURE__ */ m("g", {
40093
40093
  transform: `translate(0, ${-10 / 2})`,
40094
40094
  children: /* @__PURE__ */ m(Im, {
@@ -40115,7 +40115,7 @@ var v3e = pee((() => {
40115
40115
  ...m1(t),
40116
40116
  children: Hd(e, t.textTransform)
40117
40117
  })] });
40118
- return o ? /* @__PURE__ */ m(S3e, {
40118
+ return o ? /* @__PURE__ */ m(SDe, {
40119
40119
  labelPosition: r,
40120
40120
  linePosition: i,
40121
40121
  color: a,
@@ -40123,7 +40123,7 @@ var v3e = pee((() => {
40123
40123
  pillHeight: S,
40124
40124
  text: w,
40125
40125
  shouldAnimateTransitions: v
40126
- }) : /* @__PURE__ */ m(w3e, {
40126
+ }) : /* @__PURE__ */ m(wDe, {
40127
40127
  labelPosition: r,
40128
40128
  linePosition: i,
40129
40129
  color: a,
@@ -40133,7 +40133,7 @@ var v3e = pee((() => {
40133
40133
  text: w,
40134
40134
  shouldAnimateTransitions: v
40135
40135
  });
40136
- }, A3e = ({ strokeWidth: e, dashArray: t, lineCap: n, lineJoin: r, isHorizontalLine: o, position: i, lineColor: a, effects: s, shouldAnimateTransitions: l }) => {
40136
+ }, ADe = ({ strokeWidth: e, dashArray: t, lineCap: n, lineJoin: r, isHorizontalLine: o, position: i, lineColor: a, effects: s, shouldAnimateTransitions: l }) => {
40137
40137
  const c = U_e(o, i), u = j_e(t, e, n, r);
40138
40138
  return l ? /* @__PURE__ */ m(on.line, {
40139
40139
  initial: !1,
@@ -40157,7 +40157,7 @@ var v3e = pee((() => {
40157
40157
  strokeWidth: e,
40158
40158
  vectorEffect: "non-scaling-stroke"
40159
40159
  });
40160
- }, C3e = vo(function({ layer: t, coordSystem: n, formattingLocale: r, shouldAnimateTransitions: o, panelWidth: i }) {
40160
+ }, CDe = vo(function({ layer: t, coordSystem: n, formattingLocale: r, shouldAnimateTransitions: o, panelWidth: i }) {
40161
40161
  const a = el(), s = ua(), { guides: l, numberFormat: c, specLayers: u, colorScale: d } = Te(Ln((M) => ({
40162
40162
  guides: M.guides,
40163
40163
  numberFormat: M.config.numberFormat,
@@ -40189,11 +40189,11 @@ var v3e = pee((() => {
40189
40189
  a
40190
40190
  ]), P = Jt(t), x = t.data.getFirst();
40191
40191
  if (!x) return null;
40192
- const k = P.get("stroke", x), _ = k3e(S, k), E = G_e(t, n), I = E ? xt(x) : Ct(x);
40192
+ const k = P.get("stroke", x), _ = kDe(S, k), E = G_e(t, n), I = E ? xt(x) : Ct(x);
40193
40193
  return I === null ? null : /* @__PURE__ */ B("g", {
40194
40194
  "data-geom": "rule",
40195
40195
  className: W_e,
40196
- children: [/* @__PURE__ */ m(A3e, {
40196
+ children: [/* @__PURE__ */ m(ADe, {
40197
40197
  strokeWidth: P.get("strokeWidth", x),
40198
40198
  dashArray: P.get("dashArray", x),
40199
40199
  lineCap: P.get("lineCap", x),
@@ -40203,7 +40203,7 @@ var v3e = pee((() => {
40203
40203
  lineColor: k,
40204
40204
  effects: wr(Sr(P, x)),
40205
40205
  shouldAnimateTransitions: o
40206
- }), A !== null && A !== "" && /* @__PURE__ */ m(T3e, {
40206
+ }), A !== null && A !== "" && /* @__PURE__ */ m(TDe, {
40207
40207
  label: A,
40208
40208
  textStyle: S,
40209
40209
  textWidth: T,
@@ -40223,10 +40223,10 @@ var v3e = pee((() => {
40223
40223
  shouldAnimateTransitions: o
40224
40224
  })]
40225
40225
  });
40226
- }), k3e = (e, t) => e.textColor === void 0 ? FC(t) : e.isTextColorThemed ? BC(e.textColor, t) : e.textColor, E3e = {
40226
+ }), kDe = (e, t) => e.textColor === void 0 ? FC(t) : e.isTextColorThemed ? BC(e.textColor, t) : e.textColor, EDe = {
40227
40227
  geom: "rule",
40228
40228
  coord: "cartesian",
40229
- render: ({ layer: e, coordSystem: t, formattingLocale: n, shouldAnimateTransitions: r, panelRect: o }) => /* @__PURE__ */ m(C3e, {
40229
+ render: ({ layer: e, coordSystem: t, formattingLocale: n, shouldAnimateTransitions: r, panelRect: o }) => /* @__PURE__ */ m(CDe, {
40230
40230
  layer: e,
40231
40231
  coordSystem: t,
40232
40232
  formattingLocale: n,
@@ -40235,7 +40235,7 @@ var v3e = pee((() => {
40235
40235
  }),
40236
40236
  renderHover: () => null,
40237
40237
  renderHoverCompanions: () => null
40238
- }, M3e = ({ layer: e, panelRect: t, styleReaders: n, shouldAnimateTransitions: r }) => {
40238
+ }, MDe = ({ layer: e, panelRect: t, styleReaders: n, shouldAnimateTransitions: r }) => {
40239
40239
  let o = "";
40240
40240
  for (const i of e.data) {
40241
40241
  const a = Tb(i);
@@ -40246,12 +40246,12 @@ var v3e = pee((() => {
40246
40246
  pathData: o,
40247
40247
  shouldAnimateTransitions: r
40248
40248
  }];
40249
- }, P3e = ({ intro: e, children: t }) => je(c1)?.isFading ? t : /* @__PURE__ */ m(on.g, {
40249
+ }, PDe = ({ intro: e, children: t }) => je(c1)?.isFading ? t : /* @__PURE__ */ m(on.g, {
40250
40250
  initial: { opacity: 0 },
40251
40251
  animate: { opacity: 1 },
40252
40252
  transition: sG(e),
40253
40253
  children: t
40254
- }), R3e = vo(function({ layer: t, shouldAnimateTransitions: n, intro: r }) {
40254
+ }), RDe = vo(function({ layer: t, shouldAnimateTransitions: n, intro: r }) {
40255
40255
  const o = r?.type === "fade" ? r : null, i = Jt(t), { paints: a, paintAt: s } = Rm(t, i), { fillFor: l, defs: c } = Ko({ paints: a }), u = Z(() => {
40256
40256
  const d = Xxe(t.data, t.mapping, t.id), f = [];
40257
40257
  let h = -1;
@@ -40269,7 +40269,7 @@ var v3e = pee((() => {
40269
40269
  effects: wr(Sr(i, p))
40270
40270
  });
40271
40271
  }
40272
- return f.map(({ key: p, ...g }) => /* @__PURE__ */ m(I3e, {
40272
+ return f.map(({ key: p, ...g }) => /* @__PURE__ */ m(IDe, {
40273
40273
  ...g,
40274
40274
  isAnimated: n
40275
40275
  }, p));
@@ -40280,11 +40280,11 @@ var v3e = pee((() => {
40280
40280
  l,
40281
40281
  s
40282
40282
  ]);
40283
- return o ? /* @__PURE__ */ B(P3e, {
40283
+ return o ? /* @__PURE__ */ B(PDe, {
40284
40284
  intro: o,
40285
40285
  children: [c, u]
40286
40286
  }) : /* @__PURE__ */ B(Le, { children: [c, u] });
40287
- }), I3e = ({ isAnimated: e, ...t }) => e ? /* @__PURE__ */ m(on.rect, {
40287
+ }), IDe = ({ isAnimated: e, ...t }) => e ? /* @__PURE__ */ m(on.rect, {
40288
40288
  initial: !1,
40289
40289
  style: t.effects,
40290
40290
  transition: Br,
@@ -40310,7 +40310,7 @@ var v3e = pee((() => {
40310
40310
  rx: t.rx,
40311
40311
  stroke: t.stroke,
40312
40312
  strokeWidth: t.strokeWidth
40313
- }), O3e = ({ layer: e, primary: t, panelRect: n }) => {
40313
+ }), ODe = ({ layer: e, primary: t, panelRect: n }) => {
40314
40314
  const r = Jt(e), o = r.get("fill", t.observation), { fillFor: i, defs: a } = Ko({ paints: [o] }), s = Tb(t.observation);
40315
40315
  if (!s) return null;
40316
40316
  const l = i(o), c = r.get("alpha", t.observation) * r.get("fillAlpha", t.observation), u = r.get("stroke", t.observation, "hovered") ?? "#ffffff", d = r.get("strokeWidth", t.observation, "hovered"), f = r.get("cornerRadius", t.observation, "hovered"), h = s.x * n.width, p = s.y * n.height, g = s.width * n.width, v = s.height * n.height;
@@ -40339,23 +40339,23 @@ var v3e = pee((() => {
40339
40339
  })
40340
40340
  ]
40341
40341
  });
40342
- }, L3e = {
40342
+ }, LDe = {
40343
40343
  geom: "tile",
40344
40344
  coord: "cartesian",
40345
40345
  swatchShape: "square",
40346
40346
  guideMode: null,
40347
- render: ({ layer: e, shouldAnimateTransitions: t, intro: n }) => /* @__PURE__ */ m(R3e, {
40347
+ render: ({ layer: e, shouldAnimateTransitions: t, intro: n }) => /* @__PURE__ */ m(RDe, {
40348
40348
  layer: e,
40349
40349
  shouldAnimateTransitions: t,
40350
40350
  intro: n
40351
40351
  }),
40352
- renderHover: ({ layer: e, primary: t, panelRect: n }) => /* @__PURE__ */ m(O3e, {
40352
+ renderHover: ({ layer: e, primary: t, panelRect: n }) => /* @__PURE__ */ m(ODe, {
40353
40353
  layer: e,
40354
40354
  primary: t,
40355
40355
  panelRect: n
40356
40356
  }),
40357
40357
  renderHoverCompanions: () => null,
40358
- getEditOutlineShapes: M3e
40358
+ getEditOutlineShapes: MDe
40359
40359
  }, zy = ({ primary: e, companions: t }) => {
40360
40360
  const n = /* @__PURE__ */ B(Le, { children: [t.map((r) => /* @__PURE__ */ m(Zs, {
40361
40361
  hit: r,
@@ -40378,7 +40378,7 @@ var v3e = pee((() => {
40378
40378
  scaleX: t.radius,
40379
40379
  scaleY: t.radius
40380
40380
  };
40381
- }, _3e = (e) => ({
40381
+ }, _De = (e) => ({
40382
40382
  ...Yd(e),
40383
40383
  digits: 2
40384
40384
  }), zG = (e, t, n) => $o(e, t, Yd(n)), hA = (e) => {
@@ -40386,7 +40386,7 @@ var v3e = pee((() => {
40386
40386
  if (!t) return "";
40387
40387
  const r = n.map((o) => `L ${o.x} ${o.y}`).join(" ");
40388
40388
  return `M ${t.x} ${t.y} ${r} Z`;
40389
- }, D3e = vo(function({ layer: t, panelRect: n }) {
40389
+ }, DDe = vo(function({ layer: t, panelRect: n }) {
40390
40390
  const r = Jt(t), o = Z(() => {
40391
40391
  const s = yo(t.data, t.mapping, t.id), l = [];
40392
40392
  return t.data.groupBy(St.group).forEach((c) => {
@@ -40462,7 +40462,7 @@ var v3e = pee((() => {
40462
40462
  outer: n,
40463
40463
  hole: r.some((o) => o.x !== 0 || o.y !== 0) ? [...r].reverse() : null
40464
40464
  };
40465
- }, N3e = ({ layer: e, panelRect: t }) => {
40465
+ }, NDe = ({ layer: e, panelRect: t }) => {
40466
40466
  const n = $G(t), r = [], o = [];
40467
40467
  return e.data.groupBy(St.group).forEach((i) => {
40468
40468
  const a = [...i], [s] = a;
@@ -40486,7 +40486,7 @@ var v3e = pee((() => {
40486
40486
  centers: o,
40487
40487
  size: 8
40488
40488
  }), r;
40489
- }, F3e = ({ layer: e, primary: t, companions: n, panelRect: r }) => {
40489
+ }, FDe = ({ layer: e, primary: t, companions: n, panelRect: r }) => {
40490
40490
  const o = Jt(e), i = sr(t.observation), a = o.get("fill", t.observation, "hovered"), { fillFor: s, defs: l } = Ko({
40491
40491
  paints: [a],
40492
40492
  unitsPerPixel: Pm(r)
@@ -40533,23 +40533,23 @@ var v3e = pee((() => {
40533
40533
  "data-testid": "hovered-area-point"
40534
40534
  })
40535
40535
  ] });
40536
- }, B3e = {
40536
+ }, BDe = {
40537
40537
  geom: "area",
40538
40538
  coord: "polar",
40539
40539
  swatchShape: "area",
40540
40540
  guideMode: "crosshair",
40541
- render: ({ layer: e, panelRect: t }) => /* @__PURE__ */ m(D3e, {
40541
+ render: ({ layer: e, panelRect: t }) => /* @__PURE__ */ m(DDe, {
40542
40542
  layer: e,
40543
40543
  panelRect: t
40544
40544
  }),
40545
- renderHover: ({ layer: e, primary: t, group: n, related: r, panelRect: o }) => /* @__PURE__ */ m(F3e, {
40545
+ renderHover: ({ layer: e, primary: t, group: n, related: r, panelRect: o }) => /* @__PURE__ */ m(FDe, {
40546
40546
  layer: e,
40547
40547
  primary: t,
40548
40548
  companions: [...n, ...r],
40549
40549
  panelRect: o
40550
40550
  }),
40551
40551
  renderHoverCompanions: ({ related: e }) => /* @__PURE__ */ m(zy, { companions: e }),
40552
- getEditOutlineShapes: N3e,
40552
+ getEditOutlineShapes: NDe,
40553
40553
  getOverlayAnchor: ({ observation: e }) => {
40554
40554
  const t = Ct(e), n = On(e) ?? xt(e);
40555
40555
  if (t === null || n === null) return null;
@@ -40594,7 +40594,7 @@ var v3e = pee((() => {
40594
40594
  union: s
40595
40595
  });
40596
40596
  return o;
40597
- }, V3e = (e, t, n, r, o) => e.get($b(t, o)) ?? {
40597
+ }, VDe = (e, t, n, r, o) => e.get($b(t, o)) ?? {
40598
40598
  style: d1(n, r),
40599
40599
  union: B9([o])
40600
40600
  }, VE = ({ style: e, union: t }) => Vxe(e.cornerRadius, t.outerRadius - t.innerRadius), jG = (e, t, n, r) => dc({
@@ -40609,8 +40609,8 @@ var v3e = pee((() => {
40609
40609
  from: e.startAngle,
40610
40610
  to: e.endAngle
40611
40611
  }
40612
- }, r), H3e = uG(BE), $3e = ({ layer: e, sourceLayer: t, coordSystem: n, panelRect: r, styleReaders: o, shouldAnimateTransitions: i }) => {
40613
- const { bandAxis: a } = n, s = H3e(t, a, o), l = _3e(r);
40612
+ }, r), HDe = uG(BE), $De = ({ layer: e, sourceLayer: t, coordSystem: n, panelRect: r, styleReaders: o, shouldAnimateTransitions: i }) => {
40613
+ const { bandAxis: a } = n, s = HDe(t, a, o), l = _De(r);
40614
40614
  let c = "";
40615
40615
  for (const u of e.data) {
40616
40616
  const d = FE(u);
@@ -40623,11 +40623,11 @@ var v3e = pee((() => {
40623
40623
  pathData: c,
40624
40624
  shouldAnimateTransitions: i
40625
40625
  }];
40626
- }, c3 = Math.PI * 2, Wy = (e, t) => ({
40626
+ }, cD = Math.PI * 2, Wy = (e, t) => ({
40627
40627
  stroke: e,
40628
40628
  strokeWidth: t,
40629
40629
  vectorEffect: "non-scaling-stroke"
40630
- }), z3e = vo(function({ layer: t, coordSystem: n, shouldAnimateTransitions: r, intro: o, panelRect: i }) {
40630
+ }), zDe = vo(function({ layer: t, coordSystem: n, shouldAnimateTransitions: r, intro: o, panelRect: i }) {
40631
40631
  const a = Yt(), s = f1(o?.type === "grow" && (o.growAxis === "angle" || o.growAxis === "radius") ? o : null, r), l = n.bandAxis !== "x", c = Jt(t), { paints: u, paintAt: d } = Rm(t, c), { fillFor: f, defs: h } = Ko({
40632
40632
  paints: u,
40633
40633
  unitsPerPixel: Pm(i)
@@ -40660,7 +40660,7 @@ var v3e = pee((() => {
40660
40660
  children: [h, p.map((g, v) => {
40661
40661
  const { stroke: y, strokeWidth: b, strokeAlpha: S } = g.style, w = y !== void 0, A = vm(b), T = y === void 0 ? {} : Wy(y, A.separatorWidth), P = y === void 0 ? void 0 : Wy(y, A.outlineWidth), x = g.members.map((I) => {
40662
40662
  const { key: M, ...L } = I;
40663
- return s.isAnimated ? /* @__PURE__ */ m(W3e, {
40663
+ return s.isAnimated ? /* @__PURE__ */ m(WDe, {
40664
40664
  ...L,
40665
40665
  animation: s,
40666
40666
  sweepsInOnLateMount: l,
@@ -40681,7 +40681,7 @@ var v3e = pee((() => {
40681
40681
  const _ = `${a}${v}`;
40682
40682
  if (s.isAnimated) return /* @__PURE__ */ m("g", {
40683
40683
  clipPath: `url(#${_})`,
40684
- children: /* @__PURE__ */ m(G3e, {
40684
+ children: /* @__PURE__ */ m(GDe, {
40685
40685
  ...g.union,
40686
40686
  cornerRadius: k,
40687
40687
  animation: s,
@@ -40716,7 +40716,7 @@ var v3e = pee((() => {
40716
40716
  })]
40717
40717
  });
40718
40718
  }), KG = ({ startAngle: e, endAngle: t, innerRadius: n, outerRadius: r, cornerRadius: o, animation: i, sweepsInOnLateMount: a, introKey: s }) => {
40719
- const l = i.activeIntro?.growAxis === "angle" ? i.activeIntro : null, c = i.activeIntro?.growAxis === "radius" ? i.activeIntro : null, u = a && !i.isLayerEntrance, d = l?.baseline ?? (u ? c3 : e), f = l?.baseline ?? (u ? c3 : t), h = c ? c.baseline : n, p = c ? c.baseline : r, g = ri(d), v = ri(f), y = ri(h), b = ri(p), S = ri(dc({
40719
+ const l = i.activeIntro?.growAxis === "angle" ? i.activeIntro : null, c = i.activeIntro?.growAxis === "radius" ? i.activeIntro : null, u = a && !i.isLayerEntrance, d = l?.baseline ?? (u ? cD : e), f = l?.baseline ?? (u ? cD : t), h = c ? c.baseline : n, p = c ? c.baseline : r, g = ri(d), v = ri(f), y = ri(h), b = ri(p), S = ri(dc({
40720
40720
  startAngle: d,
40721
40721
  endAngle: f,
40722
40722
  innerRadius: h,
@@ -40775,14 +40775,14 @@ var v3e = pee((() => {
40775
40775
  o,
40776
40776
  S
40777
40777
  ]), S;
40778
- }, W3e = ({ pathProps: e, ...t }) => {
40778
+ }, WDe = ({ pathProps: e, ...t }) => {
40779
40779
  const n = KG(t);
40780
40780
  return /* @__PURE__ */ m(on.path, {
40781
40781
  d: n,
40782
40782
  transition: Br,
40783
40783
  ...e
40784
40784
  });
40785
- }, G3e = ({ clipId: e, outlineProps: t, outlineOpacity: n, children: r, ...o }) => {
40785
+ }, GDe = ({ clipId: e, outlineProps: t, outlineOpacity: n, children: r, ...o }) => {
40786
40786
  const i = KG(o);
40787
40787
  return /* @__PURE__ */ B(Le, { children: [
40788
40788
  /* @__PURE__ */ m("clipPath", {
@@ -40798,7 +40798,7 @@ var v3e = pee((() => {
40798
40798
  ...t
40799
40799
  })
40800
40800
  ] });
40801
- }, U3e = (e, t, n) => {
40801
+ }, UDe = (e, t, n) => {
40802
40802
  const r = e === "solo" || e === "floor", o = e === "solo" || e === "ceiling", i = !rc(n.startAngle, n.endAngle);
40803
40803
  return t === "x" ? {
40804
40804
  innerArc: r,
@@ -40814,7 +40814,7 @@ var v3e = pee((() => {
40814
40814
  }, YG = ({ observation: e, bandAxis: t, styleReaders: n, groupPaints: r, state: o, fill: i }) => {
40815
40815
  const a = Yt(), s = FE(e);
40816
40816
  if (s === null) return null;
40817
- const l = V3e(r, t, n, e, s), c = jG(s, l, t);
40817
+ const l = VDe(r, t, n, e, s), c = jG(s, l, t);
40818
40818
  if (c === void 0) return null;
40819
40819
  const u = n.get("alpha", e, o) * n.get("fillAlpha", e, o), { stroke: d, strokeWidth: f, strokeAlpha: h } = l.style;
40820
40820
  if (d === void 0) return /* @__PURE__ */ m("path", {
@@ -40823,7 +40823,7 @@ var v3e = pee((() => {
40823
40823
  opacity: u,
40824
40824
  "data-testid": "arc-segment"
40825
40825
  });
40826
- const p = vm(f), g = U3e(rF(e), t, l.union), v = K3e(s, Y3e(g)), y = dc({
40826
+ const p = vm(f), g = UDe(rF(e), t, l.union), v = KDe(s, YDe(g)), y = dc({
40827
40827
  ...l.union,
40828
40828
  cornerRadius: VE(l)
40829
40829
  });
@@ -40854,7 +40854,7 @@ var v3e = pee((() => {
40854
40854
  })
40855
40855
  ]
40856
40856
  });
40857
- }, j3e = ({ layer: e, sourceLayer: t, coordSystem: n, panelRect: r }) => {
40857
+ }, jDe = ({ layer: e, sourceLayer: t, coordSystem: n, panelRect: r }) => {
40858
40858
  const o = Jt(t), i = Z(() => BE(t, n.bandAxis, o), [
40859
40859
  t,
40860
40860
  n.bandAxis,
@@ -40884,26 +40884,26 @@ var v3e = pee((() => {
40884
40884
  }, Ah = (e, t) => {
40885
40885
  const n = $o(t, e);
40886
40886
  return `${n.x},${n.y}`;
40887
- }, u3 = (e, t, n) => {
40887
+ }, uD = (e, t, n) => {
40888
40888
  if (e <= 0) return "";
40889
40889
  const r = Ah(e, t);
40890
40890
  if (rc(t, n)) return `M${r}A${e},${e} 0 1 1 ${Ah(e, t + Math.PI)}A${e},${e} 0 1 1 ${r}`;
40891
40891
  const o = n - t;
40892
40892
  return `M${r}A${e},${e} 0 ${Math.abs(o) > Math.PI ? 1 : 0} ${o >= 0 ? 1 : 0} ${Ah(e, n)}`;
40893
- }, d3 = (e, t, n) => `M${Ah(t, e)}L${Ah(n, e)}`, K3e = (e, t) => {
40893
+ }, dD = (e, t, n) => `M${Ah(t, e)}L${Ah(n, e)}`, KDe = (e, t) => {
40894
40894
  const { startAngle: n, endAngle: r, innerRadius: o, outerRadius: i } = e, a = rc(n, r);
40895
40895
  return [
40896
- t.innerArc ? u3(o, n, r) : "",
40897
- t.outerArc ? u3(i, n, r) : "",
40898
- t.startSpoke && !a ? d3(n, o, i) : "",
40899
- t.endSpoke && !a ? d3(r, o, i) : ""
40896
+ t.innerArc ? uD(o, n, r) : "",
40897
+ t.outerArc ? uD(i, n, r) : "",
40898
+ t.startSpoke && !a ? dD(n, o, i) : "",
40899
+ t.endSpoke && !a ? dD(r, o, i) : ""
40900
40900
  ].filter(Boolean).join("");
40901
- }, Y3e = (e) => ({
40901
+ }, YDe = (e) => ({
40902
40902
  innerArc: !e.innerArc,
40903
40903
  outerArc: !e.outerArc,
40904
40904
  startSpoke: !e.startSpoke,
40905
40905
  endSpoke: !e.endSpoke
40906
- }), q3e = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
40906
+ }), qDe = ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => {
40907
40907
  const o = Jt(e), i = Z(() => BE(e, t.bandAxis, o), [
40908
40908
  e,
40909
40909
  t.bandAxis,
@@ -40930,33 +40930,33 @@ var v3e = pee((() => {
40930
40930
  fill: s(a)
40931
40931
  })]
40932
40932
  });
40933
- }, X3e = {
40933
+ }, XDe = {
40934
40934
  geom: "bar",
40935
40935
  coord: "polar",
40936
40936
  swatchShape: "slice",
40937
40937
  guideMode: "band",
40938
- render: ({ layer: e, coordSystem: t, shouldAnimateTransitions: n, intro: r, panelRect: o }) => /* @__PURE__ */ m(z3e, {
40938
+ render: ({ layer: e, coordSystem: t, shouldAnimateTransitions: n, intro: r, panelRect: o }) => /* @__PURE__ */ m(zDe, {
40939
40939
  layer: e,
40940
40940
  coordSystem: t,
40941
40941
  shouldAnimateTransitions: n,
40942
40942
  intro: r,
40943
40943
  panelRect: o
40944
40944
  }),
40945
- renderHighlight: ({ layer: e, sourceLayer: t, coordSystem: n, panelRect: r }) => /* @__PURE__ */ m(j3e, {
40945
+ renderHighlight: ({ layer: e, sourceLayer: t, coordSystem: n, panelRect: r }) => /* @__PURE__ */ m(jDe, {
40946
40946
  layer: e,
40947
40947
  sourceLayer: t,
40948
40948
  coordSystem: n,
40949
40949
  panelRect: r
40950
40950
  }),
40951
- renderHover: ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => /* @__PURE__ */ m(q3e, {
40951
+ renderHover: ({ layer: e, coordSystem: t, primary: n, panelRect: r }) => /* @__PURE__ */ m(qDe, {
40952
40952
  layer: e,
40953
40953
  coordSystem: t,
40954
40954
  primary: n,
40955
40955
  panelRect: r
40956
40956
  }),
40957
40957
  renderHoverCompanions: () => null,
40958
- getEditOutlineShapes: $3e
40959
- }, J3e = vo(function({ layer: t }) {
40958
+ getEditOutlineShapes: $De
40959
+ }, JDe = vo(function({ layer: t }) {
40960
40960
  const n = Jt(t), r = Z(() => {
40961
40961
  const o = yo(t.data, t.mapping, t.id), i = [];
40962
40962
  return t.data.groupBy(St.group).forEach((a) => {
@@ -41015,7 +41015,7 @@ var v3e = pee((() => {
41015
41015
  });
41016
41016
  }
41017
41017
  return t.sort((n, r) => n.angle - r.angle), t.map((n) => n.point);
41018
- }, Q3e = ({ layer: e, panelRect: t, styleReaders: n }) => {
41018
+ }, QDe = ({ layer: e, panelRect: t, styleReaders: n }) => {
41019
41019
  const r = $G(t), o = [], i = [];
41020
41020
  return e.data.groupBy(St.group).forEach((a) => {
41021
41021
  const s = [...a], [l] = s;
@@ -41037,7 +41037,7 @@ var v3e = pee((() => {
41037
41037
  centers: i,
41038
41038
  size: 8
41039
41039
  }), o;
41040
- }, Z3e = ({ layer: e, primary: t, companions: n }) => {
41040
+ }, ZDe = ({ layer: e, primary: t, companions: n }) => {
41041
41041
  const r = Jt(e), o = sr(t.observation), i = Z(() => qG([...e.data.filter(St.group, "eq", o)]), [e.data, o]);
41042
41042
  if (!i) return null;
41043
41043
  const a = r.get("stroke", t.observation, "hovered"), s = r.get("alpha", t.observation, "hovered"), l = r.get("strokeAlpha", t.observation, "hovered"), c = r.get("strokeWidth", t.observation, "hovered"), u = Wo(r.get("dashArray", t.observation, "hovered"), c), d = r.get("lineCap", t.observation, "hovered"), f = r.get("lineJoin", t.observation, "hovered");
@@ -41075,19 +41075,19 @@ var v3e = pee((() => {
41075
41075
  "data-testid": "hovered-line-point"
41076
41076
  })
41077
41077
  ] });
41078
- }, eDe = {
41078
+ }, e3e = {
41079
41079
  geom: "line",
41080
41080
  coord: "polar",
41081
41081
  swatchShape: "line",
41082
41082
  guideMode: "crosshair",
41083
- render: ({ layer: e }) => /* @__PURE__ */ m(J3e, { layer: e }),
41084
- renderHover: ({ layer: e, primary: t, group: n, related: r }) => /* @__PURE__ */ m(Z3e, {
41083
+ render: ({ layer: e }) => /* @__PURE__ */ m(JDe, { layer: e }),
41084
+ renderHover: ({ layer: e, primary: t, group: n, related: r }) => /* @__PURE__ */ m(ZDe, {
41085
41085
  layer: e,
41086
41086
  primary: t,
41087
41087
  companions: [...n, ...r]
41088
41088
  }),
41089
41089
  renderHoverCompanions: ({ related: e }) => /* @__PURE__ */ m(zy, { companions: e }),
41090
- getEditOutlineShapes: Q3e,
41090
+ getEditOutlineShapes: QDe,
41091
41091
  getOverlayAnchor: ({ observation: e }) => {
41092
41092
  const t = Ct(e), n = xt(e);
41093
41093
  if (t === null || n === null) return null;
@@ -41097,7 +41097,7 @@ var v3e = pee((() => {
41097
41097
  y: 1 - o
41098
41098
  };
41099
41099
  }
41100
- }, tDe = vo(function({ layer: t, shouldAnimateTransitions: n, intro: r }) {
41100
+ }, t3e = vo(function({ layer: t, shouldAnimateTransitions: n, intro: r }) {
41101
41101
  const o = Jt(t), i = f1(r?.type === "grow" && r.growAxis === "size" ? r : null, n);
41102
41102
  return Z(() => {
41103
41103
  const a = i.activeIntro ? yo(t.data, t.mapping, t.id) : null, s = [];
@@ -41117,11 +41117,11 @@ var v3e = pee((() => {
41117
41117
  o,
41118
41118
  i
41119
41119
  ]);
41120
- }), nDe = {
41120
+ }), n3e = {
41121
41121
  geom: "point",
41122
41122
  coord: "polar",
41123
41123
  swatchShape: "circle",
41124
- render: ({ layer: e, shouldAnimateTransitions: t, intro: n }) => /* @__PURE__ */ m(tDe, {
41124
+ render: ({ layer: e, shouldAnimateTransitions: t, intro: n }) => /* @__PURE__ */ m(t3e, {
41125
41125
  layer: e,
41126
41126
  shouldAnimateTransitions: t,
41127
41127
  intro: n
@@ -41147,22 +41147,22 @@ var v3e = pee((() => {
41147
41147
  }, JG = {
41148
41148
  bar: {
41149
41149
  cartesian: r_e,
41150
- polar: X3e
41150
+ polar: XDe
41151
41151
  },
41152
41152
  line: {
41153
41153
  cartesian: d_e,
41154
- polar: eDe
41154
+ polar: e3e
41155
41155
  },
41156
41156
  area: {
41157
41157
  cartesian: R5e,
41158
- polar: B3e
41158
+ polar: BDe
41159
41159
  },
41160
41160
  point: {
41161
41161
  cartesian: h_e,
41162
- polar: nDe
41162
+ polar: n3e
41163
41163
  },
41164
- rule: { cartesian: E3e },
41165
- tile: { cartesian: L3e }
41164
+ rule: { cartesian: EDe },
41165
+ tile: { cartesian: LDe }
41166
41166
  };
41167
41167
  function v1(e) {
41168
41168
  return typeof e == "function" ? {
@@ -41192,7 +41192,7 @@ function QG(e = []) {
41192
41192
  for (const n of e) (t[n.geom] ??= {})[n.coord] = n;
41193
41193
  return (n, r) => t[n]?.[r] ?? null;
41194
41194
  }
41195
- var ZG = wt(null), rDe = ZG.Provider, oDe = null, ua = () => je(ZG) ?? (oDe ??= QG()), eU = (e) => typeof e == "number" ? {
41195
+ var ZG = wt(null), r3e = ZG.Provider, o3e = null, ua = () => je(ZG) ?? (o3e ??= QG()), eU = (e) => typeof e == "number" ? {
41196
41196
  topLeft: e,
41197
41197
  topRight: e,
41198
41198
  bottomRight: e,
@@ -41201,21 +41201,21 @@ var ZG = wt(null), rDe = ZG.Provider, oDe = null, ua = () => je(ZG) ?? (oDe ??=
41201
41201
  if (typeof e == "number") return e;
41202
41202
  const { topLeft: t, topRight: n, bottomRight: r, bottomLeft: o } = e;
41203
41203
  return t === n && n === r && r === o ? t : null;
41204
- }, iDe = (e) => {
41204
+ }, i3e = (e) => {
41205
41205
  const { topLeft: t, topRight: n, bottomRight: r, bottomLeft: o } = eU(e);
41206
41206
  return t > 0 || n > 0 || r > 0 || o > 0;
41207
41207
  }, Zd = (e, t = 0) => {
41208
41208
  const n = y1(e);
41209
- if (n !== null) return `${f3(n, t)}px`;
41209
+ if (n !== null) return `${fD(n, t)}px`;
41210
41210
  const { topLeft: r, topRight: o, bottomRight: i, bottomLeft: a } = e;
41211
41211
  return [
41212
41212
  r,
41213
41213
  o,
41214
41214
  i,
41215
41215
  a
41216
- ].map((s) => `${f3(s, t)}px`).join(" ");
41216
+ ].map((s) => `${fD(s, t)}px`).join(" ");
41217
41217
  }, HE = (e, t) => {
41218
- const { x: n, y: r, width: o, height: i } = e, { topLeft: a, topRight: s, bottomRight: l, bottomLeft: c } = aDe(eU(t), o, i), u = n + o, d = r + i, f = (h, p, g) => h > 0 ? `A${h},${h},0,0,1,${p},${g}` : "";
41218
+ const { x: n, y: r, width: o, height: i } = e, { topLeft: a, topRight: s, bottomRight: l, bottomLeft: c } = a3e(eU(t), o, i), u = n + o, d = r + i, f = (h, p, g) => h > 0 ? `A${h},${h},0,0,1,${p},${g}` : "";
41219
41219
  return [
41220
41220
  `M${n + a},${r}`,
41221
41221
  `H${u - s}`,
@@ -41228,7 +41228,7 @@ var ZG = wt(null), rDe = ZG.Provider, oDe = null, ua = () => je(ZG) ?? (oDe ??=
41228
41228
  f(a, n + a, r),
41229
41229
  "Z"
41230
41230
  ].filter((h) => h !== "").join("");
41231
- }, f3 = (e, t) => e === 0 ? 0 : e + t, aDe = (e, t, n) => {
41231
+ }, fD = (e, t) => e === 0 ? 0 : e + t, a3e = (e, t, n) => {
41232
41232
  const { topLeft: r, topRight: o, bottomRight: i, bottomLeft: a } = e, s = Math.min(1, ...[
41233
41233
  [t, r + o],
41234
41234
  [t, a + i],
@@ -41250,12 +41250,12 @@ var ZG = wt(null), rDe = ZG.Provider, oDe = null, ua = () => je(ZG) ?? (oDe ??=
41250
41250
  if (Rd(e)) {
41251
41251
  const r = e.size ?? 8, o = r / 6;
41252
41252
  return {
41253
- background: [...sDe(e, r, o), ...e.background === void 0 ? [] : [e.background]].join(", "),
41253
+ background: [...s3e(e, r, o), ...e.background === void 0 ? [] : [e.background]].join(", "),
41254
41254
  backgroundSize: `${r}px ${r}px`
41255
41255
  };
41256
41256
  }
41257
41257
  if ((e.fit ?? "tile") === "stretch") return {
41258
- background: `${m3(p3(e, {
41258
+ background: `${mD(pD(e, {
41259
41259
  width: 1,
41260
41260
  height: 1
41261
41261
  }))} no-repeat center, ${e.fallback}`,
@@ -41263,24 +41263,24 @@ var ZG = wt(null), rDe = ZG.Provider, oDe = null, ua = () => je(ZG) ?? (oDe ??=
41263
41263
  };
41264
41264
  const n = dG(e, t);
41265
41265
  return {
41266
- background: `${m3(p3(e, n))} repeat, ${e.fallback}`,
41266
+ background: `${mD(pD(e, n))} repeat, ${e.fallback}`,
41267
41267
  backgroundSize: `${n.width}px ${n.height}px`
41268
41268
  };
41269
- }, sDe = (e, t, n) => {
41269
+ }, s3e = (e, t, n) => {
41270
41270
  if (e.pattern === "dots") return [`radial-gradient(circle, ${e.color} ${n}px, transparent ${n}px)`];
41271
41271
  if (e.pattern === "lines") {
41272
41272
  const r = `${t * O5e}px`;
41273
41273
  return [`linear-gradient(to bottom, ${e.color} ${r}, transparent ${r})`];
41274
41274
  }
41275
- return [h3(-45, e.color, t, n), ...e.pattern === "crosshatch" ? [h3(45, e.color, t, n)] : []];
41276
- }, h3 = (e, t, n, r) => {
41275
+ return [hD(-45, e.color, t, n), ...e.pattern === "crosshatch" ? [hD(45, e.color, t, n)] : []];
41276
+ }, hD = (e, t, n, r) => {
41277
41277
  const o = `${n / Math.SQRT2}px`, i = `${r / 2}px`, a = `${n / Math.SQRT2 - r / 2}px`;
41278
41278
  return `repeating-linear-gradient(${e}deg, ${t} 0 ${i}, transparent ${i} ${a}, ${t} ${a} ${o})`;
41279
- }, p3 = (e, t) => {
41279
+ }, pD = (e, t) => {
41280
41280
  if (e.alpha === void 0 || e.alpha >= 1) return e.image;
41281
- const n = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${t.width} ${t.height}" preserveAspectRatio="none"><image href="${lDe(e.image)}" width="${t.width}" height="${t.height}" opacity="${e.alpha}" preserveAspectRatio="none"/></svg>`;
41281
+ const n = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${t.width} ${t.height}" preserveAspectRatio="none"><image href="${l3e(e.image)}" width="${t.width}" height="${t.height}" opacity="${e.alpha}" preserveAspectRatio="none"/></svg>`;
41282
41282
  return `data:image/svg+xml,${encodeURIComponent(n)}`;
41283
- }, lDe = (e) => e.replace(/&/gu, "&amp;").replace(/</gu, "&lt;").replace(/>/gu, "&gt;").replace(/"/gu, "&quot;"), m3 = (e) => `url("${e.replace(/[\\"]/gu, "\\$&").replace(/[\n\r\f]/gu, (t) => `\\${t.charCodeAt(0).toString(16)} `)}")`;
41283
+ }, l3e = (e) => e.replace(/&/gu, "&amp;").replace(/</gu, "&lt;").replace(/>/gu, "&gt;").replace(/"/gu, "&quot;"), mD = (e) => `url("${e.replace(/[\\"]/gu, "\\$&").replace(/[\n\r\f]/gu, (t) => `\\${t.charCodeAt(0).toString(16)} `)}")`;
41284
41284
  function tU(e) {
41285
41285
  var t, n, r = "";
41286
41286
  if (typeof e == "string" || typeof e == "number") r += e;
@@ -41294,12 +41294,12 @@ function An() {
41294
41294
  for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = tU(e)) && (r && (r += " "), r += t);
41295
41295
  return r;
41296
41296
  }
41297
- var cDe = "theme-provider_root__74ffgy0", uDe = "theme-provider_portalRoot__74ffgy1", dDe = "theme-provider_inner__74ffgy2", fDe = "theme-provider_editorFocusScope__74ffgy3", hDe = "theme-provider_editorTransparencyBackdrop__74ffgy4", nU = "themes_lightTheme__1eul5320", pDe = "themes_darkTheme__1eul5321", rU = wt({
41297
+ var c3e = "theme-provider_root__74ffgy0", u3e = "theme-provider_portalRoot__74ffgy1", d3e = "theme-provider_inner__74ffgy2", f3e = "theme-provider_editorFocusScope__74ffgy3", h3e = "theme-provider_editorTransparencyBackdrop__74ffgy4", nU = "themes_lightTheme__1eul5320", p3e = "themes_darkTheme__1eul5321", rU = wt({
41298
41298
  colorScheme: "light",
41299
41299
  themeClass: nU,
41300
41300
  inlineVarsStyle: {},
41301
41301
  themeValues: DE("light", {})
41302
- }), $c = () => je(rU), mDe = ({ colorScheme: e, textScale: t = 1, graphBackground: n, graphFontFamily: r, headingFontFamily: o, children: i }) => {
41302
+ }), $c = () => je(rU), m3e = ({ colorScheme: e, textScale: t = 1, graphBackground: n, graphFontFamily: r, headingFontFamily: o, children: i }) => {
41303
41303
  const a = Z(() => DE(e), [e]), s = Z(() => {
41304
41304
  const c = { [te.textScale]: String(t) };
41305
41305
  return n !== void 0 && (c[te.graphBackground] = n), r !== void 0 && (c[te.fontFamily] = r), o !== void 0 && (c[te.fontFamilyHeading] = o), (0, Yo.assignInlineVars)(c);
@@ -41310,7 +41310,7 @@ var cDe = "theme-provider_root__74ffgy0", uDe = "theme-provider_portalRoot__74ff
41310
41310
  o
41311
41311
  ]), l = Z(() => ({
41312
41312
  colorScheme: e,
41313
- themeClass: e === "dark" ? pDe : nU,
41313
+ themeClass: e === "dark" ? p3e : nU,
41314
41314
  inlineVarsStyle: s,
41315
41315
  themeValues: a
41316
41316
  }), [
@@ -41325,7 +41325,7 @@ var cDe = "theme-provider_root__74ffgy0", uDe = "theme-provider_portalRoot__74ff
41325
41325
  }, bo = ({ children: e, className: t, style: n }) => {
41326
41326
  const { colorScheme: r, themeClass: o, inlineVarsStyle: i } = $c();
41327
41327
  return /* @__PURE__ */ m("div", {
41328
- className: An(o, uDe, t),
41328
+ className: An(o, u3e, t),
41329
41329
  style: {
41330
41330
  ...i,
41331
41331
  ...n
@@ -41333,7 +41333,7 @@ var cDe = "theme-provider_root__74ffgy0", uDe = "theme-provider_portalRoot__74ff
41333
41333
  "data-graphy-color-scheme": r,
41334
41334
  children: e
41335
41335
  });
41336
- }, gDe = "graphy_root", xo = () => typeof document > "u" ? null : document.getElementById(gDe) ?? document.body, oU = {
41336
+ }, g3e = "graphy_root", xo = () => typeof document > "u" ? null : document.getElementById(g3e) ?? document.body, oU = {
41337
41337
  modern: "'Inter', -apple-system, BlinkMacSystemFont, 'Open Sans', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif",
41338
41338
  timeless: "'Noto Serif', Georgia, 'Times New Roman', serif",
41339
41339
  fresh: "'Aeonik', 'Aeonik Fallback', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif",
@@ -41347,21 +41347,21 @@ var cDe = "theme-provider_root__74ffgy0", uDe = "theme-provider_portalRoot__74ff
41347
41347
  const t = pA(e);
41348
41348
  if (t !== void 0)
41349
41349
  return oU[t] ?? t;
41350
- }, vDe = "rich-text-renderer_link__yr622d0", vd = ({ content: e }) => /* @__PURE__ */ m(Le, { children: iU(e.content ?? [e]) }), iU = (e) => e.map((t, n) => yDe(t, n)), yDe = (e, t) => {
41351
- if (e.type === "text") return bDe(e, t);
41350
+ }, v3e = "rich-text-renderer_link__yr622d0", vd = ({ content: e }) => /* @__PURE__ */ m(Le, { children: iU(e.content ?? [e]) }), iU = (e) => e.map((t, n) => y3e(t, n)), y3e = (e, t) => {
41351
+ if (e.type === "text") return b3e(e, t);
41352
41352
  if (e.type === "hardBreak" || e.type === "hard_break") return /* @__PURE__ */ m("br", {}, t);
41353
41353
  const n = e.content ? iU(e.content) : null;
41354
41354
  switch (e.type) {
41355
41355
  case "doc":
41356
41356
  return /* @__PURE__ */ m(xc, { children: n }, t);
41357
41357
  case "heading": {
41358
- const r = TDe(e.attrs?.level);
41359
- return ADe(r, t, n, g3(e.attrs));
41358
+ const r = T3e(e.attrs?.level);
41359
+ return A3e(r, t, n, gD(e.attrs));
41360
41360
  }
41361
41361
  case "paragraph":
41362
41362
  return /* @__PURE__ */ m("p", {
41363
41363
  "data-variant": $E(e.attrs?.variant) ?? void 0,
41364
- style: aU(g3(e.attrs)),
41364
+ style: aU(gD(e.attrs)),
41365
41365
  children: n
41366
41366
  }, t);
41367
41367
  case "blockquote":
@@ -41378,10 +41378,10 @@ var cDe = "theme-provider_root__74ffgy0", uDe = "theme-provider_portalRoot__74ff
41378
41378
  default:
41379
41379
  return /* @__PURE__ */ m("span", { children: n }, t);
41380
41380
  }
41381
- }, bDe = (e, t) => {
41381
+ }, b3e = (e, t) => {
41382
41382
  const n = e.text ?? "";
41383
- return !e.marks || e.marks.length === 0 ? /* @__PURE__ */ m("span", { children: n }, t) : e.marks.reduceRight((r, o, i) => xDe(o, r, `${t}-${i}`), n);
41384
- }, xDe = (e, t, n) => {
41383
+ return !e.marks || e.marks.length === 0 ? /* @__PURE__ */ m("span", { children: n }, t) : e.marks.reduceRight((r, o, i) => x3e(o, r, `${t}-${i}`), n);
41384
+ }, x3e = (e, t, n) => {
41385
41385
  switch (e.type) {
41386
41386
  case "bold":
41387
41387
  case "strong":
@@ -41400,7 +41400,7 @@ var cDe = "theme-provider_root__74ffgy0", uDe = "theme-provider_portalRoot__74ff
41400
41400
  case "link": {
41401
41401
  const r = $E(e.attrs?.href);
41402
41402
  return jb(r) ? /* @__PURE__ */ m("a", {
41403
- className: vDe,
41403
+ className: v3e,
41404
41404
  href: r,
41405
41405
  rel: "noopener noreferrer",
41406
41406
  target: "_blank",
@@ -41408,7 +41408,7 @@ var cDe = "theme-provider_root__74ffgy0", uDe = "theme-provider_portalRoot__74ff
41408
41408
  }, n) : /* @__PURE__ */ m("span", { children: t }, n);
41409
41409
  }
41410
41410
  case "textStyle": {
41411
- const r = SDe(e.attrs);
41411
+ const r = S3e(e.attrs);
41412
41412
  return r ? /* @__PURE__ */ m("span", {
41413
41413
  style: r,
41414
41414
  children: t
@@ -41417,17 +41417,17 @@ var cDe = "theme-provider_root__74ffgy0", uDe = "theme-provider_portalRoot__74ff
41417
41417
  default:
41418
41418
  return /* @__PURE__ */ m("span", { children: t }, n);
41419
41419
  }
41420
- }, SDe = (e) => {
41420
+ }, S3e = (e) => {
41421
41421
  if (!e) return null;
41422
41422
  const t = {}, n = $E(e.color);
41423
41423
  n && (t.color = n);
41424
41424
  const r = mA(e.font) ?? mA(e.fontFamily);
41425
41425
  r && (t.fontFamily = r);
41426
- const o = wDe(e.fontSize);
41426
+ const o = w3e(e.fontSize);
41427
41427
  return o && (t.fontSize = o), Object.keys(t).length > 0 ? t : null;
41428
- }, wDe = (e) => {
41428
+ }, w3e = (e) => {
41429
41429
  if (typeof e == "number" && Number.isFinite(e)) return `calc(${e}px * ${te.textScale})`;
41430
- }, $E = (e) => typeof e == "string" && e.length > 0 ? e : void 0, TDe = (e) => typeof e != "number" ? 3 : e < 1 ? 1 : e > 3 ? 3 : Math.round(e), ADe = (e, t, n, r) => {
41430
+ }, $E = (e) => typeof e == "string" && e.length > 0 ? e : void 0, T3e = (e) => typeof e != "number" ? 3 : e < 1 ? 1 : e > 3 ? 3 : Math.round(e), A3e = (e, t, n, r) => {
41431
41431
  const o = aU(r);
41432
41432
  switch (e) {
41433
41433
  case 1:
@@ -41446,7 +41446,7 @@ var cDe = "theme-provider_root__74ffgy0", uDe = "theme-provider_portalRoot__74ff
41446
41446
  children: n
41447
41447
  }, t);
41448
41448
  }
41449
- }, g3 = (e) => {
41449
+ }, gD = (e) => {
41450
41450
  const t = e?.textAlign;
41451
41451
  if (t === "left" || t === "right" || t === "center" || t === "justify") return t;
41452
41452
  }, aU = (e) => e ? { textAlign: e } : void 0;
@@ -41454,29 +41454,29 @@ function Ku(e) {
41454
41454
  const { store: t } = jo();
41455
41455
  return Qa(t, e);
41456
41456
  }
41457
- var CDe = "tooltip_root__1aumv50";
41458
- var kDe = "tooltip_rows__1aumv52", EDe = "tooltip_row__1aumv53";
41459
- var MDe = "tooltip_label__1aumv56", PDe = "tooltip_value__1aumv57", RDe = "tooltip_positioner__1aumv58";
41457
+ var C3e = "tooltip_root__1aumv50";
41458
+ var k3e = "tooltip_rows__1aumv52", E3e = "tooltip_row__1aumv53";
41459
+ var M3e = "tooltip_label__1aumv56", P3e = "tooltip_value__1aumv57", R3e = "tooltip_positioner__1aumv58";
41460
41460
  var Gy = {
41461
41461
  plansByLayerId: null,
41462
41462
  coordKey: null,
41463
41463
  introEndsAtMs: 0,
41464
41464
  isWaitingForView: !1
41465
- }, IDe = {
41465
+ }, I3e = {
41466
41466
  ...Gy,
41467
41467
  isWaitingForView: !0
41468
- }, b1 = wt(Gy), sU = 0.4, ODe = ({ intro: e, panelRect: t, children: n }) => {
41468
+ }, b1 = wt(Gy), sU = 0.4, O3e = ({ intro: e, panelRect: t, children: n }) => {
41469
41469
  const { layers: r, coordSystem: o, scales: i } = Te(Ln((d) => ({
41470
41470
  layers: d.layers,
41471
41471
  coordSystem: d.coordSystem,
41472
41472
  scales: d.scales
41473
- }))), [a, s] = Ne(() => v3(e) ? IDe : y3({
41473
+ }))), [a, s] = Ne(() => vD(e) ? I3e : yD({
41474
41474
  layers: r,
41475
41475
  coordSystem: o,
41476
41476
  scales: i,
41477
41477
  intro: e
41478
- })), [l, c] = Ne(null), u = _De(l) || !v3(e);
41479
- return a.isWaitingForView && u && s(y3({
41478
+ })), [l, c] = Ne(null), u = _3e(l) || !vD(e);
41479
+ return a.isWaitingForView && u && s(yD({
41480
41480
  layers: r,
41481
41481
  coordSystem: o,
41482
41482
  scales: i,
@@ -41494,13 +41494,13 @@ var Gy = {
41494
41494
  }
41495
41495
  }, `${t.width}x${t.height}`), n]
41496
41496
  });
41497
- }, zc = () => je(b1).isWaitingForView, LDe = () => {
41498
- const { introEndsAtMs: e } = je(b1), [t] = Ne(() => NDe(e) / 1e3);
41497
+ }, zc = () => je(b1).isWaitingForView, L3e = () => {
41498
+ const { introEndsAtMs: e } = je(b1), [t] = Ne(() => N3e(e) / 1e3);
41499
41499
  return t;
41500
41500
  }, lU = (e) => {
41501
41501
  const { plansByLayerId: t, coordKey: n } = je(b1), r = Te((o) => cU(o.coordSystem));
41502
41502
  return t === null || n !== r ? null : t.get(e) ?? null;
41503
- }, v3 = (e) => e.enabled && e.trigger === "inView" && typeof IntersectionObserver < "u", y3 = ({ layers: e, coordSystem: t, scales: n, intro: r }) => {
41503
+ }, vD = (e) => e.enabled && e.trigger === "inView" && typeof IntersectionObserver < "u", yD = ({ layers: e, coordSystem: t, scales: n, intro: r }) => {
41504
41504
  if (!r.enabled) return Gy;
41505
41505
  const o = {
41506
41506
  durationScale: r.durationScale,
@@ -41524,19 +41524,19 @@ var Gy = {
41524
41524
  introEndsAtMs: performance.now() + a * 1e3,
41525
41525
  isWaitingForView: !1
41526
41526
  };
41527
- }, _De = (e) => {
41527
+ }, _3e = (e) => {
41528
41528
  const [t, n] = Ne(!1);
41529
41529
  return we(() => {
41530
41530
  if (e === null) return;
41531
41531
  const r = new IntersectionObserver((o) => {
41532
- o.some(DDe) && n(!0);
41532
+ o.some(D3e) && n(!0);
41533
41533
  }, { threshold: sU });
41534
41534
  return r.observe(e), () => r.disconnect();
41535
41535
  }, [e]), t;
41536
- }, DDe = ({ intersectionRatio: e, intersectionRect: t }) => t.width > 0 && t.height > 0 && e >= sU, NDe = (e) => Math.max(0, e - performance.now()), cU = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, nn = (e) => {
41536
+ }, D3e = ({ intersectionRatio: e, intersectionRect: t }) => t.width > 0 && t.height > 0 && e >= sU, N3e = (e) => Math.max(0, e - performance.now()), cU = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, nn = (e) => {
41537
41537
  const t = Oe(e);
41538
41538
  return t.current = e, t;
41539
- }, FDe = (e) => {
41539
+ }, F3e = (e) => {
41540
41540
  const { overlayRef: t } = jo(), n = Oe(null), [r, o] = Ne(!1), i = nn(e);
41541
41541
  return we(() => {
41542
41542
  const a = t.current;
@@ -41560,7 +41560,7 @@ var Gy = {
41560
41560
  cursorRef: n,
41561
41561
  isInside: r
41562
41562
  };
41563
- }, BDe = 24, VDe = 8, HDe = {
41563
+ }, B3e = 24, V3e = 8, H3e = {
41564
41564
  x: 0,
41565
41565
  y: 0,
41566
41566
  top: 0,
@@ -41572,8 +41572,8 @@ var Gy = {
41572
41572
  toJSON: () => ({})
41573
41573
  }, Mg = {
41574
41574
  boundary: [],
41575
- padding: VDe
41576
- }, $De = () => {
41575
+ padding: V3e
41576
+ }, $3e = () => {
41577
41577
  const e = Te(Ln((b) => ({
41578
41578
  layers: b.layers,
41579
41579
  coordSystem: b.coordSystem,
@@ -41583,8 +41583,8 @@ var Gy = {
41583
41583
  parsingLocale: b.config.parsingLocale,
41584
41584
  mode: b.config.tooltip.mode,
41585
41585
  comments: b.annotations.comments
41586
- }))), { formattingLocale: t } = qe(), n = Ke(), r = Ku((b) => b.hover), o = Ku((b) => b.tooltipAnchor), i = Ku((b) => b.isPointerSuspended), a = Oi("Tooltip", zDe), s = Oe(() => {
41587
- }), { cursorRef: l, isInside: c } = FDe(() => s.current()), u = Z(() => xTe({
41586
+ }))), { formattingLocale: t } = qe(), n = Ke(), r = Ku((b) => b.hover), o = Ku((b) => b.tooltipAnchor), i = Ku((b) => b.isPointerSuspended), a = Oi("Tooltip", z3e), s = Oe(() => {
41587
+ }), { cursorRef: l, isInside: c } = F3e(() => s.current()), u = Z(() => xTe({
41588
41588
  ...e,
41589
41589
  hover: r,
41590
41590
  readers: n,
@@ -41597,10 +41597,10 @@ var Gy = {
41597
41597
  t,
41598
41598
  o
41599
41599
  ]), d = !i && u !== null && (c || o !== null), f = Z(() => ({ getBoundingClientRect: () => {
41600
- if (o !== null) return UDe(o);
41600
+ if (o !== null) return U3e(o);
41601
41601
  const b = l.current;
41602
- return b === null ? HDe : GDe(b);
41603
- } }), [l, o]), { refs: h, floatingStyles: p, update: g } = l1(jDe({
41602
+ return b === null ? H3e : G3e(b);
41603
+ } }), [l, o]), { refs: h, floatingStyles: p, update: g } = l1(j3e({
41604
41604
  isOpen: d,
41605
41605
  tooltipAnchor: o,
41606
41606
  virtualReference: f
@@ -41609,17 +41609,17 @@ var Gy = {
41609
41609
  const v = /* @__PURE__ */ m("div", {
41610
41610
  ref: h.setFloating,
41611
41611
  role: "tooltip",
41612
- className: RDe,
41612
+ className: R3e,
41613
41613
  style: p,
41614
41614
  "data-testid": "chart-tooltip",
41615
41615
  children: /* @__PURE__ */ m(a, { content: u })
41616
41616
  }), y = xo();
41617
41617
  return y ? eb(/* @__PURE__ */ m(bo, { children: v }), y) : v;
41618
- }, zDe = ({ content: e }) => {
41618
+ }, z3e = ({ content: e }) => {
41619
41619
  const t = ua(), n = Te((d) => d.coordSystem), r = ht(K0e, Ke()), o = Xd([r.box.fill]), i = Kn(r.heading), a = Kn(r.label), s = Kn(r.value), l = { paddingInline: r.box.paddingInline }, c = e.rows.some((d) => d.swatchColor !== null), u = e.rows.some((d) => !d.isPrimary);
41620
41620
  return /* @__PURE__ */ B("div", {
41621
- className: CDe,
41622
- style: WDe(r.box, o(r.box.fill)),
41621
+ className: C3e,
41622
+ style: W3e(r.box, o(r.box.fill)),
41623
41623
  "data-testid": "chart-tooltip-body",
41624
41624
  children: [
41625
41625
  e.comment !== null && /* @__PURE__ */ m("div", {
@@ -41641,10 +41641,10 @@ var Gy = {
41641
41641
  children: e.heading
41642
41642
  }),
41643
41643
  /* @__PURE__ */ m("div", {
41644
- className: kDe,
41644
+ className: k3e,
41645
41645
  children: e.rows.map((d) => {
41646
41646
  const f = t(d.geom, n.type);
41647
- return /* @__PURE__ */ m(KDe, {
41647
+ return /* @__PURE__ */ m(K3e, {
41648
41648
  row: d,
41649
41649
  swatchShape: f?.swatchShape ?? "square",
41650
41650
  mainAxis: Pc(n),
@@ -41660,14 +41660,14 @@ var Gy = {
41660
41660
  })
41661
41661
  ]
41662
41662
  });
41663
- }, WDe = (e, t) => ({
41663
+ }, W3e = (e, t) => ({
41664
41664
  ...gd(e.fill, t),
41665
41665
  borderRadius: Zd(e.cornerRadius),
41666
41666
  paddingBlock: e.paddingBlock,
41667
41667
  boxShadow: Kd(e.shadow),
41668
41668
  ...e.alpha === void 0 ? {} : { opacity: e.alpha },
41669
41669
  ...e.strokeWidth > 0 ? { border: `${e.strokeWidth}px solid ${e.stroke}` } : {}
41670
- }), GDe = (e) => ({
41670
+ }), G3e = (e) => ({
41671
41671
  x: e.clientX,
41672
41672
  y: e.clientY,
41673
41673
  top: e.clientY,
@@ -41677,7 +41677,7 @@ var Gy = {
41677
41677
  width: 0,
41678
41678
  height: 0,
41679
41679
  toJSON: () => ({})
41680
- }), UDe = (e) => ({
41680
+ }), U3e = (e) => ({
41681
41681
  x: e.x,
41682
41682
  y: e.y,
41683
41683
  top: e.y,
@@ -41687,7 +41687,7 @@ var Gy = {
41687
41687
  width: 0,
41688
41688
  height: 0,
41689
41689
  toJSON: () => ({})
41690
- }), jDe = ({ isOpen: e, tooltipAnchor: t, virtualReference: n }) => ({
41690
+ }), j3e = ({ isOpen: e, tooltipAnchor: t, virtualReference: n }) => ({
41691
41691
  open: e,
41692
41692
  placement: t !== null ? t.placement : "right",
41693
41693
  middleware: t !== null ? [
@@ -41695,13 +41695,13 @@ var Gy = {
41695
41695
  Mp(Mg),
41696
41696
  Pp(Mg)
41697
41697
  ] : [
41698
- Ep(BDe),
41698
+ Ep(B3e),
41699
41699
  Pp(Mg),
41700
41700
  Mp(Mg)
41701
41701
  ],
41702
41702
  elements: { reference: n }
41703
- }), KDe = ({ row: e, swatchShape: t, mainAxis: n, hasSwatches: r, shouldHighlight: o, labelStyle: i, valueStyle: a, paddingInline: s, paddingBlock: l, highlightBackground: c }) => /* @__PURE__ */ B("div", {
41704
- className: EDe,
41703
+ }), K3e = ({ row: e, swatchShape: t, mainAxis: n, hasSwatches: r, shouldHighlight: o, labelStyle: i, valueStyle: a, paddingInline: s, paddingBlock: l, highlightBackground: c }) => /* @__PURE__ */ B("div", {
41704
+ className: E3e,
41705
41705
  style: {
41706
41706
  paddingInline: s,
41707
41707
  paddingBlock: l,
@@ -41725,25 +41725,25 @@ var Gy = {
41725
41725
  mainAxis: n
41726
41726
  }),
41727
41727
  /* @__PURE__ */ m("span", {
41728
- className: MDe,
41728
+ className: M3e,
41729
41729
  style: i,
41730
41730
  "data-testid": "chart-tooltip-label",
41731
41731
  children: e.label
41732
41732
  }),
41733
41733
  /* @__PURE__ */ m("span", {
41734
- className: PDe,
41734
+ className: P3e,
41735
41735
  style: a,
41736
41736
  "data-testid": "chart-tooltip-value",
41737
41737
  children: e.value
41738
41738
  })
41739
41739
  ]
41740
- }), uU = wt(null), YDe = uU.Provider, qDe = null, ef = () => je(uU) ?? (qDe ??= nk()), dU = (e) => ({
41740
+ }), uU = wt(null), Y3e = uU.Provider, q3e = null, ef = () => je(uU) ?? (q3e ??= nk()), dU = (e) => ({
41741
41741
  x: e.axisLabel.x().resolve(),
41742
41742
  y: e.axisLabel.y().resolve()
41743
41743
  }), fU = (e) => ({
41744
41744
  x: e.tickLine.x().resolve(),
41745
41745
  y: e.tickLine.y().resolve()
41746
- }), XDe = (e) => {
41746
+ }), X3e = (e) => {
41747
41747
  const t = e.graph();
41748
41748
  return P4(Ut(t.get("fill")), t.get("alpha") ?? 1);
41749
41749
  }, zE = (e) => (t, n) => n === void 0 ? e.tickLabel[t]().resolve() : e.tickLabel[n](t).resolve(), x1 = (e) => {
@@ -41761,24 +41761,24 @@ var Gy = {
41761
41761
  focusStroke: t.focusStroke,
41762
41762
  popover: e.legend.popover().resolve()
41763
41763
  };
41764
- }, WE = (e) => e.headline().resolve(), JDe = ({ textMeasurer: e, tickLabelStyles: t, tickLineStyles: n, familyDefault: r }) => (o) => {
41764
+ }, WE = (e) => e.headline().resolve(), J3e = ({ textMeasurer: e, tickLabelStyles: t, tickLineStyles: n, familyDefault: r }) => (o) => {
41765
41765
  const i = o.position === "top" || o.position === "bottom", a = rn(o.scaleAestheticKey), { offset: s, ...l } = t(a, o.position), c = o.ticksVisible ? Math.max(s, n[a].length) : s, u = eo(l, r), d = o.ticks.map((h) => e.measureText(h.formattedLabel, u)), f = o.labelMaxWidthPx ?? Number.POSITIVE_INFINITY;
41766
41766
  if (i) {
41767
41767
  if (o.labelRotation !== 0) {
41768
41768
  const h = d.map((p) => p.width);
41769
- return b3(h, f) + 2 * c;
41769
+ return bD(h, f) + 2 * c;
41770
41770
  }
41771
41771
  return Math.max(...d.map((h) => h.height)) + c;
41772
41772
  }
41773
- return b3(d.map((h) => h.width), f) + c;
41774
- }, b3 = (e, t) => Math.min(Math.max(...e), t), QDe = ({ axisLabelStyles: e }) => (t) => Ns(e[rn(t.scaleAestheticKey)]), pU = ({ textMeasurer: e, dataLabelStyles: t, familyDefault: n }) => (r, o, i) => {
41773
+ return bD(d.map((h) => h.width), f) + c;
41774
+ }, bD = (e, t) => Math.min(Math.max(...e), t), Q3e = ({ axisLabelStyles: e }) => (t) => Ns(e[rn(t.scaleAestheticKey)]), pU = ({ textMeasurer: e, dataLabelStyles: t, familyDefault: n }) => (r, o, i) => {
41775
41775
  const a = t[r][o], s = e.measureText(i, eo(a, n));
41776
41776
  return {
41777
41777
  ...s,
41778
41778
  width: s.width + a.paddingInline * 2,
41779
41779
  height: s.height + a.paddingBlock * 2
41780
41780
  };
41781
- }, ZDe = ({ textMeasurer: e, familyDefault: t }) => (n, r) => e.measureText(n, eo(r, t)), eNe = ti.sm, tNe = ({ textMeasurer: e, familyDefault: t, itemGap: n, headlineItemStyles: r }) => (o, i) => {
41781
+ }, Z3e = ({ textMeasurer: e, familyDefault: t }) => (n, r) => e.measureText(n, eo(r, t)), eNe = ti.sm, tNe = ({ textMeasurer: e, familyDefault: t, itemGap: n, headlineItemStyles: r }) => (o, i) => {
41782
41782
  const a = mU(o, r[i], e, t);
41783
41783
  return {
41784
41784
  width: gU(a.map((s) => s.width)) + Math.max(0, a.length - 1) * n,
@@ -41864,12 +41864,12 @@ var Gy = {
41864
41864
  medium: Tv(r, "medium"),
41865
41865
  large: Tv(r, "large")
41866
41866
  }
41867
- }, p = JDe({
41867
+ }, p = J3e({
41868
41868
  textMeasurer: e,
41869
41869
  tickLabelStyles: l,
41870
41870
  tickLineStyles: c,
41871
41871
  familyDefault: d
41872
- }), g = QDe({ axisLabelStyles: o }), v = cNe({
41872
+ }), g = Q3e({ axisLabelStyles: o }), v = cNe({
41873
41873
  textMeasurer: e,
41874
41874
  familyDefault: d,
41875
41875
  legendItemStyle: s,
@@ -41900,7 +41900,7 @@ var Gy = {
41900
41900
  tickLabelStyles: l,
41901
41901
  familyDefault: d
41902
41902
  }),
41903
- measureDifferenceArrowLabel: ZDe({
41903
+ measureDifferenceArrowLabel: Z3e({
41904
41904
  textMeasurer: e,
41905
41905
  familyDefault: d
41906
41906
  }),
@@ -41966,7 +41966,7 @@ var Gy = {
41966
41966
  }, pNe = (e) => !e.isVisible || e.ticks.length === 0, mNe = (e) => e.items.length === 0, GE = () => {
41967
41967
  const { formattingLocale: e } = qe(), t = Te((n) => n.config.parsingLocale);
41968
41968
  return e ?? t;
41969
- }, x3 = 0.5, vU = wt(/* @__PURE__ */ new Map()), yU = wt(() => {
41969
+ }, xD = 0.5, vU = wt(/* @__PURE__ */ new Map()), yU = wt(() => {
41970
41970
  }), bU = wt(/* @__PURE__ */ new Set()), gNe = ({ children: e }) => {
41971
41971
  const [t, n] = Ne(() => /* @__PURE__ */ new Map()), [r] = Ne(() => /* @__PURE__ */ new Set()), o = Oe(/* @__PURE__ */ new Map()), i = Ye((a, s, l) => {
41972
41972
  const c = o.current.get(a) ?? /* @__PURE__ */ new Set();
@@ -42008,7 +42008,7 @@ var Gy = {
42008
42008
  ]), r;
42009
42009
  }, yNe = () => je(bU), bNe = (e, t, n) => {
42010
42010
  const r = e.get(t);
42011
- if (r !== void 0 && Math.abs(r.width - n.width) < x3 && Math.abs(r.height - n.height) < x3) return e;
42011
+ if (r !== void 0 && Math.abs(r.width - n.width) < xD && Math.abs(r.height - n.height) < xD) return e;
42012
42012
  const o = new Map(e);
42013
42013
  return o.set(t, n), o;
42014
42014
  }, xNe = (e, t) => {
@@ -42067,7 +42067,7 @@ var Gy = {
42067
42067
  },
42068
42068
  predicate: a.predicate
42069
42069
  };
42070
- }, S3 = ({ isMenuTrigger: e, stamped: t, observations: n }) => e ? { kind: "menu-trigger" } : t !== null && t.kind !== "grid" ? t : n !== null ? {
42070
+ }, SD = ({ isMenuTrigger: e, stamped: t, observations: n }) => e ? { kind: "menu-trigger" } : t !== null && t.kind !== "grid" ? t : n !== null ? {
42071
42071
  kind: "observations",
42072
42072
  observations: n
42073
42073
  } : t, ONe = (e, t) => {
@@ -42133,7 +42133,7 @@ var CU = wt(null), FNe = ({ panelRect: e, children: t }) => {
42133
42133
  const e = je(CU);
42134
42134
  if (e === null) throw new Error("Difference arrows read outside a <DifferenceArrowsProvider>.");
42135
42135
  return e;
42136
- }, w3 = (e, t, n) => t.isStrokeAuthored ? t.stroke : e1e(e.start, e.end, {
42136
+ }, wD = (e, t, n) => t.isStrokeAuthored ? t.stroke : e1e(e.start, e.end, {
42137
42137
  start: n(e.start),
42138
42138
  end: n(e.end)
42139
42139
  }) ?? t.stroke, BNe = (e) => {
@@ -42152,12 +42152,12 @@ var CU = wt(null), FNe = ({ panelRect: e, children: t }) => {
42152
42152
  f,
42153
42153
  u
42154
42154
  ]), p = Z(() => VNe(n, r.familyDefault), [n, r.familyDefault]), g = Z(() => s.map((v) => {
42155
- const y = Ek(a, v.id), b = T3(v, y, h, p);
42155
+ const y = Ek(a, v.id), b = TD(v, y, h, p);
42156
42156
  return {
42157
42157
  ...b,
42158
42158
  arrow: v,
42159
42159
  style: y,
42160
- color: w3(v, y, i),
42160
+ color: wD(v, y, i),
42161
42161
  committedArrow: v,
42162
42162
  committedLabelBox: b.labelBox,
42163
42163
  committedLabelText: b.labelText,
@@ -42175,9 +42175,9 @@ var CU = wt(null), FNe = ({ panelRect: e, children: t }) => {
42175
42175
  if (v.id !== o.annotationId) return v;
42176
42176
  const y = HNe(v.committedArrow, o);
42177
42177
  return {
42178
- ...T3(y, v.style, h, p),
42178
+ ...TD(y, v.style, h, p),
42179
42179
  style: v.style,
42180
- color: w3(y, v.style, i),
42180
+ color: wD(y, v.style, i),
42181
42181
  arrow: y,
42182
42182
  committedArrow: v.committedArrow,
42183
42183
  committedLabelBox: v.committedLabelBox,
@@ -42192,7 +42192,7 @@ var CU = wt(null), FNe = ({ panelRect: e, children: t }) => {
42192
42192
  p,
42193
42193
  i
42194
42194
  ]);
42195
- }, T3 = (e, t, n, r) => {
42195
+ }, TD = (e, t, n, r) => {
42196
42196
  const o = UB({
42197
42197
  arrow: e,
42198
42198
  style: t,
@@ -42349,7 +42349,7 @@ var jNe = "brand-mark_glyphWell__mjr3u52", KNe = "brand-mark_glyph__mjr3u53", YN
42349
42349
  }), o6e = ({ editors: e, children: t }) => /* @__PURE__ */ m(MU.Provider, {
42350
42350
  value: e,
42351
42351
  children: t
42352
- }), QE = () => je(MU), A3 = "content_text__15hmocs0", i6e = "footer.renderer_root__2nw8o50";
42352
+ }), QE = () => je(MU), AD = "content_text__15hmocs0", i6e = "footer.renderer_root__2nw8o50";
42353
42353
  var a6e = "footer.renderer_sourceCluster__2nw8o52", s6e = "footer.renderer_sourceLink__2nw8o53", l6e = "footer.renderer_sourceLabel__2nw8o54", c6e = "footer.renderer_sourceValue__2nw8o55", u6e = ({ ref: e, footerRect: t, mode: n = $a.readonly, caption: r, isCaptionVisible: o, source: i, isSourceVisible: a, captionStyle: s, sourceStyle: l, brandMark: c }) => {
42354
42354
  const { Caption: u } = QE(), d = Wr[JE(n)].inlineTextEditing ? u : null, f = o && (d !== null || r !== null), h = a && i !== null && p6e(i), p = c !== "hidden";
42355
42355
  return !f && !h && !p ? null : /* @__PURE__ */ B("div", {
@@ -42378,11 +42378,11 @@ var a6e = "footer.renderer_sourceCluster__2nw8o52", s6e = "footer.renderer_sourc
42378
42378
  })]
42379
42379
  });
42380
42380
  }, d6e = ({ caption: e, captionStyle: t }) => e === null ? null : typeof e == "string" ? /* @__PURE__ */ m("p", {
42381
- className: A3,
42381
+ className: AD,
42382
42382
  style: Kn(t),
42383
42383
  children: e
42384
42384
  }) : /* @__PURE__ */ m("div", {
42385
- className: A3,
42385
+ className: AD,
42386
42386
  style: Kn(t),
42387
42387
  children: /* @__PURE__ */ m(vd, { content: e })
42388
42388
  }), f6e = ({ source: e, sourceStyle: t }) => {
@@ -42736,7 +42736,7 @@ function So() {
42736
42736
  return je(zU);
42737
42737
  }
42738
42738
  var nl = () => Wr[So()].guidePress, $6e = 0.25, tM = (e) => zc() ? null : /* @__PURE__ */ m(z6e, { ...e }), z6e = ({ children: e, as: t = "g", ...n }) => {
42739
- const r = LDe(), o = t;
42739
+ const r = L3e(), o = t;
42740
42740
  if (r <= 0) return /* @__PURE__ */ m(o, {
42741
42741
  ...n,
42742
42742
  children: e
@@ -42928,7 +42928,7 @@ var c4e = "pill-content_bubble__1rqnt0m0", ES = "\0", u4e = (e, t) => {
42928
42928
  opacity: n.alpha
42929
42929
  }
42930
42930
  }), /* @__PURE__ */ m("span", { children: e.formattedLabel })] });
42931
- }, YU = (e, t) => e === void 0 ? void 0 : t, C3 = { [VU]: "" }, p4e = ({ hiddenPills: e, placement: t }) => {
42931
+ }, YU = (e, t) => e === void 0 ? void 0 : t, CD = { [VU]: "" }, p4e = ({ hiddenPills: e, placement: t }) => {
42932
42932
  const n = ze(), [r, o] = Ne(!1), i = Ke(), a = ht(Nb, i), s = ht(hU, i), l = nl(), c = Xd([a.item.fill, s.popover.fill]), u = c(a.item.fill), d = GU(a.item, u), f = m4e(e.length, a.item), h = f === null ? void 0 : {
42933
42933
  ...WU(a.item, u),
42934
42934
  opacity: Z6e * (a.item.alpha ?? 1)
@@ -42963,7 +42963,7 @@ var c4e = "pill-content_bubble__1rqnt0m0", ES = "\0", u4e = (e, t) => {
42963
42963
  return /* @__PURE__ */ B(Le, { children: [/* @__PURE__ */ B("div", {
42964
42964
  ref: p.setReference,
42965
42965
  className: An(n4e, f !== null && v && o4e[f], f !== null && !v && r4e[f]),
42966
- ...C3,
42966
+ ...CD,
42967
42967
  children: [f !== null && y.map((b) => /* @__PURE__ */ m("span", {
42968
42968
  className: An("legend-overflow_triggerGhost__h68bv36", v ? a4e[f] : i4e[f]),
42969
42969
  style: {
@@ -42996,7 +42996,7 @@ var c4e = "pill-content_bubble__1rqnt0m0", ES = "\0", u4e = (e, t) => {
42996
42996
  ...g,
42997
42997
  ...e4e(s.popover, a.item, c(s.popover.fill))
42998
42998
  },
42999
- ...C3,
42999
+ ...CD,
43000
43000
  children: /* @__PURE__ */ m("ul", {
43001
43001
  className: "legend-overflow_popoverList__h68bv3e",
43002
43002
  children: e.map((b) => /* @__PURE__ */ m("li", {
@@ -43036,14 +43036,14 @@ var T4e = ({ edge: e, indexedLegends: t, containerWidth: n, containerHeight: r }
43036
43036
  visibleCount: f.length,
43037
43037
  hasOverflow: !1
43038
43038
  };
43039
- const T = eo(l.item, i.fonts.familyDefault), P = Ns(l.item), x = 2 * (l.item.paddingInline + l.item.strokeWidth), k = 2 * (l.item.paddingBlock + l.item.strokeWidth), _ = (M) => h ? A4e(M, P, l.swatch.size, k) : k3({
43039
+ const T = eo(l.item, i.fonts.familyDefault), P = Ns(l.item), x = 2 * (l.item.paddingInline + l.item.strokeWidth), k = 2 * (l.item.paddingBlock + l.item.strokeWidth), _ = (M) => h ? A4e(M, P, l.swatch.size, k) : kD({
43040
43040
  label: M.formattedLabel,
43041
43041
  swatchInlineSize: C4e(M, l.swatch.size),
43042
43042
  textMeasurer: o,
43043
43043
  font: T,
43044
43044
  swatchGap: l.item.gap,
43045
43045
  horizontalChrome: x
43046
- }), E = f.map(_), I = (h ? P + k : k3({
43046
+ }), E = f.map(_), I = (h ? P + k : kD({
43047
43047
  label: `+${f.length}`,
43048
43048
  swatchInlineSize: 0,
43049
43049
  textMeasurer: o,
@@ -43088,7 +43088,7 @@ var T4e = ({ edge: e, indexedLegends: t, containerWidth: n, containerHeight: r }
43088
43088
  placement: M4e(e)
43089
43089
  })]
43090
43090
  });
43091
- }, k3 = ({ label: e, swatchInlineSize: t, textMeasurer: n, font: r, swatchGap: o, horizontalChrome: i }) => {
43091
+ }, kD = ({ label: e, swatchInlineSize: t, textMeasurer: n, font: r, swatchGap: o, horizontalChrome: i }) => {
43092
43092
  const a = n.measureText(e, r).width;
43093
43093
  return t + (t > 0 ? o : 0) + a + i;
43094
43094
  }, A4e = (e, t, n, r) => {
@@ -43424,7 +43424,7 @@ var T4e = ({ edge: e, indexedLegends: t, containerWidth: n, containerHeight: r }
43424
43424
  };
43425
43425
  }, [e, o]);
43426
43426
  }, T1 = () => Vt((e) => Ht(e, "move-drag")?.annotationId ?? Ht(e, "shape-resize-drag")?.annotationId ?? Ht(e, "arrow-endpoint-drag")?.annotationId ?? null), qo = (e) => {
43427
- const t = Te((a) => a.annotations), n = UE(), r = yNe(), o = Ye((a) => E3(r, "cycle", a, `Annotation reference cycle detected; dropping annotation(s): ${a.join(", ")}`), [r]), i = Ye((a) => E3(r, "missing-ref", a, `Annotation reference target(s) no longer exist (dropped during compilation); dropping annotations referencing: ${a.join(", ")}`), [r]);
43427
+ const t = Te((a) => a.annotations), n = UE(), r = yNe(), o = Ye((a) => ED(r, "cycle", a, `Annotation reference cycle detected; dropping annotation(s): ${a.join(", ")}`), [r]), i = Ye((a) => ED(r, "missing-ref", a, `Annotation reference target(s) no longer exist (dropped during compilation); dropping annotations referencing: ${a.join(", ")}`), [r]);
43428
43428
  return Z(() => Ebe({
43429
43429
  annotations: t,
43430
43430
  panelRect: e,
@@ -43438,7 +43438,7 @@ var T4e = ({ edge: e, indexedLegends: t, containerWidth: n, containerHeight: r }
43438
43438
  o,
43439
43439
  i
43440
43440
  ]);
43441
- }, E3 = (e, t, n, r) => {
43441
+ }, ED = (e, t, n, r) => {
43442
43442
  const o = [t, ...[...n].sort()].join("\0");
43443
43443
  e.has(o) || (e.add(o), console.warn(r));
43444
43444
  }, j4e = 16, tj = ({ linePath: e, strokeWidth: t }) => /* @__PURE__ */ m("path", {
@@ -43666,7 +43666,7 @@ var T4e = ({ edge: e, indexedLegends: t, containerWidth: n, containerHeight: r }
43666
43666
  contain: "xMidYMid meet",
43667
43667
  cover: "xMidYMid slice"
43668
43668
  }, nj = ({ image: e, panel: t, style: n }) => {
43669
- const r = Yt(), { src: o, region: i, fit: a } = e, s = Bb(i, t), l = iDe(n.cornerRadius), c = y1(n.cornerRadius), u = n.shadow === void 0 ? void 0 : Vc(n.shadow);
43669
+ const r = Yt(), { src: o, region: i, fit: a } = e, s = Bb(i, t), l = i3e(n.cornerRadius), c = y1(n.cornerRadius), u = n.shadow === void 0 ? void 0 : Vc(n.shadow);
43670
43670
  return /* @__PURE__ */ B("g", {
43671
43671
  opacity: n.alpha,
43672
43672
  style: u === void 0 ? void 0 : { filter: u },
@@ -43683,7 +43683,7 @@ var T4e = ({ edge: e, indexedLegends: t, containerWidth: n, containerHeight: r }
43683
43683
  clipPath: l ? `url(#${r})` : void 0
43684
43684
  })]
43685
43685
  });
43686
- }, M3 = ({ panelRect: e, zOrder: t }) => {
43686
+ }, MD = ({ panelRect: e, zOrder: t }) => {
43687
43687
  const n = qo(e).images, r = Ke(), o = T1(), i = n.filter((a) => a.zOrder === t && a.id !== o);
43688
43688
  return i.length === 0 ? null : /* @__PURE__ */ m("svg", {
43689
43689
  x: e.x,
@@ -43717,7 +43717,7 @@ var T4e = ({ edge: e, indexedLegends: t, containerWidth: n, containerHeight: r }
43717
43717
  stroke: DTe(t) ?? "none",
43718
43718
  strokeWidth: t.strokeWidth
43719
43719
  });
43720
- }, P3 = ({ panelRect: e, zOrder: t }) => {
43720
+ }, PD = ({ panelRect: e, zOrder: t }) => {
43721
43721
  const n = qo(e).shapes, r = Ke(), o = T1(), i = n.filter((a) => a.zOrder === t && a.id !== o);
43722
43722
  return i.length === 0 ? null : /* @__PURE__ */ m("svg", {
43723
43723
  x: e.x,
@@ -43826,7 +43826,7 @@ var T4e = ({ edge: e, indexedLegends: t, containerWidth: n, containerHeight: r }
43826
43826
  })
43827
43827
  });
43828
43828
  }, g8e = "callouts_overlay__1rlvxtx0";
43829
- var v8e = "callouts_miniText__1rlvxtx2", R3 = {
43829
+ var v8e = "callouts_miniText__1rlvxtx2", RD = {
43830
43830
  hittable: "callouts_miniBubble_hittable__1rlvxtx4 callouts_miniBubbleBase__1rlvxtx3",
43831
43831
  inert: "callouts_miniBubble_inert__1rlvxtx5 callouts_miniBubbleBase__1rlvxtx3"
43832
43832
  }, y8e = ({ cx: e, cy: t, color: n, style: r }) => {
@@ -43877,7 +43877,7 @@ function b8e(e) {
43877
43877
  a
43878
43878
  ]);
43879
43879
  }
43880
- var x8e = (e, t, n, r) => t !== "comment" ? n : G2(n, 140, (o) => e.measureText(o, r).width), I3 = "callouts", S8e = ({ panelRect: e }) => {
43880
+ var x8e = (e, t, n, r) => t !== "comment" ? n : G2(n, 140, (o) => e.measureText(o, r).width), ID = "callouts", S8e = ({ panelRect: e }) => {
43881
43881
  const { pinnedNumbers: t, comments: n } = Te(Ln((p) => ({
43882
43882
  pinnedNumbers: p.annotations.pinnedNumbers,
43883
43883
  comments: p.annotations.comments
@@ -43902,8 +43902,8 @@ var x8e = (e, t, n, r) => t !== "comment" ? n : G2(n, 140, (o) => e.measureText(
43902
43902
  ]), f = Z(() => zbe(s, e), [s, e]), h = Xd([...d.values()].map((p) => p.label.fill));
43903
43903
  return we(() => {
43904
43904
  const p = l.getState();
43905
- return p.publishPointerRegions(I3, f), () => {
43906
- p.publishPointerRegions(I3, []);
43905
+ return p.publishPointerRegions(ID, f), () => {
43906
+ p.publishPointerRegions(ID, []);
43907
43907
  };
43908
43908
  }, [l, f]), t.length === 0 && n.length === 0 ? null : /* @__PURE__ */ m("svg", {
43909
43909
  x: e.x,
@@ -43927,7 +43927,7 @@ var x8e = (e, t, n, r) => t !== "comment" ? n : G2(n, 140, (o) => e.measureText(
43927
43927
  height: p.miniRect.height,
43928
43928
  overflow: "visible",
43929
43929
  children: /* @__PURE__ */ B("div", {
43930
- className: S ? R3.hittable : R3.inert,
43930
+ className: S ? RD.hittable : RD.inert,
43931
43931
  style: A8e(v.label, h(v.label.fill)),
43932
43932
  children: [p.kind === "pinned-number" && /* @__PURE__ */ m("span", {
43933
43933
  className: "callouts_miniSwatch__1rlvxtx1",
@@ -44033,7 +44033,7 @@ function Ky(e) {
44033
44033
  for (const t of e) (t.severity === "error" ? console.error : console.warn)(`[graphy] ${t.code}: ${t.message}`, t);
44034
44034
  }
44035
44035
  var I8e = "data-labels_overlay__15wb5l30", O8e = "data-labels_background__15wb5l31", L8e = "data-labels_label__15wb5l32", aj = ({ x: e, y: t, width: n, height: r, text: o, isRotated: i, labelRole: a, position: s, coordType: l, backdropColor: c }) => {
44036
- const u = Ke(), d = ht(x1, u), f = ht(XDe, u), h = i ? `rotate(-90 ${e} ${t})` : void 0, p = d[a][s], g = p.stroke !== void 0 && (p.strokeWidth ?? 0) > 0, v = N8e(a, l, p), y = D8e(p, v, c, f), b = {
44036
+ const u = Ke(), d = ht(x1, u), f = ht(X3e, u), h = i ? `rotate(-90 ${e} ${t})` : void 0, p = d[a][s], g = p.stroke !== void 0 && (p.strokeWidth ?? 0) > 0, v = N8e(a, l, p), y = D8e(p, v, c, f), b = {
44037
44037
  x: e - n / 2,
44038
44038
  y: t - r / 2,
44039
44039
  width: n,
@@ -44256,7 +44256,7 @@ var I8e = "data-labels_overlay__15wb5l30", O8e = "data-labels_background__15wb5l
44256
44256
  bottom: e
44257
44257
  };
44258
44258
  }, G8e = (e, { edge: t, stepPx: n, axisSize: r }, o) => {
44259
- const i = O3(e, n, o.width), a = O3(e, n, o.height);
44259
+ const i = OD(e, n, o.width), a = OD(e, n, o.height);
44260
44260
  switch (t) {
44261
44261
  case "bottom":
44262
44262
  return {
@@ -44287,7 +44287,7 @@ var I8e = "data-labels_overlay__15wb5l30", O8e = "data-labels_background__15wb5l
44287
44287
  bottom: a
44288
44288
  };
44289
44289
  }
44290
- }, jf = (e, t) => Math.max(0, Math.min(e, t)), O3 = (e, t, n) => Math.min(e, Math.max(0, (t - n) / 2)), U8e = ({ x: e, textAnchor: t }, n) => {
44290
+ }, jf = (e, t) => Math.max(0, Math.min(e, t)), OD = (e, t, n) => Math.min(e, Math.max(0, (t - n) / 2)), U8e = ({ x: e, textAnchor: t }, n) => {
44291
44291
  switch (t) {
44292
44292
  case "start":
44293
44293
  return e;
@@ -44597,27 +44597,27 @@ var lj = (e, t) => {
44597
44597
  height: t.height,
44598
44598
  overflow: "visible",
44599
44599
  "data-testid": "polar-axis-ticks",
44600
- children: [s?.isVisible && d.map(({ tick: h, tickIndex: p, radiusNorm: g }) => /* @__PURE__ */ m(L3, {
44600
+ children: [s?.isVisible && d.map(({ tick: h, tickIndex: p, radiusNorm: g }) => /* @__PURE__ */ m(LD, {
44601
44601
  scaleAestheticKey: s.scaleAestheticKey,
44602
44602
  tickIndex: p,
44603
- placement: _3($o(l, g, i), "middle"),
44603
+ placement: _D($o(l, g, i), "middle"),
44604
44604
  label: h.formattedLabel,
44605
44605
  labelStyle: f(s),
44606
44606
  isHitTestable: r
44607
44607
  }, `radial-label-${p}`)), a.isVisible && a.ticks.map((h, p) => {
44608
44608
  if (h.position >= 1 - 1e-9) return null;
44609
44609
  const g = c(h.position), v = $o(g, (i.radius + 8) / i.radius, i);
44610
- return /* @__PURE__ */ m(L3, {
44610
+ return /* @__PURE__ */ m(LD, {
44611
44611
  scaleAestheticKey: a.scaleAestheticKey,
44612
44612
  tickIndex: p,
44613
- placement: _3(v, c7e(g)),
44613
+ placement: _D(v, c7e(g)),
44614
44614
  label: h.formattedLabel,
44615
44615
  labelStyle: f(a),
44616
44616
  isHitTestable: r
44617
44617
  }, `rim-label-${p}`);
44618
44618
  })]
44619
44619
  });
44620
- }, L3 = ({ scaleAestheticKey: e, tickIndex: t, placement: n, label: r, labelStyle: o, isHitTestable: i }) => {
44620
+ }, LD = ({ scaleAestheticKey: e, tickIndex: t, placement: n, label: r, labelStyle: o, isHitTestable: i }) => {
44621
44621
  const a = /* @__PURE__ */ m(aM, {
44622
44622
  placement: n,
44623
44623
  text: r,
@@ -44644,7 +44644,7 @@ var lj = (e, t) => {
44644
44644
  }), o = l);
44645
44645
  }
44646
44646
  return r;
44647
- }, _3 = (e, t) => ({
44647
+ }, _D = (e, t) => ({
44648
44648
  x: e.x,
44649
44649
  y: e.y,
44650
44650
  textAnchor: t,
@@ -45027,7 +45027,7 @@ var w7e = 4, T7e = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
45027
45027
  }, C7e = (e, t) => {
45028
45028
  const n = e[St.group];
45029
45029
  return `${String(n ?? "")}\0${t}`;
45030
- }, D3 = 64, yA = ({ overlay: e, panelRect: t, children: n }) => {
45030
+ }, DD = 64, yA = ({ overlay: e, panelRect: t, children: n }) => {
45031
45031
  const r = Yt(), o = Yt(), { fillFor: i, defs: a } = Ko({ paints: e }), s = /* @__PURE__ */ m("g", {
45032
45032
  id: r,
45033
45033
  children: n
@@ -45036,8 +45036,8 @@ var w7e = 4, T7e = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
45036
45036
  const l = {
45037
45037
  x: -64,
45038
45038
  y: -64,
45039
- width: t.width + 2 * D3,
45040
- height: t.height + 2 * D3
45039
+ width: t.width + 2 * DD,
45040
+ height: t.height + 2 * DD
45041
45041
  };
45042
45042
  return /* @__PURE__ */ B(Le, { children: [
45043
45043
  s,
@@ -45059,11 +45059,11 @@ var w7e = 4, T7e = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
45059
45059
  }, u))
45060
45060
  })
45061
45061
  ] });
45062
- }, N3 = [], hj = (e, t, n) => {
45062
+ }, ND = [], hj = (e, t, n) => {
45063
45063
  const r = Jt(e);
45064
45064
  return Z(() => {
45065
45065
  const [o] = e.data, i = n ?? o;
45066
- return i === void 0 ? N3 : r.get("overlay", i, t) ?? N3;
45066
+ return i === void 0 ? ND : r.get("overlay", i, t) ?? ND;
45067
45067
  }, [
45068
45068
  e,
45069
45069
  r,
@@ -45199,7 +45199,7 @@ var w7e = 4, T7e = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
45199
45199
  }, N7e = "plot.renderer_root__1ts0j5d0", F7e = ({ formattedAxes: e, plotRect: t, panelBorder: n, panelFrameRect: r, panelRect: o, axisRects: i, axisLabelRects: a, shouldAnimateTransitions: s, formattingLocale: l, plotBottomY: c, isFooterChromeReserved: u, isEditable: d, showAnnotations: f }) => {
45200
45200
  const h = Oe(null);
45201
45201
  U4e(h);
45202
- const p = Oi("Grid", n7e), g = Oi("AxisTicks", e7e), v = Oi("AxisLabel", t7e), y = Z(() => bA(r, t), [r, t]), b = Z(() => bA(o, t), [o, t]), S = Z(() => F3(i, t), [i, t]), w = Z(() => F3(a, t), [a, t]), A = zc(), T = f && !A;
45202
+ const p = Oi("Grid", n7e), g = Oi("AxisTicks", e7e), v = Oi("AxisLabel", t7e), y = Z(() => bA(r, t), [r, t]), b = Z(() => bA(o, t), [o, t]), S = Z(() => FD(i, t), [i, t]), w = Z(() => FD(a, t), [a, t]), A = zc(), T = f && !A;
45203
45203
  return /* @__PURE__ */ B("svg", {
45204
45204
  ref: h,
45205
45205
  className: N7e,
@@ -45227,10 +45227,10 @@ var w7e = 4, T7e = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
45227
45227
  panelRect: b
45228
45228
  }),
45229
45229
  /* @__PURE__ */ m(I4e, { panelRect: b }),
45230
- T && /* @__PURE__ */ B(Le, { children: [/* @__PURE__ */ m(P3, {
45230
+ T && /* @__PURE__ */ B(Le, { children: [/* @__PURE__ */ m(PD, {
45231
45231
  panelRect: b,
45232
45232
  zOrder: "background"
45233
- }), /* @__PURE__ */ m(M3, {
45233
+ }), /* @__PURE__ */ m(MD, {
45234
45234
  panelRect: b,
45235
45235
  zOrder: "background"
45236
45236
  })] }),
@@ -45258,11 +45258,11 @@ var w7e = 4, T7e = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
45258
45258
  panelRect: b,
45259
45259
  isEditable: d
45260
45260
  }),
45261
- /* @__PURE__ */ m(P3, {
45261
+ /* @__PURE__ */ m(PD, {
45262
45262
  panelRect: b,
45263
45263
  zOrder: "foreground"
45264
45264
  }),
45265
- /* @__PURE__ */ m(M3, {
45265
+ /* @__PURE__ */ m(MD, {
45266
45266
  panelRect: b,
45267
45267
  zOrder: "foreground"
45268
45268
  }),
@@ -45282,17 +45282,17 @@ var w7e = 4, T7e = ({ renderer: e, layer: t, matchedLayer: n, overlayCandidates:
45282
45282
  y: e.y - t.y,
45283
45283
  width: e.width,
45284
45284
  height: e.height
45285
- }), F3 = (e, t) => {
45285
+ }), FD = (e, t) => {
45286
45286
  const n = {};
45287
45287
  for (const [r, o] of Object.entries(e)) n[r] = bA(o, t);
45288
45288
  return n;
45289
45289
  }, B7e = (e) => {
45290
45290
  let t, n;
45291
45291
  return "aspectRatio" in e ? "intrinsicWidth" in e ? (t = e.intrinsicWidth, n = t / e.aspectRatio) : (n = e.intrinsicHeight, t = n * e.aspectRatio) : (t = e.intrinsicWidth, n = e.intrinsicHeight), {
45292
- width: B3(t, "width"),
45293
- height: B3(n, "height")
45292
+ width: BD(t, "width"),
45293
+ height: BD(n, "height")
45294
45294
  };
45295
- }, B3 = (e, t) => {
45295
+ }, BD = (e, t) => {
45296
45296
  if (e <= 0 || Number.isNaN(e) || !Number.isFinite(e)) throw new ut({ message: `Expected ${t} to be a positive, finite number, but got ${e}.` });
45297
45297
  return e;
45298
45298
  }, V7e = ({ sizing: e, onResize: t, children: n }) => {
@@ -45431,16 +45431,16 @@ var K7e = [], Y7e = ({ graphChrome: e, isEditable: t, mode: n, style: r, content
45431
45431
  ]), P = t && g === "transparent";
45432
45432
  return /* @__PURE__ */ m("div", {
45433
45433
  "data-testid": "graph-wrapper",
45434
- className: An(cDe, a),
45434
+ className: An(c3e, a),
45435
45435
  style: w,
45436
45436
  children: /* @__PURE__ */ B("div", {
45437
45437
  ref: o,
45438
45438
  "data-testid": "graph-inner",
45439
45439
  "data-graph-mode": n,
45440
45440
  tabIndex: t ? 0 : void 0,
45441
- className: An(dDe, {
45442
- [fDe]: t,
45443
- [hDe]: P,
45441
+ className: An(d3e, {
45442
+ [f3e]: t,
45443
+ [h3e]: P,
45444
45444
  [j7e]: S
45445
45445
  }),
45446
45446
  style: A,
@@ -45571,7 +45571,7 @@ var K7e = [], Y7e = ({ graphChrome: e, isEditable: t, mode: n, style: r, content
45571
45571
  const { layout: ae, formattedAxes: Ae, plotBottomY: $e } = q, Ve = ae.footer.height > 0;
45572
45572
  return /* @__PURE__ */ m(zU.Provider, {
45573
45573
  value: a,
45574
- children: /* @__PURE__ */ m(mDe, {
45574
+ children: /* @__PURE__ */ m(m3e, {
45575
45575
  colorScheme: x,
45576
45576
  textScale: Y,
45577
45577
  graphBackground: Ut(V),
@@ -45590,7 +45590,7 @@ var K7e = [], Y7e = ({ graphChrome: e, isEditable: t, mode: n, style: r, content
45590
45590
  width: "100%",
45591
45591
  height: "100%"
45592
45592
  },
45593
- children: /* @__PURE__ */ B(ODe, {
45593
+ children: /* @__PURE__ */ B(O3e, {
45594
45594
  intro: b,
45595
45595
  panelRect: ae.panel,
45596
45596
  children: [
@@ -45650,7 +45650,7 @@ var K7e = [], Y7e = ({ graphChrome: e, isEditable: t, mode: n, style: r, content
45650
45650
  formattedAxes: Ae,
45651
45651
  shouldAnimateTransitions: S
45652
45652
  }),
45653
- r && k.tooltips && /* @__PURE__ */ m($De, {})
45653
+ r && k.tooltips && /* @__PURE__ */ m($3e, {})
45654
45654
  ]
45655
45655
  })
45656
45656
  })
@@ -48073,13 +48073,13 @@ var K7e = [], Y7e = ({ graphChrome: e, isEditable: t, mode: n, style: r, content
48073
48073
  }), wo = () => {
48074
48074
  const { commands: e } = qe();
48075
48075
  return e;
48076
- }, V3 = Object.defineProperty, bFe = (e, t) => {
48076
+ }, VD = Object.defineProperty, bFe = (e, t) => {
48077
48077
  let n = {};
48078
- for (var r in e) V3(n, r, {
48078
+ for (var r in e) VD(n, r, {
48079
48079
  get: e[r],
48080
48080
  enumerable: !0
48081
48081
  });
48082
- return t || V3(n, Symbol.toStringTag, { value: "Module" }), n;
48082
+ return t || VD(n, Symbol.toStringTag, { value: "Module" }), n;
48083
48083
  };
48084
48084
  function er(e) {
48085
48085
  this.content = e;
@@ -48527,7 +48527,7 @@ function SFe(e, t) {
48527
48527
  end: r.resolveNoCache(r.content.size - e.openEnd - n)
48528
48528
  };
48529
48529
  }
48530
- var H3 = class wA {
48530
+ var HD = class wA {
48531
48531
  constructor(t, n, r) {
48532
48532
  this.pos = t, this.path = n, this.parentOffset = r, this.depth = n.length / 3 - 1;
48533
48533
  }
@@ -48636,12 +48636,12 @@ var H3 = class wA {
48636
48636
  return new wA(n, r, i);
48637
48637
  }
48638
48638
  static resolveCached(t, n) {
48639
- let r = $3.get(t);
48639
+ let r = $D.get(t);
48640
48640
  if (r) for (let i = 0; i < r.elts.length; i++) {
48641
48641
  let a = r.elts[i];
48642
48642
  if (a.pos == n) return a;
48643
48643
  }
48644
- else $3.set(t, r = new wFe());
48644
+ else $D.set(t, r = new wFe());
48645
48645
  let o = r.elts[r.i] = wA.resolve(t, n);
48646
48646
  return r.i = (r.i + 1) % TFe, o;
48647
48647
  }
@@ -48649,7 +48649,7 @@ var H3 = class wA {
48649
48649
  constructor() {
48650
48650
  this.elts = [], this.i = 0;
48651
48651
  }
48652
- }, TFe = 12, $3 = /* @__PURE__ */ new WeakMap(), Xy = class {
48652
+ }, TFe = 12, $D = /* @__PURE__ */ new WeakMap(), Xy = class {
48653
48653
  constructor(e, t, n) {
48654
48654
  this.$from = e, this.$to = t, this.depth = n;
48655
48655
  }
@@ -48770,10 +48770,10 @@ var H3 = class wA {
48770
48770
  };
48771
48771
  }
48772
48772
  resolve(t) {
48773
- return H3.resolveCached(this, t);
48773
+ return HD.resolveCached(this, t);
48774
48774
  }
48775
48775
  resolveNoCache(t) {
48776
- return H3.resolve(this, t);
48776
+ return HD.resolve(this, t);
48777
48777
  }
48778
48778
  rangeHasMark(t, n, r) {
48779
48779
  let o = !1;
@@ -49051,14 +49051,14 @@ function MFe(e) {
49051
49051
  else break;
49052
49052
  return t;
49053
49053
  }
49054
- function z3(e) {
49054
+ function zD(e) {
49055
49055
  /\D/.test(e.next) && e.err("Expected number, got '" + e.next + "'");
49056
49056
  let t = Number(e.next);
49057
49057
  return e.pos++, t;
49058
49058
  }
49059
49059
  function PFe(e, t) {
49060
- let n = z3(e), r = n;
49061
- return e.eat(",") && (e.next != "}" ? r = z3(e) : r = -1), e.eat("}") || e.err("Unclosed braced range"), {
49060
+ let n = zD(e), r = n;
49061
+ return e.eat(",") && (e.next != "}" ? r = zD(e) : r = -1), e.eat("}") || e.err("Unclosed braced range"), {
49062
49062
  type: "range",
49063
49063
  min: n,
49064
49064
  max: r,
@@ -49145,7 +49145,7 @@ function OFe(e) {
49145
49145
  function Ej(e, t) {
49146
49146
  return t - e;
49147
49147
  }
49148
- function W3(e, t) {
49148
+ function WD(e, t) {
49149
49149
  let n = [];
49150
49150
  return r(t), n.sort(Ej);
49151
49151
  function r(o) {
@@ -49160,7 +49160,7 @@ function W3(e, t) {
49160
49160
  }
49161
49161
  function LFe(e) {
49162
49162
  let t = /* @__PURE__ */ Object.create(null);
49163
- return n(W3(e, 0));
49163
+ return n(WD(e, 0));
49164
49164
  function n(r) {
49165
49165
  let o = [];
49166
49166
  r.forEach((a) => {
@@ -49168,7 +49168,7 @@ function LFe(e) {
49168
49168
  if (!s) return;
49169
49169
  let c;
49170
49170
  for (let u = 0; u < o.length; u++) o[u][0] == s && (c = o[u][1]);
49171
- W3(e, l).forEach((u) => {
49171
+ WD(e, l).forEach((u) => {
49172
49172
  c || o.push([s, c = []]), c.indexOf(u) == -1 && c.push(u);
49173
49173
  });
49174
49174
  });
@@ -49225,7 +49225,7 @@ function Ij(e, t) {
49225
49225
  if (t) for (let r in t) n[r] = new NFe(e, r, t[r]);
49226
49226
  return n;
49227
49227
  }
49228
- var G3 = class Oj {
49228
+ var GD = class Oj {
49229
49229
  constructor(t, n, r) {
49230
49230
  this.name = t, this.schema = n, this.spec = r, this.markSet = null, this.groups = r.group ? r.group.split(" ") : [], this.attrs = Ij(t, r.attrs), this.defaultAttrs = Mj(this.attrs), this.contentMatch = null, this.inlineContent = null, this.isBlock = !(r.inline || t == "text"), this.isText = t == "text";
49231
49231
  }
@@ -49354,7 +49354,7 @@ var NFe = class {
49354
49354
  this.linebreakReplacement = null, this.cached = /* @__PURE__ */ Object.create(null);
49355
49355
  let t = this.spec = {};
49356
49356
  for (let r in e) t[r] = e[r];
49357
- t.nodes = er.from(e.nodes), t.marks = er.from(e.marks || {}), this.nodes = G3.compile(this.spec.nodes, this), this.marks = Lj.compile(this.spec.marks, this);
49357
+ t.nodes = er.from(e.nodes), t.marks = er.from(e.marks || {}), this.nodes = GD.compile(this.spec.nodes, this), this.marks = Lj.compile(this.spec.marks, this);
49358
49358
  let n = /* @__PURE__ */ Object.create(null);
49359
49359
  for (let r in this.nodes) {
49360
49360
  if (r in this.marks) throw new RangeError(r + " can not be both a node and a mark");
@@ -49364,17 +49364,17 @@ var NFe = class {
49364
49364
  if (!o.isInline || !o.isLeaf) throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");
49365
49365
  this.linebreakReplacement = o;
49366
49366
  }
49367
- o.markSet = a == "_" ? null : a ? U3(this, a.split(" ")) : a == "" || !o.inlineContent ? [] : null;
49367
+ o.markSet = a == "_" ? null : a ? UD(this, a.split(" ")) : a == "" || !o.inlineContent ? [] : null;
49368
49368
  }
49369
49369
  for (let r in this.marks) {
49370
49370
  let o = this.marks[r], i = o.spec.excludes;
49371
- o.excluded = i == null ? [o] : i == "" ? [] : U3(this, i.split(" "));
49371
+ o.excluded = i == null ? [o] : i == "" ? [] : UD(this, i.split(" "));
49372
49372
  }
49373
49373
  this.nodeFromJSON = (r) => Xl.fromJSON(this, r), this.markFromJSON = (r) => jt.fromJSON(this, r), this.topNodeType = this.nodes[this.spec.topNode || "doc"], this.cached.wrappings = /* @__PURE__ */ Object.create(null);
49374
49374
  }
49375
49375
  node(e, t = null, n, r) {
49376
49376
  if (typeof e == "string") e = this.nodeType(e);
49377
- else if (e instanceof G3) {
49377
+ else if (e instanceof GD) {
49378
49378
  if (e.schema != this) throw new RangeError("Node type from different schema used (" + e.name + ")");
49379
49379
  } else throw new RangeError("Invalid node type: " + e);
49380
49380
  return e.createChecked(t, n, r);
@@ -49392,7 +49392,7 @@ var NFe = class {
49392
49392
  return t;
49393
49393
  }
49394
49394
  };
49395
- function U3(e, t) {
49395
+ function UD(e, t) {
49396
49396
  let n = [];
49397
49397
  for (let r = 0; r < t.length; r++) {
49398
49398
  let o = t[r], i = e.marks[o], a = i;
@@ -49428,11 +49428,11 @@ var kh = class CA {
49428
49428
  });
49429
49429
  }
49430
49430
  parse(t, n = {}) {
49431
- let r = new K3(this, n, !1);
49431
+ let r = new KD(this, n, !1);
49432
49432
  return r.addAll(t, jt.none, n.from, n.to), r.finish();
49433
49433
  }
49434
49434
  parseSlice(t, n = {}) {
49435
- let r = new K3(this, n, !0);
49435
+ let r = new KD(this, n, !0);
49436
49436
  return r.addAll(t, jt.none, n.from, n.to), Ie.maxOpen(r.finish());
49437
49437
  }
49438
49438
  matchTag(t, n, r) {
@@ -49474,13 +49474,13 @@ var kh = class CA {
49474
49474
  for (let o in t.marks) {
49475
49475
  let i = t.marks[o].spec.parseDOM;
49476
49476
  i && i.forEach((a) => {
49477
- r(a = Y3(a)), a.mark || a.ignore || a.clearMark || (a.mark = o);
49477
+ r(a = YD(a)), a.mark || a.ignore || a.clearMark || (a.mark = o);
49478
49478
  });
49479
49479
  }
49480
49480
  for (let o in t.nodes) {
49481
49481
  let i = t.nodes[o].spec.parseDOM;
49482
49482
  i && i.forEach((a) => {
49483
- r(a = Y3(a)), a.node || a.ignore || a.mark || (a.node = o);
49483
+ r(a = YD(a)), a.node || a.ignore || a.mark || (a.node = o);
49484
49484
  });
49485
49485
  }
49486
49486
  return n;
@@ -49533,7 +49533,7 @@ var kh = class CA {
49533
49533
  ol: !0,
49534
49534
  ul: !0
49535
49535
  }, Jy = 1, Bj = 2, Nv = 4;
49536
- function j3(e, t, n) {
49536
+ function jD(e, t, n) {
49537
49537
  return t != null ? (t ? Jy : 0) | (t === "full" ? Bj : 0) : e && e.whitespace == "pre" ? 3 : n & -5;
49538
49538
  }
49539
49539
  var Ig = class {
@@ -49566,10 +49566,10 @@ var Ig = class {
49566
49566
  inlineContext(e) {
49567
49567
  return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !Nj.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
49568
49568
  }
49569
- }, K3 = class {
49569
+ }, KD = class {
49570
49570
  constructor(e, t, n) {
49571
49571
  this.parser = e, this.options = t, this.isOpen = n, this.open = 0, this.localPreserveWS = !1;
49572
- let r = t.topNode, o, i = j3(null, t.preserveWhitespace, 0) | (n ? Nv : 0);
49572
+ let r = t.topNode, o, i = jD(null, t.preserveWhitespace, 0) | (n ? Nv : 0);
49573
49573
  r ? o = new Ig(r.type, r.attrs, jt.none, !0, t.topMatch || r.type.contentMatch, i) : n ? o = new Ig(null, null, jt.none, !0, null, i) : o = new Ig(e.schema.topNodeType, null, jt.none, !0, null, i), this.nodes = [o], this.find = t.findPositions, this.needsBlock = !1;
49574
49574
  }
49575
49575
  get top() {
@@ -49700,7 +49700,7 @@ var Ig = class {
49700
49700
  let o = this.top;
49701
49701
  o.match && (o.match = o.match.matchType(e.type));
49702
49702
  let i = jt.none;
49703
- for (let a of r.concat(e.marks)) (o.type ? o.type.allowsMarkType(a.type) : q3(a.type, e.type)) && (i = a.addToSet(i));
49703
+ for (let a of r.concat(e.marks)) (o.type ? o.type.allowsMarkType(a.type) : qD(a.type, e.type)) && (i = a.addToSet(i));
49704
49704
  return o.content.push(e.mark(i)), !0;
49705
49705
  }
49706
49706
  return !1;
@@ -49713,10 +49713,10 @@ var Ig = class {
49713
49713
  this.closeExtra();
49714
49714
  let i = this.top;
49715
49715
  i.match = i.match && i.match.matchType(e);
49716
- let a = j3(e, o, i.options);
49716
+ let a = jD(e, o, i.options);
49717
49717
  i.options & Nv && i.content.length == 0 && (a |= Nv);
49718
49718
  let s = jt.none;
49719
- return n = n.filter((l) => (i.type ? i.type.allowsMarkType(l.type) : q3(l.type, e)) ? (s = l.addToSet(s), !1) : !0), this.nodes.push(new Ig(e, t, s, r, null, a)), this.open++, n;
49719
+ return n = n.filter((l) => (i.type ? i.type.allowsMarkType(l.type) : qD(l.type, e)) ? (s = l.addToSet(s), !1) : !0), this.nodes.push(new Ig(e, t, s, r, null, a)), this.open++, n;
49720
49720
  }
49721
49721
  closeExtra(e = !1) {
49722
49722
  let t = this.nodes.length - 1;
@@ -49802,12 +49802,12 @@ function HFe(e) {
49802
49802
  function $Fe(e, t) {
49803
49803
  return (e.matches || e.msMatchesSelector || e.webkitMatchesSelector || e.mozMatchesSelector).call(e, t);
49804
49804
  }
49805
- function Y3(e) {
49805
+ function YD(e) {
49806
49806
  let t = {};
49807
49807
  for (let n in e) t[n] = e[n];
49808
49808
  return t;
49809
49809
  }
49810
- function q3(e, t) {
49810
+ function qD(e, t) {
49811
49811
  let n = t.schema.nodes;
49812
49812
  for (let r in n) {
49813
49813
  let o = n[r];
@@ -49878,14 +49878,14 @@ var Dm = class Vj {
49878
49878
  return t.cached.domSerializer || (t.cached.domSerializer = new Vj(this.nodesFromSchema(t), this.marksFromSchema(t)));
49879
49879
  }
49880
49880
  static nodesFromSchema(t) {
49881
- let n = X3(t.nodes);
49881
+ let n = XD(t.nodes);
49882
49882
  return n.text || (n.text = (r) => r.text), n;
49883
49883
  }
49884
49884
  static marksFromSchema(t) {
49885
- return X3(t.marks);
49885
+ return XD(t.marks);
49886
49886
  }
49887
49887
  };
49888
- function X3(e) {
49888
+ function XD(e) {
49889
49889
  let t = {};
49890
49890
  for (let n in e) {
49891
49891
  let r = e[n].spec.toDOM;
@@ -49896,10 +49896,10 @@ function X3(e) {
49896
49896
  function Og(e) {
49897
49897
  return e.document || window.document;
49898
49898
  }
49899
- var J3 = /* @__PURE__ */ new WeakMap();
49899
+ var JD = /* @__PURE__ */ new WeakMap();
49900
49900
  function zFe(e) {
49901
- let t = J3.get(e);
49902
- return t === void 0 && J3.set(e, t = WFe(e)), t;
49901
+ let t = JD.get(e);
49902
+ return t === void 0 && JD.set(e, t = WFe(e)), t;
49903
49903
  }
49904
49904
  function WFe(e) {
49905
49905
  let t = null;
@@ -49953,7 +49953,7 @@ var Hj = 65535, $j = Math.pow(2, 16);
49953
49953
  function GFe(e, t) {
49954
49954
  return e + t * $j;
49955
49955
  }
49956
- function Q3(e) {
49956
+ function QD(e) {
49957
49957
  return e & Hj;
49958
49958
  }
49959
49959
  function UFe(e) {
@@ -49980,7 +49980,7 @@ var jFe = 1, KFe = 2, zj = 4, Wj = 8, kA = class {
49980
49980
  if (this.ranges = t, this.inverted = n, !t.length && Su.empty) return Su.empty;
49981
49981
  }
49982
49982
  recover(t) {
49983
- let n = 0, r = Q3(t);
49983
+ let n = 0, r = QD(t);
49984
49984
  if (!this.inverted) for (let o = 0; o < r; o++) n += this.ranges[o * 3 + 2] - this.ranges[o * 3 + 1];
49985
49985
  return this.ranges[r * 3] + n + UFe(t);
49986
49986
  }
@@ -50007,7 +50007,7 @@ var jFe = 1, KFe = 2, zj = 4, Wj = 8, kA = class {
50007
50007
  return r ? t + o : new kA(t + o, 0, null);
50008
50008
  }
50009
50009
  touches(t, n) {
50010
- let r = 0, o = Q3(n), i = this.inverted ? 2 : 1, a = this.inverted ? 1 : 2;
50010
+ let r = 0, o = QD(n), i = this.inverted ? 2 : 1, a = this.inverted ? 1 : 2;
50011
50011
  for (let s = 0; s < this.ranges.length; s += 3) {
50012
50012
  let l = this.ranges[s] - (this.inverted ? r : 0);
50013
50013
  if (l > t) break;
@@ -50470,12 +50470,12 @@ function JFe(e, t, n) {
50470
50470
  }
50471
50471
  function Uj(e, t, n = null, r = e) {
50472
50472
  let o = QFe(e, t), i = o && ZFe(r, t);
50473
- return i ? o.map(Z3).concat({
50473
+ return i ? o.map(ZD).concat({
50474
50474
  type: t,
50475
50475
  attrs: n
50476
- }).concat(i.map(Z3)) : null;
50476
+ }).concat(i.map(ZD)) : null;
50477
50477
  }
50478
- function Z3(e) {
50478
+ function ZD(e) {
50479
50479
  return {
50480
50480
  type: e,
50481
50481
  attrs: null
@@ -50702,7 +50702,7 @@ var lBe = class {
50702
50702
  }
50703
50703
  for (let t = 1; t <= 2; t++) for (let n = t == 1 ? e : this.unplaced.openStart; n >= 0; n--) {
50704
50704
  let r, o = null;
50705
- n ? (o = eD(this.unplaced.content, n - 1).firstChild, r = o.content) : r = this.unplaced.content;
50705
+ n ? (o = e3(this.unplaced.content, n - 1).firstChild, r = o.content) : r = this.unplaced.content;
50706
50706
  let i = r.firstChild;
50707
50707
  for (let a = this.depth; a >= 0; a--) {
50708
50708
  let { type: s, match: l } = this.frontier[a], c, u = null;
@@ -50724,10 +50724,10 @@ var lBe = class {
50724
50724
  }
50725
50725
  openMore() {
50726
50726
  let { content: e, openStart: t, openEnd: n } = this.unplaced;
50727
- return tD(e, -1) <= t ? !1 : (this.unplaced.size > 1 && tD(e, 1) > n && n++, this.unplaced = new Ie(e, t + 1, n), !0);
50727
+ return t3(e, -1) <= t ? !1 : (this.unplaced.size > 1 && t3(e, 1) > n && n++, this.unplaced = new Ie(e, t + 1, n), !0);
50728
50728
  }
50729
50729
  dropNode() {
50730
- let { content: e, openStart: t, openEnd: n } = this.unplaced, r = eD(e, t);
50730
+ let { content: e, openStart: t, openEnd: n } = this.unplaced, r = e3(e, t);
50731
50731
  if (r.childCount <= 1 && t > 0) {
50732
50732
  let o = e.size - t <= t + r.size;
50733
50733
  this.unplaced = new Ie(Jf(e, t - 1, 1), t - 1, o ? t - 1 : n);
@@ -50811,7 +50811,7 @@ function Jf(e, t, n) {
50811
50811
  function Qf(e, t, n) {
50812
50812
  return t == 0 ? e.append(n) : e.replaceChild(e.childCount - 1, e.lastChild.copy(Qf(e.lastChild.content, t - 1, n)));
50813
50813
  }
50814
- function eD(e, t) {
50814
+ function e3(e, t) {
50815
50815
  for (let n = 0; n < t; n++) e = e.firstChild.content;
50816
50816
  return e;
50817
50817
  }
@@ -50833,7 +50833,7 @@ function cBe(e, t, n) {
50833
50833
  function uBe(e) {
50834
50834
  return e.spec.defining || e.spec.definingForContent;
50835
50835
  }
50836
- function tD(e, t) {
50836
+ function t3(e, t) {
50837
50837
  for (let n = 0; ; n++) {
50838
50838
  let r = t < 0 ? e.firstChild : e.lastChild;
50839
50839
  if (!r || r.isAtom) return n;
@@ -51150,14 +51150,14 @@ var nK = class {
51150
51150
  let o = e.steps.length, i = this.ranges;
51151
51151
  for (let a = 0; a < i.length; a++) {
51152
51152
  let { $from: s, $to: l } = i[a], c = e.mapping.slice(o);
51153
- e.replaceRange(c.map(s.pos), c.map(l.pos), a ? Ie.empty : t), a == 0 && oD(e, o, (n ? n.isInline : r && r.isTextblock) ? -1 : 1);
51153
+ e.replaceRange(c.map(s.pos), c.map(l.pos), a ? Ie.empty : t), a == 0 && o3(e, o, (n ? n.isInline : r && r.isTextblock) ? -1 : 1);
51154
51154
  }
51155
51155
  }
51156
51156
  replaceWith(e, t) {
51157
51157
  let n = e.steps.length, r = this.ranges;
51158
51158
  for (let o = 0; o < r.length; o++) {
51159
51159
  let { $from: i, $to: a } = r[o], s = e.mapping.slice(n), l = s.map(i.pos), c = s.map(a.pos);
51160
- o ? e.deleteRange(l, c) : (e.replaceRangeWith(l, c, t), oD(e, n, t.isInline ? -1 : 1));
51160
+ o ? e.deleteRange(l, c) : (e.replaceRangeWith(l, c, t), o3(e, n, t.isInline ? -1 : 1));
51161
51161
  }
51162
51162
  }
51163
51163
  static findFrom(e, t, n = !1) {
@@ -51197,13 +51197,13 @@ var pBe = class {
51197
51197
  constructor(e, t) {
51198
51198
  this.$from = e, this.$to = t;
51199
51199
  }
51200
- }, nD = !1;
51201
- function rD(e) {
51202
- !nD && !e.parent.inlineContent && (nD = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + e.parent.type.name + ")"));
51200
+ }, n3 = !1;
51201
+ function r3(e) {
51202
+ !n3 && !e.parent.inlineContent && (n3 = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + e.parent.type.name + ")"));
51203
51203
  }
51204
51204
  var mt = class Zf extends vt {
51205
51205
  constructor(t, n = t) {
51206
- rD(t), rD(n), super(t, n);
51206
+ r3(t), r3(n), super(t, n);
51207
51207
  }
51208
51208
  get $cursor() {
51209
51209
  return this.$anchor.pos == this.$head.pos ? this.$head : null;
@@ -51361,7 +51361,7 @@ function wu(e, t, n, r, o, i = !1) {
51361
51361
  }
51362
51362
  return null;
51363
51363
  }
51364
- function oD(e, t, n) {
51364
+ function o3(e, t, n) {
51365
51365
  let r = e.steps.length - 1;
51366
51366
  if (r < t) return;
51367
51367
  let o = e.steps[r];
@@ -51371,7 +51371,7 @@ function oD(e, t, n) {
51371
51371
  a == null && (a = u);
51372
51372
  }), e.setSelection(vt.near(e.doc.resolve(a), n));
51373
51373
  }
51374
- var iD = 1, aD = 2, sD = 4, vBe = class extends nK {
51374
+ var i3 = 1, a3 = 2, s3 = 4, vBe = class extends nK {
51375
51375
  constructor(e) {
51376
51376
  super(e.doc), this.curSelectionFor = 0, this.updated = 0, this.meta = /* @__PURE__ */ Object.create(null), this.time = Date.now(), this.curSelection = e.selection, this.storedMarks = e.storedMarks;
51377
51377
  }
@@ -51380,13 +51380,13 @@ var iD = 1, aD = 2, sD = 4, vBe = class extends nK {
51380
51380
  }
51381
51381
  setSelection(e) {
51382
51382
  if (e.$from.doc != this.doc) throw new RangeError("Selection passed to setSelection must point at the current document");
51383
- return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | iD) & -3, this.storedMarks = null, this;
51383
+ return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | i3) & -3, this.storedMarks = null, this;
51384
51384
  }
51385
51385
  get selectionSet() {
51386
- return (this.updated & iD) > 0;
51386
+ return (this.updated & i3) > 0;
51387
51387
  }
51388
51388
  setStoredMarks(e) {
51389
- return this.storedMarks = e, this.updated |= aD, this;
51389
+ return this.storedMarks = e, this.updated |= a3, this;
51390
51390
  }
51391
51391
  ensureMarks(e) {
51392
51392
  return jt.sameSet(this.storedMarks || this.selection.$from.marks(), e) || this.setStoredMarks(e), this;
@@ -51398,7 +51398,7 @@ var iD = 1, aD = 2, sD = 4, vBe = class extends nK {
51398
51398
  return this.ensureMarks(e.removeFromSet(this.storedMarks || this.selection.$head.marks()));
51399
51399
  }
51400
51400
  get storedMarksSet() {
51401
- return (this.updated & aD) > 0;
51401
+ return (this.updated & a3) > 0;
51402
51402
  }
51403
51403
  addStep(e, t) {
51404
51404
  super.addStep(e, t), this.updated = this.updated & -3, this.storedMarks = null;
@@ -51441,18 +51441,18 @@ var iD = 1, aD = 2, sD = 4, vBe = class extends nK {
51441
51441
  return !0;
51442
51442
  }
51443
51443
  scrollIntoView() {
51444
- return this.updated |= sD, this;
51444
+ return this.updated |= s3, this;
51445
51445
  }
51446
51446
  get scrolledIntoView() {
51447
- return (this.updated & sD) > 0;
51447
+ return (this.updated & s3) > 0;
51448
51448
  }
51449
51449
  };
51450
- function lD(e, t) {
51450
+ function l3(e, t) {
51451
51451
  return !t || !e ? e : e.bind(t);
51452
51452
  }
51453
51453
  var th = class {
51454
51454
  constructor(e, t, n) {
51455
- this.name = e, this.init = lD(t.init, n), this.apply = lD(t.apply, n);
51455
+ this.name = e, this.init = l3(t.init, n), this.apply = l3(t.apply, n);
51456
51456
  }
51457
51457
  }, yBe = [
51458
51458
  new th("doc", {
@@ -51494,7 +51494,7 @@ var th = class {
51494
51494
  this.plugins.push(n), this.pluginsByKey[n.key] = n, n.spec.state && this.fields.push(new th(n.key, n.spec.state, n));
51495
51495
  });
51496
51496
  }
51497
- }, cD = class nh {
51497
+ }, c3 = class nh {
51498
51498
  constructor(t) {
51499
51499
  this.config = t;
51500
51500
  }
@@ -51914,7 +51914,7 @@ function PBe(e, t = null) {
51914
51914
  return s ? (r && r(n.tr.wrap(a, s).scrollIntoView()), !0) : !1;
51915
51915
  };
51916
51916
  }
51917
- function uD(e, t = null) {
51917
+ function u3(e, t = null) {
51918
51918
  return function(n, r) {
51919
51919
  let o = !1;
51920
51920
  for (let i = 0; i < n.selection.ranges.length && !o; i++) {
@@ -51947,14 +51947,14 @@ function pM(...e) {
51947
51947
  return !1;
51948
51948
  };
51949
51949
  }
51950
- var FS = pM(lK, uK, fK), dD = pM(lK, pK, mK), Ra = {
51950
+ var FS = pM(lK, uK, fK), d3 = pM(lK, pK, mK), Ra = {
51951
51951
  Enter: pM(gK, yK, bK, CBe),
51952
51952
  "Mod-Enter": vK,
51953
51953
  Backspace: FS,
51954
51954
  "Mod-Backspace": FS,
51955
51955
  "Shift-Backspace": FS,
51956
- Delete: dD,
51957
- "Mod-Delete": dD,
51956
+ Delete: d3,
51957
+ "Mod-Delete": d3,
51958
51958
  "Mod-a": EBe
51959
51959
  }, AK = {
51960
51960
  "Ctrl-h": Ra.Backspace,
@@ -52050,9 +52050,9 @@ var rr = function(e) {
52050
52050
  }, FBe = function() {
52051
52051
  IA = null;
52052
52052
  }, gc = function(e, t, n, r) {
52053
- return n && (fD(e, t, n, r, -1) || fD(e, t, n, r, 1));
52053
+ return n && (f3(e, t, n, r, -1) || f3(e, t, n, r, 1));
52054
52054
  }, BBe = /^(img|br|input|textarea|hr)$/i;
52055
- function fD(e, t, n, r, o) {
52055
+ function f3(e, t, n, r, o) {
52056
52056
  for (var i; ; ) {
52057
52057
  if (e == n && t == r) return !0;
52058
52058
  if (t == (o < 0 ? 0 : Ro(e))) {
@@ -52135,9 +52135,9 @@ function WBe(e, t, n) {
52135
52135
  };
52136
52136
  }
52137
52137
  }
52138
- var ea = typeof navigator < "u" ? navigator : null, hD = typeof document < "u" ? document : null, rl = ea && ea.userAgent || "", OA = /Edge\/(\d+)/.exec(rl), CK = /MSIE \d/.exec(rl), LA = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(rl), Jr = !!(CK || LA || OA), Ps = CK ? document.documentMode : LA ? +LA[1] : OA ? +OA[1] : 0, No = !Jr && /gecko\/(\d+)/i.test(rl);
52138
+ var ea = typeof navigator < "u" ? navigator : null, h3 = typeof document < "u" ? document : null, rl = ea && ea.userAgent || "", OA = /Edge\/(\d+)/.exec(rl), CK = /MSIE \d/.exec(rl), LA = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(rl), Jr = !!(CK || LA || OA), Ps = CK ? document.documentMode : LA ? +LA[1] : OA ? +OA[1] : 0, No = !Jr && /gecko\/(\d+)/i.test(rl);
52139
52139
  No && +(/Firefox\/(\d+)/.exec(rl) || [0, 0])[1];
52140
- var _A = !Jr && /Chrome\/(\d+)/.exec(rl), ir = !!_A, kK = _A ? +_A[1] : 0, yr = !Jr && !!ea && /Apple Computer/.test(ea.vendor), wd = yr && (/Mobile\/\w+/.test(rl) || !!ea && ea.maxTouchPoints > 2), Mo = wd || (ea ? /Mac/.test(ea.platform) : !1), EK = ea ? /Win/.test(ea.platform) : !1, Fa = /Android \d/.test(rl), Fm = !!hD && "webkitFontSmoothing" in hD.documentElement.style, GBe = Fm ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
52140
+ var _A = !Jr && /Chrome\/(\d+)/.exec(rl), ir = !!_A, kK = _A ? +_A[1] : 0, yr = !Jr && !!ea && /Apple Computer/.test(ea.vendor), wd = yr && (/Mobile\/\w+/.test(rl) || !!ea && ea.maxTouchPoints > 2), Mo = wd || (ea ? /Mac/.test(ea.platform) : !1), EK = ea ? /Win/.test(ea.platform) : !1, Fa = /Android \d/.test(rl), Fm = !!h3 && "webkitFontSmoothing" in h3.documentElement.style, GBe = Fm ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
52141
52141
  function UBe(e) {
52142
52142
  let t = e.defaultView && e.defaultView.visualViewport;
52143
52143
  return t ? {
@@ -52164,7 +52164,7 @@ function jBe(e) {
52164
52164
  bottom: t.top + e.clientHeight * r
52165
52165
  };
52166
52166
  }
52167
- function pD(e, t, n) {
52167
+ function p3(e, t, n) {
52168
52168
  if (!DA(t) && t.left == 0) return;
52169
52169
  let r = e.someProp("scrollThreshold") || 0, o = e.someProp("scrollMargin") || 5, i = e.dom.ownerDocument;
52170
52170
  for (let a = n || e.dom; a; ) {
@@ -52474,11 +52474,11 @@ function o9e(e, t, n) {
52474
52474
  return f != null && (s.caretBidiLevel = f), v;
52475
52475
  }) : r.pos == r.start() || r.pos == r.end();
52476
52476
  }
52477
- var mD = null, gD = null, vD = !1;
52477
+ var m3 = null, g3 = null, v3 = !1;
52478
52478
  function i9e(e, t, n) {
52479
- return mD == t && gD == n ? vD : (mD = t, gD = n, vD = n == "up" || n == "down" ? n9e(e, t, n) : o9e(e, t, n));
52479
+ return m3 == t && g3 == n ? v3 : (m3 = t, g3 = n, v3 = n == "up" || n == "down" ? n9e(e, t, n) : o9e(e, t, n));
52480
52480
  }
52481
- var Fo = 0, yD = 1, Nl = 2, li = 3, Bm = class {
52481
+ var Fo = 0, y3 = 1, Nl = 2, li = 3, Bm = class {
52482
52482
  constructor(e, t, n, r) {
52483
52483
  this.parent = e, this.children = t, this.dom = n, this.contentDOM = r, this.dirty = Fo, n.pmViewDesc = this;
52484
52484
  }
@@ -52762,7 +52762,7 @@ var Fo = 0, yD = 1, Nl = 2, li = 3, Bm = class {
52762
52762
  if (n == i ? e <= i && t >= n : e < i && t > n) {
52763
52763
  let a = n + o.border, s = i - o.border;
52764
52764
  if (e >= a && t <= s) {
52765
- this.dirty = e == n || t == i ? Nl : yD, e == a && t == s && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = li : o.markDirty(e - a, t - a);
52765
+ this.dirty = e == n || t == i ? Nl : y3, e == a && t == s && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = li : o.markDirty(e - a, t - a);
52766
52766
  return;
52767
52767
  } else o.dirty = o.dom == o.contentDOM && o.dom.parentNode == this.contentDOM && !o.children.length ? Nl : li;
52768
52768
  }
@@ -52773,7 +52773,7 @@ var Fo = 0, yD = 1, Nl = 2, li = 3, Bm = class {
52773
52773
  markParentsDirty() {
52774
52774
  let e = 1;
52775
52775
  for (let t = this.parent; t; t = t.parent, e++) {
52776
- let n = e == 1 ? Nl : yD;
52776
+ let n = e == 1 ? Nl : y3;
52777
52777
  t.dirty < n && (t.dirty = n);
52778
52778
  }
52779
52779
  }
@@ -52994,7 +52994,7 @@ var Fo = 0, yD = 1, Nl = 2, li = 3, Bm = class {
52994
52994
  return this.node.isAtom;
52995
52995
  }
52996
52996
  };
52997
- function bD(e, t, n, r, o) {
52997
+ function b3(e, t, n, r, o) {
52998
52998
  $K(r, t, e);
52999
52999
  let i = new Yu(void 0, e, t, n, r, r, r);
53000
53000
  return i.contentDOM && i.updateChildren(o, 0), i;
@@ -53090,7 +53090,7 @@ function VK(e, t, n) {
53090
53090
  let a = t[i], s = a.dom;
53091
53091
  if (s.parentNode == e) {
53092
53092
  for (; s != r; )
53093
- r = xD(r), o = !0;
53093
+ r = x3(r), o = !0;
53094
53094
  r = r.nextSibling;
53095
53095
  } else
53096
53096
  o = !0, e.insertBefore(s, r);
@@ -53100,7 +53100,7 @@ function VK(e, t, n) {
53100
53100
  }
53101
53101
  }
53102
53102
  for (; r; )
53103
- r = xD(r), o = !0;
53103
+ r = x3(r), o = !0;
53104
53104
  o && n.trackWrites == e && (n.trackWrites = null);
53105
53105
  }
53106
53106
  var Mh = function(e) {
@@ -53161,7 +53161,7 @@ function Zy(e, t) {
53161
53161
  for (let n = 0; n < e.length; n++) if (!e[n].type.eq(t[n].type)) return !1;
53162
53162
  return !0;
53163
53163
  }
53164
- function xD(e) {
53164
+ function x3(e) {
53165
53165
  let t = e.nextSibling;
53166
53166
  return e.parentNode.removeChild(e), t;
53167
53167
  }
@@ -53445,12 +53445,12 @@ function Wa(e, t = !1) {
53445
53445
  if (e.domObserver.disconnectSelection(), e.cursorWrapper) g9e(e);
53446
53446
  else {
53447
53447
  let { anchor: o, head: i } = n, a, s;
53448
- SD && !(n instanceof mt) && (n.$from.parent.inlineContent || (a = wD(e, n.from)), !n.empty && !n.$from.parent.inlineContent && (s = wD(e, n.to))), e.docView.setSelection(o, i, e, t), SD && (a && TD(a), s && TD(s)), n.visible ? e.dom.classList.remove("ProseMirror-hideselection") : (e.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && m9e(e));
53448
+ S3 && !(n instanceof mt) && (n.$from.parent.inlineContent || (a = w3(e, n.from)), !n.empty && !n.$from.parent.inlineContent && (s = w3(e, n.to))), e.docView.setSelection(o, i, e, t), S3 && (a && T3(a), s && T3(s)), n.visible ? e.dom.classList.remove("ProseMirror-hideselection") : (e.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && m9e(e));
53449
53449
  }
53450
53450
  e.domObserver.setCurSelection(), e.domObserver.connectSelection();
53451
53451
  }
53452
- var SD = yr || ir && kK < 63;
53453
- function wD(e, t) {
53452
+ var S3 = yr || ir && kK < 63;
53453
+ function w3(e, t) {
53454
53454
  let { node: n, offset: r } = e.docView.domFromPos(t, 0), o = r < n.childNodes.length ? n.childNodes[r] : null, i = r ? n.childNodes[r - 1] : null;
53455
53455
  if (yr && o && o.contentEditable == "false") return VS(o);
53456
53456
  if ((!o || o.contentEditable == "false") && (!i || i.contentEditable == "false")) {
@@ -53461,7 +53461,7 @@ function wD(e, t) {
53461
53461
  function VS(e) {
53462
53462
  return e.contentEditable = "true", yr && e.draggable && (e.draggable = !1, e.wasDraggable = !0), e;
53463
53463
  }
53464
- function TD(e) {
53464
+ function T3(e) {
53465
53465
  e.contentEditable = "false", e.wasDraggable && (e.draggable = !0, e.wasDraggable = null);
53466
53466
  }
53467
53467
  function m9e(e) {
@@ -53483,16 +53483,16 @@ function g9e(e) {
53483
53483
  function WK(e, t) {
53484
53484
  if (t instanceof rt) {
53485
53485
  let n = e.docView.descAt(t.from);
53486
- n != e.lastSelectedViewDesc && (AD(e), n && n.selectNode(), e.lastSelectedViewDesc = n);
53487
- } else AD(e);
53486
+ n != e.lastSelectedViewDesc && (A3(e), n && n.selectNode(), e.lastSelectedViewDesc = n);
53487
+ } else A3(e);
53488
53488
  }
53489
- function AD(e) {
53489
+ function A3(e) {
53490
53490
  e.lastSelectedViewDesc && (e.lastSelectedViewDesc.parent && e.lastSelectedViewDesc.deselectNode(), e.lastSelectedViewDesc = void 0);
53491
53491
  }
53492
53492
  function vM(e, t, n, r) {
53493
53493
  return e.someProp("createSelectionBetween", (o) => o(e, t, n)) || mt.between(t, n, r);
53494
53494
  }
53495
- function CD(e) {
53495
+ function C3(e) {
53496
53496
  return e.editable && !e.hasFocus() ? !1 : GK(e);
53497
53497
  }
53498
53498
  function GK(e) {
@@ -53515,7 +53515,7 @@ function VA(e, t) {
53515
53515
  function vs(e, t) {
53516
53516
  return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()), !0;
53517
53517
  }
53518
- function kD(e, t, n) {
53518
+ function k3(e, t, n) {
53519
53519
  let r = e.state.selection;
53520
53520
  if (r instanceof mt)
53521
53521
  if (n.indexOf("s") > -1) {
@@ -53649,7 +53649,7 @@ function HA(e, t, n) {
53649
53649
  e.state == o && Wa(e);
53650
53650
  }, 50);
53651
53651
  }
53652
- function ED(e, t) {
53652
+ function E3(e, t) {
53653
53653
  let n = e.state.doc.resolve(t);
53654
53654
  if (!(ir || EK) && n.parent.inlineContent) {
53655
53655
  let r = e.coordsAtPos(t);
@@ -53664,7 +53664,7 @@ function ED(e, t) {
53664
53664
  }
53665
53665
  return getComputedStyle(e.dom).direction == "rtl" ? "rtl" : "ltr";
53666
53666
  }
53667
- function MD(e, t, n) {
53667
+ function M3(e, t, n) {
53668
53668
  let r = e.state.selection;
53669
53669
  if (r instanceof mt && !r.empty || n.indexOf("s") > -1 || Mo && n.indexOf("m") > -1) return !1;
53670
53670
  let { $from: o, $to: i } = r;
@@ -53678,7 +53678,7 @@ function MD(e, t, n) {
53678
53678
  }
53679
53679
  return !1;
53680
53680
  }
53681
- function PD(e, t) {
53681
+ function P3(e, t) {
53682
53682
  if (!(e.state.selection instanceof mt)) return !0;
53683
53683
  let { $head: n, $anchor: r, empty: o } = e.state.selection;
53684
53684
  if (!n.sameParent(r)) return !0;
@@ -53691,7 +53691,7 @@ function PD(e, t) {
53691
53691
  }
53692
53692
  return !1;
53693
53693
  }
53694
- function RD(e, t, n) {
53694
+ function R3(e, t, n) {
53695
53695
  e.domObserver.stop(), t.contentEditable = n, e.domObserver.start();
53696
53696
  }
53697
53697
  function w9e(e) {
@@ -53699,7 +53699,7 @@ function w9e(e) {
53699
53699
  let { focusNode: t, focusOffset: n } = e.domSelectionRange();
53700
53700
  if (t && t.nodeType == 1 && n == 0 && t.firstChild && t.firstChild.contentEditable == "false") {
53701
53701
  let r = t.firstChild;
53702
- RD(e, r, "true"), setTimeout(() => RD(e, r, "false"), 20);
53702
+ R3(e, r, "true"), setTimeout(() => R3(e, r, "false"), 20);
53703
53703
  }
53704
53704
  return !1;
53705
53705
  }
@@ -53709,18 +53709,18 @@ function T9e(e) {
53709
53709
  }
53710
53710
  function A9e(e, t) {
53711
53711
  let n = t.keyCode, r = T9e(t);
53712
- if (n == 8 || Mo && n == 72 && r == "c") return PD(e, -1) || fu(e, -1);
53713
- if (n == 46 && !t.shiftKey || Mo && n == 68 && r == "c") return PD(e, 1) || fu(e, 1);
53712
+ if (n == 8 || Mo && n == 72 && r == "c") return P3(e, -1) || fu(e, -1);
53713
+ if (n == 46 && !t.shiftKey || Mo && n == 68 && r == "c") return P3(e, 1) || fu(e, 1);
53714
53714
  if (n == 13 || n == 27) return !0;
53715
53715
  if (n == 37 || Mo && n == 66 && r == "c") {
53716
- let o = n == 37 ? ED(e, e.state.selection.from) == "ltr" ? -1 : 1 : -1;
53717
- return kD(e, o, r) || fu(e, o);
53716
+ let o = n == 37 ? E3(e, e.state.selection.from) == "ltr" ? -1 : 1 : -1;
53717
+ return k3(e, o, r) || fu(e, o);
53718
53718
  } else if (n == 39 || Mo && n == 70 && r == "c") {
53719
- let o = n == 39 ? ED(e, e.state.selection.from) == "ltr" ? 1 : -1 : 1;
53720
- return kD(e, o, r) || fu(e, o);
53719
+ let o = n == 39 ? E3(e, e.state.selection.from) == "ltr" ? 1 : -1 : 1;
53720
+ return k3(e, o, r) || fu(e, o);
53721
53721
  } else {
53722
- if (n == 38 || Mo && n == 80 && r == "c") return MD(e, -1, r) || fu(e, -1);
53723
- if (n == 40 || Mo && n == 78 && r == "c") return w9e(e) || MD(e, 1, r) || fu(e, 1);
53722
+ if (n == 38 || Mo && n == 80 && r == "c") return M3(e, -1, r) || fu(e, -1);
53723
+ if (n == 40 || Mo && n == 78 && r == "c") return w9e(e) || M3(e, 1, r) || fu(e, 1);
53724
53724
  if (r == (Mo ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90)) return !0;
53725
53725
  }
53726
53726
  return !1;
@@ -53792,12 +53792,12 @@ function jK(e, t, n, r, o) {
53792
53792
  ruleFromNode(d) {
53793
53793
  return d.nodeName == "BR" && !d.nextSibling && d.parentNode && !C9e.test(d.parentNode.nodeName) ? { ignore: !0 } : null;
53794
53794
  }
53795
- })), u) s = R9e(ID(s, +u[1], +u[2]), u[4]);
53795
+ })), u) s = R9e(I3(s, +u[1], +u[2]), u[4]);
53796
53796
  else if (s = Ie.maxOpen(k9e(s.content, o), !0), s.openStart || s.openEnd) {
53797
53797
  let d = 0, f = 0;
53798
53798
  for (let h = s.content.firstChild; d < s.openStart && !h.type.spec.isolating; d++, h = h.firstChild) ;
53799
53799
  for (let h = s.content.lastChild; f < s.openEnd && !h.type.spec.isolating; f++, h = h.lastChild) ;
53800
- s = ID(s, d, f);
53800
+ s = I3(s, d, f);
53801
53801
  }
53802
53802
  return e.someProp("transformPasted", (d) => {
53803
53803
  s = d(s, e, l);
@@ -53842,7 +53842,7 @@ function $A(e, t, n, r, o, i) {
53842
53842
  let a = t < 0 ? e.firstChild : e.lastChild, s = a.content;
53843
53843
  return e.childCount > 1 && (i = 0), o < r - 1 && (s = $A(s, t, n, r, o + 1, i)), o >= n && (s = t < 0 ? a.contentMatchAt(0).fillBefore(s, i <= o).append(s) : s.append(a.contentMatchAt(a.childCount).fillBefore(Se.empty, !0))), e.replaceChild(t < 0 ? 0 : e.childCount - 1, a.copy(s));
53844
53844
  }
53845
- function ID(e, t, n) {
53845
+ function I3(e, t, n) {
53846
53846
  return t < e.openStart && (e = new Ie($A(e.content, -1, t, e.openStart, 0, e.openEnd), t, e.openEnd)), n < e.openEnd && (e = new Ie($A(e.content, 1, n, e.openEnd, 0, 0), e.openStart, n)), e;
53847
53847
  }
53848
53848
  var XK = {
@@ -54376,7 +54376,7 @@ function Np(e, t) {
54376
54376
  for (let n in t) if (!(n in e)) return !1;
54377
54377
  return !0;
54378
54378
  }
54379
- var OD = class sY {
54379
+ var O3 = class sY {
54380
54380
  constructor(t, n) {
54381
54381
  this.toDOM = t, this.spec = n || Jl, this.side = this.spec.side || 0;
54382
54382
  }
@@ -54445,7 +54445,7 @@ var OD = class sY {
54445
54445
  return this.type.map(t, this, n, r);
54446
54446
  }
54447
54447
  static widget(t, n, r) {
54448
- return new rh(t, t, new OD(n, r));
54448
+ return new rh(t, t, new O3(n, r));
54449
54449
  }
54450
54450
  static inline(t, n, r, o) {
54451
54451
  return new rh(t, n, new Rh(r, o));
@@ -54460,7 +54460,7 @@ var OD = class sY {
54460
54460
  return this.type instanceof Rh;
54461
54461
  }
54462
54462
  get widget() {
54463
- return this.type instanceof OD;
54463
+ return this.type instanceof O3;
54464
54464
  }
54465
54465
  }, Tu = [], Jl = {}, vn = class ms {
54466
54466
  constructor(t, n) {
@@ -54722,17 +54722,17 @@ function wM(e) {
54722
54722
  if (r.from != r.to) for (let o = n + 1; o < t.length; o++) {
54723
54723
  let i = t[o];
54724
54724
  if (i.from == r.from) {
54725
- i.to != r.to && (t == e && (t = e.slice()), t[o] = i.copy(i.from, r.to), LD(t, o + 1, i.copy(r.to, i.to)));
54725
+ i.to != r.to && (t == e && (t = e.slice()), t[o] = i.copy(i.from, r.to), L3(t, o + 1, i.copy(r.to, i.to)));
54726
54726
  continue;
54727
54727
  } else {
54728
- i.from < r.to && (t == e && (t = e.slice()), t[n] = r.copy(r.from, i.from), LD(t, o, r.copy(i.from, r.to)));
54728
+ i.from < r.to && (t == e && (t = e.slice()), t[n] = r.copy(r.from, i.from), L3(t, o, r.copy(i.from, r.to)));
54729
54729
  break;
54730
54730
  }
54731
54731
  }
54732
54732
  }
54733
54733
  return t;
54734
54734
  }
54735
- function LD(e, t, n) {
54735
+ function L3(e, t, n) {
54736
54736
  for (; t < e.length && Ql(n, e[t]) > 0; ) t++;
54737
54737
  e.splice(t, 0, n);
54738
54738
  }
@@ -54808,7 +54808,7 @@ var rVe = {
54808
54808
  this.suppressingSelectionUpdates = !0, setTimeout(() => this.suppressingSelectionUpdates = !1, 50);
54809
54809
  }
54810
54810
  onSelectionChange() {
54811
- if (CD(this.view)) {
54811
+ if (C3(this.view)) {
54812
54812
  if (this.suppressingSelectionUpdates) return Wa(this.view);
54813
54813
  if (Jr && Ps <= 11 && !this.view.state.selection.empty) {
54814
54814
  let e = this.view.domSelectionRange();
@@ -54844,7 +54844,7 @@ var rVe = {
54844
54844
  if (!e.docView || this.flushingSoon > -1) return;
54845
54845
  let t = this.pendingRecords();
54846
54846
  t.length && (this.queue = []);
54847
- let n = e.domSelectionRange(), r = !this.suppressingSelectionUpdates && !this.currentSelection.eq(n) && CD(e) && !this.ignoreSelectionChange(n), o = -1, i = -1, a = !1, s = [];
54847
+ let n = e.domSelectionRange(), r = !this.suppressingSelectionUpdates && !this.currentSelection.eq(n) && C3(e) && !this.ignoreSelectionChange(n), o = -1, i = -1, a = !1, s = [];
54848
54848
  if (e.editable) for (let c = 0; c < t.length; c++) {
54849
54849
  let u = this.registerMutation(t[c], s);
54850
54850
  u && (o = o < 0 ? u.from : Math.min(u.from, o), i = i < 0 ? u.to : Math.max(u.to, i), u.typeOver && (a = !0));
@@ -54908,18 +54908,18 @@ var rVe = {
54908
54908
  typeOver: e.target.nodeValue == e.oldValue
54909
54909
  });
54910
54910
  }
54911
- }, _D = /* @__PURE__ */ new WeakMap(), DD = !1;
54911
+ }, _3 = /* @__PURE__ */ new WeakMap(), D3 = !1;
54912
54912
  function sVe(e) {
54913
- if (!_D.has(e) && (_D.set(e, null), [
54913
+ if (!_3.has(e) && (_3.set(e, null), [
54914
54914
  "normal",
54915
54915
  "nowrap",
54916
54916
  "pre-line"
54917
54917
  ].indexOf(getComputedStyle(e.dom).whiteSpace) !== -1)) {
54918
- if (e.requiresGeckoHackNode = No, DD) return;
54919
- console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), DD = !0;
54918
+ if (e.requiresGeckoHackNode = No, D3) return;
54919
+ console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), D3 = !0;
54920
54920
  }
54921
54921
  }
54922
- function ND(e, t) {
54922
+ function N3(e, t) {
54923
54923
  let n = t.startContainer, r = t.startOffset, o = t.endContainer, i = t.endOffset, a = e.domAtPos(e.state.selection.anchor);
54924
54924
  return gc(a.node, a.offset, o, i) && ([n, r, o, i] = [
54925
54925
  o,
@@ -54936,13 +54936,13 @@ function ND(e, t) {
54936
54936
  function lVe(e, t) {
54937
54937
  if (t.getComposedRanges) {
54938
54938
  let o = t.getComposedRanges(e.root)[0];
54939
- if (o) return ND(e, o);
54939
+ if (o) return N3(e, o);
54940
54940
  }
54941
54941
  let n;
54942
54942
  function r(o) {
54943
54943
  o.preventDefault(), o.stopImmediatePropagation(), n = o.getTargetRanges()[0];
54944
54944
  }
54945
- return e.dom.addEventListener("beforeinput", r, !0), document.execCommand("indent"), e.dom.removeEventListener("beforeinput", r, !0), n ? ND(e, n) : null;
54945
+ return e.dom.addEventListener("beforeinput", r, !0), document.execCommand("indent"), e.dom.removeEventListener("beforeinput", r, !0), n ? N3(e, n) : null;
54946
54946
  }
54947
54947
  function cVe(e, t) {
54948
54948
  for (let n = t.parentNode; n && n != e.dom; n = n.parentNode) {
@@ -55047,7 +55047,7 @@ function pVe(e, t, n, r, o) {
55047
55047
  };
55048
55048
  else {
55049
55049
  if (c.sel) {
55050
- let P = FD(e, e.state.doc, c.sel);
55050
+ let P = F3(e, e.state.doc, c.sel);
55051
55051
  if (P && !P.eq(e.state.selection)) {
55052
55052
  let x = e.state.tr.setSelection(P);
55053
55053
  i && x.setMeta("composition", i), e.dispatch(x);
@@ -55073,7 +55073,7 @@ function pVe(e, t, n, r, o) {
55073
55073
  let S = p.start, w = p.endA, A = (P) => {
55074
55074
  let x = P || e.state.tr.replace(S, w, c.doc.slice(p.start - c.from, p.endB - c.from));
55075
55075
  if (c.sel) {
55076
- let k = FD(e, x.doc, c.sel);
55076
+ let k = F3(e, x.doc, c.sel);
55077
55077
  k && !(ir && e.composing && k.empty && (p.start != p.endB || e.input.lastChromeDelete < Date.now() - 100) && (k.head == S || k.head == x.mapping.map(w) - 1) || Jr && k.empty && k.head == S) && x.setSelection(k);
55078
55078
  }
55079
55079
  return i && x.setMeta("composition", i), x.scrollIntoView();
@@ -55091,7 +55091,7 @@ function pVe(e, t, n, r, o) {
55091
55091
  } else e.dispatch(A());
55092
55092
  else e.dispatch(A());
55093
55093
  }
55094
- function FD(e, t, n) {
55094
+ function F3(e, t, n) {
55095
55095
  return Math.max(n.anchor, n.head) > t.content.size ? null : vM(e, t.resolve(n.anchor), t.resolve(n.head));
55096
55096
  }
55097
55097
  function mVe(e, t) {
@@ -55155,7 +55155,7 @@ function vVe(e, t, n, r, o) {
55155
55155
  }
55156
55156
  var hY = class {
55157
55157
  constructor(e, t) {
55158
- this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new O9e(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = t, this.state = t.state, this.directPlugins = t.plugins || [], this.directPlugins.forEach(zD), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = HD(this), VD(this), this.nodeViews = $D(this), this.docView = bD(this.state.doc, BD(this), HS(this), this.dom, this), this.domObserver = new aVe(this, (n, r, o, i) => pVe(this, n, r, o, i)), this.domObserver.start(), L9e(this), this.updatePluginViews();
55158
+ this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new O9e(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = t, this.state = t.state, this.directPlugins = t.plugins || [], this.directPlugins.forEach(z3), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = H3(this), V3(this), this.nodeViews = $3(this), this.docView = b3(this.state.doc, B3(this), HS(this), this.dom, this), this.domObserver = new aVe(this, (n, r, o, i) => pVe(this, n, r, o, i)), this.domObserver.start(), L9e(this), this.updatePluginViews();
55159
55159
  }
55160
55160
  get composing() {
55161
55161
  return this.input.composing;
@@ -55172,7 +55172,7 @@ var hY = class {
55172
55172
  update(e) {
55173
55173
  e.handleDOMEvents != this._props.handleDOMEvents && zA(this);
55174
55174
  let t = this._props;
55175
- this._props = e, e.plugins && (e.plugins.forEach(zD), this.directPlugins = e.plugins), this.updateStateInner(e.state, t);
55175
+ this._props = e, e.plugins && (e.plugins.forEach(z3), this.directPlugins = e.plugins), this.updateStateInner(e.state, t);
55176
55176
  }
55177
55177
  setProps(e) {
55178
55178
  let t = {};
@@ -55190,11 +55190,11 @@ var hY = class {
55190
55190
  e.storedMarks && this.composing && (rY(this), i = !0), this.state = e;
55191
55191
  let a = r.plugins != e.plugins || this._props.plugins != t.plugins;
55192
55192
  if (a || this._props.plugins != t.plugins || this._props.nodeViews != t.nodeViews) {
55193
- let f = $D(this);
55193
+ let f = $3(this);
55194
55194
  bVe(f, this.nodeViews) && (this.nodeViews = f, o = !0);
55195
55195
  }
55196
- (a || t.handleDOMEvents != this._props.handleDOMEvents) && zA(this), this.editable = HD(this), VD(this);
55197
- let s = HS(this), l = BD(this), c = r.plugins != e.plugins && !r.doc.eq(e.doc) ? "reset" : e.scrollToSelection > r.scrollToSelection ? "to selection" : "preserve", u = o || !this.docView.matchesNode(e.doc, l, s);
55196
+ (a || t.handleDOMEvents != this._props.handleDOMEvents) && zA(this), this.editable = H3(this), V3(this);
55197
+ let s = HS(this), l = B3(this), c = r.plugins != e.plugins && !r.doc.eq(e.doc) ? "reset" : e.scrollToSelection > r.scrollToSelection ? "to selection" : "preserve", u = o || !this.docView.matchesNode(e.doc, l, s);
55198
55198
  (u || !e.selection.eq(r.selection)) && (i = !0);
55199
55199
  let d = c == "preserve" && i && this.dom.style.overflowAnchor == null && KBe(this);
55200
55200
  if (i) {
@@ -55202,7 +55202,7 @@ var hY = class {
55202
55202
  let f = u && (Jr || ir) && !this.composing && !r.selection.empty && !e.selection.empty && yVe(r.selection, e.selection);
55203
55203
  if (u) {
55204
55204
  let p = ir ? this.trackWrites = this.domSelectionRange().focusNode : null;
55205
- this.composing && (this.input.compositionNode = Y9e(this)), (o || !this.docView.update(e.doc, l, s, this)) && (this.docView.updateOuterDeco(l), this.docView.destroy(), this.docView = bD(e.doc, l, s, this.dom, this)), p && (!this.trackWrites || !this.dom.contains(this.trackWrites)) && (f = !0);
55205
+ this.composing && (this.input.compositionNode = Y9e(this)), (o || !this.docView.update(e.doc, l, s, this)) && (this.docView.updateOuterDeco(l), this.docView.destroy(), this.docView = b3(e.doc, l, s, this.dom, this)), p && (!this.trackWrites || !this.dom.contains(this.trackWrites)) && (f = !0);
55206
55206
  }
55207
55207
  let h = this.input.mouseDown;
55208
55208
  f || !(h && this.domObserver.currentSelection.eq(this.domSelectionRange()) && v9e(this) && h.delaySelUpdate()) ? Wa(this, f) : (WK(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
@@ -55214,8 +55214,8 @@ var hY = class {
55214
55214
  if (!(!e || !this.dom.contains(e.nodeType == 1 ? e : e.parentNode))) {
55215
55215
  if (!this.someProp("handleScrollToSelection", (t) => t(this))) if (this.state.selection instanceof rt) {
55216
55216
  let t = this.docView.domAfterPos(this.state.selection.from);
55217
- t.nodeType == 1 && pD(this, t.getBoundingClientRect(), e);
55218
- } else pD(this, this.coordsAtPos(this.state.selection.head, 1), e);
55217
+ t.nodeType == 1 && p3(this, t.getBoundingClientRect(), e);
55218
+ } else p3(this, this.coordsAtPos(this.state.selection.head, 1), e);
55219
55219
  }
55220
55220
  }
55221
55221
  destroyPluginViews() {
@@ -55343,14 +55343,14 @@ hY.prototype.dispatch = function(e) {
55343
55343
  let t = this._props.dispatchTransaction;
55344
55344
  t ? t.call(this, e) : this.updateState(this.state.apply(e));
55345
55345
  };
55346
- function BD(e) {
55346
+ function B3(e) {
55347
55347
  let t = /* @__PURE__ */ Object.create(null);
55348
55348
  return t.class = "ProseMirror", t.contenteditable = String(e.editable), e.someProp("attributes", (n) => {
55349
55349
  if (typeof n == "function" && (n = n(e.state)), n)
55350
55350
  for (let r in n) r == "class" ? t.class += " " + n[r] : r == "style" ? t.style = (t.style ? t.style + ";" : "") + n[r] : !t[r] && r != "contenteditable" && r != "nodeName" && (t[r] = String(n[r]));
55351
55351
  }), t.translate || (t.translate = "no"), [da.node(0, e.state.doc.content.size, t)];
55352
55352
  }
55353
- function VD(e) {
55353
+ function V3(e) {
55354
55354
  if (e.markCursor) {
55355
55355
  let t = document.createElement("img");
55356
55356
  t.className = "ProseMirror-separator", t.setAttribute("mark-placeholder", "true"), t.setAttribute("alt", ""), e.cursorWrapper = {
@@ -55362,14 +55362,14 @@ function VD(e) {
55362
55362
  };
55363
55363
  } else e.cursorWrapper = null;
55364
55364
  }
55365
- function HD(e) {
55365
+ function H3(e) {
55366
55366
  return !e.someProp("editable", (t) => t(e.state) === !1);
55367
55367
  }
55368
55368
  function yVe(e, t) {
55369
55369
  let n = Math.min(e.$anchor.sharedDepth(e.head), t.$anchor.sharedDepth(t.head));
55370
55370
  return e.$anchor.start(n) != t.$anchor.start(n);
55371
55371
  }
55372
- function $D(e) {
55372
+ function $3(e) {
55373
55373
  let t = /* @__PURE__ */ Object.create(null);
55374
55374
  function n(r) {
55375
55375
  for (let o in r) Object.prototype.hasOwnProperty.call(t, o) || (t[o] = r[o]);
@@ -55385,7 +55385,7 @@ function bVe(e, t) {
55385
55385
  for (let o in t) r++;
55386
55386
  return n != r;
55387
55387
  }
55388
- function zD(e) {
55388
+ function z3(e) {
55389
55389
  if (e.spec.state || e.spec.filterTransaction || e.spec.appendTransaction) throw new RangeError("Plugins passed directly to the view must not have a state component");
55390
55390
  }
55391
55391
  var Vs = {
@@ -55680,13 +55680,13 @@ var DVe = (e) => ({ tr: t, state: n, dispatch: r }) => {
55680
55680
  }, NVe = (e) => ({ tr: t, dispatch: n }) => {
55681
55681
  const { from: r, to: o } = e;
55682
55682
  return n && t.delete(r, o), !0;
55683
- }, FVe = (e) => e.content ? /^text(\*|\+)/.test(e.content) : !1, WD = (e, t, n) => {
55683
+ }, FVe = (e) => e.content ? /^text(\*|\+)/.test(e.content) : !1, W3 = (e, t, n) => {
55684
55684
  if (!e.parent.isInline || n === "left" && e.pos > e.start() || n === "right" && e.pos < e.end()) return e.pos;
55685
55685
  const r = t.nodes[e.parent.type.name].spec;
55686
55686
  return FVe(r) ? n === "left" ? e.start() - 1 : e.end() + 1 : e.pos;
55687
55687
  }, BVe = (e, t, n) => ({
55688
- from: WD(e, n, "left"),
55689
- to: WD(t, n, "right")
55688
+ from: W3(e, n, "left"),
55689
+ to: W3(t, n, "right")
55690
55690
  }), VVe = () => ({ state: e, dispatch: t }) => {
55691
55691
  if (e.selection.empty) return !1;
55692
55692
  if (t) {
@@ -55708,7 +55708,7 @@ function o0(e, t, n = { strict: !0 }) {
55708
55708
  function gY(e, t, n = {}) {
55709
55709
  return e.find((r) => r.type === t && o0(Object.fromEntries(Object.keys(n).map((o) => [o, r.attrs[o]])), n));
55710
55710
  }
55711
- function GD(e, t, n = {}) {
55711
+ function G3(e, t, n = {}) {
55712
55712
  return !!gY(e, t, n);
55713
55713
  }
55714
55714
  function AM(e, t, n) {
@@ -55721,9 +55721,9 @@ function AM(e, t, n) {
55721
55721
  }
55722
55722
  if (!gY([...r.node.marks], t, n)) return;
55723
55723
  let o = r.index, i = e.start() + r.offset, a = o + 1, s = i + r.node.nodeSize;
55724
- for (; o > 0 && GD([...e.parent.child(o - 1).marks], t, n); )
55724
+ for (; o > 0 && G3([...e.parent.child(o - 1).marks], t, n); )
55725
55725
  o -= 1, i -= e.parent.child(o).nodeSize;
55726
- for (; a < e.parent.childCount && GD([...e.parent.child(a).marks], t, n); )
55726
+ for (; a < e.parent.childCount && G3([...e.parent.child(a).marks], t, n); )
55727
55727
  s += e.parent.child(a).nodeSize, a += 1;
55728
55728
  return {
55729
55729
  from: i,
@@ -55766,7 +55766,7 @@ function GA(e, t = null) {
55766
55766
  const o = n.from, i = r.to;
55767
55767
  return t === "all" ? mt.create(e, Bl(0, o, i), Bl(e.content.size, o, i)) : mt.create(e, Bl(t, o, i), Bl(t, o, i));
55768
55768
  }
55769
- function UD() {
55769
+ function U3() {
55770
55770
  return ["Android"].includes(navigator.platform) || /android/i.test(navigator.userAgent);
55771
55771
  }
55772
55772
  function i0() {
@@ -55788,7 +55788,7 @@ var UVe = (e = null, t = {}) => ({ editor: n, view: r, tr: o, dispatch: i }) =>
55788
55788
  ...t
55789
55789
  };
55790
55790
  const a = () => {
55791
- (i0() || UD()) && r.dom.focus(), GVe() && !i0() && !UD() && r.dom.focus({ preventScroll: !0 }), requestAnimationFrame(() => {
55791
+ (i0() || U3()) && r.dom.focus(), GVe() && !i0() && !U3() && r.dom.focus({ preventScroll: !0 }), requestAnimationFrame(() => {
55792
55792
  n.isDestroyed || (r.focus(), t?.scrollIntoView && n.commands.scrollIntoView());
55793
55793
  });
55794
55794
  };
@@ -56044,7 +56044,7 @@ var aHe = (e, t = {}) => ({ state: n, dispatch: r }) => Fp(n, Xn(e, n.schema), t
56044
56044
  function M1(e, t) {
56045
56045
  return t.nodes[e] ? "node" : t.marks[e] ? "mark" : null;
56046
56046
  }
56047
- function jD(e, t) {
56047
+ function j3(e, t) {
56048
56048
  const n = typeof t == "string" ? [t] : t;
56049
56049
  return Object.keys(e).reduce((r, o) => (n.includes(o) || (r[o] = e[o]), r), {});
56050
56050
  }
@@ -56056,8 +56056,8 @@ var uHe = (e, t) => ({ tr: n, state: r, dispatch: o }) => {
56056
56056
  let l = !1;
56057
56057
  return n.selection.ranges.forEach((c) => {
56058
56058
  r.doc.nodesBetween(c.$from.pos, c.$to.pos, (u, d) => {
56059
- i && i === u.type && (l = !0, o && n.setNodeMarkup(d, void 0, jD(u.attrs, t))), a && u.marks.length && u.marks.forEach((f) => {
56060
- a === f.type && (l = !0, o && n.addMark(d, d + u.nodeSize, a.create(jD(f.attrs, t))));
56059
+ i && i === u.type && (l = !0, o && n.setNodeMarkup(d, void 0, j3(u.attrs, t))), a && u.marks.length && u.marks.forEach((f) => {
56060
+ a === f.type && (l = !0, o && n.addMark(d, d + u.nodeSize, a.create(j3(f.attrs, t))));
56061
56061
  });
56062
56062
  });
56063
56063
  }), l;
@@ -56253,7 +56253,7 @@ function wHe(e) {
56253
56253
  }
56254
56254
  return n && t.push(n), t;
56255
56255
  }
56256
- function KD(e) {
56256
+ function K3(e) {
56257
56257
  const t = [], n = wHe(e || ""), r = n.length;
56258
56258
  for (let o = 0; o < r; o += 1) {
56259
56259
  const i = n[o], a = i.indexOf(":");
@@ -56284,7 +56284,7 @@ function ta(...e) {
56284
56284
  const a = i ? String(i).split(" ") : [], s = r[o] ? r[o].split(" ") : [], l = a.filter((c) => !s.includes(c));
56285
56285
  r[o] = [...s, ...l].join(" ");
56286
56286
  } else if (o === "style") {
56287
- const a = new Map([...KD(r[o]), ...KD(i)]);
56287
+ const a = new Map([...K3(r[o]), ...K3(i)]);
56288
56288
  r[o] = Array.from(a.entries()).map(([s, l]) => `${s}: ${l}`).join("; ");
56289
56289
  } else r[o] = i;
56290
56290
  }), r;
@@ -56296,7 +56296,7 @@ function a0(e, t) {
56296
56296
  function THe(e) {
56297
56297
  return typeof e != "string" ? e : e.match(/^[+-]?(?:\d*\.)?\d+$/) ? Number(e) : e === "true" ? !0 : e === "false" ? !1 : e;
56298
56298
  }
56299
- function YD(e, t) {
56299
+ function Y3(e, t) {
56300
56300
  return "style" in e ? e : {
56301
56301
  ...e,
56302
56302
  getAttrs: (n) => {
@@ -56316,10 +56316,10 @@ function YD(e, t) {
56316
56316
  }
56317
56317
  };
56318
56318
  }
56319
- function qD(e) {
56319
+ function q3(e) {
56320
56320
  return Object.fromEntries(Object.entries(e).filter(([t, n]) => t === "attrs" && SHe(n) ? !1 : n != null));
56321
56321
  }
56322
- function XD(e) {
56322
+ function X3(e) {
56323
56323
  var t, n;
56324
56324
  const r = {};
56325
56325
  return !(!(e == null || (t = e.attribute) === null || t === void 0) && t.isRequired) && "default" in (e?.attribute || {}) && (r.default = e.attribute.default), (e == null || (n = e.attribute) === null || n === void 0 ? void 0 : n.validate) !== void 0 && (r.validate = e.attribute.validate), [e.name, r];
@@ -56335,7 +56335,7 @@ function AHe(e, t) {
56335
56335
  options: a.options,
56336
56336
  storage: a.storage,
56337
56337
  editor: t
56338
- }, c = qD({
56338
+ }, c = q3({
56339
56339
  ...e.reduce((h, p) => {
56340
56340
  const g = Be(p, "extendNodeSchema", l);
56341
56341
  return {
@@ -56355,9 +56355,9 @@ function AHe(e, t) {
56355
56355
  linebreakReplacement: Wt(Be(a, "linebreakReplacement", l)),
56356
56356
  defining: Wt(Be(a, "defining", l)),
56357
56357
  isolating: Wt(Be(a, "isolating", l)),
56358
- attrs: Object.fromEntries(s.map(XD))
56358
+ attrs: Object.fromEntries(s.map(X3))
56359
56359
  }), u = Wt(Be(a, "parseHTML", l));
56360
- u && (c.parseDOM = u.map((h) => YD(h, s)));
56360
+ u && (c.parseDOM = u.map((h) => Y3(h, s)));
56361
56361
  const d = Be(a, "renderHTML", l);
56362
56362
  d && (c.toDOM = (h) => d({
56363
56363
  node: h,
@@ -56372,7 +56372,7 @@ function AHe(e, t) {
56372
56372
  options: a.options,
56373
56373
  storage: a.storage,
56374
56374
  editor: t
56375
- }, c = qD({
56375
+ }, c = q3({
56376
56376
  ...e.reduce((f, h) => {
56377
56377
  const p = Be(h, "extendMarkSchema", l);
56378
56378
  return {
@@ -56385,9 +56385,9 @@ function AHe(e, t) {
56385
56385
  group: Wt(Be(a, "group", l)),
56386
56386
  spanning: Wt(Be(a, "spanning", l)),
56387
56387
  code: Wt(Be(a, "code", l)),
56388
- attrs: Object.fromEntries(s.map(XD))
56388
+ attrs: Object.fromEntries(s.map(X3))
56389
56389
  }), u = Wt(Be(a, "parseHTML", l));
56390
- u && (c.parseDOM = u.map((f) => YD(f, s)));
56390
+ u && (c.parseDOM = u.map((f) => Y3(f, s)));
56391
56391
  const d = Be(a, "renderHTML", l);
56392
56392
  return d && (c.toDOM = (f) => d({
56393
56393
  mark: f,
@@ -56563,7 +56563,7 @@ function IHe(e, t, n = {}) {
56563
56563
  const r = M1(t, e.schema);
56564
56564
  return r === "node" ? Fp(e, t, n) : r === "mark" ? jA(e, t, n) : !1;
56565
56565
  }
56566
- function JD(e, t) {
56566
+ function J3(e, t) {
56567
56567
  return Array.isArray(t) ? t.some((n) => (typeof n == "string" ? n : n.name) === e.name) : t;
56568
56568
  }
56569
56569
  function GS(e, t) {
@@ -56667,10 +56667,10 @@ var NHe = (e, t = {}) => ({ tr: n, state: r, dispatch: o }) => {
56667
56667
  }, FHe = (e, t) => ({ tr: n }) => (n.setMeta(e, t), !0), BHe = (e, t = {}) => ({ state: n, dispatch: r, chain: o }) => {
56668
56668
  const i = Xn(e, n.schema);
56669
56669
  let a;
56670
- return n.selection.$anchor.sameParent(n.selection.$head) && (a = n.selection.$anchor.parent.attrs), i.isTextblock ? o().command(({ commands: s }) => uD(i, {
56670
+ return n.selection.$anchor.sameParent(n.selection.$head) && (a = n.selection.$anchor.parent.attrs), i.isTextblock ? o().command(({ commands: s }) => u3(i, {
56671
56671
  ...a,
56672
56672
  ...t
56673
- })(n) ? !0 : s.clearNodes()).command(({ state: s }) => uD(i, {
56673
+ })(n) ? !0 : s.clearNodes()).command(({ state: s }) => u3(i, {
56674
56674
  ...a,
56675
56675
  ...t
56676
56676
  })(s, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
@@ -56699,7 +56699,7 @@ var NHe = (e, t = {}) => ({ tr: n, state: r, dispatch: o }) => {
56699
56699
  }
56700
56700
  return !0;
56701
56701
  }, zHe = (e) => ({ state: t, dispatch: n }) => NBe(Xn(e, t.schema))(t, n);
56702
- function QD(e, t) {
56702
+ function Q3(e, t) {
56703
56703
  const n = e.storedMarks || e.selection.$to.parentOffset && e.selection.$from.marks();
56704
56704
  if (n) {
56705
56705
  const r = n.filter((o) => t?.includes(o.type.name));
@@ -56709,7 +56709,7 @@ function QD(e, t) {
56709
56709
  var WHe = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, editor: o }) => {
56710
56710
  const { selection: i, doc: a } = t, { $from: s, $to: l } = i, c = o.extensionManager.attributes, u = $v(c, s.node().type.name, s.node().attrs);
56711
56711
  if (i instanceof rt && i.node.isBlock)
56712
- return !s.parentOffset || !za(a, s.pos) ? !1 : (r && (e && QD(n, o.extensionManager.splittableMarks), t.split(s.pos).scrollIntoView()), !0);
56712
+ return !s.parentOffset || !za(a, s.pos) ? !1 : (r && (e && Q3(n, o.extensionManager.splittableMarks), t.split(s.pos).scrollIntoView()), !0);
56713
56713
  if (!s.parent.isBlock) return !1;
56714
56714
  const d = l.parentOffset === l.parent.content.size, f = s.depth === 0 ? void 0 : wY(s.node(-1).contentMatchAt(s.indexAfter(-1)));
56715
56715
  let h = d && f ? [{
@@ -56724,7 +56724,7 @@ var WHe = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edito
56724
56724
  const g = t.mapping.map(s.before()), v = t.doc.resolve(g);
56725
56725
  s.node(-1).canReplaceWith(v.index(), v.index() + 1, f) && t.setNodeMarkup(t.mapping.map(s.before()), f);
56726
56726
  }
56727
- e && QD(n, o.extensionManager.splittableMarks), t.scrollIntoView();
56727
+ e && Q3(n, o.extensionManager.splittableMarks), t.scrollIntoView();
56728
56728
  }
56729
56729
  return p;
56730
56730
  }, GHe = (e, t = {}) => ({ tr: n, state: r, dispatch: o, editor: i }) => {
@@ -56782,11 +56782,11 @@ var WHe = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edito
56782
56782
  }
56783
56783
  return !0;
56784
56784
  };
56785
- function ZD(e) {
56785
+ function Z3(e) {
56786
56786
  return !e || e === "1" ? null : e;
56787
56787
  }
56788
56788
  function _Y(e, t) {
56789
- return ZD(e) === ZD(t);
56789
+ return Z3(e) === Z3(t);
56790
56790
  }
56791
56791
  var US = (e, t) => {
56792
56792
  const n = CM((i) => i.type === t)(e.selection);
@@ -57750,7 +57750,7 @@ var R1 = class {
57750
57750
  const l = EVe(s);
57751
57751
  i.push(l);
57752
57752
  const c = Be(r, "addInputRules", o);
57753
- if (JD(r, e.options.enableInputRules) && c) {
57753
+ if (J3(r, e.options.enableInputRules) && c) {
57754
57754
  const f = c();
57755
57755
  if (f && f.length) {
57756
57756
  const h = C$e({
@@ -57761,7 +57761,7 @@ var R1 = class {
57761
57761
  }
57762
57762
  }
57763
57763
  const u = Be(r, "addPasteRules", o);
57764
- if (JD(r, e.options.enablePasteRules) && u) {
57764
+ if (J3(r, e.options.enablePasteRules) && u) {
57765
57765
  const f = u();
57766
57766
  if (f && f.length) {
57767
57767
  const h = P$e({
@@ -58439,7 +58439,7 @@ img.ProseMirror-separator {
58439
58439
  const t = this.createDoc();
58440
58440
  if (!this.editorState) {
58441
58441
  const n = GA(t, this.options.autofocus);
58442
- this.editorState = cD.create({
58442
+ this.editorState = c3.create({
58443
58443
  doc: t,
58444
58444
  schema: this.schema,
58445
58445
  selection: n || void 0
@@ -58568,7 +58568,7 @@ img.ProseMirror-separator {
58568
58568
  } catch (t) {
58569
58569
  if (!(t instanceof Error) || !["[tiptap error]: Invalid JSON content", "[tiptap error]: Invalid HTML content"].includes(t.message)) throw t;
58570
58570
  const n = UA(this.options.content, this.schema, this.options.parseOptions, { errorOnInvalidContent: !1 });
58571
- return this.editorState = cD.create({
58571
+ return this.editorState = c3.create({
58572
58572
  doc: n,
58573
58573
  schema: this.schema,
58574
58574
  selection: GA(n, this.options.autofocus) || void 0
@@ -73513,7 +73513,7 @@ var lQe = /* @__PURE__ */ C.forwardRef(function(t, n) {
73513
73513
  "data-testid": "title-editor",
73514
73514
  style: {
73515
73515
  ...Kn(o),
73516
- ...x3e(_Qe, i)
73516
+ ...xDe(_Qe, i)
73517
73517
  },
73518
73518
  children: /* @__PURE__ */ m($Q, {
73519
73519
  editor: l,
@@ -73781,31 +73781,33 @@ var GQe = (e, { coordSystem: t, panelRect: n }) => {
73781
73781
  };
73782
73782
  UQ.hasRows = (e, { scene: t }) => t.coordSystem.type !== "polar";
73783
73783
  var oZe = (e, t) => e === "ySecondary" || t !== "continuous" && t !== "datetime" ? null : e, iZe = ({ graph: e, axis: t }) => {
73784
- const n = un(e), r = ze(), { NumberField: o, TextField: i, ToggleGroup: a } = Nt(), s = n?.guides.axes.find((P) => P.scaleAestheticKey === t);
73784
+ const n = un(e), r = ze(), { NumberField: o, TextField: i, ToggleGroup: a } = Nt(), s = n?.guides.axes.find((x) => x.scaleAestheticKey === t);
73785
73785
  if (we(() => () => e.commands.commit(), [e.commands]), n === null || s?.geometry !== "linear") return null;
73786
- const l = n.scales[t]?.spec.scaleType, c = oZe(t, l), u = n.guides.legends.drawn.some((P) => P.position === "left" || P.position === "right"), d = t === "y" && l === "continuous" && (s.position === "left" || s.position === "right") && !u, f = t === "y" ? n.scales.y?.spec : void 0, h = f?.scaleType === "continuous" ? f : void 0, p = h !== void 0 && (s.position === "left" || s.position === "right") && !d9(n, "y"), g = h?.transform === "log" ? "log" : "linear", v = p && h.transform !== "log", y = h?.domainMin ?? null, b = y === null ? "auto" : y === 0 ? "zero" : "custom", S = h !== void 0 && (s.position === "left" || s.position === "right") && h.transform !== "log", w = h?.domainMax ?? null, A = w === null ? "auto" : "custom", T = (P) => {
73787
- const x = P === "" ? null : P, k = t === "ySecondary" ? {
73786
+ const l = !s.isVisible, c = n.scales[t]?.spec.scaleType, u = oZe(t, c), d = n.guides.legends.drawn.some((x) => x.position === "left" || x.position === "right"), f = t === "y" && c === "continuous" && (s.position === "left" || s.position === "right") && !d, h = t === "y" ? n.scales.y?.spec : void 0, p = h?.scaleType === "continuous" ? h : void 0, g = p !== void 0 && (s.position === "left" || s.position === "right") && !d9(n, "y"), v = p?.transform === "log" ? "log" : "linear", y = g && p.transform !== "log", b = p?.domainMin ?? null, S = b === null ? "auto" : b === 0 ? "zero" : "custom", w = p !== void 0 && (s.position === "left" || s.position === "right") && p.transform !== "log", A = p?.domainMax ?? null, T = A === null ? "auto" : "custom", P = (x) => {
73787
+ const k = x === "" ? null : x, _ = t === "ySecondary" ? {
73788
73788
  axis: t,
73789
- label: x
73789
+ label: k
73790
73790
  } : {
73791
73791
  axis: t,
73792
- label: x
73792
+ label: k
73793
73793
  };
73794
- e.commands.dispatch(new uH(k), { transient: !0 });
73794
+ e.commands.dispatch(new uH(_), { transient: !0 });
73795
73795
  };
73796
73796
  return /* @__PURE__ */ B(Le, { children: [
73797
73797
  /* @__PURE__ */ m(ke, {
73798
73798
  label: r("editor.axesPanel.controls.title"),
73799
73799
  children: /* @__PURE__ */ m(i, {
73800
73800
  value: n.config.axes[t]?.label ?? "",
73801
- onChange: T,
73802
- onCommit: e.commands.commit
73801
+ onChange: P,
73802
+ onCommit: e.commands.commit,
73803
+ isDisabled: l
73803
73804
  })
73804
73805
  }),
73805
- c !== null && /* @__PURE__ */ m(ke, {
73806
+ u !== null && /* @__PURE__ */ m(ke, {
73806
73807
  label: r("editor.axesPanel.controls.labels"),
73807
73808
  children: /* @__PURE__ */ m(a, {
73808
- value: n.config.axes[c].ticks.mode,
73809
+ value: n.config.axes[u].ticks.mode,
73810
+ isDisabled: l,
73809
73811
  options: [{
73810
73812
  value: "auto",
73811
73813
  label: r("editor.axesPanel.labelMode.auto")
@@ -73813,18 +73815,19 @@ var oZe = (e, t) => e === "ySecondary" || t !== "continuous" && t !== "datetime"
73813
73815
  value: "edges",
73814
73816
  label: r("editor.axesPanel.labelMode.edges")
73815
73817
  }],
73816
- onChange: (P) => {
73818
+ onChange: (x) => {
73817
73819
  e.commands.dispatch(new pH({
73818
- axis: c,
73819
- tickMode: P === "edges" ? "edges" : "auto"
73820
+ axis: u,
73821
+ tickMode: x === "edges" ? "edges" : "auto"
73820
73822
  }));
73821
73823
  }
73822
73824
  })
73823
73825
  }),
73824
- d && /* @__PURE__ */ m(ke, {
73826
+ f && /* @__PURE__ */ m(ke, {
73825
73827
  label: r("editor.axesPanel.controls.position"),
73826
73828
  children: /* @__PURE__ */ m(a, {
73827
73829
  value: s.position,
73830
+ isDisabled: l,
73828
73831
  options: [{
73829
73832
  value: "left",
73830
73833
  label: r("editor.axesPanel.position.left")
@@ -73832,18 +73835,19 @@ var oZe = (e, t) => e === "ySecondary" || t !== "continuous" && t !== "datetime"
73832
73835
  value: "right",
73833
73836
  label: r("editor.axesPanel.position.right")
73834
73837
  }],
73835
- onChange: (P) => {
73836
- P !== "left" && P !== "right" || e.commands.dispatch(new fH({
73838
+ onChange: (x) => {
73839
+ x !== "left" && x !== "right" || e.commands.dispatch(new fH({
73837
73840
  axis: "y",
73838
- position: P
73841
+ position: x
73839
73842
  }));
73840
73843
  }
73841
73844
  })
73842
73845
  }),
73843
- p && /* @__PURE__ */ m(ke, {
73846
+ g && /* @__PURE__ */ m(ke, {
73844
73847
  label: r("editor.axesPanel.controls.scale"),
73845
73848
  children: /* @__PURE__ */ m(a, {
73846
- value: g,
73849
+ value: v,
73850
+ isDisabled: l,
73847
73851
  options: [{
73848
73852
  value: "linear",
73849
73853
  label: r("editor.axesPanel.scale.auto")
@@ -73851,18 +73855,19 @@ var oZe = (e, t) => e === "ySecondary" || t !== "continuous" && t !== "datetime"
73851
73855
  value: "log",
73852
73856
  label: r("editor.axesPanel.scale.log")
73853
73857
  }],
73854
- onChange: (P) => {
73858
+ onChange: (x) => {
73855
73859
  e.commands.dispatch(new m$({
73856
73860
  scaledAesthetic: "y",
73857
- transform: P === "log" ? "log" : "linear"
73861
+ transform: x === "log" ? "log" : "linear"
73858
73862
  }));
73859
73863
  }
73860
73864
  })
73861
73865
  }),
73862
- v && /* @__PURE__ */ B(Le, { children: [/* @__PURE__ */ m(ke, {
73866
+ y && /* @__PURE__ */ B(Le, { children: [/* @__PURE__ */ m(ke, {
73863
73867
  label: r("editor.axesPanel.controls.startFrom"),
73864
73868
  children: /* @__PURE__ */ m(a, {
73865
- value: b,
73869
+ value: S,
73870
+ isDisabled: l,
73866
73871
  options: [
73867
73872
  {
73868
73873
  value: "auto",
@@ -73877,31 +73882,33 @@ var oZe = (e, t) => e === "ySecondary" || t !== "continuous" && t !== "datetime"
73877
73882
  label: r("editor.axesPanel.startFrom.custom")
73878
73883
  }
73879
73884
  ],
73880
- onChange: (P) => {
73881
- const x = n.scales.y?.domain[0], k = P === "auto" ? null : P === "zero" ? 0 : typeof x == "number" ? x : 0;
73885
+ onChange: (x) => {
73886
+ const k = n.scales.y?.domain[0], _ = x === "auto" ? null : x === "zero" ? 0 : typeof k == "number" ? k : 0;
73882
73887
  e.commands.dispatch(new Ts({
73883
73888
  scaledAesthetic: "y",
73884
- domainMin: k
73889
+ domainMin: _
73885
73890
  }));
73886
73891
  }
73887
73892
  })
73888
- }), b !== "auto" && /* @__PURE__ */ m(ke, {
73893
+ }), S !== "auto" && /* @__PURE__ */ m(ke, {
73889
73894
  label: r("editor.axesPanel.controls.value"),
73890
73895
  children: /* @__PURE__ */ m(o, {
73891
- value: y,
73892
- onChange: (P) => {
73893
- P !== null && e.commands.dispatch(new Ts({
73896
+ value: b,
73897
+ isDisabled: l,
73898
+ onChange: (x) => {
73899
+ x !== null && e.commands.dispatch(new Ts({
73894
73900
  scaledAesthetic: "y",
73895
- domainMin: P
73901
+ domainMin: x
73896
73902
  }), { transient: !0 });
73897
73903
  },
73898
73904
  onCommit: e.commands.commit
73899
73905
  })
73900
73906
  })] }),
73901
- S && /* @__PURE__ */ B(Le, { children: [/* @__PURE__ */ m(ke, {
73907
+ w && /* @__PURE__ */ B(Le, { children: [/* @__PURE__ */ m(ke, {
73902
73908
  label: r("editor.axesPanel.controls.endAt"),
73903
73909
  children: /* @__PURE__ */ m(a, {
73904
- value: A,
73910
+ value: T,
73911
+ isDisabled: l,
73905
73912
  options: [{
73906
73913
  value: "auto",
73907
73914
  label: r("editor.axesPanel.endAt.auto")
@@ -73909,22 +73916,23 @@ var oZe = (e, t) => e === "ySecondary" || t !== "continuous" && t !== "datetime"
73909
73916
  value: "custom",
73910
73917
  label: r("editor.axesPanel.endAt.custom")
73911
73918
  }],
73912
- onChange: (P) => {
73913
- const x = n.scales.y?.domain.at(-1), k = typeof x == "number" ? x : 0;
73919
+ onChange: (x) => {
73920
+ const k = n.scales.y?.domain.at(-1), _ = typeof k == "number" ? k : 0;
73914
73921
  e.commands.dispatch(new Ts({
73915
73922
  scaledAesthetic: "y",
73916
- domainMax: P === "custom" ? k : null
73923
+ domainMax: x === "custom" ? _ : null
73917
73924
  }));
73918
73925
  }
73919
73926
  })
73920
- }), A === "custom" && /* @__PURE__ */ m(ke, {
73927
+ }), T === "custom" && /* @__PURE__ */ m(ke, {
73921
73928
  label: r("editor.axesPanel.controls.value"),
73922
73929
  children: /* @__PURE__ */ m(o, {
73923
- value: w,
73924
- onChange: (P) => {
73925
- P !== null && e.commands.dispatch(new Ts({
73930
+ value: A,
73931
+ isDisabled: l,
73932
+ onChange: (x) => {
73933
+ x !== null && e.commands.dispatch(new Ts({
73926
73934
  scaledAesthetic: "y",
73927
- domainMax: P
73935
+ domainMax: x
73928
73936
  }), { transient: !0 });
73929
73937
  },
73930
73938
  onCommit: e.commands.commit
@@ -74113,26 +74121,24 @@ var qQ = (e, t) => It(t.layers, e.layerId) === void 0 ? null : m9(t.spec, e), lZ
74113
74121
  center: "Center",
74114
74122
  end: "End"
74115
74123
  }, fZe = () => {
74116
- const e = Te((a) => a.guides.legends.drawn[0]), t = wo(), n = ze(), { RadioGrid: r } = Nt();
74117
- if (e === void 0) return null;
74118
- const o = I6.map((a) => {
74119
- const s = yw(a);
74124
+ const e = Te((l) => l.guides.legends.drawn[0]), t = wo(), n = ze(), { RadioGrid: r } = Nt(), o = e === void 0, i = o ? "" : yw(e), a = I6.map((l) => {
74125
+ const c = yw(l);
74120
74126
  return {
74121
- value: s,
74122
- label: n(`editor.overlayMenu.legendPlaces.${s}`),
74127
+ value: c,
74128
+ label: n(`editor.overlayMenu.legendPlaces.${c}`),
74123
74129
  icon: /* @__PURE__ */ m(RU, {
74124
74130
  title: "",
74125
74131
  size: "xs",
74126
- style: { transform: `rotate(${hZe(a)}deg)` }
74132
+ style: { transform: `rotate(${hZe(l)}deg)` }
74127
74133
  }),
74128
- gridRow: a.gridRow,
74129
- gridColumn: a.gridColumn
74130
- };
74131
- }), i = (a) => {
74132
- const s = I6.find((l) => yw(l) === a);
74133
- s !== void 0 && t.dispatch(new $Ce({
74134
- position: s.position,
74135
- align: s.align
74134
+ gridRow: l.gridRow,
74135
+ gridColumn: l.gridColumn
74136
+ };
74137
+ }), s = (l) => {
74138
+ const c = I6.find((u) => yw(u) === l);
74139
+ c !== void 0 && t.dispatch(new $Ce({
74140
+ position: c.position,
74141
+ align: c.align
74136
74142
  }), { transient: !0 });
74137
74143
  };
74138
74144
  return /* @__PURE__ */ m(ke, {
@@ -74140,12 +74146,13 @@ var qQ = (e, t) => It(t.layers, e.layerId) === void 0 ? null : m9(t.spec, e), lZ
74140
74146
  children: /* @__PURE__ */ m("div", {
74141
74147
  dir: "ltr",
74142
74148
  children: /* @__PURE__ */ m(r, {
74143
- options: o,
74144
- value: yw(e),
74145
- onChange: i,
74149
+ options: a,
74150
+ value: i,
74151
+ onChange: s,
74146
74152
  onCommit: t.commit,
74147
74153
  columns: 3,
74148
- itemLayout: "icon"
74154
+ itemLayout: "icon",
74155
+ isDisabled: o
74149
74156
  })
74150
74157
  })
74151
74158
  });
@@ -79071,7 +79078,7 @@ var jrt = "observation-menu-trigger_trigger__7alwr62", Krt = {
79071
79078
  y: o - l.y
79072
79079
  }, s);
79073
79080
  if (!(n instanceof Element && i.contains(n))) return {
79074
- targetAtPoint: S3({
79081
+ targetAtPoint: SD({
79075
79082
  isMenuTrigger: d,
79076
79083
  stamped: Q6(!1, !1, e, t),
79077
79084
  observations: null
@@ -79083,7 +79090,7 @@ var jrt = "observation-menu-trigger_trigger__7alwr62", Krt = {
79083
79090
  layers: u.layers,
79084
79091
  scales: u.scales,
79085
79092
  parsingLocale: u.config.parsingLocale
79086
- }), v = g !== null && t.hasOverlayMenu(g.target) ? g : null, y = S3({
79093
+ }), v = g !== null && t.hasOverlayMenu(g.target) ? g : null, y = SD({
79087
79094
  isMenuTrigger: d,
79088
79095
  stamped: Q6(f, v !== null, e, t),
79089
79096
  observations: v
@@ -82655,9 +82662,9 @@ var ist = (e) => jd((t) => ({
82655
82662
  resetKeys: [t, e],
82656
82663
  children: L ? /* @__PURE__ */ m(TE.Provider, {
82657
82664
  value: L,
82658
- children: /* @__PURE__ */ m(rDe, {
82665
+ children: /* @__PURE__ */ m(r3e, {
82659
82666
  value: p,
82660
- children: /* @__PURE__ */ m(YDe, {
82667
+ children: /* @__PURE__ */ m(Y3e, {
82661
82668
  value: y,
82662
82669
  children: /* @__PURE__ */ m(ng, {
82663
82670
  shapes: f?.shapes,
@@ -83032,8 +83039,8 @@ export {
83032
83039
  dst as DefaultGeomRect,
83033
83040
  n7e as DefaultGrid,
83034
83041
  v6e as DefaultHeader,
83035
- l3e as DefaultSwatch,
83036
- zDe as DefaultTooltip,
83042
+ lDe as DefaultSwatch,
83043
+ z3e as DefaultTooltip,
83037
83044
  zdt as DevToolsPanel,
83038
83045
  gdt as EditableGraphRenderer,
83039
83046
  YZ as EditorPanel,
@@ -83056,7 +83063,7 @@ export {
83056
83063
  Mdt as HeadlineSection,
83057
83064
  WOe as HoverProvider,
83058
83065
  yFe as IntlProvider,
83059
- P3e as IntroFade,
83066
+ PDe as IntroFade,
83060
83067
  lG as IntroWipeClip,
83061
83068
  Pdt as LegendSection,
83062
83069
  Rdt as LineSection,
@@ -83080,7 +83087,7 @@ export {
83080
83087
  jXe as TextField,
83081
83088
  F_e as TextMeasurerProvider,
83082
83089
  iit as TextSizeSection,
83083
- mDe as ThemeProvider,
83090
+ m3e as ThemeProvider,
83084
83091
  ait as TitleSection,
83085
83092
  SQ as ToggleGroup,
83086
83093
  Kot as ToggledSection,
@@ -83105,7 +83112,7 @@ export {
83105
83112
  yo as createStableKeyGenerator,
83106
83113
  Mk as createStyleResolver,
83107
83114
  In as createValueFormatter,
83108
- pDe as darkTheme,
83115
+ p3e as darkTheme,
83109
83116
  $ut as defineGeomRenderer,
83110
83117
  Slt as defineGeomStyleTarget,
83111
83118
  Zxe as findAttachedHit,