@graphysdk/react-renderer 1.9.0-beta.1795452877881 → 1.9.0-beta.1795519574415

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/editable.mjs CHANGED
@@ -1,8 +1,7 @@
1
- import { $t as ru, A as Nn, An as Sa, At as Ne, B as qn, Bt as gl, C as yt, Ct as Yn, D as au, Dn as ou, Dt as iu, E as ml, En as lu, Et as vl, F as su, G as fl, Gt as cu, Hn as du, Ht as bl, J as uu, K as hu, Kt as pu, L as Br, Lt as gu, M as mu, Mt as vu, Nt as fu, O as bu, On as yu, Ot as yo, P as Su, Pt as Zn, Q as wu, Qt as ye, R as yl, S as Sl, Sn as xu, St as Jn, T as Cu, Tn as Qn, Un as ku, Ut as Au, Vt as _, W as Tu, Wn as wl, Wt as Pu, X as Lu, Z as Iu, Zn as Mu, Zt as De, _ as xl, _n as Cl, _t as kl, at as ee, b as wa, bn as Ou, bt as Al, c as Eu, cr as G, ct as So, d as Ru, dr as ke, dt as J, en as Nu, f as Du, fn as _u, ft as xa, g as Fu, gt as wo, h as Bu, hn as Tl, ht as xo, i as Qt, in as _e, ir as Pl, it as zu, j as Hu, jn as pt, jt as ze, k as Gu, kn as Pe, kt as Ca, lr as $u, lt as Vu, m as Wu, mt as Uu, n as Oe, nn as Ll, nr as Ku, nt as Xu, o as ju, or as Q, ot as ue, p as qu, pr as ka, pt as Aa, q as D, qn as Yu, r as ce, rn as zr, rt as Il, s as Co, st as Zu, t as Ml, tr as Ju, u as Ol, ur as q, ut as Qu, v as El, vt as Ta, w as eh, wn as th, x as Ce, xn as nh, xt as rh, y as Rl, yn as ah, yt as en, z as Hr, zt as oh } from "./history-chords-C2_stNnG.js";
2
- import { ARROW_DEFAULTS as Nl, ARROW_STICKER_DECLARATIONS as ih, ARROW_STROKE_WIDTHS_PX as xr, ARROW_TARGET_GAP_PX as Pa, AUTO_COLOR as Et, AddAnnotationCommand as Le, AddHighlightCommand as lh, COMBO_TYPES as ko, CONSTANT_VARIABLES as La, DASH_PRESETS as sh, DEFAULT_BAR_CORNER_RADII as ch, DEFAULT_GEOM_COLOR as dh, DEFAULT_POINT_SIZE_PX as Dl, DEFAULT_STROKE_WIDTH_PX as uh, DIFFERENCE_ARROW_DEFAULTS as _l, DIFFERENCE_ARROW_SIZE_DECLARATIONS as In, InternalError as hh, MAX_BAR_WIDTH_FRACTION as ph, MIN_BAR_WIDTH_FRACTION as gh, MoveAnnotationCommand as Fl, PANEL_FRACTION_BOUNDS as Ia, POSITION_VARIABLES as it, RESTING_HOVER_STATE as tn, RemoveAnnotationCommand as er, RemoveHighlightCommand as Ao, SELECTION_PADDING_DEFAULT as mh, SHAPE_DEFAULTS as Bl, SequenceCommand as ot, SetAxisLabelCommand as zl, SetAxisPositionCommand as Hl, SetAxisTickModeCommand as Gr, SetAxisTicksVisibilityCommand as To, SetAxisVisibilityCommand as Dn, SetBarCornerRadiusCommand as vh, SetBarWidthCommand as Gl, SetContentCaptionCommand as $l, SetContentSourceCommand as fh, SetContentSubtitleCommand as Vl, SetContentTitleCommand as Wl, SetDataLabelsCommand as Ul, SetDataLabelsFormatCommand as Kl, SetDifferenceArrowStyleCommand as bh, SetGraphTypeCommand as Ma, SetGridLineStyleCommand as Xl, SetGridVisibilityCommand as $r, SetHeadlineCompareWithCommand as yh, SetHeadlinePositionCommand as Sh, SetHeadlineShowCommand as Po, SetHeadlineSizeCommand as wh, SetHighlightDimStyleCommand as xh, SetLayerYScaleTypeCommand as Ch, SetLegendAlignCommand as kh, SetLegendDisplayCommand as Ah, SetLegendPlacementCommand as Th, SetLegendPositionCommand as Vr, SetLineCurveCommand as jl, SetLineMissingValuesCommand as ql, SetLineStyleCommand as qe, SetMappingCommand as Ph, SetNumberFormatAbbreviationCommand as Lh, SetNumberFormatDecimalsCommand as Lo, SetObservationsColorCommand as Ih, SetPointSizeCommand as tr, SetPointSymbolCommand as Oa, SetPolarInnerRadiusCommand as Mh, SetPolarStartAngleCommand as Oh, SetRuleLabelCommand as Eh, SetRuleValueCommand as Rh, SetScaleDomainCommand as at, SetScaleRangeCommand as Yl, SetScaleTransformCommand as Zl, SetStatLineCommand as Nh, SetStyleRuleCommand as st, TEXT_ANNOTATION_DEFAULTS as Wr, TEXT_ANNOTATION_FADE_ALPHA as Dh, ToggleCategoryLabelsCommand as Jl, ToggleContentVisibilityCommand as gt, ToggleDataLabelsCommand as Ql, ToggleGoalLineCommand as _h, ToggleLinePointsCommand as Ea, ToggleStackTotalsCommand as es, UpdateAnnotationCommand as me, alignUnitFractions as nr, areAnchorsEqual as rr, areEditTargetsEqual as Ra, areEndpointsComparable as Fh, areSameStackEndpoints as Bh, buildColormapRange as zh, buildDivergingRange as Io, buildLayerStyleAddress as Rt, buildObservationPredicate as ts, buildObservationsTarget as tt, buildObservationsTargetAtValue as ns, buildPointSymbolInBox as Hh, canAnchorDirectLabels as Gh, canBecomeCombo as $h, canBecomeHeatmap as Vh, clampAnnotationTranslation as rs, collectDependentAnnotationIds as Na, combineKindStyleDeclarations as Mo, computeArrow as as, createObservationAnchorBuilder as Wh, createObservationAnchorLander as Uh, createObservationAnchorParser as Kh, createStyleResolver as Xh, createStyleRuleMatcher as jh, createValueFormatter as Da, createXValueReader as qh, filterLayersByGeoms as Ur, findAnnotation as Kr, findAverageLineLayer as Yh, findAxisGuide as os, findCompanionLayers as is, findGoalLineLayer as Zh, findHighlightsAtObservation as Jh, findHostLayer as ar, findKindStyleDeclarations as _n, findLayerByGeom as ls, findLayerById as oe, findObservationAttachment as Qh, findOverflowedPanelEdges as ep, findPointerRegion as tp, findStyleRule as ct, findTrendLineLayer as np, formatDifferenceLabel as rp, getBoundingRect as Xr, getGroupVariables as _a, getScaledAesthetic as ap, getXBand as op, getYBand as ip, hasMainAxisBand as lp, hasMultipleGroups as or, indexSceneAnnotations as ss, inferDefaultDifferenceArrowEndpoints as sp, inferDifferenceArrowEndpoints as cp, isComboGraphType as Ie, isCompanionLayer as cs, isGeomStyleRule as dp, isGeometricSymbol as Wt, isImageSymbol as jr, isLayerSpecOf as _t, isObservationAttachmentKind as up, isPlacedRegionAnchor as qr, isSafeUrl as hp, isZeroAnchoredAxis as ds, measureObservationsBoxes as us, omitLegacyDifferenceArrowLabelPlate as pp, polarToUnit as gp, projectAnchorToPanel as Me, projectBoxToPanel as Fn, projectRegionToPanel as Fa, readAnnotationBox as Ba, readBroadestObservationsScope as mp, readColorChoices as hs, readColorPart as vp, readColormapColor as fp, readComboLineLayerId as bp, readCompanionRowsAtScopeKey as yp, readConstantValue as Sp, readDivergingColor as Oo, readEditTargetKey as nn, readFacingAlign as wp, readGeomColor as xp, readGraphType as ir, readHighlightDimStyle as Cp, readMainAxis as kp, readMappableAesthetics as Ap, readMappedVariable as Tp, readObservationIndex as rn, readObservationsColor as Pp, readObservationsColorPart as Lp, readObservationsColorRoute as lr, readOutwardGapOffset as Ip, readReachableLevels as Mp, readRectPoint as mt, readRowScopeKey as Op, readRowsAtScopeKey as Ep, readScopeXVariable as Rp, readStyleCoord as Re, readStyleRulesBeneath as Np, readVariableName as Ve, resolveArrowAnnotationStyle as za, resolveBarBandFraction as ps, resolveComparisonBasis as Dp, resolveDifferenceArrowAnnotationStyle as _p, resolveEditOutlineStyle as Fp, resolveLayerAxisValueFormat as Bp, resolveObservationPoint as zp, resolveObservationsTarget as vt, resolvePointPlacement as sr, resolveRegionPlacement as Hp, resolveTextAnnotationStyle as gs, stepDifferenceArrowEndpoint as Gp, toDashPreset as ft, toFontSpec as $p, toPaintColor as dt, toPanelCursor as Ft, toPlacedRegionPoint as Vp, toStrokeDasharray as cr } from "@graphysdk/viz-engine";
3
- import { Fragment as ms, createContext as nt, memo as vs, useCallback as ve, useContext as Ae, useEffect as W, useId as Ze, useLayoutEffect as Je, useMemo as $, useRef as ae, useState as te, useSyncExternalStore as Wp } from "react";
1
+ import { $n as ru, $t as au, A as Nn, An as pt, At as Ne, B as qn, Bn as ou, Bt as gl, C as yt, Cn as iu, Ct as Yn, D as lu, Dn as su, Dt as cu, E as ml, En as du, Et as vl, F as uu, G as fl, Gn as hu, Gt as pu, Ht as bl, J as gu, K as mu, Kt as vu, L as Br, Lt as fu, M as bu, Mt as yu, Nt as Su, O as wu, On as Pe, Ot as yo, P as xu, Pt as Zn, Q as Cu, Qt as ku, R as yl, S as Sl, St as Jn, T as Au, Tn as Tu, Ut as Pu, Vn as wl, Vt as _, W as Lu, Wt as Iu, X as Mu, Yn as Ou, Z as Eu, Zt as De, _ as xl, _r as Sa, _t as Cl, at as ee, b as wa, bn as Ru, bt as kl, c as Nu, cr as Al, ct as So, d as Du, dn as _u, dt as J, er as Fu, f as Bu, fr as G, ft as xa, g as zu, gn as Tl, gt as wo, h as Hu, hr as ke, ht as xo, i as Qt, ir as Gu, it as $u, j as Vu, jt as ze, k as Wu, kn as Ca, kt as ka, lt as Uu, m as Ku, mn as Pl, mr as q, mt as Xu, n as Oe, nn as zr, nt as ju, o as qu, or as ye, ot as ue, p as Yu, pr as Zu, pt as Aa, q as D, r as ce, rn as _e, rt as Ll, s as Co, sr as Ju, st as Qu, t as Il, tn as Ml, u as Ol, ur as Q, ut as eh, v as El, vn as th, vt as Ta, w as nh, wn as Qn, x as Ce, xn as rh, xt as ah, y as Rl, yn as oh, yt as en, z as Hr, zt as ih } from "./history-chords-BbsIODlG.js";
2
+ import { ARROW_DEFAULTS as Nl, ARROW_STICKER_DECLARATIONS as lh, ARROW_STROKE_WIDTHS_PX as xr, ARROW_TARGET_GAP_PX as Pa, AUTO_COLOR as Et, AddAnnotationCommand as Le, AddHighlightCommand as sh, COMBO_TYPES as ko, CONSTANT_VARIABLES as La, DASH_PRESETS as ch, DEFAULT_BAR_CORNER_RADII as dh, DEFAULT_GEOM_COLOR as uh, DEFAULT_POINT_SIZE_PX as Dl, DEFAULT_STROKE_WIDTH_PX as hh, DIFFERENCE_ARROW_DEFAULTS as _l, DIFFERENCE_ARROW_SIZE_DECLARATIONS as In, InternalError as ph, MAX_BAR_WIDTH_FRACTION as gh, MIN_BAR_WIDTH_FRACTION as mh, MoveAnnotationCommand as Fl, PANEL_FRACTION_BOUNDS as Ia, POSITION_VARIABLES as it, RESTING_HOVER_STATE as tn, RemoveAnnotationCommand as er, RemoveHighlightCommand as Ao, SELECTION_PADDING_DEFAULT as vh, SHAPE_DEFAULTS as Bl, SequenceCommand as ot, SetAxisLabelCommand as zl, SetAxisPositionCommand as Hl, SetAxisTickModeCommand as Gr, SetAxisTicksVisibilityCommand as To, SetAxisVisibilityCommand as Dn, SetBarCornerRadiusCommand as fh, SetBarWidthCommand as Gl, SetContentCaptionCommand as $l, SetContentSourceCommand as bh, SetContentSubtitleCommand as Vl, SetContentTitleCommand as Wl, SetDataLabelsCommand as Ul, SetDataLabelsFormatCommand as Kl, SetDifferenceArrowStyleCommand as yh, SetGraphTypeCommand as Ma, SetGridLineStyleCommand as Xl, SetGridVisibilityCommand as $r, SetHeadlineCompareWithCommand as Sh, SetHeadlinePositionCommand as wh, SetHeadlineShowCommand as Po, SetHeadlineSizeCommand as xh, SetHighlightDimStyleCommand as Ch, SetLayerYScaleTypeCommand as kh, SetLegendAlignCommand as Ah, SetLegendDisplayCommand as Th, SetLegendPlacementCommand as Ph, SetLegendPositionCommand as Vr, SetLineCurveCommand as jl, SetLineMissingValuesCommand as ql, SetLineStyleCommand as qe, SetMappingCommand as Lh, SetNumberFormatAbbreviationCommand as Ih, SetNumberFormatDecimalsCommand as Lo, SetObservationsColorCommand as Mh, SetPointSizeCommand as tr, SetPointSymbolCommand as Oa, SetPolarInnerRadiusCommand as Oh, SetPolarStartAngleCommand as Eh, SetRuleLabelCommand as Rh, SetRuleValueCommand as Nh, SetScaleDomainCommand as at, SetScaleRangeCommand as Yl, SetScaleTransformCommand as Zl, SetStatLineCommand as Dh, SetStyleRuleCommand as st, TEXT_ANNOTATION_DEFAULTS as Wr, TEXT_ANNOTATION_FADE_ALPHA as _h, ToggleCategoryLabelsCommand as Jl, ToggleContentVisibilityCommand as gt, ToggleDataLabelsCommand as Ql, ToggleGoalLineCommand as Fh, ToggleLinePointsCommand as Ea, ToggleStackTotalsCommand as es, UpdateAnnotationCommand as me, alignUnitFractions as nr, areAnchorsEqual as rr, areEditTargetsEqual as Ra, areEndpointsComparable as Bh, areSameStackEndpoints as zh, buildColormapRange as Hh, buildDivergingRange as Io, buildLayerStyleAddress as Rt, buildObservationPredicate as ts, buildObservationsTarget as tt, buildObservationsTargetAtValue as ns, buildPointSymbolInBox as Gh, canAnchorDirectLabels as $h, canBecomeCombo as Vh, canBecomeHeatmap as Wh, clampAnnotationTranslation as rs, collectDependentAnnotationIds as Na, combineKindStyleDeclarations as Mo, computeArrow as as, createObservationAnchorBuilder as Uh, createObservationAnchorLander as Kh, createObservationAnchorParser as Xh, createStyleResolver as jh, createStyleRuleMatcher as qh, createValueFormatter as Da, createXValueReader as Yh, filterLayersByGeoms as Ur, findAnnotation as Kr, findAverageLineLayer as Zh, findAxisGuide as os, findCompanionLayers as is, findGoalLineLayer as Jh, findHighlightsAtObservation as Qh, findHostLayer as ar, findKindStyleDeclarations as _n, findLayerByGeom as ls, findLayerById as oe, findObservationAttachment as ep, findOverflowedPanelEdges as tp, findPointerRegion as np, findStyleRule as ct, findTrendLineLayer as rp, formatDifferenceLabel as ap, getBoundingRect as Xr, getGroupVariables as _a, getScaledAesthetic as op, getXBand as ip, getYBand as lp, hasMainAxisBand as sp, hasMultipleGroups as or, indexSceneAnnotations as ss, inferDefaultDifferenceArrowEndpoints as cp, inferDifferenceArrowEndpoints as dp, isComboGraphType as Ie, isCompanionLayer as cs, isGeomStyleRule as up, isGeometricSymbol as Wt, isImageSymbol as jr, isLayerSpecOf as _t, isObservationAttachmentKind as hp, isPlacedRegionAnchor as qr, isSafeUrl as pp, isZeroAnchoredAxis as ds, measureObservationsBoxes as us, omitLegacyDifferenceArrowLabelPlate as gp, polarToUnit as mp, projectAnchorToPanel as Me, projectBoxToPanel as Fn, projectRegionToPanel as Fa, readAnnotationBox as Ba, readBroadestObservationsScope as vp, readColorChoices as hs, readColorPart as fp, readColormapColor as bp, readComboLineLayerId as yp, readCompanionRowsAtScopeKey as Sp, readConstantValue as wp, readDivergingColor as Oo, readEditTargetKey as nn, readFacingAlign as xp, readGeomColor as Cp, readGraphType as ir, readHighlightDimStyle as kp, readMainAxis as Ap, readMappableAesthetics as Tp, readMappedVariable as Pp, readObservationIndex as rn, readObservationsColor as Lp, readObservationsColorPart as Ip, readObservationsColorRoute as lr, readOutwardGapOffset as Mp, readReachableLevels as Op, readRectPoint as mt, readRowScopeKey as Ep, readRowsAtScopeKey as Rp, readScopeXVariable as Np, readStyleCoord as Re, readStyleRulesBeneath as Dp, readVariableName as Ve, resolveArrowAnnotationStyle as za, resolveBarBandFraction as ps, resolveComparisonBasis as _p, resolveDifferenceArrowAnnotationStyle as Fp, resolveEditOutlineStyle as Bp, resolveLayerAxisValueFormat as zp, resolveObservationPoint as Hp, resolveObservationsTarget as vt, resolvePointPlacement as sr, resolveRegionPlacement as Gp, resolveTextAnnotationStyle as gs, stepDifferenceArrowEndpoint as $p, toDashPreset as ft, toFontSpec as Vp, toPaintColor as dt, toPanelCursor as Ft, toPlacedRegionPoint as Wp, toStrokeDasharray as cr } from "@graphysdk/viz-engine";
3
+ import { Fragment as ms, createContext as nt, memo as vs, useCallback as ve, useContext as Ae, useEffect as W, useId as Ze, useLayoutEffect as Je, useMemo as $, useRef as ae, useState as te, useSyncExternalStore as Up } from "react";
4
4
  import { Fragment as ne, jsx as o, jsxs as b } from "react/jsx-runtime";
