@margoengine/points 0.0.0-stage → 1.0.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/LICENSE +201 -0
- package/NOTICE +4 -0
- package/README.md +876 -2
- package/dist/attributes-DNc-1pdr.js +256 -0
- package/dist/attributes.d.ts +48 -0
- package/dist/clip.d.ts +55 -0
- package/dist/clip.js +122 -0
- package/dist/cloud-B4O_G-Df.js +545 -0
- package/dist/cloud.d.ts +155 -0
- package/dist/color.d.ts +1 -0
- package/dist/copc-write.d.ts +95 -0
- package/dist/copc-write.js +318 -0
- package/dist/copc.d.ts +55 -0
- package/dist/copc.js +127 -0
- package/dist/depth-video.d.ts +98 -0
- package/dist/depth-video.js +164 -0
- package/dist/e57.d.ts +163 -0
- package/dist/e57.js +624 -0
- package/dist/frame.d.ts +14 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1246 -0
- package/dist/las.d.ts +213 -0
- package/dist/las.js +500 -0
- package/dist/laz-encode-CHXgHra_.js +446 -0
- package/dist/laz-encode.d.ts +14 -0
- package/dist/laz-model-DCphHLqH.js +385 -0
- package/dist/laz-model.d.ts +47 -0
- package/dist/laz-write.d.ts +46 -0
- package/dist/laz-write.js +75 -0
- package/dist/laz.d.ts +50 -0
- package/dist/laz.js +645 -0
- package/dist/material.d.ts +167 -0
- package/dist/math.d.ts +103 -0
- package/dist/octree.d.ts +182 -0
- package/dist/octree.js +360 -0
- package/dist/pick.d.ts +76 -0
- package/dist/pick.js +192 -0
- package/dist/plugin.d.ts +235 -0
- package/dist/potree-las-RC8sjbYU.js +1 -0
- package/dist/potree-las.d.ts +1 -0
- package/dist/potree.d.ts +70 -0
- package/dist/potree.js +451 -0
- package/dist/range-BQuJAjUM.js +23 -0
- package/dist/range.d.ts +4 -0
- package/dist/screen-door-CALlYs39.js +7 -0
- package/dist/shaders-DCnbvb0-.js +282 -0
- package/dist/shaders.d.ts +52 -0
- package/dist/shared/fog.d.ts +33 -0
- package/dist/shared/pass.d.ts +53 -0
- package/dist/shared/selection-mask.d.ts +52 -0
- package/dist/shared/style-expression.d.ts +18 -0
- package/dist/sprites.d.ts +78 -0
- package/dist/storage-limit.d.ts +6 -0
- package/dist/style.d.ts +124 -0
- package/dist/style.js +709 -0
- package/dist/surfels.d.ts +95 -0
- package/dist/surfels.js +538 -0
- package/dist/survey-DToZwkJv.js +46 -0
- package/dist/survey.d.ts +10 -0
- package/dist/tier-BcFbLPVT.js +91 -0
- package/dist/tier.d.ts +6 -0
- package/package.json +102 -4
package/dist/style.js
ADDED
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
import { n as e } from "./survey-DToZwkJv.js";
|
|
2
|
+
import { MargoError as t } from "@margoengine/math/errors";
|
|
3
|
+
import { SRGBToLinear as n } from "@margoengine/math/color";
|
|
4
|
+
//#region ../shared/style-expression.js
|
|
5
|
+
var r = class extends Array {}, i = (e) => {
|
|
6
|
+
throw new t("state", `Style: ${e}; use an OGC 3D Tiles style expression`);
|
|
7
|
+
}, a = (e) => r.from(e), o = (e) => typeof e == "number" ? e : i("expected a number"), s = (e) => typeof e == "boolean" ? e : i("expected a boolean"), c = (e) => e instanceof r ? `(${e.join(", ")})` : Array.isArray(e) ? `[${e.map(c).join(", ")}]` : String(e);
|
|
8
|
+
function l(e, t) {
|
|
9
|
+
let n = t.find((e) => e instanceof r);
|
|
10
|
+
return n ? (t.some((e) => e instanceof r && e.length !== n.length) && i("vector dimensions differ"), r.from(n, (n, i) => e(...t.map((e) => o(e instanceof r ? e[i] : e))))) : e(...t.map(o));
|
|
11
|
+
}
|
|
12
|
+
function u(e, t) {
|
|
13
|
+
if (e instanceof r && typeof t == "string" && "xyzwrgba".includes(t) && t.length === 1) return e["xyzw".includes(t) ? "xyzw".indexOf(t) : "rgba".indexOf(t)];
|
|
14
|
+
if (typeof e == "object" && e && Object.hasOwn(e, String(t))) return e[String(t)];
|
|
15
|
+
}
|
|
16
|
+
function d(e, t) {
|
|
17
|
+
/^(?:[^.\[\]\s]+)(?:(?:\.[^.\[\]\s]+)|(?:\[(?:'[^']*'|"[^"]*"|\d+)\]))*$/.test(e) || i("invalid property path");
|
|
18
|
+
let n = e.match(/(?:[^.\[\]\s]+)|(?:\[(?:'[^']*'|"[^"]*"|\d+)\])/g).map((e) => e.startsWith("[") ? e.slice(1, -1).replace(/^['"]|['"]$/g, "") : e);
|
|
19
|
+
n.length > 1 && n[0] === "feature" && n.shift();
|
|
20
|
+
let a = n.shift(), o = t(a);
|
|
21
|
+
[
|
|
22
|
+
"POSITION",
|
|
23
|
+
"POSITION_ABSOLUTE",
|
|
24
|
+
"NORMAL",
|
|
25
|
+
"COLOR"
|
|
26
|
+
].includes(a) && Array.isArray(o) && (o = r.from(o));
|
|
27
|
+
for (let e of n) o = u(o, e);
|
|
28
|
+
return o;
|
|
29
|
+
}
|
|
30
|
+
var f = {
|
|
31
|
+
abs: Math.abs,
|
|
32
|
+
sqrt: Math.sqrt,
|
|
33
|
+
cos: Math.cos,
|
|
34
|
+
sin: Math.sin,
|
|
35
|
+
tan: Math.tan,
|
|
36
|
+
acos: Math.acos,
|
|
37
|
+
asin: Math.asin,
|
|
38
|
+
atan: Math.atan,
|
|
39
|
+
atan2: Math.atan2,
|
|
40
|
+
radians: (e) => e * Math.PI / 180,
|
|
41
|
+
degrees: (e) => e * 180 / Math.PI,
|
|
42
|
+
sign: Math.sign,
|
|
43
|
+
floor: Math.floor,
|
|
44
|
+
ceil: Math.ceil,
|
|
45
|
+
round: Math.round,
|
|
46
|
+
exp: Math.exp,
|
|
47
|
+
log: Math.log,
|
|
48
|
+
exp2: (e) => 2 ** e,
|
|
49
|
+
log2: Math.log2,
|
|
50
|
+
fract: (e) => e - Math.floor(e),
|
|
51
|
+
pow: Math.pow,
|
|
52
|
+
min: Math.min,
|
|
53
|
+
max: Math.max,
|
|
54
|
+
clamp: (e, t, n) => Math.max(t, Math.min(n, e)),
|
|
55
|
+
mix: (e, t, n) => e * (1 - n) + t * n
|
|
56
|
+
}, p = {
|
|
57
|
+
black: "000000",
|
|
58
|
+
silver: "c0c0c0",
|
|
59
|
+
gray: "808080",
|
|
60
|
+
white: "ffffff",
|
|
61
|
+
maroon: "800000",
|
|
62
|
+
red: "ff0000",
|
|
63
|
+
purple: "800080",
|
|
64
|
+
fuchsia: "ff00ff",
|
|
65
|
+
green: "008000",
|
|
66
|
+
lime: "00ff00",
|
|
67
|
+
olive: "808000",
|
|
68
|
+
yellow: "ffff00",
|
|
69
|
+
navy: "000080",
|
|
70
|
+
blue: "0000ff",
|
|
71
|
+
teal: "008080",
|
|
72
|
+
aqua: "00ffff",
|
|
73
|
+
orange: "ffa500",
|
|
74
|
+
aliceblue: "f0f8ff",
|
|
75
|
+
antiquewhite: "faebd7",
|
|
76
|
+
aquamarine: "7fffd4",
|
|
77
|
+
azure: "f0ffff",
|
|
78
|
+
beige: "f5f5dc",
|
|
79
|
+
bisque: "ffe4c4",
|
|
80
|
+
blanchedalmond: "ffebcd",
|
|
81
|
+
blueviolet: "8a2be2",
|
|
82
|
+
brown: "a52a2a",
|
|
83
|
+
burlywood: "deb887",
|
|
84
|
+
cadetblue: "5f9ea0",
|
|
85
|
+
chartreuse: "7fff00",
|
|
86
|
+
chocolate: "d2691e",
|
|
87
|
+
coral: "ff7f50",
|
|
88
|
+
cornflowerblue: "6495ed",
|
|
89
|
+
cornsilk: "fff8dc",
|
|
90
|
+
crimson: "dc143c",
|
|
91
|
+
cyan: "00ffff",
|
|
92
|
+
darkblue: "00008b",
|
|
93
|
+
darkcyan: "008b8b",
|
|
94
|
+
darkgoldenrod: "b8860b",
|
|
95
|
+
darkgray: "a9a9a9",
|
|
96
|
+
darkgreen: "006400",
|
|
97
|
+
darkkhaki: "bdb76b",
|
|
98
|
+
darkmagenta: "8b008b",
|
|
99
|
+
darkolivegreen: "556b2f",
|
|
100
|
+
darkorange: "ff8c00",
|
|
101
|
+
darkorchid: "9932cc",
|
|
102
|
+
darkred: "8b0000",
|
|
103
|
+
darksalmon: "e9967a",
|
|
104
|
+
darkseagreen: "8fbc8f",
|
|
105
|
+
darkslateblue: "483d8b",
|
|
106
|
+
darkslategray: "2f4f4f",
|
|
107
|
+
darkturquoise: "00ced1",
|
|
108
|
+
darkviolet: "9400d3",
|
|
109
|
+
deeppink: "ff1493",
|
|
110
|
+
deepskyblue: "00bfff",
|
|
111
|
+
dimgray: "696969",
|
|
112
|
+
dodgerblue: "1e90ff",
|
|
113
|
+
firebrick: "b22222",
|
|
114
|
+
floralwhite: "fffaf0",
|
|
115
|
+
forestgreen: "228b22",
|
|
116
|
+
gainsboro: "dcdcdc",
|
|
117
|
+
ghostwhite: "f8f8ff",
|
|
118
|
+
gold: "ffd700",
|
|
119
|
+
goldenrod: "daa520",
|
|
120
|
+
greenyellow: "adff2f",
|
|
121
|
+
honeydew: "f0fff0",
|
|
122
|
+
hotpink: "ff69b4",
|
|
123
|
+
indianred: "cd5c5c",
|
|
124
|
+
indigo: "4b0082",
|
|
125
|
+
ivory: "fffff0",
|
|
126
|
+
khaki: "f0e68c",
|
|
127
|
+
lavender: "e6e6fa",
|
|
128
|
+
lavenderblush: "fff0f5",
|
|
129
|
+
lawngreen: "7cfc00",
|
|
130
|
+
lemonchiffon: "fffacd",
|
|
131
|
+
lightblue: "add8e6",
|
|
132
|
+
lightcoral: "f08080",
|
|
133
|
+
lightcyan: "e0ffff",
|
|
134
|
+
lightgoldenrodyellow: "fafad2",
|
|
135
|
+
lightgray: "d3d3d3",
|
|
136
|
+
lightgreen: "90ee90",
|
|
137
|
+
lightpink: "ffb6c1",
|
|
138
|
+
lightsalmon: "ffa07a",
|
|
139
|
+
lightseagreen: "20b2aa",
|
|
140
|
+
lightskyblue: "87cefa",
|
|
141
|
+
lightslategray: "778899",
|
|
142
|
+
lightsteelblue: "b0c4de",
|
|
143
|
+
lightyellow: "ffffe0",
|
|
144
|
+
limegreen: "32cd32",
|
|
145
|
+
linen: "faf0e6",
|
|
146
|
+
magenta: "ff00ff",
|
|
147
|
+
mediumaquamarine: "66cdaa",
|
|
148
|
+
mediumblue: "0000cd",
|
|
149
|
+
mediumorchid: "ba55d3",
|
|
150
|
+
mediumpurple: "9370db",
|
|
151
|
+
mediumseagreen: "3cb371",
|
|
152
|
+
mediumslateblue: "7b68ee",
|
|
153
|
+
mediumspringgreen: "00fa9a",
|
|
154
|
+
mediumturquoise: "48d1cc",
|
|
155
|
+
mediumvioletred: "c71585",
|
|
156
|
+
midnightblue: "191970",
|
|
157
|
+
mintcream: "f5fffa",
|
|
158
|
+
mistyrose: "ffe4e1",
|
|
159
|
+
moccasin: "ffe4b5",
|
|
160
|
+
navajowhite: "ffdead",
|
|
161
|
+
oldlace: "fdf5e6",
|
|
162
|
+
olivedrab: "6b8e23",
|
|
163
|
+
orangered: "ff4500",
|
|
164
|
+
orchid: "da70d6",
|
|
165
|
+
palegoldenrod: "eee8aa",
|
|
166
|
+
palegreen: "98fb98",
|
|
167
|
+
paleturquoise: "afeeee",
|
|
168
|
+
palevioletred: "db7093",
|
|
169
|
+
papayawhip: "ffefd5",
|
|
170
|
+
peachpuff: "ffdab9",
|
|
171
|
+
peru: "cd853f",
|
|
172
|
+
pink: "ffc0cb",
|
|
173
|
+
plum: "dda0dd",
|
|
174
|
+
powderblue: "b0e0e6",
|
|
175
|
+
rosybrown: "bc8f8f",
|
|
176
|
+
royalblue: "4169e1",
|
|
177
|
+
saddlebrown: "8b4513",
|
|
178
|
+
salmon: "fa8072",
|
|
179
|
+
sandybrown: "f4a460",
|
|
180
|
+
seagreen: "2e8b57",
|
|
181
|
+
seashell: "fff5ee",
|
|
182
|
+
sienna: "a0522d",
|
|
183
|
+
skyblue: "87ceeb",
|
|
184
|
+
slateblue: "6a5acd",
|
|
185
|
+
slategray: "708090",
|
|
186
|
+
snow: "fffafa",
|
|
187
|
+
springgreen: "00ff7f",
|
|
188
|
+
steelblue: "4682b4",
|
|
189
|
+
tan: "d2b48c",
|
|
190
|
+
thistle: "d8bfd8",
|
|
191
|
+
tomato: "ff6347",
|
|
192
|
+
turquoise: "40e0d0",
|
|
193
|
+
violet: "ee82ee",
|
|
194
|
+
wheat: "f5deb3",
|
|
195
|
+
whitesmoke: "f5f5f5",
|
|
196
|
+
yellowgreen: "9acd32",
|
|
197
|
+
rebeccapurple: "663399"
|
|
198
|
+
};
|
|
199
|
+
function m(e) {
|
|
200
|
+
let t = String(e[0] ?? "#fff").toLowerCase().replaceAll("grey", "gray"), n = p[t] ?? t.replace(/^#/, "");
|
|
201
|
+
return t === "transparent" ? new r(0, 0, 0, 0) : (n.length === 3 && (n = [...n].map((e) => e + e).join("")), /^[\da-f]{6}$/i.test(n) ? new r(...[
|
|
202
|
+
0,
|
|
203
|
+
2,
|
|
204
|
+
4
|
|
205
|
+
].map((e) => parseInt(n.slice(e, e + 2), 16) / 255), e[1] === void 0 ? 1 : o(e[1])) : i("invalid CSS colour"));
|
|
206
|
+
}
|
|
207
|
+
function h(e, t) {
|
|
208
|
+
if (Object.hasOwn(f, e)) return l(f[e], t);
|
|
209
|
+
if (/^vec[234]$/.test(e)) {
|
|
210
|
+
let n = Number(e[3]), a = t.flatMap((e) => e instanceof r ? [...e] : [o(e)]);
|
|
211
|
+
return a.length === 1 ? r.from({ length: n }, () => a[0]) : a.length < n ? i("vector constructor needs more components") : r.from(a.slice(0, n));
|
|
212
|
+
}
|
|
213
|
+
if (e === "color") return m(t);
|
|
214
|
+
if (e === "rgb" || e === "rgba") return new r(o(t[0]) / 255, o(t[1]) / 255, o(t[2]) / 255, t[3] === void 0 ? 1 : o(t[3]));
|
|
215
|
+
if (e === "hsl" || e === "hsla") {
|
|
216
|
+
let e = o(t[0]), n = o(t[1]), i = o(t[2]), a = (t) => {
|
|
217
|
+
let r = ((t + e * 12) % 12 + 12) % 12;
|
|
218
|
+
return i - n * Math.min(i, 1 - i) * Math.max(-1, Math.min(r - 3, 9 - r, 1));
|
|
219
|
+
};
|
|
220
|
+
return new r(a(0), a(8), a(4), t[3] === void 0 ? 1 : o(t[3]));
|
|
221
|
+
}
|
|
222
|
+
if (e === "Boolean") return !!t[0];
|
|
223
|
+
if (e === "Number") return Number(t[0]);
|
|
224
|
+
if (e === "String") return c(t[0]);
|
|
225
|
+
if (e === "isNaN") return Number.isNaN(o(t[0]));
|
|
226
|
+
if (e === "isFinite") return Number.isFinite(o(t[0]));
|
|
227
|
+
if (e === "regExp") return new RegExp(String(t[0] ?? "(?:)"), t[1] === void 0 ? void 0 : String(t[1]));
|
|
228
|
+
let n = t[0], a = t[1];
|
|
229
|
+
return e === "length" ? n instanceof r ? Math.hypot(...n) : Math.abs(o(n)) : e === "distance" ? h("length", [l((e, t) => e - t, t)]) : e === "normalize" ? l((e, t) => e / t, [n, h("length", [n])]) : e === "dot" || e === "cross" ? !(n instanceof r) || !(a instanceof r) || n.length !== a.length ? i("expected matching vectors") : e === "dot" ? n.reduce((e, t, n) => e + t * a[n], 0) : n.length === 3 ? new r(n[1] * a[2] - n[2] * a[1], n[2] * a[0] - n[0] * a[2], n[0] * a[1] - n[1] * a[0]) : i("cross needs vec3 arguments") : i(`unknown function ${e}`);
|
|
230
|
+
}
|
|
231
|
+
function g(e, t, n) {
|
|
232
|
+
if (e === "===" || e === "!==") {
|
|
233
|
+
let i = t instanceof r && n instanceof r ? t.length === n.length && t.every((e, t) => e === n[t]) : t === n;
|
|
234
|
+
return e === "===" ? i : !i;
|
|
235
|
+
}
|
|
236
|
+
if (e === "=~" || e === "!~") {
|
|
237
|
+
let r = t instanceof RegExp ? t : n instanceof RegExp ? n : i("match needs a regular expression");
|
|
238
|
+
r.lastIndex = 0;
|
|
239
|
+
let a = r.test(c(t instanceof RegExp ? n : t));
|
|
240
|
+
return e === "=~" ? a : !a;
|
|
241
|
+
}
|
|
242
|
+
if (e === "+" && (typeof t == "string" || typeof n == "string")) return c(t) + c(n);
|
|
243
|
+
let a = {
|
|
244
|
+
"+": (e, t) => e + t,
|
|
245
|
+
"-": (e, t) => e - t,
|
|
246
|
+
"*": (e, t) => e * t,
|
|
247
|
+
"/": (e, t) => e / t,
|
|
248
|
+
"%": (e, t) => e % t
|
|
249
|
+
};
|
|
250
|
+
if (Object.hasOwn(a, e)) return l(a[e], [t, n]);
|
|
251
|
+
let s = o(t), u = o(n);
|
|
252
|
+
return e === "<" ? s < u : e === ">" ? s > u : e === "<=" ? s <= u : s >= u;
|
|
253
|
+
}
|
|
254
|
+
function _(e) {
|
|
255
|
+
if (e.length > 65536) return i("expression exceeds 65536 characters");
|
|
256
|
+
let t = e.match(/\$\{[^}]*\}|'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|`(?:\\.|[^`\\])*`|(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?|[\p{L}_$][\p{L}\p{N}_$]*|===|!==|<=|>=|&&|\|\||=~|!~|[^\s]/giu) ?? [];
|
|
257
|
+
if (t.length > 4096) return i("expression exceeds 4096 tokens");
|
|
258
|
+
let n = 0, r = 0, a = (e) => t[n] === e && ++n > 0, o = (e) => {
|
|
259
|
+
a(e) || i(`expected ${e} at token ${n}`);
|
|
260
|
+
}, f = (e) => {
|
|
261
|
+
let t = [];
|
|
262
|
+
if (!a(e)) {
|
|
263
|
+
do
|
|
264
|
+
t.push(_(0));
|
|
265
|
+
while (a(","));
|
|
266
|
+
o(e);
|
|
267
|
+
}
|
|
268
|
+
return t;
|
|
269
|
+
}, p = () => {
|
|
270
|
+
let e = t[n++], r;
|
|
271
|
+
if (e === "(") r = _(0), o(")");
|
|
272
|
+
else if (e === "[") {
|
|
273
|
+
let e = f("]");
|
|
274
|
+
r = (t) => e.map((e) => e(t));
|
|
275
|
+
} else if (e === "!" || e === "+" || e === "-") {
|
|
276
|
+
let t = _(7);
|
|
277
|
+
r = (n) => e === "!" ? !s(t(n)) : l((t) => e === "-" ? -t : t, [t(n)]);
|
|
278
|
+
} else if (e?.startsWith("${")) r = (t) => d(e.slice(2, -1), t);
|
|
279
|
+
else if (/^['"`]/.test(e ?? "")) {
|
|
280
|
+
let t = e.slice(1, -1).replace(/\\(u[\da-f]{4}|x[\da-f]{2}|.)/gi, (e, t) => t[0] === "u" || t[0] === "x" ? String.fromCharCode(parseInt(t.slice(1), 16)) : {
|
|
281
|
+
n: "\n",
|
|
282
|
+
r: "\r",
|
|
283
|
+
t: " ",
|
|
284
|
+
b: "\b",
|
|
285
|
+
f: "\f",
|
|
286
|
+
v: "\v"
|
|
287
|
+
}[t] ?? t);
|
|
288
|
+
r = (e) => t.replace(/\$\{([^}]+)\}/g, (t, n) => c(d(n, e)));
|
|
289
|
+
} else if (/^(?:\d|\.\d)/.test(e ?? "")) r = () => Number(e);
|
|
290
|
+
else if (e === "Math") {
|
|
291
|
+
o(".");
|
|
292
|
+
let e = t[n++];
|
|
293
|
+
e !== "PI" && e !== "E" && i("only Math.PI and Math.E are constants"), r = () => e === "PI" ? Math.PI : Math.E;
|
|
294
|
+
} else if ([
|
|
295
|
+
"true",
|
|
296
|
+
"false",
|
|
297
|
+
"null",
|
|
298
|
+
"undefined",
|
|
299
|
+
"NaN",
|
|
300
|
+
"Infinity"
|
|
301
|
+
].includes(e)) r = () => ({
|
|
302
|
+
true: !0,
|
|
303
|
+
false: !1,
|
|
304
|
+
null: null,
|
|
305
|
+
undefined: void 0,
|
|
306
|
+
NaN: NaN,
|
|
307
|
+
Infinity: Infinity
|
|
308
|
+
})[e];
|
|
309
|
+
else if (/^[\p{L}_$]/u.test(e ?? "") && a("(")) {
|
|
310
|
+
let t = f(")");
|
|
311
|
+
r = (n) => h(e, t.map((e) => e(n)));
|
|
312
|
+
} else return i(`unexpected token ${e ?? "end"}`);
|
|
313
|
+
for (; t[n] === "." || t[n] === "[";) {
|
|
314
|
+
let e = r;
|
|
315
|
+
if (a("[")) {
|
|
316
|
+
let t = _(0);
|
|
317
|
+
o("]"), r = (n) => u(e(n), t(n));
|
|
318
|
+
} else {
|
|
319
|
+
o(".");
|
|
320
|
+
let s = t[n++];
|
|
321
|
+
if (a("(")) {
|
|
322
|
+
let t = f(")");
|
|
323
|
+
[
|
|
324
|
+
"test",
|
|
325
|
+
"exec",
|
|
326
|
+
"toString"
|
|
327
|
+
].includes(s) || i(`method ${s} is unavailable`), r = (n) => {
|
|
328
|
+
let r = e(n);
|
|
329
|
+
return s === "toString" ? c(r) : r instanceof RegExp ? (r.lastIndex = 0, s === "test" ? r.test(c(t[0]?.(n))) : r.exec(c(t[0]?.(n)))?.[1] ?? null) : i("test/exec needs a regular expression");
|
|
330
|
+
};
|
|
331
|
+
} else r = (t) => u(e(t), s);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
return r;
|
|
335
|
+
}, m = {
|
|
336
|
+
"||": 1,
|
|
337
|
+
"&&": 2,
|
|
338
|
+
"===": 3,
|
|
339
|
+
"!==": 3,
|
|
340
|
+
"=~": 3,
|
|
341
|
+
"!~": 3,
|
|
342
|
+
"<": 4,
|
|
343
|
+
">": 4,
|
|
344
|
+
"<=": 4,
|
|
345
|
+
">=": 4,
|
|
346
|
+
"+": 5,
|
|
347
|
+
"-": 5,
|
|
348
|
+
"*": 6,
|
|
349
|
+
"/": 6,
|
|
350
|
+
"%": 6
|
|
351
|
+
}, _ = (e) => {
|
|
352
|
+
if (++r > 128) return i("expression nesting exceeds 128");
|
|
353
|
+
let c = p();
|
|
354
|
+
for (; Object.hasOwn(m, t[n]) && m[t[n]] >= e;) {
|
|
355
|
+
let e = t[n++], r = c, i = _(m[e] + 1);
|
|
356
|
+
c = (t) => e === "&&" ? s(r(t)) && s(i(t)) : e === "||" ? s(r(t)) || s(i(t)) : g(e, r(t), i(t));
|
|
357
|
+
}
|
|
358
|
+
if (e === 0 && a("?")) {
|
|
359
|
+
let e = c, t = _(0);
|
|
360
|
+
o(":");
|
|
361
|
+
let n = _(0);
|
|
362
|
+
c = (r) => s(e(r)) ? t(r) : n(r);
|
|
363
|
+
}
|
|
364
|
+
return r--, c;
|
|
365
|
+
}, v = _(0);
|
|
366
|
+
return n !== t.length && i(`unexpected token ${t[n]}`), v;
|
|
367
|
+
}
|
|
368
|
+
function v(e, n) {
|
|
369
|
+
if (e === void 0) return () => n;
|
|
370
|
+
if (typeof e == "string") return _(e);
|
|
371
|
+
if (typeof e != "object" || !e) return () => e;
|
|
372
|
+
let r = e.conditions.map(([e, t]) => [_(e), v(t, void 0)]);
|
|
373
|
+
return (e) => {
|
|
374
|
+
for (let [n, i] of r) {
|
|
375
|
+
let r = n(e);
|
|
376
|
+
if (typeof r != "boolean") throw new t("state", "Style condition must return a boolean; compare the property explicitly");
|
|
377
|
+
if (r) return i(e);
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
//#endregion
|
|
382
|
+
//#region src/style.ts
|
|
383
|
+
var y = (e) => e.toLowerCase().replace(/[\s_-]/g, ""), b = (e) => ArrayBuffer.isView(e) ? !(e instanceof DataView) : Array.isArray(e), x = [
|
|
384
|
+
"POSITION",
|
|
385
|
+
"POSITION_ABSOLUTE",
|
|
386
|
+
"COLOR",
|
|
387
|
+
"NORMAL"
|
|
388
|
+
], S = (e) => e > 0 ? e < 1 ? e : 1 : 0;
|
|
389
|
+
function C(e, t) {
|
|
390
|
+
let n = e, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
391
|
+
for (let e of Object.keys(n)) r.has(y(e)) || r.set(y(e), e);
|
|
392
|
+
return (e) => {
|
|
393
|
+
if (i.has(e)) return i.get(e);
|
|
394
|
+
let o = Object.hasOwn(n, e) ? e : r.get(y(e)), s = o === void 0 ? void 0 : n[o], c;
|
|
395
|
+
if (b(s)) {
|
|
396
|
+
let e = s.length / Math.max(t, 1);
|
|
397
|
+
if (s.length === t) c = (e) => s[e];
|
|
398
|
+
else if (e === 2 || e === 3 || e === 4) c = (t) => a(Array.prototype.slice.call(s, t * e, t * e + e));
|
|
399
|
+
else throw RangeError(`Point column ${o} holds ${s.length} values for ${t} points; pass 1 to 4 values a point`);
|
|
400
|
+
}
|
|
401
|
+
return i.set(e, c), c;
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
function w(e, t, n) {
|
|
405
|
+
let r = e, i = b(r.positions) ? r.positions : void 0, o = b(r.normals) ? r.normals : void 0, s = b(r.origin) && r.origin.length === 3 ? r.origin : [
|
|
406
|
+
0,
|
|
407
|
+
0,
|
|
408
|
+
0
|
|
409
|
+
], c = n ?? [
|
|
410
|
+
1,
|
|
411
|
+
0,
|
|
412
|
+
0,
|
|
413
|
+
0,
|
|
414
|
+
0,
|
|
415
|
+
1,
|
|
416
|
+
0,
|
|
417
|
+
0,
|
|
418
|
+
0,
|
|
419
|
+
0,
|
|
420
|
+
1,
|
|
421
|
+
0,
|
|
422
|
+
0,
|
|
423
|
+
0,
|
|
424
|
+
0,
|
|
425
|
+
1
|
|
426
|
+
], l = b(r.colors) ? r.colors : void 0, u = b(r.rgb) ? r.rgb : void 0;
|
|
427
|
+
if (c.length !== 16 || !Array.from(c).every(Number.isFinite)) throw TypeError("Pass a finite column-major matrix of 16 numbers");
|
|
428
|
+
for (let [e, n] of [["positions", i], ["normals", o]]) if (n && n.length !== t * 3) throw RangeError(`Point ${e} hold ${n.length} values for ${t} points; pass 3 a point`);
|
|
429
|
+
let d;
|
|
430
|
+
if (l) {
|
|
431
|
+
let e = l.length / Math.max(t, 1), n = l instanceof Uint8Array || l instanceof Uint8ClampedArray ? 255 : 1;
|
|
432
|
+
if (e !== 3 && e !== 4) throw RangeError(`Point colors hold ${l.length} values for ${t} points; pass 3 or 4 a point`);
|
|
433
|
+
d = (t) => [
|
|
434
|
+
0,
|
|
435
|
+
1,
|
|
436
|
+
2,
|
|
437
|
+
3
|
|
438
|
+
].map((r) => r < e ? l[t * e + r] / n : 1);
|
|
439
|
+
} else if (u) {
|
|
440
|
+
if (u.length !== t * 3) throw RangeError(`Point rgb holds ${u.length} values for ${t} points; pass 3 a point`);
|
|
441
|
+
let e = !1;
|
|
442
|
+
for (let t = 0; t < u.length && !e; t++) e = u[t] > 255;
|
|
443
|
+
let n = e ? 65535 : 255;
|
|
444
|
+
d = (e) => [
|
|
445
|
+
u[e * 3] / n,
|
|
446
|
+
u[e * 3 + 1] / n,
|
|
447
|
+
u[e * 3 + 2] / n,
|
|
448
|
+
1
|
|
449
|
+
];
|
|
450
|
+
}
|
|
451
|
+
let f = (e, t) => [
|
|
452
|
+
e[t * 3],
|
|
453
|
+
e[t * 3 + 1],
|
|
454
|
+
e[t * 3 + 2]
|
|
455
|
+
];
|
|
456
|
+
return (e, t) => {
|
|
457
|
+
if (e === "POSITION") return i && a(f(i, t));
|
|
458
|
+
if (e === "POSITION_ABSOLUTE") {
|
|
459
|
+
if (!i) return;
|
|
460
|
+
let [e, n, r] = f(i, t).map((e, t) => e + s[t]), o = c[3] * e + c[7] * n + c[11] * r + c[15];
|
|
461
|
+
return a([
|
|
462
|
+
0,
|
|
463
|
+
1,
|
|
464
|
+
2
|
|
465
|
+
].map((t) => (c[t] * e + c[4 + t] * n + c[8 + t] * r + c[12 + t]) / o));
|
|
466
|
+
}
|
|
467
|
+
return e === "COLOR" ? a(d ? d(t) : [
|
|
468
|
+
1,
|
|
469
|
+
1,
|
|
470
|
+
1,
|
|
471
|
+
1
|
|
472
|
+
]) : o && a(f(o, t));
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
var T = [
|
|
476
|
+
"returnNumber",
|
|
477
|
+
"numberOfReturns",
|
|
478
|
+
"gpsTime",
|
|
479
|
+
"pointSourceId",
|
|
480
|
+
"intensity",
|
|
481
|
+
"scanAngle",
|
|
482
|
+
"userData"
|
|
483
|
+
];
|
|
484
|
+
function E(e, t) {
|
|
485
|
+
if (!Array.isArray(t) || t.length !== 2 || t.some((e) => typeof e != "number" || Number.isNaN(e)) || t[0] > t[1]) throw RangeError(`Filter ${e} is an ascending [min, max] range of numbers; pass two numbers`);
|
|
486
|
+
return [t[0], t[1]];
|
|
487
|
+
}
|
|
488
|
+
var D = /* @__PURE__ */ new WeakMap(), O = class {
|
|
489
|
+
constructor(e = {}) {
|
|
490
|
+
if (!e || typeof e != "object") throw TypeError("A point style is an object; pass {show, color, pointSize, defines, filter}");
|
|
491
|
+
this.options = e;
|
|
492
|
+
let t = {
|
|
493
|
+
defines: /* @__PURE__ */ new Map(),
|
|
494
|
+
ranges: []
|
|
495
|
+
};
|
|
496
|
+
D.set(this, t), e.show !== void 0 && e.show !== !0 && (t.show = v(e.show, !0)), e.color !== void 0 && (t.color = v(e.color, void 0)), e.pointSize !== void 0 && (t.pointSize = v(e.pointSize, void 0)), t.defines = new Map(Object.entries(e.defines ?? {}).map(([e, t]) => {
|
|
497
|
+
if (typeof t != "string") throw TypeError(`Define ${e} is not a string; pass an expression string`);
|
|
498
|
+
return [e, _(t)];
|
|
499
|
+
}));
|
|
500
|
+
let n = e.filter ?? {};
|
|
501
|
+
if (typeof n != "object") throw TypeError("A point filter is not an object; pass an object of ranges");
|
|
502
|
+
for (let e of Object.keys(n)) if (e !== "ranges" && e !== "classification" && !T.includes(e)) throw TypeError(`Filter ${e} is not a LAS filter; put other columns under filter.ranges, as {ranges: {${e}: [min, max]}}`);
|
|
503
|
+
for (let e of T) n[e] !== void 0 && t.ranges.push([e, ...E(e, n[e])]);
|
|
504
|
+
for (let [e, r] of Object.entries(n.ranges ?? {})) t.ranges.push([e, ...E(e, r)]);
|
|
505
|
+
if (n.classification !== void 0) {
|
|
506
|
+
let e = n.classification;
|
|
507
|
+
if (!Array.isArray(e) || e.some((e) => !Number.isInteger(e) || e < 0 || e > 255)) throw RangeError("Filter classification holds a class outside 0 to 255; pass the integer ASPRS classes to show");
|
|
508
|
+
t.classes = /* @__PURE__ */ new Uint8Array(256);
|
|
509
|
+
for (let n of e) t.classes[n] = 1;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
get filters() {
|
|
513
|
+
let e = D.get(this);
|
|
514
|
+
return e.show !== void 0 || e.ranges.length > 0 || e.classes !== void 0;
|
|
515
|
+
}
|
|
516
|
+
evaluate(e, t = {}) {
|
|
517
|
+
return k(this, e, t);
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
function k(e, n, r, i, o) {
|
|
521
|
+
let s = D.get(e);
|
|
522
|
+
if (!n || typeof n != "object") throw TypeError("Pass a table of per-point columns");
|
|
523
|
+
let c = n, l = r.count;
|
|
524
|
+
if (l === void 0 && (l = (b(c.positions) ? c.positions.length / 3 : Object.values(c).find(b)?.length) ?? 0), !Number.isSafeInteger(l) || l < 0) throw RangeError("Pass a whole number of points");
|
|
525
|
+
if (i && i.length !== l) throw RangeError("Pass one table row per point");
|
|
526
|
+
let u = C(n, l), d = w(n, l, r.matrix), f = o && !b(c.positions) ? w({
|
|
527
|
+
positions: o.positions,
|
|
528
|
+
normals: o.normals ?? void 0
|
|
529
|
+
}, l, r.matrix) : void 0, p = s.ranges.map(([e, t, n]) => {
|
|
530
|
+
let r = u(e);
|
|
531
|
+
if (!r) throw TypeError(`The point table has no ${e} column to filter; pass one or drop the filter`);
|
|
532
|
+
return [
|
|
533
|
+
r,
|
|
534
|
+
t,
|
|
535
|
+
n
|
|
536
|
+
];
|
|
537
|
+
}), m = s.classes, h = m && u("classification");
|
|
538
|
+
if (m && !h) throw TypeError("The point table has no classification column to filter; pass one or drop the filter");
|
|
539
|
+
let g = 0, _ = 0, v = (e) => x.includes(e) ? e === "COLOR" && o ? a(o.color(_)) : f && e !== "COLOR" ? f(e, _) : d(e, g) : u(e)?.(g), y = (e) => s.defines.has(e) ? s.defines.get(e)(v) : v(e), T = new Uint8Array(l), E = s.color ? new Float32Array(l * 4) : null, O = s.pointSize ? new Float32Array(l).fill(NaN) : null, k = 0;
|
|
540
|
+
for (_ = 0; _ < l; _++) {
|
|
541
|
+
_ & 4095 || r.signal?.throwIfAborted(), g = i ? i[_] : _;
|
|
542
|
+
let e = !0;
|
|
543
|
+
for (let [t, n, r] of p) {
|
|
544
|
+
let i = t(g);
|
|
545
|
+
i >= n && i <= r || (e = !1);
|
|
546
|
+
}
|
|
547
|
+
if (e && m && !m[h(g) & 255] && (e = !1), e && s.show) {
|
|
548
|
+
let n = s.show(y);
|
|
549
|
+
if (typeof n != "boolean") throw new t("state", "Style show must return a boolean; compare the property explicitly");
|
|
550
|
+
e = n;
|
|
551
|
+
}
|
|
552
|
+
if (e) {
|
|
553
|
+
if (T[_] = 1, k++, E) {
|
|
554
|
+
let e = s.color(y);
|
|
555
|
+
if (e === void 0 && (e = y("COLOR")), !Array.isArray(e) || e.length !== 4 || e.some((e) => typeof e != "number" || !Number.isFinite(e))) throw new t("state", "Style color must return four finite components; use color(), rgb() or vec4()");
|
|
556
|
+
for (let t = 0; t < 4; t++) E[_ * 4 + t] = S(e[t]);
|
|
557
|
+
}
|
|
558
|
+
if (O) {
|
|
559
|
+
let e = s.pointSize(y);
|
|
560
|
+
if (e === void 0) continue;
|
|
561
|
+
if (typeof e != "number" || !Number.isFinite(e) || e < 0) throw new t("state", "Style pointSize must return a finite number of 0 or more; clamp it");
|
|
562
|
+
O[_] = e;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
return {
|
|
567
|
+
count: l,
|
|
568
|
+
show: T,
|
|
569
|
+
shown: k,
|
|
570
|
+
colors: E,
|
|
571
|
+
sizes: O
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
var A = (e) => e <= .0031308 ? e * 12.92 : 1.055 * e ** (1 / 2.4) - .055;
|
|
575
|
+
function j(e) {
|
|
576
|
+
let t = e.floatColors?.slice() ?? null, n = t ? null : e.colors?.slice() ?? null, r = e.colorSpace === "linear";
|
|
577
|
+
return {
|
|
578
|
+
floats: t,
|
|
579
|
+
packed: n,
|
|
580
|
+
positions: e.positions,
|
|
581
|
+
normals: e.normals,
|
|
582
|
+
color: (e) => t ? [
|
|
583
|
+
0,
|
|
584
|
+
1,
|
|
585
|
+
2,
|
|
586
|
+
3
|
|
587
|
+
].map((n) => n < 3 && r ? A(S(t[e * 4 + n])) : S(t[e * 4 + n])) : n ? [
|
|
588
|
+
0,
|
|
589
|
+
8,
|
|
590
|
+
16,
|
|
591
|
+
24
|
|
592
|
+
].map((t) => (n[e] >>> t & 255) / 255) : [
|
|
593
|
+
1,
|
|
594
|
+
1,
|
|
595
|
+
1,
|
|
596
|
+
1
|
|
597
|
+
]
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
function M(e, t) {
|
|
601
|
+
let r = e.colorSpace === "linear", i = e.colorFormat === "float" ? new Float32Array(e.count * 4) : new Uint8Array(e.count * 4);
|
|
602
|
+
for (let a = 0; a < e.count; a++) {
|
|
603
|
+
let e = t(a);
|
|
604
|
+
for (let t = 0; t < 4; t++) {
|
|
605
|
+
let o = t < 3 && r ? n(e[t]) : e[t];
|
|
606
|
+
i[a * 4 + t] = i instanceof Uint8Array ? Math.round(o * 255) : o;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
e.colors ? e.updateColors(0, i, 4) : e.setColors(i, 4), e.colorComponents = 4;
|
|
610
|
+
}
|
|
611
|
+
function N(e, t, n) {
|
|
612
|
+
let r = e.material.size, i = new Float32Array(e.count);
|
|
613
|
+
for (let a = 0; a < e.count; a++) i[a] = Number.isNaN(t[a]) ? n(a) : r > 0 ? t[a] / r : 0;
|
|
614
|
+
e.sizes ? e.updateSizes(0, i) : e.setSizes(i);
|
|
615
|
+
}
|
|
616
|
+
var P = (e) => e instanceof O ? e : new O(e);
|
|
617
|
+
function F(e, n, r, i = {}) {
|
|
618
|
+
let a = j(e), o = e.colorComponents, s = e.sizes?.slice() ?? null, c = e.mask ? Uint8Array.from({ length: e.count }, (t, n) => +e.isSelected(n)) : null, l = e.maskStyle, u = P(r), d = !1, f = !1, p = !1, m = !1, h, g = () => {
|
|
619
|
+
f &&= (e.setColors(a.floats ? a.floats.slice() : a.packed && new Uint8Array(a.packed.slice().buffer), 4), e.colorComponents = o, !1);
|
|
620
|
+
}, _ = () => {
|
|
621
|
+
p && e.setSizes(s && s.slice()), p = !1;
|
|
622
|
+
}, v = () => {
|
|
623
|
+
m && e.setMask(c, l), m = !1;
|
|
624
|
+
}, y = (t) => {
|
|
625
|
+
let r = k(t, n, {
|
|
626
|
+
count: e.count,
|
|
627
|
+
matrix: i.matrix ?? e.matrix,
|
|
628
|
+
signal: i.signal
|
|
629
|
+
}, e.sourceIndex, a), o = r.colors;
|
|
630
|
+
return o ? (M(e, (e) => r.show[e] ? o.subarray(e * 4, e * 4 + 4) : a.color(e)), f = !0) : g(), r.sizes ? (N(e, r.sizes, (e) => s?.[e] ?? 1), p = !0) : _(), r.shown < r.count ? (m && e.mask ? e.updateMask(0, r.show) : e.setMask(r.show, {
|
|
631
|
+
...l,
|
|
632
|
+
mode: "filter"
|
|
633
|
+
}), m = !0) : v(), r;
|
|
634
|
+
};
|
|
635
|
+
return h = y(u), {
|
|
636
|
+
get result() {
|
|
637
|
+
return h;
|
|
638
|
+
},
|
|
639
|
+
update(e) {
|
|
640
|
+
if (d) throw new t("disposed", "Point style binding is disposed; bind the style again");
|
|
641
|
+
let n = e === void 0 ? u : P(e);
|
|
642
|
+
return h = y(n), u = n, h;
|
|
643
|
+
},
|
|
644
|
+
dispose() {
|
|
645
|
+
d || (d = !0, g(), _(), v());
|
|
646
|
+
},
|
|
647
|
+
[Symbol.dispose]() {
|
|
648
|
+
this.dispose();
|
|
649
|
+
}
|
|
650
|
+
};
|
|
651
|
+
}
|
|
652
|
+
function I(t, n, r, i = {}) {
|
|
653
|
+
let a = j(t), o = k(P(r), n, {
|
|
654
|
+
count: t.count,
|
|
655
|
+
matrix: i.matrix ?? t.matrix,
|
|
656
|
+
signal: i.signal
|
|
657
|
+
}, t.sourceIndex, a), s = new Uint32Array(o.shown);
|
|
658
|
+
for (let e = 0, t = 0; e < o.count; e++) o.show[e] && (s[t++] = e);
|
|
659
|
+
let c = e(t, s), l = o.colors;
|
|
660
|
+
return l && M(c, (e) => l.subarray(s[e] * 4, s[e] * 4 + 4)), o.sizes && N(c, Float32Array.from(s, (e) => o.sizes[e]), (e) => t.sizes?.[s[e]] ?? 1), {
|
|
661
|
+
cloud: c,
|
|
662
|
+
indices: s,
|
|
663
|
+
result: o
|
|
664
|
+
};
|
|
665
|
+
}
|
|
666
|
+
function L(e, t) {
|
|
667
|
+
let n = P(t);
|
|
668
|
+
return {
|
|
669
|
+
root: e.root,
|
|
670
|
+
async load(t, r) {
|
|
671
|
+
return R(await e.load(t, r), n, r);
|
|
672
|
+
}
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
function R(e, t, n) {
|
|
676
|
+
let r = P(t), i = e.positions.length / 3, a = e.colorComponents ?? (e.colors ? e.colors.length / Math.max(i, 1) : 4), o = k(r, {
|
|
677
|
+
...e.attributes,
|
|
678
|
+
positions: e.positions,
|
|
679
|
+
...e.colors ? { colors: e.colors } : {}
|
|
680
|
+
}, {
|
|
681
|
+
count: i,
|
|
682
|
+
signal: n
|
|
683
|
+
});
|
|
684
|
+
if (o.shown === i && !o.colors) return e;
|
|
685
|
+
let s = [];
|
|
686
|
+
for (let e = 0; e < i; e++) o.show[e] && s.push(e);
|
|
687
|
+
let c = (e, t) => {
|
|
688
|
+
let n = new e.constructor(s.length * t);
|
|
689
|
+
for (let r = 0; r < s.length; r++) for (let i = 0; i < t; i++) n[r * t + i] = e[s[r] * t + i];
|
|
690
|
+
return n;
|
|
691
|
+
}, l = e.colors && c(e.colors, a), u = e.colors ? a : void 0;
|
|
692
|
+
if (o.colors) {
|
|
693
|
+
l = new Uint8Array(s.length * 4);
|
|
694
|
+
for (let e = 0; e < s.length; e++) for (let t = 0; t < 4; t++) l[e * 4 + t] = Math.round(o.colors[s[e] * 4 + t] * 255);
|
|
695
|
+
u = 4;
|
|
696
|
+
}
|
|
697
|
+
let d = {};
|
|
698
|
+
for (let [t, n] of Object.entries(e.attributes ?? {})) d[t] = c(n, n.length / Math.max(i, 1));
|
|
699
|
+
return {
|
|
700
|
+
...e,
|
|
701
|
+
positions: c(e.positions, 3),
|
|
702
|
+
colors: l,
|
|
703
|
+
colorComponents: u,
|
|
704
|
+
attributes: d,
|
|
705
|
+
...e.rowIds ? { rowIds: s.map((t) => e.rowIds[t]) } : {}
|
|
706
|
+
};
|
|
707
|
+
}
|
|
708
|
+
//#endregion
|
|
709
|
+
export { O as PointStyle, F as bindPointStyle, I as createStyledCloud, R as styleNode, L as styleSource };
|