@maptiler/geocoding-control 0.0.85 → 0.0.86

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/maplibregl.js CHANGED
@@ -2,16 +2,15 @@ var Zs = (r, t, e) => {
2
2
  if (!t.has(r))
3
3
  throw TypeError("Cannot " + e);
4
4
  };
5
- var _n = (r, t, e) => (Zs(r, t, "read from private field"), e ? e.call(r) : t.get(r)), ls = (r, t, e) => {
5
+ var Bn = (r, t, e) => (Zs(r, t, "read from private field"), e ? e.call(r) : t.get(r)), ls = (r, t, e) => {
6
6
  if (t.has(r))
7
7
  throw TypeError("Cannot add the same private member more than once");
8
8
  t instanceof WeakSet ? t.add(r) : t.set(r, e);
9
9
  }, Co = (r, t, e, n) => (Zs(r, t, "write to private field"), n ? n.call(r, e) : t.set(r, e), e);
10
- import * as ol from "@maptiler/sdk";
11
- import * as sl from "maplibre-gl";
10
+ import * as ol from "maplibre-gl";
12
11
  function Zt() {
13
12
  }
14
- function al(r, t) {
13
+ function sl(r, t) {
15
14
  for (const e in t)
16
15
  r[e] = t[e];
17
16
  return r;
@@ -22,7 +21,7 @@ function Ha(r) {
22
21
  function $s() {
23
22
  return /* @__PURE__ */ Object.create(null);
24
23
  }
25
- function Mr(r) {
24
+ function Tr(r) {
26
25
  r.forEach(Ha);
27
26
  }
28
27
  function Wa(r) {
@@ -31,19 +30,19 @@ function Wa(r) {
31
30
  function Di(r, t) {
32
31
  return r != r ? t == t : r !== t || r && typeof r == "object" || typeof r == "function";
33
32
  }
34
- function ul(r) {
33
+ function al(r) {
35
34
  return Object.keys(r).length === 0;
36
35
  }
37
- function ll(r, t, e, n) {
36
+ function ul(r, t, e, n) {
38
37
  if (r) {
39
38
  const i = ja(r, t, e, n);
40
39
  return r[0](i);
41
40
  }
42
41
  }
43
42
  function ja(r, t, e, n) {
44
- return r[1] && n ? al(e.ctx.slice(), r[1](n(t))) : e.ctx;
43
+ return r[1] && n ? sl(e.ctx.slice(), r[1](n(t))) : e.ctx;
45
44
  }
46
- function cl(r, t, e, n) {
45
+ function ll(r, t, e, n) {
47
46
  if (r[2] && n) {
48
47
  const i = r[2](n(e));
49
48
  if (t.dirty === void 0)
@@ -58,13 +57,13 @@ function cl(r, t, e, n) {
58
57
  }
59
58
  return t.dirty;
60
59
  }
61
- function fl(r, t, e, n, i, o) {
60
+ function cl(r, t, e, n, i, o) {
62
61
  if (i) {
63
62
  const s = ja(t, e, n, o);
64
63
  r.p(s, i);
65
64
  }
66
65
  }
67
- function hl(r) {
66
+ function fl(r) {
68
67
  if (r.ctx.length > 32) {
69
68
  const t = [], e = r.ctx.length / 32;
70
69
  for (let n = 0; n < e; n++)
@@ -85,14 +84,14 @@ function We(r, t, e) {
85
84
  function Te(r) {
86
85
  r.parentNode && r.parentNode.removeChild(r);
87
86
  }
88
- function gl(r, t) {
87
+ function hl(r, t) {
89
88
  for (let e = 0; e < r.length; e += 1)
90
89
  r[e] && r[e].d(t);
91
90
  }
92
91
  function oe(r) {
93
92
  return document.createElement(r);
94
93
  }
95
- function Nr(r) {
94
+ function Cr(r) {
96
95
  return document.createElementNS("http://www.w3.org/2000/svg", r);
97
96
  }
98
97
  function Vr(r) {
@@ -104,7 +103,7 @@ function tr() {
104
103
  function Be(r, t, e, n) {
105
104
  return r.addEventListener(t, e, n), () => r.removeEventListener(t, e, n);
106
105
  }
107
- function pl(r) {
106
+ function gl(r) {
108
107
  return function(t) {
109
108
  return t.preventDefault(), r.call(this, t);
110
109
  };
@@ -112,7 +111,7 @@ function pl(r) {
112
111
  function B(r, t, e) {
113
112
  e == null ? r.removeAttribute(t) : r.getAttribute(t) !== e && r.setAttribute(t, e);
114
113
  }
115
- function dl(r) {
114
+ function pl(r) {
116
115
  return Array.from(r.childNodes);
117
116
  }
118
117
  function Hi(r, t) {
@@ -124,7 +123,7 @@ function ea(r, t) {
124
123
  function en(r, t, e) {
125
124
  r.classList[e ? "add" : "remove"](t);
126
125
  }
127
- function vl(r, t, { bubbles: e = !1, cancelable: n = !1 } = {}) {
126
+ function dl(r, t, { bubbles: e = !1, cancelable: n = !1 } = {}) {
128
127
  const i = document.createEvent("CustomEvent");
129
128
  return i.initCustomEvent(r, e, n, t), i;
130
129
  }
@@ -137,15 +136,15 @@ function Ka() {
137
136
  throw new Error("Function called outside component initialization");
138
137
  return Wi;
139
138
  }
140
- function yl(r) {
139
+ function vl(r) {
141
140
  Ka().$$.on_destroy.push(r);
142
141
  }
143
- function ml() {
142
+ function yl() {
144
143
  const r = Ka();
145
144
  return (t, e, { cancelable: n = !1 } = {}) => {
146
145
  const i = r.$$.callbacks[t];
147
146
  if (i) {
148
- const o = vl(t, e, { cancelable: n });
147
+ const o = dl(t, e, { cancelable: n });
149
148
  return i.slice().forEach((s) => {
150
149
  s.call(r, o);
151
150
  }), !o.defaultPrevented;
@@ -155,10 +154,10 @@ function ml() {
155
154
  }
156
155
  const ai = [], ds = [];
157
156
  let li = [];
158
- const na = [], _l = /* @__PURE__ */ Promise.resolve();
157
+ const na = [], ml = /* @__PURE__ */ Promise.resolve();
159
158
  let vs = !1;
160
- function El() {
161
- vs || (vs = !0, _l.then(Qa));
159
+ function _l() {
160
+ vs || (vs = !0, ml.then(Qa));
162
161
  }
163
162
  function ys(r) {
164
163
  li.push(r);
@@ -173,7 +172,7 @@ function Qa() {
173
172
  try {
174
173
  for (; si < ai.length; ) {
175
174
  const t = ai[si];
176
- si++, Xi(t), Il(t.$$);
175
+ si++, Xi(t), El(t.$$);
177
176
  }
178
177
  } catch (t) {
179
178
  throw ai.length = 0, si = 0, t;
@@ -190,29 +189,29 @@ function Qa() {
190
189
  na.pop()();
191
190
  vs = !1, cs.clear(), Xi(r);
192
191
  }
193
- function Il(r) {
192
+ function El(r) {
194
193
  if (r.fragment !== null) {
195
- r.update(), Mr(r.before_update);
194
+ r.update(), Tr(r.before_update);
196
195
  const t = r.dirty;
197
196
  r.dirty = [-1], r.fragment && r.fragment.p(r.ctx, t), r.after_update.forEach(ys);
198
197
  }
199
198
  }
200
- function Cl(r) {
199
+ function Il(r) {
201
200
  const t = [], e = [];
202
201
  li.forEach((n) => r.indexOf(n) === -1 ? t.push(n) : e.push(n)), e.forEach((n) => n()), li = t;
203
202
  }
204
203
  const bo = /* @__PURE__ */ new Set();
205
- let zr;
204
+ let kr;
206
205
  function ra() {
207
- zr = {
206
+ kr = {
208
207
  r: 0,
209
208
  c: [],
210
- p: zr
209
+ p: kr
211
210
  // parent group
212
211
  };
213
212
  }
214
213
  function ia() {
215
- zr.r || Mr(zr.c), zr = zr.p;
214
+ kr.r || Tr(kr.c), kr = kr.p;
216
215
  }
217
216
  function Je(r, t) {
218
217
  r && r.i && (bo.delete(r), r.i(t));
@@ -221,7 +220,7 @@ function $n(r, t, e, n) {
221
220
  if (r && r.o) {
222
221
  if (bo.has(r))
223
222
  return;
224
- bo.add(r), zr.c.push(() => {
223
+ bo.add(r), kr.c.push(() => {
225
224
  bo.delete(r), n && (e && r.d(1), n());
226
225
  }), r.o(t);
227
226
  } else
@@ -234,15 +233,15 @@ function ji(r, t, e, n) {
234
233
  const { fragment: i, after_update: o } = r.$$;
235
234
  i && i.m(t, e), n || ys(() => {
236
235
  const s = r.$$.on_mount.map(Ha).filter(Wa);
237
- r.$$.on_destroy ? r.$$.on_destroy.push(...s) : Mr(s), r.$$.on_mount = [];
236
+ r.$$.on_destroy ? r.$$.on_destroy.push(...s) : Tr(s), r.$$.on_mount = [];
238
237
  }), o.forEach(ys);
239
238
  }
240
239
  function Ki(r, t) {
241
240
  const e = r.$$;
242
- e.fragment !== null && (Cl(e.after_update), Mr(e.on_destroy), e.fragment && e.fragment.d(t), e.on_destroy = e.fragment = null, e.ctx = []);
241
+ e.fragment !== null && (Il(e.after_update), Tr(e.on_destroy), e.fragment && e.fragment.d(t), e.on_destroy = e.fragment = null, e.ctx = []);
243
242
  }
244
- function Nl(r, t) {
245
- r.$$.dirty[0] === -1 && (ai.push(r), El(), r.$$.dirty.fill(0)), r.$$.dirty[t / 31 | 0] |= 1 << t % 31;
243
+ function Cl(r, t) {
244
+ r.$$.dirty[0] === -1 && (ai.push(r), _l(), r.$$.dirty.fill(0)), r.$$.dirty[t / 31 | 0] |= 1 << t % 31;
246
245
  }
247
246
  function Ti(r, t, e, n, i, o, s, a = [-1]) {
248
247
  const u = Wi;
@@ -272,10 +271,10 @@ function Ti(r, t, e, n, i, o, s, a = [-1]) {
272
271
  let c = !1;
273
272
  if (l.ctx = e ? e(r, t.props || {}, (f, h, ...g) => {
274
273
  const p = g.length ? g[0] : h;
275
- return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), c && Nl(r, f)), h;
276
- }) : [], l.update(), c = !0, Mr(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
274
+ return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), c && Cl(r, f)), h;
275
+ }) : [], l.update(), c = !0, Tr(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
277
276
  if (t.hydrate) {
278
- const f = dl(t.target);
277
+ const f = pl(t.target);
279
278
  l.fragment && l.fragment.l(f), f.forEach(Te);
280
279
  } else
281
280
  l.fragment && l.fragment.c();
@@ -297,14 +296,14 @@ class Mi {
297
296
  };
298
297
  }
299
298
  $set(t) {
300
- this.$$set && !ul(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
299
+ this.$$set && !al(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
301
300
  }
302
301
  }
303
- function xl(r) {
302
+ function Nl(r) {
304
303
  let t, e;
305
304
  return {
306
305
  c() {
307
- t = Nr("svg"), e = Nr("path"), B(e, "d", "M3.8 2.5c-.6 0-1.3.7-1.3 1.3 0 .3.2.7.5.8L7.2 9 3 13.2c-.3.3-.5.7-.5 1 0 .6.7 1.3 1.3 1.3.3 0 .7-.2 1-.5L9 10.8l4.2 4.2c.2.3.7.3 1 .3.6 0 1.3-.7 1.3-1.3 0-.3-.2-.7-.3-1l-4.4-4L15 4.6c.3-.2.5-.5.5-.8 0-.7-.7-1.3-1.3-1.3-.3 0-.7.2-1 .3L9 7.1 4.8 2.8c-.3-.1-.7-.3-1-.3z"), B(t, "viewBox", "0 0 18 18"), B(t, "width", "16"), B(t, "height", "16"), B(t, "class", "svelte-en2qvf");
306
+ t = Cr("svg"), e = Cr("path"), B(e, "d", "M3.8 2.5c-.6 0-1.3.7-1.3 1.3 0 .3.2.7.5.8L7.2 9 3 13.2c-.3.3-.5.7-.5 1 0 .6.7 1.3 1.3 1.3.3 0 .7-.2 1-.5L9 10.8l4.2 4.2c.2.3.7.3 1 .3.6 0 1.3-.7 1.3-1.3 0-.3-.2-.7-.3-1l-4.4-4L15 4.6c.3-.2.5-.5.5-.8 0-.7-.7-1.3-1.3-1.3-.3 0-.7.2-1 .3L9 7.1 4.8 2.8c-.3-.1-.7-.3-1-.3z"), B(t, "viewBox", "0 0 18 18"), B(t, "width", "16"), B(t, "height", "16"), B(t, "class", "svelte-en2qvf");
308
307
  },
309
308
  m(n, i) {
310
309
  We(n, t, i), ct(t, e);
@@ -317,12 +316,12 @@ function xl(r) {
317
316
  }
318
317
  };
319
318
  }
320
- class Sl extends Mi {
319
+ class xl extends Mi {
321
320
  constructor(t) {
322
- super(), Ti(this, t, null, xl, Di, {});
321
+ super(), Ti(this, t, null, Nl, Di, {});
323
322
  }
324
323
  }
325
- function wl(r) {
324
+ function Sl(r) {
326
325
  let t;
327
326
  return {
328
327
  c() {
@@ -339,16 +338,16 @@ function wl(r) {
339
338
  }
340
339
  };
341
340
  }
342
- class Ll extends Mi {
341
+ class wl extends Mi {
343
342
  constructor(t) {
344
- super(), Ti(this, t, null, wl, Di, {});
343
+ super(), Ti(this, t, null, Sl, Di, {});
345
344
  }
346
345
  }
347
- function bl(r) {
346
+ function Ll(r) {
348
347
  let t, e;
349
348
  return {
350
349
  c() {
351
- t = Nr("svg"), e = Nr("path"), B(e, "d", "M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"), B(t, "viewBox", "0 0 60.006 21.412"), B(t, "width", "14"), B(t, "height", "20"), B(t, "class", "svelte-en2qvf");
350
+ t = Cr("svg"), e = Cr("path"), B(e, "d", "M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"), B(t, "viewBox", "0 0 60.006 21.412"), B(t, "width", "14"), B(t, "height", "20"), B(t, "class", "svelte-en2qvf");
352
351
  },
353
352
  m(n, i) {
354
353
  We(n, t, i), ct(t, e);
@@ -361,16 +360,16 @@ function bl(r) {
361
360
  }
362
361
  };
363
362
  }
364
- class Pl extends Mi {
363
+ class bl extends Mi {
365
364
  constructor(t) {
366
- super(), Ti(this, t, null, bl, Di, {});
365
+ super(), Ti(this, t, null, Ll, Di, {});
367
366
  }
368
367
  }
369
- function Rl(r) {
368
+ function Pl(r) {
370
369
  let t, e;
371
370
  return {
372
371
  c() {
373
- t = Nr("svg"), e = Nr("path"), B(e, "d", "M7.4 2.5c-2.7 0-4.9 2.2-4.9 4.9s2.2 4.9 4.9 4.9c1 0 1.8-.2 2.5-.8l3.7 3.7c.2.2.4.3.8.3.7 0 1.1-.4 1.1-1.1 0-.3-.1-.5-.3-.8L11.4 10c.4-.8.8-1.6.8-2.5.1-2.8-2.1-5-4.8-5zm0 1.6c1.8 0 3.2 1.4 3.2 3.2s-1.4 3.2-3.2 3.2-3.3-1.3-3.3-3.1 1.4-3.3 3.3-3.3z"), B(t, "viewBox", "0 0 18 18"), B(t, "xml:space", "preserve"), B(t, "width", "20"), B(t, "class", "svelte-en2qvf");
372
+ t = Cr("svg"), e = Cr("path"), B(e, "d", "M7.4 2.5c-2.7 0-4.9 2.2-4.9 4.9s2.2 4.9 4.9 4.9c1 0 1.8-.2 2.5-.8l3.7 3.7c.2.2.4.3.8.3.7 0 1.1-.4 1.1-1.1 0-.3-.1-.5-.3-.8L11.4 10c.4-.8.8-1.6.8-2.5.1-2.8-2.1-5-4.8-5zm0 1.6c1.8 0 3.2 1.4 3.2 3.2s-1.4 3.2-3.2 3.2-3.3-1.3-3.3-3.1 1.4-3.3 3.3-3.3z"), B(t, "viewBox", "0 0 18 18"), B(t, "xml:space", "preserve"), B(t, "width", "20"), B(t, "class", "svelte-en2qvf");
374
373
  },
375
374
  m(n, i) {
376
375
  We(n, t, i), ct(t, e);
@@ -383,9 +382,9 @@ function Rl(r) {
383
382
  }
384
383
  };
385
384
  }
386
- class Ol extends Mi {
385
+ class Rl extends Mi {
387
386
  constructor(t) {
388
- super(), Ti(this, t, null, Rl, Di, {});
387
+ super(), Ti(this, t, null, Pl, Di, {});
389
388
  }
390
389
  }
391
390
  function oa(r, t, e) {
@@ -394,7 +393,7 @@ function oa(r, t, e) {
394
393
  }
395
394
  function sa(r) {
396
395
  let t, e;
397
- return t = new Ll({}), {
396
+ return t = new wl({}), {
398
397
  c() {
399
398
  Oo(t.$$.fragment);
400
399
  },
@@ -414,14 +413,14 @@ function sa(r) {
414
413
  }
415
414
  function aa(r) {
416
415
  let t, e, n, i, o;
417
- return e = new Pl({}), {
416
+ return e = new bl({}), {
418
417
  c() {
419
418
  t = oe("button"), Oo(e.$$.fragment), B(t, "type", "button"), B(
420
419
  t,
421
420
  "title",
422
421
  /*reverseButtonTitle*/
423
422
  r[9]
424
- ), B(t, "class", "svelte-1qszo8o"), en(
423
+ ), B(t, "class", "svelte-15dr9yr"), en(
425
424
  t,
426
425
  "active",
427
426
  /*reverseActive*/
@@ -462,7 +461,7 @@ function aa(r) {
462
461
  }
463
462
  };
464
463
  }
465
- function Dl(r) {
464
+ function Ol(r) {
466
465
  let t, e, n, i = (
467
466
  /*listFeatures*/
468
467
  r[12]
@@ -474,7 +473,7 @@ function Dl(r) {
474
473
  t = oe("ul");
475
474
  for (let s = 0; s < o.length; s += 1)
476
475
  o[s].c();
477
- B(t, "class", "svelte-1qszo8o");
476
+ B(t, "class", "svelte-15dr9yr");
478
477
  },
479
478
  m(s, a) {
480
479
  We(s, t, a);
@@ -511,18 +510,18 @@ function Dl(r) {
511
510
  }
512
511
  },
513
512
  d(s) {
514
- s && Te(t), gl(o, s), e = !1, Mr(n);
513
+ s && Te(t), hl(o, s), e = !1, Tr(n);
515
514
  }
516
515
  };
517
516
  }
518
- function Tl(r) {
517
+ function Dl(r) {
519
518
  let t, e;
520
519
  return {
521
520
  c() {
522
521
  t = oe("div"), e = Vr(
523
522
  /*noResultsMessage*/
524
523
  r[7]
525
- ), B(t, "class", "no-results svelte-1qszo8o");
524
+ ), B(t, "class", "no-results svelte-15dr9yr");
526
525
  },
527
526
  m(n, i) {
528
527
  We(n, t, i), ct(t, e);
@@ -540,7 +539,7 @@ function Tl(r) {
540
539
  }
541
540
  };
542
541
  }
543
- function Ml(r) {
542
+ function Tl(r) {
544
543
  let t = "", e;
545
544
  return {
546
545
  c() {
@@ -555,14 +554,14 @@ function Ml(r) {
555
554
  }
556
555
  };
557
556
  }
558
- function Al(r) {
557
+ function Ml(r) {
559
558
  let t, e;
560
559
  return {
561
560
  c() {
562
561
  t = oe("div"), e = Vr(
563
562
  /*errorMessage*/
564
563
  r[6]
565
- ), B(t, "class", "error svelte-1qszo8o");
564
+ ), B(t, "class", "error svelte-15dr9yr");
566
565
  },
567
566
  m(n, i) {
568
567
  We(n, t, i), ct(t, e);
@@ -589,7 +588,7 @@ function ua(r) {
589
588
  ), n;
590
589
  return {
591
590
  c() {
592
- t = oe("span"), n = Vr(e), B(t, "class", "line2 svelte-1qszo8o");
591
+ t = oe("span"), n = Vr(e), B(t, "class", "line2 svelte-15dr9yr");
593
592
  },
594
593
  m(s, a) {
595
594
  We(s, t, a), ct(t, n);
@@ -637,9 +636,9 @@ function la(r) {
637
636
  }
638
637
  return {
639
638
  c() {
640
- t = oe("li"), e = oe("span"), n = oe("span"), i = oe("span"), s = Vr(o), a = tr(), u = oe("span"), c = Vr(l), f = tr(), d && d.c(), h = tr(), B(i, "class", "primary svelte-1qszo8o"), B(u, "class", "secondary svelte-1qszo8o"), B(n, "class", "line1 svelte-1qszo8o"), B(e, "class", "texts svelte-1qszo8o"), B(t, "tabindex", "0"), B(t, "data-selected", g = /*selectedItemIndex*/
639
+ t = oe("li"), e = oe("span"), n = oe("span"), i = oe("span"), s = Vr(o), a = tr(), u = oe("span"), c = Vr(l), f = tr(), d && d.c(), h = tr(), B(i, "class", "primary svelte-15dr9yr"), B(u, "class", "secondary svelte-15dr9yr"), B(n, "class", "line1 svelte-15dr9yr"), B(e, "class", "texts svelte-15dr9yr"), B(t, "tabindex", "0"), B(t, "data-selected", g = /*selectedItemIndex*/
641
640
  r[13] === /*i*/
642
- r[71]), B(t, "class", "svelte-1qszo8o"), en(
641
+ r[71]), B(t, "class", "svelte-15dr9yr"), en(
643
642
  t,
644
643
  "selected",
645
644
  /*selectedItemIndex*/
@@ -672,13 +671,13 @@ function la(r) {
672
671
  );
673
672
  },
674
673
  d(C) {
675
- C && Te(t), d && d.d(), p = !1, Mr(m);
674
+ C && Te(t), d && d.d(), p = !1, Tr(m);
676
675
  }
677
676
  };
678
677
  }
679
- function Fl(r) {
678
+ function Al(r) {
680
679
  let t, e, n, i, o, s, a, u, l, c, f, h, g, p, m, d, _, I;
681
- i = new Ol({}), c = new Sl({});
680
+ i = new Rl({}), c = new xl({});
682
681
  let C = (
683
682
  /*abortController*/
684
683
  r[17] && sa()
@@ -689,7 +688,7 @@ function Fl(r) {
689
688
  const S = (
690
689
  /*#slots*/
691
690
  r[48].default
692
- ), b = ll(
691
+ ), b = ul(
693
692
  S,
694
693
  r,
695
694
  /*$$scope*/
@@ -702,26 +701,26 @@ function Fl(r) {
702
701
  /*error*/
703
702
  R[16]
704
703
  )
705
- return Al;
704
+ return Ml;
706
705
  if (!/*focusedDelayed*/
707
706
  R[14])
708
- return Ml;
707
+ return Tl;
709
708
  if (
710
709
  /*listFeatures*/
711
710
  ((q = R[12]) == null ? void 0 : q.length) === 0
712
711
  )
713
- return Tl;
712
+ return Dl;
714
713
  if (
715
714
  /*focusedDelayed*/
716
715
  R[14] && /*listFeatures*/
717
716
  ((rt = R[12]) != null && rt.length)
718
717
  )
719
- return Dl;
718
+ return Ol;
720
719
  }
721
720
  let F = A(r), D = F && F(r);
722
721
  return {
723
722
  c() {
724
- t = oe("form"), e = oe("div"), n = oe("button"), Oo(i.$$.fragment), o = tr(), s = oe("input"), a = tr(), u = oe("div"), l = oe("button"), Oo(c.$$.fragment), f = tr(), C && C.c(), h = tr(), N && N.c(), g = tr(), b && b.c(), p = tr(), D && D.c(), B(n, "type", "button"), B(n, "class", "svelte-1qszo8o"), B(
723
+ t = oe("form"), e = oe("div"), n = oe("button"), Oo(i.$$.fragment), o = tr(), s = oe("input"), a = tr(), u = oe("div"), l = oe("button"), Oo(c.$$.fragment), f = tr(), C && C.c(), h = tr(), N && N.c(), g = tr(), b && b.c(), p = tr(), D && D.c(), B(n, "type", "button"), B(n, "class", "svelte-15dr9yr"), B(
725
724
  s,
726
725
  "placeholder",
727
726
  /*placeholder*/
@@ -731,20 +730,20 @@ function Fl(r) {
731
730
  "aria-label",
732
731
  /*placeholder*/
733
732
  r[8]
734
- ), B(s, "class", "svelte-1qszo8o"), B(l, "type", "button"), B(
733
+ ), B(s, "class", "svelte-15dr9yr"), B(l, "type", "button"), B(
735
734
  l,
736
735
  "title",
737
736
  /*clearButtonTitle*/
738
737
  r[3]
739
- ), B(l, "class", "svelte-1qszo8o"), B(u, "class", "clear-button-container svelte-1qszo8o"), en(
738
+ ), B(l, "class", "svelte-15dr9yr"), B(u, "class", "clear-button-container svelte-15dr9yr"), en(
740
739
  u,
741
740
  "displayable",
742
741
  /*searchValue*/
743
742
  r[1] !== ""
744
- ), B(e, "class", "input-group svelte-1qszo8o"), B(t, "tabindex", "0"), B(t, "class", m = ta(
743
+ ), B(e, "class", "input-group svelte-15dr9yr"), B(t, "tabindex", "0"), B(t, "class", m = ta(
745
744
  /*className*/
746
745
  r[2]
747
- ) + " svelte-1qszo8o"), en(
746
+ ) + " svelte-15dr9yr"), en(
748
747
  t,
749
748
  "can-collapse",
750
749
  /*collapsed*/
@@ -800,7 +799,7 @@ function Fl(r) {
800
799
  /*click_handler_1*/
801
800
  r[55]
802
801
  ),
803
- Be(t, "submit", pl(
802
+ Be(t, "submit", gl(
804
803
  /*handleOnSubmit*/
805
804
  r[18]
806
805
  ))
@@ -846,19 +845,19 @@ function Fl(r) {
846
845
  32 && Je(N, 1)) : (N = aa(R), N.c(), Je(N, 1), N.m(e, g)) : N && (ra(), $n(N, 1, 1, () => {
847
846
  N = null;
848
847
  }), ia()), b && b.p && (!d || z[1] & /*$$scope*/
849
- 65536) && fl(
848
+ 65536) && cl(
850
849
  b,
851
850
  S,
852
851
  R,
853
852
  /*$$scope*/
854
853
  R[47],
855
- d ? cl(
854
+ d ? ll(
856
855
  S,
857
856
  /*$$scope*/
858
857
  R[47],
859
858
  z,
860
859
  null
861
- ) : hl(
860
+ ) : fl(
862
861
  /*$$scope*/
863
862
  R[47]
864
863
  ),
@@ -867,7 +866,7 @@ function Fl(r) {
867
866
  4 && m !== (m = ta(
868
867
  /*className*/
869
868
  R[2]
870
- ) + " svelte-1qszo8o")) && B(t, "class", m), (!d || z[0] & /*className, collapsed, searchValue*/
869
+ ) + " svelte-15dr9yr")) && B(t, "class", m), (!d || z[0] & /*className, collapsed, searchValue*/
871
870
  22) && en(
872
871
  t,
873
872
  "can-collapse",
@@ -883,11 +882,11 @@ function Fl(r) {
883
882
  $n(i.$$.fragment, R), $n(c.$$.fragment, R), $n(C), $n(N), $n(b, R), d = !1;
884
883
  },
885
884
  d(R) {
886
- R && Te(t), Ki(i), r[50](null), Ki(c), C && C.d(), N && N.d(), b && b.d(R), D && D.d(), _ = !1, Mr(I);
885
+ R && Te(t), Ki(i), r[50](null), Ki(c), C && C.d(), N && N.d(), b && b.d(R), D && D.d(), _ = !1, Tr(I);
887
886
  }
888
887
  };
889
888
  }
890
- function Bl(r, t, e) {
889
+ function Fl(r, t, e) {
891
890
  const n = t[1], i = t[0], o = n - i;
892
891
  return r === n && e ? r : ((r - i) % o + o) % o + i;
893
892
  }
@@ -895,22 +894,22 @@ function ca(r) {
895
894
  let t = [...r];
896
895
  return t[2] < t[0] && (t[2] += 360), t;
897
896
  }
898
- function kl(r, t, e) {
897
+ function Bl(r, t, e) {
899
898
  let n, { $$slots: i = {}, $$scope: o } = t, { class: s = void 0 } = t, { apiKey: a } = t, { bbox: u = void 0 } = t, { clearButtonTitle: l = "clear" } = t, { clearOnBlur: c = !1 } = t, { collapsed: f = !1 } = t, { country: h = void 0 } = t, { debounceSearch: g = 200 } = t, { enableReverse: p = !1 } = t, { errorMessage: m = "Searching failed" } = t, { filter: d = () => !0 } = t, { flyTo: _ = !0 } = t, { fuzzyMatch: I = !0 } = t, { language: C = void 0 } = t, { limit: N = void 0 } = t, { mapController: S = void 0 } = t, { minLength: b = 2 } = t, { noResultsMessage: A = "No results found" } = t, { placeholder: F = "Search" } = t, { proximity: D = void 0 } = t, { reverseActive: R = p === "always" } = t, { reverseButtonTitle: z = "toggle reverse geocoding" } = t, { searchValue: q = "" } = t, { showFullGeometry: rt = !0 } = t, { showPlaceType: O = !1 } = t, { showResultsWhileTyping: Y = !0 } = t, { trackProximity: at = !0 } = t, { types: xt = void 0 } = t, { zoom: qt = 16 } = t, { fetchParameters: ce = {} } = t;
900
- function Br() {
901
- Fn.focus();
899
+ function Fr() {
900
+ An.focus();
902
901
  }
903
902
  function mn() {
904
- Fn.blur();
903
+ An.blur();
905
904
  }
906
- function An(x, At = !0) {
905
+ function Mn(x, At = !0) {
907
906
  e(1, q = x), At ? (e(13, Mt = -1), Qs()) : (os(), setTimeout(() => {
908
- Fn.focus(), Fn.select();
907
+ An.focus(), An.select();
909
908
  }));
910
909
  }
911
- let fe = !1, et, Rt, vt, Ks = "", Fn, Mt = -1, gr, Eo = [], kr, oi, Io;
912
- const pr = ml();
913
- yl(() => {
910
+ let fe = !1, et, Rt, vt, Ks = "", An, Mt = -1, gr, Eo = [], Br, oi, Io;
911
+ const pr = yl();
912
+ vl(() => {
914
913
  S && (S.setEventHandler(void 0), S.indicateReverse(!1), S.setSelectedMarker(-1), S.setMarkers(void 0, void 0));
915
914
  });
916
915
  function Qs(x) {
@@ -920,28 +919,28 @@ function kl(r, t, e) {
920
919
  const At = x || !Js();
921
920
  is(q, { exact: !0 }).then(() => {
922
921
  e(44, Rt = et), e(45, vt = void 0), At && Xu();
923
- }).catch((Bn) => e(16, gr = Bn));
922
+ }).catch((Fn) => e(16, gr = Fn));
924
923
  }
925
924
  }
926
925
  function Js() {
927
926
  return /^-?\d+(\.\d+)?,-?\d+(\.\d+)?$/.test(q);
928
927
  }
929
- async function is(x, { byId: At = !1, exact: Bn = !1 } = {}) {
928
+ async function is(x, { byId: At = !1, exact: Fn = !1 } = {}) {
930
929
  e(16, gr = void 0);
931
- const Gi = Js(), Fe = new URLSearchParams();
932
- C != null && Fe.set("language", Array.isArray(C) ? C.join(",") : C), xt && Fe.set("types", xt.join(",")), Gi || (u && Fe.set("bbox", u.map((dr) => dr.toFixed(6)).join(",")), h && Fe.set("country", Array.isArray(h) ? h.join(",") : h)), At || (D && Fe.set("proximity", D.map((dr) => dr.toFixed(6)).join(",")), (Bn || !Y) && Fe.set("autocomplete", "false"), Fe.set("fuzzyMatch", String(I))), N !== void 0 && Fe.set("limit", String(N)), Fe.set("key", a);
930
+ const ki = Js(), Fe = new URLSearchParams();
931
+ C != null && Fe.set("language", Array.isArray(C) ? C.join(",") : C), xt && Fe.set("types", xt.join(",")), ki || (u && Fe.set("bbox", u.map((dr) => dr.toFixed(6)).join(",")), h && Fe.set("country", Array.isArray(h) ? h.join(",") : h)), At || (D && Fe.set("proximity", D.map((dr) => dr.toFixed(6)).join(",")), (Fn || !Y) && Fe.set("autocomplete", "false"), Fe.set("fuzzyMatch", String(I))), N !== void 0 && Fe.set("limit", String(N)), Fe.set("key", a);
933
932
  const Gr = "https://api.maptiler.com/geocoding/" + encodeURIComponent(x) + ".json?" + Fe.toString();
934
933
  if (Gr === Ks) {
935
934
  At ? (e(12, et = void 0), e(45, vt = Eo[0])) : e(12, et = Eo);
936
935
  return;
937
936
  }
938
- Ks = Gr, kr == null || kr.abort();
937
+ Ks = Gr, Br == null || Br.abort();
939
938
  const ye = new AbortController();
940
- e(17, kr = ye);
939
+ e(17, Br = ye);
941
940
  let as;
942
941
  try {
943
942
  as = await fetch(Gr, { signal: ye.signal, ...ce }).finally(() => {
944
- ye === kr && e(17, kr = void 0);
943
+ ye === Br && e(17, Br = void 0);
945
944
  });
946
945
  } catch (dr) {
947
946
  if (dr && typeof dr == "object" && "name" in dr && dr.name === "AbortError")
@@ -951,19 +950,19 @@ function kl(r, t, e) {
951
950
  if (!as.ok)
952
951
  throw new Error();
953
952
  const us = await as.json();
954
- pr("response", { url: Gr, featureCollection: us }), At ? (e(12, et = void 0), e(45, vt = us.features[0]), Eo = [vt]) : (e(12, et = us.features.filter(d)), Eo = et, Gi && Fn.focus());
953
+ pr("response", { url: Gr, featureCollection: us }), At ? (e(12, et = void 0), e(45, vt = us.features[0]), Eo = [vt]) : (e(12, et = us.features.filter(d)), Eo = et, ki && An.focus());
955
954
  }
956
955
  function Xu() {
957
- var Bn, Gi, Fe, Gr;
956
+ var Fn, ki, Fe, Gr;
958
957
  if (!(Rt != null && Rt.length) || !_)
959
958
  return;
960
959
  const x = [180, 90, -180, -90], At = !Rt.some((ye) => !ye.matching_text);
961
960
  for (const ye of Rt)
962
- (At || !ye.matching_text) && (x[0] = Math.min(x[0], ((Bn = ye.bbox) == null ? void 0 : Bn[0]) ?? ye.center[0]), x[1] = Math.min(x[1], ((Gi = ye.bbox) == null ? void 0 : Gi[1]) ?? ye.center[1]), x[2] = Math.max(x[2], ((Fe = ye.bbox) == null ? void 0 : Fe[2]) ?? ye.center[0]), x[3] = Math.max(x[3], ((Gr = ye.bbox) == null ? void 0 : Gr[3]) ?? ye.center[1]));
961
+ (At || !ye.matching_text) && (x[0] = Math.min(x[0], ((Fn = ye.bbox) == null ? void 0 : Fn[0]) ?? ye.center[0]), x[1] = Math.min(x[1], ((ki = ye.bbox) == null ? void 0 : ki[1]) ?? ye.center[1]), x[2] = Math.max(x[2], ((Fe = ye.bbox) == null ? void 0 : Fe[2]) ?? ye.center[0]), x[3] = Math.max(x[3], ((Gr = ye.bbox) == null ? void 0 : Gr[3]) ?? ye.center[1]));
963
962
  S && Rt.length > 0 && (vt && x[0] === x[2] && x[1] === x[3] ? S.flyTo(vt.center, qt) : S.fitBounds(ca(x), 50));
964
963
  }
965
964
  function Yu(x) {
966
- e(0, R = p === "always"), An(Bl(x[0], [-180, 180], !0).toFixed(6) + "," + x[1].toFixed(6));
965
+ e(0, R = p === "always"), Mn(Fl(x[0], [-180, 180], !0).toFixed(6) + "," + x[1].toFixed(6));
967
966
  }
968
967
  function Hu(x) {
969
968
  if (!et)
@@ -977,7 +976,7 @@ function kl(r, t, e) {
977
976
  const At = q;
978
977
  oi = window.setTimeout(
979
978
  () => {
980
- is(At).catch((Bn) => e(16, gr = Bn));
979
+ is(At).catch((Fn) => e(16, gr = Fn));
981
980
  },
982
981
  x ? g : 0
983
982
  );
@@ -987,17 +986,17 @@ function kl(r, t, e) {
987
986
  function ss(x) {
988
987
  e(45, vt = x), e(1, q = x.place_name), e(13, Mt = -1);
989
988
  }
990
- const Wu = () => Fn.focus();
989
+ const Wu = () => An.focus();
991
990
  function ju(x) {
992
991
  ds[x ? "unshift" : "push"](() => {
993
- Fn = x, e(15, Fn);
992
+ An = x, e(15, An);
994
993
  });
995
994
  }
996
995
  function Ku() {
997
996
  q = this.value, e(1, q), e(11, fe), e(25, c);
998
997
  }
999
998
  const Qu = () => e(11, fe = !0), Ju = () => e(11, fe = !1), Zu = () => os(), $u = () => {
1000
- e(1, q = ""), Fn.focus();
999
+ e(1, q = ""), An.focus();
1001
1000
  }, tl = () => e(0, R = !R), el = (x) => e(13, Mt = x), nl = (x) => ss(x), rl = () => e(13, Mt = -1), il = () => {
1002
1001
  };
1003
1002
  return r.$$set = (x) => {
@@ -1027,7 +1026,7 @@ function kl(r, t, e) {
1027
1026
  break;
1028
1027
  case "markerClick":
1029
1028
  {
1030
- const At = et == null ? void 0 : et.find((Bn) => Bn.id === x.id);
1029
+ const At = et == null ? void 0 : et.find((Fn) => Fn.id === x.id);
1031
1030
  At && ss(At);
1032
1031
  }
1033
1032
  break;
@@ -1073,9 +1072,9 @@ function kl(r, t, e) {
1073
1072
  et,
1074
1073
  Mt,
1075
1074
  Io,
1076
- Fn,
1075
+ An,
1077
1076
  gr,
1078
- kr,
1077
+ Br,
1079
1078
  Qs,
1080
1079
  Hu,
1081
1080
  os,
@@ -1099,9 +1098,9 @@ function kl(r, t, e) {
1099
1098
  xt,
1100
1099
  qt,
1101
1100
  ce,
1102
- Br,
1101
+ Fr,
1103
1102
  mn,
1104
- An,
1103
+ Mn,
1105
1104
  Rt,
1106
1105
  vt,
1107
1106
  n,
@@ -1126,8 +1125,8 @@ let Gl = class extends Mi {
1126
1125
  super(), Ti(
1127
1126
  this,
1128
1127
  t,
1129
- kl,
1130
- Fl,
1128
+ Bl,
1129
+ Al,
1131
1130
  Di,
1132
1131
  {
1133
1132
  class: 2,
@@ -1200,7 +1199,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
1200
1199
  See the Apache Version 2.0 License for specific language governing permissions
1201
1200
  and limitations under the License.
1202
1201
  ***************************************************************************** */
1203
- function zl(r, t) {
1202
+ function kl(r, t) {
1204
1203
  var e = { label: 0, sent: function() {
1205
1204
  if (o[0] & 1)
1206
1205
  throw o[1];
@@ -1265,7 +1264,7 @@ function zl(r, t) {
1265
1264
  return { value: l[0] ? l[1] : void 0, done: !0 };
1266
1265
  }
1267
1266
  }
1268
- var xr = (
1267
+ var Nr = (
1269
1268
  /** @class */
1270
1269
  function() {
1271
1270
  function r(t, e) {
@@ -1274,11 +1273,11 @@ var xr = (
1274
1273
  return r;
1275
1274
  }()
1276
1275
  );
1277
- function Vl(r, t) {
1276
+ function zl(r, t) {
1278
1277
  return r > t ? 1 : r < t ? -1 : 0;
1279
1278
  }
1280
1279
  function mr(r, t, e) {
1281
- for (var n = new xr(null, null), i = n, o = n; ; ) {
1280
+ for (var n = new Nr(null, null), i = n, o = n; ; ) {
1282
1281
  var s = e(r, t.key);
1283
1282
  if (s < 0) {
1284
1283
  if (t.left === null)
@@ -1304,7 +1303,7 @@ function mr(r, t, e) {
1304
1303
  return i.right = t.left, o.left = t.right, t.left = n.right, t.right = n.left, t;
1305
1304
  }
1306
1305
  function fs(r, t, e, n) {
1307
- var i = new xr(r, t);
1306
+ var i = new Nr(r, t);
1308
1307
  if (e === null)
1309
1308
  return i.left = i.right = null, i;
1310
1309
  e = mr(r, e, n);
@@ -1320,7 +1319,7 @@ function fa(r, t, e) {
1320
1319
  }
1321
1320
  return { left: n, right: i };
1322
1321
  }
1323
- function Ul(r, t, e) {
1322
+ function Vl(r, t, e) {
1324
1323
  return t === null ? r : (r === null || (t = mr(r.key, t, e), t.left = r), t);
1325
1324
  }
1326
1325
  function ms(r, t, e, n, i) {
@@ -1335,12 +1334,12 @@ var Ds = (
1335
1334
  /** @class */
1336
1335
  function() {
1337
1336
  function r(t) {
1338
- t === void 0 && (t = Vl), this._root = null, this._size = 0, this._comparator = t;
1337
+ t === void 0 && (t = zl), this._root = null, this._size = 0, this._comparator = t;
1339
1338
  }
1340
1339
  return r.prototype.insert = function(t, e) {
1341
1340
  return this._size++, this._root = fs(t, e, this._root, this._comparator);
1342
1341
  }, r.prototype.add = function(t, e) {
1343
- var n = new xr(t, e);
1342
+ var n = new Nr(t, e);
1344
1343
  this._root === null && (n.left = n.right = null, this._size++, this._root = n);
1345
1344
  var i = this._comparator, o = mr(t, this._root, i), s = i(t, o.key);
1346
1345
  return s === 0 ? this._root = o : (s < 0 ? (n.left = o.left, n.right = o, o.left = null) : s > 0 && (n.right = o.right, n.left = o, o.right = null), this._size++, this._root = n), this._root;
@@ -1463,14 +1462,14 @@ var Ds = (
1463
1462
  }, r.prototype.clear = function() {
1464
1463
  return this._root = null, this._size = 0, this;
1465
1464
  }, r.prototype.toList = function() {
1466
- return Xl(this._root);
1465
+ return ql(this._root);
1467
1466
  }, r.prototype.load = function(t, e, n) {
1468
1467
  e === void 0 && (e = []), n === void 0 && (n = !1);
1469
1468
  var i = t.length, o = this._comparator;
1470
1469
  if (n && Is(t, e, 0, i - 1, o), this._root === null)
1471
1470
  this._root = _s(t, e, 0, i), this._size = i;
1472
1471
  else {
1473
- var s = Yl(this.toList(), ql(t, e), o);
1472
+ var s = Xl(this.toList(), Ul(t, e), o);
1474
1473
  i = this._size + i, this._root = Es({ head: s }, 0, i);
1475
1474
  }
1476
1475
  return this;
@@ -1498,12 +1497,12 @@ var Ds = (
1498
1497
  }, t), e.join("");
1499
1498
  }, r.prototype.update = function(t, e, n) {
1500
1499
  var i = this._comparator, o = fa(t, this._root, i), s = o.left, a = o.right;
1501
- i(t, e) < 0 ? a = fs(e, n, a, i) : s = fs(e, n, s, i), this._root = Ul(s, a, i);
1500
+ i(t, e) < 0 ? a = fs(e, n, a, i) : s = fs(e, n, s, i), this._root = Vl(s, a, i);
1502
1501
  }, r.prototype.split = function(t) {
1503
1502
  return fa(t, this._root, this._comparator);
1504
1503
  }, r.prototype[Symbol.iterator] = function() {
1505
1504
  var t;
1506
- return zl(this, function(e) {
1505
+ return kl(this, function(e) {
1507
1506
  switch (e.label) {
1508
1507
  case 0:
1509
1508
  t = this.minNode(), e.label = 1;
@@ -1524,18 +1523,18 @@ var Ds = (
1524
1523
  function _s(r, t, e, n) {
1525
1524
  var i = n - e;
1526
1525
  if (i > 0) {
1527
- var o = e + Math.floor(i / 2), s = r[o], a = t[o], u = new xr(s, a);
1526
+ var o = e + Math.floor(i / 2), s = r[o], a = t[o], u = new Nr(s, a);
1528
1527
  return u.left = _s(r, t, e, o), u.right = _s(r, t, o + 1, n), u;
1529
1528
  }
1530
1529
  return null;
1531
1530
  }
1532
- function ql(r, t) {
1533
- for (var e = new xr(null, null), n = e, i = 0; i < r.length; i++)
1534
- n = n.next = new xr(r[i], t[i]);
1531
+ function Ul(r, t) {
1532
+ for (var e = new Nr(null, null), n = e, i = 0; i < r.length; i++)
1533
+ n = n.next = new Nr(r[i], t[i]);
1535
1534
  return n.next = null, e.next;
1536
1535
  }
1537
- function Xl(r) {
1538
- for (var t = r, e = [], n = !1, i = new xr(null, null), o = i; !n; )
1536
+ function ql(r) {
1537
+ for (var t = r, e = [], n = !1, i = new Nr(null, null), o = i; !n; )
1539
1538
  t ? (e.push(t), t = t.left) : e.length > 0 ? (t = o = o.next = e.pop(), t = t.right) : n = !0;
1540
1539
  return o.next = null, i.next;
1541
1540
  }
@@ -1547,8 +1546,8 @@ function Es(r, t, e) {
1547
1546
  }
1548
1547
  return null;
1549
1548
  }
1550
- function Yl(r, t, e) {
1551
- for (var n = new xr(null, null), i = n, o = r, s = t; o !== null && s !== null; )
1549
+ function Xl(r, t, e) {
1550
+ for (var n = new Nr(null, null), i = n, o = r, s = t; o !== null && s !== null; )
1552
1551
  e(o.key, s.key) < 0 ? (i.next = o, o = o.next) : (i.next = s, s = s.next), i = i.next;
1553
1552
  return o !== null ? i.next = o : s !== null && (i.next = s), n.next;
1554
1553
  }
@@ -1598,14 +1597,14 @@ var zi = function(t, e) {
1598
1597
  y: s
1599
1598
  }
1600
1599
  };
1601
- }, Er = Number.EPSILON;
1602
- Er === void 0 && (Er = Math.pow(2, -52));
1603
- var Hl = Er * Er, Ns = function(t, e) {
1604
- if (-Er < t && t < Er && -Er < e && e < Er)
1600
+ }, _r = Number.EPSILON;
1601
+ _r === void 0 && (_r = Math.pow(2, -52));
1602
+ var Yl = _r * _r, Ns = function(t, e) {
1603
+ if (-_r < t && t < _r && -_r < e && e < _r)
1605
1604
  return 0;
1606
1605
  var n = t - e;
1607
- return n * n < Hl * t * e ? 0 : t < e ? -1 : 1;
1608
- }, Wl = /* @__PURE__ */ function() {
1606
+ return n * n < Yl * t * e ? 0 : t < e ? -1 : 1;
1607
+ }, Hl = /* @__PURE__ */ function() {
1609
1608
  function r() {
1610
1609
  dn(this, r), this.reset();
1611
1610
  }
@@ -1637,7 +1636,7 @@ var Hl = Er * Er, Ns = function(t, e) {
1637
1636
  return o !== null && Ns(n.key, o.key) === 0 ? (this.tree.remove(e), o.key) : e;
1638
1637
  }
1639
1638
  }]), r;
1640
- }(), Qi = new Wl(), Yi = function(t, e) {
1639
+ }(), Qi = new Hl(), Yi = function(t, e) {
1641
1640
  return t.x * e.y - t.y * e.x;
1642
1641
  }, Ja = function(t, e) {
1643
1642
  return t.x * e.x + t.y * e.y;
@@ -1652,7 +1651,7 @@ var Hl = Er * Er, Ns = function(t, e) {
1652
1651
  return Ns(s, 0);
1653
1652
  }, Do = function(t) {
1654
1653
  return Math.sqrt(Ja(t, t));
1655
- }, jl = function(t, e, n) {
1654
+ }, Wl = function(t, e, n) {
1656
1655
  var i = {
1657
1656
  x: e.x - t.x,
1658
1657
  y: e.y - t.y
@@ -1661,7 +1660,7 @@ var Hl = Er * Er, Ns = function(t, e) {
1661
1660
  y: n.y - t.y
1662
1661
  };
1663
1662
  return Yi(o, i) / Do(o) / Do(i);
1664
- }, Kl = function(t, e, n) {
1663
+ }, jl = function(t, e, n) {
1665
1664
  var i = {
1666
1665
  x: e.x - t.x,
1667
1666
  y: e.y - t.y
@@ -1680,7 +1679,7 @@ var Hl = Er * Er, Ns = function(t, e) {
1680
1679
  x: n,
1681
1680
  y: t.y + e.y / e.x * (n - t.x)
1682
1681
  };
1683
- }, Ql = function(t, e, n, i) {
1682
+ }, Kl = function(t, e, n, i) {
1684
1683
  if (e.x === 0)
1685
1684
  return va(n, i, t.x);
1686
1685
  if (i.x === 0)
@@ -1769,8 +1768,8 @@ var Hl = Er * Er, Ns = function(t, e) {
1769
1768
  var n = this, i = /* @__PURE__ */ new Map(), o = function(a) {
1770
1769
  var u = a.otherSE;
1771
1770
  i.set(a, {
1772
- sine: jl(n.point, e.point, u.point),
1773
- cosine: Kl(n.point, e.point, u.point)
1771
+ sine: Wl(n.point, e.point, u.point),
1772
+ cosine: jl(n.point, e.point, u.point)
1774
1773
  });
1775
1774
  };
1776
1775
  return function(s, a) {
@@ -1780,7 +1779,7 @@ var Hl = Er * Er, Ns = function(t, e) {
1780
1779
  };
1781
1780
  }
1782
1781
  }]), r;
1783
- }(), Jl = 0, To = /* @__PURE__ */ function() {
1782
+ }(), Ql = 0, To = /* @__PURE__ */ function() {
1784
1783
  Ie(r, null, [{
1785
1784
  key: "compare",
1786
1785
  /* This compare() function is for ordering segments in the sweep
@@ -1856,7 +1855,7 @@ var Hl = Er * Er, Ns = function(t, e) {
1856
1855
  * and possibly will be later modified */
1857
1856
  }]);
1858
1857
  function r(t, e, n, i) {
1859
- dn(this, r), this.id = ++Jl, this.leftSE = t, t.segment = this, t.otherSE = e, this.rightSE = e, e.segment = this, e.otherSE = t, this.rings = n, this.windings = i;
1858
+ dn(this, r), this.id = ++Ql, this.leftSE = t, t.segment = this, t.otherSE = e, this.rightSE = e, e.segment = this, e.otherSE = t, this.rings = n, this.windings = i;
1860
1859
  }
1861
1860
  return Ie(r, [{
1862
1861
  key: "replaceRightSE",
@@ -1954,7 +1953,7 @@ var Hl = Er * Er, Ns = function(t, e) {
1954
1953
  return a;
1955
1954
  if (h)
1956
1955
  return l;
1957
- var p = Ql(s, this.vector(), u, e.vector());
1956
+ var p = Kl(s, this.vector(), u, e.vector());
1958
1957
  return p === null || !zi(o, p) ? null : Qi.round(p.x, p.y);
1959
1958
  }
1960
1959
  /**
@@ -2077,7 +2076,7 @@ var Hl = Er * Er, Ns = function(t, e) {
2077
2076
  if (this._isInResult !== void 0)
2078
2077
  return this._isInResult;
2079
2078
  var e = this.beforeState().multiPolys, n = this.afterState().multiPolys;
2080
- switch (Cn.type) {
2079
+ switch (In.type) {
2081
2080
  case "union": {
2082
2081
  var i = e.length === 0, o = n.length === 0;
2083
2082
  this._isInResult = i !== o;
@@ -2085,7 +2084,7 @@ var Hl = Er * Er, Ns = function(t, e) {
2085
2084
  }
2086
2085
  case "intersection": {
2087
2086
  var s, a;
2088
- e.length < n.length ? (s = e.length, a = n.length) : (s = n.length, a = e.length), this._isInResult = a === Cn.numMultiPolys && s < a;
2087
+ e.length < n.length ? (s = e.length, a = n.length) : (s = n.length, a = e.length), this._isInResult = a === In.numMultiPolys && s < a;
2089
2088
  break;
2090
2089
  }
2091
2090
  case "xor": {
@@ -2101,7 +2100,7 @@ var Hl = Er * Er, Ns = function(t, e) {
2101
2100
  break;
2102
2101
  }
2103
2102
  default:
2104
- throw new Error("Unrecognized operation type found ".concat(Cn.type));
2103
+ throw new Error("Unrecognized operation type found ".concat(In.type));
2105
2104
  }
2106
2105
  return this._isInResult;
2107
2106
  }
@@ -2154,7 +2153,7 @@ var Hl = Er * Er, Ns = function(t, e) {
2154
2153
  return e;
2155
2154
  }
2156
2155
  }]), r;
2157
- }(), Zl = /* @__PURE__ */ function() {
2156
+ }(), Jl = /* @__PURE__ */ function() {
2158
2157
  function r(t, e) {
2159
2158
  if (dn(this, r), !Array.isArray(t))
2160
2159
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
@@ -2202,7 +2201,7 @@ var Hl = Er * Er, Ns = function(t, e) {
2202
2201
  }
2203
2202
  };
2204
2203
  for (var n = 0, i = t.length; n < i; n++) {
2205
- var o = new Zl(t[n], this);
2204
+ var o = new Jl(t[n], this);
2206
2205
  o.bbox.ll.x < this.bbox.ll.x && (this.bbox.ll.x = o.bbox.ll.x), o.bbox.ll.y < this.bbox.ll.y && (this.bbox.ll.y = o.bbox.ll.y), o.bbox.ur.x > this.bbox.ur.x && (this.bbox.ur.x = o.bbox.ur.x), o.bbox.ur.y > this.bbox.ur.y && (this.bbox.ur.y = o.bbox.ur.y), this.polys.push(o);
2207
2206
  }
2208
2207
  this.isSubject = e;
@@ -2216,7 +2215,7 @@ var Hl = Er * Er, Ns = function(t, e) {
2216
2215
  return e;
2217
2216
  }
2218
2217
  }]), r;
2219
- }(), $l = /* @__PURE__ */ function() {
2218
+ }(), Zl = /* @__PURE__ */ function() {
2220
2219
  Ie(r, null, [{
2221
2220
  key: "factory",
2222
2221
  /* Given the segments from the sweep line pass, compute & return a series
@@ -2336,7 +2335,7 @@ var Hl = Er * Er, Ns = function(t, e) {
2336
2335
  return e;
2337
2336
  }
2338
2337
  }]), r;
2339
- }(), tc = /* @__PURE__ */ function() {
2338
+ }(), $l = /* @__PURE__ */ function() {
2340
2339
  function r(t) {
2341
2340
  dn(this, r), this.rings = t, this.polys = this._composePolys(t);
2342
2341
  }
@@ -2365,7 +2364,7 @@ var Hl = Er * Er, Ns = function(t, e) {
2365
2364
  return n;
2366
2365
  }
2367
2366
  }]), r;
2368
- }(), ec = /* @__PURE__ */ function() {
2367
+ }(), tc = /* @__PURE__ */ function() {
2369
2368
  function r(t) {
2370
2369
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : To.compare;
2371
2370
  dn(this, r), this.queue = t, this.tree = new Ds(e), this.segments = [];
@@ -2441,20 +2440,20 @@ var Hl = Er * Er, Ns = function(t, e) {
2441
2440
  return o.push(i), e.consumedBy === void 0 && this.tree.insert(e), o;
2442
2441
  }
2443
2442
  }]), r;
2444
- }(), Ea = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, nc = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6, rc = /* @__PURE__ */ function() {
2443
+ }(), Ea = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, ec = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6, nc = /* @__PURE__ */ function() {
2445
2444
  function r() {
2446
2445
  dn(this, r);
2447
2446
  }
2448
2447
  return Ie(r, [{
2449
2448
  key: "run",
2450
2449
  value: function(e, n, i) {
2451
- Cn.type = e, Qi.reset();
2450
+ In.type = e, Qi.reset();
2452
2451
  for (var o = [new ma(n, !0)], s = 0, a = i.length; s < a; s++)
2453
2452
  o.push(new ma(i[s], !1));
2454
- if (Cn.numMultiPolys = o.length, Cn.type === "difference")
2453
+ if (In.numMultiPolys = o.length, In.type === "difference")
2455
2454
  for (var u = o[0], l = 1; l < o.length; )
2456
2455
  Cs(o[l].bbox, u.bbox) !== null ? l++ : o.splice(l, 1);
2457
- if (Cn.type === "intersection") {
2456
+ if (In.type === "intersection") {
2458
2457
  for (var c = 0, f = o.length; c < f; c++)
2459
2458
  for (var h = o[c], g = c + 1, p = o.length; g < p; g++)
2460
2459
  if (Cs(h.bbox, o[g].bbox) === null)
@@ -2464,7 +2463,7 @@ var Hl = Er * Er, Ns = function(t, e) {
2464
2463
  for (var I = o[d].getSweepEvents(), C = 0, N = I.length; C < N; C++)
2465
2464
  if (m.insert(I[C]), m.size > Ea)
2466
2465
  throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big). Please file a bug report.");
2467
- for (var S = new ec(m), b = m.size, A = m.pop(); A; ) {
2466
+ for (var S = new tc(m), b = m.size, A = m.pop(); A; ) {
2468
2467
  var F = A.key;
2469
2468
  if (m.size === b) {
2470
2469
  var D = F.segment;
@@ -2472,7 +2471,7 @@ var Hl = Er * Er, Ns = function(t, e) {
2472
2471
  }
2473
2472
  if (m.size > Ea)
2474
2473
  throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big). Please file a bug report.");
2475
- if (S.segments.length > nc)
2474
+ if (S.segments.length > ec)
2476
2475
  throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments). Please file a bug report.");
2477
2476
  for (var R = S.process(F), z = 0, q = R.length; z < q; z++) {
2478
2477
  var rt = R[z];
@@ -2481,31 +2480,31 @@ var Hl = Er * Er, Ns = function(t, e) {
2481
2480
  b = m.size, A = m.pop();
2482
2481
  }
2483
2482
  Qi.reset();
2484
- var O = $l.factory(S.segments), Y = new tc(O);
2483
+ var O = Zl.factory(S.segments), Y = new $l(O);
2485
2484
  return Y.getGeom();
2486
2485
  }
2487
2486
  }]), r;
2488
- }(), Cn = new rc(), ic = function(t) {
2487
+ }(), In = new nc(), rc = function(t) {
2489
2488
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
2490
2489
  n[i - 1] = arguments[i];
2491
- return Cn.run("union", t, n);
2492
- }, oc = function(t) {
2490
+ return In.run("union", t, n);
2491
+ }, ic = function(t) {
2493
2492
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
2494
2493
  n[i - 1] = arguments[i];
2495
- return Cn.run("intersection", t, n);
2496
- }, sc = function(t) {
2494
+ return In.run("intersection", t, n);
2495
+ }, oc = function(t) {
2497
2496
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
2498
2497
  n[i - 1] = arguments[i];
2499
- return Cn.run("xor", t, n);
2500
- }, ac = function(t) {
2498
+ return In.run("xor", t, n);
2499
+ }, sc = function(t) {
2501
2500
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
2502
2501
  n[i - 1] = arguments[i];
2503
- return Cn.run("difference", t, n);
2502
+ return In.run("difference", t, n);
2504
2503
  }, Za = {
2505
- union: ic,
2506
- intersection: oc,
2507
- xor: sc,
2508
- difference: ac
2504
+ union: rc,
2505
+ intersection: ic,
2506
+ xor: oc,
2507
+ difference: sc
2509
2508
  }, me = 63710088e-1, $a = {
2510
2509
  centimeters: me * 100,
2511
2510
  centimetres: me * 100,
@@ -2528,7 +2527,7 @@ function Yo(r, t, e) {
2528
2527
  var n = { type: "Feature" };
2529
2528
  return (e.id === 0 || e.id) && (n.id = e.id), e.bbox && (n.bbox = e.bbox), n.properties = t || {}, n.geometry = r, n;
2530
2529
  }
2531
- function uc(r, t, e) {
2530
+ function ac(r, t, e) {
2532
2531
  if (e === void 0 && (e = {}), !r)
2533
2532
  throw new Error("coordinates is required");
2534
2533
  if (!Array.isArray(r))
@@ -2572,14 +2571,14 @@ function eu(r, t, e) {
2572
2571
  };
2573
2572
  return Yo(n, t, e);
2574
2573
  }
2575
- function lc(r, t) {
2574
+ function uc(r, t) {
2576
2575
  t === void 0 && (t = "kilometers");
2577
2576
  var e = $a[t];
2578
2577
  if (!e)
2579
2578
  throw new Error(t + " units is invalid");
2580
2579
  return r * e;
2581
2580
  }
2582
- function cc(r, t) {
2581
+ function lc(r, t) {
2583
2582
  t === void 0 && (t = "kilometers");
2584
2583
  var e = $a[t];
2585
2584
  if (!e)
@@ -2592,16 +2591,16 @@ function Ia(r) {
2592
2591
  function Mo(r) {
2593
2592
  return r.type === "Feature" ? r.geometry : r;
2594
2593
  }
2595
- function fc(r, t, e) {
2594
+ function cc(r, t, e) {
2596
2595
  e === void 0 && (e = {});
2597
2596
  var n = Mo(r), i = Mo(t), o = Za.union(n.coordinates, i.coordinates);
2598
2597
  return o.length === 0 ? null : o.length === 1 ? tu(o[0], e.properties) : eu(o, e.properties);
2599
2598
  }
2600
- function hc(r) {
2599
+ function fc(r) {
2601
2600
  let t, e, n;
2602
2601
  return {
2603
2602
  c() {
2604
- t = Nr("svg"), e = Nr("path"), B(e, "stroke-width", "4"), B(e, "fill-rule", "evenodd"), B(e, "clip-rule", "evenodd"), B(e, "d", "M 5,33.103579 C 5,17.607779 18.457,5 35,5 C 51.543,5 65,17.607779 65,33.103579 C 65,56.388679 40.4668,76.048179 36.6112,79.137779 C 36.3714,79.329879 36.2116,79.457979 36.1427,79.518879 C 35.8203,79.800879 35.4102,79.942779 35,79.942779 C 34.5899,79.942779 34.1797,79.800879 33.8575,79.518879 C 33.7886,79.457979 33.6289,79.330079 33.3893,79.138079 C 29.5346,76.049279 5,56.389379 5,33.103579 Z M 35.0001,49.386379 C 43.1917,49.386379 49.8323,42.646079 49.8323,34.331379 C 49.8323,26.016779 43.1917,19.276479 35.0001,19.276479 C 26.8085,19.276479 20.1679,26.016779 20.1679,34.331379 C 20.1679,42.646079 26.8085,49.386379 35.0001,49.386379 Z"), B(e, "class", "svelte-1k1cmht"), B(t, "width", n = /*displayIn*/
2603
+ t = Cr("svg"), e = Cr("path"), B(e, "stroke-width", "4"), B(e, "fill-rule", "evenodd"), B(e, "clip-rule", "evenodd"), B(e, "d", "M 5,33.103579 C 5,17.607779 18.457,5 35,5 C 51.543,5 65,17.607779 65,33.103579 C 65,56.388679 40.4668,76.048179 36.6112,79.137779 C 36.3714,79.329879 36.2116,79.457979 36.1427,79.518879 C 35.8203,79.800879 35.4102,79.942779 35,79.942779 C 34.5899,79.942779 34.1797,79.800879 33.8575,79.518879 C 33.7886,79.457979 33.6289,79.330079 33.3893,79.138079 C 29.5346,76.049279 5,56.389379 5,33.103579 Z M 35.0001,49.386379 C 43.1917,49.386379 49.8323,42.646079 49.8323,34.331379 C 49.8323,26.016779 43.1917,19.276479 35.0001,19.276479 C 26.8085,19.276479 20.1679,26.016779 20.1679,34.331379 C 20.1679,42.646079 26.8085,49.386379 35.0001,49.386379 Z"), B(e, "class", "svelte-1k1cmht"), B(t, "width", n = /*displayIn*/
2605
2604
  r[0] !== "list" ? void 0 : "20"), B(t, "viewBox", "0 0 70 85"), B(t, "fill", "none"), B(t, "class", "svelte-1k1cmht"), en(
2606
2605
  t,
2607
2606
  "in-map",
@@ -2641,15 +2640,15 @@ function hc(r) {
2641
2640
  }
2642
2641
  };
2643
2642
  }
2644
- function gc(r, t, e) {
2643
+ function hc(r, t, e) {
2645
2644
  let { displayIn: n } = t;
2646
2645
  return r.$$set = (i) => {
2647
2646
  "displayIn" in i && e(0, n = i.displayIn);
2648
2647
  }, [n];
2649
2648
  }
2650
- class pc extends Mi {
2649
+ class gc extends Mi {
2651
2650
  constructor(t) {
2652
- super(), Ti(this, t, gc, hc, Di, { displayIn: 0 });
2651
+ super(), Ti(this, t, hc, fc, Di, { displayIn: 0 });
2653
2652
  }
2654
2653
  }
2655
2654
  function nu(r, t, e) {
@@ -2804,10 +2803,10 @@ function Ss(r) {
2804
2803
  }), t;
2805
2804
  }
2806
2805
  Ss.default = Ss;
2807
- function dc(r, t) {
2806
+ function pc(r, t) {
2808
2807
  t === void 0 && (t = {});
2809
2808
  var e = Ss(r), n = (e[0] + e[2]) / 2, i = (e[1] + e[3]) / 2;
2810
- return uc([n, i], t.properties, t);
2809
+ return ac([n, i], t.properties, t);
2811
2810
  }
2812
2811
  "fill" in Array.prototype || Object.defineProperty(Array.prototype, "fill", {
2813
2812
  configurable: !0,
@@ -3062,7 +3061,7 @@ fo.NONE.get = function() {
3062
3061
  return -1;
3063
3062
  };
3064
3063
  Object.defineProperties(y, fo);
3065
- var G = function(r, t) {
3064
+ var k = function(r, t) {
3066
3065
  return r.interfaces_ && r.interfaces_().indexOf(t) > -1;
3067
3066
  }, Ce = function() {
3068
3067
  }, ou = { LOG_10: { configurable: !0 } };
@@ -3657,19 +3656,19 @@ var au = function() {
3657
3656
  }, t.prototype.getClass = function() {
3658
3657
  return t;
3659
3658
  }, t;
3660
- }(au), Gt = function() {
3659
+ }(au), kt = function() {
3661
3660
  };
3662
- Gt.arraycopy = function(t, e, n, i, o) {
3661
+ kt.arraycopy = function(t, e, n, i, o) {
3663
3662
  for (var s = 0, a = e; a < e + o; a++)
3664
3663
  n[i + s] = t[a], s++;
3665
3664
  };
3666
- Gt.getProperty = function(t) {
3665
+ kt.getProperty = function(t) {
3667
3666
  return {
3668
3667
  "line.separator": `
3669
3668
  `
3670
3669
  }[t];
3671
3670
  };
3672
- var ke = function r() {
3671
+ var Ge = function r() {
3673
3672
  if (this.x = null, this.y = null, this.w = null, arguments.length === 0)
3674
3673
  this.x = 0, this.y = 0, this.w = 1;
3675
3674
  else if (arguments.length === 1) {
@@ -3694,29 +3693,29 @@ var ke = function r() {
3694
3693
  this.x = d * N - C * _, this.y = I * _ - m * N, this.w = m * C - I * d;
3695
3694
  }
3696
3695
  };
3697
- ke.prototype.getY = function() {
3696
+ Ge.prototype.getY = function() {
3698
3697
  var t = this.y / this.w;
3699
3698
  if (V.isNaN(t) || V.isInfinite(t))
3700
3699
  throw new Ai();
3701
3700
  return t;
3702
3701
  };
3703
- ke.prototype.getX = function() {
3702
+ Ge.prototype.getX = function() {
3704
3703
  var t = this.x / this.w;
3705
3704
  if (V.isNaN(t) || V.isInfinite(t))
3706
3705
  throw new Ai();
3707
3706
  return t;
3708
3707
  };
3709
- ke.prototype.getCoordinate = function() {
3708
+ Ge.prototype.getCoordinate = function() {
3710
3709
  var t = new v();
3711
3710
  return t.x = this.getX(), t.y = this.getY(), t;
3712
3711
  };
3713
- ke.prototype.interfaces_ = function() {
3712
+ Ge.prototype.interfaces_ = function() {
3714
3713
  return [];
3715
3714
  };
3716
- ke.prototype.getClass = function() {
3717
- return ke;
3715
+ Ge.prototype.getClass = function() {
3716
+ return Ge;
3718
3717
  };
3719
- ke.intersection = function(t, e, n, i) {
3718
+ Ge.intersection = function(t, e, n, i) {
3720
3719
  var o = t.y - e.y, s = e.x - t.x, a = t.x * e.y - e.x * t.y, u = n.y - i.y, l = i.x - n.x, c = n.x * i.y - i.x * n.y, f = s * c - l * a, h = u * a - o * c, g = o * l - u * s, p = f / g, m = h / g;
3721
3720
  if (V.isNaN(p) || V.isInfinite(p) || V.isNaN(m) || V.isInfinite(m))
3722
3721
  throw new Ai();
@@ -3950,12 +3949,12 @@ Wo.prototype.write = function(t) {
3950
3949
  };
3951
3950
  Wo.prototype.extractGeometry = function(t) {
3952
3951
  var e = t.getGeometryType().toLowerCase();
3953
- if (!Gn[e])
3952
+ if (!kn[e])
3954
3953
  return null;
3955
3954
  var n = e.toUpperCase(), i;
3956
- return t.isEmpty() ? i = n + " EMPTY" : i = n + "(" + Gn[e].apply(this, [t]) + ")", i;
3955
+ return t.isEmpty() ? i = n + " EMPTY" : i = n + "(" + kn[e].apply(this, [t]) + ")", i;
3957
3956
  };
3958
- var Gn = {
3957
+ var kn = {
3959
3958
  coordinate: function(t) {
3960
3959
  return t.x + " " + t.y;
3961
3960
  },
@@ -3967,7 +3966,7 @@ var Gn = {
3967
3966
  * @return {String} A string of coordinates representing the point.
3968
3967
  */
3969
3968
  point: function(t) {
3970
- return Gn.coordinate.call(this, t._coordinates._coordinates[0]);
3969
+ return kn.coordinate.call(this, t._coordinates._coordinates[0]);
3971
3970
  },
3972
3971
  /**
3973
3972
  * Return a comma delimited string of point coordinates from a multipoint.
@@ -3979,7 +3978,7 @@ var Gn = {
3979
3978
  */
3980
3979
  multipoint: function(t) {
3981
3980
  for (var e = this, n = [], i = 0, o = t._geometries.length; i < o; ++i)
3982
- n.push("(" + Gn.point.apply(e, [t._geometries[i]]) + ")");
3981
+ n.push("(" + kn.point.apply(e, [t._geometries[i]]) + ")");
3983
3982
  return n.join(",");
3984
3983
  },
3985
3984
  /**
@@ -3990,12 +3989,12 @@ var Gn = {
3990
3989
  */
3991
3990
  linestring: function(t) {
3992
3991
  for (var e = this, n = [], i = 0, o = t._points._coordinates.length; i < o; ++i)
3993
- n.push(Gn.coordinate.apply(e, [t._points._coordinates[i]]));
3992
+ n.push(kn.coordinate.apply(e, [t._points._coordinates[i]]));
3994
3993
  return n.join(",");
3995
3994
  },
3996
3995
  linearring: function(t) {
3997
3996
  for (var e = this, n = [], i = 0, o = t._points._coordinates.length; i < o; ++i)
3998
- n.push(Gn.coordinate.apply(e, [t._points._coordinates[i]]));
3997
+ n.push(kn.coordinate.apply(e, [t._points._coordinates[i]]));
3999
3998
  return n.join(",");
4000
3999
  },
4001
4000
  /**
@@ -4007,7 +4006,7 @@ var Gn = {
4007
4006
  */
4008
4007
  multilinestring: function(t) {
4009
4008
  for (var e = this, n = [], i = 0, o = t._geometries.length; i < o; ++i)
4010
- n.push("(" + Gn.linestring.apply(e, [t._geometries[i]]) + ")");
4009
+ n.push("(" + kn.linestring.apply(e, [t._geometries[i]]) + ")");
4011
4010
  return n.join(",");
4012
4011
  },
4013
4012
  /**
@@ -4018,9 +4017,9 @@ var Gn = {
4018
4017
  */
4019
4018
  polygon: function(t) {
4020
4019
  var e = this, n = [];
4021
- n.push("(" + Gn.linestring.apply(this, [t._shell]) + ")");
4020
+ n.push("(" + kn.linestring.apply(this, [t._shell]) + ")");
4022
4021
  for (var i = 0, o = t._holes.length; i < o; ++i)
4023
- n.push("(" + Gn.linestring.apply(e, [t._holes[i]]) + ")");
4022
+ n.push("(" + kn.linestring.apply(e, [t._holes[i]]) + ")");
4024
4023
  return n.join(",");
4025
4024
  },
4026
4025
  /**
@@ -4031,7 +4030,7 @@ var Gn = {
4031
4030
  */
4032
4031
  multipolygon: function(t) {
4033
4032
  for (var e = this, n = [], i = 0, o = t._geometries.length; i < o; ++i)
4034
- n.push("(" + Gn.polygon.apply(e, [t._geometries[i]]) + ")");
4033
+ n.push("(" + kn.polygon.apply(e, [t._geometries[i]]) + ")");
4035
4034
  return n.join(",");
4036
4035
  },
4037
4036
  /**
@@ -4344,7 +4343,7 @@ ei.COLLINEAR_INTERSECTION.get = function() {
4344
4343
  return 2;
4345
4344
  };
4346
4345
  Object.defineProperties(ft, ei);
4347
- var Ar = function(r) {
4346
+ var Mr = function(r) {
4348
4347
  function t() {
4349
4348
  r.apply(this, arguments);
4350
4349
  }
@@ -4364,7 +4363,7 @@ var Ar = function(r) {
4364
4363
  }, t.prototype.safeHCoordinateIntersection = function(n, i, o, s) {
4365
4364
  var a = null;
4366
4365
  try {
4367
- a = ke.intersection(n, i, o, s);
4366
+ a = Ge.intersection(n, i, o, s);
4368
4367
  } catch (u) {
4369
4368
  if (u instanceof Ai)
4370
4369
  a = t.nearestEndpoint(n, i, o, s);
@@ -4381,7 +4380,7 @@ var Ar = function(r) {
4381
4380
  return Math.abs(i) < u && (a = i, u = Math.abs(i)), Math.abs(o) < u && (a = o, u = Math.abs(o)), Math.abs(s) < u && (a = s), a;
4382
4381
  }, t.prototype.checkDD = function(n, i, o, s, a) {
4383
4382
  var u = se.intersection(n, i, o, s), l = this.isInSegmentEnvelopes(u);
4384
- Gt.out.println("DD in env = " + l + " --------------------- " + u), a.distance(u) > 1e-4 && Gt.out.println("Distance = " + a.distance(u));
4383
+ kt.out.println("DD in env = " + l + " --------------------- " + u), a.distance(u) > 1e-4 && kt.out.println("Distance = " + a.distance(u));
4385
4384
  }, t.prototype.intersectionWithNormalization = function(n, i, o, s) {
4386
4385
  var a = new v(n), u = new v(i), l = new v(o), c = new v(s), f = new v();
4387
4386
  this.normalizeToEnvCentre(a, u, l, c, f);
@@ -4514,7 +4513,7 @@ nn.prototype.getClass = function() {
4514
4513
  return nn;
4515
4514
  };
4516
4515
  nn.locatePointInRing = function() {
4517
- if (arguments[0] instanceof v && G(arguments[1], K)) {
4516
+ if (arguments[0] instanceof v && k(arguments[1], K)) {
4518
4517
  for (var t = arguments[0], e = arguments[1], n = new nn(t), i = new v(), o = new v(), s = 1; s < e.size(); s++)
4519
4518
  if (e.getCoordinate(s, i), e.getCoordinate(s - 1, o), n.countSegment(i, o), n.isOnSegment())
4520
4519
  return n.getLocation();
@@ -4549,7 +4548,7 @@ P.signedArea = function() {
4549
4548
  e += o * (a - s);
4550
4549
  }
4551
4550
  return e / 2;
4552
- } else if (G(arguments[0], K)) {
4551
+ } else if (k(arguments[0], K)) {
4553
4552
  var u = arguments[0], l = u.size();
4554
4553
  if (l < 3)
4555
4554
  return 0;
@@ -4653,7 +4652,7 @@ P.distancePointLine = function() {
4653
4652
  }
4654
4653
  };
4655
4654
  P.isOnLine = function(t, e) {
4656
- for (var n = new Ar(), i = 1; i < e.length; i++) {
4655
+ for (var n = new Mr(), i = 1; i < e.length; i++) {
4657
4656
  var o = e[i - 1], s = e[i];
4658
4657
  if (n.computeIntersection(t, o, s), n.hasIntersection())
4659
4658
  return !0;
@@ -4689,56 +4688,56 @@ Hn.prototype.interfaces_ = function() {
4689
4688
  Hn.prototype.getClass = function() {
4690
4689
  return Hn;
4691
4690
  };
4692
- var k = function() {
4691
+ var G = function() {
4693
4692
  var t = arguments[0];
4694
4693
  this._envelope = null, this._factory = null, this._SRID = null, this._userData = null, this._factory = t, this._SRID = t.getSRID();
4695
- }, Mn = { serialVersionUID: { configurable: !0 }, SORTINDEX_POINT: { configurable: !0 }, SORTINDEX_MULTIPOINT: { configurable: !0 }, SORTINDEX_LINESTRING: { configurable: !0 }, SORTINDEX_LINEARRING: { configurable: !0 }, SORTINDEX_MULTILINESTRING: { configurable: !0 }, SORTINDEX_POLYGON: { configurable: !0 }, SORTINDEX_MULTIPOLYGON: { configurable: !0 }, SORTINDEX_GEOMETRYCOLLECTION: { configurable: !0 }, geometryChangedFilter: { configurable: !0 } };
4696
- k.prototype.isGeometryCollection = function() {
4697
- return this.getSortIndex() === k.SORTINDEX_GEOMETRYCOLLECTION;
4694
+ }, Tn = { serialVersionUID: { configurable: !0 }, SORTINDEX_POINT: { configurable: !0 }, SORTINDEX_MULTIPOINT: { configurable: !0 }, SORTINDEX_LINESTRING: { configurable: !0 }, SORTINDEX_LINEARRING: { configurable: !0 }, SORTINDEX_MULTILINESTRING: { configurable: !0 }, SORTINDEX_POLYGON: { configurable: !0 }, SORTINDEX_MULTIPOLYGON: { configurable: !0 }, SORTINDEX_GEOMETRYCOLLECTION: { configurable: !0 }, geometryChangedFilter: { configurable: !0 } };
4695
+ G.prototype.isGeometryCollection = function() {
4696
+ return this.getSortIndex() === G.SORTINDEX_GEOMETRYCOLLECTION;
4698
4697
  };
4699
- k.prototype.getFactory = function() {
4698
+ G.prototype.getFactory = function() {
4700
4699
  return this._factory;
4701
4700
  };
4702
- k.prototype.getGeometryN = function(t) {
4701
+ G.prototype.getGeometryN = function(t) {
4703
4702
  return this;
4704
4703
  };
4705
- k.prototype.getArea = function() {
4704
+ G.prototype.getArea = function() {
4706
4705
  return 0;
4707
4706
  };
4708
- k.prototype.isRectangle = function() {
4707
+ G.prototype.isRectangle = function() {
4709
4708
  return !1;
4710
4709
  };
4711
- k.prototype.equals = function() {
4712
- if (arguments[0] instanceof k) {
4710
+ G.prototype.equals = function() {
4711
+ if (arguments[0] instanceof G) {
4713
4712
  var t = arguments[0];
4714
4713
  return t === null ? !1 : this.equalsTopo(t);
4715
4714
  } else if (arguments[0] instanceof Object) {
4716
4715
  var e = arguments[0];
4717
- if (!(e instanceof k))
4716
+ if (!(e instanceof G))
4718
4717
  return !1;
4719
4718
  var n = e;
4720
4719
  return this.equalsExact(n);
4721
4720
  }
4722
4721
  };
4723
- k.prototype.equalsExact = function(t) {
4722
+ G.prototype.equalsExact = function(t) {
4724
4723
  return this === t || this.equalsExact(t, 0);
4725
4724
  };
4726
- k.prototype.geometryChanged = function() {
4727
- this.apply(k.geometryChangedFilter);
4725
+ G.prototype.geometryChanged = function() {
4726
+ this.apply(G.geometryChangedFilter);
4728
4727
  };
4729
- k.prototype.geometryChangedAction = function() {
4728
+ G.prototype.geometryChangedAction = function() {
4730
4729
  this._envelope = null;
4731
4730
  };
4732
- k.prototype.equalsNorm = function(t) {
4731
+ G.prototype.equalsNorm = function(t) {
4733
4732
  return t === null ? !1 : this.norm().equalsExact(t.norm());
4734
4733
  };
4735
- k.prototype.getLength = function() {
4734
+ G.prototype.getLength = function() {
4736
4735
  return 0;
4737
4736
  };
4738
- k.prototype.getNumGeometries = function() {
4737
+ G.prototype.getNumGeometries = function() {
4739
4738
  return 1;
4740
4739
  };
4741
- k.prototype.compareTo = function() {
4740
+ G.prototype.compareTo = function() {
4742
4741
  if (arguments.length === 1) {
4743
4742
  var t = arguments[0], e = t;
4744
4743
  return this.getSortIndex() !== e.getSortIndex() ? this.getSortIndex() - e.getSortIndex() : this.isEmpty() && e.isEmpty() ? 0 : this.isEmpty() ? -1 : e.isEmpty() ? 1 : this.compareToSameClass(t);
@@ -4747,39 +4746,39 @@ k.prototype.compareTo = function() {
4747
4746
  return this.getSortIndex() !== n.getSortIndex() ? this.getSortIndex() - n.getSortIndex() : this.isEmpty() && n.isEmpty() ? 0 : this.isEmpty() ? -1 : n.isEmpty() ? 1 : this.compareToSameClass(n, i);
4748
4747
  }
4749
4748
  };
4750
- k.prototype.getUserData = function() {
4749
+ G.prototype.getUserData = function() {
4751
4750
  return this._userData;
4752
4751
  };
4753
- k.prototype.getSRID = function() {
4752
+ G.prototype.getSRID = function() {
4754
4753
  return this._SRID;
4755
4754
  };
4756
- k.prototype.getEnvelope = function() {
4755
+ G.prototype.getEnvelope = function() {
4757
4756
  return this.getFactory().toGeometry(this.getEnvelopeInternal());
4758
4757
  };
4759
- k.prototype.checkNotGeometryCollection = function(t) {
4760
- if (t.getSortIndex() === k.SORTINDEX_GEOMETRYCOLLECTION)
4758
+ G.prototype.checkNotGeometryCollection = function(t) {
4759
+ if (t.getSortIndex() === G.SORTINDEX_GEOMETRYCOLLECTION)
4761
4760
  throw new lt("This method does not support GeometryCollection arguments");
4762
4761
  };
4763
- k.prototype.equal = function(t, e, n) {
4762
+ G.prototype.equal = function(t, e, n) {
4764
4763
  return n === 0 ? t.equals(e) : t.distance(e) <= n;
4765
4764
  };
4766
- k.prototype.norm = function() {
4765
+ G.prototype.norm = function() {
4767
4766
  var t = this.copy();
4768
4767
  return t.normalize(), t;
4769
4768
  };
4770
- k.prototype.getPrecisionModel = function() {
4769
+ G.prototype.getPrecisionModel = function() {
4771
4770
  return this._factory.getPrecisionModel();
4772
4771
  };
4773
- k.prototype.getEnvelopeInternal = function() {
4772
+ G.prototype.getEnvelopeInternal = function() {
4774
4773
  return this._envelope === null && (this._envelope = this.computeEnvelopeInternal()), new T(this._envelope);
4775
4774
  };
4776
- k.prototype.setSRID = function(t) {
4775
+ G.prototype.setSRID = function(t) {
4777
4776
  this._SRID = t;
4778
4777
  };
4779
- k.prototype.setUserData = function(t) {
4778
+ G.prototype.setUserData = function(t) {
4780
4779
  this._userData = t;
4781
4780
  };
4782
- k.prototype.compare = function(t, e) {
4781
+ G.prototype.compare = function(t, e) {
4783
4782
  for (var n = t.iterator(), i = e.iterator(); n.hasNext() && i.hasNext(); ) {
4784
4783
  var o = n.next(), s = i.next(), a = o.compareTo(s);
4785
4784
  if (a !== 0)
@@ -4787,61 +4786,61 @@ k.prototype.compare = function(t, e) {
4787
4786
  }
4788
4787
  return n.hasNext() ? 1 : i.hasNext() ? -1 : 0;
4789
4788
  };
4790
- k.prototype.hashCode = function() {
4789
+ G.prototype.hashCode = function() {
4791
4790
  return this.getEnvelopeInternal().hashCode();
4792
4791
  };
4793
- k.prototype.isGeometryCollectionOrDerived = function() {
4794
- return this.getSortIndex() === k.SORTINDEX_GEOMETRYCOLLECTION || this.getSortIndex() === k.SORTINDEX_MULTIPOINT || this.getSortIndex() === k.SORTINDEX_MULTILINESTRING || this.getSortIndex() === k.SORTINDEX_MULTIPOLYGON;
4792
+ G.prototype.isGeometryCollectionOrDerived = function() {
4793
+ return this.getSortIndex() === G.SORTINDEX_GEOMETRYCOLLECTION || this.getSortIndex() === G.SORTINDEX_MULTIPOINT || this.getSortIndex() === G.SORTINDEX_MULTILINESTRING || this.getSortIndex() === G.SORTINDEX_MULTIPOLYGON;
4795
4794
  };
4796
- k.prototype.interfaces_ = function() {
4795
+ G.prototype.interfaces_ = function() {
4797
4796
  return [Ho, Me, Ae];
4798
4797
  };
4799
- k.prototype.getClass = function() {
4800
- return k;
4798
+ G.prototype.getClass = function() {
4799
+ return G;
4801
4800
  };
4802
- k.hasNonEmptyElements = function(t) {
4801
+ G.hasNonEmptyElements = function(t) {
4803
4802
  for (var e = 0; e < t.length; e++)
4804
4803
  if (!t[e].isEmpty())
4805
4804
  return !0;
4806
4805
  return !1;
4807
4806
  };
4808
- k.hasNullElements = function(t) {
4807
+ G.hasNullElements = function(t) {
4809
4808
  for (var e = 0; e < t.length; e++)
4810
4809
  if (t[e] === null)
4811
4810
  return !0;
4812
4811
  return !1;
4813
4812
  };
4814
- Mn.serialVersionUID.get = function() {
4813
+ Tn.serialVersionUID.get = function() {
4815
4814
  return 8763622679187377e3;
4816
4815
  };
4817
- Mn.SORTINDEX_POINT.get = function() {
4816
+ Tn.SORTINDEX_POINT.get = function() {
4818
4817
  return 0;
4819
4818
  };
4820
- Mn.SORTINDEX_MULTIPOINT.get = function() {
4819
+ Tn.SORTINDEX_MULTIPOINT.get = function() {
4821
4820
  return 1;
4822
4821
  };
4823
- Mn.SORTINDEX_LINESTRING.get = function() {
4822
+ Tn.SORTINDEX_LINESTRING.get = function() {
4824
4823
  return 2;
4825
4824
  };
4826
- Mn.SORTINDEX_LINEARRING.get = function() {
4825
+ Tn.SORTINDEX_LINEARRING.get = function() {
4827
4826
  return 3;
4828
4827
  };
4829
- Mn.SORTINDEX_MULTILINESTRING.get = function() {
4828
+ Tn.SORTINDEX_MULTILINESTRING.get = function() {
4830
4829
  return 4;
4831
4830
  };
4832
- Mn.SORTINDEX_POLYGON.get = function() {
4831
+ Tn.SORTINDEX_POLYGON.get = function() {
4833
4832
  return 5;
4834
4833
  };
4835
- Mn.SORTINDEX_MULTIPOLYGON.get = function() {
4834
+ Tn.SORTINDEX_MULTIPOLYGON.get = function() {
4836
4835
  return 6;
4837
4836
  };
4838
- Mn.SORTINDEX_GEOMETRYCOLLECTION.get = function() {
4837
+ Tn.SORTINDEX_GEOMETRYCOLLECTION.get = function() {
4839
4838
  return 7;
4840
4839
  };
4841
- Mn.geometryChangedFilter.get = function() {
4840
+ Tn.geometryChangedFilter.get = function() {
4842
4841
  return Ts;
4843
4842
  };
4844
- Object.defineProperties(k, Mn);
4843
+ Object.defineProperties(G, Tn);
4845
4844
  var Ts = function() {
4846
4845
  };
4847
4846
  Ts.interfaces_ = function() {
@@ -4850,15 +4849,15 @@ Ts.interfaces_ = function() {
4850
4849
  Ts.filter = function(t) {
4851
4850
  t.geometryChangedAction();
4852
4851
  };
4853
- var Sn = function() {
4852
+ var xn = function() {
4854
4853
  };
4855
- Sn.prototype.filter = function(t) {
4854
+ xn.prototype.filter = function(t) {
4856
4855
  };
4857
- Sn.prototype.interfaces_ = function() {
4856
+ xn.prototype.interfaces_ = function() {
4858
4857
  return [];
4859
4858
  };
4860
- Sn.prototype.getClass = function() {
4861
- return Sn;
4859
+ xn.prototype.getClass = function() {
4860
+ return xn;
4862
4861
  };
4863
4862
  var Re = function() {
4864
4863
  }, Jn = { Mod2BoundaryNodeRule: { configurable: !0 }, EndPointBoundaryNodeRule: { configurable: !0 }, MultiValentEndPointBoundaryNodeRule: { configurable: !0 }, MonoValentEndPointBoundaryNodeRule: { configurable: !0 }, MOD2_BOUNDARY_RULE: { configurable: !0 }, ENDPOINT_BOUNDARY_RULE: { configurable: !0 }, MULTIVALENT_ENDPOINT_BOUNDARY_RULE: { configurable: !0 }, MONOVALENT_ENDPOINT_BOUNDARY_RULE: { configurable: !0 }, OGC_SFS_BOUNDARY_RULE: { configurable: !0 } };
@@ -4971,7 +4970,7 @@ Fi.prototype.next = function() {
4971
4970
  };
4972
4971
  Fi.prototype.remove = function() {
4973
4972
  };
4974
- var Ge = function(r) {
4973
+ var ke = function(r) {
4975
4974
  function t() {
4976
4975
  r.apply(this, arguments);
4977
4976
  }
@@ -5004,7 +5003,7 @@ var L = function(r) {
5004
5003
  var o = this.array_[n];
5005
5004
  return this.array_[n] = i, o;
5006
5005
  }, t.prototype.iterator = function() {
5007
- return new vc(this);
5006
+ return new dc(this);
5008
5007
  }, t.prototype.get = function(n) {
5009
5008
  if (n < 0 || n >= this.size())
5010
5009
  throw new Ms();
@@ -5025,7 +5024,7 @@ var L = function(r) {
5025
5024
  }
5026
5025
  return o;
5027
5026
  }, t;
5028
- }(Ge), vc = function(r) {
5027
+ }(ke), dc = function(r) {
5029
5028
  function t(e) {
5030
5029
  r.call(this), this.arrayList_ = e, this.position_ = 0;
5031
5030
  }
@@ -5169,7 +5168,7 @@ W.scroll = function(t, e) {
5169
5168
  if (n < 0)
5170
5169
  return null;
5171
5170
  var i = new Array(t.length).fill(null);
5172
- Gt.arraycopy(t, n, i, 0, t.length - n), Gt.arraycopy(t, 0, i, t.length - n, n), Gt.arraycopy(i, 0, t, 0, t.length);
5171
+ kt.arraycopy(t, n, i, 0, t.length - n), kt.arraycopy(t, 0, i, t.length - n, n), kt.arraycopy(i, 0, t, 0, t.length);
5173
5172
  };
5174
5173
  W.equals = function() {
5175
5174
  if (arguments.length === 2) {
@@ -5354,7 +5353,7 @@ ri.prototype.values = function() {
5354
5353
  };
5355
5354
  ri.prototype.entrySet = function() {
5356
5355
  };
5357
- var yc = function(r) {
5356
+ var vc = function(r) {
5358
5357
  function t() {
5359
5358
  r.apply(this, arguments);
5360
5359
  }
@@ -5398,9 +5397,9 @@ var As = function(r) {
5398
5397
  i.push(n.array_[o]);
5399
5398
  return i;
5400
5399
  }, t.prototype.iterator = function() {
5401
- return new mc(this);
5400
+ return new yc(this);
5402
5401
  }, t;
5403
- }(Ko), mc = function(r) {
5402
+ }(Ko), yc = function(r) {
5404
5403
  function t(e) {
5405
5404
  r.call(this), this.hashSet_ = e, this.position_ = 0;
5406
5405
  }
@@ -5420,7 +5419,7 @@ function Na(r) {
5420
5419
  function ot(r) {
5421
5420
  return r === null ? null : r.parent;
5422
5421
  }
5423
- function kn(r, t) {
5422
+ function Gn(r, t) {
5424
5423
  r !== null && (r.color = t);
5425
5424
  }
5426
5425
  function hs(r) {
@@ -5432,7 +5431,7 @@ function xa(r) {
5432
5431
  function Yt() {
5433
5432
  this.root_ = null, this.size_ = 0;
5434
5433
  }
5435
- Yt.prototype = new yc();
5434
+ Yt.prototype = new vc();
5436
5435
  Yt.prototype.get = function(r) {
5437
5436
  for (var t = this.root_; t !== null; ) {
5438
5437
  var e = r.compareTo(t.key);
@@ -5493,10 +5492,10 @@ Yt.prototype.fixAfterInsertion = function(r) {
5493
5492
  for (r.color = vr; r != null && r !== this.root_ && r.parent.color === vr; )
5494
5493
  if (ot(r) === hs(ot(ot(r)))) {
5495
5494
  var e = xa(ot(ot(r)));
5496
- Na(e) === vr ? (kn(ot(r), Un), kn(e, Un), kn(ot(ot(r)), vr), r = ot(ot(r))) : (r === xa(ot(r)) && (r = ot(r), t.rotateLeft(r)), kn(ot(r), Un), kn(ot(ot(r)), vr), t.rotateRight(ot(ot(r))));
5495
+ Na(e) === vr ? (Gn(ot(r), Un), Gn(e, Un), Gn(ot(ot(r)), vr), r = ot(ot(r))) : (r === xa(ot(r)) && (r = ot(r), t.rotateLeft(r)), Gn(ot(r), Un), Gn(ot(ot(r)), vr), t.rotateRight(ot(ot(r))));
5497
5496
  } else {
5498
5497
  var n = hs(ot(ot(r)));
5499
- Na(n) === vr ? (kn(ot(r), Un), kn(n, Un), kn(ot(ot(r)), vr), r = ot(ot(r))) : (r === hs(ot(r)) && (r = ot(r), t.rotateRight(r)), kn(ot(r), Un), kn(ot(ot(r)), vr), t.rotateLeft(ot(ot(r))));
5498
+ Na(n) === vr ? (Gn(ot(r), Un), Gn(n, Un), Gn(ot(ot(r)), vr), r = ot(ot(r))) : (r === hs(ot(r)) && (r = ot(r), t.rotateRight(r)), Gn(ot(r), Un), Gn(ot(ot(r)), vr), t.rotateLeft(ot(ot(r))));
5500
5499
  }
5501
5500
  this.root_.color = Un;
5502
5501
  };
@@ -5619,9 +5618,9 @@ Qo.prototype.hasNext = function() {
5619
5618
  Qo.prototype.remove = function() {
5620
5619
  throw new po();
5621
5620
  };
5622
- var Ir = function() {
5621
+ var Er = function() {
5623
5622
  };
5624
- Ir.sort = function() {
5623
+ Er.sort = function() {
5625
5624
  var t = arguments[0], e, n, i, o;
5626
5625
  if (arguments.length === 1)
5627
5626
  o = function(a, u) {
@@ -5642,7 +5641,7 @@ Ir.sort = function() {
5642
5641
  }, n.sort(o), s = t.slice(0, arguments[1]).concat(n, t.slice(arguments[2], t.length)), t.splice(0, t.length), e = 0; e < s.length; e++)
5643
5642
  t.push(s[e]);
5644
5643
  };
5645
- Ir.asList = function(t) {
5644
+ Er.asList = function(t) {
5646
5645
  for (var e = new L(), n = 0, i = t.length; n < i; n++)
5647
5646
  e.add(t[n]);
5648
5647
  return e;
@@ -5792,7 +5791,7 @@ var te = function(r) {
5792
5791
  }, t.prototype.normalize = function() {
5793
5792
  for (var i = this, o = 0; o < this._geometries.length; o++)
5794
5793
  i._geometries[o].normalize();
5795
- Ir.sort(this._geometries);
5794
+ Er.sort(this._geometries);
5796
5795
  }, t.prototype.getCoordinate = function() {
5797
5796
  return this.isEmpty() ? null : this._geometries[0].getCoordinate();
5798
5797
  }, t.prototype.getBoundaryDimension = function() {
@@ -5820,7 +5819,7 @@ var te = function(r) {
5820
5819
  }, t.prototype.compareToSameClass = function() {
5821
5820
  var i = this;
5822
5821
  if (arguments.length === 1) {
5823
- var o = arguments[0], s = new sn(Ir.asList(this._geometries)), a = new sn(Ir.asList(o._geometries));
5822
+ var o = arguments[0], s = new sn(Er.asList(this._geometries)), a = new sn(Er.asList(o._geometries));
5824
5823
  return this.compare(s, a);
5825
5824
  } else if (arguments.length === 2) {
5826
5825
  for (var u = arguments[0], l = arguments[1], c = u, f = this.getNumGeometries(), h = c.getNumGeometries(), g = 0; g < f && g < h; ) {
@@ -5833,22 +5832,22 @@ var te = function(r) {
5833
5832
  }
5834
5833
  }, t.prototype.apply = function() {
5835
5834
  var i = this;
5836
- if (G(arguments[0], Sn))
5835
+ if (k(arguments[0], xn))
5837
5836
  for (var o = arguments[0], s = 0; s < this._geometries.length; s++)
5838
5837
  i._geometries[s].apply(o);
5839
- else if (G(arguments[0], Ve)) {
5838
+ else if (k(arguments[0], Ve)) {
5840
5839
  var a = arguments[0];
5841
5840
  if (this._geometries.length === 0)
5842
5841
  return null;
5843
5842
  for (var u = 0; u < this._geometries.length && (i._geometries[u].apply(a), !a.isDone()); u++)
5844
5843
  ;
5845
5844
  a.isGeometryChanged() && this.geometryChanged();
5846
- } else if (G(arguments[0], an)) {
5845
+ } else if (k(arguments[0], an)) {
5847
5846
  var l = arguments[0];
5848
5847
  l.filter(this);
5849
5848
  for (var c = 0; c < this._geometries.length; c++)
5850
5849
  i._geometries[c].apply(l);
5851
- } else if (G(arguments[0], Hn)) {
5850
+ } else if (k(arguments[0], Hn)) {
5852
5851
  var f = arguments[0];
5853
5852
  f.filter(this);
5854
5853
  for (var h = 0; h < this._geometries.length; h++)
@@ -5880,14 +5879,14 @@ var te = function(r) {
5880
5879
  }, e.serialVersionUID.get = function() {
5881
5880
  return -5694727726395021e3;
5882
5881
  }, Object.defineProperties(t, e), t;
5883
- }(k), Sr = function(r) {
5882
+ }(G), xr = function(r) {
5884
5883
  function t() {
5885
5884
  r.apply(this, arguments);
5886
5885
  }
5887
5886
  r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t;
5888
5887
  var e = { serialVersionUID: { configurable: !0 } };
5889
5888
  return t.prototype.getSortIndex = function() {
5890
- return k.SORTINDEX_MULTILINESTRING;
5889
+ return G.SORTINDEX_MULTILINESTRING;
5891
5890
  }, t.prototype.equalsExact = function() {
5892
5891
  if (arguments.length === 2) {
5893
5892
  var i = arguments[0], o = arguments[1];
@@ -5941,7 +5940,7 @@ Le.prototype.boundaryMultiLineString = function(t) {
5941
5940
  return e.length === 1 ? this._geomFact.createPoint(e[0]) : this._geomFact.createMultiPointFromCoords(e);
5942
5941
  };
5943
5942
  Le.prototype.getBoundary = function() {
5944
- return this._geom instanceof pt ? this.boundaryLineString(this._geom) : this._geom instanceof Sr ? this.boundaryMultiLineString(this._geom) : this._geom.getBoundary();
5943
+ return this._geom instanceof pt ? this.boundaryLineString(this._geom) : this._geom instanceof xr ? this.boundaryMultiLineString(this._geom) : this._geom.getBoundary();
5945
5944
  };
5946
5945
  Le.prototype.boundaryLineString = function(t) {
5947
5946
  if (this._geom.isEmpty())
@@ -5996,18 +5995,18 @@ Fo.prototype.interfaces_ = function() {
5996
5995
  Fo.prototype.getClass = function() {
5997
5996
  return Fo;
5998
5997
  };
5999
- function _c() {
5998
+ function mc() {
6000
5999
  }
6001
- function Ec() {
6000
+ function _c() {
6002
6001
  }
6003
- var Ic = function() {
6002
+ var Ec = function() {
6004
6003
  };
6004
+ function Ic() {
6005
+ }
6005
6006
  function Cc() {
6006
6007
  }
6007
6008
  function Nc() {
6008
6009
  }
6009
- function xc() {
6010
- }
6011
6010
  var be = function() {
6012
6011
  }, Fs = { NEWLINE: { configurable: !0 }, SIMPLE_ORDINATE_FORMAT: { configurable: !0 } };
6013
6012
  be.prototype.interfaces_ = function() {
@@ -6023,16 +6022,16 @@ be.chars = function(t, e) {
6023
6022
  };
6024
6023
  be.getStackTrace = function() {
6025
6024
  if (arguments.length === 1) {
6026
- var t = arguments[0], e = new Cc(), n = new _c();
6025
+ var t = arguments[0], e = new Ic(), n = new mc();
6027
6026
  return t.printStackTrace(n), e.toString();
6028
6027
  } else if (arguments.length === 2) {
6029
6028
  var i = arguments[0], o = arguments[1], s = "";
6030
- new Ec(be.getStackTrace(i));
6031
- for (var a = new xc(), u = 0; u < o; u++)
6029
+ new _c(be.getStackTrace(i));
6030
+ for (var a = new Nc(), u = 0; u < o; u++)
6032
6031
  try {
6033
6032
  s += a.readLine() + be.NEWLINE;
6034
6033
  } catch (l) {
6035
- if (l instanceof Nc)
6034
+ if (l instanceof Cc)
6036
6035
  X.shouldNeverReachHere();
6037
6036
  else
6038
6037
  throw l;
@@ -6061,10 +6060,10 @@ be.spaces = function(t) {
6061
6060
  return be.chars(" ", t);
6062
6061
  };
6063
6062
  Fs.NEWLINE.get = function() {
6064
- return Gt.getProperty("line.separator");
6063
+ return kt.getProperty("line.separator");
6065
6064
  };
6066
6065
  Fs.SIMPLE_ORDINATE_FORMAT.get = function() {
6067
- return new Ic();
6066
+ return new Ec();
6068
6067
  };
6069
6068
  Object.defineProperties(be, Fs);
6070
6069
  var _t = function() {
@@ -6219,20 +6218,20 @@ var pt = function(r) {
6219
6218
  }
6220
6219
  }, t.prototype.apply = function() {
6221
6220
  var i = this;
6222
- if (G(arguments[0], Sn))
6221
+ if (k(arguments[0], xn))
6223
6222
  for (var o = arguments[0], s = 0; s < this._points.size(); s++)
6224
6223
  o.filter(i._points.getCoordinate(s));
6225
- else if (G(arguments[0], Ve)) {
6224
+ else if (k(arguments[0], Ve)) {
6226
6225
  var a = arguments[0];
6227
6226
  if (this._points.size() === 0)
6228
6227
  return null;
6229
6228
  for (var u = 0; u < this._points.size() && (a.filter(i._points, u), !a.isDone()); u++)
6230
6229
  ;
6231
6230
  a.isGeometryChanged() && this.geometryChanged();
6232
- } else if (G(arguments[0], an)) {
6231
+ } else if (k(arguments[0], an)) {
6233
6232
  var l = arguments[0];
6234
6233
  l.filter(this);
6235
- } else if (G(arguments[0], Hn)) {
6234
+ } else if (k(arguments[0], Hn)) {
6236
6235
  var c = arguments[0];
6237
6236
  c.filter(this);
6238
6237
  }
@@ -6273,7 +6272,7 @@ var pt = function(r) {
6273
6272
  }, e.serialVersionUID.get = function() {
6274
6273
  return 3110669828065365500;
6275
6274
  }, Object.defineProperties(t, e), t;
6276
- }(k), to = function() {
6275
+ }(G), to = function() {
6277
6276
  };
6278
6277
  to.prototype.interfaces_ = function() {
6279
6278
  return [];
@@ -6326,20 +6325,20 @@ var ge = function(r) {
6326
6325
  return a.compare(this._coordinates, u._coordinates);
6327
6326
  }
6328
6327
  }, t.prototype.apply = function() {
6329
- if (G(arguments[0], Sn)) {
6328
+ if (k(arguments[0], xn)) {
6330
6329
  var i = arguments[0];
6331
6330
  if (this.isEmpty())
6332
6331
  return null;
6333
6332
  i.filter(this.getCoordinate());
6334
- } else if (G(arguments[0], Ve)) {
6333
+ } else if (k(arguments[0], Ve)) {
6335
6334
  var o = arguments[0];
6336
6335
  if (this.isEmpty())
6337
6336
  return null;
6338
6337
  o.filter(this._coordinates, 0), o.isGeometryChanged() && this.geometryChanged();
6339
- } else if (G(arguments[0], an)) {
6338
+ } else if (k(arguments[0], an)) {
6340
6339
  var s = arguments[0];
6341
6340
  s.filter(this);
6342
- } else if (G(arguments[0], Hn)) {
6341
+ } else if (k(arguments[0], Hn)) {
6343
6342
  var a = arguments[0];
6344
6343
  a.filter(this);
6345
6344
  }
@@ -6371,7 +6370,7 @@ var ge = function(r) {
6371
6370
  }, e.serialVersionUID.get = function() {
6372
6371
  return 4902022702746615e3;
6373
6372
  }, Object.defineProperties(t, e), t;
6374
- }(k), ir = function() {
6373
+ }(G), ir = function() {
6375
6374
  };
6376
6375
  ir.prototype.interfaces_ = function() {
6377
6376
  return [];
@@ -6448,15 +6447,15 @@ var Pt = function(r) {
6448
6447
  this.normalize(this._shell, !0);
6449
6448
  for (var o = 0; o < this._holes.length; o++)
6450
6449
  i.normalize(i._holes[o], !1);
6451
- Ir.sort(this._holes);
6450
+ Er.sort(this._holes);
6452
6451
  } else if (arguments.length === 2) {
6453
6452
  var s = arguments[0], a = arguments[1];
6454
6453
  if (s.isEmpty())
6455
6454
  return null;
6456
6455
  var u = new Array(s.getCoordinates().length - 1).fill(null);
6457
- Gt.arraycopy(s.getCoordinates(), 0, u, 0, u.length);
6456
+ kt.arraycopy(s.getCoordinates(), 0, u, 0, u.length);
6458
6457
  var l = W.minCoordinate(s.getCoordinates());
6459
- W.scroll(u, l), Gt.arraycopy(u, 0, s.getCoordinates(), 0, u.length), s.getCoordinates()[u.length] = u[0], P.isCCW(s.getCoordinates()) === a && W.reverse(s.getCoordinates());
6458
+ W.scroll(u, l), kt.arraycopy(u, 0, s.getCoordinates(), 0, u.length), s.getCoordinates()[u.length] = u[0], P.isCCW(s.getCoordinates()) === a && W.reverse(s.getCoordinates());
6460
6459
  }
6461
6460
  }, t.prototype.getCoordinate = function() {
6462
6461
  return this._shell.getCoordinate();
@@ -6503,18 +6502,18 @@ var Pt = function(r) {
6503
6502
  }
6504
6503
  }, t.prototype.apply = function(i) {
6505
6504
  var o = this;
6506
- if (G(i, Sn)) {
6505
+ if (k(i, xn)) {
6507
6506
  this._shell.apply(i);
6508
6507
  for (var s = 0; s < this._holes.length; s++)
6509
6508
  o._holes[s].apply(i);
6510
- } else if (G(i, Ve)) {
6509
+ } else if (k(i, Ve)) {
6511
6510
  if (this._shell.apply(i), !i.isDone())
6512
6511
  for (var a = 0; a < this._holes.length && (o._holes[a].apply(i), !i.isDone()); a++)
6513
6512
  ;
6514
6513
  i.isGeometryChanged() && this.geometryChanged();
6515
- } else if (G(i, an))
6514
+ } else if (k(i, an))
6516
6515
  i.filter(this);
6517
- else if (G(i, Hn)) {
6516
+ else if (k(i, Hn)) {
6518
6517
  i.filter(this), this._shell.apply(i);
6519
6518
  for (var u = 0; u < this._holes.length; u++)
6520
6519
  o._holes[u].apply(i);
@@ -6553,14 +6552,14 @@ var Pt = function(r) {
6553
6552
  }, e.serialVersionUID.get = function() {
6554
6553
  return -3494792200821764600;
6555
6554
  }, Object.defineProperties(t, e), t;
6556
- }(k), yi = function(r) {
6555
+ }(G), yi = function(r) {
6557
6556
  function t() {
6558
6557
  r.apply(this, arguments);
6559
6558
  }
6560
6559
  r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t;
6561
6560
  var e = { serialVersionUID: { configurable: !0 } };
6562
6561
  return t.prototype.getSortIndex = function() {
6563
- return k.SORTINDEX_MULTIPOINT;
6562
+ return G.SORTINDEX_MULTIPOINT;
6564
6563
  }, t.prototype.isValid = function() {
6565
6564
  return !0;
6566
6565
  }, t.prototype.equalsExact = function() {
@@ -6594,14 +6593,14 @@ var Pt = function(r) {
6594
6593
  }, e.serialVersionUID.get = function() {
6595
6594
  return -8048474874175356e3;
6596
6595
  }, Object.defineProperties(t, e), t;
6597
- }(te), wn = function(r) {
6596
+ }(te), Sn = function(r) {
6598
6597
  function t(n, i) {
6599
6598
  n instanceof v && i instanceof H && (n = i.getCoordinateSequenceFactory().create(n)), r.call(this, n, i), this.validateConstruction();
6600
6599
  }
6601
6600
  r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t;
6602
6601
  var e = { MINIMUM_VALID_SIZE: { configurable: !0 }, serialVersionUID: { configurable: !0 } };
6603
6602
  return t.prototype.getSortIndex = function() {
6604
- return k.SORTINDEX_LINEARRING;
6603
+ return G.SORTINDEX_LINEARRING;
6605
6604
  }, t.prototype.getBoundaryDimension = function() {
6606
6605
  return Q.FALSE;
6607
6606
  }, t.prototype.isClosed = function() {
@@ -6629,14 +6628,14 @@ var Pt = function(r) {
6629
6628
  }, e.serialVersionUID.get = function() {
6630
6629
  return -4261142084085851600;
6631
6630
  }, Object.defineProperties(t, e), t;
6632
- }(pt), Nn = function(r) {
6631
+ }(pt), Cn = function(r) {
6633
6632
  function t() {
6634
6633
  r.apply(this, arguments);
6635
6634
  }
6636
6635
  r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t;
6637
6636
  var e = { serialVersionUID: { configurable: !0 } };
6638
6637
  return t.prototype.getSortIndex = function() {
6639
- return k.SORTINDEX_MULTIPOLYGON;
6638
+ return G.SORTINDEX_MULTIPOLYGON;
6640
6639
  }, t.prototype.equalsExact = function() {
6641
6640
  if (arguments.length === 2) {
6642
6641
  var i = arguments[0], o = arguments[1];
@@ -6693,7 +6692,7 @@ Oe.prototype.editGeometryCollection = function(t, e) {
6693
6692
  var a = n.edit(i.getGeometryN(s), e);
6694
6693
  a === null || a.isEmpty() || o.add(a);
6695
6694
  }
6696
- return i.getClass() === yi ? this._factory.createMultiPoint(o.toArray([])) : i.getClass() === Sr ? this._factory.createMultiLineString(o.toArray([])) : i.getClass() === Nn ? this._factory.createMultiPolygon(o.toArray([])) : this._factory.createGeometryCollection(o.toArray([]));
6695
+ return i.getClass() === yi ? this._factory.createMultiPoint(o.toArray([])) : i.getClass() === xr ? this._factory.createMultiLineString(o.toArray([])) : i.getClass() === Cn ? this._factory.createMultiPolygon(o.toArray([])) : this._factory.createGeometryCollection(o.toArray([]));
6697
6696
  };
6698
6697
  Oe.prototype.editPolygon = function(t, e) {
6699
6698
  var n = this, i = e.edit(t, this._factory);
@@ -6741,7 +6740,7 @@ var no = function() {
6741
6740
  };
6742
6741
  no.prototype.edit = function(t, e) {
6743
6742
  var n = this.editCoordinates(t.getCoordinates(), t);
6744
- return n === null ? t : t instanceof wn ? e.createLinearRing(n) : t instanceof pt ? e.createLineString(n) : t instanceof ge ? n.length > 0 ? e.createPoint(n[0]) : e.createPoint() : t;
6743
+ return n === null ? t : t instanceof Sn ? e.createLinearRing(n) : t instanceof pt ? e.createLineString(n) : t instanceof ge ? n.length > 0 ? e.createPoint(n[0]) : e.createPoint() : t;
6745
6744
  };
6746
6745
  no.prototype.interfaces_ = function() {
6747
6746
  return [Oe.GeometryEditorOperation];
@@ -6752,7 +6751,7 @@ no.prototype.getClass = function() {
6752
6751
  var ro = function() {
6753
6752
  };
6754
6753
  ro.prototype.edit = function(t, e) {
6755
- return t instanceof wn ? e.createLinearRing(this.edit(t.getCoordinateSequence(), t)) : t instanceof pt ? e.createLineString(this.edit(t.getCoordinateSequence(), t)) : t instanceof ge ? e.createPoint(this.edit(t.getCoordinateSequence(), t)) : t;
6754
+ return t instanceof Sn ? e.createLinearRing(this.edit(t.getCoordinateSequence(), t)) : t instanceof pt ? e.createLineString(this.edit(t.getCoordinateSequence(), t)) : t instanceof ge ? e.createPoint(this.edit(t.getCoordinateSequence(), t)) : t;
6756
6755
  };
6757
6756
  ro.prototype.interfaces_ = function() {
6758
6757
  return [Oe.GeometryEditorOperation];
@@ -6770,7 +6769,7 @@ var yt = function() {
6770
6769
  this._coordinates = new Array(e).fill(null);
6771
6770
  for (var n = 0; n < e; n++)
6772
6771
  t._coordinates[n] = new v();
6773
- } else if (G(arguments[0], K)) {
6772
+ } else if (k(arguments[0], K)) {
6774
6773
  var i = arguments[0];
6775
6774
  if (i === null)
6776
6775
  return this._coordinates = new Array(0).fill(null), null;
@@ -6879,17 +6878,17 @@ cu.serialVersionUID.get = function() {
6879
6878
  return -915438501601840600;
6880
6879
  };
6881
6880
  Object.defineProperties(yt, cu);
6882
- var Ln = function() {
6881
+ var wn = function() {
6883
6882
  }, Bs = { serialVersionUID: { configurable: !0 }, instanceObject: { configurable: !0 } };
6884
- Ln.prototype.readResolve = function() {
6885
- return Ln.instance();
6883
+ wn.prototype.readResolve = function() {
6884
+ return wn.instance();
6886
6885
  };
6887
- Ln.prototype.create = function() {
6886
+ wn.prototype.create = function() {
6888
6887
  if (arguments.length === 1) {
6889
6888
  if (arguments[0] instanceof Array) {
6890
6889
  var t = arguments[0];
6891
6890
  return new yt(t);
6892
- } else if (G(arguments[0], K)) {
6891
+ } else if (k(arguments[0], K)) {
6893
6892
  var e = arguments[0];
6894
6893
  return new yt(e);
6895
6894
  }
@@ -6898,22 +6897,22 @@ Ln.prototype.create = function() {
6898
6897
  return i > 3 && (i = 3), i < 2 ? new yt(n) : new yt(n, i);
6899
6898
  }
6900
6899
  };
6901
- Ln.prototype.interfaces_ = function() {
6900
+ wn.prototype.interfaces_ = function() {
6902
6901
  return [fi, Ae];
6903
6902
  };
6904
- Ln.prototype.getClass = function() {
6905
- return Ln;
6903
+ wn.prototype.getClass = function() {
6904
+ return wn;
6906
6905
  };
6907
- Ln.instance = function() {
6908
- return Ln.instanceObject;
6906
+ wn.instance = function() {
6907
+ return wn.instanceObject;
6909
6908
  };
6910
6909
  Bs.serialVersionUID.get = function() {
6911
6910
  return -4099577099607551500;
6912
6911
  };
6913
6912
  Bs.instanceObject.get = function() {
6914
- return new Ln();
6913
+ return new wn();
6915
6914
  };
6916
- Object.defineProperties(Ln, Bs);
6915
+ Object.defineProperties(wn, Bs);
6917
6916
  var fu = function(r) {
6918
6917
  function t() {
6919
6918
  r.call(this), this.map_ = /* @__PURE__ */ new Map();
@@ -6949,7 +6948,7 @@ var fu = function(r) {
6949
6948
  this._modelType = n._modelType, this._scale = n._scale;
6950
6949
  }
6951
6950
  }
6952
- }, ks = { serialVersionUID: { configurable: !0 }, maximumPreciseValue: { configurable: !0 } };
6951
+ }, Gs = { serialVersionUID: { configurable: !0 }, maximumPreciseValue: { configurable: !0 } };
6953
6952
  Z.prototype.equals = function(t) {
6954
6953
  if (!(t instanceof Z))
6955
6954
  return !1;
@@ -7006,16 +7005,16 @@ Z.prototype.getClass = function() {
7006
7005
  Z.mostPrecise = function(t, e) {
7007
7006
  return t.compareTo(e) >= 0 ? t : e;
7008
7007
  };
7009
- ks.serialVersionUID.get = function() {
7008
+ Gs.serialVersionUID.get = function() {
7010
7009
  return 7777263578777804e3;
7011
7010
  };
7012
- ks.maximumPreciseValue.get = function() {
7011
+ Gs.maximumPreciseValue.get = function() {
7013
7012
  return 9007199254740992;
7014
7013
  };
7015
- Object.defineProperties(Z, ks);
7014
+ Object.defineProperties(Z, Gs);
7016
7015
  var un = function r(t) {
7017
7016
  this._name = t || null, r.nameToTypeMap.put(t, this);
7018
- }, Gs = { serialVersionUID: { configurable: !0 }, nameToTypeMap: { configurable: !0 } };
7017
+ }, ks = { serialVersionUID: { configurable: !0 }, nameToTypeMap: { configurable: !0 } };
7019
7018
  un.prototype.readResolve = function() {
7020
7019
  return un.nameToTypeMap.get(this._name);
7021
7020
  };
@@ -7028,19 +7027,19 @@ un.prototype.interfaces_ = function() {
7028
7027
  un.prototype.getClass = function() {
7029
7028
  return un;
7030
7029
  };
7031
- Gs.serialVersionUID.get = function() {
7030
+ ks.serialVersionUID.get = function() {
7032
7031
  return -552860263173159e4;
7033
7032
  };
7034
- Gs.nameToTypeMap.get = function() {
7033
+ ks.nameToTypeMap.get = function() {
7035
7034
  return new fu();
7036
7035
  };
7037
- Object.defineProperties(un, Gs);
7036
+ Object.defineProperties(un, ks);
7038
7037
  Z.Type = un;
7039
7038
  Z.FIXED = new un("FIXED");
7040
7039
  Z.FLOATING = new un("FLOATING");
7041
7040
  Z.FLOATING_SINGLE = new un("FLOATING SINGLE");
7042
7041
  var H = function r() {
7043
- this._precisionModel = new Z(), this._SRID = 0, this._coordinateSequenceFactory = r.getDefaultCoordinateSequenceFactory(), arguments.length === 0 || (arguments.length === 1 ? G(arguments[0], fi) ? this._coordinateSequenceFactory = arguments[0] : arguments[0] instanceof Z && (this._precisionModel = arguments[0]) : arguments.length === 2 ? (this._precisionModel = arguments[0], this._SRID = arguments[1]) : arguments.length === 3 && (this._precisionModel = arguments[0], this._SRID = arguments[1], this._coordinateSequenceFactory = arguments[2]));
7042
+ this._precisionModel = new Z(), this._SRID = 0, this._coordinateSequenceFactory = r.getDefaultCoordinateSequenceFactory(), arguments.length === 0 || (arguments.length === 1 ? k(arguments[0], fi) ? this._coordinateSequenceFactory = arguments[0] : arguments[0] instanceof Z && (this._precisionModel = arguments[0]) : arguments.length === 2 ? (this._precisionModel = arguments[0], this._SRID = arguments[1]) : arguments.length === 3 && (this._precisionModel = arguments[0], this._SRID = arguments[1], this._coordinateSequenceFactory = arguments[2]));
7044
7043
  }, hu = { serialVersionUID: { configurable: !0 } };
7045
7044
  H.prototype.toGeometry = function(t) {
7046
7045
  return t.isNull() ? this.createPoint(null) : t.getMinX() === t.getMaxX() && t.getMinY() === t.getMaxY() ? this.createPoint(new v(t.getMinX(), t.getMinY())) : t.getMinX() === t.getMaxX() || t.getMinY() === t.getMaxY() ? this.createLineString([new v(t.getMinX(), t.getMinY()), new v(t.getMaxX(), t.getMaxY())]) : this.createPolygon(this.createLinearRing([new v(t.getMinX(), t.getMinY()), new v(t.getMinX(), t.getMaxY()), new v(t.getMaxX(), t.getMaxY()), new v(t.getMaxX(), t.getMinY()), new v(t.getMinX(), t.getMinY())]), null);
@@ -7049,17 +7048,17 @@ H.prototype.createLineString = function(t) {
7049
7048
  if (t) {
7050
7049
  if (t instanceof Array)
7051
7050
  return new pt(this.getCoordinateSequenceFactory().create(t), this);
7052
- if (G(t, K))
7051
+ if (k(t, K))
7053
7052
  return new pt(t, this);
7054
7053
  } else
7055
7054
  return new pt(this.getCoordinateSequenceFactory().create([]), this);
7056
7055
  };
7057
7056
  H.prototype.createMultiLineString = function() {
7058
7057
  if (arguments.length === 0)
7059
- return new Sr(null, this);
7058
+ return new xr(null, this);
7060
7059
  if (arguments.length === 1) {
7061
7060
  var t = arguments[0];
7062
- return new Sr(t, this);
7061
+ return new xr(t, this);
7063
7062
  }
7064
7063
  };
7065
7064
  H.prototype.buildGeometry = function(t) {
@@ -7093,7 +7092,7 @@ H.prototype.createPoint = function() {
7093
7092
  if (arguments[0] instanceof v) {
7094
7093
  var t = arguments[0];
7095
7094
  return this.createPoint(t !== null ? this.getCoordinateSequenceFactory().create([t]) : null);
7096
- } else if (G(arguments[0], K)) {
7095
+ } else if (k(arguments[0], K)) {
7097
7096
  var e = arguments[0];
7098
7097
  return new ge(e, this);
7099
7098
  }
@@ -7106,13 +7105,13 @@ H.prototype.createPolygon = function() {
7106
7105
  if (arguments.length === 0)
7107
7106
  return new Pt(null, null, this);
7108
7107
  if (arguments.length === 1) {
7109
- if (G(arguments[0], K)) {
7108
+ if (k(arguments[0], K)) {
7110
7109
  var t = arguments[0];
7111
7110
  return this.createPolygon(this.createLinearRing(t));
7112
7111
  } else if (arguments[0] instanceof Array) {
7113
7112
  var e = arguments[0];
7114
7113
  return this.createPolygon(this.createLinearRing(e));
7115
- } else if (arguments[0] instanceof wn) {
7114
+ } else if (arguments[0] instanceof Sn) {
7116
7115
  var n = arguments[0];
7117
7116
  return this.createPolygon(n, null);
7118
7117
  }
@@ -7153,18 +7152,18 @@ H.prototype.createLinearRing = function() {
7153
7152
  if (arguments[0] instanceof Array) {
7154
7153
  var t = arguments[0];
7155
7154
  return this.createLinearRing(t !== null ? this.getCoordinateSequenceFactory().create(t) : null);
7156
- } else if (G(arguments[0], K)) {
7155
+ } else if (k(arguments[0], K)) {
7157
7156
  var e = arguments[0];
7158
- return new wn(e, this);
7157
+ return new Sn(e, this);
7159
7158
  }
7160
7159
  }
7161
7160
  };
7162
7161
  H.prototype.createMultiPolygon = function() {
7163
7162
  if (arguments.length === 0)
7164
- return new Nn(null, this);
7163
+ return new Cn(null, this);
7165
7164
  if (arguments.length === 1) {
7166
7165
  var t = arguments[0];
7167
- return new Nn(t, this);
7166
+ return new Cn(t, this);
7168
7167
  }
7169
7168
  };
7170
7169
  H.prototype.createMultiPoint = function() {
@@ -7178,7 +7177,7 @@ H.prototype.createMultiPoint = function() {
7178
7177
  } else if (arguments[0] instanceof Array) {
7179
7178
  var n = arguments[0];
7180
7179
  return this.createMultiPoint(n !== null ? this.getCoordinateSequenceFactory().create(n) : null);
7181
- } else if (G(arguments[0], K)) {
7180
+ } else if (k(arguments[0], K)) {
7182
7181
  var i = arguments[0];
7183
7182
  if (i === null)
7184
7183
  return this.createMultiPoint(new Array(0).fill(null));
@@ -7207,7 +7206,7 @@ H.toGeometryArray = function(t) {
7207
7206
  return t.toArray(e);
7208
7207
  };
7209
7208
  H.getDefaultCoordinateSequenceFactory = function() {
7210
- return Ln.instance();
7209
+ return wn.instance();
7211
7210
  };
7212
7211
  H.toMultiLineStringArray = function(t) {
7213
7212
  var e = new Array(t.size()).fill(null);
@@ -7240,7 +7239,7 @@ hu.serialVersionUID.get = function() {
7240
7239
  return -6820524753094096e3;
7241
7240
  };
7242
7241
  Object.defineProperties(H, hu);
7243
- var Sc = ["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"], Zo = function(t) {
7242
+ var xc = ["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"], Zo = function(t) {
7244
7243
  this.geometryFactory = t || new H();
7245
7244
  };
7246
7245
  Zo.prototype.read = function(t) {
@@ -7249,7 +7248,7 @@ Zo.prototype.read = function(t) {
7249
7248
  var n = e.type;
7250
7249
  if (!$e[n])
7251
7250
  throw new Error("Unknown GeoJSON type: " + e.type);
7252
- return Sc.indexOf(n) !== -1 ? $e[n].apply(this, [e.coordinates]) : n === "GeometryCollection" ? $e[n].apply(this, [e.geometries]) : $e[n].apply(this, [e]);
7251
+ return xc.indexOf(n) !== -1 ? $e[n].apply(this, [e.coordinates]) : n === "GeometryCollection" ? $e[n].apply(this, [e.geometries]) : $e[n].apply(this, [e]);
7253
7252
  };
7254
7253
  Zo.prototype.write = function(t) {
7255
7254
  var e = t.getGeometryType();
@@ -7612,7 +7611,7 @@ ts.prototype.name = "EmptyStackException";
7612
7611
  function yn() {
7613
7612
  this.array_ = [];
7614
7613
  }
7615
- yn.prototype = new Ge();
7614
+ yn.prototype = new ke();
7616
7615
  yn.prototype.add = function(r) {
7617
7616
  return this.array_.push(r), !0;
7618
7617
  };
@@ -8155,7 +8154,7 @@ Nt.prototype.interfaces_ = function() {
8155
8154
  Nt.prototype.getClass = function() {
8156
8155
  return Nt;
8157
8156
  };
8158
- var wc = function(r) {
8157
+ var Sc = function(r) {
8159
8158
  function t() {
8160
8159
  var e = arguments[0], n = arguments[1];
8161
8160
  r.call(this, e, n);
@@ -8169,7 +8168,7 @@ var wc = function(r) {
8169
8168
  }, t.prototype.getClass = function() {
8170
8169
  return t;
8171
8170
  }, t;
8172
- }(Nt), Lc = function(r) {
8171
+ }(Nt), wc = function(r) {
8173
8172
  function t() {
8174
8173
  var e = arguments[0], n = arguments[1];
8175
8174
  r.call(this, e, n);
@@ -8178,7 +8177,7 @@ var wc = function(r) {
8178
8177
  var n = this, i = new L(), o = this._startDe;
8179
8178
  do {
8180
8179
  if (o.getMinEdgeRing() === null) {
8181
- var s = new wc(o, n._geometryFactory);
8180
+ var s = new Sc(o, n._geometryFactory);
8182
8181
  i.add(s);
8183
8182
  }
8184
8183
  o = o.getNext();
@@ -8610,7 +8609,7 @@ ht.prototype.linkResultDirectedEdges = function() {
8610
8609
  }
8611
8610
  };
8612
8611
  ht.prototype.debugPrintln = function(t) {
8613
- Gt.out.println(t);
8612
+ kt.out.println(t);
8614
8613
  };
8615
8614
  ht.prototype.isBoundaryNode = function(t, e) {
8616
8615
  var n = this._nodes.find(e);
@@ -8632,7 +8631,7 @@ ht.prototype.getEdgeEnds = function() {
8632
8631
  return this._edgeEndList;
8633
8632
  };
8634
8633
  ht.prototype.debugPrint = function(t) {
8635
- Gt.out.print(t);
8634
+ kt.out.print(t);
8636
8635
  };
8637
8636
  ht.prototype.getEdgeIterator = function() {
8638
8637
  return this._edges.iterator();
@@ -8743,7 +8742,7 @@ pe.prototype.buildMaximalEdgeRings = function(t) {
8743
8742
  for (var e = this, n = new L(), i = t.iterator(); i.hasNext(); ) {
8744
8743
  var o = i.next();
8745
8744
  if (o.isInResult() && o.getLabel().isArea() && o.getEdgeRing() === null) {
8746
- var s = new Lc(o, e._geometryFactory);
8745
+ var s = new wc(o, e._geometryFactory);
8747
8746
  n.add(s), s.setInResult();
8748
8747
  }
8749
8748
  }
@@ -8930,7 +8929,7 @@ qe.min = function(t) {
8930
8929
  };
8931
8930
  qe.sort = function(t, e) {
8932
8931
  var n = t.toArray();
8933
- e ? Ir.sort(n, e) : Ir.sort(n);
8932
+ e ? Er.sort(n, e) : Er.sort(n);
8934
8933
  for (var i = t.iterator(), o = 0, s = n.length; o < s; o++)
8935
8934
  i.next(), i.set(n[o]);
8936
8935
  };
@@ -9071,12 +9070,12 @@ Ot.prototype.query = function() {
9071
9070
  return null;
9072
9071
  this.getIntersectsOp().intersects(this._root.getBounds(), i) && this.query(i, this._root, o);
9073
9072
  } else if (arguments.length === 3) {
9074
- if (G(arguments[2], or) && arguments[0] instanceof Object && arguments[1] instanceof bt)
9073
+ if (k(arguments[2], or) && arguments[0] instanceof Object && arguments[1] instanceof bt)
9075
9074
  for (var s = arguments[0], a = arguments[1], u = arguments[2], l = a.getChildBoundables(), c = 0; c < l.size(); c++) {
9076
9075
  var f = l.get(c);
9077
9076
  t.getIntersectsOp().intersects(f.getBounds(), s) && (f instanceof bt ? t.query(s, f, u) : f instanceof Ue ? u.visitItem(f.getItem()) : X.shouldNeverReachHere());
9078
9077
  }
9079
- else if (G(arguments[2], Ge) && arguments[0] instanceof Object && arguments[1] instanceof bt)
9078
+ else if (k(arguments[2], ke) && arguments[0] instanceof Object && arguments[1] instanceof bt)
9080
9079
  for (var h = arguments[0], g = arguments[1], p = arguments[2], m = g.getChildBoundables(), d = 0; d < m.size(); d++) {
9081
9080
  var _ = m.get(d);
9082
9081
  t.getIntersectsOp().intersects(_.getBounds(), h) && (_ instanceof bt ? t.query(h, _, p) : _ instanceof Ue ? p.add(_.getItem()) : X.shouldNeverReachHere());
@@ -9156,7 +9155,7 @@ Ot.compareDoubles = function(t, e) {
9156
9155
  return t > e ? 1 : t < e ? -1 : 0;
9157
9156
  };
9158
9157
  rs.IntersectsOp.get = function() {
9159
- return bc;
9158
+ return Lc;
9160
9159
  };
9161
9160
  rs.serialVersionUID.get = function() {
9162
9161
  return -3886435814360241e3;
@@ -9165,7 +9164,7 @@ rs.DEFAULT_NODE_CAPACITY.get = function() {
9165
9164
  return 10;
9166
9165
  };
9167
9166
  Object.defineProperties(Ot, rs);
9168
- var bc = function() {
9167
+ var Lc = function() {
9169
9168
  }, Ei = function() {
9170
9169
  };
9171
9170
  Ei.prototype.distance = function(t, e) {
@@ -9219,10 +9218,10 @@ var du = function(r) {
9219
9218
  var o = arguments[0], s = arguments[1];
9220
9219
  r.prototype.query.call(this, o, s);
9221
9220
  } else if (arguments.length === 3) {
9222
- if (G(arguments[2], or) && arguments[0] instanceof Object && arguments[1] instanceof bt) {
9221
+ if (k(arguments[2], or) && arguments[0] instanceof Object && arguments[1] instanceof bt) {
9223
9222
  var a = arguments[0], u = arguments[1], l = arguments[2];
9224
9223
  r.prototype.query.call(this, a, u, l);
9225
- } else if (G(arguments[2], Ge) && arguments[0] instanceof Object && arguments[1] instanceof bt) {
9224
+ } else if (k(arguments[2], ke) && arguments[0] instanceof Object && arguments[1] instanceof bt) {
9226
9225
  var c = arguments[0], f = arguments[1], h = arguments[2];
9227
9226
  r.prototype.query.call(this, c, f, h);
9228
9227
  }
@@ -9247,7 +9246,7 @@ var du = function(r) {
9247
9246
  return this.createParentBoundablesFromVerticalSlices(u, o);
9248
9247
  }, t.prototype.nearestNeighbour = function() {
9249
9248
  if (arguments.length === 1) {
9250
- if (G(arguments[0], Ei)) {
9249
+ if (k(arguments[0], Ei)) {
9251
9250
  var i = arguments[0], o = new It(this.getRoot(), this.getRoot(), i);
9252
9251
  return this.nearestNeighbour(o);
9253
9252
  } else if (arguments[0] instanceof It) {
@@ -9255,7 +9254,7 @@ var du = function(r) {
9255
9254
  return this.nearestNeighbour(s, V.POSITIVE_INFINITY);
9256
9255
  }
9257
9256
  } else if (arguments.length === 2) {
9258
- if (arguments[0] instanceof t && G(arguments[1], Ei)) {
9257
+ if (arguments[0] instanceof t && k(arguments[1], Ei)) {
9259
9258
  var a = arguments[0], u = arguments[1], l = new It(this.getRoot(), a.getRoot(), u);
9260
9259
  return this.nearestNeighbour(l);
9261
9260
  } else if (arguments[0] instanceof It && typeof arguments[1] == "number") {
@@ -9518,32 +9517,32 @@ Yr.octant = function() {
9518
9517
  return Yr.octant(a, u);
9519
9518
  }
9520
9519
  };
9521
- var bn = function() {
9520
+ var Ln = function() {
9522
9521
  };
9523
- bn.prototype.getCoordinates = function() {
9522
+ Ln.prototype.getCoordinates = function() {
9524
9523
  };
9525
- bn.prototype.size = function() {
9524
+ Ln.prototype.size = function() {
9526
9525
  };
9527
- bn.prototype.getCoordinate = function(t) {
9526
+ Ln.prototype.getCoordinate = function(t) {
9528
9527
  };
9529
- bn.prototype.isClosed = function() {
9528
+ Ln.prototype.isClosed = function() {
9530
9529
  };
9531
- bn.prototype.setData = function(t) {
9530
+ Ln.prototype.setData = function(t) {
9532
9531
  };
9533
- bn.prototype.getData = function() {
9532
+ Ln.prototype.getData = function() {
9534
9533
  };
9535
- bn.prototype.interfaces_ = function() {
9534
+ Ln.prototype.interfaces_ = function() {
9536
9535
  return [];
9537
9536
  };
9538
- bn.prototype.getClass = function() {
9539
- return bn;
9537
+ Ln.prototype.getClass = function() {
9538
+ return Ln;
9540
9539
  };
9541
9540
  var io = function() {
9542
9541
  };
9543
9542
  io.prototype.addIntersection = function(t, e) {
9544
9543
  };
9545
9544
  io.prototype.interfaces_ = function() {
9546
- return [bn];
9545
+ return [Ln];
9547
9546
  };
9548
9547
  io.prototype.getClass = function() {
9549
9548
  return io;
@@ -9659,7 +9658,7 @@ M.prototype.equals = function(t) {
9659
9658
  return this.p0.equals(e.p0) && this.p1.equals(e.p1);
9660
9659
  };
9661
9660
  M.prototype.intersection = function(t) {
9662
- var e = new Ar();
9661
+ var e = new Mr();
9663
9662
  return e.computeIntersection(this.p0, this.p1, t.p0, t.p1), e.hasIntersection() ? e.getIntersection(0) : null;
9664
9663
  };
9665
9664
  M.prototype.project = function() {
@@ -9747,7 +9746,7 @@ M.prototype.equalsTopo = function(t) {
9747
9746
  };
9748
9747
  M.prototype.lineIntersection = function(t) {
9749
9748
  try {
9750
- var e = ke.intersection(this.p0, this.p1, t.p0, t.p1);
9749
+ var e = Ge.intersection(this.p0, this.p1, t.p0, t.p1);
9751
9750
  return e;
9752
9751
  } catch (n) {
9753
9752
  if (!(n instanceof Ai))
@@ -9954,17 +9953,17 @@ rn.toIntArray = function(t) {
9954
9953
  e[n] = t.get(n).intValue();
9955
9954
  return e;
9956
9955
  };
9957
- var wr = function() {
9956
+ var Sr = function() {
9958
9957
  };
9959
- wr.prototype.computeNodes = function(t) {
9958
+ Sr.prototype.computeNodes = function(t) {
9960
9959
  };
9961
- wr.prototype.getNodedSubstrings = function() {
9960
+ Sr.prototype.getNodedSubstrings = function() {
9962
9961
  };
9963
- wr.prototype.interfaces_ = function() {
9962
+ Sr.prototype.interfaces_ = function() {
9964
9963
  return [];
9965
9964
  };
9966
- wr.prototype.getClass = function() {
9967
- return wr;
9965
+ Sr.prototype.getClass = function() {
9966
+ return Sr;
9968
9967
  };
9969
9968
  var so = function() {
9970
9969
  if (this._segInt = null, arguments.length !== 0) {
@@ -9978,7 +9977,7 @@ so.prototype.setSegmentIntersector = function(t) {
9978
9977
  this._segInt = t;
9979
9978
  };
9980
9979
  so.prototype.interfaces_ = function() {
9981
- return [wr];
9980
+ return [Sr];
9982
9981
  };
9983
9982
  so.prototype.getClass = function() {
9984
9983
  return so;
@@ -10354,7 +10353,7 @@ Object.defineProperties(j, ii);
10354
10353
  var ut = function r() {
10355
10354
  this._maxCurveSegmentError = 0, this._filletAngleQuantum = null, this._closingSegLengthFactor = 1, this._segList = null, this._distance = 0, this._precisionModel = null, this._bufParams = null, this._li = null, this._s0 = null, this._s1 = null, this._s2 = null, this._seg0 = new M(), this._seg1 = new M(), this._offset0 = new M(), this._offset1 = new M(), this._side = 0, this._hasNarrowConcaveAngle = !1;
10356
10355
  var t = arguments[0], e = arguments[1], n = arguments[2];
10357
- this._precisionModel = t, this._bufParams = e, this._li = new Ar(), this._filletAngleQuantum = Math.PI / 2 / e.getQuadrantSegments(), e.getQuadrantSegments() >= 8 && e.getJoinStyle() === J.JOIN_ROUND && (this._closingSegLengthFactor = r.MAX_CLOSING_SEG_LEN_FACTOR), this.init(n);
10356
+ this._precisionModel = t, this._bufParams = e, this._li = new Mr(), this._filletAngleQuantum = Math.PI / 2 / e.getQuadrantSegments(), e.getQuadrantSegments() >= 8 && e.getJoinStyle() === J.JOIN_ROUND && (this._closingSegLengthFactor = r.MAX_CLOSING_SEG_LEN_FACTOR), this.init(n);
10358
10357
  }, mo = { OFFSET_SEGMENT_SEPARATION_FACTOR: { configurable: !0 }, INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR: { configurable: !0 }, CURVE_VERTEX_SNAP_DISTANCE_FACTOR: { configurable: !0 }, MAX_CLOSING_SEG_LEN_FACTOR: { configurable: !0 } };
10359
10358
  ut.prototype.addNextSegment = function(t, e) {
10360
10359
  if (this._s0 = this._s1, this._s1 = this._s2, this._s2 = t, this._seg0.setCoordinates(this._s0, this._s1), this.computeOffsetSegment(this._seg0, this._side, this._distance, this._offset0), this._seg1.setCoordinates(this._s1, this._s2), this.computeOffsetSegment(this._seg1, this._side, this._distance, this._offset1), this._s1.equals(this._s2))
@@ -10390,7 +10389,7 @@ ut.prototype.getCoordinates = function() {
10390
10389
  ut.prototype.addMitreJoin = function(t, e, n, i) {
10391
10390
  var o = !0, s = null;
10392
10391
  try {
10393
- s = ke.intersection(e.p0, e.p1, n.p0, n.p1);
10392
+ s = Ge.intersection(e.p0, e.p1, n.p0, n.p1);
10394
10393
  var a = i <= 0 ? 1 : s.distance(t) / Math.abs(i);
10395
10394
  a > this._bufParams.getMitreLimit() && (o = !1);
10396
10395
  } catch (u) {
@@ -10633,18 +10632,18 @@ Hr.prototype.findStabbedSegments = function() {
10633
10632
  }
10634
10633
  return n;
10635
10634
  } else if (arguments.length === 3) {
10636
- if (G(arguments[2], Ge) && arguments[0] instanceof v && arguments[1] instanceof ws)
10635
+ if (k(arguments[2], ke) && arguments[0] instanceof v && arguments[1] instanceof ws)
10637
10636
  for (var a = arguments[0], u = arguments[1], l = arguments[2], c = u.getEdge().getCoordinates(), f = 0; f < c.length - 1; f++) {
10638
10637
  t._seg.p0 = c[f], t._seg.p1 = c[f + 1], t._seg.p0.y > t._seg.p1.y && t._seg.reverse();
10639
10638
  var h = Math.max(t._seg.p0.x, t._seg.p1.x);
10640
10639
  if (!(h < a.x) && !t._seg.isHorizontal() && !(a.y < t._seg.p0.y || a.y > t._seg.p1.y) && P.computeOrientation(t._seg.p0, t._seg.p1, a) !== P.RIGHT) {
10641
10640
  var g = u.getDepth(w.LEFT);
10642
10641
  t._seg.p0.equals(c[f]) || (g = u.getDepth(w.RIGHT));
10643
- var p = new Lr(t._seg, g);
10642
+ var p = new wr(t._seg, g);
10644
10643
  l.add(p);
10645
10644
  }
10646
10645
  }
10647
- else if (G(arguments[2], Ge) && arguments[0] instanceof v && G(arguments[1], Ge))
10646
+ else if (k(arguments[2], ke) && arguments[0] instanceof v && k(arguments[1], ke))
10648
10647
  for (var m = arguments[0], d = arguments[1], _ = arguments[2], I = d.iterator(); I.hasNext(); ) {
10649
10648
  var C = I.next();
10650
10649
  C.isForward() && t.findStabbedSegments(m, C, _);
@@ -10665,15 +10664,15 @@ Hr.prototype.getClass = function() {
10665
10664
  return Hr;
10666
10665
  };
10667
10666
  mu.DepthSegment.get = function() {
10668
- return Lr;
10667
+ return wr;
10669
10668
  };
10670
10669
  Object.defineProperties(Hr, mu);
10671
- var Lr = function() {
10670
+ var wr = function() {
10672
10671
  this._upwardSeg = null, this._leftDepth = null;
10673
10672
  var t = arguments[0], e = arguments[1];
10674
10673
  this._upwardSeg = new M(t), this._leftDepth = e;
10675
10674
  };
10676
- Lr.prototype.compareTo = function(t) {
10675
+ wr.prototype.compareTo = function(t) {
10677
10676
  var e = t;
10678
10677
  if (this._upwardSeg.minX() >= e._upwardSeg.maxX())
10679
10678
  return 1;
@@ -10682,18 +10681,18 @@ Lr.prototype.compareTo = function(t) {
10682
10681
  var n = this._upwardSeg.orientationIndex(e._upwardSeg);
10683
10682
  return n !== 0 || (n = -1 * e._upwardSeg.orientationIndex(this._upwardSeg), n !== 0) ? n : this._upwardSeg.compareTo(e._upwardSeg);
10684
10683
  };
10685
- Lr.prototype.compareX = function(t, e) {
10684
+ wr.prototype.compareX = function(t, e) {
10686
10685
  var n = t.p0.compareTo(e.p0);
10687
10686
  return n !== 0 ? n : t.p1.compareTo(e.p1);
10688
10687
  };
10689
- Lr.prototype.toString = function() {
10688
+ wr.prototype.toString = function() {
10690
10689
  return this._upwardSeg.toString();
10691
10690
  };
10692
- Lr.prototype.interfaces_ = function() {
10691
+ wr.prototype.interfaces_ = function() {
10693
10692
  return [Me];
10694
10693
  };
10695
- Lr.prototype.getClass = function() {
10696
- return Lr;
10694
+ wr.prototype.getClass = function() {
10695
+ return wr;
10697
10696
  };
10698
10697
  var $ = function(t, e, n) {
10699
10698
  this.p0 = t || null, this.p1 = e || null, this.p2 = n || null;
@@ -10758,8 +10757,8 @@ $.circumcentre = function(t, e, n) {
10758
10757
  return new v(g, p);
10759
10758
  };
10760
10759
  $.perpendicularBisector = function(t, e) {
10761
- var n = e.x - t.x, i = e.y - t.y, o = new ke(t.x + n / 2, t.y + i / 2, 1), s = new ke(t.x - i + n / 2, t.y + n + i / 2, 1);
10762
- return new ke(o, s);
10760
+ var n = e.x - t.x, i = e.y - t.y, o = new Ge(t.x + n / 2, t.y + i / 2, 1), s = new Ge(t.x - i + n / 2, t.y + n + i / 2, 1);
10761
+ return new Ge(o, s);
10763
10762
  };
10764
10763
  $.angleBisector = function(t, e, n) {
10765
10764
  var i = e.distance(t), o = e.distance(n), s = i / (i + o), a = n.x - t.x, u = n.y - t.y, l = new v(t.x + s * a, t.y + s * u);
@@ -10820,17 +10819,17 @@ De.prototype.getCurves = function() {
10820
10819
  return this.add(this._inputGeom), this._curveList;
10821
10820
  };
10822
10821
  De.prototype.addPolygonRing = function(t, e, n, i, o) {
10823
- if (e === 0 && t.length < wn.MINIMUM_VALID_SIZE)
10822
+ if (e === 0 && t.length < Sn.MINIMUM_VALID_SIZE)
10824
10823
  return null;
10825
10824
  var s = i, a = o;
10826
- t.length >= wn.MINIMUM_VALID_SIZE && P.isCCW(t) && (s = o, a = i, n = w.opposite(n));
10825
+ t.length >= Sn.MINIMUM_VALID_SIZE && P.isCCW(t) && (s = o, a = i, n = w.opposite(n));
10827
10826
  var u = this._curveBuilder.getRingCurve(t, n, e);
10828
10827
  this.addCurve(u, s, a);
10829
10828
  };
10830
10829
  De.prototype.add = function(t) {
10831
10830
  if (t.isEmpty())
10832
10831
  return null;
10833
- t instanceof Pt ? this.addPolygon(t) : t instanceof pt ? this.addLineString(t) : t instanceof ge ? this.addPoint(t) : t instanceof yi ? this.addCollection(t) : t instanceof Sr ? this.addCollection(t) : t instanceof Nn ? this.addCollection(t) : t instanceof te && this.addCollection(t);
10832
+ t instanceof Pt ? this.addPolygon(t) : t instanceof pt ? this.addLineString(t) : t instanceof ge ? this.addPoint(t) : t instanceof yi ? this.addCollection(t) : t instanceof xr ? this.addCollection(t) : t instanceof Cn ? this.addCollection(t) : t instanceof te && this.addCollection(t);
10834
10833
  };
10835
10834
  De.prototype.isErodedCompletely = function(t, e) {
10836
10835
  var n = t.getCoordinates();
@@ -10863,14 +10862,14 @@ Ii.prototype.interfaces_ = function() {
10863
10862
  Ii.prototype.getClass = function() {
10864
10863
  return Ii;
10865
10864
  };
10866
- var xn = function() {
10865
+ var Nn = function() {
10867
10866
  this._parent = null, this._atStart = null, this._max = null, this._index = null, this._subcollectionIterator = null;
10868
10867
  var t = arguments[0];
10869
10868
  this._parent = t, this._atStart = !0, this._index = 0, this._max = t.getNumGeometries();
10870
10869
  };
10871
- xn.prototype.next = function() {
10870
+ Nn.prototype.next = function() {
10872
10871
  if (this._atStart)
10873
- return this._atStart = !1, xn.isAtomic(this._parent) && this._index++, this._parent;
10872
+ return this._atStart = !1, Nn.isAtomic(this._parent) && this._index++, this._parent;
10874
10873
  if (this._subcollectionIterator !== null) {
10875
10874
  if (this._subcollectionIterator.hasNext())
10876
10875
  return this._subcollectionIterator.next();
@@ -10879,12 +10878,12 @@ xn.prototype.next = function() {
10879
10878
  if (this._index >= this._max)
10880
10879
  throw new Bi();
10881
10880
  var t = this._parent.getGeometryN(this._index++);
10882
- return t instanceof te ? (this._subcollectionIterator = new xn(t), this._subcollectionIterator.next()) : t;
10881
+ return t instanceof te ? (this._subcollectionIterator = new Nn(t), this._subcollectionIterator.next()) : t;
10883
10882
  };
10884
- xn.prototype.remove = function() {
10883
+ Nn.prototype.remove = function() {
10885
10884
  throw new Error(this.getClass().getName());
10886
10885
  };
10887
- xn.prototype.hasNext = function() {
10886
+ Nn.prototype.hasNext = function() {
10888
10887
  if (this._atStart)
10889
10888
  return !0;
10890
10889
  if (this._subcollectionIterator !== null) {
@@ -10894,13 +10893,13 @@ xn.prototype.hasNext = function() {
10894
10893
  }
10895
10894
  return !(this._index >= this._max);
10896
10895
  };
10897
- xn.prototype.interfaces_ = function() {
10896
+ Nn.prototype.interfaces_ = function() {
10898
10897
  return [Fi];
10899
10898
  };
10900
- xn.prototype.getClass = function() {
10901
- return xn;
10899
+ Nn.prototype.getClass = function() {
10900
+ return Nn;
10902
10901
  };
10903
- xn.isAtomic = function(t) {
10902
+ Nn.isAtomic = function(t) {
10904
10903
  return !(t instanceof te);
10905
10904
  };
10906
10905
  var Ee = function() {
@@ -10937,7 +10936,7 @@ Ee.containsPoint = function(t, e) {
10937
10936
  if (e instanceof Pt)
10938
10937
  return Ee.containsPointInPolygon(t, e);
10939
10938
  if (e instanceof te)
10940
- for (var n = new xn(e); n.hasNext(); ) {
10939
+ for (var n = new Nn(e); n.hasNext(); ) {
10941
10940
  var i = n.next();
10942
10941
  if (i !== e && Ee.containsPoint(t, i))
10943
10942
  return !0;
@@ -10983,7 +10982,7 @@ Wt.prototype.getCoordinate = function() {
10983
10982
  return e.getCoordinate();
10984
10983
  };
10985
10984
  Wt.prototype.print = function(t) {
10986
- Gt.out.println("EdgeEndStar: " + this.getCoordinate());
10985
+ kt.out.println("EdgeEndStar: " + this.getCoordinate());
10987
10986
  for (var e = this.iterator(); e.hasNext(); ) {
10988
10987
  var n = e.next();
10989
10988
  n.print(t);
@@ -11075,7 +11074,7 @@ Wt.prototype.interfaces_ = function() {
11075
11074
  Wt.prototype.getClass = function() {
11076
11075
  return Wt;
11077
11076
  };
11078
- var Pc = function(r) {
11077
+ var bc = function(r) {
11079
11078
  function t() {
11080
11079
  r.call(this), this._resultAreaEdgeList = null, this._label = null, this._SCANNING_FOR_INCOMING = 1, this._LINKING_TO_OUTGOING = 2;
11081
11080
  }
@@ -11116,7 +11115,7 @@ var Pc = function(r) {
11116
11115
  var s = n.get(i - 1), a = o.getQuadrant(), u = s.getQuadrant();
11117
11116
  return nt.isNorthern(a) && nt.isNorthern(u) ? o : !nt.isNorthern(a) && !nt.isNorthern(u) ? s : o.getDy() !== 0 ? o : s.getDy() !== 0 ? s : (X.shouldNeverReachHere("found two horizontal edges incident on node"), null);
11118
11117
  }, t.prototype.print = function(n) {
11119
- Gt.out.println("DirectedEdgeStar: " + this.getCoordinate());
11118
+ kt.out.println("DirectedEdgeStar: " + this.getCoordinate());
11120
11119
  for (var i = this.iterator(); i.hasNext(); ) {
11121
11120
  var o = i.next();
11122
11121
  n.print("out "), o.print(n), n.println(), n.print("in "), o.getSym().print(n), n.println();
@@ -11233,7 +11232,7 @@ var Pc = function(r) {
11233
11232
  r.apply(this, arguments);
11234
11233
  }
11235
11234
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.createNode = function(n) {
11236
- return new ns(n, new Pc());
11235
+ return new ns(n, new bc());
11237
11236
  }, t.prototype.interfaces_ = function() {
11238
11237
  return [];
11239
11238
  }, t.prototype.getClass = function() {
@@ -11321,17 +11320,17 @@ Xe.prototype.interfaces_ = function() {
11321
11320
  Xe.prototype.getClass = function() {
11322
11321
  return Xe;
11323
11322
  };
11324
- var br = function() {
11323
+ var Lr = function() {
11325
11324
  };
11326
- br.prototype.processIntersections = function(t, e, n, i) {
11325
+ Lr.prototype.processIntersections = function(t, e, n, i) {
11327
11326
  };
11328
- br.prototype.isDone = function() {
11327
+ Lr.prototype.isDone = function() {
11329
11328
  };
11330
- br.prototype.interfaces_ = function() {
11329
+ Lr.prototype.interfaces_ = function() {
11331
11330
  return [];
11332
11331
  };
11333
- br.prototype.getClass = function() {
11334
- return br;
11332
+ Lr.prototype.getClass = function() {
11333
+ return Lr;
11335
11334
  };
11336
11335
  var Se = function() {
11337
11336
  this._hasIntersection = !1, this._hasProper = !1, this._hasProperInterior = !1, this._hasInterior = !1, this._properIntersectionPoint = null, this._li = null, this._isSelfIntersection = null, this.numIntersections = 0, this.numInteriorIntersections = 0, this.numProperIntersections = 0, this.numTests = 0;
@@ -11379,7 +11378,7 @@ Se.prototype.hasInteriorIntersection = function() {
11379
11378
  return this._hasInterior;
11380
11379
  };
11381
11380
  Se.prototype.interfaces_ = function() {
11382
- return [br];
11381
+ return [Lr];
11383
11382
  };
11384
11383
  Se.prototype.getClass = function() {
11385
11384
  return Se;
@@ -11423,22 +11422,22 @@ fn.prototype.interfaces_ = function() {
11423
11422
  fn.prototype.getClass = function() {
11424
11423
  return fn;
11425
11424
  };
11426
- var Pn = function() {
11425
+ var bn = function() {
11427
11426
  this._nodeMap = new Yt(), this.edge = null;
11428
11427
  var t = arguments[0];
11429
11428
  this.edge = t;
11430
11429
  };
11431
- Pn.prototype.print = function(t) {
11430
+ bn.prototype.print = function(t) {
11432
11431
  t.println("Intersections:");
11433
11432
  for (var e = this.iterator(); e.hasNext(); ) {
11434
11433
  var n = e.next();
11435
11434
  n.print(t);
11436
11435
  }
11437
11436
  };
11438
- Pn.prototype.iterator = function() {
11437
+ bn.prototype.iterator = function() {
11439
11438
  return this._nodeMap.values().iterator();
11440
11439
  };
11441
- Pn.prototype.addSplitEdges = function(t) {
11440
+ bn.prototype.addSplitEdges = function(t) {
11442
11441
  var e = this;
11443
11442
  this.addEndpoints();
11444
11443
  for (var n = this.iterator(), i = n.next(); n.hasNext(); ) {
@@ -11446,11 +11445,11 @@ Pn.prototype.addSplitEdges = function(t) {
11446
11445
  t.add(s), i = o;
11447
11446
  }
11448
11447
  };
11449
- Pn.prototype.addEndpoints = function() {
11448
+ bn.prototype.addEndpoints = function() {
11450
11449
  var t = this.edge.pts.length - 1;
11451
11450
  this.add(this.edge.pts[0], 0, 0), this.add(this.edge.pts[t], t, 0);
11452
11451
  };
11453
- Pn.prototype.createSplitEdge = function(t, e) {
11452
+ bn.prototype.createSplitEdge = function(t, e) {
11454
11453
  var n = this, i = e.segmentIndex - t.segmentIndex + 2, o = this.edge.pts[e.segmentIndex], s = e.dist > 0 || !e.coord.equals2D(o);
11455
11454
  s || i--;
11456
11455
  var a = new Array(i).fill(null), u = 0;
@@ -11459,11 +11458,11 @@ Pn.prototype.createSplitEdge = function(t, e) {
11459
11458
  a[u++] = n.edge.pts[l];
11460
11459
  return s && (a[u] = e.coord), new Bo(a, new tt(this.edge._label));
11461
11460
  };
11462
- Pn.prototype.add = function(t, e, n) {
11461
+ bn.prototype.add = function(t, e, n) {
11463
11462
  var i = new fn(t, e, n), o = this._nodeMap.get(i);
11464
11463
  return o !== null ? o : (this._nodeMap.put(i, i), i);
11465
11464
  };
11466
- Pn.prototype.isIntersection = function(t) {
11465
+ bn.prototype.isIntersection = function(t) {
11467
11466
  for (var e = this.iterator(); e.hasNext(); ) {
11468
11467
  var n = e.next();
11469
11468
  if (n.coord.equals(t))
@@ -11471,25 +11470,25 @@ Pn.prototype.isIntersection = function(t) {
11471
11470
  }
11472
11471
  return !1;
11473
11472
  };
11474
- Pn.prototype.interfaces_ = function() {
11473
+ bn.prototype.interfaces_ = function() {
11475
11474
  return [];
11476
11475
  };
11477
- Pn.prototype.getClass = function() {
11478
- return Pn;
11476
+ bn.prototype.getClass = function() {
11477
+ return bn;
11479
11478
  };
11480
- var Pr = function() {
11479
+ var br = function() {
11481
11480
  };
11482
- Pr.prototype.getChainStartIndices = function(t) {
11481
+ br.prototype.getChainStartIndices = function(t) {
11483
11482
  var e = this, n = 0, i = new L();
11484
11483
  i.add(new on(n));
11485
11484
  do {
11486
11485
  var o = e.findChainEnd(t, n);
11487
11486
  i.add(new on(o)), n = o;
11488
11487
  } while (n < t.length - 1);
11489
- var s = Pr.toIntArray(i);
11488
+ var s = br.toIntArray(i);
11490
11489
  return s;
11491
11490
  };
11492
- Pr.prototype.findChainEnd = function(t, e) {
11491
+ br.prototype.findChainEnd = function(t, e) {
11493
11492
  for (var n = nt.quadrant(t[e], t[e + 1]), i = e + 1; i < t.length; ) {
11494
11493
  var o = nt.quadrant(t[i - 1], t[i]);
11495
11494
  if (o !== n)
@@ -11498,13 +11497,13 @@ Pr.prototype.findChainEnd = function(t, e) {
11498
11497
  }
11499
11498
  return i - 1;
11500
11499
  };
11501
- Pr.prototype.interfaces_ = function() {
11500
+ br.prototype.interfaces_ = function() {
11502
11501
  return [];
11503
11502
  };
11504
- Pr.prototype.getClass = function() {
11505
- return Pr;
11503
+ br.prototype.getClass = function() {
11504
+ return br;
11506
11505
  };
11507
- Pr.toIntArray = function(t) {
11506
+ br.toIntArray = function(t) {
11508
11507
  for (var e = new Array(t.size()).fill(null), n = 0; n < e.length; n++)
11509
11508
  e[n] = t.get(n).intValue();
11510
11509
  return e;
@@ -11513,7 +11512,7 @@ var Kn = function() {
11513
11512
  this.e = null, this.pts = null, this.startIndex = null, this.env1 = new T(), this.env2 = new T();
11514
11513
  var t = arguments[0];
11515
11514
  this.e = t, this.pts = t.getCoordinates();
11516
- var e = new Pr();
11515
+ var e = new br();
11517
11516
  this.startIndex = e.getChainStartIndices(this.pts);
11518
11517
  };
11519
11518
  Kn.prototype.getCoordinates = function() {
@@ -11555,7 +11554,7 @@ Kn.prototype.interfaces_ = function() {
11555
11554
  Kn.prototype.getClass = function() {
11556
11555
  return Kn;
11557
11556
  };
11558
- var kt = function r() {
11557
+ var Gt = function r() {
11559
11558
  var t = this;
11560
11559
  this._depth = Array(2).fill().map(function() {
11561
11560
  return Array(3);
@@ -11564,29 +11563,29 @@ var kt = function r() {
11564
11563
  for (var n = 0; n < 3; n++)
11565
11564
  t._depth[e][n] = r.NULL_VALUE;
11566
11565
  }, Eu = { NULL_VALUE: { configurable: !0 } };
11567
- kt.prototype.getDepth = function(t, e) {
11566
+ Gt.prototype.getDepth = function(t, e) {
11568
11567
  return this._depth[t][e];
11569
11568
  };
11570
- kt.prototype.setDepth = function(t, e, n) {
11569
+ Gt.prototype.setDepth = function(t, e, n) {
11571
11570
  this._depth[t][e] = n;
11572
11571
  };
11573
- kt.prototype.isNull = function() {
11572
+ Gt.prototype.isNull = function() {
11574
11573
  var t = this;
11575
11574
  if (arguments.length === 0) {
11576
11575
  for (var e = 0; e < 2; e++)
11577
11576
  for (var n = 0; n < 3; n++)
11578
- if (t._depth[e][n] !== kt.NULL_VALUE)
11577
+ if (t._depth[e][n] !== Gt.NULL_VALUE)
11579
11578
  return !1;
11580
11579
  return !0;
11581
11580
  } else if (arguments.length === 1) {
11582
11581
  var i = arguments[0];
11583
- return this._depth[i][1] === kt.NULL_VALUE;
11582
+ return this._depth[i][1] === Gt.NULL_VALUE;
11584
11583
  } else if (arguments.length === 2) {
11585
11584
  var o = arguments[0], s = arguments[1];
11586
- return this._depth[o][s] === kt.NULL_VALUE;
11585
+ return this._depth[o][s] === Gt.NULL_VALUE;
11587
11586
  }
11588
11587
  };
11589
- kt.prototype.normalize = function() {
11588
+ Gt.prototype.normalize = function() {
11590
11589
  for (var t = this, e = 0; e < 2; e++)
11591
11590
  if (!t.isNull(e)) {
11592
11591
  var n = t._depth[e][1];
@@ -11597,44 +11596,44 @@ kt.prototype.normalize = function() {
11597
11596
  }
11598
11597
  }
11599
11598
  };
11600
- kt.prototype.getDelta = function(t) {
11599
+ Gt.prototype.getDelta = function(t) {
11601
11600
  return this._depth[t][w.RIGHT] - this._depth[t][w.LEFT];
11602
11601
  };
11603
- kt.prototype.getLocation = function(t, e) {
11602
+ Gt.prototype.getLocation = function(t, e) {
11604
11603
  return this._depth[t][e] <= 0 ? y.EXTERIOR : y.INTERIOR;
11605
11604
  };
11606
- kt.prototype.toString = function() {
11605
+ Gt.prototype.toString = function() {
11607
11606
  return "A: " + this._depth[0][1] + "," + this._depth[0][2] + " B: " + this._depth[1][1] + "," + this._depth[1][2];
11608
11607
  };
11609
- kt.prototype.add = function() {
11608
+ Gt.prototype.add = function() {
11610
11609
  var t = this;
11611
11610
  if (arguments.length === 1)
11612
11611
  for (var e = arguments[0], n = 0; n < 2; n++)
11613
11612
  for (var i = 1; i < 3; i++) {
11614
11613
  var o = e.getLocation(n, i);
11615
- (o === y.EXTERIOR || o === y.INTERIOR) && (t.isNull(n, i) ? t._depth[n][i] = kt.depthAtLocation(o) : t._depth[n][i] += kt.depthAtLocation(o));
11614
+ (o === y.EXTERIOR || o === y.INTERIOR) && (t.isNull(n, i) ? t._depth[n][i] = Gt.depthAtLocation(o) : t._depth[n][i] += Gt.depthAtLocation(o));
11616
11615
  }
11617
11616
  else if (arguments.length === 3) {
11618
11617
  var s = arguments[0], a = arguments[1], u = arguments[2];
11619
11618
  u === y.INTERIOR && this._depth[s][a]++;
11620
11619
  }
11621
11620
  };
11622
- kt.prototype.interfaces_ = function() {
11621
+ Gt.prototype.interfaces_ = function() {
11623
11622
  return [];
11624
11623
  };
11625
- kt.prototype.getClass = function() {
11626
- return kt;
11624
+ Gt.prototype.getClass = function() {
11625
+ return Gt;
11627
11626
  };
11628
- kt.depthAtLocation = function(t) {
11629
- return t === y.EXTERIOR ? 0 : t === y.INTERIOR ? 1 : kt.NULL_VALUE;
11627
+ Gt.depthAtLocation = function(t) {
11628
+ return t === y.EXTERIOR ? 0 : t === y.INTERIOR ? 1 : Gt.NULL_VALUE;
11630
11629
  };
11631
11630
  Eu.NULL_VALUE.get = function() {
11632
11631
  return -1;
11633
11632
  };
11634
- Object.defineProperties(kt, Eu);
11633
+ Object.defineProperties(Gt, Eu);
11635
11634
  var Bo = function(r) {
11636
11635
  function t() {
11637
- if (r.call(this), this.pts = null, this._env = null, this.eiList = new Pn(this), this._name = null, this._mce = null, this._isIsolated = !0, this._depth = new kt(), this._depthDelta = 0, arguments.length === 1) {
11636
+ if (r.call(this), this.pts = null, this._env = null, this.eiList = new bn(this), this._name = null, this._mce = null, this._isIsolated = !0, this._depth = new Gt(), this._depthDelta = 0, arguments.length === 1) {
11638
11637
  var e = arguments[0];
11639
11638
  t.call(this, e, null);
11640
11639
  } else if (arguments.length === 2) {
@@ -11787,7 +11786,7 @@ $t.prototype.createEmptyResultGeometry = function() {
11787
11786
  $t.prototype.getNoder = function(t) {
11788
11787
  if (this._workingNoder !== null)
11789
11788
  return this._workingNoder;
11790
- var e = new Vs(), n = new Ar();
11789
+ var e = new Vs(), n = new Mr();
11791
11790
  return n.setPrecisionModel(t), e.setSegmentIntersector(new Se(n)), e;
11792
11791
  };
11793
11792
  $t.prototype.buffer = function(t, e) {
@@ -11847,7 +11846,7 @@ var ur = function() {
11847
11846
  };
11848
11847
  ur.prototype.rescale = function() {
11849
11848
  var t = this;
11850
- if (G(arguments[0], St))
11849
+ if (k(arguments[0], St))
11851
11850
  for (var e = arguments[0], n = e.iterator(); n.hasNext(); ) {
11852
11851
  var i = n.next();
11853
11852
  t.rescale(i.getCoordinates());
@@ -11855,12 +11854,12 @@ ur.prototype.rescale = function() {
11855
11854
  else if (arguments[0] instanceof Array) {
11856
11855
  for (var o = arguments[0], s = 0; s < o.length; s++)
11857
11856
  o[s].x = o[s].x / t._scaleFactor + t._offsetX, o[s].y = o[s].y / t._scaleFactor + t._offsetY;
11858
- o.length === 2 && o[0].equals2D(o[1]) && Gt.out.println(o);
11857
+ o.length === 2 && o[0].equals2D(o[1]) && kt.out.println(o);
11859
11858
  }
11860
11859
  };
11861
11860
  ur.prototype.scale = function() {
11862
11861
  var t = this;
11863
- if (G(arguments[0], St)) {
11862
+ if (k(arguments[0], St)) {
11864
11863
  for (var e = arguments[0], n = new L(), i = e.iterator(); i.hasNext(); ) {
11865
11864
  var o = i.next();
11866
11865
  n.add(new Et(t.scale(o.getCoordinates()), o.getData()));
@@ -11885,13 +11884,13 @@ ur.prototype.computeNodes = function(t) {
11885
11884
  this._isScaled && (e = this.scale(t)), this._noder.computeNodes(e);
11886
11885
  };
11887
11886
  ur.prototype.interfaces_ = function() {
11888
- return [wr];
11887
+ return [Sr];
11889
11888
  };
11890
11889
  ur.prototype.getClass = function() {
11891
11890
  return ur;
11892
11891
  };
11893
11892
  var hn = function() {
11894
- this._li = new Ar(), this._segStrings = null;
11893
+ this._li = new Mr(), this._segStrings = null;
11895
11894
  var t = arguments[0];
11896
11895
  this._segStrings = t;
11897
11896
  }, Iu = { fact: { configurable: !0 } };
@@ -12117,17 +12116,17 @@ Wr.prototype.getInteriorIntersections = function() {
12117
12116
  return this._interiorIntersections;
12118
12117
  };
12119
12118
  Wr.prototype.interfaces_ = function() {
12120
- return [br];
12119
+ return [Lr];
12121
12120
  };
12122
12121
  Wr.prototype.getClass = function() {
12123
12122
  return Wr;
12124
12123
  };
12125
- var Rn = function() {
12124
+ var Pn = function() {
12126
12125
  this._pm = null, this._li = null, this._scaleFactor = null, this._noder = null, this._pointSnapper = null, this._nodedSegStrings = null;
12127
12126
  var t = arguments[0];
12128
- this._pm = t, this._li = new Ar(), this._li.setPrecisionModel(t), this._scaleFactor = t.getScale();
12127
+ this._pm = t, this._li = new Mr(), this._li.setPrecisionModel(t), this._scaleFactor = t.getScale();
12129
12128
  };
12130
- Rn.prototype.checkCorrectness = function(t) {
12129
+ Pn.prototype.checkCorrectness = function(t) {
12131
12130
  var e = Et.getNodedSubstrings(t), n = new hn(e);
12132
12131
  try {
12133
12132
  n.checkValid();
@@ -12139,20 +12138,20 @@ Rn.prototype.checkCorrectness = function(t) {
12139
12138
  } finally {
12140
12139
  }
12141
12140
  };
12142
- Rn.prototype.getNodedSubstrings = function() {
12141
+ Pn.prototype.getNodedSubstrings = function() {
12143
12142
  return Et.getNodedSubstrings(this._nodedSegStrings);
12144
12143
  };
12145
- Rn.prototype.snapRound = function(t, e) {
12144
+ Pn.prototype.snapRound = function(t, e) {
12146
12145
  var n = this.findInteriorIntersections(t, e);
12147
12146
  this.computeIntersectionSnaps(n), this.computeVertexSnaps(t);
12148
12147
  };
12149
- Rn.prototype.findInteriorIntersections = function(t, e) {
12148
+ Pn.prototype.findInteriorIntersections = function(t, e) {
12150
12149
  var n = new Wr(e);
12151
12150
  return this._noder.setSegmentIntersector(n), this._noder.computeNodes(t), n.getInteriorIntersections();
12152
12151
  };
12153
- Rn.prototype.computeVertexSnaps = function() {
12152
+ Pn.prototype.computeVertexSnaps = function() {
12154
12153
  var t = this;
12155
- if (G(arguments[0], St))
12154
+ if (k(arguments[0], St))
12156
12155
  for (var e = arguments[0], n = e.iterator(); n.hasNext(); ) {
12157
12156
  var i = n.next();
12158
12157
  t.computeVertexSnaps(i);
@@ -12163,20 +12162,20 @@ Rn.prototype.computeVertexSnaps = function() {
12163
12162
  l && o.addIntersection(s[a], a);
12164
12163
  }
12165
12164
  };
12166
- Rn.prototype.computeNodes = function(t) {
12165
+ Pn.prototype.computeNodes = function(t) {
12167
12166
  this._nodedSegStrings = t, this._noder = new Vs(), this._pointSnapper = new Ci(this._noder.getIndex()), this.snapRound(t, this._li);
12168
12167
  };
12169
- Rn.prototype.computeIntersectionSnaps = function(t) {
12168
+ Pn.prototype.computeIntersectionSnaps = function(t) {
12170
12169
  for (var e = this, n = t.iterator(); n.hasNext(); ) {
12171
12170
  var i = n.next(), o = new ue(i, e._scaleFactor, e._li);
12172
12171
  e._pointSnapper.snap(o);
12173
12172
  }
12174
12173
  };
12175
- Rn.prototype.interfaces_ = function() {
12176
- return [wr];
12174
+ Pn.prototype.interfaces_ = function() {
12175
+ return [Sr];
12177
12176
  };
12178
- Rn.prototype.getClass = function() {
12179
- return Rn;
12177
+ Pn.prototype.getClass = function() {
12178
+ return Pn;
12180
12179
  };
12181
12180
  var Bt = function() {
12182
12181
  if (this._argGeom = null, this._distance = null, this._bufParams = new J(), this._resultGeometry = null, this._saveException = null, arguments.length === 1) {
@@ -12186,9 +12185,9 @@ var Bt = function() {
12186
12185
  var e = arguments[0], n = arguments[1];
12187
12186
  this._argGeom = e, this._bufParams = n;
12188
12187
  }
12189
- }, ki = { CAP_ROUND: { configurable: !0 }, CAP_BUTT: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, MAX_PRECISION_DIGITS: { configurable: !0 } };
12188
+ }, Gi = { CAP_ROUND: { configurable: !0 }, CAP_BUTT: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, MAX_PRECISION_DIGITS: { configurable: !0 } };
12190
12189
  Bt.prototype.bufferFixedPrecision = function(t) {
12191
- var e = new ur(new Rn(new Z(1)), t.getScale()), n = new $t(this._bufParams);
12190
+ var e = new ur(new Pn(new Z(1)), t.getScale()), n = new $t(this._bufParams);
12192
12191
  n.setWorkingPrecisionModel(t), n.setNoder(e), this._resultGeometry = n.buffer(this._argGeom, this._distance);
12193
12192
  };
12194
12193
  Bt.prototype.bufferReducedPrecision = function() {
@@ -12251,12 +12250,12 @@ Bt.bufferOp = function() {
12251
12250
  var t = arguments[0], e = arguments[1], n = new Bt(t), i = n.getResultGeometry(e);
12252
12251
  return i;
12253
12252
  } else if (arguments.length === 3) {
12254
- if (Number.isInteger(arguments[2]) && arguments[0] instanceof k && typeof arguments[1] == "number") {
12253
+ if (Number.isInteger(arguments[2]) && arguments[0] instanceof G && typeof arguments[1] == "number") {
12255
12254
  var o = arguments[0], s = arguments[1], a = arguments[2], u = new Bt(o);
12256
12255
  u.setQuadrantSegments(a);
12257
12256
  var l = u.getResultGeometry(s);
12258
12257
  return l;
12259
- } else if (arguments[2] instanceof J && arguments[0] instanceof k && typeof arguments[1] == "number") {
12258
+ } else if (arguments[2] instanceof J && arguments[0] instanceof G && typeof arguments[1] == "number") {
12260
12259
  var c = arguments[0], f = arguments[1], h = arguments[2], g = new Bt(c, h), p = g.getResultGeometry(f);
12261
12260
  return p;
12262
12261
  }
@@ -12271,22 +12270,22 @@ Bt.precisionScaleFactor = function(t, e, n) {
12271
12270
  var i = t.getEnvelopeInternal(), o = Ce.max(Math.abs(i.getMaxX()), Math.abs(i.getMaxY()), Math.abs(i.getMinX()), Math.abs(i.getMinY())), s = e > 0 ? e : 0, a = o + 2 * s, u = Math.trunc(Math.log(a) / Math.log(10) + 1), l = n - u, c = Math.pow(10, l);
12272
12271
  return c;
12273
12272
  };
12274
- ki.CAP_ROUND.get = function() {
12273
+ Gi.CAP_ROUND.get = function() {
12275
12274
  return J.CAP_ROUND;
12276
12275
  };
12277
- ki.CAP_BUTT.get = function() {
12276
+ Gi.CAP_BUTT.get = function() {
12278
12277
  return J.CAP_FLAT;
12279
12278
  };
12280
- ki.CAP_FLAT.get = function() {
12279
+ Gi.CAP_FLAT.get = function() {
12281
12280
  return J.CAP_FLAT;
12282
12281
  };
12283
- ki.CAP_SQUARE.get = function() {
12282
+ Gi.CAP_SQUARE.get = function() {
12284
12283
  return J.CAP_SQUARE;
12285
12284
  };
12286
- ki.MAX_PRECISION_DIGITS.get = function() {
12285
+ Gi.MAX_PRECISION_DIGITS.get = function() {
12287
12286
  return 12;
12288
12287
  };
12289
- Object.defineProperties(Bt, ki);
12288
+ Object.defineProperties(Bt, Gi);
12290
12289
  var Kt = function() {
12291
12290
  this._pt = [new v(), new v()], this._distance = V.NaN, this._isNull = !0;
12292
12291
  };
@@ -12340,15 +12339,15 @@ Kt.prototype.interfaces_ = function() {
12340
12339
  Kt.prototype.getClass = function() {
12341
12340
  return Kt;
12342
12341
  };
12343
- var In = function() {
12342
+ var En = function() {
12344
12343
  };
12345
- In.prototype.interfaces_ = function() {
12344
+ En.prototype.interfaces_ = function() {
12346
12345
  return [];
12347
12346
  };
12348
- In.prototype.getClass = function() {
12349
- return In;
12347
+ En.prototype.getClass = function() {
12348
+ return En;
12350
12349
  };
12351
- In.computeDistance = function() {
12350
+ En.computeDistance = function() {
12352
12351
  if (arguments[2] instanceof Kt && arguments[0] instanceof pt && arguments[1] instanceof v)
12353
12352
  for (var t = arguments[0], e = arguments[1], n = arguments[2], i = t.getCoordinates(), o = new M(), s = 0; s < i.length - 1; s++) {
12354
12353
  o.setCoordinates(i[s], i[s + 1]);
@@ -12357,19 +12356,19 @@ In.computeDistance = function() {
12357
12356
  }
12358
12357
  else if (arguments[2] instanceof Kt && arguments[0] instanceof Pt && arguments[1] instanceof v) {
12359
12358
  var u = arguments[0], l = arguments[1], c = arguments[2];
12360
- In.computeDistance(u.getExteriorRing(), l, c);
12359
+ En.computeDistance(u.getExteriorRing(), l, c);
12361
12360
  for (var f = 0; f < u.getNumInteriorRing(); f++)
12362
- In.computeDistance(u.getInteriorRingN(f), l, c);
12363
- } else if (arguments[2] instanceof Kt && arguments[0] instanceof k && arguments[1] instanceof v) {
12361
+ En.computeDistance(u.getInteriorRingN(f), l, c);
12362
+ } else if (arguments[2] instanceof Kt && arguments[0] instanceof G && arguments[1] instanceof v) {
12364
12363
  var h = arguments[0], g = arguments[1], p = arguments[2];
12365
12364
  if (h instanceof pt)
12366
- In.computeDistance(h, g, p);
12365
+ En.computeDistance(h, g, p);
12367
12366
  else if (h instanceof Pt)
12368
- In.computeDistance(h, g, p);
12367
+ En.computeDistance(h, g, p);
12369
12368
  else if (h instanceof te)
12370
12369
  for (var m = h, d = 0; d < m.getNumGeometries(); d++) {
12371
12370
  var _ = m.getGeometryN(d);
12372
- In.computeDistance(_, g, p);
12371
+ En.computeDistance(_, g, p);
12373
12372
  }
12374
12373
  else
12375
12374
  p.setMinimum(h.getCoordinate(), g);
@@ -12378,28 +12377,28 @@ In.computeDistance = function() {
12378
12377
  N.setMinimum(S, C);
12379
12378
  }
12380
12379
  };
12381
- var Rr = function(t) {
12380
+ var Pr = function(t) {
12382
12381
  this._maxPtDist = new Kt(), this._inputGeom = t || null;
12383
12382
  }, Us = { MaxPointDistanceFilter: { configurable: !0 }, MaxMidpointDistanceFilter: { configurable: !0 } };
12384
- Rr.prototype.computeMaxMidpointDistance = function(t) {
12383
+ Pr.prototype.computeMaxMidpointDistance = function(t) {
12385
12384
  var e = new lr(this._inputGeom);
12386
12385
  t.apply(e), this._maxPtDist.setMaximum(e.getMaxPointDistance());
12387
12386
  };
12388
- Rr.prototype.computeMaxVertexDistance = function(t) {
12387
+ Pr.prototype.computeMaxVertexDistance = function(t) {
12389
12388
  var e = new jr(this._inputGeom);
12390
12389
  t.apply(e), this._maxPtDist.setMaximum(e.getMaxPointDistance());
12391
12390
  };
12392
- Rr.prototype.findDistance = function(t) {
12391
+ Pr.prototype.findDistance = function(t) {
12393
12392
  return this.computeMaxVertexDistance(t), this.computeMaxMidpointDistance(t), this._maxPtDist.getDistance();
12394
12393
  };
12395
- Rr.prototype.getDistancePoints = function() {
12394
+ Pr.prototype.getDistancePoints = function() {
12396
12395
  return this._maxPtDist;
12397
12396
  };
12398
- Rr.prototype.interfaces_ = function() {
12397
+ Pr.prototype.interfaces_ = function() {
12399
12398
  return [];
12400
12399
  };
12401
- Rr.prototype.getClass = function() {
12402
- return Rr;
12400
+ Pr.prototype.getClass = function() {
12401
+ return Pr;
12403
12402
  };
12404
12403
  Us.MaxPointDistanceFilter.get = function() {
12405
12404
  return jr;
@@ -12407,18 +12406,18 @@ Us.MaxPointDistanceFilter.get = function() {
12407
12406
  Us.MaxMidpointDistanceFilter.get = function() {
12408
12407
  return lr;
12409
12408
  };
12410
- Object.defineProperties(Rr, Us);
12409
+ Object.defineProperties(Pr, Us);
12411
12410
  var jr = function(t) {
12412
12411
  this._maxPtDist = new Kt(), this._minPtDist = new Kt(), this._geom = t || null;
12413
12412
  };
12414
12413
  jr.prototype.filter = function(t) {
12415
- this._minPtDist.initialize(), In.computeDistance(this._geom, t, this._minPtDist), this._maxPtDist.setMaximum(this._minPtDist);
12414
+ this._minPtDist.initialize(), En.computeDistance(this._geom, t, this._minPtDist), this._maxPtDist.setMaximum(this._minPtDist);
12416
12415
  };
12417
12416
  jr.prototype.getMaxPointDistance = function() {
12418
12417
  return this._maxPtDist;
12419
12418
  };
12420
12419
  jr.prototype.interfaces_ = function() {
12421
- return [Sn];
12420
+ return [xn];
12422
12421
  };
12423
12422
  jr.prototype.getClass = function() {
12424
12423
  return jr;
@@ -12430,7 +12429,7 @@ lr.prototype.filter = function(t, e) {
12430
12429
  if (e === 0)
12431
12430
  return null;
12432
12431
  var n = t.getCoordinate(e - 1), i = t.getCoordinate(e), o = new v((n.x + i.x) / 2, (n.y + i.y) / 2);
12433
- this._minPtDist.initialize(), In.computeDistance(this._geom, o, this._minPtDist), this._maxPtDist.setMaximum(this._minPtDist);
12432
+ this._minPtDist.initialize(), En.computeDistance(this._geom, o, this._minPtDist), this._maxPtDist.setMaximum(this._minPtDist);
12434
12433
  };
12435
12434
  lr.prototype.isDone = function() {
12436
12435
  return !1;
@@ -12478,7 +12477,7 @@ var Ft = function() {
12478
12477
  }
12479
12478
  };
12480
12479
  Ft.prototype.filter = function(t) {
12481
- if (this._isForcedToLineString && t instanceof wn) {
12480
+ if (this._isForcedToLineString && t instanceof Sn) {
12482
12481
  var e = t.getFactory().createLineString(t.getCoordinateSequence());
12483
12482
  return this._lines.add(e), null;
12484
12483
  }
@@ -12507,27 +12506,27 @@ Ft.getLines = function() {
12507
12506
  var t = arguments[0];
12508
12507
  return Ft.getLines(t, !1);
12509
12508
  } else if (arguments.length === 2) {
12510
- if (G(arguments[0], St) && G(arguments[1], St)) {
12509
+ if (k(arguments[0], St) && k(arguments[1], St)) {
12511
12510
  for (var e = arguments[0], n = arguments[1], i = e.iterator(); i.hasNext(); ) {
12512
12511
  var o = i.next();
12513
12512
  Ft.getLines(o, n);
12514
12513
  }
12515
12514
  return n;
12516
- } else if (arguments[0] instanceof k && typeof arguments[1] == "boolean") {
12515
+ } else if (arguments[0] instanceof G && typeof arguments[1] == "boolean") {
12517
12516
  var s = arguments[0], a = arguments[1], u = new L();
12518
12517
  return s.apply(new Ft(u, a)), u;
12519
- } else if (arguments[0] instanceof k && G(arguments[1], St)) {
12518
+ } else if (arguments[0] instanceof G && k(arguments[1], St)) {
12520
12519
  var l = arguments[0], c = arguments[1];
12521
12520
  return l instanceof pt ? c.add(l) : l.apply(new Ft(c)), c;
12522
12521
  }
12523
12522
  } else if (arguments.length === 3) {
12524
- if (typeof arguments[2] == "boolean" && G(arguments[0], St) && G(arguments[1], St)) {
12523
+ if (typeof arguments[2] == "boolean" && k(arguments[0], St) && k(arguments[1], St)) {
12525
12524
  for (var f = arguments[0], h = arguments[1], g = arguments[2], p = f.iterator(); p.hasNext(); ) {
12526
12525
  var m = p.next();
12527
12526
  Ft.getLines(m, h, g);
12528
12527
  }
12529
12528
  return h;
12530
- } else if (typeof arguments[2] == "boolean" && arguments[0] instanceof k && G(arguments[1], St)) {
12529
+ } else if (typeof arguments[2] == "boolean" && arguments[0] instanceof G && k(arguments[1], St)) {
12531
12530
  var d = arguments[0], _ = arguments[1], I = arguments[2];
12532
12531
  return d.apply(new Ft(_, I)), _;
12533
12532
  }
@@ -12588,18 +12587,18 @@ Ye.prototype.computeLocation = function(t, e) {
12588
12587
  this.updateLocationInfo(this.locateInternal(t, e));
12589
12588
  else if (e instanceof Pt)
12590
12589
  this.updateLocationInfo(this.locateInternal(t, e));
12591
- else if (e instanceof Sr)
12590
+ else if (e instanceof xr)
12592
12591
  for (var i = e, o = 0; o < i.getNumGeometries(); o++) {
12593
12592
  var s = i.getGeometryN(o);
12594
12593
  n.updateLocationInfo(n.locateInternal(t, s));
12595
12594
  }
12596
- else if (e instanceof Nn)
12595
+ else if (e instanceof Cn)
12597
12596
  for (var a = e, u = 0; u < a.getNumGeometries(); u++) {
12598
12597
  var l = a.getGeometryN(u);
12599
12598
  n.updateLocationInfo(n.locateInternal(t, l));
12600
12599
  }
12601
12600
  else if (e instanceof te)
12602
- for (var c = new xn(e); c.hasNext(); ) {
12601
+ for (var c = new Nn(e); c.hasNext(); ) {
12603
12602
  var f = c.next();
12604
12603
  f !== e && n.computeLocation(t, f);
12605
12604
  }
@@ -12707,7 +12706,7 @@ zt.prototype.computeContainmentDistance = function() {
12707
12706
  return this._minDistanceLocation[o] = i[0], this._minDistanceLocation[n] = i[1], null;
12708
12707
  }
12709
12708
  } else if (arguments.length === 3) {
12710
- if (arguments[2] instanceof Array && G(arguments[0], Ge) && G(arguments[1], Ge)) {
12709
+ if (arguments[2] instanceof Array && k(arguments[0], ke) && k(arguments[1], ke)) {
12711
12710
  for (var u = arguments[0], l = arguments[1], c = arguments[2], f = 0; f < u.size(); f++)
12712
12711
  for (var h = u.get(f), g = 0; g < l.size(); g++)
12713
12712
  if (t.computeContainmentDistance(h, l.get(g), c), t._minDistance <= t._terminateDistance)
@@ -12900,7 +12899,7 @@ tn.computeDistance = function() {
12900
12899
  tn.computeDistance(u.getExteriorRing(), l, c);
12901
12900
  for (var f = 0; f < u.getNumInteriorRing(); f++)
12902
12901
  tn.computeDistance(u.getInteriorRingN(f), l, c);
12903
- } else if (arguments[2] instanceof Xt && arguments[0] instanceof k && arguments[1] instanceof v) {
12902
+ } else if (arguments[2] instanceof Xt && arguments[0] instanceof G && arguments[1] instanceof v) {
12904
12903
  var h = arguments[0], g = arguments[1], p = arguments[2];
12905
12904
  if (h instanceof pt)
12906
12905
  tn.computeDistance(h, g, p);
@@ -12981,7 +12980,7 @@ Qr.prototype.getMaxPointDistance = function() {
12981
12980
  return this._maxPtDist;
12982
12981
  };
12983
12982
  Qr.prototype.interfaces_ = function() {
12984
- return [Sn];
12983
+ return [xn];
12985
12984
  };
12986
12985
  Qr.prototype.getClass = function() {
12987
12986
  return Qr;
@@ -13028,10 +13027,10 @@ he.prototype.checkMaximumDistance = function(t, e, n) {
13028
13027
  };
13029
13028
  he.prototype.isValid = function() {
13030
13029
  var t = Math.abs(this._bufDistance), e = he.MAX_DISTANCE_DIFF_FRAC * t;
13031
- return this._minValidDistance = t - e, this._maxValidDistance = t + e, this._input.isEmpty() || this._result.isEmpty() ? !0 : (this._bufDistance > 0 ? this.checkPositiveValid() : this.checkNegativeValid(), he.VERBOSE && Gt.out.println("Min Dist= " + this._minDistanceFound + " err= " + (1 - this._minDistanceFound / this._bufDistance) + " Max Dist= " + this._maxDistanceFound + " err= " + (this._maxDistanceFound / this._bufDistance - 1)), this._isValid);
13030
+ return this._minValidDistance = t - e, this._maxValidDistance = t + e, this._input.isEmpty() || this._result.isEmpty() ? !0 : (this._bufDistance > 0 ? this.checkPositiveValid() : this.checkNegativeValid(), he.VERBOSE && kt.out.println("Min Dist= " + this._minDistanceFound + " err= " + (1 - this._minDistanceFound / this._bufDistance) + " Max Dist= " + this._maxDistanceFound + " err= " + (this._maxDistanceFound / this._bufDistance - 1)), this._isValid);
13032
13031
  };
13033
13032
  he.prototype.checkNegativeValid = function() {
13034
- if (!(this._input instanceof Pt || this._input instanceof Nn || this._input instanceof te))
13033
+ if (!(this._input instanceof Pt || this._input instanceof Cn || this._input instanceof te))
13035
13034
  return null;
13036
13035
  var t = this.getPolygonLines(this._input);
13037
13036
  if (this.checkMinimumDistance(t, this._result, this._minValidDistance), !this._isValid)
@@ -13106,7 +13105,7 @@ Vt.prototype.checkArea = function() {
13106
13105
  this._distance > 0 && t > e && (this._isValid = !1, this._errorMsg = "Area of positive buffer is smaller than input", this._errorIndicator = this._result), this._distance < 0 && t < e && (this._isValid = !1, this._errorMsg = "Area of negative buffer is larger than input", this._errorIndicator = this._result), this.report("Area");
13107
13106
  };
13108
13107
  Vt.prototype.checkPolygonal = function() {
13109
- this._result instanceof Pt || this._result instanceof Nn || (this._isValid = !1), this._errorMsg = "Result is not polygonal", this._errorIndicator = this._result, this.report("Polygonal");
13108
+ this._result instanceof Pt || this._result instanceof Cn || (this._isValid = !1), this._errorMsg = "Result is not polygonal", this._errorIndicator = this._result, this.report("Polygonal");
13110
13109
  };
13111
13110
  Vt.prototype.getErrorIndicator = function() {
13112
13111
  return this._errorIndicator;
@@ -13122,7 +13121,7 @@ Vt.prototype.checkExpectedEmpty = function() {
13122
13121
  Vt.prototype.report = function(t) {
13123
13122
  if (!Vt.VERBOSE)
13124
13123
  return null;
13125
- Gt.out.println("Check " + t + ": " + (this._isValid ? "passed" : "FAILED"));
13124
+ kt.out.println("Check " + t + ": " + (this._isValid ? "passed" : "FAILED"));
13126
13125
  };
13127
13126
  Vt.prototype.getErrorMessage = function() {
13128
13127
  return this._errorMsg;
@@ -13178,7 +13177,7 @@ gn.prototype.toString = function() {
13178
13177
  return ze.toLineString(new yt(this._pts));
13179
13178
  };
13180
13179
  gn.prototype.interfaces_ = function() {
13181
- return [bn];
13180
+ return [Ln];
13182
13181
  };
13183
13182
  gn.prototype.getClass = function() {
13184
13183
  return gn;
@@ -13230,7 +13229,7 @@ Dt.prototype.isDone = function() {
13230
13229
  return this._findAllIntersections ? !1 : this._interiorIntersection !== null;
13231
13230
  };
13232
13231
  Dt.prototype.interfaces_ = function() {
13233
- return [br];
13232
+ return [Lr];
13234
13233
  };
13235
13234
  Dt.prototype.getClass = function() {
13236
13235
  return Dt;
@@ -13247,7 +13246,7 @@ Dt.createIntersectionCounter = function(t) {
13247
13246
  return e.setFindAllIntersections(!0), e.setKeepIntersections(!1), e;
13248
13247
  };
13249
13248
  var He = function() {
13250
- this._li = new Ar(), this._segStrings = null, this._findAllIntersections = !1, this._segInt = null, this._isValid = !0;
13249
+ this._li = new Mr(), this._segStrings = null, this._findAllIntersections = !1, this._segInt = null, this._isValid = !0;
13251
13250
  var t = arguments[0];
13252
13251
  this._segStrings = t;
13253
13252
  };
@@ -13291,29 +13290,29 @@ He.computeIntersections = function(t) {
13291
13290
  var e = new He(t);
13292
13291
  return e.setFindAllIntersections(!0), e.isValid(), e.getIntersections();
13293
13292
  };
13294
- var Or = function r() {
13293
+ var Rr = function r() {
13295
13294
  this._nv = null;
13296
13295
  var t = arguments[0];
13297
13296
  this._nv = new He(r.toSegmentStrings(t));
13298
13297
  };
13299
- Or.prototype.checkValid = function() {
13298
+ Rr.prototype.checkValid = function() {
13300
13299
  this._nv.checkValid();
13301
13300
  };
13302
- Or.prototype.interfaces_ = function() {
13301
+ Rr.prototype.interfaces_ = function() {
13303
13302
  return [];
13304
13303
  };
13305
- Or.prototype.getClass = function() {
13306
- return Or;
13304
+ Rr.prototype.getClass = function() {
13305
+ return Rr;
13307
13306
  };
13308
- Or.toSegmentStrings = function(t) {
13307
+ Rr.toSegmentStrings = function(t) {
13309
13308
  for (var e = new L(), n = t.iterator(); n.hasNext(); ) {
13310
13309
  var i = n.next();
13311
13310
  e.add(new gn(i.getCoordinates(), i));
13312
13311
  }
13313
13312
  return e;
13314
13313
  };
13315
- Or.checkValid = function(t) {
13316
- var e = new Or(t);
13314
+ Rr.checkValid = function(t) {
13315
+ var e = new Rr(t);
13317
13316
  e.checkValid();
13318
13317
  };
13319
13318
  var Jr = function(t) {
@@ -13433,10 +13432,10 @@ le.prototype.transformPoint = function(t, e) {
13433
13432
  };
13434
13433
  le.prototype.transformPolygon = function(t, e) {
13435
13434
  var n = this, i = !0, o = this.transformLinearRing(t.getExteriorRing(), t);
13436
- (o === null || !(o instanceof wn) || o.isEmpty()) && (i = !1);
13435
+ (o === null || !(o instanceof Sn) || o.isEmpty()) && (i = !1);
13437
13436
  for (var s = new L(), a = 0; a < t.getNumInteriorRing(); a++) {
13438
13437
  var u = n.transformLinearRing(t.getInteriorRingN(a), t);
13439
- u === null || u.isEmpty() || (u instanceof wn || (i = !1), s.add(u));
13438
+ u === null || u.isEmpty() || (u instanceof Sn || (i = !1), s.add(u));
13440
13439
  }
13441
13440
  if (i)
13442
13441
  return this._factory.createPolygon(o, s.toArray([]));
@@ -13491,15 +13490,15 @@ le.prototype.transform = function(t) {
13491
13490
  return this.transformPoint(t, null);
13492
13491
  if (t instanceof yi)
13493
13492
  return this.transformMultiPoint(t, null);
13494
- if (t instanceof wn)
13493
+ if (t instanceof Sn)
13495
13494
  return this.transformLinearRing(t, null);
13496
13495
  if (t instanceof pt)
13497
13496
  return this.transformLineString(t, null);
13498
- if (t instanceof Sr)
13497
+ if (t instanceof xr)
13499
13498
  return this.transformMultiLineString(t, null);
13500
13499
  if (t instanceof Pt)
13501
13500
  return this.transformPolygon(t, null);
13502
- if (t instanceof Nn)
13501
+ if (t instanceof Cn)
13503
13502
  return this.transformMultiPolygon(t, null);
13504
13503
  if (t instanceof te)
13505
13504
  return this.transformGeometryCollection(t, null);
@@ -13518,7 +13517,7 @@ le.prototype.interfaces_ = function() {
13518
13517
  le.prototype.getClass = function() {
13519
13518
  return le;
13520
13519
  };
13521
- var On = function r() {
13520
+ var Rn = function r() {
13522
13521
  if (this._snapTolerance = 0, this._srcPts = null, this._seg = new M(), this._allowSnappingToSourceVertices = !1, this._isClosed = !1, arguments[0] instanceof pt && typeof arguments[1] == "number") {
13523
13522
  var t = arguments[0], e = arguments[1];
13524
13523
  r.call(this, t.getCoordinates(), e);
@@ -13527,13 +13526,13 @@ var On = function r() {
13527
13526
  this._srcPts = n, this._isClosed = r.isClosed(n), this._snapTolerance = i;
13528
13527
  }
13529
13528
  };
13530
- On.prototype.snapVertices = function(t, e) {
13529
+ Rn.prototype.snapVertices = function(t, e) {
13531
13530
  for (var n = this, i = this._isClosed ? t.size() - 1 : t.size(), o = 0; o < i; o++) {
13532
13531
  var s = t.get(o), a = n.findSnapForVertex(s, e);
13533
13532
  a !== null && (t.set(o, new v(a)), o === 0 && n._isClosed && t.set(t.size() - 1, new v(a)));
13534
13533
  }
13535
13534
  };
13536
- On.prototype.findSnapForVertex = function(t, e) {
13535
+ Rn.prototype.findSnapForVertex = function(t, e) {
13537
13536
  for (var n = this, i = 0; i < e.length; i++) {
13538
13537
  if (t.equals2D(e[i]))
13539
13538
  return null;
@@ -13542,13 +13541,13 @@ On.prototype.findSnapForVertex = function(t, e) {
13542
13541
  }
13543
13542
  return null;
13544
13543
  };
13545
- On.prototype.snapTo = function(t) {
13544
+ Rn.prototype.snapTo = function(t) {
13546
13545
  var e = new go(this._srcPts);
13547
13546
  this.snapVertices(e, t), this.snapSegments(e, t);
13548
13547
  var n = e.toCoordinateArray();
13549
13548
  return n;
13550
13549
  };
13551
- On.prototype.snapSegments = function(t, e) {
13550
+ Rn.prototype.snapSegments = function(t, e) {
13552
13551
  var n = this;
13553
13552
  if (e.length === 0)
13554
13553
  return null;
@@ -13559,7 +13558,7 @@ On.prototype.snapSegments = function(t, e) {
13559
13558
  a >= 0 && t.add(a + 1, new v(s), !1);
13560
13559
  }
13561
13560
  };
13562
- On.prototype.findSegmentIndexToSnap = function(t, e) {
13561
+ Rn.prototype.findSegmentIndexToSnap = function(t, e) {
13563
13562
  for (var n = this, i = V.MAX_VALUE, o = -1, s = 0; s < e.size() - 1; s++) {
13564
13563
  if (n._seg.p0 = e.get(s), n._seg.p1 = e.get(s + 1), n._seg.p0.equals2D(t) || n._seg.p1.equals2D(t)) {
13565
13564
  if (n._allowSnappingToSourceVertices)
@@ -13571,16 +13570,16 @@ On.prototype.findSegmentIndexToSnap = function(t, e) {
13571
13570
  }
13572
13571
  return o;
13573
13572
  };
13574
- On.prototype.setAllowSnappingToSourceVertices = function(t) {
13573
+ Rn.prototype.setAllowSnappingToSourceVertices = function(t) {
13575
13574
  this._allowSnappingToSourceVertices = t;
13576
13575
  };
13577
- On.prototype.interfaces_ = function() {
13576
+ Rn.prototype.interfaces_ = function() {
13578
13577
  return [];
13579
13578
  };
13580
- On.prototype.getClass = function() {
13581
- return On;
13579
+ Rn.prototype.getClass = function() {
13580
+ return Rn;
13582
13581
  };
13583
- On.isClosed = function(t) {
13582
+ Rn.isClosed = function(t) {
13584
13583
  return t.length <= 1 ? !1 : t[0].equals2D(t[t.length - 1]);
13585
13584
  };
13586
13585
  var mt = function(t) {
@@ -13592,7 +13591,7 @@ mt.prototype.snapTo = function(t, e) {
13592
13591
  };
13593
13592
  mt.prototype.snapToSelf = function(t, e) {
13594
13593
  var n = this.extractTargetCoordinates(this._srcGeom), i = new Lu(t, n, !0), o = i.transform(this._srcGeom), s = o;
13595
- return e && G(s, ir) && (s = o.buffer(0)), s;
13594
+ return e && k(s, ir) && (s = o.buffer(0)), s;
13596
13595
  };
13597
13596
  mt.prototype.computeSnapTolerance = function(t) {
13598
13597
  var e = this.computeMinimumSegmentLength(t), n = e / 10;
@@ -13652,7 +13651,7 @@ var Lu = function(r) {
13652
13651
  r.call(this), this._snapTolerance = e || null, this._snapPts = n || null, this._isSelfSnap = i !== void 0 ? i : !1;
13653
13652
  }
13654
13653
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.snapLine = function(n, i) {
13655
- var o = new On(n, this._snapTolerance);
13654
+ var o = new Rn(n, this._snapTolerance);
13656
13655
  return o.setAllowSnappingToSourceVertices(this._isSelfSnap), o.snapTo(i);
13657
13656
  }, t.prototype.transformCoordinates = function(n, i) {
13658
13657
  var o = n.toCoordinateArray(), s = this.snapLine(o, this._snapPts);
@@ -13752,7 +13751,7 @@ $r.prototype.getCommonCoordinate = function() {
13752
13751
  return new v(this._commonBitsX.getCommon(), this._commonBitsY.getCommon());
13753
13752
  };
13754
13753
  $r.prototype.interfaces_ = function() {
13755
- return [Sn];
13754
+ return [xn];
13756
13755
  };
13757
13756
  $r.prototype.getClass = function() {
13758
13757
  return $r;
@@ -13798,7 +13797,7 @@ Tt.prototype.getResultGeometry = function(t) {
13798
13797
  return this.prepareResult(n);
13799
13798
  };
13800
13799
  Tt.prototype.checkValid = function(t) {
13801
- t.isValid() || Gt.out.println("Snapped geometry is invalid");
13800
+ t.isValid() || kt.out.println("Snapped geometry is invalid");
13802
13801
  };
13803
13802
  Tt.prototype.computeSnapTolerance = function() {
13804
13803
  this._snapTolerance = mt.computeOverlaySnapTolerance(this._geom[0], this._geom[1]);
@@ -13937,13 +13936,13 @@ Ws.DELETE.get = function() {
13937
13936
  return 2;
13938
13937
  };
13939
13938
  Object.defineProperties(ve, Ws);
13940
- var ko = function() {
13939
+ var Go = function() {
13941
13940
  };
13942
- ko.prototype.interfaces_ = function() {
13941
+ Go.prototype.interfaces_ = function() {
13943
13942
  return [];
13944
13943
  };
13945
- ko.prototype.getClass = function() {
13946
- return ko;
13944
+ Go.prototype.getClass = function() {
13945
+ return Go;
13947
13946
  };
13948
13947
  var Ut = function() {
13949
13948
  this._hasIntersection = !1, this._hasProper = !1, this._hasProperInterior = !1, this._properIntersectionPoint = null, this._li = null, this._includeProper = null, this._recordIsolated = null, this._isSelfIntersection = null, this._numIntersections = 0, this.numTests = 0, this._bdyNodes = null, this._isDone = !1, this._isDoneWhenProperInt = !1;
@@ -14010,7 +14009,7 @@ Ut.prototype.getClass = function() {
14010
14009
  Ut.isAdjacentSegments = function(t, e) {
14011
14010
  return Math.abs(t - e) === 1;
14012
14011
  };
14013
- var Rc = function(r) {
14012
+ var Pc = function(r) {
14014
14013
  function t() {
14015
14014
  r.call(this), this.events = new L(), this.nOverlaps = null;
14016
14015
  }
@@ -14032,10 +14031,10 @@ var Rc = function(r) {
14032
14031
  break;
14033
14032
  }
14034
14033
  } else if (arguments.length === 3) {
14035
- if (arguments[2] instanceof Ut && G(arguments[0], Ge) && G(arguments[1], Ge)) {
14034
+ if (arguments[2] instanceof Ut && k(arguments[0], ke) && k(arguments[1], ke)) {
14036
14035
  var a = arguments[0], u = arguments[1], l = arguments[2];
14037
14036
  this.addEdges(a, a), this.addEdges(u, u), this.computeIntersections(l);
14038
- } else if (typeof arguments[2] == "boolean" && G(arguments[0], Ge) && arguments[1] instanceof Ut) {
14037
+ } else if (typeof arguments[2] == "boolean" && k(arguments[0], ke) && arguments[1] instanceof Ut) {
14039
14038
  var c = arguments[0], f = arguments[1], h = arguments[2];
14040
14039
  h ? this.addEdges(c, null) : this.addEdges(c), this.computeIntersections(f);
14041
14040
  }
@@ -14070,31 +14069,31 @@ var Rc = function(r) {
14070
14069
  }, t.prototype.getClass = function() {
14071
14070
  return t;
14072
14071
  }, t;
14073
- }(ko), Dn = function() {
14072
+ }(Go), On = function() {
14074
14073
  this._min = V.POSITIVE_INFINITY, this._max = V.NEGATIVE_INFINITY;
14075
14074
  }, bu = { NodeComparator: { configurable: !0 } };
14076
- Dn.prototype.getMin = function() {
14075
+ On.prototype.getMin = function() {
14077
14076
  return this._min;
14078
14077
  };
14079
- Dn.prototype.intersects = function(t, e) {
14078
+ On.prototype.intersects = function(t, e) {
14080
14079
  return !(this._min > e || this._max < t);
14081
14080
  };
14082
- Dn.prototype.getMax = function() {
14081
+ On.prototype.getMax = function() {
14083
14082
  return this._max;
14084
14083
  };
14085
- Dn.prototype.toString = function() {
14084
+ On.prototype.toString = function() {
14086
14085
  return ze.toLineString(new v(this._min, 0), new v(this._max, 0));
14087
14086
  };
14088
- Dn.prototype.interfaces_ = function() {
14087
+ On.prototype.interfaces_ = function() {
14089
14088
  return [];
14090
14089
  };
14091
- Dn.prototype.getClass = function() {
14092
- return Dn;
14090
+ On.prototype.getClass = function() {
14091
+ return On;
14093
14092
  };
14094
14093
  bu.NodeComparator.get = function() {
14095
14094
  return lo;
14096
14095
  };
14097
- Object.defineProperties(Dn, bu);
14096
+ Object.defineProperties(On, bu);
14098
14097
  var lo = function() {
14099
14098
  };
14100
14099
  lo.prototype.compare = function(t, e) {
@@ -14107,7 +14106,7 @@ lo.prototype.interfaces_ = function() {
14107
14106
  lo.prototype.getClass = function() {
14108
14107
  return lo;
14109
14108
  };
14110
- var Oc = function(r) {
14109
+ var Rc = function(r) {
14111
14110
  function t() {
14112
14111
  r.call(this), this._item = null;
14113
14112
  var e = arguments[0], n = arguments[1], i = arguments[2];
@@ -14122,7 +14121,7 @@ var Oc = function(r) {
14122
14121
  }, t.prototype.getClass = function() {
14123
14122
  return t;
14124
14123
  }, t;
14125
- }(Dn), Dc = function(r) {
14124
+ }(On), Oc = function(r) {
14126
14125
  function t() {
14127
14126
  r.call(this), this._node1 = null, this._node2 = null;
14128
14127
  var e = arguments[0], n = arguments[1];
@@ -14139,56 +14138,56 @@ var Oc = function(r) {
14139
14138
  }, t.prototype.getClass = function() {
14140
14139
  return t;
14141
14140
  }, t;
14142
- }(Dn), Tn = function() {
14141
+ }(On), Dn = function() {
14143
14142
  this._leaves = new L(), this._root = null, this._level = 0;
14144
14143
  };
14145
- Tn.prototype.buildTree = function() {
14144
+ Dn.prototype.buildTree = function() {
14146
14145
  var t = this;
14147
- qe.sort(this._leaves, new Dn.NodeComparator());
14146
+ qe.sort(this._leaves, new On.NodeComparator());
14148
14147
  for (var e = this._leaves, n = null, i = new L(); ; ) {
14149
14148
  if (t.buildLevel(e, i), i.size() === 1)
14150
14149
  return i.get(0);
14151
14150
  n = e, e = i, i = n;
14152
14151
  }
14153
14152
  };
14154
- Tn.prototype.insert = function(t, e, n) {
14153
+ Dn.prototype.insert = function(t, e, n) {
14155
14154
  if (this._root !== null)
14156
14155
  throw new Error("Index cannot be added to once it has been queried");
14157
- this._leaves.add(new Oc(t, e, n));
14156
+ this._leaves.add(new Rc(t, e, n));
14158
14157
  };
14159
- Tn.prototype.query = function(t, e, n) {
14158
+ Dn.prototype.query = function(t, e, n) {
14160
14159
  this.init(), this._root.query(t, e, n);
14161
14160
  };
14162
- Tn.prototype.buildRoot = function() {
14161
+ Dn.prototype.buildRoot = function() {
14163
14162
  if (this._root !== null)
14164
14163
  return null;
14165
14164
  this._root = this.buildTree();
14166
14165
  };
14167
- Tn.prototype.printNode = function(t) {
14168
- Gt.out.println(ze.toLineString(new v(t._min, this._level), new v(t._max, this._level)));
14166
+ Dn.prototype.printNode = function(t) {
14167
+ kt.out.println(ze.toLineString(new v(t._min, this._level), new v(t._max, this._level)));
14169
14168
  };
14170
- Tn.prototype.init = function() {
14169
+ Dn.prototype.init = function() {
14171
14170
  if (this._root !== null)
14172
14171
  return null;
14173
14172
  this.buildRoot();
14174
14173
  };
14175
- Tn.prototype.buildLevel = function(t, e) {
14174
+ Dn.prototype.buildLevel = function(t, e) {
14176
14175
  this._level++, e.clear();
14177
14176
  for (var n = 0; n < t.size(); n += 2) {
14178
14177
  var i = t.get(n), o = n + 1 < t.size() ? t.get(n) : null;
14179
14178
  if (o === null)
14180
14179
  e.add(i);
14181
14180
  else {
14182
- var s = new Dc(t.get(n), t.get(n + 1));
14181
+ var s = new Oc(t.get(n), t.get(n + 1));
14183
14182
  e.add(s);
14184
14183
  }
14185
14184
  }
14186
14185
  };
14187
- Tn.prototype.interfaces_ = function() {
14186
+ Dn.prototype.interfaces_ = function() {
14188
14187
  return [];
14189
14188
  };
14190
- Tn.prototype.getClass = function() {
14191
- return Tn;
14189
+ Dn.prototype.getClass = function() {
14190
+ return Dn;
14192
14191
  };
14193
14192
  var Ni = function() {
14194
14193
  this._items = new L();
@@ -14208,9 +14207,9 @@ Ni.prototype.getClass = function() {
14208
14207
  var xi = function() {
14209
14208
  this._index = null;
14210
14209
  var t = arguments[0];
14211
- if (!G(t, ir))
14210
+ if (!k(t, ir))
14212
14211
  throw new lt("Argument must be Polygonal");
14213
- this._index = new Dr(t);
14212
+ this._index = new Or(t);
14214
14213
  }, js = { SegmentVisitor: { configurable: !0 }, IntervalIndexedGeometry: { configurable: !0 } };
14215
14214
  xi.prototype.locate = function(t) {
14216
14215
  var e = new nn(t), n = new Si(e);
@@ -14226,7 +14225,7 @@ js.SegmentVisitor.get = function() {
14226
14225
  return Si;
14227
14226
  };
14228
14227
  js.IntervalIndexedGeometry.get = function() {
14229
- return Dr;
14228
+ return Or;
14230
14229
  };
14231
14230
  Object.defineProperties(xi, js);
14232
14231
  var Si = function() {
@@ -14244,24 +14243,24 @@ Si.prototype.interfaces_ = function() {
14244
14243
  Si.prototype.getClass = function() {
14245
14244
  return Si;
14246
14245
  };
14247
- var Dr = function() {
14248
- this._index = new Tn();
14246
+ var Or = function() {
14247
+ this._index = new Dn();
14249
14248
  var t = arguments[0];
14250
14249
  this.init(t);
14251
14250
  };
14252
- Dr.prototype.init = function(t) {
14251
+ Or.prototype.init = function(t) {
14253
14252
  for (var e = this, n = Ft.getLines(t), i = n.iterator(); i.hasNext(); ) {
14254
14253
  var o = i.next(), s = o.getCoordinates();
14255
14254
  e.addLine(s);
14256
14255
  }
14257
14256
  };
14258
- Dr.prototype.addLine = function(t) {
14257
+ Or.prototype.addLine = function(t) {
14259
14258
  for (var e = this, n = 1; n < t.length; n++) {
14260
14259
  var i = new M(t[n - 1], t[n]), o = Math.min(i.p0.y, i.p1.y), s = Math.max(i.p0.y, i.p1.y);
14261
14260
  e._index.insert(o, s, i);
14262
14261
  }
14263
14262
  };
14264
- Dr.prototype.query = function() {
14263
+ Or.prototype.query = function() {
14265
14264
  if (arguments.length === 2) {
14266
14265
  var t = arguments[0], e = arguments[1], n = new Ni();
14267
14266
  return this._index.query(t, e, n), n.getItems();
@@ -14270,11 +14269,11 @@ Dr.prototype.query = function() {
14270
14269
  this._index.query(i, o, s);
14271
14270
  }
14272
14271
  };
14273
- Dr.prototype.interfaces_ = function() {
14272
+ Or.prototype.interfaces_ = function() {
14274
14273
  return [];
14275
14274
  };
14276
- Dr.prototype.getClass = function() {
14277
- return Dr;
14275
+ Or.prototype.getClass = function() {
14276
+ return Or;
14278
14277
  };
14279
14278
  var Vi = function(r) {
14280
14279
  function t() {
@@ -14298,7 +14297,7 @@ var Vi = function(r) {
14298
14297
  } else if (arguments.length === 3) {
14299
14298
  var o = arguments[0], s = arguments[1], a = arguments[2], u = new Ut(o, !0, !1);
14300
14299
  u.setIsDoneIfProperInt(a);
14301
- var l = this.createEdgeSetIntersector(), c = this._parentGeom instanceof wn || this._parentGeom instanceof Pt || this._parentGeom instanceof Nn, f = s || !c;
14300
+ var l = this.createEdgeSetIntersector(), c = this._parentGeom instanceof Sn || this._parentGeom instanceof Pt || this._parentGeom instanceof Cn, f = s || !c;
14302
14301
  return l.computeIntersections(this._edges, u, f), this.addSelfIntersectionNodes(this._argIndex), u;
14303
14302
  }
14304
14303
  }, t.prototype.computeSplitEdges = function(n) {
@@ -14370,7 +14369,7 @@ var Vi = function(r) {
14370
14369
  var s = this._nodes.addNode(i), a = s.getLabel();
14371
14370
  a === null ? s._label = new tt(n, o) : a.setLocation(n, o);
14372
14371
  }, t.prototype.createEdgeSetIntersector = function() {
14373
- return new Rc();
14372
+ return new Pc();
14374
14373
  }, t.prototype.addSelfIntersectionNodes = function(n) {
14375
14374
  for (var i = this, o = this._edges.iterator(); o.hasNext(); )
14376
14375
  for (var s = o.next(), a = s.getLabel().getLocation(n), u = s.eiList.iterator(); u.hasNext(); ) {
@@ -14382,7 +14381,7 @@ var Vi = function(r) {
14382
14381
  var n = arguments[0];
14383
14382
  if (n.isEmpty())
14384
14383
  return null;
14385
- if (n instanceof Nn && (this._useBoundaryDeterminationRule = !1), n instanceof Pt)
14384
+ if (n instanceof Cn && (this._useBoundaryDeterminationRule = !1), n instanceof Pt)
14386
14385
  this.addPolygon(n);
14387
14386
  else if (n instanceof pt)
14388
14387
  this.addLineString(n);
@@ -14390,9 +14389,9 @@ var Vi = function(r) {
14390
14389
  this.addPoint(n);
14391
14390
  else if (n instanceof yi)
14392
14391
  this.addCollection(n);
14393
- else if (n instanceof Sr)
14392
+ else if (n instanceof xr)
14394
14393
  this.addCollection(n);
14395
- else if (n instanceof Nn)
14394
+ else if (n instanceof Cn)
14396
14395
  this.addCollection(n);
14397
14396
  else if (n instanceof te)
14398
14397
  this.addCollection(n);
@@ -14406,7 +14405,7 @@ var Vi = function(r) {
14406
14405
  i.add(s);
14407
14406
  }
14408
14407
  }, t.prototype.locate = function(n) {
14409
- return G(this._parentGeom, ir) && this._parentGeom.getNumGeometries() > 50 ? (this._areaPtLocator === null && (this._areaPtLocator = new xi(this._parentGeom)), this._areaPtLocator.locate(n)) : this._ptLocator.locate(n, this._parentGeom);
14408
+ return k(this._parentGeom, ir) && this._parentGeom.getNumGeometries() > 50 ? (this._areaPtLocator === null && (this._areaPtLocator = new xi(this._parentGeom)), this._areaPtLocator.locate(n)) : this._ptLocator.locate(n, this._parentGeom);
14410
14409
  }, t.prototype.findEdge = function() {
14411
14410
  if (arguments.length === 1) {
14412
14411
  var n = arguments[0];
@@ -14421,7 +14420,7 @@ var Vi = function(r) {
14421
14420
  return n.isInBoundary(i) ? y.BOUNDARY : y.INTERIOR;
14422
14421
  }, t;
14423
14422
  }(ht), wi = function() {
14424
- if (this._li = new Ar(), this._resultPrecisionModel = null, this._arg = null, arguments.length === 1) {
14423
+ if (this._li = new Mr(), this._resultPrecisionModel = null, this._arg = null, arguments.length === 1) {
14425
14424
  var t = arguments[0];
14426
14425
  this.setComputationPrecision(t.getPrecisionModel()), this._arg = new Array(1).fill(null), this._arg[0] = new Vi(0, t);
14427
14426
  } else if (arguments.length === 2) {
@@ -14444,22 +14443,22 @@ wi.prototype.interfaces_ = function() {
14444
14443
  wi.prototype.getClass = function() {
14445
14444
  return wi;
14446
14445
  };
14447
- var Cr = function() {
14446
+ var Ir = function() {
14448
14447
  };
14449
- Cr.prototype.interfaces_ = function() {
14448
+ Ir.prototype.interfaces_ = function() {
14450
14449
  return [];
14451
14450
  };
14452
- Cr.prototype.getClass = function() {
14453
- return Cr;
14451
+ Ir.prototype.getClass = function() {
14452
+ return Ir;
14454
14453
  };
14455
- Cr.map = function() {
14456
- if (arguments[0] instanceof k && G(arguments[1], Cr.MapOp)) {
14454
+ Ir.map = function() {
14455
+ if (arguments[0] instanceof G && k(arguments[1], Ir.MapOp)) {
14457
14456
  for (var t = arguments[0], e = arguments[1], n = new L(), i = 0; i < t.getNumGeometries(); i++) {
14458
14457
  var o = e.map(t.getGeometryN(i));
14459
14458
  o !== null && n.add(o);
14460
14459
  }
14461
14460
  return t.getFactory().buildGeometry(n);
14462
- } else if (G(arguments[0], St) && G(arguments[1], Cr.MapOp)) {
14461
+ } else if (k(arguments[0], St) && k(arguments[1], Ir.MapOp)) {
14463
14462
  for (var s = arguments[0], a = arguments[1], u = new L(), l = s.iterator(); l.hasNext(); ) {
14464
14463
  var c = l.next(), f = a.map(c);
14465
14464
  f !== null && u.add(f);
@@ -14467,7 +14466,7 @@ Cr.map = function() {
14467
14466
  return u;
14468
14467
  }
14469
14468
  };
14470
- Cr.MapOp = function() {
14469
+ Ir.MapOp = function() {
14471
14470
  };
14472
14471
  var U = function(r) {
14473
14472
  function t() {
@@ -14528,7 +14527,7 @@ var U = function(r) {
14528
14527
  }, t.prototype.computeOverlay = function(n) {
14529
14528
  this.copyPoints(0), this.copyPoints(1), this._arg[0].computeSelfNodes(this._li, !1), this._arg[1].computeSelfNodes(this._li, !1), this._arg[0].computeEdgeIntersections(this._arg[1], this._li, !0);
14530
14529
  var i = new L();
14531
- this._arg[0].computeSplitEdges(i), this._arg[1].computeSplitEdges(i), this.insertUniqueEdges(i), this.computeLabelsFromDepths(), this.replaceCollapsedEdges(), Or.checkValid(this._edgeList.getEdges()), this._graph.addEdges(this._edgeList.getEdges()), this.computeLabelling(), this.labelIncompleteNodes(), this.findResultAreaEdges(n), this.cancelDuplicateResultEdges();
14530
+ this._arg[0].computeSplitEdges(i), this._arg[1].computeSplitEdges(i), this.insertUniqueEdges(i), this.computeLabelsFromDepths(), this.replaceCollapsedEdges(), Rr.checkValid(this._edgeList.getEdges()), this._graph.addEdges(this._edgeList.getEdges()), this.computeLabelling(), this.labelIncompleteNodes(), this.findResultAreaEdges(n), this.cancelDuplicateResultEdges();
14532
14531
  var o = new pe(this._geomFact);
14533
14532
  o.add(this._graph), this._resultPolyList = o.getPolygons();
14534
14533
  var s = new pn(this, this._geomFact, this._ptLocator);
@@ -14587,7 +14586,7 @@ U.intersection = function(r, t) {
14587
14586
  var e = t;
14588
14587
  return Jr.map(r, {
14589
14588
  interfaces_: function() {
14590
- return [Cr.MapOp];
14589
+ return [Ir.MapOp];
14591
14590
  },
14592
14591
  map: function(n) {
14593
14592
  return n.intersection(e);
@@ -14720,26 +14719,26 @@ Li.prototype.interfaces_ = function() {
14720
14719
  Li.prototype.getClass = function() {
14721
14720
  return Li;
14722
14721
  };
14723
- var Tr = function() {
14722
+ var Dr = function() {
14724
14723
  this._g = null, this._doLeft = !0, this._doRight = !0;
14725
14724
  var t = arguments[0];
14726
14725
  this._g = t;
14727
14726
  };
14728
- Tr.prototype.extractPoints = function(t, e, n) {
14727
+ Dr.prototype.extractPoints = function(t, e, n) {
14729
14728
  for (var i = this, o = t.getCoordinates(), s = 0; s < o.length - 1; s++)
14730
14729
  i.computeOffsetPoints(o[s], o[s + 1], e, n);
14731
14730
  };
14732
- Tr.prototype.setSidesToGenerate = function(t, e) {
14731
+ Dr.prototype.setSidesToGenerate = function(t, e) {
14733
14732
  this._doLeft = t, this._doRight = e;
14734
14733
  };
14735
- Tr.prototype.getPoints = function(t) {
14734
+ Dr.prototype.getPoints = function(t) {
14736
14735
  for (var e = this, n = new L(), i = Ft.getLines(this._g), o = i.iterator(); o.hasNext(); ) {
14737
14736
  var s = o.next();
14738
14737
  e.extractPoints(s, t, n);
14739
14738
  }
14740
14739
  return n;
14741
14740
  };
14742
- Tr.prototype.computeOffsetPoints = function(t, e, n, i) {
14741
+ Dr.prototype.computeOffsetPoints = function(t, e, n, i) {
14743
14742
  var o = e.x - t.x, s = e.y - t.y, a = Math.sqrt(o * o + s * s), u = n * o / a, l = n * s / a, c = (e.x + t.x) / 2, f = (e.y + t.y) / 2;
14744
14743
  if (this._doLeft) {
14745
14744
  var h = new v(c - l, f + u);
@@ -14750,11 +14749,11 @@ Tr.prototype.computeOffsetPoints = function(t, e, n, i) {
14750
14749
  i.add(g);
14751
14750
  }
14752
14751
  };
14753
- Tr.prototype.interfaces_ = function() {
14752
+ Dr.prototype.interfaces_ = function() {
14754
14753
  return [];
14755
14754
  };
14756
- Tr.prototype.getClass = function() {
14757
- return Tr;
14755
+ Dr.prototype.getClass = function() {
14756
+ return Dr;
14758
14757
  };
14759
14758
  var we = function r() {
14760
14759
  this._geom = null, this._locFinder = null, this._location = new Array(3).fill(null), this._invalidLocation = null, this._boundaryDistanceTolerance = r.TOLERANCE, this._testCoords = new L();
@@ -14762,7 +14761,7 @@ var we = function r() {
14762
14761
  this._boundaryDistanceTolerance = r.computeBoundaryDistanceTolerance(t, e), this._geom = [t, e, n], this._locFinder = [new rr(this._geom[0], this._boundaryDistanceTolerance), new rr(this._geom[1], this._boundaryDistanceTolerance), new rr(this._geom[2], this._boundaryDistanceTolerance)];
14763
14762
  }, Pu = { TOLERANCE: { configurable: !0 } };
14764
14763
  we.prototype.reportResult = function(t, e, n) {
14765
- Gt.out.println("Overlay result invalid - A:" + y.toLocationSymbol(e[0]) + " B:" + y.toLocationSymbol(e[1]) + " expected:" + (n ? "i" : "e") + " actual:" + y.toLocationSymbol(e[2]));
14764
+ kt.out.println("Overlay result invalid - A:" + y.toLocationSymbol(e[0]) + " B:" + y.toLocationSymbol(e[1]) + " expected:" + (n ? "i" : "e") + " actual:" + y.toLocationSymbol(e[2]));
14766
14765
  };
14767
14766
  we.prototype.isValid = function(t) {
14768
14767
  this.addTestPts(this._geom[0]), this.addTestPts(this._geom[1]);
@@ -14784,7 +14783,7 @@ we.prototype.checkValid = function() {
14784
14783
  }
14785
14784
  };
14786
14785
  we.prototype.addTestPts = function(t) {
14787
- var e = new Tr(t);
14786
+ var e = new Dr(t);
14788
14787
  this._testCoords.addAll(e.getPoints(5 * this._boundaryDistanceTolerance));
14789
14788
  };
14790
14789
  we.prototype.isValidResult = function(t, e) {
@@ -14874,7 +14873,7 @@ var Ct = function() {
14874
14873
  Ct.prototype.reduceToGeometries = function(t) {
14875
14874
  for (var e = this, n = new L(), i = t.iterator(); i.hasNext(); ) {
14876
14875
  var o = i.next(), s = null;
14877
- G(o, Ge) ? s = e.unionTree(o) : o instanceof k && (s = o), n.add(s);
14876
+ k(o, ke) ? s = e.unionTree(o) : o instanceof G && (s = o), n.add(s);
14878
14877
  }
14879
14878
  return n;
14880
14879
  };
@@ -14966,7 +14965,7 @@ Ct.prototype.getClass = function() {
14966
14965
  return Ct;
14967
14966
  };
14968
14967
  Ct.restrictToPolygons = function(t) {
14969
- if (G(t, ir))
14968
+ if (k(t, ir))
14970
14969
  return t;
14971
14970
  var e = Xn.getPolygons(t);
14972
14971
  return e.size() === 1 ? e.get(0) : t.getFactory().createMultiPolygon(H.toPolygonArray(e));
@@ -14982,15 +14981,15 @@ Ru.STRTREE_NODE_CAPACITY.get = function() {
14982
14981
  return 4;
14983
14982
  };
14984
14983
  Object.defineProperties(Ct, Ru);
14985
- var Go = function() {
14984
+ var ko = function() {
14986
14985
  };
14987
- Go.prototype.interfaces_ = function() {
14986
+ ko.prototype.interfaces_ = function() {
14988
14987
  return [];
14989
14988
  };
14990
- Go.prototype.getClass = function() {
14991
- return Go;
14989
+ ko.prototype.getClass = function() {
14990
+ return ko;
14992
14991
  };
14993
- Go.union = function(t, e) {
14992
+ ko.union = function(t, e) {
14994
14993
  if (t.isEmpty() || e.isEmpty()) {
14995
14994
  if (t.isEmpty() && e.isEmpty())
14996
14995
  return U.createEmptyResult(U.UNION, t, e, t.getFactory());
@@ -15001,7 +15000,7 @@ Go.union = function(t, e) {
15001
15000
  }
15002
15001
  return t.checkNotGeometryCollection(t), t.checkNotGeometryCollection(e), re.overlayOp(t, e, U.UNION);
15003
15002
  };
15004
- function Fr() {
15003
+ function Ar() {
15005
15004
  return new zo();
15006
15005
  }
15007
15006
  function zo() {
@@ -15025,7 +15024,7 @@ function La(r, t, e) {
15025
15024
  var n = r.s = t + e, i = n - t, o = n - i;
15026
15025
  r.t = t - o + (e - i);
15027
15026
  }
15028
- var gt = 1e-6, it = Math.PI, qn = it / 2, ba = it / 4, Qn = it * 2, yr = 180 / it, Ze = it / 180, Jt = Math.abs, Tc = Math.atan, bi = Math.atan2, wt = Math.cos, Lt = Math.sin, _o = Math.sqrt;
15027
+ var gt = 1e-6, it = Math.PI, qn = it / 2, ba = it / 4, Qn = it * 2, yr = 180 / it, Ze = it / 180, Jt = Math.abs, Dc = Math.atan, bi = Math.atan2, wt = Math.cos, Lt = Math.sin, _o = Math.sqrt;
15029
15028
  function Ou(r) {
15030
15029
  return r > 1 ? 0 : r < -1 ? it : Math.acos(r);
15031
15030
  }
@@ -15087,11 +15086,11 @@ function Oa(r, t) {
15087
15086
  Ls(r[e], t, 1);
15088
15087
  t.polygonEnd();
15089
15088
  }
15090
- function Mc(r, t) {
15089
+ function Tc(r, t) {
15091
15090
  r && Pa.hasOwnProperty(r.type) ? Pa[r.type](r, t) : Vo(r, t);
15092
15091
  }
15093
- Fr();
15094
- Fr();
15092
+ Ar();
15093
+ Ar();
15095
15094
  function bs(r) {
15096
15095
  return [bi(r[1], r[0]), Pi(r[2])];
15097
15096
  }
@@ -15115,7 +15114,7 @@ function Ps(r) {
15115
15114
  var t = _o(r[0] * r[0] + r[1] * r[1] + r[2] * r[2]);
15116
15115
  r[0] /= t, r[1] /= t, r[2] /= t;
15117
15116
  }
15118
- Fr();
15117
+ Ar();
15119
15118
  function Du(r, t) {
15120
15119
  function e(n, i) {
15121
15120
  return n = r(n, i), t(n[0], n[1]);
@@ -15128,7 +15127,7 @@ function Rs(r, t) {
15128
15127
  return [r > it ? r - Qn : r < -it ? r + Qn : r, t];
15129
15128
  }
15130
15129
  Rs.invert = Rs;
15131
- function Ac(r, t, e) {
15130
+ function Mc(r, t, e) {
15132
15131
  return (r %= Qn) ? t || e ? Du(Ta(r), Ma(t, e)) : Ta(r) : t || e ? Ma(t, e) : Rs;
15133
15132
  }
15134
15133
  function Da(r) {
@@ -15157,7 +15156,7 @@ function Ma(r, t) {
15157
15156
  ];
15158
15157
  }, s;
15159
15158
  }
15160
- function Fc(r, t, e, n, i, o) {
15159
+ function Ac(r, t, e, n, i, o) {
15161
15160
  if (e) {
15162
15161
  var s = wt(t), a = Lt(t), u = n * e;
15163
15162
  i == null ? (i = t + n * Qn, o = t - u / 2) : (i = Aa(s, i), o = Aa(s, o), (n > 0 ? i < o : i > o) && (i += n * Qn));
@@ -15189,7 +15188,7 @@ function Tu() {
15189
15188
  }
15190
15189
  };
15191
15190
  }
15192
- function Bc(r, t, e, n, i, o) {
15191
+ function Fc(r, t, e, n, i, o) {
15193
15192
  var s = r[0], a = r[1], u = t[0], l = t[1], c = 0, f = 1, h = u - s, g = l - a, p;
15194
15193
  if (p = e - s, !(!h && p > 0)) {
15195
15194
  if (p /= h, h < 0) {
@@ -15296,7 +15295,7 @@ function Fa(r) {
15296
15295
  function Au(r, t) {
15297
15296
  return r < t ? -1 : r > t ? 1 : r >= t ? 0 : NaN;
15298
15297
  }
15299
- function kc(r) {
15298
+ function Bc(r) {
15300
15299
  return r.length === 1 && (r = Gc(r)), {
15301
15300
  left: function(t, e, n, i) {
15302
15301
  for (n == null && (n = 0), i == null && (i = t.length); n < i; ) {
@@ -15319,7 +15318,7 @@ function Gc(r) {
15319
15318
  return Au(r(t), e);
15320
15319
  };
15321
15320
  }
15322
- kc(Au);
15321
+ Bc(Au);
15323
15322
  function Fu(r) {
15324
15323
  for (var t = r.length, e, n = -1, i = 0, o, s; ++n < t; )
15325
15324
  i += r[n].length;
@@ -15329,7 +15328,7 @@ function Fu(r) {
15329
15328
  return o;
15330
15329
  }
15331
15330
  var qi = 1e9, Lo = -qi;
15332
- function zc(r, t, e, n) {
15331
+ function kc(r, t, e, n) {
15333
15332
  function i(l, c) {
15334
15333
  return r <= l && l <= e && t <= c && c <= n;
15335
15334
  }
@@ -15365,8 +15364,8 @@ function zc(r, t, e, n) {
15365
15364
  }
15366
15365
  function D() {
15367
15366
  for (var Y = 0, at = 0, xt = g.length; at < xt; ++at)
15368
- for (var qt = g[at], ce = 1, Br = qt.length, mn = qt[0], An, fe, et = mn[0], Rt = mn[1]; ce < Br; ++ce)
15369
- An = et, fe = Rt, mn = qt[ce], et = mn[0], Rt = mn[1], fe <= n ? Rt > n && (et - An) * (n - fe) > (Rt - fe) * (r - An) && ++Y : Rt <= n && (et - An) * (n - fe) < (Rt - fe) * (r - An) && --Y;
15367
+ for (var qt = g[at], ce = 1, Fr = qt.length, mn = qt[0], Mn, fe, et = mn[0], Rt = mn[1]; ce < Fr; ++ce)
15368
+ Mn = et, fe = Rt, mn = qt[ce], et = mn[0], Rt = mn[1], fe <= n ? Rt > n && (et - Mn) * (n - fe) > (Rt - fe) * (r - Mn) && ++Y : Rt <= n && (et - Mn) * (n - fe) < (Rt - fe) * (r - Mn) && --Y;
15370
15369
  return Y;
15371
15370
  }
15372
15371
  function R() {
@@ -15390,15 +15389,15 @@ function zc(r, t, e, n) {
15390
15389
  c.point(Y, at);
15391
15390
  else {
15392
15391
  var qt = [I = Math.max(Lo, Math.min(qi, I)), C = Math.max(Lo, Math.min(qi, C))], ce = [Y = Math.max(Lo, Math.min(qi, Y)), at = Math.max(Lo, Math.min(qi, at))];
15393
- Bc(qt, ce, r, t, e, n) ? (N || (c.lineStart(), c.point(qt[0], qt[1])), c.point(ce[0], ce[1]), xt || c.lineEnd(), b = !1) : xt && (c.lineStart(), c.point(Y, at), b = !1);
15392
+ Fc(qt, ce, r, t, e, n) ? (N || (c.lineStart(), c.point(qt[0], qt[1])), c.point(ce[0], ce[1]), xt || c.lineEnd(), b = !1) : xt && (c.lineStart(), c.point(Y, at), b = !1);
15394
15393
  }
15395
15394
  I = Y, C = at, N = xt;
15396
15395
  }
15397
15396
  return A;
15398
15397
  };
15399
15398
  }
15400
- var ps = Fr();
15401
- function Vc(r, t) {
15399
+ var ps = Ar();
15400
+ function zc(r, t) {
15402
15401
  var e = t[0], n = t[1], i = [Lt(e), -wt(e), 0], o = 0, s = 0;
15403
15402
  ps.reset();
15404
15403
  for (var a = 0, u = r.length; a < u; ++a)
@@ -15416,14 +15415,14 @@ function Vc(r, t) {
15416
15415
  }
15417
15416
  return (o < -gt || o < gt && ps < -gt) ^ s & 1;
15418
15417
  }
15419
- Fr();
15418
+ Ar();
15420
15419
  function Ba(r) {
15421
15420
  return r;
15422
15421
  }
15423
- Fr();
15424
- Fr();
15425
- var Oi = 1 / 0, qo = Oi, co = -Oi, Xo = co, ka = {
15426
- point: Uc,
15422
+ Ar();
15423
+ Ar();
15424
+ var Oi = 1 / 0, qo = Oi, co = -Oi, Xo = co, Ga = {
15425
+ point: Vc,
15427
15426
  lineStart: Ui,
15428
15427
  lineEnd: Ui,
15429
15428
  polygonStart: Ui,
@@ -15433,10 +15432,10 @@ var Oi = 1 / 0, qo = Oi, co = -Oi, Xo = co, ka = {
15433
15432
  return co = Xo = -(qo = Oi = 1 / 0), r;
15434
15433
  }
15435
15434
  };
15436
- function Uc(r, t) {
15435
+ function Vc(r, t) {
15437
15436
  r < Oi && (Oi = r), r > co && (co = r), t < qo && (qo = t), t > Xo && (Xo = t);
15438
15437
  }
15439
- Fr();
15438
+ Ar();
15440
15439
  function Bu(r, t, e, n) {
15441
15440
  return function(i, o) {
15442
15441
  var s = t(o), a = i.invert(n[0], n[1]), u = Tu(), l = t(u), c = !1, f, h, g, p = {
@@ -15448,8 +15447,8 @@ function Bu(r, t, e, n) {
15448
15447
  },
15449
15448
  polygonEnd: function() {
15450
15449
  p.point = m, p.lineStart = _, p.lineEnd = I, h = Fu(h);
15451
- var b = Vc(f, a);
15452
- h.length ? (c || (o.polygonStart(), c = !0), Mu(h, Xc, b, e, o)) : b && (c || (o.polygonStart(), c = !0), o.lineStart(), e(null, null, 1, o), o.lineEnd()), c && (o.polygonEnd(), c = !1), h = f = null;
15450
+ var b = zc(f, a);
15451
+ h.length ? (c || (o.polygonStart(), c = !0), Mu(h, qc, b, e, o)) : b && (c || (o.polygonStart(), c = !0), o.lineStart(), e(null, null, 1, o), o.lineEnd()), c && (o.polygonEnd(), c = !1), h = f = null;
15453
15452
  },
15454
15453
  sphere: function() {
15455
15454
  o.polygonStart(), o.lineStart(), e(null, null, 1, o), o.lineEnd(), o.polygonEnd();
@@ -15489,27 +15488,27 @@ function Bu(r, t, e, n) {
15489
15488
  }
15490
15489
  return;
15491
15490
  }
15492
- D > 1 && b & 2 && A.push(A.pop().concat(A.shift())), h.push(A.filter(qc));
15491
+ D > 1 && b & 2 && A.push(A.pop().concat(A.shift())), h.push(A.filter(Uc));
15493
15492
  }
15494
15493
  }
15495
15494
  return p;
15496
15495
  };
15497
15496
  }
15498
- function qc(r) {
15497
+ function Uc(r) {
15499
15498
  return r.length > 1;
15500
15499
  }
15501
- function Xc(r, t) {
15500
+ function qc(r, t) {
15502
15501
  return ((r = r.x)[0] < 0 ? r[1] - qn - gt : qn - r[1]) - ((t = t.x)[0] < 0 ? t[1] - qn - gt : qn - t[1]);
15503
15502
  }
15504
- const Ga = Bu(
15503
+ const ka = Bu(
15505
15504
  function() {
15506
15505
  return !0;
15507
15506
  },
15508
- Yc,
15509
- Wc,
15507
+ Xc,
15508
+ Hc,
15510
15509
  [-it, -qn]
15511
15510
  );
15512
- function Yc(r) {
15511
+ function Xc(r) {
15513
15512
  var t = NaN, e = NaN, n = NaN, i;
15514
15513
  return {
15515
15514
  lineStart: function() {
@@ -15517,7 +15516,7 @@ function Yc(r) {
15517
15516
  },
15518
15517
  point: function(o, s) {
15519
15518
  var a = o > 0 ? it : -it, u = Jt(o - t);
15520
- Jt(u - it) < gt ? (r.point(t, e = (e + s) / 2 > 0 ? qn : -qn), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), r.point(o, e), i = 0) : n !== a && u >= it && (Jt(t - n) < gt && (t -= n * gt), Jt(o - a) < gt && (o -= a * gt), e = Hc(t, e, o, s), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), i = 0), r.point(t = o, e = s), n = a;
15519
+ Jt(u - it) < gt ? (r.point(t, e = (e + s) / 2 > 0 ? qn : -qn), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), r.point(o, e), i = 0) : n !== a && u >= it && (Jt(t - n) < gt && (t -= n * gt), Jt(o - a) < gt && (o -= a * gt), e = Yc(t, e, o, s), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), i = 0), r.point(t = o, e = s), n = a;
15521
15520
  },
15522
15521
  lineEnd: function() {
15523
15522
  r.lineEnd(), t = e = NaN;
@@ -15527,11 +15526,11 @@ function Yc(r) {
15527
15526
  }
15528
15527
  };
15529
15528
  }
15530
- function Hc(r, t, e, n) {
15529
+ function Yc(r, t, e, n) {
15531
15530
  var i, o, s = Lt(r - e);
15532
- return Jt(s) > gt ? Tc((Lt(t) * (o = wt(n)) * Lt(e) - Lt(n) * (i = wt(t)) * Lt(r)) / (i * o * s)) : (t + n) / 2;
15531
+ return Jt(s) > gt ? Dc((Lt(t) * (o = wt(n)) * Lt(e) - Lt(n) * (i = wt(t)) * Lt(r)) / (i * o * s)) : (t + n) / 2;
15533
15532
  }
15534
- function Wc(r, t, e, n) {
15533
+ function Hc(r, t, e, n) {
15535
15534
  var i;
15536
15535
  if (r == null)
15537
15536
  i = e * qn, n.point(-it, i), n.point(0, i), n.point(it, i), n.point(it, 0), n.point(it, -i), n.point(0, -i), n.point(-it, -i), n.point(-it, 0), n.point(-it, i);
@@ -15541,10 +15540,10 @@ function Wc(r, t, e, n) {
15541
15540
  } else
15542
15541
  n.point(t[0], t[1]);
15543
15542
  }
15544
- function jc(r, t) {
15543
+ function Wc(r, t) {
15545
15544
  var e = wt(r), n = e > 0, i = Jt(e) > gt;
15546
15545
  function o(c, f, h, g) {
15547
- Fc(g, r, t, h, c, f);
15546
+ Ac(g, r, t, h, c, f);
15548
15547
  }
15549
15548
  function s(c, f) {
15550
15549
  return wt(c) * wt(f) > e;
@@ -15588,8 +15587,8 @@ function jc(r, t) {
15588
15587
  return O;
15589
15588
  var Y = c[0], at = f[0], xt = c[1], qt = f[1], ce;
15590
15589
  at < Y && (ce = Y, Y = at, at = ce);
15591
- var Br = at - Y, mn = Jt(Br - it) < gt, An = mn || Br < gt;
15592
- if (!mn && qt < xt && (ce = xt, xt = qt, qt = ce), An ? mn ? xt + qt > 0 ^ O[1] < (Jt(O[0] - Y) < gt ? xt : qt) : xt <= O[1] && O[1] <= qt : Br > it ^ (Y <= O[0] && O[0] <= at)) {
15590
+ var Fr = at - Y, mn = Jt(Fr - it) < gt, Mn = mn || Fr < gt;
15591
+ if (!mn && qt < xt && (ce = xt, xt = qt, qt = ce), Mn ? mn ? xt + qt > 0 ^ O[1] < (Jt(O[0] - Y) < gt ? xt : qt) : xt <= O[1] && O[1] <= qt : Fr > it ^ (Y <= O[0] && O[0] <= at)) {
15593
15592
  var fe = So(D, (-R + rt) / z);
15594
15593
  return gs(fe, A), [O, bs(fe)];
15595
15594
  }
@@ -15601,7 +15600,7 @@ function jc(r, t) {
15601
15600
  }
15602
15601
  return Bu(s, a, o, n ? [0, -r] : [-it, r - it]);
15603
15602
  }
15604
- function ku(r) {
15603
+ function Gu(r) {
15605
15604
  return function(t) {
15606
15605
  var e = new Os();
15607
15606
  for (var n in r)
@@ -15632,32 +15631,32 @@ Os.prototype = {
15632
15631
  this.stream.polygonEnd();
15633
15632
  }
15634
15633
  };
15635
- function Gu(r, t, e) {
15634
+ function ku(r, t, e) {
15636
15635
  var n = t[1][0] - t[0][0], i = t[1][1] - t[0][1], o = r.clipExtent && r.clipExtent();
15637
- r.scale(150).translate([0, 0]), o != null && r.clipExtent(null), Mc(e, r.stream(ka));
15638
- var s = ka.result(), a = Math.min(n / (s[1][0] - s[0][0]), i / (s[1][1] - s[0][1])), u = +t[0][0] + (n - a * (s[1][0] + s[0][0])) / 2, l = +t[0][1] + (i - a * (s[1][1] + s[0][1])) / 2;
15636
+ r.scale(150).translate([0, 0]), o != null && r.clipExtent(null), Tc(e, r.stream(Ga));
15637
+ var s = Ga.result(), a = Math.min(n / (s[1][0] - s[0][0]), i / (s[1][1] - s[0][1])), u = +t[0][0] + (n - a * (s[1][0] + s[0][0])) / 2, l = +t[0][1] + (i - a * (s[1][1] + s[0][1])) / 2;
15639
15638
  return o != null && r.clipExtent(o), r.scale(a * 150).translate([u, l]);
15640
15639
  }
15641
- function Kc(r, t, e) {
15642
- return Gu(r, [[0, 0], t], e);
15640
+ function jc(r, t, e) {
15641
+ return ku(r, [[0, 0], t], e);
15643
15642
  }
15644
- var za = 16, Qc = wt(30 * Ze);
15643
+ var za = 16, Kc = wt(30 * Ze);
15645
15644
  function Va(r, t) {
15646
- return +t ? Zc(r, t) : Jc(r);
15645
+ return +t ? Jc(r, t) : Qc(r);
15647
15646
  }
15648
- function Jc(r) {
15649
- return ku({
15647
+ function Qc(r) {
15648
+ return Gu({
15650
15649
  point: function(t, e) {
15651
15650
  t = r(t, e), this.stream.point(t[0], t[1]);
15652
15651
  }
15653
15652
  });
15654
15653
  }
15655
- function Zc(r, t) {
15654
+ function Jc(r, t) {
15656
15655
  function e(n, i, o, s, a, u, l, c, f, h, g, p, m, d) {
15657
15656
  var _ = l - n, I = c - i, C = _ * _ + I * I;
15658
15657
  if (C > 4 * t && m--) {
15659
15658
  var N = s + h, S = a + g, b = u + p, A = _o(N * N + S * S + b * b), F = Pi(b /= A), D = Jt(Jt(b) - 1) < gt || Jt(o - f) < gt ? (o + f) / 2 : bi(S, N), R = r(D, F), z = R[0], q = R[1], rt = z - n, O = q - i, Y = I * rt - _ * O;
15660
- (Y * Y / C > t || Jt((_ * rt + I * O) / C - 0.5) > 0.3 || s * h + a * g + u * p < Qc) && (e(n, i, o, s, a, u, z, q, D, N /= A, S /= A, b, m, d), d.point(z, q), e(z, q, D, N, S, b, l, c, f, h, g, p, m, d));
15659
+ (Y * Y / C > t || Jt((_ * rt + I * O) / C - 0.5) > 0.3 || s * h + a * g + u * p < Kc) && (e(n, i, o, s, a, u, z, q, D, N /= A, S /= A, b, m, d), d.point(z, q), e(z, q, D, N, S, b, l, c, f, h, g, p, m, d));
15661
15660
  }
15662
15661
  }
15663
15662
  return function(n) {
@@ -15697,18 +15696,18 @@ function Zc(r, t) {
15697
15696
  return d;
15698
15697
  };
15699
15698
  }
15700
- var $c = ku({
15699
+ var Zc = Gu({
15701
15700
  point: function(r, t) {
15702
15701
  this.stream.point(r * Ze, t * Ze);
15703
15702
  }
15704
15703
  });
15705
- function tf(r) {
15706
- return ef(function() {
15704
+ function $c(r) {
15705
+ return tf(function() {
15707
15706
  return r;
15708
15707
  })();
15709
15708
  }
15710
- function ef(r) {
15711
- var t, e = 150, n = 480, i = 250, o, s, a = 0, u = 0, l = 0, c = 0, f = 0, h, g, p = null, m = Ga, d = null, _, I, C, N = Ba, S = 0.5, b = Va(z, S), A, F;
15709
+ function tf(r) {
15710
+ var t, e = 150, n = 480, i = 250, o, s, a = 0, u = 0, l = 0, c = 0, f = 0, h, g, p = null, m = ka, d = null, _, I, C, N = Ba, S = 0.5, b = Va(z, S), A, F;
15712
15711
  function D(O) {
15713
15712
  return O = g(O[0] * Ze, O[1] * Ze), [O[0] * e + o, s - O[1] * e];
15714
15713
  }
@@ -15719,11 +15718,11 @@ function ef(r) {
15719
15718
  return O = t(O, Y), [O[0] * e + o, s - O[1] * e];
15720
15719
  }
15721
15720
  D.stream = function(O) {
15722
- return A && F === O ? A : A = $c(m(h, b(N(F = O))));
15721
+ return A && F === O ? A : A = Zc(m(h, b(N(F = O))));
15723
15722
  }, D.clipAngle = function(O) {
15724
- return arguments.length ? (m = +O ? jc(p = O * Ze, 6 * Ze) : (p = null, Ga), rt()) : p * yr;
15723
+ return arguments.length ? (m = +O ? Wc(p = O * Ze, 6 * Ze) : (p = null, ka), rt()) : p * yr;
15725
15724
  }, D.clipExtent = function(O) {
15726
- return arguments.length ? (N = O == null ? (d = _ = I = C = null, Ba) : zc(d = +O[0][0], _ = +O[0][1], I = +O[1][0], C = +O[1][1]), rt()) : d == null ? null : [[d, _], [I, C]];
15725
+ return arguments.length ? (N = O == null ? (d = _ = I = C = null, Ba) : kc(d = +O[0][0], _ = +O[0][1], I = +O[1][0], C = +O[1][1]), rt()) : d == null ? null : [[d, _], [I, C]];
15727
15726
  }, D.scale = function(O) {
15728
15727
  return arguments.length ? (e = +O, q()) : e;
15729
15728
  }, D.translate = function(O) {
@@ -15735,12 +15734,12 @@ function ef(r) {
15735
15734
  }, D.precision = function(O) {
15736
15735
  return arguments.length ? (b = Va(z, S = O * O), rt()) : _o(S);
15737
15736
  }, D.fitExtent = function(O, Y) {
15738
- return Gu(D, O, Y);
15737
+ return ku(D, O, Y);
15739
15738
  }, D.fitSize = function(O, Y) {
15740
- return Kc(D, O, Y);
15739
+ return jc(D, O, Y);
15741
15740
  };
15742
15741
  function q() {
15743
- g = Du(h = Ac(l, c, f), t);
15742
+ g = Du(h = Mc(l, c, f), t);
15744
15743
  var O = t(a, u);
15745
15744
  return o = n - O[0] * e, s = i + O[1] * e, rt();
15746
15745
  }
@@ -15751,7 +15750,7 @@ function ef(r) {
15751
15750
  return t = r.apply(this, arguments), D.invert = t.invert && R, q();
15752
15751
  };
15753
15752
  }
15754
- function nf(r) {
15753
+ function ef(r) {
15755
15754
  return function(t, e) {
15756
15755
  var n = wt(t), i = wt(e), o = r(n * i);
15757
15756
  return [
@@ -15760,7 +15759,7 @@ function nf(r) {
15760
15759
  ];
15761
15760
  };
15762
15761
  }
15763
- function rf(r) {
15762
+ function nf(r) {
15764
15763
  return function(t, e) {
15765
15764
  var n = _o(t * t + e * e), i = r(n), o = Lt(i), s = wt(i);
15766
15765
  return [
@@ -15769,20 +15768,20 @@ function rf(r) {
15769
15768
  ];
15770
15769
  };
15771
15770
  }
15772
- var zu = nf(function(r) {
15771
+ var zu = ef(function(r) {
15773
15772
  return (r = Ou(r)) && r / Lt(r);
15774
15773
  });
15775
- zu.invert = rf(function(r) {
15774
+ zu.invert = nf(function(r) {
15776
15775
  return r;
15777
15776
  });
15778
- function of() {
15779
- return tf(zu).scale(79.4188).clipAngle(180 - 1e-3);
15777
+ function rf() {
15778
+ return $c(zu).scale(79.4188).clipAngle(180 - 1e-3);
15780
15779
  }
15781
15780
  function Ua(r, t) {
15782
15781
  return [r, t];
15783
15782
  }
15784
15783
  Ua.invert = Ua;
15785
- function sf(r, t, e) {
15784
+ function of(r, t, e) {
15786
15785
  e = e || {};
15787
15786
  var n = e.units || "kilometers", i = e.steps || 8;
15788
15787
  if (!r)
@@ -15821,10 +15820,10 @@ function Ro(r, t, e, n) {
15821
15820
  d && s.push(d);
15822
15821
  }), xs(s);
15823
15822
  }
15824
- var a = af(o), u = {
15823
+ var a = sf(o), u = {
15825
15824
  type: o.type,
15826
15825
  coordinates: Uu(o.coordinates, a)
15827
- }, l = new zs(), c = l.read(u), f = lc(cc(t, e), "meters"), h = Bt.bufferOp(c, f, n), g = new gu();
15826
+ }, l = new zs(), c = l.read(u), f = uc(lc(t, e), "meters"), h = Bt.bufferOp(c, f, n), g = new gu();
15828
15827
  if (h = g.write(h), !Vu(h.coordinates)) {
15829
15828
  var p = {
15830
15829
  type: h.type,
@@ -15846,11 +15845,11 @@ function qu(r, t) {
15846
15845
  return qu(e, t);
15847
15846
  });
15848
15847
  }
15849
- function af(r) {
15850
- var t = dc(r).geometry.coordinates, e = [-t[0], -t[1]];
15851
- return of().rotate(e).scale(me);
15848
+ function sf(r) {
15849
+ var t = pc(r).geometry.coordinates, e = [-t[0], -t[1]];
15850
+ return rf().rotate(e).scale(me);
15852
15851
  }
15853
- function uf(r, t) {
15852
+ function af(r, t) {
15854
15853
  var e = Mo(r), n = Mo(t), i = r.properties || {}, o = Za.difference(
15855
15854
  e.coordinates,
15856
15855
  n.coordinates
@@ -15863,7 +15862,7 @@ function qa(r) {
15863
15862
  t && e[0] - t[0] >= 180 ? e[0] -= 360 : t && e[0] - t[0] < -180 && (e[0] += 360), t = e;
15864
15863
  }
15865
15864
  function Xa(r, t) {
15866
- const e = uf(
15865
+ const e = af(
15867
15866
  {
15868
15867
  type: "Polygon",
15869
15868
  coordinates: [
@@ -15881,7 +15880,7 @@ function Xa(r, t) {
15881
15880
  if (!e)
15882
15881
  return;
15883
15882
  e.properties = { isMask: "y" };
15884
- const n = sf(r, 0);
15883
+ const n = of(r, 0);
15885
15884
  if (n.geometry.type === "Polygon")
15886
15885
  for (const i of n.geometry.coordinates)
15887
15886
  qa(i);
@@ -15898,7 +15897,7 @@ let Ya = {
15898
15897
  type: "FeatureCollection",
15899
15898
  features: []
15900
15899
  };
15901
- function lf(r, t, e = !0, n = !0, i = {}, o = {}, s = {
15900
+ function uf(r, t, e = !0, n = !0, i = {}, o = {}, s = {
15902
15901
  fill: {
15903
15902
  paint: {
15904
15903
  "fill-color": "#000",
@@ -15952,7 +15951,7 @@ function lf(r, t, e = !0, n = !0, i = {}, o = {}, s = {
15952
15951
  if (!t)
15953
15952
  throw new Error();
15954
15953
  const I = document.createElement("div");
15955
- return _ && I.classList.add("marker-interactive"), new pc({
15954
+ return _ && I.classList.add("marker-interactive"), new gc({
15956
15955
  props: { displayIn: "maplibre" },
15957
15956
  target: I
15958
15957
  }), new t.Marker({ element: I, offset: [1, -13] });
@@ -15998,7 +15997,7 @@ function lf(r, t, e = !0, n = !0, i = {}, o = {}, s = {
15998
15997
  if (S.length > 0) {
15999
15998
  let b = S.pop();
16000
15999
  for (const A of S)
16001
- b = fc(b, A);
16000
+ b = cc(b, A);
16002
16001
  Xa({ ...I, geometry: b }, C), N = !0;
16003
16002
  } else {
16004
16003
  const b = I.geometry.geometries.filter(
@@ -16049,13 +16048,13 @@ function lf(r, t, e = !0, n = !0, i = {}, o = {}, s = {
16049
16048
  }
16050
16049
  };
16051
16050
  }
16052
- var En, _r;
16053
- class hf extends EventTarget {
16051
+ var _n, zr;
16052
+ class lf extends EventTarget {
16054
16053
  constructor(e = {}) {
16055
16054
  super();
16056
- ls(this, En, void 0);
16057
- ls(this, _r, void 0);
16058
- Co(this, _r, e);
16055
+ ls(this, _n, void 0);
16056
+ ls(this, zr, void 0);
16057
+ Co(this, zr, e);
16059
16058
  }
16060
16059
  onAdd(e) {
16061
16060
  const n = document.createElement("div");
@@ -16066,17 +16065,10 @@ class hf extends EventTarget {
16066
16065
  flyTo: s,
16067
16066
  fullGeometryStyle: a,
16068
16067
  ...u
16069
- } = _n(this, _r), l = typeof s == "boolean" ? {} : s, c = {};
16070
- if ("getSdkConfig" in e && typeof e.getSdkConfig == "function") {
16071
- const { primaryLanguage: g, apiKey: p } = e.getSdkConfig();
16072
- c.apiKey = p;
16073
- const m = /^([a-z]{2})($|_|-)/.exec(g);
16074
- m && (c.language = m[1]), n.className += " maptiler-ctrl";
16075
- }
16076
- const h = {
16077
- mapController: lf(
16068
+ } = Bn(this, zr), l = typeof s == "boolean" ? {} : s, c = this.getExtraProps(e, n), h = {
16069
+ mapController: uf(
16078
16070
  e,
16079
- ol ?? sl ?? _n(this, _r).maplibregl,
16071
+ this.getMapLibre(),
16080
16072
  i,
16081
16073
  o,
16082
16074
  l,
@@ -16091,7 +16083,7 @@ class hf extends EventTarget {
16091
16083
  };
16092
16084
  if (!h.apiKey)
16093
16085
  throw new Error("no apiKey provided");
16094
- Co(this, En, new Gl({ target: n, props: h }));
16086
+ Co(this, _n, new Gl({ target: n, props: h }));
16095
16087
  for (const g of [
16096
16088
  "select",
16097
16089
  "pick",
@@ -16102,46 +16094,53 @@ class hf extends EventTarget {
16102
16094
  "reverseToggle",
16103
16095
  "queryChange"
16104
16096
  ])
16105
- _n(this, En).$on(g, (p) => this.dispatchEvent(p));
16097
+ Bn(this, _n).$on(g, (p) => this.dispatchEvent(p));
16106
16098
  return n;
16107
16099
  }
16108
16100
  setOptions(e) {
16109
- var l;
16110
- Co(this, _r, e);
16101
+ var u;
16102
+ Co(this, zr, e);
16111
16103
  const {
16112
- maplibregl: n,
16113
- marker: i,
16114
- showResultMarkers: o,
16115
- flyTo: s,
16116
- fullGeometryStyle: a,
16117
- ...u
16118
- } = _n(this, _r);
16119
- (l = _n(this, En)) == null || l.$set(u);
16104
+ marker: n,
16105
+ showResultMarkers: i,
16106
+ flyTo: o,
16107
+ fullGeometryStyle: s,
16108
+ ...a
16109
+ } = Bn(this, zr);
16110
+ (u = Bn(this, _n)) == null || u.$set(a);
16120
16111
  }
16121
16112
  setQuery(e, n = !0) {
16122
16113
  var i;
16123
- (i = _n(this, En)) == null || i.setQuery(e, n);
16114
+ (i = Bn(this, _n)) == null || i.setQuery(e, n);
16124
16115
  }
16125
16116
  setReverseMode(e) {
16126
16117
  var n;
16127
- (n = _n(this, En)) == null || n.$set({ reverseActive: e });
16118
+ (n = Bn(this, _n)) == null || n.$set({ reverseActive: e });
16128
16119
  }
16129
16120
  focus() {
16130
16121
  var e;
16131
- (e = _n(this, En)) == null || e.focus();
16122
+ (e = Bn(this, _n)) == null || e.focus();
16132
16123
  }
16133
16124
  blur() {
16134
16125
  var e;
16135
- (e = _n(this, En)) == null || e.blur();
16126
+ (e = Bn(this, _n)) == null || e.blur();
16136
16127
  }
16137
16128
  onRemove() {
16138
16129
  var e;
16139
- (e = _n(this, En)) == null || e.$destroy();
16130
+ (e = Bn(this, _n)) == null || e.$destroy();
16131
+ }
16132
+ }
16133
+ _n = new WeakMap(), zr = new WeakMap();
16134
+ class hf extends lf {
16135
+ getMapLibre() {
16136
+ return ol;
16137
+ }
16138
+ getExtraProps(t, e) {
16139
+ return {};
16140
16140
  }
16141
16141
  }
16142
- En = new WeakMap(), _r = new WeakMap();
16143
16142
  export {
16144
16143
  hf as GeocodingControl,
16145
- lf as createMaplibreglMapController
16144
+ uf as createMapLibreGlMapController
16146
16145
  };
16147
16146
  //# sourceMappingURL=maplibregl.js.map