@hybridcore/ui 1.5.89 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AccordionDetails-DhriPVPP.js → AccordionSummary-DgAwVTk8.js} +81 -82
- package/dist/{Add-CMz4N2zT.js → Add-DJLrrVHm.js} +52 -51
- package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
- package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
- package/dist/AxisRendererY-C_ItLPNV.js +445 -0
- package/dist/Box-p6OtTUEo.js +30 -0
- package/dist/Bullet-DVczI2TD.js +41 -0
- package/dist/Button-CcsPEIDh.js +35 -0
- package/dist/{Button-eqWvpDuh.js → Button-CvE2gnly.js} +138 -124
- package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-2bPw77UP.js} +5 -5
- package/dist/{CardContent-DsYqqPeJ.js → CardContent-CSHh-ZlM.js} +4 -4
- package/dist/CategoryAxis-CwnfaGc8.js +458 -0
- package/dist/{Checkbox-CrU2hpWB.js → Checkbox-CWRMFTBp.js} +12 -11
- package/dist/Circle-Cy5s-pVc.js +27 -0
- package/dist/ColorSet-C7vpNXhM.js +2957 -0
- package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
- package/dist/DataProcessor-CHDO51q4.js +83 -0
- package/dist/DateAxis-YX3QNIB-.js +569 -0
- package/dist/{Delete-86TO0fMo.js → Delete-CW0UZv1m.js} +1 -1
- package/dist/{DialogContent-CqTojymQ.js → DialogContent-B3nbEbuv.js} +10 -11
- package/dist/FormControl-BLbrq4C7.js +1636 -0
- package/dist/{FormControlLabel-BrdX4R71.js → FormControlLabel-C8SPv14J.js} +8 -8
- package/dist/Hierarchy-Bihj0S61.js +925 -0
- package/dist/{IconButton-DJ-31-Fd.js → IconButton-CHwRQF-g.js} +20 -19
- package/dist/IconPlus-yPkff_Vj.js +19 -0
- package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-DLxWUE6H.js} +6 -6
- package/dist/Legend-Dp_MKfS4.js +178 -0
- package/dist/LineSeries-Uiv5o56b.js +472 -0
- package/dist/{List-DOD5kSk3.js → List-tqElle9C.js} +4 -4
- package/dist/{ListItem-r8PbsvCz.js → ListItem-CfjsIg4B.js} +9 -8
- package/dist/{MenuItem-C6qlUyV3.js → MenuItem-xZx_w7zA.js} +14 -13
- package/dist/{Modal-CkcFEpHa.js → Modal-DhPpOoGB.js} +292 -277
- package/dist/{Paper-CjqLScHA.js → Paper-2B03OBmZ.js} +47 -41
- package/dist/PieSeries-B2fW3z0s.js +693 -0
- package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
- package/dist/Scrollbar-D86MJyr2.js +171 -0
- package/dist/{Select-t3ewnSdf.js → Select-BgYwkZgI.js} +2066 -1633
- package/dist/Slice-B19rbYDZ.js +261 -0
- package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
- package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
- package/dist/{TextField-BQ8a50fA.js → TextField-1yCesIbH.js} +23 -25
- package/dist/Tick-2bcLyHpF.js +162 -0
- package/dist/{Typography-D1t7XuLN.js → Typography-CxbneZy_.js} +11 -11
- package/dist/Vector-BmuhQO4p.js +3606 -0
- package/dist/Vector-DfTqQEln.js +1735 -0
- package/dist/WKT-2wsDT-nq.js +2310 -0
- package/dist/XYCursor-C8WktvKM.js +362 -0
- package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
- package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
- package/dist/capitalize-ciszXJ7R.js +9 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/index.js +1 -1
- package/dist/components/card/index.js +6 -6
- package/dist/components/card/styled.js +1 -1
- package/dist/components/charts/_common/utils.js +20 -0
- package/dist/components/charts/candlestick/logic.js +170 -140
- package/dist/components/charts/chart-wrapper/helpers.js +27 -0
- package/dist/components/charts/chart-wrapper/index.js +44 -0
- package/dist/components/charts/chart-wrapper/logic.js +47 -0
- package/dist/components/charts/chart-wrapper/styled.js +44 -0
- package/dist/components/charts/column-line-mix/index.js +10 -0
- package/dist/components/charts/column-line-mix/logic.js +162 -0
- package/dist/components/charts/column-line-mix/styled.js +12 -0
- package/dist/components/charts/drill-down-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-treemap/logic.js +391 -0
- package/dist/components/charts/drill-down-treemap/styled.js +12 -0
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
- package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
- package/dist/components/charts/heatmap/index.js +10 -0
- package/dist/components/charts/heatmap/logic.js +361 -0
- package/dist/components/charts/heatmap/styled.js +12 -0
- package/dist/components/charts/highlighting-line-data/logic.js +89 -256
- package/dist/components/charts/line/index.js +10 -0
- package/dist/components/charts/line/logic.js +148 -0
- package/dist/components/charts/line/styled.js +12 -0
- package/dist/components/charts/logaritmic-scale/index.js +10 -0
- package/dist/components/charts/logaritmic-scale/logic.js +119 -0
- package/dist/components/charts/logaritmic-scale/styled.js +12 -0
- package/dist/components/charts/multiple-value-axes/index.js +10 -0
- package/dist/components/charts/multiple-value-axes/logic.js +191 -0
- package/dist/components/charts/multiple-value-axes/styled.js +12 -0
- package/dist/components/charts/nested-pie/index.js +10 -0
- package/dist/components/charts/nested-pie/logic.js +110 -0
- package/dist/components/charts/nested-pie/styled.js +12 -0
- package/dist/components/charts/packed-circles/index.js +10 -0
- package/dist/components/charts/packed-circles/logic.js +423 -0
- package/dist/components/charts/packed-circles/styled.js +12 -0
- package/dist/components/charts/pie-chart/index.js +10 -0
- package/dist/components/charts/pie-chart/logic.js +70 -0
- package/dist/components/charts/pie-chart/styled.js +12 -0
- package/dist/components/charts/stacked-area-radar/index.js +10 -0
- package/dist/components/charts/stacked-area-radar/logic.js +868 -0
- package/dist/components/charts/stacked-area-radar/styled.js +12 -0
- package/dist/components/charts/stacked-column-chart/index.js +10 -0
- package/dist/components/charts/stacked-column-chart/logic.js +148 -0
- package/dist/components/charts/stacked-column-chart/styled.js +12 -0
- package/dist/components/charts/xy-chart/index.js +10 -0
- package/dist/components/charts/xy-chart/logic.js +170 -0
- package/dist/components/charts/xy-chart/styled.js +12 -0
- package/dist/components/collapsible-card/index.js +58 -32
- package/dist/components/collapsible-card/logic.js +20 -0
- package/dist/components/collapsible-card/styled.js +52 -0
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +7 -7
- package/dist/components/context-menu/index.js +153 -253
- package/dist/components/data-map/components/controls/index.js +12 -0
- package/dist/components/data-map/components/controls/styled.js +34 -0
- package/dist/components/data-map/index.js +51 -0
- package/dist/components/data-map/logic.js +108 -0
- package/dist/components/data-map/styled.js +32 -0
- package/dist/components/data-security-selectors/security-level/index.js +5 -5
- package/dist/components/date-picker-with-custom-range/index.js +9 -0
- package/dist/components/date-picker-with-custom-range/logic.js +66 -0
- package/dist/components/date-picker-with-custom-range/styled.js +43 -0
- package/dist/components/divider/index.js +18 -0
- package/dist/components/divider/logic.js +13 -0
- package/dist/components/divider/styled.js +14 -0
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +1 -1
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/index.js +7 -8
- package/dist/components/geometry-picker/kml/index.js +1 -1
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +65 -62
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/heat-map/components/controls/index.js +12 -0
- package/dist/components/heat-map/components/controls/styled.js +34 -0
- package/dist/components/heat-map/components/legend/index.js +26 -0
- package/dist/components/heat-map/components/legend/styled.js +14 -0
- package/dist/components/heat-map/index.js +37 -0
- package/dist/components/heat-map/logic.js +1945 -0
- package/dist/components/heat-map/styled.js +32 -0
- package/dist/components/icon-button/index.js +22 -15
- package/dist/components/icon-button/logic.js +15 -0
- package/dist/components/icon-button/styled.js +22 -10
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
- package/dist/components/instance-form/components/variable/index.js +8 -8
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/instance-variable-list/index.js +34 -29
- package/dist/components/instance-variable-list/styled.js +21 -21
- package/dist/components/instance-variable-list/variable.js +44 -74
- package/dist/components/linear-indicator/index.js +10 -67
- package/dist/components/linear-indicator/logic.js +47 -0
- package/dist/components/linear-indicator/styled.js +39 -40
- package/dist/components/map/helpers/kml.js +1 -1
- package/dist/components/map/helpers/mapbox.js +14 -14
- package/dist/components/map/helpers/ol.js +23 -19
- package/dist/components/map/helpers/wkt.js +26 -1314
- package/dist/components/map/index.js +1 -1
- package/dist/components/map/logic.js +113 -101
- package/dist/components/map/styled.js +39 -31
- package/dist/components/metric-card/MetricChart.js +50 -498
- package/dist/components/metric-card/index.js +94 -115
- package/dist/components/metric-card/logic.js +70 -131
- package/dist/components/object-profile-card/components/avatar/index.js +44 -0
- package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
- package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
- package/dist/components/object-profile-card/index.js +90 -0
- package/dist/components/object-profile-card/logic.js +33 -0
- package/dist/components/object-profile-card/styled.js +48 -0
- package/dist/components/paginated-list/index.js +93 -89
- package/dist/components/paginated-list/logic.js +51 -40
- package/dist/components/paginated-list/styled.js +25 -21
- package/dist/components/property-mapping/index.js +2 -2
- package/dist/components/prr-map/components/controls/index.js +12 -0
- package/dist/components/prr-map/components/controls/styled.js +34 -0
- package/dist/components/prr-map/components/legend/index.js +36 -0
- package/dist/components/prr-map/components/legend/styled.js +21 -0
- package/dist/components/prr-map/index.js +38 -0
- package/dist/components/prr-map/logic.js +104 -0
- package/dist/components/prr-map/styled.js +32 -0
- package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
- package/dist/components/range-selector/components/date-range/index.js +4282 -7
- package/dist/components/range-selector/index.js +1 -1
- package/dist/components/raster-grid-map/components/controls/index.js +12 -0
- package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
- package/dist/components/raster-grid-map/components/legend/index.js +14 -0
- package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
- package/dist/components/raster-grid-map/helpers.js +190 -0
- package/dist/components/raster-grid-map/index.js +38 -0
- package/dist/components/raster-grid-map/logic.js +172 -0
- package/dist/components/raster-grid-map/styled.js +32 -0
- package/dist/components/search-input/index.js +62 -140
- package/dist/components/search-input/logic.js +43 -0
- package/dist/components/search-input/styled.js +33 -0
- package/dist/components/simple-pivot-table/index.js +66 -0
- package/dist/components/simple-pivot-table/logic.js +51 -0
- package/dist/components/simple-pivot-table/styled.js +45 -0
- package/dist/components/static-text/index.js +18 -0
- package/dist/components/static-text/logic.js +13 -0
- package/dist/components/static-text/styled.js +45 -0
- package/dist/components/tabs/index.js +56 -2160
- package/dist/components/tabs/logic.js +36 -0
- package/dist/components/tabs/styled.js +94 -16
- package/dist/components/tabs/tab-panel.js +11 -10
- package/dist/components/template-filters/components/tab-panel/index.js +1 -1
- package/dist/components/template-form/components/property-list/index.js +7 -7
- package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
- package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
- package/dist/components/template-form/index.js +5 -5
- package/dist/components/template-property-filters/property.js +5 -5
- package/dist/components/timeline/index.js +61 -0
- package/dist/components/timeline/logic.js +40 -0
- package/dist/components/timeline/styled.js +48 -0
- package/dist/components/tree-select/index.js +5 -5
- package/dist/components/treeview-filter/item-label/index.js +3 -3
- package/dist/constant-BiOGvlZc.js +21 -0
- package/dist/createReactComponent-C7L-DMHj.js +60 -0
- package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BjpIhJ30.js} +30 -32
- package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DrtgaibK.js} +5 -5
- package/dist/{createTheme-CNnKNxwL.js → createTheme-DYxDnE9u.js} +226 -285
- package/dist/{dialog-BE4D6swf.js → dialog-DcwXug9J.js} +6 -6
- package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
- package/dist/index-BMS1Otro.js +183 -0
- package/dist/index-C__OZmYy.js +663 -0
- package/dist/{index-CGNxsLVm.js → index-CcdvNlgr.js} +7 -7
- package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
- package/dist/index-syTc6m_V.js +1934 -0
- package/dist/index.es-CHNMhaMi.js +2067 -0
- package/dist/index.esm-BLLrbTzY.js +318 -0
- package/dist/{listItemTextClasses-CNjn41Of.js → listItemTextClasses-C3lndiXO.js} +2 -2
- package/dist/main.d.ts +1226 -358
- package/dist/main.js +141 -443
- package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
- package/dist/ol-yOE-NV0X.js +7465 -0
- package/dist/path-CNVruS--.js +84 -0
- package/dist/{property-list-form-C5hcK2y2.js → property-list-form-zZQfpR0X.js} +13 -13
- package/dist/styled-eZwjUruw.js +12 -0
- package/dist/useId-B4-oF9Mq.js +34 -0
- package/dist/useMobilePicker-BLg3Blg8.js +7589 -0
- package/dist/useThemeProps-BzzHcQyd.js +58 -0
- package/dist/{utils-CsOZUsQj.js → utils-BDNynJcd.js} +2 -2
- package/package.json +42 -9
- package/dist/AxisRendererY-kADUad00.js +0 -18370
- package/dist/Box-B1AVyJ_s.js +0 -71
- package/dist/DateAxis-CMum47iz.js +0 -924
- package/dist/Input-CoIrGZAh.js +0 -326
- package/dist/InputLabel-CBuAYyuT.js +0 -1367
- package/dist/LineSeries-CfcpoYla.js +0 -549
- package/dist/OutlinedInput-B-iZoc9l.js +0 -450
- package/dist/Tabs-Cn42Z5QI.js +0 -789
- package/dist/components/collapsible-card/style.js +0 -49
- package/dist/components/profile-card/index.js +0 -80
- package/dist/components/profile-card/logic.js +0 -33
- package/dist/components/profile-card/styled.js +0 -43
- package/dist/components/tabs/appleTabs.style.js +0 -55
- package/dist/createStyled-BGx1I94c.js +0 -352
- package/dist/createTheme-CyC5HawC.js +0 -879
- package/dist/exactProp-cjT0t_Pt.js +0 -36
- package/dist/extendSxProp-FEpqY5_S.js +0 -30
- package/dist/index-DMSHuq6l.js +0 -688
- package/dist/index-SpeaLUQD.js +0 -10963
- package/dist/ol-lGwSyEIV.js +0 -15050
- package/dist/ownerDocument-CUrv0DIK.js +0 -6
- package/dist/ownerWindow-niciwP7I.js +0 -7
- package/dist/styled-B8ugzvji.js +0 -12
- package/dist/useId-BHG98T5I.js +0 -26
- package/dist/useTheme-C15Eq8KG.js +0 -18
- package/dist/useTheme-D-uii9iX.js +0 -10
- package/dist/useThemeProps-DRP1dikX.js +0 -95
|
@@ -1,132 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return
|
|
5
|
-
|
|
6
|
-
function de(i) {
|
|
7
|
-
const e = document.createElement("div");
|
|
8
|
-
if (e.style.color = i, e.style.color !== "") {
|
|
9
|
-
document.body.appendChild(e);
|
|
10
|
-
const t = getComputedStyle(e).color;
|
|
11
|
-
return document.body.removeChild(e), t;
|
|
12
|
-
}
|
|
13
|
-
return "";
|
|
1
|
+
import { W as j, b as m, a as w, m as v, n as N, I as ae, u as le, E as O, o as he, g as ce, B as oe, j as ue } from "./math-Bvt2Ubuz.js";
|
|
2
|
+
function L(i, e, t, n) {
|
|
3
|
+
let s;
|
|
4
|
+
return t && t.length ? s = t.shift() : j ? s = new OffscreenCanvas(i || 300, e || 300) : s = document.createElement("canvas"), i && (s.width = i), e && (s.height = e), /** @type {CanvasRenderingContext2D} */
|
|
5
|
+
s.getContext("2d", n);
|
|
14
6
|
}
|
|
15
|
-
|
|
16
|
-
const e =
|
|
17
|
-
|
|
18
|
-
return (
|
|
19
|
-
/**
|
|
20
|
-
* @param {string} s String.
|
|
21
|
-
* @return {Color} Color.
|
|
22
|
-
*/
|
|
23
|
-
function(n) {
|
|
24
|
-
let s;
|
|
25
|
-
if (e.hasOwnProperty(n))
|
|
26
|
-
s = e[n];
|
|
27
|
-
else {
|
|
28
|
-
if (t >= 1024) {
|
|
29
|
-
let r = 0;
|
|
30
|
-
for (const a in e)
|
|
31
|
-
r++ & 3 || (delete e[a], --t);
|
|
32
|
-
}
|
|
33
|
-
s = me(n), e[n] = s, ++t;
|
|
34
|
-
}
|
|
35
|
-
return s;
|
|
36
|
-
}
|
|
37
|
-
);
|
|
38
|
-
}();
|
|
39
|
-
function Q(i) {
|
|
40
|
-
return Array.isArray(i) ? i : _e(i);
|
|
7
|
+
function Me(i) {
|
|
8
|
+
const e = i.canvas;
|
|
9
|
+
e.width = 1, e.height = 1, i.clearRect(0, 0, 1, 1);
|
|
41
10
|
}
|
|
42
|
-
function
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const a = i.length - 1;
|
|
46
|
-
let l;
|
|
47
|
-
a <= 4 ? l = 1 : l = 2;
|
|
48
|
-
const o = a === 4 || a === 8;
|
|
49
|
-
e = parseInt(i.substr(1 + 0 * l, l), 16), t = parseInt(i.substr(1 + 1 * l, l), 16), n = parseInt(i.substr(1 + 2 * l, l), 16), o ? s = parseInt(i.substr(1 + 3 * l, l), 16) : s = 255, l == 1 && (e = (e << 4) + e, t = (t << 4) + t, n = (n << 4) + n, o && (s = (s << 4) + s)), r = [e, t, n, s / 255];
|
|
50
|
-
} else i.startsWith("rgba(") ? (r = i.slice(5, -1).split(",").map(Number), J(r)) : i.startsWith("rgb(") ? (r = i.slice(4, -1).split(",").map(Number), r.push(1), J(r)) : w(!1, 14);
|
|
51
|
-
return r;
|
|
11
|
+
function Ee(i, e) {
|
|
12
|
+
const t = e.parentNode;
|
|
13
|
+
t && t.replaceChild(i, e);
|
|
52
14
|
}
|
|
53
|
-
function
|
|
54
|
-
return i
|
|
15
|
+
function Re(i) {
|
|
16
|
+
return i && i.parentNode ? i.parentNode.removeChild(i) : null;
|
|
55
17
|
}
|
|
56
|
-
function
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
let t = i[1];
|
|
60
|
-
t != (t | 0) && (t = t + 0.5 | 0);
|
|
61
|
-
let n = i[2];
|
|
62
|
-
n != (n | 0) && (n = n + 0.5 | 0);
|
|
63
|
-
const s = i[3] === void 0 ? 1 : Math.round(i[3] * 100) / 100;
|
|
64
|
-
return "rgba(" + e + "," + t + "," + n + "," + s + ")";
|
|
18
|
+
function be(i) {
|
|
19
|
+
for (; i.lastChild; )
|
|
20
|
+
i.removeChild(i.lastChild);
|
|
65
21
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
return this.cacheSize_ > this.maxCacheSize_;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* FIXME empty description for jsdoc
|
|
84
|
-
*/
|
|
85
|
-
expire() {
|
|
86
|
-
if (this.canExpireCache()) {
|
|
87
|
-
let e = 0;
|
|
88
|
-
for (const t in this.cache_) {
|
|
89
|
-
const n = this.cache_[t];
|
|
90
|
-
!(e++ & 3) && !n.hasListener() && (delete this.cache_[t], --this.cacheSize_);
|
|
22
|
+
function Fe(i, e) {
|
|
23
|
+
const t = i.childNodes;
|
|
24
|
+
for (let n = 0; ; ++n) {
|
|
25
|
+
const s = t[n], r = e[n];
|
|
26
|
+
if (!s && !r)
|
|
27
|
+
break;
|
|
28
|
+
if (s !== r) {
|
|
29
|
+
if (!s) {
|
|
30
|
+
i.appendChild(r);
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
if (!r) {
|
|
34
|
+
i.removeChild(s), --n;
|
|
35
|
+
continue;
|
|
91
36
|
}
|
|
37
|
+
i.insertBefore(r, s);
|
|
92
38
|
}
|
|
93
39
|
}
|
|
94
|
-
/**
|
|
95
|
-
* @param {string} src Src.
|
|
96
|
-
* @param {?string} crossOrigin Cross origin.
|
|
97
|
-
* @param {import("../color.js").Color} color Color.
|
|
98
|
-
* @return {import("./IconImage.js").default} Icon image.
|
|
99
|
-
*/
|
|
100
|
-
get(e, t, n) {
|
|
101
|
-
const s = X(e, t, n);
|
|
102
|
-
return s in this.cache_ ? this.cache_[s] : null;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* @param {string} src Src.
|
|
106
|
-
* @param {?string} crossOrigin Cross origin.
|
|
107
|
-
* @param {import("../color.js").Color} color Color.
|
|
108
|
-
* @param {import("./IconImage.js").default} iconImage Icon image.
|
|
109
|
-
*/
|
|
110
|
-
set(e, t, n, s) {
|
|
111
|
-
const r = X(e, t, n);
|
|
112
|
-
this.cache_[r] = s, ++this.cacheSize_;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Set the cache size of the icon cache. Default is `32`. Change this value when
|
|
116
|
-
* your map uses more than 32 different icon images and you are not caching icon
|
|
117
|
-
* styles on the application level.
|
|
118
|
-
* @param {number} maxCacheSize Cache max size.
|
|
119
|
-
* @api
|
|
120
|
-
*/
|
|
121
|
-
setSize(e) {
|
|
122
|
-
this.maxCacheSize_ = e, this.expire();
|
|
123
|
-
}
|
|
124
40
|
}
|
|
125
|
-
|
|
126
|
-
const n = t ? j(t) : "null";
|
|
127
|
-
return e + ":" + i + ":" + n;
|
|
128
|
-
}
|
|
129
|
-
const U = new ye(), Me = "ol-hidden", Ee = "ol-unselectable", Re = "ol-control", be = "ol-collapsed", Se = new RegExp(
|
|
41
|
+
const We = "ol-hidden", Te = "ol-unselectable", Pe = "ol-control", Ve = "ol-collapsed", ge = new RegExp(
|
|
130
42
|
[
|
|
131
43
|
"^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)",
|
|
132
44
|
"(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)",
|
|
@@ -137,15 +49,15 @@ const U = new ye(), Me = "ol-hidden", Ee = "ol-unselectable", Re = "ol-control",
|
|
|
137
49
|
`?\\s*([-,\\"\\'\\sa-z]+?)\\s*$`
|
|
138
50
|
].join(""),
|
|
139
51
|
"i"
|
|
140
|
-
),
|
|
52
|
+
), J = [
|
|
141
53
|
"style",
|
|
142
54
|
"variant",
|
|
143
55
|
"weight",
|
|
144
56
|
"size",
|
|
145
57
|
"lineHeight",
|
|
146
58
|
"family"
|
|
147
|
-
],
|
|
148
|
-
const e = i.match(
|
|
59
|
+
], $ = function(i) {
|
|
60
|
+
const e = i.match(ge);
|
|
149
61
|
if (!e)
|
|
150
62
|
return null;
|
|
151
63
|
const t = (
|
|
@@ -155,216 +67,15 @@ const U = new ye(), Me = "ol-hidden", Ee = "ol-unselectable", Re = "ol-control",
|
|
|
155
67
|
size: "1.2em",
|
|
156
68
|
style: "normal",
|
|
157
69
|
weight: "normal",
|
|
158
|
-
variant: "normal"
|
|
159
|
-
}
|
|
160
|
-
);
|
|
161
|
-
for (let n = 0, s =
|
|
162
|
-
const r = e[n + 1];
|
|
163
|
-
r !== void 0 && (t[
|
|
164
|
-
}
|
|
165
|
-
return t.families = t.family.split(/,\s?/), t;
|
|
166
|
-
};
|
|
167
|
-
function L(i, e, t, n) {
|
|
168
|
-
let s;
|
|
169
|
-
return t && t.length ? s = t.shift() : $ ? s = new OffscreenCanvas(i || 300, e || 300) : s = document.createElement("canvas"), i && (s.width = i), e && (s.height = e), /** @type {CanvasRenderingContext2D} */
|
|
170
|
-
s.getContext("2d", n);
|
|
171
|
-
}
|
|
172
|
-
function Fe(i) {
|
|
173
|
-
const e = i.canvas;
|
|
174
|
-
e.width = 1, e.height = 1, i.clearRect(0, 0, 1, 1);
|
|
175
|
-
}
|
|
176
|
-
function We(i, e) {
|
|
177
|
-
const t = e.parentNode;
|
|
178
|
-
t && t.replaceChild(i, e);
|
|
179
|
-
}
|
|
180
|
-
function Te(i) {
|
|
181
|
-
return i && i.parentNode ? i.parentNode.removeChild(i) : null;
|
|
182
|
-
}
|
|
183
|
-
function Pe(i) {
|
|
184
|
-
for (; i.lastChild; )
|
|
185
|
-
i.removeChild(i.lastChild);
|
|
186
|
-
}
|
|
187
|
-
function Ve(i, e) {
|
|
188
|
-
const t = i.childNodes;
|
|
189
|
-
for (let n = 0; ; ++n) {
|
|
190
|
-
const s = t[n], r = e[n];
|
|
191
|
-
if (!s && !r)
|
|
192
|
-
break;
|
|
193
|
-
if (s !== r) {
|
|
194
|
-
if (!s) {
|
|
195
|
-
i.appendChild(r);
|
|
196
|
-
continue;
|
|
197
|
-
}
|
|
198
|
-
if (!r) {
|
|
199
|
-
i.removeChild(s), --n;
|
|
200
|
-
continue;
|
|
201
|
-
}
|
|
202
|
-
i.insertBefore(r, s);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
const He = "10px sans-serif", G = "#000", Be = "round", Ne = [], Je = 0, p = "round", Ie = 10, De = "#000", Xe = "center", Ue = "middle", Ye = [0, 0, 0, 0], we = 1, y = new ae();
|
|
207
|
-
let D = null, T;
|
|
208
|
-
const P = {}, Ge = function() {
|
|
209
|
-
const e = "32px ", t = ["monospace", "serif"], n = t.length, s = "wmytzilWMYTZIL@#/&?$%10";
|
|
210
|
-
let r, a;
|
|
211
|
-
function l(c, h, u) {
|
|
212
|
-
let f = !0;
|
|
213
|
-
for (let g = 0; g < n; ++g) {
|
|
214
|
-
const d = t[g];
|
|
215
|
-
if (a = x(
|
|
216
|
-
c + " " + h + " " + e + d,
|
|
217
|
-
s
|
|
218
|
-
), u != d) {
|
|
219
|
-
const I = x(
|
|
220
|
-
c + " " + h + " " + e + u + "," + d,
|
|
221
|
-
s
|
|
222
|
-
);
|
|
223
|
-
f = f && I != a;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
return !!f;
|
|
227
|
-
}
|
|
228
|
-
function o() {
|
|
229
|
-
let c = !0;
|
|
230
|
-
const h = y.getKeys();
|
|
231
|
-
for (let u = 0, f = h.length; u < f; ++u) {
|
|
232
|
-
const g = h[u];
|
|
233
|
-
y.get(g) < 100 && (l.apply(this, g.split(`
|
|
234
|
-
`)) ? (le(P), D = null, T = void 0, y.set(g, 100)) : (y.set(g, y.get(g) + 1, !0), c = !1));
|
|
235
|
-
}
|
|
236
|
-
c && (clearInterval(r), r = void 0);
|
|
237
|
-
}
|
|
238
|
-
return function(c) {
|
|
239
|
-
const h = te(c);
|
|
240
|
-
if (!h)
|
|
241
|
-
return;
|
|
242
|
-
const u = h.families;
|
|
243
|
-
for (let f = 0, g = u.length; f < g; ++f) {
|
|
244
|
-
const d = u[f], I = h.style + `
|
|
245
|
-
` + h.weight + `
|
|
246
|
-
` + d;
|
|
247
|
-
y.get(I) === void 0 && (y.set(I, 100, !0), l(h.style, h.weight, d) || (y.set(I, 0, !0), r === void 0 && (r = setInterval(o, 32))));
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
}(), Ae = /* @__PURE__ */ function() {
|
|
251
|
-
let i;
|
|
252
|
-
return function(e) {
|
|
253
|
-
let t = P[e];
|
|
254
|
-
if (t == null) {
|
|
255
|
-
if ($) {
|
|
256
|
-
const n = te(e), s = ie(e, "Žg");
|
|
257
|
-
t = (isNaN(Number(n.lineHeight)) ? 1.2 : Number(n.lineHeight)) * (s.actualBoundingBoxAscent + s.actualBoundingBoxDescent);
|
|
258
|
-
} else
|
|
259
|
-
i || (i = document.createElement("div"), i.innerHTML = "M", i.style.minHeight = "0", i.style.maxHeight = "none", i.style.height = "auto", i.style.padding = "0", i.style.border = "none", i.style.position = "absolute", i.style.display = "block", i.style.left = "-99999px"), i.style.font = e, document.body.appendChild(i), t = i.offsetHeight, document.body.removeChild(i);
|
|
260
|
-
P[e] = t;
|
|
261
|
-
}
|
|
262
|
-
return t;
|
|
263
|
-
};
|
|
264
|
-
}();
|
|
265
|
-
function ie(i, e) {
|
|
266
|
-
return D || (D = L(1, 1)), i != T && (D.font = i, T = D.font), D.measureText(e);
|
|
267
|
-
}
|
|
268
|
-
function x(i, e) {
|
|
269
|
-
return ie(i, e).width;
|
|
270
|
-
}
|
|
271
|
-
function pe(i, e, t) {
|
|
272
|
-
if (e in t)
|
|
273
|
-
return t[e];
|
|
274
|
-
const n = e.split(`
|
|
275
|
-
`).reduce((s, r) => Math.max(s, x(i, r)), 0);
|
|
276
|
-
return t[e] = n, n;
|
|
277
|
-
}
|
|
278
|
-
function qe(i, e) {
|
|
279
|
-
const t = [], n = [], s = [];
|
|
280
|
-
let r = 0, a = 0, l = 0, o = 0;
|
|
281
|
-
for (let c = 0, h = e.length; c <= h; c += 2) {
|
|
282
|
-
const u = e[c];
|
|
283
|
-
if (u === `
|
|
284
|
-
` || c === h) {
|
|
285
|
-
r = Math.max(r, a), s.push(a), a = 0, l += o;
|
|
286
|
-
continue;
|
|
287
|
-
}
|
|
288
|
-
const f = e[c + 1] || i.font, g = x(f, u);
|
|
289
|
-
t.push(g), a += g;
|
|
290
|
-
const d = Ae(f);
|
|
291
|
-
n.push(d), o = Math.max(o, d);
|
|
292
|
-
}
|
|
293
|
-
return { width: r, height: l, widths: t, heights: n, lineWidths: s };
|
|
294
|
-
}
|
|
295
|
-
function Ze(i, e, t, n, s, r, a, l, o, c, h) {
|
|
296
|
-
i.save(), t !== 1 && (i.globalAlpha *= t), e && i.setTransform.apply(i, e), /** @type {*} */
|
|
297
|
-
n.contextInstructions ? (i.translate(o, c), i.scale(h[0], h[1]), Ce(
|
|
298
|
-
/** @type {Label} */
|
|
299
|
-
n,
|
|
300
|
-
i
|
|
301
|
-
)) : h[0] < 0 || h[1] < 0 ? (i.translate(o, c), i.scale(h[0], h[1]), i.drawImage(
|
|
302
|
-
/** @type {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} */
|
|
303
|
-
n,
|
|
304
|
-
s,
|
|
305
|
-
r,
|
|
306
|
-
a,
|
|
307
|
-
l,
|
|
308
|
-
0,
|
|
309
|
-
0,
|
|
310
|
-
a,
|
|
311
|
-
l
|
|
312
|
-
)) : i.drawImage(
|
|
313
|
-
/** @type {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} */
|
|
314
|
-
n,
|
|
315
|
-
s,
|
|
316
|
-
r,
|
|
317
|
-
a,
|
|
318
|
-
l,
|
|
319
|
-
o,
|
|
320
|
-
c,
|
|
321
|
-
a * h[0],
|
|
322
|
-
l * h[1]
|
|
323
|
-
), i.restore();
|
|
324
|
-
}
|
|
325
|
-
function Ce(i, e) {
|
|
326
|
-
const t = i.contextInstructions;
|
|
327
|
-
for (let n = 0, s = t.length; n < s; n += 2)
|
|
328
|
-
Array.isArray(t[n + 1]) ? e[t[n]].apply(
|
|
329
|
-
e,
|
|
330
|
-
t[n + 1]
|
|
331
|
-
) : e[t[n]] = t[n + 1];
|
|
332
|
-
}
|
|
333
|
-
function Ke(i) {
|
|
334
|
-
return i[0] > 0 && i[1] > 0;
|
|
335
|
-
}
|
|
336
|
-
function $e(i, e, t) {
|
|
337
|
-
return t === void 0 && (t = [0, 0]), t[0] = i[0] * e + 0.5 | 0, t[1] = i[1] * e + 0.5 | 0, t;
|
|
338
|
-
}
|
|
339
|
-
function M(i, e) {
|
|
340
|
-
return Array.isArray(i) ? i : (e === void 0 ? e = [i, i] : (e[0] = i, e[1] = i), e);
|
|
341
|
-
}
|
|
342
|
-
const _ = {
|
|
343
|
-
IDLE: 0,
|
|
344
|
-
LOADING: 1,
|
|
345
|
-
LOADED: 2,
|
|
346
|
-
ERROR: 3,
|
|
347
|
-
EMPTY: 4
|
|
348
|
-
};
|
|
349
|
-
function ke(i, e, t) {
|
|
350
|
-
const n = (
|
|
351
|
-
/** @type {HTMLImageElement} */
|
|
352
|
-
i
|
|
353
|
-
);
|
|
354
|
-
let s = !0, r = !1, a = !1;
|
|
355
|
-
const l = [
|
|
356
|
-
N(n, O.LOAD, function() {
|
|
357
|
-
a = !0, r || e();
|
|
358
|
-
})
|
|
359
|
-
];
|
|
360
|
-
return n.src && he ? (r = !0, n.decode().then(function() {
|
|
361
|
-
s && e();
|
|
362
|
-
}).catch(function(o) {
|
|
363
|
-
s && (a ? e() : t());
|
|
364
|
-
})) : l.push(N(n, O.ERROR, t)), function() {
|
|
365
|
-
s = !1, l.forEach(ce);
|
|
366
|
-
};
|
|
367
|
-
}
|
|
70
|
+
variant: "normal"
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
for (let n = 0, s = J.length; n < s; ++n) {
|
|
74
|
+
const r = e[n + 1];
|
|
75
|
+
r !== void 0 && (t[J[n]] = r);
|
|
76
|
+
}
|
|
77
|
+
return t.families = t.family.split(/,\s?/), t;
|
|
78
|
+
};
|
|
368
79
|
class C {
|
|
369
80
|
/**
|
|
370
81
|
* @param {Options} [options] Options.
|
|
@@ -401,12 +112,28 @@ class C {
|
|
|
401
112
|
this.color_ = e;
|
|
402
113
|
}
|
|
403
114
|
}
|
|
115
|
+
const _ = {
|
|
116
|
+
IDLE: 0,
|
|
117
|
+
LOADING: 1,
|
|
118
|
+
LOADED: 2,
|
|
119
|
+
ERROR: 3,
|
|
120
|
+
EMPTY: 4
|
|
121
|
+
};
|
|
122
|
+
function He(i) {
|
|
123
|
+
return i[0] > 0 && i[1] > 0;
|
|
124
|
+
}
|
|
125
|
+
function Be(i, e, t) {
|
|
126
|
+
return t === void 0 && (t = [0, 0]), t[0] = i[0] * e + 0.5 | 0, t[1] = i[1] * e + 0.5 | 0, t;
|
|
127
|
+
}
|
|
128
|
+
function x(i, e) {
|
|
129
|
+
return Array.isArray(i) ? i : (e === void 0 ? e = [i, i] : (e[0] = i, e[1] = i), e);
|
|
130
|
+
}
|
|
404
131
|
class E {
|
|
405
132
|
/**
|
|
406
133
|
* @param {Options} options Options.
|
|
407
134
|
*/
|
|
408
135
|
constructor(e) {
|
|
409
|
-
this.opacity_ = e.opacity, this.rotateWithView_ = e.rotateWithView, this.rotation_ = e.rotation, this.scale_ = e.scale, this.scaleArray_ =
|
|
136
|
+
this.opacity_ = e.opacity, this.rotateWithView_ = e.rotateWithView, this.rotation_ = e.rotation, this.scale_ = e.scale, this.scaleArray_ = x(e.scale), this.displacement_ = e.displacement, this.declutterMode_ = e.declutterMode;
|
|
410
137
|
}
|
|
411
138
|
/**
|
|
412
139
|
* Clones the style.
|
|
@@ -585,7 +312,7 @@ class E {
|
|
|
585
312
|
* @api
|
|
586
313
|
*/
|
|
587
314
|
setScale(e) {
|
|
588
|
-
this.scale_ = e, this.scaleArray_ =
|
|
315
|
+
this.scale_ = e, this.scaleArray_ = x(e);
|
|
589
316
|
}
|
|
590
317
|
/**
|
|
591
318
|
* @abstract
|
|
@@ -609,8 +336,155 @@ class E {
|
|
|
609
336
|
m();
|
|
610
337
|
}
|
|
611
338
|
}
|
|
339
|
+
const fe = /^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i, de = /^([a-z]*)$|^hsla?\(.*\)$/i;
|
|
340
|
+
function Q(i) {
|
|
341
|
+
return typeof i == "string" ? i : te(i);
|
|
342
|
+
}
|
|
343
|
+
function _e(i) {
|
|
344
|
+
const e = document.createElement("div");
|
|
345
|
+
if (e.style.color = i, e.style.color !== "") {
|
|
346
|
+
document.body.appendChild(e);
|
|
347
|
+
const t = getComputedStyle(e).color;
|
|
348
|
+
return document.body.removeChild(e), t;
|
|
349
|
+
}
|
|
350
|
+
return "";
|
|
351
|
+
}
|
|
352
|
+
const me = /* @__PURE__ */ function() {
|
|
353
|
+
const e = {};
|
|
354
|
+
let t = 0;
|
|
355
|
+
return (
|
|
356
|
+
/**
|
|
357
|
+
* @param {string} s String.
|
|
358
|
+
* @return {Color} Color.
|
|
359
|
+
*/
|
|
360
|
+
function(n) {
|
|
361
|
+
let s;
|
|
362
|
+
if (e.hasOwnProperty(n))
|
|
363
|
+
s = e[n];
|
|
364
|
+
else {
|
|
365
|
+
if (t >= 1024) {
|
|
366
|
+
let r = 0;
|
|
367
|
+
for (const a in e)
|
|
368
|
+
r++ & 3 || (delete e[a], --t);
|
|
369
|
+
}
|
|
370
|
+
s = ye(n), e[n] = s, ++t;
|
|
371
|
+
}
|
|
372
|
+
return s;
|
|
373
|
+
}
|
|
374
|
+
);
|
|
375
|
+
}();
|
|
376
|
+
function ee(i) {
|
|
377
|
+
return Array.isArray(i) ? i : me(i);
|
|
378
|
+
}
|
|
379
|
+
function ye(i) {
|
|
380
|
+
let e, t, n, s, r;
|
|
381
|
+
if (de.exec(i) && (i = _e(i)), fe.exec(i)) {
|
|
382
|
+
const a = i.length - 1;
|
|
383
|
+
let l;
|
|
384
|
+
a <= 4 ? l = 1 : l = 2;
|
|
385
|
+
const o = a === 4 || a === 8;
|
|
386
|
+
e = parseInt(i.substr(1 + 0 * l, l), 16), t = parseInt(i.substr(1 + 1 * l, l), 16), n = parseInt(i.substr(1 + 2 * l, l), 16), o ? s = parseInt(i.substr(1 + 3 * l, l), 16) : s = 255, l == 1 && (e = (e << 4) + e, t = (t << 4) + t, n = (n << 4) + n, o && (s = (s << 4) + s)), r = [e, t, n, s / 255];
|
|
387
|
+
} else i.startsWith("rgba(") ? (r = i.slice(5, -1).split(",").map(Number), X(r)) : i.startsWith("rgb(") ? (r = i.slice(4, -1).split(",").map(Number), r.push(1), X(r)) : w(!1, 14);
|
|
388
|
+
return r;
|
|
389
|
+
}
|
|
390
|
+
function X(i) {
|
|
391
|
+
return i[0] = v(i[0] + 0.5 | 0, 0, 255), i[1] = v(i[1] + 0.5 | 0, 0, 255), i[2] = v(i[2] + 0.5 | 0, 0, 255), i[3] = v(i[3], 0, 1), i;
|
|
392
|
+
}
|
|
393
|
+
function te(i) {
|
|
394
|
+
let e = i[0];
|
|
395
|
+
e != (e | 0) && (e = e + 0.5 | 0);
|
|
396
|
+
let t = i[1];
|
|
397
|
+
t != (t | 0) && (t = t + 0.5 | 0);
|
|
398
|
+
let n = i[2];
|
|
399
|
+
n != (n | 0) && (n = n + 0.5 | 0);
|
|
400
|
+
const s = i[3] === void 0 ? 1 : Math.round(i[3] * 100) / 100;
|
|
401
|
+
return "rgba(" + e + "," + t + "," + n + "," + s + ")";
|
|
402
|
+
}
|
|
403
|
+
class Se {
|
|
404
|
+
constructor() {
|
|
405
|
+
this.cache_ = {}, this.cacheSize_ = 0, this.maxCacheSize_ = 32;
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* FIXME empty description for jsdoc
|
|
409
|
+
*/
|
|
410
|
+
clear() {
|
|
411
|
+
this.cache_ = {}, this.cacheSize_ = 0;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* @return {boolean} Can expire cache.
|
|
415
|
+
*/
|
|
416
|
+
canExpireCache() {
|
|
417
|
+
return this.cacheSize_ > this.maxCacheSize_;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* FIXME empty description for jsdoc
|
|
421
|
+
*/
|
|
422
|
+
expire() {
|
|
423
|
+
if (this.canExpireCache()) {
|
|
424
|
+
let e = 0;
|
|
425
|
+
for (const t in this.cache_) {
|
|
426
|
+
const n = this.cache_[t];
|
|
427
|
+
!(e++ & 3) && !n.hasListener() && (delete this.cache_[t], --this.cacheSize_);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* @param {string} src Src.
|
|
433
|
+
* @param {?string} crossOrigin Cross origin.
|
|
434
|
+
* @param {import("../color.js").Color} color Color.
|
|
435
|
+
* @return {import("./IconImage.js").default} Icon image.
|
|
436
|
+
*/
|
|
437
|
+
get(e, t, n) {
|
|
438
|
+
const s = U(e, t, n);
|
|
439
|
+
return s in this.cache_ ? this.cache_[s] : null;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* @param {string} src Src.
|
|
443
|
+
* @param {?string} crossOrigin Cross origin.
|
|
444
|
+
* @param {import("../color.js").Color} color Color.
|
|
445
|
+
* @param {import("./IconImage.js").default} iconImage Icon image.
|
|
446
|
+
*/
|
|
447
|
+
set(e, t, n, s) {
|
|
448
|
+
const r = U(e, t, n);
|
|
449
|
+
this.cache_[r] = s, ++this.cacheSize_;
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Set the cache size of the icon cache. Default is `32`. Change this value when
|
|
453
|
+
* your map uses more than 32 different icon images and you are not caching icon
|
|
454
|
+
* styles on the application level.
|
|
455
|
+
* @param {number} maxCacheSize Cache max size.
|
|
456
|
+
* @api
|
|
457
|
+
*/
|
|
458
|
+
setSize(e) {
|
|
459
|
+
this.maxCacheSize_ = e, this.expire();
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
function U(i, e, t) {
|
|
463
|
+
const n = t ? Q(t) : "null";
|
|
464
|
+
return e + ":" + i + ":" + n;
|
|
465
|
+
}
|
|
466
|
+
const Y = new Se();
|
|
467
|
+
function Ie(i, e, t) {
|
|
468
|
+
const n = (
|
|
469
|
+
/** @type {HTMLImageElement} */
|
|
470
|
+
i
|
|
471
|
+
);
|
|
472
|
+
let s = !0, r = !1, a = !1;
|
|
473
|
+
const l = [
|
|
474
|
+
N(n, O.LOAD, function() {
|
|
475
|
+
a = !0, r || e();
|
|
476
|
+
})
|
|
477
|
+
];
|
|
478
|
+
return n.src && ae ? (r = !0, n.decode().then(function() {
|
|
479
|
+
s && e();
|
|
480
|
+
}).catch(function(o) {
|
|
481
|
+
s && (a ? e() : t());
|
|
482
|
+
})) : l.push(N(n, O.ERROR, t)), function() {
|
|
483
|
+
s = !1, l.forEach(le);
|
|
484
|
+
};
|
|
485
|
+
}
|
|
612
486
|
let z = null;
|
|
613
|
-
class
|
|
487
|
+
class De extends he {
|
|
614
488
|
/**
|
|
615
489
|
* @param {HTMLImageElement|HTMLCanvasElement} image Image.
|
|
616
490
|
* @param {string|undefined} src Src.
|
|
@@ -719,7 +593,7 @@ class ze extends oe {
|
|
|
719
593
|
} catch {
|
|
720
594
|
this.handleImageError_();
|
|
721
595
|
}
|
|
722
|
-
this.unlisten_ =
|
|
596
|
+
this.unlisten_ = Ie(
|
|
723
597
|
this.image_,
|
|
724
598
|
this.handleImageLoad_.bind(this),
|
|
725
599
|
this.handleImageError_.bind(this)
|
|
@@ -736,7 +610,7 @@ class ze extends oe {
|
|
|
736
610
|
const t = this.image_, n = document.createElement("canvas");
|
|
737
611
|
n.width = Math.ceil(t.width * e), n.height = Math.ceil(t.height * e);
|
|
738
612
|
const s = n.getContext("2d");
|
|
739
|
-
s.scale(e, e), s.drawImage(t, 0, 0), s.globalCompositeOperation = "multiply", s.fillStyle =
|
|
613
|
+
s.scale(e, e), s.drawImage(t, 0, 0), s.globalCompositeOperation = "multiply", s.fillStyle = Q(this.color_), s.fillRect(0, 0, n.width / e, n.height / e), s.globalCompositeOperation = "destination-in", s.drawImage(t, 0, 0), this.canvas_[e] = n;
|
|
740
614
|
}
|
|
741
615
|
/**
|
|
742
616
|
* Discards event handlers which listen for load completion or errors.
|
|
@@ -747,14 +621,14 @@ class ze extends oe {
|
|
|
747
621
|
this.unlisten_ && (this.unlisten_(), this.unlisten_ = null);
|
|
748
622
|
}
|
|
749
623
|
}
|
|
750
|
-
function
|
|
751
|
-
let a =
|
|
752
|
-
return a || (a = new
|
|
624
|
+
function we(i, e, t, n, s, r) {
|
|
625
|
+
let a = Y.get(e, n, r);
|
|
626
|
+
return a || (a = new De(i, e, t, n, s, r), Y.set(e, n, r, a)), a;
|
|
753
627
|
}
|
|
754
|
-
function
|
|
628
|
+
function G(i, e, t, n) {
|
|
755
629
|
return t !== void 0 && n !== void 0 ? [t / i, n / e] : t !== void 0 ? t / i : n !== void 0 ? n / e : 1;
|
|
756
630
|
}
|
|
757
|
-
class
|
|
631
|
+
class ie extends E {
|
|
758
632
|
/**
|
|
759
633
|
* @param {Options} [options] Options.
|
|
760
634
|
*/
|
|
@@ -773,12 +647,12 @@ class ne extends E {
|
|
|
773
647
|
this.imgSize_ = e.imgSize;
|
|
774
648
|
let l = e.src;
|
|
775
649
|
w(!(l !== void 0 && a), 4), w(!a || a && this.imgSize_, 5), (l === void 0 || l.length === 0) && a && (l = /** @type {HTMLImageElement} */
|
|
776
|
-
a.src ||
|
|
650
|
+
a.src || ce(a)), w(l !== void 0 && l.length > 0, 6), w(
|
|
777
651
|
!((e.width !== void 0 || e.height !== void 0) && e.scale !== void 0),
|
|
778
652
|
69
|
|
779
653
|
);
|
|
780
654
|
const o = e.src !== void 0 ? _.IDLE : _.LOADED;
|
|
781
|
-
if (this.color_ = e.color !== void 0 ?
|
|
655
|
+
if (this.color_ = e.color !== void 0 ? ee(e.color) : null, this.iconImage_ = we(
|
|
782
656
|
a,
|
|
783
657
|
/** @type {string} */
|
|
784
658
|
l,
|
|
@@ -801,7 +675,7 @@ class ne extends E {
|
|
|
801
675
|
return;
|
|
802
676
|
const g = this.iconImage_.getSize();
|
|
803
677
|
this.setScale(
|
|
804
|
-
|
|
678
|
+
G(
|
|
805
679
|
g[0],
|
|
806
680
|
g[1],
|
|
807
681
|
e.width,
|
|
@@ -814,7 +688,7 @@ class ne extends E {
|
|
|
814
688
|
}
|
|
815
689
|
}
|
|
816
690
|
c !== void 0 && this.setScale(
|
|
817
|
-
|
|
691
|
+
G(c, h, e.width, e.height)
|
|
818
692
|
);
|
|
819
693
|
}
|
|
820
694
|
}
|
|
@@ -825,7 +699,7 @@ class ne extends E {
|
|
|
825
699
|
*/
|
|
826
700
|
clone() {
|
|
827
701
|
let e, t, n;
|
|
828
|
-
return this.initialOptions_ ? (t = this.initialOptions_.width, n = this.initialOptions_.height) : (e = this.getScale(), e = Array.isArray(e) ? e.slice() : e), new
|
|
702
|
+
return this.initialOptions_ ? (t = this.initialOptions_.width, n = this.initialOptions_.height) : (e = this.getScale(), e = Array.isArray(e) ? e.slice() : e), new ie({
|
|
829
703
|
anchor: this.anchor_.slice(),
|
|
830
704
|
anchorOrigin: this.anchorOrigin_,
|
|
831
705
|
anchorXUnits: this.anchorXUnits_,
|
|
@@ -1163,8 +1037,135 @@ class A {
|
|
|
1163
1037
|
this.width_ = e;
|
|
1164
1038
|
}
|
|
1165
1039
|
}
|
|
1166
|
-
function
|
|
1167
|
-
return Array.isArray(i) ?
|
|
1040
|
+
function p(i) {
|
|
1041
|
+
return Array.isArray(i) ? te(i) : i;
|
|
1042
|
+
}
|
|
1043
|
+
const Ne = "10px sans-serif", q = "#000", Je = "round", Xe = [], Ue = 0, Z = "round", Ae = 10, Ce = "#000", Ye = "center", Ge = "middle", pe = [0, 0, 0, 0], ke = 1, y = new oe();
|
|
1044
|
+
let D = null, T;
|
|
1045
|
+
const P = {}, qe = function() {
|
|
1046
|
+
const e = "32px ", t = ["monospace", "serif"], n = t.length, s = "wmytzilWMYTZIL@#/&?$%10";
|
|
1047
|
+
let r, a;
|
|
1048
|
+
function l(c, h, u) {
|
|
1049
|
+
let f = !0;
|
|
1050
|
+
for (let g = 0; g < n; ++g) {
|
|
1051
|
+
const d = t[g];
|
|
1052
|
+
if (a = M(
|
|
1053
|
+
c + " " + h + " " + e + d,
|
|
1054
|
+
s
|
|
1055
|
+
), u != d) {
|
|
1056
|
+
const I = M(
|
|
1057
|
+
c + " " + h + " " + e + u + "," + d,
|
|
1058
|
+
s
|
|
1059
|
+
);
|
|
1060
|
+
f = f && I != a;
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
return !!f;
|
|
1064
|
+
}
|
|
1065
|
+
function o() {
|
|
1066
|
+
let c = !0;
|
|
1067
|
+
const h = y.getKeys();
|
|
1068
|
+
for (let u = 0, f = h.length; u < f; ++u) {
|
|
1069
|
+
const g = h[u];
|
|
1070
|
+
y.get(g) < 100 && (l.apply(this, g.split(`
|
|
1071
|
+
`)) ? (ue(P), D = null, T = void 0, y.set(g, 100)) : (y.set(g, y.get(g) + 1, !0), c = !1));
|
|
1072
|
+
}
|
|
1073
|
+
c && (clearInterval(r), r = void 0);
|
|
1074
|
+
}
|
|
1075
|
+
return function(c) {
|
|
1076
|
+
const h = $(c);
|
|
1077
|
+
if (!h)
|
|
1078
|
+
return;
|
|
1079
|
+
const u = h.families;
|
|
1080
|
+
for (let f = 0, g = u.length; f < g; ++f) {
|
|
1081
|
+
const d = u[f], I = h.style + `
|
|
1082
|
+
` + h.weight + `
|
|
1083
|
+
` + d;
|
|
1084
|
+
y.get(I) === void 0 && (y.set(I, 100, !0), l(h.style, h.weight, d) || (y.set(I, 0, !0), r === void 0 && (r = setInterval(o, 32))));
|
|
1085
|
+
}
|
|
1086
|
+
};
|
|
1087
|
+
}(), ze = /* @__PURE__ */ function() {
|
|
1088
|
+
let i;
|
|
1089
|
+
return function(e) {
|
|
1090
|
+
let t = P[e];
|
|
1091
|
+
if (t == null) {
|
|
1092
|
+
if (j) {
|
|
1093
|
+
const n = $(e), s = ne(e, "Žg");
|
|
1094
|
+
t = (isNaN(Number(n.lineHeight)) ? 1.2 : Number(n.lineHeight)) * (s.actualBoundingBoxAscent + s.actualBoundingBoxDescent);
|
|
1095
|
+
} else
|
|
1096
|
+
i || (i = document.createElement("div"), i.innerHTML = "M", i.style.minHeight = "0", i.style.maxHeight = "none", i.style.height = "auto", i.style.padding = "0", i.style.border = "none", i.style.position = "absolute", i.style.display = "block", i.style.left = "-99999px"), i.style.font = e, document.body.appendChild(i), t = i.offsetHeight, document.body.removeChild(i);
|
|
1097
|
+
P[e] = t;
|
|
1098
|
+
}
|
|
1099
|
+
return t;
|
|
1100
|
+
};
|
|
1101
|
+
}();
|
|
1102
|
+
function ne(i, e) {
|
|
1103
|
+
return D || (D = L(1, 1)), i != T && (D.font = i, T = D.font), D.measureText(e);
|
|
1104
|
+
}
|
|
1105
|
+
function M(i, e) {
|
|
1106
|
+
return ne(i, e).width;
|
|
1107
|
+
}
|
|
1108
|
+
function Ze(i, e, t) {
|
|
1109
|
+
if (e in t)
|
|
1110
|
+
return t[e];
|
|
1111
|
+
const n = e.split(`
|
|
1112
|
+
`).reduce((s, r) => Math.max(s, M(i, r)), 0);
|
|
1113
|
+
return t[e] = n, n;
|
|
1114
|
+
}
|
|
1115
|
+
function Ke(i, e) {
|
|
1116
|
+
const t = [], n = [], s = [];
|
|
1117
|
+
let r = 0, a = 0, l = 0, o = 0;
|
|
1118
|
+
for (let c = 0, h = e.length; c <= h; c += 2) {
|
|
1119
|
+
const u = e[c];
|
|
1120
|
+
if (u === `
|
|
1121
|
+
` || c === h) {
|
|
1122
|
+
r = Math.max(r, a), s.push(a), a = 0, l += o;
|
|
1123
|
+
continue;
|
|
1124
|
+
}
|
|
1125
|
+
const f = e[c + 1] || i.font, g = M(f, u);
|
|
1126
|
+
t.push(g), a += g;
|
|
1127
|
+
const d = ze(f);
|
|
1128
|
+
n.push(d), o = Math.max(o, d);
|
|
1129
|
+
}
|
|
1130
|
+
return { width: r, height: l, widths: t, heights: n, lineWidths: s };
|
|
1131
|
+
}
|
|
1132
|
+
function je(i, e, t, n, s, r, a, l, o, c, h) {
|
|
1133
|
+
i.save(), t !== 1 && (i.globalAlpha *= t), e && i.setTransform.apply(i, e), /** @type {*} */
|
|
1134
|
+
n.contextInstructions ? (i.translate(o, c), i.scale(h[0], h[1]), Oe(
|
|
1135
|
+
/** @type {Label} */
|
|
1136
|
+
n,
|
|
1137
|
+
i
|
|
1138
|
+
)) : h[0] < 0 || h[1] < 0 ? (i.translate(o, c), i.scale(h[0], h[1]), i.drawImage(
|
|
1139
|
+
/** @type {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} */
|
|
1140
|
+
n,
|
|
1141
|
+
s,
|
|
1142
|
+
r,
|
|
1143
|
+
a,
|
|
1144
|
+
l,
|
|
1145
|
+
0,
|
|
1146
|
+
0,
|
|
1147
|
+
a,
|
|
1148
|
+
l
|
|
1149
|
+
)) : i.drawImage(
|
|
1150
|
+
/** @type {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} */
|
|
1151
|
+
n,
|
|
1152
|
+
s,
|
|
1153
|
+
r,
|
|
1154
|
+
a,
|
|
1155
|
+
l,
|
|
1156
|
+
o,
|
|
1157
|
+
c,
|
|
1158
|
+
a * h[0],
|
|
1159
|
+
l * h[1]
|
|
1160
|
+
), i.restore();
|
|
1161
|
+
}
|
|
1162
|
+
function Oe(i, e) {
|
|
1163
|
+
const t = i.contextInstructions;
|
|
1164
|
+
for (let n = 0, s = t.length; n < s; n += 2)
|
|
1165
|
+
Array.isArray(t[n + 1]) ? e[t[n]].apply(
|
|
1166
|
+
e,
|
|
1167
|
+
t[n + 1]
|
|
1168
|
+
) : e[t[n]] = t[n + 1];
|
|
1168
1169
|
}
|
|
1169
1170
|
class V extends E {
|
|
1170
1171
|
/**
|
|
@@ -1390,8 +1391,8 @@ class V extends E {
|
|
|
1390
1391
|
* @protected
|
|
1391
1392
|
*/
|
|
1392
1393
|
createRenderOptions() {
|
|
1393
|
-
let e =
|
|
1394
|
-
this.stroke_ && (r = this.stroke_.getColor(), r === null && (r =
|
|
1394
|
+
let e = Z, t = 0, n = null, s = 0, r, a = 0;
|
|
1395
|
+
this.stroke_ && (r = this.stroke_.getColor(), r === null && (r = Ce), r = p(r), a = this.stroke_.getWidth(), a === void 0 && (a = ke), n = this.stroke_.getLineDash(), s = this.stroke_.getLineDashOffset(), e = this.stroke_.getLineJoin(), e === void 0 && (e = Z), t = this.stroke_.getMiterLimit(), t === void 0 && (t = Ae));
|
|
1395
1396
|
const l = this.calculateLineJoinSize_(e, a, t), o = Math.max(this.radius_, this.radius2_ || 0), c = Math.ceil(2 * o + l);
|
|
1396
1397
|
return {
|
|
1397
1398
|
strokeStyle: r,
|
|
@@ -1420,7 +1421,7 @@ class V extends E {
|
|
|
1420
1421
|
draw_(e, t, n) {
|
|
1421
1422
|
if (t.scale(n, n), t.translate(e.size / 2, e.size / 2), this.createPath_(t), this.fill_) {
|
|
1422
1423
|
let s = this.fill_.getColor();
|
|
1423
|
-
s === null && (s =
|
|
1424
|
+
s === null && (s = q), t.fillStyle = p(s), t.fill();
|
|
1424
1425
|
}
|
|
1425
1426
|
this.stroke_ && (t.strokeStyle = e.strokeStyle, t.lineWidth = e.strokeWidth, e.lineDash && (t.setLineDash(e.lineDash), t.lineDashOffset = e.lineDashOffset), t.lineJoin = e.lineJoin, t.miterLimit = e.miterLimit, t.stroke());
|
|
1426
1427
|
}
|
|
@@ -1431,7 +1432,7 @@ class V extends E {
|
|
|
1431
1432
|
createHitDetectionCanvas_(e) {
|
|
1432
1433
|
if (this.fill_) {
|
|
1433
1434
|
let t = this.fill_.getColor(), n = 0;
|
|
1434
|
-
if (typeof t == "string" && (t =
|
|
1435
|
+
if (typeof t == "string" && (t = ee(t)), t === null ? n = 1 : Array.isArray(t) && (n = t.length === 4 ? t[3] : 1), n === 0) {
|
|
1435
1436
|
const s = L(
|
|
1436
1437
|
e.size,
|
|
1437
1438
|
e.size
|
|
@@ -1467,7 +1468,7 @@ class V extends E {
|
|
|
1467
1468
|
* @param {CanvasRenderingContext2D} context The context.
|
|
1468
1469
|
*/
|
|
1469
1470
|
drawHitDetectionCanvas_(e, t) {
|
|
1470
|
-
t.translate(e.size / 2, e.size / 2), this.createPath_(t), t.fillStyle =
|
|
1471
|
+
t.translate(e.size / 2, e.size / 2), this.createPath_(t), t.fillStyle = q, t.fill(), this.stroke_ && (t.strokeStyle = e.strokeStyle, t.lineWidth = e.strokeWidth, e.lineDash && (t.setLineDash(e.lineDash), t.lineDashOffset = e.lineDashOffset), t.lineJoin = e.lineJoin, t.miterLimit = e.miterLimit, t.stroke());
|
|
1471
1472
|
}
|
|
1472
1473
|
}
|
|
1473
1474
|
class R extends V {
|
|
@@ -1698,7 +1699,7 @@ class S {
|
|
|
1698
1699
|
this.zIndex_ = e;
|
|
1699
1700
|
}
|
|
1700
1701
|
}
|
|
1701
|
-
function
|
|
1702
|
+
function $e(i) {
|
|
1702
1703
|
let e;
|
|
1703
1704
|
if (typeof i == "function")
|
|
1704
1705
|
e = i;
|
|
@@ -1786,7 +1787,7 @@ class se {
|
|
|
1786
1787
|
* @param {Options} [options] Options.
|
|
1787
1788
|
*/
|
|
1788
1789
|
constructor(e) {
|
|
1789
|
-
e = e || {}, this.font_ = e.font, this.rotation_ = e.rotation, this.rotateWithView_ = e.rotateWithView, this.scale_ = e.scale, this.scaleArray_ =
|
|
1790
|
+
e = e || {}, this.font_ = e.font, this.rotation_ = e.rotation, this.rotateWithView_ = e.rotateWithView, this.scale_ = e.scale, this.scaleArray_ = x(e.scale !== void 0 ? e.scale : 1), this.text_ = e.text, this.textAlign_ = e.textAlign, this.justify_ = e.justify, this.repeat_ = e.repeat, this.textBaseline_ = e.textBaseline, this.fill_ = e.fill !== void 0 ? e.fill : new C({ color: Le }), this.maxAngle_ = e.maxAngle !== void 0 ? e.maxAngle : Math.PI / 4, this.placement_ = e.placement !== void 0 ? e.placement : "point", this.overflow_ = !!e.overflow, this.stroke_ = e.stroke !== void 0 ? e.stroke : null, this.offsetX_ = e.offsetX !== void 0 ? e.offsetX : 0, this.offsetY_ = e.offsetY !== void 0 ? e.offsetY : 0, this.backgroundFill_ = e.backgroundFill ? e.backgroundFill : null, this.backgroundStroke_ = e.backgroundStroke ? e.backgroundStroke : null, this.padding_ = e.padding === void 0 ? null : e.padding;
|
|
1790
1791
|
}
|
|
1791
1792
|
/**
|
|
1792
1793
|
* Clones the style.
|
|
@@ -2072,7 +2073,7 @@ class se {
|
|
|
2072
2073
|
* @api
|
|
2073
2074
|
*/
|
|
2074
2075
|
setScale(e) {
|
|
2075
|
-
this.scale_ = e, this.scaleArray_ =
|
|
2076
|
+
this.scale_ = e, this.scaleArray_ = x(e !== void 0 ? e : 1);
|
|
2076
2077
|
}
|
|
2077
2078
|
/**
|
|
2078
2079
|
* Set the stroke.
|
|
@@ -2148,49 +2149,49 @@ class se {
|
|
|
2148
2149
|
}
|
|
2149
2150
|
}
|
|
2150
2151
|
export {
|
|
2151
|
-
|
|
2152
|
-
|
|
2152
|
+
Me as A,
|
|
2153
|
+
Re as B,
|
|
2153
2154
|
R as C,
|
|
2154
|
-
|
|
2155
|
-
|
|
2155
|
+
Te as D,
|
|
2156
|
+
Pe as E,
|
|
2156
2157
|
C as F,
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2158
|
+
Ve as G,
|
|
2159
|
+
be as H,
|
|
2160
|
+
ie as I,
|
|
2161
|
+
Ee as J,
|
|
2162
|
+
We as K,
|
|
2163
|
+
Ie as L,
|
|
2164
|
+
Y as M,
|
|
2165
|
+
y as N,
|
|
2166
|
+
Fe as O,
|
|
2167
|
+
He as P,
|
|
2167
2168
|
V as R,
|
|
2168
2169
|
S,
|
|
2169
2170
|
se as T,
|
|
2170
2171
|
A as a,
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2172
|
+
_ as b,
|
|
2173
|
+
Qe as c,
|
|
2174
|
+
L as d,
|
|
2175
|
+
et as e,
|
|
2176
|
+
x as f,
|
|
2177
|
+
ee as g,
|
|
2178
|
+
p as h,
|
|
2179
|
+
q as i,
|
|
2180
|
+
Ce as j,
|
|
2181
|
+
Je as k,
|
|
2182
|
+
Xe as l,
|
|
2183
|
+
Ue as m,
|
|
2184
|
+
Z as n,
|
|
2185
|
+
ke as o,
|
|
2186
|
+
Ae as p,
|
|
2187
|
+
pe as q,
|
|
2188
|
+
Ye as r,
|
|
2189
|
+
Be as s,
|
|
2190
|
+
$e as t,
|
|
2191
|
+
Ge as u,
|
|
2192
|
+
Ne as v,
|
|
2193
|
+
qe as w,
|
|
2194
|
+
Ke as x,
|
|
2195
|
+
je as y,
|
|
2196
|
+
Ze as z
|
|
2196
2197
|
};
|