@maptiler/geocoding-control 1.4.2-dev.1 → 1.4.2-dev.2

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/openlayers.js CHANGED
@@ -2,15 +2,15 @@ var hn = Object.defineProperty;
2
2
  var Zt = (n) => {
3
3
  throw TypeError(n);
4
4
  };
5
- var mn = (n, e, t) => e in n ? hn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
6
- var ne = (n, e, t) => mn(n, typeof e != "symbol" ? e + "" : e, t), Qt = (n, e, t) => e.has(n) || Zt("Cannot " + t);
5
+ var gn = (n, e, t) => e in n ? hn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
6
+ var ie = (n, e, t) => gn(n, typeof e != "symbol" ? e + "" : e, t), Qt = (n, e, t) => e.has(n) || Zt("Cannot " + t);
7
7
  var se = (n, e, t) => (Qt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Lt = (n, e, t) => e.has(n) ? Zt("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), tt = (n, e, t, i) => (Qt(n, e, "write to private field"), i ? i.call(n, t) : e.set(n, t), t);
8
- import { Control as gn } from "ol/control";
8
+ import { Control as mn } from "ol/control";
9
9
  import xe from "ol/events/Event";
10
10
  import { Feature as fe } from "ol";
11
11
  import { Point as St, Polygon as Vt, MultiPolygon as Ht, GeometryCollection as yn, LineString as Yt, MultiLineString as Xt } from "ol/geom";
12
12
  import pn from "ol/layer/Vector";
13
- import { fromLonLat as it, transformExtent as bn, toLonLat as Kt, getUserProjection as vn } from "ol/proj";
13
+ import { fromLonLat as it, transformExtent as vn, toLonLat as Kt, getUserProjection as bn } from "ol/proj";
14
14
  import wn from "ol/source/Vector";
15
15
  import Jt from "ol/style/Fill";
16
16
  import _n from "ol/style/Icon";
@@ -38,7 +38,7 @@ function ye(n) {
38
38
  function Wi(n) {
39
39
  return typeof n == "function";
40
40
  }
41
- function Pe(n, e) {
41
+ function Ne(n, e) {
42
42
  return n != n ? e == e : n !== e || n && typeof n == "object" || typeof n == "function";
43
43
  }
44
44
  let nt;
@@ -93,7 +93,7 @@ function ti(n) {
93
93
  function R(n, e) {
94
94
  n.appendChild(e);
95
95
  }
96
- function q(n, e, t) {
96
+ function j(n, e, t) {
97
97
  n.insertBefore(e, t || null);
98
98
  }
99
99
  function B(n) {
@@ -122,32 +122,32 @@ function Tn(n) {
122
122
  return e.preventDefault(), n.call(this, e);
123
123
  };
124
124
  }
125
- function b(n, e, t) {
125
+ function v(n, e, t) {
126
126
  t == null ? n.removeAttribute(e) : n.getAttribute(e) !== t && n.setAttribute(e, t);
127
127
  }
128
128
  function Rn(n) {
129
129
  return Array.from(n.childNodes);
130
130
  }
131
- function Ze(n, e) {
131
+ function qe(n, e) {
132
132
  e = "" + e, n.data !== e && (n.data = /** @type {string} */
133
133
  e);
134
134
  }
135
135
  function ii(n, e) {
136
136
  n.value = e ?? "";
137
137
  }
138
- function ve(n, e, t) {
138
+ function be(n, e, t) {
139
139
  n.classList.toggle(e, !!t);
140
140
  }
141
141
  function In(n, e, { bubbles: t = !1, cancelable: i = !1 } = {}) {
142
142
  return new CustomEvent(n, { detail: e, bubbles: t, cancelable: i });
143
143
  }
144
- let Qe;
144
+ let Ze;
145
145
  function je(n) {
146
- Qe = n;
146
+ Ze = n;
147
147
  }
148
148
  function Fi() {
149
- if (!Qe) throw new Error("Function called outside component initialization");
150
- return Qe;
149
+ if (!Ze) throw new Error("Function called outside component initialization");
150
+ return Ze;
151
151
  }
152
152
  function On(n) {
153
153
  Fi().$$.on_destroy.push(n);
@@ -174,38 +174,38 @@ function ni(n, e) {
174
174
  const t = n.$$.callbacks[e.type];
175
175
  t && t.slice().forEach((i) => i.call(this, e));
176
176
  }
177
- const Be = [], Ct = [];
178
- let De = [];
177
+ const Fe = [], Ct = [];
178
+ let Be = [];
179
179
  const ri = [], An = /* @__PURE__ */ Promise.resolve();
180
180
  let Nt = !1;
181
181
  function Fn() {
182
182
  Nt || (Nt = !0, An.then(Bi));
183
183
  }
184
184
  function Pt(n) {
185
- De.push(n);
185
+ Be.push(n);
186
186
  }
187
187
  const xt = /* @__PURE__ */ new Set();
188
- let Ae = 0;
188
+ let We = 0;
189
189
  function Bi() {
190
- if (Ae !== 0)
190
+ if (We !== 0)
191
191
  return;
192
- const n = Qe;
192
+ const n = Ze;
193
193
  do {
194
194
  try {
195
- for (; Ae < Be.length; ) {
196
- const e = Be[Ae];
197
- Ae++, je(e), Bn(e.$$);
195
+ for (; We < Fe.length; ) {
196
+ const e = Fe[We];
197
+ We++, je(e), Bn(e.$$);
198
198
  }
199
199
  } catch (e) {
200
- throw Be.length = 0, Ae = 0, e;
200
+ throw Fe.length = 0, We = 0, e;
201
201
  }
202
- for (je(null), Be.length = 0, Ae = 0; Ct.length; ) Ct.pop()();
203
- for (let e = 0; e < De.length; e += 1) {
204
- const t = De[e];
202
+ for (je(null), Fe.length = 0, We = 0; Ct.length; ) Ct.pop()();
203
+ for (let e = 0; e < Be.length; e += 1) {
204
+ const t = Be[e];
205
205
  xt.has(t) || (xt.add(t), t());
206
206
  }
207
- De.length = 0;
208
- } while (Be.length);
207
+ Be.length = 0;
208
+ } while (Fe.length);
209
209
  for (; ri.length; )
210
210
  ri.pop()();
211
211
  Nt = !1, xt.clear(), je(n);
@@ -219,28 +219,28 @@ function Bn(n) {
219
219
  }
220
220
  function Dn(n) {
221
221
  const e = [], t = [];
222
- De.forEach((i) => n.indexOf(i) === -1 ? e.push(i) : t.push(i)), t.forEach((i) => i()), De = e;
222
+ Be.forEach((i) => n.indexOf(i) === -1 ? e.push(i) : t.push(i)), t.forEach((i) => i()), Be = e;
223
223
  }
224
224
  const rt = /* @__PURE__ */ new Set();
225
- let Ce;
225
+ let ke;
226
226
  function ot() {
227
- Ce = {
227
+ ke = {
228
228
  r: 0,
229
229
  c: [],
230
- p: Ce
230
+ p: ke
231
231
  // parent group
232
232
  };
233
233
  }
234
234
  function st() {
235
- Ce.r || ye(Ce.c), Ce = Ce.p;
235
+ ke.r || ye(ke.c), ke = ke.p;
236
236
  }
237
- function j(n, e) {
237
+ function q(n, e) {
238
238
  n && n.i && (rt.delete(n), n.i(e));
239
239
  }
240
240
  function H(n, e, t, i) {
241
241
  if (n && n.o) {
242
242
  if (rt.has(n)) return;
243
- rt.add(n), Ce.c.push(() => {
243
+ rt.add(n), ke.c.push(() => {
244
244
  rt.delete(n), i && (t && n.d(1), i());
245
245
  }), n.o(e);
246
246
  } else i && i();
@@ -254,49 +254,49 @@ function Un(n, e) {
254
254
  });
255
255
  }
256
256
  function Gn(n, e, t, i, r, o, l, s, c, u, d, a) {
257
- let f = n.length, h = o.length, g = f;
257
+ let f = n.length, h = o.length, m = f;
258
258
  const y = {};
259
- for (; g--; ) y[n[g].key] = g;
260
- const v = [], p = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), _ = [];
261
- for (g = h; g--; ) {
262
- const L = a(r, o, g), w = t(L);
259
+ for (; m--; ) y[n[m].key] = m;
260
+ const b = [], p = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), _ = [];
261
+ for (m = h; m--; ) {
262
+ const L = a(r, o, m), w = t(L);
263
263
  let k = l.get(w);
264
- k ? _.push(() => k.p(L, e)) : (k = u(w, L), k.c()), p.set(w, v[g] = k), w in y && E.set(w, Math.abs(g - y[w]));
264
+ k ? _.push(() => k.p(L, e)) : (k = u(w, L), k.c()), p.set(w, b[m] = k), w in y && E.set(w, Math.abs(m - y[w]));
265
265
  }
266
266
  const x = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
267
267
  function S(L) {
268
- j(L, 1), L.m(s, d), l.set(L.key, L), d = L.first, h--;
268
+ q(L, 1), L.m(s, d), l.set(L.key, L), d = L.first, h--;
269
269
  }
270
270
  for (; f && h; ) {
271
- const L = v[h - 1], w = n[f - 1], k = L.key, I = w.key;
271
+ const L = b[h - 1], w = n[f - 1], k = L.key, I = w.key;
272
272
  L === w ? (d = L.first, f--, h--) : p.has(I) ? !l.has(k) || x.has(k) ? S(L) : C.has(I) ? f-- : E.get(k) > E.get(I) ? (C.add(k), S(L)) : (x.add(I), f--) : (c(w, l), f--);
273
273
  }
274
274
  for (; f--; ) {
275
275
  const L = n[f];
276
276
  p.has(L.key) || c(L, l);
277
277
  }
278
- for (; h; ) S(v[h - 1]);
279
- return ye(_), v;
278
+ for (; h; ) S(b[h - 1]);
279
+ return ye(_), b;
280
280
  }
281
281
  function Le(n) {
282
282
  n && n.c();
283
283
  }
284
- function me(n, e, t) {
284
+ function ge(n, e, t) {
285
285
  const { fragment: i, after_update: r } = n.$$;
286
286
  i && i.m(e, t), Pt(() => {
287
287
  const o = n.$$.on_mount.map(Oi).filter(Wi);
288
288
  n.$$.on_destroy ? n.$$.on_destroy.push(...o) : ye(o), n.$$.on_mount = [];
289
289
  }), r.forEach(Pt);
290
290
  }
291
- function ge(n, e) {
291
+ function me(n, e) {
292
292
  const t = n.$$;
293
293
  t.fragment !== null && (Dn(t.after_update), ye(t.on_destroy), t.fragment && t.fragment.d(e), t.on_destroy = t.fragment = null, t.ctx = []);
294
294
  }
295
295
  function zn(n, e) {
296
- n.$$.dirty[0] === -1 && (Be.push(n), Fn(), n.$$.dirty.fill(0)), n.$$.dirty[e / 31 | 0] |= 1 << e % 31;
296
+ n.$$.dirty[0] === -1 && (Fe.push(n), Fn(), n.$$.dirty.fill(0)), n.$$.dirty[e / 31 | 0] |= 1 << e % 31;
297
297
  }
298
- function Te(n, e, t, i, r, o, l = null, s = [-1]) {
299
- const c = Qe;
298
+ function Pe(n, e, t, i, r, o, l = null, s = [-1]) {
299
+ const c = Ze;
300
300
  je(n);
301
301
  const u = n.$$ = {
302
302
  fragment: null,
@@ -322,19 +322,19 @@ function Te(n, e, t, i, r, o, l = null, s = [-1]) {
322
322
  l && l(u.root);
323
323
  let d = !1;
324
324
  if (u.ctx = t ? t(n, e.props || {}, (a, f, ...h) => {
325
- const g = h.length ? h[0] : f;
326
- return u.ctx && r(u.ctx[a], u.ctx[a] = g) && (!u.skip_bound && u.bound[a] && u.bound[a](g), d && zn(n, a)), f;
325
+ const m = h.length ? h[0] : f;
326
+ return u.ctx && r(u.ctx[a], u.ctx[a] = m) && (!u.skip_bound && u.bound[a] && u.bound[a](m), d && zn(n, a)), f;
327
327
  }) : [], u.update(), d = !0, ye(u.before_update), u.fragment = i ? i(u.ctx) : !1, e.target) {
328
328
  if (e.hydrate) {
329
329
  const a = Rn(e.target);
330
330
  u.fragment && u.fragment.l(a), a.forEach(B);
331
331
  } else
332
332
  u.fragment && u.fragment.c();
333
- e.intro && j(n.$$.fragment), me(n, e.target, e.anchor), Bi();
333
+ e.intro && q(n.$$.fragment), ge(n, e.target, e.anchor), Bi();
334
334
  }
335
335
  je(c);
336
336
  }
337
- class Re {
337
+ class Te {
338
338
  constructor() {
339
339
  /**
340
340
  * ### PRIVATE API
@@ -343,7 +343,7 @@ class Re {
343
343
  *
344
344
  * @type {any}
345
345
  */
346
- ne(this, "$$");
346
+ ie(this, "$$");
347
347
  /**
348
348
  * ### PRIVATE API
349
349
  *
@@ -351,11 +351,11 @@ class Re {
351
351
  *
352
352
  * @type {any}
353
353
  */
354
- ne(this, "$$set");
354
+ ie(this, "$$set");
355
355
  }
356
356
  /** @returns {void} */
357
357
  $destroy() {
358
- ge(this, 1), this.$destroy = z;
358
+ me(this, 1), this.$destroy = z;
359
359
  }
360
360
  /**
361
361
  * @template {Extract<keyof Events, string>} K
@@ -380,16 +380,16 @@ class Re {
380
380
  this.$$set && !xn(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
381
381
  }
382
382
  }
383
- const qn = "4";
384
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qn);
385
- function jn(n) {
383
+ const jn = "4";
384
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jn);
385
+ function qn(n) {
386
386
  let e, t;
387
387
  return {
388
388
  c() {
389
- e = de("svg"), t = de("path"), b(t, "d", "M13.12.706a.982.982 0 0 0-1.391 0L6.907 5.517 2.087.696a.982.982 0 1 0-1.391 1.39l4.821 4.821L.696 11.73a.982.982 0 1 0 1.39 1.39l4.821-4.821 4.822 4.821a.982.982 0 1 0 1.39-1.39L8.298 6.908l4.821-4.822a.988.988 0 0 0 0-1.38Z"), b(e, "viewBox", "0 0 14 14"), b(e, "width", "13"), b(e, "height", "13"), b(e, "class", "svelte-en2qvf");
389
+ e = de("svg"), t = de("path"), v(t, "d", "M13.12.706a.982.982 0 0 0-1.391 0L6.907 5.517 2.087.696a.982.982 0 1 0-1.391 1.39l4.821 4.821L.696 11.73a.982.982 0 1 0 1.39 1.39l4.821-4.821 4.822 4.821a.982.982 0 1 0 1.39-1.39L8.298 6.908l4.821-4.822a.988.988 0 0 0 0-1.38Z"), v(e, "viewBox", "0 0 14 14"), v(e, "width", "13"), v(e, "height", "13"), v(e, "class", "svelte-en2qvf");
390
390
  },
391
391
  m(i, r) {
392
- q(i, e, r), R(e, t);
392
+ j(i, e, r), R(e, t);
393
393
  },
394
394
  p: z,
395
395
  i: z,
@@ -399,19 +399,19 @@ function jn(n) {
399
399
  }
400
400
  };
401
401
  }
402
- class Di extends Re {
402
+ class Di extends Te {
403
403
  constructor(e) {
404
- super(), Te(this, e, null, jn, Pe, {});
404
+ super(), Pe(this, e, null, qn, Ne, {});
405
405
  }
406
406
  }
407
407
  function Zn(n) {
408
408
  let e, t;
409
409
  return {
410
410
  c() {
411
- e = de("svg"), t = de("path"), b(t, "d", "M15 0C6.705 0 0 6.705 0 15C0 23.295 6.705 30 15 30C23.295 30 30 23.295 30 15C30 6.705 23.295 0 15 0ZM22.5 20.385L20.385 22.5L15 17.115L9.615 22.5L7.5 20.385L12.885 15L7.5 9.615L9.615 7.5L15 12.885L20.385 7.5L22.5 9.615L17.115 15L22.5 20.385Z"), b(e, "viewBox", "0 0 30 30"), b(e, "fill", "none"), b(e, "xmlns", "http://www.w3.org/2000/svg"), b(e, "class", "svelte-d2loi5");
411
+ e = de("svg"), t = de("path"), v(t, "d", "M15 0C6.705 0 0 6.705 0 15C0 23.295 6.705 30 15 30C23.295 30 30 23.295 30 15C30 6.705 23.295 0 15 0ZM22.5 20.385L20.385 22.5L15 17.115L9.615 22.5L7.5 20.385L12.885 15L7.5 9.615L9.615 7.5L15 12.885L20.385 7.5L22.5 9.615L17.115 15L22.5 20.385Z"), v(e, "viewBox", "0 0 30 30"), v(e, "fill", "none"), v(e, "xmlns", "http://www.w3.org/2000/svg"), v(e, "class", "svelte-d2loi5");
412
412
  },
413
413
  m(i, r) {
414
- q(i, e, r), R(e, t);
414
+ j(i, e, r), R(e, t);
415
415
  },
416
416
  p: z,
417
417
  i: z,
@@ -421,9 +421,9 @@ function Zn(n) {
421
421
  }
422
422
  };
423
423
  }
424
- class Ui extends Re {
424
+ class Ui extends Te {
425
425
  constructor(e) {
426
- super(), Te(this, e, null, Zn, Pe, {});
426
+ super(), Pe(this, e, null, Zn, Ne, {});
427
427
  }
428
428
  }
429
429
  function Qn(n) {
@@ -431,21 +431,21 @@ function Qn(n) {
431
431
  return {
432
432
  c() {
433
433
  e = W("img"), X(e.src, t = /*iconsBaseUrl*/
434
- n[3] + "area.svg") || b(e, "src", t), b(
434
+ n[3] + "area.svg") || v(e, "src", t), v(
435
435
  e,
436
436
  "alt",
437
437
  /*placeType*/
438
438
  n[6]
439
- ), b(e, "class", "svelte-ltkwvy");
439
+ ), v(e, "class", "svelte-ltkwvy");
440
440
  },
441
441
  m(i, r) {
442
- q(i, e, r);
442
+ j(i, e, r);
443
443
  },
444
444
  p(i, r) {
445
445
  r & /*iconsBaseUrl*/
446
446
  8 && !X(e.src, t = /*iconsBaseUrl*/
447
- i[3] + "area.svg") && b(e, "src", t), r & /*placeType*/
448
- 64 && b(
447
+ i[3] + "area.svg") && v(e, "src", t), r & /*placeType*/
448
+ 64 && v(
449
449
  e,
450
450
  "alt",
451
451
  /*placeType*/
@@ -462,21 +462,21 @@ function Vn(n) {
462
462
  return {
463
463
  c() {
464
464
  e = W("img"), X(e.src, t = /*iconsBaseUrl*/
465
- n[3] + "reverse.svg") || b(e, "src", t), b(
465
+ n[3] + "reverse.svg") || v(e, "src", t), v(
466
466
  e,
467
467
  "alt",
468
468
  /*placeType*/
469
469
  n[6]
470
- ), b(e, "class", "svelte-ltkwvy");
470
+ ), v(e, "class", "svelte-ltkwvy");
471
471
  },
472
472
  m(i, r) {
473
- q(i, e, r);
473
+ j(i, e, r);
474
474
  },
475
475
  p(i, r) {
476
476
  r & /*iconsBaseUrl*/
477
477
  8 && !X(e.src, t = /*iconsBaseUrl*/
478
- i[3] + "reverse.svg") && b(e, "src", t), r & /*placeType*/
479
- 64 && b(
478
+ i[3] + "reverse.svg") && v(e, "src", t), r & /*placeType*/
479
+ 64 && v(
480
480
  e,
481
481
  "alt",
482
482
  /*placeType*/
@@ -493,21 +493,21 @@ function Hn(n) {
493
493
  return {
494
494
  c() {
495
495
  e = W("img"), X(e.src, t = /*iconsBaseUrl*/
496
- n[3] + "poi.svg") || b(e, "src", t), b(
496
+ n[3] + "poi.svg") || v(e, "src", t), v(
497
497
  e,
498
498
  "alt",
499
499
  /*placeType*/
500
500
  n[6]
501
- ), b(e, "class", "svelte-ltkwvy");
501
+ ), v(e, "class", "svelte-ltkwvy");
502
502
  },
503
503
  m(i, r) {
504
- q(i, e, r);
504
+ j(i, e, r);
505
505
  },
506
506
  p(i, r) {
507
507
  r & /*iconsBaseUrl*/
508
508
  8 && !X(e.src, t = /*iconsBaseUrl*/
509
- i[3] + "poi.svg") && b(e, "src", t), r & /*placeType*/
510
- 64 && b(
509
+ i[3] + "poi.svg") && v(e, "src", t), r & /*placeType*/
510
+ 64 && v(
511
511
  e,
512
512
  "alt",
513
513
  /*placeType*/
@@ -524,21 +524,21 @@ function Yn(n) {
524
524
  return {
525
525
  c() {
526
526
  e = W("img"), X(e.src, t = /*iconsBaseUrl*/
527
- n[3] + "postal_code.svg") || b(e, "src", t), b(
527
+ n[3] + "postal_code.svg") || v(e, "src", t), v(
528
528
  e,
529
529
  "alt",
530
530
  /*placeType*/
531
531
  n[6]
532
- ), b(e, "class", "svelte-ltkwvy");
532
+ ), v(e, "class", "svelte-ltkwvy");
533
533
  },
534
534
  m(i, r) {
535
- q(i, e, r);
535
+ j(i, e, r);
536
536
  },
537
537
  p(i, r) {
538
538
  r & /*iconsBaseUrl*/
539
539
  8 && !X(e.src, t = /*iconsBaseUrl*/
540
- i[3] + "postal_code.svg") && b(e, "src", t), r & /*placeType*/
541
- 64 && b(
540
+ i[3] + "postal_code.svg") && v(e, "src", t), r & /*placeType*/
541
+ 64 && v(
542
542
  e,
543
543
  "alt",
544
544
  /*placeType*/
@@ -555,21 +555,21 @@ function Xn(n) {
555
555
  return {
556
556
  c() {
557
557
  e = W("img"), X(e.src, t = /*iconsBaseUrl*/
558
- n[3] + "street.svg") || b(e, "src", t), b(
558
+ n[3] + "street.svg") || v(e, "src", t), v(
559
559
  e,
560
560
  "alt",
561
561
  /*placeType*/
562
562
  n[6]
563
- ), b(e, "class", "svelte-ltkwvy");
563
+ ), v(e, "class", "svelte-ltkwvy");
564
564
  },
565
565
  m(i, r) {
566
- q(i, e, r);
566
+ j(i, e, r);
567
567
  },
568
568
  p(i, r) {
569
569
  r & /*iconsBaseUrl*/
570
570
  8 && !X(e.src, t = /*iconsBaseUrl*/
571
- i[3] + "street.svg") && b(e, "src", t), r & /*placeType*/
572
- 64 && b(
571
+ i[3] + "street.svg") && v(e, "src", t), r & /*placeType*/
572
+ 64 && v(
573
573
  e,
574
574
  "alt",
575
575
  /*placeType*/
@@ -586,21 +586,21 @@ function Kn(n) {
586
586
  return {
587
587
  c() {
588
588
  e = W("img"), X(e.src, t = /*iconsBaseUrl*/
589
- n[3] + "road.svg") || b(e, "src", t), b(
589
+ n[3] + "road.svg") || v(e, "src", t), v(
590
590
  e,
591
591
  "alt",
592
592
  /*placeType*/
593
593
  n[6]
594
- ), b(e, "class", "svelte-ltkwvy");
594
+ ), v(e, "class", "svelte-ltkwvy");
595
595
  },
596
596
  m(i, r) {
597
- q(i, e, r);
597
+ j(i, e, r);
598
598
  },
599
599
  p(i, r) {
600
600
  r & /*iconsBaseUrl*/
601
601
  8 && !X(e.src, t = /*iconsBaseUrl*/
602
- i[3] + "road.svg") && b(e, "src", t), r & /*placeType*/
603
- 64 && b(
602
+ i[3] + "road.svg") && v(e, "src", t), r & /*placeType*/
603
+ 64 && v(
604
604
  e,
605
605
  "alt",
606
606
  /*placeType*/
@@ -617,21 +617,21 @@ function Jn(n) {
617
617
  return {
618
618
  c() {
619
619
  e = W("img"), X(e.src, t = /*iconsBaseUrl*/
620
- n[3] + "housenumber.svg") || b(e, "src", t), b(
620
+ n[3] + "housenumber.svg") || v(e, "src", t), v(
621
621
  e,
622
622
  "alt",
623
623
  /*placeType*/
624
624
  n[6]
625
- ), b(e, "class", "svelte-ltkwvy");
625
+ ), v(e, "class", "svelte-ltkwvy");
626
626
  },
627
627
  m(i, r) {
628
- q(i, e, r);
628
+ j(i, e, r);
629
629
  },
630
630
  p(i, r) {
631
631
  r & /*iconsBaseUrl*/
632
632
  8 && !X(e.src, t = /*iconsBaseUrl*/
633
- i[3] + "housenumber.svg") && b(e, "src", t), r & /*placeType*/
634
- 64 && b(
633
+ i[3] + "housenumber.svg") && v(e, "src", t), r & /*placeType*/
634
+ 64 && v(
635
635
  e,
636
636
  "alt",
637
637
  /*placeType*/
@@ -648,15 +648,15 @@ function $n(n) {
648
648
  return {
649
649
  c() {
650
650
  e = W("img"), X(e.src, t = /*imageUrl*/
651
- n[5]) || b(e, "src", t), b(
651
+ n[5]) || v(e, "src", t), v(
652
652
  e,
653
653
  "alt",
654
654
  /*category*/
655
655
  n[4]
656
- ), b(e, "class", "svelte-ltkwvy");
656
+ ), v(e, "class", "svelte-ltkwvy");
657
657
  },
658
658
  m(o, l) {
659
- q(o, e, l), i || (r = J(
659
+ j(o, e, l), i || (r = J(
660
660
  e,
661
661
  "error",
662
662
  /*error_handler*/
@@ -666,8 +666,8 @@ function $n(n) {
666
666
  p(o, l) {
667
667
  l & /*imageUrl*/
668
668
  32 && !X(e.src, t = /*imageUrl*/
669
- o[5]) && b(e, "src", t), l & /*category*/
670
- 16 && b(
669
+ o[5]) && v(e, "src", t), l & /*category*/
670
+ 16 && v(
671
671
  e,
672
672
  "alt",
673
673
  /*category*/
@@ -686,14 +686,14 @@ function si(n) {
686
686
  e = W("span"), t = Ee(
687
687
  /*placeType*/
688
688
  n[6]
689
- ), b(e, "class", "secondary svelte-ltkwvy");
689
+ ), v(e, "class", "secondary svelte-ltkwvy");
690
690
  },
691
691
  m(i, r) {
692
- q(i, e, r), R(e, t);
692
+ j(i, e, r), R(e, t);
693
693
  },
694
694
  p(i, r) {
695
695
  r & /*placeType*/
696
- 64 && Ze(
696
+ 64 && qe(
697
697
  t,
698
698
  /*placeType*/
699
699
  i[6]
@@ -725,7 +725,7 @@ function er(n) {
725
725
  n[0].id.startsWith("poi.") || !/*imageUrl*/
726
726
  n[5]) && !/*isReverse*/
727
727
  n[7]
728
- ), g, y, v = (
728
+ ), m, y, b = (
729
729
  /*isReverse*/
730
730
  (n[7] ? "" : (
731
731
  /*feature*/
@@ -753,12 +753,12 @@ function er(n) {
753
753
  let C = x(n, -1), S = C(n), L = h && si(n);
754
754
  return {
755
755
  c() {
756
- e = W("li"), S.c(), l = te(), s = W("span"), c = W("span"), u = W("span"), a = Ee(d), f = te(), L && L.c(), g = te(), y = W("span"), p = Ee(v), b(u, "class", "primary svelte-ltkwvy"), b(c, "class", "svelte-ltkwvy"), b(y, "class", "line2 svelte-ltkwvy"), b(s, "class", "texts svelte-ltkwvy"), b(e, "tabindex", "0"), b(
756
+ e = W("li"), S.c(), l = te(), s = W("span"), c = W("span"), u = W("span"), a = Ee(d), f = te(), L && L.c(), m = te(), y = W("span"), p = Ee(b), v(u, "class", "primary svelte-ltkwvy"), v(c, "class", "svelte-ltkwvy"), v(y, "class", "line2 svelte-ltkwvy"), v(s, "class", "texts svelte-ltkwvy"), v(e, "tabindex", "0"), v(
757
757
  e,
758
758
  "data-selected",
759
759
  /*selected*/
760
760
  n[1]
761
- ), b(e, "class", "svelte-ltkwvy"), ve(
761
+ ), v(e, "class", "svelte-ltkwvy"), be(
762
762
  e,
763
763
  "selected",
764
764
  /*selected*/
@@ -766,7 +766,7 @@ function er(n) {
766
766
  );
767
767
  },
768
768
  m(w, k) {
769
- q(w, e, k), S.m(e, null), R(e, l), R(e, s), R(s, c), R(c, u), R(u, a), R(c, f), L && L.m(c, null), R(s, g), R(s, y), R(y, p), E || (_ = [
769
+ j(w, e, k), S.m(e, null), R(e, l), R(e, s), R(s, c), R(c, u), R(u, a), R(c, f), L && L.m(c, null), R(s, m), R(s, y), R(y, p), E || (_ = [
770
770
  J(
771
771
  e,
772
772
  "mouseenter",
@@ -790,7 +790,7 @@ function er(n) {
790
790
  ) : (
791
791
  /*feature*/
792
792
  w[0].place_name.replace(/,.*/, "")
793
- )) + "") && Ze(a, d), k & /*showPlaceType, feature, imageUrl*/
793
+ )) + "") && qe(a, d), k & /*showPlaceType, feature, imageUrl*/
794
794
  37 && (h = /*showPlaceType*/
795
795
  w[2] === "always" || /*showPlaceType*/
796
796
  w[2] && !/*feature*/
@@ -801,18 +801,18 @@ function er(n) {
801
801
  w[0].id.startsWith("poi.") || !/*imageUrl*/
802
802
  w[5]) && !/*isReverse*/
803
803
  w[7]), h ? L ? L.p(w, k) : (L = si(w), L.c(), L.m(c, null)) : L && (L.d(1), L = null), k & /*feature*/
804
- 1 && v !== (v = /*isReverse*/
804
+ 1 && b !== (b = /*isReverse*/
805
805
  (w[7] ? "" : (
806
806
  /*feature*/
807
807
  w[0].place_name.replace(/[^,]*,?\s*/, "")
808
- )) + "") && Ze(p, v), k & /*selected*/
809
- 2 && b(
808
+ )) + "") && qe(p, b), k & /*selected*/
809
+ 2 && v(
810
810
  e,
811
811
  "data-selected",
812
812
  /*selected*/
813
813
  w[1]
814
814
  ), k & /*selected*/
815
- 2 && ve(
815
+ 2 && be(
816
816
  e,
817
817
  "selected",
818
818
  /*selected*/
@@ -830,11 +830,11 @@ function tr(n, e, t) {
830
830
  var _;
831
831
  let i, r, { feature: o } = e, { selected: l = !1 } = e, { showPlaceType: s } = e, { missingIconsCache: c } = e, { iconsBaseUrl: u } = e;
832
832
  const d = (_ = o.properties) == null ? void 0 : _.categories;
833
- let a, f, h = 0, g = o.place_type[0] === "reverse";
833
+ let a, f, h = 0, m = o.place_type[0] === "reverse";
834
834
  function y() {
835
835
  f && c.add(f), t(10, h++, h);
836
836
  }
837
- function v(x) {
837
+ function b(x) {
838
838
  ni.call(this, n, x);
839
839
  }
840
840
  function p(x) {
@@ -860,19 +860,19 @@ function tr(n, e, t) {
860
860
  a,
861
861
  f,
862
862
  r,
863
- g,
863
+ m,
864
864
  y,
865
865
  c,
866
866
  h,
867
867
  i,
868
- v,
868
+ b,
869
869
  p,
870
870
  E
871
871
  ];
872
872
  }
873
- class ir extends Re {
873
+ class ir extends Te {
874
874
  constructor(e) {
875
- super(), Te(this, e, tr, er, Pe, {
875
+ super(), Pe(this, e, tr, er, Ne, {
876
876
  feature: 0,
877
877
  selected: 1,
878
878
  showPlaceType: 2,
@@ -885,10 +885,10 @@ function nr(n) {
885
885
  let e;
886
886
  return {
887
887
  c() {
888
- e = W("div"), e.innerHTML = '<svg viewBox="0 0 18 18" width="24" height="24" class="svelte-7cmwmc"><path fill="#333" d="M4.4 4.4l.8.8c2.1-2.1 5.5-2.1 7.6 0l.8-.8c-2.5-2.5-6.7-2.5-9.2 0z"></path><path opacity=".1" d="M12.8 12.9c-2.1 2.1-5.5 2.1-7.6 0-2.1-2.1-2.1-5.5 0-7.7l-.8-.8c-2.5 2.5-2.5 6.7 0 9.2s6.6 2.5 9.2 0 2.5-6.6 0-9.2l-.8.8c2.2 2.1 2.2 5.6 0 7.7z"></path></svg>', b(e, "class", "svelte-7cmwmc");
888
+ e = W("div"), e.innerHTML = '<svg viewBox="0 0 18 18" width="24" height="24" class="svelte-7cmwmc"><path fill="#333" d="M4.4 4.4l.8.8c2.1-2.1 5.5-2.1 7.6 0l.8-.8c-2.5-2.5-6.7-2.5-9.2 0z"></path><path opacity=".1" d="M12.8 12.9c-2.1 2.1-5.5 2.1-7.6 0-2.1-2.1-2.1-5.5 0-7.7l-.8-.8c-2.5 2.5-2.5 6.7 0 9.2s6.6 2.5 9.2 0 2.5-6.6 0-9.2l-.8.8c2.2 2.1 2.2 5.6 0 7.7z"></path></svg>', v(e, "class", "svelte-7cmwmc");
889
889
  },
890
890
  m(t, i) {
891
- q(t, e, i);
891
+ j(t, e, i);
892
892
  },
893
893
  p: z,
894
894
  i: z,
@@ -898,19 +898,19 @@ function nr(n) {
898
898
  }
899
899
  };
900
900
  }
901
- class rr extends Re {
901
+ class rr extends Te {
902
902
  constructor(e) {
903
- super(), Te(this, e, null, nr, Pe, {});
903
+ super(), Pe(this, e, null, nr, Ne, {});
904
904
  }
905
905
  }
906
906
  function or(n) {
907
907
  let e, t;
908
908
  return {
909
909
  c() {
910
- e = de("svg"), t = de("path"), b(t, "d", "M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"), b(e, "viewBox", "0 0 60.006 21.412"), b(e, "width", "14"), b(e, "height", "20"), b(e, "class", "svelte-en2qvf");
910
+ e = de("svg"), t = de("path"), v(t, "d", "M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"), v(e, "viewBox", "0 0 60.006 21.412"), v(e, "width", "14"), v(e, "height", "20"), v(e, "class", "svelte-en2qvf");
911
911
  },
912
912
  m(i, r) {
913
- q(i, e, r), R(e, t);
913
+ j(i, e, r), R(e, t);
914
914
  },
915
915
  p: z,
916
916
  i: z,
@@ -920,19 +920,19 @@ function or(n) {
920
920
  }
921
921
  };
922
922
  }
923
- class sr extends Re {
923
+ class sr extends Te {
924
924
  constructor(e) {
925
- super(), Te(this, e, null, or, Pe, {});
925
+ super(), Pe(this, e, null, or, Ne, {});
926
926
  }
927
927
  }
928
928
  function lr(n) {
929
929
  let e, t, i;
930
930
  return {
931
931
  c() {
932
- e = de("svg"), t = de("circle"), i = de("path"), b(t, "cx", "4.789"), b(t, "cy", "4.787"), b(t, "r", "3.85"), b(t, "class", "svelte-1aq105l"), b(i, "d", "M12.063 12.063 7.635 7.635"), b(i, "class", "svelte-1aq105l"), b(e, "xmlns", "http://www.w3.org/2000/svg"), b(e, "width", "13"), b(e, "height", "13"), b(e, "viewBox", "0 0 13 13"), b(e, "class", "svelte-1aq105l");
932
+ e = de("svg"), t = de("circle"), i = de("path"), v(t, "cx", "4.789"), v(t, "cy", "4.787"), v(t, "r", "3.85"), v(t, "class", "svelte-1aq105l"), v(i, "d", "M12.063 12.063 7.635 7.635"), v(i, "class", "svelte-1aq105l"), v(e, "xmlns", "http://www.w3.org/2000/svg"), v(e, "width", "13"), v(e, "height", "13"), v(e, "viewBox", "0 0 13 13"), v(e, "class", "svelte-1aq105l");
933
933
  },
934
934
  m(r, o) {
935
- q(r, e, o), R(e, t), R(e, i);
935
+ j(r, e, o), R(e, t), R(e, i);
936
936
  },
937
937
  p: z,
938
938
  i: z,
@@ -942,9 +942,9 @@ function lr(n) {
942
942
  }
943
943
  };
944
944
  }
945
- class ur extends Re {
945
+ class ur extends Te {
946
946
  constructor(e) {
947
- super(), Te(this, e, null, lr, Pe, {});
947
+ super(), Pe(this, e, null, lr, Ne, {});
948
948
  }
949
949
  }
950
950
  function ar(n, e, t) {
@@ -955,7 +955,7 @@ function ut(n) {
955
955
  const e = [...n];
956
956
  return e[2] < e[0] && (Math.abs((e[0] + e[2] + 360) / 2) > Math.abs((e[0] - 360 + e[2]) / 2) ? e[0] -= 360 : e[2] += 360), e;
957
957
  }
958
- let Ge;
958
+ let Ue;
959
959
  async function cr(n, e, t) {
960
960
  const i = n == null ? void 0 : n.getCenterAndZoom();
961
961
  for (const r of e ?? [])
@@ -963,10 +963,10 @@ async function cr(n, e, t) {
963
963
  if (r.type === "fixed")
964
964
  return r.coordinates.join(",");
965
965
  e: if (r.type === "client-geolocation") {
966
- if (Ge && r.cachedLocationExpiry && Ge.time + r.cachedLocationExpiry > Date.now()) {
967
- if (!Ge.coords)
966
+ if (Ue && r.cachedLocationExpiry && Ue.time + r.cachedLocationExpiry > Date.now()) {
967
+ if (!Ue.coords)
968
968
  break e;
969
- return Ge.coords;
969
+ return Ue.coords;
970
970
  }
971
971
  let o;
972
972
  try {
@@ -987,7 +987,7 @@ async function cr(n, e, t) {
987
987
  }), o;
988
988
  } catch {
989
989
  } finally {
990
- r.cachedLocationExpiry && (Ge = {
990
+ r.cachedLocationExpiry && (Ue = {
991
991
  time: Date.now(),
992
992
  coords: o
993
993
  });
@@ -1011,14 +1011,14 @@ function dr(n) {
1011
1011
  n == "DD" && (c = `${r}° ${l}, ${o}° ${s}`);
1012
1012
  const u = Math.floor(r), d = Math.floor(o), a = (r - u) * 60, f = (o - d) * 60;
1013
1013
  if (n == "DM") {
1014
- let h = di(a, 3).toFixed(3).padStart(6, "0"), g = di(f, 3).toFixed(3).padStart(6, "0");
1015
- h.endsWith(".000") && g.endsWith(".000") && (h = h.replace(/\.000$/, ""), g = g.replace(/\.000$/, "")), c = `${u}° ${h}' ${l}, ${d}° ${g}' ${s}`;
1014
+ let h = di(a, 3).toFixed(3).padStart(6, "0"), m = di(f, 3).toFixed(3).padStart(6, "0");
1015
+ h.endsWith(".000") && m.endsWith(".000") && (h = h.replace(/\.000$/, ""), m = m.replace(/\.000$/, "")), c = `${u}° ${h}' ${l}, ${d}° ${m}' ${s}`;
1016
1016
  }
1017
1017
  if (n == "DMS") {
1018
- const h = Math.floor(a), g = Math.floor(f);
1019
- let y = ((a - h) * 60).toFixed(1).padStart(4, "0"), v = ((f - g) * 60).toFixed(1).padStart(4, "0");
1020
- const p = h.toString().padStart(2, "0"), E = g.toString().padStart(2, "0");
1021
- y.endsWith(".0") && v.endsWith(".0") && (y = y.replace(/\.0$/, ""), v = v.replace(/\.0$/, "")), c = `${u}° ${p}' ${y}" ${l}, ${d}° ${E}' ${v}" ${s}`;
1018
+ const h = Math.floor(a), m = Math.floor(f);
1019
+ let y = ((a - h) * 60).toFixed(1).padStart(4, "0"), b = ((f - m) * 60).toFixed(1).padStart(4, "0");
1020
+ const p = h.toString().padStart(2, "0"), E = m.toString().padStart(2, "0");
1021
+ y.endsWith(".0") && b.endsWith(".0") && (y = y.replace(/\.0$/, ""), b = b.replace(/\.0$/, "")), c = `${u}° ${p}' ${y}" ${l}, ${d}° ${E}' ${b}" ${s}`;
1022
1022
  }
1023
1023
  return c;
1024
1024
  } else
@@ -1034,12 +1034,12 @@ function Ft(n, e) {
1034
1034
  if (fr.test(n))
1035
1035
  throw new Error("invalid coordinate value");
1036
1036
  if (li.test(n))
1037
- if (s = li.exec(n), c = ze(s), c)
1037
+ if (s = li.exec(n), c = Ge(s), c)
1038
1038
  t = Math.abs(s[1]) + s[2] / 60, Number(s[1]) < 0 && (t *= -1), i = Math.abs(s[3]) + s[4] / 60, Number(s[3]) < 0 && (i *= -1), l = "DM";
1039
1039
  else
1040
1040
  throw new Error("invalid coordinate format");
1041
1041
  else if (ui.test(n))
1042
- if (s = ui.exec(n), c = ze(s), c) {
1042
+ if (s = ui.exec(n), c = Ge(s), c) {
1043
1043
  if (t = s[2], i = s[6], t.includes(",") && (t = t.replace(",", ".")), i.includes(",") && (i = i.replace(",", ".")), l = "DD", Number(Math.round(t)) == Number(t))
1044
1044
  throw new Error("integer only coordinate provided");
1045
1045
  if (Number(Math.round(i)) == Number(i))
@@ -1048,17 +1048,17 @@ function Ft(n, e) {
1048
1048
  } else
1049
1049
  throw new Error("invalid decimal coordinate format");
1050
1050
  else if (ai.test(n))
1051
- if (s = ai.exec(n), c = ze(s), c)
1051
+ if (s = ai.exec(n), c = Ge(s), c)
1052
1052
  t = Math.abs(parseInt(s[2])), s[4] && (t += s[4] / 60, l = "DM"), s[6] && (t += s[6].replace(",", ".") / 3600, l = "DMS"), parseInt(s[2]) < 0 && (t = -1 * t), i = Math.abs(parseInt(s[9])), s[11] && (i += s[11] / 60), s[13] && (i += s[13].replace(",", ".") / 3600), parseInt(s[9]) < 0 && (i = -1 * i), s[1] ? (r = s[1], o = s[8]) : s[7] && (r = s[7], o = s[14]);
1053
1053
  else
1054
1054
  throw new Error("invalid DMS coordinates format");
1055
1055
  else if (ci.test(n))
1056
- if (s = ci.exec(n), c = ze(s), c)
1056
+ if (s = ci.exec(n), c = Ge(s), c)
1057
1057
  t = Math.abs(parseInt(s[2])), s[4] && (t += s[4] / 60, l = "DM"), s[6] && (t += s[6] / 3600, l = "DMS"), parseInt(s[2]) < 0 && (t = -1 * t), i = Math.abs(parseInt(s[10])), s[12] && (i += s[12] / 60), s[14] && (i += s[14] / 3600), parseInt(s[10]) < 0 && (i = -1 * i), s[1] ? (r = s[1], o = s[9]) : s[8] && (r = s[8], o = s[16]);
1058
1058
  else
1059
1059
  throw new Error("invalid DMS coordinates format");
1060
1060
  else if (fi.test(n)) {
1061
- if (s = fi.exec(n), c = ze(s), s.filter((u) => u).length <= 5)
1061
+ if (s = fi.exec(n), c = Ge(s), s.filter((u) => u).length <= 5)
1062
1062
  throw new Error("invalid coordinates format");
1063
1063
  if (c)
1064
1064
  t = Math.abs(parseInt(s[2])), s[4] && (t += s[4].replace(",", ".") / 60, l = "DM"), s[6] && (t += s[6].replace(",", ".") / 3600, l = "DMS"), parseInt(s[2]) < 0 && (t = -1 * t), i = Math.abs(parseInt(s[10])), s[12] && (i += s[12].replace(",", ".") / 60), s[14] && (i += s[14].replace(",", ".") / 3600), parseInt(s[10]) < 0 && (i = -1 * i), s[1] ? (r = s[1], o = s[9]) : s[8] && (r = s[8], o = s[16]);
@@ -1079,28 +1079,28 @@ function Ft(n, e) {
1079
1079
  u.test(r) && t > 0 && (t = -1 * t), u = /W|WEST/i, u.test(o) && i > 0 && (i = -1 * i);
1080
1080
  const d = s[0].trim();
1081
1081
  let a, f;
1082
- const h = /[,/;\u0020]/g, g = d.match(h);
1083
- if (g == null) {
1082
+ const h = /[,/;\u0020]/g, m = d.match(h);
1083
+ if (m == null) {
1084
1084
  const p = Math.floor(n.length / 2);
1085
1085
  a = d.substring(0, p).trim(), f = d.substring(p).trim();
1086
1086
  } else {
1087
1087
  let p;
1088
- g.length % 2 == 1 ? p = Math.floor(g.length / 2) : p = g.length / 2 - 1;
1088
+ m.length % 2 == 1 ? p = Math.floor(m.length / 2) : p = m.length / 2 - 1;
1089
1089
  let E = 0;
1090
1090
  if (p == 0)
1091
- E = d.indexOf(g[0]), a = d.substring(0, E).trim(), f = d.substring(E + 1).trim();
1091
+ E = d.indexOf(m[0]), a = d.substring(0, E).trim(), f = d.substring(E + 1).trim();
1092
1092
  else {
1093
1093
  let _ = 0, x = 0;
1094
1094
  for (; _ <= p; )
1095
- E = d.indexOf(g[_], x), x = E + 1, _++;
1095
+ E = d.indexOf(m[_], x), x = E + 1, _++;
1096
1096
  a = d.substring(0, E).trim(), f = d.substring(E + 1).trim();
1097
1097
  }
1098
1098
  }
1099
1099
  const y = a.split(".");
1100
1100
  if (y.length == 2 && y[1] == 0 && y[1].length != 2)
1101
1101
  throw new Error("invalid coordinates format");
1102
- const v = f.split(".");
1103
- if (v.length == 2 && v[1] == 0 && v[1].length != 2)
1102
+ const b = f.split(".");
1103
+ if (b.length == 2 && b[1] == 0 && b[1].length != 2)
1104
1104
  throw new Error("invalid coordinates format");
1105
1105
  if (/^\d+$/.test(a) || /^\d+$/.test(f))
1106
1106
  throw new Error("degree only coordinate/s provided");
@@ -1118,7 +1118,7 @@ function Ft(n, e) {
1118
1118
  } else
1119
1119
  throw new Error("coordinates pattern match failed");
1120
1120
  }
1121
- function ze(n) {
1121
+ function Ge(n) {
1122
1122
  if (!isNaN(n[0]))
1123
1123
  return !1;
1124
1124
  const e = [...n];
@@ -1152,13 +1152,13 @@ function hr(n) {
1152
1152
  } else
1153
1153
  throw new Error("coords being tested must be separated by a comma");
1154
1154
  }
1155
- const mr = Object.freeze({
1155
+ const gr = Object.freeze({
1156
1156
  DMS: "DMS",
1157
1157
  DM: "DM",
1158
1158
  DD: "DD"
1159
1159
  });
1160
- Ft.to = mr;
1161
- const gr = [
1160
+ Ft.to = gr;
1161
+ const mr = [
1162
1162
  {
1163
1163
  verbatimCoordinates: "40.123, -74.123",
1164
1164
  verbatimLatitude: "40.123",
@@ -1387,7 +1387,7 @@ const gr = [
1387
1387
  decimalLatitude: -18.4,
1388
1388
  decimalLongitude: 22.75
1389
1389
  }
1390
- ], br = [
1390
+ ], vr = [
1391
1391
  {
1392
1392
  verbatimCoordinates: "10.432342S 10.6345345E",
1393
1393
  verbatimLatitude: "10.432342S",
@@ -1522,36 +1522,36 @@ const gr = [
1522
1522
  decimalLongitude: 18.33453
1523
1523
  }
1524
1524
  ];
1525
- function vr() {
1525
+ function br() {
1526
1526
  const n = [];
1527
- return gr.forEach((e) => {
1527
+ return mr.forEach((e) => {
1528
1528
  e.decimalLatitude ? n.push(e) : n.push({ ...e, ...yr });
1529
- }), [...n, ...pr, ...br];
1529
+ }), [...n, ...pr, ...vr];
1530
1530
  }
1531
- const wr = vr();
1531
+ const wr = br();
1532
1532
  Ft.formats = wr.map((n) => n.verbatimCoordinates);
1533
1533
  const _r = Ft;
1534
- function mi(n, e, t) {
1534
+ function gi(n, e, t) {
1535
1535
  const i = n.slice();
1536
1536
  return i[83] = e[t], i[85] = t, i;
1537
1537
  }
1538
- function gi(n) {
1538
+ function mi(n) {
1539
1539
  let e, t;
1540
1540
  return e = new rr({}), {
1541
1541
  c() {
1542
1542
  Le(e.$$.fragment);
1543
1543
  },
1544
1544
  m(i, r) {
1545
- me(e, i, r), t = !0;
1545
+ ge(e, i, r), t = !0;
1546
1546
  },
1547
1547
  i(i) {
1548
- t || (j(e.$$.fragment, i), t = !0);
1548
+ t || (q(e.$$.fragment, i), t = !0);
1549
1549
  },
1550
1550
  o(i) {
1551
1551
  H(e.$$.fragment, i), t = !1;
1552
1552
  },
1553
1553
  d(i) {
1554
- ge(e, i);
1554
+ me(e, i);
1555
1555
  }
1556
1556
  };
1557
1557
  }
@@ -1559,12 +1559,12 @@ function yi(n) {
1559
1559
  let e, t, i, r, o;
1560
1560
  return t = new sr({}), {
1561
1561
  c() {
1562
- e = W("button"), Le(t.$$.fragment), b(e, "type", "button"), b(
1562
+ e = W("button"), Le(t.$$.fragment), v(e, "type", "button"), v(
1563
1563
  e,
1564
1564
  "title",
1565
1565
  /*reverseButtonTitle*/
1566
1566
  n[9]
1567
- ), b(e, "class", "svelte-qnu791"), ve(
1567
+ ), v(e, "class", "svelte-1uvos7g"), be(
1568
1568
  e,
1569
1569
  "active",
1570
1570
  /*reverseActive*/
@@ -1572,7 +1572,7 @@ function yi(n) {
1572
1572
  );
1573
1573
  },
1574
1574
  m(l, s) {
1575
- q(l, e, s), me(t, e, null), i = !0, r || (o = J(
1575
+ j(l, e, s), ge(t, e, null), i = !0, r || (o = J(
1576
1576
  e,
1577
1577
  "click",
1578
1578
  /*click_handler_2*/
@@ -1581,13 +1581,13 @@ function yi(n) {
1581
1581
  },
1582
1582
  p(l, s) {
1583
1583
  (!i || s[0] & /*reverseButtonTitle*/
1584
- 512) && b(
1584
+ 512) && v(
1585
1585
  e,
1586
1586
  "title",
1587
1587
  /*reverseButtonTitle*/
1588
1588
  l[9]
1589
1589
  ), (!i || s[0] & /*reverseActive*/
1590
- 1) && ve(
1590
+ 1) && be(
1591
1591
  e,
1592
1592
  "active",
1593
1593
  /*reverseActive*/
@@ -1595,13 +1595,13 @@ function yi(n) {
1595
1595
  );
1596
1596
  },
1597
1597
  i(l) {
1598
- i || (j(t.$$.fragment, l), i = !0);
1598
+ i || (q(t.$$.fragment, l), i = !0);
1599
1599
  },
1600
1600
  o(l) {
1601
1601
  H(t.$$.fragment, l), i = !1;
1602
1602
  },
1603
1603
  d(l) {
1604
- l && B(e), ge(t), r = !1, o();
1604
+ l && B(e), me(t), r = !1, o();
1605
1605
  }
1606
1606
  };
1607
1607
  }
@@ -1617,7 +1617,7 @@ function Er(n) {
1617
1617
  u[83].address : "")
1618
1618
  );
1619
1619
  for (let u = 0; u < s.length; u += 1) {
1620
- let d = mi(n, s, u), a = c(d);
1620
+ let d = gi(n, s, u), a = c(d);
1621
1621
  i.set(a, t[u] = pi(a, d));
1622
1622
  }
1623
1623
  return {
@@ -1625,10 +1625,10 @@ function Er(n) {
1625
1625
  e = W("ul");
1626
1626
  for (let u = 0; u < t.length; u += 1)
1627
1627
  t[u].c();
1628
- b(e, "class", "svelte-qnu791");
1628
+ v(e, "class", "svelte-1uvos7g");
1629
1629
  },
1630
1630
  m(u, d) {
1631
- q(u, e, d);
1631
+ j(u, e, d);
1632
1632
  for (let a = 0; a < t.length; a += 1)
1633
1633
  t[a] && t[a].m(e, null);
1634
1634
  r = !0, o || (l = [
@@ -1651,12 +1651,12 @@ function Er(n) {
1651
1651
  17880064 && (s = oi(
1652
1652
  /*listFeatures*/
1653
1653
  u[14]
1654
- ), ot(), t = Gn(t, d, c, 1, u, s, i, e, Un, pi, null, mi), st());
1654
+ ), ot(), t = Gn(t, d, c, 1, u, s, i, e, Un, pi, null, gi), st());
1655
1655
  },
1656
1656
  i(u) {
1657
1657
  if (!r) {
1658
1658
  for (let d = 0; d < s.length; d += 1)
1659
- j(t[d]);
1659
+ q(t[d]);
1660
1660
  r = !0;
1661
1661
  }
1662
1662
  },
@@ -1680,27 +1680,27 @@ function Lr(n) {
1680
1680
  e = W("div"), Le(t.$$.fragment), i = te(), r = W("div"), o = Ee(
1681
1681
  /*noResultsMessage*/
1682
1682
  n[7]
1683
- ), b(r, "class", "svelte-qnu791"), b(e, "class", "no-results svelte-qnu791");
1683
+ ), v(r, "class", "svelte-1uvos7g"), v(e, "class", "no-results svelte-1uvos7g");
1684
1684
  },
1685
1685
  m(s, c) {
1686
- q(s, e, c), me(t, e, null), R(e, i), R(e, r), R(r, o), l = !0;
1686
+ j(s, e, c), ge(t, e, null), R(e, i), R(e, r), R(r, o), l = !0;
1687
1687
  },
1688
1688
  p(s, c) {
1689
1689
  (!l || c[0] & /*noResultsMessage*/
1690
- 128) && Ze(
1690
+ 128) && qe(
1691
1691
  o,
1692
1692
  /*noResultsMessage*/
1693
1693
  s[7]
1694
1694
  );
1695
1695
  },
1696
1696
  i(s) {
1697
- l || (j(t.$$.fragment, s), l = !0);
1697
+ l || (q(t.$$.fragment, s), l = !0);
1698
1698
  },
1699
1699
  o(s) {
1700
1700
  H(t.$$.fragment, s), l = !1;
1701
1701
  },
1702
1702
  d(s) {
1703
- s && B(e), ge(t);
1703
+ s && B(e), me(t);
1704
1704
  }
1705
1705
  };
1706
1706
  }
@@ -1711,7 +1711,7 @@ function Sr(n) {
1711
1711
  t = Ee(e);
1712
1712
  },
1713
1713
  m(i, r) {
1714
- q(i, t, r);
1714
+ j(i, t, r);
1715
1715
  },
1716
1716
  p: z,
1717
1717
  i: z,
@@ -1728,10 +1728,10 @@ function xr(n) {
1728
1728
  e = W("div"), Le(t.$$.fragment), i = te(), r = W("div"), o = Ee(
1729
1729
  /*errorMessage*/
1730
1730
  n[6]
1731
- ), l = te(), s = W("button"), Le(c.$$.fragment), b(r, "class", "svelte-qnu791"), b(s, "class", "svelte-qnu791"), b(e, "class", "error svelte-qnu791");
1731
+ ), l = te(), s = W("button"), Le(c.$$.fragment), v(r, "class", "svelte-1uvos7g"), v(s, "class", "svelte-1uvos7g"), v(e, "class", "error svelte-1uvos7g");
1732
1732
  },
1733
1733
  m(f, h) {
1734
- q(f, e, h), me(t, e, null), R(e, i), R(e, r), R(r, o), R(e, l), R(e, s), me(c, s, null), u = !0, d || (a = J(
1734
+ j(f, e, h), ge(t, e, null), R(e, i), R(e, r), R(r, o), R(e, l), R(e, s), ge(c, s, null), u = !0, d || (a = J(
1735
1735
  s,
1736
1736
  "click",
1737
1737
  /*click_handler_3*/
@@ -1740,20 +1740,20 @@ function xr(n) {
1740
1740
  },
1741
1741
  p(f, h) {
1742
1742
  (!u || h[0] & /*errorMessage*/
1743
- 64) && Ze(
1743
+ 64) && qe(
1744
1744
  o,
1745
1745
  /*errorMessage*/
1746
1746
  f[6]
1747
1747
  );
1748
1748
  },
1749
1749
  i(f) {
1750
- u || (j(t.$$.fragment, f), j(c.$$.fragment, f), u = !0);
1750
+ u || (q(t.$$.fragment, f), q(c.$$.fragment, f), u = !0);
1751
1751
  },
1752
1752
  o(f) {
1753
1753
  H(t.$$.fragment, f), H(c.$$.fragment, f), u = !1;
1754
1754
  },
1755
1755
  d(f) {
1756
- f && B(e), ge(t), ge(c), d = !1, a();
1756
+ f && B(e), me(t), me(c), d = !1, a();
1757
1757
  }
1758
1758
  };
1759
1759
  }
@@ -1808,7 +1808,7 @@ function pi(n, e) {
1808
1808
  t = Pn(), Le(i.$$.fragment), this.first = t;
1809
1809
  },
1810
1810
  m(s, c) {
1811
- q(s, t, c), me(i, s, c), r = !0;
1811
+ j(s, t, c), ge(i, s, c), r = !0;
1812
1812
  },
1813
1813
  p(s, c) {
1814
1814
  e = s;
@@ -1825,22 +1825,22 @@ function pi(n, e) {
1825
1825
  e[12]), i.$set(u);
1826
1826
  },
1827
1827
  i(s) {
1828
- r || (j(i.$$.fragment, s), r = !0);
1828
+ r || (q(i.$$.fragment, s), r = !0);
1829
1829
  },
1830
1830
  o(s) {
1831
1831
  H(i.$$.fragment, s), r = !1;
1832
1832
  },
1833
1833
  d(s) {
1834
- s && B(t), ge(i, s);
1834
+ s && B(t), me(i, s);
1835
1835
  }
1836
1836
  };
1837
1837
  }
1838
1838
  function Mr(n) {
1839
- let e, t, i, r, o, l, s, c, u, d, a, f, h, g, y, v, p, E, _, x, C, S = !1;
1839
+ let e, t, i, r, o, l, s, c, u, d, a, f, h, m, y, b, p, E, _, x, C, S = !1;
1840
1840
  o = new ur({}), a = new Di({});
1841
1841
  let L = (
1842
1842
  /*abortController*/
1843
- n[19] && gi()
1843
+ n[19] && mi()
1844
1844
  ), w = (
1845
1845
  /*enableReverse*/
1846
1846
  n[5] === !0 && yi(n)
@@ -1856,7 +1856,7 @@ function Mr(n) {
1856
1856
  null
1857
1857
  ), A = [xr, Sr, Lr, Er], D = [];
1858
1858
  function O(M, U) {
1859
- var $, ie;
1859
+ var $, oe;
1860
1860
  return (
1861
1861
  /*error*/
1862
1862
  M[18] ? 0 : (
@@ -1866,38 +1866,38 @@ function Mr(n) {
1866
1866
  (($ = M[14]) == null ? void 0 : $.length) === 0 ? 2 : (
1867
1867
  /*focusedDelayed*/
1868
1868
  M[16] && /*listFeatures*/
1869
- ((ie = M[14]) != null && ie.length) ? 3 : -1
1869
+ ((oe = M[14]) != null && oe.length) ? 3 : -1
1870
1870
  )
1871
1871
  ) : 1
1872
1872
  )
1873
1873
  );
1874
1874
  }
1875
- return ~(v = O(n)) && (p = D[v] = A[v](n)), {
1875
+ return ~(b = O(n)) && (p = D[b] = A[b](n)), {
1876
1876
  c() {
1877
- e = te(), t = W("form"), i = W("div"), r = W("button"), Le(o.$$.fragment), l = te(), s = W("input"), c = te(), u = W("div"), d = W("button"), Le(a.$$.fragment), f = te(), L && L.c(), h = te(), w && w.c(), g = te(), I && I.c(), y = te(), p && p.c(), b(r, "class", "search-button svelte-qnu791"), b(r, "type", "button"), b(
1877
+ e = te(), t = W("form"), i = W("div"), r = W("button"), Le(o.$$.fragment), l = te(), s = W("input"), c = te(), u = W("div"), d = W("button"), Le(a.$$.fragment), f = te(), L && L.c(), h = te(), w && w.c(), m = te(), I && I.c(), y = te(), p && p.c(), v(r, "class", "search-button svelte-1uvos7g"), v(r, "type", "button"), v(
1878
1878
  s,
1879
1879
  "placeholder",
1880
1880
  /*placeholder*/
1881
1881
  n[8]
1882
- ), b(
1882
+ ), v(
1883
1883
  s,
1884
1884
  "aria-label",
1885
1885
  /*placeholder*/
1886
1886
  n[8]
1887
- ), b(s, "class", "svelte-qnu791"), b(d, "type", "button"), b(
1887
+ ), v(s, "class", "svelte-1uvos7g"), v(d, "type", "button"), v(
1888
1888
  d,
1889
1889
  "title",
1890
1890
  /*clearButtonTitle*/
1891
1891
  n[3]
1892
- ), b(d, "class", "svelte-qnu791"), b(u, "class", "clear-button-container svelte-qnu791"), ve(
1892
+ ), v(d, "class", "svelte-1uvos7g"), v(u, "class", "clear-button-container svelte-1uvos7g"), be(
1893
1893
  u,
1894
1894
  "displayable",
1895
1895
  /*searchValue*/
1896
1896
  n[1] !== ""
1897
- ), b(i, "class", "input-group svelte-qnu791"), b(t, "tabindex", "0"), b(t, "class", E = ti(
1897
+ ), v(i, "class", "input-group svelte-1uvos7g"), v(t, "tabindex", "0"), v(t, "class", E = ti(
1898
1898
  /*className*/
1899
1899
  n[2]
1900
- ) + " svelte-qnu791"), ve(
1900
+ ) + " svelte-1uvos7g"), be(
1901
1901
  t,
1902
1902
  "can-collapse",
1903
1903
  /*collapsed*/
@@ -1906,11 +1906,11 @@ function Mr(n) {
1906
1906
  );
1907
1907
  },
1908
1908
  m(M, U) {
1909
- q(M, e, U), q(M, t, U), R(t, i), R(i, r), me(o, r, null), R(i, l), R(i, s), n[62](s), ii(
1909
+ j(M, e, U), j(M, t, U), R(t, i), R(i, r), ge(o, r, null), R(i, l), R(i, s), n[62](s), ii(
1910
1910
  s,
1911
1911
  /*searchValue*/
1912
1912
  n[1]
1913
- ), R(i, c), R(i, u), R(u, d), me(a, d, null), R(u, f), L && L.m(u, null), R(i, h), w && w.m(i, null), R(i, g), I && I.m(i, null), R(t, y), ~v && D[v].m(t, null), _ = !0, x || (C = [
1913
+ ), R(i, c), R(i, u), R(u, d), ge(a, d, null), R(u, f), L && L.m(u, null), R(i, h), w && w.m(i, null), R(i, m), I && I.m(i, null), R(t, y), ~b && D[b].m(t, null), _ = !0, x || (C = [
1914
1914
  J(
1915
1915
  r,
1916
1916
  "click",
@@ -1961,13 +1961,13 @@ function Mr(n) {
1961
1961
  },
1962
1962
  p(M, U) {
1963
1963
  (!_ || U[0] & /*placeholder*/
1964
- 256) && b(
1964
+ 256) && v(
1965
1965
  s,
1966
1966
  "placeholder",
1967
1967
  /*placeholder*/
1968
1968
  M[8]
1969
1969
  ), (!_ || U[0] & /*placeholder*/
1970
- 256) && b(
1970
+ 256) && v(
1971
1971
  s,
1972
1972
  "aria-label",
1973
1973
  /*placeholder*/
@@ -1979,24 +1979,24 @@ function Mr(n) {
1979
1979
  /*searchValue*/
1980
1980
  M[1]
1981
1981
  ), (!_ || U[0] & /*clearButtonTitle*/
1982
- 8) && b(
1982
+ 8) && v(
1983
1983
  d,
1984
1984
  "title",
1985
1985
  /*clearButtonTitle*/
1986
1986
  M[3]
1987
1987
  ), /*abortController*/
1988
1988
  M[19] ? L ? U[0] & /*abortController*/
1989
- 524288 && j(L, 1) : (L = gi(), L.c(), j(L, 1), L.m(u, null)) : L && (ot(), H(L, 1, 1, () => {
1989
+ 524288 && q(L, 1) : (L = mi(), L.c(), q(L, 1), L.m(u, null)) : L && (ot(), H(L, 1, 1, () => {
1990
1990
  L = null;
1991
1991
  }), st()), (!_ || U[0] & /*searchValue*/
1992
- 2) && ve(
1992
+ 2) && be(
1993
1993
  u,
1994
1994
  "displayable",
1995
1995
  /*searchValue*/
1996
1996
  M[1] !== ""
1997
1997
  ), /*enableReverse*/
1998
1998
  M[5] === !0 ? w ? (w.p(M, U), U[0] & /*enableReverse*/
1999
- 32 && j(w, 1)) : (w = yi(M), w.c(), j(w, 1), w.m(i, g)) : w && (ot(), H(w, 1, 1, () => {
1999
+ 32 && q(w, 1)) : (w = yi(M), w.c(), q(w, 1), w.m(i, m)) : w && (ot(), H(w, 1, 1, () => {
2000
2000
  w = null;
2001
2001
  }), st()), I && I.p && (!_ || U[1] & /*$$scope*/
2002
2002
  268435456) && Cn(
@@ -2017,15 +2017,15 @@ function Mr(n) {
2017
2017
  ),
2018
2018
  null
2019
2019
  );
2020
- let $ = v;
2021
- v = O(M), v === $ ? ~v && D[v].p(M, U) : (p && (ot(), H(D[$], 1, 1, () => {
2020
+ let $ = b;
2021
+ b = O(M), b === $ ? ~b && D[b].p(M, U) : (p && (ot(), H(D[$], 1, 1, () => {
2022
2022
  D[$] = null;
2023
- }), st()), ~v ? (p = D[v], p ? p.p(M, U) : (p = D[v] = A[v](M), p.c()), j(p, 1), p.m(t, null)) : p = null), (!_ || U[0] & /*className*/
2023
+ }), st()), ~b ? (p = D[b], p ? p.p(M, U) : (p = D[b] = A[b](M), p.c()), q(p, 1), p.m(t, null)) : p = null), (!_ || U[0] & /*className*/
2024
2024
  4 && E !== (E = ti(
2025
2025
  /*className*/
2026
2026
  M[2]
2027
- ) + " svelte-qnu791")) && b(t, "class", E), (!_ || U[0] & /*className, collapsed, searchValue*/
2028
- 22) && ve(
2027
+ ) + " svelte-1uvos7g")) && v(t, "class", E), (!_ || U[0] & /*className, collapsed, searchValue*/
2028
+ 22) && be(
2029
2029
  t,
2030
2030
  "can-collapse",
2031
2031
  /*collapsed*/
@@ -2034,13 +2034,13 @@ function Mr(n) {
2034
2034
  );
2035
2035
  },
2036
2036
  i(M) {
2037
- _ || (j(S), j(o.$$.fragment, M), j(a.$$.fragment, M), j(L), j(w), j(I, M), j(p), _ = !0);
2037
+ _ || (q(S), q(o.$$.fragment, M), q(a.$$.fragment, M), q(L), q(w), q(I, M), q(p), _ = !0);
2038
2038
  },
2039
2039
  o(M) {
2040
2040
  H(S), H(o.$$.fragment, M), H(a.$$.fragment, M), H(L), H(w), H(I, M), H(p), _ = !1;
2041
2041
  },
2042
2042
  d(M) {
2043
- M && (B(e), B(t)), ge(o), n[62](null), ge(a), L && L.d(), w && w.d(), I && I.d(M), ~v && D[v].d(), x = !1, ye(C);
2043
+ M && (B(e), B(t)), me(o), n[62](null), me(a), L && L.d(), w && w.d(), I && I.d(M), ~b && D[b].d(), x = !1, ye(C);
2044
2044
  }
2045
2045
  };
2046
2046
  }
@@ -2070,7 +2070,7 @@ function kr(n, e, t) {
2070
2070
  "poi.restaurant": 18,
2071
2071
  "poi.aerodrome": 13
2072
2072
  };
2073
- let { class: s = void 0 } = e, { apiKey: c } = e, { bbox: u = void 0 } = e, { clearButtonTitle: d = "clear" } = e, { clearOnBlur: a = !1 } = e, { collapsed: f = !1 } = e, { country: h = void 0 } = e, { debounceSearch: g = 200 } = e, { enableReverse: y = !1 } = e, { errorMessage: v = "Something went wrong…" } = e, { filter: p = () => !0 } = e, { flyTo: E = !0 } = e, { fuzzyMatch: _ = !0 } = e, { language: x = void 0 } = e, { limit: C = void 0 } = e, { mapController: S = void 0 } = e, { minLength: L = 2 } = e, { noResultsMessage: w = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = e, { placeholder: k = "Search" } = e, { proximity: I = [{ type: "server-geolocation" }] } = e, { reverseActive: A = y === "always" } = e, { reverseButtonTitle: D = "toggle reverse geocoding" } = e, { searchValue: O = "" } = e, { showFullGeometry: M = !0 } = e, { showPlaceType: U = "ifNeeded" } = e, { showResultsWhileTyping: $ = !0 } = e, { selectFirst: ie = !0 } = e, { flyToSelected: dt = !1 } = e, { markerOnSelected: Ye = !0 } = e, { types: Me = void 0 } = e, { excludeTypes: Xe = !1 } = e, { zoom: Ie = l } = e, { maxZoom: Ke = void 0 } = e, { apiUrl: ht = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: mt = {} } = e, { iconsBaseUrl: Gt = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.4.2-dev.1/icons/" } = e, { adjustUrlQuery: gt = () => {
2073
+ let { class: s = void 0 } = e, { apiKey: c } = e, { bbox: u = void 0 } = e, { clearButtonTitle: d = "clear" } = e, { clearOnBlur: a = !1 } = e, { collapsed: f = !1 } = e, { country: h = void 0 } = e, { debounceSearch: m = 200 } = e, { enableReverse: y = !1 } = e, { errorMessage: b = "Something went wrong…" } = e, { filter: p = () => !0 } = e, { flyTo: E = !0 } = e, { fuzzyMatch: _ = !0 } = e, { language: x = void 0 } = e, { limit: C = void 0 } = e, { mapController: S = void 0 } = e, { minLength: L = 2 } = e, { noResultsMessage: w = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = e, { placeholder: k = "Search" } = e, { proximity: I = [{ type: "server-geolocation" }] } = e, { reverseActive: A = y === "always" } = e, { reverseButtonTitle: D = "toggle reverse geocoding" } = e, { searchValue: O = "" } = e, { showFullGeometry: M = !0 } = e, { showPlaceType: U = "ifNeeded" } = e, { showResultsWhileTyping: $ = !0 } = e, { selectFirst: oe = !0 } = e, { flyToSelected: dt = !1 } = e, { markerOnSelected: He = !0 } = e, { types: Ye = void 0 } = e, { excludeTypes: Xe = !1 } = e, { zoom: Re = l } = e, { maxZoom: Ke = void 0 } = e, { apiUrl: ht = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: gt = {} } = e, { iconsBaseUrl: Gt = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.4.2-dev.2/icons/" } = e, { adjustUrlQuery: mt = () => {
2074
2074
  } } = e;
2075
2075
  function Zi() {
2076
2076
  ue.focus();
@@ -2078,8 +2078,8 @@ function kr(n, e, t) {
2078
2078
  function Qi() {
2079
2079
  ue.blur();
2080
2080
  }
2081
- function zt(m, G = !0, V = !1) {
2082
- t(1, O = m), G ? (t(15, F = -1), jt()) : (vt(!V, V), setTimeout(() => {
2081
+ function zt(g, G = !0, V = !1) {
2082
+ t(1, O = g), G ? (t(15, F = -1), qt()) : (bt(!V, V), setTimeout(() => {
2083
2083
  ue.focus(), ue.select();
2084
2084
  }));
2085
2085
  }
@@ -2089,46 +2089,46 @@ function kr(n, e, t) {
2089
2089
  function Hi() {
2090
2090
  t(55, Z = []), t(56, N = void 0);
2091
2091
  }
2092
- let Oe = !1, T, Z, N, qt = "", ue, F = -1, ae, Je = [], ke, We, $e, yt;
2092
+ let Ie = !1, T, Z, N, jt = "", ue, F = -1, ae, Je = [], Me, Oe, $e, yt;
2093
2093
  const Yi = /* @__PURE__ */ new Set(), pe = Wn();
2094
2094
  On(() => {
2095
2095
  S && (S.setEventHandler(void 0), S.indicateReverse(!1), S.setSelectedMarker(-1), S.setMarkers(void 0, void 0));
2096
2096
  });
2097
- function jt(m) {
2098
- if (We && (clearTimeout(We), We = void 0), F > -1 && T)
2097
+ function qt(g) {
2098
+ if (Oe && (clearTimeout(Oe), Oe = void 0), F > -1 && T)
2099
2099
  t(56, N = T[F]), t(1, O = N.place_type[0] === "reverse" ? N.place_name : N.place_name.replace(/,.*/, "")), t(18, ae = void 0), t(55, Z = void 0), t(15, F = -1);
2100
2100
  else if (O) {
2101
- const G = m || !pt(O);
2102
- bt(O, { exact: !0 }).then(() => {
2101
+ const G = g || !pt(O);
2102
+ vt(O, { exact: !0 }).then(() => {
2103
2103
  t(55, Z = T), t(56, N = void 0), G && Xi();
2104
2104
  }).catch((V) => t(18, ae = V));
2105
2105
  }
2106
2106
  }
2107
- function pt(m) {
2107
+ function pt(g) {
2108
2108
  try {
2109
- return _r(m, 6);
2109
+ return _r(g, 6);
2110
2110
  } catch {
2111
2111
  return !1;
2112
2112
  }
2113
2113
  }
2114
- async function bt(m, { byId: G = !1, exact: V = !1 } = {}) {
2115
- t(18, ae = void 0), ke == null || ke.abort();
2114
+ async function vt(g, { byId: G = !1, exact: V = !1 } = {}) {
2115
+ t(18, ae = void 0), Me == null || Me.abort();
2116
2116
  const ee = new AbortController();
2117
- t(19, ke = ee);
2117
+ t(19, Me = ee);
2118
2118
  try {
2119
- const P = pt(m), Q = new URLSearchParams();
2120
- if (x !== void 0 && Q.set("language", Array.isArray(x) ? x.join(",") : x ?? ""), Me && Q.set("types", Me.join(",")), Xe && Q.set("excludeTypes", String(Xe)), u && Q.set("bbox", u.map((et) => et.toFixed(6)).join(",")), h && Q.set("country", Array.isArray(h) ? h.join(",") : h), !G && !P) {
2119
+ const P = pt(g), Q = new URLSearchParams();
2120
+ if (x !== void 0 && Q.set("language", Array.isArray(x) ? x.join(",") : x ?? ""), Ye && Q.set("types", Ye.join(",")), Xe && Q.set("excludeTypes", String(Xe)), u && Q.set("bbox", u.map((et) => et.toFixed(6)).join(",")), h && Q.set("country", Array.isArray(h) ? h.join(",") : h), !G && !P) {
2121
2121
  const et = await cr(S, I, ee);
2122
2122
  et && Q.set("proximity", et), (V || !$) && Q.set("autocomplete", "false"), Q.set("fuzzyMatch", String(_));
2123
2123
  }
2124
- C !== void 0 && (!P || (Me == null ? void 0 : Me.length) === 1) && Q.set("limit", String(C)), Q.set("key", c), gt(Q);
2125
- const ce = ht + "/" + encodeURIComponent(P ? P.decimalLongitude + "," + P.decimalLatitude : m) + ".json?" + Q.toString();
2126
- if (ce === qt) {
2124
+ C !== void 0 && Q.set("limit", String(C)), Q.set("key", c), mt(Q);
2125
+ const ce = ht + "/" + encodeURIComponent(P ? P.decimalLongitude + "," + P.decimalLatitude : g) + ".json?" + Q.toString();
2126
+ if (ce === jt) {
2127
2127
  G ? (t(14, T = void 0), t(56, N = Je[0])) : t(14, T = Je);
2128
2128
  return;
2129
2129
  }
2130
- qt = ce;
2131
- const _t = await fetch(ce, { signal: ee.signal, ...mt });
2130
+ jt = ce;
2131
+ const _t = await fetch(ce, { signal: ee.signal, ...gt });
2132
2132
  if (!_t.ok)
2133
2133
  throw new Error(await _t.text());
2134
2134
  const Et = await _t.json();
@@ -2156,109 +2156,109 @@ function kr(n, e, t) {
2156
2156
  return;
2157
2157
  throw P;
2158
2158
  } finally {
2159
- ee === ke && t(19, ke = void 0);
2159
+ ee === Me && t(19, Me = void 0);
2160
2160
  }
2161
2161
  }
2162
2162
  function Xi() {
2163
2163
  var ee;
2164
2164
  if (!(Z != null && Z.length) || !E)
2165
2165
  return;
2166
- const m = [180, 90, -180, -90], G = !Z.some((P) => !P.matching_text);
2166
+ const g = [180, 90, -180, -90], G = !Z.some((P) => !P.matching_text);
2167
2167
  let V;
2168
2168
  for (const P of Z) {
2169
- const Q = Ue(P);
2169
+ const Q = De(P);
2170
2170
  if (V = Ke ?? (V === void 0 ? Q : Q === void 0 ? V : Math.max(V, Q)), G || !P.matching_text)
2171
2171
  for (const ce of [0, 1, 2, 3])
2172
- m[ce] = Math[ce < 2 ? "min" : "max"](m[ce], ((ee = P.bbox) == null ? void 0 : ee[ce]) ?? P.center[ce % 2]);
2172
+ g[ce] = Math[ce < 2 ? "min" : "max"](g[ce], ((ee = P.bbox) == null ? void 0 : ee[ce]) ?? P.center[ce % 2]);
2173
2173
  }
2174
- S && Z.length > 0 && (N && m[0] === m[2] && m[1] === m[3] ? S.flyTo(N.center, Ue(N)) : S.fitBounds(ut(m), 50, V));
2174
+ S && Z.length > 0 && (N && g[0] === g[2] && g[1] === g[3] ? S.flyTo(N.center, De(N)) : S.fitBounds(ut(g), 50, V));
2175
2175
  }
2176
- function Ue(m) {
2176
+ function De(g) {
2177
2177
  var V;
2178
- if (!m.bbox || m.bbox[0] !== m.bbox[2] && m.bbox[1] !== m.bbox[3])
2178
+ if (!g.bbox || g.bbox[0] !== g.bbox[2] && g.bbox[1] !== g.bbox[3])
2179
2179
  return;
2180
- if (typeof Ie == "number")
2181
- return m.id.startsWith("poi.") || m.id.startsWith("address.") ? Ke : Ie;
2182
- const G = m.id.replace(/\..*/, "");
2183
- return (Array.isArray((V = m.properties) == null ? void 0 : V.categories) ? m.properties.categories.reduce(
2180
+ if (typeof Re == "number")
2181
+ return g.id.startsWith("poi.") || g.id.startsWith("address.") ? Ke : Re;
2182
+ const G = g.id.replace(/\..*/, "");
2183
+ return (Array.isArray((V = g.properties) == null ? void 0 : V.categories) ? g.properties.categories.reduce(
2184
2184
  (ee, P) => {
2185
- const Q = Ie[G + "." + P];
2185
+ const Q = Re[G + "." + P];
2186
2186
  return ee === void 0 ? Q : Q === void 0 ? ee : Math.max(ee, Q);
2187
2187
  },
2188
2188
  void 0
2189
- ) : void 0) ?? Ie[G];
2189
+ ) : void 0) ?? Re[G];
2190
2190
  }
2191
- function Ki(m) {
2192
- t(0, A = y === "always"), t(14, T = void 0), t(56, N = void 0), t(15, F = -1), zt(m[1].toFixed(6) + ", " + ar(m[0], [-180, 180], !0).toFixed(6), !1, !0);
2191
+ function Ki(g) {
2192
+ t(0, A = y === "always"), t(14, T = void 0), t(56, N = void 0), t(15, F = -1), zt(g[1].toFixed(6) + ", " + ar(g[0], [-180, 180], !0).toFixed(6), !1, !0);
2193
2193
  }
2194
- function Ji(m) {
2194
+ function Ji(g) {
2195
2195
  if (!T)
2196
2196
  return;
2197
- let G = m.key === "ArrowDown" ? 1 : m.key === "ArrowUp" ? -1 : 0;
2198
- G && (F === (ie ? 0 : -1) && G === -1 && t(15, F = T.length), t(15, F += G), F >= T.length && t(15, F = -1), F < 0 && ie && t(15, F = 0), m.preventDefault());
2197
+ let G = g.key === "ArrowDown" ? 1 : g.key === "ArrowUp" ? -1 : 0;
2198
+ G && (F === (oe ? 0 : -1) && G === -1 && t(15, F = T.length), t(15, F += G), F >= T.length && t(15, F = -1), F < 0 && oe && t(15, F = 0), g.preventDefault());
2199
2199
  }
2200
- function vt(m = !0, G = !1) {
2200
+ function bt(g = !0, G = !1) {
2201
2201
  if (t(18, ae = void 0), $ || G) {
2202
- if (We && clearTimeout(We), O.length < L)
2202
+ if (Oe && clearTimeout(Oe), O.length < L)
2203
2203
  return;
2204
2204
  const V = O;
2205
- We = window.setTimeout(
2205
+ Oe = window.setTimeout(
2206
2206
  () => {
2207
- bt(V).catch((ee) => t(18, ae = ee));
2207
+ vt(V).catch((ee) => t(18, ae = ee));
2208
2208
  },
2209
- m ? g : 0
2209
+ g ? m : 0
2210
2210
  );
2211
2211
  } else
2212
2212
  t(14, T = void 0), t(18, ae = void 0);
2213
2213
  }
2214
- function wt(m) {
2215
- t(56, N = m), t(1, O = m.place_name), t(15, F = -1);
2214
+ function wt(g) {
2215
+ t(56, N = g), t(1, O = g.place_name), t(15, F = -1);
2216
2216
  }
2217
2217
  const $i = () => ue.focus();
2218
- function en(m) {
2219
- Ct[m ? "unshift" : "push"](() => {
2220
- ue = m, t(17, ue);
2218
+ function en(g) {
2219
+ Ct[g ? "unshift" : "push"](() => {
2220
+ ue = g, t(17, ue);
2221
2221
  });
2222
2222
  }
2223
2223
  function tn() {
2224
- O = this.value, t(1, O), t(13, Oe), t(28, a);
2224
+ O = this.value, t(1, O), t(13, Ie), t(28, a);
2225
2225
  }
2226
- const nn = () => t(13, Oe = !0), rn = () => t(13, Oe = !1), on = () => vt(), sn = () => {
2226
+ const nn = () => t(13, Ie = !0), rn = () => t(13, Ie = !1), on = () => bt(), sn = () => {
2227
2227
  t(1, O = ""), ue.focus();
2228
- }, ln = () => t(0, A = !A), un = () => t(18, ae = void 0), an = (m) => t(15, F = m), cn = (m) => wt(m), fn = () => {
2229
- ie || t(15, F = -1);
2228
+ }, ln = () => t(0, A = !A), un = () => t(18, ae = void 0), an = (g) => t(15, F = g), cn = (g) => wt(g), fn = () => {
2229
+ oe || t(15, F = -1);
2230
2230
  }, dn = () => {
2231
2231
  };
2232
- return n.$$set = (m) => {
2233
- "class" in m && t(2, s = m.class), "apiKey" in m && t(26, c = m.apiKey), "bbox" in m && t(27, u = m.bbox), "clearButtonTitle" in m && t(3, d = m.clearButtonTitle), "clearOnBlur" in m && t(28, a = m.clearOnBlur), "collapsed" in m && t(4, f = m.collapsed), "country" in m && t(29, h = m.country), "debounceSearch" in m && t(30, g = m.debounceSearch), "enableReverse" in m && t(5, y = m.enableReverse), "errorMessage" in m && t(6, v = m.errorMessage), "filter" in m && t(31, p = m.filter), "flyTo" in m && t(32, E = m.flyTo), "fuzzyMatch" in m && t(33, _ = m.fuzzyMatch), "language" in m && t(34, x = m.language), "limit" in m && t(35, C = m.limit), "mapController" in m && t(36, S = m.mapController), "minLength" in m && t(37, L = m.minLength), "noResultsMessage" in m && t(7, w = m.noResultsMessage), "placeholder" in m && t(8, k = m.placeholder), "proximity" in m && t(38, I = m.proximity), "reverseActive" in m && t(0, A = m.reverseActive), "reverseButtonTitle" in m && t(9, D = m.reverseButtonTitle), "searchValue" in m && t(1, O = m.searchValue), "showFullGeometry" in m && t(39, M = m.showFullGeometry), "showPlaceType" in m && t(10, U = m.showPlaceType), "showResultsWhileTyping" in m && t(40, $ = m.showResultsWhileTyping), "selectFirst" in m && t(11, ie = m.selectFirst), "flyToSelected" in m && t(41, dt = m.flyToSelected), "markerOnSelected" in m && t(42, Ye = m.markerOnSelected), "types" in m && t(43, Me = m.types), "excludeTypes" in m && t(44, Xe = m.excludeTypes), "zoom" in m && t(45, Ie = m.zoom), "maxZoom" in m && t(46, Ke = m.maxZoom), "apiUrl" in m && t(47, ht = m.apiUrl), "fetchParameters" in m && t(48, mt = m.fetchParameters), "iconsBaseUrl" in m && t(12, Gt = m.iconsBaseUrl), "adjustUrlQuery" in m && t(49, gt = m.adjustUrlQuery), "$$scope" in m && t(59, o = m.$$scope);
2232
+ return n.$$set = (g) => {
2233
+ "class" in g && t(2, s = g.class), "apiKey" in g && t(26, c = g.apiKey), "bbox" in g && t(27, u = g.bbox), "clearButtonTitle" in g && t(3, d = g.clearButtonTitle), "clearOnBlur" in g && t(28, a = g.clearOnBlur), "collapsed" in g && t(4, f = g.collapsed), "country" in g && t(29, h = g.country), "debounceSearch" in g && t(30, m = g.debounceSearch), "enableReverse" in g && t(5, y = g.enableReverse), "errorMessage" in g && t(6, b = g.errorMessage), "filter" in g && t(31, p = g.filter), "flyTo" in g && t(32, E = g.flyTo), "fuzzyMatch" in g && t(33, _ = g.fuzzyMatch), "language" in g && t(34, x = g.language), "limit" in g && t(35, C = g.limit), "mapController" in g && t(36, S = g.mapController), "minLength" in g && t(37, L = g.minLength), "noResultsMessage" in g && t(7, w = g.noResultsMessage), "placeholder" in g && t(8, k = g.placeholder), "proximity" in g && t(38, I = g.proximity), "reverseActive" in g && t(0, A = g.reverseActive), "reverseButtonTitle" in g && t(9, D = g.reverseButtonTitle), "searchValue" in g && t(1, O = g.searchValue), "showFullGeometry" in g && t(39, M = g.showFullGeometry), "showPlaceType" in g && t(10, U = g.showPlaceType), "showResultsWhileTyping" in g && t(40, $ = g.showResultsWhileTyping), "selectFirst" in g && t(11, oe = g.selectFirst), "flyToSelected" in g && t(41, dt = g.flyToSelected), "markerOnSelected" in g && t(42, He = g.markerOnSelected), "types" in g && t(43, Ye = g.types), "excludeTypes" in g && t(44, Xe = g.excludeTypes), "zoom" in g && t(45, Re = g.zoom), "maxZoom" in g && t(46, Ke = g.maxZoom), "apiUrl" in g && t(47, ht = g.apiUrl), "fetchParameters" in g && t(48, gt = g.fetchParameters), "iconsBaseUrl" in g && t(12, Gt = g.iconsBaseUrl), "adjustUrlQuery" in g && t(49, mt = g.adjustUrlQuery), "$$scope" in g && t(59, o = g.$$scope);
2234
2234
  }, n.$$.update = () => {
2235
2235
  if (n.$$.dirty[0] & /*enableReverse*/
2236
2236
  32 && t(0, A = y === "always"), n.$$.dirty[0] & /*focused, clearOnBlur*/
2237
2237
  268443648 && setTimeout(() => {
2238
- t(16, $e = Oe), a && !Oe && t(1, O = "");
2238
+ t(16, $e = Ie), a && !Ie && t(1, O = "");
2239
2239
  }), n.$$.dirty[0] & /*searchValue, listFeatures*/
2240
2240
  16386 | n.$$.dirty[1] & /*minLength*/
2241
2241
  64 && O.length < L && (t(56, N = void 0), t(14, T = void 0), t(18, ae = void 0), t(55, Z = T)), n.$$.dirty[1] & /*showFullGeometry, picked*/
2242
- 33554688 && M && N && !N.address && N.geometry.type === "Point" && N.place_type[0] !== "reverse" && bt(N.id, { byId: !0 }).catch((m) => t(18, ae = m)), n.$$.dirty[1] & /*mapController, picked, prevIdToFly, flyTo*/
2243
- 100663330 && (S && N && N.id !== yt && E && (!N.bbox || N.bbox[0] === N.bbox[2] && N.bbox[1] === N.bbox[3] ? S.flyTo(N.center, Ue(N)) : S.fitBounds(ut(N.bbox), 50, Ue(N)), t(14, T = void 0), t(55, Z = void 0), t(15, F = -1)), t(57, yt = N == null ? void 0 : N.id)), n.$$.dirty[0] & /*selectFirst, listFeatures*/
2244
- 18432 && ie && T != null && T.length && t(15, F = 0), n.$$.dirty[0] & /*selectFirst, searchValue*/
2245
- 2050 && (ie || t(15, F = -1)), n.$$.dirty[0] & /*listFeatures*/
2242
+ 33554688 && M && N && !N.address && N.geometry.type === "Point" && N.place_type[0] !== "reverse" && vt(N.id, { byId: !0 }).catch((g) => t(18, ae = g)), n.$$.dirty[1] & /*mapController, picked, prevIdToFly, flyTo*/
2243
+ 100663330 && (S && N && N.id !== yt && E && (!N.bbox || N.bbox[0] === N.bbox[2] && N.bbox[1] === N.bbox[3] ? S.flyTo(N.center, De(N)) : S.fitBounds(ut(N.bbox), 50, De(N)), t(14, T = void 0), t(55, Z = void 0), t(15, F = -1)), t(57, yt = N == null ? void 0 : N.id)), n.$$.dirty[0] & /*selectFirst, listFeatures*/
2244
+ 18432 && oe && T != null && T.length && t(15, F = 0), n.$$.dirty[0] & /*searchValue*/
2245
+ 2 && t(15, F = -1), n.$$.dirty[0] & /*listFeatures*/
2246
2246
  16384 | n.$$.dirty[1] & /*markedFeatures*/
2247
2247
  16777216 && Z !== T && t(55, Z = void 0), n.$$.dirty[0] & /*reverseActive, listFeatures, focusedDelayed*/
2248
2248
  81921 | n.$$.dirty[1] & /*mapController, markedFeatures*/
2249
- 16777248 && S && S.setEventHandler((m) => {
2250
- switch (m.type) {
2249
+ 16777248 && S && S.setEventHandler((g) => {
2250
+ switch (g.type) {
2251
2251
  case "mapClick":
2252
- A && Ki(m.coordinates);
2252
+ A && Ki(g.coordinates);
2253
2253
  break;
2254
2254
  case "markerClick":
2255
2255
  {
2256
- const G = T == null ? void 0 : T.find((V) => V.id === m.id);
2256
+ const G = T == null ? void 0 : T.find((V) => V.id === g.id);
2257
2257
  G && wt(G);
2258
2258
  }
2259
2259
  break;
2260
2260
  case "markerMouseEnter":
2261
- Z && t(15, F = $e ? (T == null ? void 0 : T.findIndex((G) => G.id === m.id)) ?? -1 : -1);
2261
+ Z && t(15, F = $e ? (T == null ? void 0 : T.findIndex((G) => G.id === g.id)) ?? -1 : -1);
2262
2262
  break;
2263
2263
  case "markerMouseLeave":
2264
2264
  Z && t(15, F = -1);
@@ -2266,16 +2266,16 @@ function kr(n, e, t) {
2266
2266
  }
2267
2267
  }), n.$$.dirty[0] & /*listFeatures, selectedItemIndex*/
2268
2268
  49152 && t(58, i = T == null ? void 0 : T[F]), n.$$.dirty[1] & /*mapController, selected, flyTo, flyToSelected*/
2269
- 134218786 && S && i && E && dt && S.flyTo(i.center, Ue(i)), n.$$.dirty[1] & /*markerOnSelected, mapController*/
2270
- 2080 && (Ye || S == null || S.setMarkers(void 0, void 0)), n.$$.dirty[1] & /*mapController, markerOnSelected, markedFeatures, selected*/
2271
- 150997024 && S && Ye && !Z && (S.setMarkers(i ? [i] : void 0, void 0), S.setSelectedMarker(i ? 0 : -1)), n.$$.dirty[1] & /*mapController, markedFeatures, picked*/
2269
+ 134218786 && S && i && E && dt && S.flyTo(i.center, De(i)), n.$$.dirty[1] & /*markerOnSelected, mapController*/
2270
+ 2080 && (He || S == null || S.setMarkers(void 0, void 0)), n.$$.dirty[1] & /*mapController, markerOnSelected, markedFeatures, selected*/
2271
+ 150997024 && S && He && !Z && (S.setMarkers(i ? [i] : void 0, void 0), S.setSelectedMarker(i ? 0 : -1)), n.$$.dirty[1] & /*mapController, markedFeatures, picked*/
2272
2272
  50331680 && S && S.setMarkers(Z, N), n.$$.dirty[0] & /*selectedItemIndex*/
2273
2273
  32768 | n.$$.dirty[1] & /*markedFeatures, mapController*/
2274
2274
  16777248 && Z && S && S.setSelectedMarker(F), n.$$.dirty[0] & /*searchValue*/
2275
2275
  2 | n.$$.dirty[1] & /*mapController*/
2276
2276
  32 && S) {
2277
- const m = pt(O);
2278
- S.setReverseMarker(m ? [m.decimalLongitude, m.decimalLatitude] : void 0);
2277
+ const g = pt(O);
2278
+ S.setReverseMarker(g ? [g.decimalLongitude, g.decimalLatitude] : void 0);
2279
2279
  }
2280
2280
  n.$$.dirty[1] & /*selected*/
2281
2281
  134217728 && pe("select", i), n.$$.dirty[1] & /*picked*/
@@ -2294,31 +2294,31 @@ function kr(n, e, t) {
2294
2294
  d,
2295
2295
  f,
2296
2296
  y,
2297
- v,
2297
+ b,
2298
2298
  w,
2299
2299
  k,
2300
2300
  D,
2301
2301
  U,
2302
- ie,
2302
+ oe,
2303
2303
  Gt,
2304
- Oe,
2304
+ Ie,
2305
2305
  T,
2306
2306
  F,
2307
2307
  $e,
2308
2308
  ue,
2309
2309
  ae,
2310
- ke,
2310
+ Me,
2311
2311
  Yi,
2312
- jt,
2312
+ qt,
2313
2313
  Ji,
2314
- vt,
2314
+ bt,
2315
2315
  wt,
2316
2316
  l,
2317
2317
  c,
2318
2318
  u,
2319
2319
  a,
2320
2320
  h,
2321
- g,
2321
+ m,
2322
2322
  p,
2323
2323
  E,
2324
2324
  _,
@@ -2330,14 +2330,14 @@ function kr(n, e, t) {
2330
2330
  M,
2331
2331
  $,
2332
2332
  dt,
2333
+ He,
2333
2334
  Ye,
2334
- Me,
2335
2335
  Xe,
2336
- Ie,
2336
+ Re,
2337
2337
  Ke,
2338
2338
  ht,
2339
- mt,
2340
2339
  gt,
2340
+ mt,
2341
2341
  Zi,
2342
2342
  Qi,
2343
2343
  zt,
@@ -2364,14 +2364,14 @@ function kr(n, e, t) {
2364
2364
  dn
2365
2365
  ];
2366
2366
  }
2367
- let Cr = class extends Re {
2367
+ let Cr = class extends Te {
2368
2368
  constructor(e) {
2369
- super(), Te(
2369
+ super(), Pe(
2370
2370
  this,
2371
2371
  e,
2372
2372
  kr,
2373
2373
  Mr,
2374
- Pe,
2374
+ Ne,
2375
2375
  {
2376
2376
  ZOOM_DEFAULTS: 25,
2377
2377
  class: 2,
@@ -2473,8 +2473,8 @@ function Gi(n, e, t = {}) {
2473
2473
  }
2474
2474
  function zi(n, e, t) {
2475
2475
  if (n !== null)
2476
- for (var i, r, o, l, s, c, u, d = 0, a = 0, f, h = n.type, g = h === "FeatureCollection", y = h === "Feature", v = g ? n.features.length : 1, p = 0; p < v; p++) {
2477
- u = g ? n.features[p].geometry : y ? n.geometry : n, f = u ? u.type === "GeometryCollection" : !1, s = f ? u.geometries.length : 1;
2476
+ for (var i, r, o, l, s, c, u, d = 0, a = 0, f, h = n.type, m = h === "FeatureCollection", y = h === "Feature", b = m ? n.features.length : 1, p = 0; p < b; p++) {
2477
+ u = m ? n.features[p].geometry : y ? n.geometry : n, f = u ? u.type === "GeometryCollection" : !1, s = f ? u.geometries.length : 1;
2478
2478
  for (var E = 0; E < s; E++) {
2479
2479
  var _ = 0, x = 0;
2480
2480
  if (l = f ? u.geometries[E] : u, l !== null) {
@@ -2559,9 +2559,9 @@ function zi(n, e, t) {
2559
2559
  }
2560
2560
  }
2561
2561
  function Dt(n, e) {
2562
- var t, i, r, o, l, s, c, u, d, a, f = 0, h = n.type === "FeatureCollection", g = n.type === "Feature", y = h ? n.features.length : 1;
2562
+ var t, i, r, o, l, s, c, u, d, a, f = 0, h = n.type === "FeatureCollection", m = n.type === "Feature", y = h ? n.features.length : 1;
2563
2563
  for (t = 0; t < y; t++) {
2564
- for (s = h ? n.features[t].geometry : g ? n.geometry : n, u = h ? n.features[t].properties : g ? n.properties : {}, d = h ? n.features[t].bbox : g ? n.bbox : void 0, a = h ? n.features[t].id : g ? n.id : void 0, c = s ? s.type === "GeometryCollection" : !1, l = c ? s.geometries.length : 1, r = 0; r < l; r++) {
2564
+ for (s = h ? n.features[t].geometry : m ? n.geometry : n, u = h ? n.features[t].properties : m ? n.properties : {}, d = h ? n.features[t].bbox : m ? n.bbox : void 0, a = h ? n.features[t].id : m ? n.id : void 0, c = s ? s.type === "GeometryCollection" : !1, l = c ? s.geometries.length : 1, r = 0; r < l; r++) {
2565
2565
  if (o = c ? s.geometries[r] : s, o === null) {
2566
2566
  if (e(
2567
2567
  null,
@@ -2653,7 +2653,7 @@ function Pr(n, e = {}) {
2653
2653
  t[0] > i[0] && (t[0] = i[0]), t[1] > i[1] && (t[1] = i[1]), t[2] < i[0] && (t[2] = i[0]), t[3] < i[1] && (t[3] = i[1]);
2654
2654
  }), t;
2655
2655
  }
2656
- var bi = Pr;
2656
+ var vi = Pr;
2657
2657
  /**
2658
2658
  * splaytree v3.1.2
2659
2659
  * Fast Splay tree for Node and browser
@@ -2748,7 +2748,7 @@ var Se = (
2748
2748
  function Rr(n, e) {
2749
2749
  return n > e ? 1 : n < e ? -1 : 0;
2750
2750
  }
2751
- function be(n, e, t) {
2751
+ function ve(n, e, t) {
2752
2752
  for (var i = new Se(null, null), r = i, o = i; ; ) {
2753
2753
  var l = t(n, e.key);
2754
2754
  if (l < 0) {
@@ -2778,21 +2778,21 @@ function Mt(n, e, t, i) {
2778
2778
  var r = new Se(n, e);
2779
2779
  if (t === null)
2780
2780
  return r.left = r.right = null, r;
2781
- t = be(n, t, i);
2781
+ t = ve(n, t, i);
2782
2782
  var o = i(n, t.key);
2783
2783
  return o < 0 ? (r.left = t.left, r.right = t, t.left = null) : o >= 0 && (r.right = t.right, r.left = t, t.right = null), r;
2784
2784
  }
2785
- function vi(n, e, t) {
2785
+ function bi(n, e, t) {
2786
2786
  var i = null, r = null;
2787
2787
  if (e) {
2788
- e = be(n, e, t);
2788
+ e = ve(n, e, t);
2789
2789
  var o = t(e.key, n);
2790
2790
  o === 0 ? (i = e.left, r = e.right) : o < 0 ? (r = e.right, e.right = null, i = e) : (i = e.left, e.left = null, r = e);
2791
2791
  }
2792
2792
  return { left: i, right: r };
2793
2793
  }
2794
2794
  function Ir(n, e, t) {
2795
- return e === null ? n : (n === null || (e = be(n.key, e, t), e.left = n), e);
2795
+ return e === null ? n : (n === null || (e = ve(n.key, e, t), e.left = n), e);
2796
2796
  }
2797
2797
  function Rt(n, e, t, i, r) {
2798
2798
  if (n) {
@@ -2813,7 +2813,7 @@ var Ut = (
2813
2813
  }, n.prototype.add = function(e, t) {
2814
2814
  var i = new Se(e, t);
2815
2815
  this._root === null && (i.left = i.right = null, this._size++, this._root = i);
2816
- var r = this._comparator, o = be(e, this._root, r), l = r(e, o.key);
2816
+ var r = this._comparator, o = ve(e, this._root, r), l = r(e, o.key);
2817
2817
  return l === 0 ? this._root = o : (l < 0 ? (i.left = o.left, i.right = o, o.left = null) : l > 0 && (i.right = o.right, i.left = o, o.right = null), this._size++, this._root = i), this._root;
2818
2818
  }, n.prototype.remove = function(e) {
2819
2819
  this._root = this._remove(e, this._root, this._comparator);
@@ -2821,15 +2821,15 @@ var Ut = (
2821
2821
  var r;
2822
2822
  if (t === null)
2823
2823
  return null;
2824
- t = be(e, t, i);
2824
+ t = ve(e, t, i);
2825
2825
  var o = i(e, t.key);
2826
- return o === 0 ? (t.left === null ? r = t.right : (r = be(e, t.left, i), r.right = t.right), this._size--, r) : t;
2826
+ return o === 0 ? (t.left === null ? r = t.right : (r = ve(e, t.left, i), r.right = t.right), this._size--, r) : t;
2827
2827
  }, n.prototype.pop = function() {
2828
2828
  var e = this._root;
2829
2829
  if (e) {
2830
2830
  for (; e.left; )
2831
2831
  e = e.left;
2832
- return this._root = be(e.key, this._root, this._comparator), this._root = this._remove(e.key, this._root, this._comparator), { key: e.key, data: e.data };
2832
+ return this._root = ve(e.key, this._root, this._comparator), this._root = this._remove(e.key, this._root, this._comparator), { key: e.key, data: e.data };
2833
2833
  }
2834
2834
  return null;
2835
2835
  }, n.prototype.findStatic = function(e) {
@@ -2841,7 +2841,7 @@ var Ut = (
2841
2841
  }
2842
2842
  return null;
2843
2843
  }, n.prototype.find = function(e) {
2844
- return this._root && (this._root = be(e, this._root, this._comparator), this._comparator(e, this._root.key) !== 0) ? null : this._root;
2844
+ return this._root && (this._root = ve(e, this._root, this._comparator), this._comparator(e, this._root.key) !== 0) ? null : this._root;
2845
2845
  }, n.prototype.contains = function(e) {
2846
2846
  for (var t = this._root, i = this._comparator; t; ) {
2847
2847
  var r = i(e, t.key);
@@ -2968,10 +2968,10 @@ var Ut = (
2968
2968
  return t.push(i);
2969
2969
  }, e), t.join("");
2970
2970
  }, n.prototype.update = function(e, t, i) {
2971
- var r = this._comparator, o = vi(e, this._root, r), l = o.left, s = o.right;
2971
+ var r = this._comparator, o = bi(e, this._root, r), l = o.left, s = o.right;
2972
2972
  r(e, t) < 0 ? s = Mt(t, i, s, r) : l = Mt(t, i, l, r), this._root = Ir(l, s, r);
2973
2973
  }, n.prototype.split = function(e) {
2974
- return vi(e, this._root, this._comparator);
2974
+ return bi(e, this._root, this._comparator);
2975
2975
  }, n.prototype[Symbol.iterator] = function() {
2976
2976
  var e, t, i;
2977
2977
  return Tr(this, function(r) {
@@ -3065,29 +3065,29 @@ function Br(n, e) {
3065
3065
  for (let i = 1; i < n; i++) t += e[i];
3066
3066
  return t;
3067
3067
  }
3068
- function He(n) {
3068
+ function Ve(n) {
3069
3069
  return new Float64Array(n);
3070
3070
  }
3071
- const Dr = (3 + 16 * he) * he, Ur = (2 + 12 * he) * he, Gr = (9 + 64 * he) * he * he, Fe = He(4), wi = He(8), _i = He(12), Ei = He(16), K = He(4);
3071
+ const Dr = (3 + 16 * he) * he, Ur = (2 + 12 * he) * he, Gr = (9 + 64 * he) * he * he, Ae = Ve(4), wi = Ve(8), _i = Ve(12), Ei = Ve(16), K = Ve(4);
3072
3072
  function zr(n, e, t, i, r, o, l) {
3073
- let s, c, u, d, a, f, h, g, y, v, p, E, _, x, C, S, L, w;
3073
+ let s, c, u, d, a, f, h, m, y, b, p, E, _, x, C, S, L, w;
3074
3074
  const k = n - r, I = t - r, A = e - o, D = i - o;
3075
- x = k * D, f = Y * k, h = f - (f - k), g = k - h, f = Y * D, y = f - (f - D), v = D - y, C = g * v - (x - h * y - g * y - h * v), S = A * I, f = Y * A, h = f - (f - A), g = A - h, f = Y * I, y = f - (f - I), v = I - y, L = g * v - (S - h * y - g * y - h * v), p = C - L, a = C - p, Fe[0] = C - (p + a) + (a - L), E = x + p, a = E - x, _ = x - (E - a) + (p - a), p = _ - S, a = _ - p, Fe[1] = _ - (p + a) + (a - S), w = E + p, a = w - E, Fe[2] = E - (w - a) + (p - a), Fe[3] = w;
3076
- let O = Br(4, Fe), M = Ur * l;
3075
+ x = k * D, f = Y * k, h = f - (f - k), m = k - h, f = Y * D, y = f - (f - D), b = D - y, C = m * b - (x - h * y - m * y - h * b), S = A * I, f = Y * A, h = f - (f - A), m = A - h, f = Y * I, y = f - (f - I), b = I - y, L = m * b - (S - h * y - m * y - h * b), p = C - L, a = C - p, Ae[0] = C - (p + a) + (a - L), E = x + p, a = E - x, _ = x - (E - a) + (p - a), p = _ - S, a = _ - p, Ae[1] = _ - (p + a) + (a - S), w = E + p, a = w - E, Ae[2] = E - (w - a) + (p - a), Ae[3] = w;
3076
+ let O = Br(4, Ae), M = Ur * l;
3077
3077
  if (O >= M || -O >= M || (a = n - k, s = n - (k + a) + (a - r), a = t - I, u = t - (I + a) + (a - r), a = e - A, c = e - (A + a) + (a - o), a = i - D, d = i - (D + a) + (a - o), s === 0 && c === 0 && u === 0 && d === 0) || (M = Gr * l + Fr * Math.abs(O), O += k * d + D * s - (A * u + I * c), O >= M || -O >= M)) return O;
3078
- x = s * D, f = Y * s, h = f - (f - s), g = s - h, f = Y * D, y = f - (f - D), v = D - y, C = g * v - (x - h * y - g * y - h * v), S = c * I, f = Y * c, h = f - (f - c), g = c - h, f = Y * I, y = f - (f - I), v = I - y, L = g * v - (S - h * y - g * y - h * v), p = C - L, a = C - p, K[0] = C - (p + a) + (a - L), E = x + p, a = E - x, _ = x - (E - a) + (p - a), p = _ - S, a = _ - p, K[1] = _ - (p + a) + (a - S), w = E + p, a = w - E, K[2] = E - (w - a) + (p - a), K[3] = w;
3079
- const U = kt(4, Fe, 4, K, wi);
3080
- x = k * d, f = Y * k, h = f - (f - k), g = k - h, f = Y * d, y = f - (f - d), v = d - y, C = g * v - (x - h * y - g * y - h * v), S = A * u, f = Y * A, h = f - (f - A), g = A - h, f = Y * u, y = f - (f - u), v = u - y, L = g * v - (S - h * y - g * y - h * v), p = C - L, a = C - p, K[0] = C - (p + a) + (a - L), E = x + p, a = E - x, _ = x - (E - a) + (p - a), p = _ - S, a = _ - p, K[1] = _ - (p + a) + (a - S), w = E + p, a = w - E, K[2] = E - (w - a) + (p - a), K[3] = w;
3078
+ x = s * D, f = Y * s, h = f - (f - s), m = s - h, f = Y * D, y = f - (f - D), b = D - y, C = m * b - (x - h * y - m * y - h * b), S = c * I, f = Y * c, h = f - (f - c), m = c - h, f = Y * I, y = f - (f - I), b = I - y, L = m * b - (S - h * y - m * y - h * b), p = C - L, a = C - p, K[0] = C - (p + a) + (a - L), E = x + p, a = E - x, _ = x - (E - a) + (p - a), p = _ - S, a = _ - p, K[1] = _ - (p + a) + (a - S), w = E + p, a = w - E, K[2] = E - (w - a) + (p - a), K[3] = w;
3079
+ const U = kt(4, Ae, 4, K, wi);
3080
+ x = k * d, f = Y * k, h = f - (f - k), m = k - h, f = Y * d, y = f - (f - d), b = d - y, C = m * b - (x - h * y - m * y - h * b), S = A * u, f = Y * A, h = f - (f - A), m = A - h, f = Y * u, y = f - (f - u), b = u - y, L = m * b - (S - h * y - m * y - h * b), p = C - L, a = C - p, K[0] = C - (p + a) + (a - L), E = x + p, a = E - x, _ = x - (E - a) + (p - a), p = _ - S, a = _ - p, K[1] = _ - (p + a) + (a - S), w = E + p, a = w - E, K[2] = E - (w - a) + (p - a), K[3] = w;
3081
3081
  const $ = kt(U, wi, 4, K, _i);
3082
- x = s * d, f = Y * s, h = f - (f - s), g = s - h, f = Y * d, y = f - (f - d), v = d - y, C = g * v - (x - h * y - g * y - h * v), S = c * u, f = Y * c, h = f - (f - c), g = c - h, f = Y * u, y = f - (f - u), v = u - y, L = g * v - (S - h * y - g * y - h * v), p = C - L, a = C - p, K[0] = C - (p + a) + (a - L), E = x + p, a = E - x, _ = x - (E - a) + (p - a), p = _ - S, a = _ - p, K[1] = _ - (p + a) + (a - S), w = E + p, a = w - E, K[2] = E - (w - a) + (p - a), K[3] = w;
3083
- const ie = kt($, _i, 4, K, Ei);
3084
- return Ei[ie - 1];
3082
+ x = s * d, f = Y * s, h = f - (f - s), m = s - h, f = Y * d, y = f - (f - d), b = d - y, C = m * b - (x - h * y - m * y - h * b), S = c * u, f = Y * c, h = f - (f - c), m = c - h, f = Y * u, y = f - (f - u), b = u - y, L = m * b - (S - h * y - m * y - h * b), p = C - L, a = C - p, K[0] = C - (p + a) + (a - L), E = x + p, a = E - x, _ = x - (E - a) + (p - a), p = _ - S, a = _ - p, K[1] = _ - (p + a) + (a - S), w = E + p, a = w - E, K[2] = E - (w - a) + (p - a), K[3] = w;
3083
+ const oe = kt($, _i, 4, K, Ei);
3084
+ return Ei[oe - 1];
3085
3085
  }
3086
- function qr(n, e, t, i, r, o) {
3086
+ function jr(n, e, t, i, r, o) {
3087
3087
  const l = (e - o) * (t - r), s = (n - r) * (i - o), c = l - s, u = Math.abs(l + s);
3088
3088
  return Math.abs(c) >= Dr * u ? c : -zr(n, e, t, i, r, o, u);
3089
3089
  }
3090
- const qe = (n, e) => n.ll.x <= e.x && e.x <= n.ur.x && n.ll.y <= e.y && e.y <= n.ur.y, At = (n, e) => {
3090
+ const ze = (n, e) => n.ll.x <= e.x && e.x <= n.ur.x && n.ll.y <= e.y && e.y <= n.ur.y, At = (n, e) => {
3091
3091
  if (e.ur.x < n.ll.x || n.ur.x < e.ll.x || e.ur.y < n.ll.y || n.ur.y < e.ll.y) return null;
3092
3092
  const t = n.ll.x < e.ll.x ? e.ll.x : n.ll.x, i = n.ur.x < e.ur.x ? n.ur.x : e.ur.x, r = n.ll.y < e.ll.y ? e.ll.y : n.ll.y, o = n.ur.y < e.ur.y ? n.ur.y : e.ur.y;
3093
3093
  return {
@@ -3103,11 +3103,11 @@ const qe = (n, e) => n.ll.x <= e.x && e.x <= n.ur.x && n.ll.y <= e.y && e.y <= n
3103
3103
  };
3104
3104
  let we = Number.EPSILON;
3105
3105
  we === void 0 && (we = Math.pow(2, -52));
3106
- const jr = we * we, Li = (n, e) => {
3106
+ const qr = we * we, Li = (n, e) => {
3107
3107
  if (-we < n && n < we && -we < e && e < we)
3108
3108
  return 0;
3109
3109
  const t = n - e;
3110
- return t * t < jr * n * e ? 0 : n < e ? -1 : 1;
3110
+ return t * t < qr * n * e ? 0 : n < e ? -1 : 1;
3111
3111
  };
3112
3112
  class Zr {
3113
3113
  constructor() {
@@ -3142,10 +3142,10 @@ class Si {
3142
3142
  return r !== null && Li(t.key, r.key) === 0 ? (this.tree.remove(e), r.key) : e;
3143
3143
  }
3144
3144
  }
3145
- const Ve = new Zr(), lt = (n, e) => n.x * e.y - n.y * e.x, qi = (n, e) => n.x * e.x + n.y * e.y, xi = (n, e, t) => {
3146
- const i = qr(n.x, n.y, e.x, e.y, t.x, t.y);
3145
+ const Qe = new Zr(), lt = (n, e) => n.x * e.y - n.y * e.x, ji = (n, e) => n.x * e.x + n.y * e.y, xi = (n, e, t) => {
3146
+ const i = jr(n.x, n.y, e.x, e.y, t.x, t.y);
3147
3147
  return i > 0 ? -1 : i < 0 ? 1 : 0;
3148
- }, ct = (n) => Math.sqrt(qi(n, n)), Qr = (n, e, t) => {
3148
+ }, ct = (n) => Math.sqrt(ji(n, n)), Qr = (n, e, t) => {
3149
3149
  const i = {
3150
3150
  x: e.x - n.x,
3151
3151
  y: e.y - n.y
@@ -3162,7 +3162,7 @@ const Ve = new Zr(), lt = (n, e) => n.x * e.y - n.y * e.x, qi = (n, e) => n.x *
3162
3162
  x: t.x - n.x,
3163
3163
  y: t.y - n.y
3164
3164
  };
3165
- return qi(r, i) / ct(r) / ct(i);
3165
+ return ji(r, i) / ct(r) / ct(i);
3166
3166
  }, Mi = (n, e, t) => e.y === 0 ? null : {
3167
3167
  x: n.x + e.x / e.y * (t - n.y),
3168
3168
  y: t
@@ -3185,10 +3185,10 @@ const Ve = new Zr(), lt = (n, e) => n.x * e.y - n.y * e.x, qi = (n, e) => n.x *
3185
3185
  y: h
3186
3186
  };
3187
3187
  };
3188
- class oe {
3188
+ class re {
3189
3189
  // for ordering sweep events in the sweep event queue
3190
3190
  static compare(e, t) {
3191
- const i = oe.comparePoints(e.point, t.point);
3191
+ const i = re.comparePoints(e.point, t.point);
3192
3192
  return i !== 0 ? i : (e.point !== t.point && e.link(t), e.isLeft !== t.isLeft ? e.isLeft ? 1 : -1 : _e.compare(e.segment, t.segment));
3193
3193
  }
3194
3194
  // for ordering points in sweep line order
@@ -3310,9 +3310,9 @@ class _e {
3310
3310
  if (a > 0) return -1;
3311
3311
  }
3312
3312
  if (o !== l) {
3313
- const a = u - s, f = o - i, h = d - c, g = l - r;
3314
- if (a > f && h < g) return 1;
3315
- if (a < f && h > g) return -1;
3313
+ const a = u - s, f = o - i, h = d - c, m = l - r;
3314
+ if (a > f && h < m) return 1;
3315
+ if (a < f && h > m) return -1;
3316
3316
  }
3317
3317
  return o > l ? 1 : o < l || u < d ? -1 : u > d ? 1 : e.id < t.id ? -1 : e.id > t.id ? 1 : 0;
3318
3318
  }
@@ -3323,13 +3323,13 @@ class _e {
3323
3323
  }
3324
3324
  static fromRing(e, t, i) {
3325
3325
  let r, o, l;
3326
- const s = oe.comparePoints(e, t);
3326
+ const s = re.comparePoints(e, t);
3327
3327
  if (s < 0)
3328
3328
  r = e, o = t, l = 1;
3329
3329
  else if (s > 0)
3330
3330
  r = t, o = e, l = -1;
3331
3331
  else throw new Error(`Tried to create degenerate segment at [${e.x}, ${e.y}]`);
3332
- const c = new oe(r, !0), u = new oe(o, !1);
3332
+ const c = new re(r, !0), u = new re(o, !1);
3333
3333
  return new _e(c, u, [i], [l]);
3334
3334
  }
3335
3335
  /* When a segment is split, the rightSE is replaced with a new sweep event */
@@ -3400,7 +3400,7 @@ class _e {
3400
3400
  getIntersection(e) {
3401
3401
  const t = this.bbox(), i = e.bbox(), r = At(t, i);
3402
3402
  if (r === null) return null;
3403
- const o = this.leftSE.point, l = this.rightSE.point, s = e.leftSE.point, c = e.rightSE.point, u = qe(t, s) && this.comparePoint(s) === 0, d = qe(i, o) && e.comparePoint(o) === 0, a = qe(t, c) && this.comparePoint(c) === 0, f = qe(i, l) && e.comparePoint(l) === 0;
3403
+ const o = this.leftSE.point, l = this.rightSE.point, s = e.leftSE.point, c = e.rightSE.point, u = ze(t, s) && this.comparePoint(s) === 0, d = ze(i, o) && e.comparePoint(o) === 0, a = ze(t, c) && this.comparePoint(c) === 0, f = ze(i, l) && e.comparePoint(l) === 0;
3404
3404
  if (d && u)
3405
3405
  return f && !a ? l : !f && a ? c : null;
3406
3406
  if (d)
@@ -3411,7 +3411,7 @@ class _e {
3411
3411
  if (f) return l;
3412
3412
  if (a) return c;
3413
3413
  const h = Hr(o, this.vector(), s, e.vector());
3414
- return h === null || !qe(r, h) ? null : Ve.round(h.x, h.y);
3414
+ return h === null || !ze(r, h) ? null : Qe.round(h.x, h.y);
3415
3415
  }
3416
3416
  /**
3417
3417
  * Split the given segment into multiple segments on the given points.
@@ -3426,10 +3426,10 @@ class _e {
3426
3426
  * Warning: input array of points is modified
3427
3427
  */
3428
3428
  split(e) {
3429
- const t = [], i = e.events !== void 0, r = new oe(e, !0), o = new oe(e, !1), l = this.rightSE;
3429
+ const t = [], i = e.events !== void 0, r = new re(e, !0), o = new re(e, !1), l = this.rightSE;
3430
3430
  this.replaceRightSE(o), t.push(o), t.push(r);
3431
3431
  const s = new _e(r, l, this.rings.slice(), this.windings.slice());
3432
- return oe.comparePoints(s.leftSE.point, s.rightSE.point) > 0 && s.swapEvents(), oe.comparePoints(this.leftSE.point, this.rightSE.point) > 0 && this.swapEvents(), i && (r.checkForConsuming(), o.checkForConsuming()), t;
3432
+ return re.comparePoints(s.leftSE.point, s.rightSE.point) > 0 && s.swapEvents(), re.comparePoints(this.leftSE.point, this.rightSE.point) > 0 && this.swapEvents(), i && (r.checkForConsuming(), o.checkForConsuming()), t;
3433
3433
  }
3434
3434
  /* Swap which event is left and right */
3435
3435
  swapEvents() {
@@ -3547,7 +3547,7 @@ class Ci {
3547
3547
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
3548
3548
  if (this.poly = t, this.isExterior = i, this.segments = [], typeof e[0][0] != "number" || typeof e[0][1] != "number")
3549
3549
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
3550
- const r = Ve.round(e[0][0], e[0][1]);
3550
+ const r = Qe.round(e[0][0], e[0][1]);
3551
3551
  this.bbox = {
3552
3552
  ll: {
3553
3553
  x: r.x,
@@ -3562,7 +3562,7 @@ class Ci {
3562
3562
  for (let l = 1, s = e.length; l < s; l++) {
3563
3563
  if (typeof e[l][0] != "number" || typeof e[l][1] != "number")
3564
3564
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
3565
- let c = Ve.round(e[l][0], e[l][1]);
3565
+ let c = Qe.round(e[l][0], e[l][1]);
3566
3566
  c.x === o.x && c.y === o.y || (this.segments.push(_e.fromRing(o, c, this)), c.x < this.bbox.ll.x && (this.bbox.ll.x = c.x), c.y < this.bbox.ll.y && (this.bbox.ll.y = c.y), c.x > this.bbox.ur.x && (this.bbox.ur.x = c.x), c.y > this.bbox.ur.y && (this.bbox.ur.y = c.y), o = c);
3567
3567
  }
3568
3568
  (r.x !== o.x || r.y !== o.y) && this.segments.push(_e.fromRing(o, r, this));
@@ -3654,30 +3654,30 @@ class ft {
3654
3654
  for (; ; ) {
3655
3655
  const f = s.getAvailableLinkedEvents();
3656
3656
  if (f.length === 0) {
3657
- const y = u[0].point, v = u[u.length - 1].point;
3658
- throw new Error(`Unable to complete output ring starting at [${y.x}, ${y.y}]. Last matching segment found ends at [${v.x}, ${v.y}].`);
3657
+ const y = u[0].point, b = u[u.length - 1].point;
3658
+ throw new Error(`Unable to complete output ring starting at [${y.x}, ${y.y}]. Last matching segment found ends at [${b.x}, ${b.y}].`);
3659
3659
  }
3660
3660
  if (f.length === 1) {
3661
3661
  c = f[0].otherSE;
3662
3662
  break;
3663
3663
  }
3664
3664
  let h = null;
3665
- for (let y = 0, v = a.length; y < v; y++)
3665
+ for (let y = 0, b = a.length; y < b; y++)
3666
3666
  if (a[y].point === s.point) {
3667
3667
  h = y;
3668
3668
  break;
3669
3669
  }
3670
3670
  if (h !== null) {
3671
- const y = a.splice(h)[0], v = u.splice(y.index);
3672
- v.unshift(v[0].otherSE), t.push(new ft(v.reverse()));
3671
+ const y = a.splice(h)[0], b = u.splice(y.index);
3672
+ b.unshift(b[0].otherSE), t.push(new ft(b.reverse()));
3673
3673
  continue;
3674
3674
  }
3675
3675
  a.push({
3676
3676
  index: u.length,
3677
3677
  point: s.point
3678
3678
  });
3679
- const g = s.getLeftmostComparator(l);
3680
- c = f.sort(g)[0].otherSE;
3679
+ const m = s.getLeftmostComparator(l);
3680
+ c = f.sort(m)[0].otherSE;
3681
3681
  break;
3682
3682
  }
3683
3683
  t.push(new ft(u));
@@ -3719,7 +3719,7 @@ class ft {
3719
3719
  let e = this.events[0];
3720
3720
  for (let r = 1, o = this.events.length; r < o; r++) {
3721
3721
  const l = this.events[r];
3722
- oe.compare(e, l) > 0 && (e = l);
3722
+ re.compare(e, l) > 0 && (e = l);
3723
3723
  }
3724
3724
  let t = e.segment.prevInResult(), i = t ? t.prevInResult() : null;
3725
3725
  for (; ; ) {
@@ -3796,7 +3796,7 @@ class Jr {
3796
3796
  const a = s.getIntersection(t);
3797
3797
  if (a !== null && (t.isAnEndpoint(a) || (u = a), !s.isAnEndpoint(a))) {
3798
3798
  const f = this._splitSafely(s, a);
3799
- for (let h = 0, g = f.length; h < g; h++)
3799
+ for (let h = 0, m = f.length; h < m; h++)
3800
3800
  i.push(f[h]);
3801
3801
  }
3802
3802
  }
@@ -3805,15 +3805,15 @@ class Jr {
3805
3805
  const a = c.getIntersection(t);
3806
3806
  if (a !== null && (t.isAnEndpoint(a) || (d = a), !c.isAnEndpoint(a))) {
3807
3807
  const f = this._splitSafely(c, a);
3808
- for (let h = 0, g = f.length; h < g; h++)
3808
+ for (let h = 0, m = f.length; h < m; h++)
3809
3809
  i.push(f[h]);
3810
3810
  }
3811
3811
  }
3812
3812
  if (u !== null || d !== null) {
3813
3813
  let a = null;
3814
- u === null ? a = d : d === null ? a = u : a = oe.comparePoints(u, d) <= 0 ? u : d, this.queue.remove(t.rightSE), i.push(t.rightSE);
3814
+ u === null ? a = d : d === null ? a = u : a = re.comparePoints(u, d) <= 0 ? u : d, this.queue.remove(t.rightSE), i.push(t.rightSE);
3815
3815
  const f = t.split(a);
3816
- for (let h = 0, g = f.length; h < g; h++)
3816
+ for (let h = 0, m = f.length; h < m; h++)
3817
3817
  i.push(f[h]);
3818
3818
  }
3819
3819
  i.length > 0 ? (this.tree.remove(t), i.push(e)) : (this.segments.push(t), t.prev = s);
@@ -3850,7 +3850,7 @@ class Jr {
3850
3850
  const Ti = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, $r = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6;
3851
3851
  class eo {
3852
3852
  run(e, t, i) {
3853
- le.type = e, Ve.reset();
3853
+ le.type = e, Qe.reset();
3854
3854
  const r = [new Ni(t, !0)];
3855
3855
  for (let a = 0, f = i.length; a < f; a++)
3856
3856
  r.push(new Ni(i[a], !1));
@@ -3863,14 +3863,14 @@ class eo {
3863
3863
  if (le.type === "intersection")
3864
3864
  for (let a = 0, f = r.length; a < f; a++) {
3865
3865
  const h = r[a];
3866
- for (let g = a + 1, y = r.length; g < y; g++)
3867
- if (At(h.bbox, r[g].bbox) === null) return [];
3866
+ for (let m = a + 1, y = r.length; m < y; m++)
3867
+ if (At(h.bbox, r[m].bbox) === null) return [];
3868
3868
  }
3869
- const o = new Ut(oe.compare);
3869
+ const o = new Ut(re.compare);
3870
3870
  for (let a = 0, f = r.length; a < f; a++) {
3871
3871
  const h = r[a].getSweepEvents();
3872
- for (let g = 0, y = h.length; g < y; g++)
3873
- if (o.insert(h[g]), o.size > Ti)
3872
+ for (let m = 0, y = h.length; m < y; m++)
3873
+ if (o.insert(h[m]), o.size > Ti)
3874
3874
  throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big).");
3875
3875
  }
3876
3876
  const l = new Jr(o);
@@ -3886,13 +3886,13 @@ class eo {
3886
3886
  if (l.segments.length > $r)
3887
3887
  throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments).");
3888
3888
  const f = l.process(a);
3889
- for (let h = 0, g = f.length; h < g; h++) {
3889
+ for (let h = 0, m = f.length; h < m; h++) {
3890
3890
  const y = f[h];
3891
3891
  y.consumedBy === void 0 && o.insert(y);
3892
3892
  }
3893
3893
  s = o.size, c = o.pop();
3894
3894
  }
3895
- Ve.reset();
3895
+ Qe.reset();
3896
3896
  const u = ft.factory(l.segments);
3897
3897
  return new Kr(u).getGeom();
3898
3898
  }
@@ -3914,7 +3914,7 @@ const le = new eo(), to = function(n) {
3914
3914
  t[i - 1] = arguments[i];
3915
3915
  return le.run("difference", n, t);
3916
3916
  };
3917
- var ji = {
3917
+ var qi = {
3918
3918
  union: to,
3919
3919
  intersection: io,
3920
3920
  xor: no,
@@ -3926,7 +3926,7 @@ function oo(n) {
3926
3926
  e.push(r.coordinates);
3927
3927
  }), e.length < 2)
3928
3928
  throw new Error("Must have at least two features");
3929
- const t = n.features[0].properties || {}, i = ji.difference(e[0], ...e.slice(1));
3929
+ const t = n.features[0].properties || {}, i = qi.difference(e[0], ...e.slice(1));
3930
3930
  return i.length === 0 ? null : i.length === 1 ? Bt(i[0], t) : Gi(i, t);
3931
3931
  }
3932
3932
  var so = oo;
@@ -3945,7 +3945,7 @@ function ao(n, e = {}) {
3945
3945
  t.push(r.coordinates);
3946
3946
  }), t.length < 2)
3947
3947
  throw new Error("Must have at least 2 geometries");
3948
- const i = ji.union(t[0], ...t.slice(1));
3948
+ const i = qi.union(t[0], ...t.slice(1));
3949
3949
  return i.length === 0 ? null : i.length === 1 ? Bt(i[0], e.properties) : Gi(i, e.properties);
3950
3950
  }
3951
3951
  var co = ao;
@@ -3967,10 +3967,10 @@ function Ri(n, e) {
3967
3967
  if (!t)
3968
3968
  return;
3969
3969
  t.properties = { isMask: !0 };
3970
- const i = ut(bi(n)), r = (i[2] - i[0]) / 360 / 1e3, o = i[0] < -180, l = i[2] > 180, s = uo(n);
3970
+ const i = ut(vi(n)), r = (i[2] - i[0]) / 360 / 1e3, o = i[0] < -180, l = i[2] > 180, s = uo(n);
3971
3971
  if (s.features.length > 1 && (o || l))
3972
3972
  for (const c of s.features) {
3973
- const u = ut(bi(c));
3973
+ const u = ut(vi(c));
3974
3974
  if (l && u[0] < -180 + r)
3975
3975
  for (const d of c.geometry.coordinates)
3976
3976
  for (const a of d)
@@ -4026,14 +4026,14 @@ function ho(n, e = {}, t = {}, i = fo) {
4026
4026
  });
4027
4027
  n.addLayer(u);
4028
4028
  const d = new wn({});
4029
- u.setSource(d), u.setStyle(i), n.on("click", (g) => {
4030
- n.forEachFeatureAtPixel(g.pixel, (y) => {
4031
- const v = y.getId();
4032
- if (v)
4033
- return g.stopPropagation(), l == null || l({ type: "markerClick", id: v }), y;
4029
+ u.setSource(d), u.setStyle(i), n.on("click", (m) => {
4030
+ n.forEachFeatureAtPixel(m.pixel, (y) => {
4031
+ const b = y.getId();
4032
+ if (b)
4033
+ return m.stopPropagation(), l == null || l({ type: "markerClick", id: b }), y;
4034
4034
  });
4035
- }), n.on("pointermove", (g) => {
4036
- const y = n.forEachFeatureAtPixel(g.pixel, (v) => v.getId());
4035
+ }), n.on("pointermove", (m) => {
4036
+ const y = n.forEachFeatureAtPixel(m.pixel, (b) => b.getId());
4037
4037
  o !== y && (o && (l == null || l({
4038
4038
  type: "markerMouseLeave",
4039
4039
  id: o
@@ -4043,49 +4043,49 @@ function ho(n, e = {}, t = {}, i = fo) {
4043
4043
  })), n.getTargetElement().style.cursor = y ? "pointer" : c ? "crosshair" : "", o = y);
4044
4044
  });
4045
4045
  function a() {
4046
- return vn() ?? n.getView().getProjection();
4046
+ return bn() ?? n.getView().getProjection();
4047
4047
  }
4048
- function f(g) {
4049
- return g.transform(Ii, a());
4048
+ function f(m) {
4049
+ return m.transform(Ii, a());
4050
4050
  }
4051
- const h = (g) => {
4051
+ const h = (m) => {
4052
4052
  l == null || l({
4053
4053
  type: "mapClick",
4054
- coordinates: Kt(g.coordinate, a())
4054
+ coordinates: Kt(m.coordinate, a())
4055
4055
  });
4056
4056
  };
4057
4057
  return {
4058
- setEventHandler(g) {
4059
- g ? (l = g, n.on("click", h)) : (l = void 0, n.un("click", h));
4058
+ setEventHandler(m) {
4059
+ m ? (l = m, n.on("click", h)) : (l = void 0, n.un("click", h));
4060
4060
  },
4061
- flyTo(g, y) {
4061
+ flyTo(m, y) {
4062
4062
  n.getView().animate({
4063
- center: it(g, a()),
4063
+ center: it(m, a()),
4064
4064
  ...y ? { zoom: y } : {},
4065
4065
  duration: 2e3,
4066
4066
  ...e
4067
4067
  });
4068
4068
  },
4069
- fitBounds(g, y, v) {
4070
- n.getView().fit(bn(g, Ii, a()), {
4069
+ fitBounds(m, y, b) {
4070
+ n.getView().fit(vn(m, Ii, a()), {
4071
4071
  padding: [y, y, y, y],
4072
- ...v ? { maxZoom: v } : {},
4072
+ ...b ? { maxZoom: b } : {},
4073
4073
  duration: 2e3,
4074
4074
  ...t
4075
4075
  });
4076
4076
  },
4077
- indicateReverse(g) {
4078
- c = g, n.getTargetElement().style.cursor = g ? "crosshair" : "";
4077
+ indicateReverse(m) {
4078
+ c = m, n.getTargetElement().style.cursor = m ? "crosshair" : "";
4079
4079
  },
4080
- setReverseMarker(g) {
4081
- s ? g ? s.getGeometry().setCoordinates(
4082
- it(g, a())
4083
- ) : (d.removeFeature(s), s.dispose(), s = void 0) : g && (s = new fe(
4084
- new St(it(g, a()))
4080
+ setReverseMarker(m) {
4081
+ s ? m ? s.getGeometry().setCoordinates(
4082
+ it(m, a())
4083
+ ) : (d.removeFeature(s), s.dispose(), s = void 0) : m && (s = new fe(
4084
+ new St(it(m, a()))
4085
4085
  ), s.setProperties({ isReverse: !0 }), d.addFeature(s));
4086
4086
  },
4087
- setMarkers(g, y) {
4088
- function v(p) {
4087
+ setMarkers(m, y) {
4088
+ function b(p) {
4089
4089
  var E;
4090
4090
  if (p)
4091
4091
  for (const _ of p.features) {
@@ -4122,9 +4122,9 @@ function ho(n, e = {}, t = {}, i = fo) {
4122
4122
  }
4123
4123
  if (!p) {
4124
4124
  if (y.geometry.type === "Polygon")
4125
- Ri(y, v);
4125
+ Ri(y, b);
4126
4126
  else if (y.geometry.type === "MultiPolygon")
4127
- Ri(y, v);
4127
+ Ri(y, b);
4128
4128
  else if (y.geometry.type === "LineString") {
4129
4129
  d.addFeature(
4130
4130
  new fe(
@@ -4143,7 +4143,7 @@ function ho(n, e = {}, t = {}, i = fo) {
4143
4143
  }
4144
4144
  d.addFeature(new fe(f(new St(y.center))));
4145
4145
  }
4146
- for (const p of g ?? []) {
4146
+ for (const p of m ?? []) {
4147
4147
  if (p === y)
4148
4148
  continue;
4149
4149
  const E = new fe(
@@ -4155,24 +4155,24 @@ function ho(n, e = {}, t = {}, i = fo) {
4155
4155
  }), d.addFeature(E);
4156
4156
  }
4157
4157
  },
4158
- setSelectedMarker(g) {
4158
+ setSelectedMarker(m) {
4159
4159
  var p, E, _;
4160
- const y = d.getFeatures(), v = (p = y[0]) != null && p.getProperties().isReverse ? 1 : 0;
4161
- r > -1 && ((E = y[r + v]) == null || E.setProperties({
4160
+ const y = d.getFeatures(), b = (p = y[0]) != null && p.getProperties().isReverse ? 1 : 0;
4161
+ r > -1 && ((E = y[r + b]) == null || E.setProperties({
4162
4162
  isSelected: !1
4163
- })), g > -1 && ((_ = y[g + v]) == null || _.setProperties({
4163
+ })), m > -1 && ((_ = y[m + b]) == null || _.setProperties({
4164
4164
  isSelected: !0
4165
- })), r = g;
4165
+ })), r = m;
4166
4166
  },
4167
4167
  getCenterAndZoom() {
4168
- const g = n.getView(), y = g.getCenter(), v = g.getZoom();
4169
- if (!(!y || v === void 0))
4170
- return [v, ...Kt(y, a())];
4168
+ const m = n.getView(), y = m.getCenter(), b = m.getZoom();
4169
+ if (!(!y || b === void 0))
4170
+ return [b, ...Kt(y, a())];
4171
4171
  }
4172
4172
  };
4173
4173
  }
4174
- var re, Ne;
4175
- class Ao extends gn {
4174
+ var ne, Ce;
4175
+ class Ao extends mn {
4176
4176
  constructor(t) {
4177
4177
  const i = document.createElement("div");
4178
4178
  i.className = "ol-search";
@@ -4180,10 +4180,10 @@ class Ao extends gn {
4180
4180
  element: i,
4181
4181
  target: t.target
4182
4182
  });
4183
- Lt(this, re);
4184
- Lt(this, Ne);
4183
+ Lt(this, ne);
4184
+ Lt(this, Ce);
4185
4185
  const { flyTo: r, fullGeometryStyle: o, ...l } = t;
4186
- tt(this, re, new Cr({
4186
+ tt(this, ne, new Cr({
4187
4187
  target: i,
4188
4188
  props: {
4189
4189
  flyTo: r === void 0 ? !0 : !!r,
@@ -4200,16 +4200,16 @@ class Ao extends gn {
4200
4200
  "reverseToggle",
4201
4201
  "queryChange"
4202
4202
  ])
4203
- se(this, re).$on(s, (c) => {
4203
+ se(this, ne).$on(s, (c) => {
4204
4204
  switch (s) {
4205
4205
  case "select":
4206
4206
  this.dispatchEvent(
4207
- new mo(c.detail)
4207
+ new go(c.detail)
4208
4208
  );
4209
4209
  break;
4210
4210
  case "featuresListed":
4211
4211
  this.dispatchEvent(
4212
- new go(c.detail)
4212
+ new mo(c.detail)
4213
4213
  );
4214
4214
  break;
4215
4215
  case "featuresMarked":
@@ -4224,11 +4224,11 @@ class Ao extends gn {
4224
4224
  break;
4225
4225
  case "pick":
4226
4226
  this.dispatchEvent(
4227
- new bo(c.detail)
4227
+ new vo(c.detail)
4228
4228
  );
4229
4229
  break;
4230
4230
  case "queryChange":
4231
- this.dispatchEvent(new vo(c.detail));
4231
+ this.dispatchEvent(new bo(c.detail));
4232
4232
  break;
4233
4233
  case "response":
4234
4234
  this.dispatchEvent(
@@ -4243,7 +4243,7 @@ class Ao extends gn {
4243
4243
  break;
4244
4244
  }
4245
4245
  });
4246
- tt(this, Ne, t);
4246
+ tt(this, Ce, t);
4247
4247
  }
4248
4248
  setMap(t) {
4249
4249
  var i;
@@ -4253,7 +4253,7 @@ class Ao extends gn {
4253
4253
  // showResultMarkers,
4254
4254
  flyTo: r,
4255
4255
  fullGeometryStyle: o
4256
- } = se(this, Ne), l = ho(
4256
+ } = se(this, Ce), l = ho(
4257
4257
  t,
4258
4258
  typeof r == "boolean" ? void 0 : r,
4259
4259
  typeof r == "boolean" ? void 0 : r,
@@ -4261,110 +4261,110 @@ class Ao extends gn {
4261
4261
  // showResultMarkers,
4262
4262
  o
4263
4263
  );
4264
- (i = se(this, re)) == null || i.$set({ mapController: l });
4264
+ (i = se(this, ne)) == null || i.$set({ mapController: l });
4265
4265
  }
4266
4266
  }
4267
4267
  setOptions(t) {
4268
4268
  var l;
4269
- tt(this, Ne, t);
4270
- const { flyTo: i, fullGeometryStyle: r, ...o } = se(this, Ne);
4271
- (l = se(this, re)) == null || l.$set({
4269
+ tt(this, Ce, t);
4270
+ const { flyTo: i, fullGeometryStyle: r, ...o } = se(this, Ce);
4271
+ (l = se(this, ne)) == null || l.$set({
4272
4272
  ...o,
4273
4273
  flyTo: i === void 0 ? !0 : !!i
4274
4274
  });
4275
4275
  }
4276
4276
  setQuery(t, i = !0) {
4277
4277
  var r;
4278
- (r = se(this, re)) == null || r.setQuery(t, i);
4278
+ (r = se(this, ne)) == null || r.setQuery(t, i);
4279
4279
  }
4280
4280
  clearMap() {
4281
4281
  var t;
4282
- (t = se(this, re)) == null || t.clearMap();
4282
+ (t = se(this, ne)) == null || t.clearMap();
4283
4283
  }
4284
4284
  clearList() {
4285
4285
  var t;
4286
- (t = se(this, re)) == null || t.clearList();
4286
+ (t = se(this, ne)) == null || t.clearList();
4287
4287
  }
4288
4288
  focus() {
4289
4289
  var t;
4290
- (t = se(this, re)) == null || t.focus();
4290
+ (t = se(this, ne)) == null || t.focus();
4291
4291
  }
4292
4292
  blur() {
4293
4293
  var t;
4294
- (t = se(this, re)) == null || t.blur();
4294
+ (t = se(this, ne)) == null || t.blur();
4295
4295
  }
4296
4296
  // onRemove() {
4297
4297
  // this.#gc?.$destroy();
4298
4298
  // }
4299
4299
  }
4300
- re = new WeakMap(), Ne = new WeakMap();
4301
- class mo extends xe {
4300
+ ne = new WeakMap(), Ce = new WeakMap();
4301
+ class go extends xe {
4302
4302
  constructor(t) {
4303
4303
  super("select");
4304
- ne(this, "feature");
4304
+ ie(this, "feature");
4305
4305
  this.feature = t;
4306
4306
  }
4307
4307
  }
4308
- class go extends xe {
4308
+ class mo extends xe {
4309
4309
  constructor(t) {
4310
4310
  super("featuresListed");
4311
- ne(this, "features");
4311
+ ie(this, "features");
4312
4312
  this.features = t;
4313
4313
  }
4314
4314
  }
4315
4315
  class yo extends xe {
4316
4316
  constructor(t) {
4317
4317
  super("featuresMarked");
4318
- ne(this, "features");
4318
+ ie(this, "features");
4319
4319
  this.features = t;
4320
4320
  }
4321
4321
  }
4322
4322
  class po extends xe {
4323
4323
  constructor(t) {
4324
4324
  super("optionsVisibilityChange");
4325
- ne(this, "optionsVisible");
4325
+ ie(this, "optionsVisible");
4326
4326
  this.optionsVisible = t;
4327
4327
  }
4328
4328
  }
4329
- class bo extends xe {
4329
+ class vo extends xe {
4330
4330
  constructor(t) {
4331
4331
  super("pick");
4332
- ne(this, "feature");
4332
+ ie(this, "feature");
4333
4333
  this.feature = t;
4334
4334
  }
4335
4335
  }
4336
- class vo extends xe {
4336
+ class bo extends xe {
4337
4337
  constructor(t) {
4338
4338
  super("queryChange");
4339
- ne(this, "query");
4339
+ ie(this, "query");
4340
4340
  this.query = t;
4341
4341
  }
4342
4342
  }
4343
4343
  class wo extends xe {
4344
4344
  constructor(t, i) {
4345
4345
  super("response");
4346
- ne(this, "url");
4347
- ne(this, "featureCollection");
4346
+ ie(this, "url");
4347
+ ie(this, "featureCollection");
4348
4348
  this.url = t, this.featureCollection = i;
4349
4349
  }
4350
4350
  }
4351
4351
  class _o extends xe {
4352
4352
  constructor(t) {
4353
4353
  super("reverseToggle");
4354
- ne(this, "reverse");
4354
+ ie(this, "reverse");
4355
4355
  this.reverse = t;
4356
4356
  }
4357
4357
  }
4358
4358
  export {
4359
- go as FeaturesListedEvent,
4359
+ mo as FeaturesListedEvent,
4360
4360
  yo as FeaturesMarkedEvent,
4361
4361
  Ao as GeocodingControl,
4362
4362
  po as OptionsVisibilityChangeEvent,
4363
- bo as PickEvent,
4364
- vo as QueryChangeEvent,
4363
+ vo as PickEvent,
4364
+ bo as QueryChangeEvent,
4365
4365
  wo as ResponseEvent,
4366
4366
  _o as ReverseToggleEvent,
4367
- mo as SelectEvent,
4367
+ go as SelectEvent,
4368
4368
  ho as createOpenLayersMapController
4369
4369
  };
4370
4370
  //# sourceMappingURL=openlayers.js.map