@maptiler/geocoding-control 0.0.48 → 0.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/leaflet.js CHANGED
@@ -6,7 +6,7 @@ var Bn = (r, t, e) => ($s(r, t, "read from private field"), e ? e.call(r) : t.ge
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
- }, Io = (r, t, e, n) => ($s(r, t, "write to private field"), n ? n.call(r, e) : t.set(r, e), e);
9
+ }, Co = (r, t, e, n) => ($s(r, t, "write to private field"), n ? n.call(r, e) : t.set(r, e), e);
10
10
  import * as tr from "leaflet";
11
11
  function xt() {
12
12
  }
@@ -27,7 +27,7 @@ function Dr(r) {
27
27
  function Xa(r) {
28
28
  return typeof r == "function";
29
29
  }
30
- function Oi(r, t) {
30
+ function Ti(r, t) {
31
31
  return r != r ? t == t : r !== t || r && typeof r == "object" || typeof r == "function";
32
32
  }
33
33
  function sl(r) {
@@ -114,7 +114,7 @@ function B(r, t, e) {
114
114
  function gl(r) {
115
115
  return Array.from(r.childNodes);
116
116
  }
117
- function Wi(r, t) {
117
+ function ji(r, t) {
118
118
  t = "" + t, r.wholeText !== t && (r.data = t);
119
119
  }
120
120
  function na(r, t) {
@@ -127,14 +127,14 @@ function pl(r, t, { bubbles: e = !1, cancelable: n = !1 } = {}) {
127
127
  const i = document.createEvent("CustomEvent");
128
128
  return i.initCustomEvent(r, e, n, t), i;
129
129
  }
130
- let ji;
131
- function Yi(r) {
132
- ji = r;
130
+ let Ki;
131
+ function Hi(r) {
132
+ Ki = r;
133
133
  }
134
134
  function Ha() {
135
- if (!ji)
135
+ if (!Ki)
136
136
  throw new Error("Function called outside component initialization");
137
- return ji;
137
+ return Ki;
138
138
  }
139
139
  function dl(r) {
140
140
  Ha().$$.on_destroy.push(r);
@@ -152,7 +152,7 @@ function vl() {
152
152
  return !0;
153
153
  };
154
154
  }
155
- const Ui = [], vs = [], bo = [], ra = [], yl = Promise.resolve();
155
+ const ui = [], vs = [], bo = [], ra = [], yl = Promise.resolve();
156
156
  let ys = !1;
157
157
  function ml() {
158
158
  ys || (ys = !0, yl.then(Wa));
@@ -161,25 +161,31 @@ function ms(r) {
161
161
  bo.push(r);
162
162
  }
163
163
  const fs = /* @__PURE__ */ new Set();
164
- let Co = 0;
164
+ let ai = 0;
165
165
  function Wa() {
166
- const r = ji;
166
+ if (ai !== 0)
167
+ return;
168
+ const r = Ki;
167
169
  do {
168
- for (; Co < Ui.length; ) {
169
- const t = Ui[Co];
170
- Co++, Yi(t), _l(t.$$);
170
+ try {
171
+ for (; ai < ui.length; ) {
172
+ const t = ui[ai];
173
+ ai++, Hi(t), _l(t.$$);
174
+ }
175
+ } catch (t) {
176
+ throw ui.length = 0, ai = 0, t;
171
177
  }
172
- for (Yi(null), Ui.length = 0, Co = 0; vs.length; )
178
+ for (Hi(null), ui.length = 0, ai = 0; vs.length; )
173
179
  vs.pop()();
174
180
  for (let t = 0; t < bo.length; t += 1) {
175
181
  const e = bo[t];
176
182
  fs.has(e) || (fs.add(e), e());
177
183
  }
178
184
  bo.length = 0;
179
- } while (Ui.length);
185
+ } while (ui.length);
180
186
  for (; ra.length; )
181
187
  ra.pop()();
182
- ys = !1, fs.clear(), Yi(r);
188
+ ys = !1, fs.clear(), Hi(r);
183
189
  }
184
190
  function _l(r) {
185
191
  if (r.fragment !== null) {
@@ -213,26 +219,26 @@ function be(r, t, e, n) {
213
219
  } else
214
220
  n && n();
215
221
  }
216
- function Ki(r) {
222
+ function Qi(r) {
217
223
  r && r.c();
218
224
  }
219
- function ui(r, t, e, n) {
225
+ function ci(r, t, e, n) {
220
226
  const { fragment: i, after_update: o } = r.$$;
221
227
  i && i.m(t, e), n || ms(() => {
222
228
  const s = r.$$.on_mount.map(qa).filter(Xa);
223
229
  r.$$.on_destroy ? r.$$.on_destroy.push(...s) : Dr(s), r.$$.on_mount = [];
224
230
  }), o.forEach(ms);
225
231
  }
226
- function li(r, t) {
232
+ function fi(r, t) {
227
233
  const e = r.$$;
228
234
  e.fragment !== null && (Dr(e.on_destroy), e.fragment && e.fragment.d(t), e.on_destroy = e.fragment = null, e.ctx = []);
229
235
  }
230
236
  function El(r, t) {
231
- r.$$.dirty[0] === -1 && (Ui.push(r), ml(), r.$$.dirty.fill(0)), r.$$.dirty[t / 31 | 0] |= 1 << t % 31;
237
+ r.$$.dirty[0] === -1 && (ui.push(r), ml(), r.$$.dirty.fill(0)), r.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
238
  }
233
- function Di(r, t, e, n, i, o, s, a = [-1]) {
234
- const u = ji;
235
- Yi(r);
239
+ function Mi(r, t, e, n, i, o, s, a = [-1]) {
240
+ const u = Ki;
241
+ Hi(r);
236
242
  const l = r.$$ = {
237
243
  fragment: null,
238
244
  ctx: [],
@@ -262,13 +268,13 @@ function Di(r, t, e, n, i, o, s, a = [-1]) {
262
268
  l.fragment && l.fragment.l(f), f.forEach(Ae);
263
269
  } else
264
270
  l.fragment && l.fragment.c();
265
- t.intro && Kt(r.$$.fragment), ui(r, t.target, t.anchor, t.customElement), Wa();
271
+ t.intro && Kt(r.$$.fragment), ci(r, t.target, t.anchor, t.customElement), Wa();
266
272
  }
267
- Yi(u);
273
+ Hi(u);
268
274
  }
269
- class Ti {
275
+ class Ai {
270
276
  $destroy() {
271
- li(this, 1), this.$destroy = xt;
277
+ fi(this, 1), this.$destroy = xt;
272
278
  }
273
279
  $on(t, e) {
274
280
  if (!Xa(e))
@@ -300,9 +306,9 @@ function Il(r) {
300
306
  }
301
307
  };
302
308
  }
303
- class Cl extends Ti {
309
+ class Cl extends Ai {
304
310
  constructor(t) {
305
- super(), Di(this, t, null, Il, Oi, {});
311
+ super(), Mi(this, t, null, Il, Ti, {});
306
312
  }
307
313
  }
308
314
  function Nl(r) {
@@ -322,9 +328,9 @@ function Nl(r) {
322
328
  }
323
329
  };
324
330
  }
325
- class xl extends Ti {
331
+ class xl extends Ai {
326
332
  constructor(t) {
327
- super(), Di(this, t, null, Nl, Oi, {});
333
+ super(), Mi(this, t, null, Nl, Ti, {});
328
334
  }
329
335
  }
330
336
  function Sl(r) {
@@ -344,16 +350,16 @@ function Sl(r) {
344
350
  }
345
351
  };
346
352
  }
347
- class wl extends Ti {
353
+ class wl extends Ai {
348
354
  constructor(t) {
349
- super(), Di(this, t, null, Sl, Oi, {});
355
+ super(), Mi(this, t, null, Sl, Ti, {});
350
356
  }
351
357
  }
352
358
  function Ll(r) {
353
359
  let t, e, n;
354
360
  return {
355
361
  c() {
356
- t = Ir("svg"), e = Ir("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-edyshv"), B(t, "width", n = r[0] !== "list" ? void 0 : "20"), B(t, "viewBox", "0 0 70 85"), B(t, "fill", "none"), B(t, "class", "svelte-edyshv"), rn(t, "in-map", r[0] !== "list"), rn(t, "list-icon", r[0] === "list");
362
+ t = Ir("svg"), e = Ir("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 = r[0] !== "list" ? void 0 : "20"), B(t, "viewBox", "0 0 70 85"), B(t, "fill", "none"), B(t, "class", "svelte-1k1cmht"), rn(t, "in-map", r[0] !== "list"), rn(t, "list-icon", r[0] === "list");
357
363
  },
358
364
  m(i, o) {
359
365
  Ke(i, t, o), lt(t, e);
@@ -374,9 +380,9 @@ function bl(r, t, e) {
374
380
  "displayIn" in i && e(0, n = i.displayIn);
375
381
  }, [n];
376
382
  }
377
- class ja extends Ti {
383
+ class ja extends Ai {
378
384
  constructor(t) {
379
- super(), Di(this, t, bl, Ll, Oi, { displayIn: 0 });
385
+ super(), Mi(this, t, bl, Ll, Ti, { displayIn: 0 });
380
386
  }
381
387
  }
382
388
  function Pl(r) {
@@ -396,9 +402,9 @@ function Pl(r) {
396
402
  }
397
403
  };
398
404
  }
399
- class Rl extends Ti {
405
+ class Rl extends Ai {
400
406
  constructor(t) {
401
- super(), Di(this, t, null, Pl, Oi, {});
407
+ super(), Mi(this, t, null, Pl, Ti, {});
402
408
  }
403
409
  }
404
410
  function ia(r, t, e) {
@@ -409,10 +415,10 @@ function oa(r) {
409
415
  let t, e;
410
416
  return t = new wl({}), {
411
417
  c() {
412
- Ki(t.$$.fragment);
418
+ Qi(t.$$.fragment);
413
419
  },
414
420
  m(n, i) {
415
- ui(t, n, i), e = !0;
421
+ ci(t, n, i), e = !0;
416
422
  },
417
423
  i(n) {
418
424
  e || (Kt(t.$$.fragment, n), e = !0);
@@ -421,7 +427,7 @@ function oa(r) {
421
427
  be(t.$$.fragment, n), e = !1;
422
428
  },
423
429
  d(n) {
424
- li(t, n);
430
+ fi(t, n);
425
431
  }
426
432
  };
427
433
  }
@@ -429,10 +435,10 @@ function sa(r) {
429
435
  let t, e, n, i, o;
430
436
  return e = new Cl({}), {
431
437
  c() {
432
- t = Qt("button"), Ki(e.$$.fragment), B(t, "type", "button"), B(t, "title", r[8]), B(t, "class", "svelte-1h1zm6d"), rn(t, "active", r[1]);
438
+ t = Qt("button"), Qi(e.$$.fragment), B(t, "type", "button"), B(t, "title", r[8]), B(t, "class", "svelte-1h1zm6d"), rn(t, "active", r[1]);
433
439
  },
434
440
  m(s, a) {
435
- Ke(s, t, a), ui(e, t, null), n = !0, i || (o = ke(t, "click", r[55]), i = !0);
441
+ Ke(s, t, a), ci(e, t, null), n = !0, i || (o = ke(t, "click", r[55]), i = !0);
436
442
  },
437
443
  p(s, a) {
438
444
  (!n || a[0] & 256) && B(t, "title", s[8]), (!n || a[0] & 2) && rn(t, "active", s[1]);
@@ -444,7 +450,7 @@ function sa(r) {
444
450
  be(e.$$.fragment, s), n = !1;
445
451
  },
446
452
  d(s) {
447
- s && Ae(t), li(e), i = !1, o();
453
+ s && Ae(t), fi(e), i = !1, o();
448
454
  }
449
455
  };
450
456
  }
@@ -512,7 +518,7 @@ function Dl(r) {
512
518
  Ke(n, t, i), lt(t, e);
513
519
  },
514
520
  p(n, i) {
515
- i[0] & 32 && Wi(e, n[5]);
521
+ i[0] & 32 && ji(e, n[5]);
516
522
  },
517
523
  i: xt,
518
524
  o: xt,
@@ -522,38 +528,38 @@ function Dl(r) {
522
528
  };
523
529
  }
524
530
  function Tl(r) {
525
- let t, e;
531
+ let t = "", e;
526
532
  return {
527
533
  c() {
528
- t = Qt("div"), e = Vr(r[4]), B(t, "class", "error svelte-1h1zm6d");
534
+ e = Vr(t);
529
535
  },
530
536
  m(n, i) {
531
- Ke(n, t, i), lt(t, e);
532
- },
533
- p(n, i) {
534
- i[0] & 16 && Wi(e, n[4]);
537
+ Ke(n, e, i);
535
538
  },
539
+ p: xt,
536
540
  i: xt,
537
541
  o: xt,
538
542
  d(n) {
539
- n && Ae(t);
543
+ n && Ae(e);
540
544
  }
541
545
  };
542
546
  }
543
547
  function Ml(r) {
544
- let t = "", e;
548
+ let t, e;
545
549
  return {
546
550
  c() {
547
- e = Vr(t);
551
+ t = Qt("div"), e = Vr(r[4]), B(t, "class", "error svelte-1h1zm6d");
548
552
  },
549
553
  m(n, i) {
550
- Ke(n, e, i);
554
+ Ke(n, t, i), lt(t, e);
555
+ },
556
+ p(n, i) {
557
+ i[0] & 16 && ji(e, n[4]);
551
558
  },
552
- p: xt,
553
559
  i: xt,
554
560
  o: xt,
555
561
  d(n) {
556
- n && Ae(e);
562
+ n && Ae(t);
557
563
  }
558
564
  };
559
565
  }
@@ -567,7 +573,7 @@ function aa(r) {
567
573
  Ke(i, t, o), lt(t, n);
568
574
  },
569
575
  p(i, o) {
570
- o[0] & 4096 && e !== (e = i[68].place_type + "") && Wi(n, e);
576
+ o[0] & 4096 && e !== (e = i[68].place_type + "") && ji(n, e);
571
577
  },
572
578
  d(i) {
573
579
  i && Ae(t);
@@ -586,16 +592,16 @@ function ua(r) {
586
592
  }
587
593
  return {
588
594
  c() {
589
- t = Qt("li"), Ki(e.$$.fragment), n = qn(), i = Qt("span"), o = Qt("span"), s = Qt("span"), u = Vr(a), l = qn(), x && x.c(), c = qn(), f = Qt("span"), h = Qt("span"), p = Vr(g), m = qn(), B(s, "class", "svelte-1h1zm6d"), B(o, "class", "svelte-1h1zm6d"), B(i, "class", "svelte-1h1zm6d"), B(h, "class", "svelte-1h1zm6d"), B(f, "class", "svelte-1h1zm6d"), B(t, "tabindex", "0"), B(t, "data-selected", d = r[13] === r[70]), B(t, "class", "svelte-1h1zm6d"), rn(t, "selected", r[13] === r[70]);
595
+ t = Qt("li"), Qi(e.$$.fragment), n = qn(), i = Qt("span"), o = Qt("span"), s = Qt("span"), u = Vr(a), l = qn(), x && x.c(), c = qn(), f = Qt("span"), h = Qt("span"), p = Vr(g), m = qn(), B(s, "class", "svelte-1h1zm6d"), B(o, "class", "svelte-1h1zm6d"), B(i, "class", "svelte-1h1zm6d"), B(h, "class", "svelte-1h1zm6d"), B(f, "class", "svelte-1h1zm6d"), B(t, "tabindex", "0"), B(t, "data-selected", d = r[13] === r[70]), B(t, "class", "svelte-1h1zm6d"), rn(t, "selected", r[13] === r[70]);
590
596
  },
591
597
  m(D, T) {
592
- Ke(D, t, T), ui(e, t, null), lt(t, n), lt(t, i), lt(i, o), lt(o, s), lt(s, u), lt(o, l), x && x.m(o, null), lt(t, c), lt(t, f), lt(f, h), lt(h, p), lt(t, m), y = !0, I || (C = [
598
+ Ke(D, t, T), ci(e, t, null), lt(t, n), lt(t, i), lt(i, o), lt(o, s), lt(s, u), lt(o, l), x && x.m(o, null), lt(t, c), lt(t, f), lt(f, h), lt(h, p), lt(t, m), y = !0, I || (C = [
593
599
  ke(t, "mouseover", b),
594
600
  ke(t, "focus", w)
595
601
  ], I = !0);
596
602
  },
597
603
  p(D, T) {
598
- r = D, (!y || T[0] & 4096) && a !== (a = r[68].place_name.replace(/,.*/, "") + "") && Wi(u, a), r[10] ? x ? x.p(r, T) : (x = aa(r), x.c(), x.m(o, null)) : x && (x.d(1), x = null), (!y || T[0] & 4096) && g !== (g = r[68].place_name.replace(/[^,]*,?\s*/, "") + "") && Wi(p, g), (!y || T[0] & 8192 && d !== (d = r[13] === r[70])) && B(t, "data-selected", d), (!y || T[0] & 8192) && rn(t, "selected", r[13] === r[70]);
604
+ r = D, (!y || T[0] & 4096) && a !== (a = r[68].place_name.replace(/,.*/, "") + "") && ji(u, a), r[10] ? x ? x.p(r, T) : (x = aa(r), x.c(), x.m(o, null)) : x && (x.d(1), x = null), (!y || T[0] & 4096) && g !== (g = r[68].place_name.replace(/[^,]*,?\s*/, "") + "") && ji(p, g), (!y || T[0] & 8192 && d !== (d = r[13] === r[70])) && B(t, "data-selected", d), (!y || T[0] & 8192) && rn(t, "selected", r[13] === r[70]);
599
605
  },
600
606
  i(D) {
601
607
  y || (Kt(e.$$.fragment, D), y = !0);
@@ -604,7 +610,7 @@ function ua(r) {
604
610
  be(e.$$.fragment, D), y = !1;
605
611
  },
606
612
  d(D) {
607
- D && Ae(t), li(e), x && x.d(), I = !1, Dr(C);
613
+ D && Ae(t), fi(e), x && x.d(), I = !1, Dr(C);
608
614
  }
609
615
  };
610
616
  }
@@ -615,14 +621,14 @@ function Al(r) {
615
621
  const D = r[47].default, T = al(D, r, r[46], null), F = [Ml, Tl, Dl, Ol], j = [];
616
622
  function k(O, Y) {
617
623
  var P, X;
618
- return O[14] ? O[16] ? 1 : ((P = O[12]) == null ? void 0 : P.length) === 0 ? 2 : O[14] && ((X = O[12]) != null && X.length) ? 3 : -1 : 0;
624
+ return O[16] ? 0 : O[14] ? ((P = O[12]) == null ? void 0 : P.length) === 0 ? 2 : O[14] && ((X = O[12]) != null && X.length) ? 3 : -1 : 1;
619
625
  }
620
626
  return ~(m = k(r)) && (d = j[m] = F[m](r)), {
621
627
  c() {
622
- t = Qt("form"), e = Qt("div"), n = Qt("button"), Ki(i.$$.fragment), o = qn(), s = Qt("input"), a = qn(), u = Qt("div"), l = Qt("button"), Ki(c.$$.fragment), f = qn(), b && b.c(), h = qn(), w && w.c(), g = qn(), T && T.c(), p = qn(), d && d.c(), B(n, "type", "button"), B(n, "class", "svelte-1h1zm6d"), B(s, "placeholder", r[3]), B(s, "aria-label", r[3]), B(s, "class", "svelte-1h1zm6d"), B(l, "type", "button"), B(l, "title", r[9]), B(l, "class", "svelte-1h1zm6d"), rn(l, "displayable", r[0] !== ""), B(u, "class", "clear-button-container svelte-1h1zm6d"), B(e, "class", "input-group svelte-1h1zm6d"), B(t, "tabindex", "0"), B(t, "class", y = ea(r[2]) + " svelte-1h1zm6d"), rn(t, "can-collapse", r[6] && r[0] === "");
628
+ t = Qt("form"), e = Qt("div"), n = Qt("button"), Qi(i.$$.fragment), o = qn(), s = Qt("input"), a = qn(), u = Qt("div"), l = Qt("button"), Qi(c.$$.fragment), f = qn(), b && b.c(), h = qn(), w && w.c(), g = qn(), T && T.c(), p = qn(), d && d.c(), B(n, "type", "button"), B(n, "class", "svelte-1h1zm6d"), B(s, "placeholder", r[3]), B(s, "aria-label", r[3]), B(s, "class", "svelte-1h1zm6d"), B(l, "type", "button"), B(l, "title", r[9]), B(l, "class", "svelte-1h1zm6d"), rn(l, "displayable", r[0] !== ""), B(u, "class", "clear-button-container svelte-1h1zm6d"), B(e, "class", "input-group svelte-1h1zm6d"), B(t, "tabindex", "0"), B(t, "class", y = ea(r[2]) + " svelte-1h1zm6d"), rn(t, "can-collapse", r[6] && r[0] === "");
623
629
  },
624
630
  m(O, Y) {
625
- Ke(O, t, Y), lt(t, e), lt(e, n), ui(i, n, null), lt(e, o), lt(e, s), r[49](s), na(s, r[0]), lt(e, a), lt(e, u), lt(u, l), ui(c, l, null), lt(u, f), b && b.m(u, null), lt(e, h), w && w.m(e, null), lt(e, g), T && T.m(e, null), lt(t, p), ~m && j[m].m(t, null), I = !0, C || (x = [
631
+ Ke(O, t, Y), lt(t, e), lt(e, n), ci(i, n, null), lt(e, o), lt(e, s), r[49](s), na(s, r[0]), lt(e, a), lt(e, u), lt(u, l), ci(c, l, null), lt(u, f), b && b.m(u, null), lt(e, h), w && w.m(e, null), lt(e, g), T && T.m(e, null), lt(t, p), ~m && j[m].m(t, null), I = !0, C || (x = [
626
632
  ke(n, "click", r[48]),
627
633
  ke(s, "input", r[50]),
628
634
  ke(s, "focus", r[51]),
@@ -658,7 +664,7 @@ function Al(r) {
658
664
  be(i.$$.fragment, O), be(c.$$.fragment, O), be(b), be(w), be(T, O), be(d), I = !1;
659
665
  },
660
666
  d(O) {
661
- O && Ae(t), li(i), r[49](null), li(c), b && b.d(), w && w.d(), T && T.d(O), ~m && j[m].d(), C = !1, Dr(x);
667
+ O && Ae(t), fi(i), r[49](null), fi(c), b && b.d(), w && w.d(), T && T.d(O), ~m && j[m].d(), C = !1, Dr(x);
662
668
  }
663
669
  };
664
670
  }
@@ -667,7 +673,7 @@ function Fl(r, t, e) {
667
673
  return r === n && e ? r : ((r - i) % o + o) % o + i;
668
674
  }
669
675
  function Bl(r, t, e) {
670
- let n, { $$slots: i = {}, $$scope: o } = t, { class: s = void 0 } = t, { mapController: a = void 0 } = t, { apiKey: u } = t, { debounceSearch: l = 200 } = t, { placeholder: c = "Search" } = t, { errorMessage: f = "Searching failed" } = t, { noResultsMessage: h = "No results found" } = t, { proximity: g = void 0 } = t, { bbox: p = void 0 } = t, { trackProximity: m = !0 } = t, { minLength: d = 2 } = t, { language: y = void 0 } = t, { showResultsWhileTyping: I = !0 } = t, { zoom: C = 16 } = t, { flyTo: x = !0 } = t, { collapsed: b = !1 } = t, { clearOnBlur: w = !1 } = t, { enableReverse: D = !1 } = t, { reverseButtonTitle: T = "toggle reverse geocoding" } = t, { clearButtonTitle: F = "clear" } = t, { filter: j = () => !0 } = t, { searchValue: k = "" } = t, { reverseActive: O = D === "always" } = t, { showPlaceType: Y = !1 } = t, { showFullGeometry: P = !0 } = t, { limit: X = void 0 } = t, { fuzzyMatch: ut = !0 } = t, { countries: yt = void 0 } = t, { types: qt = void 0 } = t;
676
+ let n, { $$slots: i = {}, $$scope: o } = t, { class: s = void 0 } = t, { mapController: a = void 0 } = t, { apiKey: u } = t, { debounceSearch: l = 200 } = t, { placeholder: c = "Search" } = t, { errorMessage: f = "Searching failed" } = t, { noResultsMessage: h = "No results found" } = t, { proximity: g = void 0 } = t, { bbox: p = void 0 } = t, { trackProximity: m = !0 } = t, { minLength: d = 2 } = t, { language: y = void 0 } = t, { showResultsWhileTyping: I = !0 } = t, { zoom: C = 16 } = t, { flyTo: x = !0 } = t, { collapsed: b = !1 } = t, { clearOnBlur: w = !1 } = t, { enableReverse: D = !1 } = t, { reverseButtonTitle: T = "toggle reverse geocoding" } = t, { clearButtonTitle: F = "clear" } = t, { filter: j = () => !0 } = t, { searchValue: k = "" } = t, { reverseActive: O = D === "always" } = t, { showPlaceType: Y = !1 } = t, { showFullGeometry: P = !0 } = t, { limit: X = void 0 } = t, { fuzzyMatch: ut = !0 } = t, { country: yt = void 0 } = t, { types: qt = void 0 } = t;
671
677
  function we() {
672
678
  An.focus();
673
679
  }
@@ -679,7 +685,7 @@ function Bl(r, t, e) {
679
685
  An.focus(), An.select();
680
686
  }));
681
687
  }
682
- let Le = !1, J, Mt, it, Qs = "", An, At = -1, gr, _o = [], Fr, si, Eo;
688
+ let Le = !1, J, Mt, it, Qs = "", An, At = -1, gr, Eo = [], Fr, si, Io;
683
689
  const pr = vl();
684
690
  dl(() => {
685
691
  a && (a.setEventHandler(void 0), a.indicateReverse(!1), a.setSelectedMarker(-1), a.setMarkers(void 0, void 0));
@@ -699,11 +705,11 @@ function Bl(r, t, e) {
699
705
  }
700
706
  async function ss(N, { byId: Xt = !1, exact: Fn = !1 } = {}) {
701
707
  e(16, gr = void 0);
702
- const ki = Zs(), Ge = new URLSearchParams();
703
- y && Ge.set("language", Array.isArray(y) ? y.join(",") : y), yt && Ge.set("stack", Array.isArray(yt) ? yt.join(",") : yt), qt && Ge.set("types", qt.join(",")), ki || (p && Ge.set("bbox", p.map((Gr) => Gr.toFixed(6)).join(",")), g && Ge.set("proximity", g.map((Gr) => Gr.toFixed(6)).join(",")), (Fn || !I) && Ge.set("autocomplete", "false"), Ge.set("fuzzyMatch", String(ut))), X !== void 0 && Ge.set("limit", String(X)), Ge.set("key", u);
708
+ const Vi = Zs(), Ge = new URLSearchParams();
709
+ y && Ge.set("language", Array.isArray(y) ? y.join(",") : y), yt && Ge.set("country", Array.isArray(yt) ? yt.join(",") : yt), qt && Ge.set("types", qt.join(",")), Vi || (p && Ge.set("bbox", p.map((Gr) => Gr.toFixed(6)).join(",")), g && Ge.set("proximity", g.map((Gr) => Gr.toFixed(6)).join(",")), (Fn || !I) && Ge.set("autocomplete", "false"), Ge.set("fuzzyMatch", String(ut))), X !== void 0 && Ge.set("limit", String(X)), Ge.set("key", u);
704
710
  const Br = "https://api.maptiler.com/geocoding/" + encodeURIComponent(N) + ".json?" + Ge.toString();
705
711
  if (Br === Qs) {
706
- Xt ? (e(12, J = void 0), e(44, it = _o[0])) : e(12, J = _o);
712
+ Xt ? (e(12, J = void 0), e(44, it = Eo[0])) : e(12, J = Eo);
707
713
  return;
708
714
  }
709
715
  Qs = Br, Fr == null || Fr.abort(), e(17, Fr = new AbortController());
@@ -720,15 +726,15 @@ function Bl(r, t, e) {
720
726
  if (!ve.ok)
721
727
  throw new Error();
722
728
  const ls = await ve.json();
723
- pr("response", { url: Br, featureCollection: ls }), Xt ? (e(12, J = void 0), e(44, it = ls.features[0]), _o = [it]) : (e(12, J = ls.features.filter(j)), _o = J, ki && An.focus());
729
+ pr("response", { url: Br, featureCollection: ls }), Xt ? (e(12, J = void 0), e(44, it = ls.features[0]), Eo = [it]) : (e(12, J = ls.features.filter(j)), Eo = J, Vi && An.focus());
724
730
  }
725
731
  function Xu() {
726
- var Fn, ki, Ge, Br;
732
+ var Fn, Vi, Ge, Br;
727
733
  if (!(Mt != null && Mt.length) || !x)
728
734
  return;
729
735
  const N = [180, 90, -180, -90], Xt = !Mt.some((ve) => !ve.matching_text);
730
736
  for (const ve of Mt)
731
- (Xt || !ve.matching_text) && (N[0] = Math.min(N[0], ((Fn = ve.bbox) == null ? void 0 : Fn[0]) ?? ve.center[0]), N[1] = Math.min(N[1], ((ki = ve.bbox) == null ? void 0 : ki[1]) ?? ve.center[1]), N[2] = Math.max(N[2], ((Ge = ve.bbox) == null ? void 0 : Ge[2]) ?? ve.center[0]), N[3] = Math.max(N[3], ((Br = ve.bbox) == null ? void 0 : Br[3]) ?? ve.center[1]));
737
+ (Xt || !ve.matching_text) && (N[0] = Math.min(N[0], ((Fn = ve.bbox) == null ? void 0 : Fn[0]) ?? ve.center[0]), N[1] = Math.min(N[1], ((Vi = ve.bbox) == null ? void 0 : Vi[1]) ?? ve.center[1]), N[2] = Math.max(N[2], ((Ge = ve.bbox) == null ? void 0 : Ge[2]) ?? ve.center[0]), N[3] = Math.max(N[3], ((Br = ve.bbox) == null ? void 0 : Br[3]) ?? ve.center[1]));
732
738
  a && Mt.length > 0 && (it && N[0] === N[2] && N[1] === N[3] ? a.flyTo(it.center, C) : a.fitBounds(N, 50));
733
739
  }
734
740
  function Yu(N) {
@@ -754,7 +760,7 @@ function Bl(r, t, e) {
754
760
  e(12, J = void 0), e(16, gr = void 0);
755
761
  }
756
762
  function us(N) {
757
- e(44, it = N), e(0, k = N.place_name.replace(/,.*/, "")), e(13, At = -1);
763
+ console.log(N), e(44, it = N), e(0, k = N.place_name), e(13, At = -1);
758
764
  }
759
765
  const Wu = () => An.focus();
760
766
  function ju(N) {
@@ -770,10 +776,10 @@ function Bl(r, t, e) {
770
776
  }, tl = () => e(1, O = !O), el = (N) => e(13, At = N), nl = (N) => us(N), rl = () => e(13, At = -1), il = () => {
771
777
  };
772
778
  return r.$$set = (N) => {
773
- "class" in N && e(2, s = N.class), "mapController" in N && e(23, a = N.mapController), "apiKey" in N && e(24, u = N.apiKey), "debounceSearch" in N && e(25, l = N.debounceSearch), "placeholder" in N && e(3, c = N.placeholder), "errorMessage" in N && e(4, f = N.errorMessage), "noResultsMessage" in N && e(5, h = N.noResultsMessage), "proximity" in N && e(22, g = N.proximity), "bbox" in N && e(26, p = N.bbox), "trackProximity" in N && e(27, m = N.trackProximity), "minLength" in N && e(28, d = N.minLength), "language" in N && e(29, y = N.language), "showResultsWhileTyping" in N && e(30, I = N.showResultsWhileTyping), "zoom" in N && e(31, C = N.zoom), "flyTo" in N && e(32, x = N.flyTo), "collapsed" in N && e(6, b = N.collapsed), "clearOnBlur" in N && e(33, w = N.clearOnBlur), "enableReverse" in N && e(7, D = N.enableReverse), "reverseButtonTitle" in N && e(8, T = N.reverseButtonTitle), "clearButtonTitle" in N && e(9, F = N.clearButtonTitle), "filter" in N && e(34, j = N.filter), "searchValue" in N && e(0, k = N.searchValue), "reverseActive" in N && e(1, O = N.reverseActive), "showPlaceType" in N && e(10, Y = N.showPlaceType), "showFullGeometry" in N && e(35, P = N.showFullGeometry), "limit" in N && e(36, X = N.limit), "fuzzyMatch" in N && e(37, ut = N.fuzzyMatch), "countries" in N && e(38, yt = N.countries), "types" in N && e(39, qt = N.types), "$$scope" in N && e(46, o = N.$$scope);
779
+ "class" in N && e(2, s = N.class), "mapController" in N && e(23, a = N.mapController), "apiKey" in N && e(24, u = N.apiKey), "debounceSearch" in N && e(25, l = N.debounceSearch), "placeholder" in N && e(3, c = N.placeholder), "errorMessage" in N && e(4, f = N.errorMessage), "noResultsMessage" in N && e(5, h = N.noResultsMessage), "proximity" in N && e(22, g = N.proximity), "bbox" in N && e(26, p = N.bbox), "trackProximity" in N && e(27, m = N.trackProximity), "minLength" in N && e(28, d = N.minLength), "language" in N && e(29, y = N.language), "showResultsWhileTyping" in N && e(30, I = N.showResultsWhileTyping), "zoom" in N && e(31, C = N.zoom), "flyTo" in N && e(32, x = N.flyTo), "collapsed" in N && e(6, b = N.collapsed), "clearOnBlur" in N && e(33, w = N.clearOnBlur), "enableReverse" in N && e(7, D = N.enableReverse), "reverseButtonTitle" in N && e(8, T = N.reverseButtonTitle), "clearButtonTitle" in N && e(9, F = N.clearButtonTitle), "filter" in N && e(34, j = N.filter), "searchValue" in N && e(0, k = N.searchValue), "reverseActive" in N && e(1, O = N.reverseActive), "showPlaceType" in N && e(10, Y = N.showPlaceType), "showFullGeometry" in N && e(35, P = N.showFullGeometry), "limit" in N && e(36, X = N.limit), "fuzzyMatch" in N && e(37, ut = N.fuzzyMatch), "country" in N && e(38, yt = N.country), "types" in N && e(39, qt = N.types), "$$scope" in N && e(46, o = N.$$scope);
774
780
  }, r.$$.update = () => {
775
781
  if (r.$$.dirty[0] & 134217728 && (m || e(22, g = void 0)), r.$$.dirty[0] & 2048 | r.$$.dirty[1] & 4 && setTimeout(() => {
776
- e(14, Eo = Le), w && !Le && e(0, k = "");
782
+ e(14, Io = Le), w && !Le && e(0, k = "");
777
783
  }), r.$$.dirty[0] & 4097 && (k || (e(44, it = void 0), e(12, J = void 0), e(16, gr = void 0), e(43, Mt = J))), r.$$.dirty[1] & 8208 && P && it && !it.address && it.geometry.type === "Point" && ss(it.id, { byId: !0 }).catch((N) => e(16, gr = N)), r.$$.dirty[0] & 8388608 | r.$$.dirty[1] & 8195 && a && it && x && (!it.bbox || it.bbox[0] === it.bbox[2] && it.bbox[1] === it.bbox[3] ? a.flyTo(it.center, C) : a.fitBounds(it.bbox, 50), e(12, J = void 0), e(43, Mt = void 0), e(13, At = -1)), r.$$.dirty[0] & 4096 | r.$$.dirty[1] & 4096 && Mt !== J && e(43, Mt = void 0), r.$$.dirty[0] & 8388608 | r.$$.dirty[1] & 12288 && a && a.setMarkers(Mt, it), r.$$.dirty[0] & 1 && e(13, At = -1), r.$$.dirty[0] & 142626818 && a && a.setEventHandler((N) => {
778
784
  switch (N.type) {
779
785
  case "mapClick":
@@ -789,7 +795,7 @@ function Bl(r, t, e) {
789
795
  }
790
796
  break;
791
797
  case "markerMouseEnter":
792
- e(13, At = Eo ? (J == null ? void 0 : J.findIndex((Xt) => Xt.id === N.id)) ?? -1 : -1);
798
+ e(13, At = Io ? (J == null ? void 0 : J.findIndex((Xt) => Xt.id === N.id)) ?? -1 : -1);
793
799
  break;
794
800
  case "markerMouseLeave":
795
801
  e(13, At = -1);
@@ -799,7 +805,7 @@ function Bl(r, t, e) {
799
805
  const N = /^(-?\d+(?:\.\d*)?),(-?\d+(?:\.\d*)?)$/.exec(k);
800
806
  a == null || a.setReverseMarker(N ? [Number(N[1]), Number(N[2])] : void 0);
801
807
  }
802
- r.$$.dirty[1] & 16384 && pr("select", n), r.$$.dirty[1] & 8192 && pr("pick", it), r.$$.dirty[0] & 20480 && pr("optionsVisibilityChange", Eo && !!J), r.$$.dirty[0] & 4096 && pr("featuresListed", J), r.$$.dirty[1] & 4096 && pr("featuresMarked", Mt), r.$$.dirty[0] & 2 && pr("reverseToggle", O), r.$$.dirty[0] & 1 && pr("queryChange", k), r.$$.dirty[0] & 8388610 && a && a.indicateReverse(O);
808
+ r.$$.dirty[1] & 16384 && pr("select", n), r.$$.dirty[1] & 8192 && pr("pick", it), r.$$.dirty[0] & 20480 && pr("optionsVisibilityChange", Io && !!J), r.$$.dirty[0] & 4096 && pr("featuresListed", J), r.$$.dirty[1] & 4096 && pr("featuresMarked", Mt), r.$$.dirty[0] & 2 && pr("reverseToggle", O), r.$$.dirty[0] & 1 && pr("queryChange", k), r.$$.dirty[0] & 8388610 && a && a.indicateReverse(O);
803
809
  }, [
804
810
  k,
805
811
  O,
@@ -815,7 +821,7 @@ function Bl(r, t, e) {
815
821
  Le,
816
822
  J,
817
823
  At,
818
- Eo,
824
+ Io,
819
825
  An,
820
826
  gr,
821
827
  Fr,
@@ -863,14 +869,14 @@ function Bl(r, t, e) {
863
869
  il
864
870
  ];
865
871
  }
866
- let Gl = class extends Ti {
872
+ let Gl = class extends Ai {
867
873
  constructor(t) {
868
- super(), Di(
874
+ super(), Mi(
869
875
  this,
870
876
  t,
871
877
  Bl,
872
878
  Al,
873
- Oi,
879
+ Ti,
874
880
  {
875
881
  class: 2,
876
882
  mapController: 23,
@@ -899,7 +905,7 @@ let Gl = class extends Ti {
899
905
  showFullGeometry: 35,
900
906
  limit: 36,
901
907
  fuzzyMatch: 37,
902
- countries: 38,
908
+ country: 38,
903
909
  types: 39,
904
910
  focus: 40,
905
911
  blur: 41,
@@ -1292,7 +1298,7 @@ function ca(r, t) {
1292
1298
  function Ee(r, t, e) {
1293
1299
  return t && ca(r.prototype, t), e && ca(r, e), r;
1294
1300
  }
1295
- var zi = function(t, e) {
1301
+ var Ui = function(t, e) {
1296
1302
  return t.ll.x <= e.x && e.x <= t.ur.x && t.ll.y <= e.y && e.y <= t.ur.y;
1297
1303
  }, Ns = function(t, e) {
1298
1304
  if (e.ur.x < t.ll.x || t.ur.x < e.ll.x || e.ur.y < t.ll.y || t.ur.y < e.ll.y)
@@ -1347,7 +1353,7 @@ var Yl = mr * mr, xs = function(t, e) {
1347
1353
  return o !== null && xs(n.key, o.key) === 0 ? (this.tree.remove(e), o.key) : e;
1348
1354
  }
1349
1355
  }]), r;
1350
- }(), Qi = new Hl(), Hi = function(t, e) {
1356
+ }(), Ji = new Hl(), Wi = function(t, e) {
1351
1357
  return t.x * e.y - t.y * e.x;
1352
1358
  }, Ka = function(t, e) {
1353
1359
  return t.x * e.x + t.y * e.y;
@@ -1358,7 +1364,7 @@ var Yl = mr * mr, xs = function(t, e) {
1358
1364
  }, o = {
1359
1365
  x: n.x - t.x,
1360
1366
  y: n.y - t.y
1361
- }, s = Hi(i, o);
1367
+ }, s = Wi(i, o);
1362
1368
  return xs(s, 0);
1363
1369
  }, Mo = function(t) {
1364
1370
  return Math.sqrt(Ka(t, t));
@@ -1370,7 +1376,7 @@ var Yl = mr * mr, xs = function(t, e) {
1370
1376
  x: n.x - t.x,
1371
1377
  y: n.y - t.y
1372
1378
  };
1373
- return Hi(o, i) / Mo(o) / Mo(i);
1379
+ return Wi(o, i) / Mo(o) / Mo(i);
1374
1380
  }, jl = function(t, e, n) {
1375
1381
  var i = {
1376
1382
  x: e.x - t.x,
@@ -1399,13 +1405,13 @@ var Yl = mr * mr, xs = function(t, e) {
1399
1405
  return ga(n, i, t.y);
1400
1406
  if (i.y === 0)
1401
1407
  return ga(t, e, n.y);
1402
- var o = Hi(e, i);
1408
+ var o = Wi(e, i);
1403
1409
  if (o == 0)
1404
1410
  return null;
1405
1411
  var s = {
1406
1412
  x: n.x - t.x,
1407
1413
  y: n.y - t.y
1408
- }, a = Hi(s, e) / o, u = Hi(s, i) / o, l = t.x + u * e.x, c = n.x + a * i.x, f = t.y + u * e.y, h = n.y + a * i.y, g = (l + c) / 2, p = (f + h) / 2;
1414
+ }, a = Wi(s, e) / o, u = Wi(s, i) / o, l = t.x + u * e.x, c = n.x + a * i.x, f = t.y + u * e.y, h = n.y + a * i.y, g = (l + c) / 2, p = (f + h) / 2;
1409
1415
  return {
1410
1416
  x: g,
1411
1417
  y: p
@@ -1591,7 +1597,7 @@ var Yl = mr * mr, xs = function(t, e) {
1591
1597
  var n = this.bbox(), i = e.bbox(), o = Ns(n, i);
1592
1598
  if (o === null)
1593
1599
  return null;
1594
- var s = this.leftSE.point, a = this.rightSE.point, u = e.leftSE.point, l = e.rightSE.point, c = zi(n, u) && this.comparePoint(u) === 0, f = zi(i, s) && e.comparePoint(s) === 0, h = zi(n, l) && this.comparePoint(l) === 0, g = zi(i, a) && e.comparePoint(a) === 0;
1600
+ var s = this.leftSE.point, a = this.rightSE.point, u = e.leftSE.point, l = e.rightSE.point, c = Ui(n, u) && this.comparePoint(u) === 0, f = Ui(i, s) && e.comparePoint(s) === 0, h = Ui(n, l) && this.comparePoint(l) === 0, g = Ui(i, a) && e.comparePoint(a) === 0;
1595
1601
  if (f && c)
1596
1602
  return g && !h ? a : !g && h ? l : null;
1597
1603
  if (f)
@@ -1605,7 +1611,7 @@ var Yl = mr * mr, xs = function(t, e) {
1605
1611
  if (h)
1606
1612
  return l;
1607
1613
  var p = Kl(s, this.vector(), u, e.vector());
1608
- return p === null || !zi(o, p) ? null : Qi.round(p.x, p.y);
1614
+ return p === null || !Ui(o, p) ? null : Ji.round(p.x, p.y);
1609
1615
  }
1610
1616
  }, {
1611
1617
  key: "split",
@@ -1758,7 +1764,7 @@ var Yl = mr * mr, xs = function(t, e) {
1758
1764
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
1759
1765
  if (this.poly = e, this.isExterior = n, this.segments = [], typeof t[0][0] != "number" || typeof t[0][1] != "number")
1760
1766
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
1761
- var i = Qi.round(t[0][0], t[0][1]);
1767
+ var i = Ji.round(t[0][0], t[0][1]);
1762
1768
  this.bbox = {
1763
1769
  ll: {
1764
1770
  x: i.x,
@@ -1772,7 +1778,7 @@ var Yl = mr * mr, xs = function(t, e) {
1772
1778
  for (var o = i, s = 1, a = t.length; s < a; s++) {
1773
1779
  if (typeof t[s][0] != "number" || typeof t[s][1] != "number")
1774
1780
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
1775
- var u = Qi.round(t[s][0], t[s][1]);
1781
+ var u = Ji.round(t[s][0], t[s][1]);
1776
1782
  u.x === o.x && u.y === o.y || (this.segments.push(Ao.fromRing(o, u, this)), u.x < this.bbox.ll.x && (this.bbox.ll.x = u.x), u.y < this.bbox.ll.y && (this.bbox.ll.y = u.y), u.x > this.bbox.ur.x && (this.bbox.ur.x = u.x), u.y > this.bbox.ur.y && (this.bbox.ur.y = u.y), o = u);
1777
1783
  }
1778
1784
  (i.x !== o.x || i.y !== o.y) && this.segments.push(Ao.fromRing(o, i, this));
@@ -2076,7 +2082,7 @@ var Yl = mr * mr, xs = function(t, e) {
2076
2082
  return Ee(r, [{
2077
2083
  key: "run",
2078
2084
  value: function(e, n, i) {
2079
- Cn.type = e, Qi.reset();
2085
+ Cn.type = e, Ji.reset();
2080
2086
  for (var o = [new va(n, !0)], s = 0, a = i.length; s < a; s++)
2081
2087
  o.push(new va(i[s], !1));
2082
2088
  if (Cn.numMultiPolys = o.length, Cn.type === "difference")
@@ -2108,7 +2114,7 @@ var Yl = mr * mr, xs = function(t, e) {
2108
2114
  }
2109
2115
  w = m.size, D = m.pop();
2110
2116
  }
2111
- Qi.reset();
2117
+ Ji.reset();
2112
2118
  var P = Zl.factory(b.segments), X = new $l(P);
2113
2119
  return X.getGeom();
2114
2120
  }
@@ -2452,7 +2458,7 @@ nu.MAX_VALUE.get = function() {
2452
2458
  Object.defineProperties(V, nu);
2453
2459
  var Fe = function() {
2454
2460
  }, jo = function() {
2455
- }, ci = function() {
2461
+ }, hi = function() {
2456
2462
  };
2457
2463
  function Be() {
2458
2464
  }
@@ -2590,7 +2596,7 @@ er.prototype.compare = function(t, e) {
2590
2596
  return a;
2591
2597
  };
2592
2598
  er.prototype.interfaces_ = function() {
2593
- return [ci];
2599
+ return [hi];
2594
2600
  };
2595
2601
  er.prototype.getClass = function() {
2596
2602
  return er;
@@ -2598,18 +2604,18 @@ er.prototype.getClass = function() {
2598
2604
  er.compare = function(t, e) {
2599
2605
  return t < e ? -1 : t > e ? 1 : V.isNaN(t) ? V.isNaN(e) ? 0 : -1 : V.isNaN(e) ? 1 : 0;
2600
2606
  };
2601
- var fi = function() {
2607
+ var gi = function() {
2602
2608
  };
2603
- fi.prototype.create = function() {
2609
+ gi.prototype.create = function() {
2604
2610
  };
2605
- fi.prototype.interfaces_ = function() {
2611
+ gi.prototype.interfaces_ = function() {
2606
2612
  return [];
2607
2613
  };
2608
- fi.prototype.getClass = function() {
2609
- return fi;
2614
+ gi.prototype.getClass = function() {
2615
+ return gi;
2610
2616
  };
2611
2617
  var _ = function() {
2612
- }, fo = { INTERIOR: { configurable: !0 }, BOUNDARY: { configurable: !0 }, EXTERIOR: { configurable: !0 }, NONE: { configurable: !0 } };
2618
+ }, ho = { INTERIOR: { configurable: !0 }, BOUNDARY: { configurable: !0 }, EXTERIOR: { configurable: !0 }, NONE: { configurable: !0 } };
2613
2619
  _.prototype.interfaces_ = function() {
2614
2620
  return [];
2615
2621
  };
@@ -2629,19 +2635,19 @@ _.toLocationSymbol = function(t) {
2629
2635
  }
2630
2636
  throw new ft("Unknown location value: " + t);
2631
2637
  };
2632
- fo.INTERIOR.get = function() {
2638
+ ho.INTERIOR.get = function() {
2633
2639
  return 0;
2634
2640
  };
2635
- fo.BOUNDARY.get = function() {
2641
+ ho.BOUNDARY.get = function() {
2636
2642
  return 1;
2637
2643
  };
2638
- fo.EXTERIOR.get = function() {
2644
+ ho.EXTERIOR.get = function() {
2639
2645
  return 2;
2640
2646
  };
2641
- fo.NONE.get = function() {
2647
+ ho.NONE.get = function() {
2642
2648
  return -1;
2643
2649
  };
2644
- Object.defineProperties(_, fo);
2650
+ Object.defineProperties(_, ho);
2645
2651
  var z = function(r, t) {
2646
2652
  return r.interfaces_ && r.interfaces_().indexOf(t) > -1;
2647
2653
  }, Ie = function() {
@@ -2712,12 +2718,12 @@ an.prototype.compareTo = function(t) {
2712
2718
  an.isNaN = function(t) {
2713
2719
  return Number.isNaN(t);
2714
2720
  };
2715
- var Ji = function() {
2721
+ var Zi = function() {
2716
2722
  };
2717
- Ji.isWhitespace = function(t) {
2723
+ Zi.isWhitespace = function(t) {
2718
2724
  return t <= 32 && t >= 0 || t === 127;
2719
2725
  };
2720
- Ji.toUpperCase = function(t) {
2726
+ Zi.toUpperCase = function(t) {
2721
2727
  return t.toUpperCase();
2722
2728
  };
2723
2729
  var E = function r() {
@@ -3043,7 +3049,7 @@ E.sqrt = function(t) {
3043
3049
  return E.valueOf(t).sqrt();
3044
3050
  };
3045
3051
  E.parse = function(t) {
3046
- for (var e = 0, n = t.length; Ji.isWhitespace(t.charAt(e)); )
3052
+ for (var e = 0, n = t.length; Zi.isWhitespace(t.charAt(e)); )
3047
3053
  e++;
3048
3054
  var i = !1;
3049
3055
  if (e < n) {
@@ -3052,7 +3058,7 @@ E.parse = function(t) {
3052
3058
  }
3053
3059
  for (var s = new E(), a = 0, u = 0, l = 0; !(e >= n); ) {
3054
3060
  var c = t.charAt(e);
3055
- if (e++, Ji.isDigit(c)) {
3061
+ if (e++, Zi.isDigit(c)) {
3056
3062
  var f = c - "0";
3057
3063
  s.selfMultiply(E.TEN), s.selfAdd(f), a++;
3058
3064
  continue;
@@ -3183,17 +3189,17 @@ iu.DP_SAFE_EPSILON.get = function() {
3183
3189
  };
3184
3190
  Object.defineProperties(ae, iu);
3185
3191
  var Q = function() {
3186
- }, ho = { X: { configurable: !0 }, Y: { configurable: !0 }, Z: { configurable: !0 }, M: { configurable: !0 } };
3187
- ho.X.get = function() {
3192
+ }, go = { X: { configurable: !0 }, Y: { configurable: !0 }, Z: { configurable: !0 }, M: { configurable: !0 } };
3193
+ go.X.get = function() {
3188
3194
  return 0;
3189
3195
  };
3190
- ho.Y.get = function() {
3196
+ go.Y.get = function() {
3191
3197
  return 1;
3192
3198
  };
3193
- ho.Z.get = function() {
3199
+ go.Z.get = function() {
3194
3200
  return 2;
3195
3201
  };
3196
- ho.M.get = function() {
3202
+ go.M.get = function() {
3197
3203
  return 3;
3198
3204
  };
3199
3205
  Q.prototype.setOrdinate = function(t, e, n) {
@@ -3226,9 +3232,9 @@ Q.prototype.interfaces_ = function() {
3226
3232
  Q.prototype.getClass = function() {
3227
3233
  return Q;
3228
3234
  };
3229
- Object.defineProperties(Q, ho);
3235
+ Object.defineProperties(Q, go);
3230
3236
  var ou = function() {
3231
- }, Mi = function(r) {
3237
+ }, Fi = function(r) {
3232
3238
  function t() {
3233
3239
  r.call(this, "Projective point not representable on the Cartesian plane.");
3234
3240
  }
@@ -3277,13 +3283,13 @@ var ze = function r() {
3277
3283
  ze.prototype.getY = function() {
3278
3284
  var t = this.y / this.w;
3279
3285
  if (V.isNaN(t) || V.isInfinite(t))
3280
- throw new Mi();
3286
+ throw new Fi();
3281
3287
  return t;
3282
3288
  };
3283
3289
  ze.prototype.getX = function() {
3284
3290
  var t = this.x / this.w;
3285
3291
  if (V.isNaN(t) || V.isInfinite(t))
3286
- throw new Mi();
3292
+ throw new Fi();
3287
3293
  return t;
3288
3294
  };
3289
3295
  ze.prototype.getCoordinate = function() {
@@ -3299,7 +3305,7 @@ ze.prototype.getClass = function() {
3299
3305
  ze.intersection = function(t, e, n, i) {
3300
3306
  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;
3301
3307
  if (V.isNaN(p) || V.isInfinite(p) || V.isNaN(m) || V.isInfinite(m))
3302
- throw new Mi();
3308
+ throw new Fi();
3303
3309
  return new v(p, m);
3304
3310
  };
3305
3311
  var M = function r() {
@@ -3520,7 +3526,7 @@ Ko.prototype.read = function(t) {
3520
3526
  var e, n, i;
3521
3527
  t = t.replace(/[\n\r]/g, " ");
3522
3528
  var o = $e.typeStr.exec(t);
3523
- if (t.search("EMPTY") !== -1 && (o = $e.emptyTypeStr.exec(t), o[2] = void 0), o && (n = o[1].toLowerCase(), i = o[2], ai[n] && (e = ai[n].apply(this, [i]))), e === void 0)
3529
+ if (t.search("EMPTY") !== -1 && (o = $e.emptyTypeStr.exec(t), o[2] = void 0), o && (n = o[1].toLowerCase(), i = o[2], li[n] && (e = li[n].apply(this, [i]))), e === void 0)
3524
3530
  throw new Error("Could not parse WKT " + t);
3525
3531
  return e;
3526
3532
  };
@@ -3578,7 +3584,7 @@ var kn = {
3578
3584
  n.push(e.extractGeometry(t._geometries[i]));
3579
3585
  return n.join(",");
3580
3586
  }
3581
- }, ai = {
3587
+ }, li = {
3582
3588
  point: function(t) {
3583
3589
  if (t === void 0)
3584
3590
  return this.geometryFactory.createPoint();
@@ -3593,7 +3599,7 @@ var kn = {
3593
3599
  if (t === void 0)
3594
3600
  return this.geometryFactory.createMultiPoint();
3595
3601
  for (var n, i = t.trim().split(","), o = [], s = 0, a = i.length; s < a; ++s)
3596
- n = i[s].replace($e.trimParens, "$1"), o.push(ai.point.apply(e, [n]));
3602
+ n = i[s].replace($e.trimParens, "$1"), o.push(li.point.apply(e, [n]));
3597
3603
  return this.geometryFactory.createMultiPoint(o);
3598
3604
  },
3599
3605
  linestring: function(t) {
@@ -3615,7 +3621,7 @@ var kn = {
3615
3621
  if (t === void 0)
3616
3622
  return this.geometryFactory.createMultiLineString();
3617
3623
  for (var n, i = t.trim().split($e.parenComma), o = [], s = 0, a = i.length; s < a; ++s)
3618
- n = i[s].replace($e.trimParens, "$1"), o.push(ai.linestring.apply(e, [n]));
3624
+ n = i[s].replace($e.trimParens, "$1"), o.push(li.linestring.apply(e, [n]));
3619
3625
  return this.geometryFactory.createMultiLineString(o);
3620
3626
  },
3621
3627
  polygon: function(t) {
@@ -3623,7 +3629,7 @@ var kn = {
3623
3629
  if (t === void 0)
3624
3630
  return this.geometryFactory.createPolygon();
3625
3631
  for (var n, i, o, s = t.trim().split($e.parenComma), a, u = [], l = 0, c = s.length; l < c; ++l)
3626
- n = s[l].replace($e.trimParens, "$1"), i = ai.linestring.apply(e, [n]), o = e.geometryFactory.createLinearRing(i._points), l === 0 ? a = o : u.push(o);
3632
+ n = s[l].replace($e.trimParens, "$1"), i = li.linestring.apply(e, [n]), o = e.geometryFactory.createLinearRing(i._points), l === 0 ? a = o : u.push(o);
3627
3633
  return this.geometryFactory.createPolygon(a, u);
3628
3634
  },
3629
3635
  multipolygon: function(t) {
@@ -3631,7 +3637,7 @@ var kn = {
3631
3637
  if (t === void 0)
3632
3638
  return this.geometryFactory.createMultiPolygon();
3633
3639
  for (var n, i = t.trim().split($e.doubleParenComma), o = [], s = 0, a = i.length; s < a; ++s)
3634
- n = i[s].replace($e.trimParens, "$1"), o.push(ai.polygon.apply(e, [n]));
3640
+ n = i[s].replace($e.trimParens, "$1"), o.push(li.polygon.apply(e, [n]));
3635
3641
  return this.geometryFactory.createMultiPolygon(o);
3636
3642
  },
3637
3643
  geometrycollection: function(t) {
@@ -3842,7 +3848,7 @@ var Tr = function(r) {
3842
3848
  try {
3843
3849
  a = ze.intersection(n, i, o, s);
3844
3850
  } catch (u) {
3845
- if (u instanceof Mi)
3851
+ if (u instanceof Fi)
3846
3852
  a = t.nearestEndpoint(n, i, o, s);
3847
3853
  else
3848
3854
  throw u;
@@ -4347,76 +4353,76 @@ De.prototype.getClass = function() {
4347
4353
  return De;
4348
4354
  };
4349
4355
  Zn.Mod2BoundaryNodeRule.get = function() {
4350
- return hi;
4356
+ return pi;
4351
4357
  };
4352
4358
  Zn.EndPointBoundaryNodeRule.get = function() {
4353
- return gi;
4359
+ return di;
4354
4360
  };
4355
4361
  Zn.MultiValentEndPointBoundaryNodeRule.get = function() {
4356
- return pi;
4362
+ return vi;
4357
4363
  };
4358
4364
  Zn.MonoValentEndPointBoundaryNodeRule.get = function() {
4359
- return di;
4365
+ return yi;
4360
4366
  };
4361
4367
  Zn.MOD2_BOUNDARY_RULE.get = function() {
4362
- return new hi();
4368
+ return new pi();
4363
4369
  };
4364
4370
  Zn.ENDPOINT_BOUNDARY_RULE.get = function() {
4365
- return new gi();
4371
+ return new di();
4366
4372
  };
4367
4373
  Zn.MULTIVALENT_ENDPOINT_BOUNDARY_RULE.get = function() {
4368
- return new pi();
4374
+ return new vi();
4369
4375
  };
4370
4376
  Zn.MONOVALENT_ENDPOINT_BOUNDARY_RULE.get = function() {
4371
- return new di();
4377
+ return new yi();
4372
4378
  };
4373
4379
  Zn.OGC_SFS_BOUNDARY_RULE.get = function() {
4374
4380
  return De.MOD2_BOUNDARY_RULE;
4375
4381
  };
4376
4382
  Object.defineProperties(De, Zn);
4377
- var hi = function() {
4383
+ var pi = function() {
4378
4384
  };
4379
- hi.prototype.isInBoundary = function(t) {
4385
+ pi.prototype.isInBoundary = function(t) {
4380
4386
  return t % 2 === 1;
4381
4387
  };
4382
- hi.prototype.interfaces_ = function() {
4388
+ pi.prototype.interfaces_ = function() {
4383
4389
  return [De];
4384
4390
  };
4385
- hi.prototype.getClass = function() {
4386
- return hi;
4391
+ pi.prototype.getClass = function() {
4392
+ return pi;
4387
4393
  };
4388
- var gi = function() {
4394
+ var di = function() {
4389
4395
  };
4390
- gi.prototype.isInBoundary = function(t) {
4396
+ di.prototype.isInBoundary = function(t) {
4391
4397
  return t > 0;
4392
4398
  };
4393
- gi.prototype.interfaces_ = function() {
4399
+ di.prototype.interfaces_ = function() {
4394
4400
  return [De];
4395
4401
  };
4396
- gi.prototype.getClass = function() {
4397
- return gi;
4402
+ di.prototype.getClass = function() {
4403
+ return di;
4398
4404
  };
4399
- var pi = function() {
4405
+ var vi = function() {
4400
4406
  };
4401
- pi.prototype.isInBoundary = function(t) {
4407
+ vi.prototype.isInBoundary = function(t) {
4402
4408
  return t > 1;
4403
4409
  };
4404
- pi.prototype.interfaces_ = function() {
4410
+ vi.prototype.interfaces_ = function() {
4405
4411
  return [De];
4406
4412
  };
4407
- pi.prototype.getClass = function() {
4408
- return pi;
4413
+ vi.prototype.getClass = function() {
4414
+ return vi;
4409
4415
  };
4410
- var di = function() {
4416
+ var yi = function() {
4411
4417
  };
4412
- di.prototype.isInBoundary = function(t) {
4418
+ yi.prototype.isInBoundary = function(t) {
4413
4419
  return t === 1;
4414
4420
  };
4415
- di.prototype.interfaces_ = function() {
4421
+ yi.prototype.interfaces_ = function() {
4416
4422
  return [De];
4417
4423
  };
4418
- di.prototype.getClass = function() {
4419
- return di;
4424
+ yi.prototype.getClass = function() {
4425
+ return yi;
4420
4426
  };
4421
4427
  var wt = function() {
4422
4428
  };
@@ -4439,13 +4445,13 @@ function As(r) {
4439
4445
  }
4440
4446
  As.prototype = new Error();
4441
4447
  As.prototype.name = "IndexOutOfBoundsException";
4442
- var Ai = function() {
4448
+ var Bi = function() {
4443
4449
  };
4444
- Ai.prototype.hasNext = function() {
4450
+ Bi.prototype.hasNext = function() {
4445
4451
  };
4446
- Ai.prototype.next = function() {
4452
+ Bi.prototype.next = function() {
4447
4453
  };
4448
- Ai.prototype.remove = function() {
4454
+ Bi.prototype.remove = function() {
4449
4455
  };
4450
4456
  var Ve = function(r) {
4451
4457
  function t() {
@@ -4456,11 +4462,11 @@ var Ve = function(r) {
4456
4462
  }, t.prototype.isEmpty = function() {
4457
4463
  }, t;
4458
4464
  }(wt);
4459
- function Fi(r) {
4465
+ function Gi(r) {
4460
4466
  this.message = r || "";
4461
4467
  }
4462
- Fi.prototype = new Error();
4463
- Fi.prototype.name = "NoSuchElementException";
4468
+ Gi.prototype = new Error();
4469
+ Gi.prototype.name = "NoSuchElementException";
4464
4470
  var L = function(r) {
4465
4471
  function t() {
4466
4472
  r.call(this), this.array_ = [], arguments[0] instanceof wt && this.addAll(arguments[0]);
@@ -4507,7 +4513,7 @@ var L = function(r) {
4507
4513
  }
4508
4514
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.next = function() {
4509
4515
  if (this.position_ === this.arrayList_.size())
4510
- throw new Fi();
4516
+ throw new Gi();
4511
4517
  return this.arrayList_.get(this.position_++);
4512
4518
  }, t.prototype.hasNext = function() {
4513
4519
  return this.position_ < this.arrayList_.size();
@@ -4516,7 +4522,7 @@ var L = function(r) {
4516
4522
  }, t.prototype.remove = function() {
4517
4523
  this.arrayList_.remove(this.arrayList_.get(this.position_));
4518
4524
  }, t;
4519
- }(Ai), go = function(r) {
4525
+ }(Bi), po = function(r) {
4520
4526
  function t() {
4521
4527
  if (r.call(this), arguments.length !== 0) {
4522
4528
  if (arguments.length === 1) {
@@ -4615,10 +4621,10 @@ var L = function(r) {
4615
4621
  }(L), W = function() {
4616
4622
  }, Qo = { ForwardComparator: { configurable: !0 }, BidirectionalComparator: { configurable: !0 }, coordArrayType: { configurable: !0 } };
4617
4623
  Qo.ForwardComparator.get = function() {
4618
- return Zi;
4624
+ return $i;
4619
4625
  };
4620
4626
  Qo.BidirectionalComparator.get = function() {
4621
- return vi;
4627
+ return mi;
4622
4628
  };
4623
4629
  Qo.coordArrayType.get = function() {
4624
4630
  return new Array(0).fill(null);
@@ -4671,7 +4677,7 @@ W.equals = function() {
4671
4677
  }
4672
4678
  };
4673
4679
  W.intersection = function(t, e) {
4674
- for (var n = new go(), i = 0; i < t.length; i++)
4680
+ for (var n = new po(), i = 0; i < t.length; i++)
4675
4681
  e.intersects(t[i]) && n.add(t[i], !0);
4676
4682
  return n.toCoordinateArray();
4677
4683
  };
@@ -4684,7 +4690,7 @@ W.hasRepeatedPoints = function(t) {
4684
4690
  W.removeRepeatedPoints = function(t) {
4685
4691
  if (!W.hasRepeatedPoints(t))
4686
4692
  return t;
4687
- var e = new go(t, !1);
4693
+ var e = new po(t, !1);
4688
4694
  return e.toCoordinateArray();
4689
4695
  };
4690
4696
  W.reverse = function(t) {
@@ -4771,21 +4777,21 @@ W.extract = function(t, e, n) {
4771
4777
  return o;
4772
4778
  };
4773
4779
  Object.defineProperties(W, Qo);
4774
- var Zi = function() {
4780
+ var $i = function() {
4775
4781
  };
4776
- Zi.prototype.compare = function(t, e) {
4782
+ $i.prototype.compare = function(t, e) {
4777
4783
  var n = t, i = e;
4778
4784
  return W.compare(n, i);
4779
4785
  };
4780
- Zi.prototype.interfaces_ = function() {
4781
- return [ci];
4786
+ $i.prototype.interfaces_ = function() {
4787
+ return [hi];
4782
4788
  };
4783
- Zi.prototype.getClass = function() {
4784
- return Zi;
4789
+ $i.prototype.getClass = function() {
4790
+ return $i;
4785
4791
  };
4786
- var vi = function() {
4792
+ var mi = function() {
4787
4793
  };
4788
- vi.prototype.compare = function(t, e) {
4794
+ mi.prototype.compare = function(t, e) {
4789
4795
  var n = t, i = e;
4790
4796
  if (n.length < i.length)
4791
4797
  return -1;
@@ -4796,7 +4802,7 @@ vi.prototype.compare = function(t, e) {
4796
4802
  var o = W.compare(n, i), s = W.isEqualReversed(n, i);
4797
4803
  return s ? 0 : o;
4798
4804
  };
4799
- vi.prototype.OLDcompare = function(t, e) {
4805
+ mi.prototype.OLDcompare = function(t, e) {
4800
4806
  var n = t, i = e;
4801
4807
  if (n.length < i.length)
4802
4808
  return -1;
@@ -4812,11 +4818,11 @@ vi.prototype.OLDcompare = function(t, e) {
4812
4818
  }
4813
4819
  return 0;
4814
4820
  };
4815
- vi.prototype.interfaces_ = function() {
4816
- return [ci];
4821
+ mi.prototype.interfaces_ = function() {
4822
+ return [hi];
4817
4823
  };
4818
- vi.prototype.getClass = function() {
4819
- return vi;
4824
+ mi.prototype.getClass = function() {
4825
+ return mi;
4820
4826
  };
4821
4827
  var ii = function() {
4822
4828
  };
@@ -4836,11 +4842,11 @@ var pc = function(r) {
4836
4842
  }
4837
4843
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
4838
4844
  }(ii);
4839
- function po(r) {
4845
+ function vo(r) {
4840
4846
  this.message = r || "";
4841
4847
  }
4842
- po.prototype = new Error();
4843
- po.prototype.name = "OperationNotSupported";
4848
+ vo.prototype = new Error();
4849
+ vo.prototype.name = "OperationNotSupported";
4844
4850
  function Jo() {
4845
4851
  }
4846
4852
  Jo.prototype = new wt();
@@ -4882,14 +4888,14 @@ var Fs = function(r) {
4882
4888
  }
4883
4889
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.next = function() {
4884
4890
  if (this.position_ === this.hashSet_.size())
4885
- throw new Fi();
4891
+ throw new Gi();
4886
4892
  return this.hashSet_.array_[this.position_++];
4887
4893
  }, t.prototype.hasNext = function() {
4888
4894
  return this.position_ < this.hashSet_.size();
4889
4895
  }, t.prototype.remove = function() {
4890
- throw new po();
4896
+ throw new vo();
4891
4897
  }, t;
4892
- }(Ai), Un = 0, dr = 1;
4898
+ }(Bi), Un = 0, dr = 1;
4893
4899
  function Ia(r) {
4894
4900
  return r === null ? Un : r.color;
4895
4901
  }
@@ -5025,13 +5031,13 @@ Ht.successor = function(r) {
5025
5031
  Ht.prototype.size = function() {
5026
5032
  return this.size_;
5027
5033
  };
5028
- var $i = function() {
5034
+ var to = function() {
5029
5035
  };
5030
- $i.prototype.interfaces_ = function() {
5036
+ to.prototype.interfaces_ = function() {
5031
5037
  return [];
5032
5038
  };
5033
- $i.prototype.getClass = function() {
5034
- return $i;
5039
+ to.prototype.getClass = function() {
5040
+ return to;
5035
5041
  };
5036
5042
  function au() {
5037
5043
  }
@@ -5065,7 +5071,7 @@ un.prototype.addAll = function(r) {
5065
5071
  return !0;
5066
5072
  };
5067
5073
  un.prototype.remove = function(r) {
5068
- throw new po();
5074
+ throw new vo();
5069
5075
  };
5070
5076
  un.prototype.size = function() {
5071
5077
  return this.array_.length;
@@ -5086,14 +5092,14 @@ var Zo = function(r) {
5086
5092
  };
5087
5093
  Zo.prototype.next = function() {
5088
5094
  if (this.position_ === this.treeSet_.size())
5089
- throw new Fi();
5095
+ throw new Gi();
5090
5096
  return this.treeSet_.array_[this.position_++];
5091
5097
  };
5092
5098
  Zo.prototype.hasNext = function() {
5093
5099
  return this.position_ < this.treeSet_.size();
5094
5100
  };
5095
5101
  Zo.prototype.remove = function() {
5096
- throw new po();
5102
+ throw new vo();
5097
5103
  };
5098
5104
  var _r = function() {
5099
5105
  };
@@ -5185,7 +5191,7 @@ Z.toDimensionSymbol = function(t) {
5185
5191
  throw new ft("Unknown dimension value: " + t);
5186
5192
  };
5187
5193
  Z.toDimensionValue = function(t) {
5188
- switch (Ji.toUpperCase(t)) {
5194
+ switch (Zi.toUpperCase(t)) {
5189
5195
  case Z.SYM_FALSE:
5190
5196
  return Z.FALSE;
5191
5197
  case Z.SYM_TRUE:
@@ -5395,7 +5401,7 @@ var ne = function(r) {
5395
5401
  o[s] = i._geometries[s].copy();
5396
5402
  return new t(o, this._factory);
5397
5403
  }, t.prototype.interfaces_ = function() {
5398
- return [$i];
5404
+ return [to];
5399
5405
  }, t.prototype.getClass = function() {
5400
5406
  return t;
5401
5407
  }, e.serialVersionUID.get = function() {
@@ -5743,19 +5749,19 @@ var dt = function(r) {
5743
5749
  }, t.prototype.getPointN = function(i) {
5744
5750
  return this.getFactory().createPoint(this._points.getCoordinate(i));
5745
5751
  }, t.prototype.interfaces_ = function() {
5746
- return [$i];
5752
+ return [to];
5747
5753
  }, t.prototype.getClass = function() {
5748
5754
  return t;
5749
5755
  }, e.serialVersionUID.get = function() {
5750
5756
  return 3110669828065365500;
5751
5757
  }, Object.defineProperties(t, e), t;
5752
- }(G), to = function() {
5758
+ }(G), eo = function() {
5753
5759
  };
5754
- to.prototype.interfaces_ = function() {
5760
+ eo.prototype.interfaces_ = function() {
5755
5761
  return [];
5756
5762
  };
5757
- to.prototype.getClass = function() {
5758
- return to;
5763
+ eo.prototype.getClass = function() {
5764
+ return eo;
5759
5765
  };
5760
5766
  var he = function(r) {
5761
5767
  function t(n, i) {
@@ -5841,7 +5847,7 @@ var he = function(r) {
5841
5847
  }, t.prototype.isSimple = function() {
5842
5848
  return !0;
5843
5849
  }, t.prototype.interfaces_ = function() {
5844
- return [to];
5850
+ return [eo];
5845
5851
  }, t.prototype.getClass = function() {
5846
5852
  return t;
5847
5853
  }, e.serialVersionUID.get = function() {
@@ -6029,7 +6035,7 @@ var Rt = function(r) {
6029
6035
  }, e.serialVersionUID.get = function() {
6030
6036
  return -3494792200821764600;
6031
6037
  }, Object.defineProperties(t, e), t;
6032
- }(G), yi = function(r) {
6038
+ }(G), _i = function(r) {
6033
6039
  function t() {
6034
6040
  r.apply(this, arguments);
6035
6041
  }
@@ -6064,7 +6070,7 @@ var Rt = function(r) {
6064
6070
  o[s] = i._geometries[s].copy();
6065
6071
  return new t(o, this._factory);
6066
6072
  }, t.prototype.interfaces_ = function() {
6067
- return [to];
6073
+ return [eo];
6068
6074
  }, t.prototype.getClass = function() {
6069
6075
  return t;
6070
6076
  }, e.serialVersionUID.get = function() {
@@ -6169,7 +6175,7 @@ Te.prototype.editGeometryCollection = function(t, e) {
6169
6175
  var a = n.edit(i.getGeometryN(s), e);
6170
6176
  a === null || a.isEmpty() || o.add(a);
6171
6177
  }
6172
- return i.getClass() === yi ? this._factory.createMultiPoint(o.toArray([])) : i.getClass() === Nr ? this._factory.createMultiLineString(o.toArray([])) : i.getClass() === Nn ? this._factory.createMultiPolygon(o.toArray([])) : this._factory.createGeometryCollection(o.toArray([]));
6178
+ return i.getClass() === _i ? this._factory.createMultiPoint(o.toArray([])) : i.getClass() === Nr ? this._factory.createMultiLineString(o.toArray([])) : i.getClass() === Nn ? this._factory.createMultiPolygon(o.toArray([])) : this._factory.createGeometryCollection(o.toArray([]));
6173
6179
  };
6174
6180
  Te.prototype.editPolygon = function(t, e) {
6175
6181
  var n = this, i = e.edit(t, this._factory);
@@ -6193,31 +6199,19 @@ Te.prototype.getClass = function() {
6193
6199
  Te.GeometryEditorOperation = function() {
6194
6200
  };
6195
6201
  $o.NoOpGeometryOperation.get = function() {
6196
- return eo;
6202
+ return no;
6197
6203
  };
6198
6204
  $o.CoordinateOperation.get = function() {
6199
- return no;
6205
+ return ro;
6200
6206
  };
6201
6207
  $o.CoordinateSequenceOperation.get = function() {
6202
- return ro;
6208
+ return io;
6203
6209
  };
6204
6210
  Object.defineProperties(Te, $o);
6205
- var eo = function() {
6206
- };
6207
- eo.prototype.edit = function(t, e) {
6208
- return t;
6209
- };
6210
- eo.prototype.interfaces_ = function() {
6211
- return [Te.GeometryEditorOperation];
6212
- };
6213
- eo.prototype.getClass = function() {
6214
- return eo;
6215
- };
6216
6211
  var no = function() {
6217
6212
  };
6218
6213
  no.prototype.edit = function(t, e) {
6219
- var n = this.editCoordinates(t.getCoordinates(), t);
6220
- return n === null ? t : t instanceof wn ? e.createLinearRing(n) : t instanceof dt ? e.createLineString(n) : t instanceof he ? n.length > 0 ? e.createPoint(n[0]) : e.createPoint() : t;
6214
+ return t;
6221
6215
  };
6222
6216
  no.prototype.interfaces_ = function() {
6223
6217
  return [Te.GeometryEditorOperation];
@@ -6228,7 +6222,8 @@ no.prototype.getClass = function() {
6228
6222
  var ro = function() {
6229
6223
  };
6230
6224
  ro.prototype.edit = function(t, e) {
6231
- return t instanceof wn ? e.createLinearRing(this.edit(t.getCoordinateSequence(), t)) : t instanceof dt ? e.createLineString(this.edit(t.getCoordinateSequence(), t)) : t instanceof he ? e.createPoint(this.edit(t.getCoordinateSequence(), t)) : t;
6225
+ var n = this.editCoordinates(t.getCoordinates(), t);
6226
+ return n === null ? t : t instanceof wn ? e.createLinearRing(n) : t instanceof dt ? e.createLineString(n) : t instanceof he ? n.length > 0 ? e.createPoint(n[0]) : e.createPoint() : t;
6232
6227
  };
6233
6228
  ro.prototype.interfaces_ = function() {
6234
6229
  return [Te.GeometryEditorOperation];
@@ -6236,6 +6231,17 @@ ro.prototype.interfaces_ = function() {
6236
6231
  ro.prototype.getClass = function() {
6237
6232
  return ro;
6238
6233
  };
6234
+ var io = function() {
6235
+ };
6236
+ io.prototype.edit = function(t, e) {
6237
+ return t instanceof wn ? e.createLinearRing(this.edit(t.getCoordinateSequence(), t)) : t instanceof dt ? e.createLineString(this.edit(t.getCoordinateSequence(), t)) : t instanceof he ? e.createPoint(this.edit(t.getCoordinateSequence(), t)) : t;
6238
+ };
6239
+ io.prototype.interfaces_ = function() {
6240
+ return [Te.GeometryEditorOperation];
6241
+ };
6242
+ io.prototype.getClass = function() {
6243
+ return io;
6244
+ };
6239
6245
  var mt = function() {
6240
6246
  var t = this;
6241
6247
  if (this._dimension = 3, this._coordinates = null, arguments.length === 1) {
@@ -6375,7 +6381,7 @@ Ln.prototype.create = function() {
6375
6381
  }
6376
6382
  };
6377
6383
  Ln.prototype.interfaces_ = function() {
6378
- return [fi, Be];
6384
+ return [gi, Be];
6379
6385
  };
6380
6386
  Ln.prototype.getClass = function() {
6381
6387
  return Ln;
@@ -6516,7 +6522,7 @@ tt.FIXED = new cn("FIXED");
6516
6522
  tt.FLOATING = new cn("FLOATING");
6517
6523
  tt.FLOATING_SINGLE = new cn("FLOATING SINGLE");
6518
6524
  var H = function r() {
6519
- this._precisionModel = new tt(), this._SRID = 0, this._coordinateSequenceFactory = r.getDefaultCoordinateSequenceFactory(), arguments.length === 0 || (arguments.length === 1 ? z(arguments[0], fi) ? this._coordinateSequenceFactory = arguments[0] : arguments[0] instanceof tt && (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]));
6525
+ this._precisionModel = new tt(), this._SRID = 0, this._coordinateSequenceFactory = r.getDefaultCoordinateSequenceFactory(), arguments.length === 0 || (arguments.length === 1 ? z(arguments[0], gi) ? this._coordinateSequenceFactory = arguments[0] : arguments[0] instanceof tt && (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]));
6520
6526
  }, cu = { serialVersionUID: { configurable: !0 } };
6521
6527
  H.prototype.toGeometry = function(t) {
6522
6528
  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);
@@ -6646,11 +6652,11 @@ H.prototype.createMultiPolygon = function() {
6646
6652
  H.prototype.createMultiPoint = function() {
6647
6653
  var t = this;
6648
6654
  if (arguments.length === 0)
6649
- return new yi(null, this);
6655
+ return new _i(null, this);
6650
6656
  if (arguments.length === 1) {
6651
6657
  if (arguments[0] instanceof Array) {
6652
6658
  var e = arguments[0];
6653
- return new yi(e, this);
6659
+ return new _i(e, this);
6654
6660
  } else if (arguments[0] instanceof Array) {
6655
6661
  var n = arguments[0];
6656
6662
  return this.createMultiPoint(n !== null ? this.getCoordinateSequenceFactory().create(n) : null);
@@ -7684,7 +7690,7 @@ hn.prototype.getClass = function() {
7684
7690
  return hn;
7685
7691
  };
7686
7692
  var rt = function() {
7687
- }, vo = { NE: { configurable: !0 }, NW: { configurable: !0 }, SW: { configurable: !0 }, SE: { configurable: !0 } };
7693
+ }, yo = { NE: { configurable: !0 }, NW: { configurable: !0 }, SW: { configurable: !0 }, SE: { configurable: !0 } };
7688
7694
  rt.prototype.interfaces_ = function() {
7689
7695
  return [];
7690
7696
  };
@@ -7725,19 +7731,19 @@ rt.quadrant = function() {
7725
7731
  return i.x >= n.x ? i.y >= n.y ? rt.NE : rt.SE : i.y >= n.y ? rt.NW : rt.SW;
7726
7732
  }
7727
7733
  };
7728
- vo.NE.get = function() {
7734
+ yo.NE.get = function() {
7729
7735
  return 0;
7730
7736
  };
7731
- vo.NW.get = function() {
7737
+ yo.NW.get = function() {
7732
7738
  return 1;
7733
7739
  };
7734
- vo.SW.get = function() {
7740
+ yo.SW.get = function() {
7735
7741
  return 2;
7736
7742
  };
7737
- vo.SE.get = function() {
7743
+ yo.SE.get = function() {
7738
7744
  return 3;
7739
7745
  };
7740
- Object.defineProperties(rt, vo);
7746
+ Object.defineProperties(rt, yo);
7741
7747
  var Wt = function() {
7742
7748
  if (this._edge = null, this._label = null, this._node = null, this._p0 = null, this._p1 = null, this._dx = null, this._dy = null, this._quadrant = null, arguments.length === 1) {
7743
7749
  var t = arguments[0];
@@ -7884,20 +7890,20 @@ var Ls = function(r) {
7884
7890
  }, t.depthFactor = function(n, i) {
7885
7891
  return n === _.EXTERIOR && i === _.INTERIOR ? 1 : n === _.INTERIOR && i === _.EXTERIOR ? -1 : 0;
7886
7892
  }, t;
7887
- }(Wt), mi = function() {
7893
+ }(Wt), Ei = function() {
7888
7894
  };
7889
- mi.prototype.createNode = function(t) {
7895
+ Ei.prototype.createNode = function(t) {
7890
7896
  return new is(t, null);
7891
7897
  };
7892
- mi.prototype.interfaces_ = function() {
7898
+ Ei.prototype.interfaces_ = function() {
7893
7899
  return [];
7894
7900
  };
7895
- mi.prototype.getClass = function() {
7896
- return mi;
7901
+ Ei.prototype.getClass = function() {
7902
+ return Ei;
7897
7903
  };
7898
7904
  var gt = function() {
7899
7905
  if (this._edges = new L(), this._nodes = null, this._edgeEndList = new L(), arguments.length === 0)
7900
- this._nodes = new hn(new mi());
7906
+ this._nodes = new hn(new Ei());
7901
7907
  else if (arguments.length === 1) {
7902
7908
  var t = arguments[0];
7903
7909
  this._nodes = new hn(t);
@@ -8116,15 +8122,15 @@ ge.prototype.interfaces_ = function() {
8116
8122
  ge.prototype.getClass = function() {
8117
8123
  return ge;
8118
8124
  };
8119
- var _i = function() {
8125
+ var Ii = function() {
8120
8126
  };
8121
- _i.prototype.getBounds = function() {
8127
+ Ii.prototype.getBounds = function() {
8122
8128
  };
8123
- _i.prototype.interfaces_ = function() {
8129
+ Ii.prototype.interfaces_ = function() {
8124
8130
  return [];
8125
8131
  };
8126
- _i.prototype.getClass = function() {
8127
- return _i;
8132
+ Ii.prototype.getClass = function() {
8133
+ return Ii;
8128
8134
  };
8129
8135
  var Xe = function() {
8130
8136
  this._bounds = null, this._item = null;
@@ -8138,7 +8144,7 @@ Xe.prototype.getBounds = function() {
8138
8144
  return this._bounds;
8139
8145
  };
8140
8146
  Xe.prototype.interfaces_ = function() {
8141
- return [_i, Be];
8147
+ return [Ii, Be];
8142
8148
  };
8143
8149
  Xe.prototype.getClass = function() {
8144
8150
  return Xe;
@@ -8231,7 +8237,7 @@ Pt.prototype.getBounds = function() {
8231
8237
  return this._bounds === null && (this._bounds = this.computeBounds()), this._bounds;
8232
8238
  };
8233
8239
  Pt.prototype.interfaces_ = function() {
8234
- return [_i, Be];
8240
+ return [Ii, Be];
8235
8241
  };
8236
8242
  Pt.prototype.getClass = function() {
8237
8243
  return Pt;
@@ -8490,15 +8496,15 @@ os.DEFAULT_NODE_CAPACITY.get = function() {
8490
8496
  };
8491
8497
  Object.defineProperties(Ot, os);
8492
8498
  var Sc = function() {
8493
- }, Ei = function() {
8499
+ }, Ci = function() {
8494
8500
  };
8495
- Ei.prototype.distance = function(t, e) {
8501
+ Ci.prototype.distance = function(t, e) {
8496
8502
  };
8497
- Ei.prototype.interfaces_ = function() {
8503
+ Ci.prototype.interfaces_ = function() {
8498
8504
  return [];
8499
8505
  };
8500
- Ei.prototype.getClass = function() {
8501
- return Ei;
8506
+ Ci.prototype.getClass = function() {
8507
+ return Ci;
8502
8508
  };
8503
8509
  var gu = function(r) {
8504
8510
  function t(n) {
@@ -8571,7 +8577,7 @@ var gu = function(r) {
8571
8577
  return this.createParentBoundablesFromVerticalSlices(u, o);
8572
8578
  }, t.prototype.nearestNeighbour = function() {
8573
8579
  if (arguments.length === 1) {
8574
- if (z(arguments[0], Ei)) {
8580
+ if (z(arguments[0], Ci)) {
8575
8581
  var i = arguments[0], o = new Ct(this.getRoot(), this.getRoot(), i);
8576
8582
  return this.nearestNeighbour(o);
8577
8583
  } else if (arguments[0] instanceof Ct) {
@@ -8579,7 +8585,7 @@ var gu = function(r) {
8579
8585
  return this.nearestNeighbour(s, V.POSITIVE_INFINITY);
8580
8586
  }
8581
8587
  } else if (arguments.length === 2) {
8582
- if (arguments[0] instanceof t && z(arguments[1], Ei)) {
8588
+ if (arguments[0] instanceof t && z(arguments[1], Ci)) {
8583
8589
  var a = arguments[0], u = arguments[1], l = new Ct(this.getRoot(), a.getRoot(), u);
8584
8590
  return this.nearestNeighbour(l);
8585
8591
  } else if (arguments[0] instanceof Ct && typeof arguments[1] == "number") {
@@ -8613,7 +8619,7 @@ var gu = function(r) {
8613
8619
  }, e.xComparator.get = function() {
8614
8620
  return {
8615
8621
  interfaces_: function() {
8616
- return [ci];
8622
+ return [hi];
8617
8623
  },
8618
8624
  compare: function(n, i) {
8619
8625
  return r.compareDoubles(t.centreX(n.getBounds()), t.centreX(i.getBounds()));
@@ -8622,7 +8628,7 @@ var gu = function(r) {
8622
8628
  }, e.yComparator.get = function() {
8623
8629
  return {
8624
8630
  interfaces_: function() {
8625
- return [ci];
8631
+ return [hi];
8626
8632
  },
8627
8633
  compare: function(n, i) {
8628
8634
  return r.compareDoubles(t.centreY(n.getBounds()), t.centreY(i.getBounds()));
@@ -8727,7 +8733,7 @@ var ie = function() {
8727
8733
  this._edge = t;
8728
8734
  };
8729
8735
  ie.prototype.getSplitCoordinates = function() {
8730
- var t = this, e = new go();
8736
+ var t = this, e = new po();
8731
8737
  this.addEndpoints();
8732
8738
  for (var n = this.iterator(), i = n.next(); n.hasNext(); ) {
8733
8739
  var o = n.next();
@@ -8862,15 +8868,15 @@ bn.prototype.interfaces_ = function() {
8862
8868
  bn.prototype.getClass = function() {
8863
8869
  return bn;
8864
8870
  };
8865
- var io = function() {
8871
+ var oo = function() {
8866
8872
  };
8867
- io.prototype.addIntersection = function(t, e) {
8873
+ oo.prototype.addIntersection = function(t, e) {
8868
8874
  };
8869
- io.prototype.interfaces_ = function() {
8875
+ oo.prototype.interfaces_ = function() {
8870
8876
  return [bn];
8871
8877
  };
8872
- io.prototype.getClass = function() {
8873
- return io;
8878
+ oo.prototype.getClass = function() {
8879
+ return oo;
8874
8880
  };
8875
8881
  var It = function() {
8876
8882
  this._nodeList = new ie(this), this._pts = null, this._data = null;
@@ -8930,7 +8936,7 @@ It.prototype.addIntersections = function(t, e, n) {
8930
8936
  i.addIntersection(t, e, n, o);
8931
8937
  };
8932
8938
  It.prototype.interfaces_ = function() {
8933
- return [io];
8939
+ return [oo];
8934
8940
  };
8935
8941
  It.prototype.getClass = function() {
8936
8942
  return It;
@@ -9074,7 +9080,7 @@ A.prototype.lineIntersection = function(t) {
9074
9080
  var e = ze.intersection(this.p0, this.p1, t.p0, t.p1);
9075
9081
  return e;
9076
9082
  } catch (n) {
9077
- if (!(n instanceof Mi))
9083
+ if (!(n instanceof Fi))
9078
9084
  throw n;
9079
9085
  } finally {
9080
9086
  }
@@ -9146,10 +9152,10 @@ pu.serialVersionUID.get = function() {
9146
9152
  return 3252005833466256400;
9147
9153
  };
9148
9154
  Object.defineProperties(A, pu);
9149
- var oo = function() {
9155
+ var so = function() {
9150
9156
  this.tempEnv1 = new M(), this.tempEnv2 = new M(), this._overlapSeg1 = new A(), this._overlapSeg2 = new A();
9151
9157
  };
9152
- oo.prototype.overlap = function() {
9158
+ so.prototype.overlap = function() {
9153
9159
  if (arguments.length !== 2) {
9154
9160
  if (arguments.length === 4) {
9155
9161
  var t = arguments[0], e = arguments[1], n = arguments[2], i = arguments[3];
@@ -9157,11 +9163,11 @@ oo.prototype.overlap = function() {
9157
9163
  }
9158
9164
  }
9159
9165
  };
9160
- oo.prototype.interfaces_ = function() {
9166
+ so.prototype.interfaces_ = function() {
9161
9167
  return [];
9162
9168
  };
9163
- oo.prototype.getClass = function() {
9164
- return oo;
9169
+ so.prototype.getClass = function() {
9170
+ return so;
9165
9171
  };
9166
9172
  var pe = function() {
9167
9173
  this._pts = null, this._start = null, this._end = null, this._env = null, this._context = null, this._id = null;
@@ -9290,7 +9296,7 @@ xr.prototype.interfaces_ = function() {
9290
9296
  xr.prototype.getClass = function() {
9291
9297
  return xr;
9292
9298
  };
9293
- var so = function() {
9299
+ var ao = function() {
9294
9300
  if (this._segInt = null, arguments.length !== 0) {
9295
9301
  if (arguments.length === 1) {
9296
9302
  var t = arguments[0];
@@ -9298,14 +9304,14 @@ var so = function() {
9298
9304
  }
9299
9305
  }
9300
9306
  };
9301
- so.prototype.setSegmentIntersector = function(t) {
9307
+ ao.prototype.setSegmentIntersector = function(t) {
9302
9308
  this._segInt = t;
9303
9309
  };
9304
- so.prototype.interfaces_ = function() {
9310
+ ao.prototype.interfaces_ = function() {
9305
9311
  return [xr];
9306
9312
  };
9307
- so.prototype.getClass = function() {
9308
- return so;
9313
+ ao.prototype.getClass = function() {
9314
+ return ao;
9309
9315
  };
9310
9316
  var Us = function(r) {
9311
9317
  function t(n) {
@@ -9344,7 +9350,7 @@ var Us = function(r) {
9344
9350
  }, e.SegmentOverlapAction.get = function() {
9345
9351
  return xa;
9346
9352
  }, Object.defineProperties(t, e), t;
9347
- }(so), xa = function(r) {
9353
+ }(ao), xa = function(r) {
9348
9354
  function t() {
9349
9355
  r.call(this), this._si = null;
9350
9356
  var e = arguments[0];
@@ -9361,7 +9367,7 @@ var Us = function(r) {
9361
9367
  }, t.prototype.getClass = function() {
9362
9368
  return t;
9363
9369
  }, t;
9364
- }(oo), $ = function r() {
9370
+ }(so), $ = function r() {
9365
9371
  if (this._quadrantSegments = r.DEFAULT_QUADRANT_SEGMENTS, this._endCapStyle = r.CAP_ROUND, this._joinStyle = r.JOIN_ROUND, this._mitreLimit = r.DEFAULT_MITRE_LIMIT, this._isSingleSided = !1, this._simplifyFactor = r.DEFAULT_SIMPLIFY_FACTOR, arguments.length !== 0) {
9366
9372
  if (arguments.length === 1) {
9367
9373
  var t = arguments[0];
@@ -9451,7 +9457,7 @@ $n.DEFAULT_SIMPLIFY_FACTOR.get = function() {
9451
9457
  Object.defineProperties($, $n);
9452
9458
  var vt = function(t) {
9453
9459
  this._distanceTol = null, this._isDeleted = null, this._angleOrientation = R.COUNTERCLOCKWISE, this._inputLine = t || null;
9454
- }, yo = { INIT: { configurable: !0 }, DELETE: { configurable: !0 }, KEEP: { configurable: !0 }, NUM_PTS_TO_CHECK: { configurable: !0 } };
9460
+ }, mo = { INIT: { configurable: !0 }, DELETE: { configurable: !0 }, KEEP: { configurable: !0 }, NUM_PTS_TO_CHECK: { configurable: !0 } };
9455
9461
  vt.prototype.isDeletable = function(t, e, n, i) {
9456
9462
  var o = this._inputLine[t], s = this._inputLine[e], a = this._inputLine[n];
9457
9463
  return !this.isConcave(o, s, a) || !this.isShallow(o, s, a, i) ? !1 : this.isShallowSampled(o, s, t, n, i);
@@ -9501,7 +9507,7 @@ vt.prototype.isShallow = function(t, e, n, i) {
9501
9507
  return o < i;
9502
9508
  };
9503
9509
  vt.prototype.collapseLine = function() {
9504
- for (var t = this, e = new go(), n = 0; n < this._inputLine.length; n++)
9510
+ for (var t = this, e = new po(), n = 0; n < this._inputLine.length; n++)
9505
9511
  t._isDeleted[n] !== vt.DELETE && e.add(t._inputLine[n]);
9506
9512
  return e.toCoordinateArray();
9507
9513
  };
@@ -9515,19 +9521,19 @@ vt.simplify = function(t, e) {
9515
9521
  var n = new vt(t);
9516
9522
  return n.simplify(e);
9517
9523
  };
9518
- yo.INIT.get = function() {
9524
+ mo.INIT.get = function() {
9519
9525
  return 0;
9520
9526
  };
9521
- yo.DELETE.get = function() {
9527
+ mo.DELETE.get = function() {
9522
9528
  return 1;
9523
9529
  };
9524
- yo.KEEP.get = function() {
9530
+ mo.KEEP.get = function() {
9525
9531
  return 1;
9526
9532
  };
9527
- yo.NUM_PTS_TO_CHECK.get = function() {
9533
+ mo.NUM_PTS_TO_CHECK.get = function() {
9528
9534
  return 10;
9529
9535
  };
9530
- Object.defineProperties(vt, yo);
9536
+ Object.defineProperties(vt, mo);
9531
9537
  var Ne = function() {
9532
9538
  this._ptList = null, this._precisionModel = null, this._minimimVertexDistance = 0, this._ptList = new L();
9533
9539
  }, du = { COORDINATE_ARRAY_TYPE: { configurable: !0 } };
@@ -9679,7 +9685,7 @@ var ct = function r() {
9679
9685
  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 A(), this._seg1 = new A(), this._offset0 = new A(), this._offset1 = new A(), this._side = 0, this._hasNarrowConcaveAngle = !1;
9680
9686
  var t = arguments[0], e = arguments[1], n = arguments[2];
9681
9687
  this._precisionModel = t, this._bufParams = e, this._li = new Tr(), this._filletAngleQuantum = Math.PI / 2 / e.getQuadrantSegments(), e.getQuadrantSegments() >= 8 && e.getJoinStyle() === $.JOIN_ROUND && (this._closingSegLengthFactor = r.MAX_CLOSING_SEG_LEN_FACTOR), this.init(n);
9682
- }, 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 } };
9688
+ }, _o = { 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 } };
9683
9689
  ct.prototype.addNextSegment = function(t, e) {
9684
9690
  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))
9685
9691
  return null;
@@ -9718,7 +9724,7 @@ ct.prototype.addMitreJoin = function(t, e, n, i) {
9718
9724
  var a = i <= 0 ? 1 : s.distance(t) / Math.abs(i);
9719
9725
  a > this._bufParams.getMitreLimit() && (o = !1);
9720
9726
  } catch (u) {
9721
- if (u instanceof Mi)
9727
+ if (u instanceof Fi)
9722
9728
  s = new v(0, 0), o = !1;
9723
9729
  else
9724
9730
  throw u;
@@ -9810,19 +9816,19 @@ ct.prototype.interfaces_ = function() {
9810
9816
  ct.prototype.getClass = function() {
9811
9817
  return ct;
9812
9818
  };
9813
- mo.OFFSET_SEGMENT_SEPARATION_FACTOR.get = function() {
9819
+ _o.OFFSET_SEGMENT_SEPARATION_FACTOR.get = function() {
9814
9820
  return 1e-3;
9815
9821
  };
9816
- mo.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR.get = function() {
9822
+ _o.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR.get = function() {
9817
9823
  return 1e-3;
9818
9824
  };
9819
- mo.CURVE_VERTEX_SNAP_DISTANCE_FACTOR.get = function() {
9825
+ _o.CURVE_VERTEX_SNAP_DISTANCE_FACTOR.get = function() {
9820
9826
  return 1e-6;
9821
9827
  };
9822
- mo.MAX_CLOSING_SEG_LEN_FACTOR.get = function() {
9828
+ _o.MAX_CLOSING_SEG_LEN_FACTOR.get = function() {
9823
9829
  return 80;
9824
9830
  };
9825
- Object.defineProperties(ct, mo);
9831
+ Object.defineProperties(ct, _o);
9826
9832
  var ue = function() {
9827
9833
  this._distance = 0, this._precisionModel = null, this._bufParams = null;
9828
9834
  var t = arguments[0], e = arguments[1];
@@ -10154,7 +10160,7 @@ Me.prototype.addPolygonRing = function(t, e, n, i, o) {
10154
10160
  Me.prototype.add = function(t) {
10155
10161
  if (t.isEmpty())
10156
10162
  return null;
10157
- t instanceof Rt ? this.addPolygon(t) : t instanceof dt ? this.addLineString(t) : t instanceof he ? this.addPoint(t) : t instanceof yi ? this.addCollection(t) : t instanceof Nr ? this.addCollection(t) : t instanceof Nn ? this.addCollection(t) : t instanceof ne && this.addCollection(t);
10163
+ t instanceof Rt ? this.addPolygon(t) : t instanceof dt ? this.addLineString(t) : t instanceof he ? this.addPoint(t) : t instanceof _i ? this.addCollection(t) : t instanceof Nr ? this.addCollection(t) : t instanceof Nn ? this.addCollection(t) : t instanceof ne && this.addCollection(t);
10158
10164
  };
10159
10165
  Me.prototype.isErodedCompletely = function(t, e) {
10160
10166
  var n = t.getCoordinates();
@@ -10177,15 +10183,15 @@ Me.prototype.interfaces_ = function() {
10177
10183
  Me.prototype.getClass = function() {
10178
10184
  return Me;
10179
10185
  };
10180
- var Ii = function() {
10186
+ var Ni = function() {
10181
10187
  };
10182
- Ii.prototype.locate = function(t) {
10188
+ Ni.prototype.locate = function(t) {
10183
10189
  };
10184
- Ii.prototype.interfaces_ = function() {
10190
+ Ni.prototype.interfaces_ = function() {
10185
10191
  return [];
10186
10192
  };
10187
- Ii.prototype.getClass = function() {
10188
- return Ii;
10193
+ Ni.prototype.getClass = function() {
10194
+ return Ni;
10189
10195
  };
10190
10196
  var xn = function() {
10191
10197
  this._parent = null, this._atStart = null, this._max = null, this._index = null, this._subcollectionIterator = null;
@@ -10201,7 +10207,7 @@ xn.prototype.next = function() {
10201
10207
  this._subcollectionIterator = null;
10202
10208
  }
10203
10209
  if (this._index >= this._max)
10204
- throw new Fi();
10210
+ throw new Gi();
10205
10211
  var t = this._parent.getGeometryN(this._index++);
10206
10212
  return t instanceof ne ? (this._subcollectionIterator = new xn(t), this._subcollectionIterator.next()) : t;
10207
10213
  };
@@ -10219,7 +10225,7 @@ xn.prototype.hasNext = function() {
10219
10225
  return !(this._index >= this._max);
10220
10226
  };
10221
10227
  xn.prototype.interfaces_ = function() {
10222
- return [Ai];
10228
+ return [Bi];
10223
10229
  };
10224
10230
  xn.prototype.getClass = function() {
10225
10231
  return xn;
@@ -10236,7 +10242,7 @@ _e.prototype.locate = function(t) {
10236
10242
  return _e.locate(t, this._geom);
10237
10243
  };
10238
10244
  _e.prototype.interfaces_ = function() {
10239
- return [Ii];
10245
+ return [Ni];
10240
10246
  };
10241
10247
  _e.prototype.getClass = function() {
10242
10248
  return _e;
@@ -10563,7 +10569,7 @@ var wc = function(r) {
10563
10569
  }, t.prototype.getClass = function() {
10564
10570
  return t;
10565
10571
  }, t;
10566
- }(mi), ar = function r() {
10572
+ }(Ei), ar = function r() {
10567
10573
  this._pts = null, this._orientation = null;
10568
10574
  var t = arguments[0];
10569
10575
  this._pts = t, this._orientation = r.orientation(t);
@@ -11348,10 +11354,10 @@ Eu.SAFE_ENV_EXPANSION_FACTOR.get = function() {
11348
11354
  return 0.75;
11349
11355
  };
11350
11356
  Object.defineProperties(le, Eu);
11351
- var ao = function() {
11357
+ var uo = function() {
11352
11358
  this.tempEnv1 = new M(), this.selectedSegment = new A();
11353
11359
  };
11354
- ao.prototype.select = function() {
11360
+ uo.prototype.select = function() {
11355
11361
  if (arguments.length !== 1) {
11356
11362
  if (arguments.length === 2) {
11357
11363
  var t = arguments[0], e = arguments[1];
@@ -11359,18 +11365,18 @@ ao.prototype.select = function() {
11359
11365
  }
11360
11366
  }
11361
11367
  };
11362
- ao.prototype.interfaces_ = function() {
11368
+ uo.prototype.interfaces_ = function() {
11363
11369
  return [];
11364
11370
  };
11365
- ao.prototype.getClass = function() {
11366
- return ao;
11371
+ uo.prototype.getClass = function() {
11372
+ return uo;
11367
11373
  };
11368
- var Ci = function() {
11374
+ var xi = function() {
11369
11375
  this._index = null;
11370
11376
  var t = arguments[0];
11371
11377
  this._index = t;
11372
11378
  }, Iu = { HotPixelSnapAction: { configurable: !0 } };
11373
- Ci.prototype.snap = function() {
11379
+ xi.prototype.snap = function() {
11374
11380
  if (arguments.length === 1) {
11375
11381
  var t = arguments[0];
11376
11382
  return this.snap(t, null, -1);
@@ -11387,16 +11393,16 @@ Ci.prototype.snap = function() {
11387
11393
  }), s.isNodeAdded();
11388
11394
  }
11389
11395
  };
11390
- Ci.prototype.interfaces_ = function() {
11396
+ xi.prototype.interfaces_ = function() {
11391
11397
  return [];
11392
11398
  };
11393
- Ci.prototype.getClass = function() {
11394
- return Ci;
11399
+ xi.prototype.getClass = function() {
11400
+ return xi;
11395
11401
  };
11396
11402
  Iu.HotPixelSnapAction.get = function() {
11397
11403
  return Cu;
11398
11404
  };
11399
- Object.defineProperties(Ci, Iu);
11405
+ Object.defineProperties(xi, Iu);
11400
11406
  var Cu = function(r) {
11401
11407
  function t() {
11402
11408
  r.call(this), this._hotPixel = null, this._parentEdge = null, this._hotPixelVertexIndex = null, this._isNodeAdded = !1;
@@ -11418,7 +11424,7 @@ var Cu = function(r) {
11418
11424
  }, t.prototype.getClass = function() {
11419
11425
  return t;
11420
11426
  }, t;
11421
- }(ao), Wr = function() {
11427
+ }(uo), Wr = function() {
11422
11428
  this._li = null, this._interiorIntersections = null;
11423
11429
  var t = arguments[0];
11424
11430
  this._li = t, this._interiorIntersections = new L();
@@ -11488,7 +11494,7 @@ Rn.prototype.computeVertexSnaps = function() {
11488
11494
  }
11489
11495
  };
11490
11496
  Rn.prototype.computeNodes = function(t) {
11491
- this._nodedSegStrings = t, this._noder = new Us(), this._pointSnapper = new Ci(this._noder.getIndex()), this.snapRound(t, this._li);
11497
+ this._nodedSegStrings = t, this._noder = new Us(), this._pointSnapper = new xi(this._noder.getIndex()), this.snapRound(t, this._li);
11492
11498
  };
11493
11499
  Rn.prototype.computeIntersectionSnaps = function(t) {
11494
11500
  for (var e = this, n = t.iterator(); n.hasNext(); ) {
@@ -11510,7 +11516,7 @@ var Bt = function() {
11510
11516
  var e = arguments[0], n = arguments[1];
11511
11517
  this._argGeom = e, this._bufParams = n;
11512
11518
  }
11513
- }, Bi = { CAP_ROUND: { configurable: !0 }, CAP_BUTT: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, MAX_PRECISION_DIGITS: { configurable: !0 } };
11519
+ }, ki = { CAP_ROUND: { configurable: !0 }, CAP_BUTT: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, MAX_PRECISION_DIGITS: { configurable: !0 } };
11514
11520
  Bt.prototype.bufferFixedPrecision = function(t) {
11515
11521
  var e = new ur(new Rn(new tt(1)), t.getScale()), n = new ee(this._bufParams);
11516
11522
  n.setWorkingPrecisionModel(t), n.setNoder(e), this._resultGeometry = n.buffer(this._argGeom, this._distance);
@@ -11595,22 +11601,22 @@ Bt.precisionScaleFactor = function(t, e, n) {
11595
11601
  var i = t.getEnvelopeInternal(), o = Ie.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);
11596
11602
  return c;
11597
11603
  };
11598
- Bi.CAP_ROUND.get = function() {
11604
+ ki.CAP_ROUND.get = function() {
11599
11605
  return $.CAP_ROUND;
11600
11606
  };
11601
- Bi.CAP_BUTT.get = function() {
11607
+ ki.CAP_BUTT.get = function() {
11602
11608
  return $.CAP_FLAT;
11603
11609
  };
11604
- Bi.CAP_FLAT.get = function() {
11610
+ ki.CAP_FLAT.get = function() {
11605
11611
  return $.CAP_FLAT;
11606
11612
  };
11607
- Bi.CAP_SQUARE.get = function() {
11613
+ ki.CAP_SQUARE.get = function() {
11608
11614
  return $.CAP_SQUARE;
11609
11615
  };
11610
- Bi.MAX_PRECISION_DIGITS.get = function() {
11616
+ ki.MAX_PRECISION_DIGITS.get = function() {
11611
11617
  return 12;
11612
11618
  };
11613
- Object.defineProperties(Bt, Bi);
11619
+ Object.defineProperties(Bt, ki);
11614
11620
  var Zt = function() {
11615
11621
  this._pt = [new v(), new v()], this._distance = V.NaN, this._isNull = !0;
11616
11622
  };
@@ -12813,7 +12819,7 @@ ce.prototype.transformGeometryCollection = function(t, e) {
12813
12819
  ce.prototype.transform = function(t) {
12814
12820
  if (this._inputGeom = t, this._factory = t.getFactory(), t instanceof he)
12815
12821
  return this.transformPoint(t, null);
12816
- if (t instanceof yi)
12822
+ if (t instanceof _i)
12817
12823
  return this.transformMultiPoint(t, null);
12818
12824
  if (t instanceof wn)
12819
12825
  return this.transformLinearRing(t, null);
@@ -12867,7 +12873,7 @@ On.prototype.findSnapForVertex = function(t, e) {
12867
12873
  return null;
12868
12874
  };
12869
12875
  On.prototype.snapTo = function(t) {
12870
- var e = new go(this._srcPts);
12876
+ var e = new po(this._srcPts);
12871
12877
  this.snapVertices(e, t), this.snapSegments(e, t);
12872
12878
  var n = e.toCoordinateArray();
12873
12879
  return n;
@@ -13200,19 +13206,19 @@ oe.symDifference = function(t, e) {
13200
13206
  oe.difference = function(t, e) {
13201
13207
  return oe.overlayOp(t, e, U.DIFFERENCE);
13202
13208
  };
13203
- var uo = function() {
13209
+ var lo = function() {
13204
13210
  this.mce = null, this.chainIndex = null;
13205
13211
  var t = arguments[0], e = arguments[1];
13206
13212
  this.mce = t, this.chainIndex = e;
13207
13213
  };
13208
- uo.prototype.computeIntersections = function(t, e) {
13214
+ lo.prototype.computeIntersections = function(t, e) {
13209
13215
  this.mce.computeIntersectsForChain(this.chainIndex, t.mce, t.chainIndex, e);
13210
13216
  };
13211
- uo.prototype.interfaces_ = function() {
13217
+ lo.prototype.interfaces_ = function() {
13212
13218
  return [];
13213
13219
  };
13214
- uo.prototype.getClass = function() {
13215
- return uo;
13220
+ lo.prototype.getClass = function() {
13221
+ return lo;
13216
13222
  };
13217
13223
  var de = function r() {
13218
13224
  if (this._label = null, this._xValue = null, this._eventType = null, this._insertEvent = null, this._deleteEventIndex = null, this._obj = null, arguments.length === 2) {
@@ -13366,7 +13372,7 @@ var Lc = function(r) {
13366
13372
  }
13367
13373
  }, t.prototype.addEdge = function(n, i) {
13368
13374
  for (var o = this, s = n.getMonotoneChainEdge(), a = s.getStartIndexes(), u = 0; u < a.length - 1; u++) {
13369
- var l = new uo(s, u), c = new de(i, s.getMinX(u), l);
13375
+ var l = new lo(s, u), c = new de(i, s.getMinX(u), l);
13370
13376
  o.events.add(c), o.events.add(new de(s.getMaxX(u), c));
13371
13377
  }
13372
13378
  }, t.prototype.processOverlaps = function(n, i, o, s) {
@@ -13416,20 +13422,20 @@ Dn.prototype.getClass = function() {
13416
13422
  return Dn;
13417
13423
  };
13418
13424
  wu.NodeComparator.get = function() {
13419
- return lo;
13425
+ return co;
13420
13426
  };
13421
13427
  Object.defineProperties(Dn, wu);
13422
- var lo = function() {
13428
+ var co = function() {
13423
13429
  };
13424
- lo.prototype.compare = function(t, e) {
13430
+ co.prototype.compare = function(t, e) {
13425
13431
  var n = t, i = e, o = (n._min + n._max) / 2, s = (i._min + i._max) / 2;
13426
13432
  return o < s ? -1 : o > s ? 1 : 0;
13427
13433
  };
13428
- lo.prototype.interfaces_ = function() {
13429
- return [ci];
13434
+ co.prototype.interfaces_ = function() {
13435
+ return [hi];
13430
13436
  };
13431
- lo.prototype.getClass = function() {
13432
- return lo;
13437
+ co.prototype.getClass = function() {
13438
+ return co;
13433
13439
  };
13434
13440
  var bc = function(r) {
13435
13441
  function t() {
@@ -13514,59 +13520,59 @@ Tn.prototype.interfaces_ = function() {
13514
13520
  Tn.prototype.getClass = function() {
13515
13521
  return Tn;
13516
13522
  };
13517
- var Ni = function() {
13523
+ var Si = function() {
13518
13524
  this._items = new L();
13519
13525
  };
13520
- Ni.prototype.visitItem = function(t) {
13526
+ Si.prototype.visitItem = function(t) {
13521
13527
  this._items.add(t);
13522
13528
  };
13523
- Ni.prototype.getItems = function() {
13529
+ Si.prototype.getItems = function() {
13524
13530
  return this._items;
13525
13531
  };
13526
- Ni.prototype.interfaces_ = function() {
13532
+ Si.prototype.interfaces_ = function() {
13527
13533
  return [or];
13528
13534
  };
13529
- Ni.prototype.getClass = function() {
13530
- return Ni;
13535
+ Si.prototype.getClass = function() {
13536
+ return Si;
13531
13537
  };
13532
- var xi = function() {
13538
+ var wi = function() {
13533
13539
  this._index = null;
13534
13540
  var t = arguments[0];
13535
13541
  if (!z(t, ir))
13536
13542
  throw new ft("Argument must be Polygonal");
13537
13543
  this._index = new Rr(t);
13538
13544
  }, Ks = { SegmentVisitor: { configurable: !0 }, IntervalIndexedGeometry: { configurable: !0 } };
13539
- xi.prototype.locate = function(t) {
13540
- var e = new on(t), n = new Si(e);
13545
+ wi.prototype.locate = function(t) {
13546
+ var e = new on(t), n = new Li(e);
13541
13547
  return this._index.query(t.y, t.y, n), e.getLocation();
13542
13548
  };
13543
- xi.prototype.interfaces_ = function() {
13544
- return [Ii];
13549
+ wi.prototype.interfaces_ = function() {
13550
+ return [Ni];
13545
13551
  };
13546
- xi.prototype.getClass = function() {
13547
- return xi;
13552
+ wi.prototype.getClass = function() {
13553
+ return wi;
13548
13554
  };
13549
13555
  Ks.SegmentVisitor.get = function() {
13550
- return Si;
13556
+ return Li;
13551
13557
  };
13552
13558
  Ks.IntervalIndexedGeometry.get = function() {
13553
13559
  return Rr;
13554
13560
  };
13555
- Object.defineProperties(xi, Ks);
13556
- var Si = function() {
13561
+ Object.defineProperties(wi, Ks);
13562
+ var Li = function() {
13557
13563
  this._counter = null;
13558
13564
  var t = arguments[0];
13559
13565
  this._counter = t;
13560
13566
  };
13561
- Si.prototype.visitItem = function(t) {
13567
+ Li.prototype.visitItem = function(t) {
13562
13568
  var e = t;
13563
13569
  this._counter.countSegment(e.getCoordinate(0), e.getCoordinate(1));
13564
13570
  };
13565
- Si.prototype.interfaces_ = function() {
13571
+ Li.prototype.interfaces_ = function() {
13566
13572
  return [or];
13567
13573
  };
13568
- Si.prototype.getClass = function() {
13569
- return Si;
13574
+ Li.prototype.getClass = function() {
13575
+ return Li;
13570
13576
  };
13571
13577
  var Rr = function() {
13572
13578
  this._index = new Tn();
@@ -13587,7 +13593,7 @@ Rr.prototype.addLine = function(t) {
13587
13593
  };
13588
13594
  Rr.prototype.query = function() {
13589
13595
  if (arguments.length === 2) {
13590
- var t = arguments[0], e = arguments[1], n = new Ni();
13596
+ var t = arguments[0], e = arguments[1], n = new Si();
13591
13597
  return this._index.query(t, e, n), n.getItems();
13592
13598
  } else if (arguments.length === 3) {
13593
13599
  var i = arguments[0], o = arguments[1], s = arguments[2];
@@ -13600,7 +13606,7 @@ Rr.prototype.interfaces_ = function() {
13600
13606
  Rr.prototype.getClass = function() {
13601
13607
  return Rr;
13602
13608
  };
13603
- var Vi = function(r) {
13609
+ var qi = function(r) {
13604
13610
  function t() {
13605
13611
  if (r.call(this), this._parentGeom = null, this._lineEdgeMap = new lu(), this._boundaryNodeRule = null, this._useBoundaryDeterminationRule = !0, this._argIndex = null, this._boundaryNodes = null, this._hasTooFewPoints = !1, this._invalidPoint = null, this._areaPtLocator = null, this._ptLocator = new We(), arguments.length === 2) {
13606
13612
  var e = arguments[0], n = arguments[1], i = De.OGC_SFS_BOUNDARY_RULE;
@@ -13712,7 +13718,7 @@ var Vi = function(r) {
13712
13718
  this.addLineString(n);
13713
13719
  else if (n instanceof he)
13714
13720
  this.addPoint(n);
13715
- else if (n instanceof yi)
13721
+ else if (n instanceof _i)
13716
13722
  this.addCollection(n);
13717
13723
  else if (n instanceof Nr)
13718
13724
  this.addCollection(n);
@@ -13730,7 +13736,7 @@ var Vi = function(r) {
13730
13736
  i.add(s);
13731
13737
  }
13732
13738
  }, t.prototype.locate = function(n) {
13733
- return z(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);
13739
+ return z(this._parentGeom, ir) && this._parentGeom.getNumGeometries() > 50 ? (this._areaPtLocator === null && (this._areaPtLocator = new wi(this._parentGeom)), this._areaPtLocator.locate(n)) : this._ptLocator.locate(n, this._parentGeom);
13734
13740
  }, t.prototype.findEdge = function() {
13735
13741
  if (arguments.length === 1) {
13736
13742
  var n = arguments[0];
@@ -13744,29 +13750,29 @@ var Vi = function(r) {
13744
13750
  }, t.determineBoundary = function(n, i) {
13745
13751
  return n.isInBoundary(i) ? _.BOUNDARY : _.INTERIOR;
13746
13752
  }, t;
13747
- }(gt), wi = function() {
13753
+ }(gt), bi = function() {
13748
13754
  if (this._li = new Tr(), this._resultPrecisionModel = null, this._arg = null, arguments.length === 1) {
13749
13755
  var t = arguments[0];
13750
- this.setComputationPrecision(t.getPrecisionModel()), this._arg = new Array(1).fill(null), this._arg[0] = new Vi(0, t);
13756
+ this.setComputationPrecision(t.getPrecisionModel()), this._arg = new Array(1).fill(null), this._arg[0] = new qi(0, t);
13751
13757
  } else if (arguments.length === 2) {
13752
13758
  var e = arguments[0], n = arguments[1], i = De.OGC_SFS_BOUNDARY_RULE;
13753
- e.getPrecisionModel().compareTo(n.getPrecisionModel()) >= 0 ? this.setComputationPrecision(e.getPrecisionModel()) : this.setComputationPrecision(n.getPrecisionModel()), this._arg = new Array(2).fill(null), this._arg[0] = new Vi(0, e, i), this._arg[1] = new Vi(1, n, i);
13759
+ e.getPrecisionModel().compareTo(n.getPrecisionModel()) >= 0 ? this.setComputationPrecision(e.getPrecisionModel()) : this.setComputationPrecision(n.getPrecisionModel()), this._arg = new Array(2).fill(null), this._arg[0] = new qi(0, e, i), this._arg[1] = new qi(1, n, i);
13754
13760
  } else if (arguments.length === 3) {
13755
13761
  var o = arguments[0], s = arguments[1], a = arguments[2];
13756
- o.getPrecisionModel().compareTo(s.getPrecisionModel()) >= 0 ? this.setComputationPrecision(o.getPrecisionModel()) : this.setComputationPrecision(s.getPrecisionModel()), this._arg = new Array(2).fill(null), this._arg[0] = new Vi(0, o, a), this._arg[1] = new Vi(1, s, a);
13762
+ o.getPrecisionModel().compareTo(s.getPrecisionModel()) >= 0 ? this.setComputationPrecision(o.getPrecisionModel()) : this.setComputationPrecision(s.getPrecisionModel()), this._arg = new Array(2).fill(null), this._arg[0] = new qi(0, o, a), this._arg[1] = new qi(1, s, a);
13757
13763
  }
13758
13764
  };
13759
- wi.prototype.getArgGeometry = function(t) {
13765
+ bi.prototype.getArgGeometry = function(t) {
13760
13766
  return this._arg[t].getGeometry();
13761
13767
  };
13762
- wi.prototype.setComputationPrecision = function(t) {
13768
+ bi.prototype.setComputationPrecision = function(t) {
13763
13769
  this._resultPrecisionModel = t, this._li.setPrecisionModel(this._resultPrecisionModel);
13764
13770
  };
13765
- wi.prototype.interfaces_ = function() {
13771
+ bi.prototype.interfaces_ = function() {
13766
13772
  return [];
13767
13773
  };
13768
- wi.prototype.getClass = function() {
13769
- return wi;
13774
+ bi.prototype.getClass = function() {
13775
+ return bi;
13770
13776
  };
13771
13777
  var Er = function() {
13772
13778
  };
@@ -13899,7 +13905,7 @@ var U = function(r) {
13899
13905
  }, t.prototype.getClass = function() {
13900
13906
  return t;
13901
13907
  }, t;
13902
- }(wi);
13908
+ }(bi);
13903
13909
  U.overlayOp = function(r, t, e) {
13904
13910
  var n = new U(r, t), i = n.getResultGeometry(e);
13905
13911
  return i;
@@ -14012,7 +14018,7 @@ rr.prototype.getLocation = function(t) {
14012
14018
  return this.isWithinToleranceOfBoundary(t) ? _.BOUNDARY : this._ptLocator.locate(t, this._g);
14013
14019
  };
14014
14020
  rr.prototype.extractLinework = function(t) {
14015
- var e = new Li();
14021
+ var e = new Pi();
14016
14022
  t.apply(e);
14017
14023
  var n = e.getLinework(), i = H.toLineStringArray(n);
14018
14024
  return t.getFactory().createMultiLineString(i);
@@ -14023,13 +14029,13 @@ rr.prototype.interfaces_ = function() {
14023
14029
  rr.prototype.getClass = function() {
14024
14030
  return rr;
14025
14031
  };
14026
- var Li = function() {
14032
+ var Pi = function() {
14027
14033
  this._linework = null, this._linework = new L();
14028
14034
  };
14029
- Li.prototype.getLinework = function() {
14035
+ Pi.prototype.getLinework = function() {
14030
14036
  return this._linework;
14031
14037
  };
14032
- Li.prototype.filter = function(t) {
14038
+ Pi.prototype.filter = function(t) {
14033
14039
  var e = this;
14034
14040
  if (t instanceof Rt) {
14035
14041
  var n = t;
@@ -14038,11 +14044,11 @@ Li.prototype.filter = function(t) {
14038
14044
  e._linework.add(n.getInteriorRingN(i));
14039
14045
  }
14040
14046
  };
14041
- Li.prototype.interfaces_ = function() {
14047
+ Pi.prototype.interfaces_ = function() {
14042
14048
  return [ln];
14043
14049
  };
14044
- Li.prototype.getClass = function() {
14045
- return Li;
14050
+ Pi.prototype.getClass = function() {
14051
+ return Pi;
14046
14052
  };
14047
14053
  var Or = function() {
14048
14054
  this._g = null, this._doLeft = !0, this._doRight = !0;
@@ -14348,14 +14354,14 @@ function Sa(r, t, e) {
14348
14354
  var n = r.s = t + e, i = n - t, o = n - i;
14349
14355
  r.t = t - o + (e - i);
14350
14356
  }
14351
- var pt = 1e-6, ot = Math.PI, Xn = ot / 2, wa = ot / 4, Jn = ot * 2, vr = 180 / ot, tn = ot / 180, te = Math.abs, Rc = Math.atan, bi = Math.atan2, Lt = Math.cos, bt = Math.sin, Gi = Math.sqrt;
14357
+ var pt = 1e-6, ot = Math.PI, Xn = ot / 2, wa = ot / 4, Jn = ot * 2, vr = 180 / ot, tn = ot / 180, te = Math.abs, Rc = Math.atan, Ri = Math.atan2, Lt = Math.cos, bt = Math.sin, zi = Math.sqrt;
14352
14358
  function Pu(r) {
14353
14359
  return r > 1 ? 0 : r < -1 ? ot : Math.acos(r);
14354
14360
  }
14355
14361
  function ti(r) {
14356
14362
  return r > 1 ? Xn : r < -1 ? -Xn : Math.asin(r);
14357
14363
  }
14358
- function qi() {
14364
+ function Xi() {
14359
14365
  }
14360
14366
  function qo(r, t) {
14361
14367
  r && ba.hasOwnProperty(r.type) && ba[r.type](r, t);
@@ -14416,9 +14422,9 @@ function Oc(r, t) {
14416
14422
  Mr();
14417
14423
  Mr();
14418
14424
  function Ps(r) {
14419
- return [bi(r[1], r[0]), ti(r[2])];
14425
+ return [Ri(r[1], r[0]), ti(r[2])];
14420
14426
  }
14421
- function Pi(r) {
14427
+ function Oi(r) {
14422
14428
  var t = r[0], e = r[1], n = Lt(e);
14423
14429
  return [n * Lt(t), n * bt(t), bt(e)];
14424
14430
  }
@@ -14435,7 +14441,7 @@ function So(r, t) {
14435
14441
  return [r[0] * t, r[1] * t, r[2] * t];
14436
14442
  }
14437
14443
  function Rs(r) {
14438
- var t = Gi(r[0] * r[0] + r[1] * r[1] + r[2] * r[2]);
14444
+ var t = zi(r[0] * r[0] + r[1] * r[1] + r[2] * r[2]);
14439
14445
  r[0] /= t, r[1] /= t, r[2] /= t;
14440
14446
  }
14441
14447
  Mr();
@@ -14468,14 +14474,14 @@ function Da(r, t) {
14468
14474
  function s(a, u) {
14469
14475
  var l = Lt(u), c = Lt(a) * l, f = bt(a) * l, h = bt(u), g = h * e + c * n;
14470
14476
  return [
14471
- bi(f * i - g * o, c * e - h * n),
14477
+ Ri(f * i - g * o, c * e - h * n),
14472
14478
  ti(g * i + f * o)
14473
14479
  ];
14474
14480
  }
14475
14481
  return s.invert = function(a, u) {
14476
14482
  var l = Lt(u), c = Lt(a) * l, f = bt(a) * l, h = bt(u), g = h * i - f * o;
14477
14483
  return [
14478
- bi(f * i + h * o, c * e + g * n),
14484
+ Ri(f * i + h * o, c * e + g * n),
14479
14485
  ti(g * e - c * n)
14480
14486
  ];
14481
14487
  }, s;
@@ -14489,7 +14495,7 @@ function Tc(r, t, e, n, i, o) {
14489
14495
  }
14490
14496
  }
14491
14497
  function Ta(r, t) {
14492
- t = Pi(t), t[0] -= r, Rs(t);
14498
+ t = Oi(t), t[0] -= r, Rs(t);
14493
14499
  var e = Pu(-t[1]);
14494
14500
  return ((-t[2] < 0 ? -e : e) + Jn - pt) % Jn;
14495
14501
  }
@@ -14502,7 +14508,7 @@ function Ou() {
14502
14508
  lineStart: function() {
14503
14509
  r.push(t = []);
14504
14510
  },
14505
- lineEnd: qi,
14511
+ lineEnd: Xi,
14506
14512
  rejoin: function() {
14507
14513
  r.length > 1 && r.push(r.pop().concat(r.shift()));
14508
14514
  },
@@ -14651,7 +14657,7 @@ function Mu(r) {
14651
14657
  o[--i] = s[e];
14652
14658
  return o;
14653
14659
  }
14654
- var Xi = 1e9, Lo = -Xi;
14660
+ var Yi = 1e9, Lo = -Yi;
14655
14661
  function Bc(r, t, e, n) {
14656
14662
  function i(l, c) {
14657
14663
  return r <= l && l <= e && t <= c && c <= n;
@@ -14712,7 +14718,7 @@ function Bc(r, t, e, n) {
14712
14718
  else if (yt && x)
14713
14719
  c.point(X, ut);
14714
14720
  else {
14715
- var qt = [I = Math.max(Lo, Math.min(Xi, I)), C = Math.max(Lo, Math.min(Xi, C))], we = [X = Math.max(Lo, Math.min(Xi, X)), ut = Math.max(Lo, Math.min(Xi, ut))];
14721
+ var qt = [I = Math.max(Lo, Math.min(Yi, I)), C = Math.max(Lo, Math.min(Yi, C))], we = [X = Math.max(Lo, Math.min(Yi, X)), ut = Math.max(Lo, Math.min(Yi, ut))];
14716
14722
  Mc(qt, we, r, t, e, n) ? (x || (c.lineStart(), c.point(qt[0], qt[1])), c.point(we[0], we[1]), yt || c.lineEnd(), w = !1) : yt && (c.lineStart(), c.point(X, ut), w = !1);
14717
14723
  }
14718
14724
  I = X, C = ut, x = yt;
@@ -14728,8 +14734,8 @@ function Gc(r, t) {
14728
14734
  if (c = (l = r[a]).length)
14729
14735
  for (var l, c, f = l[c - 1], h = f[0], g = f[1] / 2 + wa, p = bt(g), m = Lt(g), d = 0; d < c; ++d, h = I, p = x, m = b, f = y) {
14730
14736
  var y = l[d], I = y[0], C = y[1] / 2 + wa, x = bt(C), b = Lt(C), w = I - h, D = w >= 0 ? 1 : -1, T = D * w, F = T > ot, j = p * x;
14731
- if (ds.add(bi(j * D * bt(T), m * b + j * Lt(T))), o += F ? w + D * Jn : w, F ^ h >= e ^ I >= e) {
14732
- var k = Xo(Pi(f), Pi(y));
14737
+ if (ds.add(Ri(j * D * bt(T), m * b + j * Lt(T))), o += F ? w + D * Jn : w, F ^ h >= e ^ I >= e) {
14738
+ var k = Xo(Oi(f), Oi(y));
14733
14739
  Rs(k);
14734
14740
  var O = Xo(i, k);
14735
14741
  Rs(O);
@@ -14745,19 +14751,19 @@ function Aa(r) {
14745
14751
  }
14746
14752
  Mr();
14747
14753
  Mr();
14748
- var Ri = 1 / 0, Yo = Ri, co = -Ri, Ho = co, Fa = {
14754
+ var Di = 1 / 0, Yo = Di, fo = -Di, Ho = fo, Fa = {
14749
14755
  point: kc,
14750
- lineStart: qi,
14751
- lineEnd: qi,
14752
- polygonStart: qi,
14753
- polygonEnd: qi,
14756
+ lineStart: Xi,
14757
+ lineEnd: Xi,
14758
+ polygonStart: Xi,
14759
+ polygonEnd: Xi,
14754
14760
  result: function() {
14755
- var r = [[Ri, Yo], [co, Ho]];
14756
- return co = Ho = -(Yo = Ri = 1 / 0), r;
14761
+ var r = [[Di, Yo], [fo, Ho]];
14762
+ return fo = Ho = -(Yo = Di = 1 / 0), r;
14757
14763
  }
14758
14764
  };
14759
14765
  function kc(r, t) {
14760
- r < Ri && (Ri = r), r > co && (co = r), t < Yo && (Yo = t), t > Ho && (Ho = t);
14766
+ r < Di && (Di = r), r > fo && (fo = r), t < Yo && (Yo = t), t > Ho && (Ho = t);
14761
14767
  }
14762
14768
  Mr();
14763
14769
  function Au(r, t, e, n) {
@@ -14897,14 +14903,14 @@ function Yc(r, t) {
14897
14903
  };
14898
14904
  }
14899
14905
  function u(c, f, h) {
14900
- var g = Pi(c), p = Pi(f), m = [1, 0, 0], d = Xo(g, p), y = xo(d, d), I = d[0], C = y - I * I;
14906
+ var g = Oi(c), p = Oi(f), m = [1, 0, 0], d = Xo(g, p), y = xo(d, d), I = d[0], C = y - I * I;
14901
14907
  if (!C)
14902
14908
  return !h && c;
14903
14909
  var x = e * y / C, b = -e * I / C, w = Xo(m, d), D = So(m, x), T = So(d, b);
14904
14910
  ps(D, T);
14905
14911
  var F = w, j = xo(D, F), k = xo(F, F), O = j * j - k * (xo(D, D) - 1);
14906
14912
  if (!(O < 0)) {
14907
- var Y = Gi(O), P = So(F, (-j - Y) / k);
14913
+ var Y = zi(O), P = So(F, (-j - Y) / k);
14908
14914
  if (ps(P, D), P = Ps(P), !h)
14909
14915
  return P;
14910
14916
  var X = c[0], ut = f[0], yt = c[1], qt = f[1], we;
@@ -14977,7 +14983,7 @@ function Kc(r, t) {
14977
14983
  function e(n, i, o, s, a, u, l, c, f, h, g, p, m, d) {
14978
14984
  var y = l - n, I = c - i, C = y * y + I * I;
14979
14985
  if (C > 4 * t && m--) {
14980
- var x = s + h, b = a + g, w = u + p, D = Gi(x * x + b * b + w * w), T = ti(w /= D), F = te(te(w) - 1) < pt || te(o - f) < pt ? (o + f) / 2 : bi(b, x), j = r(F, T), k = j[0], O = j[1], Y = k - n, P = O - i, X = I * Y - y * P;
14986
+ var x = s + h, b = a + g, w = u + p, D = zi(x * x + b * b + w * w), T = ti(w /= D), F = te(te(w) - 1) < pt || te(o - f) < pt ? (o + f) / 2 : Ri(b, x), j = r(F, T), k = j[0], O = j[1], Y = k - n, P = O - i, X = I * Y - y * P;
14981
14987
  (X * X / C > t || te((y * Y + I * P) / C - 0.5) > 0.3 || s * h + a * g + u * p < Wc) && (e(n, i, o, s, a, u, k, O, F, x /= D, b /= D, w, m, d), d.point(k, O), e(k, O, F, x, b, w, l, c, f, h, g, p, m, d));
14982
14988
  }
14983
14989
  }
@@ -15000,7 +15006,7 @@ function Kc(r, t) {
15000
15006
  f = NaN, d.point = C, n.lineStart();
15001
15007
  }
15002
15008
  function C(T, F) {
15003
- var j = Pi([T, F]), k = r(T, F);
15009
+ var j = Oi([T, F]), k = r(T, F);
15004
15010
  e(f, h, c, g, p, m, f = k[0], h = k[1], c = T, g = j[0], p = j[1], m = j[2], Ga, n), n.point(f, h);
15005
15011
  }
15006
15012
  function x() {
@@ -15054,7 +15060,7 @@ function Zc(r) {
15054
15060
  }, F.rotate = function(P) {
15055
15061
  return arguments.length ? (l = P[0] % 360 * tn, c = P[1] % 360 * tn, f = P.length > 2 ? P[2] % 360 * tn : 0, O()) : [l * vr, c * vr, f * vr];
15056
15062
  }, F.precision = function(P) {
15057
- return arguments.length ? (w = ka(k, b = P * P), Y()) : Gi(b);
15063
+ return arguments.length ? (w = ka(k, b = P * P), Y()) : zi(b);
15058
15064
  }, F.fitExtent = function(P, X) {
15059
15065
  return Bu(F, P, X);
15060
15066
  }, F.fitSize = function(P, X) {
@@ -15083,15 +15089,15 @@ function Gu(r) {
15083
15089
  }
15084
15090
  function ku(r) {
15085
15091
  return function(t, e) {
15086
- var n = Gi(t * t + e * e), i = r(n), o = bt(i), s = Lt(i);
15092
+ var n = zi(t * t + e * e), i = r(n), o = bt(i), s = Lt(i);
15087
15093
  return [
15088
- bi(t * o, n * s),
15094
+ Ri(t * o, n * s),
15089
15095
  ti(n && e * o / n)
15090
15096
  ];
15091
15097
  };
15092
15098
  }
15093
15099
  var $c = Gu(function(r) {
15094
- return Gi(2 / (1 + r));
15100
+ return zi(2 / (1 + r));
15095
15101
  });
15096
15102
  $c.invert = ku(function(r) {
15097
15103
  return 2 * ti(r / 2);
@@ -15247,7 +15253,9 @@ function rf(r, t = !0, e = !0, n = {}, i = {}, o = (s) => {
15247
15253
  icon: new tr.DivIcon({
15248
15254
  html: I,
15249
15255
  className: "",
15250
- iconAnchor: [12, 26]
15256
+ iconAnchor: [12, 26],
15257
+ iconSize: [25, 30],
15258
+ tooltipAnchor: [1, -24]
15251
15259
  })
15252
15260
  });
15253
15261
  }
@@ -15327,7 +15335,9 @@ function rf(r, t = !0, e = !0, n = {}, i = {}, o = (s) => {
15327
15335
  C.center[1],
15328
15336
  C.center[0]
15329
15337
  ], b = typeof e == "object" ? new tr.Marker(x, e) : p(x, !0);
15330
- b.addTo(r);
15338
+ b.addTo(r).bindTooltip(C.place_name.replace(/,.*/, ""), {
15339
+ direction: "top"
15340
+ });
15331
15341
  const w = b.getElement();
15332
15342
  w && (w.addEventListener("click", (D) => {
15333
15343
  D.stopPropagation(), s == null || s({ type: "markerClick", id: C.id });
@@ -15350,7 +15360,7 @@ class of extends tr.Control {
15350
15360
  super();
15351
15361
  cs(this, En, void 0);
15352
15362
  cs(this, zr, void 0);
15353
- Io(this, zr, e);
15363
+ Co(this, zr, e);
15354
15364
  }
15355
15365
  onAdd(e) {
15356
15366
  const n = document.createElement("div");
@@ -15369,7 +15379,7 @@ class of extends tr.Control {
15369
15379
  l,
15370
15380
  a
15371
15381
  );
15372
- Io(this, En, new Gl({
15382
+ Co(this, En, new Gl({
15373
15383
  target: n,
15374
15384
  props: {
15375
15385
  mapController: c,
@@ -15395,7 +15405,7 @@ class of extends tr.Control {
15395
15405
  }
15396
15406
  setOptions(e) {
15397
15407
  var u;
15398
- Io(this, zr, e);
15408
+ Co(this, zr, e);
15399
15409
  const {
15400
15410
  marker: n,
15401
15411
  showResultMarkers: i,