@maptiler/geocoding-control 0.0.91-git.9f388b → 0.0.92

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/react.js CHANGED
@@ -1,176 +1,176 @@
1
- import { forwardRef as Nt, useRef as Ye, useEffect as Ue, useImperativeHandle as jt, createElement as Ft } from "react";
2
- function P() {
1
+ import { forwardRef as jt, useRef as xe, useEffect as Ze, useImperativeHandle as Ft, createElement as Gt } from "react";
2
+ function S() {
3
3
  }
4
- function Gt(t, e) {
5
- for (const n in e)
6
- t[n] = e[n];
7
- return t;
4
+ function Ot(n, e) {
5
+ for (const t in e)
6
+ n[t] = e[t];
7
+ return n;
8
8
  }
9
- function at(t) {
10
- return t();
9
+ function dt(n) {
10
+ return n();
11
11
  }
12
- function xe() {
12
+ function $e() {
13
13
  return /* @__PURE__ */ Object.create(null);
14
14
  }
15
- function ee(t) {
16
- t.forEach(at);
15
+ function te(n) {
16
+ n.forEach(dt);
17
17
  }
18
- function dt(t) {
19
- return typeof t == "function";
18
+ function ht(n) {
19
+ return typeof n == "function";
20
20
  }
21
- function he(t, e) {
22
- return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
21
+ function he(n, e) {
22
+ return n != n ? e == e : n !== e || n && typeof n == "object" || typeof n == "function";
23
23
  }
24
- let Be;
25
- function le(t, e) {
26
- return Be || (Be = document.createElement("a")), Be.href = e, t === Be.href;
24
+ let Ie;
25
+ function K(n, e) {
26
+ return Ie || (Ie = document.createElement("a")), Ie.href = e, n === Ie.href;
27
27
  }
28
- function Ot(t) {
29
- return Object.keys(t).length === 0;
28
+ function Zt(n) {
29
+ return Object.keys(n).length === 0;
30
30
  }
31
- function Zt(t, e, n, r) {
32
- if (t) {
33
- const l = ht(t, e, n, r);
34
- return t[0](l);
31
+ function qt(n, e, t, r) {
32
+ if (n) {
33
+ const l = mt(n, e, t, r);
34
+ return n[0](l);
35
35
  }
36
36
  }
37
- function ht(t, e, n, r) {
38
- return t[1] && r ? Gt(n.ctx.slice(), t[1](r(e))) : n.ctx;
37
+ function mt(n, e, t, r) {
38
+ return n[1] && r ? Ot(t.ctx.slice(), n[1](r(e))) : t.ctx;
39
39
  }
40
- function Ut(t, e, n, r) {
41
- if (t[2] && r) {
42
- const l = t[2](r(n));
40
+ function Dt(n, e, t, r) {
41
+ if (n[2] && r) {
42
+ const l = n[2](r(t));
43
43
  if (e.dirty === void 0)
44
44
  return l;
45
45
  if (typeof l == "object") {
46
46
  const a = [], s = Math.max(e.dirty.length, l.length);
47
- for (let c = 0; c < s; c += 1)
48
- a[c] = e.dirty[c] | l[c];
47
+ for (let f = 0; f < s; f += 1)
48
+ a[f] = e.dirty[f] | l[f];
49
49
  return a;
50
50
  }
51
51
  return e.dirty | l;
52
52
  }
53
53
  return e.dirty;
54
54
  }
55
- function qt(t, e, n, r, l, a) {
55
+ function Kt(n, e, t, r, l, a) {
56
56
  if (l) {
57
- const s = ht(e, n, r, a);
58
- t.p(s, l);
57
+ const s = mt(e, t, r, a);
58
+ n.p(s, l);
59
59
  }
60
60
  }
61
- function Dt(t) {
62
- if (t.ctx.length > 32) {
63
- const e = [], n = t.ctx.length / 32;
64
- for (let r = 0; r < n; r++)
61
+ function Vt(n) {
62
+ if (n.ctx.length > 32) {
63
+ const e = [], t = n.ctx.length / 32;
64
+ for (let r = 0; r < t; r++)
65
65
  e[r] = -1;
66
66
  return e;
67
67
  }
68
68
  return -1;
69
69
  }
70
- function $e(t) {
71
- return t ?? "";
70
+ function et(n) {
71
+ return n ?? "";
72
72
  }
73
- function v(t, e) {
74
- t.appendChild(e);
73
+ function v(n, e) {
74
+ n.appendChild(e);
75
75
  }
76
- function A(t, e, n) {
77
- t.insertBefore(e, n || null);
76
+ function U(n, e, t) {
77
+ n.insertBefore(e, t || null);
78
78
  }
79
- function S(t) {
80
- t.parentNode && t.parentNode.removeChild(t);
79
+ function z(n) {
80
+ n.parentNode && n.parentNode.removeChild(n);
81
81
  }
82
- function C(t) {
83
- return document.createElement(t);
82
+ function E(n) {
83
+ return document.createElement(n);
84
84
  }
85
- function ie(t) {
86
- return document.createElementNS("http://www.w3.org/2000/svg", t);
85
+ function ie(n) {
86
+ return document.createElementNS("http://www.w3.org/2000/svg", n);
87
87
  }
88
- function se(t) {
89
- return document.createTextNode(t);
88
+ function se(n) {
89
+ return document.createTextNode(n);
90
90
  }
91
- function V() {
91
+ function H() {
92
92
  return se(" ");
93
93
  }
94
- function Kt() {
94
+ function Ht() {
95
95
  return se("");
96
96
  }
97
- function D(t, e, n, r) {
98
- return t.addEventListener(e, n, r), () => t.removeEventListener(e, n, r);
97
+ function D(n, e, t, r) {
98
+ return n.addEventListener(e, t, r), () => n.removeEventListener(e, t, r);
99
99
  }
100
- function Vt(t) {
100
+ function Qt(n) {
101
101
  return function(e) {
102
- return e.preventDefault(), t.call(this, e);
102
+ return e.preventDefault(), n.call(this, e);
103
103
  };
104
104
  }
105
- function o(t, e, n) {
106
- n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
105
+ function o(n, e, t) {
106
+ t == null ? n.removeAttribute(e) : n.getAttribute(e) !== t && n.setAttribute(e, t);
107
107
  }
108
- function Ht(t) {
109
- return Array.from(t.childNodes);
108
+ function Jt(n) {
109
+ return Array.from(n.childNodes);
110
110
  }
111
- function Me(t, e) {
112
- e = "" + e, t.data !== e && (t.data = e);
111
+ function Me(n, e) {
112
+ e = "" + e, n.data !== e && (n.data = e);
113
113
  }
114
- function et(t, e) {
115
- t.value = e ?? "";
114
+ function tt(n, e) {
115
+ n.value = e ?? "";
116
116
  }
117
- function re(t, e, n) {
118
- t.classList[n ? "add" : "remove"](e);
117
+ function le(n, e, t) {
118
+ n.classList[t ? "add" : "remove"](e);
119
119
  }
120
- function Qt(t, e, { bubbles: n = !1, cancelable: r = !1 } = {}) {
120
+ function Xt(n, e, { bubbles: t = !1, cancelable: r = !1 } = {}) {
121
121
  const l = document.createEvent("CustomEvent");
122
- return l.initCustomEvent(t, n, r, e), l;
122
+ return l.initCustomEvent(n, t, r, e), l;
123
123
  }
124
- let Re;
125
- function Te(t) {
126
- Re = t;
124
+ let Ce;
125
+ function Te(n) {
126
+ Ce = n;
127
127
  }
128
128
  function _t() {
129
- if (!Re)
129
+ if (!Ce)
130
130
  throw new Error("Function called outside component initialization");
131
- return Re;
131
+ return Ce;
132
132
  }
133
- function Jt(t) {
134
- _t().$$.on_destroy.push(t);
133
+ function Yt(n) {
134
+ _t().$$.on_destroy.push(n);
135
135
  }
136
- function Xt() {
137
- const t = _t();
138
- return (e, n, { cancelable: r = !1 } = {}) => {
139
- const l = t.$$.callbacks[e];
136
+ function xt() {
137
+ const n = _t();
138
+ return (e, t, { cancelable: r = !1 } = {}) => {
139
+ const l = n.$$.callbacks[e];
140
140
  if (l) {
141
- const a = Qt(e, n, { cancelable: r });
141
+ const a = Xt(e, t, { cancelable: r });
142
142
  return l.slice().forEach((s) => {
143
- s.call(t, a);
143
+ s.call(n, a);
144
144
  }), !a.defaultPrevented;
145
145
  }
146
146
  return !0;
147
147
  };
148
148
  }
149
- function tt(t, e) {
150
- const n = t.$$.callbacks[e.type];
151
- n && n.slice().forEach((r) => r.call(this, e));
149
+ function nt(n, e) {
150
+ const t = n.$$.callbacks[e.type];
151
+ t && t.slice().forEach((r) => r.call(this, e));
152
152
  }
153
153
  const ke = [], De = [];
154
154
  let ve = [];
155
- const nt = [], Yt = /* @__PURE__ */ Promise.resolve();
155
+ const rt = [], $t = /* @__PURE__ */ Promise.resolve();
156
156
  let Ke = !1;
157
- function xt() {
158
- Ke || (Ke = !0, Yt.then(mt));
157
+ function en() {
158
+ Ke || (Ke = !0, $t.then(gt));
159
159
  }
160
- function Ve(t) {
161
- ve.push(t);
160
+ function Ve(n) {
161
+ ve.push(n);
162
162
  }
163
163
  const qe = /* @__PURE__ */ new Set();
164
164
  let we = 0;
165
- function mt() {
165
+ function gt() {
166
166
  if (we !== 0)
167
167
  return;
168
- const t = Re;
168
+ const n = Ce;
169
169
  do {
170
170
  try {
171
171
  for (; we < ke.length; ) {
172
172
  const e = ke[we];
173
- we++, Te(e), $t(e.$$);
173
+ we++, Te(e), tn(e.$$);
174
174
  }
175
175
  } catch (e) {
176
176
  throw ke.length = 0, we = 0, e;
@@ -178,29 +178,29 @@ function mt() {
178
178
  for (Te(null), ke.length = 0, we = 0; De.length; )
179
179
  De.pop()();
180
180
  for (let e = 0; e < ve.length; e += 1) {
181
- const n = ve[e];
182
- qe.has(n) || (qe.add(n), n());
181
+ const t = ve[e];
182
+ qe.has(t) || (qe.add(t), t());
183
183
  }
184
184
  ve.length = 0;
185
185
  } while (ke.length);
186
- for (; nt.length; )
187
- nt.pop()();
188
- Ke = !1, qe.clear(), Te(t);
189
- }
190
- function $t(t) {
191
- if (t.fragment !== null) {
192
- t.update(), ee(t.before_update);
193
- const e = t.dirty;
194
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(Ve);
186
+ for (; rt.length; )
187
+ rt.pop()();
188
+ Ke = !1, qe.clear(), Te(n);
189
+ }
190
+ function tn(n) {
191
+ if (n.fragment !== null) {
192
+ n.update(), te(n.before_update);
193
+ const e = n.dirty;
194
+ n.dirty = [-1], n.fragment && n.fragment.p(n.ctx, e), n.after_update.forEach(Ve);
195
195
  }
196
196
  }
197
- function en(t) {
198
- const e = [], n = [];
199
- ve.forEach((r) => t.indexOf(r) === -1 ? e.push(r) : n.push(r)), n.forEach((r) => r()), ve = e;
197
+ function nn(n) {
198
+ const e = [], t = [];
199
+ ve.forEach((r) => n.indexOf(r) === -1 ? e.push(r) : t.push(r)), t.forEach((r) => r()), ve = e;
200
200
  }
201
- const Pe = /* @__PURE__ */ new Set();
201
+ const Se = /* @__PURE__ */ new Set();
202
202
  let de;
203
- function Se() {
203
+ function ze() {
204
204
  de = {
205
205
  r: 0,
206
206
  c: [],
@@ -208,82 +208,82 @@ function Se() {
208
208
  // parent group
209
209
  };
210
210
  }
211
- function Ie() {
212
- de.r || ee(de.c), de = de.p;
211
+ function Pe() {
212
+ de.r || te(de.c), de = de.p;
213
213
  }
214
- function F(t, e) {
215
- t && t.i && (Pe.delete(t), t.i(e));
214
+ function j(n, e) {
215
+ n && n.i && (Se.delete(n), n.i(e));
216
216
  }
217
- function O(t, e, n, r) {
218
- if (t && t.o) {
219
- if (Pe.has(t))
217
+ function O(n, e, t, r) {
218
+ if (n && n.o) {
219
+ if (Se.has(n))
220
220
  return;
221
- Pe.add(t), de.c.push(() => {
222
- Pe.delete(t), r && (n && t.d(1), r());
223
- }), t.o(e);
221
+ Se.add(n), de.c.push(() => {
222
+ Se.delete(n), r && (t && n.d(1), r());
223
+ }), n.o(e);
224
224
  } else
225
225
  r && r();
226
226
  }
227
- function tn(t, e) {
228
- O(t, 1, 1, () => {
229
- e.delete(t.key);
227
+ function rn(n, e) {
228
+ O(n, 1, 1, () => {
229
+ e.delete(n.key);
230
230
  });
231
231
  }
232
- function nn(t, e, n, r, l, a, s, c, d, f, _, k) {
233
- let b = t.length, E = a.length, z = b;
234
- const p = {};
235
- for (; z--; )
236
- p[t[z].key] = z;
237
- const g = [], W = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), G = [];
238
- for (z = E; z--; ) {
239
- const M = k(l, a, z), R = n(M);
240
- let m = s.get(R);
241
- m ? r && G.push(() => m.p(M, e)) : (m = f(R, M), m.c()), W.set(R, g[z] = m), R in p && B.set(R, Math.abs(z - p[R]));
232
+ function ln(n, e, t, r, l, a, s, f, d, c, m, k) {
233
+ let g = n.length, C = a.length, I = g;
234
+ const T = {};
235
+ for (; I--; )
236
+ T[n[I].key] = I;
237
+ const M = [], A = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), F = [];
238
+ for (I = C; I--; ) {
239
+ const B = k(l, a, I), R = t(B);
240
+ let _ = s.get(R);
241
+ _ ? r && F.push(() => _.p(B, e)) : (_ = c(R, B), _.c()), A.set(R, M[I] = _), R in T && y.set(R, Math.abs(I - T[R]));
242
242
  }
243
- const Z = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Set();
244
- function y(M) {
245
- F(M, 1), M.m(c, _), s.set(M.key, M), _ = M.first, E--;
243
+ const G = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Set();
244
+ function b(B) {
245
+ j(B, 1), B.m(f, m), s.set(B.key, B), m = B.first, C--;
246
246
  }
247
- for (; b && E; ) {
248
- const M = g[E - 1], R = t[b - 1], m = M.key, w = R.key;
249
- M === R ? (_ = M.first, b--, E--) : W.has(w) ? !s.has(m) || Z.has(m) ? y(M) : h.has(w) ? b-- : B.get(m) > B.get(w) ? (h.add(m), y(M)) : (Z.add(w), b--) : (d(R, s), b--);
247
+ for (; g && C; ) {
248
+ const B = M[C - 1], R = n[g - 1], _ = B.key, w = R.key;
249
+ B === R ? (m = B.first, g--, C--) : A.has(w) ? !s.has(_) || G.has(_) ? b(B) : h.has(w) ? g-- : y.get(_) > y.get(w) ? (h.add(_), b(B)) : (G.add(w), g--) : (d(R, s), g--);
250
250
  }
251
- for (; b--; ) {
252
- const M = t[b];
253
- W.has(M.key) || d(M, s);
251
+ for (; g--; ) {
252
+ const B = n[g];
253
+ A.has(B.key) || d(B, s);
254
254
  }
255
- for (; E; )
256
- y(g[E - 1]);
257
- return ee(G), g;
258
- }
259
- function oe(t) {
260
- t && t.c();
261
- }
262
- function x(t, e, n, r) {
263
- const { fragment: l, after_update: a } = t.$$;
264
- l && l.m(e, n), r || Ve(() => {
265
- const s = t.$$.on_mount.map(at).filter(dt);
266
- t.$$.on_destroy ? t.$$.on_destroy.push(...s) : ee(s), t.$$.on_mount = [];
255
+ for (; C; )
256
+ b(M[C - 1]);
257
+ return te(F), M;
258
+ }
259
+ function oe(n) {
260
+ n && n.c();
261
+ }
262
+ function $(n, e, t, r) {
263
+ const { fragment: l, after_update: a } = n.$$;
264
+ l && l.m(e, t), r || Ve(() => {
265
+ const s = n.$$.on_mount.map(dt).filter(ht);
266
+ n.$$.on_destroy ? n.$$.on_destroy.push(...s) : te(s), n.$$.on_mount = [];
267
267
  }), a.forEach(Ve);
268
268
  }
269
- function $(t, e) {
270
- const n = t.$$;
271
- n.fragment !== null && (en(n.after_update), ee(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
269
+ function ee(n, e) {
270
+ const t = n.$$;
271
+ t.fragment !== null && (nn(t.after_update), te(t.on_destroy), t.fragment && t.fragment.d(e), t.on_destroy = t.fragment = null, t.ctx = []);
272
272
  }
273
- function rn(t, e) {
274
- t.$$.dirty[0] === -1 && (ke.push(t), xt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
273
+ function sn(n, e) {
274
+ n.$$.dirty[0] === -1 && (ke.push(n), en(), n.$$.dirty.fill(0)), n.$$.dirty[e / 31 | 0] |= 1 << e % 31;
275
275
  }
276
- function _e(t, e, n, r, l, a, s, c = [-1]) {
277
- const d = Re;
278
- Te(t);
279
- const f = t.$$ = {
276
+ function me(n, e, t, r, l, a, s, f = [-1]) {
277
+ const d = Ce;
278
+ Te(n);
279
+ const c = n.$$ = {
280
280
  fragment: null,
281
281
  ctx: [],
282
282
  // state
283
283
  props: a,
284
- update: P,
284
+ update: S,
285
285
  not_equal: l,
286
- bound: xe(),
286
+ bound: $e(),
287
287
  // lifecycle
288
288
  on_mount: [],
289
289
  on_destroy: [],
@@ -292,590 +292,616 @@ function _e(t, e, n, r, l, a, s, c = [-1]) {
292
292
  after_update: [],
293
293
  context: new Map(e.context || (d ? d.$$.context : [])),
294
294
  // everything else
295
- callbacks: xe(),
296
- dirty: c,
295
+ callbacks: $e(),
296
+ dirty: f,
297
297
  skip_bound: !1,
298
298
  root: e.target || d.$$.root
299
299
  };
300
- s && s(f.root);
301
- let _ = !1;
302
- if (f.ctx = n ? n(t, e.props || {}, (k, b, ...E) => {
303
- const z = E.length ? E[0] : b;
304
- return f.ctx && l(f.ctx[k], f.ctx[k] = z) && (!f.skip_bound && f.bound[k] && f.bound[k](z), _ && rn(t, k)), b;
305
- }) : [], f.update(), _ = !0, ee(f.before_update), f.fragment = r ? r(f.ctx) : !1, e.target) {
300
+ s && s(c.root);
301
+ let m = !1;
302
+ if (c.ctx = t ? t(n, e.props || {}, (k, g, ...C) => {
303
+ const I = C.length ? C[0] : g;
304
+ return c.ctx && l(c.ctx[k], c.ctx[k] = I) && (!c.skip_bound && c.bound[k] && c.bound[k](I), m && sn(n, k)), g;
305
+ }) : [], c.update(), m = !0, te(c.before_update), c.fragment = r ? r(c.ctx) : !1, e.target) {
306
306
  if (e.hydrate) {
307
- const k = Ht(e.target);
308
- f.fragment && f.fragment.l(k), k.forEach(S);
307
+ const k = Jt(e.target);
308
+ c.fragment && c.fragment.l(k), k.forEach(z);
309
309
  } else
310
- f.fragment && f.fragment.c();
311
- e.intro && F(t.$$.fragment), x(t, e.target, e.anchor, e.customElement), mt();
310
+ c.fragment && c.fragment.c();
311
+ e.intro && j(n.$$.fragment), $(n, e.target, e.anchor, e.customElement), gt();
312
312
  }
313
313
  Te(d);
314
314
  }
315
- class me {
315
+ class _e {
316
316
  $destroy() {
317
- $(this, 1), this.$destroy = P;
317
+ ee(this, 1), this.$destroy = S;
318
318
  }
319
- $on(e, n) {
320
- if (!dt(n))
321
- return P;
319
+ $on(e, t) {
320
+ if (!ht(t))
321
+ return S;
322
322
  const r = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
323
- return r.push(n), () => {
324
- const l = r.indexOf(n);
323
+ return r.push(t), () => {
324
+ const l = r.indexOf(t);
325
325
  l !== -1 && r.splice(l, 1);
326
326
  };
327
327
  }
328
328
  $set(e) {
329
- this.$$set && !Ot(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
329
+ this.$$set && !Zt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
330
330
  }
331
331
  }
332
- function ln(t) {
333
- let e, n;
332
+ function on(n) {
333
+ let e, t;
334
334
  return {
335
335
  c() {
336
- e = ie("svg"), n = ie("path"), o(n, "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"), o(e, "viewBox", "0 0 14 14"), o(e, "width", "13"), o(e, "height", "13"), o(e, "class", "svelte-en2qvf");
336
+ e = ie("svg"), t = ie("path"), o(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"), o(e, "viewBox", "0 0 14 14"), o(e, "width", "13"), o(e, "height", "13"), o(e, "class", "svelte-en2qvf");
337
337
  },
338
338
  m(r, l) {
339
- A(r, e, l), v(e, n);
339
+ U(r, e, l), v(e, t);
340
340
  },
341
- p: P,
342
- i: P,
343
- o: P,
341
+ p: S,
342
+ i: S,
343
+ o: S,
344
344
  d(r) {
345
- r && S(e);
345
+ r && z(e);
346
346
  }
347
347
  };
348
348
  }
349
- class gt extends me {
349
+ class yt extends _e {
350
350
  constructor(e) {
351
- super(), _e(this, e, null, ln, he, {});
351
+ super(), me(this, e, null, on, he, {});
352
352
  }
353
353
  }
354
- function sn(t) {
355
- let e, n;
354
+ function cn(n) {
355
+ let e, t;
356
356
  return {
357
357
  c() {
358
- e = ie("svg"), n = ie("path"), o(n, "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"), o(e, "viewBox", "0 0 30 30"), o(e, "fill", "none"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "class", "svelte-d2loi5");
358
+ e = ie("svg"), t = ie("path"), o(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"), o(e, "viewBox", "0 0 30 30"), o(e, "fill", "none"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "class", "svelte-d2loi5");
359
359
  },
360
360
  m(r, l) {
361
- A(r, e, l), v(e, n);
361
+ U(r, e, l), v(e, t);
362
362
  },
363
- p: P,
364
- i: P,
365
- o: P,
363
+ p: S,
364
+ i: S,
365
+ o: S,
366
366
  d(r) {
367
- r && S(e);
367
+ r && z(e);
368
368
  }
369
369
  };
370
370
  }
371
- class yt extends me {
371
+ class bt extends _e {
372
372
  constructor(e) {
373
- super(), _e(this, e, null, sn, he, {});
373
+ super(), me(this, e, null, cn, he, {});
374
374
  }
375
375
  }
376
- function on(t) {
377
- let e, n;
376
+ function fn(n) {
377
+ let e, t;
378
378
  return {
379
379
  c() {
380
- e = C("img"), le(e.src, n = "/icons/area.svg") || o(e, "src", n), o(
380
+ e = E("img"), K(e.src, t = /*iconsBaseUrl*/
381
+ n[3] + "area.svg") || o(e, "src", t), o(
381
382
  e,
382
383
  "alt",
383
384
  /*placeType*/
384
- t[4]
385
+ n[6]
385
386
  ), o(e, "class", "svelte-ltkwvy");
386
387
  },
387
388
  m(r, l) {
388
- A(r, e, l);
389
+ U(r, e, l);
389
390
  },
390
391
  p(r, l) {
391
- l & /*placeType*/
392
- 16 && o(
392
+ l & /*iconsBaseUrl*/
393
+ 8 && !K(e.src, t = /*iconsBaseUrl*/
394
+ r[3] + "area.svg") && o(e, "src", t), l & /*placeType*/
395
+ 64 && o(
393
396
  e,
394
397
  "alt",
395
398
  /*placeType*/
396
- r[4]
399
+ r[6]
397
400
  );
398
401
  },
399
402
  d(r) {
400
- r && S(e);
403
+ r && z(e);
401
404
  }
402
405
  };
403
406
  }
404
- function cn(t) {
405
- let e, n;
407
+ function un(n) {
408
+ let e, t;
406
409
  return {
407
410
  c() {
408
- e = C("img"), le(e.src, n = "/icons/poi.svg") || o(e, "src", n), o(
411
+ e = E("img"), K(e.src, t = /*iconsBaseUrl*/
412
+ n[3] + "poi.svg") || o(e, "src", t), o(
409
413
  e,
410
414
  "alt",
411
415
  /*placeType*/
412
- t[4]
416
+ n[6]
413
417
  ), o(e, "class", "svelte-ltkwvy");
414
418
  },
415
419
  m(r, l) {
416
- A(r, e, l);
420
+ U(r, e, l);
417
421
  },
418
422
  p(r, l) {
419
- l & /*placeType*/
420
- 16 && o(
423
+ l & /*iconsBaseUrl*/
424
+ 8 && !K(e.src, t = /*iconsBaseUrl*/
425
+ r[3] + "poi.svg") && o(e, "src", t), l & /*placeType*/
426
+ 64 && o(
421
427
  e,
422
428
  "alt",
423
429
  /*placeType*/
424
- r[4]
430
+ r[6]
425
431
  );
426
432
  },
427
433
  d(r) {
428
- r && S(e);
434
+ r && z(e);
429
435
  }
430
436
  };
431
437
  }
432
- function fn(t) {
433
- let e, n;
438
+ function an(n) {
439
+ let e, t;
434
440
  return {
435
441
  c() {
436
- e = C("img"), le(e.src, n = "/icons/postal_code.svg") || o(e, "src", n), o(
442
+ e = E("img"), K(e.src, t = /*iconsBaseUrl*/
443
+ n[3] + "postal_code.svg") || o(e, "src", t), o(
437
444
  e,
438
445
  "alt",
439
446
  /*placeType*/
440
- t[4]
447
+ n[6]
441
448
  ), o(e, "class", "svelte-ltkwvy");
442
449
  },
443
450
  m(r, l) {
444
- A(r, e, l);
451
+ U(r, e, l);
445
452
  },
446
453
  p(r, l) {
447
- l & /*placeType*/
448
- 16 && o(
454
+ l & /*iconsBaseUrl*/
455
+ 8 && !K(e.src, t = /*iconsBaseUrl*/
456
+ r[3] + "postal_code.svg") && o(e, "src", t), l & /*placeType*/
457
+ 64 && o(
449
458
  e,
450
459
  "alt",
451
460
  /*placeType*/
452
- r[4]
461
+ r[6]
453
462
  );
454
463
  },
455
464
  d(r) {
456
- r && S(e);
465
+ r && z(e);
457
466
  }
458
467
  };
459
468
  }
460
- function un(t) {
461
- let e, n;
469
+ function dn(n) {
470
+ let e, t;
462
471
  return {
463
472
  c() {
464
- e = C("img"), le(e.src, n = "/icons/street.svg") || o(e, "src", n), o(
473
+ e = E("img"), K(e.src, t = /*iconsBaseUrl*/
474
+ n[3] + "street.svg") || o(e, "src", t), o(
465
475
  e,
466
476
  "alt",
467
477
  /*placeType*/
468
- t[4]
478
+ n[6]
469
479
  ), o(e, "class", "svelte-ltkwvy");
470
480
  },
471
481
  m(r, l) {
472
- A(r, e, l);
482
+ U(r, e, l);
473
483
  },
474
484
  p(r, l) {
475
- l & /*placeType*/
476
- 16 && o(
485
+ l & /*iconsBaseUrl*/
486
+ 8 && !K(e.src, t = /*iconsBaseUrl*/
487
+ r[3] + "street.svg") && o(e, "src", t), l & /*placeType*/
488
+ 64 && o(
477
489
  e,
478
490
  "alt",
479
491
  /*placeType*/
480
- r[4]
492
+ r[6]
481
493
  );
482
494
  },
483
495
  d(r) {
484
- r && S(e);
496
+ r && z(e);
485
497
  }
486
498
  };
487
499
  }
488
- function an(t) {
489
- let e, n;
500
+ function hn(n) {
501
+ let e, t;
490
502
  return {
491
503
  c() {
492
- e = C("img"), le(e.src, n = "/icons/road.svg") || o(e, "src", n), o(
504
+ e = E("img"), K(e.src, t = /*iconsBaseUrl*/
505
+ n[3] + "road.svg") || o(e, "src", t), o(
493
506
  e,
494
507
  "alt",
495
508
  /*placeType*/
496
- t[4]
509
+ n[6]
497
510
  ), o(e, "class", "svelte-ltkwvy");
498
511
  },
499
512
  m(r, l) {
500
- A(r, e, l);
513
+ U(r, e, l);
501
514
  },
502
515
  p(r, l) {
503
- l & /*placeType*/
504
- 16 && o(
516
+ l & /*iconsBaseUrl*/
517
+ 8 && !K(e.src, t = /*iconsBaseUrl*/
518
+ r[3] + "road.svg") && o(e, "src", t), l & /*placeType*/
519
+ 64 && o(
505
520
  e,
506
521
  "alt",
507
522
  /*placeType*/
508
- r[4]
523
+ r[6]
509
524
  );
510
525
  },
511
526
  d(r) {
512
- r && S(e);
527
+ r && z(e);
513
528
  }
514
529
  };
515
530
  }
516
- function dn(t) {
517
- let e, n;
531
+ function mn(n) {
532
+ let e, t;
518
533
  return {
519
534
  c() {
520
- e = C("img"), le(e.src, n = "/icons/housenumber.svg") || o(e, "src", n), o(
535
+ e = E("img"), K(e.src, t = /*iconsBaseUrl*/
536
+ n[3] + "housenumber.svg") || o(e, "src", t), o(
521
537
  e,
522
538
  "alt",
523
539
  /*placeType*/
524
- t[4]
540
+ n[6]
525
541
  ), o(e, "class", "svelte-ltkwvy");
526
542
  },
527
543
  m(r, l) {
528
- A(r, e, l);
544
+ U(r, e, l);
529
545
  },
530
546
  p(r, l) {
531
- l & /*placeType*/
532
- 16 && o(
547
+ l & /*iconsBaseUrl*/
548
+ 8 && !K(e.src, t = /*iconsBaseUrl*/
549
+ r[3] + "housenumber.svg") && o(e, "src", t), l & /*placeType*/
550
+ 64 && o(
533
551
  e,
534
552
  "alt",
535
553
  /*placeType*/
536
- r[4]
554
+ r[6]
537
555
  );
538
556
  },
539
557
  d(r) {
540
- r && S(e);
558
+ r && z(e);
541
559
  }
542
560
  };
543
561
  }
544
- function hn(t) {
545
- let e, n, r, l;
562
+ function _n(n) {
563
+ let e, t, r, l;
546
564
  return {
547
565
  c() {
548
- e = C("img"), le(e.src, n = /*imageUrl*/
549
- t[5]) || o(e, "src", n), o(
566
+ e = E("img"), K(e.src, t = /*imageUrl*/
567
+ n[5]) || o(e, "src", t), o(
550
568
  e,
551
569
  "alt",
552
570
  /*category*/
553
- t[3]
571
+ n[4]
554
572
  ), o(e, "class", "svelte-ltkwvy");
555
573
  },
556
574
  m(a, s) {
557
- A(a, e, s), r || (l = D(
575
+ U(a, e, s), r || (l = D(
558
576
  e,
559
577
  "error",
560
578
  /*error_handler*/
561
- t[10]
579
+ n[12]
562
580
  ), r = !0);
563
581
  },
564
582
  p(a, s) {
565
583
  s & /*imageUrl*/
566
- 32 && !le(e.src, n = /*imageUrl*/
567
- a[5]) && o(e, "src", n), s & /*category*/
568
- 8 && o(
584
+ 32 && !K(e.src, t = /*imageUrl*/
585
+ a[5]) && o(e, "src", t), s & /*category*/
586
+ 16 && o(
569
587
  e,
570
588
  "alt",
571
589
  /*category*/
572
- a[3]
590
+ a[4]
573
591
  );
574
592
  },
575
593
  d(a) {
576
- a && S(e), r = !1, l();
594
+ a && z(e), r = !1, l();
577
595
  }
578
596
  };
579
597
  }
580
- function rt(t) {
581
- let e, n;
598
+ function lt(n) {
599
+ let e, t;
582
600
  return {
583
601
  c() {
584
- e = C("span"), n = se(
602
+ e = E("span"), t = se(
585
603
  /*placeType*/
586
- t[4]
604
+ n[6]
587
605
  ), o(e, "class", "secondary svelte-ltkwvy");
588
606
  },
589
607
  m(r, l) {
590
- A(r, e, l), v(e, n);
608
+ U(r, e, l), v(e, t);
591
609
  },
592
610
  p(r, l) {
593
611
  l & /*placeType*/
594
- 16 && Me(
595
- n,
612
+ 64 && Me(
613
+ t,
596
614
  /*placeType*/
597
- r[4]
615
+ r[6]
598
616
  );
599
617
  },
600
618
  d(r) {
601
- r && S(e);
619
+ r && z(e);
602
620
  }
603
621
  };
604
622
  }
605
- function _n(t) {
606
- var M, R;
607
- let e, n, r, l, a, s, c, d, f = (
623
+ function gn(n) {
624
+ var B, R;
625
+ let e, t, r, l, a, s, f, d, c = (
608
626
  /*feature*/
609
- t[0].place_name.replace(/,.*/, "") + ""
610
- ), _, k, b = (
627
+ n[0].place_name.replace(/,.*/, "") + ""
628
+ ), m, k, g = (
611
629
  /*showPlaceType*/
612
- t[2] === "always" || /*showPlaceType*/
613
- t[2] && !/*feature*/
614
- t[0].address && /*feature*/
615
- ((M = t[0].properties) == null ? void 0 : M.kind) !== "road" && /*feature*/
616
- ((R = t[0].properties) == null ? void 0 : R.kind) !== "road_relation" && !/*feature*/
617
- t[0].id.startsWith("address.") && !/*feature*/
618
- t[0].id.startsWith("postal_code.") && (!/*feature*/
619
- t[0].id.startsWith("poi.") || !/*imageUrl*/
620
- t[5])
621
- ), E, z, p = (
630
+ n[2] === "always" || /*showPlaceType*/
631
+ n[2] && !/*feature*/
632
+ n[0].address && /*feature*/
633
+ ((B = n[0].properties) == null ? void 0 : B.kind) !== "road" && /*feature*/
634
+ ((R = n[0].properties) == null ? void 0 : R.kind) !== "road_relation" && !/*feature*/
635
+ n[0].id.startsWith("address.") && !/*feature*/
636
+ n[0].id.startsWith("postal_code.") && (!/*feature*/
637
+ n[0].id.startsWith("poi.") || !/*imageUrl*/
638
+ n[5])
639
+ ), C, I, T = (
622
640
  /*feature*/
623
- t[0].place_name.replace(/[^,]*,?\s*/, "") + ""
624
- ), g, W, B;
625
- function G(m, w) {
626
- var H, u;
641
+ n[0].place_name.replace(/[^,]*,?\s*/, "") + ""
642
+ ), M, A, y;
643
+ function F(_, w) {
644
+ var Q, u;
627
645
  return w & /*feature*/
628
- 1 && (n = null), w & /*feature*/
646
+ 1 && (t = null), w & /*feature*/
629
647
  1 && (r = null), w & /*feature*/
630
648
  1 && (l = null), /*imageUrl*/
631
- m[5] ? hn : (
649
+ _[5] ? _n : (
632
650
  /*feature*/
633
- m[0].address ? dn : (
651
+ _[0].address ? mn : (
634
652
  /*feature*/
635
- ((H = m[0].properties) == null ? void 0 : H.kind) === "road" || /*feature*/
636
- ((u = m[0].properties) == null ? void 0 : u.kind) === "road_relation" ? an : (n == null && (n = !!/*feature*/
637
- m[0].id.startsWith("address.")), n ? un : (r == null && (r = !!/*feature*/
638
- m[0].id.startsWith("postal_code.")), r ? fn : (l == null && (l = !!/*feature*/
639
- m[0].id.startsWith("poi.")), l ? cn : on)))
653
+ ((Q = _[0].properties) == null ? void 0 : Q.kind) === "road" || /*feature*/
654
+ ((u = _[0].properties) == null ? void 0 : u.kind) === "road_relation" ? hn : (t == null && (t = !!/*feature*/
655
+ _[0].id.startsWith("address.")), t ? dn : (r == null && (r = !!/*feature*/
656
+ _[0].id.startsWith("postal_code.")), r ? an : (l == null && (l = !!/*feature*/
657
+ _[0].id.startsWith("poi.")), l ? un : fn)))
640
658
  )
641
659
  );
642
660
  }
643
- let Z = G(t, -1), h = Z(t), y = b && rt(t);
661
+ let G = F(n, -1), h = G(n), b = g && lt(n);
644
662
  return {
645
663
  c() {
646
- e = C("li"), h.c(), a = V(), s = C("span"), c = C("span"), d = C("span"), _ = se(f), k = V(), y && y.c(), E = V(), z = C("span"), g = se(p), o(d, "class", "primary svelte-ltkwvy"), o(c, "class", "svelte-ltkwvy"), o(z, "class", "line2 svelte-ltkwvy"), o(s, "class", "texts svelte-ltkwvy"), o(e, "tabindex", "0"), o(
664
+ e = E("li"), h.c(), a = H(), s = E("span"), f = E("span"), d = E("span"), m = se(c), k = H(), b && b.c(), C = H(), I = E("span"), M = se(T), o(d, "class", "primary svelte-ltkwvy"), o(f, "class", "svelte-ltkwvy"), o(I, "class", "line2 svelte-ltkwvy"), o(s, "class", "texts svelte-ltkwvy"), o(e, "tabindex", "0"), o(
647
665
  e,
648
666
  "data-selected",
649
667
  /*selected*/
650
- t[1]
651
- ), o(e, "class", "svelte-ltkwvy"), re(
668
+ n[1]
669
+ ), o(e, "class", "svelte-ltkwvy"), le(
652
670
  e,
653
671
  "selected",
654
672
  /*selected*/
655
- t[1]
673
+ n[1]
656
674
  );
657
675
  },
658
- m(m, w) {
659
- A(m, e, w), h.m(e, null), v(e, a), v(e, s), v(s, c), v(c, d), v(d, _), v(c, k), y && y.m(c, null), v(s, E), v(s, z), v(z, g), W || (B = [
676
+ m(_, w) {
677
+ U(_, e, w), h.m(e, null), v(e, a), v(e, s), v(s, f), v(f, d), v(d, m), v(f, k), b && b.m(f, null), v(s, C), v(s, I), v(I, M), A || (y = [
660
678
  D(
661
679
  e,
662
680
  "mouseenter",
663
681
  /*mouseenter_handler*/
664
- t[8]
682
+ n[10]
665
683
  ),
666
684
  D(
667
685
  e,
668
686
  "focus",
669
687
  /*focus_handler*/
670
- t[9]
688
+ n[11]
671
689
  )
672
- ], W = !0);
673
- },
674
- p(m, [w]) {
675
- var H, u;
676
- Z === (Z = G(m, w)) && h ? h.p(m, w) : (h.d(1), h = Z(m), h && (h.c(), h.m(e, a))), w & /*feature*/
677
- 1 && f !== (f = /*feature*/
678
- m[0].place_name.replace(/,.*/, "") + "") && Me(_, f), w & /*showPlaceType, feature, imageUrl*/
679
- 37 && (b = /*showPlaceType*/
680
- m[2] === "always" || /*showPlaceType*/
681
- m[2] && !/*feature*/
682
- m[0].address && /*feature*/
683
- ((H = m[0].properties) == null ? void 0 : H.kind) !== "road" && /*feature*/
684
- ((u = m[0].properties) == null ? void 0 : u.kind) !== "road_relation" && !/*feature*/
685
- m[0].id.startsWith("address.") && !/*feature*/
686
- m[0].id.startsWith("postal_code.") && (!/*feature*/
687
- m[0].id.startsWith("poi.") || !/*imageUrl*/
688
- m[5])), b ? y ? y.p(m, w) : (y = rt(m), y.c(), y.m(c, null)) : y && (y.d(1), y = null), w & /*feature*/
689
- 1 && p !== (p = /*feature*/
690
- m[0].place_name.replace(/[^,]*,?\s*/, "") + "") && Me(g, p), w & /*selected*/
690
+ ], A = !0);
691
+ },
692
+ p(_, [w]) {
693
+ var Q, u;
694
+ G === (G = F(_, w)) && h ? h.p(_, w) : (h.d(1), h = G(_), h && (h.c(), h.m(e, a))), w & /*feature*/
695
+ 1 && c !== (c = /*feature*/
696
+ _[0].place_name.replace(/,.*/, "") + "") && Me(m, c), w & /*showPlaceType, feature, imageUrl*/
697
+ 37 && (g = /*showPlaceType*/
698
+ _[2] === "always" || /*showPlaceType*/
699
+ _[2] && !/*feature*/
700
+ _[0].address && /*feature*/
701
+ ((Q = _[0].properties) == null ? void 0 : Q.kind) !== "road" && /*feature*/
702
+ ((u = _[0].properties) == null ? void 0 : u.kind) !== "road_relation" && !/*feature*/
703
+ _[0].id.startsWith("address.") && !/*feature*/
704
+ _[0].id.startsWith("postal_code.") && (!/*feature*/
705
+ _[0].id.startsWith("poi.") || !/*imageUrl*/
706
+ _[5])), g ? b ? b.p(_, w) : (b = lt(_), b.c(), b.m(f, null)) : b && (b.d(1), b = null), w & /*feature*/
707
+ 1 && T !== (T = /*feature*/
708
+ _[0].place_name.replace(/[^,]*,?\s*/, "") + "") && Me(M, T), w & /*selected*/
691
709
  2 && o(
692
710
  e,
693
711
  "data-selected",
694
712
  /*selected*/
695
- m[1]
713
+ _[1]
696
714
  ), w & /*selected*/
697
- 2 && re(
715
+ 2 && le(
698
716
  e,
699
717
  "selected",
700
718
  /*selected*/
701
- m[1]
719
+ _[1]
702
720
  );
703
721
  },
704
- i: P,
705
- o: P,
706
- d(m) {
707
- m && S(e), h.d(), y && y.d(), W = !1, ee(B);
722
+ i: S,
723
+ o: S,
724
+ d(_) {
725
+ _ && z(e), h.d(), b && b.d(), A = !1, te(y);
708
726
  }
709
727
  };
710
728
  }
711
- function mn(t, e, n) {
712
- var p;
713
- let r, l, a, s, { feature: c } = e, { selected: d = !1 } = e, { showPlaceType: f } = e;
714
- const _ = (p = c.properties) == null ? void 0 : p.categories;
715
- function k(g) {
716
- r > -1 ? n(7, r--, r) : g.style.visibility = "hidden";
729
+ function yn(n, e, t) {
730
+ var A;
731
+ let r, l, { feature: a } = e, { selected: s = !1 } = e, { showPlaceType: f } = e, { missingIconsCache: d } = e, { iconsBaseUrl: c } = e;
732
+ const m = (A = a.properties) == null ? void 0 : A.categories;
733
+ let k, g;
734
+ function C(y) {
735
+ g && d.add(g), t(9, r--, r);
717
736
  }
718
- function b(g) {
719
- tt.call(this, t, g);
737
+ function I(y) {
738
+ nt.call(this, n, y);
720
739
  }
721
- function E(g) {
722
- tt.call(this, t, g);
740
+ function T(y) {
741
+ nt.call(this, n, y);
723
742
  }
724
- const z = (g) => k(g.currentTarget);
725
- return t.$$set = (g) => {
726
- "feature" in g && n(0, c = g.feature), "selected" in g && n(1, d = g.selected), "showPlaceType" in g && n(2, f = g.showPlaceType);
727
- }, t.$$.update = () => {
728
- var g, W, B, G;
729
- t.$$.dirty & /*index*/
730
- 128 && n(3, l = _ == null ? void 0 : _[r]), t.$$.dirty & /*category*/
731
- 8 && n(5, a = l ? `/icons/${l.replace(/ /g, "_")}.svg` : void 0), t.$$.dirty & /*feature*/
732
- 1 && n(4, s = c.id.startsWith("poi.") ? (W = (g = c.properties) == null ? void 0 : g.categories) == null ? void 0 : W.join(", ") : ((G = (B = c.properties) == null ? void 0 : B.place_type_name) == null ? void 0 : G[0]) ?? c.place_type[0]);
733
- }, n(7, r = ((_ == null ? void 0 : _.length) ?? 0) - 1), [
734
- c,
735
- d,
736
- f,
737
- l,
738
- s,
743
+ const M = (y) => C(y.currentTarget);
744
+ return n.$$set = (y) => {
745
+ "feature" in y && t(0, a = y.feature), "selected" in y && t(1, s = y.selected), "showPlaceType" in y && t(2, f = y.showPlaceType), "missingIconsCache" in y && t(8, d = y.missingIconsCache), "iconsBaseUrl" in y && t(3, c = y.iconsBaseUrl);
746
+ }, n.$$.update = () => {
747
+ var y, F, G, h;
748
+ if (n.$$.dirty & /*index, category, iconsBaseUrl, imageUrl, missingIconsCache*/
749
+ 824)
750
+ do
751
+ t(9, r--, r), t(4, k = m == null ? void 0 : m[r]), t(5, g = k ? c + k.replace(/ /g, "_") + ".svg" : void 0);
752
+ while (r > -1 && (!g || d.has(g)));
753
+ n.$$.dirty & /*feature*/
754
+ 1 && t(6, l = a.id.startsWith("poi.") ? (F = (y = a.properties) == null ? void 0 : y.categories) == null ? void 0 : F.join(", ") : ((h = (G = a.properties) == null ? void 0 : G.place_type_name) == null ? void 0 : h[0]) ?? a.place_type[0]);
755
+ }, t(9, r = (m == null ? void 0 : m.length) ?? 0), [
739
756
  a,
757
+ s,
758
+ f,
759
+ c,
740
760
  k,
761
+ g,
762
+ l,
763
+ C,
764
+ d,
741
765
  r,
742
- b,
743
- E,
744
- z
766
+ I,
767
+ T,
768
+ M
745
769
  ];
746
770
  }
747
- class gn extends me {
771
+ class bn extends _e {
748
772
  constructor(e) {
749
- super(), _e(this, e, mn, _n, he, {
773
+ super(), me(this, e, yn, gn, he, {
750
774
  feature: 0,
751
775
  selected: 1,
752
- showPlaceType: 2
776
+ showPlaceType: 2,
777
+ missingIconsCache: 8,
778
+ iconsBaseUrl: 3
753
779
  });
754
780
  }
755
781
  }
756
- function yn(t) {
782
+ function wn(n) {
757
783
  let e;
758
784
  return {
759
785
  c() {
760
- e = C("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>', o(e, "class", "svelte-7cmwmc");
786
+ e = E("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>', o(e, "class", "svelte-7cmwmc");
761
787
  },
762
- m(n, r) {
763
- A(n, e, r);
788
+ m(t, r) {
789
+ U(t, e, r);
764
790
  },
765
- p: P,
766
- i: P,
767
- o: P,
768
- d(n) {
769
- n && S(e);
791
+ p: S,
792
+ i: S,
793
+ o: S,
794
+ d(t) {
795
+ t && z(e);
770
796
  }
771
797
  };
772
798
  }
773
- class bn extends me {
799
+ class kn extends _e {
774
800
  constructor(e) {
775
- super(), _e(this, e, null, yn, he, {});
801
+ super(), me(this, e, null, wn, he, {});
776
802
  }
777
803
  }
778
- function wn(t) {
779
- let e, n;
804
+ function vn(n) {
805
+ let e, t;
780
806
  return {
781
807
  c() {
782
- e = ie("svg"), n = ie("path"), o(n, "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"), o(e, "viewBox", "0 0 60.006 21.412"), o(e, "width", "14"), o(e, "height", "20"), o(e, "class", "svelte-en2qvf");
808
+ e = ie("svg"), t = ie("path"), o(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"), o(e, "viewBox", "0 0 60.006 21.412"), o(e, "width", "14"), o(e, "height", "20"), o(e, "class", "svelte-en2qvf");
783
809
  },
784
810
  m(r, l) {
785
- A(r, e, l), v(e, n);
811
+ U(r, e, l), v(e, t);
786
812
  },
787
- p: P,
788
- i: P,
789
- o: P,
813
+ p: S,
814
+ i: S,
815
+ o: S,
790
816
  d(r) {
791
- r && S(e);
817
+ r && z(e);
792
818
  }
793
819
  };
794
820
  }
795
- class kn extends me {
821
+ class pn extends _e {
796
822
  constructor(e) {
797
- super(), _e(this, e, null, wn, he, {});
823
+ super(), me(this, e, null, vn, he, {});
798
824
  }
799
825
  }
800
- function vn(t) {
801
- let e, n;
826
+ function Tn(n) {
827
+ let e, t;
802
828
  return {
803
829
  c() {
804
- e = ie("svg"), n = ie("path"), o(n, "d", "M13.101 14.261 8.74 9.899a4.797 4.797 0 0 1-1.425.748 5.165 5.165 0 0 1-1.603.248c-1.446 0-2.677-.5-3.693-1.503S.495 7.164.495 5.717c0-1.446.508-2.678 1.524-3.693C3.035 1.008 4.266.5 5.712.5c1.448 0 2.672.508 3.675 1.524 1.002 1.015 1.503 2.247 1.503 3.693 0 .558-.08 1.092-.239 1.603-.159.512-.411.98-.757 1.405l4.382 4.4a.74.74 0 0 1 .229.568.81.81 0 0 1-.249.568.787.787 0 0 1-.577.239.787.787 0 0 1-.578-.239ZM5.712 9.223c.97 0 1.796-.342 2.48-1.026a3.378 3.378 0 0 0 1.026-2.48c0-.982-.34-1.818-1.016-2.509-.677-.69-1.507-1.035-2.49-1.035a3.42 3.42 0 0 0-2.509 1.035 3.42 3.42 0 0 0-1.035 2.51c0 .982.345 1.812 1.035 2.488.691.678 1.527 1.017 2.51 1.017Z"), o(e, "width", "14"), o(e, "height", "14"), o(e, "viewBox", "0 0 15 15"), o(e, "class", "svelte-en2qvf");
830
+ e = ie("svg"), t = ie("path"), o(t, "d", "M13.101 14.261 8.74 9.899a4.797 4.797 0 0 1-1.425.748 5.165 5.165 0 0 1-1.603.248c-1.446 0-2.677-.5-3.693-1.503S.495 7.164.495 5.717c0-1.446.508-2.678 1.524-3.693C3.035 1.008 4.266.5 5.712.5c1.448 0 2.672.508 3.675 1.524 1.002 1.015 1.503 2.247 1.503 3.693 0 .558-.08 1.092-.239 1.603-.159.512-.411.98-.757 1.405l4.382 4.4a.74.74 0 0 1 .229.568.81.81 0 0 1-.249.568.787.787 0 0 1-.577.239.787.787 0 0 1-.578-.239ZM5.712 9.223c.97 0 1.796-.342 2.48-1.026a3.378 3.378 0 0 0 1.026-2.48c0-.982-.34-1.818-1.016-2.509-.677-.69-1.507-1.035-2.49-1.035a3.42 3.42 0 0 0-2.509 1.035 3.42 3.42 0 0 0-1.035 2.51c0 .982.345 1.812 1.035 2.488.691.678 1.527 1.017 2.51 1.017Z"), o(e, "width", "14"), o(e, "height", "14"), o(e, "viewBox", "0 0 15 15"), o(e, "class", "svelte-en2qvf");
805
831
  },
806
832
  m(r, l) {
807
- A(r, e, l), v(e, n);
833
+ U(r, e, l), v(e, t);
808
834
  },
809
- p: P,
810
- i: P,
811
- o: P,
835
+ p: S,
836
+ i: S,
837
+ o: S,
812
838
  d(r) {
813
- r && S(e);
839
+ r && z(e);
814
840
  }
815
841
  };
816
842
  }
817
- class pn extends me {
843
+ class Mn extends _e {
818
844
  constructor(e) {
819
- super(), _e(this, e, null, vn, he, {});
845
+ super(), me(this, e, null, Tn, he, {});
820
846
  }
821
847
  }
822
- function lt(t, e, n) {
823
- const r = t.slice();
824
- return r[73] = e[n], r[75] = n, r;
848
+ function it(n, e, t) {
849
+ const r = n.slice();
850
+ return r[75] = e[t], r[77] = t, r;
825
851
  }
826
- function it(t) {
827
- let e, n;
828
- return e = new bn({}), {
852
+ function st(n) {
853
+ let e, t;
854
+ return e = new kn({}), {
829
855
  c() {
830
856
  oe(e.$$.fragment);
831
857
  },
832
858
  m(r, l) {
833
- x(e, r, l), n = !0;
859
+ $(e, r, l), t = !0;
834
860
  },
835
861
  i(r) {
836
- n || (F(e.$$.fragment, r), n = !0);
862
+ t || (j(e.$$.fragment, r), t = !0);
837
863
  },
838
864
  o(r) {
839
- O(e.$$.fragment, r), n = !1;
865
+ O(e.$$.fragment, r), t = !1;
840
866
  },
841
867
  d(r) {
842
- $(e, r);
868
+ ee(e, r);
843
869
  }
844
870
  };
845
871
  }
846
- function st(t) {
847
- let e, n, r, l, a;
848
- return n = new kn({}), {
872
+ function ot(n) {
873
+ let e, t, r, l, a;
874
+ return t = new pn({}), {
849
875
  c() {
850
- e = C("button"), oe(n.$$.fragment), o(e, "type", "button"), o(
876
+ e = E("button"), oe(t.$$.fragment), o(e, "type", "button"), o(
851
877
  e,
852
878
  "title",
853
879
  /*reverseButtonTitle*/
854
- t[9]
855
- ), o(e, "class", "svelte-1r7dvt7"), re(
880
+ n[9]
881
+ ), o(e, "class", "svelte-1r7dvt7"), le(
856
882
  e,
857
883
  "active",
858
884
  /*reverseActive*/
859
- t[0]
885
+ n[0]
860
886
  );
861
887
  },
862
- m(s, c) {
863
- A(s, e, c), x(n, e, null), r = !0, l || (a = D(
888
+ m(s, f) {
889
+ U(s, e, f), $(t, e, null), r = !0, l || (a = D(
864
890
  e,
865
891
  "click",
866
892
  /*click_handler_2*/
867
- t[59]
893
+ n[61]
868
894
  ), l = !0);
869
895
  },
870
- p(s, c) {
871
- (!r || c[0] & /*reverseButtonTitle*/
896
+ p(s, f) {
897
+ (!r || f[0] & /*reverseButtonTitle*/
872
898
  512) && o(
873
899
  e,
874
900
  "title",
875
901
  /*reverseButtonTitle*/
876
902
  s[9]
877
- ), (!r || c[0] & /*reverseActive*/
878
- 1) && re(
903
+ ), (!r || f[0] & /*reverseActive*/
904
+ 1) && le(
879
905
  e,
880
906
  "active",
881
907
  /*reverseActive*/
@@ -883,191 +909,191 @@ function st(t) {
883
909
  );
884
910
  },
885
911
  i(s) {
886
- r || (F(n.$$.fragment, s), r = !0);
912
+ r || (j(t.$$.fragment, s), r = !0);
887
913
  },
888
914
  o(s) {
889
- O(n.$$.fragment, s), r = !1;
915
+ O(t.$$.fragment, s), r = !1;
890
916
  },
891
917
  d(s) {
892
- s && S(e), $(n), l = !1, a();
918
+ s && z(e), ee(t), l = !1, a();
893
919
  }
894
920
  };
895
921
  }
896
- function Tn(t) {
897
- let e, n = [], r = /* @__PURE__ */ new Map(), l, a, s, c = (
922
+ function Cn(n) {
923
+ let e, t = [], r = /* @__PURE__ */ new Map(), l, a, s, f = (
898
924
  /*listFeatures*/
899
- t[12]
925
+ n[13]
900
926
  );
901
- const d = (f) => (
927
+ const d = (c) => (
902
928
  /*feature*/
903
- f[73].id + /*feature*/
904
- (f[73].address ? "," + /*feature*/
905
- f[73].address : "")
929
+ c[75].id + /*feature*/
930
+ (c[75].address ? "," + /*feature*/
931
+ c[75].address : "")
906
932
  );
907
- for (let f = 0; f < c.length; f += 1) {
908
- let _ = lt(t, c, f), k = d(_);
909
- r.set(k, n[f] = ot(k, _));
933
+ for (let c = 0; c < f.length; c += 1) {
934
+ let m = it(n, f, c), k = d(m);
935
+ r.set(k, t[c] = ct(k, m));
910
936
  }
911
937
  return {
912
938
  c() {
913
- e = C("ul");
914
- for (let f = 0; f < n.length; f += 1)
915
- n[f].c();
939
+ e = E("ul");
940
+ for (let c = 0; c < t.length; c += 1)
941
+ t[c].c();
916
942
  o(e, "class", "svelte-1r7dvt7");
917
943
  },
918
- m(f, _) {
919
- A(f, e, _);
920
- for (let k = 0; k < n.length; k += 1)
921
- n[k] && n[k].m(e, null);
944
+ m(c, m) {
945
+ U(c, e, m);
946
+ for (let k = 0; k < t.length; k += 1)
947
+ t[k] && t[k].m(e, null);
922
948
  l = !0, a || (s = [
923
949
  D(
924
950
  e,
925
951
  "mouseleave",
926
952
  /*mouseleave_handler*/
927
- t[63]
953
+ n[65]
928
954
  ),
929
955
  D(
930
956
  e,
931
957
  "blur",
932
958
  /*blur_handler_1*/
933
- t[64]
959
+ n[66]
934
960
  )
935
961
  ], a = !0);
936
962
  },
937
- p(f, _) {
938
- _[0] & /*listFeatures, showPlaceType, selectedItemIndex, pick*/
939
- 2110464 && (c = /*listFeatures*/
940
- f[12], Se(), n = nn(n, _, d, 1, f, c, r, e, tn, ot, null, lt), Ie());
963
+ p(c, m) {
964
+ m[0] & /*listFeatures, showPlaceType, selectedItemIndex, missingIconsCache, iconsBaseUrl, pick*/
965
+ 8940544 && (f = /*listFeatures*/
966
+ c[13], ze(), t = ln(t, m, d, 1, c, f, r, e, rn, ct, null, it), Pe());
941
967
  },
942
- i(f) {
968
+ i(c) {
943
969
  if (!l) {
944
- for (let _ = 0; _ < c.length; _ += 1)
945
- F(n[_]);
970
+ for (let m = 0; m < f.length; m += 1)
971
+ j(t[m]);
946
972
  l = !0;
947
973
  }
948
974
  },
949
- o(f) {
950
- for (let _ = 0; _ < n.length; _ += 1)
951
- O(n[_]);
975
+ o(c) {
976
+ for (let m = 0; m < t.length; m += 1)
977
+ O(t[m]);
952
978
  l = !1;
953
979
  },
954
- d(f) {
955
- f && S(e);
956
- for (let _ = 0; _ < n.length; _ += 1)
957
- n[_].d();
958
- a = !1, ee(s);
980
+ d(c) {
981
+ c && z(e);
982
+ for (let m = 0; m < t.length; m += 1)
983
+ t[m].d();
984
+ a = !1, te(s);
959
985
  }
960
986
  };
961
987
  }
962
- function Mn(t) {
963
- let e, n, r, l, a, s;
964
- return n = new yt({}), {
988
+ function Bn(n) {
989
+ let e, t, r, l, a, s;
990
+ return t = new bt({}), {
965
991
  c() {
966
- e = C("div"), oe(n.$$.fragment), r = V(), l = C("div"), a = se(
992
+ e = E("div"), oe(t.$$.fragment), r = H(), l = E("div"), a = se(
967
993
  /*noResultsMessage*/
968
- t[7]
994
+ n[7]
969
995
  ), o(l, "class", "svelte-1r7dvt7"), o(e, "class", "no-results svelte-1r7dvt7");
970
996
  },
971
- m(c, d) {
972
- A(c, e, d), x(n, e, null), v(e, r), v(e, l), v(l, a), s = !0;
997
+ m(f, d) {
998
+ U(f, e, d), $(t, e, null), v(e, r), v(e, l), v(l, a), s = !0;
973
999
  },
974
- p(c, d) {
1000
+ p(f, d) {
975
1001
  (!s || d[0] & /*noResultsMessage*/
976
1002
  128) && Me(
977
1003
  a,
978
1004
  /*noResultsMessage*/
979
- c[7]
1005
+ f[7]
980
1006
  );
981
1007
  },
982
- i(c) {
983
- s || (F(n.$$.fragment, c), s = !0);
1008
+ i(f) {
1009
+ s || (j(t.$$.fragment, f), s = !0);
984
1010
  },
985
- o(c) {
986
- O(n.$$.fragment, c), s = !1;
1011
+ o(f) {
1012
+ O(t.$$.fragment, f), s = !1;
987
1013
  },
988
- d(c) {
989
- c && S(e), $(n);
1014
+ d(f) {
1015
+ f && z(e), ee(t);
990
1016
  }
991
1017
  };
992
1018
  }
993
- function Rn(t) {
994
- let e = "", n;
1019
+ function Rn(n) {
1020
+ let e = "", t;
995
1021
  return {
996
1022
  c() {
997
- n = se(e);
1023
+ t = se(e);
998
1024
  },
999
1025
  m(r, l) {
1000
- A(r, n, l);
1026
+ U(r, t, l);
1001
1027
  },
1002
- p: P,
1003
- i: P,
1004
- o: P,
1028
+ p: S,
1029
+ i: S,
1030
+ o: S,
1005
1031
  d(r) {
1006
- r && S(n);
1032
+ r && z(t);
1007
1033
  }
1008
1034
  };
1009
1035
  }
1010
- function Ln(t) {
1011
- let e, n, r, l, a, s, c, d, f, _, k;
1012
- return n = new yt({}), d = new gt({}), {
1036
+ function Ln(n) {
1037
+ let e, t, r, l, a, s, f, d, c, m, k;
1038
+ return t = new bt({}), d = new yt({}), {
1013
1039
  c() {
1014
- e = C("div"), oe(n.$$.fragment), r = V(), l = C("div"), a = se(
1040
+ e = E("div"), oe(t.$$.fragment), r = H(), l = E("div"), a = se(
1015
1041
  /*errorMessage*/
1016
- t[6]
1017
- ), s = V(), c = C("button"), oe(d.$$.fragment), o(l, "class", "svelte-1r7dvt7"), o(c, "class", "svelte-1r7dvt7"), o(e, "class", "error svelte-1r7dvt7");
1042
+ n[6]
1043
+ ), s = H(), f = E("button"), oe(d.$$.fragment), o(l, "class", "svelte-1r7dvt7"), o(f, "class", "svelte-1r7dvt7"), o(e, "class", "error svelte-1r7dvt7");
1018
1044
  },
1019
- m(b, E) {
1020
- A(b, e, E), x(n, e, null), v(e, r), v(e, l), v(l, a), v(e, s), v(e, c), x(d, c, null), f = !0, _ || (k = D(
1021
- c,
1045
+ m(g, C) {
1046
+ U(g, e, C), $(t, e, null), v(e, r), v(e, l), v(l, a), v(e, s), v(e, f), $(d, f, null), c = !0, m || (k = D(
1047
+ f,
1022
1048
  "click",
1023
1049
  /*click_handler_3*/
1024
- t[60]
1025
- ), _ = !0);
1050
+ n[62]
1051
+ ), m = !0);
1026
1052
  },
1027
- p(b, E) {
1028
- (!f || E[0] & /*errorMessage*/
1053
+ p(g, C) {
1054
+ (!c || C[0] & /*errorMessage*/
1029
1055
  64) && Me(
1030
1056
  a,
1031
1057
  /*errorMessage*/
1032
- b[6]
1058
+ g[6]
1033
1059
  );
1034
1060
  },
1035
- i(b) {
1036
- f || (F(n.$$.fragment, b), F(d.$$.fragment, b), f = !0);
1061
+ i(g) {
1062
+ c || (j(t.$$.fragment, g), j(d.$$.fragment, g), c = !0);
1037
1063
  },
1038
- o(b) {
1039
- O(n.$$.fragment, b), O(d.$$.fragment, b), f = !1;
1064
+ o(g) {
1065
+ O(t.$$.fragment, g), O(d.$$.fragment, g), c = !1;
1040
1066
  },
1041
- d(b) {
1042
- b && S(e), $(n), $(d), _ = !1, k();
1067
+ d(g) {
1068
+ g && z(e), ee(t), ee(d), m = !1, k();
1043
1069
  }
1044
1070
  };
1045
1071
  }
1046
- function ot(t, e) {
1047
- let n, r, l;
1072
+ function ct(n, e) {
1073
+ let t, r, l;
1048
1074
  function a() {
1049
1075
  return (
1050
1076
  /*mouseenter_handler*/
1051
- e[61](
1077
+ e[63](
1052
1078
  /*i*/
1053
- e[75]
1079
+ e[77]
1054
1080
  )
1055
1081
  );
1056
1082
  }
1057
1083
  function s() {
1058
1084
  return (
1059
1085
  /*focus_handler_1*/
1060
- e[62](
1086
+ e[64](
1061
1087
  /*feature*/
1062
- e[73]
1088
+ e[75]
1063
1089
  )
1064
1090
  );
1065
1091
  }
1066
- return r = new gn({
1092
+ return r = new bn({
1067
1093
  props: {
1068
1094
  feature: (
1069
1095
  /*feature*/
1070
- e[73]
1096
+ e[75]
1071
1097
  ),
1072
1098
  showPlaceType: (
1073
1099
  /*showPlaceType*/
@@ -1075,233 +1101,243 @@ function ot(t, e) {
1075
1101
  ),
1076
1102
  selected: (
1077
1103
  /*selectedItemIndex*/
1078
- e[13] === /*i*/
1079
- e[75]
1104
+ e[14] === /*i*/
1105
+ e[77]
1106
+ ),
1107
+ missingIconsCache: (
1108
+ /*missingIconsCache*/
1109
+ e[19]
1110
+ ),
1111
+ iconsBaseUrl: (
1112
+ /*iconsBaseUrl*/
1113
+ e[11]
1080
1114
  )
1081
1115
  }
1082
1116
  }), r.$on("mouseenter", a), r.$on("focus", s), {
1083
- key: t,
1117
+ key: n,
1084
1118
  first: null,
1085
1119
  c() {
1086
- n = Kt(), oe(r.$$.fragment), this.first = n;
1120
+ t = Ht(), oe(r.$$.fragment), this.first = t;
1087
1121
  },
1088
- m(c, d) {
1089
- A(c, n, d), x(r, c, d), l = !0;
1122
+ m(f, d) {
1123
+ U(f, t, d), $(r, f, d), l = !0;
1090
1124
  },
1091
- p(c, d) {
1092
- e = c;
1093
- const f = {};
1125
+ p(f, d) {
1126
+ e = f;
1127
+ const c = {};
1094
1128
  d[0] & /*listFeatures*/
1095
- 4096 && (f.feature = /*feature*/
1096
- e[73]), d[0] & /*showPlaceType*/
1097
- 1024 && (f.showPlaceType = /*showPlaceType*/
1129
+ 8192 && (c.feature = /*feature*/
1130
+ e[75]), d[0] & /*showPlaceType*/
1131
+ 1024 && (c.showPlaceType = /*showPlaceType*/
1098
1132
  e[10]), d[0] & /*selectedItemIndex, listFeatures*/
1099
- 12288 && (f.selected = /*selectedItemIndex*/
1100
- e[13] === /*i*/
1101
- e[75]), r.$set(f);
1133
+ 24576 && (c.selected = /*selectedItemIndex*/
1134
+ e[14] === /*i*/
1135
+ e[77]), d[0] & /*iconsBaseUrl*/
1136
+ 2048 && (c.iconsBaseUrl = /*iconsBaseUrl*/
1137
+ e[11]), r.$set(c);
1102
1138
  },
1103
- i(c) {
1104
- l || (F(r.$$.fragment, c), l = !0);
1139
+ i(f) {
1140
+ l || (j(r.$$.fragment, f), l = !0);
1105
1141
  },
1106
- o(c) {
1107
- O(r.$$.fragment, c), l = !1;
1142
+ o(f) {
1143
+ O(r.$$.fragment, f), l = !1;
1108
1144
  },
1109
- d(c) {
1110
- c && S(n), $(r, c);
1145
+ d(f) {
1146
+ f && z(t), ee(r, f);
1111
1147
  }
1112
1148
  };
1113
1149
  }
1114
- function En(t) {
1115
- let e, n, r, l, a, s, c, d, f, _, k, b, E, z, p, g, W, B, G, Z;
1116
- l = new pn({}), _ = new gt({});
1150
+ function En(n) {
1151
+ let e, t, r, l, a, s, f, d, c, m, k, g, C, I, T, M, A, y, F, G;
1152
+ l = new Mn({}), m = new yt({});
1117
1153
  let h = (
1118
1154
  /*abortController*/
1119
- t[17] && it()
1120
- ), y = (
1155
+ n[18] && st()
1156
+ ), b = (
1121
1157
  /*enableReverse*/
1122
- t[5] === !0 && st(t)
1158
+ n[5] === !0 && ot(n)
1123
1159
  );
1124
- const M = (
1160
+ const B = (
1125
1161
  /*#slots*/
1126
- t[51].default
1127
- ), R = Zt(
1128
- M,
1129
- t,
1162
+ n[53].default
1163
+ ), R = qt(
1164
+ B,
1165
+ n,
1130
1166
  /*$$scope*/
1131
- t[50],
1167
+ n[52],
1132
1168
  null
1133
- ), m = [Ln, Rn, Mn, Tn], w = [];
1134
- function H(u, I) {
1135
- var Y, ce;
1169
+ ), _ = [Ln, Rn, Bn, Cn], w = [];
1170
+ function Q(u, P) {
1171
+ var x, ce;
1136
1172
  return (
1137
1173
  /*error*/
1138
- u[16] ? 0 : (
1174
+ u[17] ? 0 : (
1139
1175
  /*focusedDelayed*/
1140
- u[14] ? (
1176
+ u[15] ? (
1141
1177
  /*listFeatures*/
1142
- ((Y = u[12]) == null ? void 0 : Y.length) === 0 ? 2 : (
1178
+ ((x = u[13]) == null ? void 0 : x.length) === 0 ? 2 : (
1143
1179
  /*focusedDelayed*/
1144
- u[14] && /*listFeatures*/
1145
- ((ce = u[12]) != null && ce.length) ? 3 : -1
1180
+ u[15] && /*listFeatures*/
1181
+ ((ce = u[13]) != null && ce.length) ? 3 : -1
1146
1182
  )
1147
1183
  ) : 1
1148
1184
  )
1149
1185
  );
1150
1186
  }
1151
- return ~(p = H(t)) && (g = w[p] = m[p](t)), {
1187
+ return ~(T = Q(n)) && (M = w[T] = _[T](n)), {
1152
1188
  c() {
1153
- e = C("form"), n = C("div"), r = C("button"), oe(l.$$.fragment), a = V(), s = C("input"), c = V(), d = C("div"), f = C("button"), oe(_.$$.fragment), k = V(), h && h.c(), b = V(), y && y.c(), E = V(), R && R.c(), z = V(), g && g.c(), o(r, "class", "search-button svelte-1r7dvt7"), o(r, "type", "button"), o(
1189
+ e = E("form"), t = E("div"), r = E("button"), oe(l.$$.fragment), a = H(), s = E("input"), f = H(), d = E("div"), c = E("button"), oe(m.$$.fragment), k = H(), h && h.c(), g = H(), b && b.c(), C = H(), R && R.c(), I = H(), M && M.c(), o(r, "class", "search-button svelte-1r7dvt7"), o(r, "type", "button"), o(
1154
1190
  s,
1155
1191
  "placeholder",
1156
1192
  /*placeholder*/
1157
- t[8]
1193
+ n[8]
1158
1194
  ), o(
1159
1195
  s,
1160
1196
  "aria-label",
1161
1197
  /*placeholder*/
1162
- t[8]
1163
- ), o(s, "class", "svelte-1r7dvt7"), o(f, "type", "button"), o(
1164
- f,
1198
+ n[8]
1199
+ ), o(s, "class", "svelte-1r7dvt7"), o(c, "type", "button"), o(
1200
+ c,
1165
1201
  "title",
1166
1202
  /*clearButtonTitle*/
1167
- t[3]
1168
- ), o(f, "class", "svelte-1r7dvt7"), o(d, "class", "clear-button-container svelte-1r7dvt7"), re(
1203
+ n[3]
1204
+ ), o(c, "class", "svelte-1r7dvt7"), o(d, "class", "clear-button-container svelte-1r7dvt7"), le(
1169
1205
  d,
1170
1206
  "displayable",
1171
1207
  /*searchValue*/
1172
- t[1] !== ""
1173
- ), o(n, "class", "input-group svelte-1r7dvt7"), o(e, "tabindex", "0"), o(e, "class", W = $e(
1208
+ n[1] !== ""
1209
+ ), o(t, "class", "input-group svelte-1r7dvt7"), o(e, "tabindex", "0"), o(e, "class", A = et(
1174
1210
  /*className*/
1175
- t[2]
1176
- ) + " svelte-1r7dvt7"), re(
1211
+ n[2]
1212
+ ) + " svelte-1r7dvt7"), le(
1177
1213
  e,
1178
1214
  "can-collapse",
1179
1215
  /*collapsed*/
1180
- t[4] && /*searchValue*/
1181
- t[1] === ""
1216
+ n[4] && /*searchValue*/
1217
+ n[1] === ""
1182
1218
  );
1183
1219
  },
1184
- m(u, I) {
1185
- A(u, e, I), v(e, n), v(n, r), x(l, r, null), v(n, a), v(n, s), t[53](s), et(
1220
+ m(u, P) {
1221
+ U(u, e, P), v(e, t), v(t, r), $(l, r, null), v(t, a), v(t, s), n[55](s), tt(
1186
1222
  s,
1187
1223
  /*searchValue*/
1188
- t[1]
1189
- ), v(n, c), v(n, d), v(d, f), x(_, f, null), v(d, k), h && h.m(d, null), v(n, b), y && y.m(n, null), v(n, E), R && R.m(n, null), v(e, z), ~p && w[p].m(e, null), B = !0, G || (Z = [
1224
+ n[1]
1225
+ ), v(t, f), v(t, d), v(d, c), $(m, c, null), v(d, k), h && h.m(d, null), v(t, g), b && b.m(t, null), v(t, C), R && R.m(t, null), v(e, I), ~T && w[T].m(e, null), y = !0, F || (G = [
1190
1226
  D(
1191
1227
  r,
1192
1228
  "click",
1193
1229
  /*click_handler*/
1194
- t[52]
1230
+ n[54]
1195
1231
  ),
1196
1232
  D(
1197
1233
  s,
1198
1234
  "input",
1199
1235
  /*input_1_input_handler*/
1200
- t[54]
1236
+ n[56]
1201
1237
  ),
1202
1238
  D(
1203
1239
  s,
1204
1240
  "focus",
1205
1241
  /*focus_handler*/
1206
- t[55]
1242
+ n[57]
1207
1243
  ),
1208
1244
  D(
1209
1245
  s,
1210
1246
  "blur",
1211
1247
  /*blur_handler*/
1212
- t[56]
1248
+ n[58]
1213
1249
  ),
1214
1250
  D(
1215
1251
  s,
1216
1252
  "keydown",
1217
1253
  /*handleKeyDown*/
1218
- t[19]
1254
+ n[21]
1219
1255
  ),
1220
1256
  D(
1221
1257
  s,
1222
1258
  "input",
1223
1259
  /*input_handler*/
1224
- t[57]
1260
+ n[59]
1225
1261
  ),
1226
1262
  D(
1227
- f,
1263
+ c,
1228
1264
  "click",
1229
1265
  /*click_handler_1*/
1230
- t[58]
1266
+ n[60]
1231
1267
  ),
1232
- D(e, "submit", Vt(
1268
+ D(e, "submit", Qt(
1233
1269
  /*handleOnSubmit*/
1234
- t[18]
1270
+ n[20]
1235
1271
  ))
1236
- ], G = !0);
1272
+ ], F = !0);
1237
1273
  },
1238
- p(u, I) {
1239
- (!B || I[0] & /*placeholder*/
1274
+ p(u, P) {
1275
+ (!y || P[0] & /*placeholder*/
1240
1276
  256) && o(
1241
1277
  s,
1242
1278
  "placeholder",
1243
1279
  /*placeholder*/
1244
1280
  u[8]
1245
- ), (!B || I[0] & /*placeholder*/
1281
+ ), (!y || P[0] & /*placeholder*/
1246
1282
  256) && o(
1247
1283
  s,
1248
1284
  "aria-label",
1249
1285
  /*placeholder*/
1250
1286
  u[8]
1251
- ), I[0] & /*searchValue*/
1287
+ ), P[0] & /*searchValue*/
1252
1288
  2 && s.value !== /*searchValue*/
1253
- u[1] && et(
1289
+ u[1] && tt(
1254
1290
  s,
1255
1291
  /*searchValue*/
1256
1292
  u[1]
1257
- ), (!B || I[0] & /*clearButtonTitle*/
1293
+ ), (!y || P[0] & /*clearButtonTitle*/
1258
1294
  8) && o(
1259
- f,
1295
+ c,
1260
1296
  "title",
1261
1297
  /*clearButtonTitle*/
1262
1298
  u[3]
1263
1299
  ), /*abortController*/
1264
- u[17] ? h ? I[0] & /*abortController*/
1265
- 131072 && F(h, 1) : (h = it(), h.c(), F(h, 1), h.m(d, null)) : h && (Se(), O(h, 1, 1, () => {
1300
+ u[18] ? h ? P[0] & /*abortController*/
1301
+ 262144 && j(h, 1) : (h = st(), h.c(), j(h, 1), h.m(d, null)) : h && (ze(), O(h, 1, 1, () => {
1266
1302
  h = null;
1267
- }), Ie()), (!B || I[0] & /*searchValue*/
1268
- 2) && re(
1303
+ }), Pe()), (!y || P[0] & /*searchValue*/
1304
+ 2) && le(
1269
1305
  d,
1270
1306
  "displayable",
1271
1307
  /*searchValue*/
1272
1308
  u[1] !== ""
1273
1309
  ), /*enableReverse*/
1274
- u[5] === !0 ? y ? (y.p(u, I), I[0] & /*enableReverse*/
1275
- 32 && F(y, 1)) : (y = st(u), y.c(), F(y, 1), y.m(n, E)) : y && (Se(), O(y, 1, 1, () => {
1276
- y = null;
1277
- }), Ie()), R && R.p && (!B || I[1] & /*$$scope*/
1278
- 524288) && qt(
1310
+ u[5] === !0 ? b ? (b.p(u, P), P[0] & /*enableReverse*/
1311
+ 32 && j(b, 1)) : (b = ot(u), b.c(), j(b, 1), b.m(t, C)) : b && (ze(), O(b, 1, 1, () => {
1312
+ b = null;
1313
+ }), Pe()), R && R.p && (!y || P[1] & /*$$scope*/
1314
+ 2097152) && Kt(
1279
1315
  R,
1280
- M,
1316
+ B,
1281
1317
  u,
1282
1318
  /*$$scope*/
1283
- u[50],
1284
- B ? Ut(
1285
- M,
1319
+ u[52],
1320
+ y ? Dt(
1321
+ B,
1286
1322
  /*$$scope*/
1287
- u[50],
1288
- I,
1323
+ u[52],
1324
+ P,
1289
1325
  null
1290
- ) : Dt(
1326
+ ) : Vt(
1291
1327
  /*$$scope*/
1292
- u[50]
1328
+ u[52]
1293
1329
  ),
1294
1330
  null
1295
1331
  );
1296
- let Y = p;
1297
- p = H(u), p === Y ? ~p && w[p].p(u, I) : (g && (Se(), O(w[Y], 1, 1, () => {
1298
- w[Y] = null;
1299
- }), Ie()), ~p ? (g = w[p], g ? g.p(u, I) : (g = w[p] = m[p](u), g.c()), F(g, 1), g.m(e, null)) : g = null), (!B || I[0] & /*className*/
1300
- 4 && W !== (W = $e(
1332
+ let x = T;
1333
+ T = Q(u), T === x ? ~T && w[T].p(u, P) : (M && (ze(), O(w[x], 1, 1, () => {
1334
+ w[x] = null;
1335
+ }), Pe()), ~T ? (M = w[T], M ? M.p(u, P) : (M = w[T] = _[T](u), M.c()), j(M, 1), M.m(e, null)) : M = null), (!y || P[0] & /*className*/
1336
+ 4 && A !== (A = et(
1301
1337
  /*className*/
1302
1338
  u[2]
1303
- ) + " svelte-1r7dvt7")) && o(e, "class", W), (!B || I[0] & /*className, collapsed, searchValue*/
1304
- 22) && re(
1339
+ ) + " svelte-1r7dvt7")) && o(e, "class", A), (!y || P[0] & /*className, collapsed, searchValue*/
1340
+ 22) && le(
1305
1341
  e,
1306
1342
  "can-collapse",
1307
1343
  /*collapsed*/
@@ -1310,316 +1346,318 @@ function En(t) {
1310
1346
  );
1311
1347
  },
1312
1348
  i(u) {
1313
- B || (F(l.$$.fragment, u), F(_.$$.fragment, u), F(h), F(y), F(R, u), F(g), B = !0);
1349
+ y || (j(l.$$.fragment, u), j(m.$$.fragment, u), j(h), j(b), j(R, u), j(M), y = !0);
1314
1350
  },
1315
1351
  o(u) {
1316
- O(l.$$.fragment, u), O(_.$$.fragment, u), O(h), O(y), O(R, u), O(g), B = !1;
1352
+ O(l.$$.fragment, u), O(m.$$.fragment, u), O(h), O(b), O(R, u), O(M), y = !1;
1317
1353
  },
1318
1354
  d(u) {
1319
- u && S(e), $(l), t[53](null), $(_), h && h.d(), y && y.d(), R && R.d(u), ~p && w[p].d(), G = !1, ee(Z);
1355
+ u && z(e), ee(l), n[55](null), ee(m), h && h.d(), b && b.d(), R && R.d(u), ~T && w[T].d(), F = !1, te(G);
1320
1356
  }
1321
1357
  };
1322
1358
  }
1323
- function Cn(t, e, n) {
1359
+ function In(n, e, t) {
1324
1360
  const r = e[1], l = e[0], a = r - l;
1325
- return t === r && n ? t : ((t - l) % a + a) % a + l;
1361
+ return n === r && t ? n : ((n - l) % a + a) % a + l;
1326
1362
  }
1327
- function ct(t) {
1328
- let e = [...t];
1363
+ function ft(n) {
1364
+ let e = [...n];
1329
1365
  return e[2] < e[0] && (e[2] += 360), e;
1330
1366
  }
1331
- function zn(t, e, n) {
1332
- let r, { $$slots: l = {}, $$scope: a } = e, { class: s = void 0 } = e, { apiKey: c } = e, { bbox: d = void 0 } = e, { clearButtonTitle: f = "clear" } = e, { clearOnBlur: _ = !1 } = e, { collapsed: k = !1 } = e, { country: b = void 0 } = e, { debounceSearch: E = 200 } = e, { enableReverse: z = !1 } = e, { errorMessage: p = "Something went wrong…" } = e, { filter: g = () => !0 } = e, { flyTo: W = !0 } = e, { fuzzyMatch: B = !0 } = e, { language: G = void 0 } = e, { limit: Z = void 0 } = e, { mapController: h = void 0 } = e, { minLength: y = 2 } = e, { noResultsMessage: M = "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: R = "Search" } = e, { proximity: m = void 0 } = e, { reverseActive: w = z === "always" } = e, { reverseButtonTitle: H = "toggle reverse geocoding" } = e, { searchValue: u = "" } = e, { showFullGeometry: I = !0 } = e, { showPlaceType: Y = "ifNeeded" } = e, { showResultsWhileTyping: ce = !0 } = e, { trackProximity: Le = !0 } = e, { types: fe = void 0 } = e, { zoom: Ee = 16 } = e, { maxZoom: pe = 18 } = e, { apiUrl: Ae = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: We = {} } = e;
1333
- function bt() {
1334
- Q.focus();
1335
- }
1367
+ function Sn(n, e, t) {
1368
+ let r, { $$slots: l = {}, $$scope: a } = e, { class: s = void 0 } = e, { apiKey: f } = e, { bbox: d = void 0 } = e, { clearButtonTitle: c = "clear" } = e, { clearOnBlur: m = !1 } = e, { collapsed: k = !1 } = e, { country: g = void 0 } = e, { debounceSearch: C = 200 } = e, { enableReverse: I = !1 } = e, { errorMessage: T = "Something went wrong…" } = e, { filter: M = () => !0 } = e, { flyTo: A = !0 } = e, { fuzzyMatch: y = !0 } = e, { language: F = void 0 } = e, { limit: G = void 0 } = e, { mapController: h = void 0 } = e, { minLength: b = 2 } = e, { noResultsMessage: B = "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: R = "Search" } = e, { proximity: _ = void 0 } = e, { reverseActive: w = I === "always" } = e, { reverseButtonTitle: Q = "toggle reverse geocoding" } = e, { searchValue: u = "" } = e, { showFullGeometry: P = !0 } = e, { showPlaceType: x = "ifNeeded" } = e, { showResultsWhileTyping: ce = !0 } = e, { trackProximity: Be = !0 } = e, { types: fe = void 0 } = e, { zoom: Re = 16 } = e, { maxZoom: pe = 18 } = e, { apiUrl: Ue = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: Ae = {} } = e, { iconsBaseUrl: He = "icons/" } = e;
1336
1369
  function wt() {
1337
- Q.blur();
1370
+ J.focus();
1371
+ }
1372
+ function kt() {
1373
+ J.blur();
1338
1374
  }
1339
- function He(i, j = !0) {
1340
- n(1, u = i), j ? (n(13, N = -1), Je()) : (Fe(), setTimeout(() => {
1341
- Q.focus(), Q.select();
1375
+ function Qe(i, N = !0) {
1376
+ t(1, u = i), N ? (t(14, W = -1), Xe()) : (je(), setTimeout(() => {
1377
+ J.focus(), J.select();
1342
1378
  }));
1343
1379
  }
1344
- let ge = !1, L, U, T, Qe = "", Q, N = -1, J, Ce = [], ue, ye, ze, Ne;
1345
- const te = Xt();
1346
- Jt(() => {
1380
+ let ge = !1, L, Z, p, Je = "", J, W = -1, X, Le = [], ue, ye, Ee, We;
1381
+ const vt = /* @__PURE__ */ new Set(), ne = xt();
1382
+ Yt(() => {
1347
1383
  h && (h.setEventHandler(void 0), h.indicateReverse(!1), h.setSelectedMarker(-1), h.setMarkers(void 0, void 0));
1348
1384
  });
1349
- function Je(i) {
1350
- if (ye && (clearTimeout(ye), ye = void 0), N > -1 && L)
1351
- n(47, T = L[N]), n(1, u = T.place_name.replace(/,.*/, "")), n(16, J = void 0), n(46, U = void 0), n(13, N = -1);
1385
+ function Xe(i) {
1386
+ if (ye && (clearTimeout(ye), ye = void 0), W > -1 && L)
1387
+ t(49, p = L[W]), t(1, u = p.place_name.replace(/,.*/, "")), t(17, X = void 0), t(48, Z = void 0), t(14, W = -1);
1352
1388
  else if (u) {
1353
- const j = i || !Xe();
1354
- je(u, { exact: !0 }).then(() => {
1355
- n(46, U = L), n(47, T = void 0), j && kt();
1356
- }).catch((X) => n(16, J = X));
1389
+ const N = i || !Ye();
1390
+ Ne(u, { exact: !0 }).then(() => {
1391
+ t(48, Z = L), t(49, p = void 0), N && pt();
1392
+ }).catch((Y) => t(17, X = Y));
1357
1393
  }
1358
1394
  }
1359
- function Xe() {
1395
+ function Ye() {
1360
1396
  return /^-?\d+(\.\d+)?,-?\d+(\.\d+)?$/.test(u);
1361
1397
  }
1362
- async function je(i, { byId: j = !1, exact: X = !1 } = {}) {
1363
- n(16, J = void 0);
1364
- const be = Xe(), K = new URLSearchParams();
1365
- G != null && K.set("language", Array.isArray(G) ? G.join(",") : G), fe && K.set("types", fe.join(",")), be || (d && K.set("bbox", d.map((ne) => ne.toFixed(6)).join(",")), b && K.set("country", Array.isArray(b) ? b.join(",") : b)), j || (m && K.set("proximity", m.map((ne) => ne.toFixed(6)).join(",")), (X || !ce) && K.set("autocomplete", "false"), K.set("fuzzyMatch", String(B))), Z !== void 0 && (!be || (fe == null ? void 0 : fe.length) === 1) && K.set("limit", String(Z)), K.set("key", c);
1366
- const ae = Ae + "/" + encodeURIComponent(i) + ".json?" + K.toString();
1367
- if (ae === Qe) {
1368
- j ? (n(12, L = void 0), n(47, T = Ce[0])) : n(12, L = Ce);
1398
+ async function Ne(i, { byId: N = !1, exact: Y = !1 } = {}) {
1399
+ t(17, X = void 0);
1400
+ const be = Ye(), V = new URLSearchParams();
1401
+ F != null && V.set("language", Array.isArray(F) ? F.join(",") : F), fe && V.set("types", fe.join(",")), be || (d && V.set("bbox", d.map((re) => re.toFixed(6)).join(",")), g && V.set("country", Array.isArray(g) ? g.join(",") : g)), N || (_ && V.set("proximity", _.map((re) => re.toFixed(6)).join(",")), (Y || !ce) && V.set("autocomplete", "false"), V.set("fuzzyMatch", String(y))), G !== void 0 && (!be || (fe == null ? void 0 : fe.length) === 1) && V.set("limit", String(G)), V.set("key", f);
1402
+ const ae = Ue + "/" + encodeURIComponent(i) + ".json?" + V.toString();
1403
+ if (ae === Je) {
1404
+ N ? (t(13, L = void 0), t(49, p = Le[0])) : t(13, L = Le);
1369
1405
  return;
1370
1406
  }
1371
- Qe = ae, ue == null || ue.abort();
1407
+ Je = ae, ue == null || ue.abort();
1372
1408
  const q = new AbortController();
1373
- n(17, ue = q);
1374
- let Oe;
1409
+ t(18, ue = q);
1410
+ let Ge;
1375
1411
  try {
1376
- Oe = await fetch(ae, { signal: q.signal, ...We }).finally(() => {
1377
- q === ue && n(17, ue = void 0);
1412
+ Ge = await fetch(ae, { signal: q.signal, ...Ae }).finally(() => {
1413
+ q === ue && t(18, ue = void 0);
1378
1414
  });
1379
- } catch (ne) {
1380
- if (ne && typeof ne == "object" && "name" in ne && ne.name === "AbortError")
1415
+ } catch (re) {
1416
+ if (re && typeof re == "object" && "name" in re && re.name === "AbortError")
1381
1417
  return;
1382
1418
  throw new Error();
1383
1419
  }
1384
- if (!Oe.ok)
1420
+ if (!Ge.ok)
1385
1421
  throw new Error();
1386
- const Ze = await Oe.json();
1387
- te("response", { url: ae, featureCollection: Ze }), j ? (n(12, L = void 0), n(47, T = Ze.features[0]), Ce = [T]) : (n(12, L = Ze.features.filter(g)), Ce = L, be && Q.focus());
1422
+ const Oe = await Ge.json();
1423
+ ne("response", { url: ae, featureCollection: Oe }), N ? (t(13, L = void 0), t(49, p = Oe.features[0]), Le = [p]) : (t(13, L = Oe.features.filter(M)), Le = L, be && J.focus());
1388
1424
  }
1389
- function kt() {
1390
- var X, be, K, ae;
1391
- if (!(U != null && U.length) || !W)
1425
+ function pt() {
1426
+ var Y, be, V, ae;
1427
+ if (!(Z != null && Z.length) || !A)
1392
1428
  return;
1393
- const i = [180, 90, -180, -90], j = !U.some((q) => !q.matching_text);
1394
- for (const q of U)
1395
- (j || !q.matching_text) && (i[0] = Math.min(i[0], ((X = q.bbox) == null ? void 0 : X[0]) ?? q.center[0]), i[1] = Math.min(i[1], ((be = q.bbox) == null ? void 0 : be[1]) ?? q.center[1]), i[2] = Math.max(i[2], ((K = q.bbox) == null ? void 0 : K[2]) ?? q.center[0]), i[3] = Math.max(i[3], ((ae = q.bbox) == null ? void 0 : ae[3]) ?? q.center[1]));
1396
- h && U.length > 0 && (T && i[0] === i[2] && i[1] === i[3] ? h.flyTo(T.center, Ee) : h.fitBounds(ct(i), 50, pe));
1429
+ const i = [180, 90, -180, -90], N = !Z.some((q) => !q.matching_text);
1430
+ for (const q of Z)
1431
+ (N || !q.matching_text) && (i[0] = Math.min(i[0], ((Y = q.bbox) == null ? void 0 : Y[0]) ?? q.center[0]), i[1] = Math.min(i[1], ((be = q.bbox) == null ? void 0 : be[1]) ?? q.center[1]), i[2] = Math.max(i[2], ((V = q.bbox) == null ? void 0 : V[2]) ?? q.center[0]), i[3] = Math.max(i[3], ((ae = q.bbox) == null ? void 0 : ae[3]) ?? q.center[1]));
1432
+ h && Z.length > 0 && (p && i[0] === i[2] && i[1] === i[3] ? h.flyTo(p.center, Re) : h.fitBounds(ft(i), 50, pe));
1397
1433
  }
1398
- function vt(i) {
1399
- n(0, w = z === "always"), He(Cn(i[0], [-180, 180], !0).toFixed(6) + "," + i[1].toFixed(6));
1434
+ function Tt(i) {
1435
+ t(0, w = I === "always"), Qe(In(i[0], [-180, 180], !0).toFixed(6) + "," + i[1].toFixed(6));
1400
1436
  }
1401
- function pt(i) {
1437
+ function Mt(i) {
1402
1438
  if (!L)
1403
1439
  return;
1404
- let j = i.key === "ArrowDown" ? 1 : i.key === "ArrowUp" ? -1 : 0;
1405
- j ? (N === -1 && j === -1 && n(13, N = L.length), n(13, N += j), N >= L.length && n(13, N = -1), i.preventDefault()) : ["ArrowLeft", "ArrowRight", "Home", "End"].includes(i.key) && n(13, N = -1);
1440
+ let N = i.key === "ArrowDown" ? 1 : i.key === "ArrowUp" ? -1 : 0;
1441
+ N ? (W === -1 && N === -1 && t(14, W = L.length), t(14, W += N), W >= L.length && t(14, W = -1), i.preventDefault()) : ["ArrowLeft", "ArrowRight", "Home", "End"].includes(i.key) && t(14, W = -1);
1406
1442
  }
1407
- function Fe(i = !0) {
1408
- if (n(16, J = void 0), ce) {
1409
- if (ye && clearTimeout(ye), u.length < y)
1443
+ function je(i = !0) {
1444
+ if (t(17, X = void 0), ce) {
1445
+ if (ye && clearTimeout(ye), u.length < b)
1410
1446
  return;
1411
- const j = u;
1447
+ const N = u;
1412
1448
  ye = window.setTimeout(
1413
1449
  () => {
1414
- je(j).catch((X) => n(16, J = X));
1450
+ Ne(N).catch((Y) => t(17, X = Y));
1415
1451
  },
1416
- i ? E : 0
1452
+ i ? C : 0
1417
1453
  );
1418
1454
  } else
1419
- n(12, L = void 0), n(16, J = void 0);
1455
+ t(13, L = void 0), t(17, X = void 0);
1420
1456
  }
1421
- function Ge(i) {
1422
- n(47, T = i), n(1, u = i.place_name), n(13, N = -1);
1457
+ function Fe(i) {
1458
+ t(49, p = i), t(1, u = i.place_name), t(14, W = -1);
1423
1459
  }
1424
- const Tt = () => Q.focus();
1425
- function Mt(i) {
1460
+ const Ct = () => J.focus();
1461
+ function Bt(i) {
1426
1462
  De[i ? "unshift" : "push"](() => {
1427
- Q = i, n(15, Q);
1463
+ J = i, t(16, J);
1428
1464
  });
1429
1465
  }
1430
1466
  function Rt() {
1431
- u = this.value, n(1, u), n(11, ge), n(25, _);
1467
+ u = this.value, t(1, u), t(12, ge), t(27, m);
1432
1468
  }
1433
- const Lt = () => n(11, ge = !0), Et = () => n(11, ge = !1), Ct = () => Fe(), zt = () => {
1434
- n(1, u = ""), Q.focus();
1435
- }, Bt = () => n(0, w = !w), Pt = () => n(16, J = void 0), St = (i) => n(13, N = i), It = (i) => Ge(i), At = () => n(13, N = -1), Wt = () => {
1469
+ const Lt = () => t(12, ge = !0), Et = () => t(12, ge = !1), It = () => je(), St = () => {
1470
+ t(1, u = ""), J.focus();
1471
+ }, zt = () => t(0, w = !w), Pt = () => t(17, X = void 0), Ut = (i) => t(14, W = i), At = (i) => Fe(i), Wt = () => t(14, W = -1), Nt = () => {
1436
1472
  };
1437
- return t.$$set = (i) => {
1438
- "class" in i && n(2, s = i.class), "apiKey" in i && n(23, c = i.apiKey), "bbox" in i && n(24, d = i.bbox), "clearButtonTitle" in i && n(3, f = i.clearButtonTitle), "clearOnBlur" in i && n(25, _ = i.clearOnBlur), "collapsed" in i && n(4, k = i.collapsed), "country" in i && n(26, b = i.country), "debounceSearch" in i && n(27, E = i.debounceSearch), "enableReverse" in i && n(5, z = i.enableReverse), "errorMessage" in i && n(6, p = i.errorMessage), "filter" in i && n(28, g = i.filter), "flyTo" in i && n(29, W = i.flyTo), "fuzzyMatch" in i && n(30, B = i.fuzzyMatch), "language" in i && n(31, G = i.language), "limit" in i && n(32, Z = i.limit), "mapController" in i && n(33, h = i.mapController), "minLength" in i && n(34, y = i.minLength), "noResultsMessage" in i && n(7, M = i.noResultsMessage), "placeholder" in i && n(8, R = i.placeholder), "proximity" in i && n(22, m = i.proximity), "reverseActive" in i && n(0, w = i.reverseActive), "reverseButtonTitle" in i && n(9, H = i.reverseButtonTitle), "searchValue" in i && n(1, u = i.searchValue), "showFullGeometry" in i && n(35, I = i.showFullGeometry), "showPlaceType" in i && n(10, Y = i.showPlaceType), "showResultsWhileTyping" in i && n(36, ce = i.showResultsWhileTyping), "trackProximity" in i && n(37, Le = i.trackProximity), "types" in i && n(38, fe = i.types), "zoom" in i && n(39, Ee = i.zoom), "maxZoom" in i && n(40, pe = i.maxZoom), "apiUrl" in i && n(41, Ae = i.apiUrl), "fetchParameters" in i && n(42, We = i.fetchParameters), "$$scope" in i && n(50, a = i.$$scope);
1439
- }, t.$$.update = () => {
1440
- if (t.$$.dirty[1] & /*trackProximity*/
1441
- 64 && (Le || n(22, m = void 0)), t.$$.dirty[0] & /*focused, clearOnBlur*/
1442
- 33556480 && setTimeout(() => {
1443
- n(14, ze = ge), _ && !ge && n(1, u = "");
1444
- }), t.$$.dirty[0] & /*searchValue, listFeatures*/
1445
- 4098 | t.$$.dirty[1] & /*minLength*/
1446
- 8 && u.length < y && (n(47, T = void 0), n(12, L = void 0), n(16, J = void 0), n(46, U = L)), t.$$.dirty[1] & /*showFullGeometry, picked*/
1447
- 65552 && I && T && !T.address && T.geometry.type === "Point" && je(T.id, { byId: !0 }).catch((i) => n(16, J = i)), t.$$.dirty[0] & /*flyTo*/
1448
- 536870912 | t.$$.dirty[1] & /*mapController, picked, prevIdToFly, maxZoom, zoom*/
1449
- 197380 && (h && T && T.id !== Ne && W && (!T.bbox || T.bbox[0] === T.bbox[2] && T.bbox[1] === T.bbox[3] ? h.flyTo(T.center, T.id.startsWith("poi.") || T.id.startsWith("address.") ? pe : Ee) : h.fitBounds(ct(T.bbox), 50, pe), n(12, L = void 0), n(46, U = void 0), n(13, N = -1)), n(48, Ne = T == null ? void 0 : T.id)), t.$$.dirty[0] & /*listFeatures*/
1450
- 4096 | t.$$.dirty[1] & /*markedFeatures*/
1451
- 32768 && U !== L && n(46, U = void 0), t.$$.dirty[1] & /*mapController, markedFeatures, picked*/
1452
- 98308 && h && h.setMarkers(U, T), t.$$.dirty[0] & /*searchValue*/
1453
- 2 && n(13, N = -1), t.$$.dirty[0] & /*reverseActive, listFeatures, focusedDelayed*/
1454
- 20481 | t.$$.dirty[1] & /*mapController, trackProximity*/
1455
- 68 && h && h.setEventHandler((i) => {
1473
+ return n.$$set = (i) => {
1474
+ "class" in i && t(2, s = i.class), "apiKey" in i && t(25, f = i.apiKey), "bbox" in i && t(26, d = i.bbox), "clearButtonTitle" in i && t(3, c = i.clearButtonTitle), "clearOnBlur" in i && t(27, m = i.clearOnBlur), "collapsed" in i && t(4, k = i.collapsed), "country" in i && t(28, g = i.country), "debounceSearch" in i && t(29, C = i.debounceSearch), "enableReverse" in i && t(5, I = i.enableReverse), "errorMessage" in i && t(6, T = i.errorMessage), "filter" in i && t(30, M = i.filter), "flyTo" in i && t(31, A = i.flyTo), "fuzzyMatch" in i && t(32, y = i.fuzzyMatch), "language" in i && t(33, F = i.language), "limit" in i && t(34, G = i.limit), "mapController" in i && t(35, h = i.mapController), "minLength" in i && t(36, b = i.minLength), "noResultsMessage" in i && t(7, B = i.noResultsMessage), "placeholder" in i && t(8, R = i.placeholder), "proximity" in i && t(24, _ = i.proximity), "reverseActive" in i && t(0, w = i.reverseActive), "reverseButtonTitle" in i && t(9, Q = i.reverseButtonTitle), "searchValue" in i && t(1, u = i.searchValue), "showFullGeometry" in i && t(37, P = i.showFullGeometry), "showPlaceType" in i && t(10, x = i.showPlaceType), "showResultsWhileTyping" in i && t(38, ce = i.showResultsWhileTyping), "trackProximity" in i && t(39, Be = i.trackProximity), "types" in i && t(40, fe = i.types), "zoom" in i && t(41, Re = i.zoom), "maxZoom" in i && t(42, pe = i.maxZoom), "apiUrl" in i && t(43, Ue = i.apiUrl), "fetchParameters" in i && t(44, Ae = i.fetchParameters), "iconsBaseUrl" in i && t(11, He = i.iconsBaseUrl), "$$scope" in i && t(52, a = i.$$scope);
1475
+ }, n.$$.update = () => {
1476
+ if (n.$$.dirty[1] & /*trackProximity*/
1477
+ 256 && (Be || t(24, _ = void 0)), n.$$.dirty[0] & /*focused, clearOnBlur*/
1478
+ 134221824 && setTimeout(() => {
1479
+ t(15, Ee = ge), m && !ge && t(1, u = "");
1480
+ }), n.$$.dirty[0] & /*searchValue, listFeatures*/
1481
+ 8194 | n.$$.dirty[1] & /*minLength*/
1482
+ 32 && u.length < b && (t(49, p = void 0), t(13, L = void 0), t(17, X = void 0), t(48, Z = L)), n.$$.dirty[1] & /*showFullGeometry, picked*/
1483
+ 262208 && P && p && !p.address && p.geometry.type === "Point" && Ne(p.id, { byId: !0 }).catch((i) => t(17, X = i)), n.$$.dirty[1] & /*mapController, picked, prevIdToFly, flyTo, maxZoom, zoom*/
1484
+ 789521 && (h && p && p.id !== We && A && (!p.bbox || p.bbox[0] === p.bbox[2] && p.bbox[1] === p.bbox[3] ? h.flyTo(p.center, p.id.startsWith("poi.") || p.id.startsWith("address.") ? pe : Re) : h.fitBounds(ft(p.bbox), 50, pe), t(13, L = void 0), t(48, Z = void 0), t(14, W = -1)), t(50, We = p == null ? void 0 : p.id)), n.$$.dirty[0] & /*listFeatures*/
1485
+ 8192 | n.$$.dirty[1] & /*markedFeatures*/
1486
+ 131072 && Z !== L && t(48, Z = void 0), n.$$.dirty[1] & /*mapController, markedFeatures, picked*/
1487
+ 393232 && h && h.setMarkers(Z, p), n.$$.dirty[0] & /*searchValue*/
1488
+ 2 && t(14, W = -1), n.$$.dirty[0] & /*reverseActive, listFeatures, focusedDelayed*/
1489
+ 40961 | n.$$.dirty[1] & /*mapController, trackProximity*/
1490
+ 272 && h && h.setEventHandler((i) => {
1456
1491
  switch (i.type) {
1457
1492
  case "mapClick":
1458
- w && vt(i.coordinates);
1493
+ w && Tt(i.coordinates);
1459
1494
  break;
1460
1495
  case "proximityChange":
1461
- n(22, m = Le ? i.proximity : void 0);
1496
+ t(24, _ = Be ? i.proximity : void 0);
1462
1497
  break;
1463
1498
  case "markerClick":
1464
1499
  {
1465
- const j = L == null ? void 0 : L.find((X) => X.id === i.id);
1466
- j && Ge(j);
1500
+ const N = L == null ? void 0 : L.find((Y) => Y.id === i.id);
1501
+ N && Fe(N);
1467
1502
  }
1468
1503
  break;
1469
1504
  case "markerMouseEnter":
1470
- n(13, N = ze ? (L == null ? void 0 : L.findIndex((j) => j.id === i.id)) ?? -1 : -1);
1505
+ t(14, W = Ee ? (L == null ? void 0 : L.findIndex((N) => N.id === i.id)) ?? -1 : -1);
1471
1506
  break;
1472
1507
  case "markerMouseLeave":
1473
- n(13, N = -1);
1508
+ t(14, W = -1);
1474
1509
  break;
1475
1510
  }
1476
- }), t.$$.dirty[0] & /*selectedItemIndex*/
1477
- 8192 | t.$$.dirty[1] & /*mapController*/
1478
- 4 && (h == null || h.setSelectedMarker(N)), t.$$.dirty[0] & /*listFeatures, selectedItemIndex*/
1479
- 12288 && n(49, r = L == null ? void 0 : L[N]), t.$$.dirty[0] & /*searchValue*/
1480
- 2 | t.$$.dirty[1] & /*mapController*/
1481
- 4) {
1511
+ }), n.$$.dirty[0] & /*selectedItemIndex*/
1512
+ 16384 | n.$$.dirty[1] & /*mapController*/
1513
+ 16 && (h == null || h.setSelectedMarker(W)), n.$$.dirty[0] & /*listFeatures, selectedItemIndex*/
1514
+ 24576 && t(51, r = L == null ? void 0 : L[W]), n.$$.dirty[0] & /*searchValue*/
1515
+ 2 | n.$$.dirty[1] & /*mapController*/
1516
+ 16) {
1482
1517
  const i = /^(-?\d+(?:\.\d*)?),(-?\d+(?:\.\d*)?)$/.exec(u);
1483
1518
  h == null || h.setReverseMarker(i ? [Number(i[1]), Number(i[2])] : void 0);
1484
1519
  }
1485
- t.$$.dirty[1] & /*selected*/
1486
- 262144 && te("select", r), t.$$.dirty[1] & /*picked*/
1487
- 65536 && te("pick", T), t.$$.dirty[0] & /*focusedDelayed, listFeatures*/
1488
- 20480 && te("optionsVisibilityChange", ze && !!L), t.$$.dirty[0] & /*listFeatures*/
1489
- 4096 && te("featuresListed", L), t.$$.dirty[1] & /*markedFeatures*/
1490
- 32768 && te("featuresMarked", U), t.$$.dirty[0] & /*reverseActive*/
1491
- 1 && te("reverseToggle", w), t.$$.dirty[0] & /*searchValue*/
1492
- 2 && te("queryChange", u), t.$$.dirty[0] & /*reverseActive*/
1493
- 1 | t.$$.dirty[1] & /*mapController*/
1494
- 4 && h && h.indicateReverse(w);
1520
+ n.$$.dirty[1] & /*selected*/
1521
+ 1048576 && ne("select", r), n.$$.dirty[1] & /*picked*/
1522
+ 262144 && ne("pick", p), n.$$.dirty[0] & /*focusedDelayed, listFeatures*/
1523
+ 40960 && ne("optionsVisibilityChange", Ee && !!L), n.$$.dirty[0] & /*listFeatures*/
1524
+ 8192 && ne("featuresListed", L), n.$$.dirty[1] & /*markedFeatures*/
1525
+ 131072 && ne("featuresMarked", Z), n.$$.dirty[0] & /*reverseActive*/
1526
+ 1 && ne("reverseToggle", w), n.$$.dirty[0] & /*searchValue*/
1527
+ 2 && ne("queryChange", u), n.$$.dirty[0] & /*reverseActive*/
1528
+ 1 | n.$$.dirty[1] & /*mapController*/
1529
+ 16 && h && h.indicateReverse(w);
1495
1530
  }, [
1496
1531
  w,
1497
1532
  u,
1498
1533
  s,
1499
- f,
1534
+ c,
1500
1535
  k,
1501
- z,
1502
- p,
1503
- M,
1536
+ I,
1537
+ T,
1538
+ B,
1504
1539
  R,
1505
- H,
1506
- Y,
1540
+ Q,
1541
+ x,
1542
+ He,
1507
1543
  ge,
1508
1544
  L,
1509
- N,
1510
- ze,
1511
- Q,
1545
+ W,
1546
+ Ee,
1512
1547
  J,
1548
+ X,
1513
1549
  ue,
1514
- Je,
1515
- pt,
1550
+ vt,
1551
+ Xe,
1552
+ Mt,
1553
+ je,
1516
1554
  Fe,
1517
- Ge,
1518
- m,
1519
- c,
1520
- d,
1521
1555
  _,
1522
- b,
1523
- E,
1556
+ f,
1557
+ d,
1558
+ m,
1524
1559
  g,
1525
- W,
1526
- B,
1560
+ C,
1561
+ M,
1562
+ A,
1563
+ y,
1564
+ F,
1527
1565
  G,
1528
- Z,
1529
1566
  h,
1530
- y,
1531
- I,
1567
+ b,
1568
+ P,
1532
1569
  ce,
1533
- Le,
1570
+ Be,
1534
1571
  fe,
1535
- Ee,
1572
+ Re,
1536
1573
  pe,
1574
+ Ue,
1537
1575
  Ae,
1538
- We,
1539
- bt,
1540
1576
  wt,
1541
- He,
1542
- U,
1543
- T,
1544
- Ne,
1577
+ kt,
1578
+ Qe,
1579
+ Z,
1580
+ p,
1581
+ We,
1545
1582
  r,
1546
1583
  a,
1547
1584
  l,
1548
- Tt,
1549
- Mt,
1585
+ Ct,
1586
+ Bt,
1550
1587
  Rt,
1551
1588
  Lt,
1552
1589
  Et,
1553
- Ct,
1590
+ It,
1591
+ St,
1554
1592
  zt,
1555
- Bt,
1556
1593
  Pt,
1557
- St,
1558
- It,
1594
+ Ut,
1559
1595
  At,
1560
- Wt
1596
+ Wt,
1597
+ Nt
1561
1598
  ];
1562
1599
  }
1563
- class Bn extends me {
1600
+ class zn extends _e {
1564
1601
  constructor(e) {
1565
- super(), _e(
1602
+ super(), me(
1566
1603
  this,
1567
1604
  e,
1568
- zn,
1605
+ Sn,
1569
1606
  En,
1570
1607
  he,
1571
1608
  {
1572
1609
  class: 2,
1573
- apiKey: 23,
1574
- bbox: 24,
1610
+ apiKey: 25,
1611
+ bbox: 26,
1575
1612
  clearButtonTitle: 3,
1576
- clearOnBlur: 25,
1613
+ clearOnBlur: 27,
1577
1614
  collapsed: 4,
1578
- country: 26,
1579
- debounceSearch: 27,
1615
+ country: 28,
1616
+ debounceSearch: 29,
1580
1617
  enableReverse: 5,
1581
1618
  errorMessage: 6,
1582
- filter: 28,
1583
- flyTo: 29,
1584
- fuzzyMatch: 30,
1585
- language: 31,
1586
- limit: 32,
1587
- mapController: 33,
1588
- minLength: 34,
1619
+ filter: 30,
1620
+ flyTo: 31,
1621
+ fuzzyMatch: 32,
1622
+ language: 33,
1623
+ limit: 34,
1624
+ mapController: 35,
1625
+ minLength: 36,
1589
1626
  noResultsMessage: 7,
1590
1627
  placeholder: 8,
1591
- proximity: 22,
1628
+ proximity: 24,
1592
1629
  reverseActive: 0,
1593
1630
  reverseButtonTitle: 9,
1594
1631
  searchValue: 1,
1595
- showFullGeometry: 35,
1632
+ showFullGeometry: 37,
1596
1633
  showPlaceType: 10,
1597
- showResultsWhileTyping: 36,
1598
- trackProximity: 37,
1599
- types: 38,
1600
- zoom: 39,
1601
- maxZoom: 40,
1602
- apiUrl: 41,
1603
- fetchParameters: 42,
1604
- focus: 43,
1605
- blur: 44,
1606
- setQuery: 45
1634
+ showResultsWhileTyping: 38,
1635
+ trackProximity: 39,
1636
+ types: 40,
1637
+ zoom: 41,
1638
+ maxZoom: 42,
1639
+ apiUrl: 43,
1640
+ fetchParameters: 44,
1641
+ iconsBaseUrl: 11,
1642
+ focus: 45,
1643
+ blur: 46,
1644
+ setQuery: 47
1607
1645
  },
1608
1646
  null,
1609
1647
  [-1, -1, -1]
1610
1648
  );
1611
1649
  }
1612
1650
  get focus() {
1613
- return this.$$.ctx[43];
1651
+ return this.$$.ctx[45];
1614
1652
  }
1615
1653
  get blur() {
1616
- return this.$$.ctx[44];
1654
+ return this.$$.ctx[46];
1617
1655
  }
1618
1656
  get setQuery() {
1619
- return this.$$.ctx[45];
1657
+ return this.$$.ctx[47];
1620
1658
  }
1621
1659
  }
1622
- const ft = [
1660
+ const ut = [
1623
1661
  "featuresListed",
1624
1662
  "featuresMarked",
1625
1663
  "optionsVisibilityChange",
@@ -1655,42 +1693,42 @@ const ft = [
1655
1693
  "zoom",
1656
1694
  "mapController"
1657
1695
  ];
1658
- function ut(t) {
1659
- return "on" + t[0].toUpperCase() + t.slice(1);
1660
- }
1661
- const In = Nt(function(e, n) {
1662
- const r = Ye(), l = Ye(), a = { ...e };
1663
- for (const s of ft)
1664
- delete a[ut(s)];
1665
- Ue(() => {
1696
+ function at(n) {
1697
+ return "on" + n[0].toUpperCase() + n.slice(1);
1698
+ }
1699
+ const An = jt(function(e, t) {
1700
+ const r = xe(), l = xe(), a = { ...e };
1701
+ for (const s of ut)
1702
+ delete a[at(s)];
1703
+ Ze(() => {
1666
1704
  if (!r.current)
1667
1705
  throw new Error();
1668
- const s = new Bn({
1706
+ const s = new zn({
1669
1707
  target: r.current,
1670
1708
  props: a
1671
1709
  });
1672
1710
  return l.current = s, () => s.$destroy();
1673
1711
  }, []);
1674
1712
  for (const s of Pn)
1675
- Ue(() => {
1713
+ Ze(() => {
1676
1714
  l.current && e[s] !== void 0 && l.current.$set({ [s]: e[s] });
1677
1715
  }, [e[s]]);
1678
- for (const s of ft) {
1679
- const c = e[ut(s)];
1680
- Ue(() => {
1716
+ for (const s of ut) {
1717
+ const f = e[at(s)];
1718
+ Ze(() => {
1681
1719
  var d;
1682
1720
  (d = l.current) == null || d.$on(
1683
1721
  s,
1684
- c ? (f) => {
1685
- c(f.detail);
1722
+ f ? (c) => {
1723
+ f(c.detail);
1686
1724
  } : void 0
1687
1725
  );
1688
- }, [c]);
1726
+ }, [f]);
1689
1727
  }
1690
- return jt(n, () => ({
1691
- setQuery: (s, c = !0) => {
1728
+ return Ft(t, () => ({
1729
+ setQuery: (s, f = !0) => {
1692
1730
  var d;
1693
- return (d = l.current) == null ? void 0 : d.setQuery(s, c);
1731
+ return (d = l.current) == null ? void 0 : d.setQuery(s, f);
1694
1732
  },
1695
1733
  focus: () => {
1696
1734
  var s;
@@ -1700,9 +1738,9 @@ const In = Nt(function(e, n) {
1700
1738
  var s;
1701
1739
  return (s = l.current) == null ? void 0 : s.blur();
1702
1740
  }
1703
- })), Ft("div", { ref: r });
1741
+ })), Gt("div", { ref: r });
1704
1742
  });
1705
1743
  export {
1706
- In as GeocodingControl
1744
+ An as GeocodingControl
1707
1745
  };
1708
1746
  //# sourceMappingURL=react.js.map