@sheetxl/react 0.6.8 → 0.6.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/{DGdx885qdoMTEwzK.cjs → BdB-7Ucw80zJlW8p.cjs} +1 -1
- package/browser/cjs/{BBHaBfOQH1gu1xQj.cjs → CTMGvs_fvWfq456P.cjs} +1 -1
- package/browser/cjs/{nIvlmfiweV3ElY9M.cjs → aZrQx1aukerqrIym.cjs} +1 -1
- package/browser/cjs/index.cjs +8 -8
- package/browser/esm/{Dp06ixPZGad-PQKf.mjs → Bc6D3bMwF82u7nLf.mjs} +1 -1
- package/browser/esm/{CHktzsnwL5GgtnMD.mjs → Du-nfD5pe-vpiU8L.mjs} +1 -1
- package/browser/esm/{DTDMM4wzkVNUuWJx.mjs → DvqBXpyQJd1AxaDi.mjs} +1 -1
- package/browser/esm/index.mjs +387 -387
- package/node/esm/{4GvsEqYx_7ldThJ8.mjs → Bi6qduoGUlv12Fdp.mjs} +1 -1
- package/node/esm/index.mjs +42 -42
- package/package.json +5 -5
package/browser/esm/index.mjs
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`._sheetxl-sheet_1qeq6_5 ._viewport-overlay_1qeq6_6{pointer-events:none}._sheetxl-sheet_1qeq6_5 ._viewport-overlay_1qeq6_6 *{pointer-events:initial}._sheetxl-sheet_1qeq6_5 .cell-container>*{overflow:hidden}._sheetxl-sheet_1qeq6_5 .cell-container .text-box{position:absolute}._sheetxl-sheet_1qeq6_5 .cell-container .text-line{text-rendering:optimizespeed;position:absolute;vertical-align:baseline;white-space:pre}._sheetxl-sheet_1qeq6_5 .cell-container .filter-button{position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:row;margin-bottom:4px}._sheetxl-sheet_1qeq6_5 .cell-container .text-debug-bounds{position:absolute;background:green;pointer-events:none;opacity:.2}._sheetxl-sheet_1qeq6_5 .cell-container .fill{position:absolute}._sheetxl-sheet_1qeq6_5 .cell-container .pending{width:6px;height:6px;top:5px;left:4px;position:absolute;border:var(--sxl-app-color-primary-dark, grey) .5px;border-style:double;border-radius:50%;background-color:var(--sxl-app-color-button-surface, grey);opacity:1;animation:_pulse_1qeq6_1 1.5s infinite alternate}@keyframes _pulse_1qeq6_1{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.8}to{transform:scale(1);opacity:1}}._sheetxl-sheet_1qeq6_5 .cell-container .slider{position:absolute;width:130%;height:2px;bottom:1px;opacity:0;animation:_fadeIn_1qeq6_1 0s .5s forwards;overflow-x:hidden}._sheetxl-sheet_1qeq6_5 .cell-container .line{position:absolute;opacity:.3;background:var(--sxl-app-color-primary-light, rgb(173, 173, 173)) .5px;width:100%;height:2px}._sheetxl-sheet_1qeq6_5 .cell-container .subline{position:absolute;background:var(--sxl-app-color-primary, rgb(77, 77, 77)) .5px;opacity:.9;height:3px}._sheetxl-sheet_1qeq6_5 .cell-container .inc{animation-delay:0s;animation:_increase_1qeq6_1 3s infinite}@keyframes _fadeIn_1qeq6_1{0%{opacity:0;height:0px}to{opacity:1;height:2px}}@keyframes _increase_1qeq6_1{0%{left:-150%;width:30%;animation-timing-function:ease}to{left:100%;width:30%}}._sheet-selection_12wyx_5 .fill-handle .dragging,._movable-area_314c6_5 .moveable-control-box .dragging{opacity:0}._movable-area_314c6_5 .moveable-control-box .moveable-control{width:11px;height:11px;margin-top:-5.5px;margin-left:-5.5px;background-color:var(--sxl-app-color-background, white);background-image:var(--sxl-app-image-background);border:2px solid var(--sxl-app-color-primary-dark, grey)}._movable-area_314c6_5 .moveable-control-box .moveable-line{background:var(--sxl-app-color-grey, grey)}@media (pointer: coarse){._movable-area_314c6_5 .moveable-control-box .moveable-control{width:22px;height:22px;margin-top:-11px;margin-left:-11px}}._editable-input_1bqx6_6{position:absolute;left:0;top:0;width:100%;min-height:calc(100% + 1px);border:none;padding:0;outline:none;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1.2;letter-spacing:inherit;text-transform:inherit;background:transparent}@keyframes _pop_1wyun_1{0%{transform:scale(1)}to{transform:scale(var(--scale))}}@keyframes _fadeIn_1wyun_33{0%{opacity:0}to{opacity:1}}._Wrapper_1wyun_25{display:flex;box-sizing:border-box;transform:translate3d(var(--translate-x, 0),var(--translate-y, 0),0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));transform-origin:0 0;touch-action:manipulation}._Wrapper_1wyun_25._dragOverlay_1wyun_37{z-index:999}._Item_1wyun_47{position:relative;display:flex;align-items:center;outline:none;box-sizing:border-box;transform-origin:50% 50%;-webkit-tap-highlight-color:transparent;transform:scale(var(--scale, 1))}._Item_1wyun_47:not(._withHandle_1wyun_61){touch-action:manipulation}._Item_1wyun_47._dragging_1wyun_66:not(._dragOverlay_1wyun_37){z-index:999}._Item_1wyun_47._dragOverlay_1wyun_37{cursor:inherit;animation:_pop_1wyun_1 .2s cubic-bezier(.18,.67,.6,1.22);transform:scale(var(--scale));opacity:1}._Row_1kr10_1{display:flex;box-sizing:border-box}._TabStrip_3x0dp_1::-webkit-scrollbar{display:none;height:0px}._TabStrip_3x0dp_1{overflow-y:auto;overflow-x:hidden;position:relative}._script-editor_iy654_5 .monaco-editor{position:absolute}._script-editor_iy654_5 .monaco-editor .margin-icon{display:block;width:16px;height:16px;background-size:16px;background-repeat:no-repeat;background-position:center;background-size:contain}._script-editor_iy654_5 .monaco-editor .formula{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="m 12.106007,8.1692949 c 0.124174,-0.1578352 0.181773,-0.3565642 0.283755,-0.5271169 0.10273,-0.1715492 0.04413,-0.2027176 -0.129161,-0.2014713 -0.685452,0.00576 -1.371152,-0.00277 -2.056604,0.00501 C 10.021228,7.4479573 9.9586414,7.407817 9.9935503,7.2080883 10.145401,6.3413623 10.291269,5.4736396 10.51219,4.6213758 10.642847,4.1167002 10.782479,3.6117747 11.061498,3.1622046 11.339518,2.7138809 11.726751,2.5974365 12.2035,2.829328 c 0.398455,0.1934923 0.722604,0.4827333 0.990152,0.8340617 0.116944,0.1535968 0.27079,0.2740306 0.449073,0.1715499 0.343348,-0.1974819 0.644807,-0.4383502 0.819599,-0.826332 0.100985,-0.2244112 0.157836,-0.476001 0.04039,-0.7058977 C 14.339646,1.9840253 14.038187,1.7618584 13.707056,1.6394296 13.156999,1.4362128 12.562559,1.4840872 12.017239,1.6758341 11.38789,1.8970037 10.783727,2.2625445 10.259602,2.6724688 10.066109,2.8238217 9.8783519,2.9839017 9.7013165,3.1547035 9.0502751,3.7823067 8.5657962,4.529097 8.2246919,5.3651534 7.9823276,5.9595939 7.7888351,6.5660026 7.6913412,7.2015842 7.673637,7.318528 7.6357391,7.423253 7.5065759,7.4432009 7.3472438,7.4678879 7.1592376,7.4436995 6.9974121,7.4441728 6.6351128,7.4451447 6.2598478,7.3676233 5.9915515,7.6815496 5.8721151,7.8211835 5.7461952,7.9840062 5.6439635,8.1371045 c -0.1009847,0.1518511 -0.093255,0.3002122 0.085027,0.367535 0.1957362,0.073561 0.4528118,0.026182 0.6530361,0.0197 0.2645558,-0.00847 0.5291116,0.00501 0.7936674,-7.476e-4 0.1820229,-0.00374 0.2413669,0.030421 0.2064588,0.2358807 C 7.3487406,8.9587006 7.3095941,9.1492003 7.2804197,9.3464333 7.1804317,10.024404 7.0667304,10.700629 6.9525298,11.376606 6.7936963,12.314146 6.6371075,13.252434 6.4655575,14.188478 6.3017374,15.082631 6.1855427,15.985013 5.983074,16.873433 5.8249883,17.568607 5.7240037,18.277248 5.5556954,18.969682 5.4145655,19.550158 5.293882,20.143601 4.9722259,20.665731 4.7380909,21.045734 4.3959882,21.206312 3.9663652,21.104829 3.5778849,21.012322 3.2115961,20.866205 2.8951763,20.608631 2.6862246,20.438328 2.4473513,20.31141 2.1920214,20.458026 1.9519014,20.595915 1.7791048,20.851743 1.646453,21.088123 1.2205704,21.847879 1.915497,22.569984 2.6655289,22.684434 3.1692071,22.760986 3.666153,22.580208 4.1087416,22.356046 4.6996913,22.056582 5.2103511,21.635437 5.6387269,21.13874 5.9898058,20.731558 6.3575906,20.343327 6.6500737,19.890016 6.8450616,19.58756 7.0238427,19.274881 7.1866655,18.954471 7.7639005,17.817206 8.1227091,16.589926 8.4189318,15.354418 8.5613081,14.760227 8.716401,14.169777 8.8478064,13.572843 9.0268365,12.760724 9.1741996,11.934891 9.3083481,11.114294 9.3749255,10.707112 9.4310263,10.300679 9.5160532,9.8967389 9.5861222,9.5636133 9.6442168,9.2185186 9.6890985,8.8814035 9.7414633,8.4891827 9.990308,8.5136187 10.329668,8.4762164 c 0.286249,-0.03167 0.574492,-0.046376 0.861739,-0.067571 0.230395,-0.016703 0.494951,0.00396 0.711881,-0.088019 0.07754,-0.032911 0.147613,-0.080788 0.202719,-0.1513533 z"/><path d="M 22.473802,7.8481382 C 22.426924,7.6912996 22.341898,7.5501696 22.231437,7.4294861 22.130452,7.3192756 21.987827,7.1749046 21.851933,7.1098255 21.411589,6.8988785 20.817398,7.0838898 20.436149,7.3422154 20.23343,7.479854 20.052405,7.6519026 19.871131,7.8167201 19.691352,7.9802913 19.517061,8.1488492 19.35723,8.3321177 19.025101,8.7128687 18.724639,9.1210479 18.436396,9.5354601 18.296263,9.7374301 17.901549,10.472252 17.781115,10.399942 17.654198,10.323892 17.495365,9.5905657 17.435023,9.3843566 17.351243,9.0978583 17.29539,8.8016361 17.161741,8.5323425 16.97922,8.1643081 16.865268,7.7623629 16.608941,7.4307332 16.325934,7.0639457 16.001036,6.9584722 15.558946,7.092371 c -0.43436,0.1314054 -0.78469,0.4049374 -1.128539,0.6819608 -0.503927,0.4056851 -0.879442,0.926319 -1.256951,1.4439609 -0.28226,0.387483 -0.284753,0.3857373 0.04488,0.7380631 0.206458,0.2211702 0.202718,0.2184272 0.389229,-0.00847 0.2663,-0.3251469 0.524872,-0.6595196 0.882433,-0.8934057 0.261315,-0.1713009 0.417904,-0.1368908 0.57948,0.1326518 0.07929,0.1326517 0.146866,0.2752777 0.200225,0.4208957 0.335619,0.9141014 0.590201,1.8541344 0.89191,2.7784594 0.03815,0.117691 -0.01122,0.193991 -0.06707,0.278519 -0.356565,0.538837 -0.719363,1.074182 -1.123054,1.578607 -0.320409,0.401198 -0.643312,0.803891 -1.073932,1.097621 -0.187757,0.128912 -0.40768,0.217679 -0.635831,0.156839 -0.233887,-0.06283 -0.37377,-0.27478 -0.587459,-0.373521 -0.006,-0.003 -0.01272,-0.0052 -0.01895,-0.0079 -0.09974,-0.04064 -0.249845,-0.0389 -0.353074,-0.01571 -0.454059,0.102482 -0.697669,0.614139 -0.790177,1.023813 -0.08379,0.371776 -0.0013,0.778209 0.261315,1.062463 0.228899,0.24785 0.572248,0.351327 0.901634,0.356315 0.189003,0.0028 0.39995,-0.04663 0.57549,-0.11445 0.670241,-0.262062 1.181649,-0.887172 1.605038,-1.441717 0.285501,-0.374517 0.550555,-0.763994 0.829573,-1.143499 0.230645,-0.313677 0.68595,-1.247726 0.81586,-1.250718 0.07854,-0.0017 0.09924,0.185762 0.114199,0.241117 0.03341,0.123675 0.06658,0.247351 0.102232,0.370279 0.167561,0.578481 0.343848,1.156464 0.525122,1.730458 0.120934,0.384242 0.315921,0.782697 0.560779,1.103356 0.07431,0.09749 0.167311,0.190749 0.26306,0.266799 0.371276,0.296972 0.838799,0.27453 1.266177,0.123177 0.191498,-0.06757 0.370029,-0.163071 0.539335,-0.275527 0.781948,-0.519886 1.340732,-1.244235 1.868598,-2.002495 0.124423,-0.178781 0.107467,-0.278769 -0.03441,-0.428127 -0.367286,-0.386237 -0.357062,-0.389727 -0.705149,0.01995 -0.261066,0.306446 -0.527117,0.612643 -0.879442,0.818851 -0.245855,0.144621 -0.413416,0.103229 -0.592696,-0.118439 -0.14861,-0.183518 -0.246353,-0.396709 -0.33138,-0.614886 -0.349831,-0.901136 -0.588954,-1.838675 -0.885177,-2.757515 -0.21743,-0.674231 -0.223414,-0.680464 0.20945,-1.248723 0.447575,-0.587708 0.875703,-1.1968602 1.462163,-1.6613914 0.431119,-0.3416031 0.73183,-0.3226534 1.129037,0.059094 0.0788,0.075801 0.207456,0.1388856 0.316919,0.1476127 0.369781,0.029674 0.691187,-0.3024566 0.880939,-0.5792304 0.188006,-0.2727835 0.259319,-0.6183768 0.163072,-0.9392845 z"/></svg>');cursor:pointer}._script-editor_iy654_5 .monaco-editor .macro{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M 5.1933594,1.4433594 6.3417969,2.5234375 6.2109375,2.6621094 c -3.466072,3.6769426 -3.467641,9.6565186 0,13.3339846 l 0.1308594,0.136718 -1.1484375,1.082032 -0.1328125,-0.140625 c -4.0371886,-4.28224 -4.0373752,-11.2077961 0,-15.4902346 z m 14.4726566,0 0.132812,0.140625 c 4.03717,4.2822197 4.037356,11.2058636 0,15.4882816 l -0.132812,0.140625 -1.148438,-1.080079 0.130859,-0.138671 c 3.465532,-3.675243 3.466902,-9.6542123 0,-13.3320316 L 18.517578,2.5234375 Z M 7.7597656,4.4335937 8.8769531,5.5488281 8.7421875,5.6816406 c -2.0366665,2.0366662 -2.037411,5.3404354 0,7.3769534 L 8.8769531,13.191406 7.7597656,14.310547 7.625,14.173828 C 4.9718615,11.520692 4.9723209,7.222936 7.6269531,4.5683594 Z m 9.3398434,0 0.132813,0.1347657 c 2.653779,2.6537788 2.65545,6.9500666 0,9.6054686 l -0.132813,0.136719 -1.117187,-1.119141 0.134765,-0.132812 c 2.036637,-2.035554 2.037534,-5.3391996 0,-7.3769534 L 15.982422,5.5488281 Z m -4.669921,1.7011719 c 0.811773,0 1.627703,0.304374 2.25,0.90625 1.260638,1.2198223 1.260413,3.1986104 0,4.4179684 -0.355144,0.343115 -0.779063,0.585007 -1.226563,0.732422 l -0.234375,0.07617 v 3.386719 h 0.002 v 6.048828 c 0,0.436615 -0.351565,0.791016 -0.789062,0.791016 -0.43763,0 -0.791016,-0.354618 -0.791016,-0.791016 v -3.308594 -6.126953 l -0.234375,-0.07617 c -0.448339,-0.147699 -0.871819,-0.38969 -1.226562,-0.732422 -1.2608671,-1.22004 -1.2605877,-3.1984433 0,-4.4179684 0.62227,-0.6019293 1.438264,-0.90625 2.25,-0.90625 z m 0,1.5820313 c -0.417461,0 -0.829931,0.1510762 -1.146485,0.4570312 -0.615751,0.5967629 -0.616877,1.5583713 0,2.1562499 0.314469,0.303373 0.726552,0.455078 1.146485,0.455078 0.421182,0 0.833304,-0.153008 1.148437,-0.457031 0.61548,-0.5965047 0.616739,-1.5585025 0,-2.15625 C 13.261859,7.8661993 12.846121,7.7167969 12.429688,7.7167969 Z"/></svg>');cursor:pointer}._script-editor_iy654_5 .monaco-editor .autorun{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M10 15h5.88c.27-.31.67-.5 1.12-.5.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5c-.44 0-.84-.19-1.12-.5H11.9c-.46 2.28-2.48 4-4.9 4-2.76 0-5-2.24-5-5 0-2.42 1.72-4.44 4-4.9v2.07c-1.16.41-2 1.53-2 2.83 0 1.65 1.35 3 3 3s3-1.35 3-3zm2.5-11c1.65 0 3 1.35 3 3h2c0-2.76-2.24-5-5-5s-5 2.24-5 5c0 1.43.6 2.71 1.55 3.62l-2.35 3.9c-.68.14-1.2.75-1.2 1.48 0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5c0-.16-.02-.31-.07-.45l3.38-5.63C10.49 9.61 9.5 8.42 9.5 7c0-1.65 1.35-3 3-3m4.5 9c-.64 0-1.23.2-1.72.54l-3.05-5.07C11.53 8.35 11 7.74 11 7c0-.83.67-1.5 1.5-1.5S14 6.17 14 7c0 .15-.02.29-.06.43l2.19 3.65c.28-.05.57-.08.87-.08 2.76 0 5 2.24 5 5s-2.24 5-5 5c-1.85 0-3.47-1.01-4.33-2.5h2.67c.48.32 1.05.5 1.66.5 1.65 0 3-1.35 3-3s-1.35-3-3-3"/></svg>');cursor:pointer}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { FormulaError as
|
|
3
|
-
import { LicenseManager as
|
|
4
|
-
import { ReactUtils as lt, useImperativeElement as _t, useCallbackRef as ie, KeyCodes as It, SimpleCommand as Ge, Command as X, KeyModifiers as te, CommandGroup as Co, useCopyPaste as
|
|
2
|
+
import { FormulaError as ei, NumberFormat as Kt, ICell as Yt, IBorder as Et, ITextFrame as we, GeomUtils as Rt, ScalarType as Gn, IFont as ct, IRange as qe, LicenseManager as ti, IColor as el, AutoFill as tl, ISheetView as en, Color as ni, IFill as ho, RangeClipboardItem as nl, ExternalRangeClipboardItem as ol, TextUtils as er, IAnchored as ln, CoordUtils as rl, ThemeCollection as il } from "@sheetxl/sdk";
|
|
3
|
+
import { LicenseManager as Nd } from "@sheetxl/sdk";
|
|
4
|
+
import { ReactUtils as lt, useImperativeElement as _t, useCallbackRef as ie, KeyCodes as It, SimpleCommand as Ge, Command as X, KeyModifiers as te, CommandGroup as Co, useCopyPaste as oi, useEditMode as un, useGlobalClipboard as ll, NotificationType as tr, useCommands as ri, ScrollbarOrientation as an, VirtualScrollbar as al, MouseButtonCodes as ii, ToolTipPlacement as Ln, DefaultNotifier as sl, HorizontalAlignment as dl, ScrollPane as cl, useFullscreenPortal as ul, defaultCreateScrollStartButton as gl, defaultCreateScrollEndButton as hl, defaultCreateScrollEdgeButton as ml, ScrollUtils as gr } from "@sheetxl/utils-react";
|
|
5
5
|
export * from "@sheetxl/utils-react";
|
|
6
6
|
import { jsx as f, jsxs as Qe, Fragment as Sn } from "react/jsx-runtime";
|
|
7
7
|
import { CommonUtils as et, AnchorLocation as yt, TypesUtils as _n, CoordUtils as qt } from "@sheetxl/utils";
|
|
8
|
-
import nt, { memo as ft, useMemo as Ce, useState as he, forwardRef as wt, useRef as ke, useEffect as be, useLayoutEffect as Bt, useCallback as Ke, version as
|
|
9
|
-
import { STANDARD_KEY_CHARS as
|
|
10
|
-
import { unstable_batchedUpdates as Hn, createPortal as
|
|
8
|
+
import nt, { memo as ft, useMemo as Ce, useState as he, forwardRef as wt, useRef as ke, useEffect as be, useLayoutEffect as Bt, useCallback as Ke, version as pl, useReducer as sn, Suspense as li, createElement as fl, createContext as xn, useContext as Xt, cloneElement as vl, useImperativeHandle as wl } from "react";
|
|
9
|
+
import { STANDARD_KEY_CHARS as yl, useSelection as ai, useHeaderSelection as bl, HeaderRenderer as ql, Grid as si, HeaderDivider as Cl, SELECTION_CLIP_INSETS as Go, defaultSelectionRenderer as Sl, useKeyboardEditorOverlay as xl, Selection as di, SVGLine as ao } from "@sheetxl/grid-react";
|
|
10
|
+
import { unstable_batchedUpdates as Hn, createPortal as ci } from "react-dom";
|
|
11
11
|
/**
|
|
12
|
-
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.
|
|
12
|
+
* @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.6.9
|
|
13
13
|
*
|
|
14
14
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
15
15
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
16
16
|
*/
|
|
17
|
-
const Zn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e),
|
|
17
|
+
const Zn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), Js = Object.freeze(Object.defineProperty({ __proto__: null, nowWithPrecision: Zn }, Symbol.toStringTag, { value: "Module" })), ui = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 36, 48, 72]), _o = (e, t = !0, n = ui) => {
|
|
18
18
|
if (!n || n.length === 0) return e;
|
|
19
19
|
if (e === void 0) return n[0];
|
|
20
20
|
if (t && e >= n[n.length - 1] || !t && e <= n[0]) return e;
|
|
21
21
|
let r = et.findEqualOrGreater(n, e);
|
|
22
22
|
return t ? (n[r] === e && (r += 1), n[r] || (r -= 1), n[r]) : (r -= 1, n[r]);
|
|
23
|
-
},
|
|
23
|
+
}, Qs = Object.freeze(Object.defineProperty({ __proto__: null, DefaultFontSizes: ui, findNextFontSize: _o }, Symbol.toStringTag, { value: "Module" })), hr = ft((e) => {
|
|
24
24
|
const { anchorLocation: t = yt.TopLeft, cellWidth: n, cellHeight: r, size: i = 7, inset: o = 1, darkMode: l, fill: c, pathProps: h, style: s, ...S } = e, d = i, g = o;
|
|
25
25
|
let x = "red", y = [], D = [];
|
|
26
26
|
return t === yt.TopLeft ? (x = l ? "rgb(255, 198, 246)" : "green", y.push(g), D.push(g), y.push(g + d), D.push(g), y.push(g), D.push(g + d)) : t === yt.TopRight ? (x = l ? "rgb(0, 255, 255)" : "red", y.push(n - g), D.push(g), y.push(n - (g + d)), D.push(g), y.push(n - g), D.push(g + d)) : t === yt.BottomRight ? (x = l ? "rgb(236, 252, 211)" : "purple", y.push(n - g), D.push(r - g), y.push(n - (g + d)), D.push(r - g), y.push(n - g), D.push(r - (g + d))) : t === yt.BottomLeft && (x = l ? "rgb(255, 236, 183)" : "blue", y.push(g), D.push(r - g), y.push(g + d), D.push(r - g), y.push(g), D.push(r - (g + d))), f("svg", { width: `${n}`, height: `${r}`, viewBox: `0 0 ${n} ${r}`, style: { position: "absolute", width: `${n}px`, height: `${r}px`, pointerEvents: "none", ...s }, ...S, children: f("path", { d: `M ${y[0]} ${D[0]} L ${y[1]} ${D[1]} L ${y[2]} ${D[2]} L ${y[0]} ${D[0]} Z`, fill: c ?? x, ...h }) });
|
|
27
|
-
}),
|
|
27
|
+
}), kl = (e) => {
|
|
28
28
|
const { renderBounds: t, darkMode: n, zoom: r, disabled: i, filter: o, onFilterButtonMouseDown: l, style: c, ...h } = e, s = Ce(() => {
|
|
29
29
|
let x = null;
|
|
30
30
|
const y = o.getSortField();
|
|
@@ -35,10 +35,10 @@ const Zn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), Xs = Object.fr
|
|
|
35
35
|
return f("div", { style: { width: `${g}px`, height: `${g}px`, right: "0px", boxShadow: `0px 0px 0px 0.5px var(${S && !i ? "--sxl-app-color-primary-light, rgba(0,0,0,.55)" : "--sxl-app-color-border-button, grey"})`, backgroundColor: "var(--sxl-app-color-button-fill, white)", backgroundImage: "var(--sxl-app-image-background)", borderRadius: (g > 12 ? 1 : 0) + "px", marginRight: "2px", display: "flex", alignItems: "center", justifyContent: "center", cursor: i ? void 0 : "pointer", ...c }, onMouseEnter: () => d(!0), onMouseLeave: () => d(!1), onMouseDown: (x) => {
|
|
36
36
|
l?.(x, o), x.preventDefault();
|
|
37
37
|
}, ...h, children: f("svg", { width: "" + 15 * r, height: "" + 15 * r, viewBox: "0 0 15 15", style: { fill: `var(${S && !i ? "--sxl-app-color-primary-dark" : "--sxl-app-color-button-text"}, grey)`, opacity: i ? 0.6 : 1 }, children: f("path", { d: s }) }) });
|
|
38
|
-
},
|
|
39
|
-
const { value: t, coords: n, bounds: r, children: i, style: o, range: l, zoom: c = 1, view: h, bodyStyle: s, normalStyle: S, showFormulas: d, showZeros: g, docTheme: x, onLinkMouseDown: y, onFilterButtonMouseDown: D, filterButtonProps: E, createFilterButton: j =
|
|
38
|
+
}, Rl = (e) => {
|
|
39
|
+
const { value: t, coords: n, bounds: r, children: i, style: o, range: l, zoom: c = 1, view: h, bodyStyle: s, normalStyle: S, showFormulas: d, showZeros: g, docTheme: x, onLinkMouseDown: y, onFilterButtonMouseDown: D, filterButtonProps: E, createFilterButton: j = kl, ...H } = e, M = r.height / c, O = r.width / c, v = t, w = v.getValue(), C = t.getStyle(), N = s?.darkMode ?? !1;
|
|
40
40
|
let R, T;
|
|
41
|
-
const W = w && w.isFormulaError, U = W && w instanceof
|
|
41
|
+
const W = w && w.isFormulaError, U = W && w instanceof ei.Parse;
|
|
42
42
|
let B, L = d || U;
|
|
43
43
|
if (L) if (v.isSpillOverflow()) T = "";
|
|
44
44
|
else {
|
|
@@ -241,7 +241,7 @@ const Zn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), Xs = Object.fr
|
|
|
241
241
|
if (!e.clean().getStyle().getNumberFormat().endsWith("%")) return !1;
|
|
242
242
|
const n = t ?? e.dirty ?? "";
|
|
243
243
|
return n.length === 0 || n.endsWith("%") && !isNaN(parseFloat(n.substring(0, n.length - 1)));
|
|
244
|
-
},
|
|
244
|
+
}, Tl = Object.freeze([It.Delete, It.Home, It.End]), Ml = ft(wt((e, t) => {
|
|
245
245
|
const { editState: n, onStartEdit: r, onChangeEdit: i, onSubmitEdit: o, onCancelEdit: l, onDoneEdit: c, defaultTextStyle: h, useRichStyling: s = !0, bodyStyle: S, activeCoords: d, sheet: g, commands: x, containerBounds: y, setNaturalDimensions: D, onFocus: E, disabled: j, style: H, zoom: M = 1, linesVisible: O, autoFocus: v = !1, ...w } = e, { height: C = 0, width: N = 0 } = y ?? {}, R = S?.darkMode ?? !1, T = ke(null), [W, U] = he(!1), [B, L] = he(null), [P, ee] = he(() => n);
|
|
246
246
|
be(() => {
|
|
247
247
|
Xe.current = !1, ee(n);
|
|
@@ -317,7 +317,7 @@ const Zn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), Xs = Object.fr
|
|
|
317
317
|
Xe.current = !0, ee(n), l?.(), c?.();
|
|
318
318
|
}, [l, n]), me = ie((q) => {
|
|
319
319
|
if (!A.current) return;
|
|
320
|
-
if (q.key, q.isDefaultPrevented(), !(q.isTrusted || q.nativeEvent.ctrlKey || q.nativeEvent.metaKey || q.nativeEvent.altKey || q.nativeEvent.isComposing ||
|
|
320
|
+
if (q.key, q.isDefaultPrevented(), !(q.isTrusted || q.nativeEvent.ctrlKey || q.nativeEvent.metaKey || q.nativeEvent.altKey || q.nativeEvent.isComposing || yl.indexOf(q.nativeEvent.key) === -1 && q.nativeEvent.key !== "Backspace")) {
|
|
321
321
|
const p = { ...P };
|
|
322
322
|
let I = 0;
|
|
323
323
|
return pr(p, p.dirty) && !isNaN(parseFloat(q.key)) ? (p.dirty?.endsWith("%") ? p.dirty = (p.dirty.substring(0, p.dirty.length - 1) ?? "") + q.key + "%" : p.dirty = (p.dirty ?? "") + q.key + "%", I = p.dirty.length - 1) : q.nativeEvent.key === "Backspace" ? (p.dirty = "", I = p.dirty.length) : (p.dirty = (p.dirty ?? "") + q.key, I = p.dirty.length), A.current.value = p?.dirty, T.current = { start: I, end: I, direction: "forward" }, A.current?.setSelectionRange(I, I, "forward"), ee(p), De?.(p), void q.preventDefault();
|
|
@@ -352,7 +352,7 @@ const Zn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), Xs = Object.fr
|
|
|
352
352
|
}
|
|
353
353
|
if (k && !(re || F || _ || a) && !P.editMode)
|
|
354
354
|
return void Je();
|
|
355
|
-
P.editMode && (k ||
|
|
355
|
+
P.editMode && (k || Tl.includes(q.which)) && q.stopPropagation();
|
|
356
356
|
}, [P, g, z]), $ = Ke(() => {
|
|
357
357
|
A.current?.focus(), setTimeout(() => {
|
|
358
358
|
A.current?.select();
|
|
@@ -399,7 +399,7 @@ const Zn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), Xs = Object.fr
|
|
|
399
399
|
} });
|
|
400
400
|
return q = x ? x.createChildGroup(re, "editor", !1) : new Co(re, "editor"), q.addCommands(Ae, !0), q;
|
|
401
401
|
}, [x, Ae]), Se = Ce(() => ({ notifier: null, source: ne, target: oe, commands: de }), [ne, oe, de]);
|
|
402
|
-
|
|
402
|
+
oi(Se);
|
|
403
403
|
const [Te, Oe] = he(!v);
|
|
404
404
|
be(() => {
|
|
405
405
|
Oe(!1);
|
|
@@ -434,7 +434,7 @@ const Zn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), Xs = Object.fr
|
|
|
434
434
|
}, onMouseDown: (q) => {
|
|
435
435
|
W && Ee(!0);
|
|
436
436
|
}, onKeyDown: me }) }) });
|
|
437
|
-
})),
|
|
437
|
+
})), Dl = (e, t) => ({ clean: e, dirty: t, editMode: !1 }), El = (e) => {
|
|
438
438
|
const { length: t = 0, width: n = 1, dashArray: r = null, dashArrayAdditional: i = null, isDouble: o = !1, isAngled: l = !1, offsetX: c = 0, offsetY: h = 0, isVertical: s = !1, ...S } = e, d = (H) => {
|
|
439
439
|
let M = null;
|
|
440
440
|
if (H && n > 0) {
|
|
@@ -465,7 +465,7 @@ function Vo(e, t) {
|
|
|
465
465
|
if (typeof e == "function") return e(t);
|
|
466
466
|
e && (e.current = t);
|
|
467
467
|
}
|
|
468
|
-
var kn = parseInt(
|
|
468
|
+
var kn = parseInt(pl.split(".")[0], 10) >= 19 ? function(e) {
|
|
469
469
|
return (t) => {
|
|
470
470
|
const n = [];
|
|
471
471
|
for (const r of e) {
|
|
@@ -480,9 +480,9 @@ var kn = parseInt(ml.split(".")[0], 10) >= 19 ? function(e) {
|
|
|
480
480
|
return (t) => {
|
|
481
481
|
for (const n of e) Vo(n, t);
|
|
482
482
|
};
|
|
483
|
-
},
|
|
484
|
-
},
|
|
485
|
-
const dn =
|
|
483
|
+
}, Al = function() {
|
|
484
|
+
}, gi = typeof window < "u", Pn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Il = gi ? Bt : be, fr = { x: 0, y: 0, width: 0, height: 0, top: 0, left: 0, bottom: 0, right: 0 };
|
|
485
|
+
const dn = gi && window.ResizeObserver !== void 0 ? function() {
|
|
486
486
|
var e = he(null), t = e[0], n = e[1], r = he(fr), i = r[0], o = r[1], l = Ce(function() {
|
|
487
487
|
return new window.ResizeObserver(function(c) {
|
|
488
488
|
if (c[0]) {
|
|
@@ -491,14 +491,14 @@ const dn = ui && window.ResizeObserver !== void 0 ? function() {
|
|
|
491
491
|
}
|
|
492
492
|
});
|
|
493
493
|
}, []);
|
|
494
|
-
return
|
|
494
|
+
return Il(function() {
|
|
495
495
|
if (t) return l.observe(t), function() {
|
|
496
496
|
l.disconnect();
|
|
497
497
|
};
|
|
498
498
|
}, [t]), [n, i];
|
|
499
499
|
} : function() {
|
|
500
|
-
return [
|
|
501
|
-
},
|
|
500
|
+
return [Al, fr];
|
|
501
|
+
}, zl = (e, t) => e.colStart === t.colStart ? e.rowStart - t.rowStart : e.colStart - t.colStart, Fl = (e, t) => e.rowStart === t.rowStart ? e.colStart - t.colStart : e.rowStart - t.rowStart, Nl = (e) => {
|
|
502
502
|
const { key: t, points: n, range: r, stroke: i, darkMode: o, forceThinBorder: l = !1, shiftIfWide: c = !1, isVertical: h = !1, intersections: s, layout: S } = e, d = Et.BuiltInDefinitions.get(l ? Et.StrokeStyle.Thin : i.getStyle());
|
|
503
503
|
if (!d) return null;
|
|
504
504
|
const g = n[0], x = n[1], y = n[2], D = n[3];
|
|
@@ -532,8 +532,8 @@ const dn = ui && window.ResizeObserver !== void 0 ? function() {
|
|
|
532
532
|
}
|
|
533
533
|
let R = h ? -Math.floor(d.width / 2) : -j, T = h ? -j : -Math.floor(d.width / 2);
|
|
534
534
|
const W = c && d.width > 2 ? -1 : 0;
|
|
535
|
-
return f(
|
|
536
|
-
},
|
|
535
|
+
return f(El, { offsetX: g + R + W, offsetY: x + T + W, length: E + j, isVertical: h, stroke: H, width: d.width, dashArray: O ?? d.pattern, dashArrayAdditional: v, isDouble: M, isAngled: d.description.toLowerCase().includes("slant") }, t);
|
|
536
|
+
}, hi = ({ getBorderAt: e, borderRenderer: t = Nl, getVisibleCells: n, darkMode: r, forceThinBorder: i = !1, defaultColor: o = "black", shiftIfWide: l = !1 }) => {
|
|
537
537
|
const c = ie(n, [n]);
|
|
538
538
|
return { overlay: Ce(() => (s) => {
|
|
539
539
|
const S = s.toClipBounds(s.getRangeCoordsBounds(), -3);
|
|
@@ -592,7 +592,7 @@ const dn = ui && window.ResizeObserver !== void 0 ? function() {
|
|
|
592
592
|
P && U.push(P);
|
|
593
593
|
}), U;
|
|
594
594
|
};
|
|
595
|
-
y = y.sort(
|
|
595
|
+
y = y.sort(Fl), D = D.sort(zl);
|
|
596
596
|
const C = w(H, E, !1), N = w(M, j, !0);
|
|
597
597
|
if (C.length === 0 && N.length === 0) return null;
|
|
598
598
|
for (let R = 0; R < N.length; R++) {
|
|
@@ -617,9 +617,9 @@ const dn = ui && window.ResizeObserver !== void 0 ? function() {
|
|
|
617
617
|
}
|
|
618
618
|
return f("svg", { width: `${S.width}`, height: `${S.height}`, viewBox: `0 0 ${S.width} ${S.height}`, preserveAspectRatio: "none", shapeRendering: "crispEdges", style: { position: "absolute", left: "0px", top: "0px", width: `${S.width}px`, height: `${S.height}px`, pointerEvents: "none", transitionTimingFunction: "linear", transitionDelay: "0", transitionProperty: "left, top, width, height", willChange: "left, top, width, height, stroke-dashoffset", overflow: "visible" }, children: O }, "borders");
|
|
619
619
|
}, [e, r]) };
|
|
620
|
-
}, vr = yt.Center,
|
|
620
|
+
}, vr = yt.Center, Ll = Object.freeze({ horizontal: !1, vertical: !1 }), wr = _n.EmptyTopLeft, Ol = (e, t) => qt.EmptyCell, Bl = (e, t) => new Promise((n, r) => {
|
|
621
621
|
r("StaticBorderRenderer does not support scrolling");
|
|
622
|
-
}),
|
|
622
|
+
}), ed = ft((e) => {
|
|
623
623
|
const { getBorderAt: t, width: n, height: r, style: i, rowCount: o = 2, columnCount: l = 2, darkMode: c, forceThinBorder: h, children: s, ...S } = e, d = ke(null), [g, { width: x, height: y }] = dn(), D = n ?? x, E = r ?? y, j = Ce(() => {
|
|
624
624
|
const P = [];
|
|
625
625
|
for (let ee = 0; ee < o; ee++) for (let z = 0; z < l; z++) {
|
|
@@ -627,7 +627,7 @@ const dn = ui && window.ResizeObserver !== void 0 ? function() {
|
|
|
627
627
|
P.push({ coords: A, value: A });
|
|
628
628
|
}
|
|
629
629
|
return P;
|
|
630
|
-
}, []), H = Ke((P) => j, [j]), { overlay: M } =
|
|
630
|
+
}, []), H = Ke((P) => j, [j]), { overlay: M } = hi({ getVisibleCells: H, getBorderAt: t, darkMode: c, forceThinBorder: h }), O = Math.floor(D / l), v = Math.floor(E / o), w = { getColOffset: (P) => Math.ceil(P * O) + 0, getRowOffset: (P) => Math.ceil(P * v) + 0, getColIndex: (P) => Math.floor((P - 0) / O) - 1, getRowIndex: (P) => Math.floor((P - 0) / v) - 1 }, C = { rowStart: 0, colStart: 0, rowEnd: o, colEnd: l }, N = { x: 0, y: 0, width: Math.max(0, D) + 0, height: Math.max(0, E) + 0 }, R = Ce(() => {
|
|
631
631
|
const P = {}, ee = Math.floor(D / l);
|
|
632
632
|
for (let z = 0; z < l; z++) P[z] = { offset: z * ee, size: ee, spanIndex: z };
|
|
633
633
|
return P;
|
|
@@ -645,30 +645,30 @@ const dn = ui && window.ResizeObserver !== void 0 ? function() {
|
|
|
645
645
|
const P = [];
|
|
646
646
|
for (let ee = 0; ee < l; ee++) P.push(ee);
|
|
647
647
|
return P;
|
|
648
|
-
}, toClipBounds: (P, ee) => N, toViewBounds: (P) => P, toAbsoluteBounds: (P) => P, getBounds: () => N, getInsets: () => null, getRangeCoordsBounds: (P, ee) => null, getVisibleColumnOffsets: () => R, getVisibleRowOffsets: () => T, allViews: () => ({ [vr]: B }), getAnchor: () => vr, getZoom: () => 1, scrollCellCoordsIntoView:
|
|
648
|
+
}, toClipBounds: (P, ee) => N, toViewBounds: (P) => P, toAbsoluteBounds: (P) => P, getBounds: () => N, getInsets: () => null, getRangeCoordsBounds: (P, ee) => null, getVisibleColumnOffsets: () => R, getVisibleRowOffsets: () => T, allViews: () => ({ [vr]: B }), getAnchor: () => vr, getZoom: () => 1, scrollCellCoordsIntoView: Bl, getCellCoordsFromClient: Ol, getScrollOrientation: () => Ll, getScrollTopLeft: () => wr, getFreezeTopLeft: () => wr }, L = M(B);
|
|
649
649
|
return Qe("div", { style: { ...i, position: "relative", display: "flex" }, ...S, children: [f("div", { ref: kn([d, g]), style: { flex: "1 1 100%", display: "flex", maxWidth: "100%", maxHeight: "100%" }, children: s }), L] });
|
|
650
650
|
});
|
|
651
|
-
function
|
|
651
|
+
function mi(e) {
|
|
652
652
|
var t, n, r = "";
|
|
653
653
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
654
654
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
655
655
|
var i = e.length;
|
|
656
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
656
|
+
for (t = 0; t < i; t++) e[t] && (n = mi(e[t])) && (r && (r += " "), r += n);
|
|
657
657
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
658
658
|
return r;
|
|
659
659
|
}
|
|
660
660
|
function Vt() {
|
|
661
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
661
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = mi(e)) && (r && (r += " "), r += t);
|
|
662
662
|
return r;
|
|
663
663
|
}
|
|
664
|
-
const
|
|
664
|
+
const Vl = "_sheetxl-sheet_1qeq6_5", Hl = "_viewport-overlay_1qeq6_6", Pl = (e) => {
|
|
665
665
|
const { style: t, ...n } = e ?? {};
|
|
666
666
|
return Qe("svg", { style: { width: "135px", height: "37px", ...t }, viewBox: "0 0 135 37", ...n, children: [f("path", { d: "M 1.0984,0 C 0.4978,0 0.01,0.40548 0.01,0.90302 v 19.5766 H 0 v 15.61762 c 0,0.30574 0.185,0.57535 0.466,0.73886 v 0.1426 H 0.8565 C 0.9315,36.992 1.0086,37 1.0883,37 H 13.063 25.9706 v 0 h 8.7553 c 0.08,0 0.1563,-0.008 0.2308,-0.0213 h 0.054 v -0.0141 c 0.4621,-0.10457 0.8035,-0.45175 0.8035,-0.86739 v -15.312 c 0,-0.0328 0.01,-0.0658 0.01,-0.0995 V 0.90304 C 35.8242,0.4052 35.3363,6e-5 34.7358,6e-5 H 22.5969 V 1.7e-4 H 21.0014 V 6e-5 Z", fill: "#547dbe", fillRule: "evenodd" }), f("path", { d: "M 1.4849,2.09543 V 9.06408 H 8.1947 V 2.09543 Z m 8.6592,0 V 9.06408 H 16.854 V 2.09543 Z m 8.685,0 v 6.96865 h 6.7098 V 2.09543 Z m 8.7355,0 v 6.96865 h 6.7099 V 2.09543 Z M 1.4849,11.04391 v 6.81444 h 6.7098 v -6.81444 z m 8.6592,0 v 6.81444 h 6.7099 v -6.81444 z m 8.685,0 v 6.81444 h 6.7098 v -6.81444 z m 8.7355,0 v 6.81444 h 6.7099 V 11.04391 Z M 1.4849,19.83872 v 6.68584 h 6.7098 v -6.68584 z m 8.6592,0 v 6.68584 h 6.7351 v -6.68584 z m 8.685,0 v 6.68584 h 6.7098 v -6.68584 z m 8.7355,0 v 6.68584 h 6.7099 v -6.68584 z m -26.052,8.38811 v 6.68588 h 6.7098 v -6.68588 z m 8.6592,0 v 6.68588 h 6.7355 v -6.68588 z m 8.685,0 v 6.68588 h 6.7099 v -6.68588 z m 8.7356,0 v 6.68588 h 6.7098 v -6.68588 z", fill: "#ffffff", fillRule: "evenodd" }), f("path", { d: "m 1.4785,2.09737 v 6.96865 h 6.741 V 2.09737 Z m 0,8.94851 v 6.81449 h 6.741 v -6.81449 z m 0,8.79485 v 6.6858 h 6.741 v -6.6858 z m 0.028,8.388 v 6.68588 h 6.741 v -6.68588 z", fill: "#547dbe", fillRule: "evenodd", strokeWidth: "0.4" }), f("path", { d: "M 120.9895,32.82218 V 10.13469 h 4.7986 v 18.71559 h 9.2153 v 3.9719 z m 0.4853,0 h -5.4976 l -5.275,-8.57923 -5.2751,8.57923 h -5.1481 l 7.5314,-11.69325 -7.0545,-10.99424 h 5.3067 l 4.8936,8.16618 4.7986,-8.16618 h 5.1796 l -7.118,11.24826 z M 95.9361,29.04099 c 0.5297,0 1.0381,-0.053 1.5254,-0.15888 0.4872,-0.10591 0.9745,-0.23299 1.4617,-0.3813 v 3.52703 c -0.5084,0.21183 -1.144,0.39189 -1.9066,0.54018 -0.7415,0.16946 -1.5571,0.2542 -2.4469,0.2542 -1.038,0 -1.9701,-0.16947 -2.7964,-0.5084 -0.805,-0.33894 -1.4511,-0.92148 -1.9384,-1.74763 -0.466,-0.84734 -0.6991,-2.01241 -0.6991,-3.49526 v -8.35686 h -2.2562 v -2.00181 l 2.6058,-1.58876 1.3664,-3.65411 h 3.0189 v 3.6859 h 4.8619 v 3.55878 h -4.8619 v 8.35686 c 0,0.65668 0.1906,1.15449 0.5719,1.49342 0.3814,0.31776 0.8792,0.47664 1.4935,0.47664 z M 79.1445,14.83743 c 2.3939,0 4.29,0.68847 5.6882,2.06535 1.3983,1.35581 2.0972,3.29411 2.0972,5.81491 v 2.28769 H 75.7444 c 0.042,1.33475 0.4342,2.38315 1.1758,3.14596 0.7626,0.76244 1.8113,1.14385 3.1459,1.14385 1.1227,0 2.1396,-0.10609 3.0506,-0.3179 0.9109,-0.23311 1.8536,-0.58257 2.8283,-1.0484 v 3.654 c -0.8476,0.42362 -1.7479,0.73087 -2.7012,0.92139 -0.9322,0.21181 -2.0655,0.3179 -3.4001,0.3179 -1.7373,0 -3.2731,-0.3179 -4.6078,-0.95333 -1.3346,-0.65673 -2.3833,-1.64162 -3.1459,-2.95507 -0.7627,-1.31344 -1.144,-2.96571 -1.144,-4.9568 0,-2.03367 0.3389,-3.71788 1.0169,-5.05235 0.6991,-1.35578 1.6629,-2.37258 2.8917,-3.0504 1.2286,-0.67783 2.6586,-1.0168 4.2899,-1.0168 z m 0.032,3.36815 c -0.911,0 -1.6736,0.29653 -2.2879,0.88967 -0.5933,0.59322 -0.9428,1.51461 -1.0487,2.76455 h 6.6415 c -0.021,-1.05904 -0.2967,-1.92796 -0.8262,-2.60567 -0.5297,-0.69905 -1.3559,-1.04855 -2.4787,-1.04855 z m -17.011,-3.36815 c 2.3939,0 4.29,0.68847 5.6882,2.06535 1.3982,1.35581 2.0973,3.29411 2.0973,5.81491 v 2.28769 H 58.7653 c 0.042,1.33475 0.4343,2.38315 1.1758,3.14596 0.7627,0.76244 1.8113,1.14385 3.1459,1.14385 1.1228,0 2.1397,-0.10609 3.0507,-0.3179 0.911,-0.23311 1.8536,-0.58257 2.8282,-1.0484 v 3.654 c -0.8475,0.42362 -1.7478,0.73087 -2.7011,0.92139 -0.9321,0.21181 -2.0655,0.3179 -3.4002,0.3179 -1.7372,0 -3.273,-0.3179 -4.6077,-0.95333 -1.3347,-0.65673 -2.3833,-1.64162 -3.1459,-2.95507 -0.7627,-1.31344 -1.144,-2.96571 -1.144,-4.9568 0,-2.03367 0.3389,-3.71788 1.0168,-5.05235 0.6991,-1.35578 1.6631,-2.37258 2.8918,-3.0504 1.2287,-0.67783 2.6587,-1.0168 4.2899,-1.0168 z m 0.032,3.36815 c -0.911,0 -1.6736,0.29653 -2.288,0.88967 -0.5931,0.59322 -0.9427,1.51461 -1.0486,2.76455 h 6.6414 c -0.021,-1.05904 -0.2965,-1.92796 -0.8262,-2.60567 -0.5297,-0.69905 -1.3558,-1.04855 -2.4786,-1.04855 z M 41.7033,13.59817 c 0,0.84739 -0.032,1.66288 -0.095,2.44668 -0.042,0.78385 -0.085,1.33456 -0.1271,1.65231 h 0.2542 c 0.5508,-0.88968 1.2605,-1.53575 2.1291,-1.93827 0.8686,-0.40251 1.8325,-0.60371 2.8917,-0.60371 1.8855,0 3.3896,0.50838 4.5124,1.52518 1.144,0.99558 1.716,2.60556 1.716,4.82998 V 32.82218 H 48.2498 V 22.68575 c 0,-2.49951 -0.9322,-3.74937 -2.7964,-3.74937 -1.4194,0 -2.4045,0.49788 -2.9553,1.49362 -0.5297,0.97424 -0.7945,2.38314 -0.7945,4.22592 v 8.16626 H 36.9688 V 8.67305 h 4.7348 z", fill: "#eb594d" }), f("path", { d: "m 23.345,4.88926 c 1.4307,0 2.8282,0.229 4.1916,0.68692 1.3636,0.45803 2.6999,1.15712 4.0084,2.09748 l -1.8344,2.50966 C 28.6222,9.40175 27.5522,8.82162 26.5004,8.44306 25.4486,8.0645 24.3968,7.87524 23.345,7.87524 c -1.9935,0 -3.5435,0.40902 -4.6503,1.22728 -1.1068,0.81819 -1.6601,1.97842 -1.6601,3.48048 v 0.0183 c 0,1.05019 0.3179,1.8502 0.9538,2.39973 0.636,0.54952 1.4615,0.95869 2.4765,1.22731 1.015,0.26862 2.0975,0.51907 3.2468,0.75111 1.003,0.20755 1.9996,0.44872 2.9905,0.7235 0.9905,0.27478 1.8922,0.66562 2.7057,1.1724 0.813,0.50679 1.4615,1.1937 1.9444,2.06075 0.4832,0.86705 0.7247,1.99672 0.7247,3.38884 v 0.0367 c 0,2.45464 -0.8561,4.35355 -2.5682,5.69703 -1.7122,1.34311 -4.1216,2.01505 -7.2278,2.01505 -1.2963,0 -2.5162,-0.12207 -3.6598,-0.36658 -1.1434,-0.24413 -2.2134,-0.61071 -3.2102,-1.09898 -0.9968,-0.48864 -1.9292,-1.09897 -2.7975,-1.83175 l 1.9628,-2.47308 c 1.0763,0.92809 2.2534,1.62428 3.5314,2.08825 1.2779,0.46431 2.669,0.69627 4.1733,0.69627 2.1158,0 3.7513,-0.40613 4.9071,-1.21827 1.1558,-0.81214 1.7335,-1.95096 1.7335,-3.4164 v -0.0183 c 0,-1.06247 -0.2872,-1.87762 -0.8622,-2.44543 -0.5746,-0.56786 -1.3267,-0.99528 -2.2563,-1.28234 -0.9292,-0.28695 -1.9383,-0.52812 -3.0267,-0.72354 -1.0397,-0.18314 -2.0822,-0.39685 -3.1278,-0.64117 -1.0457,-0.24417 -2.0026,-0.60444 -2.8709,-1.08076 -0.8683,-0.47621 -1.5685,-1.15396 -2.1005,-2.0333 -0.532,-0.87933 -0.798,-2.05162 -0.798,-3.5171 v -0.0183 c 0,-2.4792 0.8255,-4.39955 2.4766,-5.7611 1.651,-1.36167 3.9807,-2.04258 6.9892,-2.04258 z", stroke: "#eb594d", strokeWidth: "2", fill: "#f9cecb" })] });
|
|
667
|
-
},
|
|
667
|
+
}, Wl = ft((e) => {
|
|
668
668
|
const { colorLicensee: t = "blue", colorError: n = "red", colorCredits: r = "grey", credits: i = "All rights reserved - Michael Ford", feature: o, style: l, ...c } = e ?? {}, [h, s] = he(null);
|
|
669
669
|
nt.useEffect(() => {
|
|
670
670
|
(async () => {
|
|
671
|
-
const v = await
|
|
671
|
+
const v = await ti.getDetails();
|
|
672
672
|
s(v);
|
|
673
673
|
})();
|
|
674
674
|
}, []);
|
|
@@ -685,7 +685,7 @@ const Bl = "_sheetxl-sheet_1qeq6_5", Vl = "_viewport-overlay_1qeq6_6", Hl = (e)
|
|
|
685
685
|
if (h === null || h.isValidFor(o)) return null;
|
|
686
686
|
const y = h.type(), D = !x && y.endsWith("ity"), E = h.licensee(), j = D ? 1.6 : 1, H = 135 / j, M = 37 / j;
|
|
687
687
|
let O = null;
|
|
688
|
-
return !y && E?.length > 0 && (O = f("div", { style: { opacity: 0.7, fontWeight: "500", fontSize: "16px", textAlign: "left", color: t }, children: E })), f("div", { style: { pointerEvents: "none", display: "flex", flexDirection: "column", overflow: "hidden", ...l }, ...c, children: Qe("div", { style: { position: "relative", display: "flex", flexDirection: "column" }, children: [S ? f(
|
|
688
|
+
return !y && E?.length > 0 && (O = f("div", { style: { opacity: 0.7, fontWeight: "500", fontSize: "16px", textAlign: "left", color: t }, children: E })), f("div", { style: { pointerEvents: "none", display: "flex", flexDirection: "column", overflow: "hidden", ...l }, ...c, children: Qe("div", { style: { position: "relative", display: "flex", flexDirection: "column" }, children: [S ? f(Pl, { style: g }) : f("svg", { width: H, height: M, style: g, children: f("image", { style: { width: H, height: M }, href: "https://www.sheetxl.com/watermark.svg", onError: () => d(!0) }) }), Qe("div", { children: [O, x, f("div", { style: { height: "0px", fontSize: "16px", textAlign: "left", width: "0px", opacity: 0.8, color: r }, children: i })] })] }) });
|
|
689
689
|
}), ht = (e, t, n) => {
|
|
690
690
|
const r = ke(t);
|
|
691
691
|
r.current = t;
|
|
@@ -706,7 +706,7 @@ const Bl = "_sheetxl-sheet_1qeq6_5", Vl = "_viewport-overlay_1qeq6_6", Hl = (e)
|
|
|
706
706
|
h?.();
|
|
707
707
|
};
|
|
708
708
|
}, [e]);
|
|
709
|
-
},
|
|
709
|
+
}, td = (e, t, n, r) => {
|
|
710
710
|
const i = ke(n);
|
|
711
711
|
i.current = n;
|
|
712
712
|
const o = r?.fireOnAddressChange ?? !0;
|
|
@@ -726,11 +726,11 @@ const Bl = "_sheetxl-sheet_1qeq6_5", Vl = "_viewport-overlay_1qeq6_6", Hl = (e)
|
|
|
726
726
|
c?.();
|
|
727
727
|
};
|
|
728
728
|
}, [e, t]);
|
|
729
|
-
}, so = new
|
|
730
|
-
function
|
|
731
|
-
const { sheet: t, onRepeatCommandChange: n, bodyStyle: r, commands: i, target: o, notifier: l, onStartEdit: c, getViewport: h } = e, [s, S] = he(null), [d, g] = he(null), x = ke(null), y = ie(c, [c]), D = ie(h, [h]), [E, j] = he(), [H, M] = he(() => t?.getStyles().parseColor(
|
|
729
|
+
}, so = new ni("transparent");
|
|
730
|
+
function $l(e) {
|
|
731
|
+
const { sheet: t, onRepeatCommandChange: n, bodyStyle: r, commands: i, target: o, notifier: l, onStartEdit: c, getViewport: h } = e, [s, S] = he(null), [d, g] = he(null), x = ke(null), y = ie(c, [c]), D = ie(h, [h]), [E, j] = he(), [H, M] = he(() => t?.getStyles().parseColor(el.Scheme.Bg2)), [O, v] = he(() => t?.getStyles().getNormal().getFont().getFill()), w = un();
|
|
732
732
|
ke(w.getMode()).current = w.getMode();
|
|
733
|
-
const C =
|
|
733
|
+
const C = ll(), [N, R] = he(et.EmptyArray), T = Ke(() => {
|
|
734
734
|
if (x.current !== t) return;
|
|
735
735
|
const a = t.getSelectedRanges();
|
|
736
736
|
let b = null;
|
|
@@ -1016,7 +1016,7 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
|
|
|
1016
1016
|
const xe = le[0];
|
|
1017
1017
|
se = xe.rowEnd - xe.rowStart, ce = xe.colEnd - xe.colStart;
|
|
1018
1018
|
}
|
|
1019
|
-
b === qe.Direction.Left ? Q = { ...G, colStart: G.colEnd + ce } : b === qe.Direction.Right ? Q = { ...G, colEnd: G.colStart + ce } : b === qe.Direction.Up ? Q = { ...G, rowStart: G.rowEnd + se } : b === qe.Direction.Down && (Q = { ...G, rowEnd: G.rowStart + se }), k.getRange(Q).autoFill(G, { filler:
|
|
1019
|
+
b === qe.Direction.Left ? Q = { ...G, colStart: G.colEnd + ce } : b === qe.Direction.Right ? Q = { ...G, colEnd: G.colStart + ce } : b === qe.Direction.Up ? Q = { ...G, rowStart: G.rowEnd + se } : b === qe.Direction.Down && (Q = { ...G, rowEnd: G.rowStart + se }), k.getRange(Q).autoFill(G, { filler: tl.Types.Copy }), k.getRange(G).autoFit({ orientations: qe.Orientations.Row, skipCustomSize: !0, minContent: !0 });
|
|
1020
1020
|
}
|
|
1021
1021
|
}, { autoSelect: !0, description: a.label() });
|
|
1022
1022
|
});
|
|
@@ -1232,7 +1232,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
1232
1232
|
let m = !0;
|
|
1233
1233
|
for (let V = 0; m && V < a.length; V++) m = qt.isSingleCell(a[V]);
|
|
1234
1234
|
Y(I), at(b.length === 0 && !I && (p || !m));
|
|
1235
|
-
}, [Se, d, t]),
|
|
1235
|
+
}, [Se, d, t]), ri(i, null, { onChange: () => {
|
|
1236
1236
|
const a = !t.getProtection().isFormatCellsAllowed(), b = w.getMode()?.key === "formatPainter";
|
|
1237
1237
|
u.getCommand("formatPainterToggle").update({ disabled: a || !i?.getCommand("copy"), state: () => b }).updateCallback(() => b ? void w.setMode(null) : u.getCommand("copy").execute({ editMode: { key: "formatPainter", description: "Use the mouse to apply the copied format to another selection.", cursor: `url("data:image/svg+xml,%3Csvg width='30' height='22' viewBox='0 0 30 22' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 26.737611,2.811068 V 2.0241451 c 0,-0.4328075 -0.354115,-0.7869227 -0.786923,-0.7869227 h -9.443074 c -0.432808,0 -0.786923,0.3541152 -0.786923,0.7869227 v 3.1476914 c 0,0.4328076 0.354115,0.7869235 0.786923,0.7869235 h 9.443074 c 0.432808,0 0.786923,-0.3541159 0.786923,-0.7869235 V 4.3849137 h 0.786923 v 3.1476915 h -7.869229 v 8.6561518 c 0,0.432808 0.354116,0.786923 0.786923,0.786923 h 1.573846 c 0.432807,0 0.786923,-0.354115 0.786923,-0.786923 V 9.1064513 H 29.09838 V 2.811068 Z M 10.714339,6.2116849 c -1.60877,0.0017 -3.2175361,0.00425 -4.8263048,0.00609 0.0012,1.5756989 0.00158,3.1513905 0.00244,4.7270891 -1.5978311,0.0017 -3.1956617,0.0034 -4.7934919,0.0043 0.00335,1.740011 0.00655,3.480012 0.00988,5.220023 1.5954589,0 3.1909181,0 4.7863775,0 -0.0017,1.606793 -0.00353,3.213585 -0.0051,4.820375 1.7440936,0.0016 3.4881881,0.0033 5.2322842,0.005 -0.0014,-1.608503 -0.0018,-3.217015 -0.0028,-4.825519 1.58518,0 3.17036,0 4.755543,0 0.0033,-1.741851 0.0073,-3.483705 0.01072,-5.225556 -1.58808,0 -3.176158,0 -4.764238,0 0,-1.5775391 0,-3.1550792 0,-4.7326117 -0.135065,1.3e-4 -0.270128,1.982e-4 -0.40519,4.047e-4 z' stroke='black' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A") 7 12, pointer` } }));
|
|
1238
1238
|
} }, [w, Ae, i]), ht(t.getView(), { onFreezeSplitChange: () => {
|
|
@@ -1705,7 +1705,7 @@ Cr || (Cr = 1, Sr.exports = (function() {
|
|
|
1705
1705
|
};
|
|
1706
1706
|
return Ho.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, Ho;
|
|
1707
1707
|
})()), Sr.exports;
|
|
1708
|
-
var xr, kr, On = { exports: {} }, bn = { exports: {} },
|
|
1708
|
+
var xr, kr, On = { exports: {} }, bn = { exports: {} }, Ul = bn.exports;
|
|
1709
1709
|
function Rr(e, t) {
|
|
1710
1710
|
typeof e == "function" ? e(t) : e != null && (e.current = t);
|
|
1711
1711
|
}
|
|
@@ -1726,7 +1726,7 @@ function Rr(e, t) {
|
|
|
1726
1726
|
}, x = Date.now()) : (bn.exports = function() {
|
|
1727
1727
|
return (/* @__PURE__ */ new Date()).getTime() - x;
|
|
1728
1728
|
}, x = (/* @__PURE__ */ new Date()).getTime());
|
|
1729
|
-
}.call(
|
|
1729
|
+
}.call(Ul)), bn.exports), t = typeof window > "u" ? Pn : window, n = ["moz", "webkit"], r = "AnimationFrame", i = t["request" + r], o = t["cancel" + r] || t["cancelRequest" + r], l = 0; !i && l < n.length; l++) i = t[n[l] + "Request" + r], o = t[n[l] + "Cancel" + r] || t[n[l] + "CancelRequest" + r];
|
|
1730
1730
|
if (!i || !o) {
|
|
1731
1731
|
var c = 0, h = 0, s = [], S = 1e3 / 60;
|
|
1732
1732
|
i = function(d) {
|
|
@@ -1757,7 +1757,7 @@ function Rr(e, t) {
|
|
|
1757
1757
|
d || (d = t), d.requestAnimationFrame = i, d.cancelAnimationFrame = o;
|
|
1758
1758
|
}, On.exports;
|
|
1759
1759
|
})();
|
|
1760
|
-
const
|
|
1760
|
+
const pi = ft(wt((e, t) => {
|
|
1761
1761
|
const { style: n = lt.EmptyCssProperties, orientation: r, sheet: i, onShowTooltip: o, onCloseTooltip: l, onScrollOffset: c, showCustomScrollButtons: h = !1, offset: s = 0, totalSize: S = 0, viewportSize: d = 0, ...g } = e;
|
|
1762
1762
|
if (!i) throw new Error("SheetScrollBar needs a sheet model");
|
|
1763
1763
|
const [x] = dn(), y = ie(o, [o]), D = ie(l, [l]), E = Ce(() => j === null && H === null ? null : (ue) => {
|
|
@@ -1791,7 +1791,7 @@ const mi = ft(wt((e, t) => {
|
|
|
1791
1791
|
const Je = ue + w.scroll, Fe = Ee + w.shift, me = Xe + w.shift + w.scroll;
|
|
1792
1792
|
c?.(Je, Fe, me);
|
|
1793
1793
|
}, [c, w]), ae = s - w.scroll, ye = d - w.shift, _e = S - (w.shift + w.scroll), De = U.findOffset(ee) * (i.getView().getZoomScale() / 100) - (w.scroll + w.shift);
|
|
1794
|
-
return f(
|
|
1794
|
+
return f(al, { ref: E, style: n, offset: ae, viewportSize: ye, totalSize: _e, orientation: r, showCustomScrollButtons: h, onMouseDown: (ue) => {
|
|
1795
1795
|
R({ anchor: { x: ue.clientX, y: ue.clientY } }), ue.preventDefault();
|
|
1796
1796
|
}, onScrollOffset: A, onMouseOut: () => {
|
|
1797
1797
|
R(null);
|
|
@@ -1799,7 +1799,7 @@ const mi = ft(wt((e, t) => {
|
|
|
1799
1799
|
R(null);
|
|
1800
1800
|
}, minSize: De, ...g });
|
|
1801
1801
|
}));
|
|
1802
|
-
|
|
1802
|
+
pi.displayName = "SheetScrollbar";
|
|
1803
1803
|
const Tr = (e, t, n = null) => {
|
|
1804
1804
|
const r = [];
|
|
1805
1805
|
for (let i = 0; i < e.length; i++) if (e[i].value.isSelectedAll) {
|
|
@@ -1881,11 +1881,11 @@ const Tr = (e, t, n = null) => {
|
|
|
1881
1881
|
}, [R, n, j, Xe]), oe = () => {
|
|
1882
1882
|
const F = C === qe.Orientation.Column;
|
|
1883
1883
|
return { getColOffset: (_) => F ? n.findOffset(_) : _ === 0 ? 0 : l / z, getColIndex: (_) => F ? n.findIndex(_) : 0, getRowOffset: (_) => F ? _ === 0 ? 0 : l / z : n.findOffset(_), getRowIndex: (_) => F ? 0 : n.findIndex(_) };
|
|
1884
|
-
}, [ge, Ae] = he(() => oe()), de = Ke((F, _) => F.nativeEvent.which !==
|
|
1884
|
+
}, [ge, Ae] = he(() => oe()), de = Ke((F, _) => F.nativeEvent.which !== ii.Right || !me(C === qe.Orientation.Column ? _.colIndex : _.rowIndex), [C, me]), Se = ie((F) => {
|
|
1885
1885
|
i.focusSheet();
|
|
1886
1886
|
}, [i]), Te = ie((F) => {
|
|
1887
1887
|
B?.getSelection().updateCoords(F);
|
|
1888
|
-
}, [B]), { ...Oe } =
|
|
1888
|
+
}, [B]), { ...Oe } = ai({ gridRef: r, commands: null, layout: ge, selection: ue, fillHandleBorderColor: d.body.fill, selectionBackgroundColor: d.selection.fill, selectionBorderColor: d.selection.strokeFill, selectionRemoveBackgroundColor: d.selectionRemove.fill, selectionRemoveBorderColor: d.selectionRemove.strokeFill, disableTouchSelection: !0, onSelectionChange: Te, canSelectionSpanMergedCells: (F) => {
|
|
1889
1889
|
const _ = B.getRange(F);
|
|
1890
1890
|
return _.isEntireColumns() || _.isEntireRows();
|
|
1891
1891
|
} }), u = ie(() => {
|
|
@@ -1894,7 +1894,7 @@ const Tr = (e, t, n = null) => {
|
|
|
1894
1894
|
F && F.setAdjusting(F.getCoords());
|
|
1895
1895
|
}, [B, v]), Pe = ie(async () => {
|
|
1896
1896
|
B?.getSelection().setAdjusting(null), w?.();
|
|
1897
|
-
}, [B, w]), { ...at } =
|
|
1897
|
+
}, [B, w]), { ...at } = bl({ orientation: C, headerCount: P, gridRef: N, gridMainRef: r, newSelection: Oe?.newSelection, modifySelection: Oe?.modifySelection, appendSelection: Oe?.appendSelection, clearSelections: Oe?.clearSelections, pointerDownInterceptor: de, onPointerUp: Se, onDragStart: u, onDragEnd: Pe }), Ye = d.selection?.strokeFill;
|
|
1898
1898
|
be(() => {
|
|
1899
1899
|
if (!N.current) return void ye(null);
|
|
1900
1900
|
const F = C === qe.Orientation.Column, _ = n.getSelectedRuns(), a = n.isProtected() ? null : pe, b = (p, I, m) => {
|
|
@@ -1953,7 +1953,7 @@ const Tr = (e, t, n = null) => {
|
|
|
1953
1953
|
} else ve >= 0 && (le[Q[ve]].showTouchDivider = !0);
|
|
1954
1954
|
}
|
|
1955
1955
|
const { header: se, headerSelect: ce, headerSelectAll: xe, headerHover: fe } = d ?? {};
|
|
1956
|
-
for (let ve = 0; ve < le.length; ve++) I.push(f(
|
|
1956
|
+
for (let ve = 0; ve < le.length; ve++) I.push(f(Cl, { orientation: C, view: p, headerStyle: se, headerStyleSelect: ce, headerStyleSelectAll: xe, headerStyleHover: fe, disabled: n.isProtected(), ...le[ve] }, `divider${ve}`));
|
|
1957
1957
|
return I;
|
|
1958
1958
|
}, (p) => {
|
|
1959
1959
|
const I = [];
|
|
@@ -1965,7 +1965,7 @@ const Tr = (e, t, n = null) => {
|
|
|
1965
1965
|
}, [R]);
|
|
1966
1966
|
const Y = ie((F) => s ? s(F) : n.getTextAt(F), [s, n]), Me = ie((F) => {
|
|
1967
1967
|
const { header: _, headerSelect: a, headerSelectAll: b, headerHover: k } = d ?? {}, { range: p, key: I, ...m } = F;
|
|
1968
|
-
return f(
|
|
1968
|
+
return f(ql, { orientation: C, index: C === qe.Orientation.Column ? p.colStart : p.rowStart, isSelected: Fe, isSelectedAll: me, zoomScale: 100 * z, headerText: Y, headerStyle: _, headerStyleSelect: a, headerStyleSelectAll: b, headerStyleHover: k, verticalPadding: g, horizontalPadding: x, ...m }, I);
|
|
1969
1969
|
}, [R, P, d, z, n]), $e = un(), ze = Ce(() => {
|
|
1970
1970
|
const F = "white", _ = "black", a = {};
|
|
1971
1971
|
if (lt.detectIt().primaryInput !== "touch") {
|
|
@@ -1986,20 +1986,20 @@ const Tr = (e, t, n = null) => {
|
|
|
1986
1986
|
y({ originalEvent: F, clientX: F.clientX, clientY: F.clientY, rowIndex: a ? -1 : _.rowIndex, colIndex: a ? _.colIndex : -1 }), F.stopPropagation(), F.preventDefault();
|
|
1987
1987
|
}, [at, y]), re = Ce(() => {
|
|
1988
1988
|
const F = C === qe.Orientation.Column;
|
|
1989
|
-
return f("div", { ref: Be, children: f(
|
|
1989
|
+
return f("div", { ref: Be, children: f(si, { className: "sheet-header", style: ze, ref: N, scrollPoint: ee, columnCount: F ? P : 1, rowCount: F ? 1 : P, width: F ? c : l, height: F ? l : h, freezeLeft: F ? S : void 0, freezeTop: F ? void 0 : S, hiddenColumnsAt: F ? Je : void 0, hiddenRowsAt: F ? void 0 : Je, showGridLines: !1, layout: ge, clipCells: !1, allowOverlaysOverflow: !0, enableMouseWheel: !1, onContextMenu: q, onPointerDown: Ve, zoom: z, cellRenderer: Me, overlays: ae }) });
|
|
1990
1990
|
}, [ae, ge, c, h, ee, ze, W]);
|
|
1991
1991
|
return be(() => {
|
|
1992
1992
|
L.current = !1, N.current?.invalidate(), U();
|
|
1993
1993
|
}, [n, d]), re;
|
|
1994
|
-
})),
|
|
1995
|
-
const { view: n, sheet: r, getVisibleCells: i, gridStyle: o } = e, l = ie((s, S) => s.getStyle().getBorder(), []), { overlay: c } =
|
|
1994
|
+
})), jl = ft(wt((e, t) => {
|
|
1995
|
+
const { view: n, sheet: r, getVisibleCells: i, gridStyle: o } = e, l = ie((s, S) => s.getStyle().getBorder(), []), { overlay: c } = hi({ getVisibleCells: i, getBorderAt: l, darkMode: o.body.darkMode, shiftIfWide: !0 }), h = c(n);
|
|
1996
1996
|
return h && n ? h : null;
|
|
1997
|
-
})),
|
|
1997
|
+
})), Gl = { key: "copy", description: "'Copy' Select destination and press ENTER or choose Paste." }, _l = { key: "cut", description: "'Cut' Select destination and press ENTER or choose Paste." }, Zl = { type: Yt.Content.Values }, Kl = { fitDestination: !0, type: Yt.Content.Formats }, Yl = { fitDestination: !0, type: Yt.Content.Formulas }, Xl = { transpose: !0 }, Jl = { fitDestination: !0, adjustCells: (e, t, n) => ({ value: `=${t.getA1({ $colIndex: !0, $rowIndex: !0 })}` }) }, Ql = ({ element: e, sheet: t, sheetView: n, commands: r, onClipboardUpdate: i, onPaste: o, selectionRenderer: l = Sl, copyForegroundColor: c = "rgb(33, 115, 70)", cutForegroundColor: h = "rgb(33, 115, 70)", copyBackgroundColor: s = "white", cutBackgroundColor: S = "white", notifier: d, ...g }) => {
|
|
1998
1998
|
const x = ie(l, [l]), y = ke(null), D = un(), E = D.getMode(), j = Ce(() => ({ element: e, doCopy: (w) => {
|
|
1999
1999
|
const C = t.getSelectedRanges().getSnapshot(w);
|
|
2000
|
-
return new
|
|
2000
|
+
return new nl(C);
|
|
2001
2001
|
} }), [t, n, e]), H = Ce(() => ({ element: e, importFromExternal: async (w, C) => {
|
|
2002
|
-
const N = new
|
|
2002
|
+
const N = new ol(w, C, t.getStyles(), t.isDate1904());
|
|
2003
2003
|
return await N.parse() ? N : null;
|
|
2004
2004
|
}, doPaste: async (w, C) => {
|
|
2005
2005
|
if (w?.getItemType() !== "range") return;
|
|
@@ -2009,10 +2009,10 @@ const Tr = (e, t, n = null) => {
|
|
|
2009
2009
|
const W = await N.copyFrom(R, C);
|
|
2010
2010
|
!W || W.isEntireRows() || W.isEntireColumns() || W.autoFit({ orientations: qe.Orientations.Row, minContent: !0 });
|
|
2011
2011
|
}, { description: "Paste" + (T ? ` ${T}` : ""), autoSelect: !0 }), !0;
|
|
2012
|
-
} }), [t, n, d, e]), { clipboard: M, ...O } =
|
|
2012
|
+
} }), [t, n, d, e]), { clipboard: M, ...O } = oi({ ...g, source: j, commands: r, target: H, notifier: d, onClipboardUpdate: (w) => {
|
|
2013
2013
|
const C = w?.getItemType() === "range" ? w : null;
|
|
2014
2014
|
if (C) {
|
|
2015
|
-
const N = w.editMode?.(), R = { ...w?.isCut?.() ?
|
|
2015
|
+
const N = w.editMode?.(), R = { ...w?.isCut?.() ? _l : Gl, ...N, args: { isClipboard: !0, ...N?.args }, onModeChange: (T) => {
|
|
2016
2016
|
T?.args?.isClipboard || M.clear(!0), N?.onModeChange?.(T);
|
|
2017
2017
|
} };
|
|
2018
2018
|
D.setMode(R);
|
|
@@ -2041,7 +2041,7 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2041
2041
|
}, [r, e]), be(() => {
|
|
2042
2042
|
if (!r) return;
|
|
2043
2043
|
const w = { disabled: !t.getProtection().isFormatCellsAllowed() };
|
|
2044
|
-
r.getCommand("pasteValues").updateCallback((C) => O.paste({ ...
|
|
2044
|
+
r.getCommand("pasteValues").updateCallback((C) => O.paste({ ...Zl, ...C })).update(w), r.getCommand("pasteFormats").updateCallback((C, N) => O.paste({ ...Kl, description: N.label(), ...C })).update(w), r.getCommand("pasteFormulas").updateCallback((C, N) => O.paste({ ...Yl, description: N.label(), ...C })).update(w), r.getCommand("pasteTranspose").updateCallback((C, N) => O.paste({ ...Xl, description: N.label(), ...C })).update(w), r.getCommand("pasteLinks").updateCallback((C, N) => O.paste({ ...Jl, description: N.label(), ...C })).update(w), r.getCommand("cut").update(w), r.getCommand("paste").update(w);
|
|
2045
2045
|
}, [t, r]);
|
|
2046
2046
|
const v = Ce(() => {
|
|
2047
2047
|
if (!E || !y.current) return;
|
|
@@ -2060,13 +2060,13 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2060
2060
|
} : null;
|
|
2061
2061
|
}, [E, t, n, c, s, h, S]);
|
|
2062
2062
|
return { ...O, clipboard: M, overlays: v };
|
|
2063
|
-
},
|
|
2064
|
-
const { view: n, element: r, sheet: i, gridStyle: o, commands: l, notifier: c } = e, h = o.body ?? {}, s = i.getView(), { overlays: S } =
|
|
2063
|
+
}, ea = ft(wt((e, t) => {
|
|
2064
|
+
const { view: n, element: r, sheet: i, gridStyle: o, commands: l, notifier: c } = e, h = o.body ?? {}, s = i.getView(), { overlays: S } = Ql({ element: r, sheet: i, sheetView: s, commands: l, copyForegroundColor: o.selection.strokeFill, copyBackgroundColor: h.fill, cutForegroundColor: o.selectionRemove.strokeFill, cutBackgroundColor: h.fill, notifier: c });
|
|
2065
2065
|
return ht(i?.getSelection(), { onChange(d) {
|
|
2066
2066
|
} }), be(() => {
|
|
2067
2067
|
n?.getStage();
|
|
2068
2068
|
}, [n?.getStage()]), S && n ? S(n) : null;
|
|
2069
|
-
})),
|
|
2069
|
+
})), ta = "_sheet-selection_12wyx_5", na = { key: "dragCut", description: "Drag selection to move cell contents.", cursor: "move" }, oa = { key: "dragCutInsert", description: "Drag selection to insert cell contents.", cursor: "copy" }, ra = { key: "dragCopy", description: "Drag selection to copy cell contents." }, ia = { key: "dragCopyInsert", description: "Drag selection to insert copied cell contents.", cursor: "move" }, Dr = (e, t) => t.ctrlKey && t.shiftKey ? ia : t.ctrlKey ? ra : t.shiftKey ? oa : na, la = { key: "fill", description: "Drag selection to extend series or fill.", cursor: "crosshair" }, aa = ft(wt((e, t) => {
|
|
2070
2070
|
const { view: n, commands: r, className: i, onFirstRender: o, notifier: l, onShowTooltip: c, onCloseTooltip: h, sheet: s, gridRef: S, gridStyle: d, isActive: g, editingCoords: x, ...y } = e, D = n?.getBounds(), E = ie(c, [c]), j = ie(h, [h]), [H, M] = he(() => s?.getSelection().getCoords()), O = ie((Z) => {
|
|
2071
2071
|
qt.isEqualSelectionCoords(Z, H) || s && s.getSelection().updateCoords(Z);
|
|
2072
2072
|
}, [s, H]), v = un(), w = ke(null), [C, N] = he(s?.getProtection().isLocked()), [R, T] = he(s?.getView().getMovableSelection().length > 0), W = lt.detectIt().primaryInput === "touch", U = !W && g, B = x !== null || R, L = ie((Z) => {
|
|
@@ -2105,7 +2105,7 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2105
2105
|
} }), ht(s, { onProtectionChange: () => {
|
|
2106
2106
|
N(s.getProtection().isLocked());
|
|
2107
2107
|
} });
|
|
2108
|
-
const { body: ue = {} } = d || {}, Ee = n.getLayout(), Xe = !(U && H.ranges.length <= 1 && x === null && !C && (!v.getMode() || De)), { cursor: Je, overlay: Fe, onPointerDown: me } =
|
|
2108
|
+
const { body: ue = {} } = d || {}, Ee = n.getLayout(), Xe = !(U && H.ranges.length <= 1 && x === null && !C && (!v.getMode() || De)), { cursor: Je, overlay: Fe, onPointerDown: me } = ai({ gridRef: S, commands: r, layout: Ee, getCellCoordsAsRangeCoords: L, selection: H, fillHandleBorderColor: ue.fill, selectionBackgroundColor: g ? d.selection.fill : d.selectionInactive.fill, selectionBorderColor: g ? d.selection.strokeFill : d.selectionInactive.strokeFill, selectionRemoveBackgroundColor: g ? d.selectionRemove.fill : d.selectionInactive.fill, selectionRemoveBorderColor: g ? d.selectionRemove.strokeFill : d.selectionInactive.strokeFill, disableFillDrag: Xe, disableMoveDrag: W || !(g && H.ranges.length <= 1 && x === null && !C), disableTouchSelection: B, onSelectionChange: O, onSelectionDragStart: ye, onSelectionDragEnd: _e, onMoveDragStart: (Z, K, ne) => {
|
|
2109
2109
|
v.setMode(Dr(0, ne));
|
|
2110
2110
|
}, onMoveDragUpdate: (Z, K, ne) => {
|
|
2111
2111
|
v.setMode(Dr(0, ne));
|
|
@@ -2149,7 +2149,7 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2149
2149
|
}
|
|
2150
2150
|
}, onFillPreview: (Z, K, ne) => {
|
|
2151
2151
|
if (S.current && E) {
|
|
2152
|
-
v.setMode(
|
|
2152
|
+
v.setMode(la);
|
|
2153
2153
|
try {
|
|
2154
2154
|
w.current?.direction !== ne && (w.current = null, s.getRange(Z).autoFill(K, { previewOnly: (u) => {
|
|
2155
2155
|
w.current = { callback: u, direction: ne };
|
|
@@ -2194,8 +2194,8 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2194
2194
|
};
|
|
2195
2195
|
}, [n?.getStage()]);
|
|
2196
2196
|
const Le = _t(t, () => ({}), []), pe = ke(null);
|
|
2197
|
-
return f("div", { className: Vt(i, "sheet-selection",
|
|
2198
|
-
})), co = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }),
|
|
2197
|
+
return f("div", { className: Vt(i, "sheet-selection", ta), style: { position: "absolute", width: D?.width, height: D?.height, overflow: "hidden", pointerEvents: "none", willChange: "none" }, ref: kn([Le, pe]), ...y, children: Fe(n) });
|
|
2198
|
+
})), co = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), sa = { fireOnModelChange: !1 }, da = ft(wt((e, t) => {
|
|
2199
2199
|
const { children: n, view: r, movable: i, onRefLoad: o, onRefUnload: l, onHide: c, onShow: h, onUnFocus: s, isDragging: S, updateFrameBounds: d, dragStart: g, style: x, disabled: y, renderMovable: D, ...E } = e, [j, H] = he(co), [M, O] = he(null), [v, w] = he(!1), C = ke(null);
|
|
2200
2200
|
Bt(() => {
|
|
2201
2201
|
if (i.isClosed()) return;
|
|
@@ -2211,7 +2211,7 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2211
2211
|
}, onSelectionChange: () => {
|
|
2212
2212
|
const R = et.hasFocus(C.current, !0);
|
|
2213
2213
|
!v && !R || i.isSelected() || s();
|
|
2214
|
-
} }), ht(i, { onRequestFocus: () => et.whenFocus(C.current, !0) },
|
|
2214
|
+
} }), ht(i, { onRequestFocus: () => et.whenFocus(C.current, !0) }, sa), be(() => {
|
|
2215
2215
|
const R = C.current;
|
|
2216
2216
|
return o(R), () => {
|
|
2217
2217
|
l(R);
|
|
@@ -2230,7 +2230,7 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2230
2230
|
}, onBlur: (R) => {
|
|
2231
2231
|
M && !C?.current?.contains(R.relatedTarget) && O(null), R.relatedTarget && w(!1);
|
|
2232
2232
|
}, ...E, children: N });
|
|
2233
|
-
})),
|
|
2233
|
+
})), ca = "_movable-area_314c6_5", ua = ft(wt((e, t) => {
|
|
2234
2234
|
const { view: n, movables: r, movablesView: i, renderMovable: o, transactional: l, onUnFocus: c, onFocus: h, disabled: s = !1, disableDrag: S = !1, disableResize: d = !1, className: g, style: x, renderDirections: y = ["nw", "n", "ne", "w", "e", "sw", "s", "se"], onFirstRender: D, ...E } = e, j = n.getBounds(), H = ie(D, [D]), M = ie(c, [c]), O = ie(h, [h]), [v, w] = he([]), [C, N] = he(!1), [R, T] = he(!1), W = ke(!0), U = ke(/* @__PURE__ */ new Map()), B = ke(/* @__PURE__ */ new Map()), L = ke(/* @__PURE__ */ new Map()), P = ke(/* @__PURE__ */ new Map()), ee = ke(/* @__PURE__ */ new Map()), z = ke({ onRequestFocus: (Y) => (K(Y), null) }), A = ke(null), ae = ke(null), ye = ke(null), [_e, De] = sn((Y) => Y + 1, 0);
|
|
2235
2235
|
Bt(() => {
|
|
2236
2236
|
De();
|
|
@@ -2298,7 +2298,7 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2298
2298
|
}), k ? ge() : Ae();
|
|
2299
2299
|
}
|
|
2300
2300
|
}, style: { opacity: _ ? C && a ? 0.7 : void 0 : 0, zIndex: C && a ? q.getZIndex() + Y.length : void 0, pointerEvents: _ ? void 0 : "none", cursor: R && a ? "grabbing" : s || S ? "initial" : "move", boxShadow: !a || R && !C ? void 0 : "1px 1px 2px 2px rgba(0,0,0,.15)" } };
|
|
2301
|
-
return f(
|
|
2301
|
+
return f(da, { ...b }, `movable-${q.getUUID()}`);
|
|
2302
2302
|
}, $e = U.current, ze = /* @__PURE__ */ new Map(), Be = [];
|
|
2303
2303
|
for (let q = 0; q < Y.length; q++) {
|
|
2304
2304
|
const re = Y[q];
|
|
@@ -2358,7 +2358,7 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2358
2358
|
u.current = !0;
|
|
2359
2359
|
const Y = nt.lazy(async () => {
|
|
2360
2360
|
try {
|
|
2361
|
-
const Me = await import("./
|
|
2361
|
+
const Me = await import("./Du-nfD5pe-vpiU8L.mjs");
|
|
2362
2362
|
return u.current = !1, Pe.current = !0, w([...v]), Me;
|
|
2363
2363
|
} catch (Me) {
|
|
2364
2364
|
return console.warn(Me), Xe.current?.(!1), null;
|
|
@@ -2366,7 +2366,7 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2366
2366
|
});
|
|
2367
2367
|
Oe(Y);
|
|
2368
2368
|
}, [v, s, S, d]);
|
|
2369
|
-
const Ye = Ce(() => !Te || s ? null : f(
|
|
2369
|
+
const Ye = Ce(() => !Te || s ? null : f(li, { children: f(Te, { className: Vt({ dragging: C || R, resizing: C, moving: R }), container: null, ref: ye, target: ye.current ? v : [], draggable: !s && !S, resizable: !s && !d, individualGroupable: !0, edgeDraggable: !1, throttleDrag: 2, throttleResize: 2, origin: !1, keepRatio: !1, renderDirections: y, onResizeStart: (Y) => {
|
|
2370
2370
|
oe(Y.target, "Resize");
|
|
2371
2371
|
}, onResize: (Y) => {
|
|
2372
2372
|
if (!ae.current) return Y.stopDrag(), void De();
|
|
@@ -2402,7 +2402,7 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2402
2402
|
}, onDragEnd: (Y) => {
|
|
2403
2403
|
}, onMouseUp: (Y) => {
|
|
2404
2404
|
} }) }), [_e, Te, v, n, s, S, d, C, R]);
|
|
2405
|
-
return f("div", { className: Vt(g, "movable-area",
|
|
2405
|
+
return f("div", { className: Vt(g, "movable-area", ca), style: { width: j.width, height: j.height, ...x, position: "absolute", overflow: "hidden", willChange: "transform" }, ref: kn([Se, de]), ...E, children: f("div", { className: "movable-scroll", style: { position: "absolute", cursor: "initial", left: 0, top: 0, width: j.width, height: j.height }, ...E, children: Qe("div", { ref: A, style: { position: "absolute", pointerEvents: "auto" }, onFocus: (Y) => {
|
|
2406
2406
|
O?.(), Le(!0);
|
|
2407
2407
|
}, onBlur: (Y) => {
|
|
2408
2408
|
Le(!1);
|
|
@@ -2474,7 +2474,7 @@ The content is not applied.` }), new X("pasteFormulas", w, { label: "Paste Formu
|
|
|
2474
2474
|
}
|
|
2475
2475
|
return S.set(n[n.length - 1].movable, n[n.length - 1].bounds), S;
|
|
2476
2476
|
};
|
|
2477
|
-
function
|
|
2477
|
+
function ga(e) {
|
|
2478
2478
|
const { movables: t, movablesView: n, transactional: r, commands: i, target: o, onRepeatCommandChange: l, notifier: c } = e, h = un();
|
|
2479
2479
|
ke(h.getMode()).current = h.getMode();
|
|
2480
2480
|
const s = ie(async (M, O, v = null, w = !0) => {
|
|
@@ -2612,29 +2612,29 @@ function ua(e) {
|
|
|
2612
2612
|
H.getCommand("formatDrawDistributeHorz").update(T), H.getCommand("formatDrawDistributeVert").update(T);
|
|
2613
2613
|
}, [S, D, S]), H;
|
|
2614
2614
|
}
|
|
2615
|
-
const
|
|
2615
|
+
const nd = ft(wt((e, t) => {
|
|
2616
2616
|
const { children: n, disabled: r, description: i, view: o, isDragging: l, onHide: c, onShow: h, ...s } = e;
|
|
2617
2617
|
be(() => {
|
|
2618
2618
|
}, [i]);
|
|
2619
2619
|
const S = _t(t, () => ({ isEmptyFrame: () => !0 }), []), [d, { height: g, width: x }] = dn();
|
|
2620
2620
|
return f("div", { ...s, ref: kn([S, d]), children: f("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: o.getZoom(), display: "flex", position: "relative", filter: r ? "blur(1px)" : void 0, boxShadow: l ? "1px 1px 2px var(--sxl-app-color-shadow, rgba(0,0,0,.15))" : void 0 }, children: f("div", { style: { textAlign: "center" }, children: i }) }) });
|
|
2621
|
-
})),
|
|
2622
|
-
const { view: n, sheet: r, movableProps: i, renderMovable: o, commands: l, target: c, notifier: h, onRepeatCommandChange: s } = e, S =
|
|
2621
|
+
})), ha = ft(wt((e, t) => {
|
|
2622
|
+
const { view: n, sheet: r, movableProps: i, renderMovable: o, commands: l, target: c, notifier: h, onRepeatCommandChange: s } = e, S = ga({ movables: r.getMovables(), movablesView: r?.getView(), transactional: r, onRepeatCommandChange: s, commands: l, target: c, notifier: h });
|
|
2623
2623
|
be(() => {
|
|
2624
2624
|
n?.getStage();
|
|
2625
2625
|
}, [n?.getStage()]);
|
|
2626
|
-
const d = Ce(() => f(
|
|
2626
|
+
const d = Ce(() => f(ua, { ref: t, view: n, movables: r.getMovables(), disableResize: !r.getProtection().isObjectsAllowed(), disableDrag: !r.getProtection().isObjectsAllowed(), movablesView: r.getView(), transactional: r, renderMovable: o, ...i, onFocus: () => {
|
|
2627
2627
|
S.activate(), i?.onFocus?.();
|
|
2628
2628
|
} }, "movable-area"), [r, i, l, S]);
|
|
2629
2629
|
return d && n ? d : null;
|
|
2630
|
-
})),
|
|
2631
|
-
const { view: n, sheet: r, gridStyle: i, getCellEditor: o, showProtectedError: l, setEditingCoords: c, commands: h, notifier: s =
|
|
2630
|
+
})), ma = ft(wt((e, t) => {
|
|
2631
|
+
const { view: n, sheet: r, gridStyle: i, getCellEditor: o, showProtectedError: l, setEditingCoords: c, commands: h, notifier: s = sl } = e, S = un(), [d, g] = he(null), [x, y] = he(null), [D, E] = he(null), [j, H] = he(null), [M, O] = he(null);
|
|
2632
2632
|
Bt(() => {
|
|
2633
2633
|
if (D === null) return H(null), void O(null);
|
|
2634
2634
|
const A = () => {
|
|
2635
2635
|
const ae = r.getRange(D).getCell(), ye = ae.getStyle();
|
|
2636
2636
|
let _e, De = ye.getFill()?.toCSS(i.body.darkMode);
|
|
2637
|
-
De.background !== "none" && De.background !== "transparent" || (De = r.getStyles().getNormal().getFill().toCSS(i.body.darkMode)), De.background !== "none" && De.background !== "transparent" || (De = { background: i.body.fill }), H({ style: De }), ae && !ae.getFormula() && (_e = ae?.getRenderHorizontalAlignment()), O(_e ??
|
|
2637
|
+
De.background !== "none" && De.background !== "transparent" || (De = r.getStyles().getNormal().getFill().toCSS(i.body.darkMode)), De.background !== "none" && De.background !== "transparent" || (De = { background: i.body.fill }), H({ style: De }), ae && !ae.getFormula() && (_e = ae?.getRenderHorizontalAlignment()), O(_e ?? dl.Left);
|
|
2638
2638
|
};
|
|
2639
2639
|
return A(), r.getRange(D).addListener(() => {
|
|
2640
2640
|
A();
|
|
@@ -2658,17 +2658,17 @@ const td = ft(wt((e, t) => {
|
|
|
2658
2658
|
if (o) return o(A, ae);
|
|
2659
2659
|
if (!r) return null;
|
|
2660
2660
|
const { ref: ye, ..._e } = A;
|
|
2661
|
-
return f(
|
|
2661
|
+
return f(Ml, { ref: ye, ..._e, sheet: r, bodyStyle: i?.body, activeCoords: ae, commands: h, onChangeEdit: (De) => {
|
|
2662
2662
|
const ue = { sheet: r, coords: ae, editState: De };
|
|
2663
2663
|
S.setMode((Ee) => ({ ...Ee, description: ue.editState.editMode ? "Edit" : "Enter", args: { ...Ee?.args, stateAndCoords: ue } }));
|
|
2664
2664
|
}, editState: x.editState });
|
|
2665
|
-
}, [r, j, o, x, D]), { overlay: R, startEdit: T, submitEdit: W, cancelEdit: U, onKeyboardEventNative: B, onPointerEventNative: L } =
|
|
2665
|
+
}, [r, j, o, x, D]), { overlay: R, startEdit: T, submitEdit: W, cancelEdit: U, onKeyboardEventNative: B, onPointerEventNative: L } = xl({ view: n, activeCoords: d, getCellEditor: N, canEdit: () => {
|
|
2666
2666
|
const A = r.getProtection();
|
|
2667
2667
|
if (A.isReadOnly()) return !1;
|
|
2668
2668
|
const ae = A.isLocked();
|
|
2669
2669
|
return ae && l(), !ae;
|
|
2670
2670
|
}, onBeforeStartEdit: (A) => {
|
|
2671
|
-
const ae =
|
|
2671
|
+
const ae = Dl(() => r.getRange(A).getCell()), ye = { sheet: r, coords: A, editState: Object.freeze(ae) };
|
|
2672
2672
|
S.setMode({ key: "edit", args: { stateAndCoords: ye } }), y(ye);
|
|
2673
2673
|
}, onStartEdit: (A) => {
|
|
2674
2674
|
E(A), c(A);
|
|
@@ -2696,7 +2696,7 @@ const td = ft(wt((e, t) => {
|
|
|
2696
2696
|
const A = S.getMode(), ae = A?.key;
|
|
2697
2697
|
ae === "edit" || ae === "enter" ? x ? A.args?.cancel ? U() : A.args?.submit ? W() : y(A.args?.stateAndCoords) : T(A.args?.start) : D && U();
|
|
2698
2698
|
}, [S]), R(n, t);
|
|
2699
|
-
})),
|
|
2699
|
+
})), fi = "white", vi = "black", pa = `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='${vi}' fill='${fi}'/%3E%3C/g%3E%3C/svg%3E%0A") 15 8, pointer`, fa = `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='${vi}' fill='${fi}'/%3E%3C/g%3E%3C/svg%3E%0A") 12 12, pointer`, va = ft(wt((e, t) => {
|
|
2700
2700
|
const { view: n, sheet: r } = e, [i, o] = nt.useState(r.getTables().getCount() > 0), [l, c] = nt.useState(null), [h, s] = nt.useState(null), [S, d] = nt.useState(null), [g, x] = nt.useState(null), y = ie(() => {
|
|
2701
2701
|
if (r.getTables().getCount() > 0) {
|
|
2702
2702
|
o(!0);
|
|
@@ -2737,7 +2737,7 @@ const td = ft(wt((e, t) => {
|
|
|
2737
2737
|
let v = null;
|
|
2738
2738
|
if (l) for (let w = 0; w < l.length && !v; w++) {
|
|
2739
2739
|
const C = l[w], N = C.getRange().getCoords();
|
|
2740
|
-
|
|
2740
|
+
rl.isCellWithinRange(h, N) && (v = C);
|
|
2741
2741
|
}
|
|
2742
2742
|
d(v);
|
|
2743
2743
|
}, [h, l]);
|
|
@@ -2774,10 +2774,10 @@ const td = ft(wt((e, t) => {
|
|
|
2774
2774
|
}
|
|
2775
2775
|
W || (W = "var(--sxl-app-color-shadow, rgba(0,0,0,.15))");
|
|
2776
2776
|
}
|
|
2777
|
-
O.push(f("div", { style: { position: "absolute", left: T.x, top: T.y, width: Math.min(16, T.width), height: T.height, pointerEvents: "all", cursor:
|
|
2777
|
+
O.push(f("div", { style: { position: "absolute", left: T.x, top: T.y, width: Math.min(16, T.width), height: T.height, pointerEvents: "all", cursor: pa }, onMouseDown: E }, `table-select-row-${w.getName()}`)), O.push(f("div", { style: { position: "absolute", left: T.x, top: T.y, width: Math.min(16, T.width), height: Math.min(16, T.height), pointerEvents: "all", cursor: fa }, onMouseDown: D }, `table-select-${w.getName()}`)), O.push(f(di, { x: T.x, y: T.y, width: T.width, height: T.height, range: R, strokeWidth: N ? 0.5 : 0, stroke: W ?? "var(--sxl-app-color-grey, grey)", style: { willChange: "box-shadow", transition: "box-shadow 80ms ease-in-out", boxShadow: C ? `${W} 0px 0px 1px 1px` : void 0 } }, `table-outline-${w.getName()}`));
|
|
2778
2778
|
}
|
|
2779
2779
|
return O;
|
|
2780
|
-
})),
|
|
2780
|
+
})), wa = ft(wt((e, t) => {
|
|
2781
2781
|
const { view: n, sheet: r, animationTime: i = 60 } = e, [o, l] = nt.useState(null), [c, h] = nt.useState(null), s = nt.useRef(null), S = ie(() => {
|
|
2782
2782
|
const E = r.getSelectedCell(), j = E.getSpill()?.getCoords() ?? null;
|
|
2783
2783
|
qt.isEqualRanges(j, o) || (h(j ? { transition: o ? "move" : "in", bounds: n.getRangeCoordsBounds(j), coords: j } : { transition: "out", bounds: n.getRangeCoordsBounds(o), coords: o }), l(j));
|
|
@@ -2795,18 +2795,18 @@ const td = ft(wt((e, t) => {
|
|
|
2795
2795
|
}, onInvalidated(E) {
|
|
2796
2796
|
S();
|
|
2797
2797
|
} }), !n || !o && !c) return null;
|
|
2798
|
-
const g = r.getRange(o).getValue() instanceof
|
|
2798
|
+
const g = r.getRange(o).getValue() instanceof ei.Spill, x = [];
|
|
2799
2799
|
let y = c?.bounds ?? n.getRangeCoordsBounds(o);
|
|
2800
2800
|
if (c && !et.isEqualBounds(c.bounds, n.getRangeCoordsBounds(c.coords)) && h(null), y = n.toClipBounds(y, -10), !y) return;
|
|
2801
2801
|
const D = "var(--sxl-app-color-primary-dark, rgba(0,0,0,.15))";
|
|
2802
|
-
return x.push(f(
|
|
2803
|
-
})),
|
|
2802
|
+
return x.push(f(di, { x: y.x, y: y.y, width: y.width, height: y.height, range: o, strokeWidth: 1, stroke: D, style: { willChange: "transform, opacity, width, height, opacity, left, top", strokeDasharray: g ? "6 3" : void 0, opacity: c?.transition === "out" ? 0 : 1, transition: c?.transition ? c.transition === "in" || c.transition === "out" ? `opacity ${1.5 * i}ms ease-in-out` : `left ${i}ms ease-out, top ${i}ms ease-out, width ${i}ms ease-out, height ${i}ms ease-out` : "none", boxShadow: `${D} 0px 0px 4px 0px` } }, "spill-outline}")), x;
|
|
2803
|
+
})), ya = { position: "absolute", top: 0, left: 0, bottom: 0, right: 0 }, Ar = (e, t) => {
|
|
2804
2804
|
const n = { ...e }, r = t?.getNormal().getFont(), i = r?.toCSS(), o = { text: { fontFamily: i?.fontFamily, fontSize: r?.getSize() } }, l = n.body = et.mergeContentful(e.body, o);
|
|
2805
2805
|
return n.body = et.mergeContentful({ fill: "#fff", strokeFill: "#dad8d6", strokeWidth: 0.5, text: { fontWeight: "400", fontStyle: "normal", fill: "#040404" } }, l), n.buttonSurface = et.mergeContentful({ fill: "#fff", text: { fill: "black" }, edgeStrokeFill: "black" }, n.buttonSurface), n.selection = { fill: "rgba(16, 124, 65, 0.1)", strokeFill: "#217346", strokeWidth: 2, ...e.selection }, n.selectionInactive = { ...n.selection, fill: "rgba(16, 124, 65, 0.1)", strokeFill: "#dad8d6", ...e.selectionInactive }, n.selectionRemove = { ...n.selection, fill: "rgba(200, 0, 0, 0.1)", strokeFill: "rgba(200, 0, 0, 1)", ...e.selectionRemove }, n.headerSelection = { ...n.selection, ...e.headerSelection }, n.headerSelectionInactive = { ...n.selectionInactive, ...e.headerSelectionInactive }, n.header = et.mergeContentful(n.body, { edgeStrokeFill: "rgb(171, 171, 171)", fill: "#f0f0f0", strokeShadow: void 0, edgeStrokeWidth: 1 }, e.header), n.header = et.mergeContentful(n.header, o), n.headerSelect = et.mergeContentful(n.header, { fill: "rgba(16, 124, 65, 0.1)", text: { fill: n.headerSelection.strokeFill, fontWeight: "700" } }, e.headerSelect), n.headerSelect = et.mergeContentful(n.headerSelect, o), n.headerSelectAll = et.mergeContentful(n.headerSelect, {}, e.headerSelectAll), n.headerSelectAll = et.mergeContentful(n.headerSelectAll, o), n;
|
|
2806
|
-
},
|
|
2806
|
+
}, ba = { fireOnModelChange: !1 }, Ir = {}, qa = ft(wt((e, t) => {
|
|
2807
2807
|
const { sheet: n, gridStyle: r = Ir, headersStyle: i = Ir, onSheetContextMenu: o, showColumnHeaders: l, columnHeaderProps: c, showRowHeaders: h, rowHeaderProps: s, showScrollbars: S = !0, scrollPaneProps: d, onViewportChange: g, commands: x, onRepeatCommandChange: y, onMoveCell: D, overlays: E, renderMovable: j, viewportComponent: H, onElementLoad: M, getCellEditor: O, onFocus: v, onBlur: w, style: C = lt.EmptyCssProperties, notifier: N, onShowTooltip: R, onShowColumnTooltip: T, onShowRowTooltip: W, onCloseTooltip: U, gridProps: B, cellRenderProps: L, ...P } = e;
|
|
2808
2808
|
if (nt.useEffect(() => {
|
|
2809
|
-
|
|
2809
|
+
ti._validate(!0);
|
|
2810
2810
|
}, []), !n) throw new Error("ISheet must be provided.");
|
|
2811
2811
|
const [ee, z] = nt.useReducer((J) => J + 1, 0), [A, { width: ae, height: ye }] = dn(), _e = ie(R, [R]), De = ie(T, [T]), ue = ie(W, [W]), Ee = ie(U, [U]), Xe = ke(!1);
|
|
2812
2812
|
Bt(() => {
|
|
@@ -2844,7 +2844,7 @@ const td = ft(wt((e, t) => {
|
|
|
2844
2844
|
return J.coords.colIndex > 0 && (Ie[yt.Left] = { index: J.coords.colIndex, scrollOffset: J.topLeft.left }), J.coords.rowIndex > 0 && (Ie[yt.Top] = { index: J.coords.rowIndex, scrollOffset: J.topLeft.top }), Ie;
|
|
2845
2845
|
}, [fe, ve] = he(() => xe(n.getView().getFreezePanes())), Re = un(), Ue = Ke(() => ne.current, []), He = ie((J) => {
|
|
2846
2846
|
Re.setMode((Ie) => Ie?.key === "edit" ? { ...Ie, args: { ...Ie.args } } : { key: "edit", args: { stateAndCoords: null, start: J } });
|
|
2847
|
-
}, []), tt = ie(() => m, [m]), je =
|
|
2847
|
+
}, []), tt = ie(() => m, [m]), je = $l({ sheet: n, commands: x, target: Ue, onRepeatCommandChange: y, bodyStyle: $, notifier: N, onStartEdit: He, getViewport: tt }), [ot, We] = he(n.getSelection().isEntire()), [st, Ct] = he(oe?.getMovableSelection().length > 0), Ft = a !== null || st, Pt = null, [rt, vt] = he(!1);
|
|
2848
2848
|
be(() => {
|
|
2849
2849
|
vt(!1);
|
|
2850
2850
|
}, [n.getProtection()]);
|
|
@@ -2880,7 +2880,7 @@ const td = ft(wt((e, t) => {
|
|
|
2880
2880
|
if (!Ie) return;
|
|
2881
2881
|
const Ne = { colIndex: Ie?.coords.colStart, rowIndex: Ie?.coords.rowStart };
|
|
2882
2882
|
return await ne.current?.scrollCellCoordsIntoView(Ne, Ie?.scroll), !0;
|
|
2883
|
-
}, onRequestFocus: () => et.whenFocus(Gt.current) },
|
|
2883
|
+
}, onRequestFocus: () => et.whenFocus(Gt.current) }, ba);
|
|
2884
2884
|
const Ot = ke(!1), hn = Ce(() => {
|
|
2885
2885
|
const J = (Ne, Ze) => {
|
|
2886
2886
|
bt.current = !0, Mt([(it) => {
|
|
@@ -2916,9 +2916,9 @@ const td = ft(wt((e, t) => {
|
|
|
2916
2916
|
if (!it.toClipBounds(it.getRangeCoordsBounds({ rowStart: Ne, rowEnd: Ne, colStart: 0, colEnd: u.width }))) return;
|
|
2917
2917
|
const gt = it.getLayout(), pt = Math.max(0, gt.getRowOffset(Ne)), ut = it.getBounds(), xt = Math.min(ut.y + ut.height, gt.getRowOffset(Ne + 1)), Dt = it.getAnchor();
|
|
2918
2918
|
if (Ze !== null && (Dt === yt.Top || Dt === yt.Center || Dt === yt.Bottom)) {
|
|
2919
|
-
const Lo = Math.floor(10 * et.getDPI()) / 10, io = et.roundAccurately(Ze * Lo, 0), Oo = et.roundAccurately(io / Ae / (n?.getRowHeaders().getScaleFactor() * et.getDPI()), 2).toFixed(2), Nn = "Height: " + (Ze ? Oo + " (" + io + " pixels)" : "Hidden"), wn = fn.current.getGridElement().getRelativePointFromClient(0, 0), lo = 0 - wn.x, Bo = 0 - wn.x + Ye,
|
|
2919
|
+
const Lo = Math.floor(10 * et.getDPI()) / 10, io = et.roundAccurately(Ze * Lo, 0), Oo = et.roundAccurately(io / Ae / (n?.getRowHeaders().getScaleFactor() * et.getDPI()), 2).toFixed(2), Nn = "Height: " + (Ze ? Oo + " (" + io + " pixels)" : "Hidden"), wn = fn.current.getGridElement().getRelativePointFromClient(0, 0), lo = 0 - wn.x, Bo = 0 - wn.x + Ye, Qi = { x: lo, y: pt - (wn.y - ut.y), width: Bo - lo, height: xt - pt };
|
|
2920
2920
|
requestAnimationFrame(() => {
|
|
2921
|
-
bt.current && ue?.({ anchor:
|
|
2921
|
+
bt.current && ue?.({ anchor: Qi, display: Nn });
|
|
2922
2922
|
});
|
|
2923
2923
|
}
|
|
2924
2924
|
const Qt = [0, 0, ut.width, 0], Fn = { style: { boxShadow: `0px 0.5px 0px 0px ${r?.body?.fill}` }, pathProps: { stroke: p } }, zo = { x: 0, y: pt - 1, width: ut.width, height: 1 }, Fo = { style: { boxShadow: `0px -0.5px 0px 0px ${r?.body?.fill}` }, pathProps: { stroke: p } }, No = { x: 0, y: xt - 1, width: ut.width, height: 1 };
|
|
@@ -2966,11 +2966,11 @@ const td = ft(wt((e, t) => {
|
|
|
2966
2966
|
be(() => {
|
|
2967
2967
|
rn();
|
|
2968
2968
|
}, [Fe]);
|
|
2969
|
-
const no = ot ? K.edgeStrokeFill : pe.fill, mt = ot ? Z.fill : typeof Fe.headerHover == "function" ? Fe.headerHover(pe)?.fill : pe.fill, oo = Ce(() => H ? f("div", { className: Vt("sheetxl-viewport-overlay",
|
|
2969
|
+
const no = ot ? K.edgeStrokeFill : pe.fill, mt = ot ? Z.fill : typeof Fe.headerHover == "function" ? Fe.headerHover(pe)?.fill : pe.fill, oo = Ce(() => H ? f("div", { className: Vt("sheetxl-viewport-overlay", Hl), style: { width: "100%", height: "100%", boxSizing: "border-box", position: "absolute" }, children: H }) : f(Sn, {}), [H]);
|
|
2970
2970
|
let mn = null;
|
|
2971
2971
|
Te && Oe && (mn = Qe("div", { tabIndex: -1, className: "top-left-corner", style: { padding: "2 2", position: "absolute", height: `${Y}px`, width: `${Ye}px`, zIndex: 1, boxSizing: "border-box", cursor: "cell" }, onMouseDown: (J) => {
|
|
2972
2972
|
let Ie = !J.ctrlKey;
|
|
2973
|
-
je?.getCommand("selectAll")?.execute(!Ie || J.button !== 0), J.nativeEvent.which ===
|
|
2973
|
+
je?.getCommand("selectAll")?.execute(!Ie || J.button !== 0), J.nativeEvent.which === ii.Right ? o?.({ originalEvent: J, clientX: J.clientX, clientY: J.clientY, rowIndex: -1, colIndex: -1 }) : ne.current?.focus();
|
|
2974
2974
|
}, children: [f("div", { style: { height: Y - 5 + "px", width: Y - 5 + "px", clipPath: `path('M${Y - 5} 0 L0 ${Y - 5} L${Y - 5} ${Y - 5} L${Y - 5} 0 Z')`, borderRight: `2px solid ${no}`, borderBottom: `2px solid ${no}`, background: `${mt}`, boxSizing: "border-box", position: "absolute", right: "2px", bottom: "2px" } }), f("div", { style: { position: "absolute", height: `${Y}px`, width: `${Ye}px`, boxSizing: "border-box", borderRight: `solid 1px ${pe.strokeFill}`, borderBottom: `solid 1px ${pe.strokeFill}`, right: "-1px", bottom: "-1px" } })] }));
|
|
2975
2975
|
const An = ie(({ _left: J, _top: Ie }) => {
|
|
2976
2976
|
}, []), St = ie((J) => {
|
|
@@ -3014,7 +3014,7 @@ const td = ft(wt((e, t) => {
|
|
|
3014
3014
|
}, [Re]), Do = ie(async (J) => {
|
|
3015
3015
|
const Ie = Re.getMode();
|
|
3016
3016
|
return J.keyCode === It.Escape && Ie ? (J.preventDefault(), void Re.setMode(null)) : J.keyCode === It.Enter && Mo ? (J.preventDefault(), await je?.getCommand("paste")?.execute(), void Re.setMode(null)) : void je?.dispatchToFocusedCommand(J);
|
|
3017
|
-
}, [je, Re]), fn = ke(null), ro = Ce(() => f("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${Y + 1}px`, width: `${Ye + pe.edgeStrokeWidth}px`, minWidth: `${Ye + pe.edgeStrokeWidth}px`, borderRight: `solid ${pe.edgeStrokeWidth}px ${pe.edgeStrokeFill}`, height: `calc(100% - ${Y}px)`, boxSizing: "border-box", zIndex: "2" }, children: f(Mr, { ref: fn, sheetElement: Gt.current, gridRef: ne, freezeStart: fe?.[yt.Top], oppositeSize: Ye, containerWidth: Ye, containerHeight: $e, sheetHeader: n.getRowHeaders(), gridStyle: me, verticalPadding: Math.max(0, Math.floor(n.getStyles().getNormal().getFont().getSize() / 10)), scrollPoint: Zt, onSheetContextMenu: o, tabIndex: -1, style: { position: "relative", flex: "0", top: `${Y + 1}px`, width: `${Ye + pe.edgeStrokeWidth}px`, minWidth: `${Ye + pe.edgeStrokeWidth}px`, borderRight: `solid ${pe.edgeStrokeWidth}px ${pe.edgeStrokeFill}`, height: `calc(100% - ${Y}px)`, boxSizing: "border-box", zIndex: "2", ...En?.style }, ...En }) }), [Ye, Y, $e, n, Zt, fe?.[yt.Top], Fe, k, o, pe.fill, s]), vn = ke(null),
|
|
3017
|
+
}, [je, Re]), fn = ke(null), ro = Ce(() => f("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${Y + 1}px`, width: `${Ye + pe.edgeStrokeWidth}px`, minWidth: `${Ye + pe.edgeStrokeWidth}px`, borderRight: `solid ${pe.edgeStrokeWidth}px ${pe.edgeStrokeFill}`, height: `calc(100% - ${Y}px)`, boxSizing: "border-box", zIndex: "2" }, children: f(Mr, { ref: fn, sheetElement: Gt.current, gridRef: ne, freezeStart: fe?.[yt.Top], oppositeSize: Ye, containerWidth: Ye, containerHeight: $e, sheetHeader: n.getRowHeaders(), gridStyle: me, verticalPadding: Math.max(0, Math.floor(n.getStyles().getNormal().getFont().getSize() / 10)), scrollPoint: Zt, onSheetContextMenu: o, tabIndex: -1, style: { position: "relative", flex: "0", top: `${Y + 1}px`, width: `${Ye + pe.edgeStrokeWidth}px`, minWidth: `${Ye + pe.edgeStrokeWidth}px`, borderRight: `solid ${pe.edgeStrokeWidth}px ${pe.edgeStrokeFill}`, height: `calc(100% - ${Y}px)`, boxSizing: "border-box", zIndex: "2", ...En?.style }, ...En }) }), [Ye, Y, $e, n, Zt, fe?.[yt.Top], Fe, k, o, pe.fill, s]), vn = ke(null), Gi = Ce(() => f("div", { tabIndex: -1, style: { position: "relative", left: "0px", width: "100%", height: `${Y + pe.edgeStrokeWidth}px`, minHeight: `${Y + pe.edgeStrokeWidth}px`, borderBottom: `solid ${pe.edgeStrokeWidth}px ${pe.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" }, children: f(Mr, { ref: vn, sheetElement: Gt.current, gridRef: ne, freezeStart: fe?.[yt.Left], oppositeSize: Y, containerWidth: Me, containerHeight: Y, sheetHeader: n.getColumnHeaders(), gridStyle: me, scrollPoint: on, onSheetContextMenu: o, ...hn, style: { ...hn?.style, position: "relative", left: "0px", width: "100%", height: `${Y + pe.edgeStrokeWidth}px`, minHeight: `${Y + pe.edgeStrokeWidth}px`, borderBottom: `solid ${pe.edgeStrokeWidth}px ${pe.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" } }) }), [Y, Me, n, on, fe?.[yt.Left], Fe, pe.fill, k, o, c]), _i = ie((J) => {
|
|
3018
3018
|
const { value: Ie, key: Ne, ...Ze } = J;
|
|
3019
3019
|
let it = Ie, gt = a;
|
|
3020
3020
|
if (!gt || gt.colIndex === J.coords.colIndex && gt.rowIndex === J.coords.rowIndex || (gt = null), !it) {
|
|
@@ -3033,22 +3033,22 @@ const td = ft(wt((e, t) => {
|
|
|
3033
3033
|
}
|
|
3034
3034
|
}), gt && gt.colIndex === J.range.colStart && gt.rowIndex === J.range.rowStart && (it = it.createTemporaryCell({ value: null }));
|
|
3035
3035
|
const ut = n.getStyles();
|
|
3036
|
-
return
|
|
3037
|
-
}, [n, q, $, a, oe?.isShowFormulas(), oe.isShowZeros()]),
|
|
3036
|
+
return fl(Rl, { ...Ze, key: Ne, bodyStyle: $, docTheme: ut.getTheme(), normalStyle: ut.getNormal(), showFormulas: oe.isShowFormulas(), showZeros: oe.isShowZeros(), onLinkMouseDown: pt, ...L, value: it });
|
|
3037
|
+
}, [n, q, $, a, oe?.isShowFormulas(), oe.isShowZeros()]), Zi = Ke((J, Ie) => {
|
|
3038
3038
|
const { key: Ne, ...Ze } = J;
|
|
3039
|
-
return [f(
|
|
3039
|
+
return [f(jl, { ref: Ie, getVisibleCells: In, sheet: n, gridStyle: Fe, ...Ze }, `border-${Ne}`), f(va, { ref: Ie, sheet: n, commands: je, ...Ze }, `table-${Ne}`), f(wa, { ref: Ie, sheet: n, ...Ze }, `spill-${Ne}`), f(aa, { ref: Ie, sheet: n, commands: je, notifier: N, onShowTooltip: _e, onCloseTooltip: Ee, gridStyle: Fe, gridRef: ne, editingCoords: a, isActive: k, ...Ze }, `selection-${Ne}`), f(ea, { ref: Ie, sheet: n, commands: je, gridStyle: Fe, element: I, notifier: N, ...Ze }, `copy-paste-${Ne}`), f(ha, { ref: Ie, sheet: n, commands: je, target: Ue, notifier: N, renderMovable: j, movableProps: { onUnFocus: () => {
|
|
3040
3040
|
Gt.current.focus();
|
|
3041
|
-
} }, ...Ze }, `movable-${Ne}`), f(
|
|
3042
|
-
}, [n, ne.current, Fe, O, je, N]), [cr,
|
|
3041
|
+
} }, ...Ze }, `movable-${Ne}`), f(ma, { ref: Ie, sheet: n, commands: je, notifier: N, gridStyle: Fe, getCellEditor: O, showProtectedError: Nt, setEditingCoords: b, ...Ze }, `editor-${Ne}`)];
|
|
3042
|
+
}, [n, ne.current, Fe, O, je, N]), [cr, Ki] = he(!1), Yi = Ce(() => {
|
|
3043
3043
|
if (Me === 0 || $e === 0) return null;
|
|
3044
3044
|
const J = n.getStyles().getNormal(), Ie = J.getFont(), Ne = J.getFill(), Ze = J.getBorder(), it = J.getFill().getType() === ho.Type.None;
|
|
3045
3045
|
let gt = Se, pt = Se;
|
|
3046
3046
|
const ut = (Dt, Qt, Fn) => Fn ? { stroke: Ze.getBottom().isNone() ? "none" : Dt.getColor().toRGBA($.darkMode).toString(), ...Qt } : Qt;
|
|
3047
3047
|
pt = ut(Ze.getBottom(), pt, !Ze.getBottom().isNone()), pt = ut(Ze.getTop(), pt, !Ze.getTop().isNone()), gt = ut(Ze.getRight(), gt, !Ze.getRight().isNone()), gt = ut(Ze.getLeft(), gt, !Ze.getLeft().isNone());
|
|
3048
3048
|
let xt = oe?.getGridLineColor()?.toRGBA($.darkMode).toString() ?? $.strokeFill;
|
|
3049
|
-
return it || (pt = ut(Ze.getBottom(), pt, !0), pt = ut(Ze.getTop(), pt, !0), gt = ut(Ze.getRight(), gt, !0), gt = ut(Ze.getLeft(), gt, !0)), f(
|
|
3050
|
-
|
|
3051
|
-
}, showGridLines: de, gridLineColor: xt, gridLineColumnsProps: gt, gridLineRowsProps: pt, freezeLeft: fe?.[yt.Left], freezeLeftProps: zn, freezeTop: fe?.[yt.Top], freezeTopProps: zn, width: Me, height: $e, columnCount: u.width, rowCount: u.height, cursor: Ht ?? Pt ?? "cell", clipCells: !0, layout: q, cellRenderer:
|
|
3049
|
+
return it || (pt = ut(Ze.getBottom(), pt, !0), pt = ut(Ze.getTop(), pt, !0), gt = ut(Ze.getRight(), gt, !0), gt = ut(Ze.getLeft(), gt, !0)), f(si, { className: "sheetxl-sheet-primary", style: { ...ya, ...Ne.toCSS($.darkMode), ...Ie.toCSS($.darkMode, Ae), "--sxl-app-color-background": $.fill, "--sxl-app-color-shadow": Fe.colorShadow, "--sxl-app-color-grey": Fe.colorGrey, "--sxl-app-color-button-fill": Le.fill, "--sxl-app-color-button-text": Le.text?.fill, "--sxl-app-color-button-border": Le.edgeStrokeFill, "--sxl-app-color-primary-dark": Fe.selection.strokeFill }, ref: ne, zoom: Ae, ...B, onFirstRender: (Dt) => {
|
|
3050
|
+
Ki(!0), B?.onFirstRender?.(Dt), je?.activate();
|
|
3051
|
+
}, showGridLines: de, gridLineColor: xt, gridLineColumnsProps: gt, gridLineRowsProps: pt, freezeLeft: fe?.[yt.Left], freezeLeftProps: zn, freezeTop: fe?.[yt.Top], freezeTopProps: zn, width: Me, height: $e, columnCount: u.width, rowCount: u.height, cursor: Ht ?? Pt ?? "cell", clipCells: !0, layout: q, cellRenderer: _i, overlayRenderer: Zi, getCellCoordsAsRangeCoords: ce, getVisibleCells: In, onWheelScroll: At, onPointerDown: pn, onKeyDown: Do, onViewportChange: G, onImmediateScroll: An, scrollPoint: le, stageProps: { onFocus: () => {
|
|
3052
3052
|
je?.activate();
|
|
3053
3053
|
} }, overlays: Jt });
|
|
3054
3054
|
}, [ee]);
|
|
@@ -3057,7 +3057,7 @@ const td = ft(wt((e, t) => {
|
|
|
3057
3057
|
}, [q, fe, Ae, je, le?.left, le?.top, $, B, Me, $e, Ht, Jt, k, Pt]);
|
|
3058
3058
|
let Eo = { flex: "1 1 100%", display: "flex", alignContent: "stretch", position: "relative" };
|
|
3059
3059
|
S || (Eo = { ...Eo, ...C });
|
|
3060
|
-
const
|
|
3060
|
+
const Xi = Ce(() => {
|
|
3061
3061
|
const J = n.getStyles().getTheme(), Ie = J.getColorScheme(), Ne = J.getFontScheme();
|
|
3062
3062
|
return { "--sxl-doc-color-dk1": Ie.getDk1().toCSS($.darkMode), "--sxl-doc-color-dk2": Ie.getDk2().toCSS($.darkMode), "--sxl-doc-color-lt1": Ie.getLt1().toCSS($.darkMode), "--sxl-doc-color-lt2": Ie.getLt2().toCSS($.darkMode), "--sxl-doc-color-accent1": Ie.getAccent1().toCSS($.darkMode), "--sxl-doc-color-accent2": Ie.getAccent2().toCSS($.darkMode), "--sxl-doc-color-accent3": Ie.getAccent3().toCSS($.darkMode), "--sxl-doc-color-accent4": Ie.getAccent4().toCSS($.darkMode), "--sxl-doc-color-accent5": Ie.getAccent5().toCSS($.darkMode), "--sxl-doc-color-accent6": Ie.getAccent6().toCSS($.darkMode), "--sxl-doc-color-hlink": Ie.getHlink().toCSS($.darkMode), "--sxl-doc-color-fol-hlink": Ie.getFolHlink().toCSS($.darkMode), "--sxl-doc-font-major": Ne.getMajorFont(), "--sxl-doc-font-minor": Ne.getMinorFont() };
|
|
3063
3063
|
}, [n.getStyles().getTheme()]);
|
|
@@ -3067,26 +3067,26 @@ const td = ft(wt((e, t) => {
|
|
|
3067
3067
|
_(!0), v?.(J);
|
|
3068
3068
|
}, onBlur: (J) => {
|
|
3069
3069
|
_(!1), w?.(J);
|
|
3070
|
-
}, ref: Gt, ...P, children: f("div", { className: Vt("sheetxl-sheet",
|
|
3070
|
+
}, ref: Gt, ...P, children: f("div", { className: Vt("sheetxl-sheet", Vl), style: { position: "absolute", width: "100%", height: "100%", boxSizing: "border-box", display: "flex", flexDirection: "column", flex: "1 1 100%", zIndex: "0", ...Xi }, children: Qe("div", { style: { display: "flex", flexDirection: "row", flex: "1 1 100%" }, children: [mn, ro, Qe("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden", position: "relative" }, children: [Gi, Qe("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", position: "relative", borderRight: `solid ${pe.edgeStrokeWidth}px ${pe.edgeStrokeFill}`, backgroundColor: $.fill }, ref: A, onContextMenu: St, children: [Yi, oo, f(Wl, { style: { position: "absolute", right: 24, bottom: 4 }, colorLicensee: Fe?.selection?.strokeFill, colorCredits: Fe?.body?.text?.fill })] })] })] }) }) });
|
|
3071
3071
|
if (S) {
|
|
3072
|
-
const J = (Ie) => f(
|
|
3073
|
-
Ao = f(
|
|
3072
|
+
const J = (Ie) => f(pi, { ...Ie, sheet: n });
|
|
3073
|
+
Ao = f(cl, { style: { flex: "1 1 100%", overflow: "hidden", background: `${pe.fill}`, minHeight: 2 * at.height, minWidth: 2 * at.width, ...C }, viewport: m, touchElement: ne.current?.stage, disableTouch: Ft, onScrollViewport: (Ie) => {
|
|
3074
3074
|
ne.current?.scrollTo(Ie);
|
|
3075
3075
|
}, createHorizontalScrollbar: J, createVerticalScrollbar: J, ...d, children: Ao });
|
|
3076
3076
|
}
|
|
3077
3077
|
be(() => {
|
|
3078
3078
|
Xe.current = !1, z?.(), F && Gt.current?.focus();
|
|
3079
3079
|
}, [n]);
|
|
3080
|
-
const [Io,
|
|
3081
|
-
Io ||
|
|
3080
|
+
const [Io, Ji] = he(!1), ur = ie(() => {
|
|
3081
|
+
Io || Ji(!0);
|
|
3082
3082
|
}, [Io]);
|
|
3083
3083
|
return be(() => {
|
|
3084
3084
|
if (cr) return typeof M == "function" && M(), lt.detectIt().primaryInput === "touch" && ur(), () => {
|
|
3085
3085
|
};
|
|
3086
3086
|
}, [M, cr, Io]), Ao;
|
|
3087
3087
|
}));
|
|
3088
|
-
|
|
3089
|
-
const
|
|
3088
|
+
qa.displayName = "SheetElement";
|
|
3089
|
+
const od = Object.freeze(Object.defineProperty({ __proto__: null }, Symbol.toStringTag, { value: "Module" })), zr = "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=", Ca = ft(wt((e, t) => {
|
|
3090
3090
|
const { children: n, disabled: r, style: i, picture: o, description: l, isDragging: c, view: h, onHide: s, onShow: S, onKeyDownCapture: d, onFocus: g, onBlur: x, loadingPanel: y, ...D } = e, [E, j] = he(!1), [H, M] = he(null), [O, v] = he(null), [w, C] = he(null);
|
|
3091
3091
|
be(() => {
|
|
3092
3092
|
v(null), o.getDetails().then((T) => {
|
|
@@ -3106,15 +3106,15 @@ const nd = Object.freeze(Object.defineProperty({ __proto__: null }, Symbol.toStr
|
|
|
3106
3106
|
d?.(T);
|
|
3107
3107
|
}, ref: N, children: [H || E ? void 0 : y, R] });
|
|
3108
3108
|
}));
|
|
3109
|
-
|
|
3110
|
-
const
|
|
3109
|
+
Ca.displayName = "PictureEditor";
|
|
3110
|
+
const rd = ft(wt((e, t) => {
|
|
3111
3111
|
const { children: n, disabled: r, chart: i, view: o, isDragging: l, onHide: c, onShow: h, ...s } = e;
|
|
3112
3112
|
be(() => {
|
|
3113
3113
|
}, [i]);
|
|
3114
3114
|
const S = _t(t, () => ({ isChartEditor: () => !0 }), []), [d, { height: g, width: x }] = dn();
|
|
3115
3115
|
if (!i.isClosed()) return f("div", { ...s, ref: kn([S, d]), children: f("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: o.getZoom(), display: "flex", position: "relative", border: "var(--sxl-app-color-grey, grey) solid 1px", filter: r ? "blur(1px)" : void 0, boxShadow: l ? "1px 1px 2px var(--sxl-app-color-shadow, rgba(0,0,0,.15))" : void 0 }, children: f("div", { style: { textAlign: "center" }, children: i.getDescription() }) }) });
|
|
3116
|
-
})),
|
|
3117
|
-
const { style: n = {}, className: r, value: i = "", onSubmit: o, onChange: l, onCancel: c, createInput: h =
|
|
3116
|
+
})), Sa = "_editable-input_1bqx6_6", xa = (e) => f("input", { ...e }), ka = ft(wt((e, t) => {
|
|
3117
|
+
const { style: n = {}, className: r, value: i = "", onSubmit: o, onChange: l, onCancel: c, createInput: h = xa, notifier: s, styleHover: S = {}, dragging: d, maxLength: g, disabled: x = !1, readOnly: y = !1, ...D } = e, [E, j] = he(!1), [H, M] = he(!1), [O, v] = he(i);
|
|
3118
3118
|
be(() => {
|
|
3119
3119
|
v(i);
|
|
3120
3120
|
}, [i]);
|
|
@@ -3135,7 +3135,7 @@ const od = ft(wt((e, t) => {
|
|
|
3135
3135
|
v(i), w.current = null, M(!1), c?.();
|
|
3136
3136
|
}, [c, i]), U = Ce(() => {
|
|
3137
3137
|
if (!H) return null;
|
|
3138
|
-
const ee = { className: Vt(
|
|
3138
|
+
const ee = { className: Vt(Sa), autoFocus: !0, spellCheck: !1, name: "editable-label", autoComplete: "off", maxLength: g, type: "text", value: O, onFocus: (z) => {
|
|
3139
3139
|
w.current || (w.current = z.target, setTimeout(() => {
|
|
3140
3140
|
z.target?.select();
|
|
3141
3141
|
}, 0));
|
|
@@ -3179,11 +3179,11 @@ function or(e) {
|
|
|
3179
3179
|
function Jn(e) {
|
|
3180
3180
|
return !Rn(e) && e instanceof zt(e).HTMLElement;
|
|
3181
3181
|
}
|
|
3182
|
-
function
|
|
3182
|
+
function wi(e) {
|
|
3183
3183
|
return e instanceof zt(e).SVGElement;
|
|
3184
3184
|
}
|
|
3185
3185
|
function Cn(e) {
|
|
3186
|
-
return e ? Rn(e) ? e.document : nr(e) ? or(e) ? e : Jn(e) ||
|
|
3186
|
+
return e ? Rn(e) ? e.document : nr(e) ? or(e) ? e : Jn(e) || wi(e) ? e.ownerDocument : document : document : document;
|
|
3187
3187
|
}
|
|
3188
3188
|
const Ut = So ? Bt : be;
|
|
3189
3189
|
function xo(e) {
|
|
@@ -3229,7 +3229,7 @@ function Qn(e, t) {
|
|
|
3229
3229
|
return Po[e] = n, e + "-" + n;
|
|
3230
3230
|
}, [e, t]);
|
|
3231
3231
|
}
|
|
3232
|
-
function
|
|
3232
|
+
function yi(e) {
|
|
3233
3233
|
return function(t) {
|
|
3234
3234
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++) r[i - 1] = arguments[i];
|
|
3235
3235
|
return r.reduce((o, l) => {
|
|
@@ -3242,7 +3242,7 @@ function wi(e) {
|
|
|
3242
3242
|
}, { ...t });
|
|
3243
3243
|
};
|
|
3244
3244
|
}
|
|
3245
|
-
const qn =
|
|
3245
|
+
const qn = yi(1), Yn = yi(-1);
|
|
3246
3246
|
function ko(e) {
|
|
3247
3247
|
if (!e) return !1;
|
|
3248
3248
|
const { KeyboardEvent: t } = zt(e.target);
|
|
@@ -3281,23 +3281,23 @@ const cn = Object.freeze({ Translate: { toString(e) {
|
|
|
3281
3281
|
let { property: t, duration: n, easing: r } = e;
|
|
3282
3282
|
return t + " " + n + "ms " + r;
|
|
3283
3283
|
} } }), Fr = "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";
|
|
3284
|
-
function
|
|
3284
|
+
function Ra(e) {
|
|
3285
3285
|
return e.matches(Fr) ? e : e.querySelector(Fr);
|
|
3286
3286
|
}
|
|
3287
|
-
const
|
|
3288
|
-
function
|
|
3287
|
+
const Ta = { display: "none" };
|
|
3288
|
+
function Ma(e) {
|
|
3289
3289
|
let { id: t, value: n } = e;
|
|
3290
|
-
return nt.createElement("div", { id: t, style:
|
|
3290
|
+
return nt.createElement("div", { id: t, style: Ta }, n);
|
|
3291
3291
|
}
|
|
3292
|
-
function
|
|
3292
|
+
function Da(e) {
|
|
3293
3293
|
let { id: t, announcement: n, ariaLiveType: r = "assertive" } = e;
|
|
3294
3294
|
return nt.createElement("div", { id: t, style: { position: "fixed", top: 0, left: 0, width: 1, height: 1, margin: -1, border: 0, padding: 0, overflow: "hidden", clip: "rect(0 0 0 0)", clipPath: "inset(100%)", whiteSpace: "nowrap" }, role: "status", "aria-live": r, "aria-atomic": !0 }, n);
|
|
3295
3295
|
}
|
|
3296
|
-
const
|
|
3296
|
+
const bi = xn(null), Ea = { draggable: `
|
|
3297
3297
|
To pick up a draggable item, press the space bar.
|
|
3298
3298
|
While dragging, use the arrow keys to move the item.
|
|
3299
3299
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
3300
|
-
` },
|
|
3300
|
+
` }, Aa = { onDragStart(e) {
|
|
3301
3301
|
let { active: t } = e;
|
|
3302
3302
|
return "Picked up draggable item " + t.id + ".";
|
|
3303
3303
|
}, onDragOver(e) {
|
|
@@ -3310,8 +3310,8 @@ const yi = xn(null), Da = { draggable: `
|
|
|
3310
3310
|
let { active: t } = e;
|
|
3311
3311
|
return "Dragging was cancelled. Draggable item " + t.id + " was dropped.";
|
|
3312
3312
|
} };
|
|
3313
|
-
function
|
|
3314
|
-
let { announcements: t =
|
|
3313
|
+
function Ia(e) {
|
|
3314
|
+
let { announcements: t = Aa, container: n, hiddenTextDescribedById: r, screenReaderInstructions: i = Ea } = e;
|
|
3315
3315
|
const { announce: o, announcement: l } = (function() {
|
|
3316
3316
|
const [d, g] = he("");
|
|
3317
3317
|
return { announce: Ke((x) => {
|
|
@@ -3321,7 +3321,7 @@ function Aa(e) {
|
|
|
3321
3321
|
if (be(() => {
|
|
3322
3322
|
s(!0);
|
|
3323
3323
|
}, []), (function(d) {
|
|
3324
|
-
const g = Xt(
|
|
3324
|
+
const g = Xt(bi);
|
|
3325
3325
|
be(() => {
|
|
3326
3326
|
if (!g) throw new Error("useDndMonitor must be used within a children of <DndContext>");
|
|
3327
3327
|
return g(d);
|
|
@@ -3342,8 +3342,8 @@ function Aa(e) {
|
|
|
3342
3342
|
let { active: g, over: x } = d;
|
|
3343
3343
|
o(t.onDragCancel({ active: g, over: x }));
|
|
3344
3344
|
} }), [o, t])), !h) return null;
|
|
3345
|
-
const S = nt.createElement(nt.Fragment, null, nt.createElement(
|
|
3346
|
-
return n ?
|
|
3345
|
+
const S = nt.createElement(nt.Fragment, null, nt.createElement(Ma, { id: r, value: i.draggable }), nt.createElement(Da, { id: c, announcement: l }));
|
|
3346
|
+
return n ? ci(S, n) : S;
|
|
3347
3347
|
}
|
|
3348
3348
|
var kt;
|
|
3349
3349
|
function wo() {
|
|
@@ -3355,18 +3355,18 @@ function Wo(e, t) {
|
|
|
3355
3355
|
e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
|
|
3356
3356
|
})(kt || (kt = {}));
|
|
3357
3357
|
const jt = Object.freeze({ x: 0, y: 0 });
|
|
3358
|
-
function
|
|
3358
|
+
function qi(e, t) {
|
|
3359
3359
|
return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2));
|
|
3360
3360
|
}
|
|
3361
|
-
function
|
|
3361
|
+
function za(e, t) {
|
|
3362
3362
|
const n = vo(e);
|
|
3363
3363
|
return n ? (n.x - t.left) / t.width * 100 + "% " + (n.y - t.top) / t.height * 100 + "%" : "0 0";
|
|
3364
3364
|
}
|
|
3365
|
-
function
|
|
3365
|
+
function Ci(e, t) {
|
|
3366
3366
|
let { data: { value: n } } = e, { data: { value: r } } = t;
|
|
3367
3367
|
return n - r;
|
|
3368
3368
|
}
|
|
3369
|
-
function
|
|
3369
|
+
function Fa(e, t) {
|
|
3370
3370
|
let { data: { value: n } } = e, { data: { value: r } } = t;
|
|
3371
3371
|
return r - n;
|
|
3372
3372
|
}
|
|
@@ -3374,7 +3374,7 @@ function Nr(e) {
|
|
|
3374
3374
|
let { left: t, top: n, height: r, width: i } = e;
|
|
3375
3375
|
return [{ x: t, y: n }, { x: t + i, y: n }, { x: t, y: n + r }, { x: t + i, y: n + r }];
|
|
3376
3376
|
}
|
|
3377
|
-
function
|
|
3377
|
+
function Si(e, t) {
|
|
3378
3378
|
if (!e || e.length === 0) return null;
|
|
3379
3379
|
const [n] = e;
|
|
3380
3380
|
return n[t];
|
|
@@ -3382,19 +3382,19 @@ function Ci(e, t) {
|
|
|
3382
3382
|
function Lr(e, t, n) {
|
|
3383
3383
|
return t === void 0 && (t = e.left), n === void 0 && (n = e.top), { x: t + 0.5 * e.width, y: n + 0.5 * e.height };
|
|
3384
3384
|
}
|
|
3385
|
-
const
|
|
3385
|
+
const Na = (e) => {
|
|
3386
3386
|
let { collisionRect: t, droppableRects: n, droppableContainers: r } = e;
|
|
3387
3387
|
const i = Lr(t, t.left, t.top), o = [];
|
|
3388
3388
|
for (const l of r) {
|
|
3389
3389
|
const { id: c } = l, h = n.get(c);
|
|
3390
3390
|
if (h) {
|
|
3391
|
-
const s =
|
|
3391
|
+
const s = qi(Lr(h), i);
|
|
3392
3392
|
o.push({ id: c, data: { droppableContainer: l, value: s } });
|
|
3393
3393
|
}
|
|
3394
3394
|
}
|
|
3395
|
-
return o.sort(
|
|
3395
|
+
return o.sort(Ci);
|
|
3396
3396
|
};
|
|
3397
|
-
function
|
|
3397
|
+
function La(e, t) {
|
|
3398
3398
|
const n = Math.max(t.top, e.top), r = Math.max(t.left, e.left), i = Math.min(t.left + t.width, e.left + e.width), o = Math.min(t.top + t.height, e.top + e.height), l = i - r, c = o - n;
|
|
3399
3399
|
if (r < i && n < o) {
|
|
3400
3400
|
const h = t.width * t.height, s = e.width * e.height, S = l * c;
|
|
@@ -3402,29 +3402,29 @@ function Na(e, t) {
|
|
|
3402
3402
|
}
|
|
3403
3403
|
return 0;
|
|
3404
3404
|
}
|
|
3405
|
-
const
|
|
3405
|
+
const Oa = (e) => {
|
|
3406
3406
|
let { collisionRect: t, droppableRects: n, droppableContainers: r } = e;
|
|
3407
3407
|
const i = [];
|
|
3408
3408
|
for (const o of r) {
|
|
3409
3409
|
const { id: l } = o, c = n.get(l);
|
|
3410
3410
|
if (c) {
|
|
3411
|
-
const h =
|
|
3411
|
+
const h = La(c, t);
|
|
3412
3412
|
h > 0 && i.push({ id: l, data: { droppableContainer: o, value: h } });
|
|
3413
3413
|
}
|
|
3414
3414
|
}
|
|
3415
|
-
return i.sort(
|
|
3415
|
+
return i.sort(Fa);
|
|
3416
3416
|
};
|
|
3417
3417
|
function Or(e, t) {
|
|
3418
3418
|
return e && t ? { x: e.left - t.left, y: e.top - t.top } : jt;
|
|
3419
3419
|
}
|
|
3420
|
-
function
|
|
3420
|
+
function Ba(e) {
|
|
3421
3421
|
return function(t) {
|
|
3422
3422
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++) r[i - 1] = arguments[i];
|
|
3423
3423
|
return r.reduce((o, l) => ({ ...o, top: o.top + e * l.y, bottom: o.bottom + e * l.y, left: o.left + e * l.x, right: o.right + e * l.x }), { ...t });
|
|
3424
3424
|
};
|
|
3425
3425
|
}
|
|
3426
|
-
const
|
|
3427
|
-
function
|
|
3426
|
+
const Va = Ba(1);
|
|
3427
|
+
function xi(e) {
|
|
3428
3428
|
if (e.startsWith("matrix3d(")) {
|
|
3429
3429
|
const t = e.slice(9, -1).split(/, /);
|
|
3430
3430
|
return { x: +t[12], y: +t[13], scaleX: +t[0], scaleY: +t[5] };
|
|
@@ -3435,14 +3435,14 @@ function Si(e) {
|
|
|
3435
3435
|
}
|
|
3436
3436
|
return null;
|
|
3437
3437
|
}
|
|
3438
|
-
const
|
|
3438
|
+
const Ha = { ignoreTransform: !1 };
|
|
3439
3439
|
function Tn(e, t) {
|
|
3440
|
-
t === void 0 && (t =
|
|
3440
|
+
t === void 0 && (t = Ha);
|
|
3441
3441
|
let n = e.getBoundingClientRect();
|
|
3442
3442
|
if (t.ignoreTransform) {
|
|
3443
3443
|
const { transform: s, transformOrigin: S } = zt(e).getComputedStyle(e);
|
|
3444
3444
|
s && (n = (function(d, g, x) {
|
|
3445
|
-
const y =
|
|
3445
|
+
const y = xi(g);
|
|
3446
3446
|
if (!y) return d;
|
|
3447
3447
|
const { scaleX: D, scaleY: E, x: j, y: H } = y, M = d.left - j - (1 - D) * parseFloat(x), O = d.top - H - (1 - E) * parseFloat(x.slice(x.indexOf(" ") + 1)), v = D ? d.width / D : d.width, w = E ? d.height / E : d.height;
|
|
3448
3448
|
return { width: v, height: w, top: O, right: M + v, bottom: O + w, left: M };
|
|
@@ -3459,7 +3459,7 @@ function Ro(e, t) {
|
|
|
3459
3459
|
return e ? (function r(i) {
|
|
3460
3460
|
if (t != null && n.length >= t || !i) return n;
|
|
3461
3461
|
if (or(i) && i.scrollingElement != null && !n.includes(i.scrollingElement)) return n.push(i.scrollingElement), n;
|
|
3462
|
-
if (!Jn(i) ||
|
|
3462
|
+
if (!Jn(i) || wi(i) || n.includes(i)) return n;
|
|
3463
3463
|
const o = zt(e).getComputedStyle(i);
|
|
3464
3464
|
return i !== e && (function(l, c) {
|
|
3465
3465
|
c === void 0 && (c = zt(l).getComputedStyle(l));
|
|
@@ -3473,41 +3473,41 @@ function Ro(e, t) {
|
|
|
3473
3473
|
})(i, o) ? n : r(i.parentNode);
|
|
3474
3474
|
})(e) : n;
|
|
3475
3475
|
}
|
|
3476
|
-
function
|
|
3476
|
+
function ki(e) {
|
|
3477
3477
|
const [t] = Ro(e, 1);
|
|
3478
3478
|
return t ?? null;
|
|
3479
3479
|
}
|
|
3480
3480
|
function $o(e) {
|
|
3481
3481
|
return So && e ? Rn(e) ? e : nr(e) ? or(e) || e === Cn(e).scrollingElement ? window : Jn(e) ? e : null : null : null;
|
|
3482
3482
|
}
|
|
3483
|
-
function
|
|
3483
|
+
function Ri(e) {
|
|
3484
3484
|
return Rn(e) ? e.scrollX : e.scrollLeft;
|
|
3485
3485
|
}
|
|
3486
|
-
function
|
|
3486
|
+
function Ti(e) {
|
|
3487
3487
|
return Rn(e) ? e.scrollY : e.scrollTop;
|
|
3488
3488
|
}
|
|
3489
3489
|
function Zo(e) {
|
|
3490
|
-
return { x:
|
|
3490
|
+
return { x: Ri(e), y: Ti(e) };
|
|
3491
3491
|
}
|
|
3492
3492
|
var Tt;
|
|
3493
|
-
function
|
|
3493
|
+
function Mi(e) {
|
|
3494
3494
|
return !(!So || !e) && e === document.scrollingElement;
|
|
3495
3495
|
}
|
|
3496
|
-
function
|
|
3497
|
-
const t = { x: 0, y: 0 }, n =
|
|
3496
|
+
function Di(e) {
|
|
3497
|
+
const t = { x: 0, y: 0 }, n = Mi(e) ? { height: window.innerHeight, width: window.innerWidth } : { height: e.clientHeight, width: e.clientWidth }, r = { x: e.scrollWidth - n.width, y: e.scrollHeight - n.height };
|
|
3498
3498
|
return { isTop: e.scrollTop <= t.y, isLeft: e.scrollLeft <= t.x, isBottom: e.scrollTop >= r.y, isRight: e.scrollLeft >= r.x, maxScroll: r, minScroll: t };
|
|
3499
3499
|
}
|
|
3500
3500
|
(function(e) {
|
|
3501
3501
|
e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
|
|
3502
3502
|
})(Tt || (Tt = {}));
|
|
3503
|
-
const
|
|
3504
|
-
function
|
|
3503
|
+
const Pa = { x: 0.2, y: 0.2 };
|
|
3504
|
+
function Wa(e, t, n, r, i) {
|
|
3505
3505
|
let { top: o, left: l, right: c, bottom: h } = n;
|
|
3506
|
-
r === void 0 && (r = 10), i === void 0 && (i =
|
|
3507
|
-
const { isTop: s, isBottom: S, isLeft: d, isRight: g } =
|
|
3506
|
+
r === void 0 && (r = 10), i === void 0 && (i = Pa);
|
|
3507
|
+
const { isTop: s, isBottom: S, isLeft: d, isRight: g } = Di(e), x = { x: 0, y: 0 }, y = { x: 0, y: 0 }, D = t.height * i.y, E = t.width * i.x;
|
|
3508
3508
|
return !s && o <= t.top + D ? (x.y = Tt.Backward, y.y = r * Math.abs((t.top + D - o) / D)) : !S && h >= t.bottom - D && (x.y = Tt.Forward, y.y = r * Math.abs((t.bottom - D - h) / D)), !g && c >= t.right - E ? (x.x = Tt.Forward, y.x = r * Math.abs((t.right - E - c) / E)) : !d && l <= t.left + E && (x.x = Tt.Backward, y.x = r * Math.abs((t.left + E - l) / E)), { direction: x, speed: y };
|
|
3509
3509
|
}
|
|
3510
|
-
function
|
|
3510
|
+
function $a(e) {
|
|
3511
3511
|
if (e === document.scrollingElement) {
|
|
3512
3512
|
const { innerWidth: o, innerHeight: l } = window;
|
|
3513
3513
|
return { top: 0, left: 0, right: o, bottom: l, width: o, height: l };
|
|
@@ -3515,25 +3515,25 @@ function Wa(e) {
|
|
|
3515
3515
|
const { top: t, left: n, right: r, bottom: i } = e.getBoundingClientRect();
|
|
3516
3516
|
return { top: t, left: n, right: r, bottom: i, width: e.clientWidth, height: e.clientHeight };
|
|
3517
3517
|
}
|
|
3518
|
-
function
|
|
3518
|
+
function Ei(e) {
|
|
3519
3519
|
return e.reduce((t, n) => qn(t, Zo(n)), jt);
|
|
3520
3520
|
}
|
|
3521
|
-
function
|
|
3521
|
+
function Ai(e, t) {
|
|
3522
3522
|
if (t === void 0 && (t = Tn), !e) return;
|
|
3523
3523
|
const { top: n, left: r, bottom: i, right: o } = t(e);
|
|
3524
|
-
|
|
3524
|
+
ki(e) && (i <= 0 || o <= 0 || n >= window.innerHeight || r >= window.innerWidth) && e.scrollIntoView({ block: "center", inline: "center" });
|
|
3525
3525
|
}
|
|
3526
|
-
const
|
|
3527
|
-
return e.reduce((t, n) => t + ki(n), 0);
|
|
3528
|
-
}], ["y", ["top", "bottom"], function(e) {
|
|
3526
|
+
const Ua = [["x", ["left", "right"], function(e) {
|
|
3529
3527
|
return e.reduce((t, n) => t + Ri(n), 0);
|
|
3528
|
+
}], ["y", ["top", "bottom"], function(e) {
|
|
3529
|
+
return e.reduce((t, n) => t + Ti(n), 0);
|
|
3530
3530
|
}]];
|
|
3531
3531
|
class Ko {
|
|
3532
3532
|
constructor(t, n) {
|
|
3533
3533
|
this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
|
|
3534
|
-
const r = Ro(n), i =
|
|
3534
|
+
const r = Ro(n), i = Ei(r);
|
|
3535
3535
|
this.rect = { ...t }, this.width = t.width, this.height = t.height;
|
|
3536
|
-
for (const [o, l, c] of
|
|
3536
|
+
for (const [o, l, c] of Ua) for (const h of l) Object.defineProperty(this, h, { get: () => {
|
|
3537
3537
|
const s = c(r), S = i[o] - s;
|
|
3538
3538
|
return this.rect[h] + S;
|
|
3539
3539
|
}, enumerable: !0 });
|
|
@@ -3562,7 +3562,7 @@ var Wt, dt;
|
|
|
3562
3562
|
function Vr(e) {
|
|
3563
3563
|
e.preventDefault();
|
|
3564
3564
|
}
|
|
3565
|
-
function
|
|
3565
|
+
function ja(e) {
|
|
3566
3566
|
e.stopPropagation();
|
|
3567
3567
|
}
|
|
3568
3568
|
(function(e) {
|
|
@@ -3570,7 +3570,7 @@ function Ua(e) {
|
|
|
3570
3570
|
})(Wt || (Wt = {})), (function(e) {
|
|
3571
3571
|
e.Space = "Space", e.Down = "ArrowDown", e.Right = "ArrowRight", e.Left = "ArrowLeft", e.Up = "ArrowUp", e.Esc = "Escape", e.Enter = "Enter", e.Tab = "Tab";
|
|
3572
3572
|
})(dt || (dt = {}));
|
|
3573
|
-
const
|
|
3573
|
+
const Ii = { start: [dt.Space, dt.Enter], cancel: [dt.Esc], end: [dt.Space, dt.Enter, dt.Tab] }, Ga = (e, t) => {
|
|
3574
3574
|
let { currentCoordinates: n } = t;
|
|
3575
3575
|
switch (e.code) {
|
|
3576
3576
|
case dt.Right:
|
|
@@ -3594,11 +3594,11 @@ class rr {
|
|
|
3594
3594
|
}
|
|
3595
3595
|
handleStart() {
|
|
3596
3596
|
const { activeNode: t, onStart: n } = this.props, r = t.node.current;
|
|
3597
|
-
r &&
|
|
3597
|
+
r && Ai(r), n(jt);
|
|
3598
3598
|
}
|
|
3599
3599
|
handleKeyDown(t) {
|
|
3600
3600
|
if (ko(t)) {
|
|
3601
|
-
const { active: n, context: r, options: i } = this.props, { keyboardCodes: o =
|
|
3601
|
+
const { active: n, context: r, options: i } = this.props, { keyboardCodes: o = Ii, coordinateGetter: l = Ga, scrollBehavior: c = "smooth" } = i, { code: h } = t;
|
|
3602
3602
|
if (o.end.includes(h)) return void this.handleEnd(t);
|
|
3603
3603
|
if (o.cancel.includes(h)) return void this.handleCancel(t);
|
|
3604
3604
|
const { collisionRect: s } = r.current, S = s ? { x: s.left, y: s.top } : jt;
|
|
@@ -3607,7 +3607,7 @@ class rr {
|
|
|
3607
3607
|
if (d) {
|
|
3608
3608
|
const g = Yn(d, S), x = { x: 0, y: 0 }, { scrollableAncestors: y } = r.current;
|
|
3609
3609
|
for (const D of y) {
|
|
3610
|
-
const E = t.code, { isTop: j, isRight: H, isLeft: M, isBottom: O, maxScroll: v, minScroll: w } =
|
|
3610
|
+
const E = t.code, { isTop: j, isRight: H, isLeft: M, isBottom: O, maxScroll: v, minScroll: w } = Di(D), C = $a(D), N = { x: Math.min(E === dt.Right ? C.right - C.width / 2 : C.right, Math.max(E === dt.Right ? C.left : C.left + C.width / 2, d.x)), y: Math.min(E === dt.Down ? C.bottom - C.height / 2 : C.bottom, Math.max(E === dt.Down ? C.top : C.top + C.height / 2, d.y)) }, R = E === dt.Right && !H || E === dt.Left && !M, T = E === dt.Down && !O || E === dt.Up && !j;
|
|
3611
3611
|
if (R && N.x !== d.x) {
|
|
3612
3612
|
const W = D.scrollLeft + g.x, U = E === dt.Right && W <= v.x || E === dt.Left && W >= w.x;
|
|
3613
3613
|
if (U && !g.y) return void D.scrollTo({ left: W, behavior: c });
|
|
@@ -3648,7 +3648,7 @@ function Pr(e) {
|
|
|
3648
3648
|
return !!(e && "delay" in e);
|
|
3649
3649
|
}
|
|
3650
3650
|
rr.activators = [{ eventName: "onKeyDown", handler: (e, t, n) => {
|
|
3651
|
-
let { keyboardCodes: r =
|
|
3651
|
+
let { keyboardCodes: r = Ii, onActivation: i } = t, { active: o } = n;
|
|
3652
3652
|
const { code: l } = e.nativeEvent;
|
|
3653
3653
|
if (r.start.includes(l)) {
|
|
3654
3654
|
const c = o.activatorNode.current;
|
|
@@ -3684,7 +3684,7 @@ class ir {
|
|
|
3684
3684
|
}
|
|
3685
3685
|
handleStart() {
|
|
3686
3686
|
const { initialCoordinates: t } = this, { onStart: n } = this.props;
|
|
3687
|
-
t && (this.activated = !0, this.documentListeners.add(Wt.Click,
|
|
3687
|
+
t && (this.activated = !0, this.documentListeners.add(Wt.Click, ja, { capture: !0 }), this.removeTextSelection(), this.documentListeners.add(Wt.SelectionChange, this.removeTextSelection), n(t));
|
|
3688
3688
|
}
|
|
3689
3689
|
handleMove(t) {
|
|
3690
3690
|
var n;
|
|
@@ -3716,33 +3716,33 @@ class ir {
|
|
|
3716
3716
|
(t = this.document.getSelection()) == null || t.removeAllRanges();
|
|
3717
3717
|
}
|
|
3718
3718
|
}
|
|
3719
|
-
const
|
|
3720
|
-
class
|
|
3719
|
+
const _a = { cancel: { name: "pointercancel" }, move: { name: "pointermove" }, end: { name: "pointerup" } };
|
|
3720
|
+
class zi extends ir {
|
|
3721
3721
|
constructor(t) {
|
|
3722
3722
|
const { event: n } = t, r = Cn(n.target);
|
|
3723
|
-
super(t,
|
|
3723
|
+
super(t, _a, r);
|
|
3724
3724
|
}
|
|
3725
3725
|
}
|
|
3726
|
-
|
|
3726
|
+
zi.activators = [{ eventName: "onPointerDown", handler: (e, t) => {
|
|
3727
3727
|
let { nativeEvent: n } = e, { onActivation: r } = t;
|
|
3728
3728
|
return !(!n.isPrimary || n.button !== 0) && (r?.({ event: n }), !0);
|
|
3729
3729
|
} }];
|
|
3730
|
-
const
|
|
3730
|
+
const Za = { move: { name: "mousemove" }, end: { name: "mouseup" } };
|
|
3731
3731
|
var Yo;
|
|
3732
3732
|
(function(e) {
|
|
3733
3733
|
e[e.RightClick = 2] = "RightClick";
|
|
3734
3734
|
})(Yo || (Yo = {}));
|
|
3735
|
-
class
|
|
3735
|
+
class Fi extends ir {
|
|
3736
3736
|
constructor(t) {
|
|
3737
|
-
super(t,
|
|
3737
|
+
super(t, Za, Cn(t.event.target));
|
|
3738
3738
|
}
|
|
3739
3739
|
}
|
|
3740
|
-
|
|
3740
|
+
Fi.activators = [{ eventName: "onMouseDown", handler: (e, t) => {
|
|
3741
3741
|
let { nativeEvent: n } = e, { onActivation: r } = t;
|
|
3742
3742
|
return n.button !== Yo.RightClick && (r?.({ event: n }), !0);
|
|
3743
3743
|
} }];
|
|
3744
3744
|
const jo = { cancel: { name: "touchcancel" }, move: { name: "touchmove" }, end: { name: "touchend" } };
|
|
3745
|
-
class
|
|
3745
|
+
class Ni extends ir {
|
|
3746
3746
|
constructor(t) {
|
|
3747
3747
|
super(t, jo);
|
|
3748
3748
|
}
|
|
@@ -3755,13 +3755,13 @@ class Fi extends ir {
|
|
|
3755
3755
|
}
|
|
3756
3756
|
}
|
|
3757
3757
|
var Un, yo;
|
|
3758
|
-
function
|
|
3758
|
+
function Ka(e) {
|
|
3759
3759
|
let { acceleration: t, activator: n = Un.Pointer, canScroll: r, draggingRect: i, enabled: o, interval: l = 5, order: c = yo.TreeOrder, pointerCoordinates: h, scrollableAncestors: s, scrollableAncestorRects: S, delta: d, threshold: g } = e;
|
|
3760
3760
|
const x = (function(w) {
|
|
3761
3761
|
let { delta: C, disabled: N } = w;
|
|
3762
3762
|
const R = fo(C);
|
|
3763
3763
|
return Wn((T) => {
|
|
3764
|
-
if (N || !R || !T) return
|
|
3764
|
+
if (N || !R || !T) return Ya;
|
|
3765
3765
|
const W = { x: Math.sign(C.x - R.x), y: Math.sign(C.y - R.y) };
|
|
3766
3766
|
return { x: { [Tt.Backward]: T.x[Tt.Backward] || W.x === -1, [Tt.Forward]: T.x[Tt.Forward] || W.x === 1 }, y: { [Tt.Backward]: T.y[Tt.Backward] || W.y === -1, [Tt.Forward]: T.y[Tt.Forward] || W.y === 1 } };
|
|
3767
3767
|
}, [N, C, R]);
|
|
@@ -3791,7 +3791,7 @@ function Za(e) {
|
|
|
3791
3791
|
if (r?.(w) === !1) continue;
|
|
3792
3792
|
const C = s.indexOf(w), N = S[C];
|
|
3793
3793
|
if (!N) continue;
|
|
3794
|
-
const { direction: R, speed: T } =
|
|
3794
|
+
const { direction: R, speed: T } = Wa(w, N, H, t, g);
|
|
3795
3795
|
for (const W of ["x", "y"]) x[W][R[W]] || (T[W] = 0, R[W] = 0);
|
|
3796
3796
|
if (T.x > 0 || T.y > 0) return D(), M.current = w, y(O, l), E.current = T, void (j.current = R);
|
|
3797
3797
|
}
|
|
@@ -3799,7 +3799,7 @@ function Za(e) {
|
|
|
3799
3799
|
} else D();
|
|
3800
3800
|
}, [t, O, r, D, o, l, JSON.stringify(H), JSON.stringify(x), y, s, v, S, JSON.stringify(g)]);
|
|
3801
3801
|
}
|
|
3802
|
-
|
|
3802
|
+
Ni.activators = [{ eventName: "onTouchStart", handler: (e, t) => {
|
|
3803
3803
|
let { nativeEvent: n } = e, { onActivation: r } = t;
|
|
3804
3804
|
const { touches: i } = n;
|
|
3805
3805
|
return !(i.length > 1) && (r?.({ event: n }), !0);
|
|
@@ -3808,7 +3808,7 @@ Fi.activators = [{ eventName: "onTouchStart", handler: (e, t) => {
|
|
|
3808
3808
|
})(Un || (Un = {})), (function(e) {
|
|
3809
3809
|
e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
3810
3810
|
})(yo || (yo = {}));
|
|
3811
|
-
const
|
|
3811
|
+
const Ya = { x: { [Tt.Backward]: !1, [Tt.Forward]: !1 }, y: { [Tt.Backward]: !1, [Tt.Forward]: !1 } };
|
|
3812
3812
|
var Xn, Xo;
|
|
3813
3813
|
(function(e) {
|
|
3814
3814
|
e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
|
|
@@ -3828,11 +3828,11 @@ function bo(e) {
|
|
|
3828
3828
|
}, [n]);
|
|
3829
3829
|
return be(() => () => i?.disconnect(), [i]), i;
|
|
3830
3830
|
}
|
|
3831
|
-
function
|
|
3831
|
+
function Xa(e) {
|
|
3832
3832
|
return new Ko(Tn(e), e);
|
|
3833
3833
|
}
|
|
3834
3834
|
function $r(e, t, n) {
|
|
3835
|
-
t === void 0 && (t =
|
|
3835
|
+
t === void 0 && (t = Xa);
|
|
3836
3836
|
const [r, i] = he(null);
|
|
3837
3837
|
function o() {
|
|
3838
3838
|
i((h) => {
|
|
@@ -3882,13 +3882,13 @@ function Gr(e) {
|
|
|
3882
3882
|
})(e) : null, [e]);
|
|
3883
3883
|
}
|
|
3884
3884
|
const _r = [];
|
|
3885
|
-
function
|
|
3885
|
+
function Li(e) {
|
|
3886
3886
|
if (!e) return null;
|
|
3887
3887
|
if (e.children.length > 1) return e;
|
|
3888
3888
|
const t = e.children[0];
|
|
3889
3889
|
return Jn(t) ? t : e;
|
|
3890
3890
|
}
|
|
3891
|
-
const
|
|
3891
|
+
const Ja = [{ sensor: zi, options: {} }, { sensor: rr, options: {} }], Qa = { current: {} }, mo = { draggable: { measure: Br }, droppable: { measure: Br, strategy: Xn.WhileDragging, frequency: Xo.Optimized }, dragOverlay: { measure: Tn } };
|
|
3892
3892
|
class jn extends Map {
|
|
3893
3893
|
get(t) {
|
|
3894
3894
|
var n;
|
|
@@ -3908,11 +3908,11 @@ class jn extends Map {
|
|
|
3908
3908
|
return (n = (r = this.get(t)) == null ? void 0 : r.node.current) != null ? n : void 0;
|
|
3909
3909
|
}
|
|
3910
3910
|
}
|
|
3911
|
-
const
|
|
3912
|
-
function
|
|
3911
|
+
const es = { activatorEvent: null, active: null, activeNode: null, activeNodeRect: null, collisions: null, containerNodeRect: null, draggableNodes: /* @__PURE__ */ new Map(), droppableRects: /* @__PURE__ */ new Map(), droppableContainers: new jn(), over: null, dragOverlay: { nodeRef: { current: null }, rect: null, setRef: wo }, scrollableAncestors: [], scrollableAncestorRects: [], measuringConfiguration: mo, measureDroppableContainers: wo, windowRect: null, measuringScheduled: !1 }, Oi = { activatorEvent: null, activators: [], active: null, activeNodeRect: null, ariaDescribedById: { draggable: "" }, dispatch: wo, draggableNodes: /* @__PURE__ */ new Map(), over: null, measureDroppableContainers: wo }, eo = xn(Oi), Bi = xn(es);
|
|
3912
|
+
function ts() {
|
|
3913
3913
|
return { draggable: { active: null, initialCoordinates: { x: 0, y: 0 }, nodes: /* @__PURE__ */ new Map(), translate: { x: 0, y: 0 } }, droppable: { containers: new jn() } };
|
|
3914
3914
|
}
|
|
3915
|
-
function
|
|
3915
|
+
function ns(e, t) {
|
|
3916
3916
|
switch (t.type) {
|
|
3917
3917
|
case kt.DragStart:
|
|
3918
3918
|
return { ...e, draggable: { ...e.draggable, initialCoordinates: t.initialCoordinates, active: t.active } };
|
|
@@ -3941,7 +3941,7 @@ function ts(e, t) {
|
|
|
3941
3941
|
return e;
|
|
3942
3942
|
}
|
|
3943
3943
|
}
|
|
3944
|
-
function
|
|
3944
|
+
function os(e) {
|
|
3945
3945
|
let { disabled: t } = e;
|
|
3946
3946
|
const { active: n, activatorEvent: r, draggableNodes: i } = Xt(eo), o = fo(r), l = fo(n?.id);
|
|
3947
3947
|
return be(() => {
|
|
@@ -3954,7 +3954,7 @@ function ns(e) {
|
|
|
3954
3954
|
requestAnimationFrame(() => {
|
|
3955
3955
|
for (const S of [h.current, s.current]) {
|
|
3956
3956
|
if (!S) continue;
|
|
3957
|
-
const d =
|
|
3957
|
+
const d = Ra(S);
|
|
3958
3958
|
if (d) {
|
|
3959
3959
|
d.focus();
|
|
3960
3960
|
break;
|
|
@@ -3964,7 +3964,7 @@ function ns(e) {
|
|
|
3964
3964
|
}
|
|
3965
3965
|
}, [r, t, i, l, o]), null;
|
|
3966
3966
|
}
|
|
3967
|
-
function
|
|
3967
|
+
function Vi(e, t) {
|
|
3968
3968
|
let { transform: n, ...r } = t;
|
|
3969
3969
|
return e != null && e.length ? e.reduce((i, o) => o({ transform: i, ...r }), n) : n;
|
|
3970
3970
|
}
|
|
@@ -3973,10 +3973,10 @@ var nn;
|
|
|
3973
3973
|
(function(e) {
|
|
3974
3974
|
e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
|
|
3975
3975
|
})(nn || (nn = {}));
|
|
3976
|
-
const
|
|
3976
|
+
const rs = ft(function(e) {
|
|
3977
3977
|
var t, n, r, i;
|
|
3978
|
-
let { id: o, accessibility: l, autoScroll: c = !0, children: h, sensors: s =
|
|
3979
|
-
const y = sn(
|
|
3978
|
+
let { id: o, accessibility: l, autoScroll: c = !0, children: h, sensors: s = Ja, collisionDetection: S = Oa, measuring: d, modifiers: g, ...x } = e;
|
|
3979
|
+
const y = sn(ns, void 0, ts), [D, E] = y, [j, H] = (function() {
|
|
3980
3980
|
const [m] = he(() => /* @__PURE__ */ new Set()), V = Ke((G) => (m.add(G), () => m.delete(G)), [m]);
|
|
3981
3981
|
return [Ke((G) => {
|
|
3982
3982
|
let { type: Q, event: le } = G;
|
|
@@ -3987,7 +3987,7 @@ const os = ft(function(e) {
|
|
|
3987
3987
|
}, [m]), V];
|
|
3988
3988
|
})(), [M, O] = he(nn.Uninitialized), v = M === nn.Initialized, { draggable: { active: w, nodes: C, translate: N }, droppable: { containers: R } } = D, T = w != null ? C.get(w) : null, W = ke({ initial: null, translated: null }), U = Ce(() => {
|
|
3989
3989
|
var m;
|
|
3990
|
-
return w != null ? { id: w, data: (m = T?.data) != null ? m :
|
|
3990
|
+
return w != null ? { id: w, data: (m = T?.data) != null ? m : Qa, rect: W } : null;
|
|
3991
3991
|
}, [w, T]), B = ke(null), [L, P] = he(null), [ee, z] = he(null), A = Kn(x, Object.values(x)), ae = Qn("DndDescribedBy", o), ye = Ce(() => R.getEnabled(), [R]), _e = Ce(() => ({ draggable: { ...mo.draggable, ...De?.draggable }, droppable: { ...mo.droppable, ...De?.droppable }, dragOverlay: { ...mo.dragOverlay, ...De?.dragOverlay } }), [(De = d) == null ? void 0 : De.draggable, De?.droppable, De?.dragOverlay]);
|
|
3992
3992
|
var De;
|
|
3993
3993
|
const { droppableRects: ue, measureDroppableContainers: Ee, measuringScheduled: Xe } = (function(m, V) {
|
|
@@ -4053,7 +4053,7 @@ const os = ft(function(e) {
|
|
|
4053
4053
|
if (!fe || fe.isConnected === !1) return;
|
|
4054
4054
|
const ve = Or(G(fe), Q);
|
|
4055
4055
|
if (ce || (ve.x = 0), xe || (ve.y = 0), se.current = !0, Math.abs(ve.x) > 0 || Math.abs(ve.y) > 0) {
|
|
4056
|
-
const Re =
|
|
4056
|
+
const Re = ki(fe);
|
|
4057
4057
|
Re && Re.scrollBy({ top: ve.y, left: ve.x });
|
|
4058
4058
|
}
|
|
4059
4059
|
}, [V, ce, xe, Q, G]);
|
|
@@ -4069,7 +4069,7 @@ const os = ft(function(e) {
|
|
|
4069
4069
|
break;
|
|
4070
4070
|
}
|
|
4071
4071
|
}, [V]) }), se = Ke((fe) => {
|
|
4072
|
-
const ve =
|
|
4072
|
+
const ve = Li(fe);
|
|
4073
4073
|
le?.disconnect(), ve && le?.observe(ve), Q(ve ? V(ve) : null);
|
|
4074
4074
|
}, [V, le]), [ce, xe] = po(se);
|
|
4075
4075
|
return Ce(() => ({ nodeRef: ce, rect: G, setRef: xe }), [G, ce, xe]);
|
|
@@ -4084,13 +4084,13 @@ const os = ft(function(e) {
|
|
|
4084
4084
|
V === void 0 && (V = Tn);
|
|
4085
4085
|
const [G] = m, Q = Gr(G ? zt(G) : null), [le, se] = he(_r);
|
|
4086
4086
|
function ce() {
|
|
4087
|
-
se(() => m.length ? m.map((fe) =>
|
|
4087
|
+
se(() => m.length ? m.map((fe) => Mi(fe) ? Q : new Ko(V(fe), fe)) : _r);
|
|
4088
4088
|
}
|
|
4089
4089
|
const xe = bo({ callback: ce });
|
|
4090
4090
|
return Ut(() => {
|
|
4091
4091
|
xe?.disconnect(), ce(), m.forEach((fe) => xe?.observe(fe));
|
|
4092
4092
|
}, [m]), le;
|
|
4093
|
-
})(Oe), Pe =
|
|
4093
|
+
})(Oe), Pe = Vi(g, { transform: { x: N.x - de.x, y: N.y - de.y, scaleX: 1, scaleY: 1 }, activatorEvent: ee, active: U, activeNodeRect: Le, containerNodeRect: pe, draggingNodeRect: ge, over: Z.current.over, overlayNodeRect: ne.rect, scrollableAncestors: Oe, scrollableAncestorRects: u, windowRect: Te }), at = Fe ? qn(Fe, N) : null, Ye = (function(m) {
|
|
4094
4094
|
const [V, G] = he(null), Q = ke(m), le = Ke((se) => {
|
|
4095
4095
|
const ce = $o(se.target);
|
|
4096
4096
|
ce && G((xe) => xe ? (xe.set(ce, Zo(ce)), new Map(xe)) : null);
|
|
@@ -4114,8 +4114,8 @@ const os = ft(function(e) {
|
|
|
4114
4114
|
ve?.removeEventListener("scroll", le);
|
|
4115
4115
|
});
|
|
4116
4116
|
}
|
|
4117
|
-
}, [le, m]), Ce(() => m.length ? V ? Array.from(V.values()).reduce((se, ce) => qn(se, ce), jt) :
|
|
4118
|
-
})(Oe), Y = jr(Ye), Me = jr(Ye, [Le]), $e = qn(Pe, Y), ze = ge ?
|
|
4117
|
+
}, [le, m]), Ce(() => m.length ? V ? Array.from(V.values()).reduce((se, ce) => qn(se, ce), jt) : Ei(m) : jt, [m, V]);
|
|
4118
|
+
})(Oe), Y = jr(Ye), Me = jr(Ye, [Le]), $e = qn(Pe, Y), ze = ge ? Va(ge, Pe) : null, Be = U && ze ? S({ active: U, collisionRect: ze, droppableRects: ue, droppableContainers: ye, pointerCoordinates: at }) : null, Ve = Si(Be, "id"), [q, re] = he(null), F = (function(m, V, G) {
|
|
4119
4119
|
return { ...m, scaleX: V && G ? V.width / G.width : 1, scaleY: V && G ? V.height / G.height : 1 };
|
|
4120
4120
|
})(Ae ? Pe : qn(Pe, Me), (i = q?.rect) != null ? i : null, Le), _ = ke(null), a = Ke((m, V) => {
|
|
4121
4121
|
let { sensor: G, options: Q } = V;
|
|
@@ -4204,13 +4204,13 @@ const os = ft(function(e) {
|
|
|
4204
4204
|
});
|
|
4205
4205
|
}, [Ve]), Ut(() => {
|
|
4206
4206
|
Z.current = { activatorEvent: ee, active: U, activeNode: Je, collisionRect: ze, collisions: Be, droppableRects: ue, draggableNodes: C, draggingNode: oe, draggingNodeRect: ge, droppableContainers: R, over: q, scrollableAncestors: Oe, scrollAdjustedTranslate: $e }, W.current = { initial: ge, translated: ze };
|
|
4207
|
-
}, [U, Je, Be, ze, C, oe, ge, ue, R, q, Oe, $e]),
|
|
4207
|
+
}, [U, Je, Be, ze, C, oe, ge, ue, R, q, Oe, $e]), Ka({ ...me, delta: N, draggingRect: ze, pointerCoordinates: at, scrollableAncestors: Oe, scrollableAncestorRects: u });
|
|
4208
4208
|
const p = Ce(() => ({ active: U, activeNode: Je, activeNodeRect: Le, activatorEvent: ee, collisions: Be, containerNodeRect: pe, dragOverlay: ne, draggableNodes: C, droppableContainers: R, droppableRects: ue, over: q, measureDroppableContainers: Ee, scrollableAncestors: Oe, scrollableAncestorRects: u, measuringConfiguration: _e, measuringScheduled: Xe, windowRect: Te }), [U, Je, Le, ee, Be, pe, ne, C, R, ue, q, Ee, Oe, u, _e, Xe, Te]), I = Ce(() => ({ activatorEvent: ee, activators: k, active: U, activeNodeRect: Le, ariaDescribedById: { draggable: ae }, dispatch: E, draggableNodes: C, over: q, measureDroppableContainers: Ee }), [ee, k, U, Le, E, ae, C, q, Ee]);
|
|
4209
|
-
return nt.createElement(
|
|
4210
|
-
}),
|
|
4211
|
-
function
|
|
4209
|
+
return nt.createElement(bi.Provider, { value: H }, nt.createElement(eo.Provider, { value: I }, nt.createElement(Bi.Provider, { value: p }, nt.createElement(To.Provider, { value: F }, h)), nt.createElement(os, { disabled: l?.restoreFocus === !1 })), nt.createElement(Ia, { ...l, hiddenTextDescribedById: ae }));
|
|
4210
|
+
}), is = xn(null), Zr = "button";
|
|
4211
|
+
function ls(e) {
|
|
4212
4212
|
let { id: t, data: n, disabled: r = !1, attributes: i } = e;
|
|
4213
|
-
const o = Qn("Draggable"), { activators: l, activatorEvent: c, active: h, activeNodeRect: s, ariaDescribedById: S, draggableNodes: d, over: g } = Xt(eo), { role: x = Zr, roleDescription: y = "draggable", tabIndex: D = 0 } = i ?? {}, E = h?.id === t, j = Xt(E ? To :
|
|
4213
|
+
const o = Qn("Draggable"), { activators: l, activatorEvent: c, active: h, activeNodeRect: s, ariaDescribedById: S, draggableNodes: d, over: g } = Xt(eo), { role: x = Zr, roleDescription: y = "draggable", tabIndex: D = 0 } = i ?? {}, E = h?.id === t, j = Xt(E ? To : is), [H, M] = po(), [O, v] = po(), w = (function(N, R) {
|
|
4214
4214
|
return Ce(() => N.reduce((T, W) => {
|
|
4215
4215
|
let { eventName: U, handler: B } = W;
|
|
4216
4216
|
return T[U] = (L) => {
|
|
@@ -4223,11 +4223,11 @@ function is(e) {
|
|
|
4223
4223
|
N && N.key === o && d.delete(t);
|
|
4224
4224
|
}), [d, t]), { active: h, activatorEvent: c, activeNodeRect: s, attributes: Ce(() => ({ role: x, tabIndex: D, "aria-disabled": r, "aria-pressed": !(!E || x !== Zr) || void 0, "aria-roledescription": y, "aria-describedby": S.draggable }), [r, x, D, E, y, S.draggable]), isDragging: E, listeners: r ? void 0 : w, node: H, over: g, setNodeRef: M, setActivatorNodeRef: v, transform: j };
|
|
4225
4225
|
}
|
|
4226
|
-
function
|
|
4227
|
-
return Xt(
|
|
4226
|
+
function Hi() {
|
|
4227
|
+
return Xt(Bi);
|
|
4228
4228
|
}
|
|
4229
|
-
const
|
|
4230
|
-
function
|
|
4229
|
+
const as = { timeout: 25 };
|
|
4230
|
+
function ss(e) {
|
|
4231
4231
|
let { animation: t, children: n } = e;
|
|
4232
4232
|
const [r, i] = he(null), [o, l] = he(null), c = fo(n);
|
|
4233
4233
|
return n || r || !c || i(c), Ut(() => {
|
|
@@ -4236,19 +4236,19 @@ function as(e) {
|
|
|
4236
4236
|
h != null && s != null ? Promise.resolve(t(s, o)).then(() => {
|
|
4237
4237
|
i(null);
|
|
4238
4238
|
}) : i(null);
|
|
4239
|
-
}, [t, r, o]), nt.createElement(nt.Fragment, null, n, r ?
|
|
4239
|
+
}, [t, r, o]), nt.createElement(nt.Fragment, null, n, r ? vl(r, { ref: l }) : null);
|
|
4240
4240
|
}
|
|
4241
|
-
const
|
|
4242
|
-
function
|
|
4241
|
+
const ds = { x: 0, y: 0, scaleX: 1, scaleY: 1 };
|
|
4242
|
+
function cs(e) {
|
|
4243
4243
|
let { children: t } = e;
|
|
4244
|
-
return nt.createElement(eo.Provider, { value:
|
|
4244
|
+
return nt.createElement(eo.Provider, { value: Oi }, nt.createElement(To.Provider, { value: ds }, t));
|
|
4245
4245
|
}
|
|
4246
|
-
const
|
|
4247
|
-
let { as: n, activatorEvent: r, adjustScale: i, children: o, className: l, rect: c, style: h, transform: s, transition: S =
|
|
4246
|
+
const us = { position: "fixed", touchAction: "none" }, gs = (e) => ko(e) ? "transform 250ms ease" : void 0, hs = wt((e, t) => {
|
|
4247
|
+
let { as: n, activatorEvent: r, adjustScale: i, children: o, className: l, rect: c, style: h, transform: s, transition: S = gs } = e;
|
|
4248
4248
|
if (!c) return null;
|
|
4249
|
-
const d = i ? s : { ...s, scaleX: 1, scaleY: 1 }, g = { ...
|
|
4249
|
+
const d = i ? s : { ...s, scaleX: 1, scaleY: 1 }, g = { ...us, width: c.width, height: c.height, top: c.top, left: c.left, transform: cn.Transform.toString(d), transformOrigin: i && r ? za(r, c) : void 0, transition: typeof S == "function" ? S(r) : S, ...h };
|
|
4250
4250
|
return nt.createElement(n, { className: l, style: g, ref: t }, o);
|
|
4251
|
-
}),
|
|
4251
|
+
}), ms = (e) => (t) => {
|
|
4252
4252
|
let { active: n, dragOverlay: r } = t;
|
|
4253
4253
|
const i = {}, { styles: o, className: l } = e;
|
|
4254
4254
|
if (o != null && o.active) for (const [c, h] of Object.entries(o.active)) h !== void 0 && (i[c] = n.node.style.getPropertyValue(c), n.node.style.setProperty(c, h));
|
|
@@ -4257,11 +4257,11 @@ const cs = { position: "fixed", touchAction: "none" }, us = (e) => ko(e) ? "tran
|
|
|
4257
4257
|
for (const [c, h] of Object.entries(i)) n.node.style.setProperty(c, h);
|
|
4258
4258
|
l != null && l.active && n.node.classList.remove(l.active);
|
|
4259
4259
|
};
|
|
4260
|
-
},
|
|
4260
|
+
}, Pi = { duration: 250, easing: "ease", keyframes: (e) => {
|
|
4261
4261
|
let { transform: { initial: t, final: n } } = e;
|
|
4262
4262
|
return [{ transform: cn.Transform.toString(t) }, { transform: cn.Transform.toString(n) }];
|
|
4263
|
-
}, sideEffects:
|
|
4264
|
-
function
|
|
4263
|
+
}, sideEffects: ms({ styles: { active: { opacity: "0" } } }) };
|
|
4264
|
+
function ps(e) {
|
|
4265
4265
|
let { config: t, draggableNodes: n, droppableContainers: r, measuringConfiguration: i } = e;
|
|
4266
4266
|
return xo((o, l) => {
|
|
4267
4267
|
if (t === null) return;
|
|
@@ -4269,12 +4269,12 @@ function ms(e) {
|
|
|
4269
4269
|
if (!c) return;
|
|
4270
4270
|
const h = c.node.current;
|
|
4271
4271
|
if (!h) return;
|
|
4272
|
-
const s =
|
|
4272
|
+
const s = Li(l);
|
|
4273
4273
|
if (!s) return;
|
|
4274
|
-
const { transform: S } = zt(l).getComputedStyle(l), d =
|
|
4274
|
+
const { transform: S } = zt(l).getComputedStyle(l), d = xi(S);
|
|
4275
4275
|
if (!d) return;
|
|
4276
4276
|
const g = typeof t == "function" ? t : (function(x) {
|
|
4277
|
-
const { duration: y, easing: D, sideEffects: E, keyframes: j } = { ...
|
|
4277
|
+
const { duration: y, easing: D, sideEffects: E, keyframes: j } = { ...Pi, ...x };
|
|
4278
4278
|
return (H) => {
|
|
4279
4279
|
let { active: M, dragOverlay: O, transform: v, ...w } = H;
|
|
4280
4280
|
if (!y) return;
|
|
@@ -4288,25 +4288,25 @@ function ms(e) {
|
|
|
4288
4288
|
});
|
|
4289
4289
|
};
|
|
4290
4290
|
})(t);
|
|
4291
|
-
return
|
|
4291
|
+
return Ai(h, i.draggable.measure), g({ active: { id: o, data: c.data, node: h, rect: i.draggable.measure(h) }, draggableNodes: n, dragOverlay: { node: l, rect: i.dragOverlay.measure(s) }, droppableContainers: r, measuringConfiguration: i, transform: d });
|
|
4292
4292
|
});
|
|
4293
4293
|
}
|
|
4294
4294
|
let Kr = 0;
|
|
4295
|
-
function
|
|
4295
|
+
function fs(e) {
|
|
4296
4296
|
return Ce(() => {
|
|
4297
4297
|
if (e != null) return Kr++, Kr;
|
|
4298
4298
|
}, [e]);
|
|
4299
4299
|
}
|
|
4300
|
-
const
|
|
4300
|
+
const vs = nt.memo((e) => {
|
|
4301
4301
|
let { adjustScale: t = !1, children: n, dropAnimation: r, style: i, transition: o, modifiers: l, wrapperElement: c = "div", className: h, zIndex: s = 999 } = e;
|
|
4302
|
-
const { activatorEvent: S, active: d, activeNodeRect: g, containerNodeRect: x, draggableNodes: y, droppableContainers: D, dragOverlay: E, over: j, measuringConfiguration: H, scrollableAncestors: M, scrollableAncestorRects: O, windowRect: v } =
|
|
4303
|
-
return nt.createElement(
|
|
4302
|
+
const { activatorEvent: S, active: d, activeNodeRect: g, containerNodeRect: x, draggableNodes: y, droppableContainers: D, dragOverlay: E, over: j, measuringConfiguration: H, scrollableAncestors: M, scrollableAncestorRects: O, windowRect: v } = Hi(), w = Xt(To), C = fs(d?.id), N = Vi(l, { activatorEvent: S, active: d, activeNodeRect: g, containerNodeRect: x, draggingNodeRect: E.rect, over: j, overlayNodeRect: E.rect, scrollableAncestors: M, scrollableAncestorRects: O, transform: w, windowRect: v }), R = Jo(g), T = ps({ config: r, draggableNodes: y, droppableContainers: D, measuringConfiguration: H }), W = R ? E.setRef : void 0;
|
|
4303
|
+
return nt.createElement(cs, null, nt.createElement(ss, { animation: T }, d && C ? nt.createElement(hs, { key: C, id: d.id, ref: W, as: c, activatorEvent: S, adjustScale: t, className: h, transition: o, rect: R, style: { zIndex: s, ...i }, transform: N }, n) : null));
|
|
4304
4304
|
});
|
|
4305
4305
|
function lr(e, t, n) {
|
|
4306
4306
|
const r = e.slice();
|
|
4307
4307
|
return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
|
|
4308
4308
|
}
|
|
4309
|
-
function
|
|
4309
|
+
function ws(e, t) {
|
|
4310
4310
|
return e.reduce((n, r, i) => {
|
|
4311
4311
|
const o = t.get(r);
|
|
4312
4312
|
return o && (n[i] = o), n;
|
|
@@ -4315,7 +4315,7 @@ function vs(e, t) {
|
|
|
4315
4315
|
function uo(e) {
|
|
4316
4316
|
return e !== null && e >= 0;
|
|
4317
4317
|
}
|
|
4318
|
-
const go = { scaleX: 1, scaleY: 1 },
|
|
4318
|
+
const go = { scaleX: 1, scaleY: 1 }, ys = (e) => {
|
|
4319
4319
|
var t;
|
|
4320
4320
|
let { rects: n, activeNodeRect: r, activeIndex: i, overIndex: o, index: l } = e;
|
|
4321
4321
|
const c = (t = n[i]) != null ? t : r;
|
|
@@ -4333,10 +4333,10 @@ const go = { scaleX: 1, scaleY: 1 }, ws = (e) => {
|
|
|
4333
4333
|
let { rects: t, activeIndex: n, overIndex: r, index: i } = e;
|
|
4334
4334
|
const o = lr(t, r, n), l = t[i], c = o[i];
|
|
4335
4335
|
return c && l ? { x: c.left - l.left, y: c.top - l.top, scaleX: c.width / l.width, scaleY: c.height / l.height } : null;
|
|
4336
|
-
},
|
|
4337
|
-
function
|
|
4336
|
+
}, Wi = "Sortable", $i = nt.createContext({ activeIndex: -1, containerId: Wi, disableTransforms: !1, items: [], overIndex: -1, useDragOverlay: !1, sortedRects: [], strategy: ar, disabled: { draggable: !1, droppable: !1 } });
|
|
4337
|
+
function bs(e) {
|
|
4338
4338
|
let { children: t, id: n, items: r, strategy: i = ar, disabled: o = !1 } = e;
|
|
4339
|
-
const { active: l, dragOverlay: c, droppableRects: h, over: s, measureDroppableContainers: S } =
|
|
4339
|
+
const { active: l, dragOverlay: c, droppableRects: h, over: s, measureDroppableContainers: S } = Hi(), d = Qn(Wi, n), g = c.rect !== null, x = Ce(() => r.map((w) => typeof w == "object" && "id" in w ? w.id : w), [r]), y = l != null, D = l ? x.indexOf(l.id) : -1, E = s ? x.indexOf(s.id) : -1, j = ke(x), H = !(function(w, C) {
|
|
4340
4340
|
if (w === C) return !0;
|
|
4341
4341
|
if (w.length !== C.length) return !1;
|
|
4342
4342
|
for (let N = 0; N < w.length; N++) if (w[N] !== C[N]) return !1;
|
|
@@ -4349,24 +4349,24 @@ function ys(e) {
|
|
|
4349
4349
|
}, [H, x, y, S]), be(() => {
|
|
4350
4350
|
j.current = x;
|
|
4351
4351
|
}, [x]);
|
|
4352
|
-
const v = Ce(() => ({ activeIndex: D, containerId: d, disabled: O, disableTransforms: M, items: x, overIndex: E, useDragOverlay: g, sortedRects:
|
|
4353
|
-
return nt.createElement(
|
|
4352
|
+
const v = Ce(() => ({ activeIndex: D, containerId: d, disabled: O, disableTransforms: M, items: x, overIndex: E, useDragOverlay: g, sortedRects: ws(x, h), strategy: i }), [D, d, O.draggable, O.droppable, M, x, E, h, g, i]);
|
|
4353
|
+
return nt.createElement($i.Provider, { value: v }, t);
|
|
4354
4354
|
}
|
|
4355
|
-
const
|
|
4355
|
+
const qs = (e) => {
|
|
4356
4356
|
let { id: t, items: n, activeIndex: r, overIndex: i } = e;
|
|
4357
4357
|
return lr(n, r, i).indexOf(t);
|
|
4358
|
-
},
|
|
4358
|
+
}, Cs = (e) => {
|
|
4359
4359
|
let { containerId: t, isSorting: n, wasDragging: r, index: i, items: o, newIndex: l, previousItems: c, previousContainerId: h, transition: s } = e;
|
|
4360
4360
|
return !(!s || !r) && (c === o || i !== l) && (!!n || l !== i && t === h);
|
|
4361
|
-
},
|
|
4362
|
-
function
|
|
4363
|
-
let { animateLayoutChanges: t =
|
|
4364
|
-
const { items: S, containerId: d, activeIndex: g, disabled: x, disableTransforms: y, sortedRects: D, overIndex: E, useDragOverlay: j, strategy: H } = Xt(
|
|
4361
|
+
}, Ss = { duration: 200, easing: "ease" }, Ui = "transform", xs = cn.Transition.toString({ property: Ui, duration: 0, easing: "linear" }), ks = { roleDescription: "sortable" };
|
|
4362
|
+
function Rs(e) {
|
|
4363
|
+
let { animateLayoutChanges: t = Cs, attributes: n, disabled: r, data: i, getNewIndex: o = qs, id: l, strategy: c, resizeObserverConfig: h, transition: s = Ss } = e;
|
|
4364
|
+
const { items: S, containerId: d, activeIndex: g, disabled: x, disableTransforms: y, sortedRects: D, overIndex: E, useDragOverlay: j, strategy: H } = Xt($i), M = (function(K, ne) {
|
|
4365
4365
|
var oe, ge;
|
|
4366
4366
|
return typeof K == "boolean" ? { draggable: K, droppable: !1 } : { draggable: (oe = K?.draggable) != null ? oe : ne.draggable, droppable: (ge = K?.droppable) != null ? ge : ne.droppable };
|
|
4367
4367
|
})(r, x), O = S.indexOf(l), v = Ce(() => ({ sortable: { containerId: d, index: O, items: S }, ...i }), [d, i, O, S]), w = Ce(() => S.slice(S.indexOf(l)), [S, l]), { rect: C, node: N, isOver: R, setNodeRef: T } = (function(K) {
|
|
4368
4368
|
let { data: ne, disabled: oe = !1, id: ge, resizeObserverConfig: Ae } = K;
|
|
4369
|
-
const de = Qn("Droppable"), { active: Se, dispatch: Te, over: Oe, measureDroppableContainers: u } = Xt(eo), Pe = ke({ disabled: oe }), at = ke(!1), Ye = ke(null), Y = ke(null), { disabled: Me, updateMeasurementsFor: $e, timeout: ze } = { ...
|
|
4369
|
+
const de = Qn("Droppable"), { active: Se, dispatch: Te, over: Oe, measureDroppableContainers: u } = Xt(eo), Pe = ke({ disabled: oe }), at = ke(!1), Ye = ke(null), Y = ke(null), { disabled: Me, updateMeasurementsFor: $e, timeout: ze } = { ...as, ...Ae }, Be = Kn($e ?? ge), Ve = bo({ callback: Ke(() => {
|
|
4370
4370
|
at.current ? (Y.current != null && clearTimeout(Y.current), Y.current = setTimeout(() => {
|
|
4371
4371
|
u(Array.isArray(Be.current) ? Be.current : [Be.current]), Y.current = null;
|
|
4372
4372
|
}, ze)) : at.current = !0;
|
|
@@ -4378,7 +4378,7 @@ function ks(e) {
|
|
|
4378
4378
|
}, [re, Ve]), be(() => (Te({ type: kt.RegisterDroppable, element: { id: ge, key: de, disabled: oe, node: re, rect: Ye, data: _ } }), () => Te({ type: kt.UnregisterDroppable, key: de, id: ge })), [ge]), be(() => {
|
|
4379
4379
|
oe !== Pe.current.disabled && (Te({ type: kt.SetDroppableDisabled, id: ge, key: de, disabled: oe }), Pe.current.disabled = oe);
|
|
4380
4380
|
}, [ge, de, oe, Te]), { active: Se, rect: Ye, isOver: Oe?.id === ge, node: re, over: Oe, setNodeRef: F };
|
|
4381
|
-
})({ id: l, data: v, disabled: M.droppable, resizeObserverConfig: { updateMeasurementsFor: w, ...h } }), { active: W, activatorEvent: U, activeNodeRect: B, attributes: L, setNodeRef: P, listeners: ee, isDragging: z, over: A, setActivatorNodeRef: ae, transform: ye } =
|
|
4381
|
+
})({ id: l, data: v, disabled: M.droppable, resizeObserverConfig: { updateMeasurementsFor: w, ...h } }), { active: W, activatorEvent: U, activeNodeRect: B, attributes: L, setNodeRef: P, listeners: ee, isDragging: z, over: A, setActivatorNodeRef: ae, transform: ye } = ls({ id: l, data: v, attributes: { ...ks, ...n }, disabled: M.draggable }), _e = (function() {
|
|
4382
4382
|
for (var K = arguments.length, ne = new Array(K), oe = 0; oe < K; oe++) ne[oe] = arguments[oe];
|
|
4383
4383
|
return Ce(() => (ge) => {
|
|
4384
4384
|
ne.forEach((Ae) => Ae(ge));
|
|
@@ -4409,9 +4409,9 @@ function ks(e) {
|
|
|
4409
4409
|
}, 50);
|
|
4410
4410
|
return () => clearTimeout(K);
|
|
4411
4411
|
}, [me]), { active: W, activeIndex: g, attributes: L, data: v, rect: C, index: O, newIndex: Fe, items: S, isOver: R, isSorting: De, isDragging: z, listeners: ee, node: N, overIndex: E, over: A, setNodeRef: _e, setActivatorNodeRef: ae, setDroppableNodeRef: T, setDraggableNodeRef: P, transform: Z ?? Je, transition: (function() {
|
|
4412
|
-
if (Z || Le && $.current.newIndex === O) return
|
|
4412
|
+
if (Z || Le && $.current.newIndex === O) return xs;
|
|
4413
4413
|
if (!(Ee && !ko(U) || !s) && (De || pe))
|
|
4414
|
-
return cn.Transition.toString({ ...s, property:
|
|
4414
|
+
return cn.Transition.toString({ ...s, property: Ui });
|
|
4415
4415
|
})() };
|
|
4416
4416
|
}
|
|
4417
4417
|
function qo(e) {
|
|
@@ -4419,9 +4419,9 @@ function qo(e) {
|
|
|
4419
4419
|
const t = e.data.current;
|
|
4420
4420
|
return !!(t && "sortable" in t && typeof t.sortable == "object" && "containerId" in t.sortable && "items" in t.sortable && "index" in t.sortable);
|
|
4421
4421
|
}
|
|
4422
|
-
const
|
|
4422
|
+
const Ts = [dt.Down, dt.Right, dt.Up, dt.Left], Ms = (e, t) => {
|
|
4423
4423
|
let { context: { active: n, collisionRect: r, droppableRects: i, droppableContainers: o, over: l, scrollableAncestors: c } } = t;
|
|
4424
|
-
if (
|
|
4424
|
+
if (Ts.includes(e.code)) {
|
|
4425
4425
|
if (e.preventDefault(), !n || !r) return;
|
|
4426
4426
|
const h = [];
|
|
4427
4427
|
o.getEnabled().forEach((d) => {
|
|
@@ -4447,13 +4447,13 @@ const Rs = [dt.Down, dt.Right, dt.Up, dt.Left], Ts = (e, t) => {
|
|
|
4447
4447
|
for (const j of y) {
|
|
4448
4448
|
const { id: H } = j, M = x.get(H);
|
|
4449
4449
|
if (M) {
|
|
4450
|
-
const O = Nr(M), v = D.reduce((C, N, R) => C +
|
|
4450
|
+
const O = Nr(M), v = D.reduce((C, N, R) => C + qi(O[R], N), 0), w = Number((v / 4).toFixed(4));
|
|
4451
4451
|
E.push({ id: H, data: { droppableContainer: j, value: w } });
|
|
4452
4452
|
}
|
|
4453
4453
|
}
|
|
4454
|
-
return E.sort(
|
|
4454
|
+
return E.sort(Ci);
|
|
4455
4455
|
})({ collisionRect: r, droppableRects: i, droppableContainers: h });
|
|
4456
|
-
let S =
|
|
4456
|
+
let S = Si(s, "id");
|
|
4457
4457
|
if (S === l?.id && s.length > 1 && (S = s[1].id), S != null) {
|
|
4458
4458
|
const d = o.get(n.id), g = o.get(S), x = g ? i.get(g.id) : null, y = g?.node.current;
|
|
4459
4459
|
if (y && x && d && g) {
|
|
@@ -4468,13 +4468,13 @@ const Rs = [dt.Down, dt.Right, dt.Up, dt.Left], Ts = (e, t) => {
|
|
|
4468
4468
|
function Yr(e, t) {
|
|
4469
4469
|
return !(!qo(e) || !qo(t)) && e.data.current.sortable.containerId === t.data.current.sortable.containerId;
|
|
4470
4470
|
}
|
|
4471
|
-
const
|
|
4471
|
+
const Ds = (e) => {
|
|
4472
4472
|
let { transform: t } = e;
|
|
4473
4473
|
return { ...t, y: 0 };
|
|
4474
|
-
},
|
|
4474
|
+
}, Es = ft(wt((e, t) => {
|
|
4475
4475
|
const { children: n, style: r, className: i, index: o, editing: l, editable: c, selectedIndex: h, background: s, activeColor: S, borderColor: d, borderWidth: g, dragging: x, ...y } = e;
|
|
4476
4476
|
return Qe("div", { ref: t, className: Vt(i), style: { ...r, display: "flex", flexDirection: "column", background: h === o ? "white" : s, minHeight: "0px", fontFamily: "inherit", fontSize: "16px", fontWeight: h === o ? "700" : "400", lineHeight: "1", letterSpacing: "0px", textTransform: "none", minWidth: "unset" }, ...y, children: [Qe("div", { style: { flex: "1 1 100%", display: "flex", flexDirection: "row" }, children: [f("div", { style: { marginLeft: h === o ? "0px" : "-1px", marginTop: h === o ? "0px" : "4px", marginBottom: "0px", background: "grey", minWidth: "1px" } }), n, h === o ? f("div", { style: { marginLeft: "0px", marginTop: "0px", marginBottom: "0px", background: "grey", minWidth: "1px" } }) : f(Sn, {})] }), f("div", { style: { flex: "1 1 100%", background: h === o && S ? S?.toCSS() : "none", minHeight: "2px" } })] });
|
|
4477
|
-
})), $t = { 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" },
|
|
4477
|
+
})), $t = { 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" }, ji = nt.memo(nt.forwardRef(({ color: e, dragOverlay: t, dragging: n, disabled: r, fadeIn: i, handle: o, height: l, index: c, listeners: h, onRemove: s, renderItem: S, sorting: d, style: g, transition: x, transform: y, value: D, wrapperStyle: E, ...j }, H) => {
|
|
4478
4478
|
be(() => {
|
|
4479
4479
|
if (t) return document.body.style.cursor = "grabbing", () => {
|
|
4480
4480
|
document.body.style.cursor = "";
|
|
@@ -4482,22 +4482,22 @@ const Ms = (e) => {
|
|
|
4482
4482
|
}, [t]);
|
|
4483
4483
|
const M = S ? S({ dragOverlay: !!t, dragging: !!n, sorting: !!d, index: c, fadeIn: !!i, listeners: h, ref: H, style: g, transform: y, transition: x, value: D }) : f(Sn, { children: D });
|
|
4484
4484
|
return f("div", { className: Vt("tab-item", $t.Wrapper, i && $t.fadeIn, d && $t.sorting, t && $t.dragOverlay), style: { ...E, transition: [x, E?.transition].filter(Boolean).join(", "), "--translate-x": y ? `${Math.round(y.x)}px` : void 0, "--translate-y": y ? `${Math.round(y.y)}px` : void 0, "--scale-x": y?.scaleX ? `${y.scaleX}` : void 0, "--scale-y": y?.scaleY ? `${y.scaleY}` : void 0, "--index": c }, ref: H, children: f("div", { className: Vt($t.Item, n && $t.dragging, o && $t.withHandle, t && $t.dragOverlay, r && $t.disabled, e && $t.color, "dragging"), style: g, "data-cypress": "draggable-item", ...o ? void 0 : h, ...j, tabIndex: o ? void 0 : -1, children: M }) });
|
|
4485
|
-
})), Xr = { Row: "_Row_1kr10_1" },
|
|
4486
|
-
const { className: n, activationConstraint: r, animateLayoutChanges: i, adjustScale: o = !1, collisionDetection: l =
|
|
4485
|
+
})), Xr = { Row: "_Row_1kr10_1" }, As = ft(wt(({ children: e, horizontal: t, style: n }, r) => f("div", { ref: r, style: { ...n }, className: Vt(Xr.Row, t && Xr.horizontal), children: e }))), Is = { ...Pi }, zs = ft(wt((e, t) => {
|
|
4486
|
+
const { className: n, activationConstraint: r, animateLayoutChanges: i, adjustScale: o = !1, collisionDetection: l = Na, coordinateGetter: c = Ms, dropAnimation: h = Is, getItemStyles: s = () => ({}), getNewIndex: S, handle: d = !1, items: g, onMove: x, isDisabled: y = () => !1, measuring: D, modifiers: E, renderItem: j, renderDivider: H, reorderItems: M = lr, strategy: O = ar, style: v, useDragOverlay: w = !0, onDragStart: C, wrapperStyle: N = () => ({}) } = e, [R, T] = he(() => g);
|
|
4487
4487
|
be(() => {
|
|
4488
4488
|
T(g);
|
|
4489
4489
|
}, [g]);
|
|
4490
4490
|
const [W, U] = he(null), B = (function() {
|
|
4491
4491
|
for (var A = arguments.length, ae = new Array(A), ye = 0; ye < A; ye++) ae[ye] = arguments[ye];
|
|
4492
4492
|
return Ce(() => [...ae].filter((_e) => _e != null), [...ae]);
|
|
4493
|
-
})(Wo(
|
|
4493
|
+
})(Wo(Fi, { activationConstraint: r }), Wo(Ni, { activationConstraint: r }), Wo(rr, { scrollBehavior: "Cypress" in window ? "auto" : void 0, coordinateGetter: c })), L = R.indexOf.bind(R), P = W ? L(W) : -1, ee = [];
|
|
4494
4494
|
R.map((A, ae) => {
|
|
4495
|
-
ee.push(f(
|
|
4495
|
+
ee.push(f(Fs, { id: A, handle: d, index: ae, style: s, wrapperStyle: N, disabled: y(A), renderItem: j, animateLayoutChanges: i, useDragOverlay: w, getNewIndex: S }, A + "-" + ae));
|
|
4496
4496
|
const ye = H?.({ key: "divider-" + ae });
|
|
4497
4497
|
ye && ee.push(ye);
|
|
4498
4498
|
});
|
|
4499
|
-
const { getPortalContainer: z } =
|
|
4500
|
-
return Qe(
|
|
4499
|
+
const { getPortalContainer: z } = ul();
|
|
4500
|
+
return Qe(rs, { sensors: B, collisionDetection: l, onDragStart: (A) => {
|
|
4501
4501
|
const { active: ae } = A;
|
|
4502
4502
|
ae && (C?.(A), U(ae.id));
|
|
4503
4503
|
}, autoScroll: { canScroll: (A) => !0 }, onDragEnd: (A) => {
|
|
@@ -4507,14 +4507,14 @@ const Ms = (e) => {
|
|
|
4507
4507
|
}
|
|
4508
4508
|
}, onDragCancel: () => {
|
|
4509
4509
|
U(null);
|
|
4510
|
-
}, measuring: D, modifiers: E, children: [f("div", { style: { display: "flex", justifyContent: "flex-start", boxSizing: "border-box", ...v }, className: Vt(n, $t.Wrapper), children: f(
|
|
4510
|
+
}, measuring: D, modifiers: E, children: [f("div", { style: { display: "flex", justifyContent: "flex-start", boxSizing: "border-box", ...v }, className: Vt(n, $t.Wrapper), children: f(bs, { items: R, strategy: O, children: f(As, { ref: t, children: ee }) }) }), w ? ci(f(vs, { adjustScale: o, dropAnimation: h, children: W ? f(ji, { value: R[P], handle: d, renderItem: j, wrapperStyle: N({ index: P, isDragging: !0, id: R[P] }), index: P, dragging: !0, style: s({ id: R[P], index: P, isSorting: W !== null, isDragging: !0, overIndex: -1, isDragOverlay: !0 }), dragOverlay: !0 }) : null }), z()) : null] });
|
|
4511
4511
|
}));
|
|
4512
|
-
function
|
|
4513
|
-
const { attributes: d, isDragging: g, isSorting: x, listeners: y, overIndex: D, setNodeRef: E, transform: j, transition: H } =
|
|
4514
|
-
return f(
|
|
4512
|
+
function Fs({ disabled: e, animateLayoutChanges: t, getNewIndex: n, handle: r, id: i, index: o, onRemove: l, style: c, renderItem: h, useDragOverlay: s, wrapperStyle: S }) {
|
|
4513
|
+
const { attributes: d, isDragging: g, isSorting: x, listeners: y, overIndex: D, setNodeRef: E, transform: j, transition: H } = Rs({ id: i, animateLayoutChanges: t, disabled: e, getNewIndex: n });
|
|
4514
|
+
return f(ji, { ref: E, value: i, disabled: e, dragging: g, sorting: x, handle: r, renderItem: h, index: o, style: c({ index: o, id: i, isDragging: g, isSorting: x, overIndex: D }), onRemove: l ? () => l(i) : void 0, transform: j, transition: H, wrapperStyle: S({ index: o, isDragging: g, id: i }), listeners: y, "data-index": o, "data-id": i, dragOverlay: !s && g, ...d });
|
|
4515
4515
|
}
|
|
4516
|
-
const
|
|
4517
|
-
const { children: n, style: r, className: i, selectedTabIndex: o = 0, tabNames: l = [], onSelectedTabIndexChange: c, onTabNameChange: h, onTabMove: s, createScrollStartButton: S =
|
|
4516
|
+
const Ns = "_TabStrip_3x0dp_1", Ls = new ni("rgb(33, 115, 70)"), Os = "#eee", Bs = (e) => f(Es, { ...e }), Vs = ft(wt((e, t) => {
|
|
4517
|
+
const { children: n, style: r, className: i, selectedTabIndex: o = 0, tabNames: l = [], onSelectedTabIndexChange: c, onTabNameChange: h, onTabMove: s, createScrollStartButton: S = gl, createScrollEndButton: d = hl, createScrollEdgeButton: g = ml, createTabButton: x = Bs, createTabDivider: y, editLabelProps: D, disabled: E = !1, disableDrag: j = !1, background: H = "white", activeColor: M = Ls, borderColor: O = Os, borderWidth: v = 1 } = e, [w, C] = he(o), [N, R] = he(l), T = Ke((de) => {
|
|
4518
4518
|
const Se = z.current?.[de]?.closest(".tab-item") ?? z.current?.[de];
|
|
4519
4519
|
Se && Ee.current?.scrollTo({ top: Se.offsetTop, left: Se.offsetLeft, behavior: "smooth" });
|
|
4520
4520
|
}, []);
|
|
@@ -4534,13 +4534,13 @@ const Fs = "_TabStrip_3x0dp_1", Ns = new ti("rgb(33, 115, 70)"), Ls = "#eee", Os
|
|
|
4534
4534
|
R(l);
|
|
4535
4535
|
}, [l]);
|
|
4536
4536
|
const z = ke([]), A = ke(null);
|
|
4537
|
-
|
|
4537
|
+
wl(t, () => Object.assign({ startEdit(de) {
|
|
4538
4538
|
z.current?.[de]?.startEdit();
|
|
4539
4539
|
}, cancel(de) {
|
|
4540
4540
|
z.current?.[de]?.cancel();
|
|
4541
4541
|
} }, A.current), [w, L]);
|
|
4542
4542
|
const ae = Ke(({ value: de, index: Se, dragging: Te }) => {
|
|
4543
|
-
const { style: Oe, maxLength: u, ...Pe } = D || {}, at = f(
|
|
4543
|
+
const { style: Oe, maxLength: u, ...Pe } = D || {}, at = f(ka, { ref: (Ye) => {
|
|
4544
4544
|
z.current[Se] = Ye;
|
|
4545
4545
|
}, value: de, disabled: E, maxLength: u, style: { color: w === Se && M ? M?.toRGBA().toString() : "inherit", flex: "1 1 100%", paddingTop: "1px", paddingBottom: "1px", ...Oe }, styleHover: {}, onSubmit: (Ye) => (B.current = !1, P(-1), ee(Se, Ye)), onCancel: () => {
|
|
4546
4546
|
B.current = !1, P(-1);
|
|
@@ -4571,22 +4571,22 @@ const Fs = "_TabStrip_3x0dp_1", Ns = new ti("rgb(33, 115, 70)"), Ls = "#eee", Os
|
|
|
4571
4571
|
}, [$, Le, K]);
|
|
4572
4572
|
be(() => () => K(), [K]);
|
|
4573
4573
|
const oe = Ce(() => ({ style: { marginLeft: "4px", marginRight: "6px" }, disabled: Math.floor(Xe.left) <= 0 || Math.floor(ue - _e) === 0, orientation: an.Horizontal, onMouseUp: K, onMouseLeave: K, onMouseDown: () => ne(Ee.current.scrollLeft, !0), onClick: (de) => $(Math.min(Ee.current.scrollLeft, Fe ?? Number.MAX_SAFE_INTEGER), de.ctrlKey) }), [Xe, Fe, ue, _e]), ge = Ce(() => ({ style: { marginLeft: "6px", marginRight: "4px" }, disabled: Math.floor(ue - _e) <= Math.ceil(Xe.left), orientation: an.Horizontal, onMouseUp: K, onMouseLeave: K, onMouseDown: () => ne(Ee.current.scrollLeft, !1), onClick: (de) => Le(Math.max(Ee.current.scrollLeft, Fe ?? 0), de.ctrlKey) }), [Xe, Fe, ue, _e]), Ae = Ce(() => Qe(Sn, { children: [f("div", { style: { minWidth: "16px" } }), n, g?.(oe)] }), [oe, ge, S, d, n, g]);
|
|
4574
|
-
return Qe("div", { style: { ...r, display: "flex", alignItems: "stretch" }, className: Vt(
|
|
4574
|
+
return Qe("div", { style: { ...r, display: "flex", alignItems: "stretch" }, className: Vt(Ns, i), ref: A, children: [f("div", { style: { borderTop: `solid ${O} ${v}px`, position: "absolute", width: "100%" } }), f("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: Ae }), f("div", { className: "Tabs", ref: ye, style: { flex: "1 1 100%", display: "flex", position: "relative", overflow: "hidden" }, children: f("div", { style: { position: "relative", overflowY: "hidden", overflowX: "hidden", marginBottom: "3px" }, ref: Ee, onScroll: (de) => {
|
|
4575
4575
|
Je({ left: de.target.scrollLeft, top: de.target.scrollTop, width: de.target.scrollWidth, height: de.target.scrollHeight });
|
|
4576
|
-
}, children: f(
|
|
4576
|
+
}, children: f(zs, { isDisabled: (de) => E || j, items: N, strategy: ys, modifiers: [Ds], ref: De, renderItem: ae, renderDivider: y, onMove: U, activationConstraint: { distance: 15 } }) }) }), f("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: g(ge) })] });
|
|
4577
4577
|
}));
|
|
4578
|
-
|
|
4579
|
-
const rd = (e) => Qe("svg", { ...e, viewBox: "0 0 48 48", children: [f("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" }), f("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" }), f("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" }), f("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" })] }), id = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("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" })] }), ld = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 832 1941 h -469 v -554 h 469 m 768 554 h -469 v -810 h 469 z" }), f("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" }), f("path", { className: "styled info_light", d: "M 832 1387 h -469 v -640 h 469 z" }), f("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" }), f("path", { className: "styled secondary_light", d: "M 1600 1131 h -469 v -811 h 469 z" }), f("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" })] }), ad = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 832 1941 h -469 v -426 h 469 m 768 426 h -469 v -1066 h 469 z" }), f("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" }), f("path", { className: "styled info_light", d: "M 832 1515 h -469 v -1195 h 469 z" }), f("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" }), f("path", { className: "styled secondary_light", d: "M 1600 875 h -469 v -555 h 469 z" }), f("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" })] }), sd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled info", d: "M 122 1658 l -30 -30 l 1209 -1210 l 655 655 l -30 30 l -625 -625 z" }), f("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" })] }), dd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), cd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled info", d: "M 1877 299 h -1770 v -43 h 1770 z" }), f("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" })] }), ud = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), gd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), hd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), md = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" }), f("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" }), f("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" })] }), pd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" }), f("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" }), f("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" })] }), fd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1429 1387 v 298 h -1322 v -298 m 1066 -811 v 299 h -1066 v -299 z" }), f("path", { className: "styled info_light", d: "M 1813 277 v 299 h -1706 v -299 z" }), f("path", { className: "styled info_dark", d: "M 101 597 v -42 h 1691 v -256 h -1691 v -43 h 1734 v 341 z" }), f("path", { className: "styled secondary_light", d: "M 917 1088 v 299 h -810 v -299 z" }), f("path", { className: "styled secondary_dark", d: "M 896 1109 h -795 v -42 h 838 v 322 h -43 z" }), f("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" })] }), vd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 107 832 v -469 h 597 v 469 m -597 768 v -469 h 810 v 469 z" }), f("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" }), f("path", { className: "styled info_light", d: "M 704 832 v -469 h 640 v 469 z" }), f("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" }), f("path", { className: "styled secondary_light", d: "M 917 1600 v -469 h 811 v 469 z" }), f("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" })] }), wd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 107 832 v -469 h 426 v 469 m -426 768 v -469 h 1066 v 469 z" }), f("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" }), f("path", { className: "styled info_light", d: "M 533 832 v -469 h 1195 v 469 z" }), f("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" }), f("path", { className: "styled secondary_light", d: "M 1173 1600 v -469 h 555 v 469 z" }), f("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" })] }), yd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("path", { className: "styled info_light", d: "M 1939 923 v 658 l -288 -192 m -1272 -40 l 525 -312 l -374 474 z" }), f("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" }), f("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" })] }), bd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1963 1941 h -1856 v -853 l 597 597 l 618 -704 l 641 555 z" }), f("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" }), f("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" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), qd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1941 1941 h -1834 v -1834 h 1834 z" }), f("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" }), f("path", { className: "styled info_light", d: "M 1941 107 v 1493 l -810 -768 l -576 661 l -448 -448 v -938 z" }), f("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" })] }), Cd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" }), f("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" })] }), Sd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" }), f("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" })] }), xd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), kd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" }), f("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" })] }), Rd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), Td = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("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" })] }), Md = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("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" })] }), sr = xn(null);
|
|
4578
|
+
Vs.displayName = "TabStrip";
|
|
4579
|
+
const id = (e) => Qe("svg", { ...e, viewBox: "0 0 48 48", children: [f("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" }), f("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" }), f("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" }), f("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" })] }), ld = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("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" })] }), ad = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 832 1941 h -469 v -554 h 469 m 768 554 h -469 v -810 h 469 z" }), f("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" }), f("path", { className: "styled info_light", d: "M 832 1387 h -469 v -640 h 469 z" }), f("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" }), f("path", { className: "styled secondary_light", d: "M 1600 1131 h -469 v -811 h 469 z" }), f("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" })] }), sd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 832 1941 h -469 v -426 h 469 m 768 426 h -469 v -1066 h 469 z" }), f("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" }), f("path", { className: "styled info_light", d: "M 832 1515 h -469 v -1195 h 469 z" }), f("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" }), f("path", { className: "styled secondary_light", d: "M 1600 875 h -469 v -555 h 469 z" }), f("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" })] }), dd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled info", d: "M 122 1658 l -30 -30 l 1209 -1210 l 655 655 l -30 30 l -625 -625 z" }), f("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" })] }), cd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), ud = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled info", d: "M 1877 299 h -1770 v -43 h 1770 z" }), f("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" })] }), gd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), hd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), md = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), pd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" }), f("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" }), f("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" })] }), fd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" }), f("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" }), f("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" })] }), vd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1429 1387 v 298 h -1322 v -298 m 1066 -811 v 299 h -1066 v -299 z" }), f("path", { className: "styled info_light", d: "M 1813 277 v 299 h -1706 v -299 z" }), f("path", { className: "styled info_dark", d: "M 101 597 v -42 h 1691 v -256 h -1691 v -43 h 1734 v 341 z" }), f("path", { className: "styled secondary_light", d: "M 917 1088 v 299 h -810 v -299 z" }), f("path", { className: "styled secondary_dark", d: "M 896 1109 h -795 v -42 h 838 v 322 h -43 z" }), f("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" })] }), wd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 107 832 v -469 h 597 v 469 m -597 768 v -469 h 810 v 469 z" }), f("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" }), f("path", { className: "styled info_light", d: "M 704 832 v -469 h 640 v 469 z" }), f("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" }), f("path", { className: "styled secondary_light", d: "M 917 1600 v -469 h 811 v 469 z" }), f("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" })] }), yd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 107 832 v -469 h 426 v 469 m -426 768 v -469 h 1066 v 469 z" }), f("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" }), f("path", { className: "styled info_light", d: "M 533 832 v -469 h 1195 v 469 z" }), f("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" }), f("path", { className: "styled secondary_light", d: "M 1173 1600 v -469 h 555 v 469 z" }), f("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" })] }), bd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("path", { className: "styled info_light", d: "M 1939 923 v 658 l -288 -192 m -1272 -40 l 525 -312 l -374 474 z" }), f("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" }), f("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" })] }), qd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1963 1941 h -1856 v -853 l 597 597 l 618 -704 l 641 555 z" }), f("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" }), f("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" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), Cd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1941 1941 h -1834 v -1834 h 1834 z" }), f("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" }), f("path", { className: "styled info_light", d: "M 1941 107 v 1493 l -810 -768 l -576 661 l -448 -448 v -938 z" }), f("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" })] }), Sd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" }), f("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" })] }), xd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" }), f("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" })] }), kd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), Rd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" }), f("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" })] }), Td = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("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" }), f("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" })] }), Md = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("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" })] }), Dd = (e) => Qe("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("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" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("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" })] }), sr = xn(null);
|
|
4580
4580
|
sr.displayName = "DocThemesContext";
|
|
4581
|
-
const
|
|
4581
|
+
const Ed = (e) => {
|
|
4582
4582
|
const { themes: t, children: n } = e;
|
|
4583
4583
|
return f(sr.Provider, { value: t, children: n });
|
|
4584
|
-
},
|
|
4585
|
-
const e = Xt(sr), [t] = he(() => new
|
|
4584
|
+
}, Ad = () => {
|
|
4585
|
+
const e = Xt(sr), [t] = he(() => new il());
|
|
4586
4586
|
return Ce(() => e || t, [e]);
|
|
4587
|
-
},
|
|
4588
|
-
let Bn, Vn, tn = ["define", "require"];
|
|
4589
|
-
const
|
|
4587
|
+
}, Hs = "_script-editor_iy654_5", Ps = nt.lazy(() => import("./Bc6D3bMwF82u7nLf.mjs")), Ws = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" };
|
|
4588
|
+
let Bn, Vn, tn = ["define", "require"], Jr = !1;
|
|
4589
|
+
const Qr = async (e, t, n) => {
|
|
4590
4590
|
const r = e.getModel();
|
|
4591
4591
|
if (!r) return;
|
|
4592
4592
|
const i = await t.languages.typescript.getTypeScriptWorker(), o = await i(r.uri), l = await o.getNavigationTree(r.uri.toString()), c = e.getPosition();
|
|
@@ -4596,7 +4596,7 @@ const Jr = async (e, t, n) => {
|
|
|
4596
4596
|
for (let D = c.lineNumber; D >= 1; D--)
|
|
4597
4597
|
if (r.getLineContent(D).trim() === "") {
|
|
4598
4598
|
const E = dr(l, r.getOffsetAt({ lineNumber: D, column: 1 }), "function");
|
|
4599
|
-
if (!E ||
|
|
4599
|
+
if (!E || Us(E)) {
|
|
4600
4600
|
s = !0, h.lineNumber = D + 1;
|
|
4601
4601
|
break;
|
|
4602
4602
|
}
|
|
@@ -4619,7 +4619,7 @@ const Jr = async (e, t, n) => {
|
|
|
4619
4619
|
let y = null;
|
|
4620
4620
|
r.pushEditOperations([], x, (D) => (y = D[0].range, d && y.startLineNumber++, g && y.endLineNumber--, [new t.Selection(y.startLineNumber, y.startColumn, y.endLineNumber, y.endColumn)])), e.setSelection({ startLineNumber: y.endLineNumber, startColumn: y.endColumn, endLineNumber: y.startLineNumber, endColumn: y.startColumn });
|
|
4621
4621
|
};
|
|
4622
|
-
function
|
|
4622
|
+
function $s(e, t) {
|
|
4623
4623
|
let n = null;
|
|
4624
4624
|
const r = e.length;
|
|
4625
4625
|
for (let i = 0; !n && i < r; i++) {
|
|
@@ -4631,7 +4631,7 @@ function Ws(e, t) {
|
|
|
4631
4631
|
function Qo(e, t, n, r, i = []) {
|
|
4632
4632
|
if (r.kind === "function" && r.kindModifiers === "export") {
|
|
4633
4633
|
const o = r.spans[0].start, l = e.getPositionAt(o);
|
|
4634
|
-
i.push({ name: r.text, type:
|
|
4634
|
+
i.push({ name: r.text, type: $s(n, r), lineNumber: l.lineNumber });
|
|
4635
4635
|
}
|
|
4636
4636
|
if (r.childItems) for (const o of r.childItems) Qo(e, t, n, o, i);
|
|
4637
4637
|
return i;
|
|
@@ -4650,10 +4650,10 @@ function dr(e, t, n = "function", r) {
|
|
|
4650
4650
|
return null;
|
|
4651
4651
|
}
|
|
4652
4652
|
}
|
|
4653
|
-
function
|
|
4653
|
+
function Us(e) {
|
|
4654
4654
|
return e.kind === "comment";
|
|
4655
4655
|
}
|
|
4656
|
-
const
|
|
4656
|
+
const Id = ft(wt((e, t) => {
|
|
4657
4657
|
const { className: n, style: r, commands: i, readOnly: o = !1, onClose: l, darkMode: c, loadingPanel: h, autoFocus: s = !0, onStatusChange: S, ...d } = e, g = ke(null), x = ie(l, [l]), y = ke(!1), D = Ce(() => ({ contains(me) {
|
|
4658
4658
|
if (!g.current) return;
|
|
4659
4659
|
const $ = g.current.editor;
|
|
@@ -4667,7 +4667,7 @@ const Ad = ft(wt((e, t) => {
|
|
|
4667
4667
|
let me = null;
|
|
4668
4668
|
const $ = () => D;
|
|
4669
4669
|
return me = i ? i.createChildGroup($, "scriptEditor", !1) : new Co($, "scriptEditor"), me.addCommands(E, !0), me;
|
|
4670
|
-
}, [i, E]), H =
|
|
4670
|
+
}, [i, E]), H = ri(j, ["executeSelectedScript", "saveScripts"]), M = H[0], O = H[1], v = M?.context(), [w, C] = he({ message: "Loading", cursor: "", dirty: !1 }), [N, R] = he({ loading: !1, compiling: !1, errors: [], warnings: [] }), T = ie((me) => {
|
|
4671
4671
|
C(($) => {
|
|
4672
4672
|
const Le = { ...$, ...me };
|
|
4673
4673
|
return et.deepEqual(Le, $) ? $ : (O.update({ disabled: !Le.dirty }).updateCallback(async () => {
|
|
@@ -4747,7 +4747,7 @@ const Ad = ft(wt((e, t) => {
|
|
|
4747
4747
|
be(() => {
|
|
4748
4748
|
if (!v) return;
|
|
4749
4749
|
const me = { insertSnippet: (Le) => {
|
|
4750
|
-
g.current?.editor &&
|
|
4750
|
+
g.current?.editor && Qr(g.current.editor, g.current.monaco, Le);
|
|
4751
4751
|
}, close: () => _e() };
|
|
4752
4752
|
v.setEditor(me), v.setSelectedFunction(ee());
|
|
4753
4753
|
const $ = v.addContainerListener({ onBeforeSave: async () => {
|
|
@@ -4773,9 +4773,30 @@ const Ad = ft(wt((e, t) => {
|
|
|
4773
4773
|
const $ = g.current?.editor;
|
|
4774
4774
|
return !!$ && ($.focus(me), !0);
|
|
4775
4775
|
}, [w]), ue = ke(null), Ee = ie((me, $) => {
|
|
4776
|
-
g.current = { monaco: $, editor: me }, P(!0),
|
|
4776
|
+
g.current = { monaco: $, editor: me }, P(!0), (() => {
|
|
4777
|
+
if (Jr) return;
|
|
4778
|
+
const Z = (ne, oe) => {
|
|
4779
|
+
try {
|
|
4780
|
+
if (oe === void 0) try {
|
|
4781
|
+
delete globalThis[ne];
|
|
4782
|
+
} catch {
|
|
4783
|
+
try {
|
|
4784
|
+
globalThis[ne] = void 0;
|
|
4785
|
+
} catch {
|
|
4786
|
+
}
|
|
4787
|
+
}
|
|
4788
|
+
else globalThis[ne] = oe;
|
|
4789
|
+
} catch {
|
|
4790
|
+
}
|
|
4791
|
+
}, K = tn.length;
|
|
4792
|
+
for (let ne = 0; ne < K; ne++) {
|
|
4793
|
+
const oe = tn[ne];
|
|
4794
|
+
Z(oe, Bn[oe]);
|
|
4795
|
+
}
|
|
4796
|
+
Bn = void 0, Jr = !0;
|
|
4797
|
+
})(), ae("Loading Types");
|
|
4777
4798
|
const Le = v.getScripts().getModules().getItems()[0]?.getSource() ?? "";
|
|
4778
|
-
me.setValue(Le), import("./
|
|
4799
|
+
me.setValue(Le), import("./DvqBXpyQJd1AxaDi.mjs").then((Z) => Z.c).then(async (Z) => {
|
|
4779
4800
|
ae(""), Z.AutoTypings.create(me, { shareCache: !0, dontAdaptEditorOptions: !0, monaco: $, onUpdate: (K, ne) => {
|
|
4780
4801
|
if (K.type === "LookedUpPackage" && K.success !== void 0) {
|
|
4781
4802
|
const oe = $.languages.typescript.typescriptDefaults.getDiagnosticsOptions();
|
|
@@ -4846,7 +4867,7 @@ const Ad = ft(wt((e, t) => {
|
|
|
4846
4867
|
}
|
|
4847
4868
|
}
|
|
4848
4869
|
const me = v?.getScripts().getModules().getByName("scripts")?.getSource() ?? "";
|
|
4849
|
-
return Qe("div", { style: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: [f(
|
|
4870
|
+
return Qe("div", { style: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: [f(li, { children: f(Ps, { theme: c ? "extended-dark" : "extended", options: { ...Ws, fixedOverflowWidgets: !0, readOnly: o }, language: "typescript", value: me, onValidate: ($) => {
|
|
4850
4871
|
let Le = !1;
|
|
4851
4872
|
const pe = $ ? $.length : 0;
|
|
4852
4873
|
for (let Z = 0; !Le && Z < pe; Z++) $[Z].severity === 8 && (Le = !0);
|
|
@@ -4895,7 +4916,7 @@ const Ad = ft(wt((e, t) => {
|
|
|
4895
4916
|
const Z = $.languages.typescript.typescriptDefaults.getCompilerOptions();
|
|
4896
4917
|
$.languages.typescript.typescriptDefaults.setCompilerOptions({ ...Z, target: $.languages.typescript.ScriptTarget.ES2020, lib: ["webworker", "es2020", "esnext.asynciterable"], downlevelIteration: !0, moduleResolution: $.languages.typescript.ModuleResolutionKind.NodeJs, allowSyntheticDefaultImports: !0, baseUrl: "inmemory://model/", allowNonTsExtensions: !0 });
|
|
4897
4918
|
}
|
|
4898
|
-
if (B.current && (await
|
|
4919
|
+
if (B.current && (await Qr(g.current.editor, g.current.monaco, B.current), B.current = null), y.current && requestAnimationFrame(async () => {
|
|
4899
4920
|
y.current && $.editor.focus();
|
|
4900
4921
|
}), !Vn) {
|
|
4901
4922
|
Vn = {};
|
|
@@ -4905,27 +4926,6 @@ const Ad = ft(wt((e, t) => {
|
|
|
4905
4926
|
Vn[ne] = globalThis[ne];
|
|
4906
4927
|
}
|
|
4907
4928
|
}
|
|
4908
|
-
(() => {
|
|
4909
|
-
const Z = (ne, oe) => {
|
|
4910
|
-
try {
|
|
4911
|
-
if (oe === void 0) try {
|
|
4912
|
-
delete globalThis[ne];
|
|
4913
|
-
} catch {
|
|
4914
|
-
try {
|
|
4915
|
-
globalThis[ne] = void 0;
|
|
4916
|
-
} catch {
|
|
4917
|
-
}
|
|
4918
|
-
}
|
|
4919
|
-
else globalThis[ne] = oe;
|
|
4920
|
-
} catch {
|
|
4921
|
-
}
|
|
4922
|
-
}, K = tn.length;
|
|
4923
|
-
for (let ne = 0; ne < K; ne++) {
|
|
4924
|
-
const oe = tn[ne];
|
|
4925
|
-
Z(oe, Bn[oe]);
|
|
4926
|
-
}
|
|
4927
|
-
Bn = void 0;
|
|
4928
|
-
})(), P(!0);
|
|
4929
4929
|
})();
|
|
4930
4930
|
}, onMount: Ee }) }), Xe] });
|
|
4931
4931
|
}, [v, j, o, Xe, c]), Fe = _t(t, () => ({ isScriptEditorElement: () => !0, focus: (me) => {
|
|
@@ -4937,65 +4937,65 @@ const Ad = ft(wt((e, t) => {
|
|
|
4937
4937
|
g.current?.editor && requestAnimationFrame(() => {
|
|
4938
4938
|
Fe.current?.contains(document.activeElement) && Fe.current?.focus();
|
|
4939
4939
|
});
|
|
4940
|
-
}), []), f("div", { className: Vt("script-editor",
|
|
4940
|
+
}), []), f("div", { className: Vt("script-editor", Hs, n), style: { display: "flex", flexDirection: "row", flex: "1 1 100%", position: "relative", ...r }, ref: Fe, ...d, children: Je });
|
|
4941
4941
|
}));
|
|
4942
4942
|
export {
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4943
|
+
bd as ChartAreaIcon,
|
|
4944
|
+
qd as ChartAreaStackedIcon,
|
|
4945
|
+
Cd as ChartAreaStackedPercentIcon,
|
|
4946
|
+
vd as ChartBarIcon,
|
|
4947
|
+
wd as ChartBarStackedIcon,
|
|
4948
|
+
yd as ChartBarStackedPercentIcon,
|
|
4949
|
+
Dd as ChartBubble3DIcon,
|
|
4950
|
+
Md as ChartBubbleIcon,
|
|
4951
|
+
ld as ChartColumnIcon,
|
|
4952
|
+
ad as ChartColumnStackedIcon,
|
|
4953
|
+
sd as ChartColumnStackedPercentIcon,
|
|
4954
|
+
rd as ChartEditor,
|
|
4955
|
+
dd as ChartLineIcon,
|
|
4956
|
+
gd as ChartLineMarkersIcon,
|
|
4957
|
+
cd as ChartLineStackedIcon,
|
|
4958
|
+
hd as ChartLineStackedMarkersIcon,
|
|
4959
|
+
ud as ChartLineStackedPercentIcon,
|
|
4960
|
+
md as ChartLineStackedPercentMarkersIcon,
|
|
4961
|
+
fd as ChartPieDoughnutIcon,
|
|
4962
|
+
pd as ChartPieIcon,
|
|
4963
|
+
Td as ChartScatterLinesIcon,
|
|
4964
|
+
Rd as ChartScatterLinesMarkersIcon,
|
|
4965
|
+
xd as ChartScatterLinesMarkersSmoothIcon,
|
|
4966
|
+
kd as ChartScatterLinesSmoothIcon,
|
|
4967
|
+
Sd as ChartScatterMarkersIcon,
|
|
4968
|
+
od as CommandContext,
|
|
4969
4969
|
hr as CornerTriangle,
|
|
4970
|
-
|
|
4970
|
+
Js as DateUtils,
|
|
4971
4971
|
sr as DocThemesContext,
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4972
|
+
Ed as DocThemesProvider,
|
|
4973
|
+
ka as EditableLabel,
|
|
4974
|
+
nd as EmptyFrame,
|
|
4975
|
+
kl as FilterButton,
|
|
4976
|
+
Qs as FontUtils,
|
|
4977
|
+
ji as Item,
|
|
4978
|
+
Nd as LicenseManager,
|
|
4979
|
+
id as LogoNoPaddingIcon,
|
|
4980
|
+
Pl as LogoTextNoPaddingIcon,
|
|
4981
|
+
ua as MovableArea,
|
|
4982
|
+
Ca as PictureEditor,
|
|
4983
|
+
As as Row,
|
|
4984
|
+
Id as ScriptEditor,
|
|
4985
|
+
Ml as SheetCellEditor,
|
|
4986
|
+
Rl as SheetCellRenderer,
|
|
4987
|
+
qa as SheetElement,
|
|
4988
|
+
pi as SheetScrollbar,
|
|
4989
|
+
ed as StaticBorderRenderer,
|
|
4990
|
+
El as StyledStrokePath,
|
|
4991
|
+
Es as Tab,
|
|
4992
|
+
Vs as TabStrip,
|
|
4993
|
+
Dl as createCellEditStateFromCell,
|
|
4994
|
+
hi as useBordersOverlay,
|
|
4995
|
+
Ad as useDocThemes,
|
|
4996
4996
|
ht as useModelListener,
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
4997
|
+
ga as useMovableCommands,
|
|
4998
|
+
td as useRangeListener,
|
|
4999
|
+
$l as useSheetCommands,
|
|
5000
|
+
Ql as useSheetCopyPaste
|
|
5001
5001
|
};
|