@sheetxl/react 0.7.14 → 0.7.15

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.14
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.15
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -16,15 +16,14 @@ import { mergeRefs as ze } from "react-merge-refs";
16
16
  import { useMeasure as Fe } from "react-use";
17
17
  import De from "clsx";
18
18
  import { unstable_batchedUpdates as Ie, createPortal as Ee } from "react-dom";
19
- import { useForkRef as He } from "rooks";
20
- import { sortableKeyboardCoordinates as Ne, arrayMove as Pe, rectSortingStrategy as Ve, SortableContext as Le, useSortable as Be, horizontalListSortingStrategy as Oe } from "@dnd-kit/sortable";
21
- import { restrictToHorizontalAxis as $e } from "@dnd-kit/modifiers";
22
- import { closestCenter as We, defaultDropAnimation as Ue, useSensors as _e, useSensor as Ge, MouseSensor as Ze, TouchSensor as je, KeyboardSensor as Ke, DndContext as Xe, DragOverlay as Ye } from "@dnd-kit/core";
23
- const Je = re((e2) => {
19
+ import { sortableKeyboardCoordinates as He, arrayMove as Ne, rectSortingStrategy as Pe, SortableContext as Ve, useSortable as Le, horizontalListSortingStrategy as Be } from "@dnd-kit/sortable";
20
+ import { restrictToHorizontalAxis as Oe } from "@dnd-kit/modifiers";
21
+ import { closestCenter as $e, defaultDropAnimation as We, useSensors as Ue, useSensor as _e, MouseSensor as Ge, TouchSensor as Ze, KeyboardSensor as je, DndContext as Ke, DragOverlay as Xe } from "@dnd-kit/core";
22
+ const Ye = re((e2) => {
24
23
  const { anchorLocation: t2 = Q.TopLeft, cellWidth: o2, cellHeight: n2, size: l2 = 7, inset: r2 = 1, darkMode: i2, fill: a2, pathProps: s2, style: d2, ...c2 } = e2, g2 = l2, u2 = r2;
25
24
  let h2 = "red", m2 = [], p2 = [];
26
25
  return t2 === Q.TopLeft ? (h2 = i2 ? "rgb(255, 198, 246)" : "green", m2.push(u2), p2.push(u2), m2.push(u2 + g2), p2.push(u2), m2.push(u2), p2.push(u2 + g2)) : t2 === Q.TopRight ? (h2 = i2 ? "rgb(0, 255, 255)" : "red", m2.push(o2 - u2), p2.push(u2), m2.push(o2 - (u2 + g2)), p2.push(u2), m2.push(o2 - u2), p2.push(u2 + g2)) : t2 === Q.BottomRight ? (h2 = i2 ? "rgb(236, 252, 211)" : "purple", m2.push(o2 - u2), p2.push(n2 - u2), m2.push(o2 - (u2 + g2)), p2.push(n2 - u2), m2.push(o2 - u2), p2.push(n2 - (u2 + g2))) : t2 === Q.BottomLeft && (h2 = i2 ? "rgb(255, 236, 183)" : "blue", m2.push(u2), p2.push(n2 - u2), m2.push(u2 + g2), p2.push(n2 - u2), m2.push(u2), p2.push(n2 - (u2 + g2))), X("svg", { width: `${o2}`, height: `${n2}`, viewBox: `0 0 ${o2} ${n2}`, style: { position: "absolute", width: `${o2}px`, height: `${n2}px`, pointerEvents: "none", ...d2 }, ...c2, children: X("path", { d: `M ${m2[0]} ${p2[0]} L ${m2[1]} ${p2[1]} L ${m2[2]} ${p2[2]} L ${m2[0]} ${p2[0]} Z`, fill: a2 ?? h2, ...s2 }) });
27
- }), Qe = (e2) => {
26
+ }), Je = (e2) => {
28
27
  const { renderBounds: t2, darkMode: o2, zoom: n2, disabled: l2, filter: r2, onFilterButtonMouseDown: i2, style: a2, ...s2 } = e2, d2 = ie(() => {
29
28
  let e3 = null;
30
29
  const t3 = r2.getSortField();
@@ -36,8 +35,8 @@ const Je = re((e2) => {
36
35
  return X("div", { style: { width: `${u2}px`, height: `${u2}px`, right: "0px", boxShadow: `0px 0px 0px 0.5px var(${c2 && !l2 ? "--sxl-app-color-primary-light, rgba(0,0,0,.55)" : "--sxl-app-color-border-button, grey"})`, backgroundColor: "var(--sxl-app-color-button-fill, white)", backgroundImage: "var(--sxl-app-image-background)", borderRadius: (u2 > 12 ? 1 : 0) + "px", marginRight: "2px", display: "flex", alignItems: "center", justifyContent: "center", cursor: l2 ? void 0 : "pointer", ...a2 }, onMouseEnter: () => g2(true), onMouseLeave: () => g2(false), onMouseDown: (e3) => {
37
36
  i2?.(e3, r2), e3.preventDefault();
38
37
  }, ...s2, children: X("svg", { width: "" + 15 * n2, height: "" + 15 * n2, viewBox: "0 0 15 15", style: { fill: `var(${c2 && !l2 ? "--sxl-app-color-primary-dark" : "--sxl-app-color-button-text"}, grey)`, opacity: l2 ? 0.6 : 1 }, children: X("path", { d: d2 }) }) });
39
- }, et = (s2) => {
40
- const { value: d2, coords: c2, bounds: g2, children: u2, style: h2, range: m2, zoom: p2 = 1, view: f2, bodyStyle: w2, normalStyle: v2, showFormulas: q2, showZeros: y2, docTheme: C2, onLinkMouseDown: b2, onFilterButtonMouseDown: x2, filterButtonProps: k2, createFilterButton: T2 = Qe, ...R2 } = s2, M2 = g2.height / p2, A2 = g2.width / p2, z2 = d2, F2 = z2.getValue(), D2 = d2.getStyle(), I2 = w2?.darkMode ?? false;
38
+ }, Qe = (s2) => {
39
+ const { value: d2, coords: c2, bounds: g2, children: u2, style: h2, range: m2, zoom: p2 = 1, view: f2, bodyStyle: w2, normalStyle: v2, showFormulas: q2, showZeros: y2, docTheme: C2, onLinkMouseDown: b2, onFilterButtonMouseDown: x2, filterButtonProps: k2, createFilterButton: T2 = Je, ...R2 } = s2, M2 = g2.height / p2, A2 = g2.width / p2, z2 = d2, F2 = z2.getValue(), D2 = d2.getStyle(), I2 = w2?.darkMode ?? false;
41
40
  let E2, H2;
42
41
  const N2 = F2 && F2.isFormulaError, P2 = N2 && F2 instanceof e.Parse;
43
42
  let V2, L2 = q2 || P2;
@@ -68,7 +67,7 @@ const Je = re((e2) => {
68
67
  const ne2 = z2.getComments(), le2 = z2.getWarnings(), re2 = z2.getErrors();
69
68
  if (ne2 || N2 || re2.length > 0 || le2.length > 0) {
70
69
  const e2 = { size: 7 * p2, darkMode: I2, cellWidth: $2 * p2 + 2, cellHeight: M2 * p2 + 2, style: { top: -1, left: W2 * p2 - 1 } };
71
- oe2 = oe2 ?? [], (le2.length > 0 || re2.length > 0 || N2) && oe2.push(X(Je, { anchorLocation: Q.TopLeft, ...e2 }, `indicator-${oe2.length}`)), ne2 && oe2.push(X(Je, { anchorLocation: Q.TopRight, ...e2 }, `indicator-${oe2.length}`));
70
+ oe2 = oe2 ?? [], (le2.length > 0 || re2.length > 0 || N2) && oe2.push(X(Ye, { anchorLocation: Q.TopLeft, ...e2 }, `indicator-${oe2.length}`)), ne2 && oe2.push(X(Ye, { anchorLocation: Q.TopRight, ...e2 }, `indicator-${oe2.length}`));
72
71
  }
73
72
  const ie2 = D2.getFont();
74
73
  let ae2 = E2?.conditionalColor;
@@ -244,11 +243,11 @@ const Je = re((e2) => {
244
243
  G2 && !Z2 && (Z2 = X("div", { style: { position: "absolute", left: 0, right: 0, top: 0, bottom: 0, display: "flex", alignItems: "center", justifyContent: "center", pointerEvents: "none" }, children: "..." }, "pending-ellipsis"));
245
244
  const ke2 = [te2, Z2, u2, oe2, qe2, xe2];
246
245
  return X("div", { style: { ...j2, ...fe2, pointerEvents: Se2 }, ...R2, children: ke2 });
247
- }, tt = { text: "", placeholder: "" }, ot = (e2, t2) => {
246
+ }, et = { text: "", placeholder: "" }, tt = (e2, t2) => {
248
247
  if (-1 === e2.clean().getStyle().getNumberFormat().indexOf("%")) return false;
249
248
  const o2 = t2 ?? e2.dirty ?? "";
250
249
  return 0 === o2.length || o2.endsWith("%") && !isNaN(parseFloat(o2.substring(0, o2.length - 1)));
251
- }, nt = Object.freeze([T.Delete, T.Home, T.End]), lt = re(se((e2, t2) => {
250
+ }, ot = Object.freeze([T.Delete, T.Home, T.End]), nt = re(se((e2, t2) => {
252
251
  const { editState: o2, onStartEdit: n2, onChangeEdit: r2, onSubmitEdit: c2, onCancelEdit: g2, onDoneEdit: u2, defaultTextStyle: h2, useRichStyling: m2 = true, bodyStyle: p2, activeCoords: f2, sheet: w2, commands: v2, containerBounds: q2, setNaturalSize: y2, onFocus: C2, disabled: b2, style: S2, zoom: D2 = 1, linesVisible: I2, autoFocus: E2 = false, ...H2 } = e2, { height: N2 = 0, width: P2 = 0 } = q2 ?? {}, V2 = p2?.darkMode ?? false, L2 = de(null), [B2, O2] = ae(false), [$2, W2] = ae(null), [U2, _2] = ae(() => o2);
253
252
  ce(() => {
254
253
  oe2.current = false, _2(o2);
@@ -258,9 +257,9 @@ const Je = re((e2) => {
258
257
  let t3 = e3.getStyle();
259
258
  m2 || (t3 = t3.createTemporaryStyle({ font: { size: h2?.fontSize } }));
260
259
  const o3 = e3.getFormula(), n3 = t3.getAlignment(), r3 = o3 ? l.HorizontalAlignment.Left : n3.getHorizontal(), a2 = n3.getVertical(), s2 = n3.getOverflow() === l.Overflow.Wrap || e3.getType() === i.String && (r3 === l.HorizontalAlignment.Justify || r3 === l.HorizontalAlignment.Distributed || a2 === l.VerticalAlignment.Justify || a2 === l.VerticalAlignment.Distributed), d2 = ((e4) => {
261
- if (!e4) return tt;
260
+ if (!e4) return et;
262
261
  const t4 = e4.clean();
263
- if (!t4) return tt;
262
+ if (!t4) return et;
264
263
  let o4 = t4.getStyle()?.getQuotePrefix();
265
264
  if (void 0 === e4.dirty || null === e4.dirty) {
266
265
  let n4 = "", l2 = t4.getFormulaText();
@@ -328,7 +327,7 @@ const Je = re((e2) => {
328
327
  if (e3.key, e3.isDefaultPrevented(), !(e3.isTrusted || e3.nativeEvent.ctrlKey || e3.nativeEvent.metaKey || e3.nativeEvent.altKey || e3.nativeEvent.isComposing || -1 === qe.indexOf(e3.nativeEvent.key) && "Backspace" !== e3.nativeEvent.key)) {
329
328
  const t4 = { ...U2 };
330
329
  let o4 = 0;
331
- return ot(t4, t4.dirty) && !isNaN(parseFloat(e3.key)) ? (t4.dirty?.endsWith("%") ? t4.dirty = (t4.dirty.substring(0, t4.dirty.length - 1) ?? "") + e3.key + "%" : t4.dirty = (t4.dirty ?? "") + e3.key + "%", o4 = t4.dirty.length - 1) : "Backspace" === e3.nativeEvent.key ? (t4.dirty = "", o4 = t4.dirty.length) : (t4.dirty = (t4.dirty ?? "") + e3.key, o4 = t4.dirty.length), Z2.current.value = t4?.dirty, L2.current = { start: o4, end: o4, direction: "forward" }, Z2.current?.setSelectionRange(o4, o4, "forward"), _2(t4), J2?.(t4), void e3.preventDefault();
330
+ return tt(t4, t4.dirty) && !isNaN(parseFloat(e3.key)) ? (t4.dirty?.endsWith("%") ? t4.dirty = (t4.dirty.substring(0, t4.dirty.length - 1) ?? "") + e3.key + "%" : t4.dirty = (t4.dirty ?? "") + e3.key + "%", o4 = t4.dirty.length - 1) : "Backspace" === e3.nativeEvent.key ? (t4.dirty = "", o4 = t4.dirty.length) : (t4.dirty = (t4.dirty ?? "") + e3.key, o4 = t4.dirty.length), Z2.current.value = t4?.dirty, L2.current = { start: o4, end: o4, direction: "forward" }, Z2.current?.setSelectionRange(o4, o4, "forward"), _2(t4), J2?.(t4), void e3.preventDefault();
332
331
  }
333
332
  const t3 = e3.nativeEvent.ctrlKey, o3 = e3.nativeEvent.shiftKey, n3 = e3.nativeEvent.altKey, l2 = e3.nativeEvent.metaKey;
334
333
  if (t3 && "z" === e3.key && e3.stopPropagation(), e3.which === T.Escape) return e3.preventDefault(), void le2();
@@ -360,7 +359,7 @@ const Je = re((e2) => {
360
359
  if (i2) {
361
360
  if (!(t3 || o3 || n3 || l2) && !U2.editMode) return void ne2();
362
361
  }
363
- U2.editMode && (i2 || nt.includes(e3.which)) && e3.stopPropagation();
362
+ U2.editMode && (i2 || ot.includes(e3.which)) && e3.stopPropagation();
364
363
  }, [U2, w2, G2]), se2 = ue(() => {
365
364
  Z2.current?.focus(), setTimeout(() => {
366
365
  Z2.current?.select();
@@ -418,7 +417,7 @@ const Je = re((e2) => {
418
417
  if (false !== t3) {
419
418
  let e4, o3;
420
419
  const n3 = Z2.current.value;
421
- ot(U2, n3) && (e4 = n3.length - 1, o3 = n3.length - 1), e4 = t3?.start ?? e4 ?? n3.length, o3 = t3?.end ?? o3 ?? n3.length, L2.current = false, W2({ start: e4, end: o3, direction: "forward" });
420
+ tt(U2, n3) && (e4 = n3.length - 1, o3 = n3.length - 1), e4 = t3?.start ?? e4 ?? n3.length, o3 = t3?.end ?? o3 ?? n3.length, L2.current = false, W2({ start: e4, end: o3, direction: "forward" });
422
421
  }
423
422
  C2?.(e3);
424
423
  }, [C2, U2]), Re2 = G2.insets;
@@ -442,7 +441,7 @@ const Je = re((e2) => {
442
441
  }, onMouseDown: (e3) => {
443
442
  B2 && ee2(true);
444
443
  }, onKeyDown: re2 }) }) });
445
- })), rt = (e2, t2) => ({ clean: e2, dirty: t2, editMode: false }), it = (e2) => {
444
+ })), lt = (e2, t2) => ({ clean: e2, dirty: t2, editMode: false }), rt = (e2) => {
446
445
  const { length: t2 = 0, width: o2 = 1, dashArray: n2 = null, dashArrayAdditional: l2 = null, isDouble: r2 = false, isAngled: i2 = false, offsetX: a2 = 0, offsetY: s2 = 0, isVertical: d2 = false, ...c2 } = e2, g2 = (e3) => {
447
446
  let t3 = null;
448
447
  if (e3 && o2 > 0) {
@@ -468,7 +467,7 @@ const Je = re((e2) => {
468
467
  }
469
468
  let w2 = null;
470
469
  return w2 = d2 ? `M ${S.boundPixel(a2 + m2 / 2)} ${S.boundPixel(s2)} L ${S.boundPixel(a2 + m2 / 2)} ${S.boundPixel(s2 + p2)}` : `M ${S.boundPixel(a2)} ${S.boundPixel(s2 + m2 / 2)} L ${S.boundPixel(a2 + p2)} ${S.boundPixel(s2 + m2 / 2)}`, Y(J, { children: [X("path", { strokeWidth: m2, strokeDasharray: u2, d: w2, ...c2 }), f2] });
471
- }, at = (e2, t2) => e2.colStart === t2.colStart ? e2.rowStart - t2.rowStart : e2.colStart - t2.colStart, st = (e2, t2) => e2.rowStart === t2.rowStart ? e2.colStart - t2.colStart : e2.rowStart - t2.rowStart, dt = (e2) => {
470
+ }, it = (e2, t2) => e2.colStart === t2.colStart ? e2.rowStart - t2.rowStart : e2.colStart - t2.colStart, at = (e2, t2) => e2.rowStart === t2.rowStart ? e2.colStart - t2.colStart : e2.rowStart - t2.rowStart, st = (e2) => {
472
471
  const { key: t2, points: o2, range: l2, stroke: r2, darkMode: i2, forceThinBorder: a2 = false, shiftIfWide: s2 = false, isVertical: d2 = false, intersections: c2, layout: g2 } = e2, u2 = n.BuiltInDefinitions.get(a2 ? n.StrokeStyle.Thin : r2.getStyle());
473
472
  if (!u2) return null;
474
473
  const h2 = o2[0], m2 = o2[1], p2 = o2[2], f2 = o2[3];
@@ -504,8 +503,8 @@ const Je = re((e2) => {
504
503
  }
505
504
  let T2 = d2 ? -Math.floor(u2.width / 2) : -v2, R2 = d2 ? -v2 : -Math.floor(u2.width / 2);
506
505
  const M2 = s2 && u2.width > 2 ? -1 : 0;
507
- return X(it, { offsetX: h2 + T2 + M2, offsetY: m2 + R2 + M2, length: w2 + v2, isVertical: d2, stroke: q2, width: u2.width, dashArray: C2 ?? u2.pattern, dashArrayAdditional: b2, isDouble: y2, isAngled: u2.description.toLowerCase().includes("slant") }, t2);
508
- }, ct = ({ getBorderAt: e2, borderRenderer: t2 = dt, getVisibleCells: o2, darkMode: l2, forceThinBorder: r2 = false, defaultColor: i2 = "black", shiftIfWide: a2 = false }) => {
506
+ return X(rt, { offsetX: h2 + T2 + M2, offsetY: m2 + R2 + M2, length: w2 + v2, isVertical: d2, stroke: q2, width: u2.width, dashArray: C2 ?? u2.pattern, dashArrayAdditional: b2, isDouble: y2, isAngled: u2.description.toLowerCase().includes("slant") }, t2);
507
+ }, dt = ({ getBorderAt: e2, borderRenderer: t2 = st, getVisibleCells: o2, darkMode: l2, forceThinBorder: r2 = false, defaultColor: i2 = "black", shiftIfWide: a2 = false }) => {
509
508
  const s2 = k(o2, [o2]);
510
509
  return { overlay: ie(() => (o3) => {
511
510
  const d2 = o3.toClipBounds(o3.getRangeCoordsBounds(), -3);
@@ -571,7 +570,7 @@ const Je = re((e2) => {
571
570
  r3 && n2.push(r3);
572
571
  }), n2;
573
572
  };
574
- h2 = h2.sort(st), m2 = m2.sort(at);
573
+ h2 = h2.sort(at), m2 = m2.sort(it);
575
574
  const x2 = S2(w2, p2, false), k2 = S2(v2, f2, true);
576
575
  if (0 === x2.length && 0 === k2.length) return null;
577
576
  const T2 = k2.length;
@@ -598,9 +597,9 @@ const Je = re((e2) => {
598
597
  }
599
598
  return X("svg", { width: `${d2.width}`, height: `${d2.height}`, viewBox: `0 0 ${d2.width} ${d2.height}`, preserveAspectRatio: "none", shapeRendering: "crispEdges", style: { position: "absolute", left: "0px", top: "0px", width: `${d2.width}px`, height: `${d2.height}px`, pointerEvents: "none", transitionTimingFunction: "linear", transitionDelay: "0", transitionProperty: "left, top, width, height", willChange: "left, top, width, height, stroke-dashoffset", overflow: "visible" }, children: q2 }, "borders");
600
599
  }, [e2, l2]) };
601
- }, gt = Q.Center, ut = Object.freeze({ horizontal: false, vertical: false }), ht = te.EmptyTopLeft, mt = (e2, t2) => oe.EmptyCell, pt = (e2, t2) => new Promise((e3, t3) => {
600
+ }, ct = Q.Center, gt = Object.freeze({ horizontal: false, vertical: false }), ut = te.EmptyTopLeft, ht = (e2, t2) => oe.EmptyCell, mt = (e2, t2) => new Promise((e3, t3) => {
602
601
  t3("StaticBorderRenderer does not support scrolling");
603
- }), ft = re((e2) => {
602
+ }), pt = re((e2) => {
604
603
  const { getBorderAt: t2, width: o2, height: n2, style: l2, rowCount: r2 = 2, columnCount: i2 = 2, darkMode: a2, forceThinBorder: s2, children: d2, ...c2 } = e2, g2 = de(null), [u2, { width: h2, height: m2 }] = Fe(), p2 = o2 ?? h2, f2 = n2 ?? m2, w2 = ie(() => {
605
604
  const e3 = [];
606
605
  for (let t3 = 0; t3 < r2; t3++) for (let o3 = 0; o3 < i2; o3++) {
@@ -608,7 +607,7 @@ const Je = re((e2) => {
608
607
  e3.push({ coords: n3, value: n3 });
609
608
  }
610
609
  return e3;
611
- }, []), v2 = ue((e3) => w2, [w2]), { overlay: q2 } = ct({ getVisibleCells: v2, getBorderAt: t2, darkMode: a2, forceThinBorder: s2 }), y2 = Math.floor(p2 / i2), C2 = Math.floor(f2 / r2), b2 = { getColOffset: (e3) => Math.ceil(e3 * y2) + 0, getRowOffset: (e3) => Math.ceil(e3 * C2) + 0, getColIndex: (e3) => Math.floor((e3 - 0) / y2) - 1, getRowIndex: (e3) => Math.floor((e3 - 0) / C2) - 1 }, S2 = { rowStart: 0, colStart: 0, rowEnd: r2, colEnd: i2 }, x2 = { x: 0, y: 0, width: Math.max(0, p2) + 0, height: Math.max(0, f2) + 0 }, k2 = ie(() => {
610
+ }, []), v2 = ue((e3) => w2, [w2]), { overlay: q2 } = dt({ getVisibleCells: v2, getBorderAt: t2, darkMode: a2, forceThinBorder: s2 }), y2 = Math.floor(p2 / i2), C2 = Math.floor(f2 / r2), b2 = { getColOffset: (e3) => Math.ceil(e3 * y2) + 0, getRowOffset: (e3) => Math.ceil(e3 * C2) + 0, getColIndex: (e3) => Math.floor((e3 - 0) / y2) - 1, getRowIndex: (e3) => Math.floor((e3 - 0) / C2) - 1 }, S2 = { rowStart: 0, colStart: 0, rowEnd: r2, colEnd: i2 }, x2 = { x: 0, y: 0, width: Math.max(0, p2) + 0, height: Math.max(0, f2) + 0 }, k2 = ie(() => {
612
611
  const e3 = {}, t3 = Math.floor(p2 / i2);
613
612
  for (let o3 = 0; o3 < i2; o3++) e3[o3] = { offset: o3 * t3, size: t3, spanIndex: o3 };
614
613
  return e3;
@@ -626,12 +625,12 @@ const Je = re((e2) => {
626
625
  const e3 = [];
627
626
  for (let t3 = 0; t3 < i2; t3++) e3.push(t3);
628
627
  return e3;
629
- }, toClipBounds: (e3, t3) => x2, toViewBounds: (e3) => e3, toAbsoluteBounds: (e3) => e3, getBounds: () => x2, getInsets: () => null, getRangeCoordsBounds: (e3, t3) => null, getVisibleColumnOffsets: () => k2, getVisibleRowOffsets: () => T2, allViews: () => ({ [gt]: A2 }), getAnchor: () => gt, getZoom: () => 1, scrollCellCoordsIntoView: pt, getCellCoordsFromClient: mt, getScrollOrientation: () => ut, getScrollTopLeft: () => ht, getFreezeTopLeft: () => ht }, z2 = q2(A2);
628
+ }, toClipBounds: (e3, t3) => x2, toViewBounds: (e3) => e3, toAbsoluteBounds: (e3) => e3, getBounds: () => x2, getInsets: () => null, getRangeCoordsBounds: (e3, t3) => null, getVisibleColumnOffsets: () => k2, getVisibleRowOffsets: () => T2, allViews: () => ({ [ct]: A2 }), getAnchor: () => ct, getZoom: () => 1, scrollCellCoordsIntoView: mt, getCellCoordsFromClient: ht, getScrollOrientation: () => gt, getScrollTopLeft: () => ut, getFreezeTopLeft: () => ut }, z2 = q2(A2);
630
629
  return Y("div", { style: { ...l2, position: "relative", display: "flex" }, ...c2, children: [X("div", { ref: ze([g2, u2]), style: { flex: "1 1 100%", display: "flex", maxWidth: "100%", maxHeight: "100%" }, children: d2 }), z2] });
631
- }), wt = "_sheetxl-sheet_1qeq6_5", vt = "_viewport-overlay_1qeq6_6", qt = (e2) => {
630
+ }), ft = "_sheetxl-sheet_1qeq6_5", wt = "_viewport-overlay_1qeq6_6", vt = (e2) => {
632
631
  const { style: t2, ...o2 } = e2 ?? {};
633
632
  return Y("svg", { style: { width: "135px", height: "37px", ...t2 }, viewBox: "0 0 135 37", ...o2, children: [X("path", { d: "M 1.0984,0 C 0.4978,0 0.01,0.40548 0.01,0.90302 v 19.5766 H 0 v 15.61762 c 0,0.30574 0.185,0.57535 0.466,0.73886 v 0.1426 H 0.8565 C 0.9315,36.992 1.0086,37 1.0883,37 H 13.063 25.9706 v 0 h 8.7553 c 0.08,0 0.1563,-0.008 0.2308,-0.0213 h 0.054 v -0.0141 c 0.4621,-0.10457 0.8035,-0.45175 0.8035,-0.86739 v -15.312 c 0,-0.0328 0.01,-0.0658 0.01,-0.0995 V 0.90304 C 35.8242,0.4052 35.3363,6e-5 34.7358,6e-5 H 22.5969 V 1.7e-4 H 21.0014 V 6e-5 Z", fill: "#547dbe", fillRule: "evenodd" }), X("path", { d: "M 1.4849,2.09543 V 9.06408 H 8.1947 V 2.09543 Z m 8.6592,0 V 9.06408 H 16.854 V 2.09543 Z m 8.685,0 v 6.96865 h 6.7098 V 2.09543 Z m 8.7355,0 v 6.96865 h 6.7099 V 2.09543 Z M 1.4849,11.04391 v 6.81444 h 6.7098 v -6.81444 z m 8.6592,0 v 6.81444 h 6.7099 v -6.81444 z m 8.685,0 v 6.81444 h 6.7098 v -6.81444 z m 8.7355,0 v 6.81444 h 6.7099 V 11.04391 Z M 1.4849,19.83872 v 6.68584 h 6.7098 v -6.68584 z m 8.6592,0 v 6.68584 h 6.7351 v -6.68584 z m 8.685,0 v 6.68584 h 6.7098 v -6.68584 z m 8.7355,0 v 6.68584 h 6.7099 v -6.68584 z m -26.052,8.38811 v 6.68588 h 6.7098 v -6.68588 z m 8.6592,0 v 6.68588 h 6.7355 v -6.68588 z m 8.685,0 v 6.68588 h 6.7099 v -6.68588 z m 8.7356,0 v 6.68588 h 6.7098 v -6.68588 z", fill: "#ffffff", fillRule: "evenodd" }), X("path", { d: "m 1.4785,2.09737 v 6.96865 h 6.741 V 2.09737 Z m 0,8.94851 v 6.81449 h 6.741 v -6.81449 z m 0,8.79485 v 6.6858 h 6.741 v -6.6858 z m 0.028,8.388 v 6.68588 h 6.741 v -6.68588 z", fill: "#547dbe", fillRule: "evenodd", strokeWidth: "0.4" }), X("path", { d: "M 120.9895,32.82218 V 10.13469 h 4.7986 v 18.71559 h 9.2153 v 3.9719 z m 0.4853,0 h -5.4976 l -5.275,-8.57923 -5.2751,8.57923 h -5.1481 l 7.5314,-11.69325 -7.0545,-10.99424 h 5.3067 l 4.8936,8.16618 4.7986,-8.16618 h 5.1796 l -7.118,11.24826 z M 95.9361,29.04099 c 0.5297,0 1.0381,-0.053 1.5254,-0.15888 0.4872,-0.10591 0.9745,-0.23299 1.4617,-0.3813 v 3.52703 c -0.5084,0.21183 -1.144,0.39189 -1.9066,0.54018 -0.7415,0.16946 -1.5571,0.2542 -2.4469,0.2542 -1.038,0 -1.9701,-0.16947 -2.7964,-0.5084 -0.805,-0.33894 -1.4511,-0.92148 -1.9384,-1.74763 -0.466,-0.84734 -0.6991,-2.01241 -0.6991,-3.49526 v -8.35686 h -2.2562 v -2.00181 l 2.6058,-1.58876 1.3664,-3.65411 h 3.0189 v 3.6859 h 4.8619 v 3.55878 h -4.8619 v 8.35686 c 0,0.65668 0.1906,1.15449 0.5719,1.49342 0.3814,0.31776 0.8792,0.47664 1.4935,0.47664 z M 79.1445,14.83743 c 2.3939,0 4.29,0.68847 5.6882,2.06535 1.3983,1.35581 2.0972,3.29411 2.0972,5.81491 v 2.28769 H 75.7444 c 0.042,1.33475 0.4342,2.38315 1.1758,3.14596 0.7626,0.76244 1.8113,1.14385 3.1459,1.14385 1.1227,0 2.1396,-0.10609 3.0506,-0.3179 0.9109,-0.23311 1.8536,-0.58257 2.8283,-1.0484 v 3.654 c -0.8476,0.42362 -1.7479,0.73087 -2.7012,0.92139 -0.9322,0.21181 -2.0655,0.3179 -3.4001,0.3179 -1.7373,0 -3.2731,-0.3179 -4.6078,-0.95333 -1.3346,-0.65673 -2.3833,-1.64162 -3.1459,-2.95507 -0.7627,-1.31344 -1.144,-2.96571 -1.144,-4.9568 0,-2.03367 0.3389,-3.71788 1.0169,-5.05235 0.6991,-1.35578 1.6629,-2.37258 2.8917,-3.0504 1.2286,-0.67783 2.6586,-1.0168 4.2899,-1.0168 z m 0.032,3.36815 c -0.911,0 -1.6736,0.29653 -2.2879,0.88967 -0.5933,0.59322 -0.9428,1.51461 -1.0487,2.76455 h 6.6415 c -0.021,-1.05904 -0.2967,-1.92796 -0.8262,-2.60567 -0.5297,-0.69905 -1.3559,-1.04855 -2.4787,-1.04855 z m -17.011,-3.36815 c 2.3939,0 4.29,0.68847 5.6882,2.06535 1.3982,1.35581 2.0973,3.29411 2.0973,5.81491 v 2.28769 H 58.7653 c 0.042,1.33475 0.4343,2.38315 1.1758,3.14596 0.7627,0.76244 1.8113,1.14385 3.1459,1.14385 1.1228,0 2.1397,-0.10609 3.0507,-0.3179 0.911,-0.23311 1.8536,-0.58257 2.8282,-1.0484 v 3.654 c -0.8475,0.42362 -1.7478,0.73087 -2.7011,0.92139 -0.9321,0.21181 -2.0655,0.3179 -3.4002,0.3179 -1.7372,0 -3.273,-0.3179 -4.6077,-0.95333 -1.3347,-0.65673 -2.3833,-1.64162 -3.1459,-2.95507 -0.7627,-1.31344 -1.144,-2.96571 -1.144,-4.9568 0,-2.03367 0.3389,-3.71788 1.0168,-5.05235 0.6991,-1.35578 1.6631,-2.37258 2.8918,-3.0504 1.2287,-0.67783 2.6587,-1.0168 4.2899,-1.0168 z m 0.032,3.36815 c -0.911,0 -1.6736,0.29653 -2.288,0.88967 -0.5931,0.59322 -0.9427,1.51461 -1.0486,2.76455 h 6.6414 c -0.021,-1.05904 -0.2965,-1.92796 -0.8262,-2.60567 -0.5297,-0.69905 -1.3558,-1.04855 -2.4786,-1.04855 z M 41.7033,13.59817 c 0,0.84739 -0.032,1.66288 -0.095,2.44668 -0.042,0.78385 -0.085,1.33456 -0.1271,1.65231 h 0.2542 c 0.5508,-0.88968 1.2605,-1.53575 2.1291,-1.93827 0.8686,-0.40251 1.8325,-0.60371 2.8917,-0.60371 1.8855,0 3.3896,0.50838 4.5124,1.52518 1.144,0.99558 1.716,2.60556 1.716,4.82998 V 32.82218 H 48.2498 V 22.68575 c 0,-2.49951 -0.9322,-3.74937 -2.7964,-3.74937 -1.4194,0 -2.4045,0.49788 -2.9553,1.49362 -0.5297,0.97424 -0.7945,2.38314 -0.7945,4.22592 v 8.16626 H 36.9688 V 8.67305 h 4.7348 z", fill: "#eb594d" }), X("path", { d: "m 23.345,4.88926 c 1.4307,0 2.8282,0.229 4.1916,0.68692 1.3636,0.45803 2.6999,1.15712 4.0084,2.09748 l -1.8344,2.50966 C 28.6222,9.40175 27.5522,8.82162 26.5004,8.44306 25.4486,8.0645 24.3968,7.87524 23.345,7.87524 c -1.9935,0 -3.5435,0.40902 -4.6503,1.22728 -1.1068,0.81819 -1.6601,1.97842 -1.6601,3.48048 v 0.0183 c 0,1.05019 0.3179,1.8502 0.9538,2.39973 0.636,0.54952 1.4615,0.95869 2.4765,1.22731 1.015,0.26862 2.0975,0.51907 3.2468,0.75111 1.003,0.20755 1.9996,0.44872 2.9905,0.7235 0.9905,0.27478 1.8922,0.66562 2.7057,1.1724 0.813,0.50679 1.4615,1.1937 1.9444,2.06075 0.4832,0.86705 0.7247,1.99672 0.7247,3.38884 v 0.0367 c 0,2.45464 -0.8561,4.35355 -2.5682,5.69703 -1.7122,1.34311 -4.1216,2.01505 -7.2278,2.01505 -1.2963,0 -2.5162,-0.12207 -3.6598,-0.36658 -1.1434,-0.24413 -2.2134,-0.61071 -3.2102,-1.09898 -0.9968,-0.48864 -1.9292,-1.09897 -2.7975,-1.83175 l 1.9628,-2.47308 c 1.0763,0.92809 2.2534,1.62428 3.5314,2.08825 1.2779,0.46431 2.669,0.69627 4.1733,0.69627 2.1158,0 3.7513,-0.40613 4.9071,-1.21827 1.1558,-0.81214 1.7335,-1.95096 1.7335,-3.4164 v -0.0183 c 0,-1.06247 -0.2872,-1.87762 -0.8622,-2.44543 -0.5746,-0.56786 -1.3267,-0.99528 -2.2563,-1.28234 -0.9292,-0.28695 -1.9383,-0.52812 -3.0267,-0.72354 -1.0397,-0.18314 -2.0822,-0.39685 -3.1278,-0.64117 -1.0457,-0.24417 -2.0026,-0.60444 -2.8709,-1.08076 -0.8683,-0.47621 -1.5685,-1.15396 -2.1005,-2.0333 -0.532,-0.87933 -0.798,-2.05162 -0.798,-3.5171 v -0.0183 c 0,-2.4792 0.8255,-4.39955 2.4766,-5.7611 1.651,-1.36167 3.9807,-2.04258 6.9892,-2.04258 z", stroke: "#eb594d", strokeWidth: "2", fill: "#f9cecb" })] });
634
- }, yt = re((e2) => {
633
+ }, qt = re((e2) => {
635
634
  const { colorLicensee: t2 = "blue", colorError: o2 = "red", colorCredits: n2 = "grey", credits: l2 = "All rights reserved - Michael Ford", feature: r2, style: i2, ...a2 } = e2 ?? {}, [s2, d2] = ae(null);
636
635
  le.useEffect(() => {
637
636
  (async () => {
@@ -653,8 +652,8 @@ const Je = re((e2) => {
653
652
  if (s2.isValidFor(r2)) return null;
654
653
  const p2 = s2.getType(), f2 = !m2 && p2.endsWith("ity"), w2 = s2.getLicensee(), v2 = f2 ? 1.6 : 1, q2 = 135 / v2, y2 = 37 / v2;
655
654
  let C2 = null;
656
- return !p2 && w2?.length > 0 && (C2 = X("div", { style: { opacity: 0.7, fontWeight: "500", fontSize: "16px", textAlign: "left", color: t2 }, children: w2 })), X("div", { style: { pointerEvents: "none", display: "flex", flexDirection: "column", overflow: "hidden", ...i2 }, ...a2, children: Y("div", { style: { position: "relative", display: "flex", flexDirection: "column" }, children: [g2 ? X(qt, { style: h2 }) : X("svg", { width: q2, height: y2, style: h2, children: X("image", { style: { width: q2, height: y2 }, href: "https://www.sheetxl.com/watermark.svg", onError: () => u2(true) }) }), Y("div", { children: [C2, m2, X("div", { style: { height: "0px", fontSize: "16px", textAlign: "left", width: "0px", opacity: 0.8, color: n2 }, children: l2 })] })] }) });
657
- }), Ct = (e2, t2, o2) => {
655
+ return !p2 && w2?.length > 0 && (C2 = X("div", { style: { opacity: 0.7, fontWeight: "500", fontSize: "16px", textAlign: "left", color: t2 }, children: w2 })), X("div", { style: { pointerEvents: "none", display: "flex", flexDirection: "column", overflow: "hidden", ...i2 }, ...a2, children: Y("div", { style: { position: "relative", display: "flex", flexDirection: "column" }, children: [g2 ? X(vt, { style: h2 }) : X("svg", { width: q2, height: y2, style: h2, children: X("image", { style: { width: q2, height: y2 }, href: "https://www.sheetxl.com/watermark.svg", onError: () => u2(true) }) }), Y("div", { children: [C2, m2, X("div", { style: { height: "0px", fontSize: "16px", textAlign: "left", width: "0px", opacity: 0.8, color: n2 }, children: l2 })] })] }) });
656
+ }), yt = (e2, t2, o2) => {
658
657
  const n2 = de(t2);
659
658
  n2.current = t2;
660
659
  const l2 = o2?.fireOnModelChange ?? true;
@@ -675,7 +674,7 @@ const Je = re((e2) => {
675
674
  a2?.();
676
675
  };
677
676
  }, [e2]);
678
- }, bt = (e2, t2, o2, n2) => {
677
+ }, Ct = (e2, t2, o2, n2) => {
679
678
  const l2 = de(o2);
680
679
  l2.current = o2;
681
680
  const r2 = n2?.fireOnAddressChange ?? true;
@@ -696,7 +695,7 @@ const Je = re((e2) => {
696
695
  };
697
696
  }, [e2, t2]);
698
697
  };
699
- const St = new class {
698
+ const bt = new class {
700
699
  constructor() {
701
700
  this._taskPanes = /* @__PURE__ */ new Map();
702
701
  }
@@ -722,7 +721,7 @@ const St = new class {
722
721
  }
723
722
  return t2;
724
723
  }
725
- }(), xt = he(void 0), kt = ({ children: e2, createArea: t2, onUpdateArea: o2, registry: n2 = St }) => {
724
+ }(), St = he(void 0), xt = ({ children: e2, createArea: t2, onUpdateArea: o2, registry: n2 = bt }) => {
726
725
  const l2 = le.useRef(null), r2 = le.useRef(null), [i2, a2] = le.useState(null), [s2, d2] = le.useState(null), c2 = le.useMemo(() => ({ activateTaskPane(e3, t3) {
727
726
  r2.current !== e3 && (l2.current ? l2.current.activateTaskPane(e3, t3) : (a2(e3), g2(e3)));
728
727
  } }), []), g2 = k((e3) => {
@@ -735,23 +734,23 @@ const St = new class {
735
734
  }, [t2, n2, i2]);
736
735
  return le.useEffect(() => {
737
736
  s2 && i2 && (s2.activateTaskPane(i2, { autoFocus: true }), a2(null));
738
- }, [i2, s2]), le.createElement(xt.Provider, { value: s2 ?? c2 }, e2);
739
- }, Tt = { activateTaskPane(e2, t2) {
737
+ }, [i2, s2]), le.createElement(St.Provider, { value: s2 ?? c2 }, e2);
738
+ }, kt = { activateTaskPane(e2, t2) {
740
739
  console.warn("No TaskPaneArea available to activate task pane", e2, t2);
741
- } }, Rt = () => {
742
- const e2 = me(xt);
743
- return e2 || Tt;
744
- }, Mt = { TaskPaneArea: "_TaskPaneArea_6dmgk_5", TaskPaneTitle: "_TaskPaneTitle_6dmgk_13", TaskPaneFrame: "_TaskPaneFrame_6dmgk_36", TaskPaneStrip: "_TaskPaneStrip_6dmgk_52", TaskPaneStripItem: "_TaskPaneStripItem_6dmgk_60" }, At = re(se((e2, t2) => {
745
- const { children: o2, title: n2, icon: l2, onClose: r2, readOnly: i2, focused: a2, style: s2, className: d2, ...c2 } = e2, g2 = ie(() => De("taskpane-title", d2, Mt.TaskPaneTitle, { focused: a2 }), [d2, a2]);
740
+ } }, Tt = () => {
741
+ const e2 = me(St);
742
+ return e2 || kt;
743
+ }, Rt = { TaskPaneArea: "_TaskPaneArea_6dmgk_5", TaskPaneTitle: "_TaskPaneTitle_6dmgk_13", TaskPaneFrame: "_TaskPaneFrame_6dmgk_36", TaskPaneStrip: "_TaskPaneStrip_6dmgk_52", TaskPaneStripItem: "_TaskPaneStripItem_6dmgk_60" }, Mt = re(se((e2, t2) => {
744
+ const { children: o2, title: n2, icon: l2, onClose: r2, readOnly: i2, focused: a2, style: s2, className: d2, ...c2 } = e2, g2 = ie(() => De("taskpane-title", d2, Rt.TaskPaneTitle, { focused: a2 }), [d2, a2]);
746
745
  return Y("div", { ref: t2, className: g2, style: s2, ...c2, children: [X("div", { className: "title", style: { flex: "1 1 100%" }, children: n2 }), X("div", { "aria-label": "close", role: "button", style: { width: 24, height: 24, borderRadius: "50%", display: "flex", alignItems: "center", justifyContent: "center", cursor: "pointer" }, onPointerDown: (e3) => {
747
746
  e3.stopPropagation();
748
747
  }, onPointerUp: () => {
749
748
  r2();
750
749
  }, children: X("div", { style: { fontSize: "0.7em" }, children: "✕" }) })] });
751
750
  }));
752
- At.displayName = "TaskPaneTitle";
753
- const zt = (e2, t2) => X(At, { ...e2, ref: t2 }), Ft = re(se((e2, t2) => {
754
- const { children: o2, entry: n2, close: l2, listenerContainer: r2, model: i2, commands: a2, onMounted: s2, onUnmounted: d2, paneWrapper: c2, paneProps: g2, renderTaskPanelTitle: u2 = zt, style: h2, className: m2, ...p2 } = e2, [f2, w2] = ae(null), [v2, q2] = ae(false), y2 = k(l2, [l2]), C2 = de(null), b2 = de(null);
751
+ Mt.displayName = "TaskPaneTitle";
752
+ const At = (e2, t2) => X(Mt, { ...e2, ref: t2 }), zt = re(se((e2, t2) => {
753
+ const { children: o2, entry: n2, close: l2, listenerContainer: r2, model: i2, commands: a2, onMounted: s2, onUnmounted: d2, paneWrapper: c2, paneProps: g2, renderTaskPanelTitle: u2 = At, style: h2, className: m2, ...p2 } = e2, [f2, w2] = ae(null), [v2, q2] = ae(false), y2 = k(l2, [l2]), C2 = de(null), b2 = de(null);
755
754
  ce(() => (s2?.(n2), () => {
756
755
  d2?.(n2);
757
756
  }), [n2]);
@@ -772,26 +771,26 @@ const zt = (e2, t2) => X(At, { ...e2, ref: t2 }), Ft = re(se((e2, t2) => {
772
771
  let e3 = n2.renderTaskPane({ entryKey: n2.key, model: i2, commands: a2, frame: x2, ...g2 }, t2);
773
772
  return c2 && (e3 = c2(e3)), e3;
774
773
  }, [n2, i2, a2, t2]);
775
- return Y("div", { className: De("taskpane-frame", m2, Mt.TaskPaneFrame), tabIndex: 0, ref: C2, style: h2, onPointerDown: async (e3) => {
774
+ return Y("div", { className: De("taskpane-frame", m2, Rt.TaskPaneFrame), tabIndex: 0, ref: C2, style: h2, onPointerDown: async (e3) => {
776
775
  e3.currentTarget.focus();
777
776
  }, onFocus: (e3) => {
778
777
  e3.relatedTarget && !f2 && w2(e3.relatedTarget), q2(true);
779
778
  }, onBlur: (e3) => {
780
779
  f2 && !C2?.current?.contains(e3.relatedTarget) && w2(null), e3.relatedTarget && q2(false);
781
780
  }, ...p2, children: [X("div", { style: { flex: "0 0 auto", display: "flex", flexDirection: "column", width: "100%", alignItems: "stretch", justifyContent: "stretch" }, children: T2 }), X("div", { className: "taskpane-frame-content", style: { flex: "1 1 auto", minHeight: 0, width: "100%", overflow: "auto", height: "100%", display: "flex" }, children: R2 })] });
782
- })), Dt = re(se((e2, t2) => {
783
- const { children: o2, title: n2, taskPanes: l2, onSelect: r2, selected: i2, registry: a2 = St, style: s2, className: d2, ...c2 } = e2, g2 = ie(() => l2.map((t3) => {
781
+ })), Ft = re(se((e2, t2) => {
782
+ const { children: o2, title: n2, taskPanes: l2, onSelect: r2, selected: i2, registry: a2 = bt, style: s2, className: d2, ...c2 } = e2, g2 = ie(() => l2.map((t3) => {
784
783
  const o3 = a2.getRegisteredTaskPane(t3);
785
784
  if (!o3) return null;
786
785
  let n3 = o3.getIcon?.();
787
786
  n3 && ("string" == typeof n3 && (n3 = X(D, { iconKey: n3 })), n3 = X("span", { style: { display: "inline-block", transform: "rotate(90deg)", transformOrigin: "center" }, children: n3 }));
788
- return Y("div", { style: { writingMode: "vertical-rl", textOrientation: "mixed", display: "flex", alignItems: "center", justifyContent: "space-between", gap: "4px", minWidth: "0px" }, className: De("taskpane-strip-item", Mt.TaskPaneStripItem, { selected: t3 === i2 }), onClick: () => e2.onSelect(t3), children: [n3, o3.getTitle()] }, t3);
789
- }), [l2, i2, r2, a2]), u2 = x(t2, () => ({ isTaskPaneStrip: () => true }), []), h2 = ie(() => De("taskpane-strip", d2, Mt.TaskPaneStrip), [d2]);
787
+ return Y("div", { style: { writingMode: "vertical-rl", textOrientation: "mixed", display: "flex", alignItems: "center", justifyContent: "space-between", gap: "4px", minWidth: "0px" }, className: De("taskpane-strip-item", Rt.TaskPaneStripItem, { selected: t3 === i2 }), onClick: () => e2.onSelect(t3), children: [n3, o3.getTitle()] }, t3);
788
+ }), [l2, i2, r2, a2]), u2 = x(t2, () => ({ isTaskPaneStrip: () => true }), []), h2 = ie(() => De("taskpane-strip", d2, Rt.TaskPaneStrip), [d2]);
790
789
  return X("div", { ref: u2, className: h2, style: s2, ...c2, children: g2 });
791
790
  }));
792
- Dt.displayName = "TaskPaneStrip";
793
- const It = (e2, t2) => X(Dt, { ref: t2, ...e2 }), Et = re(se((e2, t2) => {
794
- const { className: o2 = "", registry: n2 = St, model: l2, commands: r2, onOpen: i2, onClose: a2, paneWrapper: s2, paneProps: d2, frameWrapper: c2, frameProps: g2, renderTaskPanelTitle: u2, renderTaskPaneStrip: h2 = It, alwaysShowStrip: m2, style: p2 } = e2, f2 = k(i2, [i2]), w2 = k(a2, [a2]), [v2, q2] = ae(null), y2 = de(null), [C2, b2] = ae([]), S2 = de(/* @__PURE__ */ new Set()), T2 = k(async (e3, t3 = false) => {
791
+ Ft.displayName = "TaskPaneStrip";
792
+ const Dt = (e2, t2) => X(Ft, { ref: t2, ...e2 }), It = re(se((e2, t2) => {
793
+ const { className: o2 = "", registry: n2 = bt, model: l2, commands: r2, onOpen: i2, onClose: a2, paneWrapper: s2, paneProps: d2, frameWrapper: c2, frameProps: g2, renderTaskPanelTitle: u2, renderTaskPaneStrip: h2 = Dt, alwaysShowStrip: m2, style: p2 } = e2, f2 = k(i2, [i2]), w2 = k(a2, [a2]), [v2, q2] = ae(null), y2 = de(null), [C2, b2] = ae([]), S2 = de(/* @__PURE__ */ new Set()), T2 = k(async (e3, t3 = false) => {
795
794
  const o3 = Array.from(S2.current), n3 = o3.length;
796
795
  let l3 = true;
797
796
  for (let e4 = 0; l3 && e4 < n3; e4++) {
@@ -826,7 +825,7 @@ const It = (e2, t2) => X(Dt, { ref: t2, ...e2 }), Et = re(se((e2, t2) => {
826
825
  if (!await T2(v2.key)) return;
827
826
  }
828
827
  const o3 = le.createRef();
829
- let i3 = X(Ft, { ref: () => {
828
+ let i3 = X(zt, { ref: () => {
830
829
  y2.current = null;
831
830
  }, entry: t3, model: l2, commands: r2, close: async () => {
832
831
  await T2(e3) && R2(e3);
@@ -852,14 +851,14 @@ const It = (e2, t2) => X(Dt, { ref: t2, ...e2 }), Et = re(se((e2, t2) => {
852
851
  }, [g2, l2]);
853
852
  const A2 = x(t2, () => ({ activateTaskPane: M2 }), [n2, d2, l2, r2]), z2 = ie(() => C2.map((e3) => e3.key), [C2]), F2 = ie(() => {
854
853
  if (z2.length <= 1 && !m2) return null;
855
- return h2({ className: Mt.TaskPaneAreaStrip, taskPanes: z2, selected: v2?.key, onSelect: (e3) => {
854
+ return h2({ className: Rt.TaskPaneAreaStrip, taskPanes: z2, selected: v2?.key, onSelect: (e3) => {
856
855
  M2(e3);
857
856
  }, registry: n2 }, null);
858
857
  }, [z2, v2, n2, m2]), D2 = v2?.elem;
859
- return Y("div", { ref: A2, className: De("taskpane-area", o2, Mt.TaskPaneArea), style: p2, children: [D2, F2] });
860
- })), Ht = new p("transparent");
861
- function Nt(e2) {
862
- const { sheet: r2, onRepeatCommandChange: i2, bodyStyle: c2, commands: p2, target: w2, onStartEdit: v2, getViewport: q2 } = e2, y2 = I(), C2 = Rt(), [b2, S2] = ae(null), [x2, T2] = ae(null), F2 = de(null), L2 = k(v2, [v2]), B2 = k(q2, [q2]), O2 = ie(() => ({ serializer: { parse: (e3) => e3 ? r2?.getStyles().parseColor(e3) : null, stringify: (e3) => e3 ? e3.toString() : null } }), [r2]), [$2, W2] = E("sheet.lastBorder", null), [U2, _2] = E("sheet.lastFillColor", r2?.getStyles().parseColor(g.Scheme.Bg2), O2), [G2, Z2] = E("sheet.lastFontColor", r2?.getStyles().parseColor(r2?.getStyles().getNormal().getFont().getFill()), O2), j2 = H();
858
+ return Y("div", { ref: A2, className: De("taskpane-area", o2, Rt.TaskPaneArea), style: p2, children: [D2, F2] });
859
+ })), Et = new p("transparent");
860
+ function Ht(e2) {
861
+ const { sheet: r2, onRepeatCommandChange: i2, bodyStyle: c2, commands: p2, target: w2, onStartEdit: v2, getViewport: q2 } = e2, y2 = I(), C2 = Tt(), [b2, S2] = ae(null), [x2, T2] = ae(null), F2 = de(null), L2 = k(v2, [v2]), B2 = k(q2, [q2]), O2 = ie(() => ({ serializer: { parse: (e3) => e3 ? r2?.getStyles().parseColor(e3) : null, stringify: (e3) => e3 ? e3.toString() : null } }), [r2]), [$2, W2] = E("sheet.lastBorder", null), [U2, _2] = E("sheet.lastFillColor", r2?.getStyles().parseColor(g.Scheme.Bg2), O2), [G2, Z2] = E("sheet.lastFontColor", r2?.getStyles().parseColor(r2?.getStyles().getNormal().getFont().getFill()), O2), j2 = H();
863
862
  de(j2.getMode()).current = j2.getMode();
864
863
  const K2 = N(), [J2, Q2] = ae(ee.EmptyArray), te2 = ue(() => {
865
864
  if (F2.current !== r2) return;
@@ -1348,17 +1347,17 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
1348
1347
  if (t2) return void j2.setMode(null);
1349
1348
  return Oe2.getCommand("copy").execute({ editMode: { key: "formatPainter", description: "Use the mouse to apply the copied format to another selection.", cursor: `url("data:image/svg+xml,%3Csvg width='30' height='22' viewBox='0 0 30 22' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 26.737611,2.811068 V 2.0241451 c 0,-0.4328075 -0.354115,-0.7869227 -0.786923,-0.7869227 h -9.443074 c -0.432808,0 -0.786923,0.3541152 -0.786923,0.7869227 v 3.1476914 c 0,0.4328076 0.354115,0.7869235 0.786923,0.7869235 h 9.443074 c 0.432808,0 0.786923,-0.3541159 0.786923,-0.7869235 V 4.3849137 h 0.786923 v 3.1476915 h -7.869229 v 8.6561518 c 0,0.432808 0.354116,0.786923 0.786923,0.786923 h 1.573846 c 0.432807,0 0.786923,-0.354115 0.786923,-0.786923 V 9.1064513 H 29.09838 V 2.811068 Z M 10.714339,6.2116849 c -1.60877,0.0017 -3.2175361,0.00425 -4.8263048,0.00609 0.0012,1.5756989 0.00158,3.1513905 0.00244,4.7270891 -1.5978311,0.0017 -3.1956617,0.0034 -4.7934919,0.0043 0.00335,1.740011 0.00655,3.480012 0.00988,5.220023 1.5954589,0 3.1909181,0 4.7863775,0 -0.0017,1.606793 -0.00353,3.213585 -0.0051,4.820375 1.7440936,0.0016 3.4881881,0.0033 5.2322842,0.005 -0.0014,-1.608503 -0.0018,-3.217015 -0.0028,-4.825519 1.58518,0 3.17036,0 4.755543,0 0.0033,-1.741851 0.0073,-3.483705 0.01072,-5.225556 -1.58808,0 -3.176158,0 -4.764238,0 0,-1.5775391 0,-3.1550792 0,-4.7326117 -0.135065,1.3e-4 -0.270128,1.982e-4 -0.40519,4.047e-4 z' stroke='black' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A") 7 12, pointer` } });
1350
1349
  });
1351
- } }, [j2, Ne2, p2]), Ct(r2.getView(), { onFreezeSplitChange: () => {
1350
+ } }, [j2, Ne2, p2]), yt(r2.getView(), { onFreezeSplitChange: () => {
1352
1351
  Le2();
1353
- } }), Ct(r2.getSelection(), { onChange: () => {
1352
+ } }), yt(r2.getSelection(), { onChange: () => {
1354
1353
  ne2();
1355
1354
  } });
1356
1355
  const Ge2 = () => {
1357
1356
  Oe2.getCommand("sheetViewFormatGridlinesColor").update({ state: () => r2.getView().getGridLineColor(), context: () => ({ onColorSelect: (e3) => {
1358
1357
  }, darkMode: c2.darkMode, autoColor: r2.getStyles().parseColor(c2.strokeFill), schemeLookup: r2.getStyles().schemeLookup(), recentColors: () => r2.getStyles().recentColors(), addRecentColor: (e3) => r2.getStyles().addRecentColor(e3), clearRecentColors: () => r2.getStyles().clearRecentColors() }) }), Oe2.getCommand("formatSheetTabColor").updateCallback((e3) => {
1359
1358
  r2.setTabColor(e3);
1360
- }).update({ state: () => r2?.getTabColor() ?? Ht, context: () => ({ onColorSelect: (e3) => {
1361
- }, darkMode: c2.darkMode, autoColor: Ht, schemeLookup: r2.getStyles().schemeLookup(), recentColors: () => r2.getStyles().recentColors(), addRecentColor: (e3) => r2.getStyles().addRecentColor(e3), clearRecentColors: () => r2.getStyles().clearRecentColors() }) });
1359
+ }).update({ state: () => r2?.getTabColor() ?? Et, context: () => ({ onColorSelect: (e3) => {
1360
+ }, darkMode: c2.darkMode, autoColor: Et, schemeLookup: r2.getStyles().schemeLookup(), recentColors: () => r2.getStyles().recentColors(), addRecentColor: (e3) => r2.getStyles().addRecentColor(e3), clearRecentColors: () => r2.getStyles().clearRecentColors() }) });
1362
1361
  }, Ze2 = () => {
1363
1362
  Oe2.getCommand("formatBorder").update({ context: () => ({ onBorderSelect: (e3) => {
1364
1363
  W2(e3);
@@ -1374,7 +1373,7 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
1374
1373
  }, [le2()?.getHyperlink(), Ne2]), ce(() => {
1375
1374
  const e3 = le2().getComments(), t2 = () => e3 ? "Edit" : "Insert", o2 = () => e3 ? "Comments" : "Comment";
1376
1375
  Oe2.getCommand("updateComments").update({ label: () => `${t2()} ${o2()}`, icon: () => e3 ? "CommentEdit" : "CommentInsert", scopedLabels: { contextMenu: `${t2()} ${o2()}…`, insert: `${o2()}…` } });
1377
- }, [le2()?.getComments(), Ne2]), Ct(r2, { onViewChange: () => {
1376
+ }, [le2()?.getComments(), Ne2]), yt(r2, { onViewChange: () => {
1378
1377
  const e3 = r2.getView();
1379
1378
  Oe2.getCommand("sheetViewToggleFormulaView").update({ state: e3.isShowFormulas() }), Oe2.getCommand("sheetViewToggleShowZeros").update({ state: e3.isShowZeros() }), Oe2.getCommand("gridlinesToggle").update({ state: e3.isShowColumnGridlines() || e3.isShowRowGridlines() }), Oe2.getCommand("sheetViewToggleGridlinesColumns").update({ state: e3.isShowColumnGridlines() }), Oe2.getCommand("sheetViewToggleGridlinesRows").update({ state: e3.isShowRowGridlines() }), Oe2.getCommand("sheetViewToggleShowHeadings").update({ state: e3.isShowColumnHeaders() || e3.isShowRowHeaders() }), Oe2.getCommand("sheetViewToggleShowHeadingColumns").update({ state: e3.isShowColumnHeaders() }), Oe2.getCommand("sheetViewToggleShowHeadingRows").update({ state: e3.isShowRowHeaders() }), Oe2.getCommand("sheetViewToggleShowHeadingsNumeric").update({ state: () => r2.getView().getColumnHeaderStyle() === m.HeaderTextStyle.Zero && r2.getView().getRowHeaderStyle() === m.HeaderTextStyle.Zero }), Ge2();
1380
1379
  }, onTabColorChange: () => {
@@ -1457,8 +1456,8 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
1457
1456
  }, icon: () => X(D, { iconKey: "fill.colored" }), context: () => {
1458
1457
  const e4 = r2.getStyles();
1459
1458
  return { onColorSelect: (e5) => {
1460
- _2(e5 ?? Ht);
1461
- }, darkMode: c2.darkMode, quickColor: U2, autoColor: Ht, schemeLookup: e4.schemeLookup(), recentColors: e4.recentColors(), addRecentColor: (t3) => e4.addRecentColor(t3), clearRecentColors: () => e4.clearRecentColors() };
1459
+ _2(e5 ?? Et);
1460
+ }, darkMode: c2.darkMode, quickColor: U2, autoColor: Et, schemeLookup: e4.schemeLookup(), recentColors: e4.recentColors(), addRecentColor: (t3) => e4.addRecentColor(t3), clearRecentColors: () => e4.clearRecentColors() };
1462
1461
  } }), Oe2.getCommand("formatFontColor").update({ state: () => Ke2.toJSON()?.fill ? Ke2.getFill() : null, icon: () => X(D, { iconKey: "text.colored" }), context: () => {
1463
1462
  const e4 = r2.getStyles();
1464
1463
  return { onColorSelect: (e5) => {
@@ -1728,58 +1727,69 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
1728
1727
  Oe2.getCommand("formatTextRotate0").update(a2), Oe2.getCommand("formatTextRotate45").update(a2), Oe2.getCommand("formatTextRotate90").update(a2), Oe2.getCommand("formatTextRotate270").update(a2), Oe2.getCommand("formatTextRotate315").update(a2), Oe2.getCommand("formatTextRotateCustom").update(a2), Oe2.getCommand("formatTextRotateVertical").update(a2);
1729
1728
  }, [Ve2]), Oe2;
1730
1729
  }
1731
- const Pt = "_sheet-scrollbar_104cg_1", Vt = re(se((e2, t2) => {
1732
- const { style: o2 = S.EmptyCssProperties, orientation: n2, sheet: l2, onShowTooltip: r2, onCloseTooltip: i2, onScrollOffset: a2, showCustomScrollButtons: s2 = true, offset: d2 = 0, totalSize: c2 = 0, viewportSize: g2 = 0, className: u2, endGap: h2, ...m2 } = e2;
1733
- if (!l2) throw new Error("SheetScrollBar needs a sheet model");
1734
- const [p2] = Fe(), f2 = k(r2, [r2]), w2 = k(i2, [i2]), v2 = He(p2, t2), [q2, y2] = ae(() => {
1730
+ const Nt = "_sheet-scrollbar_104cg_1", Pt = re(se((e2, t2) => {
1731
+ const { style: o2 = S.EmptyCssProperties, orientation: n2, sheet: l2, onShowTooltip: r2, onCloseTooltip: i2, onScrollOffset: a2, showCustomScrollButtons: s2, offset: d2 = 0, totalSize: c2 = 0, viewportSize: g2 = 0, className: u2, endGap: h2, ...m2 } = e2;
1732
+ if (!l2) throw new Error("SheetScrollbar needs an ISheet");
1733
+ const p2 = k(r2, [r2]), f2 = k(i2, [i2]), w2 = le.useRef(null), v2 = ze([w2, t2]), q2 = n2 === L.Vertical, [y2, C2] = ae(() => {
1735
1734
  const e3 = l2.getView().getTopLeft();
1736
- return n2 === L.Vertical ? e3.top : e3.left;
1737
- }), C2 = () => {
1735
+ return q2 ? e3.top : e3.left;
1736
+ }), b2 = () => {
1738
1737
  const e3 = l2.getView().getFreezePanes();
1739
- if (n2 === L.Vertical) {
1738
+ if (q2) {
1740
1739
  if (0 === e3.coords.rowIndex) return { shift: 0, scroll: 0 };
1741
1740
  return { shift: l2.getRowHeaders().findOffset(e3.coords.rowIndex) - e3.topLeft.top, scroll: e3.topLeft.top };
1742
1741
  }
1743
1742
  if (0 === e3.coords.colIndex) return { shift: 0, scroll: 0 };
1744
1743
  return { shift: l2.getColumnHeaders().findOffset(e3.coords.colIndex) - e3.topLeft.left, scroll: e3.topLeft.left };
1745
- }, [b2, x2] = ae(C2), [T2, R2] = ae(null), [M2, A2] = ae(false), z2 = n2 === L.Vertical ? l2.getRowHeaders() : l2.getColumnHeaders(), F2 = () => {
1744
+ }, [x2, T2] = ae(b2), [R2, M2] = ae(null), [A2, z2] = ae(false), F2 = n2 === L.Vertical ? l2.getRowHeaders() : l2.getColumnHeaders(), D2 = () => {
1746
1745
  const e3 = l2.getUsedRange()?.getCoords() ?? oe.EmptyRange, t3 = l2.getSelection().getCoords().cell;
1747
1746
  return { colIndex: Math.max(e3.colEnd, t3.colIndex), rowIndex: Math.max(e3.rowEnd, t3.rowIndex) };
1748
- }, [D2, I2] = ae(F2), E2 = D2 ? (n2 === L.Vertical ? D2.rowIndex : D2.colIndex) + 1 : 0, H2 = () => {
1749
- const e3 = F2();
1750
- oe.isEqualCells(D2, e3) || I2(e3);
1747
+ }, [I2, E2] = ae(D2), H2 = I2 ? (q2 ? I2.rowIndex : I2.colIndex) + 1 : 0, N2 = () => {
1748
+ const e3 = D2();
1749
+ oe.isEqualCells(I2, e3) || E2(e3);
1751
1750
  };
1752
- Ct(l2.getView(), { onFreezeSplitChange: () => {
1753
- x2(C2);
1754
- } }), Ct(l2.getSelection(), { onChange: H2 }), Ct(l2, { onUsedRangeChange: H2 }), ce(() => {
1755
- I2(F2());
1756
- }, [l2]), ce(() => {
1757
- if (!T2) return M2 && w2?.(), void A2(false);
1758
- const e3 = z2.getTextAt(z2.findIndex(q2 / (l2.getView().getZoomScale() / 100) + b2.scroll + b2.shift));
1759
- A2(true), f2?.({ ...T2, display: (n2 === L.Vertical ? "Row" : "Column") + ": " + e3 });
1760
- }, [d2, q2, b2, n2, T2, z2, M2, l2]);
1761
- const N2 = k((e3, t3, o3) => {
1762
- y2(e3);
1763
- const n3 = e3 + b2.scroll, l3 = t3 + b2.shift, r3 = o3 + b2.shift + b2.scroll;
1751
+ yt(l2.getView(), { onFreezeSplitChange: () => {
1752
+ T2(b2);
1753
+ } }), yt(l2.getSelection(), { onChange: N2 }), yt(l2, { onUsedRangeChange: N2 }), ce(() => {
1754
+ E2(D2());
1755
+ }, [l2]);
1756
+ const P2 = d2 - x2.scroll, V2 = g2 - x2.shift, O2 = c2 - (x2.shift + x2.scroll), $2 = F2.findOffset(H2) * (l2.getView().getZoomScale() / 100) - (x2.scroll + x2.shift);
1757
+ ce(() => {
1758
+ if (!R2) return A2 && f2?.(), void z2(false);
1759
+ _2(q2, y2, V2, h2, R2, l2, F2, x2);
1760
+ }, [q2, d2, y2, V2, h2, x2, n2, R2, F2, A2, l2]);
1761
+ const W2 = k((e3, t3, o3) => {
1762
+ C2(e3);
1763
+ const n3 = e3 + x2.scroll, l3 = t3 + x2.shift, r3 = o3 + x2.shift + x2.scroll;
1764
1764
  a2?.(n3, l3, r3);
1765
- }, [a2, b2]), P2 = d2 - b2.scroll, V2 = g2 - b2.shift, O2 = c2 - (b2.shift + b2.scroll), $2 = z2.findOffset(E2) * (l2.getView().getZoomScale() / 100) - (b2.scroll + b2.shift);
1766
- return ie(() => X(B, { ref: v2, className: De(u2, Pt), style: o2, offset: P2, viewportSize: V2, totalSize: O2, orientation: n2, showCustomScrollButtons: s2, onMouseDown: (e3) => {
1767
- R2({ anchor: { x: e3.clientX, y: e3.clientY } }), e3.preventDefault();
1768
- }, onScrollOffset: N2, onMouseOut: () => {
1769
- R2(null);
1765
+ }, [a2, x2]), U2 = ue((e3, t3, o3, l3, r3, i3, a3, s3) => {
1766
+ const d3 = a3.getTextAt(a3.findIndex(t3 / (i3.getView().getZoomScale() / 100) + s3.scroll + s3.shift)), c3 = { ...r3, display: (n2 === L.Vertical ? "Row" : "Column") + ": " + d3 };
1767
+ if (w2.current) {
1768
+ const t4 = w2.current.querySelector('[role="slider"]');
1769
+ if (t4) {
1770
+ const o4 = t4.getBoundingClientRect();
1771
+ e3 ? c3.anchor.y = o4.top + o4.height / 2 : c3.anchor.x = o4.left + o4.width / 2;
1772
+ }
1773
+ }
1774
+ z2(true), p2?.(c3);
1775
+ }, []), _2 = k(ee.debounce(U2, 90), []);
1776
+ return ie(() => X(B, { ref: v2, className: De(u2, Nt), style: o2, offset: P2, viewportSize: V2, totalSize: O2, orientation: n2, showCustomScrollButtons: s2, onMouseDown: (e3) => {
1777
+ M2({ anchor: { x: e3.clientX, y: e3.clientY } }), e3.preventDefault();
1778
+ }, onScrollOffset: W2, onMouseOut: () => {
1779
+ M2(null);
1770
1780
  }, onMouseUp: () => {
1771
- R2(null);
1781
+ M2(null);
1772
1782
  }, minSize: $2, ...m2 }), [u2, P2, V2, O2, n2, s2, o2, $2, h2]);
1773
1783
  }));
1774
- Vt.displayName = "SheetScrollbar";
1775
- const Lt = (e2, t2, o2 = null) => {
1784
+ Pt.displayName = "SheetScrollbar";
1785
+ const Vt = (e2, t2, o2 = null) => {
1776
1786
  const n2 = [];
1777
1787
  for (let l2 = 0; l2 < e2.length; l2++) if (e2[l2].value.isSelectedAll) {
1778
1788
  if (e2[l2].min === e2[l2].max && e2[l2].min === o2) continue;
1779
1789
  n2.push({ address: { min: e2[l2].min, max: e2[l2].max }, update: t2 });
1780
1790
  }
1781
1791
  return n2;
1782
- }, Bt = re(se((e2, t2) => {
1792
+ }, Lt = re(se((e2, t2) => {
1783
1793
  const { sheetHeader: o2, gridRef: n2, sheetElement: l2, commands: r2, oppositeSize: i2 = 30, containerWidth: a2, containerHeight: d2, headerText: c2, freezeStart: g2, gridStyle: u2, verticalPadding: h2, horizontalPadding: m2, onSheetContextMenu: p2, onResizeHeadersStart: f2, onResizeHeaders: w2, onResizeHeadersEnd: v2, onResizeHeadersDown: q2, onResizeHeadersUp: y2, scrollPoint: C2, onSelectionStart: b2, onSelectionEnd: T2 } = e2, R2 = ie(() => o2.getOrientation(), [o2]), M2 = de(null), [A2, z2] = pe((e3) => e3 + 1, 0), [F2, D2] = pe((e3) => e3 + 1, 0), I2 = o2?.getSheet(), E2 = de(false);
1784
1794
  ge(() => {
1785
1795
  E2.current = true;
@@ -1788,7 +1798,7 @@ const Lt = (e2, t2, o2 = null) => {
1788
1798
  const e3 = R2 === s.Orientation.Column;
1789
1799
  return { left: e3 ? C2.left : 0, top: e3 ? 0 : C2.top };
1790
1800
  }, [C2]), [V2, L2] = ae(I2?.getView().getZoomScale() / 100), [B2, $2] = ae(null);
1791
- Ct(o2, { onSizesChange: (e3) => {
1801
+ yt(o2, { onSizesChange: (e3) => {
1792
1802
  L2(I2?.getView().getZoomScale() / 100), he2(re2());
1793
1803
  } });
1794
1804
  const W2 = ue(() => {
@@ -1796,7 +1806,7 @@ const Lt = (e2, t2, o2 = null) => {
1796
1806
  }, []), U2 = ue(ee.debounce(() => {
1797
1807
  W2();
1798
1808
  }, 10), []), [_2, G2] = ae(null);
1799
- Ct(o2.getSheet(), { onSelectionChange() {
1809
+ yt(o2.getSheet(), { onSelectionChange() {
1800
1810
  G2(I2?.getSelection().getCoords()), U2();
1801
1811
  }, onProtectionChange() {
1802
1812
  W2();
@@ -1824,7 +1834,7 @@ const Lt = (e2, t2, o2 = null) => {
1824
1834
  const a3 = o2.getSelectedRuns();
1825
1835
  a3.length > 1 ? r3 = "Resize " + (l3 ? "Columns" : "Rows") : i3 = a3[0];
1826
1836
  const s2 = { hidden: t3 <= 0, size: (t3 <= 0 ? n3 : t3) / V2 };
1827
- o2.updateHeaderPairs(Lt(a3, s2, e3));
1837
+ o2.updateHeaderPairs(Vt(a3, s2, e3));
1828
1838
  }
1829
1839
  if (i3) {
1830
1840
  const e4 = i3.max - i3.min + 1;
@@ -1847,7 +1857,7 @@ const Lt = (e2, t2, o2 = null) => {
1847
1857
  }
1848
1858
  t3 || a3({ min: e3, max: e3 }), o2.getSheet().getRanges(r3).autoFit({ orientations: n3 ? s.Orientations.Column : s.Orientations.Row });
1849
1859
  if (Z2(e3)) {
1850
- const n4 = { hidden: null }, l4 = Lt(i3, n4);
1860
+ const n4 = { hidden: null }, l4 = Vt(i3, n4);
1851
1861
  t3 || l4.push({ address: e3, update: n4 }), o2.updateHeaderPairs(l4);
1852
1862
  }
1853
1863
  v2?.(e3, null, "Resize Column(s)");
@@ -1970,10 +1980,10 @@ const Lt = (e2, t2, o2 = null) => {
1970
1980
  return ce(() => {
1971
1981
  E2.current = false, M2.current?.invalidate(), D2();
1972
1982
  }, [o2, u2]), Ne2;
1973
- })), Ot = re(se((e2, t2) => {
1974
- const { view: o2, sheet: n2, getVisibleCells: l2, gridStyle: r2 } = e2, i2 = k((e3, t3) => e3.getStyle().getBorder(), []), { overlay: a2 } = ct({ getVisibleCells: l2, getBorderAt: i2, darkMode: r2.body.darkMode, shiftIfWide: true }), s2 = a2(o2);
1983
+ })), Bt = re(se((e2, t2) => {
1984
+ const { view: o2, sheet: n2, getVisibleCells: l2, gridStyle: r2 } = e2, i2 = k((e3, t3) => e3.getStyle().getBorder(), []), { overlay: a2 } = dt({ getVisibleCells: l2, getBorderAt: i2, darkMode: r2.body.darkMode, shiftIfWide: true }), s2 = a2(o2);
1975
1985
  return s2 && o2 ? s2 : null;
1976
- })), $t = { key: "copy", description: "'Copy' Select destination and press ENTER or choose Paste." }, Wt = { key: "cut", description: "'Cut' Select destination and press ENTER or choose Paste." }, Ut = { type: o.Content.Values }, _t = { fitDestination: true, type: o.Content.Formats }, Gt = { fitDestination: true, type: o.Content.Formulas }, Zt = { transpose: true }, jt = { fitDestination: true, adjustCells: (e2, t2, o2) => ({ value: `=${t2.getA1({ $colIndex: true, $rowIndex: true })}` }) }, Kt = ({ element: e2, sheet: t2, sheetView: n2, commands: l2, onClipboardUpdate: r2, onPaste: i2, selectionRenderer: a2 = Te, copyForegroundColor: d2 = "rgb(33, 115, 70)", cutForegroundColor: c2 = "rgb(33, 115, 70)", copyBackgroundColor: g2 = "white", cutBackgroundColor: u2 = "white", ...h2 }) => {
1986
+ })), Ot = { key: "copy", description: "'Copy' Select destination and press ENTER or choose Paste." }, $t = { key: "cut", description: "'Cut' Select destination and press ENTER or choose Paste." }, Wt = { type: o.Content.Values }, Ut = { fitDestination: true, type: o.Content.Formats }, _t = { fitDestination: true, type: o.Content.Formulas }, Gt = { transpose: true }, Zt = { fitDestination: true, adjustCells: (e2, t2, o2) => ({ value: `=${t2.getA1({ $colIndex: true, $rowIndex: true })}` }) }, jt = ({ element: e2, sheet: t2, sheetView: n2, commands: l2, onClipboardUpdate: r2, onPaste: i2, selectionRenderer: a2 = Te, copyForegroundColor: d2 = "rgb(33, 115, 70)", cutForegroundColor: c2 = "rgb(33, 115, 70)", copyBackgroundColor: g2 = "white", cutBackgroundColor: u2 = "white", ...h2 }) => {
1977
1987
  const m2 = k(a2, [a2]), p2 = de(null), f2 = H(), q2 = f2.getMode(), y2 = ie(() => ({ element: e2, doCopy: (e3) => {
1978
1988
  const o2 = t2.getSelectedRanges().getSnapshot(e3);
1979
1989
  return new w(o2);
@@ -1996,7 +2006,7 @@ const Lt = (e2, t2, o2 = null) => {
1996
2006
  } }), [t2, n2, e2]), { clipboard: b2, ...S2 } = F({ ...h2, source: y2, commands: l2, target: C2, onClipboardUpdate: (e3) => {
1997
2007
  const t3 = "range" === e3?.getItemType() ? e3 : null;
1998
2008
  if (t3) {
1999
- const t4 = e3.editMode?.(), o2 = { ...e3?.isCut?.() ? Wt : $t, ...t4, args: { isClipboard: true, ...t4?.args }, onModeChange: (e4) => {
2009
+ const t4 = e3.editMode?.(), o2 = { ...e3?.isCut?.() ? $t : Ot, ...t4, args: { isClipboard: true, ...t4?.args }, onModeChange: (e4) => {
2000
2010
  e4?.args?.isClipboard || b2.clear(true), t4?.onModeChange?.(e4);
2001
2011
  } };
2002
2012
  f2.setMode(o2);
@@ -2021,7 +2031,7 @@ const Lt = (e2, t2, o2 = null) => {
2021
2031
  }, [l2, e2]), ce(() => {
2022
2032
  if (!l2) return;
2023
2033
  const e3 = { disabled: !t2.getProtection().isFormatCellsAllowed() };
2024
- l2.getCommand("pasteValues").updateCallback((e4) => S2.paste({ ...Ut, ...e4 })).update(e3), l2.getCommand("pasteFormats").updateCallback((e4, t3) => S2.paste({ ..._t, description: t3.label(), ...e4 })).update(e3), l2.getCommand("pasteFormulas").updateCallback((e4, t3) => S2.paste({ ...Gt, description: t3.label(), ...e4 })).update(e3), l2.getCommand("pasteTranspose").updateCallback((e4, t3) => S2.paste({ ...Zt, description: t3.label(), ...e4 })).update(e3), l2.getCommand("pasteLinks").updateCallback((e4, t3) => S2.paste({ ...jt, description: t3.label(), ...e4 })).update(e3), l2.getCommand("cut").update(e3), l2.getCommand("paste").update(e3);
2034
+ l2.getCommand("pasteValues").updateCallback((e4) => S2.paste({ ...Wt, ...e4 })).update(e3), l2.getCommand("pasteFormats").updateCallback((e4, t3) => S2.paste({ ...Ut, description: t3.label(), ...e4 })).update(e3), l2.getCommand("pasteFormulas").updateCallback((e4, t3) => S2.paste({ ..._t, description: t3.label(), ...e4 })).update(e3), l2.getCommand("pasteTranspose").updateCallback((e4, t3) => S2.paste({ ...Gt, description: t3.label(), ...e4 })).update(e3), l2.getCommand("pasteLinks").updateCallback((e4, t3) => S2.paste({ ...Zt, description: t3.label(), ...e4 })).update(e3), l2.getCommand("cut").update(e3), l2.getCommand("paste").update(e3);
2025
2035
  }, [t2, l2]);
2026
2036
  const x2 = ie(() => {
2027
2037
  if (!q2 || !p2.current) return;
@@ -2040,13 +2050,13 @@ const Lt = (e2, t2, o2 = null) => {
2040
2050
  } : null;
2041
2051
  }, [q2, t2, n2, d2, g2, c2, u2]);
2042
2052
  return { ...S2, clipboard: b2, overlays: x2 };
2043
- }, Xt = re(se((e2, t2) => {
2044
- const { view: o2, element: n2, sheet: l2, gridStyle: r2, commands: i2 } = e2, a2 = r2.body ?? {}, s2 = l2.getView(), { overlays: d2 } = Kt({ element: n2, sheet: l2, sheetView: s2, commands: i2, copyForegroundColor: r2.selection.strokeFill, copyBackgroundColor: a2.fill, cutForegroundColor: r2.selectionRemove.strokeFill, cutBackgroundColor: a2.fill });
2045
- return Ct(l2?.getSelection(), { onChange(e3) {
2053
+ }, Kt = re(se((e2, t2) => {
2054
+ const { view: o2, element: n2, sheet: l2, gridStyle: r2, commands: i2 } = e2, a2 = r2.body ?? {}, s2 = l2.getView(), { overlays: d2 } = jt({ element: n2, sheet: l2, sheetView: s2, commands: i2, copyForegroundColor: r2.selection.strokeFill, copyBackgroundColor: a2.fill, cutForegroundColor: r2.selectionRemove.strokeFill, cutBackgroundColor: a2.fill });
2055
+ return yt(l2?.getSelection(), { onChange(e3) {
2046
2056
  } }), ce(() => {
2047
2057
  o2?.getStage();
2048
2058
  }, [o2?.getStage()]), d2 && o2 ? d2(o2) : null;
2049
- })), Yt = "_sheet-selection_12wyx_5", Jt = { key: "dragCut", description: "Drag selection to move cell contents.", cursor: "move" }, Qt = { key: "dragCutInsert", description: "Drag selection to insert cell contents.", cursor: "copy" }, eo = { key: "dragCopy", description: "Drag selection to copy cell contents." }, to = { key: "dragCopyInsert", description: "Drag selection to insert copied cell contents.", cursor: "move" }, oo = (e2, t2) => t2.ctrlKey && t2.shiftKey ? to : t2.ctrlKey ? eo : t2.shiftKey ? Qt : Jt, no = { key: "fill", description: "Drag selection to extend series or fill.", cursor: "crosshair" }, lo = re(se((e2, t2) => {
2059
+ })), Xt = "_sheet-selection_12wyx_5", Yt = { key: "dragCut", description: "Drag selection to move cell contents.", cursor: "move" }, Jt = { key: "dragCutInsert", description: "Drag selection to insert cell contents.", cursor: "copy" }, Qt = { key: "dragCopy", description: "Drag selection to copy cell contents." }, eo = { key: "dragCopyInsert", description: "Drag selection to insert copied cell contents.", cursor: "move" }, to = (e2, t2) => t2.ctrlKey && t2.shiftKey ? eo : t2.ctrlKey ? Qt : t2.shiftKey ? Jt : Yt, oo = { key: "fill", description: "Drag selection to extend series or fill.", cursor: "crosshair" }, no = re(se((e2, t2) => {
2050
2060
  const { view: o2, commands: n2, className: l2, onFirstRender: r2, onShowTooltip: i2, onCloseTooltip: a2, sheet: d2, gridRef: c2, gridStyle: g2, isActive: u2, editingCoords: h2, ...m2 } = e2, p2 = o2?.getBounds(), f2 = k(i2, [i2]), w2 = k(a2, [a2]), [v2, q2] = ae(() => d2?.getSelection().getCoords()), y2 = k((e3) => {
2051
2061
  oe.isEqualSelectionCoords(e3, v2) || d2 && d2.getSelection().updateCoords(e3);
2052
2062
  }, [d2, v2]), C2 = H(), b2 = de(null), [T2, R2] = ae(d2?.getProtection().isLocked()), [M2, A2] = ae(d2?.getView().getMovableSelection().length > 0), z2 = "touch" === S.detectIt().primaryInput, F2 = !z2 && u2, D2 = h2 ?? C2.getMode()?.args?.stateAndCoords?.coords ?? null, E2 = null !== D2 || M2, N2 = k((e3) => {
@@ -2079,18 +2089,18 @@ const Lt = (e2, t2, o2 = null) => {
2079
2089
  const e3 = C2.getMode();
2080
2090
  return "cut" === e3?.key || "copy" === e3?.key;
2081
2091
  }, [C2]);
2082
- Ct(d2?.getView(), { onMovableSelectionChange: () => {
2092
+ yt(d2?.getView(), { onMovableSelectionChange: () => {
2083
2093
  A2(d2.getView().getMovableSelection().length > 0);
2084
- } }), Ct(d2?.getSelection(), { onChange(e3) {
2094
+ } }), yt(d2?.getSelection(), { onChange(e3) {
2085
2095
  const t3 = d2.getSelection().getCoords();
2086
2096
  q2(t3);
2087
- } }), Ct(d2, { onProtectionChange: () => {
2097
+ } }), yt(d2, { onProtectionChange: () => {
2088
2098
  R2(d2.getProtection().isLocked());
2089
2099
  } });
2090
2100
  const { body: G2 = {} } = g2 || {}, Z2 = I(), j2 = o2.getLayout(), K2 = !(F2 && v2.ranges.length <= 1 && null === D2 && !T2 && (!C2.getMode() || _2)), { cursor: Y2, overlay: J2, onPointerDown: Q2 } = ye({ gridRef: c2, commands: n2, layout: j2, getCellCoordsAsRangeCoords: N2, selection: v2, fillHandleBorderColor: G2.fill, selectionBackgroundColor: u2 ? g2.selection.fill : g2.selectionInactive.fill, selectionBorderColor: u2 ? g2.selection.strokeFill : g2.selectionInactive.strokeFill, selectionRemoveBackgroundColor: u2 ? g2.selectionRemove.fill : g2.selectionInactive.fill, selectionRemoveBorderColor: u2 ? g2.selectionRemove.strokeFill : g2.selectionInactive.strokeFill, disableFillDrag: K2, disableMoveDrag: z2 || !(u2 && v2.ranges.length <= 1 && null === D2 && !T2), disableTouchSelection: E2, onSelectionChange: y2, onSelectionDragStart: W2, onSelectionDragEnd: U2, onMoveDragStart: (e3, t3, o3) => {
2091
- C2.setMode(oo(0, o3));
2101
+ C2.setMode(to(0, o3));
2092
2102
  }, onMoveDragUpdate: (e3, t3, o3) => {
2093
- C2.setMode(oo(0, o3));
2103
+ C2.setMode(to(0, o3));
2094
2104
  }, onMoveDragEnd: (e3, t3) => {
2095
2105
  C2.setMode(null);
2096
2106
  }, onMoveDragDone: async (e3, t3, o3) => {
@@ -2132,7 +2142,7 @@ const Lt = (e2, t2, o2 = null) => {
2132
2142
  }
2133
2143
  }, onFillPreview: (e3, t3, n3) => {
2134
2144
  if (c2.current && f2) {
2135
- C2.setMode(no);
2145
+ C2.setMode(oo);
2136
2146
  try {
2137
2147
  b2.current?.direction !== n3 && (b2.current = null, d2.getRange(e3).autoFill(t3, { previewOnly: (e4) => {
2138
2148
  b2.current = { callback: e4, direction: n3 };
@@ -2177,24 +2187,24 @@ const Lt = (e2, t2, o2 = null) => {
2177
2187
  };
2178
2188
  }, [o2?.getStage()]);
2179
2189
  const te2 = x(t2, () => ({}), []), ne2 = de(null);
2180
- return X("div", { className: De(l2, "sheet-selection", Yt), style: { position: "absolute", width: p2?.width, height: p2?.height, overflow: "hidden", pointerEvents: "none", willChange: "none" }, ref: ze([te2, ne2]), ...m2, children: J2(o2) });
2181
- })), ro = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), io = { fireOnModelChange: false }, ao = re(se((e2, t2) => {
2182
- const { children: o2, view: n2, movable: l2, onRefLoad: r2, onRefUnload: i2, onHide: a2, onShow: s2, onUnFocus: d2, isDragging: c2, updateFrameBounds: g2, dragStart: u2, style: h2, disabled: m2, renderMovable: p2, ...f2 } = e2, [w2, v2] = ae(ro), [q2, y2] = ae(null), [C2, b2] = ae(false), S2 = de(null);
2190
+ return X("div", { className: De(l2, "sheet-selection", Xt), style: { position: "absolute", width: p2?.width, height: p2?.height, overflow: "hidden", pointerEvents: "none", willChange: "none" }, ref: ze([te2, ne2]), ...m2, children: J2(o2) });
2191
+ })), lo = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), ro = { fireOnModelChange: false }, io = re(se((e2, t2) => {
2192
+ const { children: o2, view: n2, movable: l2, onRefLoad: r2, onRefUnload: i2, onHide: a2, onShow: s2, onUnFocus: d2, isDragging: c2, updateFrameBounds: g2, dragStart: u2, style: h2, disabled: m2, renderMovable: p2, ...f2 } = e2, [w2, v2] = ae(lo), [q2, y2] = ae(null), [C2, b2] = ae(false), S2 = de(null);
2183
2193
  ge(() => {
2184
2194
  if (l2.isClosed()) return;
2185
2195
  const e3 = l2.getBounds();
2186
2196
  if (!e3) return;
2187
2197
  const t3 = n2.toViewBounds(e3);
2188
- v2(t3 ?? ro), g2(t3 ?? ro);
2189
- }, [n2?.getBounds()]), Ct(l2, { onBoundsChange: (e3) => {
2198
+ v2(t3 ?? lo), g2(t3 ?? lo);
2199
+ }, [n2?.getBounds()]), yt(l2, { onBoundsChange: (e3) => {
2190
2200
  const t3 = e3.getBounds();
2191
2201
  if (!t3) return;
2192
2202
  const o3 = n2.toViewBounds(t3);
2193
- v2(o3 ?? ro), g2(o3);
2203
+ v2(o3 ?? lo), g2(o3);
2194
2204
  }, onSelectionChange: () => {
2195
2205
  const e3 = ee.hasFocus(S2.current, true);
2196
2206
  !C2 && !e3 || l2.isSelected() || d2();
2197
- } }), Ct(l2, { onRequestFocus: () => ee.whenFocus(S2.current, true) }, io), ce(() => {
2207
+ } }), yt(l2, { onRequestFocus: () => ee.whenFocus(S2.current, true) }, ro), ce(() => {
2198
2208
  const e3 = S2.current;
2199
2209
  return r2(e3), () => {
2200
2210
  i2(e3);
@@ -2213,11 +2223,11 @@ const Lt = (e2, t2, o2 = null) => {
2213
2223
  }, onBlur: (e3) => {
2214
2224
  q2 && !S2?.current?.contains(e3.relatedTarget) && y2(null), e3.relatedTarget && b2(false);
2215
2225
  }, ...f2, children: x2 });
2216
- })), so = "_movable-area_314c6_5", co = re(se((e2, t2) => {
2226
+ })), ao = "_movable-area_314c6_5", so = re(se((e2, t2) => {
2217
2227
  const { view: o2, movables: n2, movablesView: l2, renderMovable: r2, transactional: i2, onUnFocus: a2, onFocus: s2, disabled: d2 = false, disableDrag: c2 = false, disableResize: g2 = false, className: u2, style: h2, renderDirections: m2 = ["nw", "n", "ne", "w", "e", "sw", "s", "se"], onFirstRender: p2, ...f2 } = e2, w2 = o2.getBounds(), v2 = k(p2, [p2]), y2 = k(a2, [a2]), C2 = k(s2, [s2]), [b2, S2] = ae([]), [R2, M2] = ae(false), [A2, z2] = ae(false), F2 = de(true), D2 = de(/* @__PURE__ */ new Map()), I2 = de(/* @__PURE__ */ new Map()), E2 = de(/* @__PURE__ */ new Map()), H2 = de(/* @__PURE__ */ new Map()), N2 = de(/* @__PURE__ */ new Map()), P2 = de({ onRequestFocus: (e3) => (ne2(e3), null) }), V2 = de(null), L2 = de(null), B2 = de(null), [O2, $2] = pe((e3) => e3 + 1, 0);
2218
2228
  ge(() => {
2219
2229
  $2();
2220
- }, [o2, n2]), Ct(n2, { onCollectionChange: () => {
2230
+ }, [o2, n2]), yt(n2, { onCollectionChange: () => {
2221
2231
  const e3 = n2.getItems({ address: o2.getVisibleRangeCoords(), ignoreHidden: true }), t3 = N2.current;
2222
2232
  t3.forEach((e4) => {
2223
2233
  e4();
@@ -2232,7 +2242,7 @@ const Lt = (e2, t2, o2 = null) => {
2232
2242
  $2();
2233
2243
  }, onInvalidated: () => {
2234
2244
  $2();
2235
- } }), Ct(l2, { onMovableSelectionChange(e3) {
2245
+ } }), yt(l2, { onMovableSelectionChange(e3) {
2236
2246
  U2(), $2();
2237
2247
  } });
2238
2248
  const W2 = ue((e3, t3) => {
@@ -2283,7 +2293,7 @@ const Lt = (e2, t2, o2 = null) => {
2283
2293
  }), e4 ? he2() : me2();
2284
2294
  }
2285
2295
  }, style: { opacity: i4 ? R2 && a4 ? 0.7 : void 0 : 0, zIndex: R2 && a4 ? t4.getZIndex() + e3.length : void 0, pointerEvents: i4 ? void 0 : "none", cursor: A2 && a4 ? "grabbing" : d2 || c2 ? "initial" : "move", boxShadow: !a4 || A2 && !R2 ? void 0 : "1px 1px 2px 2px rgba(0,0,0,.15)" } };
2286
- return X(ao, { ...s4 }, `movable-${t4.getUUID()}`);
2296
+ return X(io, { ...s4 }, `movable-${t4.getUUID()}`);
2287
2297
  }, i3 = D2.current, a3 = /* @__PURE__ */ new Map(), s3 = [];
2288
2298
  for (let o3 = 0; o3 < e3.length; o3++) {
2289
2299
  const n3 = e3[o3];
@@ -2345,7 +2355,7 @@ const Lt = (e2, t2, o2 = null) => {
2345
2355
  Ce2.current = true;
2346
2356
  const e3 = le.lazy(async () => {
2347
2357
  try {
2348
- const e4 = await import("./DKLIXbtzq6HxItZV.mjs");
2358
+ const e4 = await import("./BN8kN5H-BmT7HHXm.mjs");
2349
2359
  return Ce2.current = false, be2.current = true, S2([...b2]), e4;
2350
2360
  } catch (e4) {
2351
2361
  return console.warn(e4), _2.current?.(false), null;
@@ -2389,7 +2399,7 @@ const Lt = (e2, t2, o2 = null) => {
2389
2399
  }, onDragEnd: (e3) => {
2390
2400
  }, onMouseUp: (e3) => {
2391
2401
  } }) }), [O2, qe2, b2, o2, d2, c2, g2, R2, A2]);
2392
- return X("div", { className: De(u2, "movable-area", so), style: { width: w2.width, height: w2.height, ...h2, position: "absolute", overflow: "hidden", willChange: "transform" }, ref: ze([ve2, we2]), ...f2, children: X("div", { className: "movable-scroll", style: { position: "absolute", cursor: "initial", left: 0, top: 0, width: w2.width, height: w2.height }, ...f2, children: Y("div", { ref: V2, style: { position: "absolute", pointerEvents: "auto" }, onFocus: (e3) => {
2402
+ return X("div", { className: De(u2, "movable-area", ao), style: { width: w2.width, height: w2.height, ...h2, position: "absolute", overflow: "hidden", willChange: "transform" }, ref: ze([ve2, we2]), ...f2, children: X("div", { className: "movable-scroll", style: { position: "absolute", cursor: "initial", left: 0, top: 0, width: w2.width, height: w2.height }, ...f2, children: Y("div", { ref: V2, style: { position: "absolute", pointerEvents: "auto" }, onFocus: (e3) => {
2393
2403
  C2?.(), Q2(true);
2394
2404
  }, onBlur: (e3) => {
2395
2405
  Q2(false);
@@ -2434,14 +2444,14 @@ const Lt = (e2, t2, o2 = null) => {
2434
2444
  l2.selectMovables(n2.getItems(), true), l2.selectMovables(t4, true), e3.preventDefault();
2435
2445
  } else "ArrowLeft" === e3.key ? (r3 ? s3(i3, false) : o3 ? a3(-10) : d3({ x: t3 ? -10 : -1 }), e3.preventDefault()) : "ArrowRight" === e3.key ? (r3 ? s3(i3, true) : o3 ? a3(10) : d3({ x: t3 ? 10 : 1 }), e3.preventDefault()) : "ArrowUp" === e3.key ? (r3 ? s3(i3, true) : d3({ y: t3 ? -10 : -1 }), e3.preventDefault()) : "ArrowDown" === e3.key && (r3 ? s3(i3, false) : d3({ y: t3 ? 10 : 1 }), e3.preventDefault());
2436
2446
  }, children: [re2, xe2] }) }) });
2437
- })), go = (e2) => {
2447
+ })), co = (e2) => {
2438
2448
  let t2 = Number.MAX_SAFE_INTEGER, o2 = Number.MAX_SAFE_INTEGER, n2 = 0, l2 = 0;
2439
2449
  for (let r2 = 0; r2 < e2.length; r2++) {
2440
2450
  const i2 = e2[r2].getBounds();
2441
2451
  t2 = Math.min(i2.x, t2), o2 = Math.min(i2.y, o2), n2 = Math.max(i2.x + i2.width, n2), l2 = Math.max(i2.y + i2.height, l2);
2442
2452
  }
2443
2453
  return { x: t2, y: o2, width: n2 - t2, height: l2 - o2 };
2444
- }, uo = (e2, t2 = true) => {
2454
+ }, go = (e2, t2 = true) => {
2445
2455
  const o2 = [], n2 = t2 ? "x" : "y", l2 = t2 ? "y" : "x", r2 = t2 ? "width" : "height";
2446
2456
  let i2 = 0, a2 = Number.MAX_SAFE_INTEGER, s2 = 0;
2447
2457
  for (let t3 = 0; t3 < e2.length; t3++) {
@@ -2460,7 +2470,7 @@ const Lt = (e2, t2, o2 = null) => {
2460
2470
  l3[n2] = t3[n2] + t3[r2] + d2, o2[e3].bounds = l3, c2.set(o2[e3].movable, l3);
2461
2471
  }
2462
2472
  return c2.set(o2[o2.length - 1].movable, o2[o2.length - 1].bounds), c2;
2463
- }, ho = (e2) => {
2473
+ }, uo = (e2) => {
2464
2474
  const { movables: t2, movablesView: o2, transactional: n2, commands: l2, target: r2, onRepeatCommandChange: i2 } = e2, a2 = I(), s2 = H();
2465
2475
  de(s2.getMode()).current = s2.getMode();
2466
2476
  const d2 = k(async (e3, t3, o3 = null, n3 = true) => {
@@ -2536,35 +2546,35 @@ const Lt = (e2, t2, o2 = null) => {
2536
2546
  }), new M("formatDrawAlignLeft", r2, { label: "Align Left", description: "Align the selected drawings to the left.", icon: "DrawAlignLeft" }, function() {
2537
2547
  u2(this, (e3, t3) => {
2538
2548
  e3.setBounds({ x: t3.x });
2539
- }, go);
2549
+ }, co);
2540
2550
  }), new M("formatDrawAlignCenter", r2, { label: "Align Center", description: "Align the selected drawings vertically relative to each other.", icon: "DrawAlignCenter" }, function() {
2541
2551
  u2(this, (e3, t3) => {
2542
2552
  e3.setBounds({ x: (t3.width - e3.getBounds().width) / 2 + t3.x });
2543
- }, go);
2553
+ }, co);
2544
2554
  }), new M("formatDrawAlignRight", r2, { label: "Align Right", description: "Align the selected drawings to the right.", icon: "DrawAlignRight" }, function() {
2545
2555
  u2(this, (e3, t3) => {
2546
2556
  e3.setBounds({ x: t3.width - e3.getBounds().width + t3.x });
2547
- }, go);
2557
+ }, co);
2548
2558
  }), new M("formatDrawAlignTop", r2, { label: "Align Top", description: "Align the selected drawings to the top.", icon: "DrawAlignTop" }, function() {
2549
2559
  u2(this, (e3, t3) => {
2550
2560
  e3.setBounds({ y: t3.y });
2551
- }, go);
2561
+ }, co);
2552
2562
  }), new M("formatDrawAlignMiddle", r2, { label: "Align Middle", description: "Align the selected drawings horizontally relative to each other.", icon: "DrawAlignMiddle" }, function() {
2553
2563
  u2(this, (e3, t3) => {
2554
2564
  e3.setBounds({ y: (t3.height - e3.getBounds().height) / 2 + t3.y });
2555
- }, go);
2565
+ }, co);
2556
2566
  }), new M("formatDrawAlignBottom", r2, { label: "Align Bottom", description: "Align the selected drawings to the bottom.", icon: "DrawAlignBottom" }, function() {
2557
2567
  u2(this, (e3, t3) => {
2558
2568
  e3.setBounds({ y: t3.height - e3.getBounds().height + t3.y });
2559
- }, go);
2569
+ }, co);
2560
2570
  }), new M("formatDrawDistributeHorz", r2, { label: "Distribute Horizontally", description: "Distribute the selected drawings horizontally with equal spacing between each.", icon: "DrawDistributeHorz" }, function() {
2561
2571
  u2(this, (e3, t3) => {
2562
2572
  e3.setBounds(t3.get(e3));
2563
- }, (e3) => uo(e3));
2573
+ }, (e3) => go(e3));
2564
2574
  }), new M("formatDrawDistributeVert", r2, { label: "Distribute Vertically", description: "Distribute the selected drawings vertically with equal spacing between each.", icon: "DrawDistributeVert" }, function() {
2565
2575
  u2(this, (e3, t3) => {
2566
2576
  e3.setBounds(t3.get(e3));
2567
- }, (e3) => uo(e3, false));
2577
+ }, (e3) => go(e3, false));
2568
2578
  }), new M("formatDrawFlipHorz", r2, { label: "Flip Horizontally", description: "Flip the selected drawings horizontally." }), new M("formatDrawFlipVert", r2, { label: "Flip Vertically", description: "Flip the selected drawings vertically." }), new M("formatDrawGroup", r2, { label: "Group", description: "Group the selected drawings into a single drawing.", icon: "DrawGroup" }), new M("formatDrawUngroup", r2, { label: "Ungroup", description: "Break the group of a drawing into individual drawings.", icon: "DrawUngroup" }), new M("formatDrawSwapShapes", r2, { label: "Swap Shapes", description: "Swap the positions of the swap." }), new M("formatDrawSwapShapesHorz", r2, { label: "Swap Shapes Horizontally", description: "Swap the positions of the swap horizontally." }), new M("formatDrawSwapShapesVert", r2, { label: "Swap Shapes Vertically", description: "Swap the positions of the swap vertically." })], [o2, h2]);
2569
2579
  ce(() => {
2570
2580
  }, [s2]);
@@ -2572,15 +2582,15 @@ const Lt = (e2, t2, o2 = null) => {
2572
2582
  let e3 = null;
2573
2583
  return e3 = l2 ? l2.createChildGroup(r2, "movable", false) : new z(r2, "movable"), e3.addCommands(w2, true), e3;
2574
2584
  }, [l2, w2]);
2575
- return Ct(h2, { onAnyChange: () => {
2585
+ return yt(h2, { onAnyChange: () => {
2576
2586
  v2.getCommand("formatAnchorTypeTwoCell").update({ state: h2?.getAnchorType() === y.Type.TwoCell }), v2.getCommand("formatAnchorTypeOneCell").update({ state: h2?.getAnchorType() === y.Type.OneCell }), v2.getCommand("formatAnchorTypeAbsolute").update({ state: h2?.getAnchorType() === y.Type.Absolute }), v2.getCommand("formatAnchorTypeAbsolute").update({ state: h2?.getAnchorType() === y.Type.Absolute }), v2.getCommand("toggleLockAspectRatio").update({ state: h2?.isLockAspectRatio() });
2577
2587
  }, onProtectedChange: (e3) => {
2578
2588
  f2(e3.isProtected());
2579
2589
  }, onDelete: () => {
2580
- } }), Ct(o2, { onMovableSelectionChange: () => {
2590
+ } }), yt(o2, { onMovableSelectionChange: () => {
2581
2591
  const e3 = o2.getMovableSelection()[0] ?? null;
2582
2592
  m2(e3), f2(!e3 || e3.isProtected()), g2();
2583
- } }), Ct(t2, { onCollectionChange: () => {
2593
+ } }), yt(t2, { onCollectionChange: () => {
2584
2594
  g2();
2585
2595
  } }), ce(() => {
2586
2596
  const e3 = { disabled: p2 };
@@ -2597,22 +2607,22 @@ const Lt = (e2, t2, o2 = null) => {
2597
2607
  const d3 = { disabled: p2 || l3.length <= 2 };
2598
2608
  v2.getCommand("formatDrawDistributeHorz").update(d3), v2.getCommand("formatDrawDistributeVert").update(d3);
2599
2609
  }, [c2, p2, c2]), v2;
2600
- }, mo = re(se((e2, t2) => {
2610
+ }, ho = re(se((e2, t2) => {
2601
2611
  const { children: o2, disabled: n2, description: l2, view: r2, isDragging: i2, onHide: a2, onShow: s2, ...d2 } = e2;
2602
2612
  ce(() => {
2603
2613
  }, [l2]);
2604
2614
  const c2 = x(t2, () => ({ isEmptyFrame: () => true }), []), [g2, { height: u2, width: h2 }] = Fe();
2605
2615
  return X("div", { ...d2, ref: ze([c2, g2]), children: X("div", { className: "chart-editor", style: { width: "100%", height: "100%", border: "var(--sxl-app-color-grey, grey) solid 1px", backgroundColor: "var(--sxl-app-color-background, white)", backgroundImage: "var(--sxl-app-image-background)", alignItems: "center", justifyContent: "center", zoom: r2.getZoom(), display: "flex", position: "relative", filter: n2 ? "blur(1px)" : void 0, boxShadow: i2 ? "1px 1px 2px var(--sxl-app-color-shadow, rgba(0,0,0,.15))" : void 0 }, children: X("div", { style: { textAlign: "center" }, children: l2 }) }) });
2606
- })), po = re(se((e2, t2) => {
2607
- const { view: o2, sheet: n2, movableProps: l2, renderMovable: r2, commands: i2, target: a2, onRepeatCommandChange: s2 } = e2, d2 = ho({ movables: n2.getMovables(), movablesView: n2?.getView(), transactional: n2, onRepeatCommandChange: s2, commands: i2, target: a2 });
2616
+ })), mo = re(se((e2, t2) => {
2617
+ const { view: o2, sheet: n2, movableProps: l2, renderMovable: r2, commands: i2, target: a2, onRepeatCommandChange: s2 } = e2, d2 = uo({ movables: n2.getMovables(), movablesView: n2?.getView(), transactional: n2, onRepeatCommandChange: s2, commands: i2, target: a2 });
2608
2618
  ce(() => {
2609
2619
  o2?.getStage();
2610
2620
  }, [o2?.getStage()]);
2611
- const c2 = ie(() => X(co, { ref: t2, view: o2, movables: n2.getMovables(), disableResize: !n2.getProtection().isObjectsAllowed(), disableDrag: !n2.getProtection().isObjectsAllowed(), movablesView: n2.getView(), transactional: n2, renderMovable: r2, ...l2, onFocus: () => {
2621
+ const c2 = ie(() => X(so, { ref: t2, view: o2, movables: n2.getMovables(), disableResize: !n2.getProtection().isObjectsAllowed(), disableDrag: !n2.getProtection().isObjectsAllowed(), movablesView: n2.getView(), transactional: n2, renderMovable: r2, ...l2, onFocus: () => {
2612
2622
  d2.activate(), l2?.onFocus?.();
2613
2623
  } }, "movable-area"), [n2, l2, i2, d2]);
2614
2624
  return c2 && o2 ? c2 : null;
2615
- })), fo = re(se((e2, t2) => {
2625
+ })), po = re(se((e2, t2) => {
2616
2626
  const { view: o2, sheet: n2, gridStyle: l2, getCellEditor: r2, showProtectedError: i2, setEditingCoords: a2, commands: d2 } = e2, c2 = H(), [g2, u2] = ae(null), [h2, m2] = ae(null), [p2, f2] = ae(null), [w2, v2] = ae(null), [y2, C2] = ae(null);
2617
2627
  ge(() => {
2618
2628
  if (null === p2) return v2(null), void C2(null);
@@ -2643,7 +2653,7 @@ const Lt = (e2, t2, o2 = null) => {
2643
2653
  if (r2) return r2(e3, t3);
2644
2654
  if (!n2) return null;
2645
2655
  const { ref: o3, ...i3 } = e3;
2646
- return X(lt, { ref: o3, ...i3, sheet: n2, bodyStyle: l2?.body, activeCoords: t3, commands: d2, onChangeEdit: (e4) => {
2656
+ return X(nt, { ref: o3, ...i3, sheet: n2, bodyStyle: l2?.body, activeCoords: t3, commands: d2, onChangeEdit: (e4) => {
2647
2657
  const o4 = { sheet: n2, coords: t3, editState: e4 };
2648
2658
  c2.setMode((e5) => ({ ...e5, description: o4.editState.editMode ? "Edit" : "Enter", args: { ...e5?.args, stateAndCoords: o4 } }));
2649
2659
  }, editState: h2.editState });
@@ -2653,7 +2663,7 @@ const Lt = (e2, t2, o2 = null) => {
2653
2663
  const t3 = e3.isLocked();
2654
2664
  return t3 && i2(), !t3;
2655
2665
  }, onBeforeStartEdit: (e3) => {
2656
- const t3 = rt(() => n2.getRange(e3).getCell()), o3 = { sheet: n2, coords: e3, editState: Object.freeze(t3) };
2666
+ const t3 = lt(() => n2.getRange(e3).getCell()), o3 = { sheet: n2, coords: e3, editState: Object.freeze(t3) };
2657
2667
  c2.setMode({ key: "edit", args: { stateAndCoords: o3 } }), m2(o3);
2658
2668
  }, onStartEdit: (e3) => {
2659
2669
  f2(e3), a2(e3);
@@ -2662,7 +2672,7 @@ const Lt = (e2, t2, o2 = null) => {
2662
2672
  }, onDoneEdit: (e3) => {
2663
2673
  c2.setMode(null);
2664
2674
  }, onNavigate: x2, containerProps: w2, borderStrokeFill: l2.selection?.strokeFill, borderStrokeWidth: n2?.getSelection().getCoords().ranges?.length > 1 ? 1 : 2, alignment: y2, getRangeCoords: S2 });
2665
- Ct(n2.getSelection(), { onChange(e3) {
2675
+ yt(n2.getSelection(), { onChange(e3) {
2666
2676
  u2(n2.getSelection().getCoords().cell);
2667
2677
  } });
2668
2678
  const I2 = k((e3) => {
@@ -2681,7 +2691,7 @@ const Lt = (e2, t2, o2 = null) => {
2681
2691
  const e3 = c2.getMode(), t3 = e3?.key;
2682
2692
  "edit" === t3 || "enter" === t3 ? h2 ? e3.args?.cancel ? z2() : e3.args?.submit ? A2() : m2(e3.args?.stateAndCoords) : M2(e3.args?.start) : p2 && z2();
2683
2693
  }, [c2]), R2(o2, t2);
2684
- })), wo = "white", vo = "black", qo = `url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='m 14.5,8 -5.6875,5.6875 v -3.25 H 1.5 v -4.875 h 7.3125 v -3.25 z' stroke='${vo}' fill='${wo}'/%3E%3C/g%3E%3C/svg%3E%0A") 15 8, pointer`, yo = `url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 13.24564,12.979958 H 5.2023009 L 7.500398,10.681861 2.3296796,5.5111425 5.7768252,2.0639969 10.947543,7.2347153 13.24564,4.9366182 Z' stroke='${vo}' fill='${wo}'/%3E%3C/g%3E%3C/svg%3E%0A") 12 12, pointer`, Co = re(se((e2, t2) => {
2694
+ })), fo = "white", wo = "black", vo = `url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='m 14.5,8 -5.6875,5.6875 v -3.25 H 1.5 v -4.875 h 7.3125 v -3.25 z' stroke='${wo}' fill='${fo}'/%3E%3C/g%3E%3C/svg%3E%0A") 15 8, pointer`, qo = `url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 13.24564,12.979958 H 5.2023009 L 7.500398,10.681861 2.3296796,5.5111425 5.7768252,2.0639969 10.947543,7.2347153 13.24564,4.9366182 Z' stroke='${wo}' fill='${fo}'/%3E%3C/g%3E%3C/svg%3E%0A") 12 12, pointer`, yo = re(se((e2, t2) => {
2685
2695
  const { view: o2, sheet: n2 } = e2, [l2, r2] = le.useState(n2.getTables().getCount() > 0), [i2, a2] = le.useState(null), [s2, d2] = le.useState(null), [c2, g2] = le.useState(null), [u2, h2] = le.useState(null), m2 = k(() => {
2686
2696
  if (n2.getTables().getCount() > 0) {
2687
2697
  r2(true);
@@ -2706,13 +2716,13 @@ const Lt = (e2, t2, o2 = null) => {
2706
2716
  const e3 = n2.getTables().getItems({ address: o2.getVisibleRangeCoords() });
2707
2717
  a2(e3.length > 0 ? e3 : null);
2708
2718
  }, [n2, l2, o2]);
2709
- Ct(n2?.getSelection(), { onChange(e3) {
2719
+ yt(n2?.getSelection(), { onChange(e3) {
2710
2720
  d2(n2.getSelection().getCoords().cell);
2711
- } }), Ct(c2, { onAnyChange(e3) {
2721
+ } }), yt(c2, { onAnyChange(e3) {
2712
2722
  m2(), w2();
2713
- } }), Ct(u2, { onAnyChange(e3) {
2723
+ } }), yt(u2, { onAnyChange(e3) {
2714
2724
  w2();
2715
- } }), Ct(n2, { onTablesChange(e3) {
2725
+ } }), yt(n2, { onTablesChange(e3) {
2716
2726
  m2(), w2();
2717
2727
  }, onInvalidated(e3) {
2718
2728
  m2(), w2();
@@ -2762,10 +2772,10 @@ const Lt = (e2, t2, o2 = null) => {
2762
2772
  }
2763
2773
  d3 || (d3 = "var(--sxl-app-color-shadow, rgba(0,0,0,.15))");
2764
2774
  }
2765
- y2.push(X("div", { style: { position: "absolute", left: s3.x, top: s3.y, width: Math.min(16, s3.width), height: s3.height, pointerEvents: "all", cursor: qo }, onMouseDown: f2 }, `table-select-row-${t3.getName()}`)), y2.push(X("div", { style: { position: "absolute", left: s3.x, top: s3.y, width: Math.min(16, s3.width), height: Math.min(16, s3.height), pointerEvents: "all", cursor: yo }, onMouseDown: p2 }, `table-select-${t3.getName()}`)), y2.push(X(Me, { x: s3.x, y: s3.y, width: s3.width, height: s3.height, range: a3, strokeWidth: r3 ? 0.5 : 0, stroke: d3 ?? "var(--sxl-app-color-grey, grey)", style: { willChange: "box-shadow", transition: "box-shadow 80ms ease-in-out", boxShadow: l3 ? `${d3} 0px 0px 1px 1px` : void 0 } }, `table-outline-${t3.getName()}`));
2775
+ y2.push(X("div", { style: { position: "absolute", left: s3.x, top: s3.y, width: Math.min(16, s3.width), height: s3.height, pointerEvents: "all", cursor: vo }, onMouseDown: f2 }, `table-select-row-${t3.getName()}`)), y2.push(X("div", { style: { position: "absolute", left: s3.x, top: s3.y, width: Math.min(16, s3.width), height: Math.min(16, s3.height), pointerEvents: "all", cursor: qo }, onMouseDown: p2 }, `table-select-${t3.getName()}`)), y2.push(X(Me, { x: s3.x, y: s3.y, width: s3.width, height: s3.height, range: a3, strokeWidth: r3 ? 0.5 : 0, stroke: d3 ?? "var(--sxl-app-color-grey, grey)", style: { willChange: "box-shadow", transition: "box-shadow 80ms ease-in-out", boxShadow: l3 ? `${d3} 0px 0px 1px 1px` : void 0 } }, `table-outline-${t3.getName()}`));
2766
2776
  }
2767
2777
  return y2;
2768
- })), bo = re(se((t2, o2) => {
2778
+ })), Co = re(se((t2, o2) => {
2769
2779
  const { view: n2, sheet: l2, animationTime: r2 = 60 } = t2, [i2, a2] = le.useState(null), [s2, d2] = le.useState(null), c2 = le.useRef(null), g2 = k(() => {
2770
2780
  const e2 = l2.getSelectedCell(), t3 = e2.getSpill()?.getCoords() ?? null;
2771
2781
  oe.isEqualRanges(t3, i2) || (d2(t3 ? { transition: i2 ? "move" : "in", bounds: n2.getRangeCoordsBounds(t3), coords: t3 } : { transition: "out", bounds: n2.getRangeCoordsBounds(i2), coords: i2 }), a2(t3));
@@ -2776,9 +2786,9 @@ const Lt = (e2, t2, o2 = null) => {
2776
2786
  c2.current && (clearTimeout(c2.current), c2.current = null);
2777
2787
  }), [s2, r2]);
2778
2788
  const u2 = le.useMemo(() => ee.debounce(ee.throttle(g2, 80), 80), []);
2779
- if (Ct(l2?.getSelection(), { onChange(e2) {
2789
+ if (yt(l2?.getSelection(), { onChange(e2) {
2780
2790
  u2();
2781
- } }), Ct(l2, { onSpillsChange(e2) {
2791
+ } }), yt(l2, { onSpillsChange(e2) {
2782
2792
  g2();
2783
2793
  }, onInvalidated(e2) {
2784
2794
  g2();
@@ -2789,11 +2799,11 @@ const Lt = (e2, t2, o2 = null) => {
2789
2799
  if (s2 && !ee.isEqualBounds(s2.bounds, n2.getRangeCoordsBounds(s2.coords)) && d2(null), p2 = n2.toClipBounds(p2, -10), !p2) return;
2790
2800
  const f2 = "var(--sxl-app-color-primary-dark, rgba(0,0,0,.15))";
2791
2801
  return m2.push(X(Me, { x: p2.x, y: p2.y, width: p2.width, height: p2.height, range: i2, strokeWidth: 1, stroke: f2, style: { willChange: "transform, opacity, width, height, opacity, left, top", strokeDasharray: h2 ? "6 3" : void 0, opacity: "out" === s2?.transition ? 0 : 1, transition: s2?.transition ? "in" === s2.transition || "out" === s2.transition ? `opacity ${1.5 * r2}ms ease-in-out` : `left ${r2}ms ease-out, top ${r2}ms ease-out, width ${r2}ms ease-out, height ${r2}ms ease-out` : "none", boxShadow: `${f2} 0px 0px 4px 0px` } }, "spill-outline}")), m2;
2792
- })), So = { position: "absolute", top: 0, left: 0, bottom: 0, right: 0 }, xo = (e2, t2) => {
2802
+ })), bo = { position: "absolute", top: 0, left: 0, bottom: 0, right: 0 }, So = (e2, t2) => {
2793
2803
  const o2 = { ...e2 }, n2 = t2?.getNormal().getFont(), l2 = n2?.toCSS(), r2 = { text: { fontFamily: l2?.fontFamily, fontSize: n2?.getSize() } }, i2 = o2.body = ee.mergeContentful(e2.body, r2);
2794
2804
  return o2.body = ee.mergeContentful({ fill: "#fff", strokeFill: "#dad8d6", strokeWidth: 0.5, text: { fontWeight: "400", fontStyle: "normal", fill: "#040404" } }, i2), o2.buttonSurface = ee.mergeContentful({ fill: "#fff", text: { fill: "black" }, edgeStrokeFill: "black" }, o2.buttonSurface), o2.selection = { fill: "rgba(16, 124, 65, 0.1)", strokeFill: "#217346", strokeWidth: 2, ...e2.selection }, o2.selectionInactive = { ...o2.selection, fill: "rgba(16, 124, 65, 0.1)", strokeFill: "#dad8d6", ...e2.selectionInactive }, o2.selectionRemove = { ...o2.selection, fill: "rgba(200, 0, 0, 0.1)", strokeFill: "rgba(200, 0, 0, 1)", ...e2.selectionRemove }, o2.headerSelection = { ...o2.selection, ...e2.headerSelection }, o2.headerSelectionInactive = { ...o2.selectionInactive, ...e2.headerSelectionInactive }, o2.header = ee.mergeContentful(o2.body, { edgeStrokeFill: "rgb(171, 171, 171)", fill: "#f0f0f0", strokeShadow: void 0, edgeStrokeWidth: 1 }, e2.header), o2.header = ee.mergeContentful(o2.header, r2), o2.headerSelect = ee.mergeContentful(o2.header, { fill: "rgba(16, 124, 65, 0.1)", text: { fill: o2.headerSelection.strokeFill, fontWeight: "700" } }, e2.headerSelect), o2.headerSelect = ee.mergeContentful(o2.headerSelect, r2), o2.headerSelectAll = ee.mergeContentful(o2.headerSelect, {}, e2.headerSelectAll), o2.headerSelectAll = ee.mergeContentful(o2.headerSelectAll, r2), o2;
2795
- }, ko = { fireOnModelChange: false }, To = {}, Ro = re(se((e2, t2) => {
2796
- const { sheet: o2, gridStyle: n2 = To, headersStyle: l2 = To, onSheetContextMenu: r2, showColumnHeaders: s2, columnHeaderProps: d2, showRowHeaders: g2, rowHeaderProps: u2, showScrollbars: h2 = true, scrollPaneProps: m2, onViewportChange: p2, commands: w2, onRepeatCommandChange: v2, onMoveCell: q2, overlays: y2, renderMovable: C2, viewportComponent: b2, onElementLoad: R2, getCellEditor: M2, onFocus: A2, onBlur: z2, style: F2 = S.EmptyCssProperties, onShowTooltip: D2, onShowColumnTooltip: E2, onShowRowTooltip: N2, onCloseTooltip: V2, gridProps: L2, cellRenderProps: B2, ...$2 } = e2;
2805
+ }, xo = { fireOnModelChange: false }, ko = {}, To = re(se((e2, t2) => {
2806
+ const { sheet: o2, gridStyle: n2 = ko, headersStyle: l2 = ko, onSheetContextMenu: r2, showColumnHeaders: s2, columnHeaderProps: d2, showRowHeaders: g2, rowHeaderProps: u2, showScrollbars: h2 = true, scrollPaneProps: m2, onViewportChange: p2, commands: w2, onRepeatCommandChange: v2, onMoveCell: q2, overlays: y2, renderMovable: C2, viewportComponent: b2, onElementLoad: R2, getCellEditor: M2, onFocus: A2, onBlur: z2, style: F2 = S.EmptyCssProperties, onShowTooltip: D2, onShowColumnTooltip: E2, onShowRowTooltip: N2, onCloseTooltip: V2, gridProps: L2, cellRenderProps: B2, ...$2 } = e2;
2797
2807
  if (le.useEffect(() => {
2798
2808
  c._validate(true);
2799
2809
  }, []), !o2) throw new Error("ISheet must be provided.");
@@ -2801,7 +2811,7 @@ const Lt = (e2, t2, o2 = null) => {
2801
2811
  ge(() => {
2802
2812
  he2.current = true;
2803
2813
  }, [o2]);
2804
- const me2 = o2?.getStyles(), pe2 = ie(() => xo(n2, me2), [n2, me2]), fe2 = ie(() => xo(l2, me2), [l2, me2]), { body: ve2 = {}, buttonSurface: qe2 = {} } = pe2, { header: ye2 = {}, headerSelect: Ce2 = {}, headerSelectAll: be2 = {} } = fe2, xe2 = de(null), [ke2, Te2] = ae(() => o2?.getView()), Re2 = (ke2?.getZoomScale() ?? 100) / 100, Me2 = ie(() => ({ vertical: ke2.isShowColumnGridlines() && Re2 >= 0.4, horizontal: ke2.isShowRowGridlines() && Re2 >= 0.4 }), [ke2?.isShowColumnGridlines(), ke2?.isShowRowGridlines(), Re2]), ze2 = ie(() => {
2814
+ const me2 = o2?.getStyles(), pe2 = ie(() => So(n2, me2), [n2, me2]), fe2 = ie(() => So(l2, me2), [l2, me2]), { body: ve2 = {}, buttonSurface: qe2 = {} } = pe2, { header: ye2 = {}, headerSelect: Ce2 = {}, headerSelectAll: be2 = {} } = fe2, xe2 = de(null), [ke2, Te2] = ae(() => o2?.getView()), Re2 = (ke2?.getZoomScale() ?? 100) / 100, Me2 = ie(() => ({ vertical: ke2.isShowColumnGridlines() && Re2 >= 0.4, horizontal: ke2.isShowRowGridlines() && Re2 >= 0.4 }), [ke2?.isShowColumnGridlines(), ke2?.isShowRowGridlines(), Re2]), ze2 = ie(() => {
2805
2815
  if (ke2?.getGridLineColor()) return { strokeDasharray: "1,1" };
2806
2816
  }, [ke2?.getGridLineColor(), pe2]), Ie2 = s2 ?? ke2?.isShowColumnHeaders(), Ee2 = g2 ?? ke2?.isShowRowHeaders(), [He2, Ne2] = ae({ width: 0, height: 0 }), Pe2 = ie(() => {
2807
2817
  let e3 = 40, t3 = 20;
@@ -2811,7 +2821,7 @@ const Lt = (e2, t2, o2 = null) => {
2811
2821
  e3 = r3.width, t3 = r3.lineHeight;
2812
2822
  }
2813
2823
  return { width: Math.round(e3 + 5), height: Math.round(t3 + 3) };
2814
- }, [He2, pe2?.header.text, o2]), Ve2 = Ee2 ? Re2 * Pe2.width : ye2.edgeStrokeWidth, Le2 = Ie2 ? Re2 * Pe2.height : ye2.edgeStrokeWidth, Be2 = Math.max(Z2, (o2?.getColumnHeaders().getDefaultSize() ?? Pe2.width) + Ve2 + 1), Oe2 = Math.max(j2, (o2?.getRowHeaders().getDefaultSize() ?? Pe2.height) + Le2 + 1), $e2 = de(/* @__PURE__ */ new Map()), We2 = de(null), Ue2 = () => ({ getColOffset: (e3) => o2.getColumnHeaders().findOffset(e3), getColIndex: (e3) => o2.getColumnHeaders().findIndex(e3), getRowOffset: (e3) => o2.getRowHeaders().findOffset(e3), getRowIndex: (e3) => o2.getRowHeaders().findIndex(e3) }), [_e2, Ge2] = ae(() => Ue2()), [Ze2, je2] = ae(false), [Ke2, Xe2] = ae(null), Ye2 = true, Je2 = pe2.selection?.strokeFill, Qe2 = ue(() => jt2.current, []), [tt2, ot2] = ae(), nt2 = k((e3) => {
2824
+ }, [He2, pe2?.header.text, o2]), Ve2 = Ee2 ? Re2 * Pe2.width : ye2.edgeStrokeWidth, Le2 = Ie2 ? Re2 * Pe2.height : ye2.edgeStrokeWidth, Be2 = Math.max(Z2, (o2?.getColumnHeaders().getDefaultSize() ?? Pe2.width) + Ve2 + 1), Oe2 = Math.max(j2, (o2?.getRowHeaders().getDefaultSize() ?? Pe2.height) + Le2 + 1), $e2 = de(/* @__PURE__ */ new Map()), We2 = de(null), Ue2 = () => ({ getColOffset: (e3) => o2.getColumnHeaders().findOffset(e3), getColIndex: (e3) => o2.getColumnHeaders().findIndex(e3), getRowOffset: (e3) => o2.getRowHeaders().findOffset(e3), getRowIndex: (e3) => o2.getRowHeaders().findIndex(e3) }), [_e2, Ge2] = ae(() => Ue2()), [Ze2, je2] = ae(false), [Ke2, Xe2] = ae(null), Ye2 = true, Je2 = pe2.selection?.strokeFill, et2 = ue(() => jt2.current, []), [tt2, ot2] = ae(), nt2 = k((e3) => {
2815
2825
  ot2(e3);
2816
2826
  const t3 = o2 ? o2.getView() : null;
2817
2827
  t3 && t3.setTopLeft(e3 ? { left: e3.left, top: e3.top } : null), p2?.(e3);
@@ -2835,7 +2845,7 @@ const Lt = (e2, t2, o2 = null) => {
2835
2845
  return e3.coords.colIndex > 0 && (t3[Q.Left] = { index: e3.coords.colIndex, scrollOffset: e3.topLeft.left }), e3.coords.rowIndex > 0 && (t3[Q.Top] = { index: e3.coords.rowIndex, scrollOffset: e3.topLeft.top }), t3;
2836
2846
  }, [dt2, ct2] = ae(() => st2(o2.getView().getFreezePanes())), gt2 = H(), ut2 = ue(() => xe2.current, []), ht2 = k((e3) => {
2837
2847
  gt2.setMode((t3) => "edit" === t3?.key ? { ...t3, args: { ...t3.args } } : { key: "edit", args: { stateAndCoords: null, start: e3 } });
2838
- }, []), mt2 = k(() => tt2, [tt2]), pt2 = Nt({ sheet: o2, commands: w2, target: ut2, onRepeatCommandChange: v2, bodyStyle: ve2, onStartEdit: ht2, getViewport: mt2 }), [ft2, qt2] = ae(o2.getSelection().isEntire()), [bt2, St2] = ae(ke2?.getMovableSelection().length > 0), xt2 = null !== Ke2 || bt2, kt2 = null, [Tt2, Rt2] = ae(false);
2848
+ }, []), mt2 = k(() => tt2, [tt2]), pt2 = Ht({ sheet: o2, commands: w2, target: ut2, onRepeatCommandChange: v2, bodyStyle: ve2, onStartEdit: ht2, getViewport: mt2 }), [vt2, Ct2] = ae(o2.getSelection().isEntire()), [bt2, St2] = ae(ke2?.getMovableSelection().length > 0), xt2 = null !== Ke2 || bt2, kt2 = null, [Tt2, Rt2] = ae(false);
2839
2849
  ce(() => {
2840
2850
  Rt2(false);
2841
2851
  }, [o2.getProtection()]);
@@ -2844,34 +2854,34 @@ const Lt = (e2, t2, o2 = null) => {
2844
2854
  }, [Mt2, Tt2]), zt2 = ie(() => {
2845
2855
  const e3 = gt2.getMode();
2846
2856
  return e3?.cursor ? e3.cursor : null;
2847
- }, [kt2, gt2]), [Ft2, Dt2] = ae(null), It2 = de(false), [Et2, Ht2] = ae([]), Pt2 = de(null), [Lt2, $t2] = ae(te.EmptyTopLeft), [Wt2, Ut2] = ae(te.EmptyTopLeft);
2857
+ }, [kt2, gt2]), [Ft2, Dt2] = ae(null), It2 = de(false), [Et2, Nt2] = ae([]), Vt2 = de(null), [Ot2, $t2] = ae(te.EmptyTopLeft), [Wt2, Ut2] = ae(te.EmptyTopLeft);
2848
2858
  ce(() => {
2849
2859
  $t2({ left: rt2?.left, top: 0 });
2850
2860
  }, [rt2?.left]), ce(() => {
2851
2861
  Ut2({ left: 0, top: rt2?.top });
2852
- }, [rt2?.top]), Ct(o2?.getView(), { onFreezeSplitChange: () => {
2862
+ }, [rt2?.top]), yt(o2?.getView(), { onFreezeSplitChange: () => {
2853
2863
  ct2(st2(o2.getView().getFreezePanes()));
2854
2864
  }, onTopLeftChange: () => {
2855
2865
  it2(o2.getView().getTopLeft());
2856
2866
  }, onMovableSelectionChange: () => {
2857
2867
  St2(o2.getView().getMovableSelection().length > 0);
2858
- } }), Ct(o2?.getSelection(), { onChange: () => {
2859
- qt2(o2.getSelection().isEntire());
2860
- } }), Ct(o2, { onViewChange() {
2868
+ } }), yt(o2?.getSelection(), { onChange: () => {
2869
+ Ct2(o2.getSelection().isEntire());
2870
+ } }), yt(o2, { onViewChange() {
2861
2871
  Te2(o2.getView()), Ge2(Ue2());
2862
2872
  }, onLayoutChange: () => {
2863
2873
  const e3 = o2.getEntireRange();
2864
2874
  Ne2({ height: e3.getRowCount(), width: e3.getColumnCount() }), Ge2(Ue2());
2865
2875
  }, onStyleChange: () => {
2866
- Kt2();
2876
+ Xt2();
2867
2877
  }, onMovablesChange: () => {
2868
2878
  }, onInvalidated: () => {
2869
- Kt2();
2870
- } }), Ct(o2, { onRequestScrollIntoView: async (e3, t3) => {
2879
+ Xt2();
2880
+ } }), yt(o2, { onRequestScrollIntoView: async (e3, t3) => {
2871
2881
  if (!t3) return;
2872
2882
  const o3 = { colIndex: t3?.coords?.colStart, rowIndex: t3?.coords?.rowStart };
2873
2883
  return await xe2.current?.scrollCellCoordsIntoView(o3, t3?.scroll), true;
2874
- }, onRequestFocus: () => ee.whenFocus(jt2.current) }, ko);
2884
+ }, onRequestFocus: () => ee.whenFocus(jt2.current) }, xo);
2875
2885
  const _t2 = de(false), Gt2 = ie(() => {
2876
2886
  const e3 = ee.debounce((e4) => {
2877
2887
  requestAnimationFrame(() => {
@@ -2954,14 +2964,14 @@ const Lt = (e2, t2, o2 = null) => {
2954
2964
  gt2.setMode((e4) => "edit" !== e4?.key ? e4 : { key: "edit", args: { stateAndCoords: null, cancel: true } });
2955
2965
  }, isEditing: null !== Ke2, focus: (n3) => {
2956
2966
  o2?.getView().getMovableSelection().length > 0 && t3() || e3(n3);
2957
- }, focusSheet: e3, focusMovable: t3, contains: (e4) => xe2?.current?.contains?.(e4), invalidate: Kt2, isSheetElement: () => true, getSheet: () => o2 };
2958
- }, [o2]), Kt2 = ue((e3) => {
2967
+ }, focusSheet: e3, focusMovable: t3, contains: (e4) => xe2?.current?.contains?.(e4), invalidate: Xt2, isSheetElement: () => true, getSheet: () => o2 };
2968
+ }, [o2]), Xt2 = ue((e3) => {
2959
2969
  he2.current || (xe2?.current?.invalidate(e3), _2?.());
2960
2970
  }, []);
2961
2971
  ce(() => {
2962
- Kt2();
2972
+ Xt2();
2963
2973
  }, [pe2]);
2964
- const Yt2 = ft2 ? be2.edgeStrokeFill : ye2.fill, Jt2 = ft2 ? Ce2.fill : "function" == typeof pe2.headerHover ? pe2.headerHover(ye2)?.fill : ye2.fill, Qt2 = ie(() => b2 ? X("div", { className: De("sheetxl-viewport-overlay", vt), style: { width: "100%", height: "100%", boxSizing: "border-box", position: "absolute" }, children: b2 }) : X(J, {}), [b2]);
2974
+ const Yt2 = vt2 ? be2.edgeStrokeFill : ye2.fill, Jt2 = vt2 ? Ce2.fill : "function" == typeof pe2.headerHover ? pe2.headerHover(ye2)?.fill : ye2.fill, Qt2 = ie(() => b2 ? X("div", { className: De("sheetxl-viewport-overlay", wt), style: { width: "100%", height: "100%", boxSizing: "border-box", position: "absolute" }, children: b2 }) : X(J, {}), [b2]);
2965
2975
  let eo2 = null;
2966
2976
  Ie2 && Ee2 && (eo2 = Y("div", { tabIndex: -1, className: "top-left-corner", style: { padding: "2 2", position: "absolute", height: `${Le2}px`, width: `${Ve2}px`, zIndex: 1, boxSizing: "border-box", cursor: "cell" }, onMouseDown: (e3) => {
2967
2977
  let t3 = !e3.ctrlKey;
@@ -2972,13 +2982,13 @@ const Lt = (e2, t2, o2 = null) => {
2972
2982
  if (!r2) return;
2973
2983
  const t3 = xe2.current.getViewFromClient(e3.clientX, e3.clientY)?.getCellCoordsFromClient(e3.clientX, e3.clientY);
2974
2984
  t3 && (r2({ originalEvent: e3, clientX: e3.clientX, clientY: e3.clientY, rowIndex: t3.rowIndex, colIndex: t3.colIndex }), e3.stopPropagation(), e3.preventDefault());
2975
- }, [r2]), no2 = k((e3) => {
2985
+ }, [r2]), lo2 = k((e3) => {
2976
2986
  if (!(!e3.shiftKey && (e3.ctrlKey || e3.metaKey))) return;
2977
2987
  const { deltaY: t3 } = e3;
2978
2988
  return t3 > 0 ? pt2.getCommand("sheetZoomOut")?.execute() : t3 < 0 && pt2.getCommand("sheetZoomIn")?.execute(), 0 === t3;
2979
2989
  }, [pt2]);
2980
2990
  ce(() => {
2981
- Ht2(null), Pt2.current = null, It2.current = false, Dt2(null);
2991
+ Nt2(null), Vt2.current = null, It2.current = false, Dt2(null);
2982
2992
  const e3 = o2?.getView().getTopLeft();
2983
2993
  to2(e3), xe2.current?.scrollTo(e3), it2(e3), Te2(o2.getView()), ct2(st2(o2.getView().getFreezePanes())), Ge2(Ue2()), _2();
2984
2994
  }, [o2?.getView()]);
@@ -3001,7 +3011,7 @@ const Lt = (e2, t2, o2 = null) => {
3001
3011
  }, [o2, ke2.isShowZeros(), ke2.isShowFormulas(), Ke2]);
3002
3012
  ce(() => {
3003
3013
  const e3 = [];
3004
- y2 && e3.push(...y2), Ft2 && e3.push(...Ft2), ee.isEqualArrays(e3, Pt2.current) || (Pt2.current = e3, Ht2(e3));
3014
+ y2 && e3.push(...y2), Ft2 && e3.push(...Ft2), ee.isEqualArrays(e3, Vt2.current) || (Vt2.current = e3, Nt2(e3));
3005
3015
  }, [y2, Ft2, pe2]);
3006
3016
  const so2 = ie(() => ({ style: { boxShadow: `0.5px 0.5px 0px 0px ${n2?.body?.fill}` }, pathProps: { stroke: n2?.body?.text?.fill ?? "black" } }), [pe2?.header?.edgeStrokeFill]), co2 = k((e3) => {
3007
3017
  e3.isDefaultPrevented() || e3.isPropagationStopped() || (We2.current = null, o2?.getView().getMovableSelection().length > 0 && o2.getView().selectMovables([]));
@@ -3011,7 +3021,7 @@ const Lt = (e2, t2, o2 = null) => {
3011
3021
  }, [gt2]), uo2 = k(async (e3) => {
3012
3022
  const t3 = gt2.getMode();
3013
3023
  return e3.keyCode === T.Escape && t3 ? (e3.preventDefault(), void gt2.setMode(null)) : e3.keyCode === T.Enter && go2 ? (e3.preventDefault(), await pt2?.getCommand("paste")?.execute(), void gt2.setMode(null)) : void pt2?.dispatchToFocusedCommand(e3);
3014
- }, [pt2, gt2]), ho2 = de(null), mo2 = ie(() => X("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${Le2 + 1}px`, width: `${Ve2 + ye2.edgeStrokeWidth}px`, minWidth: `${Ve2 + ye2.edgeStrokeWidth}px`, borderRight: `solid ${ye2.edgeStrokeWidth}px ${ye2.edgeStrokeFill}`, height: `calc(100% - ${Le2}px)`, boxSizing: "border-box", zIndex: "2" }, children: X(Bt, { ref: ho2, sheetElement: jt2.current, gridRef: xe2, freezeStart: dt2?.[Q.Top], oppositeSize: Ve2, containerWidth: Ve2, containerHeight: Oe2, sheetHeader: o2.getRowHeaders(), gridStyle: fe2, verticalPadding: Math.max(0, Math.floor(o2.getStyles().getNormal().getFont().getSize() / 10)), scrollPoint: Wt2, onSheetContextMenu: r2, tabIndex: -1, style: { position: "relative", flex: "0", top: `${Le2 + 1}px`, width: `${Ve2 + ye2.edgeStrokeWidth}px`, minWidth: `${Ve2 + ye2.edgeStrokeWidth}px`, borderRight: `solid ${ye2.edgeStrokeWidth}px ${ye2.edgeStrokeFill}`, height: `calc(100% - ${Le2}px)`, boxSizing: "border-box", zIndex: "2", ...Zt2?.style }, ...Zt2 }) }), [Ve2, Le2, Oe2, o2, Wt2, dt2?.[Q.Top], pe2, Ye2, r2, ye2.fill, u2]), wo2 = de(null), vo2 = ie(() => X("div", { tabIndex: -1, style: { position: "relative", left: "0px", width: "100%", height: `${Le2 + ye2.edgeStrokeWidth}px`, minHeight: `${Le2 + ye2.edgeStrokeWidth}px`, borderBottom: `solid ${ye2.edgeStrokeWidth}px ${ye2.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" }, children: X(Bt, { ref: wo2, sheetElement: jt2.current, gridRef: xe2, freezeStart: dt2?.[Q.Left], oppositeSize: Le2, containerWidth: Be2, containerHeight: Le2, sheetHeader: o2.getColumnHeaders(), gridStyle: fe2, scrollPoint: Lt2, onSheetContextMenu: r2, ...Gt2, style: { ...Gt2?.style, position: "relative", left: "0px", width: "100%", height: `${Le2 + ye2.edgeStrokeWidth}px`, minHeight: `${Le2 + ye2.edgeStrokeWidth}px`, borderBottom: `solid ${ye2.edgeStrokeWidth}px ${ye2.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" } }) }), [Le2, Be2, o2, Lt2, dt2?.[Q.Left], pe2, ye2.fill, Ye2, r2, d2]), qo2 = k((e3) => {
3024
+ }, [pt2, gt2]), ho2 = de(null), fo2 = ie(() => X("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${Le2 + 1}px`, width: `${Ve2 + ye2.edgeStrokeWidth}px`, minWidth: `${Ve2 + ye2.edgeStrokeWidth}px`, borderRight: `solid ${ye2.edgeStrokeWidth}px ${ye2.edgeStrokeFill}`, height: `calc(100% - ${Le2}px)`, boxSizing: "border-box", zIndex: "2" }, children: X(Lt, { ref: ho2, sheetElement: jt2.current, gridRef: xe2, freezeStart: dt2?.[Q.Top], oppositeSize: Ve2, containerWidth: Ve2, containerHeight: Oe2, sheetHeader: o2.getRowHeaders(), gridStyle: fe2, verticalPadding: Math.max(0, Math.floor(o2.getStyles().getNormal().getFont().getSize() / 10)), scrollPoint: Wt2, onSheetContextMenu: r2, tabIndex: -1, style: { position: "relative", flex: "0", top: `${Le2 + 1}px`, width: `${Ve2 + ye2.edgeStrokeWidth}px`, minWidth: `${Ve2 + ye2.edgeStrokeWidth}px`, borderRight: `solid ${ye2.edgeStrokeWidth}px ${ye2.edgeStrokeFill}`, height: `calc(100% - ${Le2}px)`, boxSizing: "border-box", zIndex: "2", ...Zt2?.style }, ...Zt2 }) }), [Ve2, Le2, Oe2, o2, Wt2, dt2?.[Q.Top], pe2, Ye2, r2, ye2.fill, u2]), wo2 = de(null), vo2 = ie(() => X("div", { tabIndex: -1, style: { position: "relative", left: "0px", width: "100%", height: `${Le2 + ye2.edgeStrokeWidth}px`, minHeight: `${Le2 + ye2.edgeStrokeWidth}px`, borderBottom: `solid ${ye2.edgeStrokeWidth}px ${ye2.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" }, children: X(Lt, { ref: wo2, sheetElement: jt2.current, gridRef: xe2, freezeStart: dt2?.[Q.Left], oppositeSize: Le2, containerWidth: Be2, containerHeight: Le2, sheetHeader: o2.getColumnHeaders(), gridStyle: fe2, scrollPoint: Ot2, onSheetContextMenu: r2, ...Gt2, style: { ...Gt2?.style, position: "relative", left: "0px", width: "100%", height: `${Le2 + ye2.edgeStrokeWidth}px`, minHeight: `${Le2 + ye2.edgeStrokeWidth}px`, borderBottom: `solid ${ye2.edgeStrokeWidth}px ${ye2.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" } }) }), [Le2, Be2, o2, Ot2, dt2?.[Q.Left], pe2, ye2.fill, Ye2, r2, d2]), qo2 = k((e3) => {
3015
3025
  const { value: t3, key: n3, ...l3 } = e3;
3016
3026
  let r3 = t3, i2 = Ke2;
3017
3027
  if (!i2 || i2.colIndex === e3.coords.colIndex && i2.rowIndex === e3.coords.rowIndex || (i2 = null), !r3) {
@@ -3030,12 +3040,12 @@ const Lt = (e2, t2, o2 = null) => {
3030
3040
  }
3031
3041
  }), i2 && i2.colIndex === e3.range.colStart && i2.rowIndex === e3.range.rowStart && (r3 = r3.createTemporaryCell({ value: null }));
3032
3042
  const s3 = o2.getStyles();
3033
- return we(et, { ...l3, key: n3, bodyStyle: ve2, docTheme: s3.getTheme(), normalStyle: s3.getNormal(), showFormulas: ke2.isShowFormulas(), showZeros: ke2.isShowZeros(), onLinkMouseDown: a2, ...B2, value: r3 });
3034
- }, [o2, _e2, ve2, Ke2, ke2?.isShowFormulas(), ke2.isShowZeros()]), yo2 = ue((e3, t3) => {
3043
+ return we(Qe, { ...l3, key: n3, bodyStyle: ve2, docTheme: s3.getTheme(), normalStyle: s3.getNormal(), showFormulas: ke2.isShowFormulas(), showZeros: ke2.isShowZeros(), onLinkMouseDown: a2, ...B2, value: r3 });
3044
+ }, [o2, _e2, ve2, Ke2, ke2?.isShowFormulas(), ke2.isShowZeros()]), To2 = ue((e3, t3) => {
3035
3045
  const { key: n3, ...l3 } = e3;
3036
- return [X(Ot, { ref: t3, getVisibleCells: ao2, sheet: o2, gridStyle: pe2, ...l3 }, `border-${n3}`), X(Co, { ref: t3, sheet: o2, commands: pt2, ...l3 }, `table-${n3}`), X(bo, { ref: t3, sheet: o2, ...l3 }, `spill-${n3}`), X(lo, { ref: t3, sheet: o2, commands: pt2, onShowTooltip: K2, onCloseTooltip: se2, gridStyle: pe2, gridRef: xe2, editingCoords: Ke2, isActive: Ye2, ...l3 }, `selection-${n3}`), X(Xt, { ref: t3, sheet: o2, commands: pt2, gridStyle: pe2, element: Qe2, ...l3 }, `copy-paste-${n3}`), X(po, { ref: t3, sheet: o2, commands: pt2, target: ut2, renderMovable: C2, movableProps: { onUnFocus: () => {
3046
+ return [X(Bt, { ref: t3, getVisibleCells: ao2, sheet: o2, gridStyle: pe2, ...l3 }, `border-${n3}`), X(yo, { ref: t3, sheet: o2, commands: pt2, ...l3 }, `table-${n3}`), X(Co, { ref: t3, sheet: o2, ...l3 }, `spill-${n3}`), X(no, { ref: t3, sheet: o2, commands: pt2, onShowTooltip: K2, onCloseTooltip: se2, gridStyle: pe2, gridRef: xe2, editingCoords: Ke2, isActive: Ye2, ...l3 }, `selection-${n3}`), X(Kt, { ref: t3, sheet: o2, commands: pt2, gridStyle: pe2, element: et2, ...l3 }, `copy-paste-${n3}`), X(mo, { ref: t3, sheet: o2, commands: pt2, target: ut2, renderMovable: C2, movableProps: { onUnFocus: () => {
3037
3047
  jt2.current.focus();
3038
- } }, ...l3 }, `movable-${n3}`), X(fo, { ref: t3, sheet: o2, commands: pt2, gridStyle: pe2, getCellEditor: M2, showProtectedError: At2, setEditingCoords: Xe2, ...l3 }, `editor-${n3}`)];
3048
+ } }, ...l3 }, `movable-${n3}`), X(po, { ref: t3, sheet: o2, commands: pt2, gridStyle: pe2, getCellEditor: M2, showProtectedError: At2, setEditingCoords: Xe2, ...l3 }, `editor-${n3}`)];
3039
3049
  }, [o2, xe2.current, pe2, M2, pt2, Mt2]), [Ro2, Mo2] = ae(false), Ao2 = ie(() => {
3040
3050
  if (0 === Be2 || 0 === Oe2) return null;
3041
3051
  const e3 = o2.getStyles().getNormal(), t3 = e3.getFont(), n3 = e3.getFill(), l3 = e3.getBorder(), r3 = e3.getFill().getType() === f.Type.None;
@@ -3043,9 +3053,9 @@ const Lt = (e2, t2, o2 = null) => {
3043
3053
  const s3 = (e4, t4, o3) => o3 ? { stroke: l3.getBottom().isNone() ? "none" : e4.getColor().toRGBA(ve2.darkMode).toString(), ...t4 } : t4;
3044
3054
  a2 = s3(l3.getBottom(), a2, !l3.getBottom().isNone()), a2 = s3(l3.getTop(), a2, !l3.getTop().isNone()), i2 = s3(l3.getRight(), i2, !l3.getRight().isNone()), i2 = s3(l3.getLeft(), i2, !l3.getLeft().isNone());
3045
3055
  let d3 = ke2?.getGridLineColor()?.toRGBA(ve2.darkMode).toString() ?? ve2.strokeFill;
3046
- return r3 || (a2 = s3(l3.getBottom(), a2, true), a2 = s3(l3.getTop(), a2, true), i2 = s3(l3.getRight(), i2, true), i2 = s3(l3.getLeft(), i2, true)), X(Se, { className: "sheetxl-sheet-primary", style: { ...So, ...n3.toCSS(ve2.darkMode), ...t3.toCSS(ve2.darkMode, Re2), "--sxl-app-color-background": ve2.fill, "--sxl-app-color-shadow": pe2.colorShadow, "--sxl-app-color-grey": pe2.colorGrey, "--sxl-app-color-button-fill": qe2.fill, "--sxl-app-color-button-text": qe2.text?.fill, "--sxl-app-color-button-border": qe2.edgeStrokeFill, "--sxl-app-color-primary-dark": pe2.selection.strokeFill }, ref: xe2, zoom: Re2, ...L2, onFirstRender: (e4) => {
3056
+ return r3 || (a2 = s3(l3.getBottom(), a2, true), a2 = s3(l3.getTop(), a2, true), i2 = s3(l3.getRight(), i2, true), i2 = s3(l3.getLeft(), i2, true)), X(Se, { className: "sheetxl-sheet-primary", style: { ...bo, ...n3.toCSS(ve2.darkMode), ...t3.toCSS(ve2.darkMode, Re2), "--sxl-app-color-background": ve2.fill, "--sxl-app-color-shadow": pe2.colorShadow, "--sxl-app-color-grey": pe2.colorGrey, "--sxl-app-color-button-fill": qe2.fill, "--sxl-app-color-button-text": qe2.text?.fill, "--sxl-app-color-button-border": qe2.edgeStrokeFill, "--sxl-app-color-primary-dark": pe2.selection.strokeFill }, ref: xe2, zoom: Re2, ...L2, onFirstRender: (e4) => {
3047
3057
  Mo2(true), L2?.onFirstRender?.(e4), pt2?.activate();
3048
- }, showGridLines: Me2, gridLineColor: d3, gridLineColumnsProps: i2, gridLineRowsProps: a2, freezeLeft: dt2?.[Q.Left], freezeLeftProps: so2, freezeTop: dt2?.[Q.Top], freezeTopProps: so2, width: Be2, height: Oe2, columnCount: He2.width, rowCount: He2.height, cursor: zt2 ?? kt2 ?? "cell", clipCells: true, layout: _e2, cellRenderer: qo2, overlayRenderer: yo2, getCellCoordsAsRangeCoords: at2, hiddenRowsAt: ro2, hiddenColumnsAt: io2, getVisibleCells: ao2, onWheelScroll: no2, onPointerDown: co2, onKeyDown: uo2, onViewportChange: nt2, onImmediateScroll: to2, scrollPoint: rt2, stageProps: { onFocus: () => {
3058
+ }, showGridLines: Me2, gridLineColor: d3, gridLineColumnsProps: i2, gridLineRowsProps: a2, freezeLeft: dt2?.[Q.Left], freezeLeftProps: so2, freezeTop: dt2?.[Q.Top], freezeTopProps: so2, width: Be2, height: Oe2, columnCount: He2.width, rowCount: He2.height, cursor: zt2 ?? kt2 ?? "cell", clipCells: true, layout: _e2, cellRenderer: qo2, overlayRenderer: To2, getCellCoordsAsRangeCoords: at2, hiddenRowsAt: ro2, hiddenColumnsAt: io2, getVisibleCells: ao2, onWheelScroll: lo2, onPointerDown: co2, onKeyDown: uo2, onViewportChange: nt2, onImmediateScroll: to2, scrollPoint: rt2, stageProps: { onFocus: () => {
3049
3059
  pt2?.activate();
3050
3060
  } }, overlays: Et2 });
3051
3061
  }, [W2]);
@@ -3059,7 +3069,7 @@ const Lt = (e2, t2, o2 = null) => {
3059
3069
  return { "--sxl-doc-color-dk1": t3.getDk1().toCSS(ve2.darkMode), "--sxl-doc-color-dk2": t3.getDk2().toCSS(ve2.darkMode), "--sxl-doc-color-lt1": t3.getLt1().toCSS(ve2.darkMode), "--sxl-doc-color-lt2": t3.getLt2().toCSS(ve2.darkMode), "--sxl-doc-color-accent1": t3.getAccent1().toCSS(ve2.darkMode), "--sxl-doc-color-accent2": t3.getAccent2().toCSS(ve2.darkMode), "--sxl-doc-color-accent3": t3.getAccent3().toCSS(ve2.darkMode), "--sxl-doc-color-accent4": t3.getAccent4().toCSS(ve2.darkMode), "--sxl-doc-color-accent5": t3.getAccent5().toCSS(ve2.darkMode), "--sxl-doc-color-accent6": t3.getAccent6().toCSS(ve2.darkMode), "--sxl-doc-color-hlink": t3.getHlink().toCSS(ve2.darkMode), "--sxl-doc-color-fol-hlink": t3.getFolHlink().toCSS(ve2.darkMode), "--sxl-doc-font-major": n3.getMajorFont(), "--sxl-doc-font-minor": n3.getMinorFont() };
3060
3070
  }, [o2.getStyles().getTheme()]), Do2 = k((e3) => {
3061
3071
  const { style: t3, ...n3 } = e3;
3062
- return X(Vt, { ...n3, style: { paddingLeft: "4px", paddingRight: "4px", ...t3 }, sheet: o2 });
3072
+ return X(Pt, { ...n3, style: { paddingLeft: "4px", paddingRight: "4px", ...t3 }, sheet: o2 });
3063
3073
  }, [o2]);
3064
3074
  let Io2 = X("div", { style: zo2, onTouchStart: () => {
3065
3075
  No2();
@@ -3067,7 +3077,7 @@ const Lt = (e2, t2, o2 = null) => {
3067
3077
  je2(true), A2?.(e3);
3068
3078
  }, onBlur: (e3) => {
3069
3079
  je2(false), z2?.(e3);
3070
- }, ref: jt2, ...$2, children: X("div", { className: De("sheetxl-sheet", wt), style: { position: "absolute", width: "100%", height: "100%", boxSizing: "border-box", display: "flex", flexDirection: "column", flex: "1 1 100%", zIndex: "0", ...Fo2 }, children: Y("div", { style: { display: "flex", flexDirection: "row", flex: "1 1 100%" }, children: [eo2, mo2, Y("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden", position: "relative" }, children: [vo2, Y("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", position: "relative", borderRight: `solid ${ye2.edgeStrokeWidth}px ${ye2.edgeStrokeFill}`, backgroundColor: ve2.fill }, ref: G2, onContextMenu: oo2, children: [Ao2, Qt2, X(yt, { style: { position: "absolute", right: 24, bottom: 4 }, colorLicensee: pe2?.selection?.strokeFill, colorCredits: pe2?.body?.text?.fill })] })] })] }) }) });
3080
+ }, ref: jt2, ...$2, children: X("div", { className: De("sheetxl-sheet", ft), style: { position: "absolute", width: "100%", height: "100%", boxSizing: "border-box", display: "flex", flexDirection: "column", flex: "1 1 100%", zIndex: "0", ...Fo2 }, children: Y("div", { style: { display: "flex", flexDirection: "row", flex: "1 1 100%" }, children: [eo2, fo2, Y("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden", position: "relative" }, children: [vo2, Y("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", position: "relative", borderRight: `solid ${ye2.edgeStrokeWidth}px ${ye2.edgeStrokeFill}`, backgroundColor: ve2.fill }, ref: G2, onContextMenu: oo2, children: [Ao2, Qt2, X(qt, { style: { position: "absolute", right: 24, bottom: 4 }, colorLicensee: pe2?.selection?.strokeFill, colorCredits: pe2?.body?.text?.fill })] })] })] }) }) });
3071
3081
  h2 && (Io2 = X(U, { style: { flex: "1 1 100%", overflow: "hidden", background: `${ye2.fill}`, minHeight: 2 * Pe2.height, minWidth: 2 * Pe2.width, ...F2 }, viewport: tt2, touchElement: xe2.current?.stage, disableTouch: xt2, onScrollViewport: (e3) => {
3072
3082
  xe2.current?.scrollTo(e3);
3073
3083
  }, createHorizontalScrollbar: Do2, createVerticalScrollbar: Do2, ...m2, children: Io2 })), ce(() => {
@@ -3081,36 +3091,36 @@ const Lt = (e2, t2, o2 = null) => {
3081
3091
  };
3082
3092
  }, [R2, Ro2, Eo2]), Io2;
3083
3093
  }));
3084
- Ro.displayName = "SheetElement";
3085
- const Mo = "data:image/webp;base64,UklGRhIPAABXRUJQVlA4TAYPAAAv/8F/EM8HIZJtWU0fdlTh3wRCIMlkE+EqkiTFyt57/KQ8/zKeEf5iaseNJClS1DGDxWcwvhfuCo5tW88SHw8Xh5ypbC3tnf8QHEfOB/D97w4PuFHBIx6MHJ74zvj/0aLdlH9AYWEjHiwOJR5M7Q+FAigmTRQOJRqczrVUKABQSMYgoAFFAhIwBkgaYEkBSABowDGgcYakUZirArQhRMUIIHGLBIAEEoDRfyokIAEAMhrSRmEOSPyS/jvR+BYFIWkUhLQhCpLGGQ2rhPiCOKPxDIVQmAZQDMYIjCTfNQXVJv8pnQqhuAonnczGDPv0VwFw/w+uGiAwQYjJXxffaJzROKPHoArGAPA+6o9AtiIj4XgAWGKCwAQBVNMSHQNEjTMqOSWPQEFRHOVl4vp/nnhI/DBNK8CGXCpeFvONip/jvPn67qb957v+Nssyv96/Jwg/xzT9yORhfR4fb6vF9ef39Nt62g55v37/7dRzfx9xFLRtIyX8ae+/AxARE8APxbCQtkidoqVGDBDxR3r8/59vo88vnW07v9nrY+l0tn0zemuSnn03W83Otn2zcarbfIrZqnG7Ykr77/nS5PP+/E6/iP7DgiRJiZX13F2QhYM/OrBtm7at/ZB927Zt27ZtPr/oK7Jt27b9x7dtGxcv1sFcc/R1woj+S2IkSZGkaXMpD2sZhqf3R5Y/23+2/2z/2f6z/Wf7z/af7T/bf7b/bP/97S8/r8tpn2+Rafa98ufeMc3nfK8v3V9QZHWVtFs5f/i2z8bd7+E/nX/Vuk9+uO6dF3IuWEy12r0S9eGUdA5q0RtuvnxxXpUFVPf5eQlfe7jG8j58Q6+uZZZNRGmv+GgOidbMMHMMy/WbJu7az/wcUqUk9C01LJNj5tZsDsnuizfPWh/F3WdN4FDO/eiYow4LozJuhpfDoPtcywyr8pAYDpv2RlmOB1TF7fBymPXAqA4Wwskrp3JY9oVZZA2efmm8m8O2Xa796tcoMprDvA2DAprXfkYWC9C0eflat2xrBgtRrKuDwgXemsKS5I6vr2zVzq9ZnLbUUzSHL5lFast+JTPi1rJUZWzN1bBuSSxZ7pvqaFfeVpYub2QtzaqI3McCtsppqPXPTWc0C9kjB3TqyFcsZ54b8/XpXJSHRW23qU1LJrC4PdFRlWsMzWCJ815ZpUYDU1no7mqiQ7VvYbnz9zIUaOkqFr3tZ7XnfKSHhe/+ON3pNJblL8N1QXEG+xlCXzXXmvKZjKJYn9IWKV7POMqIqlaYVtEMpU0l6lq46Eo3g2lvO2WtRPoB48m/SFXjwt3JiMqYp6eJkHWTGVQ3BZSky30Mq0/KVMTnZ2BN6aggV2UwtPa0UI+rGV1pylkm1RjB+IpZqpoxRG5ghGW/oZjr9xlj+xarZSiBBEaZe5BSxhK4jXHmeVElj/2Bkeb2KeQVzWKs7eumDnMZbemtlGEU4236UVUYyojb3UATK5Yx5lY30sOqRVlBn3YPdqKCgrexZ7SwcknQP13bfjWC6nD1XEcreHs8QgXOTg369bDmlxFQNU28mRpwYUMNXDcTQVXC2woYTOo2DrJxk1+ZQ9/9PIeNprjRs72ij4H2wbdZjdzdTDYizUXG9P3gnfZGDVy3gFMxD5ZBN9U7BWoJpoK2OpBvHvbYArWBUlFDgXu8QG2BVJanG2xLxC/UckNZZ6Om5VZmnd1NQfvtrRJzByPGXHr8ohqyn/eOr0MIZXAJZFvF1zGAUvC0AuzT+LpgXxJ7K/BuK/jA8LpiXhpPwZ3dcFN4XbIukUVgnVR01Y4WhVi19KLTC6Ca/vD4uevReM40PgHVY9GFMC2bHkAtG10Qy9K5rzHOLQkcGVwYwxJ6H+fspuAC2ZVSG5Rbjg0ulFk5Ta2FcUHTvcqtGrCo7aqZFo2EaK3oOXi0mpOO+xoinOB8cGgF2JTYrQC9EFoRJqV2Gp6Z3oisEItymxKBbniR+yIrxqDsBoCzUGQFpS+93fnYNiO4Z6FVwxc1WjXpotdCc0HoXHRMPucfY0qQTXJ6L+jqGCY0EzekcaOm+LY/g4PSCGCuirwgDtJ4dePy/uCvg2tJ8wNkhDzmObBsJDkhj7OagtL3rrwAhX84mnWiv8Yz+M/IXgyZHTFNc3jZ7dLYfSNo5uA2EpLzJT/c8b1liOY47CtHKOEfj+xcyRJ2vCqAx0MyRR2zE88uwr4hV9RxkoHGeIDv93Cf8aVotiT/uiTb0X+uKfFgnCw5Y473FWJxu7whx/wull0JkMwhx5MMJJ6UPeKYjyCZ43iw/BHHTwOxtAQAOPafwGEExem+vKd794bhxzckhNFvDgGbYbhCgoAbe46jcKsw0MbcH4Qv3hAH2vgOHIsbg4CNPScxuFcoWGPuhWFX8WnO/gt7hufPIVhSEstIOjN7ChF4WDhIY34RwcqGb4uHWfjnPZwmAQGN73PI7xkh4Yy5nvzuFhPOeKj4OkhQsqeJF9qz0DXAWB45sBFU7K6QXoKENTLOzPyC9PYIDGR8sfBOscikTwfzHp3MJlOPcujyB2TnYjiEMbeUfn0jOoRxP9GVeRgPYPyk6FqH3AaAUh5ZkOL4hpC/XLOim8/yXQ3yxXxWck9o4gb3h85/inFrhLfLQf3iIZIPNfmWLFQvniG4DyUPtYvHij7V0UXl4uxqua0vG3WLOUduNxjdELBn98vm8Jroy5z5jCSzJpY9m/CWnF43NYtvlHu8CclKxeJPxDabzNQrfkBsZ8pNteLMCKmdIDu1irmj1LaRn1rFraT2oAxVKh4oNcuHj7aRx9FNhof3pPaq5Djyzsi2RD3sDXmCSAejD/wqmeIM3y7JzS1b9YkfkfpAIchXdeI1Yu9ZqrHaxNOFdqGcVSbmgMyW974v2DmPb3A+lMhsbcl6rMrMXCCz9WSuKnFDmW0gdzWJc2S2suxVJO4s9YiT/uoRt5TZ1gJQjbitzMaJQC3iFVJfqhAElYiX6M3VCQ7FijMOokpYIfSTMFQLbYV+QQhlobUXtDJB9dBZ6OnOAFVEjtDznfyribpCz3e2ryoKLP9yJ4Uyu9x+rsmYUS2zS7yrjDSpjwuidbXxtdCmda46NghtGuPq4yOphx071LYKeZ+E7hXXamTk37XjTjzo+gqq0ThI7L2Nq9X7Z7Gexp1aq1ofnovVNO7cmfX67FyspXEnP/P74qxa1uho3Omrm6ZePpF73PkPzL41q5gbSOzu8PrOvGbek9uoXvF2Z1bKbQOvd8yajU3kdpHRx+W6yY4QfGfjfT4tV87dJLfBD1y+Kqudm0jwjjX5orx6+ol+ISM9viernxV/5+53wqw94f3OSCHJ/XII3Z/23S+tgPeHH5DovQgYoAWye5ovQkdldwpehNIDspuOLkSPkfDdCXaXo+7Pdj8G87pGemPRgnRI/Eua2/Pd78zMMvH3OhxtZhw/I/G7AytM78lvS6o4lQI4YuRQcbofwH5n//w6UqDeJwDtSBSpNyEcXSigSHkgHIqUqXq6x53xGUFoV56ZdHwZg41hYuU5jsF0b6AE6zEC0fEk0RqAwpIg0XKXwDiC6G9ghGsLwWgXolUZFzVxWAxjph3TgRyLsuFHIATsfQLS1gQRWw7laOMARGyyQUi61z5k/QiKRd1Dtq8Qi79e847ZDst/3Al+ROO7N6xn5HGtQWh62DdqiwiOWWyjtipAeLrXNGzvQjq40J5hu/ccIoPvOcbtUlBnFMF8VdZFswowGX6U4Yl+2KOLQHWiW+D2NUPl5/29Ijcb2NEGtYqc/ySw0wlzV2+038muI2AtFXWS2zCsewq3gsl+ZytEZnC/Xmi/011M0FpQYSPW/QRcwWC/80WfA3fcCXdOr2+ElFz+/U74CoFrnkPjFCy97I2tInRdo9T6RkgGku93yrYEz68HZdY3QrKQungC2DoKVCQTifM3g3g6yfboZfY76zCC2CeKHAvMNmPW/U47vogw9kKo4KzkLGMFzONOfFSo0Myk3O3A3xLMLlKowOxk3O/MtQlnj8QKy1C+/U69koCa6/BYQVnK1kcEtUV6kP1OvqsRVkOuV+wYMpuOqfY7ew8C26/7B+s6Y4maQXC7VMG6zFqaHigmvK0aravMZfm5E7SFfMJhdo/WRfZy/NwZ5hHk5vkgWscByNAj1YS5CxStwxCUb3dTQt2T4ToKQvGfO0kbgu3f28J1EIbCP3eWKwl40x8Yrm0ginaLQcg79ZCgX7UJRcEmnSPsncBBv2oZjGLF5sA/70y3oj/vTIcVcIpRHw3+nS1mnLHIzH1JAdV+MPhXk4WkRC5SQU1Sg3711QgJSnwfRWjhFPPuQ33e2b4oIi30WgZDblUd0kPzIbsvhzTRMMCm1yNddClc3iPqOO+ULrD2HSJ15EiEyr2YFFJVPFCeHqSSAh/gvPsZtZx32ptQPkd3xZx24NkYX1EbIsVczQUotivppivhSW1J2undDHDzGhqQfno+HZmHCkhDtYzG5fZzpKOOTUblxmrSUic2gjrv9KSoym8GJH0l6SozC40J9UlbHUnB4vETpK9OPorkZURWkcY6H4VjEbPupLWe9WKwriHpreZfIniyqPOkuSLmuaU3rRtpr4N7hf9/4yfSX+d2Sj6tqZdBKsx5j9Tu6EBa7IRLZLt6OUiRHZoqr62NSJddiHTLKsVJ+uzAWElXLBheRhrN4ZwmpcdakFarNS9bxDnMToMUW9148cTMKyfldvpu0WTecJz0mxEn1x2e+DzScQ6fTAsmZ2xtTz+n5juS5bGlM+m66meSZPl7Y2dnUnjLtmaIsSpxVEdSerkuvwiTmOedIMV38uKUcHfXqwFSflVL4zPDeJxhV3uyBB2/cnx4+sK8QJahqm47Y8PNg9c0JItRedyM2PAxMWqZQVakyrgZMeFg7y8PsS7VeuO70P4bxP3ZRaUGWZ6OmVv9oSk63llBVqkLh4Zt9IaW1Tt6tjfIYhWRY86YGCKH/WWGmUOWraaHxzw1yV2DMxQ2zHq51Tmyfl2o99bI25Jig2vP54ljDp9ykLWsdj3fkO9vvWPKtL8wndo7YeztOy8bcKh5OVncyhq2XNrd96ZpLrjy5/qYb/l8S7q2r1NJlj/bf7b/bP/Z/rP9Z/vP9p/tP9t/tv9s//3djwA=", Ao = re(se((e2, t2) => {
3094
+ To.displayName = "SheetElement";
3095
+ const Ro = "data:image/webp;base64,UklGRhIPAABXRUJQVlA4TAYPAAAv/8F/EM8HIZJtWU0fdlTh3wRCIMlkE+EqkiTFyt57/KQ8/zKeEf5iaseNJClS1DGDxWcwvhfuCo5tW88SHw8Xh5ypbC3tnf8QHEfOB/D97w4PuFHBIx6MHJ74zvj/0aLdlH9AYWEjHiwOJR5M7Q+FAigmTRQOJRqczrVUKABQSMYgoAFFAhIwBkgaYEkBSABowDGgcYakUZirArQhRMUIIHGLBIAEEoDRfyokIAEAMhrSRmEOSPyS/jvR+BYFIWkUhLQhCpLGGQ2rhPiCOKPxDIVQmAZQDMYIjCTfNQXVJv8pnQqhuAonnczGDPv0VwFw/w+uGiAwQYjJXxffaJzROKPHoArGAPA+6o9AtiIj4XgAWGKCwAQBVNMSHQNEjTMqOSWPQEFRHOVl4vp/nnhI/DBNK8CGXCpeFvONip/jvPn67qb957v+Nssyv96/Jwg/xzT9yORhfR4fb6vF9ef39Nt62g55v37/7dRzfx9xFLRtIyX8ae+/AxARE8APxbCQtkidoqVGDBDxR3r8/59vo88vnW07v9nrY+l0tn0zemuSnn03W83Otn2zcarbfIrZqnG7Ykr77/nS5PP+/E6/iP7DgiRJiZX13F2QhYM/OrBtm7at/ZB927Zt27ZtPr/oK7Jt27b9x7dtGxcv1sFcc/R1woj+S2IkSZGkaXMpD2sZhqf3R5Y/23+2/2z/2f6z/Wf7z/af7T/bf7b/bP/97S8/r8tpn2+Rafa98ufeMc3nfK8v3V9QZHWVtFs5f/i2z8bd7+E/nX/Vuk9+uO6dF3IuWEy12r0S9eGUdA5q0RtuvnxxXpUFVPf5eQlfe7jG8j58Q6+uZZZNRGmv+GgOidbMMHMMy/WbJu7az/wcUqUk9C01LJNj5tZsDsnuizfPWh/F3WdN4FDO/eiYow4LozJuhpfDoPtcywyr8pAYDpv2RlmOB1TF7fBymPXAqA4Wwskrp3JY9oVZZA2efmm8m8O2Xa796tcoMprDvA2DAprXfkYWC9C0eflat2xrBgtRrKuDwgXemsKS5I6vr2zVzq9ZnLbUUzSHL5lFast+JTPi1rJUZWzN1bBuSSxZ7pvqaFfeVpYub2QtzaqI3McCtsppqPXPTWc0C9kjB3TqyFcsZ54b8/XpXJSHRW23qU1LJrC4PdFRlWsMzWCJ815ZpUYDU1no7mqiQ7VvYbnz9zIUaOkqFr3tZ7XnfKSHhe/+ON3pNJblL8N1QXEG+xlCXzXXmvKZjKJYn9IWKV7POMqIqlaYVtEMpU0l6lq46Eo3g2lvO2WtRPoB48m/SFXjwt3JiMqYp6eJkHWTGVQ3BZSky30Mq0/KVMTnZ2BN6aggV2UwtPa0UI+rGV1pylkm1RjB+IpZqpoxRG5ghGW/oZjr9xlj+xarZSiBBEaZe5BSxhK4jXHmeVElj/2Bkeb2KeQVzWKs7eumDnMZbemtlGEU4236UVUYyojb3UATK5Yx5lY30sOqRVlBn3YPdqKCgrexZ7SwcknQP13bfjWC6nD1XEcreHs8QgXOTg369bDmlxFQNU28mRpwYUMNXDcTQVXC2woYTOo2DrJxk1+ZQ9/9PIeNprjRs72ij4H2wbdZjdzdTDYizUXG9P3gnfZGDVy3gFMxD5ZBN9U7BWoJpoK2OpBvHvbYArWBUlFDgXu8QG2BVJanG2xLxC/UckNZZ6Om5VZmnd1NQfvtrRJzByPGXHr8ohqyn/eOr0MIZXAJZFvF1zGAUvC0AuzT+LpgXxJ7K/BuK/jA8LpiXhpPwZ3dcFN4XbIukUVgnVR01Y4WhVi19KLTC6Ca/vD4uevReM40PgHVY9GFMC2bHkAtG10Qy9K5rzHOLQkcGVwYwxJ6H+fspuAC2ZVSG5Rbjg0ulFk5Ta2FcUHTvcqtGrCo7aqZFo2EaK3oOXi0mpOO+xoinOB8cGgF2JTYrQC9EFoRJqV2Gp6Z3oisEItymxKBbniR+yIrxqDsBoCzUGQFpS+93fnYNiO4Z6FVwxc1WjXpotdCc0HoXHRMPucfY0qQTXJ6L+jqGCY0EzekcaOm+LY/g4PSCGCuirwgDtJ4dePy/uCvg2tJ8wNkhDzmObBsJDkhj7OagtL3rrwAhX84mnWiv8Yz+M/IXgyZHTFNc3jZ7dLYfSNo5uA2EpLzJT/c8b1liOY47CtHKOEfj+xcyRJ2vCqAx0MyRR2zE88uwr4hV9RxkoHGeIDv93Cf8aVotiT/uiTb0X+uKfFgnCw5Y473FWJxu7whx/wull0JkMwhx5MMJJ6UPeKYjyCZ43iw/BHHTwOxtAQAOPafwGEExem+vKd794bhxzckhNFvDgGbYbhCgoAbe46jcKsw0MbcH4Qv3hAH2vgOHIsbg4CNPScxuFcoWGPuhWFX8WnO/gt7hufPIVhSEstIOjN7ChF4WDhIY34RwcqGb4uHWfjnPZwmAQGN73PI7xkh4Yy5nvzuFhPOeKj4OkhQsqeJF9qz0DXAWB45sBFU7K6QXoKENTLOzPyC9PYIDGR8sfBOscikTwfzHp3MJlOPcujyB2TnYjiEMbeUfn0jOoRxP9GVeRgPYPyk6FqH3AaAUh5ZkOL4hpC/XLOim8/yXQ3yxXxWck9o4gb3h85/inFrhLfLQf3iIZIPNfmWLFQvniG4DyUPtYvHij7V0UXl4uxqua0vG3WLOUduNxjdELBn98vm8Jroy5z5jCSzJpY9m/CWnF43NYtvlHu8CclKxeJPxDabzNQrfkBsZ8pNteLMCKmdIDu1irmj1LaRn1rFraT2oAxVKh4oNcuHj7aRx9FNhof3pPaq5Djyzsi2RD3sDXmCSAejD/wqmeIM3y7JzS1b9YkfkfpAIchXdeI1Yu9ZqrHaxNOFdqGcVSbmgMyW974v2DmPb3A+lMhsbcl6rMrMXCCz9WSuKnFDmW0gdzWJc2S2suxVJO4s9YiT/uoRt5TZ1gJQjbitzMaJQC3iFVJfqhAElYiX6M3VCQ7FijMOokpYIfSTMFQLbYV+QQhlobUXtDJB9dBZ6OnOAFVEjtDznfyribpCz3e2ryoKLP9yJ4Uyu9x+rsmYUS2zS7yrjDSpjwuidbXxtdCmda46NghtGuPq4yOphx071LYKeZ+E7hXXamTk37XjTjzo+gqq0ThI7L2Nq9X7Z7Gexp1aq1ofnovVNO7cmfX67FyspXEnP/P74qxa1uho3Omrm6ZePpF73PkPzL41q5gbSOzu8PrOvGbek9uoXvF2Z1bKbQOvd8yajU3kdpHRx+W6yY4QfGfjfT4tV87dJLfBD1y+Kqudm0jwjjX5orx6+ol+ISM9viernxV/5+53wqw94f3OSCHJ/XII3Z/23S+tgPeHH5DovQgYoAWye5ovQkdldwpehNIDspuOLkSPkfDdCXaXo+7Pdj8G87pGemPRgnRI/Eua2/Pd78zMMvH3OhxtZhw/I/G7AytM78lvS6o4lQI4YuRQcbofwH5n//w6UqDeJwDtSBSpNyEcXSigSHkgHIqUqXq6x53xGUFoV56ZdHwZg41hYuU5jsF0b6AE6zEC0fEk0RqAwpIg0XKXwDiC6G9ghGsLwWgXolUZFzVxWAxjph3TgRyLsuFHIATsfQLS1gQRWw7laOMARGyyQUi61z5k/QiKRd1Dtq8Qi79e847ZDst/3Al+ROO7N6xn5HGtQWh62DdqiwiOWWyjtipAeLrXNGzvQjq40J5hu/ccIoPvOcbtUlBnFMF8VdZFswowGX6U4Yl+2KOLQHWiW+D2NUPl5/29Ijcb2NEGtYqc/ySw0wlzV2+038muI2AtFXWS2zCsewq3gsl+ZytEZnC/Xmi/011M0FpQYSPW/QRcwWC/80WfA3fcCXdOr2+ElFz+/U74CoFrnkPjFCy97I2tInRdo9T6RkgGku93yrYEz68HZdY3QrKQungC2DoKVCQTifM3g3g6yfboZfY76zCC2CeKHAvMNmPW/U47vogw9kKo4KzkLGMFzONOfFSo0Myk3O3A3xLMLlKowOxk3O/MtQlnj8QKy1C+/U69koCa6/BYQVnK1kcEtUV6kP1OvqsRVkOuV+wYMpuOqfY7ew8C26/7B+s6Y4maQXC7VMG6zFqaHigmvK0aravMZfm5E7SFfMJhdo/WRfZy/NwZ5hHk5vkgWscByNAj1YS5CxStwxCUb3dTQt2T4ToKQvGfO0kbgu3f28J1EIbCP3eWKwl40x8Yrm0ginaLQcg79ZCgX7UJRcEmnSPsncBBv2oZjGLF5sA/70y3oj/vTIcVcIpRHw3+nS1mnLHIzH1JAdV+MPhXk4WkRC5SQU1Sg3711QgJSnwfRWjhFPPuQ33e2b4oIi30WgZDblUd0kPzIbsvhzTRMMCm1yNddClc3iPqOO+ULrD2HSJ15EiEyr2YFFJVPFCeHqSSAh/gvPsZtZx32ptQPkd3xZx24NkYX1EbIsVczQUotivppivhSW1J2undDHDzGhqQfno+HZmHCkhDtYzG5fZzpKOOTUblxmrSUic2gjrv9KSoym8GJH0l6SozC40J9UlbHUnB4vETpK9OPorkZURWkcY6H4VjEbPupLWe9WKwriHpreZfIniyqPOkuSLmuaU3rRtpr4N7hf9/4yfSX+d2Sj6tqZdBKsx5j9Tu6EBa7IRLZLt6OUiRHZoqr62NSJddiHTLKsVJ+uzAWElXLBheRhrN4ZwmpcdakFarNS9bxDnMToMUW9148cTMKyfldvpu0WTecJz0mxEn1x2e+DzScQ6fTAsmZ2xtTz+n5juS5bGlM+m66meSZPl7Y2dnUnjLtmaIsSpxVEdSerkuvwiTmOedIMV38uKUcHfXqwFSflVL4zPDeJxhV3uyBB2/cnx4+sK8QJahqm47Y8PNg9c0JItRedyM2PAxMWqZQVakyrgZMeFg7y8PsS7VeuO70P4bxP3ZRaUGWZ6OmVv9oSk63llBVqkLh4Zt9IaW1Tt6tjfIYhWRY86YGCKH/WWGmUOWraaHxzw1yV2DMxQ2zHq51Tmyfl2o99bI25Jig2vP54ljDp9ykLWsdj3fkO9vvWPKtL8wndo7YeztOy8bcKh5OVncyhq2XNrd96ZpLrjy5/qYb/l8S7q2r1NJlj/bf7b/bP/Z/rP9Z/vP9p/tP9t/tv9s//3djwA=", Mo = re(se((e2, t2) => {
3086
3096
  const { children: o2, disabled: n2, style: l2, picture: r2, description: i2, isDragging: a2, view: s2, onHide: d2, onShow: c2, onKeyDownCapture: g2, onFocus: u2, onBlur: h2, loadingPanel: m2, ...p2 } = e2, [f2, w2] = ae(false), [v2, q2] = ae(null), [y2, C2] = ae(null), [b2, S2] = ae(null);
3087
3097
  ce(() => {
3088
3098
  C2(null), r2.getDetails().then((e3) => {
3089
3099
  w2(false), C2(e3.asUrl()), e3.asSVGText?.() && S2(e3.asSVGText());
3090
3100
  }).catch((e3) => {
3091
- console.warn(e3), w2(true), C2(Mo), S2(null);
3101
+ console.warn(e3), w2(true), C2(Ro), S2(null);
3092
3102
  });
3093
3103
  }, [r2]);
3094
3104
  const k2 = x(t2, () => ({ isPictureEditor: () => true }), []), T2 = ie(() => {
3095
3105
  if (y2 || b2) return X("img", { style: { flex: "1", width: "100%", height: "100%", border: f2 ? "var(--sxl-app-color-grey, grey) solid 1px" : void 0, backgroundColor: f2 ? "var(--sxl-app-color-background, white)" : void 0, boxShadow: f2 ? "0px 0px 3px var(--sxl-app-color-error, red)" : void 0, objectFit: f2 ? "contain" : void 0, opacity: v2 ? 1 : 0, filter: "var(--sxl-app-filter-dark-invert)" }, draggable: false, src: y2, onLoad: () => {
3096
3106
  q2(true);
3097
3107
  }, onError: ({ currentTarget: e3 }) => {
3098
- console.log("error"), e3.onerror = null, C2(Mo), w2(true);
3108
+ console.log("error"), e3.onerror = null, C2(Ro), w2(true);
3099
3109
  }, alt: i2 ?? `${r2.getType()}` });
3100
3110
  }, [v2, r2, y2, b2, a2]);
3101
3111
  if (!r2.isClosed()) return Y("div", { className: "picture-editor", style: { position: "relative", display: "flex", flex: "1 1 100%", filter: a2 ? "drop-shadow(1px 1px 1.5px var(--sxl-app-color-shadow, rgba(0, 0, 0, .25)))" : void 0, ...l2, width: "100%", height: "100%" }, tabIndex: 0, ...p2, onKeyDownCapture: (e3) => {
3102
3112
  g2?.(e3);
3103
3113
  }, ref: k2, children: [v2 || f2 ? void 0 : m2, T2] });
3104
3114
  }));
3105
- Ao.displayName = "PictureEditor";
3106
- const zo = re(se((e2, t2) => {
3115
+ Mo.displayName = "PictureEditor";
3116
+ const Ao = re(se((e2, t2) => {
3107
3117
  const { children: o2, disabled: n2, chart: l2, view: r2, isDragging: i2, onHide: a2, onShow: s2, ...d2 } = e2;
3108
3118
  ce(() => {
3109
3119
  }, [l2]);
3110
3120
  const c2 = x(t2, () => ({ isChartEditor: () => true }), []), [g2, { height: u2, width: h2 }] = Fe();
3111
3121
  if (!l2.isClosed()) return X("div", { ...d2, ref: ze([c2, g2]), children: X("div", { className: "chart-editor", style: { width: "100%", height: "100%", backgroundColor: "var(--sxl-app-color-background, white)", backgroundImage: "var(--sxl-app-image-background)", alignItems: "center", justifyContent: "center", zoom: r2.getZoom(), display: "flex", position: "relative", border: "var(--sxl-app-color-grey, grey) solid 1px", filter: n2 ? "blur(1px)" : void 0, boxShadow: i2 ? "1px 1px 2px var(--sxl-app-color-shadow, rgba(0,0,0,.15))" : void 0 }, children: X("div", { style: { textAlign: "center" }, children: l2.getDescription() }) }) });
3112
- })), Fo = "_editable-input_1bqx6_6", Do = (e2) => X("input", { ...e2 }), Io = re(se((e2, t2) => {
3113
- const { style: o2 = {}, className: n2, value: l2 = "", onSubmit: r2, onChange: i2, onCancel: a2, createInput: s2 = Do, styleHover: d2 = {}, dragging: c2, maxLength: g2, disabled: u2 = false, readOnly: h2 = false, ...m2 } = e2, [p2, f2] = ae(false), [w2, v2] = ae(false), [q2, y2] = ae(l2);
3122
+ })), zo = "_editable-input_1bqx6_6", Fo = (e2) => X("input", { ...e2 }), Do = re(se((e2, t2) => {
3123
+ const { style: o2 = {}, className: n2, value: l2 = "", onSubmit: r2, onChange: i2, onCancel: a2, createInput: s2 = Fo, styleHover: d2 = {}, dragging: c2, maxLength: g2, disabled: u2 = false, readOnly: h2 = false, ...m2 } = e2, [p2, f2] = ae(false), [w2, v2] = ae(false), [q2, y2] = ae(l2);
3114
3124
  ce(() => {
3115
3125
  y2(l2);
3116
3126
  }, [l2]);
@@ -3131,7 +3141,7 @@ const zo = re(se((e2, t2) => {
3131
3141
  y2(l2), C2.current = null, v2(false), a2?.();
3132
3142
  }, [a2, l2]), z2 = ie(() => {
3133
3143
  if (!w2) return null;
3134
- const e3 = { className: De(Fo), autoFocus: true, spellCheck: false, name: "editable-label", autoComplete: "off", maxLength: g2, type: "text", value: q2, onFocus: (e4) => {
3144
+ const e3 = { className: De(zo), autoFocus: true, spellCheck: false, name: "editable-label", autoComplete: "off", maxLength: g2, type: "text", value: q2, onFocus: (e4) => {
3135
3145
  C2.current || (C2.current = e4.target, setTimeout(() => {
3136
3146
  e4.target?.select();
3137
3147
  }, 0));
@@ -3156,30 +3166,30 @@ const zo = re(se((e2, t2) => {
3156
3166
  return Y("div", { ...m2, ref: E2, style: { flexDirection: "column", display: "flex", ...F2 }, className: De(n2), children: [Y("div", { style: { position: "relative", boxSizing: "content-box", whiteSpace: "pre", userSelect: "none", display: "flex", justifyContent: "center" }, onDoubleClick: () => {
3157
3167
  u2 || h2 || v2(true);
3158
3168
  }, onMouseEnter: () => f2(true), onMouseLeave: () => f2(false), children: [X("div", { className: "editable-label-container", style: { textAlign: "center", display: "flex", minHeight: "1em", marginTop: "2px", opacity: w2 ? 0 : 1 }, children: q2 }), z2] }), X("div", { style: { whiteSpace: "pre", position: "relative", maxHeight: "0px", height: "0px", visibility: "hidden", marginLeft: "1px", marginRight: "1px", overflow: "hidden", ...d2 }, children: q2 })] });
3159
- })), Eo = re(se((e2, t2) => {
3169
+ })), Io = re(se((e2, t2) => {
3160
3170
  const { children: o2, style: n2, className: l2, index: r2, editing: i2, editable: a2, selectedIndex: s2, background: d2, activeColor: c2, borderColor: g2, borderWidth: u2, dragging: h2, ...m2 } = e2;
3161
3171
  return Y("div", { ref: t2, className: De(l2), style: { ...n2, display: "flex", flexDirection: "column", background: s2 === r2 ? "white" : d2, minHeight: "0px", fontFamily: "inherit", fontSize: "16px", fontWeight: s2 === r2 ? "700" : "400", lineHeight: "1", letterSpacing: "0px", textTransform: "none", minWidth: "unset" }, ...m2, children: [Y("div", { style: { flex: "1 1 100%", display: "flex", flexDirection: "row" }, children: [X("div", { style: { marginLeft: s2 === r2 ? "0px" : "-1px", marginTop: s2 === r2 ? "0px" : "4px", marginBottom: "0px", background: "grey", minWidth: "1px" } }), o2, s2 === r2 ? X("div", { style: { marginLeft: "0px", marginTop: "0px", marginBottom: "0px", background: "grey", minWidth: "1px" } }) : X(J, {})] }), X("div", { style: { flex: "1 1 100%", background: s2 === r2 && c2 ? c2?.toCSS() : "none", minHeight: "2px" } })] });
3162
- })), Ho = { Wrapper: "_Wrapper_1wyun_25", fadeIn: "_fadeIn_1wyun_33", dragOverlay: "_dragOverlay_1wyun_37", Item: "_Item_1wyun_47", withHandle: "_withHandle_1wyun_61", dragging: "_dragging_1wyun_66", disabled: "_disabled_1wyun_74" }, No = le.memo(le.forwardRef(({ color: e2, dragOverlay: t2, dragging: o2, disabled: n2, fadeIn: l2, handle: r2, height: i2, index: a2, listeners: s2, onRemove: d2, renderItem: c2, sorting: g2, style: u2, transition: h2, transform: m2, value: p2, wrapperStyle: f2, ...w2 }, v2) => {
3172
+ })), Eo = { Wrapper: "_Wrapper_1wyun_25", fadeIn: "_fadeIn_1wyun_33", dragOverlay: "_dragOverlay_1wyun_37", Item: "_Item_1wyun_47", withHandle: "_withHandle_1wyun_61", dragging: "_dragging_1wyun_66", disabled: "_disabled_1wyun_74" }, Ho = le.memo(le.forwardRef(({ color: e2, dragOverlay: t2, dragging: o2, disabled: n2, fadeIn: l2, handle: r2, height: i2, index: a2, listeners: s2, onRemove: d2, renderItem: c2, sorting: g2, style: u2, transition: h2, transform: m2, value: p2, wrapperStyle: f2, ...w2 }, v2) => {
3163
3173
  ce(() => {
3164
3174
  if (t2) return document.body.style.cursor = "grabbing", () => {
3165
3175
  document.body.style.cursor = "";
3166
3176
  };
3167
3177
  }, [t2]);
3168
3178
  const q2 = c2 ? c2({ dragOverlay: Boolean(t2), dragging: Boolean(o2), sorting: Boolean(g2), index: a2, fadeIn: Boolean(l2), listeners: s2, ref: v2, style: u2, transform: m2, transition: h2, value: p2 }) : X(J, { children: p2 });
3169
- return X("div", { className: De("tab-item", Ho.Wrapper, l2 && Ho.fadeIn, g2 && Ho.sorting, t2 && Ho.dragOverlay), style: { ...f2, transition: [h2, f2?.transition].filter(Boolean).join(", "), "--translate-x": m2 ? `${Math.round(m2.x)}px` : void 0, "--translate-y": m2 ? `${Math.round(m2.y)}px` : void 0, "--scale-x": m2?.scaleX ? `${m2.scaleX}` : void 0, "--scale-y": m2?.scaleY ? `${m2.scaleY}` : void 0, "--index": a2 }, ref: v2, children: X("div", { className: De(Ho.Item, o2 && Ho.dragging, r2 && Ho.withHandle, t2 && Ho.dragOverlay, n2 && Ho.disabled, e2 && Ho.color, "dragging"), style: u2, "data-cypress": "draggable-item", ...r2 ? void 0 : s2, ...w2, tabIndex: r2 ? void 0 : -1, children: q2 }) });
3170
- })), Po = { Row: "_Row_1kr10_1" }, Vo = re(se(({ children: e2, horizontal: t2, style: o2 }, n2) => X("div", { ref: n2, style: { ...o2 }, className: De(Po.Row, t2 && Po.horizontal), children: e2 }))), Lo = { ...Ue }, Bo = re(se((e2, t2) => {
3171
- const { className: o2, activationConstraint: n2, animateLayoutChanges: l2, adjustScale: r2 = false, collisionDetection: i2 = We, coordinateGetter: a2 = Ne, dropAnimation: s2 = Lo, getItemStyles: d2 = () => ({}), getNewIndex: c2, handle: g2 = false, items: u2, onMove: h2, isDisabled: m2 = () => false, measuring: p2, modifiers: f2, renderItem: w2, renderDivider: v2, reorderItems: q2 = Pe, strategy: y2 = Ve, style: C2, useDragOverlay: b2 = true, onDragStart: S2, wrapperStyle: x2 = () => ({}) } = e2, [k2, T2] = ae(() => u2);
3179
+ return X("div", { className: De("tab-item", Eo.Wrapper, l2 && Eo.fadeIn, g2 && Eo.sorting, t2 && Eo.dragOverlay), style: { ...f2, transition: [h2, f2?.transition].filter(Boolean).join(", "), "--translate-x": m2 ? `${Math.round(m2.x)}px` : void 0, "--translate-y": m2 ? `${Math.round(m2.y)}px` : void 0, "--scale-x": m2?.scaleX ? `${m2.scaleX}` : void 0, "--scale-y": m2?.scaleY ? `${m2.scaleY}` : void 0, "--index": a2 }, ref: v2, children: X("div", { className: De(Eo.Item, o2 && Eo.dragging, r2 && Eo.withHandle, t2 && Eo.dragOverlay, n2 && Eo.disabled, e2 && Eo.color, "dragging"), style: u2, "data-cypress": "draggable-item", ...r2 ? void 0 : s2, ...w2, tabIndex: r2 ? void 0 : -1, children: q2 }) });
3180
+ })), No = { Row: "_Row_1kr10_1" }, Po = re(se(({ children: e2, horizontal: t2, style: o2 }, n2) => X("div", { ref: n2, style: { ...o2 }, className: De(No.Row, t2 && No.horizontal), children: e2 }))), Vo = { ...We }, Lo = re(se((e2, t2) => {
3181
+ const { className: o2, activationConstraint: n2, animateLayoutChanges: l2, adjustScale: r2 = false, collisionDetection: i2 = $e, coordinateGetter: a2 = He, dropAnimation: s2 = Vo, getItemStyles: d2 = () => ({}), getNewIndex: c2, handle: g2 = false, items: u2, onMove: h2, isDisabled: m2 = () => false, measuring: p2, modifiers: f2, renderItem: w2, renderDivider: v2, reorderItems: q2 = Ne, strategy: y2 = Pe, style: C2, useDragOverlay: b2 = true, onDragStart: S2, wrapperStyle: x2 = () => ({}) } = e2, [k2, T2] = ae(() => u2);
3172
3182
  ce(() => {
3173
3183
  T2(u2);
3174
3184
  }, [u2]);
3175
- const [R2, M2] = ae(null), A2 = _e(Ge(Ze, { activationConstraint: n2 }), Ge(je, { activationConstraint: n2 }), Ge(Ke, { scrollBehavior: "Cypress" in window ? "auto" : void 0, coordinateGetter: a2 })), z2 = k2.indexOf.bind(k2), F2 = R2 ? z2(R2) : -1, D2 = [];
3185
+ const [R2, M2] = ae(null), A2 = Ue(_e(Ge, { activationConstraint: n2 }), _e(Ze, { activationConstraint: n2 }), _e(je, { scrollBehavior: "Cypress" in window ? "auto" : void 0, coordinateGetter: a2 })), z2 = k2.indexOf.bind(k2), F2 = R2 ? z2(R2) : -1, D2 = [];
3176
3186
  k2.map((e3, t3) => {
3177
- D2.push(X(Oo, { id: e3, handle: g2, index: t3, style: d2, wrapperStyle: x2, disabled: m2(e3), renderItem: w2, animateLayoutChanges: l2, useDragOverlay: b2, getNewIndex: c2 }, e3 + "-" + t3));
3187
+ D2.push(X(Bo, { id: e3, handle: g2, index: t3, style: d2, wrapperStyle: x2, disabled: m2(e3), renderItem: w2, animateLayoutChanges: l2, useDragOverlay: b2, getNewIndex: c2 }, e3 + "-" + t3));
3178
3188
  const o3 = v2?.({ key: "divider-" + t3 });
3179
3189
  o3 && D2.push(o3);
3180
3190
  });
3181
3191
  const { getPortalContainer: I2 } = _();
3182
- return Y(Xe, { sensors: A2, collisionDetection: i2, onDragStart: (e3) => {
3192
+ return Y(Ke, { sensors: A2, collisionDetection: i2, onDragStart: (e3) => {
3183
3193
  const { active: t3 } = e3;
3184
3194
  t3 && (S2?.(e3), M2(t3.id));
3185
3195
  }, autoScroll: { canScroll: (e3) => true }, onDragEnd: (e3) => {
@@ -3189,14 +3199,14 @@ const zo = re(se((e2, t2) => {
3189
3199
  }
3190
3200
  }, onDragCancel: () => {
3191
3201
  M2(null);
3192
- }, measuring: p2, modifiers: f2, children: [X("div", { style: { display: "flex", justifyContent: "flex-start", boxSizing: "border-box", ...C2 }, className: De(o2, Ho.Wrapper), children: X(Le, { items: k2, strategy: y2, children: X(Vo, { ref: t2, children: D2 }) }) }), b2 ? Ee(X(Ye, { adjustScale: r2, dropAnimation: s2, children: R2 ? X(No, { value: k2[F2], handle: g2, renderItem: w2, wrapperStyle: x2({ index: F2, isDragging: true, id: k2[F2] }), index: F2, dragging: true, style: d2({ id: k2[F2], index: F2, isSorting: null !== R2, isDragging: true, overIndex: -1, isDragOverlay: true }), dragOverlay: true }) : null }), I2()) : null] });
3202
+ }, measuring: p2, modifiers: f2, children: [X("div", { style: { display: "flex", justifyContent: "flex-start", boxSizing: "border-box", ...C2 }, className: De(o2, Eo.Wrapper), children: X(Ve, { items: k2, strategy: y2, children: X(Po, { ref: t2, children: D2 }) }) }), b2 ? Ee(X(Xe, { adjustScale: r2, dropAnimation: s2, children: R2 ? X(Ho, { value: k2[F2], handle: g2, renderItem: w2, wrapperStyle: x2({ index: F2, isDragging: true, id: k2[F2] }), index: F2, dragging: true, style: d2({ id: k2[F2], index: F2, isSorting: null !== R2, isDragging: true, overIndex: -1, isDragOverlay: true }), dragOverlay: true }) : null }), I2()) : null] });
3193
3203
  }));
3194
- function Oo({ disabled: e2, animateLayoutChanges: t2, getNewIndex: o2, handle: n2, id: l2, index: r2, onRemove: i2, style: a2, renderItem: s2, useDragOverlay: d2, wrapperStyle: c2 }) {
3195
- const { attributes: g2, isDragging: u2, isSorting: h2, listeners: m2, overIndex: p2, setNodeRef: f2, transform: w2, transition: v2 } = Be({ id: l2, animateLayoutChanges: t2, disabled: e2, getNewIndex: o2 });
3196
- return X(No, { ref: f2, value: l2, disabled: e2, dragging: u2, sorting: h2, handle: n2, renderItem: s2, index: r2, style: a2({ index: r2, id: l2, isDragging: u2, isSorting: h2, overIndex: p2 }), onRemove: i2 ? () => i2(l2) : void 0, transform: w2, transition: v2, wrapperStyle: c2({ index: r2, isDragging: u2, id: l2 }), listeners: m2, "data-index": r2, "data-id": l2, dragOverlay: !d2 && u2, ...g2 });
3204
+ function Bo({ disabled: e2, animateLayoutChanges: t2, getNewIndex: o2, handle: n2, id: l2, index: r2, onRemove: i2, style: a2, renderItem: s2, useDragOverlay: d2, wrapperStyle: c2 }) {
3205
+ const { attributes: g2, isDragging: u2, isSorting: h2, listeners: m2, overIndex: p2, setNodeRef: f2, transform: w2, transition: v2 } = Le({ id: l2, animateLayoutChanges: t2, disabled: e2, getNewIndex: o2 });
3206
+ return X(Ho, { ref: f2, value: l2, disabled: e2, dragging: u2, sorting: h2, handle: n2, renderItem: s2, index: r2, style: a2({ index: r2, id: l2, isDragging: u2, isSorting: h2, overIndex: p2 }), onRemove: i2 ? () => i2(l2) : void 0, transform: w2, transition: v2, wrapperStyle: c2({ index: r2, isDragging: u2, id: l2 }), listeners: m2, "data-index": r2, "data-id": l2, dragOverlay: !d2 && u2, ...g2 });
3197
3207
  }
3198
- const $o = "_TabStrip_3x0dp_1", Wo = new p("rgb(33, 115, 70)"), Uo = "#eee", _o = (e2) => X(Eo, { ...e2 }), Go = re(se((e2, t2) => {
3199
- const { children: o2, style: n2, className: l2, selectedTabIndex: r2 = 0, tabNames: i2 = [], onSelectedTabIndexChange: a2, onTabNameChange: s2, onTabMove: d2, createScrollStartButton: c2 = G, createScrollEndButton: g2 = Z, createScrollEdgeButton: u2 = j, createTabButton: h2 = _o, createTabDivider: m2, editLabelProps: p2, disabled: f2 = false, disableDrag: w2 = false, background: v2 = "white", activeColor: q2 = Wo, borderColor: y2 = Uo, borderWidth: C2 = 1 } = e2, [b2, S2] = ae(r2), [x2, k2] = ae(i2), T2 = ue((e3) => {
3208
+ const Oo = "_TabStrip_3x0dp_1", $o = new p("rgb(33, 115, 70)"), Wo = "#eee", Uo = (e2) => X(Io, { ...e2 }), _o = re(se((e2, t2) => {
3209
+ const { children: o2, style: n2, className: l2, selectedTabIndex: r2 = 0, tabNames: i2 = [], onSelectedTabIndexChange: a2, onTabNameChange: s2, onTabMove: d2, createScrollStartButton: c2 = G, createScrollEndButton: g2 = Z, createScrollEdgeButton: u2 = j, createTabButton: h2 = Uo, createTabDivider: m2, editLabelProps: p2, disabled: f2 = false, disableDrag: w2 = false, background: v2 = "white", activeColor: q2 = $o, borderColor: y2 = Wo, borderWidth: C2 = 1 } = e2, [b2, S2] = ae(r2), [x2, k2] = ae(i2), T2 = ue((e3) => {
3200
3210
  const t3 = I2.current?.[e3]?.closest(".tab-item") ?? I2.current?.[e3];
3201
3211
  t3 && O2.current?.scrollTo({ top: t3.offsetTop, left: t3.offsetLeft, behavior: "smooth" });
3202
3212
  }, []);
@@ -3222,7 +3232,7 @@ const $o = "_TabStrip_3x0dp_1", Wo = new p("rgb(33, 115, 70)"), Uo = "#eee", _o
3222
3232
  I2.current?.[e3]?.cancel();
3223
3233
  } }, E2.current), [b2, z2]);
3224
3234
  const H2 = ue(({ value: e3, index: t3, dragging: o3 }) => {
3225
- const { style: n3, maxLength: l3, ...r3 } = p2 || {}, i3 = X(Io, { ref: (e4) => {
3235
+ const { style: n3, maxLength: l3, ...r3 } = p2 || {}, i3 = X(Do, { ref: (e4) => {
3226
3236
  I2.current[t3] = e4;
3227
3237
  }, value: e3, disabled: f2, maxLength: l3, style: { color: b2 === t3 && q2 ? q2?.toRGBA().toString() : "inherit", flex: "1 1 100%", paddingTop: "1px", paddingBottom: "1px", ...n3 }, styleHover: {}, onSubmit: (e4) => (A2.current = false, F2(-1), D2(t3, e4)), onCancel: () => {
3228
3238
  A2.current = false, F2(-1);
@@ -3253,24 +3263,24 @@ const $o = "_TabStrip_3x0dp_1", Wo = new p("rgb(33, 115, 70)"), Uo = "#eee", _o
3253
3263
  }, [Q2, ee2, ne2]);
3254
3264
  ce(() => () => ne2(), [ne2]);
3255
3265
  const re2 = ie(() => ({ style: { marginLeft: "4px", marginRight: "6px" }, disabled: Math.floor($2.left) <= 0 || 0 === Math.floor(B2 - P2), orientation: L.Horizontal, onMouseUp: ne2, onMouseLeave: ne2, onMouseDown: () => le2(O2.current.scrollLeft, true), onClick: (e3) => Q2(Math.min(O2.current.scrollLeft, U2 ?? Number.MAX_SAFE_INTEGER), e3.ctrlKey) }), [$2, U2, B2, P2]), se2 = ie(() => ({ style: { marginLeft: "6px", marginRight: "4px" }, disabled: Math.floor(B2 - P2) <= Math.ceil($2.left), orientation: L.Horizontal, onMouseUp: ne2, onMouseLeave: ne2, onMouseDown: () => le2(O2.current.scrollLeft, false), onClick: (e3) => ee2(Math.max(O2.current.scrollLeft, U2 ?? 0), e3.ctrlKey) }), [$2, U2, B2, P2]), he2 = ie(() => Y(J, { children: [X("div", { style: { minWidth: "16px" } }), o2, u2?.(re2)] }), [re2, se2, c2, g2, o2, u2]);
3256
- return Y("div", { style: { ...n2, display: "flex", alignItems: "stretch" }, className: De($o, l2), ref: E2, children: [X("div", { style: { borderTop: `solid ${y2} ${C2}px`, position: "absolute", width: "100%" } }), X("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: he2 }), X("div", { className: "Tabs", ref: N2, style: { flex: "1 1 100%", display: "flex", position: "relative", overflow: "hidden" }, children: X("div", { style: { position: "relative", overflowY: "hidden", overflowX: "hidden", marginBottom: "3px" }, ref: O2, onScroll: (e3) => {
3266
+ return Y("div", { style: { ...n2, display: "flex", alignItems: "stretch" }, className: De(Oo, l2), ref: E2, children: [X("div", { style: { borderTop: `solid ${y2} ${C2}px`, position: "absolute", width: "100%" } }), X("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: he2 }), X("div", { className: "Tabs", ref: N2, style: { flex: "1 1 100%", display: "flex", position: "relative", overflow: "hidden" }, children: X("div", { style: { position: "relative", overflowY: "hidden", overflowX: "hidden", marginBottom: "3px" }, ref: O2, onScroll: (e3) => {
3257
3267
  W2({ left: e3.target.scrollLeft, top: e3.target.scrollTop, width: e3.target.scrollWidth, height: e3.target.scrollHeight });
3258
- }, children: X(Bo, { isDisabled: (e3) => f2 || w2, items: x2, strategy: Oe, modifiers: [$e], ref: V2, renderItem: H2, renderDivider: m2, onMove: M2, activationConstraint: { distance: 15 } }) }) }), X("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: u2(se2) })] });
3268
+ }, children: X(Lo, { isDisabled: (e3) => f2 || w2, items: x2, strategy: Be, modifiers: [Oe], ref: V2, renderItem: H2, renderDivider: m2, onMove: M2, activationConstraint: { distance: 15 } }) }) }), X("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: u2(se2) })] });
3259
3269
  }));
3260
- Go.displayName = "TabStrip";
3261
- const Zo = (e2) => Y("svg", { ...e2, viewBox: "0 0 48 48", children: [X("path", { d: "M 2.2827924,0 C 1.5038324,0 0.87090248,0.52603 0.87090248,1.17149 v 25.39667 h -0.01 v 20.2607 c 0,0.39663 0.24025002,0.74639 0.60481992,0.95852 v 0.18499 h 0.50664 c 0.0972,0.0173 0.19732,0.0276 0.30092,0.0276 h 15.5346916 16.7448 v 0 h 11.35822 c 0.10311,0 0.20276,-0.0104 0.29945,-0.0276 h 0.0696 v -0.0182 c 0.59938,-0.13566 1.04238,-0.58606 1.04238,-1.12526 V 26.96484 c 0.006,-0.0429 0.009,-0.0853 0.009,-0.12925 V 1.17154 c 0,-0.64586 -0.63293,-1.17149 -1.41189,-1.17149 h -15.7478 v 2e-4 h -2.06997 V 5e-5 Z", fill: "#547DBE" }), X("path", { d: "m 2.8338324,2.7184 v 9.0404 H 11.538484 V 2.7184 Z m 11.2334116,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.26696,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.33258,0 v 9.0404 h 8.70465 V 2.7184 Z M 2.8338324,14.32723 v 8.84046 h 8.7046516 v -8.84046 z m 11.2334116,0 v 8.84046 h 8.70465 v -8.84046 z m 11.26696,0 v 8.84046 h 8.70465 v -8.84046 z m 11.33258,0 v 8.84046 h 8.70465 V 14.32723 Z M 2.8338324,25.73691 v 8.67308 h 8.7046516 v -8.67308 z m 11.2334116,0 v 8.67308 h 8.73721 v -8.67308 z m 11.26696,0 v 8.67308 h 8.70465 v -8.67308 z m 11.33258,0 v 8.67308 h 8.70465 V 25.73691 Z M 2.8693424,36.61859 v 8.67357 h 8.7046616 v -8.67357 z m 11.2339116,0 v 8.67357 h 8.73771 v -8.67357 z m 11.26697,0 v 8.67357 h 8.70465 v -8.67357 z m 11.33257,0 v 8.67357 h 8.70465 v -8.67357 z", fill: "#FFFFFF" }), X("path", { d: "m 2.8254424,2.72091 v 9.04041 H 11.570544 V 2.72091 Z m 0,11.60889 v 8.84036 H 11.570544 V 14.3298 Z m 0,11.40958 v 8.67357 h 8.7451016 v -8.67357 z m 0.036,10.88167 v 8.67358 h 8.7451116 v -8.67358 z", fill: "#547DBE", fillOpacity: "0.4" }), X("path", { d: "m 30.820434,6.19497 c 1.85291,0 3.66241,0.29708 5.4285,0.89113 1.7656,0.5942 3.49568,1.50108 5.19073,2.72107 l -2.37584,3.25571 c -1.40941,-1.01391 -2.79515,-1.76647 -4.15721,-2.25759 -1.36206,-0.49111 -2.72412,-0.73667 -4.08618,-0.73667 -2.5817,0 -4.58902,0.53064 -6.02232,1.59218 -1.43334,1.06143 -2.14989,2.56661 -2.14989,4.51523 v 0.0237 c 0,1.36241 0.41177,2.40021 1.23532,3.11315 0.82355,0.71288 1.89253,1.24367 3.20703,1.59217 1.31446,0.3485 2.71608,0.67341 4.20493,0.97439 1.29842,0.26929 2.58944,0.58216 3.87257,0.9386 1.28263,0.3565 2.45032,0.8635 3.50356,1.52097 1.05324,0.65747 1.89288,1.5486 2.51841,2.6734 0.62553,1.12485 0.93829,2.59035 0.93829,4.39635 v 0.0477 c 0,3.18435 -1.10849,5.64817 -3.32597,7.39066 -2.21698,1.7425 -5.33724,2.61399 -9.35978,2.61399 -1.67882,0 -3.25863,-0.15841 -4.73958,-0.47523 -1.4808,-0.31681 -2.86644,-0.79204 -4.15737,-1.42617 -1.29077,-0.63363 -2.49827,-1.42567 -3.6227,-2.37612 l 2.54179,-3.20819 c 1.39383,1.204 2.91819,2.10717 4.57323,2.70928 1.6549,0.60205 3.45641,0.90307 5.40463,0.90307 2.73991,0 4.85823,-0.52704 6.35447,-1.58048 1.49674,-1.05359 2.24511,-2.53098 2.24511,-4.43213 v -0.0237 c 0,-1.37834 -0.37197,-2.43583 -1.11639,-3.17245 -0.74442,-0.73668 -1.71824,-1.2912 -2.92194,-1.66359 -1.2037,-0.37223 -2.51051,-0.6851 -3.91993,-0.9386 -1.34627,-0.23762 -2.69635,-0.51485 -4.05046,-0.83182 -1.35417,-0.31677 -2.59339,-0.7841 -3.71782,-1.40204 -1.12448,-0.61779 -2.03125,-1.49708 -2.72017,-2.63782 -0.68898,-1.14078 -1.03341,-2.66156 -1.03341,-4.5627 v -0.0237 c 0,-3.21623 1.06898,-5.70753 3.20718,-7.47386 2.13805,-1.76648 5.15506,-2.64981 9.05121,-2.64981 z", strokeWidth: "2.5", stroke: "#EB594D", fill: "#f9CECB" })] }), jo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), X("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), X("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), X("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), X("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), X("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), Ko = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -1195 h 512 v 1195 h 256 v -1621 h 512 v 1621 m -810 -512 h -427 v 512 h 427 m 768 -768 h -427 v 768 h 427 z" }), X("path", { className: "styled background", d: "M 832 1941 h -469 v -554 h 469 m 768 554 h -469 v -810 h 469 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -555 h 512 v 555 h 256 v -811 h 512 v 811 m -469 0 h 427 v -768 h -427 m -768 768 h 427 v -512 h -427 z" }), X("path", { className: "styled info_light", d: "M 832 1387 h -469 v -640 h 469 z" }), X("path", { className: "styled info_dark", d: "M 341 725 h 512 v 683 h -512 m 43 -640 v 597 h 427 v -597 z" }), X("path", { className: "styled secondary_light", d: "M 1600 1131 h -469 v -811 h 469 z" }), X("path", { className: "styled secondary_dark", d: "M 1109 299 h 512 v 853 h -512 m 43 -811 v 768 h 427 v -768 z" })] }), Xo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -1621 h 512 v 1621 h 256 v -1621 h 512 v 1621 m -810 -384 h -427 v 384 h 427 m 768 -1024 h -427 v 1024 h 427 z" }), X("path", { className: "styled background", d: "M 832 1941 h -469 v -426 h 469 m 768 426 h -469 v -1066 h 469 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -427 h 512 v 427 h 256 v -1067 h 512 v 1067 m -469 0 h 427 v -1024 h -427 m -768 1024 h 427 v -384 h -427 z" }), X("path", { className: "styled info_light", d: "M 832 1515 h -469 v -1195 h 469 z" }), X("path", { className: "styled info_dark", d: "M 341 299 h 512 v 1237 h -512 m 43 -1195 v 1152 h 427 v -1152 z" }), X("path", { className: "styled secondary_light", d: "M 1600 875 h -469 v -555 h 469 z" }), X("path", { className: "styled secondary_dark", d: "M 1109 299 h 512 v 597 h -512 m 43 -555 v 512 h 427 v -512 z" })] }), Yo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1165 l 574 -574 l 197 144 l 402 -402 l 361 360 l 263 -301 l 32 28 l -265 303 l 264 265 l -30 30 l -262 -263 l -317 362 l -444 -326 l -775 776 v 268 m 806 -1074 l 407 299 l 292 -335 l -332 -332 m -1173 832 v 281 l 740 -740 l -162 -119 z" }), X("path", { className: "styled info", d: "M 122 1658 l -30 -30 l 1209 -1210 l 655 655 l -30 30 l -625 -625 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1165 l 574 -574 l 639 469 l 584 -668 l 32 28 l -610 697 l -641 -470 l -578 578 v 610 z" })] }), Jo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1037 l 571 -570 l 535 259 l 651 -550 l 27 33 l -669 565 l -534 -259 l -581 582 v 452 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" }), X("path", { className: "styled info", d: "M 121 1189 l -29 -31 l 607 -606 l 535 259 l 651 -550 l 27 33 l -669 565 l -534 -259 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1549 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" })] }), Qo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 171 h 1749 v 43 h -1749 v 1335 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" }), X("path", { className: "styled info", d: "M 1877 299 h -1770 v -43 h 1770 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1549 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" })] }), en = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -214 h -42 v -170 h 42 v -256 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 99 73 l 175 -190 h -18 v -170 h 170 v 140 l 233 233 l 280 -373 v -171 h 170 v 171 h -118 l -302 402 l 194 195 h 98 v 171 h -171 v -171 h 13 l -160 -160 l -109 144 v 144 h -170 v -104 l -279 -205 l -703 759 v 147 h -85 m 1015 -1152 l -199 215 l 251 184 v -15 h 139 l 110 -147 l -237 -237 m -1079 726 v 256 h 48 l 705 -761 l -70 -52 v 2 h -171 v -12 l -427 426 v 141 z" }), X("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -640 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 416 -554 v -171 h 170 v 171 h -118 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -85 z" }), X("path", { className: "styled info", d: "M 1694 1024 h 98 v 171 h -171 v -171 h 13 l -427 -427 h -64 l -930 1005 v 147 h -170 v -170 h 133 l 909 -982 h -18 v -170 h 170 v 140 z" })] }), tn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -256 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -554 v -171 h 171 v 171 h -118 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -85 v 256 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1494 h 43 v 1494 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), X("path", { className: "styled info", d: "M 1802 427 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -170 v -171 h 140 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -554 v -171 h 171 v 171 z" })] }), on = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1195 h -42 v -171 h 42 v -128 h 43 v 128 h 85 v 43 h 384 v -43 h 171 v 43 h 427 v -43 h 170 v 43 h 384 v -43 h 171 v 171 h -171 v -85 h -384 v 85 h -170 v -85 h -427 v 85 h -171 v -85 h -384 v 85 h -85 v 1195 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1494 h 43 v 1494 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), X("path", { className: "styled info", d: "M 1920 213 v 171 h -171 v -85 h -384 v 85 h -170 v -85 h -427 v 85 h -171 v -85 h -384 v 85 h -170 v -171 h 170 v 43 h 384 v -43 h 171 v 43 h 427 v -43 h 170 v 43 h 384 v -43 z" })] }), nn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 130 -33 250 q -34 119 -95 224 q -62 104 -147 190 q -86 86 -190 147 q -105 61 -225 95 q -120 33 -249 33 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -126 32 -243 q 31 -117 89 -219 q 58 -102 140 -187 q 82 -86 182 -148 q 100 -62 217 -99 q 116 -37 243 -43 m -862 939 q 0 124 32 238 q 32 114 91 214 q 58 99 140 181 q 82 82 182 141 q 99 58 214 90 q 114 32 237 32 q 173 0 325 -61 q 151 -61 272 -167 l -638 -638 v -924 q -121 6 -230 41 q -109 35 -204 94 q -95 59 -172 140 q -78 81 -133 179 q -55 97 -85 209 q -31 111 -31 231 z" }), X("path", { className: "styled background", d: "M 1941 1024 q 0 127 -32 244 q -33 117 -93 219 q -60 102 -143 186 q -84 83 -186 143 q -102 60 -219 93 q -117 32 -244 32 q -127 0 -244 -32 q -117 -33 -219 -93 q -102 -60 -185 -143 q -84 -84 -144 -186 q -60 -102 -92 -219 q -33 -117 -33 -244 q 0 -127 33 -244 q 32 -117 92 -219 q 60 -102 144 -185 q 83 -84 185 -144 q 102 -60 219 -92 q 117 -33 244 -33 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 z" }), X("path", { className: "styled current_color", d: "M 1666 1709 q -127 118 -291 186 q -164 68 -351 68 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -128 33 -246 q 32 -119 92 -222 q 59 -103 143 -188 q 84 -86 186 -147 q 102 -62 220 -97 q 117 -35 244 -38 v 43 q -121 3 -233 37 q -112 33 -209 92 q -97 59 -177 140 q -80 81 -137 180 q -57 98 -88 211 q -31 113 -31 235 q 0 124 32 238 q 32 114 91 214 q 58 99 140 181 q 82 82 182 141 q 99 58 214 90 q 114 32 237 32 q 178 0 334 -65 q 156 -65 277 -177 z" }), X("path", { className: "styled info_light", d: "M 1024 107 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 q 0 99 -20 193 q -21 93 -58 178 q -38 85 -92 160 q -54 75 -121 138 l -647 -648 v -937 q 5 0 11 0 q 5 -1 10 -1 z" }), X("path", { className: "styled info_dark", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -62 187 q -41 89 -99 168 q -58 78 -130 142 q -9 -8 -15 -15 q -6 -6 -10 -10 q -5 -5 -5 -6 l -639 -638 v -969 m 670 1578 q 62 -61 112 -133 q 50 -72 85 -153 q 35 -82 54 -170 q 18 -89 18 -183 q 0 -123 -32 -237 q -32 -115 -90 -214 q -59 -100 -141 -182 q -82 -82 -181 -140 q -100 -59 -214 -91 q -115 -32 -238 -32 v 908 z" })] }), ln = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -63 187 q -41 89 -98 168 q -58 78 -130 142 q -125 112 -284 176 q -160 64 -342 64 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -126 33 -244 q 33 -118 93 -221 q 59 -104 144 -190 q 84 -86 187 -148 q 102 -62 221 -97 q 118 -36 247 -39 m 307 1305 q 81 -65 129 -159 q 47 -95 47 -207 q 0 -97 -37 -182 q -37 -86 -100 -149 q -64 -64 -149 -101 q -86 -37 -183 -37 q -11 0 -21 1 q -11 0 -22 1 q -90 8 -167 48 q -78 39 -135 102 q -58 62 -91 144 q -33 81 -33 173 q 0 97 37 183 q 37 85 101 149 q 63 63 149 100 q 85 37 182 37 q 84 0 159 -27 q 74 -28 134 -76 m -293 530 q 173 0 325 -60 q 151 -61 270 -168 l -272 -272 q -66 54 -148 85 q -82 31 -175 31 q -106 0 -199 -40 q -94 -40 -163 -109 q -70 -70 -110 -163 q -40 -94 -40 -200 q 0 -100 37 -189 q 36 -90 100 -158 q 63 -69 149 -112 q 85 -43 183 -51 v -384 q -119 6 -228 41 q -109 35 -204 94 q -95 59 -172 140 q -78 81 -133 179 q -56 97 -86 209 q -30 111 -30 231 q 0 124 32 239 q 32 114 91 214 q 58 99 140 181 q 81 81 181 140 q 99 58 214 90 q 114 32 238 32 z" }), X("path", { className: "styled background", d: "M 1658 1692 q -125 119 -286 187 q -162 68 -348 68 q -127 0 -244 -33 q -118 -33 -220 -93 q -103 -60 -186 -143 q -84 -84 -144 -186 q -60 -103 -93 -220 q -33 -118 -33 -245 q 0 -125 32 -241 q 32 -116 90 -217 q 58 -101 140 -184 q 81 -84 181 -144 q 99 -61 214 -95 q 115 -35 239 -38 v 429 q -97 5 -181 45 q -85 40 -148 106 q -63 65 -99 152 q -36 86 -36 184 q 0 101 39 190 q 38 89 104 155 q 66 66 155 105 q 89 38 190 38 q 91 0 171 -30 q 80 -31 144 -85 z" }), X("path", { className: "styled current_color", d: "M 1364 1406 q -69 61 -155 96 q -86 34 -185 34 q -106 0 -199 -40 q -94 -40 -163 -109 q -70 -70 -110 -163 q -40 -94 -40 -200 q 0 -103 39 -194 q 38 -92 105 -161 q 66 -69 156 -110 q 89 -42 191 -46 v 42 q -94 4 -175 43 q -82 38 -142 101 q -61 63 -96 147 q -35 84 -35 178 q 0 97 37 183 q 37 85 101 149 q 63 63 149 100 q 85 37 182 37 q 90 0 169 -31 q 79 -31 141 -86 m 332 333 q -127 118 -291 186 q -164 68 -351 68 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -128 33 -246 q 32 -119 92 -222 q 59 -103 143 -188 q 84 -86 186 -147 q 102 -62 220 -97 q 117 -35 244 -38 v 43 q -121 3 -233 37 q -112 33 -209 92 q -98 58 -177 140 q -80 81 -137 180 q -57 98 -88 211 q -31 113 -31 235 q 0 124 32 239 q 32 114 91 214 q 58 99 140 181 q 81 81 181 140 q 99 58 214 90 q 114 32 238 32 q 179 0 335 -64 q 155 -65 276 -178 z" }), X("path", { className: "styled info_light", d: "M 1515 1024 q 0 -102 -38 -191 q -39 -89 -106 -156 q -67 -67 -156 -105 q -89 -39 -191 -39 q -5 0 -10 1 q -6 0 -11 0 v -426 q 5 0 11 0 q 5 -1 10 -1 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 q 0 99 -20 193 q -21 93 -58 178 q -38 85 -92 160 q -54 75 -121 138 l -302 -301 q 77 -68 122 -162 q 45 -95 45 -206 z" }), X("path", { className: "styled info_dark", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -63 188 q -41 89 -98 168 q -58 78 -130 142 l -333 -334 q 81 -65 129 -159 q 47 -95 47 -207 q 0 -97 -37 -182 q -37 -86 -100 -149 q -64 -64 -149 -101 q -86 -37 -183 -37 q -11 0 -21 1 q -11 0 -22 1 v -471 q 11 0 22 0 q 10 -1 21 -1 m 627 1579 q 62 -61 112 -133 q 50 -73 85 -154 q 35 -81 54 -170 q 18 -89 18 -183 q 0 -124 -32 -238 q -32 -115 -90 -214 q -59 -100 -140 -181 q -82 -82 -181 -140 q -100 -59 -214 -91 q -115 -32 -239 -32 v 384 q 106 0 200 40 q 93 40 163 110 q 69 69 109 163 q 40 93 40 199 q 0 109 -42 204 q -42 94 -114 164 z" })] }), rn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 171 h 1707 v 341 h -640 v 299 h -1067 v 171 h 811 v 298 h 512 v 342 h -1323 v 213 m 0 -1067 h 1024 v -256 h -1024 m 0 1067 h 1280 v -256 h -1280 z" }), X("path", { className: "styled background", d: "M 1429 1387 v 298 h -1322 v -298 m 1066 -811 v 299 h -1066 v -299 z" }), X("path", { className: "styled info_light", d: "M 1813 277 v 299 h -1706 v -299 z" }), X("path", { className: "styled info_dark", d: "M 101 597 v -42 h 1691 v -256 h -1691 v -43 h 1734 v 341 z" }), X("path", { className: "styled secondary_light", d: "M 917 1088 v 299 h -810 v -299 z" }), X("path", { className: "styled secondary_dark", d: "M 896 1109 h -795 v -42 h 838 v 322 h -43 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 768 h 1024 v -256 h 43 v 299 h -1067 v 469 h 1323 v 342 h -1323 v 213 m 0 -512 v 256 h 1280 v -256 z" })] }), an = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 1237 v 512 h -1237 v 256 h 1621 v 512 h -1621 v 299 m 0 -1109 h 555 v -427 h -555 m 0 1195 h 768 v -427 h -768 z" }), X("path", { className: "styled background", d: "M 107 832 v -469 h 597 v 469 m -597 768 v -469 h 810 v 469 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 597 v 512 h -597 v 256 h 811 v 512 h -811 v 299 m 0 -768 v 427 h 768 v -427 m -768 -768 v 427 h 555 v -427 z" }), X("path", { className: "styled info_light", d: "M 704 832 v -469 h 640 v 469 z" }), X("path", { className: "styled info_dark", d: "M 1365 341 v 512 h -682 v -512 m 640 43 h -598 v 427 h 598 z" }), X("path", { className: "styled secondary_light", d: "M 917 1600 v -469 h 811 v 469 z" }), X("path", { className: "styled secondary_dark", d: "M 1749 1109 v 512 h -853 v -512 m 811 43 h -768 v 427 h 768 z" })] }), sn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 1621 v 512 h -1621 v 256 h 1621 v 512 h -1621 v 299 m 0 -1109 h 384 v -427 h -384 m 0 1195 h 1024 v -427 h -1024 z" }), X("path", { className: "styled background", d: "M 107 832 v -469 h 426 v 469 m -426 768 v -469 h 1066 v 469 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 427 v 512 h -427 v 256 h 1067 v 512 h -1067 v 299 m 0 -768 v 427 h 1024 v -427 m -1024 -768 v 427 h 384 v -427 z" }), X("path", { className: "styled info_light", d: "M 533 832 v -469 h 1195 v 469 z" }), X("path", { className: "styled info_dark", d: "M 1749 341 v 512 h -1237 v -512 m 1195 43 h -1152 v 427 h 1152 z" }), X("path", { className: "styled secondary_light", d: "M 1173 1600 v -469 h 555 v 469 z" }), X("path", { className: "styled secondary_dark", d: "M 1749 1109 v 512 h -597 v -512 m 555 43 h -512 v 427 h 512 z" })] }), dn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 896 v 1067 h -1878 v -1878 h 43 v 989 l 253 256 l 544 -345 l 74 -91 l 644 466 l 277 -464 m 0 718 l -913 -662 l -476 591 l -403 -408 v 785 h 1792 z" }), X("path", { className: "styled background", d: "M 530 1511 l 473 -588 l 914 656 l 24 53 v 304 h -1834 l 2 -864 z" }), X("path", { className: "styled info_light", d: "M 1939 923 v 658 l -288 -192 m -1272 -40 l 525 -312 l -374 474 z" }), X("path", { className: "styled info_dark", d: "M 361 1342 l 572 -362 l 22 36 l -571 362 m 1248 1 l 287 -483 l 37 22 l -287 482 z" }), X("path", { className: "styled current_color", d: "M 1963 896 v 1067 h -1878 v -1878 h 43 v 989 l 400 405 l 471 -585 l 921 667 v -665 m 0 1024 v -306 l -913 -662 l -476 591 l -403 -408 v 785 z" })] }), cn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 640 v 926 l -641 -554 l -618 703 l -576 -575 v 780 h 1835 v 43 h -1878 v -1878 h 43 v 353 l 576 577 l 661 -704 l 276 329 z" }), X("path", { className: "styled background", d: "M 1963 1941 h -1856 v -853 l 597 597 l 618 -704 l 641 555 z" }), X("path", { className: "styled info_light", d: "M 1963 1536 l -641 -555 l -618 704 l -597 -597 v -640 l 597 597 l 661 -704 l 269 319 h 329 z" }), X("path", { className: "styled info_dark", d: "M 1963 640 v 43 h -342 l -258 -310 l -659 702 l -597 -598 v -60 l 597 598 l 661 -704 l 276 329 m 322 866 v 60 l -641 -554 l -618 703 l -597 -597 v -62 l 597 599 l 618 -704 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), gn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 85 v 1878 h -1878 v -1878 m 1835 1524 l -788 -746 l -576 662 l -428 -428 v 823 h 1792 z" }), X("path", { className: "styled background", d: "M 1941 1941 h -1834 v -1834 h 1834 z" }), X("path", { className: "styled current_color", d: "M 1963 85 v 1878 h -1878 v -1878 m 1835 43 h -1792 v 1792 h 1792 z" }), X("path", { className: "styled info_light", d: "M 1941 107 v 1493 l -810 -768 l -576 661 l -448 -448 v -938 z" }), X("path", { className: "styled info_dark", d: "M 1963 1649 l -831 -786 l -576 662 l -471 -467 v -973 h 1878 m -43 1465 v -1422 h -1792 v 908 l 426 426 l 575 -661 z" })] }), un = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 384 213 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 1323 42 q 26 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 7 33 7 m -939 298 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 427 128 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m 0 213 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 m 768 384 v 43 h -1878 v -1878 h 43 v 1835 m 1579 -213 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 m -854 -982 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m -469 982 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m 1024 -640 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 z" }), X("path", { className: "styled background", d: "M 1195 1344 q 22 0 42 9 q 19 8 33 23 q 14 14 23 34 q 8 19 8 41 q 0 45 -30 76 q -31 30 -76 30 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -14 -23 -33 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 m -427 -341 q 22 0 42 9 q 19 8 34 22 q 14 14 23 34 q 8 19 8 41 q 0 22 -8 42 q -9 19 -23 34 q -15 14 -34 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 m 939 -512 q 45 0 76 31 q 30 30 30 75 q 0 22 -8 42 q -9 19 -23 34 q -14 14 -33 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 m -1323 -256 q 22 0 42 9 q 19 8 34 22 q 14 14 23 34 q 8 19 8 41 q 0 22 -8 42 q -9 19 -23 34 q -15 14 -34 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 z" }), X("path", { className: "styled info", d: "M 384 213 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 1323 42 q 26 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 7 33 7 m -939 298 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 427 128 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m 0 213 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1579 -213 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 m -854 -982 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m -469 982 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m 1024 -640 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 z" })] }), hn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1664 1501 q 37 13 61 46 q 24 33 24 75 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 v -34 q 0 -140 -15 -248 q -16 -108 -42 -191 l -7 2 q -26 93 -66 161 q -40 68 -88 116 q -48 47 -101 76 q -54 29 -108 44 q -2 24 -13 46 q -11 21 -28 37 q -17 15 -39 24 q -22 9 -47 9 q -45 0 -78 -26 q -34 -26 -45 -66 q -115 -15 -221 -84 q -107 -69 -207 -190 q -36 91 -59 176 q -24 85 -38 152 q 41 12 67 46 q 26 33 26 78 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -26 10 -48 q 9 -23 25 -40 q 16 -18 38 -28 q 22 -10 47 -12 q 15 -73 42 -167 q 26 -95 69 -195 q -48 -62 -94 -141 q -47 -80 -89 -168 q -43 -88 -80 -178 q -37 -91 -64 -176 q -25 -2 -46 -12 q -22 -11 -37 -28 q -16 -17 -25 -39 q -9 -23 -9 -48 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 45 -26 79 q -27 33 -69 44 q 19 59 48 135 q 29 75 67 158 q 37 82 84 167 q 47 85 103 163 q 33 -72 76 -141 q 42 -70 96 -131 q -38 -36 -38 -90 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 35 0 64 17 q 28 16 45 43 q 63 -32 133 -48 q 70 -17 154 -17 q 6 0 39 4 q 32 3 79 21 q 47 17 102 54 q 55 37 107 105 q 21 -9 45 -9 q 5 0 9 1 q 3 0 7 0 q 1 -20 2 -40 q 0 -21 0 -43 q 0 -174 -33 -390 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 35 -16 64 q -17 28 -44 45 q 18 113 27 215 q 8 102 8 193 q 0 25 0 48 q 0 23 -2 46 q 32 16 51 46 q 19 30 19 68 q 0 35 -16 63 q -17 28 -43 45 q 30 96 45 210 q 14 114 14 248 m -171 -1206 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 m -1408 86 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 m 982 1152 q 35 0 60 -25 q 25 -25 25 -61 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 12 27 19 q 15 6 33 6 m 354 -278 q 59 -80 92 -194 q -23 -4 -42 -15 q -19 -12 -33 -28 q -14 -17 -22 -38 q -8 -21 -8 -45 q 0 -29 13 -54 q 12 -26 32 -43 q -45 -61 -95 -94 q -51 -34 -93 -49 q -43 -15 -71 -17 q -29 -3 -31 -3 q -78 0 -144 16 q -67 15 -126 46 q 3 14 3 28 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -29 0 -55 -13 q -57 63 -101 136 q -44 73 -77 150 q 41 53 87 99 q 45 46 96 82 q 50 36 106 60 q 55 23 115 32 q 1 -25 12 -47 q 11 -22 28 -38 q 17 -16 40 -25 q 22 -10 48 -10 q 45 0 79 28 q 34 27 45 69 q 61 -19 120 -56 q 59 -37 110 -105 z" }), X("path", { className: "styled background", d: "M 1305 1497 q 0 23 -8 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -43 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 23 0 43 9 q 20 8 35 23 q 15 15 24 35 q 8 20 8 43 m -890 -1072 q 0 23 -9 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -42 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 22 0 42 9 q 20 8 35 23 q 15 15 24 35 q 9 20 9 43 m 1317 -167 q 0 23 -8 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -43 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 23 0 43 9 q 20 8 35 23 q 15 15 24 35 q 8 20 8 43 z" }), X("path", { className: "styled info", d: "M 1689 365 q 18 112 27 213 q 8 101 8 193 q 0 183 -35 322 q -35 138 -106 234 q -29 38 -60 67 q -32 29 -65 51 q -34 21 -68 36 q -35 14 -68 24 q -2 24 -13 46 q -11 21 -28 37 q -17 15 -39 24 q -22 9 -47 9 q -45 0 -78 -26 q -34 -26 -45 -66 q -114 -15 -224 -87 q -110 -72 -211 -196 q -101 -125 -189 -299 q -89 -174 -160 -393 q -25 -2 -46 -12 q -22 -11 -37 -28 q -16 -17 -25 -39 q -9 -23 -9 -48 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 45 -26 79 q -27 33 -69 44 q 23 69 59 161 q 35 92 83 191 q 48 99 109 197 q 61 98 136 179 q 74 81 161 137 q 87 55 187 70 q 1 -25 12 -47 q 11 -22 28 -38 q 17 -16 40 -25 q 22 -10 48 -10 q 45 0 79 28 q 34 27 45 69 q 61 -19 120 -56 q 59 -37 110 -105 q 133 -178 133 -530 q 0 -174 -33 -390 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 35 -16 64 q -17 28 -44 45 m -1476 62 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 m 982 1152 q 35 0 60 -25 q 25 -25 25 -61 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 12 27 19 q 15 6 33 6 m 341 -1323 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 z" }), X("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1664 1501 q 37 13 61 46 q 24 33 24 75 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 v -34 q 0 -140 -15 -248 q -16 -108 -42 -191 q -14 3 -28 3 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -29 13 -54 q 12 -26 32 -43 q -45 -61 -95 -94 q -51 -34 -93 -49 q -43 -15 -71 -17 q -29 -3 -31 -3 q -78 0 -144 16 q -67 15 -126 46 q 3 14 3 28 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -29 0 -55 -13 q -66 73 -115 161 q -49 87 -84 176 q -35 88 -58 172 q -24 83 -37 148 q 41 12 67 46 q 26 33 26 78 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -26 10 -48 q 9 -23 25 -40 q 16 -18 38 -28 q 22 -10 47 -12 q 14 -67 38 -152 q 23 -86 59 -177 q 36 -92 87 -182 q 50 -90 118 -167 q -38 -36 -38 -90 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 35 0 64 17 q 28 16 45 43 q 63 -32 133 -48 q 70 -17 154 -17 q 6 0 39 4 q 32 3 79 21 q 47 17 102 54 q 55 37 107 105 q 21 -9 45 -9 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 35 -16 63 q -17 28 -43 45 q 30 96 45 210 q 14 114 14 248 z" })] }), mn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1577 -902 q 93 215 93 547 q 0 88 -6 184 l -43 -3 q 3 -47 5 -92 q 2 -45 2 -88 q 0 -277 -68 -470 q -25 97 -65 167 q -40 70 -89 119 q -49 48 -104 78 q -55 29 -108 46 q -54 16 -103 22 q -49 5 -87 5 q -74 0 -141 -21 q -68 -21 -129 -58 q -62 -37 -116 -88 q -55 -51 -104 -111 q -39 93 -64 181 q -25 88 -40 157 q -15 69 -21 112 q -6 42 -6 44 l -42 -4 q 0 -2 7 -48 q 6 -46 23 -120 q 16 -74 44 -168 q 27 -94 70 -192 q -60 -79 -109 -167 q -50 -88 -90 -174 q -40 -86 -70 -164 q -30 -79 -50 -141 q -21 -62 -32 -102 q -11 -40 -13 -47 l 42 -11 q 0 2 10 37 q 10 35 29 93 q 19 58 48 135 q 28 76 66 160 q 38 83 86 170 q 47 86 104 165 q 45 -96 106 -184 q 61 -89 142 -156 q 80 -68 181 -108 q 101 -40 227 -40 q 3 0 22 2 q 19 1 49 9 q 30 8 68 25 q 38 16 80 46 q 41 29 83 75 q 42 46 80 112 q 5 -42 8 -87 q 2 -45 2 -93 q 0 -243 -64 -562 l 42 -8 q 65 325 65 569 q 0 68 -5 130 q -5 61 -15 117 m -156 283 q 79 -106 111 -275 q -33 -74 -72 -125 q -40 -51 -81 -84 q -41 -34 -80 -52 q -39 -19 -69 -27 q -31 -9 -49 -11 q -19 -2 -20 -2 q -121 0 -218 41 q -97 40 -173 107 q -77 67 -135 155 q -58 87 -101 181 q 47 60 100 112 q 53 51 112 89 q 58 37 123 59 q 65 21 136 21 q 45 0 99 -7 q 54 -7 110 -27 q 55 -21 109 -58 q 54 -37 98 -97 z" }), X("path", { className: "styled info", d: "M 1792 1749 l -43 -3 q 6 -93 6 -178 q 0 -244 -51 -422 q -51 -179 -152 -287 q -47 -49 -93 -76 q -46 -28 -83 -40 q -38 -13 -62 -15 q -24 -3 -25 -3 q -124 0 -223 44 q -99 43 -177 114 q -78 71 -136 162 q -58 90 -100 186 q -42 95 -69 187 q -28 91 -44 164 q -16 72 -22 118 q -7 46 -7 49 l -42 -4 q 0 -3 5 -34 q 4 -32 14 -84 q 10 -52 27 -120 q 17 -68 43 -144 q 25 -76 60 -156 q 35 -80 82 -155 q 46 -76 105 -143 q 58 -67 131 -117 q 73 -51 161 -80 q 88 -29 193 -29 q 3 0 30 3 q 27 2 69 16 q 41 14 92 44 q 51 30 102 84 q 216 231 216 735 q 0 45 -2 91 q -2 45 -5 93 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1004 -387 q -111 0 -207 -46 q -97 -46 -179 -121 q -83 -75 -151 -172 q -68 -97 -122 -199 q -55 -102 -96 -201 q -41 -99 -68 -178 q -28 -80 -43 -132 q -15 -53 -17 -62 l 42 -11 q 1 2 14 50 q 13 47 40 124 q 26 76 66 173 q 39 96 91 197 q 52 101 118 197 q 65 96 144 171 q 79 75 171 121 q 92 46 197 46 q 45 0 99 -7 q 54 -7 110 -27 q 56 -21 110 -58 q 54 -37 98 -97 q 133 -180 133 -528 q 0 -121 -16 -261 q -16 -141 -48 -302 l 42 -8 q 65 325 65 569 q 0 364 -142 556 q -50 67 -111 108 q -62 40 -123 62 q -62 22 -119 29 q -57 7 -98 7 z" })] }), pn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 213 342 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 63 q -17 28 -44 45 l 361 762 l 165 -282 q -36 -14 -59 -46 q -23 -32 -23 -73 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 62 q -16 28 -42 45 l 78 89 l 449 -570 q -20 -18 -31 -42 q -11 -25 -11 -53 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -11 0 -20 -2 q -10 -2 -19 -5 l -258 814 l 410 467 l -54 -422 q -5 1 -8 1 q -4 0 -8 0 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 38 -19 69 q -20 30 -52 46 l 70 565 l -482 -549 l -46 145 q 26 17 43 45 q 16 28 16 63 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 15 0 29 3 l 53 -166 l -189 -214 l -295 375 l -69 -146 l -147 251 q 29 17 47 46 q 17 29 17 64 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 q 11 0 23 3 l 166 -283 l -375 -789 q -14 3 -28 3 m 982 1109 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 m 341 -1323 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 m -105 275 l -401 509 l 176 200 m -355 -301 l -187 301 l 52 129 l 258 -327 l -93 -106 q -15 3 -30 3 m -638 -683 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 z" }), X("path", { className: "styled background", d: "M 1771 296 q 0 22 -8 42 q -9 19 -23 34 q -15 15 -35 24 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -24 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 q 22 0 42 9 q 20 8 35 23 q 14 14 23 34 q 8 19 8 41 m -1320 7 q 0 22 -8 42 q -9 19 -23 34 q -15 15 -34 24 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -35 -24 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 15 -15 35 -23 q 19 -9 41 -9 q 22 0 42 9 q 19 8 34 23 q 14 14 23 34 q 8 19 8 41 m 902 1232 q 0 23 -8 43 q -9 19 -23 34 q -15 14 -35 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -43 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 q 22 0 42 9 q 20 8 35 23 q 14 14 23 34 q 8 19 8 41 z" }), X("path", { className: "styled info", d: "M 1664 171 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -11 0 -20 -2 q -10 -2 -19 -5 l -319 1008 q 26 17 43 45 q 16 28 16 63 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 15 0 29 3 l 293 -923 l -724 918 l -466 -982 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 63 q -17 28 -44 45 l 435 919 l 734 -932 q -20 -18 -31 -42 q -11 -25 -11 -53 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m -1323 213 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 m 982 1152 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 m 341 -1152 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 z" }), X("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1636 1182 l 70 565 l -825 -939 q -15 3 -30 3 l -360 615 q 29 17 47 46 q 17 29 17 64 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 q 11 0 23 3 l 357 -609 q -36 -14 -59 -46 q -23 -32 -23 -73 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 62 q -16 28 -42 45 l 726 826 l -54 -422 q -5 1 -8 1 q -4 0 -8 0 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 38 -19 69 q -20 30 -52 46 z" })] }), fn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1503 1457 l -10 61 l -42 -6 l 16 -96 l -334 -380 l -309 389 l -72 -147 l -248 421 l -37 -21 l 262 -446 l -463 -951 l 39 -18 l 451 925 l 227 -387 l 149 168 l 564 -710 l -184 1143 l 263 299 l -68 -525 l 42 -5 l 83 661 m -728 -828 l -114 -130 l -212 360 l 54 112 m 644 14 l 155 -951 l -471 593 m 803 918 v 43 h -1878 v -1878 h 43 v 1835 z" }), X("path", { className: "styled info", d: "M 1493 1518 l -42 -6 l 180 -1103 l -807 1016 l -558 -1144 l 39 -18 l 527 1083 l 864 -1087 z" }), X("path", { className: "styled current_color", d: "M 1832 1832 l -842 -958 l -486 825 l -37 -21 l 516 -877 l 792 900 l -68 -525 l 42 -5 m 214 749 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), wn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), X("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), X("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), X("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), X("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), X("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), vn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), X("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), X("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), X("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), X("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), X("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), qn = he(null);
3262
- qn.displayName = "DocThemesContext";
3263
- const yn = (e2) => {
3270
+ _o.displayName = "TabStrip";
3271
+ const Go = (e2) => Y("svg", { ...e2, viewBox: "0 0 48 48", children: [X("path", { d: "M 2.2827924,0 C 1.5038324,0 0.87090248,0.52603 0.87090248,1.17149 v 25.39667 h -0.01 v 20.2607 c 0,0.39663 0.24025002,0.74639 0.60481992,0.95852 v 0.18499 h 0.50664 c 0.0972,0.0173 0.19732,0.0276 0.30092,0.0276 h 15.5346916 16.7448 v 0 h 11.35822 c 0.10311,0 0.20276,-0.0104 0.29945,-0.0276 h 0.0696 v -0.0182 c 0.59938,-0.13566 1.04238,-0.58606 1.04238,-1.12526 V 26.96484 c 0.006,-0.0429 0.009,-0.0853 0.009,-0.12925 V 1.17154 c 0,-0.64586 -0.63293,-1.17149 -1.41189,-1.17149 h -15.7478 v 2e-4 h -2.06997 V 5e-5 Z", fill: "#547DBE" }), X("path", { d: "m 2.8338324,2.7184 v 9.0404 H 11.538484 V 2.7184 Z m 11.2334116,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.26696,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.33258,0 v 9.0404 h 8.70465 V 2.7184 Z M 2.8338324,14.32723 v 8.84046 h 8.7046516 v -8.84046 z m 11.2334116,0 v 8.84046 h 8.70465 v -8.84046 z m 11.26696,0 v 8.84046 h 8.70465 v -8.84046 z m 11.33258,0 v 8.84046 h 8.70465 V 14.32723 Z M 2.8338324,25.73691 v 8.67308 h 8.7046516 v -8.67308 z m 11.2334116,0 v 8.67308 h 8.73721 v -8.67308 z m 11.26696,0 v 8.67308 h 8.70465 v -8.67308 z m 11.33258,0 v 8.67308 h 8.70465 V 25.73691 Z M 2.8693424,36.61859 v 8.67357 h 8.7046616 v -8.67357 z m 11.2339116,0 v 8.67357 h 8.73771 v -8.67357 z m 11.26697,0 v 8.67357 h 8.70465 v -8.67357 z m 11.33257,0 v 8.67357 h 8.70465 v -8.67357 z", fill: "#FFFFFF" }), X("path", { d: "m 2.8254424,2.72091 v 9.04041 H 11.570544 V 2.72091 Z m 0,11.60889 v 8.84036 H 11.570544 V 14.3298 Z m 0,11.40958 v 8.67357 h 8.7451016 v -8.67357 z m 0.036,10.88167 v 8.67358 h 8.7451116 v -8.67358 z", fill: "#547DBE", fillOpacity: "0.4" }), X("path", { d: "m 30.820434,6.19497 c 1.85291,0 3.66241,0.29708 5.4285,0.89113 1.7656,0.5942 3.49568,1.50108 5.19073,2.72107 l -2.37584,3.25571 c -1.40941,-1.01391 -2.79515,-1.76647 -4.15721,-2.25759 -1.36206,-0.49111 -2.72412,-0.73667 -4.08618,-0.73667 -2.5817,0 -4.58902,0.53064 -6.02232,1.59218 -1.43334,1.06143 -2.14989,2.56661 -2.14989,4.51523 v 0.0237 c 0,1.36241 0.41177,2.40021 1.23532,3.11315 0.82355,0.71288 1.89253,1.24367 3.20703,1.59217 1.31446,0.3485 2.71608,0.67341 4.20493,0.97439 1.29842,0.26929 2.58944,0.58216 3.87257,0.9386 1.28263,0.3565 2.45032,0.8635 3.50356,1.52097 1.05324,0.65747 1.89288,1.5486 2.51841,2.6734 0.62553,1.12485 0.93829,2.59035 0.93829,4.39635 v 0.0477 c 0,3.18435 -1.10849,5.64817 -3.32597,7.39066 -2.21698,1.7425 -5.33724,2.61399 -9.35978,2.61399 -1.67882,0 -3.25863,-0.15841 -4.73958,-0.47523 -1.4808,-0.31681 -2.86644,-0.79204 -4.15737,-1.42617 -1.29077,-0.63363 -2.49827,-1.42567 -3.6227,-2.37612 l 2.54179,-3.20819 c 1.39383,1.204 2.91819,2.10717 4.57323,2.70928 1.6549,0.60205 3.45641,0.90307 5.40463,0.90307 2.73991,0 4.85823,-0.52704 6.35447,-1.58048 1.49674,-1.05359 2.24511,-2.53098 2.24511,-4.43213 v -0.0237 c 0,-1.37834 -0.37197,-2.43583 -1.11639,-3.17245 -0.74442,-0.73668 -1.71824,-1.2912 -2.92194,-1.66359 -1.2037,-0.37223 -2.51051,-0.6851 -3.91993,-0.9386 -1.34627,-0.23762 -2.69635,-0.51485 -4.05046,-0.83182 -1.35417,-0.31677 -2.59339,-0.7841 -3.71782,-1.40204 -1.12448,-0.61779 -2.03125,-1.49708 -2.72017,-2.63782 -0.68898,-1.14078 -1.03341,-2.66156 -1.03341,-4.5627 v -0.0237 c 0,-3.21623 1.06898,-5.70753 3.20718,-7.47386 2.13805,-1.76648 5.15506,-2.64981 9.05121,-2.64981 z", strokeWidth: "2.5", stroke: "#EB594D", fill: "#f9CECB" })] }), Zo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), X("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), X("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), X("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), X("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), X("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), jo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -1195 h 512 v 1195 h 256 v -1621 h 512 v 1621 m -810 -512 h -427 v 512 h 427 m 768 -768 h -427 v 768 h 427 z" }), X("path", { className: "styled background", d: "M 832 1941 h -469 v -554 h 469 m 768 554 h -469 v -810 h 469 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -555 h 512 v 555 h 256 v -811 h 512 v 811 m -469 0 h 427 v -768 h -427 m -768 768 h 427 v -512 h -427 z" }), X("path", { className: "styled info_light", d: "M 832 1387 h -469 v -640 h 469 z" }), X("path", { className: "styled info_dark", d: "M 341 725 h 512 v 683 h -512 m 43 -640 v 597 h 427 v -597 z" }), X("path", { className: "styled secondary_light", d: "M 1600 1131 h -469 v -811 h 469 z" }), X("path", { className: "styled secondary_dark", d: "M 1109 299 h 512 v 853 h -512 m 43 -811 v 768 h 427 v -768 z" })] }), Ko = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -1621 h 512 v 1621 h 256 v -1621 h 512 v 1621 m -810 -384 h -427 v 384 h 427 m 768 -1024 h -427 v 1024 h 427 z" }), X("path", { className: "styled background", d: "M 832 1941 h -469 v -426 h 469 m 768 426 h -469 v -1066 h 469 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -427 h 512 v 427 h 256 v -1067 h 512 v 1067 m -469 0 h 427 v -1024 h -427 m -768 1024 h 427 v -384 h -427 z" }), X("path", { className: "styled info_light", d: "M 832 1515 h -469 v -1195 h 469 z" }), X("path", { className: "styled info_dark", d: "M 341 299 h 512 v 1237 h -512 m 43 -1195 v 1152 h 427 v -1152 z" }), X("path", { className: "styled secondary_light", d: "M 1600 875 h -469 v -555 h 469 z" }), X("path", { className: "styled secondary_dark", d: "M 1109 299 h 512 v 597 h -512 m 43 -555 v 512 h 427 v -512 z" })] }), Xo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1165 l 574 -574 l 197 144 l 402 -402 l 361 360 l 263 -301 l 32 28 l -265 303 l 264 265 l -30 30 l -262 -263 l -317 362 l -444 -326 l -775 776 v 268 m 806 -1074 l 407 299 l 292 -335 l -332 -332 m -1173 832 v 281 l 740 -740 l -162 -119 z" }), X("path", { className: "styled info", d: "M 122 1658 l -30 -30 l 1209 -1210 l 655 655 l -30 30 l -625 -625 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1165 l 574 -574 l 639 469 l 584 -668 l 32 28 l -610 697 l -641 -470 l -578 578 v 610 z" })] }), Yo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1037 l 571 -570 l 535 259 l 651 -550 l 27 33 l -669 565 l -534 -259 l -581 582 v 452 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" }), X("path", { className: "styled info", d: "M 121 1189 l -29 -31 l 607 -606 l 535 259 l 651 -550 l 27 33 l -669 565 l -534 -259 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1549 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" })] }), Jo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 171 h 1749 v 43 h -1749 v 1335 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" }), X("path", { className: "styled info", d: "M 1877 299 h -1770 v -43 h 1770 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1549 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" })] }), Qo = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -214 h -42 v -170 h 42 v -256 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 99 73 l 175 -190 h -18 v -170 h 170 v 140 l 233 233 l 280 -373 v -171 h 170 v 171 h -118 l -302 402 l 194 195 h 98 v 171 h -171 v -171 h 13 l -160 -160 l -109 144 v 144 h -170 v -104 l -279 -205 l -703 759 v 147 h -85 m 1015 -1152 l -199 215 l 251 184 v -15 h 139 l 110 -147 l -237 -237 m -1079 726 v 256 h 48 l 705 -761 l -70 -52 v 2 h -171 v -12 l -427 426 v 141 z" }), X("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -640 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 416 -554 v -171 h 170 v 171 h -118 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -85 z" }), X("path", { className: "styled info", d: "M 1694 1024 h 98 v 171 h -171 v -171 h 13 l -427 -427 h -64 l -930 1005 v 147 h -170 v -170 h 133 l 909 -982 h -18 v -170 h 170 v 140 z" })] }), en = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -256 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -554 v -171 h 171 v 171 h -118 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -85 v 256 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1494 h 43 v 1494 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), X("path", { className: "styled info", d: "M 1802 427 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -170 v -171 h 140 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -554 v -171 h 171 v 171 z" })] }), tn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1195 h -42 v -171 h 42 v -128 h 43 v 128 h 85 v 43 h 384 v -43 h 171 v 43 h 427 v -43 h 170 v 43 h 384 v -43 h 171 v 171 h -171 v -85 h -384 v 85 h -170 v -85 h -427 v 85 h -171 v -85 h -384 v 85 h -85 v 1195 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1494 h 43 v 1494 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), X("path", { className: "styled info", d: "M 1920 213 v 171 h -171 v -85 h -384 v 85 h -170 v -85 h -427 v 85 h -171 v -85 h -384 v 85 h -170 v -171 h 170 v 43 h 384 v -43 h 171 v 43 h 427 v -43 h 170 v 43 h 384 v -43 z" })] }), on = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 130 -33 250 q -34 119 -95 224 q -62 104 -147 190 q -86 86 -190 147 q -105 61 -225 95 q -120 33 -249 33 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -126 32 -243 q 31 -117 89 -219 q 58 -102 140 -187 q 82 -86 182 -148 q 100 -62 217 -99 q 116 -37 243 -43 m -862 939 q 0 124 32 238 q 32 114 91 214 q 58 99 140 181 q 82 82 182 141 q 99 58 214 90 q 114 32 237 32 q 173 0 325 -61 q 151 -61 272 -167 l -638 -638 v -924 q -121 6 -230 41 q -109 35 -204 94 q -95 59 -172 140 q -78 81 -133 179 q -55 97 -85 209 q -31 111 -31 231 z" }), X("path", { className: "styled background", d: "M 1941 1024 q 0 127 -32 244 q -33 117 -93 219 q -60 102 -143 186 q -84 83 -186 143 q -102 60 -219 93 q -117 32 -244 32 q -127 0 -244 -32 q -117 -33 -219 -93 q -102 -60 -185 -143 q -84 -84 -144 -186 q -60 -102 -92 -219 q -33 -117 -33 -244 q 0 -127 33 -244 q 32 -117 92 -219 q 60 -102 144 -185 q 83 -84 185 -144 q 102 -60 219 -92 q 117 -33 244 -33 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 z" }), X("path", { className: "styled current_color", d: "M 1666 1709 q -127 118 -291 186 q -164 68 -351 68 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -128 33 -246 q 32 -119 92 -222 q 59 -103 143 -188 q 84 -86 186 -147 q 102 -62 220 -97 q 117 -35 244 -38 v 43 q -121 3 -233 37 q -112 33 -209 92 q -97 59 -177 140 q -80 81 -137 180 q -57 98 -88 211 q -31 113 -31 235 q 0 124 32 238 q 32 114 91 214 q 58 99 140 181 q 82 82 182 141 q 99 58 214 90 q 114 32 237 32 q 178 0 334 -65 q 156 -65 277 -177 z" }), X("path", { className: "styled info_light", d: "M 1024 107 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 q 0 99 -20 193 q -21 93 -58 178 q -38 85 -92 160 q -54 75 -121 138 l -647 -648 v -937 q 5 0 11 0 q 5 -1 10 -1 z" }), X("path", { className: "styled info_dark", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -62 187 q -41 89 -99 168 q -58 78 -130 142 q -9 -8 -15 -15 q -6 -6 -10 -10 q -5 -5 -5 -6 l -639 -638 v -969 m 670 1578 q 62 -61 112 -133 q 50 -72 85 -153 q 35 -82 54 -170 q 18 -89 18 -183 q 0 -123 -32 -237 q -32 -115 -90 -214 q -59 -100 -141 -182 q -82 -82 -181 -140 q -100 -59 -214 -91 q -115 -32 -238 -32 v 908 z" })] }), nn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -63 187 q -41 89 -98 168 q -58 78 -130 142 q -125 112 -284 176 q -160 64 -342 64 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -126 33 -244 q 33 -118 93 -221 q 59 -104 144 -190 q 84 -86 187 -148 q 102 -62 221 -97 q 118 -36 247 -39 m 307 1305 q 81 -65 129 -159 q 47 -95 47 -207 q 0 -97 -37 -182 q -37 -86 -100 -149 q -64 -64 -149 -101 q -86 -37 -183 -37 q -11 0 -21 1 q -11 0 -22 1 q -90 8 -167 48 q -78 39 -135 102 q -58 62 -91 144 q -33 81 -33 173 q 0 97 37 183 q 37 85 101 149 q 63 63 149 100 q 85 37 182 37 q 84 0 159 -27 q 74 -28 134 -76 m -293 530 q 173 0 325 -60 q 151 -61 270 -168 l -272 -272 q -66 54 -148 85 q -82 31 -175 31 q -106 0 -199 -40 q -94 -40 -163 -109 q -70 -70 -110 -163 q -40 -94 -40 -200 q 0 -100 37 -189 q 36 -90 100 -158 q 63 -69 149 -112 q 85 -43 183 -51 v -384 q -119 6 -228 41 q -109 35 -204 94 q -95 59 -172 140 q -78 81 -133 179 q -56 97 -86 209 q -30 111 -30 231 q 0 124 32 239 q 32 114 91 214 q 58 99 140 181 q 81 81 181 140 q 99 58 214 90 q 114 32 238 32 z" }), X("path", { className: "styled background", d: "M 1658 1692 q -125 119 -286 187 q -162 68 -348 68 q -127 0 -244 -33 q -118 -33 -220 -93 q -103 -60 -186 -143 q -84 -84 -144 -186 q -60 -103 -93 -220 q -33 -118 -33 -245 q 0 -125 32 -241 q 32 -116 90 -217 q 58 -101 140 -184 q 81 -84 181 -144 q 99 -61 214 -95 q 115 -35 239 -38 v 429 q -97 5 -181 45 q -85 40 -148 106 q -63 65 -99 152 q -36 86 -36 184 q 0 101 39 190 q 38 89 104 155 q 66 66 155 105 q 89 38 190 38 q 91 0 171 -30 q 80 -31 144 -85 z" }), X("path", { className: "styled current_color", d: "M 1364 1406 q -69 61 -155 96 q -86 34 -185 34 q -106 0 -199 -40 q -94 -40 -163 -109 q -70 -70 -110 -163 q -40 -94 -40 -200 q 0 -103 39 -194 q 38 -92 105 -161 q 66 -69 156 -110 q 89 -42 191 -46 v 42 q -94 4 -175 43 q -82 38 -142 101 q -61 63 -96 147 q -35 84 -35 178 q 0 97 37 183 q 37 85 101 149 q 63 63 149 100 q 85 37 182 37 q 90 0 169 -31 q 79 -31 141 -86 m 332 333 q -127 118 -291 186 q -164 68 -351 68 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -128 33 -246 q 32 -119 92 -222 q 59 -103 143 -188 q 84 -86 186 -147 q 102 -62 220 -97 q 117 -35 244 -38 v 43 q -121 3 -233 37 q -112 33 -209 92 q -98 58 -177 140 q -80 81 -137 180 q -57 98 -88 211 q -31 113 -31 235 q 0 124 32 239 q 32 114 91 214 q 58 99 140 181 q 81 81 181 140 q 99 58 214 90 q 114 32 238 32 q 179 0 335 -64 q 155 -65 276 -178 z" }), X("path", { className: "styled info_light", d: "M 1515 1024 q 0 -102 -38 -191 q -39 -89 -106 -156 q -67 -67 -156 -105 q -89 -39 -191 -39 q -5 0 -10 1 q -6 0 -11 0 v -426 q 5 0 11 0 q 5 -1 10 -1 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 q 0 99 -20 193 q -21 93 -58 178 q -38 85 -92 160 q -54 75 -121 138 l -302 -301 q 77 -68 122 -162 q 45 -95 45 -206 z" }), X("path", { className: "styled info_dark", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -63 188 q -41 89 -98 168 q -58 78 -130 142 l -333 -334 q 81 -65 129 -159 q 47 -95 47 -207 q 0 -97 -37 -182 q -37 -86 -100 -149 q -64 -64 -149 -101 q -86 -37 -183 -37 q -11 0 -21 1 q -11 0 -22 1 v -471 q 11 0 22 0 q 10 -1 21 -1 m 627 1579 q 62 -61 112 -133 q 50 -73 85 -154 q 35 -81 54 -170 q 18 -89 18 -183 q 0 -124 -32 -238 q -32 -115 -90 -214 q -59 -100 -140 -181 q -82 -82 -181 -140 q -100 -59 -214 -91 q -115 -32 -239 -32 v 384 q 106 0 200 40 q 93 40 163 110 q 69 69 109 163 q 40 93 40 199 q 0 109 -42 204 q -42 94 -114 164 z" })] }), ln = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 171 h 1707 v 341 h -640 v 299 h -1067 v 171 h 811 v 298 h 512 v 342 h -1323 v 213 m 0 -1067 h 1024 v -256 h -1024 m 0 1067 h 1280 v -256 h -1280 z" }), X("path", { className: "styled background", d: "M 1429 1387 v 298 h -1322 v -298 m 1066 -811 v 299 h -1066 v -299 z" }), X("path", { className: "styled info_light", d: "M 1813 277 v 299 h -1706 v -299 z" }), X("path", { className: "styled info_dark", d: "M 101 597 v -42 h 1691 v -256 h -1691 v -43 h 1734 v 341 z" }), X("path", { className: "styled secondary_light", d: "M 917 1088 v 299 h -810 v -299 z" }), X("path", { className: "styled secondary_dark", d: "M 896 1109 h -795 v -42 h 838 v 322 h -43 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 768 h 1024 v -256 h 43 v 299 h -1067 v 469 h 1323 v 342 h -1323 v 213 m 0 -512 v 256 h 1280 v -256 z" })] }), rn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 1237 v 512 h -1237 v 256 h 1621 v 512 h -1621 v 299 m 0 -1109 h 555 v -427 h -555 m 0 1195 h 768 v -427 h -768 z" }), X("path", { className: "styled background", d: "M 107 832 v -469 h 597 v 469 m -597 768 v -469 h 810 v 469 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 597 v 512 h -597 v 256 h 811 v 512 h -811 v 299 m 0 -768 v 427 h 768 v -427 m -768 -768 v 427 h 555 v -427 z" }), X("path", { className: "styled info_light", d: "M 704 832 v -469 h 640 v 469 z" }), X("path", { className: "styled info_dark", d: "M 1365 341 v 512 h -682 v -512 m 640 43 h -598 v 427 h 598 z" }), X("path", { className: "styled secondary_light", d: "M 917 1600 v -469 h 811 v 469 z" }), X("path", { className: "styled secondary_dark", d: "M 1749 1109 v 512 h -853 v -512 m 811 43 h -768 v 427 h 768 z" })] }), an = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 1621 v 512 h -1621 v 256 h 1621 v 512 h -1621 v 299 m 0 -1109 h 384 v -427 h -384 m 0 1195 h 1024 v -427 h -1024 z" }), X("path", { className: "styled background", d: "M 107 832 v -469 h 426 v 469 m -426 768 v -469 h 1066 v 469 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 427 v 512 h -427 v 256 h 1067 v 512 h -1067 v 299 m 0 -768 v 427 h 1024 v -427 m -1024 -768 v 427 h 384 v -427 z" }), X("path", { className: "styled info_light", d: "M 533 832 v -469 h 1195 v 469 z" }), X("path", { className: "styled info_dark", d: "M 1749 341 v 512 h -1237 v -512 m 1195 43 h -1152 v 427 h 1152 z" }), X("path", { className: "styled secondary_light", d: "M 1173 1600 v -469 h 555 v 469 z" }), X("path", { className: "styled secondary_dark", d: "M 1749 1109 v 512 h -597 v -512 m 555 43 h -512 v 427 h 512 z" })] }), sn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 896 v 1067 h -1878 v -1878 h 43 v 989 l 253 256 l 544 -345 l 74 -91 l 644 466 l 277 -464 m 0 718 l -913 -662 l -476 591 l -403 -408 v 785 h 1792 z" }), X("path", { className: "styled background", d: "M 530 1511 l 473 -588 l 914 656 l 24 53 v 304 h -1834 l 2 -864 z" }), X("path", { className: "styled info_light", d: "M 1939 923 v 658 l -288 -192 m -1272 -40 l 525 -312 l -374 474 z" }), X("path", { className: "styled info_dark", d: "M 361 1342 l 572 -362 l 22 36 l -571 362 m 1248 1 l 287 -483 l 37 22 l -287 482 z" }), X("path", { className: "styled current_color", d: "M 1963 896 v 1067 h -1878 v -1878 h 43 v 989 l 400 405 l 471 -585 l 921 667 v -665 m 0 1024 v -306 l -913 -662 l -476 591 l -403 -408 v 785 z" })] }), dn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 640 v 926 l -641 -554 l -618 703 l -576 -575 v 780 h 1835 v 43 h -1878 v -1878 h 43 v 353 l 576 577 l 661 -704 l 276 329 z" }), X("path", { className: "styled background", d: "M 1963 1941 h -1856 v -853 l 597 597 l 618 -704 l 641 555 z" }), X("path", { className: "styled info_light", d: "M 1963 1536 l -641 -555 l -618 704 l -597 -597 v -640 l 597 597 l 661 -704 l 269 319 h 329 z" }), X("path", { className: "styled info_dark", d: "M 1963 640 v 43 h -342 l -258 -310 l -659 702 l -597 -598 v -60 l 597 598 l 661 -704 l 276 329 m 322 866 v 60 l -641 -554 l -618 703 l -597 -597 v -62 l 597 599 l 618 -704 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), cn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 85 v 1878 h -1878 v -1878 m 1835 1524 l -788 -746 l -576 662 l -428 -428 v 823 h 1792 z" }), X("path", { className: "styled background", d: "M 1941 1941 h -1834 v -1834 h 1834 z" }), X("path", { className: "styled current_color", d: "M 1963 85 v 1878 h -1878 v -1878 m 1835 43 h -1792 v 1792 h 1792 z" }), X("path", { className: "styled info_light", d: "M 1941 107 v 1493 l -810 -768 l -576 661 l -448 -448 v -938 z" }), X("path", { className: "styled info_dark", d: "M 1963 1649 l -831 -786 l -576 662 l -471 -467 v -973 h 1878 m -43 1465 v -1422 h -1792 v 908 l 426 426 l 575 -661 z" })] }), gn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 384 213 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 1323 42 q 26 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 7 33 7 m -939 298 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 427 128 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m 0 213 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 m 768 384 v 43 h -1878 v -1878 h 43 v 1835 m 1579 -213 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 m -854 -982 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m -469 982 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m 1024 -640 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 z" }), X("path", { className: "styled background", d: "M 1195 1344 q 22 0 42 9 q 19 8 33 23 q 14 14 23 34 q 8 19 8 41 q 0 45 -30 76 q -31 30 -76 30 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -14 -23 -33 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 m -427 -341 q 22 0 42 9 q 19 8 34 22 q 14 14 23 34 q 8 19 8 41 q 0 22 -8 42 q -9 19 -23 34 q -15 14 -34 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 m 939 -512 q 45 0 76 31 q 30 30 30 75 q 0 22 -8 42 q -9 19 -23 34 q -14 14 -33 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 m -1323 -256 q 22 0 42 9 q 19 8 34 22 q 14 14 23 34 q 8 19 8 41 q 0 22 -8 42 q -9 19 -23 34 q -15 14 -34 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 z" }), X("path", { className: "styled info", d: "M 384 213 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 1323 42 q 26 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 7 33 7 m -939 298 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 427 128 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m 0 213 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1579 -213 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 m -854 -982 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m -469 982 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m 1024 -640 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 z" })] }), un = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1664 1501 q 37 13 61 46 q 24 33 24 75 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 v -34 q 0 -140 -15 -248 q -16 -108 -42 -191 l -7 2 q -26 93 -66 161 q -40 68 -88 116 q -48 47 -101 76 q -54 29 -108 44 q -2 24 -13 46 q -11 21 -28 37 q -17 15 -39 24 q -22 9 -47 9 q -45 0 -78 -26 q -34 -26 -45 -66 q -115 -15 -221 -84 q -107 -69 -207 -190 q -36 91 -59 176 q -24 85 -38 152 q 41 12 67 46 q 26 33 26 78 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -26 10 -48 q 9 -23 25 -40 q 16 -18 38 -28 q 22 -10 47 -12 q 15 -73 42 -167 q 26 -95 69 -195 q -48 -62 -94 -141 q -47 -80 -89 -168 q -43 -88 -80 -178 q -37 -91 -64 -176 q -25 -2 -46 -12 q -22 -11 -37 -28 q -16 -17 -25 -39 q -9 -23 -9 -48 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 45 -26 79 q -27 33 -69 44 q 19 59 48 135 q 29 75 67 158 q 37 82 84 167 q 47 85 103 163 q 33 -72 76 -141 q 42 -70 96 -131 q -38 -36 -38 -90 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 35 0 64 17 q 28 16 45 43 q 63 -32 133 -48 q 70 -17 154 -17 q 6 0 39 4 q 32 3 79 21 q 47 17 102 54 q 55 37 107 105 q 21 -9 45 -9 q 5 0 9 1 q 3 0 7 0 q 1 -20 2 -40 q 0 -21 0 -43 q 0 -174 -33 -390 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 35 -16 64 q -17 28 -44 45 q 18 113 27 215 q 8 102 8 193 q 0 25 0 48 q 0 23 -2 46 q 32 16 51 46 q 19 30 19 68 q 0 35 -16 63 q -17 28 -43 45 q 30 96 45 210 q 14 114 14 248 m -171 -1206 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 m -1408 86 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 m 982 1152 q 35 0 60 -25 q 25 -25 25 -61 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 12 27 19 q 15 6 33 6 m 354 -278 q 59 -80 92 -194 q -23 -4 -42 -15 q -19 -12 -33 -28 q -14 -17 -22 -38 q -8 -21 -8 -45 q 0 -29 13 -54 q 12 -26 32 -43 q -45 -61 -95 -94 q -51 -34 -93 -49 q -43 -15 -71 -17 q -29 -3 -31 -3 q -78 0 -144 16 q -67 15 -126 46 q 3 14 3 28 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -29 0 -55 -13 q -57 63 -101 136 q -44 73 -77 150 q 41 53 87 99 q 45 46 96 82 q 50 36 106 60 q 55 23 115 32 q 1 -25 12 -47 q 11 -22 28 -38 q 17 -16 40 -25 q 22 -10 48 -10 q 45 0 79 28 q 34 27 45 69 q 61 -19 120 -56 q 59 -37 110 -105 z" }), X("path", { className: "styled background", d: "M 1305 1497 q 0 23 -8 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -43 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 23 0 43 9 q 20 8 35 23 q 15 15 24 35 q 8 20 8 43 m -890 -1072 q 0 23 -9 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -42 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 22 0 42 9 q 20 8 35 23 q 15 15 24 35 q 9 20 9 43 m 1317 -167 q 0 23 -8 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -43 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 23 0 43 9 q 20 8 35 23 q 15 15 24 35 q 8 20 8 43 z" }), X("path", { className: "styled info", d: "M 1689 365 q 18 112 27 213 q 8 101 8 193 q 0 183 -35 322 q -35 138 -106 234 q -29 38 -60 67 q -32 29 -65 51 q -34 21 -68 36 q -35 14 -68 24 q -2 24 -13 46 q -11 21 -28 37 q -17 15 -39 24 q -22 9 -47 9 q -45 0 -78 -26 q -34 -26 -45 -66 q -114 -15 -224 -87 q -110 -72 -211 -196 q -101 -125 -189 -299 q -89 -174 -160 -393 q -25 -2 -46 -12 q -22 -11 -37 -28 q -16 -17 -25 -39 q -9 -23 -9 -48 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 45 -26 79 q -27 33 -69 44 q 23 69 59 161 q 35 92 83 191 q 48 99 109 197 q 61 98 136 179 q 74 81 161 137 q 87 55 187 70 q 1 -25 12 -47 q 11 -22 28 -38 q 17 -16 40 -25 q 22 -10 48 -10 q 45 0 79 28 q 34 27 45 69 q 61 -19 120 -56 q 59 -37 110 -105 q 133 -178 133 -530 q 0 -174 -33 -390 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 35 -16 64 q -17 28 -44 45 m -1476 62 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 m 982 1152 q 35 0 60 -25 q 25 -25 25 -61 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 12 27 19 q 15 6 33 6 m 341 -1323 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 z" }), X("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1664 1501 q 37 13 61 46 q 24 33 24 75 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 v -34 q 0 -140 -15 -248 q -16 -108 -42 -191 q -14 3 -28 3 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -29 13 -54 q 12 -26 32 -43 q -45 -61 -95 -94 q -51 -34 -93 -49 q -43 -15 -71 -17 q -29 -3 -31 -3 q -78 0 -144 16 q -67 15 -126 46 q 3 14 3 28 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -29 0 -55 -13 q -66 73 -115 161 q -49 87 -84 176 q -35 88 -58 172 q -24 83 -37 148 q 41 12 67 46 q 26 33 26 78 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -26 10 -48 q 9 -23 25 -40 q 16 -18 38 -28 q 22 -10 47 -12 q 14 -67 38 -152 q 23 -86 59 -177 q 36 -92 87 -182 q 50 -90 118 -167 q -38 -36 -38 -90 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 35 0 64 17 q 28 16 45 43 q 63 -32 133 -48 q 70 -17 154 -17 q 6 0 39 4 q 32 3 79 21 q 47 17 102 54 q 55 37 107 105 q 21 -9 45 -9 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 35 -16 63 q -17 28 -43 45 q 30 96 45 210 q 14 114 14 248 z" })] }), hn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1577 -902 q 93 215 93 547 q 0 88 -6 184 l -43 -3 q 3 -47 5 -92 q 2 -45 2 -88 q 0 -277 -68 -470 q -25 97 -65 167 q -40 70 -89 119 q -49 48 -104 78 q -55 29 -108 46 q -54 16 -103 22 q -49 5 -87 5 q -74 0 -141 -21 q -68 -21 -129 -58 q -62 -37 -116 -88 q -55 -51 -104 -111 q -39 93 -64 181 q -25 88 -40 157 q -15 69 -21 112 q -6 42 -6 44 l -42 -4 q 0 -2 7 -48 q 6 -46 23 -120 q 16 -74 44 -168 q 27 -94 70 -192 q -60 -79 -109 -167 q -50 -88 -90 -174 q -40 -86 -70 -164 q -30 -79 -50 -141 q -21 -62 -32 -102 q -11 -40 -13 -47 l 42 -11 q 0 2 10 37 q 10 35 29 93 q 19 58 48 135 q 28 76 66 160 q 38 83 86 170 q 47 86 104 165 q 45 -96 106 -184 q 61 -89 142 -156 q 80 -68 181 -108 q 101 -40 227 -40 q 3 0 22 2 q 19 1 49 9 q 30 8 68 25 q 38 16 80 46 q 41 29 83 75 q 42 46 80 112 q 5 -42 8 -87 q 2 -45 2 -93 q 0 -243 -64 -562 l 42 -8 q 65 325 65 569 q 0 68 -5 130 q -5 61 -15 117 m -156 283 q 79 -106 111 -275 q -33 -74 -72 -125 q -40 -51 -81 -84 q -41 -34 -80 -52 q -39 -19 -69 -27 q -31 -9 -49 -11 q -19 -2 -20 -2 q -121 0 -218 41 q -97 40 -173 107 q -77 67 -135 155 q -58 87 -101 181 q 47 60 100 112 q 53 51 112 89 q 58 37 123 59 q 65 21 136 21 q 45 0 99 -7 q 54 -7 110 -27 q 55 -21 109 -58 q 54 -37 98 -97 z" }), X("path", { className: "styled info", d: "M 1792 1749 l -43 -3 q 6 -93 6 -178 q 0 -244 -51 -422 q -51 -179 -152 -287 q -47 -49 -93 -76 q -46 -28 -83 -40 q -38 -13 -62 -15 q -24 -3 -25 -3 q -124 0 -223 44 q -99 43 -177 114 q -78 71 -136 162 q -58 90 -100 186 q -42 95 -69 187 q -28 91 -44 164 q -16 72 -22 118 q -7 46 -7 49 l -42 -4 q 0 -3 5 -34 q 4 -32 14 -84 q 10 -52 27 -120 q 17 -68 43 -144 q 25 -76 60 -156 q 35 -80 82 -155 q 46 -76 105 -143 q 58 -67 131 -117 q 73 -51 161 -80 q 88 -29 193 -29 q 3 0 30 3 q 27 2 69 16 q 41 14 92 44 q 51 30 102 84 q 216 231 216 735 q 0 45 -2 91 q -2 45 -5 93 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1004 -387 q -111 0 -207 -46 q -97 -46 -179 -121 q -83 -75 -151 -172 q -68 -97 -122 -199 q -55 -102 -96 -201 q -41 -99 -68 -178 q -28 -80 -43 -132 q -15 -53 -17 -62 l 42 -11 q 1 2 14 50 q 13 47 40 124 q 26 76 66 173 q 39 96 91 197 q 52 101 118 197 q 65 96 144 171 q 79 75 171 121 q 92 46 197 46 q 45 0 99 -7 q 54 -7 110 -27 q 56 -21 110 -58 q 54 -37 98 -97 q 133 -180 133 -528 q 0 -121 -16 -261 q -16 -141 -48 -302 l 42 -8 q 65 325 65 569 q 0 364 -142 556 q -50 67 -111 108 q -62 40 -123 62 q -62 22 -119 29 q -57 7 -98 7 z" })] }), mn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 213 342 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 63 q -17 28 -44 45 l 361 762 l 165 -282 q -36 -14 -59 -46 q -23 -32 -23 -73 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 62 q -16 28 -42 45 l 78 89 l 449 -570 q -20 -18 -31 -42 q -11 -25 -11 -53 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -11 0 -20 -2 q -10 -2 -19 -5 l -258 814 l 410 467 l -54 -422 q -5 1 -8 1 q -4 0 -8 0 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 38 -19 69 q -20 30 -52 46 l 70 565 l -482 -549 l -46 145 q 26 17 43 45 q 16 28 16 63 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 15 0 29 3 l 53 -166 l -189 -214 l -295 375 l -69 -146 l -147 251 q 29 17 47 46 q 17 29 17 64 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 q 11 0 23 3 l 166 -283 l -375 -789 q -14 3 -28 3 m 982 1109 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 m 341 -1323 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 m -105 275 l -401 509 l 176 200 m -355 -301 l -187 301 l 52 129 l 258 -327 l -93 -106 q -15 3 -30 3 m -638 -683 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 z" }), X("path", { className: "styled background", d: "M 1771 296 q 0 22 -8 42 q -9 19 -23 34 q -15 15 -35 24 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -24 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 q 22 0 42 9 q 20 8 35 23 q 14 14 23 34 q 8 19 8 41 m -1320 7 q 0 22 -8 42 q -9 19 -23 34 q -15 15 -34 24 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -35 -24 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 15 -15 35 -23 q 19 -9 41 -9 q 22 0 42 9 q 19 8 34 23 q 14 14 23 34 q 8 19 8 41 m 902 1232 q 0 23 -8 43 q -9 19 -23 34 q -15 14 -35 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -43 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 q 22 0 42 9 q 20 8 35 23 q 14 14 23 34 q 8 19 8 41 z" }), X("path", { className: "styled info", d: "M 1664 171 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -11 0 -20 -2 q -10 -2 -19 -5 l -319 1008 q 26 17 43 45 q 16 28 16 63 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 15 0 29 3 l 293 -923 l -724 918 l -466 -982 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 63 q -17 28 -44 45 l 435 919 l 734 -932 q -20 -18 -31 -42 q -11 -25 -11 -53 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m -1323 213 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 m 982 1152 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 m 341 -1152 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 z" }), X("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1636 1182 l 70 565 l -825 -939 q -15 3 -30 3 l -360 615 q 29 17 47 46 q 17 29 17 64 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 q 11 0 23 3 l 357 -609 q -36 -14 -59 -46 q -23 -32 -23 -73 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 62 q -16 28 -42 45 l 726 826 l -54 -422 q -5 1 -8 1 q -4 0 -8 0 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 38 -19 69 q -20 30 -52 46 z" })] }), pn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1503 1457 l -10 61 l -42 -6 l 16 -96 l -334 -380 l -309 389 l -72 -147 l -248 421 l -37 -21 l 262 -446 l -463 -951 l 39 -18 l 451 925 l 227 -387 l 149 168 l 564 -710 l -184 1143 l 263 299 l -68 -525 l 42 -5 l 83 661 m -728 -828 l -114 -130 l -212 360 l 54 112 m 644 14 l 155 -951 l -471 593 m 803 918 v 43 h -1878 v -1878 h 43 v 1835 z" }), X("path", { className: "styled info", d: "M 1493 1518 l -42 -6 l 180 -1103 l -807 1016 l -558 -1144 l 39 -18 l 527 1083 l 864 -1087 z" }), X("path", { className: "styled current_color", d: "M 1832 1832 l -842 -958 l -486 825 l -37 -21 l 516 -877 l 792 900 l -68 -525 l 42 -5 m 214 749 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), fn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), X("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), X("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), X("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), X("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), X("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), wn = (e2) => Y("svg", { viewBox: "0,0,2048,2048", ...e2, children: [X("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), X("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), X("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), X("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), X("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), X("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), X("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), vn = he(null);
3272
+ vn.displayName = "DocThemesContext";
3273
+ const qn = (e2) => {
3264
3274
  const { themes: t2, children: o2 } = e2;
3265
- return X(qn.Provider, { value: t2, children: o2 });
3266
- }, Cn = () => {
3267
- const e2 = me(qn), [t2] = ae(() => new b());
3275
+ return X(vn.Provider, { value: t2, children: o2 });
3276
+ }, yn = () => {
3277
+ const e2 = me(vn), [t2] = ae(() => new b());
3268
3278
  return ie(() => e2 || t2, [e2]);
3269
- }, bn = "_script-editor_iy654_5", Sn = { lightbulb: { enabled: false }, tabSize: 2, acceptSuggestionOnCommitCharacter: true, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: true, autoIndent: false, codeLens: true, colorDecorators: true, contextmenu: true, cursorBlinking: "blink", cursorSmoothCaretAnimation: false, cursorStyle: "line", disableLayerHinting: false, disableMonospaceOptimizations: false, dragAndDrop: true, glyphMargin: true, fixedOverflowWidgets: false, folding: true, foldingStrategy: "auto", fontLigatures: false, formatOnPaste: true, formatOnType: false, hideCursorInOverviewRuler: false, highlightActiveIndentGuide: true, links: true, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: false, multiCursorMergeOverlapping: true, multiCursorModifier: "alt", overviewRulerBorder: true, overviewRulerLanes: 2, quickSuggestions: true, quickSuggestionsDelay: 100, readOnly: false, renderControlCharacters: false, renderFinalNewline: true, renderIndentGuides: true, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: true, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: true, selectOnLineNumbers: true, selectionClipboard: true, selectionHighlight: true, showLightbulbIconMode: false, showFoldingControls: "mouseover", smoothScrolling: true, suggestOnTriggerCharacters: true, wordBasedSuggestions: true, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: true, wrappingIndent: "none" }, xn = le.lazy(() => import("@monaco-editor/react"));
3270
- let kn, Tn, Rn = ["define", "require"], Mn = false;
3271
- let An = "@0.7.14";
3272
- "@local" !== An && "@0.0.0" !== An || (An = "");
3273
- const zn = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${An}/types/scripting.d.ts`, Fn = async (e2, t2, o2) => {
3279
+ }, Cn = "_script-editor_iy654_5", bn = { lightbulb: { enabled: false }, tabSize: 2, acceptSuggestionOnCommitCharacter: true, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: true, autoIndent: false, codeLens: true, colorDecorators: true, contextmenu: true, cursorBlinking: "blink", cursorSmoothCaretAnimation: false, cursorStyle: "line", disableLayerHinting: false, disableMonospaceOptimizations: false, dragAndDrop: true, glyphMargin: true, fixedOverflowWidgets: false, folding: true, foldingStrategy: "auto", fontLigatures: false, formatOnPaste: true, formatOnType: false, hideCursorInOverviewRuler: false, highlightActiveIndentGuide: true, links: true, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: false, multiCursorMergeOverlapping: true, multiCursorModifier: "alt", overviewRulerBorder: true, overviewRulerLanes: 2, quickSuggestions: true, quickSuggestionsDelay: 100, readOnly: false, renderControlCharacters: false, renderFinalNewline: true, renderIndentGuides: true, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: true, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: true, selectOnLineNumbers: true, selectionClipboard: true, selectionHighlight: true, showLightbulbIconMode: false, showFoldingControls: "mouseover", smoothScrolling: true, suggestOnTriggerCharacters: true, wordBasedSuggestions: true, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: true, wrappingIndent: "none" }, Sn = le.lazy(() => import("@monaco-editor/react"));
3280
+ let xn, kn, Tn = ["define", "require"], Rn = false;
3281
+ let Mn = "@0.7.15";
3282
+ "@local" !== Mn && "@0.0.0" !== Mn || (Mn = "");
3283
+ const An = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${Mn}/types/scripting.d.ts`, zn = async (e2, t2, o2) => {
3274
3284
  const n2 = e2.getModel();
3275
3285
  if (!n2) return;
3276
3286
  const l2 = await t2.languages.typescript.getTypeScriptWorker(), r2 = await l2(n2.uri), i2 = await r2.getNavigationTree(n2.uri.toString()), a2 = e2.getPosition();
@@ -3279,8 +3289,8 @@ const zn = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${An}/types/scripting.d.ts`
3279
3289
  let d2 = false;
3280
3290
  for (let e3 = a2.lineNumber; e3 >= 1; e3--) {
3281
3291
  if ("" === n2.getLineContent(e3).trim()) {
3282
- const t3 = En(i2, n2.getOffsetAt({ lineNumber: e3, column: 1 }), "function");
3283
- if (!t3 || Hn(t3)) {
3292
+ const t3 = In(i2, n2.getOffsetAt({ lineNumber: e3, column: 1 }), "function");
3293
+ if (!t3 || En(t3)) {
3284
3294
  d2 = true, s2.lineNumber = e3 + 1;
3285
3295
  break;
3286
3296
  }
@@ -3298,7 +3308,7 @@ const zn = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${An}/types/scripting.d.ts`
3298
3308
  let m2 = null;
3299
3309
  n2.pushEditOperations([], h2, (e3) => (m2 = e3[0].range, g2 && m2.startLineNumber++, u2 && m2.endLineNumber--, [new t2.Selection(m2.startLineNumber, m2.startColumn, m2.endLineNumber, m2.endColumn)])), e2.setSelection({ startLineNumber: m2.endLineNumber, startColumn: m2.endColumn, endLineNumber: m2.startLineNumber, endColumn: m2.startColumn });
3300
3310
  };
3301
- function Dn(e2, t2) {
3311
+ function Fn(e2, t2) {
3302
3312
  let o2 = null;
3303
3313
  const n2 = e2.length;
3304
3314
  for (let l2 = 0; !o2 && l2 < n2; l2++) {
@@ -3307,32 +3317,32 @@ function Dn(e2, t2) {
3307
3317
  }
3308
3318
  return o2 ? o2.getContext() : "formula";
3309
3319
  }
3310
- function In(e2, t2, o2, n2, l2 = []) {
3320
+ function Dn(e2, t2, o2, n2, l2 = []) {
3311
3321
  if ("function" === n2.kind && "export" === n2.kindModifiers) {
3312
3322
  const t3 = n2.spans[0].start, r2 = e2.getPositionAt(t3);
3313
- l2.push({ name: n2.text, type: Dn(o2, n2), lineNumber: r2.lineNumber });
3323
+ l2.push({ name: n2.text, type: Fn(o2, n2), lineNumber: r2.lineNumber });
3314
3324
  }
3315
- if (n2.childItems) for (const r2 of n2.childItems) In(e2, t2, o2, r2, l2);
3325
+ if (n2.childItems) for (const r2 of n2.childItems) Dn(e2, t2, o2, r2, l2);
3316
3326
  return l2;
3317
3327
  }
3318
- function En(e2, t2, o2 = "function", n2) {
3328
+ function In(e2, t2, o2 = "function", n2) {
3319
3329
  const l2 = e2.spans, r2 = l2.length;
3320
3330
  for (let i2 = 0; i2 < r2; i2++) {
3321
3331
  const r3 = l2[i2];
3322
3332
  if (r3.start <= t2 && t2 < r3.start + r3.length) {
3323
3333
  if (e2.kind === o2 && (!n2 || e2.kindModifiers === n2)) return e2;
3324
3334
  for (const l3 of e2.childItems || []) {
3325
- const e3 = En(l3, t2, o2, n2);
3335
+ const e3 = In(l3, t2, o2, n2);
3326
3336
  if (e3) return e3;
3327
3337
  }
3328
3338
  }
3329
3339
  return null;
3330
3340
  }
3331
3341
  }
3332
- function Hn(e2) {
3342
+ function En(e2) {
3333
3343
  return "comment" === e2.kind;
3334
3344
  }
3335
- const Nn = re(se((e2, t2) => {
3345
+ const Hn = re(se((e2, t2) => {
3336
3346
  const { className: o2, style: n2, commands: l2, readOnly: r2 = false, darkMode: i2, loadingPanel: a2, autoFocus: s2 = true, frame: d2, onStatusChange: c2, ...g2 } = e2, u2 = de(null), h2 = de(false), m2 = ie(() => ({ contains(e3) {
3337
3347
  if (!u2.current) return;
3338
3348
  const t3 = u2.current.editor;
@@ -3392,7 +3402,7 @@ const Nn = re(se((e2, t2) => {
3392
3402
  if (!s3) return null;
3393
3403
  const d3 = s3.startLineNumber === s3.endLineNumber && s3.startColumn === s3.endColumn ? n4.getLineCount() : Math.min(s3.endLineNumber, n4.getLineCount());
3394
3404
  for (let e5 = s3.startLineNumber; !a3 && e5 <= d3; e5++) {
3395
- const t5 = En(i3, n4.getOffsetAt({ lineNumber: e5, column: 1 }), "function", o4);
3405
+ const t5 = In(i3, n4.getOffsetAt({ lineNumber: e5, column: 1 }), "function", o4);
3396
3406
  t5 && (a3 = t5.text);
3397
3407
  }
3398
3408
  return a3;
@@ -3413,7 +3423,7 @@ const Nn = re(se((e2, t2) => {
3413
3423
  t4.editor.setModelMarkers(e4, "owner", o4);
3414
3424
  })(e3, t3);
3415
3425
  !(async function(e4, t4, o4, n4) {
3416
- const l3 = await t4.languages.typescript.getTypeScriptWorker(), r3 = await l3(e4.uri), i3 = await r3.getNavigationTree(e4.uri.toString()), a3 = In(e4, t4, n4, i3).map((e5) => {
3426
+ const l3 = await t4.languages.typescript.getTypeScriptWorker(), r3 = await l3(e4.uri), i3 = await r3.getNavigationTree(e4.uri.toString()), a3 = Dn(e4, t4, n4, i3).map((e5) => {
3417
3427
  let o5 = null, n5 = null;
3418
3428
  return "formula" === e5.type ? (o5 = "formula.margin-icon", n5 = "Formula") : "macro" === e5.type ? (o5 = "macro.margin-icon", n5 = "Macro") : "autoRun" === e5.type && (o5 = "autorun.margin-icon", n5 = "Auto Run"), { range: new t4.Range(e5.lineNumber, 1, e5.lineNumber, 1), options: { isWholeLine: false, glyphMarginClassName: o5, glyphMarginHoverMessage: { value: n5 }, stickiness: t4.editor.TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges } };
3419
3429
  });
@@ -3434,7 +3444,7 @@ const Nn = re(se((e2, t2) => {
3434
3444
  ce(() => {
3435
3445
  if (!C2) return;
3436
3446
  const e3 = { insertSnippet: (e4) => {
3437
- u2.current?.editor && Fn(u2.current.editor, u2.current.monaco, e4);
3447
+ u2.current?.editor && zn(u2.current.editor, u2.current.monaco, e4);
3438
3448
  }, close: () => $2() };
3439
3449
  C2.setEditor(e3), C2.setSelectedFunction(N2());
3440
3450
  const t3 = C2.addContainerListener({ onBeforeSave: async () => {
@@ -3475,7 +3485,7 @@ const Nn = re(se((e2, t2) => {
3475
3485
  O2.current = o5;
3476
3486
  const n4 = e3.getModel();
3477
3487
  L2(n4, t3, e3), (() => {
3478
- if (Mn) return;
3488
+ if (Rn) return;
3479
3489
  const e4 = (e5, t5) => {
3480
3490
  try {
3481
3491
  if (void 0 === t5) try {
@@ -3489,12 +3499,12 @@ const Nn = re(se((e2, t2) => {
3489
3499
  else globalThis[e5] = t5;
3490
3500
  } catch (e6) {
3491
3501
  }
3492
- }, t4 = Rn.length;
3502
+ }, t4 = Tn.length;
3493
3503
  for (let o6 = 0; o6 < t4; o6++) {
3494
- const t5 = Rn[o6];
3495
- e4(t5, kn[t5]);
3504
+ const t5 = Tn[o6];
3505
+ e4(t5, xn[t5]);
3496
3506
  }
3497
- kn = void 0, Mn = true;
3507
+ xn = void 0, Rn = true;
3498
3508
  })();
3499
3509
  });
3500
3510
  }), e3.addCommand("executeScript", function(e4, ...t4) {
@@ -3508,7 +3518,7 @@ const Nn = re(se((e2, t2) => {
3508
3518
  F2();
3509
3519
  } }), e3.onMouseDown(async (e4) => {
3510
3520
  if (e4.target.type === t3.editor.MouseTargetType.GUTTER_GLYPH_MARGIN) {
3511
- const o4 = e4.target.position.lineNumber, l3 = await t3.languages.typescript.getTypeScriptWorker(), r3 = await l3(n3.uri), i3 = await r3.getNavigationTree(n3.uri.toString()), a3 = (await F2()).getFunctions().getItems(), s3 = In(n3, t3, a3, i3).find((e5) => e5.lineNumber === o4);
3521
+ const o4 = e4.target.position.lineNumber, l3 = await t3.languages.typescript.getTypeScriptWorker(), r3 = await l3(n3.uri), i3 = await r3.getNavigationTree(n3.uri.toString()), a3 = (await F2()).getFunctions().getItems(), s3 = Dn(n3, t3, a3, i3).find((e5) => e5.lineNumber === o4);
3512
3522
  if (s3) {
3513
3523
  const t4 = e4.event.browserEvent.button;
3514
3524
  0 === t4 ? "macro" === s3.type || "autoRun" === s3.type ? D2({ functionName: s3.name }) : "formula" === s3.type && C2?.quickInsertFunction?.(s3.name) : 2 === t4 && (console.log("Context menu for function:", s3.name), e4.event.browserEvent.preventDefault());
@@ -3538,24 +3548,24 @@ const Nn = re(se((e2, t2) => {
3538
3548
  });
3539
3549
  }, [C2]), G2 = ie(() => E2 ? null : a2 || X("div", { style: { position: "absolute", width: "100%", height: "100%" }, children: "Loading..." }), [E2, a2]), Z2 = ie(() => {
3540
3550
  if (!E2) {
3541
- if (!kn) {
3542
- kn = {};
3543
- const e4 = Rn.length;
3551
+ if (!xn) {
3552
+ xn = {};
3553
+ const e4 = Tn.length;
3544
3554
  for (let t3 = 0; t3 < e4; t3++) {
3545
- const e5 = Rn[t3];
3546
- kn[e5] = globalThis[e5];
3555
+ const e5 = Tn[t3];
3556
+ xn[e5] = globalThis[e5];
3547
3557
  }
3548
3558
  }
3549
- if (Tn) {
3550
- const e4 = Rn.length;
3559
+ if (kn) {
3560
+ const e4 = Tn.length;
3551
3561
  for (let t3 = 0; t3 < e4; t3++) {
3552
- const e5 = Rn[t3];
3553
- globalThis[e5] = Tn[e5];
3562
+ const e5 = Tn[t3];
3563
+ globalThis[e5] = kn[e5];
3554
3564
  }
3555
3565
  }
3556
3566
  }
3557
3567
  const e3 = C2?.getScripts().getModules().getByName("scripts")?.getSource() ?? "";
3558
- return Y("div", { style: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: [X(fe, { children: X(xn, { theme: i2 ? "extended-dark" : "extended", options: { ...Sn, fixedOverflowWidgets: true, readOnly: r2 }, language: "typescript", value: e3, onValidate: (e4) => {
3568
+ return Y("div", { style: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: [X(fe, { children: X(Sn, { theme: i2 ? "extended-dark" : "extended", options: { ...bn, fixedOverflowWidgets: true, readOnly: r2 }, language: "typescript", value: e3, onValidate: (e4) => {
3559
3569
  let t3 = false;
3560
3570
  const o3 = e4 ? e4.length : 0;
3561
3571
  for (let n3 = 0; !t3 && n3 < o3; n3++) 8 === e4[n3].severity && (t3 = true);
@@ -3565,7 +3575,7 @@ const Nn = re(se((e2, t2) => {
3565
3575
  let t3 = false, o3 = false;
3566
3576
  try {
3567
3577
  const n3 = await (async () => {
3568
- const e5 = await fetch(zn);
3578
+ const e5 = await fetch(An);
3569
3579
  return await e5.text();
3570
3580
  })(), l3 = e4.Uri.parse('inmemory://model/"sheetxl-models".d.ts');
3571
3581
  let r3 = e4.editor.getModel(l3);
@@ -3608,14 +3618,14 @@ const Nn = re(se((e2, t2) => {
3608
3618
  const t4 = e4.languages.typescript.typescriptDefaults.getCompilerOptions();
3609
3619
  e4.languages.typescript.typescriptDefaults.setCompilerOptions({ ...t4, target: e4.languages.typescript.ScriptTarget.ES2020, lib: ["webworker", "es2020", "esnext.asynciterable"], downlevelIteration: true, moduleResolution: e4.languages.typescript.ModuleResolutionKind.NodeJs, allowSyntheticDefaultImports: true, baseUrl: "inmemory://model/", allowNonTsExtensions: true });
3610
3620
  }
3611
- if (I2.current && (await Fn(u2.current.editor, u2.current.monaco, I2.current), I2.current = null), h2.current && requestAnimationFrame(async () => {
3621
+ if (I2.current && (await zn(u2.current.editor, u2.current.monaco, I2.current), I2.current = null), h2.current && requestAnimationFrame(async () => {
3612
3622
  h2.current && e4.editor.focus();
3613
- }), !Tn) {
3614
- Tn = {};
3615
- const e5 = Rn.length;
3623
+ }), !kn) {
3624
+ kn = {};
3625
+ const e5 = Tn.length;
3616
3626
  for (let t4 = 0; t4 < e5; t4++) {
3617
- const e6 = Rn[t4];
3618
- Tn[e6] = globalThis[e6];
3627
+ const e6 = Tn[t4];
3628
+ kn[e6] = globalThis[e6];
3619
3629
  }
3620
3630
  }
3621
3631
  })();
@@ -3629,69 +3639,69 @@ const Nn = re(se((e2, t2) => {
3629
3639
  u2.current?.editor && requestAnimationFrame(() => {
3630
3640
  j2.current?.contains(document.activeElement) && j2.current?.focus();
3631
3641
  });
3632
- }), []), X("div", { className: De("script-editor", bn, o2), style: { display: "flex", flexDirection: "row", flex: "1 1 100%", position: "relative", ...n2 }, ref: j2, ...g2, children: Z2 });
3633
- })), Pn = Object.freeze(Object.defineProperty({ __proto__: null, FindScopeOptions: { Workbook: "workbook", Sheet: "sheet" } }, Symbol.toStringTag, { value: "Module" }));
3642
+ }), []), X("div", { className: De("script-editor", Cn, o2), style: { display: "flex", flexDirection: "row", flex: "1 1 100%", position: "relative", ...n2 }, ref: j2, ...g2, children: Z2 });
3643
+ })), Nn = Object.freeze(Object.defineProperty({ __proto__: null, FindScopeOptions: { Workbook: "workbook", Sheet: "sheet" } }, Symbol.toStringTag, { value: "Module" }));
3634
3644
  export {
3635
- dn as ChartAreaIcon,
3636
- cn as ChartAreaStackedIcon,
3637
- gn as ChartAreaStackedPercentIcon,
3638
- rn as ChartBarIcon,
3639
- an as ChartBarStackedIcon,
3640
- sn as ChartBarStackedPercentIcon,
3641
- vn as ChartBubble3DIcon,
3642
- wn as ChartBubbleIcon,
3643
- jo as ChartColumnIcon,
3644
- Ko as ChartColumnStackedIcon,
3645
- Xo as ChartColumnStackedPercentIcon,
3646
- zo as ChartEditor,
3647
- Yo as ChartLineIcon,
3648
- en as ChartLineMarkersIcon,
3649
- Jo as ChartLineStackedIcon,
3650
- tn as ChartLineStackedMarkersIcon,
3651
- Qo as ChartLineStackedPercentIcon,
3652
- on as ChartLineStackedPercentMarkersIcon,
3653
- ln as ChartPieDoughnutIcon,
3654
- nn as ChartPieIcon,
3655
- fn as ChartScatterLinesIcon,
3656
- pn as ChartScatterLinesMarkersIcon,
3657
- hn as ChartScatterLinesMarkersSmoothIcon,
3658
- mn as ChartScatterLinesSmoothIcon,
3659
- un as ChartScatterMarkersIcon,
3660
- Pn as CommandContext,
3661
- Je as CornerTriangle,
3662
- St as DefaultTaskPaneRegistry,
3663
- qn as DocThemesContext,
3664
- yn as DocThemesProvider,
3665
- Io as EditableLabel,
3666
- mo as EmptyFrame,
3667
- Qe as FilterButton,
3668
- No as Item,
3645
+ sn as ChartAreaIcon,
3646
+ dn as ChartAreaStackedIcon,
3647
+ cn as ChartAreaStackedPercentIcon,
3648
+ ln as ChartBarIcon,
3649
+ rn as ChartBarStackedIcon,
3650
+ an as ChartBarStackedPercentIcon,
3651
+ wn as ChartBubble3DIcon,
3652
+ fn as ChartBubbleIcon,
3653
+ Zo as ChartColumnIcon,
3654
+ jo as ChartColumnStackedIcon,
3655
+ Ko as ChartColumnStackedPercentIcon,
3656
+ Ao as ChartEditor,
3657
+ Xo as ChartLineIcon,
3658
+ Qo as ChartLineMarkersIcon,
3659
+ Yo as ChartLineStackedIcon,
3660
+ en as ChartLineStackedMarkersIcon,
3661
+ Jo as ChartLineStackedPercentIcon,
3662
+ tn as ChartLineStackedPercentMarkersIcon,
3663
+ nn as ChartPieDoughnutIcon,
3664
+ on as ChartPieIcon,
3665
+ pn as ChartScatterLinesIcon,
3666
+ mn as ChartScatterLinesMarkersIcon,
3667
+ un as ChartScatterLinesMarkersSmoothIcon,
3668
+ hn as ChartScatterLinesSmoothIcon,
3669
+ gn as ChartScatterMarkersIcon,
3670
+ Nn as CommandContext,
3671
+ Ye as CornerTriangle,
3672
+ bt as DefaultTaskPaneRegistry,
3673
+ vn as DocThemesContext,
3674
+ qn as DocThemesProvider,
3675
+ Do as EditableLabel,
3676
+ ho as EmptyFrame,
3677
+ Je as FilterButton,
3678
+ Ho as Item,
3669
3679
  LicenseManager,
3670
- Zo as LogoNoPaddingIcon,
3671
- qt as LogoTextNoPaddingIcon,
3672
- co as MovableArea,
3673
- Ao as PictureEditor,
3674
- Vo as Row,
3675
- Nn as ScriptEditor,
3676
- lt as SheetCellEditor,
3677
- et as SheetCellRenderer,
3678
- Ro as SheetElement,
3679
- Vt as SheetScrollbar,
3680
- ft as StaticBorderRenderer,
3681
- it as StyledStrokePath,
3682
- Eo as Tab,
3683
- Go as TabStrip,
3684
- Et as TaskPaneArea,
3685
- kt as TaskPaneProvider,
3686
- Dt as TaskPaneStrip,
3687
- At as TaskPaneTitle,
3688
- rt as createCellEditStateFromCell,
3689
- ct as useBordersOverlay,
3690
- Cn as useDocThemes,
3691
- Ct as useModelListener,
3692
- ho as useMovableCommands,
3693
- bt as useRangeListener,
3694
- Nt as useSheetCommands,
3695
- Kt as useSheetCopyPaste,
3696
- Rt as useTaskPaneArea
3680
+ Go as LogoNoPaddingIcon,
3681
+ vt as LogoTextNoPaddingIcon,
3682
+ so as MovableArea,
3683
+ Mo as PictureEditor,
3684
+ Po as Row,
3685
+ Hn as ScriptEditor,
3686
+ nt as SheetCellEditor,
3687
+ Qe as SheetCellRenderer,
3688
+ To as SheetElement,
3689
+ Pt as SheetScrollbar,
3690
+ pt as StaticBorderRenderer,
3691
+ rt as StyledStrokePath,
3692
+ Io as Tab,
3693
+ _o as TabStrip,
3694
+ It as TaskPaneArea,
3695
+ xt as TaskPaneProvider,
3696
+ Ft as TaskPaneStrip,
3697
+ Mt as TaskPaneTitle,
3698
+ lt as createCellEditStateFromCell,
3699
+ dt as useBordersOverlay,
3700
+ yn as useDocThemes,
3701
+ yt as useModelListener,
3702
+ uo as useMovableCommands,
3703
+ Ct as useRangeListener,
3704
+ Ht as useSheetCommands,
3705
+ jt as useSheetCopyPaste,
3706
+ Tt as useTaskPaneArea
3697
3707
  };