@urban-toolkit/autk-grammar 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,55 +1,55 @@
1
- import { NormalizationMode as De, createEngine as qe } from "@urban-toolkit/the-urban-grammar";
2
- import { ColorMapInterpolator as ga, NormalizationMode as ya } from "@urban-toolkit/the-urban-grammar";
3
- import { AutkDb as Ge, DEFAULT_WORKSPACE_COORDINATE_FORMAT as Te } from "@urban-toolkit/autk-db";
4
- import { AutkMap as Je, MapStyle as Ue, MapEvent as Xe } from "@urban-toolkit/autk-map";
5
- import { AutkPlot as We } from "@urban-toolkit/autk-plot";
1
+ import { NormalizationMode as qe, createEngine as Ue } from "@urban-toolkit/the-urban-grammar";
2
+ import { ColorMapInterpolator as va, NormalizationMode as wa } from "@urban-toolkit/the-urban-grammar";
3
+ import { AutkDb as Je, DEFAULT_WORKSPACE_COORDINATE_FORMAT as Te } from "@urban-toolkit/autk-db";
4
+ import { AutkMap as Xe, MapStyle as Ke, MapEvent as be } from "@urban-toolkit/autk-map";
5
+ import { AutkPlot as We, PlotEvent as K } from "@urban-toolkit/autk-plot";
6
6
  import { AutkComputeEngine as Ve } from "@urban-toolkit/autk-compute";
