@graphysdk/react-renderer 2.0.0-beta.1788534616557 → 2.0.0-beta.1788537926468
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{dev.utils-CXRlUmw2.cjs → dev.utils-C5W6wbHd.cjs} +1 -1
- package/dist/{dev.utils-CzXWvwtn.js → dev.utils-HBVa4Fj9.js} +1 -1
- package/dist/editable.cjs +1 -1
- package/dist/editable.mjs +2 -2
- package/dist/graph-config.cjs +1 -1
- package/dist/graph-config.mjs +1 -1
- package/dist/history-chords-Be8dhdUq.cjs +1 -0
- package/dist/{history-chords-WjboHZs5.js → history-chords-d5sl-JzC.js} +241 -241
- package/dist/history-chords.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +309 -305
- package/package.json +2 -2
- package/dist/history-chords-Dn-_MJlI.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Vr, c as oa, f as
|
|
1
|
+
import { a as Vr, c as oa, f as x, i as aa, l as Ur, n as Qr, o as ia, r as sa, s as Yr, t as la, u as Kr } from "./dev.utils-HBVa4Fj9.js";
|
|
2
2
|
import { ANNOTATION_TOOLTIP_MARKER_GAP as ca, AXIS_KEYS as Vt, CachedTextMeasurer as ur, DATA_LABEL_POSITIONS as da, DATA_LABEL_ROLES as ua, DEFAULT_GEOM_COLOR as zr, DEFAULT_HOVER_AFFORDANCE_COLOR as vt, GROUP_VARIABLES as ce, HeuristicTextMeasurer as ha, HoverEngine as va, InternalError as ga, LayoutCompiler as fa, POLAR_RIM_LABEL_GAP_PX as pa, RESTING_HOVER_STATE as st, TAU as hr, alignUnitFractions as jr, areAnchorsEqual as ma, areEditMenuTriggersEqual as Aa, areEndpointsComparable as vr, arePointerRegionListsEqual as ya, buildAverageLineSymbols as xa, buildCalloutHitRegions as ba, buildColumnKey as Ut, buildDataLabelsContent as wa, buildFontString as Sa, buildLayerIntroPlan as ka, buildLayerYValueFormatter as Ra, buildPinnedNumberValueFormatter as Ca, buildPolarBarArcPath as ge, buildSliceGroupKey as Qt, buildTooltipContent as Ea, compositeColor as Pa, computeArrow as Ba, computeDifferenceArrow as Ia, computeDirectLabelsLayout as Ta, computeLineBoxHeight as fe, computePanelBorderPaths as La, computePanelBorderSizes as Na, countLayerGeoms as Ma, createAreaPathGenerators as Xr, createHeadlineItemRows as qr, createLineFillAreaGenerator as Fa, createLinePathGenerator as Jr, createSegmentYReader as Da, createStableCellKeyGenerator as Ha, createStableKeyGenerator as oe, createStyleResolver as gt, findAnnotation as Oa, findPointerRegion as gr, formatHeadline as Ga, formatLegends as Wa, formatRuleValue as Va, getAestheticFromScaleAestheticKey as Ce, getAlpha as Zr, getAngleExtent as Yt, getBarRectBounds as Ke, getBoundingRect as $r, getChromeDashArray as ft, getColor as _r, getDashArray as Ee, getDifferenceArrowLabelBox as Ua, getGroup as pt, getHoverGuideLineProps as Qa, getHoverGuideRectProps as Ya, getInsetTileRect as en, getPolarHoverGuideArcProps as Ka, getRadiusExtent as mt, getRuleDashPattern as za, getShapeAnnotationStroke as ja, getSize as Xa, getStackRole as qa, getUnionExtent as Ja, getX as q, getXMax as Za, getY as te, getYMax as tn, isAnnotationMovable as $a, isDefined as rn, isFullTurnSweep as nn, isSafeUrl as Kt, orderPointerRegions as _a, paintsInDonutHole as ei, pickReadableTextColor as on, placeCallouts as ti, polarToUnit as ri, positionToAngle as ni, prepareAreaObservations as an, prepareLineObservations as sn, projectAnchorToPanel as Qe, projectRegionToPanel as zt, readAnchoredObservation as oi, resolveArrowAnnotationStyle as ai, resolveArrowColor as ii, resolveAxisLabelStyle as si, resolveBarBorderRadiusPx as ln, resolveBarBorderTreatment as ze, resolveBarCornerRadiiPx as li, resolveCalloutAnnotationStyle as ci, resolveDataLabelStyle as di, resolveDeferredAnchors as ui, resolveDifferenceArrowAnnotationStyle as hi, resolveDirectLabelStyle as vi, resolveGraphChromeStyle as cn, resolveGridLineStyle as Lt, resolveHeadlineFigure as dn, resolveHeadlineItemStyle as at, resolveHeadlinePlacement as gi, resolveHeadlineStyle as un, resolveImageAnnotationStyle as fi, resolveLegendItemStyle as pi, resolveLegendStyle as mi, resolvePanelBorderStyle as hn, resolvePolarBarCornerRadiusUnit as vn, resolveRuleLabelStyle as Ai, resolveShapeAnnotationStyle as gn, resolveTextAnnotationStyle as yi, resolveTickLabelStyle as xi, resolveTickLineStyle as bi, resolveTooltipStyle as wi, toFontSpec as z, toPanelCursor as Si, toPercent as k, toViewBoxX as fn, toViewBoxY as pn, truncateToWidth as ki } from "@graphysdk/viz-engine";
|
|
3
|
-
import { Fragment as jt, createContext as
|
|
3
|
+
import { Fragment as jt, createContext as U, memo as Z, useCallback as se, useContext as D, useEffect as F, useId as V, useMemo as A, useRef as T, useState as O, useSyncExternalStore as Ri } from "react";
|
|
4
4
|
import { Fragment as B, jsx as s, jsxs as w } from "react/jsx-runtime";
|
|
5
5
|
import { useStore as je } from "zustand";
|
|
6
6
|
import { animate as ie, motion as H, useMotionValue as _, useReducedMotion as Ci, useTransform as tt } from "motion/react";
|
|
@@ -24,21 +24,21 @@ import './history-chords.css';var fr = Object.defineProperty, Mi = (e, t) => {
|
|
|
24
24
|
});
|
|
25
25
|
return t || fr(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
26
26
|
};
|
|
27
|
-
typeof window < "u" && (window.__GRAPHY_SDK__ ??= {}, window.__GRAPHY_SDK__.reactRenderer = "2.0.0-beta.
|
|
28
|
-
var bn =
|
|
27
|
+
typeof window < "u" && (window.__GRAPHY_SDK__ ??= {}, window.__GRAPHY_SDK__.reactRenderer = "2.0.0-beta.1788537926468");
|
|
28
|
+
var bn = U(null), G = () => {
|
|
29
29
|
const e = D(bn);
|
|
30
30
|
if (!e) throw new Error("useGraph* hooks must be used inside a <GraphProvider>");
|
|
31
31
|
return e;
|
|
32
32
|
}, C = (e) => {
|
|
33
|
-
const { store: t } =
|
|
33
|
+
const { store: t } = G();
|
|
34
34
|
return je(t, (r) => e(r.compiled));
|
|
35
35
|
};
|
|
36
36
|
function I(e) {
|
|
37
|
-
const { colorScheme: t } =
|
|
37
|
+
const { colorScheme: t } = G();
|
|
38
38
|
return A(() => gt({ colorScheme: t }).geomReaders(e), [e, t]);
|
|
39
39
|
}
|
|
40
40
|
var wn = (e) => {
|
|
41
|
-
const { colorScheme: t } =
|
|
41
|
+
const { colorScheme: t } = G(), r = C((n) => n.layers);
|
|
42
42
|
return A(() => {
|
|
43
43
|
const n = r.find((o) => o.id === e);
|
|
44
44
|
return n === void 0 ? null : gt({ colorScheme: t }).geomReaders(n);
|
|
@@ -48,7 +48,7 @@ var wn = (e) => {
|
|
|
48
48
|
t
|
|
49
49
|
]);
|
|
50
50
|
}, Sn = () => {
|
|
51
|
-
const { colorScheme: e } =
|
|
51
|
+
const { colorScheme: e } = G(), t = C((r) => r.layers);
|
|
52
52
|
return A(() => {
|
|
53
53
|
const r = gt({ colorScheme: e });
|
|
54
54
|
return (n) => {
|
|
@@ -169,7 +169,7 @@ var wn = (e) => {
|
|
|
169
169
|
return 0;
|
|
170
170
|
}
|
|
171
171
|
}, pr = 1.1, mr = 1.5, Cn = ({ intro: e, children: t }) => {
|
|
172
|
-
const r =
|
|
172
|
+
const r = V();
|
|
173
173
|
return /* @__PURE__ */ w(B, { children: [/* @__PURE__ */ s("clipPath", {
|
|
174
174
|
id: r,
|
|
175
175
|
children: /* @__PURE__ */ s(H.rect, {
|
|
@@ -200,12 +200,12 @@ var wn = (e) => {
|
|
|
200
200
|
if (!f || !m) return;
|
|
201
201
|
const p = h[0];
|
|
202
202
|
if (!p) return;
|
|
203
|
-
const
|
|
203
|
+
const y = c.get("color", p), b = c.get("strokeWidth", p), R = Ee(c.get("lineType", p));
|
|
204
204
|
v.push({
|
|
205
205
|
key: d(p),
|
|
206
206
|
areaPath: f,
|
|
207
207
|
linePath: m,
|
|
208
|
-
color:
|
|
208
|
+
color: y,
|
|
209
209
|
fillOpacity: c.get("alpha", p),
|
|
210
210
|
strokeWidth: b,
|
|
211
211
|
strokeOpacity: c.get("strokeAlpha", p),
|
|
@@ -401,7 +401,7 @@ var wn = (e) => {
|
|
|
401
401
|
width: e.width,
|
|
402
402
|
height: 0
|
|
403
403
|
}, rs = Z(function({ layer: t, coordSystem: r, shouldAnimateTransitions: n, intro: o }) {
|
|
404
|
-
const a =
|
|
404
|
+
const a = V(), i = I(t), l = At(o?.type === "grow" && (o.growAxis === "x" || o.growAxis === "y") ? o : null, n);
|
|
405
405
|
return /* @__PURE__ */ s(B, { children: A(() => {
|
|
406
406
|
const c = oe(t.data, t.mapping, t.id), u = /* @__PURE__ */ new Map();
|
|
407
407
|
for (const d of t.data) {
|
|
@@ -686,13 +686,13 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
686
686
|
"Z"
|
|
687
687
|
].join("");
|
|
688
688
|
}, ls = ({ observation: e, mainAxis: t, styleReaders: r, column: n, panelRect: o }) => {
|
|
689
|
-
const a =
|
|
689
|
+
const a = V(), i = V(), l = Ke(t, e);
|
|
690
690
|
if (!l) return null;
|
|
691
691
|
const c = ct(l, o), u = ct(n.bounds, o), { borderColor: d, borderWidth: v, borderRadius: g, borderAlpha: h } = n.style, f = ln({
|
|
692
692
|
borderRadius: g,
|
|
693
693
|
mainAxis: t,
|
|
694
694
|
bounds: u
|
|
695
|
-
}), m = ke(c, 0), p = ke(u, f),
|
|
695
|
+
}), m = ke(c, 0), p = ke(u, f), y = r.get("color", e), b = r.get("alpha", e), R = ze(v);
|
|
696
696
|
return /* @__PURE__ */ w("g", {
|
|
697
697
|
clipPath: `url(#${a})`,
|
|
698
698
|
children: [
|
|
@@ -708,7 +708,7 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
708
708
|
clipPath: `url(#${i})`,
|
|
709
709
|
children: [/* @__PURE__ */ s("path", {
|
|
710
710
|
d: m,
|
|
711
|
-
fill:
|
|
711
|
+
fill: y,
|
|
712
712
|
opacity: b,
|
|
713
713
|
"data-testid": "highlight-bar-segment"
|
|
714
714
|
}), d !== void 0 && /* @__PURE__ */ w(B, { children: [/* @__PURE__ */ s("path", {
|
|
@@ -746,17 +746,17 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
746
746
|
}
|
|
747
747
|
return l;
|
|
748
748
|
}, Ct = 3, ds = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
|
|
749
|
-
const o = I(e), a =
|
|
749
|
+
const o = I(e), a = V(), i = V(), l = V(), c = A(() => Pn(e, t.mainAxis, o), [
|
|
750
750
|
e,
|
|
751
751
|
t.mainAxis,
|
|
752
752
|
o
|
|
753
753
|
]), u = Ke(t.mainAxis, r.observation), d = Bn(c, t.mainAxis, o, r.observation);
|
|
754
754
|
if (!u || d === null) return null;
|
|
755
|
-
const v = ct(u, n), g = ct(d.bounds, n), { borderColor: h, borderWidth: f, borderRadius: m, borderAlpha: p } = d.style,
|
|
755
|
+
const v = ct(u, n), g = ct(d.bounds, n), { borderColor: h, borderWidth: f, borderRadius: m, borderAlpha: p } = d.style, y = ln({
|
|
756
756
|
borderRadius: m,
|
|
757
757
|
mainAxis: t.mainAxis,
|
|
758
758
|
bounds: g
|
|
759
|
-
}), b = ke(v, 0), R = ke(g,
|
|
759
|
+
}), b = ke(v, 0), R = ke(g, y), S = ke(yr(v, Ct), 0), P = ke(yr(g, Ct), y > 0 ? y + Ct : 0), E = o.get("color", r.observation), N = o.get("alpha", r.observation), M = o.get("borderColor", r.observation, "hovered") ?? vt, W = ze(f);
|
|
760
760
|
return /* @__PURE__ */ w("g", {
|
|
761
761
|
"data-testid": "hovered-bar",
|
|
762
762
|
children: [
|
|
@@ -796,14 +796,14 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
796
796
|
d: b,
|
|
797
797
|
fill: "none",
|
|
798
798
|
stroke: h,
|
|
799
|
-
strokeWidth:
|
|
799
|
+
strokeWidth: W.separatorWidth,
|
|
800
800
|
opacity: N,
|
|
801
801
|
"data-testid": "hovered-bar-inner-border"
|
|
802
802
|
}), /* @__PURE__ */ s("path", {
|
|
803
803
|
d: R,
|
|
804
804
|
fill: "none",
|
|
805
805
|
stroke: h,
|
|
806
|
-
strokeWidth:
|
|
806
|
+
strokeWidth: W.outlineWidth,
|
|
807
807
|
opacity: p
|
|
808
808
|
})] })]
|
|
809
809
|
})
|
|
@@ -842,13 +842,13 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
842
842
|
if (!h) return;
|
|
843
843
|
const f = g[0];
|
|
844
844
|
if (!f) return;
|
|
845
|
-
const m = l.get("fillAlpha", f), p = m === void 0 ? void 0 : i(g) ?? void 0,
|
|
845
|
+
const m = l.get("fillAlpha", f), p = m === void 0 ? void 0 : i(g) ?? void 0, y = l.get("color", f), b = l.get("strokeWidth", f), R = Ee(l.get("lineType", f));
|
|
846
846
|
d.push({
|
|
847
847
|
key: u(f),
|
|
848
848
|
pathData: h,
|
|
849
849
|
fillPath: p,
|
|
850
850
|
fillAlpha: m,
|
|
851
|
-
color:
|
|
851
|
+
color: y,
|
|
852
852
|
opacity: l.get("alpha", f),
|
|
853
853
|
strokeWidth: b,
|
|
854
854
|
strokeDasharray: R
|
|
@@ -908,7 +908,7 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
908
908
|
strokeDasharray: i,
|
|
909
909
|
vectorEffect: "non-scaling-stroke"
|
|
910
910
|
}), gs = ({ fillPath: e, fillAlpha: t, linePath: r, color: n, strokeWidth: o, opacity: a, strokeDasharray: i, shouldAnimateTransitions: l }) => {
|
|
911
|
-
const c = `line_fill_gradient_${
|
|
911
|
+
const c = `line_fill_gradient_${V()}`;
|
|
912
912
|
return /* @__PURE__ */ w(B, { children: [/* @__PURE__ */ s("defs", { children: /* @__PURE__ */ w("linearGradient", {
|
|
913
913
|
id: c,
|
|
914
914
|
gradientTransform: "rotate(90 0.5 0.5)",
|
|
@@ -1012,7 +1012,7 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
1012
1012
|
}, In = ({ observation: e, project: t, styleReaders: r, animation: n, introKey: o }) => {
|
|
1013
1013
|
const a = q(e), i = te(e);
|
|
1014
1014
|
if (a === null || i === null) return null;
|
|
1015
|
-
const l = t(a, i), c = k(l.x), u = k(l.y), d = r.get("size", e) / 2, v = r.get("color", e), g = r.get("alpha", e), h = r.get("borderColor", e), f = r.get("borderWidth", e), { isAnimated: m, activeIntro: p, shouldAnimateTransitions:
|
|
1015
|
+
const l = t(a, i), c = k(l.x), u = k(l.y), d = r.get("size", e) / 2, v = r.get("color", e), g = r.get("alpha", e), h = r.get("borderColor", e), f = r.get("borderWidth", e), { isAnimated: m, activeIntro: p, shouldAnimateTransitions: y } = n;
|
|
1016
1016
|
return m ? /* @__PURE__ */ s(H.circle, {
|
|
1017
1017
|
initial: p ? {
|
|
1018
1018
|
cx: c,
|
|
@@ -1020,7 +1020,7 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
1020
1020
|
r: 0,
|
|
1021
1021
|
opacity: 0
|
|
1022
1022
|
} : !1,
|
|
1023
|
-
transition: p ? Jt(p, o) : qt(
|
|
1023
|
+
transition: p ? Jt(p, o) : qt(y),
|
|
1024
1024
|
fill: v,
|
|
1025
1025
|
stroke: h,
|
|
1026
1026
|
strokeWidth: f,
|
|
@@ -1086,7 +1086,7 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
1086
1086
|
y: r
|
|
1087
1087
|
};
|
|
1088
1088
|
}
|
|
1089
|
-
}, xs = sa.sm,
|
|
1089
|
+
}, xs = sa.sm, Y = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, bs = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, gf = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, ff = (e) => /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(e), pf = (e) => e.length === 0 ? !1 : typeof CSS < "u" && typeof CSS.supports == "function" ? CSS.supports("color", e) : /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e), be = (e) => `${e}px`, Tn = {
|
|
1090
1090
|
gridLineWidth: "1px",
|
|
1091
1091
|
tooltipBorderRadius: "6px",
|
|
1092
1092
|
tooltipPaddingBlock: "8px",
|
|
@@ -1158,45 +1158,45 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
1158
1158
|
purple30: "#E093FE",
|
|
1159
1159
|
greyGradient80: "linear-gradient(to top, #F0F0F1, #F9F9FF)"
|
|
1160
1160
|
}, ks = {
|
|
1161
|
-
textPrimary:
|
|
1162
|
-
textSecondary:
|
|
1163
|
-
textDisabled:
|
|
1161
|
+
textPrimary: x.black,
|
|
1162
|
+
textSecondary: Y(x.textPrimary, 0.6),
|
|
1163
|
+
textDisabled: Y(x.textPrimary, 0.5),
|
|
1164
1164
|
iconPrimary: "currentColor",
|
|
1165
|
-
iconSecondary:
|
|
1166
|
-
iconStickerBackground:
|
|
1167
|
-
brand:
|
|
1168
|
-
success:
|
|
1169
|
-
warning:
|
|
1170
|
-
alert:
|
|
1171
|
-
border100:
|
|
1172
|
-
border50:
|
|
1173
|
-
border10:
|
|
1174
|
-
sunkenBackground:
|
|
1175
|
-
defaultBackground:
|
|
1176
|
-
raisedBackground:
|
|
1177
|
-
overlayBackground:
|
|
1178
|
-
overlayBorderGradient:
|
|
1165
|
+
iconSecondary: Y(x.textPrimary, 0.6),
|
|
1166
|
+
iconStickerBackground: x.grey100,
|
|
1167
|
+
brand: x.purple50,
|
|
1168
|
+
success: x.green50,
|
|
1169
|
+
warning: x.amber50,
|
|
1170
|
+
alert: x.red50,
|
|
1171
|
+
border100: x.grey0,
|
|
1172
|
+
border50: Y(x.grey0, 0.5),
|
|
1173
|
+
border10: Y(x.grey0, 0.1),
|
|
1174
|
+
sunkenBackground: x.grey90,
|
|
1175
|
+
defaultBackground: x.grey100,
|
|
1176
|
+
raisedBackground: x.grey85,
|
|
1177
|
+
overlayBackground: x.grey100,
|
|
1178
|
+
overlayBorderGradient: x.border10
|
|
1179
1179
|
}, Rs = {
|
|
1180
|
-
graphBackground:
|
|
1181
|
-
gridLineColor:
|
|
1182
|
-
axisTickColor:
|
|
1183
|
-
originLineColor:
|
|
1184
|
-
legendBackground:
|
|
1185
|
-
legendBorderColor:
|
|
1186
|
-
legendFocusOutlineColor:
|
|
1187
|
-
legendTextColor:
|
|
1188
|
-
toolbarBackgroundColor:
|
|
1180
|
+
graphBackground: x.grey100,
|
|
1181
|
+
gridLineColor: x.border10,
|
|
1182
|
+
axisTickColor: x.border10,
|
|
1183
|
+
originLineColor: x.grey0,
|
|
1184
|
+
legendBackground: x.defaultBackground,
|
|
1185
|
+
legendBorderColor: x.border10,
|
|
1186
|
+
legendFocusOutlineColor: x.border50,
|
|
1187
|
+
legendTextColor: x.textPrimary,
|
|
1188
|
+
toolbarBackgroundColor: x.overlayBackground,
|
|
1189
1189
|
toolbarButtonBackgroundColor: "transparent",
|
|
1190
|
-
toolbarButtonBackgroundColorHovered:
|
|
1191
|
-
toolbarButtonBackgroundColorSelected:
|
|
1192
|
-
toolbarSeparatorColor:
|
|
1193
|
-
tooltipBackground:
|
|
1194
|
-
tooltipBorderColor:
|
|
1195
|
-
tooltipValueTextColor:
|
|
1196
|
-
hoverGuideLineColor:
|
|
1197
|
-
hoverGuideFillColor:
|
|
1198
|
-
heatmapEmptyTileBackground:
|
|
1199
|
-
annotationFrameBorderColor:
|
|
1190
|
+
toolbarButtonBackgroundColorHovered: x.grey80,
|
|
1191
|
+
toolbarButtonBackgroundColorSelected: x.grey60,
|
|
1192
|
+
toolbarSeparatorColor: x.grey60,
|
|
1193
|
+
tooltipBackground: x.white,
|
|
1194
|
+
tooltipBorderColor: x.border10,
|
|
1195
|
+
tooltipValueTextColor: x.textPrimary,
|
|
1196
|
+
hoverGuideLineColor: "#D5CDBA",
|
|
1197
|
+
hoverGuideFillColor: "#E7E1D2",
|
|
1198
|
+
heatmapEmptyTileBackground: x.grey80,
|
|
1199
|
+
annotationFrameBorderColor: x.blue60,
|
|
1200
1200
|
editMenuTriggerIconColor: "#3d414c"
|
|
1201
1201
|
}, Cs = {
|
|
1202
1202
|
canvasDefault: "#000000",
|
|
@@ -1286,46 +1286,46 @@ var ss = "_1suo8ub0", Pn = (e, t, r) => {
|
|
|
1286
1286
|
purple30: "#E093FE",
|
|
1287
1287
|
greyGradient80: "linear-gradient(to top, #222429, #31353f)"
|
|
1288
1288
|
}, Ts = {
|
|
1289
|
-
textPrimary:
|
|
1290
|
-
textSecondary:
|
|
1291
|
-
textDisabled:
|
|
1289
|
+
textPrimary: x.grey0,
|
|
1290
|
+
textSecondary: Y(x.textPrimary, 0.8),
|
|
1291
|
+
textDisabled: Y(x.textPrimary, 0.5),
|
|
1292
1292
|
iconPrimary: "currentColor",
|
|
1293
|
-
iconSecondary:
|
|
1294
|
-
iconStickerBackground:
|
|
1295
|
-
border100:
|
|
1296
|
-
border50:
|
|
1297
|
-
border10:
|
|
1298
|
-
brand:
|
|
1299
|
-
success:
|
|
1300
|
-
warning:
|
|
1301
|
-
alert:
|
|
1302
|
-
sunkenBackground:
|
|
1303
|
-
defaultBackground:
|
|
1304
|
-
raisedBackground:
|
|
1305
|
-
overlayBackground:
|
|
1306
|
-
overlayBorderGradient:
|
|
1293
|
+
iconSecondary: Y(x.textPrimary, 0.6),
|
|
1294
|
+
iconStickerBackground: x.grey70,
|
|
1295
|
+
border100: x.grey0,
|
|
1296
|
+
border50: Y(x.grey0, 0.5),
|
|
1297
|
+
border10: Y(x.grey0, 0.1),
|
|
1298
|
+
brand: x.purple50,
|
|
1299
|
+
success: x.green50,
|
|
1300
|
+
warning: x.amber50,
|
|
1301
|
+
alert: x.red50,
|
|
1302
|
+
sunkenBackground: x.grey100,
|
|
1303
|
+
defaultBackground: x.grey90,
|
|
1304
|
+
raisedBackground: x.grey80,
|
|
1305
|
+
overlayBackground: x.grey90,
|
|
1306
|
+
overlayBorderGradient: x.greyGradient80
|
|
1307
1307
|
}, Ls = {
|
|
1308
|
-
graphBackground:
|
|
1309
|
-
gridLineColor:
|
|
1310
|
-
axisTickColor:
|
|
1311
|
-
originLineColor:
|
|
1312
|
-
legendBackground:
|
|
1313
|
-
legendBorderColor:
|
|
1314
|
-
legendFocusOutlineColor:
|
|
1315
|
-
legendTextColor:
|
|
1316
|
-
toolbarBackgroundColor:
|
|
1308
|
+
graphBackground: x.grey90,
|
|
1309
|
+
gridLineColor: x.border10,
|
|
1310
|
+
axisTickColor: x.border10,
|
|
1311
|
+
originLineColor: x.grey0,
|
|
1312
|
+
legendBackground: x.defaultBackground,
|
|
1313
|
+
legendBorderColor: x.border10,
|
|
1314
|
+
legendFocusOutlineColor: x.border50,
|
|
1315
|
+
legendTextColor: x.textPrimary,
|
|
1316
|
+
toolbarBackgroundColor: x.overlayBackground,
|
|
1317
1317
|
toolbarButtonBackgroundColor: "transparent",
|
|
1318
|
-
toolbarButtonBackgroundColorHovered:
|
|
1319
|
-
toolbarButtonBackgroundColorSelected:
|
|
1320
|
-
toolbarSeparatorColor:
|
|
1321
|
-
tooltipBackground:
|
|
1322
|
-
tooltipBorderColor:
|
|
1323
|
-
tooltipValueTextColor:
|
|
1324
|
-
hoverGuideLineColor:
|
|
1325
|
-
hoverGuideFillColor:
|
|
1326
|
-
heatmapEmptyTileBackground:
|
|
1327
|
-
annotationFrameBorderColor:
|
|
1328
|
-
editMenuTriggerIconColor:
|
|
1318
|
+
toolbarButtonBackgroundColorHovered: x.grey80,
|
|
1319
|
+
toolbarButtonBackgroundColorSelected: x.grey60,
|
|
1320
|
+
toolbarSeparatorColor: x.grey60,
|
|
1321
|
+
tooltipBackground: x.grey70,
|
|
1322
|
+
tooltipBorderColor: x.grey60,
|
|
1323
|
+
tooltipValueTextColor: x.textPrimary,
|
|
1324
|
+
hoverGuideLineColor: "#3B3934",
|
|
1325
|
+
hoverGuideFillColor: "#2B2A27",
|
|
1326
|
+
heatmapEmptyTileBackground: x.grey80,
|
|
1327
|
+
annotationFrameBorderColor: x.blue60,
|
|
1328
|
+
editMenuTriggerIconColor: x.white
|
|
1329
1329
|
}, Ns = {
|
|
1330
1330
|
canvasDefault: "#FFFFFF",
|
|
1331
1331
|
canvasBlue: "#60a5fa",
|
|
@@ -1385,11 +1385,11 @@ function Fe(e, t) {
|
|
|
1385
1385
|
const n = Number.parseFloat(r);
|
|
1386
1386
|
return Number.isFinite(n) ? n : t;
|
|
1387
1387
|
}
|
|
1388
|
-
var Qn =
|
|
1388
|
+
var Qn = U(Fs), Ds = ({ metrics: e, children: t }) => /* @__PURE__ */ s(Qn.Provider, {
|
|
1389
1389
|
value: e,
|
|
1390
1390
|
children: t
|
|
1391
1391
|
}), Ie = () => D(Qn), L = () => {
|
|
1392
|
-
const { colorScheme: e } =
|
|
1392
|
+
const { colorScheme: e } = G(), t = C((r) => r.chrome);
|
|
1393
1393
|
return A(() => gt({ colorScheme: e }).chromeReaders(t), [t, e]);
|
|
1394
1394
|
}, Hs = (e) => {
|
|
1395
1395
|
const t = L(), r = C((n) => n.config.appearance.textScale);
|
|
@@ -1446,8 +1446,8 @@ var Qn = Q(Fs), Ds = ({ metrics: e, children: t }) => /* @__PURE__ */ s(Qn.Provi
|
|
|
1446
1446
|
}, Vs = (e) => {
|
|
1447
1447
|
const t = Us();
|
|
1448
1448
|
return t ? (t.style.font = e, t.getBoundingClientRect().width) : null;
|
|
1449
|
-
}, Us = () => typeof document > "u" ? null : (ae || (ae = document.createElement("span"), ae.style.position = "absolute", ae.style.visibility = "hidden", ae.style.whiteSpace = "nowrap", ae.style.left = "-9999px", ae.textContent = Yn, document.body.appendChild(ae)), ae), zn =
|
|
1450
|
-
const [r, n] =
|
|
1449
|
+
}, Us = () => typeof document > "u" ? null : (ae || (ae = document.createElement("span"), ae.style.position = "absolute", ae.style.visibility = "hidden", ae.style.whiteSpace = "nowrap", ae.style.left = "-9999px", ae.textContent = Yn, document.body.appendChild(ae)), ae), zn = U(null), Qs = ({ children: e, measurer: t }) => {
|
|
1450
|
+
const [r, n] = O(null);
|
|
1451
1451
|
F(() => {
|
|
1452
1452
|
if (t !== void 0) return;
|
|
1453
1453
|
let a = !1;
|
|
@@ -1473,7 +1473,7 @@ var Qn = Q(Fs), Ds = ({ metrics: e, children: t }) => /* @__PURE__ */ s(Qn.Provi
|
|
|
1473
1473
|
} catch {
|
|
1474
1474
|
return new ur(new ha());
|
|
1475
1475
|
}
|
|
1476
|
-
}, jn =
|
|
1476
|
+
}, jn = U(null), mf = jn.Provider, Ks = null, de = () => D(jn) ?? (Ks ??= Wl()), zs = "_16vokpr0", js = (e, t) => e.mapping.y !== void 0 != (t.mainAxis === "y"), Xs = (e, t) => {
|
|
1477
1477
|
const r = k(e ? 1 - t : t);
|
|
1478
1478
|
return e ? {
|
|
1479
1479
|
x1: "0%",
|
|
@@ -1493,7 +1493,7 @@ var Qn = Q(Fs), Ds = ({ metrics: e, children: t }) => /* @__PURE__ */ s(Qn.Provi
|
|
|
1493
1493
|
strokeLinecap: "round",
|
|
1494
1494
|
...e === "dashed" ? { strokeMiterlimit: 16 } : {}
|
|
1495
1495
|
};
|
|
1496
|
-
}, Js = (e, t) => rt(e) && rt(t) ? `${e}: ${t}` : rt(e) ? e : rt(t) ? t : null, rt = (e) => e != null && e.trim() !== "", Xn = Object.freeze({}), Zt =
|
|
1496
|
+
}, Js = (e, t) => rt(e) && rt(t) ? `${e}: ${t}` : rt(e) ? e : rt(t) ? t : null, rt = (e) => e != null && e.trim() !== "", Xn = Object.freeze({}), Zt = U(Xn), Zs = ({ slots: e, children: t }) => /* @__PURE__ */ s(Zt.Provider, {
|
|
1497
1497
|
value: e ?? Xn,
|
|
1498
1498
|
children: t
|
|
1499
1499
|
});
|
|
@@ -1766,7 +1766,7 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
1766
1766
|
c,
|
|
1767
1767
|
n,
|
|
1768
1768
|
t
|
|
1769
|
-
]), { fonts: f } = Ie(), m = Hs(t.id), p = A(() => z(m, f.familyDefault), [m, f.familyDefault]),
|
|
1769
|
+
]), { fonts: f } = Ie(), m = Hs(t.id), p = A(() => z(m, f.familyDefault), [m, f.familyDefault]), y = A(() => h === null ? 0 : a.measureText(h, p).width, [
|
|
1770
1770
|
h,
|
|
1771
1771
|
p,
|
|
1772
1772
|
a
|
|
@@ -1786,7 +1786,7 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
1786
1786
|
}), h !== null && /* @__PURE__ */ s(vl, {
|
|
1787
1787
|
label: h,
|
|
1788
1788
|
textStyle: m,
|
|
1789
|
-
textWidth:
|
|
1789
|
+
textWidth: y,
|
|
1790
1790
|
labelPosition: t.params.labelPosition,
|
|
1791
1791
|
isHorizontalLine: E,
|
|
1792
1792
|
position: N,
|
|
@@ -2041,17 +2041,17 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
2041
2041
|
strokeWidth: t,
|
|
2042
2042
|
vectorEffect: "non-scaling-stroke"
|
|
2043
2043
|
}), kl = Z(function({ layer: t, coordSystem: r, shouldAnimateTransitions: n, intro: o }) {
|
|
2044
|
-
const a =
|
|
2044
|
+
const a = V(), i = At(o?.type === "grow" && (o.growAxis === "angle" || o.growAxis === "radius") ? o : null, n), l = r.bandAxis !== "x", c = I(t), u = A(() => {
|
|
2045
2045
|
const d = oe(t.data, t.mapping, t.id), v = /* @__PURE__ */ new Map();
|
|
2046
2046
|
for (const g of t.data) {
|
|
2047
|
-
const h = d(g), { startAngle: f, endAngle: m } = Yt(g), { innerRadius: p, outerRadius:
|
|
2048
|
-
if (f === null || m === null || p === null ||
|
|
2047
|
+
const h = d(g), { startAngle: f, endAngle: m } = Yt(g), { innerRadius: p, outerRadius: y } = mt(g);
|
|
2048
|
+
if (f === null || m === null || p === null || y === null) continue;
|
|
2049
2049
|
const b = {
|
|
2050
2050
|
key: h,
|
|
2051
2051
|
startAngle: f,
|
|
2052
2052
|
endAngle: m,
|
|
2053
2053
|
innerRadius: p,
|
|
2054
|
-
outerRadius:
|
|
2054
|
+
outerRadius: y,
|
|
2055
2055
|
fill: c.get("color", g),
|
|
2056
2056
|
opacity: c.get("alpha", g)
|
|
2057
2057
|
}, R = Qt(r.bandAxis, b), S = v.get(R);
|
|
@@ -2081,24 +2081,24 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
2081
2081
|
"data-geom": "bar",
|
|
2082
2082
|
className: $,
|
|
2083
2083
|
children: u.map((d, v) => {
|
|
2084
|
-
const { borderColor: g, borderWidth: h, borderRadius: f, borderAlpha: m } = d.style, p = g !== void 0,
|
|
2085
|
-
const { key:
|
|
2084
|
+
const { borderColor: g, borderWidth: h, borderRadius: f, borderAlpha: m } = d.style, p = g !== void 0, y = ze(h), b = g === void 0 ? {} : Ge(g, y.separatorWidth), R = g === void 0 ? void 0 : Ge(g, y.outlineWidth), S = d.items.map((M) => {
|
|
2085
|
+
const { key: W, ...K } = M;
|
|
2086
2086
|
return i.isAnimated ? /* @__PURE__ */ s(Rl, {
|
|
2087
2087
|
...K,
|
|
2088
2088
|
animation: i,
|
|
2089
2089
|
sweepsInOnLateMount: l,
|
|
2090
|
-
introKey:
|
|
2090
|
+
introKey: W,
|
|
2091
2091
|
pathProps: {
|
|
2092
2092
|
fill: K.fill,
|
|
2093
2093
|
opacity: K.opacity,
|
|
2094
2094
|
...b
|
|
2095
2095
|
}
|
|
2096
|
-
},
|
|
2096
|
+
}, W) : /* @__PURE__ */ s("path", {
|
|
2097
2097
|
d: ge(K) ?? void 0,
|
|
2098
2098
|
fill: K.fill,
|
|
2099
2099
|
opacity: K.opacity,
|
|
2100
2100
|
...b
|
|
2101
|
-
},
|
|
2101
|
+
}, W);
|
|
2102
2102
|
}), P = vn(f, d.union.outerRadius - d.union.innerRadius);
|
|
2103
2103
|
if (!p && P <= 0) return /* @__PURE__ */ s(jt, { children: S }, d.key);
|
|
2104
2104
|
const E = `${a}${v}`;
|
|
@@ -2139,7 +2139,7 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
2139
2139
|
})
|
|
2140
2140
|
});
|
|
2141
2141
|
}), Jn = ({ startAngle: e, endAngle: t, innerRadius: r, outerRadius: n, cornerRadius: o, animation: a, sweepsInOnLateMount: i, introKey: l }) => {
|
|
2142
|
-
const c = a.activeIntro?.growAxis === "angle" ? a.activeIntro : null, u = a.activeIntro?.growAxis === "radius" ? a.activeIntro : null, d = i && !a.isLayerEntrance, v = c?.baseline ?? (d ? hr : e), g = c?.baseline ?? (d ? hr : t), h = u ? u.baseline : r, f = u ? u.baseline : n, m = _(v), p = _(g),
|
|
2142
|
+
const c = a.activeIntro?.growAxis === "angle" ? a.activeIntro : null, u = a.activeIntro?.growAxis === "radius" ? a.activeIntro : null, d = i && !a.isLayerEntrance, v = c?.baseline ?? (d ? hr : e), g = c?.baseline ?? (d ? hr : t), h = u ? u.baseline : r, f = u ? u.baseline : n, m = _(v), p = _(g), y = _(h), b = _(f), R = _(ge({
|
|
2143
2143
|
startAngle: v,
|
|
2144
2144
|
endAngle: g,
|
|
2145
2145
|
innerRadius: h,
|
|
@@ -2160,12 +2160,12 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
2160
2160
|
]);
|
|
2161
2161
|
const P = Ht(a, l, u);
|
|
2162
2162
|
return F(() => {
|
|
2163
|
-
const E = P(), N = [ie(
|
|
2163
|
+
const E = P(), N = [ie(y, r, E), ie(b, n, E)];
|
|
2164
2164
|
return () => {
|
|
2165
2165
|
for (const M of N) M.stop();
|
|
2166
2166
|
};
|
|
2167
2167
|
}, [
|
|
2168
|
-
|
|
2168
|
+
y,
|
|
2169
2169
|
b,
|
|
2170
2170
|
r,
|
|
2171
2171
|
n,
|
|
@@ -2175,7 +2175,7 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
2175
2175
|
R.set(ge({
|
|
2176
2176
|
startAngle: m.get(),
|
|
2177
2177
|
endAngle: p.get(),
|
|
2178
|
-
innerRadius:
|
|
2178
|
+
innerRadius: y.get(),
|
|
2179
2179
|
outerRadius: b.get(),
|
|
2180
2180
|
cornerRadius: o
|
|
2181
2181
|
}) ?? "");
|
|
@@ -2184,7 +2184,7 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
2184
2184
|
const N = [
|
|
2185
2185
|
m,
|
|
2186
2186
|
p,
|
|
2187
|
-
|
|
2187
|
+
y,
|
|
2188
2188
|
b
|
|
2189
2189
|
].map((M) => M.on("change", E));
|
|
2190
2190
|
return () => {
|
|
@@ -2193,7 +2193,7 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
2193
2193
|
}, [
|
|
2194
2194
|
m,
|
|
2195
2195
|
p,
|
|
2196
|
-
|
|
2196
|
+
y,
|
|
2197
2197
|
b,
|
|
2198
2198
|
o,
|
|
2199
2199
|
R
|
|
@@ -2259,7 +2259,7 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
2259
2259
|
radialSpan: o === null ? 0 : o.outerRadius - o.innerRadius
|
|
2260
2260
|
};
|
|
2261
2261
|
}, _n = ({ observation: e, bandAxis: t, styleReaders: r, group: n }) => {
|
|
2262
|
-
const o =
|
|
2262
|
+
const o = V(), a = V(), { startAngle: i, endAngle: l } = Yt(e), { innerRadius: c, outerRadius: u } = mt(e);
|
|
2263
2263
|
if (i === null || l === null || c === null || u === null) return null;
|
|
2264
2264
|
const d = {
|
|
2265
2265
|
startAngle: i,
|
|
@@ -2268,7 +2268,7 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
2268
2268
|
outerRadius: u
|
|
2269
2269
|
}, v = ge(d);
|
|
2270
2270
|
if (v === void 0) return null;
|
|
2271
|
-
const g = r.get("color", e), h = r.get("alpha", e), { borderColor: f, borderWidth: m, borderRadius: p, borderAlpha:
|
|
2271
|
+
const g = r.get("color", e), h = r.get("alpha", e), { borderColor: f, borderWidth: m, borderRadius: p, borderAlpha: y } = n.style, b = vn(p, n.radialSpan), R = b > 0;
|
|
2272
2272
|
if (f === void 0 && !R) return /* @__PURE__ */ s("path", {
|
|
2273
2273
|
d: v,
|
|
2274
2274
|
fill: g,
|
|
@@ -2309,13 +2309,13 @@ var el = "_2qyyu60", tl = 2, rl = 12, nl = 12, br = 1, wr = 2, ol = 4, Xe = (e)
|
|
|
2309
2309
|
}), /* @__PURE__ */ s("path", {
|
|
2310
2310
|
d: P,
|
|
2311
2311
|
fill: "none",
|
|
2312
|
-
opacity:
|
|
2312
|
+
opacity: y,
|
|
2313
2313
|
...Ge(E.color, E.outlineWidth)
|
|
2314
2314
|
})]
|
|
2315
2315
|
}) : /* @__PURE__ */ s("path", {
|
|
2316
2316
|
d: Cr(d, S),
|
|
2317
2317
|
fill: "none",
|
|
2318
|
-
opacity:
|
|
2318
|
+
opacity: y,
|
|
2319
2319
|
...Ge(E.color, E.outlineWidth)
|
|
2320
2320
|
}))
|
|
2321
2321
|
]
|
|
@@ -2652,11 +2652,11 @@ var Gt = (e) => {
|
|
|
2652
2652
|
}
|
|
2653
2653
|
o.update(r);
|
|
2654
2654
|
}, [o, r]), o;
|
|
2655
|
-
}, ro =
|
|
2655
|
+
}, ro = U(null), Yl = ({ children: e }) => {
|
|
2656
2656
|
const { layers: t, coordSystem: r } = C(j((l) => ({
|
|
2657
2657
|
layers: l.layers,
|
|
2658
2658
|
coordSystem: l.coordSystem
|
|
2659
|
-
}))), n = Ql(t, r), [o] =
|
|
2659
|
+
}))), n = Ql(t, r), [o] = O(() => Vl()), a = T(null), i = T(null);
|
|
2660
2660
|
return i.current === null && (i.current = {
|
|
2661
2661
|
engine: n,
|
|
2662
2662
|
store: o,
|
|
@@ -2691,7 +2691,7 @@ var zl = ({ hitTest: e, input: t }) => {
|
|
|
2691
2691
|
},
|
|
2692
2692
|
children: o
|
|
2693
2693
|
}), r), Jl = ({ rect: e, children: t }) => {
|
|
2694
|
-
const [r] =
|
|
2694
|
+
const [r] = O(no);
|
|
2695
2695
|
return /* @__PURE__ */ s(ql, {
|
|
2696
2696
|
rect: e,
|
|
2697
2697
|
zIndex: He.panelOverlay,
|
|
@@ -2727,7 +2727,7 @@ var zl = ({ hitTest: e, input: t }) => {
|
|
|
2727
2727
|
height: 0,
|
|
2728
2728
|
isDefault: !0
|
|
2729
2729
|
}, oo = ({ debounce: e = 0, onResize: t } = {}) => {
|
|
2730
|
-
const [r, n] =
|
|
2730
|
+
const [r, n] = O($l), o = T(null), a = Zl((u) => {
|
|
2731
2731
|
const d = o.current;
|
|
2732
2732
|
d && d.width === u.width && d.height === u.height || (o.current = {
|
|
2733
2733
|
width: u.width,
|
|
@@ -2750,7 +2750,7 @@ var zl = ({ hitTest: e, input: t }) => {
|
|
|
2750
2750
|
};
|
|
2751
2751
|
};
|
|
2752
2752
|
function _l() {
|
|
2753
|
-
const [e, t] =
|
|
2753
|
+
const [e, t] = O(null), r = T(null), n = T(null), o = T(null), a = se(() => {
|
|
2754
2754
|
o.current = null;
|
|
2755
2755
|
const u = n.current;
|
|
2756
2756
|
if (!u) return;
|
|
@@ -3037,7 +3037,7 @@ var tc = ({ render: e, input: t }) => {
|
|
|
3037
3037
|
if (!e) return t;
|
|
3038
3038
|
const r = e.trim().replace("_", "-").toLowerCase();
|
|
3039
3039
|
return Object.keys($t).find((n) => n.toLowerCase() === r) ?? t;
|
|
3040
|
-
}, ao =
|
|
3040
|
+
}, ao = U(null), pc = [$t], io = () => Ac().translator, mc = ({ locale: e, children: t, i18nOverrides: r, dictionaries: n = pc }) => {
|
|
3041
3041
|
const o = fc(e), a = A(() => ({
|
|
3042
3042
|
translator: hc({
|
|
3043
3043
|
locale: o,
|
|
@@ -3072,19 +3072,19 @@ var tc = ({ render: e, input: t }) => {
|
|
|
3072
3072
|
}, xc = () => {
|
|
3073
3073
|
const e = L(), t = C((r) => r.config.appearance.textScale);
|
|
3074
3074
|
return A(() => wi(e, t), [e, t]);
|
|
3075
|
-
}, bc = "bow4tg0", wc = "bow4tg1", Sc = "bow4tg2", kc = "bow4tg3", Rc = "bow4tg4", lo = "_1ii3bsb0", Cc = "_1ii3bsb1", co =
|
|
3075
|
+
}, bc = "bow4tg0", wc = "bow4tg1", Sc = "bow4tg2", kc = "bow4tg3", Rc = "bow4tg4", lo = "_1ii3bsb0", Cc = "_1ii3bsb1", co = U({
|
|
3076
3076
|
colorScheme: "light",
|
|
3077
3077
|
themeClass: lo,
|
|
3078
3078
|
inlineVarsStyle: {},
|
|
3079
3079
|
themeValues: Vn("light", {})
|
|
3080
3080
|
}), _t = () => D(co), Ec = ({ colorScheme: e, themeOverrides: t = {}, textScale: r = 1, graphBackground: n, children: o }) => {
|
|
3081
3081
|
const a = A(() => Vn(e, t), [e, t]), i = A(() => {
|
|
3082
|
-
const c = { [
|
|
3082
|
+
const c = { [x.textScale]: String(r) };
|
|
3083
3083
|
for (const u of Object.keys(t)) {
|
|
3084
|
-
const d =
|
|
3084
|
+
const d = x[u];
|
|
3085
3085
|
typeof d == "string" && (c[d] = a[u]);
|
|
3086
3086
|
}
|
|
3087
|
-
return n !== void 0 && (c[
|
|
3087
|
+
return n !== void 0 && (c[x.graphBackground] = n), xn(c);
|
|
3088
3088
|
}, [
|
|
3089
3089
|
r,
|
|
3090
3090
|
n,
|
|
@@ -3235,7 +3235,7 @@ function Ve(e) {
|
|
|
3235
3235
|
}
|
|
3236
3236
|
var Gc = "_19519k80";
|
|
3237
3237
|
var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc = "_19519k87", Kc = "_19519k88", zc = (e) => {
|
|
3238
|
-
const { overlayRef: t } = me(), r = T(null), [n, o] =
|
|
3238
|
+
const { overlayRef: t } = me(), r = T(null), [n, o] = O(!1), a = Gt(e);
|
|
3239
3239
|
return F(() => {
|
|
3240
3240
|
const i = t.current;
|
|
3241
3241
|
if (!i) return;
|
|
@@ -3276,7 +3276,7 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3276
3276
|
numberFormat: b.config.numberFormat,
|
|
3277
3277
|
parsingLocale: b.config.parsingLocale,
|
|
3278
3278
|
comments: b.annotations.comments
|
|
3279
|
-
}))), { formattingLocale: t, colorScheme: r } =
|
|
3279
|
+
}))), { formattingLocale: t, colorScheme: r } = G(), n = Ve((b) => b.hover), o = Ve((b) => b.tooltipAnchor), a = Ve((b) => b.isPointerSuspended), i = ee("Tooltip", Zc), l = T(() => {
|
|
3280
3280
|
}), { cursorRef: c, isInside: u } = zc(() => l.current()), d = A(() => Ea({
|
|
3281
3281
|
...e,
|
|
3282
3282
|
hover: n,
|
|
@@ -3306,8 +3306,8 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3306
3306
|
style: f,
|
|
3307
3307
|
"data-testid": "chart-tooltip",
|
|
3308
3308
|
children: /* @__PURE__ */ s(i, { content: d })
|
|
3309
|
-
}),
|
|
3310
|
-
return
|
|
3309
|
+
}), y = no();
|
|
3310
|
+
return y ? An(/* @__PURE__ */ s(Pc, { children: p }), y) : p;
|
|
3311
3311
|
}, Zc = ({ content: e }) => {
|
|
3312
3312
|
const t = de(), r = C((c) => c.coordSystem), n = xc(), o = Pt(n.heading), a = Pt(n.label), i = Pt(n.value), l = { paddingInline: n.box.paddingInline };
|
|
3313
3313
|
return /* @__PURE__ */ w("div", {
|
|
@@ -3428,12 +3428,12 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3428
3428
|
plansByLayerId: null,
|
|
3429
3429
|
coordKey: null,
|
|
3430
3430
|
introEndsAtMs: 0
|
|
3431
|
-
}, er =
|
|
3431
|
+
}, er = U(it), nd = ({ intro: e, children: t }) => {
|
|
3432
3432
|
const { layers: r, coordSystem: n, scales: o } = C(j((i) => ({
|
|
3433
3433
|
layers: i.layers,
|
|
3434
3434
|
coordSystem: i.coordSystem,
|
|
3435
3435
|
scales: i.scales
|
|
3436
|
-
}))), [a] =
|
|
3436
|
+
}))), [a] = O(() => id({
|
|
3437
3437
|
layers: r,
|
|
3438
3438
|
coordSystem: n,
|
|
3439
3439
|
scales: o,
|
|
@@ -3444,7 +3444,7 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3444
3444
|
children: t
|
|
3445
3445
|
});
|
|
3446
3446
|
}, od = () => {
|
|
3447
|
-
const { introEndsAtMs: e } = D(er), [t] =
|
|
3447
|
+
const { introEndsAtMs: e } = D(er), [t] = O(() => sd(e) / 1e3);
|
|
3448
3448
|
return t;
|
|
3449
3449
|
}, ad = (e) => {
|
|
3450
3450
|
const { plansByLayerId: t, coordKey: r } = D(er), n = C((o) => vo(o.coordSystem));
|
|
@@ -3590,8 +3590,8 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3590
3590
|
if (a.display === "direct") {
|
|
3591
3591
|
const m = fe(n);
|
|
3592
3592
|
if (i) return m;
|
|
3593
|
-
const p = z(n, t),
|
|
3594
|
-
return Math.max(...
|
|
3593
|
+
const p = z(n, t), y = a.items.map((b) => e.measureText(b.formattedLabel, p).width);
|
|
3594
|
+
return Math.max(...y);
|
|
3595
3595
|
}
|
|
3596
3596
|
const { item: l, swatch: c } = r, u = fe(l), d = z(l, t), v = 2 * (l.paddingBlock + l.borderWidth), g = 2 * (l.paddingInline + l.borderWidth), h = a.aesthetics.includes("size");
|
|
3597
3597
|
if (i) {
|
|
@@ -3599,8 +3599,8 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3599
3599
|
return Math.max(u, m) + v;
|
|
3600
3600
|
}
|
|
3601
3601
|
const f = a.items.map((m) => {
|
|
3602
|
-
const p = e.measureText(m.formattedLabel, d).width,
|
|
3603
|
-
return
|
|
3602
|
+
const p = e.measureText(m.formattedLabel, d).width, y = ht(m.visual, c.size, h);
|
|
3603
|
+
return y + (y > 0 ? o : 0) + p;
|
|
3604
3604
|
});
|
|
3605
3605
|
return Math.max(...f) + g;
|
|
3606
3606
|
}, bd = ({ textMeasurer: e, tickLabelStyles: t, familyDefault: r }) => (n, o) => e.measureText(n, z(t[o], r)), wd = Object.freeze({}), Sd = ({ textMeasurer: e, textScale: t, metrics: r, overrides: n = wd }) => {
|
|
@@ -3628,7 +3628,7 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3628
3628
|
legendItemStyle: l,
|
|
3629
3629
|
directLabelStyle: i,
|
|
3630
3630
|
legendSwatchGap: r.legendSwatchGap
|
|
3631
|
-
}),
|
|
3631
|
+
}), y = gd(h), b = hd(h), R = {
|
|
3632
3632
|
measureText: (S, P) => e.measureText(S, P),
|
|
3633
3633
|
textScale: t
|
|
3634
3634
|
};
|
|
@@ -3647,7 +3647,7 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3647
3647
|
const P = v.current.measureLegend;
|
|
3648
3648
|
return P ? P(S, R) : p(S);
|
|
3649
3649
|
},
|
|
3650
|
-
measureHeadline: (S, P, E) => (v.current.measureHeadline ??
|
|
3650
|
+
measureHeadline: (S, P, E) => (v.current.measureHeadline ?? y)(S, P, E),
|
|
3651
3651
|
measureHeadlineItemWidths: (S, P) => (v.current.measureHeadlineItemWidths ?? b)(S, P),
|
|
3652
3652
|
measureTickLabel: bd({
|
|
3653
3653
|
textMeasurer: e,
|
|
@@ -3715,11 +3715,11 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3715
3715
|
e
|
|
3716
3716
|
]);
|
|
3717
3717
|
}, Rd = (e) => !e.isVisible || e.ticks.length === 0, Cd = (e) => e.items.length === 0, Ed = () => {
|
|
3718
|
-
const { formattingLocale: e } =
|
|
3718
|
+
const { formattingLocale: e } = G(), t = C((r) => r.config.parsingLocale);
|
|
3719
3719
|
return e ?? t;
|
|
3720
|
-
}, Ir = 0.5, bo =
|
|
3721
|
-
}), So =
|
|
3722
|
-
const [t, r] =
|
|
3720
|
+
}, Ir = 0.5, bo = U(/* @__PURE__ */ new Map()), wo = U(() => {
|
|
3721
|
+
}), So = U(/* @__PURE__ */ new Set()), Pd = ({ children: e }) => {
|
|
3722
|
+
const [t, r] = O(() => /* @__PURE__ */ new Map()), [n] = O(() => /* @__PURE__ */ new Set()), o = T(/* @__PURE__ */ new Map()), a = se((i, l, c) => {
|
|
3723
3723
|
const u = o.current.get(i) ?? /* @__PURE__ */ new Set();
|
|
3724
3724
|
if (c !== null) {
|
|
3725
3725
|
u.add(l), o.current.set(i, u), r((d) => Nd(d, i, c));
|
|
@@ -3738,7 +3738,7 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3738
3738
|
})
|
|
3739
3739
|
});
|
|
3740
3740
|
}, Bd = () => D(bo), Id = () => D(wo), Td = (e) => {
|
|
3741
|
-
const t = Id(), r =
|
|
3741
|
+
const t = Id(), r = V(), n = T(null);
|
|
3742
3742
|
return F(() => {
|
|
3743
3743
|
if (typeof ResizeObserver > "u") return;
|
|
3744
3744
|
const o = n.current;
|
|
@@ -3806,8 +3806,8 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3806
3806
|
...r.caret,
|
|
3807
3807
|
editor: t
|
|
3808
3808
|
} })
|
|
3809
|
-
})), nr =
|
|
3810
|
-
const [t] =
|
|
3809
|
+
})), nr = U(null), jd = Ro(), kf = ({ children: e }) => {
|
|
3810
|
+
const [t] = O(() => Ro());
|
|
3811
3811
|
return /* @__PURE__ */ s(nr.Provider, {
|
|
3812
3812
|
value: t,
|
|
3813
3813
|
children: e
|
|
@@ -3820,7 +3820,7 @@ var Wc = "_19519k82", Vc = "_19519k83", Uc = "_19519k85", Qc = "_19519k86", Yc =
|
|
|
3820
3820
|
function ue(e) {
|
|
3821
3821
|
return je(D(nr) ?? jd, e);
|
|
3822
3822
|
}
|
|
3823
|
-
var Co =
|
|
3823
|
+
var Co = U(null), Xd = ({ panelRect: e, children: t }) => {
|
|
3824
3824
|
const r = Jd(e);
|
|
3825
3825
|
return /* @__PURE__ */ s(Co.Provider, {
|
|
3826
3826
|
value: r,
|
|
@@ -3834,7 +3834,7 @@ var Co = Q(null), Xd = ({ panelRect: e, children: t }) => {
|
|
|
3834
3834
|
start: r(e.start),
|
|
3835
3835
|
end: r(e.end)
|
|
3836
3836
|
}) ?? t.color, Jd = (e) => {
|
|
3837
|
-
const { formattingLocale: t } =
|
|
3837
|
+
const { formattingLocale: t } = G(), r = pe(), { fonts: n } = Ie(), o = ue((p) => Ue(p, "difference-arrow-endpoint-drag")), a = Sn(), i = fo(), { differenceArrows: l, mainAxis: c, parsingLocale: u } = C(j((p) => ({
|
|
3838
3838
|
differenceArrows: p.annotations.differenceArrows,
|
|
3839
3839
|
mainAxis: p.coordSystem.type === "cartesian" ? p.coordSystem.mainAxis : "x",
|
|
3840
3840
|
parsingLocale: p.config.parsingLocale
|
|
@@ -3849,12 +3849,12 @@ var Co = Q(null), Xd = ({ panelRect: e, children: t }) => {
|
|
|
3849
3849
|
g,
|
|
3850
3850
|
d
|
|
3851
3851
|
]), f = A(() => Zd(r, n.familyDefault), [r, n.familyDefault]), m = A(() => l.map((p) => {
|
|
3852
|
-
const
|
|
3852
|
+
const y = i(p.id), b = Lr(p, y, h, f);
|
|
3853
3853
|
return {
|
|
3854
3854
|
...b,
|
|
3855
3855
|
arrow: p,
|
|
3856
|
-
style:
|
|
3857
|
-
color: Tr(p,
|
|
3856
|
+
style: y,
|
|
3857
|
+
color: Tr(p, y, a),
|
|
3858
3858
|
committedArrow: p,
|
|
3859
3859
|
committedLabelBox: b.labelBox,
|
|
3860
3860
|
committedLabelText: b.labelText,
|
|
@@ -3870,17 +3870,17 @@ var Co = Q(null), Xd = ({ panelRect: e, children: t }) => {
|
|
|
3870
3870
|
]);
|
|
3871
3871
|
return A(() => o === null ? m : m.map((p) => {
|
|
3872
3872
|
if (p.id !== o.annotationId) return p;
|
|
3873
|
-
const
|
|
3873
|
+
const y = $d(p.committedArrow, o);
|
|
3874
3874
|
return {
|
|
3875
|
-
...Lr(
|
|
3875
|
+
...Lr(y, p.style, h, f),
|
|
3876
3876
|
style: p.style,
|
|
3877
|
-
color: Tr(
|
|
3878
|
-
arrow:
|
|
3877
|
+
color: Tr(y, p.style, a),
|
|
3878
|
+
arrow: y,
|
|
3879
3879
|
committedArrow: p.committedArrow,
|
|
3880
3880
|
committedLabelBox: p.committedLabelBox,
|
|
3881
3881
|
committedLabelText: p.committedLabelText,
|
|
3882
3882
|
isDragged: !0,
|
|
3883
|
-
hasComparableEndpoints: vr(
|
|
3883
|
+
hasComparableEndpoints: vr(y.start, y.end)
|
|
3884
3884
|
};
|
|
3885
3885
|
}), [
|
|
3886
3886
|
m,
|
|
@@ -3971,7 +3971,7 @@ var ou = "vultop2", au = "vultop3", iu = "vultop4", su = "vultop5", lu = "vultop
|
|
|
3971
3971
|
})]
|
|
3972
3972
|
})]
|
|
3973
3973
|
});
|
|
3974
|
-
}, Po =
|
|
3974
|
+
}, Po = U({
|
|
3975
3975
|
Title: null,
|
|
3976
3976
|
Caption: null,
|
|
3977
3977
|
TextAnnotation: null
|
|
@@ -4084,7 +4084,7 @@ var Cu = 22, Eu = ({ ref: e, headerRect: t, mode: r = "readonly", title: n, isTi
|
|
|
4084
4084
|
primary: "asohov1 asohov0",
|
|
4085
4085
|
secondary: "asohov2 asohov0"
|
|
4086
4086
|
}, To = ({ children: e, title: t, variant: r = "primary", size: n = "sm", ...o }) => {
|
|
4087
|
-
const a =
|
|
4087
|
+
const a = V(), i = Du[n];
|
|
4088
4088
|
return /* @__PURE__ */ w("svg", {
|
|
4089
4089
|
className: Hu[r],
|
|
4090
4090
|
"aria-labelledby": t ? a : void 0,
|
|
@@ -4133,7 +4133,7 @@ var Yu = ({ segment: e, itemStyle: t }) => {
|
|
|
4133
4133
|
className: Oe(Qu, e.direction === "down" && "n7clvo4"),
|
|
4134
4134
|
style: {
|
|
4135
4135
|
color: a,
|
|
4136
|
-
backgroundColor: e.direction === "flat" ?
|
|
4136
|
+
backgroundColor: e.direction === "flat" ? Y(x.textPrimary, 0.1) : Y(a, 0.2)
|
|
4137
4137
|
},
|
|
4138
4138
|
children: e.direction === "flat" ? /* @__PURE__ */ s(Gu, {
|
|
4139
4139
|
size: "xs",
|
|
@@ -4362,7 +4362,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4362
4362
|
}
|
|
4363
4363
|
}), /* @__PURE__ */ s("span", { children: e.formattedLabel })] });
|
|
4364
4364
|
}, Sh = ({ hiddenPills: e, placement: t }) => {
|
|
4365
|
-
const r = io(), [n, o] =
|
|
4365
|
+
const r = io(), [n, o] = O(!1), { refs: a, floatingStyles: i } = yn({
|
|
4366
4366
|
open: n,
|
|
4367
4367
|
placement: t,
|
|
4368
4368
|
middleware: [
|
|
@@ -4460,7 +4460,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4460
4460
|
font: S,
|
|
4461
4461
|
swatchGap: i.legendSwatchGap,
|
|
4462
4462
|
horizontalChrome: E
|
|
4463
|
-
}),
|
|
4463
|
+
}), W = v.map(M), K = On(i.fonts.legendLabel, o), Te = Ad(i.fonts.legendLabel, o), Ae = (g ? Te + i.legendPillVerticalChrome : Nr({
|
|
4464
4464
|
label: `+${v.length}`,
|
|
4465
4465
|
swatchInlineSize: 0,
|
|
4466
4466
|
textMeasurer: a,
|
|
@@ -4469,7 +4469,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4469
4469
|
horizontalChrome: i.legendPillHorizontalChrome
|
|
4470
4470
|
})) + 8;
|
|
4471
4471
|
return Fh({
|
|
4472
|
-
pillSizes:
|
|
4472
|
+
pillSizes: W,
|
|
4473
4473
|
overflowPillSize: Ae,
|
|
4474
4474
|
containerSize: h,
|
|
4475
4475
|
gap: l.gap
|
|
@@ -4485,7 +4485,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4485
4485
|
c
|
|
4486
4486
|
]);
|
|
4487
4487
|
if (v.length === 0) return null;
|
|
4488
|
-
const p = v.slice(0, m.visibleCount),
|
|
4488
|
+
const p = v.slice(0, m.visibleCount), y = v.slice(m.visibleCount), b = m.hasOverflow && y.length > 0, R = Hh(c.item);
|
|
4489
4489
|
return /* @__PURE__ */ w("div", {
|
|
4490
4490
|
className: Oe(Ph[f], Rh, {
|
|
4491
4491
|
[Eh]: g,
|
|
@@ -4498,7 +4498,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4498
4498
|
style: R,
|
|
4499
4499
|
children: /* @__PURE__ */ s(No, { pill: S })
|
|
4500
4500
|
}, S.key)), b && /* @__PURE__ */ s(Sh, {
|
|
4501
|
-
hiddenPills:
|
|
4501
|
+
hiddenPills: y,
|
|
4502
4502
|
placement: Dh(e)
|
|
4503
4503
|
})]
|
|
4504
4504
|
});
|
|
@@ -4626,7 +4626,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4626
4626
|
panelRect: r,
|
|
4627
4627
|
children: /* @__PURE__ */ s("line", {
|
|
4628
4628
|
...n,
|
|
4629
|
-
stroke:
|
|
4629
|
+
stroke: x.hoverGuideLineColor,
|
|
4630
4630
|
strokeWidth: Mo,
|
|
4631
4631
|
strokeDasharray: Fo,
|
|
4632
4632
|
strokeLinecap: "round",
|
|
@@ -4639,7 +4639,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4639
4639
|
panelRect: n,
|
|
4640
4640
|
children: /* @__PURE__ */ s("rect", {
|
|
4641
4641
|
...o,
|
|
4642
|
-
fill:
|
|
4642
|
+
fill: x.hoverGuideFillColor,
|
|
4643
4643
|
"data-testid": "hover-guide-rect"
|
|
4644
4644
|
})
|
|
4645
4645
|
});
|
|
@@ -4652,7 +4652,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4652
4652
|
y1: o.y,
|
|
4653
4653
|
x2: a.x,
|
|
4654
4654
|
y2: a.y,
|
|
4655
|
-
stroke:
|
|
4655
|
+
stroke: x.hoverGuideLineColor,
|
|
4656
4656
|
strokeWidth: Mo,
|
|
4657
4657
|
strokeDasharray: Fo,
|
|
4658
4658
|
strokeLinecap: "round",
|
|
@@ -4673,7 +4673,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4673
4673
|
style: { overflow: "visible" },
|
|
4674
4674
|
children: /* @__PURE__ */ s("path", {
|
|
4675
4675
|
d: o,
|
|
4676
|
-
fill:
|
|
4676
|
+
fill: x.hoverGuideFillColor,
|
|
4677
4677
|
"data-testid": "hover-guide-arc"
|
|
4678
4678
|
})
|
|
4679
4679
|
})
|
|
@@ -4788,9 +4788,9 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4788
4788
|
if (f === null) return;
|
|
4789
4789
|
const m = i(h, f), p = r.getState();
|
|
4790
4790
|
if (p.isPointerSuspended) return;
|
|
4791
|
-
const
|
|
4792
|
-
if (
|
|
4793
|
-
p.setHoverState(t.query(
|
|
4791
|
+
const y = gr(m, p.pointerRegions);
|
|
4792
|
+
if (y !== null) {
|
|
4793
|
+
p.setHoverState(t.query(y.cursor)), p.setTooltipAnchor(_h(y.tooltip, f));
|
|
4794
4794
|
return;
|
|
4795
4795
|
}
|
|
4796
4796
|
const b = Si(m, f);
|
|
@@ -4890,7 +4890,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
4890
4890
|
inverse: "#1D2129"
|
|
4891
4891
|
}
|
|
4892
4892
|
}, lv = ({ computed: e, style: t, isAddressable: r }) => {
|
|
4893
|
-
const n =
|
|
4893
|
+
const n = V(), { colorScheme: o } = _t(), a = e.dashArray ? {
|
|
4894
4894
|
strokeDasharray: e.dashArray,
|
|
4895
4895
|
strokeDashoffset: e.dashOffset
|
|
4896
4896
|
} : {}, i = t.shadow === "none" ? null : t.shadow, l = t.borderWidth > 0, c = sv[o], u = t.borderColor ?? uv(t.color, c.primary, c.inverse), d = i === null ? null : dv(e, t.borderWidth, i.blur);
|
|
@@ -5001,7 +5001,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
5001
5001
|
}, i.id))
|
|
5002
5002
|
});
|
|
5003
5003
|
}, vv = () => {
|
|
5004
|
-
const { selectionStore: e } =
|
|
5004
|
+
const { selectionStore: e } = G();
|
|
5005
5005
|
return je(e, (t) => t.selection);
|
|
5006
5006
|
}, gv = ({ linePath: e, arrowheadPath: t, stroke: r, strokeWidth: n, isAddressable: o }) => {
|
|
5007
5007
|
const a = {
|
|
@@ -5064,10 +5064,10 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
5064
5064
|
transform: `translate(${e.x}, ${e.y})`,
|
|
5065
5065
|
"data-testid": "difference-arrows",
|
|
5066
5066
|
children: r.map(({ color: i, style: l, id: c, linePath: u, arrowheadPath: d, labelPosition: v, labelBox: g, labelText: h, isDragged: f, hasComparableEndpoints: m }) => {
|
|
5067
|
-
const p = n === c || a.has(c),
|
|
5067
|
+
const p = n === c || a.has(c), y = f && !m, b = y ? x.alert : i, R = p && !y ? yv(b) : b;
|
|
5068
5068
|
return /* @__PURE__ */ w("g", {
|
|
5069
5069
|
className: n === c ? pv : void 0,
|
|
5070
|
-
"data-warning":
|
|
5070
|
+
"data-warning": y || void 0,
|
|
5071
5071
|
...qe({
|
|
5072
5072
|
kind: "annotation",
|
|
5073
5073
|
id: c
|
|
@@ -5090,7 +5090,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
5090
5090
|
}, c);
|
|
5091
5091
|
})
|
|
5092
5092
|
});
|
|
5093
|
-
}, yv = (e) => `color-mix(in srgb, ${e} ${mv}, ${
|
|
5093
|
+
}, yv = (e) => `color-mix(in srgb, ${e} ${mv}, ${x.textPrimary})`, xv = () => {
|
|
5094
5094
|
const e = L();
|
|
5095
5095
|
return A(() => (t) => fi(e, t), [e]);
|
|
5096
5096
|
}, bv = {
|
|
@@ -5098,7 +5098,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
5098
5098
|
contain: "xMidYMid meet",
|
|
5099
5099
|
cover: "xMidYMid slice"
|
|
5100
5100
|
}, wv = ({ image: e, panel: t, style: r }) => {
|
|
5101
|
-
const n =
|
|
5101
|
+
const n = V(), { src: o, region: a, fit: i } = e, l = zt(a, t), c = r.borderRadius > 0;
|
|
5102
5102
|
return /* @__PURE__ */ w("g", { children: [c && /* @__PURE__ */ s("clipPath", {
|
|
5103
5103
|
id: n,
|
|
5104
5104
|
children: /* @__PURE__ */ s("rect", {
|
|
@@ -5211,7 +5211,7 @@ var mh = "_1dw9dgx0", Ah = "#9ca3af", Bt = "\0", yh = (e, t) => {
|
|
|
5211
5211
|
...Iv(e)
|
|
5212
5212
|
}), Iv = (e) => {
|
|
5213
5213
|
if (e.background === "transparent") return {};
|
|
5214
|
-
const t = e.alpha < 1 ?
|
|
5214
|
+
const t = e.alpha < 1 ? Y(e.background, e.alpha) : e.background;
|
|
5215
5215
|
if (e.borderWidth <= 0) return { backgroundColor: t };
|
|
5216
5216
|
const r = e.borderColor ?? bs(e.background, Ev);
|
|
5217
5217
|
return {
|
|
@@ -5280,7 +5280,7 @@ var Dv = "ph8bdc2", Hr = {
|
|
|
5280
5280
|
});
|
|
5281
5281
|
};
|
|
5282
5282
|
function Ov(e) {
|
|
5283
|
-
const t = pe(), { formattingLocale: r } =
|
|
5283
|
+
const t = pe(), { formattingLocale: r } = G(), n = Wo(), o = C(j((c) => ({
|
|
5284
5284
|
pinnedNumbers: c.annotations.pinnedNumbers,
|
|
5285
5285
|
comments: c.annotations.comments,
|
|
5286
5286
|
coordSystem: c.coordSystem,
|
|
@@ -5357,7 +5357,7 @@ var Gv = (e, t, r, n) => t !== "comment" ? r : ki(r, 140, (o) => e.measureText(o
|
|
|
5357
5357
|
if (!h.inView) return null;
|
|
5358
5358
|
const f = u.get(h.id), m = v.get(h.id);
|
|
5359
5359
|
if (f === void 0 || m === void 0) return null;
|
|
5360
|
-
const p = d.get(h.id),
|
|
5360
|
+
const p = d.get(h.id), y = h.miniRect.width <= e.width && h.miniRect.height <= e.height;
|
|
5361
5361
|
return /* @__PURE__ */ w("g", {
|
|
5362
5362
|
"data-testid": h.kind,
|
|
5363
5363
|
children: [/* @__PURE__ */ s("foreignObject", {
|
|
@@ -5367,7 +5367,7 @@ var Gv = (e, t, r, n) => t !== "comment" ? r : ki(r, 140, (o) => e.measureText(o
|
|
|
5367
5367
|
height: h.miniRect.height,
|
|
5368
5368
|
overflow: "visible",
|
|
5369
5369
|
children: /* @__PURE__ */ w("div", {
|
|
5370
|
-
className:
|
|
5370
|
+
className: y ? Hr.hittable : Hr.inert,
|
|
5371
5371
|
style: Uv(m.label),
|
|
5372
5372
|
children: [h.kind === "pinned-number" && /* @__PURE__ */ s("span", {
|
|
5373
5373
|
className: "ph8bdc1",
|
|
@@ -5836,7 +5836,7 @@ var Yo = (e, t) => {
|
|
|
5836
5836
|
...le(v(i)),
|
|
5837
5837
|
paintOrder: "stroke"
|
|
5838
5838
|
},
|
|
5839
|
-
stroke:
|
|
5839
|
+
stroke: x.graphBackground,
|
|
5840
5840
|
strokeWidth: fg,
|
|
5841
5841
|
fill: v(i).textColor,
|
|
5842
5842
|
children: g.formattedLabel
|
|
@@ -5918,7 +5918,7 @@ var Yo = (e, t) => {
|
|
|
5918
5918
|
]
|
|
5919
5919
|
});
|
|
5920
5920
|
}, bg = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, isDimmed: n, dimStyle: o, formattingLocale: a }) => {
|
|
5921
|
-
const i = de(), l = ad(e.id), { colorScheme: c } =
|
|
5921
|
+
const i = de(), l = ad(e.id), { colorScheme: c } = G(), u = I(e), d = i(e.geom, t.type);
|
|
5922
5922
|
if (d === null) return null;
|
|
5923
5923
|
const v = yt(d.render);
|
|
5924
5924
|
return v.overlay ? null : /* @__PURE__ */ s("g", {
|
|
@@ -5965,7 +5965,7 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
5965
5965
|
t,
|
|
5966
5966
|
o,
|
|
5967
5967
|
n
|
|
5968
|
-
]), { colorScheme: d } =
|
|
5968
|
+
]), { colorScheme: d } = G(), v = I(t), g = A(() => Da(t), [t]), h = A(() => Ra({
|
|
5969
5969
|
layer: t,
|
|
5970
5970
|
numberFormat: c,
|
|
5971
5971
|
locale: l
|
|
@@ -5976,7 +5976,7 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
5976
5976
|
]), { fonts: f } = Ie(), m = bt();
|
|
5977
5977
|
if (e === null || r === null && u.length === 0) return null;
|
|
5978
5978
|
const p = yt(e.render);
|
|
5979
|
-
let
|
|
5979
|
+
let y = null;
|
|
5980
5980
|
if (r && !p.overlay) {
|
|
5981
5981
|
const b = {
|
|
5982
5982
|
layer: r,
|
|
@@ -5988,9 +5988,9 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
5988
5988
|
colorScheme: d,
|
|
5989
5989
|
styleReaders: v
|
|
5990
5990
|
};
|
|
5991
|
-
|
|
5991
|
+
y = e.renderHighlight ? e.renderHighlight(b) : p.fn(b);
|
|
5992
5992
|
}
|
|
5993
|
-
return /* @__PURE__ */ w(Vo, { children: [
|
|
5993
|
+
return /* @__PURE__ */ w(Vo, { children: [y, u.map(({ observation: b, observationIndex: R, anchor: S }) => /* @__PURE__ */ s(Rg, {
|
|
5994
5994
|
observation: b,
|
|
5995
5995
|
anchor: S,
|
|
5996
5996
|
panelRect: i,
|
|
@@ -6040,7 +6040,7 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6040
6040
|
primary: v.hover.primary,
|
|
6041
6041
|
group: v.hover.group,
|
|
6042
6042
|
related: v.hover.related
|
|
6043
|
-
}))), i = de(), { colorScheme: l } =
|
|
6043
|
+
}))), i = de(), { colorScheme: l } = G(), c = I(e);
|
|
6044
6044
|
if (n === null) return null;
|
|
6045
6045
|
const u = i(e.geom, t.type);
|
|
6046
6046
|
if (u === null || Gl(u)) return null;
|
|
@@ -6109,7 +6109,7 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6109
6109
|
a,
|
|
6110
6110
|
e,
|
|
6111
6111
|
t
|
|
6112
|
-
]), l = e.highlight, c = Pg(e), { colorScheme: u } =
|
|
6112
|
+
]), l = e.highlight, c = Pg(e), { colorScheme: u } = G(), d = {
|
|
6113
6113
|
layer: e,
|
|
6114
6114
|
coordSystem: t,
|
|
6115
6115
|
shouldAnimateTransitions: r,
|
|
@@ -6152,7 +6152,7 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6152
6152
|
}, Og = "_17uhij30", Gg = ({ formattedAxes: e, plotRect: t, panelBorder: r, panelFrameRect: n, panelRect: o, axisRects: a, axisLabelRects: i, shouldAnimateTransitions: l, formattingLocale: c, plotBottomY: u, isFooterChromeReserved: d, isEditable: v }) => {
|
|
6153
6153
|
const g = T(null);
|
|
6154
6154
|
nv(g);
|
|
6155
|
-
const h = ee("Grid", ug), f = ee("AxisTicks", cg), m = ee("AxisLabel", dg), p = A(() => Wt(n, t), [n, t]),
|
|
6155
|
+
const h = ee("Grid", ug), f = ee("AxisTicks", cg), m = ee("AxisLabel", dg), p = A(() => Wt(n, t), [n, t]), y = A(() => Wt(o, t), [o, t]), b = A(() => Gr(a, t), [a, t]), R = A(() => Gr(i, t), [i, t]);
|
|
6156
6156
|
return /* @__PURE__ */ w("svg", {
|
|
6157
6157
|
ref: g,
|
|
6158
6158
|
className: Og,
|
|
@@ -6165,7 +6165,7 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6165
6165
|
axes: e,
|
|
6166
6166
|
panelBorderSizes: r,
|
|
6167
6167
|
panelFrameRect: p,
|
|
6168
|
-
panelRect:
|
|
6168
|
+
panelRect: y
|
|
6169
6169
|
}),
|
|
6170
6170
|
/* @__PURE__ */ s(f, {
|
|
6171
6171
|
formattedAxes: e,
|
|
@@ -6177,15 +6177,15 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6177
6177
|
}),
|
|
6178
6178
|
/* @__PURE__ */ s(xg, {
|
|
6179
6179
|
formattedAxes: e,
|
|
6180
|
-
panelRect:
|
|
6180
|
+
panelRect: y
|
|
6181
6181
|
}),
|
|
6182
|
-
/* @__PURE__ */ s(Wh, { panelRect:
|
|
6182
|
+
/* @__PURE__ */ s(Wh, { panelRect: y }),
|
|
6183
6183
|
/* @__PURE__ */ s(Dr, {
|
|
6184
|
-
panelRect:
|
|
6184
|
+
panelRect: y,
|
|
6185
6185
|
zOrder: "background"
|
|
6186
6186
|
}),
|
|
6187
6187
|
/* @__PURE__ */ s(Fr, {
|
|
6188
|
-
panelRect:
|
|
6188
|
+
panelRect: y,
|
|
6189
6189
|
zOrder: "background"
|
|
6190
6190
|
}),
|
|
6191
6191
|
/* @__PURE__ */ s(vg, {
|
|
@@ -6194,39 +6194,39 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6194
6194
|
}),
|
|
6195
6195
|
/* @__PURE__ */ s(Ng, {
|
|
6196
6196
|
shouldAnimateTransitions: l,
|
|
6197
|
-
panelRect:
|
|
6197
|
+
panelRect: y,
|
|
6198
6198
|
formattingLocale: c
|
|
6199
6199
|
}),
|
|
6200
6200
|
/* @__PURE__ */ s(mg, {
|
|
6201
6201
|
formattedAxes: e,
|
|
6202
|
-
panelRect:
|
|
6202
|
+
panelRect: y
|
|
6203
6203
|
}),
|
|
6204
6204
|
/* @__PURE__ */ s(tg, {
|
|
6205
|
-
panelRect:
|
|
6205
|
+
panelRect: y,
|
|
6206
6206
|
formattingLocale: c,
|
|
6207
6207
|
plotBottomY: u,
|
|
6208
6208
|
isFooterChromeReserved: d
|
|
6209
6209
|
}),
|
|
6210
6210
|
/* @__PURE__ */ s(Av, {
|
|
6211
|
-
panelRect:
|
|
6211
|
+
panelRect: y,
|
|
6212
6212
|
isEditable: v
|
|
6213
6213
|
}),
|
|
6214
6214
|
/* @__PURE__ */ s(Dr, {
|
|
6215
|
-
panelRect:
|
|
6215
|
+
panelRect: y,
|
|
6216
6216
|
zOrder: "foreground"
|
|
6217
6217
|
}),
|
|
6218
6218
|
/* @__PURE__ */ s(Fr, {
|
|
6219
|
-
panelRect:
|
|
6219
|
+
panelRect: y,
|
|
6220
6220
|
zOrder: "foreground"
|
|
6221
6221
|
}),
|
|
6222
6222
|
/* @__PURE__ */ s(hv, {
|
|
6223
|
-
panelRect:
|
|
6223
|
+
panelRect: y,
|
|
6224
6224
|
isEditable: v
|
|
6225
6225
|
}),
|
|
6226
|
-
/* @__PURE__ */ s(Nv, { panelRect:
|
|
6227
|
-
/* @__PURE__ */ s(zv, { panelRect:
|
|
6228
|
-
/* @__PURE__ */ s(Wv, { panelRect:
|
|
6229
|
-
/* @__PURE__ */ s(tv, { panelRect:
|
|
6226
|
+
/* @__PURE__ */ s(Nv, { panelRect: y }),
|
|
6227
|
+
/* @__PURE__ */ s(zv, { panelRect: y }),
|
|
6228
|
+
/* @__PURE__ */ s(Wv, { panelRect: y }),
|
|
6229
|
+
/* @__PURE__ */ s(tv, { panelRect: y })
|
|
6230
6230
|
]
|
|
6231
6231
|
});
|
|
6232
6232
|
}, Wt = (e, t) => ({
|
|
@@ -6312,7 +6312,7 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6312
6312
|
height: 0
|
|
6313
6313
|
}
|
|
6314
6314
|
}, Yg = () => {
|
|
6315
|
-
const [e, t] =
|
|
6315
|
+
const [e, t] = O(null), [r, n] = O(null), [o, a] = O(Tt);
|
|
6316
6316
|
return F(() => {
|
|
6317
6317
|
const i = () => {
|
|
6318
6318
|
const c = e ? {
|
|
@@ -6384,43 +6384,43 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6384
6384
|
})
|
|
6385
6385
|
})
|
|
6386
6386
|
}) }) }), qg = ({ width: e, height: t, animation: r, showTooltips: n = !0, mode: o = "readonly" }) => {
|
|
6387
|
-
const a = io(), { axes: i, legends: l, layers: c, numberFormat: u, parsingLocale: d, appearance: v, annotations: g, coordSystem: h, headline: f, headlineConfig: m, content: p, overflowStrategy:
|
|
6388
|
-
axes:
|
|
6389
|
-
legends:
|
|
6390
|
-
layers:
|
|
6391
|
-
numberFormat:
|
|
6392
|
-
parsingLocale:
|
|
6393
|
-
appearance:
|
|
6394
|
-
annotations:
|
|
6395
|
-
coordSystem:
|
|
6396
|
-
headline:
|
|
6397
|
-
headlineConfig:
|
|
6398
|
-
content:
|
|
6399
|
-
overflowStrategy:
|
|
6400
|
-
layoutConfig:
|
|
6401
|
-
}))), R = Ci(), { intro: S, transitions: P } = A(() => nc(r, R ?? !1), [r, R]), { headerRef: E, footerRef: N, measurements: M } = Yg(), { formattingLocale:
|
|
6387
|
+
const a = io(), { axes: i, legends: l, layers: c, numberFormat: u, parsingLocale: d, appearance: v, annotations: g, coordSystem: h, headline: f, headlineConfig: m, content: p, overflowStrategy: y, layoutConfig: b } = C(j((Q) => ({
|
|
6388
|
+
axes: Q.guides.axes,
|
|
6389
|
+
legends: Q.guides.legends.drawn,
|
|
6390
|
+
layers: Q.layers,
|
|
6391
|
+
numberFormat: Q.config.numberFormat,
|
|
6392
|
+
parsingLocale: Q.config.parsingLocale,
|
|
6393
|
+
appearance: Q.config.appearance,
|
|
6394
|
+
annotations: Q.annotations,
|
|
6395
|
+
coordSystem: Q.coordSystem,
|
|
6396
|
+
headline: Q.guides.headline,
|
|
6397
|
+
headlineConfig: Q.config.headline,
|
|
6398
|
+
content: Q.config.content,
|
|
6399
|
+
overflowStrategy: Q.config.panel.overflow,
|
|
6400
|
+
layoutConfig: Q.config.layout
|
|
6401
|
+
}))), R = Ci(), { intro: S, transitions: P } = A(() => nc(r, R ?? !1), [r, R]), { headerRef: E, footerRef: N, measurements: M } = Yg(), { formattingLocale: W, colorScheme: K, themeOverrides: Te } = G(), Ae = o === "editable", [ye, Ko] = O(null), ar = A(() => Un(K, Te), [K, Te]), zo = ee("Header", Eu), jo = ee("Footer", xu), Xo = ee("Legend", Oh), qo = ee("Headline", qu), Jo = ee("EditorSurface", zg), ir = A(() => Wa({
|
|
6402
6402
|
legends: l,
|
|
6403
6403
|
numberFormat: u,
|
|
6404
6404
|
parsingLocale: d,
|
|
6405
|
-
formattingLocale:
|
|
6405
|
+
formattingLocale: W
|
|
6406
6406
|
}), [
|
|
6407
6407
|
l,
|
|
6408
6408
|
u,
|
|
6409
6409
|
d,
|
|
6410
|
-
|
|
6410
|
+
W
|
|
6411
6411
|
]), Le = A(() => Ga({
|
|
6412
6412
|
headline: f,
|
|
6413
6413
|
show: m.show,
|
|
6414
6414
|
numberFormat: u,
|
|
6415
6415
|
parsingLocale: d,
|
|
6416
|
-
formattingLocale:
|
|
6416
|
+
formattingLocale: W,
|
|
6417
6417
|
t: a
|
|
6418
6418
|
}), [
|
|
6419
6419
|
f,
|
|
6420
6420
|
m.show,
|
|
6421
6421
|
u,
|
|
6422
6422
|
d,
|
|
6423
|
-
|
|
6423
|
+
W,
|
|
6424
6424
|
a
|
|
6425
6425
|
]), Zo = pe(), Ze = L(), $e = A(() => cn(Ze), [Ze]), sr = A(() => hn(Ze), [Ze]), lr = Bo(), kt = $e.borderColor === void 0 ? 0 : $e.borderWidth, Ne = A(() => ({
|
|
6426
6426
|
width: Math.max(0, e - 2 * kt),
|
|
@@ -6457,12 +6457,12 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6457
6457
|
containerSize: Ne,
|
|
6458
6458
|
externalMeasurements: M,
|
|
6459
6459
|
headline: xe,
|
|
6460
|
-
formattingLocale:
|
|
6460
|
+
formattingLocale: W,
|
|
6461
6461
|
annotations: g,
|
|
6462
6462
|
layers: c,
|
|
6463
6463
|
coordSystem: h,
|
|
6464
6464
|
textScale: v.textScale,
|
|
6465
|
-
overflowStrategy:
|
|
6465
|
+
overflowStrategy: y,
|
|
6466
6466
|
layout: b,
|
|
6467
6467
|
panelBorder: dr
|
|
6468
6468
|
}), et = A(() => !Me || !xe || !_e ? null : gi({
|
|
@@ -6519,7 +6519,7 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6519
6519
|
axisRects: X.axes,
|
|
6520
6520
|
axisLabelRects: X.axisLabels,
|
|
6521
6521
|
shouldAnimateTransitions: P,
|
|
6522
|
-
formattingLocale:
|
|
6522
|
+
formattingLocale: W ?? d,
|
|
6523
6523
|
plotBottomY: ra,
|
|
6524
6524
|
isFooterChromeReserved: na,
|
|
6525
6525
|
isEditable: Ae
|
|
@@ -6570,7 +6570,7 @@ var Sg = 4, kg = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n
|
|
|
6570
6570
|
subscribeSelection: t.selectionStore.subscribe
|
|
6571
6571
|
} : null), [e, t]);
|
|
6572
6572
|
}, Lf = (e) => Ri(e.subscribe, e.getCompiled, e.getCompiled), Nf = () => {
|
|
6573
|
-
const { commands: e } =
|
|
6573
|
+
const { commands: e } = G();
|
|
6574
6574
|
return e;
|
|
6575
6575
|
}, Mf = (e) => {
|
|
6576
6576
|
if (e.altKey || !e.metaKey && !e.ctrlKey) return null;
|
|
@@ -6589,7 +6589,7 @@ export {
|
|
|
6589
6589
|
Gu as E,
|
|
6590
6590
|
L as Et,
|
|
6591
6591
|
ue as F,
|
|
6592
|
-
|
|
6592
|
+
G as Ft,
|
|
6593
6593
|
Td as G,
|
|
6594
6594
|
yf as H,
|
|
6595
6595
|
Rf as I,
|