@sheetxl/react 0.7.7 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/cjs/{Bvwsa-scWvcLtf8S.cjs → DDzLr5SR58jIZjh1.cjs} +1 -1
- package/browser/cjs/{BpvPof6tJ_Nh2du1.cjs → DTllJ68guWq5oyfK.cjs} +1 -1
- package/browser/cjs/index.cjs +15 -15
- package/browser/cjs/{DNPtrOAWXYL6H5gZ.cjs → iw22IxEErpMWqfjk.cjs} +1 -1
- package/browser/esm/{D7bms6i1w6TgoHus.mjs → BEVTSpey87VbTNLQ.mjs} +1 -1
- package/browser/esm/{BWNPJW3Cml1AVHaI.mjs → DBMJUpDmXGW92Lrn.mjs} +1 -1
- package/browser/esm/{Ct2p-8MynQMS6ofc.mjs → DGQWHBbDCtMyJX8H.mjs} +1 -1
- package/browser/esm/index.mjs +2839 -2840
- package/node/assets/style.css +1 -1
- package/node/esm/{DqXJWwNsMHVpV9A1.mjs → D3merBG8bA_CZ3nh.mjs} +1 -1
- package/node/esm/index.mjs +250 -251
- package/package.json +5 -5
- package/types/index.d.ts +1 -1
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.
|
|
2
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.9
|
|
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.
|
|
@@ -441,7 +441,7 @@ const Ke = (e2 = 6e4) => new Date(Math.floor(Date.now() / e2) * e2), Xe = Object
|
|
|
441
441
|
G2.current && document.activeElement !== G2.current && requestAnimationFrame(() => {
|
|
442
442
|
G2.current.focus();
|
|
443
443
|
});
|
|
444
|
-
}, ref: j2, ...E2, style: { display: "flex", flexGrow: 1, alignSelf: "stretch", height: "100%", width: "100%", maxWidth: "100%", maxHeight: "100%", cursor: "initial", ...z2 }, children: Z("div", { className: "editor-placement", style: { display: "flex", flexGrow: 1, position: "relative", top: Fe2 * F2
|
|
444
|
+
}, ref: j2, ...E2, style: { display: "flex", flexGrow: 1, alignSelf: "stretch", height: "100%", width: "100%", maxWidth: "100%", maxHeight: "100%", cursor: "initial", ...z2 }, children: Z("div", { className: "editor-placement", style: { display: "flex", flexGrow: 1, position: "relative", top: Fe2 * F2, left: Re2 * F2, width: `calc(100% - ${Me2 * F2}px)`, maxWidth: `calc(100% - ${Me2 * F2}px)`, height: (ze2 ?? Ae2) * F2, maxHeight: (ze2 ?? Ae2) * F2 }, children: Z("textarea", { spellCheck: "false", placeholder: _2.placeholder, ref: G2, value: _2.textValue, disabled: Se2, readOnly: C2 || f2.getProtection().isReadOnly(), name: "sheet-cell-editor", autoComplete: "off", autoCapitalize: "off", style: { flex: "1 1 100%", font: "inherit", ...Ee2, fontSize: Ie2 ? `${Ie2}px` : "inherit", textAlign: _2.textAlign, lineHeight: (K2?.lines[0]?.bounds.height ?? 0) * F2 + "px", height: (K2?.bounds.height ?? 0) * F2, boxSizing: "border-box", padding: "0px", margin: "0px", borderWidth: 0, outline: "none", resize: "none", overflow: "hidden", background: "transparent", maxHeight: "100%", maxWidth: "100%", width: "100%", userSelect: "text", position: "absolute", whiteSpace: _2.isWrapped ? "normal" : "pre", wordWrap: "break-word" }, onFocus: ke2, onBlur: () => {
|
|
445
445
|
B2(false);
|
|
446
446
|
}, onSelect: (e3) => {
|
|
447
447
|
}, onChange: (e3) => {
|
|
@@ -1286,7 +1286,7 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
|
|
|
1286
1286
|
}), new T("autoFilterToggle", p2, { label: "Toggle Filter", scopedLabels: { filter: "Filter" }, description: "Toggle Auto Filter on/off.", icon: "FilterToggle", shortcut: { key: "L", modifiers: [R.Ctrl, R.Shift] } }, function() {
|
|
1287
1287
|
const e3 = this.context().table();
|
|
1288
1288
|
e3 && e3.setShowFilterButton(!e3.getShowFilterButton());
|
|
1289
|
-
}), new T("autoFilterReapply", p2, { label: "Reapply Filter", scopedLabels: { filter: "Reapply" }, description: "Reapply the filter and sort with the latest changes.", icon: "FilterReapply", shortcut: { key: "L", modifiers: [R.Ctrl, R.Alt] } }), new T("autoFilterClear", p2, { label: "Clear Filter", scopedLabels: { filter: "Clear" }, description: "Clear the filters criteria from the current filter..", icon: "FilterClear" }), new k("startEditValueAbove", p2, { label: "Copy From Above", description: "Copy the value from the cell above the active cell into the cell or the formula bar.", shortcut: [{ key: "Quote", modifiers: [R.Ctrl] }, { key: '"', modifiers: [R.Ctrl, R.Shift] }] }, Ae2), new T("formatPainterToggle", p2, { label: "Format Painter", description: "Apply style to another part of your workbook.", icon: "FormatPaint" }), new k("insertCells", p2, { label: "Insert Cells", scopedLabels: { insertCells: "At Selection" }, description: "Inserts cells at the current selection.", icon: "
|
|
1289
|
+
}), new T("autoFilterReapply", p2, { label: "Reapply Filter", scopedLabels: { filter: "Reapply" }, description: "Reapply the filter and sort with the latest changes.", icon: "FilterReapply", shortcut: { key: "L", modifiers: [R.Ctrl, R.Alt] } }), new T("autoFilterClear", p2, { label: "Clear Filter", scopedLabels: { filter: "Clear" }, description: "Clear the filters criteria from the current filter..", icon: "FilterClear" }), new k("startEditValueAbove", p2, { label: "Copy From Above", description: "Copy the value from the cell above the active cell into the cell or the formula bar.", shortcut: [{ key: "Quote", modifiers: [R.Ctrl] }, { key: '"', modifiers: [R.Ctrl, R.Shift] }] }, Ae2), new T("formatPainterToggle", p2, { label: "Format Painter", description: "Apply style to another part of your workbook.", icon: "FormatPaint" }), new k("insertCells", p2, { label: "Insert Cells", scopedLabels: { insertCells: "At Selection" }, description: "Inserts cells at the current selection.", icon: "InsertCells", shortcut: { key: "=", modifiers: [R.Ctrl, R.Shift] } }, function() {
|
|
1290
1290
|
ce2(this);
|
|
1291
1291
|
}), new k("insertCellsShiftRight", p2, { label: "Insert Cells (Shift Right)", scopedLabels: { insertCells: "Shift Right" }, description: "Insert cells to the left and shift the current cells to the right.", icon: "InsertCellsRight" }, function() {
|
|
1292
1292
|
ce2(this, s.Orientation.Column);
|
|
@@ -1300,7 +1300,7 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
|
|
|
1300
1300
|
return ce2(this, s.Orientation.Row, true, true);
|
|
1301
1301
|
}), new k("insertColumnsAfter", p2, { label: "Insert Column After", scopedLabels: { insertCells: "Column After" }, description: "Insert a column after the current position." }, function() {
|
|
1302
1302
|
return ce2(this, s.Orientation.Column, true, true);
|
|
1303
|
-
}), new k("deleteCells", p2, { label: "Delete Cells", scopedLabels: { deleteCells: "At Selection" }, description: "Delete the cells.", icon: "
|
|
1303
|
+
}), new k("deleteCells", p2, { label: "Delete Cells", scopedLabels: { deleteCells: "At Selection" }, description: "Delete the cells.", icon: "DeleteCells", shortcut: { key: "-", modifiers: [R.Ctrl] } }, function() {
|
|
1304
1304
|
return Te2(this);
|
|
1305
1305
|
}), new k("deleteCellsShiftUp", p2, { label: "Delete Cells (Shift Up)", scopedLabels: { deleteCells: "Shift up" }, description: "Delete cells the current current downward.", icon: "DeleteCellsUp" }, function() {
|
|
1306
1306
|
return Te2(this, s.Orientation.Row);
|
|
@@ -1342,7 +1342,7 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
|
|
|
1342
1342
|
se2(this, o.Content.Comments);
|
|
1343
1343
|
}), new k("clearAll", p2, { label: "Clear All", scopedLabels: { clear: "All" }, icon: "ClearAll", description: "Clears everything from the cells.\n\nAll contents and formatting are removed.", shortcut: { key: "Delete", modifiers: [R.Ctrl, R.Shift] } }, function() {
|
|
1344
1344
|
se2(this);
|
|
1345
|
-
}), new T("freezeToggle", p2, { label: "Freeze Panes", description: "Keep rows and columns visible while the rest of the sheet scrolls (based on current selection).", icon: "FreezeBoth" }), new T("freezeToggleHorizontal", p2, { label: "Freeze Top Rows", description: "Keep the top rows visible while scrolling through the rest of the sheet.", icon: "FreezeRows" }), new T("freezeToggleVertical", p2, { label: "Freeze Left Columns", description: "Keep the left columns visible while scrolling through the rest of the sheet.", icon: "FreezeColumns" }), new k("unfreeze", p2, { label: "Unfreeze Panes", description: "Unfreeze both the rows and columns.", icon: "MergeUnMerge" }), new k("autoFitRows", p2, { label: "Autofit Rows", description: "Adjust the rows to the best height.", icon: "RowsResizeAuto" }), new k("autoFitColumns", p2, { label: "Autofit Columns", description: "Adjust the columns to the best width.", icon: "ColumnsResizeAuto" })], []), He2 = ne(() => {
|
|
1345
|
+
}), new T("freezeToggle", p2, { label: "Freeze Panes", description: "Keep rows and columns visible while the rest of the sheet scrolls (based on current selection).", icon: "FreezeBoth" }), new T("freezeToggleHorizontal", p2, { label: "Freeze Top Rows", description: "Keep the top rows visible while scrolling through the rest of the sheet.", icon: "FreezeRows" }), new T("freezeToggleVertical", p2, { label: "Freeze Left Columns", description: "Keep the left columns visible while scrolling through the rest of the sheet.", icon: "FreezeColumns" }), new k("unfreeze", p2, { label: "Unfreeze Panes", description: "Unfreeze both the rows and columns.", icon: "MergeUnMerge" }), new k("autoFitRows", p2, { label: "Autofit Rows", description: "Adjust the rows to the best height.", icon: "RowsResizeAuto" }), new k("resizeRows", p2, { label: "Resize Rows", description: "Resize the rows to the specified height.", icon: "RowsResize", disabled: true }), new k("autoFitColumns", p2, { label: "Autofit Columns", description: "Adjust the columns to the best width.", icon: "ColumnsResizeAuto" }), new k("resizeColumns", p2, { label: "Resize Columns", description: "Resize the columns to the specified width.", icon: "ColumnsResize", disabled: true })], []), He2 = ne(() => {
|
|
1346
1346
|
let e3 = null;
|
|
1347
1347
|
return e3 = h2 ? h2.createChildGroup(p2, "sheet", false) : new M(p2, "sheet"), e3.addCommands(Ne2, true), e3;
|
|
1348
1348
|
}, [h2, Ne2]), [Pe2, Ve2] = re(false), [Le2, Be2] = re(false);
|
|
@@ -1733,13 +1733,13 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" })) return;
|
|
|
1733
1733
|
He2.getCommand("formatTextRotate0").update(a2), He2.getCommand("formatTextRotate45").update(a2), He2.getCommand("formatTextRotate90").update(a2), He2.getCommand("formatTextRotate270").update(a2), He2.getCommand("formatTextRotate315").update(a2), He2.getCommand("formatTextRotateCustom").update(a2), He2.getCommand("formatTextRotateVertical").update(a2);
|
|
1734
1734
|
}, [Ie2]), He2;
|
|
1735
1735
|
}
|
|
1736
|
-
const Lt = oe(le((e2, t2) => {
|
|
1737
|
-
const { style: o2 = C.EmptyCssProperties, orientation: n2, sheet: r2, onShowTooltip: l2, onCloseTooltip: i2, onScrollOffset: a2, showCustomScrollButtons: s2 =
|
|
1736
|
+
const Lt = "_sheet-scrollbar_104cg_1", Bt = oe(le((e2, t2) => {
|
|
1737
|
+
const { style: o2 = C.EmptyCssProperties, orientation: n2, sheet: r2, onShowTooltip: l2, onCloseTooltip: i2, onScrollOffset: a2, showCustomScrollButtons: s2 = true, offset: d2 = 0, totalSize: c2 = 0, viewportSize: g2 = 0, className: u2, endGap: h2, ...m2 } = e2;
|
|
1738
1738
|
if (!r2) throw new Error("SheetScrollBar needs a sheet model");
|
|
1739
|
-
const [
|
|
1739
|
+
const [p2] = Me(), f2 = S(l2, [l2]), w2 = S(i2, [i2]), v2 = De(p2, t2), [q2, y2] = re(() => {
|
|
1740
1740
|
const e3 = r2.getView().getTopLeft();
|
|
1741
1741
|
return n2 === H.Vertical ? e3.top : e3.left;
|
|
1742
|
-
}),
|
|
1742
|
+
}), b2 = () => {
|
|
1743
1743
|
const e3 = r2.getView().getFreezePanes();
|
|
1744
1744
|
if (n2 === H.Vertical) {
|
|
1745
1745
|
if (0 === e3.coords.rowIndex) return { shift: 0, scroll: 0 };
|
|
@@ -1747,44 +1747,44 @@ const Lt = oe(le((e2, t2) => {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
if (0 === e3.coords.colIndex) return { shift: 0, scroll: 0 };
|
|
1749
1749
|
return { shift: r2.getColumnHeaders().findOffset(e3.coords.colIndex) - e3.topLeft.left, scroll: e3.topLeft.left };
|
|
1750
|
-
}, [
|
|
1750
|
+
}, [x2, k2] = re(b2), [T2, R2] = re(null), [M2, A2] = re(false), z2 = n2 === H.Vertical ? r2.getRowHeaders() : r2.getColumnHeaders(), F2 = () => {
|
|
1751
1751
|
const e3 = r2.getUsedRange()?.getCoords() ?? Q.EmptyRange, t3 = r2.getSelection().getCoords().cell;
|
|
1752
1752
|
return { colIndex: Math.max(e3.colEnd, t3.colIndex), rowIndex: Math.max(e3.rowEnd, t3.rowIndex) };
|
|
1753
|
-
}, [
|
|
1754
|
-
const e3 =
|
|
1755
|
-
Q.isEqualCells(
|
|
1753
|
+
}, [D2, I2] = re(F2), E2 = D2 ? (n2 === H.Vertical ? D2.rowIndex : D2.colIndex) + 1 : 0, N2 = () => {
|
|
1754
|
+
const e3 = F2();
|
|
1755
|
+
Q.isEqualCells(D2, e3) || I2(e3);
|
|
1756
1756
|
};
|
|
1757
1757
|
St(r2.getView(), { onFreezeSplitChange: () => {
|
|
1758
|
-
b2
|
|
1759
|
-
} }), St(r2.getSelection(), { onChange:
|
|
1760
|
-
F2(
|
|
1758
|
+
k2(b2);
|
|
1759
|
+
} }), St(r2.getSelection(), { onChange: N2 }), St(r2, { onUsedRangeChange: N2 }), ae(() => {
|
|
1760
|
+
I2(F2());
|
|
1761
1761
|
}, [r2]), ae(() => {
|
|
1762
|
-
if (!
|
|
1763
|
-
const e3 =
|
|
1764
|
-
|
|
1765
|
-
}, [d2,
|
|
1766
|
-
const
|
|
1767
|
-
|
|
1768
|
-
const n3 = e3 +
|
|
1762
|
+
if (!T2) return M2 && w2?.(), void A2(false);
|
|
1763
|
+
const e3 = z2.getTextAt(z2.findIndex(q2 / (r2.getView().getZoomScale() / 100) + x2.scroll + x2.shift));
|
|
1764
|
+
A2(true), f2?.({ ...T2, display: (n2 === H.Vertical ? "Row" : "Column") + ": " + e3 });
|
|
1765
|
+
}, [d2, q2, x2, n2, T2, z2, M2, r2]);
|
|
1766
|
+
const V2 = S((e3, t3, o3) => {
|
|
1767
|
+
y2(e3);
|
|
1768
|
+
const n3 = e3 + x2.scroll, r3 = t3 + x2.shift, l3 = o3 + x2.shift + x2.scroll;
|
|
1769
1769
|
a2?.(n3, r3, l3);
|
|
1770
|
-
}, [a2,
|
|
1771
|
-
return Z(P, { ref:
|
|
1772
|
-
|
|
1773
|
-
}, onScrollOffset:
|
|
1774
|
-
|
|
1770
|
+
}, [a2, x2]), L2 = d2 - x2.scroll, B2 = g2 - x2.shift, O2 = c2 - (x2.shift + x2.scroll), $2 = z2.findOffset(E2) * (r2.getView().getZoomScale() / 100) - (x2.scroll + x2.shift);
|
|
1771
|
+
return ne(() => Z(P, { ref: v2, className: Ae(u2, Lt), style: o2, offset: L2, viewportSize: B2, totalSize: O2, orientation: n2, showCustomScrollButtons: s2, onMouseDown: (e3) => {
|
|
1772
|
+
R2({ anchor: { x: e3.clientX, y: e3.clientY } }), e3.preventDefault();
|
|
1773
|
+
}, onScrollOffset: V2, onMouseOut: () => {
|
|
1774
|
+
R2(null);
|
|
1775
1775
|
}, onMouseUp: () => {
|
|
1776
|
-
|
|
1777
|
-
}, minSize:
|
|
1776
|
+
R2(null);
|
|
1777
|
+
}, minSize: $2, ...m2 }), [u2, L2, B2, O2, n2, s2, o2, $2, h2]);
|
|
1778
1778
|
}));
|
|
1779
|
-
|
|
1780
|
-
const
|
|
1779
|
+
Bt.displayName = "SheetScrollbar";
|
|
1780
|
+
const Ot = (e2, t2, o2 = null) => {
|
|
1781
1781
|
const n2 = [];
|
|
1782
1782
|
for (let r2 = 0; r2 < e2.length; r2++) if (e2[r2].value.isSelectedAll) {
|
|
1783
1783
|
if (e2[r2].min === e2[r2].max && e2[r2].min === o2) continue;
|
|
1784
1784
|
n2.push({ address: { min: e2[r2].min, max: e2[r2].max }, update: t2 });
|
|
1785
1785
|
}
|
|
1786
1786
|
return n2;
|
|
1787
|
-
},
|
|
1787
|
+
}, $t = oe(le((e2, t2) => {
|
|
1788
1788
|
const { sheetHeader: o2, gridRef: n2, sheetElement: r2, commands: l2, 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: x2, onSelectionStart: k2, onSelectionEnd: T2 } = e2, R2 = ne(() => o2.getOrientation(), [o2]), M2 = ie(null), [A2, z2] = ue((e3) => e3 + 1, 0), [F2, I2] = ue((e3) => e3 + 1, 0), E2 = o2?.getSheet(), N2 = ie(false);
|
|
1789
1789
|
se(() => {
|
|
1790
1790
|
N2.current = true;
|
|
@@ -1829,7 +1829,7 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
1829
1829
|
const a3 = o2.getSelectedRuns();
|
|
1830
1830
|
a3.length > 1 ? l3 = "Resize " + (r3 ? "Columns" : "Rows") : i3 = a3[0];
|
|
1831
1831
|
const s2 = { hidden: t3 <= 0, size: (t3 <= 0 ? n3 : t3) / L2 };
|
|
1832
|
-
o2.updateHeaderPairs(
|
|
1832
|
+
o2.updateHeaderPairs(Ot(a3, s2, e3));
|
|
1833
1833
|
}
|
|
1834
1834
|
if (i3) {
|
|
1835
1835
|
const e4 = i3.max - i3.min + 1;
|
|
@@ -1852,7 +1852,7 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
1852
1852
|
}
|
|
1853
1853
|
t3 || a3({ min: e3, max: e3 }), o2.getSheet().getRanges(l3).autoFit({ orientations: n3 ? s.Orientations.Column : s.Orientations.Row });
|
|
1854
1854
|
if (j2(e3)) {
|
|
1855
|
-
const n4 = { hidden: null }, r4 =
|
|
1855
|
+
const n4 = { hidden: null }, r4 = Ot(i3, n4);
|
|
1856
1856
|
t3 || r4.push({ address: e3, update: n4 }), o2.updateHeaderPairs(r4);
|
|
1857
1857
|
}
|
|
1858
1858
|
v2?.(e3, null, "Resize Column(s)");
|
|
@@ -1975,10 +1975,10 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
1975
1975
|
return ae(() => {
|
|
1976
1976
|
N2.current = false, M2.current?.invalidate(), I2();
|
|
1977
1977
|
}, [o2, u2]), He2;
|
|
1978
|
-
})),
|
|
1978
|
+
})), Wt = oe(le((e2, t2) => {
|
|
1979
1979
|
const { view: o2, sheet: n2, getVisibleCells: r2, gridStyle: l2 } = e2, i2 = S((e3, t3) => e3.getStyle().getBorder(), []), { overlay: a2 } = ut({ getVisibleCells: r2, getBorderAt: i2, darkMode: l2.body.darkMode, shiftIfWide: true }), s2 = a2(o2);
|
|
1980
1980
|
return s2 && o2 ? s2 : null;
|
|
1981
|
-
})),
|
|
1981
|
+
})), Ut = { 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." }, Gt = { type: o.Content.Values }, Zt = { fitDestination: true, type: o.Content.Formats }, jt = { fitDestination: true, type: o.Content.Formulas }, Kt = { transpose: true }, Xt = { fitDestination: true, adjustCells: (e2, t2, o2) => ({ value: `=${t2.getA1({ $colIndex: true, $rowIndex: true })}` }) }, Yt = ({ element: e2, sheet: t2, sheetView: n2, commands: r2, onClipboardUpdate: l2, onPaste: i2, selectionRenderer: a2 = Se, copyForegroundColor: d2 = "rgb(33, 115, 70)", cutForegroundColor: c2 = "rgb(33, 115, 70)", copyBackgroundColor: g2 = "white", cutBackgroundColor: u2 = "white", ...h2 }) => {
|
|
1982
1982
|
const m2 = S(a2, [a2]), w2 = ie(null), v2 = D(), q2 = v2.getMode(), y2 = ne(() => ({ element: e2, doCopy: (e3) => {
|
|
1983
1983
|
const o2 = t2.getSelectedRanges().getSnapshot(e3);
|
|
1984
1984
|
return new p(o2);
|
|
@@ -1996,7 +1996,7 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
1996
1996
|
} }), [t2, n2, e2]), { clipboard: b2, ...x2 } = A({ ...h2, source: y2, commands: r2, target: C2, onClipboardUpdate: (e3) => {
|
|
1997
1997
|
const t3 = "range" === e3?.getItemType() ? e3 : null;
|
|
1998
1998
|
if (t3) {
|
|
1999
|
-
const t4 = e3.editMode?.(), o2 = { ...e3?.isCut?.() ?
|
|
1999
|
+
const t4 = e3.editMode?.(), o2 = { ...e3?.isCut?.() ? _t : Ut, ...t4, args: { isClipboard: true, ...t4?.args }, onModeChange: (e4) => {
|
|
2000
2000
|
e4?.args?.isClipboard || b2.clear(true), t4?.onModeChange?.(e4);
|
|
2001
2001
|
} };
|
|
2002
2002
|
v2.setMode(o2);
|
|
@@ -2021,7 +2021,7 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2021
2021
|
}, [r2, e2]), ae(() => {
|
|
2022
2022
|
if (!r2) return;
|
|
2023
2023
|
const e3 = { disabled: !t2.getProtection().isFormatCellsAllowed() };
|
|
2024
|
-
r2.getCommand("pasteValues").updateCallback((e4) => x2.paste({ ...
|
|
2024
|
+
r2.getCommand("pasteValues").updateCallback((e4) => x2.paste({ ...Gt, ...e4 })).update(e3), r2.getCommand("pasteFormats").updateCallback((e4, t3) => x2.paste({ ...Zt, description: t3.label(), ...e4 })).update(e3), r2.getCommand("pasteFormulas").updateCallback((e4, t3) => x2.paste({ ...jt, description: t3.label(), ...e4 })).update(e3), r2.getCommand("pasteTranspose").updateCallback((e4, t3) => x2.paste({ ...Kt, description: t3.label(), ...e4 })).update(e3), r2.getCommand("pasteLinks").updateCallback((e4, t3) => x2.paste({ ...Xt, description: t3.label(), ...e4 })).update(e3), r2.getCommand("cut").update(e3), r2.getCommand("paste").update(e3);
|
|
2025
2025
|
}, [t2, r2]);
|
|
2026
2026
|
const k2 = ne(() => {
|
|
2027
2027
|
if (!q2 || !w2.current) return;
|
|
@@ -2040,21 +2040,21 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2040
2040
|
} : null;
|
|
2041
2041
|
}, [q2, t2, n2, d2, g2, c2, u2]);
|
|
2042
2042
|
return { ...x2, clipboard: b2, overlays: k2 };
|
|
2043
|
-
},
|
|
2044
|
-
const { view: o2, element: n2, sheet: r2, gridStyle: l2, commands: i2 } = e2, a2 = l2.body ?? {}, s2 = r2.getView(), { overlays: d2 } =
|
|
2043
|
+
}, Jt = oe(le((e2, t2) => {
|
|
2044
|
+
const { view: o2, element: n2, sheet: r2, gridStyle: l2, commands: i2 } = e2, a2 = l2.body ?? {}, s2 = r2.getView(), { overlays: d2 } = Yt({ element: n2, sheet: r2, sheetView: s2, commands: i2, copyForegroundColor: l2.selection.strokeFill, copyBackgroundColor: a2.fill, cutForegroundColor: l2.selectionRemove.strokeFill, cutBackgroundColor: a2.fill });
|
|
2045
2045
|
return St(r2?.getSelection(), { onChange(e3) {
|
|
2046
2046
|
} }), ae(() => {
|
|
2047
2047
|
o2?.getStage();
|
|
2048
2048
|
}, [o2?.getStage()]), d2 && o2 ? d2(o2) : null;
|
|
2049
|
-
})),
|
|
2049
|
+
})), Qt = "_sheet-selection_12wyx_5", eo = { key: "dragCut", description: "Drag selection to move cell contents.", cursor: "move" }, to = { key: "dragCutInsert", description: "Drag selection to insert cell contents.", cursor: "copy" }, oo = { key: "dragCopy", description: "Drag selection to copy cell contents." }, no = { key: "dragCopyInsert", description: "Drag selection to insert copied cell contents.", cursor: "move" }, ro = (e2, t2) => t2.ctrlKey && t2.shiftKey ? no : t2.ctrlKey ? oo : t2.shiftKey ? to : eo, lo = { key: "fill", description: "Drag selection to extend series or fill.", cursor: "crosshair" }, io = oe(le((e2, t2) => {
|
|
2050
2050
|
const { view: o2, commands: n2, className: r2, onFirstRender: l2, onShowTooltip: i2, onCloseTooltip: a2, sheet: d2, gridRef: c2, gridStyle: g2, isActive: u2, editingCoords: h2, ...m2 } = e2, p2 = o2?.getBounds(), f2 = S(i2, [i2]), w2 = S(a2, [a2]), [v2, q2] = re(() => d2?.getSelection().getCoords()), y2 = S((e3) => {
|
|
2051
2051
|
Q.isEqualSelectionCoords(e3, v2) || d2 && d2.getSelection().updateCoords(e3);
|
|
2052
|
-
}, [d2, v2]), x2 = D(), k2 = ie(null), [T2, R2] = re(d2?.getProtection().isLocked()), [M2, A2] = re(d2?.getView().getMovableSelection().length > 0), z2 = "touch" === C.detectIt().primaryInput, I2 = !z2 && u2, E2 =
|
|
2052
|
+
}, [d2, v2]), x2 = D(), k2 = ie(null), [T2, R2] = re(d2?.getProtection().isLocked()), [M2, A2] = re(d2?.getView().getMovableSelection().length > 0), z2 = "touch" === C.detectIt().primaryInput, I2 = !z2 && u2, E2 = h2 ?? x2.getMode()?.args?.stateAndCoords?.coords, N2 = void 0 !== E2 || M2, H2 = S((e3) => {
|
|
2053
2053
|
const t3 = Q.cellToRange(e3);
|
|
2054
2054
|
if (d2.isClosed()) return t3;
|
|
2055
2055
|
const o3 = d2.getRange(t3, { ignoreHidden: true }).getMerges();
|
|
2056
2056
|
return 0 === o3.length ? t3 : o3[0];
|
|
2057
|
-
}, [d2]),
|
|
2057
|
+
}, [d2]), P2 = S((e3, t3, o3, n3, r3, l3) => {
|
|
2058
2058
|
const i3 = d2.getSelectedRange().getExtended(n3, e3).getCoords();
|
|
2059
2059
|
switch (n3) {
|
|
2060
2060
|
case s.Direction.Up:
|
|
@@ -2066,16 +2066,16 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2066
2066
|
case s.Direction.Right:
|
|
2067
2067
|
return i3.colEnd;
|
|
2068
2068
|
}
|
|
2069
|
-
}, [d2]),
|
|
2069
|
+
}, [d2]), V2 = S(() => {
|
|
2070
2070
|
const e3 = d2.getUsedRange()?.getCoords(), t3 = d2.getRowHeaders().getUsedRange()?.getCoords(), o3 = d2.getColumnHeaders().getUsedRange()?.getCoords();
|
|
2071
2071
|
return { ...e3, colEnd: Math.max(e3?.colEnd ?? 0, o3?.max ?? 0), rowEnd: Math.max(e3?.rowEnd ?? 0, t3?.max ?? 0) };
|
|
2072
|
-
}, [d2]),
|
|
2072
|
+
}, [d2]), B2 = S((e3, t3) => d2.getRowHeaders().hiddenHeadersAt(e3, t3), [d2]), O2 = S((e3, t3) => d2.getColumnHeaders().hiddenHeadersAt(e3, t3), [d2]), $2 = S((e3) => d2.getRange(e3, { ignoreHidden: true }).getMerges(), [d2]), W2 = S((e3) => {
|
|
2073
2073
|
d2?.getSelection().setAdjusting(e3);
|
|
2074
|
-
}, [d2]),
|
|
2074
|
+
}, [d2]), U2 = S(async () => {
|
|
2075
2075
|
d2?.getSelection().setAdjusting(null);
|
|
2076
2076
|
const e3 = x2.getMode();
|
|
2077
2077
|
"formatPainter" === e3?.key && (await n2?.getCommand("pasteFormats")?.execute({}), x2.setMode(null));
|
|
2078
|
-
}, [x2, v2, d2, n2]),
|
|
2078
|
+
}, [x2, v2, d2, n2]), _2 = ne(() => {
|
|
2079
2079
|
const e3 = x2.getMode();
|
|
2080
2080
|
return "cut" === e3?.key || "copy" === e3?.key;
|
|
2081
2081
|
}, [x2]);
|
|
@@ -2087,52 +2087,52 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2087
2087
|
} }), St(d2, { onProtectionChange: () => {
|
|
2088
2088
|
R2(d2.getProtection().isLocked());
|
|
2089
2089
|
} });
|
|
2090
|
-
const { body:
|
|
2091
|
-
x2.setMode(
|
|
2090
|
+
const { body: G2 = {} } = g2 || {}, j2 = F(), K2 = o2.getLayout(), X2 = !(I2 && v2.ranges.length <= 1 && null === E2 && !T2 && (!x2.getMode() || _2)), { cursor: Y2, overlay: J2, onPointerDown: ee2 } = we({ gridRef: c2, commands: n2, layout: K2, getCellCoordsAsRangeCoords: H2, 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: X2, disableMoveDrag: z2 || !(u2 && v2.ranges.length <= 1 && null === E2 && !T2), disableTouchSelection: N2, onSelectionChange: y2, onSelectionDragStart: W2, onSelectionDragEnd: U2, onMoveDragStart: (e3, t3, o3) => {
|
|
2091
|
+
x2.setMode(ro(0, o3));
|
|
2092
2092
|
}, onMoveDragUpdate: (e3, t3, o3) => {
|
|
2093
|
-
x2.setMode(
|
|
2093
|
+
x2.setMode(ro(0, o3));
|
|
2094
2094
|
}, onMoveDragEnd: (e3, t3) => {
|
|
2095
2095
|
x2.setMode(null);
|
|
2096
2096
|
}, onMoveDragDone: async (e3, t3, o3) => {
|
|
2097
2097
|
if (Q.isEqualRanges(e3, t3)) return;
|
|
2098
2098
|
const n3 = d2.getRange(t3);
|
|
2099
|
-
if (
|
|
2099
|
+
if (j2?.showOptions) {
|
|
2100
2100
|
const t4 = n3.getDifferences(e3);
|
|
2101
2101
|
let o4 = false;
|
|
2102
2102
|
const r4 = t4.getCount();
|
|
2103
2103
|
for (let e4 = 0; !o4 && e4 < r4; e4++) o4 = t4.at(e4).isContentful();
|
|
2104
2104
|
if (o4) {
|
|
2105
|
-
if ("Replace" !== await
|
|
2105
|
+
if ("Replace" !== await j2?.showOptions({ title: "Confirm", description: "There is already data here. Do you want to replace it?", options: ["Replace", "Cancel"], defaultOption: "Replace" })) return;
|
|
2106
2106
|
}
|
|
2107
2107
|
}
|
|
2108
|
-
const r3 = !o3.ctrlKey, l3 = o3.shiftKey, i3 = l3 ? r3 ? "Insert Moved Cells" : "Insert Copied Cells" : r3 ? "Move Cells" : "Copy Cells", a3 = await
|
|
2108
|
+
const r3 = !o3.ctrlKey, l3 = o3.shiftKey, i3 = l3 ? r3 ? "Insert Moved Cells" : "Insert Copied Cells" : r3 ? "Move Cells" : "Copy Cells", a3 = await j2?.showBusy?.(i3);
|
|
2109
2109
|
try {
|
|
2110
2110
|
const t4 = d2.getRange(e3);
|
|
2111
2111
|
await n3.doBatch(async () => {
|
|
2112
2112
|
l3 ? await n3.insertFrom(e3, { isCut: r3, undoRange: t4 }) : await n3.copyFrom(e3, { isCut: r3, undoRange: t4 }), t4.autoFit({ skipCustomSize: true, orientations: s.Orientations.Row, minContent: true }), n3.autoFit({ skipCustomSize: true, orientations: s.Orientations.Row, minContent: true });
|
|
2113
2113
|
}, { description: i3, autoSelect: true });
|
|
2114
2114
|
} catch (e4) {
|
|
2115
|
-
|
|
2115
|
+
j2?.showError?.(e4);
|
|
2116
2116
|
} finally {
|
|
2117
2117
|
a3?.();
|
|
2118
2118
|
}
|
|
2119
|
-
}, contentfulCellFinder:
|
|
2119
|
+
}, contentfulCellFinder: P2, hiddenRowsAt: B2, hiddenColumnsAt: O2, mergedRanges: $2, getDataCoords: V2, canSelectionSpanMergedCells: (e3) => {
|
|
2120
2120
|
const t3 = d2.getRange(e3);
|
|
2121
2121
|
return t3.isEntireColumns() || t3.isEntireRows();
|
|
2122
2122
|
}, onFill: async (e3, t3) => {
|
|
2123
|
-
const o3 = "Auto Fill", n3 = await
|
|
2123
|
+
const o3 = "Auto Fill", n3 = await j2?.showBusy?.(o3);
|
|
2124
2124
|
try {
|
|
2125
2125
|
await d2.doBatch(() => {
|
|
2126
2126
|
d2.getRange(e3).autoFill(t3), d2.getRange(t3).autoFit({ orientations: s.Orientations.Row, skipCustomSize: true, minContent: true });
|
|
2127
2127
|
}, { description: o3, autoSelect: true });
|
|
2128
2128
|
} catch (e4) {
|
|
2129
|
-
|
|
2129
|
+
j2?.showError?.(e4);
|
|
2130
2130
|
} finally {
|
|
2131
2131
|
k2.current = null, n3?.();
|
|
2132
2132
|
}
|
|
2133
2133
|
}, onFillPreview: (e3, t3, n3) => {
|
|
2134
2134
|
if (c2.current && f2) {
|
|
2135
|
-
x2.setMode(
|
|
2135
|
+
x2.setMode(lo);
|
|
2136
2136
|
try {
|
|
2137
2137
|
k2.current?.direction !== n3 && (k2.current = null, d2.getRange(e3).autoFill(t3, { previewOnly: (e4) => {
|
|
2138
2138
|
k2.current = { callback: e4, direction: n3 };
|
|
@@ -2144,57 +2144,57 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2144
2144
|
const i3 = Q.cellToRange(r3.getCoords()), a3 = o2.getRelativePointFromClient(0, 0);
|
|
2145
2145
|
let c3 = 0, g3 = 0, u3 = L.Bottom;
|
|
2146
2146
|
if (n3 === s.Direction.Down) {
|
|
2147
|
-
c3 =
|
|
2148
|
-
const e4 =
|
|
2147
|
+
c3 = K2.getColOffset(i3.colEnd + 1) - a3.x;
|
|
2148
|
+
const e4 = K2.getRowOffset(i3.rowEnd), t4 = K2.getRowOffset(i3.rowEnd + 1);
|
|
2149
2149
|
g3 = t4 - (t4 - e4) / 2 - a3.y, u3 = L.Right;
|
|
2150
2150
|
} else if (n3 === s.Direction.Right) {
|
|
2151
|
-
g3 =
|
|
2152
|
-
const e4 =
|
|
2151
|
+
g3 = K2.getRowOffset(i3.rowEnd + 1) - a3.y;
|
|
2152
|
+
const e4 = K2.getColOffset(i3.colEnd), t4 = K2.getColOffset(i3.colEnd + 1);
|
|
2153
2153
|
c3 = t4 - (t4 - e4) / 2 - a3.x, u3 = L.Bottom;
|
|
2154
2154
|
} else if (n3 === s.Direction.Up) {
|
|
2155
|
-
c3 =
|
|
2156
|
-
const e4 =
|
|
2155
|
+
c3 = K2.getColOffset(i3.colEnd + 1) - a3.x;
|
|
2156
|
+
const e4 = K2.getRowOffset(i3.rowStart), t4 = K2.getRowOffset(i3.rowStart + 1);
|
|
2157
2157
|
g3 = t4 - (t4 - e4) / 2 - a3.y, u3 = L.Right;
|
|
2158
2158
|
} else if (n3 === s.Direction.Left) {
|
|
2159
|
-
g3 =
|
|
2160
|
-
const e4 =
|
|
2159
|
+
g3 = K2.getRowOffset(i3.rowEnd + 1) - a3.y;
|
|
2160
|
+
const e4 = K2.getColOffset(i3.colStart), t4 = K2.getColOffset(i3.colStart + 1);
|
|
2161
2161
|
c3 = t4 - (t4 - e4) / 2 - a3.x, u3 = L.Bottom;
|
|
2162
2162
|
}
|
|
2163
2163
|
f2({ anchor: { x: c3, y: g3 }, display: l3, placement: u3 });
|
|
2164
2164
|
} catch (e4) {
|
|
2165
|
-
|
|
2165
|
+
j2?.showError?.(e4);
|
|
2166
2166
|
}
|
|
2167
2167
|
}
|
|
2168
2168
|
}, onFillDone: () => {
|
|
2169
2169
|
k2.current = null, x2.setMode(null), w2?.();
|
|
2170
|
-
} }),
|
|
2171
|
-
|
|
2172
|
-
}, [
|
|
2170
|
+
} }), te2 = S((e3) => {
|
|
2171
|
+
ee2(C.createSyntheticEvent(e3));
|
|
2172
|
+
}, [ee2, E2]);
|
|
2173
2173
|
ae(() => {
|
|
2174
2174
|
const e3 = o2?.getStage();
|
|
2175
|
-
if (e3) return e3.addEventListener("pointerdown",
|
|
2176
|
-
e3.removeEventListener("pointerdown",
|
|
2175
|
+
if (e3) return e3.addEventListener("pointerdown", te2), () => {
|
|
2176
|
+
e3.removeEventListener("pointerdown", te2);
|
|
2177
2177
|
};
|
|
2178
2178
|
}, [o2?.getStage()]);
|
|
2179
|
-
const
|
|
2180
|
-
return Z("div", { className: Ae(r2, "sheet-selection",
|
|
2181
|
-
})),
|
|
2182
|
-
const { children: o2, view: n2, movable: r2, onRefLoad: l2, onRefUnload: i2, onHide: a2, onShow: s2, onUnFocus: d2, isDragging: c2, updateFrameBounds: g2, dragStart: u2, style: h2, disabled: m2, renderMovable: p2, ...f2 } = e2, [w2, v2] = re(
|
|
2179
|
+
const oe2 = b(t2, () => ({}), []), le2 = ie(null);
|
|
2180
|
+
return Z("div", { className: Ae(r2, "sheet-selection", Qt), style: { position: "absolute", width: p2?.width, height: p2?.height, overflow: "hidden", pointerEvents: "none", willChange: "none" }, ref: Re([oe2, le2]), ...m2, children: J2(o2) });
|
|
2181
|
+
})), ao = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), so = { fireOnModelChange: false }, co = oe(le((e2, t2) => {
|
|
2182
|
+
const { children: o2, view: n2, movable: r2, onRefLoad: l2, onRefUnload: i2, onHide: a2, onShow: s2, onUnFocus: d2, isDragging: c2, updateFrameBounds: g2, dragStart: u2, style: h2, disabled: m2, renderMovable: p2, ...f2 } = e2, [w2, v2] = re(ao), [q2, y2] = re(null), [C2, b2] = re(false), S2 = ie(null);
|
|
2183
2183
|
se(() => {
|
|
2184
2184
|
if (r2.isClosed()) return;
|
|
2185
2185
|
const e3 = r2.getBounds();
|
|
2186
2186
|
if (!e3) return;
|
|
2187
2187
|
const t3 = n2.toViewBounds(e3);
|
|
2188
|
-
v2(t3 ??
|
|
2188
|
+
v2(t3 ?? ao), g2(t3 ?? ao);
|
|
2189
2189
|
}, [n2?.getBounds()]), St(r2, { onBoundsChange: (e3) => {
|
|
2190
2190
|
const t3 = e3.getBounds();
|
|
2191
2191
|
if (!t3) return;
|
|
2192
2192
|
const o3 = n2.toViewBounds(t3);
|
|
2193
|
-
v2(o3 ??
|
|
2193
|
+
v2(o3 ?? ao), g2(o3);
|
|
2194
2194
|
}, onSelectionChange: () => {
|
|
2195
2195
|
const e3 = X.hasFocus(S2.current, true);
|
|
2196
2196
|
!C2 && !e3 || r2.isSelected() || d2();
|
|
2197
|
-
} }), St(r2, { onRequestFocus: () => X.whenFocus(S2.current, true) },
|
|
2197
|
+
} }), St(r2, { onRequestFocus: () => X.whenFocus(S2.current, true) }, so), ae(() => {
|
|
2198
2198
|
const e3 = S2.current;
|
|
2199
2199
|
return l2(e3), () => {
|
|
2200
2200
|
i2(e3);
|
|
@@ -2213,7 +2213,7 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2213
2213
|
}, onBlur: (e3) => {
|
|
2214
2214
|
q2 && !S2?.current?.contains(e3.relatedTarget) && y2(null), e3.relatedTarget && b2(false);
|
|
2215
2215
|
}, ...f2, children: x2 });
|
|
2216
|
-
})),
|
|
2216
|
+
})), go = "_movable-area_314c6_5", uo = oe(le((e2, t2) => {
|
|
2217
2217
|
const { view: o2, movables: n2, movablesView: r2, renderMovable: l2, 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, v2 = o2.getBounds(), q2 = S(p2, [p2]), y2 = S(a2, [a2]), C2 = S(s2, [s2]), [k2, T2] = re([]), [R2, M2] = re(false), [A2, z2] = re(false), F2 = ie(true), D2 = ie(/* @__PURE__ */ new Map()), I2 = ie(/* @__PURE__ */ new Map()), E2 = ie(/* @__PURE__ */ new Map()), N2 = ie(/* @__PURE__ */ new Map()), H2 = ie(/* @__PURE__ */ new Map()), P2 = ie({ onRequestFocus: (e3) => (ce2(e3), null) }), V2 = ie(null), L2 = ie(null), B2 = ie(null), [O2, $2] = ue((e3) => e3 + 1, 0);
|
|
2218
2218
|
se(() => {
|
|
2219
2219
|
$2();
|
|
@@ -2283,7 +2283,7 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2283
2283
|
}), e4 ? pe2() : fe2();
|
|
2284
2284
|
}
|
|
2285
2285
|
}, 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 Z(
|
|
2286
|
+
return Z(co, { ...s4 }, `movable-${t4.getUUID()}`);
|
|
2287
2287
|
}, i3 = D2.current, a3 = /* @__PURE__ */ new Map(), s3 = [];
|
|
2288
2288
|
for (let o3 = 0; o3 < e3.length; o3++) {
|
|
2289
2289
|
const n3 = e3[o3];
|
|
@@ -2345,7 +2345,7 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2345
2345
|
Ce2.current = true;
|
|
2346
2346
|
const e3 = te.lazy(async () => {
|
|
2347
2347
|
try {
|
|
2348
|
-
const e4 = await import("./
|
|
2348
|
+
const e4 = await import("./D3merBG8bA_CZ3nh.mjs");
|
|
2349
2349
|
return Ce2.current = false, be2.current = true, T2([...k2]), e4;
|
|
2350
2350
|
} catch (e4) {
|
|
2351
2351
|
return console.warn(e4), _2.current?.(false), null;
|
|
@@ -2389,7 +2389,7 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2389
2389
|
}, onDragEnd: (e3) => {
|
|
2390
2390
|
}, onMouseUp: (e3) => {
|
|
2391
2391
|
} }) }), [O2, qe2, k2, o2, d2, c2, g2, R2, A2]);
|
|
2392
|
-
return Z("div", { className: Ae(u2, "movable-area",
|
|
2392
|
+
return Z("div", { className: Ae(u2, "movable-area", go), style: { width: v2.width, height: v2.height, ...h2, position: "absolute", overflow: "hidden", willChange: "transform" }, ref: Re([ve2, we2]), ...f2, children: Z("div", { className: "movable-scroll", style: { position: "absolute", cursor: "initial", left: 0, top: 0, width: v2.width, height: v2.height }, ...f2, children: j("div", { ref: V2, style: { position: "absolute", pointerEvents: "auto" }, onFocus: (e3) => {
|
|
2393
2393
|
C2?.(), ee2(true);
|
|
2394
2394
|
}, onBlur: (e3) => {
|
|
2395
2395
|
ee2(false);
|
|
@@ -2434,14 +2434,14 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2434
2434
|
r2.selectMovables(n2.getItems(), true), r2.selectMovables(t4, true), e3.preventDefault();
|
|
2435
2435
|
} else "ArrowLeft" === e3.key ? (l3 ? s3(i3, false) : o3 ? a3(-10) : d3({ x: t3 ? -10 : -1 }), e3.preventDefault()) : "ArrowRight" === e3.key ? (l3 ? s3(i3, true) : o3 ? a3(10) : d3({ x: t3 ? 10 : 1 }), e3.preventDefault()) : "ArrowUp" === e3.key ? (l3 ? s3(i3, true) : d3({ y: t3 ? -10 : -1 }), e3.preventDefault()) : "ArrowDown" === e3.key && (l3 ? s3(i3, false) : d3({ y: t3 ? 10 : 1 }), e3.preventDefault());
|
|
2436
2436
|
}, children: [ge2, xe2] }) }) });
|
|
2437
|
-
})),
|
|
2437
|
+
})), ho = (e2) => {
|
|
2438
2438
|
let t2 = Number.MAX_SAFE_INTEGER, o2 = Number.MAX_SAFE_INTEGER, n2 = 0, r2 = 0;
|
|
2439
2439
|
for (let l2 = 0; l2 < e2.length; l2++) {
|
|
2440
2440
|
const i2 = e2[l2].getBounds();
|
|
2441
2441
|
t2 = Math.min(i2.x, t2), o2 = Math.min(i2.y, o2), n2 = Math.max(i2.x + i2.width, n2), r2 = Math.max(i2.y + i2.height, r2);
|
|
2442
2442
|
}
|
|
2443
2443
|
return { x: t2, y: o2, width: n2 - t2, height: r2 - o2 };
|
|
2444
|
-
},
|
|
2444
|
+
}, mo = (e2, t2 = true) => {
|
|
2445
2445
|
const o2 = [], n2 = t2 ? "x" : "y", r2 = t2 ? "y" : "x", l2 = t2 ? "width" : "height";
|
|
2446
2446
|
let i2 = 0, a2 = Number.MAX_SAFE_INTEGER, s2 = 0;
|
|
2447
2447
|
for (let t3 = 0; t3 < e2.length; t3++) {
|
|
@@ -2461,7 +2461,7 @@ const Bt = (e2, t2, o2 = null) => {
|
|
|
2461
2461
|
}
|
|
2462
2462
|
return c2.set(o2[o2.length - 1].movable, o2[o2.length - 1].bounds), c2;
|
|
2463
2463
|
};
|
|
2464
|
-
function
|
|
2464
|
+
function po(e2) {
|
|
2465
2465
|
const { movables: t2, movablesView: o2, transactional: n2, commands: r2, target: l2, onRepeatCommandChange: i2 } = e2, a2 = F(), s2 = D();
|
|
2466
2466
|
ie(s2.getMode()).current = s2.getMode();
|
|
2467
2467
|
const d2 = S(async (e3, t3, o3 = null, n3 = true) => {
|
|
@@ -2537,35 +2537,35 @@ function mo(e2) {
|
|
|
2537
2537
|
}), new T("formatDrawAlignLeft", l2, { label: "Align Left", description: "Align the selected drawings to the left.", icon: "DrawAlignLeft" }, function() {
|
|
2538
2538
|
u2(this, (e3, t3) => {
|
|
2539
2539
|
e3.setBounds({ x: t3.x });
|
|
2540
|
-
},
|
|
2540
|
+
}, ho);
|
|
2541
2541
|
}), new T("formatDrawAlignCenter", l2, { label: "Align Center", description: "Align the selected drawings vertically relative to each other.", icon: "DrawAlignCenter" }, function() {
|
|
2542
2542
|
u2(this, (e3, t3) => {
|
|
2543
2543
|
e3.setBounds({ x: (t3.width - e3.getBounds().width) / 2 + t3.x });
|
|
2544
|
-
},
|
|
2544
|
+
}, ho);
|
|
2545
2545
|
}), new T("formatDrawAlignRight", l2, { label: "Align Right", description: "Align the selected drawings to the right.", icon: "DrawAlignRight" }, function() {
|
|
2546
2546
|
u2(this, (e3, t3) => {
|
|
2547
2547
|
e3.setBounds({ x: t3.width - e3.getBounds().width + t3.x });
|
|
2548
|
-
},
|
|
2548
|
+
}, ho);
|
|
2549
2549
|
}), new T("formatDrawAlignTop", l2, { label: "Align Top", description: "Align the selected drawings to the top.", icon: "DrawAlignTop" }, function() {
|
|
2550
2550
|
u2(this, (e3, t3) => {
|
|
2551
2551
|
e3.setBounds({ y: t3.y });
|
|
2552
|
-
},
|
|
2552
|
+
}, ho);
|
|
2553
2553
|
}), new T("formatDrawAlignMiddle", l2, { label: "Align Middle", description: "Align the selected drawings horizontally relative to each other.", icon: "DrawAlignMiddle" }, function() {
|
|
2554
2554
|
u2(this, (e3, t3) => {
|
|
2555
2555
|
e3.setBounds({ y: (t3.height - e3.getBounds().height) / 2 + t3.y });
|
|
2556
|
-
},
|
|
2556
|
+
}, ho);
|
|
2557
2557
|
}), new T("formatDrawAlignBottom", l2, { label: "Align Bottom", description: "Align the selected drawings to the bottom.", icon: "DrawAlignBottom" }, function() {
|
|
2558
2558
|
u2(this, (e3, t3) => {
|
|
2559
2559
|
e3.setBounds({ y: t3.height - e3.getBounds().height + t3.y });
|
|
2560
|
-
},
|
|
2560
|
+
}, ho);
|
|
2561
2561
|
}), new T("formatDrawDistributeHorz", l2, { label: "Distribute Horizontally", description: "Distribute the selected drawings horizontally with equal spacing between each.", icon: "DrawDistributeHorz" }, function() {
|
|
2562
2562
|
u2(this, (e3, t3) => {
|
|
2563
2563
|
e3.setBounds(t3.get(e3));
|
|
2564
|
-
}, (e3) =>
|
|
2564
|
+
}, (e3) => mo(e3));
|
|
2565
2565
|
}), new T("formatDrawDistributeVert", l2, { label: "Distribute Vertically", description: "Distribute the selected drawings vertically with equal spacing between each.", icon: "DrawDistributeVert" }, function() {
|
|
2566
2566
|
u2(this, (e3, t3) => {
|
|
2567
2567
|
e3.setBounds(t3.get(e3));
|
|
2568
|
-
}, (e3) =>
|
|
2568
|
+
}, (e3) => mo(e3, false));
|
|
2569
2569
|
}), new T("formatDrawFlipHorz", l2, { label: "Flip Horizontally", description: "Flip the selected drawings horizontally." }), new T("formatDrawFlipVert", l2, { label: "Flip Vertically", description: "Flip the selected drawings vertically." }), new T("formatDrawGroup", l2, { label: "Group", description: "Group the selected drawings into a single drawing.", icon: "DrawGroup" }), new T("formatDrawUngroup", l2, { label: "Ungroup", description: "Break the group of a drawing into individual drawings.", icon: "DrawUngroup" }), new T("formatDrawSwapShapes", l2, { label: "Swap Shapes", description: "Swap the positions of the swap." }), new T("formatDrawSwapShapesHorz", l2, { label: "Swap Shapes Horizontally", description: "Swap the positions of the swap horizontally." }), new T("formatDrawSwapShapesVert", l2, { label: "Swap Shapes Vertically", description: "Swap the positions of the swap vertically." })], [o2, h2]);
|
|
2570
2570
|
ae(() => {
|
|
2571
2571
|
}, [s2]);
|
|
@@ -2599,22 +2599,22 @@ function mo(e2) {
|
|
|
2599
2599
|
y2.getCommand("formatDrawDistributeHorz").update(d3), y2.getCommand("formatDrawDistributeVert").update(d3);
|
|
2600
2600
|
}, [c2, p2, c2]), y2;
|
|
2601
2601
|
}
|
|
2602
|
-
const
|
|
2602
|
+
const fo = oe(le((e2, t2) => {
|
|
2603
2603
|
const { children: o2, disabled: n2, description: r2, view: l2, isDragging: i2, onHide: a2, onShow: s2, ...d2 } = e2;
|
|
2604
2604
|
ae(() => {
|
|
2605
2605
|
}, [r2]);
|
|
2606
2606
|
const c2 = b(t2, () => ({ isEmptyFrame: () => true }), []), [g2, { height: u2, width: h2 }] = Me();
|
|
2607
2607
|
return Z("div", { ...d2, ref: Re([c2, g2]), children: Z("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: l2.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: Z("div", { style: { textAlign: "center" }, children: r2 }) }) });
|
|
2608
|
-
})),
|
|
2609
|
-
const { view: o2, sheet: n2, movableProps: r2, renderMovable: l2, commands: i2, target: a2, onRepeatCommandChange: s2 } = e2, d2 =
|
|
2608
|
+
})), wo = oe(le((e2, t2) => {
|
|
2609
|
+
const { view: o2, sheet: n2, movableProps: r2, renderMovable: l2, commands: i2, target: a2, onRepeatCommandChange: s2 } = e2, d2 = po({ movables: n2.getMovables(), movablesView: n2?.getView(), transactional: n2, onRepeatCommandChange: s2, commands: i2, target: a2 });
|
|
2610
2610
|
ae(() => {
|
|
2611
2611
|
o2?.getStage();
|
|
2612
2612
|
}, [o2?.getStage()]);
|
|
2613
|
-
const c2 = ne(() => Z(
|
|
2613
|
+
const c2 = ne(() => Z(uo, { ref: t2, view: o2, movables: n2.getMovables(), disableResize: !n2.getProtection().isObjectsAllowed(), disableDrag: !n2.getProtection().isObjectsAllowed(), movablesView: n2.getView(), transactional: n2, renderMovable: l2, ...r2, onFocus: () => {
|
|
2614
2614
|
d2.activate(), r2?.onFocus?.();
|
|
2615
2615
|
} }, "movable-area"), [n2, r2, i2, d2]);
|
|
2616
2616
|
return c2 && o2 ? c2 : null;
|
|
2617
|
-
})),
|
|
2617
|
+
})), vo = oe(le((e2, t2) => {
|
|
2618
2618
|
const { view: o2, sheet: n2, gridStyle: r2, getCellEditor: l2, showProtectedError: i2, setEditingCoords: a2, commands: d2 } = e2, c2 = D(), [g2, u2] = re(null), [h2, m2] = re(null), [p2, f2] = re(null), [v2, q2] = re(null), [y2, C2] = re(null);
|
|
2619
2619
|
se(() => {
|
|
2620
2620
|
if (null === p2) return q2(null), void C2(null);
|
|
@@ -2683,7 +2683,7 @@ const po = oe(le((e2, t2) => {
|
|
|
2683
2683
|
const e3 = c2.getMode(), t3 = e3?.key;
|
|
2684
2684
|
"edit" === t3 || "enter" === t3 ? h2 ? e3.args?.cancel ? z2() : e3.args?.submit ? A2() : m2(e3.args?.stateAndCoords) : M2(e3.args?.start) : p2 && z2();
|
|
2685
2685
|
}, [c2]), R2(o2, t2);
|
|
2686
|
-
})),
|
|
2686
|
+
})), qo = "white", yo = "black", Co = `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='${yo}' fill='${qo}'/%3E%3C/g%3E%3C/svg%3E%0A") 15 8, pointer`, bo = `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='${yo}' fill='${qo}'/%3E%3C/g%3E%3C/svg%3E%0A") 12 12, pointer`, So = oe(le((e2, t2) => {
|
|
2687
2687
|
const { view: o2, sheet: n2 } = e2, [r2, l2] = te.useState(n2.getTables().getCount() > 0), [i2, a2] = te.useState(null), [s2, d2] = te.useState(null), [c2, g2] = te.useState(null), [u2, h2] = te.useState(null), m2 = S(() => {
|
|
2688
2688
|
if (n2.getTables().getCount() > 0) {
|
|
2689
2689
|
l2(true);
|
|
@@ -2764,10 +2764,10 @@ const po = oe(le((e2, t2) => {
|
|
|
2764
2764
|
}
|
|
2765
2765
|
d3 || (d3 = "var(--sxl-app-color-shadow, rgba(0,0,0,.15))");
|
|
2766
2766
|
}
|
|
2767
|
-
C2.push(Z("div", { style: { position: "absolute", left: s3.x, top: s3.y, width: Math.min(16, s3.width), height: s3.height, pointerEvents: "all", cursor:
|
|
2767
|
+
C2.push(Z("div", { style: { position: "absolute", left: s3.x, top: s3.y, width: Math.min(16, s3.width), height: s3.height, pointerEvents: "all", cursor: Co }, onMouseDown: f2 }, `table-select-row-${t3.getName()}`)), C2.push(Z("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: bo }, onMouseDown: p2 }, `table-select-${t3.getName()}`)), C2.push(Z(ke, { x: s3.x, y: s3.y, width: s3.width, height: s3.height, range: a3, strokeWidth: l3 ? 0.5 : 0, stroke: d3 ?? "var(--sxl-app-color-grey, grey)", style: { willChange: "box-shadow", transition: "box-shadow 80ms ease-in-out", boxShadow: r3 ? `${d3} 0px 0px 1px 1px` : void 0 } }, `table-outline-${t3.getName()}`));
|
|
2768
2768
|
}
|
|
2769
2769
|
return C2;
|
|
2770
|
-
})),
|
|
2770
|
+
})), xo = oe(le((t2, o2) => {
|
|
2771
2771
|
const { view: n2, sheet: r2, animationTime: l2 = 60 } = t2, [i2, a2] = te.useState(null), [s2, d2] = te.useState(null), c2 = te.useRef(null), g2 = S(() => {
|
|
2772
2772
|
const e2 = r2.getSelectedCell(), t3 = e2.getSpill()?.getCoords() ?? null;
|
|
2773
2773
|
Q.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));
|
|
@@ -2791,11 +2791,11 @@ const po = oe(le((e2, t2) => {
|
|
|
2791
2791
|
if (s2 && !X.isEqualBounds(s2.bounds, n2.getRangeCoordsBounds(s2.coords)) && d2(null), p2 = n2.toClipBounds(p2, -10), !p2) return;
|
|
2792
2792
|
const f2 = "var(--sxl-app-color-primary-dark, rgba(0,0,0,.15))";
|
|
2793
2793
|
return m2.push(Z(ke, { 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 * l2}ms ease-in-out` : `left ${l2}ms ease-out, top ${l2}ms ease-out, width ${l2}ms ease-out, height ${l2}ms ease-out` : "none", boxShadow: `${f2} 0px 0px 4px 0px` } }, "spill-outline}")), m2;
|
|
2794
|
-
})),
|
|
2794
|
+
})), ko = { position: "absolute", top: 0, left: 0, bottom: 0, right: 0 }, To = (e2, t2) => {
|
|
2795
2795
|
const o2 = { ...e2 }, n2 = t2?.getNormal().getFont(), r2 = n2?.toCSS(), l2 = { text: { fontFamily: r2?.fontFamily, fontSize: n2?.getSize() } }, i2 = o2.body = X.mergeContentful(e2.body, l2);
|
|
2796
2796
|
return o2.body = X.mergeContentful({ fill: "#fff", strokeFill: "#dad8d6", strokeWidth: 0.5, text: { fontWeight: "400", fontStyle: "normal", fill: "#040404" } }, i2), o2.buttonSurface = X.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 = X.mergeContentful(o2.body, { edgeStrokeFill: "rgb(171, 171, 171)", fill: "#f0f0f0", strokeShadow: void 0, edgeStrokeWidth: 1 }, e2.header), o2.header = X.mergeContentful(o2.header, l2), o2.headerSelect = X.mergeContentful(o2.header, { fill: "rgba(16, 124, 65, 0.1)", text: { fill: o2.headerSelection.strokeFill, fontWeight: "700" } }, e2.headerSelect), o2.headerSelect = X.mergeContentful(o2.headerSelect, l2), o2.headerSelectAll = X.mergeContentful(o2.headerSelect, {}, e2.headerSelectAll), o2.headerSelectAll = X.mergeContentful(o2.headerSelectAll, l2), o2;
|
|
2797
|
-
},
|
|
2798
|
-
const { sheet: o2, gridStyle: n2 =
|
|
2797
|
+
}, Ro = { fireOnModelChange: false }, Mo = {}, Ao = oe(le((e2, t2) => {
|
|
2798
|
+
const { sheet: o2, gridStyle: n2 = Mo, headersStyle: r2 = Mo, onSheetContextMenu: l2, showColumnHeaders: s2, columnHeaderProps: c2, showRowHeaders: g2, rowHeaderProps: u2, showScrollbars: h2 = true, scrollPaneProps: p2, onViewportChange: f2, commands: w2, onRepeatCommandChange: v2, onMoveCell: q2, overlays: y2, renderMovable: k2, viewportComponent: T2, onElementLoad: R2, getCellEditor: M2, onFocus: A2, onBlur: z2, style: I2 = C.EmptyCssProperties, onShowTooltip: N2, onShowColumnTooltip: H2, onShowRowTooltip: P2, onCloseTooltip: L2, gridProps: B2, cellRenderProps: $2, ...W2 } = e2;
|
|
2799
2799
|
if (te.useEffect(() => {
|
|
2800
2800
|
d._validate(true);
|
|
2801
2801
|
}, []), !o2) throw new Error("ISheet must be provided.");
|
|
@@ -2803,7 +2803,7 @@ const po = oe(le((e2, t2) => {
|
|
|
2803
2803
|
se(() => {
|
|
2804
2804
|
he2.current = true;
|
|
2805
2805
|
}, [o2]);
|
|
2806
|
-
const pe2 = o2?.getStyles(), fe2 = ne(() =>
|
|
2806
|
+
const pe2 = o2?.getStyles(), fe2 = ne(() => To(n2, pe2), [n2, pe2]), we2 = ne(() => To(r2, pe2), [r2, pe2]), { body: ve2 = {}, buttonSurface: qe2 = {} } = fe2, { header: Ce2 = {}, headerSelect: be2 = {}, headerSelectAll: Se2 = {} } = we2, xe2 = ie(null), [ke2, Re2] = re(() => o2?.getView()), ze2 = (ke2?.getZoomScale() ?? 100) / 100, Fe2 = ne(() => ({ vertical: ke2.isShowColumnGridlines() && ze2 >= 0.4, horizontal: ke2.isShowRowGridlines() && ze2 >= 0.4 }), [ke2?.isShowColumnGridlines(), ke2?.isShowRowGridlines(), ze2]), De2 = ne(() => {
|
|
2807
2807
|
if (ke2?.getGridLineColor()) return { strokeDasharray: "1,1" };
|
|
2808
2808
|
}, [ke2?.getGridLineColor(), fe2]), Ie2 = s2 ?? ke2?.isShowColumnHeaders(), Ee2 = g2 ?? ke2?.isShowRowHeaders(), [Ne2, He2] = re({ width: 0, height: 0 }), Pe2 = ne(() => {
|
|
2809
2809
|
let e3 = 40, t3 = 20;
|
|
@@ -2846,9 +2846,9 @@ const po = oe(le((e2, t2) => {
|
|
|
2846
2846
|
}, [Mt2, Tt2]), zt2 = ne(() => {
|
|
2847
2847
|
const e3 = gt2.getMode();
|
|
2848
2848
|
return e3?.cursor ? e3.cursor : null;
|
|
2849
|
-
}, [kt2, gt2]), [Ft2, Dt2] = re(null), It2 = ie(false), [Et2, Nt2] = re([]), Ht2 = ie(null), [Pt2,
|
|
2849
|
+
}, [kt2, gt2]), [Ft2, Dt2] = re(null), It2 = ie(false), [Et2, Nt2] = re([]), Ht2 = ie(null), [Pt2, Lt2] = re(J.EmptyTopLeft), [Ot2, Ut2] = re(J.EmptyTopLeft);
|
|
2850
2850
|
ae(() => {
|
|
2851
|
-
|
|
2851
|
+
Lt2({ left: lt2?.left, top: 0 });
|
|
2852
2852
|
}, [lt2?.left]), ae(() => {
|
|
2853
2853
|
Ut2({ left: 0, top: lt2?.top });
|
|
2854
2854
|
}, [lt2?.top]), St(o2?.getView(), { onFreezeSplitChange: () => {
|
|
@@ -2873,7 +2873,7 @@ const po = oe(le((e2, t2) => {
|
|
|
2873
2873
|
if (!t3) return;
|
|
2874
2874
|
const o3 = { colIndex: t3?.coords?.colStart, rowIndex: t3?.coords?.rowStart };
|
|
2875
2875
|
return await xe2.current?.scrollCellCoordsIntoView(o3, t3?.scroll), true;
|
|
2876
|
-
}, onRequestFocus: () => X.whenFocus(jt2.current) },
|
|
2876
|
+
}, onRequestFocus: () => X.whenFocus(jt2.current) }, Ro);
|
|
2877
2877
|
const _t2 = ie(false), Gt2 = ne(() => {
|
|
2878
2878
|
const e3 = X.debounce((e4) => {
|
|
2879
2879
|
requestAnimationFrame(() => {
|
|
@@ -2963,12 +2963,12 @@ const po = oe(le((e2, t2) => {
|
|
|
2963
2963
|
ae(() => {
|
|
2964
2964
|
Kt2();
|
|
2965
2965
|
}, [fe2]);
|
|
2966
|
-
const Xt2 = ft2 ? Se2.edgeStrokeFill : Ce2.fill,
|
|
2966
|
+
const Xt2 = ft2 ? Se2.edgeStrokeFill : Ce2.fill, Yt2 = ft2 ? be2.fill : "function" == typeof fe2.headerHover ? fe2.headerHover(Ce2)?.fill : Ce2.fill, Qt2 = ne(() => T2 ? Z("div", { className: Ae("sheetxl-viewport-overlay", yt), style: { width: "100%", height: "100%", boxSizing: "border-box", position: "absolute" }, children: T2 }) : Z(K, {}), [T2]);
|
|
2967
2967
|
let eo2 = null;
|
|
2968
2968
|
Ie2 && Ee2 && (eo2 = j("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) => {
|
|
2969
2969
|
let t3 = !e3.ctrlKey;
|
|
2970
2970
|
pt2?.getCommand("selectAll")?.execute(!t3 || 0 !== e3.button), e3.nativeEvent.which === V.Right ? l2?.({ originalEvent: e3, clientX: e3.clientX, clientY: e3.clientY, rowIndex: -1, colIndex: -1 }) : xe2.current?.focus();
|
|
2971
|
-
}, children: [Z("div", { style: { height: Le2 - 5 + "px", width: Le2 - 5 + "px", clipPath: `path('M${Le2 - 5} 0 L0 ${Le2 - 5} L${Le2 - 5} ${Le2 - 5} L${Le2 - 5} 0 Z')`, borderRight: `2px solid ${Xt2}`, borderBottom: `2px solid ${Xt2}`, background: `${
|
|
2971
|
+
}, children: [Z("div", { style: { height: Le2 - 5 + "px", width: Le2 - 5 + "px", clipPath: `path('M${Le2 - 5} 0 L0 ${Le2 - 5} L${Le2 - 5} ${Le2 - 5} L${Le2 - 5} 0 Z')`, borderRight: `2px solid ${Xt2}`, borderBottom: `2px solid ${Xt2}`, background: `${Yt2}`, boxSizing: "border-box", position: "absolute", right: "2px", bottom: "2px" } }), Z("div", { style: { position: "absolute", height: `${Le2}px`, width: `${Ve2}px`, boxSizing: "border-box", borderRight: `solid 1px ${Ce2.strokeFill}`, borderBottom: `solid 1px ${Ce2.strokeFill}`, right: "-1px", bottom: "-1px" } })] }));
|
|
2972
2972
|
const to2 = S(({ _left: e3, _top: t3 }) => {
|
|
2973
2973
|
}, []), oo2 = S((e3) => {
|
|
2974
2974
|
if (!l2) return;
|
|
@@ -2984,7 +2984,7 @@ const po = oe(le((e2, t2) => {
|
|
|
2984
2984
|
const e3 = o2?.getView().getTopLeft();
|
|
2985
2985
|
to2(e3), xe2.current?.scrollTo(e3), it2(e3), Re2(o2.getView()), ct2(st2(o2.getView().getFreezePanes())), Ge2(Ue2()), _2();
|
|
2986
2986
|
}, [o2?.getView()]);
|
|
2987
|
-
const ro2 = de((e3, t3) => o2.getRowHeaders().hiddenHeadersAt(e3, t3), [o2]),
|
|
2987
|
+
const ro2 = de((e3, t3) => o2.getRowHeaders().hiddenHeadersAt(e3, t3), [o2]), lo2 = de((e3, t3) => o2.getColumnHeaders().hiddenHeadersAt(e3, t3), [o2]), ao2 = S((e3) => {
|
|
2988
2988
|
const t3 = e3.getVisibleRangeCoords();
|
|
2989
2989
|
if (!t3) return null;
|
|
2990
2990
|
const n3 = [];
|
|
@@ -3013,7 +3013,7 @@ const po = oe(le((e2, t2) => {
|
|
|
3013
3013
|
}, [gt2]), uo2 = S(async (e3) => {
|
|
3014
3014
|
const t3 = gt2.getMode();
|
|
3015
3015
|
return e3.keyCode === x.Escape && t3 ? (e3.preventDefault(), void gt2.setMode(null)) : e3.keyCode === x.Enter && go2 ? (e3.preventDefault(), await pt2?.getCommand("paste")?.execute(), void gt2.setMode(null)) : void pt2?.dispatchToFocusedCommand(e3);
|
|
3016
|
-
}, [pt2, gt2]), ho2 = ie(null), mo2 = ne(() => Z("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${Le2 + 1}px`, width: `${Ve2 + Ce2.edgeStrokeWidth}px`, minWidth: `${Ve2 + Ce2.edgeStrokeWidth}px`, borderRight: `solid ${Ce2.edgeStrokeWidth}px ${Ce2.edgeStrokeFill}`, height: `calc(100% - ${Le2}px)`, boxSizing: "border-box", zIndex: "2" }, children: Z(
|
|
3016
|
+
}, [pt2, gt2]), ho2 = ie(null), mo2 = ne(() => Z("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${Le2 + 1}px`, width: `${Ve2 + Ce2.edgeStrokeWidth}px`, minWidth: `${Ve2 + Ce2.edgeStrokeWidth}px`, borderRight: `solid ${Ce2.edgeStrokeWidth}px ${Ce2.edgeStrokeFill}`, height: `calc(100% - ${Le2}px)`, boxSizing: "border-box", zIndex: "2" }, children: Z($t, { ref: ho2, sheetElement: jt2.current, gridRef: xe2, freezeStart: dt2?.[Y.Top], oppositeSize: Ve2, containerWidth: Ve2, containerHeight: Oe2, sheetHeader: o2.getRowHeaders(), gridStyle: we2, verticalPadding: Math.max(0, Math.floor(o2.getStyles().getNormal().getFont().getSize() / 10)), scrollPoint: Ot2, onSheetContextMenu: l2, tabIndex: -1, style: { position: "relative", flex: "0", top: `${Le2 + 1}px`, width: `${Ve2 + Ce2.edgeStrokeWidth}px`, minWidth: `${Ve2 + Ce2.edgeStrokeWidth}px`, borderRight: `solid ${Ce2.edgeStrokeWidth}px ${Ce2.edgeStrokeFill}`, height: `calc(100% - ${Le2}px)`, boxSizing: "border-box", zIndex: "2", ...Zt2?.style }, ...Zt2 }) }), [Ve2, Le2, Oe2, o2, Ot2, dt2?.[Y.Top], fe2, Ye2, l2, Ce2.fill, u2]), po2 = ie(null), fo2 = ne(() => Z("div", { tabIndex: -1, style: { position: "relative", left: "0px", width: "100%", height: `${Le2 + Ce2.edgeStrokeWidth}px`, minHeight: `${Le2 + Ce2.edgeStrokeWidth}px`, borderBottom: `solid ${Ce2.edgeStrokeWidth}px ${Ce2.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" }, children: Z($t, { ref: po2, sheetElement: jt2.current, gridRef: xe2, freezeStart: dt2?.[Y.Left], oppositeSize: Le2, containerWidth: Be2, containerHeight: Le2, sheetHeader: o2.getColumnHeaders(), gridStyle: we2, scrollPoint: Pt2, onSheetContextMenu: l2, ...Gt2, style: { ...Gt2?.style, position: "relative", left: "0px", width: "100%", height: `${Le2 + Ce2.edgeStrokeWidth}px`, minHeight: `${Le2 + Ce2.edgeStrokeWidth}px`, borderBottom: `solid ${Ce2.edgeStrokeWidth}px ${Ce2.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" } }) }), [Le2, Be2, o2, Pt2, dt2?.[Y.Left], fe2, Ce2.fill, Ye2, l2, c2]), qo2 = S((e3) => {
|
|
3017
3017
|
const { value: t3, key: n3, ...r3 } = e3;
|
|
3018
3018
|
let l3 = t3, i2 = Ke2;
|
|
3019
3019
|
if (!i2 || i2.colIndex === e3.coords.colIndex && i2.rowIndex === e3.coords.rowIndex || (i2 = null), !l3) {
|
|
@@ -3035,19 +3035,19 @@ const po = oe(le((e2, t2) => {
|
|
|
3035
3035
|
return me(ot, { ...r3, key: n3, bodyStyle: ve2, docTheme: s3.getTheme(), normalStyle: s3.getNormal(), showFormulas: ke2.isShowFormulas(), showZeros: ke2.isShowZeros(), onLinkMouseDown: a2, ...$2, value: l3 });
|
|
3036
3036
|
}, [o2, _e2, ve2, Ke2, ke2?.isShowFormulas(), ke2.isShowZeros()]), yo2 = de((e3, t3) => {
|
|
3037
3037
|
const { key: n3, ...r3 } = e3;
|
|
3038
|
-
return [Z(
|
|
3038
|
+
return [Z(Wt, { ref: t3, getVisibleCells: ao2, sheet: o2, gridStyle: fe2, ...r3 }, `border-${n3}`), Z(So, { ref: t3, sheet: o2, commands: pt2, ...r3 }, `table-${n3}`), Z(xo, { ref: t3, sheet: o2, ...r3 }, `spill-${n3}`), Z(io, { ref: t3, sheet: o2, commands: pt2, onShowTooltip: le2, onCloseTooltip: ue2, gridStyle: fe2, gridRef: xe2, editingCoords: Ke2, isActive: Ye2, ...r3 }, `selection-${n3}`), Z(Jt, { ref: t3, sheet: o2, commands: pt2, gridStyle: fe2, element: Qe2, ...r3 }, `copy-paste-${n3}`), Z(wo, { ref: t3, sheet: o2, commands: pt2, target: ut2, renderMovable: k2, movableProps: { onUnFocus: () => {
|
|
3039
3039
|
jt2.current.focus();
|
|
3040
|
-
} }, ...r3 }, `movable-${n3}`), Z(
|
|
3041
|
-
}, [o2, xe2.current, fe2, M2, pt2, Mt2]), [Co2,
|
|
3040
|
+
} }, ...r3 }, `movable-${n3}`), Z(vo, { ref: t3, sheet: o2, commands: pt2, gridStyle: fe2, getCellEditor: M2, showProtectedError: At2, setEditingCoords: Xe2, ...r3 }, `editor-${n3}`)];
|
|
3041
|
+
}, [o2, xe2.current, fe2, M2, pt2, Mt2]), [Co2, bo2] = re(false), Ao2 = ne(() => {
|
|
3042
3042
|
if (0 === Be2 || 0 === Oe2) return null;
|
|
3043
3043
|
const e3 = o2.getStyles().getNormal(), t3 = e3.getFont(), n3 = e3.getFill(), r3 = e3.getBorder(), l3 = e3.getFill().getType() === m.Type.None;
|
|
3044
3044
|
let i2 = De2, a2 = De2;
|
|
3045
3045
|
const s3 = (e4, t4, o3) => o3 ? { stroke: r3.getBottom().isNone() ? "none" : e4.getColor().toRGBA(ve2.darkMode).toString(), ...t4 } : t4;
|
|
3046
3046
|
a2 = s3(r3.getBottom(), a2, !r3.getBottom().isNone()), a2 = s3(r3.getTop(), a2, !r3.getTop().isNone()), i2 = s3(r3.getRight(), i2, !r3.getRight().isNone()), i2 = s3(r3.getLeft(), i2, !r3.getLeft().isNone());
|
|
3047
3047
|
let d2 = ke2?.getGridLineColor()?.toRGBA(ve2.darkMode).toString() ?? ve2.strokeFill;
|
|
3048
|
-
return l3 || (a2 = s3(r3.getBottom(), a2, true), a2 = s3(r3.getTop(), a2, true), i2 = s3(r3.getRight(), i2, true), i2 = s3(r3.getLeft(), i2, true)), Z(ye, { className: "sheetxl-sheet-primary", style: { ...
|
|
3049
|
-
|
|
3050
|
-
}, showGridLines: Fe2, gridLineColor: d2, gridLineColumnsProps: i2, gridLineRowsProps: a2, freezeLeft: dt2?.[Y.Left], freezeLeftProps: so2, freezeTop: dt2?.[Y.Top], freezeTopProps: so2, width: Be2, height: Oe2, columnCount: Ne2.width, rowCount: Ne2.height, cursor: zt2 ?? kt2 ?? "cell", clipCells: true, layout: _e2, cellRenderer: qo2, overlayRenderer: yo2, getCellCoordsAsRangeCoords: at2, hiddenRowsAt: ro2, hiddenColumnsAt:
|
|
3048
|
+
return l3 || (a2 = s3(r3.getBottom(), a2, true), a2 = s3(r3.getTop(), a2, true), i2 = s3(r3.getRight(), i2, true), i2 = s3(r3.getLeft(), i2, true)), Z(ye, { className: "sheetxl-sheet-primary", style: { ...ko, ...n3.toCSS(ve2.darkMode), ...t3.toCSS(ve2.darkMode, ze2), "--sxl-app-color-background": ve2.fill, "--sxl-app-color-shadow": fe2.colorShadow, "--sxl-app-color-grey": fe2.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": fe2.selection.strokeFill }, ref: xe2, zoom: ze2, ...B2, onFirstRender: (e4) => {
|
|
3049
|
+
bo2(true), B2?.onFirstRender?.(e4), pt2?.activate();
|
|
3050
|
+
}, showGridLines: Fe2, gridLineColor: d2, gridLineColumnsProps: i2, gridLineRowsProps: a2, freezeLeft: dt2?.[Y.Left], freezeLeftProps: so2, freezeTop: dt2?.[Y.Top], freezeTopProps: so2, width: Be2, height: Oe2, columnCount: Ne2.width, rowCount: Ne2.height, cursor: zt2 ?? kt2 ?? "cell", clipCells: true, layout: _e2, cellRenderer: qo2, overlayRenderer: yo2, getCellCoordsAsRangeCoords: at2, hiddenRowsAt: ro2, hiddenColumnsAt: lo2, getVisibleCells: ao2, onWheelScroll: no2, onPointerDown: co2, onKeyDown: uo2, onViewportChange: nt2, onImmediateScroll: to2, scrollPoint: lt2, stageProps: { onFocus: () => {
|
|
3051
3051
|
pt2?.activate();
|
|
3052
3052
|
} }, overlays: Et2 });
|
|
3053
3053
|
}, [U2]);
|
|
@@ -3059,61 +3059,60 @@ const po = oe(le((e2, t2) => {
|
|
|
3059
3059
|
const Fo2 = ne(() => {
|
|
3060
3060
|
const e3 = o2.getStyles().getTheme(), t3 = e3.getColorScheme(), n3 = e3.getFontScheme();
|
|
3061
3061
|
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() };
|
|
3062
|
-
}, [o2.getStyles().getTheme()])
|
|
3063
|
-
|
|
3064
|
-
|
|
3062
|
+
}, [o2.getStyles().getTheme()]), Do2 = S((e3) => {
|
|
3063
|
+
const { style: t3, ...n3 } = e3;
|
|
3064
|
+
return Z(Bt, { ...n3, style: { paddingLeft: "4px", paddingRight: "4px", ...t3 }, sheet: o2 });
|
|
3065
|
+
}, [o2]);
|
|
3066
|
+
let Io2 = Z("div", { style: zo2, onTouchStart: () => {
|
|
3067
|
+
Ho2();
|
|
3065
3068
|
}, onFocus: (e3) => {
|
|
3066
3069
|
je2(true), A2?.(e3);
|
|
3067
3070
|
}, onBlur: (e3) => {
|
|
3068
3071
|
je2(false), z2?.(e3);
|
|
3069
|
-
}, ref: jt2, ...W2, children: Z("div", { className: Ae("sheetxl-sheet", qt), style: { position: "absolute", width: "100%", height: "100%", boxSizing: "border-box", display: "flex", flexDirection: "column", flex: "1 1 100%", zIndex: "0", ...Fo2 }, children: j("div", { style: { display: "flex", flexDirection: "row", flex: "1 1 100%" }, children: [eo2, mo2, j("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden", position: "relative" }, children: [
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
xe2.current?.scrollTo(e4);
|
|
3074
|
-
}, createHorizontalScrollbar: e3, createVerticalScrollbar: e3, ...p2, children: Do2 });
|
|
3075
|
-
}
|
|
3076
|
-
ae(() => {
|
|
3072
|
+
}, ref: jt2, ...W2, children: Z("div", { className: Ae("sheetxl-sheet", qt), style: { position: "absolute", width: "100%", height: "100%", boxSizing: "border-box", display: "flex", flexDirection: "column", flex: "1 1 100%", zIndex: "0", ...Fo2 }, children: j("div", { style: { display: "flex", flexDirection: "row", flex: "1 1 100%" }, children: [eo2, mo2, j("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden", position: "relative" }, children: [fo2, j("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", position: "relative", borderRight: `solid ${Ce2.edgeStrokeWidth}px ${Ce2.edgeStrokeFill}`, backgroundColor: ve2.fill }, ref: G2, onContextMenu: oo2, children: [Ao2, Qt2, Z(bt, { style: { position: "absolute", right: 24, bottom: 4 }, colorLicensee: fe2?.selection?.strokeFill, colorCredits: fe2?.body?.text?.fill })] })] })] }) }) });
|
|
3073
|
+
h2 && (Io2 = Z(O, { style: { flex: "1 1 100%", overflow: "hidden", background: `${Ce2.fill}`, minHeight: 2 * Pe2.height, minWidth: 2 * Pe2.width, ...I2 }, viewport: et2, touchElement: xe2.current?.stage, disableTouch: xt2, onScrollViewport: (e3) => {
|
|
3074
|
+
xe2.current?.scrollTo(e3);
|
|
3075
|
+
}, createHorizontalScrollbar: Do2, createVerticalScrollbar: Do2, ...p2, children: Io2 })), ae(() => {
|
|
3077
3076
|
he2.current = false, _2?.(), Ze2 && jt2.current?.focus();
|
|
3078
3077
|
}, [o2]);
|
|
3079
|
-
const [
|
|
3080
|
-
|
|
3081
|
-
}, [
|
|
3078
|
+
const [Eo2, No2] = re(false), Ho2 = S(() => {
|
|
3079
|
+
Eo2 || No2(true);
|
|
3080
|
+
}, [Eo2]);
|
|
3082
3081
|
return ae(() => {
|
|
3083
|
-
if (Co2) return "function" == typeof R2 && R2(), "touch" === C.detectIt().primaryInput &&
|
|
3082
|
+
if (Co2) return "function" == typeof R2 && R2(), "touch" === C.detectIt().primaryInput && Ho2(), () => {
|
|
3084
3083
|
};
|
|
3085
|
-
}, [R2, Co2,
|
|
3084
|
+
}, [R2, Co2, Eo2]), Io2;
|
|
3086
3085
|
}));
|
|
3087
|
-
|
|
3088
|
-
const
|
|
3086
|
+
Ao.displayName = "SheetElement";
|
|
3087
|
+
const zo = Object.freeze(Object.defineProperty({ __proto__: null }, Symbol.toStringTag, { value: "Module" })), Fo = "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=", Do = oe(le((e2, t2) => {
|
|
3089
3088
|
const { children: o2, disabled: n2, style: r2, picture: l2, description: i2, isDragging: a2, view: s2, onHide: d2, onShow: c2, onKeyDownCapture: g2, onFocus: u2, onBlur: h2, loadingPanel: m2, ...p2 } = e2, [f2, w2] = re(false), [v2, q2] = re(null), [y2, C2] = re(null), [S2, x2] = re(null);
|
|
3090
3089
|
ae(() => {
|
|
3091
3090
|
C2(null), l2.getDetails().then((e3) => {
|
|
3092
3091
|
w2(false), C2(e3.asUrl()), e3.asSVGText?.() && x2(e3.asSVGText());
|
|
3093
3092
|
}).catch((e3) => {
|
|
3094
|
-
console.warn(e3), w2(true), C2(
|
|
3093
|
+
console.warn(e3), w2(true), C2(Fo), x2(null);
|
|
3095
3094
|
});
|
|
3096
3095
|
}, [l2]);
|
|
3097
3096
|
const k2 = b(t2, () => ({ isPictureEditor: () => true }), []), T2 = ne(() => {
|
|
3098
3097
|
if (y2 || S2) return Z("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: () => {
|
|
3099
3098
|
q2(true);
|
|
3100
3099
|
}, onError: ({ currentTarget: e3 }) => {
|
|
3101
|
-
console.log("error"), e3.onerror = null, C2(
|
|
3100
|
+
console.log("error"), e3.onerror = null, C2(Fo), w2(true);
|
|
3102
3101
|
}, alt: i2 ?? `${l2.getType()}` });
|
|
3103
3102
|
}, [v2, l2, y2, S2, a2]);
|
|
3104
3103
|
if (!l2.isClosed()) return j("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, ...r2, width: "100%", height: "100%" }, tabIndex: 0, ...p2, onKeyDownCapture: (e3) => {
|
|
3105
3104
|
g2?.(e3);
|
|
3106
3105
|
}, ref: k2, children: [v2 || f2 ? void 0 : m2, T2] });
|
|
3107
3106
|
}));
|
|
3108
|
-
|
|
3109
|
-
const
|
|
3107
|
+
Do.displayName = "PictureEditor";
|
|
3108
|
+
const Io = oe(le((e2, t2) => {
|
|
3110
3109
|
const { children: o2, disabled: n2, chart: r2, view: l2, isDragging: i2, onHide: a2, onShow: s2, ...d2 } = e2;
|
|
3111
3110
|
ae(() => {
|
|
3112
3111
|
}, [r2]);
|
|
3113
3112
|
const c2 = b(t2, () => ({ isChartEditor: () => true }), []), [g2, { height: u2, width: h2 }] = Me();
|
|
3114
3113
|
if (!r2.isClosed()) return Z("div", { ...d2, ref: Re([c2, g2]), children: Z("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: l2.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: Z("div", { style: { textAlign: "center" }, children: r2.getDescription() }) }) });
|
|
3115
|
-
})),
|
|
3116
|
-
const { style: o2 = {}, className: n2, value: r2 = "", onSubmit: l2, onChange: i2, onCancel: a2, createInput: s2 =
|
|
3114
|
+
})), Eo = "_editable-input_1bqx6_6", No = (e2) => Z("input", { ...e2 }), Ho = oe(le((e2, t2) => {
|
|
3115
|
+
const { style: o2 = {}, className: n2, value: r2 = "", onSubmit: l2, onChange: i2, onCancel: a2, createInput: s2 = No, styleHover: d2 = {}, dragging: c2, maxLength: g2, disabled: u2 = false, readOnly: h2 = false, ...m2 } = e2, [p2, f2] = re(false), [w2, v2] = re(false), [q2, y2] = re(r2);
|
|
3117
3116
|
ae(() => {
|
|
3118
3117
|
y2(r2);
|
|
3119
3118
|
}, [r2]);
|
|
@@ -3134,7 +3133,7 @@ const Do = oe(le((e2, t2) => {
|
|
|
3134
3133
|
y2(r2), C2.current = null, v2(false), a2?.();
|
|
3135
3134
|
}, [a2, r2]), z2 = ne(() => {
|
|
3136
3135
|
if (!w2) return null;
|
|
3137
|
-
const e3 = { className: Ae(
|
|
3136
|
+
const e3 = { className: Ae(Eo), autoFocus: true, spellCheck: false, name: "editable-label", autoComplete: "off", maxLength: g2, type: "text", value: q2, onFocus: (e4) => {
|
|
3138
3137
|
C2.current || (C2.current = e4.target, setTimeout(() => {
|
|
3139
3138
|
e4.target?.select();
|
|
3140
3139
|
}, 0));
|
|
@@ -3159,25 +3158,25 @@ const Do = oe(le((e2, t2) => {
|
|
|
3159
3158
|
return j("div", { ...m2, ref: N2, style: { flexDirection: "column", display: "flex", ...D2 }, className: Ae(n2), children: [j("div", { style: { position: "relative", boxSizing: "content-box", whiteSpace: "pre", userSelect: "none", display: "flex", justifyContent: "center" }, onDoubleClick: () => {
|
|
3160
3159
|
u2 || h2 || v2(true);
|
|
3161
3160
|
}, onMouseEnter: () => f2(true), onMouseLeave: () => f2(false), children: [Z("div", { className: "editable-label-container", style: { textAlign: "center", display: "flex", minHeight: "1em", marginTop: "2px", opacity: w2 ? 0 : 1 }, children: q2 }), z2] }), Z("div", { style: { whiteSpace: "pre", position: "relative", maxHeight: "0px", height: "0px", visibility: "hidden", marginLeft: "1px", marginRight: "1px", overflow: "hidden", ...d2 }, children: q2 })] });
|
|
3162
|
-
})),
|
|
3161
|
+
})), Po = oe(le((e2, t2) => {
|
|
3163
3162
|
const { children: o2, style: n2, className: r2, index: l2, editing: i2, editable: a2, selectedIndex: s2, background: d2, activeColor: c2, borderColor: g2, borderWidth: u2, dragging: h2, ...m2 } = e2;
|
|
3164
3163
|
return j("div", { ref: t2, className: Ae(r2), style: { ...n2, display: "flex", flexDirection: "column", background: s2 === l2 ? "white" : d2, minHeight: "0px", fontFamily: "inherit", fontSize: "16px", fontWeight: s2 === l2 ? "700" : "400", lineHeight: "1", letterSpacing: "0px", textTransform: "none", minWidth: "unset" }, ...m2, children: [j("div", { style: { flex: "1 1 100%", display: "flex", flexDirection: "row" }, children: [Z("div", { style: { marginLeft: s2 === l2 ? "0px" : "-1px", marginTop: s2 === l2 ? "0px" : "4px", marginBottom: "0px", background: "grey", minWidth: "1px" } }), o2, s2 === l2 ? Z("div", { style: { marginLeft: "0px", marginTop: "0px", marginBottom: "0px", background: "grey", minWidth: "1px" } }) : Z(K, {})] }), Z("div", { style: { flex: "1 1 100%", background: s2 === l2 && c2 ? c2?.toCSS() : "none", minHeight: "2px" } })] });
|
|
3165
|
-
})),
|
|
3164
|
+
})), Vo = { 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" }, Lo = te.memo(te.forwardRef(({ color: e2, dragOverlay: t2, dragging: o2, disabled: n2, fadeIn: r2, handle: l2, height: i2, index: a2, listeners: s2, onRemove: d2, renderItem: c2, sorting: g2, style: u2, transition: h2, transform: m2, value: p2, wrapperStyle: f2, ...w2 }, v2) => {
|
|
3166
3165
|
ae(() => {
|
|
3167
3166
|
if (t2) return document.body.style.cursor = "grabbing", () => {
|
|
3168
3167
|
document.body.style.cursor = "";
|
|
3169
3168
|
};
|
|
3170
3169
|
}, [t2]);
|
|
3171
3170
|
const q2 = c2 ? c2({ dragOverlay: Boolean(t2), dragging: Boolean(o2), sorting: Boolean(g2), index: a2, fadeIn: Boolean(r2), listeners: s2, ref: v2, style: u2, transform: m2, transition: h2, value: p2 }) : Z(K, { children: p2 });
|
|
3172
|
-
return Z("div", { className: Ae("tab-item",
|
|
3173
|
-
})),
|
|
3174
|
-
const { className: o2, activationConstraint: n2, animateLayoutChanges: r2, adjustScale: l2 = false, collisionDetection: i2 = Be, coordinateGetter: a2 = Ie, dropAnimation: s2 =
|
|
3171
|
+
return Z("div", { className: Ae("tab-item", Vo.Wrapper, r2 && Vo.fadeIn, g2 && Vo.sorting, t2 && Vo.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: Z("div", { className: Ae(Vo.Item, o2 && Vo.dragging, l2 && Vo.withHandle, t2 && Vo.dragOverlay, n2 && Vo.disabled, e2 && Vo.color, "dragging"), style: u2, "data-cypress": "draggable-item", ...l2 ? void 0 : s2, ...w2, tabIndex: l2 ? void 0 : -1, children: q2 }) });
|
|
3172
|
+
})), Bo = { Row: "_Row_1kr10_1" }, Oo = oe(le(({ children: e2, horizontal: t2, style: o2 }, n2) => Z("div", { ref: n2, style: { ...o2 }, className: Ae(Bo.Row, t2 && Bo.horizontal), children: e2 }))), $o = { ...Oe }, Wo = oe(le((e2, t2) => {
|
|
3173
|
+
const { className: o2, activationConstraint: n2, animateLayoutChanges: r2, adjustScale: l2 = false, collisionDetection: i2 = Be, coordinateGetter: a2 = Ie, dropAnimation: s2 = $o, getItemStyles: d2 = () => ({}), getNewIndex: c2, handle: g2 = false, items: u2, onMove: h2, isDisabled: m2 = () => false, measuring: p2, modifiers: f2, renderItem: w2, renderDivider: v2, reorderItems: q2 = Ee, strategy: y2 = Ne, style: C2, useDragOverlay: b2 = true, onDragStart: S2, wrapperStyle: x2 = () => ({}) } = e2, [k2, T2] = re(() => u2);
|
|
3175
3174
|
ae(() => {
|
|
3176
3175
|
T2(u2);
|
|
3177
3176
|
}, [u2]);
|
|
3178
3177
|
const [R2, M2] = re(null), A2 = $e(We(Ue, { activationConstraint: n2 }), We(_e, { activationConstraint: n2 }), We(Ge, { scrollBehavior: "Cypress" in window ? "auto" : void 0, coordinateGetter: a2 })), z2 = k2.indexOf.bind(k2), F2 = R2 ? z2(R2) : -1, D2 = [];
|
|
3179
3178
|
k2.map((e3, t3) => {
|
|
3180
|
-
D2.push(Z(
|
|
3179
|
+
D2.push(Z(Uo, { id: e3, handle: g2, index: t3, style: d2, wrapperStyle: x2, disabled: m2(e3), renderItem: w2, animateLayoutChanges: r2, useDragOverlay: b2, getNewIndex: c2 }, e3 + "-" + t3));
|
|
3181
3180
|
const o3 = v2?.({ key: "divider-" + t3 });
|
|
3182
3181
|
o3 && D2.push(o3);
|
|
3183
3182
|
});
|
|
@@ -3192,14 +3191,14 @@ const Do = oe(le((e2, t2) => {
|
|
|
3192
3191
|
}
|
|
3193
3192
|
}, onDragCancel: () => {
|
|
3194
3193
|
M2(null);
|
|
3195
|
-
}, measuring: p2, modifiers: f2, children: [Z("div", { style: { display: "flex", justifyContent: "flex-start", boxSizing: "border-box", ...C2 }, className: Ae(o2,
|
|
3194
|
+
}, measuring: p2, modifiers: f2, children: [Z("div", { style: { display: "flex", justifyContent: "flex-start", boxSizing: "border-box", ...C2 }, className: Ae(o2, Vo.Wrapper), children: Z(He, { items: k2, strategy: y2, children: Z(Oo, { ref: t2, children: D2 }) }) }), b2 ? Fe(Z(je, { adjustScale: l2, dropAnimation: s2, children: R2 ? Z(Lo, { 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] });
|
|
3196
3195
|
}));
|
|
3197
|
-
function
|
|
3196
|
+
function Uo({ disabled: e2, animateLayoutChanges: t2, getNewIndex: o2, handle: n2, id: r2, index: l2, onRemove: i2, style: a2, renderItem: s2, useDragOverlay: d2, wrapperStyle: c2 }) {
|
|
3198
3197
|
const { attributes: g2, isDragging: u2, isSorting: h2, listeners: m2, overIndex: p2, setNodeRef: f2, transform: w2, transition: v2 } = Pe({ id: r2, animateLayoutChanges: t2, disabled: e2, getNewIndex: o2 });
|
|
3199
|
-
return Z(
|
|
3198
|
+
return Z(Lo, { ref: f2, value: r2, disabled: e2, dragging: u2, sorting: h2, handle: n2, renderItem: s2, index: l2, style: a2({ index: l2, id: r2, isDragging: u2, isSorting: h2, overIndex: p2 }), onRemove: i2 ? () => i2(r2) : void 0, transform: w2, transition: v2, wrapperStyle: c2({ index: l2, isDragging: u2, id: r2 }), listeners: m2, "data-index": l2, "data-id": r2, dragOverlay: !d2 && u2, ...g2 });
|
|
3200
3199
|
}
|
|
3201
|
-
const
|
|
3202
|
-
const { children: o2, style: n2, className: r2, selectedTabIndex: l2 = 0, tabNames: i2 = [], onSelectedTabIndexChange: a2, onTabNameChange: s2, onTabMove: d2, createScrollStartButton: c2 = W, createScrollEndButton: g2 = U, createScrollEdgeButton: u2 = _, createTabButton: h2 =
|
|
3200
|
+
const _o = "_TabStrip_3x0dp_1", Go = new h("rgb(33, 115, 70)"), Zo = "#eee", jo = (e2) => Z(Po, { ...e2 }), Ko = oe(le((e2, t2) => {
|
|
3201
|
+
const { children: o2, style: n2, className: r2, selectedTabIndex: l2 = 0, tabNames: i2 = [], onSelectedTabIndexChange: a2, onTabNameChange: s2, onTabMove: d2, createScrollStartButton: c2 = W, createScrollEndButton: g2 = U, createScrollEdgeButton: u2 = _, createTabButton: h2 = jo, createTabDivider: m2, editLabelProps: p2, disabled: f2 = false, disableDrag: w2 = false, background: v2 = "white", activeColor: q2 = Go, borderColor: y2 = Zo, borderWidth: C2 = 1 } = e2, [b2, S2] = re(l2), [x2, k2] = re(i2), T2 = de((e3) => {
|
|
3203
3202
|
const t3 = I2.current?.[e3]?.closest(".tab-item") ?? I2.current?.[e3];
|
|
3204
3203
|
t3 && O2.current?.scrollTo({ top: t3.offsetTop, left: t3.offsetLeft, behavior: "smooth" });
|
|
3205
3204
|
}, []);
|
|
@@ -3225,7 +3224,7 @@ const Uo = "_TabStrip_3x0dp_1", _o = new h("rgb(33, 115, 70)"), Go = "#eee", Zo
|
|
|
3225
3224
|
I2.current?.[e3]?.cancel();
|
|
3226
3225
|
} }, E2.current), [b2, z2]);
|
|
3227
3226
|
const N2 = de(({ value: e3, index: t3, dragging: o3 }) => {
|
|
3228
|
-
const { style: n3, maxLength: r3, ...l3 } = p2 || {}, i3 = Z(
|
|
3227
|
+
const { style: n3, maxLength: r3, ...l3 } = p2 || {}, i3 = Z(Ho, { ref: (e4) => {
|
|
3229
3228
|
I2.current[t3] = e4;
|
|
3230
3229
|
}, value: e3, disabled: f2, maxLength: r3, 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: () => {
|
|
3231
3230
|
A2.current = false, F2(-1);
|
|
@@ -3256,24 +3255,24 @@ const Uo = "_TabStrip_3x0dp_1", _o = new h("rgb(33, 115, 70)"), Go = "#eee", Zo
|
|
|
3256
3255
|
}, [Q2, ee2, le2]);
|
|
3257
3256
|
ae(() => () => le2(), [le2]);
|
|
3258
3257
|
const ge2 = ne(() => ({ style: { marginLeft: "4px", marginRight: "6px" }, disabled: Math.floor($2.left) <= 0 || 0 === Math.floor(B2 - V2), orientation: H.Horizontal, onMouseUp: le2, onMouseLeave: le2, onMouseDown: () => ce2(O2.current.scrollLeft, true), onClick: (e3) => Q2(Math.min(O2.current.scrollLeft, Y2 ?? Number.MAX_SAFE_INTEGER), e3.ctrlKey) }), [$2, Y2, B2, V2]), ue2 = ne(() => ({ style: { marginLeft: "6px", marginRight: "4px" }, disabled: Math.floor(B2 - V2) <= Math.ceil($2.left), orientation: H.Horizontal, onMouseUp: le2, onMouseLeave: le2, onMouseDown: () => ce2(O2.current.scrollLeft, false), onClick: (e3) => ee2(Math.max(O2.current.scrollLeft, Y2 ?? 0), e3.ctrlKey) }), [$2, Y2, B2, V2]), he2 = ne(() => j(K, { children: [Z("div", { style: { minWidth: "16px" } }), o2, u2?.(ge2)] }), [ge2, ue2, c2, g2, o2, u2]);
|
|
3259
|
-
return j("div", { style: { ...n2, display: "flex", alignItems: "stretch" }, className: Ae(
|
|
3258
|
+
return j("div", { style: { ...n2, display: "flex", alignItems: "stretch" }, className: Ae(_o, r2), ref: E2, children: [Z("div", { style: { borderTop: `solid ${y2} ${C2}px`, position: "absolute", width: "100%" } }), Z("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: he2 }), Z("div", { className: "Tabs", ref: P2, style: { flex: "1 1 100%", display: "flex", position: "relative", overflow: "hidden" }, children: Z("div", { style: { position: "relative", overflowY: "hidden", overflowX: "hidden", marginBottom: "3px" }, ref: O2, onScroll: (e3) => {
|
|
3260
3259
|
X2({ left: e3.target.scrollLeft, top: e3.target.scrollTop, width: e3.target.scrollWidth, height: e3.target.scrollHeight });
|
|
3261
|
-
}, children: Z(
|
|
3260
|
+
}, children: Z(Wo, { isDisabled: (e3) => f2 || w2, items: x2, strategy: Ve, modifiers: [Le], ref: L2, renderItem: N2, renderDivider: m2, onMove: M2, activationConstraint: { distance: 15 } }) }) }), Z("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: u2(ue2) })] });
|
|
3262
3261
|
}));
|
|
3263
|
-
|
|
3264
|
-
const Ko = (e2) => j("svg", { ...e2, viewBox: "0 0 48 48", children: [Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), Xo = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), Z("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), Z("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), Z("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), Z("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), Z("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" })] }), Yo = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 832 1941 h -469 v -554 h 469 m 768 554 h -469 v -810 h 469 z" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 832 1387 h -469 v -640 h 469 z" }), Z("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" }), Z("path", { className: "styled secondary_light", d: "M 1600 1131 h -469 v -811 h 469 z" }), Z("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" })] }), Jo = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 832 1941 h -469 v -426 h 469 m 768 426 h -469 v -1066 h 469 z" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 832 1515 h -469 v -1195 h 469 z" }), Z("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" }), Z("path", { className: "styled secondary_light", d: "M 1600 875 h -469 v -555 h 469 z" }), Z("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" })] }), Qo = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled info", d: "M 122 1658 l -30 -30 l 1209 -1210 l 655 655 l -30 30 l -625 -625 z" }), Z("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" })] }), en = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), tn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled info", d: "M 1877 299 h -1770 v -43 h 1770 z" }), Z("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" })] }), on = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), nn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), rn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), ln = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), an = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), sn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1429 1387 v 298 h -1322 v -298 m 1066 -811 v 299 h -1066 v -299 z" }), Z("path", { className: "styled info_light", d: "M 1813 277 v 299 h -1706 v -299 z" }), Z("path", { className: "styled info_dark", d: "M 101 597 v -42 h 1691 v -256 h -1691 v -43 h 1734 v 341 z" }), Z("path", { className: "styled secondary_light", d: "M 917 1088 v 299 h -810 v -299 z" }), Z("path", { className: "styled secondary_dark", d: "M 896 1109 h -795 v -42 h 838 v 322 h -43 z" }), Z("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" })] }), dn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 107 832 v -469 h 597 v 469 m -597 768 v -469 h 810 v 469 z" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 704 832 v -469 h 640 v 469 z" }), Z("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" }), Z("path", { className: "styled secondary_light", d: "M 917 1600 v -469 h 811 v 469 z" }), Z("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" })] }), cn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 107 832 v -469 h 426 v 469 m -426 768 v -469 h 1066 v 469 z" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 533 832 v -469 h 1195 v 469 z" }), Z("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" }), Z("path", { className: "styled secondary_light", d: "M 1173 1600 v -469 h 555 v 469 z" }), Z("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" })] }), gn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 1939 923 v 658 l -288 -192 m -1272 -40 l 525 -312 l -374 474 z" }), Z("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" }), Z("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" })] }), un = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1963 1941 h -1856 v -853 l 597 597 l 618 -704 l 641 555 z" }), Z("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" }), Z("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" }), Z("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), hn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1941 1941 h -1834 v -1834 h 1834 z" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 1941 107 v 1493 l -810 -768 l -576 661 l -448 -448 v -938 z" }), Z("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" })] }), mn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), pn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), fn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), wn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), vn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), qn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), Z("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), Z("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), Z("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), Z("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), Z("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" })] }), yn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), Z("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), Z("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), Z("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), Z("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), Z("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" })] }), Cn = ce(null);
|
|
3265
|
-
|
|
3266
|
-
const
|
|
3262
|
+
Ko.displayName = "TabStrip";
|
|
3263
|
+
const Xo = (e2) => j("svg", { ...e2, viewBox: "0 0 48 48", children: [Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), Yo = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), Z("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), Z("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), Z("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), Z("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), Z("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) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 832 1941 h -469 v -554 h 469 m 768 554 h -469 v -810 h 469 z" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 832 1387 h -469 v -640 h 469 z" }), Z("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" }), Z("path", { className: "styled secondary_light", d: "M 1600 1131 h -469 v -811 h 469 z" }), Z("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" })] }), Qo = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 832 1941 h -469 v -426 h 469 m 768 426 h -469 v -1066 h 469 z" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 832 1515 h -469 v -1195 h 469 z" }), Z("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" }), Z("path", { className: "styled secondary_light", d: "M 1600 875 h -469 v -555 h 469 z" }), Z("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" })] }), en = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled info", d: "M 122 1658 l -30 -30 l 1209 -1210 l 655 655 l -30 30 l -625 -625 z" }), Z("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" })] }), tn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), on = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled info", d: "M 1877 299 h -1770 v -43 h 1770 z" }), Z("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" })] }), nn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), rn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), ln = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), an = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), sn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), dn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1429 1387 v 298 h -1322 v -298 m 1066 -811 v 299 h -1066 v -299 z" }), Z("path", { className: "styled info_light", d: "M 1813 277 v 299 h -1706 v -299 z" }), Z("path", { className: "styled info_dark", d: "M 101 597 v -42 h 1691 v -256 h -1691 v -43 h 1734 v 341 z" }), Z("path", { className: "styled secondary_light", d: "M 917 1088 v 299 h -810 v -299 z" }), Z("path", { className: "styled secondary_dark", d: "M 896 1109 h -795 v -42 h 838 v 322 h -43 z" }), Z("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" })] }), cn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 107 832 v -469 h 597 v 469 m -597 768 v -469 h 810 v 469 z" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 704 832 v -469 h 640 v 469 z" }), Z("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" }), Z("path", { className: "styled secondary_light", d: "M 917 1600 v -469 h 811 v 469 z" }), Z("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" })] }), gn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 107 832 v -469 h 426 v 469 m -426 768 v -469 h 1066 v 469 z" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 533 832 v -469 h 1195 v 469 z" }), Z("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" }), Z("path", { className: "styled secondary_light", d: "M 1173 1600 v -469 h 555 v 469 z" }), Z("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" })] }), un = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 1939 923 v 658 l -288 -192 m -1272 -40 l 525 -312 l -374 474 z" }), Z("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" }), Z("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" })] }), hn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1963 1941 h -1856 v -853 l 597 597 l 618 -704 l 641 555 z" }), Z("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" }), Z("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" }), Z("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), mn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1941 1941 h -1834 v -1834 h 1834 z" }), Z("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" }), Z("path", { className: "styled info_light", d: "M 1941 107 v 1493 l -810 -768 l -576 661 l -448 -448 v -938 z" }), Z("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" })] }), pn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), fn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), wn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), vn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" }), Z("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" })] }), qn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("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" }), Z("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" })] }), yn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), Z("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), Z("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), Z("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), Z("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), Z("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" })] }), Cn = (e2) => j("svg", { viewBox: "0,0,2048,2048", ...e2, children: [Z("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" }), Z("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), Z("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), Z("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), Z("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), Z("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), Z("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" })] }), bn = ce(null);
|
|
3264
|
+
bn.displayName = "DocThemesContext";
|
|
3265
|
+
const Sn = (e2) => {
|
|
3267
3266
|
const { themes: t2, children: o2 } = e2;
|
|
3268
|
-
return Z(
|
|
3269
|
-
},
|
|
3270
|
-
const e2 = ge(
|
|
3267
|
+
return Z(bn.Provider, { value: t2, children: o2 });
|
|
3268
|
+
}, xn = () => {
|
|
3269
|
+
const e2 = ge(bn), [t2] = re(() => new y());
|
|
3271
3270
|
return ne(() => e2 || t2, [e2]);
|
|
3272
|
-
},
|
|
3273
|
-
let
|
|
3274
|
-
let
|
|
3275
|
-
"@local" !==
|
|
3276
|
-
const
|
|
3271
|
+
}, kn = "_script-editor_iy654_5", Tn = { 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" }, Rn = te.lazy(() => import("@monaco-editor/react"));
|
|
3272
|
+
let Mn, An, zn = ["define", "require"], Fn = false;
|
|
3273
|
+
let Dn = "@0.7.9";
|
|
3274
|
+
"@local" !== Dn && "@0.0.0" !== Dn || (Dn = "");
|
|
3275
|
+
const In = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${Dn}/types/scripting.d.ts`, En = async (e2, t2, o2) => {
|
|
3277
3276
|
const n2 = e2.getModel();
|
|
3278
3277
|
if (!n2) return;
|
|
3279
3278
|
const r2 = await t2.languages.typescript.getTypeScriptWorker(), l2 = await r2(n2.uri), i2 = await l2.getNavigationTree(n2.uri.toString()), a2 = e2.getPosition();
|
|
@@ -3282,8 +3281,8 @@ const Dn = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${Fn}/types/scripting.d.ts`
|
|
|
3282
3281
|
let d2 = false;
|
|
3283
3282
|
for (let e3 = a2.lineNumber; e3 >= 1; e3--) {
|
|
3284
3283
|
if ("" === n2.getLineContent(e3).trim()) {
|
|
3285
|
-
const t3 =
|
|
3286
|
-
if (!t3 ||
|
|
3284
|
+
const t3 = Pn(i2, n2.getOffsetAt({ lineNumber: e3, column: 1 }), "function");
|
|
3285
|
+
if (!t3 || Vn(t3)) {
|
|
3287
3286
|
d2 = true, s2.lineNumber = e3 + 1;
|
|
3288
3287
|
break;
|
|
3289
3288
|
}
|
|
@@ -3301,7 +3300,7 @@ const Dn = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${Fn}/types/scripting.d.ts`
|
|
|
3301
3300
|
let m2 = null;
|
|
3302
3301
|
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 });
|
|
3303
3302
|
};
|
|
3304
|
-
function
|
|
3303
|
+
function Nn(e2, t2) {
|
|
3305
3304
|
let o2 = null;
|
|
3306
3305
|
const n2 = e2.length;
|
|
3307
3306
|
for (let r2 = 0; !o2 && r2 < n2; r2++) {
|
|
@@ -3310,32 +3309,32 @@ function En(e2, t2) {
|
|
|
3310
3309
|
}
|
|
3311
3310
|
return o2 ? o2.getContext() : "formula";
|
|
3312
3311
|
}
|
|
3313
|
-
function
|
|
3312
|
+
function Hn(e2, t2, o2, n2, r2 = []) {
|
|
3314
3313
|
if ("function" === n2.kind && "export" === n2.kindModifiers) {
|
|
3315
3314
|
const t3 = n2.spans[0].start, l2 = e2.getPositionAt(t3);
|
|
3316
|
-
r2.push({ name: n2.text, type:
|
|
3315
|
+
r2.push({ name: n2.text, type: Nn(o2, n2), lineNumber: l2.lineNumber });
|
|
3317
3316
|
}
|
|
3318
|
-
if (n2.childItems) for (const l2 of n2.childItems)
|
|
3317
|
+
if (n2.childItems) for (const l2 of n2.childItems) Hn(e2, t2, o2, l2, r2);
|
|
3319
3318
|
return r2;
|
|
3320
3319
|
}
|
|
3321
|
-
function
|
|
3320
|
+
function Pn(e2, t2, o2 = "function", n2) {
|
|
3322
3321
|
const r2 = e2.spans, l2 = r2.length;
|
|
3323
3322
|
for (let i2 = 0; i2 < l2; i2++) {
|
|
3324
3323
|
const l3 = r2[i2];
|
|
3325
3324
|
if (l3.start <= t2 && t2 < l3.start + l3.length) {
|
|
3326
3325
|
if (e2.kind === o2 && (!n2 || e2.kindModifiers === n2)) return e2;
|
|
3327
3326
|
for (const r3 of e2.childItems || []) {
|
|
3328
|
-
const e3 =
|
|
3327
|
+
const e3 = Pn(r3, t2, o2, n2);
|
|
3329
3328
|
if (e3) return e3;
|
|
3330
3329
|
}
|
|
3331
3330
|
}
|
|
3332
3331
|
return null;
|
|
3333
3332
|
}
|
|
3334
3333
|
}
|
|
3335
|
-
function
|
|
3334
|
+
function Vn(e2) {
|
|
3336
3335
|
return "comment" === e2.kind;
|
|
3337
3336
|
}
|
|
3338
|
-
const
|
|
3337
|
+
const Ln = oe(le((e2, t2) => {
|
|
3339
3338
|
const { className: o2, style: n2, commands: r2, readOnly: l2 = false, darkMode: i2, loadingPanel: a2, autoFocus: s2 = true, frame: d2, onStatusChange: c2, ...g2 } = e2, u2 = ie(null), h2 = ie(false), m2 = ne(() => ({ contains(e3) {
|
|
3340
3339
|
if (!u2.current) return;
|
|
3341
3340
|
const t3 = u2.current.editor;
|
|
@@ -3395,7 +3394,7 @@ const Vn = oe(le((e2, t2) => {
|
|
|
3395
3394
|
if (!s3) return null;
|
|
3396
3395
|
const d3 = s3.startLineNumber === s3.endLineNumber && s3.startColumn === s3.endColumn ? n4.getLineCount() : Math.min(s3.endLineNumber, n4.getLineCount());
|
|
3397
3396
|
for (let e5 = s3.startLineNumber; !a3 && e5 <= d3; e5++) {
|
|
3398
|
-
const t5 =
|
|
3397
|
+
const t5 = Pn(i3, n4.getOffsetAt({ lineNumber: e5, column: 1 }), "function", o4);
|
|
3399
3398
|
t5 && (a3 = t5.text);
|
|
3400
3399
|
}
|
|
3401
3400
|
return a3;
|
|
@@ -3416,7 +3415,7 @@ const Vn = oe(le((e2, t2) => {
|
|
|
3416
3415
|
t4.editor.setModelMarkers(e4, "owner", o4);
|
|
3417
3416
|
})(e3, t3);
|
|
3418
3417
|
!(async function(e4, t4, o4, n4) {
|
|
3419
|
-
const r3 = await t4.languages.typescript.getTypeScriptWorker(), l3 = await r3(e4.uri), i3 = await l3.getNavigationTree(e4.uri.toString()), a3 =
|
|
3418
|
+
const r3 = await t4.languages.typescript.getTypeScriptWorker(), l3 = await r3(e4.uri), i3 = await l3.getNavigationTree(e4.uri.toString()), a3 = Hn(e4, t4, n4, i3).map((e5) => {
|
|
3420
3419
|
let o5 = null, n5 = null;
|
|
3421
3420
|
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 } };
|
|
3422
3421
|
});
|
|
@@ -3437,7 +3436,7 @@ const Vn = oe(le((e2, t2) => {
|
|
|
3437
3436
|
ae(() => {
|
|
3438
3437
|
if (!C2) return;
|
|
3439
3438
|
const e3 = { insertSnippet: (e4) => {
|
|
3440
|
-
u2.current?.editor &&
|
|
3439
|
+
u2.current?.editor && En(u2.current.editor, u2.current.monaco, e4);
|
|
3441
3440
|
}, close: () => $2() };
|
|
3442
3441
|
C2.setEditor(e3), C2.setSelectedFunction(P2());
|
|
3443
3442
|
const t3 = C2.addContainerListener({ onBeforeSave: async () => {
|
|
@@ -3478,7 +3477,7 @@ const Vn = oe(le((e2, t2) => {
|
|
|
3478
3477
|
O2.current = o5;
|
|
3479
3478
|
const n4 = e3.getModel();
|
|
3480
3479
|
L2(n4, t3, e3), (() => {
|
|
3481
|
-
if (
|
|
3480
|
+
if (Fn) return;
|
|
3482
3481
|
const e4 = (e5, t5) => {
|
|
3483
3482
|
try {
|
|
3484
3483
|
if (void 0 === t5) try {
|
|
@@ -3492,12 +3491,12 @@ const Vn = oe(le((e2, t2) => {
|
|
|
3492
3491
|
else globalThis[e5] = t5;
|
|
3493
3492
|
} catch (e6) {
|
|
3494
3493
|
}
|
|
3495
|
-
}, t4 =
|
|
3494
|
+
}, t4 = zn.length;
|
|
3496
3495
|
for (let o6 = 0; o6 < t4; o6++) {
|
|
3497
|
-
const t5 =
|
|
3498
|
-
e4(t5,
|
|
3496
|
+
const t5 = zn[o6];
|
|
3497
|
+
e4(t5, Mn[t5]);
|
|
3499
3498
|
}
|
|
3500
|
-
|
|
3499
|
+
Mn = void 0, Fn = true;
|
|
3501
3500
|
})();
|
|
3502
3501
|
});
|
|
3503
3502
|
}), e3.addCommand("executeScript", function(e4, ...t4) {
|
|
@@ -3511,7 +3510,7 @@ const Vn = oe(le((e2, t2) => {
|
|
|
3511
3510
|
F2();
|
|
3512
3511
|
} }), e3.onMouseDown(async (e4) => {
|
|
3513
3512
|
if (e4.target.type === t3.editor.MouseTargetType.GUTTER_GLYPH_MARGIN) {
|
|
3514
|
-
const o4 = e4.target.position.lineNumber, r3 = await t3.languages.typescript.getTypeScriptWorker(), l3 = await r3(n3.uri), i3 = await l3.getNavigationTree(n3.uri.toString()), a3 = (await F2()).getFunctions().getItems(), s3 =
|
|
3513
|
+
const o4 = e4.target.position.lineNumber, r3 = await t3.languages.typescript.getTypeScriptWorker(), l3 = await r3(n3.uri), i3 = await l3.getNavigationTree(n3.uri.toString()), a3 = (await F2()).getFunctions().getItems(), s3 = Hn(n3, t3, a3, i3).find((e5) => e5.lineNumber === o4);
|
|
3515
3514
|
if (s3) {
|
|
3516
3515
|
const t4 = e4.event.browserEvent.button;
|
|
3517
3516
|
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());
|
|
@@ -3541,24 +3540,24 @@ const Vn = oe(le((e2, t2) => {
|
|
|
3541
3540
|
});
|
|
3542
3541
|
}, [C2]), G2 = ne(() => E2 ? null : a2 || Z("div", { style: { position: "absolute", width: "100%", height: "100%" }, children: "Loading..." }), [E2, a2]), K2 = ne(() => {
|
|
3543
3542
|
if (!E2) {
|
|
3544
|
-
if (!
|
|
3545
|
-
|
|
3546
|
-
const e4 =
|
|
3543
|
+
if (!Mn) {
|
|
3544
|
+
Mn = {};
|
|
3545
|
+
const e4 = zn.length;
|
|
3547
3546
|
for (let t3 = 0; t3 < e4; t3++) {
|
|
3548
|
-
const e5 =
|
|
3549
|
-
|
|
3547
|
+
const e5 = zn[t3];
|
|
3548
|
+
Mn[e5] = globalThis[e5];
|
|
3550
3549
|
}
|
|
3551
3550
|
}
|
|
3552
|
-
if (
|
|
3553
|
-
const e4 =
|
|
3551
|
+
if (An) {
|
|
3552
|
+
const e4 = zn.length;
|
|
3554
3553
|
for (let t3 = 0; t3 < e4; t3++) {
|
|
3555
|
-
const e5 =
|
|
3556
|
-
globalThis[e5] =
|
|
3554
|
+
const e5 = zn[t3];
|
|
3555
|
+
globalThis[e5] = An[e5];
|
|
3557
3556
|
}
|
|
3558
3557
|
}
|
|
3559
3558
|
}
|
|
3560
3559
|
const e3 = C2?.getScripts().getModules().getByName("scripts")?.getSource() ?? "";
|
|
3561
|
-
return j("div", { style: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: [Z(he, { children: Z(
|
|
3560
|
+
return j("div", { style: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: [Z(he, { children: Z(Rn, { theme: i2 ? "extended-dark" : "extended", options: { ...Tn, fixedOverflowWidgets: true, readOnly: l2 }, language: "typescript", value: e3, onValidate: (e4) => {
|
|
3562
3561
|
let t3 = false;
|
|
3563
3562
|
const o3 = e4 ? e4.length : 0;
|
|
3564
3563
|
for (let n3 = 0; !t3 && n3 < o3; n3++) 8 === e4[n3].severity && (t3 = true);
|
|
@@ -3568,7 +3567,7 @@ const Vn = oe(le((e2, t2) => {
|
|
|
3568
3567
|
let t3 = false, o3 = false;
|
|
3569
3568
|
try {
|
|
3570
3569
|
const n3 = await (async () => {
|
|
3571
|
-
const e5 = await fetch(
|
|
3570
|
+
const e5 = await fetch(In);
|
|
3572
3571
|
return await e5.text();
|
|
3573
3572
|
})(), r3 = e4.Uri.parse('inmemory://model/"sheetxl-models".d.ts');
|
|
3574
3573
|
let l3 = e4.editor.getModel(r3);
|
|
@@ -3611,14 +3610,14 @@ const Vn = oe(le((e2, t2) => {
|
|
|
3611
3610
|
const t4 = e4.languages.typescript.typescriptDefaults.getCompilerOptions();
|
|
3612
3611
|
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 });
|
|
3613
3612
|
}
|
|
3614
|
-
if (I2.current && (await
|
|
3613
|
+
if (I2.current && (await En(u2.current.editor, u2.current.monaco, I2.current), I2.current = null), h2.current && requestAnimationFrame(async () => {
|
|
3615
3614
|
h2.current && e4.editor.focus();
|
|
3616
|
-
}), !
|
|
3617
|
-
|
|
3618
|
-
const e5 =
|
|
3615
|
+
}), !An) {
|
|
3616
|
+
An = {};
|
|
3617
|
+
const e5 = zn.length;
|
|
3619
3618
|
for (let t4 = 0; t4 < e5; t4++) {
|
|
3620
|
-
const e6 =
|
|
3621
|
-
|
|
3619
|
+
const e6 = zn[t4];
|
|
3620
|
+
An[e6] = globalThis[e6];
|
|
3622
3621
|
}
|
|
3623
3622
|
}
|
|
3624
3623
|
})();
|
|
@@ -3632,71 +3631,71 @@ const Vn = oe(le((e2, t2) => {
|
|
|
3632
3631
|
u2.current?.editor && requestAnimationFrame(() => {
|
|
3633
3632
|
Y2.current?.contains(document.activeElement) && Y2.current?.focus();
|
|
3634
3633
|
});
|
|
3635
|
-
}), []), Z("div", { className: Ae("script-editor",
|
|
3634
|
+
}), []), Z("div", { className: Ae("script-editor", kn, o2), style: { display: "flex", flexDirection: "row", flex: "1 1 100%", position: "relative", ...n2 }, ref: Y2, ...g2, children: K2 });
|
|
3636
3635
|
}));
|
|
3637
3636
|
export {
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3637
|
+
un as ChartAreaIcon,
|
|
3638
|
+
hn as ChartAreaStackedIcon,
|
|
3639
|
+
mn as ChartAreaStackedPercentIcon,
|
|
3640
|
+
dn as ChartBarIcon,
|
|
3641
|
+
cn as ChartBarStackedIcon,
|
|
3642
|
+
gn as ChartBarStackedPercentIcon,
|
|
3643
|
+
Cn as ChartBubble3DIcon,
|
|
3644
|
+
yn as ChartBubbleIcon,
|
|
3645
|
+
Yo as ChartColumnIcon,
|
|
3646
|
+
Jo as ChartColumnStackedIcon,
|
|
3647
|
+
Qo as ChartColumnStackedPercentIcon,
|
|
3648
|
+
Io as ChartEditor,
|
|
3649
|
+
en as ChartLineIcon,
|
|
3650
|
+
nn as ChartLineMarkersIcon,
|
|
3651
|
+
tn as ChartLineStackedIcon,
|
|
3652
|
+
rn as ChartLineStackedMarkersIcon,
|
|
3653
|
+
on as ChartLineStackedPercentIcon,
|
|
3654
|
+
ln as ChartLineStackedPercentMarkersIcon,
|
|
3655
|
+
sn as ChartPieDoughnutIcon,
|
|
3656
|
+
an as ChartPieIcon,
|
|
3657
|
+
qn as ChartScatterLinesIcon,
|
|
3658
|
+
vn as ChartScatterLinesMarkersIcon,
|
|
3659
|
+
fn as ChartScatterLinesMarkersSmoothIcon,
|
|
3660
|
+
wn as ChartScatterLinesSmoothIcon,
|
|
3661
|
+
pn as ChartScatterMarkersIcon,
|
|
3662
|
+
zo as CommandContext,
|
|
3664
3663
|
et as CornerTriangle,
|
|
3665
3664
|
Xe as DateUtils,
|
|
3666
3665
|
kt as DefaultTaskPaneRegistry,
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3666
|
+
bn as DocThemesContext,
|
|
3667
|
+
Sn as DocThemesProvider,
|
|
3668
|
+
Ho as EditableLabel,
|
|
3669
|
+
fo as EmptyFrame,
|
|
3671
3670
|
tt as FilterButton,
|
|
3672
3671
|
Qe as FontUtils,
|
|
3673
|
-
|
|
3672
|
+
Lo as Item,
|
|
3674
3673
|
LicenseManager,
|
|
3675
|
-
|
|
3674
|
+
Xo as LogoNoPaddingIcon,
|
|
3676
3675
|
Ct as LogoTextNoPaddingIcon,
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3676
|
+
uo as MovableArea,
|
|
3677
|
+
Do as PictureEditor,
|
|
3678
|
+
Oo as Row,
|
|
3679
|
+
Ln as ScriptEditor,
|
|
3681
3680
|
it as SheetCellEditor,
|
|
3682
3681
|
ot as SheetCellRenderer,
|
|
3683
|
-
|
|
3684
|
-
|
|
3682
|
+
Ao as SheetElement,
|
|
3683
|
+
Bt as SheetScrollbar,
|
|
3685
3684
|
vt as StaticBorderRenderer,
|
|
3686
3685
|
st as StyledStrokePath,
|
|
3687
|
-
|
|
3688
|
-
|
|
3686
|
+
Po as Tab,
|
|
3687
|
+
Ko as TabStrip,
|
|
3689
3688
|
Ht as TaskPaneArea,
|
|
3690
3689
|
Rt as TaskPaneProvider,
|
|
3691
3690
|
Et as TaskPaneStrip,
|
|
3692
3691
|
Ft as TaskPaneTitle,
|
|
3693
3692
|
at as createCellEditStateFromCell,
|
|
3694
3693
|
ut as useBordersOverlay,
|
|
3695
|
-
|
|
3694
|
+
xn as useDocThemes,
|
|
3696
3695
|
St as useModelListener,
|
|
3697
|
-
|
|
3696
|
+
po as useMovableCommands,
|
|
3698
3697
|
xt as useRangeListener,
|
|
3699
3698
|
Vt as useSheetCommands,
|
|
3700
|
-
|
|
3699
|
+
Yt as useSheetCopyPaste,
|
|
3701
3700
|
At as useTaskPaneArea
|
|
3702
3701
|
};
|