7
- function Ke(e, f) {
7
+ function Qe(e, f) {
8
8
  function a(d, c) {
9
9
  if (!c || !c.db)
10
10
  return;
11
11
  const t = document.getElementById(c.db);
12
12
  if (t) {
13
- const n = d.tables;
13
+ const b = d.tables;
14
14
  t.innerHTML += "<ul>";
15
- for (const r of n)
16
- t.innerHTML += `<li>${r.name}: (${r.source}, ${r.type}) </li>`;
17
- t.innerHTML += "</ul>", t.innerHTML += `<p>Number of tables: ${n.length}</p>`;
15
+ for (const n of b)
16
+ t.innerHTML += `<li>${n.name}: (${n.source}, ${n.type}) </li>`;
17
+ t.innerHTML += "</ul>", t.innerHTML += `<p>Number of tables: ${b.length}</p>`;
18
18
  }
19
19
  }
20
20
  return {
21
21
  async resolveSource(d, c) {
22
22
  let t = d;
23
- t || (t = new Ge(), await t.init());
24
- let { type: n, ...r } = c;
25
- switch (n) {
23
+ t || (t = new Je(), await t.init());
24
+ let { type: b, ...n } = c;
25
+ switch (b) {
26
26
  case "osm":
27
- return await t.loadOsm(r), a(t, e), t;
27
+ return await t.loadOsm(n), a(t, e), t;
28
28
  case "csv":
29
- return await t.loadCsv(r), a(t, e), t;
29
+ return await t.loadCsv(n), a(t, e), t;
30
30
  case "json":
31
- return await t.loadJson(r), a(t, e), t;
31
+ return await t.loadJson(n), a(t, e), t;
32
32
  case "geojson": {
33
- const b = r;
33
+ const r = n;
34
34
  let l;
35
- b.geojsonFileUrl ? l = await (await fetch(b.geojsonFileUrl)).json() : l = b.geojsonObject, f && l && f.set(b.outputTableName, l);
36
- const u = l ? (() => {
37
- const i = { ...b, geojsonObject: l };
35
+ r.geojsonFileUrl ? l = await (await fetch(r.geojsonFileUrl)).json() : l = r.geojsonObject, f && l && f.set(r.outputTableName, l);
36
+ const h = l ? (() => {
37
+ const i = { ...r, geojsonObject: l };
38
38
  return delete i.geojsonFileUrl, i;
39
- })() : b;
39
+ })() : r;
40
40
  try {
41
- await t.loadGeojson(u);
41
+ await t.loadGeojson(h);
42
42
  } catch (i) {
43
- const p = u.coordinateFormat ? `coordinateFormat is set to "${u.coordinateFormat}"` : "no coordinateFormat was specified — defaulting to EPSG:4326 (WGS84 per RFC 7946)";
43
+ const p = h.coordinateFormat ? `coordinateFormat is set to "${h.coordinateFormat}"` : "no coordinateFormat was specified — defaulting to EPSG:4326 (WGS84 per RFC 7946)";
44
44
  throw new Error(
45
- `Failed to load GeoJSON layer "${u.outputTableName}": ${i instanceof Error ? i.message : String(i)}. ${p}. Verify that coordinateFormat matches the actual CRS of the input data.`
45
+ `Failed to load GeoJSON layer "${h.outputTableName}": ${i instanceof Error ? i.message : String(i)}. ${p}. Verify that coordinateFormat matches the actual CRS of the input data.`
46
46
  );
47
47
  }
48
48
  try {
49
- const i = await t.getBoundingBoxFromLayer(u.outputTableName), p = 25e6;
49
+ const i = await t.getBoundingBoxFromLayer(h.outputTableName), p = 25e6;
50
50
  if (!isFinite(i.minLon) || !isFinite(i.minLat) || !isFinite(i.maxLon) || !isFinite(i.maxLat) || Math.abs(i.minLon) > p || Math.abs(i.maxLon) > p || Math.abs(i.minLat) > p || Math.abs(i.maxLat) > p)
51
51
  throw new Error(
52
- `Geometry bounding box after transform is invalid for layer "${u.outputTableName}" (bbox: [${i.minLon}, ${i.minLat}, ${i.maxLon}, ${i.maxLat}]). Verify that coordinateFormat matches the actual CRS of the input data. The workspace uses ${Te}; input is expected in EPSG:4326 by default.`
52
+ `Geometry bounding box after transform is invalid for layer "${h.outputTableName}" (bbox: [${i.minLon}, ${i.minLat}, ${i.maxLon}, ${i.maxLat}]). Verify that coordinateFormat matches the actual CRS of the input data. The workspace uses ${Te}; input is expected in EPSG:4326 by default.`
53
53
  );
54
54
  } catch (i) {
55
55
  if (i instanceof Error && i.message.includes("bounding box after transform")) throw i;
@@ -57,25 +57,25 @@ function Ke(e, f) {
57
57
  return a(t, e), t;
58
58
  }
59
59
  case "heatmap": {
60
- const b = r;
60
+ const r = n;
61
61
  return await t.buildHeatmap({
62
- tableJoinName: b.tableJoinName,
63
- near: { distance: b.near.distance },
64
- outputTableName: b.outputTableName,
65
- grid: b.grid,
66
- ...b.groupBy && { groupBy: b.groupBy }
62
+ tableJoinName: r.tableJoinName,
63
+ near: { distance: r.near.distance },
64
+ outputTableName: r.outputTableName,
65
+ grid: r.grid,
66
+ ...r.groupBy && { groupBy: r.groupBy }
67
67
  }), a(t, e), t;
68
68
  }
69
69
  case "join": {
70
- const b = r;
70
+ const r = n;
71
71
  if (await t.spatialQuery({
72
- tableRootName: b.tableRootName,
73
- tableJoinName: b.tableJoinName,
74
- ...b.near && { near: b.near },
75
- ...b.groupBy && { groupBy: b.groupBy }
72
+ tableRootName: r.tableRootName,
73
+ tableJoinName: r.tableJoinName,
74
+ ...r.near && { near: r.near },
75
+ ...r.groupBy && { groupBy: r.groupBy }
76
76
  }), f) {
77
- const l = await t.getLayer(b.tableRootName);
78
- f.set(b.tableRootName, l);
77
+ const l = await t.getLayer(r.tableRootName);
78
+ f.set(r.tableRootName, l);
79
79
  }
80
80
  return a(t, e), t;
81
81
  }
@@ -88,17 +88,17 @@ function Ke(e, f) {
88
88
  var W = /* @__PURE__ */ (function(e) {
89
89
  return e.USER = "user", e.MIN_MAX = "minMax", e.PERCENTILE = "percentile", e;
90
90
  })({});
91
- function fe(e, f, a) {
91
+ function ae(e, f, a) {
92
92
  e.prototype = f.prototype = a, a.constructor = e;
93
93
  }
94
- function be(e, f) {
94
+ function ne(e, f) {
95
95
  var a = Object.create(e.prototype);
96
96
  for (var d in f) a[d] = f[d];
97
97
  return a;
98
98
  }
99
99
  function z() {
100
100
  }
101
- var F = 0.7, B = 1 / F, H = "\\s*([+-]?\\d+)\\s*", D = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", k = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Qe = /^#([0-9a-f]{3,8})$/, Ze = RegExp(`^rgb\\(${H},${H},${H}\\)$`), Ye = RegExp(`^rgb\\(${k},${k},${k}\\)$`), ef = RegExp(`^rgba\\(${H},${H},${H},${D}\\)$`), ff = RegExp(`^rgba\\(${k},${k},${k},${D}\\)$`), af = RegExp(`^hsl\\(${D},${k},${k}\\)$`), df = RegExp(`^hsla\\(${D},${k},${k},${D}\\)$`), me = {
101
+ var T = 0.7, B = 1 / T, H = "\\s*([+-]?\\d+)\\s*", D = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", R = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ye = /^#([0-9a-f]{3,8})$/, Ze = RegExp(`^rgb\\(${H},${H},${H}\\)$`), ef = RegExp(`^rgb\\(${R},${R},${R}\\)$`), ff = RegExp(`^rgba\\(${H},${H},${H},${D}\\)$`), af = RegExp(`^rgba\\(${R},${R},${R},${D}\\)$`), df = RegExp(`^hsl\\(${D},${R},${R}\\)$`), cf = RegExp(`^hsla\\(${D},${R},${R},${D}\\)$`), ye = {
102
102
  aliceblue: 15792383,
103
103
  antiquewhite: 16444375,
104
104
  aqua: 65535,
@@ -248,194 +248,194 @@ var F = 0.7, B = 1 / F, H = "\\s*([+-]?\\d+)\\s*", D = "\\s*([+-]?(?:\\d*\\.)?\\
248
248
  yellow: 16776960,
249
249
  yellowgreen: 10145074
250
250
  };
251
- fe(z, re, {
251
+ ae(z, ie, {
252
252
  copy(e) {
253
253
  return Object.assign(new this.constructor(), this, e);
254
254
  },
255
255
  displayable() {
256
256
  return this.rgb().displayable();
257
257
  },
258
- hex: ge,
259
- formatHex: ge,
260
- formatHex8: cf,
261
- formatHsl: tf,
262
- formatRgb: ye,
263
- toString: ye
258
+ hex: ve,
259
+ formatHex: ve,
260
+ formatHex8: tf,
261
+ formatHsl: bf,
262
+ formatRgb: we,
263
+ toString: we
264
264
  });
265
- function ge() {
265
+ function ve() {
266
266
  return this.rgb().formatHex();
267
267
  }
268
- function cf() {
268
+ function tf() {
269
269
  return this.rgb().formatHex8();
270
270
  }
271
- function tf() {
271
+ function bf() {
272
272
  return Fe(this).formatHsl();
273
273
  }
274
- function ye() {
274
+ function we() {
275
275
  return this.rgb().formatRgb();
276
276
  }
277
- function re(e) {
277
+ function ie(e) {
278
278
  var f, a;
279
- return e = (e + "").trim().toLowerCase(), (f = Qe.exec(e)) ? (a = f[1].length, f = parseInt(f[1], 16), a === 6 ? ve(f) : a === 3 ? new m(f >> 8 & 15 | f >> 4 & 240, f >> 4 & 15 | f & 240, (f & 15) << 4 | f & 15, 1) : a === 8 ? V(f >> 24 & 255, f >> 16 & 255, f >> 8 & 255, (f & 255) / 255) : a === 4 ? V(f >> 12 & 15 | f >> 8 & 240, f >> 8 & 15 | f >> 4 & 240, f >> 4 & 15 | f & 240, ((f & 15) << 4 | f & 15) / 255) : null) : (f = Ze.exec(e)) ? new m(f[1], f[2], f[3], 1) : (f = Ye.exec(e)) ? new m(f[1] * 255 / 100, f[2] * 255 / 100, f[3] * 255 / 100, 1) : (f = ef.exec(e)) ? V(f[1], f[2], f[3], f[4]) : (f = ff.exec(e)) ? V(f[1] * 255 / 100, f[2] * 255 / 100, f[3] * 255 / 100, f[4]) : (f = af.exec(e)) ? Ne(f[1], f[2] / 100, f[3] / 100, 1) : (f = df.exec(e)) ? Ne(f[1], f[2] / 100, f[3] / 100, f[4]) : me.hasOwnProperty(e) ? ve(me[e]) : e === "transparent" ? new m(NaN, NaN, NaN, 0) : null;
279
+ return e = (e + "").trim().toLowerCase(), (f = Ye.exec(e)) ? (a = f[1].length, f = parseInt(f[1], 16), a === 6 ? Me(f) : a === 3 ? new g(f >> 8 & 15 | f >> 4 & 240, f >> 4 & 15 | f & 240, (f & 15) << 4 | f & 15, 1) : a === 8 ? V(f >> 24 & 255, f >> 16 & 255, f >> 8 & 255, (f & 255) / 255) : a === 4 ? V(f >> 12 & 15 | f >> 8 & 240, f >> 8 & 15 | f >> 4 & 240, f >> 4 & 15 | f & 240, ((f & 15) << 4 | f & 15) / 255) : null) : (f = Ze.exec(e)) ? new g(f[1], f[2], f[3], 1) : (f = ef.exec(e)) ? new g(f[1] * 255 / 100, f[2] * 255 / 100, f[3] * 255 / 100, 1) : (f = ff.exec(e)) ? V(f[1], f[2], f[3], f[4]) : (f = af.exec(e)) ? V(f[1] * 255 / 100, f[2] * 255 / 100, f[3] * 255 / 100, f[4]) : (f = df.exec(e)) ? ke(f[1], f[2] / 100, f[3] / 100, 1) : (f = cf.exec(e)) ? ke(f[1], f[2] / 100, f[3] / 100, f[4]) : ye.hasOwnProperty(e) ? Me(ye[e]) : e === "transparent" ? new g(NaN, NaN, NaN, 0) : null;
280
280
  }
281
- function ve(e) {
282
- return new m(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
281
+ function Me(e) {
282
+ return new g(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
283
283
  }
284
284
  function V(e, f, a, d) {
285
- return d <= 0 && (e = f = a = NaN), new m(e, f, a, d);
285
+ return d <= 0 && (e = f = a = NaN), new g(e, f, a, d);
286
286
  }
287
287
  function je(e) {
288
- return e instanceof z || (e = re(e)), e ? (e = e.rgb(), new m(e.r, e.g, e.b, e.opacity)) : new m();
288
+ return e instanceof z || (e = ie(e)), e ? (e = e.rgb(), new g(e.r, e.g, e.b, e.opacity)) : new g();
289
289
  }
290
- function q(e, f, a, d) {
291
- return arguments.length === 1 ? je(e) : new m(e, f, a, d ?? 1);
290
+ function G(e, f, a, d) {
291
+ return arguments.length === 1 ? je(e) : new g(e, f, a, d ?? 1);
292
292
  }
293
- function m(e, f, a, d) {
293
+ function g(e, f, a, d) {
294
294
  this.r = +e, this.g = +f, this.b = +a, this.opacity = +d;
295
295
  }
296
- fe(m, q, be(z, {
296
+ ae(g, G, ne(z, {
297
297
  brighter(e) {
298
- return e = e == null ? B : B ** +e, new m(this.r * e, this.g * e, this.b * e, this.opacity);
298
+ return e = e == null ? B : B ** +e, new g(this.r * e, this.g * e, this.b * e, this.opacity);
299
299
  },
300
300
  darker(e) {
301
- return e = e == null ? F : F ** +e, new m(this.r * e, this.g * e, this.b * e, this.opacity);
301
+ return e = e == null ? T : T ** +e, new g(this.r * e, this.g * e, this.b * e, this.opacity);
302
302
  },
303
303
  rgb() {
304
304
  return this;
305
305
  },
306
306
  clamp() {
307
- return new m(T(this.r), T(this.g), T(this.b), Z(this.opacity));
307
+ return new g(L(this.r), L(this.g), L(this.b), Z(this.opacity));
308
308
  },
309
309
  displayable() {
310
310
  return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
311
311
  },
312
- hex: we,
313
- formatHex: we,
314
- formatHex8: bf,
315
- formatRgb: Me,
316
- toString: Me
312
+ hex: Ne,
313
+ formatHex: Ne,
314
+ formatHex8: rf,
315
+ formatRgb: xe,
316
+ toString: xe
317
317
  }));
318
- function we() {
319
- return `#${L(this.r)}${L(this.g)}${L(this.b)}`;
318
+ function Ne() {
319
+ return `#${P(this.r)}${P(this.g)}${P(this.b)}`;
320
320
  }
321
- function bf() {
322
- return `#${L(this.r)}${L(this.g)}${L(this.b)}${L((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
321
+ function rf() {
322
+ return `#${P(this.r)}${P(this.g)}${P(this.b)}${P((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
323
323
  }
324
- function Me() {
324
+ function xe() {
325
325
  let e = Z(this.opacity);
326
- return `${e === 1 ? "rgb(" : "rgba("}${T(this.r)}, ${T(this.g)}, ${T(this.b)}${e === 1 ? ")" : `, ${e})`}`;
326
+ return `${e === 1 ? "rgb(" : "rgba("}${L(this.r)}, ${L(this.g)}, ${L(this.b)}${e === 1 ? ")" : `, ${e})`}`;
327
327
  }
328
328
  function Z(e) {
329
329
  return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
330
330
  }
331
- function T(e) {
331
+ function L(e) {
332
332
  return Math.max(0, Math.min(255, Math.round(e) || 0));
333
333
  }
334
- function L(e) {
335
- return e = T(e), (e < 16 ? "0" : "") + e.toString(16);
334
+ function P(e) {
335
+ return e = L(e), (e < 16 ? "0" : "") + e.toString(16);
336
336
  }
337
- function Ne(e, f, a, d) {
338
- return d <= 0 ? e = f = a = NaN : a <= 0 || a >= 1 ? e = f = NaN : f <= 0 && (e = NaN), new N(e, f, a, d);
337
+ function ke(e, f, a, d) {
338
+ return d <= 0 ? e = f = a = NaN : a <= 0 || a >= 1 ? e = f = NaN : f <= 0 && (e = NaN), new x(e, f, a, d);
339
339
  }
340
340
  function Fe(e) {
341
- if (e instanceof N) return new N(e.h, e.s, e.l, e.opacity);
342
- if (e instanceof z || (e = re(e)), !e) return new N();
343
- if (e instanceof N) return e;
341
+ if (e instanceof x) return new x(e.h, e.s, e.l, e.opacity);
342
+ if (e instanceof z || (e = ie(e)), !e) return new x();
343
+ if (e instanceof x) return e;
344
344
  e = e.rgb();
345
- var f = e.r / 255, a = e.g / 255, d = e.b / 255, c = Math.min(f, a, d), t = Math.max(f, a, d), n = NaN, r = t - c, b = (t + c) / 2;
346
- return r ? (n = f === t ? (a - d) / r + (a < d) * 6 : a === t ? (d - f) / r + 2 : (f - a) / r + 4, r /= b < 0.5 ? t + c : 2 - t - c, n *= 60) : r = b > 0 && b < 1 ? 0 : n, new N(n, r, b, e.opacity);
345
+ var f = e.r / 255, a = e.g / 255, d = e.b / 255, c = Math.min(f, a, d), t = Math.max(f, a, d), b = NaN, n = t - c, r = (t + c) / 2;
346
+ return n ? (b = f === t ? (a - d) / n + (a < d) * 6 : a === t ? (d - f) / n + 2 : (f - a) / n + 4, n /= r < 0.5 ? t + c : 2 - t - c, b *= 60) : n = r > 0 && r < 1 ? 0 : b, new x(b, n, r, e.opacity);
347
347
  }
348
- function rf(e, f, a, d) {
349
- return arguments.length === 1 ? Fe(e) : new N(e, f, a, d ?? 1);
348
+ function nf(e, f, a, d) {
349
+ return arguments.length === 1 ? Fe(e) : new x(e, f, a, d ?? 1);
350
350
  }
351
- function N(e, f, a, d) {
351
+ function x(e, f, a, d) {
352
352
  this.h = +e, this.s = +f, this.l = +a, this.opacity = +d;
353
353
  }
354
- fe(N, rf, be(z, {
354
+ ae(x, nf, ne(z, {
355
355
  brighter(e) {
356
- return e = e == null ? B : B ** +e, new N(this.h, this.s, this.l * e, this.opacity);
356
+ return e = e == null ? B : B ** +e, new x(this.h, this.s, this.l * e, this.opacity);
357
357
  },
358
358
  darker(e) {
359
- return e = e == null ? F : F ** +e, new N(this.h, this.s, this.l * e, this.opacity);
359
+ return e = e == null ? T : T ** +e, new x(this.h, this.s, this.l * e, this.opacity);
360
360
  },
361
361
  rgb() {
362
362
  var e = this.h % 360 + (this.h < 0) * 360, f = isNaN(e) || isNaN(this.s) ? 0 : this.s, a = this.l, d = a + (a < 0.5 ? a : 1 - a) * f, c = 2 * a - d;
363
- return new m(ce(e >= 240 ? e - 240 : e + 120, c, d), ce(e, c, d), ce(e < 120 ? e + 240 : e - 120, c, d), this.opacity);
363
+ return new g(te(e >= 240 ? e - 240 : e + 120, c, d), te(e, c, d), te(e < 120 ? e + 240 : e - 120, c, d), this.opacity);
364
364
  },
365
365
  clamp() {
366
- return new N(xe(this.h), K(this.s), K(this.l), Z(this.opacity));
366
+ return new x(Re(this.h), Q(this.s), Q(this.l), Z(this.opacity));
367
367
  },
368
368
  displayable() {
369
369
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
370
370
  },
371
371
  formatHsl() {
372
372
  let e = Z(this.opacity);
373
- return `${e === 1 ? "hsl(" : "hsla("}${xe(this.h)}, ${K(this.s) * 100}%, ${K(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
373
+ return `${e === 1 ? "hsl(" : "hsla("}${Re(this.h)}, ${Q(this.s) * 100}%, ${Q(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
374
374
  }
375
375
  }));
376
- function xe(e) {
376
+ function Re(e) {
377
377
  return e = (e || 0) % 360, e < 0 ? e + 360 : e;
378
378
  }
379
- function K(e) {
379
+ function Q(e) {
380
380
  return Math.max(0, Math.min(1, e || 0));
381
381
  }
382
- function ce(e, f, a) {
382
+ function te(e, f, a) {
383
383
  return (e < 60 ? f + (a - f) * e / 60 : e < 180 ? a : e < 240 ? f + (a - f) * (240 - e) / 60 : f) * 255;
384
384
  }
385
- var nf = Math.PI / 180, of = 180 / Math.PI, Ie = -0.14861, ne = 1.78277, ie = -0.29227, ae = -0.90649, G = 1.97294, $e = G * ae, ke = G * ne, Ee = ne * ie - ae * Ie;
386
- function sf(e) {
387
- if (e instanceof j) return new j(e.h, e.s, e.l, e.opacity);
388
- e instanceof m || (e = je(e));
389
- var f = e.r / 255, a = e.g / 255, d = e.b / 255, c = (Ee * d + $e * f - ke * a) / (Ee + $e - ke), t = d - c, n = (G * (a - c) - ie * t) / ae, r = Math.sqrt(n * n + t * t) / (G * c * (1 - c)), b = r ? Math.atan2(n, t) * of - 120 : NaN;
390
- return new j(b < 0 ? b + 360 : b, r, c, e.opacity);
385
+ var of = Math.PI / 180, sf = 180 / Math.PI, He = -0.14861, oe = 1.78277, se = -0.29227, de = -0.90649, q = 1.97294, $e = q * de, Ee = q * oe, Ae = oe * se - de * He;
386
+ function lf(e) {
387
+ if (e instanceof I) return new I(e.h, e.s, e.l, e.opacity);
388
+ e instanceof g || (e = je(e));
389
+ var f = e.r / 255, a = e.g / 255, d = e.b / 255, c = (Ae * d + $e * f - Ee * a) / (Ae + $e - Ee), t = d - c, b = (q * (a - c) - se * t) / de, n = Math.sqrt(b * b + t * t) / (q * c * (1 - c)), r = n ? Math.atan2(b, t) * sf - 120 : NaN;
390
+ return new I(r < 0 ? r + 360 : r, n, c, e.opacity);
391
391
  }
392
- function E(e, f, a, d) {
393
- return arguments.length === 1 ? sf(e) : new j(e, f, a, d ?? 1);
392
+ function $(e, f, a, d) {
393
+ return arguments.length === 1 ? lf(e) : new I(e, f, a, d ?? 1);
394
394
  }
395
- function j(e, f, a, d) {
395
+ function I(e, f, a, d) {
396
396
  this.h = +e, this.s = +f, this.l = +a, this.opacity = +d;
397
397
  }
398
- fe(j, E, be(z, {
398
+ ae(I, $, ne(z, {
399
399
  brighter(e) {
400
- return e = e == null ? B : B ** +e, new j(this.h, this.s, this.l * e, this.opacity);
400
+ return e = e == null ? B : B ** +e, new I(this.h, this.s, this.l * e, this.opacity);
401
401
  },
402
402
  darker(e) {
403
- return e = e == null ? F : F ** +e, new j(this.h, this.s, this.l * e, this.opacity);
403
+ return e = e == null ? T : T ** +e, new I(this.h, this.s, this.l * e, this.opacity);
404
404
  },
405
405
  rgb() {
406
- var e = isNaN(this.h) ? 0 : (this.h + 120) * nf, f = +this.l, a = isNaN(this.s) ? 0 : this.s * f * (1 - f), d = Math.cos(e), c = Math.sin(e);
407
- return new m(255 * (f + a * (Ie * d + ne * c)), 255 * (f + a * (ie * d + ae * c)), 255 * (f + G * d * a), this.opacity);
406
+ var e = isNaN(this.h) ? 0 : (this.h + 120) * of, f = +this.l, a = isNaN(this.s) ? 0 : this.s * f * (1 - f), d = Math.cos(e), c = Math.sin(e);
407
+ return new g(255 * (f + a * (He * d + oe * c)), 255 * (f + a * (se * d + de * c)), 255 * (f + q * d * a), this.opacity);
408
408
  }
409
409
  }));
410
- function lf(e) {
410
+ function uf(e) {
411
411
  return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
412
412
  }
413
- function Y(e, f) {
413
+ function ee(e, f) {
414
414
  if (!isFinite(e) || e === 0) return null;
415
415
  var a = (e = f ? e.toExponential(f - 1) : e.toExponential()).indexOf("e"), d = e.slice(0, a);
416
416
  return [d.length > 1 ? d[0] + d.slice(2) : d, +e.slice(a + 1)];
417
417
  }
418
- function uf(e) {
419
- return e = Y(Math.abs(e)), e ? e[1] : NaN;
418
+ function hf(e) {
419
+ return e = ee(Math.abs(e)), e ? e[1] : NaN;
420
420
  }
421
- function hf(e, f) {
421
+ function pf(e, f) {
422
422
  return function(a, d) {
423
- for (var c = a.length, t = [], n = 0, r = e[0], b = 0; c > 0 && r > 0 && (b + r + 1 > d && (r = Math.max(1, d - b)), t.push(a.substring(c -= r, c + r)), !((b += r + 1) > d)); ) r = e[n = (n + 1) % e.length];
423
+ for (var c = a.length, t = [], b = 0, n = e[0], r = 0; c > 0 && n > 0 && (r + n + 1 > d && (n = Math.max(1, d - r)), t.push(a.substring(c -= n, c + n)), !((r += n + 1) > d)); ) n = e[b = (b + 1) % e.length];
424
424
  return t.reverse().join(f);
425
425
  };
426
426
  }
427
- function pf(e) {
427
+ function mf(e) {
428
428
  return function(f) {
429
429
  return f.replace(/[0-9]/g, function(a) {
430
430
  return e[+a];
431
431
  });
432
432
  };
433
433
  }
434
- var mf = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
435
- function te(e) {
436
- if (!(f = mf.exec(e))) throw Error("invalid format: " + e);
434
+ var gf = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
435
+ function re(e) {
436
+ if (!(f = gf.exec(e))) throw Error("invalid format: " + e);
437
437
  var f;
438
- return new oe({
438
+ return new le({
439
439
  fill: f[1],
440
440
  align: f[2],
441
441
  sign: f[3],
@@ -448,14 +448,14 @@ function te(e) {
448
448
  type: f[10]
449
449
  });
450
450
  }
451
- te.prototype = oe.prototype;
452
- function oe(e) {
451
+ re.prototype = le.prototype;
452
+ function le(e) {
453
453
  this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
454
454
  }
455
- oe.prototype.toString = function() {
455
+ le.prototype.toString = function() {
456
456
  return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
457
457
  };
458
- function gf(e) {
458
+ function yf(e) {
459
459
  e: for (var f = e.length, a = 1, d = -1, c; a < f; ++a) switch (e[a]) {
460
460
  case ".":
461
461
  d = c = a;
@@ -470,38 +470,38 @@ function gf(e) {
470
470
  }
471
471
  return d > 0 ? e.slice(0, d) + e.slice(c + 1) : e;
472
472
  }
473
- var ee;
474
- function yf(e, f) {
475
- var a = Y(e, f);
476
- if (!a) return ee = void 0, e.toPrecision(f);
477
- var d = a[0], c = a[1], t = c - (ee = Math.max(-8, Math.min(8, Math.floor(c / 3))) * 3) + 1, n = d.length;
478
- return t === n ? d : t > n ? d + Array(t - n + 1).join("0") : t > 0 ? d.slice(0, t) + "." + d.slice(t) : "0." + Array(1 - t).join("0") + Y(e, Math.max(0, f + t - 1))[0];
473
+ var fe;
474
+ function vf(e, f) {
475
+ var a = ee(e, f);
476
+ if (!a) return fe = void 0, e.toPrecision(f);
477
+ var d = a[0], c = a[1], t = c - (fe = Math.max(-8, Math.min(8, Math.floor(c / 3))) * 3) + 1, b = d.length;
478
+ return t === b ? d : t > b ? d + Array(t - b + 1).join("0") : t > 0 ? d.slice(0, t) + "." + d.slice(t) : "0." + Array(1 - t).join("0") + ee(e, Math.max(0, f + t - 1))[0];
479
479
  }
480
- function Ae(e, f) {
481
- var a = Y(e, f);
480
+ function _e(e, f) {
481
+ var a = ee(e, f);
482
482
  if (!a) return e + "";
483
483
  var d = a[0], c = a[1];
484
484
  return c < 0 ? "0." + Array(-c).join("0") + d : d.length > c + 1 ? d.slice(0, c + 1) + "." + d.slice(c + 1) : d + Array(c - d.length + 2).join("0");
485
485
  }
486
- var Re = {
486
+ var Ce = {
487
487
  "%": (e, f) => (e * 100).toFixed(f),
488
488
  b: (e) => Math.round(e).toString(2),
489
489
  c: (e) => e + "",
490
- d: lf,
490
+ d: uf,
491
491
  e: (e, f) => e.toExponential(f),
492
492
  f: (e, f) => e.toFixed(f),
493
493
  g: (e, f) => e.toPrecision(f),
494
494
  o: (e) => Math.round(e).toString(8),
495
- p: (e, f) => Ae(e * 100, f),
496
- r: Ae,
497
- s: yf,
495
+ p: (e, f) => _e(e * 100, f),
496
+ r: _e,
497
+ s: vf,
498
498
  X: (e) => Math.round(e).toString(16).toUpperCase(),
499
499
  x: (e) => Math.round(e).toString(16)
500
500
  };
501
- function Ce(e) {
501
+ function Se(e) {
502
502
  return e;
503
503
  }
504
- var Pe = Array.prototype.map, Se = [
504
+ var Pe = Array.prototype.map, Le = [
505
505
  "y",
506
506
  "z",
507
507
  "a",
@@ -520,138 +520,138 @@ var Pe = Array.prototype.map, Se = [
520
520
  "Z",
521
521
  "Y"
522
522
  ];
523
- function vf(e) {
524
- var f = e.grouping === void 0 || e.thousands === void 0 ? Ce : hf(Pe.call(e.grouping, Number), e.thousands + ""), a = e.currency === void 0 ? "" : e.currency[0] + "", d = e.currency === void 0 ? "" : e.currency[1] + "", c = e.decimal === void 0 ? "." : e.decimal + "", t = e.numerals === void 0 ? Ce : pf(Pe.call(e.numerals, String)), n = e.percent === void 0 ? "%" : e.percent + "", r = e.minus === void 0 ? "−" : e.minus + "", b = e.nan === void 0 ? "NaN" : e.nan + "";
523
+ function wf(e) {
524
+ var f = e.grouping === void 0 || e.thousands === void 0 ? Se : pf(Pe.call(e.grouping, Number), e.thousands + ""), a = e.currency === void 0 ? "" : e.currency[0] + "", d = e.currency === void 0 ? "" : e.currency[1] + "", c = e.decimal === void 0 ? "." : e.decimal + "", t = e.numerals === void 0 ? Se : mf(Pe.call(e.numerals, String)), b = e.percent === void 0 ? "%" : e.percent + "", n = e.minus === void 0 ? "−" : e.minus + "", r = e.nan === void 0 ? "NaN" : e.nan + "";
525
525
  function l(i, p) {
526
- i = te(i);
527
- var y = i.fill, x = i.align, g = i.sign, R = i.symbol, C = i.zero, v = i.width, P = i.comma, $ = i.precision, I = i.trim, w = i.type;
528
- w === "n" ? (P = !0, w = "g") : Re[w] || ($ === void 0 && ($ = 12), I = !0, w = "g"), (C || y === "0" && x === "=") && (C = !0, y = "0", x = "=");
529
- var Oe = (p && p.prefix !== void 0 ? p.prefix : "") + (R === "$" ? a : R === "#" && /[boxX]/.test(w) ? "0" + w.toLowerCase() : ""), Be = (R === "$" ? d : /[%p]/.test(w) ? n : "") + (p && p.suffix !== void 0 ? p.suffix : ""), ue = Re[w], ze = /[defgprs%]/.test(w);
530
- $ = $ === void 0 ? 6 : /[gprs]/.test(w) ? Math.max(1, Math.min(21, $)) : Math.max(0, Math.min(20, $));
531
- function he(s) {
532
- var S = Oe, M = Be, _, pe, J;
533
- if (w === "c") M = ue(s) + M, s = "";
526
+ i = re(i);
527
+ var m = i.fill, v = i.align, y = i.sign, A = i.symbol, _ = i.zero, w = i.width, C = i.comma, k = i.precision, j = i.trim, M = i.type;
528
+ M === "n" ? (C = !0, M = "g") : Ce[M] || (k === void 0 && (k = 12), j = !0, M = "g"), (_ || m === "0" && v === "=") && (_ = !0, m = "0", v = "=");
529
+ var ze = (p && p.prefix !== void 0 ? p.prefix : "") + (A === "$" ? a : A === "#" && /[boxX]/.test(M) ? "0" + M.toLowerCase() : ""), De = (A === "$" ? d : /[%p]/.test(M) ? b : "") + (p && p.suffix !== void 0 ? p.suffix : ""), pe = Ce[M], Ge = /[defgprs%]/.test(M);
530
+ k = k === void 0 ? 6 : /[gprs]/.test(M) ? Math.max(1, Math.min(21, k)) : Math.max(0, Math.min(20, k));
531
+ function me(s) {
532
+ var S = ze, N = De, F, ge, U;
533
+ if (M === "c") N = pe(s) + N, s = "";
534
534
  else {
535
535
  s = +s;
536
- var U = s < 0 || 1 / s < 0;
537
- if (s = isNaN(s) ? b : ue(Math.abs(s), $), I && (s = gf(s)), U && +s == 0 && g !== "+" && (U = !1), S = (U ? g === "(" ? g : r : g === "-" || g === "(" ? "" : g) + S, M = (w === "s" && !isNaN(s) && ee !== void 0 ? Se[8 + ee / 3] : "") + M + (U && g === "(" ? ")" : ""), ze) {
538
- for (_ = -1, pe = s.length; ++_ < pe; ) if (J = s.charCodeAt(_), 48 > J || J > 57) {
539
- M = (J === 46 ? c + s.slice(_ + 1) : s.slice(_)) + M, s = s.slice(0, _);
536
+ var J = s < 0 || 1 / s < 0;
537
+ if (s = isNaN(s) ? r : pe(Math.abs(s), k), j && (s = yf(s)), J && +s == 0 && y !== "+" && (J = !1), S = (J ? y === "(" ? y : n : y === "-" || y === "(" ? "" : y) + S, N = (M === "s" && !isNaN(s) && fe !== void 0 ? Le[8 + fe / 3] : "") + N + (J && y === "(" ? ")" : ""), Ge) {
538
+ for (F = -1, ge = s.length; ++F < ge; ) if (U = s.charCodeAt(F), 48 > U || U > 57) {
539
+ N = (U === 46 ? c + s.slice(F + 1) : s.slice(F)) + N, s = s.slice(0, F);
540
540
  break;
541
541
  }
542
542
  }
543
543
  }
544
- P && !C && (s = f(s, 1 / 0));
545
- var X = S.length + s.length + M.length, A = X < v ? Array(v - X + 1).join(y) : "";
546
- switch (P && C && (s = f(A + s, A.length ? v - M.length : 1 / 0), A = ""), x) {
544
+ C && !_ && (s = f(s, 1 / 0));
545
+ var X = S.length + s.length + N.length, E = X < w ? Array(w - X + 1).join(m) : "";
546
+ switch (C && _ && (s = f(E + s, E.length ? w - N.length : 1 / 0), E = ""), v) {
547
547
  case "<":
548
- s = S + s + M + A;
548
+ s = S + s + N + E;
549
549
  break;
550
550
  case "=":
551
- s = S + A + s + M;
551
+ s = S + E + s + N;
552
552
  break;
553
553
  case "^":
554
- s = A.slice(0, X = A.length >> 1) + S + s + M + A.slice(X);
554
+ s = E.slice(0, X = E.length >> 1) + S + s + N + E.slice(X);
555
555
  break;
556
556
  default:
557
- s = A + S + s + M;
557
+ s = E + S + s + N;
558
558
  break;
559
559
  }
560
560
  return t(s);
561
561
  }
562
- return he.toString = function() {
562
+ return me.toString = function() {
563
563
  return i + "";
564
- }, he;
564
+ }, me;
565
565
  }
566
- function u(i, p) {
567
- var y = Math.max(-8, Math.min(8, Math.floor(uf(p) / 3))) * 3, x = 10 ** -y, g = l((i = te(i), i.type = "f", i), { suffix: Se[8 + y / 3] });
568
- return function(R) {
569
- return g(x * R);
566
+ function h(i, p) {
567
+ var m = Math.max(-8, Math.min(8, Math.floor(hf(p) / 3))) * 3, v = 10 ** -m, y = l((i = re(i), i.type = "f", i), { suffix: Le[8 + m / 3] });
568
+ return function(A) {
569
+ return y(v * A);
570
570
  };
571
571
  }
572
572
  return {
573
573
  format: l,
574
- formatPrefix: u
574
+ formatPrefix: h
575
575
  };
576
576
  }
577
- var Q;
578
- wf({
577
+ var Y;
578
+ Mf({
579
579
  thousands: ",",
580
580
  grouping: [3],
581
581
  currency: ["$", ""]
582
582
  });
583
- function wf(e) {
584
- return Q = vf(e), Q.format, Q.formatPrefix, Q;
583
+ function Mf(e) {
584
+ return Y = wf(e), Y.format, Y.formatPrefix, Y;
585
585
  }
586
- function Mf(e, f, a, d, c) {
587
- var t = e * e, n = t * e;
588
- return ((1 - 3 * e + 3 * t - n) * f + (4 - 6 * t + 3 * n) * a + (1 + 3 * e + 3 * t - 3 * n) * d + n * c) / 6;
586
+ function Nf(e, f, a, d, c) {
587
+ var t = e * e, b = t * e;
588
+ return ((1 - 3 * e + 3 * t - b) * f + (4 - 6 * t + 3 * b) * a + (1 + 3 * e + 3 * t - 3 * b) * d + b * c) / 6;
589
589
  }
590
- function Nf(e) {
590
+ function xf(e) {
591
591
  var f = e.length - 1;
592
592
  return function(a) {
593
- var d = a <= 0 ? a = 0 : a >= 1 ? (a = 1, f - 1) : Math.floor(a * f), c = e[d], t = e[d + 1], n = d > 0 ? e[d - 1] : 2 * c - t, r = d < f - 1 ? e[d + 2] : 2 * t - c;
594
- return Mf((a - d / f) * f, n, c, t, r);
593
+ var d = a <= 0 ? a = 0 : a >= 1 ? (a = 1, f - 1) : Math.floor(a * f), c = e[d], t = e[d + 1], b = d > 0 ? e[d - 1] : 2 * c - t, n = d < f - 1 ? e[d + 2] : 2 * t - c;
594
+ return Nf((a - d / f) * f, b, c, t, n);
595
595
  };
596
596
  }
597
- var se = (e) => () => e;
598
- function _e(e, f) {
597
+ var ue = (e) => () => e;
598
+ function Oe(e, f) {
599
599
  return function(a) {
600
600
  return e + a * f;
601
601
  };
602
602
  }
603
- function xf(e, f, a) {
603
+ function kf(e, f, a) {
604
604
  return e **= +a, f = f ** +a - e, a = 1 / a, function(d) {
605
605
  return (e + d * f) ** +a;
606
606
  };
607
607
  }
608
- function $f(e, f) {
608
+ function Rf(e, f) {
609
609
  var a = f - e;
610
- return a ? _e(e, a > 180 || a < -180 ? a - 360 * Math.round(a / 360) : a) : se(isNaN(e) ? f : e);
610
+ return a ? Oe(e, a > 180 || a < -180 ? a - 360 * Math.round(a / 360) : a) : ue(isNaN(e) ? f : e);
611
611
  }
612
- function kf(e) {
612
+ function $f(e) {
613
613
  return (e = +e) == 1 ? O : function(f, a) {
614
- return a - f ? xf(f, a, e) : se(isNaN(f) ? a : f);
614
+ return a - f ? kf(f, a, e) : ue(isNaN(f) ? a : f);
615
615
  };
616
616
  }
617
617
  function O(e, f) {
618
618
  var a = f - e;
619
- return a ? _e(e, a) : se(isNaN(e) ? f : e);
619
+ return a ? Oe(e, a) : ue(isNaN(e) ? f : e);
620
620
  }
621
621
  (function e(f) {
622
- var a = kf(f);
622
+ var a = $f(f);
623
623
  function d(c, t) {
624
- var n = a((c = q(c)).r, (t = q(t)).r), r = a(c.g, t.g), b = a(c.b, t.b), l = O(c.opacity, t.opacity);
625
- return function(u) {
626
- return c.r = n(u), c.g = r(u), c.b = b(u), c.opacity = l(u), c + "";
624
+ var b = a((c = G(c)).r, (t = G(t)).r), n = a(c.g, t.g), r = a(c.b, t.b), l = O(c.opacity, t.opacity);
625
+ return function(h) {
626
+ return c.r = b(h), c.g = n(h), c.b = r(h), c.opacity = l(h), c + "";
627
627
  };
628
628
  }
629
629
  return d.gamma = e, d;
630
630
  })(1);
631
631
  function Ef(e) {
632
632
  return function(f) {
633
- var a = f.length, d = Array(a), c = Array(a), t = Array(a), n, r;
634
- for (n = 0; n < a; ++n) r = q(f[n]), d[n] = r.r || 0, c[n] = r.g || 0, t[n] = r.b || 0;
635
- return d = e(d), c = e(c), t = e(t), r.opacity = 1, function(b) {
636
- return r.r = d(b), r.g = c(b), r.b = t(b), r + "";
633
+ var a = f.length, d = Array(a), c = Array(a), t = Array(a), b, n;
634
+ for (b = 0; b < a; ++b) n = G(f[b]), d[b] = n.r || 0, c[b] = n.g || 0, t[b] = n.b || 0;
635
+ return d = e(d), c = e(c), t = e(t), n.opacity = 1, function(r) {
636
+ return n.r = d(r), n.g = c(r), n.b = t(r), n + "";
637
637
  };
638
638
  };
639
639
  }
640
- var Af = Ef(Nf);
641
- function He(e) {
640
+ var Af = Ef(xf);
641
+ function Be(e) {
642
642
  return (function f(a) {
643
643
  a = +a;
644
644
  function d(c, t) {
645
- var n = e((c = E(c)).h, (t = E(t)).h), r = O(c.s, t.s), b = O(c.l, t.l), l = O(c.opacity, t.opacity);
646
- return function(u) {
647
- return c.h = n(u), c.s = r(u), c.l = b(u ** +a), c.opacity = l(u), c + "";
645
+ var b = e((c = $(c)).h, (t = $(t)).h), n = O(c.s, t.s), r = O(c.l, t.l), l = O(c.opacity, t.opacity);
646
+ return function(h) {
647
+ return c.h = b(h), c.s = n(h), c.l = r(h ** +a), c.opacity = l(h), c + "";
648
648
  };
649
649
  }
650
650
  return d.gamma = f, d;
651
651
  })(1);
652
652
  }
653
- He($f);
654
- var le = He(O);
653
+ Be(Rf);
654
+ var he = Be(O);
655
655
  function o(e) {
656
656
  for (var f = e.length / 6 | 0, a = Array(f), d = 0; d < f; ) a[d] = "#" + e.slice(d * 6, ++d * 6);
657
657
  return a;
@@ -667,7 +667,7 @@ o("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999");
667
667
  o("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3");
668
668
  o("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");
669
669
  o("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
670
- var h = (e) => Af(e[e.length - 1]), Rf = [
670
+ var u = (e) => Af(e[e.length - 1]), _f = [
671
671
  ,
672
672
  ,
673
673
  ,
@@ -681,7 +681,7 @@ var h = (e) => Af(e[e.length - 1]), Rf = [
681
681
  "5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30",
682
682
  "5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30"
683
683
  ].map(o);
684
- h(Rf);
684
+ u(_f);
685
685
  var Cf = [
686
686
  ,
687
687
  ,
@@ -696,8 +696,8 @@ var Cf = [
696
696
  "40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b",
697
697
  "40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b"
698
698
  ].map(o);
699
- h(Cf);
700
- var Pf = [
699
+ u(Cf);
700
+ var Sf = [
701
701
  ,
702
702
  ,
703
703
  ,
@@ -711,8 +711,8 @@ var Pf = [
711
711
  "8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419",
712
712
  "8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419"
713
713
  ].map(o);
714
- h(Pf);
715
- var Sf = [
714
+ u(Sf);
715
+ var Pf = [
716
716
  ,
717
717
  ,
718
718
  ,
@@ -726,7 +726,7 @@ var Sf = [
726
726
  "2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08",
727
727
  "2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08"
728
728
  ].map(o);
729
- h(Sf);
729
+ u(Pf);
730
730
  var Lf = [
731
731
  ,
732
732
  ,
@@ -741,8 +741,8 @@ var Lf = [
741
741
  "67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061",
742
742
  "67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061"
743
743
  ].map(o);
744
- h(Lf);
745
- var Tf = [
744
+ u(Lf);
745
+ var If = [
746
746
  ,
747
747
  ,
748
748
  ,
@@ -756,8 +756,8 @@ var Tf = [
756
756
  "67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a",
757
757
  "67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a"
758
758
  ].map(o);
759
- h(Tf);
760
- var jf = [
759
+ u(If);
760
+ var Tf = [
761
761
  ,
762
762
  ,
763
763
  ,
@@ -771,8 +771,8 @@ var jf = [
771
771
  "a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695",
772
772
  "a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695"
773
773
  ].map(o);
774
- h(jf);
775
- var Ff = [
774
+ u(Tf);
775
+ var jf = [
776
776
  ,
777
777
  ,
778
778
  ,
@@ -786,8 +786,8 @@ var Ff = [
786
786
  "a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837",
787
787
  "a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837"
788
788
  ].map(o);
789
- h(Ff);
790
- var If = [
789
+ u(jf);
790
+ var Ff = [
791
791
  ,
792
792
  ,
793
793
  ,
@@ -801,8 +801,8 @@ var If = [
801
801
  "9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2",
802
802
  "9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2"
803
803
  ].map(o);
804
- h(If);
805
- var _f = [
804
+ u(Ff);
805
+ var Hf = [
806
806
  ,
807
807
  ,
808
808
  ,
@@ -814,8 +814,8 @@ var _f = [
814
814
  "f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824",
815
815
  "f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b"
816
816
  ].map(o);
817
- h(_f);
818
- var Hf = [
817
+ u(Hf);
818
+ var Of = [
819
819
  ,
820
820
  ,
821
821
  ,
@@ -827,8 +827,8 @@ var Hf = [
827
827
  "f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b",
828
828
  "f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b"
829
829
  ].map(o);
830
- h(Hf);
831
- var Of = [
830
+ u(Of);
831
+ var Bf = [
832
832
  ,
833
833
  ,
834
834
  ,
@@ -840,8 +840,8 @@ var Of = [
840
840
  "f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e",
841
841
  "f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081"
842
842
  ].map(o);
843
- h(Of);
844
- var Bf = [
843
+ u(Bf);
844
+ var zf = [
845
845
  ,
846
846
  ,
847
847
  ,
@@ -853,8 +853,8 @@ var Bf = [
853
853
  "fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000",
854
854
  "fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000"
855
855
  ].map(o);
856
- h(Bf);
857
- var zf = [
856
+ u(zf);
857
+ var Df = [
858
858
  ,
859
859
  ,
860
860
  ,
@@ -866,8 +866,8 @@ var zf = [
866
866
  "fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450",
867
867
  "fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636"
868
868
  ].map(o);
869
- h(zf);
870
- var Df = [
869
+ u(Df);
870
+ var Gf = [
871
871
  ,
872
872
  ,
873
873
  ,
@@ -879,7 +879,7 @@ var Df = [
879
879
  "fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b",
880
880
  "fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858"
881
881
  ].map(o);
882
- h(Df);
882
+ u(Gf);
883
883
  var qf = [
884
884
  ,
885
885
  ,
@@ -892,8 +892,8 @@ var qf = [
892
892
  "f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f",
893
893
  "f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f"
894
894
  ].map(o);
895
- h(qf);
896
- var Gf = [
895
+ u(qf);
896
+ var Uf = [
897
897
  ,
898
898
  ,
899
899
  ,
@@ -905,7 +905,7 @@ var Gf = [
905
905
  "fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177",
906
906
  "fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a"
907
907
  ].map(o);
908
- h(Gf);
908
+ u(Uf);
909
909
  var Jf = [
910
910
  ,
911
911
  ,
@@ -918,8 +918,8 @@ var Jf = [
918
918
  "ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84",
919
919
  "ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58"
920
920
  ].map(o);
921
- h(Jf);
922
- var Uf = [
921
+ u(Jf);
922
+ var Xf = [
923
923
  ,
924
924
  ,
925
925
  ,
@@ -931,8 +931,8 @@ var Uf = [
931
931
  "ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32",
932
932
  "ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529"
933
933
  ].map(o);
934
- h(Uf);
935
- var Xf = [
934
+ u(Xf);
935
+ var Kf = [
936
936
  ,
937
937
  ,
938
938
  ,
@@ -944,7 +944,7 @@ var Xf = [
944
944
  "ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04",
945
945
  "ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506"
946
946
  ].map(o);
947
- h(Xf);
947
+ u(Kf);
948
948
  var Wf = [
949
949
  ,
950
950
  ,
@@ -957,7 +957,7 @@ var Wf = [
957
957
  "ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026",
958
958
  "ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026"
959
959
  ].map(o);
960
- h(Wf);
960
+ u(Wf);
961
961
  var Vf = [
962
962
  ,
963
963
  ,
@@ -970,8 +970,8 @@ var Vf = [
970
970
  "f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594",
971
971
  "f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b"
972
972
  ].map(o);
973
- h(Vf);
974
- var Kf = [
973
+ u(Vf);
974
+ var Qf = [
975
975
  ,
976
976
  ,
977
977
  ,
@@ -983,8 +983,8 @@ var Kf = [
983
983
  "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32",
984
984
  "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b"
985
985
  ].map(o);
986
- h(Kf);
987
- var Qf = [
986
+ u(Qf);
987
+ var Yf = [
988
988
  ,
989
989
  ,
990
990
  ,
@@ -996,7 +996,7 @@ var Qf = [
996
996
  "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525",
997
997
  "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000"
998
998
  ].map(o);
999
- h(Qf);
999
+ u(Yf);
1000
1000
  var Zf = [
1001
1001
  ,
1002
1002
  ,
@@ -1009,8 +1009,8 @@ var Zf = [
1009
1009
  "fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486",
1010
1010
  "fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d"
1011
1011
  ].map(o);
1012
- h(Zf);
1013
- var Yf = [
1012
+ u(Zf);
1013
+ var ea = [
1014
1014
  ,
1015
1015
  ,
1016
1016
  ,
@@ -1022,8 +1022,8 @@ var Yf = [
1022
1022
  "fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d",
1023
1023
  "fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d"
1024
1024
  ].map(o);
1025
- h(Yf);
1026
- var ea = [
1025
+ u(ea);
1026
+ var fa = [
1027
1027
  ,
1028
1028
  ,
1029
1029
  ,
@@ -1035,110 +1035,110 @@ var ea = [
1035
1035
  "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04",
1036
1036
  "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704"
1037
1037
  ].map(o);
1038
- h(ea);
1039
- le(E(300, 0.5, 0), E(-240, 0.5, 1));
1040
- le(E(-100, 0.75, 0.35), E(80, 1.5, 0.8));
1041
- le(E(260, 0.75, 0.35), E(80, 1.5, 0.8));
1042
- E();
1043
- q();
1044
- function de(e) {
1038
+ u(fa);
1039
+ he($(300, 0.5, 0), $(-240, 0.5, 1));
1040
+ he($(-100, 0.75, 0.35), $(80, 1.5, 0.8));
1041
+ he($(260, 0.75, 0.35), $(80, 1.5, 0.8));
1042
+ $();
1043
+ G();
1044
+ function ce(e) {
1045
1045
  var f = e.length;
1046
1046
  return function(a) {
1047
1047
  return e[Math.max(0, Math.min(f - 1, Math.floor(a * f)))];
1048
1048
  };
1049
1049
  }
1050
- de(o("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));
1051
- de(o("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"));
1052
- de(o("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"));
1053
- de(o("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));
1054
- var Le = typeof Float32Array < "u" ? Float32Array : Array;
1055
- function fa() {
1056
- var e = new Le(3);
1057
- return Le != Float32Array && (e[0] = 0, e[1] = 0, e[2] = 0), e;
1050
+ ce(o("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));
1051
+ ce(o("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf"));
1052
+ ce(o("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4"));
1053
+ ce(o("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));
1054
+ var Ie = typeof Float32Array < "u" ? Float32Array : Array;
1055
+ function aa() {
1056
+ var e = new Ie(3);
1057
+ return Ie != Float32Array && (e[0] = 0, e[1] = 0, e[2] = 0), e;
1058
1058
  }
1059
1059
  (function() {
1060
- var e = fa();
1061
- return function(f, a, d, c, t, n) {
1062
- var r, b;
1063
- for (a ||= 3, d ||= 0, b = c ? Math.min(c * a + d, f.length) : f.length, r = d; r < b; r += a) e[0] = f[r], e[1] = f[r + 1], e[2] = f[r + 2], t(e, e, n), f[r] = e[0], f[r + 1] = e[1], f[r + 2] = e[2];
1060
+ var e = aa();
1061
+ return function(f, a, d, c, t, b) {
1062
+ var n, r;
1063
+ for (a ||= 3, d ||= 0, r = c ? Math.min(c * a + d, f.length) : f.length, n = d; n < r; n += a) e[0] = f[n], e[1] = f[n + 1], e[2] = f[n + 2], t(e, e, b), f[n] = e[0], f[n + 1] = e[1], f[n + 2] = e[2];
1064
1064
  return f;
1065
1065
  };
1066
1066
  })();
1067
- function aa(e, f) {
1068
- return f && f.length > 0 ? { type: W.USER, params: f } : e?.mode === De.PERCENTILE ? e.lowerPercentile !== void 0 || e.upperPercentile !== void 0 ? {
1067
+ function da(e, f) {
1068
+ return f && f.length > 0 ? { type: W.USER, params: f } : e?.mode === qe.PERCENTILE ? e.lowerPercentile !== void 0 || e.upperPercentile !== void 0 ? {
1069
1069
  type: W.PERCENTILE,
1070
1070
  params: [e.lowerPercentile ?? 0, e.upperPercentile ?? 100]
1071
1071
  } : { type: W.PERCENTILE } : { type: W.MIN_MAX };
1072
1072
  }
1073
- function da(e, f) {
1073
+ function ca(e, f) {
1074
1074
  return f.split(".").reduce((a, d) => {
1075
1075
  if (!(a == null || typeof a != "object"))
1076
1076
  return a[d];
1077
1077
  }, e);
1078
1078
  }
1079
- function ca(e, f, a) {
1079
+ function ta(e, f, a) {
1080
1080
  const d = f.split("."), c = { ...e };
1081
1081
  let t = c;
1082
- for (let n = 0; n < d.length - 1; n++)
1083
- t[d[n]] = { ...t[d[n]] ?? {} }, t = t[d[n]];
1082
+ for (let b = 0; b < d.length - 1; b++)
1083
+ t[d[b]] = { ...t[d[b]] ?? {} }, t = t[d[b]];
1084
1084
  return t[d[d.length - 1]] = a, c;
1085
1085
  }
1086
- function ta(e, f, a) {
1087
- async function d(c, t, n) {
1088
- let r = {};
1089
- for (const b of t.tables)
1090
- b.type !== void 0 && (r[b.name] = b.type);
1091
- for (const b of n.layerRefs) {
1092
- const l = b.dataRef, u = r[l], i = b.getFnv, p = a?.get(l) ?? await t.getLayer(l), y = {
1086
+ function ba(e, f, a) {
1087
+ async function d(c, t, b) {
1088
+ let n = {};
1089
+ for (const r of t.tables)
1090
+ r.type !== void 0 && (n[r.name] = r.type);
1091
+ for (const r of b.layerRefs) {
1092
+ const l = r.dataRef, h = n[l], i = r.getFnv, p = a?.get(l) ?? await t.getLayer(l), m = {
1093
1093
  ...p,
1094
- features: (p.features ?? []).filter((v) => v.geometry != null)
1094
+ features: (p.features ?? []).filter((w) => w.geometry != null)
1095
1095
  };
1096
- u === "raster" ? c.loadCollection(l, { collection: y, type: "raster", property: i ?? "" }) : c.loadCollection(l, { collection: y, type: u }), b.opacity != null && c.updateRenderInfo(l, { opacity: b.opacity }), b.isColorMap && c.updateRenderInfo(l, { isColorMap: !0 }), b.isPick && c.updateRenderInfo(l, { isPick: !0 }), b.isSkip && c.updateRenderInfo(l, { isSkip: !0 });
1097
- const { catchAllCategory: x, colorMapDomain: g } = b;
1098
- let R = y, C = g;
1099
- if (i && x && g?.length) {
1100
- const v = new Set(g);
1101
- R = {
1102
- ...y,
1103
- features: y.features.map((P) => {
1104
- const $ = P.properties, I = da($, i);
1105
- return I == null || !v.has(String(I)) ? { ...P, properties: ca($, i, x) } : P;
1096
+ h === "raster" ? c.loadCollection(l, { collection: m, type: "raster", property: i ?? "" }) : c.loadCollection(l, { collection: m, type: h }), r.opacity != null && c.updateRenderInfo(l, { opacity: r.opacity }), r.isColorMap && c.updateRenderInfo(l, { isColorMap: !0 }), r.isPick && c.updateRenderInfo(l, { isPick: !0 }), r.isSkip && c.updateRenderInfo(l, { isSkip: !0 });
1097
+ const { catchAllCategory: v, colorMapDomain: y } = r;
1098
+ let A = m, _ = y;
1099
+ if (i && v && y?.length) {
1100
+ const w = new Set(y);
1101
+ A = {
1102
+ ...m,
1103
+ features: m.features.map((C) => {
1104
+ const k = C.properties, j = ca(k, i);
1105
+ return j == null || !w.has(String(j)) ? { ...C, properties: ta(k, i, v) } : C;
1106
1106
  })
1107
- }, C = v.has(x) ? g : [...g, x];
1107
+ }, _ = w.has(v) ? y : [...y, v];
1108
1108
  }
1109
- if (b.colorMapInterpolator) {
1110
- const v = {
1109
+ if (r.colorMapInterpolator) {
1110
+ const w = {
1111
1111
  // urban-grammar ColorMapInterpolator values are string-compatible
1112
1112
  // with autk-core ColorMapInterpolator at runtime
1113
- interpolator: b.colorMapInterpolator,
1114
- domainSpec: aa(b.normalization, C)
1113
+ interpolator: r.colorMapInterpolator,
1114
+ domainSpec: da(r.normalization, _)
1115
1115
  };
1116
- c.updateRenderInfo(l, { colormap: { config: v }, isColorMap: !0 });
1116
+ c.updateRenderInfo(l, { colormap: { config: w }, isColorMap: !0 });
1117
1117
  }
1118
- if (i && u !== "raster") {
1119
- const v = i.startsWith("properties.") ? i : `properties.${i}`;
1120
- c.updateThematic(l, { collection: R, property: v });
1118
+ if (i && h !== "raster") {
1119
+ const w = i.startsWith("properties.") ? i : `properties.${i}`;
1120
+ c.updateThematic(l, { collection: A, property: w });
1121
1121
  }
1122
1122
  }
1123
1123
  }
1124
1124
  return {
1125
- async resolveMap(c, t, n = 0) {
1125
+ async resolveMap(c, t, b = 0) {
1126
1126
  if (e && e.map && c) {
1127
- let r;
1128
- if (Array.isArray(e.map) ? r = document.getElementById(e.map[n]) : r = document.getElementById(e.map), !r)
1127
+ let n;
1128
+ if (Array.isArray(e.map) ? n = document.getElementById(e.map[b]) : n = document.getElementById(e.map), !n)
1129
1129
  throw new Error("Could not find rendering target for map: " + e.map);
1130
- if (!(r instanceof HTMLCanvasElement))
1130
+ if (!(n instanceof HTMLCanvasElement))
1131
1131
  throw new Error("Target for map is not a canvas: " + e.map);
1132
- const b = new Je(r);
1133
- if (t.style && Ue.setPredefinedStyle(t.style), await b.init(), await d(b, c, t), f)
1132
+ const r = new Xe(n);
1133
+ if (t.style && Ke.setPredefinedStyle(t.style), await r.init(), await d(r, c, t), f)
1134
1134
  for (const l of t.layerRefs)
1135
- f.set(l.dataRef, b);
1136
- b.draw();
1135
+ f.set(l.dataRef, r);
1136
+ r.draw();
1137
1137
  }
1138
1138
  }
1139
1139
  };
1140
1140
  }
1141
- function ba(e) {
1141
+ function ra(e) {
1142
1142
  return {
1143
1143
  scatter: "scatterplot",
1144
1144
  bar: "barchart",
@@ -1149,41 +1149,41 @@ function ba(e) {
1149
1149
  heatmatrix: "heatmatrix"
1150
1150
  }[e];
1151
1151
  }
1152
- function ra(e, f, a) {
1152
+ function na(e, f, a, d, c) {
1153
1153
  return {
1154
- async resolvePlot(d, c) {
1154
+ async resolvePlot(t, b) {
1155
1155
  if (!e || !e.plot) return;
1156
- const t = document.getElementById(e.plot);
1157
- if (!t) throw new Error(`Could not find plot target: ${e.plot}`);
1158
- const n = d;
1159
- if (!n) throw new Error("No data context available for plot.");
1160
- const r = a?.get(c.dataRef) ?? await n.getLayer(c.dataRef), b = c.events ?? [], l = new We(t, {
1161
- type: ba(c.mark),
1162
- collection: r,
1163
- attributes: { axis: c.axis, ...c.color && { color: c.color } },
1164
- labels: { axis: c.axis, title: c.title },
1165
- events: b,
1166
- ...c.width && { width: c.width },
1167
- ...c.height && { height: c.height },
1168
- ...c.margins && { margins: c.margins },
1169
- ...c.transform && { transform: c.transform }
1156
+ const n = document.getElementById(e.plot);
1157
+ if (!n) throw new Error(`Could not find plot target: ${e.plot}`);
1158
+ const r = t;
1159
+ if (!r) throw new Error("No data context available for plot.");
1160
+ const l = c?.get(b.dataRef) ?? await r.getLayer(b.dataRef), h = b.events ?? [], i = new We(n, {
1161
+ type: ra(b.mark),
1162
+ collection: l,
1163
+ attributes: { axis: b.axis, ...b.color && { color: b.color } },
1164
+ labels: { axis: b.axis, title: b.title },
1165
+ events: h,
1166
+ ...b.width && { width: b.width },
1167
+ ...b.height && { height: b.height },
1168
+ ...b.margins && { margins: b.margins },
1169
+ ...b.transform && { transform: b.transform }
1170
1170
  });
1171
- if (c.mapRef && f) {
1172
- const u = f.get(c.mapRef);
1173
- if (u) {
1174
- u.updateRenderInfo(c.mapRef, { isPick: !0 }), u.events.on(Xe.PICKING, ({ selection: i }) => {
1175
- l.setSelection(i);
1171
+ if (a?.set(b.dataRef, i), b.mapRef && d?.set(b.dataRef, b.mapRef), b.mapRef && f) {
1172
+ const p = f.get(b.mapRef);
1173
+ if (p) {
1174
+ p.updateRenderInfo(b.mapRef, { isPick: !0 }), p.events.on(be.PICKING, ({ selection: m }) => {
1175
+ i.setSelection(m);
1176
1176
  });
1177
- for (const i of b)
1178
- l.events.on(i, ({ selection: p }) => {
1179
- u.setHighlightedIds(c.mapRef, p);
1177
+ for (const m of h)
1178
+ i.events.on(m, ({ selection: v }) => {
1179
+ p.setHighlightedIds(b.mapRef, v);
1180
1180
  });
1181
1181
  }
1182
1182
  }
1183
1183
  }
1184
1184
  };
1185
1185
  }
1186
- function na(e) {
1186
+ function ia(e) {
1187
1187
  return {
1188
1188
  async resolveCompute(f, a) {
1189
1189
  if (f) {
@@ -1204,7 +1204,19 @@ function na(e) {
1204
1204
  }
1205
1205
  };
1206
1206
  }
1207
- class ha {
1207
+ class oa {
1208
+ _listeners = /* @__PURE__ */ new Map();
1209
+ on(f, a) {
1210
+ this._listeners.has(f) || this._listeners.set(f, /* @__PURE__ */ new Set());
1211
+ const d = this._listeners.get(f);
1212
+ return d.add(a), () => d.delete(a);
1213
+ }
1214
+ /** @internal */
1215
+ emit(f, a) {
1216
+ this._listeners.get(f)?.forEach((d) => d(a));
1217
+ }
1218
+ }
1219
+ class ma {
1208
1220
  dataAdapter;
1209
1221
  mapAdapter;
1210
1222
  plotAdapter;
@@ -1212,9 +1224,14 @@ class ha {
1212
1224
  grammarEngine;
1213
1225
  _computeCache = /* @__PURE__ */ new Map();
1214
1226
  _data = {};
1227
+ _mapRegistry = /* @__PURE__ */ new Map();
1228
+ _plotRegistry = /* @__PURE__ */ new Map();
1229
+ _fwdCleanups = [];
1230
+ _plotMapLinks = /* @__PURE__ */ new Map();
1231
+ interactions = new oa();
1215
1232
  constructor(f) {
1216
- const a = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map();
1217
- this.dataAdapter = Ke(f, d), this.mapAdapter = ta(f, a, this._computeCache), this.plotAdapter = ra(f, a, d), this.computeAdapter = na(this._computeCache);
1233
+ const a = /* @__PURE__ */ new Map();
1234
+ this.dataAdapter = Qe(f, a), this.mapAdapter = ba(f, this._mapRegistry, this._computeCache), this.plotAdapter = na(f, this._mapRegistry, this._plotRegistry, this._plotMapLinks, a), this.computeAdapter = ia(this._computeCache);
1218
1235
  }
1219
1236
  /**
1220
1237
  * The coordinate reference system used internally by the autk workspace.
@@ -1239,7 +1256,7 @@ class ha {
1239
1256
  throw new Error("Plot adapter not initialized. Please call the constructor first.");
1240
1257
  if (!this.computeAdapter)
1241
1258
  throw new Error("Compute adapter not initialized. Please call the constructor first.");
1242
- this.grammarEngine = qe({
1259
+ this._mapRegistry.clear(), this._plotRegistry.clear(), this._plotMapLinks.clear(), this.grammarEngine = Ue({
1243
1260
  spec: f,
1244
1261
  adapters: {
1245
1262
  db: this.dataAdapter,
@@ -1247,7 +1264,7 @@ class ha {
1247
1264
  plot: this.plotAdapter,
1248
1265
  compute: this.computeAdapter
1249
1266
  }
1250
- }), await this.grammarEngine.run();
1267
+ }), await this.grammarEngine.run(), this._rewireInteractions();
1251
1268
  const a = this.grammarEngine.context;
1252
1269
  if (!a) {
1253
1270
  console.warn("Grammar engine produced no data context."), this._data = {};
@@ -1265,10 +1282,71 @@ class ha {
1265
1282
  });
1266
1283
  this._data = d;
1267
1284
  }
1285
+ /**
1286
+ * Highlights features on the map layer identified by `layerId`.
1287
+ * If that layer is linked to a plot via `mapRef`, the plot selection is updated too.
1288
+ */
1289
+ highlightOnMap(f, a) {
1290
+ this._mapRegistry.get(f)?.setHighlightedIds(f, a);
1291
+ for (const [d, c] of this._plotMapLinks)
1292
+ c === f && this._plotRegistry.get(d)?.setSelection(a);
1293
+ }
1294
+ /**
1295
+ * Clears highlighted features on the map layer identified by `layerId`.
1296
+ * If that layer is linked to a plot via `mapRef`, the plot selection is cleared too.
1297
+ */
1298
+ clearHighlightOnMap(f) {
1299
+ this._mapRegistry.get(f)?.clearHighlightedIds(f);
1300
+ for (const [a, d] of this._plotMapLinks)
1301
+ d === f && this._plotRegistry.get(a)?.setSelection([]);
1302
+ }
1303
+ /**
1304
+ * Clears the selection on the plot identified by `plotId` (its dataRef).
1305
+ * If that plot is linked to a map via `mapRef`, the map highlight is cleared too.
1306
+ */
1307
+ clearHighlightOnPlot(f) {
1308
+ this._plotRegistry.get(f)?.setSelection([]);
1309
+ const a = this._plotMapLinks.get(f);
1310
+ a && this._mapRegistry.get(a)?.clearHighlightedIds(a);
1311
+ }
1312
+ /**
1313
+ * Applies a selection to the plot identified by `plotId` (its dataRef).
1314
+ * If that plot is linked to a map via `mapRef`, the map highlight is updated too.
1315
+ */
1316
+ setPlotSelection(f, a) {
1317
+ this._plotRegistry.get(f)?.setSelection(a);
1318
+ const d = this._plotMapLinks.get(f);
1319
+ d && this._mapRegistry.get(d)?.setHighlightedIds(d, a);
1320
+ }
1321
+ _rewireInteractions() {
1322
+ for (const a of this._fwdCleanups) a();
1323
+ this._fwdCleanups = [];
1324
+ const f = /* @__PURE__ */ new Set();
1325
+ for (const [a, d] of this._mapRegistry) {
1326
+ if (f.has(d)) continue;
1327
+ f.add(d);
1328
+ const c = ({ selection: t }) => {
1329
+ this.interactions.emit("map:picking", { layerId: a, selection: t });
1330
+ };
1331
+ d.events.on(be.PICKING, c), this._fwdCleanups.push(() => d.events.off(be.PICKING, c));
1332
+ }
1333
+ for (const [a, d] of this._plotRegistry)
1334
+ for (const c of [K.CLICK, K.BRUSH, K.BRUSH_X, K.BRUSH_Y]) {
1335
+ const t = ({ selection: b }) => {
1336
+ this.interactions.emit("plot:selection", {
1337
+ plotId: a,
1338
+ event: c,
1339
+ selection: b
1340
+ });
1341
+ };
1342
+ d.events.on(c, t), this._fwdCleanups.push(() => d.events.off(c, t));
1343
+ }
1344
+ }
1268
1345
  }
1269
1346
  export {
1270
- ha as AutkGrammar,
1271
- ga as ColorMapInterpolator,
1272
- ya as NormalizationMode
1347
+ ma as AutkGrammar,
1348
+ va as ColorMapInterpolator,
1349
+ oa as GrammarEventEmitter,
1350
+ wa as NormalizationMode
1273
1351
  };
1274
1352
  //# sourceMappingURL=autk-grammar.js.map