5
- import { motion as Up } from "motion/react";
6
5
  import { useShallow as Te } from "zustand/react/shallow";
7
6
  import { clamp as ut, isEqual as Be } from "lodash-es";
8
7
  import { assignInlineVars as We } from "@vanilla-extract/dynamic";
@@ -49,7 +48,7 @@ import './editable.css';var Cs = (e, t) => {
49
48
  parsingLocale: t.config.parsingLocale
50
49
  }), a = r === void 0 ? void 0 : n.data.getAt(r);
51
50
  if (a == null) return null;
52
- const i = Wh(n)(a);
51
+ const i = Uh(n)(a);
53
52
  return i === null ? null : {
54
53
  layer: n,
55
54
  observation: a,
@@ -380,7 +379,7 @@ var Ls = "_14ty2ng0", Ro = "_14ty2ng1", Og = "_14ty2ng2", Eg = "_14ty2ng3", Is =
380
379
  }, Yg = ({ value: e, onChange: t, onCommit: n, popupAttributes: r, variant: a = "default" }) => {
381
380
  const i = _(), l = dr(), [s, c] = te(!1), d = (p) => {
382
381
  c(p), p || n?.();
383
- }, u = e !== null && xu(e) ? e : "#000000", h = nh(u) ? u.toUpperCase() : "#000000";
382
+ }, u = e !== null && rh(e) ? e : "#000000", h = Ru(u) ? u.toUpperCase() : "#000000";
384
383
  return /* @__PURE__ */ b(de.Root, {
385
384
  open: s,
386
385
  onOpenChange: d,
@@ -452,7 +451,7 @@ var Ls = "_14ty2ng0", Ro = "_14ty2ng1", Og = "_14ty2ng2", Eg = "_14ty2ng3", Is =
452
451
  return /* @__PURE__ */ o("div", {
453
452
  onKeyDown: (i) => {
454
453
  if (t?.(i), !r || i.defaultPrevented) return;
455
- const l = Ml(i.nativeEvent);
454
+ const l = Il(i.nativeEvent);
456
455
  l && (i.preventDefault(), l === "undo" ? r.undo() : r.redo());
457
456
  },
458
457
  ...n,
@@ -1200,7 +1199,7 @@ var ev = ({ graph: e, axis: t }) => {
1200
1199
  }, rv = 6, et = ({ target: e }) => {
1201
1200
  const { commands: t, findGeom: n } = q(), r = _(), a = Q(), i = G((u) => u), l = Bs(e, i, n);
1202
1201
  W(() => () => t.commit(), [t]);
1203
- const s = $(() => Pp({
1202
+ const s = $(() => Lp({
1204
1203
  readers: a,
1205
1204
  layers: i.layers,
1206
1205
  target: e,
@@ -1214,7 +1213,7 @@ var ev = ({ graph: e, axis: t }) => {
1214
1213
  if (l === null) return null;
1215
1214
  const c = (u, h) => {
1216
1215
  const p = l[0]?.part;
1217
- t.dispatch(new Ih({
1216
+ t.dispatch(new Mh({
1218
1217
  target: e,
1219
1218
  color: u,
1220
1219
  ...p === void 0 ? {} : { part: p }
@@ -1248,7 +1247,7 @@ var ev = ({ graph: e, axis: t }) => {
1248
1247
  et.hasRows = (e, { scene: t, findGeom: n }) => Bs(e, t, n) !== null;
1249
1248
  var Bs = (e, t, n) => {
1250
1249
  if (oe(t.layers, e.layerId) === void 0) return null;
1251
- const r = Lp({
1250
+ const r = Ip({
1252
1251
  layers: t.layers,
1253
1252
  target: e
1254
1253
  });
@@ -1353,7 +1352,7 @@ var Qr = [
1353
1352
  ], Ua = (e, t, n) => {
1354
1353
  const r = oe(e.spec.layers, n);
1355
1354
  if (!_t(r, "line", "area")) return null;
1356
- const a = e.coordSystem.type === "polar", i = Rt(r.geom, r.id), l = Re(e.spec), s = e.spec.styles.overrides, c = Mo(s, i, l), d = Mo(Np(s, i, l), i, l), u = typeof c?.strokeWidth == "number" ? c.strokeWidth : null, h = dv(r, e.spec.layers), p = a ? [] : hv(r), g = p.length > 1, m = r.geom === "line" && !a, v = m ? gv(e, t, r) : 0;
1355
+ const a = e.coordSystem.type === "polar", i = Rt(r.geom, r.id), l = Re(e.spec), s = e.spec.styles.overrides, c = Mo(s, i, l), d = Mo(Dp(s, i, l), i, l), u = typeof c?.strokeWidth == "number" ? c.strokeWidth : null, h = dv(r, e.spec.layers), p = a ? [] : hv(r), g = p.length > 1, m = r.geom === "line" && !a, v = m ? gv(e, t, r) : 0;
1357
1356
  return {
1358
1357
  layerId: r.id,
1359
1358
  showPoints: h !== void 0 && uv(e, t, h.id),
@@ -1363,7 +1362,7 @@ var Qr = [
1363
1362
  smooth: a ? null : r.params.curve === "smooth",
1364
1363
  widthMode: u === null ? "auto" : "custom",
1365
1364
  hasUnderlyingStrokeWidth: d?.strokeWidth !== void 0,
1366
- strokeWidth: u ?? pv(e, t, r) ?? uh,
1365
+ strokeWidth: u ?? pv(e, t, r) ?? hh,
1367
1366
  missingValues: g ? r.params.missingValues : null,
1368
1367
  missingValueOptions: g ? p : []
1369
1368
  };
@@ -2255,7 +2254,7 @@ var Qr = [
2255
2254
  position: "identity"
2256
2255
  }
2257
2256
  }
2258
- ], _v = 0.05, Vs = (e, t) => Ie(e) ? $h(t) : e.geom === "tile" ? Vh(t) : !0, Gn = (e) => e === null ? null : qt.find((t) => Fv(t.summary, e)) ?? null, Ws = (e, t) => t === null || Ie(e) ? e : e.position === "dodge" && Us(t) ? {
2257
+ ], _v = 0.05, Vs = (e, t) => Ie(e) ? Vh(t) : e.geom === "tile" ? Wh(t) : !0, Gn = (e) => e === null ? null : qt.find((t) => Fv(t.summary, e)) ?? null, Ws = (e, t) => t === null || Ie(e) ? e : e.position === "dodge" && Us(t) ? {
2259
2258
  ...e,
2260
2259
  position: "identity"
2261
2260
  } : e.coordType !== "polar" || !$n(e.innerRadius) || t.coordType !== "polar" || !$n(t.innerRadius) ? e : {
@@ -2401,7 +2400,7 @@ var Bv = "_1a90obs1", zv = [
2401
2400
  }, Kv = (e) => e instanceof Element && e.closest('[role="radio"]:not([aria-disabled="true"])') !== null, Vn = (e) => Ie(e) ? Vv[e.comboType] : $v[e.position], $o = (e, t) => e.arrangements.find(({ summary: n }) => Vn(n) === t) ?? e.arrangements[0], Xv = (e) => Xs.find(({ arrangements: [t] }) => Ks(t.summary, e)), jv = () => {
2402
2401
  const e = G((s) => s.scales.color), t = Oe(), n = _(), [r, a] = te(null);
2403
2402
  W(() => () => t.commit(), [t]);
2404
- const i = hs(e), l = fp(e, r === null ? i : [r, ...i]);
2403
+ const i = hs(e), l = bp(e, r === null ? i : [r, ...i]);
2405
2404
  return (l === null ? [{
2406
2405
  label: n("editor.overlayMenu.lowColor"),
2407
2406
  color: Oo(e, "low"),
@@ -2413,7 +2412,7 @@ var Bv = "_1a90obs1", zv = [
2413
2412
  }] : [{
2414
2413
  label: n("editor.overlayMenu.fillColor"),
2415
2414
  color: l,
2416
- buildRange: (s) => zh(e, s)
2415
+ buildRange: (s) => Hh(e, s)
2417
2416
  }]).map(({ label: s, color: c, buildRange: d }) => c === null ? null : /* @__PURE__ */ o(Fs, {
2418
2417
  label: s,
2419
2418
  palette: i,
@@ -2485,7 +2484,7 @@ var Bv = "_1a90obs1", zv = [
2485
2484
  })
2486
2485
  });
2487
2486
  var Zv = ({ symbol: e, ...t }) => {
2488
- const n = Hh(e, 12, 12), r = 18 / 2;
2487
+ const n = Gh(e, 12, 12), r = 18 / 2;
2489
2488
  return /* @__PURE__ */ o(D, {
2490
2489
  viewBox: "0 0 18 18",
2491
2490
  ...t,
@@ -2496,7 +2495,7 @@ var Zv = ({ symbol: e, ...t }) => {
2496
2495
  })
2497
2496
  });
2498
2497
  }, Jv = "_1yjsaqt0", Qv = "_1yjsaqt1", e1 = "_1yjsaqt2", t1 = "_1yjsaqt3";
2499
- var _6 = 512 * 1024, n1 = (e) => new Promise((t) => {
2498
+ var D6 = 512 * 1024, n1 = (e) => new Promise((t) => {
2500
2499
  if (e.size > 524288) {
2501
2500
  t({ rejection: "oversized" });
2502
2501
  return;
@@ -2587,7 +2586,7 @@ var _6 = 512 * 1024, n1 = (e) => new Promise((t) => {
2587
2586
  })
2588
2587
  });
2589
2588
  }, Ka = ({ symbol: e, coordType: t, onChange: n }) => {
2590
- const r = _(), { RadioGrid: a } = j(), [i, l] = te(null), s = Ae(ur), c = Ku(), d = Tl(), u = s ? s.getPointSymbols(t) : d("point", t)?.symbols, h = s ? new Map(s.getGlyphs().map(({ name: x, definition: I }) => [x, I])) : c;
2589
+ const r = _(), { RadioGrid: a } = j(), [i, l] = te(null), s = Ae(ur), c = Fu(), d = Pl(), u = s ? s.getPointSymbols(t) : d("point", t)?.symbols, h = s ? new Map(s.getGlyphs().map(({ name: x, definition: I }) => [x, I])) : c;
2591
2590
  if (u === void 0 || u.length === 0) return null;
2592
2591
  const p = (x) => typeof x == "string" && u.includes(x), g = (x) => p(x) || jr(x) || !Wt(x) && h.has(x), m = (x) => !Wt(x) || r1.some((I) => I === x), v = [...h.keys()].filter((x) => !Wt(x) && !p(x)), y = [...u.filter(m), ...v], f = e === null ? "" : fn(e), k = e === null || y.some((x) => fn(x) === f) || !g(e) ? y : [...y, e], C = (x) => Wt(x) ? r(`editor.graphPanel.pointSymbol.symbols.${x}`) : jr(x) ? r("editor.graphPanel.pointSymbol.custom") : x, S = (x) => {
2593
2592
  l(null);
@@ -2665,7 +2664,7 @@ var _6 = 512 * 1024, n1 = (e) => new Promise((t) => {
2665
2664
  }, o1 = ({ symbol: e, glyphs: t }) => {
2666
2665
  if (Wt(e)) return /* @__PURE__ */ o(Zv, { symbol: e });
2667
2666
  const n = i1(e, t);
2668
- if (n !== null && Ju(n)) return /* @__PURE__ */ o("span", {
2667
+ if (n !== null && ru(n)) return /* @__PURE__ */ o("span", {
2669
2668
  className: t1,
2670
2669
  style: { maskImage: `url(${JSON.stringify(n)})` }
2671
2670
  });
@@ -2680,7 +2679,7 @@ var _6 = 512 * 1024, n1 = (e) => new Promise((t) => {
2680
2679
  width: 16,
2681
2680
  height: 16,
2682
2681
  "aria-hidden": "true",
2683
- children: /* @__PURE__ */ o(Mu, {
2682
+ children: /* @__PURE__ */ o(Ou, {
2684
2683
  symbol: e,
2685
2684
  glyphs: t,
2686
2685
  size: 12,
@@ -2747,7 +2746,7 @@ var _6 = 512 * 1024, n1 = (e) => new Promise((t) => {
2747
2746
  "inside",
2748
2747
  "outside"
2749
2748
  ], Qs = () => {
2750
- const e = G((w) => w), t = Q(), n = ka(), r = Oe(), a = _(), { Switch: i, ToggleGroup: l } = j(), s = ec(e.layers, e.coordSystem.type, n), c = (w) => s.filter(({ support: N }) => w(N)).map(({ layer: N }) => N), d = p1(e, t), u = d.filter((w) => w.smooth !== null), h = d.filter((w) => w.missingValues !== null && w.missingValueOptions.length > 1), p = Qr.filter((w) => h.some((N) => N.missingValueOptions.includes(w))), g = f1(u), m = b1(h), v = (w) => {
2749
+ const e = G((w) => w), t = Q(), n = Sa(), r = Oe(), a = _(), { Switch: i, ToggleGroup: l } = j(), s = ec(e.layers, e.coordSystem.type, n), c = (w) => s.filter(({ support: N }) => w(N)).map(({ layer: N }) => N), d = p1(e, t), u = d.filter((w) => w.smooth !== null), h = d.filter((w) => w.missingValues !== null && w.missingValueOptions.length > 1), p = Qr.filter((w) => h.some((N) => N.missingValueOptions.includes(w))), g = f1(u), m = b1(h), v = (w) => {
2751
2750
  r.dispatch(new ot({ commands: d.map((N) => new Ea({
2752
2751
  layerId: N.layerId,
2753
2752
  showPoints: w
@@ -2958,7 +2957,7 @@ var ec = (e, t, n) => e.filter((r) => r.interactive).map((r) => ({
2958
2957
  }), m1 = (e, t) => {
2959
2958
  if (t.showFill === !0) return !0;
2960
2959
  const n = Rt("line", t.layerId), r = Re(e.spec);
2961
- return e.spec.styles.overrides.some((a) => !dp(a) || a.when?.where === void 0 ? !1 : jh({
2960
+ return e.spec.styles.overrides.some((a) => !up(a) || a.when?.where === void 0 ? !1 : qh({
2962
2961
  ...n,
2963
2962
  when: a.when
2964
2963
  }, r)(a) && "fillAlpha" in a.declarations && (a.declarations.fillAlpha ?? 0) > 0);
@@ -3146,7 +3145,7 @@ var Yo = [
3146
3145
  return {
3147
3146
  value: d,
3148
3147
  label: n(`editor.overlayMenu.legendPlaces.${d}`),
3149
- icon: /* @__PURE__ */ o(hu, {
3148
+ icon: /* @__PURE__ */ o(mu, {
3150
3149
  title: "",
3151
3150
  size: "xs",
3152
3151
  style: { transform: `rotate(${T1(c)}deg)` }
@@ -3157,7 +3156,7 @@ var Yo = [
3157
3156
  };
3158
3157
  }), s = (c) => {
3159
3158
  const d = Yo.find((u) => Lr(u) === c);
3160
- d !== void 0 && t.dispatch(new Th({
3159
+ d !== void 0 && t.dispatch(new Ph({
3161
3160
  position: d.position,
3162
3161
  align: d.align
3163
3162
  }), { transient: !0 });
@@ -3569,7 +3568,7 @@ var B1 = (e) => {
3569
3568
  return a !== void 0 && Pt(n, a);
3570
3569
  }), Pt = (e, t) => e instanceof Date || t instanceof Date ? e instanceof Date && t instanceof Date && e.getTime() === t.getTime() : e === t, K1 = (e, t) => {
3571
3570
  const n = G((a) => a.spec.highlights), r = G((a) => a.config.parsingLocale);
3572
- return $(() => Jh({
3571
+ return $(() => Qh({
3573
3572
  layer: e,
3574
3573
  highlights: n,
3575
3574
  observation: t,
@@ -3585,7 +3584,7 @@ var B1 = (e) => {
3585
3584
  comment: !0,
3586
3585
  sticker: !0,
3587
3586
  image: !1
3588
- }, j1 = (e) => up(e.kind) && X1[e.kind], ln = (e, t) => {
3587
+ }, j1 = (e) => hp(e.kind) && X1[e.kind], ln = (e, t) => {
3589
3588
  const { offsetWidth: n } = e;
3590
3589
  return n <= 0 || t <= 0 ? 1 : t / n;
3591
3590
  }, bc = (e) => ln(e, e.getBoundingClientRect().width), ra = (e, t) => {
@@ -3765,15 +3764,15 @@ var B1 = (e) => {
3765
3764
  }, Ac = (e, t, n, r) => {
3766
3765
  const a = os(e.guides, "x");
3767
3766
  return Da({
3768
- valueFormat: a === null ? { type: "text" } : Bp(a, t.id),
3767
+ valueFormat: a === null ? { type: "text" } : zp(a, t.id),
3769
3768
  locale: r,
3770
3769
  numberFormat: e.config.numberFormat
3771
- })(qh(t.data, t.mapping)(n), n);
3770
+ })(Yh(t.data, t.mapping)(n), n);
3772
3771
  }, oa = (e, t, n, r) => {
3773
3772
  const a = _a(t.data, t.mapping);
3774
3773
  return a.length === 0 ? ef(t, n) ?? tf(e, t) : a.map((i) => nf(n[i] ?? null, r)).join(", ");
3775
3774
  }, ef = (e, t) => {
3776
- const n = vp(e, t);
3775
+ const n = fp(e, t);
3777
3776
  return n === void 0 ? void 0 : e.styles.parts[n]?.label;
3778
3777
  }, tf = (e, t) => {
3779
3778
  const n = Ve(t.mapping.y), r = n === null ? void 0 : e.guides.variableLabels[n];
@@ -3850,7 +3849,7 @@ var sf = "vez73g6", cf = "vez73g7", df = "vez73g8", uf = "vez73g9", hf = "vez73g
3850
3849
  groupOptions: gr(v, C),
3851
3850
  locale: C,
3852
3851
  t: i
3853
- }, x = aa(S, "xValue").value, I = aa(S, "group").value, O = kc(S).observation, P = $(() => Kh(n, f), [n, f]), z = Qh(y, a, P, $(() => Uh({
3852
+ }, x = aa(S, "xValue").value, I = aa(S, "group").value, O = kc(S).observation, P = $(() => Xh(n, f), [n, f]), z = ep(y, a, P, $(() => Kh({
3854
3853
  layers: v.layers,
3855
3854
  coordSystem: v.coordSystem,
3856
3855
  findGeom: u,
@@ -3860,7 +3859,7 @@ var sf = "vez73g6", cf = "vez73g7", df = "vez73g8", uf = "vez73g9", hf = "vez73g
3860
3859
  v.coordSystem,
3861
3860
  u,
3862
3861
  P
3863
- ])), A = z !== null && j1(z) ? z : null, E = p.current, T = A !== null && E?.key.startsWith("sticker:") === !0 && A.kind === "sticker" ? null : A, L = T?.kind === "comment" ? T.annotation.content : null, w = L === null ? "" : Of(L) ?? void 0, [N, V] = te(() => If(A?.kind)), M = K1(n, r), H = v.coordSystem, Z = t(n, H), se = Z.length === 0 ? [] : z1(n, r, C, k), F = p.current?.heldHighlight, ie = F === void 0 ? M : [...M, F], le = $(() => cp({
3862
+ ])), A = z !== null && j1(z) ? z : null, E = p.current, T = A !== null && E?.key.startsWith("sticker:") === !0 && A.kind === "sticker" ? null : A, L = T?.kind === "comment" ? T.annotation.content : null, w = L === null ? "" : Of(L) ?? void 0, [N, V] = te(() => If(A?.kind)), M = K1(n, r), H = v.coordSystem, Z = t(n, H), se = Z.length === 0 ? [] : z1(n, r, C, k), F = p.current?.heldHighlight, ie = F === void 0 ? M : [...M, F], le = $(() => dp({
3864
3863
  layer: n,
3865
3864
  at: a,
3866
3865
  coordSystem: H
@@ -4114,7 +4113,7 @@ var sf = "vez73g6", cf = "vez73g7", df = "vez73g8", uf = "vez73g9", hf = "vez73g
4114
4113
  alt: ""
4115
4114
  })
4116
4115
  }, i);
4117
- }) }), wf = (e) => `highlight:${e}`, xf = (e) => `sticker:${e}`, Cf = (e, t) => new lh({
4116
+ }) }), wf = (e) => `highlight:${e}`, xf = (e) => `sticker:${e}`, Cf = (e, t) => new sh({
4118
4117
  predicate: e.predicate,
4119
4118
  scope: e.scope,
4120
4119
  layerId: t
@@ -4318,7 +4317,7 @@ var Rf = ({ graph: e, target: t }) => {
4318
4317
  children: t
4319
4318
  });
4320
4319
  }, Df = (e) => {
4321
- const t = Ae(qa), n = G((l) => l), { findGeom: r } = q(), a = ka(), i = Ec(ke());
4320
+ const t = Ae(qa), n = G((l) => l), { findGeom: r } = q(), a = Sa(), i = Ec(ke());
4322
4321
  return $(() => e === null ? null : Rc(e, t, {
4323
4322
  scene: n,
4324
4323
  dataLabelPlacement: a,
@@ -4332,7 +4331,7 @@ var Rf = ({ graph: e, target: t }) => {
4332
4331
  i
4333
4332
  ]);
4334
4333
  }, _f = () => {
4335
- const e = Ae(qa), { store: t, findGeom: n } = q(), r = ka(), a = Ec(ke());
4334
+ const e = Ae(qa), { store: t, findGeom: n } = q(), r = Sa(), a = Ec(ke());
4336
4335
  return ve((i) => Rc(i, e, {
4337
4336
  scene: t.getState().scene,
4338
4337
  dataLabelPlacement: r,
@@ -7020,7 +7019,7 @@ var Rf = ({ graph: e, target: t }) => {
7020
7019
  "en-US": Kf,
7021
7020
  ar: Hf,
7022
7021
  "pt-PT": Yf
7023
- }, Jf = [Zf, Au], Nc = ({ children: e, ...t }) => /* @__PURE__ */ o(oh, {
7022
+ }, Jf = [Zf, Pu], Nc = ({ children: e, ...t }) => /* @__PURE__ */ o(ih, {
7024
7023
  dictionaries: Jf,
7025
7024
  ...t,
7026
7025
  children: /* @__PURE__ */ o(Qf, { children: e })
@@ -7115,7 +7114,7 @@ var Rf = ({ graph: e, target: t }) => {
7115
7114
  color: "#000000",
7116
7115
  phrase: "canvasBlack"
7117
7116
  },
7118
- ...yu.filter(o2).map((e) => ({
7117
+ ...su.filter(o2).map((e) => ({
7119
7118
  color: Pe[e],
7120
7119
  phrase: e
7121
7120
  })),
@@ -7212,7 +7211,7 @@ var s2 = "d0bl03", c2 = "d0bl04", sn = (e) => /* @__PURE__ */ o(Qe, {
7212
7211
  const { CustomColor: r } = j(), { themeValues: a } = Zn();
7213
7212
  return /* @__PURE__ */ o(r, {
7214
7213
  variant: "chip",
7215
- value: e === null || e === Et ? null : Bu(e, a),
7214
+ value: e === null || e === Et ? null : Hu(e, a),
7216
7215
  onChange: t,
7217
7216
  popupAttributes: n
7218
7217
  });
@@ -7772,7 +7771,7 @@ var s2 = "d0bl03", c2 = "d0bl04", sn = (e) => /* @__PURE__ */ o(Qe, {
7772
7771
  "aria-label": t
7773
7772
  })]
7774
7773
  }), d0 = 200, Ja = ({ content: e, extensions: t, editable: n, onUpdate: r, updateDebounceMs: a = d0 }) => {
7775
- const i = ae(ui(e)), l = ae(i.current), s = pu((d) => {
7774
+ const i = ae(ui(e)), l = ae(i.current), s = vu((d) => {
7776
7775
  l.current = d, r?.(d);
7777
7776
  }, a), c = ug({
7778
7777
  extensions: t,
@@ -7907,16 +7906,16 @@ var Zt = "textStyle", qc = /* @__PURE__ */ new Set(["paragraph", "heading"]), Yc
7907
7906
  });
7908
7907
  return /* @__PURE__ */ o(xs, {
7909
7908
  "aria-label": t("graph.annotations.text.editLabel"),
7910
- className: Fu,
7909
+ className: zu,
7911
7910
  editor: i,
7912
7911
  style: {
7913
7912
  ...l === null ? {} : { fontSize: `calc(${l}px * ${Pe.textScale})` },
7914
- ...s === null ? {} : { fontFamily: Ca(s) }
7913
+ ...s === null ? {} : { fontFamily: ka(s) }
7915
7914
  },
7916
7915
  "data-testid": "text-annotation-editor"
7917
7916
  });
7918
7917
  }, hi = (e) => {
7919
- const t = Ca(e);
7918
+ const t = ka(e);
7920
7919
  return t === void 0 ? {} : { style: `font-family: ${t}` };
7921
7920
  }, C0 = ys.create({
7922
7921
  name: "annotationTextStyleAttributes",
@@ -7947,11 +7946,11 @@ var Zt = "textStyle", qc = /* @__PURE__ */ new Set(["paragraph", "heading"]), Yc
7947
7946
  showSubtitle: n
7948
7947
  }), [t, n]);
7949
7948
  return /* @__PURE__ */ o("div", {
7950
- className: Lu,
7949
+ className: Mu,
7951
7950
  "data-testid": "title-editor",
7952
7951
  children: /* @__PURE__ */ o(jc, {
7953
7952
  editor: Ja({
7954
- content: $(() => Iu({
7953
+ content: $(() => Eu({
7955
7954
  title: e,
7956
7955
  showTitle: t,
7957
7956
  subtitle: r,
@@ -7965,7 +7964,7 @@ var Zt = "textStyle", qc = /* @__PURE__ */ new Set(["paragraph", "heading"]), Yc
7965
7964
  extensions: i,
7966
7965
  editable: !0,
7967
7966
  onUpdate: (l) => {
7968
- const s = wu(l, t);
7967
+ const s = Cu(l, t);
7969
7968
  t && a(new Wl({ title: s.title })), n && a(new Vl({ subtitle: s.subtitle }));
7970
7969
  }
7971
7970
  }),
@@ -8008,7 +8007,7 @@ var Zt = "textStyle", qc = /* @__PURE__ */ new Set(["paragraph", "heading"]), Yc
8008
8007
  return W(() => {
8009
8008
  t(!0);
8010
8009
  }, []), e;
8011
- }, N0 = (e) => ru.some((t) => t === e), pi = (e, t, n) => n === 0 ? 0 : e * t / n, D0 = {
8010
+ }, N0 = (e) => ku.some((t) => t === e), pi = (e, t, n) => n === 0 ? 0 : e * t / n, D0 = {
8012
8011
  x: 8,
8013
8012
  y: 8
8014
8013
  }, _0 = {
@@ -8075,10 +8074,10 @@ var Zt = "textStyle", qc = /* @__PURE__ */ new Set(["paragraph", "heading"]), Yc
8075
8074
  })
8076
8075
  });
8077
8076
  }, F0 = (e) => e !== null && getComputedStyle(e).direction === "rtl", B0 = 2, ad = () => {
8078
- const e = _(), t = Q(), n = Cl();
8077
+ const e = _(), t = Q(), n = Tl();
8079
8078
  return ({ annotationId: r, anchorX: a, align: i, panelWidth: l, minWidth: s, paddingInline: c, pickedFontSize: d = null, pickedFont: u = null }) => {
8080
8079
  if (l <= 0) return s;
8081
- const h = t.annotation.text(r).resolve(), p = t.graph().get("textScale"), g = d === null ? h.fontSize : d * p, m = Ca(u) ?? h.fontFamily, v = (n.measureText(e("graph.annotations.text.placeholder"), $p({
8080
+ const h = t.annotation.text(r).resolve(), p = t.graph().get("textScale"), g = d === null ? h.fontSize : d * p, m = ka(u) ?? h.fontFamily, v = (n.measureText(e("graph.annotations.text.placeholder"), Vp({
8082
8081
  ...h,
8083
8082
  fontSize: g,
8084
8083
  fontFamily: m
@@ -8155,7 +8154,7 @@ var Zt = "textStyle", qc = /* @__PURE__ */ new Set(["paragraph", "heading"]), Yc
8155
8154
  }
8156
8155
  const l = a.placementCommandId;
8157
8156
  l !== null && r !== null && r.readTopCommandId() === l && r.undo() || n(a.annotationId);
8158
- }, cn = (e, t) => e.geom === "boxplot" && ap(t, "outlier") !== null, H0 = (e, t, n) => {
8157
+ }, cn = (e, t) => e.geom === "boxplot" && op(t, "outlier") !== null, H0 = (e, t, n) => {
8159
8158
  const r = [];
8160
8159
  for (let a = e.layers.length - 1; a >= 0; a -= 1) {
8161
8160
  const i = e.layers[a];
@@ -8352,7 +8351,7 @@ var Zt = "textStyle", qc = /* @__PURE__ */ new Set(["paragraph", "heading"]), Yc
8352
8351
  const r = n.getState().pointerRegions;
8353
8352
  if (r.length === 0) return !1;
8354
8353
  const a = t.getBoundingClientRect();
8355
- return a.width <= 0 || a.height <= 0 ? !1 : tp({
8354
+ return a.width <= 0 || a.height <= 0 ? !1 : np({
8356
8355
  x: e.clientX - a.left,
8357
8356
  y: e.clientY - a.top
8358
8357
  }, r) !== null;
@@ -8362,7 +8361,7 @@ var Zt = "textStyle", qc = /* @__PURE__ */ new Set(["paragraph", "heading"]), Yc
8362
8361
  }, U0 = (e, t, n, r) => {
8363
8362
  const a = K0(t.primary, n, r);
8364
8363
  if (a !== null) {
8365
- const i = e.query(a, { tolerance: Ll });
8364
+ const i = e.query(a, { tolerance: Ml });
8366
8365
  if (On(Lt(i.primary), Lt(t.primary))) return {
8367
8366
  primary: i.primary,
8368
8367
  group: [...i.group],
@@ -8386,7 +8385,7 @@ var Zt = "textStyle", qc = /* @__PURE__ */ new Set(["paragraph", "heading"]), Yc
8386
8385
  return t;
8387
8386
  }
8388
8387
  }, X0 = (e, t, n) => {
8389
- const r = gp(e, t);
8388
+ const r = mp(e, t);
8390
8389
  return n >= 1 ? {
8391
8390
  x: 0.5 + r.x / (2 * n),
8392
8391
  y: 0.5 - r.y / 2
@@ -8801,7 +8800,7 @@ var Y0 = "_1vbfegu3", dn = {
8801
8800
  return e;
8802
8801
  }
8803
8802
  }, ub = (e, { measurePathBox: t, coordSystem: n, panelRect: r }, a) => {
8804
- const i = pb(e, t).map((s) => pt(s, a)), l = Eu(ep(e.layer, n), r);
8803
+ const i = pb(e, t).map((s) => pt(s, a)), l = Nu(tp(e.layer, n), r);
8805
8804
  return i.flatMap((s) => hb(s, l));
8806
8805
  }, hb = (e, t) => {
8807
8806
  const n = Math.max(e.x, t.x), r = Math.max(e.y, t.y), a = Math.min(e.x + e.width, t.x + t.width), i = Math.min(e.y + e.height, t.y + t.height);
@@ -8900,7 +8899,7 @@ var vb = (e, { coordSystem: t, panelRect: n }) => {
8900
8899
  return g.from < g.to ? g : p;
8901
8900
  }, wb = (e) => {
8902
8901
  const [t] = e;
8903
- return t !== void 0 && e.some((n) => !Nu(n, t));
8902
+ return t !== void 0 && e.some((n) => !au(n, t));
8904
8903
  }, sa = (e) => ({
8905
8904
  from: e.x,
8906
8905
  to: e.x + e.width
@@ -8954,13 +8953,10 @@ var vb = (e, { coordSystem: t, panelRect: n }) => {
8954
8953
  }) : /* @__PURE__ */ o("path", {
8955
8954
  d: e,
8956
8955
  ...r
8957
- }), Ab = ({ pathData: e, source: t, ...n }) => {
8958
- const r = du(e, ku, t);
8959
- return /* @__PURE__ */ o(Up.path, {
8960
- d: r,
8961
- ...n
8962
- });
8963
- }, Tb = "var(--dppmab0)", Pb = "data-edit-outline-stroke", id = (e) => ({
8956
+ }), Ab = ({ pathData: e, source: t, ...n }) => /* @__PURE__ */ o(Gu, {
8957
+ d: ou(e, Ju, t),
8958
+ ...n
8959
+ }), Tb = "var(--dppmab0)", Pb = "data-edit-outline-stroke", id = (e) => ({
8964
8960
  [Pb]: "",
8965
8961
  style: We({ [Tb]: `${e}px` })
8966
8962
  }), Lb = () => {
@@ -9029,7 +9025,7 @@ var vb = (e, { coordSystem: t, panelRect: n }) => {
9029
9025
  layers: i.layers,
9030
9026
  coordSystem: i.coordSystem,
9031
9027
  parsingLocale: i.config.parsingLocale
9032
- }))), { anchorResolver: n } = q(), r = Pl(), a = Bt();
9028
+ }))), { anchorResolver: n } = q(), r = Al(), a = Bt();
9033
9029
  return {
9034
9030
  showMenuTriggerOnHover: e,
9035
9031
  ...t,
@@ -9045,7 +9041,7 @@ var vb = (e, { coordSystem: t, panelRect: n }) => {
9045
9041
  });
9046
9042
  return s === null ? null : {
9047
9043
  position: s,
9048
- color: xp({ geom: i }, e, t) ?? dh,
9044
+ color: Cp({ geom: i }, e, t) ?? uh,
9049
9045
  target: n
9050
9046
  };
9051
9047
  }, Ob = () => {
@@ -9156,7 +9152,7 @@ var wi = (e, t) => {
9156
9152
  const { layers: t, parsingLocale: n } = G(Te((p) => ({
9157
9153
  layers: p.layers,
9158
9154
  parsingLocale: p.config.parsingLocale
9159
- }))), r = ee((p) => p.editTargetUnderPointer), a = r?.kind === "observations" ? r.observations : null, i = a === null ? void 0 : oe(t, a.layerId), l = a?.target.scope ?? null, s = a === null || i === void 0 ? null : Op(i, a.target.scope, a.observationIndex), c = $(() => i === void 0 || l === null || s === null ? null : Fb(t, i, l, s), [
9155
+ }))), r = ee((p) => p.editTargetUnderPointer), a = r?.kind === "observations" ? r.observations : null, i = a === null ? void 0 : oe(t, a.layerId), l = a?.target.scope ?? null, s = a === null || i === void 0 ? null : Ep(i, a.target.scope, a.observationIndex), c = $(() => i === void 0 || l === null || s === null ? null : Fb(t, i, l, s), [
9160
9156
  t,
9161
9157
  i,
9162
9158
  l,
@@ -9203,10 +9199,10 @@ var wi = (e, t) => {
9203
9199
  }, Fb = (e, t, n, r) => {
9204
9200
  const a = [{
9205
9201
  layer: t,
9206
- rows: Ep(t, n, r)
9202
+ rows: Rp(t, n, r)
9207
9203
  }];
9208
9204
  for (const i of is(t, e)) {
9209
- const l = yp(i, t, n, r);
9205
+ const l = Sp(i, t, n, r);
9210
9206
  l.length > 0 && a.push({
9211
9207
  layer: i,
9212
9208
  rows: l
@@ -9260,11 +9256,11 @@ var wi = (e, t) => {
9260
9256
  }
9261
9257
  }, Hb = (e) => {
9262
9258
  const t = `[${Br}="${e.kind}"]`;
9263
- return e.kind !== "axis" ? t : `${t}[${su}="${e.axis}"]`;
9259
+ return e.kind !== "axis" ? t : `${t}[${uu}="${e.axis}"]`;
9264
9260
  }, Gb = (e) => {
9265
9261
  const t = /* @__PURE__ */ new Map();
9266
9262
  for (const n of e) {
9267
- const r = Tu(n);
9263
+ const r = Lu(n);
9268
9264
  r !== null && t.set(r.legendIndex, [...t.get(r.legendIndex) ?? [], n]);
9269
9265
  }
9270
9266
  return t;
@@ -9327,7 +9323,7 @@ var wi = (e, t) => {
9327
9323
  const t = (n) => Number(e?.getAttribute(n) ?? 0);
9328
9324
  return (t("x2") - t("x1")) * (t("y2") - t("y1")) >= 0;
9329
9325
  }, Ub = [], Kb = (e, { frameElement: t, frameSize: n, panelRect: r }) => {
9330
- const { animateTransitions: a } = wl(), i = G((v) => v.coordSystem), l = Tl(), s = Pl(), c = jb(e.kind === "guide" ? e.target : null, {
9326
+ const { animateTransitions: a } = wl(), i = G((v) => v.coordSystem), l = Pl(), s = Al(), c = jb(e.kind === "guide" ? e.target : null, {
9331
9327
  frameElement: t,
9332
9328
  frameSize: n
9333
9329
  }), d = Xb(t, n), u = $(() => ({
@@ -9480,7 +9476,7 @@ var wi = (e, t) => {
9480
9476
  };
9481
9477
  }
9482
9478
  }, Yb = ["x", "y"], Zb = vs(function({ frameElement: t, frameSize: n, panelRect: r }) {
9483
- const a = ah(Fp, Q()), i = Ob(), l = _b(i?.outlined ?? null), { selectObservationsOnPress: s, selectGraphOnPress: c, selectGuidesOnPress: d } = _e[ke()], u = Rb(), h = s || c || d, p = h ? l : u;
9479
+ const a = th(Bp, Q()), i = Ob(), l = _b(i?.outlined ?? null), { selectObservationsOnPress: s, selectGraphOnPress: c, selectGuidesOnPress: d } = _e[ke()], u = Rb(), h = s || c || d, p = h ? l : u;
9484
9480
  if (i === null && p === null) return null;
9485
9481
  const g = {
9486
9482
  frameElement: t,
@@ -9606,7 +9602,7 @@ var wi = (e, t) => {
9606
9602
  return n * Math.max(1, Math.round(2 * Math.PI * e / t)) * t;
9607
9603
  }, ny = (e, t, n) => {
9608
9604
  const r = n.offset + un(n);
9609
- return Sa(pt({
9605
+ return Ca(pt({
9610
9606
  x: 0,
9611
9607
  y: 0,
9612
9608
  ...e
@@ -9677,13 +9673,13 @@ var wi = (e, t) => {
9677
9673
  }, i);
9678
9674
  case "dots":
9679
9675
  return r.centers.length === 0 ? null : /* @__PURE__ */ o("path", {
9680
- d: Yu(r.centers, r.size / 2),
9676
+ d: hu(r.centers, r.size / 2),
9681
9677
  pathLength: dd(r.size / 2, n, r.centers.length),
9682
9678
  "data-geom": t.geom
9683
9679
  }, i);
9684
9680
  }
9685
9681
  }), oy = ({ boxes: e, borderRadius: t }) => {
9686
- const n = e.map((r) => Sa(r, t)).join("");
9682
+ const n = e.map((r) => Ca(r, t)).join("");
9687
9683
  return n === "" ? null : /* @__PURE__ */ o("path", {
9688
9684
  d: n,
9689
9685
  "data-testid": "edit-outline-boxes"
@@ -9701,7 +9697,7 @@ var wi = (e, t) => {
9701
9697
  ...s
9702
9698
  }, h))] }, l);
9703
9699
  });
9704
- const i = t.map((l) => l.kind === "box" ? Sa(l.rect, n) : "").join("");
9700
+ const i = t.map((l) => l.kind === "box" ? Ca(l.rect, n) : "").join("");
9705
9701
  return i === "" ? null : /* @__PURE__ */ o("path", { d: i });
9706
9702
  }, ly = (e, t) => e.kind === "line" && e.axis === t ? `M${e.from.x},${e.from.y}L${e.to.x},${e.to.y}` : "", sy = ({ center: e, radius: t }) => {
9707
9703
  const n = `${e.x},${e.y - t}`;
@@ -9717,7 +9713,7 @@ var wi = (e, t) => {
9717
9713
  height: n.height,
9718
9714
  overflow: "visible",
9719
9715
  children: /* @__PURE__ */ o("line", {
9720
- ...mu(r, i, n),
9716
+ ...bu(r, i, n),
9721
9717
  stroke: t.stroke,
9722
9718
  strokeOpacity: t.strokeAlpha,
9723
9719
  strokeWidth: t.strokeWidth,
@@ -9728,7 +9724,7 @@ var wi = (e, t) => {
9728
9724
  });
9729
9725
  }, dy = ({ layer: e, rows: t }) => {
9730
9726
  for (const n of t) {
9731
- const r = e.data.getAt(n), a = r === null ? null : op(r), i = r === null ? null : ip(r);
9727
+ const r = e.data.getAt(n), a = r === null ? null : ip(r), i = r === null ? null : lp(r);
9732
9728
  if (a !== null && i !== null) return {
9733
9729
  x: a,
9734
9730
  y: i
@@ -9899,9 +9895,9 @@ var wi = (e, t) => {
9899
9895
  ariaLabel: n("editor.overlayMenu.selection")
9900
9896
  });
9901
9897
  }, vy = ({ scene: e, pressed: t, groupOptions: n, locale: r, t: a, hasOverlayMenu: i }) => {
9902
- const l = t === null ? null : Vu(t, e.layers, e.config.parsingLocale);
9898
+ const l = t === null ? null : Uu(t, e.layers, e.config.parsingLocale);
9903
9899
  if (t === null || l === null) return null;
9904
- const { layer: s, observation: c } = l, { observationIndex: d, selectedFor: u } = t, { parsingLocale: h } = e.config, p = Mp({
9900
+ const { layer: s, observation: c } = l, { observationIndex: d, selectedFor: u } = t, { parsingLocale: h } = e.config, p = Op({
9905
9901
  layer: s,
9906
9902
  observationIndex: d,
9907
9903
  parsingLocale: h,
@@ -10055,7 +10051,7 @@ var wi = (e, t) => {
10055
10051
  c === null || d === null || a(d.offsetWidth > c.clientWidth);
10056
10052
  }, []);
10057
10053
  Je(i, [i, e.whole]);
10058
- const { setElement: l } = cu({ onResize: i }), s = ve((c) => {
10054
+ const { setElement: l } = pu({ onResize: i }), s = ve((c) => {
10059
10055
  t.current = c, l(c);
10060
10056
  }, [l]);
10061
10057
  return /* @__PURE__ */ b(ne, { children: [/* @__PURE__ */ o(de.Title, {
@@ -10197,7 +10193,7 @@ var wi = (e, t) => {
10197
10193
  };
10198
10194
  }, Ai = (e, t, n, r) => !Number.isFinite(t) || !Number.isFinite(e) ? 0 : ut(t, Math.min(n - e, 0), Math.max(r - e, 0)), mr = ({ stroke: e, strokeAlpha: t }) => `color-mix(in srgb, ${e} ${t * 100}%, transparent)`, hd = (e, t, n, r) => {
10199
10195
  const a = e.textAnnotations.find((i) => i.id === t);
10200
- return a === void 0 ? null : au(Du(a, n), r);
10196
+ return a === void 0 ? null : lu(Bu(a, n), r);
10201
10197
  }, zy = "var(--_1am0al60)";
10202
10198
  var Hy = "_1am0al61", Gy = "_1am0al62", lo = (e, t, n) => ({
10203
10199
  x: Y(t.x - e.x, n.width),
@@ -10206,21 +10202,21 @@ var Hy = "_1am0al61", Gy = "_1am0al62", lo = (e, t, n) => ({
10206
10202
  x: e.x * t.width,
10207
10203
  y: e.y * t.height
10208
10204
  }), $y = ({ panelRect: e }) => {
10209
- const t = Ce(e), n = Jn(), r = Q(), a = zt(), i = ee((f) => J(f, "move-drag")), l = ee((f) => J(f, "shape-resize-drag")), s = ee((f) => J(f, "arrow-endpoint-drag")), c = ee((f) => J(f, "text-resize-drag")), d = ee(Zu), u = {
10205
+ const t = Ce(e), n = Jn(), r = Q(), a = zt(), i = ee((f) => J(f, "move-drag")), l = ee((f) => J(f, "shape-resize-drag")), s = ee((f) => J(f, "arrow-endpoint-drag")), c = ee((f) => J(f, "text-resize-drag")), d = ee(Qu), u = {
10210
10206
  panel: {
10211
10207
  width: e.width,
10212
10208
  height: e.height
10213
10209
  },
10214
10210
  measuredBoxes: n,
10215
10211
  readers: r
10216
- }, h = i !== null && Al(i) !== null, p = h ? Sl(t, t, i, e) : t, g = Ti(p, a, u), m = Ti(p, d === a ? null : d, u), v = (f) => {
10212
+ }, h = i !== null && kl(i) !== null, p = h ? Sl(t, t, i, e) : t, g = Ti(p, a, u), m = Ti(p, d === a ? null : d, u), v = (f) => {
10217
10213
  if (l?.annotationId === f.id) {
10218
10214
  const k = l.annotationKind === "shape" ? r.annotation.shape(f.id).get("strokeWidth") : 0;
10219
10215
  return ml(l.region, k, u.panel);
10220
10216
  }
10221
10217
  if (s?.annotationId === f.id) {
10222
10218
  const k = t.arrows.find((C) => C.id === f.id);
10223
- return k === void 0 ? f.geometry : Cu(io(k, s, u.panel), u.panel);
10219
+ return k === void 0 ? f.geometry : Au(io(k, s, u.panel), u.panel);
10224
10220
  }
10225
10221
  return c?.annotationId === f.id ? hd(t, f.id, c, u) ?? f.geometry : f.geometry;
10226
10222
  }, y = (f) => {
@@ -10244,7 +10240,7 @@ var Hy = "_1am0al61", Gy = "_1am0al62", lo = (e, t, n) => ({
10244
10240
  })] });
10245
10241
  }, Ti = (e, t, n) => {
10246
10242
  if (t === null) return null;
10247
- const r = bu(e, t, n);
10243
+ const r = wu(e, t, n);
10248
10244
  return r === null ? null : {
10249
10245
  id: t,
10250
10246
  geometry: r
@@ -10289,7 +10285,7 @@ var Hy = "_1am0al61", Gy = "_1am0al62", lo = (e, t, n) => ({
10289
10285
  }), so = "c44vv80", Vy = ({ panelRect: e }) => {
10290
10286
  const t = ee((l) => J(l, "move-drag")), n = Ce(e);
10291
10287
  if (t === null) return null;
10292
- const r = Al(t) !== null, a = r ? {
10288
+ const r = kl(t) !== null, a = r ? {
10293
10289
  x: 0,
10294
10290
  y: 0
10295
10291
  } : gd(t.translation, e), i = r ? Sl(n, n, t, e) : n;
@@ -10307,8 +10303,8 @@ var Hy = "_1am0al61", Gy = "_1am0al62", lo = (e, t, n) => ({
10307
10303
  children: Ky(i, t.annotationId, e)
10308
10304
  });
10309
10305
  }, Wy = ({ annotation: e, panelSize: t }) => {
10310
- const n = rh(e.id);
10311
- return /* @__PURE__ */ o(qu, {
10306
+ const n = ah(e.id);
10307
+ return /* @__PURE__ */ o(Yu, {
10312
10308
  annotation: e,
10313
10309
  panel: t,
10314
10310
  style: gs(Q(), e.id),
@@ -10360,7 +10356,7 @@ var Hy = "_1am0al61", Gy = "_1am0al62", lo = (e, t, n) => ({
10360
10356
  shape: e,
10361
10357
  style: Q().annotation.shape(e.id).resolve(),
10362
10358
  panel: t
10363
- }), qy = ({ sticker: e, panelSize: t }) => /* @__PURE__ */ o(Ru, {
10359
+ }), qy = ({ sticker: e, panelSize: t }) => /* @__PURE__ */ o(Du, {
10364
10360
  sticker: e,
10365
10361
  panel: t,
10366
10362
  textScale: Q().graph().get("textScale")
@@ -10732,7 +10728,7 @@ var Hy = "_1am0al61", Gy = "_1am0al62", lo = (e, t, n) => ({
10732
10728
  });
10733
10729
  }, S5 = ({ color: e, opacity: t }) => /* @__PURE__ */ o("span", {
10734
10730
  className: d5,
10735
- style: { background: t === void 0 ? e : th(e, t) }
10731
+ style: { background: t === void 0 ? e : iu(e, t) }
10736
10732
  }), w5 = ({ label: e, onClick: t, children: n }) => /* @__PURE__ */ o(sn, {
10737
10733
  label: e,
10738
10734
  children: /* @__PURE__ */ o(fe.Button, {
@@ -10891,10 +10887,10 @@ var I5 = ({ arrow: e, arrowBox: t, panelRect: n, frameWidth: r, frameHeight: a,
10891
10887
  })), u.close();
10892
10888
  }, S = () => {
10893
10889
  s.dispatch(new er({ id: e.id })), i.focus({ preventScroll: !0 });
10894
- }, x = (E) => y({ stroke: E }, { transient: !0 }), I = (E) => k({ strokeWidth: E }), O = (E) => C({ startArrowheadStyle: E }), P = (E) => k({ dashArray: sh.arrow[E] }), z = (E) => C({ endArrowheadStyle: E }), A = () => f(g ? {
10890
+ }, x = (E) => y({ stroke: E }, { transient: !0 }), I = (E) => k({ strokeWidth: E }), O = (E) => C({ startArrowheadStyle: E }), P = (E) => k({ dashArray: ch.arrow[E] }), z = (E) => C({ endArrowheadStyle: E }), A = () => f(g ? {
10895
10891
  strokeWidth: 0,
10896
10892
  shadow: "none"
10897
- } : ih);
10893
+ } : lh);
10898
10894
  return /* @__PURE__ */ b(X.Root, {
10899
10895
  anchorBox: t,
10900
10896
  panelRect: n,
@@ -10997,7 +10993,7 @@ var I5 = ({ arrow: e, arrowBox: t, panelRect: n, frameWidth: r, frameHeight: a,
10997
10993
  }, String(i.value))) });
10998
10994
  }, M5 = "_1me29t10", Nt = (e, t, n, r, a) => {
10999
10995
  if (e.anchorType === "panel") return null;
11000
- const i = Me(n, r), l = a === void 0 ? void 0 : Ip(e.align, a), s = n.space === "disk" ? void 0 : e.offset ?? l, c = (s?.x ?? 0) * (s?.unit === "px" ? 1 : r.width), d = (s?.y ?? 0) * (s?.unit === "px" ? 1 : r.height);
10996
+ const i = Me(n, r), l = a === void 0 ? void 0 : Mp(e.align, a), s = n.space === "disk" ? void 0 : e.offset ?? l, c = (s?.x ?? 0) * (s?.unit === "px" ? 1 : r.width), d = (s?.y ?? 0) * (s?.unit === "px" ? 1 : r.height);
11001
10997
  return {
11002
10998
  anchor: e,
11003
10999
  sourceAlign: t,
@@ -11008,7 +11004,7 @@ var I5 = ({ arrow: e, arrowBox: t, panelRect: n, frameWidth: r, frameHeight: a,
11008
11004
  };
11009
11005
  }, O5 = {
11010
11006
  distance: 8,
11011
- margin: mh.x ?? 0
11007
+ margin: vh.x ?? 0
11012
11008
  }, Dt = (e, t) => ({
11013
11009
  anchorType: "panel",
11014
11010
  x: t.width > 0 ? e.x / t.width : 0,
@@ -11045,11 +11041,11 @@ var I5 = ({ arrow: e, arrowBox: t, panelRect: n, frameWidth: r, frameHeight: a,
11045
11041
  x: Y(a.x, n.width),
11046
11042
  y: Y(a.y, n.height)
11047
11043
  };
11048
- return Nt(Vp(e), r, i, n);
11044
+ return Nt(Wp(e), r, i, n);
11049
11045
  }, Sd = (e, t, n, r = Ia) => ({
11050
11046
  x: Oi(e.x, e.width, t.x, r.minX * n.width, r.maxX * n.width),
11051
11047
  y: Oi(e.y, e.height, t.y, r.minY * n.height, r.maxY * n.height)
11052
- }), uo = ({ rect: e, panelRect: t, bounds: n, layers: r, readObservationBox: a, mayEnclose: i }) => i ? Hp({
11048
+ }), uo = ({ rect: e, panelRect: t, bounds: n, layers: r, readObservationBox: a, mayEnclose: i }) => i ? Gp({
11053
11049
  rect: e,
11054
11050
  layers: r,
11055
11051
  readObservationBox: a,
@@ -11118,7 +11114,7 @@ var I5 = ({ arrow: e, arrowBox: t, panelRect: n, frameWidth: r, frameHeight: a,
11118
11114
  if (i || l) return f;
11119
11115
  let k = v, C;
11120
11116
  if (v.align === "auto") {
11121
- const x = p[m], I = p[m === "start" ? "end" : "start"], O = wp(x, I);
11117
+ const x = p[m], I = p[m === "start" ? "end" : "start"], O = xp(x, I);
11122
11118
  k = {
11123
11119
  ...v,
11124
11120
  align: O
@@ -11878,11 +11874,11 @@ var Z5 = "ydgo3h1", J5 = "ydgo3h2", Q5 = "ydgo3h3", eS = "ydgo3h4", _i = {
11878
11874
  });
11879
11875
  return r !== void 0 ? r : n.find((a) => In[a].arrow.strokeWidth === e.strokeWidth);
11880
11876
  }, nS = (e, t, n) => !(t.fontSize !== void 0 && e.fontSize !== t.fontSize * n || t.fontWeight !== void 0 && e.fontWeight !== t.fontWeight || t.paddingInline !== void 0 && e.paddingInline !== t.paddingInline || t.paddingBlock !== void 0 && e.paddingBlock !== t.paddingBlock || t.strokeWidth !== void 0 && e.strokeWidth !== t.strokeWidth), rS = "q7gcrz0", aS = "q7gcrz1", oS = "q7gcrz2";
11881
- var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, labelKindName: n, labelKindValue: r, sizeLabel: a }) => {
11877
+ var iS = 4, lS = 6, sS = gu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, labelKindName: n, labelKindValue: r, sizeLabel: a }) => {
11882
11878
  const i = {
11883
11879
  family: Qn,
11884
- size: Hu(lu.md, t),
11885
- weight: ou.medium
11880
+ size: Vu(Tu.md, t),
11881
+ weight: du.medium
11886
11882
  }, l = (u) => u.length === 0 ? 0 : e.measureText(u, i).width, s = (u) => u === 0 ? 0 : u * iS, c = [n, r].filter((u) => u.length > 0).length, d = a.length === 0 ? 0 : 1;
11887
11883
  return l(n) + l(r) + l(a) + s(c) + s(d) + uS();
11888
11884
  }, uS = () => 36 + 34 * cS + lS * 4 + sS * 2, hS = [
@@ -11896,11 +11892,11 @@ var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, l
11896
11892
  }, mS = (e) => {
11897
11893
  const { formattingLocale: t } = q(), n = G((a) => a.config.parsingLocale), r = t ?? n;
11898
11894
  return $(() => {
11899
- const a = Fh(e.start, e.end);
11895
+ const a = Bh(e.start, e.end);
11900
11896
  return hS.filter((i) => a || !Fi.includes(i) || i === e.label).map((i) => ({
11901
11897
  kind: i,
11902
11898
  key: gS[i],
11903
- preview: rp({
11899
+ preview: ap({
11904
11900
  locale: r,
11905
11901
  kind: i,
11906
11902
  startValue: e.start.measurementValue,
@@ -11925,7 +11921,7 @@ var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, l
11925
11921
  key: "graph.annotations.differenceArrowToolbar.size.large"
11926
11922
  }
11927
11923
  ], vS = ({ arrow: e, color: t, labelBox: n, start: r, end: a, panelRect: i, frameWidth: l, frameHeight: s, frameElement: c }) => {
11928
- const d = _(), u = Cl(), { commands: h } = q(), p = G((M) => M.spec.styles.overrides), g = G((M) => Re(M.spec)), m = hn(), v = mS(e), y = Q(), f = _p(y, e.id), k = y.graph().get("textScale"), C = $(() => ({
11924
+ const d = _(), u = Tl(), { commands: h } = q(), p = G((M) => M.spec.styles.overrides), g = G((M) => Re(M.spec)), m = hn(), v = mS(e), y = Q(), f = Fp(y, e.id), k = y.graph().get("textScale"), C = $(() => ({
11929
11925
  target: "annotation",
11930
11926
  kind: "differenceArrow",
11931
11927
  annotation: e.id
@@ -11959,10 +11955,10 @@ var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, l
11959
11955
  end: e.start.anchor
11960
11956
  }), N = (M) => () => E({ label: M }), V = (M) => () => {
11961
11957
  const H = In[M];
11962
- h.dispatch(new bh({
11958
+ h.dispatch(new yh({
11963
11959
  annotationId: e.id,
11964
11960
  arrow: z(H.arrow),
11965
- label: pp(A(H.label))
11961
+ label: gp(A(H.label))
11966
11962
  })), m.close();
11967
11963
  };
11968
11964
  return /* @__PURE__ */ b(X.Root, {
@@ -12095,7 +12091,7 @@ var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, l
12095
12091
  rejectObservation: (u) => {
12096
12092
  if (rr(u, s)) return !0;
12097
12093
  const h = a.find((p) => p.id === u.layerId);
12098
- return h !== void 0 && Bh(h, u, s);
12094
+ return h !== void 0 && zh(h, u, s);
12099
12095
  }
12100
12096
  });
12101
12097
  return d === null || d.type !== "snapped" || d.target.type !== "observation" ? null : d.target.point;
@@ -12105,7 +12101,7 @@ var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, l
12105
12101
  }
12106
12102
  readOwn(e) {
12107
12103
  const { endpoint: t, readInputs: n } = this.params;
12108
- return kl(J(e, "difference-arrow-endpoint-drag"), n().arrow.id, t);
12104
+ return Cl(J(e, "difference-arrow-endpoint-drag"), n().arrow.id, t);
12109
12105
  }
12110
12106
  resolvePreview(e) {
12111
12107
  const { endpoint: t, readInputs: n, engine: r, anchorResolver: a } = this.params, { arrow: i, panelOrigin: l, panelRect: s, layers: c, coordSystem: d } = n(), u = bS({
@@ -12183,14 +12179,14 @@ var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, l
12183
12179
  const { commands: t, anchorResolver: n } = q(), r = ue(), { layers: a, coordSystem: i, mainAxis: l } = G(Te((c) => ({
12184
12180
  layers: c.layers,
12185
12181
  coordSystem: c.coordSystem,
12186
- mainAxis: kp(c.coordSystem)
12182
+ mainAxis: Ap(c.coordSystem)
12187
12183
  }))), s = e.id;
12188
12184
  return W(() => () => {
12189
12185
  const c = r.getState();
12190
12186
  J(c, "difference-arrow-endpoint-drag")?.annotationId === s && c.releaseInteraction("difference-arrow-endpoint-drag");
12191
12187
  }, [r, s]), ve((c) => ({ onKeyDown: (d) => {
12192
12188
  if (d.altKey || d.ctrlKey || d.metaKey || d.shiftKey) return;
12193
- const u = r.getState(), h = kl(J(u, "difference-arrow-endpoint-drag"), e.id, c);
12189
+ const u = r.getState(), h = Cl(J(u, "difference-arrow-endpoint-drag"), e.id, c);
12194
12190
  if (wS.includes(d.key)) {
12195
12191
  if (d.preventDefault(), d.repeat) return;
12196
12192
  if (h === null) return u.claimInteraction({
@@ -12247,13 +12243,13 @@ var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, l
12247
12243
  const c = l.createLayerMeasurement(s);
12248
12244
  if (c === null) return null;
12249
12245
  const { align: d } = e[t].anchor;
12250
- return Gp({
12246
+ return $p({
12251
12247
  layer: s,
12252
12248
  from: n,
12253
12249
  partner: e[Id(t)].anchor,
12254
12250
  axis: r.axis,
12255
12251
  step: r.step,
12256
- getObservationPoint: (u, h) => zp({
12252
+ getObservationPoint: (u, h) => Hp({
12257
12253
  resolver: l,
12258
12254
  layer: s,
12259
12255
  observation: u,
@@ -12264,7 +12260,7 @@ var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, l
12264
12260
  })
12265
12261
  })?.point ?? null;
12266
12262
  }, AS = (e) => {
12267
- const t = zt(), n = Il(), r = ve((a) => {
12263
+ const t = zt(), n = Ll(), r = ve((a) => {
12268
12264
  const i = e.frameElement.querySelector('[data-testid="pointer-capture-layer"]');
12269
12265
  i !== null && i.dispatchEvent(new PointerEvent("pointerdown", {
12270
12266
  bubbles: !0,
@@ -12291,7 +12287,7 @@ var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, l
12291
12287
  }, a.id))]
12292
12288
  });
12293
12289
  }, TS = ({ annotationId: e, panelOrigin: t, ...n }) => {
12294
- const r = Il(), a = $(() => r.find((i) => i.id === e), [r, e]);
12290
+ const r = Ll(), a = $(() => r.find((i) => i.id === e), [r, e]);
12295
12291
  return a === void 0 ? null : /* @__PURE__ */ o(PS, {
12296
12292
  committedArrow: a.committedArrow,
12297
12293
  color: a.color,
@@ -12327,7 +12323,7 @@ var iS = 4, lS = 6, sS = uu.sm, cS = 3, dS = ({ textMeasurer: e, textScale: t, l
12327
12323
  top: s.y + a.y - 2,
12328
12324
  width: a.width + 4,
12329
12325
  height: a.height + 4,
12330
- borderRadius: gu(n, 2)
12326
+ borderRadius: fu(n, 2)
12331
12327
  }
12332
12328
  })]
12333
12329
  });
@@ -13151,7 +13147,7 @@ var QS = (e, t, n) => {
13151
13147
  }, t3 = ({ panelRect: e, frameRect: t, frameElement: n }) => {
13152
13148
  const r = zt(), a = G((d) => d.spec.annotations.stickers.find((u) => u.id === r)), i = Ce(e).stickers.find((d) => d.id === r), l = Q().graph().get("textScale"), s = ee((d) => J(d, "move-drag")?.annotationId === r);
13153
13149
  if (a === void 0 || i === void 0) return null;
13154
- const c = Gu(i, e, l);
13150
+ const c = Wu(i, e, l);
13155
13151
  return c === null ? null : /* @__PURE__ */ b("div", {
13156
13152
  "data-testid": "sticker-selection",
13157
13153
  "data-annotation-id": a.id,
@@ -13214,7 +13210,7 @@ var Hd = [
13214
13210
  ].map(({ id: e, key: t }) => ({
13215
13211
  id: e,
13216
13212
  key: t,
13217
- fontFamily: iu[e] ?? e
13213
+ fontFamily: cu[e] ?? e
13218
13214
  })), r3 = (e) => Hd.find((t) => t.id === (e ?? "modern")) ?? null;
13219
13215
  var Gd = [
13220
13216
  {
@@ -13257,7 +13253,7 @@ var Gd = [
13257
13253
  }), k = Xt({
13258
13254
  editor: y,
13259
13255
  selector: () => Zc(y)
13260
- }), C = r3(v.font ?? k), S = a3(v.fontSize ?? f), x = Wu(m), I = v.color ?? x, O = $(() => ({
13256
+ }), C = r3(v.font ?? k), S = a3(v.fontSize ?? f), x = Ku(m), I = v.color ?? x, O = $(() => ({
13261
13257
  target: "annotation",
13262
13258
  kind: "text",
13263
13259
  annotation: e.id
@@ -13392,7 +13388,7 @@ var Gd = [
13392
13388
  });
13393
13389
  }, s3 = (e) => e === "transparent" ? { fill: Hn } : {
13394
13390
  fill: e,
13395
- fillAlpha: u2(e) ? Dh : 1
13391
+ fillAlpha: u2(e) ? _h : 1
13396
13392
  }, c3 = ({ current: e, onPick: t }) => {
13397
13393
  const n = _(), r = (a) => () => t(a);
13398
13394
  return /* @__PURE__ */ o(ne, { children: i3.map((a) => /* @__PURE__ */ o(X.ToggleButton, {
@@ -13756,7 +13752,7 @@ var ji = [
13756
13752
  f || z();
13757
13753
  }), w = (M) => {
13758
13754
  if (!lt(M.target, e, a) || jt(M.target) || It(M.target, a) || bt(M.target) || d.getState().caret !== null || O3(M.target, e)) return;
13759
- if (Ml(M) !== null) {
13755
+ if (Il(M) !== null) {
13760
13756
  P();
13761
13757
  return;
13762
13758
  }
@@ -13927,7 +13923,7 @@ var ji = [
13927
13923
  let r = null;
13928
13924
  for (const a of e) {
13929
13925
  if (!a.interactive) continue;
13930
- const i = Rp(a.mapping);
13926
+ const i = Np(a.mapping);
13931
13927
  if (i === null) continue;
13932
13928
  const l = ns({
13933
13929
  layer: a,
@@ -13947,7 +13943,7 @@ var ji = [
13947
13943
  if (a === null) return null;
13948
13944
  const l = oe(t, a.layerId);
13949
13945
  if (l === void 0) return null;
13950
- const s = rn(a), c = i?.intersects !== !1, d = mp(l), u = c || !lp(n) ? [d] : ["xValue", d];
13946
+ const s = rn(a), c = i?.intersects !== !1, d = vp(l), u = c || !sp(n) ? [d] : ["xValue", d];
13951
13947
  for (const h of u) {
13952
13948
  const p = tt({
13953
13949
  layer: l,
@@ -14031,7 +14027,7 @@ var ji = [
14031
14027
  x: e.x - t.left,
14032
14028
  y: e.y - t.top
14033
14029
  }, { primary: s, intersection: c } = n.query(Ft(l, t), {
14034
- tolerance: Ll,
14030
+ tolerance: Ml,
14035
14031
  viewport: {
14036
14032
  width: t.width,
14037
14033
  height: t.height
@@ -14162,7 +14158,7 @@ var ji = [
14162
14158
  kind: "select-observations",
14163
14159
  target: e,
14164
14160
  observationIndex: n ? t : null
14165
- }, ew = `[${Su}], [${Br}="axis"], [${Br}="legend"]`, tw = (e, t, n, r) => {
14161
+ }, ew = `[${xu}], [${Br}="axis"], [${Br}="legend"]`, tw = (e, t, n, r) => {
14166
14162
  const { commands: a, history: i, selectionStore: l, store: s, anchorResolver: c } = q(), { engine: d } = De(), u = ue(), h = ke(), { selectGraphOnPress: p } = _e[h], g = ye(p), m = ye(h === zr.annotate), v = ye(h === zr.annotate), y = vr(t, e), f = St(t), k = ye(r), C = ae(null);
14167
14163
  W(() => () => C.current?.finish(!1), []), W(() => l.subscribe(({ selection: S }) => {
14168
14164
  const x = u.getState().pressedObservation, [I, ...O] = S, P = I !== void 0 && O.length === 0 && x !== null && Ra(I, x.selectedFor);
@@ -14177,7 +14173,7 @@ var ji = [
14177
14173
  const E = A.target.closest(yl);
14178
14174
  return E !== null && e.contains(E) && qn([A.target], e) === null;
14179
14175
  }, I = (A, E) => {
14180
- if (C.current !== null || !eh(y.current.spec, E.id)) return;
14176
+ if (C.current !== null || !nh(y.current.spec, E.id)) return;
14181
14177
  try {
14182
14178
  e.setPointerCapture(A.pointerId);
14183
14179
  } catch {
@@ -14203,7 +14199,7 @@ var ji = [
14203
14199
  });
14204
14200
  C.current = T, T.start();
14205
14201
  }, O = (A, E) => {
14206
- const T = l.getState(), { layers: L, config: w, coordSystem: N } = s.getState().scene, V = E.kind === "select-observations" && E.observationIndex !== null ? Qu(E.observationIndex, L, E.target, w.parsingLocale) : null;
14202
+ const T = l.getState(), { layers: L, config: w, coordSystem: N } = s.getState().scene, V = E.kind === "select-observations" && E.observationIndex !== null ? eh(E.observationIndex, L, E.target, w.parsingLocale) : null;
14207
14203
  if (u.getState().setPressedObservation(V), m.current && (E.kind === "select-observations" || E.kind === "select-band")) {
14208
14204
  const M = oe(L, E.target.layerId);
14209
14205
  if (M !== void 0 && wy(M.geom, N.type)) {
@@ -14229,7 +14225,7 @@ var ji = [
14229
14225
  T.clearSelection();
14230
14226
  return;
14231
14227
  default:
14232
- throw new hh({ message: `No press outcome for: ${JSON.stringify(E)}` });
14228
+ throw new ph({ message: `No press outcome for: ${JSON.stringify(E)}` });
14233
14229
  }
14234
14230
  }, P = (A) => {
14235
14231
  if (A.button !== 0) return;
@@ -14271,7 +14267,7 @@ var ji = [
14271
14267
  kind: "arrow",
14272
14268
  annotation: {
14273
14269
  ...Nl,
14274
- ...Uu(w.heads),
14270
+ ...Xu(w.heads),
14275
14271
  start: {
14276
14272
  anchorType: "panel",
14277
14273
  x: w.start.x,
@@ -14580,7 +14576,7 @@ var ji = [
14580
14576
  };
14581
14577
  }, [e]);
14582
14578
  }, pw = ({ frameElement: e, panelRect: t, formattedAxes: n }) => {
14583
- const { measureRef: r, screenRect: a } = Pu(), { selectionStore: i, store: l, history: s } = q(), c = ue(), d = St(t), u = ae(() => {
14579
+ const { measureRef: r, screenRect: a } = Iu(), { selectionStore: i, store: l, history: s } = q(), c = ue(), d = St(t), u = ae(() => {
14584
14580
  });
14585
14581
  W(() => {
14586
14582
  u.current = () => {
@@ -14672,7 +14668,7 @@ var ji = [
14672
14668
  /* @__PURE__ */ o(Dy, { frameRect: t }),
14673
14669
  /* @__PURE__ */ o(L0, {
14674
14670
  rect: t,
14675
- zIndex: Ou.editorOverlay,
14671
+ zIndex: oh.editorOverlay,
14676
14672
  container: i,
14677
14673
  "data-testid": "editor-overlay",
14678
14674
  boxRef: a,
@@ -14726,7 +14722,7 @@ var ji = [
14726
14722
  ] })
14727
14723
  })
14728
14724
  ] });
14729
- }, fw = {}, F6 = ({ slots: e, palettePresets: t = fw, editMenus: n, ...r }) => {
14725
+ }, fw = {}, _6 = ({ slots: e, palettePresets: t = fw, editMenus: n, ...r }) => {
14730
14726
  const a = gl(Yn()), i = ke(), l = $(() => ({
14731
14727
  EditorSurface: pw,
14732
14728
  ...e
@@ -14735,11 +14731,11 @@ var ji = [
14735
14731
  ...a,
14736
14732
  children: /* @__PURE__ */ o(Nf, {
14737
14733
  editMenus: n,
14738
- children: /* @__PURE__ */ o(zu, { children: /* @__PURE__ */ o(l1, {
14734
+ children: /* @__PURE__ */ o($u, { children: /* @__PURE__ */ o(l1, {
14739
14735
  value: t,
14740
- children: /* @__PURE__ */ o(Xu, {
14736
+ children: /* @__PURE__ */ o(ju, {
14741
14737
  editors: T0(i),
14742
- children: /* @__PURE__ */ o(ju, {
14738
+ children: /* @__PURE__ */ o(qu, {
14743
14739
  slots: l,
14744
14740
  ...r
14745
14741
  })
@@ -14768,12 +14764,12 @@ function Aw(e) {
14768
14764
  }
14769
14765
  var Tw = () => () => {
14770
14766
  }, Pw = (e) => {
14771
- const t = Wp(e?.subscribe ?? Tw, () => e?.getScene()?.config.parsingLocale);
14767
+ const t = Up(e?.subscribe ?? Tw, () => e?.getScene()?.config.parsingLocale);
14772
14768
  return e?.formattingLocale ?? t;
14773
14769
  }, Lw = (e) => {
14774
- const t = Ae($u), n = gl(Pw(Qt(e.handle))), r = fu();
14770
+ const t = Ae(Zu), n = gl(Pw(Qt(e.handle))), r = Su();
14775
14771
  let a = /* @__PURE__ */ o(Iw, { ...e });
14776
- return !r && t && (a = /* @__PURE__ */ o(vu, {
14772
+ return !r && t && (a = /* @__PURE__ */ o(yu, {
14777
14773
  colorScheme: t.colorScheme,
14778
14774
  children: a
14779
14775
  })), /* @__PURE__ */ o(Nc, {
@@ -14805,7 +14801,7 @@ var Tw = () => () => {
14805
14801
  })
14806
14802
  })
14807
14803
  });
14808
- }, Mw = "_2m7wuq0", B6 = () => /* @__PURE__ */ o(pg, { className: Mw }), Ow = (e) => /* @__PURE__ */ o(D, {
14804
+ }, Mw = "_2m7wuq0", F6 = () => /* @__PURE__ */ o(pg, { className: Mw }), Ow = (e) => /* @__PURE__ */ o(D, {
14809
14805
  ...e,
14810
14806
  children: /* @__PURE__ */ o("g", {
14811
14807
  stroke: "currentColor",
@@ -14947,7 +14943,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
14947
14943
  label: ge(Ct)
14948
14944
  })), P = i.guides.axes.find((B) => B.scaledAesthetic === e);
14949
14945
  if (P === void 0) return null;
14950
- const z = P.position, A = i.guides.axes.filter((B) => B.scaledAesthetic === e), E = A.some((B) => B.visible), T = A.some((B) => B.visible || B.showGrid), L = e === "ySecondary" ? i.config.axes.ySecondary?.label ?? P.label ?? "" : i.config.axes[e].label ?? P.label ?? "", w = zw[z === "bottom" || z === "top" ? "horizontal" : "vertical"], N = e === "y" ? bp(i.spec) : null, V = N === null ? void 0 : oe(i.spec.layers, N), M = i.guides.legends.drawn.some((B) => !B.inHeadlineRow && w.some((ge) => ge === B.position)), H = w.map((B) => ({
14946
+ const z = P.position, A = i.guides.axes.filter((B) => B.scaledAesthetic === e), E = A.some((B) => B.visible), T = A.some((B) => B.visible || B.showGrid), L = e === "ySecondary" ? i.config.axes.ySecondary?.label ?? P.label ?? "" : i.config.axes[e].label ?? P.label ?? "", w = zw[z === "bottom" || z === "top" ? "horizontal" : "vertical"], N = e === "y" ? yp(i.spec) : null, V = N === null ? void 0 : oe(i.spec.layers, N), M = i.guides.legends.drawn.some((B) => !B.inHeadlineRow && w.some((ge) => ge === B.position)), H = w.map((B) => ({
14951
14947
  value: B,
14952
14948
  label: l(Hw[B])
14953
14949
  })), Z = O(["auto", "edges"], (B) => l(B === "edges" ? "editor.axesPanel.labelMode.edges" : "editor.axesPanel.labelMode.auto")), se = O(["linear", "log"], (B) => l(B === "log" ? "editor.axesPanel.scale.log" : "editor.axesPanel.scale.auto")), F = O(y ? ["auto", "custom"] : [
@@ -15050,7 +15046,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15050
15046
  domainMax: ge
15051
15047
  }));
15052
15048
  }, K = (B) => {
15053
- V !== void 0 && a.commands.dispatch(new Ch({
15049
+ V !== void 0 && a.commands.dispatch(new kh({
15054
15050
  layerId: V.id,
15055
15051
  yScaleType: B === "double" ? "secondary" : "primary"
15056
15052
  }));
@@ -15264,7 +15260,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15264
15260
  }, Xw = ({ source: e }) => {
15265
15261
  const t = he(), n = _(), { TextField: r } = j(), a = (c) => {
15266
15262
  const d = (c.label ?? "") !== "" || (c.url ?? "") !== "";
15267
- t.commands.dispatch(new fh({ source: d ? c : null }), { transient: !0 });
15263
+ t.commands.dispatch(new bh({ source: d ? c : null }), { transient: !0 });
15268
15264
  }, i = () => {
15269
15265
  const c = e.url ?? "";
15270
15266
  c !== "" && !rl.test(c) && a({
@@ -15284,7 +15280,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15284
15280
  value: e.url ?? "",
15285
15281
  onChange: l,
15286
15282
  onCommit: i,
15287
- hasError: rl.test(e.url ?? "") && !hp(e.url)
15283
+ hasError: rl.test(e.url ?? "") && !pp(e.url)
15288
15284
  })
15289
15285
  }), /* @__PURE__ */ o(R, {
15290
15286
  label: n("editor.elementsPanel.sourceSection.name"),
@@ -15321,7 +15317,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15321
15317
  })] })
15322
15318
  });
15323
15319
  }, gn = (e) => {
15324
- const { colorScheme: t } = Zn(), n = $(() => Xh({ colorScheme: t }), [t]);
15320
+ const { colorScheme: t } = Zn(), n = $(() => jh({ colorScheme: t }), [t]);
15325
15321
  return $(() => e === null ? null : n.readers(e), [e, n]);
15326
15322
  }, bo = (e, t, n) => {
15327
15323
  const r = gn(e);
@@ -15405,7 +15401,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15405
15401
  onChange: d
15406
15402
  })] })
15407
15403
  });
15408
- }, z6 = ({ children: e, ...t }) => /* @__PURE__ */ o(jd.Root, {
15404
+ }, B6 = ({ children: e, ...t }) => /* @__PURE__ */ o(jd.Root, {
15409
15405
  ...t,
15410
15406
  children: e ?? /* @__PURE__ */ b(ne, { children: [
15411
15407
  /* @__PURE__ */ o(Jw, {}),
@@ -15414,17 +15410,17 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15414
15410
  /* @__PURE__ */ o(Kw, {}),
15415
15411
  /* @__PURE__ */ o(Zw, {})
15416
15412
  ] })
15417
- }), H6 = ({ children: e, ...t }) => /* @__PURE__ */ o(jd.Root, {
15413
+ }), z6 = ({ children: e, ...t }) => /* @__PURE__ */ o(jd.Root, {
15418
15414
  ...t,
15419
15415
  children: e ?? /* @__PURE__ */ b(ne, { children: [
15420
15416
  /* @__PURE__ */ o(Dr, { axis: "x" }),
15421
15417
  /* @__PURE__ */ o(Dr, { axis: "y" }),
15422
15418
  /* @__PURE__ */ o(Dr, { axis: "ySecondary" })
15423
15419
  ] })
15424
- }), br = (e) => `${e}px`, Jd = (e) => `${Math.round(e * 100)}%`, Qw = (e) => `${e}°`, ex = 24, tx = { select: { target: "graph" } }, al = ["dim", "desaturate"], G6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15420
+ }), br = (e) => `${e}px`, Jd = (e) => `${Math.round(e * 100)}%`, Qw = (e) => `${e}°`, ex = 24, tx = { select: { target: "graph" } }, al = ["dim", "desaturate"], H6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15425
15421
  const r = he(), a = ce(r), i = _(), { Slider: l, ToggleGroup: s } = j(), c = gn(a);
15426
15422
  if (!a || !c) return null;
15427
- const d = c.graph().get("cornerRadius"), u = Cp(a.spec), h = al.map((m) => ({
15423
+ const d = c.graph().get("cornerRadius"), u = kp(a.spec), h = al.map((m) => ({
15428
15424
  value: m,
15429
15425
  label: i(m === "dim" ? "editor.highlighting.highlightStyle.tint" : "editor.highlighting.highlightStyle.gray")
15430
15426
  })), p = (m) => {
@@ -15441,7 +15437,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15441
15437
  }), { transient: !0 });
15442
15438
  }, g = (m) => {
15443
15439
  const v = al.find((y) => y === m);
15444
- v && r.commands.dispatch(new xh({ dimStyle: v }));
15440
+ v && r.commands.dispatch(new Ch({ dimStyle: v }));
15445
15441
  };
15446
15442
  return /* @__PURE__ */ o(be, {
15447
15443
  title: e ?? i("editor.colorPanel.appearanceSection.title"),
@@ -15490,7 +15486,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15490
15486
  ], Qd = {
15491
15487
  base: ["baseStart", "baseEnd"],
15492
15488
  tip: ["tipStart", "tipEnd"]
15493
- }, $6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15489
+ }, G6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15494
15490
  const r = he(), a = ce(r), i = _(), { Slider: l, ToggleGroup: s } = j(), c = a ? ls(a.spec.layers, "bar") : void 0, d = bo(a, c?.id ?? null, "bar");
15495
15491
  if (!a || !c || a.coordSystem.type === "polar" && a.coordSystem.bandAxis === null) return null;
15496
15492
  const u = (v) => {
@@ -15498,11 +15494,11 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15498
15494
  layerId: c.id,
15499
15495
  width: v
15500
15496
  }), { transient: !0 });
15501
- }, h = d?.get("cornerRadius") ?? ch, p = (v, y) => {
15497
+ }, h = d?.get("cornerRadius") ?? dh, p = (v, y) => {
15502
15498
  const f = ol.find((S) => S === y);
15503
15499
  if (!f) return;
15504
15500
  const [k, C] = Qd[v];
15505
- r.commands.dispatch(new vh({
15501
+ r.commands.dispatch(new fh({
15506
15502
  layerId: c.id,
15507
15503
  corners: {
15508
15504
  ...h,
@@ -15524,8 +15520,8 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15524
15520
  label: i("editor.graphPanel.barSection.thickness"),
15525
15521
  children: /* @__PURE__ */ o(l, {
15526
15522
  value: m,
15527
- min: gh,
15528
- max: ph,
15523
+ min: mh,
15524
+ max: gh,
15529
15525
  step: ax,
15530
15526
  formatValue: Jd,
15531
15527
  onChange: u,
@@ -15638,7 +15634,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15638
15634
  }, gx = {
15639
15635
  x: 0.6,
15640
15636
  y: 0.4
15641
- }, mx = "relativeDifference", V6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15637
+ }, mx = "relativeDifference", $6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15642
15638
  const r = he(), a = ce(r), i = _(), { Button: l } = j();
15643
15639
  if (!a) return null;
15644
15640
  const s = () => {
@@ -15682,7 +15678,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15682
15678
  }
15683
15679
  }));
15684
15680
  }, u = () => {
15685
- const p = sp(a);
15681
+ const p = cp(a);
15686
15682
  p !== null && r.commands.dispatch(new Le({
15687
15683
  kind: "differenceArrow",
15688
15684
  annotation: {
@@ -15732,7 +15728,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15732
15728
  text: e
15733
15729
  }]
15734
15730
  }]
15735
- }), W6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15731
+ }), V6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15736
15732
  const r = he(), a = ce(r), i = _(), { ToggleGroup: l } = j();
15737
15733
  if (!a) return null;
15738
15734
  const s = ir(a.spec);
@@ -15758,11 +15754,11 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15758
15754
  ariaLabel: i("editor.graphPanel.comboSection.title")
15759
15755
  })
15760
15756
  });
15761
- }, fx = 0.1, bx = 20, U6 = ({ title: e, preview: t }) => {
15757
+ }, fx = 0.1, bx = 20, W6 = ({ title: e, preview: t }) => {
15762
15758
  const n = he(), r = ce(n), a = _(), { NumberField: i, TextField: l } = j();
15763
15759
  if (!r || r.coordSystem.type === "polar") return null;
15764
- const s = Zh(r.spec.layers), c = e ?? a("editor.annotationsPanel.goalSection.title"), d = Sp(s?.mapping.y), u = typeof d == "number" ? d : null, h = (m) => {
15765
- const v = new _h({
15760
+ const s = Jh(r.spec.layers), c = e ?? a("editor.annotationsPanel.goalSection.title"), d = wp(s?.mapping.y), u = typeof d == "number" ? d : null, h = (m) => {
15761
+ const v = new Fh({
15766
15762
  showGoalLine: m,
15767
15763
  value: yx(r),
15768
15764
  ...s !== void 0 && { layerId: s.id }
@@ -15770,14 +15766,14 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15770
15766
  n.commands.dispatch(v);
15771
15767
  }, p = (m) => {
15772
15768
  if (s === void 0) return;
15773
- const v = new Eh({
15769
+ const v = new Rh({
15774
15770
  layerId: s.id,
15775
15771
  label: m === "" ? null : m
15776
15772
  });
15777
15773
  n.commands.dispatch(v, { transient: !0 });
15778
15774
  }, g = (m) => {
15779
15775
  if (s === void 0 || m === null) return;
15780
- const v = new Rh({
15776
+ const v = new Nh({
15781
15777
  layerId: s.id,
15782
15778
  value: m
15783
15779
  });
@@ -15819,7 +15815,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15819
15815
  "auto",
15820
15816
  "inside",
15821
15817
  "outside"
15822
- ], K6 = ({ layerId: e, title: t, layout: n = "collapsible", preview: r }) => {
15818
+ ], U6 = ({ layerId: e, title: t, layout: n = "collapsible", preview: r }) => {
15823
15819
  const a = he(), i = ce(a), l = _(), { Switch: s, ToggleGroup: c } = j();
15824
15820
  if (!i) return null;
15825
15821
  const d = e === void 0 ? i.layers[0] : oe(i.layers, e);
@@ -15906,7 +15902,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15906
15902
  })
15907
15903
  ] })
15908
15904
  });
15909
- }, Sx = 3, X6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15905
+ }, Sx = 3, K6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15910
15906
  const r = he(), a = ce(r), i = _(), { RadioGrid: l } = j(), s = $(() => qt.map(({ name: h, icon: p, summary: g }) => ({
15911
15907
  value: h,
15912
15908
  label: i(`editor.graphTypes.${h}`),
@@ -15930,7 +15926,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15930
15926
  ariaLabel: i("editor.graphPanel.graphTypeSection.title")
15931
15927
  })
15932
15928
  });
15933
- }, j6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15929
+ }, X6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15934
15930
  const r = he(), a = ce(r), i = _(), { Slider: l, Switch: s, ToggleGroup: c } = j(), d = gn(a), u = a !== null && d !== null ? nc(a, d) : null;
15935
15931
  if (u === null) return null;
15936
15932
  const h = u.axes.filter((f) => f.supportsGrid);
@@ -15988,7 +15984,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
15988
15984
  "small",
15989
15985
  "medium",
15990
15986
  "large"
15991
- ], q6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15987
+ ], j6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
15992
15988
  const r = he(), a = ce(r), i = _(), { Switch: l, ToggleGroup: s } = j();
15993
15989
  if (!a) return null;
15994
15990
  const c = a.config.headline, d = c.show !== "none", u = a.coordSystem, h = u.type === "polar", p = u.type === "polar" && u.innerRadius > 0, g = a.layers.some((A) => A.summary.grandTotal !== void 0);
@@ -16015,12 +16011,12 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
16015
16011
  E && r.commands.dispatch(new Po({ show: E }));
16016
16012
  }, O = (A) => {
16017
16013
  const E = sl.find((T) => T === A);
16018
- E && r.commands.dispatch(new yh({ compareWith: E }));
16014
+ E && r.commands.dispatch(new Sh({ compareWith: E }));
16019
16015
  }, P = (A) => {
16020
16016
  const E = cl.find((T) => T === A);
16021
- E && r.commands.dispatch(new wh({ size: E }));
16017
+ E && r.commands.dispatch(new xh({ size: E }));
16022
16018
  }, z = (A) => {
16023
- r.commands.dispatch(new Sh({ position: A === "center" ? "center" : "above" }));
16019
+ r.commands.dispatch(new wh({ position: A === "center" ? "center" : "above" }));
16024
16020
  };
16025
16021
  return /* @__PURE__ */ o(be, {
16026
16022
  title: e ?? i("editor.graphPanel.headlineNumberSection.title"),
@@ -16046,7 +16042,7 @@ var Dw = "_40zvwv8", be = ({ title: e, layout: t = "fixed", preview: n, accessor
16046
16042
  label: i("editor.graphPanel.headlineNumberSection.compareWithLabel"),
16047
16043
  layout: "stack",
16048
16044
  children: /* @__PURE__ */ o(s, {
16049
- value: Dp(c.compareWith),
16045
+ value: _p(c.compareWith),
16050
16046
  options: k,
16051
16047
  onChange: O
16052
16048
  })
@@ -16097,10 +16093,10 @@ var Fr = [
16097
16093
  "auto",
16098
16094
  "pill",
16099
16095
  "direct"
16100
- ], Y6 = ({ positions: e, title: t, layout: n = "collapsible", preview: r }) => {
16096
+ ], q6 = ({ positions: e, title: t, layout: n = "collapsible", preview: r }) => {
16101
16097
  const a = he(), i = ce(a), l = _(), { ToggleGroup: s } = j(), c = bl();
16102
16098
  if (!i) return null;
16103
- const d = i.config.legend.position, u = e ?? Fr, h = i.guides.legends.drawn[0], p = Gh({
16099
+ const d = i.config.legend.position, u = e ?? Fr, h = i.guides.legends.drawn[0], p = $h({
16104
16100
  legendPosition: i.guides.legends.position,
16105
16101
  coordSystem: i.coordSystem,
16106
16102
  layers: i.layers
@@ -16114,10 +16110,10 @@ var Fr = [
16114
16110
  w && a.commands.dispatch(new Vr({ position: w }));
16115
16111
  }, C = (L) => {
16116
16112
  const w = dl.find((N) => N === L);
16117
- w && a.commands.dispatch(new kh({ align: w }));
16113
+ w && a.commands.dispatch(new Ah({ align: w }));
16118
16114
  }, S = (L) => {
16119
16115
  const w = ul.find((N) => N === L);
16120
- w && a.commands.dispatch(new Ah({ display: w }));
16116
+ w && a.commands.dispatch(new Th({ display: w }));
16121
16117
  }, x = h?.position === "left" || h?.position === "right" ? "column" : "row", I = x === "row" ? "ltr" : c, O = (L) => l(L === "start" || L === "end" ? `editor.graphPanel.legendSection.${Ax[x][L]}` : `editor.graphPanel.legendSection.align.${L}`), P = dl.map((L) => ({
16122
16118
  value: L,
16123
16119
  label: O(L)
@@ -16197,7 +16193,7 @@ var Fr = [
16197
16193
  }));
16198
16194
  }
16199
16195
  }) : null;
16200
- }, Z6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
16196
+ }, Y6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
16201
16197
  const r = he(), a = ce(r), i = _(), { Select: l, Slider: s, Switch: c, ToggleGroup: d } = j(), u = gn(a), h = ls(a?.spec.layers ?? [], "line", "area"), p = a && u && h ? Ua(a, u, h.id) : null;
16202
16198
  if (!a || !p) return null;
16203
16199
  const g = p.missingValueOptions.map((x) => ({
@@ -16316,16 +16312,16 @@ var Fr = [
16316
16312
  color: "editor.graphPanel.mappingSection.color",
16317
16313
  size: "editor.graphPanel.mappingSection.size",
16318
16314
  label: "editor.graphPanel.mappingSection.label"
16319
- }, J6 = ({ title: e, layout: t = "collapsible" }) => {
16320
- const n = he(), r = ce(n), a = _(), { Select: i } = j(), l = a("editor.graphPanel.mappingSection.none"), s = r?.spec, c = $(() => s === void 0 ? [] : Ap(s, Ix).map(({ aesthetic: d, variables: u, required: h }) => {
16321
- const p = Tp(s.mapping, d);
16315
+ }, Z6 = ({ title: e, layout: t = "collapsible" }) => {
16316
+ const n = he(), r = ce(n), a = _(), { Select: i } = j(), l = a("editor.graphPanel.mappingSection.none"), s = r?.spec, c = $(() => s === void 0 ? [] : Tp(s, Ix).map(({ aesthetic: d, variables: u, required: h }) => {
16317
+ const p = Pp(s.mapping, d);
16322
16318
  return {
16323
16319
  aesthetic: d,
16324
16320
  label: a(Mx[d]),
16325
16321
  value: p ?? (h ? null : ba),
16326
16322
  options: Ox(u, p, h ? null : l),
16327
16323
  chooseColumn: (g) => {
16328
- n.commands.dispatch(new Ph({
16324
+ n.commands.dispatch(new Lh({
16329
16325
  aesthetic: d,
16330
16326
  variable: g === ba ? null : g
16331
16327
  }));
@@ -16372,7 +16368,7 @@ var Fr = [
16372
16368
  value: "b",
16373
16369
  labelKey: "billions"
16374
16370
  }
16375
- ], _x = ["auto", "none"], Q6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
16371
+ ], _x = ["auto", "none"], J6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
16376
16372
  const r = he(), a = ce(r), i = _(), { NumberField: l, ToggleGroup: s } = j();
16377
16373
  if (!a) return null;
16378
16374
  const { abbreviation: c, decimals: d } = a.config.numberFormat, u = Fx(c) !== void 0, h = d !== "auto", p = (C) => C.map((S) => ({
@@ -16382,7 +16378,7 @@ var Fr = [
16382
16378
  value: C,
16383
16379
  label: i(`common.abbreviations.${S}`)
16384
16380
  })), m = (C) => {
16385
- r.commands.dispatch(new Lh({ abbreviation: C }));
16381
+ r.commands.dispatch(new Ih({ abbreviation: C }));
16386
16382
  }, v = (C) => {
16387
16383
  const S = _x.find((x) => x === C);
16388
16384
  m(S ?? Ex);
@@ -16439,7 +16435,7 @@ var Fr = [
16439
16435
  })
16440
16436
  ] })
16441
16437
  });
16442
- }, Fx = (e) => ya.find((t) => t.value === e), e7 = ({ title: e, layout: t = "collapsible", preview: n }) => {
16438
+ }, Fx = (e) => ya.find((t) => t.value === e), Q6 = ({ title: e, layout: t = "collapsible", preview: n }) => {
16443
16439
  const r = ce(he()), a = _();
16444
16440
  if (!r) return null;
16445
16441
  const i = Bx(r.spec.layers);
@@ -16455,13 +16451,13 @@ var Fr = [
16455
16451
  }, Bx = (e) => {
16456
16452
  const t = Ur(e, "line", "area");
16457
16453
  return Ur(e, "point").find((n) => !cs(n, t));
16458
- }, zx = 0.9, Hx = 360, Gx = 0.05, $x = 15, t7 = ({ title: e, layout: t = "collapsible", preview: n }) => {
16454
+ }, zx = 0.9, Hx = 360, Gx = 0.05, $x = 15, e7 = ({ title: e, layout: t = "collapsible", preview: n }) => {
16459
16455
  const r = he(), a = ce(r), i = _(), { Slider: l } = j();
16460
16456
  if (!a || a.spec.coords.coordType !== "polar") return null;
16461
16457
  const { innerRadius: s, startAngle: c } = a.spec.coords.params, d = (h) => {
16462
- r.commands.dispatch(new Mh({ innerRadius: h }), { transient: !0 });
16458
+ r.commands.dispatch(new Oh({ innerRadius: h }), { transient: !0 });
16463
16459
  }, u = (h) => {
16464
- r.commands.dispatch(new Oh({ startAngle: h }), { transient: !0 });
16460
+ r.commands.dispatch(new Eh({ startAngle: h }), { transient: !0 });
16465
16461
  };
16466
16462
  return /* @__PURE__ */ o(be, {
16467
16463
  title: e ?? i("editor.graphPanel.polarSection.title"),
@@ -16545,14 +16541,14 @@ var Fr = [
16545
16541
  "logarithmic",
16546
16542
  "power",
16547
16543
  "loess"
16548
- ], Wx = "linear", n7 = ({ title: e, layout: t = "collapsible", preview: n }) => {
16544
+ ], Wx = "linear", t7 = ({ title: e, layout: t = "collapsible", preview: n }) => {
16549
16545
  const r = he(), a = ce(r), i = _(), { Select: l, Switch: s } = j(), { options: c, findValue: d } = gr(a, r.formattingLocale);
16550
16546
  if (!a || a.coordSystem.type === "polar") return null;
16551
- const u = np(a.spec.layers), h = Yh(a.spec.layers), p = u?.stat.type === "smooth" ? u.stat.method : Wx, g = Ux(h), m = pl.map((S) => ({
16547
+ const u = rp(a.spec.layers), h = Zh(a.spec.layers), p = u?.stat.type === "smooth" ? u.stat.method : Wx, g = Ux(h), m = pl.map((S) => ({
16552
16548
  value: S,
16553
16549
  label: i(`editor.annotationsPanel.trendType.options.${S}`)
16554
16550
  })), v = (S, x = {}) => {
16555
- const I = u ?? h, O = new Nh({
16551
+ const I = u ?? h, O = new Dh({
16556
16552
  line: S,
16557
16553
  ...x,
16558
16554
  ...I !== void 0 && { layerId: I.id },
@@ -16613,51 +16609,51 @@ var Fr = [
16613
16609
  return t instanceof Date ? t.getTime() : t;
16614
16610
  };
16615
16611
  export {
16616
- G6 as AppearanceSection,
16617
- H6 as AxesPanel,
16612
+ H6 as AppearanceSection,
16613
+ z6 as AxesPanel,
16618
16614
  _s as AxisEditMenu,
16619
16615
  Dr as AxisSection,
16620
16616
  zs as BarEditMenu,
16621
- $6 as BarSection,
16617
+ G6 as BarSection,
16622
16618
  Pg as Button,
16623
- V6 as CalloutsSection,
16619
+ $6 as CalloutsSection,
16624
16620
  Ww as CaptionSection,
16625
16621
  Qs as ChartEditMenu,
16626
16622
  et as ColorRow,
16627
16623
  Dg as ColorSwatches,
16628
- W6 as ComboSection,
16624
+ V6 as ComboSection,
16629
16625
  Jm as ControlRegistryProvider,
16630
16626
  Qe as ControlTooltip,
16631
16627
  Yg as CustomColor,
16632
16628
  Qg as DateField,
16633
- F6 as EditableGraphRenderer,
16629
+ _6 as EditableGraphRenderer,
16634
16630
  Nc as EditorIntlProvider,
16635
16631
  jd as EditorPanel,
16636
- z6 as ElementsPanel,
16632
+ B6 as ElementsPanel,
16637
16633
  om as FileInput,
16638
- U6 as GoalSection,
16639
- K6 as GraphOptionsSection,
16640
- X6 as GraphTypeSection,
16634
+ W6 as GoalSection,
16635
+ U6 as GraphOptionsSection,
16636
+ K6 as GraphTypeSection,
16641
16637
  oc as GridEditMenu,
16642
- j6 as GridSection,
16643
- q6 as HeadlineSection,
16638
+ X6 as GridSection,
16639
+ j6 as HeadlineSection,
16644
16640
  k1 as LegendEditMenu,
16645
- Y6 as LegendSection,
16641
+ q6 as LegendSection,
16646
16642
  na as LineEditMenu,
16647
- Z6 as LineSection,
16648
- J6 as MappingSection,
16643
+ Y6 as LineSection,
16644
+ Z6 as MappingSection,
16649
16645
  cm as NumberField,
16650
- Q6 as NumberFormatSection,
16646
+ J6 as NumberFormatSection,
16651
16647
  Cw as PANEL_ROOT_ATTRIBUTE,
16652
16648
  u1 as PaletteRow,
16653
16649
  Mc as PointEditMenu,
16654
- e7 as PointSection,
16655
- t7 as PolarSection,
16650
+ Q6 as PointSection,
16651
+ e7 as PolarSection,
16656
16652
  pm as RadioGrid,
16657
16653
  R as Row,
16658
16654
  be as Section,
16659
16655
  xm as Select,
16660
- B6 as Separator,
16656
+ F6 as Separator,
16661
16657
  Om as Slider,
16662
16658
  Kw as SourceSection,
16663
16659
  Hm as Stepper,
@@ -16668,7 +16664,7 @@ export {
16668
16664
  Jw as TitleSection,
16669
16665
  Ns as ToggleGroup,
16670
16666
  Bw as ToggledSection,
16671
- n7 as TrendsAndAveragesSection,
16667
+ t7 as TrendsAndAveragesSection,
16672
16668
  gg as useAnnotateAnchor,
16673
16669
  j as useControls,
16674
16670
  ww as usePanelExpansion,